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

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.5;
    color: #1a2a3a;
    background-color: #ffffff;
}

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

.header {
    background-color: #1a8f6e;
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 24px;
    max-width: 1400px;
    margin: 0 auto;
}

/* ЛОГОТИП — ТЕКСТ КРУПНЕЕ, ИКОНКА СЛЕГКА */
.logo {
    display: flex;
    align-items: center;
    gap: 18px;
    text-decoration: none;
}

.logo-img {
    height: 80px;
    width: auto;
    max-width: 90px;
    object-fit: contain;
    display: block;
}

.logo-text {
    font-size: 2.5rem;
    font-weight: 800;
    color: #ffffff;
    font-family: 'Inter', sans-serif;
    white-space: nowrap;
}

.logo-text span {
    color: #f5a623;
}

/* Скрываем старый SVG-логотип */
.ecg-logo {
    display: none;
}

/* Contacts */
.header-contacts {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.messenger-buttons {
    display: flex;
    gap: 8px;
}

.messenger-btn {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255,255,255,0.15);
    color: #ffffff;
    text-decoration: none;
    font-size: 1.2rem;
    transition: 0.2s;
}

.messenger-btn:hover {
    background: #f5a623;
    color: #1a8f6e;
}

[data-tooltip] {
    position: relative;
}

[data-tooltip]::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: -32px;
    left: 50%;
    transform: translateX(-50%);
    background: #1a8f6e;
    color: white;
    font-size: 0.7rem;
    padding: 4px 10px;
    border-radius: 20px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: 0.2s;
    pointer-events: none;
}

[data-tooltip]:hover::after {
    opacity: 1;
    visibility: visible;
    bottom: -38px;
}

.max-icon {
    width: 22px;
    height: 22px;
}

.phone-link {
    font-weight: 700;
    font-size: 1rem;
    color: #ffffff;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.15);
    padding: 9px 18px;
    border-radius: 40px;
    transition: 0.2s;
}

.phone-link:hover {
    background: #f5a623;
    color: #1a8f6e;
}

/* Hero и остальные секции */
.hero {
    background: #eef7f3;
    padding: 60px 0 48px;
}

.hero-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: center;
    justify-content: space-between;
}

.hero-content {
    flex: 1;
    min-width: 260px;
}

.hero-badge {
    background: #f5a623;
    color: #1a8f6e;
    display: inline-block;
    padding: 6px 14px;
    border-radius: 40px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.hero h1 {
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #1a8f6e;
}

.hero p {
    font-size: 1.1rem;
    color: #4a5b6e;
    max-width: 520px;
    margin-bottom: 28px;
}

.hero-image {
    flex: 1;
    text-align: center;
    background: transparent;
    padding: 0;
    border: none;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: 24px;
}

.cta-btn {
    background-color: #1a8f6e;
    color: white;
    padding: 14px 32px;
    font-weight: 700;
    border-radius: 50px;
    font-size: 1rem;
    display: inline-block;
    text-decoration: none;
    transition: 0.2s;
}

.cta-btn:hover {
    background-color: #0f6e54;
}

section {
    padding: 64px 0;
    border-bottom: 1px solid #e0ece6;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 48px;
    color: #1a8f6e;
}

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

.service-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 24px 16px;
    text-align: center;
    border: 1px solid #c5dfd5;
    transition: 0.2s;
}

.service-card:hover {
    border-color: #f5a623;
    transform: translateY(-4px);
}

.service-card i {
    font-size: 2rem;
    color: #1a8f6e;
    margin-bottom: 12px;
}

.service-card h3 {
    font-size: 1rem;
    margin-bottom: 6px;
    color: #1a8f6e;
}

.service-card p {
    color: #6b7f8e;
    font-size: 0.8rem;
}

.tariffs-simple {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
}

.tariff-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 20px 16px;
    text-align: center;
    border: 1px solid #c5dfd5;
    transition: 0.2s;
}

.tariff-card:hover {
    border-color: #f5a623;
    transform: translateY(-4px);
}

.tariff-card h3 {
    font-size: 1.2rem;
    margin-bottom: 6px;
    color: #1a8f6e;
}

.tariff-card p {
    color: #6b7f8e;
    font-size: 0.8rem;
    margin-bottom: 12px;
}

.tariff-price {
    font-size: 1.4rem;
    font-weight: 800;
    color: #f5a623;
}

.contact-block {
    background: #1a8f6e;
    color: white;
    border-radius: 48px;
    text-align: center;
    padding: 48px 24px;
}

.contact-block h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.contact-phone {
    font-size: 2rem;
    font-weight: 800;
    margin: 20px 0;
}

.contact-phone a {
    color: white;
    text-decoration: none;
}

.contact-phone a:hover {
    color: #f5a623;
}

footer {
    background: #1a8f6e;
    color: rgba(255,255,255,0.7);
    padding: 32px 0;
    text-align: center;
    font-size: 0.85rem;
}

/* ========== АДАПТИВ ========== */
@media (max-width: 1200px) {
    .logo-img {
        height: 70px;
        max-width: 78px;
    }
    .logo-text {
        font-size: 2.2rem;
    }
    .logo {
        gap: 15px;
    }
}

@media (max-width: 768px) {
    .hero {
        text-align: center;
    }
    .hero-content {
        text-align: center;
    }
    .hero p {
        margin-left: auto;
        margin-right: auto;
    }
    .hero-image {
        display: none;
    }
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    .tariffs-simple {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    section {
        padding: 40px 0;
    }
    .section-title {
        font-size: 1.6rem;
        margin-bottom: 24px;
    }
    .nav-container {
        flex-direction: column;
        gap: 12px;
    }
    .header-contacts {
        justify-content: center;
    }
    .container {
        padding: 0 16px;
    }
    .contact-phone {
        font-size: 1.5rem;
    }
    .service-card {
        padding: 16px 12px;
    }
    .service-card i {
        font-size: 1.6rem;
    }
    .service-card h3 {
        font-size: 0.85rem;
    }
    .tariff-card {
        padding: 16px 12px;
    }
    .tariff-card h3 {
        font-size: 1rem;
    }
    .tariff-price {
        font-size: 1.2rem;
    }
    .logo {
        gap: 12px;
    }
    .logo-img {
        height: 55px;
        max-width: 62px;
    }
    .logo-text {
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.8rem;
    }
    .hero p {
        font-size: 0.95rem;
    }
    .cta-btn {
        padding: 12px 24px;
        font-size: 0.9rem;
    }
    .logo-img {
        height: 45px;
        max-width: 50px;
    }
    .logo-text {
        font-size: 1.5rem;
    }
    .logo {
        gap: 10px;
    }
}