/* ═══════════════════════════════════════════════════════════
   ODONTALIS — Premium Dental Clinic
   Style Sheet v1.0
   Fonts: Cormorant Garamond (display) + DM Sans (body)
   Palette: Warm Ivory · Deep Teal · Sage Green · Champagne
   Sitio Web ficticio desarrollado por State of Dev (https://stateofdev.com.ar)
═══════════════════════════════════════════════════════════ */
@import url('/assets/fonts/GildaDisplay-Regular.ttf');
/* ───── RESET & BASE ───── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* Colour palette */
  --ivory:        #F7F4EE;
  --ivory-deep:   #EDE8DC;
  --champagne:    #D4C5A9;
  --sage:         #8BBCB0;
  --sage-light:   #B8D8D2;
  --teal:         #2D5F5A;
  --teal-deep:    #1A3A37;
  --teal-mid:     #3E7D76;
  --warm-white:   #FDFBF8;
  --ink:          #1A2B2A;
  --ink-muted:    #3D4F4E;
  --text-body:    #4A5C5A;
  --text-light:   #6B7F7D;

  /* Typography */
  /* --font-display: 'Cormorant Garamond', Georgia, serif; */
  --font-display: 'Gilda Display', Georgia, serif;
  --font-body:    'DM Sans', system-ui, sans-serif;

  /* Spacing */
  --section-py:   7rem;
  --container:    1200px;

  /* Radii */
  --r-sm:  6px;
  --r-md:  12px;
  --r-lg:  20px;
  --r-xl:  32px;

  /* Shadows */
  --shadow-sm:  0 2px 12px rgba(26,42,40,.07);
  --shadow-md:  0 8px 32px rgba(26,42,40,.10);
  --shadow-lg:  0 20px 60px rgba(26,42,40,.14);

  /* Transitions */
  --ease:  cubic-bezier(.25,.46,.45,.94);
  --ease-out: cubic-bezier(.16,1,.3,1);
}

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

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--warm-white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.bg__credits{
  background-color: #8BBCB0;
  height: 100dvh;
  padding: 4rem;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }
address { font-style: normal; }
ul { list-style: none; }

/* ───── TYPOGRAPHY ───── */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.12;
  font-weight: 500;
  color: var(--ink);
  /* text-transform: uppercase; */
}

h1 { font-size: clamp(2.8rem, 6vw, 5.2rem); }
h2 { font-size: clamp(2.2rem, 4.5vw, 3.8rem); }
h3 { font-size: 1.45rem; }
h4 { font-size: 1rem; font-family: var(--font-body); letter-spacing: .06em; text-transform: uppercase; }

em { font-style: italic; color: var(--teal-mid); }

/* ───── UTILITY ───── */
.section-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 2rem;
}

.section-header { text-align: center; margin-bottom: 4rem; }
.section-header--light { color: var(--warm-white); }

.section-eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--teal-mid);
  margin-bottom: 1rem;
}
.section-eyebrow--light { color: var(--sage-light); }

.section-title { margin-bottom: 1rem; }
.section-title--light { color: var(--warm-white); }
.section-title--light em { color: var(--sage-light); }

.section-desc {
  font-size: 1.05rem;
  color: var(--text-body);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}
.section-desc--light { color: rgba(253,251,248,.75); }

/* ───── BUTTONS ───── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-family: var(--font-body);
  font-size: .875rem;
  font-weight: 500;
  letter-spacing: .04em;
  padding: .875rem 2rem;
  border-radius: 50px;
  transition: all .3s var(--ease);
  white-space: nowrap;
}

.btn--primary {
  background: var(--teal);
  color: var(--warm-white);
  border: 1.5px solid var(--teal);
}
.btn--primary:hover {
  background: var(--teal-deep);
  border-color: var(--teal-deep);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(29,94,88,.3);
}

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid rgba(26,42,40,.2);
}
.btn--ghost:hover {
  border-color: var(--teal);
  color: var(--teal);
  background: rgba(139,188,176,.08);
}

.btn--outline-dark {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid rgba(26,42,40,.22);
  font-size: .8rem;
  padding: .625rem 1.5rem;
}
.btn--outline-dark:hover {
  background: var(--teal);
  border-color: var(--teal);
  color: var(--warm-white);
}

.btn--white {
  background: var(--warm-white);
  color: var(--teal-deep);
  border: 1.5px solid var(--warm-white);
}
.btn--white:hover {
  background: var(--ivory);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,.2);
}

.btn--outline-white {
  background: transparent;
  color: var(--warm-white);
  border: 1.5px solid rgba(253,251,248,.4);
}
.btn--outline-white:hover {
  background: rgba(253,251,248,.12);
  border-color: rgba(253,251,248,.7);
}

.btn--lg { padding: 1.125rem 2.5rem; font-size: .95rem; }


/* ═══════════════════════════════════════ NAVBAR ═══════ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 999;
  padding: 1.25rem 0;
  transition: all .4s var(--ease);
}

.navbar.scrolled {
  background: rgba(253,251,248,.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 rgba(26,42,40,.08), var(--shadow-sm);
  padding: .875rem 0;
}

.navbar__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.navbar__logo { flex-shrink: 0; }
.logo-svg { width: 180px; height: 44px; }

.navbar__nav {
  display: flex;
  align-items: center;
  gap: 2.25rem;
  margin-left: auto;
}

.navbar__nav a {
  font-size: .85rem;
  font-weight: 400;
  letter-spacing: .04em;
  color: var(--ink);
  opacity: .75;
  transition: opacity .2s, color .2s;
  position: relative;
}
.navbar__nav a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 1px;
  background: var(--teal);
  transition: width .3s var(--ease);
}
.navbar__nav a:hover { opacity: 1; color: var(--teal); }
.navbar__nav a:hover::after { width: 100%; }

.navbar__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
  margin-left: 1rem;
  z-index: 1000;
  position: relative;
}
.navbar__burger span {
  display: block;
  width: 22px; height: 1.5px;
  background: var(--ink);
  transition: all .3s var(--ease);
  transform-origin: center;
}
.navbar__burger.active span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.navbar__burger.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.navbar__burger.active span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--warm-white);
  z-index: 1001;
  padding: 6rem 2rem 2rem;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.mobile-menu.open { display: flex; height: fit-content; }
.mobile-menu nav { display: flex; flex-direction: column; gap: 1.5rem; align-items: center; text-align: center; }
.mobile-menu__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: transparent;
  border: 1.5px solid rgba(26,42,40,.12);
  color: var(--ink);
  font-size: 1.25rem;
  z-index: 1002;
  transition: all .15s var(--ease);
}
.mobile-menu__close:hover { background: rgba(0,0,0,.04); border-color: var(--teal); color: var(--teal); transform: translateY(-1px); }
.mobile-link {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 400;
  color: var(--ink);
  opacity: .9;
  letter-spacing: .02em;
  transition: color .2s;
}
.mobile-link:hover { color: var(--teal); opacity: 1; }
.mobile-cta { margin-top: 1rem; align-self: center; }


/* ═══════════════════════════════════════ HERO ═══════ */
.hero {
  min-height: 100svh;
  padding: 8rem 0 5rem;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  background: var(--warm-white);
}

.hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: .35;
}
.hero__orb--1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, var(--sage-light) 0%, transparent 70%);
  top: -100px; right: -100px;
  animation: orbFloat 12s ease-in-out infinite;
}
.hero__orb--2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, var(--champagne) 0%, transparent 70%);
  bottom: -80px; left: 10%;
  animation: orbFloat 16s ease-in-out infinite reverse;
}
@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(20px, -30px); }
}

.hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(26,42,40,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(26,42,40,.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, black 0%, transparent 100%);
}

.hero__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
  position: relative;
  z-index: 1;
  width: 100%;
}

.hero__content { max-width: 560px; }

.hero__eyebrow {
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--teal-mid);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: .75rem;
}
.hero__eyebrow::before {
  content: '';
  display: block;
  width: 32px; height: 1px;
  background: var(--teal-mid);
}

.hero__title {
  margin-bottom: 1.5rem;
  color: var(--ink);

}
.hero__title em {
  display: block;
  color: var(--teal-mid);
}

.hero__desc {
  font-size: 1.1rem;
  color: var(--text-body);
  line-height: 1.75;
  margin-bottom: 2.5rem;
  max-width: 440px;
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.hero__trust {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(26,42,40,.1);
}
.trust-item { display: flex; flex-direction: column; gap: .2rem; }
.trust-number {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--ink);
  line-height: 1;
}
.trust-label {
  font-size: .75rem;
  color: var(--text-light);
  letter-spacing: .04em;
}
.trust-divider {
  width: 1px;
  height: 36px;
  background: rgba(26,42,40,.12);
}

/* Hero visual */
.hero__visual { position: relative; }

.hero__img-frame {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  aspect-ratio: 5/6;
  max-height: 620px;
  box-shadow: var(--shadow-lg);
}
.hero__img-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 8s var(--ease);
}
.hero__img-frame:hover img { transform: scale(1.04); }
.hero__img-frame::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    transparent 50%,
    rgba(45,95,90,.2) 100%
  );
  z-index: 1;
}

.hero__img-badge {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  z-index: 2;
  background: rgba(253,251,248,.92);
  backdrop-filter: blur(10px);
  padding: .625rem 1rem;
  border-radius: 50px;
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .8rem;
  font-weight: 500;
  color: var(--teal-deep);
  box-shadow: var(--shadow-sm);
}

/* Hero scroll */
.hero__scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
  font-size: .7rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-light);
}
.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--text-light), transparent);
  animation: scrollLine 2s ease-in-out infinite;
}
@keyframes scrollLine {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}


/* ═══════════════════════════════════════ TRATAMIENTOS ═══════ */
.treatments {
  padding: var(--section-py) 0;
  background: var(--warm-white);
}

.treatments__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.treat-card {
  background: #fff;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .4s var(--ease-out), box-shadow .4s var(--ease);
  outline: none;
}
.treat-card:hover, .treat-card:focus-visible {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.treat-card:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; }

.treat-card__img {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
}
.treat-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease);
}
.treat-card:hover .treat-card__img img { transform: scale(1.07); }

.treat-card__tag {
  position: absolute;
  top: .875rem;
  left: .875rem;
  background: rgba(253,251,248,.9);
  backdrop-filter: blur(6px);
  padding: .3rem .75rem;
  border-radius: 50px;
  font-size: .7rem;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--teal-deep);
}

.treat-card__body {
  padding: 1.25rem 1.375rem 1.5rem;
}
.treat-card__body h3 {
  font-size: 1.15rem;
  margin-bottom: .5rem;
  color: var(--ink);
}
.treat-card__body p {
  font-size: .875rem;
  color: var(--text-body);
  line-height: 1.6;
}


/* ═══════════════════════════════════════ NOSOTROS ═══════ */
.about {
  padding: var(--section-py) 0;
  background: var(--ivory);
  overflow: hidden;
}

.about__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
}

/* Stacked images */
.about__img-stack {
  position: relative;
  height: 600px;
}

.about__img {
  border-radius: var(--r-lg);
  object-fit: cover;
  box-shadow: var(--shadow-md);
}

.about__img--main {
  position: absolute;
  left: 0; top: 0;
  width: 78%;
  height: 100%;
}

.about__img--accent {
  position: absolute;
  right: 0; bottom: 3rem;
  width: 45%;
  height: 55%;
  border: 4px solid var(--ivory);
  box-shadow: var(--shadow-lg);
}

.about__stat-card {
  position: absolute;
  top: 2.5rem; right: 1rem;
  background: var(--teal);
  color: var(--warm-white);
  padding: 1.25rem 1.5rem;
  border-radius: var(--r-md);
  text-align: center;
  box-shadow: var(--shadow-md);
  z-index: 2;
}
.stat-big {
  display: block;
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 500;
  line-height: 1;
  margin-bottom: .25rem;
}
.stat-text {
  font-size: .72rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  opacity: .8;
  line-height: 1.4;
}

/* About content */
.about__content { max-width: 520px; }

.about__lead {
  font-size: 1.1rem;
  color: var(--ink-muted);
  line-height: 1.75;
  margin-bottom: 1.25rem;
}
.about__text {
  color: var(--text-body);
  line-height: 1.75;
  margin-bottom: 2.5rem;
}

.about__features {
  display: flex;
  flex-direction: column;
  gap: 1.125rem;
  margin-bottom: 2.5rem;
}

.feat-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}
.feat-icon {
  flex-shrink: 0;
  width: 40px; height: 40px;
  background: var(--ivory-deep);
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal);
}
.feat-item div {
  display: flex;
  flex-direction: column;
  gap: .15rem;
  padding-top: .25rem;
}
.feat-item strong {
  font-size: .9rem;
  font-weight: 500;
  color: var(--ink);
}
.feat-item span {
  font-size: .82rem;
  color: var(--text-light);
}


/* ═══════════════════════════════════════ MATERIALES ═══════ */
.materials {
  padding: var(--section-py) 0;
  background: var(--teal-deep);
  position: relative;
  overflow: hidden;
}

.materials__bg { position: absolute; inset: 0; pointer-events: none; }

.mat-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: .15;
}
.mat-orb--1 {
  width: 500px; height: 500px;
  background: var(--sage);
  top: -150px; right: -100px;
}
.mat-orb--2 {
  width: 400px; height: 400px;
  background: var(--champagne);
  bottom: -100px; left: -80px;
}

.materials__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  position: relative;
  z-index: 1;
}

.mat-card {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--r-lg);
  padding: 2rem 1.75rem;
  transition: all .4s var(--ease);
  outline: none;
}
.mat-card:hover, .mat-card:focus-visible {
  background: rgba(255,255,255,.09);
  border-color: rgba(139,188,176,.4);
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0,0,0,.2);
}
.mat-card:focus-visible { outline: 2px solid var(--sage); outline-offset: 3px; }

.mat-card--highlight {
  background: rgba(139,188,176,.12);
  border-color: rgba(139,188,176,.25);
  grid-column: span 1;
}

.mat-card__icon {
  width: 52px; height: 52px;
  background: rgba(139,188,176,.15);
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--sage-light);
  margin-bottom: 1.25rem;
}

.mat-card h3 {
  color: var(--warm-white);
  font-size: 1.3rem;
  margin-bottom: .75rem;
}

.mat-card p {
  font-size: .875rem;
  color: rgba(253,251,248,.65);
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

.mat-card__specs {
  display: flex;
  flex-direction: column;
  gap: .4rem;
}
.mat-card__specs li {
  font-size: .78rem;
  color: var(--sage-light);
  opacity: .85;
  padding-left: 1rem;
  position: relative;
}
.mat-card__specs li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--sage);
  opacity: .6;
}

.mat-brands {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-top: .75rem;
}
.mat-brands span {
  background: rgba(139,188,176,.15);
  border: 1px solid rgba(139,188,176,.25);
  padding: .3rem .8rem;
  border-radius: 50px;
  font-size: .73rem;
  color: var(--sage-light);
  letter-spacing: .05em;
}


/* ═══════════════════════════════════════ TESTIMONIOS ═══════ */
.testimonials {
  padding: var(--section-py) 0;
  background: var(--ivory);
  overflow: hidden;
}

.testimonials__slider {
  overflow: hidden;
  border-radius: var(--r-lg);
  margin-bottom: 2rem;
  cursor: grab;
}
.testimonials__slider:active { cursor: grabbing; }

.testimonials__track {
  display: flex;
  gap: 1.5rem;
  transition: transform .6s var(--ease-out);
  will-change: transform;
}

.test-card {
  flex: 0 0 calc(33.333% - 1rem);
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: var(--r-lg);
  padding: 2rem 1.875rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(26,42,40,.05);
  transition: box-shadow .3s;
}
.test-card:hover { box-shadow: var(--shadow-md); }

.test-card__stars {
  color: var(--teal-mid);
  font-size: 1rem;
  letter-spacing: .1em;
  margin-bottom: 1rem;
}

.test-card__text {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 400;
  font-style: italic;
  color: var(--ink-muted);
  line-height: 1.75;
  margin-bottom: 1.5rem;
}

.test-card__author {
  display: flex;
  align-items: center;
  gap: .875rem;
  margin-top: auto;
}
.test-card__author img {
  width: 48px; height: 48px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.test-card__author cite {
  display: block;
  font-style: normal;
  font-weight: 500;
  font-size: 1rem;
  color: var(--ink);
  
}
.test-card__author span {
  font-size: .875rem;
  color: var(--text-body);
}

/* Slider controls */
.testimonials__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.slider-btn {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1.5px solid rgba(26,42,40,.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-muted);
  transition: all .2s;
}
.slider-btn:hover {
  border-color: var(--teal);
  color: var(--teal);
  background: rgba(139,188,176,.08);
}
.slider-btn:disabled { opacity: .3; pointer-events: none; }

.slider-dots {
  display: flex;
  gap: .5rem;
}
.slider-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(26,42,40,.2);
  border: none;
  transition: all .3s;
  cursor: pointer;
}
.slider-dot.active {
  width: 24px;
  border-radius: 4px;
  background: var(--teal);
}


/* ═══════════════════════════════════════ CTA BANNER ═══════ */
.cta-banner {
  padding: var(--section-py) 0;
  background: var(--teal-deep);
  position: relative;
  overflow: hidden;
}
.cta-banner__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 20% 50%, rgba(62,125,118,.3) 0%, transparent 60%),
    radial-gradient(ellipse 40% 60% at 80% 80%, rgba(139,188,176,.15) 0%, transparent 50%);
}

.cta-banner__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.cta-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2.5rem;
}

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

.info-card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--r-md);
  padding: 1.5rem 1.75rem;
}
.info-card h3 {
  font-family: var(--font-body);
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--sage-light);
  margin-bottom: 1rem;
}
.info-card p {
  color: rgba(253,251,248,.75);
  font-size: .9rem;
  line-height: 1.7;
}
.hours-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .4rem .5rem;
  font-size: .875rem;
}
.hours-grid span:nth-child(odd) { color: rgba(253,251,248,.65); }
.hours-grid span:nth-child(even) { color: var(--warm-white); font-weight: 500; }
.map-link {
  color: var(--sage-light);
  font-size: .875rem;
  display: inline-block;
  margin-top: .5rem;
  transition: color .2s;
}
.map-link:hover { color: var(--warm-white); }


/* ═══════════════════════════════════════ FOOTER ═══════ */
.footer {
  background: var(--ink);
  color: rgba(253,251,248,.7);
  padding: 4rem 0 0;
}

.footer__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 2rem 3rem;
  display: grid;
  grid-template-columns: 1.4fr 1.6fr;
  gap: 4rem;
}

.footer__brand { max-width: 340px; }

.logo-svg--white text { fill: var(--ivory); }

.footer__brand p {
  font-size: .875rem;
  line-height: 1.7;
  margin: 1.25rem 0 1.5rem;
}

.footer__social {
  display: flex;
  gap: .75rem;
}
.social-link {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(253,251,248,.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(253,251,248,.5);
  transition: all .2s;
}
.social-link:hover {
  border-color: var(--sage);
  color: var(--sage);
}

.footer__links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.footer__col h4 {
  font-size: .7rem;
  letter-spacing: .15em;
  color: rgba(253,251,248,.4);
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.footer__col nav,
.footer__col address {
  display: flex;
  flex-direction: column;
  gap: .625rem;
}

.footer__col a,
.footer__col span {
  font-size: .875rem;
  color: rgba(253,251,248,.6);
  transition: color .2s;
  line-height: 1.5;
}
.footer__col a:hover { color: var(--sage-light); }

.footer__bottom {
  border-top: 1px solid rgba(253,251,248,.06);
  padding: 1.25rem 2rem;
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.footer__bottom p { font-size: .8rem; }

.footer__credits {
  color: #B8D8D2;
  font-weight: 500;
}
.footer__credits:hover {
  color: #EDE8DC;
  
}

.footer__legal {
  display: flex;
  gap: 1.5rem;
}
.footer__legal a {
  font-size: .8rem;
  color: rgba(253,251,248,.4);
  transition: color .2s;
}
.footer__legal a:hover { color: var(--sage-light); }


/* ═══════════════════════════════════════ BACK TO TOP ═══════ */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 44px; height: 44px;
  background: var(--teal);
  color: var(--warm-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(29,94,88,.4);
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: all .3s var(--ease);
  z-index: 900;
}
.back-to-top.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.back-to-top:hover { background: var(--teal-deep); transform: translateY(-2px); }


/* ═══════════════════════════════════════ ANIMATIONS ═══════ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .8s var(--ease-out), transform .8s var(--ease-out);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal--delay-1 { transition-delay: .1s; }
.reveal--delay-2 { transition-delay: .2s; }
.reveal--delay-3 { transition-delay: .3s; }
.reveal--delay-4 { transition-delay: .5s; }

.reveal-card {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s var(--ease-out), transform .7s var(--ease-out);
}
.reveal-card.visible { opacity: 1; transform: translateY(0); }

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity .9s var(--ease-out), transform .9s var(--ease-out);
}
.reveal-left.visible { opacity: 1; transform: translateX(0); }

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity .9s var(--ease-out), transform .9s var(--ease-out);
}
.reveal-right.visible { opacity: 1; transform: translateX(0); }


/* ═══════════════════════════════════════ RESPONSIVE ═══════ */

/* ── Tablet landscape ── */
@media (max-width: 1100px) {
  .treatments__grid { grid-template-columns: repeat(2, 1fr); }
  .materials__grid { grid-template-columns: repeat(2, 1fr); }
}

/* ── Tablet portrait ── */
@media (max-width: 900px) {
  :root { --section-py: 5rem; }

  .hero__inner {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
   height: 100svh;
  }
  .hero__content { max-width: 100%; }
  .hero__eyebrow { justify-content: center; }
  .hero__desc { max-width: 100%; margin-left: auto; margin-right: auto; }
  .hero__actions { justify-content: center; }
  .hero__trust { justify-content: center; }
  .hero__visual { display: none; }

  .about__inner { grid-template-columns: 1fr; gap: 3rem; }
  .about__img-stack { height: 420px; }
  .about__content { max-width: 100%; }

  .cta-banner__inner { grid-template-columns: 1fr; gap: 3rem; }

  .footer__inner { grid-template-columns: 1fr; gap: 3rem; }
  .footer__brand { max-width: 100%; }
}

/* ── Mobile ── */
@media (max-width: 768px) {
  .navbar__nav { display: none; }
  .navbar__inner .btn--outline-dark { display: none; }
  .navbar__burger { display: flex; }

  .treatments__grid { grid-template-columns: 1fr; }
  .materials__grid { grid-template-columns: 1fr; }

  .test-card { flex: 0 0 calc(100% - 1rem); }

  .footer__links { grid-template-columns: 1fr 1fr; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }

  .hero__trust { flex-direction: row; gap: 1.25rem; align-items: flex-start; flex-wrap: wrap; margin-bottom: 2rem; }
  .trust-divider { width: 40px; height: 1px; }
}

@media (max-width: 460px) {
  .footer__links { grid-template-columns: 1fr; }
  .about__img-stack { height: 320px; }
  .about__img--accent { display: none; }
  .cta-banner__actions { flex-direction: column; }
  .cta-banner__actions .btn { text-align: center; justify-content: center; }
}

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