/* =========================================================
   VIP Security — styles (refined edition)
   Midnight navy, crisp white, a restrained brass accent.
   Mobile-first; breakpoints at 640px, 900px, 1100px.
   Original stylesheet kept as css/styles.original.css
   ========================================================= */

:root {
  /* Palette */
  --navy-950: #060d18;
  --navy-900: #0a1628;
  --navy-800: #102240;
  --navy-700: #17305a;
  --brand: #17305a;          /* primary on light backgrounds */
  --brass: #c9a45c;          /* accent — use on dark backgrounds */
  --brass-soft: #e3c98f;

  --ink: #0d1726;
  --ink-soft: #566173;
  --line: #e3e6eb;
  --line-dark: rgba(255, 255, 255, 0.12);
  --bg: #ffffff;
  --bg-alt: #f6f5f1;         /* warm paper */
  --white: #ffffff;
  --error: #b42318;
  --success: #17703f;

  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --serif: "Lora", Georgia, "Times New Roman", serif;
  --radius: 4px;
  --radius-sm: 3px;
  --shadow: 0 1px 2px rgba(10, 22, 40, 0.04), 0 12px 40px rgba(10, 22, 40, 0.08);
  --header-h: 68px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

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

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3 { margin: 0 0 0.5em; line-height: 1.1; letter-spacing: -0.03em; font-weight: 600; }
p { margin: 0 0 1em; }
a { color: var(--brand); }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--navy-900); color: var(--white); }

.container {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: 20px;
}
@media (min-width: 900px) { .container { padding-inline: 40px; } }

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

.skip-link {
  position: absolute;
  left: 12px; top: -60px;
  z-index: 200;
  padding: 10px 16px;
  background: var(--white);
  color: var(--navy-900);
  border-radius: var(--radius-sm);
  font-weight: 600;
  transition: top 0.2s;
}
.skip-link:focus { top: 12px; }

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

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 14px 28px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.875rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.25s, color 0.25s, border-color 0.25s;
}

.btn-primary {
  background: var(--brass);
  color: var(--navy-950);
}
.btn-primary:hover { background: var(--brass-soft); }

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.45);
}
.btn-outline:hover { background: var(--white); color: var(--navy-900); border-color: var(--white); }

.btn-light {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.4);
}
.btn-light:hover { background: var(--white); color: var(--navy-900); border-color: var(--white); }

.btn-small { min-height: 44px; padding: 10px 20px; font-size: 0.75rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: 0.6; cursor: wait; }

/* ---------- Typography helpers ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 1.25rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--brass);
}
.eyebrow::before {
  content: "";
  width: 32px; height: 1px;
  background: currentColor;
}

.section { padding: 88px 0; }

.section-header {
  display: grid;
  gap: 0 64px;
  margin: 0 0 56px;
}
.section-header h2 {
  max-width: 14em;
  margin-bottom: 0.4em;
  font-size: clamp(2rem, 5vw, 3.25rem);
}
.section-header p:last-child {
  max-width: 32em;
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: 1.0625rem;
}

@media (min-width: 900px) {
  .section-header {
    grid-template-columns: 1.3fr 1fr;
    align-items: end;
    margin-bottom: 72px;
  }
  .section-header .eyebrow { grid-column: 1 / -1; }
  .section-header h2 { margin-bottom: 0; }
  .section-header p:last-child { padding-bottom: 6px; }
}

/* =========================================================
   Header / navigation
   ========================================================= */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  background: transparent;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: background-color 0.35s, border-color 0.35s;
}
.site-header.is-scrolled {
  background: rgba(10, 22, 40, 0.94);
  border-bottom-color: rgba(255, 255, 255, 0.06);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.brand img { width: 150px; height: auto; }

.nav-toggle {
  position: relative;
  z-index: 110;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end;
  gap: 6px;
  width: 44px; height: 44px;
  padding: 10px 8px;
  background: none;
  border: 0;
  cursor: pointer;
}
.nav-toggle-bar {
  display: block;
  height: 1.5px;
  width: 100%;
  background: var(--white);
  transition: transform 0.3s var(--ease), opacity 0.2s, width 0.3s var(--ease);
}
.nav-toggle-bar:nth-child(2) { width: 70%; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* Mobile drawer */
.primary-nav {
  position: fixed;
  inset: var(--header-h) 0 auto 0;
  background: var(--navy-900);
  border-top: 1px solid var(--line-dark);
  visibility: hidden;
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0.3s;
}
.primary-nav.is-open { visibility: visible; opacity: 1; transform: none; }

.primary-nav ul {
  display: flex;
  flex-direction: column;
  padding: 8px 20px 28px;
}
.primary-nav a:not(.btn) {
  display: block;
  padding: 16px 0;
  color: var(--white);
  font-size: 1.125rem;
  font-weight: 500;
  text-decoration: none;
  border-bottom: 1px solid var(--line-dark);
}
.primary-nav .btn { margin-top: 20px; width: 100%; background: var(--brass); color: var(--navy-950); border-color: var(--brass); }

@media (min-width: 900px) {
  :root { --header-h: 84px; }
  .brand img { width: 180px; }
  .nav-toggle { display: none; }

  .primary-nav {
    position: static;
    visibility: visible;
    opacity: 1;
    transform: none;
    background: none;
    border: 0;
  }
  .primary-nav ul { flex-direction: row; align-items: center; gap: 4px; padding: 0; }
  .primary-nav a:not(.btn) {
    position: relative;
    padding: 8px 16px;
    border: 0;
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.78);
    transition: color 0.2s;
  }
  .primary-nav a:not(.btn)::after {
    content: "";
    position: absolute;
    left: 16px; right: 16px; bottom: 0;
    height: 1px;
    background: var(--brass);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s var(--ease);
  }
  .primary-nav a:not(.btn):hover { color: var(--white); }
  .primary-nav a:not(.btn):hover::after { transform: scaleX(1); }
  .primary-nav .btn {
    margin: 0 0 0 16px;
    width: auto;
    background: transparent;
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.4);
  }
  .primary-nav .btn:hover { background: var(--brass); color: var(--navy-950); border-color: var(--brass); }
}

/* =========================================================
   Parallax
   ========================================================= */
.parallax {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  color: var(--white);
  background-color: var(--navy-900);
}

.parallax-bg {
  position: absolute;
  inset: -25% 0;            /* extra height so the image never shows edges while moving */
  z-index: -2;
  background-image: linear-gradient(135deg, var(--navy-800), var(--navy-950)); /* fallback; real image set inline */
  background-size: cover;
  background-position: center;
  filter: saturate(0.75);
  will-change: transform;
}

.parallax-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(6, 13, 24, 0.82);
}

/* ---------- Hero ---------- */
.hero {
  display: flex;
  align-items: flex-end;
  min-height: 100vh;
  min-height: 100svh;
  padding: calc(var(--header-h) + 64px) 0 112px;
}

.hero-content { text-align: left; }

.hero .parallax-overlay {
  background:
    linear-gradient(90deg, rgba(6, 13, 24, 0.92) 0%, rgba(6, 13, 24, 0.72) 45%, rgba(6, 13, 24, 0.25) 100%),
    linear-gradient(0deg, rgba(6, 13, 24, 0.7) 0%, rgba(6, 13, 24, 0) 40%);
}

.hero .eyebrow { color: var(--brass); margin-bottom: 1.75rem; }

.hero h1 {
  max-width: 13em;
  margin-bottom: 0.5em;
  font-size: clamp(2.125rem, 7vw, 5rem);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -0.04em;
  text-wrap: balance;
}

.hero-lead {
  max-width: 30em;
  margin: 0 0 2.75rem;
  font-family: var(--serif);
  font-size: clamp(1.125rem, 2.4vw, 1.375rem);
  font-style: italic;
  font-weight: 400;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.72);
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-actions .btn { flex: 1 1 220px; }

@media (min-width: 640px) {
  .hero-actions .btn { flex: 0 0 auto; }
}

.hero-content > * { animation: rise 1s var(--ease) both; }
.hero-content > :nth-child(2) { animation-delay: 0.08s; }
.hero-content > :nth-child(3) { animation-delay: 0.16s; }
.hero-content > :nth-child(4) { animation-delay: 0.24s; }

@keyframes rise {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: none; }
}

.scroll-cue {
  position: absolute;
  right: 20px; bottom: 40px;
  width: 44px; height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  transition: border-color 0.25s;
}
.scroll-cue:hover { border-color: var(--brass); }
.scroll-cue svg { width: 18px; height: 18px; fill: none; stroke: var(--white); stroke-width: 1.5; animation: bob 2.4s ease-in-out infinite; }

@media (min-width: 900px) {
  .scroll-cue { right: calc(50% - 560px); }
}
@media (max-width: 639px) {
  .scroll-cue { display: none; }
}

@keyframes bob {
  0%, 100% { transform: translateY(-2px); }
  50%      { transform: translateY(3px); }
}

/* ---------- Bands ---------- */
.parallax-band { padding: 104px 0; }
.band-content h2 {
  max-width: 16em;
  font-size: clamp(2rem, 5.5vw, 3.25rem);
  margin-bottom: 0.5em;
}
.band-content p {
  max-width: 34em;
  margin: 0 0 2rem;
  color: rgba(255, 255, 255, 0.72);
  font-size: 1.125rem;
}

.stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  margin-top: 56px;
  border-top: 1px solid var(--line-dark);
}
.stats li {
  padding: 28px 0 4px;
  border-bottom: 1px solid var(--line-dark);
}
.stats li:nth-child(odd) { padding-right: 16px; }
.stats li:nth-child(even) { padding-left: 20px; border-left: 1px solid var(--line-dark); }
.stat-value {
  display: block;
  font-size: clamp(1.75rem, 5vw, 3rem);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--brass);
}
.stat-label {
  display: block;
  margin: 8px 0 24px;
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.66);
}

.parallax-cta .band-content { text-align: left; }

@media (min-width: 900px) {
  .parallax-band { padding: 160px 0; }
  .stats { grid-template-columns: repeat(4, 1fr); border-bottom: 1px solid var(--line-dark); }
  .stats li,
  .stats li:nth-child(odd),
  .stats li:nth-child(even) { padding: 36px 32px 8px; border-bottom: 0; border-left: 1px solid var(--line-dark); }
  .stats li:first-child { border-left: 0; padding-left: 0; }

  .parallax-cta .band-content {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    grid-template-rows: auto auto;
    column-gap: 64px;
    align-items: end;
  }
  .parallax-cta h2 { grid-row: 1 / 3; margin: 0; }
  .parallax-cta p { margin-bottom: 1.5rem; }
  .parallax-cta .btn { justify-self: start; }
}

/* =========================================================
   Services
   ========================================================= */
.services { background: var(--bg); counter-reset: service; }

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.service-card {
  position: relative;
  counter-increment: service;
  padding: 36px 28px 40px;
  background: var(--white);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transition: background-color 0.45s var(--ease), color 0.45s var(--ease);
}
.service-card::before {
  content: counter(service, decimal-leading-zero);
  position: absolute;
  top: 36px; right: 28px;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: #9aa2ae;
  transition: color 0.45s var(--ease);
}
.service-card:hover { background: var(--navy-900); color: var(--white); }
.service-card:hover::before { color: var(--brass); }

.service-icon {
  width: 44px; height: 44px;
  margin-bottom: 48px;
}
.service-icon svg {
  width: 36px; height: 36px;
  fill: none;
  stroke: var(--navy-700);
  stroke-width: 1.25;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: stroke 0.45s var(--ease);
}
.service-card:hover .service-icon svg { stroke: var(--brass); }

.service-card h3 { font-size: 1.375rem; letter-spacing: -0.02em; margin-bottom: 0.6em; }
.service-card p { margin: 0; color: var(--ink-soft); font-size: 0.9875rem; transition: color 0.45s var(--ease); }
.service-card:hover p { color: rgba(255, 255, 255, 0.7); }

@media (min-width: 640px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1100px) {
  .services-grid { grid-template-columns: repeat(3, 1fr); }
  .service-card { padding: 44px 40px 52px; }
  .service-card::before { top: 44px; right: 40px; }
  .service-icon { margin-bottom: 72px; }
}

/* Reveal on scroll (class toggled by parallax.js) */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease), background-color 0.45s var(--ease), color 0.45s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

/* =========================================================
   Testimonials slider
   ========================================================= */
.testimonials { background: var(--bg-alt); }

.slider {
  --per-view: 1;
  position: relative;
}

.slider-viewport {
  overflow: hidden;
  touch-action: pan-y;      /* allow vertical scroll, we handle horizontal swipes */
  cursor: grab;
}
.slider-viewport.is-dragging { cursor: grabbing; }

.slider-track {
  display: flex;
  transition: transform 0.8s var(--ease);
  will-change: transform;
}
.slider-track.no-transition { transition: none; }

.slide {
  flex: 0 0 100%;
  min-width: 0;
  display: flex;
  align-items: flex-start;
  padding: 4px 2px;
  user-select: none;
  -webkit-user-select: none;
  transition: opacity 0.6s var(--ease);
}
.slide[aria-hidden="true"] { opacity: 0; }

.testimonial { max-width: 900px; margin: 0; text-align: left; }

.testimonial blockquote { position: relative; margin: 0 0 36px; }
.testimonial blockquote p {
  margin: 0;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.375rem, 3.2vw, 2.125rem);
  line-height: 1.45;
  letter-spacing: -0.01em;
  color: var(--ink);
  text-wrap: pretty;
}

.testimonial figcaption { display: flex; align-items: center; gap: 16px; }
.testimonial figcaption::before { content: ""; width: 32px; height: 1px; background: var(--ink); }
.testimonial-meta { display: flex; flex-direction: column; line-height: 1.4; }
.testimonial-meta strong {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--ink);
}
.testimonial-location {
  margin-top: 2px;
  font-size: 0.8125rem;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
}

.slider-controls {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 56px;
  padding-top: 28px;
  border-top: 1px solid #d9dce2;
}

.slider-btn {
  display: grid;
  place-items: center;
  width: 60px; height: 60px;
  padding: 0;
  background: var(--white);
  border: 1.5px solid var(--navy-900);
  border-radius: 50%;
  cursor: pointer;
  transition: background-color 0.25s, border-color 0.25s, transform 0.25s var(--ease);
}
.slider-btn svg {
  width: 24px; height: 24px;
  fill: none;
  stroke: var(--navy-900);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: stroke 0.25s;
}
.slider-next { background: var(--navy-900); }
.slider-next svg { stroke: var(--white); }
.slider-btn:hover { background: var(--brass); border-color: var(--brass); }
.slider-btn:hover svg { stroke: var(--navy-950); }
.slider-prev:hover { transform: translateX(-3px); }
.slider-next:hover { transform: translateX(3px); }
.slider-prev { order: 2; }
.slider-next { order: 3; }

.slider-dots { order: 1; display: flex; gap: 2px; margin-right: auto; }
.slider-dot {
  width: 36px; height: 44px;    /* large tap target */
  padding: 0;
  background: none;
  border: 0;
  cursor: pointer;
  display: grid;
  place-items: center;
}
.slider-dot::before {
  content: "";
  width: 28px; height: 4px;
  border-radius: 2px;
  background: #c4c9d1;
  transition: background-color 0.35s, width 0.35s var(--ease);
}
.slider-dot:hover::before { background: #8b93a0; }
.slider-dot[aria-current="true"]::before { width: 36px; background: var(--navy-900); }

@media (max-width: 479px) {
  .slider-btn { width: 52px; height: 52px; }
  .slider-dot { width: 22px; }
  .slider-dot::before { width: 16px; }
  .slider-dot[aria-current="true"]::before { width: 22px; }
}

/* =========================================================
   Contact
   ========================================================= */
.contact { background: var(--bg); }

.contact-grid { display: grid; gap: 48px; }

.contact-info h2 { font-size: clamp(2rem, 5vw, 3.25rem); }

.contact-info > p:not(.eyebrow) { max-width: 28em; color: var(--ink-soft); font-size: 1.0625rem; }

.contact-list { display: grid; margin-top: 40px; border-top: 1px solid var(--line); }
.contact-list li {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.contact-list svg {
  flex: none;
  width: 20px; height: 20px;
  fill: none;
  stroke: var(--navy-700);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.contact-list a,
.contact-list span { color: var(--ink); font-weight: 500; text-decoration: none; word-break: break-word; }
.contact-list a { background: linear-gradient(var(--brass), var(--brass)) 0 100% / 0 1px no-repeat; transition: background-size 0.35s var(--ease); }
.contact-list a:hover { background-size: 100% 1px; }

.contact-form {
  padding: 32px 24px;
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.form-row { display: grid; gap: 0 20px; }

.field { display: flex; flex-direction: column; margin-bottom: 22px; }
.field label {
  margin-bottom: 8px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
}
.optional { font-weight: 400; letter-spacing: 0.04em; text-transform: none; color: var(--ink-soft); }

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 52px;
  padding: 13px 16px;
  font-size: 1rem;            /* ≥16px prevents iOS zoom on focus */
  background: var(--white);
  border: 1px solid #d5d9e0;
  border-radius: var(--radius-sm);
  transition: border-color 0.2s, box-shadow 0.2s;
  -webkit-appearance: none;
  appearance: none;
}
.field input::placeholder,
.field textarea::placeholder { color: #8b93a0; }
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230a1628' stroke-width='1.6' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 16px;
  padding-right: 44px;
}
.field textarea { resize: vertical; min-height: 140px; }
.field-check input { max-width: 200px; }
.check-sum { color: var(--navy-700); white-space: nowrap; }

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--navy-900);
  box-shadow: 0 0 0 3px rgba(201, 164, 92, 0.35);
}

.field.has-error input,
.field.has-error select,
.field.has-error textarea { border-color: var(--error); }
.field-error { margin-top: 6px; font-size: 0.8125rem; color: var(--error); }
.field-error:empty { display: none; }

.contact-form .btn-primary { background: var(--navy-900); color: var(--white); margin-top: 6px; }
.contact-form .btn-primary:hover { background: var(--navy-700); }

.form-status { margin: 16px 0 0; font-weight: 600; text-align: center; }
.form-status:empty { display: none; }
.form-status.is-success { color: var(--success); }
.form-status.is-error { color: var(--error); }
.form-privacy { margin: 14px 0 0; color: var(--ink-soft); font-size: 0.8125rem; text-align: center; }

@media (min-width: 640px) {
  .form-row { grid-template-columns: 1fr 1fr; }
  .contact-form { padding: 44px 40px; }
}
@media (min-width: 900px) {
  .section { padding: 136px 0; }
  .contact-grid { grid-template-columns: 1fr 1.2fr; gap: 96px; align-items: start; }
}

/* =========================================================
   Footer
   ========================================================= */
.site-footer {
  background: var(--navy-950);
  color: rgba(255, 255, 255, 0.62);
  padding-top: 72px;
  font-size: 0.9375rem;
}
.footer-grid { display: grid; gap: 40px; padding-bottom: 56px; }
.footer-brand img { width: 160px; height: auto; margin-bottom: 20px; }
.footer-brand p { max-width: 320px; }
.footer-member { margin-top: 28px; }
.footer-member .footer-title { margin-bottom: 12px; }
.footer-brand .footer-member img {
  width: 160px;
  margin-bottom: 0;
  padding: 10px 12px;
  background: var(--white);
  border-radius: 6px;
}
.footer-title {
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.footer-links { display: grid; gap: 10px; }
.footer-links a { color: rgba(255, 255, 255, 0.62); text-decoration: none; transition: color 0.2s; word-break: break-word; }
.footer-links a:hover { color: var(--brass); }

.footer-contact { gap: 12px; }
.footer-contact li { display: flex; align-items: flex-start; gap: 12px; }
.footer-contact svg {
  flex: none;
  width: 16px; height: 16px;
  margin-top: 4px;
  fill: none;
  stroke: var(--brass);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.footer-bottom {
  padding-block: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.8125rem;
  letter-spacing: 0.02em;
}
.footer-bottom p { margin: 0; }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
}
.footer-legal { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.footer-legal a,
.footer-legal .link-button { color: rgba(255, 255, 255, 0.62); text-decoration: none; transition: color 0.2s; }
.footer-legal a:hover,
.footer-legal .link-button:hover { color: var(--brass); }

.link-button {
  padding: 0;
  background: none;
  border: 0;
  color: var(--brand);
  text-decoration: underline;
  cursor: pointer;
}

/* =========================================================
   Inner pages (privacy policy)
   ========================================================= */
.site-header--solid,
.site-header--solid.is-scrolled { background: var(--navy-900); }

.page-hero {
  padding: calc(var(--header-h) + 64px) 0 56px;
  background: var(--navy-900);
  color: var(--white);
}
.page-hero h1 { font-size: clamp(2.25rem, 6vw, 3.5rem); }
.page-hero-meta { margin: 0; color: rgba(255, 255, 255, 0.62); font-size: 0.9375rem; }

.legal-body { max-width: 760px; }
.legal-body h2 {
  margin-top: 2.25em;
  font-size: clamp(1.375rem, 3vw, 1.75rem);
}
.legal-body > p:first-child { font-size: 1.125rem; }
.legal-body ul { margin: 0 0 1em; padding-left: 1.25em; list-style: disc; }
.legal-body li { margin-bottom: 0.4em; }
.legal-body li::marker { color: var(--brass); }

/* ---------- Cookie banner ---------- */
.cookie-banner {
  position: fixed;
  inset: auto 12px 12px 12px;
  z-index: 95;
  max-width: 720px;
  margin-inline: auto;
  padding: 20px;
  background: var(--navy-900);
  color: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--line-dark);
  border-radius: 8px;
  box-shadow: 0 16px 48px rgba(6, 13, 24, 0.35);
  font-size: 0.9375rem;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
}
.cookie-banner.is-visible { opacity: 1; transform: none; }
.cookie-banner-inner { display: grid; gap: 16px; }
.cookie-banner-text { margin: 0; }
.cookie-banner a { color: var(--brass-soft); }
.cookie-banner-actions { display: flex; gap: 10px; }
.cookie-btn {
  flex: 1 1 0;
  background: var(--brass);
  color: var(--navy-950);
}
.cookie-btn:hover { background: var(--brass-soft); }

@media (min-width: 640px) {
  .cookie-banner { padding: 20px 24px; }
  .cookie-banner-inner { grid-template-columns: 1fr auto; align-items: center; gap: 24px; }
  .cookie-btn { flex: 0 0 auto; min-width: 112px; }
}

@media (min-width: 640px) {
  .footer-grid { grid-template-columns: 2fr 1fr 1fr; }
}

/* ---------- Back to top ---------- */
.back-to-top {
  position: fixed;
  right: 20px; bottom: 20px;
  z-index: 90;
  display: grid;
  place-items: center;
  width: 48px; height: 48px;
  background: var(--navy-900);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.3s, transform 0.3s var(--ease), visibility 0.3s, background-color 0.2s;
}
.back-to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.back-to-top:hover { background: var(--navy-700); }
.back-to-top svg { width: 18px; height: 18px; fill: none; stroke: var(--white); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .parallax-bg { inset: 0; transform: none !important; }
  .reveal { opacity: 1; transform: none; }
}
