/* ==========================================================================
   Sasha Luxe Clinics – HydraFacial landing page
   Built on Bootstrap 5.3. Mobile-first.
   ========================================================================== */

:root {
  --ink: #140C18;          /* hero / header / footer */
  --ink-2: #1D1322;
  --plum: #26152B;         /* price section */
  --gold: #C9A46A;
  --gold-dark: #8A6A35;    /* kicker text on light bg (AA contrast) */
  --cream: #F7F4EF;
  --sand: #EFE6DA;
  --line: #E7DFD3;
  --text: #1E1A22;
  --muted: #615A66;
  --wa: #1F7A4D;
  --wa-hover: #186640;
  --radius-lg: 20px;
  --radius-md: 14px;
  --font-serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-sans: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --bs-body-font-family: var(--font-sans);
  --bs-body-color: var(--text);
  --bs-body-bg: var(--cream);
  --bs-link-color: var(--gold-dark);
  --bs-link-hover-color: var(--ink);
  --bs-border-color: var(--line);
}

html { scroll-behavior: smooth; scroll-padding-top: 80px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-size: 0.975rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  padding-bottom: calc(76px + env(safe-area-inset-bottom, 0px)); /* room for sticky bar */
}
@media (min-width: 992px) { body { padding-bottom: 0; } }

@media (max-width: 575.98px) { .container { --bs-gutter-x: 2.25rem; } }

.skip-link { position: absolute; left: 1rem; top: 1rem; z-index: 2000; background: #fff; padding: .5rem 1rem; border-radius: 8px; }

:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

.ico { width: 18px; height: 18px; fill: currentColor; flex-shrink: 0; }

/* ---------- Type ---------- */
h1, h2, h3, .section-title, .form-title, .panel-title, .final-title, .glance-title, .branch-name, .brand-logo {
  font-family: var(--font-serif);
  font-weight: 500;
  letter-spacing: -0.005em;
}
.section-title { font-size: clamp(2rem, 1.4rem + 2.4vw, 2.85rem); line-height: 1.08; margin-bottom: 1.25rem; color: var(--ink); }
.section-title em, .panel-title em { font-style: italic; }
.kicker {
  font-size: .7rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  color: var(--gold-dark); margin-bottom: .9rem;
}
.kicker-gold { color: var(--gold); }
.body-lg { font-size: 1.02rem; line-height: 1.75; color: #3A3340; max-width: 62ch; }
.muted { color: var(--muted); }
.fineprint { font-size: .78rem; color: var(--muted); }
.text-gold { color: var(--gold) !important; }
.text-light-cream { color: #F7F1E8 !important; }
.text-light-muted { color: #CFC4D3 !important; }

/* ---------- Buttons ---------- */
.btn-pill { border-radius: 999px; font-weight: 600; font-size: .9rem; padding: .62rem 1.25rem; display: inline-flex; align-items: center; justify-content: center; gap: .45rem; }
.btn-lg-pad { padding: .8rem 1.45rem; }
.btn-sm-pad { padding: .55rem 1rem; font-size: .85rem; line-height: 1.25; text-align: left; }
.btn-gold { background: var(--gold); border: 1px solid var(--gold); color: var(--ink); }
.btn-gold:hover, .btn-gold:focus { background: #D8B57E; border-color: #D8B57E; color: var(--ink); }
.btn-whatsapp { background: var(--wa); border: 1px solid var(--wa); color: #fff; }
.btn-whatsapp:hover, .btn-whatsapp:focus { background: var(--wa-hover); border-color: var(--wa-hover); color: #fff; }
.btn-dark-solid { background: var(--ink); border: 1px solid var(--ink); color: #fff; }
.btn-dark-solid:hover, .btn-dark-solid:focus { background: #2C1F33; border-color: #2C1F33; color: #fff; }
.btn-outline-light { border-color: rgba(255,255,255,.4); }
.btn-outline-dark { border-color: rgba(20,12,24,.35); color: var(--ink); }

.icon-btn { width: 42px; height: 42px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; color: #fff; text-decoration: none; }
.icon-btn-outline { border: 1px solid rgba(255,255,255,.4); }
.icon-btn-wa { background: var(--wa); }

/* ---------- Header ---------- */
.site-header { background: var(--ink); position: sticky; top: 0; z-index: 1030; border-bottom: 1px solid rgba(255,255,255,.06); }
.site-header .navbar { padding: .7rem 0; }
.brand-logo { font-size: 1.55rem; color: #fff; line-height: 1; }
.brand-logo em { color: var(--gold); font-style: italic; }
.brand-sub { font-family: var(--font-sans); font-size: .55rem; letter-spacing: .2em; text-transform: uppercase; margin-left: .25rem; opacity: .85; }
.site-header .nav-link { color: rgba(255,255,255,.85); font-size: .88rem; font-weight: 500; }
.site-header .nav-link:hover { color: var(--gold); }

/* ---------- Hero ---------- */
.hero { background: var(--ink); color: #EDE6F0; padding: 2rem 0 2.5rem; }
@media (min-width: 992px) { .hero { padding: 3.5rem 0 4rem; } }
.hero-title { font-size: clamp(2.2rem, 1.5rem + 3vw, 3.4rem); line-height: 1.05; color: #fff; margin-bottom: 1.25rem; }
.hero-title-accent { display: block; font-style: italic; color: var(--gold); }
.hero-lead { font-size: 1rem; line-height: 1.7; color: #DDD3E1; max-width: 52ch; }
.hero-branches { font-size: .9rem; color: #CFC4D3; }
.hero-branches strong { color: #fff; }

.hero-stats { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 1rem 2.25rem; border-top: 1px solid rgba(255,255,255,.1); padding-top: 1.2rem; margin: 0 0 1.75rem; }
.hero-stats dt { font-family: var(--font-serif); font-weight: 500; color: var(--gold); font-size: 1.7rem; line-height: 1; }
.hero-stats dd { font-size: .74rem; color: #BFB3C4; margin: .3rem 0 0; }
@media (max-width: 575.98px) {
  .hero-stats { display: flex; flex-wrap: wrap; gap: .4rem 1.25rem; border-top: 0; padding-top: 0; margin-bottom: 1.25rem; }
  .hero-stats div { display: flex; align-items: baseline; gap: .35rem; }
  .hero-stats div:nth-child(2) { display: none; }
  .hero-stats dt { font-size: 1.1rem; font-family: var(--font-sans); font-weight: 700; }
  .hero-stats dd { margin: 0; }
}

.hero-photo .img-placeholder, .hero-photo img { aspect-ratio: 3 / 2; border-radius: var(--radius-lg); }

/* ---------- Placeholders / images ---------- */
.img-cover { width: 100%; height: 100%; object-fit: cover; display: block; }
.img-placeholder {
  display: flex; align-items: center; justify-content: center; text-align: center; padding: 1.25rem;
  border: 1px solid var(--line); border-radius: var(--radius-md);
  background: repeating-linear-gradient(135deg, #EFE6DA 0 14px, #E9DECF 14px 28px);
  color: #6E6354; font-size: .78rem; line-height: 1.5; min-height: 160px;
}
.hero .img-placeholder { background: repeating-linear-gradient(135deg, #2A1B31 0 14px, #24172A 14px 28px); border-color: rgba(255,255,255,.08); color: #E8DDEB; }

/* ---------- Form card ---------- */
.form-card {
  background: var(--cream); color: var(--text);
  border-radius: var(--radius-lg); padding: 1.35rem 1.15rem;
  box-shadow: 0 24px 60px rgba(0,0,0,.35);
}
@media (min-width: 576px) { .form-card { padding: 1.75rem; } }
.form-title { font-size: 1.85rem; line-height: 1.1; color: var(--ink); margin-bottom: .35rem; }
.form-sub { font-size: .85rem; color: var(--muted); margin-bottom: 1.1rem; }
.form-label-sm { font-size: .82rem; font-weight: 600; color: var(--ink); margin-bottom: .45rem; display: block; float: none; width: auto; padding: 0; }
.req { color: var(--ink); }
.chip-group { margin-bottom: 1rem; border: 0; padding: 0; }
.chip-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; }
.chip {
  display: flex; align-items: center; justify-content: center; text-align: center;
  min-height: 44px; padding: .45rem .5rem; border: 1px solid #DCD3C6; border-radius: 10px;
  background: #fff; font-size: .82rem; font-weight: 500; cursor: pointer; user-select: none;
  transition: background-color .15s, color .15s, border-color .15s;
}
@media (min-width: 576px) { .chip { justify-content: flex-start; text-align: left; padding-left: .75rem; } }
.chip:hover { border-color: var(--gold); }
.btn-check:checked + .chip { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn-check:focus-visible + .chip { outline: 3px solid var(--gold); outline-offset: 2px; }
.form-field { min-height: 48px; border-radius: 10px; border-color: #DCD3C6; font-size: .95rem; }
.form-field:focus { border-color: var(--gold); box-shadow: 0 0 0 .2rem rgba(201,164,106,.25); }
.form-prefix { background: #fff; border-color: #DCD3C6; border-radius: 10px 0 0 10px; font-size: .9rem; color: var(--muted); }
.input-group .form-field { border-radius: 0 10px 10px 0; }
.consent { padding-left: 1.85em; font-size: .78rem; color: var(--muted); line-height: 1.45; }
.consent .form-check-input { width: 1.15rem; height: 1.15rem; margin-top: .1rem; margin-left: -1.85em; border-color: #A79C8E; }
.consent .form-check-input:checked { background-color: var(--ink); border-color: var(--ink); }
.btn-submit { min-height: 52px; font-size: .9rem; letter-spacing: .06em; text-transform: uppercase; font-weight: 700; }
.form-note { font-size: .74rem; color: var(--muted); margin: .85rem 0 0; line-height: 1.5; }
.field-error { display: none; font-size: .75rem; color: #B42318; margin-top: .3rem; }
.has-error .field-error, .field-error.show { display: block; }
.has-error .chip { border-color: #E3A39B; }
.form-field.is-invalid { border-color: #B42318; }
.form-feedback:not(:empty) { margin-top: .75rem; font-size: .85rem; padding: .6rem .8rem; border-radius: 10px; background: #FDECEA; color: #8A1C12; }
.hp-field { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Trust strip ---------- */
.trust-strip { background: var(--sand); padding: .9rem 0; }
.trust-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: .5rem; }
.trust-list li { display: flex; align-items: center; gap: .55rem; font-size: .8rem; font-weight: 500; color: var(--ink); line-height: 1.3; }
.trust-list .ico { color: var(--gold-dark); fill: none; }
@media (max-width: 575.98px) {
  .trust-list li { background: #E8DCCB; border-radius: 10px; padding: .6rem .7rem; }
  .trust-list .ico { display: none; }
}
@media (min-width: 992px) { .trust-list { grid-template-columns: repeat(4, 1fr); } .trust-list li { font-size: .86rem; } }

/* ---------- Sections ---------- */
.section { padding: 3.5rem 0; }
@media (min-width: 992px) { .section { padding: 5rem 0; } }
.bg-cream { background: var(--cream); }
.bg-sand { background: var(--sand); }
.bg-white { background: #fff; }
.bg-plum { background: var(--plum); }

.byline { font-size: .8rem; color: var(--muted); border-top: 1px solid var(--line); padding-top: .9rem; margin-top: 1.25rem; }

/* At-a-glance table */
.glance-card { background: #fff; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); }
.glance-title { background: var(--ink); color: #fff; font-size: 1.35rem; padding: 1rem 1.25rem; margin: 0; }
.glance-table { font-size: .88rem; --bs-table-bg: #fff; }
.glance-table th, .glance-table td { padding: .85rem 1.25rem; border-color: #F0EAE1; vertical-align: middle; }
.glance-table th { font-weight: 500; color: var(--muted); width: 40%; }
.glance-table td { color: var(--text); }
@media (max-width: 575.98px) { .glance-table th, .glance-table td { padding: .7rem .9rem; } }

/* Benefits */
.benefit-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-md); padding: 1.15rem; }
.benefit-num { font-family: var(--font-serif); color: var(--gold-dark); font-size: 1.2rem; display: block; margin-bottom: .4rem; }
.benefit-title { font-family: var(--font-sans); font-weight: 600; font-size: .95rem; color: var(--ink); margin-bottom: .35rem; }
.benefit-text { font-size: .82rem; color: var(--muted); margin: 0; line-height: 1.5; }
.benefit-cta { background: var(--ink); color: #E9E0EC; border-radius: var(--radius-md); padding: 1.15rem; display: flex; flex-direction: column; justify-content: space-between; gap: 1rem; font-size: .88rem; }
.benefit-cta p { margin: 0; }
@media (max-width: 575.98px) {
  .benefit-card, .benefit-cta { padding: .95rem; }
  .benefit-title { font-size: .88rem; }
  .benefit-text { font-size: .78rem; }
}

/* Steps */
.steps { margin-bottom: 0; }
.step { border-top: 2px solid var(--gold); padding-top: 1rem; height: 100%; }
.step-bookend { border-top-color: var(--ink); }
.step-num { font-family: var(--font-serif); font-size: 1.7rem; color: var(--gold-dark); line-height: 1; display: block; margin-bottom: .5rem; }
.step-title { font-family: var(--font-sans); font-size: 1rem; font-weight: 600; color: var(--ink); margin-bottom: .35rem; }
.step-text { font-size: .86rem; color: var(--muted); margin: 0; }
@media (max-width: 575.98px) {
  .steps { --bs-gutter-y: 0; }
  .step { border-top: 0; border-left: 2px solid var(--gold); padding: .2rem 0 1.1rem 1rem; display: grid; grid-template-columns: 1.6rem 1fr; column-gap: .25rem; }
  .step-bookend { border-left-color: var(--ink); }
  .step-num { font-size: 1.25rem; margin: 0; grid-row: span 2; }
  .step-title { font-size: .95rem; margin-bottom: .15rem; }
  .step-text { font-size: .82rem; }
  .steps > li:last-child { margin-top: 1rem; }
}

/* Panels */
.panel { border-radius: var(--radius-lg); padding: 1.5rem; }
@media (min-width: 768px) { .panel { padding: 2rem; } }
.panel-white { background: #fff; border: 1px solid var(--line); }
.panel-sand { background: var(--sand); border: 1px solid #E2D6C5; }
.panel-title { font-size: 1.9rem; color: var(--ink); margin-bottom: 1rem; line-height: 1.1; }
.check-list { list-style: none; padding: 0; margin: 0 0 1rem; display: grid; grid-template-columns: 1fr 1fr; gap: .6rem 1rem; }
.check-list li { display: flex; gap: .45rem; font-size: .88rem; font-weight: 500; align-items: flex-start; }
.check-list .ico { color: var(--gold-dark); fill: none; margin-top: .15rem; }
@media (max-width: 399.98px) { .check-list { grid-template-columns: 1fr; } }
.dot-list { padding-left: 1.1rem; margin-bottom: 1rem; font-size: .9rem; }
.dot-list li { margin-bottom: .35rem; }

/* Team */
.dash-list { list-style: none; padding: 0; margin: 0; }
.dash-list li { position: relative; padding-left: 1.6rem; font-size: .9rem; margin-bottom: .6rem; }
.dash-list li::before { content: ""; position: absolute; left: 0; top: .75em; width: 14px; height: 1px; background: var(--gold-dark); }
.doctor-photo { aspect-ratio: 1 / 1; border-radius: var(--radius-md); min-height: 0; }
.doctor figcaption { padding-top: .85rem; }
.doctor-name { font-family: var(--font-sans); font-weight: 600; font-size: 1.05rem; color: var(--ink); margin-bottom: .25rem; }
.doctor-role { font-size: .82rem; color: var(--muted); margin: 0; }

/* Price */
.price-card { background: var(--ink); border: 1px solid rgba(255,255,255,.1); border-radius: var(--radius-lg); padding: 1.5rem; color: #E9E0EC; }
.price-label { font-size: .8rem; color: #BFB3C4; margin-bottom: .25rem; }
.price-value { font-family: var(--font-serif); font-size: 2.3rem; color: var(--gold); line-height: 1.1; margin-bottom: .5rem; }
.price-note { font-size: .74rem; color: #A99DAF; margin-bottom: 1rem; }

/* Reviews */
.rating-pill { display: inline-flex; align-items: center; gap: .5rem; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: .5rem 1rem; font-size: .88rem; align-self: flex-start; }
.result-photo { aspect-ratio: 16 / 10; min-height: 0; }
.review-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-md); padding: 1.25rem; font-size: .9rem; color: #3A3340; }
.review-card footer { font-size: .8rem; font-weight: 600; color: var(--ink); margin-top: .75rem; }

/* Branches */
.branch-card { background: #fff; border-radius: var(--radius-lg); padding: 1rem; display: flex; flex-direction: column; }
.branch-photo { aspect-ratio: 2 / 1; min-height: 0; margin-bottom: 1rem; border-radius: 12px; }
.branch-name { font-size: 1.55rem; color: var(--ink); margin-bottom: .2rem; }
.branch-region { font-size: .7rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-dark); margin-bottom: .6rem; }
.branch-address { font-size: .86rem; color: #3A3340; margin-bottom: .5rem; font-style: normal; }
.branch-hours { font-size: .8rem; color: var(--muted); margin-bottom: 1.1rem; }
.branch-card .btn { font-size: .84rem; }

/* FAQs */
@media (min-width: 992px) { .faq-intro { position: sticky; top: 100px; } }
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1rem 0; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-q { font-family: var(--font-sans); font-size: .98rem; font-weight: 500; color: var(--ink); margin: 0; line-height: 1.4; }
.faq-icon { position: relative; width: 14px; height: 14px; flex-shrink: 0; }
.faq-icon::before, .faq-icon::after { content: ""; position: absolute; background: var(--gold-dark); left: 0; top: 6px; width: 14px; height: 2px; transition: transform .2s; }
.faq-icon::after { transform: rotate(90deg); }
.faq-item[open] .faq-icon::after { transform: rotate(0deg); }
.faq-a { padding: 0 2rem 1.1rem 0; font-size: .9rem; color: var(--muted); line-height: 1.7; }
.faq-a p { margin: 0; }

/* Final CTA + footer */
.final-cta { background: var(--ink); color: #E9E0EC; padding: 3.5rem 0; }
@media (min-width: 992px) { .final-cta { padding: 4.5rem 0; } }
.final-title { font-size: clamp(2rem, 1.4rem + 2.4vw, 2.9rem); line-height: 1.1; color: #fff; max-width: 18ch; margin: 0 auto 1rem; }
.final-sub { color: #CFC4D3; max-width: 52ch; margin: 0 auto 1.75rem; }

.site-footer { background: var(--ink); border-top: 1px solid rgba(255,255,255,.07); color: #CFC4D3; padding: 2.5rem 0 2rem; }
.footer-logo { font-size: 1.5rem; }
.footer-head { color: #fff; font-weight: 600; font-size: .85rem; margin-bottom: .3rem; }
.footer-muted { font-size: .82rem; color: #ADA2B2; font-style: normal; }
.footer-rule { border-color: rgba(255,255,255,.12); margin: 1.75rem 0 1.25rem; opacity: 1; }
.footer-link { color: var(--gold); }
.footer-link:hover { color: #fff; }

/* Sticky mobile bar */
.sticky-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 1040;
  display: grid; grid-template-columns: 1fr 1fr 1fr; gap: .5rem;
  background: var(--ink); padding: .65rem .75rem calc(.65rem + env(safe-area-inset-bottom, 0px));
  box-shadow: 0 -8px 24px rgba(0,0,0,.25);
}
.sticky-bar .btn { min-height: 46px; }

/* Success modal */
.success-modal { border: 0; border-radius: var(--radius-lg); background: var(--cream); }
.success-icon { width: 64px; height: 64px; border-radius: 50%; background: var(--wa); color: #fff; display: flex; align-items: center; justify-content: center; margin: 0 auto 1rem; }
.success-icon svg { width: 32px; height: 32px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
