/*=========================================================
    3 THIRTEEN SUBSURFACE
    Interest Form Microsite
    Version 3.0
=========================================================*/

/*=========================================================
    VARIABLES
=========================================================*/
:root {
    --charcoal-900: #1E2224;
    --charcoal-800: #2F3437;
    --charcoal-700: #3B4246;
    --gold-600: #D4AF37;
    --gold-700: #B99423;
    --gold-050: #FFF8E4;
    --white: #FFFFFF;
    --gray-025: #FAFBFC;
    --gray-050: #F5F7FA;
    --gray-100: #EEF1F4;
    --gray-200: #E5E7EB;
    --gray-500: #667085;
    --gray-700: #344054;
    --danger: #B42318;

    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 24px;

    --shadow-soft: 0 32px 90px rgba(30,34,36,.14);
    --shadow-card: 0 16px 42px rgba(30, 34, 36, 0.08);

    --container: 1080px;
}

/*=========================================================
    RESET
=========================================================*/
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--gray-050);
    color: var(--gray-700);
    font-family: Inter, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    display: block;
}

/*=========================================================
    HERO
=========================================================*/
.hero {
    min-height: 720px;
    color: var(--white);
    background-image:
linear-gradient(
90deg,
rgba(30,34,36,.98) 0%,
rgba(30,34,36,.95) 35%,
rgba(30,34,36,.82) 65%,
rgba(30,34,36,.45) 100%
),
url("../images/hero-trench.png");
    background-size: cover;
    background-position: 80% center;
    position: relative;
}


.hero__inner {
    max-width: 1000px;
    width: calc(100% - 56px);
    margin: 0 auto;
}

.hero__logo {
    position: absolute;
    top: 85px;
    left: 40px;
    width: min(230px, 68vw);
    height: auto;
}

.hero__copy {
    max-width: 500px;
    padding-top: 118px;
}

.hero h1 {
    margin: 0 0 24px;
    color: var(--white);
    font-size: clamp(44px, 5.5vw, 68px);
    line-height: 0.92;
    letter-spacing: -0.05em;
    font-weight: 850;
}

.hero p {
    margin: 0;
    max-width: 480px;
    color: rgba(255,255,255,0.86);
    font-size:20px;
}

/*=========================================================
    MAIN
=========================================================*/
.main{
    max-width:940px;
    width:calc(100% - 64px);
    position:relative;
    margin:0 auto 88px;
    top:-40px;
    z-index:5;
}

/*=========================================================
    FORM CARD
=========================================================*/
.form-card {
    background:#FCFCFB;
    border: 1px solid rgba(229,231,235,0.72);
    border-radius: 32px;
    box-shadow: var(--shadow-soft);
    padding:96px 72px 72px;
}

.form-card__header {
    padding-bottom: 34px;
    margin-bottom: 42px;
    border-bottom: 1px solid var(--gray-200);
}

.form-card__header h2 {
    margin: 0 0 10px;
    color: var(--charcoal-900);
    font-size: 56px;
    line-height: 1;
    letter-spacing: -0.052em;
}

.form-card__header h2::after {
    content: "";
    display: block;
    width: 72px;
    height: 4px;
    margin-top: 18px;
    background: var(--gold-600);
    border-radius: 3px;
}

.form-card__header p {
    margin: 0;
    color: var(--gray-500);
    font-size: 15px;
}

/*=========================================================
    FORM SECTIONS
=========================================================*/
.form-section {
    margin-bottom: 56px;
}

.form-section h3 {
    margin: 0 0 22px;
    color: var(--charcoal-800);
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

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

/*=========================================================
    FIELDS
=========================================================*/
.field {
    display: block;
    color: var(--charcoal-800);
    font-size: 14px;
    font-weight: 800;
}

.field span {
    display: block;
    margin-bottom: 10px;
}

input[type="text"],
input[type="tel"],
input[type="email"],
select,
textarea {
    width: 100%;
    min-height: 62px;
    padding: 16px 17px;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-sm);
    background: var(--gray-025);
    color: var(--charcoal-900);
    font: inherit;
    font-size: 16px;
    outline: none;
    transition: border-color .18s ease, background .18s ease, box-shadow .18s ease;
}

textarea {
    min-height: 172px;
    resize: vertical;
}

select {
    appearance: none;
    background-image:
        linear-gradient(45deg, transparent 50%, var(--gray-500) 50%),
        linear-gradient(135deg, var(--gray-500) 50%, transparent 50%);
    background-position:
        calc(100% - 23px) 50%,
        calc(100% - 17px) 50%;
    background-size: 6px 6px, 6px 6px;
    background-repeat: no-repeat;
}

input:focus,
select:focus,
textarea:focus {
    background: var(--white);
    border-color: var(--gold-600);
    box-shadow: 0 0 0 4px rgba(212,175,55,.18);
}

/*=========================================================
    CHOICE CARDS
=========================================================*/
.choice-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}

.choice-grid--two {
    grid-template-columns: repeat(2, minmax(0, 260px));
}

.choice-grid--certs {
    grid-template-columns: repeat(3, 1fr);
}

.choice {
    position: relative;
    min-height: 64px;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 17px 18px;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    background: var(--gray-025);
    cursor: pointer;
    transition: transform .18s ease, border-color .18s ease, background .18s ease, box-shadow .18s ease;
}

.choice:hover {
    transform: translateY(-0.5px);
    border-color: rgba(212,175,55,.62);
    background: var(--white);
}

.choice input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.choice__box {
    width: 22px;
    height: 22px;
    flex: 0 0 22px;
    border: 2px solid #C9D1DA;
    border-radius: 7px;
    background: var(--white);
    position: relative;
    transition: background .18s ease, border-color .18s ease;
}

.choice input[type="radio"] + .choice__box {
    border-radius: 50%;
}

.choice input:checked + .choice__box {
    background: var(--gold-600);
    border-color: var(--gold-600);
}

.choice input:checked + .choice__box::after {
    content: "";
    position: absolute;
    left: 6px;
    top: 2px;
    width: 6px;
    height: 11px;
    border: solid var(--charcoal-900);
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.choice input[type="radio"]:checked + .choice__box::after {
    left: 5px;
    top: 5px;
    width: 8px;
    height: 8px;
    background: var(--charcoal-900);
    border: 0;
    border-radius: 50%;
    transform: none;
}

.choice:has(input:checked) {
    border-color: var(--gold-600);
    background: var(--gold-050);
    box-shadow: 0 12px 28px rgba(212,175,55,.14);
}

.choice__label {
    color: var(--charcoal-900);
    font-size: 15px;
    font-weight: 850;
}

.field--other {
    margin-top: 18px;
}

.hidden {
    display: none;
}

/*=========================================================
    ACKNOWLEDGMENT + BUTTON
=========================================================*/
.acknowledgment {
    margin: 42px 0 24px;
}

.choice--ack {
    align-items: flex-start;
    background: var(--gray-050);
}

.submit-button {
    max-width:420px;
width:100%;
display:block;
margin:50px auto 0;
    min-height: 64px;
    border: none;
    border-radius: var(--radius-sm);
    background: var(--gold-600);
    color: var(--charcoal-900);
    cursor: pointer;
    font-size: 17px;
    font-weight: 700;
    letter-spacing: .01em;
    transition: background .18s ease, transform .18s ease, box-shadow .18s ease;
}

.submit-button:hover {
    background: var(--gold-700);
    transform: translateY(-1px);
    box-shadow: 0 15px 32px rgba(185,148,35,.24);
}

/*=========================================================
    NOTICE
=========================================================*/
.notice {
    margin-top: 48px;
    padding: 30px 34px;
    background: var(--white);
    border-left: 7px solid var(--gold-600);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-card);
}

.notice h2 {
    margin: 0 0 8px;
    color: var(--charcoal-900);
    font-size: 24px;
    letter-spacing: -0.03em;
}

.notice p {
    margin: 0;
    color: var(--gray-500);
}

/*=========================================================
    FOOTER
=========================================================*/
.footer{
    border-top:1px solid rgba(255,255,255,.08);
}
.footer {
    min-height: 130px;
    background: var(--charcoal-900);
    color: var(--white);
    text-align: center;
    padding: 50px 20px;
}

.footer strong {
    display: block;
    margin-bottom: 9px;
    font-size: 14px;
    letter-spacing: .16em;
}

.footer p {
    margin: 0 0 10px;
    color: rgba(255,255,255,.74);
    font-size: 14px;
}

.footer span {
    color: rgba(255,255,255,.48);
    font-size: 13px;
}

/*=========================================================
    THANK YOU PAGE
=========================================================*/
.thank-body {
    min-height: 100vh;
    padding: 30px;
    background-image:
        linear-gradient(90deg, rgba(30,34,36,.96), rgba(47,52,55,.78)),
        url("../images/hero-trench.png");
    background-size: cover;
    background-position: 62% center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.thank-card {
    width: min(700px, 100%);
    padding: clamp(36px, 5vw, 60px);
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    text-align: center;
}

.thank-card img {
    width: 280px;
    max-width: 72%;
    margin: 0 auto 34px;
    filter: invert(1);
}

.thank-card h1 {
    margin: 0 0 14px;
    color: var(--charcoal-900);
    font-size: clamp(42px, 6vw, 62px);
    line-height: 1;
    letter-spacing: -0.06em;
}

.thank-card p {
    margin: 0 0 16px;
    color: var(--gray-500);
}

.return-button {
    display: inline-block;
    margin-top: 14px;
    padding: 15px 28px;
    border-radius: var(--radius-sm);
    background: var(--gold-600);
    color: var(--charcoal-900);
    text-decoration: none;
    font-weight: 900;
}

/*=========================================================
    VALIDATION
=========================================================*/
.honeypot {
    position: absolute;
    left: -9999px;
    opacity: 0;
}

.field-error {
    border-color: var(--danger) !important;
    box-shadow: 0 0 0 4px rgba(180,35,24,.10) !important;
}

.error-note {
    color: var(--danger);
    margin-top: 10px;
    font-size: 14px;
    font-weight: 800;
}

/*=========================================================
    RESPONSIVE
=========================================================*/
@media (max-width: 900px) {
    .hero,
    .hero__inner {
        min-height: 640px;
    }

    .hero__inner {
        width: min(100% - 34px, var(--container));
        padding-top: 48px;
    }

    .hero__logo {
        top: 48px;
        width: min(380px, 68vw);
    }

    .hero__copy {
        padding-top: 120px;
    }

    .hero h1 {
        font-size: clamp(44px, 10vw, 64px);
    }

    .main {
        width: min(100% - 28px, var(--container));
        margin-top: -78px;
    }

    .form-card {
        padding: 32px 24px;
    }

    .form-card__header {
        margin-bottom: 34px;
    }

    .field-grid,
    .choice-grid,
    .choice-grid--two,
    .choice-grid--certs {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 520px) {
    .hero,
    .hero__inner {
        min-height: 590px;
    }

    .hero__copy {
        padding-top: 110px;
    }

    .hero h1 {
        font-size: 43px;
        margin-bottom: 24px;
    }

    .hero p {
        font-size: 17px;
    }

    .form-card {
        border-radius: 18px;
    }

    .notice {
        padding: 26px 24px;
    }
}