/* =====================
   RESET
===================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Inter, sans-serif;
  color: #0f172a;
  line-height: 1.6;
}

/* =====================
   CONTAINER
===================== */
.container {
  width: 90%;
  max-width: 1100px;
  margin: auto;
}

/* =====================
   NAVBAR
===================== */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: #ffffff;
  border-bottom: 1px solid #e5e7eb;
  z-index: 1000;
}

.nav-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
}

.logo {
  height: 44px;
  width: auto;
  display: block;
}

.menu a {
  margin-left: 24px;
  text-decoration: none;
  color: #0f172a;
  font-weight: 500;
}

/* =====================
   BOTONES (ARREGLADOS)
===================== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #2563eb;
  color: #fff !important;
  padding: 12px 20px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: 0.2s ease;
}

.btn-primary:hover {
  background: #1d4ed8;
}

/* =====================
   HERO (AJUSTADO)
===================== */
.hero {
  padding: 140px 0 80px; /* compensación navbar */
  background: #eef2ff;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 50px;
  align-items: center;
}

.hero-image {
  height: 360px;
  background: #dbeafe;
  border-radius: 16px;
}

/* =====================
   SECCIONES (MENOS VACÍO)
===================== */
.section {
  padding: 60px 0;
}

.alt {
  background: #eef2ff;
}

.dark {
  background: #0f172a;
  color: white;
}

.cta {
  background: #111827;
  color: white;
  text-align: center;
}

/* =====================
   DOS COLUMNAS
===================== */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.reverse {
  direction: rtl;
}

.reverse > * {
  direction: ltr;
}

.image {
  height: 320px;
  background: #e2e8f0;
  border-radius: 16px;
}

/* =====================
   CENTRADO
===================== */
.center {
  max-width: 750px;
  margin: auto;
  text-align: center;
}

.steps {
  margin-top: 20px;
  text-align: left;
  max-width: 450px;
  margin-left: auto;
  margin-right: auto;
}

/* =====================
   VIDEO (SIN ESPACIO MUERTO) E IMAGENES
===================== */
.video-wrapper {
  position: relative;
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
  border-radius: 16px;
  overflow: hidden;
}

.video-wrapper video {
  width: 100%;
  height: auto;
  display: block;
}

.image {
  height: 320px;
  border-radius: 16px;
  overflow: hidden;
}

.image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* =====================
   FOOTER
===================== */
.footer {
  padding: 30px 0;
  background: white;
  color: #0f172a;
  text-align: center;
}

/* =====================
   WHATSAPP STICKY (RESTAURADO)
===================== */
.whatsapp-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  background: #25D366;
  color: white;
  padding: 14px 18px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
  z-index: 999;
}

/* =====================
   RESPONSIVE
===================== */
@media(max-width:900px){
  .hero-grid,
  .two-col {
    grid-template-columns: 1fr;
  }

  .reverse {
    direction: ltr;
  }

  .hero {
    padding: 120px 0 60px;
  }
}