/* ======== ESTILOS SELBI MBA LANDING ======== */

:root {
  --negro: #0f172a;
  --gris: #334155;
  --gris-claro: #f1f5f9;
  --naranja: #f97316;
  --blanco: #ffffff;
}

* {
  box-sizing: border-box;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  background: var(--blanco);
  color: var(--negro);
}

.section {
  width: 100%;
  padding: 90px 20px;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
}

.hero {
  background: linear-gradient(180deg, #0f172a, #0b1220);
  color: white;
  text-align: center;
}

.hero-logo {
  max-width: 200px;
  height: auto;
  margin-bottom: 32px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.hero h1 {
  font-size: clamp(32px, 5vw, 64px);
  margin-bottom: 16px;
}

.hero-subtitle {
  font-size: 20px;
  color: #e5e7eb;
  line-height: 1.6;
  margin-bottom: 12px;
}

.hero-cta-text {
  font-size: 18px;
  color: #cbd5e1;
  margin-top: 24px;
  margin-bottom: 8px;
}

.hero-trust {
  font-size: 14px;
  color: #94a3b8;
  margin-top: 16px;
}

.hero-social-proof {
  display: inline-block;
  background: rgba(249, 115, 22, 0.1);
  color: #fbbf24;
  padding: 8px 20px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
  margin: 16px 0;
  border: 1px solid rgba(249, 115, 22, 0.3);
}

.social-proof-number {
  font-weight: 700;
  font-size: 16px;
}

.btn {
  display: inline-block;
  margin-top: 30px;
  padding: 16px 32px;
  background: var(--naranja);
  color: white;
  text-decoration: none;
  font-weight: 700;
  border-radius: 8px;
  transition: transform .1s ease, box-shadow .1s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(249,115,22,.35);
}

/* Historia */
.historia {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 40px;
  align-items: center;
}

.historia img {
  width: 100%;
  border-radius: 16px;
}

/* Listas */
.lista {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}

.card {
  background: var(--gris-claro);
  padding: 20px 24px;
  border-radius: 12px;
  line-height: 1.5;
}

.card-desc {
  font-size: 14px;
  color: var(--gris);
  margin-top: 4px;
  display: block;
}

.section-intro {
  text-align: center;
  color: var(--gris);
  margin-bottom: 32px;
  font-size: 18px;
}

/* Newsletter */
.newsletter-box {
  background: var(--gris-claro);
  padding: 48px 40px;
  border-radius: 16px;
  text-align: center;
}

.newsletter-intro {
  font-size: 18px;
  color: var(--gris);
  margin-bottom: 8px;
}

.newsletter-title {
  font-size: 24px;
  line-height: 1.4;
  margin: 16px 0;
}

.newsletter-subtitle {
  font-size: 16px;
  color: var(--gris);
  margin-bottom: 32px;
}

.newsletter-trust {
  font-size: 14px;
  color: var(--gris);
  margin-top: 20px;
}

.btn-hero {
  font-size: 18px;
  padding: 18px 40px;
}

.btn-submit {
  font-size: 16px;
  padding: 16px 36px;
}

.form-row {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-top: 20px;
  flex-wrap: wrap;
}

input {
  padding: 14px 14px;
  border-radius: 8px;
  border: 1px solid #cbd5e1;
  min-width: 240px;
  font-size: 16px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

input:focus {
  outline: none;
  border-color: var(--naranja);
  box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.1);
}

input:disabled {
  background-color: #f8f9fa;
  cursor: not-allowed;
}

input.error {
  border-color: #ef4444;
}

/* Botón del formulario */
button.btn {
  cursor: pointer;
  border: none;
}

button.btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

button.btn:disabled:hover {
  transform: none;
  box-shadow: none;
}

/* Mensajes del formulario */
.form-message {
  margin-top: 20px;
  padding: 12px 20px;
  border-radius: 8px;
  font-weight: 500;
}

.form-message.success {
  background-color: #d1fae5;
  color: #065f46;
  border: 1px solid #6ee7b7;
}

.form-message.error {
  background-color: #fee2e2;
  color: #991b1b;
  border: 1px solid #fca5a5;
}

/* Curso sección */
.bg-gris {
  background: var(--gris-claro);
}

.regalo-box {
  margin-top: 48px;
  text-align: center;
  background: white;
  padding: 40px;
  border-radius: 16px;
  border: 2px solid var(--naranja);
}

.regalo-badge {
  display: inline-block;
  background: var(--naranja);
  color: white;
  padding: 8px 20px;
  border-radius: 20px;
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 16px;
}

.regalo-title {
  font-size: 22px;
  margin: 16px 0;
  line-height: 1.4;
}

.regalo-desc {
  color: var(--gris);
  margin: 16px 0;
}

.regalo-features {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin: 20px 0 24px 0;
}

.regalo-feature {
  font-size: 14px;
  color: var(--gris);
  font-weight: 500;
}

.historia-cta {
  margin-top: 24px;
  font-size: 18px;
  line-height: 1.6;
}

.curso-lista {
  list-style: none;
  padding: 0;
  margin: 32px 0;
}

.curso-lista li {
  padding: 16px 0;
  padding-left: 32px;
  position: relative;
  line-height: 1.6;
}

.curso-lista li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--naranja);
  font-weight: bold;
  font-size: 20px;
}

.curso-cta {
  margin-top: 32px;
  font-size: 18px;
  line-height: 1.6;
  text-align: center;
}

/* FAQ */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: white;
  padding: 24px;
  border-radius: 12px;
  margin-bottom: 16px;
  border: 1px solid #e2e8f0;
  transition: box-shadow 0.2s ease;
}

.faq-item:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.faq-question {
  font-size: 18px;
  font-weight: 700;
  color: var(--negro);
  margin: 0 0 12px 0;
}

.faq-answer {
  color: var(--gris);
  line-height: 1.6;
  margin: 0;
}

.form-note {
  font-size: 13px;
  color: var(--gris);
  margin-top: 16px;
  line-height: 1.5;
}

.input-wrapper {
  position: relative;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* Footer */
.footer {
  background: var(--negro);
  color: white;
  padding: 80px 20px 40px;
  margin-top: 0;
}

.footer-content {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 50px;
  margin-top: 60px;
  margin-bottom: 50px;
}

.footer-section h4 {
  margin: 0 0 20px 0;
  color: var(--naranja);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.5px;
}

.footer-section p {
  margin: 8px 0;
  color: #cbd5e1;
  line-height: 1.7;
  font-size: 15px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: #cbd5e1;
  text-decoration: none;
  transition: color 0.2s ease;
  font-size: 15px;
  display: inline-block;
}

.footer-links a:hover {
  color: var(--naranja);
  transform: translateX(4px);
}

.footer-section a {
  color: #cbd5e1;
  text-decoration: none;
  transition: color 0.2s ease;
  font-size: 15px;
}

.footer-section a:hover {
  color: var(--naranja);
}

/* Mensaje de cierre personal */
.footer-closing {
  max-width: 1100px;
  margin: 0 auto;
  padding: 50px 40px;
  background: linear-gradient(135deg, rgba(249, 115, 22, 0.1), rgba(249, 115, 22, 0.05));
  border-left: 4px solid var(--naranja);
  border-radius: 12px;
  text-align: center;
}

.footer-closing p {
  margin: 0;
  color: #e2e8f0;
  line-height: 1.8;
  font-size: 17px;
}

.footer-closing p:first-child {
  margin-bottom: 20px;
  font-style: italic;
}

.footer-closing p:last-child {
  font-size: 18px;
  font-weight: 600;
  color: var(--naranja);
  margin-top: 12px;
  letter-spacing: 0.5px;
}

.footer-bottom {
  max-width: 1100px;
  margin: 0 auto;
  padding-top: 30px;
  text-align: center;
  color: #94a3b8;
  font-size: 14px;
}

.hero-personal {
  font-size: 18px;
  color: #cbd5e1;
  line-height: 1.6;
  margin: 20px 0;
  font-style: italic;
}

.porque-box {
  max-width: 700px;
  margin: 0 auto;
  background: white;
  padding: 40px;
  border-radius: 16px;
  line-height: 1.8;
}

.porque-box p {
  margin-bottom: 20px;
  font-size: 17px;
}

.porque-box p:last-child {
  margin-bottom: 0;
}

.selbi-team-box {
  max-width: 700px;
  margin: 0 auto;
  background: white;
  padding: 40px;
  border-radius: 16px;
  line-height: 1.8;
}

.selbi-team-box p {
  margin-bottom: 20px;
  font-size: 17px;
}

.selbi-team-box p:last-child {
  margin-bottom: 0;
}

.lanzamiento-badge {
  text-align: center;
  margin: 24px 0 32px 0;
}

.lanzamiento-text {
  display: inline-block;
  background: var(--naranja);
  color: white;
  padding: 10px 24px;
  border-radius: 20px;
  font-weight: 600;
  font-size: 15px;
}

/* Animaciones sutiles */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.section {
  animation: fadeInUp 0.6s ease-out;
}

.card {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Barra flotante */
.floating-bar {
	position: fixed;
	bottom: 0;
	left: 0;
	right: 0;
	background: white;
	border-top: 1px solid #e2e8f0;
	box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.1);
	padding: 16px 20px;
	z-index: 1000;
	transform: translateY(100%);
	transition: transform 0.3s ease;
}

.floating-bar.visible {
	transform: translateY(0);
}

.floating-bar-content {
	max-width: 1100px;
	margin: 0 auto;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	flex-wrap: wrap;
}

.floating-bar-text {
	margin: 0;
	font-size: 16px;
	font-weight: 600;
	color: var(--negro);
}

.btn-floating {
	margin: 0;
	padding: 12px 24px;
	font-size: 15px;
	white-space: nowrap;
}

/* Responsive */
@media (max-width: 900px) {
  .historia {
    grid-template-columns: 1fr;
  }

  .form-row {
    flex-direction: column;
  }

  input {
    width: 100%;
    min-width: auto;
  }

  .btn {
    width: 100%;
  }

  .hero-social-proof {
    font-size: 13px;
    padding: 6px 16px;
  }

  .social-proof-number {
    font-size: 15px;
  }

  .faq-item {
    padding: 20px;
  }

  .faq-question {
    font-size: 16px;
  }

  .floating-bar-content {
    flex-direction: column;
    text-align: center;
  }

  .floating-bar-text {
    font-size: 14px;
  }

  .btn-floating {
    width: 100%;
  }

  .footer {
    padding: 60px 20px 30px;
  }

  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 35px;
    margin-top: 40px;
    margin-bottom: 35px;
  }

  .footer-section {
    text-align: center;
  }

  .footer-section h4 {
    font-size: 18px;
  }

  .footer-closing {
    padding: 35px 25px;
    margin-bottom: 0;
  }

  .footer-closing p {
    font-size: 16px;
  }

  .footer-closing p:last-child {
    font-size: 17px;
    margin-top: 16px;
  }
}
