/* =========================================================
   OticPI — Design tokens & shared styles
   Palette: Navy #0F2B4C / #1B4373, Ice-blue #3E9BE0, #8FD3F4
            Ember accent #F2994A, BG #F5F8FB, Text #14213D
   Type: Poppins (display) + Inter (body)
   ========================================================= */

:root {
  --navy-deep: #0F2B4C;
  --navy-mid: #1B4373;
  --ice-blue: #3E9BE0;
  --ice-light: #8FD3F4;
  --ember: #F2994A;
  --purple: #7A5FC4;
  --bg-light: #F5F8FB;
  --bg-card: #F4F7FA;
  --border-soft: #E3EAF2;
  --text-dark: #14213D;
  --text-muted: #5A7085;
  --white: #FFFFFF;
  --radius-lg: 18px;
  --radius-md: 12px;
  --radius-sm: 8px;
  --shadow-card: 0 10px 30px rgba(15, 43, 76, 0.08);
  --shadow-card-hover: 0 16px 40px rgba(15, 43, 76, 0.14);
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--text-dark);
  background: var(--bg-light);
}

h1, h2, h3, h4, h5, h6, .display-font {
  font-family: 'Poppins', sans-serif;
  color: var(--navy-deep);
}

a { text-decoration: none; }

.text-muted-custom { color: var(--text-muted); }

.eyebrow {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ice-blue);
}

/* ---------- Navbar ---------- */
.navbar-oticpi {
  background: linear-gradient(120deg, var(--navy-deep), var(--navy-mid));
  padding-top: 1rem;
  padding-bottom: 1rem;
}
.navbar-oticpi .navbar-brand {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 10px;
}
.navbar-oticpi .navbar-brand img { height: 36px; width: 36px; }
.navbar-oticpi .nav-link {
  color: rgba(255,255,255,0.85) !important;
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.5rem 1rem !important;
}
.navbar-oticpi .nav-link:hover,
.navbar-oticpi .nav-link.active {
  color: var(--white) !important;
}
.navbar-oticpi .dropdown-menu {
  border: none;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card-hover);
  padding: 0.5rem;
  min-width: 260px;
}
.navbar-oticpi .dropdown-item {
  border-radius: var(--radius-sm);
  padding: 0.6rem 0.8rem;
  font-size: 0.9rem;
}
.navbar-oticpi .dropdown-item:hover { background: var(--bg-card); }
.navbar-oticpi .dropdown-item small { color: var(--text-muted); display:block; font-size: 0.78rem; }

.btn-ice {
  background: var(--ice-blue);
  color: var(--white);
  border: none;
  font-weight: 600;
  padding: 0.65rem 1.4rem;
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
}
.btn-ice:hover { background: #2f86c9; color: var(--white); transform: translateY(-1px); }

.btn-outline-light-custom {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.5);
  font-weight: 600;
  padding: 0.65rem 1.4rem;
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
}
.btn-outline-light-custom:hover {
  background: rgba(255,255,255,0.1);
  color: var(--white);
  border-color: var(--white);
}

.btn-navy {
  background: var(--navy-deep);
  color: var(--white);
  border: none;
  font-weight: 600;
  padding: 0.65rem 1.4rem;
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
}
.btn-navy:hover { background: var(--navy-mid); color: var(--white); transform: translateY(-1px); }

/* ---------- Hero ---------- */
.hero-section {
  background: linear-gradient(160deg, var(--navy-deep) 0%, var(--navy-mid) 60%, #24568f 100%);
  position: relative;
  overflow: hidden;
  padding-bottom: 6rem;
}
.hero-section .display-1-custom {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  color: var(--white);
  line-height: 1.15;
}
.hero-section .lead-custom {
  color: rgba(255,255,255,0.82);
  font-size: 1.15rem;
  max-width: 480px;
}
.hero-wave {
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  line-height: 0;
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  background: linear-gradient(160deg, var(--navy-deep) 0%, var(--navy-mid) 100%);
  padding: 5rem 0 4rem;
}
.page-hero h1 { color: var(--white); font-weight: 700; }
.page-hero p { color: rgba(255,255,255,0.82); }

/* ---------- Cards ---------- */
.module-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.8rem;
  height: 100%;
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-card);
  transition: all 0.25s ease;
}
.module-card:hover {
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-4px);
}
.module-card img { width: 56px; height: 56px; margin-bottom: 1.1rem; }
.module-card h5 { font-weight: 700; margin-bottom: 0.6rem; }
.module-card p { color: var(--text-muted); font-size: 0.92rem; margin-bottom: 0; }
.module-card .module-tag {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ice-blue);
  display: block;
  margin-bottom: 0.3rem;
}

.section-title-wrap { text-align: center; margin-bottom: 3rem; }
.section-divider {
  display: inline-block;
  width: 60px;
  height: 3px;
  background: var(--ember);
  border-radius: 2px;
  margin: 0.8rem 0 0;
}

.section-pad { padding: 5.5rem 0; }
.bg-soft { background: var(--bg-card); }

/* ---------- Client logos ---------- */
.client-logo { opacity: 0.75; transition: opacity 0.2s ease; filter: grayscale(15%); }
.client-logo:hover { opacity: 1; }

/* ---------- Testimonial ---------- */
.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.2rem;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border-soft);
}
.testimonial-card .quote-mark { font-size: 2.6rem; color: var(--ice-light); font-family: Georgia, serif; line-height: 0.6; }
.testimonial-avatar { width: 64px; height: 64px; border-radius: 50%; overflow: hidden; }
.testimonial-avatar img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Pricing ---------- */
.price-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.4rem 2rem;
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-card);
  height: 100%;
  position: relative;
  transition: all 0.25s ease;
}
.price-card.featured {
  border: 2px solid var(--ice-blue);
  box-shadow: var(--shadow-card-hover);
}
.price-card .badge-featured {
  position: absolute;
  top: -14px; left: 50%;
  transform: translateX(-50%);
  background: var(--ember);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 0.35rem 1rem;
  border-radius: 20px;
  text-transform: uppercase;
}
.price-card .price-amount { font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 2.6rem; color: var(--navy-deep); }
.price-card .price-period { color: var(--text-muted); font-size: 0.9rem; }
.price-card ul { list-style: none; padding: 0; margin: 1.6rem 0; }
.price-card ul li { padding: 0.45rem 0; color: var(--text-dark); font-size: 0.93rem; display: flex; gap: 0.6rem; align-items: flex-start; }
.price-card ul li::before {
  content: "✓";
  color: var(--ice-blue);
  font-weight: 700;
}

/* ---------- FAQ Accordion ---------- */
.accordion-oticpi .accordion-button {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  color: var(--navy-deep);
  background: var(--white);
  border-radius: var(--radius-md) !important;
}
.accordion-oticpi .accordion-button:not(.collapsed) {
  color: var(--ice-blue);
  background: var(--bg-card);
  box-shadow: none;
}
.accordion-oticpi .accordion-item {
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  margin-bottom: 0.8rem;
  overflow: hidden;
}
.accordion-oticpi .accordion-button:focus { box-shadow: none; }

/* ---------- Forms ---------- */
.form-control-oticpi {
  border: 1.5px solid var(--border-soft);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
  font-size: 0.95rem;
}
.form-control-oticpi:focus {
  border-color: var(--ice-blue);
  box-shadow: 0 0 0 3px rgba(62,155,224,0.15);
}

/* ---------- Footer ---------- */
.footer-oticpi {
  background: var(--navy-deep);
  color: rgba(255,255,255,0.7);
  padding: 4rem 0 2rem;
}
.footer-oticpi h6 { color: var(--white); font-weight: 700; margin-bottom: 1.2rem; font-size: 0.95rem; }
.footer-oticpi a { color: rgba(255,255,255,0.65); font-size: 0.92rem; display: block; margin-bottom: 0.6rem; transition: color 0.2s; }
.footer-oticpi a:hover { color: var(--ice-light); }
.footer-oticpi .footer-brand { display: flex; align-items: center; gap: 10px; color: var(--white); font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 1.2rem; margin-bottom: 1rem; }
.footer-oticpi .footer-brand img { height: 32px; width: 32px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); margin-top: 2.5rem; padding-top: 1.5rem; font-size: 0.85rem; }

/* ---------- Stat strip ---------- */
.stat-item { text-align: center; }
.stat-item .stat-num { font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 2.4rem; color: var(--navy-deep); }
.stat-item .stat-label { color: var(--text-muted); font-size: 0.88rem; }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--navy-deep), var(--navy-mid));
  border-radius: var(--radius-lg);
  padding: 3rem;
  color: var(--white);
}
.cta-band h3 { color: var(--white); }

/* ---------- Utility ---------- */
.badge-soft {
  background: rgba(62,155,224,0.12);
  color: var(--ice-blue);
  font-weight: 600;
  font-size: 0.78rem;
  padding: 0.4rem 0.9rem;
  border-radius: 20px;
  display: inline-block;
}

/* Scroll reveal (simple, progressive enhancement — content visible by default) */
.reveal { transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.pre-reveal { opacity: 0; transform: translateY(16px); }
.reveal.pre-reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 991.98px) {
  .navbar-oticpi .navbar-collapse { background: var(--navy-mid); padding: 1rem; border-radius: var(--radius-md); margin-top: 0.8rem; }
}
