/* ==========================================================================
   BIH · Home 2026
   Arquitectura digital: grafito, acero, azul estructural y champagne.
   Esta hoja se carga después de styles.css y solo gobierna la portada.
   ========================================================================== */

.page-home {
  --home-max: 1180px;
  --home-wide: 1440px;
  --home-radius: 12px;
  --home-ease: cubic-bezier(0.19, 1, 0.22, 1);
  background: var(--night);
}

.page-home .shell {
  width: min(var(--home-max), 100% - clamp(2.5rem, 7vw, 7rem));
}

.page-home .shell--wide {
  width: min(var(--home-wide), 100% - clamp(2rem, 5vw, 5.5rem));
}

.page-home ::selection {
  background: var(--gold);
  color: #ffffff;
}

/* ---------- Botones de la casa ---------- */
.btn--champagne {
  position: relative;
  background: linear-gradient(135deg, var(--gold-soft), var(--gold));
  border-color: rgba(228, 199, 131, 0.55);
  color: #0B0D10;
  box-shadow:
    0 14px 34px rgba(198, 161, 91, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

.btn--champagne:hover {
  background: linear-gradient(135deg, #F0D9A4, var(--gold-soft));
  border-color: var(--gold-soft);
  color: #080A0D;
  transform: translateY(-2px);
  box-shadow:
    0 20px 44px rgba(198, 161, 91, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.34);
}

.btn--champagne:active {
  transform: translateY(0);
  box-shadow: 0 8px 20px rgba(198, 161, 91, 0.18);
}

.btn--outline {
  background: rgba(8, 10, 13, 0.24);
  border-color: rgba(213, 217, 222, 0.34);
  color: var(--paper);
  backdrop-filter: blur(6px);
}

.btn--outline:hover {
  background: rgba(198, 161, 91, 0.08);
  border-color: var(--gold-soft);
  color: var(--gold-soft);
  transform: translateY(-2px);
}

.btn--outline:active {
  transform: translateY(0);
}

/* ---------- Cabecera ---------- */
.page-home .site-header {
  border-bottom-color: transparent;
}

.page-home .site-header.is-scrolled {
  background: rgba(8, 10, 13, 0.9);
  border-bottom-color: rgba(213, 217, 222, 0.12);
  backdrop-filter: blur(18px) saturate(1.2);
}

.page-home .brand img {
  height: clamp(22px, 2.2vw, 27px);
}

.page-home .nav-main > a,
.page-home .nav-more__toggle {
  font-size: 0.71rem;
  letter-spacing: 0.17em;
}

.page-home .nav-main > a.is-active {
  color: #7aa2ff;
  box-shadow: 0 2px 0 0 rgba(37, 99, 255, 0.85);
}

.page-home .nav-panel {
  background: rgba(16, 20, 25, 0.98);
  border-color: rgba(213, 217, 222, 0.16);
  box-shadow: 0 26px 70px rgba(4, 6, 8, 0.65);
}

.page-home .nav-panel a:hover,
.page-home .nav-panel a:focus-visible {
  background: rgba(213, 217, 222, 0.06);
}

.page-home .menu__inner {
  background:
    radial-gradient(900px 520px at 88% 0%, rgba(71, 125, 175, 0.14), transparent 62%),
    linear-gradient(160deg, #12171D, #080A0D 58%);
}

/* ---------- Secciones: fondos arquitectónicos y ritmo editorial ---------- */
.home-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-block: clamp(5rem, 9vw, 8.5rem);
  background-color: var(--night);
}

.home-section::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: var(--section-bg);
  background-size: cover;
  background-position: center;
  opacity: 0.9;
  transform: scale(1.01);
}

.home-section::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(900px 520px at 82% 8%, rgba(71, 125, 175, 0.16), transparent 62%),
    linear-gradient(180deg, rgba(8, 10, 13, 0.5), rgba(8, 10, 13, 0.38) 48%, rgba(8, 10, 13, 0.62));
}

.home-section .shell {
  position: relative;
  z-index: 1;
}

.home-section .eyebrow {
  margin-bottom: 1.35rem;
  color: var(--steel-dim);
}

.home-section .eyebrow span {
  color: var(--gold-soft);
  background: rgba(198, 161, 91, 0.08);
  border-color: rgba(198, 161, 91, 0.35);
}

.home-section .section-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2rem, 1.25rem + 2.6vw, 3.55rem);
  line-height: 1.06;
  letter-spacing: -0.035em;
  max-width: 22ch;
}

.home-section .section-title em {
  color: var(--gold-soft);
}

.home-section .lead {
  font-size: clamp(1rem, 0.95rem + 0.2vw, 1.12rem);
  line-height: 1.7;
  color: var(--text-dim);
  max-width: 56ch;
}

.home-section__head {
  margin-bottom: clamp(2.5rem, 5vw, 4.25rem);
}

.home-section__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.16fr) minmax(280px, 0.84fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: end;
}

.home-section__head--split {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(280px, 0.92fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: end;
}

.home-section__head--split .eyebrow {
  grid-column: 1 / -1;
}

/* ==========================================================================
   HERO
   ========================================================================== */
.hero26 {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: max(760px, 100svh);
  padding: 0;
  overflow: hidden;
  background: var(--night);
  animation: none;
}

.hero26::before,
.hero26::after {
  content: none;
  animation: none;
}

.hero26__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background: var(--night);
}

.hero26__bg-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.9;
  transform: scale(1.015);
  animation: hero26-breathe 32s ease-in-out infinite alternate;
}


.hero26__scrim {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(
      90deg,
      rgba(8, 10, 13, 0.94) 0%,
      rgba(8, 10, 13, 0.82) 34%,
      rgba(8, 10, 13, 0.42) 68%,
      rgba(8, 10, 13, 0.34) 100%
    ),
    linear-gradient(
      180deg,
      rgba(8, 10, 13, 0.62) 0%,
      rgba(8, 10, 13, 0.08) 30%,
      rgba(8, 10, 13, 0.18) 62%,
      rgba(8, 10, 13, 0.92) 100%
    );
}

.hero26__grid {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background-image: linear-gradient(90deg, rgba(213, 217, 222, 0.055) 1px, transparent 1px);
  background-size: calc(100% / 6) 100%;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 16%, #000 82%, transparent);
  mask-image: linear-gradient(180deg, transparent, #000 16%, #000 82%, transparent);
}

.hero26__inner {
  position: relative;
  z-index: 4;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: calc(var(--header-h) + clamp(2.5rem, 8vh, 6rem));
  padding-bottom: clamp(3rem, 7vh, 5.5rem);
}

.hero26__columns {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: center;
}

@media (min-width: 1025px) {
  .hero26__columns {
    grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
    gap: clamp(3rem, 5vw, 4.5rem);
  }
}

.hero26__content {
  min-width: 0;
}

.hero26__video-col {
  position: relative;
  min-width: 0;
}

.hero26__video-col::before {
  content: "";
  position: absolute;
  inset: -18% -12% -12% -18%;
  z-index: 0;
  background: radial-gradient(circle at 35% 45%, rgba(71, 125, 175, 0.26), transparent 62%);
  filter: blur(34px);
  pointer-events: none;
}

.hero26__video-frame {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 1px solid rgba(213, 217, 222, 0.22);
  border-radius: 14px;
  background: linear-gradient(180deg, #1b2129, #101419);
  box-shadow:
    0 28px 70px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(198, 161, 91, 0.1);
  overflow: hidden;
  isolation: isolate;
}

.hero26__video-reflection {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(228, 199, 131, 0.14) 0%, transparent 40%, transparent 100%);
  mix-blend-mode: screen;
  opacity: 0.55;
}

.hero26__video-frame .hero__video {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.7s ease;
}

.hero26__video-frame .hero__video.is-ready {
  opacity: 1;
}



.hero26__kicker {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-bottom: clamp(1.5rem, 3vw, 2.4rem);
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-soft);
}

.hero26__kicker::before {
  content: "";
  width: clamp(1.75rem, 3vw, 2.75rem);
  height: 1px;
  background: var(--gold);
  flex: none;
}

.hero26__title {
  margin: 0;
  max-width: min(100%, 980px);
}

/* Titular en capas: cuatro bandas de la misma composicion que se ensamblan
   al entrar y se dispersan al salir de la pantalla. */
.hero26__title-stack {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 3456 / 2244;
  overflow: hidden;
  isolation: isolate;
}

/* Estado base: el titular siempre es visible (sin JavaScript o con
   movimiento reducido se muestra tal cual, sin animacion). */
.hero26__title-layer {
  position: absolute;
  inset: 0;
  display: block;
  opacity: 1;
  transform: none;
  filter: none;
  transform-origin: 50% 50%;
  transition:
    transform 1.15s cubic-bezier(0.22, 0.78, 0.24, 1),
    opacity 0.7s cubic-bezier(0.22, 0.78, 0.24, 1),
    filter 1.15s cubic-bezier(0.22, 0.78, 0.24, 1);
  transition-delay: var(--in-delay, 0ms);
}

/* Con JavaScript el titular arranca desmontado para poder ensamblarlo. */
.js .hero26__title-layer {
  opacity: 0;
  transform: translate3d(var(--from-x, 0), var(--from-y, 0), 0) scale(var(--from-scale, 1));
  filter: blur(var(--from-blur, 0));
}

/* La promocion a capa propia solo mientras dura la animacion. */
.hero26__title-stack.is-animating .hero26__title-layer {
  will-change: transform, opacity;
}

.hero26__title-layer picture,
.hero26__title-layer img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Entrada: cada banda converge desde una direccion propia hasta encajar. */
.hero26__title-stack.is-assembled .hero26__title-layer {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
  filter: blur(0);
}

/* Salida: las bandas se elevan, se separan y se disuelven. El titulo se
   mantiene legible mientras se separa y se apaga despues. */
.hero26__title-stack.is-dispersed .hero26__title-layer {
  opacity: 0;
  transform: translate3d(var(--out-x, 0), var(--out-y, 0), 0) scale(var(--out-scale, 1));
  filter: blur(var(--out-blur, 0));
  transition:
    transform 0.95s cubic-bezier(0.35, 0, 0.75, 0.25),
    opacity 0.6s cubic-bezier(0.5, 0, 0.9, 0.45),
    filter 0.95s cubic-bezier(0.35, 0, 0.75, 0.25);
  transition-delay:
    var(--out-delay, 0ms),
    calc(var(--out-delay, 0ms) + 190ms),
    var(--out-delay, 0ms);
}

.hero26__title-layer[data-hero-layer="1"] {
  --from-x: -15%;
  --from-y: -26%;
  --from-scale: 1.14;
  --from-blur: 13px;
  --out-x: -9%;
  --out-y: -34%;
  --out-scale: 0.96;
  --out-blur: 12px;
  --in-delay: 0ms;
  --out-delay: 0ms;
}

.hero26__title-layer[data-hero-layer="2"] {
  --from-x: 17%;
  --from-y: -13%;
  --from-scale: 1.1;
  --from-blur: 11px;
  --out-x: 7%;
  --out-y: -26%;
  --out-scale: 0.97;
  --out-blur: 11px;
  --in-delay: 90ms;
  --out-delay: 70ms;
}

.hero26__title-layer[data-hero-layer="3"] {
  --from-x: -13%;
  --from-y: 16%;
  --from-scale: 1.11;
  --from-blur: 11px;
  --out-x: -7%;
  --out-y: -18%;
  --out-scale: 0.98;
  --out-blur: 11px;
  --in-delay: 180ms;
  --out-delay: 140ms;
}

.hero26__title-layer[data-hero-layer="4"] {
  --from-x: 15%;
  --from-y: 27%;
  --from-scale: 1.14;
  --from-blur: 13px;
  --out-x: 9%;
  --out-y: -10%;
  --out-scale: 0.99;
  --out-blur: 10px;
  --in-delay: 270ms;
  --out-delay: 210ms;
}

/* Costuras: lineas finas que se dibujan al encajar las capas y se apagan. */
.hero26__title-seams {
  position: absolute;
  inset: 0;
  z-index: 2;
  overflow: hidden;
  pointer-events: none;
}

.hero26__title-seams span {
  position: absolute;
  left: 0;
  right: 0;
  top: var(--seam-at, 50%);
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(233, 180, 76, 0.5) 16%,
    rgba(241, 206, 138, 0.95) 50%,
    rgba(233, 180, 76, 0.5) 84%,
    transparent 100%
  );
  box-shadow: 0 0 12px rgba(233, 180, 76, 0.4);
  opacity: 0;
  transform: scaleX(0);
  transform-origin: 50% 50%;
}

.hero26__title-seams span:nth-child(1) { --seam-at: 24.5%; --seam-delay: 320ms; }
.hero26__title-seams span:nth-child(2) { --seam-at: 57.4%; --seam-delay: 420ms; }
.hero26__title-seams span:nth-child(3) { --seam-at: 80.9%; --seam-delay: 520ms; }

/* Escritorio recupera el titular anterior: mas ancho y con las costuras
   alineadas a sus cuatro bandas. Movil conserva la composicion vertical. */
@media (min-width: 901px) {
  .hero26__title-stack {
    aspect-ratio: 1960 / 831;
  }

  .hero26__title-seams span:nth-child(1) { --seam-at: 18.2%; }
  .hero26__title-seams span:nth-child(2) { --seam-at: 45.9%; }
  .hero26__title-seams span:nth-child(3) { --seam-at: 75.8%; }
}

.hero26__title-stack.is-assembled .hero26__title-seams span {
  animation: hero26-seam 1.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: var(--seam-delay);
}

@keyframes hero26-seam {
  0% { transform: scaleX(0); opacity: 0; }
  20% { transform: scaleX(1); opacity: 1; }
  55% { transform: scaleX(1); opacity: 1; }
  100% { transform: scaleX(1); opacity: 0; }
}

/* Si la ilustracion no se puede cargar, el titular se muestra como texto. */
.hero26__title-stack.is-fallback {
  display: none;
}

.hero26__title.is-fallback .sr-only {
  position: static;
  width: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  clip-path: none;
  white-space: normal;
  font-family: var(--font-heading);
  font-size: clamp(1.55rem, 1rem + 2.2vw, 2.5rem);
  font-weight: 600;
  line-height: 1.14;
  letter-spacing: -0.02em;
  color: var(--paper);
}

@media (prefers-reduced-motion: reduce) {
  .js .hero26__title-layer,
  .hero26__title-stack.is-assembled .hero26__title-layer,
  .hero26__title-stack.is-dispersed .hero26__title-layer {
    opacity: 1;
    transform: none;
    filter: none;
    transition: none;
  }

  .hero26__title-seams {
    display: none;
  }
}

.hero26__sub {
  max-width: 56ch;
  margin-top: clamp(1.5rem, 3vw, 2.2rem);
  font-size: clamp(1rem, 0.94rem + 0.25vw, 1.16rem);
  line-height: 1.72;
  color: rgba(241, 243, 245, 0.8);
}

.hero26__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: clamp(1.75rem, 3.5vw, 2.6rem);
}

.hero26__note {
  margin-top: 1.25rem;
  font-family: var(--font-heading);
  font-size: 0.76rem;
  letter-spacing: 0.05em;
  color: var(--text-faint);
}

.hero26__rail {
  position: relative;
  z-index: 4;
  border-top: 1px solid rgba(213, 217, 222, 0.16);
  background: linear-gradient(180deg, rgba(8, 10, 13, 0.18), rgba(8, 10, 13, 0.72));
  backdrop-filter: blur(8px);
}

.hero26__rail-inner {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr)) auto;
  align-items: stretch;
}

.hero26__rail-item {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1rem 1.15rem 1.05rem 0;
  border-right: 1px solid rgba(213, 217, 222, 0.1);
  font-family: var(--font-heading);
  font-size: 0.7rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.hero26__rail-item span {
  font-size: 0.62rem;
  letter-spacing: 0.17em;
  color: var(--gold);
}

.hero26__scroll {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 1rem 0 1rem 1.35rem;
  font-family: var(--font-heading);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--steel);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.25s;
}

.hero26__scroll:hover,
.hero26__scroll:focus-visible {
  color: var(--gold-soft);
}

.hero26__scroll .icon {
  width: 16px;
  height: 16px;
  animation: hero26-nudge 2.4s ease-in-out infinite;
}

/* ==========================================================================
   SOLUCIONES
   ========================================================================== */
.solutions26 {
  --section-bg: url("../img/bg/soluciones-2026.webp");
}

.solutions26__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.4rem);
}

.solution26 {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(41, 50, 60, 0.7);
  border-radius: var(--home-radius);
  background:
    linear-gradient(180deg, rgba(23, 29, 36, 0.78), rgba(16, 20, 25, 0.86));
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  box-shadow: 0 20px 50px rgba(4, 6, 8, 0.28);
  transition:
    border-color 0.35s,
    transform 0.35s var(--home-ease),
    box-shadow 0.35s;
}

.solution26::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  z-index: 3;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(228, 199, 131, 0.7), transparent);
  opacity: 0.5;
  pointer-events: none;
}

.solution26:hover,
.solution26:focus-within {
  border-color: rgba(71, 125, 175, 0.7);
  transform: translateY(-4px);
  box-shadow:
    0 30px 70px rgba(4, 6, 8, 0.5),
    inset 0 0 0 1px rgba(71, 125, 175, 0.1);
}

.solution26:nth-child(1),
.solution26:nth-child(4) {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  align-items: stretch;
}

.solution26:nth-child(1) .solution26__media,
.solution26:nth-child(4) .solution26__media {
  height: 100%;
  min-height: 380px;
  aspect-ratio: auto;
  border-right: 1px solid rgba(213, 217, 222, 0.12);
  border-bottom: 0;
}

.solution26__media {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-bottom: 1px solid rgba(213, 217, 222, 0.12);
  background:
    radial-gradient(600px 340px at 76% 18%, rgba(71, 125, 175, 0.22), transparent 65%),
    #0B0E12;
}

.solution26__media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(8, 10, 13, 0.08), rgba(8, 10, 13, 0.7));
}

.solution26__fallback {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(1.15rem, 2.5vw, 1.6rem);
  background:
    linear-gradient(135deg, rgba(25, 58, 89, 0.62), rgba(16, 20, 25, 0.94) 58%),
    repeating-linear-gradient(90deg, rgba(213, 217, 222, 0.05) 0 1px, transparent 1px 80px);
}

.solution26__fallback-num {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 6vw, 6rem);
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: -0.05em;
  color: rgba(213, 217, 222, 0.11);
}

/* Señal de reproducción: el video se activa al interactuar con la tarjeta */
.solution26__fallback::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 58px;
  height: 58px;
  border: 1px solid rgba(213, 217, 222, 0.26);
  border-radius: 50%;
  background: rgba(8, 10, 13, 0.42);
  box-shadow: 0 0 0 10px rgba(213, 217, 222, 0.035);
  transform: translate(-50%, -50%);
  transition:
    opacity 0.35s,
    border-color 0.35s,
    transform 0.45s var(--home-ease);
}

.solution26__fallback::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
  border-left: 10px solid var(--gold-soft);
  transform: translate(-36%, -50%);
  transition: opacity 0.35s;
}

.solution26:hover .solution26__fallback::before,
.solution26:focus-within .solution26__fallback::before {
  border-color: var(--gold-soft);
  transform: translate(-50%, -50%) scale(1.06);
}

.solution26:hover .solution26__fallback::after,
.solution26:focus-within .solution26__fallback::after {
  opacity: 0.55;
}

.solution26__media video {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.55s var(--home-ease);
}

.solution26__media video.is-ready {
  opacity: 1;
}

.solution26__media-tag {
  position: absolute;
  left: clamp(1rem, 2vw, 1.3rem);
  bottom: clamp(1rem, 2vw, 1.3rem);
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.7rem;
  border: 1px solid rgba(213, 217, 222, 0.22);
  border-radius: 999px;
  background: rgba(8, 10, 13, 0.68);
  backdrop-filter: blur(8px);
  font-family: var(--font-heading);
  font-size: 0.62rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--paper);
}

.solution26__media-tag span {
  color: var(--gold-soft);
}

.solution26__media-state {
  position: absolute;
  top: clamp(1rem, 2vw, 1.25rem);
  right: clamp(1rem, 2vw, 1.25rem);
  z-index: 3;
  font-family: var(--font-heading);
  font-size: 0.58rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--steel-dim);
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity 0.3s, transform 0.3s var(--home-ease);
}

.solution26:hover .solution26__media-state,
.solution26:focus-within .solution26__media-state {
  opacity: 1;
  transform: none;
}

.solution26__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: clamp(1.4rem, 2.6vw, 2.1rem);
}

.solution26__tag {
  margin-bottom: 0.75rem;
  font-family: var(--font-heading);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue);
}

/* Niveles de implementación disponibles para esta categoría */
.solution26__levels {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.3rem 0.55rem;
  margin-top: -0.4rem;
  margin-bottom: 1.05rem;
  font-family: var(--font-heading);
  font-size: 0.63rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.solution26__levels-label {
  color: var(--text-faint);
}

.solution26__levels span:not(.solution26__levels-label) {
  color: var(--gold-soft);
}

.solution26__levels span:not(.solution26__levels-label) + span:not(.solution26__levels-label)::before {
  content: "·";
  margin-right: 0.55rem;
  color: var(--text-faint);
}

.solution26__title {
  max-width: 24ch;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 1.08rem + 0.72vw, 1.82rem);
  font-weight: 600;
  line-height: 1.16;
  letter-spacing: -0.028em;
  color: var(--paper);
}

.solution26__desc {
  margin-top: 0.9rem;
  font-size: 0.96rem;
  line-height: 1.7;
  color: var(--text-dim);
}

.solution26__benefits {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.45rem 1rem;
  margin-top: 1.2rem;
  padding-top: 1.05rem;
  border-top: 1px solid rgba(213, 217, 222, 0.11);
}

.solution26__benefits li {
  position: relative;
  padding-left: 0.9rem;
  font-size: 0.82rem;
  line-height: 1.5;
  color: var(--steel-dim);
}

.solution26__benefits li::before {
  content: "";
  position: absolute;
  top: 0.55em;
  left: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 0 3px rgba(71, 125, 175, 0.12);
}

.solution26__closing {
  margin-top: 1.15rem;
  padding-left: 0.95rem;
  border-left: 2px solid var(--gold);
  font-family: var(--font-heading);
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--steel);
}

.solution26__cta {
  margin-top: auto;
  padding-top: 1.35rem;
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.solutions26__note {
  max-width: 82ch;
  margin-top: 1.6rem;
  padding-left: 1rem;
  border-left: 2px solid rgba(213, 217, 222, 0.2);
  font-size: 0.8rem;
  line-height: 1.6;
  color: var(--text-faint);
}

/* ==========================================================================
   DIFERENCIACIÓN
   ========================================================================== */
.diff26 {
  --section-bg: none;
  background-color: var(--night-2);
}

.diff26::before {
  opacity: 1;
  background-color: var(--night-2);
  background-image:
    radial-gradient(900px 500px at 82% 0%, rgba(71, 125, 175, 0.13), transparent 62%),
    linear-gradient(rgba(213, 217, 222, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(213, 217, 222, 0.035) 1px, transparent 1px);
  background-size: auto, 88px 88px, 88px 88px;
}

.diff26::after {
  background: linear-gradient(180deg, rgba(8, 10, 13, 0.12), rgba(8, 10, 13, 0.5));
}

.diff26__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid rgba(213, 217, 222, 0.16);
}

.diff26__item {
  position: relative;
  padding: clamp(1.5rem, 3vw, 2.5rem) clamp(1.25rem, 2.6vw, 2rem) clamp(1.75rem, 3vw, 2.5rem);
  border-right: 1px solid rgba(213, 217, 222, 0.12);
}

.diff26__item:first-child {
  padding-left: 0;
}

.diff26__item:last-child {
  padding-right: 0;
  border-right: 0;
}

.diff26__num {
  display: block;
  margin-bottom: clamp(1.5rem, 3vw, 2.4rem);
  font-family: var(--font-display);
  font-size: clamp(2.75rem, 4.2vw, 4.25rem);
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: -0.05em;
  color: rgba(213, 217, 222, 0.12);
}

.diff26__item h3 {
  max-width: 18ch;
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 1.05rem + 0.45vw, 1.45rem);
  font-weight: 600;
  line-height: 1.22;
  letter-spacing: -0.025em;
  color: var(--paper);
}

.diff26__item p {
  max-width: 34ch;
  margin-top: 0.8rem;
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--text-dim);
}

.diff26__line {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--blue));
  transition: width 0.55s var(--home-ease);
}

.diff26__item:hover .diff26__line {
  width: calc(100% - clamp(1.25rem, 2.6vw, 2rem));
}

/* ==========================================================================
   PROYECTO DESTACADO + ECOSISTEMA
   ========================================================================== */
.project26 {
  --section-bg: url("../img/bg/proyecto-2026.webp");
}

.project26__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: start;
}

.project26__copy .section-title {
  max-width: 18ch;
}

.project26__lead {
  max-width: 48ch;
  margin-top: 1.2rem;
  font-family: var(--font-heading);
  font-size: 1.08rem;
  line-height: 1.65;
  color: var(--steel);
}

.project26__body {
  display: grid;
  gap: 0.85rem;
  max-width: 56ch;
  margin-top: 1.35rem;
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text-dim);
}

.project26__participation {
  margin-top: 1.6rem;
  padding: 1.15rem 1.3rem;
  border: 1px solid rgba(213, 217, 222, 0.14);
  border-left: 2px solid var(--gold);
  border-radius: 0 10px 10px 0;
  background: rgba(16, 20, 25, 0.55);
}

.project26__participation h3 {
  font-family: var(--font-heading);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: var(--gold-soft);
}

.project26__participation p {
  margin-top: 0.5rem;
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--text-dim);
}

.project26__participation ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.3rem 0.9rem;
  margin-top: 0.7rem;
}

.project26__participation li {
  position: relative;
  padding-left: 0.85rem;
  font-size: 0.82rem;
  color: var(--steel-dim);
}

.project26__participation li::before {
  content: "";
  position: absolute;
  top: 0.6em;
  left: 0;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--blue);
}

.project26__note {
  margin-top: 1.15rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(213, 217, 222, 0.11);
  font-size: 0.78rem;
  line-height: 1.6;
  color: var(--text-faint);
}

.project26__actions {
  margin-top: 1.5rem;
}

.project26__visual {
  position: relative;
  margin: 0;
  padding-top: clamp(0.5rem, 2vw, 1.5rem);
}

.project26__glow {
  position: absolute;
  inset: 8% -8% 18%;
  z-index: 0;
  background: radial-gradient(circle at 62% 38%, rgba(71, 125, 175, 0.32), transparent 64%);
  filter: blur(34px);
  pointer-events: none;
}

.project26__browser {
  position: relative;
  z-index: 1;
  overflow: hidden;
  border: 1px solid rgba(213, 217, 222, 0.2);
  border-radius: 12px;
  background: #0B0E12;
  box-shadow: 0 34px 90px rgba(4, 6, 8, 0.62);
}

.project26__browser-bar {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.65rem 0.8rem;
  border-bottom: 1px solid rgba(213, 217, 222, 0.12);
  background: rgba(23, 29, 36, 0.97);
}

.project26__dots {
  display: flex;
  gap: 0.28rem;
}

.project26__dots i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(213, 217, 222, 0.24);
}

.project26__url {
  padding: 0.24rem 0.55rem;
  border: 1px solid rgba(213, 217, 222, 0.1);
  border-radius: 4px;
  background: rgba(8, 10, 13, 0.55);
  font-size: 0.64rem;
  color: var(--text-faint);
}

.project26__state {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-left: auto;
  font-family: var(--font-heading);
  font-size: 0.56rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--steel-dim);
  white-space: nowrap;
}

.project26__state i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #6FAE7E;
  box-shadow: 0 0 0 3px rgba(111, 174, 126, 0.16);
}

.project26__browser > img {
  width: 100%;
  height: auto;
}

.project26__phone {
  position: absolute;
  right: -1.25rem;
  bottom: -2.25rem;
  z-index: 2;
  width: min(30%, 185px);
  overflow: hidden;
  border: 5px solid #0B0E12;
  border-radius: 22px;
  background: #0B0E12;
  box-shadow: 0 26px 64px rgba(4, 6, 8, 0.72);
}

.project26__phone img {
  width: 100%;
  height: auto;
}

.project26__facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: clamp(3rem, 6vw, 5rem);
  border-top: 1px solid rgba(213, 217, 222, 0.16);
  border-bottom: 1px solid rgba(213, 217, 222, 0.16);
}

.project26__fact {
  padding: 1.5rem 1.5rem 1.6rem 0;
  border-right: 1px solid rgba(213, 217, 222, 0.12);
}

.project26__fact + .project26__fact {
  padding-left: 1.5rem;
}

.project26__fact:last-child {
  padding-right: 0;
  border-right: 0;
}

.project26__fact dt {
  font-family: var(--font-heading);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: var(--gold-soft);
}

.project26__fact dd {
  margin-top: 0.55rem;
  font-size: 0.87rem;
  line-height: 1.6;
  color: var(--text-dim);
}

/* ---------- Galería de cinco proyectos ---------- */
.portfolio26 {
  margin-top: clamp(3.5rem, 7vw, 6rem);
}

.portfolio26__head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 1.5rem;
}

.portfolio26__head h3 {
  max-width: 22ch;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 1.15rem + 1.15vw, 2.2rem);
  font-weight: 600;
  line-height: 1.14;
  letter-spacing: -0.03em;
}

.portfolio26__head > p {
  max-width: 32ch;
  font-size: 0.86rem;
  line-height: 1.6;
  color: var(--text-dim);
  text-align: right;
}

.portfolio26__grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr 1fr;
  grid-auto-rows: minmax(190px, auto);
  gap: 1rem;
}

.portfolio26__card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 220px;
  padding: 1.2rem;
  overflow: hidden;
  border: 1px solid rgba(213, 217, 222, 0.14);
  border-radius: 10px;
  background: linear-gradient(158deg, rgba(23, 29, 36, 0.74), rgba(16, 20, 25, 0.84));
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  text-decoration: none;
  transition:
    border-color 0.35s,
    transform 0.35s var(--home-ease),
    background-color 0.35s;
}

.portfolio26__card::before {
  content: attr(data-num);
  position: absolute;
  right: -0.35rem;
  bottom: -1.35rem;
  font-family: var(--font-display);
  font-size: clamp(5rem, 9vw, 8.5rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.06em;
  color: rgba(213, 217, 222, 0.045);
  pointer-events: none;
}

.portfolio26__card:hover,
.portfolio26__card:focus-visible {
  border-color: rgba(71, 125, 175, 0.7);
  transform: translateY(-3px);
  background: linear-gradient(158deg, rgba(26, 34, 43, 0.78), rgba(16, 20, 25, 0.86));
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.portfolio26__card--feature {
  grid-row: span 2;
  padding: 0;
}

.portfolio26__feature-media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-bottom: 1px solid rgba(213, 217, 222, 0.12);
}

.portfolio26__feature-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(8, 10, 13, 0.4));
  pointer-events: none;
}

.portfolio26__feature-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  transition: transform 0.7s var(--home-ease);
}

.portfolio26__card--feature:hover .portfolio26__feature-media img {
  transform: scale(1.03);
}

.portfolio26__card--feature .portfolio26__card-body {
  padding: 1.2rem;
}

.portfolio26__card-top {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.portfolio26__num {
  font-family: var(--font-heading);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--gold);
}

.portfolio26__badge {
  padding: 0.3rem 0.5rem;
  border: 1px solid rgba(213, 217, 222, 0.16);
  border-radius: 999px;
  font-family: var(--font-heading);
  font-size: 0.54rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--steel-dim);
}

.portfolio26__card-body {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 1.4rem;
}

.portfolio26__card h4 {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 1rem + 0.35vw, 1.3rem);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.025em;
  color: var(--paper);
}

.portfolio26__card p {
  font-size: 0.84rem;
  line-height: 1.55;
  color: var(--text-dim);
}

.portfolio26__participation {
  font-size: 0.7rem;
  line-height: 1.5;
  color: var(--text-faint);
}

.portfolio26__link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.35rem;
  font-family: var(--font-heading);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--blue);
}

.portfolio26__link .icon {
  width: 14px;
  height: 14px;
  transition: transform 0.3s var(--home-ease);
}

.portfolio26__card:hover .portfolio26__link .icon {
  transform: translate(2px, -2px);
}

/* ==========================================================================
   SOBRE MÍ
   ========================================================================== */
.about26 {
  --section-bg: url("../img/bg/sobre-mi-2026.webp");
}

.about26__grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: center;
}

.about26__media {
  display: grid;
  justify-items: center;
  gap: 1.15rem;
}

.about26__portrait {
  position: relative;
  display: grid;
  place-items: center;
  width: min(100%, 370px);
  margin: 0;
  aspect-ratio: 1;
}

.about26__portrait::before {
  content: "";
  position: absolute;
  inset: 6%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(71, 125, 175, 0.4), transparent 68%);
  filter: blur(32px);
}

.about26__ring {
  position: absolute;
  inset: -7%;
  border: 1px solid rgba(198, 161, 91, 0.3);
  border-radius: 50%;
  pointer-events: none;
}

.about26__ring::before {
  content: "";
  position: absolute;
  inset: -8%;
  border: 1px solid rgba(71, 125, 175, 0.2);
  border-radius: 50%;
}

.about26__ring::after {
  content: "";
  position: absolute;
  top: 2%;
  left: 50%;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold-soft);
  box-shadow: 0 0 18px rgba(228, 199, 131, 0.7);
  transform: translateX(-50%);
}

.about26__portrait img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.about26__caption {
  display: grid;
  gap: 0.18rem;
  text-align: center;
}

.about26__name {
  font-family: var(--font-heading);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--paper);
}

.about26__role {
  font-size: 0.76rem;
  color: var(--text-faint);
}

.about26__meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.4rem 0.7rem;
}

.about26__meta li {
  padding: 0.3rem 0.55rem;
  border: 1px solid rgba(213, 217, 222, 0.14);
  border-radius: 999px;
  font-family: var(--font-heading);
  font-size: 0.58rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--steel-dim);
}

.about26__copy .section-title {
  max-width: 18ch;
}

.about26__copy .lead {
  margin-top: 1.15rem;
  font-family: var(--font-heading);
  font-size: 1.08rem;
  line-height: 1.65;
  color: var(--steel);
}

.about26__copy > p:not(.eyebrow):not(.lead) {
  max-width: 58ch;
  margin-top: 0.95rem;
  font-size: 0.94rem;
  line-height: 1.7;
  color: var(--text-dim);
}

.about26__signature {
  display: grid;
  gap: 0.15rem;
  margin-top: 1.7rem;
  padding-top: 1.15rem;
  border-top: 1px solid rgba(213, 217, 222, 0.14);
  font-size: 0.78rem;
  color: var(--text-faint);
}

.about26__signature-name {
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--paper);
}

.about26__closing {
  margin-top: 0.4rem;
  color: var(--gold-soft);
  letter-spacing: 0.02em;
}

.about26__actions {
  margin-top: 1.5rem;
}

/* ==========================================================================
   MÉTODO
   ========================================================================== */
.method26 {
  --section-bg: url("../img/bg/metodo-2026.webp");
}

.method26__flow {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.25rem, 2.6vw, 2rem);
  margin-top: clamp(2rem, 4vw, 3rem);
}

.method26__flow::before {
  content: "";
  position: absolute;
  top: 2.28rem;
  right: 0;
  left: 0;
  height: 1px;
  background: linear-gradient(90deg, rgba(198, 161, 91, 0.5), rgba(71, 125, 175, 0.5), rgba(198, 161, 91, 0.5));
}

.method26__step {
  position: relative;
  padding-top: 4.75rem;
}

.method26__num {
  position: absolute;
  top: 0;
  left: 0;
  display: grid;
  place-items: center;
  width: 4.55rem;
  height: 4.55rem;
  border: 1px solid rgba(198, 161, 91, 0.42);
  border-radius: 50%;
  background: var(--night-2);
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--gold-soft);
  box-shadow: 0 0 0 8px rgba(8, 10, 13, 0.35);
}

.method26__step h3 {
  max-width: 16ch;
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 1.1rem + 0.5vw, 1.58rem);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.025em;
}

.method26__step p {
  max-width: 34ch;
  margin-top: 0.7rem;
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--text-dim);
}

.method26__step p + p {
  margin-top: 0.55rem;
  font-size: 0.84rem;
  color: var(--text-faint);
}

.method26__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.35rem;
  margin-top: clamp(2.5rem, 5vw, 4rem);
}

/* ==========================================================================
   CONTACTO
   ========================================================================== */
.contact26 {
  --section-bg: url("../img/bg/contacto-2026.webp");
}

.contact26__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: start;
}

.contact26__copy .section-title {
  max-width: 16ch;
}

.contact26__copy .lead {
  max-width: 46ch;
  margin-top: 1.15rem;
}

.contact26__trust {
  display: grid;
  gap: 0.55rem;
  margin-top: 1.6rem;
}

.contact26__trust li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.88rem;
  color: var(--steel);
}

.contact26__trust .icon {
  width: 16px;
  height: 16px;
  color: var(--gold);
}

.contact26__direct {
  margin-top: 1.8rem;
  padding-top: 1.35rem;
  border-top: 1px solid rgba(213, 217, 222, 0.14);
}

.contact26__direct p {
  font-size: 0.78rem;
  color: var(--text-faint);
}

.contact26__wa {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-top: 0.55rem;
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--gold-soft);
  text-decoration: none;
  transition: color 0.25s;
}

.contact26__wa:hover,
.contact26__wa:focus-visible {
  color: var(--paper);
}

.contact26__socials {
  margin-top: 1.4rem;
}

.contact26__socials a {
  width: 40px;
  height: 40px;
  border-color: rgba(213, 217, 222, 0.18);
  background: rgba(16, 20, 25, 0.55);
  color: var(--steel-dim);
}

.contact26__panel {
  position: relative;
  padding: clamp(1.35rem, 3vw, 2.2rem);
  border: 1px solid rgba(213, 217, 222, 0.18);
  border-top: 2px solid var(--gold);
  border-radius: var(--home-radius);
  background: linear-gradient(158deg, rgba(23, 29, 36, 0.92), rgba(13, 16, 20, 0.97));
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  box-shadow: 0 34px 90px rgba(4, 6, 8, 0.55);
}

.contact26__form-head h3 {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 1.1rem + 0.6vw, 1.68rem);
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: -0.025em;
}

.contact26__form-head p {
  margin-top: 0.3rem;
  font-size: 0.82rem;
  color: var(--text-faint);
}

.contact26__form {
  margin-top: 1.4rem;
}

.form26__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.95rem;
}

.form26__field {
  display: grid;
  gap: 0.38rem;
}

.form26__field--full {
  grid-column: 1 / -1;
}

.form26__field label,
.form26__field legend {
  padding: 0;
  font-family: var(--font-heading);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--steel-dim);
}

.form26__field input,
.form26__field select,
.form26__field textarea {
  width: 100%;
  padding: 0.78em 0.9em;
  border: 1px solid rgba(213, 217, 222, 0.2);
  border-radius: 6px;
  background: rgba(8, 10, 13, 0.55);
  color: var(--paper);
  font-size: 0.92rem;
  transition:
    border-color 0.25s,
    box-shadow 0.25s,
    background-color 0.25s;
}

.form26__field input::placeholder,
.form26__field textarea::placeholder {
  color: rgba(213, 217, 222, 0.36);
}

.form26__field input:hover,
.form26__field select:hover,
.form26__field textarea:hover {
  border-color: rgba(213, 217, 222, 0.4);
}

.form26__field input:focus-visible,
.form26__field select:focus-visible,
.form26__field textarea:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
  border-color: var(--blue);
  background: rgba(8, 10, 13, 0.82);
}

.form26__field select {
  appearance: none;
  padding-right: 2.2em;
  background-image:
    linear-gradient(45deg, transparent 49%, var(--steel-dim) 50%),
    linear-gradient(-45deg, transparent 49%, var(--steel-dim) 50%);
  background-position: calc(100% - 18px) 55%, calc(100% - 12px) 55%;
  background-size: 6px 6px;
  background-repeat: no-repeat;
}

.form26__field select option {
  background: var(--night-2);
  color: var(--paper);
}

.form26__field textarea {
  min-height: 6em;
  resize: vertical;
}

.form26__field [aria-invalid="true"] {
  border-color: var(--alarm);
  box-shadow: 0 0 0 3px rgba(214, 100, 79, 0.14);
}

.form26__choice {
  gap: 0.5rem;
}

.form26__options {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.form26__option {
  position: relative;
  display: inline-flex;
  cursor: pointer;
}

.form26__option input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

.form26__option span {
  padding: 0.52em 0.95em;
  border: 1px solid rgba(213, 217, 222, 0.22);
  border-radius: 999px;
  font-family: var(--font-heading);
  font-size: 0.74rem;
  color: var(--steel-dim);
  pointer-events: none;
  transition:
    background-color 0.2s,
    border-color 0.2s,
    color 0.2s;
}

.form26__option:hover span {
  border-color: rgba(213, 217, 222, 0.42);
  color: var(--paper);
}

.form26__option input:checked + span {
  border-color: var(--gold);
  background: var(--gold);
  color: #0B0D10;
  font-weight: 700;
}

.form26__option input:focus-visible + span {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}

.form26__check {
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  gap: 0.6rem;
}

.form26__check input {
  display: grid;
  place-items: center;
  width: 1.15rem;
  height: 1.15rem;
  margin-top: 0.12rem;
  border: 1px solid rgba(213, 217, 222, 0.35);
  border-radius: 3px;
  background: rgba(8, 10, 13, 0.6);
  cursor: pointer;
  appearance: none;
}

.form26__check input::after {
  content: "";
  width: 0.6rem;
  height: 0.6rem;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="m5 12.5 4.5 4.5L19 7" fill="none" stroke="%23080A0D" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"/></svg>') center / contain no-repeat;
  opacity: 0;
  transform: scale(0.6);
  transition: opacity 0.15s, transform 0.2s var(--home-ease);
}

.form26__check input:checked {
  border-color: var(--gold);
  background: var(--gold);
}

.form26__check input:checked::after {
  opacity: 1;
  transform: scale(1);
}

.form26__check input:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}

.form26__check label {
  font-family: var(--font-body);
  font-size: 0.76rem;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  line-height: 1.55;
  color: var(--text-faint);
}

.form26__check label a {
  color: var(--steel);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.form26__check [aria-invalid="true"] {
  outline: 2px solid var(--alarm);
  outline-offset: 2px;
}

.form26__honeypot {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}

.form26__status {
  grid-column: 1 / -1;
  padding: 0.8em 0.9em;
  border: 1px solid rgba(214, 100, 79, 0.42);
  border-radius: 6px;
  background: rgba(138, 58, 44, 0.18);
  font-size: 0.84rem;
  line-height: 1.5;
  color: #F0B8AC;
}

.form26__status[hidden],
.contact26__success[hidden] {
  display: none;
}

.form26__submit {
  grid-column: 1 / -1;
}

.form26__submit .btn {
  width: 100%;
}

.form26__fine {
  margin-top: 0.85rem;
  font-size: 0.74rem;
  color: var(--text-faint);
}

.form26__noscript {
  margin-top: 0.9rem;
  font-size: 0.84rem;
  color: var(--text-dim);
}

.form26__noscript a {
  color: var(--gold-soft);
}

.contact26__success {
  display: grid;
  gap: 0.75rem;
  justify-items: start;
  padding: 0.5rem 0;
}

.contact26__success-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(198, 161, 91, 0.42);
  border-radius: 50%;
  background: rgba(198, 161, 91, 0.12);
  color: var(--gold-soft);
}

.contact26__success-icon .icon {
  width: 22px;
  height: 22px;
}

.contact26__success h3 {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 1.15rem + 0.5vw, 1.6rem);
  font-weight: 600;
  letter-spacing: -0.025em;
}

.contact26__success p {
  max-width: 46ch;
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--text-dim);
}

.contact26__success .btn {
  margin-top: 0.35rem;
}

/* ==========================================================================
   PIE
   ========================================================================== */
.site-footer {
  background: #06080A;
}

.footer26 {
  position: relative;
}

.footer26__hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2rem;
  align-items: end;
  padding-bottom: clamp(2.5rem, 5vw, 4rem);
  border-bottom: 1px solid rgba(213, 217, 222, 0.14);
}

.footer26__title {
  max-width: 20ch;
  margin-top: 1.1rem;
  font-family: var(--font-display);
  font-size: clamp(2rem, 1.3rem + 2.5vw, 3.35rem);
  font-weight: 600;
  line-height: 1.06;
  letter-spacing: -0.035em;
}

.footer26__title em {
  color: var(--gold-soft);
}

.footer26__cta {
  margin-bottom: 0.25rem;
}

.footer26__grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, minmax(0, 1fr));
  gap: clamp(1.5rem, 4vw, 3rem);
  padding-block: clamp(2.5rem, 5vw, 4rem);
}

.footer26__brand img {
  width: auto;
  height: 2.45rem;
}

.footer26__brand p {
  max-width: 32ch;
  margin-top: 1rem;
  font-size: 0.86rem;
  line-height: 1.65;
  color: var(--text-dim);
}

.footer26__nav {
  display: grid;
  align-content: start;
  gap: 0.5rem;
}

.footer26__nav h3 {
  margin-bottom: 0.35rem;
  font-family: var(--font-heading);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-soft);
}

.footer26__nav a {
  font-size: 0.84rem;
  color: var(--text-dim);
  text-decoration: none;
  transition: color 0.25s;
}

.footer26__nav a:hover,
.footer26__nav a:focus-visible {
  color: var(--gold-soft);
}

.footer26__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem 1.5rem;
  padding-top: 1.35rem;
  border-top: 1px solid rgba(213, 217, 222, 0.14);
  font-size: 0.74rem;
  color: var(--text-faint);
}

.footer26__credit {
  font-size: 0.72rem;
}

.footer26__legal {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.footer26__legal a {
  color: var(--text-faint);
  text-decoration: none;
  transition: color 0.25s;
}

.footer26__legal a:hover,
.footer26__legal a:focus-visible {
  color: var(--gold-soft);
}

.footer26__up {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.footer26__up .icon {
  width: 14px;
  height: 14px;
}

.footer26__sig {
  position: absolute;
  right: -1.25rem;
  bottom: -2.75rem;
  width: min(32vw, 360px);
  height: auto;
  opacity: 0.055;
  pointer-events: none;
  user-select: none;
}

/* ==========================================================================
   Movimiento ambiental
   ========================================================================== */
@keyframes hero26-breathe {
  from {
    transform: scale(1.015) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.045) translate3d(-0.6%, -0.4%, 0);
  }
}

@keyframes hero26-nudge {
  0%,
  100% {
    transform: translateY(-2px);
  }
  50% {
    transform: translateY(3px);
  }
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1180px) {
  .hero26__rail-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero26__rail-item {
    padding: 0.85rem 1rem 0.85rem 0;
    border-right: 0;
    border-bottom: 1px solid rgba(213, 217, 222, 0.1);
  }

  .hero26__rail-item:nth-child(even) {
    padding-left: 1rem;
    border-left: 1px solid rgba(213, 217, 222, 0.1);
  }

  .hero26__scroll {
    grid-column: 1 / -1;
    justify-content: space-between;
    padding: 0.85rem 0;
  }
}

@media (max-width: 1080px) {
  .hero26__title-stack {
    max-width: 840px;
  }

  .solution26:nth-child(1),
  .solution26:nth-child(4) {
    display: flex;
  }

  .solution26:nth-child(1) .solution26__media,
  .solution26:nth-child(4) .solution26__media {
    min-height: 0;
    aspect-ratio: 16 / 9;
    border-right: 0;
    border-bottom: 1px solid rgba(213, 217, 222, 0.12);
  }
}

@media (max-width: 1024px) {
  .home-section__grid,
  .home-section__head--split,
  .project26__grid,
  .about26__grid,
  .contact26__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .home-section__head--split .eyebrow {
    grid-column: auto;
  }

  .home-section__grid {
    gap: 1.5rem;
  }

  .home-section__head--split {
    gap: 1.5rem;
  }

  .project26__visual {
    width: min(100%, 760px);
    margin-inline: auto;
  }

  .project26__phone {
    right: 0;
  }

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

  .portfolio26__card--feature {
    grid-column: 1 / -1;
    grid-row: auto;
  }

  .portfolio26__card--feature .portfolio26__feature-media {
    aspect-ratio: 16 / 8;
  }

  .about26__media {
    justify-items: start;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 1.5rem;
  }

  .about26__portrait {
    width: min(42vw, 300px);
  }

  .about26__caption {
    text-align: left;
  }

  .about26__meta {
    justify-content: flex-start;
    grid-column: 2;
  }
}

@media (max-width: 900px) {
  .solutions26__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .solution26:nth-child(1),
  .solution26:nth-child(4) {
    grid-column: auto;
  }

  .diff26__grid {
    grid-template-columns: minmax(0, 1fr);
    border-top: 0;
  }

  .diff26__item {
    padding: 1.5rem 0;
    border-top: 1px solid rgba(213, 217, 222, 0.14);
    border-right: 0;
  }

  .diff26__item:first-child {
    padding-top: 1.5rem;
  }

  .diff26__item:last-child {
    padding-bottom: 0;
  }

  .diff26__num {
    margin-bottom: 1rem;
    font-size: 2.6rem;
  }

  .diff26__item:hover .diff26__line {
    width: 100%;
  }

  .method26__flow {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }

  .method26__flow::before {
    top: 0;
    bottom: 0;
    left: 2.27rem;
    width: 1px;
    height: auto;
    background: linear-gradient(180deg, rgba(198, 161, 91, 0.5), rgba(71, 125, 175, 0.5), rgba(198, 161, 91, 0.5));
  }

  .method26__step {
    padding: 0 0 2.25rem 6.25rem;
  }

  .method26__step:last-child {
    padding-bottom: 0;
  }

  .method26__num {
    top: 0;
  }

  .method26__step h3,
  .method26__step p {
    max-width: 46ch;
  }

  .project26__facts {
    grid-template-columns: minmax(0, 1fr);
  }

  .project26__fact {
    padding: 1.25rem 0;
    border-right: 0;
    border-bottom: 1px solid rgba(213, 217, 222, 0.12);
  }

  .project26__fact + .project26__fact {
    padding-left: 0;
  }

  .project26__fact:last-child {
    border-bottom: 0;
  }
}

@media (max-width: 768px) {
  .page-home .shell,
  .page-home .shell--wide {
    width: min(100% - 2.5rem, var(--home-max));
  }

  .hero26 {
    min-height: 100svh;
  }

  .hero26__inner {
    padding-top: calc(var(--header-h) + 3rem);
    padding-bottom: 3rem;
  }

  .hero26__columns {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .hero26__video-col {
    order: 2;
    max-width: min(100%, 560px);
    margin-inline: auto;
  }

  .hero26__title-stack {
    width: 100%;
  }

  .hero26__scrim {
    background:
      linear-gradient(
        180deg,
        rgba(8, 10, 13, 0.86) 0%,
        rgba(8, 10, 13, 0.58) 34%,
        rgba(8, 10, 13, 0.7) 64%,
        rgba(8, 10, 13, 0.96) 100%
      );
  }

  .hero26__grid {
    background-size: 25% 100%;
  }

  .hero26__rail {
    display: none;
  }

  .home-section {
    padding-block: clamp(3.75rem, 10vw, 5.5rem);
  }

  .home-section::after {
    background:
      radial-gradient(700px 440px at 86% 4%, rgba(71, 125, 175, 0.1), transparent 62%),
      linear-gradient(180deg, rgba(8, 10, 13, 0.93), rgba(8, 10, 13, 0.86) 50%, rgba(8, 10, 13, 0.97));
  }

  .home-section .section-title {
    font-size: clamp(1.9rem, 1.35rem + 2.2vw, 2.6rem);
    max-width: 24ch;
  }

  .portfolio26__head {
    display: grid;
    gap: 0.75rem;
  }

  .portfolio26__head > p {
    max-width: 44ch;
    text-align: left;
  }

  .portfolio26__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .portfolio26__card--feature {
    grid-column: auto;
  }

  .about26__media {
    grid-template-columns: minmax(0, 1fr);
    justify-items: center;
  }

  .about26__portrait {
    width: min(72vw, 320px);
  }

  .about26__caption {
    text-align: center;
  }

  .about26__meta {
    grid-column: auto;
    justify-content: center;
  }

  .footer26__hero {
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
  }

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

  .footer26__brand {
    grid-column: 1 / -1;
  }

  .footer26__sig {
    width: min(48vw, 300px);
  }
}

@media (max-width: 560px) {
  .page-home .shell,
  .page-home .shell--wide {
    width: calc(100% - 2rem);
  }

  .hero26__kicker {
    font-size: 0.6rem;
    letter-spacing: 0.16em;
  }

  .hero26__sub {
    font-size: 0.96rem;
  }

  .hero26__actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
  }

  .hero26__actions .btn {
    width: 100%;
  }

  .home-section .eyebrow {
    font-size: 0.68rem;
    letter-spacing: 0.16em;
  }

  .home-section .section-title {
    font-size: clamp(1.72rem, 1.2rem + 2.4vw, 2.2rem);
    letter-spacing: -0.03em;
  }

  .solution26__benefits {
    grid-template-columns: minmax(0, 1fr);
  }

  .solution26__title {
    font-size: 1.32rem;
  }

  .solution26__media-state {
    display: none;
  }

  .project26__participation ul {
    grid-template-columns: minmax(0, 1fr);
  }

  .project26__phone {
    width: 27%;
    right: 0.35rem;
    bottom: -1.25rem;
    border-width: 3px;
    border-radius: 16px;
  }

  .portfolio26__card--feature .portfolio26__feature-media {
    aspect-ratio: 4 / 3;
  }

  .about26__copy > p:not(.eyebrow):not(.lead) {
    font-size: 0.9rem;
  }

  .method26__step {
    padding-left: 5.4rem;
  }

  .method26__num {
    width: 4rem;
    height: 4rem;
  }

  .method26__flow::before {
    left: 2rem;
  }

  .contact26__panel {
    padding: 1.15rem;
  }

  .form26__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .form26__field--full {
    grid-column: auto;
  }

  .footer26__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .footer26__brand {
    grid-column: auto;
  }

  .footer26__bottom {
    display: grid;
    gap: 0.7rem;
  }

  .footer26__legal {
    justify-content: space-between;
  }

  .footer26__sig {
    display: none;
  }
}

/* ---------- Sin hover: la tarjeta no se eleva, el video se activa al verla ---------- */
@media (hover: none) {
  .solution26:hover,
  .solution26:focus-within {
    transform: none;
  }

  .solution26__media-state {
    display: none;
  }

  .portfolio26__card:hover {
    transform: none;
  }
}

/* ---------- Movimiento reducido ---------- */
@media (prefers-reduced-motion: reduce) {
  .hero26__bg-image,
  .hero26__scroll .icon {
    animation: none;
  }

  .hero26__grid {
    display: none;
  }

  .solution26,
  .portfolio26__card,
  .portfolio26__feature-media img {
    transition: none;
  }

  .solution26:hover,
  .solution26:focus-within,
  .portfolio26__card:hover {
    transform: none;
  }
}

/* ==========================================================================
   Identidad ambiental por sección (Cambios 5)
   ========================================================================== */
.solutions26::after {
  background:
    radial-gradient(900px 520px at 78% 12%, rgba(71, 125, 175, 0.18), transparent 62%),
    linear-gradient(180deg, rgba(8, 10, 13, 0.45), rgba(8, 10, 13, 0.32) 48%, rgba(8, 10, 13, 0.58));
}

.project26::after {
  background:
    radial-gradient(900px 520px at 22% 18%, rgba(71, 125, 175, 0.22), transparent 62%),
    linear-gradient(180deg, rgba(8, 10, 13, 0.42), rgba(8, 10, 13, 0.3) 48%, rgba(8, 10, 13, 0.55));
}

.about26::after {
  background:
    radial-gradient(900px 520px at 70% 20%, rgba(198, 161, 91, 0.14), transparent 62%),
    linear-gradient(180deg, rgba(8, 10, 13, 0.45), rgba(8, 10, 13, 0.32) 48%, rgba(8, 10, 13, 0.58));
}

.method26::after {
  background:
    radial-gradient(900px 520px at 50% 0%, rgba(71, 125, 175, 0.16), transparent 62%),
    linear-gradient(180deg, rgba(8, 10, 13, 0.45), rgba(8, 10, 13, 0.32) 48%, rgba(8, 10, 13, 0.58));
}

.contact26::after {
  background:
    radial-gradient(900px 520px at 80% 20%, rgba(71, 125, 175, 0.2), transparent 62%),
    radial-gradient(700px 400px at 15% 80%, rgba(198, 161, 91, 0.12), transparent 62%),
    linear-gradient(180deg, rgba(8, 10, 13, 0.30), rgba(8, 10, 13, 0.30));
}

/* ==========================================================================
   Selector de lugar (place26)
   Integración con Google Maps sin clave de API.
   ========================================================================== */

/* El atributo hidden no gana contra `display: grid` de los campos. */
.form26__field[hidden],
.slot26__times[hidden],
.slot26__note[hidden],
.place26[hidden] {
  display: none;
}

.form26__hint {
  margin-top: 0.55rem;
  font-size: 0.74rem;
  line-height: 1.5;
  color: var(--text-faint);
}

.place26 {
  gap: 0.5rem;
}

.place26[hidden] {
  display: none;
}

.place26__lead {
  font-size: 0.76rem;
  line-height: 1.5;
  color: var(--text-faint);
}

.place26__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.45rem;
}

.place26__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0 1em;
  border: 1px solid rgba(213, 217, 222, 0.24);
  border-radius: 6px;
  background: rgba(8, 10, 13, 0.55);
  color: var(--steel);
  font-family: var(--font-heading);
  font-size: 0.74rem;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  transition:
    border-color 0.2s,
    color 0.2s;
}

.place26__btn:hover,
.place26__btn:focus-visible {
  border-color: var(--gold);
  color: var(--gold-soft);
}

.place26__btn:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}

.place26__btn .icon {
  width: 15px;
  height: 15px;
}

.place26__map {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(213, 217, 222, 0.18);
  border-radius: 6px;
  background: rgba(8, 10, 13, 0.55);
}

.place26__map[hidden] {
  display: none;
}

/* Estado de carga: el mapa de Google tarda en pintar. */
.place26__map::after {
  content: "Cargando mapa…";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background:
    radial-gradient(420px 220px at 50% 40%, rgba(71, 125, 175, 0.16), transparent 70%),
    rgba(8, 10, 13, 0.92);
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-faint);
  pointer-events: none;
  transition: opacity 0.3s var(--ease-out);
}

.place26__map.is-loaded::after {
  opacity: 0;
}

.place26__map iframe {
  display: block;
  width: 100%;
  height: 240px;
  border: 0;
  /* El mapa de Google es claro: se atenúa para no desentonar con el panel
     oscuro y se devuelve a su claridad al pasar por encima. */
  filter: brightness(0.86) saturate(0.88);
  transition: filter 0.3s var(--ease-out);
}

.place26__map:hover iframe,
.place26__map:focus-within iframe {
  filter: brightness(1) saturate(1);
}

.place26__hint {
  font-size: 0.72rem;
  line-height: 1.5;
  color: rgba(213, 217, 222, 0.58);
}

/* ==========================================================================
   Selector de fecha y hora (slot26)
   Calendario de un solo mes con la semana iniciando en domingo.
   ========================================================================== */

.slot26 {
  display: grid;
  gap: 0.85rem;
}

.slot26__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.4rem 0.75rem;
}

.slot26__month {
  font-family: var(--font-display);
  font-size: 0.98rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--paper);
}

.slot26__sync {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--font-heading);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--text-faint);
}

.slot26__sync-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 3px rgba(198, 161, 91, 0.16);
}

/* ---------- Rejilla ---------- */

.slot26__grid {
  display: grid;
  gap: 0.25rem;
}

.slot26__week {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0.25rem;
}

.slot26__weekday {
  padding: 0.15rem 0 0.3rem;
  text-align: center;
  font-family: var(--font-heading);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--steel-dim);
}

.slot26__cell {
  display: grid;
}

.slot26__day {
  aspect-ratio: 1 / 1;
  min-height: 2.3rem;
  border: 1px solid rgba(213, 217, 222, 0.16);
  border-radius: 6px;
  background: rgba(8, 10, 13, 0.45);
  color: var(--paper);
  font-family: var(--font-heading);
  font-size: 0.84rem;
  font-weight: 600;
  cursor: pointer;
  transition:
    border-color 0.2s,
    background-color 0.2s,
    color 0.2s,
    transform 0.2s var(--ease-out);
}

.slot26__day:hover:not(:disabled) {
  border-color: var(--gold);
  background: rgba(198, 161, 91, 0.14);
  color: var(--paper);
  transform: translateY(-1px);
}

.slot26__day:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}

.slot26__day[aria-pressed="true"] {
  border-color: var(--gold);
  background: var(--gold);
  color: #0b0d10;
  font-weight: 700;
}

.slot26__day:disabled {
  border-color: rgba(213, 217, 222, 0.07);
  background: transparent;
  color: rgba(213, 217, 222, 0.28);
  cursor: not-allowed;
}

.slot26__day.is-full {
  color: rgba(213, 217, 222, 0.34);
  text-decoration: line-through;
  text-decoration-color: rgba(198, 161, 91, 0.5);
}

/* ---------- Horarios ---------- */

.slot26__times {
  display: grid;
  gap: 0.55rem;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(213, 217, 222, 0.14);
}

.slot26__times-label {
  font-size: 0.8rem;
  color: var(--text-faint);
}

.slot26__times-label strong {
  color: var(--paper);
  font-weight: 600;
}

.slot26__time-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.slot26__time {
  position: relative;
  display: inline-flex;
  cursor: pointer;
}

.form26__field .slot26__time input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  appearance: none;
  background: none;
  opacity: 0;
  cursor: pointer;
}

.form26__field .slot26__time input:disabled {
  cursor: not-allowed;
}

.slot26__time span {
  padding: 0.52em 0.95em;
  border: 1px solid rgba(213, 217, 222, 0.22);
  border-radius: 999px;
  font-family: var(--font-heading);
  font-size: 0.74rem;
  color: var(--steel-dim);
  pointer-events: none;
  transition:
    background-color 0.2s,
    border-color 0.2s,
    color 0.2s;
}

.slot26__time:hover span {
  border-color: rgba(213, 217, 222, 0.42);
  color: var(--paper);
}

.form26__field .slot26__time input:checked + span {
  border-color: var(--gold);
  background: var(--gold);
  color: #0b0d10;
  font-weight: 700;
}

.form26__field .slot26__time input:focus-visible + span {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}

.slot26__time.is-taken span {
  border-color: rgba(213, 217, 222, 0.1);
  border-style: dashed;
  color: rgba(213, 217, 222, 0.32);
  cursor: not-allowed;
}

.slot26__time.is-taken:hover span {
  border-color: rgba(213, 217, 222, 0.1);
  color: rgba(213, 217, 222, 0.32);
}

/* ---------- Avisos ---------- */

.slot26__note {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem;
  padding: 0.6rem 0.75rem;
  border: 1px solid rgba(214, 100, 79, 0.4);
  border-radius: 6px;
  background: rgba(214, 100, 79, 0.1);
  font-size: 0.78rem;
  color: var(--steel);
}

.slot26__note[hidden] {
  display: none;
}

.slot26__retry {
  padding: 0.32em 0.8em;
  border: 1px solid rgba(214, 100, 79, 0.55);
  border-radius: 999px;
  background: transparent;
  color: var(--paper);
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
}

.slot26__retry:hover,
.slot26__retry:focus-visible {
  border-color: var(--gold);
  color: var(--gold-soft);
}

.slot26__live {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.slot26__fine {
  font-size: 0.7rem;
  color: rgba(213, 217, 222, 0.55);
}

/* ---------- Pantallas pequeñas ---------- */

@media (max-width: 560px) {
  .place26__row {
    grid-template-columns: minmax(0, 1fr);
  }

  .place26__btn {
    justify-content: center;
    padding: 0.62em 1em;
  }

  .place26__map iframe {
    height: 200px;
  }

  .slot26__day {
    min-height: 2.05rem;
    font-size: 0.78rem;
  }

  .slot26__weekday {
    font-size: 0.54rem;
    letter-spacing: 0.06em;
  }
}

/* ---------- Movimiento reducido ---------- */

@media (prefers-reduced-motion: reduce) {
  .slot26__day {
    transition: none;
  }

  .slot26__day:hover:not(:disabled) {
    transform: none;
  }
}
