/* ==========================================================================
   Advanced Adgro Hair & GloSkin — style.css
   Brand: Red #ED1C24 · Black #080808 · White #FFFFFF
   Fonts: Manrope (headings) · Inter (body)

   Contents
     1. Tokens (desktop base + per-breakpoint overrides)
     2. Base
     3. Buttons
     4. Header              (+ responsive)
     5. Hero + slider       (+ responsive)
     6. About               (+ responsive)
     7. Why choose us       (+ responsive)
     8. Services            (+ responsive)
     9. Treatments          (+ responsive)
    10. Contact             (+ responsive)
    11. Enquiry popup       (+ responsive)
    11b. Enquiry forms      (contact + popup, scoped to .appointment-form, responsive)
    12. Footer              (+ responsive)
    13. Floating WhatsApp   (+ responsive)
    14. Keyframes
    15. Reduced motion

   Breakpoints
     Desktop XL   ≥ 1440px   (base values)
     Laptop       1024–1439px
     Tablet       768–1023px
     Mobile       ≤ 767px
     Small phone  ≤ 389px

   Mobile type: body 15px. Hero title, every section title and service
   panel titles share one size (30px).
   ========================================================================== */


/* ==========================================================================
   1. TOKENS
   ========================================================================== */
:root {
  /* Brand */
  --red: #ED1C24;
  --black: #080808;
  --white: #FFFFFF;
  --whatsapp: #3CBD37;          /* WhatsApp green (channel convention, not a brand colour) */
  --whatsapp-dark: #24A82C;

  /* Tints derived only from the brand colours */
  --tint: color-mix(in srgb, var(--black) 4%, var(--white));
  --line: color-mix(in srgb, var(--black) 12%, transparent);
  --line-light: color-mix(in srgb, var(--white) 16%, transparent);
  --muted: color-mix(in srgb, var(--black) 68%, var(--white));
  --muted-light: color-mix(in srgb, var(--white) 72%, var(--black));
  --panel-dark: color-mix(in srgb, var(--white) 5%, var(--black));
  --shadow: 0 30px 50px -25px color-mix(in srgb, var(--black) 40%, transparent);

  /* Typography (desktop) */
  --font-head: "Manrope", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --fs-h1: clamp(2.5rem, 1.4rem + 3.6vw, 4.5rem);
  --fs-h2: clamp(2rem, 1.2rem + 3.2vw, 3.75rem);
  --fs-h3: clamp(1.25rem, 1.1rem + 0.6vw, 1.6rem);
  --fs-body: 1rem;
  --fs-lead: 1rem;
  --fs-small: 0.875rem;

  /* Layout (desktop XL values; overridden below) */
  --container: 1360px;
  --gutter: clamp(1.25rem, 0.5rem + 3vw, 3rem);
  --header-h: 116px;
  --section-y: 8rem;             /* top and bottom padding of every section */
  --head-gap: 4.5rem;            /* space between a section heading and its content */
  --gap: clamp(1rem, 0.6rem + 1.4vw, 1.75rem);
  --radius: 20px;
  --radius-lg: 28px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* Laptop 1024–1439 */
@media (min-width: 1024px) and (max-width: 1439px) {
  :root {
    --container: 1140px;
    --header-h: 96px;
    --section-y: 6rem;
    --head-gap: 3.5rem;
  }
}

/* Tablet 768–1023 */
@media (min-width: 768px) and (max-width: 1023px) {
  :root {
    --container: 100%;
    --header-h: 88px;
    --section-y: 5rem;
    --head-gap: 3rem;
  }
}

/* Mobile ≤767 */
@media (max-width: 767px) {
  :root {
    --header-h: 72px;
    --gutter: 1.25rem;
    --gap: 1rem;
    --radius: 16px;
    --radius-lg: 22px;
    --section-y: 3.5rem;
    --head-gap: 2rem;

    --fs-h1: 1.875rem;           /* 30px — one heading size on mobile */
    --fs-h2: 1.875rem;           /* 30px */
    --fs-h3: 1.125rem;           /* 18px */
    --fs-body: 0.9375rem;        /* 15px body text */
    --fs-lead: 0.9375rem;
    --fs-small: 0.8125rem;
  }
}


/* ==========================================================================
   2. BASE
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font: 400 var(--fs-body)/1.65 var(--font-body);
  color: var(--black);
  background: var(--white);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
body:has(.mobile-toggle[aria-expanded="true"]) { overflow: hidden; }   /* lock scroll while the menu is open */

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
p { margin: 0 0 1rem; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-head); font-weight: 800; line-height: 1.1; letter-spacing: -0.03em; }
h3 { font-size: var(--fs-h3); }
::selection { background: var(--red); color: var(--white); }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }

.container { width: min(100% - var(--gutter) * 2, var(--container)); margin-inline: auto; }
.section { padding-block: var(--section-y); }
.red { color: var(--red); }
.text-center { text-align: center; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 0.75rem;
  font-weight: 600; font-size: 0.95rem; color: var(--red);
}
.eyebrow::before { content: ""; width: 2rem; height: 2px; background: currentColor; }
.section-title { font-size: var(--fs-h2); line-height: 1.12; margin: 0.75rem 0 1.25rem; text-wrap: balance; }
.section-sub { color: var(--muted); font-size: var(--fs-lead); }
.section-header { max-width: 46rem; margin: 0 auto var(--head-gap); }

@media (max-width: 767px) {
  .eyebrow { font-size: var(--fs-small); }
  .section-title { margin: 0.5rem 0 0.9rem; line-height: 1.15; letter-spacing: -0.02em; }
}


/* ==========================================================================
   3. BUTTONS
   ========================================================================== */
.btn {
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
  min-height: 48px; padding: 0.75rem 1.6rem;
  border: 2px solid transparent; border-radius: 999px;
  font: 600 0.95rem/1.2 var(--font-body); white-space: nowrap; cursor: pointer;
  transition: color 0.4s, border-color 0.4s, box-shadow 0.4s, translate 0.4s var(--ease), scale 0.2s;
  -webkit-tap-highlight-color: transparent;
}
.btn::before {                                   /* hover fill slides up */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--btn-hover, var(--black)); border-radius: inherit;
  transform: translateY(101%); transition: transform 0.5s var(--ease);
}
.btn:hover { translate: 0 -3px; }
.btn:hover::before { transform: none; }
.btn:active { scale: 0.97; }
.btn:disabled { opacity: 0.75; cursor: progress; }

.btn-red { --btn-hover: var(--black); background: var(--red); color: var(--white); box-shadow: 0 12px 26px -12px var(--red); }
.btn-red:hover { box-shadow: 0 16px 30px -12px var(--black); }
.btn-outline-red { --btn-hover: var(--red); color: var(--red); border-color: var(--red); }
.btn-outline-red:hover { color: var(--white); }
.btn-outline-black { --btn-hover: var(--black); color: var(--black); border-color: var(--black); }
.btn-outline-black:hover { color: var(--white); }
.btn-outline-white { --btn-hover: var(--white); color: var(--white); border-color: var(--white); }
.btn-outline-white:hover { color: var(--black); }
.btn-lg { min-height: 56px; padding: 1rem 2.1rem; font-size: 1rem; }
.btn-block { width: 100%; }

@media (max-width: 767px) {
  .btn-lg { min-height: 52px; padding: 0.9rem 1.6rem; font-size: 0.95rem; }
}


/* ==========================================================================
   4. HEADER
   ========================================================================== */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 100;
  height: var(--header-h);
  transition: background 0.4s, box-shadow 0.4s, backdrop-filter 0.4s;
}
.site-header.scrolled {
  background: color-mix(in srgb, var(--white) 92%, transparent);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  box-shadow: 0 10px 30px -18px color-mix(in srgb, var(--black) 45%, transparent);
}

.header-container {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem; height: 100%;
}

/* Logo (image) */
.logo { display: inline-flex; align-items: center; flex: none; line-height: 0; }
.logo-img {
  display: block; width: auto; height: 85px; max-width: 100%;   /* height-based keeps the artwork's proportions */
  
}
.logo:hover .logo-img { transform: translateY(-2px); }

/* Navigation (desktop) */
.nav { display: flex; align-items: center; gap: clamp(1.5rem, 3vw, 3rem); }
.nav-list { display: flex; gap: clamp(1.25rem, 2.4vw, 2.5rem); }
.nav-link { position: relative; display: inline-block; padding: 0.5rem 0; font-weight: 500; font-size: 0.95rem; }
.nav-link::after {
  content: ""; position: absolute; left: 0; bottom: 0.1rem; width: 100%; height: 2px; background: var(--red);
  transform: scaleX(0); transform-origin: right; transition: transform 0.5s var(--ease);
}
.nav-link:hover::after, .nav-link.active::after { transform: scaleX(1); transform-origin: left; }
.nav-actions { display: flex; gap: 0.75rem; }
.nav-actions .btn { min-height: 44px; padding-inline: 1.3rem; }
.nav-actions .btn-outline-red i { display: none; }

/* Hamburger (hidden on desktop) */
.mobile-toggle {
  display: none; flex-direction: column; justify-content: center; align-items: center; gap: 6px;
  width: 48px; height: 48px; padding: 0; border: 0; border-radius: 50%; background: transparent; cursor: pointer;
}
.mobile-toggle span {
  width: 24px; height: 2px; border-radius: 2px; background: var(--black);
  transition: transform 0.4s var(--ease), opacity 0.3s;
}
.mobile-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.mobile-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.mobile-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* Header — Laptop 1024–1439 */
@media (min-width: 1024px) and (max-width: 1439px) {
  .logo-img { height: 85px; }
  .nav { gap: 1.5rem; }
}
/* Header — Small laptop 1024–1199: outline CTA hidden to save space */
@media (min-width: 1024px) and (max-width: 1199px) {
  .nav-actions .btn-outline-red { display: none; }
  .nav-list { gap: 1.1rem; }
}

/* Header — Tablet + Mobile ≤1023: full-screen menu */
@media (max-width: 1023px) {
  .mobile-toggle { display: flex; }
  .site-header:has(.mobile-toggle[aria-expanded="true"]) {
    background: var(--white); -webkit-backdrop-filter: none; backdrop-filter: none;
  }
  .nav {
    position: absolute; top: 100%; left: 0; width: 100%;
    height: calc(100dvh - var(--header-h)); overflow-y: auto;
    flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 2rem;
    padding: 1.5rem var(--gutter) 3rem; background: var(--black); color: var(--white);
    visibility: hidden; clip-path: inset(0 0 100% 0);
    transition: clip-path 0.6s var(--ease), visibility 0s 0.6s;
  }
  .site-header:has(.mobile-toggle[aria-expanded="true"]) .nav,
  .nav.open { visibility: visible; clip-path: inset(0); transition: clip-path 0.6s var(--ease), visibility 0s; }
  .nav-list { flex-direction: column; gap: 0; }
  .nav-link {
    display: block; width: 100%; padding: 1rem 0; border-bottom: 1px solid var(--line-light);
    font: 700 clamp(1.5rem, 5vw, 2.25rem)/1.2 var(--font-head);
  }
  .nav-actions { flex-direction: column; }
  .nav-actions .btn { min-height: 54px; }
  .nav .btn-red { --btn-hover: var(--white); }
  .nav .btn-red:hover { color: var(--black); }
}
/* Tablet menu: logo size */
@media (min-width: 768px) and (max-width: 1023px) {
  .logo-img { height: 65px; }
}

/* Header — Mobile ≤767: logo + CTAs only */
@media (max-width: 767px) {
  .header-container { gap: 0.75rem; }
  .logo-img { height:65px; box-shadow: none; }
  .mobile-toggle, .nav-list { display: none; }
  .nav {
    position: static; width: auto; height: auto; overflow: visible; padding: 0; gap: 0;
    flex-direction: row; align-items: center; background: none; color: inherit;
    visibility: visible; clip-path: none; transition: none;
  }
  .nav-actions { flex-direction: row; gap: 0.5rem; }
  .nav-actions .btn { min-height: 44px; padding: 0.5rem 1rem; font-size: 0.85rem; }
  .nav-actions .btn-outline-red:has(i) { width: 44px; padding: 0; }   /* icon-only Call button */
  .nav-actions .btn-outline-red i { display: inline; font-size: 1rem; }
  .nav-actions .btn-outline-red span { display: none; }
  .nav .btn-red { --btn-hover: var(--black); }
  .nav .btn-red:hover { color: var(--white); }
}
/* Header — ≤479: text-only Call button is hidden (the hero has its own Call Now) */
@media (max-width: 479px) {
  .nav-actions .btn-outline-red:not(:has(i)) { display: none; }
}
/* Header — Small phones ≤389 */
@media (max-width: 389px) {
  .logo-img { height:65px; }
  .nav-actions .btn { padding-inline: 0.85rem; font-size: 0.8rem; }
  .nav-actions .btn-red:has(span) span { display: none; }
  .nav-actions .btn-red:has(span)::after { content: "Now"; margin-left: -0.25rem; }
}


/* ==========================================================================
   5. HERO — split layout with image slider
   ========================================================================== */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; align-items: center; min-height: auto;
  padding: calc(var(--header-h) + 2.5rem) 0 4rem;
}
.hero-grid {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(2rem, 4vw, 4rem); align-items: center;
}
.hero-content { min-width: 0; }
.hero-title { font-size: var(--fs-h1); line-height: 0.98; letter-spacing: -0.045em; margin: 1rem 0 1.25rem; }
.hero-title .red { position: relative; display: inline-block; }
.hero-title .red::after {
  content: ""; position: absolute; left: 0; bottom: 0.04em; width: 100%; height: 0.14em;
  background: currentColor; opacity: 0.18; transform-origin: left;
  animation: underline 1s 0.9s var(--ease) backwards;
}
.hero-sub { max-width: 34rem; color: var(--muted); font-size: var(--fs-lead); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 1.5rem; }

/* Entrance fallback (GSAP takes over and clears these when it runs) */
.hero-content > * { animation: rise 1s var(--ease) backwards; }
.hero-content > :nth-child(2) { animation-delay: 0.1s; }
.hero-content > :nth-child(3) { animation-delay: 0.2s; }
.hero-content > :nth-child(4) { animation-delay: 0.3s; }

/* Image area + slider */
.hero-image { position: relative; justify-self: end; width: min(100%, 540px); aspect-ratio: 5 / 4; }
.hero-slider {
  position: relative; z-index: 1; width: 100%; height: 100%;
  overflow: hidden; border-radius: var(--radius-lg);
  background: var(--black); box-shadow: var(--shadow);
}
.hero-slide {
  position: absolute; inset: 0; margin: 0;
  opacity: 0; visibility: hidden;
  transition: opacity 0.9s var(--ease), visibility 0s 0.9s;
}
.hero-slide.active {
  opacity: 1; visibility: visible; z-index: 1;
  transition: opacity 0.9s var(--ease), visibility 0s;
  animation: slide-settle 6s var(--ease) both;          /* slow settle on the visible slide */
}
.hero-slide img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
}
.hero-slide.active img { animation: reveal 1.4s 0.2s var(--ease) backwards; }
.hero-slide::after {                                     /* soft bottom fade behind the caption */
  content: ""; position: absolute; inset: auto 0 0; height: 35%; pointer-events: none;
  background: linear-gradient(to top, color-mix(in srgb, var(--black) 60%, transparent), transparent);
}
.hero-slide figcaption {
  position: absolute; z-index: 2; left: 1.25rem; bottom: 1.25rem;
  padding: 0.4rem 1rem; border-radius: 999px;
  background: var(--red); color: var(--white); font-weight: 600; font-size: 0.9rem;
}
.hero-slide.active figcaption { animation: rise 0.8s 0.35s var(--ease) backwards; }

.hero-dots { position: absolute; z-index: 3; right: 1.25rem; bottom: 1.5rem; display: flex; gap: 0.5rem; }
.hero-dot {
  width: 10px; height: 10px; padding: 0; border: 0; border-radius: 999px; cursor: pointer;
  background: color-mix(in srgb, var(--white) 65%, transparent);
  transition: width 0.4s var(--ease), background 0.3s;
}
.hero-dot:hover { background: var(--white); }
.hero-dot.active { width: 28px; background: var(--red); }
.hero-dot:focus-visible { outline-color: var(--white); }

/* Decorative shape */
.hero-shape {
  position: absolute; z-index: -1; right: -12vw; top: -10vw;
  width: clamp(20rem, 45vw, 46rem); aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, color-mix(in srgb, var(--red) 16%, var(--white)), transparent 70%);
  animation: float 14s ease-in-out infinite;
}

/* Hero — Desktop XL ≥1440 */
@media (min-width: 1440px) {
  .hero-grid { gap: 5rem; }
  .hero-image { width: min(100%, 600px); }
}
/* Hero — Laptop 1024–1439 */
@media (min-width: 1024px) and (max-width: 1439px) {
  .hero-image { width: min(100%, 500px); }
}
/* Hero — Tablet 768–1023: stacked, image below text */
@media (min-width: 768px) and (max-width: 1023px) {
  .hero { padding-top: calc(var(--header-h) + 2rem); padding-bottom: 3.5rem; }
  .hero-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero-content { max-width: 40rem; }
  .hero-image { justify-self: center; width: min(100%, 34rem); aspect-ratio: 16 / 10; }
}
/* Hero — Mobile ≤767 */
@media (max-width: 767px) {
  .hero { padding: calc(var(--header-h) + 1.5rem) 0 2.5rem; }
  .hero-grid { grid-template-columns: 1fr; gap: 2rem; }
  .hero-title { letter-spacing: -0.035em; margin: 0.75rem 0 1rem; }
  .hero-ctas { flex-direction: column; gap: 0.75rem; margin-top: 1.25rem; }
  .hero-ctas .btn { width: 100%; }
  .hero-image { justify-self: center; width: 100%; aspect-ratio: 4 / 3; }
  .hero-slide figcaption { left: 1rem; bottom: 1rem; font-size: 0.8rem; }
  .hero-dots { right: 1rem; bottom: 1.25rem; }
  .hero-shape { right: -30vw; top: -20vw; }
}


/* ==========================================================================
   6. ABOUT — asymmetrical overlapping composition
   ========================================================================== */
.about { overflow: hidden; }
.about-grid {
  display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(2.5rem, 7vw, 7rem); align-items: center;
}
.about-image { position: relative; isolation: isolate; padding: 0 0 3rem 3rem; }
.about-image img {
  position: relative; z-index: 1; width: 100%; aspect-ratio: 14 / 15; object-fit: cover;
  background: var(--black);
  border-radius: var(--radius) var(--radius) 120px var(--radius);
  transition: translate 0.7s var(--ease);
}
.about-image:hover img { translate: 8px -8px; }
.about-image::before {
   position: absolute; z-index: 0; left: 0; bottom: 0; width: 58%; height: 58%;
  border-radius: var(--radius); background: var(--black);
}
.about-image::after {
  content: ""; position: absolute; z-index: 0; right: -1.25rem; top: -1.25rem; width: 38%; aspect-ratio: 1;
  border: 2px solid var(--red); border-radius: 50%; animation: float 9s ease-in-out infinite;
}
.about-experience {
  position: absolute; z-index: 2; left: 0.25rem; bottom: 1rem;
  display: flex; flex-direction: column; padding: 1rem 1.4rem; border-radius: var(--radius);
  background: var(--red); color: var(--white);
  box-shadow: 0 20px 40px -20px var(--red); animation: float 7s ease-in-out infinite;
}
.exp-number { font: 800 clamp(2.25rem, 1.6rem + 2vw, 3.5rem)/1 var(--font-head); letter-spacing: -0.04em; }
.exp-text { font-weight: 500; font-size: 0.9rem; }
.about-content { min-width: 0; }
.about-content p { color: var(--muted); max-width: 38rem; }
.about-stats {
  display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 2rem;
  padding-top: 1.75rem; border-top: 1px solid var(--line);
}
.stat { display: flex; flex-direction: column; }
.stat + .stat { padding-left: clamp(0.75rem, 2vw, 2rem); border-left: 1px solid var(--line); }
.stat-num { font: 800 clamp(1.9rem, 1.4rem + 1.6vw, 2.9rem)/1 var(--font-head); letter-spacing: -0.04em; }
.stat-label { margin-top: 0.4rem; color: var(--muted); font-size: 0.9rem; }

/* About — Laptop 1024–1439 */
@media (min-width: 1024px) and (max-width: 1439px) {
  .about-grid { gap: 3.5rem; }
}
/* About — Tablet 768–1023: single column */
@media (min-width: 768px) and (max-width: 1023px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-image { max-width: 34rem; }
}
/* About — Mobile ≤767 */
@media (max-width: 767px) {
  .about-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .about-image { padding: 0 0 2.5rem 1.5rem; }
  .about-image img { border-bottom-left-radius: var(--radius); border-bottom-right-radius: 80px; }
  .about-image::before { width: 52%; height: 52%; }
  .about-image::after { right: -0.5rem; }
  .about-content p { font-size: var(--fs-body); }
  .about-experience { left: 0; padding: 0.8rem 1.1rem; }
  .exp-number { font-size: 2.25rem; }
  .about-stats { margin-top: 1.5rem; padding-top: 1.25rem; }
  .stat + .stat { padding-left: 0.75rem; }
  .stat-num { font-size: 1.75rem; }
  .stat-label { font-size: 0.8rem; }
}


/* ==========================================================================
   7. WHY CHOOSE US — dark bento grid
   ========================================================================== */
.why-choose {
  position: relative; isolation: isolate; overflow: hidden;
  background: var(--black); color: var(--white);
}
.why-choose::before {
  content: ""; position: absolute; z-index: -1; right: -15%; top: -20%;
  width: 60vw; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--red) 28%, transparent), transparent 65%);
}
.why-choose .section-sub { color: var(--muted-light); }

/* Grid: 3 columns, cards 1, 4 and 6 span two columns (bento layout) */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
.feature-card:nth-child(1),
.feature-card:nth-child(4),
.feature-card:nth-child(6) { grid-column: span 2; }

/* Card: compact padding, no fixed height, content centred vertically */
.feature-card {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; flex-direction: column; justify-content: center;
  gap: 0.75rem;
  padding: clamp(1.25rem, 2vw, 1.75rem);
  border: 1px solid var(--line-light); border-radius: var(--radius-lg); background: var(--panel-dark);
  transition: translate 0.5s var(--ease), border-color 0.4s, box-shadow 0.5s;
}
.feature-card::before {                                  /* red fill rises on hover */
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--red);
  transform: translateY(101%); transition: transform 0.6s var(--ease);
}
.feature-card:hover { translate: 0 -8px; border-color: var(--red); box-shadow: 0 30px 50px -28px var(--red); }
.feature-card:hover::before { transform: none; }

/* Icon and heading share one row */
.feature-head { display: flex; align-items: center; gap: 0.9rem; min-width: 0; }
.feature-icon {
  display: grid; place-items: center; flex: none;
  width: 2.75rem; height: 2.75rem; border-radius: 12px;
  background: var(--red); color: var(--white); font-size: 1.05rem;
  transition: background 0.4s, color 0.4s, rotate 0.6s var(--ease);
}
.feature-card:hover .feature-icon { background: var(--white); color: var(--red); rotate: -8deg; }
.feature-card h3 {
  margin: 0; min-width: 0;
  font-size: clamp(1.1rem, 1rem + 0.4vw, 1.3rem); line-height: 1.2;
}
.feature-card p {
  margin: 0; max-width: 30rem;
  color: var(--muted-light); line-height: 1.55; transition: color 0.4s;
}
.feature-card:hover p { color: var(--white); }

/* Why — Desktop XL ≥1440 */
@media (min-width: 1440px) {
  .features-grid { gap: 1.5rem; }
  .feature-card { padding: 2rem; }
  .feature-icon { width: 3rem; height: 3rem; font-size: 1.1rem; }
}
/* Why — Tablet 768–1023: 2 columns */
@media (min-width: 768px) and (max-width: 1023px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-card:nth-child(1),
  .feature-card:nth-child(6) { grid-column: span 2; }
  .feature-card:nth-child(4) { grid-column: auto; }
}
/* Why — Mobile ≤767: 1 column, compact */
@media (max-width: 767px) {
  .features-grid { grid-template-columns: 1fr; gap: 0.85rem; }
  .feature-card:nth-child(n) { grid-column: auto; }
  .feature-card { gap: 0.6rem; padding: 1.1rem 1.1rem; }
  .feature-head { gap: 0.75rem; }
  .feature-icon { width: 2.5rem; height: 2.5rem; font-size: 1rem; border-radius: 10px; }
  .feature-card h3 { font-size: var(--fs-h3); }
  .feature-card p { font-size: var(--fs-body); }
}

/* ==========================================================================
   8. SERVICES — two large image-led panels
   ========================================================================== */
.services { background: var(--tint); }
.services-panels { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap); align-items: start; }

.service-panel {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; align-items: flex-end;
  min-height: clamp(34rem, 50vw, 44rem); border-radius: var(--radius-lg);
}
.hair-panel { background: var(--black); color: var(--white); }
.skin-panel { margin-top: clamp(0rem, 5vw, 5rem); background: var(--white); border: 1px solid var(--line); }

.panel-image { position: absolute; inset: 0; z-index: -2; }
.panel-image img {
  width: 100%; height: 100%; object-fit: cover; background: var(--black);
  transition: transform 1.4s var(--ease);
}
.skin-panel .panel-image img { background: var(--red); }
.service-panel:hover .panel-image img { transform: scale(1.07); }

.service-panel::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--red); opacity: 0; transition: opacity 0.6s;
}
.service-panel:hover::before { opacity: 0.28; }
.service-panel::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hair-panel::after { background: linear-gradient(to top, var(--black) 8%, color-mix(in srgb, var(--black) 88%, transparent) 50%, transparent 100%); }
.skin-panel::after { background: linear-gradient(to top, var(--white) 8%, color-mix(in srgb, var(--white) 90%, transparent) 50%, transparent 100%); }

.panel-content { position: relative; width: 100%; padding: clamp(1.5rem, 3vw, 3rem); }
.panel-tag {
  display: inline-block; margin-bottom: 1rem; padding: 0.3rem 0.95rem; border-radius: 999px;
  background: var(--red); color: var(--white); font-weight: 600; font-size: 0.85rem;
}
.skin-panel .panel-tag { background: var(--black); }
.panel-content h3 { font-size: clamp(1.9rem, 1.2rem + 2.4vw, 3.2rem); line-height: 1.12; margin-bottom: 0.75rem; }
.panel-content p { max-width: 30rem; }
.hair-panel .panel-content p { color: var(--muted-light); }
.skin-panel .panel-content p { color: var(--muted); }
.panel-list {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.6rem 1.25rem; margin: 1.25rem 0 1.75rem; font-weight: 500; font-size: var(--fs-body);
}
.panel-list li { display: flex; gap: 0.6rem; align-items: flex-start; }
.panel-list i { margin-top: 0.3rem; color: var(--red); }

/* Services — Tablet 768–1023: stacked */
@media (min-width: 768px) and (max-width: 1023px) {
  .services-panels { grid-template-columns: 1fr; }
  .service-panel { min-height: 32rem; }
  .skin-panel { margin-top: 0; }
}
/* Services — Mobile ≤767 */
@media (max-width: 767px) {
  .services-panels { grid-template-columns: 1fr; gap: 1rem; }
  .service-panel { min-height: 30rem; }
  .skin-panel { margin-top: 0; }
  .panel-content { padding: 1.5rem 1.25rem; }
  .panel-content h3 { font-size: var(--fs-h2); line-height: 1.15; margin-bottom: 0.5rem; }   /* same size as section titles */
  .panel-content p { font-size: var(--fs-body); margin-bottom: 0.75rem; }
  .panel-tag { font-size: 0.75rem; margin-bottom: 0.75rem; }
  .panel-list { grid-template-columns: 1fr; gap: 0.45rem; margin: 0.75rem 0 1.25rem; font-size: var(--fs-body); }
  .panel-content .btn { width: 100%; }
}


/* ==========================================================================
   9. TREATMENTS — filterable card grid
   ========================================================================== */
.filter-buttons {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 0.6rem;
  margin-bottom: clamp(2rem, 4vw, 3.5rem);
}
.filter-btn {
  min-height: 46px; padding: 0.6rem 1.5rem;
  border: 1.5px solid var(--line); border-radius: 999px; background: var(--white);
  color: var(--black); font: 600 0.95rem var(--font-body); cursor: pointer;
  transition: background 0.35s, color 0.35s, border-color 0.35s, translate 0.35s var(--ease);
}
.filter-btn:hover { border-color: var(--red); color: var(--red); translate: 0 -2px; }
.filter-btn.active { background: var(--red); border-color: var(--red); color: var(--white); }

.treatments-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 17rem), 1fr));
  gap: var(--gap);
}
.treatments-grid [hidden] { display: none; }
.treatments-grid > * {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; flex-direction: column;
  border-radius: var(--radius); background: var(--tint);
  transition: translate 0.5s var(--ease), box-shadow 0.5s;
}
.treatments-grid > *:hover { translate: 0 -8px; }
.treatments-grid > *::before {                           /* red wash over the image area on hover */
  content: ""; position: absolute; inset: 0 0 auto; z-index: 1; aspect-ratio: 4 / 5;
  pointer-events: none; opacity: 0;
 
  transition: opacity 0.5s;
}
.treatments-grid > *:hover::before { opacity: 1; }

/* Photo (when a treatment has an image) */
.treatments-grid img {
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover;
  transition: transform 0.9s var(--ease);
}
.treatments-grid > *:hover img { transform: scale(1.08); }

/* Branded icon panel (when a treatment has no photo yet) */
.treatment-media {
  display: grid; place-items: center; width: 100%; aspect-ratio: 4 / 5;
  font-size: 2.75rem; transition: transform 0.9s var(--ease);
}
.treatments-grid [data-category="hair"] .treatment-media  {  color: var(--red); }
.treatments-grid [data-category="skin"] .treatment-media  {  color: var(--white); }

.treatments-grid > *:hover .treatment-media { transform: scale(1.06); }

.treatments-grid h3 { padding: 1.25rem 1.25rem 0; font-size: 1.2rem; }
.treatments-grid p { margin: 0.4rem 0 0; padding-inline: 1.25rem; color: var(--muted); font-size: var(--fs-body); }
.treatments-grid a {
  align-self: flex-start; margin: 1rem 1.25rem 1.25rem; padding: 0.6rem 0; min-height: 44px;
  display: inline-flex; align-items: center;
  color: var(--red); font: 600 0.95rem var(--font-body);
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 2px no-repeat;
  transition: background-size 0.5s var(--ease);
}
.treatments-grid a:hover { background-size: 100% 2px; }

/* Treatments — Tablet 768–1023 */
@media (min-width: 768px) and (max-width: 1023px) {
  .treatments-grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 14rem), 1fr)); }
}
/* Treatments — Mobile ≤767 */
@media (max-width: 767px) {
  .treatments-grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 15rem), 1fr)); gap: 1rem; }
  .treatments-grid h3 { padding: 1rem 1rem 0; font-size: var(--fs-h3); }
  .treatments-grid p { padding-inline: 1rem; font-size: var(--fs-body); }
  .treatments-grid a { margin: 0.5rem 1rem 1rem; }
  .treatment-media { font-size: 2.25rem; }
  .filter-buttons { gap: 0.5rem; margin-bottom: 1.75rem; }
  .filter-btn { flex: 1 1 auto; min-height: 44px; padding: 0.5rem 1.1rem; font-size: 0.9rem; }
}


/* ==========================================================================
   10. CONTACT — black background with enquiry card
   ========================================================================== */
.contact {
  position: relative; isolation: isolate; overflow: hidden;
  background: var(--black); color: var(--white);
}
.contact::before {
  content: ""; position: absolute; z-index: -1; left: -18vw; bottom: -22vw;
  width: 55vw; aspect-ratio: 1; border-radius: 50%;
  border: 2px solid color-mix(in srgb, var(--red) 55%, transparent);
  box-shadow: inset 0 0 120px color-mix(in srgb, var(--red) 28%, transparent);
  animation: float 12s ease-in-out infinite;
}
.contact-grid {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
  gap: clamp(2.5rem, 7vw, 7rem); align-items: center;
}
.contact-info > p { max-width: 34rem; color: var(--muted-light); }

.contact-details { display: grid; gap: 1.1rem; margin: 2rem 0; }
.detail-item { display: flex; align-items: center; gap: 1rem; min-width: 0; }
.detail-item i {
  display: grid; place-items: center; flex: none; width: 2.9rem; aspect-ratio: 1; border-radius: 50%;
  background: color-mix(in srgb, var(--red) 18%, transparent); color: var(--red);
  transition: background 0.4s, color 0.4s;
}
.detail-item:hover i { background: var(--red); color: var(--white); }
.detail-item span { min-width: 0; overflow-wrap: anywhere; }
.detail-item a { min-width: 0; overflow-wrap: anywhere; line-height: 1.5; transition: color 0.3s; }
.detail-item a:hover { color: var(--red); }
.detail-item a[href^="tel"],
.detail-item a[href^="mailto"],
.detail-item a[href^="https://wa.me"] { display: inline-block; padding-block: 0.25rem; }   /* comfortable tap area */

.contact-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin: 0 0 2rem; }
.contact-actions .btn { min-height: 48px; padding-inline: 1.4rem; }
.contact-actions .btn-red { --btn-hover: var(--white); }
.contact-actions .btn-red:hover { color: var(--black); }

.contact-social, .footer-social { display: flex; gap: 0.75rem; }
.contact-social a, .footer-social a {
  display: grid; place-items: center; width: 2.9rem; aspect-ratio: 1;
  border: 1px solid var(--line-light); border-radius: 50%;
  transition: background 0.4s, border-color 0.4s, translate 0.4s var(--ease);
}
.contact-social a:hover, .footer-social a:hover { background: var(--red); border-color: var(--red); translate: 0 -4px; }

/* Enquiry card */
.contact-form {
  padding: clamp(1.5rem, 3.5vw, 3rem); border-top: 6px solid var(--red); border-radius: var(--radius-lg);
  background: var(--white); color: var(--black);
  box-shadow: 0 40px 80px -30px color-mix(in srgb, var(--red) 45%, transparent);
}
.contact-form h3 { margin-bottom: 1.5rem; font-size: clamp(1.4rem, 1.2rem + 0.8vw, 1.9rem); }

/* Form fields (shared by the page form and the popup) */
.form-group { margin-bottom: 1rem; }
.form-group input,
.form-group select,
.form-group textarea {
  display: block; width: 100%; min-height: 52px; padding: 0.85rem 1.1rem;
  border: 1.5px solid var(--line); border-radius: 14px;
  background: var(--tint); color: var(--black);
  font: 400 1rem var(--font-body);
  transition: border-color 0.3s, box-shadow 0.3s, background 0.3s;
}
.form-group textarea { min-height: 7rem; resize: vertical; }
.form-group ::placeholder,
.form-group select:invalid { color: var(--muted); opacity: 1; }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: 0; background: var(--white); border-color: var(--red);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--red) 16%, transparent);
}
.form-group select {
  appearance: none; -webkit-appearance: none; padding-right: 2.75rem; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1.5l5 5 5-5' stroke='%23ED1C24' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 1.1rem center;
}
.form-note { margin: 1rem 0 0; color: var(--muted); font-size: var(--fs-small); text-align: center; }

/* Contact — Laptop 1024–1439 */
@media (min-width: 1024px) and (max-width: 1439px) {
  .contact-grid { gap: 3.5rem; }
}
/* Contact — Tablet 768–1023: single column */
@media (min-width: 768px) and (max-width: 1023px) {
  .contact-grid { grid-template-columns: 1fr; }
  .contact-form-wrapper { max-width: 36rem; }
}
/* Contact — Mobile ≤767 */
@media (max-width: 767px) {
  .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .contact-info > p { font-size: var(--fs-body); }
  .contact-details { margin: 1.5rem 0; gap: 0.9rem; }
  .detail-item { gap: 0.8rem; }
  .detail-item i { width: 2.6rem; }
  .detail-item a, .detail-item span { font-size: var(--fs-body); }
  .contact-actions { margin-bottom: 1.5rem; }
  .contact-actions .btn { flex: 1 1 auto; }
  .contact-form { padding: 1.5rem 1.25rem; }
  .contact-form h3 { font-size: var(--fs-h3); margin-bottom: 1.25rem; }
  .form-group input,
  .form-group select { min-height: 50px; font-size: 16px; }   /* 16px stops iOS zooming on focus */
  .form-group textarea { font-size: 16px; }
  .form-note { font-size: 0.8125rem; }
}


/* ==========================================================================
   11. ENQUIRY POPUP (modal)
   ========================================================================== */
.modal {
  position: fixed; inset: 0; z-index: 200;
  display: grid; place-items: center; padding: 1rem;
  visibility: hidden; opacity: 0;
  transition: opacity 0.35s var(--ease), visibility 0s 0.35s;
}
.modal.open { visibility: visible; opacity: 1; transition: opacity 0.35s var(--ease), visibility 0s; }

.modal-backdrop {
  position: absolute; inset: 0; cursor: pointer;
  background: color-mix(in srgb, var(--black) 72%, transparent);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.modal-box {
  position: relative; width: min(100%, 38rem);          /* wide enough for the two-column form */
  max-height: calc(100vh - 2rem); max-height: calc(100dvh - 2rem);
  overflow-y: auto; overscroll-behavior: contain;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  border-top: 6px solid var(--red); border-radius: var(--radius-lg);
  background: var(--white); color: var(--black);
  box-shadow: 0 40px 80px -30px color-mix(in srgb, var(--red) 55%, transparent);
  translate: 0 28px; scale: 0.97;
  transition: translate 0.5s var(--ease), scale 0.5s var(--ease);
}
.modal.open .modal-box { translate: 0 0; scale: 1; }

.modal-close {
  position: absolute; top: 0.9rem; right: 0.9rem;
  display: grid; place-items: center; width: 44px; height: 44px;
  border: 0; border-radius: 50%; background: var(--tint); color: var(--black);
  font-size: 1.05rem; cursor: pointer;
  transition: background 0.3s, color 0.3s, rotate 0.5s var(--ease);
}
.modal-close:hover { background: var(--red); color: var(--white); rotate: 90deg; }

.modal-box .eyebrow { margin-bottom: 0.25rem; }
.modal-box h3 { margin: 0.6rem 3rem 0.6rem 0; font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); }
.modal-sub { margin: 0 0 1.5rem; color: var(--muted); font-size: var(--fs-body); }

.modal-quick {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem;
  margin-top: 1.25rem; padding-top: 1.25rem; border-top: 1px solid var(--line);
}
.modal-quick .btn { min-height: 46px; padding-inline: 1rem; font-size: 0.9rem; }

/* Popup — Mobile ≤767: bottom sheet */
@media (max-width: 767px) {
  .modal { align-items: end; padding: 0; }
  .modal-box {
    width: 100%; max-height: 92vh; max-height: 92dvh;
    padding: 1.5rem 1.25rem calc(1.5rem + env(safe-area-inset-bottom));
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    translate: 0 60px; scale: 1;
  }
  .modal.open .modal-box { translate: 0 0; }
  .modal-box h3 { font-size: var(--fs-h2); margin-right: 2.5rem; }
  .modal-sub { font-size: var(--fs-body); }
  .modal-close { top: 0.75rem; right: 0.75rem; }
}


/* ==========================================================================
   11b. ENQUIRY FORMS — contact section + popup
   Everything is scoped to .appointment-form (plus its wrapper), so no other
   section's layout is touched.
   Fields: Full Name · Mobile · Email · Treatment · Date · Time · Message
   Layout: two columns ≥576px, single column ≤575px.
   ========================================================================== */

/* Contact-section form: white card on the black background */
.contact-form-wrapper { min-width: 0; }
.contact-form-wrapper .appointment-form {
  padding: clamp(1.5rem, 3.5vw, 3rem);
  border-top: 6px solid var(--red); border-radius: var(--radius-lg);
  background: var(--white); color: var(--black);
  box-shadow: 0 40px 80px -30px color-mix(in srgb, var(--red) 45%, transparent);
}

/* Rows + groups */
.appointment-form { position: relative; min-width: 0; }
.appointment-form .appointment-row {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 1.1rem;
}
.appointment-form .form-group { position: relative; min-width: 0; margin-bottom: 1.1rem; }

/* Labels */
.appointment-form label {
  display: block; margin-bottom: 0.45rem;
  font: 700 0.9rem/1.3 var(--font-head); color: var(--black);
}
.appointment-form label span { color: var(--red); }
.appointment-form label small { font-weight: 500; font-size: 0.8rem; color: var(--muted); }

/* Controls: never wider than their cell */
.appointment-form .form-group input,
.appointment-form .form-group select,
.appointment-form .form-group textarea { min-width: 0; max-width: 100%; }
.appointment-form .form-group select {
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.appointment-form .form-group textarea { min-height: 7rem; resize: vertical; }

/* Date field: consistent height + alignment on iOS / Android / desktop */
.appointment-form input[type="date"] {
  appearance: none; -webkit-appearance: none;
  display: block; height: 52px; text-align: left; line-height: 1.2;
}
.appointment-form input[type="date"]::-webkit-date-and-time-value { text-align: left; min-height: 1.2em; }
.appointment-form input[type="date"]::-webkit-calendar-picker-indicator { cursor: pointer; opacity: 0.75; }
.appointment-form input[type="date"]:invalid:not(:focus) { color: var(--muted); }

/* Error state */
.appointment-form .form-error {
  display: none; margin-top: 0.4rem;
  color: #C0153A; font-size: 0.82rem; line-height: 1.35;
}
.appointment-form .form-group.has-error .form-error { display: block; }
.appointment-form .form-group.has-error input,
.appointment-form .form-group.has-error select,
.appointment-form .form-group.has-error textarea {
  border-color: #D6203F;
  box-shadow: 0 0 0 4px color-mix(in srgb, #D6203F 12%, transparent);
}

/* Character counter */
.appointment-form .character-count {
  margin-top: 0.35rem; text-align: right; font-size: 0.78rem; color: var(--muted);
}

/* Honeypot: hidden from people */
.appointment-form .hp-field {
  position: absolute !important; left: -9999px !important;
  width: 1px; height: 1px; opacity: 0; pointer-events: none;
}

/* Submit buttons */
.contact-submit,
.appointment-submit {
  display: flex; align-items: center; justify-content: center; gap: 0.7rem;
  width: 100%; min-height: 56px; margin-top: 0.5rem; padding: 0.9rem 1.5rem;
  border: 0; border-radius: 999px; background: var(--red); color: var(--white);
  font: 700 1rem/1.2 var(--font-body); cursor: pointer;
  box-shadow: 0 14px 28px -14px var(--red);
  transition: background 0.35s, translate 0.35s var(--ease), box-shadow 0.35s;
  -webkit-tap-highlight-color: transparent;
}
.contact-submit:hover,
.appointment-submit:hover { background: var(--black); translate: 0 -2px; }
.contact-submit:active,
.appointment-submit:active { translate: 0 0; }
.contact-submit:disabled,
.appointment-submit:disabled { opacity: 0.75; cursor: progress; translate: 0 0; }

/* Status + privacy note */
.appointment-form .form-status { min-height: 1.2em; margin: 0.9rem 0 0; font-size: 0.9rem; text-align: center; }
.appointment-form .form-status.is-success { color: #1B7F3B; font-weight: 600; }
.appointment-form .form-status.is-error { color: #C0153A; font-weight: 600; }
.appointment-note { margin: 0.9rem 0 0; color: var(--muted); font-size: 0.8rem; line-height: 1.5; text-align: center; }
.appointment-note i { margin-right: 0.35rem; color: var(--red); }

/* Forms — Small laptop 1024–1199: narrower form column, tighter fields */
@media (min-width: 1024px) and (max-width: 1199px) {
  .contact-form-wrapper .appointment-form { padding: 2rem 1.75rem; }
  .appointment-form .appointment-row { column-gap: 0.85rem; }
  .appointment-form .form-group input,
  .appointment-form .form-group select { padding-inline: 1rem; font-size: 0.95rem; }
  .appointment-form .form-group select { padding-right: 2.4rem; background-position: right 0.9rem center; }
}

/* Forms — Mobile ≤767 */
@media (max-width: 767px) {
  .contact-form-wrapper .appointment-form { padding: 1.5rem 1.25rem; }
  .appointment-form .form-group { margin-bottom: 0.95rem; }
  .appointment-form label { font-size: 0.875rem; }
  .appointment-form .form-group input,
  .appointment-form .form-group select,
  .appointment-form .form-group textarea { font-size: 16px; }   /* 16px stops iOS zooming on focus */
  .appointment-form input[type="date"] { height: 50px; }
  .appointment-form .form-group textarea { min-height: 6rem; }
  .contact-submit,
  .appointment-submit { min-height: 54px; font-size: 0.95rem; }
  .appointment-note { font-size: 0.75rem; }
}

/* Forms — single column ≤575 */
@media (max-width: 575px) {
  .appointment-form .appointment-row { grid-template-columns: 1fr; column-gap: 0; }
}

/* Forms — Small phones ≤389 */
@media (max-width: 389px) {
  .contact-form-wrapper .appointment-form { padding: 1.25rem 1rem; }
  .modal-box { padding-inline: 1rem; }
}


/* ==========================================================================
   12. FOOTER — 3 columns: brand · get in touch · map
   ========================================================================== */
.site-footer { border-top: 4px solid var(--red); background: var(--panel-dark); color: var(--white); }
.footer-grid {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.2fr);
  gap: clamp(2rem, 4vw, 4.5rem); align-items: start;
  padding-block: calc(var(--section-y) * 0.75);
}
.site-footer h4 { margin-bottom: 1.25rem; font-size: 1.1rem; letter-spacing: -0.01em; }

/* Column 1 — brand */
.footer-brand { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; }
.footer-logo { display: inline-flex; line-height: 0; }
.footer-brand p { max-width: 24rem; margin: 1.25rem 0 1.5rem; color: var(--muted-light); }

/* Column 2 — contact details + CTAs */
.footer-contact { min-width: 0; }
.footer-contact-list { display: grid; gap: 1rem; }
.footer-contact-list li { display: flex; align-items: flex-start; gap: 0.9rem; color: var(--muted-light); min-width: 0; }
.footer-contact-list i { flex: none; width: 1rem; margin-top: 0.4rem; color: var(--red); text-align: center; }
.footer-contact-list a, .footer-contact-list span { min-width: 0; overflow-wrap: anywhere; line-height: 1.6; transition: color 0.3s; }
.footer-contact-list a:hover, .footer-contact-list a:focus-visible { color: var(--red); }
.footer-actions { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1.75rem; }
.footer-actions .btn { min-height: 46px; padding-inline: 1.2rem; font-size: 0.9rem; }
.footer-actions .btn-red { --btn-hover: var(--white); }
.footer-actions .btn-red:hover { color: var(--black); }

/* Column 3 — map */
.footer-map { min-width: 0; }
.map-frame {
  position: relative; overflow: hidden; aspect-ratio: 4 / 3; min-height: 260px;
  border: 1px solid var(--line-light); border-radius: var(--radius-lg); background: var(--black);
}
.map-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.footer-directions {
  display: inline-flex; align-items: center; gap: 0.5rem; min-height: 44px; margin-top: 0.75rem;
  color: var(--white); font-weight: 600; font-size: 0.95rem;
  transition: color 0.3s, translate 0.4s var(--ease);
}
.footer-directions i { color: var(--red); }
.footer-directions:hover { color: var(--red); translate: 4px 0; }

.footer-bottom {
  padding-block: 1.5rem; border-top: 1px solid var(--line-light);
  color: var(--muted-light); font-size: var(--fs-small); text-align: center;
}
.footer-bottom p { margin: 0; }

/* Footer — Laptop 1024–1199: slightly tighter columns */
@media (min-width: 1024px) and (max-width: 1199px) {
  .footer-grid { gap: 2rem; }
  .footer-actions .btn { padding-inline: 1rem; font-size: 0.85rem; }
}
/* Footer — Tablet 768–1023: brand + contact side by side, map full width below */
@media (min-width: 768px) and (max-width: 1023px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
  .footer-map { grid-column: span 2; }
  .map-frame { aspect-ratio: 16 / 9; }
}
/* Footer — Mobile ≤767: single column */
@media (max-width: 767px) {
  .footer-grid { grid-template-columns: 1fr; gap: 2.25rem; }
  .footer-brand p { font-size: var(--fs-body); margin: 1rem 0 1.25rem; }
  .footer-contact-list li { font-size: var(--fs-body); }
  .site-footer h4 { font-size: var(--fs-h3); margin-bottom: 1rem; }
  .footer-actions { gap: 0.6rem; }
  .footer-actions .btn { flex: 1 1 100%; }
  .map-frame { aspect-ratio: 4 / 3; min-height: 240px; }
}


/* ==========================================================================
   13. FLOATING WHATSAPP
   ========================================================================== */
.whatsapp-float {
  position: fixed; z-index: 90;
  right: max(1.25rem, env(safe-area-inset-right)); bottom: 100px;
  display: grid; place-items: center; width: 3.6rem; aspect-ratio: 1; border-radius: 50%;
  background: var(--whatsapp); color: var(--white); font-size: 1.8rem;
  box-shadow: 0 14px 30px -10px var(--whatsapp-dark);
  transition: scale 0.4s var(--ease);
}
.whatsapp-float::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  border: 2px solid var(--whatsapp-dark); animation: ping 2.4s ease-out infinite;
}
.whatsapp-float:hover { scale: 1.1; }

/* WhatsApp — Mobile ≤767 */
@media (max-width: 767px) {
  .whatsapp-float { width: 3.2rem; font-size: 1.6rem; right: max(1rem, env(safe-area-inset-right)); bottom: 80px; }
}


/* ==========================================================================
   14. KEYFRAMES
   ========================================================================== */
@keyframes rise { from { opacity: 0; translate: 0 32px; } }
@keyframes reveal { from { clip-path: inset(100% 0 0 0); } to { clip-path: inset(0); } }
@keyframes underline { from { transform: scaleX(0); } }
@keyframes float { 50% { translate: 0 -16px; } }
@keyframes ping { to { transform: scale(1.7); opacity: 0; } }
@keyframes slide-settle { from { scale: 1.08; } to { scale: 1; } }


/* ==========================================================================
   15. REDUCED MOTION
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: 0.01ms !important; }
}

.logo {
  display: flex;
  align-items: center;
  gap: 14px;
}

.logo-img {
  height: 85px;   /* adjust to suit your logos */
  width: auto;
  display: block;
}

@media (max-width: 767px) {
  .logo {
    gap: 8px;
  }

  .logo-img {
    height: 40px;
  }
}