/* ==========================================================================
   YFP Assurance — Stylesheet
   Edit the variables in :root to change colours, fonts and spacing site-wide.
   ========================================================================== */

:root {
  /* Palette */
  --bg: #f7f4ee;            /* warm off-white */
  --bg-alt: #efeae1;        /* slightly deeper warm tone */
  --surface: #fffdf9;       /* cards */
  --ink: #23262b;           /* charcoal text */
  --ink-soft: #545861;      /* secondary text */
  --ink-mute: #7d808a;
  --navy: #14233a;          /* dark navy accent */
  --navy-2: #1d3150;
  --bronze: #a2783f;        /* restrained bronze */
  --bronze-soft: #c9a875;
  --line: #e2dbcf;
  --line-strong: #cfc5b4;
  --ok: #2f6b4f;
  --err: #a63d32;

  /* Type */
  --font-display: "Cormorant Garamond", "Cormorant", Georgia, "Times New Roman", serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  /* Layout */
  --wrap: 1200px;
  --gutter: clamp(20px, 4vw, 40px);
  --radius: 4px;
  --radius-lg: 8px;
  --header-h: 76px;
  --shadow: 0 1px 2px rgba(20, 35, 58, .04), 0 8px 24px rgba(20, 35, 58, .06);
  --shadow-lg: 0 2px 4px rgba(20, 35, 58, .05), 0 18px 48px rgba(20, 35, 58, .10);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0 0 .5em; font-weight: 500; line-height: 1.12; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; }
[hidden] { display: none !important; }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--navy); color: #fff; padding: 10px 16px; border-radius: var(--radius);
  text-decoration: none; font-weight: 500;
}
.skip-link:focus { top: 12px; }

:focus-visible { outline: 2px solid var(--bronze); outline-offset: 3px; }

/* ---------- Typography ---------- */
.display, h1, h2 { font-family: var(--font-display); }
h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); font-weight: 500; }
h2 { font-size: clamp(2rem, 4vw, 3.1rem); }
h3 { font-size: 1.3rem; font-family: var(--font-display); font-weight: 600; letter-spacing: 0; }
.h3-sans { font-family: var(--font-body); font-size: 1.05rem; font-weight: 600; letter-spacing: -.005em; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.22rem); color: var(--ink-soft); max-width: 46em; }
.muted { color: var(--ink-soft); }
.small { font-size: .875rem; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: .75rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
  color: var(--bronze); margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.eyebrow.no-rule::before { display: none; }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(72px, 10vw, 128px) 0; }
.section.tight { padding: clamp(48px, 7vw, 84px) 0; }
.section.alt { background: var(--bg-alt); }
.section.surface { background: var(--surface); }
.section.dark { background: var(--navy); color: #e9e6df; }
.section.dark h2, .section.dark h3 { color: #fff; }
.section.dark .muted, .section.dark .lead { color: #b9bfca; }
.section.dark .eyebrow { color: var(--bronze-soft); }
.section-head { max-width: 760px; margin-bottom: clamp(40px, 6vw, 64px); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head.split { max-width: none; display: grid; gap: 24px; grid-template-columns: 1fr; align-items: end; }
@media (min-width: 900px) { .section-head.split { grid-template-columns: 1.1fr 1fr; gap: 64px; } }

.grid { display: grid; gap: 24px; }
@media (min-width: 700px) { .grid.g2 { grid-template-columns: repeat(2, 1fr); } .grid.g3 { grid-template-columns: repeat(2, 1fr); } .grid.g4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .grid.g3 { grid-template-columns: repeat(3, 1fr); } .grid.g4 { grid-template-columns: repeat(4, 1fr); } }

.split { display: grid; gap: clamp(32px, 5vw, 72px); align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; } .split.wide-left { grid-template-columns: 1.15fr .85fr; } .split.reverse > :first-child { order: 2; } }

.rule { height: 1px; background: var(--line); border: 0; margin: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 26px;
  border-radius: var(--radius); border: 1px solid transparent;
  font-size: .9rem; font-weight: 600; letter-spacing: .02em; text-decoration: none;
  cursor: pointer; transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: var(--navy-2); }
.btn-bronze { background: var(--bronze); color: #fff; }
.btn-bronze:hover { background: #8d6834; }
.btn-ghost { background: transparent; border-color: var(--line-strong); color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { background: #f1ede5; }
.btn-ghost-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.35); }
.btn-ghost-light:hover { border-color: #fff; }
.btn-wa { background: #1f7a52; color: #fff; }
.btn-wa:hover { background: #18663f; }
.btn-sm { min-height: 40px; padding: 0 18px; font-size: .84rem; }
.btn .arrow { transition: transform .25s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .88rem; font-weight: 600; text-decoration: none; color: var(--navy);
  border-bottom: 1px solid var(--bronze-soft); padding-bottom: 2px;
}
.link-arrow:hover { color: var(--bronze); }
.section.dark .link-arrow { color: #fff; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(247, 244, 238, .92);
  -webkit-backdrop-filter: saturate(150%) blur(12px); backdrop-filter: saturate(150%) blur(12px);
  border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s;
}
.site-header.scrolled { border-bottom-color: var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: var(--header-h); }

.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--navy); flex-shrink: 0; }
.brand-mark { width: 38px; height: 38px; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-family: var(--font-display); font-size: 1.5rem; font-weight: 600; letter-spacing: .02em; }
.brand-sub { font-size: .6rem; letter-spacing: .32em; text-transform: uppercase; color: var(--bronze); margin-top: 4px; font-weight: 600; }

.nav { display: none; }
.nav ul { list-style: none; display: flex; gap: 4px; align-items: center; }
.nav a {
  display: block; padding: 8px 11px; font-size: .84rem; font-weight: 500; text-decoration: none; color: var(--ink-soft);
  border-radius: var(--radius); transition: color .2s;
  position: relative;
}
.nav a:hover { color: var(--ink); }
.nav a[aria-current="page"] { color: var(--navy); }
.nav a[aria-current="page"]::after { content: ""; position: absolute; left: 11px; right: 11px; bottom: 2px; height: 1px; background: var(--bronze); }
.header-cta { display: none; }

.menu-toggle {
  display: inline-flex; align-items: center; gap: 10px;
  background: none; border: 1px solid var(--line-strong); border-radius: var(--radius);
  height: 42px; padding: 0 14px; cursor: pointer; font-size: .82rem; font-weight: 600; color: var(--navy);
}
.menu-toggle .bars { width: 18px; height: 10px; position: relative; }
.menu-toggle .bars::before, .menu-toggle .bars::after { content: ""; position: absolute; left: 0; right: 0; height: 1.5px; background: currentColor; transition: transform .3s var(--ease), top .3s var(--ease); }
.menu-toggle .bars::before { top: 0; }
.menu-toggle .bars::after { top: 8px; }
.menu-toggle[aria-expanded="true"] .bars::before { top: 4px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] .bars::after { top: 4px; transform: rotate(-45deg); }

.mobile-nav {
  position: fixed; inset: var(--header-h) 0 0 0; z-index: 99;
  background: var(--bg); padding: 24px var(--gutter) calc(32px + env(safe-area-inset-bottom));
  overflow-y: auto; display: flex; flex-direction: column;
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
}
.mobile-nav.open { opacity: 1; visibility: visible; transform: none; }
.mobile-nav ul { list-style: none; border-top: 1px solid var(--line); }
.mobile-nav li { border-bottom: 1px solid var(--line); }
.mobile-nav a.m-link { display: flex; justify-content: space-between; align-items: center; padding: 18px 0; font-family: var(--font-display); font-size: 1.6rem; text-decoration: none; color: var(--navy); }
.mobile-nav a.m-link[aria-current="page"] { color: var(--bronze); }
.mobile-nav .m-actions { margin-top: 28px; display: grid; gap: 12px; }
body.nav-open { overflow: hidden; }

@media (min-width: 1140px) {
  .nav { display: block; }
  .header-cta { display: inline-flex; }
  .menu-toggle { display: none; }
  .mobile-nav { display: none; }
}

/* ---------- Hero ---------- */
.hero { padding: clamp(40px, 7vw, 88px) 0 clamp(64px, 9vw, 112px); position: relative; overflow: hidden; }
.hero-grid { display: grid; gap: clamp(36px, 5vw, 64px); align-items: center; }
@media (min-width: 980px) { .hero-grid { grid-template-columns: 1.05fr .95fr; } }
.hero h1 { margin-bottom: 24px; color: var(--navy); }
.hero h1 em { font-style: italic; color: var(--bronze); font-weight: 500; }
.hero .lead { margin-bottom: 36px; }
.hero-figure { position: relative; }
.hero-figure .frame { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4 / 5; }
.hero-figure .frame img { width: 100%; height: 100%; object-fit: cover; }
.hero-figure .badge {
  position: absolute; left: -16px; top: 32px; background: var(--surface); border: 1px solid var(--line);
  padding: 16px 20px; border-radius: var(--radius); box-shadow: var(--shadow); max-width: 260px;
}
.hero-figure .badge strong { display: block; font-family: var(--font-display); font-size: 1.15rem; color: var(--navy); font-weight: 600; }
.hero-figure .badge span { font-size: .8rem; color: var(--ink-soft); }
@media (max-width: 979px) { .hero-figure .frame { aspect-ratio: 4 / 3; } .hero-figure .badge { left: 12px; top: 12px; } }

.hero-meta { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--line); font-size: .82rem; color: var(--ink-soft); }
.hero-meta span { display: inline-flex; align-items: center; gap: 8px; }
.hero-meta span::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--bronze); }

/* Page hero (inner pages) */
.page-hero { padding: clamp(48px, 8vw, 104px) 0 clamp(48px, 7vw, 88px); border-bottom: 1px solid var(--line); }
.page-hero h1 { color: var(--navy); max-width: 16em; font-size: clamp(2.4rem, 5.4vw, 4.2rem); }
.page-hero .lead { margin-top: 8px; }
.page-hero .btn-row { margin-top: 32px; }
.breadcrumb { font-size: .78rem; color: var(--ink-mute); margin-bottom: 28px; letter-spacing: .04em; }
.breadcrumb a { text-decoration: none; }
.breadcrumb a:hover { color: var(--bronze); }

.page-hero-media { margin-top: clamp(40px, 6vw, 64px); border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 21 / 8; box-shadow: var(--shadow); }
.page-hero-media img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 700px) { .page-hero-media { aspect-ratio: 4 / 3; } }

/* ---------- Cards ---------- */
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(24px, 3vw, 32px); position: relative;
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease), transform .3s var(--ease);
}
.card.hover:hover { border-color: var(--line-strong); box-shadow: var(--shadow); transform: translateY(-3px); }
.card h3 { color: var(--navy); }
.card p:last-child { margin-bottom: 0; }

.pillar-card { display: flex; flex-direction: column; padding: 0; overflow: hidden; text-decoration: none; color: inherit; height: 100%; }
.pillar-card .media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--bg-alt); }
.pillar-card .media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.pillar-card:hover .media img { transform: scale(1.04); }
.pillar-card .body { padding: 26px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.pillar-card .num { font-family: var(--font-display); font-size: 1rem; color: var(--bronze); letter-spacing: .08em; margin-bottom: 10px; font-weight: 600; }
.pillar-card h3 { font-size: 1.55rem; margin-bottom: 10px; }
.pillar-card p { color: var(--ink-soft); font-size: .94rem; flex: 1; }
.pillar-card .link-arrow { align-self: flex-start; margin-top: 12px; }

.cat-card { display: flex; flex-direction: column; padding: 0; overflow: hidden; height: 100%; }
.cat-card .media { aspect-ratio: 3 / 2; overflow: hidden; }
.cat-card .media img { width: 100%; height: 100%; object-fit: cover; }
.cat-card .body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.cat-card .body p { color: var(--ink-soft); font-size: .94rem; flex: 1; }
.cat-card .tag { font-size: .7rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--bronze); margin-bottom: 8px; }

/* ---------- Process ---------- */
.steps { display: grid; gap: 0; counter-reset: step; border-top: 1px solid var(--line); }
@media (min-width: 900px) { .steps.h { grid-template-columns: repeat(var(--n, 4), 1fr); border-top: 0; } }
.step { padding: 28px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 64px 1fr; gap: 8px; }
.step .n { font-family: var(--font-display); font-size: 2rem; color: var(--bronze); line-height: 1; }
.step h3 { margin-bottom: 6px; }
.step p { color: var(--ink-soft); font-size: .93rem; margin: 0; }
@media (min-width: 900px) {
  .steps.h .step { display: block; padding: 32px 28px 8px 0; border-bottom: 0; border-top: 1px solid var(--line-strong); position: relative; }
  .steps.h .step::before { content: ""; position: absolute; top: -4px; left: 0; width: 7px; height: 7px; border-radius: 50%; background: var(--bronze); }
  .steps.h .step .n { margin-bottom: 18px; display: block; }
}
.section.dark .step, .section.dark .steps { border-color: rgba(255,255,255,.14); }
.section.dark .steps.h .step { border-top-color: rgba(255,255,255,.22); }
.section.dark .step p { color: #b9bfca; }

/* ---------- Lists ---------- */
.check-list { list-style: none; display: grid; gap: 12px; }
.check-list li { position: relative; padding-left: 30px; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: .5em; width: 16px; height: 9px;
  border-left: 1.5px solid var(--bronze); border-bottom: 1.5px solid var(--bronze); transform: rotate(-45deg) translateY(-3px);
}
.dash-list { list-style: none; display: grid; gap: 10px; }
.dash-list li { position: relative; padding-left: 22px; color: var(--ink-soft); }
.dash-list li::before { content: ""; position: absolute; left: 0; top: .8em; width: 10px; height: 1px; background: var(--bronze); }
.chip-list { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.chip-list li { border: 1px solid var(--line-strong); border-radius: 999px; padding: 6px 14px; font-size: .84rem; color: var(--ink-soft); background: var(--surface); }
.section.dark .chip-list li { background: transparent; border-color: rgba(255,255,255,.25); color: #dcd8d0; }

/* ---------- Notices ---------- */
.notice {
  border-left: 2px solid var(--bronze); background: var(--surface); padding: 20px 24px; border-radius: 0 var(--radius) var(--radius) 0;
  font-size: .92rem; color: var(--ink-soft);
}
.notice strong { color: var(--ink); }
.notice p:last-child { margin-bottom: 0; }

/* ---------- Media figure ---------- */
.figure { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); background: var(--bg-alt); }
.figure img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }
.figure.tall img { aspect-ratio: 4 / 5; }

/* ---------- Feature (signage) ---------- */
.feature {
  display: grid; background: var(--navy); color: #e9e6df; border-radius: var(--radius-lg); overflow: hidden;
}
@media (min-width: 960px) { .feature { grid-template-columns: 1.1fr .9fr; } }
.feature .media img { width: 100%; height: 100%; object-fit: cover; min-height: 320px; }
.feature .body { padding: clamp(32px, 5vw, 64px); }
.feature h2 { color: #fff; }
.feature .eyebrow { color: var(--bronze-soft); }
.feature p { color: #c3c8d1; }
.feature .dash-list li { color: #c3c8d1; }

/* ---------- Detail blocks (category pages) ---------- */
.detail { padding: clamp(56px, 8vw, 96px) 0; border-top: 1px solid var(--line); }
.detail:first-of-type { border-top: 0; }
.detail .num { font-family: var(--font-display); color: var(--bronze); font-size: 1.1rem; letter-spacing: .08em; font-weight: 600; margin-bottom: 8px; }
.detail h2 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); color: var(--navy); }
.detail h3.sub { font-family: var(--font-body); font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-mute); font-weight: 600; margin: 28px 0 14px; }

/* ---------- Pricing / Services ---------- */
.service { display: grid; gap: clamp(28px, 4vw, 56px); padding: clamp(48px, 7vw, 80px) 0; border-top: 1px solid var(--line); }
@media (min-width: 900px) { .service { grid-template-columns: .9fr 1.1fr; align-items: start; } }
.service .label { font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: var(--bronze); font-weight: 600; margin-bottom: 14px; }
.service h2 { color: var(--navy); font-size: clamp(1.9rem, 3.4vw, 2.7rem); }
.price-box { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; margin: 24px 0; padding: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.price-box .amt { font-family: var(--font-display); font-size: 2.4rem; color: var(--navy); line-height: 1; font-weight: 600; }
.price-box .per { font-size: .86rem; color: var(--ink-soft); }
.price-box .status { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; color: var(--bronze); border: 1px solid var(--bronze-soft); padding: 4px 10px; border-radius: 999px; }

/* ---------- Comparison table ---------- */
.compare { width: 100%; border-collapse: collapse; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; font-size: .93rem; }
.compare th, .compare td { text-align: left; padding: 18px 20px; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare thead th { background: var(--navy); color: #fff; font-weight: 600; font-size: .82rem; letter-spacing: .04em; }
.compare tbody th { font-weight: 600; color: var(--navy); width: 22%; }
.compare td { color: var(--ink-soft); }
.compare tr:last-child th, .compare tr:last-child td { border-bottom: 0; }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: var(--radius-lg); }
@media (max-width: 760px) {
  .compare.stack thead { display: none; }
  .compare.stack, .compare.stack tbody, .compare.stack tr, .compare.stack th, .compare.stack td { display: block; width: 100%; }
  .compare.stack tr { border-bottom: 1px solid var(--line); padding: 8px 0; }
  .compare.stack tbody th { padding-bottom: 4px; border: 0; }
  .compare.stack td { border: 0; padding-top: 6px; padding-bottom: 6px; }
  .compare.stack td::before { content: attr(data-label); display: block; font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--bronze); font-weight: 600; margin-bottom: 2px; }
}

/* ---------- CTA band ---------- */
.cta-band { background: var(--navy); color: #fff; border-radius: var(--radius-lg); padding: clamp(36px, 6vw, 72px); display: grid; gap: 28px; align-items: center; position: relative; overflow: hidden; }
@media (min-width: 900px) { .cta-band { grid-template-columns: 1.4fr auto; } }
.cta-band h2 { color: #fff; margin-bottom: 10px; font-size: clamp(1.9rem, 3.6vw, 2.8rem); }
.cta-band p { color: #b9bfca; margin: 0; max-width: 40em; }
.cta-band::after { content: ""; position: absolute; right: -120px; top: -120px; width: 360px; height: 360px; border: 1px solid rgba(201,168,117,.25); border-radius: 50%; pointer-events: none; }

/* ---------- Skills Mirror band ---------- */
.sm-mark { display: inline-flex; align-items: center; gap: 12px; font-family: var(--font-display); font-size: 1.6rem; color: #fff; margin-bottom: 20px; }
.sm-mark svg { width: 40px; height: 40px; }
.future-grid { display: grid; gap: 1px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius-lg); overflow: hidden; }
@media (min-width: 640px) { .future-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .future-grid { grid-template-columns: repeat(5, 1fr); } }
.future-grid > div { background: var(--navy); padding: 24px; }
.future-grid h3 { font-family: var(--font-body); font-size: .95rem; font-weight: 600; color: #fff; margin-bottom: 6px; }
.future-grid p { font-size: .84rem; color: #a9b0bc; margin: 0 0 12px; }
.pill { display: inline-block; font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; padding: 3px 9px; border-radius: 999px; border: 1px solid rgba(201,168,117,.5); color: var(--bronze-soft); }
.pill.light { border-color: var(--bronze-soft); color: var(--bronze); }

/* ---------- Philosophy ---------- */
.principles { list-style: none; border-top: 1px solid var(--line); }
.principles li { display: grid; grid-template-columns: 56px 1fr; gap: 12px; padding: 24px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.principles .n { font-family: var(--font-display); color: var(--bronze); font-size: 1.2rem; }
.principles h3 { margin: 0 0 4px; font-size: 1.5rem; }
.principles p { margin: 0; color: var(--ink-soft); font-size: .94rem; }

/* ---------- Forms ---------- */
.form-shell { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 48px); box-shadow: var(--shadow); }
.form-grid { display: grid; gap: 18px 20px; }
@media (min-width: 700px) { .form-grid { grid-template-columns: 1fr 1fr; } .form-grid .full { grid-column: 1 / -1; } }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: .82rem; font-weight: 600; color: var(--ink); }
.field label .opt { font-weight: 400; color: var(--ink-mute); }
.field label .req { color: var(--bronze); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px;
  background: #fff; border: 1px solid var(--line-strong); border-radius: var(--radius);
  font-size: 16px; /* prevents iOS zoom */
  transition: border-color .2s, box-shadow .2s;
  -webkit-appearance: none; appearance: none;
}
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%2314233a' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(20,35,58,.08); }
.field .hint { font-size: .78rem; color: var(--ink-mute); }
.field .error { font-size: .8rem; color: var(--err); display: none; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: var(--err); }
.field.invalid .error, .invalid > .error { display: block; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: .84rem; color: var(--ink-soft); }
.consent input { width: 20px; height: 20px; margin-top: 2px; flex-shrink: 0; accent-color: var(--navy); }
.form-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-top: 8px; }
.form-actions .small { color: var(--ink-mute); }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin-top: 20px; border-radius: var(--radius); padding: 20px 22px; font-size: .94rem; display: none; }
.form-status.show { display: block; }
.form-status.ok { background: #eef5f0; border: 1px solid #c8dfd1; color: #234c39; }
.form-status.err { background: #f8eeec; border: 1px solid #e8cbc6; color: #7d2d24; }
.form-status.pending { background: #f6f1e6; border: 1px solid #e3d5b9; color: #5b4523; }
.form-status h3 { font-family: var(--font-body); font-size: 1rem; font-weight: 600; margin-bottom: 6px; color: inherit; }
.form-status .btn-row { margin-top: 14px; }
.form-status textarea { width: 100%; min-height: 140px; margin-top: 12px; font-size: .82rem; padding: 10px; border: 1px solid var(--line-strong); border-radius: var(--radius); background: #fff; font-family: ui-monospace, Menlo, Consolas, monospace; }
.btn[disabled] { opacity: .6; cursor: progress; }

/* ---------- Contact ---------- */
.contact-aside { display: grid; gap: 20px; align-content: start; }
.contact-item { padding: 20px 0; border-bottom: 1px solid var(--line); }
.contact-item:first-child { padding-top: 0; }
.contact-item .k { font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--bronze); font-weight: 600; margin-bottom: 6px; }
.contact-item .v { font-family: var(--font-display); font-size: 1.35rem; color: var(--navy); text-decoration: none; word-break: break-word; }
.contact-item a.v:hover { color: var(--bronze); }
.type-grid { display: grid; gap: 10px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 700px) { .type-grid { grid-template-columns: repeat(3, 1fr); } }
.type-grid button {
  text-align: left; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 14px 16px; cursor: pointer; font-size: .88rem; font-weight: 500; color: var(--ink); transition: border-color .2s, background .2s;
}
.type-grid button:hover { border-color: var(--line-strong); }
.type-grid button[aria-pressed="true"] { border-color: var(--navy); background: #fff; box-shadow: inset 0 0 0 1px var(--navy); }

/* ---------- Footer ---------- */
.site-footer { background: #101b2d; color: #a9b0bc; padding: clamp(56px, 8vw, 88px) 0 32px; font-size: .9rem; }
.footer-grid { display: grid; gap: 40px; }
@media (min-width: 900px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.site-footer .brand { color: #fff; }
.site-footer .brand-sub { color: var(--bronze-soft); }
.site-footer h4 { font-family: var(--font-body); font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: #fff; font-weight: 600; margin-bottom: 18px; }
.site-footer ul { list-style: none; display: grid; gap: 10px; }
.site-footer a { text-decoration: none; color: #a9b0bc; }
.site-footer a:hover { color: #fff; }
.footer-tag { margin-top: 20px; max-width: 30em; }
.footer-bottom { margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.1); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: .8rem; color: #7f8796; }

/* ---------- WhatsApp float ---------- */
.wa-float {
  position: fixed; right: 18px; bottom: calc(18px + env(safe-area-inset-bottom)); z-index: 90;
  display: inline-flex; align-items: center; gap: 10px;
  background: #1f7a52; color: #fff; text-decoration: none; font-weight: 600; font-size: .86rem;
  height: 52px; padding: 0 18px 0 14px; border-radius: 999px; box-shadow: 0 8px 24px rgba(0,0,0,.18);
  transition: transform .25s var(--ease), background .25s;
}
.wa-float:hover { background: #18663f; transform: translateY(-2px); }
.wa-float svg { width: 24px; height: 24px; }
@media (max-width: 520px) { .wa-float .wa-label { display: none; } .wa-float { width: 56px; height: 56px; padding: 0; justify-content: center; } }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* ---------- Utilities ---------- */
.mt-0 { margin-top: 0; } .mt-s { margin-top: 16px; } .mt-m { margin-top: 32px; } .mt-l { margin-top: 56px; }
.mb-0 { margin-bottom: 0; } .mb-m { margin-bottom: 32px; }
.center { text-align: center; }
.maxw { max-width: 40em; }
.kicker-num { font-family: var(--font-display); color: var(--bronze); }
.anchor-nav { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 32px; }
.anchor-nav a { font-size: .82rem; text-decoration: none; padding: 8px 14px; border: 1px solid var(--line-strong); border-radius: 999px; color: var(--ink-soft); background: var(--surface); transition: border-color .2s, color .2s; }
.anchor-nav a:hover { border-color: var(--navy); color: var(--navy); }
.anchor-nav a.featured { border-color: var(--bronze); color: var(--bronze); font-weight: 600; }

/* Feature block overrides (keep after .detail rules) */
.detail .feature h2 { color: #fff; }
.feature .chip-list li { background: transparent; border-color: rgba(255,255,255,.28); color: #dcd8d0; }

/* ---------- Equipment listings ---------- */
.listing-filter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.listing-filter button { font-size: .84rem; padding: 8px 14px; border: 1px solid var(--line-strong); border-radius: 999px; background: var(--surface); color: var(--ink-soft); cursor: pointer; }
.listing-filter button[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.listing { display: flex; flex-direction: column; padding: 0; overflow: hidden; }
.listing .media { position: relative; aspect-ratio: 4 / 3; background: var(--bg-alt); }
.listing .media img { width: 100%; height: 100%; object-fit: cover; }
.listing .no-photo { height: 100%; display: flex; align-items: center; justify-content: center; color: var(--ink-mute); font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; }
.listing .status { position: absolute; top: 14px; left: 14px; font-size: .68rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; background: #fff; color: var(--ok); }
.listing .status.s-reserved { color: var(--bronze); }
.listing .status.s-sold { background: var(--ink); color: #fff; }
.listing .photo-count { position: absolute; right: 14px; bottom: 14px; font-size: .72rem; background: rgba(20,35,58,.8); color: #fff; padding: 4px 9px; border-radius: 999px; }
.listing .body { padding: 22px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.listing .ref { font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--bronze); font-weight: 600; margin-bottom: 6px; }
.listing h3 { font-size: 1.4rem; margin-bottom: 6px; }
.listing .meta { font-size: .84rem; color: var(--ink-soft); margin-bottom: 4px; }
.listing details { margin: 10px 0 4px; border-top: 1px solid var(--line); padding-top: 10px; }
.listing summary { cursor: pointer; font-size: .84rem; font-weight: 600; color: var(--navy); }
.listing details h4 { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-mute); margin: 16px 0 8px; font-weight: 600; }
.listing .thumbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: 14px; }
.listing .thumbs img { aspect-ratio: 1; object-fit: cover; border-radius: var(--radius); }
.listing .foot { margin-top: auto; padding-top: 18px; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.listing .price { font-family: var(--font-display); font-size: 1.35rem; color: var(--navy); font-weight: 600; }
.listing.is-sold .media img { filter: grayscale(.8); opacity: .7; }
