/* =========================
   VARIABLES
========================= */
:root {
    --primary-color: #0d6efd;
    --secondary-color: #0a2540;
    --accent-color: #00c2ff;
    --text-color: var(--secondary-color);
    --bg-light: #f8f9fa;
}

/* =========================
   BASE
========================= */
body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-color);
    padding-top: 70px;
}

/* =========================
   NAVBAR
========================= */
.custom-navbar {
    background: var(--secondary-color);
}

.logo {
    width: 40px;
}

.navbar a {
    color: #f8f9fa;
    text-decoration: none;
}

.navbar a:hover {
    color: var(--primary-color);
}

/* =========================
   HERO
========================= */
.hero-section {
    background: linear-gradient(rgba(10,37,64,.8), rgba(10,37,64,.8)),
                url('') center/cover no-repeat;
    color: #fff;
    padding: 120px 20px;
}

/* =========================
   SECCIONES GENERALES
========================= */
.section-padding {
    padding: 80px 20px;
}

/* =========================
   SOBRE NOSOTROS
========================= */
.image-box {
    width: 100%;
    max-width: 520px;
    margin: auto;
}

.image-box img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,.15);
    transition: transform .4s ease, box-shadow .4s ease;
}

.image-box img:hover {
    transform: scale(1.03);
    box-shadow: 0 15px 40px rgba(0,0,0,.25);
}

/* =========================
   BENEFICIOS
========================= */
.benefits li {
    list-style: none;
    margin-bottom: 10px;
}

.benefits i {
    color: var(--primary-color);
    margin-right: 8px;
}

/* =========================
   SERVICIOS
========================= */
.services-section {
    background: var(--bg-light);
    padding: 80px 20px;
}

.service-link {
    text-decoration: none;
}

.service-card {
    background: #fff;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0,0,0,.08);
    color: var(--text-color);
    text-decoration: none;
    transition:
        transform .3s ease,
        background-color .3s ease,
        color .3s ease;
}

.service-card i {
    font-size: 40px;
    color: var(--primary-color);
    margin-bottom: 15px;
    transition: color .3s ease;
}

.service-card h5,
.service-card p {
    color: inherit;
    text-decoration: none;
    transition: color .3s ease;
}

/* Hover Servicios */
.service-card:hover {
    transform: translateY(-10px);
    background: var(--secondary-color);
    color: var(--bg-light);
}

.service-card:hover i,
.service-card:hover h5,
.service-card:hover p {
    color: var(--bg-light);
}

/* =========================
   CONTACTO
========================= */
#contact {
    background: #fff;
}

.contact-info {
    list-style: none;
    padding: 0;
    margin-top: 20px;
}

.contact-info li {
    margin-bottom: 15px;
    font-size: 16px;
}

.contact-info a {
    color: inherit;
    text-decoration: none;
}

.contact-info a:hover {
    color: var(--primary-color);
}

.contact-info i {
    color: var(--primary-color);
    margin-right: 8px;
    font-size: 18px;
}

/* =========================
   ICONO WHATSAPP
========================= */
.fa-whatsapp {
    font-size: 1.1em;
    filter: drop-shadow(0 0 0 currentColor);
    transform: scale(1.15);
}

/* =========================
   FOOTER
========================= */
.custom-footer {
    background: var(--secondary-color);
    color: #fff;
    padding: 50px 20px;
    justify-content: center;
}

.custom-footer a,
.custom-footer i {
    color: #f8f9fa;
    text-decoration: none;
}

.footer-logo {
    max-height: 120px;
}

.footer-menu {
    list-style: none;
    padding: 0;
}

.footer-menu li a:hover {
    color: var(--primary-color);
}

.social-icons a {
    font-size: 24px;
    margin-right: 10px;
}

/* =========================
   ANIMACIONES
========================= */
.animate-fade {
    animation: fadeIn 1.2s ease-in;
}

.animate-slide {
    animation: slideUp 1.2s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from { transform: translateY(30px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 768px) {
    .image-box img {
        height: 220px;
    }
}

@media (max-width: 767px) {
    .custom-footer {
        text-align: center;
    }

    .custom-footer .col-md-4,
    .custom-footer .col-md-3,
    .custom-footer .col-md-2 {
        margin-bottom: 1.5rem;
    }

    .custom-footer .social-icon {
        margin-right: 1rem;
        margin-bottom: 0.5rem;
    }
}