/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

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

/* Header Styles */
.header {
    background: linear-gradient(135deg, #1e3a5f 0%, #2c5282 100%);
    color: white;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

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

.logo h1 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.2rem;
}

.logo .highlight {
    color: #4CAF50;
}

.logo .tagline {
    font-size: 0.9rem;
    opacity: 0.8;
    font-weight: 400;
}

.nav {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav a:hover {
    color: #4CAF50;
}

.nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: #4CAF50;
    transition: width 0.3s ease;
}

.nav a:hover::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
}

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background-color: white;
    transition: all 0.3s ease;
}

.mobile-nav {
    display: none;
    flex-direction: column;
    background: rgba(30, 58, 95, 0.95);
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    padding: 1rem 0;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    transform: translateY(-10px);
    opacity: 0;
    transition: all 0.3s ease;
}

.mobile-nav.active {
    display: flex;
    transform: translateY(0);
    opacity: 1;
}

.mobile-nav a {
    color: white;
    text-decoration: none;
    padding: 0.8rem 2rem;
    font-weight: 500;
    transition: background-color 0.3s ease;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.mobile-nav a:hover {
    background-color: rgba(255,255,255,0.1);
    color: #4CAF50;
}

.mobile-nav a:last-child {
    border-bottom: none;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #1a365d 0%, #2d5aa0 100%);
    padding: 2rem 0;
}

.hero-banner {
    background: linear-gradient(135deg, #4c1d95 0%, #7c3aed 50%, #a855f7 100%);
    border-radius: 20px;
    padding: 2rem;
    position: relative;
    overflow: hidden;
    color: white;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.hero-content {
    display: flex;
    align-items: center;
    gap: 3rem;
    position: relative;
    z-index: 2;
}

.casino-name {
    background: #4CAF50;
    color: white;
    padding: 1rem;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1.2rem;
    text-align: center;
    line-height: 1.2;
}

.bonus-info {
    text-align: center;
}

.bonus-amount {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.bonus-text {
    font-size: 1rem;
    opacity: 0.9;
}

.hero-shapes {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
}

.shape-1 {
    width: 150px;
    height: 150px;
    background: #ff6b6b;
    top: -50px;
    right: 100px;
}

.shape-2 {
    width: 200px;
    height: 200px;
    background: #4ecdc4;
    bottom: -100px;
    right: -50px;
}

.shape-3 {
    width: 100px;
    height: 100px;
    background: #ffe66d;
    top: 50%;
    right: 50px;
}

/* Main Content */
.main {
    padding: 3rem 0;
}

.content-wrapper {
    display: grid;
    grid-template-columns: 3fr;
    gap: 3rem;
}

.intro-section h2 {
    font-size: 2.5rem;
    color: #1a365d;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.intro-section p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #4a5568;
    margin-bottom: 2rem;
}

.ranking-section h2 {
    font-size: 2.2rem;
    color: #1a365d;
    margin-bottom: 1rem;
    font-weight: 600;
}

.ranking-section p {
    font-size: 1.1rem;
    color: #4a5568;
    margin-bottom: 2.5rem;
}

/* Casino List */
.casino-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.casino-item {
    display: grid;
    grid-template-columns: auto auto 1fr 2fr auto;
    gap: 1.5rem;
    align-items: center;
    background: white;
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #e2e8f0;
}

.casino-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.casino-rank {
    font-size: 2rem;
    font-weight: 700;
    color: #1a365d;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #e2e8f0, #cbd5e0);
    border-radius: 12px;
}

.casino-logo-box {
    width: 120px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    color: white;
    font-weight: 700;
    font-size: 1.1rem;
}

.betera { background: linear-gradient(135deg, #1a1a1a, #333); }
.fonbet { background: linear-gradient(135deg, #dc2626, #ef4444); }
.onewin { background: linear-gradient(135deg, #3b82f6, #60a5fa); }
.riobet { background: linear-gradient(135deg, #059669, #10b981); }
.joycasino { background: linear-gradient(135deg, #7c3aed, #a855f7); }

.casino-info {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.stars {
    color: #fbbf24;
    font-size: 1.2rem;
}

.review-link {
    color: #4CAF50;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
}

.bonus-details {
    font-size: 0.9rem;
    color: #4a5568;
    line-height: 1.4;
}

.bonus-details strong {
    color: #1a365d;
}

.casino-features {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.feature {
    font-size: 0.9rem;
    color: #4a5568;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    line-height: 1.4;
}

.feature::before {
    content: '✓';
    color: #4CAF50;
    font-weight: bold;
    flex-shrink: 0;
}

.btn-play {
    background: linear-gradient(135deg, #4CAF50, #45a049);
    color: white;
    border: none;
    padding: 1rem 1.5rem;
    border-radius: 10px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3);
}

.btn-play:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(76, 175, 80, 0.4);
    background: linear-gradient(135deg, #45a049, #4CAF50);
}

.btn-play span {
    font-size: 0.8rem;
    opacity: 0.9;
}

/* Detailed Review */
.detailed-review {
    margin: 3rem 0;
}

.review-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    border: 1px solid #e2e8f0;
}

.review-header {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 2rem;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #e2e8f0;
}

.casino-logo-large {
    width: 150px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    color: white;
    font-weight: 700;
    font-size: 1.2rem;
}

.bonus-info-detailed h4 {
    color: #1a365d;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.bonus-info-detailed p {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.rating-summary {
    text-align: center;
}

.rating-score {
    font-size: 2.5rem;
    font-weight: 700;
    color: #4CAF50;
}

.stars-large {
    color: #fbbf24;
    font-size: 1.5rem;
    margin: 0.5rem 0;
}

.rating-label {
    font-size: 0.9rem;
    color: #4a5568;
    font-weight: 500;
}

.btn-play-large {
    background: linear-gradient(135deg, #4CAF50, #45a049);
    color: white;
    border: none;
    padding: 1.2rem 2rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3);
}

.btn-play-large:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(76, 175, 80, 0.4);
}

.review-content h3 {
    color: #1a365d;
    font-size: 1.3rem;
    margin: 2rem 0 1rem 0;
    font-weight: 600;
}

.review-content p {
    color: #4a5568;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.rating-bars {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.rating-item {
    display: grid;
    grid-template-columns: 150px 1fr;
    gap: 1rem;
    align-items: center;
}

.rating-item span {
    font-weight: 500;
    color: #4a5568;
}

.rating-bar {
    height: 8px;
    background: #e2e8f0;
    border-radius: 4px;
    overflow: hidden;
}

.rating-fill {
    height: 100%;
    background: linear-gradient(90deg, #4CAF50, #45a049);
    transition: width 0.8s ease;
}

/* Sidebar */
.sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.table-of-contents,
.content-index {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    border: 1px solid #e2e8f0;
}

.table-of-contents h3,
.content-index h3 {
    color: #1a365d;
    font-size: 1.2rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.table-of-contents ul,
.content-index ol {
    list-style: none;
    padding: 0;
}

.content-index ol {
    list-style: decimal;
    padding-left: 1.5rem;
}

.table-of-contents li,
.content-index li {
    margin-bottom: 0.8rem;
}

.table-of-contents a,
.content-index a {
    color: #4a5568;
    text-decoration: none;
    line-height: 1.5;
    transition: color 0.3s ease;
}

.table-of-contents a:hover,
.content-index a:hover {
    color: #4CAF50;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #1a365d 0%, #2c5282 100%);
    color: white;
    padding: 3rem 0 1rem 0;
    margin-top: 4rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-main h3 {
    color: #4CAF50;
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.footer-main p {
    line-height: 1.7;
    opacity: 0.9;
    font-size: 0.95rem;
}

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

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: white;
    text-decoration: none;
    opacity: 0.8;
    transition: all 0.3s ease;
    position: relative;
}

.footer-links a:hover {
    opacity: 1;
    color: #4CAF50;
    padding-left: 5px;
}

.footer-bottom {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    margin-bottom: 1rem;
}

.age-badge {
    background: #dc2626;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.2rem;
}

.disclaimer {
    font-size: 0.9rem;
    opacity: 0.8;
    line-height: 1.6;
}

.copyright {
    text-align: center;
    padding-top: 1rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    opacity: 0.7;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .content-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .casino-item {
        grid-template-columns: auto auto 1fr;
        gap: 1rem;
    }
    
    .casino-features,
    .play-button {
        grid-column: 1 / -1;
        margin-top: 1rem;
    }
    
    .review-header {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    .header {
        position: relative;
    }
    
    .nav {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .mobile-menu-btn.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .mobile-menu-btn.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-btn.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
    
    .hero-content {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }
    
    .bonus-amount {
        font-size: 2rem;
    }
    
    .intro-section h2 {
        font-size: 2rem;
    }
    
    .ranking-section h2 {
        font-size: 1.8rem;
    }
    
    .casino-item {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 1rem;
    }
    
    .casino-rank {
        justify-self: center;
    }
    
    .casino-logo-box {
        justify-self: center;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
    }
    
    .rating-item {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
}

@media (max-width: 480px) {
    .hero-banner {
        padding: 1.5rem;
    }
    
    .bonus-amount {
        font-size: 1.8rem;
    }
    
    .casino-item {
        padding: 1rem;
    }
    
    .intro-section h2 {
        font-size: 1.7rem;
    }
    
    .ranking-section h2 {
        font-size: 1.5rem;
    }
    
    .review-card {
        padding: 1.5rem;
    }
}

/* Animation Classes */
.fade-in {
    animation: fadeIn 0.6s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.slide-in-left {
    animation: slideInLeft 0.6s ease-out;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Loading States */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    border: 2px solid #4CAF50;
    border-top: 2px solid transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    transform: translate(-50%, -50%);
}

@keyframes spin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

/* якоря не прячутся под липкий хедер */
section, [id] { scroll-margin-top: 90px; }

/* скрытый текст для скринридеров */
.sr-only {
    position: absolute; width:1px; height:1px; padding:0; margin:-1px;
    overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0;
}
/* === Badge: единый вид и размер === */
.casino-logo-box{
    width: 180px;            /* можно 170–190 */
    min-height: 56px;
    padding: 8px 12px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}

/* ссылка-бренд внутри бейджа */
.casino-logo-box .casino-brand{
    display: block;
    color: #fff;
    text-decoration: none;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .4px;
    line-height: 1;
    font-size: 18px;         /* базовый размер — дальше JS подгонит */
    white-space: nowrap;     /* держим в одну строку */
    overflow: hidden;
    text-overflow: ellipsis; /* если совсем длинно, ставим троеточие */
}

/* лёгкий ховер без синего подчёркивания */
.casino-logo-box .casino-brand:hover{ opacity: .9; }

/* компакт на узких экранах */
@media (max-width: 480px){
    .casino-logo-box{ width: 160px; min-height: 52px; }
    .casino-logo-box .casino-brand{ font-size: 16px; }
}

/* Градиенты брендов (оставь свои, если уже есть) */
.rakoocasino24      { background: linear-gradient(135deg,#6D28D9,#8B5CF6); }
.starzinocasino24   { background: linear-gradient(135deg,#1E40AF,#3B82F6); }
.b7casinotop        { background: linear-gradient(135deg,#0EA5E9,#38BDF8); }
.crystalrollcasinos { background: linear-gradient(135deg,#059669,#10B981); }
.biluckycasinos     { background: linear-gradient(135deg,#D97706,#F59E0B); }

/* Кнопка-линк справа (если ещё не сделано) */
a.btn-play{
    display:inline-flex; align-items:center; justify-content:center;
    min-width:180px; padding:1rem 1.5rem; border-radius:10px;
    background: linear-gradient(135deg,#4CAF50,#45a049);
    color:#fff; text-decoration:none; font-weight:600; line-height:1.1;
    box-shadow:0 4px 15px rgba(76,175,80,.3); transition:.3s;
}
a.btn-play:hover{ transform:translateY(-2px); box-shadow:0 6px 20px rgba(76,175,80,.4); }
.btn-title{ display:block; font-size:1rem; }
.btn-sub{ display:block; font-size:.8rem; opacity:.9; }
.crystalrollcasinos .casino-brand{ font-size:16px; letter-spacing:.2px; }
/* Карточка + шапка как у донора */
.detailed-review .review-card{
    background:#fff; border-radius:16px; padding:20px; box-shadow:0 8px 32px rgba(16,24,40,.08);
}
.detailed-review .review-header{
    display:grid; grid-template-columns: 220px 1fr 220px; gap:20px; align-items:center;
}

/* Крупный логобейдж */
.casino-logo-large{
    height:64px; border-radius:16px; display:flex; align-items:center; justify-content:center; padding:10px 14px;
}
.casino-logo-large .casino-brand{
    color:#fff; text-decoration:none; font-weight:800; text-transform:uppercase; letter-spacing:.4px; line-height:1; white-space:nowrap;
    font-size:22px;
}

/* Градиент для Starzino (есть ещё — оставь свои) */
.starzinocasino24{ background: linear-gradient(135deg, #1E40AF, #3B82F6); }

/* Блок бонуса + суммарный рейтинг */
.review-summary{ display:flex; gap:28px; align-items:center; justify-content:flex-start; }
.bonus-info-detailed h4{ font-size:.8rem; letter-spacing:.06em; text-transform:uppercase; color:#475467; margin:0 0 4px; }
.bonus-info-detailed p{ margin:0 0 8px; font-weight:600; color:#0F172A; }

.rating-summary{ text-align:center; min-width:180px; }
.rating-score{ font-size:1.4rem; font-weight:800; color:#0F172A; }
.stars-large{ font-size:1.1rem; line-height:1; margin:.25rem 0 .35rem; letter-spacing:2px; }
.rating-label{ font-size:.75rem; color:#64748B; text-transform:uppercase; letter-spacing:.06em; }

/* Большая кнопка справа */
.play-button-large{ display:flex; justify-content:flex-end; }
.btn-play-large{
    display:inline-flex; align-items:center; justify-content:center; padding:14px 22px; border-radius:12px;
    background: linear-gradient(135deg,#22C55E,#16A34A); color:#fff; text-decoration:none; font-weight:700;
    box-shadow:0 8px 24px rgba(34,197,94,.35); transition:.25s;
}
.btn-play-large:hover{ transform:translateY(-2px); box-shadow:0 10px 28px rgba(34,197,94,.45); }

/* Полосы рейтингов */
.rating-bars{ margin-top:14px; display:grid; gap:10px; }
.rating-item{ display:grid; grid-template-columns: 180px 1fr; align-items:center; gap:16px; }
.rating-item span{ font-weight:600; color:#0F172A; }
.rating-bar{ width:100%; height:10px; border-radius:999px; background:#EEF2F6; overflow:hidden; }
.rating-fill{ height:100%; background:linear-gradient(90deg,#22C55E,#16A34A); }

/* Списки плюсов/минусов — аккуратные маркеры */
.advantages-section ul, .disadvantages-section ul{ padding-left:18px; margin:8px 0 0; }
.advantages-section li{ margin:6px 0; }
.disadvantages-section li{ margin:6px 0; }

/* Адаптив */
@media (max-width: 900px){
    .detailed-review .review-header{ grid-template-columns: 1fr; gap:14px; }
    .play-button-large{ justify-content:flex-start; }
    .rating-item{ grid-template-columns: 1fr; gap:8px; }
    .casino-logo-large{ height:58px; }
    .casino-logo-large .casino-brand{ font-size:20px; }
}
/* === Detailed Review: изображения === */
.detailed-review .review-content img{
    float: left;                          /* картинка слева */
    width: min(45%, 520px);               /* не шире 45% карточки, но и не больше 520px */
    height: auto;
    margin: 4px 20px 14px 0;              /* отступ справа и снизу */
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(16, 24, 40, .08);
}

/* Заголовки и большие блоки не должны «обтекать» картинку */
.detailed-review .review-content h3,
.detailed-review .rating-bars,
.detailed-review .advantages-section,
.detailed-review .disadvantages-section{
    clear: both;
}

/* Контейнер чистит флоаты на всякий */
.detailed-review .review-content::after{
    content:""; display:block; clear:both;
}

/* Варианты выравнивания (по желанию в разметке) */
.detailed-review .review-content img.img-right{
    float: right; margin: 4px 0 14px 20px;
}
.detailed-review .review-content img.img-full{
    float: none; display: block; width: 100%; margin: 12px 0;
}

/* Адаптив: на планшете/мобиле картинка выше текста, без флоата */
@media (max-width: 900px){
    .detailed-review .review-content img,
    .detailed-review .review-content img.img-right,
    .detailed-review .review-content img.img-full{
        float: none;
        display: block;
        width: 100%;
        margin: 12px 0;
    }
}
/* === CTA по центру в detailed-review === */
.detailed-review .play-button-large{
    display: flex;
    justify-content: center;   /* центрируем */
    margin-top: 18px;
}

.detailed-review .btn-play-large{
    min-width: 220px;
    text-align: center;
    margin: 0 auto;             /* на всякий */
}
/* ===== FAQ v2 — карточки, акцентный стиль ===== */

/* контейнер делаем «прозрачным», карточки — у самих пунктов */
.faq-section.review-light{
    background: transparent;
    border: 0;
    box-shadow: none;
    padding-top: 8px;
}
.faq-accordion{
    background: transparent;
    border: 0;
    box-shadow: none;
    border-radius: 0;
}

/* пункт FAQ = отдельная карточка */
.faq-item{
    background:#fff;
    border:1px solid #E6E9EF;
    border-radius:14px;
    margin:12px 0;
    box-shadow:0 8px 24px rgba(16,24,40,.06);
    overflow:hidden;
    transition: box-shadow .25s ease, transform .25s ease, border-color .25s ease;
}
.faq-item:hover{
    transform: translateY(-1px);
    box-shadow:0 12px 28px rgba(16,24,40,.08);
}
.faq-item.is-open{
    border-color: rgba(34,197,94,.35);        /* акцентный бордер при раскрытии */
    box-shadow:0 12px 30px rgba(34,197,94,.18);
}

/* триггер в виде строки с иконкой слева и стрелкой справа */
.faq-heading{ margin:0; }
.faq-trigger{
    width:100%;
    display:grid;
    grid-template-columns: 36px 1fr 28px;
    align-items:center;
    gap:12px;
    padding:16px 16px;
    background:transparent;
    border:0;
    font-size:1.02rem;
    font-weight:700;
    color:#0F172A;
    cursor:pointer;
    position:relative;
    text-align:left;
}
.faq-trigger:focus{
    outline:2px solid #94A3B8; outline-offset:2px; border-radius:10px;
}

/* кружок с «?» слева (можно заменить на свой SVG позже) */
.faq-trigger::before{
    content:"?";
    display:inline-flex; align-items:center; justify-content:center;
    width:28px; height:28px; border-radius:999px;
    color:#fff; font-weight:800; font-size:.9rem;
    background:linear-gradient(135deg,#22C55E,#16A34A);
}

/* стрелка справа */
.faq-trigger::after{
    content:"";
    justify-self:end;
    width:10px; height:10px;
    border-right:2px solid #64748B;
    border-bottom:2px solid #64748B;
    transform: rotate(45deg);
    transition: transform .25s ease, border-color .25s ease;
}
.faq-item.is-open .faq-trigger::after{
    transform: rotate(-135deg);
    border-color:#16A34A;
}

/* контент панели */
.faq-panel{
    max-height:0; overflow:hidden; opacity:0;
    transition:max-height .35s ease, opacity .25s ease, padding .2s ease, background-color .2s ease;
    padding:0 20px 0 64px;                 /* отступ слева под иконку */
    background:linear-gradient(180deg,#FAFAFB 0%, #F7FAFC 100%);
    border-top:1px dashed #E6E9EF;
}
.faq-panel p{
    color:#1F2937; margin:12px 0 18px; line-height:1.6;
}
.faq-item.is-open .faq-panel{
    max-height:1000px;    /* с запасом */
    opacity:1;
    padding:14px 20px 16px 64px;
}

/* мобильная адаптация */
@media (max-width:768px){
    .faq-trigger{ grid-template-columns:28px 1fr 22px; padding:14px 12px; }
    .faq-panel{ padding:0 14px 0 44px; }
    .faq-item.is-open .faq-panel{ padding:12px 14px 14px 44px; }
}
/* FAQ: убрать зелёное свечение при открытии */
.faq-item.is-open{
    border-color: #E6E9EF;                      /* нейтральная рамка */
    box-shadow: 0 12px 28px rgba(16,24,40,.08); /* без зелёного оттенка */
}

/* стрелка тоже без зелёного акцента */
.faq-item.is-open .faq-trigger::after{
    border-color: #64748B;
}
/* Hero banner (простая версия) */
.hero{ padding: 12px 0; }
.hero .hero-banner-link{
    display:block; max-width:1170px; margin:0 auto;
    border-radius:12px; overflow:hidden;
    box-shadow:0 8px 22px rgba(16,24,40,.08); transition:.25s;
}
.hero .hero-banner-link:hover{ transform:translateY(-1px); box-shadow:0 12px 28px rgba(16,24,40,.12); }
.hero .hero-banner-link img{ display:block; width:100%; height:auto; }
