/* ================================
   styles.css (updated)
   ================================ */

:root {
  --bg: #ffffff;
  --bg-alt: #ffffff;
  --accent: #1BA778;
  --accent-soft: #178861;
  --accent-dark: #168660;
  --text: #1d1d1f;
  --muted: #030303;
  --border-radius-lg: 28px;
  --border-radius-md: 18px;
  --shadow-soft: 0 24px 60px rgba(15, 23, 42, 0.08);

  /* Typography scale */
  --fs-xs: 0.875rem;   /* tiny / eyebrow */
  --fs-sm: 0.9375rem;  /* meta / labels (~15px) */
  --fs-base: 1rem;     /* core body text (16px) */
  --fs-lg: 1.125rem;   /* large body / nav */
  --fs-xl: 1.375rem;   /* small headings */
  --fs-2xl: clamp(1.75rem, 2vw + 1.1rem, 2.1rem);  /* section titles */
  --fs-3xl: clamp(2.7rem, 4vw + 1.4rem, 3.6rem);   /* hero titles (slightly bigger now) */
}

/* Ensure all form controls use the brand font */
button,
input,
select,
textarea {
  font-family: "Outfit", sans-serif;
}

/* Base font size */
html {
  font-size: 100%;
  /* 1rem = 16px */
}

/* ========== FONTS ========== */

@font-face {
  font-family: "Outfit";
  src: url("font/Outfit-Light.ttf") format("truetype");
  font-weight: 300;
  font-style: normal;
}

@font-face {
  font-family: "Outfit";
  src: url("font/Outfit-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: "Outfit";
  src: url("font/Outfit-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
}

@font-face {
  font-family: "Outfit";
  src: url("font/Outfit-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
}

/* ========== ANIMATIONS ========== */

@keyframes pulse-glow {
  0%,
  100% {
    text-shadow: 0 0 10px rgba(138, 184, 162, 0.3);
  }

  50% {
    text-shadow: 0 0 20px rgba(138, 184, 162, 0.5);
  }
}

@keyframes clayMorph {
  0% {
    transform: scale(1) rotate(0deg);
  }

  25% {
    transform: scale(1.1) rotate(5deg);
  }

  50% {
    transform: scale(0.9) rotate(-5deg);
  }

  75% {
    transform: scale(1.05) rotate(3deg);
  }

  100% {
    transform: scale(1) rotate(0deg);
  }
}

@keyframes clayFloat {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }

  40% {
    transform: translateY(-30px);
  }

  60% {
    transform: translateY(-15px);
  }
}

@keyframes borderMorph {
  0%,
  100% {
    border-radius: 24px;
  }

  50% {
    border-radius: 12px;
  }
}

/* ========== TYPOGRAPHY ========== */

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Outfit", sans-serif;
}

p {
  font-family: "Outfit", sans-serif;
}

body {
  font-family: "Outfit", sans-serif;
  color: var(--text);
  line-height: 1.6;
  scroll-behavior: smooth;
  font-weight: 500;
  font-size: var(--fs-base);
  background: #F7F7F7;
}

/* Reset */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

.wrapper {
  max-width: 1500px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ========== HEADER & NAV ========== */

header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 0;
  gap: 1.5rem;
}

.logo {
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-image {
  height: 80px;
  width: auto;
  object-fit: contain;
}

.nav-left,
.nav-right {
  display: flex;
  gap: 1.4rem;
  font-size: 1.1rem;
  color: var(--text);
}

.nav-left a,
.nav-right a {
  position: relative;
  padding-bottom: 0.2rem;
}

/* underline on normal links */
.nav-left a::after,
.nav-right a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.25s ease;
}

.nav-left a:hover::after,
.nav-right a:hover::after {
  width: 100%;
}

/* ========== SERVICES DROPDOWN ========== */

.nav-dropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
}

/* "Services" label – just text (no click needed to open) */
.nav-dropdown-toggle {
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  cursor: default;
  font: inherit;
  color: inherit;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  position: relative;
  padding-bottom: 0.2rem;
}

/* underline for "Services" */
.nav-dropdown-toggle::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.25s ease;
}

/* caret arrow */
.nav-dropdown-toggle::after {
  content: "";
  font-size: 0.7rem;
  transform: translateY(1px);
}

/* when hovering the whole block, show underline */
.nav-dropdown:hover .nav-dropdown-toggle::before {
  width: 100%;
}

/* the dropdown menu itself */
.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 210px;
  background: #ffffff;
  border-radius: 14px;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.18);
  padding: 0.4rem 0;
  opacity: 0;
  pointer-events: none;
  transform: translateY(6px);
  transition:
    opacity 0.18s ease,
    transform 0.18s ease;
  z-index: 20;
}

/* HOVER OPENS THE DROPDOWN */
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.nav-dropdown-menu a {
  display: block;
  padding: 0.45rem 1rem;
  font-size: 0.9rem;
  white-space: nowrap;
}

.nav-dropdown-menu a:hover {
  background: rgba(138, 184, 162, 0.07);
}

/* ========== MOBILE NAV TOGGLE (HAMBURGER) ========== */

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.05);
  background: #ffffff;
  cursor: pointer;
  padding: 0;
}

.nav-toggle span {
  display: block;
  height: 2px;
  width: 18px;
  border-radius: 999px;
  background: var(--text);
  transition:
    transform 0.2s ease,
    opacity 0.2s ease;
  margin: 0 auto;
}

/* Toggle animation */
.nav-toggle.open span:nth-child(1) {
  transform: translateY(4px) rotate(45deg);
}

.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.open span:nth-child(3) {
  transform: translateY(-4px) rotate(-45deg);
}

/* ========== MOBILE NAV PANEL ========== */

.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 0.75rem;
  padding: 0.75rem 1.5rem 1rem;
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.mobile-nav a {
  font-size: 0.98rem;
  font-weight: 500;
  padding: 0.25rem 0;
}

.mobile-nav.open {
  display: flex;
}

/* Prevent body scroll when nav open */
body.nav-open {
  overflow: hidden;
}

/* ========== NAV BREAKPOINTS ========== */

@media (max-width: 900px) {
  .nav-left,
  .nav-right {
    display: none;
  }

  .nav {
    justify-content: space-between;
  }

  .nav-toggle {
    display: flex;
  }
}

/* ========== BUTTONS ========== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.6rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 1rem; /* slightly bigger for hero CTAs */
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent);
  color: #ffffff;
  box-shadow: 0 18px 40px rgba(75, 148, 119, 0.35);
}

.btn-primary:hover {
  background: var(--accent-dark);
  transform: translateY(-1px);
  box-shadow: 0 24px 55px rgba(75, 148, 119, 0.45);
}

.btn-ghost {
  background: transparent;
  color: var(--accent-dark);
  border-color: rgba(138, 184, 162, 0.35);
}

.btn-ghost:hover {
  background: rgba(138, 184, 162, 0.07);
}

.glassmorphism {
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 8px 32px rgba(138, 184, 162, 0.37);
}

/* ========== HERO ========== */

.hero {
  background: #F7F7F7;
  padding: 0 0 0rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 2.5rem;
  align-items: center;
}

.eyebrow {
  font-size: 0.9rem; /* slightly bigger */
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-dark);
  margin-bottom: 0.9rem;
}

.hero-title {
  font-size: var(--fs-3xl); /* bigger clamp from :root */
  line-height: 1.08;
  margin-bottom: 1.1rem;
  animation: pulse-glow 3s ease-in-out infinite;
  color: var(--accent-dark);
}

.hero-subtitle {
  font-size: 1.12rem; /* larger body size */
  color: var(--text);
  max-width: 520px;
  margin-bottom: 1.8rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-bottom: 1.6rem;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  font-size: 1rem; /* bigger hero bullets */
  color: var(--text);
}

/* ===============================
   CLINIC STATS SECTION
   (below "Book a visit")
   =============================== */

/* Row of three stats – desktop/tablet/mobile */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 2rem;
  margin-top: 0rem;
}

/* Each stat column */
.stat {
  min-width: 0;
  text-align: center; /* center number + label */
}

/* Big numbers */
.stat span,
.section-stats .stat span {
  display: block;
  font-weight: 700;
  font-size: clamp(2.2rem, 3vw, 2.8rem); /* hero-like size */
  color: var(--accent-dark);
  margin-bottom: 0.25rem;
}

/* Label text */
.stat p,
.section-stats .stat p {
  font-size: var(--fs-base);
  color: var(--accent-dark);
  opacity: 0.9;
  margin: 0;
}

/* Wrapper section so it matches other sections */
.section-stats {
  background: #F7F7F7;
  padding: 2.8rem 0;
}

/* Mobile: keep them in one row but slightly tighter */
@media (max-width: 640px) {
  .section-stats .hero-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
  }

  .section-stats .stat {
    text-align: center;        /* keep centered on mobile */
  }

  .section-stats .stat span {
    font-size: 1.6rem;         /* a bit smaller so they fit */
  }

  .section-stats .stat p {
    font-size: 0.8rem;
  }
}


.hero-visual {
  position: relative;
}

.hero-image-card {
  max-width: 100%;
  margin: 0 auto;
  height: 500px;
}

/* RESPONSIVE IMAGE FIX: Prevent image-text conflicts between 770px and 375px */
@media (max-width: 770px) and (min-width: 376px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  /* Ensure image appears first, content second on medium screens */
  .hero-content {
    order: 2;
  }
  
  .hero-visual {
    order: 1;
  }
  
  /* Reduce image height for better spacing */
  .hero-image-card {
    height: 320px;
  }
  
  /* Add some top margin to prevent overlap */
  .hero-content {
    margin-top: 1rem;
  }
}

/* Ensure mobile layout remains consistent */
@media (max-width: 375px) {
  .hero-image-card {
    height: 250px;
  }
  
  .hero-content {
    margin-top: 1.2rem;
  }
}

.hero-image-card img {
  width: 100%;
  height: 100%;
  border-radius: 24px;
  object-fit: cover;
  animation: borderMorph 4s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.5s infinite;
}

.hero-image-card1 {
  max-width: 80%;
  margin: 0 auto;
}

.hero-image-card1 img {
  width: 100%;
  height: 100%;
  border-radius: 24px;
  object-fit: cover;
  animation: borderMorph 4s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.5s infinite;
}

.hero-image-card2 {
  max-width: 80%;
  margin: 0 auto;
}

.hero-image-card2 img {
  width: 100%;
  height: 100%;
  border-radius: 24px;
  object-fit: cover;
  animation: borderMorph 4s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.5s infinite;
}

.hero-floating-card {
  position: absolute;
  bottom: -1.5rem;
  left: 1.4rem;
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 18px;
  padding: 0.9rem 1.1rem;
  box-shadow: 0 8px 32px rgba(138, 184, 162, 0.37);
  font-size: 1rem;
  max-width: 300px;
  width: 100%;
  color: var(--text);
  text-align: left;
  animation: clayFloat 4s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.5s infinite;
}

.hero-floating-card h4 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text);
  text-align: left;
}

.hero-floating-card p {
  font-size: 0.85rem;
  line-height: 1.4;
  margin-bottom: 0.3rem;
  text-align: left;
}

/* Decorative blobs */
.clay-blob {
  position: absolute;
  width: 80px;
  height: auto;
  animation: clayMorph 4s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.5s infinite;
  pointer-events: none;
}

.clay-blob-1 {
  top: 10%;
  right: 10%;
  width: 100px;
}

.clay-blob-2 {
  bottom: 20%;
  left: 5%;
  width: 70px;
}

.clay-blob-3 {
  top: 50%;
  left: 10%;
  width: 60px;
}

/* ========== SECTIONS ========== */

.section {
  padding: 3.5rem 0;
}

.section-header {
  text-align: center;
  margin-bottom: 1.2rem;
}

.section-eyebrow {
  font-family: "Outfit", sans-serif;
  font-size: 0.85rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-dark);
  margin-bottom: 0.5rem;
}

/* Inner treatment pages eyebrow text – a bit larger */
.hero--inner .section-eyebrow {
  font-size: 15px;
}

.section-title {
  font-family: "Outfit", sans-serif;
  font-size: var(--fs-2xl);
  margin-bottom: 0.4rem;
  color: var(--text);
}

.section-subtitle {
  font-size: 0.9rem;
  color: var(--muted);
  max-width: 480px;
  margin: 0 auto;
}

/* ========== SERVICES (HOME SPECIALTIES) ========== */

.section-services {
  background: rgba(138, 184, 162, 0.1);
}

.specialties-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2.5rem;
  margin-top: 2.4rem;
  align-items: flex-start;
}

.specialty-card {
  text-align: center;
  position: relative;
}

.specialty-media {
  max-width: 480px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.specialty-media img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  display: block;
  border-radius: 320px 320px 0 0;
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.06);
}

.specialty-content {
  position: relative;
  z-index: 3;
  max-width: 80%;
  margin: -85px auto 0;
  background: var(--bg-alt);
  border-radius: 22px;
  padding: 1.9rem 1.6rem 2rem;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.08);
}

.specialty-title {
  font-size: var(--fs-xl);
  margin-bottom: 0.45rem;
  color: var(--text);
}

.specialty-desc {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.55;
  margin-bottom: 1.2rem;
}

.specialty-desc-short {
  display: none;
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.55;
  margin-bottom: 1.2rem;
}

@media (max-width: 768px) {
  .specialty-desc {
    display: none;
  }

  .specialty-desc-short {
    display: block;
  }
}

.specialty-link {
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-dark);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: 0.2s ease;
}

.specialty-link::after {
  content: "→";
  font-size: 1rem;
}

.specialty-link:hover {
  color: var(--accent);
  transform: translateX(2px);
}

/* ========== PROMO SPLIT (KEY CONCERNS IMAGES) ========== */

.promo-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.promo-slide {
  position: relative;
  height: 330px;
  overflow: hidden;
  background: var(--bg-alt);
  cursor: pointer;
  box-shadow: var(--shadow-soft);
}

.promo-slide--left {
  border-radius: 0 200px 200px 0;
}

.promo-slide--right {
  border-radius: 200px 0 0 200px;
}

.promo-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.promo-reveal {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 0;
  background: var(--accent);
  color: #fff;
  z-index: 2;
  overflow: hidden;
  transition: width 0.45s ease;
  display: flex;
  align-items: center;
}

.promo-slide--left .promo-reveal {
  left: 0;
  border-radius: 0 150px 150px 0;
}

.promo-slide--right .promo-reveal {
  right: 0;
  border-radius: 150px 0 0 150px;
}

.promo-text {
  padding: 2rem 2.4rem;
  opacity: 0;
  transition:
    opacity 0.4s ease 0.15s,
    transform 0.4s ease 0.15s;
}

/* Left promo – text left */
.promo-slide--left .promo-text {
  text-align: left;
  transform: translateX(-20px);
}

/* Right promo – text right */
.promo-slide--right .promo-text {
  text-align: right;
  margin-left: auto;
  transform: translateX(20px);
}

.promo-text h3 {
  color: #fff;
  font-size: var(--fs-xl);
  margin-bottom: 0.6rem;
}

.promo-text p {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 1rem;
}

.promo-btn {
  display: inline-block;
  padding: 0.6rem 1.3rem;
  border: 1px solid #fff;
  border-radius: 999px;
  color: #fff;
}

/* Desktop hover – keep current animation */
.promo-slide:hover .promo-reveal {
  width: 50%;
}

.promo-slide:hover .promo-text {
  opacity: 1;
  transform: translateX(0);
}

/* ========== TRENDING TREATMENTS ========== */

#treatments {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
  padding-block: 0;
  color: white;
  position: relative;
  overflow: hidden;
}

/* Subtle pattern tint with radial gradient */
#treatments::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.15) 0%, transparent 50%),
              radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
  pointer-events: none;
  z-index: 1;
}

.section-header--light .section-eyebrow {
  color: rgba(255, 255, 255, 0.85);
}

.section-header--light .section-title {
  color: #ffffff;
}

.section-header--light .section-subtitle {
  color: rgba(255, 255, 255, 0.75);
  max-width: 32rem;
}

.treatments-wrapper {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 3rem;
  position: relative;
  z-index: 2;
}

.treatments-visual {
  flex: 1.1;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  position: relative;
}

.treatments-visual img {
  width: 200%;
  max-width: 1000px;
  object-fit: contain;
  transform: scaleX(-1);
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.25));
}

.treatments-visual::before {
  content: "";
  position: absolute;
  inset: 5% 12%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.32), transparent 70%);
  filter: blur(45px);
  z-index: -1;
}

.treatments-content {
  flex: 1.3;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.treatments-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin: 1.4rem 0 1.1rem;
  width: 100%;
  justify-content: center;
}

.pill {
  padding: 0.45rem 1.2rem;
  border-radius: 999px;
  font-size: 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  cursor: pointer;
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease,
    background 0.15s ease,
    border-color 0.15s ease,
    color 0.15s ease;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.pill::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

.pill:hover::after {
  left: 100%;
}

.pill.active {
  background: #ffffff;
  color: var(--accent-dark);
  border-color: #ffffff;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
  transform: translateY(-2px);
  font-weight: 700;
}

.pill:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.4);
  color: #ffffff;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* Cards */
.cards-grid {
  display: none;
  flex-direction: row;
  flex-wrap: nowrap;
  overflow-x: auto;
  gap: 1.5rem;
  align-items: stretch;
  margin-top: 1rem;
  padding-bottom: 1rem;
  scrollbar-width: thin;
  scrollbar-color: rgba(138, 184, 162, 0.3) transparent;
}

.cards-grid::-webkit-scrollbar {
  height: 8px;
}

.cards-grid::-webkit-scrollbar-track {
  background: transparent;
}

.cards-grid::-webkit-scrollbar-thumb {
  background: rgba(138, 184, 162, 0.3);
  border-radius: 4px;
}

.cards-grid.is-active {
  display: flex;
}

/* Mobile: Change from horizontal scrolling to column layout */
@media (max-width: 768px) {
  .cards-grid.is-active {
    display: grid;
    grid-template-columns: 1fr;
    overflow-x: visible;
    gap: 1.2rem;
    padding-bottom: 0;
  }
  
  .treatment-card {
    flex: none;
    min-height: auto;
  }
}

@media (max-width: 640px) {
  .cards-grid.is-active {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

.treatment-card {
  position: relative;
  background: #ffffff;
  border-radius: 16px;
  padding: 1.4rem 1.3rem;
  color: var(--text);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
  border: 1px solid rgba(0, 0, 0, 0.06);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 0.5rem;
  min-height: 0;
  flex: 0 0 250px;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
  overflow: hidden;
}

/* Corner highlights */
.treatment-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--accent), var(--accent-soft));
  clip-path: polygon(0 0, 100% 0, 0 100%);
  opacity: 0.15;
}

.treatment-card::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--accent), var(--accent-soft));
  clip-path: polygon(100% 0, 100% 100%, 0 100%);
  opacity: 0.15;
}

@media (min-width: 901px) {
  .treatment-card {
    padding: 1.5rem;
  }
}

.treatment-card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.18);
  border-color: rgba(138, 184, 162, 0.3);
}

.treatment-title {
  font-size: var(--fs-lg);
  font-weight: 700;
  color: var(--text);
  margin: 0;
  line-height: 1.25;
  position: relative;
  z-index: 1;
}

.treatment-card p {
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--text);
  opacity: 0.9;
  margin: 0;
  position: relative;
  z-index: 1;
}

/* ========== ABOUT ========== */

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 2rem;
  align-items: center;
}

.about-copy p {
  font-size: 0.92rem;
  color: var(--muted);
  margin-bottom: 1rem;
}

.about-list {
  list-style: none;
  font-size: 0.9rem;
  color: var(--muted);
  margin-top: 0.7rem;
}

.about-list li {
  margin-bottom: 0.4rem;
}

.about-list li::before {
  content: "✓ ";
  color: var(--accent-dark);
  font-weight: 600;
}

.trust-signals {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.trust-badge {
  display: inline-block;
  background: rgba(138, 184, 162, 0.1);
  border: 1px solid rgba(138, 184, 162, 0.3);
  border-radius: 20px;
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
  color: var(--accent-dark);
  font-weight: 500;
}

.about-image-side {
  background-image: url("images/enhancing cheekbones.jpeg");
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  width: 100%;
  height: 100%;
  min-height: 480px;
  border-radius: var(--border-radius-lg);
  box-shadow: 0 8px 32px rgba(138, 184, 162, 0.37);
}

/* Specific variations for treatment pages */
.about-image-side--hairfall {
  background-image: url("images/service pages/hairfall.webp");
}

.about-image-side--dandruff {
  background-image: url("images/service pages/Gentle care for young skin.webp");
}

.about-image-side--acne {
  background-image: url("images/service pages/More than breakouts.webp");
}

.about-image-side--pigmentation {
  background-image: url("images/service pages/pigmentation.webp");
}

/* ========== TESTIMONIALS ========== */

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.4rem;
  margin-top: 1.5rem;
}

.testimonial-card {
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--border-radius-md);
  padding: 1.4rem;
  box-shadow: 0 8px 32px rgba(138, 184, 162, 0.37);
  font-size: 0.9rem;
  color: var(--text);
}

.testimonial-name {
  margin-top: 0.7rem;
  font-weight: 500;
  color: var(--text);
  font-size: 0.9rem;
}

.testimonial-tag {
  font-size: 0.75rem;
  color: var(--muted);
  letter-spacing: 0.08em;
  text-transform: none;
  font-weight: 500;
}

/* ========== CTA / BOOKING FORMS ========== */

.cta-banner {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
  padding: 3rem 0;
  color: white;
  margin: 0;
}

.cta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}

.cta-copy .section-eyebrow,
.cta-copy .section-title,
.cta-copy p {
  text-align: left;
}

.cta-copy .section-eyebrow {
  color: rgba(255, 255, 255, 0.8);
}

.cta-copy .section-title {
  color: white;
  font-size: var(--fs-2xl);
  margin-bottom: 1rem;
}

.cta-copy p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1rem;
  margin-bottom: 1rem;
}

.cta-copy .booking-details {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
}

.booking-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem 1rem;
}

.booking-form .full {
  grid-column: 1 / -1;
}

label {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 0.25rem;
  color: var(--muted);
}

input,
select,
textarea {
  width: 100%;
  padding: 0.65rem 0.75rem;
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.07);
  font-family: inherit;
  font-size: 0.9rem;
  outline: none;
  background: #fbfaf8;
  transition:
    border 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px rgba(138, 184, 162, 0.3);
  background: #ffffff;
}

textarea {
  min-height: 90px;
  resize: vertical;
}

.booking-submit {
  margin-top: 0.6rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  grid-column: 1 / -1;
}

.privacy-text {
  font-weight: 500;
  font-size: 16px;
  color: #ffffff;
}

.cta-banner input,
.cta-banner select,
.cta-banner textarea {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: var(--text);
}

.cta-banner input:focus,
.cta-banner select:focus,
.cta-banner textarea:focus {
  border-color: rgba(255, 255, 255, 0.6);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.4);
  background: #ffffff;
}

.cta-banner label {
  color: rgba(255, 255, 255, 0.8);
}

/* ========== FOOTER ========== */

footer {
  margin-top: 3rem;
  padding: 3rem 0 2rem;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
  position: relative;
  overflow: hidden;
  min-height: 380px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

footer .wrapper {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1500px;
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) repeat(3, minmax(0, 1fr));
  gap: 3rem;
  font-size: 1rem;
  align-items: flex-start;
}

.footer-column {
  text-align: left;
}

.footer-intro {
  padding-top: 0;
}

.footer-column .footer-title {
  margin-top: 3rem;
}

.footer-text {
  color: rgba(255, 255, 255, 0.9);
  max-width: 320px;
  font-size: 0.95rem;
  line-height: 1.5;
}

.footer-title {
  font-weight: 700;
  margin-bottom: 1rem;
  font-size: 1.1rem;
  color: #ffffff;
  letter-spacing: 0.02em;
}

.footer-links {
  list-style: none;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.95rem;
  font-weight: 600;
}

.footer-links li {
  margin-bottom: 0.6rem;
}

.footer-address {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.95rem;
  line-height: 1;
}

.footer-address p {
  margin-bottom: 0.4rem;
  line-height: 1.4;
}

.footer-links a:hover {
  color: #ffffff;
}

.footer-copyright {
  margin-top: 2.5rem;
  text-align: center;
  font-size: 0.9rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.8);
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-copyright p {
  margin: 0;
}

/* ========== PRELOADER ========== */

#preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 8px 32px rgba(138, 184, 162, 0.37);
}

#preloader img {
  max-width: 200px;
  height: auto;
  animation: bounce 2s infinite;
}

/* Misc */
.logo small {
  font-size: 0.75rem;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

/* ========== POPUP LEAD FORM ========== */

.popup-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(15, 23, 42, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  overflow-y: auto;
}

.popup-overlay.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.popup-dialog {
  position: relative;
  max-width: 480px;
  width: 100%;
  background: var(--bg-alt);
  border-radius: var(--border-radius-lg);
  padding: 2rem 2rem 1.8rem;
  box-shadow: var(--shadow-soft);
  max-height: calc(100vh - 3rem);
  overflow-y: auto;
}

.popup-title {
  font-family: "Outfit", sans-serif;
  font-size: 1.7rem;
  margin-bottom: 0.4rem;
  color: var(--text);
}

.popup-subtitle {
  font-size: 0.95rem;
  color: var(--muted);
  margin-bottom: 1.1rem;
}

/* Mobile-first: stacked fields */
.popup-form {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.popup-field label {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 0.25rem;
  color: var(--muted);
}

.popup-field input,
.popup-field select {
  width: 100%;
}

.popup-submit {
  width: 100%;
  margin-top: 0.4rem;
}

.popup-close {
  position: absolute;
  top: 0.9rem;
  right: 1rem;
  border: none;
  background: transparent;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  color: var(--muted);
}

.popup-close:hover {
  color: var(--accent-dark);
}

/* Phone group layout for side-by-side select and input */
.phone-group {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: 0;
}

.phone-group label {
  width: 100%;
  margin-bottom: 0.25rem;
}

.phone-group select {
  width: auto;
  border-right: 1px solid rgba(0, 0, 0, 0.1);
  padding-right: 0.5rem;
  margin-right: 0.5rem;
}

.phone-group input[type="tel"] {
  flex: 1;
}

.phone-group input[type="hidden"] {
  display: none;
}

.phone-group .error {
  width: 100%;
  margin-top: 0.25rem;
}

/* Prevent scroll when popup is open */
body.popup-open {
  overflow: hidden;
}

/* ========== SUCCESS MODAL ========== */

.success-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 10001;
  background: rgba(15, 23, 42, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  overflow-y: auto;
}

.success-modal-overlay.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.success-modal-dialog {
  position: relative;
  max-width: 480px;
  width: 100%;
  background: var(--bg-alt);
  border-radius: var(--border-radius-lg);
  padding: 2rem 2rem 1.8rem;
  box-shadow: var(--shadow-soft);
  max-height: calc(100vh - 3rem);
  overflow-y: auto;
}

.success-modal-title {
  font-family: "Outfit", sans-serif;
  font-size: 1.7rem;
  margin-bottom: 0.4rem;
  color: var(--text);
}

.success-modal-message {
  font-size: 0.95rem;
  color: var(--muted);
  margin-bottom: 1.1rem;
}

.success-modal-close {
  position: absolute;
  top: 0.9rem;
  right: 1rem;
  border: none;
  background: transparent;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  color: var(--muted);
}

.success-modal-close:hover {
  color: var(--accent-dark);
}

/* Prevent scroll when success modal is open */
body.modal-open {
  overflow: hidden;
}

/* ========== RESPONSIVE BREAKPOINTS ========== */

/* Large tablet & small desktop */
@media (max-width: 1100px) {
  .treatments-wrapper {
    flex-direction: column;
    align-items: flex-start;
  }

  .treatments-visual {
    width: 100%;
    justify-content: center;
  }

  .cards-grid {
      flex-direction: row;
      flex-wrap: nowrap;
      overflow-x: auto;
      gap: 1.5rem;
      padding-bottom: 1rem;
    }
}

/* Tablet */
@media (max-width: 1024px) {
  .specialties-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cta-grid {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 2rem;
  }

  .cta-banner {
    padding: 2.5rem 0;
  }
}

/* Mobile nav + layout stack */
@media (max-width: 900px) {
  .nav-left,
  .nav-right {
    display: none;
  }

  .nav {
    justify-content: space-between;
  }

  .nav-toggle {
    display: flex;
  }

  .hero-grid,
  .about-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  
  .hero {
    padding-top: 3rem;
  }
  
  /* Ensure image appears first, content second on mobile */
  .hero-content {
    order: 2;
  }
  
  .hero-visual {
    order: 1;
  }

  .hero-floating-card {
    bottom: 1rem;
    max-width: 300px;
  }

  .promo-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .specialties-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .testimonials-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2rem;
  }
}

/* Small tablet / big phone */
@media (max-width: 768px) {
  body {
    font-size: 17px;
  }

  .section {
    padding: 2.4rem 0;
  }

  .hero-title {
    text-align: left;
  }

  .hero-subtitle {
    font-size: var(--fs-base);
    max-width: 100%;
  }

  .hero-tags {
    gap: 1rem;
  }

  .specialties-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.6rem;
  }

  .testimonials-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.2rem;
  }

  .cards-grid {
    flex-direction: row;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 1rem;
    padding-bottom: 1rem;
  }

  .treatment-card {
    min-height: 0;
    padding: 0.9rem 0.95rem;
  }

  .cta-grid {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 1.8rem;
  }

  .cta-copy {
    text-align: left;
  }

  .cta-copy .section-title {
    font-size: 1.8rem;
  }

  .booking-form {
    grid-template-columns: minmax(0, 1fr);
  }

  input,
  select,
  textarea {
    padding: 0.7rem 0.8rem;
    font-size: 0.95rem;
  }

  .booking-submit {
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
  }

  .about-grid {
    gap: 1.6rem;
  }

  .about-image-side {
    min-height: 360px;
  }

  .trust-signals {
    gap: 0.25rem;
  }

  .trust-badge {
    padding: 0.4rem 0.8rem;
    font-size: 0.85rem;
  }

  .treatments-wrapper {
    flex-direction: column;
    align-items: stretch;
    gap: 2.5rem;
  }

  .treatments-visual {
    order: -1;
    align-items: center;
  }

  .treatments-visual img {
    max-width: 520px;
    width: 100%;
  }

  .treatments-toolbar {
    justify-content: center;
    gap: 0.6rem;
  }

  .pill {
    padding: 0.4rem 1rem;
    font-size: 0.85rem;
  }

  .cards-grid {
    flex-direction: row;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 1.2rem;
    padding-bottom: 1rem;
  }

  .treatment-card {
    padding: 1.2rem 1.1rem;
    min-height: auto;
  }
}

/* Phones */
@media (max-width: 640px) {
  /* ---------- HERO ---------- */
  .hero {
    padding-top: 1.8rem;
  }

  .hero-title {
    text-align: left;
  }

  .hero-subtitle {
    margin-bottom: 1.2rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn {
    width: 100%;
  }

  /* Hide hero tags (✓ lines) on mobile */
  .hero-tags {
    display: none;
  }

  /* Floating hero card tweaks */
  .hero-floating-card {
    left: 1rem;
    right: 1rem;
    padding: 0.8rem 1rem;
    max-width: 300px;
  }

  /* ---------- TREATMENTS SECTION ---------- */
  #treatments {
    padding-bottom: 3rem;
  }

  #treatments .cards-grid.is-active {
    margin-bottom: 0.75rem;
  }

  .cards-grid {
    flex-direction: row;
    flex-wrap: nowrap;
    overflow-x: auto;
    max-width: 420px;
    margin: 0 auto;
    gap: 1.2rem;
    padding-bottom: 1rem;
  }

  .treatment-card {
    padding: 1.3rem 1.2rem;
    min-height: auto;
  }

  .pill {
    padding: 0.45rem 1.1rem;
    font-size: 0.88rem;
  }

  /* ---------- SPECIALTIES / TESTIMONIALS ---------- */
  .specialties-grid {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 1rem;
    padding-bottom: 1rem;
  }

  .specialty-card {
    flex: 0 0 280px;
    min-width: 280px;
  }

  .testimonials-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .specialty-content {
    max-width: 90%;
    margin-top: -65px;
    padding: 1.4rem 1.3rem 1.6rem;
  }

  .specialty-media img {
    height: 360px;
  }

  .testimonial-card {
    padding: 1.25rem;
    font-size: 0.9rem;
  }

  /* ---------- PROMO SPLIT ---------- */
  .promo-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .promo-slide {
    height: 260px;
  }

  .promo-slide:hover .promo-reveal {
    width: 100%;
  }

  .promo-text {
    padding: 1.4rem 1.6rem;
  }

  .promo-text h3 {
    font-size: 1.1rem;
  }

  .promo-text p {
    font-size: 0.9rem;
  }

  /* ---------- ABOUT IMAGE ---------- */
  .about-image-side {
    min-height: 280px;
  }

  /* ---------- CTA / BOOKING ---------- */
  .cta-grid {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 1.8rem;
  }

  .cta-copy {
    text-align: left;
  }

  .cta-copy .section-title {
    font-size: 1.8rem;
  }

  .booking-form {
    grid-template-columns: minmax(0, 1fr);
  }

  input,
  select,
  textarea {
    padding: 0.7rem 0.8rem;
    font-size: 0.95rem;
  }

  .booking-submit {
    text-align: left;
  }

  /* ---------- POPUP (LEAD FORM) ---------- */
  .popup-dialog {
    width: 100%;
    max-width: 100%;
    margin: 0;
    border-radius: 18px;
    max-height: none;
    overflow: visible;
    padding: 1.6rem 1.3rem 1.5rem;
  }

  .popup-title {
    font-size: 1.35rem;
  }

  .popup-overlay {
    padding: 1rem 0.75rem;
    align-items: flex-start;
    justify-content: center;
    overflow-y: auto;
  }

  /* ---------- SUCCESS MODAL ---------- */
  .success-modal-dialog {
    width: 100%;
    max-width: 100%;
    margin: 0;
    border-radius: 18px;
    max-height: none;
    overflow: visible;
    padding: 1.6rem 1.3rem 1.5rem;
  }

  .success-modal-title {
    font-size: 1.35rem;
  }

  .success-modal-overlay {
    padding: 1rem 0.75rem;
    align-items: flex-start;
    justify-content: center;
    overflow-y: auto;
  }

  body.popup-open .floating-whatsapp {
    display: none;
  }

  /* ---------- FOOTER (CENTERED + TIGHTER) ---------- */
  .footer-grid {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 0.8rem;
    gap: 0.8rem;
  }

  .footer-column {
    text-align: center;
  }

  .footer-logo {
    display: block;
    margin: 0 auto 0.8rem !important;
  }

  .footer-intro {
    text-align: center;
  }

  .footer-column .footer-title {
    margin-top: 0.4rem;
    margin-bottom: 0.3rem;
    text-align: center;
  }

  .footer-text,
  .footer-address {
    text-align: center;
    max-width: 22rem;
    margin: 0 auto;
    line-height: 1.5;
  }

  .footer-links {
    text-align: center;
  }

  .footer-links li {
    margin-bottom: 0.3rem;
    line-height: 1.4;
  }

  .footer-copyright {
    margin-top: 1.4rem;
    padding-top: 1rem;
  }

  .footer-social-row {
    margin-top: 0.8rem;
  }

  .social-icons {
    gap: 16px;
  }

  /* ---------- FLOATING WHATSAPP BUTTON ---------- */
  .floating-whatsapp {
    width: 54px;
    height: 54px;
    bottom: 18px;
    right: 18px;
  }
}

/* Very small phones */
@media (max-width: 480px) {
  .wrapper {
    padding-inline: 1rem;
  }

  .hero-title {
    font-size: clamp(2rem, 6vw + 1.2rem, 2.4rem);
  }

  .section-title {
    font-size: clamp(1.5rem, 4vw + 1rem, 1.9rem);
  }

  footer {
    padding: 2rem 0;
  }

  .logo-image {
    height: 60px;
  }

  .nav {
    padding-block: 0.35rem;
  }

  .promo-slide--left,
  .promo-slide--right {
    border-radius: 22px;
  }

  .specialty-media img {
    border-radius: 22px;
  }

  .about-image-side {
    border-radius: 22px;
  }
}

/* ========== TYPOGRAPHY & READABILITY REFINEMENTS ========== */

/* Core body copy */
p,
li {
  font-size: var(--fs-base);
  line-height: 1.7;
}

/* Main supporting text */
.hero-subtitle,
.section-subtitle,
.about-copy p,
.about-list,
.booking-details,
.testimonial-card p,
.footer-text,
.footer-links li,
.specialty-desc {
  font-size: var(--fs-base);
  line-height: 1.7;
}

/* Nav links – bigger text */
.nav-left,
.nav-right {
  font-size: var(--fs-lg);
}

.hero-tags,
.footer-links,
label,
.popup-field label,
.booking-form label {
  font-size: var(--fs-sm);
}

/* Eyebrow / meta labels */
.section-eyebrow,
.eyebrow {
  font-size: 0.85rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
}

/* Buttons & pills */
.btn,
.pill {
  font-size: var(--fs-sm);
}

.hero-actions .btn {
  font-weight: 700;
}

/* Both Submit buttons use Outfit */
.popup-submit,
.booking-submit button {
  font-family: "Outfit", sans-serif;
  font-weight: 600;
}

/* ========== FLOATING WHATSAPP BUTTON ========== */

.floating-whatsapp {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 9000;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.35);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  opacity: 0.9;
}

.floating-whatsapp svg {
  width: 100%;
  height: 100%;
}

.floating-whatsapp circle {
  fill: #25d366;
}

.floating-whatsapp path {
  fill: #ffffff;
}

.floating-whatsapp:hover {
  transform: scale(1.1);
  box-shadow: 0 12px 40px rgba(37, 211, 102, 0.65);
}

/* ========== FOOTER SOCIAL ICONS ========== */

.footer-social-row {
  width: 100%;
  display: flex;
  justify-content: center;
  margin: 1rem 0 0;
}

.social-icons {
  display: flex;
  gap: 20px;
}

.social-icons img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  opacity: 0.85;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.social-icons a:hover img {
  transform: translateY(-2px) scale(1.05);
  opacity: 1;
}

/* ==========================================================
   HERO BULLETS + INNER HERO MOBILE LAYOUT
   ========================================================== */

.hero-bullets {
  list-style: none;
  margin: 0 0 1.4rem;
  padding: 0;
}

.hero-bullets li {
  position: relative;
  padding-left: 1.4rem;
  margin-bottom: 0.35rem;
  font-size: 0.94rem;
  color: var(--muted);
}

.hero-bullets li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent-dark);
  font-size: 1.2rem;
  line-height: 1;
}

@media (max-width: 900px) {
  .hero.hero--inner {
    padding-top: 2.4rem;
    padding-bottom: 2.4rem;
  }

  .hero--inner .hero-grid {
    gap: 1.8rem;
  }

  .hero--inner .hero-visual {
    max-width: 380px;
    margin: 0 auto;
  }

  .hero--inner .hero-image-card1,
  .hero--inner .hero-image-card2 {
    max-width: 100%;
  }

  .hero--inner .hero-title {
    margin-bottom: 0.75rem;
  }

  .hero--inner .hero-subtitle {
    margin-bottom: 1rem;
  }

  .hero--inner .hero-bullets {
    margin-bottom: 1.25rem;
  }
}

@media (max-width: 640px) {
  .hero.hero--inner {
    padding-top: 2rem;
  }

  .hero--inner .hero-title {
    font-size: clamp(1.9rem, 5.4vw + 1rem, 2.3rem);
  }

  .hero--inner .hero-subtitle {
    font-size: 0.98rem;
  }

  .hero--inner .hero-visual {
    order: -1;
    margin-bottom: 0.75rem;
  }

  .hero--inner .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero--inner .hero-actions .btn {
    width: 100%;
  }
}

/* ==========================================================
   EXTRA RESPONSIVE REFINEMENTS
   ========================================================== */

@media (max-width: 1024px) {
  .hero-grid {
    row-gap: 2.2rem;
  }

  .hero-floating-card {
    left: 1.5rem;
    right: 1.5rem;
    max-width: 300px;
  }

  .specialty-media img {
    height: 380px;
  }
}

@media (max-width: 768px) {
  .hero-image-card,
  .hero-image-card1,
  .hero-image-card2 {
    max-width: 100%;
    height: auto;
  }

  .hero-image-card img {
    object-fit: scale-down;
    width: auto;
    height: auto;
    max-width: 100%;
  }

  .slideshow {
    height: auto;
  }

  .slide {
    position: relative;
    height: auto;
  }

  .hero-floating-card {
    bottom: 0.5rem;
    left: 1.2rem;
    right: 1.2rem;
    max-width: 300px;
    font-size: 0.9rem;
  }

  .promo-slide {
    height: 280px;
  }

  .footer-grid {
    column-gap: 2rem;
    row-gap: 2.2rem;
  }

  .popup-dialog {
    max-width: 420px;
  }
}

/* iPhone SE specific viewport (375x667) */
@media (max-width: 375px) and (max-height: 667px) and (orientation: portrait) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  /* Ensure image appears first, content second on iPhone SE */
  .hero-content {
    order: 2;
  }
  
  .hero-visual {
    order: 1;
    margin-top: 1rem;
  }
  
  .hero-image-card {
    height: 250px;
  }
  
  .hero-title {
    font-size: 1.8rem;
  }
  
  .hero-subtitle {
    font-size: 0.95rem;
  }
}

@media (max-width: 640px) {
  .hero-floating-card {
    left: 1rem;
    right: 1rem;
    padding: 0.8rem 1rem;
    max-width: 300px;
  }

  .specialty-content {
    max-width: 90%;
    margin-top: -65px;
    padding: 1.4rem 1.3rem 1.6rem;
  }

  .specialty-media img {
    height: 360px;
  }

  .testimonial-card {
    padding: 1.25rem;
    font-size: 0.9rem;
  }

  .popup-dialog {
    max-width: 100%;
    border-radius: 18px;
  }

  .footer-social-row {
    margin-top: 0.8rem;
  }

  .social-icons {
    gap: 16px;
  }
}

@media (max-width: 480px) {
  .hero-subtitle {
    font-size: 0.95rem;
  }

  .hero-bullets li {
    font-size: 0.9rem;
    margin-bottom: 0.3rem;
  }

  .specialty-content {
    max-width: 92%;
    margin-top: -55px;
    padding: 1.3rem 1.2rem 1.5rem;
  }

  .popup-dialog {
    padding: 1.3rem 1.1rem 1.2rem;
  }

  .popup-field input,
  .popup-field select {
    font-size: 0.9rem;
    padding: 0.6rem 0.75rem;
  }

  .social-icons img {
    width: 24px;
    height: 24px;
  }

  .floating-whatsapp {
    width: 50px;
    height: 50px;
    bottom: 16px;
    right: 16px;
  }
}

/* ==========================================================
   Laptops: keep comfortable side margins
   ========================================================== */
@media (min-width: 1024px) and (max-width: 1500px) {
  .wrapper {
    width: min(1200px, 92vw);
  }
}

















/* ==========================================================
    BOOKING BENEFITS LIST SPACING
    ========================================================== */

.booking-details .benefits-list li {
    line-height: 1.8;
    word-spacing: 0.1em;
}

/* ==========================================================
    TREATMENT PAGES ONLY
    - Service header (300px)
    - Gradient on ABOUT section
    - Remove gradient from CTA form
    ========================================================== */

/* Body flag so styles only apply on these pages */
.treatment-page {
  background-color: var(--bg);
}

/* 300px service header bar */
.treatment-page .service-header {
  min-height: 200px;
  display: flex;
  align-items: center;
  background: #f7fbf9; /* soft light background */
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.service-header-inner {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.4rem;
}

.service-header-label {
  font-size: 0.85rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-dark);
  font-weight: 600;
}

.service-header-title {
  font-size: clamp(2.1rem, 3.4vw + 1rem, 2.8rem);
  color: var(--text);
  line-height: 1.1;
}

/* ABOUT section gets the green gradient on treatment pages */
.treatment-page .section--about {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
  color: #ffffff;
}

.treatment-page .section--about .section-eyebrow,
.treatment-page .section--about .section-title {
  color: #ffffff;
}

.treatment-page .section--about .about-copy p,
.treatment-page .section--about .about-list,
.treatment-page .section--about .about-list li {
  color: rgba(255, 255, 255, 0.92);
}

.treatment-page .section--about .about-list li::before {
  color: #ffffff;
}

.treatment-page .section--about .about-image-side {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.26);
}

/* Remove green gradient from CTA form ONLY on treatment pages */
.treatment-page .cta-banner {
  background: var(--bg);
  color: var(--text);
}

.treatment-page .cta-banner .section-eyebrow {
  color: var(--accent-dark);
}

.treatment-page .cta-banner .section-title {
  color: var(--text);
}

.treatment-page .cta-banner p,
.treatment-page .cta-banner .booking-details {
  color: var(--muted);
}

/* 🔹 Make labels visible on white background */
.treatment-page .cta-banner label {
  color: var(--muted);
}

/* Inputs inside CTA on treatment pages look like normal site inputs */
.treatment-page .cta-banner input,
.treatment-page .cta-banner select,
.treatment-page .cta-banner textarea {
  background: #fbfaf8;
  border: 1px solid rgba(0, 0, 0, 0.07);
  color: var(--text);
}

.treatment-page .cta-banner input:focus,
.treatment-page .cta-banner select:focus,
.treatment-page .cta-banner textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px rgba(138, 184, 162, 0.3);
  background: #ffffff;
}

/* Center heading and form on services pages only */
.treatment-page .cta-grid {
  grid-template-columns: 1fr;
  gap: 2.5rem;
  text-align: center;
}

.treatment-page .cta-copy {
  text-align: center;
}

.treatment-page .cta-copy .section-eyebrow,
.treatment-page .cta-copy .section-title,
.treatment-page .cta-copy p {
  text-align: center;
}

.treatment-page .booking-form {
  margin: 0 auto;
  max-width: 1500px;
}

/* Mobile tweak for header height */
@media (max-width: 640px) {
  .treatment-page .service-header {
    min-height: 220px;
    padding-top: 1.2rem;
    padding-bottom: 1.2rem;
  }

  .service-header-title {
    font-size: clamp(1.9rem, 5.2vw + 1rem, 2.3rem);
  }
}

/* Error messages for form validation */
.error {
  color: red;
  font-size: 0.875rem;
  margin-top: 0.25rem;
  display: block;
}

/* Demo watermark */
body::before {
  content: "DEMO";
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-45deg);
  font-size: 15vw;
  color: rgba(0, 0, 0, 0.05);
  z-index: 10000;
  pointer-events: none;
  font-family: "Outfit", sans-serif;
  font-weight: 700;
}






/* ==========================================================
   FIX: HERO image/text overlap between 770px and 375px
   Make 376–770 behave like 375 (stable image card + spacing)
   ========================================================== */
@media (max-width: 770px) {

  /* Always stack hero like mobile */
  .hero-grid {
    grid-template-columns: 1fr !important;
    gap: .5rem !important;
  }

  /* Image first, content second */
  .hero-visual { 
    order: 1 !important;
    margin-bottom: 1rem !important;  /* key: prevents conflict */
  }
  .hero-content { 
    order: 2 !important;
    margin-top: 0 !important;
  }

  /* Force a stable hero image height (no collapsing) */
  .hero-image-card {
    height: clamp(250px, 55vw, 320px) !important;
  }

  /* Keep slideshow occupying the card properly */
  .hero-image-card .slideshow {
    height: 100% !important;
  }

  /* Keep slides absolute so only one slide "takes space" */
  .hero-image-card .slide {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
  }

  /* Ensure images fill the card */
  .hero-image-card .slide img,
  .hero-image-card img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
  }
}
