/*General style */

* {
  box-sizing: border-box;
}

html, body {
  max-width: 100%;
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, sans-serif;
  font-size: 18px;
  text-align: justify;
  background-color: #ede8e6;
  color: #1c1c1c;
}

.content {
  padding: 24px 100px;
}

/* Global Containers*/

.main-container {
  max-width: 1420px;
  margin: auto;
  padding: 40px 24px;
}

/* Global animations */

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* 1.1 NAV BAR */

.navbar {
  width: 100%;
  background-color: hsl(40, 78%, 63%);
}

.navbar-inner {
  max-width: 1664px;
  margin: 0 auto;
  padding: 12px 100px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand p {
  margin: 0;
  font-weight: 700;
}

/* 1.2 NAV BUTTONS */

.nav-links {
  display: flex;
  align-items: center;
  gap: 40px;
}

.nav-btn,
.dropbtn {
  padding: 12px 18px;
  border-radius: 999px;
  text-decoration: none;
  background-color: #f7f4f2c1;
  border: none;
  color: #1c1c1c;
  font-size: 18px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.nav-btn:hover,
.dropbtn:hover {
  background-color: #1c1c1c;
  color: rgba(255, 255, 255, 0.75);
}

/* 1.3 DROPDOWN */

.dropdown {
  position: relative;
}

.dropdown-content {
  display: none;
  position: absolute;
  top: 52px;
  right: 0;
  background-color: white;
  padding: 16px;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
  min-width: 320px;
  z-index: 1000;

  grid-template-columns: repeat(9, 1fr);
  gap: 10px;
}

.dropdown-content.show {
  display: grid;
}

.dropdown-content a {
  padding: 12px;
  text-align: center;
  text-decoration: none;
  background: #f2f2f2;
  border-radius: 14px;
  font-size: 13px;
  color: #1c1c1c;
}

.dropdown-content a:hover {
  background-color: #1c1c1c;
  color: rgba(255, 255, 255, 0.8);
}

/* 2 HERO */

.hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 80px;
}

.hero-text {
  max-width: 600px;
}

.hero-text h1 {
  font-size: clamp(2.2rem, 6vw, 3.8rem);
  font-weight: 900;
  margin-bottom: 0.2em;
}

.hero-text h2 {
  font-size: clamp(1.4rem, 4vw, 2.5rem);
  font-weight: 700;
  margin-top: 0;
  margin-bottom: 0;
}

.hero-text h2 span {
  color: #2f6df6;
}

.hero-text p {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  line-height: 1.6;
  margin-bottom: 28px;
}

.hero-image img {
  width: min(650px, 80vw);
  height: auto;
}

/* 3. BUTTONS */

.cta-btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 999px;
  background-color: #2f6df6;
  color: white;
  text-decoration: none;
  font-weight: 500;
  font-size: 18px;
}

.cta-btn:hover {
  background-color: #103cb5;
}

/* 4. FOOTER */

footer {
  margin-top: 120px;
  text-align: center;
  font-size: 12px;
  color: #777;
  padding-bottom: 40px;
}

/* Espaciado para que el contenido no esté pegado */
.section-spacer {
    margin-bottom: 60px; /* Esto separa el video de las pestañas */
}

.tabs-wrapper {
    margin-top: 40px; /* Esto asegura espacio arriba de las pestañas */
}

/* Corregir la llave extra que tenías al final */
video {
    border-radius: 15px;
}

