/* ── SECCIONES COMPARTIDAS ── */
section { padding: 100px 48px; }

.section-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 16px;
}

.section-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 900;
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  text-transform: uppercase;
  line-height: 1;
  letter-spacing: -0.01em;
  color: var(--white);
  margin-bottom: 20px;
}

.section-desc {
  color: var(--gray-light);
  font-size: 1rem;
  line-height: 1.7;
  max-width: 560px;
  font-weight: 300;
}

/* ── HERO ── */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 120px 48px 80px;
  background: var(--black);
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    -55deg,
    transparent,
    transparent 40px,
    rgba(232,0,29,0.03) 40px,
    rgba(232,0,29,0.03) 41px
  );
}
.hero::after {
  content: '';
  position: absolute;
  right: 0; top: 0; bottom: 0;
  width: 6px;
  background: var(--red);
}
.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 1200px;
}
.hero-eyebrow {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.hero-eyebrow::before {
  content: '';
  display: inline-block;
  width: 40px; height: 2px;
  background: var(--red);
}
.hero h1 {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 900;
  font-size: clamp(4rem, 10vw, 8.5rem);
  line-height: 0.92;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  color: var(--white);
  margin-bottom: 32px;
}
.hero h1 .line-red { color: var(--red); display: block; }

.hero-sub {
  font-size: 1.15rem;
  color: var(--gray-light);
  line-height: 1.65;
  max-width: 520px;
  margin-bottom: 48px;
  font-weight: 300;
}
.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-stats {
  display: flex;
  gap: 0;
  margin-top: 80px;
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 40px;
}
.stat {
  flex: 1;
  padding-right: 32px;
  border-right: 1px solid rgba(255,255,255,0.08);
  margin-right: 32px;
}
.stat:last-child { border-right: none; }
.stat-number {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 900;
  font-size: 3rem;
  color: var(--red);
  line-height: 1;
}
.stat-label {
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray-light);
  margin-top: 6px;
  font-weight: 500;
}

/* ── SERVICIOS ── */
#servicios { background: var(--dark); }

.services-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 60px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2px;
  max-width: 1200px;
  margin: 0 auto;
}
.service-card {
  background: var(--dark2);
  padding: 40px 32px;
  position: relative;
  overflow: hidden;
  transition: background 0.3s;
}
.service-card:hover { background: var(--gray); }
.service-card::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  height: 3px; width: 0;
  background: var(--red);
  transition: width 0.4s ease;
}
.service-card:hover::before { width: 100%; }

.service-icon { font-size: 2.4rem; margin-bottom: 20px; display: block; }
.service-name {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  font-size: 1.3rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--white);
  margin-bottom: 12px;
}
.service-desc { font-size: 0.88rem; color: var(--gray-light); line-height: 1.65; }

/* ── PRODUCTOS / LUBRICENTRO ── */
#productos { background: var(--black); }

.products-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 60px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  flex-wrap: wrap;
  gap: 24px;
}
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}
.product-card {
  background: var(--dark2);
  border: 1px solid rgba(255,255,255,0.06);
  overflow: hidden;
  position: relative;
  transition: transform 0.25s, border-color 0.25s;
}
.product-card:hover {
  transform: translateY(-4px);
  border-color: rgba(232,0,29,0.4);
}
.product-badge {
  position: absolute;
  top: 14px; right: 14px;
  background: var(--red);
  color: var(--white);
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 4px 10px;
}
.product-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  background: var(--gray);
}
.product-img-placeholder {
  width: 100%;
  height: 200px;
  background: linear-gradient(135deg, var(--gray) 0%, #1e1e1e 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.5rem;
}
.product-body { padding: 22px 24px; }
.product-category {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 8px;
}
.product-name {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  font-size: 1.2rem;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 8px;
  line-height: 1.2;
}
.product-detail { font-size: 0.82rem; color: var(--gray-light); margin-bottom: 18px; line-height: 1.5; }
.product-price {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 900;
  font-size: 1.5rem;
  color: var(--white);
}
.product-price small { font-size: 0.8rem; color: var(--gray-light); font-weight: 400; margin-left: 4px; letter-spacing: 0.05em; }
.product-btn {
  width: 100%;
  margin-top: 16px;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.15);
  color: var(--white);
  padding: 11px;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
  text-decoration: none;
  display: block;
  text-align: center;
}
.product-btn:hover { background: var(--red); border-color: var(--red); }

/* ── NOSOTROS ── */
#nosotros { background: var(--dark); position: relative; overflow: hidden; }
#nosotros::before {
  content: 'CALIDAD';
  position: absolute;
  right: -40px; top: 50%;
  transform: translateY(-50%) rotate(90deg);
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 900;
  font-size: 12rem;
  color: rgba(255,255,255,0.02);
  white-space: nowrap;
  pointer-events: none;
  letter-spacing: -0.05em;
}
.why-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 2;
}
.why-features { display: flex; flex-direction: column; gap: 32px; margin-top: 40px; }
.feature-row { display: flex; gap: 20px; align-items: flex-start; }
.feature-num {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 900;
  font-size: 2.5rem;
  color: var(--red);
  line-height: 1;
  min-width: 48px;
}
.feature-text h4 {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  font-size: 1.1rem;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 6px;
  letter-spacing: 0.04em;
}
.feature-text p { font-size: 0.88rem; color: var(--gray-light); line-height: 1.6; }

.why-visual {
  background: var(--dark2);
  border: 1px solid rgba(255,255,255,0.06);
  padding: 56px 48px;
  position: relative;
}
.why-visual::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 4px; height: 60%;
  background: var(--red);
}

/* ── CONTACTO ── */
#contacto { background: var(--red); padding: 80px 48px; }
.contact-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.contact-text h2 {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 900;
  font-size: clamp(2rem, 4vw, 3.2rem);
  text-transform: uppercase;
  line-height: 1;
  color: var(--white);
}
.contact-text p { margin-top: 12px; color: rgba(255,255,255,0.75); font-size: 0.95rem; }
.contact-actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* ── FOOTER ── */
footer {
  background: var(--dark2);
  padding: 60px 48px 32px;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  max-width: 1200px;
  margin: 0 auto;
  margin-bottom: 56px;
}
.footer-brand .logo { display: block; margin-bottom: 16px; }
.footer-brand p { font-size: 0.85rem; color: var(--gray-light); line-height: 1.65; margin-bottom: 24px; }
.footer-col h5 {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  font-size: 0.88rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 20px;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul a { font-size: 0.85rem; color: var(--gray-light); text-decoration: none; transition: color 0.2s; }
.footer-col ul a:hover { color: var(--white); }

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,0.06);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-bottom p { font-size: 0.78rem; color: rgba(255,255,255,0.3); }
.footer-bottom a { color: rgba(255,255,255,0.3); text-decoration: none; font-size: 0.78rem; transition: color 0.2s; }
.footer-bottom a:hover { color: var(--gray-light); }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  nav { padding: 0 24px; }
  .nav-links { display: none; }
  section { padding: 72px 24px; }
  .hero { padding: 100px 24px 64px; }
  .hero-stats { gap: 0; flex-wrap: wrap; }
  .stat { min-width: 45%; margin-bottom: 24px; }
  .services-header, .products-header { flex-direction: column; align-items: flex-start; }
  .why-inner { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-inner { flex-direction: column; }
  #contacto { padding: 60px 24px; }
  footer { padding: 48px 24px 24px; }
}

@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 3.8rem; }
}

body {
  animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}