/* ==========================================================
   Best & Beauty — bestandbeauty.com
   Luxury aesthetic clinic stylesheet
   ========================================================== */

:root {
  --ivory: #faf7f2;
  --cream: #f3ede3;
  --sand: #e8dfd0;
  --gold: #b0894c;
  --gold-light: #cfa96b;
  --gold-pale: #ede1cc;
  --charcoal: #2b2622;
  --grey: #6b625a;
  --white: #ffffff;
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Jost', 'Helvetica Neue', Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  font-weight: 300;
  color: var(--charcoal);
  background: var(--ivory);
  line-height: 1.7;
  font-size: 17px;
}

img { max-width: 100%; display: block; }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.2;
  color: var(--charcoal);
}

h1 { font-size: clamp(2.4rem, 5.5vw, 4rem); }
h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); }
h3 { font-size: 1.5rem; }

p { margin-bottom: 1rem; color: var(--grey); }

a { color: var(--gold); text-decoration: none; transition: color .25s; }
a:hover { color: var(--gold-light); }

.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }

.eyebrow {
  display: inline-block;
  font-size: .78rem;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
  font-weight: 400;
}

/* ---------- Top bar ---------- */
.topbar {
  background: var(--charcoal);
  color: #cfc8bf;
  font-size: .8rem;
  letter-spacing: .06em;
  padding: 7px 0;
}
.topbar .container {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 6px;
}
.topbar a { color: var(--gold-light); }

/* ---------- Header / nav ---------- */
header.site-header {
  background: rgba(250,247,242,.96);
  position: sticky; top: 0; z-index: 100;
  border-bottom: 1px solid var(--sand);
  backdrop-filter: blur(8px);
}
.nav-wrap {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 24px;
}
.logo {
  font-family: var(--serif);
  font-size: 1.65rem;
  letter-spacing: .04em;
  color: var(--charcoal);
}
.logo span { color: var(--gold); font-style: italic; }
.logo small {
  display: block; font-family: var(--sans); font-size: .62rem;
  letter-spacing: .34em; text-transform: uppercase; color: var(--grey);
}
nav.main-nav ul { display: flex; gap: 30px; list-style: none; align-items: center; }
nav.main-nav a {
  color: var(--charcoal); font-size: .86rem; letter-spacing: .12em;
  text-transform: uppercase; font-weight: 400; white-space: nowrap;
}
nav.main-nav a:hover, nav.main-nav a.active { color: var(--gold); }
.logo { white-space: nowrap; }

/* ---------- Treatments dropdown ---------- */
nav.main-nav li.has-sub { position: relative; }
nav.main-nav a.sub-toggle { cursor: pointer; }
nav.main-nav .caret { font-size: .7em; color: var(--gold); }
nav.main-nav ul.sub-menu {
  display: none; position: absolute; top: calc(100% + 18px); left: 50%;
  transform: translateX(-50%);
  background: var(--white); border: 1px solid var(--sand);
  box-shadow: 0 18px 40px rgba(43,38,34,.12);
  padding: 10px 0; min-width: 250px; list-style: none; z-index: 120;
}
.sub-menu::before {
  content: ""; position: absolute; top: -20px; left: 0; right: 0; height: 20px;
}
nav.main-nav li.has-sub:hover > .sub-menu,
nav.main-nav li.has-sub:focus-within > .sub-menu { display: block; }
.sub-menu li { margin: 0; }
.sub-menu a {
  display: block; padding: 11px 24px; font-size: .78rem;
}
.sub-menu a:hover { background: var(--cream); }

.btn {
  display: inline-block;
  background: var(--gold);
  color: var(--white) !important;
  padding: 13px 32px;
  font-size: .82rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-weight: 400;
  border: 1px solid var(--gold);
  transition: all .3s;
}
.btn:hover { background: transparent; color: var(--gold) !important; }
.btn.btn-outline { background: transparent; color: var(--gold) !important; }
.btn.btn-outline:hover { background: var(--gold); color: var(--white) !important; }
.btn.btn-whatsapp { background: #1fa855; border-color: #1fa855; }
.btn.btn-whatsapp:hover { background: transparent; color: #1fa855 !important; }

.nav-toggle {
  display: none; background: none; border: none; cursor: pointer;
  font-size: 1.7rem; color: var(--charcoal); line-height: 1;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background:
    linear-gradient(105deg, rgba(43,38,34,.72) 0%, rgba(43,38,34,.35) 55%, rgba(176,137,76,.25) 100%),
    radial-gradient(ellipse at 70% 30%, #d8c5a5 0%, #b39a74 40%, #8a7355 100%);
  color: var(--white);
  padding: 130px 0 140px;
}
.hero h1 { color: var(--white); max-width: 640px; }
.hero p.lead {
  color: #efe8dc; font-size: 1.15rem; max-width: 540px; margin: 1.4rem 0 2.2rem;
}
.hero .eyebrow { color: var(--gold-light); }
.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; }

/* ---------- Sections ---------- */
section { padding: 90px 0; }
section.tint { background: var(--cream); }
section.dark { background: var(--charcoal); }
section.dark h2, section.dark h3 { color: var(--ivory); }
section.dark p { color: #b8b0a6; }

.section-head { max-width: 640px; margin-bottom: 3rem; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }

/* ---------- Cards ---------- */
.card {
  background: var(--white);
  border: 1px solid var(--sand);
  padding: 0 0 34px;
  transition: transform .3s, box-shadow .3s;
}
.card:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(43,38,34,.08); }
.card .card-body { padding: 28px 30px 0; }
.card h3 { margin-bottom: .7rem; }
.card p { font-size: .95rem; }
.card .from-price {
  font-family: var(--serif); font-size: 1.25rem; color: var(--gold);
  display: block; margin: .4rem 0 1rem;
}
.card a.text-link {
  font-size: .8rem; letter-spacing: .18em; text-transform: uppercase;
  border-bottom: 1px solid var(--gold); padding-bottom: 3px;
}

/* ---------- Image placeholders (replace with real photography) ---------- */
.ph {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, #e9ddc8 0%, #d9c6a4 45%, #c2a87e 100%);
  display: flex; align-items: center; justify-content: center;
}
.ph::after {
  content: attr(data-label);
  font-family: var(--sans); font-size: .68rem; letter-spacing: .3em;
  text-transform: uppercase; color: rgba(43,38,34,.45); text-align: center;
  padding: 0 20px;
}
.ph-card { height: 240px; }
.ph-tall { height: 480px; }
.ph-square { aspect-ratio: 1/1; }

/* ---------- Before / After ---------- */
.ba-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.ba-grid figure { margin: 0; }
.ba-grid img { width: 100%; height: auto; border: 1px solid var(--sand); display: block; }
.ba-grid figcaption {
  font-size: .72rem; letter-spacing: .26em; text-transform: uppercase;
  color: var(--gold); padding-top: 8px; text-align: center;
}

/* ---------- Feature list ---------- */
.feature-list { list-style: none; margin: 1.5rem 0; }
.feature-list li {
  padding: 10px 0 10px 34px; position: relative; color: var(--grey);
  border-bottom: 1px solid var(--sand); font-size: .98rem;
}
.feature-list li::before {
  content: "—"; color: var(--gold); position: absolute; left: 0;
}

/* ---------- Pricing tables ---------- */
.price-table { width: 100%; border-collapse: collapse; background: var(--white); border: 1px solid var(--sand); }
.price-table caption {
  font-family: var(--serif); font-size: 1.5rem; text-align: left;
  padding: 22px 28px 6px; caption-side: top; background: var(--white);
  border: 1px solid var(--sand); border-bottom: none;
}
.price-table th, .price-table td { padding: 15px 28px; text-align: left; font-size: .96rem; }
.price-table th {
  font-weight: 400; letter-spacing: .18em; text-transform: uppercase; font-size: .74rem;
  color: var(--grey); border-bottom: 1px solid var(--sand);
}
.price-table td { border-bottom: 1px solid var(--cream); color: var(--charcoal); }
.price-table td:last-child { font-family: var(--serif); font-size: 1.1rem; color: var(--gold); white-space: nowrap; }
.price-note {
  background: var(--gold-pale); border-left: 3px solid var(--gold);
  padding: 20px 26px; margin: 2.2rem 0; font-size: .95rem; color: var(--charcoal);
}

/* ---------- Steps ---------- */
.steps { counter-reset: step; }
.step { position: relative; padding-left: 84px; margin-bottom: 2.4rem; }
.step::before {
  counter-increment: step; content: "0" counter(step);
  position: absolute; left: 0; top: 0;
  font-family: var(--serif); font-size: 2.4rem; color: var(--gold-light);
}
.step h3 { margin-bottom: .4rem; }

/* ---------- FAQ ---------- */
details.faq-item {
  background: var(--white); border: 1px solid var(--sand); margin-bottom: 14px;
}
details.faq-item summary {
  cursor: pointer; padding: 20px 26px; font-family: var(--serif);
  font-size: 1.15rem; list-style: none; position: relative;
}
details.faq-item summary::-webkit-details-marker { display: none; }
details.faq-item summary::after {
  content: "+"; position: absolute; right: 26px; color: var(--gold); font-size: 1.4rem;
}
details.faq-item[open] summary::after { content: "–"; }
details.faq-item .faq-body { padding: 0 26px 20px; font-size: .96rem; }

/* ---------- Info strip ---------- */
.info-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; text-align: center; }
.info-strip .item h3 { font-size: 1.2rem; margin-bottom: .4rem; }
.info-strip .item p { font-size: .92rem; margin: 0; }

/* ---------- CTA band ---------- */
.cta-band { text-align: center; }
.cta-band h2 { margin-bottom: 1rem; }
.cta-band p { max-width: 520px; margin: 0 auto 2rem; }

/* ---------- Contact ---------- */
.contact-detail { list-style: none; margin-top: 1.6rem; }
.contact-detail li { padding: 12px 0; border-bottom: 1px solid var(--sand); font-size: .98rem; }
.contact-detail li strong {
  display: block; font-size: .72rem; letter-spacing: .24em;
  text-transform: uppercase; color: var(--gold); font-weight: 400; margin-bottom: 2px;
}
.map-embed { border: 1px solid var(--sand); width: 100%; height: 420px; }

/* ---------- Footer ---------- */
footer.site-footer { background: var(--charcoal); color: #a89f94; padding: 70px 0 30px; font-size: .92rem; }
footer .footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.4fr; gap: 44px; margin-bottom: 50px; }
footer h4 {
  color: var(--ivory); font-family: var(--sans); font-size: .78rem;
  letter-spacing: .26em; text-transform: uppercase; font-weight: 400; margin-bottom: 1.1rem;
}
footer ul { list-style: none; }
footer ul li { margin-bottom: .55rem; }
footer a { color: #a89f94; }
footer a:hover { color: var(--gold-light); }
footer .footer-logo { font-family: var(--serif); font-size: 1.5rem; color: var(--ivory); margin-bottom: .8rem; }
footer .footer-logo span { color: var(--gold-light); font-style: italic; }
.footer-bottom {
  border-top: 1px solid #3d3630; padding-top: 24px; font-size: .8rem;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px;
}

/* ---------- WhatsApp float ---------- */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 200;
  width: 58px; height: 58px; border-radius: 50%;
  background: #1fa855; color: #fff; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px rgba(0,0,0,.25); font-size: 1.6rem;
}
.wa-float:hover { transform: scale(1.06); color: #fff; }
.wa-float svg { width: 30px; height: 30px; fill: #fff; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .grid-2, .grid-3, .info-strip, footer .footer-grid { grid-template-columns: 1fr; }
  .grid-2 { gap: 36px; }
  nav.main-nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: var(--ivory); border-bottom: 1px solid var(--sand); padding: 20px 24px 30px;
  }
  nav.main-nav.open { display: block; }
  nav.main-nav ul { flex-direction: column; gap: 16px; align-items: flex-start; }
  .nav-toggle { display: block; }
  /* dropdown becomes an always-open indented group in the mobile menu */
  nav.main-nav ul.sub-menu {
    display: block; position: static; transform: none; border: none;
    box-shadow: none; background: transparent; padding: 12px 0 0 18px; min-width: 0;
  }
  .sub-menu::before { display: none; }
  .sub-menu li { margin-bottom: 12px; }
  .sub-menu a { padding: 0; }
  .sub-menu a:hover { background: transparent; }
  nav.main-nav a.sub-toggle { pointer-events: none; color: var(--grey); }
  .hero { padding: 90px 0 100px; }
  section { padding: 60px 0; }
  .ph-tall { height: 320px; }
}
