/* Up Marketing Services · Home (ES / EN)
   Dirección artística: azul marino profundo, azul, dorado y cristal.
   Compartido por index.html y en.html. */

/* Fuentes alojadas en el sitio (OFL, licencias en /assets/fonts/), subconjunto latino */
@font-face { font-family: 'Outfit'; font-style: normal; font-weight: 300; font-display: swap; src: url('/assets/fonts/Outfit-normal-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Outfit'; font-style: normal; font-weight: 400; font-display: swap; src: url('/assets/fonts/Outfit-normal-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Outfit'; font-style: normal; font-weight: 500; font-display: swap; src: url('/assets/fonts/Outfit-normal-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Outfit'; font-style: normal; font-weight: 600; font-display: swap; src: url('/assets/fonts/Outfit-normal-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Outfit'; font-style: normal; font-weight: 700; font-display: swap; src: url('/assets/fonts/Outfit-normal-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Playfair Display'; font-style: italic; font-weight: 400; font-display: swap; src: url('/assets/fonts/PlayfairDisplay-italic-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Playfair Display'; font-style: normal; font-weight: 400; font-display: swap; src: url('/assets/fonts/PlayfairDisplay-normal-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Playfair Display'; font-style: normal; font-weight: 500; font-display: swap; src: url('/assets/fonts/PlayfairDisplay-normal-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy: #03091a;
  --navy2: #060f26;
  --navy3: #0a1634;
  --blue: #1657c8;
  --blue-soft: #4d8ef0;
  --blue-pale: #8fb4ff;
  --gold: #c8981e;
  --gold2: #e8b832;
  --gold3: #f5d060;
  --gold-hi: #f0cf7a;
  --gold-mid: #d6a640;
  --gold-lo: #b8862c;
  --white: #f4f6ff;
  --ink: #f6f2ea;
  --text: #c3cbe0;
  --muted: #8f9bb8;
  --border: rgba(255, 255, 255, .08);
  --glass-b: rgba(190, 205, 255, .32);
  --glass-line: rgba(190, 205, 255, .16);
  --radius: 20px;
  --wrap: 1240px;
  --serif: 'Playfair Display', Georgia, serif;
  --sans: 'Outfit', system-ui, sans-serif;
}

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { background: var(--navy); color: var(--white); font-family: var(--sans); line-height: 1.6; overflow-x: hidden; }
img { max-width: 100%; height: auto; }
body::before { content: ''; position: fixed; inset: 0; z-index: 0; pointer-events: none; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.035'/%3E%3C/svg%3E"); }
section[id] { scroll-margin-top: 84px; }

/* ── Accesibilidad ── */
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 1000; background: var(--gold2); color: #000; padding: 10px 16px; border-radius: 8px; font-weight: 700; text-decoration: none; }
.skip-link:focus { top: 12px; }
a:focus-visible, button:focus-visible, summary:focus-visible, [tabindex]:focus-visible { outline: 2px solid var(--gold3); outline-offset: 3px; border-radius: 6px; }
#hero-title:focus { outline: none; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ── Cabecera ── */
nav.nav-v2 { position: fixed; top: 0; left: 0; width: 100%; z-index: 200; display: flex; align-items: center; justify-content: space-between; height: 84px; padding: 0 4.3vw; background: linear-gradient(to bottom, rgba(3, 9, 26, .6), rgba(3, 9, 26, 0)); border-bottom: 1px solid transparent; transition: background .3s, border-color .3s; }
nav.nav-v2.scrolled, nav.nav-v2.open { background: rgba(3, 9, 26, .95); border-bottom-color: var(--border); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.brand { display: flex; align-items: center; gap: 18px; text-decoration: none; color: #e4e7f1; }
.brand img { display: block; height: 40px; width: auto; }
.brand-name { font-size: .8rem; font-weight: 400; letter-spacing: .34em; text-transform: uppercase; white-space: nowrap; }
.nav-right { display: flex; align-items: center; gap: 24px; }
.nav-links { display: flex; gap: 36px; list-style: none; }
.nav-links a { color: rgba(244, 246, 255, .9); font-family: var(--serif); font-size: 1rem; text-decoration: none; text-shadow: 0 1px 8px rgba(3, 9, 26, .6); transition: color .2s; }
.nav-links a:hover { color: var(--gold3); }
.nav-links .nav-m-only, .nav-links .nav-m-cta { display: none; }
.lang-switcher { display: flex; align-items: center; gap: 8px; }
.lang-btn { color: #c9d1e6; background: rgba(255, 255, 255, .08); text-decoration: none; font-size: .8rem; font-weight: 700; padding: 4px 8px; border-radius: 4px; transition: color .3s, background .3s; }
.lang-btn:hover { color: var(--white); background: rgba(255, 255, 255, .14); }
.lang-btn.active { color: #000; background: var(--gold2); }
.nav-toggle { display: none; width: 42px; height: 42px; border-radius: 8px; background: rgba(255, 255, 255, .05); border: 1px solid var(--border); cursor: pointer; flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.nav-toggle span { display: block; width: 18px; height: 2px; background: var(--white); border-radius: 2px; transition: transform .25s, opacity .25s; }
nav.open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
nav.open .nav-toggle span:nth-child(2) { opacity: 0; }
nav.open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Botones ── */
.btn-nav-v2, .btn-gold2, .btn-glass { display: inline-flex; align-items: center; justify-content: center; gap: 12px; border-radius: 999px; font-family: var(--sans); font-weight: 500; text-decoration: none; white-space: nowrap; transition: transform .2s, box-shadow .2s, background .2s, border-color .2s; }
.btn-nav-v2, .btn-gold2 { color: #1a1205; background: linear-gradient(180deg, var(--gold-hi) 0%, var(--gold-mid) 55%, var(--gold-lo) 100%); box-shadow: 0 10px 30px rgba(200, 152, 30, .28), inset 0 1px 0 rgba(255, 255, 255, .45); }
.btn-nav-v2 { height: 46px; padding: 0 22px; font-size: .95rem; gap: 10px; }
.btn-gold2, .btn-glass { height: max(50px, 3.4vw); padding: 0 max(24px, 1.75vw); font-size: max(15px, 1vw); }
.btn-nav-v2:hover, .btn-gold2:hover { transform: translateY(-2px); box-shadow: 0 14px 36px rgba(200, 152, 30, .42), inset 0 1px 0 rgba(255, 255, 255, .5); }
.btn-glass { color: var(--white); background: linear-gradient(180deg, rgba(120, 150, 230, .16), rgba(40, 70, 150, .1)); border: 1px solid var(--glass-b); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .16), 0 8px 24px rgba(3, 9, 26, .35); backdrop-filter: blur(10px) saturate(140%); -webkit-backdrop-filter: blur(10px) saturate(140%); }
.btn-glass:hover { border-color: rgba(220, 228, 255, .6); background: linear-gradient(180deg, rgba(140, 170, 245, .22), rgba(50, 80, 165, .14)); }
.btn-glass svg, .btn-gold2 svg, .btn-nav-v2 svg { flex: none; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; color: var(--gold3); font-weight: 500; text-decoration: none; border-bottom: 1px solid rgba(245, 208, 96, .35); padding-bottom: 2px; transition: border-color .2s, gap .2s; }
.link-arrow:hover { border-color: var(--gold3); gap: 12px; }

/* ── Portada (aprobada en fase 2) ── */
.hero2 { position: relative; z-index: 1; min-height: 44.53vw; background: var(--navy); overflow: hidden; border-bottom: 1px solid rgba(255, 255, 255, .06); }
.hero2-art { position: absolute; inset: 0; z-index: 0; }
.hero2-art img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: right center; animation: art-in 1.6s ease-out both; }
.hero2-art::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(3, 9, 26, .5) 0%, rgba(3, 9, 26, .2) 30%, rgba(3, 9, 26, 0) 44%); pointer-events: none; }
.hero2-content { position: relative; z-index: 2; width: 40vw; padding: 8.1vw 0 6vw 4.3vw; }
.hero2-content > * { animation: rise .9s cubic-bezier(.2, .7, .2, 1) both; }
.hero2-content > :nth-child(2) { animation-delay: .08s; }
.hero2-content > :nth-child(3) { animation-delay: .18s; }
.hero2-content > :nth-child(4) { animation-delay: .28s; }
.hero2-eyebrow { font-size: max(11px, .8vw); font-weight: 500; letter-spacing: .32em; text-transform: uppercase; color: #e3e6ef; margin-bottom: 1.3vw; }
.hero2 h1 { font-family: var(--serif); font-weight: 400; font-size: 3.95vw; line-height: 1.1; letter-spacing: -.012em; margin-bottom: 1.9vw; }
.hero2 h1 .l1 { display: block; color: var(--ink); }
.hero2 h1 .l2, .gold-text { color: var(--gold2); background: linear-gradient(180deg, #f2d48a 0%, #d9ac4c 55%, #b9883a 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero2 h1 .l2 { display: block; }
.hero2-desc { font-family: var(--serif); font-size: max(16px, 1.42vw); line-height: 1.45; letter-spacing: .01em; color: #e2e5ef; max-width: 30vw; margin-bottom: 2vw; }
.hero2-actions { display: flex; flex-wrap: wrap; gap: max(12px, .9vw); }
.hero2-note { position: absolute; z-index: 2; left: 4.3vw; bottom: 1.1vw; font-size: .72rem; letter-spacing: .04em; color: rgba(226, 230, 240, .62); }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }
@keyframes art-in { from { opacity: .35; transform: scale(1.035); } }

/* ── Galería conceptual (aprobada en fase 2) ── */
.gal { position: relative; z-index: 1; background: linear-gradient(180deg, #050c20 0%, var(--navy) 100%); padding: 26px 2.6vw 64px; }
.gal-head { display: flex; align-items: center; gap: 24px; margin-bottom: 20px; }
.gal-kicker { font-weight: 500; font-size: .8rem; letter-spacing: .38em; text-transform: uppercase; color: var(--gold2); }
.gal-aside { margin-left: auto; display: flex; align-items: center; gap: 14px; }
.gal-stroke { flex: none; width: 120px; height: 22px; }
.gal-note { font-family: var(--serif); font-style: italic; font-size: .92rem; color: #aab4cc; }
.gal-track { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.gal-card { position: relative; margin: 0; aspect-ratio: 472 / 252; border-radius: 12px; overflow: hidden; border: 1px solid rgba(255, 255, 255, .14); background: var(--navy2); box-shadow: 0 20px 50px rgba(0, 0, 0, .35); }
.gal-card img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.gal-card:hover img { transform: scale(1.03); }
.gal-card figcaption { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: space-between; padding: 18px 20px 22px; background: linear-gradient(180deg, rgba(3, 9, 26, .5) 0%, rgba(3, 9, 26, 0) 28%, rgba(3, 9, 26, 0) 42%, rgba(3, 9, 26, .8) 100%); }
.gal-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.gal-tag { font-size: .72rem; font-weight: 500; letter-spacing: .24em; text-transform: uppercase; color: #eef1f8; }
.gal-title { font-family: var(--serif); font-size: clamp(1.3rem, 1.75vw, 1.8rem); line-height: 1.15; color: var(--ink); max-width: 15ch; }
.gal-badge, .tag-concept { flex: none; font-size: .74rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: #e9ecf5; padding: 5px 10px; border-radius: 999px; background: rgba(10, 20, 50, .55); border: 1px solid rgba(255, 255, 255, .24); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.gal-badge { margin: -4px -6px 0 0; }

/* ── Estructura de secciones ── */
.s { position: relative; z-index: 1; padding: 128px 0; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 40px; }
.s-head { max-width: 760px; margin-bottom: 64px; }
.s-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.kicker { display: block; font-size: .76rem; font-weight: 500; letter-spacing: .34em; text-transform: uppercase; color: var(--gold2); margin-bottom: 18px; }
.h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(2.1rem, 3.6vw, 3.4rem); line-height: 1.1; letter-spacing: -.01em; color: var(--ink); margin-bottom: 20px; }
.lead { font-size: 1.08rem; line-height: 1.7; color: var(--text); max-width: 620px; }
.s-head.center .lead { margin: 0 auto; }
.glass { background: linear-gradient(180deg, rgba(120, 150, 230, .09), rgba(40, 70, 150, .04)); border: 1px solid var(--glass-line); border-radius: var(--radius); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .07), 0 30px 80px rgba(0, 0, 0, .35); }
.glass-sm { background: linear-gradient(180deg, rgba(20, 34, 72, .82), rgba(8, 16, 40, .86)); border: 1px solid rgba(190, 205, 255, .2); border-radius: 14px; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1), 0 18px 40px rgba(0, 0, 0, .45); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.tag-concept { position: absolute; top: 14px; left: 14px; z-index: 3; }

/* ── Servicios ── */
.services { background: radial-gradient(70% 50% at 100% 0%, rgba(22, 87, 200, .12), transparent 70%), var(--navy); }
.svc-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.svc { position: relative; overflow: hidden; padding: 48px; display: grid; gap: 44px; align-items: center; }
.svc--wide { grid-column: 1 / -1; grid-template-columns: 1fr 1.05fr; }
.svc--rev > .svc-vis { order: -1; }
.svc--rev { grid-template-columns: 1.05fr 1fr; }
.svc--half { grid-template-columns: 1fr; align-content: start; }
.svc--half > .svc-vis { order: -1; }
.svc--band { grid-column: 1 / -1; grid-template-columns: 1fr 1.25fr; padding: 40px 48px; background: linear-gradient(120deg, rgba(22, 87, 200, .14), rgba(200, 152, 30, .05) 70%), linear-gradient(180deg, rgba(120, 150, 230, .06), rgba(40, 70, 150, .03)); }
.svc-num { font-family: var(--serif); font-size: 1rem; color: var(--gold2); letter-spacing: .08em; display: inline-flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.svc-num::after { content: ''; width: 42px; height: 1px; background: linear-gradient(90deg, var(--gold2), transparent); }
.svc h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(1.6rem, 2.2vw, 2.1rem); line-height: 1.15; color: var(--ink); margin-bottom: 14px; }
.svc p { color: var(--text); font-size: 1rem; line-height: 1.7; max-width: 52ch; }
.deliv-t { display: block; margin: 26px 0 12px; font-size: .74rem; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--muted); }
.deliv { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 24px; }
.svc--half .deliv { grid-template-columns: 1fr 1fr; }
.deliv li { position: relative; padding-left: 20px; font-size: .94rem; color: #dfe4f2; line-height: 1.45; }
.deliv li::before { content: ''; position: absolute; left: 0; top: .7em; width: 10px; height: 1px; background: var(--gold2); }
.svc .link-arrow { margin-top: 26px; }

.svc-vis { position: relative; border-radius: 16px; min-height: 300px; isolation: isolate; }
.svc-vis img { display: block; }
/* Composiciones de servicio: piezas propias en HTML, escaladas con el ancho de su contenedor (cqw) */
.svc-vis { container-type: inline-size; }
.vis-camp, .vis-fmt, .vis-site, .vis-appd { border: 1px solid var(--glass-line); overflow: hidden; background: radial-gradient(70% 60% at 25% 20%, rgba(22, 87, 200, .28), transparent 70%), radial-gradient(50% 50% at 95% 95%, rgba(200, 152, 30, .12), transparent 70%), var(--navy3); }
.stroke-mini { display: block; width: 46%; height: auto; }
.tag-concept { z-index: 5; }

/* 01 · piezas de campaña y planificación */
.vis-camp { display: grid; grid-template-columns: .72fr 1fr; gap: 14px 3%; padding: 64px 5% 5%; align-items: start; }
.camp-story { grid-row: 1 / 3; aspect-ratio: 9 / 15; position: relative; display: flex; flex-direction: column; justify-content: space-between; padding: 4cqw 3.4cqw; border-radius: 3cqw; border: 1px solid rgba(255, 255, 255, .16); background: radial-gradient(90% 55% at 75% 22%, rgba(77, 142, 240, .55), transparent 70%), linear-gradient(170deg, #142c5e 0%, #070f26 72%); box-shadow: 0 5cqw 10cqw rgba(0, 0, 0, .45); }
.cs-bars { display: flex; gap: 1cqw; }
.cs-bars i { flex: 1; height: 2px; border-radius: 2px; background: rgba(255, 255, 255, .25); }
.cs-bars i.on { background: #fff; }
.cs-brand { display: flex; align-items: center; gap: 1.6cqw; margin-top: 2.4cqw; font-size: 2.6cqw; font-weight: 500; color: #eef1f8; }
.cs-dot { width: 4.4cqw; height: 4.4cqw; border-radius: 50%; background: linear-gradient(180deg, var(--gold-hi), var(--gold-lo)); }
.camp-story .stroke-mini { width: 80%; margin: 0 auto; }
.cs-h { display: block; font-family: var(--serif); font-weight: 400; font-size: 5cqw; line-height: 1.1; color: var(--ink); margin-bottom: 3cqw; }
.cs-cta { display: block; text-align: center; padding: 1.8cqw; border-radius: 999px; font-size: 2.4cqw; font-weight: 600; color: #1a1205; background: linear-gradient(180deg, var(--gold-hi), var(--gold-lo)); }
.camp-feed { aspect-ratio: 1 / 1; display: flex; flex-direction: column; justify-content: flex-end; padding: 4cqw; border-radius: 3cqw; border: 1px solid rgba(255, 255, 255, .16); background: radial-gradient(80% 70% at 80% 10%, rgba(232, 184, 50, .42), transparent 65%), linear-gradient(200deg, #1d2c55 0%, #0a1430 70%); box-shadow: 0 5cqw 10cqw rgba(0, 0, 0, .4); }
.cf-k { font-size: 2.2cqw; letter-spacing: .2em; text-transform: uppercase; color: var(--gold3); margin-bottom: 1.6cqw; }
.cf-h { font-family: var(--serif); font-weight: 400; font-size: 5.2cqw; line-height: 1.08; color: var(--ink); }
.cf-brand { margin-top: 2.6cqw; font-size: 2.3cqw; color: rgba(238, 241, 248, .75); }
.camp-search { padding: 3cqw 3.4cqw; display: grid; gap: .8cqw; }
.camp-search small { font-size: 2.2cqw; color: var(--muted); }
.camp-search b { font-weight: 500; font-size: 2.9cqw; color: var(--blue-pale); line-height: 1.25; }
.camp-search span { font-size: 2.3cqw; color: var(--text); line-height: 1.4; }
.camp-plan { grid-column: 1 / -1; padding: 3.4cqw; }
.cp-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 2.4cqw; }
.cp-head span { font-size: 2.3cqw; letter-spacing: .2em; text-transform: uppercase; color: var(--gold3); }
.cp-head small { font-size: 2.2cqw; color: var(--muted); }
.cp-row { display: grid; grid-template-columns: 24% 1fr; align-items: center; gap: 2cqw; padding: 1.2cqw 0; font-size: 2.4cqw; color: var(--text); }
.cp-row b { position: relative; height: 2.6cqw; border-radius: 1cqw; background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .06) 0 calc(100% / 6 - 1px), rgba(255, 255, 255, .14) calc(100% / 6 - 1px) calc(100% / 6)); }
.cp-row b i { position: absolute; top: 0; bottom: 0; left: calc((var(--a) - 1) / 6 * 100%); width: calc((var(--b) - var(--a)) / 6 * 100%); border-radius: 1cqw; background: linear-gradient(90deg, rgba(77, 142, 240, .9), rgba(22, 87, 200, .9)); }
.cp-row:last-of-type b i { background: linear-gradient(90deg, var(--gold-hi), var(--gold-lo)); }

/* 02 · edición y formatos sociales */
.vis-fmt { display: grid; gap: 18px; align-content: center; padding: 64px 5% 6%; aspect-ratio: 4 / 3.75; }
.fmt-row { display: flex; align-items: flex-end; justify-content: center; gap: 3cqw; }
.fmt-w { display: flex; flex-direction: column; align-items: center; gap: 1.8cqw; }
.fmt-w small { font-size: 2.6cqw; letter-spacing: .08em; color: var(--muted); white-space: nowrap; }
.fmt-v { width: 23%; } .fmt-s { width: 29%; } .fmt-h { width: 42%; }
.fmt { position: relative; width: 100%; display: flex; align-items: center; justify-content: center; border-radius: 2.2cqw; overflow: hidden; border: 1px solid rgba(255, 255, 255, .18); background: radial-gradient(70% 55% at 50% 38%, rgba(232, 184, 50, .3), transparent 70%), linear-gradient(180deg, #16306a 0%, #070f26 100%); box-shadow: 0 4cqw 8cqw rgba(0, 0, 0, .4); }
.fmt-v .fmt { aspect-ratio: 9 / 16; } .fmt-s .fmt { aspect-ratio: 1 / 1; } .fmt-h .fmt { aspect-ratio: 16 / 9; }
.fmt::after { content: ''; position: absolute; inset: 9%; border: 1px dashed rgba(255, 255, 255, .22); border-radius: 1cqw; pointer-events: none; }
.fmt .stroke-mini { position: absolute; left: 12%; top: 22%; width: 64%; }
.fmt-play { width: 7cqw; height: 7cqw; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .6); background: rgba(3, 9, 26, .35); position: relative; }
.fmt-play::after { content: ''; position: absolute; left: 40%; top: 30%; border-left: 2.2cqw solid #fff; border-top: 1.4cqw solid transparent; border-bottom: 1.4cqw solid transparent; }
.fmt-sub { position: absolute; left: 50%; bottom: 13%; transform: translateX(-50%); white-space: nowrap; padding: .6cqw 1.6cqw; border-radius: .8cqw; font-size: 1.9cqw; color: #fff; background: rgba(3, 9, 26, .7); }
.vis-fmt .timeline { padding: 3cqw 3.4cqw; position: relative; }
.tl-row { position: relative; display: grid; grid-template-columns: 13cqw 1fr; align-items: center; gap: 2cqw; height: 4.4cqw; margin: 1cqw 0; font-size: 2.3cqw; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.tl-row b { position: relative; height: 2.6cqw; border-radius: 1cqw; background: rgba(255, 255, 255, .05); }
.tl-row b i { position: absolute; top: 0; bottom: 0; left: var(--s); width: var(--w); border-radius: 1cqw; background: linear-gradient(90deg, rgba(77, 142, 240, .85), rgba(22, 87, 200, .85)); }
.tl-row.gold b i { background: linear-gradient(90deg, var(--gold-hi), var(--gold-lo)); }
.tl-row.soft b i { background: rgba(190, 205, 255, .35); }
.playhead { position: absolute; top: 2cqw; bottom: 2cqw; left: 62%; width: 1px; background: var(--gold3); box-shadow: 0 0 10px var(--gold3); }
.playhead::before { content: ''; position: absolute; top: -1.2cqw; left: -1.1cqw; width: 2.2cqw; height: 2.2cqw; border-radius: 2px; background: var(--gold3); transform: rotate(45deg); }

/* 03 · interfaz web y adaptación móvil */
.vis-site { aspect-ratio: 4 / 3.75; }
.br { position: absolute; left: 5%; top: 15%; width: 80%; border-radius: 2.4cqw; overflow: hidden; background: #0a1430; border: 1px solid rgba(255, 255, 255, .16); box-shadow: 0 6cqw 12cqw rgba(0, 0, 0, .5); }
.br-bar { display: flex; align-items: center; gap: 1cqw; padding: 1.8cqw 2.4cqw; background: rgba(255, 255, 255, .04); border-bottom: 1px solid rgba(255, 255, 255, .07); }
.br-bar i { width: 1.6cqw; height: 1.6cqw; border-radius: 50%; background: rgba(255, 255, 255, .2); }
.br-bar span { margin-left: 2cqw; flex: 1; max-width: 46%; padding: .6cqw 2cqw; border-radius: 999px; font-size: 1.9cqw; color: var(--muted); background: rgba(3, 9, 26, .6); }
.br-nav { display: flex; align-items: center; gap: 3cqw; padding: 2.4cqw 3.4cqw; }
.br-nav b { font-family: var(--serif); font-weight: 400; font-size: 2.8cqw; color: var(--gold3); }
.br-nav nav { display: flex; gap: 2.6cqw; margin-left: auto; font-size: 2cqw; color: #dfe4f2; }
.br-shop { padding: .9cqw 2.2cqw; border-radius: 999px; font-size: 1.9cqw; font-weight: 600; color: #1a1205; background: linear-gradient(180deg, var(--gold-hi), var(--gold-lo)); }
.br-hero { display: grid; grid-template-columns: 1.1fr .9fr; gap: 3cqw; align-items: center; padding: 2cqw 3.4cqw 3cqw; }
.br-hero small { display: block; font-size: 1.8cqw; letter-spacing: .2em; text-transform: uppercase; color: var(--gold3); margin-bottom: 1.4cqw; }
.br-hero b { display: block; font-family: var(--serif); font-weight: 400; font-size: 4.6cqw; line-height: 1.08; color: var(--ink); margin-bottom: 2cqw; }
.br-line { display: block; height: 1cqw; border-radius: 1cqw; background: rgba(255, 255, 255, .12); margin-bottom: 1.2cqw; width: 90%; }
.br-line.short { width: 62%; margin-bottom: 2.4cqw; }
.br-btn { display: inline-block; padding: 1cqw 2.6cqw; border-radius: 999px; font-size: 1.9cqw; color: var(--white); border: 1px solid var(--glass-b); background: rgba(120, 150, 230, .12); }
.br-art { aspect-ratio: 4 / 3; border-radius: 1.8cqw; display: flex; align-items: center; justify-content: center; background: radial-gradient(70% 70% at 70% 30%, rgba(232, 184, 50, .4), transparent 70%), linear-gradient(160deg, #1b3a7c, #081332); }
.br-art .stroke-mini { width: 70%; }
.br-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2cqw; padding: 0 3.4cqw 3.4cqw; }
.br-card { display: grid; gap: 1cqw; font-size: 1.9cqw; color: #dfe4f2; }
.br-img { aspect-ratio: 4 / 3; border-radius: 1.4cqw; background: linear-gradient(160deg, rgba(77, 142, 240, .35), rgba(10, 20, 48, .9)); border: 1px solid rgba(255, 255, 255, .08); }
.br-card:nth-child(2) .br-img { background: linear-gradient(160deg, rgba(232, 184, 50, .35), rgba(10, 20, 48, .9)); }
.ph { position: absolute; right: 5%; bottom: 6%; width: 27%; aspect-ratio: 9 / 18.5; display: flex; flex-direction: column; gap: 1.8cqw; padding: 2.2cqw 2cqw; border-radius: 4cqw; background: #070f26; border: 1px solid rgba(255, 255, 255, .22); box-shadow: 0 6cqw 12cqw rgba(0, 0, 0, .6); overflow: hidden; }
.ph-top { display: flex; align-items: center; justify-content: space-between; }
.ph-top b { font-family: var(--serif); font-weight: 400; font-size: 2.4cqw; color: var(--gold3); }
.ph-burger { display: grid; gap: .5cqw; } .ph-burger i { width: 3cqw; height: 1.5px; background: #eef1f8; }
.ph-art { aspect-ratio: 4 / 3; border-radius: 1.6cqw; display: flex; align-items: center; justify-content: center; background: radial-gradient(70% 70% at 70% 30%, rgba(232, 184, 50, .4), transparent 70%), linear-gradient(160deg, #1b3a7c, #081332); }
.ph-art .stroke-mini { width: 70%; }
.ph-h { font-family: var(--serif); font-weight: 400; font-size: 3.2cqw; line-height: 1.1; color: var(--ink); }
.ph .br-btn { align-self: flex-start; font-size: 1.7cqw; }

/* Fase 5 · arte de servicios: la imagen es fondo; textos y controles siguen siendo HTML, con velo para contraste */
.camp-story, .camp-feed, .fmt, .br-art, .ph-art { position: relative; overflow: hidden; isolation: isolate; }
.art-img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.camp-story .art-img { top: auto; height: 88%; object-position: 50% 0%; }
.camp-feed .art-img { object-position: 50% 6%; }
.camp-story::after, .camp-feed::after, .fmt::before { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.camp-story::after { background: linear-gradient(180deg, rgba(5, 12, 32, .96) 0%, rgba(5, 12, 32, .9) 12%, rgba(3, 9, 26, 0) 30%, rgba(3, 9, 26, 0) 46%, rgba(3, 9, 26, .78) 66%, rgba(3, 9, 26, .94) 100%); }
.camp-feed::after { background: linear-gradient(180deg, rgba(3, 9, 26, 0) 22%, rgba(3, 9, 26, .8) 54%, rgba(3, 9, 26, .96) 100%); }
.fmt::before { background: radial-gradient(70% 70% at 50% 50%, rgba(3, 9, 26, 0) 40%, rgba(3, 9, 26, .35) 100%); }
.fmt .art-img { object-position: 50% 50%; }
.br-art .art-img, .ph-art .art-img { object-position: 50% 60%; }

/* 04 · recorrido de producto (demostración interactiva, datos locales) */
.vis-appd { display: grid; gap: 14px; align-content: start; padding: 58px 24px 24px; }
.apd-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.apd-head small { display: block; font-size: .74rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.apd-pname { display: block; font-family: var(--serif); font-weight: 400; font-size: 1.35rem; color: var(--ink); line-height: 1.2; overflow-wrap: anywhere; }
.apd-state, .apd-st { flex: none; font-size: .76rem; font-weight: 500; padding: 4px 10px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .2); color: #dfe4f2; background: rgba(255, 255, 255, .05); }
.apd-state[data-state="inProgress"], .apd-task[data-s="doing"] .apd-st { color: var(--blue-pale); border-color: rgba(77, 142, 240, .45); background: rgba(22, 87, 200, .18); }
.apd-state[data-state="complete"], .apd-task[data-s="done"] .apd-st { color: #7fe0a8; border-color: rgba(34, 200, 120, .4); background: rgba(34, 200, 120, .1); }
.apd-new { display: flex; gap: 8px; }
.apd-new input { flex: 1; min-width: 0; height: 44px; padding: 0 16px; border-radius: 999px; font: inherit; font-size: .92rem; color: var(--white); background: rgba(3, 9, 26, .6); border: 1px solid var(--glass-b); }
.apd-new input::placeholder { color: #8f9bb8; }
.apd-new input:focus-visible { outline: 2px solid var(--gold3); outline-offset: 2px; }
.apd-create { flex: none; height: 44px; padding: 0 16px; border: 0; border-radius: 999px; font: inherit; font-size: .88rem; font-weight: 600; color: #1a1205; background: linear-gradient(180deg, var(--gold-hi), var(--gold-mid) 55%, var(--gold-lo)); cursor: pointer; }
.apd-hint { font-size: .84rem; color: var(--muted); }
.apd-tasks { list-style: none; display: grid; gap: 8px; }
.apd-task { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; border-radius: 12px; font: inherit; font-size: .92rem; text-align: left; color: #eef1f8; background: rgba(3, 9, 26, .55); border: 1px solid rgba(255, 255, 255, .1); cursor: pointer; transition: border-color .2s, background .2s; }
.apd-task:not(:disabled):hover { border-color: rgba(232, 184, 50, .5); background: rgba(232, 184, 50, .06); }
.apd-task[data-s="done"] .apd-name { color: var(--muted); text-decoration: line-through; text-decoration-color: rgba(143, 155, 184, .6); }
.apd-task:disabled, .apd-create:disabled, .apd-new input:disabled { cursor: default; opacity: 1; }
.apd-prog { display: grid; grid-template-columns: 1fr auto; gap: 8px 12px; align-items: center; font-size: .84rem; color: var(--text); }
.apd-pct { font-weight: 600; color: var(--gold3); }
.apd-track { grid-column: 1 / -1; height: 6px; border-radius: 6px; background: rgba(255, 255, 255, .08); overflow: hidden; }
.apd-track i { display: block; height: 100%; width: var(--p); border-radius: 6px; background: linear-gradient(90deg, var(--gold-lo), var(--gold-hi)); transition: width .4s ease; }
.apd-live { font-size: .82rem; color: var(--muted); min-height: 1.3em; }
/* 05 · IA */
.flow { min-height: 0; position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; align-items: center; }
.flow-svg { position: absolute; left: 8%; right: 8%; top: 50%; width: 84%; height: 40px; transform: translateY(-50%); z-index: 0; overflow: visible; }
.node { position: relative; z-index: 1; padding: 16px 12px; text-align: center; }
.node svg { color: var(--gold3); margin-bottom: 8px; }
.node b { display: block; font-weight: 500; font-size: .86rem; color: #eef1f8; }
.node small { display: block; font-size: .72rem; color: var(--muted); line-height: 1.35; margin-top: 2px; }
.node.ai { border-color: rgba(232, 184, 50, .45); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12), 0 0 40px rgba(200, 152, 30, .16); }

/* ── Tecnología en acción ── */
.demo-s { background: linear-gradient(180deg, var(--navy) 0%, var(--navy2) 50%, var(--navy) 100%); }
.demo-box { padding: 36px; }
.demo-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 28px; }
.badge-demo { display: inline-flex; align-items: center; gap: 8px; font-size: .72rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--gold3); padding: 7px 12px; border-radius: 999px; border: 1px solid rgba(232, 184, 50, .4); background: rgba(232, 184, 50, .08); }
.demo-hint { font-size: .82rem; color: var(--muted); }
.demo-grid { display: grid; grid-template-columns: minmax(260px, .8fr) 1.2fr; gap: 36px; align-items: start; }
.demo-steps { list-style: none; position: relative; display: grid; gap: 10px; }
.demo-steps::before { content: ''; position: absolute; left: 27px; top: 28px; bottom: 28px; width: 1px; background: linear-gradient(180deg, var(--gold2), rgba(232, 184, 50, .15)); }
.ds { position: relative; width: 100%; display: grid; grid-template-columns: 56px 1fr; align-items: center; text-align: left; gap: 4px 0; padding: 14px 16px 14px 0; border-radius: 14px; border: 1px solid transparent; background: transparent; color: inherit; font: inherit; cursor: pointer; transition: background .2s, border-color .2s; }
.ds:hover { background: rgba(255, 255, 255, .03); }
.ds-n { grid-row: span 2; justify-self: center; width: 34px; height: 34px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: var(--serif); font-size: .95rem; color: var(--gold3); background: var(--navy2); border: 1px solid rgba(232, 184, 50, .45); position: relative; z-index: 1; }
.ds-t { font-weight: 500; color: #eef1f8; font-size: 1rem; }
.ds-d { font-size: .86rem; color: var(--muted); line-height: 1.45; }
.ds[aria-selected="true"] { background: linear-gradient(90deg, rgba(232, 184, 50, .1), rgba(232, 184, 50, 0)); border-color: rgba(232, 184, 50, .25); }
.ds[aria-selected="true"] .ds-n { background: linear-gradient(180deg, var(--gold-hi), var(--gold-lo)); color: #1a1205; border-color: transparent; }
.demo-panels { display: grid; gap: 16px; }
.dpanel { padding: 26px; min-height: 330px; }
.dpanel-t { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 18px; font-size: .76rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.dpanel-t b { font-weight: 500; color: var(--blue-pale); letter-spacing: .16em; }
.js .demo-box.is-tabs .dpanel[data-hidden] { display: none; }
.ui-field { padding: 12px 14px; border-radius: 10px; background: rgba(3, 9, 26, .55); border: 1px solid rgba(255, 255, 255, .1); margin-bottom: 10px; }
.ui-field small { display: block; font-size: .74rem; color: var(--muted); letter-spacing: .08em; text-transform: uppercase; }
.ui-field span { display: block; color: #eef1f8; font-size: .95rem; margin-top: 2px; }
.ui-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 14px; }
.ui-btn { display: inline-flex; align-items: center; height: 38px; padding: 0 18px; border-radius: 999px; font-size: .86rem; font-weight: 500; color: #1a1205; background: linear-gradient(180deg, var(--gold-hi), var(--gold-lo)); }
.ui-ok { display: inline-flex; align-items: center; gap: 6px; font-size: .84rem; color: #7fe0a8; }
.contact-card { display: grid; grid-template-columns: 52px 1fr; gap: 14px; align-items: center; margin-bottom: 18px; }
.avatar { width: 52px; height: 52px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: var(--serif); font-size: 1.1rem; color: #1a1205; background: linear-gradient(180deg, var(--gold-hi), var(--gold-lo)); }
.contact-card b { display: block; font-weight: 500; color: #eef1f8; }
.contact-card small { color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.chip { font-size: .76rem; padding: 6px 11px; border-radius: 999px; color: #dfe6fa; background: rgba(22, 87, 200, .18); border: 1px solid rgba(77, 142, 240, .35); }
.chip.gold { color: var(--gold3); background: rgba(232, 184, 50, .1); border-color: rgba(232, 184, 50, .38); }
.kv { display: grid; grid-template-columns: auto 1fr; gap: 8px 18px; font-size: .88rem; }
.kv dt { color: var(--muted); }
.kv dd { color: #eef1f8; }
.rule { padding: 12px 14px; border-radius: 10px; border: 1px dashed rgba(232, 184, 50, .4); color: var(--gold3); font-size: .88rem; margin-bottom: 14px; }
.actions-list { list-style: none; display: grid; gap: 10px; }
.actions-list li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; border-radius: 10px; background: rgba(3, 9, 26, .5); border: 1px solid rgba(255, 255, 255, .08); font-size: .9rem; color: #eef1f8; }
.st { flex: none; font-size: .72rem; padding: 4px 9px; border-radius: 999px; }
.st.ok { color: #7fe0a8; background: rgba(34, 200, 120, .1); border: 1px solid rgba(34, 200, 120, .3); }
.st.wait { color: var(--blue-pale); background: rgba(22, 87, 200, .15); border: 1px solid rgba(77, 142, 240, .35); }
.pipe { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-bottom: 16px; }
.pipe-col { min-height: 132px; padding: 10px; border-radius: 10px; background: rgba(3, 9, 26, .5); border: 1px solid rgba(255, 255, 255, .08); }
.pipe-col > small { display: block; font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.pipe-card { padding: 9px 10px; border-radius: 8px; font-size: .8rem; color: #eef1f8; background: rgba(22, 87, 200, .22); border: 1px solid rgba(77, 142, 240, .4); }
.pipe-card small { display: block; color: var(--blue-pale); font-size: .74rem; }
.pipe-ghost { height: 34px; border-radius: 8px; border: 1px dashed rgba(255, 255, 255, .1); }
.demo-note { margin-top: 24px; font-size: .86rem; color: var(--muted); max-width: 70ch; }

/* ── Cómo trabajamos ── */
.process { background: var(--navy); }
.steps-wrap { position: relative; }
.steps { position: relative; z-index: 1; list-style: none; display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.steps-stroke { position: absolute; left: 0; right: 0; top: -52px; width: 100%; height: 120px; pointer-events: none; z-index: 0; }
.step { position: relative; z-index: 1; padding: 30px 24px 28px; }
.step-n { display: block; font-family: var(--serif); font-size: 2.4rem; line-height: 1; margin-bottom: 18px; }
.step h3 { font-family: var(--serif); font-weight: 400; font-size: 1.3rem; color: var(--ink); margin-bottom: 10px; line-height: 1.2; }
.step p { font-size: .92rem; color: var(--text); line-height: 1.6; }
/* Escalera ascendente: el método sube como el trazo de la marca */
.step:nth-child(1) { margin-top: 96px; } .step:nth-child(2) { margin-top: 72px; } .step:nth-child(3) { margin-top: 48px; } .step:nth-child(4) { margin-top: 24px; }
.step h3, .step p { position: relative; }
.proc-note { margin-top: 40px; font-size: .9rem; color: var(--muted); }

/* ── Sobre Up Marketing (momento de descanso) ── */
.about { background: radial-gradient(60% 70% at 15% 50%, rgba(22, 87, 200, .12), transparent 70%), var(--navy2); overflow: hidden; }
.about-mark { position: absolute; right: -4%; top: 50%; width: min(520px, 46vw); transform: translateY(-50%); opacity: .07; pointer-events: none; }
.about-grid { position: relative; display: grid; grid-template-columns: 1.1fr 1fr; gap: 72px; align-items: center; }
.about .h2 { font-size: clamp(2.2rem, 4vw, 3.8rem); }
.about p { color: var(--text); font-size: 1.06rem; line-height: 1.75; margin-bottom: 16px; max-width: 58ch; }
.pillars { list-style: none; display: grid; gap: 0; }
.pillars li { display: grid; grid-template-columns: 140px 1fr; gap: 20px; padding: 26px 0; border-top: 1px solid rgba(255, 255, 255, .09); }
.pillars li:last-child { border-bottom: 1px solid rgba(255, 255, 255, .09); }
.pillars b { font-family: var(--serif); font-weight: 400; font-size: 1.3rem; color: var(--gold2); }
.pillars span { color: var(--text); font-size: .98rem; line-height: 1.6; }
.about-meta { margin-top: 28px; font-size: .86rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }

/* ── Formación (oculta hasta confirmar oferta y URL en Rookiva) ── */
.edu[hidden] { display: none !important; }
.edu-box { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; padding: 48px; }

/* ── Preguntas frecuentes ── */
.faq { background: var(--navy); }
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 72px; align-items: start; }
.faq-list { border-top: 1px solid rgba(255, 255, 255, .1); }
.faq-list details { border-bottom: 1px solid rgba(255, 255, 255, .1); }
.faq-list summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 24px 4px; font-family: var(--serif); font-size: 1.22rem; color: var(--ink); line-height: 1.35; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: ''; flex: none; width: 12px; height: 12px; border-right: 1.5px solid var(--gold2); border-bottom: 1.5px solid var(--gold2); transform: rotate(45deg) translateY(-4px); transition: transform .25s; }
.faq-list details[open] summary::after { transform: rotate(-135deg) translateY(-2px); }
.faq-list summary:hover { color: var(--gold3); }
.faq-list .ans { padding: 0 4px 26px; color: var(--text); font-size: 1rem; line-height: 1.75; max-width: 64ch; }

/* ── Contacto ── */
.contact { padding: 120px 0 100px; overflow: hidden; }
.contact-bg { position: absolute; inset: 0; z-index: -1; }
.contact-bg { background: radial-gradient(60% 70% at 85% 30%, rgba(22, 87, 200, .22), transparent 70%), radial-gradient(40% 50% at 70% 90%, rgba(200, 152, 30, .1), transparent 70%); }
.contact-art { position: absolute; inset: 0; width: 100%; height: 100%; }
.contact-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, var(--navy) 0%, rgba(3, 9, 26, .86) 45%, rgba(3, 9, 26, .55) 100%), linear-gradient(180deg, var(--navy) 0%, rgba(3, 9, 26, 0) 20%, rgba(3, 9, 26, 0) 80%, var(--navy) 100%); }
.contact-box { position: relative; padding: 64px; max-width: 760px; background: linear-gradient(180deg, rgba(20, 34, 72, .62), rgba(8, 16, 40, .7)); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.contact-stroke { position: absolute; right: 40px; top: 46px; width: 150px; height: 60px; }
.contact .h2 { font-size: clamp(2.3rem, 4.2vw, 3.8rem); }
.contact-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 34px 0 30px; }
.contact-info { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 10px 40px; padding-top: 26px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .92rem; color: var(--text); }
.contact-info small { display: block; font-size: .74rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.contact-info a { color: #eef1f8; text-decoration: none; border-bottom: 1px solid rgba(255, 255, 255, .2); }
.contact-info a:hover { color: var(--gold3); border-color: var(--gold3); }

/* ── Pie ── */
.site-footer { position: relative; z-index: 1; background: #020714; border-top: 1px solid rgba(255, 255, 255, .06); padding: 72px 0 32px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 40px; }
.foot-brand p { margin-top: 18px; color: var(--muted); font-size: .92rem; line-height: 1.65; max-width: 34ch; }
.foot-col h2 { font-size: .76rem; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--gold2); margin-bottom: 16px; }
.foot-col ul { list-style: none; display: grid; gap: 10px; }
.foot-col a { color: var(--text); text-decoration: none; font-size: .94rem; }
.foot-col a:hover { color: var(--gold3); }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .06); font-size: .82rem; color: var(--muted); }

/* ── Revelado progresivo (solo con JS; el contenido es visible sin él) ── */
.js .rv { opacity: 0; transform: translateY(22px); transition: opacity .8s ease, transform .8s ease; }
.js .rv.in { opacity: 1; transform: none; }

/* ── WhatsApp: solo en pantallas anchas, donde queda en el margen; oculto en portada y contacto ── */
.wa-f { position: fixed; bottom: 28px; right: 28px; z-index: 300; width: 54px; height: 54px; border-radius: 50%; background: #25d366; display: flex; align-items: center; justify-content: center; color: #fff; box-shadow: 0 6px 22px rgba(37, 211, 102, .4); transition: opacity .3s, visibility .3s, transform .2s; }
.wa-f:hover { transform: translateY(-2px); }
body.wa-hidden .wa-f { opacity: 0; visibility: hidden; pointer-events: none; }
@media (max-width: 1359px) { .wa-f { display: none; } }

/* ── Cursor decorativo: solo ratón real, activado por script ── */
.cursor-dot, .cursor-ring { display: none; position: fixed; top: 0; left: 0; pointer-events: none; border-radius: 50%; transform: translate(-50%, -50%); }
.cursor-dot { z-index: 100000; width: 8px; height: 8px; background: var(--gold2); transition: width .2s, height .2s, background .2s; }
.cursor-ring { z-index: 99999; width: 40px; height: 40px; border: 1px solid rgba(232, 184, 50, .5); transition: width .3s ease-out, height .3s ease-out, border-color .3s; }
.cursor-dot.hovered { width: 12px; height: 12px; background: #fff; }
.cursor-ring.hovered { width: 60px; height: 60px; border-color: rgba(255, 255, 255, .8); background: rgba(255, 255, 255, .05); }
html.has-cursor body { cursor: none; }
html.has-cursor a, html.has-cursor button, html.has-cursor summary { cursor: none; }
html.has-cursor.cursor-on .cursor-dot, html.has-cursor.cursor-on .cursor-ring { display: block; }

/* ══ Responsive ══ */
@media (max-width: 1240px) {
  .svc { padding: 40px; }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .step:nth-child(n) { margin-top: 0; }
  .steps-stroke { display: none; }
}
@media (max-width: 1100px) {
  nav.nav-v2 { height: 72px; padding: 0 20px; }
  .nav-toggle { display: flex; }
  .nav-right { gap: 14px; }
  .nav-links { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; gap: 0; padding: 12px 24px 24px; background: var(--navy); border-bottom: 1px solid var(--border); box-shadow: 0 24px 48px rgba(0, 0, 0, .45); max-height: calc(100vh - 72px); overflow-y: auto; }
  nav.open .nav-links { display: flex; }
  .nav-links li a { display: block; padding: 14px 4px; font-family: var(--sans); font-size: 1rem; color: var(--white); text-shadow: none; border-bottom: 1px solid var(--border); }
  .nav-links .nav-m-only { display: block; }
  .hero2 { min-height: 0; padding-top: 72px; background: radial-gradient(120% 55% at 85% 0%, rgba(22, 87, 200, .24) 0%, transparent 62%), radial-gradient(80% 40% at 0% 100%, rgba(200, 152, 30, .08) 0%, transparent 70%), var(--navy); }
  .hero2-content { width: auto; max-width: 680px; padding: 18px 20px 0; }
  .hero2-eyebrow { font-size: 12px; letter-spacing: .24em; margin-bottom: 16px; }
  .hero2 h1 { font-size: clamp(2.25rem, 10.4vw, 3.9rem); line-height: 1.08; margin-bottom: 16px; }
  .hero2-desc { font-size: 1.12rem; max-width: 34ch; margin-bottom: 26px; }
  .hero2-art { position: relative; inset: auto; margin-top: 10px; aspect-ratio: 972 / 614; -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 14%, #000 86%, transparent 100%); mask-image: linear-gradient(to bottom, transparent 0, #000 14%, #000 86%, transparent 100%); }
  .hero2-art img { object-position: center; }
  .hero2-art::after { display: none; }
  .hero2-note { position: static; padding: 4px 20px 20px; text-align: center; }
  .gal { padding: 30px 0 48px; }
  .gal-head { flex-wrap: wrap; gap: 10px; padding: 0 20px; margin-bottom: 16px; }
  .gal-aside { margin-left: 0; width: 100%; gap: 10px; }
  .gal-stroke { width: 64px; }
  .gal-note { font-size: .86rem; }
  .gal-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; gap: 12px; padding: 4px 20px 10px; scroll-padding-inline: 20px; scrollbar-width: thin; scrollbar-color: rgba(200, 152, 30, .5) transparent; }
  .gal-card { flex: 0 0 min(84%, 440px); aspect-ratio: 5 / 4; scroll-snap-align: start; }

  .s { padding: 96px 0; }
  .wrap { padding: 0 28px; }
  .svc { padding: 32px; gap: 28px; }
  .svc--band { grid-template-columns: 1fr; }
  .demo-grid { grid-template-columns: 1fr; }
  .demo-steps { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
  .demo-steps::before { display: none; }
  .ds { grid-template-columns: 1fr; justify-items: center; text-align: center; padding: 12px 8px; gap: 8px; }
  .ds-n { grid-row: auto; }
  .ds-d { display: none; }
  .ds-t { font-size: .86rem; line-height: 1.25; }
  .about-grid, .faq-grid { grid-template-columns: 1fr; gap: 48px; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .edu-box { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .btn-nav-v2 { display: none; }
  .nav-links .nav-m-cta { display: block; margin-top: 18px; }
  .nav-links .nav-m-cta a { border: 0; text-align: center; background: linear-gradient(180deg, var(--gold-hi), var(--gold-mid) 55%, var(--gold-lo)); color: #1a1205; font-weight: 600; border-radius: 999px; }
  .brand { gap: 10px; }
  .brand img { height: 34px; }
  .brand-name { font-size: .72rem; letter-spacing: .24em; line-height: 1.35; }
  .brand-name > span { display: block; }
  .hero2-actions, .contact-actions { flex-direction: column; }
  .hero2-actions a, .contact-actions a { width: 100%; height: 54px; }

  .s { padding: 80px 0; }
  .wrap { padding: 0 20px; }
  .s-head { margin-bottom: 44px; }
  .svc-grid { grid-template-columns: 1fr; gap: 16px; }
  .svc--wide, .svc--rev { grid-template-columns: 1fr; }
  .svc--rev > .svc-vis { order: 0; }

  .svc, .svc--band { padding: 26px 20px 30px; gap: 28px; }
  .svc-vis { min-height: 0; }
  .deliv, .svc--half .deliv { grid-template-columns: 1fr; }
  .vis-fmt { aspect-ratio: auto; }
  .vis-appd { padding: 56px 16px 18px; }
  .apd-new { flex-direction: column; }
  .apd-create { width: 100%; }
  .apd-new input { flex: none; width: 100%; }
  .flow { grid-template-columns: 1fr 1fr; }
  .flow-svg { display: none; }
  .demo-box { padding: 20px 16px; }
  .dpanel { padding: 18px; min-height: 0; }
  .pipe { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pipe-col { min-height: 0; }
  .steps { grid-template-columns: 1fr; gap: 12px; }
  .step { padding: 24px 22px; display: grid; grid-template-columns: 56px 1fr; gap: 0 12px; }
  .step-n { grid-row: span 2; font-size: 1.9rem; margin: 0; }
  .pillars li { grid-template-columns: 1fr; gap: 6px; padding: 20px 0; }
  .about-mark { width: 70vw; right: -20%; top: 18%; }
  .faq-list summary { font-size: 1.08rem; padding: 20px 2px; }
  .contact { padding: 72px 0; }
  .contact-box { padding: 36px 22px; }
  .contact-stroke { display: none; }
  .contact-info { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 380px) {
  .lang-switcher { display: none; }
  .brand { gap: 8px; }
  .brand img { height: 30px; }
  .brand-name { font-size: .72rem; letter-spacing: .12em; }
  .hero2-art { aspect-ratio: 972 / 540; }
  .hero2-content { padding-top: 10px; }
  .hero2-eyebrow { margin-bottom: 12px; }
  .hero2 h1 { font-size: 2.1rem; margin-bottom: 12px; }
  .hero2-desc { font-size: 1.02rem; margin-bottom: 20px; }
  .hero2-actions a { height: 50px; }
  .demo-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .flow { grid-template-columns: 1fr; }
  .pipe { grid-template-columns: 1fr; }
}

/* ── Movimiento reducido ── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .js .rv { opacity: 1; transform: none; }
}

/* Fase 5 · ajustes de legibilidad sobre el arte */
.camp-story { justify-content: flex-start; }
.camp-story > div:last-child { margin-top: auto; }
.cs-brand { margin-top: 2cqw; text-shadow: 0 1px 8px rgba(3, 9, 26, .9); }
.cs-h, .cf-k, .cf-h, .cf-brand { text-shadow: 0 1px 12px rgba(3, 9, 26, .85); }
.ph-art, .br-art { flex: none; }

/* Fase 6 · productos de la maqueta web */
.br-img { position: relative; overflow: hidden; isolation: isolate; }
.br-img .art-img { object-position: 50% 50%; }
.ph-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4cqw; }
/* el móvil se superpone a la derecha del navegador: esa franja queda libre para no tapar productos */
.br-cards { padding-right: 25%; }
.ph-cards .br-card { gap: .6cqw; font-size: 1.7cqw; }
.camp-plan .cp-note { margin-top: 1.6cqw; max-width: none; font-size: max(11px, 2.1cqw); line-height: 1.4; color: var(--muted); }

/* Fase 6 · marketing en móvil: más compacto, sin texto diminuto ni contenido oculto */
@media (max-width: 768px) {
  .svc--mkt { gap: 18px; padding-top: 22px; padding-bottom: 22px; }
  .svc--mkt .svc-num { margin-bottom: 12px; }
  .svc--mkt h3 { margin-bottom: 10px; }
  .svc--mkt p { line-height: 1.6; }
  .svc--mkt .deliv-t { margin: 14px 0 8px; }
  .svc--mkt .deliv { grid-template-columns: 1fr; gap: 0; }
  .svc--mkt .deliv li { padding: 9px 0 9px 20px; border-top: 1px solid rgba(255, 255, 255, .07); }
  .svc--mkt .deliv li:last-child { border-bottom: 1px solid rgba(255, 255, 255, .07); }
  .svc--mkt .deliv li::before { top: calc(9px + .7em); }
  .vis-camp { grid-template-columns: 1fr 1.15fr; gap: 8px; padding: 46px 4% 4%; }
  .camp-story { grid-row: auto; aspect-ratio: 9 / 14; }
  .camp-feed { aspect-ratio: auto; align-self: stretch; }
  .camp-search, .camp-plan { display: none; }
  .cs-brand { font-size: max(10.5px, 2.6cqw); }
  .cs-h, .cf-h { font-size: max(15px, 5cqw); }
  .cs-cta { font-size: max(11px, 2.4cqw); padding: 7px; }
  .cf-k, .cf-brand { font-size: max(10.5px, 2.2cqw); }
}

/* ══ Páginas de servicio (SEO, fase 8): misma dirección visual que la home ══ */
.page-hero { position: relative; z-index: 1; padding: 150px 0 88px; background: radial-gradient(70% 60% at 85% 18%, rgba(22, 87, 200, .22), transparent 70%), radial-gradient(50% 50% at 0% 100%, rgba(200, 152, 30, .08), transparent 70%), var(--navy); border-bottom: 1px solid rgba(255, 255, 255, .06); }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin-bottom: 30px; font-size: .88rem; color: var(--muted); }
.crumbs li + li::before { content: '/'; margin-right: 8px; color: rgba(255, 255, 255, .28); }
.crumbs a { color: var(--text); text-decoration: none; border-bottom: 1px solid transparent; }
.crumbs a:hover { color: var(--gold3); border-color: var(--gold3); }
.crumbs [aria-current] { color: #eef1f8; }
.page-hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.page-h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(2.4rem, 4.4vw, 4.1rem); line-height: 1.06; letter-spacing: -.01em; color: var(--ink); margin-bottom: 22px; }
.page-h1:focus { outline: none; }
.page-hero .lead { margin-bottom: 30px; }
.page-hero-vis { min-width: 0; }
.s-tight { padding: 88px 0; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.panel { padding: 36px; }
.panel-h { font-family: var(--serif); font-weight: 400; font-size: 1.7rem; color: var(--ink); margin-bottom: 18px; }
.checklist { list-style: none; display: grid; gap: 12px; }
.checklist li { position: relative; padding-left: 22px; color: #dfe4f2; line-height: 1.55; }
.checklist li::before { content: ''; position: absolute; left: 0; top: .72em; width: 11px; height: 1px; background: var(--gold2); }
.deliv-grid { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.dcard { padding: 28px; }
.dcard h3 { font-family: var(--serif); font-weight: 400; font-size: 1.3rem; color: var(--gold2); margin-bottom: 8px; }
.dcard p { color: var(--text); line-height: 1.65; }
.psteps { list-style: none; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.pstep { padding: 24px 20px; }
.pstep-n { display: block; font-family: var(--serif); font-size: 1.8rem; line-height: 1; margin-bottom: 14px; }
.pstep h3 { font-family: var(--serif); font-weight: 400; font-size: 1.15rem; color: var(--ink); margin-bottom: 8px; line-height: 1.25; }
.pstep p { font-size: .92rem; color: var(--text); line-height: 1.6; }
.human-note { margin-top: 18px; display: grid; gap: 10px; }
.human-note h3 { font-family: var(--serif); font-weight: 400; font-size: 1.3rem; color: var(--gold2); }
.human-note p { color: var(--text); line-height: 1.65; max-width: 70ch; }
.scope { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.scope .h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); }
.more-grid { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.more-card { display: flex; flex-direction: column; gap: 8px; height: 100%; padding: 24px; text-decoration: none; transition: border-color .2s, transform .2s; }
.more-card:hover { border-color: rgba(232, 184, 50, .5); transform: translateY(-2px); }
.more-card .svc-num { margin-bottom: 4px; }
.more-card b { font-family: var(--serif); font-weight: 400; font-size: 1.15rem; color: var(--ink); line-height: 1.25; }
.more-card span:last-child { font-size: .9rem; color: var(--text); line-height: 1.5; }
.svc-links { display: flex; flex-wrap: wrap; gap: 12px 26px; margin-top: 26px; }
.svc .svc-links .link-arrow { margin-top: 0; }
.foot-grid { grid-template-columns: 1.3fr repeat(4, minmax(0, 1fr)); }
.foot-brand .brand-name { line-height: 1.5; }
.foot-brand .brand-name > span { display: block; }
@media (max-width: 1100px) {
  .page-hero { padding: 120px 0 64px; }
  .page-hero-grid, .two-col, .scope { grid-template-columns: 1fr; gap: 32px; }
  .page-hero-vis { max-width: 620px; }
  .psteps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .more-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .page-hero { padding: 104px 0 52px; }
  .s-tight { padding: 60px 0; }
  .panel { padding: 26px 20px; }
  .deliv-grid, .psteps, .more-grid { grid-template-columns: 1fr; }
  .dcard { padding: 22px 20px; }
  .foot-grid { grid-template-columns: 1fr; }
}

/* ── Páginas sectoriales (propuesta fase 10) ── */
.sect-fig { margin: 0; }
.sect-fig img { display: block; width: 100%; height: auto; border-radius: var(--radius); border: 1px solid rgba(255, 255, 255, .08); box-shadow: 0 30px 80px rgba(0, 0, 0, .45); }
.sect-fig figcaption { margin-top: 12px; font-size: .85rem; color: var(--text); }
.sect-note { margin-top: 22px; font-size: .85rem; line-height: 1.6; color: var(--text); max-width: 620px; }
.more-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 1100px) { .more-grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 768px) { .more-grid-3 { grid-template-columns: 1fr; } }
.checklist-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 40px; }
@media (max-width: 768px) { .checklist-2 { grid-template-columns: 1fr; } }
.checklist a { color: var(--gold2); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.checklist a:hover { color: var(--ink); }

/* ── Páginas legales ── */
.page-hero-legal { padding-bottom: 56px; }
.page-hero-legal .page-h1 { max-width: 20ch; }
.legal-doc { max-width: 820px; padding: 44px 48px; }
.legal-doc h2 { font-family: var(--serif); font-weight: 400; font-size: 1.45rem; color: var(--ink); margin: 34px 0 12px; }
.legal-doc h2:first-child { margin-top: 0; }
.legal-doc p { color: #dfe4f2; line-height: 1.7; margin-bottom: 12px; max-width: 70ch; }
.legal-doc .checklist { margin: 4px 0 14px; }
.legal-doc strong { color: var(--ink); font-weight: 600; }
.legal-doc a { color: var(--gold2); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.legal-doc a:hover { color: var(--ink); }
@media (max-width: 768px) { .legal-doc { padding: 28px 20px; } .legal-doc h2 { font-size: 1.3rem; } }
