/* plata.css - pagina "Cum platesc?" (metode de plata), redesign 2026
   Markup: templates/content/<brand>/optiunideplata.ro.php
   Inregistrat din views/site/optiunideplata.php. Aceiasi tokeni ca livrare.css. */

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

/* --- hero --- */
.pm-hero { position: relative; text-align: center; margin: 0 auto 2.25rem; max-width: 760px; padding: 1.25rem 1rem 1.5rem; }
.pm-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%),
        repeating-linear-gradient(135deg, transparent 0 14px, rgba(30, 80, 200, .045) 14px 15px);
    -webkit-mask-image: linear-gradient(180deg, #000 30%, transparent 100%);
    mask-image: linear-gradient(180deg, #000 30%, transparent 100%);
}
.pm-hero h1 { font-size: 2rem; letter-spacing: -0.02em; margin: 0 0 0.6rem; line-height: 1.2; }
.pm-hero__lead { font-size: 1.05rem; color: var(--pm-mut); margin: 0 0 1.1rem; }
.pm-hero__chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.pm-chip {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 6px 12px; border-radius: 999px;
    background: var(--pm-wash); border: 1px solid var(--pm-line);
    font-size: 13px; font-weight: 600; color: var(--pm-deep);
}
.pm-chip i { color: var(--pm-brand); }

/* --- carduri metode --- */
.pm-methods { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin-bottom: 2.5rem; }
.pm-method {
    position: relative; display: flex; flex-direction: column;
    background: #fff; border: 1px solid var(--pm-line); border-radius: 14px;
    padding: 1.25rem 1.25rem 1.1rem;
    transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease;
}
.pm-method:hover { box-shadow: 0 10px 28px rgba(18, 42, 102, .10); transform: translateY(-2px); border-color: #cfd8f0; }
.pm-method--hl { border-color: #bfe6cf; background: linear-gradient(180deg, #f3fbf6 0%, #fff 60%); }
.pm-method__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; margin-bottom: .85rem; }
.pm-method__icon {
    width: 44px; height: 44px; border-radius: 12px; flex: none;
    display: inline-flex; align-items: center; justify-content: center;
    background: var(--pm-wash); color: var(--pm-brand); font-size: 1.15rem;
}
.pm-method--hl .pm-method__icon { background: var(--pm-ok-bg); color: var(--pm-ok); }
.pm-method__where {
    font-size: 11.5px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em;
    color: var(--pm-mut); background: var(--pm-wash); border-radius: 6px; padding: 3px 8px; white-space: nowrap;
}
.pm-method__name { font-size: 1.05rem; font-weight: 600; margin: 0 0 .35rem; }
.pm-method__text { font-size: 14px; color: #3a4260; margin: 0; flex: 1; }
.pm-method__logos { display: flex; align-items: center; gap: 10px; margin-top: .9rem; }
.pm-method__logos img { height: 22px; width: auto; opacity: .9; }
.pm-method__logos img.pm-logo--tall { height: 28px; }
.pm-method__badge {
    display: inline-block; margin-top: .9rem; align-self: flex-start;
    font-size: 12px; font-weight: 600; color: var(--pm-ok);
    background: var(--pm-ok-bg); border-radius: 6px; padding: 2px 8px;
}
.pm-method__badge--warn { color: var(--pm-warn); background: var(--pm-warn-bg); }
.pm-method__link { margin-top: .6rem; font-size: 13.5px; font-weight: 600; }

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

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

/* --- rate: doua panouri --- */
.pm-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.pm-panel { background: #fff; border: 1px solid var(--pm-line); border-radius: 14px; padding: 1.25rem; }
.pm-panel--accent { border-color: #c9d6f5; background: linear-gradient(180deg, #f2f6ff 0%, #fff 70%); }
.pm-panel h3 { font-size: 1.05rem; margin: 0 0 .5rem; display: flex; align-items: center; gap: 8px; }
.pm-panel h3 i { color: var(--pm-brand); }
.pm-panel p { margin: 0 0 .6rem; font-size: 14px; color: #3a4260; }
.pm-panel p:last-child { margin-bottom: 0; }
.pm-big { font-size: 1.9rem; font-weight: 700; color: var(--pm-deep); letter-spacing: -0.02em; line-height: 1.1; margin: .2rem 0 .5rem; }
.pm-big small { font-size: 1rem; font-weight: 600; color: var(--pm-mut); margin-left: 4px; }
.pm-list { list-style: none; margin: 0; padding: 0; }
.pm-list li { position: relative; padding-left: 26px; margin-bottom: .55rem; font-size: 14px; }
.pm-list li:last-child { margin-bottom: 0; }
.pm-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(--pm-ok-bg); color: var(--pm-ok);
}

/* --- pasi --- */
.pm-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; counter-reset: pm; }
.pm-step { position: relative; background: var(--pm-wash); border-radius: 14px; padding: 1.1rem 1.1rem 1rem; counter-increment: pm; }
.pm-step::before {
    content: counter(pm);
    display: inline-flex; align-items: center; justify-content: center;
    width: 28px; height: 28px; border-radius: 50%;
    background: var(--pm-brand); color: #fff; font-weight: 700; font-size: 13px;
    margin-bottom: .6rem;
}
.pm-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;
}
.pm-step h3 { font-size: .95rem; margin: 0 0 .3rem; }
.pm-step p { margin: 0; font-size: 13.5px; color: var(--pm-mut); }

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

/* --- FAQ --- */
.pm-faq { border: 1px solid var(--pm-line); border-radius: 14px; background: #fff; overflow: hidden; }
.pm-faq details { border-bottom: 1px solid var(--pm-line); }
.pm-faq details:last-child { border-bottom: 0; }
.pm-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;
}
.pm-faq summary::-webkit-details-marker { display: none; }
.pm-faq summary::after {
    content: ""; flex: none; width: 10px; height: 10px;
    border-right: 2px solid var(--pm-mut); border-bottom: 2px solid var(--pm-mut);
    transform: rotate(45deg); transition: transform .2s ease; margin-right: 4px;
}
.pm-faq details[open] summary { color: var(--pm-brand); }
.pm-faq details[open] summary::after { transform: rotate(-135deg); border-color: var(--pm-brand); }
.pm-faq summary:hover { background: var(--pm-wash); }
.pm-faq__body { padding: 0 1.25rem 1.1rem; color: #3a4260; font-size: 14px; }
.pm-faq__body p { margin: 0 0 .6rem; }
.pm-faq__body p:last-child { margin-bottom: 0; }
.pm-faq__body ul { margin: .3rem 0 .6rem 1.1rem; padding: 0; }

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

/* --- aparitie esalonata --- */
@keyframes pm-rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.pm-hero, .pm-method, .pm-section, .pm-cta { animation: pm-rise .55s cubic-bezier(.2,.7,.2,1) both; }
.pm-method:nth-child(1) { animation-delay: .08s; }
.pm-method:nth-child(2) { animation-delay: .14s; }
.pm-method:nth-child(3) { animation-delay: .20s; }
.pm-method:nth-child(4) { animation-delay: .26s; }
.pm-method:nth-child(5) { animation-delay: .32s; }
.pm-method:nth-child(6) { animation-delay: .38s; }
.pm-section { animation-delay: .35s; }
.pm-cta { animation-delay: .4s; }
@media (prefers-reduced-motion: reduce) {
    .pm-hero, .pm-method, .pm-section, .pm-cta { animation: none; }
    .pm-method:hover { transform: none; }
}

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