:root {
    --color-primary: #4A2C1F;
    --color-success: #2E8B57;
    --color-accent: #B5432B;
    --color-text: #1B1B1F;
    --color-text-light: #666;
    --color-white: #FFFFFF;
    --color-light: #F7F7FA;
    --color-border: #E0E0E6;

    --font-family: -apple-system, 'Segoe UI', 'Roboto', sans-serif;
    --transition: 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
    width: 100%;
}

body {
    font-family: var(--font-family);
    color: var(--color-text);
    background: var(--color-white);
    line-height: 1.6;
    width: 100%;
}

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

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


/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 8px;
    border: none;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all var(--transition);
}

.btn-primary {
    background: var(--color-accent);
    color: #FFFFFF;
}

.btn-primary:hover {
    background: #8F3320;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
    background: transparent;
    color: var(--color-primary);
    border: 2px solid var(--color-primary);
}

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

.btn-lg {
    padding: 14px 30px;
    font-size: 16px;
}

/* Двухэтажная кнопка звонка: сверху надпись, снизу крупный номер */
.btn-call-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    line-height: 1.2;
}

.btn-call-label {
    font-size: 14px;
    font-weight: 600;
    opacity: 0.95;
}

.btn-call-number {
    font-size: 20px;
    font-weight: 800;
    letter-spacing: 0.2px;
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
    background: var(--color-white);
    color: var(--color-text);
    padding: 24px 20px 60px;
    overflow: visible;
    position: relative;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 40px;
    align-items: center;
    padding: 0 20px;
}

.hero-banner {
    max-width: 1100px;
    margin: 0 auto 40px;
}

.hero-banner img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 12px 40px rgba(27, 60, 42, 0.15);
}

@media (max-width: 768px) {
    .hero-banner {
        margin: 0 auto 24px;
    }

    .hero-banner img {
        border-radius: 12px;
        box-shadow: 0 6px 20px rgba(27, 60, 42, 0.12);
    }
}

@media (max-width: 480px) {
    .hero-banner {
        margin: 12px 14px 20px;
    }
}

.hero-visual {
    position: relative;
    width: 100%;
    max-width: 600px;
    aspect-ratio: 6 / 5;
    margin: 0 auto 40px;
    container-type: inline-size;
}

.hero-layer {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

.hero-layer:nth-child(1) { z-index: 1; }
.hero-layer:nth-child(2) { z-index: 2; }
.hero-layer:nth-child(3) { z-index: 3; }

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: auto;
    padding: clamp(20px, 6cqw, 36px) clamp(18px, 4.67cqw, 28px);
    display: flex;
    flex-direction: column;
    z-index: 4;
}

.hero-name {
    margin: 0 0 clamp(8px, 2cqw, 14px);
    line-height: 1.05;
}

.hero-name-line {
    display: flex;
    align-items: center;
    gap: clamp(4px, 1cqw, 7px);
    margin-bottom: clamp(2px, 0.7cqw, 5px);
}

.hero-logo {
    height: clamp(38px, 8.8cqw, 55px);
    width: auto;
    flex-shrink: 0;
    display: block;
}

.hero-name-first {
    display: block;
    font-size: clamp(26px, 5.7cqw, 38px);
    font-weight: 800;
    color: var(--color-success);
    letter-spacing: -0.5px;
}

.hero-name-main {
    display: block;
    font-size: clamp(30px, 6.67cqw, 44px);
    font-weight: 800;
    color: var(--color-primary);
    letter-spacing: -0.5px;
}

.hero-subtitle {
    font-size: clamp(11px, 2.1cqw, 14px);
    color: var(--color-text);
    line-height: 1.3;
    margin: clamp(4px, 0.67cqw, 8px) 0 0 0;
    font-weight: 600;
}

.subtitle-small {
    display: block;
    font-size: clamp(10px, 1.97cqw, 13px);
    color: var(--color-text-light);
    font-weight: 400;
    margin-top: clamp(1px, 0.33cqw, 2px);
}

.hero-rating {
    display: flex;
    flex-direction: column;
    gap: clamp(2px, 0.67cqw, 4px);
    margin-top: clamp(6px, 2cqw, 12px);
}

.rating-stars {
    font-size: clamp(16px, 3cqw, 20px);
    color: var(--color-success);
    letter-spacing: clamp(0.5px, 0.17cqw, 1px);
    display: block;
}

.rating-text {
    font-size: clamp(9px, 1.8cqw, 12px);
    color: var(--color-text);
    margin: 0;
    font-weight: 500;
}

.hero-content {
    text-align: center;
    max-width: 600px;
}

.hero-content h1 {
    font-size: 44px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-content h1 .accent {
    font-size: 0.62em;
}

.hero-content > p {
    font-size: 16px;
    color: var(--color-text-light);
    margin-bottom: 32px;
    line-height: 1.6;
}

.hero-cta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
}

.hero-cta .btn {
    padding: 14px 28px;
    font-size: 15px;
}

/* ============================================================
   SECTION TITLE
   ============================================================ */
.section-title {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 48px;
    text-align: center;
    color: var(--color-text);
}

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

section {
    padding: 80px 0;
}

/* ============================================================
   INTRO ARTICLE (SEO)
   ============================================================ */
.intro-article {
    background: var(--color-white);
    padding: 30px 0 70px;
}

.intro-article .container {
    max-width: 820px;
}

.intro-title {
    font-size: clamp(26px, 4vw, 36px);
    font-weight: 800;
    color: var(--color-text);
    text-align: center;
    margin-bottom: 28px;
    line-height: 1.25;
}

.intro-title .accent {
    color: var(--color-accent);
}

.intro-text p {
    font-size: 17px;
    line-height: 1.75;
    color: var(--color-text-light);
    margin-bottom: 18px;
}

.intro-text p:last-child {
    margin-bottom: 0;
}

.intro-text strong {
    color: var(--color-text);
    font-weight: 700;
}

.intro-cta {
    display: flex;
    justify-content: center;
    margin-top: 32px;
}

.intro-cta-btn {
    font-size: 17px;
    font-weight: 700;
    padding: 16px 32px;
}

@media (max-width: 480px) {
    .intro-cta-btn {
        width: 100%;
        font-size: 16px;
        padding: 16px 12px;
    }
}

/* ============================================================
   ONSITE / NOTDIENST SECTION
   ============================================================ */
.onsite {
    background: var(--color-white);
    padding: 0 0 80px;
}

.onsite-grid {
    max-width: 1100px;
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 56px;
    align-items: center;
}

.onsite-visual img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 12px 40px rgba(27, 60, 42, 0.15);
}

.onsite-title {
    font-size: clamp(24px, 3.5vw, 34px);
    font-weight: 800;
    color: var(--color-text);
    line-height: 1.25;
    margin-bottom: 20px;
}

.onsite-text > p {
    font-size: 16px;
    line-height: 1.7;
    color: var(--color-text-light);
    margin-bottom: 24px;
}

.onsite-list {
    list-style: none;
    margin: 0 0 28px;
    padding: 0;
}

.onsite-list li {
    font-size: 16px;
    margin-bottom: 14px;
    padding-left: 32px;
    position: relative;
    color: var(--color-text-light);
    line-height: 1.6;
}

.onsite-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--color-success);
    font-weight: 700;
    font-size: 20px;
}

.onsite-list strong,
.onsite-text > p strong,
.casestudy-text > p strong {
    color: var(--color-text);
}

@media (max-width: 900px) {
    .onsite-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .onsite-visual img {
        max-width: 560px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .onsite-visual {
        margin: 0 -20px;
    }

    .onsite-visual img {
        max-width: none;
        width: 100%;
        border-radius: 0;
        box-shadow: none;
    }
}

@media (max-width: 480px) {
    .onsite-btn {
        width: 100%;
        font-size: 16px;
        padding: 16px 12px;
    }
}

/* ============================================================
   SERVICES SECTION
   ============================================================ */
.services {
    background: var(--color-light);
    position: relative;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.service-block {
    background: var(--color-white);
    padding: 32px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}

.service-photo {
    display: block;
    width: calc(100% + 64px);
    height: 210px;
    object-fit: cover;
    object-position: center 30%;
    margin: -32px -32px 22px;
}

.service-block::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--color-accent) 0%, var(--color-success) 100%);
    opacity: 0;
    transition: opacity var(--transition);
}

.service-block:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.service-block:hover::before {
    opacity: 1;
}

.service-header h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--color-primary);
}

.service-desc {
    font-size: 14px;
    color: var(--color-accent);
    font-weight: 600;
    margin-bottom: 16px;
}

.service-text {
    font-size: 15px;
    color: var(--color-text-light);
    margin-bottom: 24px;
    line-height: 1.7;
}

.service-cta {
    display: flex;
    gap: 12px;
}

/* ============================================================
   WHY SECTION
   ============================================================ */
.why-section {
    background: var(--color-white);
    position: relative;
    overflow: hidden;
}

.why-content {
    max-width: 720px;
    margin: 0 auto;
    padding: 0 20px;
}

.why-text h2 {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 40px;
    line-height: 1.2;
    text-align: center;
}

.why-list {
    list-style: none;
}

.why-list li {
    font-size: 16px;
    margin-bottom: 24px;
    padding-left: 32px;
    position: relative;
    color: var(--color-text-light);
    line-height: 1.6;
}

.why-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--color-success);
    font-weight: 700;
    font-size: 20px;
}

.why-cta {
    display: flex;
    justify-content: center;
    margin-top: 36px;
}

.why-cta-btn {
    font-size: 17px;
    font-weight: 700;
    padding: 16px 32px;
}

@media (max-width: 480px) {
    .why-cta-btn {
        width: 100%;
        font-size: 16px;
        padding: 16px 12px;
    }
}

/* ============================================================
   CASE STUDY (Gastherme)
   ============================================================ */
.casestudy {
    background: var(--color-white);
    padding: 80px 0;
}

.casestudy-grid {
    max-width: 1100px;
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 56px;
    align-items: center;
}

.casestudy-visual img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 12px 40px rgba(27, 60, 42, 0.15);
}

.casestudy-title {
    font-size: clamp(24px, 3.5vw, 34px);
    font-weight: 800;
    color: var(--color-text);
    line-height: 1.25;
    margin-bottom: 20px;
}

.casestudy-text > p {
    font-size: 16px;
    line-height: 1.7;
    color: var(--color-text-light);
    margin-bottom: 24px;
}

.casestudy-quote {
    background: var(--color-light);
    border-left: 4px solid var(--color-accent);
    border-radius: 12px;
    padding: 20px 24px;
    margin: 0 0 24px;
}

.casestudy-stars {
    color: var(--color-accent);
    font-size: 18px;
    letter-spacing: 2px;
    margin-bottom: 8px;
}

.casestudy-quote p {
    font-size: 15px;
    line-height: 1.65;
    color: var(--color-text);
    font-style: italic;
    margin: 0 0 10px;
}

.casestudy-quote footer {
    font-size: 14px;
    font-weight: 700;
    color: var(--color-text-light);
}

.casestudy-cta-line {
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 14px;
}

@media (max-width: 900px) {
    .casestudy {
        padding: 56px 0;
    }

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

    .casestudy-visual {
        order: -1;
    }

    .casestudy-visual img {
        max-width: 560px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .casestudy-visual {
        margin: 0 -20px;
    }

    .casestudy-visual img {
        max-width: none;
        width: 100%;
        border-radius: 0;
        box-shadow: none;
    }
}

@media (max-width: 480px) {
    .casestudy-btn {
        width: 100%;
        font-size: 16px;
        padding: 16px 12px;
    }
}

/* ============================================================
   STEPS / ABLAUF SECTION
   ============================================================ */
.steps {
    background: var(--color-white);
    padding: 80px 0;
}

.steps-title {
    font-size: clamp(26px, 3.5vw, 38px);
    font-weight: 800;
    color: var(--color-text);
    text-align: center;
    margin-bottom: 14px;
    line-height: 1.25;
}

.steps-intro {
    text-align: center;
    font-size: 17px;
    color: var(--color-text-light);
    margin-bottom: 48px;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1100px;
    margin: 0 auto 40px;
}

.step-card {
    background: var(--color-light);
    border-radius: 16px;
    padding: 32px 26px;
    text-align: center;
    position: relative;
}

.step-number {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--color-accent);
    color: var(--color-primary);
    font-size: 24px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
}

.step-card h3 {
    font-size: 20px;
    font-weight: 800;
    color: var(--color-primary);
    margin-bottom: 12px;
}

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

.step-card p strong {
    color: var(--color-text);
}

.steps-cta {
    display: flex;
    justify-content: center;
}

.steps-btn {
    font-size: 17px;
    font-weight: 700;
    padding: 16px 32px;
}

@media (max-width: 900px) {
    .steps {
        padding: 56px 0;
    }

    .steps-grid {
        grid-template-columns: 1fr;
        gap: 16px;
        margin-bottom: 32px;
    }
}

@media (max-width: 480px) {
    .steps-btn {
        width: 100%;
        font-size: 16px;
        padding: 16px 12px;
    }
}

/* ============================================================
   REVIEWS SECTION
   ============================================================ */
.reviews {
    background: var(--color-light);
    padding: 80px 0;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.review-card {
    background: var(--color-white);
    padding: 32px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border-left: 4px solid var(--color-accent);
}

.review-stars {
    color: var(--color-accent);
    font-size: 16px;
    letter-spacing: 2px;
    margin-bottom: 16px;
    display: block;
}

.review-card p {
    font-size: 15px;
    color: var(--color-text-light);
    line-height: 1.7;
    margin-bottom: 16px;
}

.review-name {
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 0 !important;
}

/* ============================================================
   CONTACT SECTION
   ============================================================ */
.hero-form-card {
    background: var(--color-white);
    color: var(--color-text);
    border: 1px solid var(--color-border);
    border-radius: 16px;
    padding: 28px 24px;
    max-width: 520px;
    margin: 0 auto 32px;
    text-align: left;
    box-shadow: 0 10px 32px rgba(0, 0, 0, 0.08);
}

.hero-form-card h3 {
    font-size: 20px;
    font-weight: 800;
    text-align: center;
    margin-bottom: 18px;
    color: var(--color-text);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form-group {
    display: flex;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--color-border);
    border-radius: 6px;
    background: var(--color-light);
    font-family: var(--font-family);
    font-size: 14px;
    color: var(--color-text);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-accent);
}

.form-group textarea {
    resize: vertical;
}

.contact-form .btn {
    width: 100%;
    margin-top: 8px;
}

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

.hp-field {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.form-success {
    text-align: center;
    padding: 24px 8px;
}

.form-success-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: var(--color-success);
    color: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
    animation: successPop 0.4s ease;
}

@keyframes successPop {
    0% { transform: scale(0.4); opacity: 0; }
    70% { transform: scale(1.1); }
    100% { transform: scale(1); opacity: 1; }
}

.form-success h4 {
    font-size: 24px;
    font-weight: 800;
    color: var(--color-text);
    margin-bottom: 10px;
}

.form-success p {
    font-size: 15px;
    line-height: 1.6;
    color: var(--color-text-light);
    margin-bottom: 20px;
}

.form-success p strong {
    color: var(--color-success);
}

.form-success-again {
    background: none;
    border: none;
    font-family: var(--font-family);
    font-size: 14px;
    font-weight: 600;
    color: var(--color-primary);
    text-decoration: underline;
    cursor: pointer;
}

/* ============================================================
   FAQ SECTION
   ============================================================ */
.faq {
    background: var(--color-white);
    padding: 80px 0;
}

.faq-list {
    max-width: 820px;
    margin: 0 auto 40px;
}

.faq-item {
    border: 1px solid var(--color-border);
    border-radius: 12px;
    margin-bottom: 12px;
    overflow: hidden;
    background: var(--color-white);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 22px;
    background: none;
    border: none;
    font-family: var(--font-family);
    font-size: 16px;
    font-weight: 700;
    color: var(--color-text);
    text-align: left;
    cursor: pointer;
    transition: background var(--transition);
}

.faq-question:hover {
    background: var(--color-light);
}

.faq-icon {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--color-accent);
    color: var(--color-primary);
    font-size: 18px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform var(--transition);
}

.faq-question.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    display: none;
    padding: 0 22px 18px;
}

.faq-answer.active {
    display: block;
}

.faq-answer p {
    font-size: 15px;
    line-height: 1.7;
    color: var(--color-text-light);
    margin: 0;
}

.faq-answer strong {
    color: var(--color-text);
}

.faq-cta {
    text-align: center;
}

.faq-cta-line {
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 16px;
}

@media (max-width: 480px) {
    .faq {
        padding: 56px 0;
    }

    .faq-question {
        font-size: 15px;
        padding: 16px 16px;
    }

    .faq-answer {
        padding: 0 16px 16px;
    }

    .faq-btn {
        width: 100%;
        font-size: 16px;
        padding: 16px 12px;
    }
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
    background: var(--color-white);
    color: var(--color-text);
    border-top: 1px solid var(--color-border);
    padding: 60px 20px 20px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h4 {
    margin-bottom: 20px;
    font-size: 16px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.footer-logo {
    height: 46px;
    flex-shrink: 0;
}

.footer-brand-name {
    line-height: 1.1;
    margin: 0;
}

.footer-name-first {
    display: block;
    font-size: 20px;
    font-weight: 800;
    color: var(--color-success);
    letter-spacing: -0.3px;
}

.footer-name-main {
    display: block;
    font-size: 23px;
    font-weight: 800;
    color: var(--color-primary);
    letter-spacing: -0.3px;
}

.footer-contact-line {
    font-size: 14px;
    color: var(--color-text-light);
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-contact-line svg {
    flex-shrink: 0;
    color: var(--color-success);
}

.footer-col p {
    font-size: 14px;
    color: var(--color-text-light);
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col a {
    font-size: 14px;
    color: var(--color-text-light);
    transition: color var(--transition);
}

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

.footer-bottom {
    border-top: 1px solid var(--color-border);
    padding-top: 20px;
    text-align: center;
    font-size: 13px;
    color: var(--color-text-light);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 768px) {
    .section-title {
        font-size: 32px;
    }

    .hero {
        padding: 0;
        margin: 0;
        width: 100%;
    }

    .hero-container {
        gap: 28px;
        padding: 0 20px;
        width: 100%;
        margin: 0 auto;
    }

    .hero-visual {
        width: 100%;
        max-width: 100%;
        margin: 0 0 40px 0;
    }


    .hero-content h1 {
        font-size: 36px;
    }

    .hero-cta {
        gap: 12px;
    }


}

@media (max-width: 480px) {
    .section-title {
        font-size: 24px;
    }

    .hero {
        padding: 0;
        margin: 0;
        width: 100%;
    }

    .hero-container {
        gap: 20px;
        padding: 0 20px;
        width: 100%;
        margin: 0 auto;
    }

    .hero-visual {
        width: 100%;
        max-width: 100%;
        margin: 0 0 30px 0;
    }

    .hero-overlay {
        width: 52%;
    }

    .hero-content h1 {
        font-size: 28px;
        margin-bottom: 16px;
    }

    .hero-content > p {
        font-size: 15px;
        margin-bottom: 24px;
    }

    .hero-cta {
        flex-direction: column;
        gap: 12px;
    }


    .hero-cta .btn {
        width: 100%;
        padding: 16px 24px;
    }

    .hero-form-card {
        padding: 22px 16px;
    }

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

    .why-list li {
        font-size: 15px;
        margin-bottom: 16px;
    }
}

.footer-impressum {
    color: var(--color-text-light);
    text-decoration: underline;
    transition: color var(--transition);
}

.footer-impressum:hover {
    color: var(--color-primary);
}

/* Бейдж доверия поверх hero-баннера */
.hero-banner {
    position: relative;
}

.hero-trust-badge {
    position: absolute;
    right: 18px;
    bottom: 18px;
    background: rgba(255, 255, 255, 0.96);
    border-radius: 12px;
    padding: 10px 18px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.18);
}

.hero-trust-stars {
    color: #F5B301;
    font-size: 18px;
    letter-spacing: 2px;
    line-height: 1;
}

.hero-trust-text {
    font-size: 13px;
    font-weight: 700;
    color: var(--color-text);
    white-space: nowrap;
}

@media (max-width: 480px) {
    .hero-trust-badge {
        right: 10px;
        bottom: 10px;
        padding: 7px 12px;
    }

    .hero-trust-stars {
        font-size: 14px;
        letter-spacing: 1px;
    }

    .hero-trust-text {
        font-size: 11px;
    }
}

/* ============================================================
   DESKTOP HERO — двухколоночная композиция (мобильная не тронута)
   ============================================================ */
@media (min-width: 901px) {
    .hero {
        display: flex;
        flex-direction: row-reverse;
        align-items: center;
        gap: 56px;
        max-width: 1140px;
        margin: 0 auto;
        padding: 56px 32px 72px;
    }
    .hero-banner {
        flex: 0 0 460px;
        max-width: 460px;
        margin: 0;
    }
    .hero-banner img {
        border-radius: 20px;
        box-shadow: 0 16px 48px rgba(14, 58, 88, 0.22);
    }
    .hero-container {
        flex: 1;
        padding: 0;
        display: block;
    }
    .hero-content {
        text-align: left;
        max-width: 560px;
    }
    .hero-content h1 {
        font-size: 46px;
    }
    .hero-cta {
        display: flex;
        justify-content: flex-start;
    }
}
