/* ============================================================
   contact.css — Contact page
   Includes: contact-hero (same two-column template as about/work/
   case-study), contact-form, contact-info.
   Reuses .footer__social-link and .btn-arrow from css/home.css /
   css/global.css so the social icons and arrow badges match the rest
   of the site.
   Dock and footer are shared across every page and live in
   css/global.css instead of being duplicated here.
   ============================================================ */

/* ============================================================
   1. CONTACT-HERO — same structure as .ab-hero / .work-hero / .cs-hero
   ============================================================ */
.contact-hero {
    position: relative;
    display: flex;
    align-items: center;
    gap: clamp(32px, 6vw, 80px);
    background: #ffffff;
    overflow: hidden;
    padding: clamp(110px, 13vw, 160px) clamp(24px, 6vw, 96px) clamp(56px, 7vw, 88px);
}

.contact-hero__deco {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.contact-hero__inner {
    position: relative;
    z-index: 1;
    flex: 0 0 50%;
    max-width: 50%;
}

.contact-hero__breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 28px;
    font-size: 12px;
    font-weight: 500;
    color: var(--color-muted);
}
.contact-hero__bc-link { color: var(--color-muted); text-decoration: none; transition: color 0.2s; }
.contact-hero__bc-link:hover { color: var(--color-fg); }
.contact-hero__bc-sep { opacity: 0.4; }
.contact-hero__bc-current { color: var(--color-fg); font-weight: 700; }

.contact-hero__eyebrow {
    display: block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: 20px;
}

.contact-hero__headline {
    margin: 0 0 20px;
    font-family: "Karla", sans-serif;
    font-size: clamp(40px, 6vw, 76px);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.03em;
    color: var(--color-fg);
}
.contact-hero__line { display: block; overflow: hidden; }
.contact-hero__line-inner { display: block; }
.contact-hero__headline em {
    font-style: italic;
    font-weight: 700;
    background: linear-gradient(135deg, #f7b42c 0%, #fc575e 80%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.contact-hero__sub {
    margin: 0;
    font-size: clamp(15px, 1.6vw, 19px);
    line-height: 1.65;
    color: var(--color-muted);
    max-width: 520px;
}

/* ---- right-side visual panel ---- */
.contact-hero__visual {
    position: relative;
    z-index: 1;
    flex: 0 0 46%;
    max-width: 46%;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.18);
    /* Initial state — wipes open top-to-bottom via js/contact.js, same
       clip-path mechanic as .about__image-mask / .print-cta__visual. */
    clip-path: inset(0% 0 100% 0);
    will-change: clip-path;
}

.contact-hero__visual-img {
    width: 100%;
    height: 100%;
    aspect-ratio: 3 / 2;
    object-fit: cover;
    display: block;
}

/* ============================================================
   2. CONTACT-ALT — quick alternate ways to reach us
   ============================================================ */
.contact-alt {
    background: #ffffff;
    padding: clamp(24px, 4vw, 40px) clamp(24px, 6vw, 96px) clamp(56px, 7vw, 88px);
}

.contact-alt__grid {
    list-style: none;
    margin: 0 auto;
    padding: 0;
    max-width: 1200px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(20px, 2.5vw, 28px);
}

.contact-alt__card {
    padding: clamp(28px, 3vw, 36px);
    border-radius: 20px;
    background: #faf8f4;
    border: 1px solid rgba(14, 27, 51, 0.07);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.contact-alt__card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
}

.contact-alt__icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f7b42c, #fc575e);
    color: #fff;
    margin-bottom: 18px;
}
.contact-alt__icon svg { width: 22px; height: 22px; }

.contact-alt__title {
    margin: 0 0 8px;
    font-size: 18px;
    font-weight: 800;
    color: var(--color-fg);
}

.contact-alt__desc {
    margin: 0 0 18px;
    font-size: 14px;
    line-height: 1.6;
    color: var(--color-muted);
}

.contact-alt__link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--color-fg);
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
}

/* ============================================================
   3. CONTACT-MAIN — form + info
   ============================================================ */
.contact-main {
    position: relative;
    background: #faf8f4;
    padding: clamp(64px, 8vw, 100px) clamp(24px, 6vw, 96px) clamp(96px, 10vw, 140px);
}

.contact-main__row {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: flex-start;
    gap: clamp(32px, 5vw, 64px);
}

/* ---- Form ---- */
.contact-form {
    flex: 1 1 60%;
    background: #ffffff;
    border-radius: 24px;
    padding: clamp(32px, 4vw, 48px);
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06), 0 1px 4px rgba(0, 0, 0, 0.04);
}

.contact-form__eyebrow {
    display: block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: 12px;
}

.contact-form__heading {
    margin: 0 0 10px;
    font-family: "Karla", sans-serif;
    font-size: clamp(24px, 3vw, 34px);
    font-weight: 800;
    color: var(--color-fg);
}

.contact-form__sub {
    margin: 0 0 28px;
    font-size: 14.5px;
    line-height: 1.65;
    color: var(--color-muted);
    max-width: 480px;
}

.contact-form__fields {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-form__row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.contact-form__field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.contact-form__label {
    font-size: 13px;
    font-weight: 700;
    color: var(--color-fg);
}

.contact-form__optional {
    font-weight: 500;
    color: var(--color-muted);
    text-transform: none;
    letter-spacing: normal;
}

.contact-form__input {
    width: 100%;
    padding: 13px 16px;
    border-radius: 10px;
    border: 1px solid rgba(14, 27, 51, 0.15);
    background: #faf8f4;
    color: var(--color-fg);
    font-family: inherit;
    font-size: 14.5px;
    transition: border-color 0.25s ease, background 0.25s ease;
}
.contact-form__input::placeholder {
    color: rgba(14, 27, 51, 0.4);
}
.contact-form__input:focus {
    outline: none;
    border-color: var(--color-accent);
    background: #ffffff;
}

.contact-form__select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%230e1b33' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 6l4 4 4-4'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 40px;
}

.contact-form__textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-form__submit {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    align-self: flex-start;
    margin-top: 4px;
    padding: 6px 6px 6px 26px;
    border-radius: 999px;
    border: 0;
    background: linear-gradient(135deg, #f7b42c, #fc575e);
    color: #faf8f4;
    font-family: inherit;
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.contact-form__submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 40px rgba(252, 87, 94, 0.35);
}

.contact-form__success {
    margin: 4px 0 0;
    padding: 14px 18px;
    border-radius: 10px;
    background: rgba(55, 193, 90, 0.12);
    color: #1f8a3f;
    font-size: 14px;
    font-weight: 600;
}

/* ---- Contact info ---- */
.contact-info {
    flex: 1 1 40%;
    padding-top: clamp(8px, 1vw, 16px);
}

.contact-info__eyebrow {
    display: block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: 12px;
}

.contact-info__heading {
    margin: 0 0 28px;
    font-family: "Karla", sans-serif;
    font-size: clamp(22px, 2.6vw, 30px);
    font-weight: 800;
    color: var(--color-fg);
}

.contact-info__list {
    list-style: none;
    margin: 0 0 32px;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.contact-info__item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.contact-info__icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f7b42c, #fc575e);
    color: #fff;
}
.contact-info__icon svg { width: 18px; height: 18px; }

.contact-info__text {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding-top: 6px;
}

.contact-info__label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-muted);
}

.contact-info__value {
    font-size: 15px;
    font-weight: 600;
    color: var(--color-fg);
    text-decoration: none;
    line-height: 1.5;
}
a.contact-info__value:hover {
    color: var(--color-accent);
}

.contact-info__map {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 28px;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06), 0 1px 4px rgba(0, 0, 0, 0.04);
}

/* Floating badge, same treatment as .about__img-label — fills the empty
   corner of the map with something useful instead of leaving it bare. */
.contact-info__map-badge {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: #0e1b33;
    color: #faf8f4;
    border-radius: 8px;
    padding: 5px 8px;
    display: flex;
    flex-direction: column;
    gap: 0;
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.25);
}
.contact-info__map-badge-num {
    font-family: "Karla", sans-serif;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.2;
    color: #f7b42c;
}
.contact-info__map-badge-text {
    font-size: 7px;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: rgba(250, 248, 244, 0.65);
}

.contact-info__social {
    display: flex;
    gap: 12px;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 767.98px) {
    .contact-hero {
        flex-direction: column;
    }
    .contact-hero__inner {
        flex: none;
        max-width: 100%;
    }
    .contact-hero__visual {
        flex: none;
        max-width: 100%;
        width: 100%;
    }
}

@media (max-width: 899.98px) {
    .contact-main__row {
        flex-direction: column;
    }
    .contact-form,
    .contact-info {
        flex: none;
        width: 100%;
    }
    .contact-alt__grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 575.98px) {
    .contact-form__row {
        grid-template-columns: 1fr;
    }
}
