/*
Theme Name: Publimenu Stack
Description: Estudio de automatización y digital — diseño "red de nodos"
Version: 4.4
Text Domain: publimenu-stack
*/

@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=Inter:wght@400;500;600&family=JetBrains+Mono:wght@400;500;600&display=swap');

:root {
    --bg:        #F5F6FB;
    --bg-raised: #FFFFFF;
    --bg-card:   #FFFFFF;
    --line:      rgba(24,34,140,0.14);

    --lime:  #2B3FE0;
    --cyan:  #E8553A;
    --pink:  #18228C;

    --text:  #141A3C;
    --muted: #5A6185;

    --display: 'Space Grotesk', sans-serif;
    --body: 'Inter', -apple-system, sans-serif;
    --mono: 'JetBrains Mono', monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; background: #0A0A12 !important; }
body {
    font-family: var(--body);
    background: var(--bg) !important;
    color: var(--text) !important;
    line-height: 1.6;
    font-size: 16px;
    overflow-x: hidden;
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
a { color: inherit; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 28px; }

.eyebrow {
    font-family: var(--mono); font-size: 0.78rem; letter-spacing: 0.14em;
    text-transform: uppercase; color: var(--lime);
    display: inline-flex; align-items: center; gap: 8px;
}
.eyebrow::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 10px var(--lime); }

/* ---------- Header ---------- */
.site-header {
    background: rgba(34,49,179,0.92); backdrop-filter: blur(10px);
    padding: 20px 0; position: sticky; top: 0; z-index: 50; border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; justify-content: space-between; align-items: center; }
.logo { display: inline-flex; align-items: center; text-decoration: none; }
.logo-img { height: 34px; width: auto; display: block; }
.site-header nav { display: flex; align-items: center; gap: 30px; }
.site-header nav a {
    text-decoration: none; font-family: var(--mono); font-size: 0.82rem;
    color: var(--muted); transition: color 0.2s ease; position: relative;
}
.site-header nav a:hover { color: var(--text); }
.lang-switch { border: 1px solid var(--line); border-radius: 4px; padding: 5px 10px !important; color: var(--text) !important; }

.nav-toggle {
    display: none; flex-direction: column; justify-content: center; gap: 5px;
    width: 34px; height: 34px; background: none; border: none; cursor: pointer; padding: 0;
}
.nav-toggle span { width: 100%; height: 2px; background: var(--text); border-radius: 2px; }

/* ---------- Hero ---------- */
.hero { padding: 90px 0 100px; }
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 50px; align-items: center; }
.hero h1 {
    font-family: var(--display); font-weight: 700; font-size: clamp(2.4rem, 5vw, 3.9rem);
    line-height: 1.04; letter-spacing: -0.02em; margin-top: 16px;
}
.hero h1 .accent { color: var(--lime); }
.hero h1 .accent-2 { color: var(--cyan); }
.hero p.lede { font-size: 1.12rem; color: var(--muted); max-width: 460px; margin-top: 22px; }
.hero-actions { display: flex; gap: 14px; margin-top: 38px; flex-wrap: wrap; }

.btn {
    font-family: var(--mono); font-weight: 500; font-size: 0.85rem; letter-spacing: 0.02em;
    padding: 14px 26px; border-radius: 6px; text-decoration: none; cursor: pointer;
    border: 1px solid transparent; display: inline-flex; align-items: center; gap: 8px;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-solid { background: var(--lime); color: #0A0A12; }
.btn-solid:hover { box-shadow: 0 8px 24px rgba(255, 210, 74,0.35); }
.btn-outline { border-color: var(--line); color: var(--text); }
.btn-outline:hover { border-color: var(--cyan); color: var(--cyan); }

/* ---------- Red de nodos (SVG) ---------- */
.node-viz { width: 100%; height: auto; }
.node-viz .link {
    fill: none; stroke-width: 1.6; stroke-dasharray: 6 6;
    animation: dash-flow 3.2s linear infinite;
}
.node-viz .link.c-lime { stroke: var(--lime); opacity: 0.55; }
.node-viz .link.c-cyan { stroke: var(--cyan); opacity: 0.55; }
.node-viz .link.c-pink { stroke: var(--pink); opacity: 0.55; }
@keyframes dash-flow { to { stroke-dashoffset: -60; } }
.node-viz .node-dot { fill: var(--bg-card); stroke: var(--line); stroke-width: 1.5; }
.node-viz .node-core { fill: var(--lime); }
.node-viz .node-label {
    font-family: var(--mono); font-size: 10px; fill: var(--muted); letter-spacing: 0.03em;
}
.node-viz .node-core-label { fill: #0A0A12; font-weight: 600; font-size: 11px; }
.node-viz .pulse { fill: var(--lime); opacity: 0; animation: pulse-ping 3.2s ease-out infinite; }
.node-viz .pulse.delay1 { animation-delay: 0.6s; }
.node-viz .pulse.delay2 { animation-delay: 1.3s; }
@keyframes pulse-ping {
    0% { opacity: 0.9; r: 3; }
    70% { opacity: 0; r: 16; }
    100% { opacity: 0; r: 16; }
}

/* ---------- Servicios: "El stack" ---------- */
.stack { padding: 100px 0; border-top: 1px solid var(--line); }
.stack-head { max-width: 560px; margin-bottom: 56px; }
.stack-head h2 {
    font-family: var(--display); font-weight: 700; font-size: clamp(1.9rem, 3.6vw, 2.7rem);
    margin-top: 12px; letter-spacing: -0.01em;
}
.stack-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }

.stack-card {
    background: var(--bg-card); border: 1px solid var(--line); border-radius: 14px;
    padding: 32px 28px; position: relative; overflow: hidden;
    opacity: 0; transform: translateY(16px); transition: opacity 0.55s ease, transform 0.55s ease;
}
.stack-card.in-view { opacity: 1; transform: translateY(0); }
.stack-card::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
}
.stack-card.c-lime::before { background: var(--lime); }
.stack-card.c-cyan::before { background: var(--cyan); }
.stack-card.c-pink::before { background: var(--pink); }

.stack-tag {
    font-family: var(--mono); font-size: 0.76rem; display: inline-block;
    padding: 4px 10px; border-radius: 5px; margin-bottom: 18px;
}
.c-lime .stack-tag { background: rgba(255, 210, 74,0.12); color: var(--lime); }
.c-cyan .stack-tag { background: rgba(84, 104, 255,0.12); color: var(--cyan); }
.c-pink .stack-tag { background: rgba(251, 106, 74,0.12); color: var(--pink); }

.stack-card h3 { font-family: var(--display); font-weight: 600; font-size: 1.35rem; margin-bottom: 10px; }
.stack-card p { color: var(--muted); font-size: 0.96rem; }
.stack-actions { display: flex; align-items: center; gap: 20px; margin-top: 22px; flex-wrap: wrap; }
.stack-cta {
    margin-top: 0; display: inline-flex; align-items: center; gap: 6px;
    font-family: var(--mono); font-size: 0.82rem; text-decoration: none; color: var(--text);
    background: none; border: none; cursor: pointer; padding: 0;
    transition: gap 0.2s ease, color 0.2s ease;
}
.stack-cta:hover { gap: 10px; }
.c-lime .stack-cta:hover { color: var(--lime); }
.c-cyan .stack-cta:hover { color: var(--cyan); }
.c-pink .stack-cta:hover { color: var(--pink); }
.stack-cta-demo { color: var(--muted); }
.stack-cta-demo:hover { color: var(--text); }

/* ---------- Genérico: secciones tipo "Impresos" / listados ---------- */
.section-alt { padding: 90px 0; }
.section-alt .stack-head { margin-left: auto; margin-right: auto; text-align: left; }

/* ---------- Blog ---------- */
.blog-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.blog-card {
    background: var(--bg-card); border: 1px solid var(--line); border-radius: 14px;
    padding: 28px; transition: border-color 0.2s ease;
}
.blog-card:hover { border-color: var(--cyan); }
.blog-card .eyebrow { font-size: 0.7rem; color: var(--cyan); }
.blog-card .eyebrow::before { background: var(--cyan); box-shadow: 0 0 10px var(--cyan); }
.blog-card h3 { font-family: var(--display); font-weight: 600; font-size: 1.2rem; margin: 12px 0 10px; }
.blog-card h3 a { text-decoration: none; color: var(--text); }
.blog-card p { color: var(--muted); font-size: 0.92rem; }
.blog-card .stack-cta { margin-top: 16px; }
.pager { margin-top: 40px; display: flex; justify-content: space-between; font-family: var(--mono); font-size: 0.85rem; color: var(--muted); }
.pager a { color: var(--text); text-decoration: none; }

.post-content { font-size: 1.05rem; color: #D6D6E4; }
.post-content > * + * { margin-top: 20px; }
.post-content h2 { font-family: var(--display); font-weight: 600; font-size: 1.5rem; color: var(--text); margin-top: 34px; }
.post-content h3 { font-family: var(--display); font-weight: 600; font-size: 1.25rem; color: var(--text); margin-top: 28px; }
.post-content a { color: var(--cyan); }
.post-content img { max-width: 100%; height: auto; border-radius: 10px; }
.post-content ul, .post-content ol { padding-left: 22px; }
.post-content blockquote { border-left: 3px solid var(--lime); padding-left: 18px; color: var(--muted); font-style: italic; }
.post-content pre {
    background: var(--bg-card); border: 1px solid var(--line); border-radius: 10px;
    padding: 20px; overflow-x: auto; font-family: var(--mono); font-size: 0.85rem;
    line-height: 1.7; color: var(--lime);
}
.post-content code {
    font-family: var(--mono); background: var(--bg-card); padding: 2px 6px;
    border-radius: 4px; font-size: 0.88em; color: var(--cyan);
}
.post-content pre code { background: none; padding: 0; color: inherit; }
.post-content .use-case-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin: 28px 0; }
@media (max-width: 620px) { .post-content .use-case-grid { grid-template-columns: 1fr; } }

/* ---------- Contacto ---------- */
.contacto { padding: 100px 0; border-top: 1px solid var(--line); }
.contacto-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.contacto h2 { font-family: var(--display); font-weight: 700; font-size: clamp(1.9rem, 3.6vw, 2.7rem); margin-top: 12px; }
.contacto p.lede { color: var(--muted); margin-top: 16px; max-width: 420px; }

#lead-form p { margin-bottom: 20px; }
#lead-form label {
    display: block; font-family: var(--mono); font-size: 0.74rem; letter-spacing: 0.05em;
    text-transform: uppercase; color: var(--muted); margin-bottom: 8px;
}
#lead-form input, #lead-form textarea {
    width: 100%; background: var(--bg-card); border: 1px solid var(--line); border-radius: 8px;
    padding: 12px 14px; font-family: var(--body); font-size: 1rem; color: var(--text);
    outline: none; transition: border-color 0.2s ease;
}
#lead-form input:focus, #lead-form textarea:focus { border-color: var(--lime); }
#lead-form textarea { resize: vertical; }
#lead-form button {
    margin-top: 6px; width: 100%; background: var(--lime); color: #0A0A12; border: none;
    padding: 15px; border-radius: 8px; font-family: var(--mono); font-weight: 600;
    font-size: 0.9rem; letter-spacing: 0.02em; cursor: pointer; transition: box-shadow 0.2s ease;
}
#lead-form button:hover { box-shadow: 0 8px 24px rgba(255, 210, 74,0.3); }
#lead-status { font-family: var(--mono); font-size: 0.85rem; margin-top: 14px; color: var(--lime); }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 40px 0; }
.site-footer .wrap { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.site-footer p { color: var(--muted); font-family: var(--mono); font-size: 0.78rem; }

/* Marco de celular para demos en vivo (single-servicio.php) */
.phone-frame {
    width: 300px; max-width: 100%; margin: 0 auto;
    background: linear-gradient(160deg, #3446D6, #0A0A12);
    border-radius: 32px; padding: 14px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.6), 0 0 0 1px rgba(255, 210, 74,0.22);
}
.phone-frame .notch { width: 70px; height: 6px; border-radius: 3px; background: rgba(255, 210, 74,0.35); margin: 0 auto 10px; }
.phone-frame iframe { width: 100%; height: 560px; border: 0; border-radius: 18px; background: #fff; display: block; }

/* Miniatura clicable dentro de la tarjeta de servicio */
.stack-card { padding-top: 0; overflow: hidden; }
.stack-card-thumb {
    display: block; margin: 0 -28px 20px; aspect-ratio: 16 / 10; overflow: hidden;
}
.stack-card-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.3s ease; }
.stack-card-thumb:hover img { transform: scale(1.04); }
.stack-card > .stack-tag,
.stack-card > h3,
.stack-card > p,
.stack-card > .stack-actions { padding-left: 28px; padding-right: 28px; }
.stack-card > .stack-tag { margin-top: 24px; }
.stack-card > .stack-actions { padding-bottom: 28px; }
.stack-card:not(.has-thumb) > .stack-tag { margin-top: 0; }
.stack-card:not(.has-thumb) { padding-top: 32px; }

/* Banner grande en la página propia del servicio */
.servicio-hero-img {
    border-radius: 18px; overflow: hidden; border: 1px solid var(--line);
    box-shadow: 0 30px 70px rgba(0,0,0,0.5);
}
.servicio-hero-img.c-lime { box-shadow: 0 30px 70px rgba(255, 210, 74,0.12), 0 0 0 1px rgba(255, 210, 74,0.25); }
.servicio-hero-img.c-cyan { box-shadow: 0 30px 70px rgba(84, 104, 255,0.12), 0 0 0 1px rgba(84, 104, 255,0.25); }
.servicio-hero-img.c-pink { box-shadow: 0 30px 70px rgba(251, 106, 74,0.12), 0 0 0 1px rgba(251, 106, 74,0.25); }
.servicio-hero-img img { width: 100%; height: auto; display: block; }

/* ---------- Responsive ---------- */
/* Honeypot: oculto para humanos, "visible" para bots que no leen CSS */
.hp-field {
    position: absolute; left: -9999px; top: -9999px;
    width: 1px; height: 1px; overflow: hidden;
}

@media (max-width: 900px) {
    .hero-grid { grid-template-columns: 1fr; }
    .stack-grid { grid-template-columns: 1fr; }
    .blog-grid { grid-template-columns: 1fr; }
    .contacto-grid { grid-template-columns: 1fr; gap: 40px; }
    .servicio-grid { grid-template-columns: 1fr !important; }
}
@media (max-width: 620px) {
    /* backdrop-filter en el header rompe position:fixed de los hijos (crea un
       "containing block" nuevo) — se desactiva en móvil para que el menú
       desplegado cubra toda la pantalla en vez de quedar aplastado en la barra. */
    .site-header { backdrop-filter: none; background: var(--bg); }

    .nav-toggle { display: flex; }
    .site-header nav {
        position: fixed; top: 73px; left: 0; right: 0; bottom: 0;
        background: var(--bg); flex-direction: column; align-items: flex-start;
        padding: 30px 28px; gap: 22px; transform: translateX(100%);
        transition: transform 0.25s ease; z-index: 49;
    }
    .site-header nav.is-open { transform: translateX(0); }
    .site-header nav a { font-size: 1.1rem; color: var(--text); }
}


/* === PM-HEADER-FIX (v3.7) ===
   El plugin de red "Publimenu Cabecera Solo Logo" oculta cabecera y pie en todos los sitios.
   En el sitio principal se vuelven a mostrar y se oculta la barra de logo centrado.
   Para deshacer: borrar este bloque completo. */
body.wp-theme-publimenu-wp-theme-11 header.site-header { display: block !important; }
body.wp-theme-publimenu-wp-theme-11 footer.site-footer { display: block !important; }
body.wp-theme-publimenu-wp-theme-11 { padding-bottom: 0 !important; }
body.wp-theme-publimenu-wp-theme-11 .pmlogo-bar { display: none !important; }

/* Logo compacto: la cabecera mide 73px, igual que el desplazamiento del menú móvil */
.site-header { padding: 14px 0; }
.site-header .logo-img { height: 44px; width: auto; max-width: 45vw; object-fit: contain; }

/* Elementor redefine --display dentro del contenido; se fija la fuente de los subtítulos */
.post-content h2, .post-content h3, .post-content h4 { font-family: 'Space Grotesk', sans-serif; }
/* === /PM-HEADER-FIX === */


/* === PM-IMG (v3.9): imágenes en el blog. Para deshacer: borrar este bloque === */
/* Portada del blog: hero con foto de restaurante */
body.blog .hero {
  background-image: linear-gradient(rgba(43,63,224,.88), rgba(34,49,179,.94)), url('/wp-content/uploads/2026/10/restaurante-blog-publimenu.jpg');
  background-size: cover;
  background-position: center;
}
/* Entrada: imagen destacada detrás del título (la coloca assets/script.js) */
.hero.post-hero-img {
  background-size: cover;
  background-position: center;
  padding: 120px 0 56px !important;
}
/* Tarjetas de la portada del blog con miniatura */
.blog-card-img { display: block; margin-bottom: 20px; border-radius: 10px; overflow: hidden; }
.blog-card-img img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: transform .3s; }
.blog-card:hover .blog-card-img img { transform: scale(1.03); }
@media (max-width: 620px) { .hero.post-hero-img { padding: 80px 0 40px !important; } }
/* === /PM-IMG === */


/* === PM-MARCA (v4.0): colores de la marca en LinkedIn ===
   Azul #2B3FE0 (se usa #6F80FF donde va como texto sobre fondo oscuro), coral #FB6A4A.
   Sustituyen al cian y al rosa. Para deshacer: volver a #29E7FF y #FF3DA6 en :root. */
:root { --brand-blue: #2B3FE0; --brand-blue-dark: #2231B3; --brand-coral: #FB6A4A; }
/* === /PM-MARCA === */


/* === PM-AZUL (v4.1): fondo azul de marca en lugar del negro ===
   Los valores de :root (--bg, --bg-raised, --bg-card, --line, --lime, --cyan, --muted) se cambiaron arriba.
   Originales: #0A0A12, #131320, #16162A, rgba(255,255,255,0.09), #C6FF3D, #29E7FF, #A9A9C6. */
.hero { background-color: #2B3FE0; }
/* Home: hero con foto de restaurante y formas de la marca */
body.home .hero {
  background-image:
    radial-gradient(circle at 0 0, #2231B3 0, #2231B3 230px, transparent 231px),
    radial-gradient(circle at 100% 100%, #FB6A4A 0, #FB6A4A 150px, transparent 151px),
    linear-gradient(90deg, rgba(43,63,224,.97) 0%, rgba(43,63,224,.86) 50%, rgba(34,49,179,.72) 100%),
    url('/wp-content/uploads/2026/10/restaurante-menu-qr-pdf-vs-menu-digital.jpg');
  background-size: auto, auto, auto, cover;
  background-position: 0 0, 100% 100%, center, center;
  background-repeat: no-repeat;
}
/* Entrada: velo azul sobre la imagen destacada */
.hero.post-hero-img { position: relative; }
.hero.post-hero-img::before { content: ''; position: absolute; inset: 0; background: linear-gradient(rgba(43,63,224,.45), rgba(24,34,140,.80)); }
.hero.post-hero-img > .wrap { position: relative; z-index: 1; }
/* Bloque de cierre de las entradas: que resalte sobre el fondo azul */
.pm.pm-cta {
  background-color: #1B2590 !important;
  background-image:
    radial-gradient(circle at 0 100%, #FB6A4A 0, #FB6A4A 110px, transparent 111px),
    radial-gradient(circle at 100% 0, #2B3FE0 0, #2B3FE0 150px, transparent 151px) !important;
}
@media (max-width: 620px) {
  body.home .hero { background-image: radial-gradient(circle at 0 0, #2231B3 0, #2231B3 140px, transparent 141px), linear-gradient(rgba(43,63,224,.93), rgba(34,49,179,.90)), url('/wp-content/uploads/2026/10/restaurante-menu-qr-pdf-vs-menu-digital.jpg'); background-size: auto, auto, cover; background-position: 0 0, center, center; }
}
/* === /PM-AZUL === */


/* === PM-BLOG (v4.2): portada del blog y entradas con formato moderno. Para deshacer: borrar este bloque === */
/* Portada: tarjetas con imagen a sangre; la primera entrada va destacada a todo el ancho */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 28px; }
.blog-card { display: flex; flex-direction: column; overflow: hidden; border-radius: 18px; background: #2231B3; border: 1px solid rgba(255,255,255,.14); box-shadow: 0 18px 40px rgba(8,12,60,.28); transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.blog-card:hover { transform: translateY(-4px); border-color: #FFD24A; box-shadow: 0 26px 54px rgba(8,12,60,.4); }
.blog-card .blog-card-img { margin: -28px -28px 22px; border-radius: 0; }
.blog-card .blog-card-img img { aspect-ratio: 16 / 9; }
.blog-card h3 { font-size: 1.3rem; line-height: 1.25; margin-bottom: 10px; }
.blog-card h3 a { color: #fff; text-decoration: none; }
.blog-card h3 a:hover { color: #FFD24A; }
.blog-card > p:not(.eyebrow) { flex: 1; }
.blog-card .stack-cta { align-self: flex-start; justify-self: start; margin-top: 18px; background: #FFD24A; color: #1a1f6b; padding: 10px 18px; border-radius: 999px; font-family: var(--body); font-weight: 700; font-size: .9rem; text-decoration: none; }
.blog-card .stack-cta:hover { filter: brightness(1.07); }
@media (min-width: 900px) {
  .blog-grid .blog-card:first-child:has(.blog-card-img) { grid-column: 1 / -1; display: grid; grid-template-columns: 1.25fr 1fr; grid-template-rows: auto auto 1fr auto; column-gap: 36px; align-content: center; }
  .blog-grid .blog-card:first-child:has(.blog-card-img) .blog-card-img { grid-column: 1; grid-row: 1 / -1; margin: -28px 0 -28px -28px; }
  .blog-grid .blog-card:first-child:has(.blog-card-img) .blog-card-img img { height: 100%; aspect-ratio: auto; min-height: 320px; }
  .blog-grid .blog-card:first-child:has(.blog-card-img) > :not(.blog-card-img) { grid-column: 2; }
  .blog-grid .blog-card:first-child:has(.blog-card-img) .eyebrow { margin-top: 18px; }
  .blog-grid .blog-card:first-child:has(.blog-card-img) h3 { font-size: 1.9rem; }
}
/* Entrada: cabecera azul con formas de marca y la imagen destacada como banner */
body.single-post .hero { background-image: radial-gradient(circle at 0 0, #2231B3 0, #2231B3 200px, transparent 201px), radial-gradient(circle at 100% 100%, #FB6A4A 0, #FB6A4A 120px, transparent 121px); background-repeat: no-repeat; padding-bottom: 150px !important; }
body.single-post .hero.post-hero-img::before { display: none; }
.post-feature { margin: -120px 0 36px; position: relative; z-index: 2; }
.post-feature img { display: block; width: 100%; aspect-ratio: 16 / 8; object-fit: cover; border-radius: 18px; border: 1px solid rgba(255,255,255,.16); box-shadow: 0 26px 54px rgba(8,12,60,.45); }
body.single-post article.stack { overflow: visible; }
@media (max-width: 620px) { body.single-post .hero { padding-bottom: 110px !important; } .post-feature { margin-top: -80px; } }
/* === /PM-BLOG === */


/* === PM-CLARO (v4.4): cuerpo claro, azul solo en cabecera, heros, cierres y pie ===
   :root quedó en claro (fondo #F5F6FB, texto #141A3C, acento azul #2B3FE0, secundario coral #E8553A).
   Las zonas azules redefinen las variables para texto blanco y acento ámbar. */
html { background: #F5F6FB !important; }
.hero, .site-header, .site-footer {
  --text: #FFFFFF; --muted: #D5DAFF; --lime: #FFD24A; --cyan: #FFB7A5; --pink: #FB6A4A;
  --line: rgba(255,255,255,.22); --bg: #2231B3; --bg-card: #2231B3; --bg-raised: #2231B3;
  color: var(--text);
}
.site-footer { background: #18228C; }
/* Botones: amarillo de marca con texto azul oscuro */
.btn-solid, #lead-form button { background: #FFD24A; color: #1A1F6B; }
/* Tarjetas sobre fondo claro */
.stack-card, .blog-card { background: #FFFFFF; border: 1px solid rgba(24,34,140,.12); box-shadow: 0 14px 34px rgba(24,34,140,.10); }
.blog-card:hover { border-color: #2B3FE0; box-shadow: 0 22px 46px rgba(24,34,140,.18); }
.blog-card h3 a { color: var(--text); }
.blog-card h3 a:hover { color: #2B3FE0; }
.post-feature img { border: 0; box-shadow: 0 26px 54px rgba(24,34,140,.28); }
/* Texto de las entradas */
.post-content { color: #2A3050; }
.post-content a { color: #2B3FE0; }
.post-content .pm h3 { color: var(--text); }
.post-content .pm-cat, .post-content .pm-table th, .post-content .pm-table td { color: var(--text); }
.post-content .pm-table td:first-child, .post-content .pm-table thead th { color: var(--muted); }
.post-content .pm-table thead th:last-child { color: #2B3FE0; }
.post-content .pm-table td:last-child { background: rgba(43,63,224,.06); }
.post-content .pm-link { color: var(--text) !important; }
.post-content .pm-link small, .post-content .pm-cat i { color: #2B3FE0; }
.post-content .pm-stat b { color: #2B3FE0; }
.post-content .pm-card, .post-content .pm-stat, .post-content .pm-demo, .post-content .pm-cat, .post-content .pm-table { box-shadow: 0 10px 26px rgba(24,34,140,.08); }
.post-content .pm-tag { background: rgba(43,63,224,.10); }
.post-content .pm-card.c .pm-tag, .post-content .pm-card.k .pm-tag { background: rgba(232,85,58,.10); }
/* Bloque de cierre: azul de marca */
.pm.pm-cta {
  background-color: #2B3FE0 !important;
  background-image:
    radial-gradient(circle at 0 100%, #FB6A4A 0, #FB6A4A 110px, transparent 111px),
    radial-gradient(circle at 100% 0, #2231B3 0, #2231B3 150px, transparent 151px) !important;
}
.post-content .pm.pm-cta h3 { color: #FFFFFF; }
/* === /PM-CLARO === */
