@import url('https://fonts.googleapis.com/css2?family=Roboto+Condensed:ital,wght@0,100..900;1,100..900&display=swap');


*{
    box-sizing: border-box;
    margin: 0;
    padding: 0;
     font-family: "Roboto Condensed", sans-serif;
}
html{
    scroll-behavior: smooth;
}
header{
    position: fixed;
    top: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 60px;
    transition: all 0.3s ease;
    z-index: 1000;
    background-color: transparent; 
}

header.scrolled {
    background-color: white;  
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
   top: 0;

}

header .logo-container .logo{
    width: auto;
    height: 60px; 
}

header .logo-container .logo:hover{
    transform: scale(1.1);
    cursor: pointer;
}

.nav-menu ul {
    list-style: none;
    display: flex;
    gap: 45px;
    align-items: center;
    font-size: 20px;
}

header a{
    font-weight: 500;
    text-decoration: none;
    color: #000;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 10px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: #333;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

@media (max-width: 1024px) {
    header {
        padding: 15px 40px;
    }
    
    .nav-menu ul {
        gap: 30px;
        font-size: 18px;
    }
    
    header .logo-container .logo {
        height: 50px;
    }
}

@media (max-width: 768px) {
    header {
        padding: 15px 20px;
        background-color: white; 
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    }
    
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 75px; 
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.1);
        border-top: 1px solid #eee;
        z-index: 999;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu ul {
        flex-direction: column;
        gap: 0;
        padding: 20px 0;
    }
    
    .nav-menu ul li {
        width: 100%;
        padding: 15px 0;
        border-bottom: 1px solid #f0f0f0;
    }
    
    .nav-menu ul li:last-child {
        border-bottom: none;
    }
    
    .nav-menu ul li a {
        display: block;
        font-size: 18px;
        padding: 10px 20px;
        transition: all 0.3s ease;
    }
    
    .nav-menu ul li a:hover {
        color: #fe914d;
        background-color: #f8f9fa;
    }
    
    header .logo-container .logo {
        height: 45px;
    }
    
    header.scrolled .hamburger span {
        background-color: #333;
    }
}

@media (max-width: 480px) {
    header {
        padding: 12px 15px;
        background-color: white;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    }
    
    header .logo-container .logo {
        height: 40px;
    }
    
    .hamburger {
        padding: 8px;
    }
    
    .hamburger span {
        width: 22px;
        height: 2px;
    }
    
    .nav-menu {
        top: 68px;
    }
    
    .nav-menu ul li a {
        font-size: 16px;
        padding: 12px 15px;
    }
}
section {
  padding: 4rem;
}
p{
  font-size: 24px;
}

.hero{
    position: relative;
    background-image: linear-gradient(0deg, rgba(255, 255, 255, 0.85)), url(/media/bg/hero-background.jpg);
   background-size: cover;
    
}

 
.hero-container{
   
    min-height: 100vh;
  ;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
 
    
}

.hero-container .p-container{
    max-width: 1000px;
    width: 100%;
   
}
.hero h1{
    color: #fe914d;
    font-size: 64px;
}
.hero .hero-text{
    margin-top: 20px;
    font-size: 24px;
    margin-bottom: 30px;
    color: #333;
}
.hero .contact-btn{
    padding: 15px;
    border: none;
    background-color: #fe914d;
    border-radius: 10px;
    cursor: pointer;
}

.hero .contact-btn a{
    text-decoration: none;
    color: #fff;
    font-size: 20px;
}
.triangle{
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 100px;
  background-color: white;
  clip-path: polygon(0 100%, 100% 0, 100% 100%);
  z-index: 2;
}


.carousel {

  position: relative;
  width: 100%;
  max-width: 1200px; 
  margin: 5rem auto;
  overflow: hidden;
  border-radius: 20px;
  background-color: #fff;
  
}

.carousel-container {
  display: flex;
  transition: transform 0.5s ease-in-out;
  width: 100%; 
}

.slide {
  min-width: 100%; 
  display: flex;
  justify-content: center;
  align-items: center;

}

.slide img {
  width: 100%;
  height: auto;
  object-fit: contain;
  transition: transform 0.3s ease, filter 0.3s ease;
}
.prev,
.next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
 
  border: none;
  color: white;
  font-size: 2rem;
  cursor: pointer;
  padding: 10px 15px;
  border-radius: 50%;
  transition: background-color 0.3s ease;
}



.prev {
  left: 10px;
}
.next {
  right: 10px;
}



@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.5rem;
  }
  .hero .hero-text {
    font-size: 1.1rem;
  }
  .hero-container {
    padding: 3rem 1rem;
  }
}

h2{
    font-size: 30px;
    color: #fe914d;
}
.about-us{
  padding: 8rem 8rem 4rem 8rem;
  margin-top: 4rem;
}

.about-us .about-container{
  display: flex;
  flex-direction: row;
  gap: 60px;
 
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.about-us .img-container{
  position: relative;
  flex: 1;
}

.about-us .img-container::before{
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(254, 145, 77, 0.05));
  border-radius: 20px;
  z-index: 1;
  pointer-events: none;
}

.about-us .about-container img{
  width: 100%;
  height: auto;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  filter: brightness(1.1) contrast(0.95);
}

.about-us .years-exp{
  padding: 30px;
  background: white;
  width: 180px;
  height: 180px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  border-radius: 50%;
  position: absolute;
  bottom: -40px;
  right: -40px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
  border: 5px solid #f8f9fa;
  z-index: 2;
}

.about-us .years-exp span{
  font-size: 48px;
  font-weight: 700;
  color: #fe914d;
  line-height: 1;
}

.about-us .years-exp p{
  font-weight: 600;
  font-size: 14px;
  color: #333;
  margin-top: 5px;
}

.about-us .text-container{
  flex: 1;
   
}
.about-us .text-container {
   font-size: 20px;
}
.about-us .text-container > p:first-child{
  color: #fe914d;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 20px;
  margin-bottom: 1rem;
  letter-spacing: 1px;
}

.about-us .text-container h2{
  font-size: 42px;
  line-height: 1.2;
  margin-bottom: 2rem;
  color: #333;
}

.about-us .text-container > p:not(:first-child){
  font-size: 18px;
  line-height: 1.6;
  color: #666;
  margin-bottom: 1.5rem;
}

.about-us .lo-conseguimos{
  font-weight: 700;
  color: #fe914d;
  font-size: 20px;
}
.productos {
  padding: 8rem 8rem 4rem 8rem;
}

.productos .productos-text{
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto 4rem auto;
}

.productos .productos-text > p:first-of-type {
  color: #fe914d;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 20px;
  margin-bottom: 1rem;
  letter-spacing: 1px;
}

.productos .productos-text h2 {
  font-size: 42px;
  line-height: 1.2;
  margin-bottom: 2rem;
  color: #333;
}

.productos .productos-text p:not(:first-of-type) {
  font-size: 18px;
  line-height: 1.6;
  color: #666;
  margin-bottom: 1.5rem;
  max-width: 800px;
}
.productos .productos-text .catalogo-btn{
    padding: 15px;
    border: none;
    background-color: #fe914d;
    border-radius: 10px;
    cursor: pointer;
}

.productos .productos-text .catalogo-btn a{
    text-decoration: none;
    color: #fff;
    font-size: 20px;
    margin-bottom: 30px;
}

.productos .grid-container{
   display: grid;
   grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
   grid-auto-rows: 250px;
   gap: 20px;
   width: 90%;
   max-width: 1100px;
   margin: 0 auto;

}

.productos .grid-container .grid-item{
  padding: 40px;
  border: 1px solid #d9d9d9;
  background: #f8f9fa;
  border-radius: 15px;
  box-sizing: border-box;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.productos .grid-container .grid-item:hover {
  transform: translateY(-5px);
}

.productos .grid-container .grid-item img{
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  transition: filter 0.3s ease;
}

.productos .grid-container .grid-item:hover img {
  filter: blur(3px);
}

.productos .grid-container .grid-item .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(254, 145, 77, 0.9);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: 15px;
}

.productos .grid-container .grid-item:hover .overlay {
  opacity: 1;
}

.productos .grid-container .grid-item .overlay .product-name {
  color: white;
  font-size: 18px;
  font-weight: 700;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 0 20px;
  line-height: 1.2;
}

/* Espaciadores invisibles para centrar productos - SOLO EN DESKTOP */
.grid-spacer {
  visibility: hidden;
  height: 0;
  min-height: 0 !important;
}

/* Ocultar espaciadores en tablets y móviles para mantener el flujo natural */
@media (max-width: 1024px) {
  .grid-spacer {
    display: none;
  }
}
@media (max-width: 768px) {
  .about-us {
    padding: 4rem 1rem 2rem 1rem;
    margin-top: 2rem;
  }
  
  .about-us .about-container {
    flex-direction: column;
    gap: 3rem;
  }
  
  .about-us .text-container h2 {
    font-size: 32px;
  }
  
  .about-us .text-container > p:not(:first-child) {
    font-size: 16px;
  }
  
  .about-us .years-exp {
    width: 140px;
    height: 140px;
    bottom: -30px;
    right: -30px;
  }
  
  .about-us .years-exp span {
    font-size: 36px;
  }
  
  .about-us .years-exp p {
    font-size: 12px;
  }

  .productos {
    padding: 4rem 1rem 2rem 1rem;
  }
  
  .productos .productos-text h2 {
    font-size: 32px;
  }
  
  .productos .productos-text p:not(:first-of-type) {
    font-size: 16px;
  }
  
  /* Ajustes para el grid de productos en móvil */
  .productos .grid-container .grid-item {
    padding: 20px;
  }
  
  .productos .grid-container .grid-item .overlay .product-name {
    font-size: 14px;
    padding: 0 10px;
  }
  
  /* En móviles, mostrar el efecto al tocar */
  .productos .grid-container .grid-item:active img {
    filter: blur(3px);
  }
  
  .productos .grid-container .grid-item:active .overlay {
    opacity: 1;
  }
}

/* Sección de Contacto */
.contacto {
  padding: 8rem 8rem 4rem 8rem;
  background-color: #f8f9fa;
  width: 100%;
}

.contacto-container {
  display: flex;
  gap: 60px;
  max-width: 1400px;
  margin: 0 auto;
  align-items: flex-start;
  position: relative;
  width: 100%;
}

.contacto-info {
  flex: 1;
}

.contacto-info .info-text > p:first-child {
  color: #fe914d;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 20px;
  margin-bottom: 1rem;
  letter-spacing: 1px;
}

.contacto-info h2 {
  font-size: 42px;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: #333;
}

.contacto-info .info-text > p:not(:first-child) {
  font-size: 18px;
  line-height: 1.6;
  color: #666;
  margin-bottom: 2rem;
}

.ubicacion-tabs {
  display: flex;
  margin-bottom: 2rem;
  border-bottom: 2px solid #e9ecef;
  position: relative;
}

.tab-btn {
  background: none;
  border: none;
  padding: 12px 24px;
  font-size: 16px;
  font-weight: 600;
  color: #666;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  border-bottom: 3px solid transparent;
  min-height: 44px; 
  display: flex;
  align-items: center;
  justify-content: center;
}

.tab-btn:hover {
  color: #fe914d;
}

.tab-btn.active {
  color: #fe914d;
  border-bottom-color: #fe914d;
}

.tab-content {
  display: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.tab-content.active {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  opacity: 1;
}

.info-details {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.info-item h3 {
  font-size: 16px;
  font-weight: 600;
  color: #333;
  margin-bottom: 0.5rem;
  letter-spacing: 1px;
}

.info-item p,
.info-item a {
  font-size: 18px;
  color: #666;
  text-decoration: none;
  line-height: 1.5;
}

.info-item a:hover {
  color: #fe914d;
  transition: color 0.3s ease;
}

.contacto-form {
  flex: 1;
  background: white;
  padding: 3rem;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.form-row {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 1.5rem;
  flex: 1;
}

.form-group label {
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #333;
  font-size: 16px;
}

.form-group input,
.form-group textarea {
  padding: 12px 16px;
  border: 2px solid #e9ecef;
  border-radius: 8px;
  font-size: 16px; 
  font-family: inherit;
  transition: border-color 0.3s ease;
  width: 100%;
  -webkit-appearance: none; 
  -moz-appearance: none;
  appearance: none;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #fe914d;
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.enviar-btn {
  width: 100%;
  padding: 15px;
  border: none;
  background-color: #fe914d;
  color: white;
  font-size: 18px;
  font-weight: 600;
  border-radius: 10px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  margin-bottom: 1rem;
}

.enviar-btn:hover {
  background-color: #e8823d;
}

.form-note {
  text-align: center;
  font-size: 14px;
  color: #666;
}

.form-note a {
  color: #fe914d;
  text-decoration: none;
}

.mapa-container {
  margin-top: 4rem;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  position: relative;
}

.mapa-iframe {
  display: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.mapa-iframe.active {
  display: block;
  opacity: 1;
}


@media (max-width: 1024px) {
  .contacto {
    padding: 6rem 4rem 3rem 4rem;
  }
  
  .contacto-container {
    gap: 4rem;
  }
  
  .contacto-info h2 {
    font-size: 36px;
  }
  
  .contacto-form {
    padding: 2.5rem;
  }
}

@media (max-width: 768px) {
  .contacto {
    padding: 4rem 0.5rem 2rem 0.5rem;
    width: 100%;
  }
  
  .contacto-container {
    flex-direction: column;
    gap: 3rem;
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0 1rem;
  }
  
  .contacto-info {
    text-align: center;
    width: 100%;
  }
  
  .contacto-info .info-text > p:first-child {
    font-size: 18px;
  }
  
  .contacto-info h2 {
    font-size: 32px;
    margin-bottom: 1rem;
  }
  
  .contacto-info .info-text > p:not(:first-child) {
    font-size: 16px;
    margin-bottom: 2rem;
  }
  
  .ubicacion-tabs {
    justify-content: center;
    margin-bottom: 1.5rem;
    border-bottom: 2px solid #e9ecef;
  }
  
  .tab-btn {
    padding: 12px 24px;
    font-size: 16px;
    min-width: 100px;
  }
  
  .info-details {
    text-align: left;
    gap: 1.5rem;
  }
  
  .info-item {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 10px;
    border-left: 4px solid #fe914d;
  }
  
  .info-item h3 {
    font-size: 14px;
    color: #fe914d;
    margin-bottom: 0.5rem;
  }
  
  .info-item p,
  .info-item a {
    font-size: 16px;
    margin: 0;
  }
  
  .contacto-form {
    padding: 2rem;
    margin: 0;
    border-radius: 15px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
  
  .form-row {
    flex-direction: column;
    gap: 0;
    margin-bottom: 1rem;
  }
  
  .form-group {
    margin-bottom: 1.5rem;
  }
  
  .form-group label {
    font-size: 15px;
    margin-bottom: 0.7rem;
  }
  
  .form-group input,
  .form-group textarea {
    padding: 14px 16px;
    font-size: 15px;
    border-radius: 10px;
  }
  
  .form-group textarea {
    min-height: 100px;
  }
  
  .enviar-btn {
    padding: 16px;
    font-size: 16px;
    border-radius: 12px;
  }
  
  .form-note {
    font-size: 13px;
    margin-top: 1rem;
  }
  
  .mapa-container {
    margin-top: 3rem;
    margin-left: 0;
    margin-right: 0;
    border-radius: 15px;
    width: 100%;
  }
  
  .mapa-container iframe {
    height: 300px;
    border-radius: 15px;
  }
}

@media (max-width: 480px) {
  .contacto {
    padding: 3rem 0.25rem 2rem 0.25rem;
    width: 100%;
  }
  
  .contacto-container {
    gap: 2rem;
    padding: 0 0.5rem;
    width: 100%;
  }
  
  .contacto-info h2 {
    font-size: 28px;
    line-height: 1.1;
  }
  
  .contacto-info .info-text > p:first-child {
    font-size: 16px;
  }
  
  .contacto-info .info-text > p:not(:first-child) {
    font-size: 15px;
  }
  
  .ubicacion-tabs {
    flex-wrap: wrap;
    gap: 0.5rem;
    border-bottom: none;
    background: #f8f9fa;
    padding: 0.5rem;
    border-radius: 10px;
  }
  
  .tab-btn {
    flex: 1;
    min-width: auto;
    padding: 10px 16px;
    font-size: 14px;
    border-radius: 8px;
    background: white;
    border: 1px solid #e9ecef;
  }
  
  .tab-btn.active {
    background: #fe914d;
    color: white;
    border-color: #fe914d;
  }
  
  .info-item {
    padding: 1rem;
    margin-bottom: 1rem;
  }
  
  .info-item h3 {
    font-size: 13px;
  }
  
  .info-item p,
  .info-item a {
    font-size: 14px;
    line-height: 1.4;
  }
  
  .contacto-form {
    padding: 1.5rem;
    margin: 0;
    width: 100%;
    box-sizing: border-box;
  }
  
  .form-group label {
    font-size: 14px;
  }
  
  .form-group input,
  .form-group textarea {
    padding: 12px 14px;
    font-size: 14px;
  }
  
  .enviar-btn {
    padding: 14px;
    font-size: 15px;
  }
  
  .mapa-container {
    margin-left: 0;
    margin-right: 0;
    border-radius: 12px;
    width: 100%;
  }
  
  .mapa-container iframe {
    height: 250px;
  }
}


footer {
  background-color: #333;
  color: white;
  padding: 4rem 0 2rem 0;
}

.footer-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr 2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-section h3 {
  color: #fe914d;
  font-size: 18px;
  margin-bottom: 1.5rem;
  font-weight: 600;
}

.footer-logo {
  width: auto;
  height: 60px;
  margin-bottom: 1rem;
  filter: brightness(0) invert(1);
}

.footer-description {
  font-size: 16px;
  line-height: 1.6;
  color: #ccc;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-bottom: 2rem;
}

.location h4 {
  color: #fe914d;
  font-size: 16px;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.location p {
  font-size: 14px;
  line-height: 1.5;
  color: #ccc;
  margin-bottom: 0.5rem;
}

.location a,
.email-contact a {
  color: white;
  text-decoration: none;
  transition: color 0.3s ease;
}

.location a:hover,
.email-contact a:hover {
  color: #fe914d;
}

.email-contact {
  padding-top: 1rem;
  border-top: 1px solid #555;
}

.email-contact p {
  font-size: 16px;
  color: #ccc;
}

.external-links {
  list-style: none;
  padding: 0;
}

.external-links li {
  margin-bottom: 1rem;
}

.external-links a {
  color: white;
  text-decoration: none;
  font-size: 16px;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: color 0.3s ease;
}

.external-links a:hover {
  color: #fe914d;
}

.external-icon {
  font-size: 14px;
  opacity: 0.7;
}

.footer-nav {
  list-style: none;
  padding: 0;
}

.footer-nav li {
  margin-bottom: 1rem;
}

.footer-nav a {
  color: white;
  text-decoration: none;
  font-size: 16px;
  transition: color 0.3s ease;
}

.footer-nav a:hover {
  color: #fe914d;
}

.footer-bottom {
  text-align: center;
}

.footer-divider {
  width: 100%;
  height: 1px;
  background-color: #555;
  margin-bottom: 2rem;
}

.footer-bottom p {
  font-size: 14px;
  color: #999;
}

@media (max-width: 1024px) {
  .footer-content {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  footer {
    padding: 3rem 0 2rem 0;
  }
  
  .footer-container {
    padding: 0 1rem;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }
  
  .contact-info {
    gap: 1.5rem;
  }
  
  .footer-logo {
    height: 50px;
  }
}


