
/* ==========================================
   AS PROJECT STUDIO
   PREMIUM CONTACT PAGE
========================================== */

.as-contact {
    --navy: #101d35;
    --deep: #0b182a;
    --teal: #087f8c;
    --teal-dark: #066773;
    --text: #172033;
    --muted: #475569;
    --soft: #f5f7fa;
    --border: #e5eaf0;

    width: 100%;
    color: var(--text);
    font-family: inherit;
    overflow-x: clip;
}

.as-contact *,
.as-contact *::before,
.as-contact *::after {
    box-sizing: border-box;
}

.as-contact h1,
.as-contact h2,
.as-contact h3,
.as-contact p {
    margin-top: 0;
}

/* WIDE CONTAINER */

.contact-container {
    width: 94%;
    max-width: 1600px;
    margin-inline: auto;
}

/* SECTION LABELS */

.contact-eyebrow {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 0;
    color: var(--teal);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .15em;
    line-height: 1.5;
    text-transform: uppercase;
}

.contact-eyebrow-line {
    display: inline-block;
    width: 25px;
    height: 2px;
    flex-shrink: 0;
    background: currentColor;
}

/* BUTTONS */

.contact-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    min-height: 53px;
    padding: 15px 25px;

    border: 1px solid transparent;
    border-radius: 7px;

    font-size: 14px;
    font-weight: 700;
    line-height: 1.5;
    text-decoration: none;

    transition:
        transform .25s ease,
        box-shadow .25s ease,
        background .25s ease;
}

.contact-btn:hover {
    transform: translateY(-3px);
}

.contact-btn-primary {
    background: var(--teal);
    color: #fff;
}

.contact-btn-primary:hover {
    background: var(--teal-dark);
    color: #fff;
    box-shadow: 0 12px 28px rgba(8,127,140,.2);
}

.contact-btn-outline {
    background: #fff;
    border-color: #cbd5df;
    color: var(--navy);
}

.contact-btn-outline:hover {
    background: #eaf6f7;
    color: var(--navy);
}

.contact-btn-white {
    background: #fff;
    color: var(--navy);
}

.contact-btn-white:hover {
    background: #daf4f5;
    color: var(--navy);
}

/* ==========================================
   HERO
========================================== */

.contact-hero {
    padding: 105px 0;
    background:
        radial-gradient(
            circle at 85% 20%,
            rgba(8,127,140,.10),
            transparent 42%
        ),
        #f6f8fa;
    border-bottom: 1px solid var(--border);
}

.contact-hero-grid {
    display: grid;
    grid-template-columns: minmax(0,1.05fr) minmax(0,.95fr);
    align-items: center;
    gap: clamp(40px,5vw,95px);
}

.contact-hero-copy {
    max-width: 790px;
}

.contact-hero h1 {
    margin: 24px 0 26px;
    color: var(--navy);
    font-size: clamp(44px,5vw,76px);
    font-weight: 800;
    letter-spacing: -.045em;
    line-height: 1.08;
}

.contact-hero h1 span {
    display: block;
    color: var(--teal);
}

.contact-hero-description {
    max-width: 690px;
    color: var(--muted);
    font-size: 17px;
    line-height: 1.9;
}

.contact-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 35px;
}

.contact-hero-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 22px;
    margin-top: 45px;
    padding-top: 25px;
    border-top: 1px solid #dce3ea;
}

.contact-hero-highlights span {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 700;
}

.contact-hero-highlights span::before {
    content: "";
    width: 7px;
    height: 7px;
    background: var(--teal);
    border-radius: 50%;
}

/* HERO VISUAL */

.contact-hero-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 490px;
}

.contact-visual-panel {
    position: relative;
    z-index: 2;
    width: min(100%, 550px);
    padding: clamp(28px,3.5vw,48px);
    border-radius: 17px;
    border: 1px solid #d9e7ea;
    background: #fff;
    box-shadow: 0 25px 65px rgba(16,29,53,.12);
    transition: transform .35s ease, box-shadow .35s ease;
}

.contact-visual-panel:hover {
    transform: translateY(-7px);
    box-shadow: 0 30px 75px rgba(16,29,53,.17);
}

.contact-visual-top {
    display: flex;
    align-items: center;
    gap: 13px;
    color: var(--teal);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .13em;
}

.contact-visual-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 51px;
    height: 51px;
    border-radius: 12px;
    background: #eaf6f7;
}

.contact-visual-icon svg {
    width: 27px;
    height: 27px;
}

.contact-visual-heading {
    margin: 37px 0 22px;
    color: var(--navy);
    font-size: clamp(28px,3vw,42px);
    font-weight: 800;
    letter-spacing: -.035em;
}

.contact-visual-rule {
    height: 2px;
    margin-bottom: 30px;
    background: linear-gradient(to right,var(--teal),#e3edf0);
}

.contact-visual-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin: 18px 0;
    color: var(--muted);
    font-size: 16px;
    font-weight: 600;
}

.contact-visual-check {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 29px;
    height: 29px;
    flex-shrink: 0;
    border-radius: 8px;
    background: #e4f4f4;
    color: var(--teal);
    font-weight: 800;
}

.contact-visual-footer {
    margin-top: 38px;
    padding-top: 22px;
    border-top: 1px solid var(--border);
    color: #718091;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .12em;
}

.contact-visual-footer span {
    color: var(--teal);
    margin-inline: 5px;
}

.contact-visual-accent {
    position: absolute;
    top: 25px;
    right: 8%;
    width: 80%;
    height: 88%;
    border: 2px solid rgba(8,127,140,.25);
    border-radius: 19px;
    transform: rotate(4deg);
    pointer-events: none;
}

/* ==========================================
   CONTACT INFORMATION + FORM
========================================== */

.contact-main-section {
    padding: 115px 0;
    background: #fff;
}

.contact-main-grid {
    display: grid;
    grid-template-columns: minmax(0,.95fr) minmax(0,1.05fr);
    gap: clamp(40px,6vw,100px);
    align-items: start;
}

/* LEFT SIDE */

.contact-information {
    padding-top: 20px;
}

.contact-information h2 {
    margin: 20px 0 24px;
    color: var(--navy);
    font-size: clamp(35px,3.8vw,55px);
    font-weight: 800;
    letter-spacing: -.04em;
    line-height: 1.15;
}

.contact-information h2 span {
    display: block;
    color: var(--teal);
}

.contact-info-intro {
    max-width: 620px;
    color: var(--muted);
    font-size: 16px;
    line-height: 1.9;
}

.contact-info-cards {
    display: grid;
    gap: 17px;
    margin-top: 36px;
}

.contact-info-card {
    display: flex;
    align-items: flex-start;
    gap: 19px;
    padding: 27px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: #fff;

    transition:
        transform .3s ease,
        border-color .3s ease,
        box-shadow .3s ease;
}

.contact-info-card:hover {
    transform: translateY(-5px);
    border-color: rgba(8,127,140,.4);
    box-shadow: 0 16px 42px rgba(16,29,53,.07);
}

.contact-info-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 54px;
    height: 54px;
    border-radius: 12px;
    background: #eaf6f7;
    color: var(--teal);
    transition: background .25s ease, color .25s ease;
}

.contact-info-card:hover .contact-info-icon {
    background: var(--teal);
    color: #fff;
}

.contact-info-icon svg {
    width: 27px;
    height: 27px;
}

.contact-info-card h3 {
    margin-bottom: 10px;
    color: var(--navy);
    font-size: 19px;
}

.contact-info-card p {
    margin-bottom: 12px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.8;
}

.contact-info-card a {
    color: var(--teal);
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    overflow-wrap: anywhere;
}

.contact-info-card a:hover {
    text-decoration: underline;
    text-underline-offset: 4px;
}

.contact-info-note {
    margin-top: 23px;
    padding: 25px 28px;
    border-left: 3px solid var(--teal);
    border-radius: 8px;
    background: var(--soft);
}

.contact-info-note strong {
    color: var(--navy);
    font-size: 15px;
}

.contact-info-note p {
    margin: 10px 0 0;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.8;
}

/* ==========================================
   FORM CARD
========================================== */

.contact-form-card {
    padding: clamp(28px,3.5vw,48px);
    border: 1px solid var(--border);
    border-radius: 15px;
    background: #fff;
    box-shadow: 0 22px 65px rgba(16,29,53,.075);
    scroll-margin-top: 35px;
}

.contact-form-card h2 {
    margin: 17px 0 15px;
    color: var(--navy);
    font-size: clamp(30px,3vw,40px);
    font-weight: 800;
    letter-spacing: -.035em;
    line-height: 1.15;
}

.contact-form-card h2 span {
    color: var(--teal);
}

.contact-form-description {
    margin-bottom: 30px;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.8;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 23px;
}

.contact-form-row {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 19px;
}

.contact-field {
    display: flex;
    flex-direction: column;
    gap: 9px;
    min-width: 0;
}

.contact-field label {
    color: var(--text);
    font-size: 14px;
    font-weight: 700;
}

.contact-field label span {
    color: var(--teal);
}

.contact-field input,
.contact-field select,
.contact-field textarea {
    width: 100%;
    min-width: 0;
    min-height: 52px;
    padding: 15px 16px;
    border: 1px solid #d7e0e8;
    border-radius: 8px;
    background: #fdfefe;
    color: var(--text);
    font-family: inherit;
    font-size: 15px;
    line-height: 1.5;

    transition:
        border-color .25s ease,
        background .25s ease,
        box-shadow .25s ease;
}

.contact-field input:hover,
.contact-field select:hover,
.contact-field textarea:hover {
    border-color: #91b9c1;
}

.contact-field input:focus,
.contact-field select:focus,
.contact-field textarea:focus {
    border-color: var(--teal);
    background: #fff;
    outline: none;
    box-shadow: 0 0 0 4px rgba(8,127,140,.11);
}

.contact-field input::placeholder,
.contact-field textarea::placeholder {
    color: #778596;
    opacity: 1;
}

.contact-field textarea {
    min-height: 155px;
    resize: vertical;
}

.contact-field select {
    cursor: pointer;
}

/* PRIVACY */

.contact-privacy {
    display: flex;
    align-items: flex-start;
    gap: 13px;
}

.contact-privacy input {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    margin-top: 4px;
    accent-color: var(--teal);
}

.contact-privacy label {
    color: var(--muted);
    font-size: 13px;
    line-height: 1.85;
}

.contact-privacy a,
.contact-form-fallback a {
    color: var(--teal);
    font-weight: 700;
    text-underline-offset: 3px;
}

/* SUBMIT BUTTON */

.contact-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    min-height: 55px;
    width: 100%;
    padding: 15px 25px;
    border: 0;
    border-radius: 8px;
    background: var(--teal);
    color: #fff;
    font-family: inherit;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;

    transition:
        background .25s ease,
        transform .25s ease,
        box-shadow .25s ease;
}

.contact-submit:hover {
    background: var(--teal-dark);
    transform: translateY(-2px);
    box-shadow: 0 12px 27px rgba(8,127,140,.2);
}

.contact-small-print,
.contact-form-fallback {
    margin: -7px 0 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.7;
    text-align: center;
}

.contact-honeypot {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}

/* ==========================================
   THREE-STEP PROCESS
========================================== */

.contact-process-section {
    padding: 110px 0;
    background: var(--soft);
}

.contact-section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 60px;
}

.contact-section-heading h2 {
    margin: 18px 0 0;
    color: var(--navy);
    font-size: clamp(35px,3.7vw,54px);
    font-weight: 800;
    letter-spacing: -.04em;
    line-height: 1.15;
}

.contact-section-heading h2 span {
    display: block;
    color: var(--teal);
}

.contact-section-heading > p {
    max-width: 410px;
    margin: 0;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.85;
}

.contact-process-grid {
    display: grid;
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 22px;
    margin-top: 50px;
}

.contact-process-card {
    position: relative;
    padding: 34px 30px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: #fff;
    overflow: hidden;

    transition:
        transform .3s ease,
        border-color .3s ease,
        box-shadow .3s ease;
}

.contact-process-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--teal);
    transition: width .35s ease;
}

.contact-process-card:hover {
    transform: translateY(-7px);
    border-color: rgba(8,127,140,.4);
    box-shadow: 0 18px 42px rgba(16,29,53,.08);
}

.contact-process-card:hover::before {
    width: 100%;
}

.contact-process-number {
    display: block;
    margin-bottom: 22px;
    color: var(--teal);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .1em;
}

.contact-process-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 59px;
    height: 59px;
    margin-bottom: 25px;
    border-radius: 12px;
    background: #eaf6f7;
    color: var(--teal);
    transition: background .25s ease, color .25s ease;
}

.contact-process-icon svg {
    width: 29px;
    height: 29px;
}

.contact-process-card:hover .contact-process-icon {
    background: var(--teal);
    color: #fff;
}

.contact-process-card h3 {
    margin-bottom: 14px;
    color: var(--navy);
    font-size: 20px;
}

.contact-process-card p {
    margin: 0;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.85;
}

/* ==========================================
   FINAL CTA
========================================== */

.contact-final-cta {
    padding: 85px 0;
    background:
        radial-gradient(
            circle at 95% 10%,
            rgba(8,127,140,.2),
            transparent 35%
        ),
        var(--deep);
    color: #fff;
}

.contact-cta-grid {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 55px;
}

.contact-eyebrow-light {
    color: #74d1d7;
}

.contact-final-cta h2 {
    max-width: 820px;
    margin: 20px 0;
    font-size: clamp(34px,3.8vw,55px);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -.04em;
}

.contact-final-cta h2 span {
    display: block;
    color: #74d1d7;
}

.contact-final-cta p:not(.contact-eyebrow) {
    max-width: 680px;
    margin: 0;
    color: #cbd5e1;
    font-size: 16px;
    line-height: 1.85;
}

/* ACCESSIBILITY */

.as-contact a:focus-visible,
.as-contact button:focus-visible,
.as-contact input:focus-visible,
.as-contact select:focus-visible,
.as-contact textarea:focus-visible {
    outline: 3px solid var(--teal);
    outline-offset: 3px;
}

/* ==========================================
   TABLET
========================================== */

@media (max-width: 1100px) {
    .contact-hero-grid {
        grid-template-columns: 1fr 1fr;
        gap: 35px;
    }

    .contact-hero h1 {
        font-size: 48px;
    }

    .contact-main-grid {
        gap: 35px;
    }

    .contact-form-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 850px) {
    .contact-container {
        width: 92%;
    }

    .contact-hero-grid,
    .contact-main-grid {
        grid-template-columns: 1fr;
    }

    .contact-hero-visual {
        min-height: 380px;
    }

    .contact-information {
        padding-top: 0;
    }

    .contact-section-heading {
        flex-direction: column;
        align-items: flex-start;
        gap: 22px;
    }

    .contact-cta-grid {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* ==========================================
   MOBILE
========================================== */

@media (max-width: 600px) {
    .contact-container {
        width: 92%;
    }

    .contact-hero {
        padding: 65px 0 75px;
    }

    .contact-hero h1 {
        font-size: clamp(37px,9vw,48px);
        letter-spacing: -.035em;
    }

    .contact-hero-description {
        font-size: 15px;
    }

    .contact-hero-actions {
        flex-direction: column;
    }

    .contact-hero-actions .contact-btn {
        width: 100%;
    }

    .contact-hero-highlights {
        gap: 15px;
    }

    .contact-hero-visual {
        min-height: auto;
        margin-top: 18px;
    }

    .contact-visual-panel {
        padding: 27px 23px;
    }

    .contact-visual-accent {
        display: none;
    }

    .contact-main-section,
    .contact-process-section {
        padding: 75px 0;
    }

    .contact-info-card {
        padding: 23px 18px;
        gap: 14px;
    }

    .contact-info-icon {
        width: 45px;
        height: 45px;
    }

    .contact-info-icon svg {
        width: 23px;
        height: 23px;
    }

    .contact-form-card {
        padding: 28px 20px;
    }

    .contact-form-row,
    .contact-process-grid {
        grid-template-columns: 1fr;
    }

    .contact-process-grid {
        gap: 16px;
    }

    .contact-process-card {
        padding: 30px 25px;
    }

    .contact-final-cta {
        padding: 70px 0;
    }

    .contact-cta-grid .contact-btn {
        width: 100%;
    }
}

/* REDUCED MOTION */

@media (prefers-reduced-motion: reduce) {
    .as-contact *,
    .as-contact *::before,
    .as-contact *::after {
        transition: none !important;
        scroll-behavior: auto !important;
    }
}
