:root {
  --c-primary: #5B4FCF;
  --c-secondary: #FF6B6B;
  --c-accent: #FFD166;
  --c-green: #06D6A0;
  --c-blue: #4CC9F0;
  --c-bg: #F8F4FF;
  --c-dark: #1A1433;
  --c-text: #2D2554;
  --c-muted: #7B72A8;
  --radius: 20px;
  --radius-sm: 12px;
  --shadow: 0 8px 32px rgba(91,79,207,0.13);
  --shadow-lg: 0 16px 48px rgba(91,79,207,0.18);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Nunito', sans-serif;
  background: var(--c-bg);
  color: var(--c-text);
  overflow-x: hidden;
}

/* ── NAVBAR ── */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(248, 244, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 2px solid rgba(91, 79, 207, 0.08);
  padding: 0 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.nav-logo {
  font-family: 'Baloo 2', cursive;
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--c-primary);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-logo span {
  color: var(--c-secondary);
}

.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
}

.nav-links a {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--c-muted);
  text-decoration: none;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--c-primary);
}

.btn-nav {
  background: var(--c-primary);
  color: #fff;
  border: none;
  border-radius: 50px;
  padding: 10px 24px;
  font-family: 'Nunito', sans-serif;
  font-size: 0.95rem;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s;
  text-decoration: none;
}

.btn-nav:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(91, 79, 207, 0.3);
}

/* ── HERO ── */
#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 100px 5% 60px;
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: linear-gradient(135deg, rgba(0,0,0,0.4), rgba(0,0,0,0.2)), url('image/Aventuras de fantasía en chibi.png');
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

.hero-shapes {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.shape {
  position: absolute;
  border-radius: 50%;
  animation: float 6s ease-in-out infinite;
}

.shape-1 {
  width: 80px;
  height: 80px;
  background: var(--c-accent);
  opacity: 0.35;
  top: 12%;
  left: 8%;
  animation-delay: 0s;
}

.shape-2 {
  width: 50px;
  height: 50px;
  background: var(--c-green);
  opacity: 0.4;
  top: 70%;
  left: 15%;
  animation-delay: 1s;
}

.shape-3 {
  width: 60px;
  height: 60px;
  background: var(--c-blue);
  opacity: 0.3;
  top: 20%;
  right: 12%;
  animation-delay: 2s;
}

.shape-4 {
  width: 35px;
  height: 35px;
  background: var(--c-secondary);
  opacity: 0.4;
  bottom: 25%;
  right: 20%;
  animation-delay: 1.5s;
}

.shape-5 {
  width: 100px;
  height: 100px;
  background: var(--c-primary);
  opacity: 0.08;
  top: 50%;
  left: 40%;
  animation-delay: 0.5s;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-18px) rotate(8deg);
  }
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 560px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  border-radius: 50px;
  padding: 6px 16px;
  font-size: 0.82rem;
  font-weight: 800;
  margin-bottom: 20px;
  animation: fadeUp 0.6s ease both;
}

.badge-dot {
  width: 8px;
  height: 8px;
  background: var(--c-green);
  border-radius: 50%;
  animation: pulse 1.5s ease infinite;
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.4);
  }
}

h1 {
  font-family: 'Baloo 2', cursive;
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 18px;
  animation: fadeUp 0.6s 0.1s ease both;
  color: #fff;
}

h1 em {
  font-style: normal;
  color: #FFD166;
}

h1 .highlight {
  position: relative;
  color: #FFD166;
  display: inline-block;
}

h1 .highlight::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--c-accent);
  border-radius: 2px;
  opacity: 0.7;
}

.hero-desc {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.95);
  line-height: 1.7;
  margin-bottom: 32px;
  animation: fadeUp 0.6s 0.2s ease both;
}

.hero-ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  animation: fadeUp 0.6s 0.3s ease both;
}

.btn-primary {
  background: var(--c-primary);
  color: #fff;
  border: none;
  border-radius: 50px;
  padding: 16px 36px;
  font-family: 'Nunito', sans-serif;
  font-size: 1.05rem;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s;
  box-shadow: 0 6px 24px rgba(91, 79, 207, 0.35);
  text-decoration: none;
  display: inline-block;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 32px rgba(91, 79, 207, 0.45);
}

.btn-secondary {
  background: transparent;
  color: var(--c-primary);
  border: 2px solid var(--c-primary);
  border-radius: 50px;
  padding: 14px 32px;
  font-family: 'Nunito', sans-serif;
  font-size: 1.05rem;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.15s;
  text-decoration: none;
  display: inline-block;
}

.btn-secondary:hover {
  background: var(--c-primary);
  color: #fff;
}

.btn-login {
  background: linear-gradient(135deg, var(--c-accent), #ffb700);
  color: #000;
  border: none;
  border-radius: 50px;
  padding: 14px 32px;
  font-family: 'Nunito', sans-serif;
  font-size: 1.05rem;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  display: inline-block;
  box-shadow: 0 8px 20px rgba(255, 209, 102, 0.4);
  position: relative;
  overflow: hidden;
}

.btn-login::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.5s ease;
}

.btn-login:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(255, 209, 102, 0.6), 0 0 30px rgba(255, 209, 102, 0.4);
}

.btn-login:hover::before {
  left: 100%;
}

.btn-login:active {
  transform: translateY(-1px);
}

.hero-visual {
  position: absolute;
  right: 5%;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1;
  animation: fadeUp 0.7s 0.2s ease both;
  width: 350px;
}

.hero-showcase {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.showcase-item {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(91, 79, 207, 0.15);
}

.showcase-header {
  background: linear-gradient(135deg, #5B4FCF 0%, #FF6B6B 100%);
  color: #fff;
  padding: 12px 16px;
  font-size: 0.85rem;
  font-weight: 800;
  text-align: center;
  letter-spacing: 0.05em;
}

.showcase-image {
  width: 100%;
  height: 180px;
  background-size: cover;
  background-position: center;
}

.showcase-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  padding: 16px;
}

.stat-badge {
  background: var(--c-bg);
  border-radius: 12px;
  padding: 14px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.stat-big {
  font-family: 'Baloo 2', cursive;
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--c-primary);
  display: block;
}

.stat-label {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--c-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ── SECTION STYLES ── */
section {
  padding: 90px 5%;
}

.section-tag {
  display: inline-block;
  background: rgba(91, 79, 207, 0.08);
  color: var(--c-primary);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 50px;
  padding: 5px 14px;
  margin-bottom: 14px;
}

.section-title {
  font-family: 'Baloo 2', cursive;
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 14px;
}

.section-sub {
  font-size: 1.05rem;
  color: var(--c-muted);
  line-height: 1.7;
  max-width: 600px;
  margin-bottom: 48px;
}

/* ── PROBLEMA ── */
#problema {
  background: var(--c-dark);
  color: #fff;
}

#problema .section-tag {
  background: rgba(255, 107, 107, 0.2);
  color: #FF9A9A;
}

#problema .section-title {
  color: #fff;
}

#problema .section-sub {
  color: rgba(255, 255, 255, 0.65);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-bottom: 48px;
}

.stat-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  padding: 28px 24px;
  text-align: center;
  transition: transform 0.2s, border-color 0.2s;
}

.stat-card:hover {
  transform: translateY(-4px);
  border-color: rgba(91, 79, 207, 0.5);
}

.stat-card-num {
  font-family: 'Baloo 2', cursive;
  font-size: 2.8rem;
  font-weight: 800;
  margin-bottom: 6px;
}

.stat-card-label {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.4;
}

.problem-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}

.problem-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: rgba(255, 107, 107, 0.08);
  border: 1px solid rgba(255, 107, 107, 0.2);
  border-radius: var(--radius-sm);
  padding: 20px;
}

.problem-icon {
  font-size: 1.6rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.problem-item h4 {
  font-size: 0.95rem;
  font-weight: 800;
  color: #FF9A9A;
  margin-bottom: 4px;
}

.problem-item p {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.5;
}

/* ── SOLUCIÓN ── */
#solucion {
  background: #fff;
}

.solution-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.solution-features {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.feat-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  border-radius: var(--radius-sm);
  background: var(--c-bg);
  border: 1.5px solid transparent;
  transition: border-color 0.2s, transform 0.2s;
  cursor: default;
}

.feat-item:hover {
  border-color: var(--c-primary);
  transform: translateX(6px);
}

.feat-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.feat-item h4 {
  font-size: 0.95rem;
  font-weight: 800;
  margin-bottom: 4px;
}

.feat-item p {
  font-size: 0.82rem;
  color: var(--c-muted);
  line-height: 1.5;
}

.solution-visual {
  background: linear-gradient(135deg, #5B4FCF 0%, #7C6EE8 100%);
  border-radius: 28px;
  padding: 40px 32px;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.solution-visual::before {
  content: '';
  position: absolute;
  top: -40px;
  right: -40px;
  width: 180px;
  height: 180px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
}

.solution-visual::after {
  content: '';
  position: absolute;
  bottom: -60px;
  left: -30px;
  width: 220px;
  height: 220px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
}

.solution-visual h3 {
  font-family: 'Baloo 2', cursive;
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

.tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  position: relative;
  z-index: 1;
}

.tech-tag {
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50px;
  padding: 6px 14px;
  font-size: 0.82rem;
  font-weight: 700;
}

.wcag-badge {
  margin-top: 24px;
  position: relative;
  z-index: 1;
  background: rgba(6, 214, 160, 0.2);
  border: 1.5px solid rgba(6, 214, 160, 0.4);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.wcag-badge span {
  font-size: 1.2rem;
}

.wcag-badge p {
  font-size: 0.82rem;
  font-weight: 700;
  color: #a8ffdf;
  line-height: 1.4;
}

/* ── GALERÍA VISUAL ── */
#galeria {
  background: #fff;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
}

.gallery-item {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
  cursor: pointer;
}

.gallery-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.gallery-image {
  width: 100%;
  height: 160px;
  background-size: cover;
  background-position: center;
}

.gallery-item h3 {
  font-family: 'Baloo 2', cursive;
  font-size: 1rem;
  font-weight: 800;
  padding: 16px 14px 6px;
  color: var(--c-text);
}

.gallery-item p {
  font-size: 0.82rem;
  color: var(--c-muted);
  padding: 0 14px 14px;
  line-height: 1.4;
}

/* ── TESTIMONIOS ── */
.testimonials-section {
  background: var(--c-bg);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.testimonial-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow);
  border-left: 4px solid var(--c-primary);
  transition: transform 0.2s, box-shadow 0.2s;
}

.testimonial-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.testimonial-stars {
  font-size: 1.1rem;
  margin-bottom: 12px;
  letter-spacing: 2px;
}

.testimonial-text {
  font-size: 0.95rem;
  color: var(--c-text);
  line-height: 1.6;
  margin-bottom: 16px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(91, 79, 207, 0.1);
}

.author-emoji {
  font-size: 1.8rem;
}

.testimonial-author strong {
  display: block;
  font-size: 0.9rem;
  color: var(--c-text);
}

.testimonial-author span {
  display: block;
  font-size: 0.78rem;
  color: var(--c-muted);
  margin-top: 2px;
}

/* ── COMPATIBILIDAD ── */
.compatibility-section {
  background: #fff;
}

.research-section {
  background: var(--c-bg);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.feature-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 32px 24px;
  box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
  border: 2px solid transparent;
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--c-primary);
}

.fc-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 18px;
}

.feature-card h3 {
  font-family: 'Baloo 2', cursive;
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.feature-card p {
  font-size: 0.88rem;
  color: var(--c-muted);
  line-height: 1.6;
}

/* ── BENEFICIOS ── */
#beneficios {
  background: #fff;
}

.audience-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 36px;
  border-bottom: 2px solid rgba(91, 79, 207, 0.1);
  padding-bottom: 0;
}

.tab-btn {
  background: none;
  border: none;
  cursor: pointer;
  font-family: 'Nunito', sans-serif;
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--c-muted);
  padding: 10px 20px;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  transition: color 0.2s, border-color 0.2s;
}

.tab-btn.active {
  color: var(--c-primary);
  border-bottom-color: var(--c-primary);
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.benefit-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 18px;
  border-radius: var(--radius-sm);
  border: 1.5px solid rgba(91, 79, 207, 0.1);
  background: var(--c-bg);
}

.benefit-check {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--c-green);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  color: #fff;
  font-weight: 900;
  margin-top: 1px;
}

.benefit-item h4 {
  font-size: 0.92rem;
  font-weight: 800;
  margin-bottom: 3px;
}

.benefit-item p {
  font-size: 0.82rem;
  color: var(--c-muted);
  line-height: 1.4;
}

/* ── DEMO ── */
#demo {
  background: var(--c-dark);
  color: #fff;
  text-align: center;
}

#demo .section-tag {
  background: rgba(76, 201, 240, 0.15);
  color: #4CC9F0;
}

#demo .section-title {
  color: #fff;
}

#demo .section-sub {
  color: rgba(255, 255, 255, 0.6);
  margin: 0 auto 48px;
}

.screens-row {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.screen-mockup {
  background: rgba(255, 255, 255, 0.05);
  border: 1.5px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  padding: 20px;
  width: 220px;
  transition: transform 0.2s, border-color 0.2s;
  cursor: pointer;
}

.screen-mockup:hover {
  transform: translateY(-8px);
  border-color: var(--c-blue);
}

.screen-preview {
  height: 140px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.8rem;
  margin-bottom: 12px;
}

.screen-label {
  font-size: 0.82rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.7);
}

/* ── RESPALDO ── */
#respaldo {
  background: var(--c-bg);
}

.science-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 40px;
}

.science-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow);
  border-left: 5px solid var(--c-primary);
}

.science-card.green {
  border-left-color: var(--c-green);
}

.science-card.orange {
  border-left-color: #FF9F43;
}

.science-card.blue {
  border-left-color: var(--c-blue);
}

.science-card blockquote {
  font-size: 0.92rem;
  font-style: italic;
  color: var(--c-text);
  line-height: 1.6;
  margin-bottom: 12px;
}

.science-card cite {
  font-size: 0.78rem;
  color: var(--c-muted);
  font-style: normal;
  font-weight: 700;
}

.institution-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fff;
  border-radius: var(--radius);
  padding: 24px 32px;
  box-shadow: var(--shadow);
  flex-wrap: wrap;
  gap: 16px;
}

.inst-item {
  text-align: center;
}

.inst-item .inst-emoji {
  font-size: 2rem;
  display: block;
  margin-bottom: 6px;
}

.inst-item strong {
  display: block;
  font-size: 0.88rem;
  font-weight: 800;
}

.inst-item span {
  font-size: 0.75rem;
  color: var(--c-muted);
}

/* ── TECNOLOGÍA ── */
#tecnologia {
  background: #fff;
}

.tech-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
}

.tech-card {
  border: 1.5px solid rgba(91, 79, 207, 0.12);
  border-radius: var(--radius-sm);
  padding: 24px 18px;
  text-align: center;
  transition: border-color 0.2s, transform 0.2s;
}

.tech-card:hover {
  border-color: var(--c-primary);
  transform: translateY(-4px);
}

.tech-card-icon {
  font-size: 2.2rem;
  margin-bottom: 10px;
}

.tech-card h4 {
  font-size: 0.92rem;
  font-weight: 800;
  margin-bottom: 4px;
}

.tech-card p {
  font-size: 0.78rem;
  color: var(--c-muted);
}

/* ── CTA ── */
#cta {
  background: linear-gradient(135deg, #5B4FCF 0%, #7C6EE8 60%, #4CC9F0 100%);
  color: #fff;
  text-align: center;
  padding: 100px 5%;
  position: relative;
  overflow: hidden;
}

#cta::before {
  content: '';
  position: absolute;
  top: -80px;
  left: -80px;
  width: 300px;
  height: 300px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 50%;
}

#cta::after {
  content: '';
  position: absolute;
  bottom: -100px;
  right: -60px;
  width: 400px;
  height: 400px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 50%;
}

#cta .section-title {
  color: #fff;
  margin-bottom: 16px;
}

#cta .section-sub {
  color: rgba(255, 255, 255, 0.8);
  margin: 0 auto 40px;
}

.cta-form {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
  margin-bottom: 32px;
}

.cta-input {
  padding: 16px 24px;
  border-radius: 50px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  font-family: 'Nunito', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  outline: none;
  width: 280px;
  backdrop-filter: blur(8px);
}

.cta-input::placeholder {
  color: rgba(255, 255, 255, 0.65);
}

.cta-input:focus {
  border-color: rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.22);
}

.btn-cta {
  background: var(--c-accent);
  color: var(--c-dark);
  border: none;
  border-radius: 50px;
  padding: 16px 36px;
  font-family: 'Nunito', sans-serif;
  font-size: 1rem;
  font-weight: 900;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s;
  box-shadow: 0 6px 24px rgba(255, 209, 102, 0.4);
}

.btn-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 32px rgba(255, 209, 102, 0.55);
}

.cta-trust {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-trust-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.75);
  font-weight: 700;
}

/* ── FOOTER ── */
footer {
  background: var(--c-dark);
  color: rgba(255, 255, 255, 0.55);
  padding: 48px 5% 32px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 32px;
  margin-bottom: 40px;
}

.footer-brand .nav-logo {
  color: #fff;
  margin-bottom: 10px;
  display: block;
}

.footer-brand p {
  font-size: 0.82rem;
  line-height: 1.6;
  max-width: 260px;
}

.footer-links h5 {
  color: #fff;
  font-size: 0.85rem;
  font-weight: 800;
  margin-bottom: 14px;
}

.footer-links ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  font-size: 0.82rem;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.78rem;
}

.wcag-small {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(6, 214, 160, 0.15);
  border: 1px solid rgba(6, 214, 160, 0.3);
  color: #7fffd4;
  border-radius: 6px;
  padding: 4px 10px;
  font-size: 0.72rem;
  font-weight: 700;
}

/* ── CARACTERÍSTICAS ── */
#caracteristicas {
  background: var(--c-bg);
}

#galeria {
  background: #fff;
}

#compatibilidad {
  background: #fff;
}
@media (max-width: 900px) {
  .hero-visual {
    display: none;
  }
  h1 {
    font-size: 2.2rem;
  }
  .solution-grid {
    grid-template-columns: 1fr;
  }
  .science-grid {
    grid-template-columns: 1fr;
  }
  .tab-content.active {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  nav {
    padding: 0 4%;
  }
  .nav-links {
    display: none;
  }
  section {
    padding: 60px 5%;
  }
  .hero-ctas {
    flex-direction: column;
  }
  .btn-primary,
  .btn-secondary {
    text-align: center;
  }
  .institution-bar {
    flex-direction: column;
    align-items: center;
  }
  .footer-top {
    flex-direction: column;
  }
}

/* ── SCROLL ANIMATION ── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
