/* ========================================
   RECICLADORA SAN JUAN - Stylesheet
   HTML + CSS + JS Puro
   ======================================== */

/* Reset & Base */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Roboto', sans-serif;
  font-size: 15px;
  line-height: 1.6;
  color: #777777;
  background: #ffffff;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; transition: color 0.3s; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }
button { border: none; background: none; cursor: pointer; font-family: inherit; }
input, textarea { font-family: inherit; }

/* Colors */
:root {
  --yellow: #ffd200;
  --dark: #353535;
  --charcoal: #222222;
  --gray: #777777;
  --light-gray: #f5f5f5;
  --border-gray: #e0e0e0;
  --white: #ffffff;
  --footer-bg: #1a1a1a;
}

/* Container */
.container { max-width: 1200px; margin: 0 auto; padding: 0 15px; }

/* ========================================
   TOP BAR
   ======================================== */
.top-bar {
  background: var(--dark);
  padding: 8px 0;
}
.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.top-bar a { color: var(--white); font-size: 14px; display: inline-flex; align-items: center; gap: 8px; }
.top-bar a:hover { color: var(--yellow); }
.top-bar svg, .top-bar .icon { width: 16px; height: 16px; color: var(--yellow); flex-shrink: 0; }
.top-bar .right { display: flex; align-items: center; gap: 20px; }

/* ========================================
   HEADER
   ======================================== */
.header {
  background: var(--white);
  box-shadow: 0 0 25px rgba(0,0,0,0.1);
  position: relative;
  z-index: 999;
}
.header.fixed {
  position: fixed;
  top: 0; left: 0; right: 0;
}
.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo { padding: 15px 0; display: inline-block; }
.logo img { height: 40px; width: auto; }

/* Navigation */
.nav > ul { display: flex; align-items: center; }
.nav > ul > li { position: relative; }
.nav > ul > li > a,
.nav > ul > li > button {
  display: block;
  padding: 0 16px;
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  color: var(--charcoal);
  line-height: 80px;
  background: none;
  border: none;
  cursor: pointer;
}
.nav > ul > li > a:hover,
.nav > ul > li > button:hover,
.nav > ul > li > a.active { color: var(--yellow); }

/* Dropdown */
.dropdown { position: relative; }
.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--white);
  box-shadow: 0 5px 20px rgba(0,0,0,0.15);
  min-width: 200px;
  padding: 8px 0;
  z-index: 100;
}
.dropdown.open .dropdown-menu { display: block; }
.dropdown-menu li a {
  line-height: normal;
  padding: 10px 20px;
  font-size: 14px;
  text-transform: none;
  font-weight: 400;
  display: block;
}
.dropdown-menu li a:hover { background: #f9f9f9; }

/* Mobile menu */
.mobile-toggle { display: none; padding: 10px; }
.mobile-toggle svg { width: 24px; height: 24px; }

/* ========================================
   HERO SLIDER
   ======================================== */
.hero-slider {
  position: relative;
  width: 100%;
  height: 700px;
  overflow: hidden;
}
.hero-slide {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  opacity: 0;
  transition: opacity 0.8s ease;
  z-index: 0;
}
.hero-slide.active { opacity: 1; z-index: 1; }
.hero-slide .bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}
.hero-slide .overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.4);
}
.hero-slide .content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}
.hero-slide .content.left { justify-content: flex-start; }
.hero-slide .content.right { justify-content: flex-end; text-align: right; }
.hero-slide .content.center { justify-content: center; text-align: center; }
.hero-slide h1 {
  font-size: 64px;
  font-weight: 500;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 20px;
  max-width: 800px;
}
.hero-slide h1 .highlight { color: var(--yellow); }
.hero-slide p {
  font-size: 17px;
  color: rgba(255,255,255,0.9);
  max-width: 600px;
  line-height: 1.7;
}

/* Slider arrows */
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 30px;
  height: 80px;
  background: var(--yellow);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: none;
  transition: opacity 0.3s;
}
.slider-arrow:hover { opacity: 0.85; }
.slider-arrow.prev { left: 0; }
.slider-arrow.next { right: 0; }
.slider-arrow svg { width: 20px; height: 20px; color: var(--white); }

/* Wave SVG */
.hero-wave {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 5;
  pointer-events: none;
  line-height: 0;
}
.hero-wave svg { width: 100%; height: auto; display: block; }

/* ========================================
   COMMON COMPONENTS
   ======================================== */
.section-padding { padding: 80px 0; }
.yellow-bar {
  width: 50px;
  height: 3px;
  background: var(--yellow);
  margin: 12px 0 20px;
}
.yellow-bar.center { margin-left: auto; margin-right: auto; }

/* Grid helpers */
.row { display: flex; flex-wrap: wrap; margin: 0 -15px; }
.col-6 { width: 50%; padding: 0 15px; }
.col-4 { width: 33.333%; padding: 0 15px; }
.col-3 { width: 25%; padding: 0 15px; }

/* ========================================
   TRUST SECTION
   ======================================== */
.trust-section { background: var(--white); padding: 80px 0; }
.trust-section .row { align-items: center; }
.trust-section h2 {
  font-size: 32px;
  font-weight: 500;
  color: var(--charcoal);
}
.trust-section p { margin-bottom: 15px; }
.feature-boxes { display: flex; gap: 20px; margin-top: 25px; }
.feature-box {
  flex: 1;
  border-left: 3px solid var(--yellow);
  padding-left: 15px;
}
.feature-box h4 {
  font-size: 18px;
  font-weight: 500;
  color: var(--charcoal);
  margin-bottom: 5px;
}
.feature-box p { font-size: 14px; margin: 0; }

/* ========================================
   SERVICIOS BAR
   ======================================== */
.servicios-bar {
  background: var(--yellow);
  padding: 18px 0;
  text-align: center;
}
.servicios-bar h4 {
  font-size: 18px;
  font-weight: 500;
  color: var(--charcoal);
}

/* ========================================
   SERVICIOS DETAILS (Parallax)
   ======================================== */
.servicios-details {
  position: relative;
  padding: 80px 0;
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
}
.servicios-details .dark-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(0,0,0,0.8), rgba(0,0,0,0.6));
}
.servicios-details .content { position: relative; z-index: 2; }
.servicios-details h2 {
  font-size: 32px;
  font-weight: 500;
  color: var(--white);
}
.servicios-details .grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-top: 40px;
  max-width: 900px;
}
.servicios-details .item {
  display: flex;
  gap: 15px;
}
.servicios-details .item svg,
.servicios-details .item .icon {
  width: 40px; height: 40px;
  color: var(--yellow);
  flex-shrink: 0;
}
.servicios-details .item h3 {
  font-size: 18px;
  font-weight: 500;
  color: var(--white);
  margin-bottom: 8px;
}
.servicios-details .item p {
  font-size: 14px;
  color: rgba(255,255,255,0.8);
  line-height: 1.6;
}

/* ========================================
   NUESTROS SERVICIOS GRID
   ======================================== */
.services-grid { padding: 80px 0 40px; background: var(--white); }
.services-grid .section-header { text-align: center; margin-bottom: 40px; }
.services-grid h2 {
  font-size: 32px;
  font-weight: 500;
  color: var(--charcoal);
}
.services-grid .subtitle {
  max-width: 600px;
  margin: 15px auto 0;
}
.services-grid .grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  position: relative;
}
.services-grid .service-card {
  padding: 35px 25px;
  text-align: center;
  border-bottom: 1px solid var(--border-gray);
  border-right: 1px solid var(--border-gray);
}
.services-grid .service-card:nth-child(3n) { border-right: none; }
.services-grid .service-card:nth-child(n+4) { border-bottom: none; }
.services-grid .service-card svg,
.services-grid .service-card .icon {
  width: 50px; height: 50px;
  color: var(--yellow);
  margin: 0 auto 15px;
}
.services-grid .service-card h3 {
  font-size: 16px;
  font-weight: 500;
  color: var(--charcoal);
  text-transform: uppercase;
  margin-bottom: 12px;
}
.services-grid .service-card p {
  font-size: 14px;
  line-height: 1.6;
}
.grua-decoration {
  position: absolute;
  right: -30px;
  top: 0;
  width: 180px;
  pointer-events: none;
  z-index: 10;
}
.flow-image { text-align: center; margin-top: 30px; }
.flow-image img { display: inline-block; max-width: 100%; }

/* ========================================
   POR QUE ELEGIRNOS
   ======================================== */
.porque-elegirnos { display: flex; }
.porque-elegirnos .image-col {
  width: 50%;
  min-height: 500px;
  background-size: cover;
  background-position: center;
}
.porque-elegirnos .content-col {
  width: 50%;
  background: var(--footer-bg);
  padding: 80px 60px;
}
.porque-elegirnos h2 {
  font-size: 32px;
  font-weight: 500;
  color: var(--white);
}
.timeline { margin-top: 40px; position: relative; padding-left: 30px; }
.timeline::before {
  content: '';
  position: absolute;
  left: 11px;
  top: 5px;
  bottom: 5px;
  width: 2px;
  background: rgba(255,210,0,0.3);
}
.timeline-item { position: relative; margin-bottom: 35px; }
.timeline-item:last-child { margin-bottom: 0; }
.timeline-item .dot {
  position: absolute;
  left: -30px;
  top: 2px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--yellow);
}
.timeline-item h4 {
  font-size: 18px;
  font-weight: 500;
  color: var(--yellow);
  margin-bottom: 10px;
}
.timeline-item p {
  font-size: 14px;
  color: rgba(255,255,255,0.8);
  line-height: 1.7;
}

/* ========================================
   CONTACTO
   ======================================== */
.contacto { padding-top: 80px; background: var(--white); }
.contacto .section-header { text-align: center; margin-bottom: 40px; }
.contacto h2 {
  font-size: 32px;
  font-weight: 500;
  color: var(--charcoal);
}

/* Contact info cards */
.contact-info { padding-bottom: 50px; }
.contact-info .row { justify-content: center; }
.info-card {
  background: var(--white);
  border: 1px solid var(--border-gray);
  border-radius: 6px;
  padding: 30px 20px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
.info-card .icon-circle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--yellow);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 15px;
}
.info-card .icon-circle svg { width: 26px; height: 26px; color: var(--charcoal); }
.info-card h4 {
  font-size: 16px;
  font-weight: 500;
  color: var(--charcoal);
  margin-bottom: 8px;
}
.info-card p, .info-card a { font-size: 14px; color: var(--gray); }
.info-card a:hover { color: var(--yellow); }

/* Contact form */
.contact-form-section { display: flex; }
.contact-form-section .form-col {
  width: 50%;
  background: var(--light-gray);
  padding: 50px 60px;
}
.contact-form-section .image-col {
  width: 50%;
  background-size: cover;
  background-position: center;
  min-height: 500px;
}
.contact-form-section h3 {
  font-size: 20px;
  font-weight: 500;
  color: var(--charcoal);
  margin-bottom: 25px;
}
.form-group { margin-bottom: 18px; }
.form-group label {
  display: block;
  font-size: 14px;
  color: var(--gray);
  margin-bottom: 6px;
}
.form-group label .required { color: #e74c3c; }
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid var(--border-gray);
  background: var(--white);
  font-size: 14px;
  transition: border-color 0.3s;
}
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--yellow);
}
.form-group textarea { resize: vertical; }

.btn-submit {
  display: inline-block;
  padding: 12px 40px;
  background: transparent;
  border: 1px solid var(--charcoal);
  color: var(--charcoal);
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.3s;
}
.btn-submit:hover {
  background: var(--charcoal);
  color: var(--white);
}
.success-msg {
  background: #d4edda;
  color: #155724;
  padding: 12px 15px;
  border-radius: 4px;
  margin-bottom: 15px;
  font-size: 14px;
  display: none;
}
.success-msg.show { display: block; }

/* ========================================
   FOOTER
   ======================================== */
.footer {
  background: var(--footer-bg);
  padding: 20px 0;
}
.footer .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer p, .footer a {
  color: var(--white);
  font-size: 14px;
}
.footer a:hover { color: var(--yellow); }
.footer-links { display: flex; gap: 15px; align-items: center; }
.footer-links .sep { color: rgba(255,255,255,0.3); }

/* ========================================
   PAGE HERO (internal pages)
   ======================================== */
.page-hero {
  position: relative;
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
}
.page-hero .overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.5);
}
.page-hero .content {
  position: relative;
  z-index: 2;
  text-align: center;
}
.page-hero h1 {
  font-size: 42px;
  font-weight: 500;
  color: var(--white);
}
.page-hero .yellow-bar { margin: 12px auto 0; }

/* ========================================
   DESTRUCCION PAGE
   ======================================== */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  padding-bottom: 60px;
}
.step-item { text-align: center; }
.step-item svg, .step-item .icon {
  width: 50px; height: 50px;
  color: var(--yellow);
  margin: 0 auto 15px;
}
.step-item h3 {
  font-size: 18px;
  font-weight: 500;
  color: var(--charcoal);
  margin-bottom: 10px;
}
.step-item p { font-size: 14px; }

.materials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  padding: 40px 0;
}
.material-item { display: flex; gap: 15px; }
.material-item .icon-wrap {
  width: 50px; height: 50px;
  border-radius: 50%;
  border: 2px solid var(--yellow);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.material-item .icon-wrap svg { width: 24px; height: 24px; color: var(--yellow); }
.material-item h4 {
  font-size: 16px;
  font-weight: 500;
  color: var(--white);
  margin-bottom: 8px;
}
.material-item p { font-size: 14px; color: rgba(255,255,255,0.7); }

.equipment-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 25px;
}
.equipment-item .img-wrap { overflow: hidden; }
.equipment-item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: transform 0.5s;
}
.equipment-item:hover img { transform: scale(1.05); }
.equipment-item .title-bar {
  background: var(--dark);
  padding: 14px;
  text-align: center;
}
.equipment-item .title-bar h4 {
  color: var(--white);
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
}

/* ========================================
   RECICLAJE PAGE - Tabs
   ======================================== */
.tabs-nav {
  display: flex;
  border: 1px solid var(--border-gray);
  margin-bottom: 40px;
}
.tab-btn {
  flex: 1;
  padding: 14px 20px;
  font-size: 14px;
  font-weight: 500;
  color: var(--gray);
  background: var(--white);
  border: none;
  border-right: 1px solid var(--border-gray);
  cursor: pointer;
  transition: all 0.3s;
  text-align: center;
}
.tab-btn:last-child { border-right: none; }
.tab-btn.active {
  color: var(--yellow);
  border-top: 2px solid var(--yellow);
}
.tab-btn:hover { color: var(--charcoal); }

.tab-panel { display: none; }
.tab-panel.active { display: block; }

.tab-content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}
.tab-content-grid h3 {
  font-size: 22px;
  color: var(--yellow);
  margin-bottom: 15px;
}
.tab-content-grid .bold-text {
  font-weight: 500;
  color: var(--charcoal);
  margin: 15px 0;
}
.check-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 15px;
}
.check-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
}
.check-list li svg { width: 16px; height: 16px; color: var(--yellow); flex-shrink: 0; }

/* ========================================
   RECOLECCION PAGE
   ======================================== */
.sidebar-layout { display: flex; gap: 40px; padding: 60px 0; }
.sidebar { width: 280px; flex-shrink: 0; }
.sidebar h3 {
  font-size: 18px;
  font-weight: 500;
  color: var(--charcoal);
}
.sidebar ul { margin-top: 15px; }
.sidebar ul li { padding: 8px 0; }
.sidebar ul li a {
  font-size: 14px;
  color: var(--gray);
}
.sidebar ul li a:hover { color: var(--yellow); }
.main-content { flex: 1; }
.main-content h2 {
  font-size: 28px;
  font-weight: 500;
  color: var(--charcoal);
  margin-bottom: 5px;
}
.main-content .content-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 30px;
  margin-top: 20px;
}
.main-content .content-grid p {
  font-size: 14px;
  line-height: 1.8;
  margin-bottom: 15px;
}

/* CTA Bar */
.cta-bar {
  background: var(--yellow);
  padding: 25px 0;
}
.cta-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.cta-bar p {
  font-size: 18px;
  font-weight: 500;
  color: var(--charcoal);
}

/* ========================================
   COMERCIALIZACION PAGE
   ======================================== */
.products-layout { display: grid; grid-template-columns: 1fr 300px; gap: 40px; }
.products-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 25px;
}
.product-card {
  border: 1px solid var(--border-gray);
  border-radius: 4px;
  overflow: hidden;
}
.product-card .img-wrap { position: relative; overflow: hidden; }
.product-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  transition: transform 0.5s;
}
.product-card:hover img { transform: scale(1.05); }
.stock-badge {
  position: absolute;
  top: 12px;
  left: 12px;
}
.stock-badge .en { background: var(--yellow); color: var(--charcoal); font-size: 11px; font-weight: 700; padding: 3px 8px; }
.stock-badge .st { background: var(--dark); color: var(--white); font-size: 11px; font-weight: 700; padding: 3px 8px; }
.product-card .body { padding: 18px; }
.product-card h4 {
  font-size: 15px;
  font-weight: 500;
  color: var(--charcoal);
  margin-bottom: 8px;
}
.product-card p {
  font-size: 13px;
  margin-bottom: 15px;
}
.btn-cotizar {
  display: inline-block;
  padding: 8px 25px;
  border: 1px solid var(--charcoal);
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  background: transparent;
  cursor: pointer;
  transition: all 0.3s;
}
.btn-cotizar:hover { background: var(--charcoal); color: var(--white); }

/* Sidebar widgets */
.widget { margin-bottom: 35px; }
.widget h4 {
  font-size: 16px;
  font-weight: 500;
  color: var(--charcoal);
  margin-bottom: 5px;
}
.widget .search-box {
  position: relative;
  margin-top: 15px;
}
.widget .search-box input {
  width: 100%;
  padding: 12px 40px 12px 15px;
  border: 1px solid var(--border-gray);
  font-size: 14px;
}
.widget .search-box input:focus { outline: none; border-color: var(--yellow); }
.widget .search-box svg {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  color: var(--yellow);
}
.widget p { font-size: 14px; line-height: 1.7; }
.widget ul li { padding: 6px 0; }
.widget ul li a { font-size: 14px; color: var(--gray); }
.widget ul li a:hover { color: var(--yellow); }

.recommended-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
  cursor: pointer;
}
.recommended-item img {
  width: 55px;
  height: 55px;
  object-fit: cover;
  border-radius: 4px;
}
.recommended-item .name {
  font-size: 14px;
  color: var(--charcoal);
}
.recommended-item .stock {
  font-size: 12px;
}
.recommended-item .stock.en { color: #27ae60; }
.recommended-item .stock.agotado { color: #e74c3c; }

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 992px) {
  .col-6, .col-4, .col-3 { width: 50%; }
  .hero-slide h1 { font-size: 42px; }
  .hero-slider { height: 500px; }
  .porque-elegirnos { flex-direction: column; }
  .porque-elegirnos .image-col,
  .porque-elegirnos .content-col { width: 100%; }
  .porque-elegirnos .image-col { min-height: 300px; }
  .contact-form-section { flex-direction: column; }
  .contact-form-section .form-col,
  .contact-form-section .image-col { width: 100%; }
  .contact-form-section .image-col { min-height: 300px; }
  .services-grid .grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid .service-card:nth-child(3n) { border-right: 1px solid var(--border-gray); }
  .services-grid .service-card:nth-child(2n) { border-right: none; }
  .services-grid .service-card:nth-child(n+4) { border-bottom: 1px solid var(--border-gray); }
  .services-grid .service-card:nth-child(n+5) { border-bottom: none; }
  .grua-decoration { display: none; }
  .servicios-details .grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  .materials-grid { grid-template-columns: repeat(2, 1fr); }
  .equipment-grid { grid-template-columns: 1fr; }
  .sidebar-layout { flex-direction: column; }
  .sidebar { width: 100%; }
  .main-content .content-grid { grid-template-columns: 1fr; }
  .products-layout { grid-template-columns: 1fr; }
  .tab-content-grid { grid-template-columns: 1fr; }
  .cta-bar .container { flex-direction: column; text-align: center; gap: 15px; }
  .trust-section .row { flex-direction: column; }
  .trust-section .col-6 { width: 100%; }
  .feature-boxes { flex-direction: column; }
}

@media (max-width: 768px) {
  .top-bar { display: none; }
  .nav { display: none; }
  .mobile-toggle { display: block; }
  .col-6, .col-4, .col-3 { width: 100%; }
  .hero-slide h1 { font-size: 28px; }
  .hero-slider { height: 400px; }
  .hero-slide .content { padding: 0 20px; }
  .services-grid .grid { grid-template-columns: 1fr; }
  .services-grid .service-card { border-right: none !important; }
  .materials-grid { grid-template-columns: 1fr; }
  .products-grid { grid-template-columns: 1fr; }
  .page-hero h1 { font-size: 32px; }
  .porque-elegirnos .content-col { padding: 50px 25px; }
  .contact-form-section .form-col { padding: 35px 25px; }
  .footer .container { flex-direction: column; gap: 10px; text-align: center; }
  .tabs-nav { flex-direction: column; }
  .tab-btn { border-right: none; border-bottom: 1px solid var(--border-gray); }
  .check-list { grid-template-columns: 1fr; }
}

/* Mobile nav open */
.nav.mobile-open { display: block; position: absolute; top: 100%; left: 0; right: 0; background: var(--white); box-shadow: 0 5px 20px rgba(0,0,0,0.1); }
.nav.mobile-open > ul { flex-direction: column; }
.nav.mobile-open > ul > li > a,
.nav.mobile-open > ul > li > button { line-height: 50px; width: 100%; text-align: left; padding: 0 20px; }
.nav.mobile-open .dropdown:not(.open) .dropdown-menu { position: static; display: none !important; box-shadow: none; padding-left: 20px; }
.nav.mobile-open .dropdown.open .dropdown-menu { display: block; }
.nav.mobile-open .dropdown button svg { transition: transform 0.2s ease; }
.nav.mobile-open .dropdown.open button svg { transform: rotate(180deg); }
