* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.ir-arriba {
    padding: 20px;
    background: #fffffa;
    font-size: 24px;
    color: #000040;
    cursor: pointer;
    position: fixed;
    bottom: 20px;
    right: 20px;
    border-radius: 5px;    
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    background-color: #f8f8f8;
    color: #333;
}

.logo-bandera-telas-valencia img {
    width: 40px;
    height: 30px;
}

.header {
    display: none;
    width: 100%;
    background: #fffffa;
    height: 82px;
    z-index: 1000;
    align-items: center;
    justify-content: space-between;
    padding: 0 15px;
}

.logo-principal{
    display: flex;
    align-items: center;
}

.logo-principal img {
    width: 274px;
    max-width: 100%;
    border-radius: 10px;
}

.menuderecho {
    width: 40%;
    display: flex;
    align-items: center;
    justify-content: space-around;
    font-size: 0.9rem;
}

.hero {
    background-image: url(portada-telas-y-papeles-valencia.jpg);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    height: 90vh;
    text-align: center;
    padding: 40px 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: white;
}

.hero-title {
    color: black;
    background: white;
    opacity: 0.6;
    font-size: 2.2rem;
    padding: 10px;
    margin-bottom: 20px;
    border-radius: 5px;
    max-width: 90%;
    margin-left: auto;
    margin-right: auto;
}

.hero-subtitle {
    color: white;
    background: black;
    opacity: 0.6;
    font-size: 1.2rem;
    margin-top: 10px;
    padding: 10px;
    border-radius: 5px;
    max-width: 90%;
    margin-left: auto;
    margin-right: auto;
}
/*
.nav {
    position: sticky;
    top: 0;
    width: 100%;
    height: 65px;
    background-color: #000040;
    z-index: 3000;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    border-bottom: 1px solid #ccc;
}
*/
.nav-list {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 20px;
    padding: 0;
    margin: 0;
    align-items: center;
}

.nav-list li {
    display: flex;
    align-items: center;
}

.nav-link {
    color: white;
    text-decoration: none;
    font-weight: bold;
    font-size: 1rem;
    line-height: 1;
    padding: 10px 12px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    transition: color 0.3s ease, background-color 0.3s ease;
}

.nav-link:hover {
    color: silver;
    background-color: rgba(255, 255, 255, 0.1);
}

.section {
    width: 90%;
    max-width: 1000px;
    margin: 40px auto;
    padding: 20px;
    background-color: white;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0,0,0,0.05);
}

.section-title {
    font-size: 1.6rem;
    margin-bottom: 15px;
    color: #222;
}

.section-text {
    font-size: 1rem;
    color: #444;
}

.subsection {
    margin-top: 30px;
}

.subsection-title {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: #444;
}

.subsection-text {
    margin-bottom: 15px;
    color: #555;
}

.image-group {
    width: 100%;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 20px;
}

.image-group img {
    max-width: 300px;
    width: 100%;
    height: auto;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.benefits-list {
    margin-top: 15px;
    padding-left: 20px;
    font-size: 1rem;
    color: #444;
}

.footer {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    background-color: #9c8f73;
    color: white;
    text-align: center;
    padding: 30px 10px;
    margin-top: 40px;
}

.footer-producto {
    width: 90%;
    max-width: 280px;
    color: #000040;
    margin: 10px;
    height: 200px;
    background: white;
    border-radius: 6px;
    padding: 15px;
    box-sizing: border-box;
}

.footer-text {
    font-size: 14px;
}

.footer-producto img {
    width: 25%;
    margin: 5px;
    border-radius: 5px;
}

.logo{
    opacity: 0;
    transition: opacity 0.3s ease;
}

.nav.stuck .logo{
    opacity: 1;
}

.logodesktop {
    display: none;
    align-items: center;
}

.logodesktop img {
    border-radius: 3px;
}

.whatsapp-telas-y-papeles-valencia {
    display: flex;
    justify-content: center;
    position: fixed;
    bottom: 15px;
    left: 15px;
    z-index: 5;
}

@media (min-width: 768px) {
    .header {
        display: flex;
        padding: 0 20px;
    }

    .hero-title {
        font-size: 3rem;
    }

    .hero-subtitle {
        font-size: 1.7rem;
    }

    .nav-list {
        width: 60%;
        gap: 25px;
    }

    .footer-producto {
        width: 20%;
        max-width: none;
        height: 200px;
        margin: 10px;
    }

    .logodesktop {
        display: flex;
    }
}

@media (min-width: 1024px) {
    .header {
        padding: 0 80px;
    }

    .hero-title {
        font-size: 3.5rem;
    }

    .hero-subtitle {
        font-size: 2rem;
    }
}


/*menu amburquesa */

.nav-toggle {
  background: none;
  border: none;
  cursor: pointer;
  display: block;
  width: 30px;
  height: 24px;
  position: relative;
  z-index: 4000;
  margin-left: 15px;
}

.hamburger,
.hamburger::before,
.hamburger::after {
  content: "";
  display: block;
  background-color: white;
  height: 3px;
  border-radius: 2px;
  position: absolute;
  width: 100%;
  transition: 0.3s ease;
}

.hamburger {
  top: 50%;
  transform: translateY(-50%);
}

.hamburger::before {
  top: -8px;
}

.hamburger::after {
  top: 8px;
}

.nav-toggle.open .hamburger {
  background-color: transparent;
}

.nav-toggle.open .hamburger::before {
  transform: rotate(45deg);
  top: 0;
}

.nav-toggle.open .hamburger::after {
  transform: rotate(-45deg);
  top: 0;
}

@media (max-width: 767px) {
  .nav-list {
    display: none;
    flex-direction: column;
    background-color: #000040;
    position: fixed;
    top: 65px;
    left: 0;
    width: 100%;
    padding: 20px 0;
    z-index: 3500;
  }

  .nav-list.open {
    display: flex;
  }

  .nav-list li {
    margin: 10px 0;
    text-align: center;
  }

  .nav-link {
    font-size: 1.2rem;
  }

  .logo {
  display: flex;
  align-items: center;
  max-width: 150px;
  padding-left: 10px;
}

.logo img {
  max-width: 100%;
  height: auto;
  display: block;
}



  .nav {
    justify-content: space-between;
  }
}

@media (min-width: 768px) {
  .nav-toggle {
    display: none;
  }
}




/* NAV GENERAL */
.nav {
  position: sticky;
  top: 0;
  width: 100%;
  height: 65px;
  background-color: #9c8f73;
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 15px;
}

/* LOGO */
.logo {
  display: flex;
  align-items: center;
  max-width: 150px;
}

.logo img {
  width: 100%;
  max-width: 130px;
  height: auto;
  display: block;
}

/* BOTÓN HAMBURGUESA */
.nav-toggle {
  background: none;
  border: none;
  cursor: pointer;
  display: block;
  width: 30px;
  height: 24px;
  position: relative;
  z-index: 4000;
}

.hamburger,
.hamburger::before,
.hamburger::after {
  content: "";
  display: block;
  background-color: white;
  height: 3px;
  border-radius: 2px;
  position: absolute;
  width: 100%;
  transition: 0.3s ease;
}

.hamburger {
  top: 50%;
  transform: translateY(-50%);
}

.hamburger::before {
  top: -8px;
}

.hamburger::after {
  top: 8px;
}

.nav-toggle.open .hamburger {
  background-color: transparent;
}

.nav-toggle.open .hamburger::before {
  transform: rotate(45deg);
  top: 0;
}

.nav-toggle.open .hamburger::after {
  transform: rotate(-45deg);
  top: 0;
}

/* MENÚ DESPLEGABLE MÓVIL */
.nav-list {
  display: none;
  flex-direction: column;
  background-color: #000040;
  position: fixed;
  top: 65px;
  left: 0;
  width: 100%;
  padding: 20px 0;
  z-index: 3500;
}

.nav-list.open {
  display: flex;
}

.nav-list li {
  margin: 10px 0;
  text-align: center;
}

.nav-link {
  color: white;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.2rem;
  padding: 10px 20px;
  display: inline-block;
}

/* ESCRITORIO */
@media (min-width: 768px) {
  .nav {
    justify-content: space-around;
  }

  .nav-toggle {
    display: none;
  }

  .nav-list {
    display: flex !important;
    flex-direction: row;
    position: static;
    background: none;
    width: auto;
    padding: 0;
    gap: 20px;
  }

  .nav-list li {
    margin: 0;
  }

  .nav-link {
    font-size: 1rem;
  }

  .logo {
    max-width: 150px;
  }

  .logo img {
    max-width: 150px;
  }
}





