/* ===== RESET & BASE ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --green-dark: #1a5c2a;
    --green: #2d6a2e;
    --green-light: #3d8b3e;
    --yellow: #d4a017;
    --yellow-light: #f5c518;
    --bg-light: #f4f8f0;
    --bg-white: #ffffff;
    --text-dark: #1a2e1a;
    --text-body: #3a4a3a;
    --text-light: #6b7b6b;
    --border: #dde8dd;
    --shadow: 0 2px 20px rgba(0,0,0,0.08);
    --shadow-hover: 0 8px 30px rgba(0,0,0,0.12);
    --radius: 12px;
    --transition: 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-body);
    background: var(--bg-white);
    -webkit-font-smoothing: antialiased;
}

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

img {
    max-width: 100%;
    height: auto;
}

a {
    color: var(--green);
    text-decoration: none;
    transition: color var(--transition);
}

a:hover {
    color: var(--yellow);
}

h1, h2, h3, h4 {
    font-family: 'Lexend', sans-serif;
    color: var(--text-dark);
    line-height: 1.3;
}

/* ===== HEADER ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    transition: all var(--transition);
    border-bottom: 1px solid transparent;
}

.header--scrolled {
    background: rgba(255,255,255,0.98);
    border-bottom-color: var(--border);
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

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

.logo img {
    height: 55px;
    width: auto;
}

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

.nav a {
    font-family: 'Lexend', sans-serif;
    font-weight: 600;
    font-size: 15px;
    color: var(--text-dark);
    padding: 8px 18px;
    border-radius: 8px;
    transition: all var(--transition);
}

.nav a:hover {
    color: var(--green);
    background: var(--bg-light);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.menu-toggle span {
    display: block;
    width: 26px;
    height: 3px;
    background: var(--text-dark);
    border-radius: 2px;
    transition: var(--transition);
}

/* ===== HEADER PHONE ===== */
.header-phone {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'Lexend', sans-serif;
    font-weight: 700;
    font-size: 16px;
    color: var(--green);
    padding: 8px 16px;
    border-radius: 8px;
    background: var(--bg-light);
    transition: all var(--transition);
    white-space: nowrap;
}

.header-phone:hover {
    background: var(--green);
    color: #fff;
}

.header-phone svg {
    flex-shrink: 0;
}

/* ===== BUTTONS ===== */
.btn-phone {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn {
    display: inline-block;
    font-family: 'Lexend', sans-serif;
    font-weight: 600;
    font-size: 16px;
    padding: 14px 32px;
    border-radius: 8px;
    cursor: pointer;
    transition: all var(--transition);
    border: 2px solid transparent;
    text-align: center;
}

.btn-primary {
    background: var(--yellow);
    color: var(--text-dark);
    border-color: var(--yellow);
}

.btn-primary:hover {
    background: var(--yellow-light);
    border-color: var(--yellow-light);
    color: var(--text-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212,160,23,0.35);
}

.btn-secondary {
    background: transparent;
    color: #fff;
    border-color: #fff;
}

.btn-secondary:hover {
    background: #fff;
    color: var(--green-dark);
    transform: translateY(-2px);
}

/* ===== HERO ===== */
.hero {
    position: relative;
    min-height: 600px;
    display: flex;
    align-items: center;
    background: url('/img/382917.jpg') center/cover no-repeat;
    padding: 140px 0 80px;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.45);
}

.hero-content {
    position: relative;
    z-index: 1;
    width: 100%;
}

.hero h1 {
    font-size: 48px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 20px;
    line-height: 1.15;
}

.hero p {
    font-size: 20px;
    color: rgba(255,255,255,0.9);
    margin-bottom: 36px;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* ===== SECTIONS ===== */
.section {
    padding: 90px 0;
}

.section--light {
    background: var(--bg-light);
}

.section--white {
    background: var(--bg-white);
}

.section--green {
    position: relative;
    background: url('/img/skup/16174.jpg') center/cover no-repeat;
}

.section--green::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.55);
}

.section-title {
    font-size: 36px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 16px;
}

.section-title--light {
    color: #fff;
}

.section-subtitle {
    text-align: center;
    font-size: 18px;
    color: var(--text-light);
    max-width: 650px;
    margin: 0 auto 50px;
}

/* ===== ABOUT ===== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-top: 50px;
}

.about-text p {
    margin-bottom: 16px;
    font-size: 17px;
}

.about-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.stat {
    background: var(--bg-white);
    border-radius: var(--radius);
    padding: 28px 24px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: transform var(--transition);
}

.stat:hover {
    transform: translateY(-4px);
}

.stat-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
    width: 52px;
    height: 52px;
}

.stat-icon svg {
    width: 44px;
    height: 44px;
}

.stat-label {
    font-family: 'Lexend', sans-serif;
    font-weight: 600;
    font-size: 15px;
    color: var(--text-dark);
}

/* ===== OFFER ===== */
.offer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.offer-card {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 36px 28px;
    transition: all var(--transition);
}

.offer-card:hover {
    border-color: var(--green-light);
    box-shadow: var(--shadow-hover);
    transform: translateY(-4px);
}

.offer-icon {
    width: 56px;
    height: 56px;
    background: var(--bg-light);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--green);
}

.offer-icon svg {
    width: 32px;
    height: 32px;
}

.offer-card h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
}

.offer-card p {
    font-size: 15px;
    color: var(--text-light);
    line-height: 1.65;
}

/* ===== ADVANTAGES ===== */
.section--green > .container {
    position: relative;
    z-index: 1;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 50px;
}

.advantage {
    text-align: center;
    padding: 40px 28px;
}

.advantage-number {
    font-family: 'Lexend', sans-serif;
    font-size: 48px;
    font-weight: 700;
    color: var(--yellow);
    margin-bottom: 16px;
    line-height: 1;
}

.advantage h3 {
    font-size: 22px;
    color: #fff;
    margin-bottom: 14px;
}

.advantage p {
    font-size: 16px;
    color: rgba(255,255,255,0.8);
    line-height: 1.65;
}

/* ===== PROCESS ===== */
.process-timeline {
    max-width: 750px;
    margin: 0 auto;
    position: relative;
}

.process-timeline::before {
    content: '';
    position: absolute;
    left: 28px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--border);
    border-radius: 2px;
}

.process-step {
    display: flex;
    gap: 28px;
    align-items: flex-start;
    padding: 0 0 40px;
    position: relative;
}

.process-step:last-child {
    padding-bottom: 0;
}

.process-number {
    width: 56px;
    height: 56px;
    min-width: 56px;
    background: var(--green);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Lexend', sans-serif;
    font-weight: 700;
    font-size: 22px;
    position: relative;
    z-index: 1;
    box-shadow: 0 4px 12px rgba(45,106,46,0.25);
}

.process-content {
    background: var(--bg-white);
    border-radius: var(--radius);
    padding: 28px 32px;
    box-shadow: var(--shadow);
    flex: 1;
    transition: transform var(--transition);
}

.process-content:hover {
    transform: translateX(4px);
}

.process-content h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 8px;
}

.process-content p {
    font-size: 15px;
    color: var(--text-light);
    line-height: 1.65;
}

/* ===== CONTACT CTA ===== */
.contact-cta {
    text-align: center;
    margin: 40px 0 50px;
}

.contact-cta-label {
    font-family: 'Lexend', sans-serif;
    font-size: 20px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.contact-phone-big {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    font-family: 'Lexend', sans-serif;
    font-size: 42px;
    font-weight: 700;
    color: var(--green);
    padding: 16px 40px;
    border-radius: var(--radius);
    background: var(--bg-light);
    transition: all var(--transition);
}

.contact-phone-big:hover {
    background: var(--green);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(45,106,46,0.3);
}

.contact-details {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 10px;
}

/* ===== FOOTER PHONE ===== */
.footer-phone {
    font-family: 'Lexend', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: var(--yellow) !important;
}

/* ===== FOOTER CTA BAR ===== */
.footer-cta-bar {
    background: var(--green);
    padding: 32px 0;
    text-align: center;
}

.footer-cta-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
}

.footer-cta-inner p {
    font-family: 'Lexend', sans-serif;
    font-size: 20px;
    font-weight: 600;
    color: #fff;
}

.footer-cta-inner .btn-primary {
    background: var(--yellow);
    color: var(--text-dark);
}

/* ===== STICKY PHONE (mobile) ===== */
.sticky-phone {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 999;
    background: var(--green);
    color: #fff;
    font-family: 'Lexend', sans-serif;
    font-weight: 700;
    font-size: 15px;
    padding: 14px 22px;
    border-radius: 50px;
    align-items: center;
    gap: 10px;
    box-shadow: 0 6px 24px rgba(45,106,46,0.4);
    transition: all var(--transition);
    text-decoration: none;
}

.sticky-phone:hover {
    background: var(--green-dark);
    color: #fff;
    transform: scale(1.05);
}

/* ===== CONTACT ===== */

.contact-block {
    margin-bottom: 32px;
}

.contact-block h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--green);
}

.contact-block p {
    font-size: 15px;
    line-height: 1.7;
}

.contact-form-wrapper h3 {
    font-size: 22px;
    margin-bottom: 24px;
}

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

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    font-family: 'Lexend', sans-serif;
    font-weight: 600;
    font-size: 14px;
    color: var(--text-dark);
    margin-bottom: 6px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-family: 'DM Sans', sans-serif;
    font-size: 15px;
    color: var(--text-dark);
    background: var(--bg-light);
    transition: border-color var(--transition), box-shadow var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--green);
    box-shadow: 0 0 0 3px rgba(45,106,46,0.1);
    background: #fff;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-checkbox {
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

.form-checkbox input[type="checkbox"] {
    width: auto;
    margin-top: 4px;
    flex-shrink: 0;
}

.form-checkbox label {
    font-weight: 400;
    font-family: 'DM Sans', sans-serif;
    font-size: 13px;
    color: var(--text-light);
    line-height: 1.5;
}

.form-message {
    margin-top: 16px;
    font-weight: 600;
    font-size: 15px;
}

/* ===== GALLERY ===== */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.gallery-item {
    border-radius: var(--radius);
    overflow: hidden;
    line-height: 0;
}

.gallery-item--wide {
    grid-column: 1 / -1;
}

.gallery-item img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    transition: transform var(--transition);
}

.gallery-item--wide img {
    height: 380px;
}

.gallery-item:hover img {
    transform: scale(1.03);
}

@media (max-width: 640px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .gallery-item img,
    .gallery-item--wide img {
        height: 220px;
    }
}

/* ===== MAP ===== */
.map-section {
    line-height: 0;
}

/* ===== FOOTER ===== */
.footer {
    background: var(--text-dark);
    color: rgba(255,255,255,0.7);
}

.footer-inner {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 40px;
    padding: 60px 0 40px;
}

.footer-logo {
    height: 50px;
    margin-bottom: 16px;
    filter: brightness(0) invert(1);
}

.footer-col p {
    font-size: 14px;
    line-height: 1.7;
}

.footer-col h4 {
    font-size: 16px;
    color: #fff;
    margin-bottom: 16px;
}

.footer-col a {
    display: block;
    color: rgba(255,255,255,0.7);
    font-size: 14px;
    padding: 4px 0;
    transition: color var(--transition);
}

.footer-col a:hover {
    color: var(--yellow);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 20px 0;
    text-align: center;
}

.footer-bottom-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.footer-bottom p {
    font-size: 13px;
    color: rgba(255,255,255,0.5);
}

.footer-company-data {
    font-size: 12px !important;
    color: rgba(255,255,255,0.35) !important;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 960px) {
    .hero h1 {
        font-size: 36px;
    }

    .hero p {
        font-size: 18px;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

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

    .advantages-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .contact-details {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .contact-phone-big {
        font-size: 32px;
        padding: 14px 28px;
    }

    .sticky-phone {
        display: flex;
    }

    .footer-cta-inner {
        flex-direction: column;
        gap: 16px;
    }

    .footer-cta-inner p {
        font-size: 18px;
    }

    .footer-inner {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .header-phone {
        display: none;
    }

    .menu-toggle {
        display: flex;
    }

    .nav {
        position: absolute;
        top: 80px;
        left: 0;
        right: 0;
        background: #fff;
        flex-direction: column;
        padding: 16px 24px;
        border-bottom: 1px solid var(--border);
        box-shadow: 0 8px 20px rgba(0,0,0,0.08);
        display: none;
    }

    .nav--open {
        display: flex;
    }

    .nav a {
        padding: 12px 16px;
    }
}

@media (max-width: 640px) {
    .hero {
        min-height: 480px;
        padding: 120px 0 60px;
    }

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

    .hero p {
        font-size: 16px;
    }

    .section {
        padding: 60px 0;
    }

    .section-title {
        font-size: 28px;
    }

    .offer-grid {
        grid-template-columns: 1fr;
    }

    .contact-phone-big {
        font-size: 26px;
        padding: 12px 20px;
        gap: 10px;
    }

    .contact-phone-big svg {
        width: 22px;
        height: 22px;
    }

    .process-step {
        gap: 16px;
    }

    .process-number {
        width: 44px;
        height: 44px;
        min-width: 44px;
        font-size: 18px;
    }

    .process-timeline::before {
        left: 21px;
    }

    .process-content {
        padding: 20px;
    }

    .footer-company-data {
        text-align: center;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }
}
