/* Общие стили для всех лендингов — типографика и ритм */
:root {
    --color-wisteria: #BAACEB;
    --color-ultra-violet: #5F5AA5;
    --color-yellow-green: #B8D062;
    --color-avocado: #5E891B;
    --color-pakistan-green: #283B0A;

    --primary-color: var(--color-ultra-violet);
    --primary-dark: #4B4583;
    --secondary-color: var(--color-yellow-green);
    --text-dark: #1a1a1a;
    --text-light: #555;
    --text-muted: #6b7280;
    --bg-light: #f8f9fa;
    --border-color: #e5e7eb;
    --shadow: 0 2px 8px rgba(0,0,0,0.08);
    --shadow-hover: 0 8px 24px rgba(0,0,0,0.12);
    --space-unit: 0.5rem;
    --line-height-tight: 1.25;
    --line-height-body: 1.65;
    --line-height-loose: 1.75;
}

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

html {
    overflow-x: hidden;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-size: 1rem;
    line-height: var(--line-height-body);
    color: var(--text-dark);
    background: #fff;
    -webkit-font-smoothing: antialiased;
}

/* Skip link: доступность и SEO (виден при фокусе) */
.skip-link {
    position: absolute;
    top: -100px;
    left: 20px;
    z-index: 1000;
    padding: 0.75rem 1.25rem;
    background: var(--primary-color);
    color: #fff;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    transition: top 0.2s ease;
}
.skip-link:focus {
    top: 20px;
    outline: 2px solid currentColor;
    outline-offset: 2px;
}

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

/* Header */
header {
    background: #fff;
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--primary-color);
    text-decoration: none;
    display: flex;
    align-items: center;
}

.logo-img {
    height: 40px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
}

.nav-menu {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 1.25rem;
    margin: 0;
    padding: 0;
    font-size: 0.95rem;
}

.nav-menu li {
    margin: 0;
}

.nav-menu a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease, opacity 0.2s ease;
}

.nav-menu a:hover {
    color: var(--primary-color);
}

.nav-toggle {
    display: none;
    background: none;
    border: 0;
    padding: 0.25rem;
    margin-left: 1rem;
    cursor: pointer;
}

.nav-toggle-bar {
    display: block;
    width: 22px;
    height: 2px;
    border-radius: 999px;
    background: var(--text-dark);
    transition: transform 0.2s ease, opacity 0.2s ease, background-color 0.2s ease;
}

.nav-toggle-bar + .nav-toggle-bar {
    margin-top: 5px;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) {
    opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 767px) {
    .header-content {
        position: relative;
    }
    .nav-toggle {
        display: inline-flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        padding: 0.75rem 1.25rem 1rem;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
        background: #fff;
        box-shadow: 0 10px 25px rgba(15,23,42,0.12);
        border-bottom: 1px solid var(--border-color);
        max-height: 0;
        opacity: 0;
        pointer-events: none;
        visibility: hidden;
        transform-origin: top;
        transform: translateY(-4px);
        transition: opacity 0.2s ease, transform 0.2s ease, max-height 0.2s ease;
        z-index: 90;
        display: none;
    }
    .nav-menu.nav-menu-open {
        max-height: 420px;
        opacity: 1;
        pointer-events: auto;
        visibility: visible;
        transform: translateY(0);
        display: flex;
    }
}

@media (min-width: 768px) {
    .nav-toggle {
        display: none;
    }
}

@media (max-width: 768px) {
    header {
        padding: 0;
        box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    }
    .header-content {
        padding: 0.5rem 0;
        justify-content: space-between;
    }
    .logo-img {
        height: 52px;
        max-width: 180px;
    }
    .logo {
        font-size: 1.125rem;
    }
}

/* Hero Section */
.hero {
    padding: 4rem 0;
    text-align: center;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--hero-gradient, linear-gradient(135deg, #BAACEB 0%, #5F5AA5 100%));
    z-index: -1;
}

.hero h1 {
    font-size: clamp(2rem, 5vw, 3.25rem);
    line-height: var(--line-height-tight);
    letter-spacing: -0.03em;
    margin-bottom: 1.25rem;
    font-weight: 700;
}

.hero-subtitle {
    font-size: clamp(1.05rem, 2vw, 1.25rem);
    line-height: var(--line-height-loose);
    margin-bottom: 1rem;
    opacity: 0.95;
}

.hero-description {
    font-size: clamp(1rem, 2vw, 1.15rem);
    line-height: var(--line-height-loose);
    margin-bottom: 2rem;
    opacity: 0.95;
}

.hero-description-list {
    list-style: none;
    padding-left: 0;
    margin: 0 0 2rem 0;
    opacity: 0.95;
}
.hero-description-list-title {
    font-size: clamp(1rem, 2vw, 1.15rem);
    line-height: var(--line-height-loose);
    margin-bottom: 0.75rem;
}
.hero-description-list li {
    font-size: clamp(1rem, 2vw, 1.15rem);
    line-height: var(--line-height-loose);
    padding: 0.25rem 0 0.25rem 1.5rem;
    position: relative;
}
.hero-description-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: rgba(255,255,255,0.9);
}

/* CTA Button */
.cta-button {
    display: inline-block;
    padding: 0.875rem 2rem;
    background: var(--secondary-color);
    color: #fff;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 0.01em;
    transition: all 0.25s ease;
    box-shadow: var(--shadow);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
    background: var(--color-pakistan-green);
}

/* Problem Section */
.problem-section {
    padding: 4rem 0;
    background: var(--bg-light);
}

.section-title {
    text-align: center;
    font-size: clamp(1.75rem, 3.5vw, 2.25rem);
    line-height: var(--line-height-tight);
    letter-spacing: -0.02em;
    margin-bottom: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    max-width: 100%;
}

.problem-cases {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.problem-case {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

.problem-case:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.problem-case-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    background: linear-gradient(135deg, #BAACEB 0%, #5F5AA5 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: rgba(255,255,255,0.8);
    overflow: hidden;
}

.problem-case-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Если есть изображение, скрываем иконку */
.problem-case-image:has(img) {
    font-size: 0;
    background: transparent;
}

.problem-case-content {
    padding: 1.5rem;
}

.problem-case-title {
    font-size: 1.125rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.problem-case-text {
    color: var(--text-light);
    font-size: 0.9375rem;
    line-height: var(--line-height-loose);
}

.consequences {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

.consequences-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: #dc2626;
    margin-bottom: 0.5rem;
}

.consequences-list {
    list-style: none;
    padding-left: 0;
}

.consequences-list li {
    padding: 0.3rem 0;
    color: var(--text-light);
    font-size: 0.9rem;
    position: relative;
    padding-left: 1.2rem;
}

.consequences-list li:before {
    content: "⚠";
    position: absolute;
    left: 0;
    color: #dc2626;
}

/* Features Section */
.features {
    padding: 4rem 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.feature-card {
    background: #fff;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

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

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.feature-card p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Блок «Робот напоминает вместо вас» — снятие возражения про напоминания */
.reminder-robot-block {
    padding: 2.5rem 1.5rem;
    margin: 2rem 0;
    background: linear-gradient(135deg, rgba(186, 172, 235, 0.16) 0%, rgba(95, 90, 165, 0.18) 100%);
    border-radius: 16px;
    border-left: 4px solid var(--primary-color);
    text-align: left;
}
.reminder-robot-block .reminder-robot-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
    line-height: 1.35;
}
.reminder-robot-block .reminder-robot-text {
    color: var(--text-light);
    line-height: 1.65;
    margin: 0;
}

/* Секция «Как заполняете расписание» — 3 столпа ценности */
.schedule-value-section {
    padding: 4rem 0;
    background: var(--bg-light);
}
.schedule-value-section .section-title {
    text-align: center;
    margin-bottom: 2rem;
}
.schedule-value-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}
.schedule-value-card {
    background: #fff;
    padding: 1.75rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    border-top: 4px solid var(--primary-color);
    transition: all 0.25s ease;
}
.schedule-value-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}
.schedule-value-card .card-icon {
    font-size: 2rem;
    margin-bottom: 0.75rem;
}
.schedule-value-card h3 {
    font-size: 1.15rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}
.schedule-value-card p {
    color: var(--text-light);
    font-size: 0.9375rem;
    line-height: 1.55;
}

/* Секция «Подключение за 5 минут» */
.quick-start-section {
    padding: 3rem 0;
    text-align: center;
}
.quick-start-section .section-title { margin-bottom: 0.75rem; }
.quick-start-section p { color: var(--text-light); margin-bottom: 1.25rem; max-width: 520px; margin-left: auto; margin-right: auto; }

/* Tariffs Section */
.tariffs {
    padding: 4rem 0;
    background: var(--bg-light);
}

.index-tariffs {
    padding-top: 2.5rem;
}

@media (max-width: 768px) {
    .index-tariffs {
        padding-top: 2rem;
    }
}

.tariffs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.tariff-card {
    background: #fff;
    border: 2px solid var(--border-color);
    border-radius: 16px;
    padding: 2.5rem 2rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
}

.tariff-card:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-hover);
    transform: translateY(-5px);
}

.tariff-card.featured {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-hover);
}

.tariff-badge {
    position: absolute;
    top: -12px;
    right: 20px;
    background: var(--primary-color);
    color: #fff;
    padding: 0.3rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.tariff-card.tariff-ultra {
    border: 2px solid #d4af37;
    box-shadow: 0 4px 20px rgba(212, 175, 55, 0.25);
}

.tariff-card.tariff-ultra:hover {
    box-shadow: 0 8px 28px rgba(212, 175, 55, 0.35);
}

.tariff-card.tariff-ultra .tariff-price {
    color: #d4af37;
}

.tariff-card.tariff-ultra .tariff-name {
    color: #c9a227;
}

.tariff-card.tariff-ultra .tariff-button {
    background: linear-gradient(135deg, #d4af37 0%, #b8962e 100%);
    color: #1a1a1a;
}

.tariff-card.tariff-ultra .tariff-button:hover {
    background: linear-gradient(135deg, #e0bc40 0%, #c9a232 100%);
    color: #1a1a1a;
    transform: translateY(-2px);
}

.tariff-badge-best {
    background: linear-gradient(135deg, #d4af37 0%, #b8962e 100%);
    color: #1a1a1a;
    left: 20px;
    right: auto;
}

@media (max-width: 768px) {
    .tariffs-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .tariff-card {
        padding: 2rem 1.5rem;
        min-height: auto;
    }
    .tariff-card.tariff-ultra {
        border: 2px solid #d4af37;
        box-shadow: 0 4px 20px rgba(212, 175, 55, 0.25);
    }
    .tariff-card.tariff-ultra .tariff-price,
    .tariff-card.tariff-ultra .tariff-name {
        color: #d4af37;
    }
    .tariff-features {
        margin: 1.25rem 0;
    }
    .tariff-button {
        margin-top: 1.25rem;
        position: relative;
        z-index: 1;
    }
    .tariff-badge {
        top: -10px;
        right: 15px;
        font-size: 0.8rem;
        padding: 0.25rem 0.875rem;
    }
    .tariff-badge-best {
        left: 15px;
        right: auto;
    }
}

.tariff-name {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 0.5rem;
}

.tariff-price {
    font-size: 2.25rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--primary-color);
    margin: 1rem 0;
}

.tariff-price .period {
    font-size: 0.9375rem;
    color: var(--text-light);
    font-weight: 500;
}

.tariff-price-note {
    display: block;
    font-size: 0.75rem;
    color: var(--text-muted, #888);
    font-weight: 400;
    margin-top: 0.15rem;
}

.tariff-description {
    color: var(--text-light);
    font-size: 0.9375rem;
    margin-bottom: 1.25rem;
    line-height: var(--line-height-body);
}

.tariff-features {
    list-style: none;
    text-align: left;
    margin: 1.5rem 0;
}

.tariff-features li {
    padding: 0.4rem 0;
    font-size: 0.9375rem;
    line-height: var(--line-height-body);
    color: var(--text-dark);
    position: relative;
    padding-left: 1.5rem;
}

.tariff-features li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--color-avocado);
    font-weight: bold;
}

.tariff-feature-muted,
li.tariff-feature-muted {
    color: var(--text-muted, #888) !important;
    font-weight: 400;
}
.tariff-features li.tariff-feature-muted:before {
    content: "—";
    color: var(--text-muted, #888);
}

.tariff-card.tariff-ultra .tariff-features li:before {
    color: #d4af37;
}

.tariff-button {
    display: inline-block;
    width: 100%;
    padding: 0.9rem;
    background: var(--primary-color);
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    margin-top: 1rem;
}

.tariff-card .tariff-features {
    flex: 1 1 auto;
}

.tariff-card .tariff-button {
    margin-top: 1.5rem;
}

.feature-soon {
    font-size: 0.75rem;
    color: var(--text-muted, #888);
    font-weight: 600;
    margin-left: 0.35rem;
}

.tariff-button:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.tariff-button.secondary {
    background: var(--bg-light);
    color: var(--text-dark);
    border: 2px solid var(--border-color);
}

.tariff-button.secondary:hover {
    background: var(--border-color);
}

/* Footer */
footer {
    background: var(--text-dark);
    color: #fff;
    padding: 2rem 0;
    text-align: center;
}

footer a {
    color: #fff;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

footer a:hover {
    opacity: 0.8;
    text-decoration: underline;
}

footer h3 {
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
    text-align: left;
}

.footer-section p {
    font-size: 0.875rem;
    line-height: var(--line-height-loose);
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    font-size: 0.9rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.2);
    padding-top: 1rem;
    margin-top: 1rem;
}

/* Responsive */
@media (max-width: 768px) {
    .hero {
        padding: 2.5rem 0;
    }
    
    .features-grid,
    .tariffs-grid,
    .problem-cases {
        grid-template-columns: 1fr;
    }
    
    .header-content {
        flex-direction: row;
        gap: 0.75rem;
        justify-content: space-between;
    }
}

/* Промежуточный CTA блок на главной — стабильное центрирование кнопки «Начать в Telegram» */
.mid-cta-section {
    padding: 3rem 0;
    background: #fff;
    text-align: center;
    border-top: 1px solid var(--border-color);
    overflow-x: hidden;
}

.mid-cta-section .container {
    width: 100%;
    min-width: 0;
}

.mid-cta-content {
    display: flex;
    align-items: center;
    gap: 3rem;
    flex-wrap: wrap;
    justify-content: center;
}

.mid-cta-visual {
    flex: 0 1 400px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-hover);
}

.mid-cta-visual img {
    width: 100%;
    height: auto;
    display: block;
}

.mid-cta-text {
    flex: 1 1 500px;
    text-align: center;
}

@media (max-width: 768px) {
    .mid-cta-content {
        flex-direction: column;
    }
    .mid-cta-visual {
        flex: 1 1 100%;
        width: 100%;
    }
    .mid-cta-text {
        flex: 1 1 auto;
    }
}

.mid-cta-section .section-title {
    margin-bottom: 0.75rem;
}

.mid-cta-section .cta-button-wrap,
.start-now-section .cta-button-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin: 0;
    padding: 0;
}

.mid-cta-section p.text-center {
    display: block;
    width: 100%;
    margin-left: 0;
    margin-right: 0;
}

.mid-cta-section .cta-button,
.mid-cta-section .start-now-btn {
    display: inline-block;
    padding: 0.875rem 2rem;
    background: var(--secondary-color);
    color: #fff !important;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.25s ease;
}

.mid-cta-section .cta-button:hover,
.mid-cta-section .start-now-btn:hover {
    background: var(--color-pakistan-green);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

/* Тарифы на главной */
.index-tariffs .tariffs-grid {
    max-width: 960px;
    margin-left: auto;
    margin-right: auto;
}
@media (min-width: 1024px) {
    .index-tariffs .tariffs-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

/* Блок доверия и отзывов — без «плывущей» верстки */
.trust-section {
    padding: 4rem 0;
    background: var(--bg-light);
    overflow-x: hidden;
}

.trust-section .container {
    width: 100%;
    min-width: 0;
}

.trust-section .section-title {
    margin-bottom: 0.5rem;
}

.trust-section .section-subtitle {
    text-align: center;
    font-size: 1rem;
    color: var(--text-light);
    margin-bottom: 2.5rem;
    max-width: 36rem;
    margin-left: auto;
    margin-right: auto;
}

.trust-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 3rem;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 640px) {
    .trust-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

.trust-stat {
    text-align: center;
    background: #fff;
    padding: 1.75rem 1.25rem;
    border-radius: 16px;
    box-shadow: var(--shadow);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    border: 1px solid rgba(95, 90, 165, 0.18);
}

.trust-stat:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

.trust-stat-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(186, 172, 235, 0.32) 0%, rgba(95, 90, 165, 0.18) 100%);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.trust-stat-value {
    display: block;
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.35rem;
    letter-spacing: -0.01em;
}

.trust-stat-label {
    font-size: 0.875rem;
    color: var(--text-light);
    line-height: 1.45;
}

.trust-reviews-heading {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-dark);
    text-align: center;
    margin-bottom: 1.5rem;
    letter-spacing: -0.01em;
}

.reviews-preview {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    max-width: 960px;
    margin: 0 auto;
}

@media (max-width: 900px) {
    .reviews-preview {
        grid-template-columns: repeat(2, 1fr);
        max-width: 640px;
    }
}

@media (max-width: 640px) {
    .reviews-preview {
        grid-template-columns: 1fr;
    }
}

.review-card {
    background: #fff;
    padding: 1.75rem 1.5rem;
    border-radius: 16px;
    box-shadow: var(--shadow);
    position: relative;
    border-left: 4px solid var(--primary-color);
    transition: box-shadow 0.25s ease;
}

.review-card:hover {
    box-shadow: var(--shadow-hover);
}

.review-card::before {
    content: '"';
    position: absolute;
    top: 0.75rem;
    left: 1.25rem;
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--primary-color);
    opacity: 0.2;
    line-height: 1;
    font-family: Georgia, serif;
    z-index: 0;
}

.review-text {
    font-size: 1rem;
    line-height: 1.65;
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-style: italic;
    position: relative;
    padding-left: 1.25rem;
    z-index: 1;
}

.review-author {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-light);
    position: relative;
    z-index: 1;
}

/* Промо-акция с отзывами */
.review-promo {
    margin-top: 3rem;
    padding-top: 2.5rem;
    border-top: 2px solid var(--border-color);
}

.review-promo-content {
    max-width: 720px;
    margin: 0 auto;
    background: linear-gradient(135deg, rgba(186, 172, 235, 0.10) 0%, rgba(95, 90, 165, 0.10) 50%, rgba(94, 137, 27, 0.08) 100%);
    padding: 2rem;
    border-radius: 16px;
    border: 2px solid rgba(95, 90, 165, 0.25);
}

.review-promo-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    text-align: center;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.review-promo-options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

@media (max-width: 640px) {
    .review-promo-options {
        grid-template-columns: 1fr;
    }
}

.review-promo-option {
    background: #fff;
    padding: 1.5rem;
    border-radius: 12px;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    box-shadow: var(--shadow);
    border: 2px solid rgba(95, 90, 165, 0.18);
}

.review-promo-option-link {
    text-decoration: none;
    color: inherit;
    transition: all 0.25s ease;
}
.review-promo-option-link:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-hover);
    transform: translateY(-2px);
}

.review-promo-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.review-promo-text {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.review-promo-text strong {
    font-size: 1.0625rem;
    font-weight: 600;
    color: var(--text-dark);
    letter-spacing: -0.01em;
}

.review-promo-text span {
    font-size: 0.9375rem;
    color: var(--text-light);
}

.review-promo-description {
    font-size: 0.9375rem;
    line-height: 1.6;
    color: var(--text-dark);
    text-align: center;
    margin-bottom: 1rem;
}

.review-promo-description a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

.review-promo-description a:hover {
    text-decoration: underline;
}

.review-promo-link {
    display: block;
    text-align: center;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9375rem;
    transition: opacity 0.25s ease;
}

.review-promo-link:hover {
    opacity: 0.8;
    text-decoration: underline;
}

/* Секция «Начать прямо сейчас» в конце страницы — стабильная верстка */
.start-now-section {
    padding: 3rem 0 3rem 0;
    margin-bottom: 0;
    background: var(--bg-light);
    text-align: center;
    overflow-x: hidden;
}

.start-now-section .container {
    width: 100%;
    min-width: 0;
}

.start-now-content {
    display: flex;
    align-items: center;
    gap: 3rem;
    flex-wrap: wrap;
    justify-content: center;
}

.start-now-visual {
    flex: 0 1 400px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-hover);
}

.start-now-visual img {
    width: 100%;
    height: auto;
    display: block;
}

.start-now-text {
    flex: 1 1 500px;
    text-align: center;
}

@media (max-width: 768px) {
    .start-now-content {
        flex-direction: column;
    }
    .start-now-visual {
        flex: 1 1 100%;
        width: 100%;
    }
    .start-now-text {
        flex: 1 1 auto;
    }
}

.start-now-section .section-title {
    margin-bottom: 0.75rem;
}

.start-now-section p.text-center {
    display: block;
    width: 100%;
}

.start-now-section p {
    font-size: 1rem;
    line-height: var(--line-height-body);
}

.start-now-section p:last-of-type {
    margin-bottom: 0;
}

.start-now-section .cta-button,
.start-now-section .start-now-btn {
    display: inline-block;
    padding: 0.875rem 2rem;
    margin-bottom: 2rem;
    background: var(--secondary-color);
    color: #fff !important;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 0.01em;
    transition: all 0.25s ease;
}

.start-now-section .cta-button:hover,
.start-now-section .start-now-btn:hover {
    background: var(--color-pakistan-green);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

/* Плавающие кнопки: слой на весь viewport, кнопки прижаты к правому нижнему углу (без «плывущей» верстки) */
.floating-cta-viewport {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    pointer-events: none;
}

.floating-cta {
    position: absolute;
    right: 20px;
    bottom: 24px;
    pointer-events: auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: flex-end;
}

.floating-cta a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 18px;
    background: var(--secondary-color);
    color: #fff !important;
    text-decoration: none;
    border-radius: 24px;
    font-weight: 600;
    font-size: 0.95rem;
    box-shadow: 0 4px 16px rgba(95, 90, 165, 0.45);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    white-space: nowrap;
}

.floating-cta a:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(95, 90, 165, 0.5);
}

.floating-cta a.floating-cta-primary {
    background: var(--secondary-color);
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.45);
}

.floating-cta a.floating-cta-primary:hover {
    background: var(--color-pakistan-green);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
}

.floating-cta a.floating-cta-secondary {
    background: var(--color-ultra-violet);
    box-shadow: 0 4px 16px rgba(95, 90, 165, 0.45);
}

.floating-cta a.floating-cta-secondary:hover {
    background: var(--primary-dark);
    box-shadow: 0 6px 20px rgba(95, 90, 165, 0.5);
}

@media (max-width: 768px) {
    .floating-cta {
        right: 12px;
        bottom: 16px;
        gap: 8px;
    }
    .floating-cta a {
        padding: 10px 14px;
        font-size: 0.85rem;
        white-space: normal;
        text-align: center;
    }
}

/* Учёт safe-area на устройствах с вырезами */
@supports (padding: env(safe-area-inset-right)) {
    .floating-cta {
        right: calc(20px + env(safe-area-inset-right));
        bottom: calc(24px + env(safe-area-inset-bottom));
    }
}
@media (max-width: 768px) {
    @supports (padding: env(safe-area-inset-right)) {
        .floating-cta {
            right: calc(12px + env(safe-area-inset-right));
            bottom: calc(16px + env(safe-area-inset-bottom));
        }
    }
}

/* SEO оптимизация */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}
