/* ============================================================
   LIGA CONTRA LA OBESIDAD — Premium Design System v3
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700;800;900&display=swap');

:root {
  /* === Brand colors === */
  --navy-950: #0E1336;
  --navy-900: #161D52;
  --navy-800: #1F2870;
  --navy-700: #2B3990;
  --navy-600: #3D4DAA;
  --navy-500: #5A6BC4;
  --navy-100: #E0E4F5;
  --navy-50:  #F0F2FA;

  /* PRIMARY ACCENT — orange #F69309 */
  --accent-700: #B66800;
  --accent-600: #DC7E04;
  --accent-500: #F69309;
  --accent-400: #FBA936;
  --accent-100: #FEE6C5;
  --accent-50:  #FFF6E8;

  /* Secondary accents */
  --teal-700: #007D8E;
  --teal-600: #009BB0;
  --teal-500: #00B4C8;
  --teal-400: #2BC9DB;
  --teal-100: #D5F4F8;

  --lime-500:   #9DC41C;
  --pink-500:   #E8305A;
  --purple-500: #7B2C8C;

  --white: #FFFFFF;
  --bg:    #FBFBFD;
  --bg-2:  #F4F5FA;
  --bg-3:  #ECEEF6;
  --line:  #E4E7F2;
  --line-2:#D5DAEC;
  --ink-900:#0C1235;
  --ink-700:#2C3461;
  --ink-500:#5C6699;
  --ink-400:#8089B8;
  --ink-300:#AAB2D2;

  /* === Effects === */
  --shadow-xs: 0 1px 2px rgba(14,19,54,.04);
  --shadow-sm: 0 2px 8px rgba(14,19,54,.06);
  --shadow:    0 8px 32px rgba(14,19,54,.08);
  --shadow-lg: 0 24px 64px rgba(14,19,54,.14);
  --shadow-xl: 0 40px 96px rgba(14,19,54,.20);

  --r-sm: 8px;
  --r:    14px;
  --r-lg: 20px;
  --r-xl: 28px;
  --r-2xl: 40px;

  --ease-out:  cubic-bezier(0.22, 1, 0.36, 1);
  --ease-soft: cubic-bezier(0.4, 0, 0.2, 1);
  --t-fast: 0.25s var(--ease-out);
  --t:      0.4s var(--ease-out);
  --t-slow: 0.7s var(--ease-out);
}

/* === Reset === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Montserrat', -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-700);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  font-weight: 400;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; font: inherit; border: none; background: none; }
input, textarea, select { font: inherit; }
::selection { background: var(--navy-700); color: var(--white); }

/* === Layout === */
.container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 920px; margin: 0 auto; padding: 0 24px; }

section { padding: 120px 0; position: relative; }
.section-sm { padding: 80px 0; }

.bg-light { background: var(--bg); }
.bg-light-2 { background: var(--bg-2); }
.bg-navy { background: var(--navy-900); color: var(--white); }
.bg-navy-deep { background: var(--navy-950); color: var(--white); }

/* === Typography (all Montserrat) === */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: 'Montserrat', sans-serif;
  font-size: 12px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--accent-600);
  padding: 8px 16px;
  border: 1px solid var(--line-2);
  background: var(--white);
  border-radius: 100px;
}
.eyebrow::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--accent-500);
  box-shadow: 0 0 0 4px rgba(246,147,9,.18);
}
.eyebrow.on-dark { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.14); color: var(--white); }
.eyebrow.on-dark::before { background: var(--accent-400); box-shadow: 0 0 0 4px rgba(246,147,9,.2); }

h1, h2, h3, h4 {
  font-family: 'Montserrat', sans-serif;
  color: var(--ink-900);
  letter-spacing: -0.02em;
  line-height: 1.1;
  font-weight: 800;
}
.serif { font-family: 'Montserrat', sans-serif; font-weight: 800; letter-spacing: -0.025em; }
.t-italic { font-style: italic; font-weight: 400; }

.h-display { font-size: clamp(40px, 6.5vw, 88px); font-weight: 800; line-height: 1.05; letter-spacing: -0.03em; }
.h-1 { font-size: clamp(30px, 4.2vw, 58px); font-weight: 800; line-height: 1.06; letter-spacing: -0.025em; text-wrap: balance; }
.h-2 { font-size: clamp(24px, 2.8vw, 40px); font-weight: 800; line-height: 1.1; letter-spacing: -0.02em; text-wrap: balance; }
.h-3 { font-size: clamp(20px, 1.9vw, 28px); font-weight: 700; line-height: 1.2; text-wrap: balance; }
.h-4 { font-size: 17px; font-weight: 700; line-height: 1.3; }

/* Global title-line guard: no h1/h2 should ever overflow 3 lines visually */
h1, h2, h3, .h-1, .h-2, .h-3 {
  text-wrap: balance;
  overflow-wrap: break-word;
  hyphens: auto;
}
.h-4 { font-size: 20px; font-weight: 700; }

.lead { font-size: clamp(17px, 1.3vw, 19px); color: var(--ink-500); line-height: 1.7; max-width: 56ch; font-weight: 400; }

.t-light { color: rgba(255,255,255,.78); }
.t-light-2 { color: rgba(255,255,255,.55); }

/* Italic accent for highlights inside titles */
em, .h-1 em, .h-2 em, .h-3 em, .h-display em, .hero h1 em, .page-hero h1 em {
  font-style: italic;
  font-weight: 700;
  color: var(--accent-500);
}

/* === Buttons === */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 16px 28px;
  font-family: 'Montserrat', sans-serif;
  font-size: 14.5px; font-weight: 700; letter-spacing: -0.005em;
  border-radius: 100px;
  transition: all var(--t-fast);
  white-space: nowrap;
  cursor: pointer;
  position: relative;
  text-decoration: none;
}
.btn svg { width: 18px; height: 18px; transition: transform var(--t-fast); pointer-events: none; }
.btn > * { pointer-events: none; }
.btn:hover svg { transform: translateX(3px); }
.btn-lg { padding: 19px 36px; font-size: 15.5px; }
.btn-sm { padding: 11px 20px; font-size: 13px; }
/* Force buttons above any decorative overlay */
.btn { z-index: 5 !important; }
.cta-btns, .hero-cta { position: relative; z-index: 5; }

.btn-primary {
  background: var(--navy-900); color: var(--white);
  box-shadow: 0 1px 0 rgba(255,255,255,.1) inset, 0 8px 24px rgba(43,57,144,.28);
}
.btn-primary:hover { background: var(--navy-800); transform: translateY(-1px); }

.btn-accent {
  background: linear-gradient(135deg, var(--accent-500) 0%, var(--accent-600) 100%); color: var(--white);
  box-shadow: 0 1px 0 rgba(255,255,255,.18) inset, 0 8px 24px rgba(246,147,9,.32);
}
.btn-accent:hover { transform: translateY(-1px); box-shadow: 0 1px 0 rgba(255,255,255,.18) inset, 0 12px 32px rgba(246,147,9,.42); }

.btn-teal {
  background: linear-gradient(135deg, var(--accent-500) 0%, var(--accent-600) 100%); color: var(--white);
  box-shadow: 0 1px 0 rgba(255,255,255,.18) inset, 0 8px 24px rgba(246,147,9,.32);
}
.btn-teal:hover { transform: translateY(-1px); box-shadow: 0 1px 0 rgba(255,255,255,.18) inset, 0 12px 32px rgba(246,147,9,.42); }

.btn-outline {
  background: var(--white); color: var(--navy-900);
  box-shadow: 0 0 0 1px var(--line-2) inset;
}
.btn-outline:hover { box-shadow: 0 0 0 1px var(--navy-700) inset; transform: translateY(-1px); }

.btn-ghost-light {
  background: rgba(255,255,255,.08); color: var(--white);
  box-shadow: 0 0 0 1px rgba(255,255,255,.16) inset;
  backdrop-filter: blur(10px);
}
.btn-ghost-light:hover { background: rgba(255,255,255,.14); }

.btn-whatsapp {
  background: #25D366; color: var(--white);
  box-shadow: 0 8px 24px rgba(37,211,102,.36);
}
.btn-whatsapp:hover { background: #1EAA52; transform: translateY(-1px); }

/* === ABOUT HERO — Full-bleed team photo === */
.about-hero {
  position: relative;
  width: 100%;
  min-height: 760px;
  display: flex;
  align-items: flex-end;
  padding: 0 0 80px;
  overflow: hidden;
  isolation: isolate;
}
.about-hero-bg {
  position: absolute; inset: 0;
  z-index: 0;
  pointer-events: none;
}
.about-hero-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 25%;
  display: block;
}
.about-hero-overlay {
  position: absolute; inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(14,19,54,.35) 0%, rgba(14,19,54,.10) 25%, rgba(14,19,54,.20) 55%, rgba(14,19,54,.92) 100%),
    radial-gradient(ellipse at 0% 100%, rgba(246,147,9,.28), transparent 55%);
}
.about-hero-content {
  position: relative; z-index: 2;
  color: var(--white);
  padding-top: 220px;
  max-width: 760px;
}
.about-hero-content h1 {
  color: var(--white);
  font-size: clamp(34px, 5vw, 64px);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.05;
  margin-bottom: 0;
  text-wrap: balance;
  max-width: 720px;
}
.about-hero-content .lead { color: rgba(255,255,255,.85); max-width: 620px; }
.about-hero-content .breadcrumbs { color: rgba(255,255,255,.6); margin-bottom: 24px; }
.about-hero-content .breadcrumbs a { color: rgba(255,255,255,.8); }
.about-hero-content .breadcrumbs a:hover { color: var(--white); }
@media (max-width: 880px) {
  .about-hero { min-height: 620px; padding-bottom: 56px; }
  .about-hero-content { padding-top: 160px; }
  .about-hero-content h1 { font-size: 38px; }
  .about-hero-bg img { object-position: center 22%; }
}

/* === FULL-IMAGE BAND (legacy / other pages) === */
.full-image-band {
  position: relative;
  width: 100%;
  height: clamp(280px, 38vw, 480px);
  overflow: hidden;
}
.full-image-band img {
  width: 100%; height: 100%; object-fit: cover;
}
.full-image-band .full-image-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(14,19,54,.05) 0%, rgba(14,19,54,.55) 70%, rgba(14,19,54,.85) 100%);
  display: flex; align-items: flex-end;
  padding-bottom: 56px;
  pointer-events: none;
}
.full-image-band .full-image-overlay h2 { color: var(--white); }
@media (max-width: 768px) {
  .full-image-band .full-image-overlay { padding-bottom: 32px; }
}

/* === Navbar === */
#nav {
  position: fixed; top: 16px; left: 50%; transform: translateX(-50%);
  z-index: 100;
  width: calc(100% - 32px);
  max-width: 1280px;
  transition: all var(--t);
}
#nav .nav-shell {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 12px 12px 24px;
  background: rgba(255,255,255,.78);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border: 1px solid rgba(255,255,255,.6);
  border-radius: 100px;
  box-shadow: 0 12px 40px rgba(14,19,54,.08);
  transition: all var(--t);
}
#nav.scrolled .nav-shell {
  background: rgba(255,255,255,.94);
  box-shadow: 0 12px 40px rgba(14,19,54,.12);
}
#nav.transparent { top: 0; width: 100%; max-width: none; }
#nav.transparent:not(.scrolled) .nav-shell {
  background: transparent; border-color: transparent; box-shadow: none;
  padding: 22px 32px;
}

.nav-logo { display: flex; align-items: center; }
.nav-logo img { height: 44px; width: auto; transition: filter var(--t); }
#nav.transparent:not(.scrolled) .nav-logo img { filter: brightness(0) invert(1); }

.nav-menu { display: flex; align-items: center; gap: 4px; }
.nav-item {
  padding: 10px 14px; border-radius: 100px;
  font-size: 14px; font-weight: 500; color: var(--ink-700);
  transition: all var(--t-fast);
  cursor: pointer;
}
#nav.transparent:not(.scrolled) .nav-item { color: rgba(255,255,255,.92); }
.nav-item:hover { background: var(--bg-2); color: var(--navy-900); }
#nav.transparent:not(.scrolled) .nav-item:hover { background: rgba(255,255,255,.12); color: var(--white); }
.nav-item.active { color: var(--accent-600); font-weight: 600; }
#nav.transparent:not(.scrolled) .nav-item.active { color: var(--accent-400); }

.nav-dd { position: relative; }
.nav-dd-trigger { display: inline-flex; align-items: center; gap: 4px; }
.nav-dd-trigger svg { width: 14px; height: 14px; transition: transform var(--t-fast); }
.nav-dd.open .nav-dd-trigger svg, .nav-dd:hover .nav-dd-trigger svg { transform: rotate(180deg); }

.nav-dd-panel {
  position: absolute; top: calc(100% + 10px); left: 50%; transform: translateX(-50%) translateY(-4px);
  min-width: 320px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  padding: 12px;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .22s ease, visibility .22s ease, transform .22s ease;
  transition-delay: 0.18s;
}
/* Transparent bridge that covers the 10px gap between trigger and panel
   plus 4px overlap into the trigger area — keeps :hover continuous */
.nav-dd-panel::before {
  content: '';
  position: absolute;
  top: -16px;
  left: -16px; right: -16px;
  height: 16px;
}
.nav-dd:hover .nav-dd-panel,
.nav-dd.open .nav-dd-panel,
.nav-dd-panel:hover {
  opacity: 1; visibility: visible; pointer-events: auto;
  transform: translateX(-50%) translateY(0);
  transition-delay: 0s;
}

.dd-link {
  display: flex; align-items: center; gap: 14px;
  padding: 12px 14px; border-radius: var(--r);
  transition: all var(--t-fast);
}
.dd-link:hover { background: var(--bg); }
.dd-icon {
  width: 38px; height: 38px; border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.dd-icon svg { width: 20px; height: 20px; }
.dd-link-text .ttl { font-size: 14px; font-weight: 600; color: var(--ink-900); display: block; }
.dd-link-text .sub { font-size: 12px; color: var(--ink-400); margin-top: 1px; display: block; font-weight: 400; }

.nav-cta-group { display: flex; align-items: center; gap: 8px; }

.nav-toggle { display: none; padding: 10px; border-radius: 100px; flex-direction: column; gap: 4px; }
.nav-toggle span { width: 22px; height: 2px; background: var(--ink-900); border-radius: 2px; transition: all var(--t-fast); }
#nav.transparent:not(.scrolled) .nav-toggle span { background: var(--white); }

.mob-menu {
  position: fixed; inset: 0;
  background: var(--navy-950);
  z-index: 200;
  padding: 100px 24px 40px;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform var(--t), visibility var(--t);
  visibility: hidden;
  pointer-events: none !important;
}
.mob-menu.open {
  transform: translateX(0);
  visibility: visible;
  pointer-events: auto !important;
}
.mob-menu:not(.open) * { pointer-events: none !important; }
.mob-menu a { display: flex; align-items: center; gap: 14px; padding: 16px 0; font-size: 18px; font-weight: 500; color: var(--white); border-bottom: 1px solid rgba(255,255,255,.08); }
.mob-menu a:hover { color: var(--accent-400); }
.mob-close { position: absolute; top: 24px; right: 24px; width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,.1); color: var(--white); display: flex; align-items: center; justify-content: center; }
.mob-cta-group { margin-top: 24px; display: flex; flex-direction: column; gap: 12px; }

/* === HERO === */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex; align-items: center;
  background: var(--navy-950);
  color: var(--white);
  overflow: hidden;
  padding: 140px 0 80px;
}
.hero-bg {
  position: absolute; inset: 0;
  background-image: url('../images/header-principal.jpg');
  background-size: cover;
  background-position: center 30%;
}
.hero-bg::after {
  content: '';
  position: absolute; inset: 0;
  background:
    linear-gradient(105deg, rgba(14,19,54,.92) 0%, rgba(14,19,54,.78) 35%, rgba(14,19,54,.45) 65%, rgba(14,19,54,.55) 100%),
    radial-gradient(ellipse at 100% 50%, rgba(246,147,9,.18), transparent 60%);
  pointer-events: none;
}
.hero-bg { pointer-events: none; }
.hero-grain {
  position: absolute; inset: 0; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence baseFrequency='.85' numOctaves='2' /%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.4' /%3E%3C/svg%3E");
  opacity: .04; mix-blend-mode: overlay;
}
.hero-content { position: relative; z-index: 2; max-width: 720px; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 10px 16px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 100px;
  backdrop-filter: blur(20px);
  font-size: 11.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  margin-bottom: 28px;
  color: var(--white);
}
.hero-eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent-400); box-shadow: 0 0 0 4px rgba(246,147,9,.25); animation: pulse 2s infinite; }
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(246,147,9,.25); }
  50%      { box-shadow: 0 0 0 10px rgba(246,147,9,.05); }
}
.hero h1 {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(34px, 5vw, 68px);
  color: var(--white);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.04;
  margin-bottom: 24px;
  text-wrap: balance;
  max-width: 680px;
}
.hero h1 em { font-style: italic; font-weight: 600; color: var(--accent-400); }
.hero-sub { font-size: clamp(16px, 1.3vw, 18px); color: rgba(255,255,255,.78); max-width: 520px; margin-bottom: 40px; line-height: 1.65; font-weight: 400; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 64px; }
.hero-trust {
  display: grid; grid-template-columns: repeat(3, max-content); gap: 48px;
  border-top: 1px solid rgba(255,255,255,.12);
  padding-top: 32px;
}
.hero-trust-item .num {
  font-family: 'Montserrat', sans-serif;
  font-size: 36px; font-weight: 800; color: var(--white); line-height: 1; letter-spacing: -0.03em;
}
.hero-trust-item .num .plus { color: var(--accent-400); }
.hero-trust-item .lbl { font-size: 11px; color: rgba(255,255,255,.55); margin-top: 6px; letter-spacing: .08em; text-transform: uppercase; font-weight: 500; }

.hero-floating-card {
  position: absolute;
  right: 5%; top: 30%;
  width: 320px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.18);
  backdrop-filter: blur(24px);
  border-radius: var(--r-lg);
  padding: 24px;
  z-index: 2;
  animation: float 6s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
.hero-card-row { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.hero-card-row img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.hero-card-row .who { font-size: 14px; color: var(--white); font-weight: 600; }
.hero-card-row .what { font-size: 12px; color: rgba(255,255,255,.65); }
.hero-card-quote { font-size: 13.5px; color: rgba(255,255,255,.92); font-style: italic; line-height: 1.55; font-weight: 400; }
.hero-card-stars { color: #FBB940; font-size: 14px; letter-spacing: 2px; margin-bottom: 10px; }

/* === SECTION HEADERS === */
.section-head { max-width: 720px; margin-bottom: 64px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head .eyebrow { margin-bottom: 20px; }

/* === CARDS === */
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 36px;
  transition: all var(--t);
  position: relative;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--line-2); }

.ico { width: 24px; height: 24px; flex-shrink: 0; }
.ico-lg { width: 28px; height: 28px; }
.ico-xl { width: 32px; height: 32px; }

.tone-navy   { background: var(--navy-50); color: var(--navy-700); }
.tone-teal   { background: var(--teal-100); color: var(--teal-700); }
.tone-orange { background: var(--accent-100); color: var(--accent-700); }
.tone-accent { background: var(--accent-100); color: var(--accent-700); }
.tone-lime   { background: #EDF6CC; color: #5C7A0E; }
.tone-pink   { background: #FDD9E2; color: #B11947; }
.tone-purple { background: #ECD8F1; color: #5C1F69; }

/* === SERVICE GRID === */
.svc-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; }
.svc-card {
  grid-column: span 4;
  position: relative;
  border-radius: var(--r-xl);
  background: var(--white);
  border: 1px solid var(--line);
  padding: 40px 36px 36px;
  transition: all var(--t);
  overflow: hidden;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  text-decoration: none;
}
.svc-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--accent-500);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t);
}
.svc-card:hover {
  transform: translateY(-6px);
  border-color: var(--line-2);
  box-shadow: var(--shadow-lg);
}
.svc-card:hover::before { transform: scaleX(1); }

.svc-card-icon {
  width: 56px; height: 56px;
  border-radius: var(--r);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 28px;
}
.svc-card h3 { font-size: 21px; margin-bottom: 14px; font-weight: 700; line-height: 1.25; }
.svc-card p { font-size: 14.5px; color: var(--ink-500); margin-bottom: 28px; line-height: 1.7; flex: 1; font-weight: 400; }
.svc-card .read-more {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 700; color: var(--accent-600);
  letter-spacing: 0.02em;
  margin-top: auto;
}
.svc-card .read-more svg { width: 14px; height: 14px; transition: transform var(--t-fast); }
.svc-card:hover .read-more svg { transform: translateX(4px); }

.svc-card.feature {
  grid-column: span 6;
  background: var(--navy-900);
  color: var(--white);
  border-color: var(--navy-800);
}
.svc-card.feature::before { background: var(--accent-500); }
.svc-card.feature h3 { color: var(--white); }
.svc-card.feature p { color: rgba(255,255,255,.72); }
.svc-card.feature .read-more { color: var(--accent-400); }
.svc-card.feature:hover { border-color: var(--accent-500); box-shadow: 0 24px 64px rgba(43,57,144,.4); }
.svc-card.feature .svc-card-icon { background: rgba(246,147,9,.18); color: var(--accent-400); }

/* === SPLIT === */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.split.reverse > div:first-child { order: 2; }

.split-img-stack { position: relative; min-height: 600px; }
.split-img-stack .img-1 {
  position: absolute; top: 0; left: 0;
  width: 65%; height: 480px; object-fit: cover; object-position: center;
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-lg);
}
.split-img-stack .img-2 {
  position: absolute; bottom: 0; right: 0;
  width: 55%; height: 320px; object-fit: cover;
  border-radius: var(--r-xl);
  border: 8px solid var(--white);
  box-shadow: var(--shadow-lg);
}
/* Mission stack: team photo large, doctor portrait smaller and centered */
.mission-stack { min-height: 640px; }
.mission-stack .img-1 {
  width: 88%;
  height: 540px;
  top: 0; left: 0;
}
.mission-stack .img-2.mission-portrait {
  width: 42%;
  height: 280px;
  bottom: 24px;
  right: 0;
  object-position: center 18%;
}
@media (max-width: 880px) {
  .mission-stack { min-height: 440px; }
  .mission-stack .img-1 { width: 100%; height: 360px; position: relative; }
  .mission-stack .img-2.mission-portrait { width: 55%; height: 200px; position: absolute; bottom: -40px; right: 0; }
}
.split-stat-card {
  position: absolute;
  bottom: 60px; left: -16px;
  background: var(--white);
  border-radius: var(--r-lg);
  padding: 22px 26px;
  box-shadow: var(--shadow-lg);
  display: flex; align-items: center; gap: 16px;
  border: 1px solid var(--line);
  z-index: 2;
}
.split-stat-card .num { font-family: 'Montserrat', sans-serif; font-size: 38px; font-weight: 800; color: var(--accent-500); line-height: 1; letter-spacing: -0.03em; }
.split-stat-card .lbl { font-size: 11px; color: var(--ink-400); text-transform: uppercase; letter-spacing: .08em; max-width: 120px; line-height: 1.4; font-weight: 600; }

/* === STATS === */
.stats-bar {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.stats-bar > div {
  padding: 64px 24px; text-align: center;
  border-right: 1px solid var(--line);
}
.stats-bar > div:last-child { border-right: none; }
.stats-bar .num { font-family: 'Montserrat', sans-serif; font-size: 60px; font-weight: 800; color: var(--ink-900); letter-spacing: -0.03em; line-height: 1; }
.stats-bar .num .small { font-size: 32px; vertical-align: super; color: var(--accent-500); }
.stats-bar .lbl { font-size: 12px; color: var(--ink-500); margin-top: 12px; letter-spacing: .08em; text-transform: uppercase; font-weight: 600; }
.stats-bar.dark { border-color: rgba(255,255,255,.08); }
.stats-bar.dark > div { border-color: rgba(255,255,255,.08); }
.stats-bar.dark .num { color: var(--white); }
.stats-bar.dark .lbl { color: rgba(255,255,255,.55); }
.stats-bar.dark .num .small { color: var(--accent-400); }

/* === TEAM === */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.team-card {
  position: relative;
  background: var(--bg-2);
  border-radius: var(--r-xl);
  overflow: hidden;
  aspect-ratio: 3 / 4;
  cursor: pointer;
  transition: all var(--t);
}
.team-card:hover { transform: translateY(-6px); }
.team-card img {
  width: 100%; height: 100%; object-fit: cover; object-position: center top;
  transition: transform var(--t-slow);
  filter: saturate(0.96);
}
.team-card:hover img { transform: scale(1.04); }
.team-card-info {
  position: absolute; left: 16px; right: 16px; bottom: 16px;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(12px);
  border-radius: var(--r);
  padding: 18px 20px;
  border: 1px solid rgba(255,255,255,.6);
  box-shadow: 0 12px 32px rgba(14,19,54,.12);
  transition: all var(--t);
}
.team-card-info h4 { font-family: 'Montserrat', sans-serif; font-size: 16px; font-weight: 700; color: var(--ink-900); margin-bottom: 2px; line-height: 1.2; letter-spacing: -0.01em; }
.team-card-info .role { font-size: 11px; color: var(--accent-600); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.team-card-info .credentials { font-size: 12px; color: var(--ink-500); margin-top: 6px; line-height: 1.45; font-weight: 400; }

/* === TESTIMONIALS === */
.testimonials { display: grid; grid-template-columns: 5fr 7fr; gap: 80px; align-items: start; }
.testimonial-feature {
  background: var(--navy-900); color: var(--white);
  border-radius: var(--r-2xl);
  padding: 56px 48px;
  position: relative;
  overflow: hidden;
}
.testimonial-feature::before {
  content: '"'; position: absolute; top: -40px; right: 32px;
  font-family: 'Montserrat', sans-serif; font-size: 320px; line-height: 1; font-weight: 800;
  color: rgba(246,147,9,.08); pointer-events: none;
}
.testimonial-feature blockquote {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(22px, 2.2vw, 28px);
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: -0.015em;
  margin-bottom: 36px;
  position: relative; z-index: 1;
  color: rgba(255,255,255,.96);
}
.testimonial-author { display: flex; align-items: center; gap: 16px; }
.testimonial-author img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; border: 2px solid rgba(255,255,255,.16); }
.testimonial-author .name { font-size: 15px; font-weight: 700; color: var(--white); }
.testimonial-author .meta { font-size: 13px; color: rgba(255,255,255,.55); font-weight: 400; }

.testimonial-grid { display: grid; gap: 16px; }
.testimonial-mini {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 28px 30px;
  transition: all var(--t);
}
.testimonial-mini:hover { border-color: var(--line-2); box-shadow: var(--shadow); }
.testimonial-mini blockquote { font-size: 15px; line-height: 1.65; color: var(--ink-700); margin-bottom: 18px; font-weight: 400; }
.testimonial-mini .stars { color: #FBB940; font-size: 13px; letter-spacing: 2px; margin-bottom: 12px; }

/* === RESULTS === */
.results-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.result-card {
  border-radius: var(--r-xl);
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  transition: all var(--t);
}
.result-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.result-card .img-wrap { position: relative; aspect-ratio: 1 / 1; }
.result-card img { width: 100%; height: 100%; object-fit: cover; }
.result-meta { padding: 20px 24px; }
.result-meta .who { font-size: 15px; font-weight: 700; color: var(--ink-900); margin-bottom: 4px; }
.result-meta .what { font-size: 13px; color: var(--ink-500); font-weight: 400; }
.result-tag {
  position: absolute; bottom: 12px; left: 12px;
  background: var(--accent-500);
  color: var(--white);
  font-size: 11px; font-weight: 700;
  padding: 6px 12px; border-radius: 100px;
  letter-spacing: .04em; text-transform: uppercase;
}

/* === CTA === */
.cta-block {
  background: var(--navy-950);
  color: var(--white);
  border-radius: var(--r-2xl);
  padding: 88px 64px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-block::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(246,147,9,.22), transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(43,57,144,.4), transparent 50%);
  pointer-events: none;
}
.cta-block > * { position: relative; z-index: 1; }
.cta-block h2 { color: var(--white); margin-bottom: 20px; }
.cta-block p { color: rgba(255,255,255,.78); margin-bottom: 36px; max-width: 540px; margin-left: auto; margin-right: auto; }
.cta-block .cta-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* === FAQ === */
.faq-list { max-width: 820px; margin: 56px auto 0; }
.faq-item { border-bottom: 1px solid var(--line); transition: all var(--t-fast); }
.faq-item:hover { border-color: var(--line-2); }
.faq-q {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between;
  padding: 28px 0;
  font-family: 'Montserrat', sans-serif;
  font-size: 17px; font-weight: 600; color: var(--ink-900);
  text-align: left;
  letter-spacing: -0.01em;
}
.faq-q-icon {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--bg-2);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: all var(--t);
}
.faq-q-icon svg { width: 14px; height: 14px; transition: transform var(--t); }
.faq-item.open .faq-q-icon { background: var(--accent-500); color: var(--white); }
.faq-item.open .faq-q-icon svg { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .5s var(--ease-out); }
.faq-a-inner { padding: 0 56px 28px 0; font-size: 15.5px; color: var(--ink-500); line-height: 1.75; font-weight: 400; }
.faq-item.open .faq-a { max-height: 600px; }

/* === FORMS === */
.input-group { margin-bottom: 18px; }
.input-group label { display: block; font-size: 13px; font-weight: 600; color: var(--ink-700); margin-bottom: 8px; letter-spacing: .02em; }
.input, select.input, textarea.input {
  width: 100%;
  padding: 14px 18px;
  border: 1.5px solid var(--line-2);
  border-radius: var(--r);
  background: var(--bg);
  font-size: 15px;
  color: var(--ink-900);
  transition: all var(--t-fast);
  outline: none;
  font-family: 'Montserrat', sans-serif;
}
.input:focus { border-color: var(--accent-500); background: var(--white); box-shadow: 0 0 0 4px rgba(246,147,9,.08); }
textarea.input { resize: vertical; min-height: 120px; }
select.input {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%235C6699' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 18px center;
  padding-right: 44px;
}
.input-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

/* === MODAL === */
.modal-backdrop {
  position: fixed; inset: 0;
  background: rgba(14,19,54,.55);
  backdrop-filter: blur(8px);
  z-index: 300;
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none !important;
  transition: opacity var(--t), visibility var(--t);
}
.modal-backdrop.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto !important;
}
/* Bulletproof: when not .open, NEVER capture events */
.modal-backdrop:not(.open) { pointer-events: none !important; }
.modal-backdrop:not(.open) * { pointer-events: none !important; }
.modal {
  background: var(--white);
  border-radius: var(--r-xl);
  width: 100%; max-width: 560px;
  max-height: 90vh; overflow: hidden;
  display: flex; flex-direction: column;
  transform: translateY(20px) scale(.96);
  transition: transform var(--t);
  box-shadow: var(--shadow-xl);
}
.modal-backdrop.open .modal { transform: translateY(0) scale(1); }
.modal-large { max-width: 760px; }
.modal-head { padding: 28px 32px 8px; position: relative; }
.modal-head h3 { font-size: 22px; margin-bottom: 6px; font-weight: 700; }
.modal-head p { font-size: 14px; color: var(--ink-500); }
.modal-close {
  position: absolute; top: 20px; right: 20px;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--bg-2);
  display: flex; align-items: center; justify-content: center;
  transition: all var(--t-fast);
}
.modal-close:hover { background: var(--accent-500); color: var(--white); }
.modal-body { padding: 24px 32px 32px; overflow-y: auto; }

/* === FOOTER === */
footer { background: var(--navy-950); color: rgba(255,255,255,.7); padding: 96px 0 32px; position: relative; overflow: hidden; }
footer::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 80% 0%, rgba(246,147,9,.18), transparent 50%); pointer-events: none; }
footer .container { position: relative; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.4fr; gap: 56px; margin-bottom: 64px; }
.footer-brand { max-width: 300px; }
.footer-brand img { height: 56px; filter: brightness(0) invert(1); margin-bottom: 24px; }
.footer-brand p { font-size: 14px; line-height: 1.65; color: rgba(255,255,255,.6); margin-bottom: 28px; font-weight: 400; }
.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  display: flex; align-items: center; justify-content: center;
  transition: all var(--t-fast);
}
.footer-social a:hover { background: var(--accent-500); border-color: var(--accent-500); color: var(--white); transform: translateY(-2px); }
.footer-social a svg { width: 16px; height: 16px; }
.footer-col h4 { font-family: 'Montserrat', sans-serif; font-size: 12px; font-weight: 700; color: var(--white); letter-spacing: .14em; text-transform: uppercase; margin-bottom: 20px; }
.footer-col ul { display: flex; flex-direction: column; gap: 12px; }
.footer-col a { font-size: 14px; color: rgba(255,255,255,.6); transition: color var(--t-fast); cursor: pointer; }
.footer-col a:hover { color: var(--accent-400); }
.footer-contact-item { display: flex; gap: 12px; margin-bottom: 14px; font-size: 14px; line-height: 1.55; align-items: flex-start; font-weight: 400; }
.footer-contact-item svg { width: 16px; height: 16px; color: var(--accent-400); flex-shrink: 0; margin-top: 3px; }
.footer-bottom {
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,.08);
  display: flex; justify-content: space-between; align-items: center;
  font-size: 13px; color: rgba(255,255,255,.4);
}
.footer-bottom-links { display: flex; gap: 28px; }

/* WhatsApp FAB removed — using LeadConnector chat widget only */
.wa-fab { display: none !important; }

/* === PAGE HERO === */
.page-hero {
  background: var(--navy-950);
  color: var(--white);
  padding: 132px 0 72px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  min-height: 520px;
}
@media (max-width: 880px) {
  .page-hero { padding: 110px 0 56px; min-height: 0; }
  .page-hero h1 { font-size: 36px !important; }
  .page-hero .lead { font-size: 16px !important; }
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 0% 100%, rgba(246,147,9,.18), transparent 60%),
    radial-gradient(ellipse at 100% 0%, rgba(43,57,144,.22), transparent 50%);
  pointer-events: none;
}
.page-hero .container { position: relative; }
.breadcrumbs { display: flex; align-items: center; gap: 8px; font-size: 13px; color: rgba(255,255,255,.5); margin-bottom: 24px; font-weight: 500; }
.breadcrumbs a { color: rgba(255,255,255,.7); transition: color var(--t-fast); }
.breadcrumbs a:hover { color: var(--white); }
.page-hero h1 { color: var(--white); font-size: clamp(30px, 4vw, 56px); font-weight: 800; letter-spacing: -0.025em; max-width: 820px; line-height: 1.06; text-wrap: balance; }
.page-hero .lead { color: rgba(255,255,255,.78); margin-top: 24px; max-width: 640px; }
.page-hero h1 em { font-style: italic; font-weight: 600; color: var(--accent-400); }

.page-hero-with-image { display: grid; grid-template-columns: 1.05fr 1fr; gap: 64px; align-items: center; padding: 132px 0 72px; }
.page-hero-with-image > div:first-child { padding-right: 8px; }
.page-hero-img { border-radius: var(--r-xl); overflow: hidden; aspect-ratio: 4/5; position: relative; z-index: 1; max-height: 560px; box-shadow: 0 30px 80px rgba(0,0,0,.35); }
.page-hero-img img { width: 100%; height: 100%; object-fit: cover; }
/* When parent .page-hero is set, the inner grid replaces its own padding */
.page-hero .page-hero-with-image { padding: 0; }

/* === SERVICE DETAIL === */
.svc-detail-grid { display: grid; grid-template-columns: 1fr 380px; gap: 80px; }
.svc-prose h2 { font-size: 36px; margin: 56px 0 18px; font-weight: 800; line-height: 1.1; letter-spacing: -0.02em; }
.svc-prose h2:first-child { margin-top: 0; }
.svc-prose h3 { font-size: 22px; margin: 36px 0 14px; font-weight: 700; }
.svc-prose p { font-size: 16.5px; line-height: 1.8; color: var(--ink-700); margin-bottom: 18px; font-weight: 400; }
.svc-prose ul { list-style: none; margin-bottom: 24px; }
.svc-prose ul li {
  position: relative;
  padding-left: 32px;
  margin-bottom: 12px;
  font-size: 16px;
  color: var(--ink-700);
  line-height: 1.7;
  font-weight: 400;
}
.svc-prose ul li::before {
  content: '';
  position: absolute; left: 0; top: 8px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--accent-100);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23B66800' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-size: 12px;
  background-position: center;
  background-repeat: no-repeat;
}

.svc-prose .callout {
  background: linear-gradient(135deg, var(--accent-50), var(--bg));
  border: 1px solid var(--accent-100);
  border-left: 4px solid var(--accent-500);
  border-radius: var(--r);
  padding: 24px 28px;
  margin: 32px 0;
}
.svc-prose .callout p { margin: 0; font-size: 15px; }

.proc-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: 32px;
  margin-bottom: 16px;
  transition: all var(--t);
}
.proc-card:hover { border-color: var(--line-2); box-shadow: var(--shadow); }
.proc-card-head { display: flex; align-items: center; gap: 16px; margin-bottom: 16px; }
.proc-card-icon { width: 56px; height: 56px; border-radius: var(--r); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.proc-card-icon img { width: 36px; height: 36px; object-fit: contain; }
.proc-card h3 { font-size: 22px; margin: 0; font-weight: 700; }

.sidebar { position: sticky; top: 110px; display: flex; flex-direction: column; gap: 20px; }
.sidebar-cta {
  background: linear-gradient(135deg, var(--accent-700), var(--accent-500));
  color: var(--white);
  border-radius: var(--r-xl);
  padding: 36px 32px;
  position: relative;
  overflow: hidden;
}
.sidebar-cta::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 100% 0%, rgba(255,255,255,.18), transparent 50%);
  pointer-events: none;
}
.sidebar-cta > * { position: relative; }
.sidebar-cta h3 { color: var(--white); font-size: 22px; margin-bottom: 10px; font-weight: 700; }
.sidebar-cta p { font-size: 14px; color: rgba(255,255,255,.85); margin-bottom: 24px; line-height: 1.6; font-weight: 400; }
.sidebar-cta .btn { width: 100%; }
.sidebar-cta .btn-teal, .sidebar-cta .btn-accent { background: var(--white); color: var(--accent-700); }

.sidebar-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 24px 26px;
}
.sidebar-card h4 { font-size: 13px; font-weight: 700; color: var(--ink-900); letter-spacing: .08em; text-transform: uppercase; margin-bottom: 16px; }
.sidebar-list { display: flex; flex-direction: column; gap: 10px; }
.sidebar-list a, .sidebar-list .item { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--ink-700); padding: 4px 0; transition: color var(--t-fast); font-weight: 500; }
.sidebar-list a:hover { color: var(--accent-600); }
.sidebar-list svg { width: 16px; height: 16px; color: var(--accent-500); flex-shrink: 0; }

/* === BLOG === */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.blog-card {
  display: flex; flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  overflow: hidden;
  transition: all var(--t);
}
.blog-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--line-2); }
.blog-card .cover { aspect-ratio: 16/10; overflow: hidden; position: relative; }
.blog-card .cover img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--t-slow); }
.blog-card:hover .cover img { transform: scale(1.05); }
.blog-card .cat-tag {
  position: absolute; top: 16px; left: 16px;
  background: var(--accent-500);
  color: var(--white);
  font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  padding: 6px 12px; border-radius: 100px;
}
.blog-card .body { padding: 28px 28px 24px; flex: 1; display: flex; flex-direction: column; }
.blog-card h3 { font-size: 19px; margin-bottom: 12px; line-height: 1.3; font-weight: 700; }
.blog-card .excerpt { font-size: 14px; color: var(--ink-500); line-height: 1.6; margin-bottom: 20px; flex: 1; font-weight: 400; }
.blog-card .meta { display: flex; align-items: center; gap: 12px; font-size: 12px; color: var(--ink-400); padding-top: 20px; border-top: 1px solid var(--line); font-weight: 500; }
.blog-card .meta-author { display: flex; align-items: center; gap: 8px; }
.blog-card .meta-author img { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; }
.blog-card .meta-dot { width: 3px; height: 3px; border-radius: 50%; background: var(--ink-300); }

.blog-feature { grid-column: span 2; }
.blog-feature .cover { aspect-ratio: 16/9; }
.blog-feature h3 { font-size: 26px; }

.blog-filter-bar { display: flex; align-items: center; gap: 8px; margin-bottom: 56px; flex-wrap: wrap; }
.blog-filter {
  padding: 10px 20px; border-radius: 100px;
  font-family: 'Montserrat', sans-serif;
  font-size: 13px; font-weight: 600;
  color: var(--ink-700);
  border: 1px solid var(--line-2);
  background: var(--white);
  cursor: pointer;
  transition: all var(--t-fast);
}
.blog-filter:hover { border-color: var(--accent-500); color: var(--accent-600); }
.blog-filter.active { background: var(--accent-500); color: var(--white); border-color: var(--accent-500); }

/* Article page */
.article-hero { padding: 160px 0 64px; background: var(--navy-950); color: var(--white); }
.article-hero .meta-bar { display: flex; gap: 16px; align-items: center; font-size: 13px; color: rgba(255,255,255,.6); margin-bottom: 24px; flex-wrap: wrap; font-weight: 500; }
.article-hero h1 { color: var(--white); font-size: clamp(28px, 3.8vw, 48px); font-weight: 800; letter-spacing: -0.025em; max-width: 820px; line-height: 1.1; text-wrap: balance; }
.article-hero .lead { font-size: 18px; color: rgba(255,255,255,.78); margin-top: 24px; max-width: 720px; }
.article-cover { max-width: 1080px; margin: -80px auto 0; padding: 0 24px; position: relative; z-index: 1; }
.article-cover img { width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: var(--r-xl); box-shadow: var(--shadow-xl); }
.article-body { padding: 80px 0; }
.article-prose { max-width: 720px; margin: 0 auto; padding: 0 24px; font-size: 17px; line-height: 1.8; color: var(--ink-700); font-weight: 400; }
.article-prose > * + * { margin-top: 24px; }
.article-prose h2 { font-family: 'Montserrat', sans-serif; font-size: 30px; font-weight: 800; color: var(--ink-900); margin-top: 48px; letter-spacing: -0.02em; }
.article-prose h3 { font-family: 'Montserrat', sans-serif; font-size: 22px; font-weight: 700; color: var(--ink-900); margin-top: 36px; }
.article-prose p { font-size: 17px; line-height: 1.8; }
.article-prose blockquote {
  border-left: 4px solid var(--accent-500);
  padding-left: 24px; margin: 32px 0;
  font-family: 'Montserrat', sans-serif;
  font-style: italic; font-size: 20px; font-weight: 500;
  color: var(--ink-900);
}
.article-prose ul, .article-prose ol { padding-left: 24px; }
.article-prose ul li, .article-prose ol li { margin-bottom: 8px; }
.article-prose a { color: var(--accent-600); text-decoration: underline; font-weight: 500; }
.article-prose img { border-radius: var(--r-lg); margin: 32px 0; }

.author-card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: 32px;
  display: flex; gap: 24px; align-items: center;
  margin-top: 48px;
}
.author-card img { width: 88px; height: 88px; border-radius: 50%; object-fit: cover; object-position: top; }
.author-card .who h4 { font-size: 18px; margin-bottom: 4px; font-weight: 700; }
.author-card .who .role { font-size: 12px; color: var(--accent-600); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 8px; }
.author-card .who p { font-size: 14px; color: var(--ink-500); font-weight: 400; }

/* === TIMELINE (sequential animations) === */
.timeline { position: relative; padding-left: 40px; }
.timeline::before { content: ''; position: absolute; left: 11px; top: 12px; bottom: 12px; width: 2px; background: linear-gradient(180deg, var(--accent-500), var(--navy-700)); }
.timeline-item {
  position: relative;
  padding-bottom: 40px;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.timeline-item.in { opacity: 1; transform: translateY(0); }
.timeline-item::before {
  content: ''; position: absolute; left: -36px; top: 8px;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--white);
  border: 3px solid var(--accent-500);
  box-shadow: 0 0 0 4px var(--accent-100);
  transition: transform .4s var(--ease-out);
}
.timeline-item.in::before { transform: scale(1.1); }
.timeline-item h4 { font-family: 'Montserrat', sans-serif; font-size: 18px; margin-bottom: 8px; color: var(--ink-900); font-weight: 700; }
.timeline-item p { font-size: 14.5px; color: var(--ink-500); line-height: 1.7; font-weight: 400; }

/* === MARQUEE === */
.marquee { overflow: hidden; padding: 32px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.marquee-track { display: flex; gap: 64px; animation: scroll 30s linear infinite; width: max-content; }
@keyframes scroll { to { transform: translateX(-50%); } }
.marquee-item { display: flex; align-items: center; gap: 12px; font-family: 'Montserrat', sans-serif; font-size: 22px; font-weight: 600; color: var(--ink-900); white-space: nowrap; letter-spacing: -0.01em; }
.marquee-item .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent-500); }
.marquee-item em { font-style: italic; color: var(--accent-600); font-weight: 600; }

/* === VIDEO BLOCK === */
.video-block {
  position: relative;
  border-radius: var(--r-2xl);
  overflow: hidden;
  aspect-ratio: 16/9;
  background: var(--navy-950);
  max-width: 1100px;
  margin: 0 auto;
  box-shadow:
    0 0 0 4px rgba(246,147,9,.10),
    0 0 0 12px rgba(246,147,9,.04),
    0 24px 64px rgba(246,147,9,.22),
    0 40px 96px rgba(14,19,54,.28);
  transition: box-shadow var(--t);
}
.video-block:hover {
  box-shadow:
    0 0 0 4px rgba(246,147,9,.18),
    0 0 0 14px rgba(246,147,9,.08),
    0 32px 88px rgba(246,147,9,.30),
    0 48px 112px rgba(14,19,54,.30);
}
.video-block wistia-player { width: 100%; height: 100%; display: block; }
/* Make sure the play button isn't blocked */
.video-block * { pointer-events: auto; }
.video-wrap { position: relative; padding: 16px; }

/* === REVEAL === */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out); }
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal-stagger > * { opacity: 0; transform: translateY(20px); transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out); }
.reveal-stagger.in > *:nth-child(1) { opacity: 1; transform: none; transition-delay: 0s; }
.reveal-stagger.in > *:nth-child(2) { opacity: 1; transform: none; transition-delay: 0.08s; }
.reveal-stagger.in > *:nth-child(3) { opacity: 1; transform: none; transition-delay: 0.16s; }
.reveal-stagger.in > *:nth-child(4) { opacity: 1; transform: none; transition-delay: 0.24s; }
.reveal-stagger.in > *:nth-child(5) { opacity: 1; transform: none; transition-delay: 0.32s; }
.reveal-stagger.in > *:nth-child(6) { opacity: 1; transform: none; transition-delay: 0.40s; }
.reveal-stagger.in > *:nth-child(7) { opacity: 1; transform: none; transition-delay: 0.48s; }
.reveal-stagger.in > *:nth-child(8) { opacity: 1; transform: none; transition-delay: 0.56s; }

.parallax { will-change: transform; }

/* === UTILITIES === */
.flex { display: flex; }
.col { flex-direction: column; }
.center { align-items: center; justify-content: center; }
.between { justify-content: space-between; }
.gap-2 { gap: 8px; } .gap-3 { gap: 12px; } .gap-4 { gap: 16px; } .gap-6 { gap: 24px; } .gap-8 { gap: 32px; }
.tcenter { text-align: center; }
.mt-2 { margin-top: 8px; } .mt-4 { margin-top: 16px; } .mt-6 { margin-top: 24px; } .mt-8 { margin-top: 32px; } .mt-12 { margin-top: 48px; }
.mb-2 { margin-bottom: 8px; } .mb-4 { margin-bottom: 16px; } .mb-6 { margin-bottom: 24px; } .mb-8 { margin-bottom: 32px; } .mb-12 { margin-bottom: 48px; }
.mx-auto { margin-left: auto; margin-right: auto; }
.w-full { width: 100%; }

/* === RESPONSIVE === */
@media (max-width: 1100px) {
  .split { grid-template-columns: 1fr; gap: 56px; }
  .split.reverse > div:first-child { order: 0; }
  .split-img-stack { min-height: 480px; }
  .testimonials { grid-template-columns: 1fr; gap: 32px; }
  .svc-detail-grid { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .page-hero-with-image { grid-template-columns: 1fr; gap: 32px; padding: 110px 0 56px; }
  .page-hero .page-hero-with-image { padding: 0; }
  .page-hero-img { aspect-ratio: 16/10; max-height: 360px; }
  .page-hero-with-image > div:first-child { padding-right: 0; }
  .blog-feature { grid-column: span 1; }
  .blog-feature h3 { font-size: 19px; }
  .hero-floating-card { display: none; }
  .hero-bg { background-image: url('../images/header-principal.jpg'); }
}

@media (max-width: 880px) {
  section { padding: 72px 0; }
  .nav-menu, .nav-cta-group { display: none; }
  .nav-toggle { display: flex; }
  .svc-grid { grid-template-columns: 1fr; }
  .svc-card, .svc-card.feature { grid-column: span 1; }
  .team-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .results-grid { grid-template-columns: 1fr 1fr; }
  .blog-grid { grid-template-columns: 1fr 1fr; }
  .stats-bar { grid-template-columns: 1fr 1fr; }
  .stats-bar > div { border-right: none; border-bottom: 1px solid var(--line); }
  .stats-bar > div:nth-child(2n) { border-right: none; }
  .stats-bar > div:nth-last-child(-n+2) { border-bottom: none; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 16px; }
  .cta-block { padding: 56px 28px; }
  .testimonial-feature { padding: 40px 28px; }
  .hero-trust { gap: 24px; }
  .hero-trust-item .num { font-size: 28px; }
  .input-row { grid-template-columns: 1fr; }
  .author-card { flex-direction: column; text-align: center; }
  .hero-bg { background-image: url('../images/header-principal-mobile.jpg'); background-position: center 25%; }
  .hero-bg::after {
    background:
      linear-gradient(180deg, rgba(14,19,54,.85) 0%, rgba(14,19,54,.92) 60%, rgba(14,19,54,.96) 100%),
      radial-gradient(ellipse at 100% 50%, rgba(246,147,9,.15), transparent 60%);
  }
  .hero h1 { font-size: 38px; }
}

@media (max-width: 560px) {
  .results-grid, .blog-grid, .team-grid { grid-template-columns: 1fr; }
  .hero-trust { grid-template-columns: 1fr; gap: 16px; }
  .stats-bar { grid-template-columns: 1fr; }
  .stats-bar > div { border-right: none; }
  .hero { padding: 120px 0 60px; }
  .hero h1 { font-size: 32px; line-height: 1.1; }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { width: 100%; }
}
