/*
Theme Name: JJMSanz
Theme URI: https://jjmsanz.com/
Author: JJMSanz
Author URI: https://jjmsanz.com/
Description: Tema WordPress independiente para JJMSanz. Identidad cinematográfica, tecnológica y editorial para apps, podcasts, libros, artículos y contenidos digitales.
Version: 1.1.8
Requires at least: 6.4
Requires PHP: 7.4
Text Domain: jjmsanz
Tags: custom-logo, custom-menu, featured-images, responsive-layout, dark, blog
License: GPL-2.0-or-later
*/

:root {
  --jj-black: #0B0F14;
  --jj-night: #1E2938;
  --jj-blue: #0EA5E9;
  --jj-blue-soft: #38BDF8;
  --jj-amber: #F59E0B;
  --jj-white: #F8FAFC;
  --jj-gray: #E5E7EB;
  --jj-muted: #94A3B8;
  --jj-border: rgba(148,163,184,.18);
  --jj-card: rgba(30,41,56,.55);
  --jj-shadow: 0 24px 70px rgba(0,0,0,.38);
  --jj-radius: 18px;
  --jj-container: 1180px;
  --jj-transition: 220ms ease;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--jj-black);
  color: var(--jj-white);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.7;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; }
a { color: var(--jj-blue-soft); text-decoration: none; transition: color var(--jj-transition); }
a:hover { color: var(--jj-amber); }
button, input, textarea, select { font: inherit; }

.jj-container { width: min(calc(100% - 40px), var(--jj-container)); margin-inline: auto; }
.jj-section { padding: 100px 0; position: relative; }
.jj-section--tight { padding: 70px 0; }

.jj-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  color: var(--jj-blue-soft);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
}
.jj-eyebrow::before {
  content: "";
  width: 30px;
  height: 1px;
  background: linear-gradient(90deg, var(--jj-blue), var(--jj-amber));
}

h1,h2,h3,h4,h5,h6 {
  margin: 0 0 18px;
  font-family: Montserrat, Inter, system-ui, sans-serif;
  line-height: 1.12;
  letter-spacing: -.025em;
}
h1 { font-size: clamp(2.7rem, 6vw, 5.9rem); }
h2 { font-size: clamp(2rem, 4vw, 3.5rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.65rem); }

.jj-lead {
  max-width: 700px;
  color: var(--jj-gray);
  font-size: clamp(1.05rem, 1.7vw, 1.3rem);
}
.jj-muted { color: var(--jj-muted); }

.jj-gradient-text {
  background: linear-gradient(100deg, var(--jj-blue-soft), #fff 50%, var(--jj-amber));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.jj-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid rgba(56,189,248,.4);
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(14,165,233,.22), rgba(245,158,11,.08));
  color: #fff;
  font-weight: 700;
  letter-spacing: .02em;
  box-shadow: 0 10px 35px rgba(14,165,233,.12);
}
.jj-button:hover { color:#fff; border-color:var(--jj-amber); transform:translateY(-1px); }
.jj-button--solid {
  background: linear-gradient(135deg, var(--jj-blue), #1479b0 55%, var(--jj-amber));
  border-color: transparent;
}

.jj-site-header {
  position: absolute;
  z-index: 1000;
  inset: 0 0 auto;
  background: linear-gradient(180deg, rgba(5,9,14,.88), rgba(5,9,14,.30));
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(18px);
  transition: var(--jj-transition);
}
.jj-site-header.is-scrolled { position:fixed; border-color:var(--jj-border); background:rgba(11,15,20,.88); }
.jj-header-inner {
  min-height: 82px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:25px;
}
.jj-brand img { display:block; width:175px; max-width:175px; height:auto; max-height:52px; object-fit:contain; }
.jj-brand-text {
  color:#fff;
  font-family:Montserrat,sans-serif;
  font-weight:700;
  letter-spacing:.14em;
}
.jj-menu-toggle {
  display:none;
  width:46px;height:46px;
  border:1px solid var(--jj-border);
  border-radius:12px;
  background:rgba(30,41,56,.65);
  color:#fff;
}
.jj-primary-menu { display:flex; align-items:center; gap:7px; list-style:none; margin:0; padding:0; }
.jj-primary-menu a {
  display:block;
  padding:10px 13px;
  color:var(--jj-gray);
  font-size:.9rem;
  font-weight:600;
}
.jj-primary-menu a:hover,
.jj-primary-menu .current-menu-item > a { color:#fff; }

.jj-hero {
  min-height: calc(100vh - 0px);
  display:flex;
  align-items:flex-end;
  position:relative;
  overflow:hidden;
  background: #080d13;
}
.jj-hero::after {
  content:"";
  position:absolute;
  inset:0;
  background:transparent;
  pointer-events:none;
}
.jj-hero-content {
  position:relative;
  z-index:2;
  width:100%;
  min-height:calc(100vh - 82px);
  padding:0 0 42px;
  max-width:none;
}

.jj-hero h1 { max-width:820px; }
.jj-hero .jj-lead { margin:25px 0 34px; }
.jj-hero-actions { display:flex; flex-wrap:wrap; gap:12px; }

.jj-section-heading { margin-bottom:50px; }
.jj-section-heading p { max-width:720px; color:var(--jj-muted); font-size:1.08rem; }

.jj-grid { display:grid; gap:22px; }
.jj-grid--4 { grid-template-columns:repeat(4,minmax(0,1fr)); }
.jj-grid--3 { grid-template-columns:repeat(3,minmax(0,1fr)); }

.jj-card {
  position:relative;
  min-height:220px;
  padding:30px;
  overflow:hidden;
  border:1px solid var(--jj-border);
  border-radius:var(--jj-radius);
  background:
    radial-gradient(circle at 100% 0, rgba(14,165,233,.12), transparent 45%),
    linear-gradient(145deg, rgba(30,41,56,.7), rgba(11,15,20,.8));
  box-shadow:var(--jj-shadow);
  transition:transform var(--jj-transition), border-color var(--jj-transition);
}
.jj-card:hover { transform:translateY(-5px); border-color:rgba(56,189,248,.42); }
.jj-card::before {
  content:"";
  position:absolute;
  width:140px;height:140px;
  right:-65px;top:-65px;
  border-radius:50%;
  background:radial-gradient(circle,rgba(245,158,11,.16),transparent 68%);
}
.jj-card-icon { color:var(--jj-blue-soft); font-size:1.7rem; margin-bottom:25px; }
.jj-card p { color:var(--jj-muted); margin-bottom:0; }

.jj-post-card {
  display:flex;
  flex-direction:column;
  min-height:100%;
  overflow:hidden;
  border:1px solid var(--jj-border);
  border-radius:var(--jj-radius);
  background:#111821;
}
.jj-post-card-image { aspect-ratio:16/9; background:linear-gradient(135deg,#152536,#070b10); overflow:hidden; }
.jj-post-card-image img { width:100%;height:100%;object-fit:cover; transition:transform .5s ease; }
.jj-post-card:hover .jj-post-card-image img { transform:scale(1.045); }
.jj-post-card-body { padding:25px; display:flex; flex:1; flex-direction:column; }
.jj-post-card-body .jj-button { margin-top:auto; align-self:flex-start; }
.jj-meta { color:var(--jj-muted); font-size:.82rem; text-transform:uppercase; letter-spacing:.08em; }

.jj-band {
  background:linear-gradient(90deg,rgba(14,165,233,.08),rgba(245,158,11,.05));
  border-block:1px solid var(--jj-border);
}

.jj-page-hero {
  padding:170px 0 80px;
  background:
    radial-gradient(circle at 80% 10%,rgba(14,165,233,.15),transparent 35%),
    radial-gradient(circle at 20% 0%,rgba(245,158,11,.08),transparent 30%);
}

.jj-content { max-width:820px; }
.jj-content > * { margin-top:0; }
.jj-content p, .jj-content li { color:#CBD5E1; font-size:1.06rem; }
.jj-content img { border-radius:var(--jj-radius); }
.jj-content blockquote {
  margin:35px 0;
  padding:25px 30px;
  border-left:3px solid var(--jj-blue);
  background:rgba(30,41,56,.45);
  color:#fff;
}

.jj-site-footer {
  padding:65px 0 25px;
  background:#070B10;
  border-top:1px solid var(--jj-border);
}
.jj-footer-grid { display:grid; grid-template-columns:1.5fr 1fr 1fr; gap:50px; }
.jj-footer-grid h3 { font-size:1rem; text-transform:uppercase; letter-spacing:.14em; }
.jj-footer-menu { list-style:none; margin:0; padding:0; }
.jj-footer-menu li { margin:8px 0; }
.jj-footer-menu a { color:var(--jj-muted); }
.jj-footer-bottom { margin-top:45px; padding-top:20px; border-top:1px solid var(--jj-border); color:var(--jj-muted); font-size:.85rem; }

.jj-form input,.jj-form textarea,.jj-form select {
  width:100%;
  padding:13px 15px;
  border:1px solid var(--jj-border);
  border-radius:12px;
  background:#0E151D;
  color:#fff;
}
.jj-form label { display:block; margin-bottom:7px; color:var(--jj-gray); font-weight:600; }

.screen-reader-text { position:absolute!important; width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0; }
.alignwide { max-width:1100px; margin-left:auto; margin-right:auto; }
.alignfull { width:100%; max-width:none; }

@media (max-width: 1000px) {
  .jj-grid--4 { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .jj-footer-grid { grid-template-columns:1fr 1fr; }
}
@media (max-width: 760px) {
  .jj-container { width:min(calc(100% - 28px),var(--jj-container)); }
  .jj-section { padding:75px 0; }
  .jj-menu-toggle { display:block; }
  .jj-primary-menu {
    position:absolute; left:14px; right:14px; top:74px;
    display:none; flex-direction:column; align-items:stretch;
    padding:12px; border:1px solid var(--jj-border); border-radius:16px;
    background:rgba(11,15,20,.97); box-shadow:var(--jj-shadow);
  }
  .jj-primary-menu.is-open { display:flex; }
  .jj-primary-menu a { padding:13px 15px; }
  .jj-hero { min-height:620px; background-position:62% center; }
  .jj-hero-content { padding:135px 0 85px; }
  .jj-hero-brand { width:245px; margin-bottom:25px; }
  .jj-grid--3,.jj-grid--4 { grid-template-columns:1fr; }
  .jj-footer-grid { grid-template-columns:1fr; gap:32px; }
}

.jj-hero--banner .jj-hero-actions { margin-top: 0; }

/* JJMSanz approved visual composition */
.jj-hero--approved .jj-hero-content { visibility:hidden; }
.jj-site-header {
  position:absolute;
  z-index:1000;
  inset:0 0 auto 0;
  background:rgba(5,9,14,.30);
  border-bottom:1px solid rgba(255,255,255,.08);
  box-shadow:none;
}
.jj-site-header.is-scrolled {
  position:fixed;
  background:rgba(11,15,20,.92);
}

.jj-hero-background {
  position:absolute;
  inset:0;
  z-index:0;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center center;
  display:block;
}
.jj-hero--approved::after {
  z-index:1;
}
.jj-hero--approved > .jj-container {
  position:relative;
  z-index:2;
}

/* Functional hit areas for the two CTA buttons that are part of the approved
   hero artwork. The artwork remains visually unchanged; these transparent
   anchors make the buttons genuinely clickable. */
.jj-hero-hotspot {
  position:absolute;
  z-index:4;
  display:block;
  cursor:pointer;
  border-radius:999px;
  outline:none;
}
.jj-hero-hotspot--discover {
  left:13.3%;
  bottom:14.5%;
  width:15.9%;
  height:8.5%;
}
.jj-hero-hotspot--content {
  left:26.3%;
  bottom:14.5%;
  width:14.2%;
  height:8.5%;
}
.jj-hero-hotspot:focus-visible {
  box-shadow:0 0 0 3px rgba(56,189,248,.9);
}
@media (max-width:760px) {
  .jj-hero-hotspot--discover {
    left:12%;
    bottom:12%;
    width:31%;
    height:7%;
  }
  .jj-hero-hotspot--content {
    left:45%;
    bottom:12%;
    width:29%;
    height:7%;
  }
}

/* 1.0.8 — Real WordPress header restored over the cinematic hero */
body.home .jj-site-header .jj-brand,
body.home .jj-site-header nav,
body.home .jj-site-header .jj-menu-toggle {
  visibility: visible;
}
body.home .jj-site-header {
  z-index: 1000;
}


/* -------------------------------------------------------------------------
   1.1.0 — Project content, books, podcast and Actualidad
   ---------------------------------------------------------------------- */
.jj-project-card,
.jj-news-card {
  display:flex;
  flex-direction:column;
  min-height:100%;
  overflow:hidden;
  border:1px solid var(--jj-border);
  border-radius:var(--jj-radius);
  background:#111821;
  box-shadow:var(--jj-shadow);
  transition:transform var(--jj-transition),border-color var(--jj-transition);
}
.jj-project-card:hover,.jj-news-card:hover { transform:translateY(-5px); border-color:rgba(56,189,248,.42); }
.jj-project-card-media,.jj-news-card-media {
  display:flex;
  align-items:center;
  justify-content:center;
  aspect-ratio:16/9;
  overflow:hidden;
  background:
    radial-gradient(circle at 30% 20%,rgba(56,189,248,.20),transparent 36%),
    radial-gradient(circle at 80% 90%,rgba(245,158,11,.16),transparent 34%),
    linear-gradient(145deg,#162433,#080c11);
}
.jj-project-card-media span { font-family:Montserrat,sans-serif; font-size:5rem; font-weight:700; color:rgba(255,255,255,.85); }
.jj-project-card-media img,.jj-news-card-media img { width:100%;height:100%;object-fit:cover;transition:transform .5s ease; }
.jj-project-card:hover .jj-project-card-media img,.jj-news-card:hover .jj-news-card-media img { transform:scale(1.045); }
.jj-project-card-body,.jj-news-card-body { padding:25px; display:flex; flex:1; flex-direction:column; }
.jj-project-card-body p,.jj-news-card-body p { color:var(--jj-muted); }
.jj-project-card-body .jj-button { margin-top:auto;align-self:flex-start; }
.jj-news-card-body a:last-child { margin-top:auto; padding-top:14px; font-weight:700; }
.jj-news-card h2 { font-size:1.35rem; }
.jj-news-card-media:empty::after { content:'JJMS'; font-family:Montserrat,sans-serif; font-weight:700; letter-spacing:.16em; color:rgba(255,255,255,.4); }
.jj-project-single { display:grid; grid-template-columns:minmax(300px, .85fr) minmax(0,1.15fr); gap:55px; align-items:start; }
.jj-project-single-media { min-height:360px; display:flex; align-items:center; justify-content:center; overflow:hidden; border:1px solid var(--jj-border); border-radius:var(--jj-radius); background:radial-gradient(circle at 30% 20%,rgba(56,189,248,.18),transparent 40%),linear-gradient(145deg,#162433,#080c11); }
.jj-project-single-media span { font-family:Montserrat,sans-serif; font-size:8rem; font-weight:700; color:rgba(255,255,255,.8); }
.jj-project-single-media img { width:100%;height:100%;object-fit:cover; }
.jj-series-block { margin-bottom:85px; }
.jj-series-block:last-child { margin-bottom:0; }
.jj-series-block .jj-section-heading { margin-bottom:35px; }
.jj-widget { margin-bottom:25px; }
@media (max-width:760px) {
  .jj-project-single { grid-template-columns:1fr; gap:30px; }
  .jj-project-single-media { min-height:260px; }
}


/* 1.1.3 — Actualidad RSS */
.jj-page-hero--news { padding-bottom:58px; }
.jj-news-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:24px; }
.jj-news-source { display:flex; justify-content:space-between; gap:12px; align-items:center; margin-bottom:12px; color:var(--jj-muted); font-size:.78rem; text-transform:uppercase; letter-spacing:.07em; }
.jj-news-source span { color:#38bdf8; font-weight:800; }
.jj-news-source time { white-space:nowrap; }
.jj-news-read { color:#e7f6ff; }
.jj-news-note { padding-top:0; }
@media (max-width:980px) { .jj-news-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media (max-width:680px) { .jj-news-grid { grid-template-columns:1fr; } .jj-news-source { align-items:flex-start; flex-direction:column; gap:4px; } }


/* 1.1.4 — Editorial Actualidad */
.jj-news-featured {
  display:grid; grid-template-columns:minmax(0,1.35fr) minmax(360px,.85fr);
  min-height:430px; margin-bottom:30px; overflow:hidden;
  border:1px solid var(--jj-border); border-radius:var(--jj-radius);
  background:#111821; box-shadow:var(--jj-shadow);
}
.jj-news-featured-media { display:flex; min-height:430px; align-items:center; justify-content:center; overflow:hidden; background:linear-gradient(145deg,#162433,#080c11); }
.jj-news-featured-media img { width:100%; height:100%; object-fit:cover; transition:transform .6s ease; }
.jj-news-featured:hover .jj-news-featured-media img { transform:scale(1.035); }
.jj-news-featured-media span { font-family:Montserrat,sans-serif; font-size:7rem; font-weight:700; color:rgba(255,255,255,.7); }
.jj-news-featured-body { display:flex; flex-direction:column; justify-content:center; padding:48px; background:radial-gradient(circle at 100% 0,rgba(14,165,233,.12),transparent 45%),#111821; }
.jj-news-featured-body h2 { font-size:clamp(2rem,3.2vw,3.15rem); line-height:1.05; margin:12px 0 20px; }
.jj-news-featured-body p { color:var(--jj-muted); font-size:1.06rem; line-height:1.7; }
.jj-news-featured-body .jj-news-read { margin-top:24px; font-weight:800; }
.jj-news-grid--editorial { grid-template-columns:repeat(3,minmax(0,1fr)); }
@media (max-width:980px) { .jj-news-featured { grid-template-columns:1fr; } .jj-news-featured-media { min-height:340px; } .jj-news-featured-body { padding:34px; } .jj-news-grid--editorial { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media (max-width:680px) { .jj-news-featured-media { min-height:230px; } .jj-news-featured-body { padding:27px; } .jj-news-featured-body h2 { font-size:1.8rem; } .jj-news-grid--editorial { grid-template-columns:1fr; } }

/* 1.1.5 — App pages */
.jj-app-hero { position:relative; padding:175px 0 105px; overflow:hidden; background:radial-gradient(circle at 78% 25%,rgba(14,165,233,.16),transparent 34%),radial-gradient(circle at 15% 70%,rgba(245,158,11,.09),transparent 35%),linear-gradient(135deg,#070b11,#101826 62%,#0a111b); }
.jj-app-hero::after { content:''; position:absolute; width:460px; height:460px; right:-170px; bottom:-220px; border-radius:50%; background:rgba(14,165,233,.08); filter:blur(4px); }
.jj-app-hero-copy { position:relative; z-index:1; max-width:850px; }
.jj-app-hero h1 { font-size:clamp(3.5rem,7vw,6.6rem); margin:.12em 0 .18em; letter-spacing:-.055em; }
.jj-app-hero .jj-lead { max-width:760px; font-size:1.35rem; }
.jj-app-hero-actions { margin-top:32px; }
.jj-app-two-col { display:grid; grid-template-columns:.9fr 1.1fr; gap:80px; align-items:start; }
.jj-app-two-col h2 { font-size:clamp(2rem,4vw,3.5rem); line-height:1.06; margin-top:8px; }
.jj-feature-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:18px; }
.jj-feature-card { padding:28px; border:1px solid var(--jj-border); border-radius:var(--jj-radius); background:rgba(17,24,33,.72); }
.jj-feature-icon { display:inline-flex; width:42px; height:42px; align-items:center; justify-content:center; margin-bottom:18px; border-radius:50%; background:rgba(245,158,11,.13); color:#f5b942; font-size:1.25rem; }
.jj-feature-card h3 { margin:0 0 10px; font-size:1.15rem; }
.jj-feature-card p { margin:0; color:var(--jj-muted); line-height:1.65; }
.jj-app-gallery { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:20px; align-items:start; }
.jj-app-gallery figure { margin:0; padding:0; }
.jj-app-gallery img { display:block; width:100%; height:auto; border-radius:18px; border:1px solid var(--jj-border); box-shadow:var(--jj-shadow); background:#111821; }
.jj-app-gallery figcaption { margin-top:12px; color:var(--jj-muted); font-size:.88rem; line-height:1.5; }
.jj-app-cta-box { display:flex; justify-content:space-between; align-items:center; gap:40px; padding:48px; border:1px solid rgba(56,189,248,.25); border-radius:28px; background:linear-gradient(135deg,rgba(14,165,233,.09),rgba(245,158,11,.06)); }
.jj-app-cta-box h2 { margin:.15em 0 .25em; max-width:760px; font-size:clamp(2rem,4vw,3.2rem); }
.jj-app-cta-box p { margin:0; color:var(--jj-muted); }
.jj-app-disclaimer { margin:22px auto 0; max-width:850px; text-align:center; color:#9aa7b8; font-size:.85rem; }
@media (max-width:1050px) { .jj-feature-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } .jj-app-gallery { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media (max-width:760px) { .jj-app-hero { padding:140px 0 75px; } .jj-app-hero h1 { font-size:3.5rem; } .jj-app-two-col { grid-template-columns:1fr; gap:35px; } .jj-feature-grid,.jj-app-gallery { grid-template-columns:1fr; } .jj-app-cta-box { flex-direction:column; align-items:flex-start; padding:30px; } }

/* JJMSanz 1.1.6 — App presentation */
.jj-app-hero-layout { display:grid; grid-template-columns:minmax(0,1.15fr) minmax(320px,.85fr); gap:70px; align-items:center; }
.jj-app-hero--memoria, .jj-app-hero--bitacora { padding:145px 0 95px; }
.jj-app-hero--memoria { background:radial-gradient(circle at 78% 25%,rgba(14,165,233,.16),transparent 34%),radial-gradient(circle at 15% 70%,rgba(245,158,11,.09),transparent 35%),linear-gradient(135deg,#070b11,#101826 62%,#0a111b); }
.jj-app-hero--bitacora { background:radial-gradient(circle at 80% 20%,rgba(56,189,248,.12),transparent 35%),linear-gradient(135deg,#080d13,#111b27 60%,#0b131d); }
.jj-app-hero-device { justify-self:center; width:min(100%,390px); padding:16px; border-radius:32px; background:linear-gradient(145deg,rgba(255,255,255,.12),rgba(255,255,255,.025)); border:1px solid rgba(255,255,255,.15); box-shadow:0 35px 90px rgba(0,0,0,.48); transform:rotate(2deg); }
.jj-app-hero-device img { display:block; width:100%; height:auto; border-radius:20px; }
.jj-app-hero-device--bitacora { width:min(100%,350px); transform:rotate(-2deg); }
.jj-free-badge, .jj-price-badge { display:inline-flex; align-items:center; gap:12px; flex-wrap:wrap; margin-top:26px; padding:11px 17px; border-radius:999px; border:1px solid rgba(245,158,11,.28); background:rgba(245,158,11,.08); color:#f7d48b; font-size:.92rem; }
.jj-free-badge span { display:inline-grid; place-items:center; width:22px; height:22px; border-radius:50%; background:var(--jj-amber); color:#10151c; font-weight:900; }
.jj-price-badge strong { color:#fff; }
.jj-price-badge span { color:var(--jj-gray); }
.jj-button--disabled { opacity:.78; cursor:default; pointer-events:none; }
.jj-app-status-note { margin:18px 0 0; max-width:620px; color:#9eacbc; font-size:.9rem; }
.jj-app-pricing { padding-top:20px; }
.jj-pricing-box { display:grid; grid-template-columns:1.2fr .8fr; gap:28px; align-items:stretch; padding:48px; border:1px solid rgba(56,189,248,.22); border-radius:28px; background:linear-gradient(135deg,rgba(14,165,233,.08),rgba(245,158,11,.06)); }
.jj-price-card { padding:30px; border-radius:22px; border:1px solid rgba(245,158,11,.35); background:rgba(8,13,20,.55); text-align:center; }
.jj-price { font-family:Montserrat,Inter,sans-serif; font-size:clamp(2.4rem,5vw,4rem); font-weight:800; line-height:1; color:#fff; }
.jj-price-title { margin-top:10px; color:#f7c86c; font-weight:800; }
.jj-price-card p { margin:12px 0 0; color:var(--jj-muted); }
.jj-app-gallery--bitacora { grid-template-columns:repeat(3,minmax(0,1fr)); }
.jj-app-gallery--bitacora figure { max-width:330px; justify-self:center; }
.jj-app-gallery--bitacora img { background:#fff; }
@media (max-width:900px) { .jj-app-hero-layout,.jj-pricing-box { grid-template-columns:1fr; } .jj-app-hero-device,.jj-app-hero-device--bitacora { width:min(100%,360px); order:-1; } .jj-app-gallery--bitacora { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media (max-width:560px) { .jj-app-hero--memoria,.jj-app-hero--bitacora { padding:125px 0 75px; } .jj-app-gallery--bitacora { grid-template-columns:1fr; } .jj-pricing-box { padding:28px; } }
.jj-app-index-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:30px; }
.jj-app-index-card { overflow:hidden; border:1px solid var(--jj-border); border-radius:28px; background:linear-gradient(145deg,rgba(30,41,56,.78),rgba(15,23,32,.82)); box-shadow:var(--jj-shadow); }
.jj-app-index-media { min-height:430px; display:grid; place-items:center; padding:28px; background:radial-gradient(circle at 50% 30%,rgba(14,165,233,.12),transparent 48%),#0b1017; }
.jj-app-index-media img { display:block; width:min(100%,330px); max-height:560px; object-fit:contain; border-radius:20px; box-shadow:0 25px 60px rgba(0,0,0,.45); }
.jj-app-index-card:first-child .jj-app-index-media img { width:min(100%,280px); }
.jj-app-index-body { padding:34px; }
.jj-app-index-body h2 { margin-bottom:12px; }
.jj-app-index-body h2 a { color:#fff; }
.jj-app-index-body p { color:var(--jj-muted); margin:0 0 20px; }
.jj-mini-badge { display:inline-block; margin-bottom:22px; padding:8px 12px; border-radius:999px; background:rgba(245,158,11,.09); border:1px solid rgba(245,158,11,.25); color:#f3c66c; font-size:.82rem; font-weight:700; }
@media (max-width:800px) { .jj-app-index-grid { grid-template-columns:1fr; } .jj-app-index-media { min-height:360px; } }
