/* TopTransfer — New Brand System */
@import url("https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,400;9..144,500;9..144,600&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap");

:root {
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Plus Jakarta Sans", system-ui, sans-serif;

  --accent: #c9864a;
  --accent-hover: #d9985c;
  --accent-soft: rgba(201, 134, 74, 0.12);
  --accent-line: rgba(201, 134, 74, 0.45);
  --focus: #e0b07a;

  --bg: #0a0a0b;
  --bg-2: #111113;
  --bg-3: #18181b;
  --surface: #1c1c20;
  --surface-2: #242428;
  --border: rgba(255, 255, 255, 0.07);
  --border-2: rgba(255, 255, 255, 0.14);
  --text: #f4f1ec;
  --text-2: rgba(244, 241, 236, 0.72);
  --text-3: rgba(244, 241, 236, 0.45);
  --inverse: #0a0a0b;
  --header: rgba(10, 10, 11, 0.72);
  --shadow: 0 24px 64px rgba(0, 0, 0, 0.45);
  --shadow-sm: 0 8px 28px rgba(0, 0, 0, 0.28);
  --logo-filter: none;
  --hero-veil: linear-gradient(105deg, rgba(10, 10, 11, 0.88) 0%, rgba(10, 10, 11, 0.55) 48%, rgba(10, 10, 11, 0.25) 100%);
  --map-filter: grayscale(1) contrast(1.1) brightness(0.7) sepia(0.4) hue-rotate(8deg) saturate(0.55);
  --map-wash: linear-gradient(160deg, rgba(201, 134, 74, 0.16), transparent 50%, rgba(10, 10, 11, 0.35));

  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;
  --space-8: 4.5rem;
  --space-9: 7rem;
  --gutter: clamp(1.25rem, 4vw, 2.75rem);
  --max: 76rem;
  --radius: 1rem;
  --radius-sm: 0.5rem;
  --radius-full: 999px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --t: 280ms;
}

[data-theme="light"] {
  --accent: #b87538;
  --accent-hover: #a3662e;
  --accent-soft: rgba(184, 117, 56, 0.1);
  --accent-line: rgba(184, 117, 56, 0.35);
  --focus: #8a5524;
  --bg: #f7f3ec;
  --bg-2: #fffdf9;
  --bg-3: #efe8dc;
  --surface: #ffffff;
  --surface-2: #f3ede3;
  --border: rgba(20, 16, 12, 0.08);
  --border-2: rgba(20, 16, 12, 0.16);
  --text: #14110e;
  --text-2: rgba(20, 17, 14, 0.68);
  --text-3: rgba(20, 17, 14, 0.42);
  --inverse: #f7f3ec;
  --header: rgba(247, 243, 236, 0.82);
  --shadow: 0 24px 56px rgba(40, 28, 16, 0.1);
  --shadow-sm: 0 8px 24px rgba(40, 28, 16, 0.08);
  --logo-filter: brightness(0) saturate(100%);
  --hero-veil: linear-gradient(105deg, rgba(247, 243, 236, 0.92) 0%, rgba(247, 243, 236, 0.7) 48%, rgba(247, 243, 236, 0.2) 100%);
  --map-filter: grayscale(1) contrast(0.98) brightness(1.05) sepia(0.28) hue-rotate(12deg) saturate(0.45);
  --map-wash: linear-gradient(160deg, rgba(184, 117, 56, 0.12), transparent 50%, rgba(247, 243, 236, 0.25));
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@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;
  }
}
body {
  min-height: 100vh;
  font-family: var(--font-body);
  font-size: clamp(0.95rem, 0.9rem + 0.2vw, 1.05rem);
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { color: var(--accent-hover); }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: none; }
ul { list-style: none; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
p { text-wrap: pretty; }
::selection { background: rgba(201, 134, 74, 0.35); color: #fff; }
:focus { outline: none; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }

.skip {
  position: absolute; left: var(--gutter); top: -100%;
  z-index: 999; padding: 0.75rem 1.25rem;
  background: var(--accent); color: var(--inverse);
  border-radius: var(--radius-sm); font-weight: 600; text-decoration: none;
}
.skip:focus { top: 1rem; }

.wrap {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ——— Header ——— */
/* Blur on ::before only — backdrop-filter on .header breaks position:fixed children */
.header {
  position: sticky; top: 0; z-index: 100;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: border-color var(--t) var(--ease), box-shadow var(--t) var(--ease);
}
.header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: var(--header);
  backdrop-filter: blur(18px) saturate(1.2);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
  pointer-events: none;
}
.header.is-scrolled {
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-sm);
}
.header__inner {
  position: relative;
  z-index: 2;
  display: flex; align-items: center; gap: 1rem;
  min-height: 4.5rem;
}
.header__logo {
  height: 2rem; width: auto; filter: var(--logo-filter); flex-shrink: 0;
}
.header__nav {
  display: flex; align-items: center; gap: 0.25rem;
  margin-left: 2rem;
}
.header__link {
  padding: 0.55rem 0.9rem;
  font-size: 0.875rem; font-weight: 500;
  color: var(--text-2); text-decoration: none;
  border-radius: var(--radius-full);
  transition: color var(--t) var(--ease), background var(--t) var(--ease);
}
.header__link:hover,
.header__link[aria-current="page"] {
  color: var(--text); background: var(--accent-soft);
}
.header__actions {
  display: flex; align-items: center; gap: 0.5rem;
  margin-left: auto;
}
.header__phone {
  display: none;
  font-size: 0.875rem; font-weight: 600;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.04em;
  text-decoration: none; color: var(--text-2);
  padding: 0.45rem 0.85rem;
  border: 1px solid var(--border-2);
  border-radius: var(--radius-full);
  transition: border-color var(--t), color var(--t), background var(--t);
}
.header__phone:hover {
  color: var(--text); border-color: var(--accent-line); background: var(--accent-soft);
}
@media (min-width: 1100px) { .header__phone { display: inline-flex; } }

.icon-btn {
  width: 2.5rem; height: 2.5rem; display: grid; place-items: center;
  border: 1px solid var(--border); border-radius: var(--radius-full);
  color: var(--text-2); transition: all var(--t) var(--ease);
}
.icon-btn:hover { color: var(--text); background: var(--surface); border-color: var(--border-2); }
.icon-btn svg { width: 1.1rem; height: 1.1rem; }
.theme-toggle .icon-sun { display: none; }
[data-theme="light"] .theme-toggle .icon-sun { display: block; }
[data-theme="light"] .theme-toggle .icon-moon { display: none; }

.lang {
  display: inline-flex; border: 1px solid var(--border); border-radius: var(--radius-full); overflow: hidden;
}
.lang button {
  min-height: 2.5rem; padding: 0 0.7rem;
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.08em; color: var(--text-3);
}
.lang button[aria-current="true"] { color: var(--text); background: var(--surface); }

.nav-toggle {
  display: none; width: 2.5rem; height: 2.5rem; place-items: center;
  border: 1px solid var(--border); border-radius: var(--radius-full); background: var(--surface);
}
.nav-toggle span {
  display: block; width: 1.05rem; height: 1.5px; background: currentColor; position: relative;
  transition: background 0.2s;
}
.nav-toggle span::before, .nav-toggle span::after {
  content: ""; position: absolute; left: 0; right: 0; height: 1.5px; background: currentColor;
  transition: transform 0.3s var(--ease), top 0.3s var(--ease);
}
.nav-toggle span::before { top: -5px; }
.nav-toggle span::after { top: 5px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }

.nav-backdrop { display: none; }

@media (max-width: 899px) {
  /* Header always above drawer + backdrop (open AND close animation) */
  .header {
    z-index: 230;
  }

  .nav-toggle {
    display: grid;
    order: 5;
    position: relative;
    z-index: 2;
  }
  .header__actions { order: 4; gap: 0.35rem; }

  /* Full-viewport drawer (ported to body via JS so fixed is never clipped) */
  .header__nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: auto;
    width: min(22rem, calc(100vw - 2.5rem));
    height: 100vh;
    height: 100dvh;
    max-height: 100vh;
    max-height: 100dvh;
    z-index: 210;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    gap: 0.15rem;
    padding:
      calc(5.5rem + env(safe-area-inset-top, 0px))
      1.75rem
      calc(2rem + env(safe-area-inset-bottom, 0px));
    background: linear-gradient(165deg, var(--bg-2) 0%, var(--bg) 100%);
    border-left: 1px solid var(--border);
    box-shadow: -24px 0 60px rgba(0, 0, 0, 0.4);
    transform: translate3d(105%, 0, 0);
    visibility: hidden;
    pointer-events: none;
    transition: transform 0.5s var(--ease), visibility 0.5s;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  .header__nav.is-open {
    transform: translate3d(0, 0, 0);
    visibility: visible;
    pointer-events: auto;
  }
  .header__link {
    font-family: var(--font-display);
    font-size: clamp(1.65rem, 7vw, 2rem);
    font-weight: 500;
    padding: 0.75rem 0;
    border-radius: 0;
    color: var(--text-2);
    flex-shrink: 0;
  }
  .header__link[aria-current="page"],
  .header__link:hover {
    background: none;
    color: var(--text);
  }
  .header__nav .btn {
    margin-top: 1.5rem;
    width: 100%;
    justify-content: center;
    flex-shrink: 0;
  }
  .nav-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 200;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.4s, visibility 0.4s;
  }
  body.nav-open .nav-backdrop {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
  body.nav-open {
    overflow: hidden;
    touch-action: none;
  }
}

/* ——— Buttons ——— */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  min-height: 3rem; padding: 0.75rem 1.5rem;
  font-size: 0.875rem; font-weight: 600; letter-spacing: 0.02em;
  text-decoration: none; border-radius: var(--radius-full);
  background: var(--accent); color: #0a0a0b; border: 1px solid transparent;
  box-shadow: var(--shadow-sm);
  transition: transform var(--t) var(--ease), background var(--t), box-shadow var(--t), color var(--t);
}
.btn:hover { background: var(--accent-hover); color: #0a0a0b; transform: translateY(-1px); box-shadow: var(--shadow); }
.btn--ghost {
  background: transparent; color: var(--text); border-color: var(--border-2); box-shadow: none;
}
.btn--ghost:hover { background: var(--surface); color: var(--text); border-color: var(--accent-line); }
.btn--sm { min-height: 2.4rem; padding: 0.45rem 1.1rem; font-size: 0.8rem; }
.btn--block { width: 100%; }

/* ——— Hero + booking ——— */
.hero {
  position: relative;
  min-height: auto;
  display: flex;
  align-items: center;
  padding: clamp(1.25rem, 3vw, 2.5rem) 0 clamp(2rem, 4vw, 3rem);
  overflow: hidden;
}
@media (min-width: 960px) {
  .hero {
    min-height: min(100vh, 56rem);
    padding-block: clamp(1.5rem, 3vh, 2.75rem);
  }
}
.hero__media { position: absolute; inset: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__veil { position: absolute; inset: 0; background: var(--hero-veil); }
.hero__grid {
  position: relative; z-index: 2;
  display: grid; gap: clamp(1.5rem, 3vw, 2.5rem);
  align-items: center;
  width: 100%;
}
@media (min-width: 960px) {
  .hero__grid { grid-template-columns: 0.95fr 1.05fr; }
}
.hero__copy { max-width: 36rem; }
.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 0.75rem;
  margin-bottom: 0.85rem; font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent);
}
.hero__eyebrow::before { content: ""; width: 1.75rem; height: 1px; background: var(--accent); }
.hero__title {
  font-size: clamp(2.4rem, 5vw, 4.25rem);
  margin-bottom: 0.75rem; color: var(--text);
}
.hero__lede { font-size: 1.05rem; color: var(--text-2); max-width: 30rem; line-height: 1.65; }

.book-card {
  width: 100%;
  background: color-mix(in srgb, var(--bg-2) 90%, transparent);
  backdrop-filter: blur(20px) saturate(1.15);
  -webkit-backdrop-filter: blur(20px) saturate(1.15);
  border: 1px solid var(--border-2);
  border-radius: calc(var(--radius) + 0.25rem);
  padding: 1.15rem 1.1rem;
  box-shadow: var(--shadow);
  overflow: visible;
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .book-card {
    background: var(--surface);
  }
}
.book-card__title {
  font-family: var(--font-body); font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-3);
  margin-bottom: 0.75rem;
}
.book-form { display: grid; gap: 0.85rem; }
.book-form__row { display: grid; gap: 0.85rem; grid-template-columns: 1fr; }
/* Desktop multi-column only — mobile always single column */
@media (min-width: 720px) {
  .book-form__row--2 { grid-template-columns: 1fr 1fr; }
}
.field { display: grid; gap: 0.35rem; }
.field label {
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--text-3);
}
.field input, .field select, .field textarea {
  width: 100%; min-height: 2.85rem; padding: 0.65rem 0.9rem;
  background: var(--bg); border: 1px solid var(--border-2); border-radius: var(--radius-sm);
  transition: border-color var(--t), box-shadow var(--t);
}
.field textarea { min-height: 7rem; resize: vertical; }

/* Compact booking form — shared by home hero + book-service */
.book-card .book-form {
  gap: 0.45rem;
}
.book-card .book-form__row {
  gap: 0.45rem;
}
.book-card .field {
  gap: 0.18rem;
}
.book-card .field label {
  font-size: 0.65rem;
  letter-spacing: 0.05em;
}
.book-card .field input,
.book-card .field select,
.book-card .field textarea {
  min-height: 2.2rem;
  padding: 0.4rem 0.65rem;
  font-size: 0.875rem;
}
.book-card .field textarea {
  min-height: 2.75rem;
  resize: none;
}
.book-card .field-check {
  gap: 0.55rem;
  font-size: 0.8rem;
  align-items: center;
}
.book-card .field-check .checkbox-ui {
  width: 1.1rem;
  height: 1.1rem;
  margin-top: 0;
}
.book-card .book-form .btn {
  min-height: 2.45rem;
  margin-top: 0.15rem;
  font-size: 0.8rem;
}
.book-card .form-status:empty {
  display: none;
}
.book-card .form-status {
  min-height: 0;
  font-size: 0.78rem;
  margin: 0;
}

/* Book Service reserve block — same card polish as home */
.reserve-block {
  display: grid;
  gap: clamp(1.5rem, 4vw, 2.75rem);
  align-items: start;
}
@media (min-width: 960px) {
  .reserve-block {
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    align-items: center;
  }
}
.reserve-block .book-card {
  width: 100%;
  /* Identical surface treatment to home hero card */
  background: color-mix(in srgb, var(--bg-2) 90%, transparent);
  backdrop-filter: blur(20px) saturate(1.15);
  -webkit-backdrop-filter: blur(20px) saturate(1.15);
  border: 1px solid var(--border-2);
  border-radius: calc(var(--radius) + 0.25rem);
  padding: 1.15rem 1.1rem;
  box-shadow: var(--shadow);
}

/* Mobile: one-column fields + matching card density everywhere */
@media (max-width: 719px) {
  .book-form__row--2,
  .book-form__row--3,
  .book-form__row--4 {
    grid-template-columns: 1fr !important;
  }

  .book-card,
  .hero .book-card,
  .reserve-block .book-card {
    padding: 1.15rem 1.1rem;
    border-radius: calc(var(--radius) + 0.15rem);
    box-shadow: var(--shadow);
  }

  .book-card .book-form,
  .book-card .book-form__row {
    gap: 0.55rem;
  }

  .book-card .field input,
  .book-card .field select,
  .book-card .field textarea {
    min-height: 2.45rem;
    padding: 0.5rem 0.75rem;
    font-size: 0.9rem;
    background: var(--bg);
  }

  .book-card .field textarea {
    min-height: 3.25rem;
  }

  .book-card .book-form .btn {
    min-height: 2.65rem;
    font-size: 0.85rem;
  }

  .book-card .field-check {
    font-size: 0.85rem;
  }
}
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft);
}
.field--error input, .field--error select, .field--error textarea { border-color: #c45c5c; }
.field__err { display: none; font-size: 0.75rem; color: #c45c5c; }
.field--error .field__err { display: block; }
/* Custom checkboxes — brand styled (label box, works in all browsers) */
.field-check {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.9rem;
  line-height: 1.45;
  color: var(--text-2);
  cursor: pointer;
  user-select: none;
}
.field-check:hover {
  color: var(--text);
}

/* Hide native control visually, keep accessible */
.field-check input[type="checkbox"],
input[type="checkbox"].checkbox {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
  opacity: 0;
}

/* Visible custom box */
.field-check .checkbox-ui,
.checkbox-ui {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 1.25rem;
  height: 1.25rem;
  margin-top: 0.1rem;
  flex-shrink: 0;
  border: 1.5px solid var(--border-2);
  border-radius: 0.35rem;
  background: var(--surface);
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.14);
  transition:
    background var(--t) var(--ease),
    border-color var(--t) var(--ease),
    box-shadow var(--t) var(--ease);
}

.field-check .checkbox-ui::after,
.checkbox-ui::after {
  content: "";
  width: 0.7rem;
  height: 0.7rem;
  opacity: 0;
  transform: scale(0.55);
  transition: opacity var(--t) var(--ease), transform var(--t) var(--ease);
  background: center / contain no-repeat
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%230a0a0b' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3.5 8.5 6.5 11.5 12.5 4.5'/%3E%3C/svg%3E");
}

.field-check:hover .checkbox-ui,
.field-check:hover .checkbox-ui {
  border-color: var(--accent-line);
  background: var(--surface-2);
}

.field-check input[type="checkbox"]:checked + .checkbox-ui,
input[type="checkbox"].checkbox:checked + .checkbox-ui {
  background: var(--accent);
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft), inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.field-check input[type="checkbox"]:checked + .checkbox-ui::after,
input[type="checkbox"].checkbox:checked + .checkbox-ui::after {
  opacity: 1;
  transform: scale(1);
}

.field-check input[type="checkbox"]:focus-visible + .checkbox-ui,
input[type="checkbox"].checkbox:focus-visible + .checkbox-ui {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}

.field-check input[type="checkbox"]:disabled + .checkbox-ui {
  opacity: 0.45;
  cursor: not-allowed;
}
.form-status { font-size: 0.85rem; color: var(--text-2); min-height: 0; }
.form-status:not(:empty) { min-height: 1.25em; margin-top: 0.25rem; }
.form-status.is-ok { color: #5a9a78; }
.form-status.is-err { color: #c45c5c; }

/* Compact multi-field rows — desktop only (mobile forced 1-col above) */
.book-form__row--3,
.book-form__row--4 {
  grid-template-columns: 1fr;
}
@media (min-width: 720px) {
  .book-form__row--3 { grid-template-columns: 1fr 1fr; }
  .book-form__row--4 { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 960px) {
  .book-form__row--3 { grid-template-columns: repeat(3, 1fr); }
  .book-form__row--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.book-form__row--4 .field input[type="number"] {
  min-width: 0;
}

/* ——— Sections ——— */
.section { padding-block: clamp(3.5rem, 9vw, 7rem); }
.section--tight { padding-block: clamp(2.5rem, 6vw, 4rem); }
.section--band { background: var(--bg-2); border-block: 1px solid var(--border); }
.section--accent {
  background:
    radial-gradient(ellipse 60% 80% at 10% 20%, var(--accent-soft), transparent 55%),
    var(--bg);
}

.section-head { max-width: 40rem; margin-bottom: clamp(2rem, 5vw, 3.25rem); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head__eyebrow {
  display: inline-block; margin-bottom: 0.75rem;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--accent);
}
.section-head__title { font-size: clamp(2rem, 4vw, 3.25rem); margin-bottom: 1rem; }
.section-head__text { color: var(--text-2); font-size: 1.05rem; line-height: 1.7; }

.tagline {
  text-align: center; padding-block: clamp(2.5rem, 6vw, 4rem);
}
.tagline h2 {
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  max-width: 18ch; margin-inline: auto; margin-bottom: 0.75rem;
}
.tagline p { color: var(--text-2); max-width: 36rem; margin-inline: auto; font-size: 1.1rem; }

/* Split */
.split {
  display: grid; gap: clamp(2rem, 5vw, 4rem); align-items: center;
}
@media (min-width: 860px) {
  .split { grid-template-columns: 1fr 1fr; }
  .split--wide-media { grid-template-columns: 1.15fr 0.85fr; }
  .split--wide-copy { grid-template-columns: 0.9fr 1.1fr; }
  .split--reverse > :first-child { order: 2; }
}

.media {
  position: relative; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--border); background: var(--bg-3);
  box-shadow: var(--shadow-sm);
}
.media--portrait { aspect-ratio: 4/5; }
.media--landscape { aspect-ratio: 16/10; }
.media--square { aspect-ratio: 1; }
.media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.8s var(--ease);
}
.media:hover img { transform: scale(1.04); }
.media__badge {
  position: absolute; left: 1rem; bottom: 1rem; z-index: 2;
  padding: 0.4rem 0.8rem; font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  background: rgba(10,10,11,0.7); color: #f4f1ec;
  border: 1px solid rgba(255,255,255,0.12); border-radius: var(--radius-full);
  backdrop-filter: blur(8px);
}

/* Service cards */
.grid-3 { display: grid; gap: 1.25rem; grid-template-columns: repeat(3, 1fr); }
.grid-2 { display: grid; gap: 1.25rem; grid-template-columns: repeat(2, 1fr); }
@media (max-width: 900px) { .grid-3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } }

.card {
  display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden;
  transition: transform var(--t) var(--ease), box-shadow var(--t), border-color var(--t);
}
.card:hover {
  transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--border-2);
}
.card__media { aspect-ratio: 16/10; overflow: hidden; background: var(--bg-3); }
.card__media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.7s var(--ease);
}
.card:hover .card__media img { transform: scale(1.05); }
.card__body { padding: 1.35rem 1.4rem 1.5rem; display: flex; flex-direction: column; gap: 0.55rem; flex: 1; }
.card__meta {
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--accent);
}
.card__title { font-size: 1.35rem; }
.card__text { color: var(--text-2); font-size: 0.92rem; line-height: 1.65; flex: 1; }
.card__link {
  display: inline-flex; align-items: center; gap: 0.4rem;
  margin-top: 0.5rem; font-size: 0.875rem; font-weight: 600;
  text-decoration: none; color: var(--text);
}
.card:hover .card__link { color: var(--accent-hover); }

/* Feature strip */
.pillars {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: var(--border); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden;
}
.pillars__item {
  background: var(--surface); padding: 1.75rem 1.25rem; text-align: center;
}
.pillars__num {
  font-family: var(--font-display); font-size: 1.75rem; color: var(--accent);
  margin-bottom: 0.4rem; font-variant-numeric: tabular-nums;
}
.pillars__label { font-size: 0.85rem; color: var(--text-2); line-height: 1.4; }
@media (max-width: 800px) { .pillars { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .pillars { grid-template-columns: 1fr; } }

/* Business band */
.bento {
  display: grid; gap: 1rem;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: minmax(12rem, auto);
}
.bento__item {
  position: relative; grid-column: span 4; border-radius: var(--radius);
  overflow: hidden; border: 1px solid var(--border); min-height: 14rem;
  isolation: isolate;
}
.bento__item--wide { grid-column: span 8; }
.bento__item--tall { grid-row: span 2; min-height: 28rem; }
@media (max-width: 900px) {
  .bento__item, .bento__item--wide { grid-column: span 6; }
  .bento__item--tall { grid-row: span 1; min-height: 16rem; }
}
@media (max-width: 600px) {
  .bento__item, .bento__item--wide { grid-column: span 12; }
}
.bento__item img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.8s var(--ease);
}
.bento__item:hover img { transform: scale(1.05); }
.bento__scrim {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(to top, rgba(10,10,11,0.92) 0%, rgba(10,10,11,0.2) 60%);
}
.bento__body {
  position: absolute; inset: auto 0 0 0; z-index: 2; padding: 1.35rem 1.4rem; color: #f4f1ec;
}
.bento__body h3 { font-size: 1.35rem; margin-bottom: 0.3rem; color: #f4f1ec; }
.bento__body p { font-size: 0.88rem; color: rgba(244,241,236,0.72); }

/* Testimonials */
.quotes { display: grid; gap: 1.15rem; grid-template-columns: repeat(2, 1fr); }
@media (max-width: 700px) { .quotes { grid-template-columns: 1fr; } }
.quote {
  display: flex; flex-direction: column; gap: 1.25rem; height: 100%;
  padding: 1.75rem; background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius);
}
.quote__text {
  font-family: var(--font-display); font-size: 1.15rem; font-style: italic;
  line-height: 1.55; flex: 1;
}
.quote__text::before { content: "“"; color: var(--accent); }
.quote__foot { display: flex; align-items: center; gap: 0.75rem; }
.quote__avatar {
  width: 2.75rem; height: 2.75rem; border-radius: 50%; object-fit: cover;
  border: 1px solid var(--border-2);
}
.quote__name { font-size: 0.9rem; font-weight: 600; }
.quote__role { font-size: 0.75rem; color: var(--text-3); }

/* Rates table */
.rates {
  overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius);
  background: var(--surface); -webkit-overflow-scrolling: touch;
}
.rates table { width: 100%; border-collapse: collapse; min-width: 40rem; font-size: 0.9rem; }
.rates th, .rates td { padding: 1rem 1.15rem; text-align: left; border-bottom: 1px solid var(--border); }
.rates thead th {
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--text-3); background: var(--bg-2);
}
.rates tbody th { font-family: var(--font-display); font-size: 1.1rem; font-weight: 500; }
.rates tbody tr:last-child th, .rates tbody tr:last-child td { border-bottom: 0; }
.rates tbody tr:hover td, .rates tbody tr:hover th { background: var(--surface-2); }
.price-main { font-weight: 600; }
.price-sub { display: block; font-size: 0.75rem; color: var(--text-3); margin-top: 0.15rem; }
.rates-note {
  margin-top: 1rem; padding: 1rem 1.15rem; border-radius: var(--radius-sm);
  background: var(--accent-soft); border: 1px solid var(--accent-line);
  font-size: 0.9rem; color: var(--text-2);
}

/* CTA finale */
.finale {
  text-align: center; padding-block: clamp(4rem, 10vw, 7rem);
  background:
    radial-gradient(ellipse 50% 60% at 50% 100%, var(--accent-soft), transparent 70%),
    var(--bg-2);
  border-top: 1px solid var(--border);
}
.finale h2 {
  font-size: clamp(2.2rem, 5vw, 3.75rem);
  max-width: 16ch; margin-inline: auto; margin-bottom: 1.75rem;
}
.finale__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; justify-content: center; }

/* Contact */
.contact-hero-cta {
  /* inherits page-hero h1 scale — same column as home */
  margin-bottom: 1rem;
}
.contact-stack { display: grid; gap: 1.75rem; }
.contact-item__label {
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--text-3); margin-bottom: 0.35rem;
}
.contact-item__value {
  font-size: 1.2rem; font-weight: 600; font-variant-numeric: tabular-nums; letter-spacing: 0.03em;
}
.contact-item__value a { text-decoration: none; color: var(--text); }
.contact-item__value a:hover { color: var(--accent-hover); }

.contact-map {
  position: relative; min-height: clamp(16rem, 42vw, 24rem);
  border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border);
  background: var(--bg-3);
}
.contact-map iframe {
  width: 100%; height: 100%; min-height: clamp(16rem, 42vw, 24rem); border: 0;
  filter: var(--map-filter);
}
.contact-map::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: var(--map-wash); mix-blend-mode: soft-light;
}

.panel {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 0.15rem); padding: clamp(1.35rem, 3vw, 2rem);
  box-shadow: var(--shadow-sm);
}
.panel h2 { font-size: 1.75rem; margin-bottom: 0.4rem; }
.panel > p { color: var(--text-2); font-size: 0.92rem; margin-bottom: 1.35rem; }

/* About timeline / values */
.values { display: grid; gap: 0; }
.value {
  display: grid; grid-template-columns: auto 1fr; gap: 1.25rem;
  padding: 1.5rem 0; border-bottom: 1px solid var(--border);
}
.value:last-child { border-bottom: 0; }
.value__n { font-family: var(--font-display); font-size: 1.35rem; color: var(--accent); line-height: 1; }
.value h3 { font-family: var(--font-body); font-size: 0.95rem; font-weight: 700; letter-spacing: 0.04em; margin-bottom: 0.35rem; }
.value p { color: var(--text-2); font-size: 0.92rem; }

/* Prose */
.prose { max-width: 42rem; color: var(--text-2); line-height: 1.75; }
.prose h2 { font-size: 1.75rem; color: var(--text); margin: 2rem 0 0.85rem; }
.prose p + p { margin-top: 1rem; }
.prose ul { margin: 1rem 0; padding-left: 1.1rem; list-style: disc; display: grid; gap: 0.4rem; }
.prose a { color: var(--accent-hover); }

/* Page hero — same full-bleed scheme as home */
.page-hero {
  position: relative;
  min-height: min(72vh, 40rem);
  display: flex;
  align-items: flex-end;
  padding: clamp(6rem, 14vw, 10rem) 0 clamp(3.5rem, 8vw, 5.5rem);
  overflow: hidden;
  width: 100%;
}
.page-hero__media {
  position: absolute;
  inset: 0;
  width: 100%;
}
.page-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.page-hero__veil {
  position: absolute;
  inset: 0;
  background: var(--hero-veil);
}
/* Same container width as home (.wrap + .hero__copy) */
.page-hero__content.wrap,
.page-hero > .wrap {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--max);
}
.page-hero__content {
  position: relative;
  z-index: 2;
}
/* Match home .hero__copy column width */
.page-hero__copy,
.page-hero__content > *:not(.page-hero__actions) {
  max-width: 36rem;
}
.page-hero .hero__eyebrow {
  margin-bottom: 1.15rem;
}
.page-hero h1 {
  font-size: clamp(2.8rem, 6vw, 4.75rem);
  margin-bottom: 1rem;
  color: var(--text);
  max-width: 36rem;
}
.page-hero__lede,
.page-hero p {
  color: var(--text-2);
  font-size: 1.1rem;
  line-height: 1.7;
  max-width: 30rem;
}
.page-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
  max-width: 36rem;
}
/* Home hero also full viewport width */
.hero {
  width: 100%;
}

/* Footer */
.footer {
  margin-top: auto; padding: 3.5rem 0 1.75rem;
  background: var(--bg-2); border-top: 1px solid var(--border);
}
.footer__grid {
  display: grid; gap: 2.5rem;
  grid-template-columns: 1.4fr repeat(3, 1fr);
}
.footer__logo { height: 1.65rem; width: auto; filter: var(--logo-filter); margin-bottom: 1rem; }
.footer__tag { color: var(--text-2); font-size: 0.9rem; max-width: 18rem; line-height: 1.65; margin-bottom: 1.25rem; }
.footer__social { display: flex; gap: 0.5rem; }
.footer__social a {
  width: 2.35rem; height: 2.35rem; display: grid; place-items: center;
  border: 1px solid var(--border); border-radius: 50%; color: var(--text-2); text-decoration: none;
  transition: all var(--t);
}
.footer__social a:hover { color: var(--accent); border-color: var(--accent-line); background: var(--accent-soft); }
.footer__social svg { width: 1rem; height: 1rem; }
.footer h2 {
  font-family: var(--font-body); font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-3); margin-bottom: 1rem;
}
.footer__list { display: grid; gap: 0.65rem; }
.footer__list a { font-size: 0.9rem; color: var(--text-2); text-decoration: none; }
.footer__list a:hover { color: var(--accent-hover); }
.footer__meta { display: grid; gap: 0.45rem; font-size: 0.9rem; color: var(--text-2); }
.footer__meta a { text-decoration: none; color: var(--text-2); font-variant-numeric: tabular-nums; }
.footer__meta a:hover { color: var(--accent-hover); }
.footer__bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem;
  margin-top: 2.75rem; padding-top: 1.35rem; border-top: 1px solid var(--border);
  font-size: 0.78rem; color: var(--text-3);
}
.footer__bottom a { color: var(--text-3); text-decoration: none; }
.footer__bottom a:hover { color: var(--accent-hover); }
@media (max-width: 860px) {
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__grid > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 520px) { .footer__grid { grid-template-columns: 1fr; } }

/* Motion */
.js [data-reveal] {
  opacity: 0; transform: translateY(1.15rem);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js [data-stagger] > * {
  opacity: 0; transform: translateY(0.9rem);
  transition: opacity 0.65s var(--ease), transform 0.65s var(--ease);
}
.js [data-stagger].is-in > *:nth-child(1) { transition-delay: 0.05s; }
.js [data-stagger].is-in > *:nth-child(2) { transition-delay: 0.12s; }
.js [data-stagger].is-in > *:nth-child(3) { transition-delay: 0.19s; }
.js [data-stagger].is-in > *:nth-child(4) { transition-delay: 0.26s; }
.js [data-stagger].is-in > *:nth-child(5) { transition-delay: 0.33s; }
.js [data-stagger].is-in > *:nth-child(6) { transition-delay: 0.4s; }
.js [data-stagger].is-in > * { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .js [data-reveal], .js [data-stagger] > * { opacity: 1 !important; transform: none !important; transition: none !important; }
  .btn:hover, .card:hover, .media:hover img, .bento__item:hover img { transform: none; }
}

/* Accent hairline utility */
.accent-rule {
  width: 3rem; height: 2px; background: var(--accent); border: 0; margin: 1.25rem 0;
}
