/* Estilos del blog HX PROD (se suman a tailwind.min.css) */
:root { --blue:#0066ff; --neon:#38bdf8; --ink:#07090b; }
html { scroll-behavior:smooth; }
body { background:var(--ink); color:#fff; font-family:'Poppins',sans-serif; font-weight:400; line-height:1.7; }
h1,h2,h3,h4 { font-family:'Montserrat',sans-serif; line-height:1.2; }
a { color:inherit; }
/* Film grain */
body::before { content:""; position:fixed; inset:0; z-index:60; pointer-events:none; opacity:.05;
  background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 1 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>"); }

.wrap { max-width:72rem; margin:0 auto; padding:7rem 1.5rem 4rem; }
.article-wrap { max-width:50rem; }

/* Botón y tarjetas (mismo hover que el sitio: eleva, marco azul, relleno negro) */
.btn-primary { display:inline-block; background:var(--blue); border:1px solid var(--blue); color:#fff; border-radius:9999px; padding:.9rem 2rem; font-weight:500; text-decoration:none;
  transition:transform .4s ease, border-color .4s ease, box-shadow .4s ease, background-color .4s ease, color .4s ease; }
.btn-primary:hover { transform:translateY(-4px); background:#000; color:var(--blue); box-shadow:0 0 0 1px var(--blue), 0 12px 40px -8px rgba(0,102,255,.65); }
.card { border:1px solid rgba(255,255,255,.12); border-radius:1.25rem; background:rgba(255,255,255,.02);
  transition:transform .4s ease, border-color .4s ease, box-shadow .4s ease, background-color .4s ease; }
a.card:hover { transform:translateY(-4px); border-color:var(--blue); background:#000; box-shadow:0 0 0 1px var(--blue), 0 12px 40px -8px rgba(0,102,255,.55); }
a.card:hover h2 { color:var(--blue); }

/* Portada del blog */
.blog-hero { text-align:center; max-width:46rem; margin:0 auto 4rem; }
.eyebrow { color:var(--neon); font-size:.75rem; letter-spacing:.4em; text-transform:uppercase; margin-bottom:1rem; }
.blog-hero h1 { font-weight:900; font-size:clamp(2rem,5vw,3.5rem); }
.blog-hero p:last-child { color:rgba(255,255,255,.6); margin-top:1.25rem; }
.grid { display:grid; gap:1.5rem; grid-template-columns:repeat(auto-fill,minmax(18rem,1fr)); }
.post-card { display:flex; flex-direction:column; overflow:hidden; text-decoration:none; }
.post-card img { width:100%; aspect-ratio:16/9; object-fit:cover; background:#0b1220; }
.post-card .body { padding:1.5rem; display:flex; flex-direction:column; gap:.6rem; flex:1; }
.post-card h2 { font-size:1.25rem; font-weight:700; transition:color .4s; }
.post-card p { color:rgba(255,255,255,.6); font-size:.9rem; }
.meta { color:rgba(255,255,255,.45); font-size:.8rem; }
.more { color:var(--neon); font-size:.85rem; margin-top:auto; }

/* Artículo */
.crumbs { font-size:.8rem; color:rgba(255,255,255,.45); margin-bottom:2rem; }
.crumbs a:hover { color:var(--neon); }
.prose h1 { font-weight:900; font-size:clamp(1.9rem,4.5vw,3rem); margin:.5rem 0 2rem; }
.prose h2 { font-size:1.6rem; font-weight:700; margin:2.5rem 0 1rem; }
.prose h3 { font-size:1.2rem; font-weight:700; margin:2rem 0 .75rem; color:var(--neon); }
.prose p, .prose li { color:rgba(255,255,255,.78); }
.prose p { margin:0 0 1.25rem; }
.prose ul, .prose ol { margin:0 0 1.5rem 1.25rem; }
.prose ul { list-style:disc; } .prose ol { list-style:decimal; }
.prose li { margin-bottom:.5rem; }
.prose a { color:var(--neon); text-decoration:underline; text-underline-offset:3px; }
.prose a:hover { color:#fff; }
.prose strong { color:#fff; font-weight:500; }
.prose blockquote { border-left:2px solid var(--blue); padding-left:1.25rem; margin:2rem 0; font-size:1.15rem; }
.prose img, .hero-img { width:100%; border-radius:1.25rem; border:1px solid rgba(255,255,255,.12); margin:1.5rem 0; }
.prose iframe { width:100%; aspect-ratio:16/9; border:0; border-radius:1.25rem; margin:1.5rem 0; }
.prose hr { border:0; border-top:1px solid rgba(255,255,255,.12); margin:2.5rem 0; }
.prose code { background:rgba(255,255,255,.08); padding:.1rem .4rem; border-radius:.4rem; font-size:.9em; }

.cta { padding:2.5rem; margin:4rem 0 3rem; text-align:center; }
.cta h2 { font-size:1.5rem; font-weight:700; margin-bottom:.75rem; }
.cta p { color:rgba(255,255,255,.6); margin-bottom:1.5rem; }
.related h2 { font-size:1.4rem; margin-bottom:1.25rem; }

.blog-footer { border-top:1px solid rgba(255,255,255,.1); padding:3rem 1.5rem; text-align:center; font-size:.85rem; color:rgba(255,255,255,.6); }
.blog-footer .wrap { padding:0 1.5rem; display:flex; flex-direction:column; align-items:center; gap:.6rem; }
.blog-footer img { width:48px; height:48px; object-fit:contain; }
.blog-footer a:hover { color:var(--neon); }
.blog-footer .muted { color:rgba(255,255,255,.6); font-size:.75rem; }

@media (prefers-reduced-motion:reduce) { html { scroll-behavior:auto; } .btn-primary,.card { transition:none; } }

/* Menú móvil del blog */
nav details summary { border:1px solid rgba(255,255,255,.2); }
nav details summary::-webkit-details-marker { display:none; }
nav details ul a:hover { color:#38bdf8; }

/* Páginas de servicio */
.svc-actions { display:flex; flex-wrap:wrap; align-items:center; gap:1rem 1.5rem; margin:0 0 2rem; }
.prose .svc-actions a.btn-primary { color:#fff; text-decoration:none; }
.prose .svc-actions a.btn-primary:hover { color:var(--blue); }
.btn-ghost-link { font-size:.9rem; }
.svc-gallery { display:grid; grid-template-columns:2fr 1fr; grid-template-rows:1fr 1fr; gap:.75rem; margin:0 0 2.5rem; }
.svc-gallery img { width:100%; height:100%; aspect-ratio:auto; object-fit:cover; margin:0; border-radius:1rem; }
.svc-gallery img:first-child { grid-row:span 2; aspect-ratio:4/3; }
.prices { padding:1.75rem 2rem; margin:0 0 2.5rem; }
.prices h2 { margin:0 0 1rem !important; font-size:1.3rem !important; }
.prices ul { list-style:none !important; margin:0 0 1rem !important; }
.prices li { display:flex; justify-content:space-between; gap:1rem; border-bottom:1px solid rgba(255,255,255,.08); padding:.6rem 0; margin:0 !important; }
.prices strong { color:var(--neon) !important; white-space:nowrap; }
.svc-faq details { border:1px solid rgba(255,255,255,.12); border-radius:1rem; padding:1rem 1.25rem; margin-bottom:.75rem; }
.svc-faq summary { cursor:pointer; font-weight:500; color:#fff; }
.svc-faq details p { margin:.75rem 0 0; }
.svc-others { display:grid; gap:.75rem; grid-template-columns:repeat(auto-fill,minmax(14rem,1fr)); }
.svc-link { display:block; padding:1.1rem 1.25rem; text-decoration:none; }
a.svc-link:hover { color:var(--blue); }
@media (max-width:640px) { .svc-gallery { grid-template-columns:1fr; grid-template-rows:auto; } .svc-gallery img:first-child { grid-row:auto; } .svc-gallery img:not(:first-child) { display:none; } .prices li { flex-direction:column; gap:.1rem; } }
