/* =====================================================================
   SKIN BY LOVELY — PPC LANDING PAGES — SHARED STYLES
   ---------------------------------------------------------------------
   Brand tokens below are pulled DIRECTLY from skinbylovely.com's theme
   (ht-skinbylovely/main.css) so these pages feel like the real website:
     • Slate blue-gray  #4D5866  (primary)
     • Dusty rose       #BC8D94  (accent)
     • Soft blush       #F1DCD3  / warm sand #DCC7BD (section backgrounds)
     • Charcoal text    #312F30
     • Fonts: Gotham (body + headings) · Mrs Eaves (logo accent)
     • Buttons: square corners, slate fill — matching the live site.
   ===================================================================== */

/* ---------- BRAND FONTS (self-hosted from the SBL theme) ---------- */
@font-face { font-family:"Gotham"; src:url("fonts/Gotham-Light.woff2") format("woff2"), url("fonts/Gotham-Light.woff") format("woff"); font-weight:300; font-style:normal; font-display:swap; }
@font-face { font-family:"Gotham"; src:url("fonts/Gotham-Book.woff2") format("woff2"), url("fonts/Gotham-Book.woff") format("woff"); font-weight:400; font-style:normal; font-display:swap; }
@font-face { font-family:"Gotham"; src:url("fonts/Gotham-Medium.woff2") format("woff2"), url("fonts/Gotham-Medium.woff") format("woff"); font-weight:500; font-style:normal; font-display:swap; }
@font-face { font-family:"Gotham"; src:url("fonts/Gotham-Bold.woff2") format("woff2"), url("fonts/Gotham-Bold.woff") format("woff"); font-weight:700; font-style:normal; font-display:swap; }
@font-face { font-family:"MrsEaves"; src:url("fonts/MrsEavesOT-RomanLining.woff2") format("woff2"), url("fonts/MrsEavesOT-RomanLining.woff") format("woff"); font-weight:400; font-style:normal; font-display:swap; }

/* ---------- BRAND TOKENS ---------- */
:root {
  --slate:        #4D5866;  /* primary brand color (buttons, headings) */
  --slate-deep:   #3C4651;  /* hover / darker */
  --rose:         #BC8D94;  /* dusty-rose accent */
  --rose-deep:    #A8757D;
  --blush:        #F1DCD3;  /* soft section background */
  --sand:         #DCC7BD;  /* warm neutral */
  --ink:          #312F30;  /* primary text */
  --ink-62:       rgba(49,47,48,.62); /* secondary text (matches site) */
  --gray:         #575757;
  --white:        #FFFFFF;
  --line:         rgba(49,47,48,.125); /* hairline (matches site footer border) */
  --line-soft:    #E8E8E9;
  --shadow:       0 18px 50px rgba(49,47,48,0.10);
  --shadow-sm:    0 8px 24px rgba(49,47,48,0.07);
  --maxw:         1180px;
  --font-body:    "Gotham", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: "Gotham", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-serif:   "MrsEaves", Georgia, "Times New Roman", serif; /* logo / rare accent only */
}

/* ---------- RESET ---------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { max-width: 100%; overflow-x: hidden; }   /* no stray horizontal scroll on mobile */
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.75;
  font-weight: 400;
  border-top: 2px solid var(--line-soft); /* subtle top rule, like the live site */
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
/* Headings: Gotham, matching the live site (no serif) */
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 400; line-height: 1.25; margin: 0 0 .5em; color: var(--ink); letter-spacing: .15px; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.25rem); line-height: 1.2; letter-spacing: .4px; }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.5rem); }
h3 { font-size: 1.3rem; font-weight: 500; }
p  { margin: 0 0 1em; }

/* ---------- LAYOUT ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: 88px 0; }
.center { text-align: center; }
.eyebrow {
  text-transform: uppercase; letter-spacing: .28em; font-size: .72rem; font-weight: 500;
  color: var(--rose); margin: 0 0 1rem;
}
.lede { font-size: 1.12rem; color: var(--ink-62); max-width: 640px; line-height: 1.7; }
.center .lede { margin-left: auto; margin-right: auto; }

/* ---------- BUTTONS (square, slate — like the live site) ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  font-family: var(--font-body); font-weight: 500; font-size: .82rem;
  text-transform: uppercase; letter-spacing: .14em;
  padding: 17px 30px; border-radius: 0; border: 1.5px solid transparent;
  text-decoration: none; cursor: pointer; line-height: 1;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.btn--primary { background: var(--slate); color: var(--white); border-color: var(--slate); }
.btn--primary:hover { background: var(--slate-deep); border-color: var(--slate-deep); }
.btn--ghost { background: transparent; color: var(--slate); border-color: var(--slate); }
.btn--ghost:hover { background: var(--slate); color: var(--white); }
.btn--rose { background: var(--rose); color: #fff; border-color: var(--rose); }
.btn--rose:hover { background: var(--rose-deep); border-color: var(--rose-deep); }
.btn--lg { padding: 19px 38px; font-size: .86rem; }
.btn--block { width: 100%; }

/* ---------- HEADER (3 tiers: slate promo bar · logo+phone+book · master nav) ---------- */
.site-header { position: relative; z-index: 50; }

/* Tier 1 — slate promo bar */
.topbar { background: var(--slate); color: #fff; }
.topbar .wrap { display: flex; align-items: center; justify-content: center; gap: 22px; min-height: 42px; padding: 7px 24px; }
.topbar .promo { font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; text-align: center; }
.topbar .promo strong { font-weight: 700; }
.topbar .promo .code { border: 1px solid rgba(255,255,255,.5); padding: 2px 8px; margin-left: 6px; letter-spacing: .12em; }
.topbar .tb-phone { display: none; position: absolute; right: 24px; color: #fff; text-decoration: none; font-size: .8rem; letter-spacing: .06em; }
.topbar .wrap { position: relative; }

/* Tier 2 — logo (center) with phone (left) + book (right) */
.header-main { background: #fff; border-bottom: 1px solid var(--line); }
.header-main .wrap { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: 86px; gap: 16px; }
.header-main .hm-left { justify-self: start; }
.header-main .hm-right { justify-self: end; }
.header-main .brand { display: inline-flex; justify-self: center; text-decoration: none; min-width: 0; }
.header-main .brand img { height: 30px; width: auto; max-width: 100%; }
.header-main .hm-right { min-width: 0; }
.hm-phone { display: inline-flex; align-items: center; gap: 8px; color: var(--slate); text-decoration: none; font-weight: 500; font-size: .92rem; letter-spacing: .03em; }
.hm-phone svg { width: 17px; height: 17px; }

/* Tier 3 — master-site nav row */
.navrow { background: #fff; border-bottom: 1px solid var(--line); }
.navrow .wrap { display: flex; align-items: center; justify-content: center; gap: 36px; height: 50px; }
.navrow a { text-transform: uppercase; letter-spacing: .15em; font-size: .73rem; font-weight: 500; color: var(--ink); text-decoration: none; white-space: nowrap; transition: color .15s ease; }
.navrow a:hover { color: var(--rose); }

@media (max-width: 860px) {
  body { overflow-x: hidden; }                          /* defensive: no stray horizontal scroll */
  /* Promo bar: centered text that wraps cleanly — phone lives in the sticky bottom bar */
  .topbar .wrap { display: block; text-align: center; gap: 0; }
  .topbar .promo { font-size: .68rem; letter-spacing: .06em; line-height: 1.5; }
  .topbar .promo .code { display: inline-block; margin-top: 2px; }
  .topbar .tb-phone { display: none; }
  /* Logo (left) + Book (right), sized to fit small screens */
  .header-main .wrap { grid-template-columns: 1fr auto; height: 64px; gap: 12px; }
  .header-main .hm-left { display: none; }
  .header-main .brand { justify-self: start; }
  .header-main .brand img { height: 22px; }
  .header-main .hm-right .btn { padding: 11px 16px; font-size: .72rem; }
  .navrow { display: none; }                           /* keep mobile lean; sticky CTA covers booking */
}
@media (max-width: 360px) {
  .header-main .brand img { height: 19px; }
  .header-main .hm-right .btn { padding: 10px 12px; letter-spacing: .06em; }
}

/* ---------- HERO ---------- */
.hero { position: relative; background: linear-gradient(180deg, var(--blush) 0%, rgba(241,220,211,.35) 60%, #fff 100%); overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; padding-top: 76px; padding-bottom: 84px; }
.hero h1 { margin-bottom: .3em; }
.hero .hero-sub { font-size: 1.18rem; color: var(--ink-62); margin-bottom: 1.7rem; max-width: 34ch; line-height: 1.6; }
.offer-badge { display: inline-flex; align-items: center; gap: 12px; background: #fff; border: 1px solid var(--line); padding: 9px 18px 9px 10px; font-weight: 400; font-size: .92rem; color: var(--ink); box-shadow: var(--shadow-sm); margin-bottom: 1.6rem; }
.offer-badge .tag { background: var(--rose); color: #fff; padding: 6px 13px; font-size: .76rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 6px; }
.hero-fineprint { margin-top: 16px; font-size: .85rem; color: var(--ink-62); }
.hero-media { position: relative; overflow: hidden; min-height: 460px; background: var(--sand) center/cover no-repeat; }
.hero-media .media-fallback { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; text-align: center; color: var(--ink-62); font-size: .95rem; padding: 30px; }

/* ---------- TRUST BAR ---------- */
.trustbar { background: var(--slate); color: var(--white); }
.trustbar .wrap { display: flex; flex-wrap: wrap; gap: 14px 44px; justify-content: center; align-items: center; padding: 20px 24px; }
.trustbar .ti { display: flex; align-items: center; gap: 10px; font-size: .86rem; font-weight: 400; letter-spacing: .03em; opacity: .97; }
.trustbar .ti svg { width: 19px; height: 19px; flex: none; opacity: .9; }

/* ---------- CARDS / TREATMENTS ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
/* grid-fill: use when the card count is NOT a multiple of 3 (e.g. the 5-card skin page).
   Switches to flex so the last, short row centers instead of leaving a hole on the right. */
.grid-3.grid-fill { display: flex; flex-wrap: wrap; justify-content: center; }
.grid-3.grid-fill > .card { flex: 0 1 calc(33.333% - 17.34px); }
.card { background: #fff; border: 1px solid var(--line); padding: 38px 32px; }
.card .ico { width: 48px; height: 48px; background: var(--blush); display: flex; align-items: center; justify-content: center; margin-bottom: 20px; color: var(--slate); }
.card h3 { margin-bottom: .5em; }
.card p { color: var(--ink-62); font-size: .96rem; margin-bottom: 0; }

/* ---------- VALUE / WHY ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.split-media { overflow: hidden; aspect-ratio: 4 / 5; }
.split-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 980px) { .split-media { aspect-ratio: 16 / 10; } }
.value-list { list-style: none; margin: 22px 0 0; padding: 0; }
.value-list li { display: flex; gap: 16px; padding: 16px 0; border-top: 1px solid var(--line); }
.value-list li:first-child { border-top: none; }
.value-list .vk { font-weight: 500; }
.value-list .check { flex: none; width: 24px; height: 24px; border-radius: 50%; background: var(--rose); color: #fff; display: flex; align-items: center; justify-content: center; font-size: .72rem; margin-top: 3px; }

/* ---------- HOW IT WORKS (steps) ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.step { background: #fff; border: 1px solid var(--line); padding: 36px 30px; }
.step .num { font-family: var(--font-serif); font-size: 2.6rem; color: var(--rose); line-height: 1; margin-bottom: 14px; }
.step h3 { font-size: 1.15rem; font-weight: 500; }
.step p { color: var(--ink-62); font-size: .95rem; margin-bottom: 0; }
.code-pill { display: inline-block; background: var(--blush); border: 1px dashed var(--rose); padding: 2px 10px; font-weight: 700; letter-spacing: .08em; color: var(--slate-deep); }

/* ---------- TESTIMONIALS ---------- */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.quote { background: #fff; border: 1px solid var(--line); padding: 32px 30px; }
.stars { color: var(--rose); letter-spacing: 3px; margin-bottom: 14px; font-size: .95rem; }
.quote p { color: var(--ink); font-size: 1rem; line-height: 1.7; }
.quote .who { font-weight: 500; color: var(--ink-62); font-size: .85rem; margin-top: 16px; letter-spacing: .03em; }

/* ---------- FAQ ---------- */
.faq { max-width: 780px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); padding: 22px 0; }
.faq summary { font-weight: 500; font-size: 1.05rem; cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--rose); font-size: 1.5rem; line-height: 1; font-weight: 300; }
.faq details[open] summary::after { content: "\2013"; }
.faq details p { margin: 14px 0 0; color: var(--ink-62); }

/* ---------- CTA BAND ---------- */
.ctaband { background: var(--slate); color: #fff; text-align: center; }
.ctaband h2 { color: #fff; }
.ctaband p { color: rgba(255,255,255,.84); max-width: 580px; margin-left: auto; margin-right: auto; }
.ctaband .eyebrow { color: var(--sand); }
.ctaband .btn--primary { background: #fff; color: var(--slate); border-color: #fff; }
.ctaband .btn--primary:hover { background: var(--blush); border-color: var(--blush); }
.ctaband .btn--ghost { color: #fff; border-color: rgba(255,255,255,.7); }
.ctaband .btn--ghost:hover { background: #fff; color: var(--slate); }

/* ---------- CONTACT FORM (bottom) ---------- */
.contact { background: var(--blush); }
.form-card { background: #fff; border: 1px solid var(--line); padding: 44px; box-shadow: var(--shadow); max-width: 740px; margin: 0 auto; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: .78rem; font-weight: 500; color: var(--gray); text-transform: uppercase; letter-spacing: .08em; }
.field input, .field select, .field textarea { font-family: var(--font-body); font-size: 1rem; padding: 13px 14px; border: 1px solid var(--line-soft); border-radius: 0; background: #fff; color: var(--ink); }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--slate); outline-offset: 1px; border-color: var(--slate); }
.form-note { font-size: .8rem; color: var(--ink-62); margin-top: 16px; text-align: center; }
.form-error { display: none; background: #fdf1f1; border: 1px solid #e3b7b7; color: #8a3b3b; padding: 14px 16px; margin-bottom: 18px; font-size: .95rem; line-height: 1.5; }
.form-error a { color: #8a3b3b; font-weight: 700; text-decoration: underline; }
.form-success { display: none; text-align: center; padding: 20px; }
.form-success.show { display: block; }
.form-success h3 { color: var(--slate); }

/* ---------- FOOTER (replicates skinbylovely.com) ---------- */
.site-footer { background: #fff; color: var(--slate); border-top: 1px solid var(--line); }
.f-main { padding: 80px 0 56px; }
.f-grid { display: grid; grid-template-columns: 1.1fr 2fr; gap: 48px; }
.f-logo img { height: 30px; width: auto; margin-bottom: 26px; }
.f-quick { list-style: none; margin: 0; padding: 0; columns: 2; }
.f-quick li a { text-decoration: none; line-height: 3.07; color: var(--slate); font-size: .92rem; transition: opacity .3s; }
.f-quick li a:hover { opacity: .6; }
.f-coltitle { text-transform: uppercase; letter-spacing: .2em; font-size: .72rem; color: var(--rose); margin: 0 0 22px; }
.locations-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 26px 32px; }
.col-location .l-city { font-weight: 500; margin-bottom: 4px; }
.col-location .l-address { color: var(--ink-62); font-size: .9rem; font-style: normal; line-height: 1.6; }
.col-location .l-links { margin-top: 10px; display: flex; gap: 8px; flex-wrap: wrap; font-size: .85rem; }
.col-location .l-links a { color: var(--slate); text-decoration: none; border-bottom: 1px solid var(--rose); padding-bottom: 1px; }
.col-location .l-links a:hover { opacity: .7; }
.f-newsletter .nl-field { width: 100%; border: none; border-bottom: 1px solid var(--gray); background: none; padding: 10px 0; font-family: var(--font-body); font-size: 1rem; color: var(--ink); margin-bottom: 18px; }
.f-newsletter .nl-field:focus { outline: none; border-bottom-color: var(--slate); }
.f-bottom { border-top: 1px solid var(--line); }
.f-bottom .wrap { display: flex; flex-wrap: wrap; gap: 14px 28px; justify-content: space-between; align-items: center; padding: 22px 24px; font-size: .82rem; color: var(--ink-62); }
.f-bottom a { color: var(--ink-62); text-decoration: none; }
.f-bottom a:hover { color: var(--slate); }
.f-legal, .f-social { display: flex; gap: 8px 14px; flex-wrap: wrap; align-items: center; }
.f-social a { display: inline-flex; }
.f-social svg { width: 17px; height: 17px; }

/* ---------- STICKY MOBILE CTA ---------- */
.mobile-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: none; gap: 10px; padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.97); backdrop-filter: blur(8px); border-top: 1px solid var(--line); }
.mobile-cta .btn { flex: 1; padding: 14px; font-size: .78rem; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 980px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 36px; padding-top: 48px; padding-bottom: 56px; }
  .hero-media { min-height: 300px; order: -1; }
  .hero .hero-sub { max-width: none; }
  .split { grid-template-columns: 1fr; gap: 34px; }
  .grid-3, .steps, .quotes { grid-template-columns: 1fr; }
  .grid-3.grid-fill > .card { flex: 0 1 100%; } /* flex ignores grid-template-columns, so stack explicitly */
  .f-grid { grid-template-columns: 1fr; gap: 44px; }
  .section { padding: 60px 0; }
}
@media (max-width: 620px) {
  .header-call .ph-label { display: none; }
  .form-grid, .locations-wrap { grid-template-columns: 1fr; }
  .form-card { padding: 28px 20px; }
  .mobile-cta { display: flex; }
  .hero-cta .btn { flex: 1; }
  .trustbar .wrap { gap: 12px 24px; }
  .f-quick { columns: 1; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto; } }
