@font-face {
    font-family: 'Neue Machina';
    src: url('/assets/NeueMachina-Regular.woff2') format('woff2'),
         url('/assets/NeueMachina-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    min-height: 100%;
    background: #121212;
    scroll-behavior: smooth;
}

body {
    min-height: 100%;
    background: #121212;
    color: #ffffff;
    font-family: 'Public Sans', Arial, sans-serif;
    overflow-x: hidden;
}

a {
    color: inherit;
}

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

.site-header {
    width: 100%;
    min-height: 112px;
    padding: 1.35rem 2.4rem 0;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 2rem;
    background: #121212;
}

.logo-container {
    line-height: 0;
    flex-shrink: 0;
    margin-top: -1rem;
}

.logo-container a {
    display: inline-block;
    text-decoration: none;
}

.logo {
    width: 165px;
    height: auto;
}

.site-nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 1.3rem;
    padding-top: 0.55rem;
    flex-wrap: wrap;
}

.site-nav a,
.site-nav button {
    font-family: 'Neue Machina', 'Public Sans', Arial, sans-serif;
    font-size: 12px;
    line-height: 1;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-decoration: none;
    color: #aaaaaa;
    border: 1px solid #777777;
    background: transparent;
    padding: 0.85rem 1rem;
    min-width: 104px;
    text-align: center;
    transition: color 0.25s ease, border-color 0.25s ease;
    cursor: pointer;
}

.site-nav a:hover,
.site-nav a.active,
.site-nav button:hover {
    color: #ffffff;
    border-color: #ffffff;
}

.site-nav .nav-consultation {
    min-width: 142px;
}

.contact-page {
    min-height: calc(100vh - 178px);
    background: #121212;
}

.contact-hero {
    position: relative;
    width: 100%;
    max-width: 1360px;
    margin: 0 auto;
    padding: 2.7rem 3rem 3.7rem;
}

.full-width-line {
    position: absolute;
    top: 0;
    left: calc(50% - 50vw);
    width: 100vw;
    height: 1px;
    background: rgba(255, 255, 255, 0.85);
}

.page-eyebrow,
.section-kicker {
    font-family: 'Neue Machina', 'Public Sans', Arial, sans-serif;
    font-size: 10px;
    line-height: 1.6;
    letter-spacing: 2.4px;
    text-transform: uppercase;
    color: #888888;
    margin-bottom: 1rem;
}

.contact-heading-row {
    display: grid;
    grid-template-columns: minmax(320px, 0.36fr) minmax(0, 0.64fr);
    gap: 3.2rem;
    align-items: end;
    margin-bottom: 3rem;
}

.contact-heading-row h1 {
    font-family: 'Public Sans', Arial, sans-serif;
    font-size: clamp(72px, 7.8vw, 105px);
    line-height: 0.96;
    font-weight: 700;
    letter-spacing: -3px;
    color: #ffffff;
}

.heading-line {
    width: 100%;
    height: 3px;
    background: #f1c978;
    margin-bottom: 0.85rem;
}

.contact-grid {
    display: grid;
    grid-template-columns: minmax(560px, 0.62fr) minmax(340px, 0.38fr);
    gap: 2.4rem;
    align-items: start;
}

.contact-form-card {
    border: 2px solid rgba(255, 255, 255, 0.85);
    border-radius: 12px;
    padding: 2.2rem 2.4rem 2.4rem;
    background: rgba(255, 255, 255, 0.008);
}

.contact-field-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.2rem;
    margin-bottom: 1.4rem;
}

.contact-field-row .contact-field {
    margin-bottom: 0;
}

.contact-field {
    margin-bottom: 1.4rem;
}

.contact-field label {
    display: block;
    margin-bottom: 0.45rem;
    font-size: 14px;
    line-height: 1.25;
    color: #ffffff;
}

.contact-field input,
.contact-field textarea {
    width: 100%;
    border: 1px solid rgba(255, 255, 255, 0.42);
    border-radius: 7px;
    background: #121212;
    color: #ffffff;
    font-family: 'Public Sans', Arial, sans-serif;
    font-size: 14px;
    outline: none;
    transition: border-color 0.25s ease, background 0.25s ease;
}

.contact-field input {
    min-height: 62px;
    padding: 0.95rem 1.1rem;
}

.contact-field textarea {
    height: 220px;
    min-height: 220px;
    max-height: 220px;
    padding: 1rem 1.1rem;
    resize: none;
    overflow-y: auto;
}

.contact-field input:focus,
.contact-field textarea:focus {
    border-color: #ffffff;
    background: rgba(255, 255, 255, 0.025);
}

.contact-submit {
    width: 100%;
    min-height: 40px;
    border: 0;
    border-radius: 22px;
    background: #ffffff;
    color: #111111;
    font-family: 'Public Sans', Arial, sans-serif;
    font-size: 15px;
    cursor: pointer;
    transition: background 0.25s ease, transform 0.25s ease;
}

.contact-submit:hover {
    background: #f8d657;
    transform: translateY(-1px);
}

.form-note {
    font-size: 8px;
    line-height: 1.35;
    color: #888888;
    text-align: center;
    margin-top: 0.55rem;
}

.contact-content {
    padding: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    transform: none;
}

.contact-content h2 {
    font-family: 'Public Sans', Arial, sans-serif;
    font-size: clamp(42px, 4.3vw, 62px);
    line-height: 1.12;
    font-weight: 700;
    letter-spacing: -1.8px;
    color: #ffffff;
    margin-bottom: 1.1rem;
}

.contact-lead {
    max-width: 620px;
    font-size: 19px;
    line-height: 1.35;
    color: #ededed;
    margin-bottom: 1.45rem;
}

.contact-info {
    margin-bottom: 0;
}

.contact-info p {
    font-size: 18px;
    line-height: 1.36;
    margin: 0 0 0.35rem;
    color: #f2f2f2;
}

.contact-info p:last-child {
    margin-bottom: 0;
}

.contact-info span {
    font-weight: 800;
    text-transform: uppercase;
}

.contact-info a {
    text-decoration: none;
    font-style: italic;
}

.contact-info a:hover {
    color: #f1c978;
}

.contact-extra,
.contact-services,
.contact-checkboxes {
    display: none;
}

.site-footer {
    position: relative;
    width: 100%;
    padding: 0.62rem 2rem 0.72rem;
    background: #121212;
    color: #8d8d8d;
    text-align: center;
    font-family: 'Public Sans', Arial, sans-serif;
    font-size: 12px;
    line-height: 1.45;
}

.site-footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: #ffffff;
}

.site-footer a {
    color: #8d8d8d;
    text-decoration: none;
}

.site-footer a:hover {
    color: #ffffff;
}

.site-footer span {
    margin: 0 0.35rem;
}

.modal {
    display: none;
    position: fixed;
    inset: 0;
    width: 100%;
    min-height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 10000;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.25s ease;
    padding: 1.25rem;
}

.modal.show {
    display: flex;
    opacity: 1;
}

.modal-content {
    background: #121212;
    color: #ffffff;
    padding: 2rem;
    border: 1px solid #333333;
    border-radius: 12px;
    width: min(92vw, 780px);
    max-height: calc(100vh - 2.5rem);
    overflow-y: auto;
    position: relative;
}

.close-btn {
    position: absolute;
    top: 1rem;
    right: 1.25rem;
    font-size: 1.8rem;
    cursor: pointer;
    color: #888888;
    background: transparent;
    border: 0;
    line-height: 1;
}

.close-btn:hover {
    color: #ffffff;
}

.modal-content h2 {
    margin-bottom: 0.75rem;
    padding-right: 2rem;
    font-weight: 300;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-align: center;
    font-family: 'Public Sans', sans-serif;
    font-size: 22px;
}

.modal-lead {
    font-family: 'Public Sans', sans-serif;
    font-size: 13px;
    line-height: 1.65;
    color: #aaaaaa;
    text-align: center;
    max-width: 620px;
    margin: 0 auto 1.4rem;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem 1.5rem;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.4rem;
    font-size: 11px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #aaaaaa;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"] {
    width: 100%;
    padding: 0.65rem 0;
    border: 0;
    border-bottom: 1px solid #555555;
    background: transparent;
    color: #ffffff;
    outline: none;
    font-family: 'Public Sans', sans-serif;
    font-size: 14px;
    transition: border-color 0.3s ease;
}

.form-group input::placeholder {
    color: #555555;
}

.form-group input:focus {
    border-color: #ffffff;
}

.services-group {
    margin-top: 0.45rem;
}

.services-group > label {
    margin-bottom: 1.15rem;
}

.checkbox-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem 1.25rem;
}

.form-group .custom-checkbox {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    cursor: pointer;
    color: #aaaaaa;
    font-size: 13px;
    line-height: 1.35;
    text-transform: none;
    letter-spacing: 0;
    user-select: none;
    margin: 0;
    position: relative;
    transition: color 0.25s ease;
}

.form-group .custom-checkbox input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.form-group .custom-checkbox span {
    width: 25px;
    height: 25px;
    flex-shrink: 0;
    border: 1px solid #666666;
    border-radius: 5px;
    background: transparent;
    position: relative;
    transition: all 0.25s ease;
}

.form-group .custom-checkbox span::after {
    content: "";
    position: absolute;
    left: 8px;
    top: 4px;
    width: 6px;
    height: 12px;
    border: solid #000000;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg) scale(0);
    transform-origin: center;
    transition: transform 0.2s ease;
}

.form-group .custom-checkbox input:checked + span {
    background: #ffffff;
    border-color: #ffffff;
}

.form-group .custom-checkbox input:checked + span::after {
    transform: rotate(45deg) scale(1);
}

.form-group .custom-checkbox:hover {
    color: #ffffff;
}

.form-group .custom-checkbox:hover span {
    border-color: #ffffff;
}

.submit-btn {
    font-family: 'Public Sans', sans-serif;
    font-size: 12px;
    width: 100%;
    padding: 1rem;
    background-color: #ffffff;
    color: #000000;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-top: 1rem;
    transition: background-color 0.3s ease;
}

.submit-btn:hover {
    background-color: #cccccc;
}

@media (max-width: 1180px) {
    .site-header {
        padding-left: 2rem;
        padding-right: 2rem;
    }

    .site-nav {
        gap: 0.85rem;
    }

    .site-nav a,
    .site-nav button {
        font-size: 11px;
        min-width: auto;
        padding: 0.75rem 0.85rem;
    }

    .contact-hero {
        padding-left: 2rem;
        padding-right: 2rem;
    }

    .contact-grid {
        gap: 2rem;
        margin-top: 1.8rem;
    }

    .contact-content h2 {
        font-size: 50px;
    }
}

@media (max-width: 980px) {
    .contact-heading-row {
        grid-template-columns: 1fr;
        gap: 1.4rem;
        align-items: start;
    }

    .heading-line {
        margin-bottom: 0;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        margin-top: 1.4rem;
    }

    .contact-form-card {
        order: 2;
    }

    .contact-content {
        order: 1;
        transform: none;
    }
}

@media (max-width: 768px) {
    .site-header {
        min-height: auto;
        flex-direction: column;
        align-items: flex-start;
        padding-bottom: 1.25rem;
    }

    .site-nav {
        justify-content: flex-start;
        padding-top: 0;
    }

    .contact-content h2 {
        font-size: 42px;
    }

    .contact-lead,
    .contact-info p {
        font-size: 18px;
    }

    .form-grid,
    .checkbox-grid {
        grid-template-columns: 1fr;
    }

    .modal {
        align-items: flex-start;
    }

    .modal-content {
        width: 100%;
        padding: 1.75rem 1.25rem;
    }
}

@media (max-width: 640px) {
    .site-header {
        padding: 1.1rem 1.25rem 1.25rem;
    }

    .logo {
        width: 142px;
    }

    .site-nav {
        width: 100%;
        gap: 0.65rem;
    }

    .site-nav a,
    .site-nav button,
    .site-nav .nav-consultation {
        font-size: 10px;
        padding: 0.65rem 0.7rem;
        min-width: auto;
    }

    .contact-hero {
        padding: 2rem 1.25rem 3rem;
    }

    .contact-heading-row h1 {
        font-size: 58px;
        letter-spacing: -2px;
    }

    .contact-form-card {
        padding: 1.2rem 1rem 1.35rem;
        border-radius: 10px;
    }

    .contact-content h2 {
        font-size: 36px;
    }

    .site-footer {
        padding-left: 1.25rem;
        padding-right: 1.25rem;
        font-size: 12px;
    }
}


.footer-contact,
.footer-copy {
    display: block;
}

.footer-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.65rem;
    flex-wrap: wrap;
    margin: 0.75rem auto 0.55rem;
}

.footer-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 30px;
    padding: 0.42rem 0.82rem;
    border: 1px solid rgba(255, 255, 255, 0.34);
    border-radius: 999px;
    color: #9d9d9d;
    text-decoration: none;
    font-family: 'Public Sans', Arial, sans-serif;
    font-size: 10px;
    line-height: 1.2;
    letter-spacing: 0.9px;
    text-transform: uppercase;
    transition: color 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.footer-button:hover {
    color: #ffffff;
    border-color: #ffffff;
    background: rgba(255, 255, 255, 0.035);
}

@media (max-width: 640px) {
    .footer-links {
        gap: 0.45rem;
        margin-top: 0.7rem;
    }

    .footer-button {
        width: 100%;
        max-width: 260px;
        font-size: 9px;
    }
}

