/* =============================
   ESTILOS GENERALES
   ============================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
  background-color: #f4f6f8;
  color: #333;
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
}

/* =============================
   HEADER Y NAVEGACIÓN
   ============================= */
.header {
  background: #0b1c2d;
  color: #fff;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.logo {
  font-size: 1.4rem;
  font-weight: bold;
}

.nav a {
  margin-left: 1.5rem;
  font-size: 0.95rem;
  transition: color 0.3s ease;
}

.nav a:hover {
  color: #00c2ff;
}

/* =============================
   HERO / PORTADA
   ============================= */
.hero {
  height: 90vh;
  background: linear-gradient(rgba(11,28,45,0.8), rgba(11,28,45,0.8)), url('img/hero.jpg');
  background-size: cover;
  background-position: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #fff;
  padding: 2rem;
}

.hero h1 {
  font-size: 2.5rem;
  max-width: 800px;
}

.hero p {
  margin: 1rem 0 2rem;
  font-size: 1.1rem;
  max-width: 600px;
}

.btn {
  background: #00c2ff;
  color: #000;
  padding: 0.8rem 1.8rem;
  border-radius: 30px;
  font-weight: bold;
  transition: all 0.3s ease;
}

.btn:hover {
  background: #fff;
  transform: translateY(-3px);
}

/* =============================
   TARJETAS DE VALORES
   ============================= */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  padding: 4rem 2rem;
  max-width: 1100px;
  margin: auto;
}

.card {
  background: #fff;
  padding: 2rem;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.12);
}

.card h3 {
  margin-bottom: 1rem;
  color: #0b1c2d;
}

/* =============================
   FOOTER
   ============================= */
.footer {
  background: #0b1c2d;
  color: #fff;
  text-align: center;
  padding: 1.5rem;
  font-size: 0.9rem;
}

/* =============================
   ANIMACIONES
   ============================= */
.fade-in {
  opacity: 0;
  animation: fadeIn 1.2s ease forwards;
}

.fade-in.delay {
  animation-delay: 0.5s;
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

.slide-up {
  opacity: 0;
  transform: translateY(40px);
  animation: slideUp 1s ease forwards;
}

@keyframes slideUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* =============================
   RESPONSIVE (MÓVIL)
   ============================= */
@media (max-width: 768px) {
  .header {
    flex-direction: column;
  }

  .nav {
    margin-top: 1rem;
  }

  .nav a {
    margin: 0 0.8rem;
  }

  .hero h1 {
    font-size: 1.8rem;
  }

  .hero p {
    font-size: 1rem;
  }
}
/* ACTIVACIÓN DE ANIMACIONES */
.visible {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

/* MENÚ MÓVIL */
.menu-toggle {
  display: none;
  font-size: 1.8rem;
  cursor: pointer;
}

@media (max-width: 768px) {
  .menu-toggle {
    display: block;
    color: #fff;
  }

  .nav {
    display: none;
    flex-direction: column;
    background: #0b1c2d;
    width: 100%;
    margin-top: 1rem;
  }

  .nav.nav-active {
    display: flex;
  }

  .nav a {
    padding: 1rem;
    border-top: 1px solid rgba(255,255,255,0.1);
  }
}

/* HEADER SCROLL */
.header-scroll {
  background: rgba(11, 28, 45, 0.95);
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}


.contacto-img {
  width: 100%;
  height: 100%;
  max-height: 420px;
  object-fit: cover;
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}
.hero-home {
  background: linear-gradient(rgba(0,0,0,0.55), rgba(0,0,0,0.55)),
              url("img/hero-empaque.jpg") center/cover no-repeat;
  min-height: 90vh;
  display: flex;
  align-items: center;
}

.hero-content {
  max-width: 700px;
}
.hero-nosotros {
  background: linear-gradient(rgba(0,0,0,.6), rgba(0,0,0,.6)),
              url("img/nosotros-hero.jpg") center/cover no-repeat;
  height: 60vh;
}

.container {
  max-width: 1100px;
  margin: auto;
  padding: 4rem 2rem;
}

.info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.cards-section {
  background: #f7f7f7;
  padding: 4rem 2rem;
}

.valores {
  padding: 4rem 2rem;
  text-align: center;
}

@media (max-width: 768px) {
  .info-grid {
    grid-template-columns: 1fr;
  }
}
/* =============================
   CTA PROFESIONAL (LIMPIO)
   ============================= */

.cta-pro {
  background: linear-gradient(rgba(0,0,0,0.75), rgba(0,0,0,0.75)),
              url("img/cta-bg.jpg") center/cover no-repeat;
  padding: 4rem 2rem;
  color: #fff;
}

.cta-grid {
  max-width: 1100px;
  margin: auto;
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2rem;
  align-items: center;
}

.cta-text {
  text-align: left;
}

.cta-pro h2 {
  font-size: 2.2rem;
  margin-bottom: 1rem;
}

.cta-pro p {
  font-size: 1.1rem;
  opacity: 0.9;
}

.cta-action {
  text-align: right;
}

/* CTA MÓVIL */
@media (max-width: 768px) {
  .cta-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .cta-text,
  .cta-action {
    text-align: center;
  }

  .cta-action {
    margin-top: 1.5rem;
  }
}

@media (max-width: 768px) {
  .hero {
    height: auto;
    padding: 4rem 1.5rem;
  }

  .hero-nosotros {
    height: auto;
    padding: 4rem 1.5rem;
  }
}
.info-img img {
  width: 100%;
  height: auto;
  max-height: 360px;
  object-fit: cover;
  border-radius: 14px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}
