:root {
    --primary-color: #2563eb;
    --primary-hover: #1d4ed8;
    --secondary-color: #0f172a;
    --accent-color: #f59e0b;
    --accent-hover: #d97706;
    --bg-light: #f8fafc;
    --text-main: #1e293b;
    --text-muted: #475569;
    --text-white: #ffffff;
    --border-color: #e2e8f0;
    --font-main: 'Inter', system-ui, -apple-system, sans-serif;
    --container-width: 1200px;
    --transition: all 0.3s ease;
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

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

body {
    font-family: var(--font-main);
    color: var(--text-main);
    background: var(--bg-light);
    line-height: 1.6;
    overflow-x: hidden;
}

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

img {
    max-width: 100%;
    display: block;
}

ul {
    list-style: none;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1,
h2,
h3 {
    line-height: 1.2;
    font-weight: 800;
}

.section-title {
    font-size: 40px;
    margin-bottom: 16px;
    color: var(--secondary-color);
    text-transform: uppercase;
}

.section-title span {
    color: var(--primary-color);
}

.section-header {
    text-align: center;
    width: 100%;
    margin: 0 auto 50px auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.section-subtitle {
    font-size: 18px;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 700px;
    text-align: center;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 32px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    border: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: var(--transition);
}

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

.btn-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(37, 99, 235, 0.3);
}

.btn-accent {
    background: var(--accent-color);
    color: white;
}

.btn-accent:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(245, 158, 11, 0.3);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    padding: 14px 28px;
}

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

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

.btn-white:hover {
    background: #f1f5f9;
    transform: translateY(-2px);
}

.full-width {
    width: 100%;
}

/* Header */
.header {
    background: white;
    box-shadow: var(--shadow-md);
    position: relative;
    z-index: 1000;
}

.header-top {
    background: var(--secondary-color);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 8px 0;
    font-size: 13px;
    color: #cbd5e1;
}

.header-top__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-top__left {
    display: flex;
    gap: 24px;
}

.header-top__right {
    font-weight: 600;
    color: var(--accent-color);
}

.header-main {
    padding: 15px 0;
}

.header-main__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo svg {
    flex-shrink: 0;
}

.logo-text {
    font-size: 26px;
    font-weight: 900;
    color: var(--secondary-color);
    letter-spacing: -0.5px;
}

.logo-text span {
    color: var(--primary-color);
}

.header-contacts {
    display: flex;
    align-items: center;
    gap: 32px;
}

.header-contact {
    display: flex;
    flex-direction: column;
    text-align: right;
}

.header-contact-label {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.header-phone {
    font-size: 22px;
    font-weight: 900;
    color: var(--secondary-color);
}

@media(max-width: 900px) {
    .header-top {
        display: none;
    }

    .header-main__inner {
        flex-direction: column;
        gap: 15px;
    }

    .header-contacts {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .header-contact {
        text-align: center;
    }
}

/* Hero Section */
.hero {
    position: relative;
    padding: 70px 0 100px;
    color: white;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    overflow: hidden;
    background: #0f172a;
}

.hero-video {
    min-width: 100%;
    min-height: 100%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    transition: opacity 0.5s ease-in-out;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(15, 23, 42, 0.95) 0%, rgba(15, 23, 42, 0.8) 50%, rgba(15, 23, 42, 0.4) 100%);
    z-index: -1;
}

.hero__inner {
    display: grid;
    grid-template-columns: 1.3fr 0.7fr;
    gap: 60px;
    align-items: center;
}

.hero__content h1 {
    font-size: 46px;
    font-weight: 900;
    line-height: 1.15;
    margin-bottom: 24px;
    text-transform: uppercase;
}

.hero__content h1 span {
    color: var(--accent-color);
}

.hero__subtitle {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 32px;
    color: #cbd5e1;
    font-weight: 400;
    border-left: 4px solid var(--primary-color);
    padding-left: 20px;
}

.hero-list {
    margin-bottom: 40px;
    display: grid;
    gap: 16px;
}

.hero-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 18px;
    font-weight: 600;
}

.hero-list li span {
    color: white;
    font-weight: 900;
    background: var(--primary-color);
    width: 26px;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    padding: 4px;
    font-size: 14px;
    flex-shrink: 0;
}

/* Form Card */
.hero__form-wrapper {
    position: relative;
    z-index: 10;
}

.calc-card {
    background: white;
    border-radius: 12px;
    padding: 40px 32px;
    color: var(--text-main);
    position: relative;
    box-shadow: var(--shadow-xl);
    border-top: 6px solid var(--accent-color);
}

.calc-card__badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: #ef4444;
    color: white;
    font-size: 13px;
    font-weight: 800;
    padding: 8px 20px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
    box-shadow: 0 4px 6px -1px rgba(239, 68, 68, 0.4);
}

.calc-card__title {
    font-size: 26px;
    text-align: center;
    margin-bottom: 8px;
    color: var(--secondary-color);
    font-weight: 900;
}

.calc-card__desc {
    font-size: 15px;
    text-align: center;
    color: var(--text-muted);
    margin-bottom: 28px;
    line-height: 1.5;
}

.calc-form {
    display: grid;
    gap: 20px;
}

.calc-form__btns {
    display: flex;
    gap: 15px;
}

.calc-form label {
    font-size: 13px;
    font-weight: 700;
    color: var(--secondary-color);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.calc-form input,
.calc-form select {
    width: 100%;
    padding: 16px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-family: inherit;
    font-size: 16px;
    background: var(--bg-light);
    transition: var(--transition);
}

.calc-form select {
    cursor: pointer;
    color: var(--text-main);
}

.calc-form input:focus,
.calc-form select:focus {
    outline: none;
    border-color: var(--primary-color);
    background: white;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.calc-form__note {
    font-size: 12px;
    color: var(--text-muted);
    text-align: center;
    line-height: 1.4;
    margin-top: 8px;
}

@media(max-width: 1000px) {
    .hero {
        padding: 40px 0 60px;
    }

    .hero__inner {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .hero__content h1 {
        font-size: 32px;
    }

    .hero-overlay {
        background: rgba(15, 23, 42, 0.85);
    }

    .calc-card {
        padding: 30px 20px;
        margin-top: 20px;
    }

    .calc-form__btns {
        flex-direction: column;
        gap: 12px;
    }
}

/* CTA Band */
.cta-band {
    background: var(--primary-color);
    padding: 40px 0;
    color: white;
}

.cta-band__inner {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 50px;
}

.cta-band__content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 25px;
}

.cta-band__actions {
    display: flex;
    align-items: center;
    gap: 40px;
}

.cta-band__phone {
    display: flex;
    flex-direction: column;
}

.cta-band__phone span {
    font-size: 13px;
    opacity: 0.8;
    margin-bottom: 2px;
}

.cta-band__phone a {
    font-size: 20px;
    font-weight: 800;
    color: white;
}

.cta-band__phone a:hover {
    color: var(--accent-color);
}

.cta-band__text h3 {
    font-size: 28px;
    margin-bottom: 12px;
    text-transform: uppercase;
    font-weight: 900;
}

.cta-band__text p {
    font-size: 17px;
    opacity: 0.95;
    font-weight: 500;
    line-height: 1.5;
    margin-bottom: 0;
}

.cta-band__master {
    flex-shrink: 0;
}

.cta-band__avatar {
    position: relative;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 3px solid rgba(255, 255, 255, 0.2);
    padding: 3px;
    background: rgba(255, 255, 255, 0.1);
}

.cta-band__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
    /* Смещение чуть вверх, чтобы лучше поймать лицо */
    border-radius: 50%;
    transform: scale(1.1);
    /* Легкий зум для крупного плана */
    transition: var(--transition);
}

.online-status {
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    background: #10b981;
    color: white;
    font-size: 11px;
    font-weight: 800;
    padding: 5px 12px;
    border-radius: 20px;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 7px;
    box-shadow: 0 4px 10px rgba(16, 185, 129, 0.4);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    animation: badge-pulse 2s infinite ease-in-out;
}

@keyframes badge-pulse {

    0%,
    100% {
        transform: translateX(-50%) scale(1);
        box-shadow: 0 4px 10px rgba(16, 185, 129, 0.4);
    }

    50% {
        transform: translateX(-50%) scale(1.05);
        box-shadow: 0 6px 15px rgba(16, 185, 129, 0.6);
    }
}

.online-dot {
    width: 9px;
    height: 9px;
    background: white;
    border-radius: 50%;
    position: relative;
    box-shadow: 0 0 5px white;
}

.online-dot::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: white;
    border-radius: 50%;
    animation: dot-pulse 1.5s infinite;
}

@keyframes dot-pulse {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.8;
    }

    100% {
        transform: translate(-50%, -50%) scale(3.5);
        opacity: 0;
    }
}

@media(max-width: 768px) {
    .cta-band__inner {
        flex-direction: column;
        text-align: center;
        gap: 25px;
    }

    .cta-band__content {
        align-items: center;
    }

    .cta-band__actions {
        flex-direction: column;
        gap: 15px;
        width: 100%;
    }

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

    .cta-band .btn {
        width: 100%;
    }

    .cta-band__avatar {
        width: 90px;
        height: 90px;
    }
}

/* Sections Common */
.section {
    padding: 100px 0;
}

.bg-white {
    background: white;
}

/* Portfolio */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.portfolio-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: var(--transition);
    box-shadow: var(--shadow-md);
}

.portfolio-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.portfolio-card__img {
    aspect-ratio: 16 / 10;
    height: auto;
    background: #cbd5e1;
    position: relative;
    overflow: hidden;
}

.portfolio-card__slider {
    position: relative;
    aspect-ratio: 16 / 10;
    height: auto;
    background: #cbd5e1;
    overflow: hidden;
}

.portfolio-slider__wrapper {
    display: flex;
    height: 100%;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -ms-overflow-style: none;
    /* IE components hide scrollbar */
    scrollbar-width: none;
    /* Firefox hide scrollbar */
}

.portfolio-slider__wrapper::-webkit-scrollbar {
    display: none;
    /* Chrome/Safari hide scrollbar */
}

.portfolio-slider__wrapper img {
    flex: 0 0 100%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    scroll-snap-align: start;
}

.portfolio-slider__dots {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 5;
    pointer-events: none;
}

.portfolio-slider__dots .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    transition: var(--transition);
}

.portfolio-slider__dots .dot.active {
    background: white;
    transform: scale(1.2);
}

.portfolio-slider__arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 20px;
    z-index: 10;
    transition: var(--transition);
}

.portfolio-slider__arrow:hover {
    background: rgba(255, 255, 255, 0.9);
    color: var(--primary-color);
}

.portfolio-slider__arrow.prev {
    left: 15px;
}

.portfolio-slider__arrow.next {
    right: 15px;
}

@media(max-width: 600px) {
    .portfolio-slider__arrow {
        width: 34px;
        height: 34px;
        font-size: 16px;
    }
}

.portfolio-card__content {
    padding: 30px;
}

.portfolio-card__content h3 {
    font-size: 22px;
    margin-bottom: 20px;
    color: var(--secondary-color);
    font-weight: 800;
    border-bottom: 2px solid var(--bg-light);
    padding-bottom: 15px;
}

.portfolio-card__text {
    font-size: 15px;
    margin-bottom: 16px;
    line-height: 1.6;
    color: var(--text-muted);
}

.portfolio-card__text span {
    font-weight: 800;
    color: var(--secondary-color);
    display: inline-block;
    margin-right: 4px;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 0.5px;
}

.portfolio-card__footer {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: space-between;
    align-items: center;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

.portfolio-card__price {
    font-size: 24px;
    font-weight: 900;
    color: var(--primary-color);
    width: 100%;
    margin-bottom: 4px;
}

.portfolio-card__time {
    font-size: 14px;
    font-weight: 700;
    color: var(--secondary-color);
    background: var(--bg-light);
    padding: 8px 16px;
    border-radius: 6px;
}

.portfolio-card__date {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted);
    background: #f1f5f9;
    padding: 6px 12px;
    border-radius: 6px;
    white-space: nowrap;
}

/* Expertise */
.expertise__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.expertise__img {
    background: url('image/master.jpg') center/cover;
    height: 500px;
    border-radius: 16px;
    box-shadow: var(--shadow-xl);
}

.expertise-list {
    display: grid;
    gap: 30px;
    margin-top: 20px;
}

.expertise-item {
    position: relative;
    padding-left: 30px;
}

.expertise-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 6px;
    width: 14px;
    height: 14px;
    background: var(--primary-color);
    border-radius: 50%;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.2);
}

.expertise-item h3 {
    font-size: 20px;
    margin-bottom: 8px;
    color: var(--secondary-color);
    font-weight: 800;
}

.expertise-item p {
    font-size: 16px;
    color: var(--text-muted);
    line-height: 1.6;
}

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

    .expertise-list {
        order: 2;
    }

    .expertise__img {
        height: 350px;
        order: 1;
        margin-top: 0;
        margin-bottom: 30px;
    }
}

/* Trust/Master */
.master-trust {
    background: var(--secondary-color);
    color: white;
    border-bottom: 6px solid var(--accent-color);
}

.master-trust__inner {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 60px;
    align-items: center;
}

.master-trust__img {
    height: 600px;
    background: url('image/sklad.jpg') center/cover;
    border-radius: 16px;
    border: 4px solid rgba(255, 255, 255, 0.1);
    box-shadow: var(--shadow-xl);
}

.master-trust__content .section-title {
    color: white;
    margin-bottom: 24px;
}

.master-trust__quote {
    font-size: 22px;
    font-style: italic;
    line-height: 1.6;
    margin: 30px 0;
    border-left: 4px solid var(--accent-color);
    padding-left: 24px;
    color: #cbd5e1;
}

.master-trust__quote strong {
    color: white;
    font-style: normal;
}

.master-trust__author {
    margin-bottom: 40px;
    margin-top: 40px;
}

.master-trust__author strong {
    display: block;
    font-size: 24px;
    color: white;
    margin-bottom: 4px;
    font-weight: 900;
}

.master-trust__author span {
    color: var(--accent-color);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 14px;
}

@media(max-width: 900px) {
    .master-trust__inner {
        grid-template-columns: 1fr;
    }

    .master-trust__img {
        height: 400px;
        order: 1;
        margin-bottom: 30px;
    }

    .master-trust__content {
        order: 2;
    }
}

/* Footer */
.footer {
    background: #020617;
    color: #94a3b8;
    padding: 60px 0 40px;
}

.footer__inner {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-title {
    color: white;
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer p {
    margin-bottom: 12px;
    font-size: 15px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 24px;
    text-align: center;
    font-size: 14px;
}

@media(max-width: 768px) {
    .footer__inner {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .logo {
        justify-content: center;
    }
}

/* Modals - High Performance 0-lag */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(15, 23, 42, 0.85);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

.modal-overlay.active {
    display: flex !important;
}

.modal-content {
    background: white;
    width: 90%;
    max-width: 480px;
    padding: 35px 30px;
    border-radius: 16px;
    position: relative;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
    animation: modalFastIn 0.1s ease-out;
}

@keyframes modalFastIn {
    from { opacity: 0; transform: scale(0.96); }
    to { opacity: 1; transform: scale(1); }
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 30px;
    cursor: pointer;
    color: #94a3b8;
    line-height: 1;
    transition: var(--transition);
}

.modal-close:hover {
    color: var(--secondary-color);
}

.modal-form {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.modal-form label {
    display: block;
    font-weight: 700;
    font-size: 14px;
    margin-bottom: 8px;
    color: var(--secondary-color);
}

.modal-form input,
.modal-form select {
    width: 100%;
    padding: 16px;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    font-family: inherit;
    font-size: 16px;
    margin-bottom: 20px;
    transition: var(--transition);
}

.modal-form input:focus,
.modal-form select:focus {
    outline: none;
    border-color: var(--primary-color);
    background: #eff6ff;
}

/* Phone Input Prefix */
.phone-input-wrapper {
    display: flex;
    align-items: stretch;
    margin-bottom: 20px;
}

.phone-prefix {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 16px;
    background: #f1f5f9;
    border: 2px solid var(--border-color);
    border-right: none;
    border-radius: 10px 0 0 10px;
    font-weight: 800;
    font-size: 16px;
    color: var(--secondary-color);
    transition: var(--transition);
}

.modal-form .phone-input-wrapper input {
    margin-bottom: 0;
    border-radius: 0 10px 10px 0;
    flex-grow: 1;
}

.phone-input-wrapper:focus-within .phone-prefix {
    border-color: var(--primary-color);
    background: #e0f2fe;
}

/* ===== Квиз: подбор АКПП на обмен ===== */

/* Поле ввода в квизе */
.akpp-quiz__input {
    width: 100%;
    padding: 16px;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    font-family: var(--font-main);
    font-size: 16px;
    color: var(--text-main);
    background: var(--bg-light);
    transition: var(--transition);
    display: block;
}

.akpp-quiz__input:focus {
    outline: none;
    border-color: var(--primary-color);
    background: white;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}

/* Сетка карточек вариантов */
.akpp-quiz__options {
    display: grid;
    gap: 12px;
}

/* Одна карточка варианта ответа */
.akpp-quiz__option {
    padding: 16px 20px;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    color: var(--text-main);
    cursor: pointer;
    background: white;
    transition: var(--transition);
    user-select: none;
    line-height: 1.4;
}

.akpp-quiz__option:hover {
    border-color: var(--primary-color);
    background: #eff6ff;
    color: var(--primary-color);
    transform: translateX(4px);
}

/* Выбранный вариант */
.akpp-quiz__option.selected {
    border-color: var(--primary-color);
    background: var(--primary-color);
    color: white;
    transform: translateX(4px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

/* Адаптив квиза под мобильные */
@media (max-width: 560px) {
    #modal-akpp-quiz .modal-content,
    #modal-repair-quiz .modal-content {
        padding: 30px 20px !important;
    }

    .akpp-quiz__option {
        font-size: 14px;
        padding: 14px 16px;
    }
}

/* ===== Кнопки выбора мессенджера в квизе ===== */

/* Ряд из трёх карточек */
.akpp-quiz__messenger-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

/* Одна карточка мессенджера */
.akpp-quiz__messenger {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px 10px;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    font-size: 14px;
    font-weight: 700;
    color: var(--text-main);
    cursor: pointer;
    background: white;
    transition: var(--transition);
    user-select: none;
    text-align: center;
}

.akpp-quiz__messenger-icon {
    font-size: 26px;
    line-height: 1;
}

.akpp-quiz__messenger:hover {
    border-color: var(--primary-color);
    background: #eff6ff;
    color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.15);
}

/* Выбранный мессенджер */
.akpp-quiz__messenger.selected {
    border-color: var(--primary-color);
    background: var(--primary-color);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(37, 99, 235, 0.35);
}