:root {
  --bg: #fcf8f5;
  --bg-alt: #f6ece9;
  --soft: #f3e3ea;
  --ink: #2b2330;
  --ink-soft: #5f5563;
  --line: #ece1dc;
  --primary: #8c4a6b;
  --primary-dark: #6e3854;
  --primary-soft: #b07a93;
  --gold: #c2a15a;
  --gold-soft: #e7d8ad;
  --white: #ffffff;
  --shadow-sm: 0 4px 14px rgba(43, 35, 48, 0.06);
  --shadow-md: 0 16px 40px rgba(43, 35, 48, 0.1);
  --shadow-lg: 0 30px 70px rgba(43, 35, 48, 0.16);
  --radius: 18px;
  --radius-lg: 28px;
  --maxw: 1180px;
  --font-head: "Playfair Display", Georgia, serif;
  --font-body: "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.7;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 600; line-height: 1.15; color: var(--ink); }
h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.7rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }
p { color: var(--ink-soft); }
a { color: var(--primary); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--primary-dark); }
img { max-width: 100%; display: block; }
ul { list-style: none; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: clamp(56px, 9vw, 110px) 0; }
.section--tint { background: var(--bg-alt); }
.section--ink { background: var(--ink); }
.center { text-align: center; }
.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-size: .72rem;
  color: var(--primary);
  background: var(--soft);
  padding: 7px 16px;
  border-radius: 999px;
  margin-bottom: 18px;
}
.section--ink .eyebrow { background: rgba(255,255,255,.08); color: var(--gold-soft); }
.lead { font-size: 1.12rem; max-width: 720px; margin: 0 auto; }
.mt-s { margin-top: 14px; }
.mt-m { margin-top: 26px; }
.mt-l { margin-top: 42px; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 1rem;
  padding: 15px 30px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
  line-height: 1;
}
.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  box-shadow: 0 12px 28px rgba(140, 74, 107, .32);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 36px rgba(140, 74, 107, .4); color: #fff; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--primary); color: var(--primary); }
.btn-gold { background: linear-gradient(135deg, var(--gold), #a8863f); color: #2b2330; box-shadow: 0 12px 28px rgba(194,161,90,.32); }
.btn-gold:hover { transform: translateY(-2px); color: #2b2330; }
.btn-block { width: 100%; justify-content: center; }
.btn-lg { padding: 18px 38px; font-size: 1.05rem; }

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(252, 248, 245, .82);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.header__inner { display: flex; align-items: center; justify-content: space-between; height: 74px; }
.brand { display: flex; align-items: center; gap: 12px; font-family: var(--font-head); font-size: 1.35rem; font-weight: 700; color: var(--ink); }
.brand__mark { width: 40px; height: 40px; flex: 0 0 40px; }
.nav { display: flex; align-items: center; gap: 30px; }
.nav a { color: var(--ink-soft); font-weight: 500; font-size: .96rem; }
.nav a:hover { color: var(--primary); }
.header .btn { padding: 11px 22px; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; transition: .3s; }

/* Hero */
.hero {
  position: relative;
  padding: clamp(60px, 9vw, 120px) 0 clamp(56px, 8vw, 100px);
  background:
    linear-gradient(135deg, rgba(110,56,84,.92), rgba(43,35,48,.78)),
    url("https://images.unsplash.com/photo-1560066984-138dadb4c035?auto=format&fit=crop&w=1600&q=80");
  background-size: cover;
  background-position: center;
  color: #fff;
}
.hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero h1, .hero h2, .hero p { color: #fff; }
.hero h2 { font-size: clamp(1.1rem, 2.4vw, 1.5rem); font-weight: 500; opacity: .92; margin-top: 10px; }
.hero p { opacity: .92; }
.hero .eyebrow { background: rgba(255,255,255,.12); color: #fff; }
.hero__badges { display: flex; flex-wrap: wrap; gap: 14px 26px; margin-top: 30px; }
.hero__badge { display: flex; align-items: center; gap: 9px; font-weight: 500; font-size: .95rem; }
.hero__badge svg { flex: 0 0 20px; }

/* Form card */
.form-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: clamp(26px, 4vw, 40px);
  box-shadow: var(--shadow-lg);
  color: var(--ink);
}
.form-card h3 { font-size: 1.5rem; }
.form-card p { font-size: .96rem; margin-top: 6px; }
.field { margin-top: 16px; }
.field label { display: block; font-weight: 600; font-size: .85rem; margin-bottom: 7px; color: var(--ink); }
.field input, .field select {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ink);
  background: var(--bg);
  transition: border .2s ease, box-shadow .2s ease;
}
.field input:focus, .field select:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 4px rgba(140,74,107,.12); background: #fff; }
.field--error input, .field--error select { border-color: #c0392b; }
.field__msg { display: none; color: #c0392b; font-size: .8rem; margin-top: 5px; }
.field--error .field__msg { display: block; }
.form-note { font-size: .8rem; color: var(--ink-soft); margin-top: 14px; }
.form-status { display: none; margin-top: 16px; padding: 13px 16px; border-radius: 12px; font-size: .92rem; font-weight: 500; }
.form-status.is-success { display: block; background: #e8f4ec; color: #1e7a46; }
.form-status.is-error { display: block; background: #fbe9e7; color: #c0392b; }
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; }

/* Generic grids */
.grid { display: grid; gap: 26px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* Perfect-for list */
.perfect {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px 30px;
  margin-top: 36px;
  text-align: left;
}
.perfect li { display: flex; gap: 13px; align-items: flex-start; font-weight: 500; color: var(--ink); }
.perfect li svg { flex: 0 0 22px; margin-top: 3px; }

/* Service cards */
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
  box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  height: 100%;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--gold-soft); }
.card__icon {
  width: 56px; height: 56px;
  display: grid; place-items: center;
  border-radius: 14px;
  background: var(--soft);
  color: var(--primary);
  margin-bottom: 18px;
}
.card h3 { margin-bottom: 8px; }
.card p { font-size: .96rem; }

/* Steps */
.steps { counter-reset: step; }
.step {
  position: relative;
  background: var(--white);
  border-radius: var(--radius);
  padding: 34px 26px 28px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
  height: 100%;
}
.step__num {
  position: absolute;
  top: -22px; left: 26px;
  width: 48px; height: 48px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  font-family: var(--font-head);
  font-size: 1.3rem;
  box-shadow: 0 10px 20px rgba(140,74,107,.3);
}
.step h3 { margin: 14px 0 8px; }
.step p { font-size: .95rem; }

/* Split feature */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split__media { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); aspect-ratio: 4/3; }
.split__media img { width: 100%; height: 100%; object-fit: cover; }
.split__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(160deg, transparent, rgba(110,56,84,.18)); }

/* CTA band */
.cta-band { background: linear-gradient(135deg, var(--primary-dark), var(--ink)); color: #fff; border-radius: var(--radius-lg); padding: clamp(40px, 6vw, 70px); text-align: center; box-shadow: var(--shadow-lg); }
.cta-band h2, .cta-band p { color: #fff; }
.cta-band p { opacity: .9; max-width: 620px; margin: 14px auto 0; }

/* Reassurance */
.reassure { background: var(--white); border: 1px solid var(--line); border-left: 4px solid var(--gold); border-radius: var(--radius); padding: 28px 30px; box-shadow: var(--shadow-sm); }
.reassure p + p { margin-top: 12px; }

/* Terms */
.terms-box { background: var(--bg-alt); border-radius: var(--radius); padding: 28px 30px; font-size: .92rem; }
.terms-box p { color: var(--ink-soft); }

/* Footer */
.footer { background: var(--ink); color: #cdc4d0; padding: 64px 0 28px; }
.footer a { color: #cdc4d0; }
.footer a:hover { color: var(--gold-soft); }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 40px; }
.footer .brand { color: #fff; }
.footer h4 { color: #fff; font-family: var(--font-body); font-size: .95rem; letter-spacing: .04em; margin-bottom: 16px; }
.footer ul li { margin-bottom: 10px; font-size: .94rem; }
.footer__bottom { margin-top: 46px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.1); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .85rem; color: #9b909f; }

/* Legal pages */
.legal { padding: clamp(50px, 7vw, 90px) 0; }
.legal__wrap { max-width: 820px; margin: 0 auto; }
.legal h1 { margin-bottom: 8px; }
.legal .updated { color: var(--ink-soft); font-size: .9rem; margin-bottom: 36px; }
.legal h2 { font-size: 1.5rem; margin: 38px 0 12px; }
.legal h3 { font-size: 1.15rem; margin: 24px 0 8px; }
.legal p, .legal li { color: var(--ink-soft); }
.legal ul { list-style: disc; padding-left: 22px; margin: 12px 0; }
.legal ul li { margin-bottom: 8px; }
.legal a { text-decoration: underline; }

/* Cookie popup */
.cookie {
  position: fixed;
  left: 24px; right: 24px; bottom: 24px;
  z-index: 90;
  max-width: 460px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
  padding: 24px 24px 22px;
  transform: translateY(140%);
  opacity: 0;
  transition: transform .45s cubic-bezier(.16,.84,.44,1), opacity .45s ease;
}
.cookie.is-visible { transform: translateY(0); opacity: 1; }
.cookie__head { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.cookie__head svg { flex: 0 0 26px; color: var(--primary); }
.cookie__head h4 { font-family: var(--font-head); font-size: 1.2rem; }
.cookie p { font-size: .9rem; }
.cookie__actions { display: flex; gap: 12px; margin-top: 18px; flex-wrap: wrap; }
.cookie__actions .btn { padding: 12px 22px; font-size: .92rem; flex: 1; justify-content: center; }
.cookie__prefs { margin-top: 16px; display: none; border-top: 1px solid var(--line); padding-top: 14px; }
.cookie__prefs.is-open { display: block; }
.cookie__row { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 8px 0; }
.cookie__row span { font-size: .9rem; font-weight: 500; color: var(--ink); }
.cookie__row small { display: block; color: var(--ink-soft); font-weight: 400; font-size: .8rem; }
.cookie__link { background: none; border: 0; color: var(--primary); cursor: pointer; font-size: .85rem; font-weight: 600; text-decoration: underline; margin-top: 12px; padding: 0; }

/* Switch */
.switch { position: relative; width: 44px; height: 24px; flex: 0 0 44px; }
.switch input { opacity: 0; width: 0; height: 0; }
.switch__slider { position: absolute; inset: 0; background: #d8cdd3; border-radius: 999px; transition: .3s; cursor: pointer; }
.switch__slider::before { content: ""; position: absolute; height: 18px; width: 18px; left: 3px; top: 3px; background: #fff; border-radius: 50%; transition: .3s; }
.switch input:checked + .switch__slider { background: var(--primary); }
.switch input:checked + .switch__slider::before { transform: translateX(20px); }
.switch input:disabled + .switch__slider { opacity: .6; cursor: not-allowed; }

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-in { opacity: 1; transform: none; }

/* Thank you */
.ty { min-height: 70vh; display: grid; place-items: center; text-align: center; padding: 60px 0; }
.ty__icon { width: 92px; height: 92px; margin: 0 auto 24px; display: grid; place-items: center; border-radius: 50%; background: var(--soft); color: var(--primary); }

/* Responsive */
@media (max-width: 980px) {
  .hero__grid { grid-template-columns: 1fr; gap: 40px; }
  .split { grid-template-columns: 1fr; gap: 34px; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .nav { position: fixed; inset: 74px 0 auto 0; flex-direction: column; background: var(--bg); padding: 22px 24px; gap: 6px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-md); transform: translateY(-130%); transition: transform .35s ease; align-items: stretch; }
  .nav.is-open { transform: translateY(0); }
  .nav a { padding: 12px 4px; border-bottom: 1px solid var(--line); }
  .nav .btn { margin-top: 8px; justify-content: center; }
  .nav-toggle { display: block; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .perfect { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .cookie { left: 14px; right: 14px; bottom: 14px; }
  .cookie__actions { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}
