/* ==========================================================================
   The Loft Company — design system
   Palette drawn from the logo: gold (#FFE058) + sky blue (#2088E8) on deep navy.
   ========================================================================== */

:root {
  --ink: #0c1a2b;          /* deep navy — primary dark surface */
  --ink-2: #13263d;        /* raised navy */
  --ink-3: #1d3654;
  --blue: #2088e8;         /* logo blue — accents on dark */
  --blue-deep: #1565b5;    /* blue for text/links on light (AA) */
  --gold: #ffd84a;         /* logo gold — CTAs, highlights */
  --gold-deep: #e8b923;
  --paper: #f7f4ee;        /* warm off-white section background */
  --surface: #ffffff;
  --line: #e6e0d5;
  --line-dark: rgba(255, 255, 255, .12);
  --text: #1a2433;
  --muted: #5b6676;
  --muted-on-dark: #a9b6c7;

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

  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 1px 2px rgba(12, 26, 43, .06), 0 8px 24px rgba(12, 26, 43, .08);
  --shadow-lg: 0 24px 60px rgba(12, 26, 43, .18);
  --container: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(64px, 9vw, 120px);
  --header-h: 76px;
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; display: block; }
img { height: auto; }
a { color: var(--blue-deep); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin: 0 0 .5em;
  font-variation-settings: "opsz" 96;
}
h1 { font-size: clamp(2.4rem, 5.6vw, 4.4rem); }
h2 { font-size: clamp(2rem, 4vw, 3.1rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); font-variation-settings: "opsz" 36; }
p { margin: 0 0 1em; }
ul { padding-left: 1.2em; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 4px; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); }
.section--paper { background: var(--paper); }
.section--ink { background: var(--ink); color: #dce4ee; }
.section--ink h2, .section--ink h3 { color: #fff; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
[hidden] { display: none !important; }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 1000;
  background: var(--gold); color: var(--ink); padding: 10px 16px; border-radius: 8px; font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: 12px; }

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

/* ---------- Typography helpers ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-body);
  font-size: .78rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase;
  color: var(--blue-deep); margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; }
.section--ink .eyebrow, .hero .eyebrow { color: var(--gold); }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.25rem); color: var(--muted); max-width: 62ch; }
.section--ink .lead { color: var(--muted-on-dark); }
.section-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 64px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }
.section-head--center .lead { margin-inline: auto; }
em.accent { font-style: italic; color: var(--blue-deep); }
.section--ink em.accent, .hero em.accent { color: var(--gold); }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--gold); --fg: var(--ink);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 14px 26px;
  font: 700 1rem/1 var(--font-body); letter-spacing: .01em;
  color: var(--fg); background: var(--bg);
  border: 2px solid var(--bg); border-radius: 999px;
  text-decoration: none; cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
}
.btn:hover { color: var(--fg); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(255, 216, 74, .28); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn--ghost { --bg: transparent; --fg: #fff; border-color: rgba(255, 255, 255, .35); }
.btn--ghost:hover { border-color: #fff; box-shadow: none; }
.btn--dark { --bg: var(--ink); --fg: #fff; }
.btn--dark:hover { box-shadow: var(--shadow); }
.btn--block { width: 100%; }

/* ---------- Top bar ---------- */
.topbar { background: #08131f; color: var(--muted-on-dark); font-size: .85rem; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 40px; }
.topbar a { color: #fff; text-decoration: none; font-weight: 600; }
.topbar a:hover { color: var(--gold); }
.topbar__items { display: flex; gap: 24px; align-items: center; }
.topbar__item { display: inline-flex; align-items: center; gap: 8px; }
.topbar__item svg { width: 15px; height: 15px; color: var(--gold); }
.topbar__item { white-space: nowrap; }
@media (max-width: 760px) { .topbar__hide-sm { display: none; } }
@media (max-width: 480px) { .topbar__area-long { display: none; } }
@media (min-width: 481px) { .topbar__area-short { display: none; } }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(12, 26, 43, .92);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--line-dark);
  transition: box-shadow .25s ease;
}
.site-header.is-scrolled { box-shadow: 0 8px 30px rgba(0, 0, 0, .25); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: var(--header-h); }
.brand { display: block; flex: none; }
.brand img { height: 52px; width: auto; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  color: #dce4ee; text-decoration: none; font-weight: 600; font-size: .95rem;
  padding: 10px 12px; border-radius: 8px; transition: color .2s, background .2s;
}
.nav a:hover, .nav a[aria-current="true"] { color: #fff; background: rgba(255, 255, 255, .07); }
.header-cta { display: flex; align-items: center; gap: 12px; }
.header-cta .btn { min-height: 44px; padding: 10px 20px; font-size: .95rem; }
.nav-toggle {
  display: none; width: 46px; height: 46px; border-radius: 10px;
  background: transparent; border: 1px solid var(--line-dark); color: #fff; cursor: pointer;
  align-items: center; justify-content: center;
}
.nav-toggle svg { width: 22px; height: 22px; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

@media (max-width: 1060px) {
  .nav-toggle { display: inline-flex; }
  .header-cta .btn { display: none; }
  .nav {
    position: fixed; inset: calc(var(--header-h) + 40px) 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--ink); padding: 12px var(--gutter) 28px;
    border-bottom: 1px solid var(--line-dark);
    box-shadow: 0 30px 60px rgba(0, 0, 0, .35);
    transform: translateY(-12px); opacity: 0; visibility: hidden;
    transition: transform .25s ease, opacity .25s ease, visibility .25s;
  }
  .nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .nav a { padding: 14px 6px; font-size: 1.1rem; border-bottom: 1px solid var(--line-dark); border-radius: 0; }
  .nav a.btn { margin-top: 18px; border-bottom: 0; border-radius: 999px; color: var(--ink); background: var(--gold); }
  .site-header.is-scrolled .nav, .topbar-hidden .nav { inset-block-start: var(--header-h); }
}
@media (min-width: 1061px) { .nav .btn { display: none; } }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: var(--ink); color: #dce4ee;
  padding-block: clamp(56px, 8vw, 110px) clamp(64px, 9vw, 120px);
}
.hero::before { /* blueprint grid */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(32, 136, 232, .09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(32, 136, 232, .09) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at 20% 40%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 20% 40%, #000 20%, transparent 75%);
}
.hero .container { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(40px, 6vw, 80px); align-items: center; }
.hero h1 { color: #fff; margin-bottom: 22px; }
.hero__area { display: block; width: max-content; max-width: 100%; white-space: nowrap; font-size: min(.6em, 6.1vw, 2.35rem); margin-top: .15em; }
.hero__lead { font-size: clamp(1.1rem, 1.6vw, 1.28rem); color: #c3cfdd; max-width: 56ch; margin-bottom: 32px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 40px; }
.hero__points { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 24px; }
.hero__points li { display: flex; gap: 10px; align-items: flex-start; font-weight: 600; color: #e7edf4; font-size: .98rem; }
.hero__points svg { width: 20px; height: 20px; color: var(--gold); flex: none; margin-top: 3px; }
.hero__media { position: relative; }
.hero__media::before { /* offset gold frame */
  content: ""; position: absolute; inset: 22px -22px -22px 22px;
  border: 2px solid var(--gold); border-radius: var(--radius-lg); opacity: .8;
}
.hero__media img { position: relative; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.hero__badge {
  position: absolute; left: -28px; bottom: 36px;
  background: #fff; color: var(--ink); border-radius: var(--radius);
  padding: 16px 20px; box-shadow: var(--shadow-lg); display: flex; align-items: center; gap: 14px; max-width: 270px;
}
.hero__badge strong { font-family: var(--font-display); font-size: 2.1rem; line-height: 1; color: var(--blue-deep); }
.hero__badge span { font-size: .85rem; line-height: 1.35; font-weight: 600; color: var(--muted); }
@media (max-width: 900px) {
  .hero .container { grid-template-columns: 1fr; }
  .hero__media { max-width: 520px; margin-inline: auto 22px; }
  .hero__media img { aspect-ratio: 4 / 3.4; }
  .hero__badge { left: 12px; bottom: -22px; }
}
@media (max-width: 480px) { .hero__points { grid-template-columns: 1fr; } }

/* ---------- Trust strip ---------- */
.trust { background: var(--ink-2); border-top: 1px solid var(--line-dark); }
.trust ul { list-style: none; margin: 0; padding: 22px 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.trust li { display: flex; align-items: center; gap: 12px; color: #dce4ee; font-weight: 600; font-size: .95rem; }
.trust svg { width: 28px; height: 28px; color: var(--blue); flex: none; }
@media (max-width: 900px) { .trust ul { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .trust ul { grid-template-columns: 1fr; gap: 14px; } }

/* ---------- Intro / about ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 88px); align-items: center; }
.split--reverse > :first-child { order: 2; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } .split--reverse > :first-child { order: 0; } }
.media-frame { position: relative; }
.media-frame img { width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow); aspect-ratio: 1 / 1; object-fit: cover; }
.stat-card {
  position: absolute; right: -16px; bottom: -24px;
  background: var(--ink); color: #fff; border-radius: var(--radius);
  padding: 22px 26px; box-shadow: var(--shadow-lg); max-width: 260px;
}
.stat-card strong { display: block; font-family: var(--font-display); font-size: 3rem; line-height: 1; color: var(--gold); margin-bottom: 6px; }
.stat-card span { font-size: .9rem; color: var(--muted-on-dark); line-height: 1.4; display: block; }
@media (max-width: 600px) { .stat-card { right: 12px; } }

.checklist { list-style: none; padding: 0; margin: 24px 0 32px; display: grid; gap: 12px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; font-weight: 600; }
.checklist svg { width: 22px; height: 22px; color: var(--blue-deep); flex: none; margin-top: 2px; }

/* ---------- Services ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 960px) { .cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .cards { grid-template-columns: 1fr; } }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 32px; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.card__icon {
  width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center;
  background: var(--ink); color: var(--gold); margin-bottom: 22px;
}
.card__icon svg { width: 28px; height: 28px; }
.card p { color: var(--muted); margin: 0; }

/* ---------- Process ---------- */
.process { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; counter-reset: step; }
.process li { position: relative; padding-top: 64px; counter-increment: step; }
.process li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute; top: 0; left: 0;
  font-family: var(--font-display); font-size: 2.6rem; line-height: 1; color: var(--gold);
}
.process li::after { content: ""; position: absolute; top: 20px; left: 72px; right: 0; height: 1px; background: var(--line-dark); }
.process li:last-child::after { display: none; }
.process h3 { font-size: 1.2rem; margin-bottom: 8px; }
.process p { color: var(--muted-on-dark); font-size: .97rem; margin: 0; }
@media (max-width: 1000px) {
  .process { grid-template-columns: 1fr 1fr; gap: 36px 28px; }
  .process li::after { display: none; }
}
@media (max-width: 560px) { .process { grid-template-columns: 1fr; } }

/* ---------- Loft types ---------- */
.types { display: grid; grid-template-columns: repeat(6, 1fr); gap: 24px; }
.type { grid-column: span 2; background: var(--surface); border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); display: flex; flex-direction: column; }
.type:nth-child(4), .type:nth-child(5) { grid-column: span 3; }
.type__media { background: #e4e2dc; aspect-ratio: 16 / 9.4; overflow: hidden; }
.type__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.type:hover .type__media img { transform: scale(1.04); }
.type__body { padding: 26px 28px 30px; }
.type__body p { color: var(--muted); margin: 0; }
.tag { display: inline-block; font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--blue-deep); background: #e8f2fd; padding: 5px 10px; border-radius: 999px; margin-bottom: 12px; }
@media (max-width: 960px) { .types { grid-template-columns: 1fr 1fr; } .type, .type:nth-child(4), .type:nth-child(5) { grid-column: span 1; } }
@media (max-width: 640px) { .types { grid-template-columns: 1fr; } }

/* ---------- CTA band ---------- */
.cta-band { background: var(--gold); color: var(--ink); }
.cta-band .container { display: flex; align-items: center; justify-content: space-between; gap: 28px; padding-block: clamp(40px, 5vw, 56px); flex-wrap: wrap; }
.cta-band h2 { margin: 0; font-size: clamp(1.7rem, 3.2vw, 2.5rem); max-width: 22ch; }
.cta-band__actions { display: flex; gap: 12px; flex-wrap: wrap; }
.cta-band .btn--outline { --bg: transparent; --fg: var(--ink); border-color: var(--ink); }
.cta-band .btn--outline:hover { box-shadow: none; background: rgba(12, 26, 43, .06); }

/* ---------- Gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 200px; gap: 14px; grid-auto-flow: dense; }
.gallery button { all: unset; cursor: zoom-in; position: relative; border-radius: var(--radius); overflow: hidden; background: #ddd; display: block; }
.gallery button:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease, filter .3s ease; }
.gallery button:hover img { transform: scale(1.05); }
.gallery .tall { grid-row: span 2; }
.gallery .wide { grid-column: span 2; }
@media (max-width: 900px) { .gallery { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 170px; } }
@media (max-width: 600px) { .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; } .gallery .wide { grid-column: span 2; } }

.lightbox { border: 0; padding: 0; background: transparent; max-width: 94vw; max-height: 92vh; overflow: visible; }
.lightbox figure { margin: 0; }
.lightbox::backdrop { background: rgba(6, 13, 22, .9); }
.lightbox img { max-width: 94vw; max-height: 82vh; width: auto; border-radius: 10px; margin-inline: auto; }
.lightbox figcaption { color: #dce4ee; text-align: center; margin-top: 12px; font-weight: 600; }
.lightbox__close, .lightbox__nav {
  position: fixed; background: rgba(255, 255, 255, .12); color: #fff; border: 0; border-radius: 999px;
  width: 48px; height: 48px; display: grid; place-items: center; cursor: pointer;
}
.lightbox__close:hover, .lightbox__nav:hover { background: rgba(255, 255, 255, .24); }
.lightbox__close { top: 16px; right: 16px; }
.lightbox__nav--prev { left: 16px; top: 50%; }
.lightbox__nav--next { right: 16px; top: 50%; }
.lightbox svg { width: 22px; height: 22px; }

/* ---------- Instagram feed ---------- */
.insta-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: clamp(28px, 4vw, 44px); }
.insta-head .section-head { margin-bottom: 0; }
.insta-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.insta-grid li { aspect-ratio: 1; }
.insta-tile { position: relative; display: block; width: 100%; height: 100%; overflow: hidden; border-radius: var(--radius); background: var(--ink-3); }
.insta-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.insta-tile:hover img, .insta-tile:focus-visible img { transform: scale(1.06); }
.insta-tile__over {
  position: absolute; inset: 0; display: flex; align-items: flex-end; padding: 14px;
  background: linear-gradient(to top, rgba(8, 19, 31, .9), rgba(8, 19, 31, 0) 65%);
  color: #fff; font-size: .82rem; line-height: 1.35; font-weight: 600; opacity: 0; transition: opacity .25s ease;
}
.insta-tile:hover .insta-tile__over, .insta-tile:focus-visible .insta-tile__over { opacity: 1; }
.insta-tile__badge { position: absolute; top: 10px; right: 10px; width: 22px; height: 22px; color: #fff; filter: drop-shadow(0 1px 3px rgba(0, 0, 0, .55)); }
@media (hover: none) { .insta-tile__over { display: none; } }
@media (max-width: 1000px) { .insta-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 560px) { .insta-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; } }

/* ---------- Areas ---------- */
.areas { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 4vw, 56px); align-items: start; }
@media (max-width: 960px) { .areas { grid-template-columns: 1fr; } }
.map-wrap { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); background: #dfe7ef; aspect-ratio: 1 / 1; }
#area-map { position: absolute; inset: 0; }
.map-fallback { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 24px; color: var(--muted); font-weight: 600; }
.radius-badge {
  position: absolute; z-index: 500; right: 16px; top: 16px;
  background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 10px; font-weight: 700; font-size: .9rem;
  box-shadow: var(--shadow);
}
.radius-badge b { color: var(--gold); }
.leaflet-container { font-family: var(--font-body); }
.map-tiles { filter: grayscale(.85) contrast(.95) brightness(1.04); }

.postcode-check { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 26px; margin-bottom: 28px; }
.postcode-check h3 { margin-bottom: 6px; }
.postcode-check p { color: var(--muted); font-size: .95rem; }
.postcode-check form { display: flex; gap: 10px; }
.postcode-check input { flex: 1; min-width: 0; text-transform: uppercase; }
.postcode-result { margin: 14px 0 0; font-weight: 600; min-height: 1.5em; }
.postcode-result.is-in { color: #13794a; }
.postcode-result.is-out { color: #a24b0b; }

.town-groups { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 28px; }
@media (max-width: 480px) { .town-groups { grid-template-columns: 1fr; } }
.town-groups h3 { font-family: var(--font-body); font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--blue-deep); margin-bottom: 10px; }
.town-groups ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.town-groups li { font-size: .88rem; font-weight: 600; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 4px 11px; }
.areas__note { font-size: .92rem; color: var(--muted); margin-top: 22px; }

/* ---------- Team ---------- */
.team { display: grid; grid-template-columns: repeat(6, 1fr); gap: 22px; }
@media (max-width: 1100px) { .team { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .team { grid-template-columns: repeat(2, 1fr); gap: 16px; } }
.member { text-align: center; }
.member img { width: 100%; aspect-ratio: 1; object-fit: cover; object-position: top; border-radius: 50%; background: #eef1f4; border: 4px solid var(--surface); box-shadow: var(--shadow); margin-bottom: 16px; }
.member h3 { font-size: 1.15rem; margin-bottom: 2px; }
.member p { color: var(--muted); font-size: .9rem; margin: 0; }

/* ---------- Values (community + H&S) ---------- */
.values { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
@media (max-width: 860px) { .values { grid-template-columns: 1fr; } }
.value { background: var(--ink-2); border: 1px solid var(--line-dark); border-radius: var(--radius-lg); padding: clamp(28px, 4vw, 44px); }
.value p { color: var(--muted-on-dark); }
.value p:last-child { margin-bottom: 0; }
.value .card__icon { background: var(--gold); color: var(--ink); }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; margin-inline: auto; display: grid; gap: 12px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); transition: box-shadow .2s, border-color .2s; }
.faq details[open] { box-shadow: var(--shadow); border-color: transparent; }
.faq summary {
  list-style: none; cursor: pointer; padding: 22px 64px 22px 26px; position: relative;
  font-weight: 700; font-size: 1.08rem; color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 26px; top: 50%; width: 12px; height: 12px; margin-top: -8px;
  border-right: 2.5px solid var(--blue-deep); border-bottom: 2.5px solid var(--blue-deep);
  transform: rotate(45deg); transition: transform .25s ease;
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq .faq__body { padding: 0 26px 24px; color: var(--muted); }
.faq .faq__body p:last-child { margin-bottom: 0; }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(28px, 4vw, 48px); align-items: start; }
@media (max-width: 960px) { .contact { grid-template-columns: minmax(0, 1fr); } }
.contact > *, .form-grid > * { min-width: 0; }
.form-card { background: var(--surface); border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 44px); box-shadow: var(--shadow-lg); color: var(--text); }
.section--ink .form-card h3 { margin-bottom: 4px; color: var(--ink); }
.form-card > p { color: var(--muted); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 24px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 560px) { .form-grid { grid-template-columns: minmax(0, 1fr); } }
label { display: block; font-weight: 700; font-size: .9rem; margin-bottom: 6px; color: var(--ink); }
label .req { color: #b42318; }
input, select, textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--text);
  background: #fbfaf7; border: 1.5px solid var(--line); border-radius: 10px; padding: 13px 14px;
  transition: border-color .2s, box-shadow .2s, background .2s;
}
textarea { min-height: 130px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--blue); background: #fff; box-shadow: 0 0 0 4px rgba(32, 136, 232, .15); }
input:user-invalid, textarea:user-invalid { border-color: #d92d20; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-weight: 500; font-size: .9rem; color: var(--muted); }
.consent input { width: 20px; height: 20px; flex: none; margin-top: 2px; accent-color: var(--blue-deep); }
.hp { position: absolute; left: -9999px; }
.form-actions { display: grid; gap: 12px; }
.btn--whatsapp { --bg: #1fa855; --fg: #fff; }
.btn--whatsapp:hover { box-shadow: 0 10px 24px rgba(31, 168, 85, .3); }
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 95;
  width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center;
  background: #1fa855; color: #fff; box-shadow: 0 10px 28px rgba(0, 0, 0, .28);
  transition: transform .2s ease;
}
.wa-float:hover { color: #fff; transform: scale(1.06); }
.wa-float svg { width: 30px; height: 30px; }
@media (max-width: 760px) { .wa-float { bottom: 84px; right: 14px; width: 52px; height: 52px; } }
.form-status { margin: 14px 0 0; font-weight: 600; }
.form-status.is-ok { color: #13794a; }
.form-status.is-err { color: #b42318; }
.form-note { font-size: .82rem; color: var(--muted); margin: 12px 0 0; }

.contact-info { display: grid; gap: 16px; }
.info-block { background: var(--ink-2); border: 1px solid var(--line-dark); border-radius: var(--radius-lg); padding: 26px 28px; }
.info-block h3 { font-family: var(--font-body); font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin-bottom: 14px; }
.info-block a { color: #fff; text-decoration: none; font-weight: 700; }
.info-block a:hover { color: var(--gold); }
.info-line { display: flex; gap: 14px; align-items: center; margin-bottom: 12px; font-size: 1.05rem; }
.info-line:last-child { margin-bottom: 0; }
.info-line svg { width: 20px; height: 20px; color: var(--blue); flex: none; }
.info-line > a, .info-line > span { min-width: 0; overflow-wrap: anywhere; }
.hours { width: 100%; border-collapse: collapse; font-size: .95rem; }
.hours th { text-align: left; font-weight: 600; color: #dce4ee; padding: 7px 0; }
.hours td { text-align: right; color: var(--muted-on-dark); padding: 7px 0; }
.hours tr + tr { border-top: 1px solid var(--line-dark); }
.hours tr.is-today th, .hours tr.is-today td { color: var(--gold); }

/* ---------- Footer ---------- */
.site-footer { background: #08131f; color: var(--muted-on-dark); font-size: .95rem; padding-top: 72px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 56px; }
@media (max-width: 960px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h2 { font-family: var(--font-body); font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: #fff; margin-bottom: 16px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer a { color: var(--muted-on-dark); text-decoration: none; }
.site-footer a:hover { color: var(--gold); }
.footer-brand img { height: 64px; width: auto; margin-bottom: 18px; }
.socials { display: flex; gap: 10px; margin-top: 20px; }
.socials a { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-dark); color: #fff; transition: background .2s, color .2s, border-color .2s; }
.socials a:hover { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.socials svg { width: 18px; height: 18px; }
.footer-bottom { border-top: 1px solid var(--line-dark); padding-block: 22px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .85rem; }

/* ---------- Mobile action bar ---------- */
.mobile-bar { display: none; }
@media (max-width: 760px) {
  .mobile-bar {
    display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: rgba(8, 19, 31, .96); border-top: 1px solid var(--line-dark);
    transform: translateY(110%); transition: transform .3s ease;
  }
  .mobile-bar.is-visible { transform: none; }
  .mobile-bar .btn { min-height: 48px; padding: 10px; font-size: .95rem; }
  body { padding-bottom: 72px; }
}

/* ---------- Simple pages (privacy, 404) ---------- */
.page-hero { background: var(--ink); color: #dce4ee; padding-block: clamp(56px, 8vw, 96px); }
.page-hero h1 { color: #fff; font-size: clamp(2.2rem, 5vw, 3.6rem); }
.prose { max-width: 760px; }
.prose h2 { font-size: 1.6rem; margin-top: 1.8em; }
.prose p, .prose li { color: #374151; }
.prose .back-link { margin-top: 40px; }
.site-header .btn--compact { min-height: 44px; padding: 10px 20px; }
.site-footer--slim { padding-top: 0; }
.error-page { min-height: 100vh; display: grid; place-items: center; text-align: center; }
.error-page .eyebrow { justify-content: center; }
.error-page .lead { margin: 0 auto 32px; }
.error-page__logo { height: 72px; width: auto; margin: 0 auto 40px; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
