/* =========================================================
   Dr. Mauricio Guízar Vílchis — Premium Medical Practice
   ========================================================= */

/* ---------- 1. Design tokens ---------- */
:root {
  /* Brand */
  --navy-900: #0A2540;
  --navy-800: #122F4E;
  --navy-700: #163A5F;
  --navy-500: #1B4F7A;
  --navy-300: #6C8AAA;

  --teal-700: #1F8E99;
  --teal-500: #2BB5C0;
  --teal-300: #7FD3DA;
  --teal-100: #C9EBEE;
  --teal-50:  #E0F4F6;

  --cream:    #FAFAF8;
  --white:    #FFFFFF;
  --ink:      #1A2238;
  --muted:    #6B7280;
  --line:     #E5E9EF;
  --shadow-sm: 0 1px 2px rgba(10, 37, 64, 0.06), 0 1px 3px rgba(10, 37, 64, 0.05);
  --shadow-md: 0 6px 16px rgba(10, 37, 64, 0.08), 0 2px 4px rgba(10, 37, 64, 0.05);
  --shadow-lg: 0 24px 48px rgba(10, 37, 64, 0.14), 0 8px 16px rgba(10, 37, 64, 0.06);
  --shadow-xl: 0 40px 80px rgba(10, 37, 64, 0.18), 0 12px 24px rgba(10, 37, 64, 0.08);

  /* Type */
  --font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-script: 'Great Vibes', 'Lucida Handwriting', cursive;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Layout */
  --container: 1200px;
  --gutter: clamp(1.25rem, 3vw, 2rem);
  --radius-sm: 8px;
  --radius:    14px;
  --radius-lg: 22px;
  --radius-xl: 30px;

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --t-fast: 180ms;
  --t-med:  320ms;
  --t-slow: 600ms;
}

/* ---------- 2. Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; transition: color var(--t-fast) var(--ease); }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
ul, ol { padding: 0; margin: 0; list-style: none; }
h1, h2, h3, h4, h5 { margin: 0; font-family: var(--font-display); font-weight: 600; line-height: 1.18; color: var(--navy-900); letter-spacing: -0.01em; }
p { margin: 0; }

::selection { background: var(--teal-300); color: var(--navy-900); }

/* Focus */
:focus-visible {
  outline: 2px solid var(--teal-500);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- 3. Layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-inline: var(--gutter);
}

.section { padding: clamp(4rem, 8vw, 7rem) 0; }
.section--alt { background: var(--white); }
.section--contact {
  background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-700) 50%, var(--navy-500) 100%);
  color: rgba(255,255,255,0.92);
  padding-block: clamp(5rem, 9vw, 8rem);
}

.section__head { max-width: 720px; margin: 0 auto 3.5rem; text-align: center; }
.section__title {
  font-size: clamp(1.75rem, 3.6vw, 2.6rem);
  margin: 0.6rem 0 0.75rem;
}
.section__title--light { color: var(--white); }
.section__lede {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 60ch;
  margin: 0 auto;
}

/* ---------- 4. Eyebrow ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--teal-300);
}
.eyebrow--dark { color: var(--teal-700); }
.eyebrow__dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--teal-500);
  box-shadow: 0 0 0 4px rgba(43, 181, 192, 0.18);
}

/* ---------- 5. Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.95rem 1.6rem;
  font-weight: 600;
  font-size: 0.97rem;
  letter-spacing: 0.01em;
  border-radius: 999px;
  transition: transform var(--t-fast) var(--ease),
              box-shadow var(--t-fast) var(--ease),
              background var(--t-fast) var(--ease),
              color var(--t-fast) var(--ease);
  white-space: nowrap;
  border: 1px solid transparent;
}
.btn--primary {
  background: linear-gradient(135deg, var(--teal-500), var(--teal-700));
  color: var(--white);
  box-shadow: 0 10px 20px rgba(43, 181, 192, 0.28), 0 2px 6px rgba(43, 181, 192, 0.18);
}
.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 30px rgba(43, 181, 192, 0.36), 0 4px 8px rgba(43, 181, 192, 0.22);
}
.btn--ghost {
  color: var(--navy-900);
  border-color: rgba(10, 37, 64, 0.18);
  background: var(--white);
}
.btn--ghost:hover {
  border-color: var(--navy-900);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.btn--lg { padding: 1.05rem 1.9rem; font-size: 1rem; }
.btn--block { width: 100%; justify-content: center; }

/* ---------- 6. Topbar ---------- */
.topbar {
  background: var(--navy-900);
  color: rgba(255,255,255,0.85);
  font-size: 0.83rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.topbar__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 38px;
  gap: 1rem;
  flex-wrap: wrap;
}
.topbar__tagline {
  font-style: italic;
  color: var(--teal-300);
  letter-spacing: 0.04em;
}
.topbar__right { display: flex; align-items: center; gap: 1.25rem; }
.topbar__contact { display: flex; gap: 1.25rem; }
.topbar__link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: rgba(255,255,255,0.85);
  font-weight: 500;
}
.topbar__link:hover { color: var(--teal-300); }

/* Language toggle */
.lang-toggle {
  display: inline-flex;
  align-items: center;
  padding: 2px;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
}
.lang-toggle__btn {
  font: inherit;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 3px 10px;
  border-radius: 999px;
  color: rgba(255,255,255,0.6);
  cursor: pointer;
  transition: background var(--t-fast) var(--ease), color var(--t-fast) var(--ease);
}
.lang-toggle__btn:hover { color: var(--teal-300); }
.lang-toggle__btn.is-active {
  background: var(--teal-500);
  color: var(--navy-900);
  box-shadow: 0 1px 3px rgba(0,0,0,0.15);
}

/* ---------- 7. Header / Navigation ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.86);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: background var(--t-fast) var(--ease),
              border-color var(--t-fast) var(--ease),
              box-shadow var(--t-fast) var(--ease);
}
.header.is-scrolled {
  background: rgba(255,255,255,0.97);
  border-bottom-color: var(--line);
  box-shadow: var(--shadow-sm);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  gap: 1.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--navy-900);
}
.brand__mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--teal-500), var(--navy-700));
  color: var(--white);
  flex: 0 0 auto;
  box-shadow: 0 8px 16px rgba(10, 37, 64, 0.2);
}
.brand__mark svg { width: 22px; height: 22px; }
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__name {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--navy-900);
}
.brand__name em {
  font-family: var(--font-script);
  font-style: normal;
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--teal-700);
  line-height: 1;
  margin-left: 2px;
}
.brand__title {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
  margin-top: 2px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.nav__link {
  position: relative;
  padding: 0.55rem 0.9rem;
  font-weight: 500;
  font-size: 0.94rem;
  color: var(--navy-700);
  border-radius: 999px;
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0.3rem;
  width: 0;
  height: 2px;
  background: var(--teal-500);
  transition: width var(--t-fast) var(--ease), left var(--t-fast) var(--ease);
}
.nav__link:hover { color: var(--navy-900); }
.nav__link:hover::after,
.nav__link.is-active::after { width: 20px; left: calc(50% - 10px); }
.nav__link--cta {
  background: var(--navy-900);
  color: var(--white) !important;
  padding: 0.7rem 1.15rem;
  margin-left: 0.5rem;
  font-weight: 600;
}
.nav__link--cta::after { display: none; }
.nav__link--cta:hover { background: var(--teal-700); transform: translateY(-1px); }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--white);
  border: 1px solid var(--line);
  align-items: center;
  justify-content: center;
  position: relative;
}
.nav-toggle span {
  position: absolute;
  left: 12px;
  width: 20px;
  height: 2px;
  background: var(--navy-900);
  border-radius: 2px;
  transition: transform var(--t-fast) var(--ease), opacity var(--t-fast) var(--ease), top var(--t-fast) var(--ease);
}
.nav-toggle span:nth-child(1) { top: 15px; }
.nav-toggle span:nth-child(2) { top: 21px; }
.nav-toggle span:nth-child(3) { top: 27px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { top: 21px; transform: rotate(-45deg); }

/* ---------- 8. Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #F3F8FB 0%, var(--cream) 100%);
  padding: clamp(3rem, 6vw, 5.5rem) 0 clamp(4rem, 7vw, 6.5rem);
}
.hero__bg {
  position: absolute; inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.hero__blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.6;
}
.hero__blob--1 {
  width: 540px; height: 540px;
  background: radial-gradient(circle, var(--teal-300), transparent 70%);
  top: -160px; right: -120px;
}
.hero__blob--2 {
  width: 480px; height: 480px;
  background: radial-gradient(circle, #BED7E8, transparent 70%);
  bottom: -180px; left: -140px;
  opacity: 0.5;
}

.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.hero__title {
  font-size: clamp(2.2rem, 4.6vw, 3.4rem);
  margin: 1rem 0 0.5rem;
  line-height: 1.05;
}
.hero__title-pre {
  display: block;
  font-weight: 500;
  color: var(--navy-900);
  letter-spacing: -0.02em;
}
.hero__title-script {
  display: block;
  font-family: var(--font-script);
  font-weight: 400;
  color: var(--teal-700);
  font-size: clamp(3.4rem, 7vw, 5rem);
  line-height: 1;
  margin-top: 0.1em;
  letter-spacing: 0.01em;
}
.hero__subtitle {
  font-size: 0.92rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--navy-700);
  font-weight: 600;
  margin: 1rem 0 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  max-width: 28rem;
}
.hero__lede {
  font-size: 1.08rem;
  color: var(--muted);
  max-width: 32rem;
  margin-bottom: 2rem;
}
.hero__actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}
.hero__chips {
  display: flex;
  flex-wrap: wrap;
  row-gap: 0.6rem;
  column-gap: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}
.hero__chips li {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--navy-700);
  font-weight: 500;
  white-space: nowrap;     /* keep each chip on one line */
  flex: 0 0 auto;          /* don't shrink chips into each other */
  min-width: 0;
}
.hero__chips li > span[aria-hidden="true"] {
  display: grid; place-items: center;
  flex: 0 0 auto;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--teal-50);
  color: var(--teal-700);
  font-size: 0.8rem;
  font-weight: 700;
}
@media (max-width: 420px) {
  .hero__chips { flex-direction: column; row-gap: 0.55rem; }
  .hero__chips li { white-space: normal; }
}

.hero__media { position: relative; }
.hero__photo-frame {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: visible;
  isolation: isolate;
}
.hero__photo-frame::before {
  content: "";
  position: absolute;
  inset: -1.25rem -1.25rem -1.25rem 1.5rem;
  background: linear-gradient(135deg, var(--teal-500), var(--navy-700));
  border-radius: var(--radius-xl);
  z-index: -1;
  opacity: 0.18;
}
.hero__photo-frame img {
  width: 100%;
  max-width: 520px;
  margin-left: auto;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  object-fit: cover;
  aspect-ratio: 4 / 5;
  background: var(--teal-50);
}
.hero__badge {
  position: absolute;
  left: -0.5rem;
  bottom: 1.5rem;
  background: var(--white);
  padding: 0.9rem 1.2rem 0.9rem 1.1rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 180px;
}
.hero__badge-num {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 0.95;
  color: var(--teal-700);
  letter-spacing: -0.03em;
  background: linear-gradient(135deg, var(--teal-500), var(--navy-700));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero__badge-label {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}
.hero__badge-label small {
  font-size: 0.66rem;
  color: var(--muted);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 700;
}
.hero__badge-label em {
  font-style: normal;
  font-size: 0.86rem;
  color: var(--navy-900);
  font-weight: 600;
}

/* ---------- 9. Promises strip ---------- */
.promises {
  background: var(--white);
  border-block: 1px solid var(--line);
}
.promises__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.promise {
  padding: 2.5rem 1.5rem;
  text-align: center;
  border-right: 1px solid var(--line);
}
.promise:last-child { border-right: 0; }
.promise__icon {
  width: 56px; height: 56px;
  margin: 0 auto 1rem;
  display: grid; place-items: center;
  border-radius: 16px;
  background: var(--teal-50);
  color: var(--teal-700);
}
.promise h3 {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy-900);
  margin-bottom: 0.4rem;
}
.promise p {
  color: var(--muted);
  font-size: 0.9rem;
  max-width: 22ch;
  margin: 0 auto;
}

/* ---------- 10. About ---------- */
.about {
  display: grid;
  grid-template-columns: 0.85fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.about__media {
  position: relative;
  max-width: 440px;
}
.about__media img {
  border-radius: var(--radius-lg);
  aspect-ratio: 1 / 1;
  object-fit: cover;
  box-shadow: var(--shadow-lg);
}
.about__media::before {
  content: "";
  position: absolute;
  inset: -1rem -1rem 1rem 1rem;
  border: 2px solid var(--teal-300);
  border-radius: var(--radius-lg);
  z-index: -1;
}
.about__seal {
  position: absolute;
  right: -1.25rem;
  bottom: -1.25rem;
  background: var(--navy-900);
  color: var(--white);
  padding: 1rem 1.25rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  text-align: left;
  min-width: 140px;
}
.about__seal small {
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--teal-300);
  display: block;
  margin-bottom: 4px;
}
.about__seal strong {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.about__copy .section__title { text-align: left; margin: 0.75rem 0 1.25rem; }
.about__copy p {
  color: var(--muted);
  margin-bottom: 1rem;
  font-size: 1.02rem;
}
.about__copy p strong { color: var(--navy-900); font-weight: 600; }
.about__copy p em { color: var(--teal-700); font-style: normal; font-weight: 500; }
.about__stats {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}
.about__stats > div { display: flex; flex-direction: column; gap: 0.25rem; }
.about__stats dt {
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}
.about__stats dd {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--navy-900);
}

/* ---------- 11. Services grid ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.service-card {
  background: var(--white);
  padding: 1.75rem 1.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  transition: transform var(--t-med) var(--ease),
              box-shadow var(--t-med) var(--ease),
              border-color var(--t-med) var(--ease);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--teal-50), transparent);
  opacity: 0;
  transition: opacity var(--t-med) var(--ease);
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--teal-300);
}
.service-card:hover::before { opacity: 1; }
.service-card > * { position: relative; }

.service-card__icon {
  width: 48px; height: 48px;
  display: grid; place-items: center;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--teal-500), var(--teal-700));
  color: var(--white);
  margin-bottom: 1rem;
  box-shadow: 0 8px 16px rgba(43, 181, 192, 0.25);
}
.service-card h3 {
  font-family: var(--font-body);
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--navy-900);
  margin-bottom: 0.5rem;
  line-height: 1.3;
}
.service-card p {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

/* ---------- 12. Lab section ---------- */
.lab__layout {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 2rem;
  align-items: start;
}

.price-list {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--line);
}
.price-list > li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.95rem 1.5rem;
  border-bottom: 1px solid var(--line);
  font-size: 0.97rem;
  color: var(--navy-700);
  gap: 1rem;
  transition: background var(--t-fast) var(--ease);
}
.price-list > li:last-child { border-bottom: 0; }
.price-list > li:hover { background: var(--teal-50); }
.price-list > li > b {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--navy-900);
  white-space: nowrap;
}

.price-list__group {
  display: flex !important;
  flex-direction: column;
  align-items: stretch !important;
  padding: 0.95rem 1.5rem 1.1rem !important;
}
.price-list__group > span {
  font-weight: 600;
  color: var(--navy-900);
  margin-bottom: 0.5rem;
}
.price-list__sub {
  padding-left: 1rem;
  border-left: 2px solid var(--teal-300);
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-top: 0.3rem;
}
.price-list__sub li {
  display: flex;
  justify-content: space-between;
  font-size: 0.92rem;
  color: var(--muted);
}
.price-list__sub b {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--navy-700);
}

.lab__note {
  margin-top: 1.25rem;
  font-size: 0.92rem;
  color: var(--muted);
  text-align: center;
}
.lab__note a {
  color: var(--teal-700);
  font-weight: 600;
  border-bottom: 1px dashed var(--teal-300);
}
.lab__note a:hover { color: var(--navy-900); }

.lab__sidebar { display: flex; flex-direction: column; gap: 1.25rem; position: sticky; top: 100px; }

.card {
  padding: 1.75rem;
  border-radius: var(--radius);
}
.card--accent {
  background: var(--teal-50);
  border: 1px solid var(--teal-100);
}
.card--dark {
  background: linear-gradient(135deg, var(--navy-900), var(--navy-700));
  color: var(--white);
  text-align: center;
}
.card__title {
  font-size: 1.15rem;
  margin-bottom: 1rem;
  font-family: var(--font-display);
}
.card--dark .card__title { color: var(--white); }
.card__pre {
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--teal-300);
  font-weight: 600;
  margin-top: 0.5rem;
}
.card__big {
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 600;
  margin: 0.4rem 0 0.3rem;
  letter-spacing: -0.01em;
}
.card__small {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.7);
  margin-bottom: 1.25rem;
}

.checklist { display: flex; flex-direction: column; gap: 0.75rem; }
.checklist li {
  position: relative;
  padding-left: 1.75rem;
  font-size: 0.95rem;
  color: var(--navy-700);
  line-height: 1.5;
}
.checklist li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.4em;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--teal-500);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>");
  background-size: 11px 11px;
  background-repeat: no-repeat;
  background-position: center;
}

/* ---------- 13. Audience grid ---------- */
.audience-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.audience {
  background: var(--white);
  padding: 2rem 1.5rem;
  border-radius: var(--radius);
  text-align: center;
  border: 1px solid var(--line);
  transition: transform var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease);
}
.audience:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.audience__icon {
  width: 64px; height: 64px;
  margin: 0 auto 1rem;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--teal-50);
  color: var(--teal-700);
  transition: background var(--t-fast) var(--ease), color var(--t-fast) var(--ease);
}
.audience:hover .audience__icon {
  background: var(--teal-500);
  color: var(--white);
}
.audience h3 {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy-900);
  margin-bottom: 0.4rem;
}
.audience p { color: var(--muted); font-size: 0.9rem; }

/* ---------- 14. Schedule ---------- */
.schedule {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  max-width: 880px;
  margin: 0 auto;
}
.schedule__card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
}
.schedule__card--dark {
  background: linear-gradient(135deg, var(--navy-900), var(--navy-700));
  color: rgba(255,255,255,0.92);
  border-color: var(--navy-700);
}
.schedule__head {
  display: flex; align-items: center; gap: 0.85rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
}
.schedule__card--dark .schedule__head { border-bottom-color: rgba(255,255,255,0.12); }
.schedule__icon {
  display: grid; place-items: center;
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--teal-50);
  color: var(--teal-700);
  flex-shrink: 0;
}
.schedule__card--dark .schedule__icon {
  background: rgba(43, 181, 192, 0.18);
  color: var(--teal-300);
}
.schedule__head h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin: 0;
  color: inherit;
}
.schedule__list { display: flex; flex-direction: column; gap: 0.9rem; }
.schedule__list li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  flex-wrap: wrap;
}
.schedule__day {
  font-weight: 500;
  color: inherit;
  opacity: 0.85;
  font-size: 0.95rem;
}
.schedule__hours {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  color: inherit;
}
.schedule__card--dark .schedule__hours { color: var(--teal-300); }
.schedule__note {
  margin-top: 1.25rem;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.65);
  font-style: italic;
}

/* ---------- 15. Contact ---------- */
.contact {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
.contact__copy .section__title { text-align: left; }
.contact__lede {
  margin-bottom: 2rem;
  color: rgba(255,255,255,0.75);
  font-size: 1.05rem;
  max-width: 36rem;
}
.contact__list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 2.25rem;
}
.contact__list li {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.contact__icon {
  flex: 0 0 auto;
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border-radius: 12px;
  background: rgba(43, 181, 192, 0.16);
  color: var(--teal-300);
}
.contact__list strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.25rem;
}
.contact__list a { color: var(--teal-300); }
.contact__list a:hover { color: var(--white); }

.contact__map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  background: var(--navy-700);
  aspect-ratio: 4 / 3;
  border: 1px solid rgba(255,255,255,0.08);
}
.contact__map iframe {
  width: 100%; height: 100%;
  border: 0;
  display: block;
  filter: grayscale(0.1);
}

/* ---------- 16. Footer (DataQub canonical one-liner) ---------- */
.footer {
  background: #051A2E;
  color: rgba(255,255,255,0.7);
  font-size: 0.86rem;
}
.footer__inner {
  padding-block: 1.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
}
.footer__line {
  margin: 0;
  text-align: center;
  line-height: 1.7;
  color: rgba(255,255,255,0.7);
  font-weight: 400;
}
.footer__brand {
  color: var(--teal-300);
  font-weight: 600;
  margin: 0 0.15em;
  transition: color var(--t-fast) var(--ease);
}
.footer__brand:hover { color: var(--white); }
.footer__tag {
  display: inline-block;
  margin-left: 0.6em;
  padding-left: 0.85em;
  border-left: 1px solid rgba(255,255,255,0.18);
  font-family: var(--font-body);
  font-weight: 700;
  letter-spacing: 0.14em;
  font-size: 0.74rem;
  color: var(--teal-300);
  text-transform: uppercase;
}
.footer__tag sup { font-size: 0.6em; letter-spacing: 0; margin-left: 1px; }
@media (max-width: 640px) {
  .footer__line { font-size: 0.8rem; }
  .footer__tag {
    display: block;
    margin: 0.4rem 0 0;
    padding: 0;
    border-left: 0;
  }
}

/* ---------- 17. Floating WhatsApp ---------- */
.fab-whatsapp {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25D366;
  color: var(--white);
  display: grid;
  place-items: center;
  box-shadow: 0 12px 24px rgba(37, 211, 102, 0.4), 0 4px 8px rgba(37, 211, 102, 0.25);
  z-index: 90;
  transition: transform var(--t-fast) var(--ease);
}
.fab-whatsapp:hover { transform: scale(1.06); }
.fab-whatsapp__pulse {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #25D366;
  z-index: -1;
  animation: pulse 2s ease-out infinite;
}
@keyframes pulse {
  0%   { transform: scale(1);    opacity: 0.6; }
  100% { transform: scale(1.6);  opacity: 0; }
}

/* ---------- 18. Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity var(--t-slow) var(--ease), transform var(--t-slow) var(--ease);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* ---------- 19. Responsive ---------- */
@media (max-width: 1024px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__media { order: -1; max-width: 420px; margin: 0 auto; }
  .about { grid-template-columns: 1fr; }
  .about__media { margin: 0 auto; }
  .lab__layout { grid-template-columns: 1fr; }
  .lab__sidebar { position: static; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .audience-grid { grid-template-columns: repeat(2, 1fr); }
  .promises__grid { grid-template-columns: repeat(2, 1fr); }
  .promise { border-right: 0; border-bottom: 1px solid var(--line); }
  .promise:nth-child(odd) { border-right: 1px solid var(--line); }
  .promise:nth-child(n+3) { border-bottom: 0; }
  .contact { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  html { scroll-padding-top: 70px; }
  .topbar__tagline { display: none; }
  .topbar__right { gap: 0.85rem; }
  .topbar__contact { gap: 0.85rem; }
  .topbar__link { font-size: 0.78rem; }

  .nav-toggle { display: flex; }
  .nav {
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--white);
    padding: 1rem 1.25rem 1.5rem;
    border-top: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--t-fast) var(--ease), transform var(--t-fast) var(--ease), visibility 0s linear var(--t-fast);
  }
  .nav.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    transition: opacity var(--t-fast) var(--ease), transform var(--t-fast) var(--ease), visibility 0s;
  }
  .nav__link {
    padding: 0.85rem 0.5rem;
    border-radius: 8px;
    width: 100%;
  }
  .nav__link::after { display: none; }
  .nav__link--cta { margin: 0.5rem 0 0; text-align: center; }

  .schedule { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .audience-grid { grid-template-columns: 1fr 1fr; }
  .promises__grid { grid-template-columns: 1fr 1fr; }
  .about__stats { grid-template-columns: 1fr; gap: 1rem; }
  .footer__inner { grid-template-columns: 1fr; padding-block: 2.5rem 2rem; }
  .footer__sub-inner { justify-content: center; text-align: center; }

  .hero__photo-frame img { max-width: 100%; }
  .hero__badge { left: auto; right: 1rem; }

  .header__inner { min-height: 64px; }
  .brand__title { display: none; }
}

@media (max-width: 480px) {
  .audience-grid { grid-template-columns: 1fr; }
  .promise { padding: 1.75rem 1rem; }
  .hero__actions .btn { flex: 1; justify-content: center; }
  .price-list > li { padding: 0.85rem 1rem; font-size: 0.92rem; }
  .fab-whatsapp { width: 54px; height: 54px; right: 1rem; bottom: 1rem; }
}
