:root {
  --color-primary: #ffffff;
  --color-secondary: #000000;
  --color-accent: #3b82f6;
  /* Just in case needed later */
  --color-text-muted: #a1a1aa;

  --font-main: 'Lato', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
}

/* --- LENIS SMOOTH SCROLL --- */
html.lenis,
html.lenis body {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}

.lenis.lenis-stopped {
  overflow: hidden;
}

.lenis.lenis-scrolling iframe {
  pointer-events: none;
}

body {
  font-family: 'Lato', sans-serif;
  background-color: #ffffff;
  /* Default background is now white */
  color: #333333;
  /* Dark text for readability on white */
  line-height: 1.6;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Lato', sans-serif;
  font-weight: 700;
  color: #111111;
  /* Dark headings by default */
  line-height: 1.2;
}

/* --- BLACK BACKGROUND OVERRIDE FOR SPECIFIC SECTIONS --- */
.bg-black {
  background-color: #000;
}

.bg-black h1,
.bg-black h2,
.bg-black h3,
.bg-black h4,
.bg-black h5,
.bg-black h6 {
  color: #ffffff;
}

.bg-black p {
  color: #a1a1aa;
}

ul {
  list-style: none;
}

a {
  text-decoration: none;
  color: #fff;
}

.container {
  width: 100%;
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 5%;
}

/* --- NAV BAR --- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100px;
  z-index: 1000;
  background-color: transparent;
  transition: background-color 0.4s ease, height 0.4s ease;
}

.navbar-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.navbar.scrolled {
  background-color: #000;
  height: 80px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.logo {
  display: flex;
  align-items: center;
}

.logo-img {
  height: 60px;
  /* Adjust based on the actual SVG proportions */
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  font-size: 0.85rem;
  font-weight: 400;
}

.nav-links a {
  transition: opacity 0.3s ease;
}

.nav-links a:hover {
  opacity: 0.6;
}

/* --- DROPDOWN MENU --- */
.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  height: 1.5rem;
}

.dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: rgba(20, 20, 20, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  min-width: 200px;
  box-shadow: 0px 8px 24px 0px rgba(0, 0, 0, 0.6);
  z-index: 1001;
  border-radius: 12px;
  padding: 0.5rem 0;
  border: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 1rem;
}

.dropdown-content::before {
  content: "";
  position: absolute;
  top: -10px;
  left: 20px;
  border-width: 0 10px 10px 10px;
  border-style: solid;
  border-color: transparent transparent rgba(255, 255, 255, 0.1) transparent;
}

.dropdown-content a {
  color: white !important;
  padding: 12px 20px;
  text-decoration: none;
  display: block;
  font-weight: 400;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.dropdown-content a:hover {
  background-color: rgba(255, 255, 255, 0.1);
  opacity: 1 !important;
}

.dropdown:hover .dropdown-content {
  display: block;
  animation: fadeInDropdown 0.3s ease forwards;
}

@keyframes fadeInDropdown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}


.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 0.6rem 1.8rem;
  border: 2px solid var(--color-primary);
  border-radius: 50px;
  color: var(--color-primary);
  background-color: transparent;
  transition: all 0.3s ease;
  white-space: nowrap;
  opacity: 1 !important;
  visibility: visible !important;
}

.btn-outline:hover {
  background-color: var(--color-primary);
  color: var(--color-secondary);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 21px;
  cursor: pointer;
  z-index: 101;
}

.hamburger .bar {
  height: 2px;
  width: 100%;
  background-color: var(--color-primary);
  border-radius: 10px;
  transition: all 0.3s ease;
}

/* --- HERO SECTION --- */
.hero-wrapper {
  padding-top: 2rem;
}

.hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 90vh;
  padding-top: 15vh;
  position: relative;
}

.hero-content {
  flex: 1;
  max-width: 500px;
  z-index: 2;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 500;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  letter-spacing: -1px;
}

.hero-subtitle {
  font-size: 1.1rem;
  font-weight: 300;
  color: var(--color-text-muted);
  line-height: 1.4;
}

.hero-image {
  flex: 1;
  position: relative;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  max-width: 60vw;
}

.truss-img {
  width: 120%;
  max-width: 900px;
  object-fit: cover;
  transform: translateX(10%);
  /* Remove image background blending and rely on pure black */
}

/* --- SECTION BACKGROUNDS --- */
.section-bg-white {
  background-color: #ffffff;
  color: #000000;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  /* ensures full bleed even with container logic, but strictly wrapping outside is better so this isn't strictly necessary, but I'll use simple background-color: #ffffff */
}

.section-bg-white {
  background-color: var(--color-primary);
  width: 100%;
}

/* --- ABOUT SECTION --- */
.about-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 6rem;
  padding-bottom: 6rem;
  gap: 4rem;
  color: #000000;
}

.about-content {
  flex: 1;
  max-width: 500px;
}

.badge {
  background-color: #2A2B34;
  /* Orange from reference */
  color: #ffffff;
  padding: 0.4rem 1.2rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 700;
  display: inline-block;
  margin-bottom: 1.5rem;
}

.section-title {
  font-size: 3.2rem;
  font-weight: 400;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  letter-spacing: -1px;
}

.section-text {
  font-size: 1.1rem;
  color: #4b5563;
  /* Darker gray for white background */
  margin-bottom: 2rem;
  max-width: 800px;
}

.btn-solid {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: #111111;
  color: #ffffff;
  padding: 1rem 2rem;
  border-radius: 8px;
  font-weight: 700;
  margin-top: 0.5rem;
  transition: background-color 0.3s ease;
}

.btn-solid:hover {
  background-color: #333333;
}

.about-images {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  max-width: 650px;
}

.img-tall {
  height: 100%;
}

.img-tall img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
  min-height: 400px;
}

.img-stack {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.img-stack img {
  width: 100%;
  height: calc(50% - 0.75rem);
  object-fit: cover;
  border-radius: 20px;
  min-height: 220px;
}

/* --- SERVICES SECTION --- */
.pb-4 {
  padding-bottom: 6rem;
}

.services-card {
  background-color: #000;
  border-radius: 24px;
  display: flex;
  align-items: center;
  padding: 4rem;
  gap: 4rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.services-image {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.services-image img {
  width: 100%;
  max-width: 500px;
  height: auto;
  border-radius: 12px;
  object-fit: contain;
}

.services-content {
  flex: 1;
  color: #ffffff;
}

.services-tabs {
  display: flex;
  gap: 2rem;
  border-bottom: 1px solid #333333;
  margin-bottom: 2.5rem;
}

.tab-btn {
  background: none;
  border: none;
  color: #a1a1aa;
  font-family: inherit;
  font-size: 1.2rem;
  padding-bottom: 0.8rem;
  cursor: pointer;
  position: relative;
  transition: color 0.3s ease;
}

.tab-btn.active {
  color: #ffffff;
  font-weight: 700;
}

.tab-btn.active::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #ffffff;
}

.tab-pane {
  display: none;
  animation: fadeIn 0.4s ease forwards;
}

.tab-pane.active {
  display: block;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.custom-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.custom-bullets li {
  display: flex;
  align-items: center;
  font-size: 1.05rem;
  color: #e5e7eb;
}

.bullet-icon {
  margin-right: 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.bullet-icon svg {
  width: 20px;
  height: 20px;
  color: #ffffff;
}

/* --- PRODUCTOS SECTION --- */
.products-section {
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  /* Full bleed override */
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  width: 100%;
}

.product-card {
  position: relative;
  height: 80vh;
  min-height: 600px;
  background-size: cover;
  background-position: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 4rem 3rem;
  color: #ffffff;
  overflow: hidden;
  border-right: 1px solid rgba(255, 255, 255, 0.15);
}

.product-card:last-child {
  border-right: none;
}

.product-card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.4) 40%, rgba(0, 0, 0, 0.85) 100%);
  z-index: 1;
  transition: opacity 0.4s ease;
}

.product-card:hover .product-card-overlay {
  opacity: 0.6;
}

.product-top {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 1rem;
  transform: translateY(0);
  transition: transform 0.4s ease;
}

.product-title {
  color: #fff;
}

.product-icon svg {
  width: 28px;
  height: 28px;
}

.product-title {
  font-size: 2.2rem;
  font-weight: 300;
  letter-spacing: 0.5px;
}

.product-bottom {
  position: relative;
  z-index: 2;
  transform: translateY(0);
  transition: transform 0.4s ease;
}

.product-bottom p {
  font-size: 1.05rem;
  line-height: 1.6;
  opacity: 0.9;
  max-width: 90%;
}

.product-card:hover .product-top {
  transform: translateY(-5px);
}

.product-card:hover .product-bottom {
  transform: translateY(5px);
}

/* --- COMERCIAL SECTION --- */
.commercial-section {
  padding-top: 6rem;
  padding-bottom: 6rem;
}

.commercial-header {
  margin-bottom: 4rem;
}

.commercial-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.commercial-card {
  background-color: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 24px;
  padding: 4rem 3rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
  position: relative;
  top: 0;
  transition: top 0.3s ease, box-shadow 0.3s ease;
  color: #000000;
  display: flex;
  flex-direction: column;
}

.commercial-card:hover {
  top: -8px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.card-icon {
  margin-bottom: 2rem;
}

.card-icon svg {
  width: 48px;
  height: 48px;
  color: #2A2B34;
}

.badge-black {
  display: inline-block;
  background-color: #111111;
  color: #ffffff;
  padding: 0.4rem 1.2rem;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  align-self: flex-start;
  letter-spacing: 1px;
}

.commercial-subtitle {
  font-size: 1.2rem;
  font-weight: 400;
  color: #4b5563;
  margin-bottom: 3rem;
  line-height: 1.5;
}

.commercial-lists {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  flex: 1;
}

.commercial-lists h4 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 1.2rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #111111;
}

.commercial-lists ul {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.commercial-lists li {
  display: flex;
  align-items: center;
  color: #4b5563;
  font-size: 1.05rem;
}

.icon-check {
  color: #2A2B34;
  font-weight: 900;
  margin-right: 0.8rem;
}

.tag-list {
  flex-direction: row !important;
  flex-wrap: wrap;
  gap: 0.8rem !important;
}

.tag-list li {
  background-color: #f3f4f6;
  color: #111111;
  font-size: 0.9rem;
  font-weight: 700;
  padding: 0.5rem 1rem;
  border-radius: 50px;
}

/* --- DIFERENCIA SECTION --- */
.diferencia-section {
  padding-top: 8rem;
  padding-bottom: 8rem;
}

.diferencia-header {
  margin-bottom: 5rem;
}

.diferencia-list {
  display: flex;
  flex-direction: column;
  gap: 4rem;
  max-width: 800px;
  margin: 0 auto;
}

.diferencia-item {
  display: flex;
  align-items: center;
  gap: 4rem;
}

.diferencia-img {
  flex: 0 0 250px;
}

.diferencia-img img {
  width: 100%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.5));
}

.diferencia-text {
  flex: 1;
}

.diferencia-text h3 {
  font-size: 1.6rem;
  font-weight: 500;
  margin-bottom: 1rem;
  color: #ffffff;
}

.diferencia-text p {
  color: #a1a1aa;
  font-size: 1.1rem;
  line-height: 1.6;
}

/* --- CONTACT SECTION --- */
.contact-section {
  padding-top: 8rem;
  padding-bottom: 8rem;
}

.contact-wrapper {
  display: flex;
  gap: 4rem;
  background-color: #0b0b0b;
  border-radius: 24px;
  padding: 4rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.contact-info {
  flex: 1;
  max-width: 400px;
}

.contact-form-container {
  flex: 1.5;
}

.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group-full {
  grid-column: span 2;
}

.form-group label {
  font-size: 0.9rem;
  font-weight: 700;
  color: #d1d5db;
  letter-spacing: 0.5px;
}

.form-group input,
.form-group select,
.form-group textarea {
  background-color: #1a1a1a;
  border: 1px solid #333333;
  border-radius: 8px;
  padding: 1rem;
  color: #ffffff;
  font-family: inherit;
  font-size: 1rem;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #ff5a36;
  box-shadow: 0 0 0 2px rgba(255, 90, 54, 0.2);
}

.btn-submit {
  grid-column: span 2;
  background-color: #25D366;
  /* WhatsApp Green */
  color: #ffffff;
  justify-content: center;
  font-size: 1.1rem;
  padding: 1.2rem;
  margin-top: 1rem;
  border: none;
}

.btn-submit:hover {
  background-color: #1da851;
}

/* --- FLOATING WHATSAPP BUTTON --- */
.whatsapp-float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 30px;
  right: 30px;
  background-color: #25d366;
  color: #fff;
  border-radius: 50%;
  text-align: center;
  font-size: 30px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}

.whatsapp-float svg {
  width: 32px;
  height: 32px;
}

.whatsapp-float:hover {
  background-color: #128c7e;
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

/* --- E-COMMERCE / CATALOGO --- */
.catalog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
}

.catalog-card {
  background-color: #0b0b0b;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  display: flex;
  flex-direction: column;
}

.catalog-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  border-color: rgba(255, 255, 255, 0.2);
}

.catalog-img {
  width: 100%;
  height: 250px;
  background-color: #111;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.catalog-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.catalog-card:hover .catalog-img img {
  transform: scale(1.05);
}

.catalog-info {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.catalog-info h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.catalog-info p {
  color: #a1a1aa;
  font-size: 1rem;
  margin-bottom: 1.5rem;
}

.view-details {
  margin-top: auto;
  color: var(--color-primary);
  font-weight: 700;
  font-size: 0.9rem;
}

/* --- PRODUCT DETAIL --- */
.product-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.product-gallery {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 600px;
}

.main-product-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.specs-table {
  width: 100%;
  border-collapse: collapse;
}

.specs-table td {
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  color: #a1a1aa;
}

.specs-table td:last-child {
  color: #fff;
  text-align: right;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
  .container {
    padding: 0 5%;
  }

  .hamburger {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background-color: var(--color-secondary);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: right 0.4s ease;
  }

  .nav-links.active {
    right: 0;
  }

  .nav-links li {
    font-size: 1.2rem;
    width: 100%;
    text-align: center;
  }

  .nav-links li.dropdown {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .dropdown-content {
    position: static;
    display: none;
    background-color: transparent;
    box-shadow: none;
    border: none;
    margin-top: 0;
    min-width: 100%;
    padding: 0;
    opacity: 1;
    visibility: visible;
    transform: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .dropdown-content::before {
    display: none;
  }

  .dropdown.active .dropdown-content {
    display: block;
  }

  .dropdown-content a {
    padding: 10px 20px;
    font-size: 1.1rem;
    opacity: 0.8;
  }

  .dropdown-content a:hover {
    background-color: rgba(255, 255, 255, 0.05);
  }

  .btn-outline {
    padding: 0.6rem 2rem;
    font-size: 0.9rem;
    border-width: 2px;
    margin-top: 1rem;
  }

  .hamburger.active .bar:nth-child(1) {
    transform: translateY(9.5px) rotate(45deg);
  }

  .hamburger.active .bar:nth-child(2) {
    opacity: 0;
  }

  .hamburger.active .bar:nth-child(3) {
    transform: translateY(-9.5px) rotate(-45deg);
  }

  .hero {
    flex-direction: column;
    justify-content: center;
    text-align: center;
    padding-top: 4rem;
  }

  .hero-content {
    margin-bottom: 3rem;
  }

  .hero-image {
    justify-content: center;
  }

  .truss-img {
    width: 100%;
    transform: translateX(0);
  }

  /* ABOUT RESPONSIVE */
  .about-section {
    flex-direction: column;
    padding-top: 4rem;
    padding-bottom: 4rem;
    gap: 3rem;
  }

  .about-images {
    width: 100%;
    max-width: 100%;
  }

  /* SERVICES RESPONSIVE */
  .services-card {
    flex-direction: column;
    padding: 2.5rem;
    gap: 2.5rem;
  }

  .services-image {
    max-width: 100%;
  }

  .services-tabs {
    flex-wrap: wrap;
    gap: 1rem;
  }

  .tab-btn {
    font-size: 1rem;
  }

  /* PRODUCTOS RESPONSIVE */
  .product-grid {
    grid-template-columns: 1fr;
  }

  .product-card {
    min-height: 50vh;
    padding: 3rem 2rem;
    border-right: none;
    border-bottom: 2px solid #1a1a1a;
  }

  /* COMERCIAL RESPONSIVE */
  .commercial-grid {
    grid-template-columns: 1fr;
  }

  /* CONTACT RESPONSIVE */
  .contact-wrapper {
    flex-direction: column;
    padding: 2.5rem 1.5rem;
    gap: 2.5rem;
  }

  .contact-form {
    grid-template-columns: 1fr;
  }

  .form-group-full,
  .btn-submit {
    grid-column: span 1;
  }

  /* DIFERENCIA RESPONSIVE */
  .diferencia-item {
    flex-direction: column;
    text-align: center;
    gap: 2rem;
  }

  .diferencia-img {
    flex: 0 0 180px;
  }
}

/* SMARTPHONE OPTIMIZATIONS (<= 768px) */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.6rem;
    /* Reducido de 5rem */
  }

  .section-title {
    font-size: 2.2rem;
    /* Reducido de 3rem */
  }

  .hero-subtitle {
    font-size: 1.1rem;
  }

  /* El collage de Quienes Somos en una columna */
  .about-images {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .about-images img {
    height: 250px;
    /* Tamaño consistente en móvil */
  }

  .product-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .product-gallery {
    height: 300px;
  }

  .product-title {
    font-size: 1.8rem;
  }

  .product-card {
    padding: 2.5rem 1.5rem;
    min-height: 40vh;
  }

  .products-section {
    margin-top: 60px;
  }

  .commercial-card {
    padding: 2.5rem 1.5rem;
  }

  /* Ajuste de espaciadores de las secciones para ahorrar scroll */
  .diferencia-section,
  .about-section,
  .contact-section,
  .commercial-section {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }

  /* Ajustar los encabezados de sección para que no tengan tanto margen abajo */
  .section-header,
  .commercial-header,
  .diferencia-header {
    margin-bottom: 2.5rem;
  }

  .nav-links li {
    font-size: 1.5rem;
    /* Botones más clickeables en el menu hamburguesa */
  }
}

/* --- NEW PRODUCT DETAIL SPLIT DESIGN --- */
.product-detail-page {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  padding: 150px 5% 5rem;
  max-width: 1300px;
  margin: 0 auto;
  color: #fff;
  align-items: center;
}

.product-image-container {
  display: flex;
  justify-content: center;
  align-items: center;
  background: transparent;
  margin-top: 30px;
}

.product-image-container img {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  max-width: 100%;
  height: auto;
  max-height: 500px;
  object-fit: contain;
}

.product-info-container {
  display: flex;
  flex-direction: column;
}

.product-info-container .card-title {
  font-size: 2.5rem;
  font-weight: 500;
  margin-bottom: 0.2rem;
  line-height: 1.1;
  text-transform: uppercase;
  color: #ffffff;
}

.product-info-container .card-subtitle {
  font-size: 1rem;
  color: #a1a1aa;
  margin-bottom: 2rem;
  text-transform: uppercase;
  font-weight: 400;
}

.product-info-container .card-desc {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 2rem;
  color: #e5e7eb;
}

.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: #2EBA5E;
  color: white;
  padding: 0.8rem 1.5rem;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  margin-bottom: 3rem;
  align-self: flex-start;
  transition: background-color 0.3s ease;
}

.btn-whatsapp:hover {
  background-color: #1EBE55;
}

.product-info-container .specs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.product-info-container .spec-item {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  background: transparent;
  transition: background 0.3s ease;
}

.product-info-container .spec-item:hover {
  background: rgba(255, 255, 255, 0.02);
}

.spec-icon-img {
  width: 60px;
  height: 60px;
  object-fit: contain;
}

.spec-text {
  display: flex;
  flex-direction: column;
}

.spec-text .spec-label {
  font-size: 0.85rem;
  color: #ffffff;
  margin-bottom: 0.4rem;
  font-weight: 500;
}

.spec-text .spec-value {
  font-size: 1.1rem;
  color: #a1a1aa;
  font-weight: 400;
}

.back-btn-fullscreen {
  position: absolute;
  top: 120px;
  left: 5%;
  z-index: 20;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 0.6rem 1.2rem;
  background: transparent;
  border-radius: 50px;
  transition: all 0.3s ease;
}

.back-btn-fullscreen svg {
  width: 18px;
  height: 18px;
}

@media (max-width: 991px) {
  .product-detail-page {
    grid-template-columns: 1fr;
    padding-top: 15vh;
    gap: 2rem;
  }

  .back-btn-fullscreen {
    top: 20px;
  }
}