/* Contact page — orange hero card with form, aligned like the home top card. */

:root {
    font-family: "Inter", Arial, sans-serif;
    font-synthesis: none;
}

* {
    box-sizing: border-box;
}

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

html {
    scroll-behavior: smooth;
    overflow-x: clip;
}

body.contact-page {
    margin: 0;
    padding: clamp(14px, 2vw, 30px);
    overflow-x: clip;
    background: #f7f7f5;
    color: #17263f;
}

a {
    color: inherit;
}

.concept-section {
    position: relative;
    width: 100%;
    overflow: hidden;
    isolation: isolate;
    border-radius: clamp(18px, 2vw, 30px);
    box-shadow: 0 20px 52px rgba(29, 49, 86, 0.1);
}

.concept-nav {
    position: fixed;
    top: clamp(16px, 2vw, 26px);
    left: 50%;
    z-index: 100;
    width: min(calc(100% - 44px), 1180px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    transform: translateX(-50%);
    pointer-events: none;
}

.wordmark {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    min-height: 58px;
    padding: 0 1rem;
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 17px;
    background: rgba(255, 255, 255, 0.92);
    color: #17263f;
    box-shadow: 0 14px 38px rgba(26, 54, 105, 0.16);
    font-size: 1.08rem;
    font-style: italic;
    font-weight: 900;
    letter-spacing: 0.025em;
    line-height: 1;
    text-decoration: none;
    backdrop-filter: blur(22px) saturate(1.3);
    pointer-events: auto;
}

.wordmark span {
    display: flex;
    align-items: center;
    min-height: 34px;
    padding-top: 2px;
}

.wordmark img {
    display: block;
    width: 34px;
    height: 34px;
    object-fit: contain;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 0.2rem;
    min-height: 58px;
    padding: 5px;
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 17px;
    background: rgba(255, 255, 255, 0.92);
    color: #526078;
    box-shadow: 0 14px 38px rgba(26, 54, 105, 0.16);
    font-size: clamp(0.66rem, 0.72vw, 0.76rem);
    font-weight: 800;
    text-transform: uppercase;
    backdrop-filter: blur(22px) saturate(1.3);
    pointer-events: auto;
}

.nav-actions a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0.15rem 1rem 0;
    border-radius: 13px;
    text-decoration: none;
    transition: color 180ms ease, background 180ms ease, transform 180ms ease;
}

.nav-actions a:hover {
    background: rgba(91, 83, 218, 0.08);
    color: #554bc8;
    transform: translateY(-1px);
}

.nav-actions a.is-active {
    background: rgba(238, 107, 61, 0.12);
    color: #ee6b3d;
}

.nav-actions .download-link {
    gap: 0.55rem;
    min-width: 172px;
    min-height: 46px;
    margin-left: 0.3rem;
    padding: 0.15rem 1.15rem 0;
    border: 0;
    border-radius: 14px;
    background: linear-gradient(105deg, #7451e7, #a653e8);
    color: #fff;
    box-shadow: 0 9px 20px rgba(103, 70, 213, 0.3);
}

.nav-actions .download-link:hover {
    background: linear-gradient(105deg, #6947db, #9848dc);
    color: #fff;
    box-shadow: 0 12px 24px rgba(103, 70, 213, 0.38);
}

.download-link svg {
    width: 17px;
    height: 17px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* Sit like the home hero: no extra top offset under the floating nav */
.contact-main {
    width: min(100%, 1500px);
    margin: 0 auto;
}

.contact-card-section {
    display: flex;
    align-items: center;
    min-height: clamp(640px, 55vw, 820px);
    margin: 0;
    padding: clamp(96px, 11vw, 130px) clamp(1.5rem, 4.5vw, 4.5rem) clamp(2rem, 4vw, 3.5rem);
    background:
        radial-gradient(circle at 18% 4%, rgba(255, 184, 71, 0.58), transparent 34%),
        linear-gradient(125deg, #ff8a34 0%, #ff713b 48%, #f6524e 100%);
    color: #fff;
}

.contact-card-section::before,
.contact-card-section::after {
    content: "";
    position: absolute;
    z-index: 0;
    width: clamp(220px, 27vw, 410px);
    aspect-ratio: 1;
    border-radius: 48% 52% 45% 55%;
    background: rgba(221, 58, 78, 0.25);
    rotate: -18deg;
    pointer-events: none;
}

.contact-card-section::before {
    right: -9%;
    top: -39%;
}

.contact-card-section::after {
    left: -13%;
    bottom: -53%;
    scale: 1.18;
}

.contact-card-flame {
    position: absolute;
    top: -2%;
    right: 4%;
    z-index: 1;
    width: clamp(105px, 14vw, 205px);
    padding: 1.3rem;
    border: 2px solid rgba(113, 73, 244, 0.8);
    rotate: -14deg;
    opacity: 0.55;
    pointer-events: none;
}

.contact-card-flame svg {
    display: block;
    width: 100%;
    fill: rgba(213, 57, 77, 0.42);
}

.contact-card-inner {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    gap: clamp(1.75rem, 4vw, 4rem);
    align-items: center;
    width: 100%;
}

.contact-card-eyebrow {
    margin: 0 0 0.7rem;
    color: rgba(255, 255, 255, 0.78);
    font-size: clamp(0.7rem, 0.9vw, 0.86rem);
    font-weight: 800;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.contact-card-intro h1 {
    margin: 0 0 1rem;
    color: #fff;
    font-size: clamp(3rem, 5.2vw, 5.4rem);
    font-style: italic;
    font-weight: 900;
    letter-spacing: -0.055em;
    line-height: 0.82;
    text-transform: uppercase;
}

.contact-card-intro h1 span {
    display: block;
    margin-bottom: 0.1em;
    font-size: 0.58em;
    font-style: normal;
    font-weight: 750;
    letter-spacing: -0.025em;
}

.contact-card-lead {
    margin: 0 0 1.5rem;
    max-width: 34ch;
    color: rgba(255, 255, 255, 0.88);
    font-size: clamp(0.95rem, 1.15vw, 1.08rem);
    line-height: 1.5;
}

.contact-side-links {
    display: grid;
    gap: 0.7rem;
    max-width: 360px;
}

.contact-side-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.85rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.55);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.94);
    color: #ee6b3d;
    text-decoration: none;
    box-shadow: 0 12px 28px rgba(177, 52, 40, 0.14);
    transition: transform 180ms ease, box-shadow 180ms ease;
}

.contact-side-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 34px rgba(177, 52, 40, 0.2);
}

.contact-side-link strong {
    display: block;
    margin-bottom: 0.15rem;
    font-size: 0.88rem;
    font-weight: 800;
}

.contact-side-link span span {
    display: block;
    color: #8a5a45;
    font-size: 0.78rem;
    line-height: 1.35;
}

.contact-side-link em {
    flex-shrink: 0;
    color: #ee6b3d;
    font-style: normal;
    font-weight: 900;
    font-size: 1.15rem;
}

.contact-form {
    display: grid;
    gap: 0.9rem;
    padding: clamp(1.25rem, 2.4vw, 1.75rem);
    border: 1px solid rgba(255, 255, 255, 0.45);
    border-radius: clamp(18px, 2vw, 26px);
    background: rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(14px) saturate(1.2);
    box-shadow: 0 18px 40px rgba(160, 48, 36, 0.16);
}

.contact-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.9rem;
}

.contact-field {
    display: grid;
    gap: 0.35rem;
}

.contact-field label {
    color: rgba(255, 255, 255, 0.88);
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.contact-field input,
.contact-field textarea {
    width: 100%;
    padding: 0.9rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.55);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.96);
    color: #17263f;
    font: inherit;
    font-size: 1rem;
    outline: none;
    transition: border-color 160ms ease, box-shadow 160ms ease;
}

.contact-field textarea {
    min-height: 140px;
    resize: vertical;
}

.contact-field input:focus,
.contact-field textarea:focus {
    border-color: #fff;
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.22);
}

.contact-field input::placeholder,
.contact-field textarea::placeholder {
    color: #9aa6b8;
}

.contact-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    min-height: 52px;
    margin-top: 0.2rem;
    padding: 0.85rem 1.5rem;
    border: 0;
    border-radius: 999px;
    background: #fff;
    color: #ee6b3d;
    font-size: 0.92rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    cursor: pointer;
    box-shadow: 0 14px 32px rgba(160, 48, 36, 0.22);
    transition: transform 180ms ease, box-shadow 180ms ease;
}

.contact-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 38px rgba(160, 48, 36, 0.28);
}

.contact-submit svg {
    width: 18px;
    height: 18px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2.4;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.contact-footnote {
    margin: 0.15rem 0 0;
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.78rem;
    line-height: 1.5;
}

.contact-footnote a {
    color: #fff;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.site-footer {
    width: min(100%, 1500px);
    margin: clamp(14px, 1.5vw, 24px) auto clamp(6px, 0.8vw, 12px);
    padding: clamp(3.5rem, 7vw, 6.5rem) clamp(2rem, 7vw, 7rem) 2rem;
    border-radius: clamp(18px, 2vw, 30px);
    background:
        radial-gradient(circle at 8% 0%, rgba(100, 84, 239, 0.24), transparent 28%),
        radial-gradient(circle at 94% 100%, rgba(18, 189, 187, 0.16), transparent 28%),
        #0d1728;
    color: #fff;
}

.footer-inner {
    display: grid;
    grid-template-columns: minmax(260px, 1.8fr) repeat(3, minmax(120px, 0.65fr));
    gap: clamp(2.5rem, 6vw, 6rem);
    padding-bottom: clamp(3rem, 6vw, 5rem);
}

.footer-brand {
    max-width: 390px;
}

.footer-wordmark {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    color: #fff;
    text-decoration: none;
}

.footer-wordmark img {
    width: 38px;
    height: 38px;
    object-fit: contain;
}

.footer-wordmark span {
    font-size: 1.2rem;
    font-weight: 900;
    letter-spacing: 0.08em;
}

.footer-brand p {
    margin: 1.25rem 0 0;
    color: rgba(255, 255, 255, 0.58);
    font-size: 0.82rem;
    line-height: 1.65;
}

.footer-links {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.9rem;
}

.footer-links strong {
    margin-bottom: 0.35rem;
    color: rgba(255, 255, 255, 0.42);
    font-size: 0.64rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.footer-links a {
    position: relative;
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.78rem;
    font-weight: 650;
    text-decoration: none;
    transition: color 180ms ease, translate 180ms ease;
}

.footer-links a:hover {
    color: #77e7df;
    translate: 3px 0;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.38);
    font-size: 0.64rem;
}

@media (max-width: 960px) {
    .contact-card-inner {
        grid-template-columns: 1fr;
        gap: 1.75rem;
    }

    .contact-card-lead {
        max-width: none;
    }

    .contact-side-links {
        max-width: none;
    }

    .contact-card-intro h1 {
        font-size: clamp(2.8rem, 12vw, 4.4rem);
    }
}

@media (max-width: 800px) {
    .concept-nav {
        top: 12px;
        width: calc(100% - 24px);
    }

    .wordmark {
        gap: 0.4rem;
        min-height: 54px;
        padding: 0 0.8rem;
        border-radius: 15px;
        font-size: 1rem;
    }

    .wordmark img {
        width: 26px;
        height: 26px;
    }

    .nav-actions a:not(.download-link) {
        display: none;
    }

    .nav-actions .download-link {
        min-width: 132px;
        min-height: 42px;
        margin-left: 0;
        padding: 0.15rem 0.7rem 0;
        font-size: 0.57rem;
    }

    .nav-actions {
        min-height: 54px;
    }

    .contact-card-section {
        min-height: 0;
        padding: 96px 1.15rem 1.75rem;
    }

    .contact-card-flame {
        top: -2%;
        right: -8%;
        width: 110px;
        opacity: 0.4;
    }

    .site-footer {
        padding: 3.5rem 7% 1.5rem;
    }

    .footer-inner {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 2.5rem 2rem;
    }

    .footer-brand {
        max-width: 520px;
        grid-column: 1 / -1;
    }

    .footer-bottom {
        align-items: flex-start;
        flex-direction: column;
        gap: 0.55rem;
    }
}

@media (max-width: 620px) {
    .contact-form-row {
        grid-template-columns: 1fr;
    }
}
