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

:root {
    --primary: #1a3c34;
    --primary-mid: #2d5a47;
    --accent: #c8843c;
    --accent-hover: #b5732e;
    --warm: #f5efe6;
    --warm-dark: #e8ddd0;
    --bg: #faf9f7;
    --text: #1e1e1e;
    --text-mid: #4a4a4a;
    --text-light: #7a7a7a;
    --white: #ffffff;
    --radius: 12px;
    --radius-lg: 20px;
    --shadow-sm: 0 1px 3px rgba(0,0,0,.06);
    --shadow: 0 4px 20px rgba(0,0,0,.08);
    --shadow-lg: 0 12px 40px rgba(0,0,0,.12);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Open Sans', -apple-system, sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: 'Montserrat', sans-serif;
}

.container {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ═══════════════════════════════════
   HEADER
   ═══════════════════════════════════ */

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(255,255,255,.95);
    backdrop-filter: blur(16px);
    transition: box-shadow .3s, background .3s;
}

.header.scrolled {
    box-shadow: 0 1px 24px rgba(0,0,0,.08);
    background: rgba(255,255,255,.98);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--primary);
    text-decoration: none;
    letter-spacing: -.3px;
}

.logo span {
    color: var(--accent);
}

.logo-icon {
    width: 28px;
    height: 28px;
    color: var(--accent);
}

.nav {
    display: flex;
    gap: 32px;
}

.nav a {
    text-decoration: none;
    color: var(--text-mid);
    font-size: .9rem;
    font-weight: 600;
    transition: color .2s;
    position: relative;
}

.nav a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width .25s;
}

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

.nav a:hover::after {
    width: 100%;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.phone-link {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--text);
    text-decoration: none;
    font-weight: 600;
    font-size: .9rem;
    white-space: nowrap;
    transition: color .2s;
}

.phone-link:hover {
    color: var(--accent);
}

.phone-link svg {
    color: var(--accent);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: 8px;
    font-size: .9rem;
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
    cursor: pointer;
    border: none;
    text-decoration: none;
    transition: all .25s;
    white-space: nowrap;
}

.btn-accent {
    background: var(--accent);
    color: var(--white);
    box-shadow: 0 2px 12px rgba(200,132,60,.25);
}

.btn-accent:hover {
    background: var(--accent-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 20px rgba(200,132,60,.35);
}

.btn-ghost {
    background: rgba(255,255,255,.15);
    color: var(--white);
    border: 1.5px solid rgba(255,255,255,.35);
    backdrop-filter: blur(8px);
}

.btn-ghost:hover {
    background: rgba(255,255,255,.25);
    border-color: rgba(255,255,255,.5);
}

.btn-lg {
    padding: 16px 36px;
    font-size: .95rem;
    border-radius: 10px;
}

.btn-full {
    width: 100%;
}

/* Burger */
.burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
}

.burger span {
    width: 22px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: .3s;
}

.mobile-menu {
    display: none;
    flex-direction: column;
    gap: 16px;
    padding: 24px;
    background: var(--white);
    border-top: 1px solid rgba(0,0,0,.06);
}

.mobile-menu a {
    text-decoration: none;
    color: var(--text);
    font-size: 1rem;
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
}

.mobile-phone {
    color: var(--accent) !important;
}

.mobile-menu.open {
    display: flex;
}

/* ═══════════════════════════════════
   HERO
   ═══════════════════════════════════ */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: url('https://images.unsplash.com/photo-1600585154340-be6161a56a0c?w=1600&q=85') center/cover no-repeat;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to right, rgba(18,18,18,.88) 0%, rgba(18,18,18,.72) 45%, rgba(18,18,18,.35) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 140px 0 0;
    width: 100%;
    min-height: 100vh;
}

.hero-text {
    max-width: 540px;
}

.hero h1 {
    font-size: clamp(2rem, 4.5vw, 2.8rem);
    font-weight: 700;
    color: var(--white);
    line-height: 1.2;
    margin-bottom: 20px;
    letter-spacing: -.3px;
}

.hero-sub {
    font-size: 1rem;
    color: rgba(255,255,255,.7);
    margin-bottom: 32px;
    line-height: 1.75;
}

.hero-note {
    margin-top: 14px;
    font-size: .82rem;
    color: rgba(255,255,255,.4);
}

.hero-bottom {
    display: flex;
    gap: 0;
    margin-top: auto;
    border-top: 1px solid rgba(255,255,255,.12);
}

.hero-bottom span {
    flex: 1;
    padding: 22px 0;
    text-align: center;
    font-size: .85rem;
    font-weight: 500;
    color: rgba(255,255,255,.55);
    border-right: 1px solid rgba(255,255,255,.08);
    letter-spacing: .3px;
}

.hero-bottom span:last-child {
    border-right: none;
}

/* ═══════════════════════════════════
   SECTION HEADERS
   ═══════════════════════════════════ */

.section-header {
    text-align: center;
    margin-bottom: 56px;
}

.section-label {
    display: inline-block;
    font-family: 'Montserrat', sans-serif;
    font-size: .75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent);
    margin-bottom: 12px;
}

.section-label-light {
    color: rgba(255,255,255,.6);
}

.section-title {
    font-size: clamp(1.6rem, 3.5vw, 2.4rem);
    font-weight: 800;
    color: var(--text);
    letter-spacing: -.3px;
}

/* ═══════════════════════════════════
   SERVICES
   ═══════════════════════════════════ */

.services {
    padding: 100px 0;
    background: var(--bg);
}

.cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
}

.card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform .35s, box-shadow .35s;
    display: flex;
    flex-direction: column;
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.card-img {
    height: 200px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.card-body {
    padding: 28px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.card-badge {
    display: inline-block;
    width: fit-content;
    padding: 4px 12px;
    background: rgba(200,132,60,.1);
    color: var(--accent);
    font-family: 'Montserrat', sans-serif;
    font-size: .7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .5px;
    border-radius: 6px;
    margin-bottom: 12px;
}

.card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text);
}

.card p {
    color: var(--text-light);
    font-size: .9rem;
    line-height: 1.7;
    flex: 1;
}

.card-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 18px;
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
    font-size: .85rem;
    transition: gap .25s, color .2s;
}

.card-link:hover {
    color: var(--accent-hover);
    gap: 10px;
}

.card-link svg {
    flex-shrink: 0;
}

/* ═══════════════════════════════════
   WHY US
   ═══════════════════════════════════ */

.why {
    padding: 100px 0;
    background: var(--warm);
}

.advantages {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.advantage {
    text-align: center;
    padding: 36px 20px;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: transform .3s, box-shadow .3s;
}

.advantage:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}

.adv-icon {
    width: 52px;
    height: 52px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(200,132,60,.1);
    border-radius: 14px;
    color: var(--accent);
}

.adv-icon svg {
    width: 26px;
    height: 26px;
}

.adv-number,
.adv-number-text {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 6px;
    line-height: 1;
}

.advantage h4 {
    font-size: .95rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text);
}

.advantage p {
    color: var(--text-light);
    font-size: .85rem;
    line-height: 1.65;
}

/* ═══════════════════════════════════
   CTA BANNER
   ═══════════════════════════════════ */

.cta-banner {
    background: var(--primary);
    padding: 64px 0;
}

.cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.cta-text h2 {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 8px;
}

.cta-text p {
    color: rgba(255,255,255,.65);
    font-size: .95rem;
    max-width: 480px;
}

/* ═══════════════════════════════════
   FORM SECTION
   ═══════════════════════════════════ */

.form-section {
    padding: 100px 0;
    background: var(--primary);
    position: relative;
    overflow: hidden;
}

.form-section::before {
    content: '';
    position: absolute;
    top: -120px;
    right: -120px;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: rgba(200,132,60,.08);
}

.form-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
}

.form-left h2 {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 16px;
    line-height: 1.25;
}

.form-left p {
    color: rgba(255,255,255,.65);
    font-size: .95rem;
    line-height: 1.7;
    margin-bottom: 28px;
}

.form-features {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.form-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255,255,255,.8);
    font-size: .9rem;
    font-weight: 500;
}

.form-feature svg {
    color: var(--accent);
    flex-shrink: 0;
}

.lead-form {
    background: var(--white);
    padding: 36px;
    border-radius: var(--radius-lg);
    display: flex;
    flex-direction: column;
    gap: 20px;
    box-shadow: var(--shadow-lg);
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group label {
    font-family: 'Montserrat', sans-serif;
    font-size: .8rem;
    font-weight: 600;
    color: var(--text-mid);
    text-transform: uppercase;
    letter-spacing: .5px;
}

.lead-form input,
.lead-form select {
    padding: 14px 16px;
    border: 1.5px solid #e2e0dc;
    border-radius: 8px;
    background: var(--bg);
    color: var(--text);
    font-size: .95rem;
    font-family: inherit;
    outline: none;
    transition: border-color .2s, box-shadow .2s;
}

.lead-form input::placeholder {
    color: #b0ada8;
}

.lead-form input:focus,
.lead-form select:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(200,132,60,.12);
}

.lead-form select {
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%237a7a7a' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}

.form-note {
    text-align: center;
    font-size: .75rem;
    color: var(--text-light);
    margin-top: -8px;
}

/* ═══════════════════════════════════
   CONTACTS
   ═══════════════════════════════════ */

.contacts {
    padding: 100px 0;
    background: var(--bg);
}

.contacts-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 40px;
    align-items: stretch;
}

.contacts-info {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-card {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    transition: box-shadow .25s;
}

.contact-card:hover {
    box-shadow: var(--shadow);
}

.contact-card-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(200,132,60,.1);
    border-radius: 10px;
    color: var(--accent);
    flex-shrink: 0;
}

.contact-card-icon svg {
    width: 22px;
    height: 22px;
}

.contact-card strong {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-size: .75rem;
    font-weight: 700;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: .5px;
    margin-bottom: 4px;
}

.contact-card a,
.contact-card p {
    color: var(--text);
    text-decoration: none;
    font-size: .95rem;
    font-weight: 500;
    transition: color .2s;
}

.contact-card a:hover {
    color: var(--accent);
}

.contacts-map {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    min-height: 380px;
}

.contacts-map iframe {
    display: block;
}

/* ═══════════════════════════════════
   FOOTER
   ═══════════════════════════════════ */

.footer {
    background: var(--primary);
    color: rgba(255,255,255,.55);
    padding: 48px 0 28px;
}

.footer-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 28px;
    border-bottom: 1px solid rgba(255,255,255,.1);
    margin-bottom: 24px;
}

.footer-logo {
    color: var(--white);
}

.footer-logo .logo-icon {
    color: var(--accent);
}

.footer-logo span {
    color: var(--accent);
}

.footer-nav {
    display: flex;
    gap: 28px;
}

.footer-nav a {
    color: rgba(255,255,255,.55);
    text-decoration: none;
    font-size: .88rem;
    font-weight: 500;
    transition: color .2s;
}

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

.footer-phone {
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    font-size: .95rem;
    transition: color .2s;
}

.footer-phone:hover {
    color: var(--accent);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: .82rem;
}

.footer-bottom a {
    color: rgba(255,255,255,.45);
    text-decoration: none;
    transition: color .2s;
}

.footer-bottom a:hover {
    color: var(--white);
}

/* ═══════════════════════════════════
   MODAL
   ═══════════════════════════════════ */

.modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 200;
    background: rgba(0,0,0,.55);
    backdrop-filter: blur(6px);
    align-items: center;
    justify-content: center;
}

.modal-overlay.open {
    display: flex;
}

.modal {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 44px 40px;
    max-width: 440px;
    width: 90%;
    position: relative;
    box-shadow: var(--shadow-lg);
    animation: modalIn .3s ease-out;
}

@keyframes modalIn {
    from {
        opacity: 0;
        transform: translateY(20px) scale(.97);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 20px;
    background: none;
    border: none;
    font-size: 1.6rem;
    cursor: pointer;
    color: var(--text-light);
    line-height: 1;
    transition: color .2s;
}

.modal-close:hover {
    color: var(--text);
}

.modal h3 {
    font-size: 1.35rem;
    font-weight: 800;
    margin-bottom: 8px;
}

.modal p {
    color: var(--text-light);
    font-size: .9rem;
    margin-bottom: 24px;
}

.modal form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.modal input {
    padding: 14px 16px;
    border: 1.5px solid #e2e0dc;
    border-radius: 8px;
    font-size: .95rem;
    font-family: inherit;
    outline: none;
    background: var(--bg);
    transition: border-color .2s, box-shadow .2s;
}

.modal input:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(200,132,60,.12);
}

/* ═══════════════════════════════════
   TOAST
   ═══════════════════════════════════ */

.toast {
    position: fixed;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: var(--primary);
    color: var(--white);
    padding: 16px 32px;
    border-radius: 12px;
    font-size: .9rem;
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
    box-shadow: 0 8px 32px rgba(0,0,0,.2);
    z-index: 300;
    opacity: 0;
    transition: transform .4s cubic-bezier(.22,1,.36,1), opacity .4s;
    pointer-events: none;
}

.toast.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

/* ═══════════════════════════════════
   REVEAL ANIMATION
   ═══════════════════════════════════ */

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity .6s ease-out, transform .6s ease-out;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ═══════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════ */

@media (max-width: 960px) {
    .cards {
        grid-template-columns: repeat(2, 1fr);
    }
    .advantages {
        grid-template-columns: repeat(2, 1fr);
    }
    .form-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .cta-inner {
        flex-direction: column;
        text-align: center;
    }
    .contacts-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav, .header-right {
        display: none;
    }
    .burger {
        display: flex;
    }
    .hero-content {
        padding: 110px 0 0;
    }
    .footer-top {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
}

@media (max-width: 540px) {
    .cards {
        grid-template-columns: 1fr;
    }
    .advantages {
        grid-template-columns: 1fr 1fr;
        gap: 14px;
    }
    .advantage {
        padding: 24px 14px;
    }
    .hero h1 {
        font-size: 1.8rem;
    }
    .hero-bottom {
        flex-direction: column;
    }
    .hero-bottom span {
        border-right: none;
        border-bottom: 1px solid rgba(255,255,255,.08);
        padding: 14px 0;
    }
    .hero-bottom span:last-child {
        border-bottom: none;
    }
    .lead-form {
        padding: 28px 22px;
    }
    .section-header {
        margin-bottom: 40px;
    }
    .services, .why, .contacts, .form-section {
        padding: 70px 0;
    }
    .footer-nav {
        flex-wrap: wrap;
        justify-content: center;
        gap: 16px;
    }
}
