/* ==========================================================================
   MAREAPE SaaS — Portada Comercial Marítima (landing.css v8)
   Enfoque:
   - Hero a pantalla completa (100dvh) sin perfil preseleccionado
   - Header limpio con logotipo oficial y único botón «Contactar por WhatsApp»
   - Selector sticky compacto «Pescador / Directiva» que no compite con el Hero
   - Experiencia comercial, pasos, formulario y FAQ exclusivos por perfil
   - Microdinamismo sutil con soporte completo para prefers-reduced-motion
   ========================================================================== */

:root {
  --bg-abyss: #030d17;
  --bg-navy: #04111d;
  --bg-deep: #071927;
  --bg-ocean: #0b2438;
  --bg-card: rgba(10, 33, 52, 0.78);
  --bg-card-strong: rgba(7, 24, 39, 0.94);
  --border-subtle: rgba(56, 238, 248, 0.18);
  --border-strong: rgba(56, 238, 248, 0.45);
  --cyan-bright: #38eef8;
  --cyan-mid: #0ea5e9;
  --teal-main: #14b8a6;
  --text-white: #f8fafc;
  --text-soft: #cbd5e1;
  --text-muted: #94a3b8;
  --shadow-deep: 0 18px 44px rgba(1, 8, 15, 0.65);
  --shadow-glow: 0 0 26px rgba(56, 238, 248, 0.16);
  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 18px;
  --radius-xl: 22px;
  --container-max: 1180px;
  --header-h: 64px;
  --sticky-bar-h: 58px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + var(--sticky-bar-h) + 8px);
  background-color: var(--bg-abyss);
  color: var(--text-white);
  font-family: "Inter", "Segoe UI", Roboto, -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

body {
  margin: 0;
  padding-top: var(--header-h);
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, var(--bg-navy) 0%, var(--bg-deep) 50%, var(--bg-abyss) 100%);
  color: var(--text-white);
  overflow-x: clip;
}

@supports not (overflow-x: clip) {
  body {
    overflow-x: hidden;
  }
}

main {
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
}

section[id],
.profile-stage-anchor {
  scroll-margin-top: calc(var(--header-h) + var(--sticky-bar-h) + 8px);
}

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

a {
  color: var(--cyan-bright);
  text-decoration: none;
  transition: color 0.18s ease, opacity 0.18s ease, transform 0.18s ease;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 9999;
  background: var(--cyan-bright);
  color: var(--bg-abyss);
  font-weight: 700;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
}

.skip-link:focus {
  top: 12px;
}

.container {
  width: min(100% - 36px, var(--container-max));
  margin-inline: auto;
}

/* ==========================================================================
   1. ENCABEZADO SIMPLIFICADO: SOLO LOGOTIPO Y CONTACTO POR WHATSAPP
   ========================================================================== */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 1000;
  height: var(--header-h);
  background: rgba(4, 16, 28, 0.84);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(56, 238, 248, 0.14);
  transition: background 0.26s ease, box-shadow 0.26s ease, border-color 0.26s ease, backdrop-filter 0.26s ease;
}

.site-header.is-scrolled {
  background: rgba(2, 11, 20, 0.94);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom-color: rgba(56, 238, 248, 0.24);
  box-shadow: 0 12px 32px rgba(1, 6, 14, 0.58), 0 1px 0 rgba(56, 238, 248, 0.08);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.brand-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 5px 14px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(244, 250, 255, 0.95) 0%, rgba(224, 244, 254, 0.90) 100%);
  border: 1px solid rgba(56, 238, 248, 0.48);
  box-shadow: 0 4px 14px rgba(2, 10, 20, 0.38);
  flex-shrink: 0;
}

.brand-badge:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(56, 238, 248, 0.25);
}

.brand-badge img {
  height: 26px;
  width: auto;
  object-fit: contain;
}

.brand-badge-sm {
  padding: 4px 12px;
}

.brand-badge-sm img {
  height: 22px;
}

.header-contact {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.nav-whatsapp-btn {
  white-space: nowrap;
}

.nav-whatsapp-btn .wa-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #02131f;
  box-shadow: 0 0 0 2px rgba(2, 19, 31, 0.22);
  flex-shrink: 0;
}

/* ==========================================================================
   BOTONES GENERALES
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 700;
  border-radius: 12px;
  cursor: pointer;
  border: 1px solid transparent;
  font-family: inherit;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
  text-align: center;
  line-height: 1.2;
}

.btn-sm {
  padding: 9px 15px;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 13px 24px;
  font-size: 0.96rem;
}

.btn-block {
  width: 100%;
  padding: 12px 18px;
  font-size: 0.93rem;
}

.btn-primary {
  background: linear-gradient(135deg, var(--cyan-bright) 0%, var(--teal-main) 54%, var(--cyan-mid) 100%);
  color: #02131f;
  box-shadow: 0 8px 22px rgba(20, 184, 166, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  color: #010d17;
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(56, 238, 248, 0.4);
}

.btn-glass {
  background: rgba(8, 28, 45, 0.78);
  color: var(--text-white);
  border-color: rgba(56, 238, 248, 0.38);
  backdrop-filter: blur(10px);
}

.btn-glass:hover,
.btn-glass:focus-visible {
  color: var(--cyan-bright);
  background: rgba(14, 165, 233, 0.18);
  border-color: var(--cyan-bright);
  transform: translateY(-1px);
}

/* ==========================================================================
   2. HERO DE BIENVENIDA A PANTALLA COMPLETA (100dvh)
   ========================================================================== */

.hero-section {
  position: relative;
  flex: 1 0 auto;
  min-height: calc(100vh - var(--header-h));
  min-height: calc(100dvh - var(--header-h));
  padding: 40px 0;
  display: flex;
  align-items: center;
  overflow: hidden;
  border-bottom: 1px solid rgba(56, 238, 248, 0.16);
  background: #030e19;
}

.hero-backdrop {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  background: #030e19;
  --hero-px: 0px;
  --hero-py: 0px;
}

.hero-bg-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: 64% 52%;
  opacity: 0.98;
  filter: contrast(1.03);
}

@media (min-width: 1025px) and (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .hero-bg-photo {
    inset: -14px;
    width: calc(100% + 28px);
    height: calc(100% + 28px);
    transform: translate3d(var(--hero-px, 0px), var(--hero-py, 0px), 0);
    will-change: transform;
  }
}

.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      rgba(3, 13, 24, 0.90) 0%,
      rgba(4, 17, 30, 0.78) 32%,
      rgba(4, 18, 31, 0.34) 48%,
      rgba(4, 18, 31, 0.08) 66%,
      rgba(3, 12, 22, 0.16) 100%
    ),
    linear-gradient(
      180deg,
      rgba(3, 13, 23, 0.34) 0%,
      transparent 24%,
      transparent 76%,
      rgba(3, 12, 22, 0.76) 100%
    );
}

.hero-bg-overlay::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 22% 72%, rgba(20, 184, 166, 0.055) 0%, transparent 48%),
    radial-gradient(circle at 68% 36%, rgba(56, 238, 248, 0.045) 0%, transparent 52%);
  opacity: 0.55;
  animation: maritimeAtmosphere 14s ease-in-out infinite alternate;
}

@keyframes maritimeAtmosphere {
  0% {
    opacity: 0.38;
    transform: translate3d(0, 0, 0);
  }
  100% {
    opacity: 0.82;
    transform: translate3d(5px, -4px, 0);
  }
}

.hero-container {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
}

.hero-copy {
  max-width: 500px;
}

.eyebrow-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(6, 23, 38, 0.76);
  border: 1px solid rgba(56, 238, 248, 0.36);
  color: var(--cyan-bright);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  margin-bottom: 16px;
  backdrop-filter: blur(8px);
}

.pulse-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan-bright);
  box-shadow: 0 0 8px var(--cyan-bright);
  flex-shrink: 0;
}

.hero-copy h1 {
  font-size: clamp(1.75rem, 2.55vw, 2.32rem);
  font-weight: 750;
  line-height: 1.16;
  letter-spacing: -0.02em;
  margin: 0 0 14px;
  max-width: 19ch;
  color: var(--text-white);
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.72);
}

.hero-lead {
  font-size: clamp(0.95rem, 1.05vw, 1.04rem);
  line-height: 1.56;
  color: rgba(226, 238, 248, 0.92);
  margin: 0 0 22px;
  max-width: 44ch;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.72);
}

.hero-primary-access {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 7px;
  max-width: 410px;
  margin: 0 0 14px;
}

.hero-portal-cta {
  width: 100%;
  min-height: 50px;
  padding: 13px 22px;
  font-size: 0.98rem;
  font-weight: 700;
  border-radius: 12px;
  letter-spacing: 0.01em;
}

.hero-portal-arrow {
  display: inline-block;
  font-size: 1.05rem;
  line-height: 1;
  transition: transform 0.2s ease;
}

.hero-portal-cta:hover .hero-portal-arrow,
.hero-portal-cta:focus-visible .hero-portal-arrow {
  transform: translateX(3px);
}

.hero-portal-caption {
  margin: 0;
  font-size: 0.78rem;
  line-height: 1.38;
  color: rgba(226, 238, 248, 0.88);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.76);
}

.hero-portal-caption strong {
  color: var(--cyan-300);
  font-weight: 600;
}

.hero-profile-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 198px));
  gap: 14px;
}

.profile-hero-btn {
  position: relative;
  overflow: hidden;
  min-height: 48px;
  padding: 13px 20px;
  font-size: 0.94rem;
  font-weight: 700;
  border-radius: 12px;
  background: rgba(6, 24, 40, 0.86);
  color: var(--text-white);
  border: 1.5px solid rgba(56, 238, 248, 0.48);
  box-shadow: 0 10px 26px rgba(1, 8, 16, 0.56), inset 0 1px 0 rgba(56, 238, 248, 0.16);
  backdrop-filter: blur(10px);
  transition:
    transform 0.22s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.22s cubic-bezier(0.22, 1, 0.36, 1),
    background 0.22s ease,
    border-color 0.22s ease,
    color 0.22s ease;
}

.profile-hero-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(125deg, rgba(56, 238, 248, 0.12) 0%, rgba(20, 184, 166, 0.04) 60%, transparent 100%);
  opacity: 0;
  transition: opacity 0.22s ease;
  pointer-events: none;
}

.profile-hero-btn:hover,
.profile-hero-btn:focus-visible {
  border-color: rgba(56, 238, 248, 0.88);
  background: rgba(10, 36, 58, 0.95);
  box-shadow:
    0 12px 28px rgba(14, 165, 233, 0.22),
    0 4px 12px rgba(1, 8, 16, 0.6),
    inset 0 1px 0 rgba(56, 238, 248, 0.28);
  transform: translateY(-2px);
}

.profile-hero-btn:hover::before,
.profile-hero-btn:focus-visible::before {
  opacity: 1;
}

.profile-hero-btn:active {
  transform: translateY(0) scale(0.985);
  box-shadow: 0 6px 16px rgba(1, 8, 16, 0.55);
}

.profile-hero-btn .profile-btn-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cyan-bright);
  box-shadow: 0 0 6px rgba(56, 238, 248, 0.65);
  transition: transform 0.22s ease, background 0.18s ease, box-shadow 0.18s ease;
  flex-shrink: 0;
}

.profile-hero-btn:hover .profile-btn-dot,
.profile-hero-btn:focus-visible .profile-btn-dot {
  transform: scale(1.18);
  box-shadow: 0 0 10px rgba(56, 238, 248, 0.9);
}

.profile-hero-btn.is-active {
  background: linear-gradient(135deg, var(--cyan-bright) 0%, var(--teal-main) 54%, var(--cyan-mid) 100%);
  color: #02131f;
  border-color: transparent;
  box-shadow: 0 10px 26px rgba(20, 184, 166, 0.38), inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

.profile-hero-btn.is-active::before {
  opacity: 0;
}

.profile-hero-btn.is-active .profile-btn-dot {
  background: #02131f;
  box-shadow: 0 0 0 3px rgba(2, 19, 31, 0.2);
}

/* ==========================================================================
   3. SELECTOR STICKY COMPACTO DE PERFIL (SIN DUPLICACIÓN CON EL HERO)
   ========================================================================== */

.sticky-profile-slot {
  position: relative;
  min-height: var(--sticky-bar-h);
  z-index: 950;
}

.sticky-profile-bar {
  position: sticky;
  top: var(--header-h);
  z-index: 950;
  height: var(--sticky-bar-h);
  width: 100%;
  background: rgba(3, 13, 23, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(56, 238, 248, 0.22);
  box-shadow: 0 8px 22px rgba(1, 7, 14, 0.48);
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.sticky-profile-bar.is-pinned {
  position: fixed;
  top: var(--header-h);
  left: 0;
  right: 0;
}

/* Cuando el visitante está en el Hero inicial, ocultar el selector sticky para que jamás compitan */
.sticky-profile-bar.is-hidden-near-hero {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.sticky-profile-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.profile-segmented-compact {
  display: inline-grid;
  grid-template-columns: repeat(2, minmax(168px, auto));
  gap: 6px;
  padding: 4px;
  background: rgba(6, 22, 36, 0.96);
  border: 1px solid rgba(56, 238, 248, 0.38);
  border-radius: 999px;
  box-shadow: 0 4px 16px rgba(1, 8, 16, 0.45);
}

.profile-segment-btn {
  min-height: 40px;
  padding: 8px 26px;
  border-radius: 999px;
  border: 0;
  background: transparent;
  color: var(--text-soft);
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
  line-height: 1.2;
  white-space: nowrap;
}

.profile-segment-btn:hover {
  color: var(--text-white);
}

.profile-segment-btn:focus-visible {
  outline: 2px solid var(--cyan-bright);
  outline-offset: 2px;
}

.profile-segment-btn.is-active {
  background: linear-gradient(135deg, var(--cyan-bright) 0%, var(--teal-main) 100%);
  color: #02131f;
  font-weight: 800;
  box-shadow: 0 2px 12px rgba(56, 238, 248, 0.28);
}

/* ==========================================================================
   APARICIÓN FLUIDA Y ESTRUCTURA DE SECCIONES POR PERFIL
   ========================================================================== */

@keyframes profileContentReveal {
  0% {
    opacity: 0;
    transform: translate3d(0, 10px, 0);
  }
  100% {
    opacity: 1;
    transform: none;
  }
}

.profile-panel.is-active {
  animation: profileContentReveal 0.3s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.section {
  padding: 30px 0;
  position: relative;
}

.section-dark {
  background: var(--bg-deep);
  border-bottom: 1px solid rgba(56, 238, 248, 0.1);
}

.section-ocean {
  background:
    radial-gradient(circle at 85% 20%, rgba(14, 165, 233, 0.11), transparent 45%),
    linear-gradient(180deg, #061724 0%, #092235 50%, #061724 100%);
  border-bottom: 1px solid rgba(56, 238, 248, 0.12);
}

.section-header {
  text-align: center;
  max-width: 660px;
  margin: 0 auto 18px;
}

.section-header-compact {
  margin-bottom: 16px;
}

.section-eyebrow {
  color: var(--cyan-bright);
  font-size: 0.71rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0 0 5px;
}

.section-header h2,
.profile-copy h2,
.cta-copy h2 {
  font-size: clamp(1.38rem, 2.1vw, 1.85rem);
  line-height: 1.18;
  margin: 0 0 8px;
  color: var(--text-white);
}

/* ==========================================================================
   TARJETAS DE PERFIL (BENEFICIOS E IMÁGENES REALES)
   ========================================================================== */

.profile-card {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 24px;
  align-items: center;
  background: rgba(6, 21, 34, 0.9);
  border: 1px solid rgba(56, 238, 248, 0.28);
  border-radius: var(--radius-xl);
  padding: 22px;
  box-shadow: var(--shadow-deep), var(--shadow-glow);
}

.profile-lead {
  color: var(--text-soft);
  font-size: 0.92rem;
  margin: 0 0 14px;
  line-height: 1.46;
}

.profile-benefits {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
}

.profile-benefits li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: rgba(10, 34, 54, 0.55);
  border: 1px solid rgba(56, 238, 248, 0.15);
  border-radius: 11px;
  padding: 8px 12px;
}

.benefit-check {
  width: 21px;
  height: 21px;
  border-radius: 50%;
  background: rgba(20, 184, 166, 0.2);
  border: 1px solid rgba(56, 238, 248, 0.45);
  color: var(--cyan-bright);
  font-size: 0.72rem;
  font-weight: 900;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}

.profile-benefits strong {
  display: block;
  font-size: 0.89rem;
  color: var(--text-white);
  line-height: 1.25;
}

.profile-benefits span {
  display: block;
  font-size: 0.8rem;
  color: var(--text-soft);
  line-height: 1.34;
}

.pescador-direct-access {
  margin-top: 14px;
  padding: 11px 14px;
  border-radius: 12px;
  background: rgba(14, 165, 233, 0.09);
  border: 1px solid rgba(56, 238, 248, 0.28);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
}

.pescador-direct-note {
  flex: 1 1 210px;
  font-size: 0.8rem;
  line-height: 1.38;
  color: var(--text-soft);
}

.pescador-direct-note strong {
  color: var(--text-white);
}

.profile-visual {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pescador-showcase-main {
  display: grid;
  grid-template-columns: 1.62fr 0.62fr;
  gap: 10px;
  align-items: stretch;
}

.visual-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(56, 238, 248, 0.36);
  background: #041320;
  box-shadow: var(--shadow-deep);
  text-align: left;
}

.visual-frame-mobile img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  object-position: top center;
}

.stage-window-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 6px 11px;
  background: linear-gradient(90deg, #061826, #0a253a);
  border-bottom: 1px solid rgba(56, 238, 248, 0.18);
  font-size: 0.71rem;
  color: var(--text-soft);
}

.window-dots {
  display: inline-flex;
  gap: 5px;
}

.window-dots i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  display: inline-block;
}

.window-dots i:nth-child(1) { background: #38bdf8; }
.window-dots i:nth-child(2) { background: #14b8a6; }
.window-dots i:nth-child(3) { background: #64748b; }

.window-title {
  font-weight: 700;
  color: var(--text-white);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.window-tag {
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(56, 238, 248, 0.16);
  color: var(--cyan-bright);
  font-weight: 700;
  font-size: 0.68rem;
  flex-shrink: 0;
}

.zoom-trigger {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
  color: inherit;
}

.pescador-reports-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px;
}

.report-mini-card {
  position: relative;
  border-radius: 11px;
  overflow: hidden;
  border: 1px solid rgba(56, 238, 248, 0.28);
  background: #030e18;
  padding: 0;
  height: 114px;
  text-align: center;
}

.report-mini-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.25s ease;
}

.report-mini-card:hover img {
  transform: scale(1.04);
}

.report-mini-card span {
  position: absolute;
  left: 6px;
  right: 6px;
  bottom: 6px;
  padding: 3px 6px;
  border-radius: 999px;
  background: rgba(3, 13, 23, 0.9);
  border: 1px solid rgba(56, 238, 248, 0.4);
  color: var(--cyan-bright);
  font-size: 0.69rem;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.admin-caption-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 14px;
  background: rgba(6, 24, 38, 0.95);
  border-top: 1px solid rgba(56, 238, 248, 0.18);
  font-size: 0.77rem;
  color: var(--cyan-bright);
  font-weight: 600;
}

/* ==========================================================================
   PASOS DE ACCESO / FUNCIONAMIENTO (4 PASOS POR PERFIL)
   ========================================================================== */

.steps-grid {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.step-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 15px 14px;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.step-card:hover {
  transform: translateY(-2px);
  border-color: var(--border-strong);
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 25px;
  height: 25px;
  font-size: 0.76rem;
  font-weight: 800;
  color: #02131f;
  background: linear-gradient(135deg, var(--cyan-bright), var(--teal-main));
  border-radius: 50%;
  margin-bottom: 7px;
}

.step-card h3 {
  font-size: 0.93rem;
  margin: 0 0 4px;
  color: var(--text-white);
}

.step-card p {
  margin: 0;
  font-size: 0.81rem;
  color: var(--text-soft);
  line-height: 1.38;
}

/* ==========================================================================
   FORMULARIOS COMERCIALES DIFERENCIADOS POR PERFIL
   ========================================================================== */

.section-cta {
  background:
    radial-gradient(circle at 20% 50%, rgba(20, 184, 166, 0.14), transparent 50%),
    linear-gradient(180deg, #061826 0%, #04111d 100%);
  border-bottom: 1px solid rgba(56, 238, 248, 0.12);
}

.cta-card {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 22px;
  align-items: center;
  background: rgba(7, 25, 39, 0.92);
  border: 1px solid rgba(56, 238, 248, 0.32);
  border-radius: var(--radius-xl);
  padding: 22px;
  box-shadow: var(--shadow-deep), var(--shadow-glow);
}

.cta-lead {
  color: var(--text-soft);
  font-size: 0.92rem;
  margin: 0 0 12px;
}

.cta-checklist {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
}

.cta-checklist li {
  position: relative;
  padding-left: 22px;
  font-size: 0.88rem;
  color: var(--text-white);
}

.cta-checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--cyan-bright);
  font-weight: 900;
}

.cta-prep-box {
  background: rgba(3, 13, 23, 0.88);
  border: 1px solid rgba(56, 238, 248, 0.26);
  border-radius: var(--radius-lg);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.cta-prep-box h3 {
  margin: 0;
  font-size: 1rem;
  color: var(--text-white);
}

.prep-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.prep-fields-pescador label:last-child,
.prep-fields .field-full {
  grid-column: 1 / -1;
}

.prep-fields label {
  display: grid;
  gap: 5px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-soft);
}

.prep-fields input,
.prep-fields select {
  width: 100%;
  min-height: 42px;
  padding: 9px 12px;
  border-radius: 9px;
  border: 1px solid rgba(56, 238, 248, 0.28);
  background: rgba(7, 25, 39, 0.94);
  color: var(--text-white);
  font-size: 0.88rem;
  font-family: inherit;
}

.prep-fields input:focus,
.prep-fields select:focus {
  outline: 2px solid var(--cyan-bright);
  border-color: transparent;
}

.prep-actions {
  display: grid;
  gap: 8px;
}

.copy-feedback {
  margin: 0;
  font-size: 0.8rem;
  color: #5eead4;
  font-weight: 600;
  line-height: 1.4;
}

.copy-feedback:empty {
  display: none;
}

.copy-feedback.is-warning {
  color: #fcd34d;
}

/* ==========================================================================
   PREGUNTAS FRECUENTES Y PIE DE PÁGINA MINIMALISTA
   ========================================================================== */

.faq-container {
  max-width: 1000px;
}

.faq-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  align-items: start;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 12px 14px;
}

.faq-item summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 0.89rem;
  color: var(--text-white);
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

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

.faq-item summary::after {
  content: "+";
  color: var(--cyan-bright);
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-body {
  padding-top: 8px;
  margin-top: 8px;
  border-top: 1px solid rgba(56, 238, 248, 0.14);
}

.faq-body p {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.82rem;
}

.site-footer {
  background: var(--bg-abyss);
  border-top: 1px solid rgba(56, 238, 248, 0.16);
  padding: 28px 0 24px;
  text-align: center;
}

.footer-minimal {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  max-width: 680px;
  margin-inline: auto;
  text-align: center;
}

.footer-brand,
.footer-legal {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
}

.footer-brand .brand-badge {
  margin: 0 auto 10px;
}

.footer-desc {
  color: var(--text-soft);
  font-size: 0.83rem;
  line-height: 1.5;
  margin: 0 auto 6px;
  max-width: 56ch;
}

.footer-domain {
  color: var(--cyan-bright);
  font-size: 0.81rem;
  margin: 0 auto;
}

.footer-legal {
  padding-top: 12px;
  border-top: 1px solid rgba(56, 238, 248, 0.12);
}

.footer-legal p {
  color: var(--text-muted);
  font-size: 0.77rem;
  margin: 0 auto 6px;
  line-height: 1.48;
  max-width: 64ch;
}

.footer-legal small {
  display: block;
  color: var(--text-soft);
  font-size: 0.75rem;
}

/* ==========================================================================
   MODAL LIGHTBOX PARA CAPTURAS
   ========================================================================== */

.capture-lightbox {
  max-width: min(1140px, 94vw);
  width: 100%;
  border: 1px solid rgba(56, 238, 248, 0.45);
  border-radius: var(--radius-lg);
  background: #030e18;
  color: var(--text-white);
  padding: 0;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.85);
}

.capture-lightbox::backdrop {
  background: rgba(2, 8, 15, 0.86);
  backdrop-filter: blur(6px);
}

.lightbox-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 18px;
  border-bottom: 1px solid rgba(56, 238, 248, 0.2);
}

.lightbox-header h2 {
  margin: 0;
  font-size: 0.96rem;
}

.lightbox-close {
  background: rgba(56, 238, 248, 0.14);
  color: var(--cyan-bright);
  border: 1px solid rgba(56, 238, 248, 0.35);
  border-radius: 8px;
  padding: 5px 12px;
  font-weight: 700;
  cursor: pointer;
}

.lightbox-body {
  padding: 14px;
  max-height: 82vh;
  overflow: auto;
  display: flex;
  justify-content: center;
}

.lightbox-body img {
  max-height: 76vh;
  width: auto;
  border-radius: 8px;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .hero-bg-photo {
    transform: none !important;
    will-change: auto !important;
  }
  .hero-bg-overlay::after,
  .post-selection-experience.is-revealing,
  .profile-panel.is-active {
    animation: none !important;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@media (hover: none) {
  .profile-hero-btn:hover {
    transform: none;
  }
  .profile-hero-btn:active {
    transform: scale(0.985);
  }
}

/* ==========================================================================
   DISEÑO RESPONSIVO Y OPTIMIZACIÓN MÓVIL (100dvh)
   ========================================================================== */

@media (max-width: 1024px) {
  .profile-card,
  .cta-card {
    grid-template-columns: minmax(0, 1fr);
  }

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

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

@media (max-width: 640px) {
  :root {
    --header-h: 56px;
    --sticky-bar-h: 0px;
  }

  body {
    max-width: 100%;
  }

  .container {
    width: 100%;
    max-width: 100%;
    padding-inline: 16px;
  }

  .brand-badge {
    padding: 4px 10px;
  }

  .brand-badge img {
    height: 20px;
  }

  .nav-whatsapp-btn {
    padding: 7px 11px;
    font-size: 0.77rem;
    gap: 6px;
    border-radius: 10px;
  }

  .hero-section {
    min-height: calc(100vh - var(--header-h));
    min-height: calc(100dvh - var(--header-h));
    padding: 18px 0 30px;
    align-items: stretch;
  }

  .hero-bg-photo {
    top: 0;
    left: 0;
    width: 100%;
    height: 78%;
    object-fit: cover;
    object-position: 65% 54%;
    opacity: 0.98;
  }

  .hero-bg-overlay {
    background:
      linear-gradient(
        180deg,
        rgba(3, 13, 23, 0.32) 0%,
        rgba(3, 12, 22, 0.06) 18%,
        rgba(3, 12, 22, 0.14) 48%,
        rgba(3, 13, 23, 0.88) 66%,
        rgba(2, 10, 18, 0.98) 78%,
        rgba(2, 10, 18, 1) 100%
      );
  }

  .hero-container {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: calc(100vh - var(--header-h) - 48px);
    min-height: calc(100dvh - var(--header-h) - 48px);
  }

  .hero-copy {
    max-width: 100%;
    text-align: center;
  }

  .eyebrow-pill {
    display: inline-flex;
    width: fit-content;
    max-width: 100%;
    margin: 0 auto 12px;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-size: 0.68rem;
    letter-spacing: 0.08em;
    padding: 5px 13px;
    line-height: 1.25;
  }

  .hero-copy h1 {
    font-size: clamp(1.42rem, 5.5vw, 1.74rem);
    line-height: 1.18;
    margin: 0 auto 10px;
    max-width: 20ch;
  }

  .hero-lead {
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0 auto 16px;
    max-width: 38ch;
  }

  .hero-primary-access {
    align-items: center;
    text-align: center;
    max-width: 356px;
    margin: 0 auto 12px;
  }

  .hero-portal-cta {
    min-height: 48px;
    padding: 12px 16px;
    font-size: 0.93rem;
  }

  .hero-portal-caption {
    font-size: 0.75rem;
  }

  .hero-profile-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    max-width: 356px;
    margin: 0 auto;
  }

  .profile-hero-btn {
    min-height: 48px;
    padding: 12px 12px;
    font-size: 0.9rem;
  }

  /* En móvil, el selector pasa a ser una barra flotante inferior centrada sin dejar hueco arriba */
  .sticky-profile-slot {
    min-height: 0;
    height: 0;
  }

  .profile-stage-anchor {
    scroll-margin-top: var(--header-h);
  }

  .sticky-profile-bar,
  .sticky-profile-bar.is-pinned {
    position: fixed;
    top: auto;
    bottom: calc(12px + env(safe-area-inset-bottom, 0px));
    left: 50%;
    right: auto;
    transform: translate3d(-50%, 0, 0);
    width: auto;
    max-width: calc(100vw - 24px);
    height: auto;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-bottom: 0;
    box-shadow: none;
    pointer-events: none;
    transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s ease;
  }

  .sticky-profile-bar.is-hidden-near-hero,
  .sticky-profile-bar.is-keyboard-open {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translate3d(-50%, 14px, 0);
  }

  .sticky-profile-bar .sticky-profile-inner {
    width: auto;
    max-width: 100%;
    padding-inline: 0;
    height: auto;
  }

  .sticky-profile-bar .profile-segmented-compact {
    pointer-events: auto;
    width: min(calc(100vw - 28px), 344px);
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 5px;
    padding: 5px;
    background: rgba(4, 17, 29, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(56, 238, 248, 0.42);
    border-radius: 999px;
    box-shadow:
      0 12px 30px rgba(1, 7, 15, 0.72),
      0 0 18px rgba(20, 184, 166, 0.18);
  }

  .sticky-profile-bar .profile-segment-btn {
    min-height: 40px;
    padding: 8px 14px;
    font-size: 0.84rem;
  }

  .section {
    padding: 22px 0;
  }

  .section-header {
    margin-bottom: 12px;
  }

  .section-header h2,
  .profile-copy h2,
  .cta-copy h2 {
    font-size: 1.26rem;
    margin-bottom: 6px;
  }

  .profile-card,
  .cta-card,
  .cta-prep-box {
    padding: 15px 13px;
    gap: 14px;
  }

  .profile-lead {
    font-size: 0.85rem;
    margin-bottom: 10px;
  }

  .profile-benefits {
    gap: 6px;
  }

  .profile-benefits li {
    padding: 7px 10px;
  }

  .profile-benefits strong {
    font-size: 0.84rem;
  }

  .profile-benefits span {
    font-size: 0.76rem;
  }

  .visual-frame-mobile img {
    height: 152px;
  }

  .pescador-reports-strip {
    gap: 6px;
  }

  .report-mini-card {
    height: 92px;
  }

  .report-mini-card span {
    font-size: 0.63rem;
    padding: 2px 4px;
  }

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

  .step-card {
    padding: 11px 10px;
  }

  .step-card h3 {
    font-size: 0.84rem;
  }

  .step-card p {
    font-size: 0.74rem;
  }

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

  .faq-list {
    gap: 8px;
  }

  .faq-item {
    padding: 11px 12px;
  }

  .site-footer {
    padding: 22px 0 calc(84px + env(safe-area-inset-bottom, 0px));
  }
}
