/* =========================================================
   PENSIÓN INVALIDEZ COLOMBIA — Élite v4
   Tema: Verde Oliva + Dorado | Fuentes: Inter + Playfair
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&family=Playfair+Display:wght@700;800&display=swap');

/* ── Variables ─────────────────────────────────────────── */
:root {
    /* Paleta verde oliva */
    --green-950: #0A110A;
    --green-900: #1F2A1F;
    --green-800: #2F3E2C;
    --green-700: #3A4A32;
    --green-600: #4A5A40;
    --green-100: rgba(212,175,55,.18);
    --green-50:  rgba(212,175,55,.08);

    /* Aliases para compatibilidad con selectores existentes */
    --blue-950:  var(--green-950);
    --blue-900:  var(--green-900);
    --blue-800:  var(--green-800);
    --blue-700:  var(--green-700);
    --blue-600:  var(--green-600);
    --blue-100:  var(--green-100);
    --blue-50:   var(--green-50);

    /* Dorado premium */
    --gold-500:  #C9A227;
    --gold-400:  #D4AF37;
    --gold-300:  #F5D76E;
    --gold-100:  rgba(212,175,55,.12);

    /* Neutros — tema oscuro */
    --gray-900:  #F5F0E8;   /* texto fuerte (invertido) */
    --gray-800:  #EDE8DC;
    --gray-700:  #DDD8CC;   /* texto párrafos */
    --gray-600:  #BBBBAA;   /* texto muted */
    --gray-500:  #999990;
    --gray-400:  #777770;
    --gray-200:  rgba(212,175,55,.15);   /* bordes */
    --gray-100:  rgba(255,255,255,.06);
    --gray-50:   rgba(255,255,255,.03);
    --white:     #ffffff;

    /* Semánticos */
    --color-primary:   var(--gold-400);
    --color-primary-d: var(--gold-500);
    --color-accent:    var(--gold-400);
    --color-accent-d:  var(--gold-500);
    --color-text:      #E8E4D8;
    --color-muted:     #AAAAAA;
    --color-bg:        #1F2A1F;
    --color-border:    rgba(212,175,55,.18);
    --color-success:   #4ade80;
    --color-whatsapp:  #25d366;

    /* Superficies (en lugar de --white para componentes) */
    --surface-1: rgba(47,62,44,.90);    /* cards, pasos, FAQ */
    --surface-2: rgba(31,42,31,.95);    /* secciones alternas */
    --surface-3: rgba(58,74,50,.70);    /* hover sutil */

    /* Tipografía */
    --font-main:  'Inter', 'Segoe UI', system-ui, -apple-system, Arial, sans-serif;
    --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;

    /* Layout */
    --max-width:  1160px;
    --radius-sm:  4px;
    --radius:     10px;
    --radius-lg:  16px;
    --radius-xl:  24px;

    /* Sombras (más pronunciadas en tema oscuro) */
    --shadow-xs: 0 1px 4px rgba(0,0,0,.25);
    --shadow-sm: 0 2px 10px rgba(0,0,0,.35);
    --shadow:    0 4px 20px rgba(0,0,0,.40);
    --shadow-lg: 0 8px 36px rgba(0,0,0,.50);
    --shadow-xl: 0 16px 52px rgba(0,0,0,.60);

    --transition: .22s cubic-bezier(.4,0,.2,1);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-main);
    color: var(--color-text);
    background: linear-gradient(135deg, #1F2A1F 0%, #2F3E2C 60%, #1F2A1F 100%);
    background-attachment: fixed;
    line-height: 1.75;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; display: block; }
ul  { list-style: none; }

a {
    color: var(--gold-400);
    text-decoration: none;
    transition: color var(--transition);
}
a:hover { color: var(--gold-300); }

/* ── Contenedor ────────────────────────────────────────── */
.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ── Tipografía ────────────────────────────────────────── */
h1, h2, h3, h4 {
    font-family: var(--font-main);
    font-weight: 800;
    line-height: 1.2;
    color: var(--gold-400);
    letter-spacing: -.02em;
    text-shadow: 0 2px 10px rgba(212,175,55,.20);
}

h1 {
    font-family: var(--font-serif);
    font-size: clamp(1.85rem, 4.5vw, 2.85rem);
    margin-bottom: 1.1rem;
    font-weight: 800;
    letter-spacing: -.03em;
}

h2 { font-size: clamp(1.4rem, 3vw, 2.1rem);  margin-bottom: .85rem; }
h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: .5rem;  letter-spacing: -.01em; }
h4 { font-size: 1rem;    font-weight: 700; }

p { margin-bottom: 1rem; color: var(--gray-700); }
p:last-child { margin-bottom: 0; }

strong { font-weight: 700; color: var(--gray-900); }

.section-header h2::after {
    content: '';
    display: block;
    width: 3rem;
    height: 3px;
    background: var(--gold-400);
    border-radius: 2px;
    margin: .75rem auto 0;
}

/* ── BARRA SUPERIOR ────────────────────────────────────── */
.top-bar {
    background: rgba(10,17,10,.97);
    border-bottom: 1px solid rgba(212,175,55,.12);
    font-size: .78rem;
    color: rgba(255,255,255,.55);
    letter-spacing: .01em;
}

.top-bar-inner {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 1.25rem;
    padding-top: .4rem;
    padding-bottom: .4rem;
    flex-wrap: wrap;
}

.top-bar-item { display: flex; align-items: center; gap: .35rem; white-space: nowrap; }
.top-bar-item a { color: var(--gold-300); font-weight: 600; }
.top-bar-item a:hover { color: var(--gold-400); }
.top-bar-sep { color: rgba(255,255,255,.15); user-select: none; }

/* ── Botones ───────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .45rem;
    padding: .82rem 1.8rem;
    border-radius: var(--radius);
    font-family: var(--font-main);
    font-weight: 700;
    font-size: .92rem;
    letter-spacing: .025em;
    text-transform: uppercase;
    cursor: pointer;
    border: 2px solid transparent;
    transition:
        background var(--transition),
        color var(--transition),
        border-color var(--transition),
        transform var(--transition),
        box-shadow var(--transition);
    white-space: nowrap;
    text-decoration: none;
}
.btn:active { transform: translateY(0) !important; }

/* Primario — dorado con texto oscuro */
.btn-primary {
    background: linear-gradient(135deg, var(--gold-400) 0%, var(--gold-500) 100%);
    color: #1A1A1A;
    border-color: var(--gold-400);
    box-shadow: 0 4px 16px rgba(212,175,55,.35);
}
.btn-primary:hover {
    background: linear-gradient(135deg, var(--gold-300) 0%, var(--gold-400) 100%);
    border-color: var(--gold-300);
    color: #1A1A1A;
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(212,175,55,.50);
}

/* Secundario — contorno dorado */
.btn-secondary {
    background: transparent;
    color: var(--gold-400);
    border-color: var(--gold-400);
}
.btn-secondary:hover {
    background: var(--gold-400);
    color: #1A1A1A;
    border-color: var(--gold-400);
    transform: translateY(-2px);
    box-shadow: 0 6px 22px rgba(212,175,55,.35);
}

/* Contorno blanco (sobre fondos oscuros) */
.btn-outline {
    background: transparent;
    color: rgba(255,255,255,.85);
    border-color: rgba(255,255,255,.50);
}
.btn-outline:hover {
    background: rgba(255,255,255,.10);
    color: var(--white);
    border-color: rgba(255,255,255,.80);
    transform: translateY(-2px);
}

/* WhatsApp */
.btn-whatsapp {
    background: linear-gradient(135deg, var(--color-whatsapp) 0%, #1ebe5d 100%);
    color: var(--white);
    border-color: var(--color-whatsapp);
    margin-top: .85rem;
}
.btn-whatsapp:hover {
    background: linear-gradient(135deg, #1ebe5d 0%, #17a84f 100%);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37,211,102,.40);
}

.btn-header { font-size: .8rem; padding: .6rem 1.2rem; letter-spacing: .025em; }

/* ── HEADER ────────────────────────────────────────────── */
.site-header {
    background: rgba(31,42,31,.96);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    position: sticky;
    top: 0;
    z-index: 200;
    border-bottom: 2px solid rgba(212,175,55,.30);
    box-shadow: 0 2px 24px rgba(0,0,0,.40);
}

.header-inner {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding-top: .9rem;
    padding-bottom: .9rem;
}

.logo { flex-shrink: 0; }
.logo a {
    display: flex;
    align-items: center;
    gap: .65rem;
    color: var(--white);
    font-size: 1rem;
    font-weight: 700;
    white-space: nowrap;
    text-decoration: none;
}
.logo a:hover { color: var(--gold-300); }
.logo-icon { font-size: 1.6rem; line-height: 1; filter: drop-shadow(0 1px 4px rgba(0,0,0,.4)); }
.logo-text { letter-spacing: -.01em; }
.logo-text strong { color: var(--gold-400); font-weight: 800; }

.main-nav { flex: 1; }
.main-nav ul { display: flex; flex-wrap: wrap; gap: 0; align-items: center; }
.main-nav li { position: relative; }
.main-nav a {
    display: block;
    color: rgba(255,255,255,.75);
    font-size: .845rem;
    font-weight: 500;
    padding: .4rem .78rem;
    border-radius: var(--radius-sm);
    transition: color var(--transition), background var(--transition);
    letter-spacing: .01em;
}
.main-nav a:hover,
.main-nav a.active {
    color: var(--gold-300);
    background: rgba(212,175,55,.10);
}
.main-nav a.active { color: var(--gold-400); }

/* Hamburguesa */
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 2.25rem;
    height: 2.25rem;
    background: rgba(212,175,55,.12);
    border: 1px solid rgba(212,175,55,.25);
    border-radius: var(--radius-sm);
    cursor: pointer;
    padding: .45rem .42rem;
    flex-shrink: 0;
    margin-left: auto;
    transition: background var(--transition);
}
.nav-toggle:hover { background: rgba(212,175,55,.22); }
.nav-toggle span {
    display: block; width: 100%; height: 2px;
    background: var(--gold-300); border-radius: 2px;
    transition: transform .25s ease, opacity .25s ease;
}
body.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; transform: scaleX(0); }
body.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── HERO ──────────────────────────────────────────────── */
.hero {
    position: relative;
    background: radial-gradient(ellipse at center, #3A4A32 0%, #2F3E2C 45%, #1F2A1F 80%, #0A110A 100%);
    color: var(--white);
    padding: 5.5rem 0 4.5rem;
    text-align: center;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(ellipse at 15% 25%, rgba(212,175,55,.08) 0%, transparent 55%),
        radial-gradient(ellipse at 85% 75%, rgba(212,175,55,.06) 0%, transparent 55%);
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, var(--gold-400) 30%, var(--gold-300) 50%, var(--gold-400) 70%, transparent 100%);
}

.hero .container { position: relative; z-index: 1; }

.hero h1 {
    color: var(--gold-300);
    text-shadow: 0 2px 20px rgba(212,175,55,.30);
    max-width: 820px;
    margin-left: auto;
    margin-right: auto;
    font-size: clamp(2rem, 5vw, 3.1rem);
    line-height: 1.15;
}

.hero .hero-subtitle {
    font-size: 1.1rem;
    line-height: 1.72;
    color: rgba(255,255,255,.80);
    max-width: 630px;
    margin: 1rem auto 2.5rem;
    font-weight: 400;
}

.hero-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* Métricas de confianza */
.hero-trust {
    display: flex;
    gap: 0;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 3.5rem;
    border-top: 1px solid rgba(212,175,55,.18);
    padding-top: 2.25rem;
}

.trust-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .25rem;
    padding: .5rem 2.25rem;
    border-right: 1px solid rgba(212,175,55,.14);
}
.trust-item:last-child { border-right: none; }
.trust-item strong {
    font-size: 1.9rem;
    font-weight: 900;
    color: var(--gold-300);
    line-height: 1;
    letter-spacing: -.04em;
    font-family: var(--font-serif);
}
.trust-item span {
    font-size: .77rem;
    color: rgba(255,255,255,.60);
    text-transform: uppercase;
    letter-spacing: .07em;
    font-weight: 500;
}

/* ── SECCIONES ─────────────────────────────────────────── */
.section { padding: 5rem 0; }

.section-alt {
    background: linear-gradient(180deg, rgba(31,42,31,.95) 0%, rgba(47,62,44,.80) 100%);
    backdrop-filter: blur(4px);
}

.section-dark {
    background: linear-gradient(140deg, #0A110A 0%, #1F2A1F 50%, #2F3E2C 100%);
    color: var(--white);
}
.section-dark h2,
.section-dark h3 { color: var(--gold-300); }
.section-dark p   { color: rgba(255,255,255,.78); }

.section-header { text-align: center; margin-bottom: 3.5rem; }
.section-header p {
    color: var(--gray-600);
    max-width: 580px;
    margin: .85rem auto 0;
    font-size: 1.025rem;
}
.section-dark .section-header p { color: rgba(255,255,255,.70); }
.section-dark .section-header h2::after { background: var(--gold-300); }

/* ── TARJETAS ──────────────────────────────────────────── */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(275px, 1fr));
    gap: 1.5rem;
}

.card {
    background: rgba(31,42,31,.85);
    border-radius: var(--radius-lg);
    padding: 2rem 1.75rem;
    box-shadow: 0 10px 30px rgba(0,0,0,.40);
    border: 1px solid rgba(212,175,55,.15);
    border-top: 3px solid var(--green-700);
    transition: transform var(--transition), box-shadow var(--transition), border-top-color var(--transition);
    position: relative;
    backdrop-filter: blur(4px);
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(0,0,0,.55);
    border-top-color: var(--gold-400);
    background: rgba(47,62,44,.90);
}

.card-icon { font-size: 2.5rem; margin-bottom: 1.1rem; line-height: 1; display: block; }
.card h3 { color: var(--gold-400); font-size: 1.05rem; margin-bottom: .6rem; }
.card p  { color: var(--gray-600); font-size: .93rem; line-height: 1.65; }

.card .read-more {
    display: inline-flex;
    align-items: center;
    gap: .3rem;
    margin-top: 1.1rem;
    font-size: .82rem;
    font-weight: 700;
    color: var(--gold-400);
    text-transform: uppercase;
    letter-spacing: .05em;
    transition: gap var(--transition), color var(--transition);
}
.card .read-more:hover { color: var(--gold-300); gap: .5rem; }

/* ── FEATURE BOX ───────────────────────────────────────── */
.feature-box {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
    padding: 1.5rem;
    background: rgba(31,42,31,.85);
    border-radius: var(--radius);
    border: 1px solid rgba(212,175,55,.15);
    transition: box-shadow var(--transition), transform var(--transition);
}
.feature-box:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.feature-box-icon { font-size: 2rem; flex-shrink: 0; width: 3rem; text-align: center; line-height: 1; }
.feature-box-body h3 { margin-bottom: .3rem; font-size: 1rem; }
.feature-box-body p  { font-size: .92rem; margin: 0; }

/* ── PASOS NUMERADOS ───────────────────────────────────── */
.steps-list {
    counter-reset: steps;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    max-width: 820px;
    margin: 0 auto;
}

.step-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    background: rgba(31,42,31,.85);
    padding: 1.5rem 1.75rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(212,175,55,.12);
    border-left: 4px solid var(--green-700);
    transition: box-shadow var(--transition), transform var(--transition), border-left-color var(--transition);
    backdrop-filter: blur(4px);
}
.step-item:hover {
    box-shadow: var(--shadow);
    transform: translateX(5px);
    border-left-color: var(--gold-400);
    background: rgba(47,62,44,.90);
}

.step-num {
    counter-increment: steps;
    min-width: 2.75rem;
    height: 2.75rem;
    background: linear-gradient(135deg, var(--green-700), var(--green-900));
    border: 2px solid rgba(212,175,55,.30);
    color: var(--gold-300);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1rem;
    flex-shrink: 0;
    box-shadow: 0 3px 12px rgba(0,0,0,.35);
    letter-spacing: -.01em;
}
.step-num::before { content: counter(steps); }

.step-content { flex: 1; }
.step-content h3 { margin-bottom: .35rem; font-size: 1.025rem; color: var(--gold-400); }
.step-content p  { margin: 0; color: var(--gray-600); font-size: .93rem; line-height: 1.65; }

/* ── FAQ ───────────────────────────────────────────────── */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: .75rem;
    max-width: 820px;
    margin: 0 auto;
}

.faq-item {
    background: rgba(31,42,31,.85);
    border-radius: var(--radius);
    border: 1px solid rgba(212,175,55,.12);
    overflow: hidden;
    transition: box-shadow var(--transition), background var(--transition);
    backdrop-filter: blur(4px);
}
.faq-item:hover { box-shadow: var(--shadow-sm); background: rgba(47,62,44,.90); }

.faq-question {
    padding: 1.2rem 1.5rem;
    font-weight: 700;
    font-size: .98rem;
    color: var(--gold-400);
    cursor: default;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: .75rem;
    border-left: 4px solid var(--green-700);
}
.faq-question::after { content: '▾'; font-size: 1rem; color: var(--gold-500); flex-shrink: 0; }

.faq-answer {
    padding: 0 1.5rem 1.2rem 1.75rem;
    color: var(--gray-600);
    font-size: .95rem;
    line-height: 1.72;
    border-left: 4px solid rgba(212,175,55,.15);
}

/* ── CTA BANNER ────────────────────────────────────────── */
.cta-banner {
    background: linear-gradient(135deg, #3A4A32 0%, #1F2A1F 55%, #0A110A 100%);
    color: var(--white);
    text-align: center;
    padding: 4.5rem 2rem;
    border-radius: var(--radius-xl);
    margin: 1rem 0;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    border: 1px solid rgba(212,175,55,.25);
}

.cta-banner::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--gold-500), var(--gold-300), var(--gold-500));
}

.cta-banner::after {
    content: '';
    position: absolute;
    bottom: -40px; right: -40px;
    width: 220px; height: 220px;
    border-radius: 50%;
    background: rgba(212,175,55,.04);
    pointer-events: none;
}

.cta-banner h2 {
    color: var(--gold-300);
    font-size: clamp(1.5rem, 3vw, 2rem);
    margin-bottom: .75rem;
}
.cta-banner p {
    color: rgba(255,255,255,.78);
    margin-bottom: 2.25rem;
    font-size: 1.05rem;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}
.cta-banner .cta-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ── TABLA ─────────────────────────────────────────────── */
.req-table {
    width: 100%;
    border-collapse: collapse;
    background: rgba(31,42,31,.90);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid rgba(212,175,55,.15);
}

.req-table thead tr {
    background: linear-gradient(90deg, #0A110A, #2F3E2C);
}
.req-table th {
    color: var(--gold-300);
    padding: 1rem 1.4rem;
    text-align: left;
    font-size: .875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .05em;
}
.req-table td {
    padding: 1rem 1.4rem;
    border-bottom: 1px solid rgba(212,175,55,.10);
    font-size: .95rem;
    vertical-align: middle;
    color: var(--gray-700);
}
.req-table tr:last-child td { border-bottom: none; }
.req-table tbody tr:nth-child(even) td { background: rgba(255,255,255,.03); }
.req-table tbody tr:hover td {
    background: rgba(212,175,55,.06);
    transition: background var(--transition);
}

.badge {
    display: inline-block;
    padding: .25rem .75rem;
    border-radius: 999px;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .03em;
    text-transform: uppercase;
}
.badge-yes  { background: rgba(74,222,128,.15); color: #4ade80; }
.badge-no   { background: rgba(248,113,113,.15); color: #f87171; }
.badge-cond { background: rgba(212,175,55,.15);  color: var(--gold-300); }

/* ── ALERTAS ───────────────────────────────────────────── */
.alert {
    padding: 1.1rem 1.4rem;
    border-radius: var(--radius);
    border-left: 4px solid;
    margin: 1.5rem 0;
    font-size: .95rem;
    line-height: 1.65;
    backdrop-filter: blur(4px);
}
.alert strong { font-weight: 700; }

.alert-info    { background: rgba(58,74,50,.70);   border-color: var(--green-600); color: #C8D8C0; }
.alert-warn    { background: rgba(212,175,55,.12); border-color: var(--gold-400);  color: var(--gold-300); }
.alert-success { background: rgba(74,222,128,.10); border-color: var(--color-success); color: #4ade80; }

/* ── LISTAS CON ICONOS ─────────────────────────────────── */
.list-check,
.list-arrow {
    list-style: none;
    padding-left: 0;
    margin-bottom: 1rem;
}

.list-check li,
.list-arrow li {
    position: relative;
    padding-left: 1.8rem;
    margin-bottom: .65rem;
    color: var(--gray-700);
    font-size: .97rem;
    line-height: 1.65;
}
.list-check li::before {
    content: '✓';
    position: absolute; left: 0; top: .05em;
    color: var(--color-success);
    font-weight: 900; font-size: .9rem;
}
.list-arrow li::before {
    content: '→';
    position: absolute; left: 0; top: .05em;
    color: var(--gold-400);
    font-weight: 700;
}

/* ── BLOG ──────────────────────────────────────────────── */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
    gap: 1.75rem;
}

.blog-card {
    background: rgba(31,42,31,.85);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(212,175,55,.12);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
    backdrop-filter: blur(4px);
}
.blog-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    background: rgba(47,62,44,.92);
}
.blog-card::before {
    content: '';
    display: block;
    height: 3px;
    background: linear-gradient(90deg, var(--gold-500), var(--gold-300));
    flex-shrink: 0;
}
.blog-card-body { padding: 1.6rem; flex: 1; display: flex; flex-direction: column; }

.blog-meta {
    font-size: .78rem;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: .06em;
    margin-bottom: .65rem;
    font-weight: 600;
}
.blog-meta span:first-child { color: var(--gold-400); }

.blog-card h2,
.blog-card h3 {
    font-size: 1.05rem;
    color: var(--gold-400);
    margin-bottom: .6rem;
    line-height: 1.35;
    letter-spacing: -.01em;
}
.blog-card h2 a, .blog-card h3 a { color: inherit; }
.blog-card h2 a:hover, .blog-card h3 a:hover { color: var(--gold-300); }
.blog-card p { font-size: .92rem; color: var(--gray-600); line-height: 1.65; flex: 1; }

.read-more {
    display: inline-flex;
    align-items: center;
    gap: .3rem;
    margin-top: 1rem;
    font-size: .83rem;
    font-weight: 700;
    color: var(--gold-400);
    text-transform: uppercase;
    letter-spacing: .05em;
    transition: gap var(--transition), color var(--transition);
}
.read-more:hover { color: var(--gold-300); gap: .5rem; }

/* ── BREADCRUMB ────────────────────────────────────────── */
.breadcrumb {
    padding: .85rem 0;
    font-size: .82rem;
    color: var(--gray-500);
    border-bottom: 1px solid rgba(212,175,55,.12);
    margin-bottom: 2.25rem;
}
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: .35rem; align-items: center; }
.breadcrumb li + li::before { content: '/'; margin-right: .35rem; color: var(--gray-500); }
.breadcrumb a { color: var(--gold-400); font-weight: 500; }
.breadcrumb a:hover { color: var(--gold-300); }
.breadcrumb [aria-current="page"] { color: var(--gray-600); font-weight: 500; }

/* ── CONTENIDO DE ARTÍCULO ─────────────────────────────── */
.article-content { max-width: 820px; }

.article-content h2 {
    margin-top: 2.75rem;
    margin-bottom: .9rem;
    padding-bottom: .65rem;
    border-bottom: 1px solid rgba(212,175,55,.18);
    font-size: clamp(1.25rem, 2.5vw, 1.6rem);
}
.article-content h2:first-child { margin-top: 0; }
.article-content h3 { margin-top: 1.85rem; margin-bottom: .6rem; color: var(--gold-300); font-size: 1.05rem; }

.article-content ul,
.article-content ol { padding-left: 1.5rem; margin-bottom: 1.1rem; }
.article-content ul { list-style: none; padding-left: 0; }
.article-content ol { list-style: decimal; }

.article-content ul li {
    position: relative;
    padding-left: 1.6rem;
    margin-bottom: .5rem;
    color: var(--gray-700);
    font-size: .98rem;
    line-height: 1.65;
}
.article-content ul li::before {
    content: '';
    position: absolute;
    left: .2rem; top: .62em;
    width: .45rem; height: .45rem;
    border-radius: 50%;
    background: var(--gold-400);
}
.article-content ol li {
    margin-bottom: .5rem;
    color: var(--gray-700);
    font-size: .98rem;
    padding-left: .4rem;
}

/* ── DOS COLUMNAS ──────────────────────────────────────── */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }
@media (max-width: 740px) { .two-col { grid-template-columns: 1fr; gap: 2rem; } }

/* ── HIGHLIGHT BOX ─────────────────────────────────────── */
.highlight-box {
    background: rgba(58,74,50,.60);
    border: 1px solid rgba(212,175,55,.20);
    border-left: 4px solid var(--gold-400);
    border-radius: var(--radius);
    padding: 1.5rem;
    margin: 1.5rem 0;
}
.highlight-box h3 { color: var(--gold-400); margin-bottom: .5rem; font-size: 1rem; }
.highlight-box p  { color: var(--gray-700); font-size: .93rem; margin: 0; }

/* ── TESTIMONIALES ─────────────────────────────────────── */
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}
.testimonial-card {
    background: rgba(31,42,31,.85);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    border: 1px solid rgba(212,175,55,.15);
    box-shadow: var(--shadow-sm);
    position: relative;
    transition: box-shadow var(--transition), transform var(--transition);
    backdrop-filter: blur(4px);
}
.testimonial-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.testimonial-card::before {
    content: '"';
    position: absolute; top: .75rem; right: 1.25rem;
    font-size: 4.5rem; line-height: 1;
    color: rgba(212,175,55,.15);
    font-family: var(--font-serif); font-weight: 800;
    pointer-events: none;
}
.testimonial-text { font-size: .95rem; color: var(--gray-700); line-height: 1.72; margin-bottom: 1.25rem; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: .75rem; }
.testimonial-avatar {
    width: 2.5rem; height: 2.5rem;
    background: linear-gradient(135deg, var(--green-700), var(--green-900));
    border: 2px solid rgba(212,175,55,.30);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: var(--gold-300); font-weight: 800; font-size: .9rem; flex-shrink: 0;
}
.testimonial-name { font-size: .9rem; font-weight: 700; color: var(--gray-800); line-height: 1.3; }
.testimonial-location { font-size: .78rem; color: var(--gray-500); }

/* ── STATS GRID ────────────────────────────────────────── */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}
.stat-item {
    text-align: center;
    padding: 1.75rem 1rem;
    background: rgba(212,175,55,.06);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(212,175,55,.15);
    transition: background var(--transition), transform var(--transition);
}
.stat-item:hover { background: rgba(212,175,55,.12); transform: translateY(-3px); }
.stat-item strong {
    display: block;
    font-size: 2.25rem; font-weight: 900;
    color: var(--gold-300); line-height: 1;
    letter-spacing: -.04em;
    font-family: var(--font-serif);
}
.stat-item span {
    display: block;
    font-size: .77rem;
    color: rgba(255,255,255,.60);
    text-transform: uppercase;
    letter-spacing: .07em;
    margin-top: .4rem;
    font-weight: 500;
}

/* ── FOOTER ────────────────────────────────────────────── */
.site-footer {
    background: #0A0F0A;
    color: rgba(255,255,255,.65);
    padding: 0;
}
.site-footer::before {
    content: '';
    display: block;
    height: 3px;
    background: linear-gradient(90deg, var(--green-700), var(--gold-400), var(--green-700));
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(215px, 1fr));
    gap: 2.5rem;
    padding: 3.5rem 0 3rem;
}
.footer-col h3 {
    color: var(--gold-400);
    font-size: .82rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: .10em;
    margin-bottom: 1.1rem; padding-bottom: .65rem;
    border-bottom: 1px solid rgba(212,175,55,.12);
}
.footer-col p { font-size: .9rem; color: rgba(255,255,255,.50); line-height: 1.75; }
.footer-col ul li { margin-bottom: .55rem; }
.footer-col ul a {
    color: rgba(255,255,255,.50);
    font-size: .875rem;
    transition: color var(--transition), padding-left var(--transition);
    display: inline-block;
}
.footer-col ul a:hover { color: var(--gold-400); padding-left: .4rem; }

.contact-list li {
    margin-bottom: .7rem;
    font-size: .88rem;
    color: rgba(255,255,255,.55);
    display: flex; gap: .5rem; align-items: baseline; flex-wrap: wrap;
}
.contact-list strong { color: rgba(255,255,255,.80); font-weight: 600; }
.contact-list a { color: var(--gold-400); }
.contact-list a:hover { color: var(--gold-300); }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.05);
    padding: 1.75rem 0;
    text-align: center;
}
.footer-bottom p { font-size: .82rem; color: rgba(255,255,255,.28); margin: 0; }
.legal-note { margin-top: .5rem; font-size: .75rem; color: rgba(255,255,255,.18) !important; font-style: italic; }

/* ── BOTÓN FLOTANTE WHATSAPP ───────────────────────────── */
.fab-whatsapp {
    position: fixed;
    bottom: 1.75rem; right: 1.75rem;
    z-index: 500;
    width: 3.5rem; height: 3.5rem;
    background: var(--color-whatsapp);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 4px 22px rgba(37,211,102,.50);
    text-decoration: none;
    transition: transform var(--transition), box-shadow var(--transition);
    font-size: 1.65rem; line-height: 1;
    color: var(--white);
}
.fab-whatsapp:hover {
    transform: scale(1.12) translateY(-2px);
    box-shadow: 0 8px 30px rgba(37,211,102,.65);
    color: var(--white);
}
.fab-whatsapp::before {
    content: 'Chatea con nosotros';
    position: absolute; right: calc(100% + .75rem);
    background: #0A0F0A;
    color: var(--gold-300);
    font-size: .78rem; font-weight: 600;
    white-space: nowrap;
    padding: .35rem .75rem;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(212,175,55,.20);
    opacity: 0; pointer-events: none;
    transform: translateX(6px);
    transition: opacity var(--transition), transform var(--transition);
    font-family: var(--font-main);
}
.fab-whatsapp:hover::before { opacity: 1; transform: translateX(0); }
.fab-whatsapp::after {
    content: '';
    position: absolute; inset: 0;
    border-radius: 50%;
    background: var(--color-whatsapp);
    animation: fab-pulse 2.5s ease-out infinite;
    z-index: -1;
}
@keyframes fab-pulse {
    0%   { transform: scale(1);    opacity: .5; }
    70%  { transform: scale(1.65); opacity: 0;  }
    100% { transform: scale(1);    opacity: 0;  }
}

/* ── VOLVER ARRIBA ─────────────────────────────────────── */
.back-to-top {
    position: fixed;
    bottom: 1.75rem; left: 1.75rem;
    z-index: 500;
    width: 2.5rem; height: 2.5rem;
    background: rgba(31,42,31,.90);
    border: 1px solid rgba(212,175,55,.25);
    border-radius: var(--radius-sm);
    display: flex; align-items: center; justify-content: center;
    color: rgba(212,175,55,.75);
    font-size: 1.1rem; text-decoration: none;
    opacity: 0; transform: translateY(8px);
    transition: opacity var(--transition), transform var(--transition), background var(--transition);
    pointer-events: none;
}
.back-to-top.visible { opacity: 1; transform: translateY(0); pointer-events: auto; }
.back-to-top:hover { background: rgba(47,62,44,.95); color: var(--gold-300); }

/* ── TAG / CHIP ────────────────────────────────────────── */
.tag {
    display: inline-block;
    background: rgba(212,175,55,.12);
    color: var(--gold-300);
    font-size: .75rem; font-weight: 700;
    padding: .2rem .75rem;
    border-radius: 999px;
    text-transform: uppercase; letter-spacing: .05em;
    border: 1px solid rgba(212,175,55,.20);
}

/* ── DIVISOR ───────────────────────────────────────────── */
.divider { border: none; border-top: 1px solid rgba(212,175,55,.12); margin: 2.5rem 0; }

/* ── UTILITARIOS ───────────────────────────────────────── */
.text-muted  { color: var(--gray-500) !important; }
.text-center { text-align: center; }
.mt-1 { margin-top: .5rem; }
.mt-2 { margin-top: 1rem;  }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem;  }
.mb-0 { margin-bottom: 0 !important; }
.sr-only {
    position: absolute; width: 1px; height: 1px;
    padding: 0; margin: -1px; overflow: hidden;
    clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ── RESPONSIVE ────────────────────────────────────────── */
@media (max-width: 960px) {
    .header-inner { gap: 1rem; }
    .main-nav a   { padding: .35rem .65rem; font-size: .82rem; }
    .trust-item   { padding: .5rem 1.25rem; }
    .section      { padding: 4rem 0; }
}

@media (max-width: 720px) {
    .hero       { padding: 3.75rem 0 3rem; }
    .section    { padding: 3.25rem 0; }
    .cta-banner { padding: 3rem 1.5rem; }
    .steps-list { max-width: 100%; }
    .hero-trust { flex-direction: row; justify-content: center; }
    .trust-item { padding: .5rem 1rem; min-width: 105px; }
    .trust-item strong { font-size: 1.55rem; }
}

@media (max-width: 600px) {
    .nav-toggle { display: flex; }
    .btn-header { display: none; }

    .main-nav {
        position: absolute;
        top: 100%; left: 0; right: 0;
        background: rgba(10,17,10,.98);
        border-top: 1px solid rgba(212,175,55,.15);
        box-shadow: 0 8px 28px rgba(0,0,0,.60);
        display: none;
    }
    body.nav-open .main-nav { display: block; }
    .main-nav ul { flex-direction: column; gap: 0; padding: .5rem 0; }
    .main-nav li { width: 100%; }
    .main-nav a {
        padding: .85rem 1.5rem;
        border-radius: 0;
        font-size: .9rem;
        border-bottom: 1px solid rgba(212,175,55,.08);
    }

    .hero  { padding: 3rem 0 2.5rem; }
    .hero-trust { flex-wrap: wrap; }
    .trust-item { min-width: 46%; }

    .cards-grid { grid-template-columns: 1fr; }
    .blog-grid  { grid-template-columns: 1fr; }

    h1 { font-size: 1.85rem; }
    h2 { font-size: 1.35rem; }
    .section-header h2::after { margin: .6rem auto 0; }
    .top-bar-inner { justify-content: center; gap: .85rem; }
    .top-bar-sep   { display: none; }
    .cta-banner    { border-radius: var(--radius-lg); }
}

@media (max-width: 400px) {
    .trust-item { min-width: 44%; padding: .5rem .5rem; }
    .fab-whatsapp { bottom: 1rem; right: 1rem; }
    .back-to-top  { bottom: 1rem; left: 1rem; }
}
