/* Variables de color */
:root {
    --azul: #2a395a;
    --azul-oscuro: #15223a;
    --plomo: #6a748a;
    --blanco: #ffffff;
    --gris-claro: #f5f7fa;
    --gris: #e9ecef;
    --gris-oscuro: #495057;
}

/* Reset y estilos generales */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Open Sans', sans-serif;
    color: #333;
    line-height: 1.6;
}

/* Botón de WhatsApp flotante */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    /* Color verde de WhatsApp */
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
    z-index: 9999;
    /* Para que esté por encima de todo */
    text-decoration: none;
    transition: all 0.3s ease;
    animation: pulse-whatsapp 2s infinite;
}

.whatsapp-float:hover {
    background-color: #128C7E;
    /* Verde más oscuro al pasar el mouse */
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

/* Animación de pulso */
@keyframes pulse-whatsapp {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

h1,
h2,
h3,
h4,
h5 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    color: var(--azul-oscuro);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-family: 'Montserrat', sans-serif;
}

.btn-plomo {
    background-color: var(--plomo);
    color: white;
}

.btn-azul {
    background-color: var(--azul-oscuro);
    color: white;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Header y Navegación */
.header {
    background-color: var(--azul);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    align-content: center;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar {
    background-color: var(--azul);
    padding: 10px 0;
    font-size: 14px;
}

.top-social {
    display: flex;
    gap: 15px;
}

.top-bar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.social-top {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-top:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.logo-container {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 100px;
    width: auto;
    object-fit: contain;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-links li {
    margin-left: 30px;
}

.nav-links a {
    color: var(--azul-oscuro);
    text-decoration: none;
    font-weight: 600;
    font-size: 19px;
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a:hover {
    color: var(--azul);
}

.nav-links a:after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--azul);
    transition: width 0.3s ease;
}

.nav-links a:hover:after {
    width: 100%;
}

.phone-container {
    display: flex;
    align-items: center;
    color: white;
    text-decoration: none;
}

.phone-icon {
    margin-right: 10px;
    font-size: 18px;
}

.phone-number {
    font-weight: 600;
    font-size: 18px;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
}

/* Segunda franja blanca */
.main-header {
    background-color: white;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}

.main-header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
    /* Altura fija para la franja blanca */
}

.header-phone a {
    display: flex;
    align-items: center;
    gap: 8px;
    background-color: var(--azul);
    color: white;
    padding: 8px 16px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
}

.header-phone a:hover {
    background-color: var(--azul-oscuro);
    transform: translateY(-2px);
}

.header-phone i {
    font-size: 16px;
}

/* Hero Section */
.hero {
    background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('https://images.unsplash.com/photo-1522752622479-65eefd320386?q=80&w=1781&auto=format&fit=crop&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    padding: 60px 20px 60px;
    margin-top: 140px;
    min-height: calc(100vh - 140px);
    /* 100% del viewport menos el header */
    display: flex;
    align-items: center;
}

.hero h1 {
    color: white;
    font-size: 42px;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero p {
    font-size: 20px;
    max-width: 800px;
    margin: 0 auto 30px;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
}

.hero-btn {
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-btn i {
    margin-left: 10px;
    font-size: 18px;
}

/* Sobre Nosotros Section */
.about-section {
    padding: 100px 0 0 0;
    background-color: var(--blanco);
}

.about-container {
    display: flex;
    align-items: center;
    gap: 60px;
}

.about-images {
    flex: 1;
    position: relative;
    max-width: 400px;
    min-height: 400px;
}

.large-img {
    width: 80%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    position: absolute;
    right: 0;
    top: 0;
}

.small-img {
    position: absolute;
    width: 50%;
    height: auto;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 5px solid white;
}

.about-content {
    flex: 1;
}

.about-content h2 {
    font-size: 36px;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 15px;
}

.about-content h2:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 60px;
    height: 3px;
    background-color: var(--azul);
}

.about-content p {
    margin-bottom: 15px;
    color: var(--gris-oscuro);
    font-size: 17px;
}

/* Valores Container */
.valores-simple {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.valor-simple {
    padding: 10px;
    border-left: 4px solid var(--azul);
    background-color: rgba(42, 57, 90, 0.05);
}

.valor-simple h4 {
    color: var(--azul);
    font-size: 18px;
}

.valor-simple p {
    color: var(--plomo);
    font-size: 14px;
    line-height: 1.4;
    margin: 0;
}

.founder-img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--gris);
}

.founder-info h4 {
    margin-bottom: 5px;
}

.founder-info p {
    color: var(--plomo);
    margin-bottom: 0;
    font-size: 15px;
}

.about-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 30px;
    flex-wrap: wrap;
    gap: 20px;
}

/* General Services Section */
.general-services-section {
    padding: 100px 0 0 0;
    background-color: var(--blanco);
}

.general-services-section .section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
}

.general-services-section .section-subtitle {
    color: var(--azul);
    font-size: 20px;
    margin-bottom: 15px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.general-services-section .section-description {
    color: var(--plomo);
    font-size: 18px;
    line-height: 1.6;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-item {
    background-color: var(--gris-claro);
    border-radius: 10px;
    padding: 30px;
    /*text-align: center;*/
    transition: all 0.3s ease;
    border: 1px solid transparent;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
}

.service-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border-color: var(--azul);
}

.service-icon {
    width: 70px;
    height: 70px;
    background-color: var(--azul);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.service-icon i {
    font-size: 30px;
    color: white;
}

.service-title {
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--azul-oscuro);
    font-weight: 600;
}

.service-text {
    color: var(--plomo);
    line-height: 1.6;
    font-size: 15px;
    flex-grow: 1;
}

/* Versión con lista si prefieres */
.services-list-container {
    max-width: 800px;
    margin: 0 auto;
}

.services-list {
    list-style: none;
    padding: 0;
}

.services-list li {
    margin-bottom: 25px;
    padding-left: 40px;
    position: relative;
    color: var(--plomo);
    line-height: 1.6;
    font-size: 16px;
}

.services-list li:before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--azul);
    font-weight: bold;
    font-size: 18px;
}

/* Servicios Section - CORREGIDO */
.services-section {
    padding: 100px 0 0 0;
    background-color: var(--blanco);
}

.services-section .section-header {
    text-align: center;
    margin-bottom: 30px;
}

.services-section .section-title {
    font-size: 36px;
    color: var(--azul-oscuro);
}

.services-container {
    display: flex;
    gap: 40px;
    align-items: stretch;
    max-width: 1000px;
    /* Limitar el ancho total */
    margin: 0 auto;
}

.service-card {
    flex: 1;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    position: relative;
    height: 480px;
    /* Altura reducida */
    background-size: cover;
    /* Muestra la imagen completa */
    background-position: top;
    background-repeat: no-repeat;
    background-color: #f5f5f5;
    /* Color de fondo si la imagen no cubre todo */
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.service-img {
    width: 100%;
    height: 300px;
    /* Alto fijo */
    object-fit: contain;
    /* Cambié de 'cover' a 'contain' para mostrar imagen completa */
    object-position: center;
    background-color: #f5f5f5;
    /* Fondo por si la imagen es más pequeña */
}

.service-overlay {
    background-color: rgba(106, 116, 138, 0.6);
    color: white;
    padding: 25px;
    width: 100%;
    box-sizing: border-box;
    margin-top: auto;
    height: 180px;
}

.service-overlay h3 {
    color: white;
    margin-bottom: 10px;
    font-size: 22px;
    text-align: center;
}

.service-overlay p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 15px;
    font-size: 15px;
    line-height: 1.4;
    text-align: center;
}

.service-overlay .btn {
    background-color: var(--azul-oscuro);
    color: white;
    padding: 8px 16px;
    font-size: 13px;
    display: block;
    margin: 0 auto;
    text-align: center;
    width: fit-content;
}

.service-overlay .btn i {
    margin-left: 8px;
}

/* Homenajes Section */

.planes-section {
    padding: 100px 0 0 0;
}

.homenajes-section {
    padding: 100px 0 0 0;
    background-color: var(--gris-claro);
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.section-subtitle {
    color: var(--azul);
    font-size: 20px;
    margin-bottom: 15px;
    font-weight: 600;
}

.section-title {
    font-size: 36px;
}

.section-description {
    color: var(--plomo);
    font-size: 18px;
}

.homenajes-container {
    display: flex;
    justify-content: center;
    /* Centra las tarjetas horizontalmente */
    gap: 80px;
    /* Reduce la distancia entre tarjetas (antes 150px) */
    flex-wrap: nowrap;
    /* Permite que se ajusten en pantallas pequeñas */
    margin: 0 auto;
    /* Centra todo el contenedor */
    padding: 20px 0;
}

.homenaje-card {
    flex: 1;
    background-color: var(--blanco);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;

    overflow-y: auto;
    /* Añade scroll si es necesario */
    min-width: 400px;
    /* Ancho mínimo para cada tarjeta */
    max-width: 450px;
    /* Ancho máximo para evitar que sean demasiado anchas */
}

.homenaje-card:hover {
    transform: translateY(-10px);
}

.homenaje-header {
    padding: 25px 25px 15px;
    background-color: var(--blanco);
}

.homenaje-title {
    font-size: 22px;
    margin-bottom: 15px;
    line-height: 1.3;

    min-height: 60px;
    /* Altura que acomode 2 líneas */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.divider {
    height: 3px;
    background-color: var(--azul);
    width: 50px;
    margin-bottom: 20px;
}

.homenaje-list {
    padding: 0 25px 25px;
    list-style: none;

    max-height: 400px;
    overflow-y: auto;
    padding-right: 10px;
}

/* Personalizar scroll */
/* Personalizar el scroll de las listas de planes */
.homenaje-list::-webkit-scrollbar {
    width: 8px;
    /* Ancho del scroll */
}

.homenaje-list::-webkit-scrollbar-track {
    background: #f1f1f1;
    /* Color del fondo del scroll */
    border-radius: 4px;
}

.homenaje-list::-webkit-scrollbar-thumb {
    background: var(--azul);
    /* Color de la barra del scroll */
    border-radius: 4px;
}

.homenaje-list::-webkit-scrollbar-thumb:hover {
    background: var(--azul-oscuro);
    /* Color al pasar el mouse */
}

/* Para Firefox */
.homenaje-list {
    scrollbar-width: thin;
    /* "auto" o "thin" */
    scrollbar-color: var(--azul) #f1f1f1;
    /* thumb y track */
}

/* Si quieres ocultar el scroll por defecto y que aparezca al pasar el mouse */
.homenaje-list {
    scrollbar-width: none;
    /* Para Firefox */
}

.homenaje-list::-webkit-scrollbar {
    display: none;
    /* Para Chrome, Safari, Opera */
}

.homenaje-card:hover .homenaje-list::-webkit-scrollbar {
    display: block;
    /* Aparece al pasar el mouse */
}

.homenaje-card:hover .homenaje-list {
    scrollbar-width: thin;
    /* Aparece al pasar el mouse en Firefox */
}

.homenaje-list li {
    margin-bottom: 12px;
    display: flex;
    align-items: flex-start;

    font-size: 13px;
    line-height: 1.3;
}

.homenaje-list i {
    color: var(--azul);
    margin-right: 10px;
    margin-top: 3px;

    font-size: 14px;
}

.homenaje-btn {
    display: block;
    text-align: center;
    margin: 0 25px 25px;
}

/* Footer */
.footer {
    background-color: var(--azul-oscuro);
    color: white;
    padding: 70px 0 30px;
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 50px;
}

.footer-logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    /* Esto alinea todo a la izquierda por defecto */
    text-align: left;
    /* Texto alineado a la izquierda */
}

.footer-logo-img {
    width: auto;
    margin-bottom: 20px;
    height: 120px;
    background: white;
    align-self: center;
    /* Centra SOLO el logo */

}

.footer-description {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 25px;
    max-width: 300px;
    line-height: 1.6;
    margin-bottom: 25px;
}

.social-icons {
    display: flex;
    gap: 15px;

    align-self: flex-start;
    /* Los íconos quedan a la izquierda */
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background-color: var(--azul);
    transform: translateY(-3px);
}

.footer-links {
    flex: 1;
    min-width: 200px;
    max-width: 250px;
}

.footer-links h4 {
    color: white;
    font-size: 20px;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer-links h4:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background-color: var(--azul);
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 15px;
}

.footer-links a:hover {
    color: white;
}

.footer-contact {
    min-width: 250px;
    max-width: 350px;
}

.footer-links h4,
.footer-contact h4 {
    color: white;
    font-size: 20px;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer-links h4:after,
.footer-contact h4:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background-color: var(--azul);
}

.contact-info {
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
}

header .contact-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: white;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

footer .contact-item {
    display: flex;
    gap: 8px;
    color: white;
    text-decoration: none;
    transition: opacity 0.3s ease;


    align-items: flex-start;
    margin-bottom: 20px;
}



.contact-item:hover {
    opacity: 0.8;
}

.contact-item i {
    font-size: 14px;
}

.contact-icon {
    margin-right: 15px;
    font-size: 18px;
    color: var(--azul);
    margin-top: 3px;
    min-width: 20px;
    text-align: center;
}

.contact-text {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.5;
    text-decoration: none;
    font-size: 15px;
    transition: color 0.3s ease;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}

.footer-links ul {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 15px;
    display: block;
    padding: 5px 0;
}

.footer-links a:hover {
    color: white;
    padding-left: 5px;
    transition: all 0.3s ease;
}

/* ========================================================================================
   MEDIA QUERIES - RESPONSIVE DESIGN
======================================================================================== */

/* Para pantallas grandes (laptops, desktops) */
@media (max-width: 1200px) {
    .container {
        max-width: 960px;
    }

    .homenajes-container {
        gap: 40px;
    }

    .homenaje-card {
        min-width: 350px;
        max-width: 380px;
    }

    .large-img{
        position: relative;
    }
}

/* Para tablets (landscape) */
@media (max-width: 992px) {
    .container {
        max-width: 720px;
    }

    /* Header */
    .main-header-container {
        flex-wrap: wrap;
        height: auto;
        padding: 10px 0;
    }

    .logo-img {
        height: 80px;
    }

    .nav-links {
        display: none;
        width: 100%;
        order: 3;
        margin-top: 15px;
        flex-direction: column;
        gap: 10px;
        background-color: white;
        padding: 20px;
        border-radius: 8px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        margin-left: 0;
        width: 100%;
    }

    .nav-links a {
        display: block;
        padding: 10px;
        border-bottom: 1px solid #eee;
    }

    .nav-links a:last-child {
        border-bottom: none;
    }

    .mobile-menu-btn {
        display: block;
        color: var(--azul-oscuro);
        font-size: 28px;
    }

    .header-phone {
        display: none;
    }

    /* Top bar */
    .contact-info {
        gap: 15px;
        justify-content: center;
    }

    /* Hero Section */
    .hero {
        margin-top: 120px;
        padding: 50px 20px;
    }

    .hero h1 {
        font-size: 36px;
    }

    .hero p {
        font-size: 18px;
    }

    /* Sobre Nosotros */
    .about-container {
        flex-direction: column;
        gap: 40px;
    }

    .about-images {
        max-width: 100%;
        min-height: 350px;
    }

    .about-content h2 {
        font-size: 32px;
    }

    /* Servicios Grid */
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }

    /* Servicios Section */
    .services-container {
        flex-direction: column;
        max-width: 600px;
    }

    .service-card {
        height: 450px;
    }

    /* Planes Section */
    .homenajes-container {
        flex-wrap: wrap;
        justify-content: center;
        gap: 30px;
    }

    .homenaje-card {
        min-width: 320px;
        max-width: 350px;
    }

    /* Footer */
    .footer-container {
        gap: 30px;
    }

    .footer-logo,
    .footer-links,
    .footer-contact {
        min-width: calc(50% - 15px);
    }
}

/* Para tablets (portrait) y móviles grandes */
@media (max-width: 768px) {
    .container {
        max-width: 540px;
    }

    /* Top bar */
    .top-bar {
        font-size: 12px;
        padding: 8px 0;
    }

    .contact-info {
        gap: 10px;
        justify-content: space-around;
    }

    /* Hero Section */
    .hero {
        margin-top: 110px;
        padding: 40px 20px;
        min-height: auto;
    }

    .hero h1 {
        font-size: 32px;
        margin-bottom: 15px;
    }

    .hero p {
        font-size: 16px;
        margin-bottom: 20px;
    }

    .hero-buttons {
        margin-top: 30px;
    }

    /* Sobre Nosotros */
    .about-section,
    .general-services-section,
    .services-section,
    .planes-section {
        padding: 60px 0 0 0;
    }

    .about-images {
        min-height: 300px;
        display: flex;
        justify-content: center;
    }

    .valores-simple {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }

    .valor-simple {
        padding: 15px;
    }

    /* Servicios Grid */
    .services-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }

    .service-item {
        padding: 25px 20px;
    }

    .service-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 15px;
    }

    .service-icon i {
        font-size: 25px;
    }

    .service-title {
        font-size: 18px;
        margin-bottom: 12px;
    }

    .service-text {
        font-size: 14px;
    }

    /* Servicios Section */
    .service-card {
        height: 400px;
    }

    .service-overlay {
        padding: 20px;
        height: 160px;
    }

    .service-overlay h3 {
        font-size: 20px;
        margin-bottom: 8px;
    }

    .service-overlay p {
        font-size: 14px;
        margin-bottom: 12px;
    }

    /* Planes Section */
    .homenajes-container {
        gap: 25px;
    }

    .homenaje-card {
        min-width: 100%;
        max-width: 100%;
    }

    .homenaje-header {
        padding: 20px 20px 10px;
    }

    .homenaje-title {
        font-size: 20px;
        min-height: 50px;
    }

    .homenaje-list {
        padding: 0 20px 20px;
        max-height: 350px;
    }

    .homenaje-list li {
        font-size: 12.5px;
        margin-bottom: 10px;
    }

    /* Footer */
    .footer {
        padding: 50px 0 20px;
    }

    .footer-container {
        flex-direction: column;
        gap: 30px;
        margin-bottom: 30px;
    }

    .footer-logo,
    .footer-links,
    .footer-contact {
        min-width: 100%;
        max-width: 100%;
        text-align: center;
    }

    footer .contact-item{
        text-align: start;
    }

    .footer-logo-img {
        height: 80px;
    }

    .social-icons {
        justify-content: center;
        align-self: center;
    }

    .footer-links h4:after,
    .footer-contact h4:after {
        left: 50%;
        transform: translateX(-50%);
    }

    .contact-item {
        gap: 0;
    }

    /* Botón WhatsApp */
    .whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: 25px;
        bottom: 20px;
        right: 20px;
    }
}

/* Para móviles pequeños */
@media (max-width: 576px) {
    .container {
        padding: 0 15px;
    }

    /* Header */
    .logo-img {
        height: 70px;
    }

    .main-header {
        padding: 10px 0;
    }

    /* Top bar */
    .top-bar {
        display: none;
        /* Ocultar barra superior en móviles muy pequeños */
    }

    /* Hero Section */
    .hero {
        margin-top: 90px;
        padding: 30px 15px;
    }

    .hero h1 {
        font-size: 28px;
    }

    .hero p {
        font-size: 15px;
    }

    .hero-buttons .btn {
        padding: 10px 20px;
        font-size: 14px;
    }

    /* Secciones generales */
    .section-title {
        font-size: 28px;
    }

    .section-subtitle {
        font-size: 18px;
    }

    .section-description {
        font-size: 16px;
    }

    /* Sobre Nosotros */
    .about-content h2 {
        font-size: 28px;
    }

    .about-content p {
        font-size: 15px;
    }

    /* Servicios Grid */
    .services-grid {
        gap: 20px;
    }

    .service-item {
        padding: 20px 15px;
    }

    /* Servicios Section */
    .services-container {
        gap: 25px;
    }

    .service-card {
        height: 350px;
    }

    .service-overlay {
        padding: 15px;        
    }

    .service-overlay h3 {
        font-size: 18px;
    }

    .service-overlay p {
        font-size: 13px;
    }

    /* Planes Section */
    .homenaje-header {
        padding: 15px 15px 10px;
    }

    .homenaje-title {
        font-size: 18px;
        min-height: 45px;
    }

    .homenaje-list {
        padding: 0 15px 15px;
        max-height: 300px;
    }

    .homenaje-list li {
        font-size: 12px;
        line-height: 1.2;
    }

    .homenaje-btn {
        margin: 0 15px 15px;
        padding: 8px 16px;
        font-size: 13px;
    }

    /* Footer */
    .footer-logo-img {
        height: 70px;
    }

    .footer-description {
        font-size: 14px;
        max-width: 100%;
    }

    .contact-text {
        font-size: 14px;
    }

    .footer-bottom p {
        font-size: 13px;
    }

    /* Botón WhatsApp */
    .whatsapp-float {
        width: 45px;
        height: 45px;
        font-size: 22px;
        bottom: 15px;
        right: 15px;
    }
}

/* Para móviles muy pequeños (menos de 400px) */
@media (max-width: 400px) {

    /* Hero Section */
    .hero h1 {
        font-size: 24px;
    }

    .hero p {
        font-size: 14px;
    }

    /* Botones */
    .btn {
        padding: 10px 18px;
        font-size: 14px;
    }

    /* Planes Section */
    .homenaje-title {
        font-size: 16px;
    }

    .homenaje-list li {
        font-size: 11px;
    }

    /* Secciones */
    .section-title {
        font-size: 24px;
    }

    .section-subtitle {
        font-size: 16px;
    }
}

/* Ajustes especiales para orientación landscape en móviles */
@media (max-height: 600px) and (orientation: landscape) {
    .hero {
        min-height: auto;
        padding: 40px 20px;
    }

    .hero h1 {
        font-size: 28px;
        margin-bottom: 10px;
    }

    .hero p {
        font-size: 14px;
        margin-bottom: 15px;
    }

    .about-images {
        min-height: 250px;
    }
}

/* Para pantallas de alta densidad (retina) */
@media (-webkit-min-device-pixel-ratio: 2),
(min-resolution: 192dpi) {

    .logo-img,
    .footer-logo-img {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* Impresión */
@media print {

    .header,
    .hero-buttons,
    .whatsapp-float,
    .footer {
        display: none;
    }

    body {
        color: #000;
        background: #fff;
    }

    .container {
        max-width: 100%;
        padding: 0;
    }
}