:root {
    --primary: #0b76d1;
    --primary-dark: #0a65b4;
    --accent: #f79531;
    --text-dark: #14223b;
    --text-muted: #4e6077;
    --surface: #ffffff;
    --background: #f3f7fb;
    --radius-lg: 28px;
    --radius-md: 16px;
    --shadow-soft: 0 20px 40px rgba(20, 34, 59, 0.15);
}

* {
    box-sizing: border-box;
}

body {
    font-family: "Inter", "Segoe UI", Tahoma, sans-serif;
    margin: 0;
    color: var(--text-dark);
    background: var(--background);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Montserrat Alternates", "Inter", sans-serif;
}

a {
    color: inherit;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.container {
    width: min(1120px, 92vw);
    margin: 0 auto;
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(5px);
    box-shadow: 0 18px 38px rgba(20, 34, 59, 0.1);
    padding: 0 clamp(18px, 3vw, 36px);
}

.top-bar .container {
    background: transparent;
    backdrop-filter: none;
    box-shadow: none;
    border-radius: 0;
    padding: 0 clamp(18px, 3vw, 36px);
}

.info-section > .container {
    padding: clamp(26px, 4vw, 50px);
    background: rgba(255, 255, 255, 0.92);
}

.top-bar {
    background: var(--primary);
    color: #ffffff;
    padding: 18px 0;
}

.top-bar__content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    background: transparent;
    padding: 0;
    box-shadow: none;
}

.top-bar__actions {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    font-size: 20px;
    font-family: "Montserrat Alternates", "Inter", sans-serif;
}

.brand__mark {
    width: 42px;
    height: 42px;
    object-fit: contain;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 28px;
    font-weight: 500;
    font-size: 15px;
}

.contact-link {
    font-weight: 600;
    font-size: 16px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 999px;
    padding: 10px 18px;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.contact-link:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.75);
}


.hero {
    padding: 80px 0 60px;
}

.hero > .container {
    padding: clamp(28px, 4vw, 48px);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(237, 244, 252, 0.9));
}

.hero__content {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 48px;
    align-items: center;
}

.hero__text h1 {
    font-size: clamp(32px, 4vw, 48px);
    margin: 0 0 16px;
    letter-spacing: -0.02em;
}

.hero__subtitle {
    font-size: 20px;
    margin: 0 0 24px;
    color: var(--text-muted);
}

.hero__benefits {
    list-style: none;
    margin: 0 0 36px;
    padding: 0;
    color: var(--text-muted);
    font-size: 17px;
}

.hero__benefits li + li {
    margin-top: 8px;
}

.cta-button {
    background: var(--accent);
    color: #ffffff;
    font-size: 18px;
    font-weight: 600;
    padding: 16px 32px;
    border: 0;
    border-radius: 999px;
    cursor: pointer;
    box-shadow: 0 14px 24px rgba(247, 149, 49, 0.32);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 32px rgba(247, 149, 49, 0.4);
}

.hero__visual {
    position: relative;
    display: flex;
    justify-content: center;
    padding: 0;
    background: transparent;
}

.hero__image {
    width: min(420px, 90vw);
    height: auto;
    border-radius: var(--radius-lg);
}

.hero__badge {
    position: absolute;
    top: 8%;
    right: 14%;
    background: var(--primary);
    color: #ffffff;
    font-weight: 600;
    padding: 10px 18px;
    border-radius: 999px;
    box-shadow: 0 12px 24px rgba(11, 118, 209, 0.35);
}

.whatsapp-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 16px;
    color: #ffffff;
    background: #25d366;
    padding: 10px 18px;
    border-radius: 999px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 12px 24px rgba(37, 211, 102, 0.32);
}

.whatsapp-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 30px rgba(37, 211, 102, 0.42);
}

/* Секция "Поломки" — базовые стили для ПК */
.issues {
    padding: 80px 0 70px;
    background: linear-gradient(160deg, rgba(11, 118, 209, 0.06), transparent 50%);
}

.issues > .container {
    padding: clamp(32px, 5vw, 56px);
}

.issues h2 {
    margin: 0 0 12px;
    font-size: clamp(28px, 3.5vw, 38px);
}

.issues__lead {
    color: var(--text-muted);
    margin: 0 0 48px;
    font-size: 18px;
    max-width: 640px;
}

.issues__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 28px;
}

.issues__item {
    background: var(--surface);
    border-radius: var(--radius-md);
    padding: 28px;
    box-shadow: 0 8px 24px rgba(20, 34, 59, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.issues__item:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 32px rgba(20, 34, 59, 0.14);
}

.issues__icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(11, 118, 209, 0.1);
    border-radius: 12px;
    margin-bottom: 18px;
    color: var(--primary);
}

.issues__icon-svg {
    width: 28px;
    height: 28px;
}

.issues__item h3 {
    margin: 0 0 10px;
    font-size: 20px;
}

.issues__item p {
    margin: 0;
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.55;
}

/* Секция "Бренды" — базовые стили для ПК */
.brands {
    padding: 80px 0;
    background: #ffffff;
}

.brands > .container {
    padding: clamp(32px, 5vw, 56px);
    background: linear-gradient(140deg, rgba(255, 255, 255, 0.95), rgba(240, 250, 255, 0.92));
}

.brands h2 {
    margin: 0 0 12px;
    font-size: clamp(28px, 3.5vw, 38px);
}

.brands__lead {
    color: var(--text-muted);
    margin: 0 0 40px;
    font-size: 18px;
    max-width: 640px;
}

.brands__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 18px 20px;
}

.brands__item {
    display: flex;
    justify-content: center;
}

.brands__link {
    display: inline-block;
    padding: 12px 20px;
    border-radius: 999px;
    background: rgba(11, 118, 209, 0.08);
    color: var(--primary);
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    text-decoration: none;
    border: none;
    font-family: inherit;
    transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.brands__link:hover {
    transform: translateY(-2px);
    background: rgba(11, 118, 209, 0.16);
    box-shadow: 0 12px 24px rgba(11, 118, 209, 0.18);
}

/* Бренды с отдельными страницами - выделяем цветом */
.brands__link--has-page {
    background: var(--primary);
    color: #fff;
}

.brands__link--has-page:hover {
    background: var(--primary-hover);
    color: #fff;
}

.info-section {
    padding: 60px 0 100px;
    background: #ffffff;
}

.info-section__content {
    display: grid;
    gap: 32px;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.info-section h2 {
    margin-top: 0;
    margin-bottom: 16px;
    font-size: 24px;
}

.info-section p,
.info-section ol {
    margin: 0;
    color: var(--text-muted);
    line-height: 1.6;
}

.info-section ol {
    padding-left: 20px;
}

/* Секция "Цены" */
.prices {
    padding: 80px 0 90px;
    background: linear-gradient(180deg, #f3f7fb 0%, #ffffff 100%);
}

.prices > .container {
    padding: clamp(32px, 5vw, 56px);
}

.prices h2 {
    margin: 0 0 12px;
    font-size: clamp(28px, 3.5vw, 38px);
    text-align: center;
}

.prices__lead {
    color: var(--text-muted);
    margin: 0 auto 40px;
    font-size: 18px;
    max-width: 600px;
    text-align: center;
}

.prices__table-wrapper {
    overflow-x: auto;
    border-radius: var(--radius-md);
    box-shadow: 0 8px 32px rgba(20, 34, 59, 0.08);
}

.prices__table {
    width: 100%;
    border-collapse: collapse;
    background: #ffffff;
    font-size: 15px;
}

.prices__table thead {
    background: var(--primary);
    color: #ffffff;
}

.prices__table th {
    padding: 18px 24px;
    text-align: left;
    font-weight: 600;
    font-size: 16px;
}

.prices__table th:last-child {
    text-align: right;
    white-space: nowrap;
}

.prices__table td {
    padding: 16px 24px;
    border-bottom: 1px solid rgba(20, 34, 59, 0.08);
}

.prices__table td:last-child {
    text-align: right;
    font-weight: 600;
    color: var(--text-dark);
    white-space: nowrap;
}

.prices__table tbody tr:last-child td {
    border-bottom: none;
}

.prices__table tbody tr:hover {
    background: rgba(11, 118, 209, 0.04);
}

.prices__row--highlight {
    background: rgba(37, 211, 102, 0.08);
}

.prices__row--highlight:hover {
    background: rgba(37, 211, 102, 0.12) !important;
}

.prices__free {
    color: #25d366;
    font-weight: 700;
}

.prices__note {
    margin: 24px 0 0;
    font-size: 14px;
    color: var(--text-muted);
    text-align: center;
}

/* Секция FAQ */
.faq {
    padding: 80px 0 90px;
    background: #ffffff;
}

.faq > .container {
    padding: clamp(32px, 5vw, 56px);
}

.faq h2 {
    margin: 0 0 40px;
    font-size: clamp(28px, 3.5vw, 38px);
    text-align: center;
}

.faq__list {
    max-width: 800px;
    margin: 0 auto;
}

.faq__item {
    background: var(--background);
    border-radius: var(--radius-md);
    margin-bottom: 16px;
    overflow: hidden;
    transition: box-shadow 0.2s ease;
}

.faq__item:hover {
    box-shadow: 0 8px 24px rgba(20, 34, 59, 0.1);
}

.faq__item[open] {
    box-shadow: 0 12px 32px rgba(20, 34, 59, 0.12);
}

.faq__question {
    padding: 20px 24px;
    font-weight: 600;
    font-size: 17px;
    cursor: pointer;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    transition: background 0.2s ease;
}

.faq__question::-webkit-details-marker {
    display: none;
}

.faq__question::after {
    content: '+';
    font-size: 24px;
    font-weight: 400;
    color: var(--primary);
    transition: transform 0.2s ease;
}

.faq__item[open] .faq__question::after {
    transform: rotate(45deg);
}

.faq__question:hover {
    background: rgba(11, 118, 209, 0.05);
}

.faq__answer {
    padding: 0 24px 20px;
    margin: 0;
    color: var(--text-muted);
    line-height: 1.65;
    font-size: 15px;
}

/* Страницы брендов */
.breadcrumb {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.breadcrumb a {
    color: var(--primary);
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.hero--brand .hero__badge {
    background: var(--accent);
    font-size: 18px;
    padding: 12px 24px;
}

.brand-issues {
    padding: 70px 0;
    background: #ffffff;
}

.brand-issues > .container {
    padding: clamp(32px, 5vw, 56px);
}

.brand-issues h2 {
    margin: 0 0 40px;
    font-size: clamp(26px, 3vw, 34px);
    text-align: center;
}

.brand-models {
    padding: 60px 0;
    background: var(--background);
}

.brand-models > .container {
    padding: clamp(32px, 5vw, 56px);
}

.brand-models h2 {
    margin: 0 0 16px;
    font-size: clamp(24px, 3vw, 32px);
}

.brand-models__lead {
    color: var(--text-muted);
    margin: 0 0 24px;
}

.brand-models__list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 12px 24px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.brand-models__list li {
    padding: 12px 16px;
    background: #ffffff;
    border-radius: 8px;
    font-weight: 500;
}

.brand-cta {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: #ffffff;
    text-align: center;
}

.brand-cta > .container {
    padding: clamp(32px, 5vw, 56px);
    background: transparent;
    box-shadow: none;
}

.brand-cta h2 {
    margin: 0 0 16px;
    font-size: clamp(28px, 4vw, 40px);
}

.brand-cta p {
    margin: 0 0 32px;
    font-size: 18px;
    opacity: 0.9;
}

.brand-cta__buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.brand-cta .cta-button {
    background: #ffffff;
    color: var(--primary);
}

.whatsapp-button--large {
    padding: 16px 32px;
    font-size: 18px;
}

/* Футер */
.footer {
    background: var(--text-dark);
    color: #ffffff;
    padding-top: 60px;
}

.footer__content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    padding: 40px clamp(24px, 4vw, 48px);
    background: transparent;
    box-shadow: none;
    border-radius: 0;
}

.footer__brand .brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.footer__brand .brand__mark {
    width: 48px;
    height: 48px;
}

.footer__brand .brand__name {
    font-size: 22px;
    font-weight: 700;
}

.footer__tagline {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    line-height: 1.5;
    margin: 0;
}

.footer__contacts h3,
.footer__hours h3 {
    margin: 0 0 16px;
    font-size: 18px;
    font-weight: 600;
}

.footer__phone {
    display: block;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
    transition: color 0.2s ease;
}

.footer__phone:hover {
    color: var(--accent);
    text-decoration: none;
}

.footer__whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: #25d366;
    border-radius: 999px;
    font-weight: 600;
    font-size: 14px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.footer__whatsapp:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.35);
    text-decoration: none;
}

.footer__hours p {
    margin: 0 0 8px;
    color: rgba(255, 255, 255, 0.85);
    font-size: 15px;
}

.footer__bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 0;
}

.footer__bottom .container {
    background: transparent;
    box-shadow: none;
    border-radius: 0;
    padding: 0 clamp(24px, 4vw, 48px);
}

.footer__bottom p {
    margin: 0;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
    text-align: center;
}

.callback-panel {
    position: fixed;
    inset: 0;
    background: rgba(20, 34, 59, 0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
    z-index: 1000;
}

.callback-panel.is-visible {
    opacity: 1;
    pointer-events: auto;
}

.callback-panel__content {
    background: #ffffff;
    border-radius: var(--radius-md);
    max-width: 420px;
    width: min(100%, 420px);
    padding: 32px 32px 28px;
    box-shadow: var(--shadow-soft);
    position: relative;
}

.callback-panel__close {
    position: absolute;
    top: 14px;
    right: 14px;
    border: 0;
    background: transparent;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    color: var(--text-muted);
}

.callback-panel__lead {
    margin-top: 0;
    margin-bottom: 24px;
    color: var(--text-muted);
}

.callback-form {
    display: grid;
    gap: 18px;
}

.callback-form__field span {
    display: block;
    margin-bottom: 6px;
    font-weight: 500;
    color: var(--text-dark);
}

.callback-form__field input {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid rgba(20, 34, 59, 0.15);
    border-radius: 12px;
    font-size: 16px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.callback-form__field input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(11, 118, 209, 0.15);
}

.callback-form__submit {
    background: var(--primary);
    color: #ffffff;
    border: 0;
    border-radius: 999px;
    padding: 15px 24px;
    font-size: 17px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease;
}

.callback-form__submit:hover {
    background: var(--primary-dark);
}

.callback-form__footnote {
    margin: -4px 0 0;
    font-size: 13px;
    color: var(--text-muted);
}

@media (max-width: 900px) {
    .hero {
        padding-top: 60px;
    }

    .hero__content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero__text {
        order: 2;
    }

    .hero__visual {
        order: 1;
    }

    .hero__benefits {
        display: inline-block;
        text-align: left;
    }

    .issues {
        padding: 70px 0 60px;
    }

    .issues > .container {
        padding: clamp(24px, 4vw, 44px) clamp(24px, 4vw, 48px);
    }

    .issues h2 {
        text-align: center;
    }

    .issues__lead {
        text-align: center;
        margin: 0 auto 40px;
    }

    .issues__grid {
        gap: 26px;
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    }

    .issues__item {
        padding: 24px;
    }

    .issues__icon {
        width: 44px;
        height: 44px;
    }

    .issues__icon-svg {
        width: 22px;
        height: 22px;
    }

    .issues__item h3 {
        font-size: 18px;
    }

    .brands {
        padding: 70px 0;
    }

    .brands > .container {
        padding: clamp(24px, 4vw, 46px);
    }

    .brands h2 {
        text-align: center;
    }

    .brands__lead {
        text-align: center;
        margin: 0 auto 34px;
    }

    .brands__list {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 16px 18px;
    }

    .brands__link {
        padding: 10px 18px;
    }

    .prices {
        padding: 60px 0 70px;
    }

    .prices > .container {
        padding: clamp(24px, 4vw, 44px) clamp(20px, 3vw, 32px);
    }

    .prices__table th,
    .prices__table td {
        padding: 14px 16px;
    }

    .prices__table {
        font-size: 14px;
    }

    .footer__content {
        gap: 32px;
        text-align: center;
    }

    .footer__brand .brand {
        justify-content: center;
    }

    .footer__contacts,
    .footer__hours {
        text-align: center;
    }

    .top-bar__content {
        flex-wrap: wrap;
        justify-content: center;
    }

    .main-nav {
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media (max-width: 520px) {
    .brand__name {
        display: none;
    }

    .top-bar__actions {
        justify-content: center;
    }

    .contact-link {
        padding: 8px 14px;
        font-size: 15px;
    }

    .hero__badge {
        top: 18px;
        right: 24px;
        font-size: 14px;
        padding: 8px 14px;
    }

    .issues__grid {
        gap: 20px;
    }

    .brands__list {
        gap: 12px;
    }

    .prices__table th,
    .prices__table td {
        padding: 12px 14px;
    }

    .prices__table {
        font-size: 13px;
    }

    .footer {
        padding-top: 40px;
    }

    .footer__brand .brand__name {
        display: block;
    }
}
