@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

body {
  background: #ffcc33;
  overflow-x: hidden;
}

/* ================= HEADER ================= */

header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  background: white;
}

nav {
  background: white;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  padding: 0 20px;
}

.logo {
  width: 160px;
}

.logo img {
  width: 100%;
  height: auto;
}

/* ================= MENU ================= */

.nav-menu {
  display: flex;
  list-style: none;
  gap: 15px;
}

.nav-menu-link {
  text-decoration: none;
  color: #333;
  padding: 8px 12px;
  border-radius: 4px;
}

.nav-menu-link:hover,
.nav-menu-link_active {
  background: black;
  color: white;
}

.nav-toggle {
  display: none;
  background: black;
  color: black;
  border: none;
  font-size: 28px;
  cursor: pointer;
}

/* ================= CONTENIDO ================= */

.contenedor {
  padding-top: 70px;
}

.catalogo,
.catalogoimagen {
  padding: 40px 10px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.catalogo {
  min-height: 100vh;
}

/* ================= FLIPBOOK ================= */

.flipbook {
  max-width: 100%;
}

.page img {
  width: 100%;
  height: auto;
  display: block;
}

/* ================= MOBILE ================= */

@media (max-width: 768px) {

  .nav-toggle {
    display: block;
  }

  .nav-menu {
    position: fixed;
    top: 70px;
    left: 100%;
    flex-direction: column;
    background: #2c3e50;
    width: 100%;
    height: calc(100vh - 70px);
    align-items: center;
    padding-top: 20px;
    transition: left 0.3s ease;
  }

  .nav-menu_visible {
    left: 0;
  }

  .nav-menu-link {
    color: white;
    font-size: 18px;
  }

  .catalogo {
    min-height: auto;
  }
}
/* ===== MENU MOBILE UX ===== */

.nav-toggle {
  display: none;
  font-size: 32px;
  background: black;
  color: white;
  border: none;
  padding: 6px 14px;
  border-radius: 6px;
  cursor: pointer;
}

/* Mobile */
@media (max-width: 768px) {

  .nav-toggle {
    display: block;
  }

  .nav-menu {
    position: fixed;
    inset: 70px 0 0 0;
    background: #1f2a38;
    flex-direction: column;
    justify-content: center;
    gap: 30px;
    transform: translateX(100%);
    transition: transform 0.35s ease;
    z-index: 999;
  }

  .nav-menu_visible {
    transform: translateX(0);
  }

  .nav-menu-link {
    font-size: 22px;
    color: white;
  }
}

/* Lock scroll when menu open */
body.menu-open {
  overflow: hidden;
}
.hero {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;

  display: flex;
  justify-content: center;
  align-items: center;
}

.hero img {
  width: 100%;
  max-width: 600px;   /* límite en desktop */
  height: auto;
  object-fit: contain;
}

/* Mobile */
@media (max-width: 768px) {
  .hero {
    padding: 20px 10px;
  }

  .hero img {
    max-width: 100%;  /* ocupa el ancho del móvil */
  }
}
.footer {
  background: #0f172a;
  color: white;
  padding: 80px 20px;
}

.footer-container {
  max-width: 900px;
  margin: 0 auto;
}

.footer h2 {
  font-size: 32px;
  margin-bottom: 30px;
  text-transform: uppercase;
}

.footer-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row {
  display: flex;
  gap: 20px;
}

.footer-form input,
.footer-form textarea {
  width: 100%;
  padding: 14px;
  border-radius: 6px;
  border: none;
  font-size: 16px;
}

.footer-form textarea {
  resize: none;
}

.footer-form button {
  align-self: flex-start;
  padding: 14px 32px;
  background: #ffcc33;
  color: black;
  border: none;
  font-size: 16px;
  font-weight: 600;
  border-radius: 6px;
  cursor: pointer;
  transition: 0.3s;
}

.footer-form button:hover {
  background: #e6b800;
}

.form-status {
  margin-top: 10px;
  font-size: 14px;
}
.catalogo-mobile {
  display: none;
  max-width: 520px;
  margin: 0 auto;
  padding: 24px 16px;
}

.catalogo-mobile img {
  width: 100%;
  height: auto;
  display: block;
  margin-bottom: 32px;
  border-radius: 12px;
}

/* Mobile */
@media (max-width: 768px) {
  .catalogo-mobile {
    display: block;
  }

  .catalogo-desktop {
    display: none;
  }
}