/* guarantees.css – стили для страницы гарантий */
.guarantees-page {
    padding-top: 0;
}

/* HERO */
.guarantees-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #0E1117 0%, #1a1f2e 100%);
    text-align: center;
    padding: 140px 0 60px;
    overflow: hidden;
}
.guarantees-hero h1 {
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: 1rem;
    font-family: var(--font-heading, 'Manrope'), sans-serif;
    font-weight: 700;
    color: var(--text-main);
}
.guarantees-hero h1 .accent {
    background: linear-gradient(135deg, var(--accent-gold) 0%, var(--accent-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 20px rgba(200, 169, 110, 0.2);
}
.hero-description {
    max-width: 700px;
    margin: 0 auto 2rem;
    color: rgba(240, 238, 229, 0.8);
    font-size: 1.1rem;
    line-height: 1.6;
}
.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Общие секции */
.section-dark {
    background: #131722;
}
.section-alt {
    background: #1a1f2e;
}
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}
section {
    padding: 80px 0;
}
section[id] {
    scroll-margin-top: 100px;
}
h2 {
    font-family: var(--font-heading, 'Manrope'), sans-serif;
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 700;
    color: var(--text-main);
    text-align: center;
    margin-bottom: 3rem;
}
h3 {
    font-family: var(--font-heading, 'Manrope'), sans-serif;
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--text-main);
}

/* Карточки (стекло) */
.trust-cards, .guarantee-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}
.card-glass {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 24px;
    padding: 2rem;
    transition: all 0.3s ease;
}
.card-glass:hover {
    border-color: rgba(200, 169, 110, 0.3);
    transform: translateY(-5px);
}
.card-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}
.card-glass p {
    color: rgba(240, 238, 229, 0.7);
    line-height: 1.5;
}

/* Гарантии (список) */
.guarantee-grid {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
}
.g-item {
    background: rgba(255, 255, 255, 0.02);
    border-left: 3px solid #C8A96E;
    padding: 1rem 1.5rem;
}
.g-mark {
    font-size: 1.5rem;
    color: #C8A96E;
    margin-right: 0.5rem;
}
.g-item h3 {
    display: inline-block;
    font-size: 1.2rem;
}
.g-item p {
    margin-top: 0.5rem;
    color: rgba(240, 238, 229, 0.75);
}
.fine-print {
    text-align: center;
    font-size: 0.85rem;
    color: rgba(240, 238, 229, 0.5);
    margin-top: 2rem;
}

/* Обслуживание (шаги) */
.service-steps {
    display: flex;
    justify-content: space-between;
    gap: 1.5rem;
    margin: 2rem 0;
    flex-wrap: wrap;
}
.step {
    flex: 1;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 20px;
    padding: 1.5rem;
    text-align: center;
}
.step-number {
    width: 40px;
    height: 40px;
    background: #C8A96E;
    color: #0E1117;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin-bottom: 1rem;
}
.step h3 {
    margin-bottom: 0.5rem;
}
.step p {
    color: rgba(240, 238, 229, 0.7);
    font-size: 0.95rem;
}
.note-italic {
    font-style: italic;
    color: rgba(240, 238, 229, 0.6);
    font-size: 0.9rem;
    text-align: center;
    margin-top: 1rem;
}

/* Кейс */
.case-study {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 20px;
    padding: 2rem;
    border-left: 4px solid #C8A96E;
    margin-top: 2rem;
}
.case-study p {
    color: rgba(240, 238, 229, 0.8);
    line-height: 1.6;
}
.case-quote {
    margin-top: 1rem;
    padding: 1rem;
    background: rgba(200, 169, 110, 0.05);
    border-radius: 12px;
    font-style: italic;
    color: #C8A96E;
}

/* FAQ аккордеон */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}
.faq-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    margin-bottom: 0.5rem;
}
.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    background: none;
    border: none;
    color: var(--text-main);
    font-size: 1.1rem;
    font-weight: 500;
    cursor: pointer;
    font-family: inherit;
    text-align: left;
}
.faq-question span {
    font-size: 1.5rem;
    color: #C8A96E;
    transition: transform 0.2s;
}
.faq-question:hover {
    color: #C8A96E;
}
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    color: rgba(240, 238, 229, 0.7);
    padding: 0;
}
.faq-item.active .faq-answer {
    max-height: 250px;
    padding-bottom: 1rem;
}
.faq-answer p {
    margin-bottom: 0.5rem;
}

/* Блок "Почему нас выбирают" */
.why-block {
    background: linear-gradient(135deg, rgba(255,255,255,0.03) 0%, rgba(255,255,255,0.01) 100%);
    border: 1px solid rgba(200, 169, 110, 0.1);
    border-radius: 24px;
    padding: 2.5rem;
    margin-top: 2rem;
    position: relative;
}
.why-block::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, transparent, #C8A96E, transparent);
    border-radius: 0 0 3px 3px;
}
.why-item {
    list-style: none;
    padding-left: 0;
}
.why-item li {
    margin-bottom: 0.75rem;
    color: rgba(240, 238, 229, 0.8);
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    line-height: 1.55;
    padding: 0.4rem 0.6rem;
    border-radius: 10px;
    transition: background 0.2s;
}
.why-item li:hover {
    background: rgba(200, 169, 110, 0.04);
}
.why-item li::before {
    content: "✓";
    color: #C8A96E;
    font-weight: bold;
    flex-shrink: 0;
    margin-top: 0.1em;
}
.why-item strong {
    display: block;
    font-size: 1.1rem;
    color: #C8A96E;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(200, 169, 110, 0.15);
}
.why-columns {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: space-between;
}
.why-columns > div {
    flex: 1;
    min-width: 240px;
}

/* Отступ для нижнего блока доверия */
.why-trust-section {
    margin-top: 2rem;
}

/* Блок доверия (нижняя часть) */
.why-trust-heading {
    font-size: 1.1rem;
    color: #C8A96E;
    display: block;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(200, 169, 110, 0.15);
}
.why-trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 0.75rem;
    margin-top: 1rem;
}
.why-trust-item {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.65rem 1rem;
    background: rgba(200, 169, 110, 0.05);
    border: 1px solid rgba(200, 169, 110, 0.12);
    border-radius: 12px;
    font-size: 0.95rem;
    color: rgba(240, 238, 229, 0.85);
    line-height: 1.3;
    transition: all 0.2s;
}
.why-trust-item:hover {
    background: rgba(200, 169, 110, 0.1);
    border-color: rgba(200, 169, 110, 0.3);
    transform: translateY(-1px);
}

/* Финальный CTA */
.guarantees-cta {
    text-align: center;
    padding: 80px 0;
    background: linear-gradient(180deg, #0E1117 0%, #131722 100%);
}
.guarantees-cta h2 {
    margin-bottom: 1rem;
}
.guarantees-cta p {
    max-width: 600px;
    margin: 0 auto 2rem;
    color: rgba(240, 238, 229, 0.7);
}
.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}
/* Кнопки наследуют глобальные стили .btn, только добавим отступы */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-outline {
    background: transparent;
    border: 1px solid rgba(200, 169, 110, 0.4);
    color: #C8A96E;
}
.btn-outline:hover {
    background: rgba(200, 169, 110, 0.1);
    border-color: #C8A96E;
}

/* Скрытый SEO-текст (видим, но малозаметен для пользователей) */
.seo-text {
    font-size: 12px;
    color: rgba(240, 238, 229, 0.3);
    text-align: center;
    padding: 20px 0 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    margin-top: 40px;
    line-height: 1.5;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

/* Единая золотая галочка */
.check-icon {
    display: inline-block;
    width: 18px;
    height: 18px;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%23C8A96E" stroke-width="2.5"><polyline points="20 6 9 17 4 12"></polyline></svg>') no-repeat center;
    background-size: contain;
    margin-right: 6px;
    vertical-align: middle;
    flex-shrink: 0;
}

/* Адаптив */
@media (max-width: 1024px) {
    .guarantees-hero {
        min-height: 100vh;
        min-height: 100dvh;
        padding: 130px 0 90px;
    }
}

@media (max-width: 768px) {
    .service-steps {
        flex-direction: column;
    }
    .guarantees-hero {
        min-height: 100vh;
        min-height: 100dvh;
        padding: 90px 0 80px;
    }
    .card-glass {
        -webkit-backdrop-filter: none;
        backdrop-filter: none;
    }
    h2 {
        margin-bottom: 2rem;
    }
    section {
        padding: 60px 0;
    }
    .why-columns {
        flex-direction: column;
        gap: 1rem;
    }
}
