@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap");

:root {
  --background: #fffdf9;
  --foreground: #263e3f;
  --heading: #245657;
  --header-foreground: #23666b;
  --primary: #337d7d;
  --primary-foreground: #fffdf9;
  --hero-cta: #337d7d;
  --accent: #c3a15a;
  --gold: #c3a15a;
  --blush: #e4bcbc;
  --logo-ivory: #fbf5ec;
  --section-soft: #f7e8e2;
  --section-default: var(--background);
  --section-primary-tint: color-mix(in srgb, var(--primary) 5%, var(--background));
  --section-experiences: color-mix(in srgb, var(--muted) 30%, var(--background));
  --muted: #f0e4d7;
  --muted-foreground: #657170;
  --card: #fffaf2;
  --border: #e1d7c6;
  --shadow: 0 14px 34px rgb(51 88 87 / .12), 0 4px 10px rgb(51 88 87 / .06);
  --radius-card: 14px;
  --radius-control: 8px;
  --radius-hero-action: 999px;
  --container: 1216px;
  color-scheme: light;
}

[data-theme="dark"] {
  --background: #18302f;
  --foreground: #f8f2e8;
  --heading: #f5e9d5;
  --header-foreground: #23666b;
  --primary: #82c4c1;
  --primary-foreground: #163331;
  --hero-cta: #82c4c1;
  --accent: #d1b06a;
  --gold: #d1b06a;
  --blush: #b98082;
  --logo-ivory: #fbf5ec;
  --section-soft: #243f3d;
  --section-default: var(--background);
  --section-primary-tint: color-mix(in srgb, var(--primary) 5%, var(--background));
  --section-experiences: color-mix(in srgb, var(--muted) 30%, var(--background));
  --muted: #294442;
  --muted-foreground: #c8d1cd;
  --card: #203a38;
  --border: #48605c;
  --shadow: 0 14px 34px rgb(7 20 19 / .28);
  color-scheme: dark;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--background);
  color: var(--foreground);
  font: 400 16px/1.5 Inter, sans-serif;
  text-rendering: optimizeLegibility;
}

body.is-locked {
  overflow: hidden;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  color: inherit;
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--primary) 55%, white);
  outline-offset: 3px;
}

h1,
h2,
h3,
h4,
p {
  margin-top: 0;
}

h1,
h2,
h3,
h4 {
  color: var(--heading);
  line-height: 1.15;
}

.skip-link {
  position: fixed;
  z-index: 200;
  top: 10px;
  left: 10px;
  padding: 10px 14px;
  transform: translateY(-160%);
  border-radius: var(--radius-control);
  background: var(--primary);
  color: var(--primary-foreground);
}

.skip-link:focus {
  transform: translateY(0);
}

.container {
  width: min(var(--container), calc(100% - 40px));
  margin-inline: auto;
}

.narrow {
  width: min(780px, calc(100% - 40px));
  margin-inline: auto;
}

.site-section {
  --section-color: var(--section-default);
  padding-block: 64px;
  background: var(--section-color);
}

.site-section--large {
  padding-block: 80px;
}

.site-section--sage {
  --section-color: var(--section-soft);
}

.site-section--primary-tint {
  --section-color: var(--section-primary-tint);
}

[data-theme="light"] .site-section {
  background: linear-gradient(
    to bottom,
    var(--section-from, var(--section-color)) 0,
    var(--section-color) 40px
  );
}

[data-theme="dark"] .site-section {
  background: var(--section-color);
}

[data-theme="light"] .hero + .site-section {
  --section-from: var(--section-default);
}

[data-theme="light"] .site-section--sage + .experiences-section {
  --section-from: var(--section-soft);
}

[data-theme="light"] .experiences-section + .site-section--primary-tint {
  --section-from: var(--section-experiences);
}

[data-theme="light"] .site-section--primary-tint + .site-section {
  --section-from: var(--section-primary-tint);
}

[data-theme="light"] .site-section:not(.site-section--sage) + .site-section--sage {
  --section-from: var(--section-default);
}

.section-heading {
  position: relative;
  max-width: 800px;
  margin: 0 auto 40px;
  padding-bottom: 18px;
  text-align: center;
}

.section-heading::after {
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 84px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  content: "";
  transform: translateX(-50%);
}

.section-heading h2 {
  margin-bottom: 12px;
  font-size: clamp(30px, 3.1vw, 44px);
  letter-spacing: -.025em;
}

.section-heading p,
.lede,
.muted {
  color: var(--muted-foreground);
}

.eyebrow {
  margin-bottom: 10px;
  color: color-mix(in srgb, var(--gold) 86%, var(--heading));
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.surface {
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  background: var(--card);
}

.grid {
  display: grid;
  gap: 24px;
}

.grid--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid--4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.stack {
  display: grid;
  gap: 18px;
}

.cluster {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 8px 16px;
  border: 1px solid rgb(0 0 0 / .1);
  border-radius: var(--radius-control);
  background: transparent;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  transition: transform .18s ease, opacity .18s ease, background-color .18s ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button--primary {
  border-color: var(--primary);
  background: var(--primary);
  color: var(--primary-foreground);
}

.button--assessment {
  border-color: var(--primary);
  background: var(--hero-cta);
  color: var(--primary-foreground);
  box-shadow: var(--shadow);
}

.button--outline {
  border-color: color-mix(in srgb, var(--primary) 45%, transparent);
  color: var(--primary);
}

.button--whatsapp,
.site-nav__whatsapp {
  border-color: color-mix(in srgb, var(--primary) 70%, var(--gold));
  background: color-mix(in srgb, var(--primary) 10%, var(--background));
  color: var(--primary);
}

.button--whatsapp:hover,
.site-nav__whatsapp:hover,
.whatsapp-action:hover {
  background: var(--primary);
  color: var(--primary-foreground);
  box-shadow: 0 14px 34px color-mix(in srgb, var(--primary) 24%, transparent);
}

.button:focus-visible,
.site-nav__whatsapp:focus-visible,
.whatsapp-action:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--gold) 70%, white);
  outline-offset: 3px;
}

.button--hero {
  min-height: 61px;
  padding: 16px 28px;
  border-radius: var(--radius-hero-action);
  font-size: 18px;
}

.pill {
  display: inline-flex;
  min-height: 37px;
  align-items: center;
  padding: 8px 16px;
  border: 1px solid color-mix(in srgb, var(--primary) 40%, transparent);
  border-radius: 999px;
  background: color-mix(in srgb, var(--background) 80%, transparent);
  backdrop-filter: blur(10px);
  font-size: 14px;
}

.site-nav {
  position: sticky;
  z-index: 90;
  top: 0;
  height: 72px;
  border-bottom: 1px solid color-mix(in srgb, var(--gold) 38%, var(--border));
  background: color-mix(in srgb, var(--logo-ivory) 88%, transparent);
  backdrop-filter: blur(16px);
}

.site-nav__inner {
  display: flex;
  height: 72px;
  align-items: center;
  gap: 10px;
}

.site-nav__actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.site-brand {
  display: flex;
  min-width: max-content;
  align-items: center;
  gap: 12px;
  margin-right: auto;
  color: var(--header-foreground);
  font-size: 20px;
  font-weight: 700;
}

.site-brand img {
  width: 52px;
  height: 40px;
  border-radius: 0;
  background: transparent;
  object-fit: contain;
}

.site-nav__whatsapp {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  padding: 7px 13px;
  border: 1px solid color-mix(in srgb, var(--primary) 70%, var(--gold));
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  transition: transform .18s ease, background-color .18s ease, box-shadow .18s ease;
}

.site-nav__whatsapp:hover {
  transform: translateY(-1px);
}

.theme-toggle {
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}

.hero {
  position: relative;
  min-height: 720px;
  display: grid;
  overflow: hidden;
  place-items: center;
  text-align: center;
  background: linear-gradient(rgb(250 250 250 / .08), rgb(250 250 250 / .08));
}

.hero__content {
  position: relative;
  z-index: 1;
}

.hero h1 {
  margin: 0 0 12px;
  font-size: clamp(44px, 5vw, 72px);
  font-weight: 700;
  letter-spacing: -.045em;
  line-height: 1;
}

.hero__credentials {
  max-width: 1120px;
  margin-inline: auto;
  margin-bottom: 5px;
  color: var(--primary);
  font-size: clamp(19px, 1.7vw, 26px);
  font-weight: 700;
}

.hero__registration {
  color: var(--muted-foreground);
  font-size: 12px;
}

.hero__copy {
  max-width: 820px;
  margin: 20px auto 0;
  font-size: clamp(17px, 1.4vw, 21px);
}

.hero__proof,
.hero__conditions,
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.hero__proof {
  margin-top: 28px;
}

.hero__conditions {
  margin-top: 10px;
}

.hero__actions {
  margin-top: 24px;
}

.hero__prompt {
  margin: 22px 0 0;
  font-size: 14px;
  font-weight: 700;
}

.hero__phone {
  display: inline-block;
  margin-top: 16px;
  color: var(--muted-foreground);
  font-size: 14px;
}

.hero__areas {
  margin: 7px 0 0;
  color: var(--muted-foreground);
  font-size: 12px;
}

.page-hero {
  padding: 84px 0 70px;
  background:
    radial-gradient(circle at 80% 0%, color-mix(in srgb, var(--muted) 65%, transparent), transparent 42%),
    var(--background);
}

.page-hero h1 {
  max-width: 900px;
  margin-bottom: 16px;
  font-size: clamp(42px, 5vw, 68px);
  letter-spacing: -.04em;
}

.page-hero__summary {
  max-width: 720px;
  color: var(--muted-foreground);
  font-size: 19px;
}

.process-card,
.article-card,
.testimonial,
.info-card {
  overflow: hidden;
}

.process-card__body,
.article-card__body,
.testimonial__body,
.info-card__body {
  padding: 28px;
}

.process-card__number {
  display: grid;
  width: 44px;
  height: 44px;
  margin-bottom: 28px;
  place-items: center;
  border-radius: 50%;
  background: var(--primary);
  color: var(--primary-foreground);
  font-weight: 700;
}

.protocol {
  padding: 30px;
}

.protocol-stack {
  display: grid;
  gap: 28px;
}

.protocol__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}

.protocol__top h3 {
  margin: 16px 0 8px;
  font-size: clamp(27px, 3vw, 38px);
}

.payment-note {
  margin: 16px 0 0;
  color: var(--muted-foreground);
  font-size: 13px;
}

.protocol__details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 30px;
  margin-block: 26px;
  padding-block: 24px;
  border-block: 1px solid var(--border);
}

.protocol__duration,
.badge {
  display: inline-flex;
  padding: 6px 10px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--muted) 55%, transparent);
  color: var(--primary);
  font-size: 12px;
  font-weight: 700;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.price-tier {
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: 9px;
}

.price-tier--popular {
  border-color: color-mix(in srgb, var(--primary) 45%, var(--border));
  background: color-mix(in srgb, var(--primary) 5%, transparent);
}

.check-list {
  display: grid;
  gap: 9px;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 26px;
}

.check-list li::before {
  position: absolute;
  left: 0;
  color: var(--primary);
  content: "✓";
  font-weight: 700;
}

.bio-layout {
  display: grid;
  grid-template-columns: minmax(300px, .8fr) 1.2fr;
  align-items: start;
  gap: 56px;
}

.bio-layout--text-only {
  grid-template-columns: minmax(0, 820px);
  justify-content: center;
}

.bio-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2px 28px;
  margin-block: 24px;
}

.bio-facts h3 {
  margin-bottom: 6px;
  font-size: 15px;
}

.bio-facts p {
  color: var(--muted-foreground);
  font-size: 14px;
}

.achievement-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.achievement-strip > * {
  padding: 7px 10px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--muted) 46%, transparent);
  font-size: 12px;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  background: var(--border);
}

.stat {
  padding: 18px;
  background: var(--card);
  text-align: center;
}

.stat strong {
  display: block;
  color: var(--primary);
  font-size: 26px;
}

.quote {
  margin: 24px 0;
  padding: 20px;
  border-left: 4px solid var(--primary);
  background: color-mix(in srgb, var(--primary) 5%, transparent);
}

.testimonial {
  min-height: 100%;
}

.stars {
  color: #f5b800;
  letter-spacing: 2px;
}

.faq-layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 36px;
}

.faq-categories {
  position: sticky;
  top: 90px;
  align-self: start;
}

.faq-categories a {
  display: flex;
  min-height: 48px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
}

.faq-categories a:last-child {
  border-bottom: 0;
}

.faq-categories strong {
  display: grid;
  width: 26px;
  height: 26px;
  place-items: center;
  border-radius: 50%;
  background: var(--muted);
  color: var(--primary);
  font-size: 12px;
}

.faq-groups {
  display: grid;
  gap: 36px;
}

.faq-group {
  scroll-margin-top: 90px;
}

.faq-group h3 {
  margin-bottom: 12px;
  font-size: 22px;
}

.faq-group h3 span {
  color: var(--muted-foreground);
  font-size: 12px;
  font-weight: 500;
}

.accordion {
  border-top: 1px solid var(--border);
}

.accordion__trigger {
  display: flex;
  width: 100%;
  min-height: 64px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 4px;
  border: 0;
  border-bottom: 1px solid var(--border);
  background: transparent;
  cursor: pointer;
  text-align: left;
  font-weight: 600;
}

.accordion__panel {
  padding: 20px 4px 24px;
  color: var(--muted-foreground);
}

.accordion__panel[hidden] {
  display: none;
}

.section-action {
  margin: 32px 0 0;
  text-align: center;
}

.instagram-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.instagram-heading {
  margin-bottom: 30px;
}

.instagram-heading--compact {
  margin-bottom: 0;
}

.instagram-heading h2 {
  margin-bottom: 10px;
  font-size: clamp(30px, 3.5vw, 46px);
}

.article-meta,
.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  color: var(--muted-foreground);
  font-size: 13px;
}

.article-body {
  width: min(760px, calc(100% - 40px));
  margin-inline: auto;
}

.article-body h2 {
  margin-top: 44px;
  font-size: 30px;
}

.article-body p,
.article-body li {
  color: color-mix(in srgb, var(--foreground) 82%, var(--muted-foreground));
  line-height: 1.8;
}

.form-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  align-items: start;
  gap: 40px;
}

.form-card {
  padding: 32px;
}

.field {
  display: grid;
  gap: 7px;
}

.field label,
.field legend {
  font-size: 14px;
  font-weight: 600;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: 11px 13px;
  border: 1px solid var(--border);
  border-radius: var(--radius-control);
  background: var(--background);
}

.field textarea {
  min-height: 130px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: color-mix(in srgb, var(--primary) 70%, white);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--primary) 12%, transparent);
  outline: 0;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.form-status {
  min-height: 24px;
  color: var(--primary);
  font-weight: 600;
}

.booking-section {
  scroll-margin-top: 92px;
}

.booking-section__inner {
  width: min(820px, calc(100% - 40px));
}

.booking-section .form-card {
  display: grid;
  gap: 18px;
}

.booking-section .button[type="submit"] {
  width: 100%;
}

.consent-row {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-control);
  background: color-mix(in srgb, var(--primary) 4%, var(--background));
  cursor: pointer;
}

.consent-row input {
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  accent-color: var(--primary);
}

.booking-aside__action {
  display: grid;
  gap: 12px;
  padding-block: 6px;
}

.booking-aside__action .button {
  width: 100%;
}

[data-whatsapp-fallback][hidden] {
  display: none;
}

.site-footer {
  border-top: 1px solid var(--border);
  background: color-mix(in srgb, var(--primary) 6%, var(--background));
}

.site-footer__minimal {
  display: grid;
  max-width: 760px;
  gap: 10px;
  padding-block: 40px;
  text-align: center;
}

.site-footer__main {
  display: grid;
  grid-template-columns: 1.35fr .8fr .8fr 1fr;
  gap: 36px;
  padding-block: 60px;
}

.site-footer h3,
.site-footer h4 {
  margin-bottom: 14px;
}

.site-footer__links {
  display: grid;
  gap: 8px;
  color: var(--muted-foreground);
  font-size: 14px;
}

.site-footer__legal {
  padding: 22px 0 32px;
  border-top: 1px solid var(--border);
  color: var(--muted-foreground);
  font-size: 12px;
}

@media (max-width: 1180px) {
  .site-footer__main {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .grid--3,
  .grid--4,
  .pricing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .bio-layout,
  .faq-layout,
  .form-layout {
    grid-template-columns: 1fr;
  }

  .faq-categories {
    position: static;
  }

  .stat-grid {
    grid-template-columns: repeat(2, 1fr);
  }

}

@media (max-width: 640px) {
  .site-nav__whatsapp,
  .site-nav__account {
    display: none;
  }

  .container,
  .narrow,
  .article-body {
    width: min(100% - 28px, var(--container));
  }

  .site-section,
  .site-section--large {
    padding-block: 48px;
  }

  .site-brand {
    gap: 9px;
    font-size: 16px;
  }

  .site-brand img {
    width: 45px;
    height: 35px;
  }

  .hero {
    min-height: calc(100svh - 72px);
    padding-block: 44px;
  }

  .hero h1 {
    font-size: clamp(42px, 13vw, 58px);
  }

  .hero__proof {
    gap: 6px;
  }

  .hero__actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button--hero {
    width: 100%;
  }

  .grid--2,
  .grid--3,
  .grid--4,
  .pricing-grid,
  .form-grid,
  .site-footer__main {
    grid-template-columns: 1fr;
  }

  .protocol,
  .form-card {
    padding: 22px;
  }

  .protocol__top,
  .instagram-heading {
    align-items: stretch;
    flex-direction: column;
  }

  .protocol__details,
  .bio-facts {
    grid-template-columns: 1fr;
  }

}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

/* Fidelity and motion pass */
.site-nav {
  transition:
    background-color .2s ease,
    border-color .2s ease,
    color .2s ease,
    opacity .2s ease,
    transform .2s ease,
    box-shadow .2s ease;
}

.site-nav.is-scrolled {
  box-shadow: 0 8px 24px rgb(17 24 39 / .07);
}

.hero {
  min-height: 632px;
  isolation: isolate;
  background: var(--background);
}

.hero::before,
.hero::after {
  position: absolute;
  z-index: -2;
  width: 66vw;
  height: 66vw;
  border-radius: 42% 58% 63% 37% / 48% 36% 64% 52%;
  content: "";
  filter: blur(2px);
  opacity: .44;
  pointer-events: none;
  transform: translate3d(var(--hero-shift-x, 0), var(--hero-shift-y, 0), 0);
  transition: transform .12s linear;
}

.hero::before {
  top: -47vw;
  left: -17vw;
  background:
    repeating-radial-gradient(circle at 70% 78%, transparent 0 17px, color-mix(in srgb, var(--primary) 10%, transparent) 18px 19px),
    radial-gradient(circle at 70% 75%, color-mix(in srgb, var(--logo-ivory) 76%, var(--blush)), transparent 62%);
  animation: hero-drift-a 14s ease-in-out infinite alternate;
}

.hero::after {
  right: -27vw;
  bottom: -51vw;
  background:
    repeating-radial-gradient(circle at 34% 28%, transparent 0 19px, color-mix(in srgb, var(--gold) 10%, transparent) 20px 21px),
    radial-gradient(circle at 30% 25%, color-mix(in srgb, var(--logo-ivory) 82%, var(--gold)), transparent 62%);
  animation: hero-drift-b 18s ease-in-out infinite alternate;
}

@keyframes hero-drift-a {
  to { rotate: 4deg; scale: 1.04; translate: 2.5vw 1.2vw; }
}

@keyframes hero-drift-b {
  to { rotate: -5deg; scale: 1.05; translate: -2vw -1vw; }
}

.hero__content > * {
  opacity: 0;
  transform: translateY(18px);
  animation: hero-enter .62s cubic-bezier(.22, 1, .36, 1) forwards;
}

.hero__content > :nth-child(2) { animation-delay: .07s; }
.hero__content > :nth-child(3) { animation-delay: .14s; }
.hero__content > :nth-child(4) { animation-delay: .19s; }
.hero__content > :nth-child(5) { animation-delay: .24s; }
.hero__content > :nth-child(6) { animation-delay: .3s; }
.hero__content > :nth-child(7) { animation-delay: .36s; }
.hero__content > :nth-child(8) { animation-delay: .42s; }
.hero__content > :nth-child(9) { animation-delay: .47s; }
.hero__content > :nth-child(10) { animation-delay: .52s; }

@keyframes hero-enter {
  to { opacity: 1; transform: translateY(0); }
}

[data-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity .56s cubic-bezier(.22, 1, .36, 1),
    transform .56s cubic-bezier(.22, 1, .36, 1);
  transition-delay: var(--reveal-delay, 0ms);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

.surface,
.process-card,
.article-card,
.testimonial,
.price-tier {
  transition:
    transform .25s ease,
    box-shadow .25s ease,
    border-color .25s ease,
    background-color .25s ease;
}

.process-card:hover,
.article-card:hover,
.testimonial:hover,
.price-tier:hover {
  border-color: color-mix(in srgb, var(--primary) 42%, var(--border));
  box-shadow: 0 16px 32px rgb(17 24 39 / .1);
  transform: translateY(-4px);
}

.protocol-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 18px;
}

.protocol-tab {
  display: grid;
  gap: 3px;
  padding: 17px 18px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: color-mix(in srgb, var(--card) 65%, transparent);
  cursor: pointer;
  text-align: left;
  transition: all .2s ease;
}

.protocol-tab span {
  font-size: 16px;
  font-weight: 700;
}

.protocol-tab small {
  color: var(--muted-foreground);
}

.protocol-tab:hover {
  border-color: color-mix(in srgb, var(--primary) 55%, var(--border));
}

.protocol-tab[aria-selected="true"] {
  border-color: var(--primary);
  background: color-mix(in srgb, var(--primary) 7%, var(--background));
  box-shadow: 0 8px 20px color-mix(in srgb, var(--primary) 12%, transparent);
}

.protocol-stack {
  min-height: 770px;
}

main > .site-section[aria-labelledby="protocols-title"] {
  min-height: 1364px;
}

.protocol {
  animation: protocol-enter .35s cubic-bezier(.22, 1, .36, 1);
}

.protocol[hidden] {
  display: none;
}

@keyframes protocol-enter {
  from { opacity: 0; transform: translateY(12px); }
}

.bio-layout h2 {
  font-size: clamp(38px, 3.35vw, 48px);
}

.experiences-section {
  --section-color: var(--section-experiences);
  padding-bottom: 0;
}

.experiences-section + .site-section--primary-tint {
  padding-top: 20px;
}

.experience-summary {
  display: grid;
  grid-template-columns: 270px 1fr;
  align-items: center;
  gap: 32px;
  margin-bottom: 44px;
  padding: 26px;
}

.experience-summary h3,
.review-toolbar h3 {
  margin-bottom: 5px;
  font-size: 18px;
}

.experience-themes {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.experience-themes span,
.review-filter {
  padding: 8px 13px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--background);
  font-size: 13px;
}

.review-toolbar {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 22px;
}

.review-filters,
.carousel-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.review-filter {
  cursor: pointer;
  transition: all .18s ease;
}

.review-filter[aria-pressed="true"] {
  border-color: var(--primary);
  background: var(--primary);
  color: var(--primary-foreground);
}

.carousel-controls {
  align-items: center;
}

.carousel-controls button {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: var(--background);
  cursor: pointer;
  transition: all .2s ease;
}

.carousel-controls button:hover {
  border-color: var(--primary);
  background: var(--primary);
  color: var(--primary-foreground);
  transform: scale(1.06);
}

.review-carousel {
  overflow: hidden;
  margin-inline: -8px;
  padding: 8px;
}

.review-track {
  display: flex;
  gap: 24px;
  transition: transform .42s cubic-bezier(.22, 1, .36, 1);
}

.review-track .testimonial {
  flex: 0 0 calc((100% - 48px) / 3);
  min-height: 330px;
}

.testimonial blockquote {
  margin: 26px 0 42px;
  font-size: 18px;
  line-height: 1.65;
}

.testimonial[data-filtered="true"] {
  display: none;
}

.accordion__trigger span {
  display: inline-grid;
  flex: 0 0 24px;
  place-items: center;
  transition: transform .2s ease;
}

.accordion__trigger[aria-expanded="true"] span {
  transform: rotate(45deg);
}

.accordion__panel {
  display: block;
  max-height: 220px;
  overflow: hidden;
  opacity: 1;
  transition:
    max-height .2s ease,
    opacity .2s ease,
    padding .2s ease;
}

.accordion__panel[hidden] {
  display: block;
  max-height: 0;
  padding-block: 0;
  opacity: 0;
}

.article-card {
  max-height: 410px;
}

.article-card__body {
  padding: 20px;
}

.whatsapp-action {
  position: fixed;
  z-index: 88;
  right: 24px;
  bottom: 91px;
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  gap: 9px;
  padding: 12px 16px;
  border-radius: 999px;
  background: var(--primary);
  color: var(--primary-foreground);
  box-shadow: var(--shadow);
  font-size: 14px;
  font-weight: 700;
  transition: transform .2s ease, box-shadow .2s ease;
}

.whatsapp-action:hover {
  box-shadow: 0 16px 35px rgb(0 0 0 / .25);
  transform: translateY(-3px) scale(1.02);
}

@media (max-width: 860px) {
  .protocol-tabs {
    grid-template-columns: 1fr;
  }

  .protocol-stack {
    min-height: 0;
  }

  .experience-summary {
    grid-template-columns: 1fr;
  }

  .review-track .testimonial {
    flex-basis: calc((100% - 24px) / 2);
  }

}

@media (max-width: 640px) {
  .hero {
    min-height: calc(100svh - 65px);
  }

  .experiences-section {
    min-height: 0;
  }

  main > .site-section[aria-labelledby="protocols-title"],
  .site-footer {
    min-height: 0;
  }

  .review-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .review-track .testimonial {
    flex-basis: 100%;
  }

  .whatsapp-action {
    right: 16px;
    bottom: 82px;
    width: 52px;
    padding: 12px;
    justify-content: center;
  }

  .whatsapp-action span {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero::before,
  .hero::after,
  .hero__content > * {
    animation: none !important;
  }

  .hero__content > *,
  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
