:root{     
  /* Brand & neutrals */
  --brand:#21c7c9;
  --brandDark:#17a5a7;
  --accent:var(--brand);
  --sand:#d7c3a1;
  --ink:#171717;
  --muted:#666;
  --line:#e6e6e6;
  --bg:#fff;
  --radius:16px;
  --maxw:1200px;
  --elev-soft:0 18px 40px rgba(0,0,0,.06); /* soft card shadow */

  /* spacing knobs */
  --edge-pad:clamp(16px,5vw,100px);
  --header-gap:clamp(24px,6vw,84px);
  --upper-gap:44px;
  --actions-gap:14px;
}

/* Base */
*{box-sizing:border-box}
html,body{height:100%;max-width:100%;overflow-x:hidden}
body{
  margin:0;color:var(--ink);background:#fff;
  font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,"Helvetica Neue",Arial,sans-serif;
  font-size:16px;line-height:1.45;
}
a{color:inherit;text-decoration:none}
.container{max-width:100%;margin:0 auto;padding:0 var(--edge-pad)}

/* Full-bleed helpers */
.row-2 .container{max-width:100%;padding-left:var(--edge-pad);padding-right:var(--edge-pad)}
.hero .container{max-width:100%;padding-left:0;padding-right:0}
.hero-box{border-radius:0}

/* ───────── Header ───────── */
.topbar{display:none;border-bottom:1px solid var(--line);font-size:13px}
.topbar .container{display:flex;gap:16px;justify-content:flex-end;padding:8px var(--edge-pad)}

/* FINAL overlay order (prevents scroll-box/clipping) */
header.site{position:sticky;top:0;background:#fff;border-bottom:1px solid var(--line);z-index:1000;overflow:visible}
.row-1{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;height:84px;column-gap:var(--header-gap);position:relative;z-index:1020}
.row-2{border-top:1px solid var(--line);margin-left:calc(-1 * var(--edge-pad));margin-right:calc(-1 * var(--edge-pad));padding-left:var(--edge-pad);padding-right:var(--edge-pad);position:relative;z-index:1010;overflow:visible}
.row-1 .container,.row-2 .container,.left-tabs,.upper{position:relative;overflow:visible !important}

/* Row 1 tabs */
.left-tabs{display:flex;gap:8px;align-items:stretch;align-self:end}
.menu{position:relative}
.tab{
  height:64px;padding:0 16px;border:1px solid var(--line);
  border-top-left-radius:0;border-top-right-radius:0;background:#ededed;
  font-weight:600;letter-spacing:.02em;display:flex;align-items:center;position:relative;
}
.menu:hover>.tab,.tab.is-active{
  background:#fff;margin-bottom:-1px;border-bottom-color:#fff;box-shadow:inset 0 -2px 0 var(--accent);
}
.menu .dropdown{
  position:absolute;left:0;top:100%;display:none;background:#fff;border:1px solid var(--line);
  border-radius:14px;padding:10px;box-shadow:0 10px 40px rgba(0,0,0,.08);
}
.row-1 .menu .dropdown,.row-1 .dropdown{z-index:1030}
.menu:hover .dropdown{display:block}

.dropdown.simple{width:260px}
.dropdown.simple ul{list-style:none;margin:0;padding:4px}
.dropdown.simple a{display:flex;justify-content:space-between;padding:8px 10px;border-radius:10px;background:transparent}
.dropdown.simple a:hover{background:#f6f6f6 !important;color:#222 !important}

.dropdown.mega{width:720px;padding:12px}
.mega-inner{display:grid;grid-template-columns:1fr 1.4fr;gap:12px}
.cats{list-style:none;margin:0;padding:0;border-right:1px solid var(--line);max-height:360px;overflow:auto}
.cats li{padding:10px 12px;border-radius:10px;margin:2px 6px}
.cats li:hover,.cats li.active{background:#f6f6f6}
.panels{padding-left:4px}
.panel{display:none;height:100%;border:1px solid var(--line);border-radius:12px;padding:12px}
.panel.active{display:block}
.panel h4{margin:0 0 8px 0;font-weight:600}
.panel .grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.panel .grid a{padding:8px 10px;border-radius:10px;border:1px solid transparent}
.panel .grid a:hover{background:#f6f6f6;border-color:#eaeaea}

/* Center logo */
.logo{
  font-family:"Playfair Display",Georgia,serif;text-transform:uppercase;letter-spacing:.18em;
  font-weight:600;font-size:clamp(22px,2.4vw,40px);color:#3b3b3b;line-height:1.1;text-align:center;
}
.logo .wordmark{display:block}
.logo .tagline{display:block;font-family:Inter,system-ui,sans-serif;font-size:12px;letter-spacing:.18em;margin-top:6px;color:#6b6b6b}
.logo .plus{display:none}

/* Right CTAs */
.actions{display:flex;gap:var(--actions-gap);justify-content:flex-end;align-items:center;white-space:nowrap}
.btn{display:inline-flex;align-items:center;justify-content:center;border:1px solid #d0d0d0;padding:8px 14px;border-radius:0;font-weight:600;font-size:14px}
.btn.primary{background:var(--brand);border-color:var(--brandDark);color:#fff}

/* PHONE header link: icon chip + text (no pill) */
.btn.phone{
  border:none;
  background:transparent;
  padding:0;
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-size:14px;
  font-weight:600;
  color:var(--brand);
}

.iconbtn{width:36px;height:36px;border-radius:999px;border:none;background:transparent}
.iconbtn:hover{background:#f3f3f3}

/* Row 2: upper tabs (simple underline turned off per patch) */
.upper{display:flex;gap:var(--upper-gap);justify-content:center;align-items:center;height:48px;font-weight:320;letter-spacing:.02em;text-transform:uppercase}
.upper a{color:#222;position:relative}
.upper a::after{content:none}
.upper a:hover{color:#6b6b6b}
.upper-menu{position:relative;display:flex;align-items:center;height:100%}
.upper-menu .dropdown{position:absolute;left:0;top:100%;display:none;background:#fff;border:1px solid var(--line);border-radius:14px;padding:10px;box-shadow:0 10px 40px rgba(0,0,0,.08);z-index:1025;font-weight:400}
.upper-menu:hover .dropdown{display:block}

/* ▸ PATCH: sentence-case inside the second-header dropdown */
.upper-menu .dropdown a,
.upper-menu .dropdown li,
.upper-menu .dropdown span{ text-transform:lowercase !important; }
.upper-menu .dropdown a{ display:inline-block !important; } /* ensure ::first-letter applies */
.upper-menu .dropdown a::first-letter,
.upper-menu .dropdown li::first-letter,
.upper-menu .dropdown span::first-letter{ text-transform:uppercase !important; }

/* ───────── Hero ───────── */
.hero{border-bottom:1px solid var(--line)}
.hero-box{
  position:relative;
  height:clamp(420px,70vh,540px);
  overflow:hidden;
  background-size:cover;
  background-position:center;
}
.hero-box::before{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(
    90deg,
    rgba(255,255,255,0) 0%,
    rgba(255,255,255,0.25) 35%,
    rgba(255,255,255,0.82) 55%,
    #ffffff 78%
  );
  z-index:1;
  pointer-events:none;
}

/* hero watermark logo */
.hero-box::after{
  content:"";
  position:absolute;
  inset:0;
  background-image:url("assets/fitskinlogo.png"); /* adjust path if needed */
  background-repeat:no-repeat;
  background-position:calc(100% - 80px) 50%;
  background-size:clamp(220px,30vw,360px);
  opacity:0.08;
  pointer-events:none;
  z-index:1; /* sits above gradient, below hero-copy (z:2) */
}

.hero-track{
  position:absolute;
  inset:0;
  display:flex;
  transition:transform .6s ease;
  z-index:0;
  will-change:transform; /* performance hint */
}
/* PATCH: move slide imagery focus towards the left */
.hero-slide{min-width:100%;background-size:cover;background-position:left center}
.hero-jar{
  position:absolute;
  right:48px;
  top:48px;
  width:290px;
  height:380px;
  border:1px solid var(--line);
  border-radius:24px;
  background:#fff;
  box-shadow:0 22px 60px rgba(0,0,0,.22);
  display:none !important;
  align-items:center;
  justify-content:center;
  z-index:2;
}
@media(min-width:1200px){.hero-jar{display:none !important}}
.hero-copy{
  position:absolute;
  inset:0;
  display:flex;
  align-items:center;
  justify-content:flex-end;
  padding-left:var(--edge-pad);
  padding-right:var(--edge-pad);
  z-index:2;
}
.hero-panel{
  margin-left:auto;
  margin-right:clamp(24px,6vw,80px);
  max-width:560px;
  background:transparent !important;
  color:#111;
  border-radius:0;
  box-shadow:none;
  padding:0;
  transform:translateX(0);
  opacity:1;
  transition:transform .6s ease,opacity .6s ease;
}
.badge{
  font-size:12px;
  letter-spacing:.22em;
  text-transform:uppercase;
  color:#777;
}
.hero h1{
  font-family:"Playfair Display",Georgia,serif;
  font-size:clamp(36px,4.6vw,56px);
  line-height:1.05;
  margin:10px 0 12px;
  letter-spacing:.06em;
  text-transform:uppercase;
}
.hero .sub{
  font-style:normal;
  font-family:Inter,system-ui,sans-serif;
  opacity:1;
  margin:0 0 10px;
  font-size:15px;
  color:#444;
}
.hero p{color:#444;max-width:48ch;margin:0 0 4px}
.hero-meta{
  margin-top:12px;
  font-size:12px;
  letter-spacing:.16em;
  text-transform:uppercase;
  color:#9a9a9a;
  display:flex;
  flex-direction:column;
  gap:2px;
}
.hero .badge,
.hero h1,
.hero .sub,
.hero p,
.hero .hero-meta{
  text-shadow:0 0 10px rgba(255,255,255,0.85);
}
.cta{display:flex;gap:10px;margin-top:16px}
.pill{padding:12px 20px;border-radius:6px;border:1px solid #d0d0d0;background:#ffffff}
.pill.primary{background:var(--brand);border-color:var(--brand);color:#fff}
/* hero buttons bold + squared */
.hero .pill{font-weight:700;border-radius:0}
.hero .navbtn{position:absolute;top:50%;transform:translateY(-50%);border:1px solid var(--line);background:#fff;padding:8px;border-radius:999px;z-index:3}
.hero .prev{left:12px}.hero .next{right:12px}
.dots{position:absolute;left:50%;transform:translateX(-50%);bottom:18px;display:flex;gap:8px;z-index:3}
.dot{width:10px;height:10px;border-radius:50%;border:1px solid #cfcfcf;background:#fff}
.dot.active{background:var(--brand);border-color:var(--brand)}

/* ── MOBILE HERO PATCH ── */
@media(max-width:900px){

  /* Let hero grow on small screens so big words like MICRODERMABRASION fit */
  .hero-box{
    height:auto;
    min-height:520px;
    padding:32px 0 56px;
  }

  /* Put the hero card near the bottom, not dead-centre where it gets cropped */
  .hero-copy{
    justify-content:center;
    align-items:flex-end;
    padding-left:var(--edge-pad);
    padding-right:var(--edge-pad);
    padding-bottom:32px;
  }

  /* Smaller, lighter hero card so you can SEE the image behind it */
  .hero-panel{
    margin:0;
    max-width:520px;
    padding:16px 14px 18px;
    background:rgba(255,255,255,0.9) !important;
    border-radius:14px;
    box-shadow:0 8px 24px rgba(0,0,0,.14);
  }

  /* Tame heading so MICRODERMABRASION doesn’t spill off the sides */
  .hero h1{
    font-size:26px;
    letter-spacing:.04em;
    line-height:1.05;
  }

  .hero .sub,
  .hero p{
    font-size:14px;
  }

  /* Softer wash so hero photo actually shows through */
  .hero-box::before{
    background:linear-gradient(
      180deg,
      rgba(241,252,252,0.60) 0%,
      rgba(255,255,255,0.90) 65%,
      #ffffff 95%
    );
  }

  /* Mobile: drop heavy text-shadow to reduce repaint cost */
  .hero .badge,
  .hero h1,
  .hero .sub,
  .hero p,
  .hero .hero-meta{
    text-shadow:none;
  }
}

/* Make secondary hero button readable on dark bg */
.hero .hero-panel .pill:not(.primary){
  background:#fff !important;color:var(--brand) !important;border-color:#d0d0d0 !important;box-shadow:0 1px 0 rgba(0,0,0,.03) inset;
}
/* keep splash above the white background but under text */
.hero .hero-panel .pill:not(.primary)::before{z-index:0}
.hero .hero-panel .pill>span{position:relative;z-index:1}
.hero .hero-panel .pill:not(.primary):hover{color:#fff !important}
.hero .hero-panel .pill:not(.primary){position:relative}
.hero .hero-panel .pill:not(.primary):hover::after{
  content:"FIND OUT MORE";
  position:absolute;inset:0;display:flex;align-items:center;justify-content:center;
  z-index:1;color:#fff;font-weight:700;letter-spacing:.01em;pointer-events:none;
}

/* ───────── Cards ───────── */
.cards{padding:56px 0}
.grid{display:grid;gap:20px}
@media(min-width:900px){.grid{grid-template-columns:repeat(3,1fr)}}
/* prevent non-active cards from stretching to tallest */
.cards .grid{align-items:flex-start;}
.card{border:1px solid var(--line);border-radius:22px;overflow:hidden;box-shadow:var(--elev-soft);transition:box-shadow .2s}
.card:hover{box-shadow:0 18px 50px rgba(0,0,0,.08)}
.card .img{height:280px;background:radial-gradient(120% 100% at 100% 0%, rgba(33,199,201,.12), #fff 60%);background-size:cover;background-position:center}
.card .body{padding:14px;display:flex;flex-direction:column;gap:6px;position:relative}
.card .body::before{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(255,255,255,0.95) 0%, rgba(33,199,201,0.08) 100%);z-index:0}
.card .body>*{position:relative;z-index:1}
.card h3{margin:0;font-size:18px}
.card .cta{margin-top:8px;display:inline-flex}
/* keep non-primary pills styled; allow primary (= Book Now) to stay turquoise */
.cards .pill{font-weight:600}
.cards .pill:not(.primary){background:#f7f7f7;border-color:#cfcfcf;color:#171717}
.cards .pill.primary::before{background:#fff}
.cards .pill.primary:hover{color:var(--brand) !important}
.cards .pill:not(.primary):hover{color:#fff !important}
.muted{color:#666}

/* ───────── Services summary strip (TREAT IT) ───────── */
#treat-it{margin:34px 0 10px}
#treat-it>p{max-width:60ch;color:#444;margin:0 0 18px}
#treat-it .tiles{display:grid;gap:18px}
@media(min-width:900px){#treat-it .tiles{grid-template-columns:repeat(3,1fr)}}
#treat-it .tile{align-items:flex-start;min-height:0;background:#fff;border-radius:18px;border:1px solid var(--line);padding:18px 18px 16px;box-shadow:var(--elev-soft)}
#treat-it .tile strong{font-size:18px;display:block}
#treat-it .tile .note{margin:4px 0 10px;font-size:14px;color:#444}
#treat-it .card-points{margin:0 0 12px;padding-left:18px;color:#444;font-size:14px;line-height:1.5}
#treat-it .card-points li{margin-bottom:4px}
#treat-it .quick{margin-top:auto;gap:8px;flex-wrap:wrap}
#treat-it .chip{font-size:13px;border-radius:999px;padding:8px 14px}

/* ───────── Features (process rail) ───────── */
.features{
  padding:56px 0 56px;
  border-top:1px solid var(--line);
  margin-top:34px;

  /* pulled in from viewport edges */
  margin-left:20px;
  margin-right:20px;
}
.features .container{
  max-width:100%;
  margin:0 auto;
  padding-left:var(--edge-pad);
  padding-right:var(--edge-pad);
}

/* Background band – neutral (no peach) */
.features.tighter{
  background:
    radial-gradient(circle at 0 0,#f2fbfb 0,rgba(242,251,251,0) 55%),
    linear-gradient(90deg,#ffffff 0%,#f6fafb 40%,#ffffff 100%);
}

/* Two-column rail */
.features-rail{
  display:grid;
  grid-template-columns:minmax(0,0.9fr) minmax(0,1.3fr);
  gap:40px;
  align-items:flex-start;
}
@media(max-width:959px){
  .features-rail{
    grid-template-columns:1fr;
    gap:28px;
  }
}

/* Left intro column */
.features-rail__intro .eyebrow{
  font-size:12px;
  letter-spacing:.22em;
  text-transform:uppercase;
  color:#6b6b6b;
  margin-bottom:6px;
}
.features-rail__intro h2{
  font-family:"Playfair Display",Georgia,serif;
  font-size:clamp(28px,3.2vw,36px);
  line-height:1.1;
  margin:0 0 10px;
}
.features-rail__intro p{
  margin:0 0 14px;
  max-width:40ch;
  color:#333;
}
.features-rail__bullets{
  list-style:none;
  margin:14px 0 0;
  padding:0;
  color:#444;
  font-size:14px;
}
.features-rail__bullets li{
  display:flex;
  gap:8px;
  align-items:flex-start;
  margin-bottom:6px;
}
.features-rail__bullets li::before{
  content:"•";
  font-size:18px;
  line-height:1;
  color:var(--brand);
  margin-top:1px;
}

/* Mini "keep it going" products block tucked into features rail */
.features-homecare{
  margin-top:22px;
  padding:18px 18px 16px;
  border-radius:16px;
  border:1px solid var(--line);
  background:linear-gradient(180deg,rgba(255,255,255,0.96) 0%,rgba(33,199,201,0.06) 100%);
  box-shadow:0 12px 30px rgba(0,0,0,.03);
  display:flex;
  flex-direction:column;
  gap:10px;
}

.features-homecare h3{
  margin:0;
  font-family:"Playfair Display",Georgia,serif;
  font-size:18px;
  letter-spacing:.12em;
  text-transform:uppercase;
}

.features-homecare p{
  margin:0;
  color:#333;
  font-size:14px;
  max-width:40ch;
}

.features-homecare__grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:10px;
  margin-top:8px;
}

.features-homecare__item{
  border-radius:14px;
  border:1px solid rgba(230,230,230,0.9);
  background:#fff;
  box-shadow:0 10px 26px rgba(0,0,0,.04);
  overflow:hidden;
  display:flex;
  flex-direction:column;
}

.features-homecare__thumb{
  aspect-ratio:4/3;
  background-size:cover;
  background-position:center;
}

.features-homecare__label{
  padding:8px 10px 9px;
  font-size:13px;
  font-weight:600;
  letter-spacing:.06em;
  text-transform:uppercase;
  color:#444;
}

@media(max-width:1024px){
  .features-homecare__grid{
    grid-template-columns:repeat(3,minmax(0,1fr));
  }
}

@media(max-width:700px){
  .features-homecare__grid{
    grid-template-columns:repeat(3,minmax(0,1fr));
  }
}

@media(max-width:540px){
  .features-homecare__grid{
    grid-template-columns:repeat(3,minmax(0,1fr));
  }
}

/* Right steps column */
.features-rail__steps{
  list-style:none;
  margin:0;
  padding:0;
  display:flex;
  flex-direction:column;
  gap:18px;
  position:relative;
}

/* Step item */
.features-step{
  display:grid;
  grid-template-columns:auto minmax(0,1fr) 210px;
  gap:16px;
  align-items:stretch;
  padding:16px 18px;
  border-radius:16px;
  background:rgba(255,255,255,0.9);
  box-shadow:0 12px 30px rgba(0,0,0,.04);
  border:1px solid rgba(230,230,230,0.9);
}
.features-step:last-child{
  margin-bottom:0;
}
@media(max-width:1024px){
  .features-step{
    grid-template-columns:auto minmax(0,1fr);
  }
  .features-step__thumb{
    display:none;
  }
}

/* Marker rail */
.features-step__marker{
  position:relative;
  padding-top:4px;
  padding-bottom:4px;
}
.features-step__dot{
  display:flex;
  align-items:center;
  justify-content:center;
  width:26px;
  height:26px;
  border-radius:999px;
  border:2px solid(var(--brand));
  font-size:13px;
  font-weight:600;
  color:var(--brand);
  background:#fff;
  z-index:1;
  position:relative;
}
.features-step__line{
  position:absolute;
  left:50%;
  top:28px;
  bottom:-16px;
  width:2px;
  transform:translateX(-50%);
  background:linear-gradient(to bottom,rgba(33,199,201,.6),rgba(33,199,201,0));
}
.features-step:last-child .features-step__line{
  display:none;
}

/* Step body */
.features-step__body{
  display:flex;
  flex-direction:column;
  justify-content:center;
  gap:4px;
}
.features-step__body .eyebrow{
  font-size:11px;
  letter-spacing:.22em;
  text-transform:uppercase;
  color:#8a8a8a;
}
.features-step__body h3{
  font-family:"Playfair Display",Georgia,serif;
  font-size:20px;
  line-height:1.2;
  margin:0;
}
.features-step__body p{
  margin:4px 0 0;
  color:#333;
  max-width:50ch;
  font-size:14px;
}
.features-step__body .cta{
  margin-top:10px;
  flex-wrap:wrap;
}

/* Step thumbnail */
.features-step__thumb{
  border-radius:12px;
  background-size:cover;
  background-position:center;
  width:210px;
  aspect-ratio:4/3;
  align-self:center;
  max-height:none;
  border:1px solid var(--line);
}

/* ───────── Responsive collision tweaks ───────── */
.left-tabs{flex-wrap:nowrap;overflow-x:auto;max-width:100%;-webkit-overflow-scrolling:touch;scrollbar-width:none}
.left-tabs::-webkit-scrollbar{display:none}
.row-1>*{min-width:0}
@media(max-width:1180px){
  .row-1{height:auto;align-items:end;padding-top:8px;padding-bottom:8px}
  .tab{height:56px}
  .menu:hover>.tab{margin-bottom:0}
}
@media(max-width:860px){
  .logo .tagline{display:none}
  .tab{height:48px;padding:0 12px}
  .actions{gap:10px}
}

/* ── MOBILE HEADER STACK: tabs → logo → book + phone ── */
@media (max-width:768px){

  .row-1{
    display:flex;
    flex-direction:column;
    align-items:stretch;
    height:auto;
    padding:8px var(--edge-pad);
    row-gap:8px;
  }

  .left-tabs{
    order:1;
    margin:0 calc(-1 * var(--edge-pad));
    padding:0 var(--edge-pad);
    border-bottom:1px solid var(--line);
  }

  .logo{
    order:2;
    text-align:left;
  }

  .actions{
    order:3;
    display:flex;
    flex-direction:column;
    align-items:flex-start;
    gap:6px;
  }

  .actions .btn.primary{
    order:1;
  }

  .actions .btn.phone{
    order:2;
    padding:0;
    justify-content:flex-start;
  }

  .btn.phone::before{
    margin-right:8px;
  }
}

/* ───────── Location ───────── */
.location{
  --loc-pad-x:15px;--loc-pad-y:44px;--loc-h:clamp(380px,52vh,520px);--loc-gap:0;--loc-inset-x:22px;--loc-inset-y:18px;
  padding:var(--loc-pad-y) 0;border-top:1px solid var(--line);margin-left:0;margin-right:0;
}
.location .container{max-width:min(var(--maxw),2000px);margin:0 auto;padding-left:var(--loc-pad-x);padding-right:var(--loc-pad-x)}
.loc-grid{display:grid;grid-template-columns:1fr 1fr;align-items:stretch;gap:var(--loc-gap);border:1px solid var(--line);border-radius:14px;overflow:hidden;min-height:var(--loc-h);box-shadow:var(--elev-soft)}
.loc-copy{position:relative;padding:var(--loc-inset-y) var(--loc-inset-x);display:flex;flex-direction:column;justify-content:center;min-height:var(--loc-h)}
.loc-copy::before{content:"";position:absolute;inset:0;border-radius:0;background:linear-gradient(180deg,rgba(255,255,255,0.95) 0%, rgba(33,199,201,0.08) 100%);z-index:0}
.loc-copy>*{position:relative;z-index:1}
.loc-eyebrow{font-size:13px;letter-spacing:.22em;text-transform:uppercase;color:#6b6b6b;margin-bottom:12px}
.loc-copy h2{font-family:"Playfair Display",Georgia,serif;font-size:clamp(28px,4vw,44px);line-height:1.15;margin:0 0 12px}
.loc-copy p{margin:0 0 14px;color:#333;max-width:62ch}
.loc-cta{display:flex;gap:10px;margin-top:16px;flex-wrap:wrap}
.location .pill{font-weight:700}
.mapwrap{position:relative;min-height:var(--loc-h);border-left:1px solid var(--line);border-right:0;border-top:0;border-bottom:0;border-radius:0;overflow:hidden}
.mapwrap iframe{position:absolute;inset:0;width:100%;height:100%;border:0}
.map-photo{position:absolute;bottom:18px;right:18px;width:min(32%,280px);aspect-ratio:4/3;background-size:cover;background-position:center;border:1px solid var(--line);box-shadow:0 18px 40px rgba(0,0,0,.18)}
@media(max-width:959px){
  .loc-grid{grid-template-columns:1fr;border-radius:14px}
  .loc-copy{min-height:auto}
  .mapwrap{min-height:420px;border-left:0;border-top:1px solid var(--line)}
}

/* ───────── Engage Strip ───────── */
.engage{
  padding:44px 100px;border-top:1px solid var(--line);border-bottom:1px solid var(--line);
  margin-left:calc(-1 * var(--edge-pad));margin-right:calc(-1 * var(--edge-pad));overflow-x:clip;
}
.engage .container{max-width:100%;padding-left:clamp(8px,1.6vw,24px);padding-right:clamp(8px,1.6vw,24px)}
.tiles{display:grid;gap:10px}
@media(min-width:900px){.tiles{grid-template-columns:1fr 1.25fr 1fr}}

/* MOBILE: reuse Treat Yourself scroller behaviour for bottom tiles */
@media(max-width:900px){
  .engage{
    padding:32px 0 40px;
  }
  .engage .tiles{
    display:flex;
    overflow-x:auto;
    scroll-snap-type:x mandatory;
    -webkit-overflow-scrolling:touch;
    gap:16px;
    padding:0 var(--edge-pad) 8px;
    margin:0;
  }
  .engage .tiles::-webkit-scrollbar{
    display:none;
  }
  .engage .tile{
    flex:0 0 calc(100% - 40px);
    scroll-snap-align:start;
    min-height:auto;
  }
}

.tile{border:1px solid var(--line);border-radius:18px;background:linear-gradient(180deg,rgba(255,255,255,0.95) 0%, rgba(33,199,201,0.08) 100%), #fff;display:flex;flex-direction:column;padding:18px;min-height:320px;position:relative;overflow:hidden;box-shadow:var(--elev-soft)}
.tile h3{font-family:"Playfair Display",Georgia,serif;font-size:24px;line-height:1.2;margin:0 0 6px}
.tile .sub{color:#333;margin:0 0 12px}
.tile .cta{margin-top:auto;display:flex;gap:10px;align-items:center}
.engage .pill{font-weight:700}
.engage .pill:not(.primary)::before{background:#fff}
.engage .pill:not(.primary):hover{color:var(--brand) !important;border-color:#d0d0d0 !important}
.tile .eyebrow{font-size:12px;letter-spacing:.22em;text-transform:uppercase;color:#6b6b6b;margin-bottom:8px}
.tile .thumb{aspect-ratio:16/9;border:1px solid var(--line);border-radius:12px;background-size:cover;background-position:center;margin-bottom:12px}
.reviews{display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center}
.rev-viewport{position:relative;width:100%}
.rev-track{display:flex;transition:transform .45s ease}
.rev-slide{min-width:100%;padding:6px 40px 0}
.rev-quote{font-size:16px;line-height:1.5;margin:0 0 8px}
.rev-meta{font-size:14px;color:#555}
.stars{font-size:18px;letter-spacing:2px;margin-top:6px}
.rev-nav{display:flex;align-items:center;gap:8px;margin-top:10px}
.revbtn{border:1px solid var(--line);background:#fff;border-radius:999px;width:34px;height:34px}
.revbtn:hover{background:#f6f6f6}
revdots{display:flex;gap:8px}
revdot{width:8px;height:8px;border-radius:50%;border:1px solid #cfcfcf;background:#fff}
revdot.active{background:var(--brand);border-color:var(--brand)}
.rev-badge{position:absolute;top:12px;right:12px;font-size:11px;color:#666;border:1px solid var(--line);padding:4px 6px;border-radius:999px;background:#fff}
.team{display:flex;gap:14px;align-items:center}
.team .portrait{width:88px;aspect-ratio:1/1;border-radius:12px;border:1px solid var(--line);background-size:cover;background-position:center;flex:0 0 auto}
.team .bio{font-size:14px;color:#333}
.micro{font-size:12px;color:#6b6b6b;margin-top:6px}

/* ───────── Footer ───────── */
footer.sitefoot{border-top:1px solid var(--line);background:#fafafa;margin-left:calc(-1 * var(--edge-pad));margin-right:calc(-1 * var(--edge-pad))}
.sitefoot .container{max-width:100%;padding-left:24px;padding-right:24px}
@media(min-width:900px){.sitefoot .container{padding-left:100px;padding-right:100px}}
.foot-grid{display:grid;gap:50px;grid-template-columns:1fr;padding:48px 0 28px}
@media(min-width:900px){.foot-grid{grid-template-columns:1.1fr 0.9fr 0.9fr 0.9fr}}
.foot-col h4{margin:0 0 10px 0;font-weight:600;letter-spacing:.04em;font-size:14px;text-transform:uppercase;color:#555}
.foot-brand .word{font-family:"Playfair Display",Georgia,serif;font-size:28px}
.foot-brand .cta{margin-top:14px}
.foot-brand .book{
  position:relative;display:inline-flex;align-items:center;justify-content:center;height:44px;padding:0 20px;border:1px solid var(--sand);border-radius:0;font-weight:700;overflow:hidden;color:#111;transition:color .25s,border-color .25s;
}
.foot-brand .book::before{content:"";position:absolute;inset:0;transform:scaleX(0);transform-origin:left;background:var(--brand);z-index:0;transition:transform .28s ease-in-out}
.foot-brand .book:hover::before{transform:scaleX(1)}
.foot-brand .book:hover{color:#fff;border-color:var(--brandDark)}
.foot-brand .book>span{position:relative;z-index:1}
.contact,.navlist,.hours{list-style:none;margin:0;padding:0;display:grid;gap:8px}
.hours li{display:flex;justify-content:space-between;gap:12px;border-bottom:1px dashed #e9e9e9;padding-bottom:6px}
.hours b{font-weight:600}
.contact a,.navlist a{border-bottom:1px solid transparent}
.contact a:hover,.navlist a:hover{border-bottom-color:#ddd}
.foot-legal{border-top:1px solid var(--line);padding:12px 0 18px;display:flex;justify-content:space-between;align-items:center;gap:12px;font-size:14px;color:#666}
.foot-legal a{color:#666}

/* Footer polish */
.sitefoot{line-height:1.35}
.foot-col .hours{font-variant-numeric:tabular-nums;font-size:17px;row-gap:6px;color:#2b2b2b}
.foot-col .hours li{display:grid;grid-template-columns:140px 1fr;align-items:center;padding:10px 12px;border:0;background:transparent;border-radius:10px}
.foot-col .hours li:nth-child(odd){background:#f6f6f6}
.foot-col .hours li>b{color:#222;font-weight:600;white-space:nowrap}
.foot-col .hours li>span{justify-self:end;white-space:nowrap}
.sitefoot .navlist a{text-decoration:none;text-underline-offset:3px}
.sitefoot .navlist a:hover,.sitefoot .navlist a:focus{text-decoration:underline}
.foot-brand .book:focus-visible{box-shadow:0 0 0 3px rgba(33,199,201,.28);border-color:var(--brandDark)}

/* ───────── Universal splash hover for .btn / .pill ───────── */
.btn,.pill{position:relative;overflow:hidden;transition:color .25s,border-color .25s,background .25s}
.btn::before,.pill::before{
  content:"";position:absolute;inset:0;transform:scaleX(0);transform-origin:left;transition:transform .28s ease-in-out;z-index:-1;
}
.btn:not(.primary):not(.phone)::before,.pill:not(.primary)::before{background:var(--brand)}
.btn.primary::before,.pill.primary::before{background:#fff}
.btn:hover::before,.pill:hover::before{transform:scaleX(1)}
.btn:not(.primary):not(.phone):hover,.pill:not(.primary):hover{color:#fff !important;background:transparent !important;border-color:var(--brandDark) !important}
.btn.primary:hover,.pill.primary:hover{color:#111 !important;background:transparent !important}

/* PATCH: hero Book Now — text only to turquoise on hover */
.hero .hero-panel .pill.primary:hover{ color: var(--brand) !important; }

/* PHONE: override splash + draw circular icon chip */
.btn.phone::before{
  content:"";
  flex:0 0 auto;
  width:32px;
  height:32px;
  border-radius:999px;
  border:1px solid rgba(33,199,201,.55);
  background:#fff url("assets/blue phone.png") center/16px 16px no-repeat;
  position:static;
  inset:auto;
  transform:none;
  margin-right:4px;
  transition:border-color .2s ease,background-color .2s ease;
}
.btn.phone:hover{
  color:#666 !important;
}
.btn.phone:hover::before{
  background:var(--brand) url("assets/blue phone.png") center/16px 16px no-repeat;
  border-color:var(--brandDark);
}

/* Products mega: two links + right-side preview */
.mega-products{
  display:grid; grid-template-columns: 1fr 2fr; gap:16px;
  min-width:680px; padding:16px;
}
.mega-products__col{ display:grid; gap:10px; align-content:start; }
.mega-products__col .brand{
  display:flex; flex-direction:column; gap:4px;
  padding:12px 14px; border-radius:12px; text-decoration:none; color:inherit;
  border:1px solid var(--line);
}
.mega-products__col .brand:hover{
  background:rgba(33,199,201,.08); border-color:var(--brand);
}
.mega-products__col .brand small{ color:var(--muted); font-size:12px; }

.mega-products__preview{
  position:relative; border-radius:16px; overflow:hidden; border:1px solid var(--line);
  min-height:260px; background:#fff; cursor:pointer;
}
.mega-products__preview img{ width:100%; height:100%; object-fit:cover; display:block; }
.mega-products__preview .caption{
  position:absolute; left:12px; bottom:12px;
  background:rgba(0,0,0,.55); color:#fff; padding:10px 12px; border-radius:10px;
}
@media (max-width:900px){
  .mega-products{ grid-template-columns:1fr; }
  .mega-products__preview{ display:none; }
}
.brand-badges{
  display:flex;
  gap:12px;
  margin-top:10px;
}
.brand-badge{
  width:56px;
  height:56px;
  border:2px solid var(--brand);
  border-radius:10px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background:#fff;
}
.brand-badge img{
  max-width:80%;
  max-height:80%;
  display:block;
  object-fit:contain;
}
/* --- Footer brand badges: slightly larger + right-aligned --- */
.brand-badges{
  width:100%;
  justify-content:flex-end;   /* push to the right */
  margin-top:12px;
  flex-wrap:nowrap;
}

.brand-badge{
  width:64px;                 /* was 56px */
  height:64px;                /* was 56px */
  border-radius:12px;         /* keep the soft square look a touch larger */
}

.brand-badge img{
  max-width:82%;
  max-height:82%;
}
/* tiny nudge further right if desired */
.foot-col .brand-badges{ transform: translateX(4px); }

/* FAQ accordion */
.card .qa {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
  margin: 10px 0;
  background: #fff;
}

.card .qa summary {
  cursor: pointer;
  list-style: none;
  font-weight: 600;
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.card .qa summary::-webkit-details-marker { display: none; }

.card .qa[open] { border-color: rgba(33,199,201,.35); box-shadow: 0 4px 14px rgba(0,0,0,.05); }

.card .qa > div {
  margin-top: 10px;
  color: var(--muted);
  line-height: 1.6;
  font-size: 15px;
}

/* add a subtle + / − indicator */
.card .qa summary::after {
  content: '+';
  font-weight: 700;
  color: var(--brandDark);
  margin-left: 12px;
}
.card .qa[open] summary::after { content: '–'; }
/* Make a standalone #faq line up with page gutters */
#faq.card {
  max-width: var(--maxw);
  margin: 22px auto;
  padding: 20px;
}
/* ───────── TREAT IT cards: eyebrow + bullets ───────── */
.cards .eyebrow{
  font-size:12px;
  letter-spacing:.22em;
  text-transform:uppercase;
  color:#6b6b6b;
  margin-bottom:4px;
}

.cards .body .muted{
  margin-top:2px;
  margin-bottom:6px;
}

.cards .card-points{
  margin:0 0 12px;
  padding-left:18px;
  font-size:14px;
  line-height:1.5;
  color:#444;
}

.cards .card-points li{
  margin-bottom:4px;
}

/* ───────── Interactive TREAT IT reveal + mobile carousel ───────── */

/* Hide details by default; opened via .card.is-open from JS */
.card-details{
  max-height:0;
  overflow:hidden;
  opacity:0;
  transition:max-height .35s ease,opacity .25s ease;
}

.card.is-open .card-details{
  opacity:1;
  max-height:360px; /* large enough for full bullet copy */
}

/* Make the Learn more button behave nicely as a pill */
.card .card-toggle{
  background:#f7f7f7;
  border:none;
  color:#171717;
  cursor:pointer;
}

.card .card-toggle:focus-visible{
  outline:2px solid var(--brand);
  outline-offset:2px;
}

/* Mobile: swipeable carousel for TREAT IT cards */
@media(max-width:900px){
  #treat-cards .container{
    padding-left:0;
    padding-right:0;
  }
  .cards-track{
    display:flex;
    overflow-x:auto;
    scroll-snap-type:x mandatory;
    -webkit-overflow-scrolling:touch;
    gap:16px;
    padding:0 var(--edge-pad) 6px;
    margin:0;
  }
  .cards-track::-webkit-scrollbar{display:none}
  .cards-track .card{
    flex:0 0 calc(100% - 40px);
    scroll-snap-align:start;
  }
}
/* ───────── Clinic-only homecare tiles ───────── */

.features-homecare{
  margin-top:250px;
  padding:18px 18px 16px;
  border-radius:18px;
  border:1px solid var(--line);
  background:linear-gradient(180deg,rgba(255,255,255,0.96) 0%, rgba(33,199,201,0.06) 100%);
}

.features-homecare__title{
  font-family:"Playfair Display",Georgia,serif;
  font-size:18px;
  letter-spacing:.16em;
  text-transform:uppercase;
  margin:0 0 12px;
}

.features-homecare__tiles{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:10px;
  margin:10px 0 16px;
}

.features-homecare__tile{
  aspect-ratio:4/3;
  border-radius:12px;
  border:1px solid var(--line);
  background-size:cover;
  background-position:center;
  background-color:#f6fafb; /* fallback if image path is wrong */
  overflow:hidden;
}

/* Wire up images for each tile – swap these paths to your real files */
.features-homecare__tile:nth-child(1){
  background-image:url("/assets/brands/homecare-1.jpg");
}
.features-homecare__tile:nth-child(2){
  background-image:url("/assets/brands/homecare-2.jpg");
}
.features-homecare__tile:nth-child(3){
  background-image:url("/assets/brands/homecare-3.jpg");
}

.features-homecare__bullets{
  margin:0 0 14px;
  padding-left:18px;
  font-size:14px;
  color:#444;
}
.features-homecare__bullets li{
  margin-bottom:4px;
}
/* === TREAT YOURSELF cards – rock-solid dropdown behaviour === */
/* We scope to #treat-cards so nothing else on the site is touched. */

/* Turn off the old animated max-height behaviour */
#treat-cards .card-details{
  display:none;          /* fully hidden by default */
  max-height:none;       /* disable previous height cap */
  opacity:1;             /* no fade needed */
  overflow:visible;

  margin-top:10px;
  padding-top:8px;
  border-top:1px solid rgba(0,0,0,.06);
  font-size:14px;
  line-height:1.5;
  color:#444;
}

/* When JS adds .is-open to a card, *only that card* shows its extra copy */
#treat-cards .card.is-open .card-details{
  display:block;
}

/* Optional: keep the CTAs sitting nicely under the text in this section */
#treat-cards .card .body{
  display:flex;
  flex-direction:column;
  gap:6px;
}

#treat-cards .card .cta{
  margin-top:12px;
}
/* Extra breathing room between dot points in
   "How we work with your skin" */
.features-rail__bullets li{
  display:flex;
  gap:8px;
  align-items:flex-start;
  margin-bottom:30px; /* was 6px – gives more space */
}

/* Desktop tweak: align homecare block closer to Step 3 */
@media (min-width: 1024px){
  .features-homecare{
    margin-top:10px; /* tweak this (-20 to -50) until it's exactly where you want it */
  }
}
/* PATCH: ease off the hero image zoom on desktop AND keep focus left */
@media (min-width: 900px){
  .hero-slide{
    background-size: auto 115%;   /* fit by height instead of super zoomed cover */
    background-position: 0% 45%; /* shift focal point towards left, keep current sizing */
  }

/* Hide service-page Pricing heading + price bullets,
   keep "Pair it with" / next-steps visible */
main section#details .card.span-4 h2:first-of-type,
main section#details .card.span-4 h2:first-of-type + .bullets{
  display:none;
}
}

/* ───────── Footer brand badges: anchored bottom-right overlay ───────── */

/* Make footer & its container a positioning context */
footer.sitefoot{
  position:relative;
}
.sitefoot .container{
  position:relative;
}

/* Take footer badges out of flow and pin them bottom-right */
.sitefoot .brand-badges{
  position:absolute;
  right:24px;        /* mobile/small: align with 24px padding */
  bottom:69px;       /* sits above the © / Privacy row */
  width:auto;        /* override width:100% */
  margin-top:0;      /* don’t add extra column height */
  transform:none;    /* cancel translateX(4px) */
  justify-content:flex-end;
  flex-wrap:nowrap;
}

/* Desktop: line up with 100px side padding */
@media (min-width:900px){
  .sitefoot .brand-badges{
    right:100px;
  }
}
/* ───────── Pin legal bar to the bottom ───────── */

/* Give the container some bottom padding so the absolute legal row
   doesn’t overlap the grid content */
.sitefoot .container{
  position: relative;     /* already set above, repeated here is fine */
  padding-bottom: 72px;   /* space for © bar + a bit of breathing room */
}

/* Anchor the legal row to the bottom edge, aligned with container padding */
.foot-legal{
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 0;
}

/* Match desktop padding (100px) on wide screens */
@media (min-width: 900px){
  .foot-legal{
    left: 100px;
    right: 100px;
  }
}
/* ───────── Performance tweak: "How we work with your skin" strip ───────── */

/* 1. Kill the fancy splash + transitions just for these CTAs */
.features-rail .btn,
.features-rail .pill{
  transition: none !important;
}

.features-rail .btn::before,
.features-rail .pill::before{
  content: none !important;
}

/* 2. Flatten the step cards a bit so scroll + repaint is lighter */
.features-step{
  box-shadow: none;                /* remove deep shadow */
  background: #ffffff;             /* flat white instead of semi-transparent */
}

/* ───────── Client reviews badge anchor fix ───────── */

/* Make the whole middle reviews tile the positioning context */
.reviews{
  position: relative;
}

/* Let the slider content be normal-flow again */
.rev-viewport{
  position: static;
}

/* Pin the "Client reviews" pill to the top-right of the card */
.rev-badge{
  top: 18px;
  right: 24px;
  z-index: 2;
}

/* ───────── EXTRA MOBILE REFINEMENTS (appended) ───────── */

/* 1) Compact the step cards on mobile and make CTAs full width */
@media (max-width:900px){
  .features-step{
    padding:14px 12px;
    gap:12px;
  }

  .features-step__body h3{
    font-size:18px;
  }

  .features-step__body p{
    font-size:13px;
  }

  .features-step__body .cta{
    flex-direction:column;
    align-items:stretch;
    gap:8px;
  }

  .features-step__body .cta .pill{
    width:100%;
    justify-content:center;
  }
}

/* 2) Location block: stack buttons + shrink map on phones */
@media (max-width:600px){
  .location{
    --loc-pad-x:16px;
    --loc-pad-y:32px;
  }

  .loc-grid{
    box-shadow:var(--elev-soft);
  }

  .loc-copy{
    padding:18px 16px 16px;
  }

  .loc-cta{
    flex-direction:column;
    align-items:stretch;
  }

  .location .pill{
    width:100%;
    justify-content:center;
  }

  .mapwrap{
    min-height:260px;
  }
}

/* ───────── Tiny-phone header simplification (≤480px) ───────── */
@media (max-width:480px){

  header.site{
    border-bottom:1px solid var(--line);
  }

  /* Turn the header into two wrapped rows:
     row 1 = logo + CTAs
     row 2 = left-tabs as a segmented nav */
  .row-1{
    display:flex;
    flex-wrap:wrap;
    align-items:center;
    justify-content:space-between;
    padding:6px var(--edge-pad) 4px;
    row-gap:6px;
    column-gap:8px;
    height:auto;
  }

  /* Row 1: wordmark */
  .logo{
    order:1;
    flex:1 1 auto;
    text-align:left;
    font-size:18px;
    letter-spacing:.12em;
  }
  .logo .tagline{
    display:none;
  }

  /* Row 1: CTAs */
  .actions{
    order:1;
    display:flex;
    flex-direction:row;
    align-items:center;
    gap:6px;
  }

  .actions .btn.primary{
    padding:6px 12px;
    font-size:13px;
  }

  .actions .btn.phone{
    display:inline-flex;
    font-size:13px;
  }

  .actions .btn.phone::before{
    width:28px;
    height:28px;
    margin-right:6px;
  }

  /* Row 2: tabs become a compact segmented control */
  .left-tabs{
    order:2;
    flex:0 0 100%;
    margin:4px calc(-1 * var(--edge-pad)) 0;
    padding:4px var(--edge-pad) 2px;
    border-top:1px solid var(--line);
    display:flex;
    gap:6px;
    overflow-x:auto;
    -webkit-overflow-scrolling:touch;
    scrollbar-width:none;
  }
  .left-tabs::-webkit-scrollbar{
    display:none;
  }

  .tab{
    height:36px;
    padding:0 12px;
    border-radius:999px;
    background:#f4f4f4;
    border-color:#dedede;
    font-size:11px;
    letter-spacing:.08em;
  }

  .menu:hover>.tab,
  .tab.is-active{
    background:#ffffff;
    box-shadow:0 0 0 1px var(--brand);
    margin-bottom:0;
    border-bottom-color:var(--brand);
  }

  /* Hide the second header rail on tiny phones – tabs above cover navigation */
  .row-2{
    display:none;
  }

  /* Tiny phones: hero CTAs full-width under the card */
  .hero .cta{
    flex-direction:column;
    align-items:stretch;
    gap:8px;
  }

  .hero .cta .pill{
    width:100%;
    justify-content:center;
  }
}
/* MOBILE: make header full-bleed / pushed left */
@media (max-width: 900px){
  header.site .container{
    padding-left: 0;
    padding-right: 0;
  }
}
/* PHONE: pull header + hero closer to the left edge */
@media (max-width:480px){
  :root{
    --edge-pad:8px;   /* was clamp(16px,5vw,100px) → about 18–20px on iPhone 12 */
  }

  /* Let the hero card use the full width of that tighter gutter */
  .hero-panel{
    max-width:100%;
  }
}
/* ───────── FIX: "keep it going in between visits" block on mobile ───────── */
/* Make the products & gifts card sit UNDER the 1–4 steps, just on mobile */
@media (max-width:959px){
  .features{
    position:relative;       /* anchor for the absolute card */
    padding-bottom:700px;    /* reserve vertical space for the products card */
  }

  .features-homecare{
    position:absolute;
    left:var(--edge-pad);
    right:var(--edge-pad);
    bottom:32px;             /* sits just above the bottom of the section */
    margin-top:0;
  }
}

/* ───────── FIX 1: hide Pricing block on ALL breakpoints ───────── */
/* Desktop rule was trapped in a min-width media query – this forces it off everywhere */
main section#details .card.span-4 h2:first-of-type,
main section#details .card.span-4 h2:first-of-type + .bullets{
  display:none !important;
}

/* MOBILE: shorten the "Related services" block on service pages */
@media (max-width:900px){

  /* The last details card in #details is the Related services rail */
  main section#details .card.span-4:last-of-type{
    padding-top:16px;
    padding-bottom:16px;
  }

  /* Inner tiles/panels inside that block – kill tall min-heights */
  main section#details .card.span-4:last-of-type .tile,
  main section#details .card.span-4:last-of-type .card,
  main section#details .card.span-4:last-of-type [class*="service"],
  main section#details .card.span-4:last-of-type [class*="Service"]{
    min-height:0;
    height:auto;
  }
}
/* MOBILE: shorten the "Related services" tiles inside service pages */
@media (max-width: 900px){

  /* Outer wrapper card stays as-is, just trim its inner tiles */
  main section#details .card.span-4 .card,
  main section#details .card.span-4 .tile{
    min-height: 0;
    height: auto;
  }

  /* Make the little thumbnail panels shallower */
  main section#details .card.span-4 .card .img,
  main section#details .card.span-4 .tile .thumb{
    height: 50px;   /* tweak up/down if you want them taller/shorter */
  }
}
/* ───────── SERVICE PAGES: compact Related services tiles + fix button hover ───────── */

/* 1) Make the service-page "Related services" tiles shorter
   (those sections are <section class="card"> with a .tiles grid). */
main .card .tiles{
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:12px;
}

main .card .tiles .tile{
  min-height:0;
  padding:12px 12px;
}

/* On small screens stack each tile into a 2-column layout
   (thumb left, text right) so they’re not skyscrapers. */
@media (max-width:600px){
  main .card .tiles{
    grid-template-columns:1fr;
  }

  main .card .tiles .tile{
    display:grid;
    grid-template-columns:96px minmax(0,1fr);
    align-items:center;
    column-gap:10px;
  }

  main .card .tiles .tile .thumb{
    width:100%;
    aspect-ratio:4/5;
  }
}

/* 2) Service pages (they all use .mini-header) – turn off the big
   global splash hover so buttons stay as clean pills and stop
   flicking between square/rounded. */
.mini-header ~ main .btn,
.mini-header ~ main .pill{
  position:static;
  overflow:visible;
}

.mini-header ~ main .btn::before,
.mini-header ~ main .pill::before{
  content:none !important;
}
/* ───────── Service page: BeautiSoftware booking embed ───────── */
/* Use a more specific selector than the per-page .embed-16x9
   so this wins WITHOUT touching the HTML or using !important. */

main section#book .embed-16x9{
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--line);
  max-width: 100%;
}

/* Desktop & tablets – keep the normal 16:9 card */
@media (min-width: 900px){
  main section#book .embed-16x9{
    padding-bottom: 56.25%;   /* 16:9, same as now */
  }
}

/* Phones – give the booking frame more vertical room */
@media (max-width: 899.98px){
  main section#book .embed-16x9{
    padding-bottom: 130%;     /* taller; bump to 140–150% if you want even more */
  }
}
/* ───────── TABLET / SMALL LAPTOP HEADER FIX ───────── */
/* Pull the top tabs hard-left so they stop crowding the logo */
@media (min-width: 769px) and (max-width: 1360px){
  /* Let the left tab column shrink to its content instead of taking 1fr */
  .row-1{
    grid-template-columns: auto auto 1fr;
    column-gap: 24px; /* a bit tighter gap between tabs and logo */
  }

  /* Cancel the container padding so tabs sit on the very left edge */
  .left-tabs{
    margin-left: calc(-1 * var(--edge-pad));
  }

  /* Tabs: tighter, smaller */
  .left-tabs{
    margin-left: calc(-1 * var(--edge-pad)); /* stay hard-left */
    gap: 6px;                                /* less space between tabs */
  }

  .tab{
    height: 46px;        /* was 64px */
    padding: 0 7px;     /* was 16px */
    font-size: 12px;     /* slightly smaller label text */
  }
}
/* TABLET HEADER: push top tabs to the very left + tighten them */
@media (min-width: 600px) and (max-width: 900px){

  /* Make the header container full-bleed on the left */
  header.site .container{
    padding-left: 0;
    padding-right: var(--edge-pad);
  }

  /* Let tabs take only the space they need, logo stays centre-ish, CTAs right */
  .row-1{
    grid-template-columns: auto 1fr auto;
    column-gap: 24px;
  }

  /* Tabs sit hard against the left edge */
  .left-tabs{
    justify-self: flex-start;
    margin-left: -20px;
  }

  /* Slightly smaller, tighter pills so they don’t feel massive */
  .left-tabs .tab{
    padding: 0 12px;
    font-size: 13px;
  }
}
/* ───────── TABLET HEADER FIX: tabs full-bleed, logo centre, CTAs centred under logo ───────── */
@media (min-width: 700px) and (max-width: 1024px){

  /* Let header go edge-to-edge */
  header.site .container{
    padding-left:0;
    padding-right:0;
  }

  .row-1{
    display:flex;
    flex-direction:column;
    align-items:stretch;
    padding:8px 0 10px;
    row-gap:8px;
  }

  /* Top: tabs – full bleed left/right */
  .left-tabs{
    order:1;
    width:100vw;
    margin:0 calc(-50vw + 50%);
    padding:0 var(--edge-pad);
    border-bottom:1px solid var(--line);
  }

  /* Middle: logo centred */
  .logo{
    order:2;
    text-align:center;
  }

  /* Bottom: BOOK NOW + phone centred under logo */
  .actions{
    order:3;
    align-self:center;         /* centre the whole block */
    flex-direction:column;     /* stack button + phone */
    align-items:center;
    gap:6px;
  }
}
