/* =========================================================
   Valia — estilos (rediseño con el lenguaje de Awwwards):
   blanco roto y tinta casi negra, Inter Tight con títulos gigantes y apretados,
   tarjetas grandes con la foto redondeada y el título debajo, líneas finas en vez
   de sombras y una barra de secciones flotante abajo.
   ========================================================= */
:root {
  --bg: #f8f8f8;
  --blanco: #ffffff;
  --ink: #222222;
  --ink-2: #444444;
  --muted: #6e6e6e;          /* 4,8:1 sobre --bg */
  --line: #e2e2e2;
  --soft: #efefef;
  --oscuro: #1c1c1c;
  --ok: #1d7a42;
  --error: #b42318;
  --radio: 8px;
  --radio-lg: 14px;
  --header-h: 72px;
  --gutter: clamp(16px, 2.2vw, 32px);
  --font: "Inter Tight", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --logo-accent: #f26b21;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.6; font-weight: 400;
  color: var(--ink-2); background: var(--bg); -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--ink); }
h1, h2, h3 { font-family: var(--font); color: var(--ink); font-weight: 600; line-height: 1.05; letter-spacing: -.03em; margin: 0 0 .5em; }
h3 { font-size: 1.25rem; letter-spacing: -.02em; }
p { margin: 0 0 1em; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 4px; }
.ico { width: 1.15em; height: 1.15em; flex: none; }
.contenedor { width: min(1440px, 100% - 2 * var(--gutter)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.saltar { position: absolute; left: 16px; top: -100px; z-index: 200; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: var(--radio); text-decoration: none; }
.saltar:focus { top: 12px; }

/* ---------- Tipografía de titulares ---------- */
.titular { font-size: clamp(64px, 13vw, 210px); line-height: .86; letter-spacing: -.065em; margin: 0; }
.gigante { font-size: clamp(56px, 10.5vw, 168px); line-height: .88; letter-spacing: -.06em; text-transform: uppercase; margin: 0; }
.gigante sup { display: inline-grid; place-items: center; min-width: 1.9em; height: 1.9em; margin-left: .25em; padding: 0 .5em; font-size: .13em; letter-spacing: 0; vertical-align: top; border-radius: 99px; background: var(--ink); color: #fff; position: relative; top: .5em; }
.gigante--claro { color: #fff; }
.grande { font-size: clamp(38px, 5.2vw, 72px); line-height: .98; letter-spacing: -.045em; margin: 0; }
.etiqueta { display: block; font-size: 14px; font-weight: 400; color: var(--ink); margin-bottom: 20px; letter-spacing: 0; }
.etiqueta--clara { color: rgba(255,255,255,.7); }

/* ---------- Botones y enlaces ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  height: 46px; padding: 0 22px; border-radius: var(--radio); border: 1px solid transparent;
  font-size: 15px; font-weight: 500; text-decoration: none; white-space: nowrap; line-height: 1;
  transition: background-color .2s, color .2s, border-color .2s;
}
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: #000; }
.btn--outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--outline:hover { background: var(--ink); color: #fff; }
.btn--claro { background: #fff; color: var(--ink); }
.btn--claro:hover { background: var(--soft); }
.btn--lg { height: 56px; padding: 0 28px; font-size: 16px; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: progress; }
.enlace { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; color: var(--ink); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.enlace .ico { transition: transform .25s var(--ease); }
.enlace:hover .ico { transform: translateX(3px); }
.enlace--suave { color: var(--muted); }

/* ---------- Cabecera ---------- */
.header { position: sticky; top: 0; z-index: 50; height: var(--header-h); background: rgba(248,248,248,.88); backdrop-filter: saturate(160%) blur(14px); border-bottom: 1px solid transparent; transition: border-color .3s; }
.header.is-scrolled { border-color: var(--line); }
.header__inner { height: 100%; padding: 0 var(--gutter); display: flex; align-items: center; gap: 28px; }
.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; flex: none; }
.logo__marca { display: block; width: 83px; height: 25px; }
.nav { display: flex; align-items: center; gap: 2px; flex: 1; }
.nav > a { position: relative; color: var(--ink); text-decoration: none; font-size: 15px; padding: 8px 10px; border-radius: 6px; white-space: nowrap; display: inline-flex; align-items: center; gap: 6px; }
.nav > a:hover, .nav > a.is-current { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px; }
.nuevo { font-size: 11px; font-weight: 600; line-height: 1; background: var(--ink); color: #fff; padding: 4px 6px; border-radius: 4px; }
.nav__acciones { margin-left: auto; display: flex; gap: 8px; }
.nav__acciones .btn { height: 42px; padding: 0 18px; font-size: 14px; }
.menu-btn { display: none; margin-left: auto; width: 44px; height: 44px; border: 1px solid var(--ink); border-radius: var(--radio); background: none; padding: 0; place-content: center; gap: 6px; }
.menu-btn span { display: block; width: 18px; height: 1.5px; background: var(--ink); transition: transform .3s var(--ease); }
.menu-btn[aria-expanded="true"] span:first-child { transform: translateY(3.75px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:last-child { transform: translateY(-3.75px) rotate(-45deg); }

/* ---------- Portada ---------- */
.portada { padding: clamp(36px, 6vw, 72px) var(--gutter) clamp(36px, 5vw, 60px); text-align: center; }
.meta { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 6px 12px; font-size: 14px; color: var(--ink); margin: 0 0 clamp(20px, 3vw, 36px); }
.meta__chip { border: 1px solid #cfcfcf; border-radius: 6px; padding: 2px 9px; }
.portada__lead { max-width: 46ch; margin: clamp(24px, 3vw, 36px) auto 0; font-size: clamp(17px, 1.5vw, 20px); line-height: 1.5; color: var(--ink-2); }
.portada__acciones { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-top: 28px; }

/* ---------- Escena del portátil (en su marco, como la captura del «sitio del día») ---------- */
.escena { position: relative; height: 380vh; }
.escena__fijo { position: sticky; top: var(--header-h); height: calc(100svh - var(--header-h)); padding: 0 var(--gutter) var(--gutter); }
.escena__marco { position: relative; height: 100%; border-radius: var(--radio-lg); overflow: hidden; background: radial-gradient(70% 70% at 50% 45%, #fbfbfb 0%, #ececec 70%, #e6e6e6 100%); }
.escena__lienzo { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.escena__texto { position: absolute; inset: 0; pointer-events: none; }
.escena__t { position: absolute; will-change: opacity, transform; }
.escena__t a { pointer-events: auto; }
.escena__t--inicio { left: 0; right: 0; top: 24px; text-align: center; }
.escena__t--inicio .etiqueta { margin: 0; color: var(--muted); }
.escena__t--lado { left: 5%; top: 50%; translate: 0 -50%; max-width: min(400px, 32vw); }
.escena__t--der { left: auto; right: 5%; text-align: right; }
.escena__t--lado .etiqueta { color: var(--muted); }
.escena__t--lado h2 { font-size: clamp(32px, 3.6vw, 56px); line-height: .98; letter-spacing: -.045em; }
.escena__t--lado p { font-size: 17px; color: var(--ink-2); margin: 0; }
.escena__t--final { left: 0; right: 0; bottom: 8%; text-align: center; }
.escena__rotulo { position: absolute; left: 50%; top: 20px; translate: -50% 0; margin: 0; padding: 8px 14px; border-radius: var(--radio); background: #fff; border: 1px solid var(--line); font-size: 14px; font-weight: 500; color: var(--ink); white-space: nowrap; transition: opacity .3s; }
.escena__rotulo:empty { opacity: 0; }
.escena__plano { display: none; width: min(860px, 90%); margin: 0 auto; border-radius: var(--radio); overflow: hidden; border: 1px solid var(--line); }
.escena.sin-3d { height: auto; }
.escena.sin-3d .escena__fijo { position: relative; top: 0; height: auto; }
.escena.sin-3d .escena__marco { height: auto; padding: clamp(28px, 5vw, 64px) 0; }
.escena.sin-3d .escena__plano { display: block; }
.escena.sin-3d .escena__texto, .escena.sin-3d .escena__rotulo, .escena.sin-3d canvas { display: none; }

/* ---------- Franja ---------- */
.strip { overflow: hidden; border-block: 1px solid var(--line); padding: 18px 0; margin-top: clamp(40px, 6vw, 80px); }
.strip__track { display: flex; width: max-content; animation: marquee 34s linear infinite; font-size: clamp(18px, 1.6vw, 24px); font-weight: 500; letter-spacing: -.02em; color: var(--ink); }
.strip__track span { display: inline-flex; align-items: center; gap: 28px; padding-right: 28px; white-space: nowrap; }
.strip__track span::after { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--ink); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Secciones ---------- */
.seccion { padding: clamp(80px, 11vw, 160px) 0; }
.seccion--blanca { background: var(--blanco); }
.cabeza { margin-bottom: clamp(40px, 5.5vw, 80px); }
.cabeza > p { max-width: 52ch; font-size: 18px; color: var(--muted); margin: 24px 0 0; }
.cabeza--centro { text-align: center; }
.cabeza--centro > p { margin-inline: auto; }
.cabeza--fila { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 28px; }

/* ---------- Funciones: tarjetas grandes, foto arriba y título debajo ---------- */
/* una tarjeta por fila, a todo el ancho */
.tarjetas { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(48px, 6vw, 88px); }
.tesela { display: flex; flex-direction: column; gap: 14px; color: var(--ink); text-decoration: none; }
.tesela__img { display: block; aspect-ratio: 16 / 9; border-radius: 10px; overflow: hidden; background: #dedede; }
.tesela__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.tesela:hover .tesela__img img { transform: scale(1.035); }
/* la captura del torno tiene una raya en el borde: un poco de zoom la deja fuera */
.tesela__img--recorte img { scale: 1.02; }
.tesela__txt { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 12px; }
.tesela__txt strong { font-size: clamp(19px, 1.5vw, 22px); font-weight: 600; letter-spacing: -.025em; }
.tesela__txt em { font-style: normal; font-size: 15px; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.tesela__txt em::before { content: "en"; display: inline-block; margin-right: 8px; color: var(--muted); text-decoration: none; }
.tesela small { font-size: 15px; color: var(--muted); margin-top: -6px; }
.mas { text-align: center; color: var(--muted); font-size: 15px; margin: clamp(48px, 6vw, 80px) 0 0; display: flex; justify-content: center; align-items: center; gap: 18px; flex-wrap: wrap; }

/* ---------- «Y lo de siempre»: apartado corto en franja blanca, cinco tarjetas en una fila ---------- */
.siempre { background: var(--blanco); padding: clamp(56px, 7vw, 96px) 0; }
.siempre .cabeza { margin-bottom: clamp(28px, 3.5vw, 44px); }
.siempre .cabeza > p { margin: 0; max-width: 40ch; font-size: 17px; }
.siempre__grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.siempre__item { display: flex; flex-direction: column; gap: 6px; padding: 22px 20px 24px; background: var(--bg); border: 1px solid var(--line); border-radius: 10px; transition: border-color .25s, translate .25s var(--ease); }
.siempre__item:hover { border-color: var(--ink); translate: 0 -3px; }
.siempre__item .ico { width: 40px; height: 40px; padding: 10px; margin-bottom: 14px; border-radius: var(--radio); background: var(--ink); color: #fff; }
.siempre__item h3 { margin: 0; font-size: 18px; font-weight: 600; letter-spacing: -.025em; line-height: 1.2; }
.siempre__item p { margin: 0; font-size: 15px; line-height: 1.45; color: var(--muted); }
/* página de ejemplos: el título va arriba del todo */
.seccion--primera { padding-top: clamp(36px, 6vw, 72px); }

/* ---------- Proceso ---------- */
.proceso__inner { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.paso { display: grid; grid-template-columns: 64px 1fr; gap: 12px; border-top: 1px solid var(--line); padding: 32px 0; margin-bottom: 14vh; opacity: .35; transition: opacity .4s, border-color .4s; }
.paso:last-child { margin-bottom: 6vh; }
.paso.is-on { opacity: 1; border-color: var(--ink); }
.paso__n { font-size: 14px; color: var(--muted); padding-top: 8px; }
.paso h3 { font-size: clamp(24px, 2.6vw, 38px); letter-spacing: -.04em; margin: 0 0 12px; }
.paso p { color: var(--muted); margin: 0; font-size: 17px; }
.proceso__pantalla { position: sticky; top: calc(var(--header-h) + 8vh); }
.navegador { position: relative; border-radius: 12px; overflow: hidden; background: #fff; border: 1px solid var(--line); box-shadow: 0 30px 60px -20px rgba(0,0,0,.12); }
.navegador__barra { display: flex; align-items: center; gap: 6px; height: 38px; padding: 0 14px; background: var(--soft); border-bottom: 1px solid var(--line); }
.navegador__barra i { width: 10px; height: 10px; border-radius: 50%; background: #cfcfcf; }
.navegador__barra span { margin-left: 12px; flex: 1; max-width: 320px; font-size: 13px; color: var(--ink-2); background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: 3px 12px; transition: color .3s; }
.proceso[data-estado="3"] .navegador__barra span { color: var(--ok); font-weight: 600; }
.navegador canvas { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; }
.navegador__sello { position: absolute; right: 14px; bottom: 14px; padding: 8px 12px; border-radius: 6px; background: var(--ink); color: #fff; font-size: 13px; font-weight: 500; }

/* ---------- Frase que se ilumina ---------- */
.frase { padding: clamp(100px, 15vw, 220px) 0; text-align: center; border-top: 1px solid var(--line); }
.frase__texto { font-size: clamp(32px, 5vw, 76px); font-weight: 600; line-height: 1.02; letter-spacing: -.045em; color: var(--ink); max-width: 20ch; margin: 0 auto; }
.frase__texto span { opacity: var(--o, .14); transition: opacity .25s linear; }

/* ---------- Quiénes somos ---------- */
.about { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.destacado { font-size: clamp(20px, 2vw, 27px); line-height: 1.35; letter-spacing: -.02em; color: var(--ink); }
.about__text > p:not(.destacado) { color: var(--muted); font-size: 17px; max-width: 56ch; }
.features { display: grid; grid-template-columns: 1fr 1fr; column-gap: 28px; margin-top: 40px; }
.feature { border-top: 1px solid var(--line); padding: 22px 0 26px; }
.feature .ico { width: 22px; height: 22px; color: var(--ink); }
.feature h3 { font-size: 18px; margin: 14px 0 6px; }
.feature p { color: var(--muted); font-size: 15px; margin: 0; }
.techcard { background: var(--oscuro); color: #cfcfcf; border-radius: var(--radio-lg); padding: clamp(28px, 3.4vw, 48px); }
.techcard__title { display: flex; align-items: center; gap: 10px; margin: 0 0 18px; color: #fff; font-size: 15px; font-weight: 500; }
.techcard ul { list-style: none; padding: 0; margin: 0; }
.techcard li { display: grid; grid-template-columns: 110px 1fr; gap: 16px; align-items: center; padding: 18px 0; border-top: 1px solid rgba(255,255,255,.1); }
.techcard strong { font-size: clamp(26px, 2.6vw, 36px); font-weight: 600; letter-spacing: -.04em; color: #fff; }
.techcard span { font-size: 15px; line-height: 1.45; }

/* ---------- Por sector ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filters--centro { justify-content: center; margin: calc(clamp(40px, 5.5vw, 80px) * -.5) 0 clamp(36px, 4.5vw, 64px); }
.chip { height: 40px; padding: 0 16px; border-radius: var(--radio); border: 1px solid var(--line); background: transparent; color: var(--ink); font-size: 14px; font-weight: 500; transition: .2s; }
.chip:hover { border-color: var(--ink); }
.chip.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }
.products { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(48px, 5vw, 72px) clamp(16px, 2vw, 28px); }
.product { display: flex; flex-direction: column; gap: 12px; }
.product.is-hidden { display: none; }
.product__img { display: block; aspect-ratio: 16 / 10; border-radius: 10px; overflow: hidden; background: #dedede; }
.product__img img { width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform .9s var(--ease); }
.product:hover .product__img img { transform: scale(1.035); }
.product__fila { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 12px; margin-top: 4px; }
.product h2, .product h3 { font-size: clamp(20px, 1.6vw, 24px); margin: 0; }
.badge { font-size: 13px; border: 1px solid var(--line); border-radius: 6px; padding: 2px 8px; color: var(--ink-2); }
.product > p { color: var(--muted); margin: 0; }
.specs { display: flex; flex-wrap: wrap; gap: 6px; }
.specs span { background: var(--soft); border-radius: 6px; padding: 3px 9px; font-size: 13px; color: var(--ink-2); }
.product__acciones { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.product .enlace { align-self: flex-start; }
.product--cta { background: var(--oscuro); color: #cfcfcf; border-radius: var(--radio-lg); padding: clamp(28px, 4vw, 52px); justify-content: center; }
.product--cta h2, .product--cta h3 { color: #fff; font-size: clamp(26px, 2.6vw, 38px); letter-spacing: -.04em; line-height: 1.02; }
.product--cta .btn { align-self: flex-start; margin-top: 12px; }

/* ---------- Llamada ---------- */
.cta { padding: clamp(80px, 10vw, 140px) 0 0; }
.cta__inner { background: var(--oscuro); color: #cfcfcf; border-radius: var(--radio-lg); padding: clamp(44px, 7vw, 110px) clamp(24px, 5vw, 80px); }
.cta__fila { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px; margin-top: clamp(32px, 4vw, 56px); padding-top: 28px; border-top: 1px solid rgba(255,255,255,.12); }
.cta__fila p { margin: 0; font-size: 18px; }

/* ---------- Contacto ---------- */
.contact { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.info-list { list-style: none; padding: 0; margin: 0 0 28px; }
.info-list li { display: flex; gap: 16px; border-top: 1px solid var(--line); padding: 20px 0; }
.info-list .ico { width: 22px; height: 22px; margin-top: 2px; color: var(--ink); }
.info-list strong { color: var(--ink); font-weight: 600; font-size: 15px; }
.info-list p { margin: 4px 0 0; color: var(--muted); }
.info-list a { color: var(--ink-2); text-decoration: none; }
.info-list a:hover { text-decoration: underline; text-underline-offset: 4px; }
.open-status { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; font-size: 13px; font-weight: 500; padding: 3px 10px; border-radius: 6px; border: 1px solid var(--line); }
.open-status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.open-status.is-open { color: var(--ok); }
.open-status.is-closed { color: var(--muted); }
.brief { background: var(--blanco); border: 1px solid var(--line); border-radius: 12px; padding: 24px 26px; }
.brief__title { font-weight: 600; color: var(--ink); margin: 0 0 14px; }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; font-size: 15px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; }
.ticks .ico { color: var(--ink); margin-top: .2em; }
.form { background: var(--blanco); border: 1px solid var(--line); border-radius: var(--radio-lg); padding: clamp(24px, 3.6vw, 48px); }
.form h3 { font-size: clamp(24px, 2.2vw, 30px); letter-spacing: -.035em; margin-bottom: 10px; }
.form__note { margin: 0 0 24px; font-size: 14px; color: var(--muted); }
.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 16px; }
.field span { display: block; font-size: 14px; font-weight: 500; color: var(--ink); margin-bottom: 8px; }
.field--full { grid-column: 1 / -1; }
input[type="text"], input[type="email"], input[type="tel"], select, textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--ink); background: #f3f3f3;
  padding: 14px 16px; border: 1px solid transparent; border-radius: var(--radio); transition: border-color .2s, background-color .2s, box-shadow .2s;
}
input:focus, select:focus, textarea:focus { outline: none; background: #fff; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(34,34,34,.1); }
textarea { resize: vertical; }
.field.is-invalid input, .field.is-invalid select, .field.is-invalid textarea { border-color: var(--error); background: #fff; }
.field__error { display: block; margin-top: 6px; font-size: 13px; font-weight: 500; color: var(--error); }
.field__error[hidden] { display: none; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--muted); margin: 22px 0; }
.check input { margin-top: 4px; accent-color: var(--ink); flex: none; }
.check a { color: var(--ink); font-weight: 500; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__error { color: var(--error); font-weight: 500; margin: 12px 0 0; font-size: 14px; }
.form__demo { margin: 14px 0 0; padding: 10px 14px; border-radius: var(--radio); background: var(--soft); color: var(--ink-2); font-size: 14px; }

/* ---------- Pie ---------- */
.footer { border-top: 1px solid var(--line); padding: clamp(64px, 8vw, 100px) 0 120px; font-size: 15px; color: var(--muted); }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.footer__lema { font-size: clamp(20px, 1.8vw, 26px); line-height: 1.25; letter-spacing: -.03em; font-weight: 500; color: var(--ink); max-width: 22ch; }
.footer__title { font-size: 14px; color: var(--muted); margin: 0 0 16px; }
.footer a { display: block; color: var(--ink); text-decoration: none; margin-bottom: 10px; }
.footer a:hover { text-decoration: underline; text-underline-offset: 4px; }
.social { display: flex; gap: 8px; }
.social a { display: grid; place-items: center; width: 44px; height: 44px; border-radius: var(--radio); border: 1px solid var(--line); margin: 0; }
.social a:hover { border-color: var(--ink); text-decoration: none; }
.footer__marca { margin-top: clamp(56px, 8vw, 110px); margin-bottom: clamp(24px, 3vw, 40px); color: var(--ink); }
.footer__logo { display: block; width: min(100%, 980px); height: auto; aspect-ratio: 332 / 100; }
.footer__credits { font-size: 13px; line-height: 1.6; }
.footer__credits a { display: inline; margin: 0; text-decoration: underline; }
.footer__bottom { border-top: 1px solid var(--line); margin-top: 28px; padding-top: 22px; font-size: 14px; display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; }
.footer__legal { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.footer__legal a { margin: 0; }

/* ---------- Flotantes: barra de secciones, volver arriba y WhatsApp ---------- */
.dock {
  position: fixed; left: 50%; bottom: 20px; z-index: 60; translate: -50% 24px; opacity: 0; pointer-events: none;
  display: flex; align-items: center; gap: 4px; padding: 6px; border-radius: 12px;
  background: rgba(34,34,34,.94); backdrop-filter: blur(12px); border: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 16px 40px rgba(0,0,0,.18); transition: opacity .35s var(--ease), translate .35s var(--ease);
}
.dock.is-visible { opacity: 1; translate: -50% 0; pointer-events: auto; }
.dock a { height: 44px; display: inline-flex; align-items: center; padding: 0 14px; border-radius: var(--radio); border: 1px solid transparent; color: #e6e6e6; font-size: 14px; font-weight: 500; text-decoration: none; white-space: nowrap; transition: background-color .2s, border-color .2s; }
.dock a:hover { background: rgba(255,255,255,.08); }
.dock a.is-current { border-color: rgba(255,255,255,.4); }
.dock .dock__logo { width: 44px; padding: 0; justify-content: center; background: #111; }
.dock__logo svg { width: 24px; height: 24px; color: #fff; }
.dock .dock__cta { background: var(--bg); color: var(--ink); margin-left: 4px; }
.dock .dock__cta:hover { background: #fff; }
.arriba { position: fixed; left: 20px; bottom: 20px; z-index: 60; width: 52px; height: 52px; display: grid; place-items: center; border-radius: var(--radio); background: var(--ink); color: #fff; opacity: 0; pointer-events: none; transition: opacity .35s; }
.arriba.is-visible { opacity: 1; pointer-events: auto; }
.arriba:hover { background: #000; }
.footer .wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 60; width: 52px; height: 52px; display: grid; place-items: center; margin: 0; border-radius: var(--radio); background: var(--ink); color: #fff; transition: background-color .2s; }
.footer .wa-float .ico { width: 26px; height: 26px; }
.footer .wa-float:hover { background: #128C7E; text-decoration: none; }
.toast { position: fixed; left: 50%; bottom: 90px; z-index: 120; translate: -50% 150%; opacity: 0; display: flex; gap: 14px; align-items: center; background: var(--ink); color: rgba(255,255,255,.8); padding: 16px 22px; border-radius: 12px; transition: .4s; max-width: calc(100% - 32px); }
.toast.show { translate: -50% 0; opacity: 1; }
.toast .ico { width: 30px; height: 30px; padding: 6px; border-radius: 6px; background: #fff; color: var(--ink); }
.toast strong { color: #fff; }
.toast p { margin: 0; font-size: 14px; }
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(10,10,10,.9); display: grid; place-items: center; padding: 24px; }
.lightbox[hidden] { display: none; }
.lightbox img { max-height: 88vh; border-radius: 10px; }
.lightbox__close { position: absolute; top: 16px; right: 20px; background: none; border: 0; color: #fff; font-size: 2.4rem; line-height: 1; }

/* ---------- Animaciones de entrada ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .menu-btn { display: grid; }
  .nav {
    position: fixed; top: var(--header-h); left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--bg); padding: 8px var(--gutter) 24px; border-bottom: 1px solid var(--line);
    transform: translateY(-8px); opacity: 0; visibility: hidden; transition: .25s;
  }
  .nav.nav-open { transform: none; opacity: 1; visibility: visible; }
  .nav > a { font-size: clamp(26px, 6vw, 36px); font-weight: 600; letter-spacing: -.04em; padding: 10px 0; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav__acciones { margin: 18px 0 0; }
  .nav__acciones .btn { flex: 1; height: 50px; }
}
@media (max-width: 960px) {
  .about, .contact, .proceso__inner { grid-template-columns: minmax(0, 1fr); }
  .proceso__pantalla { order: -1; top: calc(var(--header-h) + 10px); z-index: 2; }
  .paso { margin-bottom: 10vh; background: var(--bg); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .siempre__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .siempre__item:last-child { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .products { grid-template-columns: minmax(0, 1fr); }
  .tesela__img { aspect-ratio: 4 / 3; }
  .escena { height: 320vh; }
  .escena__t--lado, .escena__t--der { left: 20px; right: 20px; top: auto; bottom: 64px; translate: none; text-align: left; max-width: none; }
  .escena__rotulo { font-size: 12px; top: 14px; }
  .features, .form__grid { grid-template-columns: 1fr; }
  .techcard li { grid-template-columns: 80px 1fr; }
  .dock a:nth-child(3) { display: none; }
  .cta__fila .btn { width: 100%; }
}
@media (max-width: 560px) {
  .footer__grid { grid-template-columns: 1fr; }
  /* en el móvil la barra se queda con el logo y «Presupuesto», a la izquierda (a la derecha va WhatsApp) */
  .dock { left: 16px; translate: 0 24px; }
  .dock.is-visible { translate: 0 0; }
  .dock a:nth-child(2), .dock a:nth-child(4) { display: none; }
  /* en el móvil, cada punto en una fila con el icono a la izquierda: más corto al bajar */
  .siempre .cabeza > p { display: none; }
  .siempre__grid { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .siempre__item { display: grid; grid-template-columns: 36px 1fr; column-gap: 14px; row-gap: 2px; align-items: center; padding: 14px 16px; }
  .siempre__item .ico { grid-row: span 2; width: 36px; height: 36px; padding: 9px; margin: 0; }
  .siempre__item h3 { font-size: 16px; }
  .siempre__item p { font-size: 14px; }
  .portada__acciones .btn { width: 100%; }
  .arriba { display: none; }
}
