/* ═══════════════════════════════════════════════════════════════
   SOFTME — DESIGN SYSTEM CSS
   Identidad corporativa: Pantone 2013 C (#ff9d00) + Cool Gray 6 XGC (#6d6d6d)
   Tipografía: Montserrat (300/400/500/600/700/800/900)
   Tema: Dark — fondo #080c18
   ═══════════════════════════════════════════════════════════════ */

/* ── 1. TOKENS DE DISEÑO ───────────────────────────────────────── */
:root {
    /* Colores corporativos — Manual Softme */
    --brand-orange:      #ff9d00;
    --brand-orange-dim:  rgba(255,157,0,0.15);
    --brand-orange-glow: rgba(255,157,0,0.08);
    --brand-gray:        #6d6d6d;

    /* Fondos dark */
    --bg-primary:   #080c18;
    --bg-secondary: #0d1224;
    --bg-card:      #111827;
    --bg-card-hover:#131f35;
    --bg-overlay:   rgba(8,12,24,0.78);

    /* Texto */
    --text-primary:   #f1f5f9;
    --text-secondary: #94a3b8;
    --text-muted:     #64748b;
    --text-code:      #e2e8f0;

    /* Bordes */
    --border-subtle:   rgba(255,255,255,0.07);
    --border-card:     rgba(255,255,255,0.06);
    --border-orange:   rgba(255,157,0,0.3);
    --border-orange-s: rgba(255,157,0,0.5);

    /* Acento verde (status) */
    --green-accent:  #10b981;

    /* Radio de borde */
    --radius-sm:  6px;
    --radius-md:  8px;
    --radius-lg:  12px;
    --radius-xl:  16px;
    --radius-2xl: 24px;

    /* Sombras */
    --shadow-card:   0 4px 24px rgba(0,0,0,0.4);
    --shadow-orange: 0 8px 32px rgba(255,157,0,0.15);

    /* Tipografía */
    --font-main: 'Montserrat', system-ui, -apple-system, sans-serif;

    /* Espaciado */
    --section-py: 96px;
    --container-max: 1200px;

    /* Announcement bar + navbar heights (JS los ajusta si cambia tamaño) */
    --announce-h: 41px;   /* altura barra de anuncio cuando está visible */
    --navbar-h:   113px;  /* announce-h + navbar (72px) combinados */
}

/* ── 2. RESET & BASE ───────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-main);
    font-weight: 400;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a { color: var(--brand-orange); text-decoration: none; transition: color .2s; }
a:hover { color: #ffb833; }
a:focus-visible { outline: 2px solid var(--brand-orange); outline-offset: 3px; border-radius: 3px; }

img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }

/* ── 3. UTILIDADES ────────────────────────────────────────────── */
.sm-container {
    max-width: var(--container-max);
    margin-inline: auto;
    padding-inline: 24px;
}

.sm-section { padding-block: var(--section-py); }

.sm-section-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: .75rem;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--brand-orange);
    margin-bottom: 16px;
}

.sm-section-label::before {
    content: '';
    display: inline-block;
    width: 8px; height: 8px;
    background: var(--brand-orange);
    border-radius: 2px;
    flex-shrink: 0;
}

.sm-section-heading {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.15;
    margin-bottom: 20px;
}

.sm-section-sub {
    font-size: 1.05rem;
    font-weight: 400;
    color: var(--text-secondary);
    line-height: 1.7;
    max-width: 640px;
}

.sm-section-header { margin-bottom: 56px; }

/* ── 4. NAVBAR ────────────────────────────────────────────────── */
.sm-announce {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1010;
    width: 100%;
}

.sm-navbar {
    position: fixed;
    top: var(--announce-h); left: 0; right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: background .3s, padding .3s, box-shadow .3s;
}

.sm-navbar.scrolled {
    background: rgba(8,12,24,0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 14px 0;
    box-shadow: 0 1px 0 var(--border-subtle);
}

.sm-navbar-inner {
    max-width: var(--container-max);
    margin-inline: auto;
    padding-inline: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.sm-navbar-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.sm-logo-icon { flex-shrink: 0; width: 36px; height: auto; }
.sm-navbar-logo { height: 36px; width: auto; display: block; flex-shrink: 0; }

.sm-logo-text {
    font-family: var(--font-main);
    font-weight: 300;
    font-size: 1.3rem;
    letter-spacing: .08em;
    color: var(--text-primary);
}

.sm-logo-accent { color: var(--brand-orange); font-weight: 300; }

.sm-navbar-menu {
    display: flex;
    align-items: center;
    gap: 8px;
}

.sm-nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
    list-style: none;
    margin: 0;
}

.sm-nav-link {
    display: block;
    padding: 8px 14px;
    font-size: .875rem;
    font-weight: 500;
    color: var(--text-secondary);
    border-radius: var(--radius-md);
    transition: color .2s, background .2s;
    text-decoration: none;
}

.sm-nav-link:hover { color: var(--text-primary); background: rgba(255,255,255,0.06); }
.sm-nav-link.active { color: var(--brand-orange); }

.sm-btn-nav {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    margin-left: 12px;
    background: var(--brand-orange);
    color: #fff;
    font-size: .875rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    transition: background .2s, transform .15s, box-shadow .2s;
    text-decoration: none;
    white-space: nowrap;
}

.sm-btn-nav:hover {
    background: #e88c00;
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(255,157,0,0.35);
}

/* Hamburger */
.sm-navbar-toggler {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px; height: 44px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
    border-radius: var(--radius-md);
    flex-shrink: 0;
}

.sm-navbar-toggler span {
    display: block;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: transform .25s, opacity .25s;
}

.sm-navbar-toggler[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.sm-navbar-toggler[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.sm-navbar-toggler[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── 5. HERO ──────────────────────────────────────────────────── */
.hero {
    position: relative;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--bg-primary);
}

/* Cuadrícula decorativa de fondo */
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,157,0,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,157,0,0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    z-index: 0;
}

/* Gradiente radial central */
.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 70% 60% at 50% 40%, rgba(255,157,0,0.06) 0%, transparent 70%);
    z-index: 0;
}

/* Vídeo de fondo */
.hero-video-bg {
    position: absolute;
    inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    opacity: 0.35;
    z-index: 0;
    pointer-events: none;
}

/* Canvas de partículas */
#hero-particles {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}

.hero-inner {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: var(--container-max);
    margin-inline: auto;
    padding: 120px 24px 80px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

/* Badge superior */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: var(--brand-orange-dim);
    border: 1px solid var(--border-orange);
    border-radius: 100px;
    font-size: .75rem;
    font-weight: 600;
    color: var(--brand-orange);
    letter-spacing: .06em;
    margin-bottom: 28px;
}

.hero-badge .badge-dot {
    width: 6px; height: 6px;
    background: var(--brand-orange);
    border-radius: 50%;
    animation: pulse-dot 2s ease-in-out infinite;
}

/* H1 */
.hero-title {
    font-size: clamp(2.4rem, 5vw, 3.75rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    min-height: 2.4lh;  /* reserva espacio para typewriter */
}

.hero-title .hero-static { display: block; color: var(--text-primary); }

.hero-title .hero-dynamic {
    display: block;
    color: var(--brand-orange);
    position: relative;
}

/* Caret typewriter */
.typewriter-caret {
    display: inline-block;
    width: 3px;
    background: var(--brand-orange);
    margin-left: 2px;
    vertical-align: baseline;
    height: .85em;
    border-radius: 2px;
    animation: blink 1s step-end infinite;
}

/* Subtítulo */
.hero-subtitle {
    font-size: 1.05rem;
    font-weight: 400;
    color: var(--text-secondary);
    line-height: 1.75;
    margin-bottom: 36px;
    max-width: 520px;
}

/* Botones */
.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 40px;
}

.sm-link {
    color: var(--sm-orange);
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-color: rgba(255, 157, 0, 0.4);
    transition: text-decoration-color 0.2s;
}
.sm-link:hover {
    color: var(--sm-orange);
    text-decoration-color: var(--sm-orange);
}

.sm-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    background: var(--brand-orange);
    color: #fff;
    font-size: .95rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    border: none;
    cursor: pointer;
    transition: background .2s, transform .15s, box-shadow .2s;
    text-decoration: none;
}

.sm-btn-primary:hover {
    background: #e88c00;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(255,157,0,0.35);
}

.sm-btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    background: transparent;
    color: var(--text-primary);
    font-size: .95rem;
    font-weight: 500;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-card);
    cursor: pointer;
    transition: border-color .2s, background .2s, transform .15s;
    text-decoration: none;
}

.sm-btn-secondary:hover {
    border-color: rgba(255,255,255,0.2);
    background: rgba(255,255,255,0.05);
    color: var(--text-primary);
    transform: translateY(-1px);
}

/* Social proof */
.hero-social-proof {
    font-size: .8rem;
    font-weight: 500;
    color: var(--text-muted);
    letter-spacing: .05em;
}

/* ── Panel de código (columna derecha) ── */
.hero-code-wrap {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.hero-floating-badge {
    position: absolute;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    background: rgba(13,18,36,0.9);
    backdrop-filter: blur(8px);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-lg);
    font-size: .78rem;
    font-weight: 600;
    color: var(--text-primary);
    z-index: 3;
    white-space: nowrap;
    animation: float 4s ease-in-out infinite;
}

.hero-floating-badge.top { top: -16px; right: 24px; animation-delay: 0s; }
.hero-floating-badge.bottom { bottom: -16px; left: 24px; animation-delay: 2s; }

.code-panel {
    background: rgba(13,18,36,0.85);
    backdrop-filter: blur(16px);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-card), inset 0 1px 0 rgba(255,255,255,0.05);
}

.code-panel-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    border-bottom: 1px solid var(--border-subtle);
    background: rgba(255,255,255,0.03);
}

.code-dots { display: flex; gap: 6px; }
.code-dot {
    width: 12px; height: 12px;
    border-radius: 50%;
    background: var(--border-subtle);
}
.code-dot:nth-child(1) { background: #ef4444; }
.code-dot:nth-child(2) { background: #f59e0b; }
.code-dot:nth-child(3) { background: #10b981; }

.code-filename {
    font-size: .75rem;
    color: var(--text-muted);
    font-family: 'Courier New', monospace;
    margin-left: 4px;
}

.code-panel-body {
    padding: 20px 20px 20px 0;
    overflow-x: auto;
}

.code-panel-body pre {
    margin: 0;
    font-family: 'Courier New', Consolas, monospace;
    font-size: .78rem;
    line-height: 1.7;
    color: var(--text-code);
    counter-reset: line;
}

.code-line {
    display: flex;
    gap: 16px;
    padding: 0 20px;
}

.code-line:hover { background: rgba(255,255,255,0.03); }

.code-ln {
    color: var(--text-muted);
    user-select: none;
    min-width: 20px;
    text-align: right;
    flex-shrink: 0;
}

.code-content { white-space: pre; }

.ct-kw  { color: #c792ea; }   /* keyword */
.ct-cls { color: #82aaff; }   /* class/type */
.ct-str { color: #c3e88d; }   /* string */
.ct-cm  { color: #546e7a; }   /* comment */
.ct-fn  { color: #82aaff; }   /* function */
.ct-at  { color: var(--brand-orange); } /* attribute */
.ct-op  { color: #89ddff; }   /* operator */

/* Cursor parpadeante en el código */
.code-cursor {
    color: var(--brand-orange);
    animation: blink 1s step-end infinite;
    font-weight: 700;
}

/* ── 6. SECCIÓN CONTADORES ────────────────────────────────────── */
.counters-section {
    padding-block: 64px;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
}

.counters-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2px;
}

.counter-item {
    text-align: center;
    padding: 32px 24px;
    border-right: 1px solid var(--border-subtle);
}

.counter-item:last-child { border-right: none; }

.counter-value {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: var(--brand-orange);
    line-height: 1;
    margin-bottom: 8px;
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 2px;
}

.counter-suffix { font-size: 1.5rem; font-weight: 700; }

.counter-label {
    font-size: .875rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.counter-note {
    font-size: .7rem;
    color: var(--text-muted);
    margin-top: 6px;
    line-height: 1.4;
}

/* ── 7. SECCIÓN QUÉ HACEMOS ───────────────────────────────────── */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

/* Banda partner tech bajo las cards de servicios */
.home-partner-band {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-top: 32px;
    padding: 20px 28px;
    background: rgba(255,157,0,0.06);
    border: 1px solid rgba(255,157,0,0.18);
    border-radius: 12px;
}
.home-partner-band-label {
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--sm-orange);
    margin: 0 0 4px;
}
.home-partner-band-desc {
    font-size: .9rem;
    color: var(--text-secondary);
    margin: 0;
}
.home-partner-band-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: .85rem;
    font-weight: 600;
    color: var(--sm-orange);
    white-space: nowrap;
    text-decoration: none;
    transition: gap .2s;
}
.home-partner-band-link:hover { gap: 10px; color: var(--sm-orange); }
@media (max-width: 640px) {
    .home-partner-band { flex-direction: column; align-items: flex-start; }
    .home-partner-band-link { margin-top: 8px; }
}

.pillar-card {
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-xl);
    padding: 32px;
    position: relative;
    transition: transform .25s cubic-bezier(.25,.46,.45,.94),
                box-shadow .25s cubic-bezier(.25,.46,.45,.94),
                border-color .25s;
    cursor: pointer;
}

/* Stretched link — cubre toda la card */
.pillar-card-link {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    z-index: 1;
}
/* Elementos interactivos dentro de la card por encima del enlace */
.pillar-card .pillar-tags { position: relative; z-index: 2; }

.pillar-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(255,157,0,0.12);
    border-left: 3px solid var(--brand-orange);
    border-color: var(--border-orange);
}

/* Servicio estrella 2026 — MCP */
.pillar-card--featured {
    border-color: rgba(255,157,0,0.35);
    background: linear-gradient(135deg, var(--bg-card) 0%, rgba(255,157,0,0.04) 100%);
    position: relative;
}

.pillar-card--featured::before {
    content: 'NUEVO · 2026';
    position: absolute;
    top: 16px;
    right: 16px;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--brand-orange);
    background: var(--brand-orange-dim);
    border: 1px solid rgba(255,157,0,0.3);
    border-radius: 4px;
    padding: 3px 8px;
}

.pillar-card-number {
    font-size: .75rem;
    font-weight: 700;
    color: var(--brand-orange);
    letter-spacing: .1em;
    margin-bottom: 20px;
    opacity: .7;
}

.pillar-card-icon {
    width: 48px; height: 48px;
    background: var(--brand-orange-dim);
    border: 1px solid var(--border-orange);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--brand-orange);
}

.pillar-card-icon svg { width: 24px; height: 24px; }

.pillar-card-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
    line-height: 1.3;
}

.pillar-card-desc {
    font-size: .9rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 24px;
}

.pillar-tags { display: flex; flex-wrap: wrap; gap: 8px; }

.pillar-tag {
    padding: 4px 10px;
    font-size: .7rem;
    font-weight: 600;
    color: var(--text-muted);
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--border-subtle);
    border-radius: 100px;
    letter-spacing: .04em;
}

/* ── 8. SECCIÓN DIAGRAMA MCP ──────────────────────────────────── */
.mcp-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}
@media (max-width: 768px) {
    .mcp-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

.mcp-cta { margin-top: 28px; display: inline-flex; }
@media (max-width: 480px) {
    .mcp-cta { display: flex; width: 100%; justify-content: center; }
}

.mcp-section {
    padding-block: var(--section-py);
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
}

.mcp-diagram-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    max-width: 480px;
    margin: 0 auto;
    position: relative;
}

.mcp-node {
    width: 100%;
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-xl);
    padding: 24px 28px;
    display: flex;
    align-items: center;
    gap: 20px;
    position: relative;
    z-index: 1;
}

.mcp-node.node-ai {
    background: var(--brand-orange-glow);
    border-color: var(--border-orange);
}

.mcp-node.node-mcp {
    background: var(--brand-orange-dim);
    border-color: var(--border-orange-s);
    box-shadow: 0 0 40px rgba(255,157,0,0.12);
}

.mcp-node.node-legacy {
    background: rgba(168,168,176,0.05);
    border-color: rgba(168,168,176,0.2);
}

.mcp-node-icon {
    width: 48px; height: 48px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.node-ai .mcp-node-icon   { background: rgba(255,157,0,0.12); color: var(--brand-orange); }
.node-mcp .mcp-node-icon  { background: rgba(255,157,0,0.2);  color: var(--brand-orange); }
.node-legacy .mcp-node-icon { background: rgba(168,168,176,0.1); color: var(--text-secondary); }

.mcp-node-icon svg { width: 24px; height: 24px; }

.mcp-node-text {}

.mcp-node-label {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.mcp-node-sub {
    font-size: .78rem;
    color: var(--text-secondary);
}

/* Status dot en nodo MCP */
.mcp-status {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 8px;
}

.mcp-status-dot {
    width: 10px; height: 10px;
    background: var(--green-accent);
    border-radius: 50%;
    animation: pulse-dot 2s ease-in-out infinite;
}

.mcp-status-text {
    font-size: .7rem;
    font-weight: 600;
    color: var(--green-accent);
    letter-spacing: .06em;
    text-transform: uppercase;
}

/* Conector SVG animado */
.mcp-connector {
    width: 2px;
    height: 64px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 0;
}

.mcp-connector svg {
    width: 100%;
    height: 100%;
}

/* Chip de protocolo sobre la flecha */
.mcp-arrow-chip {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background: var(--bg-secondary);
    border: 1px solid var(--border-card);
    border-radius: 100px;
    padding: 3px 10px;
    font-size: .65rem;
    font-weight: 600;
    color: var(--text-muted);
    white-space: nowrap;
    z-index: 2;
    letter-spacing: .04em;
}

.mcp-connector.orange-connector .mcp-arrow-chip { color: var(--brand-orange); border-color: var(--border-orange); }

/* ── 9. SECCIÓN POR QUÉ SOFTME ────────────────────────────────── */
.why-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.why-image-wrap {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
}

.why-image-wrap img {
    width: 100%;
    aspect-ratio: 3/2;
    object-fit: cover;
    filter: brightness(.85) saturate(.9);
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-subtle);
    box-shadow: 0 0 40px rgba(255,157,0,0.1);
}

.why-badges {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 28px;
}

.why-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-md);
    font-size: .82rem;
    font-weight: 600;
    color: var(--text-secondary);
    align-self: flex-start;
}

.why-badge .badge-icon { color: var(--brand-orange); font-size: 1rem; }

.why-list { display: flex; flex-direction: column; gap: 20px; margin-bottom: 32px; }

.why-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.why-item-num {
    width: 28px; height: 28px;
    background: var(--brand-orange-dim);
    border: 1px solid var(--border-orange);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .7rem;
    font-weight: 800;
    color: var(--brand-orange);
    flex-shrink: 0;
    margin-top: 2px;
}

.why-item-text {}
.why-item-title { font-size: .95rem; font-weight: 700; color: var(--text-primary); margin-bottom: 4px; }
.why-item-desc  { font-size: .85rem; color: var(--text-secondary); line-height: 1.6; }

/* ── 10. SECCIÓN SECTORES ─────────────────────────────────────── */
.sectors-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.sector-card {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    border: 1px solid var(--border-card);
    padding: 36px 32px;
    min-height: 220px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    background: var(--bg-card);
    background-size: cover;
    background-position: center;
    transition: transform .25s cubic-bezier(.25,.46,.45,.94),
                box-shadow .25s;
}

.sector-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--bg-overlay);
    border-radius: inherit;
    z-index: 0;
    transition: background .25s;
}

.sector-card:hover { transform: translateY(-6px); box-shadow: 0 20px 40px rgba(255,157,0,0.12); }
.sector-card:hover::before { background: rgba(8,12,24,0.65); }

.sector-card > * { position: relative; z-index: 1; }

.sector-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    background: var(--brand-orange-dim);
    border: 1px solid var(--border-orange);
    border-radius: 100px;
    font-size: .68rem;
    font-weight: 700;
    color: var(--brand-orange);
    letter-spacing: .06em;
    margin-bottom: 14px;
    align-self: flex-start;
}

.sector-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.sector-desc { font-size: .87rem; color: var(--text-secondary); line-height: 1.65; }

/* ── 11. SECCIÓN CASOS DE USO ─────────────────────────────────── */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 48px;
}

.testimonio-card {
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-xl);
    padding: 28px;
    display: flex;
    flex-direction: column;
    transition: transform .25s cubic-bezier(.25,.46,.45,.94),
                box-shadow .25s;
}

.testimonio-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(255,157,0,0.12);
    border-left: 3px solid var(--brand-orange);
}

.testimonio-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    background: rgba(16,185,129,0.1);
    border-radius: 100px;
    font-size: .7rem;
    font-weight: 700;
    color: var(--green-accent);
    letter-spacing: .05em;
    margin-bottom: 16px;
    align-self: flex-start;
}

.testimonio-card.mcp-hotel .testimonio-tag {
    background: var(--brand-orange-dim);
    color: var(--brand-orange);
}

.testimonio-quote {
    font-size: .9rem;
    color: var(--text-secondary);
    line-height: 1.75;
    flex: 1;
    margin-bottom: 20px;
    font-style: italic;
}

.testimonio-author { display: flex; align-items: center; gap: 12px; }

.testimonio-avatar {
    width: 40px; height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--brand-orange), #e88c00);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .8rem;
    font-weight: 700;
    color: #fff;
    flex-shrink: 0;
}

.testimonio-avatar.blue-grad { background: linear-gradient(135deg, #3b82f6, #1e40af); }

.testimonio-name { font-size: .87rem; font-weight: 600; color: var(--text-primary); }
.testimonio-company { font-size: .75rem; color: var(--text-muted); margin-top: 2px; }

/* Banner MCP */
.mcp-banner {
    background: var(--brand-orange-dim);
    border: 1px solid var(--border-orange);
    border-radius: var(--radius-xl);
    padding: 28px 36px;
    text-align: center;
}

.mcp-banner p {
    font-size: .95rem;
    font-weight: 500;
    color: var(--text-secondary);
    line-height: 1.7;
    max-width: 700px;
    margin-inline: auto;
}

.mcp-banner strong { color: var(--brand-orange); }

/* ── 12. SECCIÓN STACK TÉCNICO — MARQUEE ──────────────────────── */
.stack-section { background: var(--bg-secondary); }

.marquee-wrapper {
    overflow: hidden;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    margin-bottom: 16px;
}

.marquee-wrapper:hover .marquee-track,
.marquee-wrapper:hover .marquee-track-reverse {
    animation-play-state: paused;
}

.marquee-track {
    display: flex;
    gap: 24px;
    width: max-content;
    animation: marquee-left 25s linear infinite;
}

.marquee-track-reverse {
    animation: marquee-right 30s linear infinite;
}

.marquee-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: 100px;
    font-size: .82rem;
    font-weight: 500;
    color: var(--text-secondary);
    white-space: nowrap;
    flex-shrink: 0;
    transition: border-color .2s;
}

.marquee-tag:hover { border-color: var(--border-orange); color: var(--brand-orange); }

.marquee-dot {
    width: 4px; height: 4px;
    background: var(--brand-orange);
    border-radius: 50%;
    opacity: .5;
    flex-shrink: 0;
}

/* ── 13. SECCIÓN CTA FINAL ────────────────────────────────────── */
.cta-section { padding-block: var(--section-py); }

@property --cta-angle {
    syntax: '<angle>';
    initial-value: 0deg;
    inherits: false;
}

.cta-box {
    position: relative;
    max-width: 760px;
    margin-inline: auto;
    background: var(--bg-card);
    border-radius: var(--radius-2xl);
    padding: 64px 48px;
    text-align: center;
    overflow: hidden;
    isolation: isolate;
}

/* Fondo luminoso */
.cta-box::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 60% 50% at 50% 50%, rgba(255,157,0,0.06) 0%, transparent 70%);
    z-index: 0;
    pointer-events: none;
}

/* Borde animado */
.cta-box::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: inherit;
    background: conic-gradient(
        from var(--cta-angle, 0deg),
        transparent 20%,
        #ff9d00 40%,
        transparent 60%
    );
    animation: rotate-border 4s linear infinite;
    z-index: -1;
}

.cta-box-inner { position: relative; z-index: 1; }

.cta-heading {
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1.2;
    margin-bottom: 20px;
}

.cta-sub {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 36px;
    max-width: 520px;
    margin-inline: auto;
}

.cta-actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 24px;
}

.cta-note {
    font-size: .8rem;
    color: var(--text-muted);
}

/* ── 14. FOOTER ───────────────────────────────────────────────── */
.sm-footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-subtle);
    padding-top: 72px;
}

.sm-footer-inner {
    max-width: var(--container-max);
    margin-inline: auto;
    padding-inline: 24px;
    display: grid;
    grid-template-columns: 1.4fr repeat(3, 1fr);
    gap: 48px;
    padding-bottom: 48px;
}

.sm-footer-tagline {
    font-size: .875rem;
    color: var(--text-secondary);
    margin-top: 12px;
    margin-bottom: 8px;
}

.sm-footer-address {
    font-size: .82rem;
    color: var(--text-muted);
    line-height: 1.8;
}

.sm-footer-address a { color: var(--text-muted); }
.sm-footer-address a:hover { color: var(--brand-orange); }

.sm-footer-nav { display: contents; }

.sm-footer-col {}

.sm-footer-heading {
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--text-primary);
    margin-bottom: 20px;
}

.sm-footer-col ul { display: flex; flex-direction: column; gap: 12px; }

.sm-footer-col a {
    font-size: .87rem;
    color: var(--text-muted);
    transition: color .2s;
}

.sm-footer-col a:hover { color: var(--brand-orange); }

.sm-footer-bottom {
    max-width: var(--container-max);
    margin-inline: auto;
    padding: 24px;
    border-top: 1px solid var(--border-subtle);
    text-align: center;
    font-size: .78rem;
    color: var(--text-muted);
}

.sm-footer-bottom a { color: var(--text-muted); }
.sm-footer-bottom a:hover { color: var(--brand-orange); }

.sm-footer-social {
    display: flex;
    gap: 12px;
    margin-top: 16px;
}
.sm-footer-social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: rgba(255,255,255,0.06);
    border: 1px solid var(--border-subtle);
    color: var(--text-muted);
    transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.sm-footer-social-link:hover {
    background: rgba(255,157,0,0.12);
    border-color: rgba(255,157,0,0.3);
    color: var(--sm-orange);
}

/* ── 15. SECTION SEPARATOR ────────────────────────────────────── */
.section-separator {
    border: none;
    border-top: 1px solid var(--border-subtle);
    margin: 0;
}

/* ── 16. ANIMACIONES ──────────────────────────────────────────── */

/* A1 — Typewriter caret */
@keyframes blink {
    0%, 100% { opacity: 1; }
    50%       { opacity: 0; }
}

/* Flotación suave */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-8px); }
}

/* Pulso del dot verde */
@keyframes pulse-dot {
    0%, 100% { box-shadow: 0 0 0 0 rgba(16,185,129,0.5); }
    50%       { box-shadow: 0 0 0 8px rgba(16,185,129,0); }
}

/* A4 — Diagrama MCP: luz viajando */
@keyframes flow-down {
    0%   { stroke-dashoffset: 120; }
    100% { stroke-dashoffset: 0; }
}

@keyframes flow-up {
    0%   { stroke-dashoffset: 0; }
    100% { stroke-dashoffset: 120; }
}

/* A5 — Borde CTA rotatorio */
@keyframes rotate-border {
    to { --cta-angle: 360deg; }
}

/* A6 — Marquee */
@keyframes marquee-left {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

@keyframes marquee-right {
    0%   { transform: translateX(-50%); }
    100% { transform: translateX(0); }
}

/* Entrada fade-up para secciones */
@keyframes fade-up {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: translateY(0); }
}

.animate-in {
    animation: fade-up .5s ease-out both;
}

/* ── 17. PREFERS-REDUCED-MOTION ───────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }

    .marquee-track, .marquee-track-reverse { animation: none; }

    html { scroll-behavior: auto; }
}

/* ── 18. RESPONSIVE ───────────────────────────────────────────── */
@media (max-width: 1024px) {
    .counters-grid { grid-template-columns: repeat(2, 1fr); }
    .counter-item { border-right: none; border-bottom: 1px solid var(--border-subtle); }
    .counter-item:nth-child(odd) { border-right: 1px solid var(--border-subtle); }
    .counter-item:last-child { border-bottom: none; }

    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .testimonials-grid { grid-template-columns: 1fr 1fr; }

    .why-grid { grid-template-columns: 1fr; }
    .why-image-wrap { order: -1; max-width: 500px; }

    .sm-footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    :root { --section-py: 64px; }

    /* Navbar móvil */
    .sm-navbar-toggler { display: flex; }

    .sm-navbar-menu {
        position: fixed;
        top: 0; right: -100%;
        width: min(300px, 80vw);
        height: 100dvh;
        background: rgba(8,12,24,0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        align-items: flex-start;
        padding: 80px 24px 32px;
        gap: 0;
        transition: right .3s cubic-bezier(.25,.46,.45,.94);
        border-left: 1px solid var(--border-subtle);
    }

    .sm-navbar-menu.open { right: 0; }

    .sm-nav-links { flex-direction: column; width: 100%; gap: 4px; margin-bottom: 24px; }
    .sm-nav-link { padding: 12px 16px; font-size: 1rem; }
    .sm-btn-nav { width: 100%; justify-content: center; margin-left: 0; }

    /* Hero */
    .hero-inner {
        grid-template-columns: 1fr;
        padding: 100px 24px 64px;
        gap: 48px;
        overflow-x: hidden;
    }

    .hero-title {
        font-size: clamp(2rem, 8vw, 2.8rem);
        word-break: break-word;
        overflow-wrap: break-word;
    }

    .hero-subtitle { font-size: 1rem; }

    .hero-copy { min-width: 0; overflow: hidden; }

    .hero-code-wrap {
        max-width: 100%;
        overflow: hidden;
    }

    .code-panel { overflow: hidden; }
    .code-panel-body { overflow-x: auto; -webkit-overflow-scrolling: touch; }

    .hero-floating-badge { display: none; }

    /* Grids */
    .services-grid { grid-template-columns: 1fr; }
    .sectors-grid  { grid-template-columns: 1fr; }
    .testimonials-grid { grid-template-columns: 1fr; }
    .counters-grid { grid-template-columns: 1fr 1fr; }

    /* CTA */
    .cta-box { padding: 40px 24px; }

    /* Footer */
    .sm-footer-inner { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
    .hero-title { font-size: clamp(1.75rem, 9vw, 2.2rem); }
    .hero-actions { flex-direction: column; gap: 12px; }
    .hero-actions .sm-btn-primary,
    .hero-actions .sm-btn-secondary { width: 100%; justify-content: center; }

    .counters-grid { grid-template-columns: 1fr; }
    .counter-item { border-right: none !important; }

    .hero-actions { flex-direction: column; }
    .sm-btn-primary, .sm-btn-secondary { justify-content: center; text-align: center; }
}

/* ══════════════════════════════════════════════════════════════════
   PÁGINA DE CONTACTO
══════════════════════════════════════════════════════════════════ */

/* ── Hero ──────────────────────────────────────────────────────── */
.contact-hero {
    padding-top: calc(var(--navbar-h, 72px) + 80px);
    padding-bottom: 60px;
    text-align: center;
    background: radial-gradient(ellipse 60% 40% at 50% 0%, rgba(255,157,0,0.06) 0%, transparent 70%),
                var(--bg-primary);
}

.contact-hero-sub {
    font-size: 1.15rem;
    color: var(--text-secondary);
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ── Layout principal: grid formulario + info ──────────────────── */
.contact-main { padding-top: 0; }

.contact-grid {
    display: grid;
    grid-template-columns: 340px 1fr;
    gap: 60px;
    align-items: start;
}

/* ── Columna info ──────────────────────────────────────────────── */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.contact-info-block {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.contact-info-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background: var(--brand-orange-dim);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--brand-orange);
}

.contact-info-icon svg { width: 20px; height: 20px; }

.contact-info-label {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-muted);
    margin: 0 0 4px;
}

.contact-info-block p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.6;
}

.contact-info-block a {
    color: var(--brand-orange);
    text-decoration: none;
}
.contact-info-block a:hover { text-decoration: underline; }
.contact-info-note { color: var(--sm-gray); font-size: 0.82rem; }

/* ── Botón reserva de cita ─────────────────────────────────────── */
.contact-book-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 14px 20px;
    background: rgba(255, 157, 0, 0.08);
    border: 1px solid rgba(255, 157, 0, 0.35);
    border-radius: 10px;
    color: var(--brand-orange);
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: background 0.2s, border-color 0.2s;
    margin-bottom: 8px;
}
.contact-book-btn:hover {
    background: rgba(255, 157, 0, 0.15);
    border-color: var(--brand-orange);
    color: var(--brand-orange);
    text-decoration: none;
}
.contact-book-btn svg { width: 20px; height: 20px; flex-shrink: 0; }
.contact-anydesk-btn { display: inline-block; margin-top: 8px; }
.contact-anydesk-btn img { display: block; border-radius: 4px; }
.contact-support-portal-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 8px;
    color: var(--sm-text-light, #e2e8f0);
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: background 0.2s, border-color 0.2s;
    margin-bottom: 8px;
}
.contact-support-portal-btn:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.3);
    color: #fff;
    text-decoration: none;
}
.contact-support-portal-btn svg { width: 18px; height: 18px; flex-shrink: 0; }

.contact-response-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 20px;
    background: rgba(255,157,0,0.08);
    border: 1px solid rgba(255,157,0,0.2);
    border-radius: 12px;
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-top: 8px;
}
.contact-response-badge svg { width: 20px; height: 20px; color: var(--brand-orange); flex-shrink: 0; }
.contact-response-badge strong { color: var(--brand-orange); }

/* ── Alerta de error global ────────────────────────────────────── */
.contact-alert {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px 20px;
    border-radius: 10px;
    margin-bottom: 24px;
    font-size: 0.9rem;
}

.contact-alert--error {
    background: rgba(239,68,68,0.12);
    border: 1px solid rgba(239,68,68,0.3);
    color: #fca5a5;
}
.contact-alert--error svg { width: 20px; height: 20px; flex-shrink: 0; margin-top: 1px; }

/* ── Formulario ────────────────────────────────────────────────── */
.contact-form-wrapper {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    padding: 40px;
}

.contact-form { display: flex; flex-direction: column; gap: 20px; }

.contact-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.contact-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.contact-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
    letter-spacing: 0.02em;
}

.contact-input {
    background: var(--bg-secondary);
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
    padding: 12px 16px;
    font-size: 0.95rem;
    font-family: var(--font-primary);
    color: var(--text-primary);
    transition: border-color 0.2s, box-shadow 0.2s;
    outline: none;
    width: 100%;
    box-sizing: border-box;
}

.contact-input::placeholder { color: var(--text-muted); }

.contact-input:focus {
    border-color: var(--brand-orange);
    box-shadow: 0 0 0 3px rgba(255,157,0,0.12);
}

.contact-input.input-validation-error {
    border-color: rgba(239,68,68,0.6);
    box-shadow: 0 0 0 3px rgba(239,68,68,0.08);
}

.contact-textarea { resize: vertical; min-height: 140px; }

/* Checkbox de privacidad */
.contact-field--check { flex-direction: row; align-items: flex-start; gap: 12px; flex-wrap: wrap; }

.contact-check-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.875rem;
    color: var(--text-secondary);
    cursor: pointer;
    line-height: 1.5;
}

.contact-check-input {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    accent-color: var(--brand-orange);
    margin-top: 1px;
    cursor: pointer;
}

.contact-check-label a {
    color: var(--brand-orange);
    text-decoration: none;
}
.contact-check-label a:hover { text-decoration: underline; }

/* Mensajes de validación */
.contact-validation {
    font-size: 0.8rem;
    color: #f87171;
    min-height: 18px;
}

/* Botón enviar */
.contact-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    align-self: flex-start;
    margin-top: 4px;
    padding: 14px 32px;
    font-size: 1rem;
    cursor: pointer;
}
.contact-submit svg { width: 20px; height: 20px; }
.contact-submit:disabled { opacity: 0.6; cursor: not-allowed; }

/* ── Página de gracias ─────────────────────────────────────────── */
.thanks-section {
    min-height: calc(100vh - var(--navbar-h, 72px));
    display: flex;
    align-items: center;
    background: radial-gradient(ellipse 50% 50% at 50% 30%, rgba(255,157,0,0.05) 0%, transparent 70%),
                var(--bg-primary);
}

.thanks-container {
    text-align: center;
    max-width: 640px;
    margin-inline: auto;
    padding-block: 80px;
}

.thanks-icon {
    width: 72px;
    height: 72px;
    background: rgba(34,197,94,0.12);
    border: 1px solid rgba(34,197,94,0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 32px;
    color: #4ade80;
    animation: fade-up 0.5s ease both;
}
.thanks-icon svg { width: 36px; height: 36px; }

.thanks-body {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin: 0 0 16px;
}
.thanks-body a { color: var(--brand-orange); text-decoration: none; }
.thanks-body a:hover { text-decoration: underline; }

.thanks-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 36px;
}

.thanks-divider {
    border: none;
    border-top: 1px solid var(--border-subtle);
    margin: 48px 0;
}

.thanks-next { text-align: center; }

.thanks-next-text {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin: 8px 0 24px;
}

.thanks-next-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--brand-orange);
    text-decoration: none;
    transition: gap 0.2s;
}
.thanks-next-link:hover { gap: 12px; }
.thanks-next-link svg { width: 18px; height: 18px; }

.thanks-urgent {
    font-size: 0.83rem;
    color: var(--text-muted);
    margin-top: 1rem;
}
.thanks-urgent a { color: var(--text-secondary); text-decoration: underline; text-underline-offset: 2px; }

.thanks-recursos { text-align: left; }
.thanks-recursos-lead {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin: 0.5rem 0 2rem;
}
.thanks-recursos-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    text-align: left;
}
.thanks-recurso-card {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 1.25rem 1.25rem 1rem;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 10px;
    text-decoration: none;
    transition: border-color 0.2s;
}
.thanks-recurso-card:hover { border-color: rgba(255,157,0,0.35); }
.thanks-recurso-tag {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--sm-orange);
}
.thanks-recurso-card h3 {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.35;
    margin: 0;
}
.thanks-recurso-card p {
    font-size: 0.8rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
    flex: 1;
}
.thanks-recurso-link {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--sm-orange);
    margin-top: 0.25rem;
}
@media (max-width: 600px) {
    .thanks-recursos-grid { grid-template-columns: 1fr; }
    .thanks-container { max-width: 100%; }
}

/* ── Responsive contacto ───────────────────────────────────────── */
@media (max-width: 1024px) {
    .contact-grid { grid-template-columns: 1fr; gap: 48px; }
    .contact-info { flex-direction: row; flex-wrap: wrap; }
    .contact-info-block { flex: 1 1 200px; }
    .contact-response-badge { flex-basis: 100%; }
}

@media (max-width: 768px) {
    .contact-form-wrapper { padding: 28px 20px; }
    .contact-form-row { grid-template-columns: 1fr; }
    .contact-info { flex-direction: column; }
    .contact-submit { width: 100%; }
    .thanks-actions { flex-direction: column; align-items: center; }
}

/* ═══════════════════════════════════════════════════════════════
   PÁGINAS LEGALES (privacidad, aviso legal, cookies)
   ═══════════════════════════════════════════════════════════════ */

/* ── Hero legal ─────────────────────────────────────────────── */
.legal-hero {
    padding-top: calc(var(--navbar-h, 72px) + 64px);
    padding-bottom: 48px;
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border-subtle);
}

.legal-hero-sub {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: 8px;
}

/* ── Cuerpo del documento legal ─────────────────────────────── */
.legal-body {
    background: var(--bg-primary);
}

.legal-content {
    max-width: 780px;
    margin: 0 auto;
    color: var(--text-secondary);
    font-size: 0.975rem;
    line-height: 1.8;
}

.legal-content h2 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-top: 48px;
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--border-subtle);
}

.legal-content h2:first-child {
    margin-top: 0;
}

.legal-content p {
    margin-bottom: 14px;
}

.legal-content ul {
    margin: 0 0 14px 0;
    padding-left: 20px;
}

.legal-content ul li {
    margin-bottom: 6px;
}

.legal-content a {
    color: var(--brand-orange);
    text-decoration: none;
}

.legal-content a:hover {
    text-decoration: underline;
}

/* ── Tabla informativa ──────────────────────────────────────── */
.legal-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
    font-size: 0.9rem;
}

.legal-table th,
.legal-table td {
    padding: 10px 14px;
    border: 1px solid var(--border-subtle);
    text-align: left;
    vertical-align: top;
}

.legal-table thead th {
    background: var(--bg-card);
    color: var(--text-primary);
    font-weight: 600;
}

.legal-table tbody th {
    background: rgba(255,255,255,0.03);
    color: var(--text-primary);
    font-weight: 600;
    white-space: nowrap;
    width: 200px;
}

.legal-table tbody td {
    color: var(--text-secondary);
}

.legal-table tbody tr:hover td,
.legal-table tbody tr:hover th {
    background: rgba(255,157,0,0.04);
}

/* ── Botones de vuelta ──────────────────────────────────────── */
.legal-back {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 56px;
    padding-top: 32px;
    border-top: 1px solid var(--border-subtle);
}

/* ── Responsive legal ───────────────────────────────────────── */
@media (max-width: 768px) {
    .legal-content h2 { font-size: 1rem; }
    .legal-table tbody th { width: auto; white-space: normal; }
    .legal-back { flex-direction: column; align-items: flex-start; }
}

/* ═══════════════════════════════════════════════════════════════
   PÁGINAS DE SERVICIOS
   ═══════════════════════════════════════════════════════════════ */

/* ── Breadcrumb ─────────────────────────────────────────────── */
.srv-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 20px;
}
.srv-breadcrumb a { color: var(--text-muted); text-decoration: none; }
.srv-breadcrumb a:hover { color: var(--brand-orange); }
.srv-breadcrumb-sep { opacity: 0.4; }
.srv-breadcrumb-current { color: var(--brand-orange); }

/* ── Hero de servicio ───────────────────────────────────────── */
.srv-hero {
    padding-top: calc(var(--navbar-h, 72px) + 72px);
    padding-bottom: 72px;
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border-subtle);
    position: relative;
    overflow: hidden;
}
.srv-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 60% 80% at 70% 50%, rgba(255,157,0,0.05), transparent);
    pointer-events: none;
}
.srv-hero-inner { position: relative; max-width: 760px; }
.srv-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--brand-orange-dim);
    border: 1px solid var(--border-orange);
    color: var(--brand-orange);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 5px 12px;
    border-radius: 20px;
    margin-bottom: 20px;
}
.srv-hero h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1.15;
    margin-bottom: 20px;
}
.srv-hero-lead {
    font-size: 1.15rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 36px;
    max-width: 640px;
}
.srv-hero-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* ── Sección de problema ────────────────────────────────────── */
.srv-problem {
    background: var(--bg-primary);
}
.srv-problem-card {
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-left: 3px solid var(--brand-orange);
    border-radius: var(--radius-lg);
    padding: 40px 48px;
    max-width: 860px;
    margin: 0 auto;
}
.srv-problem-card h2 {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--brand-orange);
    margin-bottom: 16px;
}
.srv-problem-card p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 14px;
}
.srv-problem-card p:last-child { margin-bottom: 0; }

/* ── Grid de capacidades ────────────────────────────────────── */
.srv-features {
    background: var(--bg-secondary);
}
.srv-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 48px;
}
.srv-feature-item {
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-lg);
    padding: 28px;
    transition: border-color 0.2s, transform 0.2s;
}
.srv-feature-item:hover {
    border-color: var(--border-orange);
    transform: translateY(-2px);
}
.srv-feature-icon {
    width: 44px;
    height: 44px;
    background: var(--brand-orange-dim);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}
.srv-feature-icon svg {
    width: 22px;
    height: 22px;
    color: var(--brand-orange);
    stroke: var(--brand-orange);
}
.srv-feature-item h3 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}
.srv-feature-item p {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ── Stats / datos de mercado ───────────────────────────────── */
.srv-stats {
    background: var(--bg-primary);
}
.srv-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 24px;
    margin-top: 48px;
}
.srv-stat-item {
    text-align: center;
    padding: 32px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-lg);
}
.srv-stat-number {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--brand-orange);
    line-height: 1;
    margin-bottom: 8px;
}
.srv-stat-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.4;
}

/* ── Arquitectura / diagrama ────────────────────────────────── */
.srv-arch {
    background: var(--bg-secondary);
}
.srv-arch-diagram {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    flex-wrap: wrap;
    margin-top: 40px;
}
.srv-arch-node {
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-md);
    padding: 16px 24px;
    text-align: center;
    min-width: 160px;
}
.srv-arch-node-label {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 4px;
}
.srv-arch-node-sub {
    font-size: 0.7rem;
    color: var(--text-muted);
}
.srv-arch-node--orange {
    border-color: var(--border-orange);
    background: var(--brand-orange-dim);
}
.srv-arch-node--orange .srv-arch-node-label { color: var(--brand-orange); }
.srv-arch-arrow {
    display: flex;
    align-items: center;
    padding: 0 8px;
    color: var(--brand-orange);
    font-size: 1.2rem;
    font-weight: 700;
}

/* ── ICP / Para quién ───────────────────────────────────────── */
.srv-icp {
    background: var(--bg-primary);
}
.srv-icp-card {
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-xl);
    padding: 40px 48px;
    max-width: 820px;
    margin: 48px auto 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}
.srv-icp-col h3 {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--brand-orange);
    margin-bottom: 16px;
}
.srv-icp-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.srv-icp-col ul li {
    position: relative;
    padding-left: 16px;
    margin-bottom: 10px;
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.5;
}
.srv-icp-col ul li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--brand-orange);
    font-size: 0.8rem;
}

/* ── Por qué Softme ─────────────────────────────────────────── */
.srv-why {
    background: var(--bg-secondary);
}
.srv-why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-top: 48px;
}
.srv-why-item {
    padding: 28px;
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-lg);
}
.srv-why-item-number {
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    color: var(--brand-orange);
    opacity: 0.6;
    margin-bottom: 8px;
}
.srv-why-item h3 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}
.srv-why-item p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ── CTA final de servicio ──────────────────────────────────── */
.srv-cta {
    background: var(--bg-primary);
}
.srv-cta-block {
    background: var(--bg-card);
    border: 1px solid var(--border-orange);
    border-radius: var(--radius-2xl);
    padding: 56px 48px;
    text-align: center;
    max-width: 720px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}
.srv-cta-block::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 80% 60% at 50% 100%, rgba(255,157,0,0.06), transparent);
    pointer-events: none;
}
.srv-cta-block h2 {
    font-size: clamp(1.4rem, 3vw, 1.9rem);
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 16px;
    position: relative;
}
.srv-cta-block p {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 32px;
    position: relative;
}

/* ── Comparativa OTA vs MCP ───────────────────────────────────── */
.comparativa-table {
    display: flex;
    flex-direction: column;
    gap: 0;
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    overflow: hidden;
}
.comparativa-header,
.comparativa-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    align-items: center;
}
.comparativa-header {
    background: var(--bg-card);
    border-bottom: 1px solid var(--border-subtle);
}
.comparativa-row {
    border-bottom: 1px solid var(--border-subtle);
}
.comparativa-row:last-child { border-bottom: none; }
.comparativa-row:nth-child(even) { background: var(--bg-card); }
.comparativa-row:nth-child(odd)  { background: var(--bg-secondary); }
.comparativa-col-label {
    padding: 16px 20px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-secondary);
}
.comparativa-col {
    padding: 16px 20px;
    font-size: 0.88rem;
    font-weight: 500;
    text-align: center;
    border-left: 1px solid var(--border-subtle);
}
.comparativa-header .comparativa-col {
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-secondary);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 20px;
}
.comparativa-col-badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.04em;
}
.comparativa-col-badge--ota   { background: rgba(239,68,68,0.15);  color: #f87171; }
.comparativa-col-badge--motor { background: rgba(148,163,184,0.15); color: #94a3b8; }
.comparativa-col-badge--mcp   { background: rgba(255,157,0,0.15);   color: var(--sm-orange); }
.comparativa-col--mcp { background: rgba(255,157,0,0.04); }
/* 3-column variant: label + OTA + Motor + MCP */
.comparativa-table--3col .comparativa-header,
.comparativa-table--3col .comparativa-row {
    grid-template-columns: 1.2fr 1fr 1fr 1fr;
}
.comparativa-val {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.88rem;
}
.comparativa-val--bad  {
    color: #f87171;
    background: rgba(239,68,68,0.08);
}
.comparativa-val--mid  {
    color: #94a3b8;
    background: rgba(148,163,184,0.1);
}
.comparativa-val--good {
    color: var(--sm-orange);
    background: rgba(255,157,0,0.1);
    font-weight: 600;
}
@media (max-width: 640px) {
    .comparativa-header,
    .comparativa-row,
    .comparativa-table--3col .comparativa-header,
    .comparativa-table--3col .comparativa-row {
        grid-template-columns: 1fr;
    }
    .comparativa-col-label {
        background: var(--bg-card);
        border-bottom: 1px solid var(--border-subtle);
        font-weight: 700;
        color: var(--text-primary);
    }
    .comparativa-col {
        border-left: none;
        border-top: 1px solid var(--border-subtle);
        display: flex;
        align-items: center;
        justify-content: space-between;
        text-align: left;
        gap: 12px;
    }
    .comparativa-col::before {
        content: attr(data-label);
        font-size: 0.75rem;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.05em;
        color: var(--text-muted);
        white-space: nowrap;
    }
    .comparativa-header { display: none; }
}

/* ── Argumento (sector hotelero) ──────────────────────────────── */
.argumento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}
.argumento-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    padding: 2rem 1.75rem;
}
.argumento-card-icon {
    width: 40px;
    height: 40px;
    color: var(--sm-orange);
    margin-bottom: 1rem;
}
.argumento-card-icon svg {
    width: 100%;
    height: 100%;
}
.argumento-card h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    line-height: 1.4;
}
.argumento-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin: 0;
}
.argumento-conclusion {
    border: 1px solid rgba(255, 157, 0, 0.3);
    border-radius: 12px;
    background: rgba(255, 157, 0, 0.04);
    padding: 2.5rem 2rem;
}
.argumento-conclusion-inner {
    max-width: 680px;
}
.argumento-conclusion-label {
    display: inline-block;
    padding: 3px 12px;
    background: rgba(255, 157, 0, 0.15);
    color: var(--sm-orange);
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 1rem;
}
.argumento-conclusion p {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.75;
    margin: 0;
}
.argumento-conclusion p strong {
    color: var(--text-primary);
}
.argumento-conclusion p em {
    color: var(--sm-orange);
    font-style: normal;
    font-weight: 600;
}
@media (max-width: 900px) {
    .argumento-grid { grid-template-columns: 1fr; }
}

/* ── Proceso de presupuesto (desarrollo a medida) ────────────── */
.proceso-grid {
    display: flex;
    flex-direction: column;
    gap: 0;
    max-width: 780px;
}
.proceso-step {
    display: grid;
    grid-template-columns: 56px 1fr;
    gap: 1.5rem;
    padding: 2rem 0;
    border-bottom: 1px solid var(--border-subtle);
    align-items: start;
}
.proceso-step:last-child { border-bottom: none; }
.proceso-step-num {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--sm-orange);
    opacity: 0.5;
    line-height: 1;
    padding-top: 4px;
}
.proceso-step-body h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    display: flex;
    align-items: baseline;
    gap: 0.75rem;
    flex-wrap: wrap;
}
.proceso-step-tiempo {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--sm-orange);
    background: rgba(255,157,0,0.1);
    padding: 2px 10px;
    border-radius: 20px;
}
.proceso-step-body p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.75;
    margin-bottom: 0.5rem;
}
.proceso-step-body p:last-child { margin-bottom: 0; }
@media (max-width: 600px) {
    .proceso-step { grid-template-columns: 1fr; gap: 0.5rem; }
    .proceso-step-num { font-size: 1.5rem; }
}

/* ── FAQ accordion ───────────────────────────────────────────── */
.srv-faq-list {
    max-width: 780px;
}
.srv-faq-item {
    border-bottom: 1px solid var(--border-subtle);
}
.srv-faq-item:first-child {
    border-top: 1px solid var(--border-subtle);
}
.srv-faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 20px 0;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    cursor: pointer;
    list-style: none;
    user-select: none;
}
.srv-faq-question::-webkit-details-marker { display: none; }
.srv-faq-question::after {
    content: '+';
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--sm-orange);
    flex-shrink: 0;
    line-height: 1;
    transition: transform 0.2s;
}
details[open] > .srv-faq-question::after {
    content: '−';
}
.srv-faq-question:hover { color: var(--sm-orange); }
.srv-faq-answer {
    padding: 0 2rem 20px 0;
}
.srv-faq-answer p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin: 0;
}

/* ── Modelos de entrega (sector hotelero) ─────────────────────── */
.modelos-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}
.modelo-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    padding: 2rem 1.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}
.modelo-card-num {
    font-size: 2rem;
    font-weight: 900;
    color: var(--sm-orange);
    line-height: 1;
    opacity: 0.7;
}
.modelo-card h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.4;
    margin: 0;
}
.modelo-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin: 0;
    flex: 1;
}
.modelo-card-tag {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--sm-orange);
    letter-spacing: 0.03em;
    margin-top: 0.5rem;
}
@media (max-width: 900px) {
    .modelos-grid { grid-template-columns: 1fr; }
}

/* ── Announcement bar ────────────────────────────────────────── */
.sm-announce {
    background: rgba(255,157,0,0.1);
    border-bottom: 1px solid rgba(255,157,0,0.2);
    padding: 10px 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}
.sm-announce-text {
    font-size: 0.83rem;
    color: var(--text-secondary);
    text-align: center;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    flex-wrap: wrap;
    justify-content: center;
}
.sm-announce-badge {
    background: var(--sm-orange);
    color: #000;
    font-size: 0.68rem;
    font-weight: 800;
    padding: 2px 8px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    flex-shrink: 0;
}
.sm-announce-sep {
    color: var(--text-muted);
    flex-shrink: 0;
}
.sm-announce-link {
    color: #ff9d00 !important;
    font-weight: 700;
    text-decoration: underline;
    text-decoration-color: rgba(255,157,0,0.4);
    text-underline-offset: 3px;
    white-space: nowrap;
    flex-shrink: 0;
}
.sm-announce-link:hover {
    text-decoration-color: #ff9d00;
}
.sm-announce-close {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.25rem;
    line-height: 1;
    cursor: pointer;
    padding: 4px 8px;
}
.sm-announce-close:hover { color: var(--text-primary); }
@media (max-width: 600px) {
    .sm-announce-close { position: static; transform: none; flex-shrink: 0; }
    .sm-announce { flex-wrap: wrap; }
}

/* ── WhatsApp widget ─────────────────────────────────────────── */
.sm-whatsapp {
    position: fixed;
    bottom: 1.75rem;
    right: 1.75rem;
    z-index: 1000;
    display: flex;
    align-items: center;
    gap: 8px;
    background: #25d366;
    color: #fff;
    border-radius: 50px;
    padding: 12px 18px 12px 14px;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(37,211,102,0.35);
    transition: transform 0.2s, box-shadow 0.2s;
}
.sm-whatsapp:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 28px rgba(37,211,102,0.45);
    color: #fff;
}
.sm-whatsapp svg {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
}
.sm-whatsapp-label {
    font-size: 0.83rem;
    font-weight: 700;
    white-space: nowrap;
}
@media (max-width: 480px) {
    .sm-whatsapp { padding: 12px; border-radius: 50%; }
    .sm-whatsapp-label { display: none; }
    .sm-whatsapp { bottom: 1.25rem; right: 1.25rem; }
}

/* ════════════════════════════════════════════════════════════════
   LANDING PAGES (/lp/*)
   ════════════════════════════════════════════════════════════════ */

/* ── Header minimal ──────────────────────────────────────────────── */
.lp-header {
    background: var(--sm-dark);
    border-bottom: 1px solid var(--border-subtle);
    padding: 0;
}
.lp-header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 16px 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.lp-header-link {
    font-size: 0.85rem;
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.2s;
}
.lp-header-link:hover { color: var(--sm-orange); }

/* ── Container ────────────────────────────────────────────────────── */
.lp-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ── Hero ────────────────────────────────────────────────────────── */
.lp-hero {
    background: var(--sm-dark);
    padding: 80px 0 100px;
}
.lp-hero-grid {
    display: grid;
    grid-template-columns: 1fr 480px;
    gap: 5rem;
    align-items: start;
}
.lp-hero-left h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 900;
    color: var(--text-primary);
    line-height: 1.15;
    margin: 1rem 0 1.25rem;
}
.lp-hero-lead {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.75;
    margin-bottom: 2rem;
}

/* badges */
.lp-badge-group {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 0.5rem;
}
.lp-badge {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(255, 157, 0, 0.12);
    color: var(--sm-orange);
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

/* checklist */
.lp-checklist {
    list-style: none;
    padding: 0;
    margin: 0 0 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
}
.lp-checklist li {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
}
.lp-check {
    color: var(--sm-orange);
    font-weight: 700;
    font-size: 1rem;
    flex-shrink: 0;
    margin-top: 1px;
}

/* trust inline */
.lp-trust-inline {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}
.lp-trust-item {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.lp-trust-item strong {
    font-size: 1.3rem;
    font-weight: 900;
    color: var(--sm-orange);
    line-height: 1;
}
.lp-trust-item span {
    font-size: 0.78rem;
    color: var(--text-muted);
}

/* ── Formulario ──────────────────────────────────────────────────── */
.lp-form-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    padding: 2.25rem 2rem;
    position: sticky;
    top: 2rem;
}
.lp-form-heading {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--text-primary);
    margin: 0 0 0.4rem;
}
.lp-form-sub {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin: 0 0 1.75rem;
}
.lp-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 1.1rem;
}
.lp-label {
    font-size: 0.83rem;
    font-weight: 600;
    color: var(--text-secondary);
}
.lp-label span[aria-hidden] { color: var(--sm-orange); margin-left: 2px; }
.lp-optional {
    font-weight: 400;
    color: var(--text-muted);
}
.lp-input {
    background: var(--bg-secondary);
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
    padding: 10px 14px;
    font-size: 0.9rem;
    color: var(--text-primary);
    font-family: inherit;
    width: 100%;
    transition: border-color 0.2s;
}
.lp-input:focus {
    outline: none;
    border-color: var(--sm-orange);
}
.lp-input.input-validation-error {
    border-color: #f87171;
}
.lp-textarea { resize: vertical; min-height: 80px; }
.lp-field-error {
    font-size: 0.78rem;
    color: #f87171;
}
.lp-form-errors {
    background: rgba(239, 68, 68, 0.08);
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: 8px;
    padding: 12px 16px;
    font-size: 0.875rem;
    color: #f87171;
    margin-bottom: 1.25rem;
}
.lp-form-errors:empty,
.lp-form-errors ul:empty,
.lp-form-errors:has(ul:empty) { display: none; }
.lp-submit,
button.lp-submit {
    display: block;
    width: 100%;
    padding: 14px 20px;
    background-color: #ff9d00 !important;
    background: #ff9d00 !important;
    color: #000 !important;
    border: none;
    border-radius: 8px;
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    transition: opacity 0.2s;
    margin-bottom: 1rem;
    line-height: 1.4;
    box-shadow: none;
}
.lp-submit:hover,
button.lp-submit:hover { opacity: 0.88; color: #000 !important; }
.lp-submit--outline,
a.lp-submit--outline {
    display: inline-block;
    width: auto;
    background-color: transparent !important;
    background: transparent !important;
    border: 2px solid #ff9d00;
    color: #ff9d00 !important;
    padding: 12px 28px;
}
.lp-submit--outline:hover,
a.lp-submit--outline:hover { background: rgba(255, 157, 0, 0.1) !important; color: #ff9d00 !important; }
.lp-privacy-note {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-align: center;
    line-height: 1.5;
    margin: 0;
}
.lp-privacy-note a { color: var(--text-muted); text-decoration: underline; }

/* ── Para quién ──────────────────────────────────────────────────── */
.lp-for-who {
    background: var(--bg-secondary);
    padding: 80px 0;
}
.lp-section-label {
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--sm-orange);
    margin-bottom: 0.75rem;
}
.lp-section-heading {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 2.5rem;
}
.lp-for-who-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}
.lp-for-who-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    padding: 1.75rem;
}
.lp-for-who-icon {
    width: 36px;
    height: 36px;
    color: var(--sm-orange);
    margin-bottom: 1rem;
}
.lp-for-who-icon svg { width: 100%; height: 100%; }
.lp-for-who-card h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.6rem;
}
.lp-for-who-card p {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin: 0;
}

/* ── Conoce Softme ───────────────────────────────────────────────── */
.lp-explore {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-subtle);
    padding: 48px 0;
}
.lp-explore-lead {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
    text-align: center;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}
.lp-explore-links {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}
.lp-explore-link {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 1.1rem 1.25rem;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 10px;
    text-decoration: none;
    transition: border-color 0.2s, background 0.2s;
}
.lp-explore-link:hover {
    border-color: rgba(255, 157, 0, 0.4);
    background: rgba(255, 157, 0, 0.04);
}
.lp-explore-link-title {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-primary);
}
.lp-explore-link-desc {
    font-size: 0.78rem;
    color: var(--text-muted);
    line-height: 1.4;
}
@media (max-width: 700px) {
    .lp-explore-links { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 400px) {
    .lp-explore-links { grid-template-columns: 1fr; }
}

/* ── CTA final ───────────────────────────────────────────────────── */
.lp-cta-final {
    background: var(--sm-dark);
    border-top: 1px solid var(--border-subtle);
    padding: 60px 0;
    text-align: center;
}
.lp-cta-final-inner p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}
.lp-cta-calc-link {
    display: block;
    margin-top: 1rem;
    font-size: .875rem;
    color: var(--sm-gray);
    text-decoration: none;
    transition: color .2s;
}
.lp-cta-calc-link:hover { color: var(--sm-orange); }

/* ── Footer minimal ──────────────────────────────────────────────── */
.lp-footer {
    background: var(--sm-dark);
    border-top: 1px solid var(--border-subtle);
    padding: 24px 2rem;
    text-align: center;
}
.lp-footer p {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin: 0;
}
.lp-footer a {
    color: var(--text-muted);
    text-decoration: underline;
    text-underline-offset: 2px;
}
.lp-footer a:hover { color: var(--sm-orange); }

/* ── Responsive landing ──────────────────────────────────────────── */
@media (max-width: 900px) {
    .lp-hero-grid { grid-template-columns: 1fr; gap: 3rem; }
    .lp-form-card { position: static; }
    .lp-for-who-grid { grid-template-columns: 1fr; }
    .lp-trust-inline { gap: 1.5rem; }
}
@media (max-width: 480px) {
    .lp-hero { padding: 60px 0 80px; }
    .lp-badge-group { gap: 0.375rem; }
}

.srv-cta-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    position: relative;
}

/* ── Índice de servicios ────────────────────────────────────── */
.srv-index-hero {
    padding-top: calc(var(--navbar-h, 72px) + 72px);
    padding-bottom: 72px;
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border-subtle);
}
.srv-index-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 24px;
    margin-top: 56px;
}
.srv-index-card {
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-xl);
    padding: 36px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    text-decoration: none;
    transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
    position: relative;
    overflow: hidden;
}
.srv-index-card:hover {
    border-color: var(--border-orange);
    transform: translateY(-4px);
    box-shadow: var(--shadow-orange);
}
.srv-index-card-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}
.srv-index-number {
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    color: var(--brand-orange);
    opacity: 0.5;
}
.srv-index-badge {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    background: var(--brand-orange-dim);
    border: 1px solid var(--border-orange);
    color: var(--brand-orange);
    padding: 3px 8px;
    border-radius: 10px;
}
.srv-index-card h2 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.3;
}
.srv-index-card-desc {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.6;
    flex: 1;
}
.srv-index-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.srv-index-tag {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--text-muted);
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--border-subtle);
    padding: 3px 9px;
    border-radius: 8px;
}
.srv-index-card-link {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--brand-orange);
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 4px;
    transition: gap 0.2s;
}
.srv-index-card:hover .srv-index-card-link { gap: 10px; }

/* ═══════════════════════════════════════════════════════════════
   PÁGINA EMPRESA (/empresa)
   ═══════════════════════════════════════════════════════════════ */

/* ── Hero empresa ───────────────────────────────────────────── */
.empresa-hero {
    padding-top: calc(var(--navbar-h, 72px) + 80px);
    padding-bottom: 80px;
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border-subtle);
    position: relative;
    overflow: hidden;
}
.empresa-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 50% 70% at 80% 50%, rgba(255,157,0,0.05), transparent);
    pointer-events: none;
}
.empresa-hero-inner {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}
.empresa-hero-text h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1.15;
    margin-bottom: 20px;
}
.empresa-hero-text p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.75;
    margin-bottom: 14px;
}
.empresa-hero-text p:last-child { margin-bottom: 0; }
.empresa-hero-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.empresa-stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-lg);
    padding: 24px 20px;
    text-align: center;
}
.empresa-stat-card-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--brand-orange);
    line-height: 1;
    margin-bottom: 6px;
}
.empresa-stat-card-label {
    font-size: 0.78rem;
    color: var(--text-muted);
    line-height: 1.4;
}

/* ── Posicionamiento ────────────────────────────────────────── */
.empresa-positioning {
    background: var(--bg-primary);
}
.empresa-positioning-quote {
    max-width: 820px;
    margin: 0 auto;
    padding: 40px 48px;
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-left: 3px solid var(--brand-orange);
    border-radius: var(--radius-lg);
    font-size: 1.15rem;
    font-style: italic;
    color: var(--text-primary);
    line-height: 1.75;
    position: relative;
}
.empresa-positioning-quote::before {
    content: '\201C';
    position: absolute;
    top: 16px;
    left: 28px;
    font-size: 4rem;
    font-style: normal;
    color: var(--brand-orange);
    opacity: 0.25;
    line-height: 1;
}

/* ── Equipo ─────────────────────────────────────────────────── */
.empresa-team {
    background: var(--bg-secondary);
}
.empresa-team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
    margin-top: 48px;
}
.empresa-team-card {
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-xl);
    padding: 32px 28px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    transition: border-color 0.2s;
}
.empresa-team-card:hover { border-color: var(--border-orange); }
.empresa-team-card--ceo {
    border-color: var(--border-orange);
    background: linear-gradient(135deg, var(--bg-card) 70%, rgba(255,157,0,0.04));
}
.empresa-team-avatar {
    width: 52px;
    height: 52px;
    background: var(--brand-orange-dim);
    border: 2px solid var(--border-orange);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--brand-orange);
}
.empresa-team-card-role {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--brand-orange);
}
.empresa-team-card-name {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.3;
}
.empresa-team-card-desc {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.6;
    flex: 1;
}
.empresa-team-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.empresa-team-tag {
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--text-muted);
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--border-subtle);
    padding: 2px 8px;
    border-radius: 6px;
}

/* ── Stack tecnológico ──────────────────────────────────────── */
.empresa-stack {
    background: var(--bg-primary);
}
.empresa-stack-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
    margin-top: 48px;
}
.empresa-stack-category {
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-lg);
    padding: 28px;
}
.empresa-stack-category h3 {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--brand-orange);
    margin-bottom: 16px;
}
.empresa-stack-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.empresa-stack-tag {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-primary);
    background: rgba(255,255,255,0.06);
    border: 1px solid var(--border-subtle);
    padding: 5px 12px;
    border-radius: var(--radius-sm);
    font-family: 'Courier New', monospace;
}
.empresa-stack-tag--orange {
    color: var(--brand-orange);
    background: var(--brand-orange-dim);
    border-color: var(--border-orange);
}

/* ── Credenciales ───────────────────────────────────────────── */
.empresa-credentials {
    background: var(--bg-secondary);
}
.empresa-credentials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin-top: 48px;
}
.empresa-credential-card {
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-xl);
    padding: 36px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.empresa-credential-icon {
    width: 48px;
    height: 48px;
    background: var(--brand-orange-dim);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
}
.empresa-credential-icon svg {
    width: 24px;
    height: 24px;
    stroke: var(--brand-orange);
}
.empresa-credential-card h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
}
.empresa-credential-card p {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.65;
}
.empresa-credential-status {
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 10px;
    align-self: flex-start;
}
.empresa-credential-status--active {
    background: rgba(16,185,129,0.12);
    color: #10b981;
    border: 1px solid rgba(16,185,129,0.3);
}
.empresa-credential-status--progress {
    background: var(--brand-orange-dim);
    color: var(--brand-orange);
    border: 1px solid var(--border-orange);
}

/* ── Responsive empresa ─────────────────────────────────────── */
@media (max-width: 1024px) {
    .empresa-hero-inner { grid-template-columns: 1fr; gap: 48px; }
}
@media (max-width: 768px) {
    .empresa-hero { padding-top: calc(var(--navbar-h, 72px) + 48px); padding-bottom: 48px; }
    .empresa-hero-stats { grid-template-columns: 1fr 1fr; }
    .empresa-positioning-quote { padding: 28px 24px; font-size: 1rem; }
}

/* ── Responsive servicios ───────────────────────────────────── */
@media (max-width: 1024px) {
    .srv-icp-card { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 768px) {
    .srv-hero { padding-top: calc(var(--navbar-h, 72px) + 48px); padding-bottom: 48px; }
    .srv-problem-card { padding: 28px 24px; }
    .srv-icp-card { padding: 28px 24px; }
    .srv-cta-block { padding: 40px 24px; }
    .srv-hero-actions { flex-direction: column; align-items: flex-start; }
    .srv-cta-actions { flex-direction: column; }
    .srv-index-grid { grid-template-columns: 1fr; }
    .srv-arch-diagram { flex-direction: column; gap: 0; }
    .srv-arch-arrow { transform: rotate(90deg); padding: 4px 0; }
}

/* ═══════════════════════════════════════════════════════════════
   PÁGINA PROYECTOS (/proyectos y /proyectos/{slug})
   ═══════════════════════════════════════════════════════════════ */

/* ── Acentos por sector — todos naranja corporativo ─────────── */
.proyecto--mcp,
.proyecto--hotelero,
.proyecto--integraciones,
.proyecto--desarrollo,
.proyecto--publico,
.proyecto--transporte { --proyecto-accent: var(--brand-orange); }

/* ── Hero índice de proyectos ───────────────────────────────── */
.proyectos-hero {
    padding-top: calc(var(--navbar-h, 72px) + 72px);
    padding-bottom: 72px;
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border-subtle);
}

/* ── Grid de tarjetas ───────────────────────────────────────── */
.proyectos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 24px;
    margin-top: 56px;
}
.proyecto-card {
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-xl);
    padding: 32px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    text-decoration: none;
    transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
    position: relative;
    overflow: hidden;
}
.proyecto-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: var(--proyecto-accent, var(--brand-orange));
    opacity: 0;
    transition: opacity 0.25s;
}
.proyecto-card:hover {
    border-color: var(--border-orange);
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(255,157,0,0.12);
}
.proyecto-card:hover::before { opacity: 1; }
.proyecto-card-sector {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--proyecto-accent, var(--brand-orange));
}
.proyecto-card h2 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.35;
}
.proyecto-card-desc {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.65;
    flex: 1;
}
.proyecto-card-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.proyecto-stack-tag {
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--text-muted);
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--border-subtle);
    padding: 2px 8px;
    border-radius: 6px;
    font-family: 'Courier New', monospace;
}
.proyecto-card-link {
    font-size: 0.83rem;
    font-weight: 600;
    color: var(--proyecto-accent, var(--brand-orange));
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 4px;
    transition: gap 0.2s;
}
.proyecto-card:hover .proyecto-card-link { gap: 10px; }

/* ── Hero detalle de proyecto ───────────────────────────────── */
.proyecto-detalle-hero {
    padding-top: calc(var(--navbar-h, 72px) + 72px);
    padding-bottom: 64px;
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border-subtle);
    position: relative;
    overflow: hidden;
}
.proyecto-detalle-hero::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 3px;
    background: var(--proyecto-accent, var(--brand-orange));
}
.proyecto-detalle-inner { max-width: 820px; }
.proyecto-detalle-sector {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--proyecto-accent, var(--brand-orange));
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.proyecto-detalle-sector::before {
    content: '';
    width: 24px;
    height: 2px;
    background: var(--proyecto-accent, var(--brand-orange));
    display: inline-block;
}
.proyecto-detalle-hero h1 {
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1.2;
    margin-bottom: 20px;
}
.proyecto-detalle-lead {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.75;
    margin-bottom: 28px;
    max-width: 680px;
}
.proyecto-detalle-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.proyecto-detalle-stack-tag {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text-primary);
    background: rgba(255,255,255,0.06);
    border: 1px solid var(--border-subtle);
    padding: 4px 12px;
    border-radius: var(--radius-sm);
    font-family: 'Courier New', monospace;
}

/* ── Secciones del detalle ──────────────────────────────────── */
.proyecto-section {
    background: var(--bg-primary);
}
.proyecto-section:nth-child(even) { background: var(--bg-secondary); }
.proyecto-section-inner {
    max-width: 820px;
    margin: 0 auto;
}
.proyecto-section-label {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--proyecto-accent, var(--brand-orange));
    margin-bottom: 12px;
}
.proyecto-section h2 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 20px;
}
.proyecto-section p {
    font-size: 0.975rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 14px;
}
.proyecto-section p:last-child { margin-bottom: 0; }

/* ── Resultado destacado ────────────────────────────────────── */
.proyecto-resultado-card {
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-left: 3px solid var(--proyecto-accent, var(--brand-orange));
    border-radius: var(--radius-lg);
    padding: 32px 36px;
    margin-top: 8px;
}
.proyecto-resultado-card p {
    font-size: 1.05rem;
    color: var(--text-primary);
    line-height: 1.75;
    margin-bottom: 0;
    font-style: italic;
}

/* ── Navegación entre proyectos ─────────────────────────────── */
.proyecto-nav {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-subtle);
}
.proyecto-nav-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
}
.proyecto-nav-link {
    display: flex;
    flex-direction: column;
    gap: 4px;
    text-decoration: none;
    padding: 20px 0;
    max-width: 380px;
    transition: opacity 0.2s;
}
.proyecto-nav-link:hover { opacity: 0.8; }
.proyecto-nav-link--next { text-align: right; margin-left: auto; }
.proyecto-nav-direction {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
}
.proyecto-nav-title {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--brand-orange);
    line-height: 1.3;
}
.proyecto-nav-back {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ── Responsive proyectos ───────────────────────────────────── */
@media (max-width: 768px) {
    .proyectos-grid { grid-template-columns: 1fr; }
    .proyecto-resultado-card { padding: 24px 20px; }
    .proyecto-nav-inner { flex-direction: column; align-items: flex-start; }
    .proyecto-nav-link--next { text-align: left; margin-left: 0; }
}

/* ══════════════════════════════════════════════════════════════
   PÁGINA RECURSOS / BLOG (/recursos y /recursos/{slug})
   ══════════════════════════════════════════════════════════════ */

/* ── Hero índice ────────────────────────────────────────────── */
.recursos-hero {
    padding-top: calc(var(--navbar-h, 72px) + 64px);
    padding-bottom: 48px;
    background: var(--bg-secondary);
}
.recursos-hero-lead {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 560px;
    margin-top: 16px;
    line-height: 1.7;
}

/* ── Grid de artículos ──────────────────────────────────────── */
.recursos-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

/* ── Post destacado (último artículo) ───────────────────────── */
.blog-destacado {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: .5rem;
    background: #0d1117;
    border: 1px solid rgba(255,255,255,.07);
    box-shadow: 0 2px 40px rgba(0,0,0,.45);
    transition: box-shadow .3s, border-color .3s;
    min-height: 380px;
}
.blog-destacado:hover {
    border-color: rgba(255,157,0,.35);
    box-shadow: 0 4px 60px rgba(255,157,0,.08);
}

/* Imagen (columna izquierda) */
.blog-destacado-img {
    position: relative;
    overflow: hidden;
    min-height: 320px;
}
.blog-destacado-img img {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .5s ease;
}
.blog-destacado:hover .blog-destacado-img img { transform: scale(1.04); }

/* Fallback visual cuando no hay imagen */
.blog-destacado-no-img {
    width: 100%; height: 100%;
    min-height: 320px;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(255,157,0,.12) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 20%, rgba(255,157,0,.06) 0%, transparent 50%),
        linear-gradient(135deg, #0d1117 0%, #161b22 50%, #0d1117 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}
.blog-destacado-no-img-icon {
    font-size: 4rem;
    opacity: .08;
    user-select: none;
    line-height: 1;
}

/* Cuerpo (columna derecha) */
.blog-destacado-body {
    padding: 2.5rem 2.5rem 2.5rem 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0;
    background: linear-gradient(135deg, #10161e 0%, #0d1117 100%);
}
.blog-destacado-badge {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    font-size: .65rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    background: rgba(255,157,0,.12);
    color: var(--brand-orange);
    border: 1px solid rgba(255,157,0,.28);
    border-radius: 20px;
    padding: 3px 12px;
    width: fit-content;
    margin-bottom: 1.1rem;
}
.blog-destacado-titulo {
    font-size: clamp(1.3rem, 2.4vw, 1.85rem);
    font-weight: 800;
    color: #f0f6fc;
    line-height: 1.2;
    margin: 0 0 1rem;
    letter-spacing: -.02em;
}
.blog-destacado-titulo a {
    color: inherit;
    text-decoration: none;
    transition: color .2s;
}
.blog-destacado-titulo a:hover { color: var(--brand-orange); }
.blog-destacado-desc {
    font-size: .95rem;
    color: #8b949e;
    line-height: 1.75;
    margin: 0 0 1.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.blog-destacado-footer {
    display: flex;
    align-items: center;
    gap: .75rem;
    flex-wrap: wrap;
    margin-top: auto;
}
.blog-destacado-cta {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    background: var(--brand-orange);
    color: #000 !important;
    font-weight: 700;
    font-size: .875rem;
    border-radius: 8px;
    padding: .55rem 1.25rem;
    text-decoration: none;
    transition: opacity .2s, transform .15s;
    white-space: nowrap;
}
.blog-destacado-cta:hover { opacity: .88; transform: translateY(-1px); }

@media (max-width: 900px) {
    .blog-destacado { grid-template-columns: 1fr; min-height: unset; }
    .blog-destacado-img,
    .blog-destacado-no-img { min-height: 220px; }
    .blog-destacado-body { padding: 1.75rem; }
    .blog-destacado-titulo { font-size: 1.3rem; }
}
@media (max-width: 480px) {
    .blog-destacado-body { padding: 1.25rem; }
    .blog-destacado-titulo { font-size: 1.15rem; }
}

/* ── Card de artículo ───────────────────────────────────────── */
.articulo-card {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 28px 24px;
    background: #0d1117;
    border: 1px solid rgba(255,255,255,.07);
    border-radius: 14px;
    text-decoration: none;
    color: inherit;
    overflow: hidden;
    transition: border-color .25s, transform .25s, box-shadow .25s;
}
.articulo-card:hover {
    border-color: rgba(255,157,0,.3);
    transform: translateY(-3px);
    box-shadow: 0 8px 32px rgba(0,0,0,.35);
    color: inherit;
}
.articulo-card--destacado {
    border-color: rgba(255,157,0,.2);
    background: linear-gradient(135deg, var(--bg-secondary) 85%, rgba(255,157,0,.04));
}
.articulo-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}
.articulo-card-cat {
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    padding: 3px 10px;
    border-radius: 20px;
}
.articulo-card-fecha {
    font-size: .75rem;
    color: var(--text-muted, #555);
}
.articulo-card-titulo {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.4;
    margin: 0;
}
.articulo-card-desc {
    font-size: .88rem;
    color: var(--text-secondary);
    line-height: 1.6;
    flex: 1;
    margin: 0;
}
.articulo-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.articulo-card-tag {
    font-size: .7rem;
    color: var(--text-secondary);
    background: rgba(255,255,255,.05);
    border: 1px solid var(--border-subtle);
    border-radius: 4px;
    padding: 2px 8px;
}
.articulo-card-link {
    font-size: .8rem;
    font-weight: 600;
    color: var(--sm-orange);
    margin-top: 4px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: .25rem;
    transition: gap .15s;
}
.articulo-card:hover .articulo-card-link { gap: .45rem; }

/* Alias clases usadas en el blog público */
.articulos-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}
@media (max-width: 1024px) { .articulos-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px)  { .articulos-grid { grid-template-columns: 1fr; } }

.articulo-card-img {
    overflow: hidden;
    border-radius: 10px 10px 0 0;
    margin: -28px -24px 1.25rem;
    aspect-ratio: 16/9;
}
.articulo-card-img img {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .4s;
}
.articulo-card:hover .articulo-card-img img { transform: scale(1.05); }

.articulo-card-body { display: flex; flex-direction: column; flex: 1; gap: 10px; }
.articulo-card-meta {
    display: flex;
    align-items: center;
    gap: .5rem;
    flex-wrap: wrap;
}
.articulo-card-categoria {
    font-size: .65rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    background: rgba(255,157,0,.12);
    color: var(--brand-orange);
    border-radius: 20px;
    padding: 2px 10px;
}
.articulo-card-fecha {
    font-size: .75rem;
    color: #8b949e;
}
.articulo-card-lectura {
    font-size: .72rem;
    color: #6e7681;
}
.articulo-card-titulo {
    font-size: 1rem;
    font-weight: 700;
    color: #f0f6fc;
    line-height: 1.4;
    margin: 0;
}
.articulo-card-titulo a {
    color: inherit;
    text-decoration: none;
    transition: color .2s;
}
.articulo-card-titulo a:hover { color: var(--brand-orange); }
.articulo-card-desc {
    font-size: .875rem;
    color: #8b949e;
    line-height: 1.65;
    flex: 1;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ── Colores por categoría ──────────────────────────────────── */
.cat--productos    { background: rgba(255,157,0,.12);  color: #ff9d00; }
.cat--hotelero     { background: rgba(34,211,238,.12); color: #22d3ee; }
.cat--normativa    { background: rgba(245,158,11,.12); color: #f59e0b; }
.cat--opinion      { background: rgba(167,139,250,.12);color: #a78bfa; }

/* ── Compartir en redes ─────────────────────────────────────── */
.blog-share {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255,255,255,.08);
}
.blog-share-label {
    font-size: .78rem;
    font-weight: 600;
    color: #8b949e;
    letter-spacing: .05em;
    text-transform: uppercase;
    white-space: nowrap;
}
.blog-share-btns {
    display: flex;
    gap: .5rem;
    flex-wrap: wrap;
}
.blog-share-btn {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    font-size: .8rem;
    font-weight: 600;
    padding: .4rem .9rem;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,.08);
    text-decoration: none;
    transition: background .18s, border-color .18s, color .18s, transform .15s;
    background: rgba(255,255,255,.04);
    color: #c9d1d9;
}
.blog-share-btn:hover { transform: translateY(-1px); color: #fff; }
.blog-share-btn--linkedin:hover  { background: rgba(10,102,194,.2);  border-color: rgba(10,102,194,.5);  color: #0a66c2; }
.blog-share-btn--x:hover         { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.25); color: #fff; }
.blog-share-btn--facebook:hover  { background: rgba(24,119,242,.2);  border-color: rgba(24,119,242,.5);  color: #1877f2; }
.blog-share-btn--whatsapp:hover  { background: rgba(37,211,102,.15); border-color: rgba(37,211,102,.4);  color: #25d366; }

/* ── Hero artículo individual ───────────────────────────────── */
.articulo-hero {
    padding-top: calc(var(--navbar-h, 72px) + 48px);
    padding-bottom: 40px;
    background: var(--bg-secondary);
}
.articulo-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}
.articulo-meta-cat {
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    padding: 3px 10px;
    border-radius: 20px;
}
.articulo-meta-fecha {
    font-size: .8rem;
    color: var(--text-secondary);
}
.articulo-meta-lectura {
    font-size: .75rem;
    color: var(--text-secondary);
    opacity: .7;
}
.articulo-autor {
    font-size: .82rem;
    color: var(--text-secondary);
    margin: 8px 0 0;
}
.articulo-titulo {
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1.25;
    max-width: 780px;
    margin: 0 0 16px;
}
.articulo-lead {
    font-size: 1.05rem;
    color: var(--text-secondary);
    max-width: 680px;
    line-height: 1.7;
    margin: 0 0 20px;
}
.articulo-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.articulo-tag {
    font-size: .72rem;
    color: var(--text-secondary);
    background: rgba(255,255,255,.05);
    border: 1px solid var(--border-subtle);
    border-radius: 4px;
    padding: 3px 10px;
    text-decoration: none;
    display: inline-block;
}
.articulo-tag--link {
    cursor: pointer;
    transition: background .15s, color .15s, border-color .15s;
}
.articulo-tag--link:hover {
    background: rgba(255,157,0,.12);
    border-color: rgba(255,157,0,.4);
    color: var(--brand-orange);
}
.articulo-tag--active {
    background: rgba(255,157,0,.18);
    border-color: rgba(255,157,0,.6);
    color: var(--brand-orange);
    font-weight: 600;
}

/* ── Cuerpo del artículo (prosa) ────────────────────────────── */
.articulo-content {
    max-width: 720px;
    margin: 0 auto;
    padding: 48px 0 64px;
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-secondary);
}
.articulo-content h2 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 48px 0 16px;
    padding-top: 8px;
    border-top: 1px solid var(--border-subtle);
}
.articulo-content h2:first-child {
    margin-top: 0;
    border-top: none;
    padding-top: 0;
}
.articulo-content h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 28px 0 10px;
}
.articulo-content p {
    margin: 0 0 20px;
}
.articulo-content ul,
.articulo-content ol {
    margin: 0 0 20px;
    padding-left: 24px;
}
.articulo-content li {
    margin-bottom: 8px;
}
.articulo-content li strong {
    color: var(--text-primary);
}
.articulo-content blockquote {
    margin: 32px 0;
    padding: 20px 24px;
    border-left: 3px solid var(--sm-orange);
    background: rgba(255,157,0,.05);
    border-radius: 0 8px 8px 0;
    font-style: italic;
    color: var(--text-primary);
}
.articulo-content blockquote cite {
    display: block;
    margin-top: 12px;
    font-size: .85rem;
    font-style: normal;
    color: var(--text-secondary);
}
.articulo-content strong {
    color: var(--text-primary);
    font-weight: 600;
}

/* Blog post prose — inherits articulo-content styles, adds code block */
.blog-post-content pre {
    background: rgba(255,255,255,.04);
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
    padding: 1.25rem 1.5rem;
    overflow-x: auto;
    font-size: .82rem;
    line-height: 1.7;
    margin: 1.5rem 0;
}
.blog-post-content code {
    font-family: 'Cascadia Code', 'Fira Code', 'Consolas', monospace;
    font-size: .88em;
    background: rgba(255,255,255,.06);
    border-radius: 4px;
    padding: .1em .35em;
}
.blog-post-content pre code {
    background: none;
    padding: 0;
    font-size: inherit;
}
.blog-post-content a {
    color: var(--brand-orange);
    text-decoration: underline;
    text-underline-offset: 3px;
}
.blog-post-content a:hover { opacity: .8; }
.blog-post-content img {
    max-width: 100%;
    border-radius: 8px;
    margin: 1.5rem 0;
}
.blog-post-content hr {
    border: none;
    border-top: 1px solid var(--border-subtle);
    margin: 2.5rem 0;
}

/* ── Responsive recursos ────────────────────────────────────── */
@media (max-width: 1024px) {
    .recursos-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
    .recursos-grid { grid-template-columns: 1fr; }
    .articulo-content { padding: 32px 0 48px; }
}

/* ═══════════════════════════════════════════════════════════════
   PRICING — /servicios/partner-tech
   ═══════════════════════════════════════════════════════════════ */
.srv-pricing-subheading {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-subtle);
}
.srv-pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 1rem;
}
.srv-pricing-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 14px;
    padding: 1.75rem;
    padding-top: 2.25rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    position: relative;
    overflow: visible;
}
.srv-pricing-card--featured {
    border-color: rgba(255,157,0,0.35);
    background: linear-gradient(160deg, var(--bg-card) 0%, rgba(255,157,0,0.05) 100%);
}
.srv-pricing-card-badge {
    position: absolute;
    top: -13px;
    left: 50%;
    transform: translateX(-50%);
    background: #ff9d00;
    color: #fff !important;
    font-size: 0.68rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 4px 16px;
    border-radius: 20px;
    white-space: nowrap;
    z-index: 2;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
    box-shadow: 0 2px 10px rgba(255,157,0,0.5);
}
.srv-pricing-card-header { display: flex; flex-direction: column; gap: 4px; }
.srv-pricing-tier {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: var(--sm-orange);
}
.srv-pricing-price {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1.1;
}
.srv-pricing-price span {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-muted);
}
.srv-pricing-hours {
    font-size: 0.8rem;
    color: var(--text-muted);
}
.srv-pricing-profile {
    font-size: 0.83rem;
    color: var(--text-secondary);
    line-height: 1.55;
    padding: 10px 0;
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
    margin: 0;
}
.srv-pricing-includes {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}
.srv-pricing-includes li {
    font-size: 0.82rem;
    color: var(--text-secondary);
    padding-left: 18px;
    position: relative;
    line-height: 1.5;
}
.srv-pricing-includes li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--sm-orange);
    font-weight: 700;
    font-size: 0.75rem;
}

/* Servicios puntuales */
.srv-pricing-puntual {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.srv-pricing-puntual-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    padding: 14px 16px;
    border-radius: 8px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
}
.srv-pricing-puntual-item:not(:last-child) { margin-bottom: 4px; }
.srv-pricing-puntual-desc {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.srv-pricing-puntual-desc strong {
    font-size: 0.88rem;
    color: var(--text-primary);
    font-weight: 600;
}
.srv-pricing-puntual-desc span {
    font-size: 0.78rem;
    color: var(--text-muted);
}
.srv-pricing-puntual-price {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--sm-orange);
    white-space: nowrap;
    flex-shrink: 0;
}
.srv-pricing-note {
    margin-top: 1.5rem;
    font-size: 0.85rem;
    color: var(--text-muted);
}
.srv-pricing-note a { color: var(--sm-orange); text-decoration: none; }
.srv-pricing-note a:hover { text-decoration: underline; }

@media (max-width: 900px) {
    .srv-pricing-grid { grid-template-columns: 1fr; max-width: 440px; }
    .srv-pricing-puntual-item { flex-direction: column; align-items: flex-start; gap: 6px; }
}

/* ═══════════════════════════════════════════════════════════════
   SECTOR CALLOUT (partner-tech hotelero / sector-hotelero CTO)
   ═══════════════════════════════════════════════════════════════ */
.srv-sector-callout-inner {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 4rem;
    align-items: start;
}
.srv-sector-callout-text h2 {
    font-size: clamp(1.4rem, 2.5vw, 2rem);
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1.2;
    margin-bottom: 1.25rem;
}
.srv-sector-callout-text p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 1rem;
}
.srv-sector-callout-refs {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 14px;
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}
.srv-sector-callout-refs-label {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    margin: 0 0 0.25rem;
}
.srv-sector-callout-ref-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 1rem;
    background: var(--bg-secondary);
    border-radius: 10px;
    border: 1px solid var(--border-subtle);
}
.srv-sector-callout-ref-item svg {
    width: 22px;
    height: 22px;
    color: var(--sm-orange);
    flex-shrink: 0;
    margin-top: 2px;
}
.srv-sector-callout-ref-item strong {
    display: block;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-primary);
}
.srv-sector-callout-ref-item span {
    font-size: 0.78rem;
    color: var(--text-muted);
    line-height: 1.5;
}
@media (max-width: 900px) {
    .srv-sector-callout-inner { grid-template-columns: 1fr; gap: 2.5rem; }
}

/* ═══════════════════════════════════════════════════════════════
   MAPA EMBEBIDO (Google Maps iframe)
   ═══════════════════════════════════════════════════════════════ */
.sm-map-embed {
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border-subtle);
    flex: 1;
    min-height: 280px;
}
.sm-map-embed iframe {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 280px;
}
.contact-map-section {
    padding-top: 0;
    padding-bottom: 64px;
    background: var(--bg-primary);
}

/* ═══════════════════════════════════════════════════════════════
   /EMPRESA — TIMELINE DE HITOS
   ═══════════════════════════════════════════════════════════════ */
.empresa-timeline-list {
    list-style: none;
    margin: 48px 0 0;
    padding: 0;
    position: relative;
    max-width: 720px;
}
.empresa-timeline-list::before {
    content: '';
    position: absolute;
    left: 10px;
    top: 8px;
    bottom: 0;
    width: 2px;
    background: var(--border-subtle);
}
.empresa-timeline-item {
    display: flex;
    gap: 28px;
    margin-bottom: 40px;
    position: relative;
}
.empresa-timeline-dot {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--bg-card);
    border: 2px solid var(--border-subtle);
    flex-shrink: 0;
    margin-top: 3px;
    position: relative;
    z-index: 1;
}
.empresa-timeline-dot--active {
    background: var(--sm-orange);
    border-color: var(--sm-orange);
    box-shadow: 0 0 0 4px rgba(255,157,0,0.15);
}
.empresa-timeline-body {
    padding-bottom: 8px;
}
.empresa-timeline-year {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--sm-orange);
    margin-bottom: 6px;
}
.empresa-timeline-body h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 8px;
}
.empresa-timeline-body p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin: 0;
}

/* ═══════════════════════════════════════════════════════════════
   /EMPRESA — PERFIL FUNDADOR
   ═══════════════════════════════════════════════════════════════ */
.empresa-founder-card {
    display: flex;
    gap: 3rem;
    align-items: flex-start;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    padding: 2.5rem;
    max-width: 760px;
    margin-top: 48px;
}
.empresa-founder-card--prominent {
    max-width: 100%;
    border-color: rgba(255,157,0,0.15);
    background: linear-gradient(135deg, var(--bg-card) 0%, rgba(255,157,0,0.04) 100%);
}
.empresa-founder-photo {
    flex-shrink: 0;
}
.empresa-founder-photo img,
.empresa-founder-photo-placeholder {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--border-subtle);
    overflow: hidden;
}
.empresa-founder-photo-placeholder {
    background: var(--bg-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
}
.empresa-founder-photo-placeholder svg {
    width: 56px;
    height: 56px;
    color: var(--text-muted);
}
.empresa-founder-bio h3 {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--text-primary);
    margin: 0 0 4px;
}
.empresa-founder-role {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--sm-orange);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    display: block;
    margin-bottom: 16px;
}
.empresa-founder-bio p {
    font-size: 0.92rem;
    color: var(--text-secondary);
    line-height: 1.75;
    margin: 0 0 12px;
}
.empresa-founder-edu {
    list-style: none;
    margin: 20px 0 24px;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
    border-left: 2px solid var(--border-orange);
    padding-left: 16px;
}
.empresa-founder-edu li {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.empresa-founder-edu-title {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-primary);
}
.empresa-founder-edu-school {
    font-size: 0.78rem;
    color: var(--text-muted);
}

.empresa-founder-actions {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    flex-wrap: wrap;
    margin-top: 8px;
}
.empresa-founder-linkedin {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--sm-orange);
    text-decoration: none;
    white-space: nowrap;
}
.empresa-founder-linkedin:hover { text-decoration: underline; }

/* ═══════════════════════════════════════════════════════════════
   /EMPRESA — UBICACIÓN
   ═══════════════════════════════════════════════════════════════ */
.empresa-location-grid {
    display: flex;
    gap: 3rem;
    align-items: stretch;
    margin-top: 40px;
}
.empresa-location-info {
    min-width: 220px;
    max-width: 280px;
}
.empresa-location-info p {
    font-size: 0.92rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin: 0 0 16px;
}
.empresa-location-info strong {
    color: var(--text-primary);
}

@media (max-width: 768px) {
    .empresa-founder-card { flex-direction: column; gap: 1.5rem; }
    .empresa-founder-photo img,
    .empresa-founder-photo-placeholder { width: 80px; height: 80px; }
    .empresa-location-grid { flex-direction: column; }
    .empresa-location-info { max-width: 100%; }
    .sm-map-embed { min-height: 220px; }
    .sm-map-embed iframe { min-height: 220px; }
}

/* ── Banner calculadora ahorro OTAs ─────────────────────────────── */
.calc-banner {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    background: linear-gradient(135deg, rgba(255,157,0,.10) 0%, rgba(255,157,0,.04) 100%);
    border: 1px solid rgba(255,157,0,.35);
    border-left: 4px solid var(--brand-orange);
    border-radius: 12px;
    padding: 1.5rem 2rem;
    margin: 2.5rem 0;
}
.calc-banner-icon {
    font-size: 2.25rem;
    flex-shrink: 0;
    line-height: 1;
}
.calc-banner-body {
    flex: 1;
    min-width: 0;
}
.calc-banner-heading {
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 .35rem;
}
.calc-banner-sub {
    font-size: .875rem;
    color: var(--sm-gray);
    margin: 0;
    line-height: 1.5;
}
.calc-banner-sub strong { color: var(--brand-orange); font-weight: 600; }
.calc-banner-cta {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    background: var(--brand-orange) !important;
    color: #000 !important;
    font-weight: 700;
    font-size: .9rem;
    padding: .65rem 1.4rem;
    border-radius: 8px;
    text-decoration: none !important;
    white-space: nowrap;
    flex-shrink: 0;
    transition: opacity .2s;
}
.calc-banner-cta:hover { opacity: .85; color: #000 !important; }
.calc-banner-cta-arrow { font-style: normal; }
@media (max-width: 640px) {
    .calc-banner { flex-direction: column; align-items: flex-start; gap: 1rem; }
    .calc-banner-cta { width: 100%; justify-content: center; }
}

/* ══════════════════════════════════════════════════════════════════
   MEJORAS UI/UX — 2026-04
══════════════════════════════════════════════════════════════════ */

/* ── Counter estático (0%) ────────────────────────────────────── */
.counter-number.counter-static {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    line-height: 1;
}

.counter-note--green {
    color: var(--green-accent);
    font-weight: 600;
    font-size: .75rem;
    margin-top: 6px;
}

/* ── Social proof del hero ────────────────────────────────────── */
.hero-social-proof {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-top: 0;
}

.hero-proof-item {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: .8rem;
    font-weight: 500;
    color: var(--text-muted);
}

.hero-proof-item svg {
    color: var(--green-accent);
    flex-shrink: 0;
}

.hero-proof-num {
    color: var(--text-secondary);
    font-weight: 700;
}

.hero-proof-sep {
    color: var(--border-card);
    font-size: .8rem;
}

/* ── Sector card link ─────────────────────────────────────────── */
.sector-card-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 16px;
    font-size: .8rem;
    font-weight: 600;
    color: rgba(255,255,255,0.75);
    text-decoration: none;
    letter-spacing: .03em;
    transition: color .2s, gap .2s;
}

.sector-card-link:hover {
    color: #fff;
    gap: 10px;
}

/* ── Why badges (SVG icons) ───────────────────────────────────── */
.badge-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--brand-orange);
}

/* ── CTA note con SVG ─────────────────────────────────────────── */
.cta-note {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.cta-note svg { color: var(--text-muted); flex-shrink: 0; }

/* ── Hero floating badges SVG ─────────────────────────────────── */
.hero-floating-badge svg { color: var(--brand-orange); flex-shrink: 0; }

/* ══ SECCIÓN CÓMO TRABAJAMOS ══════════════════════════════════ */
.process-section {
    background: var(--bg-primary);
}

.process-steps {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2px;
    margin: 0 0 48px;
    position: relative;
}

/* Línea horizontal conectora */
.process-steps::before {
    content: '';
    position: absolute;
    top: 32px;
    left: calc(12.5% + 24px);
    right: calc(12.5% + 24px);
    height: 1px;
    background: linear-gradient(90deg,
        var(--border-orange) 0%,
        var(--border-subtle) 100%);
    z-index: 0;
}

.process-step {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0 24px;
    position: relative;
    z-index: 1;
}

.process-step-num {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-card);
    border: 1px solid var(--border-orange);
    border-radius: 50%;
    font-size: .85rem;
    font-weight: 800;
    color: var(--brand-orange);
    letter-spacing: .05em;
    margin-bottom: 24px;
    flex-shrink: 0;
}

.process-step-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 10px;
    line-height: 1.3;
}

.process-step-desc {
    font-size: .875rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.process-cta {
    text-align: center;
}

@media (max-width: 900px) {
    .process-steps {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }
    .process-steps::before { display: none; }
    .process-step { padding: 0; }
}

@media (max-width: 540px) {
    .process-steps { grid-template-columns: 1fr; }
}

/* ══ SCROLL REVEAL — global ═══════════════════════════════════ */
@media (prefers-reduced-motion: no-preference) {
    /* Todas las clases candidatas del site */
    .pillar-card, .sector-card, .testimonio-card, .why-item,
    .srv-card, .srv-index-card, .srv-feature-item, .srv-stat-item,
    .srv-why-item, .srv-faq-item, .srv-pricing-card, .srv-pricing-puntual-item,
    .modelo-card, .proceso-step,
    .lp-card, .lp-for-who-card, .lp-how-step, .lp-pricing-card,
    .argumento-card, .feature-item, .faq-item, .stat-item, .credential-item,
    .empresa-card, .empresa-stat-card, .empresa-stack-category,
    .empresa-credential-card, .empresa-timeline-item,
    .proyecto-card, .blog-card, .recurso-card,
    .process-step, .reveal-item {
        opacity: 0;
        transform: translateY(24px);
        transition: opacity 0.45s ease-out, transform 0.45s ease-out;
    }

    /* Estado visible */
    .pillar-card.is-visible, .sector-card.is-visible, .testimonio-card.is-visible,
    .why-item.is-visible, .srv-card.is-visible, .srv-index-card.is-visible,
    .srv-feature-item.is-visible, .srv-stat-item.is-visible, .srv-why-item.is-visible,
    .srv-faq-item.is-visible, .srv-pricing-card.is-visible, .srv-pricing-puntual-item.is-visible,
    .modelo-card.is-visible, .proceso-step.is-visible,
    .lp-card.is-visible, .lp-for-who-card.is-visible, .lp-how-step.is-visible,
    .lp-pricing-card.is-visible, .argumento-card.is-visible, .feature-item.is-visible,
    .faq-item.is-visible, .stat-item.is-visible, .credential-item.is-visible,
    .empresa-card.is-visible, .empresa-stat-card.is-visible, .empresa-stack-category.is-visible,
    .empresa-credential-card.is-visible, .empresa-timeline-item.is-visible,
    .proyecto-card.is-visible, .blog-card.is-visible, .recurso-card.is-visible,
    .process-step.is-visible, .reveal-item.is-visible {
        opacity: 1;
        transform: translateY(0);
    }

    /* Stagger genérico por posición en grid/lista */
    .pillar-card:nth-child(2),    .srv-index-card:nth-child(2),
    .sector-card:nth-child(2),    .testimonio-card:nth-child(2),
    .argumento-card:nth-child(2), .proyecto-card:nth-child(2),
    .blog-card:nth-child(2),      .recurso-card:nth-child(2),
    .lp-card:nth-child(2),        .feature-item:nth-child(2),
    .stat-item:nth-child(2),      .empresa-card:nth-child(2),
    .faq-item:nth-child(2),       .credential-item:nth-child(2)
    { transition-delay: 80ms; }

    .pillar-card:nth-child(3),    .srv-index-card:nth-child(3),
    .sector-card:nth-child(3),    .testimonio-card:nth-child(3),
    .argumento-card:nth-child(3), .proyecto-card:nth-child(3),
    .blog-card:nth-child(3),      .recurso-card:nth-child(3),
    .lp-card:nth-child(3),        .feature-item:nth-child(3),
    .stat-item:nth-child(3),      .empresa-card:nth-child(3),
    .faq-item:nth-child(3),       .credential-item:nth-child(3)
    { transition-delay: 160ms; }

    .pillar-card:nth-child(4),    .srv-index-card:nth-child(4),
    .sector-card:nth-child(4),    .argumento-card:nth-child(4),
    .proyecto-card:nth-child(4),  .blog-card:nth-child(4),
    .recurso-card:nth-child(4),   .lp-card:nth-child(4),
    .feature-item:nth-child(4),   .stat-item:nth-child(4),
    .empresa-card:nth-child(4),   .faq-item:nth-child(4),
    .credential-item:nth-child(4)
    { transition-delay: 240ms; }

    .pillar-card:nth-child(5),    .srv-index-card:nth-child(5),
    .argumento-card:nth-child(5), .stat-item:nth-child(5),
    .faq-item:nth-child(5),       .credential-item:nth-child(5)
    { transition-delay: 300ms; }

    .pillar-card:nth-child(6),    .srv-index-card:nth-child(6),
    .stat-item:nth-child(6),      .faq-item:nth-child(6)
    { transition-delay: 360ms; }

    /* why-item y process-step stagger propio (listas verticales) */
    .why-item:nth-child(2),      .process-step:nth-child(2),
    .empresa-timeline-item:nth-child(2)  { transition-delay: 60ms; }

    .why-item:nth-child(3),      .process-step:nth-child(3),
    .empresa-timeline-item:nth-child(3)  { transition-delay: 120ms; }

    .why-item:nth-child(4),      .process-step:nth-child(4),
    .empresa-timeline-item:nth-child(4)  { transition-delay: 180ms; }

    .why-item:nth-child(5),
    .empresa-timeline-item:nth-child(5)  { transition-delay: 240ms; }

    /* reveal-item genérico */
    .reveal-item:nth-child(2) { transition-delay: 80ms; }
    .reveal-item:nth-child(3) { transition-delay: 160ms; }
    .reveal-item:nth-child(4) { transition-delay: 240ms; }
    .reveal-item:nth-child(5) { transition-delay: 300ms; }
    .reveal-item:nth-child(6) { transition-delay: 360ms; }
}

/* ══════════════════════════════════════════════════════════════
   MEJORAS VISUALES — Softme WebSite2026
   Añadidas sobre el design system base.
   ══════════════════════════════════════════════════════════════ */

/* ── MV-1. HERO DYNAMIC — gradiente naranja en el texto del typewriter ── */
.hero-title .hero-dynamic {
    background: linear-gradient(90deg, #ff9d00 0%, #ffcc66 60%, #ff9d00 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% auto;
    animation: hero-text-shimmer 4s linear infinite;
}

@keyframes hero-text-shimmer {
    0%   { background-position: 0% center; }
    100% { background-position: 200% center; }
}

/* Typewriter caret: mantener color visible con text-fill transparent */
.hero-title .hero-dynamic .typewriter-caret {
    -webkit-text-fill-color: var(--brand-orange);
    background: var(--brand-orange);
    display: inline-block;
    vertical-align: baseline;
}

/* ── MV-2. BOTÓN PRIMARIO — shimmer de luz al hover ── */
.sm-btn-primary {
    overflow: hidden;
}

.sm-btn-primary::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(255,255,255,0.25) 50%,
        transparent 100%
    );
    transform: skewX(-20deg);
    transition: left 0s;
    pointer-events: none;
}

.sm-btn-primary { position: relative; }

.sm-btn-primary:hover::after {
    left: 160%;
    transition: left 0.55s ease;
}

/* ── MV-3. CARD MCP DESTACADA — glow pulsante en el borde ── */
@keyframes featured-glow-pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(255,157,0,0); }
    50%       { box-shadow: 0 0 32px 6px rgba(255,157,0,0.18), 0 0 0 1px rgba(255,157,0,0.25); }
}

.pillar-card--featured {
    animation: featured-glow-pulse 3s ease-in-out infinite;
}

/* Detener el pulso si el usuario prefiere reducción de movimiento */
@media (prefers-reduced-motion: reduce) {
    .pillar-card--featured { animation: none; }
    .hero-title .hero-dynamic { animation: none; }
}

/* ── MV-4. CARDS — inner glow en hover más premium ── */
.pillar-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: radial-gradient(
        ellipse 60% 40% at 50% 0%,
        rgba(255,157,0,0.06) 0%,
        transparent 70%
    );
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: 0;
}

.pillar-card:hover::after { opacity: 1; }

/* Asegurar que el contenido está sobre el pseudo-elemento */
.pillar-card > *:not(.pillar-card-link) { position: relative; z-index: 1; }

/* ── MV-5. NAVBAR SCROLLED — línea inferior naranja difuminada ── */
.sm-navbar.scrolled::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 10%;
    right: 10%;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(255,157,0,0.4) 50%,
        transparent 100%
    );
}

/* ── MV-6. CONTADORES — halo naranja bajo el número ── */
.counter-value {
    text-shadow: 0 0 40px rgba(255,157,0,0.35);
}

/* ── MV-7. SECTION HEADING — línea decorativa naranja bajo títulos ── */
.sm-section-heading {
    position: relative;
    display: inline-block;
}

/* Solo aplicar en headings que no sean demasiado largos (evitar overflow) */
.sm-section-header .sm-section-heading::after {
    content: '';
    display: block;
    margin-top: 12px;
    width: 48px;
    height: 3px;
    background: linear-gradient(90deg, var(--brand-orange) 0%, rgba(255,157,0,0.2) 100%);
    border-radius: 2px;
}

/* ── MV-8. SECTION SEPARATOR — gradiente en lugar de línea plana ── */
.section-separator {
    border: none;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent 0%,
        var(--border-subtle) 20%,
        rgba(255,157,0,0.15) 50%,
        var(--border-subtle) 80%,
        transparent 100%
    );
}

/* ── MV-9. ANNOUNCEMENT BAR BADGE — shimmer en el badge NUEVO ── */
@keyframes badge-shimmer {
    0%   { background-position: -200% center; }
    100% { background-position: 200% center; }
}

.sm-announce-badge {
    background: linear-gradient(
        90deg,
        var(--brand-orange) 0%,
        #ffcc66 50%,
        var(--brand-orange) 100%
    );
    background-size: 200% auto;
    animation: badge-shimmer 2.5s linear infinite;
    color: #000;
    -webkit-background-clip: unset;
    background-clip: unset;
    -webkit-text-fill-color: unset;
}

/* ── MV-10. PILLAR CARD ICON — micro-glow en hover ── */
.pillar-card:hover .pillar-card-icon {
    background: rgba(255,157,0,0.2);
    box-shadow: 0 0 20px rgba(255,157,0,0.2);
    transition: background 0.3s ease, box-shadow 0.3s ease;
}

/* ── MV-11. MARQUEE TAGS — efecto glow sutil en hover ── */
.marquee-tag:hover {
    box-shadow: 0 0 12px rgba(255,157,0,0.15);
}

/* ── MV-12. CTA BOX — mejorar glow interior ── */
.cta-box::after {
    background: radial-gradient(ellipse 70% 60% at 50% 50%, rgba(255,157,0,0.09) 0%, transparent 70%);
}

/* ── MV-13. BOTÓN SECUNDARIO — borde con gradiente en hover ── */
.sm-btn-secondary:hover {
    border-color: rgba(255,157,0,0.35);
    background: rgba(255,157,0,0.04);
}

/* ── MV-14. FOOTER SOCIAL ICONS — glow naranja en hover ── */
.sm-footer-social-link:hover {
    box-shadow: 0 0 12px rgba(255,157,0,0.2);
}

/* ── MV-15. MCP NODE MCP — glow orbital ── */
@keyframes mcp-node-pulse {
    0%, 100% { box-shadow: 0 0 16px rgba(255,157,0,0.08), 0 4px 24px rgba(0,0,0,0.4); }
    50%       { box-shadow: 0 0 40px rgba(255,157,0,0.22), 0 4px 24px rgba(0,0,0,0.4); }
}

.mcp-node.node-mcp {
    animation: mcp-node-pulse 3s ease-in-out infinite;
}

@media (prefers-reduced-motion: reduce) {
    .mcp-node.node-mcp { animation: none; }
    .sm-announce-badge { animation: none; }
    .hero-title .hero-dynamic { background: none; -webkit-text-fill-color: var(--brand-orange); }
}
