:root {
    --bg: #080808;
    --primary: #EAB004;
    --white: #FFFFFF;
    --black: #000000;
    --header-height: 104px;
    --font-family-primary: 'Inter', sans-serif;
    --font-family-secondary: 'Bodoni Moda', sans-serif;
}

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

body {
    margin: 0;
    font-family: var(--font-family-primary);
    background-color: var(--bg);
    color: var(--white);
    line-height: 1.6;
}

a {
    color: inherit;
}

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

::selection,
::-moz-selection {
    background: var(--primary);
    color: var(--black);
}

.page {
    overflow-x: hidden;
}

.container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 1rem;
}

.section {
    padding: 4rem 0;
}

.main {
    position: relative;
    z-index: 1;
}

/* Typography */

.section-title {
    margin: 0;
    font-family: var(--font-family-secondary);
    font-weight: 700;
    font-size: 3rem;
    text-transform: uppercase;
    color: var(--white);
}

.section-summary {
    margin: 0;
    font-size: 1rem;
    line-height: 1.5;
    max-width: 500px;
}

/* Buttons */

.btn {
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    font-family: var(--font-family-primary);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    text-align: center;
    text-decoration: none;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.btn--primary {
    background-color: var(--primary);
    color: var(--black);
}

.btn--primary img {
    width: 16px;
    height: 16px;
}

.btn--primary:hover {
    background-color: #f2c333;
}

.btn--outline {
    background-color: transparent;
    border: 0.1px solid var(--white);
    color: var(--white);
}

.btn--outline:hover {
    background-color: var(--white);
    color: var(--black);
}

.btn--white {
    background-color: var(--white);
    color: var(--black);
    border: 1px solid var(--white);
}

.btn--white:hover {
    background-color: #9CA3AF;
    border-color: #9CA3AF;
}

.btn--sm {
    font-size: 0.875rem;
    padding: 0.65rem 1rem;
}

.btn--md {
    font-size: 1rem;
    padding: 0.9rem 1.4rem;
}

.btn--lg {
    font-size: 1rem;
    padding: 1rem 2rem;
}

/* Badges */

.badge {
    display: inline-block;
    font-family: var(--font-family-primary);
    text-transform: uppercase;
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--primary);
    background-color: rgba(234, 177, 4, 0.15);
    border: 1px solid var(--primary);
    padding: 0.25rem 0.6rem;
    border-radius: 20px;
}

.badge--outline {
    background-color: rgba(234, 177, 4, 0.151);
    width: fit-content;
}

/* Header */

.brand {
    display: inline-flex;
    align-items: center;
}

.brand img {
    height: 56px;
    width: auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    padding: 1.5rem 0;
    min-height: var(--header-height);
    background: transparent;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.site-header.is-solid {
    background-color: rgba(0, 0, 0, 0.92);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.site-header__bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.site-header__actions {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.site-header__cta {
    white-space: nowrap;
}

.site-nav {
    display: flex;
    gap: 2rem;
}

.site-nav__link {
    font-family: var(--font-family-primary);
    text-decoration: none;
    color: var(--white);
    text-transform: uppercase;
    font-weight: 500;
    font-size: 0.875rem;
}

.site-nav__link:hover {
    color: var(--primary);
}

.nav-toggle {
    display: none;
    background: transparent;
    border: none;
    padding: 0.5rem;
    cursor: pointer;
}

.nav-toggle img {
    width: 28px;
    height: 28px;
    filter: brightness(0) invert(1);
    transition: filter 0.2s ease;
}

.nav-toggle:hover img {
    filter: brightness(0) saturate(100%) invert(72%) sepia(47%) saturate(689%) hue-rotate(357deg) brightness(104%) contrast(97%);
}

/* Mobile drawer */

.backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 35;
}

.backdrop.is-visible {
    opacity: 1;
    pointer-events: auto;
}

.mobile-drawer {
    position: fixed;
    top: 0;
    right: -100%;
    height: 100vh;
    width: 300px;
    background: #0f0f0f;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    box-shadow: -12px 0 30px rgba(0, 0, 0, 0.45);
    transition: right 0.3s ease;
    z-index: 40;
}

.mobile-drawer.is-open {
    right: 0;
}

.mobile-drawer__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.drawer-close {
    background: transparent;
    border: none;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.25rem;
    line-height: 1;
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.mobile-nav__link {
    font-size: 1rem;
    display: block;
    text-decoration: none;
    text-transform: uppercase;
}

.mobile-nav__cta {
    width: 100%;
}

body.menu-open {
    overflow: hidden;
}

/* Section headers */

.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    margin-bottom: 20px;
}

.section-subitle {
    display: inline-block;
    font-family: var(--font-family-secondary);
    text-transform: uppercase;
    font-weight: 600;
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 8px;
}

.section-header--compact {
    align-items: flex-start;
}

/* Hero */

.hero {
    position: relative;
    overflow: hidden;
    margin-top: calc(var(--header-height) * -1.4);
    padding: calc(8rem + var(--header-height)) 0 8rem;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    min-height: 92vh;
    display: flex;
    align-items: center;
}

.hero::before {
    content: "";
    position: absolute;
    inset: calc(-3 * var(--header-height)) 0 0 0;
    background: url('../images/bg-hero.jpg') center right / cover no-repeat;
    filter: grayscale(100%);
    opacity: 0.55;
    z-index: 0;
}

.hero::after {
    content: "";
    position: absolute;
    inset: calc(-3 * var(--header-height)) 0 0 0;
    background: linear-gradient(90deg, rgba(8, 8, 8, 1) 0%, rgba(8, 8, 8, 1) 50%, rgba(8, 8, 8, 0.65) 70%, rgba(8, 8, 8, 0) 100%);
    z-index: 1;
}

.hero__content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1600px;
    padding: 0 1rem;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.hero__title {
    font-family: var(--font-family-secondary);
    font-weight: 700;
    font-size: clamp(2.8rem, 6vw, 6rem);
    line-height: clamp(3rem, 6.2vw, 6rem);
    font-style: italic;
    text-transform: uppercase;
    margin: 0;
}

.text-highlight {
    background: linear-gradient(90deg, var(--primary), var(--white));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero__lead {
    font-size: clamp(1rem, 2.8vw, 1.4rem);
    line-height: clamp(1.4rem, 3.2vw, 1.6);
    max-width: 600px;
    margin: 0;
}

.hero__actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Cards */

.card {
    background-color: #1A1A1A;
    border: 0.5px solid hsl(0 0% 20%);
    border-radius: 10px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
}

.card-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    border-radius: 10px;
    background-color: rgba(234, 177, 4, 0.151);
    border: 1px solid var(--primary);
    color: var(--primary);
}

.card__icon img {
    width: 24px;
    height: 24px;
    object-fit: contain;
    filter: brightness(0) saturate(100%) invert(71%) sepia(82%) saturate(695%) hue-rotate(359deg) brightness(101%) contrast(99%);
}

.card__title {
    margin: 0;
    font-family: var(--font-family-primary);
    font-size: 1.2rem;
    font-weight: 700;
    text-transform: uppercase;
}

.card__description {
    margin: 0;
    color: var(--white);
    font-size: 1rem;
    line-height: 1.5;
}

.card__description a {
    text-decoration: none;
}

.card__description a:hover {
    text-decoration: underline;
    color: var(--primary);
}

.card__meta {
    font-weight: 400;
    color: #9CA3AF;
    font-size: 0.875rem;
}

.contact .card__title,
.card--contact .card__title {
    font-family: var(--font-family-secondary);
}

.card--service {
    flex: 0 1 calc((100% - 3rem) / 3);
    max-width: calc((100% - 3rem) / 3);
    transition: border-color 0.2s ease, background-color 0.2s ease;
}

.card--service:hover {
    border-color: var(--primary);
}

.card--service:hover .card__icon {
    background-color: var(--primary);
    border-color: var(--primary);
    color: var(--black);
}

.card--service:hover .card__icon img {
    filter: brightness(0) invert(1);
}

.services__grid {
    justify-content: flex-start;
}

/* About */

.about__layout {
    display: flex;
    align-items: stretch;
    gap: 3rem;
    flex-wrap: wrap;
}

.about__media {
    flex: 1 1 45%;
    min-height: 420px;
    display: flex;
}

.about__media img {
    width: 100%;
    height: 100%;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: 0 25px 50px rgba(234, 176, 4, 0.35), 0 -10px 30px rgba(234, 176, 4, 0.2), 10px 0 30px rgba(234, 176, 4, 0.2), -10px 0 30px rgba(234, 176, 4, 0.2);
}

.about__content {
    flex: 1 1 45%;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    align-items: flex-start;
}

.about__stats {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.stat {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    color: var(--white);
}

.stat__value {
    font-family: var(--font-family-secondary);
    font-size: 2rem;
    font-weight: 700;
}

.stat__label {
    font-size: 1rem;
    color: var(--white);
}

/* Contact */

.contact__layout {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    align-items: flex-start;
}

.contact__cards {
    flex: 1 1 50%;
}

.card--contact {
    flex: 0 1 calc((100% - 1.5rem) / 2);
    max-width: calc((100% - 1.5rem) / 2);
    background-color: transparent;
    border: 0.5px solid hsl(0 0% 20%);
    align-items: center;
    text-align: center;
}

.card--contact .card__icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    margin: 0 auto;
}

.contact__form {
    flex: 1 1 40%;
    min-width: 320px;
}

.form {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.form__group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    width: 100%;
    margin: 0;
}

.form__group--half {
    flex: 0 1 calc(50% - 0.5rem);
    max-width: calc(50% - 0.5rem);
}

.form label {
    font-size: 0.875rem;
    color: #E5E7EB;
}

.form input,
.form textarea {
    background-color: var(--bg);
    border: 0.5px solid hsl(0 0% 20%);
    padding: 0.85rem 1rem;
    color: var(--white);
    font-size: 1rem;
}

.form input::placeholder,
.form textarea::placeholder {
    color: #9CA3AF;
}

.form textarea {
    resize: vertical;
}

.form .btn {
    width: 100%;
}

/* Footer */

.footer {
    border-top: 0.5px solid hsl(0 0% 20%);
    padding: 2rem 0;
    text-align: center;
    width: 100vw;
    margin-left: calc(50% - 50vw);
}

.footer__text {
    margin: 0;
    color: #9CA3AF;
    font-size: 0.95rem;
}

/* Responsive */

@media (max-width: 960px) {
    .site-nav {
        display: none;
    }

    .site-header__cta {
        display: none;
    }

    .nav-toggle {
        display: inline-flex;
    }

    .brand img {
        height: 44px;
    }

    .site-header {
        padding: 1rem 0;
    }

    .hero__title {
        font-size: 3.6rem;
        line-height: 3.6rem;
    }

    .hero__lead {
        font-size: 1rem;
        line-height: 1.45;
    }
}

@media (max-width: 820px) {
    .services__grid {
        flex-direction: column;
    }

    .card--service {
        flex: 0 1 100%;
        max-width: 100% !important;
    }

    .contact__layout {
        flex-direction: column;
    }

    .contact__cards {
        flex: 1 1 100% !important;
    }

    .card--contact {
        flex: 0 1 100%;
        max-width: 100% !important;
    }
}

@media (max-width: 640px) {
    body {
        font-size: 0.95rem;
    }

    .section {
        padding: 3rem 0;
    }

    .hero {
        padding: calc(6.5rem + var(--header-height)) 0 6rem;
        min-height: auto;
    }

    .badge {
        font-size: 0.75rem;
        padding: 0.2rem 0.4rem;
        margin-bottom: 20px;
    }

    .hero__title {
        font-size: 2.7rem;
        line-height: 3rem;
    }

    .hero__lead {
        font-size: 0.9rem;
        line-height: 1.45;
    }

    .hero__actions {
        flex-direction: column;
        width: 100%;
    }

    .hero__actions .btn {
        width: 100%;
        font-size: 0.9rem;
        padding: 0.8rem 1rem;
    }

    .brand img {
        height: 36px;
    }

    .section-title {
        font-size: 2rem !important;
    }

    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }

    .services__grid {
        flex-direction: column;
    }

    .card {
        width: 100%;
    }

    .card--service {
        width: 100%;
    }

    .card__title {
        font-size: 1.1rem;
    }

    .about__layout {
        gap: 2rem;
    }

    .contact__layout {
        flex-direction: column;
    }

    .contact__cards {
        flex: 1 1 100%;
    }

    .card--contact {
        flex: 0 1 100%;
        max-width: 100%;
    }

    .form__group--half {
        flex: 0 1 100%;
        max-width: 100%;
    }
}
