
    /* ═══════════════════════════════════════════════════════════════════════
       GMAO.es Landing — Industrial Precision Aesthetic
       ═══════════════════════════════════════════════════════════════════════ */

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

    :root {
        --brand: #1095c1;
        --brand-dark: #0b7a9e;
        --brand-glow: #14b8d4;
        --brand-light: #e0f4fa;
        --navy: #0a1628;
        --navy-mid: #111d33;
        --navy-soft: #1a2942;
        --slate: #334155;
        --slate-light: #64748b;
        --warm: #f59e0b;
        --warm-light: #fef3c7;
        --surface: #ffffff;
        --surface-alt: #f8fafc;
        --surface-dim: #f1f5f9;
        --border: #e2e8f0;
        --text: #1e293b;
        --text-soft: #475569;
        --text-muted: #94a3b8;
        --radius: 10px;
        --radius-lg: 16px;
    }

    html {
        scroll-behavior: smooth;
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
    }

    body {
        font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
        color: var(--text);
        background: var(--surface);
        line-height: 1.65;
        overflow-x: hidden;
    }

    h1, h2, h3, h4, h5 {
        font-family: 'Bricolage Grotesque', sans-serif;
        line-height: 1.15;
        letter-spacing: -0.02em;
    }

    a { color: var(--brand); text-decoration: none; transition: color 0.2s; }
    a:hover { color: var(--brand-dark); }

    img { max-width: 100%; height: auto; }

    .container {
        max-width: 1140px;
        margin: 0 auto;
        padding: 0 24px;
    }

    /* ─── NAVBAR ────────────────────────────────────────────────────────── */
    .ln-nav {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 1000;
        padding: 0 24px;
        height: 68px;
        display: flex;
        align-items: center;
        background: rgba(255,255,255,0.85);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        border-bottom: 1px solid rgba(0,0,0,0.06);
        transition: box-shadow 0.3s;
    }

    .ln-nav.scrolled {
        box-shadow: 0 1px 12px rgba(0,0,0,0.08);
    }

    .ln-nav .container {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
    }

    .ln-logo {
        font-family: 'Bricolage Grotesque', sans-serif;
        font-size: 1.55rem;
        font-weight: 800;
        color: var(--brand);
        text-decoration: none;
        letter-spacing: -0.03em;
    }

    .ln-logo span { color: var(--navy); font-weight: 600; }

    .ln-links {
        display: flex;
        align-items: center;
        gap: 32px;
        list-style: none;
    }

    .ln-links a {
        font-size: 0.9rem;
        font-weight: 500;
        color: var(--slate);
        text-decoration: none;
        transition: color 0.2s;
    }

    .ln-links a:hover { color: var(--brand); }

    .ln-cta {
        display: flex;
        align-items: center;
        gap: 12px;
    }

    .btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 10px 22px;
        border-radius: 8px;
        font-family: 'DM Sans', sans-serif;
        font-size: 0.9rem;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.25s;
        border: 2px solid transparent;
        text-decoration: none;
        white-space: nowrap;
        gap: 8px;
    }

    .btn-primary {
        background: var(--brand);
        color: #fff;
        border-color: var(--brand);
    }

    .btn-primary:hover {
        background: var(--brand-dark);
        border-color: var(--brand-dark);
        color: #fff;
        transform: translateY(-1px);
        box-shadow: 0 4px 16px rgba(16,149,193,0.3);
    }

    .btn-outline {
        background: transparent;
        color: var(--slate);
        border-color: var(--border);
    }

    .btn-outline:hover {
        border-color: var(--brand);
        color: var(--brand);
    }

    .btn-large {
        padding: 14px 32px;
        font-size: 1rem;
        border-radius: 10px;
    }

    .btn-white {
        background: #fff;
        color: var(--brand-dark);
        border-color: #fff;
    }

    .btn-white:hover {
        background: var(--brand-light);
        border-color: var(--brand-light);
        color: var(--brand-dark);
        transform: translateY(-1px);
        box-shadow: 0 4px 20px rgba(255,255,255,0.3);
    }

    .ln-burger {
        display: none;
        background: none;
        border: none;
        width: 36px;
        height: 36px;
        cursor: pointer;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 5px;
    }

    .ln-burger span {
        display: block;
        width: 22px;
        height: 2px;
        background: var(--navy);
        border-radius: 2px;
        transition: all 0.3s;
    }

    /* ─── HERO ──────────────────────────────────────────────────────────── */
    .ln-hero {
        position: relative;
        padding: 140px 0 80px;
        background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 50%, #0c2340 100%);
        color: #fff;
        overflow: hidden;
    }

    .ln-hero::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background:
            radial-gradient(ellipse 60% 50% at 80% 20%, rgba(16,149,193,0.15) 0%, transparent 70%),
            radial-gradient(ellipse 40% 60% at 10% 80%, rgba(16,149,193,0.08) 0%, transparent 60%);
        pointer-events: none;
    }

    /* Grid pattern overlay */
    .ln-hero::after {
        content: '';
        position: absolute;
        inset: 0;
        background-image:
            linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
            linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
        background-size: 48px 48px;
        pointer-events: none;
    }

    .hero-inner {
        position: relative;
        z-index: 2;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 60px;
        align-items: center;
    }

    .hero-badge {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        padding: 6px 16px;
        background: rgba(16,149,193,0.15);
        border: 1px solid rgba(16,149,193,0.25);
        border-radius: 100px;
        font-size: 0.82rem;
        font-weight: 600;
        color: var(--brand-glow);
        margin-bottom: 24px;
        letter-spacing: 0.02em;
    }

    .hero-badge::before {
        content: '';
        width: 7px;
        height: 7px;
        border-radius: 50%;
        background: var(--brand-glow);
        animation: pulse-dot 2s ease-in-out infinite;
    }

    @keyframes pulse-dot {
        0%, 100% { opacity: 1; }
        50% { opacity: 0.4; }
    }

    .hero-title {
        font-size: clamp(2.4rem, 5vw, 3.6rem);
        font-weight: 800;
        color: #fff;
        margin-bottom: 20px;
        letter-spacing: -0.03em;
    }

    .hero-title em {
        font-style: normal;
        position: relative;
        color: var(--brand-glow);
    }

    .hero-title em::after {
        content: '';
        position: absolute;
        left: 0;
        bottom: 2px;
        width: 100%;
        height: 3px;
        background: var(--brand-glow);
        opacity: 0.4;
        border-radius: 2px;
    }

    .hero-sub {
        font-size: 1.15rem;
        color: rgba(255,255,255,0.7);
        line-height: 1.7;
        margin-bottom: 36px;
        max-width: 520px;
    }

    .hero-actions {
        display: flex;
        gap: 16px;
        align-items: center;
        flex-wrap: wrap;
    }

    .hero-note {
        font-size: 0.82rem;
        color: rgba(255,255,255,0.45);
        margin-top: 20px;
    }

    /* Hero visual — SVG illustration */
    .hero-visual {
        position: relative;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .hero-graphic {
        width: 100%;
        max-width: 480px;
        filter: drop-shadow(0 20px 60px rgba(16,149,193,0.2));
    }

    /* ─── SECTION SHARED ───────────────────────────────────────────────── */
    .ln-section {
        padding: 96px 0;
    }

    .ln-section-alt {
        background: var(--surface-alt);
    }

    .section-label {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        font-size: 0.78rem;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.1em;
        color: var(--brand);
        margin-bottom: 12px;
    }

    .section-label::before {
        content: '';
        width: 20px;
        height: 2px;
        background: var(--brand);
        border-radius: 1px;
    }

    .section-title {
        font-size: clamp(1.8rem, 3.5vw, 2.5rem);
        font-weight: 700;
        color: var(--navy);
        margin-bottom: 16px;
        letter-spacing: -0.02em;
    }

    .section-subtitle {
        font-size: 1.05rem;
        color: var(--text-soft);
        max-width: 600px;
        line-height: 1.7;
    }

    .section-header {
        margin-bottom: 56px;
    }

    .section-header-center {
        text-align: center;
    }

    .section-header-center .section-subtitle {
        margin-left: auto;
        margin-right: auto;
    }

    /* ─── PROBLEMAS ────────────────────────────────────────────────────── */
    .problems-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        margin-top: 48px;
    }

    .problem-card {
        display: flex;
        gap: 16px;
        padding: 24px;
        background: var(--surface);
        border: 1px solid var(--border);
        border-radius: var(--radius);
        transition: all 0.3s;
    }

    .problem-card:hover {
        border-color: rgba(16,149,193,0.3);
        box-shadow: 0 4px 20px rgba(16,149,193,0.08);
        transform: translateY(-2px);
    }

    .problem-icon {
        flex-shrink: 0;
        width: 44px;
        height: 44px;
        border-radius: 10px;
        background: #fef2f2;
        color: #dc2626;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.2rem;
    }

    .problem-card h3 {
        font-size: 1rem;
        font-weight: 700;
        margin-bottom: 6px;
        color: var(--navy);
    }

    .problem-card p {
        font-size: 0.88rem;
        color: var(--text-soft);
        line-height: 1.6;
    }

    /* ─── FUNCIONALIDADES ──────────────────────────────────────────────── */
    .features-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 24px;
    }

    .feature-card {
        padding: 32px 28px;
        background: var(--surface);
        border: 1px solid var(--border);
        border-radius: var(--radius-lg);
        transition: all 0.35s;
        position: relative;
        overflow: hidden;
    }

    .feature-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 3px;
        background: var(--brand);
        transform: scaleX(0);
        transform-origin: left;
        transition: transform 0.35s;
    }

    .feature-card:hover::before {
        transform: scaleX(1);
    }

    .feature-card:hover {
        border-color: rgba(16,149,193,0.2);
        box-shadow: 0 8px 32px rgba(16,149,193,0.1);
        transform: translateY(-4px);
    }

    .feature-icon {
        width: 52px;
        height: 52px;
        border-radius: 12px;
        background: var(--brand-light);
        color: var(--brand);
        display: flex;
        align-items: center;
        justify-content: center;
        margin-bottom: 20px;
    }

    .feature-icon svg {
        width: 26px;
        height: 26px;
    }

    .feature-card h3 {
        font-size: 1.08rem;
        font-weight: 700;
        color: var(--navy);
        margin-bottom: 10px;
    }

    .feature-card p {
        font-size: 0.9rem;
        color: var(--text-soft);
        line-height: 1.65;
    }

    /* ─── SECTORES ─────────────────────────────────────────────────────── */
    .sectors-grid {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 20px;
    }

    .sector-card {
        text-align: center;
        padding: 36px 24px;
        background: var(--surface);
        border: 1px solid var(--border);
        border-radius: var(--radius-lg);
        transition: all 0.35s;
    }

    .sector-card:hover {
        border-color: var(--brand);
        box-shadow: 0 8px 28px rgba(16,149,193,0.12);
        transform: translateY(-4px);
    }

    .sector-icon {
        width: 64px;
        height: 64px;
        margin: 0 auto 20px;
        border-radius: 16px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.8rem;
    }

    .sector-icon-retail    { background: #ede9fe; color: #7c3aed; }
    .sector-icon-hostel    { background: #fef3c7; color: #d97706; }
    .sector-icon-facility  { background: #dbeafe; color: #2563eb; }
    .sector-icon-industria { background: #fee2e2; color: #dc2626; }

    .sector-card h3 {
        font-size: 1.05rem;
        font-weight: 700;
        margin-bottom: 8px;
        color: var(--navy);
    }

    .sector-card p {
        font-size: 0.85rem;
        color: var(--text-soft);
        line-height: 1.6;
    }

    /* ─── COMO FUNCIONA ────────────────────────────────────────────────── */
    .steps-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 40px;
        position: relative;
    }

    .steps-grid::before {
        content: '';
        position: absolute;
        top: 48px;
        left: calc(16.67% + 20px);
        right: calc(16.67% + 20px);
        height: 2px;
        background: linear-gradient(90deg, var(--brand), var(--brand-glow), var(--brand));
        opacity: 0.25;
    }

    .step-card {
        text-align: center;
        position: relative;
    }

    .step-num {
        width: 64px;
        height: 64px;
        margin: 0 auto 24px;
        border-radius: 50%;
        background: var(--navy);
        color: #fff;
        display: flex;
        align-items: center;
        justify-content: center;
        font-family: 'Bricolage Grotesque', sans-serif;
        font-size: 1.5rem;
        font-weight: 800;
        position: relative;
        z-index: 2;
    }

    .step-card:first-child .step-num { background: var(--brand); }
    .step-card:nth-child(2) .step-num { background: var(--brand-dark); }
    .step-card:last-child .step-num { background: var(--navy); }

    .step-card h3 {
        font-size: 1.15rem;
        font-weight: 700;
        margin-bottom: 10px;
        color: var(--navy);
    }

    .step-card p {
        font-size: 0.9rem;
        color: var(--text-soft);
        line-height: 1.65;
        max-width: 280px;
        margin: 0 auto;
    }

    /* ─── CONFIANZA ────────────────────────────────────────────────────── */
    .trust-grid {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 24px;
        text-align: center;
    }

    .trust-item {
        padding: 28px 16px;
    }

    .trust-value {
        font-family: 'Bricolage Grotesque', sans-serif;
        font-size: 2.4rem;
        font-weight: 800;
        color: var(--brand);
        letter-spacing: -0.03em;
    }

    .trust-label {
        font-size: 0.88rem;
        color: var(--text-soft);
        margin-top: 4px;
        line-height: 1.5;
    }

    /* ─── CTA / REGISTRO ───────────────────────────────────────────────── */
    .ln-cta-section {
        background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
        color: #fff;
        padding: 80px 0;
        position: relative;
        overflow: hidden;
    }

    .ln-cta-section::before {
        content: '';
        position: absolute;
        inset: 0;
        background:
            radial-gradient(ellipse 50% 80% at 20% 50%, rgba(16,149,193,0.12) 0%, transparent 60%),
            radial-gradient(ellipse 40% 60% at 90% 30%, rgba(16,149,193,0.08) 0%, transparent 60%);
        pointer-events: none;
    }

    .cta-inner {
        position: relative;
        z-index: 2;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 60px;
        align-items: center;
    }

    .cta-text h2 {
        font-size: clamp(1.8rem, 3vw, 2.3rem);
        color: #fff;
        margin-bottom: 16px;
    }

    .cta-text p {
        color: rgba(255,255,255,0.7);
        font-size: 1.05rem;
        line-height: 1.7;
        margin-bottom: 24px;
    }

    .cta-list {
        list-style: none;
        padding: 0;
    }

    .cta-list li {
        display: flex;
        align-items: center;
        gap: 10px;
        padding: 6px 0;
        font-size: 0.92rem;
        color: rgba(255,255,255,0.85);
    }

    .cta-list li::before {
        content: '';
        width: 20px;
        height: 20px;
        border-radius: 50%;
        background: rgba(16,149,193,0.2);
        border: 2px solid var(--brand-glow);
        flex-shrink: 0;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .cta-form {
        background: rgba(255,255,255,0.05);
        border: 1px solid rgba(255,255,255,0.1);
        border-radius: var(--radius-lg);
        padding: 36px;
        backdrop-filter: blur(8px);
    }

    .cta-form h3 {
        font-size: 1.25rem;
        color: #fff;
        margin-bottom: 24px;
        text-align: center;
    }

    .form-group {
        margin-bottom: 16px;
    }

    .form-group label {
        display: block;
        font-size: 0.82rem;
        font-weight: 600;
        color: rgba(255,255,255,0.7);
        margin-bottom: 6px;
    }

    .form-group input,
    .form-group select {
        width: 100%;
        padding: 11px 14px;
        border: 1px solid rgba(255,255,255,0.15);
        border-radius: 8px;
        background: rgba(255,255,255,0.08);
        color: #fff;
        font-family: 'DM Sans', sans-serif;
        font-size: 0.92rem;
        transition: border-color 0.2s;
        outline: none;
    }

    .form-group input::placeholder {
        color: rgba(255,255,255,0.35);
    }

    .form-group input:focus,
    .form-group select:focus {
        border-color: var(--brand-glow);
        background: rgba(255,255,255,0.12);
    }

    .form-group select {
        appearance: none;
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23fff' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
        background-repeat: no-repeat;
        background-position: right 14px center;
        padding-right: 36px;
    }

    .form-group select option {
        background: var(--navy);
        color: #fff;
    }

    .form-row {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }

    .form-submit {
        width: 100%;
        padding: 13px;
        border: none;
        border-radius: 8px;
        background: var(--brand);
        color: #fff;
        font-family: 'DM Sans', sans-serif;
        font-size: 1rem;
        font-weight: 700;
        cursor: pointer;
        transition: all 0.25s;
        margin-top: 8px;
    }

    .form-submit:hover {
        background: var(--brand-glow);
        transform: translateY(-1px);
        box-shadow: 0 4px 20px rgba(16,149,193,0.4);
    }

    .form-legal {
        font-size: 0.75rem;
        color: rgba(255,255,255,0.35);
        text-align: center;
        margin-top: 14px;
        line-height: 1.5;
    }

    /* ─── FOOTER ────────────────────────────────────────────────────────── */
    .ln-footer {
        background: var(--navy);
        color: rgba(255,255,255,0.6);
        padding: 48px 0 32px;
        border-top: 1px solid rgba(255,255,255,0.06);
    }

    .footer-inner {
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        flex-wrap: wrap;
        gap: 32px;
    }

    .footer-brand .ln-logo {
        font-size: 1.35rem;
    }

    .footer-brand .ln-logo span {
        color: rgba(255,255,255,0.7);
    }

    .footer-tagline {
        font-size: 0.85rem;
        color: rgba(255,255,255,0.4);
        margin-top: 6px;
    }

    .footer-links {
        display: flex;
        gap: 48px;
    }

    .footer-col h4 {
        font-size: 0.82rem;
        text-transform: uppercase;
        letter-spacing: 0.08em;
        color: rgba(255,255,255,0.5);
        margin-bottom: 14px;
        font-weight: 600;
    }

    .footer-col a {
        display: block;
        font-size: 0.88rem;
        color: rgba(255,255,255,0.55);
        padding: 4px 0;
        transition: color 0.2s;
    }

    .footer-col a:hover { color: var(--brand-glow); }

    .footer-bottom {
        margin-top: 40px;
        padding-top: 20px;
        border-top: 1px solid rgba(255,255,255,0.06);
        display: flex;
        justify-content: space-between;
        align-items: center;
        font-size: 0.8rem;
        color: rgba(255,255,255,0.3);
    }

    /* ─── ANIMATIONS ───────────────────────────────────────────────────── */
    @keyframes fadeUp {
        from { opacity: 0; transform: translateY(24px); }
        to { opacity: 1; transform: translateY(0); }
    }

    .fade-up {
        opacity: 0;
        transform: translateY(24px);
    }

    .fade-up.visible {
        animation: fadeUp 0.7s ease-out forwards;
    }

    .delay-1 { animation-delay: 0.1s; }
    .delay-2 { animation-delay: 0.2s; }
    .delay-3 { animation-delay: 0.3s; }
    .delay-4 { animation-delay: 0.4s; }
    .delay-5 { animation-delay: 0.5s; }
    .delay-6 { animation-delay: 0.6s; }

    /* ─── RESPONSIVE ───────────────────────────────────────────────────── */
    @media (max-width: 1024px) {
        .hero-inner { grid-template-columns: 1fr; text-align: center; }
        .hero-sub { margin-left: auto; margin-right: auto; }
        .hero-actions { justify-content: center; }
        .hero-visual { display: none; }
        .features-grid { grid-template-columns: repeat(2, 1fr); }
        .sectors-grid { grid-template-columns: repeat(2, 1fr); }
        .cta-inner { grid-template-columns: 1fr; max-width: 540px; margin: 0 auto; }
    }

    @media (max-width: 768px) {
        .ln-links { display: none; }
        .ln-burger { display: flex; }

        .ln-links.open {
            display: flex;
            flex-direction: column;
            position: absolute;
            top: 68px;
            left: 0;
            right: 0;
            background: var(--surface);
            border-bottom: 1px solid var(--border);
            padding: 16px 24px;
            gap: 12px;
            box-shadow: 0 8px 24px rgba(0,0,0,0.08);
        }

        .ln-hero { padding: 120px 0 60px; }
        .hero-title { font-size: 2rem; }
        .problems-grid { grid-template-columns: 1fr; }
        .features-grid { grid-template-columns: 1fr; }
        .sectors-grid { grid-template-columns: 1fr 1fr; }
        .steps-grid { grid-template-columns: 1fr; gap: 24px; }
        .steps-grid::before { display: none; }
        .trust-grid { grid-template-columns: repeat(2, 1fr); }
        .form-row { grid-template-columns: 1fr; }
        .footer-links { gap: 24px; flex-wrap: wrap; }
        .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
    }

    @media (max-width: 480px) {
        .ln-cta-items { display: none !important; }
        .sectors-grid { grid-template-columns: 1fr; }
        .trust-grid { grid-template-columns: 1fr 1fr; }
        .cta-form { padding: 24px 20px; }
    }
    
/* ═══════════════════════════════════════════════════════════════════════
   Páginas de contenido de gmao.es
   Se apoya en las variables y los componentes de la landing (v1.css) y solo
   añade lo que aquí hace falta: artículo largo, migas, tablas, capturas y
   preguntas frecuentes.
   ═══════════════════════════════════════════════════════════════════════ */

.doc-hero {
    background: linear-gradient(180deg, var(--navy) 0%, var(--navy-mid) 100%);
    color: #fff;
    padding: 120px 0 56px;
}

.doc-hero h1 {
    font-family: 'Bricolage Grotesque', system-ui, sans-serif;
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin: 12px 0 16px;
}

.doc-hero .doc-entradilla {
    font-size: 1.15rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.78);
    max-width: 65ch;
}

.migas {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
}

.migas a {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
}

.migas a:hover {
    color: #fff;
    text-decoration: underline;
}

.doc {
    padding: 56px 0 72px;
}

.doc-columnas {
    display: grid;
    gap: 48px;
    grid-template-columns: minmax(0, 1fr);
}

@media (min-width: 1000px) {
    .doc-columnas {
        grid-template-columns: minmax(0, 1fr) 260px;
        align-items: start;
    }
}

.doc-cuerpo {
    max-width: 72ch;
    font-size: 1.05rem;
    line-height: 1.75;
    color: var(--text-soft);
}

.doc-cuerpo > * + * {
    margin-top: 20px;
}

.doc-cuerpo h2 {
    font-family: 'Bricolage Grotesque', system-ui, sans-serif;
    font-size: 1.6rem;
    line-height: 1.25;
    color: var(--text);
    margin-top: 48px;
    scroll-margin-top: 90px;
}

.doc-cuerpo h3 {
    font-size: 1.15rem;
    color: var(--text);
    margin-top: 32px;
}

.doc-cuerpo strong {
    color: var(--text);
}

.doc-cuerpo a {
    color: var(--brand-dark);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.doc-cuerpo ul,
.doc-cuerpo ol {
    padding-left: 22px;
}

.doc-cuerpo li + li {
    margin-top: 10px;
}

.doc-figura {
    margin: 32px 0;
}

.doc-figura img {
    width: 100%;
    height: auto;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: 0 10px 30px rgba(10, 22, 40, 0.08);
    background: var(--surface-alt);
}

.doc-figura.movil img {
    max-width: 320px;
    margin: 0 auto;
    display: block;
}

.doc-figura figcaption {
    margin-top: 10px;
    font-size: 0.88rem;
    color: var(--text-muted);
    text-align: center;
}

.doc-tabla {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
    display: block;
    overflow-x: auto;
}

.doc-tabla th,
.doc-tabla td {
    border: 1px solid var(--border);
    padding: 10px 12px;
    text-align: left;
    vertical-align: top;
}

.doc-tabla th {
    background: var(--surface-dim);
    color: var(--text);
    font-weight: 600;
}

.doc-aparte {
    border-left: 4px solid var(--brand);
    background: var(--brand-light);
    padding: 16px 20px;
    border-radius: 0 var(--radius) var(--radius) 0;
    color: var(--slate);
}

.doc-faq {
    border-top: 1px solid var(--border);
}

.doc-faq details {
    border-bottom: 1px solid var(--border);
    padding: 16px 0;
}

.doc-faq summary {
    cursor: pointer;
    font-weight: 600;
    color: var(--text);
    list-style: none;
    display: flex;
    justify-content: space-between;
    gap: 16px;
}

.doc-faq summary::after {
    content: '+';
    color: var(--brand);
    font-size: 1.3rem;
    line-height: 1;
}

.doc-faq details[open] summary::after {
    content: '−';
}

.doc-faq p {
    margin-top: 12px;
}

.doc-lateral {
    position: sticky;
    top: 90px;
    font-size: 0.92rem;
}

.doc-lateral h2 {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.doc-lateral ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.doc-lateral li + li {
    margin-top: 8px;
}

.doc-lateral a {
    color: var(--text-soft);
    text-decoration: none;
}

.doc-lateral a:hover {
    color: var(--brand-dark);
}

.doc-lateral .doc-caja {
    margin-top: 28px;
    padding: 18px;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: var(--surface-alt);
}

.doc-relacionadas {
    margin-top: 56px;
    border-top: 1px solid var(--border);
    padding-top: 28px;
}

.doc-relacionadas h2 {
    font-size: 1.1rem;
    color: var(--text);
    margin-bottom: 16px;
}

.doc-tarjetas {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.doc-tarjeta {
    display: block;
    padding: 18px 20px;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: var(--surface);
    text-decoration: none;
    transition: border-color 0.2s, transform 0.2s;
}

.doc-tarjeta:hover {
    border-color: var(--brand);
    transform: translateY(-2px);
}

.doc-tarjeta strong {
    display: block;
    color: var(--text);
    font-size: 1rem;
    margin-bottom: 6px;
}

.doc-tarjeta span {
    color: var(--text-soft);
    font-size: 0.92rem;
    line-height: 1.5;
}

.doc-cierre {
    margin-top: 56px;
    padding: 28px;
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-soft) 100%);
    color: #fff;
    text-align: center;
}

.doc-cierre h2 {
    font-family: 'Bricolage Grotesque', system-ui, sans-serif;
    color: #fff;
    margin: 0 0 10px;
    font-size: 1.5rem;
}

/* Los botones de dentro del artículo y de la barra lateral heredaban el color
   del enlace (azul oscuro o gris) y quedaban ilegibles sobre el fondo azul. */
.doc-cuerpo .btn-primary,
.doc-lateral .btn-primary,
.doc-cierre .btn-primary {
    color: #fff;
    text-decoration: none;
}

.doc-cierre p {
    color: rgba(255, 255, 255, 0.75);
    margin: 0 auto 20px;
    max-width: 60ch;
}

/* Aviso de envío del formulario, en la landing y en la página de gracias. */
.form-aviso {
    margin-top: 14px;
    padding: 12px 14px;
    border-radius: var(--radius);
    font-size: 0.92rem;
    line-height: 1.5;
}

.form-aviso.ok {
    background: #dcfce7;
    color: #14532d;
}

.form-aviso.error {
    background: #fee2e2;
    color: #7f1d1d;
}

/* Índice de secciones (funcionalidades, sectores, manual). */
.indice-grid {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    margin-top: 32px;
}

/* Recorrido anterior/siguiente dentro de funcionalidades y del manual. */
.doc-secuencia {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    margin: 40px 0 8px;
}

.doc-secuencia-enlace {
    display: block;
    max-width: 48%;
    padding: 14px 18px;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: var(--surface);
    text-decoration: none;
    transition: border-color 0.2s, transform 0.2s;
}

.doc-secuencia-enlace:hover {
    border-color: var(--brand);
    transform: translateY(-2px);
}

.doc-secuencia-enlace span {
    display: block;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--text-soft);
    margin-bottom: 4px;
}

.doc-secuencia-enlace strong {
    color: var(--brand);
    font-size: 0.98rem;
    line-height: 1.35;
}

.doc-secuencia-siguiente {
    text-align: right;
    margin-left: auto;
}

/* La vuelta al índice de la sección (los sectores). */
.doc-volver {
    margin: 32px 0 8px;
}

.doc-volver a {
    font-weight: 600;
    text-decoration: none;
    color: var(--brand);
}

/* Los enlaces-botón del lateral no heredan los colores de la lista de anclas:
   sin esto, .doc-lateral a:hover ganaba a .btn-primary y el «Empieza gratis»
   se quedaba con el texto del color del fondo al pasar el ratón. */
.doc-lateral a.btn,
.doc-lateral a.btn:hover {
    color: #fff;
}

/* ── Descargables y calculadora (31-08-2026) ───────────────────────────── */

.doc-descarga {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin: 18px 0;
    padding: 16px 18px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: #fff;
    text-decoration: none;
    color: inherit;
    transition: border-color .15s, box-shadow .15s;
}

.doc-descarga:hover {
    border-color: var(--brand);
    box-shadow: 0 2px 10px rgba(0, 0, 0, .06);
}

.doc-descarga-flecha {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--brand-light);
    color: var(--brand-dark);
    font-size: 1.2rem;
    font-weight: 700;
}

.doc-descarga-texto { display: block; min-width: 0; }
.doc-descarga-texto strong { display: block; color: var(--brand-dark); }
.doc-descarga-texto span { display: block; font-size: .93rem; line-height: 1.5; color: var(--text-soft); }
.doc-descarga-meta { margin-top: 4px; font-size: .82rem !important; text-transform: uppercase; letter-spacing: .04em; }

.doc-calculadora {
    display: grid;
    gap: 18px;
    margin: 24px 0;
    padding: 20px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: #fff;
}

.doc-calc-campo label { display: block; font-weight: 600; margin-bottom: 8px; }

.doc-calc-entrada { display: flex; align-items: center; gap: 10px; }

.doc-calc-entrada input {
    width: 160px;
    min-height: 44px;
    padding: 8px 12px;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 1rem;
    font-variant-numeric: tabular-nums;
}

.doc-calc-entrada input:focus { outline: 2px solid var(--brand); outline-offset: 1px; }
.doc-calc-entrada span { color: var(--text-soft); }
.doc-calc-ayuda { margin: 6px 0 0; font-size: .88rem; line-height: 1.5; color: var(--text-soft); }

.doc-calc-resultado {
    padding: 18px;
    border-radius: 10px;
    background: var(--brand-light);
    text-align: center;
}

.doc-calc-resultado p { margin: 0; }
.doc-calc-cifra { font-size: 2rem; font-weight: 700; color: var(--brand-dark); font-variant-numeric: tabular-nums; }
.doc-calc-pie { margin-top: 6px !important; font-size: .93rem; color: var(--text-soft); }

@media (min-width: 720px) {
    .doc-calculadora { grid-template-columns: repeat(3, 1fr); }
    .doc-calc-resultado { grid-column: 1 / -1; }
}

/* ═══════════════════════════════════════════════════════════════════════
   La barra de navegación en el móvil.

   Con el logo y los dos botones no queda sitio: la barra se desbordaba y el
   propio botón del menú se salía de la pantalla, así que en el teléfono se
   tocaba «Regístrate» creyendo que era el acceso. Debajo de 768 px los dos
   botones se guardan dentro del menú desplegable, que es donde el pulgar los
   busca, y arriba solo quedan el logo y el menú.
   ═══════════════════════════════════════════════════════════════════════ */

.solo-movil {
    display: none;
}

@media (max-width: 768px) {
    .ln-nav .ln-cta {
        display: none;
    }

    .ln-links.open .solo-movil {
        display: block;
    }

    /* Dentro del menú manda `.ln-links a`, que los pintaba a los dos del gris
       del texto: el botón azul se quedaba ilegible. */
    .ln-links.open .solo-movil a {
        display: inline-flex;
        width: 100%;
        justify-content: center;
    }

    .ln-links.open .solo-movil .btn-primary {
        color: #fff;
    }

    .ln-links.open .solo-movil .btn-outline {
        color: var(--text);
    }

    .ln-links.open .solo-movil:first-of-type {
        margin-top: 4px;
        padding-top: 12px;
        border-top: 1px solid var(--border);
    }
}

/* Las dos entradas que convierten van en negrita. */
.ln-links a.destacada {
    font-weight: 700;
}

/* «Iniciar sesión» con el borde de la marca, no el gris que se perdía. */
.ln-nav .btn-outline {
    border-color: var(--brand);
    color: var(--brand);
}

/* «Ver cómo se usa» de cada tarjeta de sector de la portada. */
.sector-card .sector-mas {
    display: inline-block;
    margin-top: 12px;
    font-weight: 600;
    text-decoration: none;
    color: var(--brand);
}

.sector-otros {
    margin-top: 28px;
    text-align: center;
    color: var(--slate);
}

.sector-otros a {
    color: var(--brand);
    font-weight: 600;
    text-decoration: none;
}

/* «Iniciar sesión» se rellena al pasar el ratón. */
.ln-nav .btn-outline:hover {
    background: var(--brand);
    border-color: var(--brand);
    color: #fff;
    transform: translateY(-1px);
}

/* Styles that only the home page and the sign-up form need. */

.form-aviso { margin-top: 14px; padding: 12px 14px; border-radius: 10px; font-size: 0.92rem; line-height: 1.5; }
.form-despues { margin-top: 12px; font-size: 0.88rem; line-height: 1.5; color: var(--text-soft); }
#signupForm textarea { width: 100%; padding: 12px 14px; border: 1px solid var(--border);
    border-radius: 10px; font: inherit; color: var(--text); background: var(--surface); resize: vertical; }
.form-aviso.ok { background: #dcfce7; color: #14532d; }
.form-aviso.error { background: #fee2e2; color: #7f1d1d; }

/* Hero: a real screenshot instead of the decorative SVG of the Spanish site. */
.hero-visual .ln-zoom { display: block; }
.hero-screenshot { width: 100%; height: auto; border-radius: 14px; border: 1px solid rgba(255, 255, 255, .12);
    box-shadow: 0 30px 80px rgba(0, 0, 0, .45); background: #fff; }

/* Feature cards are links on this site. */
a.feature-card { display: block; text-decoration: none; color: inherit; }
a.feature-card:hover h3 { color: var(--brand); }
.ln-mas { text-align: center; margin-top: 28px; color: var(--text-soft); font-size: .95rem; line-height: 1.6; }

/* Screenshots section (shared class names with the Spanish site). */
.ln-capturas { padding: 72px 0; }
.ln-capturas-grid { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    margin-top: 32px; align-items: start; }
.ln-capturas figure { margin: 0; }
.ln-capturas img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover;
    object-position: top; border-radius: 12px; border: 1px solid var(--border);
    box-shadow: 0 10px 30px rgba(2, 32, 71, .08); }
.ln-capturas figcaption { margin-top: 10px; font-size: .9rem; color: var(--text-soft); line-height: 1.5; }
.ln-zoom { display: block; cursor: zoom-in; }
.ln-lightbox { position: fixed; inset: 0; z-index: 200; display: none; align-items: center;
    justify-content: center; padding: 24px; background: rgba(2, 16, 33, .88); cursor: zoom-out; }
.ln-lightbox.abierta { display: flex; }
.ln-lightbox img { max-width: min(1100px, 94vw); max-height: 92vh; width: auto; height: auto;
    border-radius: 12px; box-shadow: 0 20px 60px rgba(0, 0, 0, .5); background: #fff; }

/* Pricing strip. */
.ln-precios { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); margin-top: 32px; }
.ln-precio { padding: 26px 24px; border: 1px solid var(--border); border-radius: 16px; background: var(--surface); }
.ln-precio-destacado { border-color: var(--brand); box-shadow: 0 12px 40px rgba(16, 149, 193, .12); }
.ln-precio h3 { font-size: 1.1rem; margin-bottom: 8px; }
.ln-precio-cifra { font-family: 'Bricolage Grotesque', sans-serif; font-weight: 800; font-size: 2rem; color: var(--text); margin: 0 0 14px; }
.ln-precio-cifra span { font-family: 'DM Sans', sans-serif; font-weight: 500; font-size: .95rem; color: var(--text-soft); }
.ln-precio ul { list-style: none; padding: 0; margin: 0; }
.ln-precio li { padding: 6px 0 6px 22px; position: relative; color: var(--text-soft); font-size: .95rem; line-height: 1.5; }
.ln-precio li::before { content: ''; position: absolute; left: 0; top: 13px; width: 12px; height: 7px;
    border-left: 2px solid var(--brand); border-bottom: 2px solid var(--brand); transform: rotate(-45deg); }

/* "Good to know" and "Learn more". */
.ln-aprender { padding: 72px 0; background: var(--surface-alt); border-top: 1px solid var(--border); }
.ln-aprender-enlaces { background: var(--surface); }
.ln-aprender-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); margin-top: 32px; }
.ln-aprender a:not(.ln-aprender-nota a) { display: block; padding: 20px; background: var(--surface); border: 1px solid var(--border);
    border-radius: 16px; text-decoration: none; transition: border-color .2s, transform .2s; }
.ln-aprender-enlaces a { background: var(--surface-alt); }
.ln-aprender a:hover { border-color: var(--brand); transform: translateY(-2px); }
.ln-aprender strong { display: block; color: var(--text); margin-bottom: 6px; }
.ln-aprender span { color: var(--text-soft); font-size: .93rem; line-height: 1.5; }
.ln-aprender-nota { padding: 20px; background: var(--surface); border: 1px solid var(--border); border-radius: 16px; }
.ln-aprender-nota a { color: var(--brand); text-decoration: underline; }

/* Content pages: tables scroll inside their box, and the language note under screenshots. */
.doc-tabla-scroll { overflow-x: auto; margin: 20px 0; }
.doc-tabla-scroll .doc-tabla { margin: 0; min-width: 520px; }
.doc-nota-idioma { margin: 24px 0; padding: 12px 16px; border-left: 3px solid var(--brand); background: var(--surface-alt);
    border-radius: 0 10px 10px 0; font-size: .9rem; color: var(--text-soft); line-height: 1.55; }

/* "Keep reading" cards are links inside the article: no underline on the whole card. */
.doc-cuerpo .doc-tarjeta { text-decoration: none; }
.doc-cuerpo .doc-tarjeta span { color: var(--text-soft); }
