@import url("nosotros.css");

/* ================= LOGO CENTRAL ================= */
.service-logo {
  padding: 120px 40px;
  text-align: center;
}

.service-logo img {
  max-width: 420px;
  width: 100%;
}

/* =========================
   BLOQUES DE SERVICIOS
   (REMODELACIÓN)
========================= */

.service-block {
  display: grid;
  grid-template-columns: 1.2fr 1fr; /* la imagen manda */
  gap: 100px;
  padding: 160px 100px;
  align-items: center;
}

/* Variante invertida */
.service-block.reverse {
  grid-template-columns: 1fr 1.2fr;
}

/* CONTENEDOR DE IMÁGENES */
.service-images {
  display: flex;
  gap: 32px;
}

/* IMÁGENES GRANDES */
.service-images img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  display: block;
}

/* TEXTO */
.service-text h3 {
  font-size: 48px;
  margin-bottom: 28px;
  font-weight: bold;
}

.service-text p {
  font-size: 17px;
  line-height: 1.9;
  max-width: 520px;
}

/* =========================
   FIX RESPONSIVE – REMODELACIÓN BAÑO
========================= */
@media (max-width: 768px) {

  .service-block,
  .service-block.reverse {
    grid-template-columns: 1fr;   /* 🔑 una sola columna */
    padding: 100px 30px;
    gap: 40px;
  }

  .service-text {
    order: 1;
  }

  .service-images {
    order: 2;
    flex-direction: column;       /* 🔑 imágenes en vertical */
    gap: 20px;
  }

  .service-images img {
    width: 100%;
    height: auto;                 /* 🔑 NO cortar */
    max-height: none;
    object-fit: contain;          /* 🔑 se ve completa */
  }

  .service-text h3 {
    font-size: 34px;
    line-height: 1.2;
  }

  .service-text p {
    font-size: 16px;
    line-height: 1.8;
  }
}



/* ================= CTA ================= */
.download {
  padding: 120px 0;
  text-align: center;
}

.download-btn {
  padding: 20px 60px;
  border: 1px solid #000;
  border-radius: 40px;
  text-decoration: none;
  color: #000;
}

/* ================= ICONOS ================= */
.services-icons {
  padding: 120px 80px;
}

.services-icons h2 {
  text-align: center;
  font-size: 42px;
  margin-bottom: 80px;
}

.icons-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 60px;
}

.icon-item {
  display: flex;
  align-items: center;
  gap: 20px;
}

.icon-item img {
  width: 48px;
}

/* ================= CONTACTO ================= */
.contact {
  padding: 120px 80px;
}

.contact-line {
  height: 3px;
  width: 80%;
  background: #4b515c;
  margin: 0 auto 60px;
}

.contact-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.contact-social img {
  width: 48px;
  margin-left: 20px;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 1024px) {
  .service-block {
    grid-template-columns: 1fr;
  }

  .icons-grid {
    grid-template-columns: 1fr 1fr;
  }

  .contact-info {
    flex-direction: column;
    gap: 40px;
  }
}

@media (max-width: 600px) {
  .icons-grid {
    grid-template-columns: 1fr;
  }

  .service-images {
    flex-direction: column;
  }
}

/* ================= HERO FIX ================= */

.hero {
  position: relative;
  width: 100%;
  height: 100vh;      /* Desktop */
  overflow: hidden;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.35);
  z-index: 1;
}

/* ===== TABLET ===== */
@media (max-width: 1024px) {
  .hero {
    height: 90vh;
  }
}

/* ===== MOBILE ===== */
@media (max-width: 768px) {
  .hero {
    height: 80vh;
    min-height: 420px;
  }
}

