/* garantie.css - pagina "Schimb, retur, garantie", 2026
   Markup: views/site/schimbreturgarantie.php (continut existent, doar restilizat).
   Aceiasi tokeni ca livrare.css / plata.css / service.css. */

.gr-page {
    --gr-brand: var(--c-brand, #1e50c8);
    --gr-deep: var(--c-brand-deep, #122a66);
    --gr-ink: #1c2438;
    --gr-mut: #67708a;
    --gr-wash: #f5f7fc;
    --gr-line: #e6eaf4;
    --gr-ok: #1f9d55;
    --gr-ok-bg: #e9f7ef;
    --gr-warn: #b7791f;
    --gr-warn-bg: #fdf6e3;
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem 1rem 3.5rem;
    color: var(--gr-ink);
    font-size: 15px;
    line-height: 1.6;
}
.gr-page *, .gr-page *::before, .gr-page *::after { box-sizing: border-box; }
.gr-page a { color: var(--gr-brand); }
.gr-page h1, .gr-page h2, .gr-page h3 { color: var(--gr-ink); font-weight: 600; }
.gr-page p { margin: 0 0 .9rem; }
.gr-page p:last-child { margin-bottom: 0; }

/* --- hero --- */
.gr-hero { position: relative; text-align: center; margin: 0 auto 1.75rem; max-width: 780px; padding: 1.25rem 1rem 1.25rem; }
.gr-hero::before {
    content: ""; position: absolute; inset: -1.5rem -40vw 0; z-index: -1; pointer-events: none;
    background: radial-gradient(ellipse 60% 70% at 50% 0%, rgba(30, 80, 200, .10), transparent 70%);
    -webkit-mask-image: linear-gradient(180deg, #000 30%, transparent 100%);
    mask-image: linear-gradient(180deg, #000 30%, transparent 100%);
}
.gr-hero h1 { font-size: 2rem; letter-spacing: -0.02em; margin: 0 0 1rem; line-height: 1.2; }

/* --- navigatie rapida intre sectiuni (text reluat din titlurile paginii) --- */
.gr-toc { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.gr-toc a {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 7px 14px; border-radius: 999px;
    background: var(--gr-wash); border: 1px solid var(--gr-line);
    font-size: 13px; font-weight: 600; color: var(--gr-deep); text-decoration: none;
    transition: background .15s ease, border-color .15s ease;
}
.gr-toc a:hover { background: #e8edfb; border-color: #c9d6f5; }
.gr-toc a i { color: var(--gr-brand); }

/* --- sectiuni --- */
.gr-section { margin-bottom: 2.25rem; scroll-margin-top: 1rem; }
.gr-section__head { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 1rem; }
.gr-section__head i { color: var(--gr-brand); font-size: 1.15rem; margin-top: .2rem; flex: none; }
.gr-section__head h2 { font-size: 1.25rem; margin: 0; letter-spacing: -0.01em; line-height: 1.3; }
.gr-card { background: #fff; border: 1px solid var(--gr-line); border-radius: 14px; padding: 1.35rem 1.5rem; }

/* --- liste --- */
.gr-list { list-style: none; margin: .75rem 0 1rem; padding: 0; }
.gr-list li { position: relative; padding-left: 24px; margin-bottom: .5rem; font-size: 14.5px; }
.gr-list li:last-child { margin-bottom: 0; }
.gr-list li::before {
    content: ""; position: absolute; left: 2px; top: .55em;
    width: 6px; height: 6px; border-radius: 50%; background: var(--gr-brand);
}
.gr-list--ok li::before {
    content: "\2713"; left: 0; top: 1px; width: 17px; height: 17px; border-radius: 50%;
    font-size: 11px; line-height: 17px; text-align: center; font-weight: 700;
    background: var(--gr-ok-bg); color: var(--gr-ok);
}
.gr-list--ok li { padding-left: 26px; }

/* --- lista finala (produse nealimentare) - grid pe 2 coloane --- */
.gr-annex-list {
    list-style: none; margin: 0; padding: 0;
    display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .5rem 1.5rem;
}
.gr-annex-list li {
    position: relative; padding: .5rem 0 .5rem 22px; font-size: 14px;
    border-bottom: 1px dashed var(--gr-line);
}
.gr-annex-list li::before {
    content: ""; position: absolute; left: 0; top: .95em;
    width: 6px; height: 6px; border-radius: 50%; background: var(--gr-brand);
}

/* --- nota importanta (telefon, atentionare) --- */
.gr-note {
    display: flex; gap: 10px; align-items: flex-start;
    background: var(--gr-wash); border: 1px solid var(--gr-line); border-radius: 12px;
    padding: .9rem 1.1rem; margin-top: 1rem; font-size: 14px;
}
.gr-note i { color: var(--gr-brand); margin-top: .15rem; flex: none; }
.gr-note a { font-weight: 600; white-space: nowrap; }
.gr-note--warn { background: var(--gr-warn-bg); border-color: #f0e0b8; }
.gr-note--warn i { color: var(--gr-warn); }

/* --- CTA final --- */
.gr-cta {
    display: flex; align-items: center; justify-content: space-between; gap: 1.25rem; flex-wrap: wrap;
    background: linear-gradient(135deg, var(--gr-deep) 0%, var(--gr-brand) 100%);
    color: #fff; border-radius: 16px; padding: 1.5rem 1.75rem; margin-top: 2.25rem;
}
.gr-cta p { margin: 0; font-size: 14.5px; }
.gr-cta a {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.35);
    color: #fff; border-radius: 10px; padding: 9px 14px; font-weight: 600; font-size: 14px; text-decoration: none;
    transition: background .15s ease; flex: none;
}
.gr-cta a:hover { background: rgba(255,255,255,.26); color: #fff; }

/* --- aparitie esalonata --- */
@keyframes gr-rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.gr-hero, .gr-section, .gr-cta { animation: gr-rise .5s cubic-bezier(.2,.7,.2,1) both; }
.gr-section:nth-of-type(2) { animation-delay: .08s; }
.gr-section:nth-of-type(3) { animation-delay: .14s; }
.gr-section:nth-of-type(4) { animation-delay: .2s; }
.gr-cta { animation-delay: .26s; }
@media (prefers-reduced-motion: reduce) {
    .gr-hero, .gr-section, .gr-cta { animation: none; }
}

/* --- responsive --- */
@media (max-width: 575px) {
    .gr-page { padding-top: 1.25rem; }
    .gr-hero h1 { font-size: 1.5rem; }
    .gr-card { padding: 1.1rem; }
    .gr-annex-list { grid-template-columns: 1fr; }
    .gr-cta { padding: 1.25rem; }
}
