:root {
  /* Colores corporativos */
  --primary-color: #ff8400;
  --secundary-color: #00c1b5;

  /* Fondos por defecto (se sobreescriben en body.home-page) */
  --section-dark: var(--bg-night);
  --section-clear: #323d49;

  /* Colores de tema (modo noche base) */
  --text: rgba(255, 255, 255, 0.92);
  --muted: rgba(255, 255, 255, 0.72);
  --border: rgba(255, 255, 255, 0.12);
  --shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
  --radius: 18px;

  /* Colores de la home reutilizados */
  --warm-bg: #F7E9DC;       /* fondo cálido (servicios/método/planes día) */
  --text-day: #141824;      /* texto principal modo día */
  --bg-night: #070a0f;      /* fondo base modo noche */

  /* Escala de texto accesibilidad (JS la modifica 0.9 | 1 | 1.15 | 1.25) */
  --a11y-text-scale: 1;
}

/* ============================================================
   BASE
   ============================================================ */

* {
  box-sizing: border-box;
}

html {
  font-size: calc(75% * var(--a11y-text-scale, 1));
  font-family: "Nunito", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

/* Fondo global: negro (la home usa gradientes en body.home-page). */
body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  background: #000000;
  color: var(--text);
}

/* ============================================================
   ESTADOS DEL HEADER (oculto, hover-top, scroll)
   ============================================================ */

/* Header oculto al estar arriba; al hacer scroll baja y se muestra.
   fixed evita que reserve hueco (sticky + translateY deja el espacio vacío en PC y móvil). */
body.at-top .site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-100%);
  visibility: hidden;
}

/* Móvil / tablet: barra superior siempre usable en portada (hero), sin esperar al scroll */
@media (max-width: 920px) {
  body.home-page.at-top .site-header,
  body.coworking-page.at-top .site-header {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
    visibility: visible;
  }
}

/* En home, permite revelar el menú al acercar el ratón al borde superior */
body.at-top.header-hover-top .site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
  visibility: visible;
  background: #000000;
  border-bottom-color: #ff8400;
}

body.header-fixed .site-header {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
  visibility: visible;
}

/* Home: header visible al hacer scroll, siempre fixed para consistencia en todos los dispositivos */
body:not(.header-fixed) .site-header.is-elevated {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
  visibility: visible;
  background: #000000;
  border-bottom-color: #ff8400;
}

/* ============================================================
   UTILIDADES GLOBALES
   ============================================================ */

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

img {
  max-width: 100%;
  display: block;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.75);
  border: 1px solid var(--border);
  transform: translateY(-140%);
  transition: transform 160ms ease;
  z-index: 9999;
}
.skip-link:focus {
  transform: translateY(0);
}

.container {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

/* ============================================================
   CABECERA Y NAVEGACIÓN
   ============================================================ */

/* Columna (panel a11y debajo), gradiente tipo hero, borde naranja fino */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  border-bottom: 0.5px solid #ff8400;
  background:
    linear-gradient(to bottom, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.65)),
    linear-gradient(155deg, #14141c 0%, #1c1c28 45%, #101018 100%) center top / cover no-repeat;
  backdrop-filter: none;
  transition:
    opacity 0.25s ease,
    transform 0.25s ease,
    visibility 0.25s ease,
    background 220ms ease,
    border-color 220ms ease;
}
.site-header.is-elevated {
  background: #000000;
  border-bottom-color: #ff8400;
  backdrop-filter: none;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  transition: padding 220ms ease;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: inherit;
}
.brand-logo {
  width: 120px;
  object-fit: contain;
  flex-shrink: 0;
}
.brand-text {
  display: grid;
  gap: 2px;
}
.brand-mark {
  font-weight: 800;
  font-size: 1.8rem;
  letter-spacing: 0.08em;
}
.brand-sub {
  font-size: 1.2rem;
  color: var(--muted);
}

.icon-btn {
  appearance: none;
  border: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.25);
  color: var(--text);
  border-radius: 12px;
  padding: 10px 12px;
  cursor: pointer;
}
.icon-btn-theme {
  min-width: 88px;
  font-size: 1.2rem;
  font-weight: 700;
  color: #ffcc9c;
  border-color: rgba(255, 132, 0, 0.45);
}
.theme-toggle-label {
  display: inline-block;
  line-height: 1.1;
}
body.blog-page .icon-btn-theme,
body:not(.home-page) .icon-btn-theme {
  display: none;
}
.hamburger {
  width: 18px;
  height: 12px;
  display: inline-block;
  position: relative;
}
.hamburger::before,
.hamburger::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
}
.hamburger::before {
  top: 1px;
}
.hamburger::after {
  bottom: 1px;
}

/* Contenedor botón accesibilidad + menú móvil */
.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}
.icon-btn-a11y .a11y-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  font-size: 15px;
  line-height: 1;
}
.icon-btn-a11y .a11y-icon::before {
  content: "♿";
  color: currentColor;
}
.icon-btn-a11y:hover,
.icon-btn-a11y:focus-visible {
  background: rgba(255, 255, 255, 0.12);
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 16px;
}
.site-nav a {
  font-size: 1.2rem;
  color: var(--muted);
  padding: 8px 10px;
  border-radius: 12px;
}
.site-nav a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}
.site-nav a.pill {
  color: #12161c;
  background: var(--primary-color);
  font-weight: 700;
}
.site-nav a.lang {
  border: 1px solid var(--border);
  color: var(--text);
}

/* ============================================================
   PANEL DE ACCESIBILIDAD
   ============================================================ */
.a11y-panel[hidden] {
  display: none !important;
}
.a11y-panel {
  position: fixed;
  top: 70px;
  left: 12px;
  width: min(520px, calc(100vw - 24px));
  z-index: 120;
  background: #0d0d0d;
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
  padding: 14px;
}
.a11y-panel-inner {
  width: 100%;
  margin: 0;
}
.a11y-panel-title {
  margin: 0 0 16px;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text);
}
.a11y-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 10px;
}
.a11y-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  font-size: 1.3rem;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.a11y-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.25);
}
.a11y-btn:focus-visible {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}
.a11y-btn[aria-pressed="true"] {
  background: rgba(255, 132, 0, 0.25);
  border-color: var(--primary-color);
  color: #fff;
}
.a11y-btn-icon {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.a11y-btn-reset {
  border-style: dashed;
  grid-column: 1 / -1;
  justify-content: center;
  margin-top: 4px;
}
.a11y-btn-reset:hover {
  background: rgba(255, 132, 0, 0.15);
  border-color: var(--primary-color);
}

/* Estados de accesibilidad aplicados al body */
body.a11y-high-contrast {
  --text: #ffffff;
  --muted: #e0e0e0;
  --border: rgba(255, 255, 255, 0.5);
}
body.a11y-high-contrast a {
  color: #ffb366;
  text-decoration: underline;
}
body.a11y-dark-mode {
  background: #000 !important;
}
body.a11y-dark-mode .site-header,
body.a11y-dark-mode .site-footer {
  background: #000 !important;
}
body.a11y-dyslexia-font,
body.a11y-dyslexia-font * {
  font-family: "Lexend Deca", system-ui, -apple-system, sans-serif !important;
  letter-spacing: 0.03em;
  word-spacing: 0.15em;
}
body.a11y-links-underline a {
  text-decoration: underline !important;
  text-underline-offset: 3px;
  color: var(--primary-color) !important;
}
body.a11y-links-underline a:hover {
  color: #ffb366 !important;
}
body.a11y-reduce-motion,
body.a11y-reduce-motion *,
body.a11y-reduce-motion *::before,
body.a11y-reduce-motion *::after {
  animation-duration: 0.01ms !important;
  animation-iteration-count: 1 !important;
  transition-duration: 0.01ms !important;
}

@media (max-width: 600px) {
  .a11y-grid {
    grid-template-columns: 1fr 1fr;
  }
  .a11y-btn-label {
    font-size: 1.2rem;
  }
}

/* ============================================================
   HERO / SPLASH
   ============================================================ */

.splash {
  min-height: 100vh;
  display: grid;
  align-items: center;
  justify-items: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(145deg, #0b0b12 0%, #161622 40%, #08080e 100%) center center / cover no-repeat;
}

/* Eliminadas variantes de splash específicas de pruebas */
.splash::before {
  content: none;
}
.splash::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(1200px 800px at 50% 50%, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.45) 70%);
  pointer-events: none;
}
.splash-inner {
  position: relative;
  text-align: center;
  width: 100%;
  min-height: 100vh;
  display: grid;
  align-content: center;
  justify-items: center;
  padding: 84px 0 26px;
  margin: 0 auto;
  box-sizing: border-box;
}
.splash-title {
  margin: 0 auto;
  line-height: 0.9;
  max-width: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.1em;
}
.splash-subtitle {
  display: block;
  width: 100%;
  text-align: center;
  font-size: clamp(1.4rem, 2.5vw, 1.8rem);
  font-weight: 500;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.9);
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
  opacity: 0;
  animation: titleIn 1.1s cubic-bezier(0.16, 0.9, 0.25, 1.02) 0.35s forwards;
}
.splash-text {
  position: relative;
  display: inline-block;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-family: "DM Sans", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-size: clamp(5.2rem, 9.5vw, 9.6rem);
  color: #ffffff;
  text-shadow: 0 10px 30px rgba(0, 0, 0, 0.75);
  transform: translateZ(0);
  opacity: 0;
  animation: titleIn 1.1s cubic-bezier(0.16, 0.9, 0.25, 1.02) 0.1s forwards;
}

.splash-beam {
  position: absolute;
  width: 2px;
  /* Altura en vh para que llene el hero sin salir por arriba (origen visible) */
  height: 88vh;
  top: 6vh;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(255, 132, 0, 0.4) 8%,
    rgba(255, 132, 0, 0.9) 25%,
    rgba(255, 132, 0, 0.9) 100%
  );
  box-shadow:
    0 0 20px rgba(255, 132, 0, 0.95),
    0 0 50px rgba(255, 132, 0, 0.8);
  mix-blend-mode: screen;
  opacity: 0.98;
  pointer-events: none;
  z-index: -1;
}
.beam-1 {
  left: 35%;
  transform: rotate(18deg) translate3d(-10px, 0, 0);
  animation: beamMove1 2.4s ease-in-out infinite alternate;
}
.beam-2 {
  left: 50%;
  transform: rotate(0deg) translate3d(0, 0, 0);
  animation: beamMove2 2s ease-in-out infinite alternate;
}
.beam-3 {
  left: 65%;
  transform: rotate(-18deg) translate3d(10px, 0, 0);
  animation: beamMove3 2.6s ease-in-out infinite alternate;
}
.beam-4 {
  left: 42%;
  transform: rotate(10deg) translate3d(-5px, 0, 0);
  animation: beamMove4 2.2s ease-in-out infinite alternate;
}
.beam-5 {
  left: 58%;
  transform: rotate(-8deg) translate3d(5px, 0, 0);
  animation: beamMove5 2.8s ease-in-out infinite alternate;
}
.splash-kicker {
  font-size: 2.6rem;
  font-family: "DM Sans", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  margin: 0 0 18px;
}
.splash-sub {
  margin: 18px 0 10px;
  max-width: 46rem;
  font-size: 1.8rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.78);
}
.splash-tagline {
  margin: 22px auto 0;
  width: fit-content;
  max-width: 100%;
  white-space: nowrap;
  font-size: clamp(2.6rem, 1.15vw, 2rem);
  line-height: 1.2;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 0.01em;
}
.splash-meta {
  margin: 0 0 26px;
  max-width: 46rem;
  font-size: 1.3rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}
.splash-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  margin-top: 28px;
}
.splash-actions .btn {
  padding: 14px 22px;
  font-size: 1.05rem;
  font-weight: 600;
  text-decoration: none;
  transition: box-shadow 0.2s ease, transform 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

@media (max-width: 768px) {
  .splash-inner {
    text-align: center;
  }
  .splash-tagline {
    white-space: normal;
    width: min(92vw, 44rem);
  }
  .splash-actions {
    justify-content: center;
  }
  .splash-kicker{
    font-size: 1.6rem;
  }
}
/* Barrido de luz sobre el texto */
.splash-text > i {
  font-style: normal;
}
.splash-text::marker {
  content: "";
}
.splash-text::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 72%;
  height: 36%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.45), transparent 72%);
  filter: blur(8px);
  opacity: 1.05;
  mix-blend-mode: screen;
  pointer-events: none;
  z-index: -1;
}

.splash-text .shine {
  display: none;
}
/* Haces de luz desde el centro del texto */
.splash-text::before {
  content: none;
}

@keyframes titleIn {
  0% {
    opacity: 0;
    transform: translateY(26px) scale(0.9);
    text-shadow:
      0 26px 80px rgba(0, 0, 0, 0.9),
      0 0 0 rgba(255, 132, 0, 0);
  }
  60% {
    opacity: 1;
    transform: translateY(-4px) scale(1.02);
    text-shadow:
      0 14px 46px rgba(0, 0, 0, 0.72),
      0 0 160px rgba(188, 250, 74, 0.38),
      0 0 140px rgba(0, 193, 181, 0.28),
      0 0 120px rgba(255, 132, 0, 0.22);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
    text-shadow:
      0 8px 30px rgba(0, 0, 0, 0.6),
      0 0 90px rgba(255, 132, 0, 0.28),
      0 0 80px rgba(255, 88, 166, 0.16);
  }
}

@keyframes beamMove1 {
  from {
    transform: rotate(18deg) translate3d(-10px, 0, 0);
  }
  to {
    transform: rotate(18deg) translate3d(10px, 25px, 0);
  }
}

@keyframes beamMove2 {
  from {
    transform: rotate(0deg) translate3d(8px, 0, 0);
  }
  to {
    transform: rotate(0deg) translate3d(-8px, 30px, 0);
  }
}

@keyframes beamMove3 {
  from {
    transform: rotate(-18deg) translate3d(10px, 0, 0);
  }
  to {
    transform: rotate(-18deg) translate3d(-10px, 25px, 0);
  }
}

@keyframes beamMove4 {
  from {
    transform: rotate(10deg) translate3d(-5px, 0, 0);
  }
  to {
    transform: rotate(10deg) translate3d(8px, 28px, 0);
  }
}

@keyframes beamMove5 {
  from {
    transform: rotate(-8deg) translate3d(5px, 0, 0);
  }
  to {
    transform: rotate(-8deg) translate3d(-8px, 28px, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .splash::before,
  .splash-text,
  .splash-text::before,
  .splash-text .shine {
    animation: none !important;
  }
}
.scroll-cue {
  display: inline-flex;
  margin-top: 26px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.22);
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.3rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: transform 180ms ease, background 180ms ease;
}
.scroll-cue:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.06);
}

/* ============================================================
   COMPONENTES COMUNES (botones, tarjetas, secciones)
   ============================================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 14px;
  padding: 12px 16px;
  font-size: 1.5rem;
  border: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.2);
  color: var(--text);
  cursor: pointer;
}
.btn.primary {
  background: linear-gradient(135deg, var(--primary-color), rgba(255, 132, 0, 0.7));
  color: #12161c;
  border-color: rgba(255, 132, 0, 0.35);
  font-weight: 800;
  font-size: initial;
}
.btn.ghost {
  background: rgba(255, 255, 255, 0.04);
}
.btn.outline {
  background: transparent;
  color: rgba(255, 255, 255, 0.95);
  border: 2px solid rgba(255, 255, 255, 0.6);
  font-size: initial;
}
.btn.outline:hover {
  border-color: var(--primary-color);
  color: #fff;
  box-shadow: 0 4px 20px rgba(255, 132, 0, 0.35);
  transform: translateY(-2px);
}
.btn.primary:hover {
  box-shadow: 0 4px 24px rgba(255, 132, 0, 0.5);
  transform: translateY(-2px);
}
.btn.small {
  padding: 10px 14px;
  font-size: 1.4rem;
}

.trust {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 1.3rem;
}
.trust .dot {
  width: 8px;
  height: 8px;
  border-radius: 99px;
  display: inline-block;
  margin-right: 8px;
  background: var(--secundary-color);
  box-shadow: 0 0 0 4px rgba(0, 193, 181, 0.12);
}

.section {
  padding: 46px 0;
  background: #000000;
  border-top: 0 solid transparent;
  border-bottom: 0 solid transparent;
}
/* .section-alt: clase marcadora junto a .section (misma base; hovers vinculados abajo) */
.section:hover,
.section.section-alt:hover {
  background: #0b0b0b;
  border-top: 3px solid var(--primary-color);
  border-bottom: 3px solid var(--primary-color);
}
.section-head {
  display: grid;
  gap: 10px;
  margin-bottom: 18px;
}
.section-head h2 {
  margin: 0;
  font-size: 3rem;
  letter-spacing: -0.01em;
}
.section-head p {
  margin: 0;
  color: var(--muted);
  font-size: 1.6rem;
  line-height: 1.6;
}

/* Ajustes específicos para el bloque "Nuestro método" */
#metodo .section-head {
  text-align: center;
}
#metodo .section-head h2 {
  font-size: 3.4rem;
}
#metodo .section-head p {
  font-size: 1.8rem;
  justify-self: center;
  text-align: center;
  max-width: 68ch;
}

/* Ajustes específicos para el bloque "Servicios" */
#servicios .section-head {
  text-align: center;
}
#servicios .section-head p {
  justify-self: center;
  text-align: center;
  max-width: 68ch;
}

/* Ajustes específicos para el bloque "Planes" */
#planes .section-head {
  text-align: center;
}
#planes .section-head p {
  justify-self: center;
  text-align: center;
  max-width: 68ch;
}

/* Ajustes específicos para el bloque "Blog" (home) */
#blog .section-head {
  text-align: center;
}
#blog .section-head h2 {
  text-align: left !important;
}
#blog .section-head p {
  justify-self: center;
  text-align: center;
  max-width: 68ch;
}

.cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.card {
  padding: 22px 18px 18px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.18);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
  transform: translateY(20px);
  transition:
    transform 420ms ease-out,
    box-shadow 420ms ease-out,
    border-color 420ms ease-out;
}
.cards .card h3,
.cards .card p,
.cards .card .text-link {
  font-family: "Nunito", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}
.card-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin-bottom: 10px;
  background: rgba(0, 0, 0, 0.35);
}
.card-visible {
  transform: translateY(0);
}
.card h3 {
  margin: 0 0 8px;
  font-size: 1.8rem;
}
.card p {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 1.4rem;
  line-height: 1.6;
}
.text-link {
  color: var(--primary-color);
  font-weight: 700;
  font-size: 1.4rem;
}

.parallax-band {
  position: relative;
  min-height: 260px;
  background-image: url("../../img/laconce.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: scroll;
}
.parallax-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 40%, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.75));
}

@media (min-width: 900px) {
  .parallax-band {
    background-attachment: fixed;
  }
}

/* ============================================================
   SECCIÓN "NUESTRO MÉTODO" — SLIDER
   ============================================================ */

.step-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 12px;
}
.step-slider {
  position: relative;
  margin-top: 12px;
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}
.step-viewport {
  overflow: hidden;
  width: 100%;
}
.step-track {
  display: flex;
  align-items: stretch;
  will-change: transform;
  transition: transform 480ms cubic-bezier(0.22, 1, 0.36, 1);
}
.step-slide {
  display: flex;
  flex-direction: column;
  flex: 0 0 100%;
  min-width: 100%;
  text-decoration: none;
  padding: 0 clamp(28px, 7vw, 120px);
}
.step-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 999px;
  border: 1px solid rgba(255, 132, 0, 0.55);
  background: rgba(4, 8, 16, 0.62);
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
  color: #ff8400;
  cursor: pointer;
  z-index: 12;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.32);
}
.step-arrow span {
  font-size: 24px;
  line-height: 1;
  font-weight: 700;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}
.step-arrow-icon {
  width: 38px;
  height: 38px;
  fill: currentColor;
  filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.45)) drop-shadow(0 0 14px rgba(255, 132, 0, 0.35));
}
.step-arrow-icon--prev {
  transform: rotate(180deg);
}
.step-arrow--prev { left: 44px; }
.step-arrow--next { right: 44px; }
.step-arrow:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
.step-dots {
  display: flex;
  justify-content: center;
  gap: 2px;
  margin-top: 12px;
}
.step-dot {
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  cursor: pointer;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  touch-action: manipulation;
}
.step-dot::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.35);
  transition: transform 180ms ease, background-color 180ms ease;
}
.step-dot.is-active {
  background: transparent;
}
.step-dot.is-active::before {
  background: #ff8400;
  transform: scale(1.18);
}
.step-card {
  flex: 1 1 auto;
  min-height: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
  padding: 26px 22px 24px;
  border-radius: 20px;
  border: 0;
  background: transparent;
  box-shadow: none;
}
.step-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  color: var(--primary-color);
  flex-shrink: 0;
}
.step-icon svg {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.step-body h3 {
  margin: 0 0 6px;
  font-size: 2rem;
}
.step-body p {
  margin: 0;
  color: var(--muted);
  font-size: 1.5rem;
  line-height: 1.6;
}
.step-card--strategy {
  position: relative;
  align-items: stretch;
  text-align: left;
  overflow: hidden;
}
.step-card--strategy::before {
  content: none;
  position: absolute;
  top: -38%;
  bottom: -38%;
  right: -18%;
  width: 56%;
  height: auto;
  background: #ff6b00;
  opacity: 0.22;
  transform: rotate(24deg);
  pointer-events: none;
  z-index: 0;
}
.step-card--strategy .strategy-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  gap: 20px;
  align-items: center;
  width: 100%;
  position: relative;
  z-index: 1;
}
.step-card--strategy .strategy-col--text {
  position: relative;
  overflow: hidden;
  padding-left: 100px;
}
.step-card--strategy .strategy-col--text > * {
  position: relative;
  z-index: 1;
}
.step-card--strategy .strategy-col--text h3,
.step-card--strategy .strategy-col--text p {
  text-align: left !important;
}
.step-card--strategy .strategy-col--text h3 {
  margin: 0 0 10px;
  font-size: clamp(2.9rem, 3.2vw, 3.9rem);
  line-height: 1.12;
  font-weight: 800;
}
.step-card--strategy .strategy-lead {
  margin: 0 0 12px !important;
  font-weight: 700;
  font-size: clamp(1.8rem, 1.75vw, 2.1rem);
  line-height: 1.42;
}
.step-card--strategy .strategy-copy {
  margin: 0 0 12px !important;
  font-size: 1.55rem;
  line-height: 1.68;
}
.step-card--strategy .strategy-quote {
  margin: 50px 0 8px !important;
  font-style: italic;
  font-size: clamp(1.75rem, 1.8vw, 2rem);
  line-height: 1.42;
}
.step-card--strategy .strategy-author {
  margin: 0 !important;
  font-weight: 600;
  font-style: italic;
  font-size: clamp(2rem, 2.8vw, 3.2rem);
  letter-spacing: 0.03em;
  font-family: "Brush Script MT", "Segoe Script", "Lucida Handwriting", cursive;
  color: #ffffff !important;
}
.step-card--strategy .strategy-col--media {
  display: flex;
  justify-content: center;
  align-items: center;
  background: transparent !important;
  overflow: visible;
}
.step-card--strategy .strategy-col--media img {
  width: 100%;
  max-width: none;
  height: auto;
  display: block;
  object-fit: contain;
  transform: scale(1.7);
  transform-origin: center center;
}
.step-card--design {
  position: relative;
  align-items: stretch;
  text-align: left;
  overflow: hidden;
}
/*.step-card--design::after {
  content: "";
  position: absolute;
  left: -22%;
  bottom: -35%;
  width: 78%;
  height: 68%;
  background: #00bf63;
  opacity: 0.22;
  transform: rotate(-18deg);
  pointer-events: none;
  z-index: 0;
}*/
.step-card--design .design-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  gap: 20px;
  align-items: center;
  width: 100%;
  position: relative;
  z-index: 1;
}
.step-card--design .design-col--text {
  position: relative;
  overflow: hidden;
  padding-left: 100px;
}
.step-card--design .design-col--text > * {
  position: relative;
  z-index: 1;
}
.step-card--design .design-col--text h3,
.step-card--design .design-col--text p {
  text-align: left !important;
}
.step-card--design .design-col--text h3 {
  margin: 0 0 10px;
  font-size: clamp(2.9rem, 3.2vw, 3.9rem);
  line-height: 1.12;
  font-weight: 800;
}
.step-card--design .design-lead {
  margin: 0 0 12px !important;
  font-weight: 700;
  font-size: clamp(1.8rem, 1.75vw, 2.1rem);
  line-height: 1.42;
}
.step-card--design .design-copy {
  margin: 0 0 12px !important;
  font-size: 1.55rem;
  line-height: 1.68;
}
.step-card--design .design-quote {
  margin: 50px 0 8px !important;
  font-style: italic;
  font-size: clamp(1.75rem, 1.8vw, 2rem);
  line-height: 1.42;
}
.step-card--design .design-author {
  margin: 0 !important;
  font-weight: 600;
  font-style: italic;
  font-size: clamp(2rem, 2.8vw, 3.2rem);
  letter-spacing: 0.03em;
  font-family: "Brush Script MT", "Segoe Script", "Lucida Handwriting", cursive;
  color: #ffffff !important;
}
.step-card--design .design-col--media {
  display: flex;
  justify-content: center;
  align-items: center;
  background: transparent !important;
  overflow: visible;
}
.step-card--design .design-col--media img {
  width: 100%;
  max-width: none;
  height: auto;
  display: block;
  object-fit: contain;
  transform: scale(0.63);
  transform-origin: center center;
}
.step-card--dev {
  position: relative;
  align-items: stretch;
  text-align: left;
  overflow: hidden;
}
.step-card--dev::before {
  content: none;
  position: absolute;
  right: -16%;
  top: -28%;
  width: 64%;
  height: 220%;
  background: #fdd703;
  opacity: 0.2;
  transform: rotate(-26deg);
  pointer-events: none;
  z-index: 0;
}
.step-card--dev .dev-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  gap: 20px;
  align-items: center;
  width: 100%;
  position: relative;
  z-index: 1;
}
.step-card--dev .dev-col--text {
  position: relative;
  overflow: hidden;
  padding-left: 100px;
}
.step-card--dev .dev-col--text > * {
  position: relative;
  z-index: 1;
}
.step-card--dev .dev-col--text h3,
.step-card--dev .dev-col--text p {
  text-align: left !important;
}
.step-card--dev .dev-col--text h3 {
  margin: 0 0 10px;
  font-size: clamp(2.9rem, 3.2vw, 3.9rem);
  line-height: 1.12;
  font-weight: 800;
}
.step-card--dev .dev-lead {
  margin: 0 0 12px !important;
  font-weight: 700;
  font-size: clamp(1.8rem, 1.75vw, 2.1rem);
  line-height: 1.42;
}
.step-card--dev .dev-copy {
  margin: 0 0 12px !important;
  font-size: 1.55rem;
  line-height: 1.68;
}
.step-card--dev .dev-closer {
  margin: 0 0 10px !important;
  font-size: 1.6rem;
  font-weight: 700;
  color: #fdd703 !important;
}
.step-card--dev .dev-quote {
  margin: 50px 0 8px !important;
  font-style: italic;
  font-size: clamp(1.75rem, 1.8vw, 2rem);
  line-height: 1.42;
}
.step-card--dev .dev-author {
  margin: 6px 0 0 !important;
  font-weight: 600;
  font-style: italic;
  font-size: clamp(2rem, 2.8vw, 3.2rem);
  letter-spacing: 0.03em;
  font-family: "Brush Script MT", "Segoe Script", "Lucida Handwriting", cursive;
  color: #ffffff !important;
}
.step-card--dev .dev-col--media {
  display: flex;
  justify-content: center;
  align-items: center;
  background: transparent !important;
  overflow: visible;
}
.step-card--dev .dev-col--media img {
  width: 100%;
  max-width: none;
  height: auto;
  display: block;
  object-fit: contain;
  transform: scale(0.63);
  transform-origin: center center;
}
.step-card--support {
  position: relative;
  align-items: stretch;
  text-align: left;
  overflow: hidden;
}
.step-card--support::after {
  content: none;
  position: absolute;
  left: -14%;
  top: -30%;
  width: 62%;
  height: 230%;
  background: #ff66c4;
  opacity: 0.2;
  transform: rotate(22deg);
  pointer-events: none;
  z-index: 0;
}
.step-card--support .support-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  gap: 20px;
  align-items: center;
  width: 100%;
  position: relative;
  z-index: 1;
}
.step-card--support .support-col--text {
  padding-left: 100px;
}
.step-card--support .support-col--text h3,
.step-card--support .support-col--text p {
  text-align: left !important;
}
.step-card--support .support-col--text h3 {
  margin: 0 0 10px;
  font-size: clamp(2.9rem, 3.2vw, 3.9rem);
  line-height: 1.12;
  font-weight: 800;
}
.step-card--support .support-lead {
  margin: 0 0 12px !important;
  font-weight: 700;
  font-size: clamp(1.8rem, 1.75vw, 2.1rem);
  line-height: 1.42;
}
.step-card--support .support-copy {
  margin: 0 0 12px !important;
  font-size: 1.55rem;
  line-height: 1.68;
}
.step-card--support .support-quote {
  margin: 50px 0 8px !important;
  font-style: italic;
  font-size: clamp(1.75rem, 1.8vw, 2rem);
  line-height: 1.42;
}
.step-card--support .support-author {
  margin: 0 !important;
  font-weight: 600;
  font-style: italic;
  font-size: clamp(2rem, 2.8vw, 3.2rem);
  letter-spacing: 0.03em;
  font-family: "Brush Script MT", "Segoe Script", "Lucida Handwriting", cursive;
  color: #ffffff !important;
}
.step-card--support .support-col--media {
  display: flex;
  justify-content: center;
  align-items: center;
  background: transparent !important;
  overflow: visible;
}
.step-card--support .support-col--media img {
  width: 100%;
  max-width: none;
  height: auto;
  display: block;
  object-fit: contain;
  transform: scale(0.63);
  transform-origin: center center;
}

/* ============================================================
   BANDA DE CONTACTO (¿Hablamos?)
   ============================================================ */

.contact-strip-inner {
  position: relative;
  border-radius: 20px;
  border: 1px solid var(--border);
  padding: 24px 20px;
  background-image:
    linear-gradient(rgba(0, 0, 0, 0.28), rgba(0, 0, 0, 0.72)),
    url("../../img/contactanos.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.55);
  overflow: hidden;
}
.contact-strip-inner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 20%, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.8));
  z-index: 0;
}
.contact-strip-inner > * {
  position: relative;
  z-index: 1;
}
.contact-strip-inner h2 {
  margin: 0 0 14px;
  text-align: center;
  font-size: 2.4rem;
}
.contact-strip-btn {
  display: block;
  width: fit-content;
  margin: 0 auto;
  margin-top: 6px;
  text-align: center;
  text-decoration: none;
}
.contact-strip-cols {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  text-align: center;
}
.contact-strip-cols h3 {
  margin: 0 0 6px;
  font-size: 1.6rem;
}
.contact-strip-cols p {
  margin: 0;
  font-size: 1.5rem;
  color: var(--muted);
}

@media (max-width: 768px) {
  .contact-strip-cols {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 900px) {
  .contact-strip-inner {
    background-attachment: fixed;
  }
}
@media (max-width: 768px) {
  .step-card--strategy .strategy-col--text,
  .step-card--design .design-col--text,
  .step-card--dev .dev-col--text,
  .step-card--support .support-col--text {
    padding-left: 0 !important;
  }
  .step-grid {
    grid-template-columns: 1fr;
  }
  .step-card--strategy .strategy-layout {
    grid-template-columns: 1fr;
  }
  .step-card--strategy .strategy-col--text h3,
  .step-card--strategy .strategy-col--text p {
    text-align: center !important;
  }
  .step-card--strategy .strategy-col--media img {
    transform: scale(0.62);
  }
  .step-card--strategy .strategy-quote,
  .step-card--strategy .strategy-author,
  .step-card--design .design-quote,
  .step-card--design .design-author,
  .step-card--dev .dev-quote,
  .step-card--dev .dev-author,
  .step-card--support .support-quote,
  .step-card--support .support-author {
    display: none !important;
  }
  .step-card--design .design-layout {
    grid-template-columns: 1fr;
  }
  .step-card--design .design-col--text h3,
  .step-card--design .design-col--text p {
    text-align: center !important;
  }
  .step-card--design .design-col--media img {
    transform: scale(0.62);
  }
  .step-card--dev .dev-layout {
    grid-template-columns: 1fr;
  }
  .step-card--dev .dev-col--text h3,
  .step-card--dev .dev-col--text p {
    text-align: center !important;
  }
  .step-card--dev .dev-col--media img {
    transform: scale(0.62);
  }
  .step-card--support .support-layout {
    grid-template-columns: 1fr;
  }
  .step-card--support .support-col--text h3,
  .step-card--support .support-col--text p {
    text-align: center !important;
  }
  .step-card--support .support-col--media img {
    transform: scale(0.62);
  }
  .step-arrow {
    width: 44px;
    height: 44px;
  }
  .step-arrow-icon {
    width: 30px;
    height: 30px;
  }
  .step-arrow--prev { left: 10px; }
  .step-arrow--next { right: 10px; }
}

/* ============================================================
   SECCIÓN PLANES (pricing cards)
   ============================================================ */

.pricing {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}
.price-card {
  display: flex;
  flex-direction: column;
  padding: 20px 18px;
  border-radius: 22px;
  border: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.2);
  transition:
    border-radius 220ms ease,
    transform 220ms ease,
    box-shadow 220ms ease,
    border-color 220ms ease,
    background 220ms ease;
}
.price-card.featured {
  background: linear-gradient(180deg, rgba(255, 132, 0, 0.16), rgba(0, 0, 0, 0.14));
  border-color: rgba(255, 132, 0, 0.28);
}
.price-card:hover {
  border-radius: 34px;
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.7);
  border-color: rgba(255, 132, 0, 0.6);
  background: radial-gradient(circle at 20% 0%, rgba(255, 132, 0, 0.25), rgba(0, 0, 0, 0.9));
}
.price-card h3 {
  margin: 0 0 12px;
  font-size: 1.9rem;
}
.price-card ul {
  margin: 0 0 14px;
  padding-left: 16px;
  color: var(--muted);
  font-size: 1.4rem;
  line-height: 1.7;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.mini {
  padding: 18px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.14);
}
.mini h3 {
  margin: 0 0 8px;
  font-size: 1.8rem;
}
.mini p {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 1.4rem;
  line-height: 1.6;
}

.blog-preview-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
}
.blog-preview-list li {
  margin-bottom: 0.75rem;
}
.blog-preview-list li:last-child {
  margin-bottom: 0;
}
.blog-preview-list .text-link {
  font-size: 1.4rem;
  line-height: 1.5;
}

/* Tarjetas de blog en el index (4 últimas entradas) */
.blog-preview-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}
@media (min-width: 700px) {
  .blog-preview-cards {
    grid-template-columns: repeat(4, 1fr);
  }
}
.blog-preview-card {
  display: flex;
  flex-direction: column;
  background: var(--primary-color);
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15), 0 8px 24px rgba(255, 132, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.blog-preview-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.2), 0 16px 40px rgba(255, 132, 0, 0.35);
}
.blog-preview-card__img {
  aspect-ratio: 16 / 10;
  background: rgba(0, 0, 0, 0.15);
  overflow: hidden;
}
.blog-preview-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.blog-preview-card__body {
  padding: 1.25rem 1rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.blog-preview-card__body h3 {
  margin: 0 0 0.5rem;
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.3;
  color: #fff;
  text-align: left !important;
}
.blog-preview-card__link {
  margin-top: auto;
  display: block;
  width: 100%;
  text-align: center !important;
  font-size: 1.2rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.95);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}
.blog-preview-card:hover .blog-preview-card__link {
  color: #fff;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.blog-card {
  padding: 18px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.14);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
}
.blog-meta {
  margin: 0 0 10px;
  font-size: 1.2rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
}
.blog-title {
  margin: 0 0 10px;
  font-size: 2rem;
  letter-spacing: -0.01em;
}
.blog-excerpt {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 1.5rem;
  line-height: 1.65;
}

.blog-all{
  font-size: 1.8rem;
}

@media (max-width: 768px) {
  .blog-grid {
    grid-template-columns: 1fr;
  }
}

.contact {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  align-items: start;
}
.contact-list {
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
  display: grid;
  gap: 10px;
  color: var(--muted);
  font-size: 1.4rem;
}

.flip-banner {
  padding: 80px 0;
  background: url("../../img/tope.webp") center center / cover no-repeat;
  transform-style: preserve-3d;
}
.flip-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 30%, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.98));
  opacity: 0.9;
  transition: opacity 220ms ease;
}
.flip-banner-inner {
  position: relative;
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  padding: 12px 20px;
  transform-origin: center;
  transform: translateY(10px);
  opacity: 0;
  transition:
    opacity 220ms ease,
    transform 220ms ease;
}
.flip-banner-inner p {
  position: relative;
  z-index: 1;
  font-size: 2.4rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.flip-banner.section:hover {
  background: url("../../img/tope.webp") center center / cover no-repeat;
}
.flip-banner.section:hover::before {
  opacity: 0.9;
}
.flip-banner.section:hover .flip-banner-inner {
  opacity: 1;
  transform: translateY(0);
}

@keyframes flipIn {
  0% {
    transform: rotateY(90deg);
    opacity: 0;
  }
  60% {
    transform: rotateY(-10deg);
    opacity: 1;
  }
  100% {
    transform: rotateY(0deg);
    opacity: 1;
  }
}

@media (max-width: 768px) {
  .flip-banner {
    padding: 60px 0;
  }
  .flip-banner-inner p {
    font-size: 2rem;
  }
}
.contact-list .k {
  display: inline-block;
  min-width: 62px;
  color: rgba(255, 255, 255, 0.86);
  font-weight: 700;
}
.form {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.16);
  padding: 18px;
  display: grid;
  gap: 12px;
}
.form label {
  display: grid;
  gap: 6px;
}
.form span {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.78);
}

/* Checkbox privacidad (contacto): alineado a la izquierda */
.form .privacy-check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  text-align: left;
}
.form .privacy-check input[type="checkbox"] {
  width: auto;
  min-height: auto;
  margin-top: 4px;
}
.form .privacy-check span {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.5;
}
.form .privacy-check a {
  text-decoration: underline;
  text-underline-offset: 0.2em;
}
.form input,
.form textarea {
  width: 100%;
  padding: 12px 12px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(0, 0, 0, 0.22);
  color: var(--text);
  font-size: 1.5rem;
  outline: none;
}
.form input:focus,
.form textarea:focus {
  border-color: rgba(0, 193, 181, 0.6);
  box-shadow: 0 0 0 4px rgba(0, 193, 181, 0.16);
}
.fineprint {
  margin: 0;
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.65);
}

.cta-wide {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 300px;
  margin: 0 auto;
  text-align: center;
  padding: 11px 18px;
  min-height: 44px;
  box-sizing: border-box;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: var(--primary-color);
  color: #12161c;
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}
.cta-wide:hover {
  transform: translateY(-2px) scale(1.008);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.55);
  border-color: rgba(255, 255, 255, 0.8);
  background: linear-gradient(135deg, var(--primary-color), rgba(255, 132, 0, 0.7));
}

.site-footer {
  padding: 22px 0 36px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 1.3rem;
}
.footer-nav {
  display: flex;
  gap: 12px;
}
.footer-nav a {
  color: rgba(255, 255, 255, 0.75);
}
.footer-nav a:hover {
  color: var(--text);
}

@media (max-width: 920px) {
  .brand-logo {
    width: 74px;
    height: 74px;
  }

  .cards,
  .pricing {
    grid-template-columns: 1fr;
  }
  /* En móvil/tablet el menú está oculto por defecto; el hamburger lo muestra/oculta */
  .site-nav[hidden] {
    display: none !important;
  }
  /* Menú abierto: desplegable bajo el header */
  .site-nav:not([hidden]) {
    position: absolute;
    right: 20px;
    top: 62px;
    width: min(320px, calc(100vw - 40px));
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    padding: 10px;
    border: 1px solid var(--border);
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(12px);
    border-radius: 16px;
    box-shadow: var(--shadow);
    z-index: 30;
  }
  .site-nav:not([hidden]) a {
    padding: 12px 12px;
  }

  /* Blog: forzar contraste alto en el menú móvil */
  body.blog-page .site-nav:not([hidden]) {
    background: #0b0b0b;
    border-color: rgba(255, 255, 255, 0.2);
  }
  body.blog-page .site-nav:not([hidden]) a,
  body.blog-page .site-nav:not([hidden]) a:visited,
  body.blog-page .site-nav:not([hidden]) a:hover,
  body.blog-page .site-nav:not([hidden]) a:focus-visible {
    color: #ffffff !important;
  }
  body.blog-page .site-nav:not([hidden]) a:hover,
  body.blog-page .site-nav:not([hidden]) a:focus-visible {
    background: rgba(255, 255, 255, 0.12);
  }
  body.blog-page .site-nav:not([hidden]) a.lang {
    border-color: rgba(255, 255, 255, 0.32);
  }

  /* Home / Coworking modo día: menú móvil con contraste correcto */
  body.home-page.theme-day .site-nav:not([hidden]),
  body.coworking-page.theme-day .site-nav:not([hidden]) {
    background: rgba(251, 250, 248, 0.98);
    border-color: rgba(20, 24, 36, 0.18);
  }
  body.home-page.theme-day .site-nav:not([hidden]) a,
  body.home-page.theme-day .site-nav:not([hidden]) a:visited,
  body.home-page.theme-day .site-nav:not([hidden]) a:hover,
  body.home-page.theme-day .site-nav:not([hidden]) a:focus-visible,
  body.coworking-page.theme-day .site-nav:not([hidden]) a,
  body.coworking-page.theme-day .site-nav:not([hidden]) a:visited,
  body.coworking-page.theme-day .site-nav:not([hidden]) a:hover,
  body.coworking-page.theme-day .site-nav:not([hidden]) a:focus-visible {
    color: var(--text-day) !important;
  }
  body.home-page.theme-day .site-nav:not([hidden]) a:hover,
  body.home-page.theme-day .site-nav:not([hidden]) a:focus-visible,
  body.coworking-page.theme-day .site-nav:not([hidden]) a:hover,
  body.coworking-page.theme-day .site-nav:not([hidden]) a:focus-visible {
    background: rgba(20, 24, 36, 0.08);
  }
  body.home-page.theme-day .site-nav:not([hidden]) a.lang,
  body.coworking-page.theme-day .site-nav:not([hidden]) a.lang {
    border-color: rgba(20, 24, 36, 0.28);
  }
}
@media (min-width: 769px) and (max-width: 1100px) {
  .pricing {
    grid-template-columns: repeat(2, 1fr);
  }
  .steps,
  .grid-2,
  .contact {
    grid-template-columns: 1fr;
  }
  .site-nav {
    position: absolute;
    right: 20px;
    top: 62px;
    width: min(320px, calc(100vw - 40px));
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    padding: 10px;
    border: 1px solid var(--border);
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(12px);
    border-radius: 16px;
    box-shadow: var(--shadow);
  }
  .site-nav a {
    padding: 12px 12px;
  }
}

@media (min-width: 921px) {
  /* Solo ocultar el hamburger en desktop; el botón de accesibilidad se mantiene visible */
  .icon-btn[data-menu-button] {
    display: none;
  }
  .site-nav[hidden] {
    display: flex;
  }
}



/* Animación de entrada para las tarjetas del método */
.step-card {
  opacity: 0;
  transform: translateX(0);
  transition: all 0.8s ease;
}

.from-left {
  transform: translateX(-120px);
}

.from-right {
  transform: translateX(120px);
}

.step-card.show {
  opacity: 1;
  transform: translateX(0);
}
/* ============================================================
   FOOTER
   ============================================================ */

.site-footer {
  background: #000 !important;
  color: #eee !important;
  padding: 52px 0 28px !important;
  font-size: 1.1rem;
  position: relative;
  overflow: hidden;
}

/* Glow naranja */
.site-footer::before {
  content: "";
  position: absolute;
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 900px;
  background: radial-gradient(circle, rgba(255,120,0,0.35), transparent 70%);
  filter: blur(120px);
  z-index: 0;
}

/* Contenedor del footer (estructura principal) */
.site-footer .footer-inner {
  position: relative;
  z-index: 2;
  display: block;
  max-width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 0;
}

/* Bloque superior: grid de 4 columnas en desktop; 2 en móvil */
.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 24px 30px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

/* En desktop las dos columnas lógicas se integran en el grid de 4 */
.footer-col-main {
  display: contents;
}
.footer-col-side {
  display: contents;
}
.footer-contact {
  grid-column: 3;
}
.footer-social {
  grid-column: 4;
}
.footer-contact-social {
  grid-column: 3;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-map {
  grid-column: 4;
}

/* Logo y copyright */
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-logo {
  width: 56px;
  height: 56px;
  object-fit: contain;
  filter: drop-shadow(0 0 10px rgba(255, 120, 0, 0.4));
}
.footer-copy {
  margin: 0;
  font-size: 1.25rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.7);
}

/* Navegación */
.footer-nav ul,
.footer-social ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-nav p,
.footer-contact p:first-child,
.footer-social p,
.footer-map p:first-child {
  margin: 0 0 12px;
  font-size: 1.2rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.95);
}
.footer-nav a,
.footer-social a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 0;
  font-size: 1.25rem;
  transition: color 0.2s ease, transform 0.2s ease;
}
.footer-nav a:hover,
.footer-social a:hover {
  color: #ff7a00;
  transform: translateX(4px);
}

/* Contacto */
.footer-contact p {
  margin: 3px 0;
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.75);
  display: flex;
  align-items: center;
  gap: 8px;
}
.footer-contact p:first-child {
  display: block;
  margin-bottom: 12px;
}

.footer-nav a svg,
.footer-contact svg,
.footer-social a svg {
  flex-shrink: 0;
  opacity: 0.9;
}

.footer-map-frame {
  margin-top: 10px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.2);
  max-width: 240px;
}

.footer-map-frame iframe {
  display: block;
  width: 100%;
}

/* Barra legal: debajo de la línea del footer, centrada */
.footer-legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 24px;
  padding-top: 14px;
  margin-top: 0;
  font-size: 1.2rem;
}
.footer-legal a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  transition: color 0.2s ease;
}
.footer-legal a:hover {
  color: #ff7a00;
}
.footer-legal a:not(:last-child)::after {
  content: "·";
  margin-left: 24px;
  color: rgba(255, 255, 255, 0.35);
  pointer-events: none;
}

/* Tablet: 2 columnas, marca arriba centrada */
@media (max-width: 900px) {
  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 20px 20px;
    text-align: left;
  }
  .footer-col-main {
    display: contents;
  }
  .footer-brand {
    grid-column: 1 / -1;
    text-align: center;
    align-items: center;
  }
  .footer-nav {
    grid-column: 1;
  }
  .footer-contact-social {
    grid-column: 2;
  }
  .footer-contact,
  .footer-social {
    grid-column: auto;
  }
  .footer-map {
    grid-column: 1 / -1;
  }
  .footer-map-frame { max-width: 100%; }
}

/* Móvil: 2 columnas — izquierda: logo + nav | derecha: contacto + redes */
@media (max-width: 600px) {
  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 20px 16px;
    text-align: left;
  }
  .footer-col-main {
    display: flex;
    flex-direction: column;
    gap: 16px;
    grid-column: 1;
  }
  .footer-col-side {
    display: flex;
    flex-direction: column;
    gap: 16px;
    grid-column: 2;
    align-items: flex-start;
  }
  .footer-contact-social,
  .footer-contact,
  .footer-social,
  .footer-map {
    grid-column: auto;
  }
  .footer-brand {
    grid-column: 1;
    text-align: left;
    align-items: flex-start;
  }
  .footer-nav ul,
  .footer-contact {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }
  .footer-social ul {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }
  .footer-map-frame { width: 100%; max-width: 210px; }
  .footer-legal {
    align-items: center;
  }
}

/* ============================================================
   TARJETAS DE SERVICIOS (home)
   ============================================================ */
.creative-card {
  background: linear-gradient(135deg, #ffffff, #f7f7f7);
  border-radius: 20px;
  padding: 40px 30px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
  transition: all 0.35s ease;
  position: relative;
  overflow: hidden;
  transform: translateY(40px);
  opacity: 0;
}

/* Iconos más grandes */
.creative-card .card-icon img {
  width: 70px;
  height: 70px;
  filter: drop-shadow(0 4px 8px rgba(255,120,0,0.3));
  transition: transform 0.3s ease;
}

/* Icono animado */
.creative-card:hover .card-icon img {
  transform: scale(1.1) rotate(3deg);
}

/* Títulos más creativos */
.creative-card h3 {
  font-size: 1.4rem;
  font-weight: 800;
  margin-top: 20px;
  color: #222;
}

/* Enlace */
.creative-card .text-link {
  font-weight: 700;
  color: #ff7a00;
  transition: 0.25s ease;
}

.creative-card .text-link:hover {
  color: #ff5500;
  transform: translateX(4px);
}

.creative-boost {
  background: linear-gradient(135deg, #ffffff, #f7f7f7);
  border-radius: 22px;
  padding: 45px 35px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(0,0,0,0.1);
  transition: all 0.4s ease;
  transform: none;
  opacity: 1;
}

/* Glow dinámico detrás de cada tarjeta */
.creative-boost::before {
  content: "";
  position: absolute;
  top: -40%;
  left: -40%;
  width: 180%;
  height: 180%;
  background: radial-gradient(circle, rgba(255,120,0,0.25), transparent 60%);
  transform: rotate(0deg);
  transition: transform 1.2s ease;
  z-index: 0;
}

/* Hover con movimiento */
.creative-boost:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow: 0 25px 50px rgba(255,120,0,0.25);
}

/* Glow animado al hacer hover */
.creative-boost:hover::before {
  transform: rotate(25deg);
}

/* Iconos más grandes y con efecto */
.creative-boost .card-icon img {
  width: 80px;
  height: 80px;
  filter: drop-shadow(0 6px 12px rgba(255,120,0,0.4));
  transition: transform 0.4s ease;
  position: relative;
  z-index: 2;
}

.creative-boost:hover .card-icon img {
  transform: scale(1.15) rotate(4deg);
}

/* Títulos más creativos */
.creative-boost h3 {
  font-size: 1.55rem;
  font-weight: 800;
  margin-top: 25px;
  /* En tarjetas de servicio (fondo negro) el h3 va en blanco por contraste; ver .service-card h3 */
  color: #676767;
  position: relative;
  z-index: 2;
}

/* Texto */
.creative-boost p {
  position: relative;
  z-index: 2;
}

/* Enlace */
.creative-boost .text-link {
  font-weight: 700;
  color: #ff7a00;
  transition: 0.25s ease;
  position: relative;
  z-index: 2;
}

.creative-boost .text-link:hover {
  color: #ff5500;
  transform: translateX(6px);
}

/* Compatibilidad: si JS añade .show, no cambia estado base en servicios */
.creative-card.show,
.creative-boost.show {
  opacity: 1;
  transform: none;
}

.service-card {
  background: #000;
  color: #fff;
  border-radius: 20px;
  padding: 40px 30px;
  position: relative;
  overflow: hidden;
  border: 2px solid transparent;
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
  cursor: pointer;
  display: block;
  text-decoration: none;
}
.service-card:focus-visible {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}

/* Iconos blancos o invertidos */
.service-card .card-icon {
  display: inline-block;
  transition: transform 0.35s ease;
}
.service-card .card-icon img {
  width: 70px;
  height: 70px;
  filter: brightness(0) invert(1);
  transition: transform 0.35s ease;
}

/* Overlay naranja */
.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 120, 0, 0.35);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 1;
}

/* Contenido por encima del overlay */
.service-card * {
  position: relative;
  z-index: 2;
}

/* Hover suave: borde naranja + elevación + overlay */
.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 28px rgba(255, 132, 0, 0.14);
}
.service-card:hover::before {
  opacity: 0.12;
}
.service-card:hover .card-icon {
  transform: translateY(-4px);
}
.service-card:hover .card-icon img {
  transform: scale(1.12);
  animation: service-icon-pulse 0.6s ease;
}

@keyframes service-icon-pulse {
  0%, 100% { transform: scale(1.12); }
  50% { transform: scale(1.2); }
}

/* Títulos — contraste accesible sobre fondo negro (WCAG AA); especificidad para ganar a .creative-boost h3 */
.cards .service-card h3 {
  font-size: 1.55rem;
  font-weight: 800;
  margin-top: 25px;
  color: #fff;
}

/* Párrafo legible sobre fondo negro */
.service-card p {
  color: rgba(255, 255, 255, 0.92);
}

/* Enlace — blanco con subrayado para contraste ≥4.5:1 */
.service-card .text-link {
  color: #fff;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 0.25em;
  transition: 0.25s ease;
}
.service-card:hover .text-link {
  color: #fff;
}
.service-card .text-link:hover {
  color: rgba(255, 255, 255, 0.9);
  transform: translateX(6px);
}

/* Servicios: entrada horizontal de fuera hacia dentro */
#servicios .service-card {
  opacity: 0;
  filter: blur(6px);
  animation: service-enter-left 1.8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  will-change: transform, opacity, filter;
  transition:
    box-shadow 0.35s ease,
    border-color 0.35s ease;
}
#servicios .service-card:nth-child(even) {
  animation-name: service-enter-right;
}
#servicios .service-card:nth-child(1) { animation-delay: 0s; }
#servicios .service-card:nth-child(2) { animation-delay: 0.35s; }
#servicios .service-card:nth-child(3) { animation-delay: 0.7s; }
#servicios .service-card:nth-child(4) { animation-delay: 1.05s; }
#servicios .service-card:nth-child(5) { animation-delay: 1.4s; }
#servicios .service-card:nth-child(6) { animation-delay: 1.75s; }

@keyframes service-enter-left {
  from {
    opacity: 0;
    filter: blur(6px);
    transform: translate3d(-180px, 0, 0);
  }
  to {
    opacity: 1;
    filter: blur(0);
    transform: translate3d(0, 0, 0);
  }
}

@keyframes service-enter-right {
  from {
    opacity: 0;
    filter: blur(6px);
    transform: translate3d(180px, 0, 0);
  }
  to {
    opacity: 1;
    filter: blur(0);
    transform: translate3d(0, 0, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  #servicios .service-card {
    animation: none !important;
    opacity: 1;
    filter: none;
    transform: none;
  }
}

/* Override específico: mantener animación horizontal en Servicios */
body.a11y-reduce-motion #servicios .service-card {
  animation-duration: 1.8s !important;
  animation-iteration-count: 1 !important;
}

.contact-form {
  opacity: 0;
  transform: translateY(40px);
  filter: blur(6px);
  animation: formEnter 0.9s ease forwards;
}

@keyframes formEnter {
  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

/* ============================================================
   FORMULARIO DE CONTACTO
   ============================================================ */

.icon-field .input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.input-icon {
  position: absolute;
  left: 14px;
  opacity: 0.6;
  pointer-events: none;
  transition: 0.3s ease;
}

.icon-field input,
.icon-field textarea {
  padding-left: 45px;
}

.icon-field .input-wrapper:focus-within .input-icon {
  opacity: 1;
  transform: scale(1.1);
}

/* Borde animado al enfocar inputs */

.focus-border {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 2px;
  width: 0%;
  background: #ff7a00;
  transition: width 0.3s ease;
}

.icon-field:focus-within .focus-border {
  width: 100%;
}

/* Ajuste para textarea */
.textarea-wrapper .input-icon {
  top: 14px;
}

/* Microcopy emocional */
.microcopy {
  margin-top: 10px;
  margin-bottom: 20px;
  font-size: 0.98rem;
  color: #666;
}

/* Widget de citas (parte superior de contacto) - mismo estilo web: fondo negro */
.citas-widget-wrapper {
  max-width: 720px;
  margin: 0 auto 24px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
  border-radius: 18px;
  overflow: hidden;
  background: #000;
}

@media (max-width: 768px) {
  .citas-widget-wrapper iframe {
    height: 580px;
  }
}

/* Mapa de contacto */
.contact-map {
  padding-top: 0;
}

.contact-map h3 {
  font-size: 1.4rem;
  margin-bottom: 8px;
  text-align: center;
}

.map-wrapper {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
  margin-top: 20px;
  opacity: 0;
  transform: translateY(20px);
  animation: mapEnter 0.8s ease forwards;
  animation-delay: 0.2s;
}

/* Botón flotante de WhatsApp */
.whatsapp-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #25d366;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 10px 25px rgba(0,0,0,0.35);
  z-index: 999;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.whatsapp-float:hover {
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 14px 30px rgba(0,0,0,0.45);
}

.contact-map .container {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.contact .microcopy {
  margin: 10px 0 20px;
  font-size: 1rem;
  color: #555;
  max-width: 420px;
}

.map-wrapper iframe {
  border-radius: 16px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

@keyframes mapEnter {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Mapa a pantalla completa */
.contact-map {
  padding: 0;
}

.contact-map .container {
  max-width: 100%;
  padding: 0;
}

.map-wrapper {
  width: 100%;
  margin: 0;
  border-radius: 0;
}

.step-link {
  text-decoration: none;
  color: inherit;
}

.step-link:hover .step-card {
  transform: translateY(-4px);
}

/* ============================================================
   BLOG
   ============================================================ */
body.blog-page {
  background: #fff;
}
/* Tarjetas del listado de posts: fondo naranja corporativo */
/* Tarjetas: sombra, entrada animada y hover con movimiento */
body.blog-page main .grid {
  position: relative;
}
body.blog-page main .grid > article {
  background: var(--primary-color) !important;
  border-color: rgba(255, 255, 255, 0.25) !important;
  color: #fff;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15), 0 8px 24px rgba(255, 132, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  animation: blog-card-in 0.5s ease forwards;
  opacity: 0;
}
body.blog-page main .grid > article:nth-child(1) { animation-delay: 0.05s; }
body.blog-page main .grid > article:nth-child(2) { animation-delay: 0.12s; }
body.blog-page main .grid > article:nth-child(3) { animation-delay: 0.19s; }
body.blog-page main .grid > article:nth-child(4) { animation-delay: 0.26s; }
body.blog-page main .grid > article:nth-child(5) { animation-delay: 0.33s; }
body.blog-page main .grid > article:nth-child(6) { animation-delay: 0.4s; }
body.blog-page main .grid > article:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.2), 0 16px 40px rgba(255, 132, 0, 0.35);
}
@keyframes blog-card-in {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
body.blog-page main .grid > article .aspect-video {
  background: rgba(0, 0, 0, 0.15);
}
body.blog-page main .grid > article p,
body.blog-page main .grid > article h2 {
  color: #fff;
}
body.blog-page main .grid > article a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 0.2em;
  transition: color 0.2s ease, transform 0.2s ease;
}
body.blog-page main .grid > article a:hover {
  color: rgba(255, 255, 255, 0.9);
}
body.blog-page main .grid > article .text-slate-400,
body.blog-page main .grid > article .text-primary-600 {
  color: rgba(255, 255, 255, 0.9) !important;
}
/* Botones del blog: sombra y hover con movimiento */
body.blog-page main nav[aria-label="Paginación"] a,
body.blog-page main nav[aria-label="Paginación"] span,
body.blog-page aside button[type="submit"],
body.blog-page aside .bg-primary-600 {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
body.blog-page main nav[aria-label="Paginación"] a:hover,
body.blog-page aside button[type="submit"]:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
}
body.blog-page main .grid > article a[href*="/post/"] {
  display: inline-block;
}
body.blog-page main .grid > article a[href*="/post/"]:hover {
  transform: translateX(4px);
}
body.blog-page .site-header {
  font-size: 62.5%;
}
body.blog-page .site-footer {
  font-size: 62.5%;
}
body.blog-page main {
  font-size: 62.5%;
  max-width: 128rem;
}

/* Tipografía del blog: igualar tamaños a la web (rem) */
body.blog-page main h1 {
  font-size: 2.4rem;
}

/* Tarjetas (listado): tamaños que caben en la tarjeta sin cortarse */
body.blog-page main .grid > article > div:last-of-type {
  padding: 22px 18px 18px;
  min-height: 0;
}
body.blog-page main .grid > article h2 {
  font-size: 1.6rem;
  line-height: 1.35;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
body.blog-page main .grid > article p {
  font-size: 1.2rem;
}
body.blog-page main .grid > article a[href*="/post/"] {
  font-size: 1.4rem;
}

/* Post individual (prose): una sola escala para que no se entremezclen tamaños */
body.blog-page main .prose {
  font-size: 1.4rem;
  line-height: 1.8;
  color: #334155;
}
body.blog-page main .prose p,
body.blog-page main .prose li,
body.blog-page main .prose blockquote,
body.blog-page main .prose td,
body.blog-page main .prose th,
body.blog-page main .prose span {
  font-size: inherit;
}
body.blog-page main .prose p {
  margin-bottom: 1.5em;
  line-height: 1.8;
}
body.blog-page main .prose p:last-child {
  margin-bottom: 0;
}
body.blog-page main .prose p + p {
  margin-top: 0.25em;
}
body.blog-page main .prose li {
  margin-bottom: 0.5em;
  line-height: 1.75;
}
body.blog-page main .prose h1 {
  font-size: 2.6rem;
  line-height: 1.3;
  margin-top: 0;
  margin-bottom: 0.6em;
  color: #0f172a;
}
body.blog-page main .prose h2 {
  font-size: 2rem;
  line-height: 1.35;
  margin-top: 1.5em;
  margin-bottom: 0.5em;
  color: #0f172a;
}
body.blog-page main .prose h3 {
  font-size: 1.8rem;
  line-height: 1.4;
  margin-top: 1.35em;
  margin-bottom: 0.4em;
  color: #0f172a;
}
body.blog-page main .prose h4,
body.blog-page main .prose h5,
body.blog-page main .prose h6 {
  font-size: 1.5rem;
  line-height: 1.4;
  margin-top: 1.25em;
  margin-bottom: 0.35em;
  color: #0f172a;
}
body.blog-page main .prose blockquote {
  margin: 1.5em 0;
  padding-left: 1.25em;
  border-left: 4px solid rgba(0, 0, 0, 0.12);
  color: #475569;
  line-height: 1.8;
}

/* Sidebar + paginación */
body.blog-page main aside {
  font-size: 1.35rem;
  max-width: 28rem;
}
body.blog-page main aside h3 {
  font-size: 1.4rem;
}
body.blog-page main aside a,
body.blog-page main aside input,
body.blog-page main aside button {
  font-size: inherit;
}
body.blog-page main nav[aria-label="Paginación"] a,
body.blog-page main nav[aria-label="Paginación"] span {
  font-size: 1.3rem;
}
body.blog-page .site-header,
body.blog-page .site-header.is-elevated {
  background: #ffffff !important;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08) !important;
  color: #111;
}
body.blog-page .site-header .brand,
body.blog-page .site-header .brand-mark {
  color: #111;
}
body.blog-page .site-header .brand-sub {
  color: #444;
}
body.blog-page .site-header .site-nav a {
  color: #444;
}
body.blog-page .site-header .site-nav a:hover {
  color: #111;
  background: rgba(0, 0, 0, 0.06);
}
body.blog-page .site-header .site-nav a.pill {
  color: #fff;
  background: var(--primary-color);
}
body.blog-page .site-header .icon-btn {
  background: rgba(0, 0, 0, 0.08);
  border-color: rgba(0, 0, 0, 0.12);
  color: #111;
}
body.blog-page .site-header .icon-btn:hover,
body.blog-page .site-header .icon-btn:focus-visible {
  background: rgba(0, 0, 0, 0.12);
}
body.blog-page .site-footer {
  background: #f8f8f8 !important;
  color: #333 !important;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}
body.blog-page .site-footer::before {
  display: none;
}
body.blog-page .site-footer .footer-copy,
body.blog-page .site-footer .footer-nav p,
body.blog-page .site-footer .footer-contact p:first-child,
body.blog-page .site-footer .footer-social p {
  color: #222;
}
body.blog-page .site-footer .footer-nav a,
body.blog-page .site-footer .footer-social a,
body.blog-page .site-footer .footer-contact p {
  color: #555;
}
body.blog-page .site-footer .footer-address {
  color: #334155;
}
body.blog-page .site-footer .footer-map-frame {
  border-color: rgba(0, 0, 0, 0.12);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.1);
}
body.blog-page .site-footer .footer-nav a:hover,
body.blog-page .site-footer .footer-social a:hover {
  color: var(--primary-color);
}
body.blog-page .site-footer .footer-legal a {
  color: #666;
}
body.blog-page .site-footer .footer-legal a:hover {
  color: var(--primary-color);
}
body.blog-page .site-footer .footer-top {
  border-bottom-color: rgba(0, 0, 0, 0.1);
}

/* ============================================================
   PÁGINAS INTERIORES (planes, legales)
   ============================================================ */

body.plan-page main {
  font-size: 1.8em;
}
body.plan-page main h1 {
  font-size: 2.0em;
}
body.plan-page main .subtitle {
  font-size: 1.4em;
}

/* Páginas legales */
.legal-content {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.65;
}
.legal-content h2 {
  margin: 28px 0 12px;
  font-size: 1.5rem;
  color: #fff;
}
.legal-content h2:first-of-type {
  margin-top: 0;
}
.legal-content p {
  margin: 0 0 14px;
  font-size: 1.35rem;
}
.legal-content ul {
  margin: 0 0 14px;
  padding-left: 1.4em;
}
.legal-content li {
  margin-bottom: 6px;
}
.legal-content a {
  color: #ff7a00;
  text-decoration: none;
}
.legal-content a:hover {
  text-decoration: underline;
}
.legal-update {
  margin-top: 24px !important;
  font-size: 1.2rem !important;
  color: rgba(255, 255, 255, 0.6) !important;
}


/* ============================================================
   HOME: layout, centrado, tema día / noche
   ============================================================ */
body.home-page :is(.splash, #servicios, #planes, #blog, #contacto, .contact-strip) :is(h1, h2, h3, h4, p, li) {
  text-align: center !important;
}
body.home-page #planes .price-card ul,
body.home-page #planes .price-card li {
  text-align: left !important;
}
body.home-page main :is(a.btn, button.btn, input.btn, button[type="submit"], input[type="submit"]) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

/* Home: centrados específicos de CTAs sin romper separación del hero */
body.home-page #servicios .service-card .text-link {
  display: block;
  width: 100%;
  text-align: center !important;
}
body.home-page #servicios .service-card .card-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}
body.home-page #servicios .service-card .card-icon img {
  margin-left: auto;
  margin-right: auto;
}
body.home-page #blog .blog-preview-card__body h3 {
  width: 100%;
  text-align: left !important;
}
body.home-page .contact-strip-btn {
  display: flex !important;
  justify-content: center;
  align-items: center;
  margin-left: auto !important;
  margin-right: auto !important;
  width: fit-content;
}
body.home-page .contact-strip .contact-strip-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}
body.home-page .contact-strip .contact-strip-inner h2 {
  width: 100%;
}
body.home-page #metodo .step-icon {
  width: clamp(96px, 9vw, 130px);
  height: auto;
}
body.home-page #metodo .step-icon img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
}
body.home-page #planes .price-card .btn {
  display: flex !important;
  justify-content: center;
  align-items: center;
  margin-top: auto;
  margin-left: auto !important;
  margin-right: auto !important;
  width: fit-content;
}

/* Home index: modo noche por defecto + variables de tema */
body.home-page,
body.coworking-page {
  background: radial-gradient(1000px 620px at 18% -12%, rgba(6, 42, 54, 0.82), transparent 58%),
    radial-gradient(760px 520px at 92% 8%, rgba(108, 117, 125, 0.35), transparent 55%),
    linear-gradient(160deg, var(--bg-night) 0%, #062a36 58%, #6c757d 100%) !important;
  color: rgba(255, 255, 255, 0.92);
  --text: rgba(255, 255, 255, 0.92);
  --muted: rgba(255, 255, 255, 0.78);
  --border: rgba(255, 255, 255, 0.14);
  --shadow: 0 12px 34px rgba(0, 0, 0, 0.28);
  --section-dark: var(--bg-night);
  --section-clear: #062a36;
  --surface-1: rgba(255, 255, 255, 0.04);
  --surface-2: rgba(255, 255, 255, 0.06);
  --surface-3: rgba(255, 255, 255, 0.085);
}

/* Coworking: escala tipográfica homogénea (misma jerarquía en todas las secciones) */
body.coworking-page {
  --cw-hero-title: clamp(4rem, 7.5vw, 6.25rem);
  --cw-hero-lead: clamp(1.7rem, 3.1vw, 2.25rem);
  --cw-h2: clamp(2.85rem, 4.5vw, 3.65rem);
  --cw-lead: 1.75rem;
  --cw-body: 1.5rem;
  --cw-card-title: 2rem;
  --cw-ui: 1.4rem;
}

/* Modo día manual */
body.home-page.theme-day,
body.coworking-page.theme-day {
  background: radial-gradient(980px 560px at 14% -15%, rgba(233, 236, 239, 0.88), transparent 60%),
    linear-gradient(160deg, #fbfaf8 0%, #f4f2ef 55%, #e9ecef 100%) !important;
  color: var(--text-day);
  --text: var(--text-day);
  --muted: rgba(20, 24, 36, 0.78);
  --border: rgba(20, 24, 36, 0.18);
  --shadow: 0 12px 30px rgba(20, 24, 36, 0.16);
  --section-dark: #fbfaf8;
  --section-clear: #e9ecef;
}
body.home-page.theme-day .site-nav a,
body.coworking-page.theme-day .site-nav a {
  color: rgba(20, 24, 36, 0.82);
}
body.home-page.theme-day .site-nav a:hover,
body.coworking-page.theme-day .site-nav a:hover {
  color: var(--text-day);
  background: rgba(20, 24, 36, 0.08);
}
body.home-page.theme-day .icon-btn,
body.coworking-page.theme-day .icon-btn {
  color: var(--text-day);
  background: rgba(20, 24, 36, 0.06);
  border-color: rgba(20, 24, 36, 0.22);
}

/* Secciones: alternancia y separación clara entre bloques */
body.home-page .section {
  padding: 56px 0;
}

/* Servicios a pantalla completa (similar al hero) */
body.home-page #servicios.section {
  min-height: 100svh;
  display: grid;
  align-items: center;
}
body.home-page #metodo.section {
  min-height: auto;
  display: block;
  padding-top: 24px;
  padding-bottom: 24px;
}

body.home-page #analisis-web.section {
  min-height: auto;
  display: block;
  padding: 48px 0;
  scroll-margin-top: 96px;
}

/* Fondo de la sección: mismo criterio que Servicios/Método (no negro plano #000) */
body.home-page.theme-day #analisis-web.section {
  background: var(--warm-bg) !important;
}
body.home-page:not(.theme-day) #analisis-web.section {
  background: transparent !important;
}
body.home-page.theme-day #analisis-web.section:hover {
  background: var(--warm-bg) !important;
}
body.home-page:not(.theme-day) #analisis-web.section:hover {
  background: transparent !important;
}

/* Bloque “Análisis web gratuito”: panel alineado con tarjetas / tono TOPE */
body.home-page .home-free-audit-panel {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.22);
}

body.home-page .home-free-audit-panel__glow {
  pointer-events: none;
  position: absolute;
  top: -45%;
  right: -12%;
  width: 52%;
  height: 130%;
  background: radial-gradient(circle, rgba(255, 132, 0, 0.2), transparent 68%);
  opacity: 0.95;
}

body.home-page .home-free-audit-panel__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.15rem;
  padding: 1.45rem 1.25rem;
  align-items: start;
}

@media (min-width: 640px) {
  body.home-page .home-free-audit-panel__inner {
    grid-template-columns: auto 1fr;
    gap: 1.35rem 1.6rem;
    padding: 1.55rem 1.65rem;
  }
}

body.home-page .home-free-audit-panel__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.65rem;
  height: 3.65rem;
  border-radius: 14px;
  flex-shrink: 0;
  color: #ff8400;
  background: linear-gradient(145deg, rgba(255, 132, 0, 0.22), rgba(255, 132, 0, 0.06));
  border: 1px solid rgba(255, 168, 74, 0.38);
  box-shadow: 0 6px 18px rgba(255, 120, 0, 0.12);
}

body.home-page .home-free-audit-panel__icon svg {
  width: 2rem;
  height: 2rem;
}

body.home-page .home-free-audit-panel__content {
  min-width: 0;
}

body.home-page #analisis-web .home-free-audit-head {
  margin-bottom: 0.75rem;
}

body.home-page #analisis-web .home-free-audit-head h2 {
  margin-top: 0;
}

body.home-page #analisis-web .home-free-audit-head p {
  margin-bottom: 0;
  max-width: 62ch;
}

body.home-page .home-free-audit-points {
  list-style: none;
  margin: 0 0 1.1rem;
  padding: 0;
  display: grid;
  gap: 0.45rem 1rem;
}

@media (min-width: 520px) {
  body.home-page .home-free-audit-points {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 960px) {
  body.home-page .home-free-audit-points {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

body.home-page .home-free-audit-points li {
  position: relative;
  margin: 0;
  padding-left: 1.2rem;
  font-size: clamp(1.05rem, 2.35vw, 1.2rem);
  line-height: 1.52;
  opacity: 0.94;
}

body.home-page .home-free-audit-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.52em;
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 50%;
  background: #ff8400;
  box-shadow: 0 0 0 2px rgba(255, 132, 0, 0.22);
}

body.home-page #analisis-web .home-free-audit-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.65rem;
  max-width: 62ch;
  margin-inline: auto;
  margin-top: 0.15rem;
}

@media (max-width: 520px) {
  body.home-page #analisis-web .home-free-audit-actions .btn.primary {
    width: 100%;
    justify-content: center;
  }
}

body.home-page.theme-day .home-free-audit-panel {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(248, 250, 252, 0.99));
  border: 1px solid rgba(20, 24, 36, 0.12);
}

body.home-page.theme-day #analisis-web .home-free-audit-head h2,
body.home-page.theme-day #analisis-web .home-free-audit-head p,
body.home-page.theme-day #analisis-web .home-free-audit-points li {
  color: var(--text-day);
}

body.home-page.theme-day .home-free-audit-panel__icon {
  color: #e06500;
  background: linear-gradient(145deg, rgba(255, 132, 0, 0.18), rgba(255, 132, 0, 0.05));
  border-color: rgba(224, 101, 0, 0.28);
}

body.home-page:not(.theme-day) .home-free-audit-panel {
  background: rgba(8, 22, 31, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

body.home-page:not(.theme-day) #analisis-web .home-free-audit-head h2,
body.home-page:not(.theme-day) #analisis-web .home-free-audit-head p,
body.home-page:not(.theme-day) #analisis-web .home-free-audit-points li {
  color: #f8fafc;
}

body.home-page:not(.theme-day) .home-free-audit-panel__icon {
  color: #ffb347;
  background: linear-gradient(145deg, rgba(255, 132, 0, 0.2), rgba(255, 132, 0, 0.05));
  border-color: rgba(255, 200, 120, 0.28);
}

@media (max-width: 920px) {
  body.home-page #servicios.section,
  body.home-page #analisis-web.section,
  body.home-page #metodo.section {
    min-height: auto;
    display: block;
    padding: 64px 0;
  }
}
body.home-page .section:hover,
body.home-page .section.section-alt:hover {
  border-top: 3px solid rgba(255, 132, 0, 0.55);
  border-bottom: 3px solid rgba(255, 132, 0, 0.55);
}

/* Bloques claros dentro de cada sección (título + lead) */
body.home-page .section-head {
  margin-bottom: 22px;
}
body.home-page .section-head h2 {
  letter-spacing: -0.015em;
}
body.home-page .section-head p {
  line-height: 1.75;
  max-width: 68ch;
}

/* Tarjetas y contenedores: menos “pesado” y más claro */
body.home-page .card,
body.home-page .price-card,
body.home-page .mini,
body.home-page .blog-card,
body.home-page .form,
body.home-page .contact-strip-inner {
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.22);
}

/* Servicios: suavizar el negro puro para que no “apague” el resto */
body.home-page .service-card {
  border-color: rgba(255, 255, 255, 0.14) !important;
}
body.home-page #servicios .service-card .card-icon {
  background: transparent !important;
  box-shadow: none !important;
  border-radius: 0;
  padding: 0;
}

body.home-page .service-card p {
  line-height: 1.7;
}

/* Modo día: tarjetas claras en la sección Servicios */
body.home-page.theme-day #servicios.section {
  background: var(--warm-bg) !important;
}
body.home-page.theme-day #servicios .section-head h2,
body.home-page.theme-day #servicios .section-head p {
  color: var(--text-day) !important;
}
body.home-page.theme-day #servicios .service-card {
  background: var(--warm-bg) !important;
  border-color: rgba(20, 24, 36, 0.2) !important;
}
body.home-page.theme-day #servicios .service-card h3 {
  color: var(--text-day) !important;
}
body.home-page.theme-day #servicios .service-card p {
  color: rgba(20, 24, 36, 0.82) !important;
}
body.home-page.theme-day #servicios .service-card .text-link {
  color: var(--text-day) !important;
}
body.home-page.theme-day #servicios .service-card .card-icon img {
  filter: brightness(0) saturate(100%) invert(46%) sepia(96%) saturate(2570%) hue-rotate(5deg) brightness(102%) contrast(103%) !important;
}

/* Modo noche: sección Servicios oscura */
body.home-page:not(.theme-day) #servicios.section {
  background: transparent !important;
}
body.home-page:not(.theme-day) #servicios .section-head h2,
body.home-page:not(.theme-day) #servicios .section-head p {
  color: #fbfaf8 !important;
}
body.home-page:not(.theme-day) #servicios .service-card {
  background: rgba(8, 22, 31, 0.78) !important;
  border-color: rgba(255, 255, 255, 0.2) !important;
}
body.home-page:not(.theme-day) #servicios .service-card h3 {
  color: #fbfaf8 !important;
}
body.home-page:not(.theme-day) #servicios .service-card p {
  color: #fbfaf8 !important;
}
body.home-page:not(.theme-day) #servicios .service-card .text-link {
  color: #fbfaf8 !important;
}

/* Modo día: sección "Nuestro método" clara */
body.home-page.theme-day #metodo.section {
  background: var(--warm-bg) !important;
}
body.home-page.theme-day #metodo .section-head h2,
body.home-page.theme-day #metodo .section-head p,
body.home-page.theme-day #metodo .step-body h3,
body.home-page.theme-day #metodo .step-body p,
body.home-page.theme-day #metodo .step-link {
  color: var(--text-day) !important;
}
body.home-page.theme-day #metodo .step-card {
  background: transparent;
  border-color: transparent;
  box-shadow: none;
}
body.home-page.theme-day #metodo .step-icon {
  color: #ff8400 !important;
}
/* Firmas: blanco en modo noche; texto oscuro en modo día (fondo claro) */
body.home-page.theme-day #metodo .step-card--strategy .strategy-author,
body.home-page.theme-day #metodo .step-card--design .design-author,
body.home-page.theme-day #metodo .step-card--dev .dev-author,
body.home-page.theme-day #metodo .step-card--support .support-author {
  color: var(--text-day) !important;
}

/* Modo noche: sección Método oscura */
body.home-page:not(.theme-day) #metodo.section {
  background: transparent !important;
}
body.home-page:not(.theme-day) #metodo .section-head h2,
body.home-page:not(.theme-day) #metodo .section-head p,
body.home-page:not(.theme-day) #metodo .step-body h3,
body.home-page:not(.theme-day) #metodo .step-body p,
body.home-page:not(.theme-day) #metodo .step-link {
  color: #fbfaf8 !important;
}
body.home-page:not(.theme-day) #metodo .step-card {
  background: transparent;
  border-color: transparent;
  box-shadow: none;
}
body.home-page:not(.theme-day) #metodo .step-icon {
  color: #ff9c3d !important;
}

/* Método: reducir espacio real del bloque imagen (no solo visual) */
body.home-page #metodo :is(.strategy-col--media img, .design-col--media img, .dev-col--media img, .support-col--media img) {
  max-width: 440px !important;
  height: auto !important;
  transform: none !important;
  margin: 0 auto !important;
}
/* Excepción: slide de estrategia (img/3) más grande */
body.home-page #metodo .step-card--strategy .strategy-col--media img {
  width: 86% !important;
  max-width: 620px !important;
}
body.home-page #metodo :is(.step-card--design .design-col--media img, .step-card--dev .dev-col--media img, .step-card--support .support-col--media img) {
  width: 76% !important;
  max-width: 520px !important;
}
body.home-page #metodo :is(.strategy-col--media, .design-col--media, .dev-col--media, .support-col--media) {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}
body.home-page #metodo :is(.strategy-col--media img, .design-col--media img, .dev-col--media img, .support-col--media img) {
  height: 100% !important;
  object-fit: contain;
}

@media (max-width: 768px) {
  body.home-page #metodo :is(.strategy-col--media img, .design-col--media img, .dev-col--media img, .support-col--media img) {
    width: 72% !important;
    max-width: 270px !important;
  }
}

/* Modo día: sección "Planes" clara */
body.home-page.theme-day #planes.section {
  background: var(--warm-bg) !important;
}
body.home-page.theme-day #planes .section-head h2,
body.home-page.theme-day #planes .section-head p,
body.home-page.theme-day #planes .price-card h3,
body.home-page.theme-day #planes .price-card ul,
body.home-page.theme-day #planes .price-card li {
  color: var(--text-day) !important;
}
body.home-page.theme-day #planes .price-card {
  background: rgba(255, 255, 255, 0.74) !important;
  border-color: rgba(20, 24, 36, 0.2) !important;
  box-shadow: 0 14px 30px rgba(20, 24, 36, 0.14);
}
body.home-page.theme-day #planes .price-card.featured {
  background: rgba(255, 255, 255, 0.82) !important;
  border-color: rgba(255, 132, 0, 0.5) !important;
}
body.home-page.theme-day #planes .price-card.marketing-pack {
  background: linear-gradient(180deg, rgba(255, 132, 0, 0.18), rgba(255, 255, 255, 0.9)) !important;
  border-color: rgba(255, 132, 0, 0.85) !important;
  box-shadow: 0 16px 34px rgba(255, 132, 0, 0.24);
}
body.home-page.theme-day #planes .price-card.marketing-pack h3 {
  color: #b14f00 !important;
}

/* Modo día: sección Blog clara y legible */
body.home-page.theme-day #blog.section {
  background: var(--warm-bg) !important;
}
body.home-page.theme-day #blog .section-head h2,
body.home-page.theme-day #blog .section-head p,
body.home-page.theme-day #blog p {
  color: var(--text-day) !important;
}
body.home-page.theme-day #blog .btn {
  background: rgba(20, 24, 36, 0.08);
  color: var(--text-day) !important;
  border-color: rgba(20, 24, 36, 0.22);
}
body.home-page.theme-day #blog .btn:hover {
  background: rgba(20, 24, 36, 0.14);
}

/* Modo noche: sección Planes oscura */
body.home-page:not(.theme-day) #planes.section {
  background: transparent !important;
}
body.home-page:not(.theme-day) #planes .section-head h2,
body.home-page:not(.theme-day) #planes .section-head p,
body.home-page:not(.theme-day) #planes .price-card h3,
body.home-page:not(.theme-day) #planes .price-card ul,
body.home-page:not(.theme-day) #planes .price-card li {
  color: #fbfaf8 !important;
}
body.home-page:not(.theme-day) #planes .price-card {
  background: rgba(8, 22, 31, 0.76) !important;
  border-color: rgba(255, 255, 255, 0.22) !important;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.3);
}
body.home-page:not(.theme-day) #planes .price-card.featured {
  border-color: rgba(255, 156, 61, 0.65) !important;
}
body.home-page:not(.theme-day) #planes .price-card.marketing-pack {
  background: linear-gradient(180deg, rgba(255, 132, 0, 0.2), rgba(8, 22, 31, 0.86)) !important;
  border-color: rgba(255, 156, 61, 0.95) !important;
  box-shadow: 0 18px 36px rgba(255, 132, 0, 0.26);
}
body.home-page:not(.theme-day) #planes .price-card.marketing-pack h3 {
  color: #ffd7b0 !important;
}

/* Planes: listas más respirables */
body.home-page .price-card ul {
  line-height: 1.8;
  list-style: none;
  padding-left: 0;
}
body.home-page .price-card ul li {
  position: relative;
  padding-left: 1.45em;
  margin-bottom: 6px;
}
body.home-page .price-card ul li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  top: 0.5em;
  color: #ff8400;
  font-weight: 800;
  line-height: 1;
}

/* Banda parallax: overlay más claro para no “ensuciar” el scroll */
body.home-page .parallax-band::before {
  background: radial-gradient(circle at 50% 40%, rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.55));
}

/* Legales: lectura */
body.home-page .legal-content {
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.8;
}
body.home-page .legal-content p {
  line-height: 1.85;
}

/* Header: menos negro puro, mejor separación */
body.home-page .site-header,
body.home-page .site-header.is-elevated,
body.coworking-page .site-header,
body.coworking-page .site-header.is-elevated {
  background: rgba(7, 10, 15, 0.82) !important;
  border-bottom-color: #ff8400 !important;
  backdrop-filter: blur(10px);
}
body.home-page:not(.header-fixed) .site-header.is-elevated,
body.coworking-page:not(.header-fixed) .site-header.is-elevated {
  background: rgba(7, 10, 15, 0.88) !important;
}
body.home-page .site-nav a,
body.coworking-page .site-nav a {
  color: rgba(255, 255, 255, 0.78);
}
body.home-page .site-nav a:hover,
body.coworking-page .site-nav a:hover {
  color: rgba(255, 255, 255, 0.94);
  background: rgba(255, 255, 255, 0.07);
}
body.home-page .icon-btn,
body.coworking-page .icon-btn {
  background: rgba(255, 255, 255, 0.06);
}
body.home-page .icon-btn:hover,
body.home-page .icon-btn:focus-visible,
body.coworking-page .icon-btn:hover,
body.coworking-page .icon-btn:focus-visible {
  background: rgba(255, 255, 255, 0.1);
}

/* Footer: mantener identidad, pero más ligero */
body.home-page .site-footer,
body.coworking-page .site-footer {
  background: rgba(7, 10, 15, 0.82) !important;
  border-top-color: rgba(255, 255, 255, 0.1);
}
body.home-page .site-footer::before,
body.coworking-page .site-footer::before {
  opacity: 0.22;
  filter: blur(140px);
}
body.home-page .footer-copy,
body.home-page .footer-contact p,
body.home-page .footer-nav a,
body.home-page .footer-social a,
body.coworking-page .footer-copy,
body.coworking-page .footer-contact p,
body.coworking-page .footer-nav a,
body.coworking-page .footer-social a {
  color: rgba(255, 255, 255, 0.74);
}
body.home-page .footer-nav p,
body.home-page .footer-contact p:first-child,
body.home-page .footer-social p,
body.coworking-page .footer-nav p,
body.coworking-page .footer-contact p:first-child,
body.coworking-page .footer-social p {
  color: rgba(255, 255, 255, 0.92);
}
body.home-page .footer-top,
body.coworking-page .footer-top {
  border-bottom-color: rgba(255, 255, 255, 0.12);
}
body.home-page .footer-legal a,
body.coworking-page .footer-legal a {
  color: rgba(255, 255, 255, 0.62);
}

/* Home - modo día: header y footer idénticos */
body.home-page.theme-day .site-header,
body.home-page.theme-day .site-header.is-elevated,
body.home-page.theme-day .site-footer,
body.coworking-page.theme-day .site-header,
body.coworking-page.theme-day .site-header.is-elevated,
body.coworking-page.theme-day .site-footer {
  background: rgba(251, 250, 248, 0.92) !important;
}
body.home-page.theme-day .site-footer,
body.coworking-page.theme-day .site-footer {
  border-top-color: rgba(20, 24, 36, 0.14);
}
body.home-page.theme-day .footer-copy,
body.home-page.theme-day .footer-contact p,
body.home-page.theme-day .footer-nav a,
body.home-page.theme-day .footer-social a,
body.home-page.theme-day .footer-nav p,
body.home-page.theme-day .footer-contact p:first-child,
body.home-page.theme-day .footer-social p,
body.home-page.theme-day .footer-legal a,
body.coworking-page.theme-day .footer-copy,
body.coworking-page.theme-day .footer-contact p,
body.coworking-page.theme-day .footer-nav a,
body.coworking-page.theme-day .footer-social a,
body.coworking-page.theme-day .footer-nav p,
body.coworking-page.theme-day .footer-contact p:first-child,
body.coworking-page.theme-day .footer-social p,
body.coworking-page.theme-day .footer-legal a {
  color: rgba(20, 24, 36, 0.82);
}
body.home-page.theme-day .footer-address,
body.coworking-page.theme-day .footer-address {
  color: rgba(20, 24, 36, 0.9) !important;
}
body.home-page.theme-day .brand-logo,
body.home-page.theme-day .footer-logo,
body.coworking-page.theme-day .footer-logo {
  filter: none !important;
}

/* Coworking: marca TOPE working (PNG a color; sin filtro) */
body.coworking-page .site-header .brand-logo--coworking-nav,
body.coworking-page.theme-day .site-header .brand-logo--coworking-nav {
  filter: none;
  height: 110px;
}

/* Coworking: hero a pantalla completa (imagen optimizada WebP + JPG) */
body.coworking-page .coworking-hero-fullscreen {
  position: relative;
  isolation: isolate;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
body.coworking-page .coworking-hero-fullscreen__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
body.coworking-page .coworking-hero-fullscreen__media picture,
body.coworking-page .coworking-hero-fullscreen__media img {
  width: 100%;
  height: 100%;
  display: block;
}
body.coworking-page .coworking-hero-fullscreen__media img {
  object-fit: cover;
  object-position: center 38%;
}
body.coworking-page .coworking-hero-fullscreen__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    to top,
    rgba(4, 8, 16, 0.94) 0%,
    rgba(4, 8, 16, 0.5) 45%,
    rgba(4, 8, 16, 0.22) 100%
  );
}
body.coworking-page .coworking-hero-fullscreen__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-top: clamp(6rem, 13vh, 9rem);
  padding-bottom: clamp(5rem, 12vh, 8rem);
  max-width: 68rem;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}
body.coworking-page .coworking-hero-fullscreen__title {
  margin: 0 0 0.75rem;
  font-size: var(--cw-hero-title);
  font-weight: 800;
  line-height: 1.12;
  color: #fbfaf8;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.45);
}
body.coworking-page .coworking-hero-fullscreen__lead {
  margin: 0 0 1.75rem;
  font-size: var(--cw-hero-lead);
  line-height: 1.5;
  color: rgba(251, 250, 248, 0.9);
  text-shadow: 0 1px 16px rgba(0, 0, 0, 0.4);
  max-width: 54rem;
  margin-left: auto;
  margin-right: auto;
}
body.coworking-page .coworking-hero-fullscreen__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px 14px;
}
body.coworking-page .coworking-hero-fullscreen__actions .btn {
  font-size: var(--cw-ui);
  padding: 14px 24px;
}
body.coworking-page .coworking-hero-fullscreen__btn-outline {
  border-color: rgba(255, 255, 255, 0.88) !important;
  color: #fbfaf8 !important;
  background: transparent !important;
}
body.coworking-page .coworking-hero-fullscreen__btn-outline:hover,
body.coworking-page .coworking-hero-fullscreen__btn-outline:focus-visible {
  background: rgba(255, 255, 255, 0.12) !important;
  color: #fff !important;
}
body.coworking-page .coworking-section,
body.coworking-page .coworking-tariff {
  background: #ffffff !important;
  border-top: 0;
  border-bottom: 0;
  padding-top: clamp(3.5rem, 8vw, 6rem);
  padding-bottom: clamp(3.5rem, 8vw, 6rem);
}
body.coworking-page .coworking-section:hover,
body.coworking-page .coworking-section.section-alt:hover,
body.coworking-page .coworking-tariff:hover {
  background: #ffffff !important;
  border-top: 0 solid transparent;
  border-bottom: 0 solid transparent;
}
body.coworking-page .coworking-office-title {
  margin: 0 0 clamp(2rem, 5vw, 3rem);
  text-align: center;
  font-size: var(--cw-h2);
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #0f172a;
}
body.coworking-page .coworking-office-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 3vw, 2.5rem);
  align-items: stretch;
}
body.coworking-page .coworking-office-copy {
  display: grid;
  align-content: start;
  gap: 1.25rem;
}
body.coworking-page .coworking-office-lead {
  margin: 0;
  font-size: var(--cw-lead);
  line-height: 1.55;
  color: #334155;
}
body.coworking-page .coworking-tariff .section-head h2 {
  color: #0f172a;
}
body.coworking-page .coworking-tariff .section-head p {
  color: #475569;
  font-size: var(--cw-lead);
  line-height: 1.55;
}
body.coworking-page .coworking-tariff__head {
  text-align: center;
  max-width: 52rem;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}
body.coworking-page .coworking-tariff__head h2 {
  font-size: var(--cw-h2);
  line-height: 1.2;
  letter-spacing: -0.02em;
}
@media (min-width: 960px) {
  body.coworking-page #coworking-tariff-heading {
    white-space: nowrap;
  }
}
body.coworking-page .coworking-tariff__head p {
  font-size: var(--cw-lead);
  line-height: 1.55;
}
body.coworking-page .coworking-tariff__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.25rem, 2.5vw, 2rem);
  align-items: stretch;
  padding-top: clamp(1.75rem, 3vw, 2.5rem);
}
body.coworking-page .coworking-price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding-top: clamp(2.35rem, 4vw, 3.1rem);
}
body.coworking-page .coworking-price-card__shell {
  flex: 1;
  display: flex;
  flex-direction: column;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 14px 40px rgba(15, 23, 42, 0.12), 0 4px 12px rgba(15, 23, 42, 0.06);
}
body.coworking-page .coworking-price-card__badge {
  position: absolute;
  top: clamp(2.35rem, 4vw, 3.1rem);
  right: clamp(0.75rem, 2vw, 1.25rem);
  transform: translateY(-50%);
  z-index: 2;
  width: clamp(5rem, 13vw, 6.25rem);
  height: clamp(5rem, 13vw, 6.25rem);
  border-radius: 50%;
  background: var(--primary-color);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-weight: 800;
  font-size: var(--cw-ui);
  line-height: 1.2;
  padding: 0.35rem;
  box-shadow: 0 10px 28px rgba(255, 132, 0, 0.38);
}
body.coworking-page .coworking-price-card__head {
  background: var(--primary-color);
  color: #ffffff;
  padding: 1.15rem 1rem 1.35rem;
  text-align: center;
}
body.coworking-page .coworking-price-card__head h3 {
  margin: 0;
  font-size: var(--cw-card-title);
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1.25;
}
body.coworking-page .coworking-price-card__body {
  flex: 1;
  padding: 1.35rem 1.25rem 1.6rem;
  background: linear-gradient(180deg, rgba(255, 132, 0, 0.12) 0%, rgba(255, 248, 240, 0.65) 35%, #ffffff 78%);
}
body.coworking-page .coworking-price-card__list {
  margin: 0;
  padding-left: 1.2rem;
  color: #334155;
  font-size: var(--cw-body);
  line-height: 1.55;
}
body.coworking-page .coworking-price-card__list li {
  margin-bottom: 0.45rem;
}
body.coworking-page .coworking-price-card__list li:last-child {
  margin-bottom: 0;
}
body.coworking-page .coworking-tariff__cta {
  display: flex;
  justify-content: center;
  margin-top: clamp(2.25rem, 4vw, 3.25rem);
}
body.coworking-page .coworking-tariff__cta-btn {
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: var(--cw-ui) !important;
  padding: 16px 32px !important;
}
body.coworking-page .coworking-reserve {
  background:
    linear-gradient(rgba(7, 10, 15, 0.62), rgba(7, 10, 15, 0.62)),
    url("../../img/oficina-reunion.jpg") center center / cover no-repeat !important;
}
body.coworking-page .coworking-reserve:hover,
body.coworking-page .coworking-reserve.section-alt:hover {
  background:
    linear-gradient(rgba(7, 10, 15, 0.62), rgba(7, 10, 15, 0.62)),
    url("../../img/oficina-reunion.jpg") center center / cover no-repeat !important;
  border-top: 0 solid transparent;
  border-bottom: 0 solid transparent;
}
body.coworking-page .coworking-reserve .section-head h2,
body.coworking-page .coworking-reserve .section-head p {
  color: #f8fafc;
}
body.coworking-page .coworking-reserve__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 3vw, 2.75rem);
  align-items: stretch;
}
body.coworking-page .coworking-reserve__col {
  display: flex;
  flex-direction: column;
}
body.coworking-page .coworking-reserve__form {
  background: #f8fafc !important;
  border: 1px solid rgba(15, 23, 42, 0.12) !important;
  box-shadow: 0 10px 36px rgba(15, 23, 42, 0.06);
  height: 100%;
}
body.coworking-page .coworking-reserve__inline-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}
body.coworking-page .coworking-reserve__form .field > span:first-child,
body.coworking-page .coworking-reserve__form label.field > span {
  font-size: var(--cw-body);
  color: #334155 !important;
}
body.coworking-page .coworking-reserve__form input,
body.coworking-page .coworking-reserve__form textarea {
  font-size: var(--cw-body);
  background: #ffffff !important;
  color: #0f172a !important;
  border: 1px solid rgba(15, 23, 42, 0.16) !important;
}
body.coworking-page .coworking-reserve__form input:focus,
body.coworking-page .coworking-reserve__form textarea:focus {
  border-color: rgba(255, 132, 0, 0.55) !important;
  box-shadow: 0 0 0 4px rgba(255, 132, 0, 0.12) !important;
}
body.coworking-page .coworking-reserve__form .privacy-check span {
  font-size: var(--cw-body);
  line-height: 1.5;
  color: #475569 !important;
}
body.coworking-page .coworking-reserve__form .privacy-check a {
  color: #c65a00;
}
body.coworking-page .coworking-reserve__form .input-icon {
  color: #64748b;
}
body.coworking-page .coworking-reserve__form .send-btn {
  font-size: var(--cw-ui);
}
body.coworking-page .coworking-reserve__form .form-confirmation-text {
  font-size: var(--cw-body);
}
body.coworking-page .coworking-reserve__map-title {
  margin: 0 0 0.5rem;
  font-size: var(--cw-card-title);
  line-height: 1.25;
  color: #f8fafc;
  text-align: left;
}
body.coworking-page .coworking-reserve__map-lead {
  margin: 0 0 1rem;
  text-align: left;
  font-size: var(--cw-lead);
  line-height: 1.55;
  color: rgba(248, 250, 252, 0.9) !important;
  max-width: none;
}
body.coworking-page .coworking-reserve__map-frame {
  margin-top: 0;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 14px 40px rgba(15, 23, 42, 0.1);
  min-height: 280px;
  flex: 1;
}
body.coworking-page .coworking-reserve__map-frame iframe {
  display: block;
  width: 100%;
  min-height: 100%;
  height: 100%;
}
@media (max-width: 920px) {
  body.coworking-page .coworking-tariff__grid {
    grid-template-columns: 1fr;
    max-width: 26rem;
    margin-left: auto;
    margin-right: auto;
  }
  body.coworking-page .coworking-reserve__grid {
    grid-template-columns: 1fr;
  }
  body.coworking-page .coworking-reserve__inline-fields {
    grid-template-columns: 1fr;
  }
  body.coworking-page .coworking-reserve__map-frame iframe {
    min-height: 320px;
    height: 40vh;
  }
}
body.coworking-page .coworking-office-card {
  margin-top: 0.35rem;
  background: #ff8400;
  color: #ffffff;
  border-radius: 10px;
  padding: clamp(4rem, 3.5vw, 1.65rem);
  border: 1px solid rgba(255, 255, 255, 0.14);
}
body.coworking-page .coworking-office-card h3 {
  margin: 0 0 0.5rem;
  font-size: var(--cw-card-title);
  line-height: 1.25;
  font-weight: 800;
}
body.coworking-page .coworking-office-card p {
  margin: 0 0 0.95rem;
  font-size: var(--cw-body);
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.95);
}
body.coworking-page .coworking-office-card__btn {
  display: inline-block;
  background: #ffffff !important;
  color: #12161c !important;
  border-color: #ffffff !important;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: var(--cw-ui) !important;
}
body.coworking-page .coworking-office-media {
  margin: 0;
  border-radius: 14px;
  overflow: hidden;
  min-height: 100%;
}
body.coworking-page .coworking-office-media picture,
body.coworking-page .coworking-office-media img {
  width: 100%;
  height: 100%;
  display: block;
}
body.coworking-page .coworking-office-media img {
  object-fit: cover;
  object-position: center;
}
@media (max-width: 920px) {
  body.coworking-page .coworking-hero-fullscreen__media img {
    object-position: center 32%;
  }
  body.coworking-page .coworking-office-grid {
    grid-template-columns: 1fr;
  }
  body.coworking-page .coworking-office-copy {
    gap: 1rem;
  }
  body.coworking-page .coworking-office-media {
    min-height: 0;
    aspect-ratio: 3 / 2;
  }
}

/* Banner de cookies propio (sin CMP externo) */
.cookie-consent-banner[hidden] {
  display: none !important;
}
.cookie-consent-banner {
  position: fixed;
  z-index: 10050;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1rem 0 max(1rem, env(safe-area-inset-bottom));
  background: rgba(18, 22, 28, 0.96);
  color: rgba(255, 255, 255, 0.92);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.35);
}
.cookie-consent-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.25rem;
}
.cookie-consent-text {
  flex: 1 1 220px;
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.88);
}
.cookie-consent-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.cookie-consent-banner .btn.outline {
  border-color: rgba(255, 255, 255, 0.45);
  color: #fff;
}
.cookie-consent-banner .btn.outline:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.08);
}
.cookie-consent-more {
  flex: 1 1 100%;
  margin: 0;
  font-size: 0.8rem;
}
.cookie-consent-more a {
  color: #ff9f4a;
  text-decoration: underline;
}
.cookie-consent-more a:hover {
  color: #ffb574;
}

/* ============================================================
   ANÁLISIS WEB GRATUITO
   ============================================================ */

/* Contenido del análisis un poco más grande (formulario + resultados) */
body.audit-page #contenido {
  font-size: 1.075rem;
}

body.audit-page #contenido .microcopy {
  font-size: 1.06rem;
}

body.audit-page main .section-head h1 {
  font-size: clamp(2.2rem, 4.5vw, 3.35rem);
}

body.audit-page main .section-head .lead {
  font-size: clamp(1.2rem, 2.15vw, 1.55rem);
  line-height: 1.55;
}

body.audit-page .web-audit-form .label {
  font-size: 1.28rem;
}

body.audit-page .web-audit-form input[type="text"],
body.audit-page .web-audit-form input[type="email"] {
  font-size: 1.62rem;
  padding: 14px 14px;
}

body.audit-page .web-audit-form .privacy-check span {
  font-size: 1.32rem;
}

body.audit-page .web-audit-form .btn.primary {
  font-size: 1.52rem;
  padding: 14px 20px;
}

body.audit-page .web-audit-form .form-status {
  font-size: 1.1rem;
}

body.audit-page #auditResultsWrap .section-head h2 {
  font-size: clamp(2.15rem, 4.8vw, 3.35rem);
}

body.audit-page #auditResultsWrap .audit-cta-actions .btn.outline {
  font-size: 1.48rem;
  padding: 13px 18px;
}

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

.web-audit-form {
  max-width: 42rem;
  margin-top: 1.5rem;
}

/* Sin marco: anula el recuadro global de .form solo en el análisis web */
body.audit-page .form.web-audit-form {
  border: none;
  background: transparent;
  padding: 0;
  border-radius: 0;
  box-shadow: none;
  gap: 0.95rem;
}

body.audit-page .web-audit-form .field {
  gap: 0.45rem;
}

body.audit-page .web-audit-form .label {
  font-size: 1.02rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.9);
}

body.audit-page .web-audit-form input[type="text"],
body.audit-page .web-audit-form input[type="email"] {
  min-height: 3.35rem;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.03));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

body.audit-page .web-audit-form input[type="text"]::placeholder {
  color: rgba(255, 255, 255, 0.56);
}

body.audit-page .web-audit-form input[type="text"]:focus,
body.audit-page .web-audit-form input[type="email"]:focus {
  border-color: rgba(0, 193, 181, 0.78);
  box-shadow:
    0 0 0 3px rgba(0, 193, 181, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
  transform: translateY(-1px);
}

body.audit-page .web-audit-form .privacy-check {
  margin-top: 0.15rem;
  padding: 0;
  border-radius: 0;
  background: transparent;
  border: none;
}

body.audit-page .web-audit-form .privacy-check input[type="checkbox"] {
  width: 1.05rem;
  height: 1.05rem;
  margin-top: 0.2rem;
  accent-color: var(--secundary-color);
}

body.audit-page .web-audit-form .btn.primary {
  width: 100%;
  justify-content: center;
  border-radius: 14px;
  box-shadow: 0 10px 26px rgba(255, 132, 0, 0.32);
}

body.audit-page .web-audit-form .btn.primary:hover {
  box-shadow: 0 14px 30px rgba(255, 132, 0, 0.42);
}

.audit-fineprint {
  font-size: 0.92rem;
  opacity: 0.9;
}

.audit-deep-scope {
  margin-top: 0.35rem;
  font-size: 0.95rem;
  opacity: 0.92;
}

.audit-summary-lead {
  margin: 0 0 1.35rem;
  padding: 1rem 1.15rem;
  border-radius: 10px;
  border-left: 4px solid #f59e0b;
  background: rgba(245, 158, 11, 0.12);
  font-size: 1.08rem;
  line-height: 1.58;
  color: inherit;
}

[data-theme="dark"] .audit-summary-lead {
  background: rgba(245, 158, 11, 0.14);
  border-left-color: #fbbf24;
}

/* Resultados del análisis: tarjetas claras dentro de .section (fondo negro del sitio). */
#auditResultsWrap .audit-scoreboard,
#auditResultsWrap .audit-section-wrap {
  color: #0f172a;
}

/* Resumen lead: superficie clara legible (el ámbar al 12 % sobre negro no da contraste con texto oscuro). */
#auditResultsWrap .audit-summary-lead {
  color: #422006;
  background: #fffbeb;
  border: 1px solid rgba(217, 119, 6, 0.35);
  border-left: 4px solid #d97706;
}

#auditResultsWrap .audit-score-numeric,
#auditResultsWrap .audit-score-bar-label,
#auditResultsWrap .audit-section-summary {
  color: #0f172a;
}

#auditResultsWrap .audit-score-denom,
#auditResultsWrap .audit-score-tagline {
  color: #334155;
}

#auditResultsWrap .audit-item,
#auditResultsWrap .audit-item-implication {
  color: #1e293b;
}

#auditResultsWrap .audit-section-ring-label {
  color: #334155;
}

#auditResultsWrap .audit-score-grade-inline {
  color: #0f172a;
}

#auditResultsWrap #auditFinalUrl {
  color: rgba(255, 255, 255, 0.88);
}

[data-theme="dark"] #auditResultsWrap .audit-scoreboard,
[data-theme="dark"] #auditResultsWrap .audit-section-wrap {
  color: #f1f5f9;
}

[data-theme="dark"] #auditResultsWrap .audit-summary-lead {
  color: #fffbeb;
  background: rgba(55, 40, 28, 0.92);
  border: 1px solid rgba(251, 191, 36, 0.35);
  border-left: 4px solid #fbbf24;
}

[data-theme="dark"] #auditResultsWrap .audit-score-numeric,
[data-theme="dark"] #auditResultsWrap .audit-score-bar-label,
[data-theme="dark"] #auditResultsWrap .audit-section-summary {
  color: #f8fafc;
}

[data-theme="dark"] #auditResultsWrap .audit-score-denom,
[data-theme="dark"] #auditResultsWrap .audit-score-tagline {
  color: #cbd5e1;
}

[data-theme="dark"] #auditResultsWrap .audit-item,
[data-theme="dark"] #auditResultsWrap .audit-item-implication {
  color: #e2e8f0;
}

[data-theme="dark"] #auditResultsWrap .audit-section-ring-label {
  color: #cbd5e1;
}

[data-theme="dark"] #auditResultsWrap .audit-score-grade-inline {
  color: #f8fafc;
}

.audit-scoreboard {
  margin: 0 0 1.65rem;
  padding: 1.35rem 1.35rem 1.4rem;
  border-radius: 14px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.75), rgba(248, 250, 252, 0.9));
}

[data-theme="dark"] .audit-scoreboard {
  border-color: rgba(255, 255, 255, 0.1);
  background: linear-gradient(145deg, rgba(28, 32, 38, 0.92), rgba(22, 26, 32, 0.88));
}

.audit-scoreboard-inner {
  display: grid;
  gap: 1.4rem;
  grid-template-columns: minmax(0, 1fr);
}

/* Anillos arriba a todo el ancho; nota global y barras debajo (no columna izquierda) */
.audit-score-hero {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 1.15rem;
}

.audit-section-rings {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.65rem 0.35rem;
  width: 100%;
  max-width: 100%;
  align-items: start;
}

@media (max-width: 520px) {
  .audit-section-rings {
    gap: 0.5rem 0.25rem;
  }

  .audit-grade-ring--section {
    width: 3.1rem;
    height: 3.1rem;
    border-width: 2px;
  }

  .audit-section-rings .audit-grade-letter {
    font-size: 1rem;
  }

  .audit-section-ring-label {
    font-size: 0.65rem;
    line-height: 1.2;
    max-width: 100%;
  }
}

.audit-section-ring-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  min-width: 0;
}

.audit-grade-ring--section {
  width: 3.75rem;
  height: 3.75rem;
  border-width: 3px;
}

.audit-section-rings .audit-grade-letter {
  font-size: 1.18rem;
}

.audit-section-ring-label {
  font-size: 0.76rem;
  font-weight: 600;
  line-height: 1.28;
  text-align: center;
  max-width: 7.25rem;
  hyphens: auto;
  overflow-wrap: anywhere;
}

.audit-score-grade-inline {
  margin-left: 0.45rem;
  font-size: 1.38rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  opacity: 0.95;
}

.audit-grade-ring {
  flex-shrink: 0;
  width: 5.65rem;
  height: 5.65rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 4px solid #cbd5e1;
  background: rgba(255, 255, 255, 0.6);
}

.audit-grade-ring--high {
  border-color: #22c55e;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.2);
}

.audit-grade-ring--mid {
  border-color: #f59e0b;
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.2);
}

.audit-grade-ring--low {
  border-color: #ef4444;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.2);
}

[data-theme="dark"] .audit-grade-ring {
  background: rgba(22, 26, 32, 0.6);
  border-color: rgba(148, 163, 184, 0.45);
}

.audit-grade-letter {
  font-size: 2.15rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
}

.audit-grade-ring--high .audit-grade-letter {
  color: #15803d;
}

.audit-grade-ring--mid .audit-grade-letter {
  color: #b45309;
}

.audit-grade-ring--low .audit-grade-letter {
  color: #b91c1c;
}

[data-theme="dark"] .audit-grade-ring--high .audit-grade-letter {
  color: #4ade80;
}

[data-theme="dark"] .audit-grade-ring--mid .audit-grade-letter {
  color: #fbbf24;
}

[data-theme="dark"] .audit-grade-ring--low .audit-grade-letter {
  color: #f87171;
}

.audit-score-hero-text {
  min-width: 0;
  width: 100%;
  text-align: center;
}

.audit-score-numeric {
  margin: 0 0 0.4rem;
  font-size: 1.52rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.audit-score-denom {
  font-size: 1.05rem;
  font-weight: 600;
  opacity: 0.65;
  margin-left: 0.15rem;
}

.audit-score-tagline {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.55;
  opacity: 0.92;
}

.audit-score-bars {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
}

.audit-score-bar-row {
  display: grid;
  gap: 0.35rem;
  width: 100%;
  max-width: min(32rem, 100%);
  margin-left: auto;
  margin-right: auto;
}

.audit-score-bar-label {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem;
  font-size: 0.98rem;
}

.audit-score-bar-title {
  font-weight: 600;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.audit-score-bar-grade {
  flex-shrink: 0;
  font-weight: 800;
  font-size: 0.95rem;
  opacity: 0.85;
}

.audit-score-bar-track {
  height: 0.62rem;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.08);
  overflow: hidden;
}

[data-theme="dark"] .audit-score-bar-track {
  background: rgba(255, 255, 255, 0.1);
}

.audit-score-bar-fill {
  height: 100%;
  border-radius: 999px;
  transition: width 0.35s ease;
}

.audit-score-bar-fill--high {
  background: linear-gradient(90deg, #22c55e, #4ade80);
}

.audit-score-bar-fill--mid {
  background: linear-gradient(90deg, #f59e0b, #fbbf24);
}

.audit-score-bar-fill--low {
  background: linear-gradient(90deg, #ef4444, #f87171);
}

.audit-results {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.audit-section-wrap {
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: rgba(255, 255, 255, 0.55);
  overflow: hidden;
}

[data-theme="dark"] .audit-section-wrap {
  border-color: rgba(255, 255, 255, 0.1);
  background: rgba(22, 26, 32, 0.55);
}

.audit-section-summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.95rem 1.1rem;
  font-size: 1.14rem;
  font-weight: 700;
}

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

.audit-section-summary::marker {
  content: "";
}

.audit-section-summary-title {
  min-width: 0;
}

.audit-section-summary-badge {
  flex-shrink: 0;
  min-width: 1.65rem;
  padding: 0.18rem 0.5rem;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 700;
  text-align: center;
  background: rgba(245, 158, 11, 0.2);
  color: inherit;
}

[data-theme="dark"] .audit-section-summary-badge {
  background: rgba(251, 191, 36, 0.18);
}

.audit-section-body {
  padding: 0 1.1rem 1.1rem;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

[data-theme="dark"] .audit-section-body {
  border-top-color: rgba(255, 255, 255, 0.08);
}

.audit-section {
  padding: 1.35rem 1.45rem;
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: rgba(255, 255, 255, 0.55);
}

[data-theme="dark"] .audit-section {
  border-color: rgba(255, 255, 255, 0.1);
  background: rgba(22, 26, 32, 0.55);
}

.audit-section-title {
  margin: 0 0 1rem;
  font-size: 1.2rem;
  font-weight: 700;
}

.audit-item {
  padding: 0.95rem 0;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

[data-theme="dark"] .audit-item {
  border-top-color: rgba(255, 255, 255, 0.08);
}

.audit-item:first-of-type {
  border-top: 0;
  padding-top: 0;
}

.audit-item-text {
  margin: 0 0 0.55rem;
  font-size: 1.02rem;
  line-height: 1.58;
}

.audit-item-implication {
  font-size: 1rem;
  line-height: 1.52;
  opacity: 0.92;
}

.audit-item-implication p {
  margin: 0;
}

.audit-item--ok .audit-item-text {
  border-left: 3px solid #22c55e;
  padding-left: 0.65rem;
}

.audit-item--warn .audit-item-text {
  border-left: 3px solid #f59e0b;
  padding-left: 0.65rem;
}

.audit-item--bad .audit-item-text {
  border-left: 3px solid #ef4444;
  padding-left: 0.65rem;
}

.audit-upsell {
  margin-top: 1.75rem;
  padding: 1.25rem 1.35rem 1.35rem;
  border-radius: 14px;
  border: 1px solid rgba(255, 132, 0, 0.35);
  background: linear-gradient(155deg, rgba(255, 132, 0, 0.12) 0%, rgba(0, 193, 181, 0.08) 100%);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.22);
}

.audit-upsell__title {
  margin: 0 0 0.65rem;
  font-size: clamp(1.35rem, 2.8vw, 1.65rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: rgba(255, 255, 255, 0.96);
}

.audit-upsell__body {
  margin: 0 0 1.1rem;
  font-size: 1.05rem;
  line-height: 1.58;
  color: rgba(255, 255, 255, 0.86);
  max-width: 52rem;
}

.audit-upsell__actions {
  margin: 0;
}

.audit-upsell__actions .btn.primary {
  font-size: 1.48rem;
  padding: 13px 20px;
}

[data-theme="dark"] .audit-upsell {
  border-color: rgba(255, 180, 100, 0.38);
  background: linear-gradient(155deg, rgba(255, 132, 0, 0.14) 0%, rgba(0, 193, 181, 0.1) 100%);
}

.audit-cta-block {
  margin-top: 2.15rem;
}

.audit-cache-note {
  margin: 0 0 0.8rem;
  font-size: 1rem;
}

.audit-cta-lead {
  margin: 0 0 1.1rem;
  font-size: 1.05rem;
  line-height: 1.58;
  max-width: 42rem;
}

.audit-cta-actions {
  margin: 0;
}

.audit-screenshots-wrap {
  margin: 0 0 1.35rem;
}

.audit-screenshots-error {
  margin: 0 0 0.85rem;
  white-space: pre-wrap;
  word-break: break-word;
  color: rgba(255, 200, 160, 0.95);
}

.audit-screenshots {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  justify-items: center;
}

@media (min-width: 900px) {
  .audit-screenshots {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.42fr);
    align-items: start;
    gap: 1.25rem;
  }
}

.audit-screenshot {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0;
  width: 100%;
}

.audit-screenshot-cap {
  margin: 0 0 0.65rem;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.88);
  text-align: center;
  width: 100%;
}

/* Misma anchura máxima que el mockup para centrar el título encima de la imagen */
.audit-screenshot--desktop .audit-screenshot-cap {
  max-width: 560px;
}

.audit-screenshot--mobile .audit-screenshot-cap {
  max-width: 180px;
}

.audit-screenshot-frame {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: linear-gradient(180deg, #141a22 0%, #090d13 100%);
  line-height: 0;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.34);
}

.audit-screenshot-frame img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  object-position: top center;
  max-height: 380px;
}

.audit-screenshot-frame--laptop {
  max-width: 560px;
  margin: 0 auto;
  padding: 14px 14px 26px;
  border-radius: 16px;
  position: relative;
}

.audit-screenshot-frame--laptop::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 8px;
  transform: translateX(-50%);
  width: 78%;
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
}

.audit-screenshot-frame--laptop img {
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  max-height: 280px;
}

.audit-screenshot--mobile {
  max-width: 220px;
  margin-left: auto;
  margin-right: auto;
}

.audit-screenshot-frame--phone {
  max-width: 180px;
  margin: 0 auto;
  padding: 12px 10px 16px;
  border-radius: 28px;
  position: relative;
}

.audit-screenshot-frame--phone::before {
  content: "";
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 42px;
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
}

.audit-screenshot-frame--phone img {
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  max-height: 320px;
}

@media (max-width: 899px) {
  .audit-screenshot-frame--laptop {
    max-width: 440px;
  }
  .audit-screenshot--desktop .audit-screenshot-cap {
    max-width: 440px;
  }
  .audit-screenshot--mobile {
    max-width: 200px;
  }
  .audit-screenshot-frame--phone {
    max-width: 165px;
  }
  .audit-screenshot--mobile .audit-screenshot-cap {
    max-width: 165px;
  }
}

#auditFinalUrl {
  word-break: break-all;
}
