/* ==========================================================================
   Nillyhands — styles
   Warm ivory + rosewood palette, large readable type for older readers.
   ========================================================================== */

:root {
  --bg: #fbf7f3;
  --bg-alt: #f6ece6;
  --surface: #ffffff;
  --ink: #2a1c22;
  --ink-soft: #5a4850;
  --line: #e8dad2;
  --line-strong: #cdb8ae;

  --rose: #9a3b55;
  --rose-dark: #7b2c43;
  --rose-tint: #f6e4e4;
  --blush: #f0d8d3;
  --gold: #c39a5f;
  --plum: #3a2330;
  --plum-deep: #2c1a24;
  --on-plum: #f8eee9;
  --on-plum-soft: #d9c4ca;

  --ok: #2f6b4f;
  --ok-tint: #e5f2ea;
  --err: #a12d3a;
  --err-tint: #fbe9ea;

  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Atkinson Hyperlegible", "Segoe UI", system-ui, -apple-system, sans-serif;

  --container: 1160px;
  --gutter: clamp(16px, 4vw, 32px);
  --radius: 20px;
  --radius-sm: 12px;
  --shadow: 0 1px 2px rgba(58, 35, 48, .05), 0 12px 32px -12px rgba(58, 35, 48, .18);
  --shadow-lg: 0 2px 4px rgba(58, 35, 48, .05), 0 30px 60px -20px rgba(58, 35, 48, .28);
  --header-h: 76px;

  color-scheme: light;
}

/* ---------- Base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 8px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.125rem;          /* 18px — comfortable for older readers */
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

[hidden] { display: none !important; }
img, svg { display: block; max-width: 100%; }
a { color: var(--rose); text-underline-offset: 3px; }
a:hover { color: var(--rose-dark); }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
strong { font-weight: 700; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.01em;
  margin: 0 0 .5em;
  color: var(--ink);
  font-variation-settings: "SOFT" 50;
}
h1 { font-size: clamp(2.5rem, 5.6vw, 4.4rem); }
h2 { font-size: clamp(2rem, 3.8vw, 3rem); }
h3 { font-size: 1.35rem; font-weight: 600; line-height: 1.25; }
h1 em, h2 em { font-style: italic; color: var(--rose); }

:focus-visible {
  outline: 3px solid var(--rose);
  outline-offset: 3px;
  border-radius: 6px;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute;
  left: 16px; top: -60px;
  z-index: 100;
  background: var(--plum);
  color: #fff;
  padding: 10px 18px;
  border-radius: 10px;
  font-weight: 700;
  transition: top .2s;
}
.skip-link:focus { top: 12px; color: #fff; }

.i {
  width: 1.25em; height: 1.25em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.eyebrow {
  font-size: .9rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--rose);
  margin-bottom: .9rem;
}
.eyebrow--light { color: var(--gold); }

.lead {
  font-size: clamp(1.15rem, 1.6vw, 1.3rem);
  color: var(--ink-soft);
  line-height: 1.6;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  min-height: 56px;
  padding: 0 1.75rem;
  border-radius: 999px;
  border: 2px solid transparent;
  font: 700 1.075rem/1 var(--font-body);
  text-decoration: none;
  cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: var(--rose);
  color: #fff;
  box-shadow: 0 10px 24px -10px rgba(154, 59, 85, .65);
}
.btn-primary:hover { background: var(--rose-dark); color: #fff; }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-strong);
}
.btn-ghost:hover { border-color: var(--ink); color: var(--ink); }
.btn-light {
  background: var(--on-plum);
  color: var(--plum);
}
.btn-light:hover { background: #fff; color: var(--rose-dark); }
.btn-sm { min-height: 46px; padding: 0 1.3rem; font-size: 1rem; }
.btn-block { width: 100%; }
.btn .i { transition: transform .2s; }
.btn:hover .i { transform: translateX(3px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 247, 243, .86);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s, box-shadow .25s;
}
.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 6px 24px -18px rgba(58, 35, 48, .35);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  text-decoration: none;
  color: var(--rose);
}
.brand-mark { width: 38px; height: 38px; }
.brand-name {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.brand-name em { color: var(--rose); font-weight: 500; }
.brand--light { color: var(--on-plum); }
.brand--light .brand-name { color: var(--on-plum); }
.brand--light .brand-name em { color: var(--gold); }

.site-nav ul {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.4vw, 2rem);
}
.site-nav a:not(.btn) {
  color: var(--ink);
  text-decoration: none;
  font-weight: 700;
  font-size: 1.02rem;
  white-space: nowrap;
  padding: .4rem 0;
  background: linear-gradient(var(--rose), var(--rose)) left bottom / 0 2px no-repeat;
  transition: background-size .25s, color .2s;
}
.site-nav a:not(.btn):hover { color: var(--rose); background-size: 100% 2px; }

.site-nav a.nav-phone {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  white-space: nowrap;
}
.nav-phone .i { color: var(--rose); }

.header-call {
  display: none;
  width: 48px; height: 48px;
  margin-left: auto;
  border-radius: 12px;
  background: var(--rose);
  color: #fff;
  align-items: center;
  justify-content: center;
}
.header-call:hover { background: var(--rose-dark); color: #fff; }
.header-call .i { width: 22px; height: 22px; }

.hero-call { margin: 1.4rem 0 0; color: var(--ink-soft); }
.hero-call a { font-weight: 700; white-space: nowrap; }
.res-call { margin: 1.1rem 0 0; color: var(--on-plum-soft); }
.res-call a { color: var(--on-plum); font-weight: 700; white-space: nowrap; }
.res-call a:hover { color: var(--gold); }

.nav-toggle {
  display: none;
  width: 48px; height: 48px;
  border-radius: 12px;
  border: 1.5px solid var(--line-strong);
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
.nav-toggle svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.nav-toggle .i-close { display: none; }
.nav-toggle[aria-expanded="true"] .i-open { display: none; }
.nav-toggle[aria-expanded="true"] .i-close { display: inline; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding-block: clamp(48px, 8vw, 104px) clamp(72px, 10vw, 128px);
  overflow: hidden;
  background:
    radial-gradient(60% 70% at 92% 10%, rgba(240, 216, 211, .85), transparent 70%),
    radial-gradient(40% 50% at 0% 100%, rgba(246, 236, 230, .9), transparent 70%);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.12fr .88fr;
  align-items: center;
  gap: clamp(40px, 6vw, 88px);
}
.hero-copy .lead { max-width: 36em; margin-bottom: 2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; }

.hero-art {
  position: relative;
  width: 100%;
  max-width: 430px;
  justify-self: center;
}
.arch {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: 999px 999px 28px 28px;
  overflow: hidden;
  background:
    radial-gradient(80% 60% at 30% 15%, rgba(255, 255, 255, .28), transparent 60%),
    linear-gradient(165deg, #b85a72 0%, #9a3b55 45%, #5e2639 100%);
  box-shadow: var(--shadow-lg);
}
.arch::after {
  content: "";
  position: absolute;
  inset: 14px;
  border-radius: 999px 999px 18px 18px;
  border: 1px solid rgba(255, 255, 255, .35);
  pointer-events: none;
}
.strands { position: absolute; inset: 0; width: 100%; height: 100%; }
.arch-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  padding: 2rem;
}
.arch-number {
  font-family: var(--font-display);
  font-size: clamp(6rem, 13vw, 9rem);
  font-weight: 400;
  line-height: .9;
  letter-spacing: -0.04em;
  font-variation-settings: "SOFT" 100, "opsz" 144;
}
.arch-number sup {
  font-size: .45em;
  vertical-align: top;
  position: relative;
  top: .15em;
  color: #f3d7a8;
}
.arch-label {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.35rem;
  margin-top: .6rem;
  opacity: .95;
}

.float-card {
  position: absolute;
  background: var(--surface);
  border-radius: 18px;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}
.float-card--a {
  left: -32px;
  bottom: 42px;
  display: flex;
  align-items: center;
  gap: .85rem;
  padding: .9rem 1.2rem .9rem .9rem;
  max-width: 290px;
}
.float-card--a strong { display: block; font-size: 1rem; line-height: 1.25; }
.float-card--a small { display: block; color: var(--ink-soft); font-size: .9rem; }
.float-icon {
  display: grid;
  place-items: center;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--rose-tint);
  color: var(--rose);
  flex: none;
}
.float-card--b {
  right: -18px;
  top: 64px;
  width: 96px; height: 96px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.float-card--b strong {
  font-family: var(--font-display);
  font-size: 2.1rem;
  font-weight: 500;
  line-height: 1;
  color: var(--rose);
}
.float-card--b small { font-size: .82rem; color: var(--ink-soft); font-weight: 700; }

/* ---------- Trust strip ---------- */
.trust { margin-top: calc(-1 * clamp(40px, 6vw, 64px)); position: relative; z-index: 2; }
.trust-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.trust-list li {
  padding: 1.5rem 1.6rem;
  display: flex;
  flex-direction: column;
  gap: .2rem;
}
.trust-list li + li { border-left: 1px solid var(--line); }
.trust-list strong {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 600;
  color: var(--rose);
  line-height: 1.2;
}
.trust-list span { color: var(--ink-soft); font-size: .98rem; line-height: 1.45; }

/* ---------- Sections ---------- */
.section { padding-block: clamp(72px, 10vw, 128px); }
.section-head { max-width: 760px; margin: 0 auto clamp(40px, 5vw, 64px); text-align: center; }
.section-head .lead { margin-inline: auto; max-width: 40em; }
.section-head--left { text-align: left; margin: 0; }

/* ---------- About ---------- */
.about-grid {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}
.portrait { margin: 0; position: relative; }
.portrait img,
.portrait-placeholder {
  width: 100%;
  aspect-ratio: 9 / 11;
  object-fit: cover;
  border-radius: 999px 999px var(--radius) var(--radius);
  box-shadow: var(--shadow-lg);
}
.portrait-placeholder {
  display: grid;
  place-items: center;
  background:
    radial-gradient(70% 55% at 50% 30%, rgba(255, 255, 255, .7), transparent 70%),
    linear-gradient(170deg, var(--blush), #e3c1bb);
  position: relative;
  overflow: hidden;
}
.portrait-placeholder::before {
  content: "";
  position: absolute;
  inset: 16px;
  border-radius: 999px 999px 12px 12px;
  border: 1.5px solid rgba(154, 59, 85, .25);
}
.portrait-placeholder span {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(7rem, 16vw, 11rem);
  color: var(--rose);
  line-height: 1;
  opacity: .85;
}
.portrait figcaption {
  position: absolute;
  left: 50%;
  bottom: -20px;
  transform: translateX(-50%);
  background: var(--surface);
  padding: .65rem 1.4rem;
  border-radius: 999px;
  box-shadow: var(--shadow);
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.1rem;
  white-space: nowrap;
  border: 1px solid var(--line);
}
.about-copy p { color: var(--ink-soft); }
.about-copy strong { color: var(--ink); }
.values { display: grid; gap: .9rem; margin-top: 1.8rem; }
.values li {
  display: flex;
  gap: .9rem;
  align-items: flex-start;
  color: var(--ink-soft);
}
.values .i { color: var(--rose); margin-top: .2em; width: 1.4em; height: 1.4em; }
.values strong { color: var(--ink); }

/* Journey */
.journey {
  margin-top: clamp(64px, 8vw, 104px);
  padding: clamp(28px, 4vw, 44px);
  background: var(--bg-alt);
  border-radius: var(--radius);
  text-align: center;
}
.journey-title {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.4rem, 2.4vw, 1.75rem);
  margin-bottom: 1.6rem;
}
.journey-list {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  position: relative;
  gap: 1rem;
}
.journey-list::before {
  content: "";
  position: absolute;
  top: 9px;
  left: 10%;
  right: 10%;
  border-top: 2px dashed var(--line-strong);
}
.journey-list li {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .7rem;
  font-weight: 700;
  font-size: 1.05rem;
  line-height: 1.3;
}
.journey-dot {
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--surface);
  border: 4px solid var(--gold);
  position: relative;
  z-index: 1;
}
.journey-list .is-now .journey-dot {
  background: var(--rose);
  border-color: var(--rose-tint);
  box-shadow: 0 0 0 4px rgba(154, 59, 85, .25);
}
.journey-list small {
  display: block;
  font-size: .8rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--rose);
  margin-top: -.3rem;
}

/* ---------- Services ---------- */
.services { background: var(--surface); }
.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}
.service-card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.75rem 1.6rem;
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--blush);
}
.service-card p { color: var(--ink-soft); margin: 0; font-size: 1.02rem; }
.service-icon {
  display: grid;
  place-items: center;
  width: 54px; height: 54px;
  border-radius: 16px;
  background: var(--rose-tint);
  color: var(--rose);
  margin-bottom: 1.2rem;
}
.service-icon .i { width: 26px; height: 26px; }
.service-card--cta {
  background: var(--plum);
  border-color: var(--plum);
  color: var(--on-plum);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}
.service-card--cta h3 { color: var(--on-plum); }
.service-card--cta p { color: var(--on-plum-soft); margin-bottom: 1.3rem; }

/* ---------- Residences ---------- */
.residences {
  background:
    radial-gradient(50% 60% at 100% 0%, rgba(154, 59, 85, .35), transparent 70%),
    radial-gradient(40% 50% at 0% 100%, rgba(195, 154, 95, .14), transparent 70%),
    var(--plum);
  color: var(--on-plum);
}
.residences h2,
.residences h3 { color: var(--on-plum); }
.residences .lead { color: var(--on-plum-soft); margin-bottom: 1.6rem; }
.res-head {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: end;
  margin-bottom: clamp(48px, 6vw, 72px);
}
.res-head h2 { margin: 0; }

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.benefit {
  padding: 1.75rem;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .12);
}
.benefit .i {
  width: 34px; height: 34px;
  color: var(--gold);
  margin-bottom: 1.1rem;
  stroke-width: 1.5;
}
.benefit p { color: var(--on-plum-soft); margin: 0; font-size: 1.02rem; }

.steps {
  margin-top: clamp(48px, 6vw, 72px);
  padding-top: clamp(40px, 5vw, 56px);
  border-top: 1px solid rgba(255, 255, 255, .15);
}
.steps-title {
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.5rem, 2.4vw, 1.9rem);
  margin-bottom: 1.8rem;
}
.steps-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 3vw, 40px);
}
.steps-list li { display: flex; gap: 1rem; align-items: flex-start; }
.steps-list strong { display: block; font-size: 1.12rem; margin-bottom: .25rem; }
.steps-list p { color: var(--on-plum-soft); margin: 0; font-size: 1.02rem; }
.step-num {
  flex: none;
  display: grid;
  place-items: center;
  width: 48px; height: 48px;
  border-radius: 50%;
  border: 1.5px solid var(--gold);
  color: var(--gold);
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.4rem;
}

/* ---------- FAQ ---------- */
.faq-grid {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: start;
}
.faq-grid .section-head p:not(.eyebrow) { color: var(--ink-soft); }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.3rem 0;
  font-weight: 700;
  font-size: 1.12rem;
  line-height: 1.4;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "";
  flex: none;
  width: 34px; height: 34px;
  border-radius: 50%;
  background:
    linear-gradient(var(--rose), var(--rose)) center / 14px 2px no-repeat,
    linear-gradient(var(--rose), var(--rose)) center / 2px 14px no-repeat,
    var(--rose-tint);
  transition: transform .25s;
}
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list summary:hover { color: var(--rose); }
.faq-list details p { color: var(--ink-soft); padding-right: 3rem; margin-bottom: 1.4rem; }

/* ---------- Booking ---------- */
.book { background: var(--bg-alt); }
.book-grid {
  display: grid;
  grid-template-columns: .78fr 1.22fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}
.book-intro { position: sticky; top: calc(var(--header-h) + 32px); }
.checklist { display: grid; gap: .75rem; margin: 1.6rem 0 2rem; }
.checklist li { display: flex; align-items: center; gap: .75rem; font-weight: 700; }
.checklist .i {
  width: 30px; height: 30px;
  padding: 6px;
  border-radius: 50%;
  background: var(--rose);
  color: #fff;
  stroke-width: 2.6;
}
.contact-card {
  display: inline-flex;
  flex-direction: column;
  gap: .3rem;
  padding: 1.1rem 1.4rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}
.contact-card span { font-size: .95rem; color: var(--ink-soft); }
.contact-card a {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-weight: 700;
  font-size: 1.1rem;
  text-decoration: none;
}

.form-card {
  background: var(--surface);
  border-radius: 28px;
  padding: clamp(24px, 4vw, 48px);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
}

fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.mode-panel { display: grid; gap: 1.25rem; }
.mode-panel[hidden] { display: none; }
#booking-form { display: grid; gap: 1.25rem; }

.field { display: grid; gap: .45rem; }
.field[hidden] { display: none; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.field label,
.field-label {
  font-weight: 700;
  font-size: 1.02rem;
  color: var(--ink);
  padding: 0;
}
.req { color: var(--rose); }
.hint { font-weight: 400; color: var(--ink-soft); font-size: .95rem; }
.field-hint { margin: 0; color: var(--ink-soft); font-size: .95rem; }

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="date"],
select,
textarea {
  width: 100%;
  min-height: 54px;
  padding: .75rem 1rem;
  border: 1.5px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--ink);
  font: 400 1.075rem/1.4 var(--font-body);
  transition: border-color .2s, box-shadow .2s;
  appearance: none;
  -webkit-appearance: none;
}
textarea { resize: vertical; min-height: 120px; }
select {
  padding-right: 2.8rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239a3b55' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 20px;
  cursor: pointer;
}
input::placeholder, textarea::placeholder { color: #8f7d84; }
input:hover, select:hover, textarea:hover { border-color: var(--ink-soft); }
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--rose);
  box-shadow: 0 0 0 4px rgba(154, 59, 85, .16);
}
[aria-invalid="true"] { border-color: var(--err) !important; background-color: #fffafa; }
.field-error {
  color: var(--err);
  font-size: .95rem;
  font-weight: 700;
  margin: 0;
}
.field-error::before { content: "⚠ "; }

/* Mode switch */
.mode-switch {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .9rem;
}
.mode-switch legend { margin-bottom: .7rem; }
.mode-option { position: relative; cursor: pointer; }
.mode-option input { position: absolute; opacity: 0; pointer-events: none; }
.mode-box {
  display: flex;
  flex-direction: column;
  gap: .15rem;
  height: 100%;
  padding: 1rem 1.1rem 1rem 3.2rem;
  border: 1.5px solid var(--line-strong);
  border-radius: 14px;
  position: relative;
  transition: border-color .2s, background-color .2s, box-shadow .2s;
}
.mode-box::before {
  content: "";
  position: absolute;
  left: 1.1rem;
  top: 1.2rem;
  width: 22px; height: 22px;
  border-radius: 50%;
  border: 2px solid var(--line-strong);
  background: var(--surface);
  transition: border .2s;
}
.mode-box strong { font-size: 1.05rem; line-height: 1.3; }
.mode-box small { color: var(--ink-soft); font-size: .93rem; line-height: 1.35; }
.mode-option:hover .mode-box { border-color: var(--ink-soft); }
.mode-option input:checked + .mode-box {
  border-color: var(--rose);
  background: var(--rose-tint);
  box-shadow: 0 0 0 1px var(--rose);
}
.mode-option input:checked + .mode-box::before { border: 7px solid var(--rose); }
.mode-option input:focus-visible + .mode-box { outline: 3px solid var(--rose); outline-offset: 3px; }

/* Checkbox */
.check {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  cursor: pointer;
  font-weight: 700;
  width: fit-content;
}
.check input,
.chip input {
  appearance: none;
  -webkit-appearance: none;
  margin: 0;
}
.check input {
  width: 26px; height: 26px;
  flex: none;
  border: 2px solid var(--line-strong);
  border-radius: 7px;
  background: var(--surface) center / 16px no-repeat;
  cursor: pointer;
  transition: background-color .2s, border-color .2s;
}
.check input:checked {
  background-color: var(--rose);
  border-color: var(--rose);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
}
.check input:focus-visible { outline: 3px solid var(--rose); outline-offset: 2px; }

/* Service chips */
.chips-field legend { margin-bottom: .7rem; }
.chips { display: flex; flex-wrap: wrap; gap: .6rem; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.chip span {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  min-height: 46px;
  padding: .5rem 1.05rem;
  border: 1.5px solid var(--line-strong);
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink-soft);
  transition: all .2s;
}
.chip:hover span { border-color: var(--ink-soft); color: var(--ink); }
.chip input:checked + span {
  background: var(--rose);
  border-color: var(--rose);
  color: #fff;
}
.chip input:checked + span::before {
  content: "";
  width: 14px; height: 14px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / contain no-repeat;
}
.chip input:focus-visible + span { outline: 3px solid var(--rose); outline-offset: 2px; }
.chips-field.is-invalid .chip span { border-color: var(--err); }

/* Honeypot */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.turnstile-wrap { display: grid; gap: .5rem; min-height: 65px; }

/* Status + submit */
.form-status {
  padding: 1rem 1.2rem;
  border-radius: var(--radius-sm);
  font-weight: 700;
  line-height: 1.5;
}
.form-status.is-error { background: var(--err-tint); color: var(--err); border: 1px solid #f0c4c9; }
.form-status.is-info { background: var(--bg-alt); color: var(--ink); }

#submit-btn { position: relative; min-height: 60px; font-size: 1.12rem; }
.spinner {
  display: none;
  width: 22px; height: 22px;
  border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, .4);
  border-top-color: #fff;
  animation: spin .8s linear infinite;
}
#submit-btn.is-loading .spinner { display: inline-block; }
#submit-btn.is-loading { pointer-events: none; opacity: .85; }
@keyframes spin { to { transform: rotate(360deg); } }

.form-note { font-size: .95rem; color: var(--ink-soft); text-align: center; margin: 0; }

.form-success {
  text-align: center;
  padding: clamp(24px, 5vw, 56px) 0;
}
.form-success:focus { outline: none; }
.success-icon {
  display: inline-grid;
  place-items: center;
  width: 80px; height: 80px;
  border-radius: 50%;
  background: var(--ok-tint);
  color: var(--ok);
  margin-bottom: 1.4rem;
}
.success-icon .i { width: 40px; height: 40px; stroke-width: 2.4; }
.form-success p { color: var(--ink-soft); max-width: 32em; margin: 0 auto 1.6rem; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--plum-deep);
  color: var(--on-plum-soft);
  padding-top: clamp(56px, 7vw, 80px);
  font-size: 1rem;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
}
.footer-inner p { margin-top: 1rem; line-height: 1.6; }
.footer-links { display: grid; gap: .55rem; }
.site-footer a { color: var(--on-plum); text-decoration: none; }
.site-footer a:hover { color: var(--gold); text-decoration: underline; }
.footer-contact { display: grid; gap: .4rem; align-content: start; }
.footer-contact span {
  font-size: .85rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--gold);
}
.footer-contact a { font-weight: 700; font-size: 1.1rem; }
.footer-base {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  padding-block: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, .12);
  font-size: .95rem;
}
.footer-base p { margin: 0; }

/* ---------- Reveal on scroll ---------- */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .7s ease, transform .7s ease;
}
.js [data-reveal].is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1080px) {
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .float-card--a { left: -12px; }
  .float-card--b { right: -6px; }

  /* Menu collapses here: below ~1080px the full menu no longer fits on one row */
  .nav-toggle { display: inline-flex; }
  .header-call { display: inline-flex; }
  .header-inner { gap: .6rem; }
  .site-nav {
    position: fixed;
    top: var(--header-h);
    left: 0; right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 40px -24px rgba(58, 35, 48, .35);
    padding: 1rem var(--gutter) 1.5rem;
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .2s, transform .2s, visibility .2s;
  }
  .site-nav.is-open { opacity: 1; transform: none; visibility: visible; }
  .site-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .site-nav a:not(.btn) {
    display: block;
    padding: 1rem 0;
    border-bottom: 1px solid var(--line);
    font-size: 1.15rem;
    background: none;
  }
  .site-nav a.nav-phone { display: flex; }
  .site-nav .btn { margin-top: 1rem; width: 100%; min-height: 56px; }
}

@media (max-width: 920px) {
  :root { --header-h: 68px; }

  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { text-align: left; }
  .hero-art { max-width: 380px; margin-top: 1rem; }

  .trust-list { grid-template-columns: repeat(2, 1fr); }
  .trust-list li:nth-child(3) { border-left: 0; }
  .trust-list li:nth-child(n+3) { border-top: 1px solid var(--line); }

  .about-grid { grid-template-columns: 1fr; }
  .portrait { max-width: 360px; margin-inline: auto; }

  .res-head { grid-template-columns: 1fr; align-items: start; }
  .benefit-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-list { grid-template-columns: 1fr; }

  .faq-grid { grid-template-columns: 1fr; }

  .book-grid { grid-template-columns: 1fr; }
  .book-intro { position: static; }

  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-inner > div:first-child { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  body { font-size: 1.0625rem; }

  .btn { white-space: normal; text-align: center; line-height: 1.3; padding-block: .75rem; }
  .hero-actions .btn,
  .res-head .btn { width: 100%; }
  .res-head > * { min-width: 0; }
  .float-card--a { left: 0; bottom: 24px; max-width: 250px; padding: .75rem 1rem .75rem .75rem; }
  .float-card--b { right: 0; top: 40px; width: 84px; height: 84px; }
  .float-card--b strong { font-size: 1.8rem; }

  .trust-list { grid-template-columns: 1fr; }
  .trust-list li + li { border-left: 0; border-top: 1px solid var(--line); }
  .trust-list li { padding: 1.15rem 1.3rem; }

  .journey-list { grid-template-columns: 1fr; gap: 0; text-align: left; justify-items: start; padding-left: .5rem; }
  .journey-list::before { top: 10px; bottom: 10px; left: calc(.5rem + 9px); right: auto; border-top: 0; border-left: 2px dashed var(--line-strong); }
  .journey-list li { flex-direction: row; gap: 1rem; padding: .55rem 0; }
  .journey-list small { margin: 0 0 0 .4rem; display: inline; }
  .journey { text-align: left; }

  .service-grid,
  .benefit-grid { grid-template-columns: 1fr; }

  .field-row,
  .mode-switch { grid-template-columns: 1fr; }

  .faq-list details p { padding-right: 0; }

  .footer-inner { grid-template-columns: 1fr; }
}
