/* ===========================================================
   GLTS — Sitio público. Diseño claro, moderno y elegante.
   =========================================================== */
:root {
    --brand: #1a5fd0;
    --brand-600: #1450bb;
    --brand-700: #0f3f96;
    --brand-soft: #eaf1fd;
    --accent: #12b6e6;
    --navy: #0a1633;
    --ink: #0c1832;
    --ink-2: #36435c;
    --muted: #5c6a85;
    --muted-2: #93a0b6;
    --line: #e7ebf2;
    --line-2: #eef1f7;
    --bg: #ffffff;
    --bg-soft: #f7f9fc;
    --bg-soft-2: #eef2f9;
    --white: #ffffff;
    --radius: 14px;
    --radius-sm: 9px;
    --shadow-sm: 0 1px 2px rgba(12, 24, 50, .04), 0 1px 3px rgba(12, 24, 50, .06);
    --shadow: 0 6px 24px rgba(12, 24, 50, .08);
    --shadow-lg: 0 24px 60px rgba(12, 24, 50, .14);
    --maxw: 1200px;
    --font-head: 'Plus Jakarta Sans', system-ui, sans-serif;
    --font-body: 'Inter', system-ui, sans-serif;
}

* { box-sizing: border-box; }

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

body {
    margin: 0;
    font-family: var(--font-body);
    color: var(--ink-2);
    background: var(--bg);
    line-height: 1.65;
    font-size: 16px;
    overflow-x: hidden;
}

h1, h2, h3, h4 { font-family: var(--font-head); color: var(--ink); line-height: 1.15; margin: 0 0 .5em; font-weight: 700; }

a { color: var(--brand); text-decoration: none; transition: color .2s; }
a:hover { color: var(--brand-700); }

img { max-width: 100%; display: block; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }

.skip-link {
    position: absolute; left: -999px; top: 0; z-index: 1000;
    background: var(--brand); color: #fff; padding: 10px 16px; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* ---------- Botones ---------- */
.btn {
    display: inline-flex; align-items: center; gap: .5rem;
    font-family: var(--font-head); font-weight: 600; font-size: .95rem;
    padding: .7rem 1.25rem; border-radius: 999px; border: 1.5px solid transparent;
    cursor: pointer; transition: all .22s ease; white-space: nowrap;
}
.btn i { font-size: 1rem; }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 1px 2px rgba(12,24,50,.12); }
.btn-primary:hover { color: #fff; background: var(--brand-600); transform: translateY(-1px); box-shadow: var(--shadow); }
.btn-ghost { background: var(--white); color: var(--ink); border-color: var(--line); box-shadow: var(--shadow-sm); }
.btn-ghost:hover { color: var(--brand); border-color: var(--brand); }
.btn-outline { background: transparent; color: var(--brand); border-color: var(--brand); }
.btn-outline:hover { background: var(--brand); color: #fff; }
.btn-lg { padding: .85rem 1.6rem; font-size: 1rem; }
.btn-block { width: 100%; justify-content: center; }

.eyebrow {
    display: inline-block; font-family: var(--font-head); font-weight: 700;
    text-transform: uppercase; letter-spacing: .12em; font-size: .78rem;
    color: var(--brand); margin-bottom: .65rem;
}

/* ---------- Header ---------- */
.site-header {
    position: sticky; top: 0; z-index: 100;
    background: rgba(255,255,255,.82); backdrop-filter: saturate(180%) blur(14px);
    border-bottom: 1px solid var(--line);
    transition: box-shadow .25s, background .25s;
}
.site-header.scrolled { box-shadow: var(--shadow-sm); background: rgba(255,255,255,.95); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 70px; }

.brand { display: inline-flex; align-items: center; gap: .55rem; font-family: var(--font-head); font-weight: 800; font-size: 1.3rem; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand-mark {
    width: 34px; height: 34px; display: grid; place-items: center; border-radius: 9px;
    background: linear-gradient(135deg, var(--brand), var(--accent)); color: #fff; font-size: 1rem;
}
.brand-text { letter-spacing: .02em; }
.brand-logo { height: 40px; width: auto; max-width: 200px; object-fit: contain; display: block; }
.footer-logo { height: 42px; max-width: 220px; }

.main-nav { display: flex; align-items: center; gap: 1.6rem; }
.main-nav > a { font-family: var(--font-head); font-weight: 600; font-size: .95rem; color: var(--ink-2); }
.main-nav > a:not(.nav-cta):hover { color: var(--brand); }
.nav-cta { color: #fff !important; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 24px; height: 2.5px; background: var(--ink); border-radius: 2px; transition: .3s; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 44px 0 64px; overflow: hidden; }
.hero-bg {
    position: absolute; inset: 0; z-index: 0;
    background:
        radial-gradient(1100px 520px at 88% -8%, rgba(0,194,255,.14), transparent 60%),
        radial-gradient(900px 500px at -5% 10%, rgba(10,102,255,.12), transparent 55%),
        linear-gradient(180deg, #fbfdff, #ffffff 60%);
}
.hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.12fr .88fr; gap: 48px; align-items: center; }
.badge-pill {
    display: inline-flex; align-items: center; gap: .45rem; padding: .45rem .95rem;
    background: var(--brand-soft); color: var(--brand-700); border: 1px solid #d4e3ff;
    border-radius: 999px; font-weight: 600; font-size: .85rem; margin-bottom: .5rem;
}
.hero-title { font-size: clamp(2.5rem, 5.4vw, 4rem); font-weight: 800; letter-spacing: -.035em; line-height: 1.05; margin: -.15em 0 .7rem; color: var(--navy); }
.hero-title .accent { color: var(--brand); }
.hero-sub { font-size: 1.17rem; line-height: 1.7; color: var(--muted); max-width: 34rem; margin: 0 0 2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-bottom: 2.4rem; }

.hero-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; max-width: 33rem; }
.stat { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 1rem 1.1rem; box-shadow: var(--shadow-sm); }
.stat-num { display: block; font-family: var(--font-head); font-weight: 800; font-size: 1.7rem; color: var(--brand); line-height: 1; }
.stat-label { display: block; font-size: .82rem; color: var(--muted); margin-top: .4rem; }

/* Hero visual */
.hero-visual { display: grid; place-items: center; }
.hero-image { width: 100%; max-width: 520px; border-radius: var(--radius); box-shadow: var(--shadow-lg); object-fit: cover; }
.orbit { position: relative; width: 380px; height: 380px; max-width: 100%; display: grid; place-items: center; }
.orbit-core { width: 90px; height: 90px; border-radius: 24px; display: grid; place-items: center; font-size: 2.2rem; color: #fff; background: linear-gradient(135deg, var(--brand), var(--accent)); box-shadow: 0 20px 50px rgba(10,102,255,.4); z-index: 2; }
.orbit-ring { position: absolute; border-radius: 50%; border: 1.5px dashed #cfe0ff; }
.ring-1 { width: 200px; height: 200px; animation: spin 26s linear infinite; }
.ring-2 { width: 300px; height: 300px; border-color: #dbe8ff; animation: spin 40s linear infinite reverse; }
.ring-3 { width: 380px; height: 380px; border-style: solid; border-color: #edf3ff; }
@keyframes spin { to { transform: rotate(360deg); } }
.chip {
    position: absolute; display: inline-flex; align-items: center; gap: .4rem;
    background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow);
    padding: .5rem .8rem; border-radius: 999px; font-size: .82rem; font-weight: 600; color: var(--ink-2);
}
.chip i { color: var(--brand); }
.chip-1 { top: 6%; left: -4%; animation: float 5s ease-in-out infinite; }
.chip-2 { bottom: 14%; right: -6%; animation: float 6s ease-in-out infinite .6s; }
.chip-3 { bottom: 2%; left: 12%; animation: float 5.5s ease-in-out infinite .3s; }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* ---------- Trust strip ---------- */
.trust-strip { background: var(--bg-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 26px 0; }
.trust-strip p { text-align: center; color: var(--muted-2); font-size: .82rem; text-transform: uppercase; letter-spacing: .12em; font-weight: 600; margin: 0 0 14px; }
.trust-icons { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 34px; }
.trust-icons span { display: inline-flex; align-items: center; gap: .5rem; color: var(--ink-2); font-weight: 600; font-size: .95rem; }
.trust-icons i { color: var(--brand); font-size: 1.15rem; }

/* ---------- Secciones ---------- */
.section { padding: 86px 0; }
.section-alt { background: var(--bg-soft); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 52px; }
.section-head h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); font-weight: 800; letter-spacing: -.015em; }
.section-head p { color: var(--muted); font-size: 1.08rem; margin: 0; }

/* Stack */
.tech-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.tech-card {
    background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
    padding: 26px 14px; display: flex; flex-direction: column; align-items: center; gap: 12px;
    text-align: center; box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .2s, border-color .2s;
}
.tech-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: #cfe0ff; }
.tech-card i { font-size: 2rem; color: var(--brand); }
.tech-card img { height: 40px; width: auto; object-fit: contain; }
.tech-card span { font-family: var(--font-head); font-weight: 600; font-size: .95rem; color: var(--ink); }

/* Cards grid (soluciones) */
.cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.solution-card {
    background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
    padding: 30px; box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .2s, border-color .2s;
    position: relative; overflow: hidden;
}
.solution-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--brand), var(--accent)); transform: scaleX(0); transform-origin: left; transition: transform .3s; }
.solution-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: #cfe0ff; }
.solution-card:hover::before { transform: scaleX(1); }
.sol-icon { width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center; font-size: 1.5rem; color: var(--brand); background: var(--brand-soft); margin-bottom: 18px; }
.solution-card h3 { font-size: 1.25rem; }
.solution-card p { color: var(--muted); margin: 0 0 16px; }
.card-link { font-family: var(--font-head); font-weight: 600; font-size: .92rem; display: inline-flex; align-items: center; gap: .4rem; }
.card-link i { transition: transform .2s; }
.card-link:hover i { transform: translateX(4px); }

/* Proceso / steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.step { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-sm); position: relative; }
.step-n { font-family: var(--font-head); font-weight: 800; font-size: 2.4rem; color: var(--brand-soft); line-height: 1; display: block; margin-bottom: 8px; }
.step h3 { font-size: 1.12rem; }
.step p { color: var(--muted); font-size: .95rem; margin: 0; }

/* Industrias */
.industries-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.industry-card { display: flex; align-items: center; gap: 16px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .2s; }
.industry-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.industry-card i { font-size: 1.8rem; color: var(--brand); background: var(--brand-soft); width: 52px; height: 52px; border-radius: 12px; display: grid; place-items: center; flex-shrink: 0; }
.industry-card strong { display: block; font-family: var(--font-head); font-size: 1.08rem; color: var(--ink); }
.industry-card span { color: var(--muted); font-size: .9rem; }

/* Clientes */
.clients-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.client-logo {
    background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
    min-height: 96px; display: grid; place-items: center; padding: 18px; box-shadow: var(--shadow-sm);
    transition: transform .2s, box-shadow .2s; text-align: center;
}
.client-logo:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.client-logo img { max-height: 52px; width: auto; object-fit: contain; filter: grayscale(1); opacity: .75; transition: .25s; }
.client-logo:hover img { filter: grayscale(0); opacity: 1; }
.client-logo span { font-family: var(--font-head); font-weight: 700; color: var(--ink-2); font-size: 1rem; }

/* Blog grid */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.blog-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .2s; display: flex; flex-direction: column; }
.blog-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.blog-thumb { display: block; aspect-ratio: 16/9; overflow: hidden; background: var(--bg-soft-2); }
.blog-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.blog-card:hover .blog-thumb img { transform: scale(1.05); }
.thumb-placeholder { width: 100%; height: 100%; display: grid; place-items: center; font-size: 2.4rem; color: var(--brand); background: linear-gradient(135deg, var(--brand-soft), #fff); }
.blog-body { padding: 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.blog-cat { align-self: flex-start; background: var(--brand-soft); color: var(--brand-700); font-size: .74rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; padding: .25rem .6rem; border-radius: 999px; }
.blog-body h3 { font-size: 1.18rem; margin: 0; }
.blog-body h3 a { color: var(--ink); }
.blog-body h3 a:hover { color: var(--brand); }
.blog-body p { color: var(--muted); font-size: .95rem; margin: 0; flex: 1; }
.blog-meta { color: var(--muted-2); font-size: .85rem; display: inline-flex; align-items: center; gap: .4rem; }
.center-cta { text-align: center; margin-top: 42px; }

/* Contacto */
.contact-section { background: linear-gradient(180deg, var(--bg-soft), #fff); }
.contact-wrap { display: grid; grid-template-columns: .9fr 1.1fr; gap: 40px; align-items: start; }
.contact-copy h2 { font-size: clamp(1.8rem, 3.4vw, 2.5rem); }
.contact-copy p { color: var(--muted); font-size: 1.08rem; }
.contact-list { list-style: none; padding: 0; margin: 1.4rem 0 0; display: grid; gap: 12px; }
.contact-list li { display: flex; align-items: center; gap: .7rem; color: var(--ink-2); font-weight: 500; }
.contact-list i { color: var(--brand); font-size: 1.1rem; }
.contact-form-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow); }
.contact-form { display: grid; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-family: var(--font-head); font-weight: 600; font-size: .88rem; color: var(--ink); }
.field input, .field textarea {
    font-family: var(--font-body); font-size: .96rem; padding: .75rem .9rem;
    border: 1.5px solid var(--line); border-radius: var(--radius-sm); background: #fcfdff; color: var(--ink); transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(10,102,255,.12); background: #fff; }
.field textarea { resize: vertical; }

.alert { padding: .8rem 1rem; border-radius: var(--radius-sm); font-size: .92rem; margin-bottom: 14px; display: flex; align-items: center; gap: .5rem; }
.alert-success { background: #e8f8ef; color: #137a47; border: 1px solid #b9ecce; }
.alert-error { background: #fdecec; color: #b3261e; border: 1px solid #f7c5c2; }

/* ---------- Footer ---------- */
.site-footer { background: #0b1220; color: #aab6cc; padding: 60px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 40px; padding-bottom: 36px; border-bottom: 1px solid rgba(255,255,255,.08); }
.footer-brand .brand, .footer-brand .brand:hover { color: #fff; }
.footer-brand p { margin: 14px 0 18px; max-width: 30ch; color: #93a1ba; }
.social { display: flex; gap: 10px; }
.social a { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: rgba(255,255,255,.06); color: #cdd7e8; font-size: 1.05rem; transition: .2s; }
.social a:hover { background: var(--brand); color: #fff; transform: translateY(-2px); }
.footer-col h4 { color: #fff; font-size: 1rem; margin-bottom: 14px; }
.footer-col a, .footer-col span { display: flex; align-items: center; gap: .5rem; color: #93a1ba; padding: 5px 0; font-size: .95rem; }
.footer-col a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; padding-top: 22px; font-size: .88rem; color: #7a8aa6; }
.admin-link { color: #7a8aa6; }
.admin-link:hover { color: #fff; }

/* WhatsApp flotante */
.wa-float { position: fixed; right: 22px; bottom: 22px; z-index: 90; width: 56px; height: 56px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; font-size: 1.7rem; box-shadow: 0 10px 24px rgba(37,211,102,.4); transition: transform .2s; }
.wa-float:hover { color: #fff; transform: scale(1.08); }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
    .hero-inner { grid-template-columns: 1fr; gap: 36px; }
    .hero-visual { order: -1; }
    .orbit { width: 320px; height: 320px; }
    .tech-grid { grid-template-columns: repeat(4, 1fr); }
    .cards-grid, .blog-grid { grid-template-columns: repeat(2, 1fr); }
    .steps { grid-template-columns: repeat(2, 1fr); }
    .industries-grid { grid-template-columns: repeat(2, 1fr); }
    .clients-grid { grid-template-columns: repeat(3, 1fr); }
    .contact-wrap { grid-template-columns: 1fr; gap: 28px; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
}

/* Menú: colapsa a hamburguesa en tablet/móvil para evitar apretujamiento */
@media (max-width: 920px) {
    .main-nav {
        position: fixed; inset: 70px 0 auto 0; flex-direction: column; align-items: stretch;
        background: #fff; border-bottom: 1px solid var(--line); padding: 16px 22px 24px; gap: .4rem;
        transform: translateY(-130%); transition: transform .32s ease; box-shadow: var(--shadow); max-height: calc(100vh - 70px); overflow-y: auto;
    }
    .main-nav.open { transform: translateY(0); }
    .main-nav > a { padding: .8rem .2rem; border-bottom: 1px solid var(--line); }
    .nav-cta { justify-content: center; margin-top: 8px; border-bottom: none !important; }
    .nav-toggle { display: flex; }
}

@media (max-width: 720px) {
    .section { padding: 60px 0; }
    .hero { padding: 28px 0 44px; }
    .hero-stats { grid-template-columns: 1fr; }
    .stat { display: flex; align-items: baseline; gap: 12px; }
    .stat-num { font-size: 1.4rem; }
    .tech-grid { grid-template-columns: repeat(3, 1fr); }
    .cards-grid, .blog-grid, .steps, .industries-grid, .clients-grid { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .orbit { width: 270px; height: 270px; }
    .ring-3 { width: 270px; height: 270px; }
    .ring-2 { width: 210px; height: 210px; }
    .chip { font-size: .74rem; padding: .4rem .65rem; }
}

@media (max-width: 420px) {
    .tech-grid { grid-template-columns: repeat(2, 1fr); }
    .trust-icons { gap: 10px 18px; }
}

/* ===========================================================
   Blog
   =========================================================== */
.container-narrow { max-width: 800px; }

.page-hero {
    padding: 64px 0 30px; text-align: center;
    background:
        radial-gradient(800px 360px at 50% -20%, rgba(0,194,255,.12), transparent 60%),
        linear-gradient(180deg, #fbfdff, #fff);
    border-bottom: 1px solid var(--line);
}
.page-hero h1 { font-size: clamp(2rem, 4.4vw, 3rem); font-weight: 800; }
.page-hero > .container > p { color: var(--muted); font-size: 1.1rem; max-width: 36rem; margin: 0 auto; }
.blog-search { display: flex; align-items: center; gap: 8px; max-width: 520px; margin: 28px auto 0; background: #fff; border: 1.5px solid var(--line); border-radius: 999px; padding: 6px 6px 6px 18px; box-shadow: var(--shadow-sm); }
.blog-search i { color: var(--muted-2); }
.blog-search input { flex: 1; border: none; outline: none; font-size: .98rem; background: transparent; color: var(--ink); }
.blog-search .btn { padding: .6rem 1.2rem; }

.blog-filters { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 40px; }
.chip-filter { padding: .5rem 1.1rem; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; color: var(--ink-2); font-family: var(--font-head); font-weight: 600; font-size: .9rem; }
.chip-filter:hover { border-color: var(--brand); color: var(--brand); }
.chip-filter.active { background: var(--brand); color: #fff; border-color: var(--brand); }

.empty-state { text-align: center; padding: 70px 0; color: var(--muted); }
.empty-state i { font-size: 3rem; color: var(--muted-2); display: block; margin-bottom: 14px; }

.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 48px; }
.page-link { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 10px; border: 1.5px solid var(--line); background: #fff; color: var(--ink-2); font-family: var(--font-head); font-weight: 600; }
.page-link:hover { border-color: var(--brand); color: var(--brand); }
.page-link.active { background: var(--brand); color: #fff; border-color: var(--brand); }

/* Post detalle */
.post-header { padding: 48px 0 26px; }
.breadcrumb { color: var(--muted-2); font-size: .9rem; display: flex; align-items: center; gap: .4rem; margin-bottom: 16px; }
.post-header h1 { font-size: clamp(1.9rem, 4vw, 2.8rem); font-weight: 800; letter-spacing: -.015em; }
.post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; color: var(--muted); font-size: .92rem; margin-top: 12px; }
.post-meta span { display: inline-flex; align-items: center; gap: .4rem; }
.post-cover { width: 100%; border-radius: var(--radius); margin: 10px 0 30px; box-shadow: var(--shadow); aspect-ratio: 16/8; object-fit: cover; }
.post-content { font-size: 1.1rem; color: var(--ink-2); line-height: 1.85; }
.post-content h2 { font-size: 1.6rem; margin: 1.8em 0 .5em; }
.post-content h3 { font-size: 1.3rem; margin: 1.5em 0 .5em; }
.post-content p { margin: 0 0 1.2em; }
.post-content img { border-radius: var(--radius-sm); margin: 1.2em 0; box-shadow: var(--shadow-sm); }
.post-content a { text-decoration: underline; }
.post-content ul, .post-content ol { margin: 0 0 1.2em; padding-left: 1.3em; }
.post-content li { margin-bottom: .5em; }
.post-content blockquote { border-left: 4px solid var(--brand); background: var(--bg-soft); margin: 1.4em 0; padding: 1em 1.4em; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; color: var(--ink-2); font-style: italic; }
.post-content pre { background: #0b1220; color: #e6edf7; padding: 1.1em 1.3em; border-radius: var(--radius-sm); overflow-x: auto; font-size: .92rem; }
.post-content code { background: var(--bg-soft-2); padding: .15em .45em; border-radius: 6px; font-size: .92em; }
.post-content pre code { background: none; padding: 0; }

.post-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 30px 0; }
.tag { background: var(--brand-soft); color: var(--brand-700); padding: .3rem .8rem; border-radius: 999px; font-size: .85rem; font-weight: 600; }
.post-share { display: flex; align-items: center; gap: 12px; padding: 20px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin: 20px 0 36px; }
.post-share span { font-weight: 600; color: var(--ink); font-family: var(--font-head); }
.post-share a { width: 42px; height: 42px; border-radius: 10px; display: grid; place-items: center; background: var(--bg-soft); color: var(--ink-2); font-size: 1.15rem; }
.post-share a:hover { background: var(--brand); color: #fff; }
.post-cta { background: linear-gradient(135deg, var(--brand-soft), #fff); border: 1px solid #d4e3ff; border-radius: var(--radius); padding: 36px; text-align: center; margin: 10px 0 50px; }
.post-cta h3 { font-size: 1.5rem; }
.post-cta p { color: var(--muted); margin: 0 0 18px; }

/* Comentarios del blog */
.comments { margin: 10px 0 50px; }
.comments-title { font-size: 1.5rem; margin-bottom: 18px; }
.comments-title span { color: var(--muted-2); font-weight: 600; }
.comment-list { display: grid; gap: 16px; margin-bottom: 30px; }
.comment { display: flex; gap: 14px; padding: 18px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.comment-avatar { width: 42px; height: 42px; border-radius: 50%; flex-shrink: 0; background: linear-gradient(135deg, var(--brand), var(--accent)); color: #fff; display: grid; place-items: center; font-family: var(--font-head); font-weight: 700; }
.comment-head { display: flex; align-items: baseline; gap: 10px; margin-bottom: 4px; }
.comment-head strong { font-family: var(--font-head); color: var(--navy); }
.comment-head span { color: var(--muted-2); font-size: .82rem; }
.comment-body p { margin: 0; color: var(--ink-2); white-space: pre-wrap; }
.comment-form-title { font-size: 1.25rem; margin: 8px 0 16px; }
.comment-form { display: grid; gap: 14px; background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.comment-form .field { display: flex; flex-direction: column; gap: 6px; }
.comment-form label { font-family: var(--font-head); font-weight: 600; font-size: .88rem; color: var(--ink); }
.comment-form input, .comment-form textarea { font-family: var(--font-body); font-size: .96rem; padding: .7rem .85rem; border: 1.5px solid var(--line); border-radius: var(--radius-sm); background: #fff; }
.comment-form input:focus, .comment-form textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(26,95,208,.12); }
.comment-form button { justify-self: start; }

/* ===========================================================
   Tickets / Soporte
   =========================================================== */
.ticket-layout { display: grid; grid-template-columns: 1.55fr .9fr; gap: 28px; align-items: start; }
.ticket-form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow); }
.ticket-form-card h2 { font-size: 1.4rem; margin-bottom: 18px; }
.ticket-form-card select { font-family: var(--font-body); font-size: .96rem; padding: .75rem .9rem; border: 1.5px solid var(--line); border-radius: var(--radius-sm); background: #fcfdff; color: var(--ink); }
.ticket-form-card select:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(10,102,255,.12); }

.ticket-aside { display: grid; gap: 18px; }
.ticket-help { background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.ticket-help h3 { font-size: 1.1rem; margin-bottom: 12px; }
.ticket-help ol { margin: 0; padding-left: 1.1rem; color: var(--muted); }
.ticket-help ol li { margin-bottom: 8px; }
.ticket-help.categories ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ticket-help.categories li { display: flex; align-items: center; gap: .6rem; color: var(--ink-2); font-weight: 500; }
.ticket-help.categories i { color: var(--brand); font-size: 1.15rem; }

.success-badge { width: 76px; height: 76px; border-radius: 50%; background: #e8f8ef; color: #16a34a; display: grid; place-items: center; font-size: 2.4rem; margin: 0 auto 18px; }
.lead-muted { color: var(--muted); font-size: 1.08rem; }
.ticket-number-box { background: var(--brand-soft); border: 1px solid #d4e3ff; border-radius: var(--radius); padding: 22px; margin: 24px 0; }
.ticket-number-box span { display: block; font-size: .82rem; text-transform: uppercase; letter-spacing: .08em; color: var(--brand-700); font-weight: 700; }
.ticket-number-box strong { font-family: var(--font-head); font-size: 1.9rem; color: var(--brand); letter-spacing: .03em; }

/* Caja de credenciales (número + clave) */
.credentials-box { background: #fff; border: 2px solid var(--brand-soft); border-radius: var(--radius); padding: 8px 24px; margin: 26px 0 14px; box-shadow: var(--shadow); text-align: left; }
.cred-row { padding: 16px 0; }
.cred-label { font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--brand-700); font-weight: 700; margin-bottom: 6px; }
.cred-value { display: flex; align-items: center; gap: 10px; }
.cred-value code { flex: 1; font-family: ui-monospace, "Cascadia Code", Consolas, monospace; font-size: 1.05rem; font-weight: 600; color: var(--navy); background: var(--bg-soft); border: 1px solid var(--line); border-radius: 8px; padding: .6rem .8rem; word-break: break-all; }
.cred-divider { height: 1px; background: var(--line); }
.copy-btn { flex-shrink: 0; width: 42px; height: 42px; border-radius: 9px; border: 1.5px solid var(--line); background: #fff; color: var(--brand); font-size: 1.05rem; cursor: pointer; transition: .15s; }
.copy-btn:hover { background: var(--brand-soft); border-color: var(--brand); }
.copy-btn.copied { background: #e8f8ef; border-color: #b9ecce; color: #16a34a; }
.cred-warning { display: flex; align-items: flex-start; gap: 8px; text-align: left; background: #fffbeb; border: 1px solid #fde9b8; color: #92660d; border-radius: var(--radius-sm); padding: 12px 14px; font-size: .9rem; }
.cred-warning i { margin-top: 2px; }

.track-form { display: flex; gap: 10px; flex-wrap: wrap; }
.track-form input { flex: 1; min-width: 180px; font-size: .96rem; padding: .75rem .9rem; border: 1.5px solid var(--line); border-radius: var(--radius-sm); background: #fcfdff; }
.track-form input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(10,102,255,.12); }

.ticket-view { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow); margin-top: 24px; }
.ticket-view-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.ticket-view-head h2 { font-size: 1.4rem; margin: 4px 0 0; }
.muted2 { color: var(--muted-2); font-size: .85rem; font-weight: 600; }
.ticket-view-meta { display: flex; flex-wrap: wrap; gap: 16px; color: var(--muted); font-size: .9rem; margin: 14px 0; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.ticket-view-meta span { display: inline-flex; align-items: center; gap: .4rem; }
.ticket-desc { white-space: pre-wrap; color: var(--ink-2); line-height: 1.7; }
.resolution-box { background: #e8f8ef; border: 1px solid #b9ecce; border-radius: var(--radius); padding: 18px 20px; margin: 20px 0; }
.resolution-head { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; color: #137a47; }
.resolution-head i { font-size: 1.2rem; }
.resolution-head .res-time { margin-left: auto; font-size: .82rem; background: #fff; border: 1px solid #b9ecce; padding: .2rem .6rem; border-radius: 999px; font-weight: 600; }
.resolution-box p { margin: 0; white-space: pre-wrap; color: var(--ink-2); }
.thread-title { font-size: 1.15rem; margin: 26px 0 14px; }
.thread { display: grid; gap: 12px; margin-bottom: 22px; }
.bubble { border-radius: 12px; padding: 14px 16px; max-width: 88%; }
.bubble.client { background: var(--bg-soft); border: 1px solid var(--line); justify-self: end; }
.bubble.staff { background: var(--brand-soft); border: 1px solid #d4e3ff; justify-self: start; }
.bubble-head { display: flex; gap: 10px; align-items: baseline; margin-bottom: 4px; }
.bubble-head strong { font-family: var(--font-head); font-size: .92rem; color: var(--ink); }
.bubble-head span { font-size: .76rem; color: var(--muted-2); }
.bubble-body { white-space: pre-wrap; color: var(--ink-2); font-size: .95rem; }
.reply-form { display: grid; gap: 10px; border-top: 1px solid var(--line); padding-top: 18px; }
.reply-form label { font-family: var(--font-head); font-weight: 600; color: var(--ink); }
.reply-form textarea { font-family: var(--font-body); font-size: .96rem; padding: .75rem .9rem; border: 1.5px solid var(--line); border-radius: var(--radius-sm); background: #fcfdff; resize: vertical; }
.reply-form textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(10,102,255,.12); }
.reply-form button { justify-self: start; }

/* Estados (pills) */
.status-pill { display: inline-flex; align-items: center; padding: .35rem .8rem; border-radius: 999px; font-size: .8rem; font-weight: 700; white-space: nowrap; }
.st-new { background: #e8f0ff; color: #0a5ae0; }
.st-progress { background: #fef3e2; color: #b45309; }
.st-wait { background: #f3e8ff; color: #7c3aed; }
.st-done { background: #e8f8ef; color: #137a47; }
.st-closed { background: #eef1f6; color: #64748b; }

/* ===========================================================
   Secciones nuevas (rediseño profesional)
   =========================================================== */

/* Eyebrow con línea (estilo enterprise) */
.eyebrow { display: inline-flex; align-items: center; gap: .5rem; }
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--brand); display: inline-block; border-radius: 2px; }

/* Hero: mini prueba social bajo los CTAs */
.hero-trust { display: flex; align-items: center; gap: .7rem; margin-top: 1.6rem; color: var(--muted); font-size: .9rem; }
.hero-trust .stars { color: #f5a623; letter-spacing: 2px; }
.hero-trust strong { color: var(--ink); }

/* Banda de capacidades / por qué GLTS */
.capabilities { padding: 92px 0; }
.cap-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.cap-card { padding: 28px 24px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; transition: border-color .2s, box-shadow .2s, transform .2s; }
.cap-card:hover { border-color: #cfdcf3; box-shadow: var(--shadow); transform: translateY(-3px); }
.cap-card .cap-ic { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; font-size: 1.3rem; background: var(--brand-soft); color: var(--brand); margin-bottom: 16px; }
.cap-card h3 { font-size: 1.12rem; margin-bottom: 8px; color: var(--navy); }
.cap-card p { color: var(--muted); font-size: .95rem; margin: 0; }

/* Banda de métricas (fondo navy) */
.metrics-band { background: var(--navy); color: #fff; padding: 64px 0; position: relative; overflow: hidden; }
.metrics-band::after { content: ""; position: absolute; inset: 0; background: radial-gradient(700px 300px at 85% -20%, rgba(26,95,208,.4), transparent 60%); }
.metrics-inner { position: relative; z-index: 1; }
.metrics-head { text-align: center; max-width: 620px; margin: 0 auto 40px; }
.metrics-head h2 { color: #fff; font-size: clamp(1.7rem, 3.2vw, 2.3rem); }
.metrics-head p { color: #aeb9d4; }
.metrics-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; text-align: center; }
.metric .m-num { font-family: var(--font-head); font-weight: 800; font-size: clamp(2.2rem, 4vw, 3rem); line-height: 1; background: linear-gradient(120deg, #fff, #8fc0ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.metric .m-label { color: #aeb9d4; margin-top: 8px; font-size: .95rem; }

/* Testimonios */
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.testi-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; }
.testi-card .quote-mark { font-family: Georgia, serif; font-size: 3rem; line-height: .6; color: var(--brand-soft); height: 28px; }
.testi-card blockquote { margin: 0 0 20px; color: var(--ink-2); font-size: 1.02rem; line-height: 1.7; flex: 1; }
.testi-author { display: flex; align-items: center; gap: 12px; }
.testi-avatar { width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(135deg, var(--brand), var(--accent)); color: #fff; display: grid; place-items: center; font-family: var(--font-head); font-weight: 700; }
.testi-author strong { display: block; font-family: var(--font-head); color: var(--navy); font-size: .95rem; }
.testi-author span { color: var(--muted); font-size: .85rem; }

/* FAQ */
.faq-wrap { max-width: 800px; margin: 0 auto; }
.faq-item { border: 1px solid var(--line); border-radius: var(--radius-sm); margin-bottom: 12px; background: #fff; overflow: hidden; }
.faq-item summary { list-style: none; cursor: pointer; padding: 20px 22px; font-family: var(--font-head); font-weight: 600; color: var(--navy); display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .chev { transition: transform .25s; color: var(--brand); flex-shrink: 0; }
.faq-item[open] summary .chev { transform: rotate(180deg); }
.faq-item .faq-body { padding: 0 22px 20px; color: var(--muted); line-height: 1.7; }

/* Banda CTA final */
.cta-band { padding: 30px 0 86px; }
.cta-inner { background: linear-gradient(120deg, var(--navy), #143a86); border-radius: 22px; padding: 56px 48px; text-align: center; color: #fff; position: relative; overflow: hidden; }
.cta-inner::after { content: ""; position: absolute; inset: 0; background: radial-gradient(600px 280px at 90% 0%, rgba(18,182,230,.35), transparent 60%); }
.cta-inner > * { position: relative; z-index: 1; }
.cta-inner h2 { color: #fff; font-size: clamp(1.8rem, 3.6vw, 2.6rem); margin-bottom: 12px; }
.cta-inner p { color: #c3cde4; font-size: 1.1rem; max-width: 40rem; margin: 0 auto 26px; }
.btn-white { background: #fff; color: var(--navy); }
.btn-white:hover { background: #eaf1fd; color: var(--brand-700); }

@media (max-width: 980px) {
    .cap-grid { grid-template-columns: repeat(2, 1fr); }
    .metrics-grid { grid-template-columns: repeat(2, 1fr); gap: 32px 18px; }
    .testi-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
    .cap-grid { grid-template-columns: 1fr; }
    .cta-inner { padding: 40px 24px; }
}

/* Selector de idioma */
.lang-switch { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; }
.lang-switch a { padding: .3rem .7rem; font-size: .82rem; font-weight: 700; color: var(--muted); font-family: var(--font-head); }
.lang-switch a.active { background: var(--brand); color: #fff; }

@media (max-width: 920px) {
    .ticket-layout { grid-template-columns: 1fr; }
}
