/* ==========================================================================
   RMSL GROUP LTD — Stylesheet
   Premium UK Vehicle Sourcing & Sales
   ========================================================================== */

/* ---------- Root Tokens ---------- */
:root {
  --ink: #0E141B;
  --ink-soft: #1A2230;
  --charcoal: #2A3140;
  --slate: #5A6473;
  --silver: #B7BDC6;
  --line: #E2E1DC;
  --cream: #F6F3EC;
  --paper: #FBFAF6;
  --white: #FFFFFF;
  --gold: #B08A4A;
  --gold-soft: #C9A961;
  --gold-dark: #8C6B2E;
  --red: #8C1B1B;

  --font-display: "Fraunces", "Cormorant Garamond", Georgia, serif;
  --font-body: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --radius-sm: 2px;
  --radius-md: 4px;
  --radius-lg: 8px;

  --container: 1280px;
  --gutter: clamp(20px, 4vw, 56px);

  --shadow-sm: 0 1px 2px rgba(14, 20, 27, 0.05);
  --shadow-md: 0 8px 30px rgba(14, 20, 27, 0.08);
  --shadow-lg: 0 24px 60px rgba(14, 20, 27, 0.12);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.25s var(--ease);
}

a:hover { color: var(--gold-dark); }

button { font-family: inherit; cursor: pointer; }

h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.1;
  color: var(--ink);
  margin: 0 0 0.5em;
}

h1 { font-size: clamp(2.4rem, 6vw, 4.6rem); font-variation-settings: "SOFT" 30, "WONK" 0; }
h2 { font-size: clamp(1.9rem, 4vw, 3rem); }
h3 { font-size: clamp(1.3rem, 2vw, 1.65rem); }
h4 { font-size: 1.15rem; }

p { margin: 0 0 1em; }

::selection { background: var(--ink); color: var(--paper); }

/* ---------- Layout helpers ---------- */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.section {
  padding: clamp(60px, 9vw, 120px) 0;
}

.section--dark {
  background: var(--ink);
  color: var(--paper);
}
.section--dark h1, .section--dark h2, .section--dark h3 { color: var(--paper); }

.section--cream { background: var(--cream); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-dark);
  font-weight: 500;
  margin-bottom: 1.2rem;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--gold);
}
.section--dark .eyebrow { color: var(--gold-soft); }

.lead {
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  color: var(--slate);
  max-width: 64ch;
  line-height: 1.7;
}
.section--dark .lead { color: rgba(246, 243, 236, 0.78); }

/* ---------- Top Bar ---------- */
.topbar {
  background: var(--ink);
  color: rgba(246, 243, 236, 0.85);
  font-size: 0.82rem;
  letter-spacing: 0.04em;
}
.topbar__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  gap: 20px;
}
.topbar__contact { display: flex; gap: 22px; flex-wrap: wrap; }
.topbar__contact a { display: inline-flex; align-items: center; gap: 6px; }
.topbar__contact a:hover { color: var(--gold-soft); }
.topbar__tagline { color: var(--gold-soft); }
@media (max-width: 720px) {
  .topbar__tagline { display: none; }
  .topbar__inner { justify-content: center; }
}

/* ---------- Header / Nav ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251, 250, 246, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}
.brand__mark {
  width: 44px; height: 44px;
  border: 1px solid var(--ink);
  display: grid; place-items: center;
  font-family: var(--font-display);
  font-size: 0.95rem;
  letter-spacing: 0.05em;
  background: var(--ink);
  color: var(--cream);
  position: relative;
}
.brand__mark::after {
  content: "";
  position: absolute; inset: 3px;
  border: 1px solid var(--gold);
  pointer-events: none;
}
.brand__text {
  display: flex; flex-direction: column; line-height: 1.1;
}
.brand__name {
  font-family: var(--font-display);
  font-size: 1.25rem;
  letter-spacing: 0.04em;
  color: var(--ink);
}
.brand__sub {
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--slate);
  margin-top: 2px;
}

.nav__menu {
  display: flex;
  gap: 30px;
  list-style: none;
  margin: 0; padding: 0;
}
.nav__menu a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink-soft);
  position: relative;
  padding: 6px 0;
}
.nav__menu a::after {
  content: "";
  position: absolute; left: 0; bottom: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width 0.3s var(--ease);
}
.nav__menu a:hover::after,
.nav__menu a.is-active::after { width: 100%; }
.nav__menu a.is-active { color: var(--ink); }

.nav__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.nav__toggle {
  display: none;
  background: none;
  border: 1px solid var(--ink);
  width: 44px; height: 44px;
  align-items: center; justify-content: center;
  padding: 0;
}
.nav__toggle span,
.nav__toggle span::before,
.nav__toggle span::after {
  display: block;
  width: 20px;
  height: 1.5px;
  background: var(--ink);
  position: relative;
  transition: transform 0.3s var(--ease), opacity 0.2s;
}
.nav__toggle span::before { content: ""; position: absolute; top: -6px; left: 0; width: 100%; }
.nav__toggle span::after  { content: ""; position: absolute; top:  6px; left: 0; width: 100%; }

.nav__toggle.is-open span { background: transparent; }
.nav__toggle.is-open span::before { transform: translateY(6px) rotate(45deg); }
.nav__toggle.is-open span::after  { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 980px) {
  .nav__toggle { display: inline-flex; }
  .nav__menu {
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--paper);
    flex-direction: column;
    padding: 24px var(--gutter);
    gap: 4px;
    border-bottom: 1px solid var(--line);
    transform: translateY(-110%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.4s var(--ease), opacity 0.3s;
  }
  .nav__menu.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .nav__menu li { border-bottom: 1px solid var(--line); }
  .nav__menu li:last-child { border-bottom: none; }
  .nav__menu a { display: block; padding: 14px 0; font-size: 1rem; }
  .nav__cta--header { display: none; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--cream);
  cursor: pointer;
  transition: all 0.3s var(--ease);
  text-decoration: none;
  position: relative;
  overflow: hidden;
}
.btn::after {
  content: "→";
  font-size: 1.05rem;
  transition: transform 0.3s var(--ease);
}
.btn:hover {
  background: var(--gold-dark);
  border-color: var(--gold-dark);
  color: var(--cream);
}
.btn:hover::after { transform: translateX(4px); }

.btn--ghost {
  background: transparent;
  color: var(--ink);
}
.btn--ghost:hover {
  background: var(--ink);
  color: var(--cream);
}

.btn--gold {
  background: var(--gold-dark);
  border-color: var(--gold-dark);
  color: var(--cream);
}
.btn--gold:hover {
  background: var(--ink);
  border-color: var(--ink);
}

.btn--light {
  background: transparent;
  border-color: rgba(246, 243, 236, 0.4);
  color: var(--paper);
}
.btn--light:hover {
  background: var(--paper);
  color: var(--ink);
  border-color: var(--paper);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: var(--ink);
  color: var(--paper);
  overflow: hidden;
  padding: clamp(80px, 12vw, 160px) 0 clamp(80px, 12vw, 140px);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 80% 20%, rgba(176, 138, 74, 0.18), transparent 50%),
    radial-gradient(circle at 10% 80%, rgba(176, 138, 74, 0.08), transparent 45%),
    linear-gradient(180deg, #0E141B 0%, #161E2A 100%);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
}

.hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: clamp(40px, 6vw, 100px);
  align-items: end;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 0.78rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold-soft);
  margin-bottom: 28px;
}
.hero__eyebrow::before {
  content: "";
  width: 36px; height: 1px;
  background: var(--gold-soft);
}

.hero h1 {
  color: var(--paper);
  font-size: clamp(2.6rem, 7vw, 5.4rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
  margin-bottom: 32px;
  font-variation-settings: "SOFT" 30, "WONK" 0, "opsz" 144;
}
.hero h1 em {
  font-style: italic;
  color: var(--gold-soft);
  font-variation-settings: "SOFT" 100, "WONK" 1;
}

.hero__sub {
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  line-height: 1.7;
  color: rgba(246, 243, 236, 0.78);
  max-width: 56ch;
  margin-bottom: 40px;
}

.hero__ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero__aside {
  border-left: 1px solid rgba(246, 243, 236, 0.15);
  padding-left: clamp(20px, 3vw, 40px);
}
.hero__stat {
  padding: 18px 0;
  border-bottom: 1px solid rgba(246, 243, 236, 0.08);
}
.hero__stat:last-child { border-bottom: none; }
.hero__stat dt {
  font-size: 0.74rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-soft);
  margin-bottom: 6px;
}
.hero__stat dd {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--paper);
}

@media (max-width: 880px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__aside {
    border-left: none;
    border-top: 1px solid rgba(246, 243, 236, 0.15);
    padding-left: 0;
    padding-top: 30px;
    margin-top: 10px;
  }
}

/* ---------- Marquee / Ticker ---------- */
.ticker {
  background: var(--cream);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  padding: 18px 0;
}
.ticker__track {
  display: flex;
  gap: 60px;
  white-space: nowrap;
  animation: tickerScroll 40s linear infinite;
  font-family: var(--font-display);
  font-size: 1rem;
  letter-spacing: 0.08em;
  color: var(--slate);
}
.ticker__track span {
  display: inline-flex;
  align-items: center;
  gap: 60px;
}
.ticker__track span::after {
  content: "✦";
  color: var(--gold);
  font-size: 0.7em;
}
@keyframes tickerScroll {
  to { transform: translateX(-50%); }
}

/* ---------- Section Headers ---------- */
.section-head {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: clamp(30px, 5vw, 80px);
  align-items: end;
  margin-bottom: clamp(40px, 6vw, 70px);
}
.section-head--center {
  grid-template-columns: 1fr;
  text-align: center;
  justify-items: center;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}
.section-head h2 { margin-bottom: 0; }
@media (max-width: 800px) {
  .section-head { grid-template-columns: 1fr; }
}

/* ---------- Service Grid ---------- */
.services {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.service {
  padding: clamp(28px, 3.5vw, 44px);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--paper);
  transition: background 0.35s var(--ease);
  position: relative;
}
.service:hover {
  background: var(--cream);
}
.service__num {
  font-family: var(--font-display);
  font-size: 0.85rem;
  color: var(--gold-dark);
  letter-spacing: 0.1em;
  margin-bottom: 18px;
  display: block;
}
.service h3 {
  font-size: 1.4rem;
  margin-bottom: 12px;
}
.service p {
  color: var(--slate);
  font-size: 0.96rem;
  margin: 0;
}
.service__icon {
  width: 36px; height: 36px;
  margin-bottom: 22px;
  stroke: var(--ink);
  stroke-width: 1.2;
  fill: none;
}

/* ---------- Two-column feature ---------- */
.feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 90px);
  align-items: center;
}
.feature--reverse .feature__media { order: 2; }
.feature__copy h2 { margin-bottom: 24px; }
.feature__copy p { color: var(--slate); }
.section--dark .feature__copy p { color: rgba(246,243,236,0.78); }

.feature__media {
  position: relative;
  aspect-ratio: 4 / 5;
  background: var(--cream);
  overflow: hidden;
}
.feature__media--dark { background: var(--ink-soft); }
.feature__media svg, .feature__media .illustration { width: 100%; height: 100%; }

.feature__list {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
}
.feature__list li {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  font-size: 0.95rem;
}
.section--dark .feature__list li { border-color: rgba(246,243,236,0.12); }
.feature__list li::before {
  content: "—";
  color: var(--gold-dark);
}
.feature__list li span:first-child { flex: 1; }

@media (max-width: 880px) {
  .feature { grid-template-columns: 1fr; }
  .feature--reverse .feature__media { order: 0; }
}

/* ---------- Process Steps ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0;
  counter-reset: step;
}
.step {
  padding: clamp(28px, 3vw, 40px) clamp(20px, 2.5vw, 30px);
  border-right: 1px solid rgba(246,243,236,0.12);
  position: relative;
  counter-increment: step;
}
.step:last-child { border-right: none; }
.step::before {
  content: "0" counter(step);
  font-family: var(--font-display);
  font-size: 2.4rem;
  color: var(--gold-soft);
  display: block;
  margin-bottom: 22px;
  font-variation-settings: "SOFT" 100, "WONK" 1, "opsz" 144;
}
.step h3 {
  font-size: 1.2rem;
  margin-bottom: 12px;
  color: var(--paper);
}
.step p { color: rgba(246, 243, 236, 0.7); font-size: 0.95rem; margin: 0; }

@media (max-width: 880px) {
  .step { border-right: none; border-bottom: 1px solid rgba(246,243,236,0.12); }
  .step:last-child { border-bottom: none; }
}

/* ---------- Categories Grid ---------- */
.categories {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.category {
  background: var(--paper);
  padding: 36px 30px;
  position: relative;
  transition: background 0.3s var(--ease);
}
.category:hover { background: var(--cream); }
.category__tag {
  display: inline-block;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 14px;
}
.category h3 {
  font-size: 1.35rem;
  margin-bottom: 10px;
}
.category p { font-size: 0.93rem; color: var(--slate); margin: 0; }
.category__marker {
  position: absolute;
  top: 24px;
  right: 24px;
  font-family: var(--font-display);
  font-size: 0.85rem;
  color: var(--silver);
  letter-spacing: 0.05em;
}

/* ---------- Quote / Pull ---------- */
.pullquote {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  line-height: 1.25;
  letter-spacing: -0.01em;
  max-width: 24ch;
  font-style: italic;
  color: var(--ink);
  position: relative;
  padding-left: 30px;
}
.pullquote::before {
  content: "";
  position: absolute;
  left: 0; top: 0.4em;
  bottom: 0.4em;
  width: 2px;
  background: var(--gold);
}
.section--dark .pullquote { color: var(--paper); }

/* ---------- CTA Band ---------- */
.cta-band {
  background: var(--ink);
  color: var(--paper);
  padding: clamp(60px, 8vw, 100px) 0;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 50%, rgba(176, 138, 74, 0.15), transparent 50%);
}
.cta-band__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 40px;
  align-items: center;
}
.cta-band h2 { color: var(--paper); margin-bottom: 16px; max-width: 18ch; }
.cta-band p { color: rgba(246, 243, 236, 0.78); margin: 0; max-width: 50ch; }
.cta-band__actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  justify-self: end;
}
@media (max-width: 800px) {
  .cta-band__inner { grid-template-columns: 1fr; }
  .cta-band__actions { justify-self: start; flex-direction: row; flex-wrap: wrap; }
}

/* ---------- Page Header ---------- */
.page-header {
  background: var(--ink);
  color: var(--paper);
  padding: clamp(80px, 10vw, 140px) 0 clamp(60px, 8vw, 90px);
  position: relative;
  overflow: hidden;
}
.page-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 75% 30%, rgba(176, 138, 74, 0.15), transparent 50%),
    linear-gradient(180deg, #0E141B 0%, #161E2A 100%);
}
.page-header__inner { position: relative; max-width: 880px; }
.page-header h1 {
  color: var(--paper);
  margin-bottom: 22px;
}
.page-header p {
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  color: rgba(246, 243, 236, 0.78);
  max-width: 60ch;
  margin: 0;
}
.crumbs {
  display: flex;
  gap: 10px;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-soft);
  margin-bottom: 32px;
}
.crumbs a { color: rgba(246, 243, 236, 0.6); }
.crumbs a:hover { color: var(--gold-soft); }
.crumbs span { opacity: 0.5; }

/* ---------- Prose ---------- */
.prose {
  max-width: 70ch;
}
.prose p { color: var(--slate); font-size: 1.02rem; line-height: 1.8; }
.prose h2 { margin-top: 1.5em; }
.prose h3 { margin-top: 1.4em; margin-bottom: 0.4em; }
.prose ul {
  padding: 0;
  list-style: none;
  margin: 1.4em 0;
}
.prose ul li {
  padding: 12px 0 12px 28px;
  border-bottom: 1px solid var(--line);
  position: relative;
  color: var(--slate);
}
.prose ul li::before {
  content: "▸";
  position: absolute;
  left: 0;
  color: var(--gold-dark);
}

/* ---------- Notice / Disclaimer ---------- */
.notice {
  background: var(--cream);
  border-left: 3px solid var(--gold);
  padding: 24px 28px;
  margin: 30px 0;
  font-size: 0.94rem;
  color: var(--charcoal);
  line-height: 1.65;
}
.notice strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1rem;
  letter-spacing: 0.05em;
  color: var(--ink);
  margin-bottom: 6px;
  text-transform: uppercase;
}

/* ---------- Contact / Form ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

.contact-info { position: sticky; top: 100px; }
@media (max-width: 900px) { .contact-info { position: static; } }

.contact-info h3 { font-size: 1.1rem; letter-spacing: 0.05em; text-transform: uppercase; margin-bottom: 4px; }
.contact-info__block { margin-bottom: 32px; }
.contact-info__block p { margin: 0; color: var(--slate); }
.contact-info__block a { color: var(--ink); border-bottom: 1px solid var(--gold); padding-bottom: 1px; }
.contact-info__block a:hover { color: var(--gold-dark); }

.form {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: clamp(28px, 4vw, 50px);
}

.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 18px;
}
.form__row--triple { grid-template-columns: repeat(3, 1fr); }
.form__row--full { grid-template-columns: 1fr; }
@media (max-width: 600px) {
  .form__row, .form__row--triple { grid-template-columns: 1fr; }
}

.field { display: flex; flex-direction: column; }
.field label {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--charcoal);
  margin-bottom: 8px;
  font-weight: 500;
}
.field label .req { color: var(--gold-dark); }

.field input,
.field select,
.field textarea {
  font-family: inherit;
  font-size: 1rem;
  color: var(--ink);
  padding: 13px 14px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 0;
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease);
  width: 100%;
}
.field textarea { resize: vertical; min-height: 130px; line-height: 1.55; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--gold-dark);
  background: var(--paper);
}

.field--honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px; height: 1px;
  overflow: hidden;
}

.form__submit {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-top: 14px;
  flex-wrap: wrap;
}
.form__note {
  font-size: 0.85rem;
  color: var(--slate);
  margin: 0;
  max-width: 38ch;
}

.form__status {
  margin-top: 16px;
  padding: 14px 18px;
  font-size: 0.92rem;
  display: none;
}
.form__status.is-visible { display: block; }
.form__status--ok {
  background: #EBF4EE;
  border-left: 3px solid #4F8B5E;
  color: #2D5036;
}
.form__status--err {
  background: #FBEEEE;
  border-left: 3px solid var(--red);
  color: #6B1A1A;
}

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 0 auto; }
.faq__item {
  border-bottom: 1px solid var(--line);
}
.faq__item summary {
  list-style: none;
  cursor: pointer;
  padding: 24px 0;
  font-family: var(--font-display);
  font-size: 1.2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  color: var(--ink);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "+";
  font-size: 1.4rem;
  color: var(--gold-dark);
  transition: transform 0.3s var(--ease);
  flex-shrink: 0;
}
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__answer {
  padding: 0 0 24px;
  color: var(--slate);
  font-size: 0.98rem;
  line-height: 1.7;
  max-width: 65ch;
}

/* ---------- Illustrations (SVG) ---------- */
.illu-bg {
  position: relative;
  width: 100%; height: 100%;
  background: linear-gradient(160deg, var(--ink-soft) 0%, var(--ink) 100%);
  overflow: hidden;
}
.illu-bg svg { width: 100%; height: 100%; display: block; }

.illu-cream {
  background: linear-gradient(160deg, var(--cream) 0%, #E9E4D6 100%);
}

/* ---------- Footer ---------- */
.footer {
  background: var(--ink);
  color: rgba(246, 243, 236, 0.7);
  padding: clamp(60px, 7vw, 90px) 0 30px;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(246, 243, 236, 0.1);
}
@media (max-width: 900px) {
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 540px) {
  .footer__grid { grid-template-columns: 1fr; gap: 30px; }
}

.footer h4 {
  font-family: var(--font-body);
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-soft);
  margin-bottom: 18px;
  font-weight: 500;
}
.footer ul {
  list-style: none;
  margin: 0; padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer ul a { color: rgba(246, 243, 236, 0.75); font-size: 0.95rem; }
.footer ul a:hover { color: var(--gold-soft); }

.footer__brand .brand__name { color: var(--paper); }
.footer__brand .brand__sub { color: var(--gold-soft); }
.footer__brand .brand__mark { background: transparent; border-color: var(--gold-soft); color: var(--gold-soft); }
.footer__brand .brand__mark::after { border-color: var(--gold-soft); }
.footer__brand p {
  margin-top: 18px;
  color: rgba(246, 243, 236, 0.65);
  font-size: 0.92rem;
  line-height: 1.65;
  max-width: 36ch;
}

.footer__legal {
  margin-top: 30px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.82rem;
  color: rgba(246, 243, 236, 0.5);
}

.footer__bottom {
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.82rem;
  color: rgba(246, 243, 236, 0.5);
}

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Print / Misc ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
