:root {
  --color-hero-bg: #BADFDB;
  --color-hero-text: #1b3731;
  --color-primary-dark: #2F423C;
  --color-accent: #FFA4A4;
  --color-accent-light: #FFBDBD;
  --color-text-body: #4a4a4a;
  --color-bg-light: #FCF9EA;
  --color-bg-white: #ffffff;
  --color-card-bg: #FCF9EA;
  --color-card-border: #BADFDB;

  /* Extended palette — derived from brand colors */
  --color-teal-soft: #e4f5f3;
  /* hero-bg at 30% strength */
  --color-teal-medium: #c8ebe7;
  /* hero-bg at 60% */
  --color-rose-soft: #fff0f0;
  /* accent at 15% strength */
  --color-rose-medium: #ffdada;
  /* accent at 35% */
  --color-cream-dark: #f0ead5;
  /* bg-light darkened */
  --color-green-section: #d6eeeb;
  /* hero-bg tinted section bg */

  /* Fonts — inspired by faceformula.com */
  --font-heading: 'Libre Caslon Condensed', serif;
  --font-body: 'DM Sans', sans-serif;

  --spacing-section: 120px;
  --spacing-container: max(5vw, 40px);
}

@media (max-width: 768px) {
  :root {
    --spacing-section: 50px;
    --spacing-container: 20px;
  }
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-body);
  color: var(--color-primary-dark);
  background-color: var(--color-bg-light);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.6;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
  object-fit: cover;
}

/* ─── SCROLL REVEAL ANIMATION SYSTEM ───
   Elements are visible by default.
   JS adds .reveal-on-scroll which enables animation.
   .is-visible triggers the actual fade-up keyframe.
   This prevents the "stuck invisible" GSAP trap. */

@keyframes fadeUpIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.reveal-on-scroll {
  /* Pre-animation state — subtle, not invisible */
  opacity: 0;
  transform: translateY(28px);
  transition: none;
  /* let the keyframe handle it */
}

.reveal-on-scroll.is-visible {
  animation: fadeUpIn 0.7s cubic-bezier(0.25, 1, 0.5, 1) both;
  animation-delay: var(--reveal-delay, 0s);
}

/* Safety net: buttons always fully opaque - never hidden by animation */
.btn-solid,
.btn-solid-white,
.btn-outline {
  opacity: 1 !important;
}

/* Diff-cards: always visible, transform reset handled by card hover separately */
.diff-card {
  opacity: 1 !important;
}

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

/* Typography elements */
h1,
h2,
h3,
h4 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.1;
  color: var(--color-primary-dark);
}

p {
  font-weight: 400;
  letter-spacing: 0.01em;
}

/* Links & Buttons */
.link-arrow {
  display: inline-flex;
  align-items: center;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 1rem;
  transition: opacity 0.3s;
  font-weight: 500;
}

.link-arrow svg {
  width: 16px;
  height: 16px;
  margin-left: 8px;
  transition: transform 0.3s;
}

.link-arrow:hover {
  opacity: 0.7;
}

.link-arrow:hover svg {
  transform: translateX(4px);
}

.btn-outline {
  display: inline-block;
  padding: 0.8rem 1.8rem;
  border: 1px solid currentColor;
  border-radius: 40px;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  cursor: pointer;
  background: transparent;
}

.btn-outline:hover {
  background: var(--color-primary-dark);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.btn-solid {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1.2rem 2.8rem;
  background-color: var(--color-accent);
  color: var(--color-primary-dark);
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 700;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  box-shadow: 0 4px 20px rgba(255, 164, 164, 0.2);
}

.btn-solid:hover {
  background-color: var(--color-accent-light);
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 12px 30px rgba(255, 164, 164, 0.4);
}

.btn-solid-white {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1.2rem 2.8rem;
  background-color: white;
  color: var(--color-primary-dark);
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 700;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
  box-shadow: 0 4px 20px rgba(255, 255, 255, 0.1);
}

.btn-solid-white:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 15px 35px rgba(255, 255, 255, 0.25);
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 0.8rem var(--spacing-container);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  z-index: 100;
  color: white;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
  transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1), background-color 0.4s ease, padding 0.4s ease;
  will-change: transform;
}

.navbar a,
.navbar button {
  color: white;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.nav-links {
  display: flex;
  gap: 2rem;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  justify-content: flex-start;
  align-items: center;
}

/* Logo image in navbar */
.nav-brand {
  display: flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
}

.nav-logo {
  height: 72px;
  width: auto;
  display: block;
  object-fit: contain;
  /* Logo is dark, need to make it visible on dark hero */
  filter: brightness(0) invert(1) drop-shadow(0 1px 4px rgba(0, 0, 0, 0.4));
  transition: filter 0.4s ease, transform 0.3s ease;
}

.nav-logo:hover {
  transform: scale(1.05);
}

/* When navbar scrolled (js adds .scrolled class), logo turns to original colors */
.navbar.scrolled .nav-logo {
  filter: drop-shadow(0 1px 6px rgba(0, 0, 0, 0.12));
}

.nav-brand span {
  font-weight: 300;
}

.nav-action {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  justify-content: flex-end;
}

.menu-toggle {
  background: none;
  border: none;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  cursor: pointer;
}

/* --- Section 1: Hero --- */
.hero-section {
  position: relative;
  min-height: 100vh;
  background-color: var(--color-hero-bg);
  background-image: linear-gradient(to right, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.1) 100%), url('https://accurate-clone-engine.lovable.app/assets/hero-original-CRiCJGob.jpg');
  background-size: cover;
  background-position: center 20%;
  border-bottom: 2px solid #2b5b50;
  display: flex;
  align-items: center;
  padding: 0 var(--spacing-container);
  overflow: hidden;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  display: flex;
  flex-direction: column;
  padding-top: 12vh;
}

.hero-text-large {
  margin-bottom: 3rem;
}

.hero-text-large h1 {
  font-family: var(--font-heading);
  font-size: clamp(4rem, 14vw, 9rem);
  color: white;
  white-space: normal;
  word-break: break-word;
  letter-spacing: 0.04em;
  margin-bottom: 2rem;
  text-align: center;
  padding: 0;
  line-height: 0.9;
  font-weight: 600;
}

.hero-text-large span {
  opacity: 0.4;
  margin: 0 0.5vw;
  font-weight: 300;
}

.hero-subtitle {
  max-width: 420px;
  color: white;
}

.hero-subtitle h2 {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: white;
  margin-bottom: 1.2rem;
  font-weight: 400;
}

.hero-subtitle p {
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  font-weight: 400;
  opacity: 0.9;
  line-height: 1.6;
  color: white;
}

.hero-subtitle .link-arrow {
  color: white;
  font-weight: 500;
}

/* Removed conflicting .hero-images section */

/* --- Section 2: Science --- */
.science-section {
  padding: var(--spacing-section) var(--spacing-container);
  background-color: var(--color-teal-soft);
  border-top: 2px solid var(--color-teal-medium);
  border-bottom: 2px solid var(--color-teal-medium);
}

.science-container {
  display: flex;
  gap: 8%;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
}

.science-text {
  flex: 1;
}

.science-text h2 {
  font-size: 3rem;
  margin-bottom: 3rem;
  max-width: 500px;
}

.science-mini-images {
  display: flex;
  gap: 1rem;
  margin-bottom: 3rem;
}

.science-mini-images img {
  width: calc(50% - 0.5rem);
  aspect-ratio: 1;
  object-fit: cover;
}

.science-text p {
  font-size: 1rem;
  color: var(--color-text-body);
  max-width: 450px;
  line-height: 1.8;
}

.science-image {
  flex: 1;
}

.science-image img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
}

/* --- Section 3: Treatments Grid --- */
.treatments-section {
  padding: var(--spacing-section) var(--spacing-container);
  background-color: var(--color-bg-white);
}

/* Accent color for treatment tags */
.t-areas span {
  background-color: var(--color-rose-soft);
  color: var(--color-primary-dark);
  border-color: var(--color-rose-medium);
}

.treatments-header {
  max-width: 400px;
  margin-bottom: 4rem;
}

.treatments-header h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.treatments-header p {
  color: var(--color-text-body);
  margin-bottom: 1.5rem;
}


.treatment-list {
  list-style: none;
}

.treatment-list li {
  margin-bottom: 1.2rem;
  font-size: 1.05rem;
  color: var(--color-text-body);
  position: relative;
  padding-left: 24px;
  line-height: 1.5;
}

.treatment-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--color-accent);
  font-weight: bold;
}

.treatments-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.t-card {
  background-color: var(--color-bg-white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.t-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.t-image {
  width: 100%;
  height: 240px;
  position: relative;
  overflow: hidden;
}

.t-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.t-card:hover .t-image img {
  transform: scale(1.05);
}

.t-content {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.t-content h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--color-primary-dark);
  margin-bottom: 1rem;
}

.t-content p {
  font-size: 1rem;
  color: var(--color-text-body);
  margin-bottom: 1.5rem;
  line-height: 1.6;
  flex: 1;
}

.t-areas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.t-areas span {
  background-color: var(--color-bg-light);
  color: var(--color-primary-dark);
  padding: 0.4rem 0.8rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border: 1px solid var(--color-card-border);
}

.t-link {
  color: var(--color-primary-dark);
  text-decoration: none;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: opacity 0.3s ease;
  margin-top: auto;
}

.t-link:hover {
  opacity: 0.7;
}

/* --- Section 5: Typographic Overlay --- */
.overlay-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: var(--spacing-container);
  color: white;
}

.overlay-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background-color: #2F423C;
  /* Dark green fallback */
}

.overlay-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.4);
  /* Darken bg for text readability */
}

.overlay-content {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

.overlay-subtitle {
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  margin-bottom: 2rem;
  text-transform: uppercase;
}

.overlay-content h2 {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: clamp(4.5rem, 16vw, 9.5rem);
  line-height: 0.9;
  letter-spacing: -0.02em;
  color: white;
  margin-bottom: 3rem;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.overlay-bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.overlay-bottom p {
  font-size: 1rem;
  max-width: 300px;
}

.overlay-bottom .btn-solid {
  background-color: var(--color-bg-light);
  color: var(--color-primary-dark);
  font-weight: 600;
}

.overlay-bottom .btn-solid:hover {
  background-color: var(--color-primary-dark);
  color: white;
}

/* --- Differentials Section --- */
.differentials-section {
  padding: var(--spacing-section) var(--spacing-container);
  background-color: var(--color-green-section);
  border-top: 2px solid var(--color-teal-medium);
  border-bottom: 2px solid var(--color-teal-medium);
}

.differentials-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 4rem;
}

.differentials-header h2 {
  font-size: clamp(3rem, 5vw, 4rem);
  margin-bottom: 1.5rem;
  font-style: italic;
}

.differentials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  max-width: 1400px;
  margin: 0 auto;
}

.diff-card {
  padding: 3rem 2.5rem;
  background: white;
  border-radius: 12px;
  transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(186, 223, 219, 0.5);
}

/* Color-coded cards: each card gets a unique accent strip */
.diff-card:nth-child(1) {
  border-top: 4px solid var(--color-hero-bg);
}

.diff-card:nth-child(2) {
  border-top: 4px solid var(--color-accent);
}

.diff-card:nth-child(3) {
  border-top: 4px solid var(--color-primary-dark);
}

.diff-card:nth-child(4) {
  border-top: 4px solid var(--color-accent-light);
}

/* Number color matches card accent */
.diff-card:nth-child(1) .diff-num {
  color: var(--color-primary-dark);
  opacity: 0.5;
}

.diff-card:nth-child(2) .diff-num {
  color: var(--color-accent);
  opacity: 0.7;
}

.diff-card:nth-child(3) .diff-num {
  color: var(--color-primary-dark);
  opacity: 0.4;
}

.diff-card:nth-child(4) .diff-num {
  color: var(--color-accent);
  opacity: 0.6;
}

.diff-card>* {
  position: relative;
  z-index: 1;
}

.diff-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(186, 223, 219, 0.08) 0%, transparent 100%);
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
  z-index: 0;
}

.diff-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--color-hero-bg), var(--color-accent));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.diff-card:hover {
  transform: translateY(-8px) scale(1.01);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.08);
  border-color: rgba(186, 223, 219, 0.8);
}

.diff-card:hover::before {
  opacity: 1;
}

.diff-card:hover::after {
  transform: scaleX(1);
}

.diff-num {
  font-size: 4.5rem;
  font-family: var(--font-heading);
  color: var(--color-accent);
  margin-bottom: 1rem;
  line-height: 0.9;
  opacity: 0.6;
  font-style: italic;
  font-weight: 300;
  position: relative;
}

.diff-card h3 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 1.2rem;
  letter-spacing: 0.05em;
  color: var(--color-primary-dark);
}

.diff-card p {
  color: var(--color-text-body);
  font-size: 1.05rem;
}

/* --- Testimonials Section --- */
.testimonials-section {
  padding: var(--spacing-section) var(--spacing-container);
  background-color: var(--color-rose-soft);
  color: var(--color-primary-dark);
  text-align: center;
  border-top: 2px solid var(--color-rose-medium);
  border-bottom: 2px solid var(--color-rose-medium);
}

.testimonials-header h2 {
  color: var(--color-primary-dark);
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-style: italic;
  margin-bottom: 4rem;
}

.testimonials-carousel {
  display: flex;
  gap: 2rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 2rem 0 4rem;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  max-width: 1200px;
  margin: 0 auto;
}

.testimonials-carousel::-webkit-scrollbar {
  display: none;
}

.testimonials-carousel .testimonial-card {
  width: min(85vw, 400px);
  max-width: 400px;
  flex: 0 0 auto;
  scroll-snap-align: center;
}

.testimonial-card {
  background: white;
  padding: 3.5rem 2.5rem;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(255, 164, 164, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--color-rose-medium);
  border-top: 3px solid var(--color-accent);
}

.testimonial-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.stars {
  color: #c79e39;
  /* Gold */
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

.testimonial-card p {
  font-size: 1.1rem;
  font-style: italic;
  margin-bottom: 2rem;
  color: var(--color-primary-dark);
  opacity: 0.95;
  line-height: 1.6;
}

.testimonial-card h4 {
  color: var(--color-primary-dark);
  font-family: var(--font-body);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 0.9rem;
}

/* --- Section: VIP Group --- */
.vip-section {
  padding: var(--spacing-section) var(--spacing-container);
  background-color: var(--color-primary-dark);
  color: white;
  text-align: center;
}

.vip-container {
  max-width: 800px;
  margin: 0 auto;
}

.vip-content h2 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 3.5rem);
  color: white;
  margin-bottom: 2rem;
  font-style: italic;
  line-height: 1.2;
}

.vip-content p {
  font-size: 1.1rem;
  margin-bottom: 3rem;
  opacity: 0.9;
  line-height: 1.8;
}

.btn-vip {
  background-color: white;
  color: var(--color-primary-dark) !important;
}

.btn-vip:hover {
  background-color: #f0f0f0;
}

/* --- Section: Mentorias --- */
.mentorship-section {
  padding: var(--spacing-section) var(--spacing-container);
  background-color: var(--color-bg-light);
}

.mentorship-eyebrow {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--color-accent);
  margin-bottom: 1rem;
  display: block;
}

.mentorship-cta {
  margin-top: 1rem;
}

.mentorship-container {
  display: flex;
  gap: 8%;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
}

.mentorship-image {
  flex: 1;
  overflow: hidden;
}

.mentorship-image img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  transition: transform 1.2s cubic-bezier(0.21, 0.85, 0.32, 1);
}

.mentorship-section:hover .mentorship-image img {
  transform: scale(1.03);
}

.mentorship-text {
  flex: 1;
  padding-top: 2rem;
}

.mentorship-text h2 {
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  margin-bottom: 1.5rem;
  line-height: 1.1;
  font-style: italic;
}

.mentorship-text p {
  font-size: 1.1rem;
  color: var(--color-text-body);
  line-height: 1.6;
  margin-bottom: 2rem;
  max-width: 500px;
}

.mentorship-list {
  list-style: none;
  margin-bottom: 3rem;
  max-width: 500px;
}

.mentorship-list li {
  font-size: 1rem;
  color: var(--color-text-body);
  margin-bottom: 1rem;
  padding-left: 24px;
  position: relative;
  line-height: 1.5;
}

.mentorship-list li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--color-primary-dark);
  font-weight: bold;
}

/* --- Section 7: Galeria --- */
.experience-section {
  padding: var(--spacing-section) var(--spacing-container);
  background-color: var(--color-cream-dark);
  text-align: center;
  border-top: 2px solid var(--color-teal-medium);
}

.gallery-header {
  margin-bottom: 4rem;
}

.carousel-header-with-nav {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  max-width: 1400px;
  margin: 0 auto 3rem auto;
}

@media (max-width: 768px) {
  .carousel-header-with-nav {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    text-align: center;
    margin-bottom: 1.5rem;
  }
}

.carousel-nav {
  display: flex;
  gap: 4px;
}

.gallery-header h2 {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-style: italic;
  color: var(--color-primary-dark);
  margin-bottom: 1rem;
}

.gallery-header p {
  font-size: 1.1rem;
  color: var(--color-text-body);
}

.swipe-hint {
  display: inline-block;
  margin-top: 0.5rem;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-accent);
  font-weight: 600;
}

/* Carousel Global Elements */
.carousel-wrapper {
  position: relative;
  max-width: 1400px;
  margin: 0 auto;
}

.carousel-btn {
  width: 44px;
  height: 44px;
  background-color: white;
  border: 1px solid rgba(186, 223, 219, 0.5);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
  color: var(--color-primary-dark);
  transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.carousel-btn:hover {
  background-color: var(--color-primary-dark);
  color: white;
  transform: scale(1.15) translateY(-2px);
  border-color: var(--color-primary-dark);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.carousel-btn svg {
  width: 20px;
  height: 20px;
}

.gallery-carousel {
  display: flex;
  gap: 2rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 0 0 2rem;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  max-width: 1400px;
  margin: 0 auto;
}

.gallery-carousel::-webkit-scrollbar {
  display: none;
}

.gallery-card {
  width: min(85vw, 400px);
  max-width: 400px;
  flex: 0 0 auto;
  scroll-snap-align: center;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.gallery-card img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

/* Responsive updates for new sections */
@media (max-width: 1024px) {
  .mentorship-container {
    flex-direction: column;
    gap: 3rem;
  }

  .mentorship-text {
    order: 1;
  }

  .mentorship-image {
    order: 2;
    width: 100%;
  }
}

/* --- Section 8: Final CTA --- */
.cta-section {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  padding: var(--spacing-container);
  overflow: hidden;
}

.cta-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background-color: #1a2522;
  /* Dark green fallback */
}

.cta-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.5);
}

.cta-content {
  max-width: 800px;
}

.cta-eyebrow {
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.cta-content h2 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  color: white;
  line-height: 1.1;
  margin-bottom: 2.5rem;
}

/* --- Footer --- */
.site-footer {
  background-color: var(--color-primary-dark);
  color: white;
  padding: 6rem var(--spacing-container) 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 3rem;
  max-width: 1200px;
  margin: 0 auto 5rem;
}

.footer-col h4 {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 1.5rem;
  color: var(--color-accent);
  margin-bottom: 2rem;
  letter-spacing: 0.05em;
  font-weight: 500;
}

.map-section {
  width: 100%;
}

.map-container iframe {
  width: 100%;
  height: 450px;
  display: block;
}

.footer-col a,
.footer-col p {
  display: block;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  margin-bottom: 1rem;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  line-height: 1.6;
}

.footer-col a:hover {
  color: white;
  transform: translateX(5px);
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* Modal Promo CSS */
@keyframes bounce-notification {
  0% {
    transform: translateY(0);
  }

  10% {
    transform: translateY(-10px);
  }

  20% {
    transform: translateY(0);
  }

  30% {
    transform: translateY(-5px);
  }

  40% {
    transform: translateY(0);
  }

  100% {
    transform: translateY(0);
  }
}

.floating-vip {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background-color: var(--color-hero-bg);
  color: var(--color-primary-dark);
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 24px;
  border-radius: 50px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  z-index: 999;
  transition: all 0.3s ease;
  text-decoration: none;
  animation: bounce-notification 4s infinite ease-in-out;
}

.floating-vip svg {
  width: 24px;
  height: 24px;
}

.floating-vip:hover {
  transform: translateY(-5px);
  background-color: var(--color-accent);
  color: white;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

/* ─── MODAL GRUPO VIP ─── */
.promo-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(27, 55, 49, 0.75);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.promo-modal.active {
  display: flex;
  animation: modalFadeIn 0.4s cubic-bezier(0.25, 1, 0.5, 1) both;
}

@keyframes modalFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.promo-modal-box {
  background: var(--color-bg-light);
  border-radius: 20px;
  padding: 3rem 2.5rem 2.5rem;
  max-width: 460px;
  width: 100%;
  position: relative;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.25);
  text-align: center;
  animation: modalSlideUp 0.45s cubic-bezier(0.25, 1, 0.5, 1) both;
  border-top: 4px solid var(--color-hero-bg);
}

@keyframes modalSlideUp {
  from { opacity: 0; transform: translateY(30px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

.promo-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  font-size: 1.8rem;
  color: var(--color-primary-dark);
  cursor: pointer;
  opacity: 0.5;
  transition: opacity 0.2s;
  line-height: 1;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.promo-close:hover { opacity: 1; }

.promo-modal-badge {
  display: inline-block;
  background: var(--color-hero-bg);
  color: var(--color-primary-dark);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 0.4rem 1.2rem;
  border-radius: 50px;
  margin-bottom: 1.5rem;
}

.promo-modal-box h3 {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 4vw, 2rem);
  font-style: italic;
  color: var(--color-primary-dark);
  margin-bottom: 1rem;
  line-height: 1.2;
}

.promo-modal-box > p {
  font-size: 0.95rem;
  color: var(--color-text-body);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.promo-modal-benefits {
  list-style: none;
  text-align: left;
  margin: 0 auto 2rem;
  max-width: 300px;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.promo-modal-benefits li {
  font-size: 0.92rem;
  color: var(--color-primary-dark);
  font-weight: 500;
}

.promo-modal-btn {
  display: inline-block;
  width: 100%;
  padding: 1rem 2rem;
  background-color: var(--color-primary-dark);
  color: white;
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.35s cubic-bezier(0.25, 1, 0.5, 1);
  box-shadow: 0 6px 20px rgba(47, 66, 60, 0.25);
  margin-bottom: 1rem;
}

.promo-modal-btn:hover {
  background-color: var(--color-hero-bg);
  color: var(--color-primary-dark);
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(47, 66, 60, 0.2);
}

.promo-modal-decline {
  background: none;
  border: none;
  color: var(--color-text-body);
  font-size: 0.82rem;
  cursor: pointer;
  opacity: 0.6;
  transition: opacity 0.2s;
  text-decoration: underline;
  padding: 0.5rem;
  font-family: var(--font-body);
}

.promo-modal-decline:hover { opacity: 1; }

.footer-brand {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 4rem;
  text-align: center;
}

.footer-brand h2 {
  font-family: var(--font-heading);
  font-size: clamp(3rem, 10vw, 8rem);
  letter-spacing: -0.02em;
  color: white;
  margin-bottom: 2rem;
  font-style: italic;
  font-weight: 400;
}

.footer-brand span {
  opacity: 0.3;
  margin: 0 2vw;
}

.footer-legal {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  width: 100%;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.5rem;
}

.legal-links {
  display: flex;
  gap: 2rem;
}

.legal-links a {
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
}

.legal-links a:hover {
  color: white;
}

/* Mobile Menu Overlay Styles */
.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: var(--color-bg-light);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.mobile-menu-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.close-menu {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: none;
  border: none;
  font-size: 2.5rem;
  color: var(--color-primary-dark);
  cursor: pointer;
  padding: 10px;
  /* Touch target */
  min-width: 44px;
  min-height: 44px;
}

@media (max-width: 1024px) {
  .differentials-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .treatments-lists-container {
    flex-direction: column;
  }
}

@media (max-width: 768px) {
  .differentials-grid {
    grid-template-columns: 1fr;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .treatment-category {
    padding: 2rem;
  }
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  text-align: center;
  align-items: center;
  width: 100%;
}

.mobile-nav-links .mobile-link {
  font-size: 1.5rem;
  font-family: var(--font-heading);
  color: var(--color-primary-dark);
  text-decoration: none;
  transition: opacity 0.3s;
}

.mobile-nav-links .mobile-link:hover {
  opacity: 0.7;
}

.mobile-nav-links .btn-solid {
  font-family: var(--font-body);
  font-size: 1.1rem;
  margin-top: 1.5rem;
  color: white !important;
  background-color: var(--color-primary-dark);
  padding: 1rem 2rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-radius: 4px;
  width: auto;
}

/* Responsividade Aprimorada - Mobile First & Touch Optimization */
@media (max-width: 1024px) {
  .hero-images {
    right: 5%;
  }

  .science-container,
  .experience-container {
    flex-direction: column;
    gap: 3rem;
  }

  .science-text,
  .experience-text {
    order: 1;
  }

  .science-image,
  .experience-image {
    order: 2;
    width: 100%;
  }
}

@media (max-width: 1100px) {
  .nav-links {
    display: none;
  }

  /* On mobile the grid collapses: logo on left, menu on right */
  .navbar {
    padding: 0.6rem 1.5rem;
    grid-template-columns: auto 1fr auto;
  }

  .nav-brand {
    justify-content: flex-start;
  }

  .nav-logo {
    height: 52px;
  }

  .nav-action .btn-outline {
    display: none;
  }

  /* Increase touch target size */
  .menu-toggle {
    padding: 12px;
    margin: -12px;
    min-width: 44px;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
  }

  .card-action {
    min-width: 44px;
    min-height: 44px;
  }

  .hero-text-large h1 {
    font-size: clamp(2.5rem, 11vw, 4.5rem);
    line-height: 1.1;
    word-break: break-word;
  }

  .hero-subtitle h2 {
    font-size: 2rem;
  }

  .hero-content {
    margin-top: 5vh;
  }

  .science-text h2 {
    font-size: 2.2rem;
  }

  .treatments-header h2 {
    font-size: 2rem;
  }

  .treatments-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }

  /* Prevent Footer brand text cut off */
  .footer-brand h2 {
    font-size: clamp(2.5rem, 10vw, 4rem);
    white-space: normal;
    word-break: break-word;
    letter-spacing: -0.05em;
  }

  .overlay-content h2 {
    font-size: clamp(2.5rem, 10vw, 4rem);
  }

  .info-container h2 {
    font-size: 1.6rem;
  }

  .experience-text h2 {
    font-size: 2.2rem;
  }
}

@media (max-width: 480px) {
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

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

  .footer-bottom {
    text-align: center;
  }

  .legal-links {
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1rem;
  }

  .science-mini-images {
    flex-direction: column;
  }

  .science-mini-images img {
    width: 100%;
    aspect-ratio: auto;
    height: 250px;
  }
}

/* 
  High-end Image Hover Effects (FaceFormula Style)
*/
.card-image {
  overflow: hidden;
}

.card-image img {
  transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.treatment-card:hover .card-image img {
  transform: scale(1.05);
  /* Elegant subtle zoom */
}

/* Image wrappers animation */
.experience-image {
  overflow: hidden;
}

.science-image {
  overflow: hidden;
}

.closeup-section {
  overflow: hidden;
}

.experience-image img,
.science-image img,
.closeup-section img {
  transition: transform 1.2s cubic-bezier(0.21, 0.85, 0.32, 1);
}

.experience-section:hover .experience-image img,
.science-section:hover .science-image img,
.closeup-section:hover img {
  transform: scale(1.03);
}