/* AKIRA Industrial · Robusta. Paleta: Piedra, Gris oliva, Ámbar (datos), Carbón (texto), Naranja Fuego (solo botones). */
:root {
  --piedra: #D9D0C1;
  --piedra-2: #E9E3D8;
  --piedra-3: #F4F0E8;
  --oliva: #63695D;
  --oliva-osc: #3E4239;
  --ambar: #D9A949;
  --carbon: #1C1C1E;
  --carbon-2: #2A2A2D;
  --fuego: #FF5A1F;
  --rojo: #E3001B;
  --texto-2: #43463F;        /* sobre piedra: 8:1 */
  --font-t: 'Archivo', 'Arial Narrow', system-ui, sans-serif;
  --font-b: 'Plus Jakarta Sans', system-ui, sans-serif;
  --wrap: 1180px;
  --r: 8px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; background: var(--piedra); color: var(--carbon); font-family: var(--font-b); font-size: 1.0625rem; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img, video { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-t); font-stretch: 112%; font-weight: 850; line-height: 1.04; letter-spacing: -0.01em; margin: 0; }
h2 { font-size: clamp(2rem, 4.4vw, 3.2rem); max-width: 22ch; }
h3 { font-size: 1.3rem; line-height: 1.15; }
p { margin: 0 0 1rem; }
.wrap { width: min(100% - 40px, var(--wrap)); margin-inline: auto; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--carbon); color: var(--piedra-3); padding: 12px 18px; border-radius: var(--r); font-weight: 700; }
.skip-link:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--fuego); outline-offset: 3px; border-radius: 4px; }

/* Encabezado (molde BRIDGES) */
.fam-header { position: sticky; top: 0; z-index: 50; background: rgba(217, 208, 193, .96); backdrop-filter: blur(8px); border-bottom: 2px solid var(--carbon); }
.fam-header__in { display: flex; align-items: center; gap: 24px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; min-height: 48px; }
.brand__txt { display: flex; flex-direction: column; line-height: 1; }
.brand__txt b { font-family: var(--font-t); font-stretch: 125%; font-weight: 900; font-size: 1.15rem; letter-spacing: .04em; }
.brand__txt span { font-size: .72rem; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; color: var(--oliva-osc); margin-top: 3px; }
.fam-nav { display: flex; gap: 26px; margin-inline: auto; }
.fam-nav a { color: var(--texto-2); text-decoration: none; font-weight: 600; font-size: .95rem; padding: 12px 0; }
.fam-nav a:hover { color: var(--carbon); }
.fam-actions { display: flex; align-items: center; gap: 10px; }
.fbtn { display: inline-flex; align-items: center; min-height: 48px; padding: 0 18px; border: 2px solid var(--carbon); border-radius: var(--r); font-weight: 800; font-size: .92rem; text-decoration: none; color: var(--carbon); transition: transform .12s, box-shadow .12s; }
.fbtn--ghost { background: transparent; }
.fbtn--ghost:hover { background: var(--piedra-2); }
.fbtn--fire { background: var(--fuego); box-shadow: 3px 3px 0 var(--carbon); }
.fbtn--fire:hover { transform: translate(-1px, -1px); box-shadow: 4px 4px 0 var(--carbon); }
.fbtn--fire:active { transform: translate(3px, 3px); box-shadow: 0 0 0 var(--carbon); }
.fam-menu { display: none; width: 48px; height: 48px; border: 2px solid var(--carbon); border-radius: var(--r); background: transparent; color: var(--carbon); cursor: pointer; place-items: center; }
.menu-movil { border-top: 2px solid var(--carbon); background: var(--piedra-2); padding: 8px 20px 16px; }
.menu-movil a { display: block; padding: 14px 0; font-weight: 700; text-decoration: none; border-bottom: 1px solid rgba(28, 28, 30, .15); }

/* Botones píldora */
.pill { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 26px; border-radius: 999px; font-weight: 800; text-decoration: none; border: 2px solid var(--carbon); transition: transform .12s, box-shadow .12s, background .12s; }
.pill--fire { background: var(--fuego); color: var(--carbon); box-shadow: 3px 3px 0 var(--carbon); }
.pill--fire:hover { transform: translate(-1px, -1px); box-shadow: 5px 5px 0 var(--carbon); }
.pill--fire:active { transform: translate(3px, 3px); box-shadow: none; }
.pill--ghost { background: transparent; color: var(--carbon); }
.pill--ghost:hover { background: var(--piedra-2); }
.pill--lg { min-height: 60px; font-size: 1.1rem; padding: 0 34px; }

/* Portada */
.hero { background: var(--piedra); overflow: hidden; }
.hero__in { display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 24px; padding-block: 56px 64px; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: .8rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--oliva-osc); margin-bottom: 18px; }
.dot { width: 10px; height: 10px; background: var(--ambar); border: 2px solid var(--carbon); border-radius: 50%; }
.hero h1 { font-size: clamp(2.4rem, 5vw, 4.1rem); max-width: 16ch; }
.hl { display: inline; -webkit-box-decoration-break: clone; box-decoration-break: clone; background: linear-gradient(transparent 62%, var(--ambar) 62%, var(--ambar) 92%, transparent 92%); }
.lead { font-size: 1.15rem; color: var(--texto-2); max-width: 56ch; margin: 22px 0 28px; }
.hero__btns { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__facts { list-style: none; padding: 0; margin: 34px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.hero__facts li { border: 2px solid var(--carbon); border-radius: var(--r); padding: 8px 14px; font-size: .88rem; font-weight: 600; background: var(--piedra-3); }
.hero__facts b { font-family: var(--font-t); font-weight: 900; margin-right: 6px; }
.hero__3d { width: 100%; height: auto; max-width: 560px; justify-self: center; aspect-ratio: 1; object-fit: cover;
  -webkit-mask-image: radial-gradient(circle at 50% 50%, #000 58%, transparent 72%); mask-image: radial-gradient(circle at 50% 50%, #000 58%, transparent 72%); }

/* Secciones */
.sec { padding-block: 88px; }
.sec__lead { color: var(--texto-2); max-width: 60ch; margin-top: 16px; font-size: 1.1rem; }
.kicker { font-family: ui-monospace, 'Cascadia Mono', Consolas, monospace; font-size: .85rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--oliva-osc); margin-bottom: 14px; }
.kicker--amber { color: var(--ambar); }
.sec--dark { background: var(--carbon); color: var(--piedra-3); }
.sec--dark .kicker { color: var(--ambar); }
.sec--dark .sec__lead { color: #CFC8BB; }
.sec--olive { background: var(--oliva); color: #FFFFFF; }
.sec--olive .kicker { color: #F1D998; }
.sec--stone2 { background: var(--piedra-2); }

/* Demos */
.demos { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 40px; }
.demo { background: var(--piedra-3); color: var(--carbon); border: 2px solid var(--piedra-2); border-radius: 12px; padding: 24px; display: flex; flex-direction: column; gap: 18px; }
.demo__head { display: flex; flex-direction: column; gap: 8px; }
.tag { align-self: flex-start; background: var(--ambar); color: var(--carbon); border: 2px solid var(--carbon); border-radius: 6px; font-size: .74rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; padding: 3px 9px; }
.demo__form { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 14px; }
.demo__form label { display: flex; flex-direction: column; gap: 5px; font-size: .8rem; font-weight: 700; color: var(--texto-2); }
.demo__form input[type=number] { font: inherit; font-size: 1rem; font-weight: 700; color: var(--carbon); background: #FFFFFF; border: 2px solid var(--oliva); border-radius: 6px; min-height: 46px; padding: 0 12px; width: 100%; }
.demo__form input[type=number]:focus { border-color: var(--carbon); }
.demo__form .check { flex-direction: row; align-items: center; gap: 10px; grid-column: 1 / -1; font-size: .9rem; min-height: 46px; }
.demo__form .check input { width: 22px; height: 22px; accent-color: var(--oliva-osc); }
.demo__out { background: var(--carbon); color: var(--piedra-3); border-radius: 10px; padding: 18px; }
.liq { width: 100%; border-collapse: collapse; font-size: .9rem; }
.liq td { padding: 6px 0; border-bottom: 1px solid rgba(244, 240, 232, .12); }
.liq td:last-child { text-align: right; font-variant-numeric: tabular-nums; font-weight: 700; }
.liq .pos td:last-child { color: #9BE29B; }
.liq .neg td:last-child { color: #FF9E80; }
.big { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 14px; }
.big div, .gauge { display: flex; flex-direction: column; gap: 2px; }
.big span, .gauge span { font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; color: #CFC8BB; font-weight: 700; }
.big b, .gauge b { font-family: var(--font-t); font-stretch: 110%; font-size: 1.9rem; font-weight: 900; color: var(--ambar); font-variant-numeric: tabular-nums; line-height: 1.1; }
.demo__note { font-size: .8rem; color: var(--texto-2); margin: 0; }
.chat { display: flex; flex-direction: column; gap: 10px; background: #E6DED0; border-radius: 10px; padding: 14px; }
.msg { margin: 0; max-width: 88%; padding: 10px 14px; border-radius: 12px; font-size: .92rem; line-height: 1.45; }
.msg__who { display: block; font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--oliva-osc); margin-bottom: 2px; }
.msg--in { background: #FFFFFF; align-self: flex-start; border-top-left-radius: 2px; }
.msg--out { background: #D3F0C8; align-self: flex-end; border-top-right-radius: 2px; }
.demo__form--2 label:last-child { grid-column: 1 / -1; }
#f-flota + .demo__out, .demo__out:has(.gauge) { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.gauge { border-left: 6px solid var(--ok, #6FBF73); padding-left: 12px; }
.gauge small { font-size: .85rem; color: #E9E3D8; }
.gauge.is-amber { --ok: var(--ambar); }
.gauge.is-red { --ok: #FF6B4A; }

/* Problema */
.quotes { list-style: none; padding: 0; margin: 40px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.quotes li { background: var(--piedra-3); border: 2px solid var(--carbon); border-radius: 12px; padding: 22px; box-shadow: 4px 4px 0 var(--oliva); }
.quotes q { display: block; font-family: var(--font-t); font-stretch: 105%; font-weight: 800; font-size: 1.3rem; line-height: 1.2; margin-bottom: 10px; quotes: '«' '»'; }
.quotes span { font-size: .92rem; color: var(--texto-2); }

/* Módulos */
.mods { list-style: none; padding: 0; margin: 40px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.mod { background: var(--oliva-osc); border: 2px solid rgba(255, 255, 255, .18); border-radius: 12px; padding: 22px; display: flex; flex-direction: column; gap: 10px; }
.mod__n { font-family: var(--font-t); font-weight: 900; font-size: 2.2rem; color: var(--ambar); line-height: 1; }
.mod p { color: #EDEAE3; font-size: .96rem; margin: 0; }
.mod .mod__kpi { margin-top: auto; padding-top: 10px; border-top: 1px dashed rgba(255, 255, 255, .3); font-family: ui-monospace, Consolas, monospace; font-size: .8rem; color: #F1D998; }

/* Formatos */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 40px; align-items: stretch; }
.plan { position: relative; background: var(--piedra-3); border: 2px solid var(--carbon); border-radius: 12px; padding: 26px; display: flex; flex-direction: column; gap: 10px; }
.plan--main { background: var(--carbon); color: var(--piedra-3); box-shadow: 6px 6px 0 var(--ambar); }
.plan__flag { position: absolute; top: -14px; left: 22px; background: var(--ambar); color: var(--carbon); border: 2px solid var(--carbon); border-radius: 6px; padding: 2px 10px; font-size: .75rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.plan__who { color: var(--texto-2); font-size: .95rem; margin: 0; }
.plan--main .plan__who { color: #CFC8BB; }
.plan ul { padding-left: 1.1rem; margin: 6px 0 18px; }
.plan li { margin-bottom: 6px; }
.plan li::marker { color: var(--oliva); }
.plan--main li::marker { color: var(--ambar); }
.plan .pill { margin-top: auto; }
.plan--main .pill { border-color: var(--piedra-3); box-shadow: 3px 3px 0 var(--piedra-3); }
.plans__note { margin-top: 22px; color: var(--texto-2); }

/* Nosotros */
.who { display: grid; grid-template-columns: 340px 1fr; gap: 48px; align-items: center; }
.who__img { width: 100%; height: auto; border: 2px solid var(--carbon); border-radius: 12px; box-shadow: 8px 8px 0 var(--oliva); }
.who h2 { margin-bottom: 20px; }
.who p { color: var(--texto-2); max-width: 58ch; }
.who p a { color: var(--carbon); font-weight: 700; text-decoration-color: var(--fuego); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.who .pill { margin-top: 8px; }

/* Plaza productiva (video de fondo) */
.plaza { position: relative; isolation: isolate; overflow: hidden; color: #FFFFFF; background: var(--oliva-osc); min-height: 520px; display: flex; align-items: center; }
.plaza__video { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.plaza::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(28, 28, 30, .92) 0%, rgba(28, 28, 30, .72) 50%, rgba(28, 28, 30, .25) 100%); }
.plaza__in { padding-block: 80px; }
.plaza h2 { color: #FFFFFF; }
.plaza__lead { max-width: 52ch; margin-top: 18px; color: #EDEAE3; font-size: 1.1rem; }
.chips { list-style: none; padding: 0; margin: 24px 0 0; display: flex; flex-wrap: wrap; gap: 8px; max-width: 720px; }
.chips li { border: 2px solid var(--ambar); color: #FFF6E0; border-radius: 999px; padding: 6px 14px; font-weight: 700; font-size: .88rem; background: rgba(28, 28, 30, .45); }
.plaza__towns { margin-top: 22px; font-size: .9rem; color: #D8D3C8; max-width: 70ch; }

/* Preguntas */
.faq-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: 48px; align-items: start; }
.faq details { border-bottom: 2px solid var(--carbon); }
.faq details:first-child { border-top: 2px solid var(--carbon); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 40px 20px 0; position: relative; font-weight: 800; font-size: 1.08rem; min-height: 48px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%); font-family: var(--font-t); font-size: 1.6rem; font-weight: 900; color: var(--oliva-osc); }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--texto-2); padding-bottom: 18px; margin: 0; max-width: 62ch; }

/* Cierre */
.cta { background: var(--carbon); color: var(--piedra-3); }
.cta__in { padding-block: 84px; display: flex; flex-direction: column; align-items: flex-start; gap: 28px; }
.cta h2 { color: var(--piedra-3); max-width: 24ch; }
.cta .pill { border-color: var(--piedra-3); box-shadow: 4px 4px 0 var(--piedra-3); }

/* Pie (molde BRIDGES) */
.fam-footer { background: var(--piedra); border-top: 1px solid rgba(28, 28, 30, .25); padding-block: 44px 28px; }
.fam-footer__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; flex-wrap: wrap; }
.parte-de-akira { display: flex; align-items: center; gap: 6px; min-height: 44px; margin-top: 4px; font-size: .9rem; color: var(--texto-2); text-decoration: none; }
.parte-de-akira:hover strong { text-decoration: underline; }
.fam-contact { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px 22px; }
.fam-contact a, .fam-contact span { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; text-decoration: none; font-weight: 600; font-size: .92rem; }
.fam-contact svg { color: #C2410C; }
.fam-contact a:hover { text-decoration: underline; }
.fam-footer__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 26px; padding-top: 18px; border-top: 1px solid rgba(28, 28, 30, .2); font-size: .86rem; color: var(--texto-2); }
.fam-footer__bottom p { margin: 0; }
.fam-links { display: flex; gap: 18px; flex-wrap: wrap; }
.fam-links a { text-decoration: none; padding: 6px 0; }
.fam-links a:hover { text-decoration: underline; }
.fam-credits { margin: 14px 0 0; font-size: .75rem; color: #5C5F57; }

/* Responsive */
@media (max-width: 1020px) {
  .mods { grid-template-columns: 1fr 1fr; }
  .demos { grid-template-columns: 1fr; }
  .quotes { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .fam-nav, .fbtn--ghost { display: none; }
  .fam-menu { display: grid; }
  .fam-actions { margin-left: auto; }
  .hero__in { grid-template-columns: 1fr; padding-block: 24px 48px; }
  .hero__3d { order: -1; max-width: 260px; }
  .plans, .who, .faq-wrap { grid-template-columns: 1fr; }
  .who__img { max-width: 300px; }
  .sec { padding-block: 64px; }
}
@media (max-width: 560px) {
  .mods, .quotes, .demo__form { grid-template-columns: 1fr; }
  .demo__form--2 { grid-template-columns: 1fr 1fr; }
  .fbtn--fire { padding: 0 12px; font-size: .85rem; }
  .brand__txt span { letter-spacing: .12em; }
  .big b, .gauge b { font-size: 1.5rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
