* {
   margin: 0;
   padding: 0;
   box-sizing: border-box;
   font-family: 'Proxima Nova', system-ui, -apple-system, sans-serif;
}

:root {
   --primary-green: #1d4b39;
   --secondary-green: #619a3c;
   --light-green-bg: #e0f2e5;
   --light-bg: #f9f9f9;
   --white: #ffffff;
   --text-dark: #333333;
   --text-black: #111111;
   --shadow: 0 10px 30px rgba(0,0,0,0.1);
}

body {
   background-color: var(--white);
   color: var(--text-dark);
   line-height: 1.6;
}

h2 {
   color: var(--primary-green);
   text-transform: uppercase;
   font-size: 2.5rem;
   font-weight: 600;
   letter-spacing: 2px;
   margin-bottom: 1.5rem;
}

.main-nav {
   display: flex;
   justify-content: space-between;
   align-items: center;
   padding: 1.5rem 4rem;
   background-color: var(--white);
   position: sticky;
   top: 0;
   z-index: 1000;
   box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.logo-container img {
   height: 26px;
   width: auto;
}

.nav-links {
   display: flex;
   list-style: none;
   gap: 2rem;
   align-items: center;
}

.nav-links a {
   text-transform: uppercase;
   text-decoration: none;
   color: var(--text-black);
   font-size: 0.85rem;
   font-weight: 600;
   transition: 0.3s;
}

.nav-links > li > a {
   padding-bottom: 5px;
   border-bottom: 3px solid transparent;
}

.nav-links > li > a.active,
.nav-links > li > a:hover {
   color: var(--secondary-green);
   border-bottom: 3px solid var(--secondary-green);
}

.dropdown {
   position: relative;
}

.submenu {
   display: none;
   position: absolute;
   top: 100%;
   left: 50%;
   transform: translateX(-50%);
   background-color: var(--white);
   min-width: 250px;
   list-style: none;
   box-shadow: var(--shadow);
   padding: 10px 0;
   margin-top: 15px;
   border-radius: 4px;
}

.submenu::before {
   content: '';
   position: absolute;
   top: -8px;
   left: 50%;
   transform: translateX(-50%);
   border-left: 8px solid transparent;
   border-right: 8px solid transparent;
   border-bottom: 8px solid var(--white);
}

.submenu.show {
   display: block;
}

.submenu li {
   border-bottom: 1px solid #eaeaea;
}

.submenu li:last-child {
   border-bottom: none;
}

.submenu li a {
   padding: 12px 20px;
   display: block;
   text-align: center;
   font-size: 0.8rem;
   color: var(--primary-green);
   border-bottom: none !important;
}

.submenu li a:hover {
   background-color: var(--light-bg);
   color: var(--secondary-green);
}

.contact-phone {
   display: flex;
   align-items: center;
   gap: 0.75rem;
   font-size: 1rem;
   color: var(--text-dark);
   font-weight: 300;
   text-decoration: none;
}

.phone-icon {
   height: 24px;
   width: auto;
}

.desktop-only {
   display: flex;
}

.menu-toggle {
   display: none;
   flex-direction: column;
   gap: 6px;
   background: none;
   border: none;
   cursor: pointer;
   z-index: 100;
}

.menu-toggle span {
   width: 35px;
   height: 4px;
   background-color: var(--text-black);
   border-radius: 2px;
}

.btn-outline, .btn-outline-green, .btn-outline-dark, .btn-whatsapp {
   text-transform: uppercase;
   display: inline-flex;
   align-items: center;
   justify-content: center;
   gap: 12px;
   text-decoration: none;
   font-weight: 600;
   font-size: 0.9rem;
   letter-spacing: 1.5px;
   padding: 1rem 2.5rem;
   border-radius: 30px;
   transition: all 0.3s ease;
   cursor: pointer;
}

.btn-outline {
   background-color: transparent;
   color: var(--secondary-green);
   border: 2px solid var(--secondary-green);
}

.btn-outline:hover {
   background-color: var(--secondary-green);
   color: var(--white);
}

.btn-outline-green {
   color: var(--white);
   border: 1px solid var(--secondary-green);
}

.btn-outline-green:hover {
   background-color: var(--secondary-green);
   transform: translateY(-2px);
}

.btn-outline-dark {
   color: var(--primary-green);
   border: 1px solid var(--primary-green);
}

.btn-outline-dark:hover {
   background-color: var(--primary-green);
   color: var(--white);
}

.btn-whatsapp {
   color: var(--white);
   font-size: 1rem;
   border: 2px solid var(--secondary-green);
}

.btn-whatsapp:hover {
   background-color: var(--secondary-green);
}

.btn-whatsapp i {
   font-size: 1.5rem;
}

.hero-section {
   position: relative;
   display: flex;
   align-items: center;
   justify-content: space-between;
   padding: 6rem 4rem;
   background-image: url('recursos/imagenes/banner1.jpg');
   background-size: cover;
   background-position: center;
   overflow: hidden;
   justify-content: center;
}

.hero-section.about {
   background-image: url('recursos/imagenes/about-jumbotron.png');
}

.hero-section.productos {
   background-image: url('recursos/imagenes/products-jumbotron.png');
}

.info-section.alternate.architect {
   background-image: url('recursos/imagenes/architectural-finishes-bg.png');
}
.hero-section.ventajas {
   background-image: url('recursos/imagenes/advantage-jumbotron.png');
   text-align: center;
}

.hero-section.proyectos {
   background-image: url('recursos/imagenes/projects-jumbotron.webp');
   text-align: center;
}

.hero-section.blog {
   background-image: url('recursos/imagenes/blog-jumbotron.jpg');
   text-align: center;
}

.hero-section.distribuidores {
   background-image: url('recursos/imagenes/distributors-jumbotron.png');
   text-align: center;
}


.hero-section.testing {
   background-image: url('recursos/imagenes/testing-jumbotron.png');
   text-align: center;
}

.hero-section.instalacion {
   background-image: url('recursos/imagenes/installation-jumbotron.png');
   text-align: center;
}


.info-section.alternate.architect * {
   color: white !important;
}
.info-section.alternate.architect .image-container {
   display: flex;
   flex-direction: column;
}

.info-section.alternate.architect .btn-outline-dark {
   border: 1px solid white;
}
.hero-section.productos .hero-content {
   text-align: center;
}

.hero-section.productos .hero-content img {
   width: 50%;
}

.hero-background {
   position: absolute;
   top: 0;
   left: 0;
   width: 100%;
   height: 100%;
   z-index: 1;
}

.hero-content {
   position: relative;
   z-index: 2;
   max-width: 50%;
   color: var(--white);
}

.hero-content h1 {
   text-transform: uppercase;
   font-size: 3.5rem;
   font-weight: 300;
   line-height: 1.2;
   margin-bottom: 1.5rem;
}

.hero-content p {
   font-size: 1.1rem;
   font-weight: 300;
   line-height: 1.6;
   margin-bottom: 3rem;
   max-width: 90%;
}

.hero-image-container {
   position: relative;
   z-index: 2;
   width: 45%;
   display: flex;
   justify-content: flex-end;
}

.hero-image-container img {
   max-width: 100%;
   height: auto;
   filter: drop-shadow(0 20px 30px rgba(0,0,0,0.3));
}

.mobile-floating-phone {
   display: none;
}

.info-section, .centered-section, .features-section, .contact-section, .carousel-section, .contact-info-section {
   padding: 80px 4rem;
}

.info-section {
    display: flex;
    align-items: flex-start;
    column-gap: 42px;
    justify-content: flex-start;
    
}

.info-section.alternate {
   flex-direction: row;
}

.info-section.column {
   flex-direction: column;
}
.info-section.column .text-content p {
   width: 100%;
}

.section-image, .section-video {
   max-width: 45%;
   height: auto;
   object-fit: contain;
}

.section-video.centered {
   max-width: 30%;
}

.text-content {
   max-width: 50%;
}

.info-section.column, .info-section.column .text-content p {
   width: 100%;
   max-width: 100%;
}


.tagline {
   color: var(--secondary-green);
   font-weight: 300;
   font-size: 1.1rem;
   margin-bottom: 1.5rem;
}

.text-content p:not(.tagline) {
   font-weight: 300;
   color: #555555;
   margin-bottom: 2rem;
   font-size: 1.25rem;
}

.centered-section {
   text-align: center;
   background-color: var(--light-bg);
}

.full-image {
   max-width: 80%;
   margin: 40px auto;
   display: block;
}

.features-section {
   text-align: center;
   background-color: var(--white);
}

.features-description {
   font-weight: 300;
   color: #555555;
   max-width: 900px;
   margin: 0 auto 4rem auto;
   font-size: 1.1rem;
   line-height: 1.6;
}

.features-grid {
   display: grid;
   grid-template-columns: repeat(4, 1fr);
   gap: 30px;
   margin-bottom: 4rem;
}

.feature-item {
   display: flex;
   flex-direction: column;
   align-items: center;
   gap: 1.5rem;
}

.feature-item i {
   font-size: 5rem;
   color: var(--primary-green);
   display: block;
}

.feature-item span {
   color: #555555;
   font-weight: 300;
   font-size: 1.1rem;
}

.testimonials-section {
   padding: 100px 4rem;
   background-color: var(--white);
}

.testimonials-container {
   display: flex;
   max-width: 1200px;
   margin: 0 auto;
   gap: 4rem;
   align-items: center;
}

.testimonials-left {
   flex: 0 0 40%;
}

.tagline-testimonials {
   color: var(--secondary-green);
   text-transform: none;
   font-size: 1.2rem;
   margin-bottom: 1rem;
}

.testimonials-left h2 {
   font-size: 3rem;
   line-height: 1.1;
   letter-spacing: 1px;
}

.testimonials-right {
   flex: 0 0 60%;
   display: flex;
   align-items: center;
   gap: 2rem;
   position: relative;
}

.testimonial-track {
   flex: 1;
   min-height: 450px;
   display: flex;
   align-items: center;
}

.testimonial-slide {
   display: none;
   text-align: center;
   animation: fadeIn 0.5s ease;
}

.testimonial-slide.active {
   display: block;
}

@keyframes fadeIn {
   from { opacity: 0; }
   to { opacity: 1; }
}

.author-img-wrapper {
   width: 150px;
   height: 150px;
   margin: 0 auto 2rem;
   border-radius: 50%;
   overflow: hidden;
   border: 4px solid var(--light-green-bg);
}

.author-img-wrapper img {
   width: 100%;
   height: 100%;
   object-fit: cover;
}

.quote {
   font-weight: 300;
   color: #666;
   font-size: 1.1rem;
   line-height: 1.8;
   margin-bottom: 2rem;
   font-style: italic;
}

.author-name {
   color: var(--secondary-green);
   text-transform: uppercase;
   font-weight: 600;
   font-size: 1.2rem;
   letter-spacing: 1px;
}

.project-location {
   color: var(--secondary-green);
   text-transform: uppercase;
   font-size: 0.9rem;
   margin-top: 5px;
}

.test-arrow {
   background: none;
   border: none;
   cursor: pointer;
}

.contact-section {
   display: flex;
   align-items: center;
   justify-content: space-between;
}

.contact-form-container {
   width: 45%;
}

form {
   display: flex;
   flex-direction: column;
   gap: 15px;
}

input, textarea {
   width: 100%;
   padding: 12px;
   border: 1px solid #ccc;
   border-radius: 5px;
}

textarea {
   height: 120px;
   resize: vertical;
}

.contact-image {
   max-width: 45%;
}

.carousel-section {
   background-color: var(--white);
}

.section-subtitle {
   color: var(--secondary-green);
   font-weight: 300;
   margin-bottom: 4rem;
}

.carousel-container {
   display: flex;
   align-items: center;
   justify-content: space-between;
   max-width: 1200px;
   margin: 0 auto 4rem auto;
   position: relative;
}

.carousel-track {
   flex: 1;
   position: relative;
   min-height: 400px;
   overflow: hidden;
}

.carousel-slide {
   position: absolute;
   top: 0;
   left: 0;
   width: 100%;
   opacity: 0;
   visibility: hidden;
   transition: opacity 0.5s ease, visibility 0.5s ease;
   display: flex;
   flex-direction: column;
   align-items: center;
}

.carousel-slide.active {
   opacity: 1;
   visibility: visible;
   position: relative;
}

.slide-content {
   position: relative;
   width: 100%;
   max-width: 600px;
}

.lottie-container {
   width: 100%;
   height: auto;
}

.project-info {
   position: absolute;
   top: 10%;
   right: -15%;
   text-align: right;
   z-index: 10;
}

.project-name {
   display: block;
   color: #777777;
   font-weight: 300;
   text-transform: uppercase;
   margin-bottom: 0.5rem;
   font-size: 0.9rem;
}

.project-link {
   color: var(--secondary-green);
   text-transform: uppercase;
   text-decoration: none;
   font-weight: 600;
   font-size: 0.85rem;
   border-bottom: 2px solid var(--secondary-green);
   padding-bottom: 2px;
}

.slide-title {
   color: var(--primary-green);
   text-transform: uppercase;
   font-size: 1.5rem;
   font-weight: 400;
   letter-spacing: 2px;
   margin-top: 2rem;
}

.slider-arrow {
   background: none;
   border: none;
   display: flex;
   align-items: center;
   gap: 1rem;
   cursor: pointer;
   color: var(--text-dark);
   z-index: 10;
   min-width: 200px;
}

.prev-arrow {
   justify-content: flex-start;
}

.next-arrow {
   justify-content: flex-end;
}

.arrow-text {
   text-transform: uppercase;
   font-size: 0.85rem;
   font-weight: 600;
}

.arrow-icon {
   position: relative;
   width: 50px;
   height: 2px;
   background-color: var(--secondary-green);
   display: inline-block;
}

.arrow-icon.right::after {
   content: '';
   position: absolute;
   right: 0;
   top: -4px;
   width: 10px;
   height: 10px;
   border-top: 2px solid var(--secondary-green);
   border-right: 2px solid var(--secondary-green);
   transform: rotate(45deg);
}

.arrow-icon.left::after {
   content: '';
   position: absolute;
   left: 0;
   top: -4px;
   width: 10px;
   height: 10px;
   border-top: 2px solid var(--secondary-green);
   border-left: 2px solid var(--secondary-green);
   transform: rotate(-45deg);
}

.cta-banner {
   position: relative;
   background-image: url('recursos/imagenes/start-parallax.webp');
   background-size: cover;
   background-position: center;
   background-attachment: fixed;
   padding: 100px 4rem;
   text-align: center;
   color: var(--white);
}

.cta-overlay {
   position: absolute;
   top: 0;
   left: 0;
   width: 100%;
   height: 100%;
   z-index: 1;
}

.cta-content {
   position: relative;
   z-index: 2;
}

.cta-content h2 {
   font-size: 3rem;
   color: var(--white) !important;
   margin-bottom: 2.5rem;
}

.contact-info-section {
   background-color: var(--white);
   text-align: center;
   padding-bottom: 60px;
}

.contact-grid {
   display: grid;
   grid-template-columns: repeat(3, 1fr);
   gap: 2rem;
   margin-bottom: 5rem;
}

.contact-item i {
   font-size: 4.5rem;
   color: var(--primary-green);
   display: block;
   margin-bottom: 1.5rem;
}

.contact-item a {
   color: var(--secondary-green);
   font-size: 1.2rem;
   font-weight: 300;
   line-height: 1.6;
   text-decoration: none;
}

.social-section p {
   color: var(--primary-green);
   font-weight: 600;
   text-transform: uppercase;
   font-size: 0.9rem;
   margin-bottom: 1.5rem;
}

.social-icons {
   display: flex;
   justify-content: center;
   gap: 1.5rem;
}

.social-icons a {
   color: var(--secondary-green);
   font-size: 3rem;
   text-decoration: none;
   transition: transform 0.3s ease;
}

.social-icons a:hover {
   transform: translateY(-3px);
}

.site-footer {
   background-color: var(--primary-green);
   color: var(--white);
   padding: 1.5rem 2rem;
   text-align: center;
}

.site-footer p {
   font-weight: 300;
   font-size: 0.9rem;
   letter-spacing: 0.5px;
}

.image-gallery-grid {
   display: grid;
   grid-template-columns: 1fr 1fr;
   gap: 30px;
   max-width: 1200px;
   margin: 0 auto 4rem auto;
}

.gallery-img {
   width: 100%;
   height: auto;
   object-fit: cover;
}

.testing-list-section {
   padding: 80px 4rem; /* Reutilizando padding estándar */
   background-color: var(--white);
}

.testing-container {
   max-width: 1000px; /* Un poco más estrecho para centrar la vista */
   margin: 0 auto;
}

.testing-links-list {
   list-style: none;
}

.testing-links-list li {
   border-bottom: 1px solid #eaeaea; /* Línea separadora */
}

.testing-links-list li:last-child {
   border-bottom: none; /* Eliminar separador en el último elemento */
}

.testing-links-list a {
   display: flex;
   justify-content: space-between; /* Texto a la izq, icono a la der */
   align-items: center;
   padding: 1.5rem 0; /* Padding vertical para el renglón */
   text-decoration: none;
   color: var(--primary-green); /* Verde oscuro por defecto */
   font-weight: 600; /* Semibold para que resalte como enlace */
   font-size: 1.1rem;
   transition: all 0.3s ease; /* Transición suave para el hover */
}

.testing-links-list i {
   font-size: 1.2rem;
   color: #bfbfbf; /* Gris claro por defecto según imagen */
   transition: all 0.3s ease;
}

/* Estado Hover (Al pasar el mouse) - Logra el efecto del item 1 en la imagen */
.testing-links-list a:hover {
   color: var(--secondary-green); /* Cambia texto a verde claro */
   text-decoration: underline; /* Añade subrayado al texto */
}

.testing-links-list a:hover i {
   color: var(--secondary-green); /* Cambia icono a verde claro */
   transform: translateX(5px); /* Pequeño desplazamiento a la derecha del icono */
}

.testing-detail-section {
   padding: 80px 4rem;
   background-color: var(--white);
   text-align: center;
}

.testing-title {
   color: var(--secondary-green);
   font-weight: 300;
   font-size: 3rem;
   text-transform: uppercase;
   line-height: 1.2;
   margin-bottom: 3rem;
   letter-spacing: 1px;
}

.testing-description {
   font-weight: 300;
   color: #555555;
   max-width: 900px;
   margin: 0 auto 1.5rem auto;
   font-size: 1.1rem;
   line-height: 1.6;
}

.testing-note {
   font-weight: 300;
   color: #777777;
   font-style: italic;
   max-width: 900px;
   margin: 0 auto 4rem auto;
   font-size: 1.1rem;
}

.evidence-gallery {
   max-width: 1000px;
   margin: 0 auto;
}

.evidence-gallery img {
   width: 100%;
   height: auto;
}

.installation-cards-section {
   padding: 80px 4rem;
   background-color: var(--light-bg);
}

.cards-grid {
   display: grid;
   grid-template-columns: repeat(3, 1fr);
   gap: 30px;
   max-width: 1200px;
   margin: 0 auto;
}

.card-item {
   background-color: var(--white);
   padding: 3.5rem 2.5rem;
   text-align: center;
   border-radius: 4px;
   box-shadow: 0 4px 15px rgba(0,0,0,0.04);
   display: flex;
   flex-direction: column;
   align-items: center;
   transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-item:hover {
   transform: translateY(-5px);
   box-shadow: 0 8px 25px rgba(0,0,0,0.08);
}

.card-item i {
   font-size: 4.5rem;
   color: #b0b0b0;
   margin-bottom: 1.5rem;
   display: block;
}

.card-item h3 {
   color: var(--secondary-green);
   font-size: 1.1rem;
   font-weight: 600;
   text-transform: uppercase;
   letter-spacing: 1px;
   margin-bottom: 1rem;
}

.card-item p {
   font-weight: 300;
   color: #777777;
   font-size: 0.95rem;
   line-height: 1.6;
   margin-bottom: 2.5rem;
   flex-grow: 1;
}

.btn-sm {
   padding: 0.7rem 3rem;
   font-size: 0.85rem;
   letter-spacing: 2px;
}

.info-section.alternate.instalacion {
   padding: 0 4rem;
}

.distributors-header {
    text-align: center;
    padding: 80px 4rem 20px 4rem;
    background-color: var(--white);
}

.distributors-grid-section {
    padding: 0 4rem 80px 4rem;
    background-color: var(--white);
}

.distributors-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
}

.distributor-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1rem;
}

.distributor-card h3 {
    color: var(--primary-green);
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 2rem;
    min-height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dist-phone {
    color: var(--secondary-green);
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 300;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 2rem;
}

.dist-address {
    color: #777777;
    font-weight: 300;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.dist-web {
    color: var(--primary-green);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 2.5rem;
    word-break: break-all;
}

.hidden-link {
    visibility: hidden;
}

.map-section {
    width: 100%;
    height: 500px;
    background-color: #e5e3df;
}

#distributors-map {
    width: 100%;
    height: 100%;
    z-index: 1;
}

/* Estilos personalizados para el popup de Leaflet */
.leaflet-popup-content-wrapper {
  border-radius: 4px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  background-color: var(--white);
}

.leaflet-popup-content {
  margin: 30px 25px;
  text-align: center;
  font-family: 'Proxima Nova', system-ui, -apple-system, sans-serif;
  min-width: 250px;
}

.map-popup-custom h4 {
  color: var(--primary-green);
  text-transform: uppercase;
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: 1px;
  margin-bottom: 15px;
}

.map-popup-custom p {
  color: var(--text-dark);
  font-weight: 300;
  font-size: 1.05rem;
  line-height: 1.6;
  margin: 0;
}

/* Modificación del botón de cierre por defecto */
.leaflet-container a.leaflet-popup-close-button {
  color: #999;
  padding: 8px 8px 0 0;
  width: 24px;
  height: 24px;
  font-size: 20px;
  transition: color 0.3s ease;
}

.leaflet-container a.leaflet-popup-close-button:hover {
  color: var(--primary-green);
  background: transparent;
}

.blog-header-section {
    text-align: center;
    padding: 80px 4rem 20px 4rem;
    background-color: var(--light-bg);
}

.blog-grid-section {
    padding: 0 4rem 80px 4rem;
    background-color: var(--light-bg);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
}

.blog-card {
    background-color: var(--white);
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

.blog-cover {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-bottom: 3px solid var(--secondary-green);
}

.blog-content {
    padding: 2rem 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.blog-content h3 {
    color: var(--primary-green);
    font-size: 1.15rem;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 1rem;
}

.blog-content p {
    color: #666666;
    font-size: 0.95rem;
    line-height: 1.6;
    font-weight: 300;
    margin-bottom: 2rem;
    flex-grow: 1;
}

.blog-link {
    color: var(--secondary-green);
    text-decoration: none;
    text-transform: uppercase;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: color 0.3s ease;
}

.blog-link i {
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.blog-link:hover {
    color: var(--primary-green);
}

.blog-link:hover i {
    transform: translateX(4px);
}

.article-hero {
    position: relative;
    height: 55vh;
    min-height: 450px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.article-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(29, 75, 57, 0.75);
    z-index: 1;
}

.article-hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    text-align: center;
    padding: 0 2rem;
}

.article-hero-content h1 {
    color: var(--white);
    font-size: 3.5rem;
    font-weight: 600;
    line-height: 1.2;
    text-transform: none;
    margin: 0;
}

.article-content-section {
    padding: 80px 4rem;
    background-color: var(--white);
}

.article-container {
    max-width: 800px;
    margin: 0 auto;
}

.article-container p {
    font-size: 1.15rem;
    line-height: 1.8;
    color: #444444;
    margin-bottom: 1.5rem;
    font-weight: 300;
}

.article-container h2 {
    font-size: 2rem;
    margin-top: 3.5rem;
    margin-bottom: 1.5rem;
    text-transform: none;
    color: var(--primary-green);
}

.article-recommendation {
    background-color: var(--light-green-bg);
    padding: 2rem;
    border-left: 4px solid var(--secondary-green);
    margin: 3rem 0;
    border-radius: 0 4px 4px 0;
}

.article-recommendation a {
    color: var(--primary-green);
    font-weight: 600;
    font-size: 1.1rem;
    text-decoration: none;
}

.article-recommendation a:hover {
    text-decoration: underline;
}

.article-share {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-top: 5rem;
    padding-top: 2rem;
    border-top: 1px solid #eaeaea;
}

.share-text {
    font-weight: 600;
    color: var(--primary-green);
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.btn-share {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0.6rem 1.5rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.btn-facebook {
    background-color: #1877f2;
    color: var(--white);
    border: 1px solid #1877f2;
}

.btn-facebook:hover {
    background-color: transparent;
    color: #1877f2;
}

.btn-twitter {
    background-color: #000000;
    color: var(--white);
    border: 1px solid #000000;
}

.btn-twitter:hover {
    background-color: transparent;
    color: #000000;
}

.related-articles-section {
    padding: 80px 4rem;
    background-color: var(--light-bg);
}

.related-articles-section h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.related-grid {
    grid-template-columns: repeat(3, 1fr);
    max-width: 1200px;
}

.related-grid .blog-content {
    padding: 1.5rem;
}

#btn-enviar {
  transition: all 0.3s ease;
}

.btn-enviando {
  background-color: #666666 !important;
  color: var(--white) !important;
  border-color: #666666 !important;
  cursor: not-allowed;
}

.btn-exito {
  background-color: var(--primary-green) !important;
  color: var(--white) !important;
  border-color: var(--primary-green) !important;
}

.btn-error {
  background-color: #b33939 !important;
  color: var(--white) !important;
  border-color: #b33939 !important;
}

.projects-hero {
  background-color: #f4f5f7;
  padding: 80px 20px;
  text-align: center;
}

.projects-hero h1 {
  font-size: 2.5rem;
  color: #111111;
  margin-bottom: 16px;
}

.projects-hero p {
  font-size: 1.125rem;
  color: #555555;
  max-width: 600px;
  margin: 0 auto;
}

.projects-container {
  max-width: 1200px;
  margin: 60px auto;
  padding: 0 20px;
}

.projects-filter {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 48px;
}

.filter-btn {
  background-color: transparent;
  border: 1px solid #d1d1d6;
  color: #333333;
  padding: 10px 24px;
  border-radius: 20px;
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.filter-btn.active, .filter-btn:hover {
  background-color: #1a3c34;
  color: #ffffff;
  border-color: #1a3c34;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 32px;
}

.project-card {
  background-color: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
}

.project-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
}

.project-image-wrapper {
  width: 100%;
  height: 240px;
  background-color: #e5e5ea;
  overflow: hidden;
}

.project-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.project-card:hover .project-image {
  transform: scale(1.05);
}

.project-content {
  padding: 24px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.project-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: #111111;
  margin: 0 0 12px 0;
  line-height: 1.3;
}

.project-excerpt {
  font-size: 0.95rem;
  color: #666666;
  line-height: 1.5;
  margin: 0 0 24px 0;
  flex-grow: 1;
}

.project-link {
  font-size: 0.95rem;
  font-weight: 600;
  color: #1a3c34;
  margin-top: auto;
  display: inline-flex;
  align-items: center;
}

.project-detail-section {
  max-width: 1200px;
  margin: 60px auto;
  padding: 0 20px;
}

.detail-header {
  margin-bottom: 32px;
}

.detail-title {
  font-size: 2rem;
  color: #111111;
  margin-bottom: 16px;
}

.detail-body {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #333333;
  margin-bottom: 40px;
}

.project-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.gallery-item {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

#btn-back {
  margin-bottom: 32px;
}

/* Ajustes para Móvil */
@media (max-width: 1024px) {
   .testing-list-section {
      padding: 60px 1.5rem; /* Reutilizando padding móvil */
  }

  .testing-links-list a {
      font-size: 1rem; /* Texto ligeramente más pequeño en móvil */
      padding: 1.2rem 0;
  }
}

@media (max-width: 1024px) {
   .main-nav {
      padding: 1.5rem;
  }

  .menu-toggle {
      display: flex;
  }

  .logo-container {
      margin-left: auto;
  }

  .desktop-only {
      display: none;
  }

  .nav-links {
      position: fixed;
      top: 0;
      left: -100%;
      width: 85%;
      max-width: 400px;
      height: 100vh;
      background-color: var(--white);
      flex-direction: column;
      align-items: stretch;
      padding: 6rem 2rem 2rem 2rem;
      gap: 1rem;
      z-index: 95;
      box-shadow: 5px 0 15px rgba(0,0,0,0.1);
      transition: left 0.4s ease;
      overflow-y: scroll;
  }

  .nav-links.open {
      left: 0;
  }

  .nav-links a {
      display: block;
      color: var(--primary-green);
      font-size: 1.15rem;
      padding: 1rem 1.5rem;
      border-bottom: none;
      border-radius: 30px;
  }

  .nav-links > li > a.active,
  .nav-links > li > a:hover {
      background-color: var(--light-green-bg);
      border-bottom: none;
  }

  .submenu {
      position: static;
      transform: none;
      box-shadow: none;
      width: 100%;
      display: none;
      padding-left: 1.5rem;
      margin-top: 0;
      background-color: transparent;
  }

  .submenu::before {
      display: none;
  }

  .submenu.show {
      display: block;
  }

  .submenu li a {
      font-size: 1rem;
      padding: 0.8rem 1.5rem;
      text-align: left;
      color: var(--text-dark);
  }

  h2 {
      font-size: 1.5rem !important;
      margin-bottom: 1.5rem;
      line-height: normal !important;
  }

  .cta-content h2 {
      font-size: 2.2rem;
  }

  .hero-section {
      flex-direction: column;
      padding: 3rem 1.5rem 6rem 1.5rem;
      text-align: left;
  }

  .hero-content {
      max-width: 100%;
      margin-bottom: 2rem;
  }

  .hero-content h1 {
      font-size: 2rem;
      margin-bottom: 1.2rem;
  }

  .hero-content p {
      font-size: 1rem;
      margin: 0 0 2rem 0;
      max-width: 100%;
  }

  .hero-image-container {
      width: 100%;
      justify-content: center;
      margin-top: 2rem;
  }

  .mobile-floating-phone {
      display: flex;
      align-items: center;
      gap: 0.5rem;
      position: fixed;
      bottom: 1.5rem;
      right: 5rem;
      background-color: var(--primary-green);
      color: var(--white);
      padding: 0.8rem 1rem;
      border-radius: 30px;
      z-index: 10;
      font-size: 1.1rem;
      font-weight: 300;
  }
  
  .mobile-floating-phone i {
      background: var(--light-green-bg);
    padding: 6px 6px 6px 8px;
    border-radius: 12px 0 0 12px;
  }

  .phone-icon-white {
      height: 20px;
      width: auto;
      filter: brightness(0) invert(1);
  }

  .info-section, .contact-section {
      flex-direction: column !important;
      text-align: center;
  }

  .info-section, .centered-section, .features-section, .contact-section, .carousel-section, .testimonials-section {
      padding: 4rem 1.5rem;
  }

  .section-video, .section-image, .text-content, .contact-form-container, .contact-image {
      max-width: 100%;
      width: 100%;
  }

  .section-video, .section-image {
      margin-bottom: 40px;
  }

  .contact-image {
      margin-top: 40px;
  }

  .features-grid {
      grid-template-columns: 1fr 1fr;
      gap: 20px;
  }

  .testimonials-container {
      flex-direction: column;
      text-align: center;
      padding: 0 1.5rem;
  }

  .testimonials-left, .testimonials-right {
      flex: 0 0 100%;
  }

  .testimonials-right {
      gap: 1rem;
      flex-direction: column;
  }

  .testimonial-track {
      min-height: auto;
  }

  .carousel-container {
      flex-direction: column;
      gap: 2rem;
  }

  .slider-arrow {
      min-width: auto;
  }

  .project-info {
      position: static;
      text-align: center;
      margin-bottom: 1.5rem;
  }

  .carousel-track {
      min-height: auto;
      width: 100%;
  }

  .cta-banner {
      padding: 80px 1.5rem;
      background-attachment: scroll;
  }

  .btn-whatsapp {
      padding: 0.8rem 2rem;
      font-size: 0.9rem;
  }

  .contact-info-section {
      padding: 60px 1.5rem 40px 1.5rem;
  }

  .contact-grid {
      grid-template-columns: 1fr;
      gap: 4rem;
      margin-bottom: 4rem;
  }

  .site-footer {
        padding: 1.5rem;
        position: relative;
        z-index: 100;
  }

  .site-footer p {
      line-height: 1.5;
  }

  .image-gallery-grid {
      grid-template-columns: 1fr;
      gap: 20px;
  }

  .section-video.centered {
      max-width: 60%;
  }

  .testing-detail-section {
      padding: 60px 1.5rem;
  }

  .testing-title {
      font-size: 2rem;
      margin-bottom: 2rem;
  }

  .installation-cards-section {
      padding: 60px 1.5rem;
  }

  .cards-grid {
      grid-template-columns: 1fr;
      gap: 20px;
  }

  .card-item {
      padding: 3rem 1.5rem;
  }

  .distributors-grid {
    grid-template-columns: 1fr;
    gap: 40px;
}

.distributor-card h3 {
    min-height: auto;
    margin-bottom: 1rem;
}

.blog-header-section {
    padding: 60px 1.5rem 20px 1.5rem;
}

.blog-grid-section {
    padding: 0 1.5rem 60px 1.5rem;
}

.blog-grid {
    grid-template-columns: 1fr;
    gap: 30px;
}

.article-hero {
    height: 40vh;
    min-height: 350px;
}

.article-hero-content h1 {
    font-size: 2.2rem;
}

.article-content-section {
    padding: 60px 1.5rem;
}

.article-container p {
    font-size: 1.05rem;
}

.article-share {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
}

.related-articles-section {
    padding: 60px 1.5rem;
}

.related-grid {
    grid-template-columns: 1fr;
}

}

@media (max-width: 768px) {
   .features-grid {
      grid-template-columns: 1fr 1fr;
  }
}