/* ==========================================================================
   Cubika — estilos del sitio.

   Estilo propio, distinto de los demás sitios de la cuenta: «tipografía monumental sobre
   concreto» (referencia: el estilo de Elva en styles.refero.design). Lienzo gris concreto
   claro, una sola tinta casi negra, títulos enormes en Maven Pro con interlineado de 0.86 que
   se apilan como bloques, mucho espacio vacío, sin tarjetas ni sombras: los botones son
   enlaces de texto con flecha y las etiquetas, píldoras discretas. Fotos rectas, sin marco.
   Identidad de la carpeta del cliente: Maven Pro; grises y negro (Logo1_Negro / Gris).
   La base de abajo es la estructura común; la capa monumental va al final.
   ========================================================================== */

@font-face {
  font-family: "Maven Pro";
  src: url("/recursos/fuentes/maven-pro-variable.woff") format("woff");
  font-weight: 400 900;
  font-display: swap;
}

:root {
  --primario: #16171a;
  --primario-hondo: #0d0d0d;
  --acento: #3b3c40;
  --acento-claro: #50535a;
  --destello: #c3c8cf;
  --destello-2: #78808b;
  --banda: #f1f2f4;
  --papel: #ffffff;
  --niebla: #f5f5f8;
  --texto: #5c5f68;
  --texto-suave: #6f737b;
  --linea: #dcdde3;
  --linea-fuerte: #8b8e99;

  --f-titulo: "Maven Pro", ui-sans-serif, system-ui, sans-serif;
  --f-texto: "Maven Pro", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --r: 12px;
  --r-chico: 6px;
  --ancho: 1200px;
  --margen: 24px;
  --seccion: clamp(56px, 8vw, 96px);
  --cabecera: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--cabecera) + 16px); scroll-padding-bottom: 96px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--papel);
  color: var(--texto);
  font-family: var(--f-texto);
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, picture { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3 { margin: 0; color: var(--primario); }
ul { margin: 0; padding: 0; }
button, input, select, textarea { font: inherit; letter-spacing: inherit; }
a, button, summary, label, select, input { touch-action: manipulation; }

:focus-visible { outline: 3px solid var(--primario); outline-offset: 3px; border-radius: 4px; }

.sr {
  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: -60px; z-index: 100;
  background: var(--primario); color: #fff; padding: 10px 16px; border-radius: var(--r);
  font-weight: 700; text-decoration: none;
}
.saltar:focus { top: 12px; }

.icono { width: 1.15em; height: 1.15em; flex-shrink: 0; }

.envoltura { width: 100%; max-width: calc(var(--ancho) + var(--margen) * 2); margin-inline: auto; padding-inline: var(--margen); }

/* --------------------------------------------------------------- tipografía */

.titular {
  font-family: var(--f-titulo);
  font-weight: 400;
  font-size: clamp(30px, 3.6vw, 44px);
  line-height: 1.08;
  letter-spacing: 0;
  color: var(--primario);
  text-wrap: balance;
}
.titular--display { font-size: clamp(40px, 5.4vw, 68px); line-height: 1.02; }

.etiqueta {
  display: inline-flex; align-items: center; gap: 8px;
  margin: 0 0 16px;
  font-size: 13px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--primario);
}
.etiqueta::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--destello); }

.entrada { font-size: clamp(17px, 1.4vw, 19px); line-height: 1.6; color: var(--texto); max-width: 56ch; margin: 20px 0 0; }

.cabeza { max-width: 780px; margin-bottom: 40px; }
.cabeza .entrada { margin-top: 16px; }

/* ------------------------------------------------------------------ botones */

.acciones { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin-top: 32px; }
.acciones--centro { justify-content: center; margin-top: 40px; }

.boton {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 22px;
  border: 1px solid transparent; border-radius: var(--r);
  font-size: 15px; font-weight: 700; line-height: 1.2; letter-spacing: -0.01em;
  text-decoration: none; cursor: pointer;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease, transform .18s ease;
}
.boton .icono { width: 18px; height: 18px; transition: transform .18s ease; }
.boton--principal { background: var(--acento); color: #fff; }
.boton--secundario { background: var(--papel); color: var(--primario); border-color: var(--primario); }
.boton--fantasma { color: var(--primario); padding-inline: 6px; }
.boton--fantasma .icono:first-child { color: var(--destello-2); width: 22px; height: 22px; }
.boton[aria-busy="true"] { opacity: .75; cursor: progress; }

.enlace-accion {
  display: inline-flex; align-items: center; gap: 8px; margin-top: auto; min-height: 44px;
  font-size: 15px; font-weight: 700; color: var(--primario); text-decoration: none;
}
.enlace-accion .icono { width: 18px; height: 18px; color: var(--acento); transition: transform .18s ease; }

/* ----------------------------------------------------------- barra superior */

.barra-sup { background: var(--primario); color: #fff; font-size: 13px; font-weight: 500; }
.barra-sup__dentro { display: flex; justify-content: flex-end; gap: 28px; min-height: 40px; align-items: stretch; }
.barra-sup a { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; text-decoration: none; color: #fff; }
.barra-sup .icono { color: var(--destello); width: 15px; height: 15px; }
.barra-sup :focus-visible { outline-color: var(--destello); }

/* ------------------------------------------------------------------ cabecera */

.cabecera {
  position: sticky; top: 0; z-index: 40;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: saturate(1.4) blur(8px);
  border-bottom: 1px solid var(--linea);
}
.cabecera__dentro { display: flex; align-items: center; gap: 24px; min-height: var(--cabecera); }
.cabecera__logo { flex-shrink: 0; margin-right: auto; }
.cabecera__logo img { height: 40px; width: auto; }

.menu { display: flex; align-items: center; gap: 20px; }
.menu__lista { display: flex; list-style: none; gap: 2px; }
.menu__lista a {
  display: block; padding: 8px 12px; border-radius: var(--r);
  font-size: 15px; font-weight: 600; color: var(--primario); text-decoration: none;
  transition: background-color .18s ease;
}
.menu__lista a[aria-current="page"] { box-shadow: inset 0 -3px 0 var(--primario); border-radius: var(--r) var(--r) 0 0; }
.menu__cta { min-height: 44px; padding: 10px 20px; }

.cabecera__menu {
  display: none; align-items: center; justify-content: center;
  width: 44px; height: 44px; border: 1px solid var(--linea); border-radius: var(--r);
  background: var(--papel); color: var(--primario); cursor: pointer;
}
.cabecera__menu .icono { width: 22px; height: 22px; }
.cabecera__menu .icono--cerrar { display: none; }
.cabecera__menu[aria-expanded="true"] .icono--abrir { display: none; }
.cabecera__menu[aria-expanded="true"] .icono--cerrar { display: block; }

@media (max-width: 1080px) {
  .js .cabecera__menu { display: inline-flex; }
  .menu { flex-wrap: wrap; }
  .js .menu {
    display: none;
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 16px;
    padding: 12px var(--margen) 24px;
    background: var(--papel); border-bottom: 1px solid var(--linea);
    max-height: calc(100vh - var(--cabecera)); max-height: calc(100dvh - var(--cabecera)); overflow-y: auto; overscroll-behavior: contain;
  }
  .js .menu[data-abierto] { display: flex; }
  .js .menu__lista { flex-direction: column; }
  .js .menu__lista a { font-size: 18px; padding: 14px 12px; border-bottom: 1px solid var(--linea); border-radius: 0; }
  .js .menu__lista a[aria-current="page"] { box-shadow: inset 4px 0 0 var(--primario); background: var(--banda); }
  .js .menu__cta { width: 100%; }
}

/* ----------------------------------------------------------------- secciones */

.seccion { padding-block: var(--seccion); }
.seccion--destello { background: var(--banda); }
.seccion--borde { border-top: 1px solid var(--linea); }
.seccion--sin-arriba { padding-top: 0; }

.heroe { padding-block: clamp(40px, 7vw, 88px) var(--seccion); }
.heroe__rejilla { display: grid; gap: 56px; align-items: center; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); }
.heroe--solo .heroe__rejilla { grid-template-columns: minmax(0, 860px); }
.heroe--solo { padding-bottom: clamp(40px, 6vw, 72px); }
.heroe__texto .titular { margin: 0; }
.heroe__texto .etiqueta + .titular { margin-top: 0; }

/* Las curvas de la lámina «Comunicación» de la guía de marca: aqua abajo a la izquierda,
   verde arriba a la derecha, asomando detrás de la foto. */
.foto-marca { position: relative; isolation: isolate; padding: 18px; }
.foto-marca::before, .foto-marca::after { content: ""; position: absolute; z-index: -1; aspect-ratio: 1; }
.foto-marca::before { left: 0; bottom: 0; width: 42%; background: var(--destello); border-radius: 0 100% 0 var(--r); }
.foto-marca::after { right: 0; top: 0; width: 26%; background: var(--destello-2); border-radius: var(--r) 0 0 100%; }
.foto-marca img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r); }
.seccion--destello .foto-marca::before { background: var(--primario); }

.dividida { display: grid; gap: 48px 64px; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; }
.dividida .titular { margin: 0; }

.declaracion { display: grid; gap: 24px 64px; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); align-items: center; }
.declaracion p { font-size: clamp(18px, 1.6vw, 21px); line-height: 1.55; color: var(--primario); margin: 0; font-weight: 500; }

/* ------------------------------------------------------------------ rejillas */

.rejilla { display: grid; gap: 24px; }
.rejilla--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.rejilla--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.rejilla--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.rasgo {
  display: flex; flex-direction: column;
  background: var(--papel); border: 1px solid var(--linea); border-radius: var(--r);
  padding: 28px;
}
.seccion--destello .rasgo { border-color: transparent; }
.rasgo__icono {
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; border-radius: var(--r);
  background: var(--primario); color: var(--destello);
}
.rasgo__icono .icono { width: 24px; height: 24px; }
.rasgo__titulo { margin: 20px 0 8px; font-family: var(--f-texto); font-size: 18px; font-weight: 700; line-height: 1.3; letter-spacing: -0.015em; }
.rasgo__texto { margin: 0; font-size: 15px; line-height: 1.6; }
.credenciales .rasgo { padding: 24px; }
.credenciales .rasgo__titulo { margin-bottom: 0; font-size: 17px; }

.tarjeta {
  display: flex; flex-direction: column;
  background: var(--papel); border: 1px solid var(--linea); border-radius: var(--r);
  overflow: hidden;
}
.seccion--destello .tarjeta { border-color: transparent; }
.tarjeta__foto img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .4s ease; }
.tarjeta__foto { overflow: hidden; }
.tarjeta__cuerpo { display: flex; flex-direction: column; flex: 1; gap: 8px; padding: 20px 22px 14px; }
.tarjeta__titulo { font-family: var(--f-texto); font-size: 18px; font-weight: 700; line-height: 1.3; letter-spacing: -0.015em; }
.tarjeta__texto { font-size: 15px; margin: 0 0 8px; }

.plan { padding: 32px; gap: 16px; }
.plan__nombre { font-family: var(--f-titulo); font-weight: 400; font-size: 32px; line-height: 1.05; }
.plan .tarjeta__texto { flex: 1; margin: 0; }
.plan .boton { align-self: flex-start; margin-top: 8px; }
.plan--destacado { background: var(--primario); color: #f1e6ef; }
.plan--destacado .plan__nombre { color: #fff; }
.plan--destacado .rasgo__icono { background: var(--destello); color: var(--primario); }
.plan--destacado :focus-visible { outline-color: var(--destello); }

.lista-check { list-style: none; border-top: 1px solid var(--linea); }
.lista-check li {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 18px 0; border-bottom: 1px solid var(--linea);
  font-size: 17px; font-weight: 600; line-height: 1.45; color: var(--primario);
}
.lista-check .icono {
  width: 28px; height: 28px; padding: 5px; border-radius: 50%;
  background: var(--destello); color: var(--primario); stroke-width: 2.5;
}

.galeria { display: grid; gap: 16px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.galeria__foto { margin: 0; border-radius: var(--r); overflow: hidden; }
.galeria__foto img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .4s ease; }

/* ----------------------------------------------------------- preguntas */

.preguntas { max-width: 860px; border-top: 1px solid var(--linea); }
.pregunta { border-bottom: 1px solid var(--linea); }
.pregunta summary {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 24px 0; cursor: pointer; list-style: none;
}
.pregunta summary::-webkit-details-marker { display: none; }
.pregunta__titulo { font-family: var(--f-texto); font-size: 19px; font-weight: 700; line-height: 1.35; letter-spacing: -0.015em; }
.pregunta summary .icono { width: 24px; height: 24px; color: var(--primario); transition: transform .2s ease; }
.pregunta[open] summary .icono { transform: rotate(180deg); }
.pregunta p { margin: -8px 0 24px; max-width: 64ch; font-size: 17px; }

/* ------------------------------------------------------------ contacto */

.contacto { display: grid; gap: 48px 64px; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: start; }
.contacto__texto .titular { margin: 0; }
.datos { list-style: none; display: grid; gap: 20px; margin-top: 32px; }
.datos li { display: flex; gap: 16px; align-items: flex-start; }
.datos__icono {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: var(--r); flex-shrink: 0;
  background: var(--primario); color: var(--destello);
}
.datos__icono .icono { width: 20px; height: 20px; }
.datos strong { display: block; font-size: 13px; font-weight: 600; color: var(--texto); letter-spacing: 0; }
.datos li > span:last-child { font-size: 17px; font-weight: 600; color: var(--primario); line-height: 1.45; }
.datos a { display: inline-block; padding-block: 10px; margin-block: -10px; text-decoration: none; }

/* ----------------------------------------------------------- formulario */

.formulario {
  position: relative;
  background: var(--papel); border: 1px solid var(--linea); border-radius: var(--r);
  padding: clamp(24px, 3vw, 36px);
}
.seccion--destello .formulario { border-color: transparent; }
.formulario__titulo { font-family: var(--f-titulo); font-weight: 400; font-size: clamp(26px, 2.6vw, 32px); line-height: 1.1; }
.formulario__nota { margin: 8px 0 24px; font-size: 14px; color: var(--texto-suave); }

.campo { display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; }
.campo-fila { display: grid; gap: 0 16px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.campo label { font-size: 14px; font-weight: 600; color: var(--primario); }
.pista { font-weight: 500; color: var(--texto-suave); }
.campo input, .campo select {
  width: 100%; min-height: 48px; padding: 12px 14px;
  border: 1px solid var(--linea-fuerte); border-radius: var(--r);
  background: var(--papel); color: var(--primario); font-size: 16px;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.campo select {
  appearance: none; padding-right: 44px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234e0040' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 20px;
}
.campo input:focus, .campo select:focus { outline: none; border-color: var(--primario); box-shadow: 0 0 0 1px var(--primario), 0 0 0 5px rgba(0, 225, 175, .55); }
.campo [aria-invalid="true"] { border-color: var(--acento); box-shadow: 0 0 0 1px var(--acento); }
.campo__error {
  display: flex; gap: 8px; align-items: flex-start; margin: 2px 0 0;
  font-size: 14px; font-weight: 600; line-height: 1.4; color: var(--primario);
}
.campo__error::before {
  content: ""; flex-shrink: 0; width: 18px; height: 18px; margin-top: 1px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d45500' stroke-width='2.25' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M12 8v4M12 16h.01'/%3E%3C/svg%3E") no-repeat center / contain;
}
.campo__error[hidden] { display: none; }
.casilla-caja { margin-bottom: 24px; }
.casilla-caja .casilla { margin-bottom: 0; }
.casilla-caja .campo__error { margin-top: 8px; }
.campo__nota { margin: 2px 0 0; font-size: 13px; color: var(--primario); }

.trampa { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.formulario__aviso {
  margin: 6px 0 16px; padding: 14px 16px;
  background: var(--niebla); border-radius: var(--r);
  font-size: 14px; line-height: 1.55; color: var(--texto);
}
.formulario__aviso a, .casilla a { color: var(--primario); font-weight: 600; }
.casilla { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 24px; font-size: 15px; color: var(--primario); cursor: pointer; }
.casilla input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--primario); flex-shrink: 0; }
.formulario__enviar { width: 100%; }
.aviso-form {
  margin: 0 0 20px; padding: 12px 16px;
  border: 1px solid var(--acento); border-radius: var(--r);
  background: #fff3ea; color: var(--primario); font-size: 15px; font-weight: 500;
}

/* ------------------------------------------------------- mapa de la oficina */

.oficina { display: grid; gap: 40px 64px; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); align-items: center; }
.oficina__texto .titular { margin: 0; }
.oficina__texto .entrada { color: var(--primario); font-weight: 600; }
.mapa {
  position: relative; aspect-ratio: 16 / 10; max-width: 100%;
  border-radius: var(--r); overflow: hidden;
  background: var(--papel); border: 1px solid var(--linea);
}
.mapa iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* --------------------------------------------------------------- texto legal */

.prosa { max-width: 600px; }
.prosa h2 { margin: 48px 0 12px; font-family: var(--f-texto); font-size: 22px; font-weight: 700; letter-spacing: -0.015em; line-height: 1.3; }
.prosa h2:first-child { margin-top: 0; }
.prosa p, .prosa li { font-size: 17px; }
.prosa ul { padding-left: 22px; margin: 0 0 1em; }
.prosa li { margin-bottom: 6px; }
.prosa li::marker { color: var(--destello-2); }
.prosa a { color: var(--primario); font-weight: 600; }
.prosa strong { color: var(--primario); }
.prosa__fecha { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--linea); font-size: 14px; color: var(--texto-suave); }

/* ----------------------------------------------------------------------- pie */

.pie { background: var(--primario); color: #e9dde6; padding: 72px 0 32px; font-size: 15px; }
.pie__rejilla { display: grid; gap: 40px; grid-template-columns: 1.3fr 1fr 1.3fr .8fr; }
.pie__marca img { width: 150px; height: auto; }
.pie__marca p { margin: 20px 0 0; max-width: 28ch; color: #e9dde6; }
.pie__titulo { margin-bottom: 16px; font-family: var(--f-texto); font-size: 14px; font-weight: 700; color: #fff; letter-spacing: 0; }
.pie ul { list-style: none; display: grid; gap: 10px; }
.pie a { color: #e9dde6; text-decoration: none; }
.pie__datos li { display: flex; gap: 10px; align-items: flex-start; }
.pie__datos .icono { color: var(--destello); margin-top: 3px; width: 17px; height: 17px; }
.pie__final { margin: 56px 0 0; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .16); font-size: 14px; color: #d9c8d5; }
.pie :focus-visible { outline-color: var(--destello); }

/* --------------------------------------------------------- WhatsApp flotante */

.wa-flotante {
  position: fixed; right: 20px; bottom: 20px; z-index: 50;
  display: inline-flex; align-items: center; gap: 10px;
  height: 56px; min-width: 56px; padding: 0 16px; justify-content: center;
  border-radius: 999px; background: var(--primario); color: #fff;
  font-size: 15px; font-weight: 700; text-decoration: none;
  /* El aro blanco lo separa del pie, que también es morado. */
  box-shadow: 0 0 0 2px #fff, 0 8px 24px rgba(22, 23, 26, .28);
  transition: box-shadow .18s ease, transform .25s ease, opacity .25s ease;
}
.wa-flotante .icono { width: 26px; height: 26px; }
.wa-flotante:focus-visible { outline: 3px solid var(--destello); outline-offset: 3px; }
.wa-flotante__texto { display: none; }
.wa-flotante--fuera { transform: translateY(140%); opacity: 0; pointer-events: none; }
@media (min-width: 900px) { .wa-flotante { padding: 0 20px 0 16px; } .wa-flotante__texto { display: inline; } }

/* ------------------------------------------------------------------- estados
   El hover solo aplica donde hay ratón: en el celular se quedaba «pegado» después del
   toque (por ejemplo, el botón secundario seguía morado al volver de WhatsApp). */

@media (hover: hover) {
  .boton:hover .icono:last-child { transform: translateX(3px); }
  .boton--principal:hover { background: var(--acento-claro); }
  .boton--secundario:hover { background: var(--primario); color: #fff; }
  .boton--fantasma:hover { text-decoration: underline; text-underline-offset: 4px; }
  .enlace-accion:hover { text-decoration: underline; text-underline-offset: 4px; }
  .enlace-accion:hover .icono { transform: translateX(3px); }
  .barra-sup a:hover { color: var(--destello); }
  .menu__lista a:hover { background: var(--banda); }
  .tarjeta--producto:hover .tarjeta__foto img { transform: scale(1.03); }
  .galeria__foto:hover img { transform: scale(1.03); }
  .datos a:hover { text-decoration: underline; text-underline-offset: 3px; }
  .campo input:hover, .campo select:hover { border-color: var(--primario); }
  .pie a:hover { color: var(--destello); text-decoration: underline; text-underline-offset: 3px; }
  .wa-flotante:hover { box-shadow: 0 0 0 3px var(--destello), 0 8px 24px rgba(22, 23, 26, .28); }
}
.boton:active { transform: scale(.98); }
.boton--principal:active { background: var(--acento-claro); }
.boton--secundario:active { background: var(--banda); }
.wa-flotante:active { transform: scale(.95); }
.menu__lista a:active { background: var(--banda); }
.enlace-accion:active, .boton--fantasma:active { text-decoration: underline; text-underline-offset: 4px; }
.pregunta summary:active .pregunta__titulo { color: var(--primario-hondo); }

/* En pantallas táctiles (y en cualquier pantalla angosta) los enlaces del pie y de la barra
   superior crecen a 44 px de alto. */
@media (pointer: coarse), (max-width: 640px) {
  .pie ul { gap: 0; }
  .pie ul a { display: inline-flex; align-items: center; min-height: 44px; }
  .pie__datos li { align-items: center; }
  .pie__datos .icono { margin-top: 0; }
  .pie__datos li:first-child { padding-block: 10px; align-items: flex-start; }
  .pie__datos li:first-child .icono { margin-top: 3px; }
  .barra-sup__dentro, .barra-sup a { min-height: 44px; }
}

/* ---------------------------------------------------------------- adaptable */

@media (max-width: 1100px) {
  .rejilla--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pie__rejilla { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 960px) {
  .heroe__rejilla, .dividida, .declaracion, .contacto, .oficina { grid-template-columns: minmax(0, 1fr); }
  .mapa { aspect-ratio: 4 / 3; }
  .heroe__rejilla { gap: 40px; }
  .rejilla--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .galeria { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  :root { --margen: 16px; --cabecera: 64px; }
  .barra-sup__dentro { justify-content: center; gap: 16px; }
  .barra-sup a:last-child { display: none; }
  .cabecera__logo img { height: 34px; }
  .rejilla--2, .rejilla--3, .rejilla--4, .galeria, .campo-fila, .pie__rejilla { grid-template-columns: minmax(0, 1fr); }
  .foto-marca { padding: 12px; }
  .acciones .boton { flex: 1 1 100%; }
  .acciones .boton--fantasma { justify-content: flex-start; }
  .rasgo, .plan { padding: 24px; }
  .wa-flotante { right: 16px; bottom: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
  html { scroll-behavior: auto; }
}

/* Cubika: rasgos debajo de un texto (Servicios, Preguntas frecuentes y Acerca de). */
.servicios-detalle, .valores { margin-top: 28px; }
.valores { gap: 16px; }

/* Correos largos (p. ej. direccion@innovaciondeshner.com): que se partan antes de salirse en 320 px. */
.datos li > span:last-child, .pie__datos li > span, .pie__datos li > a { min-width: 0; }
.datos a, .pie__datos a, .pie__datos span, .barra-sup a { overflow-wrap: anywhere; }

/* Cubika: Maven Pro en títulos va en 800 (el logo es muy pesado). */
.titular, .formulario__titulo { font-weight: 800; letter-spacing: -0.02em; }

/* ==========================================================================
   Cubika: capa «tipografía monumental sobre concreto». Va al final para ganarle a la base.
   ========================================================================== */

:root { --concreto: #ececec; --ceniza: #cfcdcd; --tinta: #262523; --r: 0px; --seccion: clamp(80px, 11vw, 160px); }
body { background: var(--concreto); color: var(--tinta); }

/* Títulos monumentales: peso regular, interlineado mínimo, letra muy apretada. */
.titular, .formulario__titulo { font-weight: 400; letter-spacing: -0.05em; line-height: .9; color: var(--tinta); }
.titular { font-size: clamp(40px, 6vw, 88px); }
.titular--display { font-size: clamp(56px, 11.5vw, 176px); line-height: .84; letter-spacing: -0.06em; max-width: 12ch; }
.entrada { color: #4a4846; }
.rasgo__titulo, .tarjeta__titulo, .pregunta__titulo { font-weight: 500; letter-spacing: -0.02em; color: var(--tinta); }

/* Etiquetas: píldoras discretas. */
.etiqueta { padding: 6px 12px; border: 1px solid var(--ceniza); border-radius: 70px; font-size: 11px; font-weight: 500; letter-spacing: .02em; color: var(--tinta); }
.etiqueta::before { display: none; }

/* Cabecera transparente; menú en mayúsculas pequeñas; el correo arriba a la derecha. */
.cabecera { background: rgba(236, 236, 236, .92); border-bottom: 0; backdrop-filter: blur(6px); }
.menu { gap: 32px; }
.menu__lista { gap: 8px; }
.menu__lista a { font-size: 12px; font-weight: 500; text-transform: uppercase; letter-spacing: .02em; color: var(--tinta); border-radius: 0; }
.menu__lista a[aria-current="page"] { box-shadow: inset 0 -1px 0 var(--tinta); border-radius: 0; }
.menu__correo { font-size: 12px; font-weight: 500; text-transform: uppercase; color: var(--tinta); text-decoration: none; }
.cabecera__menu { border-color: var(--tinta); border-radius: 0; background: transparent; }
@media (max-width: 1080px) {
  .js .menu { background: var(--concreto); border-bottom: 1px solid var(--ceniza); }
  .js .menu__lista a { font-size: 32px; font-weight: 400; text-transform: none; letter-spacing: -0.04em; border-bottom: 1px solid var(--ceniza); }
  .js .menu__lista a[aria-current="page"] { box-shadow: none; background: none; text-decoration: underline; text-underline-offset: 6px; }
}
@media (max-width: 1240px) and (min-width: 1081px) { .menu__correo { display: none; } }

/* «Botones»: enlaces de texto en mayúsculas con flecha y una raya debajo. */
.boton, .boton--principal, .boton--secundario { background: none; border: 0; border-bottom: 1px solid var(--tinta); border-radius: 0; color: var(--tinta); padding: 6px 0; min-height: 44px; font-size: 13px; font-weight: 500; text-transform: uppercase; letter-spacing: .02em; }
.boton--fantasma { border-bottom-color: transparent; }
.boton--fantasma .icono:first-child { color: var(--tinta); }
.menu__cta { padding: 6px 0; }
.formulario__enviar { background: var(--tinta); color: var(--concreto); border-radius: 70px; padding: 12px 24px; border: 0; }
.enlace-accion { font-size: 13px; font-weight: 500; text-transform: uppercase; color: var(--tinta); }
.enlace-accion .icono { color: var(--tinta); }

/* Portada monumental: título a todo lo ancho, texto debajo y la foto recta. */
.heroe--monumento { padding-top: clamp(48px, 7vw, 104px); padding-bottom: 0; }
.heroe--monumento .titular--display { margin: 8px 0 0; }
.heroe--monumento .heroe__pie { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 24px 64px; align-items: end; margin-top: clamp(32px, 4vw, 56px); }
.heroe--monumento .entrada { margin: 0; }
.heroe--monumento .acciones { margin: 0; justify-content: flex-end; gap: 12px 32px; }
.foto-ancha { margin-top: clamp(40px, 6vw, 80px); }
.foto-ancha img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; }
.heroe:not(.heroe--monumento) .titular--display { max-width: 14ch; }

/* Fotos sin curvas ni marcos. */
.foto-marca { padding: 0; }
.foto-marca::before, .foto-marca::after { display: none; }
.foto-marca img { border-radius: 0; }

/* Secciones: el mismo concreto, separadas por un filete y mucho aire. */
.seccion--destello { background: transparent; border-top: 1px solid var(--ceniza); }
.seccion--borde { border-top: 1px solid var(--ceniza); }
.declaracion { grid-template-columns: minmax(0, 1fr); gap: 32px; }
.declaracion .titular { font-size: clamp(40px, 6.4vw, 96px); max-width: 16ch; }
.declaracion p { max-width: 56ch; margin-left: auto; color: var(--tinta); font-weight: 400; font-size: clamp(18px, 1.5vw, 21px); }

/* Sin tarjetas: foto, título y texto sueltos sobre el concreto. */
.tarjeta, .rasgo { background: none; border: 0; border-radius: 0; box-shadow: none; }
.tarjeta__cuerpo { padding: 18px 0 0; }
.tarjeta__foto img { border-radius: 0; }
.tarjeta__titulo { font-size: 22px; }
.rasgo { padding: 20px 0 0; border-top: 1px solid var(--tinta); }
.rasgo__icono { width: auto; height: auto; background: none; color: var(--tinta); justify-content: flex-start; border-radius: 0; }
.rasgo__icono .icono { width: 28px; height: 28px; }
.rasgo__titulo { margin-top: 12px; }
.lista-check { border-top-color: var(--tinta); }
.lista-check li { border-bottom-color: var(--ceniza); font-weight: 400; font-size: 19px; color: var(--tinta); }
.lista-check .icono { background: none; color: var(--tinta); padding: 2px; }
.cabeza { max-width: none; }
.cabeza .titular { max-width: 16ch; }

/* Preguntas, contacto y formulario. */
.preguntas { border-top-color: var(--tinta); }
.pregunta { border-bottom-color: var(--ceniza); }
.datos__icono { background: none; border: 1px solid var(--ceniza); border-radius: 70px; color: var(--tinta); }
.formulario { background: transparent; border: 1px solid var(--ceniza); border-radius: 0; }
.campo input, .campo select { background: transparent; border: 0; border-bottom: 1px solid var(--tinta); border-radius: 0; padding-inline: 0; }
.campo select { padding-right: 32px; background-position: right 4px center; }
.formulario__aviso { background: #e2e1e1; border-radius: 0; }
.mapa { border: 0; border-radius: 0; filter: grayscale(1); }

/* Pie: concreto, con una frase monumental que lleva a Contacto. */
.pie { background: var(--concreto); color: var(--tinta); border-top: 1px solid var(--ceniza); }
.pie__monumento { margin: 0 0 clamp(48px, 7vw, 96px); font-size: clamp(48px, 10vw, 150px); line-height: .84; letter-spacing: -0.06em; }
.pie__monumento a { color: var(--tinta); text-decoration: none; }
.pie__marca p, .pie a { color: var(--tinta); }
.pie__titulo { color: var(--tinta); font-size: 12px; font-weight: 500; text-transform: uppercase; }
.pie__datos .icono { color: var(--tinta); }
.pie__final { color: #5e5c5a; border-top-color: var(--ceniza); }
.pie :focus-visible { outline-color: var(--tinta); }

.wa-flotante { background: var(--tinta); border-radius: 70px; }

@media (hover: hover) {
  .boton:hover, .menu__correo:hover, .pie a:hover { opacity: .6; background: none; color: var(--tinta); }
  .formulario__enviar:hover { opacity: 1; background: #000; color: var(--concreto); }
  .menu__lista a:hover { background: none; opacity: .6; }
  .pie__monumento a:hover { opacity: .6; text-decoration: none; }
}

@media (max-width: 960px) {
  .heroe--monumento .heroe__pie { grid-template-columns: minmax(0, 1fr); }
  .heroe--monumento .acciones { justify-content: flex-start; }
  .foto-ancha img { aspect-ratio: 4 / 3; }
}

/* Celulares angostos: que el título monumental y los correos largos quepan. */
.formulario__aviso a, .prosa a { overflow-wrap: anywhere; }
@media (max-width: 400px) {
  .titular--display { font-size: 46px; letter-spacing: -0.05em; }
  .titular { overflow-wrap: break-word; hyphens: auto; }
}


/* ==========================================================================
   Revisión de accesibilidad (8 nov 2026, ui-ux-pro-max).
   - Enlaces del pie de al menos 24 px de alto (WCAG 2.2, tamaño mínimo de objetivo).
   - En celular, el texto de tarjetas y rasgos sube a 16 px.
   ========================================================================== */
.pie__col li a, .pie__datos a { display: inline-block; min-height: 24px; padding-block: 2px; }
@media (max-width: 600px) { .tarjeta__texto, .rasgo__texto { font-size: 16px; } }
:root { --texto-suave: #5a5e66; } /* el gris de notas y fechas no alcanzaba 4.5:1 sobre el fondo de color */
.menu__correo { display: inline-flex; align-items: center; min-height: 24px; }
.etiqueta { font-size: 12px; }

/* Foco de los campos del formulario en el color de este sitio (8 nov 2026): la base traía el brillo aqua de Fomal Haut. */
.campo input:focus, .campo select:focus { border-color: var(--tinta); box-shadow: 0 2px 0 0 var(--tinta); } /* la línea de abajo se engruesa: el campo no tiene caja */

/* El botón flotante se aparta si taparía un botón de la página (ver sitio.js). */
.wa-flotante--aparte { transform: translateY(140%); opacity: 0; pointer-events: none; }
