:root {
    --primary: #0f3329;
    --primary-dark: #08241d;
    --primary-soft: #edf3f0;

    --gold: #c99a2e;
    --gold-soft: #faf4e5;

    --heading: #102820;
    --text: #66736d;
    --background: #f7f8f5;
    --surface: #ffffff;
    --border: #e2e7e3;

    --shadow: 0 20px 60px rgba(15, 51, 41, 0.09);
    --small-shadow: 0 12px 30px rgba(15, 51, 41, 0.06);

    --radius: 22px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: Arial, Helvetica, sans-serif;
    color: var(--heading);
    background: var(--background);
}

body,
button,
input,
select,
textarea {
    font-family: Arial, Helvetica, sans-serif;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    border: 0;
}

.container {
    width: min(1140px, calc(100% - 40px));
    margin: 0 auto;
}

/* HEADER */

.site-header {
    position: sticky;
    top: 0;
    z-index: 9999;
    width: 100%;
    border-bottom: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
}

.header-inner {
    position: relative;
    min-height: 94px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.brand {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    min-width: 0;
}

.brand-logo {
    width: 300px;
    max-width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}

/* DESKTOP NAVIGATION */

.desktop-navigation {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
}

.desktop-navigation a {
    display: block;
    margin: 0;
    padding: 11px 16px;
    border-radius: 10px;
    color: #48544f;
    background: transparent;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.2;
    transition:
        color 0.2s ease,
        background 0.2s ease;
}

.desktop-navigation a:hover,
.desktop-navigation a.active {
    color: var(--primary);
    background: var(--primary-soft);
}

.desktop-navigation .desktop-contact {
    margin-left: 6px;
    padding-right: 20px;
    padding-left: 20px;
    color: #ffffff;
    background: var(--primary);
}

.desktop-navigation .desktop-contact:hover,
.desktop-navigation .desktop-contact.active {
    color: #ffffff;
    background: var(--primary-dark);
}

/* MOBILE MENU HIDDEN ON DESKTOP */

.mobile-menu {
    display: none;
}

/* SHARED */

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 20px;
    padding: 9px 13px;
    border: 1px solid #dce8e3;
    border-radius: 999px;
    color: var(--primary);
    background: var(--primary-soft);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.eyebrow-dot {
    width: 8px;
    height: 8px;
    flex: 0 0 auto;
    border-radius: 50%;
    background: var(--gold);
}

.button {
    min-height: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 21px;
    border: 1px solid transparent;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
    transition:
        background 0.2s ease,
        border-color 0.2s ease,
        color 0.2s ease,
        transform 0.2s ease;
}

.button-primary {
    color: #ffffff;
    background: var(--primary);
    box-shadow: 0 13px 28px rgba(15, 51, 41, 0.22);
}

.button-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
}

.button-secondary {
    color: var(--heading);
    border-color: var(--border);
    background: #ffffff;
}

.button-secondary:hover {
    color: var(--primary);
    border-color: #bdcec6;
}

.section {
    padding: 90px 0;
}

.section-white {
    background: #ffffff;
}

.section-heading {
    max-width: 750px;
    margin-bottom: 46px;
}

.section-heading.center {
    margin-right: auto;
    margin-left: auto;
    text-align: center;
}

.section-heading h2 {
    margin: 0 0 16px;
    font-size: clamp(34px, 4.2vw, 50px);
    line-height: 1.12;
    letter-spacing: -0.04em;
}

.section-heading p {
    margin: 0;
    color: var(--text);
    font-size: 17px;
    line-height: 1.75;
}

.grid-three {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.service-card {
    padding: 30px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--surface);
    box-shadow: var(--small-shadow);
}

.service-icon {
    width: 50px;
    height: 50px;
    display: grid;
    place-items: center;
    margin-bottom: 22px;
    border: 1px solid rgba(201, 154, 46, 0.25);
    border-radius: 15px;
    color: var(--primary);
    background: var(--gold-soft);
    font-size: 18px;
    font-weight: 800;
}

.service-card h3 {
    margin: 0 0 12px;
    font-size: 21px;
}

.service-card p {
    margin: 0;
    color: var(--text);
    line-height: 1.75;
}

/* HOME */

.hero {
    overflow: hidden;
    padding: 95px 0 92px;
    background:
        radial-gradient(
            circle at 90% 8%,
            rgba(15, 51, 41, 0.11),
            transparent 28%
        ),
        radial-gradient(
            circle at 8% 90%,
            rgba(201, 154, 46, 0.11),
            transparent 25%
        ),
        linear-gradient(180deg, #ffffff 0%, #f7f8f5 100%);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    gap: 70px;
}

.hero h1 {
    max-width: 720px;
    margin: 0;
    font-size: clamp(46px, 6.2vw, 74px);
    line-height: 1.03;
    letter-spacing: -0.055em;
}

.hero h1 span {
    color: var(--primary);
}

.hero-description {
    max-width: 650px;
    margin: 25px 0 0;
    color: var(--text);
    font-size: 18px;
    line-height: 1.78;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 13px;
    margin-top: 35px;
}

.hero-panel {
    padding: 30px;
    border: 1px solid var(--border);
    border-radius: 28px;
    background: #ffffff;
    box-shadow: var(--shadow);
}

.hero-panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 23px;
}

.hero-panel-header h2 {
    margin: 0;
    font-size: 21px;
}

.panel-badge {
    padding: 8px 11px;
    border-radius: 999px;
    color: var(--primary);
    background: var(--primary-soft);
    font-size: 11px;
    font-weight: 800;
}

.vehicle-illustration {
    min-height: 265px;
    display: grid;
    place-items: center;
    overflow: hidden;
    border-radius: 22px;
    background:
        radial-gradient(
            circle at 80% 20%,
            rgba(15, 51, 41, 0.12),
            transparent 30%
        ),
        linear-gradient(145deg, #edf3f0, #faf4e5);
}

.vehicle-illustration svg {
    width: 80%;
    max-width: 380px;
}

.process-row {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 14px;
    margin-top: 22px;
}

.process-item {
    padding: 15px;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: #fafbf9;
}

.process-item span {
    display: block;
    margin-bottom: 5px;
    color: var(--text);
    font-size: 11px;
}

.process-item strong {
    font-size: 14px;
}

.process-arrow {
    color: var(--gold);
    font-size: 23px;
    font-weight: 800;
}

.steps {
    counter-reset: service-steps;
}

.step-card {
    position: relative;
    padding-top: 72px;
}

.step-card::before {
    counter-increment: service-steps;
    content: "0" counter(service-steps);
    position: absolute;
    top: 25px;
    left: 30px;
    color: var(--primary);
    font-size: 31px;
    font-weight: 800;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.stat-card {
    padding: 27px 20px;
    text-align: center;
    border: 1px solid var(--border);
    border-radius: 18px;
    background: #ffffff;
}

.stat-card strong {
    display: block;
    margin-bottom: 8px;
    color: var(--primary);
    font-size: 26px;
}

.stat-card span {
    color: var(--text);
    font-size: 13px;
}

.cta-box {
    padding: 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    border-top: 4px solid var(--gold);
    border-radius: 28px;
    color: #ffffff;
    background: linear-gradient(135deg, #08241d, #17483b);
    box-shadow: 0 25px 60px rgba(15, 51, 41, 0.23);
}

.cta-box h2 {
    margin: 0 0 11px;
    font-size: 35px;
}

.cta-box p {
    max-width: 660px;
    margin: 0;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
}

.cta-box .button {
    flex: 0 0 auto;
    color: var(--primary);
    background: #ffffff;
}

/* INNER PAGE HERO */

.page-hero {
    padding: 92px 0 78px;
    text-align: center;
    background:
        radial-gradient(
            circle at top,
            rgba(15, 51, 41, 0.11),
            transparent 34%
        ),
        #ffffff;
}

.page-hero h1 {
    max-width: 850px;
    margin: 0 auto;
    font-size: clamp(44px, 6vw, 68px);
    line-height: 1.05;
    letter-spacing: -0.05em;
}

.page-hero p {
    max-width: 720px;
    margin: 23px auto 0;
    color: var(--text);
    font-size: 18px;
    line-height: 1.75;
}

/* ABOUT */

.about-grid {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    align-items: center;
    gap: 70px;
}

.about-visual {
    min-height: 440px;
    display: grid;
    place-items: center;
    padding: 40px;
    border-radius: 28px;
    background: linear-gradient(145deg, #edf3f0, #faf4e5);
}

.about-visual svg {
    width: 92%;
    max-width: 440px;
}

.about-content h2 {
    margin: 0 0 20px;
    font-size: 43px;
    line-height: 1.13;
    letter-spacing: -0.04em;
}

.about-content p {
    margin: 0 0 18px;
    color: var(--text);
    line-height: 1.82;
}

.check-list {
    display: grid;
    gap: 14px;
    margin-top: 28px;
}

.check-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: #3f4a45;
    line-height: 1.65;
}

.check-mark {
    width: 24px;
    height: 24px;
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: #ffffff;
    background: var(--primary);
    font-size: 12px;
    font-weight: 800;
}

/* CONTACT */

.contact-layout {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 32px;
}

.contact-intro h2 {
    margin: 0 0 18px;
    font-size: 41px;
    line-height: 1.15;
    letter-spacing: -0.04em;
}

.contact-intro > p {
    margin: 0 0 30px;
    color: var(--text);
    line-height: 1.75;
}

.contact-details {
    display: grid;
    gap: 15px;
}

.contact-item {
    padding: 22px;
    border: 1px solid var(--border);
    border-radius: 18px;
    background: #ffffff;
}

.contact-item span {
    display: block;
    margin-bottom: 8px;
    color: var(--text);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.contact-item strong,
.contact-item a {
    color: var(--heading);
    font-size: 16px;
}

.form-card {
    padding: 34px;
    border: 1px solid var(--border);
    border-radius: 25px;
    background: #ffffff;
    box-shadow: var(--shadow);
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.field {
    display: grid;
    gap: 8px;
}

.field.full-width {
    grid-column: 1 / -1;
}

.field label {
    font-size: 13px;
    font-weight: 800;
}

.field input,
.field select,
.field textarea {
    width: 100%;
    padding: 14px;
    border: 1px solid #dce3df;
    border-radius: 12px;
    color: var(--heading);
    background: #fbfcfb;
    font-size: 15px;
    outline: none;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
    border-color: #7ba99b;
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(15, 51, 41, 0.1);
}

.field textarea {
    min-height: 155px;
    resize: vertical;
}

.notice {
    margin-bottom: 20px;
    padding: 15px 16px;
    border-radius: 12px;
    font-size: 14px;
    line-height: 1.6;
}

.notice-success {
    color: #08704f;
    border: 1px solid #c6eddf;
    background: #e8f8f2;
}

.notice-error {
    color: #a13030;
    border: 1px solid #ffd4d4;
    background: #fff0f0;
}

/* FOOTER */

.site-footer {
    margin-top: 80px;
    color: #a9b3ae;
    background: #08241d;
    border-top: 3px solid var(--gold);
}

.footer-main {
    padding: 55px 0 38px;
    display: grid;
    grid-template-columns: 1.25fr 0.75fr 0.75fr;
    gap: 50px;
}

.footer-logo {
    width: 300px;
    max-width: 100%;
    height: auto;
    display: block;
}

.footer-brand p {
    max-width: 470px;
    margin: 19px 0 0;
    color: #a9b3ae;
    line-height: 1.75;
}

.footer-title {
    margin: 0 0 18px;
    color: #ffffff;
    font-size: 14px;
}

.footer-links {
    display: grid;
    gap: 12px;
}

.footer-links a {
    color: #a9b3ae;
    font-size: 14px;
}

.footer-links a:hover {
    color: #ffffff;
}

.footer-bottom {
    padding: 21px 0;
    display: flex;
    justify-content: space-between;
    gap: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    color: #82918b;
    font-size: 13px;
}

/* TABLET */

@media (max-width: 950px) {
    .hero-grid,
    .about-grid,
    .contact-layout {
        grid-template-columns: 1fr;
    }

    .grid-three {
        grid-template-columns: 1fr 1fr;
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }

    .footer-main {
        grid-template-columns: 1fr 1fr;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }
}

/* MOBILE */

@media (max-width: 700px) {
    .container {
        width: min(100% - 28px, 1140px);
    }

    .header-inner {
        min-height: 82px;
        gap: 12px;
    }

    .brand {
        flex: 1;
        min-width: 0;
    }

    .brand-logo {
        width: 210px;
        max-width: 100%;
    }

    .desktop-navigation {
        display: none;
    }

    .mobile-menu {
        position: relative;
        display: block;
        flex: 0 0 auto;
    }

    .mobile-menu summary {
        width: 48px;
        height: 48px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 5px;
        padding: 0;
        border-radius: 12px;
        background: var(--primary);
        cursor: pointer;
        list-style: none;
        user-select: none;
    }

    .mobile-menu summary::-webkit-details-marker {
        display: none;
    }

    .mobile-menu summary::marker {
        content: "";
    }

    .mobile-menu summary span {
        width: 21px;
        height: 2px;
        display: block;
        border-radius: 999px;
        background: #ffffff;
        transition:
            transform 0.2s ease,
            opacity 0.2s ease;
    }

    .mobile-menu[open] summary span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .mobile-menu[open] summary span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu[open] summary span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    .mobile-navigation {
        position: absolute;
        top: 58px;
        right: 0;
        z-index: 10000;
        width: 245px;
        display: grid;
        gap: 7px;
        padding: 12px;
        border: 1px solid var(--border);
        border-top: 3px solid var(--gold);
        border-radius: 14px;
        background: #ffffff;
        box-shadow: 0 22px 50px rgba(15, 51, 41, 0.2);
    }

    .mobile-navigation a {
        width: 100%;
        display: block;
        margin: 0;
        padding: 15px 17px;
        border-radius: 10px;
        color: var(--heading);
        background: transparent;
        text-align: left;
        font-size: 15px;
        font-weight: 700;
    }

    .mobile-navigation a:hover,
    .mobile-navigation a.active {
        color: var(--primary);
        background: var(--primary-soft);
    }

    .mobile-navigation .mobile-contact {
        color: #ffffff;
        background: var(--primary);
        text-align: center;
    }

    .mobile-navigation .mobile-contact:hover,
    .mobile-navigation .mobile-contact.active {
        color: #ffffff;
        background: var(--primary-dark);
    }

    .hero {
        padding: 68px 0;
    }

    .hero h1,
    .page-hero h1 {
        font-size: 44px;
    }

    .hero-description,
    .page-hero p {
        font-size: 16px;
    }

    .hero-actions {
        display: grid;
    }

    .hero-actions .button {
        width: 100%;
    }

    .section {
        padding: 68px 0;
    }

    .grid-three,
    .stats-grid,
    .form-grid,
    .footer-main {
        grid-template-columns: 1fr;
    }

    .footer-brand {
        grid-column: auto;
    }

    .footer-logo {
        width: 230px;
    }

    .hero-panel {
        padding: 20px;
    }

    .hero-panel-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .process-row {
        grid-template-columns: 1fr;
    }

    .process-arrow {
        transform: rotate(90deg);
        text-align: center;
    }

    .cta-box {
        padding: 34px 24px;
        align-items: flex-start;
        flex-direction: column;
    }

    .form-card {
        padding: 24px 18px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 430px) {
    .brand-logo {
        width: 185px;
    }

    .mobile-menu summary {
        width: 44px;
        height: 44px;
    }

    .mobile-navigation {
        width: 220px;
    }

    .hero h1,
    .page-hero h1 {
        font-size: 39px;
    }

    .eyebrow {
        font-size: 10px;
    }
}