:root {
    --green: #39a852;
    --green-dark: #2f8f45;
    --blue: #2b8fd8;
    --blue-dark: #2277b4;

    --text: #1f2933;
    --text-light: #5f6b76;
    --background: #ffffff;
    --background-soft: #f5f9fb;
    --border: #dce5ea;

    --radius-sm: 12px;
    --radius-md: 20px;
    --radius-lg: 28px;

    --shadow-soft: 0 12px 30px rgba(31, 41, 51, 0.08);

    --container-width: 1180px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    color: var(--text);
    background: var(--background);
    line-height: 1.6;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input {
    font: inherit;
}

button {
    cursor: pointer;
}

.container {
    width: min(100% - 40px, var(--container-width));
    margin-inline: auto;
}

.accent-green {
    color: var(--green);
}

.accent-blue {
    color: var(--blue);
}

/* =========================
   HEADER
========================= */

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(12px);
}

.header-inner {
    min-height: 92px;
    display: grid;
    grid-template-columns: 220px 1fr 190px;
    align-items: center;
    gap: 32px;
}

/* LOGO */

.site-logo {
    display: flex;
    align-items: center;
}

.header-logo {
    display: block;
    width: auto;
    height: 90px;
    max-width: 210px;
    object-fit: contain;
}

/* MENU */

.main-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 34px;
}

.main-nav a {
    color: var(--text);
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}

.main-nav a:hover {
    color: var(--green);
}

/* KONTAKT DESKTOP */

.header-contact {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-end;

    text-decoration: none;
    line-height: 1.15;
}

.header-phone {
    color: var(--text);
    font-size: 22px;
    font-weight: 800;
    white-space: nowrap;
}

.header-contact-label {
    margin-top: 5px;
    color: var(--text-light);
    font-size: 13px;
    font-weight: 600;
}

.header-contact:hover .header-phone {
    color: var(--green);
}

/* MOBILE BUTTON */

.mobile-menu-button {
    display: none;
    border: 0;
    background: transparent;
    color: var(--text);
    font-size: 30px;
    cursor: pointer;
}

/* MOBILE MENU */

.mobile-nav {
    padding: 18px 24px 24px;
    background: #fff;
    border-top: 1px solid var(--border);
}

.mobile-nav a {
    display: block;
    padding: 12px 0;
    color: var(--text);
    font-weight: 700;
    text-decoration: none;
}

.mobile-contact {
    margin-top: 14px;
    padding-top: 18px;
    border-top: 1px solid var(--border);
}

.mobile-contact a {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.mobile-phone {
    font-size: 20px;
    font-weight: 800;
}

.mobile-contact-label {
    margin-top: 4px;
    color: var(--text-light);
    font-size: 13px;
}

.map-placeholder {
    min-height: 420px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    overflow: hidden;

    border-radius: 32px;
    border: 1px solid var(--border);

    background:
        linear-gradient(rgba(255,255,255,0.4), rgba(255,255,255,0.4)),
        repeating-linear-gradient(
            0deg,
            #eaf1f4 0,
            #eaf1f4 1px,
            transparent 1px,
            transparent 36px
        ),
        repeating-linear-gradient(
            90deg,
            #eaf1f4 0,
            #eaf1f4 1px,
            transparent 1px,
            transparent 36px
        );

    color: var(--text-light);
}

.map-placeholder iframe {
    display: block;
    width: 100%;
    height: 420px;
}

/* =========================
   TABLET / MOBILE
========================= */

@media (max-width: 980px) {

    .header-inner {
        min-height: 78px;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .header-logo {
        height: 60px;
        max-width: 180px;
    }

    .main-nav,
    .header-contact {
        display: none;
    }

    .mobile-menu-button {
        display: block;
    }
}

@media (max-width: 640px) {
    .header-inner {
        min-height: 68px;
    }

    .header-logo {
        height: 54px;
        max-width: 160px;
    }

    .mobile-menu-button {
        font-size: 28px;
    }
}

/* HERO */

.hero {
    padding: 50px 0 70px;
    background:
        radial-gradient(circle at 12% 18%, rgba(57, 168, 82, 0.12), transparent 28%),
        radial-gradient(circle at 86% 20%, rgba(43, 143, 216, 0.13), transparent 30%),
        linear-gradient(180deg, #ffffff 0%, #f8fbfc 100%);
} 

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(520px, 0.95fr);
    gap: 58px;
    align-items: center;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
    padding: 8px 14px;
    border-radius: 999px;
    background: #edf8f0;
    color: var(--green-dark);
    font-size: 14px;
    font-weight: 700;
}

.hero h1 {
    max-width: 720px;
    margin: 0;
    font-size: clamp(44px, 6vw, 76px);
    line-height: 1.02;
    letter-spacing: -0.045em;
}

.hero h1 span {
    display: block;
}

.hero-lead {
    max-width: 650px;
    margin: 26px 0 0;
    font-size: 18px;
    color: var(--text-light);
}

.benefits {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 36px;
}

.benefit-card {
    padding: 20px;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.85);
}

.benefit-icon {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    margin-bottom: 12px;
    border-radius: 12px;
    background: #eef8fb;
    font-size: 20px;
    font-weight: 800;
}

.benefit-card h3 {
    margin: 0 0 6px;
    font-size: 17px;
}

.benefit-card p {
    margin: 0;
    color: var(--text-light);
    font-size: 14px;
}

/* FORM */

.form-card {
    width: 100%;
    max-width: 720px;
    padding: 28px;
    border: 1px solid rgba(220, 229, 234, 0.9);
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow-soft);
}

.optional-label {
    font-weight: 400;
    color: var(--text-light);
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 20px;
}

.form-card h2 {
    margin: 0;
    font-size: 30px;
}

.form-intro {
    margin: 8px 0 24px;
    color: var(--text-light);
}

.form-field {
    margin-bottom: 0;
}

.form-field label {
    display: block;
    margin-bottom: 7px;
    font-size: 14px;
    font-weight: 700;
}

.field-help {
    margin: 6px 0 0;
    font-size: 12px;
    color: var(--text-light);
}

.form-field input {
    width: 100%;
    min-height: 50px;
    padding: 12px 14px;
    border: 1px solid #cfd9df;
    border-radius: 12px;
    background: #ffffff;
    color: var(--text);
    outline: none;
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.form-field input:focus {
    border-color: var(--green);
    box-shadow: 0 0 0 4px rgba(57, 168, 82, 0.12);
}

.primary-button,
.secondary-button,
.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 13px 22px;
    border-radius: 12px;
    font-weight: 800;
    transition:
        transform 0.2s ease,
        background 0.2s ease;
}

.primary-button {
    margin-top: 22px;
    width: 100%;
    border: 0;
    background: var(--green);
    color: #ffffff;
}

.primary-button:hover {
    background: var(--green-dark);
    transform: translateY(-1px);
}

.form-note {
    margin: 14px 0 0;
    font-size: 12px;
    color: var(--text-light);
}

/* SECTIONS */

.section {
    padding: 90px 0;
}

.section-alt {
    background: var(--background-soft);
}

.section-heading {
    max-width: 700px;
    margin: 0 auto 42px;
    text-align: center;
}

.section-heading h2,
.coverage-content h2 {
    margin: 0;
    font-size: clamp(34px, 4vw, 52px);
    line-height: 1.1;
    letter-spacing: -0.03em;
}

.section-heading p {
    margin: 14px 0 0;
    color: var(--text-light);
    font-size: 17px;
}

/* STEPS */

.steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.step-card {
    position: relative;
    padding: 28px;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: #ffffff;
}

.step-number {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    margin-bottom: 18px;
    border-radius: 50%;
    background: var(--green);
    color: #ffffff;
    font-weight: 800;
}

.step-card h3 {
    margin: 0 0 8px;
    font-size: 18px;
}

.step-card p {
    margin: 0;
    color: var(--text-light);
}

/* AUDIENCE */

.audience-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.audience-card {
    padding: 30px;
    border-radius: var(--radius-md);
    background: #ffffff;
    border: 1px solid var(--border);
}

.audience-icon {
    margin-bottom: 14px;
    font-size: 34px;
}

.audience-card h3 {
    margin: 0 0 8px;
    font-size: 20px;
}

.audience-card p {
    margin: 0;
    color: var(--text-light);
}

/* COVERAGE */

.coverage-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.coverage-content p {
    max-width: 620px;
    margin: 20px 0;
    color: var(--text-light);
    font-size: 17px;
}

.area-list {
    display: grid;
    gap: 10px;
    margin: 26px 0;
}

.area-list span {
    font-weight: 700;
}

.secondary-button {
    background: var(--blue);
    color: #ffffff;
}

.secondary-button:hover {
    background: var(--blue-dark);
    transform: translateY(-1px);
}

.map-placeholder strong {
    color: var(--text);
    font-size: 20px;
}

.map-pin {
    color: var(--green);
    font-size: 48px;
}

/* FAQ */

.faq-grid {
    max-width: 900px;
    margin-inline: auto;
    display: grid;
    gap: 14px;
}

.faq-card {
    padding: 24px 26px;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: #ffffff;
}

.faq-card h3 {
    margin: 0 0 6px;
    font-size: 18px;
}

.faq-card p {
    margin: 0;
    color: var(--text-light);
}

/* CTA */

.bottom-cta {
    padding: 60px 0;
    background: linear-gradient(135deg, var(--green-dark), var(--blue-dark));
    color: #ffffff;
}

.bottom-cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.bottom-cta h2 {
    margin: 0;
    font-size: clamp(28px, 4vw, 44px);
}

.bottom-cta p {
    margin: 8px 0 0;
    opacity: 0.86;
}

.cta-button {
    flex-shrink: 0;
    background: #ffffff;
    color: var(--green-dark);
}

.cta-button:hover {
    transform: translateY(-1px);
}

/* FOOTER */

.site-footer {
    padding: 60px 0 26px;
    background: #17212a;
    color: #ffffff;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 50px;
}

.footer-logo .logo-domain {
    color: #aeb9c1;
}

.footer-brand p {
    max-width: 420px;
    color: #aeb9c1;
}

.footer-column {
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.footer-column h2 {
    margin: 0 0 8px;
    font-size: 15px;
}

.footer-column a,
.footer-column p {
    margin: 0;
    color: #aeb9c1;
    font-size: 14px;
}

.footer-column a:hover {
    color: #ffffff;
}

.footer-bottom {
    margin-top: 42px;
    padding-top: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    border-top: 1px solid rgba(255,255,255,0.12);
    color: #8f9ca6;
    font-size: 13px;
}

.footer-bottom p {
    margin: 0;
}

.footer-legal a:hover {
    color: #ffffff;
}

/* RESPONSIVE */

@media (max-width: 980px) {
    .hero {
        padding-top: 55px;
    }

    .hero-grid,
    .coverage-grid {
        grid-template-columns: 1fr;
    }

    .hero-grid {
        gap: 38px;
    }

    .form-card {
        max-width: 650px;
    }

    .benefits {
        grid-template-columns: repeat(3, 1fr);
    }

    .steps {
        grid-template-columns: repeat(2, 1fr);
    }

    .audience-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 640px) {
    .container {
        width: min(100% - 28px, var(--container-width));
    }

    .header-inner {
        min-height: 68px;
    }

    .hero {
        padding: 42px 0 55px;
    }

    .hero h1 {
        font-size: clamp(40px, 13vw, 58px);
    }

    .hero-lead {
        font-size: 16px;
    }

    .benefits {
        grid-template-columns: 1fr;
    }

    .form-card {
        padding: 24px 20px;
    }

    .section {
        padding: 65px 0;
    }

    .steps {
        grid-template-columns: 1fr;
    }

    .map-placeholder {
        min-height: 300px;
    }

    .bottom-cta-inner {
        align-items: flex-start;
        flex-direction: column;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        align-items: flex-start;
        flex-direction: column;
    }

    .form-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

/* =========================
   FORM VALIDATION
========================= */

.form-field.has-error input {
    border-color: #d93025;
    background: #fffafa;
}

.form-field.has-error input:focus {
    border-color: #d93025;
    box-shadow: 0 0 0 4px rgba(217, 48, 37, 0.12);
}

.field-error {
    margin: 6px 0 0;
    color: #b42318;
    font-size: 12px;
    font-weight: 600;
}