/* ===== CONSERJERÍA (layout tipo Cauldron) ===== */

.conser-section {
  background: #f5f7fb;
  padding: 120px 20px 100px;
  font-family: "Poppins", sans-serif;
  color: #111827;
}

.conser-wrapper {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 60px;
  align-items: center;
}

/* ----- Columna izquierda ----- */

.conser-left {
  max-width: 580px;
}

.conser-eyebrow {
  font-size: 12px;
  letter-spacing: 1.9px;
  text-transform: uppercase;
  color: #6b7280;
  font-weight: 600;
  margin-bottom: 10px;
}

.conser-title {
  font-size: clamp(32px, 3.6vw, 44px);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 18px;
  color: #004aad;
}

.conser-intro {
  font-size: 15.5px;
  line-height: 1.9;
  color: #4b5563;
  margin-bottom: 10px;
}

.conser-list {
  list-style: none;
  padding: 0;
  margin: 24px 0 12px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.conser-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px 14px;
  align-items: flex-start;
}

.conser-check {
  width: 26px;
  height: 26px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #e0ecff;
  color: #004aad;
  font-size: 13px;
  margin-top: 3px;
}

.conser-list strong {
  font-weight: 600;
  color: #111827;
}

.conser-list div {
  font-size: 14.5px;
  line-height: 1.75;
  color: #4b5563;
}

.conser-extra {
  font-size: 14.8px;
  line-height: 1.8;
  color: #4b5563;
  margin-top: 10px;
}

.conser-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 24px;
  padding: 12px 22px;
  border-radius: 999px;
  background: #004aad;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.conser-btn:hover {
  background: white;
  box-shadow: 0 12px 30px rgba(0, 74, 173, 0.35);
  transform: translateY(-2px);
  color: #004aad;
}

/* ----- Columna derecha (workflow) ----- */

.conser-right {
  display: flex;
  justify-content: center;
}

.conser-card {
  background: #ffffff;
  border-radius: 18px;
  padding: 22px 22px 20px;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.12);
  width: 100%;
  max-width: 420px;
}

/* Header: días sin incidencias */
.conser-card-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  font-size: 12px;
}

.conser-days-label {
  color: #6b7280;
  font-weight: 500;
}

.conser-days-badge {
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 600;
}

.conser-days-before {
  background: #e5e7eb;
  color: #111827;
}

.conser-days-after {
  background: #dcfce7;
  color: #16a34a;
}

.conser-days-arrow {
  font-size: 13px;
  color: #9ca3af;
}

/* Flow general */
.conser-flow {
  border-radius: 14px;
  background: #f9fafb;
  padding: 16px 16px 14px;
  border: 1px solid #e5e7eb;
}

.conser-flow-step {
  text-align: left;
}

.conser-flow-step.final {
  margin-top: 4px;
}

.conser-pill {
  display: inline-block;
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 11px;
  font-weight: 600;
}

.conser-pill-yellow {
  background: #fef9c3;
  color: #854d0e;
}

.conser-pill-blue {
  background: #dbeafe;
  color: #1d4ed8;
}

.conser-flow-text {
  margin-top: 6px;
  font-size: 12.8px;
  line-height: 1.65;
  color: #4b5563;
}

.conser-flow-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 10px 0;
  color: #9ca3af;
  font-size: 13px;
}

/* mini-cards */
.conser-flow-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.conser-mini-card {
  background: #ffffff;
  border-radius: 10px;
  padding: 10px 9px;
  border: 1px solid #e5e7eb;
}

.conser-mini-label {
  font-size: 11.5px;
  font-weight: 600;
  color: #111827;
  margin-bottom: 4px;
}

.conser-mini-text {
  font-size: 11.8px;
  color: #6b7280;
  line-height: 1.5;
}

.conser-powered {
  margin-top: 12px;
  font-size: 11.5px;
  color: #9ca3af;
  text-align: right;
}

/* ----- Responsive ----- */

@media (max-width: 992px) {
  .conser-wrapper {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .conser-left {
    max-width: 100%;
  }

  .conser-section {
    padding-top: 110px;
  }
}

@media (max-width: 576px) {
  .conser-section {
    padding: 100px 16px 70px;
  }

  .conser-card {
    max-width: 100%;
  }

  .conser-flow-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== EFECTO DESTACADO CON DEGRADADO ===== */
.highlight {
  position: relative;
  z-index: 1;
  display: inline-block;
}

.highlight::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 8%;
  width: 100%;
  height: 60%;
  background: linear-gradient(90deg, rgba(0,74,173,0.25) 0%, rgba(155,149,255,0.25) 100%);
  border-radius: 8px;
  z-index: -1;
  transition: all 0.3s ease;
}

.highlight:hover::before {
  background: linear-gradient(90deg, rgba(0,74,173,0.4) 0%, rgba(155,149,255,0.4) 100%);
}

/* Bloques internos para cada tipo de seguridad */
.conser-block {
  margin-top: 40px;
}

.conser-subtitle {
  font-size: 20px;
  font-weight: 700;
  color: #004aad;
  margin-bottom: 10px;
}

/* ===== FUNCIONES DEL SERVICIO ===== */
.funciones-section {
  background: #ffffff;
  padding: 90px 20px;
  font-family: "Poppins", sans-serif;
}

.funciones-container {
  max-width: 1180px;
  margin: 0 auto;
}

.funciones-title {
  font-size: clamp(28px, 3.2vw, 42px);
  font-weight: 800;
  text-align: center;
  color: #111;
  margin-bottom: 50px;
}

.funciones-blue {
  color: #004aad;
}

.funciones-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

/* === Tarjetas === */
.funcion-card {
  background: #fff;
  border: 1px solid #e6eaf0;
  border-radius: 16px;
  padding: 32px 28px 28px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.funcion-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 38px rgba(0, 0, 0, 0.08);
}

/* === Icono === */
.funcion-icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  margin-bottom: 16px;
  color: #004aad;
  background: rgba(0, 74, 173, 0.10);
  transition: background 0.3s ease;
}

.funcion-card:hover .funcion-icon {
  background: rgba(0, 74, 173, 0.18);
}

/* === Títulos y texto === */
.funcion-title {
  font-size: 18px;
  font-weight: 700;
  color: #004aad;
  margin-bottom: 10px;
}

.funcion-text {
  font-size: 15.5px;
  line-height: 1.7;
  color: #333;
}

/* Responsive */
@media (max-width: 992px) {
  .funciones-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== SECCIÓN CONSERJERÍA CON COLLAGE ===== */
.conser-section {
  background: #fff;
  padding: 120px 20px;
  font-family: "Poppins", sans-serif;
  color: #0f172a;
}

.conser-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
}

.conser-left {
  flex: 1;
}

.conser-eyebrow {
  font-size: 14px;
  color: #004aad;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.conser-title {
  font-size: clamp(36px, 4vw, 52px);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 18px;
}

.conser-title .highlight {
  color: #004aad;
}

.conser-intro,
.conser-extra {
  font-size: 16px;
  line-height: 1.8;
  color: #444;
  margin-bottom: 16px;
}

.conser-btn {
  display: inline-block;
  background: #004aad;
  color: #fff;
  border-radius: 30px;
  padding: 12px 28px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.conser-btn:hover {
  background: #1e1d4a;
  transform: translateY(-3px);
}

/* ===== Collage de imágenes ===== */
.conser-right {
  flex: 1;
  display: flex;
  justify-content: center;
  position: relative;
}

.conser-collage {
  position: relative;
  width: 100%;
  max-width: 420px;
  min-height: 460px;
}

.collage-img {
  width: 100%;
  border-radius: 18px;
  object-fit: cover;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
  transition: transform 0.5s ease, box-shadow 0.5s ease;
}

/* Imagen principal (fondo) */
.img-main {
  position: relative;
  z-index: 1;
  height: 100%;
}

/* Imagen superpuesta */
.img-overlay {
  position: absolute;
  bottom: -40px;
  right: -40px;
  width: 70%;
  height: auto;
  z-index: 2;
  border: 6px solid #fff;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.18);
}

/* Efecto hover */
.conser-collage:hover .collage-img {
  transform: scale(1.03);
}

/* Responsive */
@media (max-width: 992px) {
  .conser-wrapper {
    flex-direction: column;
    text-align: center;
  }

  .conser-right {
    margin-top: 40px;
  }

  .conser-collage {
    max-width: 360px;
    min-height: 360px;
  }

  .img-overlay {
    bottom: -25px;
    right: -25px;
    width: 70%;
  }
}

/* ===== CHECKLIST (igual estilo que seguridad) ===== */
.conser-checklist {
  list-style: none;
  padding: 0;
  margin: 24px 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
  font-family: "Poppins", sans-serif;
}

.conser-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #4b5563;
  font-size: 15.5px;
  line-height: 1.8;
}

.conser-checklist i {
  color: #004aad;
  background: rgba(0, 74, 173, 0.08);
  border-radius: 50%;
  padding: 6px;
  font-size: 13px;
  margin-top: 3px;
}

.conser-list-title {
  font-weight: 700;
  color: #004aad;
  font-size: 18px;
  margin-bottom: 14px;
}

/* ===== Cards verticales de servicios (columna derecha) ===== */

.conser-right {
  flex: 1;
  display: flex;
  justify-content: center;
}

.conser-services {
  width: 100%;
  max-width: 420px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.conser-service-card {
  background: #ffffff;
  border-radius: 14px;
  padding: 16px 16px 14px;
  border: 1px solid #e6eaf0;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.conser-service-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.10);
}

.conser-service-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(0, 74, 173, 0.10);
  display: grid;
  place-items: center;
  margin-bottom: 10px;
}

.conser-service-icon i {
  font-size: 20px;
  color: #004aad;
}

.conser-service-title {
  font-size: 15.5px;
  font-weight: 700;
  color: #004aad;
  margin: 0 0 6px;
}

.conser-service-text {
  font-size: 14px;
  line-height: 1.7;
  color: #4b5563;
}

/* Responsive: en mobile sigue una debajo de otra, full width */
@media (max-width: 992px) {
  .conser-right {
    width: 100%;
  }

  .conser-services {
    max-width: 100%;
  }
}

/* ===== GALERÍA ELEGANTE ===== */
.conser-gallery-section {
  margin-top: 80px;
  text-align: center;
  position: relative;
}

/* Imagen de portada */
.conser-gallery-cover {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0,0,0,0.08);
}

.gallery-cover-img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  filter: brightness(0.6);
  transition: transform 0.6s ease;
}

.gallery-cover-img:hover {
  transform: scale(1.03);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  background: rgba(0,0,0,0.35);
  backdrop-filter: blur(2px);
}

.gallery-cover-title {
  font-size: 32px;
  font-weight: 700;
}

.gallery-cover-subtitle {
  font-size: 16px;
  margin-top: 8px;
  opacity: 0.9;
}

.btn-gallery {
  margin-top: 22px;
  background-color: #004aad;
  color: #fff;
  border: none;
  padding: 12px 24px;
  font-weight: 600;
  border-radius: 50px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.btn-gallery:hover {
  background-color: #003b89;
}

/* Galería desplegable */
.conser-gallery-hidden {
  margin-top: 50px;
  display: none;
  animation: fadeIn 0.6s ease forwards;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}

.gallery-item {
  overflow: hidden;
  border-radius: 14px;
  box-shadow: 0 6px 16px rgba(0,0,0,0.06);
}

.gallery-item img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

/* Botón cerrar */
.gallery-close {
  margin-top: 24px;
}

.gallery-close button {
  background: transparent;
  color: #004aad;
  border: 2px solid #004aad;
  padding: 8px 18px;
  border-radius: 30px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
}

.gallery-close button:hover {
  background: #004aad;
  color: #fff;
}

/* Animación suave */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Responsive */
@media (max-width: 768px) {
  .gallery-cover-img {
    height: 300px;
  }

  .gallery-cover-title {
    font-size: 26px;
  }
}

/* ======== CHECKLIST GENERAL ======== */
.conser-checklist {
  list-style: none;
  padding: 0;
  margin: 20px 0;
}

.conser-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #1f2937;
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 12px;
}

.conser-checklist i {
  color: #004aad;
  font-size: 18px;
  flex-shrink: 0;
  margin-top: 5px;
}

/* ======== VERSIÓN CELULAR ======== */
@media (max-width: 768px) {
  .conser-checklist {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
  }

  .conser-checklist li {
    flex-direction: column;       /* ícono arriba, texto abajo */
    align-items: center;          /* centramos ícono + texto */
    text-align: center;
    max-width: 90%;
    line-height: 1.8;
  }

  .conser-checklist i {
    margin: 0 0 6px 0;            /* espacio debajo del ícono */
    font-size: 20px;              /* un poco más grande */
  }
}
