/* ============================================================
   EXPLORE SAN SEBASTIÁN — Inversión Landing Page
   /inversion/inversion.css
   ============================================================ */

/* ── Variables ── */
:root {
    --gold: #c8a96e;
    --gold-dark: #9b7830;
    --gold-light: #e2c898;
    --wine: #4a0e2e;
    --bg: #0a0805;
    --bg-2: #100d09;
    --bg-card: #141008;
    --border: rgba(200,169,110,0.15);
    --border-soft: rgba(255,255,255,0.07);
    --text: #f0ebe0;
    --text-muted: rgba(240,235,224,0.6);
    --green: #4ade80;
    --green-dim: rgba(74,222,128,0.15);
    --radius: 16px;
    --radius-sm: 10px;
}

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
    background: var(--bg);
    color: var(--text);
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { font-family: 'Playfair Display', serif; }
em { font-style: italic; color: var(--gold); }
strong { font-weight: 600; }

/* ── Navbar ── */
.inv-navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    background: rgba(10,8,5,0.92);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    transition: all 0.3s ease;
}
.inv-nav-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    height: 64px;
    display: flex;
    align-items: center;
    gap: 32px;
}
.inv-nav-logo { display: flex; align-items: center; text-decoration: none; flex-shrink: 0; }
.inv-logo-img { height: 36px; width: auto; }
.inv-nav-links {
    display: flex;
    gap: 8px;
    align-items: center;
    flex: 1;
    overflow-x: auto;
    scrollbar-width: none;
}
.inv-nav-links::-webkit-scrollbar { display: none; }
.inv-nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.82rem;
    font-weight: 500;
    padding: 6px 12px;
    border-radius: 8px;
    white-space: nowrap;
    transition: all 0.2s;
}
.inv-nav-links a:hover { color: var(--text); background: rgba(255,255,255,0.06); }
.inv-nav-cta {
    background: var(--gold) !important;
    color: #0a0805 !important;
    font-weight: 600 !important;
}
.inv-nav-cta:hover { background: var(--gold-light) !important; }
.inv-back-link {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.8rem;
    white-space: nowrap;
    transition: color 0.2s;
    flex-shrink: 0;
}
.inv-back-link:hover { color: var(--gold); }

/* ── Hero ── */
.inv-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 64px;
}
.inv-hero-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
}
.inv-hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
.inv-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(10,8,5,0.93) 0%, rgba(10,8,5,0.75) 60%, rgba(74,14,46,0.4) 100%);
}
.inv-hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    padding: 80px 24px 60px;
    text-align: center;
}
.inv-hero-tag {
    display: inline-block;
    background: rgba(200,169,110,0.15);
    border: 1px solid rgba(200,169,110,0.3);
    color: var(--gold);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 6px 16px;
    border-radius: 100px;
    margin-bottom: 24px;
}
.inv-hero-title {
    font-size: clamp(2.4rem, 6vw, 4.2rem);
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 20px;
}
.inv-hero-title span { display: block; color: var(--text); }
.inv-hero-title em { display: block; }
.inv-hero-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 40px;
    line-height: 1.7;
}

/* KPI Strip */
.inv-kpi-strip {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0;
    flex-wrap: wrap;
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px 8px;
    margin-bottom: 36px;
}
.inv-kpi {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 8px 24px;
}
.inv-kpi-div {
    width: 1px;
    height: 40px;
    background: var(--border);
}
.inv-kpi-val {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--gold);
    line-height: 1;
}
.inv-kpi-label {
    font-size: 0.72rem;
    color: var(--text-muted);
    margin-top: 4px;
    text-align: center;
}

.inv-hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--gold);
    color: #0a0805;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
    padding: 14px 28px;
    border-radius: 100px;
    transition: all 0.3s;
    margin-top: 12px;
    border: none;
    cursor: pointer;
}
.inv-hero-cta:hover {
    background: var(--gold-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(200,169,110,0.35);
}

/* ── Sections ── */
.inv-section {
    padding: 100px 0;
}
.inv-section--dark {
    background: var(--bg-2);
}
.inv-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}
.inv-container--narrow {
    max-width: 800px;
}
.inv-section-header {
    text-align: center;
    margin-bottom: 64px;
}
.inv-tag {
    display: inline-block;
    background: rgba(200,169,110,0.12);
    border: 1px solid rgba(200,169,110,0.25);
    color: var(--gold);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 5px 14px;
    border-radius: 100px;
    margin-bottom: 16px;
}
.inv-section-title {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 16px;
    color: var(--text);
}
.inv-section-desc {
    font-size: 1.05rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ═══════════════════════════════════════════════
   ── Por Qué Cuenca (PQC) Section ──
   ═══════════════════════════════════════════════ */
.pqc-section { background: var(--bg); }

.pqc-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 48px;
}

.pqc-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 36px 28px 28px;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}
.pqc-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}

/* Top accent line per card */
.pqc-card--1::before { content:''; position:absolute; top:0; left:0; right:0; height:3px; background: linear-gradient(90deg, #4a90d9, #6bb5f0); border-radius: 20px 20px 0 0; }
.pqc-card--2::before { content:''; position:absolute; top:0; left:0; right:0; height:3px; background: linear-gradient(90deg, var(--gold-dark), var(--gold-light)); border-radius: 20px 20px 0 0; }
.pqc-card--3::before { content:''; position:absolute; top:0; left:0; right:0; height:3px; background: linear-gradient(90deg, #2d7a2d, #4ade80); border-radius: 20px 20px 0 0; }

/* Featured card */
.pqc-card--featured {
    border-color: rgba(200,169,110,0.4);
    background: linear-gradient(160deg, #141008 0%, #1a1208 100%);
    box-shadow: 0 0 40px rgba(200,169,110,0.08);
}

.pqc-card-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: var(--gold);
    color: #0a0805;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    padding: 4px 10px;
    border-radius: 100px;
}

.pqc-card-number {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    font-weight: 700;
    color: rgba(200,169,110,0.12);
    line-height: 1;
    margin-bottom: 12px;
    user-select: none;
}

.pqc-card-icon {
    width: 56px;
    height: 56px;
    background: rgba(200,169,110,0.1);
    border: 1px solid rgba(200,169,110,0.2);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--gold);
}
.pqc-card--1 .pqc-card-icon { background: rgba(74,144,217,0.1); border-color: rgba(74,144,217,0.25); color: #6bb5f0; }
.pqc-card--3 .pqc-card-icon { background: rgba(74,222,128,0.1); border-color: rgba(74,222,128,0.2); color: var(--green); }

.pqc-card-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 8px;
}
.pqc-card-subtitle {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 24px;
}

/* Stats row (card 1) */
.pqc-stats {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
}
.pqc-stat {
    flex: 1;
    background: rgba(74,144,217,0.08);
    border: 1px solid rgba(74,144,217,0.2);
    border-radius: 12px;
    padding: 14px 12px;
    text-align: center;
}
.pqc-stat-val {
    display: block;
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 4px;
}
.pqc-stat-val--shield { color: #6bb5f0; }
.pqc-stat-label { font-size: 0.7rem; color: var(--text-muted); line-height: 1.3; }

/* Trophy (card 2) */
.pqc-trophy {
    background: linear-gradient(135deg, rgba(200,169,110,0.1), rgba(200,169,110,0.05));
    border: 1px solid rgba(200,169,110,0.3);
    border-radius: 14px;
    padding: 20px 16px;
    margin-bottom: 24px;
    text-align: center;
}
.pqc-trophy-rank {
    font-size: 2.2rem;
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    color: var(--gold);
    margin-bottom: 8px;
}
.pqc-trophy-text {
    font-size: 0.9rem;
    color: var(--text);
    line-height: 1.4;
}
.pqc-trophy-sub {
    font-size: 0.72rem;
    color: var(--text-muted);
    margin-top: 8px;
}

/* Appreciation bars (card 3) */
.pqc-appreciation-bars {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 8px;
}
.pqc-bar-row {
    display: flex;
    align-items: center;
    gap: 10px;
}
.pqc-bar-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    width: 130px;
    flex-shrink: 0;
    line-height: 1.3;
}
.pqc-bar-track {
    flex: 1;
    height: 8px;
    background: rgba(255,255,255,0.06);
    border-radius: 100px;
    overflow: hidden;
}
.pqc-bar-fill {
    height: 100%;
    border-radius: 100px;
    transition: width 1s ease;
}
.pqc-bar-fill--high { background: linear-gradient(90deg, var(--gold-dark), var(--gold-light)); }
.pqc-bar-fill--mid  { background: linear-gradient(90deg, #4a8f3f, #6abd5f); }
.pqc-bar-fill--low  { background: rgba(255,255,255,0.2); }
.pqc-bar-fill--danger { background: linear-gradient(90deg, #7f1d1d, #ef4444); }
.pqc-bar-val {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--gold);
    width: 80px;
    text-align: right;
    flex-shrink: 0;
}
.pqc-bar-val--highlight { color: var(--gold); font-weight: 700; }
.pqc-bar-val--danger    { color: #f87171; }
.pqc-bar-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    width: 90px;
    flex-shrink: 0;
    line-height: 1.3;
}
.pqc-bar-label small { font-size: 0.68rem; opacity: 0.75; }

/* Bullets */
.pqc-bullets { display: flex; flex-direction: column; gap: 12px; }
.pqc-bullet {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    font-size: 0.84rem;
    color: var(--text-muted);
    line-height: 1.5;
}
.pqc-bullet svg { flex-shrink: 0; margin-top: 2px; }
.pqc-bullet strong { color: var(--text); }

/* Source */
.pqc-source {
    margin-top: 20px;
    font-size: 0.68rem;
    color: rgba(240,235,224,0.3);
    border-top: 1px solid var(--border-soft);
    padding-top: 12px;
    line-height: 1.4;
}

/* Bottom strip */
.pqc-bottom-strip {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    background: linear-gradient(135deg, rgba(200,169,110,0.08), rgba(200,169,110,0.03));
    border: 1px solid rgba(200,169,110,0.2);
    border-radius: 16px;
    padding: 28px 36px;
    flex-wrap: wrap;
}
.pqc-bottom-strip p {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.6;
    max-width: 600px;
}
.pqc-bottom-strip strong { color: var(--text); }

/* ═══════════════════════════════════════════════
   ── ROI Calculator ──
   ═══════════════════════════════════════════════ */
.roi-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    align-items: start;
}
.roi-controls {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 36px 32px;
}
.roi-control-group { margin-bottom: 32px; }
.roi-control-group:last-of-type { margin-bottom: 0; }
.roi-label {
    display: block;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 8px;
}
.roi-slider-val-row { margin-bottom: 12px; }
.roi-slider-val {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--gold);
}
.roi-slider {
    width: 100%;
    -webkit-appearance: none;
    appearance: none;
    height: 4px;
    background: rgba(255,255,255,0.1);
    border-radius: 4px;
    outline: none;
    cursor: pointer;
    background: linear-gradient(to right, var(--gold) 0%, var(--gold) 50%, rgba(255,255,255,0.1) 50%);
}
.roi-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--gold);
    box-shadow: 0 0 0 4px rgba(200,169,110,0.2);
    cursor: pointer;
    transition: box-shadow 0.2s;
}
.roi-slider::-webkit-slider-thumb:hover { box-shadow: 0 0 0 8px rgba(200,169,110,0.2); }
.roi-slider-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 6px;
    font-size: 0.72rem;
    color: rgba(255,255,255,0.3);
}
.roi-disclaimer {
    font-size: 0.72rem;
    color: rgba(255,255,255,0.25);
    margin-top: 28px;
    line-height: 1.5;
    border-top: 1px solid var(--border-soft);
    padding-top: 16px;
}

/* Results panel */
.roi-results {
    position: sticky;
    top: 80px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.roi-result-hero {
    background: linear-gradient(135deg, rgba(200,169,110,0.12), rgba(200,169,110,0.04));
    border: 1px solid rgba(200,169,110,0.3);
    border-radius: var(--radius);
    padding: 32px;
    text-align: center;
}
.roi-result-label {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-weight: 600;
}
.roi-result-total {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    font-weight: 700;
    color: var(--gold);
    line-height: 1;
    margin-bottom: 12px;
}
.roi-result-gain { display: flex; align-items: center; justify-content: center; gap: 8px; }
.roi-gain-badge {
    background: rgba(74,222,128,0.15);
    border: 1px solid rgba(74,222,128,0.3);
    color: var(--green);
    font-weight: 700;
    font-size: 0.95rem;
    padding: 4px 12px;
    border-radius: 100px;
}
.roi-gain-label { font-size: 0.8rem; color: var(--text-muted); }

.roi-breakdown {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
}
.roi-breakdown-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid var(--border-soft);
}
.roi-breakdown-row:last-child { border-bottom: none; }
.roi-breakdown-row--total { padding-top: 14px; }
.roi-breakdown-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
}
.roi-breakdown-label { flex: 1; font-size: 0.84rem; color: var(--text-muted); }
.roi-breakdown-val { font-size: 0.9rem; font-weight: 600; color: var(--text); }
.roi-val-gold { color: var(--gold); }
.roi-val-green { color: var(--green); }
.roi-val-highlight {
    color: var(--gold);
    font-size: 1rem;
    font-weight: 700;
}
.roi-breakdown-divider {
    height: 1px;
    background: rgba(200,169,110,0.2);
    margin: 4px 0;
}
.roi-breakdown-row--total .roi-breakdown-label {
    font-weight: 600;
    color: var(--text);
    font-size: 0.9rem;
}

/* Bar chart */
.roi-bar-chart {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
    display: flex;
    gap: 6px;
    align-items: flex-end;
    height: 100px;
}
.roi-bar {
    flex: 1;
    border-radius: 4px 4px 0 0;
    transition: height 0.4s ease;
    position: relative;
    cursor: pointer;
}
.roi-bar-tooltip {
    position: absolute;
    bottom: calc(100% + 4px);
    left: 50%;
    transform: translateX(-50%);
    background: rgba(10,8,5,0.95);
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 4px 8px;
    font-size: 0.65rem;
    color: var(--gold);
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s;
}
.roi-bar:hover .roi-bar-tooltip { opacity: 1; }

/* ── Projection Table ── */
.proj-table-wrap { overflow-x: auto; }
.proj-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.88rem;
}
.proj-table th {
    background: rgba(200,169,110,0.08);
    color: var(--gold);
    font-weight: 600;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 14px 16px;
    text-align: left;
    border-bottom: 1px solid var(--border);
}
.proj-table td {
    padding: 12px 16px;
    color: var(--text-muted);
    border-bottom: 1px solid var(--border-soft);
    transition: background 0.2s;
}
.proj-table tr:hover td { background: rgba(255,255,255,0.02); color: var(--text); }
.proj-table td:first-child { font-weight: 600; color: var(--text); }
.proj-table td.val-gold { color: var(--gold); font-weight: 600; }
.proj-table td.val-green { color: var(--green); font-weight: 600; }
.proj-table td.val-highlight { color: var(--gold); font-weight: 700; font-size: 0.95rem; }
.proj-table tr.row-current td { background: rgba(200,169,110,0.06); }

/* ── Unit Cards ── */
.unit-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.unit-inv-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: relative;
    transition: transform 0.3s, box-shadow 0.3s;
}
.unit-inv-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(0,0,0,0.3);
}
.unit-inv-card--featured {
    border-color: rgba(200,169,110,0.4);
    box-shadow: 0 0 30px rgba(200,169,110,0.08);
}
.unit-inv-card-badge {
    position: absolute;
    top: -1px; left: 50%;
    transform: translateX(-50%);
    background: var(--gold);
    color: #0a0805;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    padding: 4px 14px;
    border-radius: 0 0 8px 8px;
}
.unit-inv-card-header { display: flex; justify-content: space-between; align-items: flex-start; margin-top: 8px; }
.unit-inv-type { font-family: 'Playfair Display', serif; font-size: 1.4rem; font-weight: 700; color: var(--text); }
.unit-inv-size { font-size: 0.82rem; color: var(--text-muted); background: rgba(255,255,255,0.05); padding: 4px 10px; border-radius: 8px; }
.unit-inv-price { font-size: 0.9rem; color: var(--text-muted); }
.unit-inv-price strong { font-size: 1.5rem; color: var(--gold); font-family: 'Playfair Display', serif; }
.unit-inv-metrics { display: flex; flex-direction: column; gap: 10px; }
.unit-inv-metric { display: flex; justify-content: space-between; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--border-soft); }
.unit-inv-metric:last-child { border-bottom: none; }
.uim-label { font-size: 0.8rem; color: var(--text-muted); }
.uim-val { font-size: 0.88rem; font-weight: 600; color: var(--text); text-align: right; }
.uim-val--gold { color: var(--gold); }
.uim-val--green { color: var(--green); }
.unit-inv-tag {
    font-size: 0.75rem;
    color: var(--gold-dark);
    background: rgba(200,169,110,0.08);
    border: 1px solid rgba(200,169,110,0.15);
    padding: 6px 12px;
    border-radius: 8px;
    text-align: center;
}
.unit-inv-btn {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text-muted);
    font-size: 0.85rem;
    font-weight: 500;
    padding: 10px 16px;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s;
    margin-top: auto;
    font-family: 'Inter', sans-serif;
}
.unit-inv-btn:hover {
    background: rgba(200,169,110,0.1);
    border-color: var(--gold);
    color: var(--gold);
}

/* ── VS Cards ── */
.vs-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 24px;
}
.vs-card {
    border-radius: var(--radius);
    padding: 36px 28px;
    position: relative;
}
.vs-card--bank {
    background: var(--bg-card);
    border: 1px solid var(--border);
}
.vs-card--re {
    background: linear-gradient(160deg, #141008, #1a1208);
    border: 1px solid rgba(200,169,110,0.4);
    box-shadow: 0 0 40px rgba(200,169,110,0.1);
}
.vs-card-badge {
    position: absolute;
    top: -1px; left: 50%;
    transform: translateX(-50%);
    background: var(--gold);
    color: #0a0805;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    padding: 4px 14px;
    border-radius: 0 0 8px 8px;
}
.vs-card-icon { font-size: 2.4rem; margin-bottom: 12px; }
.vs-card h3 { font-size: 1.3rem; margin-bottom: 8px; color: var(--text); }
.vs-card-rate { font-size: 0.82rem; color: var(--text-muted); margin-bottom: 20px; }
.vs-card-result {
    font-family: 'Playfair Display', serif;
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--gold);
    margin-bottom: 6px;
}
.vs-card--bank .vs-card-result { color: var(--text-muted); }
.vs-card-gain {
    font-size: 1rem;
    font-weight: 600;
    color: var(--green);
    margin-bottom: 24px;
}
.vs-card--bank .vs-card-gain { color: var(--text-muted); }
.vs-pros { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.vs-pros li { font-size: 0.84rem; color: var(--text-muted); }
.vs-disclaimer {
    font-size: 0.72rem;
    color: rgba(255,255,255,0.2);
    text-align: center;
    margin-top: 8px;
}

/* ── FAQ ── */
.faq-list { display: flex; flex-direction: column; gap: 4px; }
.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    overflow: hidden;
    transition: border-color 0.2s;
}
.faq-item.open { border-color: rgba(200,169,110,0.3); }
.faq-q {
    width: 100%;
    background: transparent;
    border: none;
    color: var(--text);
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    font-weight: 500;
    text-align: left;
    padding: 20px 24px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    line-height: 1.4;
    transition: color 0.2s;
}
.faq-q:hover { color: var(--gold); }
.faq-chevron { flex-shrink: 0; transition: transform 0.3s; }
.faq-item.open .faq-chevron { transform: rotate(180deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; }
.faq-item.open .faq-a { max-height: 300px; }
.faq-a p {
    padding: 0 24px 20px;
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.7;
}
.faq-a strong { color: var(--text); }

/* ── Contact Section ── */
.inv-contact-section { background: var(--bg-2); }
.inv-contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
}
.inv-contact-info .inv-section-title { text-align: left; }
.inv-contact-desc { font-size: 0.95rem; color: var(--text-muted); margin: 20px 0 28px; line-height: 1.7; }
.inv-contact-methods { display: flex; flex-direction: column; gap: 12px; }
.inv-contact-method {
    display: flex;
    align-items: center;
    gap: 14px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 16px 20px;
    color: var(--text);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.2s;
}
.inv-contact-method:hover { border-color: var(--gold); color: var(--gold); }
.inv-contact-method svg { color: var(--gold); flex-shrink: 0; }

.inv-form-wrapper {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 36px;
}
.inv-form { display: flex; flex-direction: column; gap: 20px; }
.inv-form-group { display: flex; flex-direction: column; gap: 8px; }
.inv-form-group label { font-size: 0.82rem; font-weight: 600; color: var(--text-muted); }
.inv-form-group input,
.inv-form-group select {
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--border);
    border-radius: 10px;
    color: var(--text);
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    padding: 12px 16px;
    outline: none;
    transition: border-color 0.2s;
    width: 100%;
    -webkit-appearance: none;
    appearance: none;
}
.inv-form-group input:focus,
.inv-form-group select:focus { border-color: var(--gold); }
.inv-form-group input::placeholder { color: rgba(255,255,255,0.2); }
.inv-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.inv-form-error {
    background: rgba(220,38,38,0.1);
    border: 1px solid rgba(220,38,38,0.3);
    border-radius: 8px;
    color: #f87171;
    font-size: 0.85rem;
    padding: 10px 14px;
}
.inv-submit-btn {
    background: var(--gold);
    color: #0a0805;
    border: none;
    border-radius: 12px;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
    padding: 14px 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.2s;
    width: 100%;
}
.inv-submit-btn:hover { background: var(--gold-light); transform: translateY(-2px); }
.inv-form-success {
    text-align: center;
    padding: 40px 20px;
}
.inv-form-success h3 { font-size: 1.5rem; margin: 16px 0 8px; color: var(--text); }
.inv-form-success p { color: var(--text-muted); font-size: 0.9rem; }

/* ── Footer ── */
.inv-footer {
    background: #050402;
    border-top: 1px solid var(--border);
    padding: 32px 0;
}
.inv-footer-inner {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}
.inv-footer-logo { height: 28px; width: auto; opacity: 0.7; }
.inv-footer p { font-size: 0.8rem; color: rgba(255,255,255,0.25); }
.inv-footer a { color: var(--gold); text-decoration: none; }
.inv-footer a:hover { color: var(--gold-light); }

/* ── Responsive ── */
@media (max-width: 1024px) {
    .pqc-grid { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto 48px; }
    .roi-grid { grid-template-columns: 1fr; }
    .roi-results { position: static; }
    .unit-cards-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
    .vs-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto 24px; }
    .inv-contact-grid { grid-template-columns: 1fr; gap: 40px; }
    .pqc-bottom-strip { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 768px) {
    .inv-section { padding: 72px 0; }
    .inv-nav-inner { gap: 12px; }
    .inv-nav-links { display: none; }
    .inv-back-link { margin-left: auto; }
    .inv-kpi-strip { gap: 4px; }
    .inv-kpi { padding: 8px 12px; }
    .inv-kpi-val { font-size: 1.2rem; }
    .pqc-stats { flex-direction: column; }
    .pqc-bar-label { width: 90px; font-size: 0.68rem; }
    .inv-form-row { grid-template-columns: 1fr; }
    .proj-table th, .proj-table td { padding: 10px 10px; font-size: 0.78rem; }
}

/* ═══════════════════════════════════════════════
   ── Timeline Section ──
   ═══════════════════════════════════════════════ */
.timeline-section { background: var(--bg-2); }

/* Track */
.tl-wrapper {
    position: relative;
    margin-bottom: 48px;
    padding: 80px 0 80px;
}
.tl-track {
    position: relative;
    height: 6px;
    background: rgba(255,255,255,0.08);
    border-radius: 100px;
    overflow: visible;
}
.tl-progress-fill {
    position: absolute;
    top: 0; left: 0; bottom: 0;
    background: linear-gradient(90deg, var(--gold-dark), var(--gold));
    border-radius: 100px;
    transition: width 1.2s ease;
}
.tl-progress-label {
    position: absolute;
    right: -1px;
    top: -32px;
    background: var(--gold);
    color: #0a0805;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 100px;
    white-space: nowrap;
    transform: translateX(50%);
}
.tl-progress-label::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    width: 0; height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 5px solid var(--gold);
}

/* Milestones */
.tl-milestones {
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 100%;
}
.tl-milestone {
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Dots */
.tl-dot {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
    flex-shrink: 0;
}
.tl-dot--done {
    background: var(--gold);
    color: #0a0805;
    box-shadow: 0 0 0 4px rgba(200,169,110,0.2);
}
.tl-dot--now {
    background: var(--gold);
    color: #0a0805;
    box-shadow: 0 0 0 4px rgba(200,169,110,0.3);
}
.tl-dot-pulse {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: var(--gold);
    animation: tl-pulse 2s ease-out infinite;
    opacity: 0.6;
}
@keyframes tl-pulse {
    0%   { transform: scale(1);   opacity: 0.6; }
    100% { transform: scale(2.4); opacity: 0; }
}
.tl-dot--future {
    background: rgba(255,255,255,0.06);
    border: 2px solid rgba(255,255,255,0.18);
}

/* ── Timeline: ajustes móvil ── */
@media (max-width: 767px) {
    /* Contiene el overflow para que las etiquetas no se salgan */
    .tl-wrapper {
        padding: 56px 0 52px;
        overflow: hidden;
    }

    /* Dots más pequeños */
    .tl-dot {
        width: 18px;
        height: 18px;
    }
    .tl-dot--done {
        box-shadow: 0 0 0 3px rgba(200,169,110,0.2);
    }
    .tl-dot--now {
        box-shadow: 0 0 0 3px rgba(200,169,110,0.3);
    }

    /* Pulso MUY reducido — escala máx 1.6 y más suave */
    .tl-dot-pulse {
        animation: tl-pulse-sm 2.5s ease-out infinite;
    }
    @keyframes tl-pulse-sm {
        0%   { transform: scale(1);   opacity: 0.5; }
        100% { transform: scale(1.6); opacity: 0; }
    }

    /* Badge "Hoy" más pequeño */
    .tl-progress-label {
        font-size: 0.6rem;
        padding: 2px 7px;
        top: -24px;
    }

    /* Etiquetas compactas */
    .tl-milestone-label {
        width: 80px;
        gap: 1px;
    }
    .tl-label--below { top: calc(100% + 10px); }
    .tl-label--above { bottom: calc(100% + 10px); }

    .tl-date  { font-size: 0.58rem; letter-spacing: 0; white-space: normal; line-height: 1.2; }
    .tl-event { font-size: 0.65rem; white-space: normal; line-height: 1.2; }
    .tl-price { font-size: 0.75rem; white-space: normal; }

    .tl-price--now {
        font-size: 0.82rem;
        padding: 1px 7px;
    }

    /* Último hito (100%) — recorta hacia adentro para que no se salga */
    .tl-milestone[style*="left: 100%"] {
        transform: translate(-90%, -50%);
    }
    .tl-milestone[style*="left: 0%"] {
        transform: translate(-10%, -50%);
    }
}


/* Labels */
.tl-milestone-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    text-align: center;
    width: 140px;
    position: absolute;
}
.tl-label--below { top: calc(100% + 14px); }
.tl-label--above { bottom: calc(100% + 14px); }
.tl-date {
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    white-space: nowrap;
}
.tl-event {
    font-size: 0.82rem;
    color: var(--text);
    font-weight: 500;
    white-space: nowrap;
}
.tl-price {
    font-family: 'Playfair Display', serif;
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-muted);
    white-space: nowrap;
}
.tl-price--now {
    color: var(--gold);
    font-size: 1.1rem;
    background: rgba(200,169,110,0.1);
    padding: 2px 10px;
    border-radius: 100px;
    border: 1px solid rgba(200,169,110,0.3);
}
.tl-price--future { color: rgba(240,235,224,0.35); }

/* Obra progress */
.obra-progress-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px 28px;
    margin-bottom: 48px;
}
.obra-progress-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
}
.obra-progress-title {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-muted);
}
.obra-progress-pct {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--gold);
}
.obra-progress-track {
    width: 100%;
    height: 10px;
    background: rgba(255,255,255,0.06);
    border-radius: 100px;
    overflow: hidden;
    margin-bottom: 10px;
}
.obra-progress-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--gold-dark), var(--gold));
    border-radius: 100px;
    transition: width 1.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.obra-progress-labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.68rem;
    color: rgba(255,255,255,0.25);
}

/* ── Cotizador m² ── */
.cotizador-wrapper {
    background: linear-gradient(135deg, #141008, #100d09);
    border: 1px solid rgba(200,169,110,0.25);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 0 60px rgba(200,169,110,0.05);
}
.cotizador-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 32px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}
.cotizador-title {
    font-size: clamp(1.4rem, 3vw, 2rem);
    font-weight: 700;
    line-height: 1.2;
    color: var(--text);
    margin: 8px 0;
}
.cotizador-desc {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.6;
    max-width: 340px;
}
.cotizador-current-price {
    background: linear-gradient(135deg, rgba(200,169,110,0.15), rgba(200,169,110,0.05));
    border: 1px solid rgba(200,169,110,0.35);
    border-radius: 16px;
    padding: 20px 28px;
    text-align: center;
    flex-shrink: 0;
}
.ccp-label {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    margin-bottom: 8px;
}
.ccp-val {
    font-family: 'Playfair Display', serif;
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--gold);
    line-height: 1;
}
.ccp-val small { font-size: 1rem; font-family: 'Inter', sans-serif; opacity: 0.8; }
.ccp-sub {
    font-size: 0.72rem;
    color: var(--green);
    margin-top: 8px;
    font-weight: 600;
}

.cotizador-grid {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 32px;
    align-items: start;
}
.cotizador-input-panel { display: flex; flex-direction: column; gap: 28px; }
.cotizador-control { display: flex; flex-direction: column; gap: 0; }

/* Stage buttons */
.cotizador-stage-btns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-top: 12px;
}
.cot-stage-btn {
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 12px 10px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    transition: all 0.2s;
    font-family: 'Inter', sans-serif;
}
.cot-stage-btn:hover {
    border-color: rgba(200,169,110,0.4);
    background: rgba(200,169,110,0.06);
}
.cot-stage-btn--active {
    border-color: var(--gold) !important;
    background: rgba(200,169,110,0.12) !important;
}
.csb-pct {
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--gold);
}
.csb-label {
    font-size: 0.68rem;
    color: var(--text-muted);
    text-align: center;
    line-height: 1.2;
}
.csb-price {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text);
}
.cot-stage-btn--active .csb-price,
.cot-stage-btn--active .csb-pct { color: var(--gold); }

/* Output panel */
.cotizador-output-panel {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.cot-compare-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}
.cot-card {
    border-radius: var(--radius-sm);
    padding: 20px 16px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    position: relative;
}
.cot-card--now {
    background: rgba(200,169,110,0.08);
    border: 2px solid var(--gold);
}
.cot-card--later {
    background: rgba(220,38,38,0.04);
    border: 1px solid rgba(220,38,38,0.2);
}
.cot-card-label {
    font-size: 0.72rem;
    color: var(--text-muted);
    line-height: 1.3;
}
.cot-card-pricepsm {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-muted);
}
.cot-card--now .cot-card-pricepsm { color: var(--gold); }
.cot-card-total {
    font-family: 'Playfair Display', serif;
    font-size: 1.7rem;
    font-weight: 700;
    color: var(--text);
    line-height: 1;
    transition: all 0.3s;
}
.cot-card--now .cot-card-total { color: var(--gold); }
.cot-card-sub { font-size: 0.75rem; color: var(--text-muted); }
.cot-card-cta-badge {
    margin-top: 8px;
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--green);
    background: rgba(74,222,128,0.1);
    border: 1px solid rgba(74,222,128,0.25);
    padding: 4px 10px;
    border-radius: 100px;
    text-align: center;
}
.cot-card-diff-badge {
    margin-top: 8px;
    font-size: 0.72rem;
    font-weight: 700;
    color: #f87171;
    background: rgba(220,38,38,0.08);
    border: 1px solid rgba(220,38,38,0.2);
    padding: 4px 10px;
    border-radius: 100px;
    text-align: center;
    transition: all 0.3s;
}
.cot-savings-box {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: rgba(200,169,110,0.06);
    border: 1px solid rgba(200,169,110,0.2);
    border-radius: 12px;
    padding: 14px 16px;
    font-size: 0.84rem;
    color: var(--text-muted);
    line-height: 1.5;
}
.cot-savings-box svg { flex-shrink: 0; margin-top: 2px; }
.cot-savings-box strong { color: var(--gold); }

/* Responsive */
@media (max-width: 1024px) {
    .pqc-grid { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto 48px; }
    .roi-grid { grid-template-columns: 1fr; }
    .roi-results { position: static; }
    .unit-cards-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
    .vs-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto 24px; }
    .inv-contact-grid { grid-template-columns: 1fr; gap: 40px; }
    .pqc-bottom-strip { flex-direction: column; align-items: flex-start; }
    .cotizador-grid { grid-template-columns: 1fr; }
    .cotizador-header { flex-direction: column; }
    .tl-milestone-label { width: 110px; }
    .tl-date, .tl-event, .tl-price { font-size: 0.68rem; }
}

@media (max-width: 640px) {
    .tl-wrapper { padding: 60px 0 60px; }
    .cot-compare-grid { grid-template-columns: 1fr; }
    .cotizador-stage-btns { grid-template-columns: 1fr 1fr; }
    .cotizador-wrapper { padding: 24px 18px; }
}

