﻿/* ============================================================
   CONTACT PAGE — contact.css
   Dark OLED · Red-Black-White · Glassmorphism
   ============================================================ */

/* ── CSS Custom Properties ── */
:root {
    --red:          #D71920;
    --red-dark:     #b81018;
    --red-glow:     rgba(215, 25, 32, 0.22);
    --red-alpha:    rgba(215, 25, 32, 0.10);

    --bg:           #0a0a0c;
    --bg-2:         #111418;
    --bg-card:      rgba(255, 255, 255, 0.04);
    --bg-card-h:    rgba(255, 255, 255, 0.07);
    --border:       rgba(255, 255, 255, 0.09);
    --border-focus: rgba(215, 25, 32, 0.70);

    --white:        #ffffff;
    --text:         rgba(255, 255, 255, 0.92);
    --text-muted:   rgba(255, 255, 255, 0.50);
    --text-dim:     rgba(255, 255, 255, 0.32);

    --font-display: 'Bricolage Grotesque', sans-serif;
    --font-body:    'Montserrat', sans-serif;

    --ease-out:     cubic-bezier(0.16, 1, 0.3, 1);
    --ease-spring:  cubic-bezier(0.34, 1.56, 0.64, 1);

    --radius-sm:    8px;
    --radius-md:    14px;
    --radius-lg:    20px;
    --radius-xl:    28px;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.65;
    color: var(--text);
    background: var(--bg);
    min-height: 100vh;
}
@media (min-width: 1600px) {/* DESKTOP-SCALE generated by tools/desktop-scale.mjs */
body {
    min-height: 133.3333vh;
}
}
img, video { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; border: 0; background: none; font: inherit; }

/* ── Shared tokens ── */
.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-display);
    font-size: 12px;
    font-weight: 450;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--red);
    padding: 5px 14px;
    border: 1.5px solid rgba(215, 25, 32, 0.30);
    border-radius: 100px;
    margin-bottom: 14px;
    width: fit-content;
}

.title-red { color: var(--red); }

/* ── Reveal animation ── */
.reveal-up {
    opacity: 0;
    transform: translateY(36px);
    filter: blur(4px);
    transition:
        opacity  0.70s var(--ease-out),
        transform 0.70s var(--ease-out),
        filter   0.70s var(--ease-out);
}
.reveal-up.is-visible {
    opacity: 1;
    transform: translateY(0);
    filter: none;
}
.delay-1 { transition-delay: 0.10s !important; }
.delay-2 { transition-delay: 0.18s !important; }
.delay-3 { transition-delay: 0.28s !important; }

/* ============================================================
   HERO
   ============================================================ */
.contact-hero {
    position: relative;
    min-height: 72vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 96px;
    overflow: hidden;
    background: var(--bg);
}
@media (min-width: 1600px) {/* DESKTOP-SCALE generated by tools/desktop-scale.mjs */
.contact-hero {
    min-height: 96vh;
}
}

.contact-hero__bg {
    position: absolute;
    top: 0; right: 0; bottom: 0; left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 0.18;
    z-index: 0;
}

.contact-hero__overlay {
    position: absolute;
    top: 0; right: 0; bottom: 0; left: 0;
    background:
        radial-gradient(ellipse 80% 80% at 50% 0%, rgba(215,25,32,0.12) 0%, transparent 65%),
        linear-gradient(180deg, rgba(10,10,12,0.55) 0%, rgba(10,10,12,0.85) 60%, var(--bg) 100%);
    z-index: 1;
}

.contact-hero__content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 760px;
    padding-inline: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

/* Badge */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-family: var(--font-display);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.10em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.75);
    padding: 7px 18px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.14);
    border-radius: 100px;
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
}

.badge-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--red);
    box-shadow: 0 0 0 3px rgba(215,25,32,0.25);
    animation: badgePulse 2.2s ease-in-out infinite;
    flex-shrink: 0;
}

@keyframes badgePulse {
    0%, 100% { box-shadow: 0 0 0 3px rgba(215,25,32,0.25); }
    50%       { box-shadow: 0 0 0 7px rgba(215,25,32,0.08); }
}

/* ================================================================
   HERO ENTRANCE — stagger the content children with varied motion.
   The container keeps its .reveal-up fade; children carry the movement.
   Motion-safe only; reduced-motion users get the final state instantly.
================================================================ */
@keyframes heroRevUp   { from { opacity: 0; transform: translateY(28px); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes heroRevDown { from { opacity: 0; transform: translateY(-20px); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: no-preference) {
  /* Container just fades; the children below provide the staggered motion. */
  .contact-hero__content.reveal-up          { transform: none; }
  .contact-hero__content .hero-badge        { animation: heroRevDown 0.7s cubic-bezier(0.16, 1, 0.3, 1) both 0.25s; }
  .contact-hero__content .contact-hero__h1  { animation: heroRevUp   0.9s cubic-bezier(0.16, 1, 0.3, 1) both 0.40s; }
  .contact-hero__content .contact-hero__sub { animation: heroRevUp   0.9s cubic-bezier(0.16, 1, 0.3, 1) both 0.55s; }
  .contact-hero__content .hero-pills        { animation: heroRevUp   0.9s cubic-bezier(0.16, 1, 0.3, 1) both 0.70s; }
  .contact-hero__content .hero-ctas         { animation: heroRevUp   0.9s cubic-bezier(0.16, 1, 0.3, 1) both 0.85s; }
}

/* Headline */
.contact-hero__h1 {
    display: flex;
    flex-direction: column;
    gap: 0;
    font-family: var(--font-display);
    line-height: 0.95;
    letter-spacing: -0.02em;
}

.h1-line { display: block; }

.h1-line--muted {
    font-size: clamp(28px, 5vw, 40px);
    font-weight: 600;
    color: var(--text-muted);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

@media (min-width: 1600px) {/* DESKTOP-SCALE generated by tools/desktop-scale.mjs */

.h1-line--muted {
    font-size: clamp(28px, 6.6667vw, 40px);
}
}

.h1-line--outline {
    font-size: clamp(80px, 14vw, 140px);
    font-weight: 900;
    color: #ffffff;   /* was a 2px white text-stroke — heroes are solid now */
    line-height: 0.9;
}

@media (min-width: 1600px) {/* DESKTOP-SCALE generated by tools/desktop-scale.mjs */

.h1-line--outline {
    font-size: clamp(80px, 18.6667vw, 140px);
}
}

.h1-line--accent {
    font-size: clamp(48px, 8vw, 88px);
    font-weight: 900;
    color: var(--red);
    line-height: 1.05;
}

@media (min-width: 1600px) {/* DESKTOP-SCALE generated by tools/desktop-scale.mjs */

.h1-line--accent {
    font-size: clamp(48px, 10.6667vw, 88px);
}
}

.contact-hero__sub {
    font-size: 17px;
    line-height: 1.75;
    color: #ffffff;
    max-width: 560px;
}

/* Pills */
.hero-pills {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.hero-pill {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 13px;
    font-weight: 600;
    color: rgba(255,255,255,0.65);
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.12);
    padding: 6px 14px;
    border-radius: 100px;
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    transition: color 0.22s, border-color 0.22s, background 0.22s;
}
.hero-pill i { color: var(--red); font-size: 11px; }
.hero-pill:hover {
    color: var(--white);
    border-color: rgba(215,25,32,0.40);
    background: rgba(215,25,32,0.07);
}

/* Hero CTA buttons */
.hero-ctas {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
    margin-top: 4px;
}

.btn-hero-red,
.btn-hero-ghost {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-family: var(--font-display);
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 14px 28px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: background 0.22s, border-color 0.22s, box-shadow 0.22s, transform 0.18s;
    position: relative;
    overflow: hidden;
    margin-bottom: 25px;
}

.btn-hero-red {
    background: var(--red);
    color: var(--white);
    border: 2px solid var(--red);
    box-shadow: 0 4px 18px rgba(215,25,32,0.30);
}

.btn-hero-red:hover {
    background: var(--red-dark);
    border-color: var(--red-dark);
    box-shadow: 0 8px 28px rgba(215,25,32,0.45);
    transform: translateY(-2px);
}

.btn-hero-ghost {
    background: transparent;
    color: rgba(255,255,255,0.80);
    border: 2px solid rgba(255,255,255,0.22);
}

.btn-hero-ghost:hover {
    border-color: rgba(215,25,32,0.55);
    color: var(--white);
    background: rgba(215,25,32,0.08);
    transform: translateY(-2px);
}

.btn-hero-red:active,
.btn-hero-ghost:active { transform: translateY(0); }

/* Scroll indicator */
.contact-hero__scroll {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    width: 26px;
    height: 42px;
    border: 2px solid rgba(255,255,255,0.22);
    border-radius: 100px;
    display: flex;
    justify-content: center;
    padding-top: 6px;
}

.contact-hero__scroll span {
    display: block;
    width: 4px;
    height: 8px;
    border-radius: 100px;
    background: var(--red);
    animation: scrollDot 1.8s ease-in-out infinite;
}

@keyframes scrollDot {
    0%   { transform: translateY(0); opacity: 1; }
    80%  { transform: translateY(16px); opacity: 0; }
    100% { transform: translateY(0); opacity: 0; }
}

/* ============================================================
   INFO STRIP
   ============================================================ */
.info-strip {
    background: var(--bg-2);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding-block: 0;
}

.info-strip__inner {
    max-width: clamp(1280px, 78vw, 2200px);
    margin: 0 auto;
    padding-inline: clamp(48px, 4vw, 120px);
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    position: relative;
}

@media (min-width: 1600px) {/* DESKTOP-SCALE generated by tools/desktop-scale.mjs */

.info-strip__inner {
    max-width: clamp(1280px, 104vw, 2200px);
    padding-inline: clamp(48px, 5.3333vw, 120px);
}
}

.info-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 28px 24px;
    border-right: 1px solid var(--border);
    transition: background 0.25s;
    cursor: default;
}

.info-card:last-child { border-right: none; }

.info-card:hover {
    background: var(--bg-card-h);
}

.info-card__icon {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: var(--red-alpha);
    border: 1.5px solid rgba(215,25,32,0.20);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--red);
    font-size: 18px;
    flex-shrink: 0;
    transition: background 0.25s, transform 0.25s var(--ease-spring);
}

.info-card:hover .info-card__icon {
    background: var(--red);
    color: var(--white);
    transform: scale(1.08) rotate(-4deg);
}

.info-card__text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.info-card__label {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.10em;
    color: var(--text-dim);
}

.info-card__text strong {
    font-family: var(--font-display);
    font-size: 15px;
    font-weight: 600;
    color: var(--text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ============================================================
   CONTACT SECTION
   ============================================================ */
.contact-section {
    position: relative;
    padding-block: 100px;
    overflow: hidden;
    background: var(--bg);
}

.contact-section__glow {
    position: absolute;
    top: -200px;
    left: 50%;
    transform: translateX(-50%);
    width: 900px;
    height: 600px;
    background: radial-gradient(ellipse, rgba(215,25,32,0.08) 0%, transparent 65%);
    pointer-events: none;
    z-index: 0;
}

.contact-wrap {
    max-width: clamp(1280px, 78vw, 2200px);
    margin: 0 auto;
    padding-inline: clamp(48px, 4vw, 120px);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
    position: relative;
    z-index: 1;
}

@media (min-width: 1600px) {/* DESKTOP-SCALE generated by tools/desktop-scale.mjs */

.contact-wrap {
    max-width: clamp(1280px, 104vw, 2200px);
    padding-inline: clamp(48px, 5.3333vw, 120px);
}
}

/* ── Form Card ── */
.form-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 48px;
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    position: relative;
    overflow: hidden;
}

.form-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, var(--red) 50%, transparent 100%);
}

.form-card__header {
    margin-bottom: 36px;
}

.form-card__title {
    font-family: var(--font-display);
    font-size: clamp(30px, 4vw, 44px);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: var(--white);
    margin-bottom: 10px;
}

@media (min-width: 1600px) {/* DESKTOP-SCALE generated by tools/desktop-scale.mjs */

.form-card__title {
    font-size: clamp(30px, 5.3333vw, 44px);
}
}

.form-card__sub {
    font-size: 15px;
    line-height: 1.65;
    color: #ffffff;
}

/* ── Field groups ── */
.field-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}

.field-group {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 16px;
}

.field-row .field-group { margin-bottom: 0; }

/* ── Floating label input ── */
.field-wrap {
    position: relative;
}

.field-input {
    width: 100%;
    background: rgba(255,255,255,0.05);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 20px 16px 8px;
    font-family: var(--font-body);
    font-size: 16px; /* 16px minimum prevents iOS Safari auto-zoom on focus */
    color: var(--white);
    outline: none;
    transition: border-color 0.25s, background 0.25s, box-shadow 0.25s;
    appearance: none;
    -webkit-appearance: none;
}

.field-input::placeholder { color: transparent; }

.field-input:focus {
    border-color: var(--red);
    background: rgba(215,25,32,0.05);
    box-shadow: 0 0 0 3px rgba(215,25,32,0.15), inset 0 0 0 1px rgba(215,25,32,0.08);
}

.field-input.has-error {
    border-color: #ef4444;
    box-shadow: 0 0 0 3px rgba(239,68,68,0.15);
}

/* Floating label */
.field-label {
    position: absolute;
    top: 14px;
    left: 16px;
    font-size: 15px;
    color: var(--text-muted);
    pointer-events: none;
    transition: top 0.20s var(--ease-out), font-size 0.20s var(--ease-out), color 0.20s;
}

.field-label span { color: var(--red); }

/* Float up when input has content or is focused */
.field-input:focus ~ .field-label,
.field-input:not(:placeholder-shown) ~ .field-label,
.field-select:required:valid ~ .field-label {
    top: 5px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--red);
}

/* Red focus bar */
.field-bar {
    display: block;
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--red);
    border-radius: 0 0 4px 4px;
    transition: width 0.28s var(--ease-out), left 0.28s var(--ease-out);
    transform: translateX(-50%);
}

.field-input:focus ~ .field-label ~ .field-bar,
.field-input:focus ~ .field-bar {
    width: calc(100% - 4px);
    left: 2px;
    transform: none;
}

/* Select */
.field-select {
    cursor: pointer;
    padding-right: 40px;
}

.field-select option {
    background: #1a1f27;
    color: var(--white);
}

.field-select-arrow {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 12px;
    pointer-events: none;
    transition: transform 0.22s, color 0.22s;
}

.field-select:focus ~ .field-select-arrow {
    color: var(--red);
    transform: translateY(-50%) rotate(180deg);
}

/* Textarea */
.field-textarea {
    resize: vertical;
    min-height: 120px;
    padding-top: 24px;
}

/* Error text */
.field-error {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: #ef4444;
    padding-left: 4px;
    min-height: 18px;
    transition: opacity 0.20s;
}

/* Field footer: error + character counter row */
.field-footer {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 8px;
}

.char-counter {
    font-size: 11px;
    color: var(--text-dim);
    white-space: nowrap;
    flex-shrink: 0;
    padding-top: 1px;
    transition: color 0.20s;
}

.char-counter.is-near-limit { color: #f97316; }

/* Honeypot — visually hidden, real users never see it */
.field-honeypot {
    position: absolute;
    left: -9999px;
    width: 0;
    height: 0;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    tab-size: 0;
}

/* Submit error banner */
.submit-error {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    background: rgba(239,68,68,0.10);
    border: 1px solid rgba(239,68,68,0.30);
    border-radius: var(--radius-sm);
    padding: 12px 16px;
    font-size: 14px;
    color: #fca5a5;
    margin-bottom: 12px;
    line-height: 1.55;
}

.submit-error i {
    color: #ef4444;
    font-size: 16px;
    flex-shrink: 0;
    margin-top: 2px;
}

/* ── Submit Button ── */
.submit-btn {
    width: 100%;
    margin-top: 8px;
    padding: 16px 28px;
    border-radius: var(--radius-sm);
    background: var(--red);
    color: var(--white);
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(215,25,32,0.30);
    transition: background 0.22s, box-shadow 0.22s, transform 0.18s;
}

.submit-btn:hover {
    background: var(--red-dark);
    box-shadow: 0 8px 32px rgba(215,25,32,0.45);
    transform: translateY(-2px);
}

.submit-btn:active { transform: translateY(0); }

.submit-btn:disabled {
    opacity: 0.65;
    cursor: not-allowed;
    transform: none;
}

/* Shimmer sweep on hover */
.submit-btn__shimmer {
    position: absolute;
    top: 0; right: 0; bottom: 0; left: 0;
    background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,0.18) 50%, transparent 60%);
    transform: translateX(-100%);
    transition: transform 0.55s ease;
}

.submit-btn:hover .submit-btn__shimmer {
    transform: translateX(100%);
}

/* Loading state */
.submit-btn__loading { display: none; }
.submit-btn.is-loading .submit-btn__text { display: none; }
.submit-btn.is-loading .submit-btn__loading { display: flex; align-items: center; gap: 8px; }

/* ── Success state ── */
/* Ensure the hidden attribute always wins over display:flex/grid rules */
[hidden] { display: none !important; }

.form-success {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 16px;
    padding: 24px 0 8px;
    animation: successIn 0.55s var(--ease-out) forwards;
}

@keyframes successIn {
    from { opacity: 0; transform: scale(0.92) translateY(16px); }
    to   { opacity: 1; transform: scale(1) translateY(0); }
}

.form-success__icon {
    font-size: 64px;
    color: #22c55e;
    filter: drop-shadow(0 0 20px rgba(34,197,94,0.40));
    animation: successIconPop 0.55s var(--ease-spring) 0.1s both;
}

@keyframes successIconPop {
    from { transform: scale(0.5); opacity: 0; }
    to   { transform: scale(1);   opacity: 1; }
}

.form-success h3 {
    font-family: var(--font-display);
    font-size: 32px;
    font-weight: 800;
    color: var(--white);
}

.form-success p {
    font-size: 15px;
    color: #ffffff;
    max-width: 380px;
    line-height: 1.65;
}

.form-success__reset {
    margin-top: 8px;
    padding: 11px 28px;
    border-radius: var(--radius-sm);
    background: rgba(255,255,255,0.07);
    border: 1.5px solid var(--border);
    color: var(--text);
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.22s, border-color 0.22s, color 0.22s;
}

.form-success__reset:hover {
    background: var(--red);
    border-color: var(--red);
    color: var(--white);
}

/* ── Map Card ── */
.map-col {
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: sticky;
    top: calc(var(--navbar-height, 80px) + 20px);
}

.map-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 32px 32px 0;
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    overflow: hidden;
    position: relative;
}

.map-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, var(--red) 50%, transparent 100%);
}

.map-card__header {
    margin-bottom: 20px;
}

.map-card__title {
    font-family: var(--font-display);
    font-size: clamp(22px, 3vw, 30px);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.01em;
    color: var(--white);
}

@media (min-width: 1600px) {/* DESKTOP-SCALE generated by tools/desktop-scale.mjs */

.map-card__title {
    font-size: clamp(22px, 4vw, 30px);
}
}

.map-card__frame {
    height: 340px;
    border-radius: var(--radius-md) var(--radius-md) 0 0;
    overflow: hidden;
    margin-inline: -32px;
    position: relative;
}

.map-card__frame::after {
    content: '';
    position: absolute;
    top: 0; right: 0; bottom: 0; left: 0;
    border-radius: inherit;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.07);
    pointer-events: none;
}

.map-card__frame iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
    filter: brightness(0.90) contrast(1.06) saturate(0.88);
}

/* ── Quick Contact Cards ── */
.quick-contacts {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.qc-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    cursor: pointer;
    transition: background 0.24s, border-color 0.24s, transform 0.24s var(--ease-out), box-shadow 0.24s;
    position: relative;
    overflow: hidden;
}

.qc-card::before {
    content: '';
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 3px;
    background: var(--red);
    transform: scaleY(0);
    transform-origin: bottom;
    transition: transform 0.28s var(--ease-out);
    border-radius: 0 2px 2px 0;
}

.qc-card:hover {
    background: var(--bg-card-h);
    border-color: rgba(215,25,32,0.30);
    transform: translateX(4px);
    box-shadow: -4px 0 20px rgba(215,25,32,0.12);
}

.qc-card:hover::before { transform: scaleY(1); }

.qc-card__icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: var(--red-alpha);
    border: 1.5px solid rgba(215,25,32,0.20);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--red);
    font-size: 17px;
    flex-shrink: 0;
    transition: background 0.22s, transform 0.22s var(--ease-spring);
}

.qc-card__icon--green {
    background: rgba(37,211,102,0.10);
    border-color: rgba(37,211,102,0.22);
    color: #25d366;
}

.qc-card:hover .qc-card__icon {
    background: var(--red);
    color: var(--white);
    transform: scale(1.10);
}

.qc-card:hover .qc-card__icon--green {
    background: #25d366;
    color: var(--white);
}

.qc-card__body {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1;
    min-width: 0;
}

.qc-card__label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.10em;
    color: var(--text-dim);
}

.qc-card__value {
    font-family: var(--font-display);
    font-size: 15px;
    font-weight: 700;
    color: var(--text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.qc-card__arrow {
    color: var(--text-dim);
    font-size: 12px;
    flex-shrink: 0;
    transition: color 0.22s, transform 0.22s;
}

.qc-card:hover .qc-card__arrow {
    color: var(--red);
    transform: translate(2px, -2px);
}

/* ============================================================
   RESPONSIVE
   Breakpoints: 1280 · 1100 · 900 · 768 · 600 · 480 · 375
   ============================================================ */

/* ── 1280px: Wide desktop trim ── */
@media (max-width: 1280px) {
    .info-strip__inner { padding-inline: 40px; }
    .contact-wrap { padding-inline: 40px; }
    .contact-section { padding-block: 90px; }
}

/* ── 1100px: Laptop / compact desktop ── */
@media (max-width: 1100px) {
    .info-strip__inner { padding-inline: 28px; }
    .contact-wrap { padding-inline: 28px; gap: 36px; }
    .form-card { padding: 36px; }
    .map-card { padding: 28px 28px 0; }
    .map-card__frame { margin-inline: -28px; }
}

/* ── 900px: Tablet landscape / small laptop ── */
@media (max-width: 900px) {
    .contact-hero { min-height: 60vh; padding-top: 80px; }
    .h1-line--muted   { font-size: clamp(18px, 3.5vw, 30px); }
    .h1-line--outline { font-size: clamp(64px, 12vw, 100px); }
    .h1-line--accent  { font-size: clamp(38px, 7vw, 68px); }
    .contact-hero__sub { font-size: 16px; max-width: 480px; }

    .info-strip__inner { grid-template-columns: repeat(2, 1fr); padding-inline: 24px; }
    .info-card { border-right: none; border-bottom: 1px solid var(--border); }
    .info-card:nth-child(odd)  { border-right: 1px solid var(--border); }
    .info-card:nth-last-child(-n+2) { border-bottom: none; }

    .contact-section { padding-block: 80px; }
    .contact-wrap { grid-template-columns: 1fr; padding-inline: 24px; gap: 32px; }
    .map-col { position: static; }
    .map-card__frame { height: 300px; }
}

/* ── 768px: Tablet portrait ── */
@media (max-width: 768px) {
    /* Hero */
    .contact-hero { padding-top: 72px; min-height: auto; padding-bottom: 56px; }
    .contact-hero__content { gap: 18px; }
    .h1-line--muted   { font-size: 16px; }
    .h1-line--outline { font-size: clamp(52px, 13vw, 80px); }
    .h1-line--accent  { font-size: clamp(30px, 8vw, 52px); }
    .contact-hero__sub { font-size: 15px; }
    .contact-hero__scroll { display: none; }

    /* Hero CTAs: stack vertically, centered */
    .hero-ctas {
        flex-direction: column;
        align-items: center;
        gap: 10px;
        width: 100%;
        max-width: 300px;
        margin-top: 0;
    }
    .btn-hero-red,
    .btn-hero-ghost {
        width: 100%;
        justify-content: center;
        padding: 13px 20px;
        font-size: 14px;
        margin-bottom: 0;
    }

    /* Disable reveal blur on mobile (GPU cost) */
    .reveal-up {
        filter: none;
        transform: translateY(20px);
        transition: opacity 0.50s var(--ease-out), transform 0.50s var(--ease-out);
    }
    .reveal-up.is-visible { transform: translateY(0); }

    /* Info strip: 2×2 grid on tablets */
    .info-strip__inner { grid-template-columns: repeat(2, 1fr); padding-inline: 20px; }
    .info-card { border-right: none; border-bottom: 1px solid var(--border); padding: 22px 18px; }
    .info-card:nth-child(odd)  { border-right: 1px solid var(--border); }
    .info-card:nth-last-child(-n+2) { border-bottom: none; }

    /* Contact section */
    .contact-section { padding-block: 64px; }
    .contact-wrap { padding-inline: 20px; gap: 28px; }
    .form-card { padding: 28px 22px; border-radius: var(--radius-lg); }
    .field-row { grid-template-columns: 1fr; gap: 0; }
    .field-row .field-group { margin-bottom: 16px; }

    /* Map */
    .map-card { padding: 24px 22px 0; border-radius: var(--radius-lg); }
    .map-card__frame { height: 260px; margin-inline: -22px; }

    /* Quick contact cards — disable slide on touch devices */
    .quick-contacts { gap: 8px; }
    .qc-card { padding: 16px 18px; }
    .qc-card:hover { transform: none; box-shadow: none; }
    .qc-card:active { background: var(--bg-card-h); }
}

/* ── 600px: Large phones ── */
@media (max-width: 600px) {
    /* Hero */
    .contact-hero { padding-top: 64px; padding-bottom: 44px; }
    .contact-hero__content { gap: 16px; padding-inline: 16px; }
    .h1-line--muted   { font-size: 14px; }
    .h1-line--outline { font-size: clamp(44px, 12vw, 64px); }
    .h1-line--accent  { font-size: clamp(26px, 7.5vw, 44px); }
    .contact-hero__sub { font-size: 14px; max-width: 100%; }

    .hero-badge { font-size: 11px; padding: 6px 14px; }

    .hero-pills { gap: 6px; }
    .hero-pill  { font-size: 12px; padding: 5px 10px; }
    .hero-pill i { font-size: 10px; }

    .hero-ctas { max-width: 100%; }
    .btn-hero-red,
    .btn-hero-ghost { padding: 12px 16px; font-size: 13px; }

    /* Info strip: 1-col */
    .info-strip__inner { grid-template-columns: 1fr; padding-inline: 16px; }
    .info-card {
        border-right: none !important;
        border-bottom: 1px solid var(--border);
        padding: 18px 16px;
    }
    .info-card:nth-last-child(-n+2) { border-bottom: 1px solid var(--border); }
    .info-card:last-child { border-bottom: none !important; }
    /* Allow long email text to wrap */
    .info-card__text strong { white-space: normal; word-break: break-word; }

    /* Contact section */
    .contact-section { padding-block: 52px; }
    .contact-wrap { padding-inline: 16px; gap: 24px; }
    .form-card { padding: 24px 18px; }
    .map-card { padding: 20px 18px 0; }
    .map-card__frame { height: 240px; margin-inline: -18px; }

    /* Allow long values (phone/email) to wrap in QC cards */
    .qc-card__value { white-space: normal; word-break: break-word; }
}

/* ── 480px: Small phones ── */
@media (max-width: 480px) {
    /* Hero */
    .contact-hero { padding-bottom: 40px; }
    .h1-line--outline { font-size: 42px; }
    .h1-line--accent  { font-size: 26px; }

    .btn-hero-red,
    .btn-hero-ghost {
        width: 100%;
        font-size: 13px;
        padding: 12px 14px;
        margin-bottom: 0;
    }

    /* Info strip */
    .info-strip__inner { padding-inline: 14px; }
    .info-card { padding: 16px 14px; }
    .info-card__icon { width: 40px; height: 40px; font-size: 16px; }

    /* Contact section */
    .contact-section { padding-block: 44px; }
    .contact-wrap { padding-inline: 14px; }
    .form-card { padding: 22px 14px; }
    .form-card__title { font-size: clamp(22px, 6.5vw, 32px); }
    .submit-btn { font-size: 15px; padding: 14px; }

    /* Map */
    .map-card { padding: 18px 14px 0; }
    .map-card__frame { height: 220px; margin-inline: -14px; }

    /* Success state */
    .form-success { padding: 16px 0 4px; }
    .form-success__icon { font-size: 52px; }
    .form-success h3 { font-size: 26px; }
    .form-success p  { font-size: 14px; }
}

/* ── 375px: Tiny phones (iPhone SE / Galaxy A-series) ── */
@media (max-width: 375px) {
    /* Hero */
    .contact-hero { padding-top: 60px; padding-bottom: 36px; }
    .h1-line--muted   { font-size: 12px; }
    .h1-line--outline { font-size: 38px; }
    .h1-line--accent  { font-size: 22px; }
    .contact-hero__sub { font-size: 13px; }
    .hero-badge { font-size: 10px; padding: 5px 12px; }
    .hero-pill  { font-size: 11px; padding: 4px 8px; gap: 5px; }

    .btn-hero-red,
    .btn-hero-ghost { font-size: 12px; padding: 11px 12px; }

    /* Info strip */
    .info-strip__inner { padding-inline: 12px; }
    .info-card { padding: 14px 12px; }
    .info-card__icon { width: 38px; height: 38px; border-radius: 10px; font-size: 15px; }
    .info-card__text strong { font-size: 13px; }

    /* Contact section */
    .contact-section { padding-block: 36px; }
    .contact-wrap { padding-inline: 12px; }
    .form-card { padding: 18px 12px; }
    .form-card__title { font-size: 22px; }
    .form-card__sub { font-size: 13px; }
    .field-input { font-size: 16px; padding: 18px 12px 7px; } /* keep 16px — iOS zoom prevention */
    .field-label { left: 12px; }
    .field-input:focus ~ .field-label,
    .field-input:not(:placeholder-shown) ~ .field-label { left: 12px; }
    .submit-btn { font-size: 14px; padding: 12px; }

    /* Map */
    .map-card { padding: 16px 12px 0; }
    .map-card__frame { height: 200px; margin-inline: -12px; }
    .map-card__title { font-size: 20px; }

    /* QC cards */
    .qc-card { padding: 14px 12px; gap: 12px; }
    .qc-card__icon { width: 38px; height: 38px; font-size: 15px; }
    .qc-card__value { font-size: 13px; }

    /* Success state */
    .form-success h3 { font-size: 22px; }
    .form-success p  { font-size: 13px; }
    .form-success__reset { font-size: 12px; padding: 10px 20px; }
}

/* ── Reduced motion ── */
@media (prefers-reduced-motion: reduce) {
    .reveal-up {
        opacity: 1;
        transform: none;
        filter: none;
        transition: none;
    }
    .badge-dot { animation: none; }
    .contact-hero__scroll { display: none; }
    .submit-btn__shimmer { display: none; }
}

/* ── 2K / 4K LARGE SCREENS ─────────────────────────────────── */
@media (min-width: 1920px) {

  /* ── Shared ── */
  .section-tag { font-size: 1.2rem; padding: 0.45rem 1.2rem; margin-bottom: 1.1rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; }

  /* ── Hero — cap height so 4K doesn't get a ~1500px empty hero ── */
  .contact-hero          { min-height: min(46rem, 72vh); padding: 110px 0 80px; }
  @media (min-width: 1600px) {/* DESKTOP-SCALE generated by tools/desktop-scale.mjs */
  .contact-hero          { min-height: min(46rem, 96vh); }
    }
  .contact-hero__content { max-width: 54rem; gap: 2rem; }
  .hero-badge            { font-size: 1.3rem; padding: 0.55rem 1.4rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; }
  .h1-line--muted        { font-size: 2.85rem; }
  .h1-line--outline      { font-size: 10rem; }    /* was capped at 140px */
  .h1-line--accent       { font-size: 6.35rem; }
  .contact-hero__sub     { font-size: 1.4rem; max-width: 45rem; }
  .hero-pill             { font-size: 1.2rem; padding: 0.45rem 1.1rem; }
  .hero-pill i           { font-size: 1.2rem; }
  .btn-hero-red,
  .btn-hero-ghost        { font-size: 1.4rem; padding: 1.125rem 2.25rem; }

  /* ── Info strip ── */
  .info-card              { padding: 2.5rem 2rem; gap: 1.25rem; }
  .info-card__icon        { width: 3.6rem; height: 3.6rem; font-size: 1.4rem; }
  .info-card__label       { font-size: 1.2rem; }
  .info-card__text strong { font-size: 1.35rem; }

  /* ── Contact section ── */
  .contact-section       { padding-block: 120px; }
  .contact-section__glow { width: 1200px; height: 800px; }
  .contact-wrap          { gap: 6rem; max-width: min(92vw, 112rem); padding-inline: 3rem; }
  @media (min-width: 1600px) {/* DESKTOP-SCALE generated by tools/desktop-scale.mjs */
  .contact-wrap          { max-width: min(122.6667vw, 112rem); }
    }   /* wider band -> wider form + map cards */

  /* ── Form card ── */
  .form-card         { padding: 3.5rem; }
  .form-card__header { margin-bottom: 2.75rem; }
  .form-card__title  { font-size: 3.45rem; font-weight: 700; line-height: 1.15; letter-spacing: -0.01em; }
  .form-card__sub    { font-size: 1.3rem; }
  .field-row         { gap: 1.35rem; margin-bottom: 1.35rem; }
  .field-group       { margin-bottom: 1.35rem; }
  .field-input       { font-size: 1.3rem; padding: 1.5rem 1.1rem 0.55rem; }
  .field-select      { padding-right: 2.75rem; }   /* keep room for the arrow */
  .field-label       { font-size: 1.3rem; top: 1rem; left: 1.1rem; }
  /* floated state — keep the small uppercase label in proportion */
  .field-input:focus ~ .field-label,
  .field-input:not(:placeholder-shown) ~ .field-label,
  .field-select:required:valid ~ .field-label { font-size: 1.1rem; top: 0.4rem; }
  .field-textarea     { min-height: 10rem; padding-top: 1.85rem; }
  .field-select-arrow { font-size: 1rem; right: 1.1rem; }
  .field-error        { font-size: 1rem; min-height: 1.35rem; }
  .char-counter       { font-size: 1.1rem; }
  .submit-error       { font-size: 1.05rem; padding: 0.9rem 1.2rem; }
  .submit-btn         { font-size: 1.4rem; padding: 1.15rem 1.75rem; }

  /* Success state */
  .form-success__icon  { font-size: 5rem; }
  .form-success h3     { font-size: 2.7rem; }
  .form-success p      { font-size: 1.3rem; max-width: 28rem; }
  .form-success__reset { font-size: 1.3rem; padding: 0.85rem 2rem; }

  /* ── Map card — frame's negative margin must mirror card padding ── */
  .map-col          { gap: 1.5rem; }
  .map-card         { padding: 2.5rem 2.5rem 0; }
  .map-card__header { margin-bottom: 1.5rem; }
  .map-card__title  { font-size: 3.2rem; }
  .map-card__frame  { height: auto; aspect-ratio: 4 / 3; margin-inline: -2.5rem; }

  /* ── Quick contact cards ── */
  .quick-contacts { gap: 0.85rem; }
  .qc-card        { padding: 1.4rem 1.5rem; gap: 1.25rem; }
  .qc-card__icon  { width: 3.35rem; height: 3.35rem; font-size: 1.35rem; }
  .qc-card__label { font-size: 1.2rem; }
  .qc-card__value { font-size: 1.4rem; }
  .qc-card__arrow { font-size: 1.2rem; }
}
