* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Work Sans', sans-serif;
}

body {
  background-color: #e6ebf2;
  color: #0f1c2e;
}

/* ================= BRAND TITLE ================= */
.contact-hero .brand-title {
  display: block;
  font-size: clamp(2.2rem, 4.5vw, 3.2rem);
  font-weight: 900;
  letter-spacing: 2px;
  margin-bottom: 16px;
  text-transform: uppercase;
}


/* ================= HERO / CONTACTO ================= */
.contact-hero {
  position: relative;
  padding: 140px 40px 180px;
  border-radius: 4px;

  background-image:
    linear-gradient(
      rgba(15, 28, 46, 0.75),
      rgba(15, 28, 46, 0.75)
    ),
    url("assets/background/background-texture.png"); /* ajustá ruta si hace falta */

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.contact-box {
  max-width: 1200px;
  margin: 0 auto;
}

.contact-box h1,
.contact-box h2 {
  color: #ffffff;
}

.contact-box h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.contact-box h2 {
  font-size: 1.6rem;
  font-weight: 600;
  margin-bottom: 35px;
}

/* ================= FORM ================= */
.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  margin-bottom: 20px;
}

.contact-form input {
  padding: 14px 16px;
  border: 2px solid #1b2b4a;
  font-size: 1rem;
  outline: none;
}

.contact-form input:focus {
  border-color: #2fbf1c;
}

.btn-primary {
  grid-column: 1 / -1;
  padding: 16px;
  background: #1b2b4a;
  color: white;
  font-weight: 700;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  transition: background 0.25s ease, transform 0.25s ease;
}

.btn-primary:hover {
  background: #142038;
  transform: translateY(-2px);
}

/* ================= BOTON WHATSAPP ================= */
.btn-whatsapp {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #2fbf1c;
  color: white;
  font-weight: 700;
  padding: 16px;
  text-decoration: none;
  font-size: 1rem;
  transition: background 0.25s ease, transform 0.25s ease;
}

.btn-whatsapp:hover {
  background: #28a917;
  transform: translateY(-2px);
}

.btn-whatsapp img {
  width: 22px;
  height: 22px;
}

/* ================= SECCIONES ================= */
.areas,
.services,
.products,
.about {
  padding: 110px 20px;
  background-color: #ffffff;
  border-radius: 4px;
  margin: 40px auto;
  max-width: 1200px;

  animation: fadeUp 0.8s ease both;
}

h2 {
  text-align: center;
  font-size: 2.2rem;
  margin-bottom: 70px;
}

/* ================= AREAS ================= */
.areas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 30px;
}

.area-card {
  background: #ffffff;
  border-radius: 8px;
  overflow: hidden;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.area-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.12);
}

.area-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.area-card h3 {
  margin: 20px 0 10px;
}

.area-card p {
  padding: 0 20px 20px;
  font-size: 0.95rem;
}

/* ================= SERVICIOS / PRODUCTOS ================= */
.services-grid,
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 35px;
  max-width: 1200px;
  margin: auto;
}

/* ================= CARD BASE ================= */
.service-card,
.product-card {
  background: #ffffff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  padding: 20px 40px 30px; /* AIRE INTERNO */
  text-align: center;
}

.service-card:hover,
.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 35px rgba(0,0,0,0.15);
}

/* ================= IMAGEN ================= */
.service-card img,
.product-card img {
  width: 100%;
  height: 260px;
  object-fit: cover;
}

/* ================= TEXTO ================= */
.product-card .label {
  padding: 18px;
  text-align: center;
  font-weight: 700;
  font-size: 1.05rem;
  color: #1b2b4a;
}

/* ================= ABOUT ================= */
.about-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
  justify-content: center;
}

.about-image,
.about-text {
  flex: 1 1 400px;
}

.about-image img {
  max-width: 100%;
  border-radius: 4px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.about h2 {
  font-size: 36px;
  margin-bottom: 20px;
  color: #222;
}

.about p {
  font-size: 18px;
  line-height: 1.7;
  margin-bottom: 15px;
  color: #333;
}

/* ================= SLIDER ================= */
.about-slider {
  flex: 1 1 400px;
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9; /* clave */
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 30px;
}

.about-slider .slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.about-slider .slide.active {
  opacity: 1;
  z-index: 2;
}

.about-slider img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ================= FOOTER ================= */
/* ================= FOOTER EXTENDIDO PRO ================= */

.contact-info {
  background: #e6ebf2; /* fondo general */
  padding: 80px 20px;
}

.contact-container {
  max-width: 1200px;
  margin: 0 auto;
  background: #0f1c2e; /* caja oscura */
  border-radius: 16px;
  padding: 50px 60px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;

  box-shadow: 0 20px 50px rgba(0,0,0,0.25);
}

.contact-box h3 {
  font-size: 1.6rem;
  margin-bottom: 25px;
  color: #ffffff;
  font-weight: 800;
  letter-spacing: 0.5px;
}

.contact-box p {
  font-size: 1.05rem;
  margin-bottom: 14px;
  color: #dbe2ec;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
}

.contact-box p:last-child {
  margin-bottom: 0;
}

.contact-box .icon {
  font-size: 1.2rem;
  opacity: 0.9;
}

/* Footer final */
.footer {
  background: #0b1524;
  color: #cfd6e1;
  text-align: center;
  padding: 30px;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
}


/* ================= ANIMACIONES ================= */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ================= RESPONSIVE ================= */
@media (max-width: 900px) {
  .about-container {
    flex-direction: column;
  }
}

@media (max-width: 700px) {
  .contact-form {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .contact-box h1 {
    font-size: 2rem;
  }
  .contact-box h2 {
    font-size: 1.3rem;
  }
}
.whatsapp-float {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 60px;
  height: 60px;
  background: #2fbf1c;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 25px rgba(0,0,0,0.25);
  z-index: 999;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.whatsapp-float img {
  width: 32px;
  height: 32px;
}

.whatsapp-float:hover {
  transform: scale(1.08);
  box-shadow: 0 12px 35px rgba(0,0,0,0.35);
}

/* ================= MAPA ================= */
.map-section {
  padding: 70px 20px;
  background-color: #ffffff;
  border-radius: 4px;
  margin: 40px auto;
  max-width: 1200px;
}

.map-section h3 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 35px;
}

.map-container {
  width: 100%;
  height: 220px; /* 🔽 más chico */
  max-width: 900px; /* 🔽 no tan ancho */
  margin: 0 auto;   /* centrado */
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

@media (max-width: 600px) {
  .about-slider {
    aspect-ratio: 4 / 3; /* un poco más alto en celu */
  }
}

/* ===== SLIDER DENTRO DE SERVICE CARD ===== */
.service-slider {
  position: relative;
  width: 100%;
  height: 260px;
  overflow: hidden;
}

.service-slider .slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 4s ease-in-out;
}

.service-slider .slide.active {
  opacity: 1;
}

.product-slider {
  position: relative;
  width: 100%;
  height: 260px;
  overflow: hidden;
}

.product-slider .slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 3s ease-in-out;
}

.product-slider .slide.active {
  opacity: 1;
  z-index: 2;
}

@media (max-width: 600px) {
  .contact-container {
    padding: 40px 25px;
  }

  .contact-box h3 {
    font-size: 1.4rem;
  }

  .contact-box p {
    font-size: 1rem;
  }
}
