/* Quberna Network · quberna.es
   Tokens y reglas del manual de marca v1.0: cobalto, tinta y menta; Sora, Geist y Geist Mono;
   radios 4/6/8/12, sin sombras; la menta solo sobre tinta o cobalto y en muy poca cantidad. */

@font-face { font-family: Sora; src: url(/fuentes/sora.woff2) format('woff2'); font-weight: 600 800; font-display: swap; }
@font-face { font-family: Geist; src: url(/fuentes/geist.woff2) format('woff2'); font-weight: 400 600; font-display: swap; }
@font-face { font-family: 'Geist Mono'; src: url(/fuentes/geist-mono.woff2) format('woff2'); font-weight: 400 500; font-display: swap; }

:root {
  --cobalt: #2340d8;
  --ink: #0d1330;
  --ink-2: #161d40;
  --mint: #3ddbb1;
  --cobalt-light: #7c93ff;
  --ice: #dce3ff;

  --bg: #ffffff;
  --bg-alt: #f1f3fa;
  --fg: #0d1330;
  --fg-2: #4a5370;
  --fg-3: #5f6785;
  --line: #e2e5f0;
  --line-2: #c9cee0;
  --link: #2340d8;
  --icon-bg: #dce3ff;
  --icon-fg: #2340d8;

  --display: Sora, system-ui, sans-serif;
  --text: Geist, system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
  --mono: 'Geist Mono', ui-monospace, 'SF Mono', Menlo, Consolas, monospace;

  --ancho: 1160px;
  --borde: clamp(18px, 4vw, 40px);
  --cabecera: 72px;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #080c20;
    --bg-alt: #0d1330;
    --fg: #eef0f7;
    --fg-2: #c3c8db;
    --fg-3: #9aa1bc;
    --line: #242c52;
    --line-2: #2a3150;
    --link: #9aabff;
    --icon-bg: #161d40;
    --icon-fg: #9aabff;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--cabecera) + 16px); }
body { margin: 0; background: var(--bg); color: var(--fg); font: 400 16px/1.6 var(--text); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: var(--link); text-underline-offset: 0.2em; }
svg { display: block; }
::selection { background: #dce3ff; color: #0d1330; }
:focus-visible { outline: 3px solid var(--mint); outline-offset: 2px; border-radius: 4px; }
/* Sobre claro la menta no se ve: el foco va en cobalto */
.claro :focus-visible { outline-color: var(--link); }

.oculto { position: absolute; }
.caja { width: 100%; max-width: calc(var(--ancho) + 2 * var(--borde)); margin-inline: auto; padding-inline: var(--borde); }
.saltar { position: absolute; left: 16px; top: -100px; z-index: 30; background: #fff; color: var(--ink); padding: 12px 16px; border-radius: 8px; font-weight: 600; }
.saltar:focus { top: 16px; }

/* ─── Piezas ─── */

.etiqueta { display: inline-flex; align-items: center; gap: 10px; font: 500 12px/1.4 var(--mono); letter-spacing: 0.16em; text-transform: uppercase; color: var(--fg-3); }
.etiqueta::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--link); flex: none; }
.t1 { font: 700 clamp(1.9rem, 4vw, 2.75rem)/1.08 var(--display); letter-spacing: -0.035em; text-wrap: balance; }
.t1 em { font-style: normal; color: var(--link); }
.entradilla { font-size: clamp(1.0625rem, 1.5vw, 1.25rem); line-height: 1.5; color: var(--fg-2); max-width: 36em; text-wrap: pretty; }

.boton { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 22px; border-radius: 8px; border: 1.5px solid transparent; font: 600 15.5px/1 var(--text); text-decoration: none; white-space: nowrap; transition: background-color 0.15s, border-color 0.15s, color 0.15s; }
.boton svg { width: 18px; height: 18px; flex: none; transition: transform 0.2s; }
.boton:hover svg { transform: translateX(3px); }
.boton-principal { background: var(--cobalt); color: #fff; }
.boton-principal:hover { background: #2c4bea; }
.boton-linea { border-color: #2a3150; color: #fff; }
.boton-linea:hover { border-color: #9aa1bc; }
.boton-blanco { background: #fff; color: var(--cobalt); }
.boton-blanco:hover { background: #dce3ff; }
.boton-menor { min-height: 44px; padding: 0 18px; font-size: 15px; }

#mark circle { fill: var(--node, #3ddbb1); }
.logo { display: inline-flex; align-items: center; gap: 0.26em; color: #fff; text-decoration: none; font-size: 25px; line-height: 1; }
.logo .marca { width: 1.72em; height: 1.72em; flex: none; }
.logo-texto { display: flex; flex-direction: column; gap: 0.2em; }
.logo-nombre { font: 700 1em/1 var(--display); letter-spacing: -0.045em; }
/* «Network» se reparte letra a letra hasta ocupar el ancho de «Quberna» */
.logo-red { display: flex; justify-content: space-between; padding-inline: 0.05em; font: 500 0.36em/1 var(--mono); text-transform: uppercase; }
.logo-red i { font-style: normal; }

/* ─── Cabecera ─── */

.tinta { background: var(--ink); color: #fff; }
.cabecera { position: sticky; top: 0; z-index: 20; background: rgba(13, 19, 48, 0.86); -webkit-backdrop-filter: blur(14px) saturate(1.4); backdrop-filter: blur(14px) saturate(1.4); border-bottom: 1px solid rgba(124, 147, 255, 0.14); color: #fff; }
/* En la portada va encima de la tinta (deja ver la malla al bajar); en las demás páginas, maciza */
.cabecera:not(.solida) { margin-bottom: calc(-1 * var(--cabecera) - 1px); }
.cabecera:not(.solida) + * { padding-top: calc(var(--cabecera) + 1px); }
.cabecera.solida { background: var(--ink); }
.cabecera .caja { display: flex; align-items: center; gap: 24px; min-height: var(--cabecera); }
.menu { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.menu a:not(.boton) { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: 8px; color: #c9cee0; font-weight: 500; font-size: 15px; text-decoration: none; transition: color 0.15s, background-color 0.15s; }
.menu a:not(.boton):hover { color: #fff; background: rgba(124, 147, 255, 0.1); }
.menu .boton { margin-left: 12px; }

/* ─── Portada ─── */

.portada { position: relative; overflow: hidden; isolation: isolate; }
/* Malla isométrica del manual, muy tenue, y dos resplandores cobalto detrás de la plataforma */
.portada::before { content: ''; position: absolute; inset: 0; z-index: -2; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='103.92' height='60'%3E%3Cpath d='M0 0 103.92 60M103.92 0 0 60' fill='none' stroke='%23182048' stroke-width='1'/%3E%3C/svg%3E"); -webkit-mask-image: linear-gradient(to bottom, #000 30%, transparent 96%); mask-image: linear-gradient(to bottom, #000 30%, transparent 96%); }
.portada::after { content: ''; position: absolute; z-index: -1; inset: 0; background: radial-gradient(52% 62% at 74% 46%, rgba(35, 64, 216, 0.55), rgba(35, 64, 216, 0.14) 58%, transparent 78%), radial-gradient(34% 40% at 8% 100%, rgba(35, 64, 216, 0.22), transparent 70%); animation: respira 9s ease-in-out infinite; }
@keyframes respira { 50% { opacity: 0.72; } }
.portada .caja { position: relative; display: flex; align-items: center; min-height: min(calc(100vh - var(--cabecera)), 860px); padding-block: clamp(56px, 8vw, 104px) clamp(72px, 9vw, 120px); }
.portada-texto { position: relative; z-index: 2; max-width: 640px; }
.portada h1 { font: 700 clamp(2.6rem, 6vw, 4.75rem)/1.02 var(--display); letter-spacing: -0.05em; text-wrap: balance; }
.portada h1 span { color: var(--cobalt-light); }
.portada .entradilla { margin-top: 26px; color: #c9cee0; max-width: 30em; }
.acciones { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 38px; }
.oficios { display: flex; flex-wrap: wrap; gap: 6px 22px; margin-top: 44px; padding-top: 22px; border-top: 1px solid #242c52; font: 400 13px/1.5 var(--mono); color: #9aa1bc; }
.oficios li { display: inline-flex; align-items: center; gap: 8px; }
.oficios svg { width: 14px; height: 14px; color: var(--cobalt-light); }

/* La plataforma se sale por la derecha y se funde por abajo y hacia el texto */
.escena { position: absolute; z-index: 1; top: 0; bottom: 0; right: calc(-1 * var(--borde) - 9vw); width: min(60vw, 880px); display: grid; align-items: center; pointer-events: none; }
.terreno { width: 100%; height: auto; overflow: visible; -webkit-mask-image: linear-gradient(to bottom, #000 66%, transparent 97%), linear-gradient(to right, transparent 2%, #000 34%); -webkit-mask-composite: source-in; mask-image: linear-gradient(to bottom, #000 66%, transparent 97%), linear-gradient(to right, transparent 2%, #000 34%); mask-composite: intersect; }
.ola { animation: ola 5.2s ease-in-out infinite; }
.o1 { animation-delay: -0.52s; } .o2 { animation-delay: -1.04s; } .o3 { animation-delay: -1.56s; } .o4 { animation-delay: -2.08s; }
.o5 { animation-delay: -2.6s; } .o6 { animation-delay: -3.12s; } .o7 { animation-delay: -3.64s; } .o8 { animation-delay: -4.16s; } .o9 { animation-delay: -4.68s; }
@keyframes ola { 0%, 100% { transform: translateY(9px); } 50% { transform: translateY(-9px); } }
.haz { fill: none; stroke: var(--cobalt-light); stroke-width: 2; stroke-linecap: round; stroke-dasharray: 4 18; opacity: 0.75; animation: haz 1.6s linear infinite; }
.haz-nodo { stroke: var(--mint); stroke-dasharray: 3 9; opacity: 0.9; }
@keyframes haz { to { stroke-dashoffset: -44; } }
.anillo { fill: none; stroke: var(--mint); stroke-width: 2; transform-box: fill-box; transform-origin: center; animation: anillo 3s ease-out infinite; }
.anillo-2 { animation-delay: -1.5s; }
@keyframes anillo { 0% { transform: scale(0.6); opacity: 0.9; } 100% { transform: scale(3.4); opacity: 0; } }
.flota { animation: flota 6s ease-in-out infinite; }
@keyframes flota { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }

.nodo { width: 8px; height: 8px; border-radius: 50%; background: var(--mint); flex: none; }

/* ─── Franja de valores (bajo la portada) ─── */

.valores { border-top: 1px solid #242c52; }
.valores ul { display: grid; grid-template-columns: repeat(4, 1fr); }
.valores li { padding: 32px 28px 36px 0; }
.valores li + li { padding-left: 28px; border-left: 1px solid #242c52; }
.valores small { font: 500 12px/1 var(--mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--cobalt-light); }
.valores h3 { margin-top: 12px; font: 600 1.25rem/1.2 var(--display); letter-spacing: -0.02em; }
.valores p { margin-top: 8px; color: #c9cee0; font-size: 15px; line-height: 1.55; }

/* ─── Secciones ─── */

.seccion { padding-block: clamp(72px, 10vw, 128px); }
.alterna { background: var(--bg-alt); }
.encabezado { max-width: 46em; }
.encabezado .t1 { margin-top: 16px; }
.encabezado .entradilla { margin-top: 18px; }

/* Servicios: retícula de piezas de distinto tamaño */
.servicios { display: grid; grid-template-columns: repeat(12, 1fr); gap: 16px; margin-top: 56px; }
.servicio { position: relative; grid-column: span 4; display: flex; flex-direction: column; padding: 28px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg); overflow: hidden; transition: border-color 0.2s, transform 0.2s; }
.servicio:hover { border-color: var(--link); transform: translateY(-3px); }
.ancho-7 { grid-column: span 7; }
.ancho-5 { grid-column: span 5; }
.servicio .icono { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 8px; background: var(--icon-bg); color: var(--icon-fg); }
.servicio .icono svg { width: 24px; height: 24px; }
.servicio h3 { margin-top: 22px; font: 600 1.25rem/1.25 var(--display); letter-spacing: -0.02em; }
.servicio p { margin-top: 10px; color: var(--fg-2); max-width: 34em; }
.chapas { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 22px; }
.chapas li { padding: 4px 9px; border: 1px solid var(--line); border-radius: 4px; font: 400 12px/1.4 var(--mono); color: var(--fg-3); }
.destacado { background: var(--cobalt); border-color: var(--cobalt); color: #fff; padding: 36px; }
.destacado:hover { border-color: var(--cobalt-light); }
.destacado .icono { background: rgba(255, 255, 255, 0.14); color: #fff; }
.destacado h3 { font-size: clamp(1.5rem, 2.4vw, 1.9rem); letter-spacing: -0.03em; }
.destacado p { color: #dce3ff; font-size: 1.0625rem; max-width: 26em; }
.destacado .chapas li { border-color: rgba(255, 255, 255, 0.28); color: #fff; }
.destacado .adorno { position: absolute; right: -70px; bottom: -80px; width: 300px; height: 300px; color: #fff; opacity: 0.12; --node: transparent; pointer-events: none; }
.llamada { background: var(--bg-alt); justify-content: center; }
.llamada h3 { margin-top: 0; font-size: clamp(1.35rem, 2.2vw, 1.7rem); letter-spacing: -0.03em; }
.llamada a { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; min-height: 44px; font-weight: 600; text-decoration: none; }
.llamada a svg { width: 18px; height: 18px; transition: transform 0.2s; }
.llamada a:hover svg { transform: translateX(3px); }
.llamada a::after { content: ''; position: absolute; inset: 0; }

/* Cómo trabajamos: la misma torre en cuatro momentos, sobre una línea de suelo */
.cabeza-dos { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: clamp(24px, 5vw, 72px); align-items: end; }
.origen { display: flex; align-items: flex-start; gap: 14px; padding-bottom: 6px; color: #9aa1bc; }
.origen span { display: flex; flex-direction: column; gap: 4px; font: 400 12px/1.3 var(--mono); }
.origen b { font: 700 1.5rem/1.1 var(--display); letter-spacing: -0.035em; color: #fff; }
.origen span:last-child b { color: var(--cobalt-light); }
.origen i { font: 400 1.25rem/1.3 var(--mono); font-style: normal; }

.obras { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; margin-top: 40px; }
.obras::before { content: ''; position: absolute; left: 0; right: 0; top: 319px; height: 1px; background: #2a3463; }
.obra-hueco { display: flex; align-items: flex-end; height: 320px; padding-left: 4px; }
.obra { max-width: 100%; height: auto; overflow: visible; }
.plano { fill: rgba(124, 147, 255, 0.05); stroke: var(--cobalt-light); stroke-width: 1.6; stroke-dasharray: 5 6; stroke-linejoin: round; }
.obras .momento { display: flex; align-items: baseline; gap: 12px; margin-top: 28px; font: 500 12px/1.4 var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--cobalt-light); }
.obras .momento span { color: #5f6785; letter-spacing: 0.04em; }
.obras h3 { margin-top: 10px; font: 600 1.6rem/1.15 var(--display); letter-spacing: -0.03em; }
.obras h3 + p { margin-top: 10px; max-width: 22em; color: #c9cee0; }
.obras .entrega { margin-top: 18px; font: 400 13px/1.4 var(--mono); color: #fff; }
.obras .entrega::before { content: '→ '; color: var(--cobalt-light); }
.obras li:last-child .momento { color: var(--mint); }

/* Mantenimiento */
.dos { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.dos .encabezado { position: sticky; top: calc(var(--cabecera) + 32px); }
.cuidados { border: 1px solid var(--line); border-radius: 12px; background: var(--bg); overflow: hidden; }
.cuidados li { display: grid; grid-template-columns: auto 1fr; gap: 4px 16px; align-items: center; padding: 20px 24px; transition: background-color 0.15s; }
.cuidados li + li { border-top: 1px solid var(--line); }
.cuidados li:hover { background: var(--bg-alt); }
.cuidados .visto { grid-row: span 2; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--icon-bg); color: var(--icon-fg); }
.cuidados .visto svg { width: 18px; height: 18px; }
.cuidados strong { font: 600 1.0625rem/1.3 var(--display); letter-spacing: -0.015em; }
.cuidados span:last-child { color: var(--fg-2); font-size: 15px; }

/* Datos */
.tinta .etiqueta, .tinta .nota { color: #9aa1bc; }
.tinta .etiqueta::before { background: var(--cobalt-light); }
.tinta .t1 em { color: var(--cobalt-light); }
.tinta .entradilla { color: #c9cee0; }
/* Con datos: un cubo por KB */
.datos .caja { display: grid; grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.datos .t1 { margin-top: 16px; font-size: clamp(2.1rem, 4.6vw, 3.25rem); }
.datos .entradilla { margin-top: 18px; }
.leyenda { margin-top: 36px; border-top: 1px solid #2a3463; font: 400 13.5px/1.4 var(--mono); }
.leyenda li { display: flex; align-items: center; gap: 12px; padding: 11px 0; border-bottom: 1px solid #1b2349; }
.leyenda .muestra { width: 12px; height: 12px; flex: none; }
.leyenda span { display: flex; flex-wrap: wrap; gap: 2px 12px; color: #fff; }
.leyenda i { font-style: normal; color: #9aa1bc; }
.leyenda b { margin-left: auto; font-weight: 400; font-variant-numeric: tabular-nums; color: #c9cee0; white-space: nowrap; }
.ceros { margin-top: 28px; font: 600 1.15rem/1.4 var(--display); letter-spacing: -0.015em; }
.ceros i { margin-inline: 8px; font-style: normal; font-weight: 400; color: #5f6785; }
.pila { width: 100%; height: auto; overflow: visible; }
.cota { fill: none; stroke: #9aa1bc; stroke-width: 1; }
.cota-texto { font: 500 15px var(--mono); fill: #fff; }
.tinta :focus-visible { outline-color: var(--mint); }
.nota { margin-top: 14px; font: 400 12.5px/1.5 var(--mono); }

/* Contacto */
.contacto { padding-block: clamp(56px, 8vw, 96px); }
.tarjeta-contacto { position: relative; overflow: hidden; display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 32px; padding: clamp(32px, 6vw, 72px); border-radius: 12px; background: var(--cobalt); color: #fff; }
.tarjeta-contacto .t1 { font-size: clamp(2rem, 4.6vw, 3.25rem); max-width: 12em; }
.tarjeta-contacto .entradilla { margin-top: 18px; color: #dce3ff; max-width: 30em; }
.tarjeta-contacto .correo { display: inline-block; margin-top: 28px; font: 500 clamp(1.05rem, 2.2vw, 1.5rem)/1.3 var(--mono); color: #fff; text-decoration-color: rgba(255, 255, 255, 0.4); }
.tarjeta-contacto .correo:hover { text-decoration-color: #fff; }
.tarjeta-contacto > * { position: relative; }
.tarjeta-contacto > .adorno { position: absolute; right: -90px; top: -110px; width: 420px; height: 420px; color: #fff; opacity: 0.1; --node: transparent; pointer-events: none; }

/* Pie */
.pie { padding-block: 64px 36px; }
.pie .caja { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 40px; align-items: start; }
.pie .lema { margin-top: 20px; max-width: 22em; color: #c9cee0; }
.pie h2 { font: 500 12px/1.4 var(--mono); letter-spacing: 0.16em; text-transform: uppercase; color: #9aa1bc; }
.pie nav ul { margin-top: 10px; }
.pie nav a { display: inline-flex; align-items: center; min-height: 36px; color: #c9cee0; text-decoration: none; font-size: 15px; transition: color 0.15s; }
.pie nav a:hover { color: #fff; }
.pie .legal { grid-column: 1 / -1; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-top: 24px; border-top: 1px solid #242c52; color: #9aa1bc; font: 400 13px/1.5 var(--mono); }
.pie .legal span:last-child { display: inline-flex; align-items: center; gap: 8px; }

/* ─── Páginas de texto (privacidad, 404) ─── */

.texto { max-width: 46em; }
.texto h1 { margin-top: 14px; }
.texto h2 { margin-top: 40px; font: 600 1.25rem/1.25 var(--display); letter-spacing: -0.02em; }
.texto p, .texto ul { margin-top: 14px; color: var(--fg-2); }
.texto ul { list-style: disc; padding-left: 1.2em; }
.texto li + li { margin-top: 6px; }
.codigo { font: 500 clamp(4rem, 14vw, 8rem)/1 var(--mono); letter-spacing: -0.05em; color: var(--link); }

/* ─── Movimiento: entrada de la portada y aparición al bajar ─── */

@media (prefers-reduced-motion: no-preference) {
  .entra { animation: entra 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
  .entra-2 { animation-delay: 0.08s; }
  .entra-3 { animation-delay: 0.16s; }
  .entra-4 { animation-delay: 0.24s; }
  .entra-5 { animation-delay: 0.36s; }
  @keyframes entra { from { opacity: 0; transform: translateY(18px); } }

  @supports (animation-timeline: view()) {
    .aparece { animation: aparece linear both; animation-timeline: view(); animation-range: entry 0% entry 32%; }
    @keyframes aparece { from { opacity: 0; transform: translateY(28px); } }
  }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .boton, .boton svg, .servicio { transition: none; }
  .flota, .ola, .haz, .anillo, .portada::after { animation: none; }
  .anillo { opacity: 0; }
}

/* ─── Pantallas medianas y pequeñas ─── */

@media (max-width: 1000px) {
  .portada .caja { display: block; min-height: 0; padding-bottom: 0; }
  .portada-texto { max-width: none; }
  .escena { position: relative; right: auto; width: 128%; margin: -6% -14% -22%; }
  .terreno { -webkit-mask-image: linear-gradient(to bottom, #000 66%, transparent 97%); mask-image: linear-gradient(to bottom, #000 66%, transparent 97%); }
  .valores ul { grid-template-columns: repeat(2, 1fr); }
  .valores li { padding: 28px 24px 28px 0; }
  .valores li:nth-child(odd) { padding-left: 0; border-left: 0; }
  .valores li:nth-child(n + 3) { border-top: 1px solid #242c52; }
  .servicio, .ancho-7, .ancho-5 { grid-column: span 6; }
  .destacado, .llamada { grid-column: span 12; }
  .cabeza-dos { grid-template-columns: 1fr; align-items: start; }
  .obras { grid-template-columns: repeat(2, 1fr); row-gap: 56px; }
  .obras::before { display: none; }
  .obra-hueco { height: 320px; border-bottom: 1px solid #2a3463; }
  .dos { grid-template-columns: 1fr; }
  .datos .caja { grid-template-columns: 1fr; }
  .dos .encabezado { position: static; }
}
@media (max-width: 860px) {
  .menu a:not(.boton) { display: none; }
  .tarjeta-contacto { grid-template-columns: 1fr; align-items: start; }
  .pie .caja { grid-template-columns: 1fr 1fr; }
  .pie .caja > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .servicio, .ancho-7, .ancho-5 { grid-column: span 12; }
  .destacado { padding: 28px; }
  .valores ul { grid-template-columns: 1fr; }
  .obras { grid-template-columns: 1fr; row-gap: 48px; }
  .obra-hueco { height: auto; padding-top: 8px; }
  .origen { flex-wrap: wrap; }
  .valores li, .valores li + li { padding: 24px 0; border-left: 0; }
  .valores li + li { border-top: 1px solid #242c52; }
  .cuidados li { padding: 18px; }
  .escena { display: block; width: auto; margin: 0; }
  .terreno { width: 150%; max-width: none; margin: -4% -25% -34%; }
}
@media (max-width: 420px) {
  .logo { font-size: 22px; }
  .acciones .boton { width: 100%; }
}
