/* ==========================================================================
   OneLife Clinic Landing Page Stylesheet
   ========================================================================== */

/* Design Tokens & Custom Properties */
:root {
  /* Color Palette */
  --granny-smith-lightest: #f2f5f5;
  --granny-smith-lighter: #e5ebec;
  --granny-smith-light: #a5b9bc;
  --granny-smith: #7f9ca0;
  --granny-smith-dark: #657c80;
  --granny-smith-darker: #21453C;
  --granny-smith-darkest: #21453C;
  
  --sisal-lightest: #fbfaf9;
  --sisal-lighter: #f7f5f3;
  --sisal-light: #e5ded7;
  --sisal: #dad0c6;
  --sisal-dark: #aea69e;

  --accent: #3cada9;
  --accent-hover: #329693;
  --text-dark: #0b0a0a;
  --text-light: #ffffff;
  --text-muted: rgba(11, 10, 10, 0.6);
  --border-color: rgba(11, 10, 10, 0.1);
  --border-light: rgba(255, 255, 255, 0.2);

  /* Fonts */
  --font-family: 'Public Sans', sans-serif;
  --font-serif: 'Playfair Display', Georgia, serif;

  /* Spacing */
  --section-padding: clamp(3rem, 6vw, 7rem);
  --container-max-width: 1280px;
  --container-padding: clamp(1.25rem, 5vw, 5rem);
  
  /* Transitions */
  --transition-smooth: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  --transition-fast: all 0.2s ease;
}

/* 1. Resets & Base Styles */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-family);
  background-color: var(--sisal-lightest);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img, video {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-fast);
}

button {
  font-family: inherit;
  border: none;
  background: none;
  cursor: pointer;
  outline: none;
}

ul, ol {
  list-style: none;
}

/* Fluid Typography */
h1 {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 5vw, 3.75rem);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.01em;
}

h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 3.5vw, 2.35rem);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

h3 {
  font-family: var(--font-serif);
  font-size: clamp(1.25rem, 2.6vw, 1.75rem);
  font-weight: 400;
  line-height: 1.3;
}

h4 {
  font-family: var(--font-serif);
  font-size: clamp(1.1rem, 1.8vw, 1.35rem);
  font-weight: 500;
}

p {
  font-size: clamp(0.95rem, 1.05vw, 1.05rem);
  font-weight: 300;
}

/* 2. Global Utility Components */
.badge {
  display: inline-flex;
  align-items: center;
  border: none;
  border-left: 3px solid var(--accent);
  border-radius: 0;
  background: none;
  padding: 0.1em 0 0.1em 0.75em;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  width: fit-content;
}

.badge--outline {
  color: var(--text-light);
}

.badge--dark-outline {
  color: var(--text-dark);
}

.badge--light-border {
  color: var(--text-light);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 2.25rem;
  font-size: 0.825rem;
  font-weight: 600;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  transition: var(--transition-smooth);
  text-align: center;
  white-space: nowrap;
}

.btn--primary {
  background-color: var(--granny-smith-darkest);
  color: var(--text-light);
  border: 1px solid var(--granny-smith-darkest);
}

.btn--primary:hover {
  background-color: transparent;
  color: var(--granny-smith-darkest);
  transform: translateY(-1px);
}

.btn--accent {
  background-color: var(--accent);
  color: var(--text-dark);
  border: 1px solid var(--accent);
}

.btn--accent:hover {
  background-color: var(--accent-hover);
  border-color: var(--accent-hover);
  color: var(--text-light);
  transform: translateY(-1px);
}

.btn--blur {
  background-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: var(--text-light);
}

.btn--blur:hover {
  background-color: var(--text-light);
  color: var(--text-dark);
  transform: translateY(-1px);
}

.btn--light-dark {
  background-color: rgba(11, 10, 10, 0.05);
  color: var(--text-dark);
  border: 1px solid transparent;
}

.btn--light-dark:hover {
  background-color: transparent;
  border-color: var(--text-dark);
  transform: translateY(-1px);
}

.btn--white {
  background-color: var(--text-light);
  color: var(--text-dark);
  border: 1px solid var(--text-light);
}

.btn--white:hover {
  background-color: var(--granny-smith-lightest);
  transform: translateY(-2px);
}

.btn--outline-white {
  border: 1px solid var(--text-light);
  color: var(--text-light);
}

.btn--outline-white:hover {
  background-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

.btn--full {
  width: 100%;
}

/* Scroll Reveal classes */
[data-reveal] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1), transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

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

/* 3. Header & Navigation */
.header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background-color: rgba(251, 250, 249, 0.85);
  backdrop-filter: blur(8px);
  will-change: backdrop-filter;
  border-bottom: 1px solid rgba(11, 10, 10, 0.04);
  transition: var(--transition-fast);
}

.header__container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 1rem var(--container-padding);
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0;
}

.header__logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  margin-right: 2rem;
}

.header__logo img {
  height: 2.2rem;
  width: auto;
  transition: var(--transition-fast);
}

.header__nav {
  display: none;
  min-width: 0;
  flex-shrink: 1;
  overflow: visible;
}

.header__menu {
  display: flex;
  align-items: center;
  gap: 0;
  flex-wrap: nowrap;
}

.header__link {
  font-size: 0.78rem;
  font-weight: 500;
  padding: 0.5rem 0.5rem;
  border-radius: 9999px;
  color: var(--text-dark);
  white-space: nowrap;
}

.header__link:hover {
  background-color: rgba(11, 10, 10, 0.05);
}

/* Clínica dropdown submenu (desktop) */
.header__menu-item {
  position: relative;
}

.header__menu-item--has-dropdown > .header__link {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
}

.header__dropdown-caret {
  transition: var(--transition-fast);
}

.header__menu-item--has-dropdown:hover .header__dropdown-caret,
.header__menu-item--has-dropdown:focus-within .header__dropdown-caret {
  transform: rotate(180deg);
}

.header__menu-item--has-dropdown > button.header__link {
  background: none;
  border: none;
  margin: 0;
  box-sizing: border-box;
  -webkit-appearance: none;
  appearance: none;
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 500;
  line-height: normal;
  cursor: pointer;
}

.header__dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 13rem;
  margin-top: 0.5rem;
  background-color: var(--text-light);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
  padding: 0.4rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: var(--transition-fast);
  z-index: 50;
}

.header__menu-item--has-dropdown:hover .header__dropdown,
.header__menu-item--has-dropdown:focus-within .header__dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.header__dropdown-link {
  display: block;
  padding: 0.6rem 0.85rem;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-dark);
  transition: var(--transition-fast);
  white-space: nowrap;
}

.header__dropdown-link:hover {
  background-color: var(--granny-smith-lightest);
  color: var(--accent);
}

.header__dropdown-link--active {
  color: var(--accent);
}

.header__dropdown-group {
  padding: 0.6rem 0.85rem 0.3rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-muted);
  white-space: nowrap;
}

.header__dropdown-group:not(:first-child) {
  margin-top: 0.4rem;
  border-top: 1px solid var(--border-color);
  padding-top: 0.75rem;
}

/* Clínica submenu (mobile) */
.header__mobile-link--sub {
  padding-left: 1.5rem;
  font-size: 0.9rem;
  opacity: 0.8;
}

.header__right {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-shrink: 0;
  margin-left: auto;
  padding-left: 1.5rem;
}

.header__right .btn {
  display: none;
  white-space: nowrap;
  padding: 0.6rem 0.9rem;
  font-size: 0.68rem;
  letter-spacing: 0.05em;
}

.search-trigger {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background-color: rgba(11, 10, 10, 0.04);
  color: var(--text-dark);
  transition: var(--transition-fast);
  flex-shrink: 0;
}

.search-trigger:hover {
  background-color: rgba(11, 10, 10, 0.08);
}

.lang-switcher {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.62rem;
  font-weight: 600;
  line-height: normal;
  flex-shrink: 0;
}

.lang-switcher__link {
  color: rgba(11, 10, 10, 0.4);
}

.lang-switcher__link:hover {
  color: var(--text-dark);
}

.lang-switcher__divider {
  display: inline;
  color: rgba(11, 10, 10, 0.2);
}

.lang-switcher__current {
  color: var(--text-dark);
}

.lang-switcher.justify-center {
  flex-direction: row;
  gap: 0.25rem;
  font-size: 0.9rem;
}

.header__toggle {
  color: var(--text-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
}

.icon-menu.hidden {
  display: none;
}

.icon-close.hidden {
  display: none;
}

.justify-center {
  justify-content: center;
}

.mt-4 {
  margin-top: 1rem;
}

/* Mobile dropdown menu drawer */
.header__mobile-menu {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background-color: var(--granny-smith-lightest);
  border-bottom: 1px solid var(--border-color);
  padding: 1.5rem var(--container-padding) 4rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: var(--transition-smooth);
  /* Closed by default: zero this out so the (long) link list never adds
     phantom scroll height to short pages, even while invisible. */
  max-height: 0;
  overflow: hidden;
}

.header__mobile-menu.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  /* Cap to the viewport and scroll internally, so the drawer's own long
     link list doesn't force scrolling the whole page past it to reach
     the bottom items and the "Marcar consulta" button. */
  max-height: calc(100vh - 4.5rem);
  overflow-y: auto;
}

.header__mobile-links {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
}

.header__mobile-link {
  font-size: 1.3rem;
  font-weight: 500;
  display: block;
}

/* 4. Hero Section */
.hero {
  position: relative;
  min-height: clamp(35rem, 80vh, 50rem);
  display: flex;
  align-items: stretch;
  color: var(--text-light);
}

.hero--home {
  align-items: stretch;
  padding-bottom: 0;
}

.hero--home .hero__container {
  height: 100%;
}

.hero__inner {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 2rem;
  padding: clamp(0.5rem, 2vw, 1.5rem) 0 clamp(5rem, 9vw, 7rem);
}

.hero__top-block {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  max-width: 26rem;
}

@media (min-width: 900px) {
  .hero__top-block {
    margin-left: -2.5rem;
    max-width: 34rem;
  }
}

.hero__bottom-row {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

@media (min-width: 900px) {
  .hero__bottom-row {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    margin-left: -2.5rem;
  }
}

.hero__top {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 22rem;
}

.hero__bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  background-color: var(--granny-smith-darkest);
  overflow: hidden;
}

.hero__bg-blur {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(50px) brightness(0.55);
  transform: scale(1.15); /* avoid sharp blur edges peeking in at the frame border */
}

.hero__bg-video {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
  display: block;
}

.hero__bg img {
  width: 100%;
  height: 100%;
  object-cover: fill;
  object-fit: cover;
}

.hero__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.5) 100%);
  z-index: -1;
}

.hero__container {
  width: 100%;
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.hero__content {
  max-width: 38rem;
}

.hero__container--split {
  height: 100%;
  padding-left: clamp(1rem, 3vw, 3rem);
}

.hero__content--split .hero__title {
  font-size: clamp(1.8rem, 4vw, 3rem);
}

.hero__content--split .hero__badge-wrapper .badge {
  font-size: 0.6rem;
  padding: 0.1em 0 0.1em 0.65em;
}

.hero__content--split .hero__badge-subtitle {
  font-size: 0.78rem;
}

.hero__content--split {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 4rem 0;
}

.hero__top-content,
.hero__bottom-content {
  display: flex;
  flex-direction: column;
}

.hero__badge-wrapper {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.hero__badge-subtitle {
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
}

.hero__title {
  margin-bottom: 1.25rem;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
}

.hero__description {
  font-size: 1.2rem;
  margin-bottom: 2.25rem;
  color: rgba(255, 255, 255, 0.9);
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.5);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* Hero sub-page variants */
.hero--tall {
  height: clamp(40rem, 90vh, 60rem);
  align-items: flex-end;
}

.hero--treatment {
  height: clamp(34rem, 72vh, 48rem);
}

.hero--prevention {
  height: clamp(34rem, 72vh, 48rem);
}

.hero__content--wide {
  max-width: 100%;
  width: 100%;
}

.hero--tall .hero__content--wide {
  max-width: 46rem;
  width: 100%;
}

.hero__features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
  max-width: none;
}

@media (max-width: 480px) {
  .hero__features-grid {
    grid-template-columns: 1fr;
    max-width: 36rem;
  }
}

.hero__feature-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  max-width: 15rem;
}

.hero__feature-item img {
  width: 3rem;
  height: 3rem;
  flex-shrink: 0;
  object-fit: contain;
}

.hero__feature-name {
  font-size: 1.15rem;
  font-weight: 500;
  color: #fff;
  margin-bottom: 0.25rem;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.5);
}

.hero__feature-text {
  font-size: 1rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.5;
  font-weight: 300;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.5);
}

.hero__feature-text--clamp {
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Split layout: features left, description + actions right (tratamento hero) */
.hero--tall .hero__content--split-right {
  max-width: 74rem;
  width: 100%;
}

.hero--tall .hero__content--split-right .hero__title {
  font-size: clamp(1.7rem, 3.4vw, 2.75rem);
  margin-bottom: 2.25rem;
}

.hero__row-split {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2.5rem;
  flex-wrap: wrap;
}

.hero__row-split .hero__features-grid {
  margin-bottom: 2rem;
  flex: 1 1 34rem;
}

.hero__row-split .hero__feature-item {
  max-width: none;
}

.hero__row-split .hero__right {
  flex: 0 1 18rem;
  margin-bottom: 2rem;
}

@media (max-width: 900px) {
  .hero__row-split .hero__right {
    margin-bottom: 0;
  }
}

/* Homepage-only hero variant: stacked features (left) + description/CTA (right) */
.hero__title--home {
  font-size: clamp(1.9rem, 3.4vw, 3rem);
}

/* Scoped-down sizing for homepage hero only (more breathing room vs. video) */
.hero--home .hero__badge-subtitle {
  font-size: 0.8rem;
}

.hero--home .hero__description {
  font-size: 1rem;
}

.hero--home .hero__feature-name {
  font-size: 0.85rem;
  margin-bottom: 0.15rem;
}

.hero--home .hero__feature-text {
  font-size: 0.72rem;
  line-height: 1.4;
}

.hero--home .hero__feature-item {
  gap: 0.6rem;
}

.hero--home .hero__feature-item img {
  width: 38px;
  height: 38px;
}

.hero--home .hero__top {
  gap: 0.75rem;
}

.hero__split-left {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.hero__right {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  flex: 1;
  /* Wide enough for the two CTA buttons to sit side by side on their own
     line (their combined natural width is ~39rem); flex-wrap on
     .hero__actions below still lets them stack safely on any row that
     doesn't have this much room, instead of overflowing past the edge
     of the page the way the old, much narrower 23rem cap did. */
  max-width: 40rem;
}

.hero__right .hero__description {
  margin-bottom: 0;
}

.hero__right .hero__actions {
  margin: 0;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero__right .btn {
  padding: 0.8rem 1.5rem;
  white-space: nowrap;
}

@media (min-width: 900px) {
  .hero__right {
    justify-content: space-between;
    height: 100%;
    padding-bottom: 2rem;
    margin-left: auto;
  }

  .hero__split-left {
    flex-direction: row;
    gap: 1.75rem;
    flex-wrap: nowrap;
  }
}

/* 5. Sobre Section */
.sobre {
  padding: var(--section-padding) 0;
  background: linear-gradient(to bottom, var(--sisal-light) 0%, var(--sisal-lightest) 100%);
}

.sobre__container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 var(--container-padding);
  display: flex;
  flex-direction: column;
  gap: 4rem;
}

.sobre__header {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.sobre__badge-wrapper {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.sobre__badge-text {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-dark);
}

.sobre__quote-wrapper {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.sobre__quote {
  font-size: clamp(1.15rem, 2.2vw, 1.5rem);
  font-weight: 400;
  line-height: 1.35;
  letter-spacing: -0.01em;
  color: var(--text-dark);
  border-left: none;
  padding-left: 0;
}

.sobre__bio {
  display: grid;
  gap: 2rem;
  align-items: start;
}

.sobre__avatar {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 12px;
  overflow: hidden;
  background-color: var(--granny-smith-light);
}

.sobre__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sobre__bio-content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.sobre__author-info {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.sobre__author-name {
  color: var(--granny-smith-dark);
  font-size: 1.25rem;
}

.sobre__author-role {
  font-size: 0.95rem;
  color: var(--text-muted);
}

.sobre__vision-title {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  color: var(--text-dark);
}

.sobre__vision-text {
  color: var(--text-dark);
  font-weight: 400;
}

/* 6. Valores Section */
/* ==========================================================================
   Ambient Background Life: slow-drifting gradient blobs
   Applied to otherwise-flat section backgrounds for subtle depth/movement.
   ========================================================================== */

@keyframes blob-drift-1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(6%, -8%) scale(1.2); }
  66% { transform: translate(-5%, 6%) scale(0.95); }
}

@keyframes blob-drift-2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(-7%, 5%) scale(1.15); }
  66% { transform: translate(8%, -4%) scale(1.05); }
}

@keyframes blob-drift-3 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-10%, -9%) scale(1.25); }
}

@keyframes blob-drift-4 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(9%, 10%) scale(0.9); }
}

.section-intro,
.services-grid {
  position: relative;
  overflow: hidden;
}

.section-intro::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 25%, rgba(60, 173, 169, 0.12) 0%, transparent 32%),
    radial-gradient(circle at 78% 65%, rgba(214, 187, 143, 0.11) 0%, transparent 28%);
  filter: blur(45px);
  pointer-events: none;
  z-index: 0;
  animation: blob-drift-1 17s ease-in-out infinite;
}

.section-intro::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 60% 15%, rgba(214, 187, 143, 0.1) 0%, transparent 30%),
    radial-gradient(circle at 25% 80%, rgba(60, 173, 169, 0.1) 0%, transparent 30%);
  filter: blur(45px);
  pointer-events: none;
  z-index: 0;
  animation: blob-drift-2 21s ease-in-out infinite;
  animation-delay: -6s;
}

.services-grid::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 70% 20%, rgba(60, 173, 169, 0.11) 0%, transparent 30%),
    radial-gradient(circle at 20% 70%, rgba(214, 187, 143, 0.1) 0%, transparent 28%);
  filter: blur(45px);
  pointer-events: none;
  z-index: 0;
  animation: blob-drift-3 19s ease-in-out infinite;
  animation-delay: -3s;
}

.services-grid::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 40% 85%, rgba(214, 187, 143, 0.1) 0%, transparent 30%),
    radial-gradient(circle at 85% 45%, rgba(60, 173, 169, 0.1) 0%, transparent 28%);
  filter: blur(45px);
  pointer-events: none;
  z-index: 0;
  animation: blob-drift-4 24s ease-in-out infinite;
  animation-delay: -10s;
}
.section-intro__inner,
.services-grid__inner {
  position: relative;
  z-index: 1;
}

.valores {
  padding: var(--section-padding) 0;
}

.valores__container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 var(--container-padding);
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.valores__header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.5rem;
}

.valores__badge-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}

.valores__badge-text {
  font-size: 0.9rem;
  font-weight: 500;
}

.valores__intro {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  max-width: 44rem;
}

.valores__intro-text {
  margin-bottom: 0;
}

.valores__intro-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.valores__intro-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.valores__grid {
  display: grid;
  gap: 1.5rem;
}

.val-card {
  position: relative;
  overflow: visible;
  background-color: transparent;
  border: none;
  border-left: 3px solid var(--accent);
  padding: 0.25rem 0 0.25rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  border-radius: 0;
  transition: var(--transition-smooth);
}

.val-card:hover {
  border-left-color: var(--accent-hover, var(--accent));
}

.val-card__num {
  position: absolute;
  top: 0;
  right: 0.5rem;
  font-family: var(--font-serif);
  font-size: 4.5rem;
  font-weight: 700;
  color: var(--granny-smith-lightest);
  line-height: 1;
  z-index: 0;
  pointer-events: none;
}

.val-card__icon-badge {
  position: relative;
  z-index: 1;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
}

.val-card__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.val-card__title {
  font-size: 1.8rem;
  font-weight: 500;
}

.val-card__description {
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* 7. Milestones Section */
.milestones {
  padding: var(--section-padding) 0;
  background-color: var(--granny-smith-lightest);
}

.milestones__container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 var(--container-padding);
  display: flex;
  flex-direction: column;
  gap: 4rem;
}

.milestones__header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.5rem;
}

.milestones__badge-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}

.milestones__badge-text {
  font-size: 0.9rem;
  font-weight: 500;
}

.milestones__title {
  max-width: 32rem;
}

.milestones__list {
  position: relative;
  max-width: 56rem;
  margin: 0 auto;
}

.milestones__list::before {
  content: "";
  position: absolute;
  top: 0.5rem;
  bottom: 0.5rem;
  left: 0.65rem;
  width: 2px;
  background: rgba(11, 10, 10, 0.15);
}

.milestones__item {
  position: relative;
  padding-left: 3.25rem;
  padding-bottom: 3rem;
}

.milestones__item:last-child {
  padding-bottom: 0;
}

.milestones__item::before {
  content: "";
  position: absolute;
  top: 0.35rem;
  left: -3.05rem;
  width: 0.9rem;
  height: 0.9rem;
  border-radius: 50%;
  background: var(--accent);
  border: 3px solid var(--granny-smith-lightest);
  box-shadow: 0 0 0 1px rgba(11, 10, 10, 0.15);
}

/* Zigzag layout (alternating sides of a centered line) once there's room */
@media (min-width: 768px) {
  .milestones__list::before {
    left: 50%;
    transform: translateX(-50%);
  }

  .milestones__item {
    width: 50%;
    padding-left: 0;
  }

  .milestones__item::before {
    left: auto;
  }

  .milestones__item:nth-child(odd) {
    padding-right: 3rem;
    text-align: right;
  }

  .milestones__item:nth-child(odd)::before {
    right: -0.45rem;
  }

  .milestones__item:nth-child(even) {
    margin-left: 50%;
    padding-left: 3rem;
    text-align: left;
  }

  .milestones__item:nth-child(even)::before {
    left: -0.45rem;
  }

  .milestones__item:nth-child(odd) .milestones__trigger {
    justify-content: flex-end;
  }

  .milestones__item:nth-child(odd) .milestones__panel-inner {
    align-items: flex-end;
  }
}

.milestones__trigger {
  width: 100%;
  padding: 0;
  position: relative;
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  color: var(--text-dark);
  font-size: 1.1rem;
}

.milestones__year {
  font-size: 1.5rem;
  font-weight: 600;
  flex-shrink: 0;
}

.milestones__item-title {
  font-weight: 500;
}

/* Milestones panels are always expanded (no accordion toggle) */
.milestones__panel {
  max-height: none;
  opacity: 1;
}

.milestones__panel-inner {
  padding-top: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.milestones__image {
  border-radius: 8px;
  overflow: hidden;
  max-width: 100%;
}

.milestones__image img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.milestones__description {
  max-width: 40rem;
  font-size: 1rem;
}

/* 8. Infrastructures Section */
.infrastructures {
  padding: var(--section-padding) 0 0;
  background-color: var(--granny-smith-lightest);
}

.infrastructures__container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 var(--container-padding);
  margin-bottom: 2.5rem;
}

.infrastructures__header {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.infrastructures__header-left {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.infrastructures__badge-wrapper {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.infrastructures__title {
  max-width: 38rem;
}

.infrastructures__description {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 38rem;
}

/* Infinite Marquee Photos */
.marquee-track {
  overflow: hidden;
  width: 100%;
  background-color: var(--granny-smith-lightest);
  padding: 1.75rem 0;
}

.marquee-track__scroll {
  display: flex;
  width: max-content;
}

.marquee-track__group {
  display: flex;
  gap: 1.5rem;
  padding-right: 1.5rem;
  animation: marquee 28s linear infinite;
}

.marquee-track__item {
  height: clamp(10rem, 18vw, 14rem);
  flex-shrink: 0;
  border-radius: 8px;
  overflow: hidden;
}

.marquee-track__item img {
  display: block;
  height: 100%;
  width: auto;
  object-fit: cover;
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}

/* 9. Video Section */
.media-video-section {
  position: relative;
  height: clamp(25rem, 50vw, 42rem);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  overflow: hidden;
}

.media-video-section__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

.media-video-section__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.35);
  z-index: -1;
}

.media-video-section__container {
  text-align: center;
  padding: 0 var(--container-padding);
}

.media-video-section__title {
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 400;
}

/* 10. Partners Section */
.partners {
  padding: 3rem 0;
  background-color: var(--sisal-lightest);
}

.partners__container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.partners__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.partners__text {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  max-width: 20rem;
}

.partners__intro {
  font-size: 0.95rem;
  color: var(--text-dark);
  text-align: center;
}

.partners__link {
  display: inline-block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--accent-hover);
  text-align: center;
}

.partners__link:hover {
  text-decoration: underline;
}

.partners__divider {
  width: 100%;
  height: 1px;
  background-color: var(--border-color);
  display: none;
}

.partners__marquee {
  overflow: hidden;
  width: 100%;
}

.partners__marquee-scroll {
  display: flex;
  width: max-content;
}

.partners__marquee-group {
  display: flex;
  align-items: center;
  gap: 4rem;
  padding-right: 4rem;
  animation: marquee-logos 25s linear infinite;
}

.partners__logo-item {
  height: 3rem;
  display: flex;
  align-items: center;
}

.partners__logo-item img {
  height: 100%;
  width: auto;
  transition: var(--transition-fast);
}

.partners__logo-item img:hover {
  transform: scale(1.05);
}

@keyframes marquee-logos {
  0% { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}

/* 11. Social / Community Section */
.community-sec {
  padding: var(--section-padding) 0;
  background-color: var(--sisal-lighter);
}

.community-sec__container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 var(--container-padding);
  display: flex;
  flex-direction: column;
  gap: 4rem;
}

.community-sec__header {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.community-sec__badge-wrapper {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.community-sec__badge-text {
  font-size: 0.9rem;
  font-weight: 500;
}

.community-sec__intro {
  display: grid;
  gap: 2rem;
}

.community-sec__title {
  color: var(--text-dark);
}

.community-sec__text {
  color: var(--text-dark);
}

.community-sec__grid {
  display: grid;
  gap: 2.5rem;
}

.community-sec__image-box {
  position: relative;
  aspect-ratio: 4/3;
  border-radius: 8px;
  overflow: hidden;
}

.community-sec__image-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.community-sec__image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.1);
}

.community-sec__cards {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.comm-card {
  background-color: var(--granny-smith-lighter);
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  border-radius: 4px;
  transition: var(--transition-smooth);
}

.comm-card:hover {
  transform: translateY(-3px);
  background-color: var(--granny-smith-light);
}

.comm-card__title {
  font-size: 1.25rem;
  color: var(--text-dark);
}

.comm-card__text {
  font-size: 0.95rem;
  color: var(--text-dark);
  font-weight: 400;
}

/* 12. Team Slider Section */
.team-slider {
  padding: var(--section-padding) 0;
  background-color: var(--sisal-lightest);
}

.team-slider__container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 var(--container-padding);
  display: flex;
  flex-direction: column;
  gap: 4.5rem;
}

.team-slider__header {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.team-slider__header-left {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.team-slider__badge-wrapper {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.team-slider__badge-text {
  font-size: 0.9rem;
  font-weight: 500;
}

.team-slider__title {
  max-width: 38rem;
}

.team-slider__slider-wrapper {
  display: grid;
  gap: 3rem;
}

/* Left Carousel Photos Track */
.team-slider__photos-container {
  width: 100%;
  aspect-ratio: 4/5;
  max-width: 28rem;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 8px;
  position: relative;
  background-color: var(--granny-smith-light);
}

.team-slider__photos {
  width: 100%;
  height: 100%;
  position: relative;
}

.team-photo-card {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.team-photo-card.active {
  opacity: 1;
  visibility: visible;
}

.team-photo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Right Carousel Details Track */
.team-slider__details {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 3rem;
}

.team-slider__info-panel {
  position: relative;
  min-height: 18rem;
}

.team-info-card {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.4s ease, transform 0.4s ease, visibility 0.4s ease;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.team-info-card.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  position: relative;
}

.team-info-card__header {
  margin-bottom: 0.5rem;
}

.team-info-card__name {
  font-size: 1.8rem;
  font-weight: 500;
  color: var(--text-dark);
}

.team-info-card__role {
  font-size: 1rem;
  font-weight: 500;
  color: var(--granny-smith-dark);
}

.team-info-card__bio {
  font-size: 1.1rem;
  color: var(--text-dark);
  font-weight: 300;
}

.team-info-card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 500;
  color: var(--text-dark);
  width: fit-content;
}

.team-info-card__link svg {
  transition: transform 0.2s ease;
}

.team-info-card__link:hover svg {
  transform: translateX(4px);
}

/* Controls */
.team-slider__controls {
  display: flex;
  gap: 1rem;
}

.team-slider__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.2rem;
  height: 3.2rem;
  border-radius: 50%;
  border: 1px solid rgba(11, 10, 10, 0.4);
  color: var(--text-dark);
  transition: var(--transition-fast);
}

.team-slider__btn:hover {
  background-color: var(--accent);
  border-color: var(--accent);
}

/* ---- Team Card (static grid item, used in equipa.html and the new team-carousel) ---- */
.team-card {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  color: inherit;
}

.team-card__photo {
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: 0.75rem;
  overflow: hidden;
  background: var(--granny-smith-lighter);
}

.team-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.team-card:hover .team-card__photo img {
  transform: scale(1.03);
}

.team-card__body {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.team-card__name {
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  font-weight: 400;
}

.team-card__role {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent-hover);
}

.team-card__teaser {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ---- Team Carousel (horizontal scroll, 4 cards visible, arrow navigation) ---- */
.team-carousel {
  padding: var(--section-padding) 0;
  background-color: var(--sisal-lightest);
}

.team-carousel__container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 var(--container-padding);
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.team-carousel__header {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

@media (min-width: 900px) {
  .team-carousel__header {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
  }
}

.team-carousel__header-left {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.team-carousel__badge-wrapper {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.team-carousel__title {
  max-width: 38rem;
}

.team-carousel__header-right {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-shrink: 0;
}

.team-carousel__arrows {
  display: flex;
  gap: 1rem;
}

.team-carousel__viewport-wrap {
  position: relative;
}

.team-carousel__btn--overlay {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  background-color: #fff;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.team-carousel__btn--prev {
  left: 0.5rem;
}

.team-carousel__btn--next {
  right: 0.5rem;
}

@media (min-width: 640px) {
  .team-carousel__btn--prev {
    left: 1rem;
  }
  .team-carousel__btn--next {
    right: 1rem;
  }
}

.team-carousel__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.2rem;
  height: 3.2rem;
  border-radius: 50%;
  border: 1px solid rgba(11, 10, 10, 0.4);
  color: var(--text-dark);
  transition: var(--transition-fast);
  flex-shrink: 0;
}

.team-carousel__btn:hover {
  background-color: var(--accent);
  border-color: var(--accent);
  color: var(--text-light);
}

.team-carousel__viewport {
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.team-carousel__viewport::-webkit-scrollbar {
  display: none;
}

.team-carousel__track {
  display: flex;
  gap: 1.5rem;
}

.team-carousel__track .team-card {
  flex: 0 0 calc(100% - 3rem);
  scroll-snap-align: start;
}

@media (min-width: 640px) {
  .team-carousel__track .team-card {
    flex: 0 0 calc(50% - 0.75rem);
  }
}

@media (min-width: 1024px) {
  .team-carousel__track .team-card {
    flex: 0 0 calc(25% - 1.125rem);
  }
}

/* ---- Dual CTA Banner (International Patient / Talk to us) ---- */
.dual-cta {
  display: grid;
  grid-template-columns: 1fr;
}

@media (min-width: 900px) {
  .dual-cta {
    grid-template-columns: 1fr 1fr;
  }
}

.dual-cta__panel {
  display: block;
  padding: 4rem var(--container-padding);
  min-height: 20rem;
  display: flex;
  align-items: flex-end;
  text-decoration: none;
  transition: var(--transition-fast);
}

.dual-cta__panel--light {
  background-color: var(--accent);
}

.dual-cta__panel--light:hover {
  background-color: var(--accent-hover);
}

.dual-cta__panel--dark {
  background-color: #4B4A46;
}

.dual-cta__panel--dark:hover {
  background-color: #21453C;
}

.dual-cta__content {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  max-width: 26rem;
}

.dual-cta__title {
  font-style: italic;
  color: var(--text-light);
}

.dual-cta__text {
  font-size: 1rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.88);
}

.dual-cta__link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  align-self: flex-end;
  font-weight: 600;
  color: var(--text-light);
  transition: var(--transition-fast);
}

.dual-cta__panel:hover .dual-cta__link {
  gap: 0.75rem;
}

/* ---- Blog listing page ---- */
.blog-listing-hero {
  padding: calc(var(--section-padding) + 3rem) 0 2rem;
  background-color: var(--sisal-lightest);
}

.blog-listing-hero__container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.blog-listing-section {
  padding: 0 0 var(--section-padding);
  background-color: var(--sisal-lightest);
}

.blog-listing-section__container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

/* ---- Individual article page ---- */
.article-hero {
  padding: calc(var(--section-padding) + 3rem) 0 0;
  background-color: var(--sisal-lightest);
}

.article-hero--fullbleed {
  position: relative;
  padding: 0;
  height: 34rem;
  overflow: hidden;
  color: var(--text-light);
  background-color: var(--text-dark);
}

.article-hero--fullbleed .article-hero__image {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  max-width: none;
  margin: 0;
  padding: 0;
  z-index: 0;
}

.article-hero--fullbleed .article-hero__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
  display: block;
}

.article-hero--fullbleed::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 35%, rgba(0, 0, 0, 0.78) 100%);
  z-index: 1;
}

.article-hero--fullbleed .article-hero__container {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
  max-width: var(--container-max-width);
  padding: 3rem var(--container-padding);
  margin: 0 auto;
  gap: 0.75rem;
}

.article-hero--fullbleed .article-hero__container h1 {
  color: var(--text-light);
  max-width: 44rem;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}

.article-hero--fullbleed .article-hero__meta {
  color: rgba(255, 255, 255, 0.85);
}

.article-hero--fullbleed .post-card__readmore {
  color: rgba(255, 255, 255, 0.85);
}

.article-hero--fullbleed .badge {
  border-left-color: var(--accent);
  color: var(--text-light);
}

.article-hero__container {
  max-width: 46rem;
  margin: 0 auto;
  padding: 0 var(--container-padding);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.article-hero__meta {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.article-hero__image {
  max-width: 56rem;
  margin: 2rem auto 0;
  padding: 0 var(--container-padding);
}

.article-hero__image img {
  width: 100%;
  height: auto;
  border-radius: 0.75rem;
  display: block;
}

.article-body {
  padding: 0 0 var(--section-padding);
  background-color: var(--sisal-lightest);
}

.article-body__container {
  max-width: 46rem;
  margin: 0 auto;
  padding: 2rem var(--container-padding) 0;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.article-body p {
  font-size: 1.02rem;
  line-height: 1.75;
  color: var(--text-dark);
}

.article-body__references {
  margin-top: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(11, 10, 10, 0.1);
}

.article-body__references-title {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
}

.article-body__references p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.article-body__note {
  font-size: 0.9rem;
  font-style: italic;
  color: var(--text-muted);
}


.legal-page-hero {
  padding: calc(var(--section-padding) + 3rem) 0 3rem;
  background-color: var(--sisal-lightest);
}

.legal-page-hero__container {
  max-width: 46rem;
  margin: 0 auto;
  padding: 0 var(--container-padding);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.legal-page-hero__lead {
  font-size: 1.05rem;
  color: var(--text-muted);
}

.legal-page-content {
  padding: 0 0 var(--section-padding);
  background-color: var(--sisal-lightest);
}

.legal-page-content__container {
  max-width: 46rem;
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.legal-page-content ol {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  padding-left: 1.4rem;
  counter-reset: legal-counter;
}

.legal-page-content li {
  font-size: 0.98rem;
  line-height: 1.7;
  color: var(--text-dark);
}

.legal-page-content li strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: var(--text-dark);
}

.legal-page-content p {
  font-size: 0.98rem;
  line-height: 1.7;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}


.intl-guide-banner {
  position: relative;
  width: 100%;
  background-color: var(--sisal-lightest);
  line-height: 0;
}

.intl-guide-banner__sr-title {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.intl-guide-banner img {
  width: 100%;
  height: auto;
  max-height: 32rem;
  object-fit: cover;
  display: block;
}

.intl-guide-banner__badge {
  position: absolute;
  top: clamp(1.5rem, 5vw, 3rem);
  left: clamp(1.5rem, 5vw, 4rem);
  border-color: var(--accent);
  color: var(--accent);
  background-color: rgba(255, 255, 255, 0.75);
  font-size: clamp(0.85rem, 1.6vw, 1.3rem);
  padding: 0.6em 1.1em;
  white-space: nowrap;
}

.intl-guide-banner__title-wrap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: clamp(2rem, 6vw, 4rem);
  display: flex;
  justify-content: center;
  padding: 0 clamp(1.5rem, 5vw, 4rem);
}

.intl-guide-banner__title {
  margin: 0;
  color: var(--accent);
  font-size: clamp(1.6rem, 3.6vw, 2.9rem);
  text-align: center;
  background-color: rgba(255, 255, 255, 0.4);
  border: 1px solid rgba(60, 173, 169, 0.55);
  border-radius: 0.75rem;
  padding: 0.4em 0.9em;
}

@media (max-width: 700px) {
  .intl-guide-banner__title {
    white-space: normal;
  }
}

.intl-guide-hero {
  padding: 2.5rem 0 var(--section-padding);
  background-color: var(--sisal-lightest);
}

.intl-guide-hero__container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 var(--container-padding);
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 900px) {
  .intl-guide-hero__container {
    grid-template-columns: 1.1fr 0.9fr;
  }
}

.intl-guide-hero__text {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.intl-guide-hero__media img {
  width: 100%;
  height: 100%;
  min-height: 20rem;
  object-fit: cover;
  border-radius: 0.75rem;
}

.intl-guide-hero__title {
  margin-top: 0.5rem;
}

.intl-guide-hero__lead {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text-dark);
}

.intl-guide-card__links {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-top: 0.25rem;
}

.intl-guide-card__links a {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent-hover);
}

.intl-guide-card__links a:hover {
  text-decoration: underline;
}

.intl-guide-section {
  padding: var(--section-padding) 0;
  background-color: var(--text-light);
}

.intl-guide-section__container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 var(--container-padding);
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.intl-guide-section__header {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.intl-guide-section__intro {
  max-width: 46rem;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-muted);
}

.intl-guide-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .intl-guide-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .intl-guide-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.intl-guide-card {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  background-color: var(--sisal-light);
  border-radius: 0.75rem;
  padding: 2rem;
}

.intl-guide-card__title {
  color: var(--text-dark);
}

.intl-guide-card__text {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--text-muted);
}

/* ---- Tratamentos catalog page: area grid, filter tabs, closing CTA.
   Moved here from a page-local <style> block that only existed on the PT
   file, so the EN/ES versions were rendering this entire section unstyled. ---- */
.areas-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 640px) {
  .areas-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .areas-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.areas-grid .card {
  display: block;
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: 1rem;
  padding: 1.75rem;
  transition: var(--transition-smooth);
}

.areas-grid .card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 32px rgba(11, 10, 10, 0.07);
}

.areas-grid .card.is-hidden {
  display: none;
}

.areas-grid .card__title {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: var(--granny-smith-darkest);
  margin-bottom: 0.25rem;
}

.areas-grid .card__subtitle {
  font-size: 0.85rem;
  color: var(--accent-hover);
  font-style: italic;
  margin-bottom: 0.75rem;
}

.areas-grid .card__desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.tratamentos-filters {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.tratamentos-filters__item {
  font-family: inherit;
  font-size: 0.85rem;
  padding: 0.5rem 1rem;
  border-radius: 2rem;
  background: var(--granny-smith-lightest);
  color: var(--text-dark);
  border: 1px solid var(--border-color);
  cursor: pointer;
  transition: var(--transition-fast);
}

.tratamentos-filters__item:hover {
  border-color: var(--granny-smith-light);
}

.tratamentos-filters__item.is-active {
  background: var(--granny-smith-darkest);
  border-color: var(--granny-smith-darkest);
  color: var(--text-light);
}

.tratamentos-subfilters {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.tratamentos-subfilters[hidden] {
  display: none;
}

.tratamentos-subfilters__item {
  font-family: inherit;
  font-size: 0.8rem;
  padding: 0.45rem 0.9rem;
  border-radius: 2rem;
  background: #fff;
  color: var(--text-muted);
  border: 1px solid var(--border-color);
  cursor: pointer;
  transition: var(--transition-fast);
}

.tratamentos-subfilters__item:hover {
  border-color: var(--accent);
  color: var(--text-dark);
}

.tratamentos-subfilters__item.is-active {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--text-light);
}

.tratamentos-closing {
  background: var(--granny-smith-lighter);
  padding: clamp(2.5rem, 5vw, 4rem) clamp(1.25rem, 5vw, 5rem);
  text-align: center;
}

.tratamentos-closing__inner {
  max-width: 640px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  align-items: center;
}

.tratamentos-closing__title {
  font-family: var(--font-serif);
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
  color: var(--granny-smith-darkest);
}

.intl-guide-closing {
  padding: var(--section-padding) 0;
  background-color: var(--sisal-lightest);
}

.intl-guide-closing__container {
  max-width: 42rem;
  margin: 0 auto;
  padding: 0 var(--container-padding);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.25rem;
}

.intl-guide-closing__text {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-dark);
}

/* ---- Reviews Carousel (horizontal scroll, arrow navigation) ---- */
.reviews-carousel {
  padding: var(--section-padding) 0;
  background-color: var(--sisal-lightest);
}

.reviews-carousel__container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 var(--container-padding);
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.reviews-carousel__header {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

@media (min-width: 900px) {
  .reviews-carousel__header {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
  }
}

.reviews-carousel__header-left {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.reviews-carousel__badge-wrapper {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.reviews-carousel__title {
  max-width: 38rem;
}

.reviews-carousel__header-right {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.reviews-carousel__viewport-wrap {
  position: relative;
}

.reviews-carousel__btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  border: 1px solid rgba(251, 250, 249, 0.5);
  background-color: rgba(251, 250, 249, 0.45);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  box-shadow: 0 4px 16px rgba(11, 10, 10, 0.1);
  color: var(--text-dark);
  transition: var(--transition-fast);
}

.reviews-carousel__btn--prev {
  left: 0.5rem;
}

.reviews-carousel__btn--next {
  right: 0.5rem;
}

@media (min-width: 900px) {
  .reviews-carousel__btn--prev {
    left: 1rem;
  }

  .reviews-carousel__btn--next {
    right: 1rem;
  }
}

.reviews-carousel__btn:hover {
  background-color: rgba(60, 173, 169, 0.85);
  border-color: var(--accent);
  color: var(--text-light);
}

.reviews-carousel__viewport {
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.reviews-carousel__viewport::-webkit-scrollbar {
  display: none;
}

.reviews-carousel__track {
  display: flex;
  gap: 1.5rem;
  align-items: stretch;
}

.reviews-carousel__track .review-card {
  flex: 0 0 calc(100% - 3rem);
  scroll-snap-align: start;
}

@media (min-width: 640px) {
  .reviews-carousel__track .review-card {
    flex: 0 0 calc(50% - 0.75rem);
  }
}

@media (min-width: 1024px) {
  .reviews-carousel__track .review-card {
    flex: 0 0 calc(33.333% - 1rem);
  }
}

.review-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  background-color: var(--sisal-light);
  border-radius: 0.75rem;
  padding: 2rem;
}

.review-card__stars {
  display: flex;
  gap: 0.2rem;
  color: var(--accent);
}

.review-card__stars svg {
  width: 1rem;
  height: 1rem;
}

.review-card__text {
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--text-dark);
  display: -webkit-box;
  -webkit-line-clamp: 6;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.review-card__text.is-expanded {
  -webkit-line-clamp: unset;
  overflow: visible;
}

.review-card__more {
  align-self: flex-start;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent-hover);
}

.review-card__more:hover {
  text-decoration: underline;
}

.review-card__footer {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid rgba(11, 10, 10, 0.08);
}

.review-card__name {
  font-weight: 600;
  color: var(--text-dark);
}

.review-card__meta {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.review-card__disclaimer {
  font-size: 0.72rem;
  font-style: italic;
  color: var(--text-muted);
}

/* 13. Latest News Section */
.latest-news {
  padding: var(--section-padding) 0;
  background-color: var(--sisal-light);
}

.latest-news__container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 var(--container-padding);
  display: flex;
  flex-direction: column;
  gap: 4rem;
}

.latest-news__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}

.latest-news__badge-wrapper {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.latest-news__badge-wrapper .badge {
  width: fit-content;
}

.latest-news__badge-title {
  color: var(--text-dark);
}

.latest-news__grid {
  display: grid;
  gap: 2.5rem;
}

.post-card {
  display: flex;
  flex-direction: column;
  background-color: var(--text-light);
  border: 1px solid var(--border-color);
  padding: 1.5rem;
  border-radius: 4px;
  transition: var(--transition-smooth);
}

.post-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.03);
  border-color: var(--granny-smith-light);
}

.post-card__link-img {
  display: block;
}

.post-card__thumb {
  display: block;
  background-color: var(--granny-smith-lighter);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 1.5rem;
  aspect-ratio: 16/10;
  position: relative;
}

.post-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.post-card:hover .post-card__thumb img {
  transform: scale(1.05);
}

.post-card__content {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.post-card__category {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--granny-smith-dark);
  display: inline-block;
  width: fit-content;
}

.post-card__title {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 400;
  line-height: 1.3;
}

.post-card__description {
  font-size: 0.95rem;
  color: var(--text-dark);
  font-weight: 300;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.5;
}

.post-card__readmore {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 0.5rem;
}

.post-card__readmore svg {
  transition: transform 0.2s ease;
}

.post-card:hover .post-card__readmore svg {
  transform: translateX(4px);
}

/* 14. Booking CTA Section */
.cta-booking {
  position: relative;
  background-color: var(--granny-smith-lightest);
  background-image:
    radial-gradient(ellipse 60% 50% at 15% 20%, rgba(60, 173, 169, 0.25) 0%, transparent 60%),
    radial-gradient(ellipse 50% 60% at 85% 80%, rgba(214, 187, 143, 0.3) 0%, transparent 65%),
    radial-gradient(ellipse 40% 40% at 90% 15%, rgba(60, 173, 169, 0.15) 0%, transparent 70%);
  border-top: 1px solid var(--border-color);
  padding: var(--section-padding) 0;
  overflow: hidden;
}

.cta-booking__ellipse {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80vw;
  height: 80vw;
  background: radial-gradient(circle, rgba(255,255,255,0.35) 0%, rgba(255,255,255,0) 70%);
  pointer-events: none;
}

.cta-booking__container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 var(--container-padding);
  position: relative;
  z-index: 1;
}

.cta-booking__content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.cta-booking__title {
  font-size: clamp(2rem, 5vw, 3.25rem);
  color: var(--text-dark);
  max-width: 32rem;
}

.cta-booking__actions-block {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.cta-booking__text {
  font-size: 1.1rem;
  color: var(--text-dark);
  max-width: 34rem;
}

.cta-booking__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* 15. Footer */
.footer {
  background-color: var(--granny-smith-darker);
  background-image: url('media/footer-waves.svg');
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  color: var(--text-light);
  padding: var(--section-padding) 0 3rem;
  position: relative;
}

.footer__container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.footer__upper {
  display: flex;
  flex-direction: column;
  gap: 4rem;
  margin-bottom: 4rem;
}

.footer__newsletter {
  max-width: 32rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.footer__newsletter-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.footer__newsletter-subtitle {
  font-size: 0.9rem;
  font-weight: 500;
}

.footer__newsletter-title {
  font-size: clamp(1.4rem, 3vw, 1.8rem);
  font-weight: 400;
  line-height: 1.3;
}

.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 0.5rem;
}

.newsletter-form__input {
  background-color: transparent;
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
  padding: 0.75rem 0.5rem;
  color: var(--text-light);
  font-family: inherit;
  font-size: 1rem;
  transition: var(--transition-fast);
}

.newsletter-form__input:focus {
  outline: none;
  border-bottom-color: var(--accent);
}

.newsletter-form__input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.footer__newsletter-disclaimer {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.5);
}

.footer__navs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.footer__nav-title {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 1.5rem;
}

.footer__nav-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer__nav-links a {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.85);
}

.footer__nav-links a:hover {
  color: var(--accent);
  text-decoration: underline;
}

.footer__divider {
  border: none;
  height: 1px;
  background-color: rgba(255, 255, 255, 0.1);
  margin-bottom: 2.5rem;
}

.footer__company {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.footer__company .footer__socials {
  margin-top: 1rem;
}

@media (min-width: 768px) {
  .footer__company {
    flex-shrink: 0;
    min-width: 16rem;
    max-width: 18rem;
  }
}

.footer__company-name {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--text-light);
}

.footer__company-legal,
.footer__company-address,
.footer__company-license {
  font-size: 0.8rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.55);
}

.footer__legal {
  margin-top: 2rem;
}

.footer__legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer__legal-links a {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.6);
}

.footer__legal-links a:hover {
  color: var(--accent);
  text-decoration: underline;
}

.footer__lower {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@media (min-width: 768px) {
  .footer__lower {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem 1.75rem;
  }
}

.footer__copyright {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
}

.footer__funding {
  max-width: var(--container-max-width);
  margin: 2rem auto 0;
  padding: 1.5rem var(--container-padding) 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer__funding a {
  display: inline-block;
}

.footer__funding img {
  display: block;
  width: 100%;
  max-width: 280px;
  height: auto;
}

.footer__socials {
  display: flex;
  gap: 1.5rem;
}

.footer__socials a {
  color: rgba(255, 255, 255, 0.7);
  transition: var(--transition-fast);
}

.footer__socials a:hover {
  color: var(--accent);
}

/* ---- Weekly Announcement Modal ---- */
/* Modelo oficial: OneLife Clinic — Manual de Normas Gráficas 2026 */
:root {
  --ol-green: #38807e;
  --ol-green-dark: #2c6664;
  --ol-green-wash: #38807e14;
  --ol-grey: #21453C;
  --ol-black: #21453C;
  --ol-white: #ffffff;
  --ol-font: 'Montserrat', sans-serif;
}

.ol-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  font-family: var(--ol-font);
}

.ol-modal-overlay[aria-hidden="true"] {
  display: none;
}

.ol-modal-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.45);
}

.ol-banner {
  position: relative;
  z-index: 1;
  width: 860px;
  max-width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  background: var(--ol-white);
  display: grid;
  grid-template-columns: 42% 58%;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
}

.ol-photo {
  position: relative;
  background: linear-gradient(160deg, #cfd9d6 0%, #9db4b0 55%, #6f918d 100%);
  min-height: 460px;
}

.ol-photo::after {
  content: "";
  position: absolute;
  top: 0;
  right: -1px;
  bottom: 0;
  width: 84px;
  background: var(--ol-white);
  clip-path: ellipse(100% 62% at 100% 50%);
}

.ol-photo-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffffcc;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  text-align: center;
  line-height: 2;
  padding-right: 70px;
}

.ol-content {
  position: relative;
  padding: 44px 52px 40px 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.ol-close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 2;
  width: 34px;
  height: 34px;
  border: none;
  cursor: pointer;
  background: transparent;
  color: var(--ol-grey);
  font-size: 20px;
  line-height: 1;
  border-radius: 50%;
  transition: background 0.2s;
}

.ol-close:hover {
  background: var(--ol-green-wash);
}

.ol-close:focus-visible {
  outline: 2px solid var(--ol-green);
  outline-offset: 2px;
}

.ol-logo {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 26px;
}

.ol-logo-mark {
  height: 34px;
  padding: 0 14px;
  border: 1.5px solid var(--ol-green);
  border-radius: 17px;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ol-green);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.ol-logo-word {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--ol-black);
}

.ol-logo-word span {
  color: var(--ol-green);
}

.ol-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ol-green);
  margin-bottom: 14px;
}

.ol-eyebrow::before {
  content: "";
  width: 34px;
  height: 1px;
  background: var(--ol-green);
}

.ol-title {
  font-family: var(--ol-font);
  font-size: 30px;
  line-height: 1.22;
  font-weight: 300;
  color: var(--ol-black);
  margin-bottom: 14px;
}

.ol-title strong {
  font-weight: 600;
}

.ol-text {
  font-family: var(--ol-font);
  font-size: 14.5px;
  line-height: 1.65;
  font-weight: 400;
  color: var(--ol-grey);
  margin-bottom: 26px;
  max-width: 40ch;
}

.ol-actions {
  display: flex;
  align-items: center;
  gap: 22px;
}

.ol-cta {
  display: inline-block;
  background: var(--ol-green);
  color: #fff;
  font-family: var(--ol-font);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 15px 30px;
  border: none;
  border-radius: 2px;
  cursor: pointer;
  transition: background 0.2s;
}

.ol-cta:hover {
  background: var(--ol-green-dark);
}

.ol-cta:focus-visible {
  outline: 2px solid var(--ol-black);
  outline-offset: 2px;
}

.ol-later {
  font-family: var(--ol-font);
  font-size: 12.5px;
  color: var(--ol-grey);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}

.ol-later:hover {
  border-color: var(--ol-grey);
}

.ol-footnote {
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid #21453C22;
  font-size: 11px;
  line-height: 1.5;
  color: #21453C;
}

@media (prefers-reduced-motion: no-preference) {
  .ol-banner {
    animation: ol-in 0.45s cubic-bezier(0.22, 0.8, 0.32, 1) both;
  }

  @keyframes ol-in {
    from {
      opacity: 0;
      transform: translateY(18px) scale(0.985);
    }
    to {
      opacity: 1;
      transform: none;
    }
  }
}

@media (max-width: 700px) {
  .ol-banner {
    width: 340px;
    grid-template-columns: 1fr;
    grid-template-rows: 240px auto;
  }

  .ol-photo {
    min-height: 240px;
  }

  .ol-photo::after {
    top: auto;
    right: 0;
    left: 0;
    bottom: -1px;
    width: auto;
    height: 52px;
    clip-path: ellipse(62% 100% at 50% 100%);
  }

  .ol-photo-placeholder {
    padding-right: 0;
    padding-bottom: 40px;
  }

  .ol-content {
    padding: 8px 28px 30px;
    text-align: center;
    align-items: center;
  }

  .ol-logo {
    align-items: center;
    margin-bottom: 18px;
  }

  .ol-eyebrow {
    justify-content: center;
  }

  .ol-eyebrow::before {
    display: none;
  }

  .ol-title {
    font-size: 23px;
  }

  .ol-text {
    font-size: 13.5px;
  }

  .ol-actions {
    flex-direction: column;
    gap: 14px;
    width: 100%;
  }

  .ol-cta {
    width: 100%;
    text-align: center;
  }

  .ol-close {
    background: rgba(255, 255, 255, 0.85);
  }

  .ol-footnote {
    text-align: center;
  }
}

/* ---- WhatsApp floating button ---- */
.whatsapp-float {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 90;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  background-color: #25d366;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
  transition: var(--transition-fast);
}

.whatsapp-float:hover {
  transform: scale(1.08);
  background-color: #20bd5a;
}

.whatsapp-notice {
  position: fixed;
  bottom: 5.75rem;
  right: 1.5rem;
  z-index: 89;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  background-color: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--border-color);
  border-radius: 9999px;
  padding: 0.4rem 0.9rem;
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--text-dark);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
  white-space: nowrap;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.whatsapp-notice a {
  color: inherit;
}

.whatsapp-notice a:hover {
  color: var(--accent);
}

.whatsapp-notice__divider {
  color: rgba(11, 10, 10, 0.25);
}

@media (max-width: 480px) {
  .whatsapp-notice {
    font-size: 0.62rem;
    padding: 0.32rem 0.65rem;
    right: 1rem;
    bottom: 5.25rem;
  }
}

/* On phones the floating help stack (WhatsApp button + FAQ chat bubble,
   each with a text label) is too tall and too often lands on top of page
   content: hero buttons, filter pills, treatment photos. Below 640px we
   drop the two text labels (the icons alone are still fully functional)
   and pull the two buttons into a tighter, smaller, lower-profile stack. */
@media (max-width: 640px) {
  .whatsapp-notice {
    display: none;
  }

  .whatsapp-float {
    width: 3rem;
    height: 3rem;
    bottom: 1.1rem;
    right: 1.1rem;
  }

  .faq-bot__badge {
    display: none;
  }
}

/* The same floating help stack also lands on top of the homepage hero's
   buttons and founder-quote card whenever the BROWSER WINDOW is short,
   not just narrow: a laptop with limited vertical space, or any window
   zoomed in (zooming shrinks the usable viewport height, same as it
   shrinks width). The stack is fixed to the viewport's bottom-right
   corner, so a shorter viewport pulls it up on top of content that is
   otherwise sized to just fit the hero. Mirrors the max-width:640px
   treatment above, keyed to height instead of width. */
@media (max-height: 820px) {
  .whatsapp-notice {
    display: none;
  }

  .whatsapp-float {
    width: 3rem;
    height: 3rem;
    bottom: 1.1rem;
    right: 1.1rem;
  }

  .faq-bot__badge {
    display: none;
  }

  .faq-bot {
    right: 1.1rem;
    bottom: 5.1rem;
  }

  .faq-bot__launcher {
    width: 3rem;
    height: 3rem;
  }
}

/* Belt-and-braces fix for the same problem: the floating help stack is
   fixed to the browser window's corner, so its position is decided by the
   window, not by the page - no amount of resizing the icons themselves
   removes the chance of an overlap on a short enough window. On a normal
   full-height desktop window there is no overlap and the stack should stay
   visible as always; the fade-out below only engages once the window is
   short enough (zoomed in, or a low-resolution laptop screen) that the
   hero and the floating stack are actually competing for the same corner.
   "hero-in-view" is added/removed on <body> by script.js via an
   IntersectionObserver on .hero; if a browser doesn't support that, this
   simply never applies and the stack behaves as it always has. */
@media (max-height: 900px) {
  body.hero-in-view .whatsapp-float,
  body.hero-in-view .whatsapp-notice,
  body.hero-in-view .faq-bot {
    opacity: 0;
    transform: translateY(0.5rem);
    pointer-events: none;
  }
}

/* ==========================================================================
   16. Media Queries & Responsive Adjustments
   ========================================================================== */

/* Large Mobile / Portrait Tablets (min-width: 600px) */
@media (min-width: 600px) {
  .sobre__bio {
    grid-template-columns: 1fr 1.4fr;
    align-items: start;
  }

  .community-sec__intro {
    grid-template-columns: 1.5fr 1.5fr;
    align-items: flex-start;
  }

  .newsletter-form {
    flex-direction: row;
    align-items: flex-end;
  }

  .newsletter-form__input {
    flex-grow: 1;
  }

  .footer__lower {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

/* Landscape Tablets (min-width: 768px) */
@media (min-width: 768px) {
  .valores__grid {
    grid-template-columns: repeat(3, 1fr);
  }

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

  .infrastructures__header {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
  }

  .community-sec__grid {
    grid-template-columns: 1.2fr 2fr;
    align-items: start;
  }

  .community-sec__image-box {
    aspect-ratio: 3/4;
  }

  .team-slider__slider-wrapper {
    grid-template-columns: 1fr 1.2fr;
    align-items: center;
    gap: 4rem;
  }

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

  .cta-booking__content {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 4rem;
  }

  .cta-booking__actions-block {
    flex-grow: 1;
    align-items: flex-start;
  }
}

/* Header switches to the full desktop nav later than other components (1200px, not 1024px):
   below that width the full menu + CTA button + search + language switcher no longer fit on
   one row and start overlapping each other, which also shows up whenever a visitor zooms in
   on a laptop-width screen (zooming effectively shrinks the usable CSS width). */
@media (min-width: 1200px) {
  .header__toggle {
    display: none;
  }

  .header__nav {
    display: block;
  }

  .header__right .btn {
    display: inline-flex;
  }
}

/* Desktop Viewports (min-width: 1024px) */
@media (min-width: 1024px) {
  .sobre__container {
    gap: 6rem;
  }

  .sobre__header {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    gap: 4rem;
  }

  .sobre__quote-wrapper {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
    flex-grow: 1;
    gap: 2rem;
  }

  .sobre__quote {
    max-width: 44rem;
  }

  .valores__container {
    gap: 5rem;
  }

  .milestones__container {
    gap: 5rem;
  }

  .partners__inner {
    flex-direction: row;
    justify-content: space-between;
    gap: 4rem;
  }

  .partners__text {
    align-items: flex-start;
    max-width: none;
  }

  .partners__intro,
  .partners__link {
    text-align: left;
  }

  .partners__divider {
    display: block;
    width: 1px;
    height: 3rem;
  }

  .partners__marquee {
    flex-grow: 1;
  }

  .community-sec__container {
    gap: 5rem;
  }

  .community-sec__header {
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    gap: 4rem;
  }

  .community-sec__intro {
    flex-grow: 1;
    grid-template-columns: 2fr 2fr;
    gap: 4rem;
  }

  .footer__upper {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
  }

  .footer__navs {
    gap: 6rem;
  }
}

/* ==========================================================================
   Service Detail Page Components (IV / Ozonoterapia / Aférese / Laser)
   ========================================================================== */

/* ---- Service Hero (full-viewport video) ---- */
.hero--service {
  height: 100vh;
  min-height: 44rem;
  align-items: center;
  padding-bottom: 0;
}

.hero--dentaria {
  height: 78vh;
  min-height: 34rem;
}

/* Fill the hero box edge-to-edge instead of letterboxing (base
   .hero__bg-video uses object-fit: contain for other pages) */
.hero--dentaria .hero__bg-video,
.hero--treatment .hero__bg-video,
.hero--prevention .hero__bg-video {
  object-fit: cover;
}

/* Align the text block with the page's standard margin (matches header
   logo/nav) instead of the tighter inset the shared split layout uses */
.hero--dentaria .hero__container--split {
  padding-left: var(--container-padding);
}

.hero--dentaria .hero__eyebrow {
  display: block;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 0.5rem;
}

.hero--dentaria .hero__badge-wrapper {
  margin-bottom: 1rem;
}

.hero--dentaria .hero__content--wide {
  max-width: 100%;
}

.hero--dentaria .hero--dentaria__desc {
  text-align: left;
  font-size: clamp(1.15rem, 1.8vw, 1.4rem);
  line-height: 1.5;
  max-width: 60rem;
  margin-top: 1rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.hero--service .hero__container {
  width: 100%;
}

.hero--service .hero__content--wide {
  max-width: 46rem;
}

.hero--service .hero__eyebrow {
  display: block;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 1rem;
}

.hero--dentaria .hero__right {
  max-width: 38rem;
  margin-left: auto;
}

.hero--dentaria .hero__actions .btn {
  font-size: 1.15rem;
  padding: 1.3rem 3rem;
}

/* ---- Service Intro (tagline block) ---- */
.service-intro {
  background: linear-gradient(to bottom, var(--sisal-light), #fff);
  padding: clamp(3rem, 6vw, 7rem) clamp(1.25rem, 5vw, 5rem);
}

.service-intro__inner {
  max-width: var(--container-max-width);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  text-align: center;
  align-items: center;
}

.service-intro__header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.service-intro__tagline {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  color: var(--text-dark);
  max-width: 32ch;
}

.service-intro__desc {
  color: var(--text-muted);
  font-size: clamp(0.95rem, 1.3vw, 1.05rem);
  line-height: 1.75;
  max-width: 68ch;
}

/* ---- Service "What is it" ---- */
.service-what {
  background: var(--sisal-lightest);
  padding: clamp(3rem, 6vw, 7rem) clamp(1.25rem, 5vw, 5rem);
}

/* Alternate tone for consecutive .service-what blocks (treatment pages
   stack several of these in a row with nothing else in between), so the
   page doesn't read as one long wall of near-identical white/cream. */
.service-what--alt {
  background: var(--granny-smith-lightest);
}

/* When a .service-what section immediately follows another one with
   nothing in between (e.g. "Investimento" straight into "Quem trata cada
   especialidade"), the two blocks' top+bottom padding stack into a huge
   dead-space gap. Trim the bottom padding of the first block and the top
   padding of the second block so the pair reads as one continuous area. */
.service-what--tight-top {
  padding-top: clamp(1rem, 3vw, 2rem);
}

.service-what--tight-bottom {
  padding-bottom: clamp(1rem, 3vw, 2rem);
}

.service-what__inner {
  max-width: var(--container-max-width);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.service-what__row {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

@media (min-width: 900px) {
  .service-what__row {
    flex-direction: row;
    align-items: flex-start;
    gap: 4rem;
  }
}

.service-what__col {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  max-width: 62ch;
}

@media (min-width: 900px) {
  .service-what__col {
    flex: 1.1;
  }
}

/* A lone .service-what__col with no .service-what__row (most of the
   short treatment-page text blocks) used to hug the left edge inside the
   full-width section, leaving a large empty slab on the right. Widening
   it a little and centering it distributes that space evenly instead. */
.service-what__inner > .service-what__col {
  max-width: 74ch;
  align-self: center;
}

/* Two-column split for a section with a shared title/badge above and two
   independent paragraphs below (used where there's enough content to
   fill both sides instead of one narrow strip of text). */
.service-what__header {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  max-width: 62ch;
  align-self: center;
  width: 100%;
}

.service-what__row--split {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  align-self: center;
  width: 100%;
}

@media (min-width: 800px) {
  .service-what__row--split {
    flex-direction: row;
    gap: 3.5rem;
  }
}

.service-what__row--split .service-what__col--split {
  flex: 1;
  min-width: 0;
}

/* "At a glance" stat cards: pulls concrete numbers (session count,
   frequency, etc.) out of a paragraph so they can be scanned instead of
   read - used on treatment pages where the copy already states specific
   figures. White cards with a soft border/shadow so they read clearly on
   both a plain white section and a tinted --alt section. */
.service-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.75rem;
}

.service-stats__item {
  flex: 1 1 11rem;
  background: var(--text-light);
  border: 1px solid var(--border-color);
  border-radius: 14px;
  padding: 1.5rem 1.25rem;
  text-align: center;
  box-shadow: 0 8px 24px rgba(11, 10, 10, 0.04);
}

.service-stats__number {
  display: block;
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  color: var(--accent-hover);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.service-stats__label {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.service-stats-note {
  margin-top: 1.25rem;
  font-size: 0.92rem;
  color: var(--text-muted);
}

/* Simple icon checklist: short, scannable "what to expect" points instead
   of one dense paragraph. */
.service-checklist {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  text-align: left;
}

.service-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
}

.service-checklist__icon {
  flex-shrink: 0;
  width: 1.6rem;
  height: 1.6rem;
  border-radius: 50%;
  background: var(--granny-smith-lightest);
  color: var(--accent-hover);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.15rem;
}

.service-checklist__icon svg {
  width: 0.85rem;
  height: 0.85rem;
}

.service-checklist span {
  padding-top: 0.1rem;
}

/* Safety / contraindications notice card: sets the important, must-read
   safety information visually apart from the surrounding descriptive
   text, without an alarming red/warning treatment - a plain card with an
   accent-colored left edge fits this clinic's calmer, premium tone. */
.service-notice {
  margin-top: 1.75rem;
  background: var(--text-light);
  border: 1px solid var(--border-color);
  border-left: 3px solid var(--accent-hover);
  border-radius: 12px;
  padding: 1.5rem 1.75rem;
  text-align: left;
}

.service-notice__intro {
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.75rem;
}

.service-notice ul {
  margin: 0 0 1rem;
  padding-left: 0;
  color: var(--text-muted);
}

.service-notice ul li {
  position: relative;
  margin-bottom: 0.35rem;
  padding-left: 1.1rem;
}

.service-notice ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background: var(--accent-hover);
}

.service-notice__note {
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.service-notice__closing {
  font-weight: 600;
  color: var(--granny-smith-darkest);
}

/* Gentle hover lift on the stat cards and the safety-notice card, so the
   page responds to the visitor rather than sitting completely flat -
   most relevant on desktop, where people researching a treatment tend to
   hover while reading. */
.service-stats__item,
.service-notice {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.service-stats__item:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(11, 10, 10, 0.08);
}

.service-notice:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(11, 10, 10, 0.07);
}

/* The safety notice's accent border draws in top-to-bottom the moment
   the card enters view, instead of just being there from the start -
   gives the safety-critical section a touch more visual weight. */
.service-notice {
  border-left-color: transparent;
  position: relative;
}

.service-notice::before {
  content: '';
  position: absolute;
  left: -1px;
  top: 0;
  width: 3px;
  height: 100%;
  background: var(--accent-hover);
  border-radius: 3px;
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

[data-reveal].reveal-visible .service-notice::before {
  transform: scaleY(1);
}

/* Checklist items land one at a time instead of fading in together as a
   block, and each checkmark draws itself in - reads as points being
   ticked off rather than a paragraph that happened to get bullets. */
.service-checklist li {
  opacity: 0;
  transform: translateY(0.6rem);
}

[data-reveal].reveal-visible .service-checklist li {
  animation: service-checklist-in 0.5s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

[data-reveal].reveal-visible .service-checklist li:nth-child(1) { animation-delay: 0.05s; }
[data-reveal].reveal-visible .service-checklist li:nth-child(2) { animation-delay: 0.2s; }
[data-reveal].reveal-visible .service-checklist li:nth-child(3) { animation-delay: 0.35s; }
[data-reveal].reveal-visible .service-checklist li:nth-child(4) { animation-delay: 0.5s; }
[data-reveal].reveal-visible .service-checklist li:nth-child(5) { animation-delay: 0.65s; }

@keyframes service-checklist-in {
  to { opacity: 1; transform: translateY(0); }
}

.service-checklist__icon svg polyline {
  stroke-dasharray: 24;
  stroke-dashoffset: 24;
}

[data-reveal].reveal-visible .service-checklist__icon svg polyline {
  animation: service-checkmark-draw 0.35s ease forwards;
}

[data-reveal].reveal-visible .service-checklist li:nth-child(1) .service-checklist__icon svg polyline { animation-delay: 0.3s; }
[data-reveal].reveal-visible .service-checklist li:nth-child(2) .service-checklist__icon svg polyline { animation-delay: 0.45s; }
[data-reveal].reveal-visible .service-checklist li:nth-child(3) .service-checklist__icon svg polyline { animation-delay: 0.6s; }
[data-reveal].reveal-visible .service-checklist li:nth-child(4) .service-checklist__icon svg polyline { animation-delay: 0.75s; }
[data-reveal].reveal-visible .service-checklist li:nth-child(5) .service-checklist__icon svg polyline { animation-delay: 0.9s; }

@keyframes service-checkmark-draw {
  to { stroke-dashoffset: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .service-checklist li,
  .service-notice::before {
    animation: none !important;
    transition: none !important;
    opacity: 1;
    transform: none;
  }
  .service-checklist__icon svg polyline {
    stroke-dashoffset: 0;
  }
}

/* Small, contained video frame - a second, supporting appearance of the
   treatment video alongside descriptive text (e.g. the "what to expect
   on the day" section), sized to read as illustration rather than a
   wall-to-wall backdrop like the hero. */
.service-video__frame {
  width: 100%;
  max-width: 30rem;
  aspect-ratio: 16 / 10;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 20px 45px rgba(11, 10, 10, 0.12);
  border: 1px solid var(--border-color);
}

.service-video__frame video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* When the frame sits in a two-column .service-what__row--split as the
   right-hand column (text on the left, video on the right), center it
   within its column instead of stretching to the column's full width. */
.service-what__col--video {
  display: flex;
  justify-content: center;
}

@media (min-width: 900px) {
  .service-what__col--video {
    justify-content: flex-start;
  }
}

/* Moving note banner: a short, important one-line note (e.g. "this
   treatment is never a starting point") gets pulled out of the normal
   paragraph flow entirely and treated as a continuous, large-type ticker
   across a full-width colored strip - impossible to skim past the way a
   line of body text can be. The content repeats twice back-to-back in
   two identical, equal-width groups so the loop is seamless; the second
   group is a visual-only duplicate and is hidden from screen readers. */
.service-note-banner {
  background: var(--granny-smith-darkest);
  overflow: hidden;
  padding: clamp(1.5rem, 3.5vw, 2.5rem) 0;
}

.service-note-banner__track {
  display: flex;
  width: max-content;
  animation: service-note-marquee 20s linear infinite;
}

.service-note-banner__group {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.service-note-banner__item {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  font-weight: 600;
  font-size: clamp(1.05rem, 1.9vw, 1.6rem);
  letter-spacing: 0.01em;
  color: var(--text-light);
  white-space: nowrap;
  padding: 0 1.5rem;
}

.service-note-banner__sep {
  flex-shrink: 0;
  color: var(--accent);
  font-size: clamp(1.05rem, 1.9vw, 1.6rem);
}

@keyframes service-note-marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.service-note-banner:hover .service-note-banner__track {
  animation-play-state: paused;
}

@media (prefers-reduced-motion: reduce) {
  .service-note-banner__track {
    animation: none;
  }
  .service-note-banner__group[aria-hidden="true"] {
    display: none;
  }
  .service-note-banner__track {
    width: 100%;
    justify-content: center;
    text-align: center;
  }
  .service-note-banner__item {
    white-space: normal;
  }
}

.service-what__title {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
}

.service-what__body p {
  color: var(--text-muted);
  font-size: clamp(0.95rem, 1.3vw, 1.05rem);
  line-height: 1.8;
  margin-bottom: 1.1rem;
}

.service-what__body p:last-child {
  margin-bottom: 0;
}

.service-what__note {
  background: var(--granny-smith-lighter);
  border-left: 3px solid var(--accent);
  border-radius: 0.5rem;
  padding: 1.25rem 1.5rem;
  font-size: 0.9rem;
  color: var(--text-dark);
  line-height: 1.7;
  max-width: 62ch;
}

.service-what__note--divider {
  max-width: 100%;
  width: 100%;
  border-left: none;
  border-top: 3px solid var(--accent);
  border-radius: 0;
  padding: 1.5rem 0 0;
  background: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 0.5rem;
  align-items: baseline;
}

.service-what__note--divider strong {
  flex-shrink: 0;
}

.service-what__image {
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  background-color: var(--granny-smith-lighter);
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (min-width: 900px) {
  .service-what__image {
    flex: 1;
    align-self: flex-start;
    aspect-ratio: 4 / 3;
  }
}

.service-what__image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.service-what__image--placeholder {
  flex-direction: column;
  gap: 0.6rem;
}

.service-what__image--placeholder .service-what__image-icon {
  width: 2.5rem;
  height: 2.5rem;
}

.service-what__image-label {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--granny-smith-dark);
  text-align: center;
  padding: 0 1rem;
}

/* ---- Infinity Steps (prevenção) ---- */
.infinity-steps {
  padding: clamp(3rem, 6vw, 7rem) 0;
  background: var(--sisal-lightest);
  overflow: hidden;
}

.infinity-steps__container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.infinity-steps__ribbon-wrap {
  display: none;
  position: relative;
  width: 100%;
}

@media (min-width: 900px) {
  .infinity-steps__ribbon-wrap {
    display: block;
  }
}

/* Decorative variant: shape only, no text labels, visible at every breakpoint */
.infinity-steps__ribbon-wrap--decorative {
  display: block;
}

.infinity-steps__ribbon {
  width: 100%;
  height: auto;
  display: block;
}

.infinity-steps__label {
  position: absolute;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.15rem;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  font-family: inherit;
  z-index: 1;
}

.infinity-steps__title {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-dark);
  white-space: nowrap;
  text-align: center;
}

.infinity-steps__label--2 .infinity-steps__title,
.infinity-steps__label--4 .infinity-steps__title {
  color: var(--text-light);
}

.infinity-steps__plus {
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  background: var(--text-light);
  border: 1px solid var(--border-color);
  color: var(--text-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  margin-top: 0.25rem;
  transition: var(--transition-fast);
}

.infinity-steps__label:hover .infinity-steps__plus {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  transform: scale(1.1);
}

.infinity-steps__badge {
  position: absolute;
  transform: translate(-50%, -50%);
  z-index: 2;
  width: 4.25rem;
  height: 4.25rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  border: 3px solid var(--sisal-lightest);
  box-shadow: 0 6px 16px rgba(11, 10, 10, 0.15);
  pointer-events: none;
}

/* Mobile horizontal scroll fallback */
.infinity-steps__scroll {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

@media (min-width: 900px) {
  .infinity-steps__scroll {
    display: none;
  }
}

.infinity-steps__scroll-item {
  flex: 0 0 auto;
  scroll-snap-align: start;
  width: 11rem;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  padding: 1.5rem 1.25rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.35rem;
  font-family: inherit;
}

.infinity-steps__scroll-item .infinity-steps__num {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1;
  color: inherit;
  opacity: 0.7;
}

.infinity-steps__scroll-item .infinity-steps__title {
  color: inherit;
}

.infinity-steps__scroll-item .infinity-steps__plus {
  align-self: flex-end;
  margin-top: 1rem;
}

/* Modal */
.infinity-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.infinity-modal.is-open {
  display: flex;
}

.infinity-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(11, 10, 10, 0.6);
  backdrop-filter: blur(4px);
}

.infinity-modal__dialog {
  position: relative;
  background: var(--text-light);
  border-radius: 16px;
  max-width: 40rem;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

.infinity-modal__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 1;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-dark);
}

.infinity-modal__image {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.infinity-modal__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.infinity-modal__body {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  align-items: flex-start;
}

.infinity-modal__title {
  font-size: 1.5rem;
}

.infinity-modal__desc {
  color: var(--text-muted);
  line-height: 1.65;
}

.cards__header-split {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: flex-start;
}

@media (min-width: 768px) {
  .cards__header-split {
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 2rem;
  }
}

.cards__header-image {
  width: 100%;
  max-width: 32rem;
  aspect-ratio: 16 / 10;
  border-radius: 12px;
  overflow: hidden;
  background-color: var(--granny-smith-lighter);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.cards__header-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.cards--how {
  background: var(--granny-smith-lighter);
  position: relative;
  z-index: 2;
}

.cards--treatments {
  background: linear-gradient(160deg, var(--granny-smith-lighter) 0%, #d8e6e5 100%);
}

.cards--treatments .card__index {
  background: var(--accent);
  color: #fff;
}

.cards--treatments .card:hover .card__index {
  background: var(--accent-hover);
}

.steps-circles {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  padding-top: 1rem;
}

@media (min-width: 800px) {
  .steps-circles {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    padding-top: 2rem;
  }
}

.steps-circles__arrows {
  display: none;
}

@media (min-width: 800px) {
  .steps-circles__arrows {
    display: block;
    position: absolute;
    top: -1.5rem;
    left: 0;
    width: 100%;
    height: 18.75rem;
    pointer-events: none;
    z-index: 2;
  }
}

.steps-circles__arrow-path {
  stroke: var(--sisal-dark);
  opacity: 0.6;
  transition: stroke 0.3s ease, opacity 0.3s ease;
}

.steps-circles__arrowhead-fill {
  fill: var(--sisal-dark);
  transition: fill 0.3s ease;
}

.steps-circles__arrow-path.is-active {
  stroke: var(--accent);
  opacity: 1;
}

.steps-circles__arrowhead-fill.is-active {
  fill: var(--accent);
}

.steps-circles__item {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1rem;
  max-width: 16rem;
  margin: 0 auto;
}

.steps-circles__circle {
  position: relative;
  width: 11rem;
  height: 11rem;
  border-radius: 50%;
  background: var(--sisal-lightest);
  border: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 1.5rem;
  transition: var(--transition-smooth);
}

.steps-circles__item:nth-of-type(2) .steps-circles__circle {
  background: var(--granny-smith-lightest);
}

.steps-circles__item:nth-of-type(3) .steps-circles__circle {
  background: #eaf2ee;
}

.steps-circles__item:nth-of-type(4) .steps-circles__circle {
  background: var(--sisal-lightest);
}

.steps-circles__item:nth-of-type(5) .steps-circles__circle {
  background: var(--granny-smith-lightest);
}

.steps-circles__item:hover .steps-circles__circle {
  border-color: var(--accent);
  box-shadow: 0 8px 24px rgba(60, 173, 169, 0.15);
}

.steps-circles__num {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -55%);
  font-family: var(--font-serif);
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--text-dark);
  opacity: 0.08;
  z-index: 0;
  line-height: 1;
}

.steps-circles__circle-title {
  position: relative;
  z-index: 1;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-dark);
  line-height: 1.3;
}

.steps-circles__plus {
  position: relative;
  z-index: 1;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  background: var(--granny-smith-darkest);
  color: var(--text-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  margin-top: 0.25rem;
  margin-bottom: 1.5rem;
}

.steps-circles__desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.steps-circles--5 .steps-circles__circle,
.steps-circles--4 .steps-circles__circle {
  width: 7.5rem;
  height: 7.5rem;
  padding: 0.5rem;
}

.steps-circles--5 .steps-circles__num,
.steps-circles--4 .steps-circles__num {
  position: static;
  transform: none;
  font-size: 1.8rem;
  color: var(--accent);
  opacity: 1;
  margin-bottom: 0.15rem;
}

.steps-circles--5 .steps-circles__circle-title,
.steps-circles--4 .steps-circles__circle-title {
  font-size: 0.75rem;
}

.steps-circles--5 .steps-circles__desc,
.steps-circles--4 .steps-circles__desc {
  font-size: 0.7rem;
}

.steps-circles--5 .steps-circles__item,
.steps-circles--4 .steps-circles__item {
  gap: 0.5rem;
}

@media (min-width: 800px) {
  .steps-circles--5 .steps-circles__item {
    max-width: 11.5rem;
  }
  .steps-circles--4 .steps-circles__item {
    max-width: 13rem;
  }
}

.steps-circles--5 .steps-circles__plus,
.steps-circles--4 .steps-circles__plus {
  position: relative;
  cursor: pointer;
}

.steps-circles--5 .steps-circles__popup,
.steps-circles--4 .steps-circles__popup {
  position: absolute;
  bottom: calc(100% + 8.6rem);
  left: 50%;
  transform: translate(-50%, -6px);
  width: min(15rem, 80vw);
  background: #fff;
  border-radius: 0.75rem;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 5;
}

.steps-circles__popup-img {
  display: block;
  width: 100%;
  height: 7rem;
  object-fit: cover;
  border-radius: 0.75rem 0.75rem 0 0;
}

.steps-circles__popup-text {
  display: block;
  padding: 0.85rem 1rem;
  font-size: 0.85rem;
  line-height: 1.5;
  color: var(--text-dark);
  text-align: left;
}

.steps-circles--5 .steps-circles__popup::before,
.steps-circles--4 .steps-circles__popup::before {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  border-width: 6px 6px 0 6px;
  border-style: solid;
  border-color: #fff transparent transparent transparent;
}

.steps-circles--5 .steps-circles__plus.is-open .steps-circles__popup,
.steps-circles--4 .steps-circles__plus.is-open .steps-circles__popup {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.steps-circles--5 .steps-circles__arrows,
.steps-circles--4 .steps-circles__arrows {
  top: -0.5rem;
  height: 10rem;
}

.steps-circles--5 .steps-circles__circle.is-lit,
.steps-circles--4 .steps-circles__circle.is-lit {
  border-color: var(--accent);
  box-shadow: 0 8px 24px rgba(60, 173, 169, 0.25);
}

.cards--benefits {
  background: var(--sisal-lightest);
}

.cards__inner {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: var(--section-padding) var(--container-padding);
  display: flex;
  flex-direction: column;
  gap: clamp(2rem, 4vw, 3.5rem);
}

.cards__header {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 46ch;
}

.cards__header--center {
  align-items: center;
  text-align: center;
  margin: 0 auto;
}

.cards__eyebrow {
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--accent-hover);
}

.cards__title {
  font-size: clamp(1.6rem, 3vw, 2.35rem);
}

.cards__desc {
  color: var(--text-muted);
  font-size: clamp(0.95rem, 1.3vw, 1.05rem);
  line-height: 1.7;
}

/* Placeholder block for images pending upload */
.media-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0.5rem;
  background-color: var(--granny-smith-lighter);
  border: 2px dashed var(--granny-smith-light);
  border-radius: 12px;
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 500;
  text-align: center;
  padding: 2rem;
}

.media-placeholder svg {
  opacity: 0.5;
}

.cards__list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .cards__list {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .cards__list {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }
}

.card {
  background: #fff;
  border-radius: 1.25rem;
  padding: clamp(1.75rem, 3vw, 2.25rem);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  transition: var(--transition-smooth);
  border: 1px solid var(--border-color);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(11, 10, 10, 0.08);
}

.card__index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  background: var(--granny-smith-lighter);
  color: var(--accent-hover);
  font-family: var(--font-serif);
  font-size: 1.1rem;
}

.cards--benefits .card__index {
  background: var(--granny-smith-lightest);
  color: var(--accent-hover);
}

.card__title {
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  font-weight: 500;
  font-family: var(--font-family);
  color: var(--text-dark);
}

.cards--benefits .card__title {
  color: var(--accent-hover);
}

.card__desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ---- Service Applications ---- */
.service-applications {
  background: var(--granny-smith-darkest);
  color: var(--text-light);
  padding: clamp(3rem, 6vw, 7rem) clamp(1.25rem, 5vw, 5rem);
}

.service-applications__inner {
  max-width: var(--container-max-width);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.service-applications__header {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 56ch;
}

.service-applications__title {
  color: var(--text-light);
}

.service-applications__desc {
  color: rgba(255, 255, 255, 0.75);
  font-size: clamp(0.95rem, 1.3vw, 1.05rem);
  line-height: 1.75;
}

.applications-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.applications-list__item {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  border-radius: 0.4rem;
  padding: 0.6rem 1.1rem;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.05);
}

.applications-list__item::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

/* Specialty menu: a quiet, editorial list - plain serif type, no bullets,
   no accent/link color, rows separated only by a thin hairline. Reads like
   a clinic directory or menu, not a set of buttons. Most items are real
   links to the matching "Somos especialistas em" / treatment page, but
   they stay visually identical to the plain (non-linked) items at rest -
   the only sign of interactivity is a quiet brighten-and-underline on
   hover/focus, never a link color. Two columns on desktop, one on narrow
   screens. */
.specialty-menu {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: clamp(2rem, 5vw, 4rem);
  max-width: 900px;
  margin: 0 auto;
}

.specialty-menu__item {
  display: block;
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 1.08rem;
  letter-spacing: 0.01em;
  color: rgba(255, 255, 255, 0.85);
  padding: 0.95rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  text-decoration: none;
  transition: color 0.2s ease, border-color 0.2s ease;
}

a.specialty-menu__item:hover,
a.specialty-menu__item:focus-visible {
  color: #fff;
  border-bottom-color: rgba(255, 255, 255, 0.55);
}

.specialty-menu__item--plain {
  cursor: default;
}

@media (max-width: 760px) {
  .specialty-menu {
    grid-template-columns: 1fr;
  }
}

/* ---- Related Services (reuses .services-grid / .service-card visuals) ---- */
.related-services {
  background: var(--sisal-lighter);
}

/* ---- Steps Section (numbered grid with circular badges + inline expand panel) ---- */
.steps-modal-section {
  padding: var(--section-padding) 0;
}

.steps-modal-section__grid {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 var(--container-padding);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

@media (min-width: 900px) {
  .steps-modal-section__grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.steps-modal-section__item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-align: left;
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: 0.75rem;
  padding: 1rem 1.1rem;
  cursor: pointer;
  transition: var(--transition-fast);
  font-family: inherit;
}

.steps-modal-section__item:hover {
  border-color: var(--accent);
}

.steps-modal-section__item.is-active {
  border-color: var(--accent);
  background: var(--granny-smith-lighter);
}

.steps-modal-section__number {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  border: 1px solid var(--accent);
  color: var(--accent);
  font-family: var(--font-serif);
  font-size: 1.1rem;
  transition: var(--transition-fast);
}

.steps-modal-section__item.is-active .steps-modal-section__number {
  background: var(--accent);
  color: var(--text-light);
}

.steps-modal-section__title {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-dark);
}

.steps-modal-section__panel {
  max-width: var(--container-max-width);
  margin: 1.5rem auto 0;
  padding: 0 var(--container-padding);
}

.steps-modal-section__panel-inner {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  background: var(--sisal-lightest);
  border-radius: 1rem;
  padding: 1.75rem;
}

@media (min-width: 768px) {
  .steps-modal-section__panel-inner {
    flex-direction: row;
    align-items: center;
    gap: 2.5rem;
    padding: 2rem;
  }
}

.steps-modal-section__panel-image {
  flex: 0 0 40%;
  border-radius: 0.75rem;
  overflow: hidden;
  aspect-ratio: 16 / 10;
}

.steps-modal-section__panel-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.steps-modal-section__panel-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.steps-modal-section__panel-number {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  color: var(--accent);
}

.steps-modal-section__panel-title {
  font-size: clamp(1.3rem, 2.5vw, 1.75rem);
}

.steps-modal-section__panel-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

.steps-modal-section__panel-cta {
  align-self: flex-start;
}

/* Active nav link */
.header__link--active {
  color: var(--accent);
  font-weight: 500;
}

.header__mobile-link--active {
  color: var(--accent);
}

/* ---- Section Intro ---- */
.section-intro {
  background: linear-gradient(to bottom, var(--sisal-light), #fff);
  padding: clamp(3rem, 6vw, 7rem) clamp(1.25rem, 5vw, 5rem);
}

.section-intro__inner {
  max-width: var(--container-max-width);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.section-intro__header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.section-intro__tagline {
  font-size: clamp(1rem, 1.5vw, 1.125rem);
  color: var(--text-dark);
}

.section-intro__body {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.section-intro__title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3.5rem);
  color: var(--text-dark);
  font-weight: 400;
}

.section-intro__desc {
  color: var(--text-dark);
  font-size: clamp(0.9rem, 1.5vw, 1rem);
  line-height: 1.75;
  max-width: 72ch;
}

@media (min-width: 1024px) {
  .section-intro__body {
    flex-direction: row;
    gap: 4rem;
    align-items: flex-start;
  }

  .section-intro__title {
    flex: 1;
  }

  .section-intro__desc {
    flex: 1;
  }
}

.section-intro__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 0.5rem;
}

/* Contact page: info list + map */
.contact-section {
  padding: var(--section-padding) clamp(1.25rem, 5vw, 5rem);
  background: #fff;
}

.contact-section__inner {
  max-width: var(--container-max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

@media (min-width: 900px) {
  .contact-section__inner {
    grid-template-columns: 1fr 1.1fr;
    gap: 3rem;
    align-items: stretch;
  }
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.contact-info-item__icon {
  flex-shrink: 0;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-info-item__label {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
}

.contact-info-item__value {
  display: block;
  font-size: 1.05rem;
  color: var(--text-dark);
  line-height: 1.5;
  transition: var(--transition-fast);
}

a.contact-info-item__value:hover {
  color: var(--accent);
}

.contact-info-item__note {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.15rem;
}

.contact-map {
  min-height: 20rem;
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border-color);
}

.contact-map iframe {
  display: block;
}

/* Contact page: form */
.contact-form-section {
  padding: var(--section-padding) clamp(1.25rem, 5vw, 5rem);
  background: var(--granny-smith-lighter);
}

.contact-form-section__inner {
  max-width: 48rem;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  background: #fff;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  border-radius: 12px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.06);
}

.contact-form__row {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

@media (min-width: 600px) {
  .contact-form__row {
    flex-direction: row;
  }

  .contact-form__row .contact-form__field {
    flex: 1;
  }
}

.contact-form__field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.contact-form__label {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-dark);
}

.contact-form__optional {
  font-weight: 400;
  color: var(--text-muted);
}

.contact-form__input,
.contact-form__textarea {
  background: var(--sisal-lightest);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 0.85rem 1rem;
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--text-dark);
  transition: var(--transition-fast);
}

.contact-form__textarea {
  resize: vertical;
  min-height: 8rem;
}

.contact-form__input:focus,
.contact-form__textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: #fff;
}

.contact-form__input::placeholder,
.contact-form__textarea::placeholder {
  color: var(--text-muted);
}

.contact-form__submit {
  align-self: flex-start;
}

/* FAQ accordion */
.faq-section {
  padding: var(--section-padding) clamp(1.25rem, 5vw, 5rem);
  background: #fff;
}

.faq-section__inner {
  max-width: 52rem;
  margin: 0 auto;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq-item {
  border: 1px solid var(--border-color);
  border-radius: 10px;
  overflow: hidden;
  background: var(--sisal-lightest);
}

.faq-item__question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 1.4rem;
  background: none;
  border: none;
  text-align: left;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-dark);
  cursor: pointer;
}

.faq-item__icon {
  flex-shrink: 0;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  line-height: 1;
  transition: transform 0.3s ease;
}

.faq-item__question[aria-expanded="true"] .faq-item__icon {
  transform: rotate(45deg);
}

.faq-item__answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.3s ease;
}

.faq-item__question[aria-expanded="true"] + .faq-item__answer {
  grid-template-rows: 1fr;
}

.faq-item__answer-inner {
  overflow: hidden;
}

.faq-item__answer p {
  padding: 0 1.4rem 1.25rem;
  color: var(--text-muted);
  line-height: 1.7;
  font-size: 0.95rem;
}

/* ---- Steps Section ---- */
/* ==========================================================================
   Sub-Page Components (Prevenção / Tratamento)
   ========================================================================== */

.steps {
  position: relative;
  background-color: var(--sisal-lightest);
  background-image:
    radial-gradient(ellipse 55% 45% at 10% 15%, rgba(60, 173, 169, 0.14) 0%, transparent 60%),
    radial-gradient(ellipse 45% 55% at 90% 30%, rgba(214, 187, 143, 0.22) 0%, transparent 65%),
    radial-gradient(ellipse 50% 50% at 20% 85%, rgba(60, 173, 169, 0.12) 0%, transparent 65%),
    radial-gradient(ellipse 40% 40% at 85% 90%, rgba(214, 187, 143, 0.18) 0%, transparent 70%);
  background-attachment: fixed;
  padding: clamp(2rem, 4vw, 4rem) 0;
}

.step-item {
  position: sticky;
  top: 22vh;
  overflow: hidden;
  margin: 0 auto;
  max-width: var(--container-max-width);
  padding: clamp(2rem, 4vw, 3.5rem) clamp(1.5rem, 5vw, 3.5rem);
  margin-bottom: 3rem;
  border-radius: 1.5rem;
  background-color: var(--sisal-lightest);
}

.steps .step-item:last-of-type {
  position: relative;
  top: auto;
  margin-bottom: 2rem;
}

.step-item--2,
.step-item--4 {
  background-color: var(--sisal-light);
}

.step-item__glow {
  position: absolute;
  width: 22rem;
  height: 22rem;
  border-radius: 50%;
  top: -8rem;
  right: -6rem;
  background: radial-gradient(circle, rgba(60, 173, 169, 0.25) 0%, transparent 70%);
  filter: blur(30px);
  pointer-events: none;
  z-index: 0;
}

.step-item__inner {
  position: relative;
  z-index: 1;
}

.step-item__toggle {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  width: 100%;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
}

.step-item__header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.step-item__label {
  font-size: 0.875rem;
  color: var(--text-dark);
  opacity: 0.6;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.step-item__toggle .step-item__title {
  flex: 1;
  margin: 0;
}

.step-item__chevron {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background-color: rgba(11, 10, 10, 0.05);
  color: var(--text-dark);
  flex-shrink: 0;
}

.step-item__panel {
  display: grid;
  grid-template-rows: 0fr;
}

.step-item__panel-inner {
  overflow: hidden;
}

.step-item__row {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding-top: 2rem;
}

@media (min-width: 1024px) {
  .step-item__row {
    flex-direction: row;
    gap: 3rem;
    align-items: center;
  }

  .step-item__body {
    flex: 1;
  }

  .step-item__image {
    flex: 1;
  }
}

.step-item__title {
  font-family: var(--font-family);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  color: var(--text-dark);
  font-weight: 300;
}

.step-item__body {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.step-item__desc {
  font-size: clamp(1rem, 1.5vw, 1.125rem);
  color: var(--text-dark);
  line-height: 1.6;
  max-width: 52ch;
}

.step-item__image {
  width: 100%;
  border-radius: 1rem;
  overflow: hidden;
}

.step-item__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.btn--ghost-dark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  padding: 0.7rem 1.75rem;
  border-radius: 9999px;
  background-color: rgba(11, 10, 10, 0.05);
  color: var(--text-dark);
  font-size: 1rem;
  font-weight: 500;
  text-transform: none;
  letter-spacing: normal;
  transition: var(--transition-fast);
}

.btn--ghost-dark:hover {
  background-color: rgba(11, 10, 10, 0.1);
}

@media (min-width: 1024px) {
  .step-item {
    border-radius: 1.5rem;
    padding: clamp(2.5rem, 4vw, 4rem) clamp(2.5rem, 5vw, 5rem);
    margin-bottom: 2.5rem;
  }

  .step-item__inner {
    gap: 3rem;
  }

  .step-item__content {
    flex-direction: row;
    gap: 5rem;
    align-items: flex-start;
  }

  .step-item__title {
    flex: 1;
  }

  .step-item__body {
    flex: 1;
  }

  .step-item__image {
    max-height: 300px;
    max-width: 560px;
  }
}

/* ---- Services Grid & Carousel ---- */
.services-grid {
  background: var(--granny-smith-lighter);
  padding: clamp(3rem, 6vw, 7rem) 0;
}

.services-grid__inner {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 5vw, 2rem);
  display: flex;
  flex-direction: column;
  gap: clamp(1.5rem, 3vw, 2.5rem);
}

.services-grid__header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  width: 100%;
}

@media (min-width: 640px) {
  .services-grid__header {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
  .services-grid__title {
    text-align: left;
    margin: 0;
  }
}

.services-grid__title {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 3vw, 2.75rem);
  color: var(--text-dark);
  font-weight: 400;
  text-align: center;
  max-width: 42ch;
  margin: 0 auto;
}

.services-grid__nav {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.services-grid__arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  border: 1.5px solid var(--granny-smith-dark, #2b3a34);
  background-color: var(--card-bg, #ffffff);
  color: var(--granny-smith-dark, #2b3a34);
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.services-grid__arrow:hover {
  background-color: var(--granny-smith-dark, #2b3a34);
  color: #ffffff;
  border-color: var(--granny-smith-dark, #2b3a34);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}

.services-grid__arrow:active {
  transform: translateY(0);
}

.services-grid__list {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  gap: 1.5rem;
  padding: 0.5rem 0 1rem 0;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.services-grid__list::-webkit-scrollbar {
  display: none;
}

.services-grid__list .service-card {
  flex: 0 0 100%;
  scroll-snap-align: start;
  min-width: 0;
}

@media (min-width: 640px) {
  .services-grid__list .service-card {
    flex: 0 0 calc(50% - 0.75rem);
  }
}

@media (min-width: 1024px) {
  .services-grid__list .service-card {
    flex: 0 0 calc(33.333% - 1rem);
  }
}

/* ---- Service Card ---- */
.service-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.service-card__link {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
  color: inherit;
  transition: var(--transition-fast);
}

.service-card__link:hover .service-card__arrow {
  transform: translateX(4px);
}

.service-card__thumb {
  width: 100%;
  height: 220px;
  overflow: hidden;
  background: var(--granny-smith-lighter);
  position: relative;
}

.service-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.service-card__link:hover .service-card__thumb img {
  transform: scale(1.03);
}

.service-card__body {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding: 1.25rem 0.25rem;
  flex: 1;
}

.service-card__meta {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  flex: 1;
}

.service-card__title {
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  color: var(--text-dark);
  font-weight: 500;
  line-height: 1.4;
}

.service-card__desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.service-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-dark);
}

.service-card__arrow {
  width: 1.25rem;
  height: 1.25rem;
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

/* ---- CTA Section ---- */
.cta {
  background-color: var(--granny-smith-light);
  position: relative;
  overflow: hidden;
  padding: clamp(3rem, 6vw, 7rem) clamp(1.25rem, 5vw, 5rem);
}

.cta__inner {
  max-width: var(--container-max-width);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.cta__title {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 3vw, 3rem);
  color: var(--text-dark);
  font-weight: 400;
}

.cta__desc {
  font-size: 1rem;
  color: var(--text-dark);
  line-height: 1.7;
}

.cta__btns {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

@media (min-width: 1024px) {
  .cta__inner {
    flex-direction: row;
    gap: 5rem;
  }

  .cta__left {
    flex: 1;
  }

  .cta__right {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2rem;
  }
}

/* ---- Extra Button Variants ---- */
.btn--soft {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 1.5rem;
  border-radius: 9999px;
  background: rgba(11, 10, 10, 0.05);
  color: var(--text-dark);
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration: none;
  transition: var(--transition-fast);
  border: none;
  cursor: pointer;
  width: fit-content;
}

.btn--soft:hover {
  background: rgba(11, 10, 10, 0.1);
}

.btn--soft-dark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 1.5rem;
  border-radius: 9999px;
  background: rgba(11, 10, 10, 0.1);
  color: var(--text-dark);
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration: none;
  transition: var(--transition-fast);
  border: 1px solid transparent;
  cursor: pointer;
}

.btn--soft-dark:hover {
  background: rgba(11, 10, 10, 0.15);
}

.btn--ghost-white {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 1.5rem;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(4px);
  color: #fff;
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration: none;
  transition: var(--transition-fast);
  border: 1px solid transparent;
  cursor: pointer;
}

.btn--ghost-white:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* ==========================================================================
   Homepage: Duas Abordagens Section
   ========================================================================== */
.areas {
  padding: var(--section-padding) 0;
  background: var(--sisal-lightest);
}

.areas__container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 var(--container-padding);
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.areas__header {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.areas__badge-wrapper {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.areas__badge-text {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-dark);
}

.areas__title {
  font-family: var(--font-family);
  font-size: clamp(1.6rem, 3.5vw, 2.35rem);
  font-weight: 300;
  color: var(--text-dark);
  max-width: 42ch;
}

.areas__puzzle {
  display: flex;
  padding: 1rem 0;
}

.area-card {
  flex: 1;
  position: relative;
  opacity: 0;
  min-height: 420px;
}

.area-card__shape {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.area-card__content {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.area-card__badge-wrapper {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.area-card__badge-wrapper .badge {
  border-radius: 999px;
  padding: 0.5em 1.1em;
  border: 1.5px solid rgba(255, 255, 255, 0.85);
  background-color: rgba(255, 255, 255, 0.12);
}

.area-card__badge-text {
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
}

.area-card--medical .area-card__content {
  padding: clamp(2rem, 4vw, 2.75rem) calc(clamp(2rem, 4vw, 2.75rem) + 1rem) clamp(2rem, 4vw, 2.75rem) clamp(2rem, 4vw, 2.75rem);
}

.area-card--dental {
  margin-left: -2px;
}

.area-card--dental .area-card__content {
  padding: clamp(2rem, 4vw, 2.75rem) clamp(2rem, 4vw, 2.75rem) clamp(2rem, 4vw, 2.75rem) calc(clamp(2rem, 4vw, 2.75rem) + 1rem);
}

.area-card__title {
  font-family: var(--font-serif);
  font-size: clamp(1.15rem, 2.4vw, 1.5rem);
  font-weight: 400;
  color: var(--text-light);
}

.area-card__desc {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.65;
  max-width: 40ch;
}

.area-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: auto;
}

.area-card__actions .btn {
  flex: 0 0 auto;
}

.area-card--dental .area-card__actions .btn--accent:hover {
  background-color: var(--accent-hover);
  color: var(--text-light);
  border-color: var(--accent-hover);
}

.areas__container.reveal-visible .area-card--medical {
  animation: settleLeft 1s cubic-bezier(0.25, 1, 0.5, 1) forwards, breatheLeft 6s ease-in-out 1.4s infinite;
}

.areas__container.reveal-visible .area-card--dental {
  animation: settleRight 1s cubic-bezier(0.25, 1, 0.5, 1) forwards, breatheRight 6s ease-in-out 1.4s infinite;
}

@keyframes settleLeft {
  from { opacity: 0; transform: translateX(-10px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes settleRight {
  from { opacity: 0; transform: translateX(10px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes breatheLeft {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(-2px); }
}

@keyframes breatheRight {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(2px); }
}

@media (prefers-reduced-motion: reduce) {
  .areas__container.reveal-visible .area-card--medical,
  .areas__container.reveal-visible .area-card--dental {
    animation: none;
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 767px) {
  .areas__puzzle {
    flex-direction: column;
    gap: 2.5rem;
  }
  .area-card {
    min-height: 0;
  }
  .area-card__shape {
    display: none;
  }
  .area-card--medical {
    background: var(--accent);
    border-radius: 12px;
  }
  .area-card--dental {
    background: var(--granny-smith-darkest);
    border-radius: 12px;
    margin-left: 0;
  }
  .area-card--medical .area-card__content,
  .area-card--dental .area-card__content {
    padding: 2rem;
  }
}

/* ==========================================================================
   Homepage: Stats / Outcomes Section
   ========================================================================== */
.stats {
  padding: var(--section-padding) 0;
  background-color: var(--granny-smith-lighter);
}

.stats__container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 var(--container-padding);
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.stats__header {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  max-width: 62ch;
}

.stats__badge-wrapper {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.stats__badge-text {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-dark);
}

.stats__intro {
  font-size: clamp(1rem, 1.5vw, 1.125rem);
  color: var(--text-dark);
  line-height: 1.7;
  font-weight: 300;
}

.stats__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 640px) {
  .stats__grid {
    grid-template-columns: 1.15fr 1fr 1fr;
    grid-template-rows: repeat(2, minmax(14rem, 1fr));
    gap: 2rem;
  }

  .stat-item--featured {
    grid-row: 1 / span 2;
    grid-column: 1;
  }
}

.stat-item {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 0.5rem;
  padding: 2rem;
  border-radius: 8px;
  min-height: 16rem;
  overflow: hidden;
}

.stat-item--light {
  background-color: var(--granny-smith-lighter);
}

.stat-item--dark {
  background-color: var(--granny-smith-darker);
}

.stat-item--dark .stat-item__number,
.stat-item--dark .stat-item__label {
  color: var(--text-light);
}

.stat-item--dark .stat-item__desc {
  color: rgba(255, 255, 255, 0.75);
}

.stat-item--photo .stat-item__number,
.stat-item--photo .stat-item__label {
  color: var(--text-light);
}

.stat-item--photo .stat-item__desc {
  color: rgba(255, 255, 255, 0.75);
}

.stat-item--photo {
  background-image: linear-gradient(180deg, rgba(0,0,0,0.05) 0%, rgba(0,0,0,0.55) 100%), url('media/DSC04616-1.webp');
  background-size: cover;
  background-position: center;
}

.stat-item__icon {
  position: static;
  width: 2.25rem;
  height: 2.25rem;
  opacity: 1;
  margin-bottom: 0.5rem;
}

.stat-item__number {
  font-family: var(--font-family);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 300;
  color: var(--text-dark);
  line-height: 1;
}

.stat-item__label {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-top: 0.25rem;
}

.stat-item__desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
  max-width: 32ch;
}

/* ==========================================================================
   Homepage: NB Clinic-Inspired Components
   (Announcement bar, founder quote strip, marquee tickers, wave dividers)
   ========================================================================== */

.announcement-bar {
  background-color: var(--granny-smith-darker);
  color: var(--text-light);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 0.7rem 3rem 0.7rem 1rem;
  position: relative;
}

.announcement-bar__text {
  font-size: 0.85rem;
  margin: 0;
  text-align: center;
}

.announcement-bar__text strong {
  color: var(--accent);
  font-weight: 600;
}

.announcement-bar__close {
  position: absolute;
  right: 1.25rem;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--text-light);
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
  opacity: 0.7;
  padding: 0.25rem;
}

.announcement-bar__close:hover {
  opacity: 1;
}

/* Founder Quote Strip */
.founder-quote {
  position: relative;
  z-index: 5;
  margin-top: -4.5rem;
  padding: 0 var(--container-padding);
}

.founder-quote__container {
  max-width: 56rem;
  margin: 0 auto;
  background-color: var(--text-light);
  border-radius: 12px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
  padding: clamp(1.5rem, 4vw, 2.5rem);
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.founder-quote__photo-wrap {
  flex-shrink: 0;
}

.founder-quote__photo {
  width: clamp(4.5rem, 8vw, 6rem);
  height: clamp(4.5rem, 8vw, 6rem);
  border-radius: 50%;
  object-fit: cover;
  display: block;
  border: 2px solid var(--sisal-lighter);
}

.founder-quote__text p {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(0.95rem, 1.6vw, 1.15rem);
  color: var(--text-dark);
  line-height: 1.5;
  margin-bottom: 0.5rem;
}

.founder-quote__text cite {
  font-style: normal;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
}

@media (max-width: 640px) {
  .founder-quote__container {
    flex-direction: column;
    text-align: center;
  }
}

/* Marquee Ticker */
.marquee-ticker {
  overflow: hidden;
  width: 100%;
  background-color: var(--accent);
  padding: 1rem 0;
}

.marquee-ticker--dark {
  background-color: var(--granny-smith-darker);
}

.marquee-ticker__scroll {
  display: flex;
  width: max-content;
}

.marquee-ticker__group {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding-right: 1.25rem;
  animation: marquee-ticker-scroll 20s linear infinite;
  white-space: nowrap;
}

.marquee-ticker__group span {
  font-family: var(--font-serif);
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  color: var(--text-light);
  font-weight: 400;
}

.marquee-ticker__dot {
  color: rgba(255, 255, 255, 0.5);
  font-family: var(--font-family);
}

@keyframes marquee-ticker-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}

/* Wave Divider */
.wave-divider {
  width: 100%;
  line-height: 0;
}

.wave-divider__svg {
  display: block;
  width: 100%;
  height: 50px;
}

.wave-divider__svg--tall {
  height: 90px;
}

@media (min-width: 768px) {
  .wave-divider__svg {
    height: 70px;
  }
  .wave-divider__svg--tall {
    height: 120px;
  }
}


/* ==========================================================================
   Team Directory & Profile Pages
   ========================================================================== */

/* Page Header */
.page-header {
  position: relative;
  background-color: var(--granny-smith-darker);
  color: var(--text-light);
  overflow: hidden;
  padding-top: clamp(7.5rem, 12vw, 10rem);
  padding-bottom: clamp(3.5rem, 6vw, 5rem);
}

.page-header__ellipse {
  position: absolute;
  width: 40rem;
  height: 40rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(60, 205, 169, 0.15) 0%, rgba(60, 205, 169, 0) 70%);
  top: -20rem;
  right: -10rem;
  pointer-events: none;
  z-index: 1;
}

.page-header__container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 var(--container-padding);
  position: relative;
  z-index: 2;
}

.page-header__breadcrumb {
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  opacity: 0.8;
}

.page-header__breadcrumb a {
  color: var(--text-light);
  transition: var(--transition-fast);
}

.page-header__breadcrumb a:hover {
  color: var(--accent);
}

.page-header__breadcrumb span {
  color: rgba(255, 255, 255, 0.4);
}

.page-header__badge-wrapper {
  margin-bottom: 1.25rem;
}

.page-header__title {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 4vw, 2.75rem);
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.page-header__desc {
  font-size: clamp(0.95rem, 1.5vw, 1.1rem);
  max-width: 48rem;
  line-height: 1.6;
  opacity: 0.85;
}

/* Team Directory */
.team-directory {
  padding: var(--section-padding) 0;
  background-color: var(--sisal-lightest);
}

.team-directory__container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.team-directory__filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: flex-start;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.team-directory__filter {
  font-family: var(--font-family);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.6rem 1.2rem;
  border-radius: 2rem;
  border: 1px solid var(--border-color);
  background-color: transparent;
  color: var(--text-muted);
  transition: var(--transition-fast);
}

.team-directory__filter:hover {
  background-color: var(--granny-smith-lightest);
  color: var(--text-dark);
  border-color: var(--granny-smith-light);
}

.team-directory__filter.active {
  background-color: var(--accent);
  color: var(--text-light);
  border-color: var(--accent);
}

.team-directory__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: clamp(1.5rem, 4vw, 2.5rem);
}

.team-directory__empty {
  text-align: center;
  font-size: 1.1rem;
  color: var(--text-muted);
  padding: 4rem 0;
  display: none;
}

/* Individual Team Member Profile */
.member-hero {
  padding: var(--section-padding) 0;
  background-color: var(--sisal-lightest);
}

.member-hero__container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 var(--container-padding);
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: flex-start;
}

@media (min-width: 768px) {
  .member-hero__container {
    grid-template-columns: 1fr 1.25fr;
    align-items: center;
  }
}

.member-hero__photo-wrap {
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.04);
  background-color: var(--granny-smith-lighter);
}

.member-hero__photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.member-hero__content {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.member-hero__breadcrumb {
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-muted);
}

.member-hero__breadcrumb a {
  color: var(--text-muted);
  transition: var(--transition-fast);
}

.member-hero__breadcrumb a:hover {
  color: var(--accent);
}

.member-hero__breadcrumb span:first-of-type {
  color: var(--border-color);
}

.member-hero__badge {
  width: fit-content;
}

.member-hero__name {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 400;
  line-height: 1.2;
  color: var(--text-dark);
}

.member-hero__role {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-hover);
  margin-top: -0.5rem;
}

.member-hero__teaser {
  font-size: clamp(1.05rem, 1.8vw, 1.2rem);
  color: var(--text-dark);
  line-height: 1.7;
  font-weight: 300;
}

.member-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.5rem;
}

/* Bio Section */
.member-bio {
  padding: clamp(2.5rem, 5vw, 4.5rem) 0;
  background-color: var(--sisal-lighter);
}

.member-bio__container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.member-bio__card {
  background-color: var(--text-light);
  padding: clamp(2rem, 5vw, 4rem);
  border-radius: 1rem;
  border: 1px solid var(--border-color);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.01);
}

.member-bio__badge-wrapper {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.member-bio__badge-text {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.member-bio__text {
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--text-dark);
}

.member-hero__credential {
  margin-top: 1.25rem;
}

.member-hero__credential-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
}

.member-hero__credential-value {
  display: block;
  font-size: 1.05rem;
  color: var(--text-dark);
}

/* CV Section */
.member-cv {
  padding: var(--section-padding) 0;
  background-color: var(--sisal-lightest);
}

.member-cv__container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.member-cv__header {
  margin-bottom: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.member-cv__badge-wrapper {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.member-cv__badge-text {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.member-cv__title {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 400;
}

.member-cv__list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  max-width: 58rem;
}

.member-cv__item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-dark);
}

.member-cv__item svg {
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 0.25rem;
}

.member-cv__item span {
  flex: 1;
}

/* Team Carousel Card on Profile Pages */
.team-carousel__card {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  color: inherit;
  flex: 0 0 calc(100% - 3rem);
  scroll-snap-align: start;
}

@media (min-width: 640px) {
  .team-carousel__card {
    flex: 0 0 calc(50% - 0.75rem);
  }
}

@media (min-width: 1024px) {
  .team-carousel__card {
    flex: 0 0 calc(25% - 1.125rem);
  }
}

.team-carousel__photo {
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: 0.75rem;
  overflow: hidden;
  background: var(--granny-smith-lighter);
}

.team-carousel__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.team-carousel__card:hover .team-carousel__photo img {
  transform: scale(1.03);
}

.team-carousel__name {
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  font-weight: 400;
}

.team-carousel__role {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent-hover);
}




/* Cyclic Steps UI */
.steps-cyclic {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-top: 3rem;
  width: 100%;
}

@media (min-width: 900px) {
  .steps-cyclic {
    flex-direction: row;
    justify-content: space-between;
    gap: 1rem;
  }
}

.steps-cyclic__item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  text-align: center;
}

.steps-cyclic__circle-wrap {
  position: relative;
  width: 100%;
  max-width: 12rem;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
}

.steps-cyclic__svg {
  position: absolute;
  top: -10%;
  left: -10%;
  width: 120%;
  height: 120%;
  z-index: 1;
  pointer-events: none;
}

.steps-cyclic__circle {
  position: relative;
  width: 80%;
  height: 80%;
  background: var(--sisal-lightest);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  z-index: 2;
  padding: 1rem;
}

.steps-cyclic__item:nth-child(even) .steps-cyclic__circle {
  background: var(--granny-smith-lightest);
}

.steps-cyclic__num {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-serif);
  font-size: 5rem;
  font-weight: 700;
  color: var(--text-dark);
  opacity: 0.05;
  z-index: 0;
  line-height: 1;
}

.steps-cyclic__title {
  position: relative;
  z-index: 1;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-dark);
  line-height: 1.2;
}

.steps-cyclic__plus {
  position: absolute;
  bottom: 5%;
  left: 50%;
  transform: translateX(-50%);
  width: 2rem;
  height: 2rem;
  background: var(--text-dark);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 300;
  z-index: 3;
  cursor: pointer;
  transition: background 0.3s ease;
}

.steps-cyclic__plus:hover {
  background: var(--accent);
}

.steps-cyclic__desc {
  margin-top: 1rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.5;
  max-width: 14rem;
}

/* ---- Hero Video Captions ---- */
/* Real HTML/CSS text overlay for the hero background video's narration,
   replacing captions that used to be burned into the video file itself.
   Positioned bottom-center within the hero, well clear of the mute
   button (bottom-right) and inset from all edges so it is never clipped
   even when object-fit:cover crops the video at narrow/wide viewports.
   Visibility and content are driven by JS reading hero-video's
   currentTime (see inline script near the hero video), not by the
   video's own timeline. */
.hero-caption {
  position: absolute;
  right: 2rem;
  left: auto;
  bottom: 14rem;
  transform: none;
  z-index: 20;
  width: min(45%, 20rem);
  padding: 0.6rem 1.25rem;
  border-radius: 0.75rem;
  background-color: rgba(11, 10, 10, 0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.5;
  text-align: right;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease;
  pointer-events: none;
}

.hero-caption.is-visible {
  opacity: 1;
  visibility: visible;
}

/* Below 948px width (phones — the person's reference size is
   772 x 947), the hero content stack (title, description, buttons)
   takes up most of the screen height, so a caption floating mid-hero
   ends up overlapping text or buttons instead of sitting clear of them.
   On these narrower viewports the caption drops below the button row
   instead, anchored near the bottom of the hero. At 772 x 947 and
   above (tablets, laptops, desktop), the hero has enough room that the
   top-positioned caption never conflicts with the content column. */
@media (max-width: 947px) {
  .hero-caption {
    left: 50%;
    right: auto;
    bottom: 1.5rem;
    transform: translateX(-50%);
    width: min(92%, 30rem);
    text-align: center;
  }
}

@media (max-width: 640px) {
  .hero-caption {
    bottom: 1.25rem;
    width: 92%;
    font-size: 0.85rem;
    padding: 0.5rem 1rem;
  }
}

/* ---- Hero Video Sound Toggle ---- */
/* Video always starts muted (browser requirement for autoplay). When the
   visitor closes the weekly announcement modal, script.js treats that click
   as permission and attempts to switch the video to sound automatically.
   This button lets the visitor override that at any time. */
.hero-mute-btn {
  position: absolute;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 20;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(11, 10, 10, 0.35);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: var(--text-light);
  transition: var(--transition-fast);
  cursor: pointer;
}

.hero-mute-btn:hover {
  background-color: rgba(60, 173, 169, 0.85);
  border-color: var(--accent);
}

.hero-mute-btn__icon--unmuted {
  display: none;
}

.hero-mute-btn[aria-pressed="true"] .hero-mute-btn__icon--muted {
  display: none;
}

.hero-mute-btn[aria-pressed="true"] .hero-mute-btn__icon--unmuted {
  display: block;
}

@media (max-width: 640px) {
  .hero-mute-btn {
    bottom: 1rem;
    right: 1rem;
    width: 2.6rem;
    height: 2.6rem;
  }
}

/* ==========================================================================
   Mobile hero fixes (rebuilt 2026-07-22 after version rollback)
   On narrow screens the fixed-height hero (clamp + overflow:hidden) clips
   the stacked title/features/buttons. Let it grow to fit instead. Scoped
   to <=640px so desktop layouts are untouched.
   ========================================================================== */
@media (max-width: 640px) {
  .hero--tall,
  .hero--home {
    height: auto;
    min-height: 34rem;
  }

  .hero--tall {
    padding-top: 6.5rem;
    padding-bottom: 3rem;
  }

  .hero--home {
    padding-top: 5.5rem;
    padding-bottom: 3rem;
  }

  .hero__right .hero__actions {
    flex-wrap: wrap;
  }

  .hero--dentaria .hero__actions .btn {
    font-size: 1rem;
    padding: 0.9rem 1.6rem;
  }

  .founder-quote {
    margin-top: 1.5rem;
  }
}

/* ---- Site Search Overlay ---- */
.search-overlay {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 8vh 1.25rem 2rem;
  font-family: var(--font-family);
}

.search-overlay[aria-hidden="true"] {
  display: none;
}

.search-overlay__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(11, 10, 10, 0.55);
}

.search-overlay__panel {
  position: relative;
  z-index: 1;
  width: 640px;
  max-width: 100%;
  max-height: 78vh;
  background: var(--text-light);
  border-radius: 12px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.search-overlay__field {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1.1rem 1.25rem;
  border-bottom: 1px solid var(--border-color);
}

.search-overlay__field svg {
  flex: none;
  color: var(--text-muted);
}

.search-overlay__input {
  flex: 1;
  border: none;
  outline: none;
  font-family: var(--font-family);
  font-size: 1rem;
  color: var(--text-dark);
  background: transparent;
}

.search-overlay__close {
  flex: none;
  border: none;
  background: transparent;
  cursor: pointer;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.25rem;
  border-radius: 6px;
  transition: var(--transition-fast);
}

.search-overlay__close:hover {
  color: var(--text-dark);
  background: var(--granny-smith-lightest);
}

.search-overlay__results {
  overflow-y: auto;
  padding: 0.5rem;
}

.search-overlay__result {
  display: block;
  padding: 0.75rem 0.9rem;
  border-radius: 8px;
  text-decoration: none;
  transition: var(--transition-fast);
}

.search-overlay__result:hover,
.search-overlay__result--active {
  background: var(--granny-smith-lightest);
}

.search-overlay__result-title {
  font-family: var(--font-serif);
  font-size: 1rem;
  color: var(--text-dark);
  margin: 0 0 0.2rem;
}

.search-overlay__result-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.search-overlay__empty,
.search-overlay__hint {
  padding: 1.5rem 1.25rem;
  color: var(--text-muted);
  font-size: 0.9rem;
  text-align: center;
}

/* =========================================================
   Hero Format A — framed photo with layered color block.
   Used on institutional / service pages that previously had
   a flat text-only hero (section-intro).
   ========================================================= */
.hero-a {
  position: relative;
  background: linear-gradient(180deg, var(--sisal-light), #fdfcfb 62%);
  padding: clamp(3rem, 6vw, 6rem) clamp(1.25rem, 5vw, 5rem) 0;
  overflow: hidden;
}

.hero-a__inner {
  position: relative;
  z-index: 1;
  max-width: var(--container-max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.hero-a__header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.hero-a__tagline {
  font-size: clamp(1rem, 1.5vw, 1.125rem);
  color: var(--text-dark);
}

.hero-a__title {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(2rem, 4vw, 3.4rem);
  color: var(--text-dark);
  margin: 0 0 1.25rem;
}

.hero-a__desc {
  color: var(--text-dark);
  font-size: clamp(0.9rem, 1.5vw, 1.05rem);
  line-height: 1.75;
  max-width: 46ch;
  margin: 0 0 1.5rem;
}

.hero-a__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.hero-a__media {
  position: relative;
  width: 100%;
  max-width: 460px;
  aspect-ratio: 1 / 1;
  margin: 0 auto;
}

.hero-a__media-block {
  position: absolute;
  top: 8%;
  left: -7%;
  width: 100%;
  height: 100%;
  background: var(--sisal);
  border-radius: 28px;
}

.hero-a__media--wide {
  max-width: 620px;
  aspect-ratio: 4 / 3;
}

.hero-a__photo {
  position: absolute;
  inset: 0;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(11, 10, 10, 0.16);
  background: linear-gradient(135deg, #2d5850 0%, var(--granny-smith-darkest) 55%, #16302a 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-a__photo-icon {
  width: 22%;
  height: auto;
  opacity: 0.5;
}

.hero-a__photo-label {
  position: absolute;
  bottom: 7%;
  left: 8%;
  right: 8%;
  text-align: center;
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
}

.hero-a__wave {
  display: block;
  width: 100%;
  height: 56px;
  margin-top: clamp(2rem, 5vw, 4rem);
}

@media (max-width: 900px) {
  .hero-a__inner {
    grid-template-columns: 1fr;
  }
  .hero-a__media {
    margin-top: 1rem;
    max-width: 320px;
  }
  .hero-a__media--wide {
    max-width: 420px;
  }
  .hero-a__media-block {
    display: none;
  }
}

/* =========================================================
   Hero Format B — full color band with wave divider and a
   circular framed photo overlapping the seam.
   ========================================================= */
.hero-b {
  position: relative;
  background: var(--sisal-lightest);
  overflow: hidden;
}

.hero-b__band {
  position: relative;
  background: var(--granny-smith-darkest);
  padding: clamp(3rem, 6vw, 6rem) clamp(1.25rem, 5vw, 5rem) clamp(5rem, 9vw, 8rem);
  overflow: hidden;
}

.hero-b__dots {
  position: absolute;
  inset: 0;
  opacity: 0.08;
  pointer-events: none;
}

.hero-b__inner {
  position: relative;
  z-index: 1;
  max-width: var(--container-max-width);
  margin: 0 auto;
}

.hero-b__header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.hero-b__header .badge {
  border-color: rgba(255, 255, 255, 0.5);
  color: #fff;
}

.hero-b__tagline {
  color: var(--sisal-light);
  font-size: clamp(1rem, 1.5vw, 1.125rem);
}

.hero-b__title {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(2rem, 4vw, 3.2rem);
  color: #fff;
  margin: 0 0 1.25rem;
}

.hero-b__desc {
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(0.9rem, 1.5vw, 1.05rem);
  line-height: 1.75;
  max-width: 44ch;
  margin: 0 0 1.5rem;
}

.hero-b__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.hero-b__actions .btn--ghost-light {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.55);
}

.hero-b__actions .btn--ghost-light:hover {
  background: rgba(255, 255, 255, 0.12);
}

.hero-b__wave {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  width: 100%;
  height: clamp(56px, 9vw, 100px);
}

.hero-b__photo {
  position: relative;
  z-index: 2;
  width: clamp(150px, 20vw, 210px);
  height: clamp(150px, 20vw, 210px);
  border-radius: 50%;
  overflow: hidden;
  margin: clamp(-5rem, -8vw, -4rem) auto 0;
  box-shadow: 0 24px 48px rgba(11, 10, 10, 0.18);
  border: 6px solid #fff;
  background: radial-gradient(circle at 32% 30%, #4d8f88 0%, var(--granny-smith-darkest) 70%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-b__photo-icon {
  width: 34%;
  height: auto;
  opacity: 0.55;
}

.hero-b__photo-label {
  position: relative;
  z-index: 2;
  display: block;
  width: max-content;
  margin: 1rem auto clamp(2rem, 5vw, 3rem);
  background: #fff;
  color: var(--granny-smith-darkest);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  box-shadow: 0 8px 18px rgba(11, 10, 10, 0.1);
}

/* ---- FAQ Chatbot widget (pre-fabricated, FAQ-only) ---- */
.faq-bot {
  --faq-bot-radius: 1.1rem;
  position: fixed;
  right: 1.5rem;
  bottom: 9rem;
  z-index: 95;
  font-family: var(--font-family);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.faq-bot__launcher {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  background-color: var(--accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(11, 10, 10, 0.25);
  transition: var(--transition-fast);
  position: relative;
  z-index: 1;
}

.faq-bot__launcher:hover {
  background-color: var(--accent-hover);
  transform: scale(1.06);
}

.faq-bot__badge {
  position: absolute;
  top: -0.4rem;
  right: calc(100% + 0.6rem);
  white-space: nowrap;
  background: #fff;
  color: var(--granny-smith-darkest);
  border: 1px solid var(--border-color);
  border-radius: 999px;
  padding: 0.3rem 0.75rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  box-shadow: 0 4px 12px rgba(11, 10, 10, 0.15);
  pointer-events: none;
  transition: var(--transition-fast);
}

.faq-bot[data-state="open"] .faq-bot__badge {
  opacity: 0;
  transform: translateX(0.4rem);
}

.faq-bot__launcher-icon {
  width: 1.7rem;
  height: 1.7rem;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: opacity 0.15s ease, transform 0.15s ease;
}

.faq-bot__launcher-icon--close {
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.6);
}

.faq-bot[data-state="open"] .faq-bot__launcher-icon--chat {
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.6);
}

.faq-bot[data-state="open"] .faq-bot__launcher-icon--close {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.faq-bot__panel {
  position: absolute;
  right: 0;
  bottom: calc(3.5rem + 1rem);
  width: min(23rem, calc(100vw - 2.5rem));
  max-height: min(32rem, calc(100vh - 9rem));
  background: var(--sisal-lightest);
  border-radius: var(--faq-bot-radius);
  box-shadow: 0 20px 48px rgba(11, 10, 10, 0.22);
  border: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  opacity: 0;
  transform: translateY(0.75rem) scale(0.97);
  pointer-events: none;
  transition: var(--transition-fast);
  transform-origin: bottom right;
}

.faq-bot[data-state="open"] .faq-bot__panel {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.faq-bot__header {
  background: var(--granny-smith-darkest);
  color: #fff;
  padding: 1rem 1.1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
}

.faq-bot__header-title {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 600;
}

.faq-bot__close {
  background: transparent;
  border: none;
  color: #fff;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  padding: 0.1rem 0.35rem;
  border-radius: 0.4rem;
  transition: var(--transition-fast);
}

.faq-bot__close:hover {
  background: rgba(255, 255, 255, 0.15);
}

.faq-bot__body {
  padding: 1.1rem;
  overflow-y: auto;
  flex-grow: 1;
}

.faq-bot__subtitle {
  margin: 0 0 0.85rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.faq-bot__list {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.faq-bot__topic,
.faq-bot__question {
  text-align: left;
  width: 100%;
  border: 1px solid var(--border-color);
  background: #fff;
  border-radius: 0.75rem;
  padding: 0.75rem 0.9rem;
  font-family: var(--font-family);
  font-size: 0.92rem;
  color: var(--text-dark);
  cursor: pointer;
  transition: var(--transition-fast);
}

.faq-bot__topic {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  font-weight: 600;
}

.faq-bot__topic-count {
  flex-shrink: 0;
  background: var(--granny-smith-lightest);
  color: var(--granny-smith-darkest);
  border-radius: 999px;
  min-width: 1.5rem;
  height: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
}

.faq-bot__topic:hover,
.faq-bot__question:hover {
  border-color: var(--accent);
  box-shadow: 0 4px 12px rgba(11, 10, 10, 0.08);
}

.faq-bot__back {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border: none;
  background: transparent;
  color: var(--accent);
  font-family: var(--font-family);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  padding: 0 0 0.9rem;
}

.faq-bot__back:hover {
  color: var(--accent-hover);
  text-decoration: underline;
}

.faq-bot__back-arrow {
  font-size: 1rem;
}

.faq-bot__answer {
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: 0.75rem;
  padding: 1rem 1.1rem;
}

.faq-bot__answer-q {
  font-weight: 700;
  margin: 0 0 0.5rem;
  color: var(--text-dark);
  font-size: 0.95rem;
}

.faq-bot__answer-a {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

.faq-bot__cta {
  margin-top: 1.1rem;
  padding-top: 1rem;
  border-top: 1px dashed var(--border-color);
  text-align: center;
}

.faq-bot__cta-title {
  margin: 0 0 0.2rem;
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--text-dark);
}

.faq-bot__cta-text {
  margin: 0 0 0.7rem;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.faq-bot__cta-actions {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

.faq-bot__cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition-fast);
  border: 1px solid transparent;
}

.faq-bot__cta-btn--primary {
  background: var(--accent);
  color: #fff;
}

.faq-bot__cta-btn--primary:hover {
  background: var(--accent-hover);
}

.faq-bot__cta-btn--ghost {
  background: transparent;
  color: var(--text-dark);
  border-color: var(--border-color);
}

.faq-bot__cta-btn--ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
}

@media (max-width: 640px) {
  .faq-bot {
    right: 1.1rem;
    bottom: 5.1rem;
  }

  .faq-bot__launcher {
    width: 3rem;
    height: 3rem;
  }

  .faq-bot__panel {
    position: fixed;
    top: 50%;
    left: 50%;
    right: auto;
    bottom: auto;
    width: calc(100vw - 2rem);
    max-height: min(70vh, calc(100vh - 4rem));
    transform: translate(-50%, -50%) scale(0.97);
    transform-origin: center;
  }

  .faq-bot[data-state="open"] .faq-bot__panel {
    transform: translate(-50%, -50%) scale(1);
  }

  .faq-bot__badge {
    font-size: 0.65rem;
    padding: 0.25rem 0.6rem;
  }
}

/* A short window isn't only a phone: a laptop with limited vertical space
   (or any window zoomed in) can trigger the same collision at full desktop
   width. The panel's elastic sizing (min(32rem, 100vh - 9rem)), anchored to
   a bottom-right corner that has also just moved up to avoid the same
   problem for the other floating buttons (see the max-height:820px query
   earlier in this file), still ends up stretching the panel to nearly the
   full window height and jamming its top edge against the header. Below
   this height, drop the corner anchoring and float the panel as a centered
   modal instead - the same treatment as the narrow-width query above, just
   keyed to height instead of width, so a short-but-wide desktop window
   gets the same fix as a short phone. Placed after the base .faq-bot__panel
   rule (and after the narrow-width query) so it wins the cascade whenever
   it applies, including together with the narrow-width query. */
@media (max-height: 820px) {
  .faq-bot__panel {
    position: fixed;
    top: 50%;
    left: 50%;
    right: auto;
    bottom: auto;
    width: min(23rem, calc(100vw - 2rem));
    max-height: min(28rem, calc(100vh - 3rem));
    transform: translate(-50%, -50%) scale(0.97);
    transform-origin: center;
  }

  .faq-bot[data-state="open"] .faq-bot__panel {
    transform: translate(-50%, -50%) scale(1);
  }
}

/* Price row component (treatment price lists on service pages). Defined
   globally here as the canonical version - most pages also carry an
   identical copy inline in <head>, which is harmless (same rules, no
   conflict), but this global copy means the component works correctly
   even on the couple of pages whose inline copy was missing. */
.price-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--border-color);
}

.price-row:last-child {
  border-bottom: none;
}

.price-row__name {
  font-weight: 500;
  color: var(--text-dark);
}

.price-row__note {
  display: block;
  font-size: 0.8rem;
  color: var(--text-muted);
  font-style: italic;
}

.price-row__price {
  font-family: var(--font-serif);
  color: var(--accent-hover);
  font-size: 1.05rem;
  white-space: nowrap;
}

/* Groups the descriptive note and the "price on consultation" value on
   the right-hand side of a row, stacked, so both survive alongside the
   treatment name on the left without breaking the row's space-between
   layout (which is designed for exactly two items). */
.price-row__meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.15rem;
  text-align: right;
}

/* A doctor/therapist name in a price row that links to their team profile -
   a quiet underline signals it's clickable without shouting "button". */
.price-row__meta a {
  color: var(--text-dark);
  text-decoration: underline;
  text-decoration-color: var(--border-color);
  text-underline-offset: 0.15em;
}

.price-row__meta a:hover,
.price-row__meta a:focus-visible {
  color: var(--accent-hover);
  text-decoration-color: var(--accent-hover);
}

/* Wraps a multi-person credit (e.g. three physiotherapists) as a single
   flex item inside .price-row__meta, so the names + "·" separators wrap
   together as normal inline text instead of each becoming its own
   anonymous flex item under the column layout above. */
.price-row__names {
  text-align: right;
}

/* Section pills: a quick-glance strip right under the hero on treatment
   pages, matching the site's existing badge--dark-outline look (same
   outline, uppercase, letter-spacing as every section's own label badge)
   so it reads as native to the design rather than a new component.
   Each pill is a real anchor link that jumps to its section, with a
   filled invert on hover like the site's other outline buttons, and
   still lands with a soft staggered reveal. */
.service-toc {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: clamp(1.5rem, 3vw, 2.25rem) clamp(1.25rem, 5vw, 5rem) 0;
}

.service-toc__item {
  display: inline-flex;
  align-items: center;
  border-radius: 4px;
  padding: 0.5rem 1rem;
  font-size: 0.7rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  border: 1px solid var(--text-dark);
  color: var(--text-dark);
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition-fast);
}

.service-toc__item:hover {
  background: var(--text-dark);
  color: var(--text-light);
  transform: translateY(-1px);
}

.service-toc__item {
  opacity: 0;
  transform: translateY(0.5rem);
}

[data-reveal].reveal-visible .service-toc__item {
  animation: service-toc-in 0.45s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

[data-reveal].reveal-visible .service-toc__item:nth-child(1) { animation-delay: 0.05s; }
[data-reveal].reveal-visible .service-toc__item:nth-child(2) { animation-delay: 0.15s; }
[data-reveal].reveal-visible .service-toc__item:nth-child(3) { animation-delay: 0.25s; }
[data-reveal].reveal-visible .service-toc__item:nth-child(4) { animation-delay: 0.35s; }
[data-reveal].reveal-visible .service-toc__item:nth-child(5) { animation-delay: 0.45s; }
[data-reveal].reveal-visible .service-toc__item:nth-child(6) { animation-delay: 0.55s; }
[data-reveal].reveal-visible .service-toc__item:nth-child(7) { animation-delay: 0.65s; }
[data-reveal].reveal-visible .service-toc__item:nth-child(8) { animation-delay: 0.75s; }

@keyframes service-toc-in {
  to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  .service-toc__item {
    opacity: 1;
    transform: none;
    animation: none;
  }
}
