:root {
 --navy-950: #030b14;
  --navy-900: #06111d;
  --navy-850: #091827;
  --navy-800: #0d2033;
  --blue: #1687ff;
  --blue-soft: #62b3ff;
  --cream: #f3eee5;
  --cream-2: #e8dcc9;
  --wood: #9b6237;
  --amber: #d79a58;
  --text: #f7f8fa;
  --muted: #aab5c2;
  --line: rgba(123, 180, 235, .17);
  --sidebar: 276px;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

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

html {
  scroll-behavior: smooth;
  background: var(--navy-950);
}

body {
  min-width: 320px;
  overflow-x: hidden;
  color: var(--text);
  background: var(--navy-950);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  color: inherit;
  font: inherit;
}

.svg-defs {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

::selection {
  color: #fff;
  background: #146ed1;
}

/* =========================================================
   MENÚ LATERAL
   ========================================================= */

.sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 40;
  width: var(--sidebar);
  padding: 34px 30px 30px;
  display: flex;
  flex-direction: column;
  color: #0b2138;
  background: rgba(241, 234, 222, .97);
  border-right: 1px solid rgba(7, 22, 37, .15);
}

.brand {
  display: flex;
  justify-content: center;
  width: 100%;
}

.brand img {
  width: 184px;
  height: 184px;
  display: block;
  object-fit: cover;
  border-radius: 50%;
  background: #02070e;
  box-shadow: 0 16px 34px rgba(10, 35, 58, .18);
}

.sidebar-servicios {
  margin: 16px 0 0;
  color: #0877df;
  font-size: 11.5px;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: .015em;
  white-space: nowrap;
  text-align: center;
}

.sidebar-copy {
  margin: 13px 0 15px;
  color: #405164;
  font-size: 12.5px;
  line-height: 1.7;
}

.nav-principal {
  display: grid;
  gap: 4px;
}

.nav-principal a {
  position: relative;
  min-height: 43px;
  padding: 0 14px;
  display: flex;
  align-items: center;
  gap: 15px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 650;
  letter-spacing: .01em;
  transition: border-color .3s ease, color .3s ease, transform .3s ease;
}

.nav-principal a span {
  width: 18px;
  color: #0877df;
  font-size: 10px;
  font-weight: 800;
}

.nav-principal a:hover {
  color: #006bd0;
  transform: translateX(4px);
}

.nav-principal a.activo {
  color: #071e35;
  border-color: #173652;
}

.nav-principal a.activo::after {
  content: "";
  position: absolute;
  right: 14px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 12px var(--blue);
}

.sidebar-bottom {
  margin-top: auto;
  display: grid;
  gap: 8px;
  font-size: 11px;
}

.sidebar-bottom > a {
  width: max-content;
  color: #2f465c;
  transition: color .2s ease;
}

.sidebar-bottom > a:hover {
  color: #0078e8;
}

/* Bilbao, hora y Agenda abierta en una única línea */
.sidebar-estado {
  width: min(205px, 100%);
  margin-bottom: 7px;
  padding-bottom: 12px;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-start;
  gap: 13px;
  color: #18334c;
  border-bottom: 1px solid rgba(8, 26, 42, .22);
  font-size: 9.5px;
  font-weight: 700;
}

.estado-hora {
  flex: 0 0 auto;
  white-space: nowrap;
  letter-spacing: .02em;
}

.estado-agenda {
  width: auto !important;
  flex: 0 0 auto;
  padding: 5px 8px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #087a43 !important;
  border: 1px solid rgba(16, 160, 85, .28);
  border-radius: 999px;
  background: rgba(20, 181, 99, .10);
  font-size: 9.5px;
  font-weight: 800;
  white-space: nowrap;
}

.estado-agenda i {
  width: 7px;
  height: 7px;
  flex: 0 0 7px;
  border-radius: 50%;
  background: #16b866;
  box-shadow: 0 0 0 0 rgba(22, 184, 102, .45);
  animation: pulso-agenda 1.8s ease-out infinite;
}

@keyframes pulso-agenda {
  0% {
    box-shadow: 0 0 0 0 rgba(22, 184, 102, .48);
  }

  70%,
  100% {
    box-shadow: 0 0 0 8px rgba(22, 184, 102, 0);
  }
}

.menu-toggle {
  display: none;
}

.pagina {
  margin-left: var(--sidebar);
}

/* =========================================================
   PORTADA / RECEPCIÓN
   ========================================================= */

.hero {
  position: relative;
  width: 100%;
  height: 100svh;
  min-height: 100svh;
  overflow: hidden;
  isolation: isolate;
  display: grid;
  align-items: center;
  background: #030b14;
}

.hero-imagen {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: 52% 45%;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    180deg,
    rgba(2, 9, 16, .14) 62%,
    rgba(3, 11, 20, .82) 100%
  );
}

.hero-veladura {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(
      90deg,
      rgba(2, 9, 16, .93) 0%,
      rgba(3, 12, 21, .79) 29%,
      rgba(3, 12, 21, .18) 60%,
      rgba(3, 12, 21, .05) 100%
    ),
    radial-gradient(
      circle at 43% 47%,
      rgba(15, 119, 226, .12),
      transparent 34%
    );
}

.hero-contenido {
  width: min(1180px, calc(100% - 10vw));
  padding: 122px 0 130px clamp(50px, 7vw, 128px);
}

.eyebrow {
  color: var(--blue-soft);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .2em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 780px;
  margin-top: 20px;
  font-size: clamp(48px, 5.2vw, 76px);
  line-height: .94;
  letter-spacing: -.062em;
  text-wrap: balance;
}

.hero h1 em {
  color: #1687ff;
  font-style: normal;
}

.hero-texto {
  max-width: 550px;
  margin-top: 30px;
  color: #d7dde3;
  font-size: clamp(16px, 1.2vw, 19px);
  line-height: 1.7;
}

.hero-acciones {
  margin-top: 34px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.boton {
  min-width: 196px;
  min-height: 54px;
  padding: 0 22px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 750;
  transition:
    transform .3s var(--ease),
    background-color .3s ease,
    border-color .3s ease;
}

.boton span {
  font-size: 19px;
  font-weight: 400;
}

.boton:hover {
  transform: translateY(-3px);
}

.boton-primario {
  border-color: var(--blue);
  background: var(--blue);
  box-shadow: 0 14px 38px rgba(0, 108, 229, .3);
}

.boton-primario:hover {
  background: #0077ed;
}

.boton-fantasma {
  background: rgba(3, 13, 23, .52);
  backdrop-filter: blur(12px);
}

.boton-fantasma:hover {
  border-color: rgba(99, 181, 255, .7);
}

.hero-ventajas {
  margin-top: 35px;
  display: flex;
  flex-wrap: wrap;
  gap: 27px;
  color: #e2e6e9;
  font-size: 11px;
  list-style: none;
}

.hero-ventajas li {
  display: flex;
  align-items: center;
  gap: 9px;
}

.hero-ventajas li::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 10px rgba(22, 135, 255, .8);
}

.scroll-indicator {
  position: absolute;
  right: 40px;
  bottom: 32px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255, 255, 255, .63);
  font-size: 9px;
  letter-spacing: .2em;
  text-transform: uppercase;
}

.scroll-indicator span {
  position: relative;
  width: 42px;
  height: 1px;
  overflow: hidden;
  background: rgba(255, 255, 255, .25);
}

.scroll-indicator span::after {
  content: "";
  position: absolute;
  inset: 0;
  background: #fff;
  animation: desliza 2.1s ease-in-out infinite;
}

@keyframes desliza {
  0% {
    transform: translateX(-105%);
  }

  55%,
  100% {
    transform: translateX(105%);
  }
}

/* =========================================================
   SONIDO AMBIENTAL
   ========================================================= */

.sonido-toggle {
  position: fixed;
  top: 22px;
  right: 22px;
  z-index: 75;
  min-height: 42px;
  padding: 0 14px;
  display: flex;
  align-items: center;
  gap: 9px;
  color: #eef7ff;
  border: 1px solid rgba(109, 190, 255, .42);
  border-radius: 999px;
  background: rgba(3, 15, 27, .76);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .28);
  backdrop-filter: blur(12px);
  cursor: pointer;
  font-size: 11px;
  font-weight: 750;
}

.sonido-toggle strong {
  color: #76c5ff;
  font-size: 9px;
  text-transform: uppercase;
}

.sonido-ondas {
  height: 16px;
  display: flex;
  align-items: center;
  gap: 2px;
}

.sonido-ondas i {
  width: 2px;
  height: 5px;
  border-radius: 2px;
  background: #63bdff;
  animation: onda-sonido .9s ease-in-out infinite alternate;
}

.sonido-ondas i:nth-child(2) {
  height: 12px;
  animation-delay: .16s;
}

.sonido-ondas i:nth-child(3) {
  height: 8px;
  animation-delay: .32s;
}

@keyframes onda-sonido {
  to {
    height: 15px;
    filter: drop-shadow(0 0 4px #1687ff);
  }
}

/* =========================================================
   BLOQUE DE VÍDEO / RUMBO
   ========================================================= */

.rumbo-experiencia {
  position: relative;
  min-height: clamp(600px, 68vw, 790px);
  overflow: hidden;
  display: grid;
  place-items: center;
  background: #020a12;
}

.rumbo-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

.rumbo-video-velo {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(1, 7, 13, .02) 38%,
    rgba(2, 10, 18, .60) 100%
  );
}

.rumbo-resplandor {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(
    circle at 50% 50%,
    rgba(27, 128, 224, .10),
    transparent 40%
  );
}

.rumbo-contenido {
  position: relative;
  z-index: 2;
  width: min(1240px, calc(100% - 9vw));
  margin: 0 auto;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.rumbo-copy {
  width: min(800px, 100%);
  max-width: 800px;
  margin: 0 auto;
  padding: 0;
  color: #fff;
  text-align: left;
}

.rumbo-copy h2 {
  max-width: 760px;
  margin-top: 12px;
  font-size: clamp(34px, 4vw, 60px);
  line-height: 1.03;
  letter-spacing: -.045em;
  text-shadow: 0 2px 16px rgba(0, 0, 0, .50);
}

.rumbo-copy h2 em {
  color: #70beff;
  font-style: normal;
}

.rumbo-copy > p:not(.eyebrow) {
  max-width: 760px;
  margin-top: 18px;
  color: #c8d3dd;
  line-height: 1.75;
  text-shadow: 0 2px 12px rgba(0, 0, 0, .75);
}

.rumbo-indicacion {
  margin-top: 18px;
  display: flex;
  align-items: center;
  gap: 11px;
  color: #8fcfff;
  font-size: 11px;
  font-weight: 700;
}

.rumbo-indicacion i {
  position: relative;
  width: 42px;
  height: 1px;
  flex: 0 0 42px;
  overflow: hidden;
  background: rgba(112, 190, 255, .26);
}

.rumbo-indicacion i::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    transparent,
    #70beff 38%,
    #fff 50%,
    #1687ff 62%,
    transparent
  );
  filter: drop-shadow(0 0 5px #1687ff);
  animation: rumbo-linea-dinamica 2.1s ease-in-out infinite;
}

@keyframes rumbo-linea-dinamica {
  0% {
    transform: translateX(-115%);
  }

  55%,
  100% {
    transform: translateX(115%);
  }
}

/* =========================================================
   ESTRUCTURA GENERAL
   ========================================================= */

.seccion {
  position: relative;
  overflow: hidden;
}

.contenedor {
  position: relative;
  z-index: 2;
  width: min(1240px, calc(100% - 9vw));
  margin-inline: auto;
}

.seccion-cabecera h2,
.proyecto-intro h2,
.sobre-copy h2,
.contacto h2 {
  margin-top: 12px;
  font-size: clamp(37px, 4.2vw, 65px);
  line-height: 1.02;
  letter-spacing: -.05em;
}

/* =========================================================
   SERVICIOS
   ========================================================= */

.servicios {
  padding: 118px 0 126px;
  background:
    linear-gradient(
      120deg,
      rgba(17, 48, 79, .28),
      transparent 38%
    ),
    var(--navy-900);
  border-top: 1px solid rgba(79, 155, 226, .16);
}

.centrada {
  max-width: 700px;
  margin-inline: auto;
  text-align: center;
}

.centrada > p:last-child {
  max-width: 590px;
  margin: 20px auto 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}

.servicios-grid {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.servicio-card {
  position: relative;
  min-height: 245px;
  padding: 27px 26px;
  overflow: hidden;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  border: 1px solid rgba(83, 158, 230, .21);
  border-radius: 14px;
  box-shadow: inset 0 1px rgba(255, 255, 255, .08);
  transition:
    transform .4s var(--ease),
    border-color .4s ease,
    box-shadow .4s ease;
}

.servicio-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: .18;
  background: linear-gradient(
    150deg,
    rgba(255, 255, 255, .20),
    transparent 42%
  );
  transition: opacity .4s ease;
}

.servicio-card::after {
  position: absolute;
  right: 22px;
  bottom: 5px;
  z-index: -1;
  color: currentColor;
  font-size: 126px;
  line-height: 1;
  opacity: .07;
  transform: rotate(-8deg);
  pointer-events: none;
}

.servicio-card:nth-child(1)::after {
  content: "✦";
}

.servicio-card:nth-child(2)::after {
  content: "▱";
}

.servicio-card:nth-child(3)::after {
  content: "⌕";
}

.servicio-card:nth-child(4)::after {
  content: "◌";
}

.servicio-card:nth-child(1) {
  color: #dff2ff;
  border-color: rgba(31, 146, 255, .58);
  background:
    radial-gradient(
      circle at 12% 6%,
      rgba(38, 166, 255, .37),
      transparent 45%
    ),
    linear-gradient(
      145deg,
      #07518c 0%,
      #063a68 56%,
      #052c50 100%
    );
  box-shadow:
    inset 0 1px rgba(255, 255, 255, .10),
    0 18px 45px rgba(0, 82, 152, .20);
}

.servicio-card:nth-child(2) {
  color: #dcffff;
  border-color: rgba(51, 205, 217, .58);
  background:
    radial-gradient(
      circle at 12% 6%,
      rgba(57, 219, 226, .34),
      transparent 45%
    ),
    linear-gradient(
      145deg,
      #087e88 0%,
      #08636d 56%,
      #064851 100%
    );
  box-shadow:
    inset 0 1px rgba(255, 255, 255, .10),
    0 18px 45px rgba(0, 104, 113, .20);
}

.servicio-card:nth-child(3) {
  color: #f0e9ff;
  border-color: rgba(151, 112, 255, .58);
  background:
    radial-gradient(
      circle at 12% 6%,
      rgba(155, 118, 255, .34),
      transparent 45%
    ),
    linear-gradient(
      145deg,
      #553c8e 0%,
      #3e306f 56%,
      #2c285d 100%
    );
  box-shadow:
    inset 0 1px rgba(255, 255, 255, .10),
    0 18px 45px rgba(47, 34, 105, .22);
}

.servicio-card:nth-child(4) {
  color: #e2fff1;
  border-color: rgba(64, 207, 145, .58);
  background:
    radial-gradient(
      circle at 12% 6%,
      rgba(77, 223, 158, .34),
      transparent 45%
    ),
    linear-gradient(
      145deg,
      #14775b 0%,
      #105b49 56%,
      #0b4038 100%
    );
  box-shadow:
    inset 0 1px rgba(255, 255, 255, .10),
    0 18px 45px rgba(6, 91, 67, .22);
}

.servicio-card:hover {
  transform: translateY(-8px);
}

.servicio-card:hover::before {
  opacity: .32;
}

.servicio-card:nth-child(1):hover {
  border-color: #4db8ff;
}

.servicio-card:nth-child(2):hover {
  border-color: #58dce1;
}

.servicio-card:nth-child(3):hover {
  border-color: #b098ff;
}

.servicio-card:nth-child(4):hover {
  border-color: #5bdd9f;
}

.icono-servicio {
  position: absolute;
  top: 27px;
  left: 28px;
  font-size: 38px;
  font-weight: 200;
}

.servicio-card:nth-child(1) .icono-servicio {
  color: #4fc0ff;
}

.servicio-card:nth-child(2) .icono-servicio {
  color: #55e2e5;
}

.servicio-card:nth-child(3) .icono-servicio {
  color: #c1a5ff;
}

.servicio-card:nth-child(4) .icono-servicio {
  color: #63e1a9;
}

.servicio-card .numero {
  position: absolute;
  top: 30px;
  right: 28px;
  color: rgba(235, 247, 255, .72);
  font-size: 10px;
  letter-spacing: .13em;
}

.servicio-card h3 {
  position: relative;
  margin-bottom: 12px;
  color: #fff;
  font-size: 15px;
  text-transform: uppercase;
}

.servicio-card > p:last-child {
  position: relative;
  color: rgba(241, 247, 252, .84);
  font-size: 12.5px;
  line-height: 1.7;
}

.servicios-widget {
  margin-top: 18px;
  padding: 24px 20px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  color: #10253a;
  border: 1px solid rgba(255, 255, 255, .5);
  border-radius: 14px;
  background: rgba(247, 243, 236, .97);
  box-shadow: 0 24px 58px rgba(0, 0, 0, .22);
}

.widget-item {
  min-height: 105px;
  padding: 4px 22px;
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 13px;
  align-items: center;
  border-left: 1px solid rgba(22, 56, 87, .16);
}

.widget-item:first-child {
  border-left: 0;
}

.widget-item h3 {
  margin-bottom: 6px;
  color: #0a1c2e;
  font-size: 11px;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.widget-item p {
  color: #58697a;
  font-size: 10px;
  line-height: 1.55;
}

.widget-icon {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  color: #fff;
  border-radius: 12px 12px 16px 16px;
  background: linear-gradient(145deg, #0b4ca3, #177ce4);
  box-shadow: 0 8px 18px rgba(11, 91, 180, .2);
  font-size: 18px;
  font-weight: 800;
}

.widget-icon.velocidad {
  border-radius: 50%;
  font-size: 22px;
  transform: rotate(-12deg);
}

.widget-icon.estrategia {
  color: #0b5daf;
  border: 2px solid #176cc5;
  border-radius: 50%;
  background: #e8f2fc;
  box-shadow: none;
}

.google-g {
  width: 36px;
  height: 36px;
  display: block;
}

.widget-icon.estrategia svg {
  width: 27px;
  height: 27px;
  display: block;
}

/* =========================================================
   PROYECTOS
   ========================================================= */

.proyectos {
  min-height: 0;
  padding: 112px 0 72px;
  background: #030c16;
}

.ondas {
  position: absolute;
  inset: 0;
  opacity: .35;
  background: repeating-radial-gradient(
    ellipse at 64% 49%,
    transparent 0 18px,
    rgba(53, 126, 195, .17) 19px 20px,
    transparent 21px 30px
  );
  transform: scale(1.35);
}

.proyecto-layout {
  display: grid;
  grid-template-columns: .72fr 1.55fr;
  gap: clamp(48px, 7vw, 105px);
  align-items: start;
}

.proyecto-intro {
  align-self: start;
  padding-top: 20px;
}

.proyecto-intro > p:last-child {
  max-width: 390px;
  margin-top: 25px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}

.proyecto-destacado {
  padding: 22px;
  display: grid;
  grid-template-columns: 1.55fr .72fr;
  align-items: center;
  gap: 28px;
  border: 1px solid rgba(68, 139, 207, .18);
  border-radius: 18px;
  background: rgba(4, 15, 26, .78);
  box-shadow: 0 35px 90px rgba(0, 0, 0, .34);
  backdrop-filter: blur(10px);
}

.mockup-navegador {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .25);
  border-radius: 8px;
  transform: perspective(1200px) rotateY(2deg);
  box-shadow: 0 25px 70px rgba(0, 0, 0, .5);
}

.mockup-barra {
  position: relative;
  height: 29px;
  padding: 0 12px;
  display: flex;
  align-items: center;
  gap: 5px;
  color: #856e60;
  background: #f8f2e9;
}

.mockup-barra i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #c8a990;
}

.mockup-barra span {
  position: absolute;
  left: 50%;
  font-size: 6px;
  transform: translateX(-50%);
}

.mockup-pagina {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #f7efe7;
}

.mares-captura {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: top center;
}

.proyecto-info h3 {
  margin: 10px 0 18px;
  font-size: clamp(26px, 2.6vw, 40px);
  letter-spacing: -.04em;
}

.proyecto-info > p:not(.eyebrow) {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.proyecto-info ul {
  margin: 24px 0;
  display: grid;
  gap: 10px;
  color: #d4dce4;
  font-size: 12px;
  list-style: none;
}

.proyecto-info li::before {
  content: "✓";
  margin-right: 10px;
  color: var(--blue);
}

.proyecto-info > a {
  color: #42a0f9;
  font-size: 12px;
  font-weight: 800;
}

/* =========================================================
   SOBRE MÍ
   ========================================================= */

.sobre-mi {
  padding: 142px 0;
  color: #142a3e;
  background: var(--cream);
}

.listones {
  position: absolute;
  top: 0;
  right: 0;
  width: 43%;
  height: 100%;
  opacity: .67;
  background: repeating-linear-gradient(
    90deg,
    #bc8254 0 10px,
    #a96d42 10px 13px,
    #e2c39f 13px 18px
  );
  clip-path: polygon(18% 0, 100% 0, 100% 100%, 0 100%);
}

.listones::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, var(--cream), transparent 42%),
    linear-gradient(
      180deg,
      rgba(255, 255, 255, .28),
      rgba(56, 29, 13, .13)
    );
}

.sobre-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9vw;
  align-items: center;
}

.sobre-copy .eyebrow {
  color: #0d70cf;
}

.sobre-copy h2 {
  max-width: 650px;
}

.sobre-detalle {
  position: relative;
  z-index: 2;
  padding: 45px;
  border: 1px solid rgba(255, 255, 255, .38);
  border-radius: 14px;
  background: rgba(247, 240, 229, .86);
  box-shadow: 0 28px 60px rgba(74, 42, 20, .15);
  backdrop-filter: blur(12px);
}

.sobre-detalle > p {
  color: #405366;
  font-size: 15px;
  line-height: 1.8;
}

.sobre-detalle > p + p {
  margin-top: 18px;
}

.sobre-nombre {
  margin-bottom: 9px;
  display: block;
  color: #173650;
  font-size: 20px;
  line-height: 1.25;
  letter-spacing: -.02em;
}

/* =========================================================
   SEO LOCAL
   ========================================================= */

.seo-local {
  padding: 112px 0;
  color: #142a3e;
  background: #e8dcc9;
  border-top: 1px solid rgba(25, 60, 91, .12);
}

.seo-local-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: clamp(45px, 8vw, 110px);
  align-items: start;
}

.seo-local .eyebrow {
  color: #0d70cf;
}

.seo-local h2 {
  margin-top: 12px;
  font-size: clamp(34px, 3.8vw, 58px);
  line-height: 1.04;
  letter-spacing: -.05em;
}

.seo-local-contenido > p {
  color: #405366;
  font-size: 15px;
  line-height: 1.85;
}

.seo-local details {
  margin-top: 28px;
  border-top: 1px solid rgba(25, 60, 91, .25);
  border-bottom: 1px solid rgba(25, 60, 91, .25);
}

.seo-local summary {
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: #173650;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  list-style: none;
}

.seo-local summary::-webkit-details-marker {
  display: none;
}

.seo-local summary span {
  color: #0877df;
  font-size: 21px;
  line-height: .8;
  transition: transform .25s ease;
}

.seo-local details[open] summary span {
  transform: rotate(45deg);
}

.seo-local-desplegable {
  padding: 0 0 24px;
  display: grid;
  gap: 14px;
}

.seo-local-desplegable p {
  color: #506276;
  font-size: 13px;
  line-height: 1.8;
}

/* =========================================================
   CONTACTO
   ========================================================= */

.contacto {
  padding: 140px 0 128px;
  background:
    linear-gradient(
      105deg,
      rgba(3, 12, 22, .95),
      rgba(5, 31, 58, .84)
    ),
    repeating-linear-gradient(
      90deg,
      #0f2942 0 18px,
      #0b2035 18px 21px
    );
  border-top: 1px solid rgba(78, 151, 220, .18);
}

.contacto-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: clamp(42px, 6vw, 92px);
  align-items: center;
}

.contacto-copy {
  padding-left: clamp(20px, 5vw, 90px);
}

.contacto h2 {
  max-width: 680px;
}

.contacto-copy > p:not(.eyebrow) {
  max-width: 620px;
  margin-top: 24px;
  color: #bdc8d2;
  font-size: 15px;
  line-height: 1.8;
}

.contacto-acciones {
  margin-top: 34px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 9px;
}

.contacto-acciones .boton {
  width: 100%;
  min-width: 0;
  min-height: 49px;
  padding-inline: 15px;
  gap: 10px;
}

.boton-whatsapp {
  border-color: #20b763;
  background: #159e54;
  box-shadow: 0 13px 30px rgba(18, 148, 76, .22);
}

.boton-whatsapp:hover {
  background: #128747;
}

.boton-instagram {
  border-color: #d346b6;
  background: linear-gradient(
    135deg,
    #7d38c9,
    #d13aa8 58%,
    #ef7b38
  );
  box-shadow: 0 13px 30px rgba(177, 53, 158, .24);
}

.boton-instagram:hover {
  background: linear-gradient(
    135deg,
    #6d2eb5,
    #bf2f97 58%,
    #dd692d
  );
}

.contacto-form {
  padding: clamp(27px, 3vw, 42px);
  border: 1px solid rgba(31, 159, 255, .38);
  border-radius: 18px;
  background: rgba(17, 48, 78, .9);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .3);
  backdrop-filter: blur(16px);
}

.contacto-form h3 {
  margin: 9px 0 26px;
  font-size: clamp(24px, 2.3vw, 35px);
  letter-spacing: -.04em;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.form-grid label {
  display: grid;
  gap: 7px;
  color: #c7d4df;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .04em;
}

.form-grid input:not([type="checkbox"]),
.form-grid select,
.form-grid textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  color: #fff;
  border: 1px solid rgba(47, 176, 255, .6);
  border-radius: 8px;
  outline: none;
  background: rgba(3, 20, 37, .68);
  font: inherit;
  transition:
    border-color .2s ease,
    box-shadow .2s ease;
}

.form-grid textarea {
  min-height: 112px;
  resize: vertical;
}

.form-grid input:focus,
.form-grid select:focus,
.form-grid textarea:focus {
  border-color: #6bc1ff;
  box-shadow: 0 0 0 3px rgba(38, 152, 255, .12);
}

.form-grid select option {
  color: #fff;
  background: #0a2035;
}

.campo-completo {
  grid-column: 1 / -1;
}

.aceptacion {
  display: flex !important;
  grid-template-columns: 17px 1fr;
  align-items: center;
  font-weight: 500 !important;
}

.aceptacion input {
  width: 16px;
  height: 16px;
  accent-color: #1687ff;
}

.form-submit {
  width: 100%;
  margin-top: 20px;
  border: 0;
  cursor: pointer;
}

.form-submit:disabled {
  opacity: .65;
  cursor: wait;
}

.form-nota {
  margin-top: 11px;
  color: #8fa4b7;
  font-size: 9px;
  line-height: 1.5;
  text-align: center;
}

.form-estado {
  min-height: 20px;
  margin-top: 10px;
  color: #9ed2ff;
  font-size: 11px;
  line-height: 1.5;
  text-align: center;
}

.form-estado.exito {
  color: #8ce0b1;
}

.form-estado.error {
  color: #ffb0a8;
}

.campo-trampa {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* =========================================================
   PREGUNTAS FRECUENTES
   ========================================================= */

.faq {
  padding: 110px 0;
  color: #0a2034;
  background: #f7f5f0;
  border-top: 1px solid #d8e2ea;
}

.faq .eyebrow {
  color: #0877df;
}

.faq .seccion-cabecera h2 {
  color: #07192a;
}

.faq .seccion-cabecera > p:last-child {
  color: #526579;
}

.faq-lista {
  max-width: 980px;
  margin: 48px auto 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.faq-columna {
  display: grid;
  gap: 14px;
  align-content: start;
}

.faq details {
  overflow: hidden;
  border: 1px solid #d5e0e9;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 9px 24px rgba(10, 38, 61, .06);
}

.faq summary {
  min-height: 66px;
  padding: 18px 20px;
  display: grid;
  grid-template-columns: 34px 1fr 18px;
  align-items: center;
  gap: 10px;
  color: #102c45;
  font-size: 13px;
  font-weight: 800;
  list-style: none;
  cursor: pointer;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary span {
  color: #1687ff;
  font-size: 11px;
}

.faq summary i {
  position: relative;
  width: 16px;
  height: 16px;
}

.faq summary i::before,
.faq summary i::after {
  content: "";
  position: absolute;
  top: 7px;
  left: 2px;
  width: 12px;
  height: 2px;
  background: #1687ff;
}

.faq summary i::after {
  transform: rotate(90deg);
  transition: transform .2s ease;
}

.faq details[open] summary i::after {
  transform: rotate(0);
}

.faq details p {
  padding: 0 20px 20px 64px;
  color: #50657a;
  font-size: 13px;
  line-height: 1.75;
}

/* =========================================================
   PIE DE PÁGINA
   ========================================================= */

.footer {
  min-height: 104px;
  padding: 27px clamp(28px, 4vw, 70px);
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) auto;
  gap: 30px;
  align-items: center;
  color: #748392;
  background: #020811;
  font-size: 11.5px;
}

.footer-logo {
  width: 72px;
  height: 72px;
  justify-self: start;
  object-fit: cover;
  border-radius: 50%;
}

.footer-legal {
  line-height: 1.7;
  white-space: nowrap;
}

.footer-separador {
  margin: 0 9px;
  color: #1687ff;
}

.footer-autor {
  color: #a8b5c1;
  font-size: 10.5px;
  letter-spacing: .035em;
}

.footer nav {
  display: flex;
  justify-content: flex-end;
  gap: 23px;
}

.footer a:hover,
.footer-boton:hover {
  color: #fff;
}

.footer-boton {
  padding: 0;
  color: inherit;
  border: 0;
  outline: 0;
  background: transparent;
  cursor: pointer;
}

/* =========================================================
   PRIVACIDAD FLOTANTE
   ========================================================= */

.cookie-preferencias,
.cookie-preferencias[hidden] {
  position: fixed;
  right: 18px;
  bottom: var(--cookie-separacion, 18px);
  left: auto;
  z-index: 64;
  min-height: 36px;
  padding: 0 13px;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  color: #dceeff;
  border: 1px solid rgba(102, 184, 255, .42);
  border-radius: 999px;
  background: rgba(4, 20, 35, .82);
  box-shadow: 0 10px 28px rgba(0, 0, 0, .28);
  backdrop-filter: blur(10px);
  font-size: 10px;
  font-weight: 800;
  cursor: pointer;
  transition:
    bottom .3s ease,
    background .2s ease;
}

.cookie-preferencias:hover {
  background: #0b528e;
}

/* =========================================================
   EFECTOS
   ========================================================= */

.cursor-luz {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 80;
  width: 420px;
  height: 420px;
  pointer-events: none;
  opacity: 0;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(44, 148, 255, .14) 0,
    rgba(25, 95, 200, .055) 38%,
    transparent 70%
  );
  mix-blend-mode: screen;
  transform: translate(-50%, -50%);
  transition: opacity .18s ease;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity .85s var(--ease),
    transform .85s var(--ease);
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

/* =========================================================
   TABLET / PORTÁTIL
   ========================================================= */

@media (max-width: 1180px) {
  :root {
    --sidebar: 228px;
  }

  .sidebar {
    padding-inline: 22px;
  }

  .brand img {
    width: 155px;
    height: 155px;
  }

  .sidebar-estado {
    width: 100%;
    gap: 8px;
    font-size: 8.8px;
  }

  .estado-agenda {
    padding-inline: 7px;
    gap: 6px;
    font-size: 8.8px;
  }

  .hero-contenido {
    padding-left: 6vw;
  }

  .servicios-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .servicios-widget {
    grid-template-columns: repeat(2, 1fr);
  }

  .widget-item:nth-child(3) {
    padding-top: 20px;
    border-top: 1px solid rgba(22, 56, 87, .16);
    border-left: 0;
  }

  .widget-item:nth-child(4) {
    padding-top: 20px;
    border-top: 1px solid rgba(22, 56, 87, .16);
  }

  .proyecto-layout {
    grid-template-columns: 1fr;
  }

  .proyecto-intro {
    max-width: 650px;
  }

  .proyecto-destacado {
    grid-template-columns: 1.35fr .75fr;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .campo-completo {
    grid-column: auto;
  }
}

/* =========================================================
   MÓVIL / TABLET PEQUEÑA
   ========================================================= */

@media (max-width: 840px) {
  :root {
    --sidebar: 0px;
  }

  .menu-toggle {
    position: fixed;
    top: 19px;
    right: 18px;
    z-index: 70;
    width: 45px;
    height: 45px;
    display: grid;
    place-content: center;
    gap: 7px;
    border: 1px solid rgba(255, 255, 255, .22);
    border-radius: 50%;
    background: rgba(5, 17, 29, .72);
    backdrop-filter: blur(12px);
  }

  .menu-toggle span {
    width: 18px;
    height: 1px;
    background: #fff;
    transition: transform .3s ease;
  }

  .menu-toggle.abierto span:first-child {
    transform: translateY(4px) rotate(45deg);
  }

  .menu-toggle.abierto span:last-child {
    transform: translateY(-4px) rotate(-45deg);
  }

  .sidebar {
    width: min(340px, 88vw);
    transform: translateX(-105%);
    transition: transform .48s var(--ease);
    box-shadow: 30px 0 80px rgba(0, 0, 0, .34);
  }

  .sidebar.abierto {
    transform: translateX(0);
  }

  .sidebar-servicios {
    white-space: normal;
  }

  .sidebar-estado {
    width: min(230px, 100%);
    gap: 13px;
    font-size: 9.5px;
  }

  .estado-agenda {
    font-size: 9.5px;
  }

  .pagina {
    margin-left: 0;
  }

  .sonido-toggle {
    top: 20px;
    right: auto;
    left: 18px;
  }

  .hero {
    height: 100svh;
    min-height: 100svh;
  }

  .hero-imagen {
    object-position: 63% 45%;
  }

  .hero-veladura {
    background:
      linear-gradient(
        90deg,
        rgba(2, 9, 16, .93),
        rgba(3, 12, 21, .44)
      ),
      linear-gradient(
        0deg,
        rgba(3, 12, 21, .77),
        transparent 55%
      );
  }

  .hero-contenido {
    width: calc(100% - 44px);
    padding: 130px 0 120px;
  }

  .hero h1 {
    font-size: clamp(44px, 10.8vw, 66px);
  }

  .scroll-indicator {
    right: 22px;
    bottom: 25px;
  }

  .contenedor {
    width: calc(100% - 44px);
  }

  .rumbo-experiencia {
    min-height: 620px;
    place-items: center;
  }

  .rumbo-contenido {
    width: calc(100% - 36px);
    padding: 0;
  }

  .rumbo-copy {
    margin: 0 auto;
  }

  .servicios,
  .sobre-mi,
  .contacto {
    padding-block: 100px;
  }

  .proyectos {
    padding: 92px 0 62px;
  }

  .proyecto-destacado {
    grid-template-columns: 1fr;
  }

  .sobre-grid,
  .seo-local-grid,
  .contacto-grid {
    grid-template-columns: 1fr;
    gap: 55px;
  }

  .listones {
    width: 72%;
    opacity: .45;
  }

  .sobre-detalle {
    padding: 32px;
  }

  .contacto-copy {
    padding-left: 0;
  }

  .contacto-acciones {
    max-width: 620px;
  }

  .contacto-acciones .whatsapp-escritorio {
    display: flex !important;
  }

  .faq {
    padding: 82px 0;
  }

  .faq-lista {
    margin-top: 34px;
    grid-template-columns: 1fr;
  }

  .footer {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-logo {
    justify-self: center;
  }

  .footer-legal {
    white-space: normal;
  }

  .footer nav {
    justify-content: center;
    flex-wrap: wrap;
  }

  .cookie-preferencias,
  .cookie-preferencias[hidden] {
    right: 16px;
    left: auto;
  }
}

/* =========================================================
   MÓVIL ESTRECHO
   ========================================================= */

@media (max-width: 560px) {
  .hero h1 {
    font-size: clamp(40px, 11.7vw, 56px);
  }

  .hero-texto {
    font-size: 15px;
  }

  .hero-acciones {
    display: grid;
  }

  .boton {
    width: 100%;
  }

  .hero-ventajas {
    gap: 14px 20px;
  }

  .rumbo-copy h2 {
    font-size: clamp(32px, 9vw, 46px);
  }

  .rumbo-copy > p:not(.eyebrow) {
    font-size: 14px;
  }

  .rumbo-indicacion {
    align-items: flex-start;
    font-size: 10px;
    line-height: 1.5;
  }

  .rumbo-indicacion i {
    margin-top: 7px;
  }

  .servicios-grid {
    grid-template-columns: 1fr;
  }

  .servicio-card {
    min-height: 235px;
  }

  .servicios-widget {
    padding: 10px 20px;
    grid-template-columns: 1fr;
  }

  .widget-item,
  .widget-item:nth-child(3),
  .widget-item:nth-child(4) {
    padding: 18px 4px;
    border-top: 1px solid rgba(22, 56, 87, .16);
    border-left: 0;
  }

  .widget-item:first-child {
    border-top: 0;
  }

  .proyecto-destacado {
    padding: 18px;
  }

  .mockup-pagina {
    min-height: 0;
    padding: 0;
  }

  .sobre-detalle {
    padding: 26px 22px;
  }

  .contacto-acciones {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 9px !important;
  }

  .contacto-acciones .boton {
    width: 100% !important;
    min-width: 0 !important;
    padding: 0 6px !important;
    justify-content: center !important;
    font-size: 11px !important;
  }

  .sidebar-estado {
    gap: 10px;
    font-size: 9px;
  }

  .estado-agenda {
    padding-inline: 6px;
    font-size: 9px;
  }
}

/* =========================================================
   MONITORES MUY PANORÁMICOS
   ========================================================= */

@media (min-width: 1500px) and (min-aspect-ratio: 2 / 1) {
  .hero {
    min-height: 100svh;
    height: 100svh;
  }

  .hero-imagen {
    object-position: center 45%;
  }
}

/* =========================================================
   ACCESIBILIDAD / MOVIMIENTO REDUCIDO
   ========================================================= */

@media (pointer: coarse), (prefers-reduced-motion: reduce) {
  .cursor-luz {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .rumbo-indicacion i::after,
  .sonido-ondas i,
  .estado-agenda i {
    animation: none;
    transform: none;
  }
}

/* =========================================================
   AJUSTES FINALES DE ENCUADRE Y ESPACIADO — 23/07/2026
   ========================================================= */

/* 1. Proyectos: contenido más centrado verticalmente */
.proyectos {
  min-height: 0;
  padding: 88px 0 72px;
}

/* 2. Vídeo: suavizar bandas y pixelado del fondo oscuro */
.rumbo-video {
  filter: saturate(.97) contrast(1.015);
}

.rumbo-experiencia::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: .035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180' viewBox='0 0 180 180'%3E%3Cfilter id='ruido'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.82' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23ruido)' opacity='.55'/%3E%3C/svg%3E");
  background-size: 180px 180px;
  mix-blend-mode: soft-light;
}

.rumbo-contenido {
  z-index: 2;
}

/* 3. Bilbao, hora y Agenda abierta más legibles */
.sidebar-estado {
  position: relative;
  width: 100%;
  gap: 14px;
  padding-bottom: 12px;
  border-bottom: 0;
  font-size: 10.5px;
}

.sidebar-estado::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 165px;
  height: 1px;
  background: rgba(8, 26, 42, .22);
}

.estado-hora {
  font-size: 10.5px;
}

.estado-agenda {
  padding: 5px 9px;
  font-size: 10.5px;
}

/* 4. Recepción completa en monitores ultrapanorámicos */
@media (min-width: 1500px) and (min-aspect-ratio: 2 / 1) {
  .hero {
    width: 100%;
    height: auto;
    min-height: 0;
    aspect-ratio: 1840 / 856;
  }

  .hero-imagen {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
  }
}

/* Ajuste para portátiles con menú lateral más estrecho */
@media (max-width: 1180px) and (min-width: 841px) {
  .sidebar-estado {
    gap: 7px;
    font-size: 8.9px;
  }

  .estado-hora,
  .estado-agenda {
    font-size: 8.9px;
  }

  .estado-agenda {
    padding-inline: 6px;
  }

  .sidebar-estado::after {
    width: 145px;
  }
}

/* Ajustes equivalentes en móvil */
@media (max-width: 840px) {
  .proyectos {
    padding: 82px 0 62px;
  }

  .sidebar-estado {
    gap: 14px;
    font-size: 10.5px;
  }

  .estado-hora,
  .estado-agenda {
    font-size: 10.5px;
  }

  .sidebar-estado::after {
    width: 165px;
  }
}

/* Ajuste final de la línea bajo Bilbao y Agenda */
.sidebar-estado::after {
  width: 183px;
}

/* =========================================================
   RECUPERACIÓN VISUAL — ICONOS Y SILUETAS WEB CON NORTE
   ========================================================= */

/* ---------------------------------------------------------
   1. ICONOS DE SERVICIOS DENTRO DE CUADROS LUMINOSOS
   --------------------------------------------------------- */

.icono-servicio {
  position: absolute;
  top: 27px;
  left: 28px;

  width: 68px;
  height: 68px;

  display: grid;
  place-items: center;

  border: 2px solid currentColor;
  border-radius: 20px;
  background: rgba(3, 17, 30, .24);

  font-size: 34px;
  font-weight: 200;
  line-height: 1;

  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);

  transition:
    transform .35s var(--ease),
    background-color .35s ease,
    box-shadow .35s ease;
}

/* Diseño web — azul */
.servicio-card:nth-child(1) .icono-servicio {
  color: #4fc0ff;
  background: rgba(14, 116, 196, .22);
  box-shadow:
    inset 0 0 18px rgba(79, 192, 255, .14),
    0 0 18px rgba(79, 192, 255, .34);
}

/* Diseño responsive — turquesa */
.servicio-card:nth-child(2) .icono-servicio {
  color: #55e2e5;
  background: rgba(20, 147, 154, .22);
  box-shadow:
    inset 0 0 18px rgba(85, 226, 229, .14),
    0 0 18px rgba(85, 226, 229, .34);
}

/* SEO optimizado — morado */
.servicio-card:nth-child(3) .icono-servicio {
  color: #c1a5ff;
  background: rgba(104, 73, 171, .22);
  box-shadow:
    inset 0 0 18px rgba(193, 165, 255, .14),
    0 0 18px rgba(193, 165, 255, .34);
}

/* Soporte cercano — verde */
.servicio-card:nth-child(4) .icono-servicio {
  color: #63e1a9;
  background: rgba(30, 139, 101, .22);
  box-shadow:
    inset 0 0 18px rgba(99, 225, 169, .14),
    0 0 18px rgba(99, 225, 169, .34);
}

.servicio-card:hover .icono-servicio {
  transform: translateY(-3px) scale(1.04);
  background: rgba(3, 17, 30, .38);
}


/* ---------------------------------------------------------
   2. SILUETA DEL LOGO EN SERVICIOS Y CONTACTO
   --------------------------------------------------------- */

/*
   Se utiliza únicamente la parte superior del logo:
   brújula, anillos y montañas.
   El texto inferior queda fuera del recorte.
*/

.servicios::after,
.contacto::before {
  content: "";

  position: absolute;
  z-index: 0;

  width: 650px;
  height: 385px;

  background-image: url("assets/logo-original.png");
  background-repeat: no-repeat;
  background-position: center top;
  background-size: 650px auto;

  opacity: .075;
  filter:
    saturate(1.25)
    brightness(1.45)
    contrast(1.05);

  mix-blend-mode: screen;

  pointer-events: none;
  user-select: none;

  -webkit-mask-image: linear-gradient(
    to bottom,
    #000 0%,
    #000 76%,
    transparent 100%
  );

  mask-image: linear-gradient(
    to bottom,
    #000 0%,
    #000 76%,
    transparent 100%
  );
}

/* Servicios: silueta detrás de Soporte cercano y Estrategia */
.servicios::after {
  top: 54%;
  right: -115px;
  transform: translateY(-50%);
}

/* Contacto: silueta detrás del bloque de contacto izquierdo */
.contacto::before {
  top: 51%;
  left: -130px;
  transform: translateY(-50%);
}

/* Todo el contenido permanece por encima de las siluetas */
.servicios > .contenedor,
.contacto > .contenedor {
  position: relative;
  z-index: 2;
}


/* ---------------------------------------------------------
   3. AJUSTES PARA TABLET
   --------------------------------------------------------- */

@media (max-width: 1180px) {
  .servicios::after,
  .contacto::before {
    width: 550px;
    height: 326px;
    background-size: 550px auto;
    opacity: .065;
  }

  .servicios::after {
    right: -175px;
    top: 59%;
  }

  .contacto::before {
    left: -185px;
    top: 45%;
  }
}


/* ---------------------------------------------------------
   4. AJUSTES PARA MÓVIL Y TABLET PEQUEÑA
   --------------------------------------------------------- */

@media (max-width: 840px) {
  .servicios::after,
  .contacto::before {
    width: 470px;
    height: 278px;
    background-size: 470px auto;
    opacity: .052;
  }

  .servicios::after {
    top: 66%;
    right: -205px;
  }

  .contacto::before {
    top: 35%;
    left: -210px;
  }

  .icono-servicio {
    width: 64px;
    height: 64px;
    border-radius: 18px;
    font-size: 32px;
  }
}


/* ---------------------------------------------------------
   5. AJUSTES PARA MÓVIL ESTRECHO
   --------------------------------------------------------- */

@media (max-width: 560px) {
  .servicios::after,
  .contacto::before {
    width: 390px;
    height: 231px;
    background-size: 390px auto;
    opacity: .045;
  }

  .servicios::after {
    top: 71%;
    right: -185px;
  }

  .contacto::before {
    top: 31%;
    left: -190px;
  }

  .icono-servicio {
    top: 24px;
    left: 24px;
    width: 62px;
    height: 62px;
    border-radius: 18px;
    font-size: 31px;
  }
}

/* AJUSTE FINAL: LOGOS PEGADOS A LA PARTE INFERIOR */

.servicios::after,
.contacto::before {
  top: auto !important;
  bottom: 0 !important;
  transform: none !important;
  background-position: center top !important;
}

/* =========================================================
   ICONOS DE CONTACTO DEL MENÚ LATERAL
   ========================================================= */

.sidebar-bottom {
  gap: 10px;
}

.sidebar-bottom > .sidebar-contacto {
  width: max-content;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #2f465c;
  font-size: 11px;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  transition:
    color .2s ease,
    transform .2s ease;
}

.sidebar-contacto svg {
  width: 17px;
  height: 17px;
  flex: 0 0 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.sidebar-contacto svg .contacto-punto {
  fill: currentColor;
  stroke: none;
}

.sidebar-contacto .contacto-flecha {
  width: auto;
  margin-left: 1px;
  color: inherit;
  font-size: 9px;
  transition: transform .2s ease;
}

.sidebar-bottom > .sidebar-contacto:hover {
  color: #0078e8;
  transform: translateX(2px);
}

.sidebar-contacto:hover .contacto-flecha {
  transform: translate(2px, -2px);
}

.sidebar-contacto:focus-visible {
  border-radius: 2px;
  outline: 2px solid #0078e8;
  outline-offset: 5px;
}

@media (max-width: 1180px) and (min-width: 841px) {
  .sidebar-bottom > .sidebar-contacto {
    gap: 7px;
    font-size: 10px;
  }

  .sidebar-contacto svg {
    width: 16px;
    height: 16px;
    flex-basis: 16px;
  }
}

/* =========================================================
   SECCIÓN EDITORIAL · DISEÑO WEB DESDE BILBAO
   ========================================================= */

.seo-editorial {
  position: relative;
  isolation: isolate;
  min-height: 760px;
  padding: clamp(90px, 9vw, 145px) 0;
  overflow: hidden;
  color: #102b45;
  background:
    radial-gradient(
      circle at 45% 48%,
      rgba(255, 255, 255, .78),
      transparent 42%
    ),
    linear-gradient(
      112deg,
      #f4eee4 0%,
      #f8f4ed 54%,
      #efe5d7 100%
    );
  border-top: 1px solid rgba(25, 60, 91, .12);
  border-bottom: 1px solid rgba(25, 60, 91, .12);
}


/* Palabra RUMBO del fondo */

.seo-editorial-fondo {
  position: absolute;
  z-index: -1;
  top: 50%;
  right: clamp(-75px, -3vw, -30px);
  transform: translateY(-50%);
  pointer-events: none;
  user-select: none;
}

.seo-editorial-fondo span {
  display: block;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  color: rgba(20, 42, 62, .055);
  font-size: clamp(145px, 16vw, 285px);
  font-weight: 900;
  line-height: .72;
  letter-spacing: -.08em;
  text-transform: uppercase;
}


/* Estructura principal */

.seo-editorial-grid {
  position: relative;
  display: grid;
  grid-template-columns:
    minmax(390px, 1.15fr)
    minmax(130px, .4fr)
    minmax(300px, .82fr);
  gap: clamp(30px, 4vw, 72px);
  align-items: center;
}


/* Titular */

.seo-editorial .eyebrow {
  width: max-content;
  margin-bottom: 32px;
  color: #0877df;
}

.seo-editorial .eyebrow::after {
  content: "";
  display: block;
  width: 54px;
  height: 2px;
  margin-top: 18px;
  background: var(--blue);
}

.seo-editorial .seo-editorial-titulo {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin: 0;
  color: #102b45;
  font-size: inherit;
  line-height: 1;
  letter-spacing: normal;
}

.seo-editorial-una {
  margin-bottom: 2px;
  color: #173650;
  font-size: clamp(25px, 2.1vw, 38px);
  font-weight: 750;
  line-height: 1;
}

.seo-editorial-presencia {
  display: block;
  margin-left: -3px;
  color: #092947;
  font-family:
    "Arial Narrow",
    "Roboto Condensed",
    Impact,
    sans-serif;
  font-size: clamp(72px, 8.2vw, 150px);
  font-stretch: condensed;
  font-weight: 900;
  line-height: .82;
  letter-spacing: -.045em;
  text-transform: uppercase;
}

.seo-editorial-linea {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: .3em;
  margin-top: clamp(8px, 1.15vw, 18px);
  color: #112d47;
  font-size: clamp(31px, 3.25vw, 58px);
  font-weight: 780;
  line-height: 1.03;
  letter-spacing: -.055em;
}

.seo-editorial-digital {
  color: var(--blue);
  font-size: 1.18em;
  font-weight: 850;
}

.seo-editorial-final::after {
  content: "";
  width: .13em;
  height: .13em;
  margin-left: -.22em;
  border-radius: 50%;
  background: var(--blue);
}


/* Aparición escalonada de las palabras */

.seo-editorial-una,
.seo-editorial-presencia,
.seo-editorial-linea {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity .7s var(--ease),
    transform .85s var(--ease);
}

.seo-editorial-titular.visible .seo-editorial-una {
  opacity: 1;
  transform: none;
  transition-delay: .08s;
}

.seo-editorial-titular.visible .seo-editorial-presencia {
  opacity: 1;
  transform: none;
  transition-delay: .16s;
}

.seo-editorial-titular.visible .seo-editorial-linea:nth-of-type(3) {
  opacity: 1;
  transform: none;
  transition-delay: .27s;
}

.seo-editorial-titular.visible .seo-editorial-linea:nth-of-type(4) {
  opacity: 1;
  transform: none;
  transition-delay: .36s;
}

.seo-editorial-titular.visible .seo-editorial-linea:nth-of-type(5) {
  opacity: 1;
  transform: none;
  transition-delay: .45s;
}

.seo-editorial-titular.visible .seo-editorial-linea:nth-of-type(6) {
  opacity: 1;
  transform: none;
  transition-delay: .54s;
}


/* Ruta central */

.seo-editorial-ruta {
  position: relative;
  width: 100%;
  max-width: 250px;
  height: 610px;
  justify-self: center;
  pointer-events: none;
}

.seo-editorial-ruta svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.seo-ruta-trazo {
  fill: none;
  stroke: rgba(39, 83, 119, .26);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-dasharray: 8 9;
  stroke-dashoffset: 620;
}

.seo-ruta-eco {
  fill: #f7f2e9;
  stroke: rgba(39, 83, 119, .25);
  stroke-width: 1.5;
  opacity: 0;
}

.seo-ruta-punto {
  fill: var(--blue);
  opacity: 0;
  filter: drop-shadow(0 5px 12px rgba(22, 135, 255, .25));
  transform-box: fill-box;
  transform-origin: center;
}

.seo-editorial-titular.visible
  + .seo-editorial-ruta
  .seo-ruta-trazo {
  animation: seoDibujarRuta 1.7s var(--ease) .25s forwards;
}

.seo-editorial-titular.visible
  + .seo-editorial-ruta
  .eco-uno {
  animation: seoMostrarEco .5s ease .72s forwards;
}

.seo-editorial-titular.visible
  + .seo-editorial-ruta
  .eco-dos {
  animation: seoMostrarEco .5s ease 1.18s forwards;
}

.seo-editorial-titular.visible
  + .seo-editorial-ruta
  .seo-ruta-punto {
  animation: seoLlegarPunto .7s var(--ease) 1.55s forwards;
}

@keyframes seoDibujarRuta {
  from {
    stroke-dashoffset: 620;
  }

  to {
    stroke-dashoffset: 0;
  }
}

@keyframes seoMostrarEco {
  from {
    opacity: 0;
    transform: scale(.55);
  }

  to {
    opacity: .8;
    transform: scale(1);
  }
}

@keyframes seoLlegarPunto {
  0% {
    opacity: 0;
    transform: scale(.25);
  }

  65% {
    opacity: 1;
    transform: scale(1.35);
  }

  100% {
    opacity: 1;
    transform: scale(1);
  }
}


/* Columna de contenido */

.seo-editorial-contenido {
  position: relative;
  z-index: 2;
  align-self: center;
  max-width: 490px;
  padding-right: clamp(20px, 3vw, 55px);
}

.seo-editorial-contenido > p {
  color: #405366;
  font-size: clamp(14px, 1.05vw, 16px);
  line-height: 1.85;
}

.seo-editorial-contenido > p + p {
  margin-top: 24px;
}


/* Botón */

.seo-editorial-boton {
  width: max-content;
  max-width: 100%;
  min-height: 58px;
  margin-top: 34px;
  padding: 0 24px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  color: #096fcf;
  background: rgba(255, 255, 255, .22);
  border: 1px solid rgba(13, 112, 207, .72);
  border-radius: 12px;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: .035em;
  text-transform: uppercase;
  transition:
    color .25s ease,
    background .25s ease,
    border-color .25s ease,
    transform .25s var(--ease),
    box-shadow .25s ease;
}

.seo-editorial-boton span:last-child {
  font-size: 20px;
  font-weight: 500;
  transition: transform .25s var(--ease);
}

.seo-editorial-boton:hover {
  color: #fff;
  background: #0877df;
  border-color: #0877df;
  box-shadow: 0 14px 28px rgba(8, 119, 223, .18);
  transform: translateY(-2px);
}

.seo-editorial-boton:hover span:last-child {
  transform: translateX(5px);
}

.seo-editorial-boton:focus-visible {
  outline: 3px solid rgba(22, 135, 255, .28);
  outline-offset: 4px;
}


/* Información desplegable */

.seo-editorial .seo-editorial-detalles {
  margin-top: 28px;
  border-top: 1px solid rgba(25, 60, 91, .22);
  border-bottom: 1px solid rgba(25, 60, 91, .22);
}

.seo-editorial .seo-editorial-detalles summary {
  padding: 18px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  color: #173650;
  font-size: 12px;
  font-weight: 850;
  cursor: pointer;
  list-style: none;
}

.seo-editorial
  .seo-editorial-detalles
  summary::-webkit-details-marker {
  display: none;
}

.seo-editorial .seo-editorial-detalles summary span {
  color: #0877df;
  font-size: 22px;
  line-height: .8;
  transition: transform .25s ease;
}

.seo-editorial
  .seo-editorial-detalles[open]
  summary span {
  transform: rotate(45deg);
}

.seo-editorial-desplegable {
  padding: 0 0 24px;
  display: grid;
  gap: 14px;
}

.seo-editorial-desplegable p {
  color: #506276;
  font-size: 13px;
  line-height: 1.8;
}


/* Portátiles */

@media (max-width: 1180px) {
  .seo-editorial-grid {
    grid-template-columns:
      minmax(330px, 1.08fr)
      minmax(90px, .3fr)
      minmax(270px, .82fr);
    gap: 28px;
  }

  .seo-editorial-presencia {
    font-size: clamp(68px, 7.6vw, 105px);
  }

  .seo-editorial-linea {
    font-size: clamp(30px, 3vw, 45px);
  }

  .seo-editorial-ruta {
    max-width: 175px;
  }

  .seo-editorial-contenido {
    padding-right: 30px;
  }
}


/* Tabletas */

@media (max-width: 960px) {
  .seo-editorial {
    min-height: auto;
  }

  .seo-editorial-grid {
    grid-template-columns: minmax(320px, .95fr) minmax(280px, .8fr);
    gap: 55px;
  }

  .seo-editorial-ruta {
    display: none;
  }

  .seo-editorial-presencia {
    font-size: clamp(70px, 10vw, 105px);
  }

  .seo-editorial-linea {
    font-size: clamp(31px, 4.5vw, 47px);
  }

  .seo-editorial-contenido {
    padding-right: 20px;
  }

  .seo-editorial-fondo span {
    opacity: .75;
  }
}


/* Móviles */

@media (max-width: 700px) {
  .seo-editorial {
    padding: 82px 0 76px;
  }

  .seo-editorial-grid {
    grid-template-columns: 1fr;
    gap: 55px;
  }

  .seo-editorial-fondo {
    top: 48%;
    right: -58px;
  }

  .seo-editorial-fondo span {
    font-size: clamp(125px, 38vw, 190px);
    opacity: .55;
  }

  .seo-editorial .eyebrow {
    margin-bottom: 27px;
  }

  .seo-editorial-presencia {
    font-size: clamp(63px, 19vw, 100px);
  }

  .seo-editorial-linea {
    font-size: clamp(31px, 9vw, 48px);
    letter-spacing: -.045em;
  }

  .seo-editorial-contenido {
    max-width: 100%;
    padding-right: 0;
  }

  .seo-editorial-contenido > p {
    font-size: 14px;
    line-height: 1.8;
  }

  .seo-editorial-boton {
    width: 100%;
    padding-inline: 19px;
    gap: 18px;
  }
}


/* Móviles pequeños */

@media (max-width: 420px) {
  .seo-editorial-presencia {
    font-size: clamp(56px, 18vw, 76px);
  }

  .seo-editorial-linea {
    font-size: clamp(28px, 8.3vw, 38px);
  }

  .seo-editorial-boton {
    font-size: 10.5px;
  }
}


/* Accesibilidad: eliminar movimiento si el usuario lo solicita */

@media (prefers-reduced-motion: reduce) {
  .seo-editorial-una,
  .seo-editorial-presencia,
  .seo-editorial-linea,
  .seo-ruta-trazo,
  .seo-ruta-eco,
  .seo-ruta-punto {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
    transition: none !important;
    stroke-dashoffset: 0 !important;
  }
}

/* =========================================================
   CORRECCIONES · SECCIÓN EDITORIAL
   ========================================================= */


/* Separar el titular del texto derecho */

.seo-editorial-grid {
  grid-template-columns:
    minmax(360px, .95fr)
    minmax(175px, .34fr)
    minmax(350px, .84fr);
  gap: clamp(34px, 4.2vw, 78px);
}


/* Evitar que PRESENCIA invada las demás columnas */

.seo-editorial-presencia {
  max-width: 100%;
  font-size: clamp(65px, 5vw, 102px);
  white-space: nowrap;
}


/* Dejar únicamente el punto azul */

.seo-editorial-final::after {
  content: "";
  flex: 0 0 auto;
  width: .14em;
  height: .14em;
  margin-left: -.24em;
  border-radius: 50%;
  background: var(--blue);
}


/* Colocar RUMBO completamente dentro del cuadro */

.seo-editorial-fondo {
  top: 50%;
  right: clamp(24px, 2.5vw, 52px);
  transform: translateY(-50%);
}

.seo-editorial-fondo span {
  font-size: clamp(95px, 7.6vw, 138px);
  line-height: .78;
  letter-spacing: -.06em;
}


/* Nueva aparición escalonada sin la palabra “Una” */

.seo-editorial-titular.visible .seo-editorial-presencia {
  opacity: 1;
  transform: none;
  transition-delay: .1s;
}

.seo-editorial-titular.visible
  .seo-editorial-linea:nth-of-type(2) {
  opacity: 1;
  transform: none;
  transition-delay: .22s;
}

.seo-editorial-titular.visible
  .seo-editorial-linea:nth-of-type(3) {
  opacity: 1;
  transform: none;
  transition-delay: .32s;
}

.seo-editorial-titular.visible
  .seo-editorial-linea:nth-of-type(4) {
  opacity: 1;
  transform: none;
  transition-delay: .42s;
}

.seo-editorial-titular.visible
  .seo-editorial-linea:nth-of-type(5) {
  opacity: 1;
  transform: none;
  transition-delay: .52s;
}


/* Microanimación suave y visible */

.seo-editorial-titular.visible
  + .seo-editorial-ruta
  .seo-ruta-trazo {
  stroke-dashoffset: 0;
  animation: seoRutaFluyendo 9s linear infinite;
}

.seo-editorial-titular.visible
  + .seo-editorial-ruta
  .seo-ruta-punto {
  opacity: 1;
  animation: seoPuntoRespira 3.4s ease-in-out infinite;
}

.seo-editorial-titular.visible
  + .seo-editorial-ruta
  .seo-ruta-eco {
  opacity: .72;
  animation: seoEcoSuave 4.2s ease-in-out infinite;
}

.seo-editorial-titular.visible
  + .seo-editorial-ruta
  .eco-dos {
  animation-delay: 1.15s;
}

@keyframes seoRutaFluyendo {
  from {
    stroke-dashoffset: 0;
  }

  to {
    stroke-dashoffset: -136;
  }
}

@keyframes seoPuntoRespira {
  0%,
  100% {
    opacity: .82;
    transform: scale(.88);
    filter: drop-shadow(0 3px 8px rgba(22, 135, 255, .16));
  }

  50% {
    opacity: 1;
    transform: scale(1.18);
    filter: drop-shadow(0 5px 15px rgba(22, 135, 255, .34));
  }
}

@keyframes seoEcoSuave {
  0%,
  100% {
    opacity: .32;
    transform: scale(.88);
  }

  50% {
    opacity: .78;
    transform: scale(1.08);
  }
}


/* Ajustes para portátiles */

@media (max-width: 1180px) {
  .seo-editorial-grid {
    grid-template-columns:
      minmax(320px, .92fr)
      minmax(115px, .28fr)
      minmax(285px, .8fr);
    gap: 32px;
  }

  .seo-editorial-presencia {
    font-size: clamp(60px, 6.4vw, 84px);
  }

  .seo-editorial-fondo {
    right: 18px;
  }

  .seo-editorial-fondo span {
    font-size: clamp(90px, 9vw, 118px);
  }
}


/* Ajustes para móviles */

@media (max-width: 700px) {
  .seo-editorial-fondo {
    top: 52%;
    right: 12px;
  }

  .seo-editorial-fondo span {
    font-size: clamp(72px, 22vw, 104px);
    opacity: .42;
  }

  .seo-editorial-presencia {
    white-space: normal;
    font-size: clamp(58px, 17vw, 86px);
  }
}

/* =========================================================
   CORRECCIÓN FINAL PARA MÓVIL · SECCIÓN EDITORIAL
   ========================================================= */

@media (max-width: 700px) {

  .seo-editorial {
    min-height: auto !important;
    padding: 130px 0 80px !important;
    overflow: hidden !important;
  }

  .seo-editorial .contenedor {
    width: 100% !important;
    max-width: none !important;
    padding-left: 28px !important;
    padding-right: 28px !important;
  }

  .seo-editorial-grid {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 48px !important;
    align-items: start !important;
  }

  .seo-editorial-titular,
  .seo-editorial-contenido {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
  }

  .seo-editorial-titulo {
    width: 100% !important;
    max-width: 100% !important;
  }

  .seo-editorial-presencia {
    display: block !important;
    font-size: clamp(49px, 14.2vw, 68px) !important;
    line-height: .92 !important;
    letter-spacing: -.065em !important;
    white-space: nowrap !important;
  }

  .seo-editorial-linea {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 0 .18em !important;
    font-size: clamp(38px, 10.5vw, 52px) !important;
    line-height: 1.15 !important;
  }

  .seo-editorial-ruta {
    display: none !important;
  }

  .seo-editorial-contenido {
    position: relative !important;
    z-index: 2 !important;
    font-size: 17px !important;
    line-height: 1.7 !important;
  }

  .seo-editorial-fondo {
    right: -18px !important;
    top: 54% !important;
    transform: translateY(-50%) !important;
    opacity: .7 !important;
    pointer-events: none !important;
  }

  .seo-editorial-fondo span {
    font-size: 105px !important;
  }
}

/* =========================================================
   AJUSTE FINAL · RUMBO Y BOLITA EN MOVIMIENTO
   ========================================================= */


/* RUMBO grande como en el diseño original */

.seo-editorial-fondo {
  right: clamp(25px, 2.2vw, 48px);
}

.seo-editorial-fondo span {
  font-size: clamp(145px, 10vw, 190px);
  color: rgba(20, 42, 62, .052);
  line-height: .72;
  letter-spacing: -.075em;
}


/* Dar más protagonismo a la ruta */

.seo-editorial-grid {
  grid-template-columns:
    minmax(360px, .92fr)
    minmax(210px, .42fr)
    minmax(350px, .84fr);
  gap: clamp(34px, 3.5vw, 65px);
}

.seo-editorial-ruta {
  width: 100%;
  max-width: 290px;
  height: 650px;
}

.seo-ruta-trazo {
  stroke: rgba(39, 83, 119, .34);
  stroke-width: 2;
}


/* Bolita azul que recorre realmente la ruta */

.seo-ruta-viajero {
  fill: var(--blue);
  stroke: rgba(255, 255, 255, .95);
  stroke-width: 3;
  opacity: 1 !important;
  animation: none !important;
  filter:
    drop-shadow(0 4px 7px rgba(22, 135, 255, .32))
    drop-shadow(0 0 8px rgba(22, 135, 255, .2));
}


/* Los puntos intermedios se ven un poco mejor */

.seo-ruta-eco {
  stroke: rgba(39, 83, 119, .34);
  stroke-width: 1.7;
}


/* Portátiles */

@media (max-width: 1180px) {
  .seo-editorial-grid {
    grid-template-columns:
      minmax(320px, .9fr)
      minmax(155px, .34fr)
      minmax(285px, .8fr);
    gap: 30px;
  }

  .seo-editorial-ruta {
    max-width: 225px;
    height: 610px;
  }

  .seo-editorial-fondo span {
    font-size: clamp(120px, 12vw, 150px);
  }
}


/* Móviles */

@media (max-width: 700px) {
  .seo-editorial-fondo {
    right: 8px;
  }

  .seo-editorial-fondo span {
    font-size: clamp(82px, 26vw, 118px);
  }
}

/* ==================================================
   E-COMMERCE Y PAGOS — IMÁGENES RESPONSIVAS
   ================================================== */

.ecommerce-showcase {
  position: relative;
  min-height: 0 !important;
  padding: 0 !important;
  margin: 0;
  overflow: hidden;
  background: #f4eee5;
}

.ecommerce-showcase-picture {
  display: block;
  width: 100%;
  max-width: 1500px;
  margin: 0 auto;
}

.ecommerce-showcase-imagen {
  display: block;
  width: 100%;
  max-width: none;
  height: auto;
  margin: 0;
}
/* =========================================================
   SOBRE MÍ — PAUSA EDITORIAL
   Bloque aislado: no modifica el resto de las secciones.
   ========================================================= */

.sobre-mi.sobre-editorial {
  min-height: 900px;
  padding: 0;
  isolation: isolate;
  color: #102e4f;
  background:
    radial-gradient(circle at 50% 44%, rgba(255, 255, 255, .5), transparent 38%),
    linear-gradient(118deg, rgba(255, 255, 255, .18), transparent 42%),
    var(--cream);
}

.sobre-editorial-interior {
  position: relative;
  z-index: 2;
  width: min(1600px, 100%);
  min-height: 900px;
  margin-inline: auto;
}

.sobre-editorial-cabecera {
  position: absolute;
  z-index: 5;
  top: 64px;
  right: 3.5%;
  left: 3.5%;
  text-align: center;
}

.sobre-editorial-cabecera .eyebrow {
  color: #086fd7;
}

.sobre-editorial-cabecera .eyebrow::after {
  width: 58px;
  height: 1px;
  margin: 17px auto 0;
  display: block;
  content: "";
  background: #1687ff;
}

.sobre-editorial-cabecera h2 {
  width: 111%;
  margin: 20px 0 0 -5.5%;
  color: #062653;
 font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  font-size: clamp(78px, 7vw, 104px);
  font-weight: 600;
  line-height: .86;
  letter-spacing: -.06em;
  transform: scaleX(.9);
  transform-origin: center top;
  text-wrap: balance;
}

.sobre-editorial-cabecera h2 span {
  display: block;
  white-space: nowrap;
}

.sobre-editorial-cabecera h2 span + span {
  margin-top: 9px;
}

.sobre-editorial-cabecera h2 em {
  color: #0a75f5;
  font-style: normal;
}

.sobre-editorial-norte {
  position: absolute;
  z-index: 0;
  right: -10vw;
  bottom: -5px;
  left: -10vw;
  overflow: hidden;
  color: rgba(23, 54, 80, .045);
  font-size: clamp(340px, 36vw, 600px);
  font-weight: 800;
  line-height: .78;
  letter-spacing: -.065em;
  text-align: center;
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
}

.sobre-topografia {
  position: absolute;
  z-index: 1;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.sobre-topografia-trazos {
  fill: none;
  stroke: rgba(34, 75, 105, .09);
  stroke-width: 1.2;
}

.sobre-ruta {
  position: absolute;
  z-index: 2;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}

.sobre-ruta-movil {
  display: none;
}

.sobre-ruta-trazo,
.sobre-ruta-nodo,
.sobre-brujula {
  fill: none;
  stroke: #1687ff;
  stroke-width: 2;
  vector-effect: non-scaling-stroke;
}

.sobre-ruta-trazo {
  stroke-linecap: round;
  stroke-linejoin: round;
}

.sobre-ruta-nodo circle:first-child {
  fill: var(--cream);
}

.sobre-ruta-nodo .sobre-ruta-punto {
  fill: #1687ff;
  stroke: none;
}

.sobre-brujula {
  transform-box: fill-box;
  transform-origin: center;
}

.sobre-brujula > circle:first-child {
  fill: rgba(243, 238, 229, .94);
}

.sobre-brujula-interior {
  stroke: rgba(16, 46, 79, .25);
  stroke-width: 1;
}

.sobre-brujula path {
  vector-effect: non-scaling-stroke;
}

.sobre-brujula .sobre-brujula-red,
.sobre-brujula .sobre-brujula-diagonales {
  fill: none;
  stroke: rgba(16, 46, 79, .3);
  stroke-width: .8;
}

.sobre-brujula .sobre-brujula-estrella-secundaria {
  fill: rgba(22, 135, 255, .16);
  stroke: #102e4f;
  stroke-width: .8;
}

.sobre-brujula .sobre-brujula-punta {
  stroke: #102e4f;
  stroke-width: .75;
}

.sobre-brujula .sobre-brujula-punta-oscura {
  fill: #102e4f;
}

.sobre-brujula .sobre-brujula-punta-clara {
  fill: #f7f2e9;
}

.sobre-brujula .sobre-brujula-centro {
  fill: var(--cream);
  stroke: #102e4f;
  stroke-width: 1;
}

.sobre-brujula .sobre-brujula-ejes {
  fill: none;
  stroke: #1687ff;
  stroke-width: 1.5;
}

.sobre-coordenadas {
  position: absolute;
  z-index: 4;
  top: 51.5%;
  left: 57.4%;
  color: #0a75f5;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .14em;
  white-space: nowrap;
}

.sobre-relato {
  position: absolute;
  z-index: 4;
  width: min(310px, 24vw);
  color: #193a59;
}

.sobre-relato h3 {
  margin-bottom: 12px;
  color: #102e4f;
  font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  font-size: 25px;
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -.025em;
}

.sobre-relato p {
  color: #284761;
  font-size: 14px;
  line-height: 1.75;
}

.sobre-relato-uno {
  top: 52%;
  left: 16.5%;
}

.sobre-relato-dos {
  top: 73.5%;
  left: 50%;
  width: min(260px, 22vw);
}

.sobre-firma {
  position: absolute;
  z-index: 5;
  right: 1%;
  bottom: 1%;
  width: clamp(245px, 20vw, 300px);
  height: auto;
  display: block;
  filter: saturate(.95);
}

/* La animación solo se prepara cuando JavaScript está disponible. */
.sobre-editorial.sobre-editorial-preparada .sobre-ruta-trazo {
  stroke-dasharray: 1900;
  stroke-dashoffset: 1900;
  transition: stroke-dashoffset 2s var(--ease);
}

.sobre-editorial.sobre-editorial-preparada .sobre-ruta-nodo,
.sobre-editorial.sobre-editorial-preparada .sobre-brujula,
.sobre-editorial.sobre-editorial-preparada .sobre-relato,
.sobre-editorial.sobre-editorial-preparada .sobre-coordenadas,
.sobre-editorial.sobre-editorial-preparada .sobre-firma {
  opacity: 0;
}

.sobre-editorial.sobre-editorial-preparada .sobre-ruta-nodo,
.sobre-editorial.sobre-editorial-preparada .sobre-brujula {
  transition: opacity .55s ease;
}

.sobre-editorial.sobre-editorial-preparada .sobre-relato,
.sobre-editorial.sobre-editorial-preparada .sobre-coordenadas {
  transform: translateY(18px);
  transition: opacity .7s ease, transform .8s var(--ease);
}

.sobre-editorial.sobre-editorial-preparada .sobre-firma {
  transform: translate(16px, 10px) rotate(1deg);
  transition: opacity .9s ease 1.45s, transform 1.1s var(--ease) 1.45s;
}

.sobre-editorial.sobre-editorial-activa .sobre-ruta-trazo {
  stroke-dashoffset: 0;
}

.sobre-editorial.sobre-editorial-activa .sobre-relato,
.sobre-editorial.sobre-editorial-activa .sobre-coordenadas,
.sobre-editorial.sobre-editorial-activa .sobre-firma {
  opacity: 1;
  transform: none;
}

.sobre-editorial.sobre-editorial-activa .sobre-ruta-nodo,
.sobre-editorial.sobre-editorial-activa .sobre-brujula {
  opacity: 1;
}

.sobre-editorial.sobre-editorial-activa .sobre-ruta-nodo-uno {
  transition-delay: .35s;
}

.sobre-editorial.sobre-editorial-activa .sobre-brujula {
  transition-delay: .8s;
}

.sobre-editorial.sobre-editorial-activa .sobre-ruta-nodo-dos,
.sobre-editorial.sobre-editorial-activa .sobre-coordenadas {
  transition-delay: 1.05s;
}

.sobre-editorial.sobre-editorial-activa .sobre-relato-uno {
  transition-delay: .55s;
}

.sobre-editorial.sobre-editorial-activa .sobre-relato-dos {
  transition-delay: 1.15s;
}

@media (max-width: 1180px) {
  .sobre-mi.sobre-editorial,
  .sobre-editorial-interior {
    min-height: 820px;
  }

  .sobre-editorial-cabecera {
    top: 58px;
  }

  .sobre-editorial-cabecera h2 {
    font-size: clamp(72px, 7.4vw, 92px);
  }

  .sobre-relato {
    width: min(290px, 29vw);
  }

  .sobre-relato-uno {
    left: 11%;
  }

  .sobre-relato-dos {
    left: 49%;
  }

  .sobre-firma {
    right: 0;
    width: clamp(225px, 23vw, 270px);
  }
}

@media (max-width: 840px) {
  .sobre-mi.sobre-editorial,
  .sobre-editorial-interior {
    min-height: 760px;
  }

  .sobre-editorial-cabecera h2 {
    font-size: clamp(52px, 8vw, 68px);
  }

  .sobre-relato {
    width: 31vw;
  }

  .sobre-relato-uno {
    left: 7%;
  }

  .sobre-relato-dos {
    left: 54%;
  }

  .sobre-relato h3 {
    font-size: 21px;
  }

  .sobre-relato p {
    font-size: 12px;
  }
}

@media (max-width: 700px) {
  .sobre-mi.sobre-editorial {
    min-height: 0;
    padding: 72px 22px 64px;
  }

  .sobre-editorial-interior {
    min-height: 0;
    display: flex;
    flex-direction: column;
  }

  .sobre-editorial-cabecera,
  .sobre-relato,
  .sobre-coordenadas,
  .sobre-firma {
    position: relative;
    top: auto;
    right: auto;
    bottom: auto;
    left: auto;
  }

  .sobre-editorial-cabecera {
    order: 1;
  }

  .sobre-editorial-cabecera h2 {
    width: auto;
    margin-top: 22px;
    margin-right: auto;
    margin-left: auto;
    font-size: clamp(46px, 14.1vw, 64px);
    line-height: .91;
    letter-spacing: -.045em;
    transform: none;
  }

  .sobre-editorial-cabecera h2 span:first-child {
    max-width: 560px;
    margin-inline: auto;
  }

  .sobre-editorial-cabecera h2 span {
    white-space: normal;
  }

  .sobre-ruta-escritorio {
    display: none;
  }

  .sobre-ruta-movil {
    z-index: 1;
    top: 248px;
    right: -40px;
    bottom: auto;
    left: auto;
    width: 240px;
    height: 42%;
    display: block;
    opacity: .52;
  }

  .sobre-relato {
    z-index: 3;
    width: min(82%, 430px);
  }

  .sobre-relato-uno {
    order: 3;
    margin: 78px 0 0;
  }

  .sobre-relato-dos {
    order: 5;
    margin: 126px 0 0;
  }

  .sobre-relato h3 {
    font-size: 25px;
  }

  .sobre-relato p {
    font-size: 14px;
    line-height: 1.72;
  }

  .sobre-coordenadas {
    z-index: 3;
    order: 2;
    align-self: flex-end;
    margin-top: 48px;
    font-size: 9px;
  }

  .sobre-firma {
    z-index: 4;
    order: 6;
    width: min(300px, 78vw);
    margin: 64px -10px 0 auto;
  }

  .sobre-editorial-norte {
    right: -44px;
    bottom: 7%;
    left: auto;
    font-size: 46vw;
    line-height: .8;
    opacity: .8;
    writing-mode: vertical-rl;
  }

  .sobre-topografia {
    width: 190%;
    transform: translateX(-24%);
  }
}

@media (max-width: 420px) {
  .sobre-mi.sobre-editorial {
    padding-inline: 18px;
  }

  .sobre-editorial-cabecera h2 {
    font-size: clamp(42px, 13.8vw, 58px);
  }

  .sobre-relato {
    width: 82%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .sobre-editorial.sobre-editorial-preparada .sobre-ruta-trazo {
    stroke-dashoffset: 0;
  }

  .sobre-editorial.sobre-editorial-preparada .sobre-relato,
  .sobre-editorial.sobre-editorial-preparada .sobre-coordenadas,
  .sobre-editorial.sobre-editorial-preparada .sobre-firma {
    opacity: 1;
    transform: none;
  }

  .sobre-editorial.sobre-editorial-preparada .sobre-ruta-nodo,
  .sobre-editorial.sobre-editorial-preparada .sobre-brujula {
    opacity: 1;
  }
}

/* Iconos superiores */
.icono-servicio img {
  width: 48px;
  height: 48px;
  display: block;
  object-fit: contain;
}

/* Iconos inferiores */
.widget-icon-imagen {
  width: 48px;
  height: 48px;
  display: block;
  object-fit: contain;
  justify-self: center;
}

/* PRUEBA: FIGURA DE CRISTAL EN LA CABECERA */
.hero {
    position: relative;
    overflow: hidden;
}

.hero-cristal-prueba {
    position: absolute;
    top: 52%;
    right: -10%;
    width: min(68vw, 940px);
    transform: translateY(-50%);
    z-index: 1;
    opacity: 0.95;
    pointer-events: none;
    isolation: isolate;
}

.hero-cristal-prueba img {
    display: block;
    width: 100%;
    height: auto;
    filter: drop-shadow(0 18px 34px rgba(87, 133, 255, 0.20));
    animation: cristal-flota 18s ease-in-out infinite;
}

.hero-cristal-prueba::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;

    background: linear-gradient(
        110deg,
        rgba(255, 255, 255, 0) 30%,
        rgba(255, 255, 255, 0.10) 50%,
        rgba(255, 255, 255, 0) 70%
    );
    background-size: 250% 250%;
    background-position: -150% -150%;

    -webkit-mask-image: url("figura-cristal.png");
    mask-image: url("figura-cristal.png");
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-size: 100% 100%;
    mask-size: 100% 100%;
    -webkit-mask-position: center;
    mask-position: center;

    mix-blend-mode: screen;
    animation: cristal-brillo 12s linear infinite;
}

.hero-copy,
.hero-acciones,
.hero-ventajas,
.scroll-indicator {
    position: relative;
    z-index: 2;
}

@keyframes cristal-flota {
    0%, 100% {
        transform: translateY(0) scale(1) rotate(0deg);
    }
    50% {
        transform: translateY(-10px) scale(1.02) rotate(-0.5deg);
    }
}

@keyframes cristal-brillo {
    from {
        background-position: -150% -150%;
    }
    to {
        background-position: 150% 150%;
    }
}

@media (max-width: 900px) {
    .hero-cristal-prueba {
        width: 120%;
        right: -42%;
        opacity: 0.45;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-cristal-prueba img,
    .hero-cristal-prueba::after {
        animation: none;
    }
}

/* Ajuste de tamaño en pantallas normales */
.hero-cristal-prueba {
    width: min(75vw, 1080px);
    right: -4%;
}

/* En monitores panorámicos, la figura se acerca al centro */
@media (min-width: 2200px) {
    .hero-cristal-prueba {
        top: 50%;
        left: clamp(900px, 38vw, 1380px);
        right: auto;
        width: clamp(1000px, 38vw, 1180px);
    }
}

/* El titular siempre queda por delante de la figura */
.hero h1 {
    position: relative;
    z-index: 3;
}

/* Movimiento lento, sin efecto de zoom */
@keyframes cristal-flota {
    0%, 100% {
        transform: translate3d(0, 0, 0) rotate(0deg);
    }
    50% {
        transform: translate3d(-12px, -14px, 0) rotate(-0.25deg);
    }
}