/* ═══════════════════════════════════════════
   MAAT JURÍDICA — Landing Premium
   Negro profundo + Dorado vibrante
   ═══════════════════════════════════════════ */

:root {
    --black: #030305;
    --dark: #0a0a10;
    --card: #12121a;
    --card-hover: #1a1a26;
    --border: rgba(255, 193, 7, 0.15);
    --gold: #FFC107;
    --gold-bright: #FFE566;
    --gold-deep: #FF9800;
    --gold-glow: rgba(255, 193, 7, 0.45);
    --white: #ffffff;
    --text: #f0f0f5;
    --muted: #9a9ab0;
    --green: #25d366;
    --font-display: 'Poppins', system-ui, sans-serif;
    --font-body: 'Inter', system-ui, sans-serif;
    --radius: 16px;
    --radius-lg: 24px;
    --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
    font-family: var(--font-body);
    background: var(--black);
    color: var(--text);
    font-size: 1.02rem;
    font-weight: 400;
    line-height: 1.75;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; height: auto; display: block; object-fit: cover; }

a { color: var(--gold-bright); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--gold); }

.container { width: min(1200px, 92%); margin-inline: auto; }

.text-center { text-align: center; }

/* ── Typography ── */
.gradient-text {
    background: linear-gradient(135deg, var(--gold-bright) 0%, var(--gold) 50%, var(--gold-deep) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.gradient-text-dark {
    background: linear-gradient(135deg, #1a1200, #5c4000);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

h1, h2, h3 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

h1 { font-weight: 800; }

/* ── Buttons ── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 0.9rem 1.8rem;
    border-radius: 50px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.95rem;
    text-transform: none;
    letter-spacing: 0.03em;
    border: none;
    cursor: pointer;
    transition: transform 0.25s, box-shadow 0.25s;
    position: relative;
    overflow: hidden;
    white-space: nowrap;
}

.btn:hover { transform: translateY(-3px) scale(1.02); }

.btn-gold {
    background: linear-gradient(135deg, var(--gold-bright), var(--gold), var(--gold-deep));
    color: #1a1000;
    box-shadow: 0 4px 24px var(--gold-glow), 0 0 0 1px rgba(255,193,7,0.3);
}

.btn-gold:hover { color: #1a1000; box-shadow: 0 8px 40px var(--gold-glow), 0 0 60px rgba(255,193,7,0.2); }

.btn-dark-gold {
    background: var(--black);
    color: var(--gold-bright);
    border: 2px solid var(--gold);
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.btn-dark-gold:hover { background: var(--gold); color: var(--black); }

.btn-lg { padding: 1rem 2.2rem; font-size: 1rem; }
.btn-xl { padding: 1.15rem 2.5rem; font-size: 1.05rem; }
.btn-block { width: 100%; }
.btn-header { font-size: 0.88rem; padding: 0.7rem 1.4rem; }

.shine::after {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 60%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.35), transparent);
    animation: shine 3s infinite;
}

@keyframes shine {
    0%, 100% { left: -100%; }
    50% { left: 150%; }
}

/* ── Reveal animations ── */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s ease, transform 0.7s ease;
    transition-delay: var(--delay, 0s);
}

.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* ── Header ── */
.site-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    padding: 0.85rem 0;
    background: var(--black);
    border-bottom: 1px solid rgba(255, 193, 7, 0.08);
    transition: background 0.4s, padding 0.4s, box-shadow 0.4s;
}

.site-header.scrolled {
    background: var(--black);
    padding: 0.5rem 0;
    box-shadow: 0 4px 30px rgba(0,0,0,0.6);
    border-bottom-color: var(--border);
}

.header-inner {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 2.5rem;
}

.nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(1.5rem, 2.8vw, 2.75rem);
    flex-wrap: wrap;
}

.nav a {
    color: var(--muted);
    font-size: 0.92rem;
    font-weight: 500;
    letter-spacing: 0.03em;
    position: relative;
    padding: 0.5rem 0.15rem;
    white-space: nowrap;
    transition: color 0.25s;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    flex-shrink: 0;
}

.logo-img {
    display: block;
    height: auto;
    object-fit: contain;
}

.logo-img--header {
    height: 52px;
    width: auto;
    max-width: 220px;
    transition: transform 0.3s, opacity 0.3s;
}

.logo:hover .logo-img--header {
    transform: scale(1.02);
    opacity: 0.92;
}

.logo-img--footer {
    height: 110px;
    width: auto;
    margin-bottom: 1rem;
}

.logo-img--light {
    height: 80px;
    width: auto;
    margin-bottom: 0.75rem;
}

.footer-logo-link {
    display: inline-block;
    transition: transform 0.3s;
}

.footer-logo-link:hover { transform: scale(1.03); }

.header-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 1rem;
    flex-shrink: 0;
}

/* ── Social links (global) ── */
.social-links {
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid var(--border);
    color: var(--gold-bright);
    background: rgba(255, 193, 7, 0.06);
    font-size: 0.95rem;
    transition: background 0.3s, color 0.3s, border-color 0.3s, transform 0.3s;
}

.social-links a:hover {
    color: var(--black);
    background: linear-gradient(135deg, var(--gold-bright), var(--gold));
    border-color: var(--gold);
    transform: translateY(-2px);
}

.social-label,
.hero-social-label {
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.14em;
}

/* Mobile nav */
.social-links--nav {
    display: none;
    padding: 1rem 0 0.5rem;
    margin-top: 0.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    gap: 1rem;
}

.social-links--nav::before {
    content: 'Síguenos';
    width: 100%;
    color: var(--gold);
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    margin-bottom: 0.25rem;
}

/* Hero */
.hero-social {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 193, 7, 0.12);
}

.social-links--hero a {
    width: 44px;
    height: 44px;
    font-size: 1.05rem;
}

/* Footer inline */
.footer-social-wrap {
    margin-top: 1.25rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-social-wrap .social-label {
    display: block;
    margin-bottom: 0.75rem;
}

/* Floating sidebar (left) */
.social-float {
    position: fixed;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1990;
    padding-left: 0;
}

.social-links--float {
    flex-direction: column;
    gap: 0;
    background: rgba(10, 10, 16, 0.95);
    border: 1px solid var(--border);
    border-left: none;
    border-radius: 0 16px 16px 0;
    padding: 0.5rem 0.35rem 0.5rem 0;
    box-shadow: 4px 0 24px rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(12px);
}

.social-links--float a {
    width: auto;
    min-width: 48px;
    height: auto;
    padding: 0.65rem 0.85rem 0.65rem 0.7rem;
    border-radius: 0 12px 12px 0;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    background: transparent;
    gap: 0.6rem;
    font-size: 1rem;
    justify-content: flex-start;
}

.social-links--float a:last-child { border-bottom: none; }

.social-links--float a span {
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--muted);
    max-width: 0;
    overflow: hidden;
    opacity: 0;
    white-space: nowrap;
    transition: max-width 0.35s, opacity 0.3s, margin 0.3s;
}

.social-links--float:hover a span,
.social-links--float a:focus span {
    max-width: 80px;
    opacity: 1;
    margin-left: 0.15rem;
}

.social-links--float a:hover {
    background: rgba(255, 193, 7, 0.1);
    color: var(--gold-bright);
    transform: translateX(4px);
}

.nav a::after {
    content: '';
    position: absolute;
    bottom: -4px; left: 0;
    width: 0; height: 2px;
    background: var(--gold);
    transition: width 0.3s;
}

.nav a:hover { color: var(--gold-bright); }
.nav a:hover::after { width: 100%; }

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
}

.nav-toggle span {
    display: block;
    width: 26px; height: 2px;
    background: var(--gold);
    transition: 0.3s;
    border-radius: 2px;
}

/* ── Hero ── */
.hero {
    min-height: 88vh;
    display: flex;
    align-items: center;
    padding: 7.5rem 0 5rem;
    position: relative;
    overflow: hidden;
}

.hero-bg { position: absolute; inset: 0; pointer-events: none; }

.hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    animation: float 8s ease-in-out infinite;
}

.hero-orb--1 {
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(255,193,7,0.25) 0%, transparent 70%);
    top: -20%; right: -10%;
}

.hero-orb--2 {
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(255,152,0,0.15) 0%, transparent 70%);
    bottom: -10%; left: -5%;
    animation-delay: -4s;
}

.hero-grid-pattern {
    position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(255,193,7,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,193,7,0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse at center, black 20%, transparent 80%);
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(20px, -20px) scale(1.05); }
}

.hero-layout {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 4.5rem;
    align-items: start;
    position: relative;
    z-index: 1;
}

.hero-content {
    padding-top: 0.75rem;
    max-width: 580px;
}

.hero-visual {
    position: relative;
    margin-top: -1.75rem;
    align-self: start;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255,193,7,0.12);
    color: var(--gold-bright);
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    padding: 0.45rem 1rem;
    border-radius: 50px;
    border: 1px solid rgba(255,193,7,0.35);
    margin-bottom: 1.25rem;
}

.pulse-badge { animation: pulse-glow 2.5s ease-in-out infinite; }

@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 0 0 0 rgba(255,193,7,0.3); }
    50% { box-shadow: 0 0 20px 4px rgba(255,193,7,0.15); }
}

.hero h1 {
    font-size: clamp(2.4rem, 5.5vw, 3.85rem);
    font-weight: 800;
    color: var(--white);
    margin-bottom: 1.25rem;
    line-height: 1.1;
    letter-spacing: -0.03em;
}

.hero-lead {
    font-size: 1.12rem;
    color: var(--muted);
    margin-bottom: 1.5rem;
    max-width: 560px;
    font-weight: 400;
    line-height: 1.75;
}

.hero-highlight-box {
    max-width: 560px;
    margin-bottom: 1.75rem;
    padding: 0.85rem 1.1rem;
    background: rgba(255, 193, 7, 0.06);
    border: 1px solid rgba(255, 193, 7, 0.22);
    border-left: 3px solid var(--gold);
    border-radius: 10px;
}

.hero-highlight-box p {
    margin: 0;
    font-size: 0.92rem;
    line-height: 1.55;
    color: var(--muted);
}

.hero-highlight-box strong {
    color: var(--gold-bright);
    font-weight: 600;
}

.hero-lead strong { color: var(--white); }

.hero-cta-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1.5rem 2rem;
}

.hero-trust { display: flex; align-items: center; gap: 0.75rem; }

.hero-avatars { display: flex; }

.hero-avatars span {
    width: 36px; height: 36px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 0.75rem; font-weight: 700;
    color: var(--white);
    border: 2px solid var(--black);
    margin-left: -10px;
}

.hero-avatars span:first-child { margin-left: 0; }

.hero-trust p { font-size: 0.82rem; color: var(--muted); }

/* Hero image */
.hero-image-wrap {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 2px solid rgba(255,193,7,0.25);
    box-shadow: 0 16px 48px rgba(0,0,0,0.45);
}

.hero-image-wrap img {
    width: 100%;
    height: 520px;
    object-fit: cover;
    object-position: center 18%;
}

.hero-image-glow {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(3,3,5,0.6) 100%);
    pointer-events: none;
}

.float-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(18,18,26,0.95);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 0.85rem 1.2rem;
    box-shadow: 0 8px 32px rgba(0,0,0,0.4);
    animation: float-card 4s ease-in-out infinite;
}

.float-card--bottom { bottom: 10%; right: -4%; animation-delay: -2s; }

@keyframes float-card {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.float-card__icon {
    width: 44px; height: 44px;
    background: linear-gradient(135deg, var(--gold-bright), var(--gold-deep));
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    color: #1a1000; font-size: 1.1rem;
}

.float-card__icon.green {
    background: linear-gradient(135deg, #4ade80, #16a34a);
    color: white;
}

.float-card strong { display: block; color: var(--white); font-size: 1rem; }
.float-card small { color: var(--muted); font-size: 0.75rem; }

/* ── Stats bar ── */
.stats-bar {
    background: linear-gradient(135deg, var(--gold-bright), var(--gold), var(--gold-deep));
    padding: 2.5rem 0;
    position: relative;
    z-index: 2;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    text-align: center;
}

.stat-item { color: #1a1000; }

.stat-number, .stat-prefix, .stat-suffix {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.03em;
}

.stat-prefix { font-size: 2rem; vertical-align: top; }

.stat-item p {
    margin-top: 0.5rem;
    font-size: 0.85rem;
    font-weight: 600;
    opacity: 0.85;
}

/* ── Marquee ── */
.marquee {
    background: var(--dark);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 0.9rem 0;
    overflow: hidden;
}

.marquee-track {
    display: flex;
    gap: 3rem;
    animation: marquee 25s linear infinite;
    white-space: nowrap;
}

.marquee-track span {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--muted);
    font-size: 0.82rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.marquee-track i { color: var(--gold); font-size: 0.6rem; }

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ── Sections common ── */
.section { padding: 6rem 0; position: relative; }

.section-header { margin-bottom: 3.5rem; }
.section-header h2 {
    font-size: clamp(1.9rem, 4vw, 2.75rem);
    font-weight: 700;
    color: var(--white);
    margin: 0.5rem 0 1rem;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

.section-header p { color: var(--muted); font-size: 1.08rem; max-width: 560px; line-height: 1.8; }
.section-header.text-center p { margin-inline: auto; }

.section-tag {
    display: inline-block;
    color: var(--gold);
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.22em;
}

.section-tag--dark { color: var(--gold-deep); }

.section-cta {
    text-align: center;
    margin-top: 3rem;
    padding: 2.5rem;
    background: var(--card);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
}

.section-cta p { color: var(--muted); margin-bottom: 1.5rem; font-size: 1.05rem; }
.section-cta strong { color: var(--gold-bright); }

/* ── Image frames ── */
.image-frame {
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
    box-shadow: 0 20px 50px rgba(0,0,0,0.4);
}

.image-frame img { width: 100%; height: 100%; min-height: 360px; object-fit: cover; }

.image-frame--gold { border: 2px solid rgba(255,193,7,0.4); }

.image-caption {
    position: absolute;
    bottom: 1.5rem; left: 1.5rem;
    background: rgba(3,3,5,0.9);
    backdrop-filter: blur(10px);
    padding: 0.75rem 1.25rem;
    border-radius: 50px;
    border: 1px solid var(--border);
    font-size: 0.9rem;
    display: flex; align-items: center; gap: 0.5rem;
}

.image-caption i { color: var(--gold); }
.image-caption strong { color: var(--gold-bright); }

/* ── Problema ── */
.section-problema { background: var(--dark); }

.problema-layout {
    display: grid;
    grid-template-columns: 380px 1fr;
    gap: 3rem;
    align-items: start;
}

.problema-image { position: relative; }

.problema-image .image-frame img {
    min-height: 380px;
    object-position: center 30%;
}

.problems-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.85rem;
}

.problem-card {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    background: var(--card);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: var(--radius);
    padding: 1rem 1.15rem;
    font-size: 0.88rem;
    font-weight: 500;
    transition: all 0.3s;
    cursor: default;
}

.problem-card i {
    color: var(--gold);
    font-size: 1rem;
    width: 36px; height: 36px;
    background: rgba(255,193,7,0.1);
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}

.problem-card:hover {
    border-color: var(--gold);
    background: var(--card-hover);
    transform: translateX(6px);
    box-shadow: -4px 0 0 var(--gold), 0 8px 24px rgba(0,0,0,0.3);
}

/* ── Servicio ── */
.section-servicio { background: var(--black); }

.servicio-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.servicio-image .image-frame img {
    min-height: 400px;
    object-position: center 40%;
}

.servicio-content h2 {
    font-size: clamp(1.9rem, 3.5vw, 2.6rem);
    font-weight: 700;
    color: var(--white);
    margin: 0.5rem 0 1rem;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

.servicio-content > p { color: var(--muted); margin-bottom: 2rem; line-height: 1.8; }

.steps { display: flex; flex-direction: column; gap: 1rem; margin-bottom: 2rem; }

.step {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.25rem;
    background: var(--card);
    border-radius: var(--radius);
    border: 1px solid rgba(255,255,255,0.05);
    transition: border-color 0.3s;
}

.step:hover { border-color: var(--border); }

.step-num {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--gold-bright);
    min-width: 44px;
    letter-spacing: -0.02em;
}

.step strong { display: block; color: var(--white); font-size: 0.95rem; }
.step small { color: var(--muted); font-size: 0.8rem; }

/* ── Beneficios ── */
.section-beneficios {
    background: var(--dark);
    overflow: hidden;
}

.beneficios-bg {
    position: absolute;
    inset: 0;
    background: url('https://images.unsplash.com/photo-1450101499163-c8848c66ca85?w=1600&q=60') center/cover;
    opacity: 0.04;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.25rem;
    position: relative;
}

.benefit-card {
    background: var(--card);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: var(--radius-lg);
    padding: 2rem;
    transition: all 0.35s;
    position: relative;
    overflow: hidden;
}

.benefit-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--gold-bright), var(--gold-deep));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s;
}

.benefit-card:hover {
    transform: translateY(-8px);
    border-color: var(--border);
    box-shadow: 0 20px 50px rgba(0,0,0,0.4), 0 0 40px rgba(255,193,7,0.08);
}

.benefit-card:hover::before { transform: scaleX(1); }

.benefit-icon {
    width: 56px; height: 56px;
    background: linear-gradient(135deg, rgba(255,193,7,0.2), rgba(255,152,0,0.1));
    border: 1px solid var(--border);
    border-radius: 16px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.3rem;
    color: var(--gold);
    margin-bottom: 1.25rem;
}

.benefit-card h3 {
    color: var(--white);
    font-size: 1.05rem;
    margin-bottom: 0.5rem;
    font-family: var(--font-display);
    font-weight: 700;
    letter-spacing: -0.01em;
}
.benefit-card p { color: var(--muted); font-size: 0.92rem; line-height: 1.7; }

/* ── Quién puede ── */
.section-quien {
    background: linear-gradient(135deg, var(--gold-bright) 0%, var(--gold) 50%, var(--gold-deep) 100%);
    padding: 4.5rem 0 6rem;
}

.quien-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.quien-content {
    padding-top: 0;
}

.quien-image {
    position: relative;
}

.quien-image .image-frame img {
    min-height: 420px;
    object-position: center top;
}

.quien-logo {
    margin-top: -0.75rem;
    margin-bottom: 0.35rem;
}

.quien-logo .logo-img--light {
    height: 72px;
    margin-bottom: 0;
}

.quien-badge {
    position: absolute;
    bottom: -1rem; right: -1rem;
    display: flex; align-items: center; gap: 0.75rem;
    background: var(--black);
    color: var(--white);
    padding: 1rem 1.5rem;
    border-radius: var(--radius);
    box-shadow: 0 12px 40px rgba(0,0,0,0.3);
}

.quien-badge i { color: var(--gold); font-size: 1.5rem; }
.quien-badge strong { display: block; font-size: 0.95rem; }
.quien-badge small { color: var(--muted); font-size: 0.78rem; }

.quien-tag {
    display: inline-block;
    margin-bottom: 0.75rem;
    padding: 0.45rem 1rem;
    background: var(--black);
    color: var(--gold-bright);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    border-radius: 50px;
    border: 1px solid rgba(255, 193, 7, 0.45);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.quien-content h2 {
    font-size: clamp(1.9rem, 3.5vw, 2.6rem);
    font-weight: 700;
    margin: 0.5rem 0 1rem;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

.quien-content > p { color: rgba(26,16,0,0.75); margin-bottom: 1.5rem; font-weight: 400; line-height: 1.75; }

.checklist { list-style: none; display: grid; gap: 0.75rem; margin-bottom: 2rem; }

.checklist li {
    display: flex; align-items: flex-start; gap: 0.75rem;
    font-weight: 600;
    color: #1a1000;
    font-size: 0.95rem;
}

.checklist li i { color: #1a1000; margin-top: 3px; flex-shrink: 0; }

/* ── Por qué ── */
.section-porque { background: var(--black); }

.porque-layout {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 3rem;
    margin-bottom: 4rem;
}

.porque-content h2 {
    font-size: clamp(1.9rem, 3.5vw, 2.6rem);
    font-weight: 700;
    color: var(--white);
    margin: 0.5rem 0 1rem;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

.porque-content > p { color: var(--muted); margin-bottom: 1.25rem; line-height: 1.8; }

.experiencia-box {
    margin-bottom: 2rem;
    padding: 1rem 1.25rem;
    background: var(--card);
    border: 1px solid var(--border);
    border-left: 4px solid var(--gold);
    border-radius: var(--radius);
}

.experiencia-box p {
    margin: 0;
    font-size: 1rem;
    line-height: 1.65;
    color: var(--text);
}

.experiencia-box strong {
    color: var(--gold-bright);
    font-weight: 600;
}

.diff-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.85rem;
}

.diff-item {
    display: flex; align-items: center; gap: 0.75rem;
    padding: 0.85rem 1rem;
    background: var(--card);
    border-radius: var(--radius);
    border: 1px solid rgba(255,255,255,0.05);
    font-size: 0.88rem;
    font-weight: 500;
    transition: border-color 0.3s;
}

.diff-item:hover { border-color: var(--border); }
.diff-item i { color: var(--gold); font-size: 1rem; }

.urgency-card {
    background: linear-gradient(160deg, #1a0a00, var(--card));
    border: 2px solid rgba(255,152,0,0.4);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: 0 0 60px rgba(255,152,0,0.1);
}

.urgency-header {
    display: flex; align-items: center; gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.urgency-header i { color: #ff6b35; font-size: 1.5rem; animation: blink 1.5s infinite; }

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.urgency-header h3 { color: var(--white); font-size: 1.35rem; font-family: var(--font-display); font-weight: 600; }

.urgency-card ul { list-style: none; margin-bottom: 1.25rem; }

.urgency-card li {
    display: flex; align-items: center; gap: 0.65rem;
    padding: 0.5rem 0;
    font-size: 0.9rem;
    color: var(--muted);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.urgency-card li i { color: var(--gold); width: 18px; }

.urgency-msg { font-size: 0.9rem; color: var(--text); margin-bottom: 1.25rem; }
.urgency-msg strong { color: var(--gold-bright); }

.equipo-strip {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 2.5rem;
    align-items: center;
    background: var(--card);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
}

.equipo-img img { width: 100%; height: 220px; object-fit: cover; }

.equipo-text { padding: 2rem 2rem 2rem 0; }
.equipo-text h3 { color: var(--white); font-size: 1.45rem; margin-bottom: 0.75rem; font-family: var(--font-display); font-weight: 600; }
.equipo-text p { color: var(--muted); font-size: 1rem; line-height: 1.75; }

/* ── FAQ ── */
.section-faq { background: var(--dark); }

.faq-grid {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.faq-item {
    background: var(--card);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: var(--radius);
    overflow: hidden;
    transition: border-color 0.3s;
}

.faq-item[open] { border-color: var(--border); }

.faq-item summary {
    padding: 1.25rem 1.5rem;
    font-family: var(--font-display);
    font-weight: 600;
    cursor: pointer;
    list-style: none;
    color: var(--white);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    font-size: 1rem;
    letter-spacing: -0.01em;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary i {
    color: var(--gold);
    transition: transform 0.3s;
    flex-shrink: 0;
}

.faq-item[open] summary i { transform: rotate(45deg); }

.faq-item p {
    padding: 0 1.5rem 1.25rem;
    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.7;
}

/* ── CTA Final ── */
.cta-final {
    position: relative;
    min-height: 520px;
    display: flex;
    align-items: center;
    padding: 5rem 0;
    overflow: hidden;
}

.cta-bg {
    position: absolute; inset: 0;
}

.cta-bg img {
    width: 100%; height: 100%;
    object-fit: cover;
}

.cta-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(3,3,5,0.92) 0%, rgba(3,3,5,0.75) 50%, rgba(255,152,0,0.15) 100%);
}

.cta-content {
    position: relative;
    z-index: 1;
    text-align: center;
}

.cta-content h2 {
    font-size: clamp(2rem, 4.5vw, 3.2rem);
    font-weight: 800;
    color: var(--white);
    margin-bottom: 2rem;
    line-height: 1.1;
    letter-spacing: -0.03em;
}

.cta-pills {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.cta-pills span {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255,193,7,0.12);
    border: 1px solid var(--border);
    color: var(--gold-bright);
    padding: 0.5rem 1.1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
}

.cta-content > p { color: var(--muted); margin-bottom: 2rem; font-size: 1.05rem; }

.cta-tagline {
    margin-top: 2rem !important;
    color: var(--muted) !important;
    font-size: 0.9rem !important;
    font-style: italic;
}

/* ── Footer ── */
.site-footer {
    background: var(--black);
    padding: 4rem 0 0;
    position: relative;
    border-top: 1px solid var(--border);
}

.footer-glow {
    position: absolute;
    top: 0; left: 50%;
    transform: translateX(-50%);
    width: 400px; height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    box-shadow: 0 0 40px var(--gold-glow);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    padding-bottom: 3rem;
}

.footer-tagline { color: var(--muted); font-size: 0.95rem; max-width: 380px; margin-bottom: 1.5rem; line-height: 1.7; }

.footer-contact h3 {
    color: var(--gold);
    font-size: 0.85rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-weight: 600;
    display: flex; align-items: center; gap: 0.5rem;
}

.footer-contact p { color: var(--muted); font-size: 0.9rem; margin-bottom: 0.5rem; }
.footer-contact a { color: var(--text); display: inline-flex; align-items: center; gap: 0.5rem; }
.footer-contact a:hover { color: var(--gold-bright); }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.06);
    padding: 1.25rem 0;
    text-align: center;
}

.footer-bottom p { font-size: 0.8rem; color: var(--muted); }

.footer-bottom-inner {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    align-items: center;
}

.footer-legal {
    max-width: 520px;
    line-height: 1.55;
}

.footer-legal a {
    color: var(--gold-bright);
    font-weight: 600;
}

.footer-legal a:hover { color: var(--gold); }

/* ── Páginas legales ── */
.legal-page { padding-top: 7rem; }

.legal-content {
    max-width: 720px;
    margin-inline: auto;
}

.legal-content h1 {
    font-size: clamp(1.8rem, 4vw, 2.4rem);
    color: var(--white);
    margin: 0.5rem 0 0.75rem;
}

.legal-content h2 {
    font-size: 1.15rem;
    color: var(--white);
    margin: 1.75rem 0 0.75rem;
    font-family: var(--font-display);
}

.legal-content p,
.legal-content li {
    color: var(--muted);
    line-height: 1.75;
    margin-bottom: 0.75rem;
}

.legal-content ul {
    margin: 0 0 1rem 1.25rem;
}

.legal-updated {
    font-size: 0.9rem;
    color: var(--muted);
    margin-bottom: 1.5rem;
}

.legal-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2rem;
}

/* ── WhatsApp float ── */
.whatsapp-float {
    position: fixed;
    bottom: 28px; right: 28px;
    z-index: 2000;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    background: var(--green);
    color: var(--white);
    padding: 0.85rem 1.2rem 0.85rem 0.85rem;
    border-radius: 50px;
    box-shadow: 0 6px 30px rgba(37,211,102,0.5);
    transition: transform 0.3s, box-shadow 0.3s;
    font-weight: 700;
    font-size: 0.85rem;
}

.whatsapp-float i { font-size: 1.6rem; }

.whatsapp-float:hover {
    transform: scale(1.06);
    box-shadow: 0 8px 40px rgba(37,211,102,0.65);
    color: var(--white);
}

.whatsapp-pulse {
    position: absolute;
    inset: -4px;
    border-radius: 50px;
    border: 2px solid var(--green);
    animation: wa-pulse 2s infinite;
    pointer-events: none;
}

@keyframes wa-pulse {
    0% { transform: scale(1); opacity: 0.8; }
    100% { transform: scale(1.3); opacity: 0; }
}

.whatsapp-label { display: block; }

/* ── Responsive ── */
@media (max-width: 1100px) {
    .header-inner { gap: 1.5rem; }
    .nav { gap: 1.25rem; }
    .nav a { font-size: 0.95rem; }
}

/* Portátil / tablet horizontal: legibilidad mejorada sin perder estética */
@media (min-width: 769px) and (max-width: 1200px) {
    :root {
        --muted: #b0b0c4;
        --text: #f0f0f6;
    }

    body {
        font-size: 1.05rem;
        line-height: 1.7;
    }

    .nav a { font-size: 0.95rem; }

    .badge { font-size: 0.75rem; }

    .hero-lead {
        font-size: 1.15rem;
        color: #c8c8d8;
        line-height: 1.7;
    }

    .hero-highlight-box p {
        font-size: 0.98rem;
        color: #d0d0dc;
    }

    .hero-trust p {
        font-size: 0.9rem;
        color: #b4b4c8;
    }

    .section-header p {
        font-size: 1.1rem;
        color: #c4c4d6;
        line-height: 1.7;
    }

    .section-cta p {
        font-size: 1.08rem;
        color: #c4c4d6;
    }

    .stat-item p { font-size: 0.9rem; }

    .problem-card {
        font-size: 0.92rem;
        color: #e8e8f0;
        padding: 1rem 1.1rem;
        line-height: 1.45;
    }

    .problem-card span { color: #e8e8f0; }

    .image-caption { font-size: 0.95rem; }

    .servicio-content > p,
    .porque-content > p {
        font-size: 1.05rem;
        color: #c4c4d6;
        line-height: 1.75;
    }

    .step strong { font-size: 1rem; }
    .step small { font-size: 0.875rem; color: #b0b0c4; }

    .benefit-card p {
        font-size: 0.98rem;
        color: #c4c4d6;
        line-height: 1.65;
    }

    .benefit-card h3 { font-size: 1.08rem; }

    .quien-content > p {
        font-size: 1.05rem;
        color: rgba(26, 16, 0, 0.9);
    }

    .checklist li {
        font-size: 1rem;
        color: rgba(26, 16, 0, 0.92);
    }

    .diff-item {
        font-size: 0.95rem;
        color: #e0e0ea;
    }

    .experiencia-box p {
        font-size: 1.05rem;
        color: #e8e8f0;
    }

    .urgency-msg { font-size: 0.98rem; color: #c4c4d6; }

    .equipo-text p {
        font-size: 1rem;
        color: #c4c4d6;
    }

    .faq-item summary { font-size: 1rem; }
    .faq-item p {
        font-size: 0.98rem;
        color: #c4c4d6;
        line-height: 1.7;
    }

    .cta-content > p {
        font-size: 1.08rem;
        color: #c4c4d6;
    }

    .cta-pills span { font-size: 0.9rem; }
    .cta-tagline { font-size: 0.98rem !important; color: #b0b0c4 !important; }

    .footer-tagline,
    .footer-contact p {
        font-size: 0.98rem;
        color: #b0b0c4;
    }

    .footer-bottom p { font-size: 0.88rem; color: #a8a8bc; }

    .btn { font-size: 0.98rem; }
    .btn-xl { font-size: 1.05rem; }
    .btn-lg { font-size: 1rem; }

    .marquee-track span { font-size: 0.88rem; color: #a8a8bc; }
}

@media (max-width: 1024px) {
    .servicio-layout,
    .quien-layout,
    .porque-layout,
    .problema-layout,
    .equipo-strip { grid-template-columns: 1fr; }

    .problema-image { max-width: 400px; margin: 0 auto; }
    .float-card--top { left: 0; }
    .float-card--bottom { right: 0; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .servicio-image { order: -1; max-width: 500px; margin: 0 auto; }
    .quien-image { max-width: 450px; margin: 0 auto; }
    .equipo-strip { grid-template-columns: 1fr; }
    .equipo-img img { height: 200px; }
    .equipo-text { padding: 1.5rem; }
}

@media (max-width: 768px) {
    .header-inner {
        display: flex;
        justify-content: space-between;
        gap: 1rem;
    }

    .logo-img--header { height: 42px; max-width: 180px; }
    .logo-img--footer { height: 90px; }
    .logo-img--light { height: 64px; }
    .nav {
        display: none;
        position: fixed;
        top: 70px; left: 0; right: 0;
        background: rgba(3,3,5,0.97);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 1.5rem 4%;
        gap: 0;
        border-bottom: 1px solid var(--border);
    }

    .nav.is-open { display: flex; }
    .nav a {
        padding: 1rem 0;
        border-bottom: 1px solid rgba(255,255,255,0.05);
        width: 100%;
        font-size: 1rem;
        color: var(--text);
    }
    .nav-toggle { display: flex; }

    .social-links--nav {
        display: flex;
        flex-wrap: wrap;
        width: 100%;
    }

    .header-actions .btn-header { display: none; }
    .social-float { display: none; }

    .hero {
        min-height: auto;
        padding: 6rem 0 3rem;
    }

    .hero-layout {
        display: flex;
        flex-direction: column;
        gap: 1.75rem;
    }

    .hero-content {
        display: contents;
        max-width: none;
    }

    .hero-head {
        order: 1;
        text-align: center;
    }

    .hero-head .badge {
        margin-inline: auto;
    }

    .hero-head h1 {
        font-size: clamp(2rem, 8vw, 2.6rem);
        margin-bottom: 0;
    }

    .hero-head.reveal,
    .hero-body.reveal,
    .hero-visual.reveal {
        opacity: 1;
        transform: none;
    }

    .hero-visual {
        order: 2;
        margin-top: 0;
        width: 100%;
        max-width: 420px;
        margin-inline: auto;
        align-self: center;
    }

    .hero-body {
        order: 3;
    }

    .hero-lead,
    .hero-highlight-box {
        max-width: none;
        text-align: center;
    }

    .hero-highlight-box {
        margin-bottom: 1.5rem;
        border-left: none;
        border-top: 3px solid var(--gold);
    }

    .hero-cta-row { flex-direction: column; align-items: stretch; }
    .hero-trust {
        justify-content: center;
        text-align: center;
    }

    .hero-image-wrap img {
        height: 280px;
        object-position: center 22%;
    }

    .float-card { display: none; }

    .diff-grid { grid-template-columns: 1fr; }
    .benefits-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; text-align: center; }
    .footer-tagline { margin-inline: auto; }
    .footer-social-wrap .social-links { justify-content: center; }

    .whatsapp-label { display: none; }
    .whatsapp-float { padding: 0.85rem; border-radius: 50%; width: 58px; height: 58px; justify-content: center; }

    /* ── Móvil: legibilidad y tipografía uniforme ── */
    :root {
        --muted: #b8b8cc;
        --text: #f2f2f8;
    }

    body {
        font-size: 1rem;
        line-height: 1.65;
    }

    .container { width: min(1200px, 94%); }

    .section { padding: 4.5rem 0; }

    .section-header { margin-bottom: 2.5rem; }
    .section-header h2 { font-size: clamp(1.65rem, 6vw, 2rem); }
    .section-header p {
        font-size: 1rem;
        color: #c8c8d8;
        line-height: 1.65;
    }

    .section-tag { font-size: 0.78rem; }

    .section-cta {
        margin-top: 2rem;
        padding: 1.75rem 1.25rem;
    }

    .section-cta p {
        font-size: 1rem;
        color: #c8c8d8;
        line-height: 1.65;
    }

    .badge { font-size: 0.78rem; }

    .hero-lead {
        font-size: 1rem;
        color: #c8c8d8;
        line-height: 1.65;
    }

    .hero-highlight-box p {
        font-size: 0.95rem;
        color: #d4d4e0;
        line-height: 1.55;
    }

    .hero-trust p {
        font-size: 0.9rem;
        color: #b8b8cc;
    }

    .stat-item p { font-size: 0.9rem; }

    .marquee-track span { font-size: 0.85rem; color: #a8a8bc; }

    .problems-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.65rem;
    }

    .problem-card {
        flex-direction: column;
        align-items: flex-start;
        padding: 0.85rem 0.75rem;
        font-size: 0.875rem;
        font-weight: 500;
        color: #ececf2;
        gap: 0.55rem;
        line-height: 1.4;
    }

    .problem-card i {
        width: 32px;
        height: 32px;
        font-size: 0.85rem;
        border-radius: 8px;
    }

    .problem-card span { color: #ececf2; }

    .image-caption {
        font-size: 0.9rem;
        padding: 0.65rem 1rem;
        bottom: 1rem;
        left: 1rem;
    }

    .servicio-content h2 { font-size: clamp(1.65rem, 6vw, 2rem); }
    .servicio-content > p {
        font-size: 1rem;
        color: #c8c8d8;
        line-height: 1.65;
    }

    .step {
        padding: 0.9rem 1rem;
    }

    .step strong { font-size: 0.95rem; }
    .step small { font-size: 0.875rem; color: #b0b0c4; }

    .benefit-card { padding: 1.5rem; }
    .benefit-card h3 { font-size: 1.05rem; }
    .benefit-card p {
        font-size: 0.95rem;
        color: #c8c8d8;
        line-height: 1.6;
    }

    .quien-content > p {
        font-size: 1rem;
        color: rgba(26, 16, 0, 0.88);
        line-height: 1.65;
    }

    .checklist li {
        font-size: 0.95rem;
        color: rgba(26, 16, 0, 0.9);
    }

    .quien-badge small { font-size: 0.85rem; color: #b8b8cc; }

    .porque-content h2 { font-size: clamp(1.65rem, 6vw, 2rem); }
    .porque-content > p {
        font-size: 1rem;
        color: #c8c8d8;
    }

    .diff-item {
        font-size: 0.95rem;
        color: #e0e0ea;
    }

    .urgency-msg,
    .urgency-header + p {
        font-size: 0.95rem;
        color: #c8c8d8;
    }

    .equipo-text p {
        font-size: 0.95rem;
        color: #c8c8d8;
    }

    .faq-item summary { font-size: 0.95rem; }
    .faq-item p {
        font-size: 0.95rem;
        color: #c8c8d8;
        line-height: 1.65;
    }

    .cta-content h2 { font-size: clamp(1.75rem, 6vw, 2.25rem); }
    .cta-content > p {
        font-size: 1rem;
        color: #c8c8d8;
    }

    .cta-pills span { font-size: 0.875rem; }
    .cta-tagline { font-size: 0.95rem !important; color: #b8b8cc !important; }

    .footer-tagline,
    .footer-contact p {
        font-size: 0.95rem;
        color: #b8b8cc;
    }

    .footer-bottom p { font-size: 0.85rem; color: #a8a8bc; }

    .btn {
        white-space: normal;
        text-align: center;
        font-size: 0.95rem;
        line-height: 1.35;
    }

    .btn-xl { font-size: 1rem; padding: 1rem 1.5rem; }
    .btn-lg { font-size: 0.95rem; padding: 0.95rem 1.5rem; }

    .experiencia-box p {
        font-size: 0.95rem;
        color: #c8c8d8;
    }
}

@media (max-width: 480px) {
    .stats-grid { grid-template-columns: 1fr 1fr; gap: 1rem; }
    .stat-number { font-size: 2rem; }
    .btn-xl, .btn-lg { width: 100%; }
    .cta-pills { flex-direction: column; align-items: center; }
    .hero-cta-row .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
    .reveal { opacity: 1; transform: none; }
}
