/* Warranty page /garantii/ — scoped, does not affect other templates */

body.warranty-no-hero .header-content {
    display: none !important;
}
body.warranty-no-hero .header {
    min-height: 0;
}
body.warranty-no-hero .header-inner {
    min-height: 0 !important;
    padding-bottom: 0;
}
body.warranty-no-hero .header-media,
body.warranty-no-hero .header-img,
body.warranty-no-hero .header-img-overlay {
    display: none;
}
body.warranty-no-hero .breadcrumb-section,
body.inner-no-hero.warranty-no-hero .breadcrumb-section,
body.warranty-no-hero .breadcrumbs-section,
body.inner-no-hero.warranty-no-hero .breadcrumbs-section {
    padding-top: 0;
}

.warranty-page-section {
    --sg-primary: #1E2631;
    --sg-accent: #F39912;
    --sg-accent-hover: #E0870B;
    --sg-bg-light: #F8FAFC;
    --sg-card-border: #E2E8F0;
    --sg-text-main: #2D3748;
    --sg-text-muted: #64748B;
    --sg-white: #FFFFFF;
    --sg-green: #10B981;
    --sg-red: #EF4444;
    --sg-radius: 14px;
    --sg-transition: all 0.25s ease-in-out;
    background-color: var(--sg-bg-light);
    color: var(--sg-text-main);
    padding: 12px 0 72px;
}

.warranty-page {
    padding: 18px 0 8px;
}

.warranty-page h1,
.warranty-page h2,
.warranty-page h3,
.warranty-page h4 {
    text-transform: none;
    letter-spacing: -0.02em;
    color: var(--sg-primary);
}

.warranty-hero {
    margin-bottom: 50px;
}

.warranty-title {
    font-size: 38px;
    font-weight: 800;
    color: var(--sg-primary);
    line-height: 1.2;
    margin: 0 0 16px;
}

.warranty-lead {
    font-size: 17px;
    line-height: 1.6;
    color: var(--sg-text-muted);
    max-width: 860px;
    margin: 0 0 32px;
}

.warranty-metrics-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.w-metric-card {
    background: var(--sg-white);
    border: 1px solid var(--sg-card-border);
    border-radius: var(--sg-radius);
    padding: 22px 20px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
}

.w-metric-num {
    font-size: 32px;
    font-weight: 900;
    color: var(--sg-primary);
    line-height: 1;
}

.w-metric-label {
    font-size: 13px;
    color: var(--sg-text-muted);
    line-height: 1.4;
}

.w-metric-card--accent {
    background: linear-gradient(135deg, var(--sg-primary) 0%, #2D3A4B 100%);
}

.w-metric-card--accent .w-metric-num {
    color: var(--sg-accent);
}

.w-metric-card--accent .w-metric-label {
    color: #CBD5E1;
}

.warranty-cards-section,
.warranty-process-section,
.warranty-matrix-section {
    margin-bottom: 60px;
}

.warranty-section-head {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 36px;
}

.warranty-section-head h2 {
    font-size: 28px;
    font-weight: 700;
    color: var(--sg-primary);
    margin: 0 0 10px;
    line-height: 1.25;
}

.warranty-section-head p {
    color: var(--sg-text-muted);
    font-size: 15px;
    margin: 0;
    line-height: 1.5;
}

.warranty-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.w-card {
    background: var(--sg-white);
    border: 1px solid var(--sg-card-border);
    border-radius: 16px;
    padding: 32px 28px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
    transition: var(--sg-transition);
}

.w-card:hover {
    transform: translateY(-4px);
    border-color: #CBD5E1;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.06);
}

.w-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    gap: 12px;
}

.w-card-period {
    font-size: 24px;
    font-weight: 800;
    color: var(--sg-accent);
}

.w-card-badge {
    background: rgba(243, 153, 18, 0.12);
    color: #B45309;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 6px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    white-space: nowrap;
}

.w-card-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--sg-primary);
    margin: 0 0 10px;
    line-height: 1.3;
}

.w-card-desc {
    font-size: 14px;
    line-height: 1.5;
    color: var(--sg-text-muted);
    margin: 0 0 20px;
}

.w-card-list {
    list-style: none;
    padding: 18px 0 0;
    margin: auto 0 0;
    border-top: 1px solid var(--sg-bg-light);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.w-card-list li {
    font-size: 13px;
    color: #4A5568;
    position: relative;
    padding-left: 20px;
    line-height: 1.45;
}

.w-card-list li::before {
    content: "✔";
    position: absolute;
    left: 0;
    color: var(--sg-accent);
    font-size: 12px;
}

.warranty-steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.w-step-item {
    background: var(--sg-white);
    border: 1px solid var(--sg-card-border);
    border-radius: 14px;
    padding: 28px 24px;
    position: relative;
}

.w-step-num {
    font-size: 36px;
    font-weight: 900;
    color: #E2E8F0;
    line-height: 1;
    margin-bottom: 12px;
}

.w-step-time {
    font-size: 12px;
    font-weight: 700;
    color: var(--sg-accent);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 8px;
}

.w-step-name {
    font-size: 17px;
    font-weight: 700;
    color: var(--sg-primary);
    margin: 0 0 8px;
    line-height: 1.3;
}

.w-step-text {
    font-size: 13.5px;
    line-height: 1.5;
    color: var(--sg-text-muted);
    margin: 0;
}

.warranty-matrix-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
}

.w-matrix-box {
    background: var(--sg-white);
    border-radius: 16px;
    padding: 32px;
    border: 1px solid var(--sg-card-border);
}

.w-matrix-box--yes {
    border-top: 4px solid var(--sg-green);
}

.w-matrix-box--no {
    border-top: 4px solid var(--sg-red);
}

.w-matrix-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.w-matrix-box--yes .w-matrix-header svg {
    color: var(--sg-green);
    flex-shrink: 0;
}

.w-matrix-box--no .w-matrix-header svg {
    color: var(--sg-red);
    flex-shrink: 0;
}

.w-matrix-header h3 {
    font-size: 19px;
    font-weight: 700;
    color: var(--sg-primary);
    margin: 0;
    line-height: 1.3;
}

.w-matrix-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.w-matrix-list li {
    font-size: 14px;
    line-height: 1.5;
    color: var(--sg-text-main);
    position: relative;
    padding-left: 22px;
}

.w-matrix-box--yes .w-matrix-list li::before,
.w-matrix-box--no .w-matrix-list li::before {
    content: "•";
    font-size: 20px;
    position: absolute;
    left: 6px;
    top: -2px;
}

.w-matrix-box--yes .w-matrix-list li::before {
    color: var(--sg-green);
}

.w-matrix-box--no .w-matrix-list li::before {
    color: var(--sg-red);
}

.warranty-service-banner {
    background: var(--sg-primary);
    color: var(--sg-white);
    border-radius: 20px;
    padding: 40px;
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    gap: 40px;
    align-items: center;
    margin-bottom: 60px;
}

.w-service-badge {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--sg-accent);
    font-weight: 700;
    display: block;
    margin-bottom: 8px;
}

.w-service-content h2,
.warranty-service-banner h2 {
    font-size: 24px;
    font-weight: 700;
    margin: 0 0 12px;
    color: var(--sg-white);
    line-height: 1.3;
}

.w-service-content p {
    font-size: 15px;
    line-height: 1.6;
    color: #CBD5E1;
    margin: 0 0 24px;
}

.w-doc-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--sg-white);
    padding: 12px 20px;
    border-radius: 10px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: var(--sg-transition);
}

.w-doc-link:hover {
    background: rgba(255, 255, 255, 0.18);
    color: var(--sg-accent);
}

.w-card-cta {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 28px;
    border-radius: 14px;
    text-align: center;
}

.w-card-cta h3,
.w-card-cta h4 {
    font-size: 17px;
    font-weight: 700;
    margin: 0 0 6px;
    color: var(--sg-white);
    line-height: 1.3;
}

.w-card-cta p {
    font-size: 13px;
    color: #94A3B8;
    margin: 0 0 18px;
}

.w-btn-accent {
    display: block;
    background: var(--sg-accent);
    color: var(--sg-white);
    padding: 13px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 15px;
    transition: var(--sg-transition);
    text-align: center;
}

.w-btn-accent:hover {
    background: var(--sg-accent-hover);
    color: var(--sg-white);
}

.warranty-faq-section {
    max-width: 860px;
    margin: 0 auto 48px;
}

.w-faq-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.w-faq-item {
    background: var(--sg-white);
    border: 1px solid var(--sg-card-border);
    border-radius: 12px;
    overflow: hidden;
    transition: var(--sg-transition);
}

.w-faq-item[open] {
    border-color: #CBD5E1;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.w-faq-question {
    padding: 20px 24px;
    font-weight: 600;
    font-size: 16px;
    color: var(--sg-primary);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    user-select: none;
    list-style: none;
}

.w-faq-question::-webkit-details-marker,
.w-faq-question::marker {
    display: none;
    content: "";
}

.w-faq-arrow {
    width: 12px;
    height: 12px;
    border-right: 2px solid var(--sg-accent);
    border-bottom: 2px solid var(--sg-accent);
    transform: rotate(45deg);
    transition: var(--sg-transition);
    flex-shrink: 0;
}

.w-faq-item[open] .w-faq-arrow {
    transform: rotate(-135deg);
}

.w-faq-answer {
    padding: 0 24px 20px;
    color: var(--sg-text-muted);
    font-size: 14.5px;
    line-height: 1.6;
}

.w-faq-answer p {
    margin: 0;
}

.warranty-cta-section {
    background: var(--sg-white);
    border: 1px solid var(--sg-card-border);
    border-radius: 20px;
    padding: 36px 40px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.w-cta-inner {
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
}

.warranty-cta-section h2 {
    font-size: 26px;
    font-weight: 700;
    margin: 0 0 10px;
    line-height: 1.25;
}

.warranty-cta-section p {
    color: var(--sg-text-muted);
    font-size: 15px;
    margin: 0 0 22px;
    line-height: 1.55;
}

.w-cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

.w-cta-actions .w-btn-accent {
    min-width: 220px;
}

.w-btn-ghost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 220px;
    padding: 13px 20px;
    border-radius: 8px;
    border: 1px solid var(--sg-card-border);
    background: var(--sg-white);
    color: var(--sg-primary);
    text-decoration: none;
    font-weight: 700;
    font-size: 15px;
    transition: var(--sg-transition);
}

.w-btn-ghost:hover {
    border-color: var(--sg-accent);
    color: var(--sg-accent);
}

@media (max-width: 1024px) {
    .warranty-metrics-grid,
    .warranty-steps-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .warranty-cards-grid {
        grid-template-columns: 1fr;
    }

    .warranty-service-banner {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 30px;
    }

    .w-doc-link {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .warranty-page-section {
        padding: 8px 0 48px;
    }

    .warranty-matrix-grid {
        grid-template-columns: 1fr;
    }

    .warranty-title {
        font-size: 26px;
    }

    .warranty-section-head h2,
    .warranty-cta-section h2,
    .w-service-content h2 {
        font-size: 22px;
    }

    .warranty-metrics-grid,
    .warranty-steps-grid {
        grid-template-columns: 1fr;
    }

    .warranty-cta-section {
        padding: 24px 18px;
    }

    .w-cta-actions .w-btn-accent,
    .w-btn-ghost {
        width: 100%;
        min-width: 0;
    }

    .w-card,
    .w-matrix-box,
    .w-step-item {
        padding: 22px 18px;
    }

    .w-faq-question {
        padding: 16px 16px;
        font-size: 15px;
    }
}

@media (max-width: 360px) {
    .warranty-title {
        font-size: 22px;
    }

    .w-metric-num,
    .w-step-num {
        font-size: 28px;
    }

    .warranty-lead {
        font-size: 15px;
    }
}
