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

:root {
  --primary-color: #1a8f3d;
  --secondary-color: #2c2c2c;
  --accent-color: #15b849;
  --text-dark: #1a1a1a;
  --text-light: #4a4a4a;
  --bg-light: #f8f9fa;
  --white: #ffffff;
  --spacing-unit: 8px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--white);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 calc(var(--spacing-unit) * 3);
}

.header {
  background-color: var(--white);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.nav {
  padding: calc(var(--spacing-unit) * 2) 0;
}

.nav .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  height: 50px;
  width: auto; 
}  

.nav-menu {
  display: flex;
  list-style: none;
  gap: calc(var(--spacing-unit) * 4);
}

.nav-menu a {
  color: var(--text-dark);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
  padding: calc(var(--spacing-unit) * 1) calc(var(--spacing-unit) * 2);
}

.nav-menu a:hover {
  color: var(--primary-color);
}

.hero {
  background: linear-gradient(135deg, var(--secondary-color) 0%, var(--text-dark) 100%);
  color: var(--white);
  padding: calc(var(--spacing-unit) * 15) 0 calc(var(--spacing-unit) * 12);
  text-align: center;
}

.hero-content h1 {
  font-size: 3rem;
  margin-bottom: calc(var(--spacing-unit) * 3);
  font-weight: 700;
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 1.25rem;
  margin-bottom: calc(var(--spacing-unit) * 5);
  opacity: 0.9;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.btn-primary {
  display: inline-block;
  background-color: var(--primary-color);
  color: var(--white);
  padding: calc(var(--spacing-unit) * 2) calc(var(--spacing-unit) * 5);
  text-decoration: none;
  border-radius: 6px;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(26, 143, 61, 0.3);
}

.btn-primary:hover {
  background-color: var(--accent-color);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(26, 143, 61, 0.4);
}

.about {
  padding: calc(var(--spacing-unit) * 12) 0;
  background-color: var(--white);
}

.about h2,
.products h2,
.clients h2,
.coverage h2,
.contact h2 {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: calc(var(--spacing-unit) * 3);
  color: var(--text-dark);
  font-weight: 700;
}

.section-description {
  text-align: center;
  font-size: 1.15rem;
  color: var(--text-light);
  max-width: 800px;
  margin: 0 auto calc(var(--spacing-unit) * 6);
  line-height: 1.8;
}

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: calc(var(--spacing-unit) * 4);
  margin-top: calc(var(--spacing-unit) * 6);
}

.feature-card {
  background: var(--bg-light);
  padding: calc(var(--spacing-unit) * 4);
  border-radius: 12px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

.feature-icon {
  width: 60px;
  height: 60px;
  background-color: var(--primary-color);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: bold;
  margin: 0 auto calc(var(--spacing-unit) * 3);
}

.feature-card h3 {
  font-size: 1.3rem;
  margin-bottom: calc(var(--spacing-unit) * 2);
  color: var(--text-dark);
}

.feature-card p {
  color: var(--text-light);
  line-height: 1.6;
}

.products {
  padding: calc(var(--spacing-unit) * 12) 0;
  background-color: var(--bg-light);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: calc(var(--spacing-unit) * 4);
}

.product-card {
  background: var(--white);
  padding: calc(var(--spacing-unit) * 4);
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
  border-color: var(--primary-color);
}

.product-icon {
  font-size: 3rem;
  margin-bottom: calc(var(--spacing-unit) * 2);
}

.product-card h3 {
  font-size: 1.4rem;
  margin-bottom: calc(var(--spacing-unit) * 2);
  color: var(--text-dark);
}

.product-card p {
  color: var(--text-light);
  line-height: 1.7;
}

.clients {
  padding: calc(var(--spacing-unit) * 12) 0;
  background-color: var(--bg-light);
}

.clients-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: calc(var(--spacing-unit) * 5);
}

.client-card {
  background: var(--white);
  padding: calc(var(--spacing-unit) * 5);
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  text-align: center;
  transition: all 0.3s ease;
  border: 3px solid transparent;
}

.client-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.15);
  border-color: var(--primary-color);
}

.client-logo {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: calc(var(--spacing-unit) * 3);
  letter-spacing: 1px;
}

.client-card p {
  color: var(--text-light);
  line-height: 1.6;
  font-size: 0.95rem;
}

.coverage {
  padding: calc(var(--spacing-unit) * 12) 0;
  background-color: var(--white);
}

.coverage-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: calc(var(--spacing-unit) * 6);
  margin-top: calc(var(--spacing-unit) * 6);
}

.coverage-info {
  background: var(--bg-light);
  padding: calc(var(--spacing-unit) * 5);
  border-radius: 12px;
  border-left: 4px solid var(--primary-color);
}

.coverage-info h3 {
  font-size: 1.5rem;
  margin-bottom: calc(var(--spacing-unit) * 2);
  color: var(--primary-color);
}

.coverage-info p {
  color: var(--text-light);
  line-height: 1.8;
  font-size: 1.05rem;
}

.contact {
  padding: calc(var(--spacing-unit) * 12) 0;
  background: linear-gradient(135deg, var(--secondary-color) 0%, var(--text-dark) 100%);
  color: var(--white);
}

.contact h2 {
  color: var(--white);
}

.contact .section-description {
  color: rgba(255, 255, 255, 0.9);
}

.contact-content {
  max-width: 900px;
  margin: 0 auto;
}

.contact-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: calc(var(--spacing-unit) * 5);
}

.contact-item {
  background: rgba(255, 255, 255, 0.1);
  padding: calc(var(--spacing-unit) * 4);
  border-radius: 12px;
  backdrop-filter: blur(10px);
}

.contact-item h3 {
  font-size: 1.4rem;
  margin-bottom: calc(var(--spacing-unit) * 2);
  color: var(--accent-color);
}

.contact-item p {
  line-height: 1.7;
  opacity: 0.9;
}
.footer {
  position: relative;
  overflow: hidden;
  color: var(--white);
  padding: calc(var(--spacing-unit) * 6) 0;
  min-height: 260px;
  display: flex;
  align-items: center;
  background-color: #111; /* respaldo si el video tarda */
}

.footer-video {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: translate(-50%, -50%);
  z-index: 0;
}

.footer-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 1;
}

.footer-content {
  position: relative;
  z-index: 2;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: calc(var(--spacing-unit) * 3);
}

.footer-logo {
  display: flex;
  flex-direction: column;
  gap: calc(var(--spacing-unit) * 2);
  max-width: 520px;
}

.logo-footer {
  height: 100px;
  width: auto;
  object-fit: contain;
}

.footer-logo p {
  opacity: 0.95;
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
}

.footer-info {
  display: flex;
  align-items: center;
}

.footer-info p {
  opacity: 0.85;
  font-size: 0.9rem;
  margin: 0;
}

/* responsive */
@media (max-width: 768px) {
  .footer {
    padding: calc(var(--spacing-unit) * 5) 0;
    min-height: 320px;
  }

  .footer-content {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }

  .logo-footer {
    height: 80px;
  }

  .footer-info {
    width: 100%;
  }
}
@media (max-width: 768px) {
  .nav .container {
    flex-direction: column;
    gap: calc(var(--spacing-unit) * 2);
  }

  .nav-menu {
    flex-direction: column;
    align-items: center;
    gap: calc(var(--spacing-unit) * 2);
  }

  .hero-content h1 {
    font-size: 2rem;
  }

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

  .about h2,
  .products h2,
  .clients h2,
  .coverage h2,
  .contact h2 {
    font-size: 2rem;
  }

  .features,
  .product-grid,
  .clients-grid,
  .coverage-content,
  .contact-info {
    grid-template-columns: 1fr;
  }

  .footer-content {
    flex-direction: column;
    text-align: center;
  }
}
