/* ===== RESET ===== */
*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Roboto", "Helvetica Neue", Arial, sans-serif;
  line-height: 1.4;
  color: #fff;
  background-color: #000;
  background-image:
    radial-gradient(circle at 20% 20%, rgba(255,255,255,0.07) 0%, rgba(0,0,0,0) 60%),
    url("assets/images/fondo_web.png");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

a {
  color: inherit;
  text-decoration: none;
}

/* ===== HEADER / NAV ===== */
.site-header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: linear-gradient(to bottom, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0) 100%);
}

.nav-container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.logo {
  height: 36px;
  width: auto;
  object-fit: contain;
  opacity: 0.9;
  filter: drop-shadow(0 4px 6px rgba(0,0,0,.8));
}

.main-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  color: #fff;
  font-size: 0.9rem;
}

.main-nav a {
  color: #fff;
  font-weight: 500;
  line-height: 1.2;
}

.main-nav a:hover {
  color: #25d366;
}

/* botón WhatsApp header */
.btn-wsp {
  background: #25d366;
  color: #000;
  font-weight: 600;
  border-radius: 6px;
  padding: 10px 14px;
  font-size: 0.8rem;
  line-height: 1.2;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 10px 25px rgba(0,0,0,.8);
  text-decoration: none;
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: stretch;
  justify-content: center;
  color: #fff;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  max-width: 1300px;
  width: 100%;
  padding: 120px 20px 60px;

  /* SIN VELA GRIS / SIN BLOQUE NEGRO ENCIMA DEL VIDEO */
  background: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.hero-overlay h1 {
  margin: 0 0 12px;
  font-weight: 700;
  font-size: clamp(28px, 6vw, 54px);
  line-height: 1.1;
  text-shadow: 0 12px 30px rgba(0,0,0,.9);
  color: #fff;
}

.hero-overlay p {
  margin: 0;
  max-width: 800px;
  color: rgba(255,255,255,.8);
  font-size: clamp(14px, 3.6vw, 18px);
  line-height: 1.4;
  text-shadow: 0 8px 20px rgba(0,0,0,.9);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

/* botones primario / secundario */
.btn-primary {
  background: #25d366;
  color: #000;
  font-weight: 600;
  border-radius: 6px;
  padding: 12px 16px;
  font-size: 0.9rem;
  line-height: 1.2;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: none;
  box-shadow: 0 12px 30px rgba(0,0,0,.8);
  transition: all .15s ease;
}

.btn-primary:hover {
  background: #1ebe5d;
  box-shadow: 0 16px 40px rgba(0,0,0,.9);
}

.btn-secondary {
  background: transparent;
  border: 1px solid rgba(255,255,255,.4);
  color: #fff;
  font-weight: 500;
  border-radius: 6px;
  padding: 12px 16px;
  font-size: 0.9rem;
  line-height: 1.2;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 12px 30px rgba(0,0,0,.8);
  transition: all .15s ease;
}

.btn-secondary:hover {
  background: #ffffff10;
  border-color: #fff;
}

/* ancho completo en CTA contacto */
.fullwidth {
  width: 100%;
  max-width: 360px;
}

/* ===== SECCIONES ===== */
.section-block {
  padding: 80px 24px;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  box-shadow: 0 40px 80px rgba(0,0,0,.8) inset;
}

.section-header {
  max-width: 1300px;
  margin: 0 auto 40px auto;
  text-align: center;
}

.section-header h2 {
  font-size: clamp(22px, 5vw, 32px);
  font-weight: 600;
  color: #fff;
  margin: 0 0 8px;
  line-height: 1.2;
}

.section-header p {
  color: rgba(255,255,255,.7);
  font-size: clamp(14px, 3.5vw, 16px);
  margin: 0;
  line-height: 1.4;
}

/* ===== PRODUCTOS GRID ===== */
.product-grid {
  max-width: 1300px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(300px,100%), 1fr));
  gap: 20px;
}

.product-card {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0,0,0,.8);
  min-height: 220px;
  background: #000;
}

.product-card img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  aspect-ratio: 16 / 9;
}

.card-layer {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 16px;
  background: linear-gradient(
    to top,
    rgba(0,0,0,.8) 0%,
    rgba(0,0,0,0) 60%
  );
  color: #fff;
}

.card-layer h3 {
  margin: 0 0 4px;
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  line-height: 1.2;
  text-shadow: 0 8px 20px rgba(0,0,0,.9);
}

.card-layer p {
  margin: 0;
  color: rgba(255,255,255,.8);
  font-size: .9rem;
  line-height: 1.4;
  text-shadow: 0 6px 16px rgba(0,0,0,.9);
}

@media (min-width: 768px) {
  .card-layer h3 {
    font-size: 1.1rem;
  }
  .card-layer p {
    font-size: .95rem;
  }
}

/* ===== CONTACTO ===== */
.contact-inner {
  max-width: 1300px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  align-items: flex-start;
}

.contact-info {
  flex: 1 1 320px;
  min-width: 280px;
}

.contact-info h2 {
  font-size: clamp(22px,5vw,32px);
  margin: 0 0 16px;
  font-weight: 600;
  color:#fff;
  line-height: 1.2;
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
  display: grid;
  gap: 8px;
  color: #fff;
  font-size: .95rem;
  line-height: 1.4;
}

.contact-list li {
  display: flex;
  align-items: flex-start;
  line-height: 1.4;
}

.contact-list li i {
  color: #25d366;
  margin-right: 8px;
  min-width: 16px;
  line-height: 1.4;
}

.social-block p {
  margin: 0 0 8px;
  color: #fff;
  font-weight: 500;
  line-height: 1.4;
}

.social-links {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
}

.social-links a {
  width: 36px;
  height: 36px;
  border-radius: 6px;
  background: #ffffff10;
  border: 1px solid rgba(255,255,255,.3);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  text-decoration: none;
  transition: all .15s ease;
}

.social-links a:hover {
  background: #fff;
  color: #000;
  text-decoration: none;
  box-shadow: 0 12px 30px rgba(0,0,0,.8);
}

.contact-cta {
  margin-top: 16px;
}

.contact-media {
  flex: 1 1 320px;
  min-width: 280px;
  align-self: center;
}

.contact-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 12px;
  background: #000;
  box-shadow: 0 24px 60px rgba(0,0,0,.8);
}

/* ===== FOOTER ===== */
.site-footer {
  background: rgba(0,0,0,0.6);
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 24px 16px;
  color: #fff;
  font-size: 0.9rem;
}

.footer-inner {
  max-width: 1300px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.footer-left p {
  margin: 0;
  line-height: 1.4;
  color: rgba(255,255,255,.8);
}

/* BOTÓN BROCHURE LINDO */
.footer-right .brochure-link {
  display: inline-block;
  background: radial-gradient(circle at 20% 20%, rgba(255,255,255,0.15) 0%, rgba(0,0,0,0) 60%), rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,.4);
  color: #fff;
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 0.9rem;
  line-height: 1.2;
  font-weight: 600;
  text-decoration: none;
  box-shadow:
    0 10px 25px rgba(0,0,0,.8),
    0 0 12px rgba(37,211,102,0.4);
  transition: all .15s ease;
}

.footer-right .brochure-link:hover {
  background: #25d366;
  color: #000;
  text-decoration: none;
  box-shadow:
    0 16px 40px rgba(0,0,0,.9),
    0 0 20px rgba(37,211,102,0.8),
    0 0 40px rgba(37,211,102,0.4);
}

@media (max-width: 600px) {
  .footer-inner {
    flex-direction: column;
    text-align: center;
  }
}

/* ===== BURBUJA WHATSAPP NEÓN ===== */
.wsp-float {
  position: fixed;
  right: 16px;
  bottom: 16px;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  text-decoration: none;
  box-shadow:
    0 0 12px rgba(37,211,102,0.8),
    0 0 32px rgba(37,211,102,0.4);
  animation: wsp-neon 2s infinite alternate;
}

.wsp-icon {
  width: 64px;
  height: 64px;
  object-fit: contain;
  border-radius: 50%;
  filter:
    drop-shadow(0 0 6px rgba(37,211,102,.8))
    drop-shadow(0 0 14px rgba(37,211,102,.5));
}

@keyframes wsp-neon {
  0% {
    box-shadow:
      0 0 8px rgba(37,211,102,0.6),
      0 0 24px rgba(37,211,102,0.3);
  }
  100% {
    box-shadow:
      0 0 16px rgba(37,211,102,1),
      0 0 48px rgba(37,211,102,0.6),
      0 0 80px rgba(37,211,102,0.3);
  }
}

@media (max-width: 480px) {
  .wsp-float {
    right: 12px;
    bottom: 12px;
    width: 56px;
    height: 56px;
  }
  .wsp-icon {
    width: 56px;
    height: 56px;
  }
}

/* ===== RESPONSIVE EXTRA ===== */
@media (max-width: 768px) {
  .hero {
    min-height: 68vh;
  }

  .nav-container {
    gap: 12px;
  }

  .main-nav {
    gap: 12px;
  }
}

/* ===== FIX CONTACT IMAGE MOBILE ===== */
/* Acá arreglamos cómo se ve CONTACTO en celular:
   - imagen no se corta
   - imagen se muestra entera
   - columnas se apilan prolijas
*/
@media (max-width: 600px) {

  .contact-inner {
    flex-direction: column;
  }

  .contact-media {
    width: 100%;
    max-width: 100%;
  }

  .contact-image {
    width: 100%;
    height: auto;
    max-height: none;
    object-fit: contain;
    aspect-ratio: auto;
    border-radius: 12px;
    box-shadow: 0 24px 60px rgba(0,0,0,.8);
    background: #000;
  }
}
