/* livrare.css - pagina "Conditii de livrare", redesign 2026
   Markup: templates/content/<brand>/livrarepage.ro.php
   Inregistrat din views/site/livrarepage.php. */

.lv-page {
    --lv-brand: #1e50c8;
    --lv-deep: #122a66;
    --lv-ink: #1c2438;
    --lv-mut: #67708a;
    --lv-wash: #f5f7fc;
    --lv-line: #e6eaf4;
    --lv-ok: #1f9d55;
    --lv-ok-bg: #e9f7ef;
    --lv-warn: #b7791f;
    --lv-no: #c53030;
    --lv-no-bg: #fdecec;
    max-width: 1100px;
    margin: 0 auto;
    padding: 2rem 1rem 3.5rem;
    color: var(--lv-ink);
    font-size: 15px;
    line-height: 1.55;
}
.lv-page *, .lv-page *::before, .lv-page *::after { box-sizing: border-box; }
.lv-page a { color: var(--lv-brand); }
.lv-page h1, .lv-page h2, .lv-page h3 { color: var(--lv-ink); font-weight: 600; }

/* --- hero: fundal cu puncte (harta stilizata) + halou albastru --- */
.lv-hero {
    position: relative; text-align: center; margin: 0 auto 2.25rem; max-width: 760px;
    padding: 1.25rem 1rem 1.5rem;
}
.lv-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%),
        radial-gradient(circle, var(--lv-line) 1.2px, transparent 1.6px) 0 0 / 22px 22px;
    -webkit-mask-image: linear-gradient(180deg, #000 30%, transparent 100%);
    mask-image: linear-gradient(180deg, #000 30%, transparent 100%);
}
.lv-mut { color: var(--lv-mut); }
.lv-zone__price--sm { font-size: 1rem; }

/* aparitie esalonata la incarcare */
@keyframes lv-rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.lv-hero, .lv-zone, .lv-section, .lv-cta { animation: lv-rise .55s cubic-bezier(.2,.7,.2,1) both; }
.lv-zone:nth-child(1) { animation-delay: .08s; }
.lv-zone:nth-child(2) { animation-delay: .16s; }
.lv-zone:nth-child(3) { animation-delay: .24s; }
.lv-zone:nth-child(4) { animation-delay: .32s; }
.lv-section { animation-delay: .35s; }
.lv-cta { animation-delay: .4s; }
@media (prefers-reduced-motion: reduce) {
    .lv-hero, .lv-zone, .lv-section, .lv-cta { animation: none; }
    .lv-zone:hover { transform: none; }
}
.lv-hero h1 { font-size: 2rem; letter-spacing: -0.02em; margin: 0 0 0.6rem; line-height: 1.2; }
.lv-hero__lead { font-size: 1.05rem; color: var(--lv-mut); margin: 0 0 1.1rem; }
.lv-hero__chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.lv-chip {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 6px 12px; border-radius: 999px;
    background: var(--lv-wash); border: 1px solid var(--lv-line);
    font-size: 13px; font-weight: 600; color: var(--lv-deep);
}
.lv-chip i { color: var(--lv-brand); }

/* --- carduri zone --- */
.lv-zones {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
    margin-bottom: 2.5rem;
}
.lv-zone {
    position: relative;
    display: flex; flex-direction: column;
    background: #fff;
    border: 1px solid var(--lv-line);
    border-radius: 14px;
    padding: 1.25rem 1.25rem 1.1rem;
    transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease;
}
.lv-zone:hover { box-shadow: 0 10px 28px rgba(18, 42, 102, .10); transform: translateY(-2px); border-color: #cfd8f0; }
.lv-zone--free { border-color: #bfe6cf; background: linear-gradient(180deg, #f3fbf6 0%, #fff 60%); }
.lv-zone__icon {
    width: 44px; height: 44px; border-radius: 12px;
    display: inline-flex; align-items: center; justify-content: center;
    background: var(--lv-wash); color: var(--lv-brand); font-size: 1.15rem;
    margin-bottom: .85rem;
}
.lv-zone--free .lv-zone__icon { background: var(--lv-ok-bg); color: var(--lv-ok); }
.lv-zone__name { font-size: 1rem; font-weight: 600; margin: 0 0 .15rem; }
.lv-zone__area { font-size: 12.5px; color: var(--lv-mut); min-height: 4.7em; margin: 0 0 .75rem; }
.lv-zone__price { font-size: 1.7rem; font-weight: 700; color: var(--lv-deep); line-height: 1.1; letter-spacing: -0.02em; }
.lv-zone__price small { font-size: .95rem; font-weight: 600; color: var(--lv-mut); margin-left: 3px; }
/* "de la 100 lei": prefixul e mai mic si mai discret decit cifra */
.lv-zone__from { font-size: .95rem; font-weight: 600; color: var(--lv-mut); }
.lv-zone--free .lv-zone__price { color: var(--lv-ok); }
.lv-zone__badge {
    display: inline-block; margin-top: .45rem; align-self: flex-start;
    font-size: 12px; font-weight: 600; color: var(--lv-ok);
    background: var(--lv-ok-bg); border-radius: 6px; padding: 2px 8px;
}
.lv-zone__meta { list-style: none; margin: .9rem 0 0; padding: .9rem 0 0; border-top: 1px dashed var(--lv-line); font-size: 13px; color: var(--lv-mut); }
.lv-zone__meta li { display: flex; gap: 8px; align-items: flex-start; margin-bottom: .35rem; }
.lv-zone__meta li:last-child { margin-bottom: 0; }
.lv-zone__meta i { color: var(--lv-brand); width: 14px; text-align: center; margin-top: 3px; flex: none; }

/* --- sectiuni --- */
.lv-section { margin-bottom: 2.5rem; }
.lv-section__head { display: flex; align-items: center; gap: 12px; margin-bottom: 1rem; }
.lv-section__head h2 { font-size: 1.3rem; margin: 0; letter-spacing: -0.01em; }
.lv-section__head i { color: var(--lv-brand); font-size: 1.1rem; }
.lv-section__sub { color: var(--lv-mut); margin: -.5rem 0 1rem; font-size: 14px; }

/* --- tabel tarife --- */
.lv-table-wrap { overflow-x: auto; border: 1px solid var(--lv-line); border-radius: 12px; background: #fff; }
.lv-table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 640px; }
.lv-table th, .lv-table td { padding: .8rem 1rem; text-align: left; vertical-align: top; border-bottom: 1px solid var(--lv-line); }
.lv-table thead th { background: var(--lv-wash); color: var(--lv-mut); font-size: 12px; text-transform: uppercase; letter-spacing: .06em; font-weight: 600; }
.lv-table tbody tr:last-child td { border-bottom: 0; }
.lv-table td:first-child { font-weight: 600; }
.lv-table .lv-price { font-weight: 700; color: var(--lv-deep); white-space: nowrap; }
.lv-table .lv-price--ok { color: var(--lv-ok); }
.lv-note { font-size: 13px; color: var(--lv-mut); margin: .75rem 0 0; }
.lv-note i { color: var(--lv-warn); margin-right: 4px; }

/* --- inclus / neinclus --- */
.lv-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.lv-panel { background: #fff; border: 1px solid var(--lv-line); border-radius: 14px; padding: 1.25rem; }
.lv-panel h3 { font-size: 1rem; margin: 0 0 .85rem; display: flex; align-items: center; gap: 8px; }
.lv-panel--ok h3 i { color: var(--lv-ok); }
.lv-panel--no h3 i { color: var(--lv-no); }
.lv-list { list-style: none; margin: 0; padding: 0; }
.lv-list li { position: relative; padding-left: 26px; margin-bottom: .55rem; font-size: 14px; }
.lv-list li:last-child { margin-bottom: 0; }
.lv-list li::before {
    content: "\2713";
    position: absolute; left: 0; top: 3px;
    width: 17px; height: 17px; border-radius: 50%;
    font-size: 11px; line-height: 17px; text-align: center; font-weight: 700;
    background: var(--lv-ok-bg); color: var(--lv-ok);
}
.lv-panel--no .lv-list li::before {
    content: "\2715";
    background: var(--lv-no-bg); color: var(--lv-no);
}

/* --- servicii suplimentare --- */
.lv-extras { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.lv-extra { background: #fff; border: 1px solid var(--lv-line); border-radius: 14px; padding: 1.1rem 1.2rem; display: flex; gap: 12px; }
.lv-extra__icon { flex: none; width: 40px; height: 40px; border-radius: 10px; background: var(--lv-wash); color: var(--lv-brand); display: inline-flex; align-items: center; justify-content: center; }
.lv-extra h3 { font-size: .95rem; margin: 0 0 .25rem; }
.lv-extra p { margin: 0; font-size: 13.5px; color: var(--lv-mut); }
.lv-extra b { color: var(--lv-deep); }

/* --- pasi --- */
.lv-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; counter-reset: lv; }
.lv-step { position: relative; background: var(--lv-wash); border-radius: 14px; padding: 1.1rem 1.1rem 1rem; counter-increment: lv; }
.lv-step::before {
    content: counter(lv);
    display: inline-flex; align-items: center; justify-content: center;
    width: 28px; height: 28px; border-radius: 50%;
    background: var(--lv-brand); color: #fff; font-weight: 700; font-size: 13px;
    margin-bottom: .6rem;
}
/* linie de traseu punctata intre pasi (doar pe desktop) */
.lv-step:not(:last-child)::after {
    content: ""; position: absolute; top: 1.95rem; left: calc(1.1rem + 28px + 6px); right: -1rem;
    border-top: 2px dashed #c9d3ee; z-index: 0;
}
.lv-step:not(:last-child)::after { width: auto; }
.lv-step h3 { font-size: .95rem; margin: 0 0 .3rem; }
.lv-step p { margin: 0; font-size: 13.5px; color: var(--lv-mut); }

/* --- FAQ (accordion nativ, fara JS) --- */
.lv-faq { border: 1px solid var(--lv-line); border-radius: 14px; background: #fff; overflow: hidden; }
.lv-faq details { border-bottom: 1px solid var(--lv-line); }
.lv-faq details:last-child { border-bottom: 0; }
.lv-faq summary {
    list-style: none; cursor: pointer;
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    padding: 1rem 1.25rem; font-weight: 600; font-size: 15px;
}
.lv-faq summary::-webkit-details-marker { display: none; }
.lv-faq summary::after {
    content: ""; flex: none; width: 10px; height: 10px;
    border-right: 2px solid var(--lv-mut); border-bottom: 2px solid var(--lv-mut);
    transform: rotate(45deg); transition: transform .2s ease; margin-right: 4px;
}
.lv-faq details[open] summary { color: var(--lv-brand); }
.lv-faq details[open] summary::after { transform: rotate(-135deg); border-color: var(--lv-brand); }
.lv-faq summary:hover { background: var(--lv-wash); }
.lv-faq__body { padding: 0 1.25rem 1.1rem; color: #3a4260; font-size: 14px; }
.lv-faq__body p { margin: 0 0 .6rem; }
.lv-faq__body p:last-child { margin-bottom: 0; }
.lv-faq__body ul { margin: .3rem 0 .6rem 1.1rem; padding: 0; }

/* --- contact CTA --- */
.lv-cta {
    display: flex; align-items: center; justify-content: space-between; gap: 1.25rem; flex-wrap: wrap;
    background: linear-gradient(135deg, var(--lv-deep) 0%, var(--lv-brand) 100%);
    color: #fff; border-radius: 16px; padding: 1.5rem 1.75rem;
}
.lv-cta h2 { color: #fff; font-size: 1.15rem; margin: 0 0 .25rem; }
.lv-cta p { margin: 0; opacity: .85; font-size: 14px; }
.lv-cta__links { display: flex; gap: 10px; flex-wrap: wrap; }
.lv-cta__links 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;
}
.lv-cta__links a:hover { background: rgba(255,255,255,.26); color: #fff; }

/* --- responsive --- */
@media (max-width: 991px) {
    .lv-zones { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .lv-extras { grid-template-columns: 1fr; }
    .lv-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .lv-step:nth-child(2)::after { display: none; }
}
@media (max-width: 575px) {
    .lv-page { padding-top: 1.25rem; }
    .lv-hero h1 { font-size: 1.5rem; }
    .lv-zones, .lv-cols, .lv-steps { grid-template-columns: 1fr; }
    .lv-step::after { display: none; }
    .lv-zone__area { min-height: 0; }
    .lv-cta { padding: 1.25rem; }
}
