/* ==========================================================
   Cocoonfly Salon – stylesheet
   Palette: burgundy, gold and warm cream (from the Cocoonfly brand copy file).
   Change a colour once in :root and it updates everywhere.
   ========================================================== */
:root {
  --cream: #fcf8f6;
  --blush: #f6e7e2;
  --gold: #d4af37;
  --gold-deep: #8a6a14;
  --wine: #5a1827;
  --wine-deep: #3a0e19;
  --gold: #b8925a;
  --ink: #1d1a19;
  --muted: #6d625e;
  --line: rgba(29, 26, 25, .12);
  --radius: 18px;
  --shadow: 0 18px 40px -22px rgba(58, 40, 35, .45);
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Jost", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0; font-family: var(--sans); color: var(--ink);
  background: var(--cream); line-height: 1.65; font-size: 17px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; line-height: 1.1; margin: 0 0 .4em; }
p { margin: 0 0 1em; }
.wrap { width: min(1160px, 100% - 40px); margin-inline: auto; }
.section { padding: clamp(64px, 9vw, 120px) 0; }
.eyebrow {
  font-size: .78rem; letter-spacing: .28em; text-transform: uppercase;
  color: var(--gold-deep); font-weight: 500; margin-bottom: 14px; display: block;
}
.section-title { font-size: clamp(2.2rem, 5vw, 3.6rem); }
.lead { font-size: 1.12rem; color: var(--muted); max-width: 60ch; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px; padding: 13px 26px;
  border-radius: 999px; border: 1.5px solid var(--ink); background: transparent;
  font: 500 .95rem var(--sans); letter-spacing: .04em; text-decoration: none;
  cursor: pointer; transition: transform .2s, background .2s, color .2s, border-color .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn-solid { background: var(--wine); border-color: var(--wine); color: #fff; }
.btn-solid:hover { background: var(--wine-deep); border-color: var(--wine-deep); }
.btn-rose { background: var(--gold); border-color: var(--gold); color: var(--wine-deep); }
.btn-rose:hover { background: var(--gold-deep); border-color: var(--gold-deep); color: #fff; }
.btn-sm { padding: 9px 18px; font-size: .85rem; }

/* ---------- header / nav ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  background: rgba(251, 245, 240, .88); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.logo img { height: 40px; width: auto; }
.menu { display: flex; align-items: center; gap: 6px; list-style: none; margin: 0; padding: 0; }
.menu > li { position: relative; }
.menu a, .menu button.dd-toggle {
  display: block; padding: 10px 16px; border-radius: 999px; text-decoration: none;
  font: 500 .92rem var(--sans); letter-spacing: .08em; text-transform: uppercase;
  background: none; border: 0; color: var(--ink); cursor: pointer; transition: background .2s, color .2s;
}
.menu a:hover, .menu button.dd-toggle:hover, .menu a.active { background: var(--blush); color: var(--gold-deep); }
.dd-toggle .caret { display: inline-block; margin-left: 6px; font-size: .7em; transition: transform .2s; }
.dropdown {
  position: absolute; top: calc(100% + 8px); left: 50%; translate: -50% 0; min-width: 210px;
  background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow);
  padding: 8px; list-style: none; margin: 0;
  opacity: 0; visibility: hidden; transform: translateY(8px); transition: .2s;
}
.dropdown a { text-transform: none; letter-spacing: .02em; font-size: 1rem; border-radius: 10px; }
.has-dd:hover .dropdown, .has-dd:focus-within .dropdown, .has-dd.open .dropdown {
  opacity: 1; visibility: visible; transform: none;
}
.has-dd:hover .caret, .has-dd.open .caret { transform: rotate(180deg); }
.burger { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; }
.burger span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px auto; transition: .25s; }

/* ---------- hero ---------- */
.hero {
  padding-top: 72px; position: relative; overflow: hidden;
  background:
    radial-gradient(900px 500px at 85% 10%, rgba(212,175,55,.28), transparent 60%),
    radial-gradient(700px 500px at 0% 100%, rgba(90,24,39,.14), transparent 60%),
    var(--cream);
}
.hero-grid {
  display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(30px, 5vw, 70px);
  align-items: center; min-height: min(86vh, 760px); padding: 50px 0 70px;
}
.hero h1 { font-size: clamp(3rem, 7.4vw, 6rem); font-weight: 500; letter-spacing: -.01em; }
.hero h1 em { color: var(--gold-deep); font-style: italic; }
.hero .lead { margin: 18px 0 30px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-badges { display: flex; gap: 26px; margin-top: 44px; flex-wrap: wrap; }
.hero-badges div { font-size: .88rem; color: var(--muted); }
.hero-badges strong { display: block; font: 600 2.2rem var(--serif); color: var(--wine); line-height: 1; }

.collage { position: relative; height: clamp(380px, 52vw, 600px); }
.collage .arch {
  position: absolute; overflow: hidden; background: var(--blush);
  border-radius: 999px 999px 18px 18px; box-shadow: var(--shadow);
}
.collage .arch img { width: 100%; height: 100%; object-fit: cover; }
.collage .a1 { width: 52%; height: 78%; left: 0; top: 8%; }
.collage .a2 { width: 44%; height: 56%; right: 0; top: 0; border-radius: 999px 999px 18px 18px; }
.collage .a3 { width: 40%; height: 42%; right: 6%; bottom: 0; border-radius: 18px 18px 999px 999px; }
.collage .stamp {
  position: absolute; left: 38%; bottom: 4%; width: 112px; height: 112px; border-radius: 50%;
  background: var(--wine); color: #fff; display: grid; place-items: center; text-align: center;
  font: italic 500 1rem/1.15 var(--serif); padding: 14px; z-index: 2; box-shadow: var(--shadow);
}

/* ---------- quote band ---------- */
.quotes { background: var(--wine); color: #f6ece6; padding: 54px 0; text-align: center; overflow: hidden; }
.quote-stage { position: relative; min-height: 190px; }
.quote {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center;
  opacity: 0; transform: translateY(14px); transition: opacity .8s, transform .8s; padding: 0 10px;
}
.quote.on { opacity: 1; transform: none; }
.quote p { font: italic 500 clamp(1.5rem, 3.6vw, 2.4rem)/1.25 var(--serif); margin: 0; max-width: 28ch; }
.quote cite { margin-top: 10px; font: 500 .78rem var(--sans); letter-spacing: .26em; text-transform: uppercase; color: var(--gold); }
.dots { display: flex; gap: 8px; justify-content: center; margin-top: 18px; }
.dots button { width: 9px; height: 9px; border-radius: 50%; border: 0; background: rgba(255,255,255,.3); padding: 0; cursor: pointer; }
.dots button.on { background: #fff; }

/* ---------- about ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 6vw, 80px); align-items: center; }
.about-photos { position: relative; }
.about-photos .big { border-radius: var(--radius); aspect-ratio: 4/4.4; object-fit: cover; width: 86%; box-shadow: var(--shadow); }
.about-photos .small {
  position: absolute; right: 0; bottom: -28px; width: 46%; aspect-ratio: 1; object-fit: cover;
  border-radius: var(--radius); border: 6px solid var(--cream); box-shadow: var(--shadow);
}
.pillars { display: grid; grid-template-columns: 1fr; gap: 14px; margin-top: 28px; }
.pillar { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 18px 16px; }
.pillar b { display: block; font: 600 1.25rem var(--serif); color: var(--wine); }
.pillar span { font-size: .88rem; color: var(--muted); line-height: 1.4; display: block; }

/* ---------- service teasers ---------- */
.teasers { background: var(--blush); }
.teaser-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 40px; }
.teaser {
  background: var(--cream); border-radius: var(--radius); padding: clamp(26px, 4vw, 44px);
  display: flex; flex-direction: column; gap: 6px; box-shadow: var(--shadow);
}
.teaser h3 { font-size: 2.2rem; }
.teaser ul { margin: 6px 0 22px; padding-left: 0; list-style: none; color: var(--muted); }
.teaser li::before { content: "✦"; color: var(--gold); margin-right: 10px; font-size: .75em; }
.teaser .btn { align-self: flex-start; margin-top: auto; }

/* ---------- branches ---------- */
.branch {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(24px, 5vw, 64px);
  align-items: center; margin-top: clamp(40px, 6vw, 80px);
}
.branch:nth-of-type(even) .gallery { order: 2; }
.gallery .frame {
  position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/3;
  background: var(--blush); box-shadow: var(--shadow);
}
.gallery .frame .bg { position: absolute; inset: -20px; width: calc(100% + 40px); height: calc(100% + 40px); object-fit: cover; filter: blur(22px) saturate(1.1); opacity: .75; }
.gallery .frame .fg { position: relative; width: 100%; height: 100%; object-fit: contain; }
.gallery .thumbs { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; margin-top: 10px; }
.gallery .thumbs button {
  padding: 0; border: 2px solid transparent; border-radius: 10px; overflow: hidden; cursor: pointer;
  aspect-ratio: 1; background: var(--blush); opacity: .65; transition: .2s;
}
.gallery .thumbs button.on, .gallery .thumbs button:hover { opacity: 1; border-color: var(--gold); }
.gallery .thumbs img { width: 100%; height: 100%; object-fit: cover; }
.placeholder {
  aspect-ratio: 4/3; border-radius: var(--radius); display: grid; place-items: center; text-align: center;
  background: linear-gradient(135deg, var(--blush), #efd9cf); color: var(--gold-deep); padding: 30px;
  border: 2px dashed rgba(138, 106, 20, .45);
}
.placeholder img { width: 180px; margin: 0 auto 14px; opacity: .8; }
.placeholder small { display: block; color: var(--muted); margin-top: 6px; }

.tag {
  display: inline-block; padding: 5px 14px; border-radius: 999px; font-size: .74rem; letter-spacing: .18em;
  text-transform: uppercase; font-weight: 500; margin-bottom: 12px;
}
.tag.women { background: var(--gold); color: var(--wine-deep); }
.tag.unisex { background: var(--wine); color: #fff; }
.branch h3 { font-size: clamp(2rem, 4vw, 2.9rem); }
.branch address { font-style: normal; color: var(--muted); margin-bottom: 14px; }
.branch .phone { font: 600 1.7rem var(--serif); color: var(--wine); text-decoration: none; display: inline-block; margin-bottom: 18px; }
.branch .actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* ---------- contact ---------- */
.contact { background: var(--wine-deep); color: #f6ece6; }
.contact .eyebrow { color: var(--gold); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(30px, 6vw, 80px); }
.contact .lead { color: #d8c8c1; }
.call-list { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 12px; }
.call-list li { border: 1px solid rgba(255,255,255,.18); border-radius: 14px; padding: 14px 18px; display: flex; justify-content: space-between; gap: 12px; align-items: center; flex-wrap: wrap; }
.call-list span { font-size: .85rem; color: #d8c8c1; display: block; }
.call-list a { font: 600 1.35rem var(--serif); text-decoration: none; color: #fff; }
.form-card { background: var(--cream); color: var(--ink); border-radius: 22px; padding: clamp(24px, 4vw, 42px); box-shadow: 0 30px 60px -30px rgba(0,0,0,.6); }
.form-card h3 { font-size: 2rem; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 500; margin-bottom: 6px; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 16px; border-radius: 12px; border: 1.5px solid var(--line);
  background: #fff; font: inherit; color: var(--ink); transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 4px rgba(212,175,55,.2); }
.field textarea { min-height: 120px; resize: vertical; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.hp { position: absolute; left: -9999px; }
.form-status { margin-top: 14px; padding: 12px 16px; border-radius: 12px; display: none; font-size: .95rem; }
.form-status.ok { display: block; background: #e3f1e6; color: #1f5a2d; }
.form-status.err { display: block; background: #fbe4e1; color: #8a2c22; }
.form-note { font-size: .82rem; color: var(--muted); margin: 12px 0 0; }

/* ---------- footer ---------- */
.site-footer { background: #1d0a10; color: #bdb1ab; padding: 50px 0 30px; font-size: .92rem; }
.foot-grid { display: flex; justify-content: space-between; gap: 30px; flex-wrap: wrap; align-items: center; }
.site-footer img { height: 38px; }
.site-footer nav { display: flex; gap: 22px; flex-wrap: wrap; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: #fff; }
.copy { border-top: 1px solid rgba(255,255,255,.1); margin-top: 28px; padding-top: 20px; font-size: .82rem; }

/* ---------- service pages ---------- */
.page-hero { padding: 150px 0 60px; text-align: center; background: radial-gradient(800px 400px at 50% 0, rgba(212,175,55,.28), transparent 70%), var(--cream); }
.page-hero.men { background: radial-gradient(800px 400px at 50% 0, rgba(90,24,39,.25), transparent 70%), var(--cream); }
.page-hero h1 { font-size: clamp(2.8rem, 7vw, 5rem); font-weight: 500; }
.page-hero .lead { margin-inline: auto; }
.chips { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 26px; }
.chips a { padding: 9px 20px; border-radius: 999px; border: 1.5px solid var(--ink); text-decoration: none; font-size: .9rem; transition: .2s; }
.chips a:hover { background: var(--ink); color: #fff; }
.svc-group { margin-bottom: clamp(50px, 7vw, 90px); }
.svc-group > h2 { font-size: clamp(2rem, 4.4vw, 3rem); display: flex; align-items: center; gap: 18px; }
.svc-group > h2::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.svc-group > p { color: var(--muted); max-width: 70ch; }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 18px; margin-top: 24px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 24px 20px; }
.card h3 { font-size: 1.55rem; color: var(--wine); display: flex; gap: 12px; align-items: baseline; }
.card h3 span { font-size: .95rem; color: var(--gold); font-family: var(--sans); font-weight: 500; }
.card ul { list-style: none; margin: 10px 0 0; padding: 0; }
.card li { padding: 10px 0; border-top: 1px dashed var(--line); font-size: .96rem; color: var(--muted); }
.card li b { color: var(--ink); font-weight: 500; display: block; }
.cta-band { background: var(--blush); text-align: center; padding: 70px 0; }
.cta-band h2 { font-size: clamp(2rem, 4.5vw, 3.2rem); }

/* ---------- reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s ease, transform .8s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal, .quote { transition: none; opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* ---------- responsive ---------- */
@media (max-width: 920px) {
  .hero-grid, .about-grid, .branch, .contact-grid, .teaser-grid { grid-template-columns: 1fr; }
  .hero-grid { min-height: 0; }
  .branch:nth-of-type(even) .gallery { order: 0; }
  .collage { height: 420px; }
  .about-photos .big { width: 92%; }
  .burger { display: block; }
  .menu {
    position: fixed; inset: 72px 0 auto 0; background: var(--cream); flex-direction: column; align-items: stretch;
    padding: 14px 20px 24px; gap: 2px; border-bottom: 1px solid var(--line);
    max-height: calc(100vh - 72px); overflow: auto;
    transform: translateY(-120%); transition: transform .35s ease; visibility: hidden;
  }
  .menu.open { transform: none; visibility: visible; }
  .menu a, .menu button.dd-toggle { width: 100%; text-align: left; padding: 14px 16px; }
  .dropdown { position: static; translate: none; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; background: transparent; padding: 0 0 0 14px; display: none; }
  .has-dd.open .dropdown { display: block; }
  .has-dd:hover .dropdown { opacity: 1; }
  .burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .burger.open span:nth-child(2) { opacity: 0; }
  .burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .pillars, .row2 { grid-template-columns: 1fr; }
  .quote-stage { min-height: 170px; }
  .cards { grid-template-columns: 1fr; }
  .gallery .thumbs { grid-template-columns: repeat(6, 1fr); gap: 5px; }
  .collage .stamp { width: 92px; height: 92px; font-size: .88rem; }
}

/* ---------- added: why-choose, offer banner, hours, best-for ---------- */
.why { background: var(--blush); }
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 36px; }
.why-card { background: var(--cream); border-radius: var(--radius); padding: 30px 26px; border-top: 4px solid var(--gold); box-shadow: var(--shadow); }
.why-card h3 { font-size: 1.7rem; color: var(--wine); }
.why-card p { color: var(--muted); margin: 0; }
.offer { background: var(--wine-deep); color: #fbeee9; text-align: center; padding: clamp(46px, 7vw, 76px) 0; position: relative; overflow: hidden; }
.offer::before, .offer::after { content: "✦"; position: absolute; color: var(--gold); opacity: .35; font-size: 5rem; }
.offer::before { left: 6%; top: 14%; } .offer::after { right: 6%; bottom: 10%; }
.offer .eyebrow { color: var(--gold); }
.offer h2 { font-size: clamp(2rem, 5vw, 3.4rem); }
.offer h2 em { color: var(--gold); }
.offer p { max-width: 56ch; margin: 0 auto 22px; color: #e9d3cc; }
.offer .btn { background: var(--gold); border-color: var(--gold); color: var(--wine-deep); }
.offer .btn:hover { background: #e6c35a; }
.bestfor { font-size: .92rem; color: var(--gold-deep); margin: -4px 0 14px; font-style: italic; }
.desk { border: 1px solid rgba(255,255,255,.18); border-radius: 14px; padding: 14px 18px; margin-top: 12px; font-size: .95rem; color: #e9d3cc; }
.desk a { color: #fff; }
.brands { font-size: .9rem; color: var(--muted); margin-top: 24px; }
.brands b { color: var(--wine); font-weight: 500; }
.sig .card { border-top: 4px solid var(--gold); }
@media (max-width: 920px) { .why-grid { grid-template-columns: 1fr; } }
