/* =====================================================================
   Observatorio Ofiuco — sistema de diseño
   Negro profundo, dorado y violeta. Títulos en Cormorant, texto en Inter,
   rótulos técnicos en Space Mono. Lo usan todas las páginas del sitio.
   ===================================================================== */

/* ---------- fuentes locales ---------- */
@font-face { font-family: "Cormorant"; font-weight: 300; font-style: normal; font-display: swap; src: url(../vendor/fonts/cormorant-garamond-latin-300-normal.woff2) format("woff2"); }
@font-face { font-family: "Cormorant"; font-weight: 300; font-style: italic; font-display: swap; src: url(../vendor/fonts/cormorant-garamond-latin-300-italic.woff2) format("woff2"); }
@font-face { font-family: "Cormorant"; font-weight: 400; font-style: normal; font-display: swap; src: url(../vendor/fonts/cormorant-garamond-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "Cormorant"; font-weight: 400; font-style: italic; font-display: swap; src: url(../vendor/fonts/cormorant-garamond-latin-400-italic.woff2) format("woff2"); }
@font-face { font-family: "Cormorant"; font-weight: 500; font-style: normal; font-display: swap; src: url(../vendor/fonts/cormorant-garamond-latin-500-normal.woff2) format("woff2"); }
@font-face { font-family: "Cormorant"; font-weight: 500; font-style: italic; font-display: swap; src: url(../vendor/fonts/cormorant-garamond-latin-500-italic.woff2) format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 100 900; font-style: normal; font-display: swap; src: url(../vendor/fonts/inter-latin-wght-normal.woff2) format("woff2"); }
@font-face { font-family: "Space Mono"; font-weight: 400; font-display: swap; src: url(../vendor/fonts/space-mono-latin-400-normal.woff2) format("woff2"); }

:root {
  --void: #04050b;
  --ink: #0a0c18;
  --ink-2: #11142a;
  --ink-3: #181c36;
  --line: rgba(232, 226, 214, .12);
  --line-2: rgba(232, 226, 214, .22);
  --star: #f1ece2;
  --muted: #9d9bb0;
  --dim: #6b6a80;
  --gold: #d8b77a;
  --gold-2: #f0d9a8;
  --violet: #9384ff;
  --rose: #e27a95;
  --sky: #8fb7ff;
  --ok: #7fd6a4;
  --warn: #f0c27a;
  --bad: #f08a8a;
  --serif: "Cormorant", "Cormorant Garamond", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Space Mono", ui-monospace, Consolas, monospace;
  --gutter: clamp(16px, 4vw, 56px);
  --max: 1240px;
  --radius: 6px;
  --ease: cubic-bezier(.2, .7, .1, 1);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { background: var(--void); -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  background: var(--void); color: var(--star); font-family: var(--sans); font-size: 16px; line-height: 1.6;
  overflow-x: hidden; overflow-x: clip; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, video, iframe { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
::selection { background: var(--gold); color: var(--void); }
:focus-visible { outline: 1px solid var(--gold); outline-offset: 3px; }
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: var(--void); }
::-webkit-scrollbar-thumb { background: var(--ink-3); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #2a2f52; }

/* ---------- fondo: canvas 3D + grano ---------- */
#cosmos { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; display: block; pointer-events: none; }
.grain {
  position: fixed; inset: -50%; z-index: 1; pointer-events: none; opacity: .07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1.2s steps(6) infinite;
}
@keyframes grain { 0%{transform:translate(0,0)} 20%{transform:translate(-3%,2%)} 40%{transform:translate(2%,-3%)} 60%{transform:translate(-2%,-1%)} 80%{transform:translate(3%,3%)} 100%{transform:translate(0,0)} }
main, header, footer, .page { position: relative; z-index: 2; }

/* ---------- utilidades ---------- */
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.wrap.narrow { max-width: 920px; }
.mono { font-family: var(--mono); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.eyebrow { display: inline-flex; align-items: center; gap: 12px; }
.eyebrow::before { content: ""; width: 28px; height: 1px; background: var(--gold); flex: none; }
.serif { font-family: var(--serif); font-weight: 300; letter-spacing: -.01em; line-height: 1.02; }
.serif em, h1 em, h2 em, h3 em { font-style: italic; color: var(--gold-2); font-weight: 300; }
.h-xl { font-size: clamp(46px, 8.6vw, 132px); }
.h-lg { font-size: clamp(40px, 6.2vw, 92px); }
.h-md { font-size: clamp(32px, 4.4vw, 60px); }
.h-sm { font-size: clamp(26px, 2.8vw, 38px); }
.lead { font-size: clamp(16px, 1.35vw, 19px); color: var(--muted); max-width: 56ch; line-height: 1.7; }
.muted { color: var(--muted); }
.dim { color: var(--dim); }
.gold { color: var(--gold-2); }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }
.hidden { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.gold-text {
  background: linear-gradient(100deg, var(--gold) 0%, var(--gold-2) 40%, #fff6e0 50%, var(--gold-2) 60%, var(--gold) 100%);
  background-size: 250% 100%; -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: sheen 7s linear infinite;
}
@keyframes sheen { from { background-position: 100% 0; } to { background-position: -150% 0; } }
.stack > * + * { margin-top: 18px; }
.row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.grid { display: grid; gap: clamp(14px, 1.6vw, 22px); }
.g-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.cols-2-1 { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); }
.cols-1-14 { grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: clamp(24px, 4vw, 56px); }
.cols-1-a { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 20px; align-items: center; }
.split2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.icon { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* ---------- botones ---------- */
.btn {
  --b: var(--line-2);
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 12px; padding: 16px 26px; border-radius: 999px;
  font-family: var(--mono); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; line-height: 1.2;
  border: 1px solid var(--b); color: var(--star); overflow: hidden; isolation: isolate; cursor: pointer;
  transition: border-color .4s var(--ease), color .4s var(--ease), transform .4s var(--ease);
}
.btn::after { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--star); transform: translateY(101%); transition: transform .5s var(--ease); border-radius: inherit; }
.btn:hover { color: var(--void); border-color: var(--star); }
.btn:hover::after { transform: translateY(0); }
.btn .arrow { transition: transform .4s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
.btn.gold { --b: transparent; background: linear-gradient(135deg, var(--gold), #b98f4e); color: #1a1206; }
.btn.gold::after { background: var(--gold-2); }
.btn.gold:hover { color: #1a1206; }
.btn.small { padding: 11px 18px; font-size: 11px; }
.btn.block { width: 100%; }
.link { font-family: var(--mono); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-2); display: inline-flex; gap: 10px; align-items: center; }
.link span { transition: transform .5s var(--ease); }
.link:hover span { transform: translateX(6px); }

/* chips / filtros */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted);
  padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line); transition: all .35s var(--ease); white-space: nowrap;
}
.chip:hover { color: var(--star); border-color: var(--line-2); }
.chip.active, .chip[aria-pressed="true"], .chip[aria-selected="true"] { color: var(--void); background: var(--gold-2); border-color: var(--gold-2); }
.tag { display: inline-block; font-family: var(--mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; padding: 4px 9px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--muted); }
.tag.gold { color: var(--gold-2); border-color: rgba(240, 217, 168, .4); }
.tag.rose { color: var(--rose); border-color: rgba(226, 122, 149, .4); }
.tag.ok { color: var(--ok); border-color: rgba(127, 214, 164, .4); }

/* ---------- cabecera ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50; transition: background .5s var(--ease), border-color .5s var(--ease), transform .5s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.scrolled { background: rgba(4, 5, 11, .66); backdrop-filter: blur(18px) saturate(140%); -webkit-backdrop-filter: blur(18px) saturate(140%); border-color: var(--line); }
.nav.hide { transform: translateY(-100%); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 20px; }
.brand { display: flex; align-items: center; gap: 12px; flex: none; }
.brand img { width: 38px; height: 38px; object-fit: contain; filter: drop-shadow(0 0 12px rgba(240, 217, 168, .25)); }
.brand span { font-family: var(--mono); font-size: 12px; letter-spacing: .32em; white-space: nowrap; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links > a:not(.btn), .nav-drop > button { font-size: 13px; color: var(--muted); letter-spacing: .04em; position: relative; transition: color .3s; display: inline-flex; align-items: center; gap: 6px; padding: 6px 0; }
.nav-links > a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease); }
.nav-links > a:not(.btn):hover, .nav-drop:hover > button, .nav-links > a[aria-current="page"] { color: var(--star); }
.nav-links > a:not(.btn):hover::after, .nav-links > a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.nav-links .btn { padding: 11px 20px; }
.nav-drop { position: relative; }
.nav-drop > button svg { width: 12px; height: 12px; transition: transform .3s; }
.nav-drop:hover > button svg, .nav-drop:focus-within > button svg { transform: rotate(180deg); }
.nav-drop .menu {
  position: absolute; top: calc(100% + 14px); left: 50%; min-width: 260px; padding: 10px; border-radius: 10px;
  background: rgba(10, 12, 24, .94); border: 1px solid var(--line); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 30px 60px -20px rgba(0,0,0,.8); opacity: 0; visibility: hidden; transform: translate(-50%, 6px); transition: all .3s var(--ease);
}
.nav-drop .menu::before { content: ""; position: absolute; left: 0; right: 0; top: -16px; height: 16px; }
.nav-drop:hover .menu, .nav-drop:focus-within .menu { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.nav-drop .menu a { display: flex; justify-content: space-between; gap: 16px; padding: 10px 12px; border-radius: 6px; font-size: 14px; color: var(--star); transition: background .25s; }
.nav-drop .menu a small { font-family: var(--mono); font-size: 10px; color: var(--dim); letter-spacing: .12em; }
.nav-drop .menu a:hover { background: rgba(255,255,255,.06); }
.burger { display: none; width: 44px; height: 44px; border: 1px solid var(--line-2); border-radius: 50%; position: relative; flex: none; }
.burger i { position: absolute; left: 13px; right: 13px; height: 1px; background: currentColor; transition: transform .4s var(--ease), top .4s var(--ease); }
.burger i:nth-child(1) { top: 18px; } .burger i:nth-child(2) { top: 25px; }
.menu-open .burger i:nth-child(1) { top: 21px; transform: rotate(45deg); }
.menu-open .burger i:nth-child(2) { top: 21px; transform: rotate(-45deg); }
.sheet {
  position: fixed; inset: 0; z-index: 45; background: rgba(4, 5, 11, .97); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  display: flex; flex-direction: column; justify-content: center; padding: 96px var(--gutter) 40px; gap: 2px; overflow-y: auto;
  clip-path: circle(0% at calc(100% - 40px) 38px); transition: clip-path .8s var(--ease); pointer-events: none;
}
.menu-open .sheet { clip-path: circle(150% at calc(100% - 40px) 38px); pointer-events: auto; }
.sheet a { font-family: var(--serif); font-weight: 300; font-size: clamp(30px, 8vw, 54px); line-height: 1.2; }
.sheet a small { font-family: var(--mono); font-size: 11px; color: var(--gold); letter-spacing: .2em; margin-right: 14px; vertical-align: middle; }
.sheet .sub { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 4px 0 10px 40px; }
.sheet .sub a { font-family: var(--sans); font-size: 15px; color: var(--muted); }

/* ---------- hero (inicio) ---------- */
.hero { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; padding: 120px 0 clamp(32px, 6vh, 64px); position: relative; }
.hero::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, rgba(4,5,11,.72) 0%, rgba(4,5,11,.35) 45%, transparent 70%), linear-gradient(0deg, rgba(4,5,11,.6), transparent 40%); }
.hero .wrap { position: relative; }
.hero-title { margin: 22px 0 28px; }
.hero-title .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero-title .line > span { display: inline-block; }
.hero-bottom { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px; align-items: end; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.coords { text-align: right; display: grid; gap: 6px; }
.coords b { font-weight: 400; color: var(--star); }
.scroll-cue { display: flex; align-items: center; gap: 12px; margin-top: 44px; }
.scroll-cue .bar { width: 1px; height: 46px; background: var(--line-2); position: relative; overflow: hidden; }
.scroll-cue .bar::after { content: ""; position: absolute; left: 0; width: 1px; height: 40%; background: var(--gold); animation: drip 2.2s var(--ease) infinite; }
@keyframes drip { from { top: -40%; } to { top: 100%; } }

/* encabezado de páginas internas */
.page-hero { padding: clamp(140px, 20vh, 200px) 0 clamp(56px, 8vw, 96px); position: relative; }
.page-hero::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, transparent 0%, rgba(4,5,11,.55) 100%); }
.page-hero .wrap { position: relative; }
.page-hero h1 { margin: 22px 0 24px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.crumbs a { color: var(--muted); transition: color .3s; }
.crumbs a:hover { color: var(--gold-2); }
.page-hero .cover { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.page-hero .cover img { width: 100%; height: 100%; object-fit: cover; opacity: .32; mask-image: linear-gradient(180deg, #000 30%, transparent); -webkit-mask-image: linear-gradient(180deg, #000 30%, transparent); }

/* constelación de Ofiuco con la Serpiente */
.constellation { position: absolute; right: calc(var(--gutter) - 20px); top: -26vh; width: min(36vw, 470px); aspect-ratio: 1 / 1; pointer-events: none; animation: drift 14s ease-in-out infinite alternate; }
@keyframes drift { from { transform: translate(0, 0) rotate(-1.2deg); } to { transform: translate(-8px, 10px) rotate(1.2deg); } }
.constellation svg { width: 100%; height: 100%; overflow: visible; }
.constellation .oph line { stroke: var(--gold); stroke-width: 1; stroke-opacity: .6; stroke-linecap: round; }
.constellation .serp path { fill: none; stroke-linecap: round; }
.constellation .serp .body { stroke: var(--rose); stroke-width: 1; stroke-opacity: .45; stroke-dasharray: 2 5; }
.constellation .serp .pulse { stroke: #ffc2d2; stroke-width: 2.2; }
.constellation circle.st { fill: var(--star); }
.constellation circle.halo { fill: url(#halo); }
.constellation .star { animation: twk var(--tw) ease-in-out var(--dl) infinite alternate; }
@keyframes twk { from { filter: brightness(.65); } to { filter: brightness(1.35); } }
.constellation text { font-family: var(--mono); font-size: 9px; letter-spacing: .14em; fill: var(--muted); text-transform: uppercase; }
.constellation text.name { font-size: 11px; letter-spacing: .5em; fill: rgba(240, 217, 168, .55); }
.constellation text.name.rose { fill: rgba(226, 122, 149, .55); font-size: 9px; }

/* ---------- cifras ---------- */
.stats { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: linear-gradient(180deg, rgba(4,5,11,.2), rgba(4,5,11,.75)); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.stats .wrap { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.stat { padding: 38px 0 34px; border-left: 1px solid var(--line); padding-left: clamp(14px, 2vw, 30px); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat .num { font-family: var(--serif); font-weight: 300; font-size: clamp(40px, 5.2vw, 76px); line-height: 1; }
.stat .num sup { font-size: .45em; color: var(--gold); vertical-align: super; margin-left: 2px; }
.stat .mono { margin-top: 12px; display: block; }

/* ---------- secciones ---------- */
section { position: relative; overflow-x: clip; }
.pad { padding: clamp(96px, 13vw, 170px) 0; }
.pad-s { padding: clamp(64px, 8vw, 110px) 0; }
.solid { background: linear-gradient(180deg, rgba(4,5,11,0) 0%, rgba(4,5,11,.86) 12%, rgba(4,5,11,.92) 88%, rgba(4,5,11,0) 100%); }
.sec-head { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 80px); align-items: end; margin-bottom: clamp(44px, 6vw, 84px); }
.sec-head .serif { margin-top: 20px; }
.sec-head.center { display: block; text-align: center; }
.sec-head.center .lead { margin: 22px auto 0; }
.sec-head .chips { margin-top: 28px; }
.sub-head { display: flex; align-items: baseline; justify-content: space-between; gap: 18px; margin: clamp(48px, 6vw, 80px) 0 22px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.sub-head h3 { font-family: var(--serif); font-weight: 300; font-size: clamp(26px, 2.6vw, 36px); }

/* tarjeta genérica */
.panel { position: relative; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(10, 12, 24, .62); padding: clamp(22px, 2.4vw, 34px); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); transition: border-color .5s var(--ease), transform .5s var(--ease); }
a.panel:hover, .panel.hover:hover { border-color: rgba(240, 217, 168, .4); }
.panel h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(24px, 2.2vw, 32px); line-height: 1.1; margin-bottom: 10px; }
.panel h4 { font-weight: 500; font-size: 16px; margin-bottom: 4px; }
.panel p { color: var(--muted); font-size: 15px; }
.panel .top { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 22px; }
.panel .go { margin-top: 20px; }
.ico { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-2); color: var(--gold-2); background: radial-gradient(circle at 30% 30%, rgba(240,217,168,.14), transparent 70%); flex: none; }
.ico .icon { width: 20px; height: 20px; }

/* lista con viñeta dorada */
.ticks { list-style: none; display: grid; gap: 10px; margin: 18px 0 0; }
.ticks li { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 10px; font-size: 15px; color: var(--muted); }
.ticks li::before { content: ""; width: 6px; height: 6px; margin: 9px 0 0 4px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 10px var(--gold); }
.ticks li strong { color: var(--star); font-weight: 500; }

/* tabla de datos */
.facts { border-top: 1px solid var(--line); }
.facts div { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.facts dt { color: var(--muted); }
.facts dd { font-family: var(--mono); font-size: 13px; text-align: right; }

/* imagen con retícula de visor */
.plate { position: relative; border-radius: 4px; overflow: hidden; aspect-ratio: 1 / 1; background: var(--ink); }
.plate img { width: 100%; height: 118%; object-fit: cover; will-change: transform; }
.plate.fit img { height: 100%; }
.plate::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 0 1px var(--line-2), inset 0 0 120px 20px rgba(4,5,11,.55); pointer-events: none; }
.plate figcaption { position: absolute; left: 18px; bottom: 16px; right: 18px; display: flex; justify-content: space-between; z-index: 2; gap: 10px; }
.reticle { position: absolute; inset: 22px; z-index: 2; pointer-events: none; }
.reticle i { position: absolute; width: 16px; height: 16px; border-color: rgba(240,217,168,.7); border-style: solid; }
.reticle i:nth-child(1) { top: 0; left: 0; border-width: 1px 0 0 1px; }
.reticle i:nth-child(2) { top: 0; right: 0; border-width: 1px 1px 0 0; }
.reticle i:nth-child(3) { bottom: 0; left: 0; border-width: 0 0 1px 1px; }
.reticle i:nth-child(4) { bottom: 0; right: 0; border-width: 0 1px 1px 0; }

/* tarjetas con foto (experiencias) */
.exp { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(14px, 1.6vw, 22px); }
.card {
  position: relative; border-radius: var(--radius); overflow: hidden; min-height: 460px; display: flex; flex-direction: column; justify-content: flex-end;
  padding: clamp(22px, 2.4vw, 34px); background: var(--ink); border: 1px solid var(--line); isolation: isolate; transition: border-color .6s var(--ease);
}
.exp .card:nth-child(4n+1) { grid-column: span 7; } .exp .card:nth-child(4n+2) { grid-column: span 5; }
.exp .card:nth-child(4n+3) { grid-column: span 5; } .exp .card:nth-child(4n+4) { grid-column: span 7; }
.card .bg { position: absolute; inset: 0; z-index: -2; }
.card .bg img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 1.4s var(--ease), filter 1.4s var(--ease); filter: saturate(.9) brightness(.8); }
.card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(4,5,11,0) 25%, rgba(4,5,11,.55) 60%, rgba(4,5,11,.95) 100%); }
.card:hover { border-color: rgba(240,217,168,.45); }
.card:hover .bg img { transform: scale(1.0); filter: saturate(1.1) brightness(.95); }
.card .idx { position: absolute; top: clamp(22px, 2.4vw, 34px); left: clamp(22px, 2.4vw, 34px); right: clamp(22px, 2.4vw, 34px); display: flex; justify-content: space-between; }
.card h3 { font-family: var(--serif); font-weight: 300; font-size: clamp(32px, 3.4vw, 50px); line-height: 1.02; margin-bottom: 12px; }
.card p { color: var(--muted); font-size: 15px; max-width: 46ch; }
.card .ticks { margin-top: 14px; }
.card .ticks li { font-size: 14px; }
.card .link { margin-top: 22px; }
.card.dome .bg { background: radial-gradient(80% 70% at 70% 30%, rgba(226,122,149,.32), transparent 60%), radial-gradient(70% 70% at 20% 80%, rgba(147,132,255,.22), transparent 60%), var(--ink-2); }
.card.dome .bg img { position: absolute; right: -6%; top: -4%; width: 54%; height: auto; object-fit: contain; filter: drop-shadow(0 30px 60px rgba(0,0,0,.6)); }
.card.dome:hover .bg img { transform: scale(1.04) translateY(-6px); }

/* app: teléfonos */
.features { margin: 36px 0 40px; display: grid; border-top: 1px solid var(--line); }
.feature { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.feature .n { font-family: var(--mono); font-size: 11px; color: var(--gold); padding-top: 4px; }
.feature h4 { font-weight: 500; font-size: 16px; margin-bottom: 2px; }
.feature p { font-size: 14px; color: var(--muted); }
.download { display: flex; flex-wrap: wrap; gap: 14px 22px; align-items: center; }
.download .mono { letter-spacing: .12em; }
.phones { position: relative; height: clamp(520px, 52vw, 680px); }
.phone {
  position: absolute; width: clamp(200px, 19vw, 262px); aspect-ratio: 585 / 1266; border-radius: 34px; padding: 9px;
  background: linear-gradient(145deg, #2a2c3a, #0d0e16 40%, #1c1d28); box-shadow: 0 40px 90px -20px rgba(0,0,0,.9), 0 0 0 1px rgba(255,255,255,.08), inset 0 0 0 1px rgba(255,255,255,.06);
}
.phone img { width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: 26px; }
.phone::before { content: ""; position: absolute; top: 18px; left: 50%; width: 22%; height: 6px; margin-left: -11%; border-radius: 6px; background: #05060a; z-index: 2; }
.phone.p1 { left: 50%; top: 4%; margin-left: calc(clamp(200px, 19vw, 262px) / -2); z-index: 3; }
.phone.p2 { left: 4%; top: 14%; transform: rotate(-8deg); z-index: 2; opacity: .9; }
.phone.p3 { right: 4%; top: 18%; transform: rotate(8deg); z-index: 1; opacity: .9; }
.phones .glow { position: absolute; left: 50%; top: 50%; width: 80%; aspect-ratio: 1; transform: translate(-50%, -50%); background: radial-gradient(closest-side, rgba(147,132,255,.28), rgba(216,183,122,.12) 50%, transparent); filter: blur(20px); }
.orbit { position: absolute; left: 50%; top: 50%; border: 1px dashed rgba(240,217,168,.18); border-radius: 50%; transform: translate(-50%, -50%); }
.orbit.o1 { width: 92%; aspect-ratio: 1; animation: spin 80s linear infinite; }
.orbit.o2 { width: 66%; aspect-ratio: 1; animation: spin 50s linear infinite reverse; }
.orbit::after { content: ""; position: absolute; top: -4px; left: 50%; width: 7px; height: 7px; border-radius: 50%; background: var(--gold-2); box-shadow: 0 0 14px var(--gold); }
@keyframes spin { to { transform: translate(-50%, -50%) rotate(360deg); } }

/* historia */
.timeline { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; padding-top: 46px; }
.timeline::before { content: ""; position: absolute; top: 9px; left: 0; right: 0; height: 1px; background: var(--line-2); }
.timeline .progress { position: absolute; top: 9px; left: 0; height: 1px; width: 100%; background: linear-gradient(90deg, var(--gold), var(--rose)); transform-origin: left; transform: scaleX(0); }
.mile { position: relative; }
.mile::before { content: ""; position: absolute; top: -42px; left: 0; width: 11px; height: 11px; border-radius: 50%; background: var(--void); border: 1px solid var(--gold); box-shadow: 0 0 0 5px rgba(216,183,122,.08); }
.mile .yr { font-family: var(--serif); font-size: clamp(40px, 4vw, 58px); font-weight: 300; line-height: 1; }
.mile h4 { font-weight: 500; margin: 12px 0 6px; }
.mile p { color: var(--muted); font-size: 14px; }
/* línea de tiempo vertical (página de historia) */
.vline { position: relative; display: grid; gap: clamp(28px, 4vw, 48px); padding-left: 38px; }
.vline::before { content: ""; position: absolute; left: 6px; top: 8px; bottom: 8px; width: 1px; background: linear-gradient(180deg, var(--gold), var(--rose) 60%, transparent); }
.vline > * { position: relative; }
.vline > *::before { content: ""; position: absolute; left: -38px; top: 10px; width: 13px; height: 13px; border-radius: 50%; background: var(--void); border: 1px solid var(--gold); box-shadow: 0 0 0 5px rgba(216,183,122,.08), 0 0 14px rgba(216,183,122,.5); }

.team { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.person { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 22px; padding: 30px; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(10,12,24,.6); }
.avatar { width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; font-family: var(--serif); font-size: 28px; border: 1px solid var(--line-2); background: radial-gradient(circle at 30% 30%, rgba(240,217,168,.25), rgba(147,132,255,.12) 60%, transparent); }
.person h4 { font-family: var(--serif); font-weight: 400; font-size: 28px; line-height: 1.1; }
.person .mono { display: block; margin: 6px 0 12px; color: var(--gold); }
.person p { color: var(--muted); font-size: 14px; }

/* galería */
.masonry { columns: 3 280px; column-gap: clamp(14px, 1.6vw, 22px); }
.masonry > * { break-inside: avoid; margin-bottom: clamp(14px, 1.6vw, 22px); }
.shot { position: relative; display: block; width: 100%; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--ink); text-align: left; cursor: zoom-in; }
.shot img { width: 100%; height: auto; transition: transform 1.2s var(--ease), filter 1.2s var(--ease); filter: brightness(.88); }
.shot:hover img { transform: scale(1.04); filter: brightness(1); }
.shot figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 18px 16px; background: linear-gradient(180deg, transparent, rgba(4,5,11,.9)); }
.shot figcaption b { display: block; font-family: var(--serif); font-weight: 400; font-size: 22px; line-height: 1.1; }

/* tarjetas de apps recomendadas */
.apps { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: clamp(14px, 1.6vw, 22px); }
.app-card { display: flex; flex-direction: column; gap: 12px; }
.app-card .head { display: grid; grid-template-columns: 46px minmax(0, 1fr); gap: 14px; align-items: center; }
.app-card .emoji { width: 46px; height: 46px; display: grid; place-items: center; font-size: 22px; border-radius: 12px; border: 1px solid var(--line); background: var(--ink-2); }
.app-card h4 { font-size: 16px; margin: 0; }
.app-card .meta { font-family: var(--mono); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--dim); }
.app-card .stars { color: var(--gold); letter-spacing: 2px; font-size: 12px; }
.app-card p { font-size: 14px; flex: 1; }
.app-card .stores { display: flex; flex-wrap: wrap; gap: 8px; }

/* eventos */
.events { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: clamp(14px, 1.6vw, 22px); }
.event { display: flex; flex-direction: column; gap: 10px; }
.event .date { font-family: var(--serif); font-weight: 300; font-size: 40px; line-height: 1; }
.event .date small { display: block; font-family: var(--mono); font-size: 11px; letter-spacing: .18em; color: var(--gold); margin-top: 8px; text-transform: uppercase; }
.event .when { font-family: var(--mono); font-size: 11px; letter-spacing: .1em; color: var(--muted); display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); }

/* datos en vivo */
.live { display: inline-flex; align-items: center; gap: 8px; }
.live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 0 rgba(127,214,164,.6); animation: ping 1.8s infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(127,214,164,.6); } 80%, 100% { box-shadow: 0 0 0 10px rgba(127,214,164,0); } }
.metric { padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(10,12,24,.6); }
.metric .v { font-family: var(--serif); font-weight: 300; font-size: clamp(34px, 3.4vw, 48px); line-height: 1.05; margin-top: 10px; }
.metric .v small { font-family: var(--mono); font-size: 12px; color: var(--muted); margin-left: 6px; letter-spacing: .08em; }
.metric .note { font-size: 13px; color: var(--muted); margin-top: 6px; }
.sun-tile { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #000; }
.sun-tile img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.sun-tile div { padding: 14px 16px; display: flex; justify-content: space-between; gap: 8px; border-top: 1px solid var(--line); background: rgba(10,12,24,.8); }
.frame { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--ink); position: relative; }
.frame iframe { width: 100%; border: 0; }
.crew { display: grid; gap: 8px; }
.crew div { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 6px; font-size: 14px; }
.crew div::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); flex: none; }

/* bortle */
.bortle { display: grid; gap: 8px; }
.bortle div { display: grid; grid-template-columns: 22px 54px minmax(0, 1fr); gap: 10px; align-items: center; font-size: 14px; color: var(--muted); }
.bortle i { width: 22px; height: 10px; border-radius: 3px; }

/* testimonios */
.quotes { columns: 3 300px; column-gap: clamp(14px, 1.6vw, 22px); }
.quote { break-inside: avoid; margin-bottom: clamp(14px, 1.6vw, 22px); }
.quote blockquote { font-family: var(--serif); font-size: 21px; line-height: 1.4; font-weight: 300; color: var(--star); }
.quote blockquote::before { content: "“"; display: block; font-size: 64px; line-height: .6; color: var(--gold); margin-bottom: 8px; }
.quote footer { margin-top: 20px; display: flex; gap: 12px; align-items: center; z-index: auto; }
.quote footer .avatar { width: 42px; height: 42px; font-size: 16px; }
.quote footer p { font-size: 13px; color: var(--muted); }
.quote footer b { display: block; color: var(--star); font-weight: 500; font-size: 14px; }

/* blog */
.blog { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: clamp(14px, 1.6vw, 22px); }
.post-main { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.post-main .img { aspect-ratio: 16 / 9; overflow: hidden; }
.post-main .img img { width: 100%; height: 100%; object-fit: cover; }
.post-main .body { padding: clamp(22px, 2.4vw, 34px); }
.post-list { display: grid; gap: clamp(14px, 1.6vw, 22px); }
.post { display: grid; grid-template-columns: 104px minmax(0, 1fr); gap: 16px; align-items: center; padding: 14px; }
.post img { width: 104px; height: 80px; object-fit: cover; border-radius: 4px; }
.post h4 { font-family: var(--serif); font-weight: 400; font-size: 21px; line-height: 1.15; margin: 4px 0; }

/* formularios */
.form { display: grid; gap: 16px; }
.field { display: grid; gap: 8px; }
.field label { font-family: var(--mono); font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 15px; color: var(--star); background: rgba(4,5,11,.6); border: 1px solid var(--line); border-radius: 6px;
  padding: 13px 14px; transition: border-color .3s, box-shadow .3s; color-scheme: dark;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(216,183,122,.12); }
.field select option { background: var(--ink); }
.choice { display: grid; gap: 10px; }
.choice button { display: grid; grid-template-columns: 42px minmax(0, 1fr) 18px; gap: 14px; align-items: center; text-align: left; padding: 14px 16px; border: 1px solid var(--line); border-radius: 8px; transition: all .35s var(--ease); }
.choice button:hover { border-color: var(--line-2); background: rgba(255,255,255,.03); }
.choice button[aria-pressed="true"] { border-color: var(--gold); background: rgba(216,183,122,.08); }
.choice button .e { font-size: 22px; text-align: center; }
.choice button b { display: block; font-weight: 500; font-size: 15px; }
.choice button small { color: var(--muted); font-size: 13px; }
.choice button .ok { width: 18px; height: 18px; border-radius: 50%; border: 1px solid var(--line-2); }
.choice button[aria-pressed="true"] .ok { background: var(--gold); border-color: var(--gold); box-shadow: 0 0 10px var(--gold); }

/* chat */
.chat { display: flex; flex-direction: column; height: 560px; padding: 0; overflow: hidden; }
.chat .bar { display: flex; align-items: center; gap: 12px; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.chat .msgs { flex: 1; overflow-y: auto; padding: 20px; display: flex; flex-direction: column; gap: 12px; overscroll-behavior: contain; }
.msg { max-width: 82%; padding: 12px 15px; border-radius: 14px; font-size: 14px; line-height: 1.55; }
.msg.bot { background: rgba(255,255,255,.05); border: 1px solid var(--line); border-top-left-radius: 4px; color: var(--muted); }
.msg.user { align-self: flex-end; background: rgba(216,183,122,.14); border: 1px solid rgba(216,183,122,.3); border-top-right-radius: 4px; }
.chat .input { display: flex; gap: 10px; padding: 14px; border-top: 1px solid var(--line); }
.chat .input input { flex: 1; min-width: 0; font: inherit; font-size: 15px; color: var(--star); background: rgba(4,5,11,.6); border: 1px solid var(--line); border-radius: 999px; padding: 12px 18px; }
.chat .input input:focus { outline: none; border-color: var(--gold); }
.chat .quick { display: flex; gap: 8px; padding: 0 14px 14px; overflow-x: auto; }
.typing span { display: inline-block; width: 6px; height: 6px; margin: 0 2px; border-radius: 50%; background: var(--gold); animation: typing 1s infinite; }
.typing span:nth-child(2) { animation-delay: .2s; } .typing span:nth-child(3) { animation-delay: .4s; }
@keyframes typing { 0%, 100% { transform: translateY(0); opacity: .4; } 50% { transform: translateY(-4px); opacity: 1; } }

/* contacto */
.contact-list { display: grid; gap: 0; border-top: 1px solid var(--line); }
.contact-list a, .contact-list div { display: grid; grid-template-columns: 46px minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--line); transition: color .3s; }
.contact-list a:hover { color: var(--gold-2); }
.contact-list b { display: block; font-weight: 400; font-size: 16px; overflow-wrap: anywhere; }

/* cta final */
.cta { text-align: center; overflow: hidden; }
.cta .ring { position: absolute; left: 50%; top: 50%; width: min(1100px, 150vw); aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; border: 1px solid var(--line); pointer-events: none; }
.cta .ring.r2 { width: min(760px, 110vw); }
.cta .ring.r3 { width: min(440px, 80vw); background: radial-gradient(closest-side, rgba(216,183,122,.12), transparent); }
.cta .lead { margin: 26px auto 40px; }
.cta .hero-cta { justify-content: center; }

/* pie */
.site-foot { border-top: 1px solid var(--line); padding: clamp(56px, 7vw, 90px) 0 34px; background: rgba(4,5,11,.94); }
.site-foot .cols { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 32px; }
.site-foot h5 { font-family: var(--mono); font-weight: 400; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); margin-bottom: 16px; }
.site-foot ul { list-style: none; display: grid; gap: 10px; }
.site-foot ul a { color: var(--muted); font-size: 14px; transition: color .3s; }
.site-foot ul a:hover { color: var(--star); }
.site-foot .motto { font-family: var(--serif); font-size: 26px; font-weight: 300; line-height: 1.2; margin-top: 20px; max-width: 18ch; }
.site-foot .base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); }
.credit { font-size: 11px; color: var(--dim); }
.credit a { text-decoration: underline; text-underline-offset: 2px; }

/* botón flotante de WhatsApp */
.wa { position: fixed; right: 18px; bottom: 18px; z-index: 40; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: #1f8f4e; color: #fff; box-shadow: 0 14px 30px -8px rgba(0,0,0,.7), 0 0 0 1px rgba(255,255,255,.12); transition: transform .4s var(--ease); }
.wa:hover { transform: scale(1.07); }
.wa svg { width: 28px; height: 28px; }

/* lightbox */
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(2,3,8,.94); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); display: grid; place-items: center; padding: 70px var(--gutter) 40px; opacity: 0; visibility: hidden; transition: all .4s var(--ease); }
.lightbox.active { opacity: 1; visibility: visible; }
.lightbox figure { max-width: min(1200px, 100%); display: grid; gap: 16px; justify-items: center; }
.lightbox img { max-height: 76vh; width: auto; border-radius: 4px; box-shadow: 0 30px 80px rgba(0,0,0,.8); }
.lightbox figcaption { font-family: var(--serif); font-size: 24px; font-weight: 300; text-align: center; }
.lightbox .x { position: absolute; top: 18px; right: 18px; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; }

/* avisos */
.toasts { position: fixed; right: 18px; bottom: 90px; z-index: 60; display: grid; gap: 10px; }
.toast { max-width: min(360px, calc(100vw - 36px)); padding: 14px 18px; border-radius: 10px; font-size: 14px; background: rgba(10,12,24,.95); border: 1px solid var(--line-2); border-left: 2px solid var(--gold); box-shadow: 0 20px 40px -10px rgba(0,0,0,.8); animation: toast-in .5s var(--ease); }
.toast.ok { border-left-color: var(--ok); } .toast.warn { border-left-color: var(--warn); }
@keyframes toast-in { from { opacity: 0; transform: translateY(12px); } }

/* contenido de páginas internas */
.prose { max-width: 70ch; color: var(--muted); font-size: 17px; line-height: 1.8; }
.prose p + p { margin-top: 1.1em; }
.prose strong { color: var(--star); font-weight: 500; }
.prose h2, .prose h3 { font-family: var(--serif); font-weight: 300; color: var(--star); line-height: 1.1; margin: 1.6em 0 .5em; }
.prose h2 { font-size: clamp(32px, 3.4vw, 46px); } .prose h3 { font-size: clamp(24px, 2.4vw, 32px); }
.prose a { color: var(--gold-2); text-decoration: underline; text-underline-offset: 3px; }
.poster { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--ink); transition: border-color .5s var(--ease), transform .6s var(--ease); display: flex; flex-direction: column; }
.poster:hover { border-color: rgba(240,217,168,.4); transform: translateY(-4px); }
.poster .img { aspect-ratio: 2 / 3; overflow: hidden; background: var(--ink-2); }
.poster .img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.poster:hover .img img { transform: scale(1.05); }
.poster .body { padding: 16px 18px 20px; display: grid; gap: 6px; }
.poster h4 { font-family: var(--serif); font-weight: 400; font-size: 22px; line-height: 1.1; }
.poster p { font-size: 13px; color: var(--muted); }
.posters { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: clamp(14px, 1.6vw, 22px); }

/* revelados (estado inicial solo con JS activo) */
.js [data-reveal] { opacity: 0; transform: translateY(40px); }
.js .split .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; }
.js .split .w > span { display: inline-block; transform: translateY(105%); }

/* ---------- responsive ---------- */
@media (max-width: 1180px) {
  .nav-links { display: none; } .burger { display: block; }
  .constellation { opacity: .6; width: min(58vw, 420px); top: -34vh; }
}
@media (max-width: 980px) {
  .g-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .g-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .site-foot .cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .blog { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 860px) {
  .hero-bottom, .sec-head, .split2, .app-split { grid-template-columns: minmax(0, 1fr); }
  .coords { text-align: left; }
  .stats .wrap { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat:nth-child(3) { border-left: 0; padding-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
  .exp .card { grid-column: 1 / -1 !important; min-height: 420px; }
  .timeline { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 64px; }
  .timeline::before, .timeline .progress { display: none; }
  .team, .g-2, .cols-2-1, .cols-1-14, .cols-1-a { grid-template-columns: minmax(0, 1fr); }
  .phones { height: 560px; order: -1; }
}
@media (max-width: 560px) {
  .g-4, .g-3 { grid-template-columns: minmax(0, 1fr); }
  .site-foot .cols { grid-template-columns: minmax(0, 1fr); }
  .phone { width: 190px; border-radius: 28px; padding: 7px; }
  .phone img { border-radius: 22px; }
  .phone.p1 { margin-left: -95px; }
  .phone.p2 { left: -2%; } .phone.p3 { right: -2%; }
  .phones { height: 480px; }
  .person { grid-template-columns: minmax(0, 1fr); padding: 24px; }
  .constellation { display: none; }
  .brand span { font-size: 11px; letter-spacing: .24em; }
  .chat { height: 520px; }
  .post { grid-template-columns: 84px minmax(0, 1fr); }
  .post img { width: 84px; height: 70px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js [data-reveal], .js .split .w > span { opacity: 1 !important; transform: none !important; }
}

/* ---------- páginas de servicios ---------- */
.poster .img.empty { display: grid; place-items: center; padding: 24px; text-align: center; background: radial-gradient(80% 60% at 50% 30%, rgba(147,132,255,.22), transparent 70%), radial-gradient(60% 50% at 50% 90%, rgba(216,183,122,.14), transparent 70%), var(--ink-2); }
.poster .img.empty span { font-family: var(--serif); font-size: 26px; font-weight: 300; line-height: 1.1; }
.poster .row { gap: 6px; }
.poster .go { margin-top: 6px; }
.series { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: clamp(14px, 1.6vw, 22px); }
.serie h3 { font-size: clamp(24px, 2.2vw, 30px); }
.serie .top { margin-bottom: 14px; }
.equip { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: clamp(14px, 1.6vw, 22px); }
.gear { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.gear .img { position: relative; aspect-ratio: 4 / 3; display: grid; place-items: center; padding: 18px; background: radial-gradient(70% 70% at 50% 45%, rgba(240,217,168,.10), transparent 70%), var(--ink-2); border-bottom: 1px solid var(--line); }
.gear .img img { max-height: 100%; width: auto; object-fit: contain; filter: drop-shadow(0 20px 30px rgba(0,0,0,.6)); transition: transform 1s var(--ease); }
.gear:hover .img img { transform: scale(1.05) translateY(-4px); }
.gear .img .tag { position: absolute; top: 12px; right: 12px; }
.gear .body { padding: 18px 20px 22px; }
.gear h4 { font-family: var(--serif); font-weight: 400; font-size: 24px; line-height: 1.1; }
.gear .spec { font-family: var(--mono); font-size: 11px; letter-spacing: .06em; color: var(--gold-2); margin: 8px 0 6px; }
.steps { display: grid; gap: 0; counter-reset: step; border-top: 1px solid var(--line); }
.step { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 18px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.step::before { counter-increment: step; content: counter(step, decimal-leading-zero); font-family: var(--serif); font-size: 40px; font-weight: 300; line-height: 1; color: var(--gold-2); }
.step h4 { font-weight: 500; font-size: 17px; margin-bottom: 6px; }
.step p { color: var(--muted); font-size: 15px; }
.step p strong { color: var(--star); font-weight: 500; }
.step code { display: inline-block; margin-top: 12px; font-family: var(--mono); font-size: 12px; color: var(--gold-2); background: rgba(216,183,122,.08); border: 1px solid rgba(216,183,122,.25); padding: 6px 10px; border-radius: 6px; }
.olist { list-style: none; counter-reset: o; display: grid; gap: 10px; margin-top: 16px; }
.olist li { counter-increment: o; display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 10px; font-size: 14px; color: var(--muted); }
.olist li::before { content: counter(o); font-family: var(--mono); font-size: 11px; color: var(--gold); padding-top: 2px; }
.year-block + .year-block { margin-top: clamp(48px, 6vw, 80px); }
.year-block > .serif { font-size: clamp(56px, 8vw, 110px); line-height: .9; color: transparent; -webkit-text-stroke: 1px rgba(240,217,168,.55); margin-bottom: 26px; }
.hitem .mono { color: var(--gold); }
.hitem h4 { font-family: var(--serif); font-weight: 400; font-size: clamp(22px, 2vw, 28px); line-height: 1.15; margin: 6px 0 8px; }
.hitem p { color: var(--muted); font-size: 15px; max-width: 70ch; }
.thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; margin-top: 22px; }
.thumbs .shot img { aspect-ratio: 4 / 5; object-fit: cover; }
.thumbs .shot figcaption { padding: 30px 12px 10px; font-size: 13px; }
.obs-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 72px); align-items: start; padding: clamp(48px, 6vw, 80px) 0; border-top: 1px solid var(--line); }
.obs-row:first-child { border-top: 0; padding-top: 0; }
@media (max-width: 860px) { .obs-row { grid-template-columns: minmax(0, 1fr); } }
