/* =========================================
     PACKS SECTION — Festival Somos Cerveceros
     Bootstrap 5 compatible
  ========================================= */
.packs {
    background: #ffffff;
    padding: 64px 0 80px;
}

/* --- Pack Card --- */
.pack-card {
    background: #ffffff;
    border: 1px solid #E5E3DC;
    border-radius: 14px;
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.pack-card:hover {
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.10);
    transform: translateY(-3px);
}

.pack-card.pack-featured {
    border: 2px solid #E87722;
}

/* --- Card Header --- */
.pack-header {
    background: #E87722;
    padding: 16px 18px 18px;
}

.pack-header.pack-header--dark {
    background: #2C2C2A;
}

.pack-eyebrow {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.65);
    margin: 0 0 2px;
}

.pack-name {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 22px;
    font-weight: 800;
    color: #ffffff;
    text-transform: uppercase;
    margin: 0;
    line-height: 1.1;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.pack-tagline {
    font-family: 'Barlow', sans-serif;
    font-size: 12px;
    font-style: italic;
    color: rgba(255, 255, 255, 0.78);
    margin: 5px 0 0;
}

.pack-badge-new {
    display: inline-block;
    background: #ffffff;
    color: #E87722;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 2px 8px;
    border-radius: 20px;
    vertical-align: middle;
    line-height: 1.6;
}

/* --- Card Body --- */
.pack-body {
    padding: 18px 18px 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.pack-desc {
    font-family: 'Barlow', sans-serif;
    font-size: 13px;
    line-height: 1.6;
    color: #888780;
    margin: 0 0 16px;
}

/* --- Pricing Block --- */
.pack-pricing {
    background: #F7F6F2;
    border-radius: 10px;
    padding: 11px 14px;
    margin-bottom: 16px;
}

.pack-pricing-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 8px;
}



.pack-pricing-label {
    font-family: 'Barlow', sans-serif;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: #888780;
    white-space: nowrap;
}

.pack-price {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 22px;
    font-weight: 800;
    color: #2C2C2A;
    white-space: nowrap;
}

.pack-price.pack-price--tbd {
    font-family: 'Barlow', sans-serif;
    font-size: 13px;
    font-weight: 500;
    color: #B4B2A9;
}

.pack-pricing-divider {
    height: 1px;
    background: rgba(0, 0, 0, 0.08);
    margin: 8px 0;
}
.pack-pricing-row.agotado, .pack-pricing-label.agotado, .pack-price.agotado {
    color: #B4B2A9;
    text-decoration: line-through !important;
}

/* --- Features List --- */
.pack-features {
    list-style: none;
    padding: 0;
    margin: 0 0 18px;
    flex: 1;
}

.pack-features li {
    font-family: 'Barlow', sans-serif;
    font-size: 12px;
    color: #5F5E5A;
    padding: 7px 0;
    border-bottom: 1px solid #F0EEE8;
    display: flex;
    align-items: flex-start;
    gap: 9px;
}

.pack-features li:last-child {
    border-bottom: none;
}

/* Bullet point — always top-aligned, always same size */
.pack-features li::before {
    content: '';
    display: block;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #E87722;
    flex-shrink: 0;
    margin-top: 4px;
}

/* Item text block */
.pack-feature-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

/* Main label */
.pack-feature-label {
    font-weight: 500;
    color: #3A3937;
    line-height: 1.4;
}

/* Sub-description — shown below the main label */
.pack-feature-sub {
    font-size: 11px;
    color: #A09F9A;
    font-weight: 400;
    line-height: 1.4;
}

/* --- CTA Button --- */
.pack-cta {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 10px 16px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    width: 100%;
    display: block;
    text-align: center;
    text-decoration: none;
    transition: background 0.15s ease, opacity 0.15s ease;
    margin-top: auto;
}

.pack-cta--primary {
    background: #E87722;
    color: #ffffff;
}

.pack-cta--primary:hover {
    background: #C4601A;
    color: #ffffff;
}

.pack-cta--outline {
    background: transparent;
    color: #E87722;
    border: 1.5px solid #E87722;
}

.pack-cta--outline:hover {
    background: #FDF3EB;
}

.pack-cta--soon {
    background: #F0EEE8;
    color: #B4B2A9;
    cursor: default;
    pointer-events: none;
}

/* --- Section Header --- */
.packs-section-title {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 36px;
    font-weight: 800;
    text-transform: uppercase;
    color: #2C2C2A;
    letter-spacing: 0.02em;
}

.bg-dark .packs-section-title {

    color: #FAFAFA;

}



.packs-section-title span {
    color: #E87722;
}

.packs-section-subtitle {
    font-family: 'Barlow', sans-serif;
    font-size: 15px;
    color: #888780;
    max-width: 520px;
    margin: 0 auto;
    line-height: 1.6;
}

/* --- Cuotas Banner --- */
.packs-cuotas {
    background: #FDF3EB;
    border: 1px solid #F5C99A;
    border-radius: 14px;
    padding: 36px 40px;
    margin-top: 48px;
}

.packs-cuotas-eyebrow {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #E87722;
    margin: 0 0 6px;
}

.packs-cuotas-title {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 28px;
    font-weight: 800;
    text-transform: uppercase;
    color: #2C2C2A;
    margin: 0 0 10px;
    letter-spacing: 0.02em;
}

.packs-cuotas-title span {
    color: #E87722;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.packs-cuotas-lead {
    font-family: 'Barlow', sans-serif;
    font-size: 14px;
    color: #5F5E5A;
    line-height: 1.6;
    margin: 0 0 20px;
}

.cuotas-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 20px;
}

.cuota-item {
    background: #ffffff;
    border: 1px solid #F0C99A;
    border-radius: 10px;
    padding: 16px 18px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.cuota-item-period {
    font-family: 'Barlow', sans-serif;
    font-size: 10px;
    font-weight: 600;
    color: #B4B2A9;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.cuota-item-dates {
    font-family: 'Barlow', sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: #2C2C2A;
    line-height: 1.4;
}

.cuota-item-value {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 20px;
    font-weight: 800;
    color: #E87722;
    margin-top: 4px;
}

.cuotas-legal {
    font-family: 'Barlow', sans-serif;
    font-size: 12px;
    color: #888780;
    line-height: 1.65;
    border-top: 1px solid #F0C99A;
    padding-top: 16px;
    margin: 0;
}

.cuotas-legal strong {
    color: #5F5E5A;
    font-weight: 600;
}

/* --- Responsive tweaks --- */
@media (max-width: 767px) {
    .packs {
        padding: 40px 0 56px;
    }
    .pack-name {
        font-size: 20px;
    }
    .packs-cuotas {
        padding: 24px 20px;
    }
    .cuotas-grid {
        grid-template-columns: 1fr;
    }
}

/* --- Ribbon PREVENTA --- */
/* Ribbon: wrapper recorta, el span rota dentro */
.pack-ribbon-wrap {
    position: absolute;
    top: 0;
    right: 0;
    width: 80px;   /* tamaño del triángulo de esquina */
    height: 80px;
    overflow: hidden;
    pointer-events: none;
    z-index: 10;
}

.pack-ribbon {
    position: absolute;
    top: 18px;
    right: -26px;
    width: 100px;
    background: #2C2C2A;
    color: #ffffff;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    text-align: center;
    padding: 4px 0;
    transform: rotate(45deg);
    box-shadow: 0 2px 5px rgba(0,0,0,0.25);
}

/* Ribbon blanco con texto naranja para el Pack Socio (header naranja) */
.pack-ribbon--light {
    background: #ffffff;
    color: #E87722;
}


/* --- Badge Preventa --- */
.badge-preventa {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: #E87722;
    color: #ffffff;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    padding: 4px 9px;
    border-radius: 5px;
    margin-bottom: 8px;
}

.badge-preventa svg {
    flex-shrink: 0;
}


/* --- Alerta preventa --- */
.preventa-alert {
    display: flex;
    align-items: center;
    gap: 14px;
    background: #FDF3EB;
    border: 1.5px solid #E87722;
    border-radius: 10px;
    padding: 14px 20px;
    margin-top: 24px;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
    text-align: left;
}

.preventa-alert-icon {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    background: #E87722;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.preventa-alert-icon svg {
    display: block;
}

.preventa-alert-body {
    flex: 1;
}

.preventa-alert-tag {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #E87722;
    display: block;
    margin-bottom: 2px;
}

.preventa-alert-msg {
    font-family: 'Barlow', sans-serif;
    font-size: 13.5px;
    font-weight: 500;
    color: #2C2C2A;
    line-height: 1.45;
    margin: 0;
}

.preventa-alert-msg strong {
    font-weight: 700;
}

.preventa-alert-badge {
    flex-shrink: 0;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    background: #E87722;
    color: #fff;
    padding: 5px 12px;
    border-radius: 6px;
    white-space: nowrap;
}

@media (max-width: 575px) {
    .preventa-alert { flex-wrap: wrap; }
    .preventa-alert-badge { width: 100%; text-align: center; }
}
