:root {
    --bg-main: #111111;
    --bg-dark: #0a0a0a;
    --navy-card: #1a1a1a;
    --gold: #CCA953;
    --gold-mid: #d4b76c;
    --gold-pale: rgba(204, 169, 83, 0.1);
    --white: #ffffff;
    --bone: #F7F7F7;
    --border: rgba(255, 255, 255, 0.08);
    --text: #e2e8f0;
    --text-dark: #111111;
    --muted: #eeeeee;
    --green: #22c55e;
    --red: #ef4444;
    --glow: rgba(0, 242, 255, 0.03);
    --navy: #1a1a1a;
}

/* ── COMMON ── */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--bg-main);
    color: var(--text);
    min-height: 100vh;
    overflow-x: hidden;
    line-height: 1.6;
}

body::before,
body::after {
    content: '';
    position: fixed;
    top: 0;
    width: 30vw;
    height: 100vh;
    pointer-events: none;
    z-index: 999;
}

body::before {
    left: 0;
    background: radial-gradient(circle at 0% 50%, var(--glow) 0%, transparent 70%);
}

body::after {
    right: 0;
    background: radial-gradient(circle at 100% 50%, var(--glow) 0%, transparent 70%);
}

/* ── INDEX STYLES ── */
.nav-top {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 200;
    background: rgba(17, 17, 17, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
}

.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0.9rem 4rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.25rem;
    font-weight: 600;
    color: #fff;
    letter-spacing: 0.02em;
    text-decoration: none;
    text-transform: uppercase;
}

.nav-logo span {
    color: var(--gold);
}

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

.nav-links a {
    color: var(--muted);
    text-decoration: none;
    font-size: 0.82rem;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    transition: color 0.2s;
}

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

.hero-index {
    min-height: 100vh;
    background: var(--bg-main);
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}

.hero-index::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(var(--border) 1px, transparent 1px),
        linear-gradient(90deg, var(--border) 1px, transparent 1px);
    background-size: 60px 60px;
    opacity: 0.3;
}

.hero-accent {
    position: absolute;
    top: 0;
    right: 0;
    width: 420px;
    height: 420px;
    background: var(--gold-pale);
    clip-path: polygon(100% 0, 0 0, 100% 100%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 9rem 4rem 7rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 1.8rem;
    opacity: 0;
    animation: slideUp 0.7s ease 0.3s forwards;
}

.hero-eyebrow::before {
    content: '';
    width: 26px;
    height: 1px;
    background: var(--gold);
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.8rem, 5vw, 3.9rem);
    font-weight: 400;
    line-height: 1.1;
    color: #fff;
    margin-bottom: 2rem;
    opacity: 0;
    animation: slideUp 0.7s ease 0.45s forwards;
}

.hero-title em {
    font-style: italic;
    font-weight: 400;
    color: var(--gold);
}

.hero-subtitle {
    font-size: 1rem;
    font-weight: 300;
    line-height: 1.8;
    color: var(--muted);
    margin-bottom: 2.6rem;
    opacity: 0;
    animation: slideUp 0.7s ease 0.6s forwards;
}

.hero-subtitle strong {
    color: #fff;
    font-weight: 500;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    opacity: 0;
    animation: slideUp 0.7s ease 0.75s forwards;
}

.btn-primary {
    background: var(--gold);
    color: #000;
    padding: 1.1rem 2.8rem;
    border-radius: 0;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    text-decoration: none;
    transition: background 0.2s, transform 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
}

.btn-primary:hover {
    background: var(--gold-mid);
    transform: translateY(-1px);
}

.btn-secondary {
    border: 1.5px solid var(--border);
    color: #fff;
    padding: 1.1rem 2.8rem;
    border-radius: 0;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    text-decoration: none;
    transition: all 0.2s;
}

.btn-secondary:hover {
    border-color: var(--gold);
    color: var(--gold);
    background: transparent;
}

.hero-stats {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    opacity: 0;
    animation: slideUp 0.7s ease 0.55s forwards;
}

.stat-card {
    background: #1a1a1a;
    border: 1px solid var(--border);
    border-radius: 0;
    padding: 2rem;
    display: flex;
    align-items: center;
    gap: 1.6rem;
    transition: border-color 0.3s;
}

.stat-card:hover {
    border-color: var(--gold);
}

.stat-number {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.8rem;
    font-weight: 300;
    color: var(--gold);
    line-height: 1;
    flex-shrink: 0;
    width: 145px;
    text-align: right;
    padding-right: 0.8rem;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--border);
    flex-shrink: 0;
}

.stat-label strong {
    display: block;
    font-size: 0.88rem;
    font-weight: 500;
    color: #fff;
    margin-bottom: 0.2rem;
}

.stat-label span {
    font-size: 0.8rem;
    color: var(--muted);
    font-weight: 300;
    line-height: 1.5;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(18px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.divider-quote {
    background: var(--bg-main);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 4rem 2rem;
    text-align: center;
}

.divider-quote p {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    font-style: italic;
    font-weight: 300;
    color: #fff;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.65;
}

.divider-quote em {
    font-style: normal;
    font-weight: 600;
    color: var(--gold);
}

/* ── SECTIONS ── */
.tools {
    padding: 8rem 0;
    background: var(--bone);
}

.guarantee {
    background: #fff;
    padding: 7rem 0;
}

.cta-section {
    padding: 10rem 0;
    text-align: center;
    background: var(--bone);
    position: relative;
    overflow: hidden;
}

.tools-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 4rem;
}

.section-eyebrow {
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.section-eyebrow::before {
    content: '';
    width: 22px;
    height: 1px;
    background: var(--gold);
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.9rem, 3vw, 2.7rem);
    font-weight: 400;
    line-height: 1.2;
    color: var(--text-dark);
    margin-bottom: 3.5rem;
    max-width: 520px;
}

.section-title em {
    font-style: italic;
    color: var(--gold);
    font-weight: 400;
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.tool-card {
    background: var(--white);
    border: 1.5px solid var(--border);
    border-radius: 0;
    padding: 2.4rem 2.6rem;
    position: relative;
    overflow: hidden;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.tool-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gold);
    transform: scaleX(0);
    transition: transform 0.4s ease;
    transform-origin: left;
}

.tool-card:hover {
    border-color: rgba(184, 146, 46, 0.4);
    box-shadow: 0 6px 28px rgba(14, 32, 68, 0.07);
}

.tool-card:hover::after {
    transform: scaleX(1);
}

.tool-icon {
    width: 42px;
    height: 42px;
    background: var(--gold);
    color: var(--text-dark);
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    margin-bottom: 1.4rem;
}

.tool-name {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.tool-desc {
    font-size: 0.88rem;
    color: var(--navy);
    line-height: 1.7;
    font-weight: 300;
    margin-bottom: 1.4rem;
}

.tool-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--gold);
    padding: 0.3rem 0.75rem;
    border: 1px solid rgba(184, 146, 46, 0.3);
    border-radius: 0;
    background: var(--gold-pale);
}

.methodology {
    background: var(--bg-main);
    padding: 7rem 0;
}

.methodology-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 4rem;
}

.methodology .section-eyebrow {
    color: var(--gold);
}

.methodology .section-eyebrow::before {
    background: var(--gold);
}

.methodology .section-title {
    color: var(--white);
    max-width: 600px;
}

.methodology .section-title em {
    color: var(--gold);
}

.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-top: 4rem;
}

.step {
    text-align: center;
}

.step-number {
    width: 52px;
    height: 52px;
    border-radius: 0;
    border: 1.5px solid rgba(201, 168, 76, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.6rem;
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--gold);
}

.step-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 0.7rem;
}

.step-desc {
    font-size: 0.86rem;
    color: rgba(255, 255, 255, 0.52);
    line-height: 1.75;
    font-weight: 300;
}

.step-desc em {
    color: rgba(224, 184, 74, 0.85);
    font-style: normal;
}

.guarantee-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
    padding: 0 4rem;
}

.guarantee-box {
    background: var(--white);
    border: 1.5px solid var(--border);
    border-radius: 0;
    padding: 3rem;
    position: relative;
}

.guarantee-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--gold);
    border-radius: 0;
}

.guarantee-quote {
    font-family: 'Playfair Display', serif;
    font-size: 1.45rem;
    font-style: italic;
    font-weight: 300;
    color: var(--text-dark);
    line-height: 1.6;
    margin-bottom: 2rem;
}

.guarantee-quote em {
    color: var(--gold);
    font-style: normal;
    font-weight: 600;
}

.guarantee-attribution {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
}

.attribution-avatar {
    width: 42px;
    height: 42px;
    background: var(--gold);
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    flex-shrink: 0;
}

.attribution-name {
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--text-dark);
}

.attribution-role {
    font-size: 0.75rem;
    color: var(--navy);
    margin-top: 0.15rem;
    line-height: 1.4;
}

.guarantee-content .section-title {
    max-width: 100%;
    margin-bottom: 1.8rem;
    color: var(--text-dark);
}

.guarantee-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}

.guarantee-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    font-size: 0.9rem;
    color: var(--navy);
    line-height: 1.65;
}

.guarantee-list li::before {
    content: '—';
    color: var(--gold);
    font-weight: 600;
    flex-shrink: 0;
}

.cta-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.8rem;
    font-weight: 400;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

.cta-title em {
    font-style: italic;
    font-weight: 400;
    color: var(--gold);
}

.cta-desc {
    color: #555;
    max-width: 700px;
    margin: 0 auto 3rem;
    font-size: 1.1rem;
    line-height: 1.7;
}

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

.cta-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 4rem;
}

/* ── PÁGINAS INTERIORES — contenedor estándar ── */
/* Mismo padding lateral que el homepage en todas las páginas públicas */
.page-wrap {
    padding: 100px 0 80px;      /* 100px top compensa el nav fijo */
}

.page-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 4rem;
}

/* Variante estrecha para contenido editorial (legal, privacidad) */
.page-inner--narrow {
    max-width: 860px;
    margin: 0 auto;
    padding: 0 4rem;
}

/* Variante media para el calificador */
.page-inner--mid {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 4rem;
}

@media (max-width: 768px) {
    .page-inner,
    .page-inner--narrow,
    .page-inner--mid {
        padding: 0 1.5rem;
    }
    .page-wrap {
        padding: 90px 0 60px;
    }
}

.footer-note {
    background: var(--bg-main);
    border-top: 1px solid var(--border);
    padding: 2rem 4rem;
    text-align: center;
}

.footer-note p {
    font-size: 0.78rem;
    color: var(--muted);
    line-height: 1.6;
    max-width: 700px;
    margin: 0 auto;
}

.footer-note a {
    color: var(--gold);
    text-decoration: none;
}

/* ── ASISTENTE STYLES ── */
.topbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    background: rgba(47, 47, 47, 0.9);
}

.tb-inner {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0.8rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Right side group of topbar (nav + logout + hamburger) */
.tb-right {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.tb-logo-wrap {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
}

.tb-mark {
    width: 32px;
    height: 32px;

    color: var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0;
    font-size: 1.1rem;
    overflow: hidden;
}

.tb-mark img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 2px;
}

.tb-name {
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: #fff;
    text-transform: uppercase;
}

.tb-name span {
    color: var(--gold);
}

.tb-sub {
    font-size: 0.65rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gold);
    margin-top: 0.1rem;
    opacity: 0.8;
}

.nav-asistente {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.nav-asistente a {
    color: var(--muted);
    text-decoration: none;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transition: all 0.2s;
    cursor: pointer;
    padding: 0.4rem 0.8rem;
    border-radius: 2px;
    border: 1px solid transparent;
}

.nav-asistente a:hover {
    color: var(--gold);
}

.nav-asistente a.btn-primary,
.nav-asistente a.btn-primary:hover {
    color: #000000;
}

.nav-asistente a.active-main {
    color: var(--gold);
    border-color: rgba(204, 169, 83, 0.3);
    background: rgba(204, 169, 83, 0.05);
}

.nav-asistente a.active-b1 {
    color: #4ade80 !important;
    border-color: rgba(74, 222, 128, 0.2) !important;
    background: rgba(74, 222, 128, 0.08) !important;
}

.nav-asistente a.active-e1 {
    color: #60a5fa !important;
    border-color: rgba(96, 165, 250, 0.2) !important;
    background: rgba(96, 165, 250, 0.08) !important;
}

.nav-asistente a.active-e2 {
    color: #f472b6 !important;
    border-color: rgba(244, 114, 182, 0.2) !important;
    background: rgba(244, 114, 182, 0.08) !important;
}

.tb-ia {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gold);
    background: var(--gold-pale);
    border: 1px solid rgba(184, 146, 46, 0.3);
    padding: 0.4rem 1rem;
    border-radius: 2px;
}

.ia-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--green);
    animation: pulse 2s infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: .4;
    }
}

.nav-asistente a.nav-logout {
    color: #f67070;
    border-color: rgba(239, 68, 68, 0.4);
    background: rgba(239, 68, 68, 0.05);
    margin-left: 0.5rem;
}

.nav-asistente a.nav-logout:hover {
    color: #fff !important;
    background: #ef4444;
    border-color: #ef4444;
}

.tb-visa-tag {
    display: none;
    padding: 0.3rem 0.8rem;
    border-radius: 2px;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    align-items: center;
}

.wrap {
    max-width: 1000px;
    margin: 0 auto;
    padding: 7rem 2rem 5rem;
    position: relative;
    z-index: 1;
}

.hero {
    padding: 2rem 0 4rem;
    text-align: center;
}

.hero-badge-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--gold);
}

.hero-badge::before {
    content: '';
    width: 22px;
    height: 1px;
    background: var(--gold);
}

.hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.6rem, 5vw, 4rem);
    font-weight: 400;
    line-height: 1.1;
    color: var(--white);
    margin-bottom: 1.5rem;
}

.hero h1 .dot {
    color: var(--gold);
    font-style: italic;
    font-weight: 400;
}

.hero-sub {
    font-size: 1rem;
    color: var(--muted);
    max-width: 700px;
    margin: 0 auto 1rem;
    font-weight: 300;
}

.hero-note {
    font-size: 0.85rem;
    color: var(--muted);
    max-width: 600px;
    margin: 0 auto 3rem;
    line-height: 1.6;
}

.hero-note b {
    color: var(--white);
    font-weight: 500;
}

.ds-info-wrap {
    background: #1a1a1a;
    border: 1px solid var(--border);
    border-radius: 0;
    margin-bottom: 3.5rem;
    overflow: hidden;
}

.ds-info-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem 2rem;
    cursor: pointer;
    transition: background 0.2s;
}

.ds-info-header:hover {
    background: rgba(255, 255, 255, 0.02);
}

.ds-ico {
    width: 42px;
    height: 42px;
    border-radius: 3px;
    background: var(--gold);
    color: var(--bg-main);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.ds-hd-txt {
    flex: 1;
}

.ds-hd-ttl {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 0.2rem;
}

.ds-hd-sub {
    font-size: 0.8rem;
    color: var(--muted);
    font-weight: 300;
}

.ds-info-btn {
    background: transparent;
    border: 1.5px solid var(--border);
    color: var(--muted);
    padding: 0.5rem 1rem;
    border-radius: 2px;
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: all 0.2s;
}

.ds-info-body {
    border-top: 1px solid var(--border);
    padding: 2rem;
}

.ds-intro {
    font-size: 0.9rem;
    color: var(--muted);
    margin-bottom: 2rem;
    font-weight: 300;
}

.ds-intro strong {
    color: var(--white);
    font-weight: 500;
}

.ds-steps {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.ds-step {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border);
    border-radius: 4px;
    padding: 1.5rem;
    display: flex;
    gap: 1.2rem;
}

.ds-num {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: var(--gold);
    font-weight: 600;
    line-height: 1;
}

.ds-step-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 0.5rem;
}

.ds-step-desc {
    font-size: 0.85rem;
    color: #999;
    line-height: 1.65;
    font-weight: 300;
}

.ds-step-link {
    display: inline-block;
    margin-top: 0.8rem;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--gold);
    text-decoration: none;
    border-bottom: 1px solid rgba(184, 146, 46, 0.3);
    padding-bottom: 2px;
    transition: border-color 0.2s;
}

.ds-step-link:hover {
    border-color: var(--gold);
}

.ds-warn {
    background: var(--gold-pale);
    border: 1px solid rgba(184, 146, 46, 0.2);
    border-radius: 4px;
    padding: 1.2rem 1.5rem;
    display: flex;
    gap: 1rem;
    font-size: 0.85rem;
    color: var(--muted);
    line-height: 1.6;
}

.ds-warn strong {
    color: var(--white);
    font-weight: 500;
}

.sec-lbl {
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.sec-lbl::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border);
}

.visa-sel {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 4rem;
}

.vc {
    background: #1a1a1a;
    border: 1px solid var(--border);
    border-radius: 0;
    padding: 3rem 2rem;
    cursor: pointer;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all 0.3s;
}

.vc:hover {
    border-color: var(--gold);
    transform: translateY(-3px);
}

.vc-code {
    font-family: 'Playfair Display', serif;
    font-size: 2.4rem;
    font-weight: 400;
    margin-bottom: 0.5rem;
    color: var(--white);
}

.vc-name {
    font-family: 'Playfair Display', serif;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 0.8rem;
    text-transform: uppercase;
}

.vc-desc {
    font-size: 0.85rem;
    color: var(--muted);
    line-height: 1.6;
    font-weight: 300;
}

.vc-action {
    margin-top: 1.5rem;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--gold);
}

.ft {
    border-top: 1px solid var(--border);
    margin-top: 4rem;
    padding-top: 4rem;
}

.ft-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.ft-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.ft-lmark {
    width: 32px;
    height: 32px;
    background: var(--bg-main);
    color: var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0;
    border: 1px solid var(--border);
    overflow: hidden;
}

.ft-lmark img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 2px;
}

.ft-lname {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--white);
}

.ft-lname span {
    color: var(--gold);
}

.ft-lsub {
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--muted);
}

.ft-desc {
    font-size: 0.85rem;
    color: var(--muted);
    line-height: 1.7;
    font-weight: 300;
    max-width: 400px;
}

.ft-web {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--gold);
    text-decoration: none;
    border-bottom: 1px solid rgba(184, 146, 46, 0.3);
    padding-bottom: 2px;
    margin-top: 1rem;
}

.ft-luis {
    background: var(--navy-card);
    border: 1.5px solid var(--border);
    border-left: 4px solid var(--gold);
    border-radius: 4px;
    padding: 2rem;
}

.fl-name {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 0.3rem;
}

.fl-role {
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gold);
    font-weight: 600;
    margin-bottom: 1rem;
}

.fl-bio {
    font-size: 0.85rem;
    color: var(--muted);
    line-height: 1.7;
    font-weight: 300;
    margin-bottom: 1.2rem;
}

.fl-lnk {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--gold);
    text-decoration: none;
    border-bottom: 1px solid rgba(184, 146, 46, 0.3);
    padding-bottom: 2px;
}

.ft-btm {
    border-top: 1px solid var(--border);
    padding: 2rem 0;
    text-align: center;
    font-size: 0.75rem;
    color: var(--muted);
    line-height: 1.8;
}

.ft-btm a {
    color: var(--gold);
    text-decoration: none;
}

.view-visa {
    padding: 4rem 0 5rem;
}

.visa-hero {
    padding-bottom: 5rem;
    text-align: left;
}

.visa-hero-top {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.btn-back-visa {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.05);
    color: var(--muted);
    border: 1px solid var(--border);
    padding: 0.4rem 1rem;
    border-radius: 2px;
    font-size: 0.7rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.btn-back-visa:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border-color: var(--gold);
}

.visa-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 1rem;
    border-radius: 2px;
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-weight: 600;
}

.vhb-b1 {
    background: rgba(34, 197, 94, 0.08);
    border: 1px solid rgba(34, 197, 94, 0.2);
    color: #22c55e;
}

.vhb-e1 {
    background: rgba(59, 130, 246, 0.08);
    border: 1px solid rgba(59, 130, 246, 0.2);
    color: #3b82f6;
}

.vhb-e2 {
    background: rgba(236, 72, 153, 0.08);
    border: 1px solid rgba(236, 72, 153, 0.2);
    color: #ec4899;
}

.visa-hero h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 300;
    line-height: 1.2;
    color: var(--white);
    margin-bottom: 1rem;
}

.visa-hero-sub {
    font-size: 1rem;
    color: var(--muted);
    max-width: 600px;
    font-weight: 300;
}

.aviso {
    background: var(--navy-card);
    border: 1.5px solid var(--border);
    border-left: 4px solid var(--gold);
    border-radius: 4px;
    padding: 2rem;
    margin-bottom: 3rem;
}

.aviso-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.aviso-body {
    font-size: 0.9rem;
    color: var(--muted);
    line-height: 1.75;
    font-weight: 300;
    margin-bottom: 1.5rem;
}

.aviso-body strong {
    color: var(--white);
    font-weight: 500;
}

.aviso-btns {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-gold {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: var(--gold);
    color: #000;
    font-size: 0.8rem;
    font-weight: 500;
    padding: 0.8rem 1.6rem;
    border-radius: 2px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.btn-gold:hover {
    background: var(--gold-mid);
    transform: translateY(-1px);
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: transparent;
    color: var(--gold);
    font-size: 0.8rem;
    font-weight: 500;
    padding: 0.8rem 1.6rem;
    border-radius: 2px;
    text-decoration: none;
    border: 1.5px solid var(--border);
    cursor: pointer;
    transition: all 0.2s;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.btn-outline:hover {
    border-color: var(--gold);
    background: rgba(255, 255, 255, 0.02);
}

.section-block {
    background: #1a1a1a;
    border: 1px solid var(--border);
    border-radius: 0;
    margin-bottom: 1.2rem;
    overflow: hidden;
    transition: border-color 0.3s;
}

.section-block:hover {
    border-color: var(--gold);
}

.section-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.4rem 2rem;
    cursor: pointer;
    transition: background 0.2s;
}

.section-header:hover {
    background: rgba(255, 255, 255, 0.02);
}

.sec-num {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    color: var(--gold);
    opacity: 0.8;
    font-weight: 400;
    min-width: 45px;
}

.sec-hd-txt {
    flex: 1;
}

.sec-hd-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 0.3rem;
}

.sec-hd-sub {
    font-size: 0.72rem;
    color: var(--muted);
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.sec-toggle {
    background: transparent;
    border: 1.5px solid var(--border);
    color: var(--muted);
    padding: 0.4rem 0.8rem;
    border-radius: 2px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: all 0.2s;
}

.section-header:hover .sec-toggle {
    border-color: var(--white);
    color: var(--white);
}

.section-body {
    border-top: 1px solid var(--border);
    padding: 2rem;
    background: var(--bg-main);
}

.field-list {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.field-item {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 2rem;
    padding: 1.2rem 1.5rem;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 4px;
    border: 1px solid var(--border);
}

.field-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--white);
    line-height: 1.4;
}

.field-label .req {
    color: var(--gold);
    font-size: 0.8rem;
    margin-left: 0.3rem;
}

.field-tip {
    font-size: 0.85rem;
    color: var(--muted);
    line-height: 1.7;
    font-weight: 300;
}

.field-tip strong {
    color: var(--white);
    font-weight: 500;
}

.tip-tag {
    display: inline-block;
    font-size: 0.65rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-weight: 700;
    padding: 0.1rem 0.6rem;
    border-radius: 2px;
    margin-right: 0.5rem;
}

.tip-ojo {
    background: var(--gold-pale);
    color: var(--gold);
    border: 1px solid rgba(184, 146, 46, 0.2);
}

.tip-ok {
    background: rgba(34, 197, 94, 0.08);
    color: #22c55e;
    border: 1px solid rgba(34, 197, 94, 0.2);
}

.alert-field {
    background: var(--gold-pale);
    border: 1px solid rgba(184, 146, 46, 0.2);
    border-radius: 4px;
    padding: 1.2rem 1.5rem;
    display: flex;
    gap: 1rem;
    font-size: 0.85rem;
    color: var(--muted);
    line-height: 1.6;
}

.alert-field strong {
    color: var(--white);
    font-weight: 500;
}

.cta-revision {
    background: #1a1a1a;
    border: 1px solid var(--border);
    border-radius: 0;
    padding: 4rem 2rem;
    margin-top: 2rem;
    text-align: center;
}

.cta-revision h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 500;
    color: var(--white);
    margin-bottom: 1rem;
}

.cta-revision p {
    font-size: 0.95rem;
    color: #999;
    line-height: 1.8;
    max-width: 600px;
    margin: 0 auto 2.5rem;
    font-weight: 300;
}

.overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    z-index: 500;
    backdrop-filter: blur(8px);
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.overlay.open {
    display: flex;
}

.modal {
    background: #222222;
    border: 1px solid var(--border);
    border-radius: 0;
    width: 100%;
    max-width: 825px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.8);
}

.modal-hd {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem 2rem;
    border-bottom: 1px solid var(--border);
}

.modal-hd h3 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: var(--white);
    font-weight: 500;
}

.modal-x {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--muted);
    width: 32px;
    height: 32px;
    border-radius: 0;
    cursor: pointer;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.modal-x:hover {
    border-color: var(--white);
    color: var(--white);
}

.modal-bd {
    padding: 2rem;
}

.modal-intro {
    font-size: 0.99rem;
    color: var(--muted);
    line-height: 1.7;
    margin-bottom: 1.2rem;
    font-weight: 300;
}

.mf {
    margin-bottom: 1rem;
}

.mf label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--white);
    margin-bottom: 0.3rem;
}

.mf .msub {
    font-size: 0.80rem;
    color: var(--muted);
    margin-bottom: 0.2rem;
    font-weight: 300;
}

.mf input,
.mf textarea {
    width: 100%;
    background: rgba(255, 255, 255, 0.03);
    border: 1.5px solid var(--border);
    border-radius: 2px;
    padding: 0.6rem 0.8rem;
    color: var(--white);
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    outline: none;
    transition: all 0.2s;
}

.mf input:focus,
.mf textarea:focus {
    border-color: var(--gold);
    background: rgba(255, 255, 255, 0.05);
}

.mbtn {
    width: 100%;
    background: var(--gold);
    border: none;
    color: #000;
    padding: 1.2rem;
    border-radius: 0;
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12rem;
    cursor: pointer;
    transition: all 0.3s;
}

.mbtn:hover {
    background: var(--gold-mid);
    transform: translateY(-2px);
}

.m-ok {
    display: none;
    background: rgba(34, 197, 94, 0.05);
    border: 1.5px solid rgba(34, 197, 94, 0.2);
    border-radius: 4px;
    padding: 2rem;
    text-align: center;
    margin-top: 1.5rem;
}

.m-ok-ico {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.m-ok h4 {
    color: #22c55e;
    margin-bottom: 0.5rem;
}

@keyframes fadeup {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fadeup {
    animation: fadeup .3s ease;
}

.modal-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1rem 1.5rem;
    margin-bottom: 1.5rem;
}

.span-2 {
    grid-column: span 2;
}

.span-3 {
    grid-column: span 3;
}

.span-6 {
    grid-column: span 6;
}

.compact-textarea {
    height: 120px !important;
    min-height: 120px;
}

/* ── RESPONSIVE ASISTENTE ── */
@media(max-width:800px) {
    .topbar {
        padding: 1rem 1.5rem;
        flex-wrap: wrap;
        gap: 1rem;
    }

    .ft-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .ds-steps {
        grid-template-columns: 1fr;
    }

    .visa-sel {
        grid-template-columns: 1fr;
    }

    .field-item {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }

    .nav-asistente {
        display: none;
    }
}

@media(max-width:550px) {
    .modal-grid {
        grid-template-columns: 1fr;
    }
}

/* ── LOGIN STYLES ── */
.login-body {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
}

.grid-bg {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: -1;
    background-image:
        radial-gradient(circle at 50% 50%, #151515 0%, #111111 100%),
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 100% 100%, 60px 60px, 60px 60px;
}

.login-box {
    background: var(--navy-card);
    border: 1px solid var(--border);
    padding: 4rem 3rem;
    border-radius: 0;
    width: 100%;
    max-width: 440px;
    text-align: center;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.6);
    animation: fadeIn 0.8s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.login-logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 2rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.login-logo span {
    color: var(--gold);
}

.login-box h1 {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    font-weight: 500;
    margin-bottom: 1.2rem;
}

.login-box p {
    color: var(--muted);
    font-size: 0.9rem;
    margin-bottom: 2rem;
    line-height: 1.5;
}

.form-group {
    margin-bottom: 1.5rem;
    text-align: left;
}

.login-box label {
    display: block;
    font-size: 0.75rem;
    color: var(--muted);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.login-box input {
    width: 100%;
    background: var(--bg-main);
    border: 1px solid var(--border);
    color: var(--white);
    padding: 1.1rem;
    border-radius: 0;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s;
}

.login-box input:focus {
    outline: none;
    border-color: var(--gold);
    background: rgba(184, 146, 46, 0.05);
}

.btn-login {
    width: 100%;
    background: var(--gold);
    color: #000;
    border: none;
    padding: 1.1rem;
    border-radius: 0;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    transition: all 0.3s;
}

.btn-login:hover {
    background: var(--gold-mid);
    transform: translateY(-2px);
}

.login-error {
    color: #f87171;
    font-size: 0.85rem;
    margin-bottom: 1.5rem;
    padding: 0.8rem;
    background: rgba(248, 113, 113, 0.1);
    border-radius: 0;
    border: 1px solid rgba(248, 113, 113, 0.2);
}

.login-ft {
    margin-top: 2rem;
    font-size: 0.75rem;
    color: var(--muted);
}

/* ── HAMBURGER BUTTON ── */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    background: transparent;
    border: 1px solid var(--border);
    border-radius: 2px;
    cursor: pointer;
    padding: 0;
    transition: border-color 0.2s;
    flex-shrink: 0;
}

.hamburger:hover {
    border-color: var(--gold);
}

.hamburger span {
    display: block;
    width: 18px;
    height: 1.5px;
    background: var(--muted);
    border-radius: 0;
    transition: transform 0.3s ease, opacity 0.3s ease, background 0.2s;
}

.hamburger:hover span {
    background: var(--gold);
}

.hamburger.active span:nth-child(1) {
    transform: translateY(6.5px) rotate(45deg);
    background: var(--gold);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-6.5px) rotate(-45deg);
    background: var(--gold);
}

/* ── MOBILE MENU OVERLAY ── */
.mobile-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #0f0f0f;
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    gap: 0;
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.35s ease;
    z-index: 190;
}

.mobile-menu.open {
    max-height: 400px;
}

.mobile-menu a {
    display: block;
    padding: 1rem 1.5rem;
    color: var(--muted);
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border-bottom: 1px solid var(--border);
    transition: color 0.2s, background 0.2s;
}

.mobile-menu a:hover {
    color: var(--gold);
    background: rgba(204, 169, 83, 0.04);
}

.mobile-menu .mobile-cta {
    margin: 1rem 1.5rem 1.25rem;
    display: block;
    text-align: center;
    padding: 0.9rem 1.5rem;
    border: none;
    background: var(--gold);
    color: #000;
    font-weight: 700;
}

.mobile-menu .mobile-cta:hover {
    background: var(--gold-mid);
    color: #000;
}

/* Prevent body scroll when mobile menu is open */
body.menu-open {
    overflow: hidden;
}

/* ── RESPONSIVE LANDING PAGE ── */
@media (max-width: 992px) {
    .nav-inner {
        padding: 0.9rem 2rem;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 4rem;
        padding: 8rem 2rem 5rem;
        text-align: center;
    }

    .hero-eyebrow {
        justify-content: center;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-stats {
        max-width: 560px;
        margin: 0 auto;
    }

    .guarantee-inner {
        grid-template-columns: 1fr;
        gap: 3rem;
        padding: 0 2rem;
    }

    .guarantee-box {
        order: 2;
    }

    .guarantee-content {
        order: 1;
    }

    .tools-inner,
    .methodology-inner,
    .cta-inner {
        padding: 0 2rem;
    }
}

@media (max-width: 768px) {

    /* Show hamburger, hide desktop nav */
    .hamburger {
        display: flex;
    }

    .nav-asistente {
        display: none !important;
    }

    .mobile-menu {
        display: flex;
    }

    .nav-inner {
        padding: 0.75rem 1.25rem;
    }

    /* Hero */
    .hero-content {
        grid-template-columns: 1fr;
        gap: 3rem;
        padding: 7rem 1.25rem 4rem;
        text-align: center;
    }

    .hero-title {
        font-size: clamp(1.9rem, 8vw, 2.6rem);
    }

    .hero-eyebrow {
        justify-content: center;
    }

    .hero-actions {
        justify-content: center;
        flex-direction: column;
        align-items: center;
    }

    .hero-stats {
        max-width: 100%;
    }

    .stat-card {
        padding: 1.4rem;
        gap: 1.2rem;
    }

    .hero-accent {
        display: none;
    }

    .hero-index {
        min-height: auto;
        padding-bottom: 3rem;
    }

    /* Sections */
    .tools,
    .guarantee,
    .methodology,
    .cta-section {
        padding: 4rem 0;
    }

    .tools-inner,
    .methodology-inner,
    .cta-inner {
        padding: 0 1.25rem;
    }

    .guarantee-inner {
        padding: 0 1.25rem;
        gap: 2.5rem;
    }

    .tools-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .tool-card {
        padding: 1.8rem;
    }

    .steps {
        grid-template-columns: 1fr;
        gap: 2rem;
        margin-top: 2.5rem;
    }

    .section-title {
        max-width: 100%;
        font-size: clamp(1.6rem, 6vw, 2.2rem);
    }

    .cta-title {
        font-size: clamp(1.6rem, 6vw, 2.2rem);
    }

    .cta-desc {
        font-size: 0.95rem;
        padding: 0 0.5rem;
    }

    .divider-quote {
        padding: 2.5rem 1.25rem;
    }

    .divider-quote p {
        font-size: 1.1rem;
    }

    .footer-note {
        padding: 1.5rem 1.25rem;
    }

    /* Guarantee section */
    .guarantee-box {
        padding: 2rem;
    }

    .guarantee-quote {
        font-size: 1.2rem;
    }

    /* CTA buttons */
    .cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
    }
}

@media (max-width: 480px) {
    .nav-inner {
        padding: 0.7rem 1rem;
    }

    .hero-content {
        padding: 6.5rem 1rem 3rem;
    }

    .hero-title {
        font-size: clamp(1.7rem, 9vw, 2.2rem);
        line-height: 1.2;
    }

    .hero-subtitle {
        font-size: 0.9rem;
    }

    .stat-card {
        flex-direction: column;
        text-align: center;
        padding: 1.2rem;
        gap: 0.8rem;
    }

    .stat-divider {
        width: 40px;
        height: 1px;
    }

    .stat-number {
        font-size: 2.2rem;
        min-width: auto;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        justify-content: center;
        padding: 0.9rem 1.2rem;
        font-size: 0.78rem !important;
        letter-spacing: 0.08em;
    }

    .tools-inner,
    .methodology-inner,
    .cta-inner,
    .guarantee-inner {
        padding: 0 1rem;
    }

    .tool-card {
        padding: 1.5rem;
    }

    .tool-name {
        font-size: 1.2rem;
    }

    .guarantee-box {
        padding: 1.5rem;
    }

    .section-title {
        font-size: clamp(1.5rem, 7vw, 1.9rem);
        margin-bottom: 2rem;
    }

    .cta-title {
        font-size: clamp(1.5rem, 7vw, 1.9rem);
    }

    .divider-quote p {
        font-size: 1rem;
    }

    .step-number {
        width: 44px;
        height: 44px;
    }
}

/* ── MOBILE MENU TOPBAR (asistente) ── */
.mobile-menu-tb {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #0d0d0d;
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.35s ease;
    z-index: 199;
}

.mobile-menu-tb.open {
    max-height: 300px;
}

.mobile-menu-tb a {
    display: block;
    padding: 0.9rem 1.5rem;
    color: var(--muted);
    text-decoration: none;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border-bottom: 1px solid var(--border);
    transition: color 0.2s, background 0.2s;
    cursor: pointer;
}

.mobile-menu-tb a:hover {
    color: var(--gold);
    background: rgba(204, 169, 83, 0.04);
}

.mobile-menu-tb a.active-main {
    color: var(--gold);
}

.mobile-menu-tb a.active-b1 {
    color: #4ade80;
}

.mobile-menu-tb a.active-e1 {
    color: #60a5fa;
}

.mobile-menu-tb a.active-e2 {
    color: #f472b6;
}

.mobile-menu-tb a.mnav-logout {
    color: #ef4444;
}

.mobile-menu-tb a.mnav-logout:hover {
    background: rgba(239, 68, 68, 0.1);
}

/* ── RESPONSIVE ASISTENTE ── */
@media (max-width: 800px) {
    .tb-inner {
        padding: 0.7rem 1rem;
    }

    /* Show hamburger, hide desktop nav links */
    .hamburger-tb {
        display: flex;
    }

    .mobile-menu-tb {
        display: flex;
    }

    .nav-asistente {
        display: none !important;
    }

    /* Keep logout button but hide text label on very small screens */
    .logout-text {
        display: none;
    }

    .btn-logout {
        padding: 0.5rem 0.75rem;
    }

    .ft-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .ds-steps {
        grid-template-columns: 1fr;
    }

    .visa-sel {
        grid-template-columns: 1fr;
    }

    .field-item {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }

    /* visa selector cards */
    .vc {
        padding: 2rem 1.5rem;
    }

    /* section headers on mobile */
    .section-header {
        padding: 1rem 1.25rem;
        gap: 0.8rem;
        flex-wrap: wrap;
    }

    .sec-num {
        font-size: 1.4rem;
        min-width: 36px;
    }

    .sec-toggle {
        font-size: 0.7rem;
        padding: 0.5rem 0.6rem;
        width: 100%;
        margin-top: 0.5rem;
        text-align: center;
    }

    .section-body {
        padding: 1.25rem;
    }

    .aviso {
        padding: 1.5rem;
    }

    .cta-revision {
        padding: 2.5rem 1.25rem;
    }

    .cta-revision h3 {
        font-size: 1.4rem;
    }

    /* ── ds-info-wrap mobile fix ── */
    .ds-info-wrap {
        margin-bottom: 2rem;
    }

    .ds-info-header {
        /* Stack: top row = icon + title, bottom row = button */
        flex-wrap: wrap;
        gap: 0.75rem;
        padding: 1rem 1.25rem;
        align-items: flex-start;
    }

    .ds-ico {
        width: 36px;
        height: 36px;
        font-size: 1rem;
        flex-shrink: 0;
        margin-top: 2px;
    }

    .ds-hd-txt {
        /* Takes remaining space next to icon on first row */
        flex: 1;
        min-width: 0;
    }

    .ds-hd-ttl {
        font-size: 1.05rem;
        line-height: 1.3;
    }

    .ds-hd-sub {
        font-size: 0.75rem;
        margin-top: 0.2rem;
    }

    .ds-info-btn {
        /* Full width button on its own row below icon+title */
        width: 100%;
        order: 3;
        flex-basis: 100%;
        padding: 0.65rem 1rem;
        font-size: 0.72rem;
        text-align: center;
        cursor: pointer;
    }

    .ds-info-body {
        padding: 1.25rem;
    }

    .ds-intro {
        font-size: 0.85rem;
        margin-bottom: 1.25rem;
    }

    .ds-step {
        padding: 1rem;
        gap: 0.8rem;
    }

    .ds-num {
        font-size: 1.5rem;
    }

    .ds-step-title {
        font-size: 1rem;
    }

    .ds-step-desc {
        font-size: 0.82rem;
    }

    .ds-warn {
        flex-direction: row;
        align-items: flex-start;
        padding: 1rem;
        font-size: 0.82rem;
        gap: 0.75rem;
    }
}

@media (max-width: 550px) {
    .modal-grid {
        grid-template-columns: 1fr;
    }

    /* Extra compact ds-info-wrap on very small screens */
    .ds-hd-ttl {
        font-size: 0.95rem;
    }

    .ds-info-btn {
        font-size: 0.7rem;
        padding: 0.6rem;
    }

    .wrap {
        padding: 5.5rem 1rem 3rem;
    }

    .tb-inner {
        padding: 0.6rem 0.75rem;
    }

    .tb-name {
        font-size: 0.9rem;
    }

    .tb-sub {
        display: none;
    }

    .modal {
        max-height: 95vh;
    }

    .modal-hd {
        padding: 1rem 1.25rem;
    }

    .modal-bd {
        padding: 1.25rem;
    }
}