/* ==========================================================================
   Hero — full-bleed photo, split form
   ========================================================================== */

@keyframes hero-fadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes hero-scaleIn {
  from {
    opacity: 0;
    transform: scale(0.96);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
@keyframes hero-pulse {
  0%,
  100% {
    box-shadow: 0 0 0 3px rgba(74, 222, 128, 0.2);
  }
  50% {
    box-shadow: 0 0 0 6px rgba(74, 222, 128, 0.08);
  }
}
@keyframes hero-slowZoom {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.08);
  }
}

.hero {
  background: var(--ink);
  color: #fff;
  padding: 0;
  position: relative;
  overflow: hidden;
  /* Subtract sticky header + topbar (~114px) so hero content fits in the
     first visible area without scroll. Fallback to 100vh if calc fails. */
  min-height: 100vh;
  min-height: calc(100svh - 114px);
  display: flex;
  align-items: center;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 65% 50%;
  display: block;
}
.hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(8, 6, 6, 0.94) 0%,
    rgba(8, 6, 6, 0.82) 40%,
    rgba(8, 6, 6, 0.35) 75%,
    rgba(8, 6, 6, 0.55) 100%
  );
  pointer-events: none;
}
.hero__bg-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

.hero .container {
  padding: 0 clamp(18px, 4vw, 28px);
}
.hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(28px, 4vw, 48px);
  align-items: center;
  padding: clamp(24px, 4vh, 40px) 0 clamp(32px, 5vh, 48px);
  width: 100%;
}

/* ── Left column ── */
.hero__left > * {
  animation: hero-fadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) backwards;
}
.hero__left > *:nth-child(1) {
  animation-delay: 0.05s;
}
.hero__left > *:nth-child(2) {
  animation-delay: 0.15s;
}
.hero__left > *:nth-child(3) {
  animation-delay: 0.25s;
}
.hero__left > *:nth-child(4) {
  animation-delay: 0.32s;
}
.hero__left > *:nth-child(5) {
  animation-delay: 0.4s;
}
.hero__left > *:nth-child(6) {
  animation-delay: 0.5s;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: clamp(10px, 0.75vw, 11px);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  color: rgba(255, 255, 255, 0.42);
  margin-bottom: clamp(10px, 1.2vw, 14px);
}
.hero__eyebrow-dot {
  width: 6px;
  height: 6px;
  background: #4ade80;
  border-radius: 50%;
  animation: hero-pulse 2s ease-in-out infinite;
}

.hero__title {
  font-family: var(--serif);
  font-size: clamp(30px, 5.4vw, 62px);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -0.03em;
  color: #fff;
  margin: 0 0 clamp(10px, 1.2vw, 14px);
  max-width: 640px;
  text-wrap: balance;
}
.hero__title-accent {
  font-style: italic;
  color: var(--red-2, #1e68e3);
  font-weight: 500;
  white-space: normal;
}
@media (min-width: 480px) {
  .hero__title-accent {
    white-space: nowrap;
  }
}

.hero__lead {
  font-size: clamp(15px, 1.15vw, 16px);
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.65;
  margin: 0 0 clamp(12px, 1.5vw, 16px);
  max-width: 480px;
  text-wrap: pretty;
}

.hero__bullets {
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px clamp(14px, 1.8vw, 20px);
  margin: 0 0 clamp(12px, 1.6vw, 18px);
}
.hero__bullets li {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: clamp(13px, 1vw, 14px);
  font-weight: 500;
  color: rgba(255, 255, 255, 0.78);
}
.hero__bullets svg {
  width: 16px;
  height: 16px;
  color: var(--red-2, #1e68e3);
  flex-shrink: 0;
}

.hero__stats {
  text-align: center;
  display: flex;
  gap: 0;
  padding: clamp(8px, 1vw, 12px) 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin: 0 0 clamp(14px, 1.8vw, 20px);
}
.hero__stat {
  flex: 1;
  min-width: 0;
}
.hero__stat:not(:last-child) {
  padding-right: clamp(12px, 2vw, 24px);
  margin-right: clamp(12px, 2vw, 24px);
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}
.hero__bullets .hero__bullet--mobile-only {
  display: none !important;
}
@media (max-width: 640px) {
  .hero__bullets .hero__bullet--mobile-only {
    display: inline-flex !important;
  }
}
.hero__stat strong {
  display: block;
  font-family: var(--serif);
  font-size: clamp(18px, 2.5vw, 28px);
  font-weight: 600;
  color: #fff;
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 2px;
}
.hero__stat span {
  font-size: clamp(11px, 0.85vw, 12px);
  color: rgba(255, 255, 255, 0.4);
  line-height: 1.3;
  display: block;
}

.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.hero .btn {
  min-height: 44px;
  padding: clamp(10px, 1.2vw, 13px) clamp(18px, 2.2vw, 26px);
  font-size: clamp(14px, 1.1vw, 15px);
  gap: 9px;
  line-height: 1;
}
.hero .btn svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}
.hero .btn--white {
  background: #fff;
  color: var(--ink);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
  border: none;
}
.hero .btn--white:hover {
  background: var(--red);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(20, 86, 207, 0.35);
}
.hero .btn--ghost {
  background: rgba(255, 255, 255, 0.07);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.hero .btn--ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.22);
  transform: translateY(-2px);
}

/* ── Right column — glass form card ──
   No animation on .hero__right or .hero__card itself: opacity/transform on
   the parent breaks the child's backdrop-filter (blur disappears until the
   animation finishes). The card paints with full blur immediately; inner
   content fades up via .hero__card > * children below. */
.hero__right {
  opacity: 1;
}
.hero__card > * {
  animation: hero-fadeUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) backwards;
}
.hero__card > *:nth-child(1) {
  animation-delay: 0.3s;
}
.hero__card > *:nth-child(2) {
  animation-delay: 0.38s;
}
.hero__card > *:nth-child(3) {
  animation-delay: 0.46s;
}
.hero__card > *:nth-child(4) {
  animation-delay: 0.54s;
}

.hero__card {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-radius: var(--r-lg, 22px);
  padding: clamp(18px, 2.2vw, 24px);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: clamp(10px, 1.2vw, 14px);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.22);
}

.hero__card-head {
  margin-bottom: clamp(2px, 0.4vw, 6px);
}
.hero__card-eyebrow {
  display: block;
  font-size: 11px;
  font-weight: 600;
  color: rgb(201 205 210);
  letter-spacing: 2.2px;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.hero__card-title {
  font-family: var(--serif);
  font-size: clamp(22px, 2.4vw, 28px);
  font-weight: 600;
  color: #fff;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0 0 6px;
}
.hero__card-title .accent {
  color: rgba(255, 255, 255, 0.6);
  white-space: nowrap;
  font-style: italic;
  font-weight: 500;
}
.hero__card-sub {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.4;
  margin: 0;
}

/* ── CF7 form override inside glass card ── */
.hero__card .wpcf7 {
  display: block;
  width: 100%;
}
.hero__card .wpcf7-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 12px;
  width: 100%;
}
.hero__card .wpcf7-form > .cf7-row {
  grid-column: span 1;
  margin: 0;
}
.hero__card .wpcf7-form > .cf7-row--full,
.hero__card .wpcf7-form > .wpcf7-acceptance,
.hero__card .wpcf7-form > p {
  grid-column: 1 / -1;
  margin: 0;
}

.hero__card .wpcf7-form label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.65);
  letter-spacing: 0.2px;
  text-transform: none;
}
.hero__card .wpcf7-form input[type="text"],
.hero__card .wpcf7-form input[type="tel"],
.hero__card .wpcf7-form input[type="email"],
.hero__card .wpcf7-form select,
.hero__card .wpcf7-form textarea {
  width: 100%;
  margin-top: 10px;
  padding: 10px 14px;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 500;
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  min-height: 48px;
  outline: none;
  transition:
    background 0.22s,
    border-color 0.22s,
    box-shadow 0.22s;
}
.hero__card .wpcf7-form select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23ffffff' stroke-opacity='0.55' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='m4 6 4 4 4-4'/></svg>");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 16px;
  padding-right: 42px;
  cursor: pointer;
  color-scheme: dark;
}
.hero__card .wpcf7-form select option {
  background: var(--ink);
  color: #fff;
}
.hero__card .wpcf7-form textarea {
  min-height: 96px;
  line-height: 1.5;
  resize: vertical;
}
.hero__card .wpcf7-form input::placeholder,
.hero__card .wpcf7-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.3);
}
.hero__card .wpcf7-form input:hover,
.hero__card .wpcf7-form select:hover,
.hero__card .wpcf7-form textarea:hover {
  background-color: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.2);
}
.hero__card .wpcf7-form input:focus,
.hero__card .wpcf7-form select:focus,
.hero__card .wpcf7-form textarea:focus {
  background-color: rgba(255, 255, 255, 0.08);
  border-color: var(--red-2, #1e68e3);
  box-shadow: 0 0 0 3px rgba(30, 104, 227, 0.18);
}
/* Custom-styled acceptance checkbox — matches reference (blue fill + white tick) */
.hero__card .wpcf7-form .wpcf7-acceptance .wpcf7-list-item {
  margin: 0;
  display: block;
}
.hero__card .wpcf7-form .wpcf7-acceptance label {
  display: inline-block;
  font-size: 12px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.65);
  letter-spacing: 0.2px;
  line-height: 1.45;
  text-transform: none;
  cursor: pointer;
  position: relative;
  padding-left: 28px;
}
.hero__card .wpcf7-form .wpcf7-acceptance input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 18px;
  height: 18px;
  left: 0;
  top: 1px;
  margin: 0;
  cursor: pointer;
  z-index: 1;
}
.hero__card .wpcf7-form .wpcf7-acceptance label::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1px;
  width: 18px;
  height: 18px;
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.05);
  transition:
    background 0.22s,
    border-color 0.22s;
}
.hero__card .wpcf7-form .wpcf7-acceptance label::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 5px;
  width: 10px;
  height: 10px;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23ffffff' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'><polyline points='13 4 6 11 3 8'/></svg>")
    no-repeat center / contain;
  opacity: 0;
  transition: opacity 0.22s;
  pointer-events: none;
}
.hero__card .wpcf7-form .wpcf7-acceptance label:hover::before {
  border-color: rgba(255, 255, 255, 0.5);
}
.hero__card
  .wpcf7-form
  .wpcf7-acceptance
  input[type="checkbox"]:checked
  ~ *
  ::before,
.hero__card .wpcf7-form .wpcf7-acceptance:has(input:checked) label::before {
  background: var(--red-2, #1e68e3);
  border-color: var(--red-2, #1e68e3);
}
.hero__card .wpcf7-form .wpcf7-acceptance:has(input:checked) label::after {
  opacity: 1;
}
.hero__card .wpcf7-form .wpcf7-acceptance a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.25);
  text-underline-offset: 2px;
}
.hero__card .wpcf7-form .wpcf7-acceptance a:hover {
  color: #fff;
  text-decoration-color: var(--red-2, #1e68e3);
}
/* Submit button — inline SVG arrow so it stays above the ::before progress
   bar (upgraded <input> → <button> in main.js). */
.hero__card .wpcf7-form .wpcf7-submit {
  width: 100%;
  padding: 16px 28px;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  background-color: #fff;
  border: none;
  border-radius: var(--pill, 999px);
  cursor: pointer;
  min-height: 52px;
  letter-spacing: -0.005em;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  margin-top: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition:
    background-color 0.22s,
    color 0.22s,
    transform 0.22s,
    box-shadow 0.22s;
}
.hero__card .wpcf7-form .wpcf7-submit svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  transition: transform 0.22s;
}
.hero__card .wpcf7-form .wpcf7-submit:hover {
  background-color: var(--red);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(20, 86, 207, 0.4);
}
.hero__card .wpcf7-form .wpcf7-submit:hover svg {
  transform: translateX(4px);
}

/* Invalid fields — red border + soft pink background + inline error text. */
.hero__card .wpcf7-response-output,
.hero__card .wpcf7 .screen-reader-response {
  display: none !important;
}
.hero__card .wpcf7-form .wpcf7-not-valid-tip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 6px;
  padding: 3px 0 0;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.35;
  color: #fecaca;
  letter-spacing: 0.2px;
}
.hero__card .wpcf7-form .wpcf7-not-valid-tip::before {
  content: "";
  display: inline-block;
  width: 12px;
  height: 12px;
  flex-shrink: 0;
  background: rgba(239, 68, 68, 0.95);
  border-radius: 50%;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none' stroke='white' stroke-width='2' stroke-linecap='round'><line x1='6' y1='3' x2='6' y2='7'/><circle cx='6' cy='9' r='0.6' fill='white'/></svg>");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 12px;
}

/* Invalid-state rules — highest specificity via #hero ancestor + !important.
   Triggered by main.js custom validation (adds .wpcf7-not-valid and aria-invalid) */
#hero .hero__card .wpcf7-form input.wpcf7-not-valid,
#hero .hero__card .wpcf7-form select.wpcf7-not-valid,
#hero .hero__card .wpcf7-form textarea.wpcf7-not-valid,
#hero .hero__card .wpcf7-form input[aria-invalid="true"],
#hero .hero__card .wpcf7-form select[aria-invalid="true"],
#hero .hero__card .wpcf7-form textarea[aria-invalid="true"],
#hero .hero__card .wpcf7-form input:not(:focus):user-invalid,
#hero .hero__card .wpcf7-form select:not(:focus):user-invalid,
#hero .hero__card .wpcf7-form textarea:not(:focus):user-invalid {
  background-color: rgba(255, 180, 180, 0.22) !important;
  border: 1.5px solid rgba(239, 68, 68, 0.9) !important;
  border-color: rgba(239, 68, 68, 0.9) !important;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.2) !important;
  color: #fff !important;
}

/* Acceptance checkbox — invalid state (JS adds .is-error on parent wrap) */
#hero .hero__card .wpcf7-form .wpcf7-acceptance.is-error label::before,
#hero .hero__card .wpcf7-form .wpcf7-acceptance.wpcf7-not-valid label::before,
#hero
  .hero__card
  .wpcf7-form
  .wpcf7-acceptance:has(input.wpcf7-not-valid)
  label::before,
#hero
  .hero__card
  .wpcf7-form
  .wpcf7-acceptance:has(input[aria-invalid="true"])
  label::before,
#hero
  .hero__card
  .wpcf7-form
  .wpcf7-acceptance:has(input:user-invalid)
  label::before {
  border-color: rgba(239, 68, 68, 0.9) !important;
  background: rgba(255, 180, 180, 0.25) !important;
}

.hero__trust {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-top: clamp(10px, 1.2vw, 12px);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  justify-content: center;
  flex-wrap: nowrap;
  white-space: nowrap;
}
.hero__trust-stars {
  display: inline-flex;
  gap: 1px;
  flex-shrink: 0;
}
.hero__trust-stars svg {
  width: 13px;
  height: 13px;
  color: #fbbf24;
}
.hero__trust span {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.4;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}
.hero__trust strong {
  color: rgba(255, 255, 255, 0.85);
  font-weight: 600;
}
@media (max-width: 480px) {
  .hero__trust {
    gap: 8px;
  }
  .hero__trust-stars svg {
    width: 11px;
    height: 11px;
  }
  .hero__trust span {
    font-size: 10.5px;
  }
}

/* Responsive */
@media (min-width: 1400px) {
  .hero .container {
    max-width: 1320px;
  }
  .hero__inner {
    gap: 80px;
  }
}
@media (max-width: 1100px) {
  .hero__inner {
    grid-template-columns: 1fr 0.95fr;
    gap: 48px;
  }
  .hero__stats {
    flex-wrap: wrap;
    gap: 16px 0;
  }
  .hero__stat {
    flex: 1 1 30%;
  }
}
/* Mobile standalone booking form — hidden above 768px, desktop form takes over */
.hero-form-mobile {
  display: none;
}
@media (max-width: 768px) {
  .hero__right--desktop {
    display: none !important;
  }
  .hero-form-mobile {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 100vh;
    min-height: 100svh;
    /* 72px = mobile sticky header height; keeps card clear of the header
       so the dark section background fills the full visible viewport. */
    padding: 72px 0 40px;
    background: var(--ink);
    position: relative;
    z-index: 2;
  }
}

@media (max-width: 1024px) {
  .hero {
    min-height: 100vh;
    /* svh = small viewport height. Locked to the visible area when the
       Safari toolbar is showing, so the hero doesn't grow when the toolbar
       retracts on scroll — that growth was making .hero__bg img re-crop
       under object-fit: cover and look like a jittery zoom. */
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
  }
  .hero__inner {
    display: flex;
    flex-direction: column;
    gap: 44px;
    padding: 80px 0 88px;
    align-items: center;
    flex: 1;
    justify-content: center;
    width: 100%;
  }
  .hero__left {
    animation: none;
    opacity: 1;
    transform: none;
    text-align: center;
    max-width: 720px;
    margin: 0 auto;
  }
  .hero__left > * {
    animation: none;
    opacity: 1;
    transform: none;
  }
  .hero__title,
  .hero__lead {
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
  }
  .hero__bullets,
  .hero__ctas {
    justify-content: center;
  }
  .hero__stats {
    justify-content: center;
  }
  .hero__trust {
    margin-left: auto;
    margin-right: auto;
  }
  .hero__right {
    display: block;
    width: 100%;
    max-width: 560px;
    margin: 0 auto;
    animation: none;
    opacity: 1;
    transform: none;
  }
  .hero__card {
    width: 100%;
    min-height: 1px;
  }
  .hero__bg img {
    object-position: 60% 50%;
  }
  .hero__bg::after {
    background: linear-gradient(
      180deg,
      rgba(8, 6, 6, 0.88) 0%,
      rgba(8, 6, 6, 0.8) 40%,
      rgba(8, 6, 6, 0.82) 100%
    );
  }
}
@media (max-width: 640px) {
  .hero {
    justify-content: start;
  }
  .hero__trust {
    margin: 0 auto;
  }
  .hero__inner {
    padding: 72px 0 64px;
    gap: 36px;
  }
  .hero__stats {
    flex-wrap: wrap;
  }
  .hero__stat {
    flex: 1 1 calc(33% - 12px);
  }
  .hero__stat:not(:last-child) {
    padding-right: 12px;
    margin-right: 12px;
  }
  .hero__ctas {
    flex-direction: column;
    align-items: stretch;
  }
  .hero .btn {
    width: 100%;
  }
  .hero__card {
    padding: 22px 18px;
    border-radius: 18px;
    gap: 14px;
  }
  .hero__card-title {
    font-size: 22px;
  }
  .hero__card .wpcf7-form {
    gap: 10px;
  }
  .hero__card .wpcf7-form label {
    font-size: 10px;
    letter-spacing: 1.5px;
  }
  .hero__card .wpcf7-form input,
  .hero__card .wpcf7-form select,
  .hero__card .wpcf7-form textarea {
    font-size: 16px;
  }
}
@media (max-width: 420px) {
  .hero__inner {
    padding: 48px 0 64px;
  }
  .hero__stats {
    flex-direction: column;
    gap: 16px;
    padding: 18px 0;
  }
  .hero__stat {
    flex: 1 1 100%;
  }
  .hero__stat:not(:last-child) {
    padding-right: 0;
    margin-right: 0;
    border-right: none;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }
  .hero__bullets {
    gap: 8px 16px;
  }
  .hero__card {
    padding: 20px 16px;
  }
  .hero__card-title {
    font-size: 21px;
  }
  .hero__card .wpcf7-form {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
}
@media (hover: none) {
  .hero .btn--white:hover,
  .hero .btn--ghost:hover {
    transform: none;
  }
}

/* Scroll indicator — bottom of hero */
@keyframes hero-scroll-float {
  0%,
  100% {
    transform: translate(-50%, 0);
  }
  50% {
    transform: translate(-50%, -6px);
  }
}
.hero__scroll {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  color: rgba(255, 255, 255, 0.35);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  z-index: 3;
  animation: hero-scroll-float 3s ease-in-out infinite;
  transition: color 0.22s;
}
.hero__scroll:hover {
  color: rgba(255, 255, 255, 0.7);
}
.hero__scroll svg {
  width: 12px;
  height: 12px;
}
@media (max-width: 900px) {
  .hero__scroll {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .hero__bg img {
    animation: none;
  }
  .hero__left > *,
  .hero__right {
    animation: none;
  }
}

/* ==========================================================================
   Marquee
   ========================================================================== */

.marquee {
  position: relative;
  background: var(--ink);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding: 0;
  overflow: hidden;
}
.marquee::before,
.marquee::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 120px;
  z-index: 2;
  pointer-events: none;
}
.marquee::before {
  left: 0;
  background: linear-gradient(to right, var(--ink) 0%, transparent 100%);
}
.marquee::after {
  right: 0;
  background: linear-gradient(to left, var(--ink) 0%, transparent 100%);
}
.marquee__inner {
  display: flex;
  overflow: hidden;
}
.marquee__track {
  display: flex;
  align-items: center;
  gap: 0;
  flex-shrink: 0;
  white-space: nowrap;
  will-change: transform;
  /* 56s for 4 rendered copies scrolling -50% preserves the original
     28s-per-copy pace (4 copies × -50% = 2 copy widths per loop). */
  animation: marquee-scroll 56s linear infinite;
}
.marquee__inner:hover .marquee__track {
  animation-play-state: paused;
}
.marquee__item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 18px 32px;
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: 0.1px;
  color: rgba(255, 255, 255, 0.65);
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  transition: color 0.2s;
  cursor: default;
}
.marquee__item:hover {
  color: rgba(255, 255, 255, 0.95);
}
.marquee__icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  opacity: 0.5;
  transition: opacity 0.2s;
  color: currentColor;
  object-fit: contain;
}
img.marquee__icon {
  display: inline-block;
  vertical-align: middle;
  /* Tint uploaded raster/SVG images so they match the marquee text color
     (white). brightness(0) flattens any source color to black; invert(1)
     flips black → white. Transparency is preserved. */
  filter: brightness(0) invert(1);
}
.marquee__item:hover .marquee__icon {
  opacity: 1;
}
.marquee__item--accent {
  color: rgba(255, 255, 255, 0.9);
}
.marquee__item--accent .marquee__icon {
  opacity: 1;
  color: #e8a531;
}
/* Accent rows: tint uploaded images to the gold accent (#e8a531). Filter
   chain generated from a black source via the sosuke recipe. */
.marquee__item--accent img.marquee__icon {
  filter: brightness(0) saturate(100%) invert(70%) sepia(46%) saturate(1207%)
    hue-rotate(354deg) brightness(95%) contrast(91%);
}
.marquee__sep {
  display: inline-flex;
  align-items: center;
  padding: 18px 20px;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}
.marquee__sep-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
}
@keyframes marquee-scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* ==========================================================================
   Services tiles
   ========================================================================== */

.services {
  background: var(--paper);
}
.tiles {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.tile {
  display: flex;
  flex-direction: column;
  min-height: 280px;
  padding: 24px;
  color: var(--ink-2);
  text-decoration: none;
  transition:
    transform var(--t),
    box-shadow var(--t);
  position: relative;
  overflow: hidden;
  background: var(--paper);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-1);
}
.tile:hover {
  transform: translateY(-4px);
  box-shadow: var(--sh-3);
}
.tile__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 28px;
  position: relative;
  z-index: 1;
}
.tile__icon {
  width: 36px;
  height: 36px;
  stroke-width: 1.4;
  color: currentColor;
}
.tile__arrow {
  width: 18px;
  height: 18px;
  opacity: 0.7;
  transition:
    transform var(--t),
    opacity var(--t);
}
.tile:hover .tile__arrow {
  opacity: 1;
  transform: translate(3px, -3px);
}
.tile__body {
  margin-top: auto;
  position: relative;
  z-index: 1;
}
.tile__title {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 600;
  margin: 0 0 8px;
  letter-spacing: -0.015em;
  line-height: 1.15;
}
.tile__desc {
  font-size: 13.5px;
  line-height: 1.5;
  margin: 0;
  opacity: 0.78;
}
.tile__cta {
  display: block;
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid rgba(0, 0, 0, 0.18);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  opacity: 0.85;
  position: relative;
  z-index: 1;
}
.tile__tag {
  display: inline-block;
  padding: 5px 11px;
  background: var(--white);
  color: var(--ink);
  border-radius: var(--pill);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.tile--blue {
  background: var(--red);
  color: #dbe6ff;
}
.tile--blue .tile__title,
.tile--blue .tile__icon,
.tile--blue .tile__arrow {
  color: #fff;
}
.tile--blue .tile__cta {
  color: #fff;
  border-top-color: rgba(255, 255, 255, 0.28);
}
.tile--ink {
  background: var(--ink);
  color: #d4cac1;
}
.tile--ink .tile__title,
.tile--ink .tile__icon,
.tile--ink .tile__arrow {
  color: #fff;
}
.tile--ink .tile__cta {
  color: #fff;
  border-top-color: rgba(255, 255, 255, 0.22);
}
.tile--paper {
  background: var(--paper);
  color: var(--ink-2);
}
.tile--paper .tile__title,
.tile--paper .tile__icon {
  color: var(--ink);
}
.tile--cream {
  background: var(--cream);
  color: var(--ink-2);
}
.tile--cream .tile__title,
.tile--cream .tile__icon {
  color: var(--ink);
}
.tile--ochre {
  background: var(--ochre-soft);
  color: var(--ink-2);
}
.tile--ochre .tile__title,
.tile--ochre .tile__icon {
  color: var(--ink);
}
.tile--sage {
  background: var(--sage-soft);
  color: var(--ink-2);
}
.tile--sage .tile__title,
.tile--sage .tile__icon {
  color: var(--ink);
}

/* ==========================================================================
   Services — photo tiles
   ========================================================================== */

.services-photo {
  background: var(--paper-2);
}
.srv-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.srv-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  min-height: 290px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  text-decoration: none;
  color: #fff;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  isolation: isolate;
}
.srv-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 24px 48px rgba(18, 16, 16, 0.22);
}
.srv-card__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  z-index: 0;
  border-radius: 16px;
}
.srv-card:hover .srv-card__photo {
  transform: scale(1.05);
}
.srv-card__overlay {
  position: absolute;
  border-radius: 16px;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(10, 8, 8, 0.88) 0%,
    rgba(10, 8, 8, 0.45) 55%,
    rgba(10, 8, 8, 0.1) 100%
  );
  z-index: 1;
}
.srv-card__icon {
  position: relative;
  z-index: 2;
  width: 40px;
  height: 40px;
  margin: 20px 20px;
  display: block;
}
.srv-card__icon img,
.srv-card__icon svg {
  width: 100%;
  height: 100%;
  filter: brightness(0) invert(1);
  opacity: 0.9;
}
.srv-card__body {
  position: relative;
  z-index: 2;
  padding: 16px 20px 0;
}
.srv-card__title {
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 600;
  color: #fff;
  margin: 0 0 5px;
  line-height: 1.2;
}
.srv-card__desc {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.72);
  margin: 0;
  line-height: 1.4;
}
.srv-card__foot {
  position: relative;
  z-index: 2;
  margin: 14px 20px 20px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.srv-card__price {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.3px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.88);
}
.srv-card__arrow {
  width: 18px;
  height: 18px;
  opacity: 0.7;
  transition:
    transform 0.25s ease,
    opacity 0.25s ease;
  flex-shrink: 0;
}
.srv-card:hover .srv-card__arrow {
  opacity: 1;
  transform: translate(3px, -3px);
}

@media (max-width: 1100px) {
  .srv-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 780px) {
  .srv-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 540px) {
  .srv-grid {
    grid-template-columns: 1fr;
  }
  .srv-card {
    min-height: 220px;
  }
}

/* ==========================================================================
   Offer strip
   ========================================================================== */

.offer {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background: #1a1211;
  padding: 0;
}
.offer__trust-item--mobile-only {
  display: none !important;
}
@media (max-width: 640px) {
  .offer__trust-item--mobile-only {
    display: inline-flex !important;
  }
}
.offer__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.offer__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  display: block;
}
.offer__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(10, 8, 8, 0.82) 0%,
    rgba(10, 8, 8, 0.68) 45%,
    rgba(10, 8, 8, 0.28) 100%
  );
}
.offer__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 60px;
  align-items: center;
  padding: 80px 60px;
}
.offer__kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px 6px 10px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  font-family: var(--sans);
  font-style: normal;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 22px;
  backdrop-filter: blur(6px);
}
.offer__kicker-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 0 3px rgba(74, 222, 128, 0.22);
  flex-shrink: 0;
}
.offer__text h2 {
  font-family: var(--serif);
  font-size: clamp(28px, 3.6vw, 46px);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 18px;
  color: #fff;
}
.offer__text h2 em {
  font-style: italic;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.72);
}
.offer__text p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 15px;
  line-height: 1.6;
  max-width: 560px;
}
.offer__trust {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 22px;
}
.offer__trust-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 12px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(4px);
}
.offer__trust-item svg {
  width: 13px;
  height: 13px;
  flex-shrink: 0;
  color: #4ade80;
}
.offer__actions {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 30px;
  flex-shrink: 0;
  justify-self: end;
}
.offer .btn--white {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.22);
}
.offer .btn--link-light {
  padding: 12px 0;
}

@media (max-width: 640px) {
  .offer__trust-item {
    width: 48%;
  }
}
/* ==========================================================================
   Commercial
   ========================================================================== */

.commercial {
  position: relative;
  overflow: hidden;
  background: #1a1211;
  color: #fff;
  padding: 0;
}
.commercial__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.commercial__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  display: block;
}
.commercial__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(8, 6, 6, 0.93) 0%,
    rgba(8, 6, 6, 0.8) 45%,
    rgba(8, 6, 6, 0.45) 100%
  );
}
.commercial__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 72px;
  align-items: center;
  padding-top: 96px;
  padding-bottom: 104px;
}
.commercial .eyebrow--light {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 16px;
}
.commercial__content .h2 {
  color: #fff;
  font-family: var(--serif);
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 600;
  line-height: 1.06;
  letter-spacing: -0.03em;
  margin-bottom: 22px;
}
.commercial__lead {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.65;
  max-width: 520px;
  margin: 0 0 36px;
}
.commercial__cta {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}
.commercial__cta:hover {
  background: var(--red);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(20, 86, 207, 0.35);
}
.commercial__cta-icon {
  flex-shrink: 0;
}
.commercial__stats {
  text-align: center;
  display: grid;
  grid-template-columns: repeat(4, auto);
  gap: 0;
  margin-bottom: 32px;
  padding: 24px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.commercial__stats > div {
  padding-right: 32px;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  margin-right: 32px;
}
.commercial__stats > div:last-child {
  border-right: none;
  margin-right: 0;
  padding-right: 0;
}
.commercial__stats strong {
  display: block;
  font-family: var(--serif);
  font-size: 30px;
  font-weight: 600;
  color: #fff;
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 4px;
}
.commercial__stats span {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.3;
  display: block;
}
.commercial__segments {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 36px;
  padding: 0;
}
.commercial__segments li {
  padding: 6px 14px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--pill);
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(6px);
  transition:
    background 0.22s,
    color 0.22s;
}
.commercial__segments li:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
}

.commercial__side {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.commercial__note {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-radius: var(--r-lg);
  padding: 32px;
}
.commercial__quote-icon {
  width: 32px;
  height: 24px;
  margin-bottom: 18px;
  opacity: 0.4;
  color: #fff;
  display: block;
}
.commercial__note blockquote {
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 500;
  font-style: italic;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.88);
  margin: 0 0 22px;
  letter-spacing: -0.01em;
}
.commercial__note cite {
  display: flex;
  align-items: center;
  gap: 12px;
  font-style: normal;
}
.commercial__avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
  flex-shrink: 0;
}
.commercial__note cite strong {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 2px;
}
.commercial__note cite span {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.35;
}

.commercial__facts {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-radius: var(--r-lg);
  padding: 30px 0px;
  text-align: center;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin: 0;
}
.commercial__facts > div {
  padding-right: 24px;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  margin-right: 24px;
}
.commercial__facts > div:last-child {
  border-right: none;
  margin-right: 0;
  padding-right: 0;
}
.commercial__facts dt {
  font-size: 11.5px;
  color: rgba(255, 255, 255, 0.42);
  margin-bottom: 6px;
  line-height: 1.3;
  font-weight: 500;
}
.commercial__facts dd {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 600;
  color: #fff;
  letter-spacing: -0.02em;
  line-height: 1;
  margin: 0;
}

@media (max-width: 1024px) {
  .commercial__note cite {
    width: 100%;
    justify-content: center;
  }
  .container.commercial__inner {
    grid-template-columns: 1fr;
    gap: 48px;
    padding-top: 64px !important;
    padding-bottom: 72px !important;
    text-align: center;
    max-width: 760px;
  }
  .commercial__lead {
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
  }
  .commercial__segments {
    justify-content: center;
  }
  .commercial__facts {
    justify-self: center;
  }
  .commercial__bg::after {
    background: linear-gradient(
      180deg,
      rgba(8, 6, 6, 0.88) 0%,
      rgba(8, 6, 6, 0.75) 100%
    );
  }
  .commercial__stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
    border-top: 0;
    border-bottom: 0;
    padding: 0;
  }
  .commercial__stats > div {
    margin: 0;
    padding: 20px;
    border-right: 0;
  }
  .commercial__stats > div:nth-child(1),
  .commercial__stats > div:nth-child(3) {
    border-right: 1px solid rgba(255, 255, 255, 0.1);
  }
  .commercial__stats > div:nth-child(1),
  .commercial__stats > div:nth-child(2) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
}
@media (max-width: 540px) {
  .commercial__facts {
    gap: 16px;
    padding: 22px 24px;
  }
  .commercial__facts > div {
    border-right: none;
    margin-right: 0;
    padding-right: 0;
  }
  .commercial__facts > div:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }
}

/* ==========================================================================
   Areas
   ========================================================================== */

.areas {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: #fff;
  padding: 0;
}
.areas__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.areas__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  display: block;
}
.areas__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(8, 6, 6, 0.92) 0%,
    rgba(8, 6, 6, 0.75) 50%,
    rgba(8, 6, 6, 0.4) 100%
  );
}
.areas__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 480px 1fr;
  gap: 72px;
  align-items: center;
  padding: 96px 0 104px;
}
.areas .eyebrow--light {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  color: rgba(255, 255, 255, 0.42);
  margin-bottom: 14px;
}
.areas__left .h2 {
  font-family: var(--serif);
  font-size: clamp(32px, 4vw, 50px);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -0.03em;
  color: #fff;
  margin-bottom: 20px;
}
.areas__left .h2 em {
  font-style: italic;
  color: rgba(255, 255, 255, 0.55);
  font-weight: 600;
  display: block;
}
.areas__lead {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.65;
  margin: 0 0 36px;
  max-width: 400px;
}
.areas__stats {
  text-align: center;
  display: flex;
  gap: 0;
  padding: 24px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 36px;
}
.areas__stat {
  flex: 1;
}
.areas__stat:not(:last-child) {
  padding-right: 24px;
  margin-right: 24px;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}
.areas__stat strong {
  display: block;
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 600;
  color: #fff;
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 4px;
}
.areas__stat span {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4);
}
.areas__card {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-radius: var(--r-lg);
  padding: 32px;
  max-width: 592px;
}
.areas__card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 24px;
}
.areas__card-title {
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.55);
  letter-spacing: 0.3px;
}
.areas__count {
  font-size: 12px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.08);
  padding: 3px 10px;
  border-radius: var(--pill);
}
.areas__districts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 20px;
}
.district-tile {
  display: flex;
  flex-direction: column;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  cursor: pointer;
  transition: all var(--t);
  text-decoration: none;
}
.district-tile:hover {
  background: rgba(20, 86, 207, 0.25);
  border-color: rgba(20, 86, 207, 0.5);
  transform: translateY(-2px);
}
.district-tile__sub {
  color: rgba(255, 255, 255, 0.7);
}
.district-tile__name {
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 3px;
}
.district-tile__sub {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.3;
}

/* areas CTA — scoped to match demo (red hover, blue shadow, lift) */
.areas__cta {
  padding: 17px 32px;
  font-size: 15px;
  gap: 9px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}
.areas__cta:hover {
  background: var(--red);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(20, 86, 207, 0.35);
}
.areas__cta svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}
.district-tile__wrap {
  text-align: center;
}
.areas__all-link {
  width: max-content;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 14px 0 6px;
  padding: 10px 16px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 10px;
  color: #fff;
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: 0.01em;
  transition: all var(--t);
  align-self: flex-start;
}
.areas__all-link:hover,
.areas__all-link:focus-visible {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.28);
  color: #fff;
}
.areas__all-link svg {
  width: 14px;
  height: 14px;
  transition: transform var(--t);
}
.areas__all-link:hover svg {
  transform: translateX(3px);
}

@media (max-width: 1024px) {
  .container.areas__inner {
    grid-template-columns: 1fr;
    gap: 48px;
    text-align: center;
    padding: 64px 18px 72px 18px !important;
  }
  .areas__bg::after {
    background: linear-gradient(
      180deg,
      rgba(8, 6, 6, 0.88) 0%,
      rgba(8, 6, 6, 0.75) 100%
    );
  }
  .areas__districts {
    grid-template-columns: repeat(4, 1fr);
  }
  .areas__lead {
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
  }
  .areas__card {
    max-width: 720px;
    margin: 0 auto;
    width: 95%;
  }
}

@media (max-width: 640px) {
  .areas__left .h2 {
    font-size: clamp(22px, 6.2vw, 28px);
    line-height: 1.1;
    margin-bottom: 14px;
    text-wrap: balance;
  }
  .areas__left .h2 em {
    display: inline;
  }
  .areas__stats {
    border-top: 0;
    border-bottom: 0;
  }
  .commercial__content .h2 {
    font-size: clamp(22px, 6.2vw, 28px);
    line-height: 1.12;
    text-wrap: balance;
  }

  .areas__districts {
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
  }
}

/* ==========================================================================
   Related — photo-tile cards (home page)
   ========================================================================== */

.related {
  background: var(--paper);
}

.related__main {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.related__card--main {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 280px;
  border-radius: var(--r-lg, 22px);
  overflow: hidden;
  text-decoration: none;
  isolation: isolate;
  transition:
    transform 0.3s,
    box-shadow 0.3s;
}
.related__card--main:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 48px rgba(20, 14, 10, 0.18);
}
.related__card-photo {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.related__card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.5s ease;
}
.related__card--main:hover .related__card-photo img {
  transform: scale(1.05);
}
.related__card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(8, 6, 6, 0.88) 0%,
    rgba(8, 6, 6, 0.45) 50%,
    rgba(8, 6, 6, 0.08) 100%
  );
}
.related__card-badge {
  position: absolute;
  top: 20px;
  left: 20px;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}
.related__card-badge svg {
  width: 20px;
  height: 20px;
  stroke: #fff;
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  color: #fff;
}
.related__card-content {
  position: relative;
  z-index: 2;
  padding: 24px 26px;
}
.related__card-content h3 {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 600;
  color: #fff;
  letter-spacing: -0.015em;
  line-height: 1.15;
  margin: 0 0 8px;
}
.related__card-content p {
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.5;
  margin: 0 0 16px;
}
.related__card-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition:
    background 0.22s,
    color 0.22s,
    border-color 0.22s;
}
.related__card--main:hover .related__card-cta {
  background: #fff;
  color: var(--ink);
  border-color: #fff;
}
.related__card-arrow {
  width: 11px;
  height: 11px;
  transition: transform 0.22s;
  flex-shrink: 0;
}
.related__card--main:hover .related__card-arrow {
  transform: translate(2px, -2px);
}

@media (max-width: 700px) {
  .related__main {
    grid-template-columns: 1fr;
  }
  .related__card--main {
    min-height: 220px;
  }
}

/* Tile background image overlay */
.tile__bg {
  position: absolute;
  inset: 0;
  background-image: var(--tile-bg, none);
  background-size: cover;
  background-position: center;
  opacity: 0;
  z-index: 0;
  transition: opacity var(--t);
}
.tile[style*="--tile-bg"] .tile__bg {
  opacity: 0.25;
}
.tile[style*="--tile-bg"]:hover .tile__bg {
  opacity: 0.4;
}

/* Tile image icon */
.tile__icon-img {
  width: 36px;
  height: 36px;
  position: relative;
  z-index: 1;
  transition: transform var(--t);
}
.tile--blue .tile__icon-img,
.tile--ink .tile__icon-img {
  filter: brightness(0) invert(1);
}
.tile:hover .tile__icon-img {
  transform: scale(1.05);
}

/* Tile mode overrides — when ACF accent color sets background, adjust text contrast */
.tile[data-mode="dark"] {
  color: rgba(255, 255, 255, 0.82);
}
.tile[data-mode="dark"] .tile__title,
.tile[data-mode="dark"] .tile__icon,
.tile[data-mode="dark"] .tile__arrow {
  color: #fff;
}
.tile[data-mode="dark"] .tile__cta {
  color: #fff;
  border-top-color: rgba(255, 255, 255, 0.28);
}
.tile[data-mode="dark"] .tile__icon-img {
  filter: brightness(0) invert(1);
}
.tile[data-mode="light"] {
  color: var(--ink-2);
}
.tile[data-mode="light"] .tile__title,
.tile[data-mode="light"] .tile__icon,
.tile[data-mode="light"] .tile__arrow {
  color: var(--ink);
}
.tile[data-mode="light"] .tile__cta {
  color: var(--ink);
  border-top-color: rgba(0, 0, 0, 0.18);
}
.tile[data-mode="light"] .tile__icon-img {
  filter: none;
}

/* ==========================================================================
   Responsive — front page
   ========================================================================== */

@media (max-width: 1100px) {
  .tiles {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 960px) {
  .tiles {
    grid-template-columns: repeat(2, 1fr);
  }
  .why__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .commercial__stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .container.offer__inner {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 80px 18px !important;
  }
}

@media (max-width: 640px) {
  .tiles {
    grid-template-columns: 1fr;
  }
  .why__grid {
    grid-template-columns: 1fr;
  }
  .commercial__stats {
    grid-template-columns: 1fr 1fr;
  }
  .areas__list {
    grid-template-columns: 1fr;
  }

  .offer__bg::after {
    background: linear-gradient(
      180deg,
      rgba(10, 8, 8, 0.55) 0%,
      rgba(10, 8, 8, 0.82) 100%
    );
  }
  .offer__actions {
    justify-self: stretch;
    width: 100%;
    flex-direction: column;
  }
  .offer__actions .btn--white {
    width: 100%;
    justify-content: center;
  }
  .offer__actions .btn--link-light {
    align-self: center;
  }
  .tile {
    min-height: 240px !important;
    padding: 22px !important;
  }
  .marquee {
    padding: 18px 0;
  }
  .marquee__item {
    font-size: 14px;
  }
  .tile:hover {
    transform: none;
  }
}
