/* ==========================================================================
   «BRUTALISMO TÉCNICO / CODEBREAKING» · versión híbrida · AKIRA Software (04/12/2026)
   Se carga después de styles.css + alegre.css + neo.css.
   Híbrido: estructura técnica (grilla, carbón/piedra, bordes finos, cifras en
   mono) + tono cálido en lo que se lee y se toca (botones, menú, textos y
   emojis en letra normal, sin mayúsculas).
   · Fondos: Blanco Piedra #F0EEE9 (70–80 %) y Carbón #1C1C1E (20–30 %).
   · Grilla técnica visible, bordes 1.5 px carbón, esquinas chicas.
   · Outfit 800–900 (titulares) · Plus Jakarta Sans (lectura) ·
     JetBrains Mono (precios, métricas, etiquetas, botones).
   · 20 % Codebreaking: tramas dither en Carbón/Fuego detrás de pantallas.
   ========================================================================== */
:root {
  --t-ink: #1C1C1E;
  --t-stone: #F0EEE9;
  --t-card: #F9F8F4;
  --t-line: #D8D4CC;
  --t-mono: 'JetBrains Mono', 'IBM Plex Mono', ui-monospace, monospace;
  --t-b: 1.5px solid var(--t-ink);
  --t-grid: linear-gradient(var(--t-line) 1px, transparent 1px),
            linear-gradient(90deg, var(--t-line) 1px, transparent 1px);
  --t-grid-dark: linear-gradient(rgba(240, 238, 233, 0.06) 1px, transparent 1px),
                 linear-gradient(90deg, rgba(240, 238, 233, 0.06) 1px, transparent 1px);
  --t-dither-fire: radial-gradient(rgba(255, 90, 31, 0.55) 1px, transparent 1.4px);
  --t-dither-ink: radial-gradient(rgba(28, 28, 30, 0.22) 1px, transparent 1.4px);
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 12px;
  --shadow-card: none;
}

/* ---------- Lienzo piedra con grilla técnica ---------- */
html, body { background-color: var(--t-stone); }
body {
  background-image: var(--t-grid);
  background-size: 48px 48px;
  background-position: -1px -1px;
}
.section { position: relative; }
.section + .section, .section--alt { border-top: var(--t-b); }
.section--alt {
  background: var(--t-stone);
  background-image: var(--t-grid);
  background-size: 48px 48px;
  margin: 0;
  border-radius: 0;
}

/* ---------- Navbar ---------- */
.navbar { background: rgba(240, 238, 233, 0.97); border-bottom: var(--t-b); }
.nav-links a { border-radius: 8px; }
.nav-links a.is-current { background: var(--t-ink); color: var(--t-stone); box-shadow: none; }

/* ---------- Titulares ---------- */
.hero__title, .section-title, .page-head h1, .cta-band h2 {
  font-family: 'Outfit', sans-serif;
  font-weight: 900;
  letter-spacing: -0.03em;
}

/* Etiquetas de sistema: [AKIRA SOFTWARE // ...] */
.eyebrow, .hero .eyebrow {
  font-family: var(--t-mono);
  font-size: 12px;
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0;
  background: transparent;
  border: var(--t-b);
  border-radius: 4px;
  box-shadow: none;
  color: var(--t-ink);
  padding: 6px 10px;
  display: inline-flex;
  align-items: center;
}
.eyebrow .dot { display: none; }
.eyebrow::before { content: ''; width: 7px; height: 7px; background: var(--fire); border-radius: 1px; margin-right: 8px; flex: none; display: inline-block; }
.hero .eyebrow::before { content: '['; width: auto; height: auto; background: none; color: var(--brand-orange); margin-right: 4px; }
.hero .eyebrow::after { content: ']'; color: var(--brand-orange); margin-left: 4px; }
.hero .eyebrow { border-color: rgba(240, 238, 233, 0.35); color: var(--t-stone); }

/* ---------- Botones: mono, esquinas chicas ---------- */
.btn {
  border-radius: 10px;
  font-weight: 800;
  text-transform: none;
}
.btn--ghost { background: transparent; border: var(--t-b) !important; color: var(--t-ink); box-shadow: none !important; }
.btn--ghost:hover { background: var(--t-ink); color: var(--t-stone); }
.btn--wa { border: var(--t-b) !important; }

/* ---------- Tarjetas: planas, borde carbón 1.5 px ---------- */
.price-card, .brief-card, .project-card, .faq-item, .trust-item, .client-pill,
.rival-card, .sys-mod, .resolver, .layer-card, .pain-card, .step-card, .lab-card,
.cta-banner, .qr-card {
  background: var(--t-card);
  border: var(--t-b) !important;
  border-radius: 12px;
  box-shadow: none;
}
.layer-card--star, .price-card--featured { box-shadow: 6px 6px 0 var(--t-ink); background: #FFFFFF; }
.layer-card:hover, .pain-card:hover, .project-card:hover { border-color: var(--brand-orange) !important; transform: none; }

/* Pilares: número de sistema + precio mono */
.layer-card__step, .pain-card__num, .step-card__num, .project-card__tag, .price-card__badge, .layer-card__badge {
  font-family: var(--t-mono);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: 4px;
}
.layer-card__step { color: var(--t-ink); border-bottom: 1px dashed var(--t-line); padding-bottom: 8px; }
.layer-card__ico { border: var(--t-b); border-radius: 8px; background: var(--t-stone) !important; }
.layer-card__price strong, .price-card__amount, .hero .metric-box strong {
  font-family: var(--t-mono);
  font-weight: 800;
  letter-spacing: -0.03em;
}
.layer-card__price strong, .price-card__amount {
  background: var(--fire);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.layer-card li::before { content: '▸'; color: var(--brand-orange); }

/* ---------- HERO: Carbón + grilla + dither Fuego detrás de la pantalla ---------- */
.hero {
  background-color: var(--t-ink);
  background-image: var(--t-grid-dark);
  background-size: 48px 48px;
  border-radius: 0;
  border-bottom: var(--t-b);
}
.hero__title .grad { box-shadow: none; }
.hero__stage {
  position: relative;
  border: 1.5px solid rgba(240, 238, 233, 0.25) !important;
  border-radius: 12px;
  box-shadow: none !important;
  background:
    radial-gradient(circle at 50% 45%, rgba(255, 90, 31, 0.18), transparent 60%),
    #121214;
}
.hero__stage::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: var(--t-dither-fire);
  background-size: 7px 7px;
  -webkit-mask-image: radial-gradient(circle at 50% 50%, #000 0%, transparent 62%);
  mask-image: radial-gradient(circle at 50% 50%, #000 0%, transparent 62%);
  opacity: 0.55;
  pointer-events: none;
  border-radius: inherit;
}

.float-pill, .chaos-chip {
  font-family: var(--t-mono);
  font-size: 11px;
  border-radius: 4px;
  box-shadow: none;
}
.hero__metrics { border-top: 1px dashed rgba(240, 238, 233, 0.22); }
.hero .metric-box { background: transparent; border: 0 !important; }
.hero .metric-box strong {
  background: var(--fire);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-size: 1.6rem;
}
.hero .metric-box span { font-size: 12.5px; }
.hero-type { border-radius: 6px; font-family: var(--t-mono); font-size: 13px; }
.hero-type__tag { border-radius: 3px; }
.hero__audit-badge { font-family: var(--t-mono); border-radius: 4px; font-size: 11.5px; }

/* Encabezados de páginas internas: carbón + grilla */
.page-head {
  background-color: var(--t-ink);
  background-image: var(--t-grid-dark);
  background-size: 48px 48px;
  border-radius: 0;
  border-bottom: var(--t-b);
}
.page-head__crumbs { font-family: var(--t-mono); font-size: 12px; }
.page-head__jump a { border-radius: 8px; }

/* Selector del hero */
.resolver { background: var(--t-card); }
.resolver__opt { border: 1px solid var(--t-line); border-radius: 8px; background: #FFFFFF; }
.resolver__opt:hover, .resolver__opt:focus-visible { border-color: var(--t-ink); }
.resolver__ico { border-radius: 6px; border: 1px solid var(--t-line); }
.resolver__tag { font-family: var(--t-mono); border-radius: 4px; }

/* ---------- Franjas ---------- */
.section + .trust-strip { border-top: var(--t-b); }
.trust-strip { background: var(--t-stone); border-bottom: var(--t-b); }
.clients-strip { background: var(--t-card); border-bottom: var(--t-b); }
.clients-strip__label { font-family: var(--t-mono); font-size: 12px; }
.client-pill { border-radius: 6px; }

/* Hero botón secundario sobre fondo carbón + tira compacta de demos AKI.sistemas */
.hero .btn--ghost { color: var(--t-stone); border-color: rgba(240, 238, 233, 0.65) !important; }
.hero .btn--ghost:hover { background: var(--t-stone); color: var(--t-ink); }

.sys-demos-strip {
  padding: 32px 0;
  background: var(--t-stone);
  border-top: var(--t-b);
  border-bottom: var(--t-b);
}
.sys-demos-strip__box {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px 24px;
  padding: 22px 26px;
  background: var(--t-card);
  border: var(--t-b);
  border-radius: 12px;
}
.sys-demos-strip__copy {
  flex: 1 1 320px;
  min-width: 0;
}
.sys-demos-strip__title {
  margin-top: 8px;
  font-family: 'Outfit', sans-serif;
  font-size: clamp(1.2rem, 2.2vw, 1.5rem);
  font-weight: 800;
  line-height: 1.2;
  color: var(--t-ink);
}
.sys-demos-strip__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
@media (max-width: 720px) {
  .sys-demos-strip { padding: 24px 0; }
  .sys-demos-strip__box { padding: 18px 16px; }
  .sys-demos-strip__actions { width: 100%; }
  .sys-demos-strip__actions .btn { width: 100%; justify-content: center; text-align: center; }
}

/* ---------- Sección Carbón (casos reales = 20–30 % oscuro) ---------- */
#casos {
  background-color: var(--t-ink);
  background-image: var(--t-grid-dark);
  background-size: 48px 48px;
  color: var(--t-stone);
}
#casos .section-title, #casos .section-desc { color: var(--t-stone); }
#casos .section-title .accent { background: var(--fire); -webkit-background-clip: text; background-clip: text; color: transparent; box-shadow: none; }
#casos .eyebrow { color: var(--t-stone); border-color: rgba(240, 238, 233, 0.35); }
#casos .project-card { border-color: rgba(240, 238, 233, 0.9) !important; }
#casos .btn--ghost { color: var(--t-stone); border-color: rgba(240, 238, 233, 0.6) !important; }
#casos .btn--ghost:hover { background: var(--t-stone); color: var(--t-ink); }

/* ---------- Banda final y contacto ---------- */
.cta-band {
  background-color: var(--t-ink);
  background-image: var(--t-grid-dark);
  background-size: 48px 48px;
  border-radius: 12px;
}
.aki-speech { font-size: 13px; border: var(--t-b); border-radius: 6px; box-shadow: 3px 3px 0 var(--t-ink); }
.faq-item { border-radius: 8px; }
.faq-item.open .faq-icon { border-radius: 4px; }
.field-input { border: var(--t-b); border-radius: 8px; }
.brief-pill, .tab-btn, .mini-chip { border-radius: 8px; }
.site-footer { background: var(--t-stone); border-top: var(--t-b); }

@media (max-width: 720px) {
  .eyebrow, .hero .eyebrow { font-size: 11px; padding: 5px 9px; max-width: 100%; }
  .layer-card--star, .price-card--featured { box-shadow: 4px 4px 0 var(--t-ink); }
}

/* ===== Guía común AKIRA (2026-12-06) ===== */
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 1000;
  padding: 12px 20px; border-radius: 999px;
  background: #FF5A1F; color: #1C1C1E; font-weight: 800; text-decoration: none;
}
.skip-link:focus { top: 12px; outline: 3px solid #F0EEE9; outline-offset: 2px; }
main:focus { outline: none; }

/* Monolito «A» 3D: video renderizado en Blender sobre Carbón */
.monolith-3d-wrap { width: min(340px, 86%); height: auto; aspect-ratio: 1; }
.monolith-video {
  display: block; width: 100%; height: 100%; object-fit: contain;
  -webkit-mask-image: radial-gradient(closest-side, #000 70%, transparent 100%);
  mask-image: radial-gradient(closest-side, #000 70%, transparent 100%);
}
@media (max-width: 720px) {
  .monolith-3d-wrap { width: min(240px, 70%); height: auto; }
}

/* ===== Encabezado y pie de la familia AKIRA (molde BRIDGES, 2026-12-06) =====
   Mismo diseño que BRIDGES y la Web Madre, en los colores de Comercial. */
.navbar {
  background: rgba(240, 238, 233, 0.96);
  border-bottom: 2px solid #1C1C1E;
}
.navbar__inner { min-height: 72px; }
.brand-lockup__mark { filter: none; }
.brand-lockup__name { color: #1C1C1E; }
.brand-lockup__sub { color: #5E5A52; }
.nav-links { gap: 26px; }
.nav-links a,
.nav-links a:hover,
.nav-links a.is-current {
  padding: 10px 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
  font-size: 15px;
  font-weight: 600;
}
.nav-links a { color: #5E5A52; }
.nav-links a:hover { color: #1C1C1E; }
.nav-links a.is-current { color: #1C1C1E; box-shadow: inset 0 -2px 0 #E3001B; }
.audio-toggle { border: 0; background: transparent; }
.nav-actions .btn--sm {
  min-height: 46px;
  padding: 0 18px;
  border-radius: 8px;
  border: 2px solid #1C1C1E;
  font-size: 15px;
  font-weight: 700;
}
.nav-actions .fam-btn--ghost {
  background: transparent;
  color: #1C1C1E;
  box-shadow: none;
}
.nav-actions .fam-btn--ghost:hover { background: rgba(28, 28, 30, 0.06); }
.nav-actions .btn--primary {
  background: #E3001B;
  color: #FFFFFF;                       /* 4,98:1 */
  box-shadow: 3px 3px 0 0 #1C1C1E;
  transition: transform .12s ease, box-shadow .12s ease;
}
.nav-actions .btn--primary:hover { background: #E3001B; transform: translate(-1px, -1px); box-shadow: 4px 4px 0 0 #1C1C1E; }
.nav-actions .btn--primary:active { transform: translate(3px, 3px); box-shadow: 0 0 0 0 #1C1C1E; }
.menu-btn { border: 2px solid #1C1C1E; border-radius: 8px; background: transparent; color: #1C1C1E; }
.mobile-drawer { background: #F0EEE9; border-top: 1px solid #D8D4CC; border-bottom: 2px solid #1C1C1E; }
.mobile-drawer a { background: none; border-radius: 0; border-bottom: 1px solid #D8D4CC; color: #1C1C1E; padding: 0 4px; }

.fam-footer {
  background: #F9F8F4;
  border-top: 1px solid #D8D4CC;
  color: #5E5A52;
  font-size: 15px;
  padding: 40px 0 96px;          /* abajo deja lugar a los botones flotantes */
}
.fam-footer__top { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px 40px; padding-bottom: 22px; }
.fam-footer .brand-lockup__mark { width: 28px; height: 27px; }
.fam-footer .brand-lockup__name { font-size: 21px; }
.fam-sign { margin: 8px 0 0; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.fam-sign strong { color: #1C1C1E; }
.fam-sign__akira { display: inline-flex; align-items: center; gap: 5px; min-height: 44px; font-weight: 800; letter-spacing: .06em; color: #1C1C1E; }
.fam-sign__akira svg { width: 16px; height: 16px; }
.fam-sign__akira:hover { color: #E3001B; }
.fam-contact { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 28px; }
.fam-contact a, .fam-contact__place { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: #5E5A52; }
.fam-contact a:hover { color: #1C1C1E; }
.fam-contact svg { width: 18px; height: 18px; flex: none; color: #FF5A1F; }
.fam-contact__place svg { color: #5E5A52; }
.fam-footer__bottom { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px 24px; border-top: 1px solid #D8D4CC; padding-top: 14px; font-size: 13.5px; }
.fam-footer__bottom p { margin: 0; }
.fam-footer__bottom nav { display: flex; flex-wrap: wrap; gap: 0 18px; }
.fam-footer__bottom nav a { display: inline-flex; align-items: center; min-height: 44px; color: #5E5A52; }
.fam-footer__bottom nav a:hover { color: #1C1C1E; text-decoration: underline; }
@media (max-width: 720px) {
  .fam-footer__bottom { flex-direction: column; align-items: flex-start; }
}

/* ---------- Portada con la estética de la familia (Matriz y BRIDGES) ----------
   Bloque Carbón de marca: frase, texto y el logo 3D grande suelto, sin caja ni etiquetas flotantes. */
.hero { background-color: #1C1C1E; padding: 56px 0 64px; }
.hero__grid { grid-template-columns: 1.1fr 0.9fr; align-items: center; }
.hero__art {
  display: flex; align-items: center; justify-content: center;
  perspective: 900px;
}
.hero__art .monolith-3d-wrap { width: min(520px, 100%); height: auto; aspect-ratio: 1; }
@media (max-width: 980px) {
  .hero { padding: 28px 0 44px; }
  .hero__grid { grid-template-columns: 1fr; gap: 8px; }
  .hero__art { order: -1; }
  .hero__art .monolith-3d-wrap { width: min(280px, 72%); }
}
