﻿/* ============================================================

   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,700;1,400&family=DM+Sans:wght@300;400;500&display=swap');

/* ---- Variabile locale ---- */
.ap-page {
    --ap-blue-50: #E6F1FB;
    --ap-blue-100: #B5D4F4;
    --ap-blue-400: #378ADD;
    --ap-blue-600: #185FA5;
    --ap-blue-800: #0C447C;
    --ap-blue-900: #042C53;
    --ap-bg: #f8f7f5;
    --ap-surface: #ffffff;
    --ap-border: rgba(0,0,0,0.08);
    --ap-border-md: rgba(0,0,0,0.14);
    --ap-text: #1a1a1a;
    --ap-muted: #5F5E5A;
    --ap-hint: #888780;
    font-family: 'DM Sans', sans-serif;
    background: var(--ap-bg);
    color: var(--ap-text);
}

/* ---- HERO ---- */
.ap-hero {
    background: var(--ap-surface);
    border-bottom: 0.5px solid var(--ap-border);
    padding: 60px 0 52px;
    animation: ap-up 0.45s ease both;
}

.ap-hero__inner {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 56px;
    align-items: center;
}

.ap-breadcrumb {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.13em;
    color: var(--ap-hint);
    margin-bottom: 18px;
    flex-wrap: wrap;
}

    .ap-breadcrumb a {
        color: var(--ap-hint);
        text-decoration: none;
        transition: color 0.2s;
    }

        .ap-breadcrumb a:hover {
            color: var(--ap-blue-600);
        }

.ap-breadcrumb__cur {
    color: var(--ap-blue-600);
}

.ap-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--ap-blue-800);
    background: var(--ap-blue-50);
    border: 0.5px solid var(--ap-blue-100);
    border-radius: 20px;
    padding: 5px 13px;
    margin-bottom: 20px;
}

.ap-badge__dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--ap-blue-400);
    animation: ap-blink 2.5s infinite;
}

@keyframes ap-blink {
    0%,100% {
        opacity: 1
    }

    50% {
        opacity: 0.3
    }
}

.ap-hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 4vw, 2.9rem);
    font-weight: 700;
    line-height: 1.12;
    letter-spacing: -0.02em;
    color: var(--ap-text);
    margin-bottom: 18px;
}

    .ap-hero h1 em {
        font-style: italic;
        color: var(--ap-blue-600);
    }

.ap-hero__desc {
    font-size: 0.88rem;
    line-height: 1.8;
    color: var(--ap-muted);
    font-weight: 300;
    max-width: 420px;
}

/* ---- Slot imagini (shared pattern) ---- */
.ap-img-slot {
    border-radius: 12px;
    background: #f0ede8;
    border: 0.5px dashed var(--ap-border-md);
    overflow: hidden;
    position: relative;
    display: block;
    margin: 0;
}

.ap-img-slot--hero {
    aspect-ratio: 4 / 3;
}

.ap-img-slot--inline {
    aspect-ratio: 16 / 10;
}

/* colțuri decorative */
.ap-img-slot::before,
.ap-img-slot::after {
    content: '';
    position: absolute;
    width: 14px;
    height: 14px;
    border-color: var(--ap-blue-400);
    border-style: solid;
}

.ap-img-slot::before {
    top: 10px;
    left: 10px;
    border-width: 1.5px 0 0 1.5px;
    border-radius: 2px 0 0 0;
}

.ap-img-slot::after {
    bottom: 10px;
    right: 10px;
    border-width: 0 1.5px 1.5px 0;
    border-radius: 0 0 2px 0;
}

.ap-img-slot__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.ap-img-slot__placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    pointer-events: none;
}

    .ap-img-slot__placeholder svg {
        opacity: 0.3;
        stroke: var(--ap-muted);
    }

    .ap-img-slot__placeholder span {
        font-size: 0.72rem;
        text-transform: uppercase;
        letter-spacing: 0.1em;
        color: var(--ap-hint);
        opacity: 0.6;
    }

    .ap-img-slot__placeholder small {
        font-size: 0.65rem;
        color: var(--ap-hint);
        opacity: 0.4;
    }

/* ---- Section header ---- */
.ap-sec-hdr {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 28px;
}

.ap-sec-hdr__lbl {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--ap-hint);
    white-space: nowrap;
}

.ap-sec-hdr__line {
    flex: 1;
    height: 0.5px;
    background: var(--ap-border);
}

/* ---- DESCRIERE ---- */
.ap-desc {
    padding: 52px 0 0;
    animation: ap-up 0.45s 0.08s ease both;
}

.ap-desc__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
    margin-bottom: 48px;
}

.ap-desc__text h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--ap-text);
    line-height: 1.25;
    letter-spacing: -0.01em;
    margin-bottom: 16px;
}

.ap-desc__text p {
    font-size: 0.86rem;
    line-height: 1.8;
    color: var(--ap-muted);
    font-weight: 300;
}

/* ---- BENEFICII ---- */
.ap-benefits {
    background: var(--ap-surface);
    border-top: 0.5px solid var(--ap-border);
    border-bottom: 0.5px solid var(--ap-border);
    padding: 48px 0;
    animation: ap-up 0.45s 0.15s ease both;
}

.ap-benefits__inner {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 56px;
    align-items: start;
}

.ap-benefits__title {
    font-family: 'Playfair Display', serif;
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--ap-text);
    line-height: 1.2;
    letter-spacing: -0.01em;
}

    .ap-benefits__title em {
        font-style: italic;
        color: var(--ap-blue-600);
    }

.ap-ben-grid {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.ap-ben-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 0;
    border-bottom: 0.5px solid var(--ap-border);
    font-size: 0.85rem;
    color: var(--ap-text);
    line-height: 1.5;
}

    .ap-ben-item:nth-child(odd) {
        padding-right: 24px;
        border-right: 0.5px solid var(--ap-border);
    }

    .ap-ben-item:nth-child(even) {
        padding-left: 24px;
    }

    .ap-ben-item:nth-last-child(-n+2) {
        border-bottom: none;
    }

.ap-ben-chk {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--ap-blue-50);
    border: 0.5px solid var(--ap-blue-100);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 1px;
}

    .ap-ben-chk svg {
        width: 10px;
        height: 10px;
    }

/* ---- PACHETE ---- */
.ap-packages {
    padding: 48px 0 0;
    animation: ap-up 0.45s 0.2s ease both;
}

.ap-pkg-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.ap-pkg {
    background: var(--ap-surface);
    border: 0.5px solid var(--ap-border);
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: border-color 0.2s, transform 0.2s;
}

    .ap-pkg:hover {
        border-color: var(--ap-border-md);
        transform: translateY(-3px);
    }

.ap-pkg--featured {
    border-color: var(--ap-blue-400);
    border-width: 1.5px;
}

.ap-pkg--dark {
    background: var(--ap-blue-900);
    border-color: var(--ap-blue-800);
}

/* Bară colorată sus */
.ap-pkg__bar {
    height: 3px;
}

.ap-pkg:nth-child(1) .ap-pkg__bar {
    background: var(--ap-blue-100);
}

.ap-pkg:nth-child(2) .ap-pkg__bar {
    background: var(--ap-blue-400);
}

.ap-pkg:nth-child(3) .ap-pkg__bar {
    background: var(--ap-blue-600);
}

.ap-pkg__hdr {
    padding: 24px 22px 18px;
    border-bottom: 0.5px solid var(--ap-border);
}

.ap-pkg--dark .ap-pkg__hdr {
    border-bottom-color: var(--ap-blue-800);
}

.ap-pkg__badge {
    display: inline-block;
    font-size: 0.65rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 3px 9px;
    border-radius: 20px;
    margin-bottom: 12px;
    background: var(--ap-blue-50);
    color: var(--ap-blue-800);
}

.ap-pkg__badge--featured {
    background: var(--ap-blue-50);
    color: var(--ap-blue-800);
}

.ap-pkg__badge--dark {
    background: var(--ap-blue-800);
    color: #85B7EB;
}

.ap-pkg h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--ap-text);
    margin-bottom: 6px;
}

.ap-pkg--dark h3 {
    color: #f0ede8;
}

.ap-pkg__sub {
    font-size: 0.8rem;
    color: var(--ap-muted);
    font-weight: 300;
}

.ap-pkg--dark .ap-pkg__sub {
    color: #85B7EB;
}

.ap-pkg__body {
    padding: 20px 22px;
    flex: 1;
}

.ap-pkg__list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

    .ap-pkg__list li {
        display: flex;
        align-items: flex-start;
        gap: 10px;
        font-size: 0.82rem;
        color: var(--ap-text);
        line-height: 1.45;
    }

.ap-pkg--dark .ap-pkg__list li {
    color: #c8c8d8;
}

.ap-pkg__dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--ap-blue-400);
    flex-shrink: 0;
    margin-top: 6px;
}

.ap-pkg__footer {
    padding: 18px 22px;
    border-top: 0.5px solid var(--ap-border);
    background: #f8f7f5;
}

.ap-pkg__footer--dark {
    background: var(--ap-blue-800);
    border-top-color: var(--ap-blue-600);
}

.ap-pkg__price {
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--ap-text);
}

.ap-pkg__footer--dark .ap-pkg__price {
    color: #f0ede8;
}

.ap-pkg__period {
    font-size: 0.72rem;
    color: var(--ap-muted);
    margin-top: 2px;
}

.ap-pkg__footer--dark .ap-pkg__period {
    color: #85B7EB;
}

/* ---- CTA ---- */
.ap-cta {
    padding: 48px 0 64px;
    animation: ap-up 0.45s 0.28s ease both;
}

.ap-cta__box {
    background: var(--ap-surface);
    border: 0.5px solid var(--ap-border);
    border-radius: 16px;
    padding: 40px 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    flex-wrap: wrap;
}

.ap-cta__text h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--ap-text);
    margin-bottom: 8px;
    letter-spacing: -0.01em;
}

.ap-cta__text p {
    font-size: 0.85rem;
    color: var(--ap-muted);
    line-height: 1.65;
    font-weight: 300;
    max-width: 420px;
}

.ap-cta__btn {
    font-family: 'DM Sans', sans-serif;
    font-size: 0.85rem;
    font-weight: 500;
    color: #fff;
    background: var(--ap-blue-900);
    border: none;
    border-radius: 8px;
    padding: 13px 26px;
    cursor: pointer;
    white-space: nowrap;
    text-decoration: none;
    display: inline-block;
    transition: background 0.2s, transform 0.15s;
}

    .ap-cta__btn:hover {
        background: var(--ap-blue-600);
        transform: translateY(-1px);
    }

    .ap-cta__btn:active {
        transform: scale(0.98);
    }

/* ---- Animații ---- */
@keyframes ap-up {
    from {
        opacity: 0;
        transform: translateY(14px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ---- Responsive ---- */
@media (max-width: 960px) {
    .ap-hero__inner {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .ap-desc__inner {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .ap-benefits__inner {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .ap-pkg-grid {
        grid-template-columns: 1fr;
        max-width: 480px;
    }
}

@media (max-width: 700px) {
    .ap-ben-grid {
        grid-template-columns: 1fr;
    }

    .ap-ben-item:nth-child(odd) {
        padding-right: 0;
        border-right: none;
    }

    .ap-ben-item:nth-child(even) {
        padding-left: 0;
    }

    .ap-ben-item:nth-last-child(-n+2) {
        border-bottom: 0.5px solid var(--ap-border);
    }

    .ap-ben-item:last-child {
        border-bottom: none;
    }

    .ap-cta__box {
        flex-direction: column;
        align-items: flex-start;
        padding: 28px 24px;
    }

    .ap-hero h1 {
        font-size: 1.9rem;
    }
}
