 body {
    margin: 0;
    overflow-x: hidden;
    width: 100%;
}

    
/* HEADER */
.site-header {
  background: #000;
  padding: 1rem;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}
.logo img { max-width: 200px; height: auto; }

/* Botón hamburguesa siempre visible */
.menu-toggle {
  background: none;
  border: none;
  cursor: pointer;
  display: block;
  width: 2rem;
  height: 2rem;
  position: relative;
  margin-left: 1rem;
}
.hamburger,
.hamburger::before,
.hamburger::after {
  display: block;
  background: #fff;
  height: 3px;
  width: 100%;
  border-radius: 2px;
  position: absolute;
}
.hamburger { top: 50%; transform: translateY(-50%); }
.hamburger::before { content: ''; top: -8px; }
.hamburger::after  { content: ''; top: 8px; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.5rem;
}

/* Menú primario: hidden por defecto, mostrado con .nav-open */
.primary-nav {
  display: none;
  position: absolute;
  top: 100%;
  right: 2.2rem;
  background: #111;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  flex-direction: column;
  z-index: 1001;
}
.primary-nav.nav-open {
  display: flex;
}
.primary-nav ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: .8rem;
  padding: 5px;
}
.primary-nav a {
  padding: 0.75rem 1.5rem;
  text-decoration: none;
  color: #fff;
  font-weight: 500;
}

        .seccion {
      padding: 40px 0;
    }
    .seccion .texto {
      background: #f9f9f9;
      padding: 20px;
      border-radius: 10px;
    }
    .seccion .imagen img {
      max-width: 100%;
      border-radius: 10px;
    }

        .footer {
  background-color: rgba(12, 12, 12, 0.9);
  height: 80px;
  line-height: 80px;
  text-align: center;
  width: 100%;
}

.footer p {
  margin: 0;
  font-size: 13px;
  color: #fff;
  letter-spacing: 0.5px;
  font-weight: 300;
}

.footer p a {
  text-decoration: none;
  color: #fff;
  font-weight: 600;
}

/* === RESPONSIVE === */


/* Responsive para tablets y celulares grandes */
@media (max-width: 992px) {
  .header-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .primary-nav {
    top: 60px;
    right: 1rem;
  }

  .row.seccion {
    display: flex;
    flex-direction: column;
  }

  .col-sm-6 {
    width: 100%;
    padding: 0 !important;
  }

  .texto, .imagen {
    margin-bottom: 20px;
  }

  .menu-toggle {
    align-self: flex-end;
  }

  .logo img {
    max-width: 160px;
  }
}

/* Responsive para celulares medianos */
@media (max-width: 768px) {
  .header-inner {
    padding: 0 10px;
  }

  .texto, .imagen {
    text-align: center;
  }

  .primary-nav {
    right: 0.5rem;
  }

  h3 {
    font-size: 1.4em;
  }

  p {
    font-size: 1em;
  }
}

/* Responsive para celulares pequeños */
@media (max-width: 576px) {
  .header-inner {
    flex-direction: column;
  }

  .logo img {
    max-width: 140px;
  }

  .primary-nav a {
    padding: 0.6rem 1rem;
    font-size: 0.9rem;
  }

  h3 {
    font-size: 1.2em;
  }

  p {
    font-size: 0.95em;
  }

  .footer p {
    font-size: 12px;
    line-height: 1.4;
  }
}
