/* Prima pagina: pachetele de pret, dovezile (acreditari + modele) si lightbox-ul (prefix .hp) */

.hp-pricing,
.hp-proof,
.hp-guides,
.hp-founder,
.hp-lb,
.hp-std-wrap {
    --hp-navy: #091057;
    --hp-navy-2: #0F1C6C;
    --hp-albastru: #376FF7;
    --hp-albastru-hover: #255FEA;
    --hp-verde: #80C454;
    --hp-verde-text: #A6E07F;
    --hp-verde-inchis: #3F8A1E;
    --hp-cer: #8FC3FF;
    --hp-cer-text: #C8E1FF;
    --hp-cer-stins: #93A6D8;
    --hp-hartie: #F4F7FF;
    --hp-linie: #E3E9F8;
    --hp-text: #5A6A85;
    --hp-titluri: 'Plus Jakarta Sans', 'Poppins', sans-serif;
    --hp-umbra: 0 1px 2px rgba(9, 16, 87, .04), 0 8px 24px rgba(9, 16, 87, .06);
    --hp-umbra-mare: 0 2px 4px rgba(9, 16, 87, .05), 0 24px 48px rgba(9, 16, 87, .14);
    --hp-ease: cubic-bezier(.2, .7, .2, 1);
}

.hp-pricing h2, .hp-pricing h3, .hp-proof h2, .hp-proof h3 {
    font-family: var(--hp-titluri);
    margin: 0;
}

.hp-pricing p, .hp-proof p, .hp-lb p {
    margin: 0;
}

.hp-pricing ul, .hp-proof ul, .hp-proof dl {
    list-style: none;
    margin: 0;
    padding: 0;
}

.hp-ico {
    width: 18px;
    height: 18px;
    flex: none;
}

.hp-verde {
    color: var(--hp-verde);
}

/* ---------- Elemente comune ---------- */

.hp-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px;
    margin-bottom: 22px;
    border: 1px solid #102B90;
    border-radius: 999px;
    background-color: var(--hp-navy-2);
    color: #fff;
    font-size: .875rem;
}

.hp-pill img {
    width: 16px;
    height: 16px;
}

.hp-pill--deschis {
    border-color: var(--hp-linie);
    background-color: #fff;
    color: var(--hp-navy);
}

.hp-h2 {
    color: var(--hp-navy);
    font-size: clamp(1.75rem, 3.2vw, 2.6rem);
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -.02em;
}

.hp-h2--alb {
    color: #fff;
}

.hp-sub {
    margin-top: 14px !important;
    max-width: 620px;
    color: var(--hp-text);
    font-size: 1.02rem;
    line-height: 1.6;
}

.hp-sub--alb {
    color: var(--hp-cer-text);
}

.hp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    height: 52px;
    padding: 0 24px;
    border: 1px solid transparent;
    border-radius: 999px;
    font-family: 'Poppins', sans-serif;
    font-size: .98rem;
    font-weight: 500;
    line-height: 1;
    white-space: nowrap;
    cursor: pointer;
    transition: background-color .2s ease, border-color .2s ease, color .2s ease, transform .2s var(--hp-ease), box-shadow .2s ease;
}

.hp-btn:hover {
    text-decoration: none;
    transform: translateY(-1px);
}

.hp-btn:focus-visible,
.hp-doc:focus-visible,
.hp-lb button:focus-visible,
.hp-pricing__more a:focus-visible {
    outline: 3px solid var(--hp-cer);
    outline-offset: 3px;
}

.hp-btn .hp-ico {
    transition: transform .25s var(--hp-ease);
}

.hp-btn:hover .hp-ico {
    transform: translateX(3px);
}

.hp-btn--primary {
    background-color: var(--hp-albastru);
    color: #fff;
    box-shadow: 0 10px 24px rgba(55, 111, 247, .3);
}

.hp-btn--primary:hover {
    background-color: var(--hp-albastru-hover);
    color: #fff;
}

.hp-btn--verde {
    background-color: var(--hp-verde);
    color: var(--hp-navy);
}

.hp-btn--verde:hover {
    background-color: #8FD162;
    color: var(--hp-navy);
}

.hp-btn--ghost {
    border-color: rgba(143, 195, 255, .4);
    background: transparent;
    color: #fff;
}

.hp-btn--ghost:hover {
    background-color: rgba(255, 255, 255, .08);
    color: #fff;
}

.hp-btn--bloc {
    display: flex;
    width: 100%;
}

/* ---------- Standardele din hero (link catre paginile certificarilor) ---------- */

.hp-std-wrap {
    margin-top: 110px;
}

.hp-std-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none;
}

.hp-std-grid li {
    flex: 0 0 calc((100% - 6 * 16px) / 7);
    display: flex;
}

.hp-std {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    padding: 26px 14px 20px;
    border: 1px solid rgba(143, 195, 255, .16);
    border-radius: 24px;
    background: linear-gradient(180deg, rgba(55, 111, 247, .14) 0%, rgba(55, 111, 247, .03) 100%);
    color: #fff;
    text-align: center;
    transition: transform .35s var(--hp-ease), border-color .25s ease, background-color .25s ease, box-shadow .35s var(--hp-ease);
}

.hp-std:hover,
.hp-std:focus-visible {
    transform: translateY(-5px);
    border-color: rgba(143, 195, 255, .5);
    background-color: rgba(55, 111, 247, .12);
    box-shadow: 0 20px 40px rgba(0, 0, 30, .35);
    color: #fff;
    text-decoration: none;
}

.hp-std:focus-visible {
    outline: 3px solid var(--hp-cer);
    outline-offset: 3px;
}

.hp-std__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    margin-bottom: 16px;
    border-radius: 20px;
    background: rgba(128, 196, 84, .12);
    transition: background-color .25s ease, transform .35s var(--hp-ease);
}

.hp-std__icon img {
    width: 34px;
    height: 34px;
}

.hp-std:hover .hp-std__icon {
    background: #fff;
    transform: scale(1.06);
}

.hp-std__code {
    font-family: var(--hp-titluri);
    font-size: 1.22rem;
    font-weight: 800;
    letter-spacing: -.01em;
}

.hp-std__sub {
    margin-top: 6px;
    color: var(--hp-cer-text);
    font-size: .82rem;
    line-height: 1.4;
}

.hp-std__more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: auto;
    padding-top: 16px;
    color: var(--hp-cer);
    font-size: .82rem;
    font-weight: 500;
    transition: color .2s ease;
}

.hp-std__more .hp-ico {
    width: 15px;
    height: 15px;
    transition: transform .25s var(--hp-ease);
}

.hp-std:hover .hp-std__more {
    color: var(--hp-verde);
}

.hp-std:hover .hp-std__more .hp-ico {
    transform: translateX(3px);
}

.hp-std-all {
    margin: 28px 0 0 !important;
    text-align: center;
}

.hp-std-all a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--hp-cer-text);
    font-size: .95rem;
}

.hp-std-all a:hover {
    color: #fff;
    text-decoration: underline;
    text-underline-offset: 3px;
}

@media (max-width: 1199.98px) {
    .hp-std-grid li {
        flex-basis: calc((100% - 3 * 16px) / 4);
    }
}

@media (max-width: 575.98px) {
    .hp-std-wrap {
        margin-top: 64px;
    }

    .hp-std-grid {
        gap: 12px;
    }

    .hp-std-grid li {
        flex-basis: calc((100% - 12px) / 2);
    }

    .hp-std {
        padding: 22px 12px 18px;
    }
}

/* ---------- Pachete de pret ---------- */

section.hp-pricing {
    padding: 40px 0 96px;
    background: var(--hp-navy);
    color: var(--hp-navy);
}

.hp-sheet {
    padding: clamp(20px, 4vw, 56px);
    border-radius: 40px;
    background: var(--hp-hartie);
}

.hp-head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 40px;
}

.hp-head__facts {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.hp-head__facts li {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border: 1px solid var(--hp-linie);
    border-radius: 999px;
    background: #fff;
    color: var(--hp-navy);
    font-size: .82rem;
}

.hp-head__facts .hp-ico {
    width: 15px;
    height: 15px;
    color: var(--hp-verde-inchis);
}

.hp-plans {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.hp-plan {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 28px;
    border: 1px solid var(--hp-linie);
    border-radius: 28px;
    background: #fff;
    box-shadow: var(--hp-umbra);
    transition: transform .35s var(--hp-ease), box-shadow .35s var(--hp-ease);
}

.hp-plan:hover {
    transform: translateY(-4px);
    box-shadow: var(--hp-umbra-mare);
}

.hp-plan__ribbon {
    position: absolute;
    top: -13px;
    left: 28px;
    padding: 5px 14px;
    border-radius: 999px;
    background: var(--hp-verde);
    color: var(--hp-navy);
    font-size: .76rem;
    font-weight: 600;
    box-shadow: 0 8px 18px rgba(128, 196, 84, .35);
}

.hp-plan__top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.hp-plan__title {
    color: var(--hp-text);
    font-family: 'Poppins', sans-serif !important;
    font-size: .9rem;
    font-weight: 400;
    line-height: 1.3;
}

.hp-plan__title span {
    display: block;
    color: var(--hp-navy);
    font-family: var(--hp-titluri);
    font-size: 1.45rem;
    font-weight: 800;
    letter-spacing: -.01em;
}

.hp-plan__badge {
    flex: none;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(128, 196, 84, .16);
    color: var(--hp-verde-inchis);
    font-family: var(--hp-titluri);
    font-size: .95rem;
    font-weight: 800;
}

/* teancul de certificate: cate o foaie pentru fiecare standard din pachet */
.hp-plan__stack {
    display: flex;
    align-items: flex-end;
    height: 52px;
    margin: 22px 0 18px;
    padding-left: 4px;
}

.hp-plan__sheet {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    width: 34px;
    height: 44px;
    margin-left: -10px;
    padding-bottom: 6px;
    border: 1.5px solid var(--hp-linie);
    border-radius: 7px;
    background:
        linear-gradient(var(--hp-linie), var(--hp-linie)) 7px 8px / 18px 2px no-repeat,
        linear-gradient(var(--hp-linie), var(--hp-linie)) 7px 14px / 12px 2px no-repeat,
        #fff;
    box-shadow: 0 4px 10px rgba(9, 16, 87, .08);
    color: var(--hp-verde-inchis);
    transform: rotate(-6deg);
    transition: transform .35s var(--hp-ease);
}

.hp-plan__sheet:first-child {
    margin-left: 0;
}

.hp-plan__sheet:nth-child(even) {
    transform: rotate(4deg) translateY(-3px);
}

.hp-plan:hover .hp-plan__sheet {
    transform: none;
}

.hp-plan__sheet .hp-ico {
    width: 14px;
    height: 14px;
}

.hp-plan__price {
    display: flex;
    align-items: baseline;
    gap: 8px;
    color: var(--hp-navy);
}

.hp-plan__price strong {
    font-family: var(--hp-titluri);
    font-size: 2.6rem;
    font-weight: 800;
    letter-spacing: -.03em;
    line-height: 1;
}

.hp-plan__price span {
    color: var(--hp-text);
    font-size: .9rem;
}

.hp-plan__old {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 10px;
    min-height: 30px;
    margin-top: 10px !important;
    color: var(--hp-text);
    font-size: .85rem;
}

.hp-plan__old s {
    color: #93A0B8;
}

.hp-plan__save {
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(128, 196, 84, .16);
    color: var(--hp-verde-inchis) !important;
    font-size: .78rem;
    font-weight: 500;
}

.hp-plan__list {
    display: grid;
    gap: 10px;
    margin: 22px 0 26px !important;
    padding-top: 22px !important;
    border-top: 1px dashed var(--hp-linie);
}

.hp-plan__list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: var(--hp-navy);
    font-size: .9rem;
    line-height: 1.45;
}

.hp-plan__list .hp-ico {
    width: 20px;
    height: 20px;
    padding: 3px;
    border-radius: 50%;
    background: rgba(128, 196, 84, .2);
    color: var(--hp-verde-inchis);
}

.hp-plan .hp-btn--bloc {
    margin-top: auto;
}

.hp-plan__per {
    margin-top: 12px !important;
    color: var(--hp-text);
    font-size: .78rem;
    text-align: center;
}

/* pachetul cu reducerea maxima, pe fundal inchis */
.hp-plan--max {
    border-color: transparent;
    background:
        radial-gradient(90% 50% at 100% 0%, rgba(55, 111, 247, .45) 0%, rgba(55, 111, 247, 0) 70%),
        var(--hp-navy);
    box-shadow: 0 24px 50px rgba(9, 16, 87, .3);
}

.hp-plan--max .hp-plan__title,
.hp-plan--max .hp-plan__price span,
.hp-plan--max .hp-plan__old,
.hp-plan--max .hp-plan__per {
    color: var(--hp-cer-text);
}

.hp-plan--max .hp-plan__title span,
.hp-plan--max .hp-plan__price,
.hp-plan--max .hp-plan__list li {
    color: #fff;
}

.hp-plan--max .hp-plan__old s {
    color: var(--hp-cer-stins);
}

.hp-plan--max .hp-plan__badge,
.hp-plan--max .hp-plan__save {
    background: rgba(128, 196, 84, .2);
    color: var(--hp-verde-text) !important;
}

.hp-plan--max .hp-plan__list {
    border-top-color: rgba(143, 195, 255, .2);
}

.hp-plan--max .hp-plan__list .hp-ico {
    background: rgba(128, 196, 84, .22);
    color: var(--hp-verde-text);
}

.hp-plan--max .hp-plan__sheet {
    border-color: rgba(143, 195, 255, .3);
    background:
        linear-gradient(rgba(143, 195, 255, .3), rgba(143, 195, 255, .3)) 7px 8px / 18px 2px no-repeat,
        linear-gradient(rgba(143, 195, 255, .3), rgba(143, 195, 255, .3)) 7px 14px / 12px 2px no-repeat,
        var(--hp-navy-2);
    color: var(--hp-verde);
}

.hp-pricing__more {
    margin-top: 36px !important;
    color: var(--hp-text);
    font-size: .95rem;
    text-align: center;
}

.hp-pricing__more a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--hp-albastru);
    font-weight: 500;
}

.hp-pricing__more a:hover {
    color: var(--hp-navy);
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* ---------- Dovezi: acreditari si modele de certificat ---------- */

section.hp-proof {
    padding: 96px 0;
    background:
        radial-gradient(40% 30% at 50% 12%, rgba(55, 111, 247, .22) 0%, rgba(55, 111, 247, 0) 100%),
        var(--hp-navy);
    color: #fff;
}

.hp-proof__head {
    max-width: 780px;
    margin: 0 auto 56px;
    text-align: center;
}

.hp-proof__head .hp-sub {
    margin-left: auto;
    margin-right: auto;
}

.hp-proof__group {
    display: grid;
    grid-template-columns: minmax(0, 320px) minmax(0, 1fr);
    gap: 32px;
    align-items: center;
    padding: 32px;
    border: 1px solid rgba(143, 195, 255, .16);
    border-radius: 34px;
    background: linear-gradient(180deg, rgba(55, 111, 247, .13) 0%, rgba(55, 111, 247, .03) 100%);
}

.hp-proof__group + .hp-proof__group {
    margin-top: 24px;
}

.hp-proof__info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.hp-proof__logo {
    width: 170px;
    height: auto;
    margin-bottom: 24px;
}

.hp-proof__title {
    color: #fff;
    font-size: 1.45rem;
    font-weight: 800;
    letter-spacing: -.01em;
}

.hp-proof__text {
    margin-top: 10px !important;
    color: var(--hp-cer-text);
    font-size: .93rem;
    line-height: 1.6;
}

.hp-proof__meta {
    display: grid;
    gap: 10px;
    width: 100%;
    margin: 22px 0 4px !important;
    padding-top: 18px !important;
    border-top: 1px solid rgba(143, 195, 255, .16);
}

.hp-proof__meta div {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    font-size: .86rem;
}

.hp-proof__meta dt {
    color: var(--hp-cer-stins);
    font-weight: 400;
}

.hp-proof__meta dd {
    margin: 0;
    color: #fff;
    font-weight: 500;
    text-align: right;
}

.hp-proof__info .hp-btn {
    margin-top: 24px;
    height: 48px;
}

.hp-docs {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.hp-doc {
    position: relative;
    display: block;
    width: 100%;
    padding: 0;
    border: 0;
    border-radius: 14px;
    background: none;
    cursor: zoom-in;
}

.hp-doc__paper {
    display: block;
    padding: 6px;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 18px 40px rgba(0, 0, 30, .45);
    transform: rotate(-1.5deg);
    transition: transform .4s var(--hp-ease), box-shadow .4s var(--hp-ease);
}

.hp-docs li:nth-child(even) .hp-doc__paper {
    transform: rotate(1.5deg);
}

.hp-doc__paper img {
    width: 100%;
    height: auto;
    aspect-ratio: 859 / 1215;
    object-fit: cover;
    border-radius: 9px;
}

.hp-doc:hover .hp-doc__paper,
.hp-doc:focus-visible .hp-doc__paper {
    transform: translateY(-8px) rotate(0deg) !important;
    box-shadow: 0 30px 60px rgba(0, 0, 30, .55);
}

.hp-doc__zoom {
    position: absolute;
    top: 50%;
    left: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    margin: -28px 0 0 -28px;
    border-radius: 50%;
    background: var(--hp-albastru);
    color: #fff;
    box-shadow: 0 12px 28px rgba(55, 111, 247, .5);
    opacity: 0;
    transform: scale(.7);
    transition: opacity .25s ease, transform .35s var(--hp-ease);
    pointer-events: none;
}

.hp-doc__zoom .hp-ico {
    width: 24px;
    height: 24px;
}

.hp-doc:hover .hp-doc__zoom,
.hp-doc:focus-visible .hp-doc__zoom {
    opacity: 1;
    transform: translateY(-8px) scale(1);
}

.hp-doc__cap {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin-top: 16px !important;
    text-align: center;
}

.hp-doc__cap strong {
    color: #fff;
    font-size: .92rem;
    font-weight: 600;
}

.hp-doc__cap span {
    color: var(--hp-cer-stins);
    font-size: .78rem;
}

/* ---------- Lightbox ---------- */

.hp-lb {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: grid;
    grid-template-columns: 80px minmax(0, 1fr) 80px;
    grid-template-rows: auto minmax(0, 1fr) auto;
    color: #fff;
    animation: hp-lb-intrare .25s ease;
}

.hp-lb[hidden] {
    display: none;
}

.hp-lb__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(5, 9, 40, .93);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
}

.hp-lb__bar {
    position: relative;
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
}

.hp-lb__count {
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .1);
    color: var(--hp-cer-text);
    font-size: .85rem;
    font-variant-numeric: tabular-nums;
}

.hp-lb__title {
    flex: 1;
    min-width: 0;
    font-family: var(--hp-titluri);
    font-size: 1.05rem;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.hp-lb__close,
.hp-lb__nav {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 50%;
    background: rgba(255, 255, 255, .08);
    color: #fff;
    cursor: pointer;
    transition: background-color .2s ease, transform .2s var(--hp-ease);
}

.hp-lb__close {
    width: 46px;
    height: 46px;
}

.hp-lb__close:hover,
.hp-lb__nav:hover {
    background: var(--hp-albastru);
    border-color: var(--hp-albastru);
}

.hp-lb__nav {
    position: relative;
    align-self: center;
    justify-self: center;
    width: 56px;
    height: 56px;
}

.hp-lb__nav .hp-ico {
    width: 24px;
    height: 24px;
}

.hp-lb__nav[disabled] {
    opacity: .3;
    cursor: default;
    background: rgba(255, 255, 255, .08);
    border-color: rgba(255, 255, 255, .18);
}

.hp-lb__stage {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 0;
    margin: 0;
    touch-action: pan-y;
}

.hp-lb__stage img {
    max-width: 100%;
    max-height: calc(100% - 44px);
    width: auto;
    height: auto;
    padding: 8px;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 30px 80px rgba(0, 0, 0, .5);
    transition: opacity .2s ease, transform .3s var(--hp-ease);
}

.hp-lb__stage img.is-incarcare {
    opacity: 0;
    transform: scale(.98);
}

.hp-lb__stage figcaption {
    margin-top: 14px;
    color: var(--hp-cer-text);
    font-size: .88rem;
    text-align: center;
}

.hp-lb__thumbs {
    position: relative;
    grid-column: 1 / -1;
    display: flex;
    justify-content: center;
    gap: 10px;
    padding: 14px 20px 20px;
    overflow-x: auto;
}

.hp-lb__thumb {
    flex: none;
    width: 52px;
    height: 72px;
    padding: 0;
    border: 2px solid transparent;
    border-radius: 8px;
    background: #fff;
    overflow: hidden;
    opacity: .5;
    cursor: pointer;
    transition: opacity .2s ease, border-color .2s ease;
}

.hp-lb__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hp-lb__thumb:hover {
    opacity: .85;
}

.hp-lb__thumb.is-activ {
    border-color: var(--hp-verde);
    opacity: 1;
}

html.hp-lb-deschis,
html.hp-lb-deschis body {
    overflow: hidden;
}

@keyframes hp-lb-intrare {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* ---------- Ghiduri (articole) ---------- */

section.hp-guides {
    padding: 0 0 8px;
    background: var(--hp-navy);
    color: #fff;
}

.hp-guides h2, .hp-guides h3 {
    font-family: var(--hp-titluri);
    margin: 0;
}

.hp-guides p {
    margin: 0;
}

.hp-guides ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.hp-guides a:focus-visible {
    outline: 3px solid var(--hp-cer);
    outline-offset: 3px;
}

.hp-guides__head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 40px;
}

.hp-guides__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
    gap: 20px;
    align-items: stretch;
}

/* ghidul mare: imaginea pe tot cardul, textul peste un gradient */
.hp-guide-feature {
    position: relative;
    display: flex;
    min-height: 460px;
    border-radius: 32px;
    overflow: hidden;
    background: var(--hp-navy-2);
    box-shadow: 0 30px 60px rgba(0, 0, 30, .4);
    isolation: isolate;
}

.hp-guide-feature__img {
    position: absolute;
    inset: 0;
    z-index: -2;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .8s var(--hp-ease);
}

.hp-guide-feature::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(180deg, rgba(5, 9, 54, 0) 25%, rgba(5, 9, 54, .72) 58%, rgba(5, 9, 54, .96) 100%);
}

.hp-guide-feature:hover .hp-guide-feature__img {
    transform: scale(1.04);
}

.hp-guide-feature__body {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    width: 100%;
    padding: clamp(24px, 3vw, 40px);
}

.hp-guide-feature__badge {
    align-self: flex-start;
    margin-bottom: 16px;
    padding: 6px 12px;
    border-radius: 999px;
    background: var(--hp-verde);
    color: var(--hp-navy);
    font-size: .76rem;
    font-weight: 600;
}

.hp-guides .hp-guide-feature__title {
    max-width: 620px;
    font-size: clamp(1.45rem, 2.4vw, 2.1rem);
    font-weight: 800;
    line-height: 1.18;
    letter-spacing: -.02em;
    text-wrap: balance;
}

.hp-guide-feature__title a {
    color: #fff;
}

.hp-guide-feature__title a:hover {
    color: #fff;
    text-decoration: none;
}

/* tot cardul este clicabil prin link-ul din titlu */
.hp-guide-feature__title a::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 32px;
}

.hp-guide-feature__desc {
    max-width: 560px;
    margin-top: 12px !important;
    color: var(--hp-cer-text);
    font-size: .98rem;
    line-height: 1.6;
}

.hp-guide-feature__foot {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 22px !important;
    padding-top: 18px;
    border-top: 1px solid rgba(143, 195, 255, .2);
    color: var(--hp-cer-stins);
    font-size: .86rem;
}

.hp-guide-feature__foot > span:first-child {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.hp-guide-feature__foot .hp-ico {
    width: 16px;
    height: 16px;
}

.hp-guide-feature__more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--hp-verde);
    font-weight: 500;
}

.hp-guide-feature__more .hp-ico {
    transition: transform .25s var(--hp-ease);
}

.hp-guide-feature:hover .hp-guide-feature__more .hp-ico {
    transform: translateX(4px);
}

/* ghidurile esentiale: randuri compacte */
.hp-guide-list {
    display: grid;
    grid-template-rows: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.hp-guide-row {
    display: grid;
    grid-template-columns: 128px minmax(0, 1fr) auto;
    gap: 18px;
    align-items: center;
    height: 100%;
    padding: 12px 20px 12px 12px;
    border: 1px solid rgba(143, 195, 255, .16);
    border-radius: 24px;
    background: linear-gradient(180deg, rgba(55, 111, 247, .13) 0%, rgba(55, 111, 247, .03) 100%);
    color: #fff;
    transition: transform .35s var(--hp-ease), border-color .25s ease, background-color .25s ease, box-shadow .35s var(--hp-ease);
}

.hp-guide-row:hover {
    transform: translateX(4px);
    border-color: rgba(143, 195, 255, .45);
    background-color: rgba(55, 111, 247, .12);
    box-shadow: 0 18px 40px rgba(0, 0, 30, .3);
    color: #fff;
    text-decoration: none;
}

.hp-guide-row__media {
    display: block;
    aspect-ratio: 16 / 10;
    border-radius: 16px;
    overflow: hidden;
    background: var(--hp-navy-2);
}

.hp-guide-row__media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .6s var(--hp-ease);
}

.hp-guide-row:hover .hp-guide-row__media img {
    transform: scale(1.06);
}

.hp-guide-row__text {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.hp-guide-row__meta {
    color: var(--hp-cer);
    font-size: .74rem;
    font-weight: 600;
    letter-spacing: .05em;
    text-transform: uppercase;
}

.hp-guide-row__title {
    font-family: var(--hp-titluri);
    font-size: 1.04rem;
    font-weight: 700;
    line-height: 1.3;
}

.hp-guide-row__go {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border: 1px solid rgba(143, 195, 255, .3);
    border-radius: 50%;
    color: var(--hp-cer-text);
    transition: background-color .25s ease, border-color .25s ease, color .25s ease;
}

.hp-guide-row:hover .hp-guide-row__go {
    border-color: var(--hp-verde);
    background: var(--hp-verde);
    color: var(--hp-navy);
}

/* ghid pentru fiecare standard */
.hp-guides__std {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px 20px;
    margin-top: 28px;
    padding: 22px 24px;
    border: 1px solid rgba(143, 195, 255, .14);
    border-radius: 28px;
    background: rgba(255, 255, 255, .03);
}

.hp-guides__std-label {
    color: var(--hp-cer-text);
    font-size: .9rem;
    font-weight: 500;
}

.hp-guide-chips {
    display: flex;
    flex: 1;
    flex-wrap: wrap;
    gap: 10px;
}

.hp-guide-chip {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    height: 100%;
    padding: 7px 16px 7px 7px;
    border: 1px solid rgba(143, 195, 255, .2);
    border-radius: 999px;
    background: rgba(9, 16, 87, .6);
    color: #fff;
    transition: border-color .25s ease, background-color .25s ease, transform .25s var(--hp-ease);
}

.hp-guide-chip:hover {
    transform: translateY(-2px);
    border-color: rgba(128, 196, 84, .6);
    background: rgba(128, 196, 84, .1);
    color: #fff;
    text-decoration: none;
}

.hp-guide-chip__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(128, 196, 84, .14);
}

.hp-guide-chip__icon img {
    width: 20px;
    height: 20px;
}

.hp-guide-chip__text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.hp-guide-chip__text strong {
    font-family: var(--hp-titluri);
    font-size: .92rem;
    font-weight: 800;
}

.hp-guide-chip__text small {
    color: var(--hp-cer-stins);
    font-size: .72rem;
}

.hp-guide-chip--toate {
    padding-left: 16px;
    border-style: dashed;
    background: transparent;
}

.hp-guide-chip--toate .hp-ico {
    width: 16px;
    height: 16px;
    color: var(--hp-verde);
}

@media (max-width: 1199.98px) {
    .hp-guide-row {
        grid-template-columns: 104px minmax(0, 1fr) auto;
        gap: 14px;
    }
}

@media (max-width: 991.98px) {
    .hp-guides__grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .hp-guide-feature {
        min-height: 420px;
    }

    .hp-guide-list {
        grid-template-rows: none;
    }
}

@media (max-width: 575.98px) {
    .hp-guides__head .hp-btn {
        width: 100%;
    }

    .hp-guide-feature {
        min-height: 400px;
        border-radius: 24px;
    }

    .hp-guide-feature__title a::after {
        border-radius: 24px;
    }

    .hp-guide-row {
        grid-template-columns: 88px minmax(0, 1fr);
        padding-right: 14px;
        border-radius: 20px;
    }

    .hp-guide-row__go {
        display: none;
    }

    .hp-guides__std {
        padding: 18px;
    }

    .hp-guide-chips {
        flex: 1 1 100%;
    }
}

/* ---------- Despre noi: fondatorul ---------- */

section.hp-founder {
    padding: 104px 0 40px;
    background:
        radial-gradient(38% 55% at 18% 45%, rgba(55, 111, 247, .3) 0%, rgba(55, 111, 247, 0) 70%),
        var(--hp-navy);
    color: #fff;
}

.hp-founder h2 {
    font-family: var(--hp-titluri);
    margin: 0;
}

.hp-founder p,
.hp-founder figure {
    margin: 0;
}

.hp-founder__grid {
    display: grid;
    grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
    gap: clamp(40px, 6vw, 88px);
    align-items: center;
}

/* fotografia: cadru rotunjit cu colt tesit, ca in identitatea vizuala */
.hp-founder__media {
    position: relative;
    padding: 0 0 28px 28px;
}

.hp-founder__media::before {
    content: "";
    position: absolute;
    inset: 36px 36px 0 0;
    border-radius: 40px 40px 40px 120px;
    background: linear-gradient(160deg, #8FC3FF 0%, #376FF7 100%);
    opacity: .9;
}

.hp-founder__frame {
    position: relative;
    display: block;
    aspect-ratio: 16 / 15;
    border-radius: 36px 36px 36px 110px;
    overflow: hidden;
    background: var(--hp-navy-2);
    box-shadow: 0 34px 70px rgba(0, 0, 30, .5);
}

.hp-founder__frame img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 45% 30%;
}

.hp-founder__badge {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 18px 12px 12px;
    border: 1px solid rgba(143, 195, 255, .25);
    border-radius: 999px;
    background: rgba(9, 16, 87, .82);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    box-shadow: 0 18px 40px rgba(0, 0, 30, .4);
    color: #fff;
}

.hp-founder__badge strong {
    display: block;
    font-family: var(--hp-titluri);
    font-size: .95rem;
    font-weight: 800;
    line-height: 1.2;
}

.hp-founder__badge small {
    display: block;
    color: var(--hp-cer-text);
    font-size: .74rem;
    line-height: 1.3;
}

.hp-founder__badge--sus {
    top: 22px;
    right: -18px;
}

.hp-founder__badge-ico {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--hp-verde);
    color: var(--hp-navy);
}

.hp-founder__badge--jos {
    left: 0;
    bottom: 0;
    flex-direction: row-reverse;
    gap: 10px;
    padding: 14px 20px;
    border-radius: 22px;
}

.hp-founder__badge--jos strong {
    color: var(--hp-verde);
    font-size: 1.9rem;
    letter-spacing: -.02em;
}

.hp-founder__badge--jos small {
    text-align: right;
}

.hp-founder__copy {
    display: grid;
    gap: 16px;
    margin-top: 22px;
    max-width: 600px;
    color: var(--hp-cer-text);
    font-size: 1.05rem;
    line-height: 1.75;
}

.hp-founder__copy p:first-child::first-letter {
    color: #fff;
}

.hp-founder__sign {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 26px !important;
    color: var(--hp-cer-text);
    font-size: .95rem;
}

.hp-founder__sign strong {
    color: #fff;
    font-family: var(--hp-titluri);
    font-weight: 800;
}

.hp-founder__sign-line {
    flex: none;
    width: 40px;
    height: 2px;
    border-radius: 2px;
    background: var(--hp-verde);
}

.hp-founder__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 32px;
}

.hp-btn--wa .hp-ico {
    width: 20px;
    height: 20px;
    color: var(--hp-verde);
}

.hp-btn--wa:hover .hp-ico {
    transform: none;
}

.hp-founder__more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 20px;
    color: var(--hp-cer-text);
    font-size: .95rem;
    font-weight: 500;
}

.hp-founder__more:hover {
    color: #fff;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.hp-founder__more .hp-ico {
    transition: transform .25s var(--hp-ease);
}

.hp-founder__more:hover .hp-ico {
    transform: translateX(3px);
}

.hp-founder a:focus-visible,
.hp-founder button:focus-visible {
    outline: 3px solid var(--hp-cer);
    outline-offset: 3px;
}

@media (max-width: 1199.98px) {
    .hp-founder__badge--sus {
        right: 8px;
    }
}

@media (max-width: 991.98px) {
    section.hp-founder {
        padding-top: 72px;
    }

    .hp-founder__grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .hp-founder__media {
        max-width: 560px;
    }
}

@media (max-width: 575.98px) {
    .hp-founder__media {
        padding: 0 0 22px 14px;
    }

    .hp-founder__media::before {
        inset: 24px 20px 0 0;
        border-radius: 28px 28px 28px 80px;
    }

    .hp-founder__frame {
        aspect-ratio: 4 / 3;
        border-radius: 26px 26px 26px 80px;
    }

    .hp-founder__badge--sus {
        top: 14px;
        right: 10px;
        padding: 8px 14px 8px 8px;
    }

    .hp-founder__badge-ico {
        width: 30px;
        height: 30px;
    }

    .hp-founder__badge--jos {
        padding: 10px 14px;
    }

    .hp-founder__badge--jos strong {
        font-size: 1.5rem;
    }

    .hp-founder__actions .hp-btn {
        width: 100%;
    }
}

/* ---------- Animatii la derulare (activate din JS) ---------- */

.hp-js .hp-reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity .7s var(--hp-ease), transform .7s var(--hp-ease);
}

.hp-js .hp-reveal.is-vizibil {
    opacity: 1;
    transform: none;
}

/* ---------- Responsive ---------- */

@media (max-width: 1199.98px) {
    .hp-proof__group {
        grid-template-columns: minmax(0, 1fr);
    }

    .hp-proof__info {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: end;
        column-gap: 32px;
    }

    .hp-proof__info > * {
        grid-column: 1;
    }

    .hp-proof__info .hp-btn {
        grid-column: 2;
        grid-row: 1 / span 4;
        align-self: end;
        margin-top: 0;
    }
}

@media (max-width: 991.98px) {
    .hp-plans {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hp-docs {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 14px;
    }
}

@media (max-width: 767.98px) {
    section.hp-proof {
        padding: 72px 0;
    }

    .hp-proof__group {
        padding: 22px;
        border-radius: 26px;
    }

    .hp-proof__info {
        display: flex;
        align-items: flex-start;
    }

    .hp-proof__info .hp-btn {
        align-self: flex-start;
        margin-top: 20px;
    }

    .hp-docs {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 22px 16px;
    }

    .hp-lb {
        grid-template-columns: minmax(0, 1fr);
        grid-template-rows: auto minmax(0, 1fr) auto auto;
    }

    .hp-lb__stage {
        grid-row: 2;
        padding: 0 12px;
    }

    .hp-lb__nav {
        position: absolute;
        bottom: 104px;
        width: 48px;
        height: 48px;
        z-index: 1;
    }

    .hp-lb__nav--inapoi {
        left: 16px;
    }

    .hp-lb__nav--inainte {
        right: 16px;
    }

    .hp-lb__stage img {
        max-height: calc(100% - 90px);
    }

    .hp-lb__stage figcaption {
        padding: 0 64px;
    }
}

@media (max-width: 575.98px) {
    section.hp-pricing {
        padding-bottom: 64px;
    }

    .hp-sheet {
        border-radius: 28px;
    }

    .hp-plans {
        grid-template-columns: minmax(0, 1fr);
        gap: 26px;
    }

    .hp-plan {
        padding: 24px 22px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hp-pricing *, .hp-proof *, .hp-guides *, .hp-founder *, .hp-lb, .hp-lb * {
        animation: none !important;
        transition: none !important;
    }

    .hp-js .hp-reveal {
        opacity: 1;
        transform: none;
    }
}
