/* Eaglekash: light and warm pages, dark hero and footer, gold accents.
   Tokens first, then base, layout, components, pages. */

:root {
  --ink: #1f1f1f;
  --ink-2: #2b2a28;
  --on-ink: #f4f1e8;
  --on-ink-muted: #cfc9ba;
  --gold: #eab030;
  --gold-hover: #f3c14f;
  --gold-ink: #8a5f00;
  --paper: #fffdf8;
  --wash: #fff3d1;
  --line: #e9dfc8;
  --text: #2a2926;
  --muted: #625d52;
  --danger: #b3261e;
  --ok: #2e7d4f;
  --radius: 4px;
  --wrap: 1180px;
  --font-display: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
  --font-body: "Instrument Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  --notch: 26px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--paper);
  text-rendering: optimizeLegibility;
}
img, svg, iframe { max-width: 100%; display: block; }
img { height: auto; }
a { color: inherit; }
ul, ol { padding: 0; margin: 0; list-style: none; }
h1, h2, h3, h4, p, figure, blockquote, dl, dd { margin: 0; }

h1, h2, h3 { font-family: var(--font-display); font-weight: 700; letter-spacing: -0.02em; line-height: 1.12; }
h1 { font-size: clamp(2.5rem, 5.6vw, 4.4rem); }
h2 { font-size: clamp(1.75rem, 3.3vw, 2.4rem); }
h3 { font-size: 1.25rem; letter-spacing: -0.01em; }

:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.site-header :focus-visible, .hero :focus-visible, .site-footer :focus-visible, .page-head :focus-visible { outline-color: var(--gold); }
.cta-band :focus-visible { outline-color: var(--ink); }

.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.narrow { max-width: 760px; }
.sr-only { position: absolute; 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: 1rem; top: -4rem; z-index: 100; background: var(--gold); color: var(--ink); padding: .6rem 1rem; border-radius: var(--radius); font-weight: 600; }
.skip-link:focus { top: 1rem; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Buttons and links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .8rem 1.35rem; border-radius: var(--radius); border: 2px solid transparent;
  font: 600 1rem/1.2 var(--font-body); text-decoration: none; cursor: pointer;
  transition: background-color .15s, border-color .15s, color .15s;
}
.btn--sm { padding: .55rem 1rem; font-size: .95rem; }
.btn--lg { padding: 1rem 1.7rem; font-size: 1.05rem; }
.btn--block { display: flex; width: 100%; }
.btn--gold { background: var(--gold); color: var(--ink); }
.btn--gold:hover { background: var(--gold-hover); }
.btn--ink { background: var(--ink); color: #fff; }
.btn--ink:hover { background: #000; }
.btn--ghost { border-color: rgba(255,255,255,.45); color: #fff; }
.btn--ghost:hover { border-color: var(--gold); color: var(--gold); }
.btn--outline { border-color: var(--ink); color: var(--ink); }
.btn--outline:hover { background: var(--ink); color: #fff; }
.btn--outline-ink { border-color: var(--ink); color: var(--ink); }
.btn--outline-ink:hover { background: var(--ink); color: #fff; }

.link { font-weight: 600; color: var(--gold-ink); text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 2px; text-decoration-color: var(--gold); }
.link:hover { color: var(--ink); }

.actions { display: flex; flex-wrap: wrap; gap: .85rem; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 40; background: var(--ink); border-bottom: 1px solid rgba(255,255,255,.08); }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 4.5rem; }
.brand img { height: 46px; width: auto; }
.site-nav { display: flex; align-items: center; gap: 1.6rem; }
.site-nav a:not(.btn) { color: var(--on-ink); text-decoration: none; font-weight: 500; padding: .35rem 0; border-bottom: 2px solid transparent; }
.site-nav a:not(.btn):hover { border-color: rgba(234,176,48,.6); }
.site-nav a[aria-current="page"] { border-color: var(--gold); }
.nav-toggle { display: none; background: none; border: 0; padding: .75rem; margin-right: -.75rem; cursor: pointer; color: #fff; }
.nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after { display: block; width: 24px; height: 2px; background: currentColor; transition: transform .2s; }
.nav-toggle__bars { position: relative; }
.nav-toggle__bars::before, .nav-toggle__bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle__bars::before { top: -7px; }
.nav-toggle__bars::after { top: 7px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { top: 0; transform: rotate(-45deg); }

/* ---------- Hero: the shield is the one memorable element ---------- */
.hero {
  background-color: var(--ink);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 .05 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  color: var(--on-ink);
  padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(3rem, 7vw, 5.5rem);
  overflow: hidden;
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.hero h1 { color: #fff; max-width: 13ch; }
.hero .lead { margin-top: 1.25rem; max-width: 34ch; font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: var(--on-ink-muted); }
.hero .actions { margin-top: 2rem; }
.hero-points { margin-top: 2.25rem; display: flex; flex-wrap: wrap; gap: .6rem 1.75rem; color: var(--on-ink-muted); font-size: .98rem; }
.hero-points li { display: flex; align-items: center; gap: .5rem; }
.hero-points svg { color: var(--gold); flex: none; }

.hero-media { justify-self: end; width: min(100%, 420px); }
.shield {
  position: relative; aspect-ratio: 4 / 5; padding: 7px; background: var(--gold);
  clip-path: polygon(0 0, 84% 0, 100% 13%, 100% 80%, 50% 100%, 0 80%);
}
.shield__inner {
  position: relative; width: 100%; height: 100%; background: var(--ink-2); overflow: hidden;
  clip-path: polygon(0 0, 84% 0, 100% 13%, 100% 80%, 50% 100%, 0 80%);
}
.slide { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .8s ease; }
.slide.is-active { opacity: 1; }
.carousel-dots { display: flex; justify-content: center; gap: .5rem; margin-top: 1.1rem; }
.carousel-dots button { width: 28px; height: 6px; padding: 0; border: 0; border-radius: 3px; background: rgba(255,255,255,.3); cursor: pointer; }
.carousel-dots button[aria-current="true"] { background: var(--gold); }

/* ---------- Sections ---------- */
.section { padding: clamp(3.25rem, 7vw, 5.5rem) 0; }
.section--wash { background: var(--wash); }
.section h2 + * { margin-top: 1.75rem; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-bottom: 2rem; }
.section-head + * { margin-top: 0; }
.section-head h2 + * { margin-top: 0; }
.empty { padding: 2.5rem 1.5rem; text-align: center; border: 2px dashed var(--line); border-radius: var(--radius); color: var(--muted); }
.prose { max-width: 64ch; line-height: 1.75; }
.prose p + p, .prose ul + p, .prose p + ul, .prose h1 + p, .prose h2 + p { margin-top: 1rem; }
.prose h1, .prose h2, .prose h3 { margin-top: 2rem; font-size: 1.4rem; }
.prose ul { list-style: disc; padding-left: 1.25rem; }
.prose li + li { margin-top: .35rem; }
.prose a { color: var(--gold-ink); }
.prose h2 { font-size: 1.6rem; }
.prose h3 { font-size: 1.25rem; }
.prose h4 { margin-top: 1.5rem; font-size: 1.05rem; }
.prose h2:first-child, .prose h3:first-child { margin-top: 0; }
.prose h2, .prose h3 { scroll-margin-top: 6rem; }
.prose h3 + p, .prose h4 + p, .prose p + ol, .prose ol + p, .prose blockquote + p, .prose p + blockquote, .prose p + .table-wrap, .prose .table-wrap + p, .prose ul + ul, .prose ol + ul, .prose ul + ol { margin-top: 1rem; }
.prose ol { list-style: decimal; padding-left: 1.25rem; }
.prose blockquote { margin-top: 1rem; padding-left: 1.25rem; border-left: 4px solid var(--gold); color: var(--muted); }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 2rem 0; }
.table-wrap { overflow-x: auto; margin-top: 1rem; }
.prose table { width: 100%; border-collapse: collapse; font-size: .98rem; }
.prose th, .prose td { border: 1px solid var(--line); padding: .6rem .8rem; text-align: left; vertical-align: top; }
.prose th { background: var(--wash); font-weight: 600; }
.toc { margin: 1.25rem 0 2rem; padding: 1rem 1.25rem; border-left: 4px solid var(--gold); background: var(--wash); max-width: 64ch; }
.toc h2 { font-size: 1.1rem; }
.toc h2 + * { margin-top: .6rem; }
.toc li + li { margin-top: .3rem; }
.toc a { color: var(--gold-ink); }

.stats { background: var(--wash); border-bottom: 1px solid var(--line); }
.stats-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.stats-row > div { display: flex; flex-direction: column-reverse; padding: 1.6rem 1.25rem; border-left: 1px solid var(--line); }
.stats-row > div:first-child { border-left: 0; padding-left: 0; }
.stats-row dd { font: 700 clamp(2rem, 4vw, 2.8rem)/1 var(--font-display); letter-spacing: -0.02em; }
.stats-row dt { color: var(--muted); font-size: .95rem; margin-top: .35rem; }

/* ---------- Page head ---------- */
.page-head { background: var(--ink); color: #fff; padding: clamp(2.25rem, 5vw, 3.75rem) 0; border-bottom: 5px solid var(--gold); }
.page-head h1 { font-size: clamp(2rem, 4.4vw, 3.2rem); max-width: 20ch; }
.page-head .lead { margin-top: .85rem; color: var(--on-ink-muted); font-size: 1.15rem; max-width: 46ch; }

/* ---------- Product cards ---------- */
.product-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(265px, 1fr)); gap: 1.5rem; }
.product-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.product-card__media { display: block; aspect-ratio: 10 / 7; overflow: hidden; clip-path: polygon(0 0, calc(100% - var(--notch)) 0, 100% var(--notch), 100% 100%, 0 100%); background: var(--ink-2); }
.product-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.product-card:hover .product-card__media img { transform: scale(1.04); }
.product-card__body { display: flex; flex-direction: column; gap: .5rem; padding: 1.25rem 1.35rem 1.4rem; flex: 1; }
.product-card h3 a { text-decoration: none; }
.product-card h3 a:hover { color: var(--gold-ink); }
.product-card p { color: var(--muted); }
.product-card__amount { color: var(--text) !important; font-weight: 600; }
.product-card__actions { display: flex; align-items: center; gap: 1.25rem; margin-top: auto; padding-top: .9rem; }

/* ---------- Steps (a real sequence, so numbered) ---------- */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 2rem; counter-reset: step; }
.steps li { counter-increment: step; border-top: 4px solid var(--gold); padding-top: 1.1rem; }
.steps li::before { content: counter(step); display: block; font: 700 2.4rem/1 var(--font-display); color: var(--gold-ink); margin-bottom: .6rem; }
.steps p { margin-top: .4rem; color: var(--muted); }

/* ---------- Gallery tiles ---------- */
.story-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1rem; }
.tile {
  position: relative; display: block; padding: 0; border: 0; background: var(--ink-2); cursor: pointer; overflow: hidden;
  aspect-ratio: 1; color: #fff; text-align: left; text-decoration: none; font: inherit;
  clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 22px, 100% 100%, 0 100%);
}
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.tile:hover img { transform: scale(1.04); }
.tile--lead { grid-column: span 2; grid-row: span 2; }
.tile-caption { position: absolute; inset: auto 0 0 0; display: flex; flex-direction: column; padding: 2.5rem 1rem .9rem; background: linear-gradient(to top, rgba(0,0,0,.78), transparent); }
.tile-caption small { color: var(--on-ink-muted); font-size: .85rem; }
.tile-play { position: absolute; top: 50%; left: 50%; width: 58px; height: 58px; transform: translate(-50%, -50%); border-radius: 50%; background: var(--gold); }
.tile-play::after { content: ""; position: absolute; top: 50%; left: 52%; transform: translate(-50%, -50%); border-style: solid; border-width: 10px 0 10px 16px; border-color: transparent transparent transparent var(--ink); }
.filters { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.75rem; }
.filters a { padding: .45rem 1.1rem; border: 2px solid var(--line); border-radius: 999px; text-decoration: none; font-weight: 600; }
.filters a[aria-current="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.filters a:hover { border-color: var(--gold); }

.lightbox { width: min(94vw, 980px); max-height: 94vh; padding: 1rem; border: 0; border-radius: var(--radius); background: var(--ink); color: #fff; }
.lightbox::backdrop { background: rgba(0,0,0,.82); }
.lightbox-close { position: absolute; top: .6rem; right: .6rem; z-index: 2; background: var(--gold); color: var(--ink); border: 0; border-radius: var(--radius); padding: .45rem .9rem; font: 600 .95rem var(--font-body); cursor: pointer; }
.lightbox-stage img { max-height: 70vh; width: auto; margin-inline: auto; object-fit: contain; }
.lightbox-stage .video { position: relative; aspect-ratio: 16 / 9; }
.lightbox-stage iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.lightbox-text { padding: 1rem .25rem 0; }
.lightbox-text p { color: var(--on-ink-muted); margin-top: .25rem; }

/* ---------- Testimonials, FAQ ---------- */
.quote-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 2.25rem; }
.quote { border-left: 4px solid var(--gold); padding-left: 1.4rem; display: flex; flex-direction: column; gap: 1.25rem; }
.quote blockquote { font: 600 1.2rem/1.45 var(--font-display); letter-spacing: -0.01em; }
.quote figcaption { display: flex; align-items: center; gap: .8rem; }
.quote figcaption img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.quote small, .member-role { display: block; color: var(--muted); font-size: .92rem; }
.avatar { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--gold); color: var(--ink); font: 700 1rem var(--font-display); flex: none; }
.avatar--lg { width: 96px; height: 96px; font-size: 1.8rem; }

.faq-layout { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(1.5rem, 5vw, 4rem); align-items: start; }
.faq-layout h2 + * { margin-top: 0; }
details { border-bottom: 1px solid var(--line); }
details:first-child { border-top: 1px solid var(--line); }
summary { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.1rem 0; font-weight: 600; cursor: pointer; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::after { content: ""; flex: none; width: .6rem; height: .6rem; border-right: 2px solid var(--gold-ink); border-bottom: 2px solid var(--gold-ink); transform: rotate(45deg); transition: transform .2s; margin-right: .3rem; }
details[open] > summary::after { transform: rotate(-135deg); }
details > p, .job-body { padding: 0 0 1.25rem; color: var(--muted); max-width: 62ch; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--gold); color: var(--ink); padding: clamp(2.5rem, 5vw, 3.5rem) 0; }
.cta-row { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem 2.5rem; flex-wrap: wrap; }
.cta-band h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--on-ink-muted); padding-top: clamp(2.75rem, 6vw, 4rem); font-size: .98rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.4fr; gap: 2.5rem; }
.footer-brand p { margin-top: 1rem; max-width: 30ch; }
.footer-title { font: 700 1.05rem var(--font-display); color: #fff; margin-bottom: .9rem; letter-spacing: 0; }
.site-footer li + li { margin-top: .5rem; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }
.social { display: flex; flex-wrap: wrap; gap: .5rem 1.1rem; margin-top: 1.2rem; }
.social li + li { margin-top: 0; }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .75rem 2rem; margin-top: 2.75rem; padding: 1.4rem 0 1.8rem; border-top: 1px solid rgba(255,255,255,.12); font-size: .9rem; }
.footer-legal { display: flex; gap: 1.5rem; }
.footer-legal li + li { margin-top: 0; }
.footer-regulator { flex-basis: 100%; order: 3; max-width: 80ch; }

/* ---------- WhatsApp button ---------- */
.wa-fab {
  position: fixed; right: 1.1rem; bottom: calc(1.1rem + env(safe-area-inset-bottom, 0px)); z-index: 60;
  display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%;
  background: #25d366; color: #fff; box-shadow: 0 4px 14px rgba(0,0,0,.28); transition: transform .15s;
}
.wa-fab:hover { transform: scale(1.07); }

/* ---------- Forms ---------- */
.field { margin-bottom: 1.1rem; }
.field label:not(.check) { display: block; font-weight: 600; margin-bottom: .35rem; font-size: .98rem; }
.optional { color: var(--muted); font-weight: 400; }
input[type="text"], input[type="search"], input[type="email"], input[type="number"], input[type="tel"], select, textarea {
  width: 100%; padding: .75rem .9rem; font: inherit; color: var(--text); background: #fff;
  border: 1.5px solid #cdbf9d; border-radius: var(--radius);
}
textarea { resize: vertical; min-height: 6.5rem; }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid var(--gold); outline-offset: 1px; border-color: var(--ink); }
.field--error input, .field--error textarea, .field--error select { border-color: var(--danger); }
.error { color: var(--danger); font-size: .92rem; margin-top: .35rem; font-weight: 500; }
.help { color: var(--muted); font-size: .9rem; margin-top: .3rem; }
.check { display: flex; gap: .7rem; align-items: flex-start; font-weight: 400; line-height: 1.45; cursor: pointer; }
.check__box input { width: 1.2rem; height: 1.2rem; margin: .15rem 0 0; accent-color: var(--ink); }
.alert { background: #fdecea; border-left: 4px solid var(--danger); color: #6d1812; padding: .8rem 1rem; margin-bottom: 1.1rem; border-radius: var(--radius); }
.fineprint { color: var(--muted); font-size: .88rem; margin-top: .9rem; }
.fineprint a { color: var(--gold-ink); }
.card-form, .apply-card { background: #fff; border: 1px solid var(--line); border-top: 5px solid var(--gold); border-radius: var(--radius); padding: 1.6rem; }
.card-form h2, .apply-card h2 { font-size: 1.5rem; margin-bottom: .4rem; }
.card-form h2 + *, .apply-card h2 + * { margin-top: 0; }
.apply-note { color: var(--muted); margin-bottom: 1.4rem; }
.card-form h2 { margin-bottom: 1.25rem; }

/* ---------- Product detail ---------- */
.product-layout { display: grid; grid-template-columns: minmax(0, 1fr) 410px; gap: clamp(2rem, 5vw, 3.5rem); align-items: start; }
.product-hero { width: 100%; aspect-ratio: 10 / 7; object-fit: cover; background: var(--ink-2); clip-path: polygon(0 0, calc(100% - 40px) 0, 100% 40px, 100% 100%, 0 100%); }
.product-summary { margin-top: 1.75rem; font-size: 1.25rem; line-height: 1.55; max-width: 52ch; }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1.25rem; margin-top: 2rem; }
.facts > div { border-left: 4px solid var(--gold); padding-left: 1rem; }
.facts dt { color: var(--muted); font-size: .92rem; }
.facts dd { font: 700 1.2rem/1.3 var(--font-display); margin-top: .15rem; }
.product-main h2 { margin-top: 2.5rem; font-size: 1.5rem; }
.product-main h2 + * { margin-top: 1rem; }
.product-main .prose { margin-top: 2rem; }
.ticks li { position: relative; padding-left: 1.9rem; }
.ticks li + li { margin-top: .6rem; }
.ticks li::before { content: ""; position: absolute; left: .15rem; top: .42em; width: .75rem; height: .4rem; border-left: 3px solid var(--gold-ink); border-bottom: 3px solid var(--gold-ink); transform: rotate(-45deg); }
.apply-card { position: sticky; top: 5.75rem; }

/* ---------- Other pages ---------- */
.thanks h1 { font-size: clamp(2.1rem, 4.5vw, 3.2rem); }
.thanks .actions { margin-top: 1.75rem; }
.thanks p { margin-top: 1rem; }
.lead-dark { font-size: 1.2rem; color: var(--muted); }
.reference { margin: 2rem 0 1.5rem; padding: 1.25rem 1.5rem; background: var(--wash); border-left: 5px solid var(--gold); display: flex; flex-direction: column; gap: .15rem; }
.reference span, .reference small { color: var(--muted); font-size: .92rem; }
.reference strong { font: 700 2.3rem/1.1 var(--font-display); letter-spacing: .06em; }

.contact-layout { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.contact-details h2 { font-size: 1.5rem; margin-bottom: 1.25rem; }
.contact-list li { display: grid; grid-template-columns: 5.5rem 1fr; gap: .75rem; padding: .9rem 0; border-top: 1px solid var(--line); }
.contact-list li:last-child { border-bottom: 1px solid var(--line); }
.contact-list span { color: var(--muted); }
.contact-list a { font-weight: 600; }
.contact-list address { font-style: normal; }
.contact-details .link { display: inline-block; margin-top: 1.25rem; }

.map iframe { width: 100%; height: 380px; border: 0; border-radius: var(--radius); background: var(--wash); }
.map .link { display: inline-block; margin: .85rem 0 2.25rem; }
.branch-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 1.75rem; }
.branch { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.branch > img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: var(--ink-2); }
.branch-body { padding: 1.25rem 1.35rem 1.4rem; display: flex; flex-direction: column; gap: .35rem; flex: 1; }
.branch-body h2 { font-size: 1.4rem; margin-bottom: .35rem; }
.branch-body h2 + * { margin-top: 0; }
.branch-actions { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: auto; padding-top: .9rem; }
.badge { display: inline-block; vertical-align: middle; margin-left: .4rem; padding: .15rem .6rem; background: var(--wash); color: var(--gold-ink); border: 1px solid var(--gold); border-radius: 999px; font: 600 .78rem var(--font-body); letter-spacing: 0; }

.job summary { flex-direction: column; align-items: flex-start; gap: .15rem; position: relative; padding-right: 2rem; }
.job summary::after { position: absolute; right: .2rem; top: 1.6rem; }
.job-title { font: 700 1.3rem var(--font-display); }
.job-meta { color: var(--muted); font-weight: 400; font-size: .95rem; }
.job-body h3 { font-size: 1.05rem; margin: 1rem 0 .6rem; color: var(--text); }
.job-body .btn { margin-top: 1rem; }

.about-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.about-photo { width: 100%; aspect-ratio: 5 / 6; object-fit: cover; background: var(--ink-2); clip-path: polygon(0 0, calc(100% - 40px) 0, 100% 40px, 100% 100%, 0 100%); }
.duo { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2.5rem; }
.duo h2 + * { margin-top: .9rem; }
.duo p { font-size: 1.15rem; max-width: 46ch; }
.values { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.75rem 2rem; }
.values > div { border-top: 4px solid var(--gold); padding-top: 1rem; }
.values p { margin-top: .4rem; color: var(--muted); }
.team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 2rem; }
.member img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius); margin-bottom: .9rem; }
.member .avatar { margin-bottom: .9rem; }
.member p:not(.member-role) { margin-top: .5rem; color: var(--muted); font-size: .95rem; }

/* ---------- Downloads ---------- */
.doc-tools { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1rem 2rem; margin-bottom: 2rem; }
.doc-tools .filters { margin-bottom: 0; }
.doc-search { width: min(100%, 26rem); }
.doc-search label { display: block; font-weight: 600; font-size: .98rem; margin-bottom: .35rem; }
.doc-search__row { display: flex; gap: .5rem; }
.doc-search .btn { padding-block: .75rem; }
.doc-group { font-size: 1.5rem; margin: 2.5rem 0 1rem; }
.doc-group:first-of-type { margin-top: 0; }
.doc-list { border-top: 1px solid var(--line); }
.doc-row { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 1rem 1.25rem; padding: 1.1rem 0; border-bottom: 1px solid var(--line); }
.file-badge { display: grid; place-items: center; min-width: 3.4rem; padding: .5rem .4rem; background: var(--ink); color: var(--gold); border-radius: var(--radius); font: 700 .8rem/1 var(--font-display); text-align: center; }
.doc-main h3 { font-size: 1.1rem; letter-spacing: -0.01em; }
.doc-desc { color: var(--muted); margin-top: .2rem; }
.doc-meta { display: flex; flex-wrap: wrap; gap: .1rem 1rem; margin-top: .35rem; color: var(--muted); font-size: .92rem; }
.doc-row--closed .doc-main h3, .doc-row--closed .doc-desc { color: var(--muted); }
.doc-row--closed .file-badge { background: var(--muted); color: #fff; }
.pager { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 2rem; color: var(--muted); }
.empty a { color: var(--gold-ink); font-weight: 600; }

/* ---------- Loan calculator ---------- */
.calc { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
.calc--embedded { grid-template-columns: 1fr; margin-top: 2.5rem; }
.calc-range { display: block; width: 100%; margin-top: .75rem; accent-color: var(--gold-ink); }
.calc-form .error:empty { display: none; }
.calc-sentence { font: 700 clamp(1.6rem, 3.6vw, 2.5rem)/1.2 var(--font-display); letter-spacing: -0.02em; max-width: 22ch; }
.calc-sentence:empty { display: none; }
.calc-facts { margin-top: 1.5rem; }
.calc-schedule { margin-top: 2rem; border-top: 1px solid var(--line); }
.calc-table { max-height: 26rem; overflow: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; margin-bottom: 1.25rem; }
.calc-table table { width: 100%; border-collapse: collapse; font-size: .95rem; font-variant-numeric: tabular-nums; }
.calc-table th, .calc-table td { padding: .55rem .8rem; text-align: right; white-space: nowrap; border-bottom: 1px solid var(--line); }
.calc-table th:nth-child(-n+2), .calc-table td:nth-child(-n+2) { text-align: left; }
.calc-table thead th { position: sticky; top: 0; background: var(--wash); font-weight: 600; box-shadow: 0 1px 0 var(--line); }
.calc-actions { margin-top: 1.25rem; }
.js .calc-submit { display: none; }
.head-links { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-media { justify-self: center; width: min(78%, 340px); }
  .hero h1 { max-width: 16ch; }
  .calc { grid-template-columns: 1fr; }
  .product-layout, .contact-layout, .about-grid, .faq-layout { grid-template-columns: 1fr; }
  .apply-card { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .js .site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0; background: var(--ink); padding: .5rem 1.25rem 1.25rem; border-bottom: 1px solid rgba(255,255,255,.1); }
  .js .site-nav.is-open { display: flex; }
  .site-nav a:not(.btn) { padding: .85rem 0; border-bottom: 1px solid rgba(255,255,255,.08); }
  .site-nav .btn { margin-top: 1rem; }
  html:not(.js) .site-nav { flex-wrap: wrap; gap: .5rem 1rem; }
  html:not(.js) .header-row { flex-wrap: wrap; padding: .75rem 0; }
}

@media (max-width: 640px) {
  .doc-row { grid-template-columns: auto minmax(0, 1fr); }
  .calc-actions .btn { flex: 1 1 100%; }
  .doc-row .btn { grid-column: 1 / -1; }
  .story-grid { grid-template-columns: repeat(2, 1fr); }
  .tile--lead { grid-column: span 2; grid-row: auto; aspect-ratio: 2 / 1; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: .6rem; }
  .stats-row > div:nth-child(odd) { border-left: 0; padding-left: 0; }
  .contact-list li { grid-template-columns: 1fr; gap: .1rem; }
  .btn--lg { padding: .9rem 1.4rem; }
  .hero .actions .btn { flex: 1 1 100%; }
}

@media print {
  .site-header, .site-footer, .wa-fab, .skip-link, .cta-band, .calc-form, .calc-actions, .toc { display: none !important; }
  body { background: #fff; font-size: 11pt; }
  .section { padding: 1rem 0; }
  .calc { display: block; }
  .calc-table { max-height: none; overflow: visible; border: 0; }
  .calc-table thead th { position: static; }
  details > :not(summary) { display: block; }
  a { text-decoration: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
