/* ===== PACKAGES PAGE STYLES ===== */

/* --- Page Hero --- */
.pkg-hero {
    position: relative;
    min-height: 420px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 160px 0 80px;
    overflow: hidden;
}
.pkg-hero .container {
    display: flex;
    justify-content: flex-start;
    width: 100%;
}
.pkg-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('img/packages.jpg') 65% 30% / cover no-repeat;
    z-index: 0;
}
.pkg-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(10,10,10,0.82) 0%, rgba(60,10,10,0.75) 100%);
    z-index: 1;
}
.pkg-flag-stripe {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    height: 4px;
}
.pkg-flag-stripe .stripe { flex: 1; }

.pkg-flag-stripe { z-index: 2; }

.pkg-hero-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
    text-align: left;
}
.pkg-tag {
    margin-bottom: 20px;
}
.pkg-hero-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2.2rem, 5vw, 3.6rem);
    font-weight: 700;
    color: #fff;
    line-height: 1.15;
    margin-bottom: 18px;
}
.pkg-hero-sub {
    font-size: 1.05rem;
    color: rgba(255,255,255,0.72);
    max-width: 560px;
    line-height: 1.7;
    margin-bottom: 36px;
}
.pkg-hero-stats {
    display: flex;
    align-items: center;
    gap: 0;
    flex-wrap: wrap;
    gap: 20px;
}
.pkg-stat {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255,255,255,0.85);
    font-size: 0.9rem;
}
.pkg-stat i {
    color: var(--gold);
    font-size: 1rem;
}
.pkg-stat strong { color: #fff; }
.pkg-stat-div {
    width: 1px;
    height: 22px;
    background: rgba(255,255,255,0.18);
}

/* --- Packages Section --- */
.packages-section {
    padding: 100px 0 60px;
    background: #f9f9f7;
}

.pkg-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-top: 60px;
    align-items: start;
}

/* --- Package Card --- */
.pkg-card {
    background: #fff;
    border-radius: 24px;
    padding: 36px 32px 32px;
    border: 1.5px solid #ebebeb;
    display: flex;
    flex-direction: column;
    gap: 0;
    position: relative;
    transition: transform 0.28s ease, box-shadow 0.28s ease;
}
.pkg-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 60px rgba(0,0,0,0.1);
}
.pkg-card-featured {
    border-color: var(--red);
    box-shadow: 0 16px 48px rgba(192,57,43,0.15);
    transform: translateY(-10px);
}
.pkg-card-featured:hover {
    transform: translateY(-16px);
    box-shadow: 0 28px 64px rgba(192,57,43,0.22);
}

.pkg-popular-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--red);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 5px 18px;
    border-radius: 100px;
    white-space: nowrap;
}
.pkg-popular-badge i { margin-right: 5px; }

.pkg-card-top { margin-bottom: 20px; }

.pkg-icon-wrap {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    margin-bottom: 18px;
}
.pkg-icon-blue  { background: rgba(99,102,241,0.12); color: #6366f1; }
.pkg-icon-red   { background: rgba(192,57,43,0.12);  color: var(--red); }
.pkg-icon-gold  { background: rgba(243,184,0,0.14);  color: var(--gold); }

.pkg-name {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.55rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 6px;
}
.pkg-tagline {
    font-size: 0.85rem;
    color: #888;
    margin-bottom: 22px;
    line-height: 1.5;
}

/* ===== SVG ILLUSTRATIONS ===== */
.pkg-svg-wrap {
    width: 130px;
    height: 130px;
    margin-bottom: 18px;
}
.pkg-illus {
    width: 100%;
    height: 100%;
    overflow: visible;
}

/* Animation classes */
.pi-float         { animation: pi-float 3s ease-in-out infinite; }
.pi-cap           { animation: pi-cap-bounce 2.4s ease-in-out infinite; }
.pi-globe         { animation: pi-spin 10s linear infinite; }
.pi-briefcase     { animation: pi-swing 3s ease-in-out infinite; }
.pi-pencil        { animation: pi-pencil-float 3s ease-in-out infinite 0.5s; }
.pi-star-a        { animation: pi-twinkle 2s ease-in-out infinite; }
.pi-star-b        { animation: pi-twinkle 2s ease-in-out infinite 0.8s; }
.pi-dot-a         { animation: pi-pulse 2s ease-in-out infinite; }
.pi-dot-b         { animation: pi-pulse 2s ease-in-out infinite 1s; }
.pi-screen-glow   { animation: pi-pulse 1.5s ease-in-out infinite; }

@keyframes pi-float {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-7px); }
}
@keyframes pi-cap-bounce {
    0%, 60%, 100% { transform: translateY(0); }
    30%           { transform: translateY(-12px) rotate(-4deg); }
}
@keyframes pi-spin {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}
@keyframes pi-swing {
    0%, 100% { transform: rotate(0deg); }
    30%      { transform: rotate(14deg); }
    70%      { transform: rotate(-10deg); }
}
@keyframes pi-pencil-float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50%      { transform: translateY(-6px) rotate(5deg); }
}
@keyframes pi-twinkle {
    0%, 100% { opacity: 1; transform: scale(1); }
    50%      { opacity: 0.35; transform: scale(0.65); }
}
@keyframes pi-pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50%      { transform: scale(1.6); opacity: 0.45; }
}

.pkg-age-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.78rem;
    font-weight: 700;
    color: #6366f1;
    background: rgba(99,102,241,0.1);
    padding: 5px 12px;
    border-radius: 100px;
    margin-bottom: 18px;
}
.pkg-age-red  { color: var(--red);    background: rgba(192,57,43,0.1); }
.pkg-age-gold { color: #b8860b;       background: rgba(243,184,0,0.12); }

.pkg-price-row {
    display: flex;
    align-items: flex-end;
    gap: 4px;
    margin-bottom: 6px;
}
.pkg-currency {
    font-size: 0.78rem;
    font-weight: 700;
    color: #999;
    margin-bottom: 8px;
}
.pkg-amount {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--dark);
    line-height: 1;
    font-family: 'Outfit', sans-serif;
}
.pkg-period {
    font-size: 0.8rem;
    color: #aaa;
    margin-bottom: 6px;
}

.pkg-save-tag {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.76rem;
    font-weight: 600;
    color: var(--red);
    background: rgba(192,57,43,0.08);
    padding: 3px 10px;
    border-radius: 100px;
    margin-bottom: 16px;
}
.pkg-save-gold { color: #b8860b; background: rgba(243,184,0,0.12); }

.pkg-levels-label {
    font-size: 0.78rem;
    color: #aaa;
    margin-bottom: 10px;
    font-weight: 500;
}
.pkg-level-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
    margin-bottom: 4px;
}
.pkg-chip {
    background: #f3f3f3;
    color: #555;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 8px;
    letter-spacing: 0.04em;
}
.pkg-chip-active {
    background: rgba(192,57,43,0.1);
    color: var(--red);
}
.pkg-chip-arrow {
    color: #ccc;
    font-size: 0.6rem;
}

.pkg-divider {
    height: 1px;
    background: #f0f0f0;
    margin: 20px 0;
}

/* Feature list */
.pkg-features {
    list-style: none;
    padding: 0;
    margin: 0 0 28px;
    display: flex;
    flex-direction: column;
    gap: 11px;
    flex: 1;
}
.pkg-features li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.88rem;
    color: #444;
    line-height: 1.45;
}
.pkg-features li i.fa-check {
    color: #16a34a;
    font-size: 0.78rem;
    margin-top: 3px;
    flex-shrink: 0;
}
.pkg-features li i.fa-xmark {
    color: #ccc;
    font-size: 0.78rem;
    margin-top: 3px;
    flex-shrink: 0;
}
.pkg-feat-muted { color: #bbb !important; }

/* Buttons */
.pkg-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 24px;
    border-radius: 14px;
    font-size: 0.88rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.22s ease;
    cursor: pointer;
    width: 100%;
    box-sizing: border-box;
    margin-top: auto;
}
.pkg-btn-outline {
    border: 2px solid #e0e0e0;
    color: var(--dark);
    background: transparent;
}
.pkg-btn-outline:hover {
    border-color: var(--red);
    color: var(--red);
    background: rgba(192,57,43,0.04);
}
.pkg-btn-primary {
    background: var(--red);
    color: #fff;
    border: 2px solid var(--red);
    box-shadow: 0 8px 24px rgba(192,57,43,0.35);
}
.pkg-btn-primary:hover {
    background: var(--red-dark, #a93226);
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(192,57,43,0.45);
}
.pkg-btn-gold {
    background: linear-gradient(135deg, #c9a227 0%, #f3b800 100%);
    color: #1a1a1a;
    border: 2px solid transparent;
    box-shadow: 0 8px 24px rgba(243,184,0,0.3);
}
.pkg-btn-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(243,184,0,0.45);
}

/* Note */
.pkg-note {
    margin-top: 48px;
    background: #fff;
    border: 1.5px solid #ebebeb;
    border-radius: 16px;
    padding: 20px 28px;
    font-size: 0.88rem;
    color: #666;
    line-height: 1.7;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}
.pkg-note i {
    color: var(--red);
    font-size: 1rem;
    margin-top: 2px;
    flex-shrink: 0;
}
.pkg-note a { color: var(--red); font-weight: 600; }

/* --- Online Banner --- */
.pkg-online-banner {
    padding: 60px 0;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d1a1a 100%);
}
.pkg-online-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    flex-wrap: wrap;
}
.pkg-online-left {
    display: flex;
    align-items: center;
    gap: 24px;
}
.pkg-online-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #6ee7b7;
    flex-shrink: 0;
}
.pkg-online-left h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.6rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 6px;
}
.pkg-online-left p {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.65);
    max-width: 460px;
    line-height: 1.6;
}

/* --- FAQ --- */
.pkg-faq {
    padding: 90px 0 100px;
    background: #fff;
}
.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 56px;
}
.faq-item {
    background: #f9f9f7;
    border-radius: 16px;
    padding: 24px 26px;
    border: 1.5px solid #ebebeb;
    transition: border-color 0.22s, box-shadow 0.22s;
}
.faq-item:hover {
    border-color: var(--red);
    box-shadow: 0 8px 24px rgba(192,57,43,0.08);
}
.faq-q {
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 10px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    line-height: 1.4;
}
.faq-q i { color: var(--red); margin-top: 2px; flex-shrink: 0; }
.faq-a {
    font-size: 0.86rem;
    color: #666;
    line-height: 1.7;
    padding-left: 22px;
}
.faq-a a { color: var(--red); font-weight: 600; }

/* ===== RESPONSIVE ===== */
@media (max-width: 960px) {
    .pkg-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .pkg-card-featured {
        transform: none;
        grid-column: span 2;
        max-width: 460px;
        margin: 0 auto;
        width: 100%;
    }
    .faq-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
    .pkg-hero { padding: 140px 0 60px; }
    .pkg-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .pkg-card-featured { grid-column: span 1; max-width: none; }
    .pkg-online-inner { flex-direction: column; align-items: flex-start; }
    .pkg-hero-stats { flex-direction: column; align-items: flex-start; gap: 12px; }
    .pkg-stat-div { display: none; }
}
