@font-face {
  font-family: 'Bloby Crash';
  src: url('/fonts/bloby-crash.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
}

/* ===== FUNDAMENTOS DE AYNIMATION =====
   Paleta, tipografías y escalas compartidas por todos los Blade públicos. */
:root {
  --green: #00be53;
  --pink: #f00faf;
  --cream: #fffbf3;
  --navy: #000938;
  --lime: #d2fc00;
  --blush: #fac4e0;
  --white: #fff;
  --ink: var(--navy);
  --muted: #41475e;
  --navy-900: #07213d;
  --slate: #4d6072;
  --line: #dfeaf2;
  --teal-600: #2F9FA5;
  --font-display: 'Bloby Crash', 'Arial Black', 'Host Grotesk', sans-serif;
  --font-body: 'Host Grotesk', sans-serif;
  /* ESCALA TIPOGRÁFICA GLOBAL: edita estos valores para cambiar todo el sitio. */
  --type-hero: 100px;
  --type-hero-home: 108px;
  --type-section: 54px;
  --type-eyebrow: 20px;
  --type-body: 20px;
  --type-button: 24px;
  --type-supporting: 20px;
  --page-gutter: max(24px, calc((100vw - 1240px) / 2));
  font-family: var(--font-body);
  color: var(--navy);
  background: var(--white);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

/* Normalización mínima: afecta toda la interfaz pública. */
* {
  box-sizing: border-box;
}

/* ===== CONTENEDOR PRINCIPAL =====
   Usado para centrar el contenido y mantener el ancho máximo. */
.wrap {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  min-width: 320px;
  margin: 0;
  font-family: var(--font-body);
  overflow-x: hidden;
}

p {
  margin-top: 0;
  margin-bottom: 24px;
}

/* ===== CURSOR DECORATIVO =====
   El puntero usa v9.svg como máscara para poder recolorearlo. Cada sección declara
   data-cursor-tone: rosa muestra azul, verde muestra rosa y blanco/crema muestra verde. */
.site-cursor {
  --cursor-color: var(--green);
  position: fixed;
  top: 0;
  left: 0;
  z-index: 10000;
  width: 46px;
  height: 46px;
  pointer-events: none;
  opacity: 0;
  background: var(--cursor-color);
  mask: url('../img/animaton/v9.svg') center / contain no-repeat;
  -webkit-mask: url('../img/animaton/v9.svg') center / contain no-repeat;
  transition: opacity .15s ease;
  will-change: transform;
}


.site-cursor.is-visible {
  opacity: 1;
}

.site-cursor--lime {
  --cursor-color: var(--lime);
}

.site-cursor--navy {
  --cursor-color: var(--navy);
}

.site-cursor--pink {
  --cursor-color: var(--pink);
}

.site-cursor--green {
  --cursor-color: var(--green);
}

/* En pantallas táctiles se conserva el comportamiento nativo del dispositivo. */
@media (pointer: fine) {

  html.has-custom-cursor,
  html.has-custom-cursor * {
    cursor: none !important;
  }
}

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

p {
  line-height: 1.2;
}

/* ===== CABECERA Y NAVEGACIÓN =====
   Controla el logo, los enlaces y el indicador de página activa. */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background: transparent;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.site-header.is-scrolled {
  background: var(--white);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.site-header__inner {
  width: min(1240px, calc(100% - 64px));
  min-height: 100px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.brand {
  width: min(270px, 35vw);
  display: block;
  line-height: 0;
}

.brand--hidden-top {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.site-header.is-scrolled .brand--hidden-top {
  opacity: 1;
  pointer-events: auto;
}

.brand img {
  width: 100%;
  height: auto;
  display: block;
  transition: filter 0.3s ease;
}

/* Volver el logo blanco cuando el header es transparente (fondo oscuro) */
.site-header:not(.is-scrolled) .brand img {
  filter: brightness(0) invert(1);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(28px, 6vw, 94px);
}

.site-nav a {
  position: relative;
  color: var(--white);
  font-size: var(--type-supporting);
  font-weight: 600;
  transition: color 0.3s ease;
}

.site-header.is-scrolled .site-nav a {
  color: var(--navy);
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: -7px;
  left: 0;
  height: 2px;
  background: var(--pink);
  content: '';
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .2s ease;
}

.site-nav a:hover::after,
.site-nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

/* ===== BOTÓN HAMBURGUESA Y MODAL MÓVIL ===== */
.site-header__toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 8px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  background: transparent;
  border: 0;
  cursor: pointer;
  border-radius: 10px;
  color: var(--white);
  transition: background-color 0.2s ease, transform 0.2s ease;
  z-index: 102;
}

.site-header__toggle:hover {
  background: rgba(255, 255, 255, 0.12);
}

.site-header.is-scrolled .site-header__toggle {
  color: var(--navy);
}

.site-header.is-scrolled .site-header__toggle:hover {
  background: rgba(0, 9, 56, 0.06);
}

.hamburger-bar {
  display: block;
  width: 24px;
  height: 2.5px;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Modal de Navegación Móvil */
.mobile-nav-modal {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.mobile-nav-modal.is-open {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}

.mobile-nav-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 9, 56, 0.45);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.mobile-nav-modal__panel {
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
  max-height: 100vh;
  max-height: 100dvh;
  background: var(--white);
  display: flex;
  flex-direction: column;
  transform: translateY(-16px);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  overflow-y: auto;
  border-bottom-left-radius: 20px;
  border-bottom-right-radius: 20px;
  box-shadow: 0 16px 40px rgba(0, 9, 56, 0.2);
}

.mobile-nav-modal.is-open .mobile-nav-modal__panel {
  transform: translateY(0);
}

.mobile-nav-modal__header {
  height: 72px;
  min-height: 72px;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(0, 9, 56, 0.08);
  background: var(--white);
}

.mobile-nav-modal__brand {
  display: block;
  width: 170px;
  max-width: 50vw;
  line-height: 0;
}

.mobile-nav-modal__brand img {
  width: 100%;
  height: auto;
  display: block;
  filter: none !important;
}

.mobile-nav-modal__close {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  background: transparent;
  border: 0;
  border-radius: 50%;
  color: var(--navy);
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.mobile-nav-modal__close:hover,
.mobile-nav-modal__close:active {
  background: rgba(0, 9, 56, 0.06);
  transform: scale(1.05);
}

.mobile-nav-modal__body {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 28px 24px 36px;
}

.mobile-nav-modal__links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  width: 100%;
}

.mobile-nav-modal__links li {
  width: 100%;
  text-align: center;
}

.mobile-nav-link {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  color: var(--navy);
  font-family: var(--font-body);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s ease;
  padding: 6px 16px;
}

.mobile-nav-link:hover {
  color: var(--pink);
  transform: translateY(-1px);
}

.mobile-nav-link.is-active {
  color: var(--navy);
}

.mobile-nav-link.is-active::after {
  content: '';
  display: block;
  width: 52px;
  height: 3.5px;
  background: var(--pink);
  border-radius: 4px;
  margin-top: 8px;
}

body.menu-open {
  overflow: hidden !important;
}

/* ===== COMPONENTES REUTILIZABLES =====
   Eyebrow, botones y utilidades usadas por las distintas páginas. */
.deco-vector {
  position: absolute;
  z-index: 4;
  height: auto;
  pointer-events: none;
}

.section-title {
  margin: 0 0 18px;
  font: 400 var(--type-section)/.98 var(--font-display);
  color: var(--navy);
  letter-spacing: 1px;
}

.hero-title {
  margin: 0 0 16px;
  font: 400 var(--type-hero)/.88 var(--font-display);
  letter-spacing: 2px;
}

.section-body {
  margin: 0 0 24px;
  font-size: var(--type-body);
  line-height: 1.2;
  color: var(--navy);
}

.text-white {
  color: var(--white);
}

.text-pink {
  color: var(--pink);
}

.text-lime {
  color: var(--lime);
}

.text-navy {
  color: var(--navy);
}

.text-muted {
  color: var(--muted);
}

.text-green {
  color: var(--green);
}

.cta-strip {
  position: relative;
  min-height: 205px;
  padding: 100px var(--page-gutter) 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  overflow: hidden;
}

.cta-strip__wrap {
  min-height: 220px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  justify-content: start;
  align-items: center;
  gap: 28px;
}

.cta-strip__copy {
  position: relative;
  z-index: 1;
  max-width: 640px;
}

.cta-strip .button {
  position: relative;
  z-index: 5;
  min-width: 190px;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--pink);
  font-size: var(--type-eyebrow);
  font-weight: 700;
  letter-spacing: .015em;
}

.button {
  min-width: 172px;
  min-height: 48px;
  padding: 12px 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 15px;
  color: var(--navy);
  font-family: var(--font-display);
  font-size: var(--type-button);
  font-weight: normal;
  text-align: center;
  margin-bottom: 24px !important;
  transition: transform .2s ease, filter .2s ease;
}

.button:hover {
  filter: brightness(.94);
  transform: translateY(-2px);
}

.button--pink {
  background: var(--pink);
}

.button--green {
  background: var(--green);
}

.button--lime {
  background: var(--lime);
}

.button--navy {
  background: var(--navy);
  color: var(--white);
}

/* ===== BOTONES DE ACCIÓN EN HEROES ===== */
.hero-actions,
.home-hero__actions,
.selection-hero__actions,
.prani-hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
}

.hero-actions .button,
.home-hero__actions .button,
.selection-hero__actions .button,
.prani-hero__actions .button {
  margin-bottom: 0 !important;
}

.shape {
  position: absolute;
  pointer-events: none;
}

/* Contenedor base de la imagen con recorte fluido */
.blob-container {
  overflow: hidden;
  position: relative;
  display: block;
}

.blob-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Versión pegada al extremo derecho (curva a la izquierda, borde recto a la derecha) */
.blob-right {
  -webkit-mask:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpath d='M100,0 H20.7 C4.7,9 -2.3,9 0.7,31 C3.7,61 7.7,81 11.7,94 C13.7,99 18.7,100 22.7,100 H100 Z'/%3E%3C/svg%3E") no-repeat 0 0 / 100% 100%;

  mask:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpath d='M100,0 H20.7 C4.7,9 -2.3,9 0.7,31 C3.7,61 7.7,81 11.7,94 C13.7,99 18.7,100 22.7,100 H100 Z'/%3E%3C/svg%3E") no-repeat 0 0 / 100% 100%;
}

/* Versión pegada al extremo izquierdo (curva a la derecha, borde recto a la izquierda) */
.blob-left {
  -webkit-mask:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpath d='M0,0 H79.3 C95.3,9 102.3,9 99.3,31 C96.3,61 92.3,81 88.3,94 C86.3,99 81.3,100 77.3,100 H0 Z'/%3E%3C/svg%3E") no-repeat 0 0 / 100% 100%;

  mask:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpath d='M0,0 H79.3 C95.3,9 102.3,9 99.3,31 C96.3,61 92.3,81 88.3,94 C86.3,99 81.3,100 77.3,100 H0 Z'/%3E%3C/svg%3E") no-repeat 0 0 / 100% 100%;
}

/* ===== ESTRUCTURAS COMPARTIDAS =====
   Bloques heredados de dos columnas y contenedores de imagen genéricos. */
.feature {
  min-height: 480px;
  padding: 72px max(64px, calc((100vw - 1240px) / 2));
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  align-items: center;
  gap: clamp(55px, 8vw, 130px);
  overflow: hidden;
}

.feature--cream {
  background: var(--cream);
}

.feature--lime {
  grid-template-columns: 1fr 1fr;
  gap: clamp(60px, 9vw, 150px);
  background: var(--lime);
}

.feature--white {
  background: var(--white);
}

.feature__copy {
  max-width: 480px;
}

.feature__copy h2 {
  margin: 0 0 20px;
  color: var(--navy);
  font: 400 var(--type-section)/1.02 var(--font-display);
  letter-spacing: -.035em;
}

.feature__copy>p:not(.eyebrow) {
  margin: 0 0 25px;
  color: var(--muted);
  font-size: var(--type-body);
}

.feature--lime .feature__copy>p:not(.eyebrow) {
  color: var(--navy);
}

.feature__copy--right {
  justify-self: end;
}

.media-frame {
  position: relative;
  height: 330px;
  overflow: visible;
  background: #d9d9d9;
}

.visual-image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.feature--light {
  position: relative;
  min-height: 330px;
  background: #f2f2f2;
}

/* ===== VARIANTES Y ESTADOS ===== */
.eyebrow--outline {
  width: fit-content;
  padding: 8px 14px;
  border: 1px solid var(--pink);
  border-radius: 12px;
  color: var(--pink);
}

.button--outline-green {
  border: 1px solid var(--green);
  background: transparent;
  color: var(--green);
}

/* ===== PERSON GRID COMPONENT ===== */
.person-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(28px, 6vw, 86px);
}

.person-card {
  min-width: 0;
}

.person-card__portrait {
  position: relative;
  height: clamp(230px, 26vw, 370px);
  margin-bottom: 14px;
  display: flex;
  justify-content: center;
  align-items: flex-end;
}

.person-card__portrait img {
  position: relative;
  z-index: 1;
  width: auto;
  max-width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  object-position: center bottom;
}

.person-card__bio {
  max-width: 340px;
  margin: 0;
  color: var(--navy);
  line-height: 1.2;
  font-size: 18px;
  text-align: justify;
}

/* ===== PROCESS STEPS COMPONENT ===== */
.process-steps {
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  list-style: none;
}

.process-steps>* {
  position: relative;
  z-index: 1;
  min-width: 0;
}

.process-steps h3 {
  max-width: 150px;
  margin: 0;
  font-size: var(--type-supporting);
  line-height: 1.25;
}

/* ===== STATS GRID COMPONENT ===== */
.stats-grid {
   display: grid;
   grid-auto-flow: column;
   grid-auto-columns: minmax(0, 1fr);
   gap: 24px;
   margin-top: 48px;
}

.stats-grid div {
   display: flex;
   flex-direction: column;
   gap: 2px;
}

.stats-grid strong {
   font-family: var(--font-display);
   font-size: clamp(48px, 5vw, 80px);
   color: var(--navy);
   line-height: 1;
   font-variant-numeric: tabular-nums;
   white-space: nowrap;
}

.stats-grid span {
   font-size: 17px;
   color: var(--pink);
   line-height: 1.2;
   font-weight: 600;
   max-width: 140px;
}


/* ===== PLANTILLAS GENÉRICAS =====
   Se usan solo si una página no tiene un hero o sección personalizada en su propio Blade. */
.page-hero {
  min-height: 100vh;
  min-height: 100dvh;
  box-sizing: border-box;
  padding: 92px 24px 100px;
  display: grid;
  place-items: center;
  text-align: center;
  background: var(--navy);
  color: var(--white);
}

.page-hero__content {
  width: min(780px, 100%);
}

.page-hero h1 {
  margin: 0;
  font: 400 clamp(44px, 12vw, 84px)/.95 var(--font-display);
  letter-spacing: -.055em;
}

.page-hero__description {
  max-width: 530px;
  margin: 24px auto 0;
  color: var(--white);
  font-size: var(--type-body);
  line-height: 1.7;
}

.page-placeholder {
  min-height: 280px;
  padding: 64px 24px 90px;
  background: var(--cream);
}

.page-placeholder__inner {
  width: min(920px, 100%);
  min-height: 130px;
  margin: auto;
  padding: 30px;
  border: 2px dashed #c5c5be;
  color: var(--muted);
  text-align: center;
  font-size: var(--type-body);
}

/* ===== PIE DE PÁGINA =====
   La forma de esquina se posiciona dentro de este contenedor con posición absoluta. */
.site-footer {
  position: relative;
  overflow: hidden;
  padding: 42px max(64px, calc((100vw - 1240px) / 2)) 0;
  background: var(--navy);
  color: var(--white);
}

.site-footer__grid {
  position: relative;
  z-index: 1;
  min-height: 190px;
  display: grid;
  grid-template-columns: 1fr 1.08fr 1fr;
}

.footer-brand,
.footer-column {
  padding: 0 48px;
  border-right: 1px solid rgb(255 255 255 / 45%);
}

.footer-brand {
  padding-left: 0;
}

.footer-column--contact {
  border: 0;
}

.footer-brand__logo {
  width: 170px;
  max-width: 100%;
  display: block;
}

.footer-brand__logo img {
  width: 100%;
  height: auto;
  display: block;
}

.footer-brand p {
  max-width: 280px;
  margin: 16px 0;
  color: #d4d7e2;
  font-size: 18px;
  text-align: justify;
}

.footer-column h2 {
  margin: 0 0 16px;
  color: var(--pink);
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0.02em;
}

.footer-contact-info {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.contact-icon {
  width: 24px;
  height: 24px;
  object-fit: contain;
  margin-right: 5px;
}

.footer-column p {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 14px;
  color: #d4d7e2;
  font-size: 18px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  color: #d4d7e2;
  text-decoration: none;
  font-size: 18px;
  transition: color 0.2s ease;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--lime);
}

.social-links {
  display: flex;
  gap: 14px;
}

.social-links a {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #e5e7e8;
  color: var(--navy);
  font-size: 24px;
  font-weight: 700;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.social-links a:hover,
.social-links a:focus-visible {
  transform: translateY(-6px) scale(1.1);
}

.social-links a:nth-child(1):hover {
  background: var(--pink);
}
.social-links a:nth-child(2):hover {
  background: var(--lime);
}
.social-links a:nth-child(3):hover {
  background: var(--green);
}
.social-links a:nth-child(4):hover {
  background: #fff;
}

.social-links a img {
  max-width: 24px;
  max-height: 22px;
  display: block;
  object-fit: contain;
}

.site-footer__bottom {
  position: relative;
  z-index: 1;
  min-height: 40px;
  margin-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px 24px;
  border-top: 1px solid rgb(255 255 255 / 55%);
  color: #d4d7e2;
  font-size: 14px;
}

.site-footer__credit {
  color: inherit;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.site-footer__credit:hover {
  color: var(--pink);
}

.shape--footer-corner {
  right: 0;
  bottom: 0;
  width: 118px;
  height: auto;
  display: block;
  z-index: 9999;
}

/* ===== AUTENTICACIÓN (LOGIN & REGISTRO) =====
   Estilos base compartidos entre vistas de autenticación públicas. */
.auth-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(120% 140% at 82% -10%, #12507f 0%, var(--navy-900) 46%, #061527 100%);
  padding: 20px;
}

.auth-card {
  width: 100%;
  max-width: 440px;
  background: var(--white);
  border-radius: 16px;
  border: 1px solid var(--line);
  box-shadow: 0 12px 30px rgba(7, 33, 61, 0.10);
  padding: 40px;
  text-align: center;
}

.auth-logo-container {
  display: flex;
  justify-content: center;
  margin-bottom: 24px;
}

.auth-logo {
  height: 80px;
  width: auto;
  max-width: 100%;
  background: transparent;
}

.auth-title {
  margin-bottom: 8px;
  font-weight: 700;
  color: var(--navy-900);
}

.auth-subtitle {
  color: var(--slate);
  font-size: 15px;
  margin-bottom: 30px;
}

.auth-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.auth-input-group {
  text-align: left;
}

.auth-label {
  display: block;
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 6px;
  color: var(--navy-900);
}

.auth-input {
  width: 100%;
  padding: 12px 16px;
  border-radius: 8px;
  border: 1px solid var(--line);
  font-family: inherit;
  font-size: 15px;
  color: var(--navy-900);
  background: #fff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.auth-input:focus {
  outline: none;
  border-color: #2b8fd0;
  box-shadow: 0 0 0 3px rgba(43, 143, 208, 0.15);
}

.auth-btn {
  width: 100%;
  margin-top: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: 8px;
  font-family: inherit;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  text-decoration: none;
  transition: all .18s ease;
  box-sizing: border-box;
}

.auth-btn.btn-primary {
  background: var(--navy-900);
  color: #fff;
  border: 1px solid transparent;
}

.auth-btn.btn-primary:hover {
  background: #12457a;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(7, 33, 61, 0.2);
}

.auth-btn.btn-outline {
  background: transparent;
  color: var(--navy-900);
  border: 1px solid var(--navy-900);
}

.auth-btn.btn-outline:hover {
  background: rgba(7, 33, 61, 0.05);
}

.auth-footer-text {
  margin-top: 24px;
  font-size: 14px;
  color: var(--slate);
}

.auth-footer-text a {
  text-decoration: none;
}

.auth-link {
  color: var(--teal-600);
  font-weight: 700;
}

.auth-link:hover {
  text-decoration: underline;
}

@media (max-width: 1300px) {
  .wrap {
    padding: 0 60px;
  }
}

/* ===== AJUSTES RESPONSIVOS GLOBALES =====
   Adaptan cabecera, componentes reutilizables y footer; cada Blade mantiene los suyos. */
@media (max-width: 900px) {
  .wrap {
    padding: 0 40px;
  }

  .site-header__inner {
    width: calc(100% - 40px);
    min-height: 84px;
  }

  .site-nav {
    gap: 24px;
  }

  .feature,
  .feature--lime {
    padding: 64px 40px;
    gap: 46px;
  }

  .site-footer {
    padding-right: 40px;
    padding-left: 40px;
  }

  .footer-brand,
  .footer-column {
    padding-right: 26px;
    padding-left: 26px;
  }

  .footer-brand {
    padding-left: 0;
  }

  .selection-contact {
    padding-right: 40px;
    padding-left: 40px;
  }

  .cta-strip {
    padding: 64px 40px 40px;
  }

  .cta-strip__wrap {
    gap: 24px;
  }

  .process-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 26px 18px;
  }

  .person-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px;
  }
}

@media (max-width: 768px) {
  .site-header__inner {
    width: calc(100% - 32px);
    min-height: 72px;
    padding: 12px 0;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
  }

  .site-nav {
    display: none !important;
  }

  .site-header__toggle {
    display: flex;
  }

  .brand {
    width: min(210px, 55vw);
    max-width: 210px;
  }
}

/* ===== FOOTER RESPONSIVO (Columna y centrado a partir de 740px hacia abajo) ===== */
@media (max-width: 740px) {
  .site-footer {
    padding: 38px 24px 0;
  }

  .site-footer__grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 36px;
    min-height: 0;
  }

  .footer-brand,
  .footer-column {
    width: 100%;
    max-width: 440px;
    padding: 0;
    border: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-brand__logo {
    margin: 0 auto;
  }

  .footer-brand p {
    margin: 16px auto 0;
    text-align: center;
    font-size: 16px;
  }

  .footer-column h2 {
    text-align: center;
    margin: 0 0 16px;
    font-size: 24px;
  }

  .footer-links {
    align-items: center;
    text-align: center;
  }

  .footer-links a {
    text-align: center;
    font-size: 16px;
  }

  .footer-contact-info {
    align-items: center;
    width: 100%;
    gap: 14px;
  }

  .footer-column p {
    justify-content: center;
    text-align: center;
    font-size: 16px;
    gap: 12px;
  }

  .social-links {
    justify-content: center;
    align-items: center;
  }

  .site-footer__bottom {
    margin-top: 32px;
    text-align: center;
  }
}

@media (max-width: 640px) {

  /* La misma escala se reduce aquí para móvil sin crear tamaños por página. */
  :root {
    --type-hero: clamp(52px, 14vw, 68px);
    --type-hero-home: clamp(56px, 15vw, 76px);
    --type-section: 50px;
    --type-eyebrow: 13px;
    --type-body: 18px;
    --type-button: 22px;
    --type-supporting: 14px;
  }

  .wrap {
    padding: 0 24px;
  }

  .site-header__inner {
    width: calc(100% - 32px);
    min-height: 68px;
    padding: 10px 0;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
  }

  .brand {
    width: min(190px, 52vw);
    max-width: 190px;
  }

  .site-nav {
    display: none !important;
  }

  .site-header__toggle {
    display: flex;
  }

  .feature,
  .feature--lime {
    padding: 58px 24px;
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .feature__copy h2 {
    font-size: var(--type-section);
  }

  .feature__copy>p:not(.eyebrow) {
    font-size: var(--type-body);
  }

  .media-frame {
    height: 240px;
  }

  .feature--light {
    min-height: 230px;
  }

  .selection-stats {
    gap: 10px;
  }

   .stats-grid {
      grid-auto-flow: row;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 12px;
      margin-top: 32px;
   }

   .stats-grid > div {
      min-width: 0;
   }

   .stats-grid strong {
      white-space: nowrap;
   }

   .stats-grid span {
      font-size: 14px;
      max-width: 100%;
   }

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

  .person-card__portrait {
    height: min(82vw, 330px);
  }

  .person-card__bio {
    max-width: none;
  }

  .page-hero {
    min-height: 100vh;
    min-height: 100dvh;
    box-sizing: border-box;
    padding: 90px 24px 60px;
  }

  .page-hero h1 {
    font-size: clamp(44px, 12vw, 68px);
  }

  .page-hero__description {
    font-size: 15px;
  }

  .page-placeholder {
    min-height: 220px;
    padding: 44px 20px 60px;
  }

  .site-footer {
    padding: 34px 20px 0;
  }

  .social-links {
    flex-wrap: wrap;
    gap: 10px;
  }

  .social-links a {
    width: 36px;
    height: 36px;
  }

  .site-footer__bottom {
    margin-top: 28px;
    font-size: 14px;
    padding: 12px 40px;
    flex-direction: column-reverse;
    justify-content: center;
  }

  .shape--footer-corner {
    right: 0;
    bottom: 0;
    width: 70px;
    height: auto;
  }

  .contact-icon {
    width: 16px;
    height: 16px;
    margin-right: 0px;
  }

  .auth-card {
    padding: 28px 20px;
  }

  .cta-strip {
    padding: 48px 0px 24px;
    flex-direction: column;
    align-items: flex-start;
    gap: 22px;
  }

  .cta-strip__wrap {
    grid-template-columns: 1fr;
    gap: 0px;
    min-height: auto;
  }

  .cta-strip .button {
    width: 100%;
  }

  .process-steps {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }

  .hero-actions,
  .home-hero__actions,
  .selection-hero__actions,
  .prani-hero__actions {
    gap: 12px;
  }
}