/* ====== ESTILOS GENERALES ====== */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Maven Pro', sans-serif;
  background-color: #fff;
  color: #444;
  max-width: 1920px;
  margin: 0 auto; /* centra el contenido */
  overflow-x: hidden; /* evita scroll horizontal si algo se sale */
}

/* ===== HERO SECTION BASE ===== */
.cme-hero {
  position: relative;
  height: 80vh;
  display: flex;
  align-items: center;
  justify-content: left;
  overflow: hidden;
  color: #fff;
  text-align: left;
  padding-left: 5%;
}

/* ===== BACKGROUND IMAGE ===== */
.cme-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

/* ===== CONTENIDO ===== */
.cme-content {
  position: relative;
  z-index: 3;
  max-width: 900px;
}

/* ===== TITULO PRINCIPAL ===== */
.cme-title {
  font-size: 5rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

/* ===== SUBTÍTULO ===== */
.cme-subtitle {
  display: inline-block;
  background: rgba(0, 0, 0, 0.6);
  padding: 1rem 2rem;
  border-radius: 1rem;
  font-size: 3rem;
  font-weight: 600;
}

/* ===== TEXTO DESTACADO ===== */
.cme-highlight {
  color: #00eaff;
  font-weight: 700;
}

/* ====== SECCIÓN PRINCIPAL ====== */
.about-section {
  background-color: #ffffff;
  padding: 4rem 1.5rem;
  text-align: center;
  display: flex;
  justify-content: center;
}

/* ====== CONTENEDOR DEL TEXTO ====== */
.about-container {
  max-width: 1200px;
  color: #0a2640;
  font-size: 1.3rem;
  line-height: 1.8;
}

/* ====== TEXTOS DESTACADOS ====== */
.highlight {
  font-weight: 700;
  color: #002c4f;
}

/* ===================================================== */
/* =============== ESTILOS RESPONSIVOS ================= */
/* ===================================================== */

/* ===== TABLETS ===== */
@media (max-width: 992px) {
  .cme-hero {
    height: 70vh;
    padding-left: 3%;
    text-align: center;
    justify-content: center;
  }

  .cme-content {
    max-width: 700px;
  }

  .cme-title {
    font-size: 3.5rem;
  }

  .cme-subtitle {
    font-size: 2rem;
    padding: 0.8rem 1.5rem;
  }

  .about-section {
    padding: 3rem 1rem;
  }

  .about-container {
    font-size: 1.1rem;
    line-height: 1.7;
  }
}

/* ===== MÓVILES ===== */
@media (max-width: 600px) {
  .cme-hero {
    height: auto;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem 1rem;
    text-align: center;
  }

  .cme-bg {
    object-position: center;
  }

  .cme-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
  }

  .cme-subtitle {
    font-size: 1.5rem;
    padding: 0.6rem 1.2rem;
  }

  .cme-content {
    max-width: 100%;
  }

  .about-section {
    flex-direction: column;
    padding: 2.5rem 1rem;
  }

  .about-container {
    font-size: 1rem;
    line-height: 1.6;
    text-align: left;
  }
}


/* SECCION_2 */

/* ====== SECCIÓN PRINCIPAL ====== */
.about-us {
  background-color: #fff;
  padding: 2rem 2rem;
  display: flex;
  justify-content: center;
  box-shadow: inset 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* ====== CONTENEDOR FLEX ====== */
.about-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1400px;
  width: 100%;
  gap: 2rem;
}

/* ====== TEXTO ====== */
.about-text {
  flex: 1;
  color: #002c4f;
}

.about-text h2 {
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: 1px;
  margin-bottom: 1.5rem;
}

.about-text p {
  font-size: 1.3rem;
  line-height: 1.8;
  color: #0a2640;
  max-width: 900px;
}

.highlight {
  font-weight: 700;
  color: #002c4f;
}

/* ====== IMAGEN ====== */
.about-image {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.about-image img {
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

/* ===================================================== */
/* =============== ESTILOS RESPONSIVOS ================= */
/* ===================================================== */

/* ===== TABLETS ===== */
@media (max-width: 992px) {
  .about-content {
    flex-direction: column-reverse;
    text-align: center;
    gap: 2rem;
  }

  .about-text h2 {
    font-size: 2rem;
  }

  .about-text p {
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
  }

  .about-image img {
    max-width: 80%;
  }
}

/* ===== MÓVILES ===== */
@media (max-width: 600px) {
  .about-us {
    padding: 2rem 1rem;
  }

  .about-content {
    flex-direction: column-reverse;
    text-align: center;
    gap: 1.5rem;
  }

  .about-text h2 {
    font-size: 1.7rem;
    margin-bottom: 1rem;
  }

  .about-text p {
    font-size: 1rem;
    line-height: 1.6;
    max-width: 100%;
  }

  .about-image img {
    max-width: 100%;
    border-radius: 1rem;
  }
}


/* SECCION_3 */

/* ====== SECCIÓN PRINCIPAL ====== */
.consultoria {
  background-image: url("images/fondo-consultoria.jpg"); /* tu imagen de fondo */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  color: #002c4f;
}

/* ====== CAPA DE SUAVIZADO ====== */
.consultoria-overlay {
  background-color: rgba(255, 255, 255, 0.85);
  padding: 4rem 2rem;
  border-radius: 12px;
}

/* ====== CONTENEDOR CENTRAL ====== */
.consultoria-container {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

/* ====== TÍTULOS ====== */
.consultoria h3 {
  font-size: 2.5rem;
  letter-spacing: 2px;
  font-weight: 400;
  color: #002c4f;
  margin-bottom: 0.5rem;
}

.consultoria h2 {
  font-size: 2.5rem;
  font-weight: 800;
  color: #002c4f;
  margin-bottom: 1.5rem;
}

.subtitle {
  display: inline-block;
  background-color: #002c4f;
  color: #ffffff;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  font-size: 2rem;
  margin-bottom: 3rem;
}

/* ====== GRID DE SERVICIOS ====== */
.consultoria-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 2rem;
  justify-items: center;
  align-items: start;
}

/* ====== CADA ITEM ====== */
.consultoria-item {
  text-align: center;
  max-width: 260px;
}

.consultoria-item img {
  width: 150px;
  height: auto;
  margin-bottom: 1rem;
}

.consultoria-item p {
  font-size: 1rem;
  line-height: 1.6;
  color: #002c4f;
  font-weight: 600;
}

/* ===================================================== */
/* =============== ESTILOS RESPONSIVOS ================= */
/* ===================================================== */

/* ===== TABLETS ===== */
@media (max-width: 992px) {
  .consultoria-overlay {
    padding: 3rem 1.5rem;
  }

  .consultoria h3 {
    font-size: 2rem;
    letter-spacing: 1px;
  }

  .consultoria h2 {
    font-size: 2.2rem;
  }

  .subtitle {
    font-size: 1.6rem;
    padding: 0.4rem 0.8rem;
    margin-bottom: 2rem;
  }

  .consultoria-grid {
    gap: 1.5rem;
  }

  .consultoria-item img {
    width: 130px;
  }

  .consultoria-item p {
    font-size: 0.95rem;
  }
}

/* ===== MÓVILES ===== */
@media (max-width: 600px) {
  .consultoria-overlay {
    padding: 2.5rem 1rem;
    border-radius: 0;
  }

  .consultoria h3 {
    font-size: 1.5rem;
    margin-bottom: 0.3rem;
  }

  .consultoria h2 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
  }

  .subtitle {
    font-size: 1.3rem;
    padding: 0.4rem 0.7rem;
    margin-bottom: 1.5rem;
  }

  .consultoria-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .consultoria-item {
    max-width: 100%;
  }

  .consultoria-item img {
    width: 120px;
  }

  .consultoria-item p {
    font-size: 0.95rem;
    line-height: 1.5;
  }
}



/* ======================================= */
/* SECCION_4 — SERVICIOS DE CONSULTORÍA     */
/* ======================================= */

/* ====== SECCIÓN PRINCIPAL ====== */
.servicios {
  background-image: url("images/Fondo-servicios.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #ffffff;
  padding: 6rem 2rem;
}

/* ====== CONTENEDOR CENTRAL ====== */
.servicios-container {
  max-width: 1200px;
  margin: 0 auto;
}

/* ====== TÍTULO ====== */
.servicios h2 {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 400;
  margin-bottom: 3rem;
  color: #ffffff;
}

.servicios h2 span {
  color: #00c0e0;
}

/* ====== LAYOUT ====== */
.servicios-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 3rem;
}

/* ====== TARJETA IZQUIERDA ====== */
.servicio-detalle {
  background: linear-gradient(to bottom, #131111, #535353);
  border-radius: 12px;
  overflow: hidden;
  flex: 1;
  min-width: 320px;
  min-height: 565px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
  transition: all 0.3s ease;
}

.servicio-detalle img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: opacity 0.3s ease;
}

.servicio-texto {
  padding: 2rem;
}

.servicio-texto h3 {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #ffffff;
  border-bottom: 4px solid rgba(255, 255, 255, 0.3);
  padding-bottom: 0.5rem;
}

.servicio-texto p {
  font-size: 1.4rem;
  line-height: 1.7;
  color: #e0e0e0;
  transition: opacity 0.3s ease;
}

/* ====== LISTA DERECHA ====== */
.servicio-lista {
  flex: 1;
  min-width: 320px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* ====== BOTONES DERECHA ====== */
.servicio-item {
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #ffffff;
  padding: 1rem 1.5rem;
  border-radius: 8px;
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

/* Efecto overlay (oscurece imagen para que se lea el texto) */
.servicio-item::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.servicio-item:hover::before {
  background: rgba(0, 0, 0, 0.3);
}

.servicio-item span,
.servicio-item {
  position: relative;
  z-index: 2;
}

.servicio-item:hover {
  transform: scale(1.02);
  color: #00c0e0;
  box-shadow: 0 0 15px rgba(0, 192, 224, 0.4);
}

.servicio-item.active {
  color: #00c0e0;
  box-shadow: 0 0 20px rgba(0, 192, 224, 0.6);
  border: 1px solid rgba(0, 192, 224, 0.6);
}

/* ====== IMÁGENES DIFERENTES POR BOTÓN ====== */
.servicio-item:nth-child(1) { background-image: url("images/Legal(Botón).png"); }
.servicio-item:nth-child(2) { background-image: url("images/Planificación-estratégica-y-dirección(botón).png"); }
.servicio-item:nth-child(3) { background-image: url("images/Optimización-de-Procesos-Clínicos(Botón).png"); }
.servicio-item:nth-child(4) { background-image: url("images/Gestión-Financiera-en-Salud(Botón).png"); }
.servicio-item:nth-child(5) { background-image: url("images/Gestión-de-personas(Botón).png"); }
.servicio-item:nth-child(6) { background-image: url("images/Gestión-de-la-calidad(Botón).png"); }
.servicio-item:nth-child(7) { background-image: url("images/Marketing-Médico(Botón).png"); }



/* ================================
   VERSION MOVIL OCULTA POR DEFECTO
================================ */
.servicios-movil {
    display: none;
}

/* ================================
        RESPONSIVE MOBILE/TABLET
================================ */
@media (max-width: 991px) {

    /* OCULTAR VERSIÓN ESCRITORIO */
    .servicios {
        display: none !important;
    }

    /* MOSTRAR VERSIÓN MÓVIL */
    .servicios-movil {
        display: block;
        padding: 2rem 1.4rem;
        background-image: url("images/Fondo-servicios.jpg");
        background-size: cover;
        background-position: center;
        color: #fff;
        text-align: center;
    }

    .servicios-movil h2 {
        font-size: 1.8rem;
        line-height: 1.3;
        margin-bottom: 2rem;
    }

    .servicios-movil h2 span {
        color: #00c0e0;
    }

    /* SLIDE */
    .slider {
        position: relative;
    }

    .slide {
        background: rgba(0, 0, 0, 0.5);
        border-radius: 18px;
        padding-bottom: 2rem;
        overflow: hidden;
        max-width: 360px;
        margin: 0 auto;
        transition: opacity 0.4s ease;
    }

    .slide-img {
        width: 100%;
        height: 230px;
        object-fit: cover;
        display: block;
    }

    .slide-texto {
        padding: 1.5rem;
        text-align: center;
		height: 290px;
		background: linear-gradient(to bottom, #131111, #535353);
		border-radius: 0 0px 60px 60px;
		align-content: center;
    }

    .slide-texto h3 {
        font-size: 1rem;
        margin-bottom: 1rem;
        font-weight: 700;
    }

    .slide-texto p {
        font-size: 1.1rem;
        line-height: 1.5;
    }

    /* FLECHAS */
    .controles {
        position: relative;
        width: 100%;
        margin-top: -25px;
        display: flex;
        justify-content: space-between;
        padding: 0 30px;
    }

    .flecha {
        background: rgba(255, 255, 255, 0.6);
        color: #000;
        border: none;
        width: 34px;
        height: 34px;
        border-radius: 50%;
        font-size: 1.4rem;
        cursor: pointer;
        box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    }

    /* INDICADORES */
    .indicadores {
        margin-top: 1rem;
        display: flex;
        justify-content: center;
        gap: 6px;
    }

    .dot {
        width: 10px;
        height: 10px;
        background: rgba(255,255,255,0.5);
        border-radius: 50%;
        cursor: pointer;
    }

    .dot.active {
        background: #00c0e0;
        width: 22px;
        border-radius: 20px;
    }
}




/* SECCIÓN_5 */
.casos-exito-section {
  background-color: #fff;
  padding: 80px 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  overflow: hidden;
}

/* 🌫️ Sombra invertida más difusa y natural */
.casos-exito-section::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 50px;
  box-shadow: 0 -12px 17px rgba(0, 0, 0, 0.09) inset;
  pointer-events: none;
}

.casos-exito-container {
  display: flex;
  align-items: center;
  max-width: 1300px;
  width: 100%;
  gap: 60px;
}

/* --- Carrusel --- */
.carousel-wrapper {
  width: 39%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.carousel {
  position: relative;
  width: 100%;
  height: 400px;
  overflow: hidden;
  border-radius: 20px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  background-color: #f9f9f9;
  display: flex;
  justify-content: center;
  align-items: center;
}

.carousel .slides {
  display: flex;
  width: 400%;
  height: 100%;
  animation: slide 20s infinite;
}

.carousel img {
  width: 100%;
  height: 100%;
  flex-shrink: 0;
  object-fit: contain;
  background-color: #fff;
  border-radius: 20px;
}

/* Dots */
.carousel-dots {
  margin-top: 15px;
  display: flex;
  justify-content: center;
  gap: 10px;
}

.carousel-dots .dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: #ccc;
  transition: background 0.3s, transform 0.3s;
  animation: dotAnimation 20s infinite;
}

.carousel-dots .dot:nth-child(1) { animation-delay: 0s; }
.carousel-dots .dot:nth-child(2) { animation-delay: 5s; }
.carousel-dots .dot:nth-child(3) { animation-delay: 10s; }
.carousel-dots .dot:nth-child(4) { animation-delay: 15s; }

@keyframes dotAnimation {
  0%, 20% {
    background-color: #00b5e2;
    transform: scale(1.3);
  }
  25%, 100% {
    background-color: #ccc;
    transform: scale(1);
  }
}

@keyframes slide {
  0% { transform: translateX(0); }
  20% { transform: translateX(0); }
  25% { transform: translateX(-100%); }
  45% { transform: translateX(-100%); }
  50% { transform: translateX(-200%); }
  70% { transform: translateX(-200%); }
  75% { transform: translateX(-300%); }
  95% { transform: translateX(-300%); }
  100% { transform: translateX(0); }
}

/* --- Texto --- */
.casos-texto {
  width: 50%;
  color: #0c2846;
}

.casos-texto h2 {
  font-size: 2rem;
  font-weight: 800;
  color: #0c2846;
  margin-bottom: 16px;
}

.casos-texto p {
  font-size: 1.1rem;
  margin-bottom: 20px;
  color: #0c2846;
  line-height: 1.6;
}

.casos-texto ul {
  list-style: none;
  padding: 0;
}

.casos-texto li {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #0c2846;
}

.casos-texto li span {
  color: #fbb612;
  font-weight: bold;
  margin-right: 8px;
}

/* ============================================= */
/* 📱 RESPONSIVE DESIGN */
/* ============================================= */

/* --- TABLET --- */
@media (max-width: 1024px) {
  .casos-exito-section {
    padding: 60px 30px;
  }

  .casos-exito-container {
    gap: 40px;
  }

  .casos-texto h2 {
    font-size: 1.8rem;
  }

  .casos-texto p {
    font-size: 1rem;
  }

  .carousel {
    height: 320px;
  }

  .carousel-wrapper {
    width: 45%;
  }

  .casos-texto {
    width: 50%;
  }
}

/* --- MÓVIL --- */
@media (max-width: 768px) {
  .casos-exito-section {
    padding: 50px 20px;
  }

  .casos-exito-container {
    flex-direction: column;
    gap: 40px;
  }

  .carousel-wrapper {
    width: 100%;
    order: -1; /* 📸 Imagen arriba */
  }

  .carousel {
    height: 260px;
  }

  .casos-texto {
    width: 100%;
    text-align: center;
  }

  .casos-texto h2 {
    font-size: 1.6rem;
  }

  .casos-texto p {
    font-size: 1rem;
  }

  .casos-texto li {
    font-size: 0.95rem;
  }
}

/* --- EXTRA SMALL (teléfonos muy pequeños) --- */
@media (max-width: 480px) {
  .casos-exito-section {
    padding: 40px 15px;
  }

  .carousel {
    height: 220px;
  }

  .casos-texto h2 {
    font-size: 1.4rem;
  }

  .casos-texto p {
    font-size: 0.95rem;
  }

  .casos-texto li {
    font-size: 0.9rem;
  }

  .carousel-dots .dot {
    width: 10px;
    height: 10px;
  }
}


/* SECCION_6 */
/* SECCIÓN BENEFICIOS */
.beneficios-section {
  background-color: #fff;
  padding: 80px 40px;
  display: flex;
  justify-content: center;
}

.beneficios-container {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 1400px;
  width: 100%;
  gap: 60px;
}

/* COLUMNA IZQUIERDA */
.beneficios-left {
  text-align: center;
  flex: 1;
}

.beneficios-foto {
  width: 100%;
  max-width: 460px;
  height: auto;
  object-fit: contain;
  display: block;
  margin: 0 auto 20px auto;
}

.beneficios-left h2 {
  font-size: 3.5rem;
  color: #0b2a48;
  margin-top: 10px;
  font-weight: 600;
}

.beneficios-left h3 {
  color: #0b2a48;
  font-size: 3rem;
  font-weight: 400;
  margin: 3px 0;
}

.beneficios-left h3 span {
  font-style: italic;
  font-weight: 700;
}

/* COLUMNA DERECHA */
.beneficios-right {
  flex: 1.2;
}

.beneficios-header {
  background-color: #00224E;
  display: inline-block;
  color: white;
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: 500;
  margin-bottom: 25px;
  font-size: 1.7rem;
}

/* ÍTEMS */
.beneficio-item {
  display: flex;
  align-items: center;
  margin-bottom: 25px;
  gap: 20px;
}

.icono {
  background-color: #ffffff;
  box-shadow: 0 4px 8px rgba(0,0,0,0.3);
  border-radius: 20px;
  width: 90px;
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  padding: 10px;
}

.icono img {
  width: 70px;
  height: 70px;
  object-fit: contain;
}

.beneficio-item {
  color: #0b2a48;
  font-size: 1.6rem;
  line-height: 1.5;
  margin-bottom: 30px;
}

.beneficio-item p strong {
  font-weight: 700;
}

/* ============================================= */
/* 📱 RESPONSIVE DESIGN */
/* ============================================= */

/* --- TABLET --- */
@media (max-width: 1024px) {
  .beneficios-section {
    padding: 60px 30px;
  }

  .beneficios-container {
    gap: 40px;
  }

  .beneficios-left h2 {
    font-size: 2.8rem;
  }

  .beneficios-left h3 {
    font-size: 2.3rem;
  }

  .beneficios-header {
    font-size: 1.4rem;
    padding: 8px 16px;
  }

  .beneficio-item {
    font-size: 1.3rem;
  }

  .icono {
    width: 75px;
    height: 75px;
  }

  .icono img {
    width: 55px;
    height: 55px;
  }
}

/* --- MÓVIL --- */
@media (max-width: 768px) {
  .beneficios-section {
    padding: 50px 20px;
  }

  .beneficios-container {
    flex-direction: column;
    align-items: center;
    gap: 50px;
  }

  .beneficios-left {
    order: -1; /* Imagen y título arriba */
  }

  .beneficios-foto {
    max-width: 300px;
  }

  .beneficios-left h2 {
    font-size: 2.2rem;
  }

  .beneficios-left h3 {
    font-size: 1.9rem;
  }

  .beneficios-header {
    font-size: 1.3rem;
  }

  .beneficio-item {
    flex-direction: column;
    text-align: center;
    font-size: 1.1rem;
    margin-bottom: 25px;
  }

  .icono {
    width: 70px;
    height: 70px;
    margin-bottom: 10px;
  }

  .icono img {
    width: 50px;
    height: 50px;
  }
}

/* --- EXTRA SMALL (teléfonos muy pequeños) --- */
@media (max-width: 480px) {
  .beneficios-section {
    padding: 40px 15px;
  }

  .beneficios-left h2 {
    font-size: 1.9rem;
  }

  .beneficios-left h3 {
    font-size: 1.6rem;
  }

  .beneficios-header {
    font-size: 1.2rem;
    padding: 6px 70px;
  }

  .beneficio-item {
    font-size: 1rem;
  }

  .icono {
    width: 60px;
    height: 60px;
  }

  .icono img {
    width: 45px;
    height: 45px;
  }
}



/* SECCION_7 */
/* ===== SECCIÓN PROCESO DE TRABAJO ===== */
.proceso-section {
  background: url('images/Fondo-Nuestro-Proceso-de-Trabajo.jpg') no-repeat center center/cover;
  color: white;
  text-align: center;
  font-family: 'Arial', sans-serif;
  padding: 100px 40px;
}

.proceso-container h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 60px;
  color: #fff;
}

.proceso-container h2 span {
  color: #00e5ff; /* Azul brillante */
}

.pasos-container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 100px;
}

.paso {
  position: relative;
  width: 250px;
  border: 6px solid #fff;
  border-radius: 25px 80px 25px 25px;
  padding: 60px 20px 30px;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  background: rgba(0, 0, 0, 0.4);
}

.paso:hover {
  transform: translateY(-8px);
  box-shadow: 0 0 30px rgba(0, 229, 255, 0.3);
}

/* Número superior */
.paso-num {
  position: absolute;
  top: -25px;
  left: 20px;
  background: #000;
  color: #00e5ff;
  font-size: 1.8rem;
  font-weight: bold;
  padding: 5px 15px;
  border-radius: 50px;
  border: 2px solid #00e5ff;
}

/* Contenido interno */
.paso-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.paso-icon {
  width: 70px;
  height: 70px;
  margin-bottom: 15px;
  filter: drop-shadow(0 0 5px rgba(0, 229, 255, 0.7));
}

.paso h3 {
  color: #00e5ff;
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.paso p {
  color: #fff;
  font-size: 0.95rem;
  line-height: 1.4;
}

/* ============================================= */
/* 📱 RESPONSIVE DESIGN */
/* ============================================= */

/* --- TABLET --- */
@media (max-width: 1024px) {
  .proceso-section {
    padding: 80px 30px;
  }

  .proceso-container h2 {
    font-size: 2.2rem;
    margin-bottom: 50px;
  }

  .pasos-container {
    gap: 60px;
  }

  .paso {
    width: 220px;
    padding: 50px 18px 25px;
  }

  .paso-num {
    font-size: 1.5rem;
    top: -20px;
    left: 15px;
  }

  .paso-icon {
    width: 60px;
    height: 60px;
  }

  .paso h3 {
    font-size: 1rem;
  }

  .paso p {
    font-size: 0.9rem;
  }
}

/* --- MÓVIL --- */
@media (max-width: 768px) {
  .proceso-section {
    padding: 60px 20px;
  }

  .proceso-container h2 {
    font-size: 1.9rem;
    margin-bottom: 40px;
  }

  .pasos-container {
    flex-direction: column;
    align-items: center;
    gap: 40px;
  }

  .paso {
    width: 85%;
    max-width: 330px;
    padding: 50px 25px 30px;
  }

  .paso-num {
    font-size: 1.4rem;
    top: -18px;
    left: 20px;
  }

  .paso-icon {
    width: 55px;
    height: 55px;
  }

  .paso h3 {
    font-size: 1rem;
  }

  .paso p {
    font-size: 0.9rem;
  }
}

/* --- EXTRA SMALL (teléfonos muy pequeños) --- */
@media (max-width: 480px) {
  .proceso-section {
    padding: 50px 15px;
  }

  .proceso-container h2 {
    font-size: 1.6rem;
    margin-bottom: 30px;
  }

  .paso {
    width: 100%;
    padding: 45px 20px 25px;
    border-width: 4px;
  }

  .paso-num {
    font-size: 1.2rem;
    top: -15px;
    left: 15px;
    padding: 4px 10px;
  }

  .paso-icon {
    width: 50px;
    height: 50px;
  }

  .paso h3 {
    font-size: 0.95rem;
  }

  .paso p {
    font-size: 0.85rem;
  }
}


/* SECCION_8 */
/* ===== SECCIÓN NUESTRO MÉTODO ===== */
.metodo-section {
  background-color: #fff;
  text-align: center;
  padding: 100px 40px;
  color: #1b1b1b;
}

/* ===== ENCABEZADO ===== */
.metodo-header {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  flex-wrap: wrap;
}

.metodo-header h2 {
  font-size: 4rem;
  font-weight: 800;
  color: #0e2a47;
}

.metodo-header h2 span {
  color: #00b5c8;
}

.metodo-header .decoracion {
  width: 130px;
  height: 3px;
  background: linear-gradient(to right, #f9a11b, #00b5c8);
  border-radius: 2px;
}

/* ===== TEXTO INTRODUCTORIO ===== */
.metodo-intro {
  max-width: 950px;
  margin: 20px auto 60px;
  line-height: 1.6;
  font-size: 1rem;
  color: #2f2f2f;
}

/* ===== GRID ===== */
.metodo-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  justify-content: center;
}

/* ===== CARDS ===== */
.metodo-card {
  position: relative;
  border-radius: 55px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.metodo-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
}

.metodo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Overlay con degradado oscuro */
.overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 25px;
  background: linear-gradient(0deg, rgb(0, 0, 0) 40%, #000000b0);
  color: #fff;
  text-align: left;
  height: 200px;
  border-radius: 0px 80px 0 0;
}

.overlay h3 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.overlay h3 span {
  color: #00b5c8;
}

.overlay p {
  font-size: 1.5rem;
  line-height: 1.4;
}

/* ============================================= */
/* 📱 RESPONSIVE DESIGN */
/* ============================================= */

/* --- TABLET --- */
@media (max-width: 1024px) {
  .metodo-section {
    padding: 80px 30px;
  }

  .metodo-header h2 {
    font-size: 3.2rem;
  }

  .metodo-header .decoracion {
    width: 100px;
  }

  .metodo-intro {
    font-size: 0.95rem;
    margin: 15px auto 50px;
  }

  .metodo-grid {
    gap: 25px;
  }

  .overlay {
    height: 180px;
    padding: 20px;
  }

  .overlay h3 {
    font-size: 1.6rem;
  }

  .overlay p {
    font-size: 1.2rem;
  }
}

/* --- MÓVIL --- */
@media (max-width: 768px) {
  .metodo-section {
    padding: 60px 20px;
  }

  .metodo-header {
    flex-direction: column;
    gap: 10px;
  }

  .metodo-header h2 {
    font-size: 2.4rem;
  }

  .metodo-header .decoracion {
    width: 80px;
  }

  .metodo-intro {
    font-size: 0.95rem;
    margin: 20px auto 40px;
    padding: 0 10px;
  }

  .metodo-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .metodo-card {
    border-radius: 40px;
  }

  .overlay {
    height: 160px;
    padding: 18px;
    border-radius: 0px 60px 0 0;
  }

  .overlay h3 {
    font-size: 1.4rem;
  }

  .overlay p {
    font-size: 1.05rem;
  }
}

/* --- EXTRA SMALL (teléfonos muy pequeños) --- */
@media (max-width: 480px) {
  .metodo-section {
    padding: 50px 15px;
  }

  .metodo-header h2 {
    font-size: 2rem;
  }

  .metodo-intro {
    font-size: 0.9rem;
  }

  .metodo-grid {
    gap: 20px;
  }

  .overlay {
    height: 140px;
    padding: 15px;
    border-radius: 0px 45px 0 0;
  }

  .overlay h3 {
    font-size: 1.2rem;
  }

  .overlay p {
    font-size: 0.9rem;
  }
}


/* SECCION_9 */
/* ===== SECCIÓN PREGUNTAS FRECUENTES ===== */
.faq-section {
  background: url('images/Fondo-preguntas-frecuentes.jpg') center/cover no-repeat;
  position: relative;
  padding: 80px 20px;
}

.faq-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(4px);
  z-index: 0;
}

/* ===== CONTENEDOR PRINCIPAL ===== */
.faq-container {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: auto;
  text-align: left;
}

/* ===== TÍTULO PRINCIPAL ===== */
.faq-container h2 {
  font-size: 40px;
  font-weight: 700;
  margin-bottom: 40px;
  color: #0c2340;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

.faq-container h2 span {
  font-size: 34px;
  color: #0077c8;
}

/* ===== ICONO DE INTERROGACIÓN PERSONALIZADO ===== */
.faq-title {
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  margin-bottom: 25px;
}

.faq-title .icon img {
  width: 90px;
  height: 90px;
  object-fit: contain;
  display: block;
}

/* ===== ÍTEMS ===== */
.faq-item {
  background: #fff;
  border-radius: 12px;
  margin-bottom: 16px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: 20px;
  background: linear-gradient(90deg, #222, #333);
  color: #fff;
  font-size: 17px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  transition: background 0.3s ease;
  gap: 10px;
}

.faq-question:hover {
  background: linear-gradient(90deg, #333, #444);
}

.faq-question span {
  color: #00EAF6;
  font-weight: 600;
}

/* ===== RESPUESTA ===== */
.faq-answer {
  display: none;
  padding: 20px;
  background: rgba(255,255,255,0.9);
  color: #333;
  font-size: 16px;
  line-height: 1.6;
}

.faq-item.active .faq-answer {
  display: block;
}

.faq-item.active .arrow {
  transform: rotate(180deg);
}

/* ===== ICONO FLECHA ===== */
.arrow {
  width: 12px;
  height: 12px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg);
  transition: transform 0.3s ease;
  margin-left: auto;
}

/* ============================================= */
/* 📱 RESPONSIVE DESIGN */
/* ============================================= */

/* --- TABLET --- */
@media (max-width: 1024px) {
  .faq-section {
    padding: 70px 30px;
  }

  .faq-container h2 {
    font-size: 32px;
  }

  .faq-container h2 span {
    font-size: 28px;
  }

  .faq-title .icon img {
    width: 75px;
    height: 75px;
  }

  .faq-question {
    font-size: 16px;
    padding: 18px;
  }

  .faq-answer {
    font-size: 15px;
  }
}

/* --- MÓVIL --- */
@media (max-width: 768px) {
  .faq-section {
    padding: 60px 20px;
  }

  .faq-container h2 {
    flex-direction: column;
    text-align: center;
    font-size: 26px;
    gap: 8px;
  }

  .faq-container h2 span {
    font-size: 24px;
  }

  .faq-title {
    flex-direction: column;
    text-align: center;
    gap: 0.5rem;
  }

  .faq-title .icon img {
    width: 60px;
    height: 60px;
  }

  .faq-question {
    font-size: 15px;
    padding: 16px;
    flex-wrap: wrap;
  }

  .faq-answer {
    font-size: 14px;
    padding: 16px;
  }

  .arrow {
    width: 10px;
    height: 10px;
  }
}

/* --- EXTRA SMALL (TELÉFONOS PEQUEÑOS) --- */
@media (max-width: 480px) {
  .faq-section {
    padding: 50px 15px;
  }

  .faq-container h2 {
    font-size: 22px;
  }

  .faq-container h2 span {
    font-size: 20px;
  }

  .faq-title .icon img {
    width: 50px;
    height: 50px;
  }

  .faq-question {
    font-size: 14px;
    padding: 10px;
  }

  .faq-answer {
    font-size: 13.5px;
    padding: 14px;
  }
}




/* SECCION_10 */
/* ===== SECCIÓN POR QUÉ ELEGIRNOS ===== */
.porque-elegirnos {
  background: radial-gradient(circle at bottom right, #0c1630, #000814 80%);
  color: #fff;
  padding: 80px 20px;
  position: relative;
  overflow: hidden;
  font-family: 'Poppins', sans-serif;
}

.porque-elegirnos::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url('images/Fondo-por-que-elegirnos.jpg') no-repeat center/cover;
  opacity: 0.25;
}

.porque-elegirnos .contenedor {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
}

.porque-elegirnos h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 60px;
  letter-spacing: 1px;
}

/* ==== BLOQUES ==== */
.bloque {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 80px;
  flex-wrap: wrap;
}

/* BLOQUE 1 → texto izq / imagen der */
.bloque-1 {
  flex-direction: row;
}

/* BLOQUE 2 → imagen izq / texto der */
.bloque-2 {
  flex-direction: row;
}

/* Texto */
.bloque .texto {
  flex: 1 1 45%;
}

.bloque .texto p {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  padding: 25px 30px;
  font-size: 1rem;
  line-height: 1.6;
  color: #ddd;
  box-shadow: 0 0 20px rgba(0, 224, 255, 0.1);
}

/* Imagen */
.bloque .imagen {
  flex: 1 1 45%;
  display: flex;
  justify-content: center;
}

.bloque .imagen img {
  width: 100%;
  max-width: 420px;
  border-radius: 30px;
  object-fit: cover;
  box-shadow: 0 0 25px rgba(0, 224, 255, 0.3);
  transition: transform 0.4s ease;
}

.bloque .imagen img:hover {
  transform: scale(1.03);
}

/* BLOQUE FINAL */
.bloque.final {
  flex-direction: column;
  text-align: center;
  gap: 25px;
}

.bloque.final .imagen img {
  width: 100%;
  max-width: 650px;
  border-radius: 30px;
}

/* Colores */
.porque-elegirnos .azul {
  color: #00e0ff;
}

/* ===== ANIMACIONES DE SCROLL ===== */
.animar {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease-out;
  will-change: transform, opacity;
}

.animar.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-up.visible {
  animation: fadeUp 0.8s ease forwards;
}

@keyframes fadeUp {
  0% {
    opacity: 0;
    transform: translateY(40px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ====== 📱 RESPONSIVE DESIGN ====== */

/* Tablets (≤1024px) */
@media (max-width: 1024px) {
  .porque-elegirnos {
    padding: 60px 30px;
  }

  .bloque {
    gap: 30px;
  }

  .bloque .texto p {
    font-size: 0.95rem;
    padding: 20px;
  }

  .bloque .imagen img {
    max-width: 350px;
  }

  .porque-elegirnos h2 {
    font-size: 1.8rem;
  }
}

/* Móviles (≤768px) */
@media (max-width: 768px) {
  .bloque {
    flex-direction: column;
    text-align: center;
  }

  .bloque-1,
  .bloque-2 {
    flex-direction: column;
  }

  .bloque .texto,
  .bloque .imagen {
    flex: 1 1 100%;
  }

  .bloque .texto p {
    font-size: 1rem;
    padding: 18px 15px;
  }

  .bloque .imagen img {
    max-width: 100%;
    width: 90%;
  }

  .porque-elegirnos h2 {
    font-size: 1.6rem;
    margin-bottom: 40px;
  }
}

/* Teléfonos pequeños (≤480px) */
@media (max-width: 480px) {
  .porque-elegirnos {
    padding: 50px 15px;
  }

  .bloque .texto p {
    font-size: 0.95rem;
    padding: 15px;
  }

  .bloque .imagen img {
    border-radius: 20px;
  }

  .porque-elegirnos h2 {
    font-size: 1.4rem;
  }
}

