@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: 148px;
}

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

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

.recommendations-hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: calc(50% - 50vw);
    width: 100vw;
    height: 1px;
    background: rgba(255, 255, 255, 0.85);
}

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

.page-eyebrow {
    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;
}

.recommendations-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: 1.15rem;
}

.recommendations-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 2.4rem 1.6rem;
    padding: 0 1.4rem;
}

.recommendation-tile {
    width: 100%;
    background: transparent;
    border: 0;
    padding: 0;
    margin: 0;
    display: block;
    cursor: pointer;
    appearance: none;
    overflow: visible;
    line-height: 0;
    transition: transform 0.25s ease, filter 0.25s ease;
}

.recommendation-tile:hover {
    transform: scale(1.055);
    filter: brightness(1.04);
    z-index: 2;
}

.recommendation-tile:focus-visible {
    outline: 1px solid #ffffff;
    outline-offset: 5px;
}

.recommendation-tile img {
    width: 100%;
    height: auto;
    max-width: none;
    max-height: none;
    object-fit: contain;
    object-position: center center;
    display: block;
    background: transparent;
    filter: none;
    mix-blend-mode: normal;
    pointer-events: none;
    transform: none;
    clip-path: none;
}

.recommendations-note {
    max-width: 820px;
    margin: 2.4rem auto 0;
    padding: 1.25rem 1.5rem 0;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.35);
}

.recommendations-note p:first-child {
    font-family: 'Neue Machina', 'Public Sans', Arial, sans-serif;
    font-size: 12px;
    line-height: 1.6;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    color: #ffffff;
    margin-bottom: 0.55rem;
}

.recommendations-note p:last-child {
    font-family: 'Public Sans', Arial, sans-serif;
    font-size: 14px;
    line-height: 1.55;
    color: #aaaaaa;
}

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

.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;
}

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

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

.pdf-modal-content {
    width: min(92vw, 1050px);
    height: min(90vh, 820px);
    background: #121212;
    border: 1px solid #444444;
    display: flex;
    flex-direction: column;
}

.pdf-modal-header {
    min-height: 58px;
    padding: 0 1.1rem 0 1.4rem;
    border-bottom: 1px solid #333333;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.pdf-modal-header h2 {
    font-family: 'Neue Machina', 'Public Sans', Arial, sans-serif;
    font-size: 13px;
    line-height: 1.4;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    color: #ffffff;
    font-weight: 400;
}

.pdf-close-btn {
    width: 38px;
    height: 38px;
    background: transparent;
    border: 0;
    color: #aaaaaa;
    font-size: 2rem;
    line-height: 1;
    cursor: pointer;
}

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

#pdf-frame {
    width: 100%;
    height: 100%;
    border: 0;
    background: #ffffff;
}

.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;
    }

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

    .recommendations-grid {
        padding: 0;
        gap: 2rem 1.3rem;
    }
}

@media (max-width: 920px) {
    .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;
    }

    .recommendations-heading-row {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        align-items: start;
        margin-bottom: 2.5rem;
    }

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

    .recommendations-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .recommendations-note {
        margin-top: 2rem;
    }
}

@media (max-width: 768px) {
    .form-grid,
    .checkbox-grid {
        grid-template-columns: 1fr;
    }

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

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

    .pdf-modal-content {
        width: 100%;
        height: calc(100vh - 2.5rem);
    }
}

@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;
    }

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

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

    .recommendations-grid {
        grid-template-columns: 1fr;
        gap: 1.1rem;
    }

    .recommendations-note {
        padding-left: 0;
        padding-right: 0;
    }

    .recommendations-note p:first-child {
        font-size: 11px;
    }

    .recommendations-note p:last-child {
        font-size: 13px;
    }

    .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;
    }
}

