/*
VOICE   Estudio boutique: sereno, preciso, cercano. Poco ruido, mucho aire.
IDEA    El dosier de proyecto: un plan bien ordenado sobre papel marfil y la carpeta negra con el sello dorado.
PICTURE Paneles de seguimiento y flujos de trabajo dibujados con líneas finas doradas.
COLOUR  Negro #15110D y carbón #201A13 para la marca; marfil y blanco cálido para leer; dorado solo como detalle.
TYPE    Sora (títulos, peso ligero) + Manrope (texto). Preparado para la tipografía corporativa propia.
LAYOUT  Bandas a todo el ancho que alternan oscuro y claro; contenido hasta 1200px; composiciones asimétricas.
*/

/* Tipografía corporativa: cuando esté lista, sube los archivos a /assets/fonts/
   y descomenta las líneas url(...). Toda la web usa --font-display y --font-body. */
@font-face {
  font-family: "Azahar Display";
  src: local("Azahar Display");
  /* src: url("fonts/azahar-display.woff2") format("woff2"),
          url("fonts/azahar-display.ttf") format("truetype"); */
  font-weight: 200 800;
  font-display: swap;
}

:root {
  --black: #15110d;
  --char: #201a13;
  --char-2: #2a2219;
  --gold: #a66d20;
  --gold-lum: #d5a64b;
  --gold-soft: #c39a58;
  --gold-text: #8a5a17;      /* dorado legible sobre fondos claros */
  --ivory: #f4efe5;
  --white: #faf9f6;
  --ink: #1e1913;
  --ink-mute: #5f5547;
  --on-dark: #f4efe5;
  --on-dark-mute: #b8ac99;
  --line-d: rgba(244, 239, 229, .13);
  --line-l: rgba(30, 25, 19, .13);
  --font-display: "Azahar Display", "Sora", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --font-body: "Manrope", "Segoe UI", system-ui, -apple-system, sans-serif;
  --max: 1200px;
  --gutter: max(20px, 5vw);
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
* { min-width: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--white); color: var(--ink); font: 400 17px/1.65 var(--font-body); overflow-x: clip; -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; display: block; }
[hidden] { display: none !important; }
a { color: inherit; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-display); font-weight: 400; line-height: 1.12; letter-spacing: -.02em; text-wrap: balance; }
h1 { font-size: clamp(2.4rem, 5.4vw, 4.1rem); font-weight: 300; line-height: 1.05; letter-spacing: -.035em; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.75rem); font-weight: 300; letter-spacing: -.03em; }
h3 { font-size: 1.3rem; font-weight: 500; }
h4 { font-size: 1.02rem; font-weight: 600; letter-spacing: 0; font-family: var(--font-body); }
strong { font-weight: 700; }
:focus-visible { outline: 2px solid var(--gold-lum); outline-offset: 3px; border-radius: 2px; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--gold-lum); color: var(--black); padding: 10px 16px; font-weight: 700; text-decoration: none; }
.skip:focus { top: 12px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Bandas */
.band { padding: clamp(64px, 9vw, 120px) var(--gutter); }
.band.tight { padding-block: clamp(48px, 6vw, 80px); }
.band.dark { background: var(--black); color: var(--on-dark); }
.band.char { background: var(--char); color: var(--on-dark); }
.band.ivory { background: var(--ivory); }
.band.white { background: var(--white); }
.wrap { max-width: var(--max); margin-inline: auto; }
.narrow { max-width: 760px; }
.dark .muted, .char .muted, .on-dark .muted { color: var(--on-dark-mute); }
.muted { color: var(--ink-mute); }
.kicker { display: inline-flex; align-items: center; gap: 12px; font: 600 14px/1.3 var(--font-body); color: var(--gold-text); margin-bottom: 18px; }
.dark .kicker, .char .kicker { color: var(--gold-lum); }
.kicker::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.lead { font-size: clamp(1.08rem, 1.6vw, 1.22rem); line-height: 1.6; max-width: 62ch; }
.dark .lead, .char .lead { color: var(--on-dark-mute); }
.prose { max-width: 66ch; display: grid; gap: 18px; }
.prose a { color: var(--gold-text); }
.dark .prose a, .char .prose a { color: var(--gold-lum); }
.head { display: grid; gap: 18px; max-width: 780px; margin-bottom: clamp(36px, 5vw, 60px); }
.split-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px clamp(32px, 6vw, 96px); align-items: end; margin-bottom: clamp(36px, 5vw, 60px); }

/* Botones y enlaces */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 14px 26px; border: 1px solid var(--gold-lum); border-radius: 999px; background: var(--gold-lum); color: var(--black); font: 700 15px/1.2 var(--font-body); text-decoration: none; cursor: pointer; transition: background .25s var(--ease), border-color .25s, color .25s; }
.btn:hover { background: #e2b965; border-color: #e2b965; }
.btn.line { background: transparent; color: inherit; border-color: currentColor; }
.dark .btn.line, .char .btn.line { border-color: rgba(244, 239, 229, .45); }
.btn.line:hover { border-color: var(--gold-lum); color: var(--gold-lum); background: transparent; }
.ivory .btn.line:hover, .white .btn.line:hover { color: var(--gold-text); border-color: var(--gold-text); }
.btn.dark-fill { background: var(--black); border-color: var(--black); color: var(--ivory); }
.btn.dark-fill:hover { background: var(--char-2); border-color: var(--char-2); }
.btn[disabled] { opacity: .55; cursor: wait; }
.actions { display: flex; flex-wrap: wrap; gap: 12px 14px; align-items: center; }
.more { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 15px; text-decoration: none; color: var(--gold-text); padding-block: 6px; }
.dark .more, .char .more { color: var(--gold-lum); }
.more::after { content: "→"; transition: transform .25s var(--ease); }
.more:hover::after { transform: translateX(4px); }
.more:hover { text-decoration: underline; text-underline-offset: 5px; }

/* Cabecera */
.site-head { position: sticky; top: 0; z-index: 50; background: rgba(21, 17, 13, .94); color: var(--on-dark); border-bottom: 1px solid transparent; transition: border-color .3s; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.site-head.scrolled { border-bottom-color: var(--line-d); }
.site-head .bar { max-width: calc(var(--max) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; flex: none; }
.brand .flor { width: 44px; height: auto; }
.brand .nombre { width: 118px; height: auto; }
.nav { display: flex; align-items: center; gap: 30px; }
.nav a { text-decoration: none; }
.nav .lnk { font-size: 15px; font-weight: 500; color: var(--on-dark-mute); padding-block: 10px; position: relative; transition: color .2s; }
.nav .lnk:hover, .nav .lnk[aria-current="page"] { color: var(--on-dark); }
.nav .lnk[aria-current="page"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: 3px; height: 1px; background: var(--gold-lum); }
.nav .btn { min-height: 44px; padding: 10px 20px; font-size: 14px; }
.menu-btn { display: none; width: 46px; height: 46px; border: 1px solid var(--line-d); border-radius: 50%; background: transparent; color: var(--on-dark); cursor: pointer; place-items: center; }
.menu-btn span, .menu-btn span::before, .menu-btn span::after { display: block; width: 18px; height: 1.5px; background: currentColor; position: relative; transition: transform .25s, background .25s; }
.menu-btn span::before, .menu-btn span::after { content: ""; position: absolute; left: 0; }
.menu-btn span::before { top: -6px; } .menu-btn span::after { top: 6px; }
.menu-btn[aria-expanded="true"] span { background: transparent; }
.menu-btn[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

/* Portada */
.hero { padding-block: clamp(48px, 7vw, 96px) clamp(64px, 8vw, 112px); position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(60% 70% at 85% 30%, rgba(213, 166, 75, .09), transparent 70%); }
.hero .grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(40px, 6vw, 88px); align-items: center; }
.lockup { display: grid; gap: 14px; justify-items: start; margin-bottom: 30px; }
.lockup img { width: clamp(150px, 16vw, 200px); height: auto; }
.descriptor { font: 600 12.5px/1.4 var(--font-body); letter-spacing: .2em; color: var(--gold-soft); }
.hero h1 { margin-bottom: 24px; }
.hero .lead { margin-bottom: 34px; }

/* Logotipo animado: las líneas dibujan el hexágono y la flor, aparece el símbolo, un destello lo recorre y surge el nombre */
.stage { position: relative; display: grid; justify-items: center; gap: 22px; }
.stage::before { content: ""; position: absolute; z-index: 0; width: 90%; aspect-ratio: 1; top: 0; left: 5%; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 196, 40, .14), transparent 72%); pointer-events: none; }
.sym { position: relative; width: min(100%, 400px); aspect-ratio: 710 / 730; }
.sym-img { position: absolute; inset: 0; width: 100%; height: 100%; animation: symIn 1s 1.5s var(--ease) both; }
.word { position: relative; width: min(78%, 310px); height: auto; animation: wordIn .9s 2.5s var(--ease) both; }
.wire { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.wire path { fill: none; stroke: #ffc928; stroke-width: 1.3; vector-effect: non-scaling-stroke; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
.wire .w-hex path { animation: draw 1s var(--ease) both; }
.wire .w-hex path:nth-child(1) { animation-delay: .1s; }
.wire .w-hex path:nth-child(2) { animation-delay: .35s; }
.wire .w-hex path:nth-child(3) { animation-delay: .7s; }
.wire .pt { animation: draw .8s calc(.8s + var(--i) * .09s) var(--ease) both; }
.wire .vn { stroke-width: .7; stroke-opacity: .55; animation: draw .7s calc(1.05s + var(--i) * .06s) ease-out both; }
.wire .st { stroke-width: 1; animation: draw .4s 1.25s ease-out both; }
.wire .dot { fill: #ffc928; transform-box: fill-box; transform-origin: center; animation: pop .35s 1.45s var(--ease) both; }
.wire .w-hex, .wire .w-flower { animation: fadeOut .7s 2.05s ease both; }
.wire .orbit path { stroke-width: 1; stroke-opacity: .14; animation: draw 1.8s .2s var(--ease) both; }
.wire .orbit path:nth-child(2) { stroke-opacity: .07; animation-delay: .45s; }
.wire .glint { mix-blend-mode: screen; }
.wire .sweep { animation: sweep 1.1s 2.15s ease-in-out both; }
.sym:hover .sweep { animation: sweep2 1.1s ease-in-out both; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes pop { from { transform: scale(0); } to { transform: scale(1); } }
@keyframes fadeOut { to { opacity: 0; } }
@keyframes symIn { from { opacity: 0; filter: brightness(2.2) blur(5px); transform: scale(.985); } to { opacity: 1; filter: none; transform: none; } }
@keyframes wordIn { from { opacity: 0; clip-path: inset(0 50% 0 50%); transform: translateY(6px); } to { opacity: 1; clip-path: inset(0 0 0 0); transform: none; } }
@keyframes sweep { from { transform: translateX(0); } to { transform: translateX(1180px); } }
@keyframes sweep2 { from { transform: translateX(0); } to { transform: translateX(1180px); } }

/* Panel ilustrativo */
.mock { background: var(--black); border: 1px solid var(--line-d); border-radius: 18px; padding: clamp(18px, 2.4vw, 26px); display: grid; gap: 22px; box-shadow: 0 30px 60px -40px rgba(0, 0, 0, .9); }
.mock-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.mock-top b { font: 500 15px/1.3 var(--font-display); color: var(--on-dark); }
.mock small { color: var(--on-dark-mute); font-size: 13px; }
.pill { flex: none; font: 600 12px/1 var(--font-body); padding: 7px 11px; border-radius: 99px; border: 1px solid rgba(213, 166, 75, .45); color: var(--gold-lum); }
.phases { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.ph { display: grid; gap: 8px; font-size: 13px; color: var(--on-dark-mute); }
.ph i { display: block; height: 4px; border-radius: 4px; background: rgba(244, 239, 229, .12); overflow: hidden; position: relative; }
.ph i::after { content: ""; position: absolute; inset: 0; width: var(--p, 0%); background: var(--gold-lum); border-radius: 4px; }
.ph.ok { color: var(--on-dark); }
.tasks { list-style: none; display: grid; border-top: 1px solid var(--line-d); }
.tasks li { display: grid; grid-template-columns: 18px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding-block: 11px; border-bottom: 1px solid var(--line-d); font-size: 14px; color: var(--on-dark); }
.tasks li svg { width: 18px; height: 18px; color: var(--gold-lum); }
.tasks li.todo svg { color: rgba(244, 239, 229, .35); }
.tasks li em { font-style: normal; font-size: 12.5px; color: var(--on-dark-mute); white-space: nowrap; }
.flow { display: flex; align-items: center; gap: 0; flex-wrap: wrap; row-gap: 10px; }
.node { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 10px; background: var(--black); border: 1px solid var(--line-d); font-size: 13px; color: var(--on-dark); white-space: nowrap; }
.node svg { width: 16px; height: 16px; color: var(--gold-lum); }
.link-line { width: clamp(10px, 2vw, 22px); height: 1px; background: var(--gold); flex: none; }
.mock-cap { margin-top: 12px; font-size: 13px; color: var(--on-dark-mute); text-align: right; }

/* Propuesta de valor */
.value { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.trio { list-style: none; display: grid; gap: 0; border-top: 1px solid var(--line-l); }
.trio li { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 18px; padding-block: 24px; border-bottom: 1px solid var(--line-l); }
.trio svg, .ico { width: 44px; height: 44px; color: var(--gold); stroke-width: 1.3; }
.trio h3 { margin-bottom: 6px; }

/* Áreas en portada: composición editorial */
.areas { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 18px; }
.area { position: relative; border-radius: 20px; padding: clamp(26px, 3.4vw, 44px); display: grid; gap: 18px; align-content: start; }
.area .tag { font: 600 13px/1.3 var(--font-body); color: var(--gold-text); display: flex; gap: 10px; flex-wrap: wrap; }
.area .tag span { color: var(--ink-mute); font-weight: 500; }
.area h3 { font-size: clamp(1.5rem, 2.4vw, 1.95rem); font-weight: 300; letter-spacing: -.025em; }
.area .ben { list-style: none; display: grid; gap: 10px; font-size: 15.5px; }
.area .ben li { display: grid; grid-template-columns: 16px minmax(0, 1fr); gap: 10px; }
.area .ben li::before { content: ""; width: 7px; height: 7px; margin-top: .62em; border-radius: 50%; border: 1px solid var(--gold); }
.area .more { margin-top: auto; }
.a1, .a2 { grid-column: span 6; padding: clamp(30px, 4vw, 52px); }
.a1 { background: var(--black); color: var(--on-dark); }
.a2 { background: var(--char); color: var(--on-dark); }
.a1 h3, .a2 h3 { font-size: clamp(1.7rem, 2.8vw, 2.3rem); }
.a1 .tag, .a2 .tag { color: var(--gold-lum); } .a1 .tag span, .a2 .tag span { color: var(--on-dark-mute); }
.a1 .ico, .a2 .ico { color: var(--gold-lum); width: 52px; height: 52px; }
.a1 .ben li::before, .a2 .ben li::before { border-color: var(--gold-lum); }
.a1 .more, .a2 .more { color: var(--gold-lum); }
.a1 p.muted, .a2 p.muted { color: var(--on-dark-mute); font-size: 1.05rem; }
.a3, .a4 { grid-column: span 6; background: var(--white); border: 1px solid var(--line-l); grid-template-columns: auto minmax(0, 1fr); column-gap: 22px; padding: 26px 28px; }
.a3 .ico, .a4 .ico { width: 36px; height: 36px; }
.a3 h3, .a4 h3 { font-size: 1.3rem; margin-bottom: 6px; }
.a3 p.muted, .a4 p.muted { font-size: 15.5px; }
.a3 .more, .a4 .more { grid-column: 2; margin-top: 0; }

/* Planes de redes sociales */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.plan { display: grid; gap: 16px; align-content: start; padding: clamp(22px, 3vw, 32px); border-radius: 18px; border: 1px solid var(--line-l); background: var(--white); }
.ivory .plan { background: var(--white); }
.plan h3 { font-size: 1.15rem; font-weight: 500; }
.price { display: flex; align-items: baseline; gap: 6px; font-family: var(--font-display); white-space: nowrap; }
.price b { font-size: clamp(2.2rem, 4vw, 3rem); font-weight: 300; letter-spacing: -.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.price span, .price small { font: 500 15px var(--font-body); color: var(--ink-mute); }
.price.small b { font-size: 1.7rem; }
.plan .btn { justify-self: start; min-height: 44px; padding: 10px 20px; font-size: 14px; }
.plan-extra { margin-top: 18px; display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 10px 28px; padding: 20px 4px; border-top: 1px solid var(--line-l); border-bottom: 1px solid var(--line-l); }
.plan-extra > span { font: 400 1.1rem/1.3 var(--font-display); }

/* Método */
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 clamp(18px, 3vw, 36px); counter-reset: s; position: relative; }
.steps::before { content: ""; position: absolute; left: 0; right: 0; top: 22px; height: 1px; background: linear-gradient(90deg, var(--gold-lum), rgba(213, 166, 75, .25)); }
.steps li { position: relative; display: grid; gap: 10px; padding-top: 70px; counter-increment: s; }
.steps li::before { content: counter(s); position: absolute; top: 0; left: 0; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--black); border: 1px solid var(--gold-lum); color: var(--gold-lum); font: 500 16px/1 var(--font-display); }
.ivory .steps li::before, .white .steps li::before { background: var(--ivory); border-color: var(--gold); color: var(--gold-text); }
.ivory .steps::before, .white .steps::before { background: linear-gradient(90deg, var(--gold), rgba(166, 109, 32, .2)); }
.steps h3 { font-size: 1.05rem; font-weight: 600; letter-spacing: .08em; font-family: var(--font-body); }
.steps p { font-size: 15.5px; }

/* Diferencia */
.diff { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.chain { list-style: none; display: grid; gap: 0; }
.chain li { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 16px; padding-block: 14px; position: relative; font-size: 16.5px; }
.chain li::before { content: ""; width: 11px; height: 11px; border-radius: 50%; border: 1px solid var(--gold-lum); margin: .5em 0 0 11px; background: var(--black); position: relative; z-index: 1; }
.chain li::after { content: ""; position: absolute; left: 16px; top: 0; bottom: 0; width: 1px; background: var(--line-d); }
.chain li:first-child::after { top: 50%; } .chain li:last-child::after { bottom: 50%; }

/* Para quién */
.who { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.who-list { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line-l); }
.who-list li { padding: 18px 12px 18px 0; border-bottom: 1px solid var(--line-l); font: 400 1.12rem/1.35 var(--font-display); }

/* Proyectos */
.projects { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.proj { display: grid; grid-template-rows: auto 1fr; border-radius: 18px; overflow: hidden; background: var(--white); border: 1px solid var(--line-l); }
.ivory .proj { background: var(--white); }
.proj .vis { aspect-ratio: 16 / 10; background: var(--black); position: relative; display: grid; place-items: center; padding: 18px; overflow: hidden; }
.proj .vis img { width: auto; max-width: 78%; max-height: 80%; height: auto; }
.proj .body { padding: 22px 22px 26px; display: grid; gap: 10px; align-content: start; }
.proj .type { font: 600 13px/1.3 var(--font-body); color: var(--gold-text); }
.proj .status { display: inline-block; justify-self: start; font: 600 12px/1 var(--font-body); padding: 6px 10px; border-radius: 99px; border: 1px solid var(--line-l); color: var(--ink-mute); }
.proj .status.demo { border-color: rgba(166, 109, 32, .45); color: var(--gold-text); }
.proj .facts { font-size: 14.5px; color: var(--ink-mute); }
.proj ul.did { list-style: none; display: grid; gap: 6px; font-size: 15px; }
.proj ul.did li { display: grid; grid-template-columns: 14px minmax(0, 1fr); gap: 8px; }
.proj ul.did li::before { content: "·"; color: var(--gold); font-weight: 700; }
.proj.wide { grid-column: span 3; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: auto; }
.proj.wide .vis { aspect-ratio: auto; min-height: 280px; }
/* mini interfaces de los proyectos */
.mini { width: 100%; max-width: 360px; background: var(--char); border: 1px solid var(--line-d); border-radius: 12px; padding: 14px; display: grid; gap: 8px; color: var(--on-dark); font-size: 13px; }
.mini .row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 7px 0; border-bottom: 1px solid var(--line-d); }
.mini .row:last-child { border-bottom: 0; }
.mini .row span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mini .st { font-size: 11.5px; padding: 4px 8px; border-radius: 99px; border: 1px solid rgba(213, 166, 75, .4); color: var(--gold-lum); white-space: nowrap; }
.mini .st.ok { border-color: rgba(244, 239, 229, .25); color: var(--on-dark-mute); }
.mini .hd { font: 500 13px/1.3 var(--font-display); color: var(--on-dark-mute); }
.cal { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 5px; }
.cal i { height: 22px; border-radius: 5px; background: rgba(244, 239, 229, .07); }
.cal i.b { background: rgba(213, 166, 75, .55); }
.cal i.c { background: rgba(213, 166, 75, .25); }
.vis .flow { justify-content: center; }

/* Páginas de servicio */
.page-hero { padding-block: clamp(56px, 8vw, 104px) clamp(56px, 7vw, 88px); }
.page-hero .grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(32px, 6vw, 80px); align-items: end; }
.crumbs { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 10px; font-size: 14px; color: var(--on-dark-mute); margin-bottom: 28px; }
.crumbs li + li::before { content: "/"; margin-right: 10px; opacity: .5; }
.crumbs a { text-decoration: none; } .crumbs a:hover { color: var(--gold-lum); }
.page-hero h1 { margin-bottom: 22px; }
.en { display: block; font: 600 12.5px/1.4 var(--font-body); letter-spacing: .18em; color: var(--gold-soft); margin-bottom: 18px; }
.hero-ico { justify-self: end; width: clamp(120px, 16vw, 200px); height: auto; color: var(--gold-lum); stroke-width: .8; opacity: .9; }
.two { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.signs { list-style: none; display: grid; border-top: 1px solid var(--line-l); }
.dark .signs, .char .signs { border-color: var(--line-d); }
.signs li { padding: 16px 0 16px 30px; border-bottom: 1px solid var(--line-l); position: relative; }
.dark .signs li, .char .signs li { border-color: var(--line-d); }
.signs li::before { content: ""; position: absolute; left: 4px; top: 1.45em; width: 12px; height: 1px; background: var(--gold); }
.includes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(24px, 4vw, 56px); border-top: 1px solid var(--line-l); }
.includes > div { padding-block: 22px; border-bottom: 1px solid var(--line-l); display: grid; gap: 6px; }
.includes p { color: var(--ink-mute); font-size: 15.5px; }
.benefits { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.benefits li { padding: 24px; border-radius: 16px; border: 1px solid var(--line-d); display: grid; gap: 8px; align-content: start; }
.benefits li p { color: var(--on-dark-mute); font-size: 15.5px; }
.benefits li h3 { font-size: 1.1rem; }
.flowsteps { list-style: none; display: grid; gap: 0; counter-reset: f; border-top: 1px solid var(--line-l); }
.flowsteps li { counter-increment: f; display: grid; grid-template-columns: 60px minmax(0, .5fr) minmax(0, 1fr); gap: 8px 24px; padding-block: 22px; border-bottom: 1px solid var(--line-l); align-items: baseline; }
.flowsteps li::before { content: counter(f); font: 300 1.6rem/1 var(--font-display); color: var(--gold-text); }
.flowsteps p { color: var(--ink-mute); }
.solgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.sol { border-radius: 18px; padding: clamp(24px, 3vw, 36px); display: grid; gap: 14px; align-content: start; background: var(--white); border: 1px solid var(--line-l); }
.sol.alt { background: var(--char); color: var(--on-dark); border-color: transparent; }
.sol.alt .muted { color: var(--on-dark-mute); }
.sol ul { list-style: none; display: grid; gap: 10px; }
.sol li { display: grid; grid-template-columns: 16px minmax(0, 1fr); gap: 10px; font-size: 15.5px; }
.sol li::before { content: ""; width: 7px; height: 7px; margin-top: .6em; border-radius: 50%; border: 1px solid var(--gold); }
.sol.alt li::before { border-color: var(--gold-lum); }
.note-box { margin-top: 22px; padding: 18px 22px; border-left: 2px solid var(--gold); background: var(--ivory); font-size: 15.5px; color: var(--ink-mute); border-radius: 0 12px 12px 0; }
.related { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.related a { display: grid; gap: 8px; padding: 22px; border-radius: 16px; border: 1px solid var(--line-l); text-decoration: none; transition: border-color .25s; }
.related a:hover { border-color: var(--gold); }
.related small { color: var(--gold-text); font-weight: 600; font-size: 13px; }
.related b { font: 400 1.15rem/1.25 var(--font-display); }
.models { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 clamp(24px, 4vw, 48px); border-top: 1px solid var(--line-d); }
.models > div { padding-block: 22px; border-bottom: 1px solid var(--line-d); display: grid; gap: 6px; }
.models p { color: var(--on-dark-mute); font-size: 15.5px; }
.phase-detail { display: grid; gap: 0; border-top: 1px solid var(--line-l); }
.phase-detail article { display: grid; grid-template-columns: 70px minmax(0, 1fr) minmax(0, 1fr); gap: 12px clamp(24px, 4vw, 56px); padding-block: 32px; border-bottom: 1px solid var(--line-l); }
.phase-detail .n { font: 300 2.4rem/1 var(--font-display); color: var(--gold-text); }
.phase-detail h3 { margin-bottom: 8px; }
.phase-detail h4 { margin-bottom: 8px; color: var(--gold-text); font-size: 14px; }
.phase-detail ul { list-style: none; display: grid; gap: 6px; font-size: 15.5px; color: var(--ink-mute); }

/* Llamada a la acción */
.cta { display: grid; grid-template-columns: minmax(0, 1.2fr) auto; gap: 28px 48px; align-items: end; }
.cta h2 { margin-bottom: 16px; }

/* Formulario */
.contact { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.form { display: grid; gap: 20px; background: var(--white); border: 1px solid var(--line-l); border-radius: 20px; padding: clamp(22px, 3.4vw, 40px); }
.row2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.field { display: grid; gap: 8px; }
.field label { font: 600 14px/1.3 var(--font-body); color: var(--ink); }
.field label small { font-weight: 500; color: var(--ink-mute); }
.field input, .field select, .field textarea { width: 100%; font: 400 16px/1.5 var(--font-body); color: var(--ink); background: var(--white); border: 1px solid rgba(30, 25, 19, .28); border-radius: 10px; padding: 12px 14px; min-height: 48px; transition: border-color .2s, box-shadow .2s; }
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(166, 109, 32, .18); }
.field [aria-invalid="true"] { border-color: #a3341f; }
.err { color: #a3341f; font-size: 14px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.consent { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 12px; align-items: start; font-size: 14.5px; color: var(--ink-mute); cursor: pointer; }
.consent input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--gold); }
.consent a { color: var(--gold-text); }
.form-msg { padding: 16px 18px; border-radius: 12px; font-size: 15px; }
.form-msg.bad { background: #f8e6e1; color: #7a2615; }
.form-msg.info { background: var(--ivory); color: var(--ink); border-left: 2px solid var(--gold); }
.done { display: grid; gap: 14px; justify-items: start; padding: clamp(24px, 3vw, 36px); border-radius: 20px; background: var(--black); color: var(--on-dark); }
.done h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
.done p { color: var(--on-dark-mute); }
.contact-aside { display: grid; gap: 24px; }
.contact-aside .points { list-style: none; display: grid; border-top: 1px solid var(--line-l); }
.contact-aside .points li { padding-block: 14px; border-bottom: 1px solid var(--line-l); font-size: 15.5px; }

/* Páginas legales */
.legal h2 { font-size: 1.5rem; font-weight: 400; margin-top: 18px; }
.pending { background: rgba(213, 166, 75, .28); color: inherit; padding: 1px 4px; border-radius: 3px; }

/* Pie */
.site-foot { background: var(--black); color: var(--on-dark); padding: clamp(56px, 7vw, 88px) var(--gutter) 32px; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) repeat(3, minmax(0, 1fr)); gap: 36px; }
.foot-brand { display: grid; gap: 14px; justify-items: start; align-content: start; }
.foot-brand img { width: 140px; height: auto; }
.site-foot h2 { font: 600 14px/1.3 var(--font-body); letter-spacing: 0; color: var(--gold-lum); margin-bottom: 14px; }
.site-foot ul { list-style: none; display: grid; gap: 8px; font-size: 15px; }
.site-foot a { text-decoration: none; color: var(--on-dark-mute); transition: color .2s; }
.site-foot a:hover { color: var(--on-dark); }
.legal-row { margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--line-d); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; font-size: 14px; color: var(--on-dark-mute); }
.legal-row ul { display: flex; flex-wrap: wrap; gap: 8px 22px; }

/* Adaptación */
@media (max-width: 1020px) {
  .nav { gap: 22px; }
  .foot-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .foot-brand { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  .menu-btn { display: grid; }
  .nav { position: absolute; top: 100%; left: 0; right: 0; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--gutter) 24px; background: var(--black); border-bottom: 1px solid var(--line-d); }
  .nav.open { display: flex; }
  .nav .lnk { padding: 16px 0; font-size: 18px; color: var(--on-dark); border-bottom: 1px solid var(--line-d); }
  .nav .lnk[aria-current="page"]::after { display: none; }
  .nav .lnk[aria-current="page"] { color: var(--gold-lum); }
  .nav .btn { margin-top: 20px; min-height: 50px; }
  .hero .grid, .value, .diff, .who, .two, .contact, .page-hero .grid, .split-head, .cta { grid-template-columns: 1fr; }
  .hero-ico { justify-self: start; width: 96px; order: -1; }
  .stage { order: -1; }
  .sym { width: min(56vw, 260px); }
  .word { width: min(50vw, 220px); }
  .a1, .a2, .a3, .a4 { grid-column: span 12; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 24px; }
  .steps::before { display: none; }
  .projects { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .plans { grid-template-columns: 1fr; }
  .proj.wide { grid-column: span 2; }
  .benefits, .related, .models { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .phase-detail article { grid-template-columns: 56px minmax(0, 1fr); }
  .phase-detail article > div:last-child { grid-column: 2; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .site-head .bar { height: 66px; }
  .brand .flor { width: 38px; } .brand .nombre { width: 100px; }
  .actions .btn { width: 100%; }
  .phases { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 14px; }
  .a3, .a4 { grid-template-columns: 1fr; }
  .a3 .more, .a4 .more { grid-column: auto; }
  .steps, .who-list, .projects, .includes, .benefits, .related, .models, .solgrid, .row2 { grid-template-columns: 1fr; }
  .proj.wide { grid-column: auto; grid-template-columns: 1fr; }
  .proj.wide .vis { min-height: 220px; }
  .flowsteps li { grid-template-columns: 44px minmax(0, 1fr); }
  .flowsteps li p { grid-column: 2; }
  .phase-detail article { grid-template-columns: 1fr; }
  .phase-detail article > div:last-child { grid-column: auto; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .mock-cap { text-align: left; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .wire .w-hex, .wire .w-flower, .wire .glint { display: none; }
  .wire .orbit path { stroke-dashoffset: 0; }
}
