:root {
  --white-page: #ffffff;
  --primary-color: #ff8400;
  --secundary-color: #00c1b5;
  --tertiary-color: #ff8400;
  --quaternary-color: #ff58a6;
  --section-dark: #070A0F;
  --section-clear: #323d49;
  --detalle-strong: rgb(65, 65, 65);
  --section-blog: #b8c0c9;

  --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;

  /* Escala de texto accesibilidad (JS la modifica 0.9 | 1 | 1.15 | 1.25) */
  --a11y-text-scale: 1;
}

* {
  box-sizing: border-box;
}

html {
  font-size: calc(62.5% * var(--a11y-text-scale, 1));
  font-family: "Nunito", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: radial-gradient(1200px 700px at 15% -10%, rgba(255, 132, 0, 0.36), transparent 60%),
    radial-gradient(900px 600px at 100% 10%, rgba(0, 193, 181, 0.34), transparent 55%),
    radial-gradient(900px 600px at 60% 110%, rgba(255, 88, 166, 0.26), transparent 55%),
    var(--section-dark);
  color: var(--text);
}

/* En la home principal (index) el fondo del body es negro sólido */
body {
  background: #000000;
}

/* Header oculto al estar arriba; al hacer scroll baja y se muestra */
body.at-top .site-header {
  opacity: 0;
  pointer-events: none;
  transform: translateY(-100%);
  visibility: hidden;
}

body.header-fixed .site-header {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
  visibility: visible;
}

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;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid transparent;
  background: rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(10px);
  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: rgba(0, 0, 0, 0.45);
  border-bottom-color: var(--border);
}

/* Header negro completo */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid transparent;
  background: #000000 !important;
  border-bottom-color: #000000;
  backdrop-filter: none;
}
.site-header.is-elevated {
  background: #000000 !important;
  border-bottom-color: #000000;
  backdrop-filter: none;
}

/* Eliminadas variantes de header específicas de pruebas: solo usamos header negro global */

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 0;
  transition: padding 220ms ease;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: inherit;
}
.brand-logo {
  width: 80px;
  height: 80px;
  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;
}
.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;
}
.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.4rem;
  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 ===== */
.site-header {
  display: flex;
  flex-direction: column;
  align-items: stretch;
}
.a11y-panel[hidden] {
  display: none !important;
}
.a11y-panel {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 25;
  background: #0d0d0d;
  border-bottom: 1px solid var(--border);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
  padding: 20px 0;
}
.a11y-panel-inner {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}
.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;
  }
}

.splash {
  min-height: 100vh;
  display: grid;
  align-items: start;
  justify-items: center;
  position: relative;
  overflow: hidden;
  background: url("../img/istockphoto-184601291-612x612.jpg") 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%;
  padding: 18vh 0 26px;
  margin: 0 auto;
}
.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;
  height: 260%;
  background: linear-gradient(
    to bottom,
    rgba(255, 132, 0, 0.9) 0%,
    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%;
  top: -95%;
  transform: rotate(18deg) translate3d(-10px, -40px, 0);
  animation: beamMove1 2.4s ease-in-out infinite alternate;
}
.beam-2 {
  left: 50%;
  top: -100%;
  transform: rotate(0deg) translate3d(0, -20px, 0);
  animation: beamMove2 2s ease-in-out infinite alternate;
}
.beam-3 {
  left: 65%;
  top: -95%;
  transform: rotate(-18deg) translate3d(10px, -40px, 0);
  animation: beamMove3 2.6s ease-in-out infinite alternate;
}
.beam-4 {
  left: 42%;
  top: -100%;
  transform: rotate(10deg) translate3d(-5px, -35px, 0);
  animation: beamMove4 2.2s ease-in-out infinite alternate;
}
.beam-5 {
  left: 58%;
  top: -98%;
  transform: rotate(-8deg) translate3d(5px, -35px, 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;
  max-width: 36rem;
  font-size: large;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 0.02em;
}
.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-actions {
    justify-content: center;
  }
}
/* 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(-20px, -40px, 0);
  }
  to {
    transform: rotate(18deg) translate3d(10px, 40px, 0);
  }
}

@keyframes beamMove2 {
  from {
    transform: rotate(0deg) translate3d(12px, -30px, 0);
  }
  to {
    transform: rotate(0deg) translate3d(-12px, 50px, 0);
  }
}

@keyframes beamMove3 {
  from {
    transform: rotate(-18deg) translate3d(20px, -40px, 0);
  }
  to {
    transform: rotate(-18deg) translate3d(-10px, 40px, 0);
  }
}

@keyframes beamMove4 {
  from {
    transform: rotate(10deg) translate3d(-15px, -35px, 0);
  }
  to {
    transform: rotate(10deg) translate3d(8px, 35px, 0);
  }
}

@keyframes beamMove5 {
  from {
    transform: rotate(-8deg) translate3d(15px, -35px, 0);
  }
  to {
    transform: rotate(-8deg) translate3d(-8px, 35px, 0);
  }
}

@keyframes titleLoop {
  0% {
    transform: translateY(0) scale(1);
    letter-spacing: 0.18em;
  }
  40% {
    transform: translateY(-6px) scale(1.01);
    letter-spacing: 0.22em;
  }
  70% {
    transform: translateY(2px) scale(1);
    letter-spacing: 0.16em;
  }
  100% {
    transform: translateY(0) scale(1);
    letter-spacing: 0.18em;
  }
}

@keyframes sweep {
  0% {
    transform: translateX(-65%) rotate(-4deg);
    opacity: 0;
  }
  25% {
    opacity: 1;
  }
  55% {
    opacity: 1;
  }
  100% {
    transform: translateX(65%) rotate(-4deg);
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .splash::before,
  .splash-text,
  .splash-text::before,
  .splash-text .shine {
    animation: none !important;
  }
}
@keyframes beams {
  from {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}
.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);
}

.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;
  transition:
    background 200ms ease,
    border-color 200ms ease,
    border-width 200ms ease;
}
.section-alt {
  background: #000000;
  border-top: 0 solid transparent;
  border-bottom: 0 solid transparent;
}
.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;
}

.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(--tertiary-color);
  font-weight: 700;
  font-size: 1.4rem;
}

.parallax-band {
  position: relative;
  min-height: 260px;
  background-image: url("../../img/laconce.jpg");
  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;
  }
}

.step-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 12px;
}
.step-card {
  flex: 0 0 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
  padding: 26px 22px 24px;
  border-radius: 20px;
  border: 1px solid var(--primary-color);
  background: #050716;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.55);
}
.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;
}

.contact-strip-inner {
  position: relative;
  border-radius: 20px;
  border: 1px solid var(--border);
  padding: 24px 20px;
  background-image: url("../../img/telefono.webp");
  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-grid {
    grid-template-columns: 1fr;
  }
}

.pricing {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.price-card {
  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-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: 0.9fr 1.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.png") 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.png") 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);
}
.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: block;
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
  text-align: center;
  padding: 16px 20px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: var(--primary-color);
  color: #12161c;
  font-weight: 800;
  font-size: 1.6rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}
.cta-wide:hover {
  transform: translateY(-3px) scale(1.01);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.7);
  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) {
  .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;
  }
}
@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 ESPECTACULAR (VERSIÓN REFORZADA) ===== */


.site-footer {
  background: #000 !important;
  color: #eee !important;
  padding: 70px 0 40px !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: 32px 40px;
  padding-bottom: 28px;
  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 {
  grid-column: 4;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.footer-col-side .footer-legal {
  padding-top: 0;
  margin-top: 0;
  border-top: none;
}

/* Logo y copyright */
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.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 {
  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: 4px 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;
}

/* Barra legal: Aviso legal · Privacidad · Cookies */
.footer-legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 24px;
  padding-top: 20px;
  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: 28px 24px;
    text-align: left;
  }
  .footer-col-main {
    display: contents;
  }
  .footer-brand {
    grid-column: 1 / -1;
    text-align: center;
    align-items: center;
  }
  .footer-col-side {
    grid-column: 1 / -1;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
  }
  .footer-legal {
    justify-content: center;
  }
}

/* Móvil: 2 columnas — secciones+contacto | síguenos+legal */
@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: 20px;
    grid-column: 1;
  }
  .footer-col-side {
    grid-column: 2;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
  .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-legal {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .footer-legal a:not(:last-child)::after {
    display: none;
  }
}

/* ***************************************** */
/* ===== SERVICIOS — ESTILO CREATIVO ===== */

.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);
}

/* ===== Animación de entrada ===== */

.creative-card.show {
  opacity: 1;
  transform: translateY(0);
}

/* ===== SERVICIOS — ESTILO CREATIVO AVANZADO ===== */

.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: translateY(40px);
  opacity: 0;
}

/* 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);
}

/* ===== Animación de entrada ===== */

.creative-boost.show {
  opacity: 1;
  transform: translateY(0);
}

/* ===== SERVICIOS — FONDO NEGRO + GIRO + OVERLAY NARANJA ===== */

.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 .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);
}

/* Animación de entrada: fade + translateY, 0.5s, delay escalonado */
.service-card {
  opacity: 0;
  transform: translateY(40px);
  transition:
    opacity 0.5s ease,
    transform 0.5s ease,
    box-shadow 0.35s ease,
    border-color 0.35s ease;
  transition-delay: 0s;
}

.cards-inview .service-card {
  opacity: 1;
  transform: translateY(0);
}

.cards-inview .service-card:nth-child(1) { transition-delay: 0s; }
.cards-inview .service-card:nth-child(2) { transition-delay: 0.1s; }
.cards-inview .service-card:nth-child(3) { transition-delay: 0.2s; }
.cards-inview .service-card:nth-child(4) { transition-delay: 0.3s; }

/* ***************************************** */
/* ===== FORMULARIO CON ANIMACIÓN AL APARECER ===== */

.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);
  }
}

/* ===== INPUTS CON ICONOS ===== */

.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:focus ~ .input-icon,
.icon-field textarea:focus ~ .input-icon {
  opacity: 1;
  transform: scale(1.1);
}

/* ===== FOCUS BORDER ANIMADO ===== */

.focus-border {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 2px;
  width: 0%;
  background: #ff7a00;
  transition: width 0.3s ease;
}

.icon-field input:focus + .focus-border,
.icon-field textarea:focus + .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;
}

/* Mapa de contacto */
.contact-map {
  padding-top: 0;
}

.contact-map h3 {
  font-size: 1.4rem;
  margin-bottom: 8px;
}

.map-wrapper {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(0,0,0,0.12);
}

/* 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-map h3 {
  text-align: center;
}

.map-wrapper {
  margin-top: 20px;
}

.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);
}

.map-wrapper {
  opacity: 0;
  transform: translateY(20px);
  animation: mapEnter 0.8s ease forwards;
  animation-delay: 0.2s;
}

@keyframes mapEnter {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.contact-map .container {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

/* 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;
  display: block;
}

.step-link:hover .step-card {
  transform: translateY(-4px);
}

/* Ocultar header por defecto para evitar el flash */
.site-header {
  transform: translateY(-100%);
  transition: transform 0.3s ease;
}
.site-header.hidden {
  transform: translateY(-100%);
}
.site-header.visible {
  transform: translateY(0);
  visibility: visible;
}

/* Páginas legales: aviso legal, privacidad, cookies */
.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;
}


