/*
 * BCNLIP Reference Design System
 * Based on bc-learn-live.base44.app design
 * Navy-dark / Cream / Courier Prime / Playfair Display
 */

/* ============================================================
   CSS VARIABLES — Reference Design
   ============================================================ */
:root {
    /* Brand colors from reference */
    --ref-yellow:        #F2A900;
    --ref-yellow-light:  #FFD166;
    --ref-navy:          #1B2A4A;
    --ref-navy-dark:     #0F1C35;
    --ref-red:           #7A2828;
    --ref-red-mid:       #8F3232;
    --ref-cream:         #F5EDD8;
    --ref-cream-mid:     #EDE4CC;
    --ref-ink:           #1a1a2e;
    --ref-white:         #F9F5EC;
}

/* ============================================================
   BASE BODY — Reference Design Override
   ============================================================ */
body.ref-design {
    font-family: 'Courier Prime', 'Courier New', monospace;
    background: var(--ref-navy-dark);
    color: var(--ref-white);
    overflow-x: hidden;
}

/* Noise texture overlay */
body.ref-design::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.035'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 9999;
    opacity: 0.3;
}

/* ============================================================
   NAVIGATION — Reference
   ============================================================ */
.ref-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 3rem;
    background: rgba(15, 28, 53, 0.97);
    backdrop-filter: blur(12px);
    border-bottom: 2px solid var(--ref-yellow);
}

.ref-nav-logo img {
    height: 50px;
    filter: drop-shadow(0 0 10px rgba(242, 169, 0, 0.35));
    transition: filter 0.3s;
}

.ref-nav-logo img:hover {
    filter: drop-shadow(0 0 20px rgba(242, 169, 0, 0.7));
}

.ref-nav-links {
    display: flex;
    gap: 1.8rem;
    list-style: none;
}

.ref-nav-links a {
    font-size: 0.72rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--ref-yellow);
    text-decoration: none;
    transition: color 0.2s;
}

.ref-nav-links a:hover {
    color: var(--ref-yellow-light);
}

.ref-nav-back {
    color: rgba(255, 255, 255, 0.4) !important;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.ref-nav-back:hover {
    color: var(--ref-yellow) !important;
}

.ref-nav-back::before {
    content: '←';
}

.ref-nav-cta {
    background: var(--ref-yellow);
    color: var(--ref-navy-dark) !important;
    padding: 0.38rem 1rem;
    font-weight: 700 !important;
    border: 2px solid var(--ref-yellow);
    transition: all 0.2s !important;
}

.ref-nav-cta:hover {
    background: transparent !important;
    color: var(--ref-yellow) !important;
}

/* ============================================================
   BUTTONS — Reference
   ============================================================ */
.ref-btn-yellow {
    font-family: 'Courier Prime', monospace;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    padding: 0.85rem 1.8rem;
    background: var(--ref-yellow);
    color: var(--ref-navy-dark);
    border: 2px solid var(--ref-yellow);
    cursor: pointer;
    text-decoration: none;
    transition: all 0.25s;
    display: inline-block;
}

.ref-btn-yellow:hover {
    background: transparent;
    color: var(--ref-yellow);
}

.ref-btn-ghost-light {
    font-family: 'Courier Prime', monospace;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    padding: 0.85rem 1.8rem;
    background: transparent;
    color: var(--ref-white);
    border: 2px solid rgba(249, 245, 236, 0.3);
    cursor: pointer;
    text-decoration: none;
    transition: all 0.25s;
    display: inline-block;
}

.ref-btn-ghost-light:hover {
    border-color: var(--ref-yellow);
    color: var(--ref-yellow);
}

.ref-btn-ghost-dark {
    font-family: 'Courier Prime', monospace;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    padding: 0.85rem 1.8rem;
    background: transparent;
    color: var(--ref-navy);
    border: 2px solid rgba(27, 42, 74, 0.4);
    cursor: pointer;
    text-decoration: none;
    transition: all 0.25s;
    display: inline-block;
}

.ref-btn-ghost-dark:hover {
    background: var(--ref-navy);
    color: var(--ref-yellow);
}

/* ============================================================
   SECTIONS — Reference
   ============================================================ */
.ref-sec-dark {
    background: var(--ref-navy-dark);
    padding: 5rem 0;
}

.ref-sec-cream {
    background: var(--ref-cream);
    padding: 5rem 0;
}

.ref-sec-white {
    background: var(--ref-white);
    padding: 5rem 0;
}

.ref-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 3rem;
}

/* ============================================================
   LABELS & TITLES — Reference
   ============================================================ */
.ref-lbl-light {
    font-size: 0.62rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--ref-red-mid);
    margin-bottom: 0.7rem;
    display: flex;
    align-items: center;
    gap: 0.7rem;
}

.ref-lbl-light::after {
    content: '';
    display: block;
    width: 46px;
    height: 1px;
    background: var(--ref-red-mid);
}

.ref-ttl-light {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.9rem, 3.8vw, 2.9rem);
    font-weight: 700;
    color: var(--ref-yellow);
    line-height: 1.1;
    margin-bottom: 1.1rem;
}

.ref-ttl-light em {
    font-style: italic;
    color: var(--ref-white);
}

.ref-lbl-dark {
    font-size: 0.62rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--ref-red);
    margin-bottom: 0.7rem;
    display: flex;
    align-items: center;
    gap: 0.7rem;
}

.ref-lbl-dark::after {
    content: '';
    display: block;
    width: 46px;
    height: 1px;
    background: var(--ref-red);
}

.ref-ttl-dark {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.9rem, 3.8vw, 2.9rem);
    font-weight: 700;
    color: var(--ref-navy);
    line-height: 1.1;
    margin-bottom: 1.1rem;
}

.ref-ttl-dark em {
    font-style: italic;
    color: var(--ref-yellow);
}

/* ============================================================
   HERO — Reference
   ============================================================ */
.ref-hero {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding-top: 78px;
    overflow: hidden;
    background: var(--ref-navy-dark);
}

.ref-hero-left {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 5rem 4rem 5rem 5rem;
    position: relative;
    z-index: 2;
}

.ref-hero-right {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.ref-hero-glow {
    position: absolute;
    width: 560px;
    height: 560px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(242, 169, 0, 0.11) 0%, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: refPulse 5s ease-in-out infinite;
}

@keyframes refPulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.6; }
    50% { transform: translate(-50%, -50%) scale(1.08); opacity: 1; }
}

.ref-hero-watermark {
    font-family: 'Playfair Display', serif;
    font-size: clamp(9rem, 13vw, 12rem);
    font-weight: 900;
    font-style: italic;
    color: rgba(242, 169, 0, 0.06);
    position: absolute;
    pointer-events: none;
    user-select: none;
}

.ref-hero-logo {
    width: 290px;
    height: 290px;
    object-fit: contain;
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 0 34px rgba(242, 169, 0, 0.28));
    animation: refFloat 6s ease-in-out infinite;
}

@keyframes refFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-11px); }
}

/* Hero inner elements */
.ref-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.66rem;
    letter-spacing: 0.26em;
    text-transform: uppercase;
    margin-bottom: 1.4rem;
}

.ref-eyebrow::before {
    content: '';
    display: block;
    width: 26px;
    height: 2px;
}

.ref-eyebrow-yellow {
    color: var(--ref-red-mid);
}

.ref-eyebrow-yellow::before {
    background: var(--ref-red-mid);
}

.ref-hero-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(3rem, 5.5vw, 5.2rem);
    font-weight: 900;
    line-height: 1.0;
    margin-bottom: 0.4rem;
    letter-spacing: -0.02em;
}

.ref-hero-title-yellow {
    color: var(--ref-yellow);
}

.ref-hero-title-yellow span {
    color: var(--ref-white);
    font-style: italic;
}

.ref-hero-sub {
    font-size: 0.82rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--ref-yellow-light);
    margin-bottom: 1.8rem;
    opacity: 0.75;
}

.ref-hero-desc {
    font-size: 1rem;
    line-height: 1.82;
    color: var(--ref-cream);
    border-left: 3px solid var(--ref-red);
    padding-left: 1.2rem;
    max-width: 460px;
    margin-bottom: 2rem;
}

.ref-hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 2.8rem;
}

.ref-badge-yellow {
    font-size: 0.66rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 0.32rem 0.85rem;
    border: 1.5px solid var(--ref-yellow);
    color: var(--ref-yellow);
}

.ref-hero-ctas {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* ============================================================
   TICKER — Reference
   ============================================================ */
.ref-ticker {
    background: var(--ref-yellow);
    padding: 1rem 0;
    overflow: hidden;
}

.ref-ticker-track {
    display: flex;
    gap: 3rem;
    animation: refScroll 26s linear infinite;
    white-space: nowrap;
    width: max-content;
}

@keyframes refScroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

.ref-ticker-item {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--ref-navy-dark);
    display: flex;
    align-items: center;
    gap: 0.7rem;
}

.ref-ticker-item::after {
    content: '◆';
    color: var(--ref-red);
    font-size: 0.42rem;
}

/* ============================================================
   PROGRAM DIVIDER — Reference
   ============================================================ */
.ref-divider {
    background: var(--ref-yellow);
    padding: 0.6rem 0;
    text-align: center;
}

.ref-divider span {
    font-size: 0.65rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--ref-navy-dark);
    font-weight: 700;
}

/* ============================================================
   TEXT UTILITIES — Reference
   ============================================================ */
.ref-intro-light {
    font-size: 0.95rem;
    line-height: 1.82;
    color: var(--ref-cream);
    opacity: 0.78;
    margin-bottom: 1.4rem;
}

.ref-intro-dark {
    font-size: 0.95rem;
    line-height: 1.82;
    color: var(--ref-ink);
    opacity: 0.75;
    margin-bottom: 1.4rem;
}

.ref-precio-intro-dark {
    font-size: 0.95rem;
    line-height: 1.75;
    max-width: 520px;
    margin-bottom: 3rem;
    color: var(--ref-ink);
    opacity: 0.75;
}

.ref-precio-intro-light {
    font-size: 0.95rem;
    line-height: 1.75;
    max-width: 520px;
    margin-bottom: 3rem;
    color: var(--ref-cream);
    opacity: 0.78;
}

/* ============================================================
   HIGHLIGHTS / TAGS — Reference
   ============================================================ */
.ref-hl {
    font-size: 0.66rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 0.3rem 0.78rem;
    border: 1px solid rgba(242, 169, 0, 0.3);
    color: var(--ref-yellow);
    display: inline-block;
}

.ref-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin-bottom: 2rem;
}

/* ============================================================
   GRIDS — Reference
   ============================================================ */
.ref-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
    margin-top: 2.5rem;
}

.ref-grid-wide {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 3.5rem;
    align-items: start;
    margin-top: 2.5rem;
}

/* ============================================================
   PRICING CARDS — Reference
   ============================================================ */
.ref-precios-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
}

.ref-pc-cream {
    background: rgba(27, 42, 74, 0.06);
    border: 1px solid rgba(27, 42, 74, 0.18);
    padding: 2.5rem;
    position: relative;
}

.ref-pc-cream.featured {
    background: rgba(27, 42, 74, 0.1);
    border-color: var(--ref-navy);
}

.ref-pc-flag {
    position: absolute;
    top: -1px;
    right: 1.5rem;
    font-size: 0.6rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    padding: 0.26rem 0.7rem;
}

.ref-pc-flag-navy {
    background: var(--ref-navy);
    color: var(--ref-white);
}

.ref-pc-flag-red {
    background: var(--ref-red);
    color: var(--ref-white);
}

.ref-pc-flag-yellow {
    background: var(--ref-yellow);
    color: var(--ref-navy-dark);
}

.ref-pc-label-dark {
    font-size: 0.65rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--ref-navy);
    margin-bottom: 1.4rem;
    opacity: 0.6;
}

.ref-pc-rows {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.4rem;
}

.ref-pc-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding-bottom: 0.7rem;
    border-bottom: 1px solid rgba(27, 42, 74, 0.1);
    gap: 0.5rem;
}

.ref-pc-row:last-child {
    border-bottom: none;
}

.ref-pc-dur-dark {
    font-size: 0.9rem;
    color: var(--ref-ink);
    flex: 1;
}

.ref-pc-amt {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    color: var(--ref-yellow);
    white-space: nowrap;
    flex-shrink: 0;
}

.ref-pc-amt-dark {
    font-size: 2rem;
}

.ref-pc-amt-sm {
    font-size: 1.4rem;
}

.ref-pc-includes {
    list-style: none;
    font-size: 0.78rem;
    line-height: 1.8;
    margin-bottom: 1.2rem;
}

.ref-pc-includes-dark {
    color: var(--ref-ink);
    opacity: 0.65;
}

.ref-pc-includes li {
    padding-left: 0.9rem;
    position: relative;
}

.ref-pc-includes-dark li::before {
    content: '—';
    position: absolute;
    left: 0;
    color: var(--ref-yellow);
}

.ref-pc-note-dark {
    font-size: 0.68rem;
    font-style: italic;
    color: var(--ref-ink);
    opacity: 0.38;
    margin-top: 0.9rem;
    line-height: 1.6;
}

/* Dark pricing variant */
.ref-pc-dark {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 2.5rem;
    position: relative;
}

.ref-pc-dark .ref-pc-label-dark {
    color: rgba(255, 255, 255, 0.45);
}

.ref-pc-dark .ref-pc-row {
    border-color: rgba(255, 255, 255, 0.1);
}

.ref-pc-dark .ref-pc-dur-dark {
    color: rgba(255, 255, 255, 0.8);
}

.ref-pc-dark .ref-pc-includes {
    color: rgba(255, 255, 255, 0.6);
}

.ref-pc-dark .ref-pc-includes li::before {
    color: var(--ref-yellow);
}

.ref-pc-dark .ref-pc-note-dark {
    color: rgba(255, 255, 255, 0.3);
}

/* ============================================================
   FLEX CARDS — Reference
   ============================================================ */
.ref-flex-card {
    background: rgba(27, 42, 74, 0.06);
    border: 1px solid rgba(27, 42, 74, 0.18);
    padding: 2.5rem;
}

.ref-flex-item {
    padding-bottom: 1.1rem;
    margin-bottom: 1.1rem;
    border-bottom: 1px solid rgba(27, 42, 74, 0.1);
}

.ref-flex-item:last-of-type {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0;
}

.ref-flex-item h4 {
    font-size: 0.7rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    margin-bottom: 0.35rem;
    color: var(--ref-navy);
}

.ref-flex-item p {
    font-size: 0.84rem;
    color: var(--ref-ink);
    opacity: 0.68;
    line-height: 1.65;
}

/* ============================================================
   INFO BLOCKS — Reference
   ============================================================ */
.ref-info-block {
    border: 1px solid rgba(27, 42, 74, 0.14);
    border-left: 3px solid var(--ref-yellow);
    padding: 1.5rem;
    margin-bottom: 1rem;
}

.ref-info-block h4 {
    font-size: 0.65rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--ref-navy);
    opacity: 0.55;
    margin-bottom: 0.6rem;
}

.ref-info-block p {
    font-size: 0.84rem;
    color: var(--ref-ink);
    opacity: 0.72;
    line-height: 1.72;
}

.ref-info-block ul {
    list-style: none;
    padding-left: 0.8rem;
    font-size: 0.84rem;
    color: var(--ref-ink);
    opacity: 0.72;
    line-height: 1.85;
}

.ref-info-block ul li {
    padding-left: 0.8rem;
    position: relative;
}

.ref-info-block ul li::before {
    content: '—';
    position: absolute;
    left: 0;
    color: var(--ref-yellow);
}

.ref-info-block-dark {
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-left: 3px solid var(--ref-yellow);
    padding: 1.5rem;
    margin-bottom: 1rem;
}

.ref-info-block-dark h4 {
    font-size: 0.65rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 0.6rem;
}

.ref-info-block-dark p {
    font-size: 0.84rem;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.72;
}

.ref-info-block-dark ul {
    list-style: none;
    padding-left: 0.8rem;
    font-size: 0.84rem;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.85;
}

.ref-info-block-dark ul li {
    padding-left: 0.8rem;
    position: relative;
}

.ref-info-block-dark ul li::before {
    content: '—';
    position: absolute;
    left: 0;
    color: var(--ref-yellow);
    opacity: 0.6;
}

/* ============================================================
   MODALITY CARDS — Reference
   ============================================================ */
.ref-modal-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

.ref-modal-card {
    border: 1px solid rgba(27, 42, 74, 0.16);
    padding: 2rem;
    position: relative;
}

.ref-modal-bar {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--ref-yellow);
}

.ref-modal-lbl {
    font-size: 0.6rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--ref-red-mid);
    margin-bottom: 0.4rem;
    margin-top: 0.1rem;
}

.ref-modal-name {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--ref-navy);
    margin-bottom: 0.9rem;
}

.ref-modal-rows {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.ref-modal-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(27, 42, 74, 0.08);
    gap: 0.5rem;
}

.ref-modal-row:last-child {
    border-bottom: none;
}

.ref-modal-row-lbl {
    font-size: 0.82rem;
    color: var(--ref-ink);
    opacity: 0.65;
    flex: 1;
}

.ref-modal-row-val {
    font-size: 0.82rem;
    color: var(--ref-ink);
    opacity: 0.82;
    text-align: right;
}

.ref-modal-price {
    margin-top: 1.2rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(27, 42, 74, 0.1);
}

.ref-modal-price-lbl {
    font-size: 0.6rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--ref-navy);
    opacity: 0.45;
    margin-bottom: 0.3rem;
}

.ref-modal-price-amt {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--ref-yellow);
}

.ref-modal-price-sub {
    font-size: 0.72rem;
    color: var(--ref-ink);
    opacity: 0.45;
    margin-top: 0.15rem;
}

/* ============================================================
   LIPEANDO CARDS — Reference
   ============================================================ */
.ref-lipe-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.ref-lipe-card {
    border: 1px solid rgba(27, 42, 74, 0.16);
    padding: 2rem;
    position: relative;
}

.ref-lipe-card.featured {
    border-color: var(--ref-navy);
    background: rgba(27, 42, 74, 0.07);
}

.ref-lipe-bar {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--ref-yellow);
}

.ref-lipe-lbl {
    font-size: 0.6rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--ref-red-mid);
    margin-bottom: 0.4rem;
    margin-top: 0.1rem;
}

.ref-lipe-name {
    font-family: 'Playfair Display', serif;
    font-size: 1rem;
    font-weight: 700;
    color: var(--ref-navy);
    margin-bottom: 0.7rem;
    line-height: 1.25;
}

.ref-lipe-amt {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--ref-yellow);
    margin-bottom: 0.3rem;
}

.ref-lipe-includes {
    list-style: none;
    font-size: 0.78rem;
    color: var(--ref-ink);
    opacity: 0.65;
    line-height: 1.85;
    margin-top: 0.8rem;
}

.ref-lipe-includes li {
    padding-left: 0.9rem;
    position: relative;
}

.ref-lipe-includes li::before {
    content: '—';
    position: absolute;
    left: 0;
    color: var(--ref-yellow);
}

/* ============================================================
   READY BLOCK — Reference
   ============================================================ */
.ref-ready-block {
    padding: 1.4rem 1.6rem;
    border: 1px dashed rgba(27, 42, 74, 0.3);
    background: rgba(242, 169, 0, 0.08);
    margin-bottom: 1rem;
}

.ref-ready-block h4 {
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--ref-navy);
    margin-bottom: 0.4rem;
}

.ref-ready-block p {
    font-size: 0.84rem;
    color: var(--ref-ink);
    opacity: 0.68;
    line-height: 1.65;
    margin-bottom: 0.8rem;
}

.ref-ready-link {
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--ref-red);
    transition: color 0.2s;
}

.ref-ready-link::after {
    content: '→';
}

.ref-ready-link:hover {
    color: var(--ref-navy);
}

/* ============================================================
   CTA SECTION — Reference
   ============================================================ */
.ref-cta-section {
    padding: 6rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.ref-cta-dark {
    background: var(--ref-navy-dark);
}

.ref-cta-dark::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(242, 169, 0, 0.07) 0%, transparent 70%);
    pointer-events: none;
}

.ref-cta-head {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 5vw, 3.8rem);
    font-weight: 900;
    font-style: italic;
    color: var(--ref-yellow);
    margin-bottom: 0.5rem;
    position: relative;
    line-height: 1.15;
}

.ref-cta-sub {
    font-size: 0.78rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--ref-cream);
    opacity: 0.45;
    margin-bottom: 3rem;
    position: relative;
}

.ref-cta-btns {
    display: flex;
    justify-content: center;
    gap: 1.1rem;
    flex-wrap: wrap;
    position: relative;
    margin-bottom: 4rem;
}

.ref-otras {
    max-width: 660px;
    margin: 0 auto;
    padding: 2rem;
    text-align: left;
    border: 1px solid rgba(242, 169, 0, 0.16);
}

.ref-otras h4 {
    font-size: 0.66rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--ref-yellow);
    margin-bottom: 0.75rem;
    opacity: 0.7;
}

.ref-otras p {
    font-size: 0.88rem;
    line-height: 1.7;
    color: var(--ref-cream);
    opacity: 0.65;
    margin-bottom: 1.1rem;
}

.ref-otras-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.42rem;
}

.ref-otra-tag {
    font-size: 0.66rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 0.3rem 0.72rem;
    border: 1px solid rgba(242, 169, 0, 0.26);
    color: var(--ref-yellow-light);
    text-decoration: none;
    transition: all 0.2s;
    display: inline-block;
}

.ref-otra-tag:hover {
    background: var(--ref-yellow);
    color: var(--ref-navy-dark);
    border-color: var(--ref-yellow);
}

/* ============================================================
   FOOTER — Reference
   ============================================================ */
.ref-footer {
    background: var(--ref-navy-dark);
    border-top: 2px solid var(--ref-yellow);
    padding: 2rem 0;
}

.ref-footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.ref-footer-inner img {
    height: 44px;
    filter: drop-shadow(0 0 7px rgba(242, 169, 0, 0.28));
}

.ref-footer-copy {
    font-size: 0.68rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--ref-cream);
    opacity: 0.32;
}

.ref-footer-ic {
    font-size: 0.68rem;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: var(--ref-yellow);
    opacity: 0.5;
    text-align: right;
    line-height: 1.6;
}

/* ============================================================
   ANIMATIONS — Reference
   ============================================================ */
@keyframes refFadeUp {
    from { opacity: 0; transform: translateY(26px); }
    to { opacity: 1; transform: translateY(0); }
}

.ref-eyebrow,
.ref-hero-title,
.ref-hero-sub,
.ref-hero-desc,
.ref-hero-badges,
.ref-hero-ctas {
    animation: refFadeUp 0.6s ease both;
}

.ref-hero-title { animation-delay: 0.2s; }
.ref-hero-sub { animation-delay: 0.3s; }
.ref-hero-desc { animation-delay: 0.4s; }
.ref-hero-badges { animation-delay: 0.5s; }
.ref-hero-ctas { animation-delay: 0.6s; }

/* ============================================================
   RESPONSIVE — Reference
   ============================================================ */
@media (max-width: 900px) {
    .ref-hero {
        grid-template-columns: 1fr;
    }

    .ref-hero-right {
        display: none;
    }

    .ref-hero-left {
        padding: 5rem 1.8rem 3rem;
    }

    .ref-precios-grid,
    .ref-grid-2,
    .ref-grid-wide,
    .ref-modal-grid,
    .ref-lipe-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .ref-nav {
        padding: 0.75rem 1.4rem;
    }

    .ref-nav-links {
        display: none;
    }

    .ref-container {
        padding: 0 1.4rem;
    }

    .ref-footer-inner {
        flex-direction: column;
        text-align: center;
    }

    .ref-footer-ic {
        text-align: center;
    }
}
