body {
    margin: 0;
    font-family: Arial, sans-serif;
}

/* HEADER */
.header {
    display: flex;
    justify-content: space-between; /* separa izquierda, centro, derecha */
    align-items: center;            /* centra vertical */
    padding: 15px 30px;
    background-color: #111;
    color: white;
}

/* LOGO */
.logo {
    font-size: 20px;
    font-weight: bold;
    color: #f57803;
}

.logo2 {       
    width: 60px;   
}

/* NAV */
.nav {
    display: flex;
    gap: 40px;
    margin-inline: auto; 
}

.nav a {
    color: white;
    text-decoration: none;
    font-size: 20px;
    transition: 0.3s;
}

.nav a:hover {
    color: #f57803;
}

.acciones .btn:hover {
    background-color: #f57803;
}

.contenedor_base {
    width: 100%;
    max-width: 1200px;   /* limita el ancho como web profesional */
    display: flex;
    flex-direction: column; /* contenido en vertical */
    padding: 20px;
    background-color: antiquewhite;
}

.main {
    width: 100%;
    min-height: 100vh;
    background-color: #f4f4f4;
}

/* CARRUSEL */
.seccion-carrusel {
    width: 100%;
}

.carousel-item {
    position: relative;
    width: 100%;
    height: 900px;
}

.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Capa oscura sobre las imágenes del carrusel para que resalte el texto */
.carousel-item::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.4);
    z-index: 1;
}

.contenido-carrusel {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    z-index: 2;
    width: 80%; /* Asegura que no se pegue a los bordes en pantallas chicas */
}

.contenido-carrusel h1 {
    font-size: 48px;
    margin-bottom: 15px;
}

.contenido-carrusel p {
    font-size: 20px;
    margin-bottom: 20px;
}

.botones-carrusel {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
}

.btn-carrusel {
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;
}

.btn-1 {
    background-color: #f57803;
    color: white;
}

.btn-2 {
    background-color: rgba(255, 255, 255, 0.2);
    color: white;
    border: 1px solid white;
}

.btn-2:hover {
    background-color: white;
    color: black;
}

.btn-naranja {
    background-color: #ff9800;
    color: white;
}

.btn-naranja:hover {
    background-color: #e68900;
}

.btn-verde {
    background-color: #25d366;
    color: white;
}

.btn-verde:hover {
    background-color: #1ebe5d;
}

/* SECCIÓN PROBLEMAS */
.seccion-problemas {
    padding: 60px 20px;
    background-color: white;
}

.contenedor {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.titulo {
    font-size: 36px;
    margin-bottom: 20px;
}

.texto {
    font-size: 18px;
    color: #555;
}

.titulo-seccion {
    position: relative;
    display: inline-block;
}

.titulo-seccion::after {
    content: "";
    display: block;
    width: 60px;
    height: 4px;
    background-color: #f57803;
    margin: 10px auto 0;
    border-radius: 2px;
}

/* CARDS DE SERVICIOS / PROBLEMAS */
.card-servicio {
    position: relative;
    height: 330px;
    border-radius: 18px;
    overflow: hidden;
}

.card-servicio img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.card-servicio .overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
}

.contenido-card {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
}

.icono-card {
    margin-bottom: 20px;
}

.icono-card img {
    width: 80px;
    height: 80px;
    object-fit: contain;
}

.contenido-card h3 {
    color: #cc6608;
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 25px;
}

.card-servicio .btn {
    background-color: #cc6608;
    border: none;
    font-size: 0.95rem;
    padding: 10px 22px;
}

.card-servicio .btn:hover {
    background-color: #00b5aa;
}


/* SECCIÓN RESULTADOS */
.seccion-resultados {
    background-color: #f8f9fa; /* Fondo gris claro muy limpio */
    padding: 80px 0;
}

.card-resultado {
    background-color: white;
    padding: 30px 25px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05); /* Sombra suave profesional */
    text-align: center;
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    
    /* Detalle premium: línea naranja en la parte superior de cada tarjeta */
    border-top: 5px solid #f57803; 
}

/* Efecto al pasar el mouse por encima */
.card-resultado:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(245, 120, 3, 0.15); /* La sombra se vuelve sutilmente naranja */
}

.icono-resultado {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.numero-resultado {
    font-size: 1.8rem;
    font-weight: 800;
    color: #111;
    margin-bottom: 10px;
}

.card-resultado h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: #f57803; /* Título en tu color de marca */
    margin-bottom: 12px;
    min-height: 44px; /* Asegura que si el título ocupa 2 líneas, todo quede alineado */
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-resultado p {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.5;
    margin-bottom: 0;
}

/* SECCIÓN SERVICIOS PRINCIPALES */
.seccion-servicios {
    background-color: #ffffff; /* Puedes alternar con #f4f4f4 si la anterior era blanca */
    padding: 80px 0;
}

.card-servicio-principal {
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    padding: 40px 30px;
    border-radius: 16px;
    text-align: center;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* Empuja el botón siempre hacia abajo */
    transition: all 0.3s ease;
}

/* Efecto Hover Premium */
.card-servicio-principal:hover {
    transform: translateY(-5px);
    border-color: #f57803; /* Tu naranja de marca */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.icono-servicio-principal {
    font-size: 3rem;
    margin-bottom: 20px;
}

.card-servicio-principal h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: #111;
    margin-bottom: 25px;
}

/* Lista de sub-servicios */
.lista-caracteristicas {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
    text-align: left; /* Alineado a la izquierda para mejor lectura */
}

.lista-caracteristicas li {
    font-size: 1.05rem;
    color: #444;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
}

.lista-caracteristicas .check {
    color: #25d366; /* Verde para los checks de éxito */
    font-weight: bold;
    margin-right: 12px;
    font-size: 1.1rem;
}

/* Botón de la tarjeta */
.btn-servicio-principal {
    display: block;
    padding: 12px 20px;
    background-color: transparent;
    color: #f57803;
    border: 2px solid #f57803;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s ease;
    margin-top: auto; /* Empuja el botón al fondo de la tarjeta */
}

.btn-servicio-principal:hover {
    background-color: #f57803;
    color: #ffffff;
}

/* SECCIÓN METODOLOGÍA */
.seccion-metodologia {
    background-color: #fdfdfd; 
    padding: 80px 0;
}

/* Forzar que en pantallas grandes se divida equitativamente en 5 partes si es necesario */
@media (min-width: 992px) {
    .contenedor-pasos .col-lg-2 {
        flex: 0 0 20%;
        max-width: 20%;
    }
}

.card-paso {
    text-align: center;
    padding: 20px 15px;
    height: 100%;
    position: relative;
}

/* El círculo con el número */
.numero-paso {
    width: 60px;
    height: 60px;
    background-color: #f57803; /* Tu naranja de marca */
    color: white;
    font-size: 1.6rem;
    font-weight: bold;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px auto;
    box-shadow: 0 4px 10px rgba(245, 120, 3, 0.3);
    transition: transform 0.3s ease;
}

/* Animación sutil al pasar el mouse */
.card-paso:hover .numero-paso {
    transform: scale(1.15) rotate(10deg);
}

.card-paso h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #111;
    margin-bottom: 12px;
    line-height: 1.3;
}

.card-paso p {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.4;
    margin-bottom: 0;
}

/* SECCIÓN SOBRE NUESTRA EMPRESA */
.seccion-empresa {
    background-color: #ffffff;
    padding: 80px 0;
}

/* Título de sección alineado a la izquierda */
.titulo-seccion-izquierda {
    position: relative;
    display: inline-block;
}

.titulo-seccion-izquierda::after {
    content: "";
    display: block;
    width: 50px;
    height: 4px;
    background-color: #f57803; /* Naranja corporativo */
    margin-top: 10px;
    border-radius: 2px;
}

/* Tarjetas Misión y Visión */
.card-mision-vision {
    background-color: #f8f9fa;
    border: 1px solid #eee;
    padding: 25px 20px;
    border-radius: 12px;
    height: 100%;
}

.card-mision-vision h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #111;
    margin: 10px 0;
}

.card-mision-vision p {
    font-size: 0.9rem;
    color: #555;
    line-height: 1.4;
    margin-bottom: 0;
}

.icono-mv {
    font-size: 1.8rem;
}

/* Tarjetas de Equipo */
.tarjeta-equipo {
    background: #fdfdfd;
    border: 1px solid #f0f0f0;
    padding: 30px 20px;
    border-radius: 14px;
    transition: 0.3s ease;
}

.tarjeta-equipo:hover {
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

.foto-equipo-placeholder {
    width: 80px;
    height: 80px;
    background-color: #e9ecef;
    color: #adb5bd;
    font-size: 2rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px auto;
}

.text-orange {
    color: #f57803;
    font-size: 0.95rem;
}

/* Bloque Ubicación y Mapa */
.info-ubicacion {
    padding-right: 15px;
}

.icono-ubicacion {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.contenedor-mapa {
    border-radius: 16px;
    overflow: hidden; /* Esto hace que los bordes del mapa se redondeen elegantemente */
    border: 1px solid #ddd;
    line-height: 0; /* Quita espacios fantasma debajo del iframe */
}

/* FOOTER CORPORATIVO */
.footer-corporativo {
    background-color: #111111; /* Mismo tono oscuro del header para dar armonía */
    color: #ffffff;
    border-top: 4px solid #f57803; /* Línea naranja divisoria premium */
}

.text-footer-muted {
    color: #b0b0b0;
    font-size: 0.95rem;
    line-height: 1.6;
}

.titulo-columna-footer {
    color: #f57803; /* Títulos secundarios en naranja corporativo */
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.titulo-columna-footer-sub {
    color: #ffffff;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.lista-contacto-footer {
    list-style: none;
    padding: 0;
    margin: 0;
}

.lista-contacto-footer li {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    font-size: 0.95rem;
}

.icono-footer {
    margin-right: 12px;
    font-size: 1.1rem;
}

.lista-contacto-footer a {
    color: #e0e0e0;
    text-decoration: none;
    transition: color 0.3s ease;
}

/* Efecto hover al pasar el mouse por los teléfonos o correos */
.lista-contacto-footer a:hover {
    color: #f57803;
}

/* Botón interactivo para Instagram */
.btn-instagram-footer {
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 6px;
    color: #ffffff;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.btn-instagram-footer:hover {
    background-color: #f57803; /* Cambia a tu color corporativo */
    border-color: #f57803;
    color: #ffffff;
    transform: translateY(-2px);
}

.icono-ig {
    margin-right: 8px;
}

/* Barra inferior de Copyright */
.barra-derechos {
    background-color: #0a0a0a;
    border-top: 1px solid #222222;
}

.barra-derechos p {
    font-size: 0.85rem;
    color: #777777;
}