:root {
    --site-max: 1400px;
    --gutter-x: 32px;
    --logo-rail-nudge: 4px;
    --logo-rail-x: calc(
        (100vw - min(var(--site-max), 100vw)) / 2 + var(--gutter-x) +
            var(--logo-rail-nudge)
    );
    --red: #ce0000;
    --red-hot: #ff1414;
    --red-dark: #9a0000;
    --black: #111111;
    --ink: #1e1e1e;
    --graphite: #2a2a2a;
    --steel: #3a3a3a;
    --ash: #6b6b6b;
    --fog: #a8a8a8;
    --bone: #ededed;
    --white: #ffffff;
    --lime: #d6ff00;
}

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

html {
    scroll-behavior: smooth;
    background: var(--bg);
}

body {
    font-family: "League Spartan", sans-serif;
    background: #111;
    color: white;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

.wrap {
    width: min(1400px, calc(100% - 80px));
    margin-inline: auto;
}

.red {
    color: var(--red);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 16px 28px;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.btn-red {
    background: var(--red);
    color: white;
    clip-path: polygon(0 0, 100% 0, 94% 100%, 0 100%);
}

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

/* HEADER */

.site-header {
    height: 78px;
    background: #080808;
    position: sticky;
    top: 0;
    z-index: 999;
}

.header-inner {
    height: 100%;
    width: min(1500px, calc(100% - 80px));
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 18px;
    font-weight: 900;
}

.divider {
    width: 1px;
    height: 20px;
    background: #777;
}

.slashes {
    letter-spacing: 0.25em;
}

.nav a:hover {
    color: var(--red);
}

/* HERO */

.hero {
    background: #111111;
    position: relative;
    overflow: hidden;
    border-bottom: 4px solid var(--red);
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
    background-size: 78px 78px;
}

.hero-inner {
    position: relative;
    z-index: 2;
    width: min(1500px, calc(100% - 80px));
    margin: auto;
    display: grid;
    grid-template-columns: 45% 55%;
    min-height: 700px;
}

.hero-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.eyebrow {
    display: flex;
    align-items: center;
    color: var(--red);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    margin-bottom: 26px;
}

.dot {
    width: 12px;
    height: 12px;
    margin-right: 10px;
    border-radius: 50%;
    background: var(--red);
    box-shadow: 0 0 0 9px rgba(224, 0, 0, 0.15);
}

.hero h1 {
    font-size: 66.61px;
    line-height: 0.88;
    font-weight: 900;
    letter-spacing: -0.06em;
    text-transform: uppercase;
}

.hero h1 span {
    color: var(--lime);
    font-style: italic;
}

.hero p {
    margin-top: 28px;
    max-width: 540px;
    font-size: 19px;
    color: #b8b8b8;
    line-height: 1.6;
}

.hero-badges {
    margin-top: 36px;
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.hero-badges b {
    padding: 14px 20px;
    background: #ffffff0f;
    border-left: 3px solid var(--red);
    font-size: 13px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.hero-art {
    position: relative;
    overflow: hidden;
}

.hero-art::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        #111111 0%,
        rgba(5, 5, 5, 0.8) 20%,
        transparent 60%
    );
    z-index: 2;
}

.hero-art img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: right top;
    animation: zoom 12s ease-in-out infinite alternate;
}

@keyframes zoom {
    to {
        transform: scale(1.08) translateX(-2%);
    }
}

/* TITLES */

.section {
    padding: 100px 0;
}

.small-red {
    color: var(--red);
    text-transform: uppercase;
    letter-spacing: 0.24em;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 18px;
}

.title {
    font-size: 60px;
    line-height: 0.92;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: -0.04em;
}

.branch-carousel {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 16px;
    cursor: grab;
    scrollbar-width: thin;
    scrollbar-color: var(--red) var(--graphite);
}

.branch-card-carousel {
    min-width: calc(20% - 10px);
    flex-shrink: 0;
    scroll-snap-align: start;
    background: var(--ink);
    padding: 24px 20px;
    border-top: 3px solid var(--red);
    display: flex;
    flex-direction: column;
    gap: 17px;
}

.branch-card-carousel__state {
    font-family: "JetBrains Mono", monospace;
    font-size: 11px;
    color: var(--red);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.branch-card-carousel__name {
    font-family: "League Spartan", sans-serif;
    font-weight: 800;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: -0.01em;
    color: var(--white);
    line-height: 1.1;
}

.branch-card-carousel__badge {
    display: inline-flex;
    align-items: center;
    background: var(--red);
    color: var(--white);
    font-family: "League Spartan", sans-serif;
    font-weight: 800;
    font-size: 9px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    padding: 3px 8px;
    align-self: flex-start;
}

.branch-card-carousel__tel {
    font-family: "JetBrains Mono", monospace;
    font-size: 14px;
    font-weight: 600;
    color: var(--white);
    letter-spacing: 0.02em;
}

.branch-card-carousel__hours {
    font-family: "JetBrains Mono", monospace;
    font-size: 11px;
    color: var(--ash);
    letter-spacing: 0.04em;
}

.branch-card-carousel__actions {
    display: flex;
    gap: 8px;
    margin-top: auto;
    flex-wrap: wrap;
}

.branch-card-carousel__actions a {
    font-family: "League Spartan", sans-serif;
    font-weight: 700;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 8px 12px;
    background: var(--graphite);
    color: var(--white);
    transition: background 0.15s;
    white-space: nowrap;
}

.branch-card-carousel__wa {
    background: rgba(37, 211, 102, 0.15) !important;
    color: #25d366 !important;
}

.contact-section {
    padding: 80px 0;
    background: var(--ink);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 480px;
    gap: 80px;
    align-items: start;
}

.contact-info h2 {
    font-size: clamp(32px, 4vw, 52px);
    line-height: 0.9;
    margin-bottom: 40px;
    text-transform: uppercase;
}

.contact-info h2 em {
    font-style: normal;
    color: var(--red);
}

.contact-channels {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin-bottom: 48px;
}

.channel-card {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    background: var(--graphite);
    padding: 24px 28px;
    transition: background 0.15s;
    border-left: 3px solid transparent;
}

.channel-card:hover {
    background: #2f2f2f;
    border-left-color: var(--red);
}

.channel-card__icon {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    background: rgba(206, 0, 0, 0.12);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--red);
}

.channel-card__body h4 {
    font-family: "League Spartan", sans-serif;
    font-weight: 800;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 4px;
}

.channel-card__body p {
    font-size: 14px;
    color: var(--fog);
    margin: 0;
    line-height: 1.5;
}

.channel-card__body a {
    font-family: "JetBrains Mono", monospace;
    font-size: 18px;
    font-weight: 600;
    color: var(--white);
    display: block;
    margin-top: 6px;
    transition: color 0.15s;
}

.contact-hours {
    background: var(--graphite);
    padding: 28px 32px;
    border-top: 3px solid var(--red);
}

.contact-hours h4 {
    font-family: "League Spartan", sans-serif;
    font-weight: 800;
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--fog);
    margin-bottom: 16px;
}

.hours-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px 32px;
}

.hours-row {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.hours-row .day {
    font-size: 12px;
    color: var(--ash);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.hours-row .time {
    font-family: "JetBrains Mono", monospace;
    font-size: 15px;
    font-weight: 600;
    color: var(--white);
}

.contact-form-wrap {
    background: var(--graphite);
    padding: 40px 36px;
    border-top: 4px solid var(--red);
}

.contact-form-wrap h3 {
    font-size: 26px;
    margin-bottom: 28px;
    line-height: 1.1;
    text-transform: uppercase;
}

.contact-form-wrap h3 em {
    font-style: normal;
    color: var(--red);
}

@media (max-width: 960px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 56px;
    }
}

.cf-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.cf-field {
    margin-bottom: 20px;
}

.cf-field label {
    display: block;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--ash);
    margin-bottom: 8px;
    font-family: "League Spartan", sans-serif;
    font-weight: 700;
}

.cf-field input,
.cf-field select,
.cf-field textarea {
    width: 100%;
    background: var(--ink);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 14px 16px;
    color: var(--white);
    font-family: "Poppins", sans-serif;
    font-size: 14px;
    transition: border-color 0.15s;
    box-sizing: border-box;
}

.cf-submit {
    width: 100%;
    padding: 16px;
    background: var(--red);
    color: var(--white);
    font-family: "League Spartan", sans-serif;
    font-weight: 800;
    font-size: 15px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    transition: background 0.15s;
    margin-top: 8px;
}

.cf-disclaimer {
    font-size: 11px;
    color: var(--ash);
    margin-top: 12px;
    line-height: 1.6;
    text-align: center;
}

.cf-success {
    display: none;
    text-align: center;
    padding: 32px 0;
}

.cf-success .check {
    font-size: 56px;
    color: var(--red);
    margin-bottom: 16px;
    display: block;
}

.cf-success h3 {
    font-size: 24px;
    margin-bottom: 10px;
}

.cf-success p {
    color: var(--fog);
    font-size: 14px;
}

.btn--red {
    background: var(--red);
    color: var(--white);
    clip-path: polygon(0 0, 100% 0, calc(100% - 10px) 100%, 0 100%);
    padding-right: 36px;
}

@media (max-width: 1100px) {
    .hero-inner,
    .calc-box,
    .form-wrap,
    .footer-grid,
    .req-grid {
        grid-template-columns: 1fr;
    }

    .hero h1 {
        font-size: 60px;
    }
}

@media (max-width: 700px) {
    .wrap,
    .header-inner,
    .hero-inner {
        width: min(100% - 36px, 1500px);
    }

    .nav {
        display: none;
    }

    .hero {
        padding: 80px 0;
    }

    .hero-inner {
        min-height: auto;
    }

    .hero-art {
        min-height: 360px;
        margin-top: 20px;
    }

    .title {
        font-size: 44px;
    }

    .hero h1 {
        font-size: 54px;
    }
}

.hero-art::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 35%;
    background: linear-gradient(
        105deg,
        transparent 20%,
        #ffffff12 50%,
        transparent 80%
    );
    animation: hero-shimmer 9s ease-in-out infinite;
    animation-delay: 2s;
    z-index: 3;
    pointer-events: none;
}

@keyframes hero-shimmer {
    0% {
        transform: translateX(-120%) skewX(-18deg);
        opacity: 0;
    }

    15% {
        opacity: 1;
    }

    85% {
        opacity: 1;
    }

    100% {
        transform: translateX(220%) skewX(-18deg);
        opacity: 0;
    }
}
