/* ========================================
   NotIA — Páginas públicas (landing + auth)
   Paleta: teal · azul · lila · morado
   ======================================== */

:root {
  --notia-blue: #0288D1;
  --notia-blue-bright: #03A9F4;
  --notia-blue-light: #4FC3F7;
  --notia-teal: #0D5C63;
  --notia-teal-dark: #084449;
  --notia-lilac: #a78bfa;
  --notia-lilac-light: #c4b5fd;
  --notia-purple: #7c3aed;
  --notia-purple-deep: #5b21b6;
  --notia-indigo: #4338ca;
  --notia-mint: #E8F6F8;
  --notia-gradient: linear-gradient(155deg, #7c3aed 0%, #0288D1 40%, #0D5C63 100%);
  --notia-gradient-vivid: linear-gradient(118deg, #a78bfa 0%, #0288D1 30%, #0D5C63 65%, #5b21b6 100%);
  --notia-gradient-horizontal: linear-gradient(
    90deg,
    #0D5C63 0%,
    #0288D1 22%,
    #26C6DA 42%,
    #7c3aed 68%,
    #a78bfa 88%,
    #c4b5fd 100%
  );
  /* NotIA primero (teal/azul), lila/morado como acento */
  --notia-gradient-hero: linear-gradient(
    115deg,
    #084449 0%,
    #0D5C63 18%,
    #0288D1 42%,
    #26C6DA 56%,
    #7c3aed 78%,
    #5b21b6 100%
  );
  --notia-gradient-features: linear-gradient(
    100deg,
    #0D5C63 0%,
    #0288D1 32%,
    #4f46e5 58%,
    #7c3aed 82%,
    #a78bfa 100%
  );
  --notia-gradient-pricing: linear-gradient(
    95deg,
    #084449 0%,
    #0D5C63 30%,
    #0288D1 55%,
    #6d28d9 78%,
    #8b5cf6 100%
  );
  --notia-gradient-btn: linear-gradient(135deg, #0D5C63 0%, #0288D1 45%, #7c3aed 100%);
  --notia-text-on-dark: #f8fafc;
  --notia-text-muted-on-dark: rgba(248, 250, 252, 0.88);
  --notia-text-shadow-dark: 0 1px 3px rgba(4, 20, 30, 0.45);
  --notia-shadow: 0 24px 48px rgba(91, 33, 182, 0.2);
  --notia-shadow-blue: 0 16px 40px rgba(124, 58, 237, 0.35);
  --notia-radius: 16px;
  --public-font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

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

html {
  -webkit-text-size-adjust: 100%;
}

body.public-body {
  margin: 0;
  font-family: var(--public-font);
  color: #1a2b2e;
  background: var(--notia-mint);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  max-width: 100vw;
}

body.public-body--auth {
  background:
    radial-gradient(ellipse 80% 50% at 100% 0%, rgba(2, 136, 209, 0.35), transparent 50%),
    radial-gradient(ellipse 65% 45% at 0% 100%, rgba(13, 92, 99, 0.28), transparent 48%),
    linear-gradient(180deg, #c5ecf4 0%, #e8f7fa 35%, #ffffff 100%);
}

body.public-body--landing {
  background: #e8f0f2;
  color-scheme: light;
}

/* Shell — cada .landing-band es su propia franja con degradado */
.landing-shell {
  position: relative;
  overflow-x: hidden;
  width: 100%;
  min-height: 100vh;
}

.landing-shell > .public-nav,
.landing-shell > .landing,
.landing-shell > .public-footer {
  position: relative;
  z-index: 1;
}

/* Nav dentro del hero — integrada al degradado teal → lila */
.landing-band--hero > .public-nav {
  max-width: none;
  margin: 0;
  background: linear-gradient(
    90deg,
    rgba(8, 68, 73, 0.55) 0%,
    rgba(13, 92, 99, 0.48) 38%,
    rgba(2, 136, 209, 0.42) 68%,
    rgba(109, 40, 217, 0.48) 100%
  ) !important;
  border-bottom: 1px solid rgba(196, 181, 253, 0.35);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.landing-band--hero .public-nav__brand {
  color: #fff;
}

.landing-band--hero .public-nav__brand img {
  filter: none;
}

.landing-band--hero .public-nav__links a {
  color: rgba(232, 248, 252, 0.92);
}

.landing-band--hero .public-nav__links a:hover,
.landing-band--hero .public-nav__links a.is-active {
  color: #e9d5ff;
}

.landing-band--hero .public-nav__menu {
  color: #fff;
}

.landing-band--hero .public-nav--open {
  background: linear-gradient(180deg, #5b21b6 0%, #0D5C63 100%) !important;
}

.landing {
  width: 100%;
  display: flex;
  flex-direction: column;
}

/* ========== Bandas de sección (cada una con degradado propio) ========== */
.landing-band {
  position: relative;
  width: 100%;
  overflow: hidden;
  isolation: isolate;
}

.landing-band + .landing-band {
  box-shadow: 0 -1px 0 rgba(255, 255, 255, 0.06);
}

.landing-band__inner {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  position: relative;
  z-index: 1;
}

/* Burbujas blancas semitransparentes (misma familia que sidebar / panel) */
.landing-band__deco {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background: var(--notia-deco-bubbles);
  background-repeat: no-repeat;
}

.landing-band__deco::before {
  content: '';
  position: absolute;
  bottom: -18%;
  left: -12%;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 0 50px rgba(255, 255, 255, 0.06);
}

.landing-band__deco::after {
  content: '';
  position: absolute;
  top: -12%;
  right: -10%;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 0 60px rgba(255, 255, 255, 0.08);
}

.landing-band__deco--soft {
  background: var(--notia-deco-bubbles-soft);
}

.landing-band__deco--soft::before,
.landing-band__deco--soft::after {
  background: rgba(255, 255, 255, 0.35);
  box-shadow: 0 0 40px rgba(255, 255, 255, 0.12);
}

/* Burbujas dentro de paneles y tarjetas */
.landing-panel__deco {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  border-radius: inherit;
  background: var(--notia-deco-bubbles-panel);
  background-repeat: no-repeat;
}

.landing-panel__deco::after {
  content: '';
  position: absolute;
  top: -40px;
  right: -30px;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
}

.landing-visual-deco {
  position: absolute;
  inset: -10% -5%;
  pointer-events: none;
  z-index: 0;
  background: radial-gradient(
    circle 160px at 85% 20%,
    rgba(255, 255, 255, 0.2) 0%,
    transparent 70%
  );
}

.landing-visual-deco::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: -20px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
}

/* Brillo superior en cada banda */
.landing-band::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.35),
    transparent
  );
  z-index: 2;
  pointer-events: none;
}

/* —— Sección 1: Hero — paleta NotIA (teal/azul) → lila/morado —— */
.landing-band--hero {
  color: var(--notia-text-on-dark);
  background-color: #0D5C63;
  min-height: clamp(620px, 92vh, 960px);
  display: flex;
  flex-direction: column;
  background-image:
    radial-gradient(ellipse 110% 90% at 8% -15%, rgba(196, 181, 253, 0.75), transparent 48%),
    radial-gradient(ellipse 90% 80% at 100% 105%, rgba(124, 58, 237, 0.55), transparent 50%),
    radial-gradient(ellipse 70% 60% at 55% 40%, rgba(38, 198, 218, 0.35), transparent 55%),
    var(--notia-gradient-hero);
}

.landing-hero-band__photo {
  position: absolute;
  inset: -2px 0 0;
  height: calc(100% + 2px);
  background-image: url('/static/img/landing/hero-maestro-aula.png');
  background-size: auto 100%;
  background-position: calc(100% + 9rem) 46%;
  background-repeat: no-repeat;
  z-index: 0;
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent 0%,
    rgba(0, 0, 0, 0.12) 24%,
    rgba(0, 0, 0, 0.45) 36%,
    rgba(0, 0, 0, 0.82) 46%,
    #000 58%
  );
  mask-image: linear-gradient(
    90deg,
    transparent 0%,
    rgba(0, 0, 0, 0.12) 24%,
    rgba(0, 0, 0, 0.45) 36%,
    rgba(0, 0, 0, 0.82) 46%,
    #000 58%
  );
}

.landing-hero-band__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 75% 70% at 12% 25%, rgba(196, 181, 253, 0.42), transparent 58%),
    radial-gradient(ellipse 60% 80% at 88% 75%, rgba(38, 198, 218, 0.28), transparent 55%),
    linear-gradient(
      90deg,
      rgba(8, 68, 73, 0.97) 0%,
      rgba(13, 92, 99, 0.94) 14%,
      rgba(13, 92, 99, 0.78) 24%,
      rgba(2, 136, 209, 0.58) 34%,
      rgba(38, 198, 218, 0.34) 44%,
      rgba(124, 58, 237, 0.12) 54%,
      rgba(91, 33, 182, 0.04) 62%,
      transparent 72%
    ),
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.04) 0%,
      transparent 42%,
      rgba(0, 0, 0, 0.06) 100%
    );
}

.landing-hero-band__bubbles {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

.landing-band--hero .landing-band__inner {
  flex: 1;
  display: flex;
  align-items: center;
  position: relative;
  z-index: 3;
  width: 100%;
}

.landing-band--hero .landing-hero__copy,
.landing-band--hero .landing-hero__copy h1,
.landing-band--hero .landing-hero__lead,
.landing-band--hero .landing-hero__trust,
.landing-band--hero .landing-hero__trust li {
  color: var(--notia-text-on-dark);
}

/* —— Sección 2: Funciones (degradado claro lila → azul → menta) —— */
.landing-band--features {
  color: #1e3a3f;
  min-height: 100vh;
  min-height: 100dvh;
  scroll-margin-top: 4rem;
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(ellipse 90% 80% at 0% 0%, rgba(167, 139, 250, 0.5), transparent 55%),
    radial-gradient(ellipse 80% 70% at 100% 100%, rgba(2, 136, 209, 0.35), transparent 50%),
    linear-gradient(160deg, #ede9fe 0%, #dbeafe 35%, #e0f7fa 65%, #d1fae5 100%);
}

.landing-band--features .landing-band__inner {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
}

.landing-band--features .landing-section {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(3rem, 10vh, 5.5rem) clamp(1rem, 4vw, 2rem);
}

/* —— Sección 3: Planes (degradado medio índigo → teal → morado) —— */
.landing-band--pricing {
  color: var(--notia-text-on-dark);
  background:
    radial-gradient(ellipse 60% 70% at 80% 10%, rgba(196, 181, 253, 0.4), transparent 55%),
    radial-gradient(ellipse 70% 60% at 0% 90%, rgba(38, 198, 218, 0.3), transparent 50%),
    linear-gradient(115deg, #1e3a5f 0%, #0D5C63 35%, #0288D1 60%, #5b21b6 100%);
}

/* —— Sección 4: FAQ —— */
.landing-band--faq {
  color: var(--notia-text-on-dark);
  background:
    radial-gradient(ellipse 55% 65% at 15% 20%, rgba(38, 198, 218, 0.28), transparent 55%),
    radial-gradient(ellipse 50% 55% at 95% 80%, rgba(167, 139, 250, 0.35), transparent 50%),
    linear-gradient(125deg, #0D5C63 0%, #1565C0 40%, #5b21b6 100%);
  padding: clamp(3rem, 8vh, 4.5rem) 0;
}

.landing-band--faq .landing-section {
  text-align: center;
}

.landing-band--faq .landing-section h2 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.45rem, 5vw, 2rem);
  font-weight: 800;
  color: #ffffff;
  text-shadow: var(--notia-text-shadow-dark);
}

.landing-band--faq .landing-section__sub {
  margin: 0 auto 2rem;
  max-width: 36rem;
  color: var(--notia-text-muted-on-dark);
  font-size: 1.05rem;
  text-shadow: var(--notia-text-shadow-dark);
}

.landing-faq-panel {
  position: relative;
  overflow: hidden;
  background: #ffffff;
  border-radius: 20px;
  padding: clamp(1.25rem, 3vh, 2rem);
  box-shadow:
    0 4px 6px rgba(13, 92, 99, 0.06),
    0 20px 48px rgba(13, 92, 99, 0.14);
  border: 1px solid rgba(13, 92, 99, 0.1);
  max-width: 720px;
  margin: 0 auto;
  width: 100%;
  text-align: left;
}

.landing-faq-list {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.landing-faq-item {
  border: 1px solid rgba(2, 136, 209, 0.14);
  border-radius: 12px;
  background: #f8fafc;
  overflow: hidden;
  color: #0f172a;
}

.landing-faq-item > summary {
  list-style: none;
  cursor: pointer;
  padding: 0.9rem 1rem;
  font-weight: 600;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  user-select: none;
  color: #0f172a;
}

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

.landing-faq-item > summary::after {
  content: '+';
  flex-shrink: 0;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(2, 136, 209, 0.1);
  color: #0277bd;
  font-weight: 700;
  font-size: 1rem;
  line-height: 1;
}

.landing-faq-item[open] > summary::after {
  content: '−';
}

.landing-faq-item > summary:hover {
  background: rgba(2, 136, 209, 0.04);
}

.landing-faq-item__body {
  padding: 0 1rem 1rem;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  padding-top: 0.75rem;
  color: #334155;
  line-height: 1.55;
  font-size: 0.92rem;
}

.landing-faq-item__body p {
  margin: 0;
}

.landing-faq-more {
  position: relative;
  z-index: 1;
  margin: 1.25rem 0 0;
  text-align: center;
}

.landing-faq-more a {
  color: #0277bd;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
}

.landing-faq-more a:hover {
  text-decoration: underline;
}

.landing-faq-more i {
  font-size: 0.8em;
  margin-left: 0.25rem;
}

/* CTA: imagen + degradado teal (continúa la banda de FAQ) */
.landing-band--cta {
  background: #084449;
  padding: 0;
  margin-top: -1px;
}

.landing-band--faq + .landing-band--cta {
  box-shadow: none;
}

.landing-band--cta .landing-band__inner {
  max-width: none;
}

/* Flashes */
.public-flashes {
  position: fixed;
  top: 1rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
  width: min(480px, calc(100% - 2rem));
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.public-flash {
  padding: 0.75rem 1rem;
  border-radius: 10px;
  font-size: 0.9rem;
  box-shadow: var(--shadow-md, 0 4px 12px rgba(0, 0, 0, 0.15));
  background: #fff;
}

.public-flash--success,
.public-flash--info {
  border-left: 4px solid var(--notia-teal);
}

.public-flash--danger,
.public-flash--error {
  border-left: 4px solid #e57373;
}

/* ========== Nav ========== */
.public-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  padding: 0.85rem clamp(1rem, 4vw, 2rem);
  max-width: 1200px;
  margin: 0 auto;
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(2, 136, 209, 0.08);
}

.public-nav__brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: var(--notia-teal);
  font-weight: 700;
  font-size: 1.25rem;
}

.public-nav__logo {
  display: block;
  width: auto;
  height: 34px;
  max-width: min(140px, 42vw);
  object-fit: contain;
}

.public-nav__links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-left: auto;
}

.public-nav__links a {
  color: #4a5f63;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.2s;
}

.public-nav__links a:hover,
.public-nav__links a.is-active {
  color: var(--notia-blue);
}

.public-nav__cta--desktop {
  display: inline-flex;
}

.public-nav__cta {
  display: inline-flex;
  align-items: center;
  padding: 0.55rem 1.15rem;
  background: var(--notia-gradient-btn);
  color: #fff !important;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: 999px;
  white-space: nowrap;
  box-shadow: 0 4px 16px rgba(2, 136, 209, 0.35);
  transition: transform 0.15s, box-shadow 0.2s, filter 0.2s;
}

.public-nav__cta:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(13, 92, 99, 0.4);
}

.public-nav__menu {
  display: none;
  margin-left: auto;
  background: none;
  border: none;
  font-size: 1.25rem;
  color: var(--notia-teal);
  cursor: pointer;
  padding: 0.35rem;
}

/* ========== Landing hero ========== */
.landing-hero {
  width: 100%;
  padding: clamp(1rem, 4vw, 2rem) clamp(1rem, 4vw, 2rem) clamp(2.5rem, 7vw, 4rem);
}

.landing-hero__copy {
  position: relative;
  min-width: 0;
  max-width: min(540px, 52vw);
}

.landing-band--hero .landing-hero__badge {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.35rem 0.4rem;
  margin: 0 0 1rem;
  padding: 0.4rem 0.95rem;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(79, 195, 247, 0.35);
  color: #e8f7fa;
  border-radius: 999px;
  font-size: clamp(0.72rem, 2.5vw, 0.85rem);
  font-weight: 600;
  max-width: 100%;
}

.landing-band--hero .landing-hero__badge i {
  color: #c4b5fd;
}

.landing-band--hero .landing-hero__copy h1,
.landing-band--hero .landing-hero h1 {
  margin: 0 0 0.65rem;
  font-size: clamp(1.55rem, 5.5vw, 2.75rem);
  font-weight: 800;
  line-height: 1.2;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  background: none !important;
  text-shadow: var(--notia-text-shadow-dark);
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.landing-band--hero .landing-hero__name {
  margin: 0 0 1rem;
  font-size: clamp(1.05rem, 3vw, 1.35rem);
  font-weight: 600;
  color: #ffffff !important;
  letter-spacing: 0.02em;
  text-shadow: var(--notia-text-shadow-dark);
}

.landing-band--hero .landing-hero__name-full {
  font-weight: 500;
  color: rgba(248, 250, 252, 0.88) !important;
}

.landing-band--hero .landing-hero__rea {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin: 0 0 1.5rem;
  padding: 0.65rem 0.85rem;
  max-width: 32rem;
  font-size: clamp(0.82rem, 2.4vw, 0.92rem);
  line-height: 1.5;
  color: rgba(248, 250, 252, 0.9) !important;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(196, 181, 253, 0.25);
  border-radius: 0.5rem;
  text-shadow: var(--notia-text-shadow-dark);
}

.landing-band--hero .landing-hero__rea i {
  color: #c4b5fd;
  margin-top: 0.15rem;
  flex-shrink: 0;
}

.landing-band--hero .landing-hero__copy p,
.landing-band--hero .landing-hero__lead {
  margin: 0 0 1rem;
  font-size: clamp(0.95rem, 2.8vw, 1.1rem);
  line-height: 1.6;
  color: rgba(248, 250, 252, 0.92) !important;
  text-shadow: var(--notia-text-shadow-dark);
  max-width: 32rem;
}

.landing-band--hero .landing-hero__copy li {
  color: rgba(248, 250, 252, 0.88) !important;
}

.landing-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.landing-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.85rem 1.5rem;
  border-radius: 12px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.2s, background 0.2s;
}

.landing-btn--primary {
  background: var(--notia-gradient-btn);
  color: #fff;
  box-shadow: var(--notia-shadow-blue);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.landing-btn--primary:hover {
  filter: brightness(1.06);
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(2, 136, 209, 0.45);
}

.landing-btn--ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.45);
}

.landing-btn--ghost:hover {
  border-color: #4FC3F7;
  color: #4FC3F7;
  background: rgba(255, 255, 255, 0.08);
}

.landing-btn--outline-light {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.5);
  width: 100%;
}

.landing-btn--outline-light:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: #c4b5fd;
  color: #ffffff;
}

/* En tarjetas blancas de planes, botón outline oscuro legible */
.landing-band--pricing .landing-btn--outline-light {
  color: #0D5C63;
  border-color: #0D5C63;
  background: transparent;
}

.landing-band--pricing .landing-btn--outline-light:hover {
  background: rgba(13, 92, 99, 0.08);
  color: #0288D1;
  border-color: #0288D1;
}

.landing-btn--outline {
  background: transparent;
  color: var(--notia-teal);
  border-color: var(--notia-teal);
  width: 100%;
}

.landing-btn--outline:hover {
  background: rgba(13, 92, 99, 0.06);
}

.landing-btn--light {
  background: #fff;
  color: #0D5C63;
  font-weight: 700;
}

.landing-band--hero .landing-hero__trust {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  font-size: 0.88rem;
  color: var(--notia-text-muted-on-dark);
  text-shadow: var(--notia-text-shadow-dark);
}

.landing-band--hero .landing-hero__trust li {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.landing-band--hero .landing-hero__trust i {
  color: #c4b5fd;
}

/* Mockup — fondo blanco para buena lectura */
.landing-mockup {
  background: #ffffff;
  border-radius: var(--notia-radius);
  padding: clamp(1rem, 3vw, 1.5rem);
  box-shadow:
    0 4px 6px rgba(38, 50, 56, 0.04),
    0 12px 32px rgba(2, 136, 209, 0.12),
    0 20px 40px rgba(13, 92, 99, 0.08);
  border: 1px solid rgba(2, 136, 209, 0.14);
  position: relative;
  max-width: 100%;
}

.landing-mockup::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: calc(var(--notia-radius) + 2px);
  background: linear-gradient(135deg, rgba(167, 139, 250, 0.35), rgba(2, 136, 209, 0.35), rgba(13, 92, 99, 0.3));
  z-index: -1;
  opacity: 1;
}

.landing-mockup__bar {
  height: 10px;
  width: 45%;
  background: var(--notia-gradient-horizontal);
  border-radius: 6px;
  margin-bottom: 1.25rem;
  box-shadow: 0 2px 8px rgba(2, 136, 209, 0.35);
}

.landing-mockup__row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.65rem;
}

.landing-mockup__chip {
  flex: 1 1 calc(50% - 0.25rem);
  min-width: min(100%, 120px);
  padding: 0.65rem 0.75rem;
  background: #f1f5f9;
  border: 1px solid rgba(2, 136, 209, 0.1);
  border-radius: 8px;
  font-size: clamp(0.72rem, 2.5vw, 0.8rem);
  font-weight: 600;
  color: #37474f;
}

.landing-mockup__chip--ok {
  background: linear-gradient(135deg, rgba(38, 166, 154, 0.25) 0%, rgba(79, 195, 247, 0.15) 100%);
  color: #0d6b62;
  border: 1px solid rgba(38, 166, 154, 0.25);
}

.landing-mockup__chip--warn {
  background: linear-gradient(135deg, rgba(249, 199, 79, 0.35) 0%, rgba(255, 224, 130, 0.2) 100%);
  color: #7a5a10;
  border: 1px solid rgba(249, 199, 79, 0.35);
}

.landing-mockup__final {
  margin: 1rem 0 0;
  font-size: 0.95rem;
  color: #01579b;
  font-weight: 700;
}

/* Sections dentro de bandas */
.landing-section {
  padding: clamp(2.5rem, 8vw, 4rem) clamp(1rem, 4vw, 2rem);
  text-align: center;
}

.landing-band--features .landing-section h2 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.45rem, 5vw, 2rem);
  font-weight: 800;
  color: #084449;
  text-shadow: none;
}

.landing-band--features .landing-section__sub {
  margin: 0 auto clamp(2.5rem, 6vh, 3.75rem);
  max-width: 36rem;
  color: #475569;
  font-size: 1.05rem;
}

.landing-band--pricing .landing-section h2 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.45rem, 5vw, 2rem);
  font-weight: 800;
  color: #ffffff;
  text-shadow: var(--notia-text-shadow-dark);
}

.landing-band--pricing .landing-section__sub {
  margin: 0 auto 2rem;
  max-width: 36rem;
  color: var(--notia-text-muted-on-dark);
  font-size: 1.05rem;
  text-shadow: var(--notia-text-shadow-dark);
}

/* Panel blanco que delimita las tarjetas de funciones */
.landing-features-panel {
  position: relative;
  overflow: hidden;
  background: #ffffff;
  border-radius: 20px;
  padding: clamp(1.75rem, 4vh, 2.75rem);
  box-shadow:
    0 4px 6px rgba(13, 92, 99, 0.06),
    0 20px 48px rgba(13, 92, 99, 0.14);
  border: 1px solid rgba(13, 92, 99, 0.1);
  max-width: 1280px;
  margin: 0 auto;
  width: 100%;
}

.landing-features-panel .landing-features {
  position: relative;
  z-index: 1;
}

.landing-pricing-panel {
  position: relative;
  overflow: visible;
  display: grid;
  gap: 1.25rem;
  max-width: min(1120px, 100%);
  margin: 0 auto;
  padding: 1.25rem 0.25rem 0.25rem;
}

.landing-pricing-panel .landing-pricing {
  position: relative;
  z-index: 1;
}

.landing-features {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(0.75rem, 1.5vw, 1.15rem);
  text-align: left;
  width: 100%;
  align-items: stretch;
}

/* Tablet: 3 arriba + 2 abajo centradas */
@media (max-width: 1199px) {
  .landing-features {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .landing-features .landing-feature:nth-child(1),
  .landing-features .landing-feature:nth-child(2),
  .landing-features .landing-feature:nth-child(3) {
    grid-column: span 2;
  }

  .landing-features .landing-feature:nth-child(4) {
    grid-column: 2 / span 2;
  }

  .landing-features .landing-feature:nth-child(5) {
    grid-column: 4 / span 2;
  }
}

@media (max-width: 767px) {
  .landing-features {
    grid-template-columns: 1fr;
  }

  .landing-features .landing-feature:nth-child(n) {
    grid-column: auto;
  }
}

/* Tarjetas individuales bien delimitadas */
.landing-band--features .landing-feature {
  padding: clamp(1rem, 2vh, 1.35rem);
  border-radius: 14px;
  background: #f8fafc;
  border: 2px solid #e2e8f0;
  border-top-width: 4px;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.06);
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
  color: #1e293b;
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 210px;
}

.landing-feature--lilac {
  border-top-color: #a78bfa;
  background: linear-gradient(180deg, #faf5ff 0%, #f8fafc 35%);
}

.landing-feature--amber {
  border-top-color: #f59e0b;
  background: linear-gradient(180deg, #fffbeb 0%, #f8fafc 35%);
}

.landing-feature--purple {
  border-top-color: #7c3aed;
  background: linear-gradient(180deg, #f5f3ff 0%, #f8fafc 35%);
}

.landing-feature--blue {
  border-top-color: #0288D1;
  background: linear-gradient(180deg, #eff6ff 0%, #f8fafc 35%);
}

.landing-feature--teal {
  border-top-color: #0D5C63;
  background: linear-gradient(180deg, #ecfdf5 0%, #f8fafc 35%);
}

.landing-band--features .landing-feature:hover {
  transform: translateY(-4px);
  border-color: #cbd5e1;
  box-shadow: 0 12px 28px rgba(13, 92, 99, 0.12);
}

.landing-feature--lilac .landing-feature__icon {
  background: linear-gradient(135deg, #7c3aed, #a78bfa);
}

.landing-feature--amber .landing-feature__icon {
  background: linear-gradient(135deg, #d97706, #fbbf24);
}

.landing-feature--purple .landing-feature__icon {
  background: linear-gradient(135deg, #5b21b6, #8b5cf6);
}

.landing-feature--blue .landing-feature__icon {
  background: linear-gradient(135deg, #0288D1, #4FC3F7);
}

.landing-feature--teal .landing-feature__icon {
  background: linear-gradient(135deg, #0D5C63, #3DA6A6);
}

.landing-feature__icon {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  border-radius: 12px;
  font-size: 1.05rem;
  margin-bottom: 0.75rem;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
  flex-shrink: 0;
}

.landing-band--features .landing-feature h3 {
  margin: 0 0 0.45rem;
  font-size: clamp(0.85rem, 1vw, 0.98rem);
  font-weight: 700;
  line-height: 1.3;
  color: #0D5C63;
}

.landing-band--features .landing-feature p {
  margin: 0;
  font-size: clamp(0.78rem, 0.9vw, 0.84rem);
  line-height: 1.5;
  color: #475569;
  flex: 1;
}

/* Pricing */
.landing-pricing {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: 1.25rem;
  width: 100%;
  align-items: stretch;
}

.landing-band--pricing .landing-price-card {
  background: #ffffff;
  border-radius: var(--notia-radius);
  padding: clamp(1.25rem, 4vw, 2rem);
  text-align: left;
  border: 2px solid rgba(255, 255, 255, 0.35);
  position: relative;
  overflow: visible;
  width: 100%;
  max-width: 100%;
  color: #1e3a3f;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.landing-price-card {
  background: #ffffff;
  border-radius: var(--notia-radius);
  padding: clamp(1.25rem, 4vw, 2rem);
  text-align: left;
  border: 1px solid rgba(13, 92, 99, 0.1);
  position: relative;
  overflow: visible;
  width: 100%;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.landing-price-card__body {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
}

.landing-price-card__body ul {
  flex: 1 1 auto;
}

.landing-price-card__footer {
  flex-shrink: 0;
  margin-top: auto;
  padding-top: 1.25rem;
  width: 100%;
}

.landing-price-card__footer .landing-btn {
  width: 100%;
  justify-content: center;
}

.landing-band--pricing .landing-price-card::before,
.landing-price-card::before {
  content: none;
  display: none;
}

.landing-price-card--featured::before {
  content: none;
  display: none;
}

/* En planes: sin círculo blanco del panel (solo quedan esquinas de la banda) */
.landing-band--pricing .landing-panel__deco,
.landing-band--pricing .landing-panel__deco::after {
  display: none;
}

.landing-price-card > * {
  position: relative;
  z-index: 1;
}

.landing-price-card--featured {
  border: 2px solid transparent;
  background:
    linear-gradient(165deg, #ffffff 0%, #f5f3ff 100%) padding-box,
    linear-gradient(135deg, #a78bfa, #0288D1, #0D5C63) border-box;
  box-shadow: var(--notia-shadow-blue);
  padding-top: clamp(1.75rem, 4vw, 2.35rem);
}

.landing-price-card--lifetime {
  border: 2px solid rgba(0, 105, 92, 0.25);
  background: linear-gradient(165deg, #ffffff 0%, #f0fdf9 100%);
}

.landing-price-card__amount--lifetime {
  color: #00695c !important;
}

.landing-price-card--institutional {
  border: 2px solid rgba(2, 136, 209, 0.35);
  background: linear-gradient(165deg, #ffffff 0%, #f0f9ff 100%);
  padding-top: clamp(1.75rem, 4vw, 2.35rem);
}

.landing-price-card__amount--institutional {
  color: #0277bd !important;
  font-size: 2.15rem !important;
}

.landing-price-card__badge--institutional {
  background: linear-gradient(90deg, #0288d1, #0277bd);
  box-shadow: 0 4px 14px rgba(2, 119, 189, 0.4);
}

.landing-pricing-institutional-note {
  margin: 1.25rem 0 0;
  padding: 0.85rem 1rem;
  border-radius: var(--notia-radius);
  background: rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.95);
  font-size: 0.88rem;
  text-align: center;
  position: relative;
  z-index: 1;
}

.landing-price-card__badge {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  background: linear-gradient(90deg, #a78bfa, #7c3aed, #0288D1);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.3rem 0.85rem;
  border-radius: 999px;
  box-shadow: 0 4px 14px rgba(124, 58, 237, 0.45);
  z-index: 3;
  white-space: nowrap;
}

.landing-band--pricing .landing-price-card h3 {
  margin: 0.5rem 0 0;
  font-size: 1.25rem;
  color: #0D5C63;
}

.landing-band--pricing .landing-price-card__note,
.landing-band--pricing .landing-price-card li {
  color: #475569;
}

.landing-price-card h3 {
  margin: 0.5rem 0 0;
  font-size: 1.25rem;
  color: var(--notia-teal);
}

.landing-band--pricing .landing-price-card__amount {
  margin: 0.5rem 0 0;
  font-size: 2.5rem;
  font-weight: 800;
  color: #0288D1;
}

.landing-band--pricing .landing-price-card--featured .landing-price-card__amount {
  color: #0D5C63;
}

.landing-price-card__amount {
  margin: 0.5rem 0 0;
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--notia-teal-dark);
}

.landing-price-card__amount small {
  font-size: 1rem;
  font-weight: 500;
  color: #5a7075;
}

.landing-price-card__note {
  margin: 0 0 1.25rem;
  font-size: 0.9rem;
  color: #5a7075;
}

.landing-price-card ul {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
}

.landing-price-card li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  color: #4a5f63;
}

.landing-price-card li i {
  color: #26a69a;
  margin-top: 0.15rem;
}

.landing-band--cta .landing-cta-band,
.landing-cta-band {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-height: clamp(580px, 85vh, 940px);
  padding: clamp(2.5rem, 6vw, 4rem) clamp(1.25rem, 5vw, 3.5rem);
  color: #fff;
  width: 100%;
  overflow: hidden;
  background:
    radial-gradient(ellipse 70% 60% at 0% 90%, rgba(38, 198, 218, 0.28), transparent 50%),
    linear-gradient(115deg, #084449 0%, #0D5C63 28%, #0288D1 52%, #26C6DA 68%, #0D9488 85%);
}

.landing-cta-band__photo {
  position: absolute;
  inset: -2px 0 0;
  height: calc(100% + 2px);
  background-image: url('/static/img/landing/cta-maestra-notia.png');
  background-size: auto 100%;
  background-position: left center;
  background-repeat: no-repeat;
  z-index: 0;
}

.landing-cta-band__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(ellipse 70% 90% at 90% 18%, rgba(38, 198, 218, 0.45), transparent 58%),
    radial-gradient(ellipse 60% 75% at 78% 88%, rgba(16, 185, 129, 0.32), transparent 55%),
    linear-gradient(
      95deg,
      rgba(8, 68, 73, 0) 0%,
      rgba(13, 92, 99, 0.05) 36%,
      rgba(13, 92, 99, 0.28) 46%,
      rgba(2, 136, 209, 0.48) 54%,
      rgba(38, 198, 218, 0.62) 62%,
      rgba(13, 148, 136, 0.78) 72%,
      rgba(13, 92, 99, 0.92) 82%,
      #084449 92%
    );
  pointer-events: none;
}

.landing-cta-band__overlay::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.04) 0%,
    transparent 40%,
    rgba(0, 0, 0, 0.06) 100%
  );
  pointer-events: none;
}

.landing-cta-band__bubbles {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

.landing-cta-band__content {
  position: relative;
  z-index: 3;
  width: min(100%, 480px);
  margin-left: auto;
  margin-right: clamp(0rem, 3vw, 2rem);
  text-align: center;
}

.landing-cta-band h2,
.landing-cta-band p,
.landing-cta-band .landing-btn {
  position: relative;
  z-index: 1;
}

.landing-cta-band h2 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.35rem, 5vw, 1.85rem);
  font-weight: 800;
  padding: 0 0.5rem;
  color: #ffffff;
  text-shadow: 0 2px 14px rgba(4, 20, 30, 0.5);
}

.landing-cta-band p {
  margin: 0 0 1.5rem;
  color: rgba(255, 255, 255, 0.95);
  font-size: 1.05rem;
  text-shadow: 0 1px 10px rgba(4, 20, 30, 0.4);
}

.landing-cta-band .landing-btn--light {
  box-shadow: 0 8px 24px rgba(8, 68, 73, 0.25);
  font-weight: 700;
}

.landing-cta-band .landing-btn--light:hover {
  box-shadow: 0 12px 28px rgba(8, 68, 73, 0.35);
  transform: translateY(-2px);
}

@media (max-width: 767px) {
  .landing-cta-band {
    justify-content: center;
    align-items: flex-end;
    min-height: clamp(540px, 90vh, 800px);
  }

  .landing-cta-band__photo {
    background-size: auto 100%;
    background-position: 22% top;
  }

  .landing-cta-band__overlay {
    background:
      radial-gradient(ellipse 80% 50% at 50% 30%, rgba(38, 198, 218, 0.2), transparent 60%),
      linear-gradient(
        180deg,
        rgba(13, 92, 99, 0) 0%,
        rgba(13, 92, 99, 0.1) 30%,
        rgba(2, 136, 209, 0.42) 46%,
        rgba(38, 198, 218, 0.65) 56%,
        rgba(13, 148, 136, 0.88) 68%,
        #084449 100%
      );
  }

  .landing-cta-band__content {
    margin-left: 0;
    margin-right: 0;
    margin-top: auto;
    padding-bottom: 0.75rem;
  }
}

/* Footer */
.public-footer {
  padding: clamp(1.25rem, 4vw, 2rem);
  border-top: 1px solid rgba(2, 136, 209, 0.2);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.85) 0%, rgba(200, 236, 244, 0.95) 100%);
  backdrop-filter: blur(8px);
}

.public-footer--landing {
  background: linear-gradient(90deg, #5b21b6 0%, #0D5C63 42%, #0288D1 78%, #7c3aed 100%);
  border-top: 1px solid rgba(196, 181, 253, 0.25);
  padding: clamp(0.7rem, 2vw, 0.95rem) clamp(0.75rem, 2vw, 1.25rem);
}

.public-footer--landing .public-footer__inner {
  max-width: none;
  width: 100%;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0.75rem 1rem;
}

.public-footer--landing .public-footer__bar {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-start;
  gap: 0.85rem 1.25rem;
  flex: 1;
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: thin;
}

.public-footer--landing .public-footer__brand {
  color: #fff;
  flex-shrink: 0;
}

.public-footer--landing .public-footer__copy {
  margin: 0;
  color: rgba(232, 248, 252, 0.88);
  font-size: 0.72rem;
  line-height: 1.3;
  white-space: nowrap;
  flex-shrink: 0;
}

.public-footer--landing .public-footer__copy a {
  color: rgba(233, 213, 255, 0.95);
  text-decoration: none;
  font-weight: 600;
}

.public-footer--landing .public-footer__copy a:hover {
  color: #fff;
  text-decoration: underline;
}

.public-footer--landing .public-footer__links {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0.55rem 0.95rem;
  flex-shrink: 0;
  margin-left: auto;
}

.public-footer--landing .public-footer__links a {
  color: #e9d5ff;
  font-size: 0.78rem;
  white-space: nowrap;
}

.public-footer--landing .public-footer__links a:hover {
  color: #fff;
}

.public-footer__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  justify-content: space-between;
}

.public-footer__brand {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  text-decoration: none;
  color: var(--notia-teal);
  font-weight: 700;
}

.public-footer__logo {
  display: block;
  width: auto;
  height: 34px;
  max-width: min(130px, 40vw);
  object-fit: contain;
}

.public-footer--landing .public-footer__logo {
  height: 24px;
  max-width: min(96px, 32vw);
}

.public-footer__meta {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.public-footer__copy {
  margin: 0;
  font-size: 0.85rem;
  color: #5a7075;
}

.public-footer__powered {
  margin: 0;
  font-size: 0.72rem;
  color: #7a9095;
  letter-spacing: 0.02em;
}

.public-footer__powered a {
  color: var(--notia-blue);
  text-decoration: none;
  font-weight: 600;
}

.public-footer__powered a:hover {
  text-decoration: underline;
}

.public-footer--landing .public-footer__powered {
  color: rgba(232, 248, 252, 0.5);
}

.public-footer--landing .public-footer__powered a {
  color: rgba(233, 213, 255, 0.8);
}

.public-footer--landing .public-footer__powered a:hover {
  color: #fff;
}

.public-footer__links {
  display: flex;
  gap: 1.25rem;
}

.public-footer__links a {
  color: var(--notia-blue);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
}

/* ========== Auth (login / register) ========== */
.auth-back-home {
  max-width: 1040px;
  margin: 0 auto;
  padding: 1rem 1.5rem 0;
}

.auth-back-home a {
  color: var(--notia-teal);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.auth-back-home a:hover {
  color: var(--notia-blue);
}

.auth-page {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - 3rem);
  padding: 1rem 1.5rem 2.5rem;
}

.auth-card {
  display: grid;
  grid-template-columns: minmax(280px, 42%) 1fr;
  width: 100%;
  max-width: 1040px;
  min-height: 580px;
  background: #fff;
  border-radius: var(--notia-radius);
  box-shadow: var(--notia-shadow);
  overflow: hidden;
}

.auth-hero {
  position: relative;
  overflow: hidden;
  background: var(--notia-gradient-vivid);
  color: #fff;
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
}

/* Burbujas blancas semitransparentes (mismo lenguaje que sidebar / landing) */
.auth-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--notia-deco-bubbles);
  background-repeat: no-repeat;
  pointer-events: none;
  z-index: 0;
}

.auth-hero::after {
  content: '';
  position: absolute;
  bottom: -18%;
  left: -14%;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 0 50px rgba(255, 255, 255, 0.08);
  pointer-events: none;
  z-index: 0;
}

/* Burbuja extra — esquina superior derecha */
.auth-hero__bubble {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

.auth-hero__bubble--tr {
  top: -52px;
  right: -44px;
  width: 190px;
  height: 190px;
  background: rgba(255, 255, 255, 0.14);
  box-shadow: 0 0 55px rgba(255, 255, 255, 0.1);
}

.auth-hero__brand,
.auth-hero h1,
.auth-hero__lead,
.auth-hero__list {
  position: relative;
  z-index: 1;
}

.auth-hero__brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: #fff;
  font-weight: 700;
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

.auth-hero__logo {
  display: block;
  width: auto;
  height: 40px;
  max-width: min(160px, 55vw);
  object-fit: contain;
}

.auth-hero h1 {
  margin: 0 0 0.75rem;
  font-size: 1.65rem;
  font-weight: 800;
  line-height: 1.25;
}

.auth-hero__lead {
  margin: 0 0 1.5rem;
  font-size: 0.95rem;
  line-height: 1.55;
  opacity: 0.92;
}

.auth-hero__list {
  list-style: none;
  margin: auto 0 0;
  padding: 0;
}

.auth-hero__list li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  margin-bottom: 0.85rem;
  font-size: 0.9rem;
  line-height: 1.4;
}

.auth-hero__list i {
  color: var(--notia-blue-light);
  margin-top: 0.15rem;
  flex-shrink: 0;
}

.auth-hero__meta {
  position: relative;
  z-index: 1;
  margin-top: 1.5rem;
  padding-top: 1.15rem;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  flex-shrink: 0;
}

.auth-hero__copy {
  margin: 0;
  font-size: 0.72rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.75);
}

.auth-hero__powered {
  margin: 0.35rem 0 0;
  font-size: 0.68rem;
  color: rgba(255, 255, 255, 0.55);
  letter-spacing: 0.02em;
}

.auth-hero__powered a {
  color: rgba(232, 248, 252, 0.92);
  text-decoration: none;
  font-weight: 600;
}

.auth-hero__powered a:hover {
  color: #fff;
  text-decoration: underline;
}

.auth-hero__legal {
  display: flex;
  gap: 0.85rem;
  margin-top: 0.5rem;
  flex-wrap: wrap;
}

.auth-hero__legal a {
  font-size: 0.68rem;
  color: rgba(233, 213, 255, 0.88);
  text-decoration: none;
  font-weight: 500;
}

.auth-hero__legal a:hover {
  color: #fff;
  text-decoration: underline;
}

.auth-panel {
  padding: 2.5rem 2.25rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow-y: auto;
}

.auth-panel__header h2 {
  margin: 0 0 0.35rem;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--notia-teal-dark);
}

.auth-panel__header p {
  margin: 0 0 1.5rem;
  font-size: 0.95rem;
  color: #5a7075;
}

.auth-panel__header a {
  color: var(--notia-blue);
  font-weight: 600;
  text-decoration: none;
}

.auth-panel__header a:hover {
  text-decoration: underline;
}

.auth-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.auth-field label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: #3d5054;
}

.auth-field input {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid #d8e4e6;
  border-radius: 10px;
  font-size: 1rem;
  font-family: inherit;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.auth-field input:focus {
  outline: none;
  border-color: var(--notia-blue);
  box-shadow: 0 0 0 3px rgba(2, 136, 209, 0.15);
}

.auth-terms {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: #5a7075;
  cursor: pointer;
  line-height: 1.4;
}

.auth-terms input {
  margin-top: 0.2rem;
  flex-shrink: 0;
}

.auth-terms a {
  color: var(--notia-blue);
  font-weight: 600;
}

.auth-legal-note {
  margin: 1rem 0 0;
  font-size: 0.78rem;
  color: #7a9095;
  line-height: 1.45;
}

.auth-legal-note a {
  color: var(--notia-blue);
}

.auth-page-footer {
  padding: 1rem 1.5rem 1.5rem;
  text-align: center;
}

.auth-page-footer--minimal {
  background: transparent;
  border: none;
  padding: 0.75rem 1.5rem 1.25rem;
}

.auth-page-footer__copy {
  margin: 0;
  font-size: 0.78rem;
  color: #6b8288;
  line-height: 1.4;
}

.auth-page-footer--minimal .public-footer__powered {
  margin-top: 0.35rem;
  font-size: 0.7rem;
  color: #8a9da3;
}

.auth-page-footer--minimal .public-footer__powered a {
  color: #0d5c63;
  font-weight: 600;
}

.auth-page-footer--minimal .public-footer__powered a:hover {
  color: #0288d1;
}

.auth-oauth-form {
  margin: 0;
  width: 100%;
}

.auth-oauth-form .auth-oauth-btn {
  font-family: inherit;
  cursor: pointer;
}

/* Páginas legales */
body.public-body.public-body--legal {
  background: linear-gradient(160deg, #0d5c63 0%, #1a3a5c 45%, #2d1b4e 100%);
  min-height: 100vh;
  color: #f8fafc;
}

.legal-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.legal-page__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.5rem;
  max-width: 52rem;
  margin: 0 auto;
  width: 100%;
}

.legal-page__back {
  color: #ffffff;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}

.legal-page__back:hover {
  color: #e0f2fe;
  text-decoration: underline;
}

.legal-page__brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.legal-page__brand img {
  display: block;
  height: 30px;
  width: auto;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.35));
}

.legal-page__main {
  flex: 1;
  padding: 0 1rem 2rem;
  max-width: 52rem;
  margin: 0 auto;
  width: 100%;
}

.legal-page__card {
  background: #fff;
  border-radius: var(--notia-radius, 12px);
  padding: clamp(1.5rem, 4vw, 2.5rem);
  color: #1e3a3f;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

.legal-page__card h1 {
  font-size: clamp(1.5rem, 4vw, 2rem);
  margin-bottom: 0.35rem;
  color: #0d5c63;
}

.legal-page__updated {
  color: #64748b;
  font-size: 0.88rem;
  margin-bottom: 1.5rem;
}

.legal-page__card h2 {
  font-size: 1.05rem;
  margin: 1.5rem 0 0.5rem;
  color: #0d5c63;
}

.legal-page__card p,
.legal-page__card li {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #475569;
}

.legal-page__card ul {
  padding-left: 1.25rem;
}

.legal-page__card a {
  color: var(--notia-blue);
}

.legal-page__footer {
  margin-top: auto;
}

.legal-page__footer.public-footer--landing {
  background: transparent;
}

.public-footer__links--legal {
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
}

.legal-page__footer .public-footer__links a {
  color: rgba(255, 255, 255, 0.92);
  font-weight: 600;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.legal-page__footer .public-footer__links a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.auth-submit {
  width: 100%;
  padding: 0.9rem 1rem;
  margin-top: 0.25rem;
  border: none;
  border-radius: 10px;
  background: var(--notia-teal);
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: background 0.2s, transform 0.15s;
}

.auth-submit:hover {
  background: var(--notia-teal-dark);
  transform: translateY(-1px);
}

.auth-forgot {
  text-align: right;
  margin: -0.25rem 0 0;
}

.auth-forgot a {
  font-size: 0.85rem;
  color: var(--notia-blue);
  text-decoration: none;
}

.auth-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  margin-top: 0.5rem;
  font-size: 0.78rem;
  color: #7a9095;
}

.auth-trust span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.auth-divider {
  text-align: center;
  margin: 0.5rem 0 0;
  font-size: 0.85rem;
  color: #9aaeb2;
}

.auth-oauth-row {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.auth-oauth-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: 1.5px solid #e0ecee;
  border-radius: 12px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.auth-oauth-icon:hover {
  border-color: var(--notia-blue);
  box-shadow: 0 4px 12px rgba(2, 136, 209, 0.12);
}

.auth-oauth-icon img {
  width: 24px;
  height: 24px;
}

.auth-oauth-stack {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.auth-oauth-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid #e0ecee;
  border-radius: 10px;
  background: #fff;
  color: #333;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}

.auth-oauth-btn:hover {
  border-color: var(--notia-blue);
  background: #f8fcfd;
  box-shadow: 0 2px 8px rgba(2, 136, 209, 0.08);
}

.auth-oauth-btn img {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

/* Responsive — landing y auth */
@media (max-width: 992px) {
  .landing-band--hero {
    min-height: clamp(560px, auto, none);
  }

  .landing-band--hero .landing-hero {
    text-align: left;
  }

  .landing-hero__copy {
    max-width: 100%;
  }

  .landing-hero-band__photo {
    background-size: auto 72%;
    background-position: center bottom;
  }

  .landing-hero-band__overlay {
    background:
      radial-gradient(ellipse 90% 55% at 50% 100%, rgba(38, 198, 218, 0.22), transparent 58%),
      linear-gradient(
        180deg,
        rgba(8, 68, 73, 0.94) 0%,
        rgba(13, 92, 99, 0.88) 38%,
        rgba(2, 136, 209, 0.45) 52%,
        rgba(124, 58, 237, 0.2) 62%,
        rgba(8, 68, 73, 0.82) 100%
      );
  }

  .auth-card {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .auth-hero {
    padding: 2rem 1.5rem;
  }

  .auth-hero__list {
    margin-top: 1rem;
  }

  .auth-hero__meta {
    margin-top: 1.25rem;
  }
}

@media (max-width: 768px) {
  .public-nav__brand {
    font-size: 1.1rem;
    flex: 1;
    min-width: 0;
  }

  .public-nav__links,
  .public-nav__cta--desktop {
    display: none;
  }

  .public-nav__menu {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .public-nav__cta--mobile {
    display: inline-flex;
    font-size: 0.8rem;
    padding: 0.45rem 0.85rem;
    margin-left: auto;
    margin-right: 0.35rem;
  }

  .public-nav--open .public-nav__links,
  .public-nav--open .public-nav__cta--desktop {
    display: flex;
  }

  .public-nav--open {
    flex-wrap: wrap;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 8px 24px rgba(13, 92, 99, 0.1);
  }

  .public-nav--open .public-nav__links {
    flex-direction: column;
    width: 100%;
    order: 3;
    padding: 0.5rem 0 0.75rem;
    margin-left: 0;
    align-items: stretch;
  }

  .public-nav--open .public-nav__links a {
    padding: 0.5rem 0;
  }

  .public-nav--open .public-nav__cta--desktop {
    width: 100%;
    justify-content: center;
    order: 4;
    margin: 0 0 0.75rem;
  }

  .landing-hero__actions {
    flex-direction: column;
    width: 100%;
  }

  .landing-hero__actions .landing-btn {
    width: 100%;
  }

  .landing-hero__trust {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .landing-mockup__chip {
    flex: 1 1 100%;
  }

  .public-footer__inner {
    flex-direction: column;
    text-align: center;
  }

  .public-footer--landing .public-footer__inner {
    flex-wrap: wrap;
    justify-content: center;
  }

  .public-footer--landing .public-footer__bar {
    flex-wrap: wrap;
    justify-content: center;
    overflow-x: visible;
    width: 100%;
  }

  .public-footer--landing .public-footer__copy {
    white-space: normal;
    text-align: center;
  }

  .public-footer--landing .public-footer__links {
    margin-left: 0;
    justify-content: center;
    flex-wrap: wrap;
  }

  .public-footer__links {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .landing-band--hero .landing-hero {
    text-align: left;
  }

  .landing-price-card__amount {
    font-size: 2rem;
  }

  .auth-card {
    border-radius: 12px;
    margin: 0 0.25rem;
  }

  .auth-panel {
    padding: 1.75rem 1.25rem;
  }

  .auth-page {
    padding: 0.5rem 0.75rem 2rem;
    min-height: auto;
    align-items: flex-start;
  }
}

/* Nav: CTA móvil visible; menú desktop en pantallas grandes */
.public-nav__cta--mobile {
  display: none;
}

@media (min-width: 769px) {
  .public-nav__cta--mobile {
    display: none !important;
  }

  .public-nav__cta--desktop {
    display: inline-flex !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .landing-band__deco,
  .landing-band__deco::before,
  .landing-band__deco::after,
  .landing-panel__deco,
  .landing-visual-deco {
    opacity: 0.35;
  }
}
