/* ==============================================================
   FARIAS | Design System & Variables (Farias&Co Official Palette)
   ============================================================== */
:root {
    /* Paleta Oficial Farias&Co (Alta Joyería & Banca Privada) */
    --bg-main: #FAFAF8;          /* Warm white / Ivory */
    --bg-surface: #F0EDE6;       /* Warm cream */
    --bg-surface-light: #E8E5DC;
    
    /* Tonos oscuros institucionales */
    --bg-dark: #0B0B0B;          /* Luxury primary black */
    --bg-dark-card: #141414;
    --bg-dark-border: #222222;
    
    /* Verde Institucional Farias&Co */
    --signature-green: #1A3C2A;
    --signature-green-light: #2D5E42;
    
    /* Oro Farias&Co (Tono champagne metálico oficial más rico y legible) */
    --gold-primary: #C89E51;
    --gold-light: #E5C483;
    --gold-dark: #9E7831;
    --gold-gradient: linear-gradient(135deg, #9E7831 0%, #C89E51 50%, #E5C483 75%, #C89E51 100%);
    
    /* Textos */
    --text-main: #0B0B0B;
    --text-muted: #8A8A85;
    --text-white: #FAFAF8;
    --text-white-muted: #A0A09A;
    
    /* Tipografías Oficiales (Montserrat en todas sus variantes de peso) */
    --font-heading: 'Montserrat', sans-serif;
    --font-base: 'Montserrat', sans-serif;
    
    /* Elevaciones y bordes */
    --border-radius-sm: 6px;
    --border-radius: 12px;
    --border-radius-lg: 20px;
    --box-shadow: 0 10px 35px rgba(11, 11, 11, 0.06);
    --box-shadow-hover: 0 18px 45px rgba(11, 11, 11, 0.12);
    --transition: 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

/* ==============================================================
   Reset & Base Styles
   ============================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
}

body {
    background-color: var(--bg-main);
    color: var(--text-main);
    font-family: var(--font-base);
    line-height: 1.7;
    overflow-x: hidden;
    font-weight: 400;
}

h1, h2, h3 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-main);
    letter-spacing: -0.5px;
}

h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.3;
    color: var(--text-main);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

.container {
    max-width: 1250px;
    margin: 0 auto;
    padding: 0 2rem;
}

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.text-white { color: var(--text-white) !important; }
.text-white-muted { color: var(--text-white-muted) !important; }
.font-bold { font-weight: 700; }
.mt-2 { margin-top: 2rem; }
.w-100 { width: 100%; }

/* ==============================================================
   Utilities & Badges
   ============================================================== */
.gold-text { color: var(--gold-primary); }

/* En secciones con fondo claro, usamos un tono oro antiguo oscuro para máxima legibilidad y contraste arquitectónico */
.light-section .gold-text,
.light-section .font-vogue.gold-text,
.corporate-section .gold-text {
    color: #8C661F !important;
}

.font-vogue {
    font-family: 'Bodoni Moda', 'Vogue Regular', 'Vogue', 'Didot', 'Bodoni MT', 'Cinzel', serif !important;
    font-weight: 700 !important;
    letter-spacing: 0.5px;
}

/* Logotipo negro en línea para títulos y textos en fondos claros */
.inline-logo {
    height: 1.1em !important;
    max-height: 40px !important;
    width: auto !important;
    max-width: 140px !important;
    vertical-align: -0.15em !important;
    display: inline-block !important;
    object-fit: contain !important;
    transition: transform 0.3s ease;
}
.inline-logo:hover {
    transform: scale(1.03);
}

.inline-logo-sm {
    height: 0.95em !important;
    max-height: 22px !important;
    width: auto !important;
    max-width: 80px !important;
    vertical-align: -0.15em !important;
    display: inline-block !important;
    object-fit: contain !important;
}

.gold-gradient {
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.5rem 1.2rem;
    background: rgba(197, 160, 89, 0.12);
    color: var(--gold-primary);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(197, 160, 89, 0.25);
}

.hero-badge.gold-border {
    border-color: var(--gold-primary);
    background: rgba(11, 17, 30, 0.6);
}

.section-title {
    font-family: var(--font-heading);
    font-size: 3.2rem;
    margin-bottom: 1rem;
    font-weight: 600;
    letter-spacing: -0.5px;
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 1.15rem;
    max-width: 680px;
    margin: 0 auto 3.5rem auto;
    font-weight: 300;
}

.section-body {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.8;
}

.luxury-divider {
    border: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(201, 169, 110, 0.4), transparent);
    margin: 1.5rem 0;
}

/* ==============================================================
   Buttons
   ============================================================== */
.btn-primary, .btn-secondary, .btn-primary-outline, .btn-secondary-dark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 0.95rem 2.4rem;
    font-size: 0.9rem;
    font-weight: 500;
    border-radius: var(--border-radius-sm);
    cursor: pointer;
    transition: var(--transition);
    border: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: var(--font-base);
}

.btn-primary {
    background: var(--signature-green);
    color: var(--text-white);
    font-weight: 600;
    border: 1px solid var(--gold-primary);
    box-shadow: 0 6px 20px rgba(26, 60, 42, 0.3);
}

.btn-primary:hover {
    background: var(--signature-green-light);
    transform: translateY(-3px);
    box-shadow: 0 10px 28px rgba(26, 60, 42, 0.45);
}

.btn-secondary {
    background: var(--bg-surface);
    color: var(--text-main);
    border: 1px solid #E0E4EC;
}

.btn-secondary:hover {
    background: #EAEFF6;
    transform: translateY(-2px);
}

.btn-secondary-dark {
    background: transparent;
    color: var(--text-white);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary-dark:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--text-white);
    transform: translateY(-2px);
}

.btn-primary-outline {
    background: transparent;
    color: var(--gold-primary);
    border: 1.5px solid var(--gold-primary);
    font-weight: 600;
}

.btn-primary-outline:hover {
    background: rgba(197, 160, 89, 0.1);
}

/* ==============================================================
   Navbar
   ============================================================== */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    transition: var(--transition);
    background: transparent;
}

.navbar.scrolled {
    background: rgba(11, 17, 30, 0.96);
    backdrop-filter: blur(12px);
    padding: 1rem 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid rgba(197, 160, 89, 0.15);
}

.nav-container {
    max-width: 1250px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-img {
    height: 48px;
    width: auto;
    object-fit: contain;
    /* Convierte las letras negras y pixeles oscuros en color blanco impecable para resaltar en el fondo oscuro */
    filter: brightness(0) invert(1) drop-shadow(0 2px 4px rgba(0, 0, 0, 0.4));
    transition: var(--transition);
}

.logo-img:hover {
    opacity: 0.85;
    transform: scale(1.02);
}

.nav-links {
    display: flex;
    gap: 1.2rem;
    align-items: center;
    list-style: none;
}

.nav-links li {
    white-space: nowrap;
}

.nav-links a {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-white);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.navbar:not(.scrolled) .nav-links a:not(.btn-primary-outline) {
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
}

.nav-links a:not(.btn-primary-outline):hover {
    color: var(--gold-primary);
}

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-white);
}

/* ==============================================================
   Hero Section
   ============================================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 0 60px 0;
    
    /* Fondo de bóveda minimalista Farias */
    background-image: url('images/farias_hero.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(11, 17, 30, 0.88) 0%, rgba(11, 17, 30, 0.75) 50%, rgba(11, 17, 30, 0.95) 100%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    padding: 0 2rem;
}

.hero h1 {
    font-size: 3.6rem;
    color: var(--text-white);
    margin-bottom: 1.5rem;
    font-weight: 800;
    line-height: 1.15;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-white-muted);
    margin-bottom: 2.5rem;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 1.2rem;
    justify-content: center;
    margin-bottom: 3.5rem;
}

.hero-bullets {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
}

.bullet-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: var(--text-white);
    font-size: 0.95rem;
    font-weight: 500;
}

/* ==============================================================
   Sections General
   ============================================================== */
.section {
    padding: 7rem 0;
}

.light-section {
    background-color: var(--bg-surface);
    border-top: 1px solid #EAEEF5;
    border-bottom: 1px solid #EAEEF5;
}

.dark-section {
    background-color: var(--bg-dark);
    color: var(--text-white);
}

.corporate-section {
    background: linear-gradient(145deg, #FFFFFF, var(--bg-surface));
}

.row {
    display: flex;
    flex-wrap: wrap;
    gap: 4rem;
}

.align-center {
    align-items: center;
}

.col {
    flex: 1;
    min-width: 320px;
}

/* ==============================================================
   SECCIÓN 2: ¿Por qué elegir Farias? (4 Columnas)
   ============================================================== */
.features-grid-4 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--bg-main);
    padding: 2.8rem 2rem;
    border-radius: var(--border-radius);
    border: 1px solid #EAEFF6;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: rgba(197, 160, 89, 0.4);
    box-shadow: var(--box-shadow-hover);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: rgba(197, 160, 89, 0.1);
    color: var(--gold-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin: 0 auto 1.8rem auto;
    transition: var(--transition);
}

.feature-card:hover .feature-icon {
    background: var(--gold-gradient);
    color: var(--bg-dark);
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* ==============================================================
   SECCIÓN 3: Timeline Horizontal (¿Cómo funciona?)
   ============================================================== */
.timeline-container {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.5rem;
    position: relative;
    margin-top: 2rem;
}

.timeline-container::before {
    content: '';
    position: absolute;
    top: 35px;
    left: 5%;
    width: 90%;
    height: 2px;
    background: linear-gradient(90deg, var(--gold-primary), #E0E4EC);
    z-index: 0;
}

.timeline-step {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 0 0.5rem;
}

.step-number {
    width: 70px;
    height: 70px;
    background: var(--bg-main);
    border: 2px solid var(--gold-primary);
    color: var(--gold-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    font-weight: 800;
    margin: 0 auto 1.5rem auto;
    box-shadow: 0 5px 15px rgba(197, 160, 89, 0.2);
    transition: var(--transition);
}

.timeline-step:hover .step-number {
    background: var(--gold-gradient);
    color: var(--bg-dark);
    transform: scale(1.1);
}

.step-content h4 {
    font-size: 1.1rem;
    margin-bottom: 0.6rem;
    font-weight: 700;
}

.step-content p {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ==============================================================
   SECCIÓN 4: Valor diario del oro (Tabla de Precios)
   ============================================================== */
.admin-editable-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #E8F0FE;
    color: #1A73E8;
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.table-container {
    max-width: 850px;
    margin: 0 auto 2.5rem auto;
    background: var(--bg-main);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: 0 20px 45px rgba(11, 11, 11, 0.08);
    border: 1px solid rgba(201, 169, 110, 0.25);
    border-top: 3px solid var(--gold-primary);
}

.luxury-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.luxury-table thead {
    background: var(--bg-surface);
    color: var(--text-muted);
    border-bottom: 1px solid rgba(201, 169, 110, 0.2);
}

.luxury-table th {
    padding: 1rem 2rem;
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--bg-dark);
}

.luxury-table td {
    padding: 1.4rem 2rem;
    border-bottom: 1px solid #F1F3F7;
    vertical-align: middle;
}

.luxury-table tbody tr {
    transition: var(--transition);
}

.luxury-table tbody tr:hover {
    background-color: #F9FAFC;
}

.iconless-table td {
    padding: 1.6rem 2rem;
}

.asset-name {
    display: block;
    font-size: 1.1rem;
    color: var(--text-main);
    font-weight: 700;
    margin-bottom: 0.2rem;
}

.asset-sub {
    display: block;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.purity-badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: rgba(197, 160, 89, 0.1);
    color: var(--gold-dark);
    border-radius: 6px;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    border: 1px solid rgba(197, 160, 89, 0.3);
}

.silver-badge {
    background: rgba(144, 164, 174, 0.12);
    color: #455A64;
    border-color: rgba(144, 164, 174, 0.35);
}

.asset-price {
    font-size: 1.35rem !important;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.highlight-row {
    background-color: rgba(144, 164, 174, 0.05);
}

.table-footer {
    padding: 1.2rem 2rem;
    background: #F4F6F9;
    font-size: 0.85rem;
    color: var(--text-muted);
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #E0E4EC;
    flex-wrap: wrap;
    gap: 1rem;
}

.disclaimer-text {
    font-size: 0.85rem;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto;
    font-style: italic;
}

/* ==============================================================
   SECCIÓN 5: Comisiones y Descuentos
   ============================================================== */
.commission-box {
    background: var(--bg-surface);
    border-left: 4px solid var(--gold-primary);
    padding: 2rem;
    border-radius: 0 var(--border-radius-sm) var(--border-radius-sm) 0;
    margin-top: 2rem;
}

.comm-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.8rem;
}

.comm-title {
    font-size: 1.2rem;
    font-weight: 700;
}

.comm-rate {
    font-size: 1.5rem;
    font-weight: 800;
}

.comm-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin: 0;
}

.discount-card {
    background: var(--bg-dark);
    color: var(--text-white);
    padding: 3.5rem 3rem;
    border-radius: var(--border-radius-lg);
    position: relative;
    box-shadow: var(--box-shadow-hover);
    border: 1px solid rgba(197, 160, 89, 0.3);
    text-align: center;
}

.discount-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gold-gradient);
    color: var(--bg-dark);
    padding: 0.4rem 1.5rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.discount-card h3 {
    color: var(--text-white);
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

.big-discount {
    font-size: 3.2rem;
    font-weight: 800;
    color: var(--gold-light);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.discount-sub {
    color: var(--text-white-muted);
    font-size: 1rem;
}

.discount-body {
    color: var(--text-white-muted);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.final-rate {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    padding: 1rem 1.5rem;
    border-radius: var(--border-radius-sm);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.final-rate span {
    font-size: 0.95rem;
    color: var(--text-white);
}

.final-rate strong {
    font-size: 1.8rem;
}

/* ==============================================================
   SECCIÓN 6 & 7: Renovaciones ilimitadas & Custodia Farias
   ============================================================== */
.icon-circle-large {
    width: 90px;
    height: 90px;
    background: rgba(197, 160, 89, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.8rem;
    margin: 0 auto 2rem auto;
    border: 1px solid rgba(197, 160, 89, 0.3);
}

.real-image-container {
    width: 100%;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow-hover);
    border: 1px solid rgba(0,0,0,0.08);
}

.real-image {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.6s ease;
}

.real-image-container:hover .real-image {
    transform: scale(1.04);
}

.security-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.sec-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.05rem;
    font-weight: 600;
}

.sec-item i { font-size: 1.3rem; }

/* ==============================================================
   SECCIÓN 8: Formas de pago
   ============================================================== */
.payment-grid-4 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.pay-card {
    background: var(--bg-main);
    padding: 2.5rem 1.5rem;
    border-radius: var(--border-radius);
    border: 1px solid #EAEFF6;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.pay-card:hover {
    transform: translateY(-5px);
    border-color: var(--gold-primary);
}

.pay-icon {
    font-size: 3rem;
    color: var(--gold-primary);
    margin-bottom: 1.2rem;
}

.pay-card h4 {
    font-size: 1.2rem;
    margin-bottom: 0.3rem;
}

.pay-card span {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* ==============================================================
   SECCIÓN 9 & 10: Microcréditos & Calculadora
   ============================================================== */
.micro-features {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    background: var(--bg-surface);
    padding: 1.8rem;
    border-radius: var(--border-radius);
    border: 1px solid #E0E4EC;
}

.micro-stat {
    display: flex;
    flex-direction: column;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.3rem;
}

.stat-val {
    font-size: 1.4rem;
    font-weight: 800;
}

.calculator-card {
    background: var(--bg-main);
    border-radius: var(--border-radius-lg);
    padding: 3rem;
    box-shadow: var(--box-shadow-hover);
    border: 1px solid #EAEFF6;
}

.calc-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.5rem;
}

.calc-header i { font-size: 1.8rem; }
.calc-header h3 { font-size: 1.6rem; }

.calc-subtitle {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 2rem;
}

.input-group {
    margin-bottom: 1.5rem;
}

.input-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-main);
}

.input-with-icon {
    position: relative;
    display: flex;
    align-items: center;
}

.input-prefix {
    position: absolute;
    left: 15px;
    font-weight: 700;
    color: var(--text-muted);
}

.input-with-icon input {
    padding-left: 35px !important;
}

.input-group input[type="number"] {
    width: 100%;
    padding: 0.9rem 1rem;
    border: 1.5px solid #D0D7E2;
    border-radius: var(--border-radius-sm);
    font-family: var(--font-base);
    font-size: 1.05rem;
    font-weight: 600;
    transition: var(--transition);
}

.input-group input[type="number"]:focus {
    outline: none;
    border-color: var(--gold-primary);
    box-shadow: 0 0 0 3px rgba(197, 160, 89, 0.15);
}

.radio-group {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.radio-label {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.8rem 1rem;
    background: var(--bg-surface);
    border: 1px solid #E0E4EC;
    border-radius: var(--border-radius-sm);
    cursor: pointer;
    font-size: 0.95rem;
    transition: var(--transition);
}

.radio-label:hover {
    border-color: var(--gold-primary);
}

.radio-label input[type="radio"] {
    accent-color: var(--gold-primary);
    width: 18px;
    height: 18px;
}

.calc-results {
    background: linear-gradient(135deg, var(--signature-green) 0%, #0B0B0B 100%);
    color: var(--text-white);
    padding: 1.8rem;
    border-radius: var(--border-radius);
    border: 1px solid rgba(201, 169, 110, 0.3);
}

.result-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.8rem;
    font-size: 0.95rem;
    color: var(--text-white-muted);
}

.result-row strong {
    font-size: 1.15rem;
    color: var(--text-white);
}

.total-row {
    margin-bottom: 0;
    margin-top: 1rem;
}

.total-row span {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-white);
}

.total-row strong {
    font-size: 1.8rem;
}

/* ==============================================================
   SECCIÓN ESPECIAL: Joyería de Inversión (2da Unidad)
   ============================================================== */
.investment-section {
    background: linear-gradient(135deg, #0B0B0B 0%, var(--signature-green) 100%);
    color: var(--text-white);
    position: relative;
    overflow: hidden;
    padding: 8rem 0;
}

.invest-benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.inv-ben {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 0.95rem;
    font-weight: 500;
}

.invest-showcase-card {
    background: var(--bg-dark-card);
    border-radius: var(--border-radius-lg);
    border: 1px solid var(--bg-dark-border);
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0,0,0,0.4);
}

.invest-img-box {
    width: 100%;
    height: 280px;
    overflow: hidden;
}

.invest-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.invest-showcase-card:hover .invest-img-box img {
    transform: scale(1.05);
}

.invest-data-box {
    padding: 2.5rem;
}

.inv-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 1rem;
}

.inv-label {
    font-size: 0.75rem;
    color: var(--text-white-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.invest-table {
    width: 100%;
    border-collapse: collapse;
}

.invest-table th {
    padding: 0.8rem 0;
    font-size: 0.8rem;
    color: var(--text-white-muted);
    text-transform: uppercase;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.invest-table td {
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    font-size: 1rem;
}

.inv-note {
    font-size: 0.8rem;
    color: var(--text-white-muted);
    margin-top: 1.5rem;
    font-style: italic;
}

.layaway-banner {
    background: linear-gradient(145deg, var(--bg-dark-card), #1A243B);
    border: 1px solid var(--gold-primary);
    border-radius: var(--border-radius);
    padding: 3rem;
    box-shadow: 0 15px 35px rgba(0,0,0,0.3);
}

.layaway-content {
    display: flex;
    align-items: flex-start;
    gap: 2rem;
}

.layaway-icon {
    font-size: 3.5rem;
    flex-shrink: 0;
}

.layaway-content h3 {
    color: var(--text-white);
    font-size: 1.5rem;
    margin-bottom: 0.8rem;
}

.layaway-content p {
    color: var(--text-white-muted);
    font-size: 0.95rem;
    line-height: 1.7;
    margin: 0;
}

/* ==============================================================
   SECCIÓN DE PREGUNTAS FRECUENTES (Acordeones & Pestañas UX)
   ============================================================== */
.faq-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3.5rem;
    flex-wrap: wrap;
}

.faq-tab-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 1rem 2.2rem;
    background: var(--bg-main);
    border: 1.5px solid #E0E4EC;
    border-radius: 50px;
    font-family: var(--font-base);
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition);
}

.faq-tab-btn:hover {
    border-color: var(--gold-primary);
    color: var(--text-main);
}

.faq-tab-btn.active {
    background: var(--gold-gradient);
    border-color: transparent;
    color: var(--bg-dark);
    font-weight: 700;
    box-shadow: 0 6px 20px rgba(197, 160, 89, 0.3);
}

.subcat-title {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: var(--text-main);
    border-bottom: 2px solid #EAEFF6;
    padding-bottom: 0.6rem;
}

.accordion-item {
    background: var(--bg-main);
    border: 1px solid #EAEFF6;
    border-radius: var(--border-radius-sm);
    margin-bottom: 1rem;
    overflow: hidden;
    transition: var(--transition);
}

.accordion-item:hover {
    border-color: rgba(197, 160, 89, 0.4);
}

.accordion-header {
    width: 100%;
    padding: 1.4rem 1.8rem;
    background: transparent;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: left;
    font-family: var(--font-base);
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-main);
    cursor: pointer;
    transition: var(--transition);
}

.accordion-header i {
    color: var(--gold-primary);
    transition: transform 0.35s ease;
}

.accordion-item.active .accordion-header i {
    transform: rotate(180deg);
}

.accordion-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
    background: var(--bg-surface);
}

.accordion-body p {
    padding: 1.4rem 1.8rem;
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
    margin: 0;
    border-top: 1px solid #EAEFF6;
}

/* ==============================================================
   FINAL CTA SECTION & FOOTER
   ============================================================== */
.final-cta-section {
    background-color: var(--bg-dark);
    padding: 8rem 0;
    position: relative;
    border-top: 1px solid var(--bg-dark-border);
}

.logo-large {
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo-cta-img {
    height: 72px;
    width: auto;
    object-fit: contain;
    filter: brightness(0) invert(1) drop-shadow(0 4px 12px rgba(0, 0, 0, 0.6));
    transition: var(--transition);
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

footer {
    background: #070B13;
    padding: 3rem 0;
    color: var(--text-white-muted);
    font-size: 0.85rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-copyright {
    font-size: 0.82rem;
    letter-spacing: 0.5px;
    color: var(--text-white-muted);
}

.footer-links {
    margin-top: 1rem;
}

.footer-links a {
    margin: 0 0.8rem;
    color: var(--text-white-muted);
}

.footer-links a:hover {
    color: var(--gold-primary);
}

/* Floating WhatsApp Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: #FFF;
    width: 62px;
    height: 62px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
    z-index: 100;
    transition: transform var(--transition);
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

/* Animations */
.fade-in-up {
    animation: fadeInUp 0.7s ease-out forwards;
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(25px);
    transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(25px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ==============================================================
   Responsive Design
   ============================================================== */
@media (max-width: 1024px) {
    .timeline-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .timeline-container::before {
        left: 35px;
        top: 0;
        width: 2px;
        height: 100%;
    }
    
    .timeline-step {
        display: flex;
        align-items: flex-start;
        text-align: left;
        gap: 1.5rem;
    }
    
    .step-number {
        margin: 0;
        flex-shrink: 0;
    }
}

@media (max-width: 1150px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--bg-dark);
        flex-direction: column;
        justify-content: center;
        transition: 0.35s ease-in-out;
        border-left: 1px solid var(--bg-dark-border);
        box-shadow: -10px 0 30px rgba(0,0,0,0.5);
    }
    
    .nav-links.active { right: 0; }
    
    .menu-toggle {
        display: block;
        z-index: 1001;
    }
}

@media (max-width: 768px) {
    .hero h1 { font-size: 2.3rem; }
    .section-title { font-size: 1.8rem; }
    .hero-buttons { flex-direction: column; width: 100%; }
    .hero-buttons .btn-primary { width: 100%; justify-content: center; }
    .hero-bullets { flex-direction: column; align-items: center; gap: 1rem; }
    .row { gap: 2.5rem; }
    .layaway-content { flex-direction: column; text-align: center; align-items: center; }
    .invest-benefits-grid { grid-template-columns: 1fr; }
    .final-rate { flex-direction: column; text-align: center; gap: 0.5rem; }

    /* --- RESPONSIVE TABLE CARD LAYOUT (iPhone 12 / Móviles) --- */
    .table-container {
        border-radius: var(--border-radius);
        margin-bottom: 2rem;
        box-shadow: 0 10px 25px rgba(11, 11, 11, 0.08);
    }
    .luxury-table thead {
        display: none; /* Ocultamos cabeceras tradicionales en móvil */
    }
    .luxury-table, .luxury-table tbody, .luxury-table tr, .luxury-table td {
        display: block;
        width: 100%;
        text-align: left !important;
        box-sizing: border-box;
    }
    .luxury-table tr {
        padding: 1.4rem 1.2rem;
        border-bottom: 1px solid rgba(201, 169, 110, 0.3);
        position: relative;
        background: var(--bg-main);
    }
    .iconless-table td {
        padding: 0;
        border: none;
    }
    .iconless-table tr td:nth-child(1) {
        margin-bottom: 0.8rem;
        padding-bottom: 0.8rem;
        border-bottom: 1px dashed rgba(0, 0, 0, 0.08);
    }
    .asset-name {
        font-size: 1.15rem;
        display: block;
        margin-bottom: 0.2rem;
    }
    .iconless-table tr td:nth-child(2) {
        display: inline-block;
        margin-bottom: 1rem;
    }
    .purity-badge {
        font-size: 0.82rem;
        padding: 0.4rem 0.8rem;
        white-space: nowrap;
    }
    .iconless-table tr td:nth-child(3) {
        display: flex;
        justify-content: space-between;
        align-items: center;
        background: var(--bg-surface);
        padding: 0.9rem 1rem;
        border-radius: var(--border-radius-sm);
        border: 1px solid rgba(201, 169, 110, 0.25);
    }
    .iconless-table tr td:nth-child(3)::before {
        content: "COTIZACIÓN OFICIAL";
        font-size: 0.75rem;
        color: var(--text-muted);
        font-weight: 700;
        letter-spacing: 0.5px;
    }
    .asset-price {
        font-size: 1.2rem !important;
    }
    .table-footer {
        flex-direction: column;
        text-align: center;
        padding: 1.2rem 1rem;
        gap: 0.6rem;
    }

    /* --- RESPONSIVE CALCULATOR & CARDS --- */
    .calculator-card { padding: 1.8rem 1.2rem; }
    .calc-results { padding: 1.4rem 1rem; }
    .result-row strong { font-size: 1.05rem; }
    .total-row strong { font-size: 1.5rem; }
    .payment-grid-4 { grid-template-columns: 1fr; gap: 1.2rem; }
    .logo-img { height: 38px; }
    .logo-cta-img { height: 52px; }
    .inline-logo { max-height: 28px !important; max-width: 105px !important; }
    .inline-logo-sm { max-height: 18px !important; max-width: 65px !important; }
}

@media (max-width: 480px) {
    .container { padding: 0 1.2rem; }
    .hero h1 { font-size: 2rem; }
    .purity-badge { font-size: 0.78rem; }
    .logo-img { height: 34px; }
    .logo-cta-img { height: 44px; }
    .inline-logo { max-height: 24px !important; max-width: 90px !important; }
    .inline-logo-sm { max-height: 16px !important; max-width: 58px !important; }
}
