h3 {
    color: #111111;
    font-family: Georgia, 'Playfair Display', 'Times New Roman', serif; /* Serif elegante para títulos */
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    text-align: center;
    font-weight: bold;
    margin: 30px 10px;
}
/* ==========================================
   ANIMACIÓN DEL LOGO
   ========================================== */
@keyframes glow {
    0% { filter: drop-shadow(0 0 5px #C9A24D); }
    50% { filter: drop-shadow(0 0 15px #C9A24D); }
    100% { filter: drop-shadow(0 0 5px #C9A24D); }
}

/* ==========================================
   BARRA DE NAVEGACIÓN (DESKTOP)
   ========================================== */
.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 30px;
    background-color: #111111; /* Fondo Negro Carbón */
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    height: 90px;
    border-bottom: 2px solid #C9A24D; /* Acento en Dorado */
}
/* Estilo para el logo */
.navbar img.logo {
    height: 70px;
    width: auto;
    object-fit: contain;
    animation: glow 2s infinite alternate;
    display: block;
}
/* Estilos de la lista de navegación para centrarla */
.navbar ul {
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin: 0 auto;
    padding: 0;
}
.navbar a {
    text-decoration: none;
    color: #F7F5F0; /* Texto Blanco Hueso */
    cursor: pointer;
    padding: 10px 18px;
    display: flex;
    align-items: center;
    box-shadow: 0px 2px 5px rgba(201, 162, 77, 0.3);
    border: 1px solid #C9A24D; /* Borde en Dorado */
    border-radius: 6px;
    font-size: 0.95rem;
    transition: all 0.2s ease;
}
.navbar a:hover {
    background-color: #C9A24D; /* Fondo Dorado en hover */
    color: #111111; /* Texto oscuro al pasar el cursor */
    box-shadow: 0px 2px 8px rgba(201, 162, 77, 0.8);
}
/* Menús Desplegables */
.dropdown-container {
    position: relative;
}
.dropdown {
    position: absolute;
    background-color: #111111;
    border-radius: 8px;
    border: 1px solid #C9A24D;
    box-shadow: 0px 4px 6px rgba(201, 162, 77, 0.4);
    padding: 10px;
    display: none;
    flex-direction: column;
    min-width: 260px;
    top: 100%;
    left: 0;
}
.dropdown a {
    padding: 8px 12px;
    text-decoration: none;
    color: #F7F5F0;
    display: block;
    border-radius: 5px;
    box-shadow: none;
    border: none;
}
.dropdown a:hover {
    background-color: #2B2B2B; /* Fondo Gris Grafito en hover */
    color: #C9A24D; /* Acento Dorado */
}
.dropdown p {
    font-size: 0.9rem;
    color: #D9D5CC; /* Gris cálido para texto secundario */
    margin: 5px 0;
    line-height: 1.4;
}
.submenu {
    position: absolute;
    left: 100%;
    top: 0;
    display: none;
    background-color: #111111;
    border-radius: 8px;
    border: 1px solid #C9A24D;
    box-shadow: 0px 4px 6px rgba(201, 162, 77, 0.4);
    padding: 10px;
    min-width: 260px;
}
.show {
    display: flex !important;
}

/* ==========================================
   ESTILOS DE SECCIONES DEL PORTAFOLIO
   ========================================== */

/* Sección Quiénes Somos */
.section-container {
    max-width: 1000px;
    margin: 80px auto;
    padding: 0 15px;
    text-align: left;
}

.about-card {
    background-color: #2B2B2B; /* Gris grafito */
    color: #F7F5F0; /* Blanco hueso */
    padding: 40px;
    border-radius: 12px;
    border-top: 3px solid #C9A24D; /* Dorado */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.about-title {
    color: #C9A24D;
    margin-top: 0;
    text-align: left;
}

.about-text {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #D9D5CC;
}

.mission-vision-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 30px;
}

.mv-card {
    flex: 1;
    min-width: 280px;
    background: #111111; /* Negro carbón */
    padding: 20px;
    border-radius: 8px;
    border-left: 3px solid #C9A24D;
}

.mv-card h4 {
    color: #C9A24D;
    margin-top: 0;
    text-transform: uppercase;
}

.mv-card p {
    color: #D9D5CC;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Sección Portafolio de Servicios */
.portfolio-container {
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 20px;
}

.portfolio-intro {
    text-align: center;
    color: #2B2B2B;
    max-width: 700px;
    margin: 0 auto 40px auto;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.service-card {
    background-color: #FFFFFF;
    padding: 30px;
    border-radius: 10px;
    border: 1px solid #D9D5CC;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    border-top: 4px solid #C9A24D;
}

.service-card h4 {
    color: #111111;
    font-size: 1.2rem;
    margin-top: 0;
    border-bottom: 2px solid #F7F5F0;
    padding-bottom: 10px;
}

.service-card p {
    font-size: 0.9rem;
    color: #2B2B2B;
}

.service-card ul {
    padding-left: 20px;
    color: #2B2B2B;
    font-size: 0.9rem;
    line-height: 1.8;
}

/* Sección Llamado a la Acción / Contacto */
.cta-section {
    background-color: #2B2B2B;
    color: #F7F5F0;
    padding: 50px 20px;
    text-align: center;
    border-top: 2px solid #C9A24D;
}

.cta-title {
    color: #C9A24D;
    margin-top: 0;
}

.cta-desc {
    max-width: 600px;
    margin: 0 auto 30px auto;
    color: #D9D5CC;
}

.cta-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 30px;
    max-width: 800px;
    margin: 0 auto;
}

.contact-card {
    text-align: left;
    background: #111111;
    padding: 25px;
    border-radius: 8px;
    border: 1px solid #C9A24D;
}

.contact-card h4 {
    color: #C9A24D;
    margin-top: 0;
    font-size: 1.1rem;
}

.contact-card .role {
    color: #D9D5CC;
    margin: 5px 0 15px 0;
    font-size: 0.9rem;
}

.contact-card p {
    margin: 8px 0;
    font-size: 0.95rem;
}

.contact-card a {
    color: #F7F5F0;
    text-decoration: none;
}

.contact-card .email-link {
    color: #C9A24D;
}

.btn-whatsapp {
    display: inline-block;
    background-color: #C9A24D;
    color: #111111;
    text-decoration: none;
    padding: 15px 30px;
    font-weight: bold;
    border-radius: 6px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.btn-whatsapp:hover {
    background-color: #d4b059;
    box-shadow: 0 4px 10px rgba(201, 162, 77, 0.4);
}

/* ==========================================
   ESTILOS DE GALERÍA EN ESTILO PANAL (HEXÁGONOS)
   ========================================== */

.honeycomb-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px 0;
    gap: 10px;
}

.honeycomb-cell {
    flex: 0 1 230px;
    max-width: 230px;
    height: 250px;
    margin: 12px 6px;
    position: relative;
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    background-color: #C9A24D; /* Borde dorado visible al hacer hover */
    transition: transform 0.3s ease, filter 0.3s ease;
    cursor: pointer;
}

.honeycomb-cell__image {
    object-fit: cover;
    width: 100%;
    height: 100%;
    display: block;
    transition: opacity 0.3s ease, transform 0.5s ease;
    filter: brightness(0.9); /* Leve filtro oscuro acorde a la guía de diseño */
}
.honeycomb-cell__title {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    top: 0;
    background: rgba(17, 17, 17, 0.75); /* Fondo negro carbón semi-transparente */
    color: #C9A24D; /* Texto Dorado */
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 15px;
    font-size: 0.95rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* Efectos al pasar el cursor (Hover) */
.honeycomb-cell:hover {
    transform: scale(1.08);
    z-index: 10;
}

.honeycomb-cell:hover .honeycomb-cell__image {
    opacity: 0.4;
    transform: scale(1.1);
}

.honeycomb-cell:hover .honeycomb-cell__title {
    opacity: 1;
}

/* Adaptación para pantallas móviles */
@media screen and (max-width: 768px) {
    .honeycomb-cell {
        flex: 0 1 150px;
        max-width: 150px;
        height: 165px;
        margin: 5px 3px;
    }

    .honeycomb-cell__title {
        font-size: 0.75rem;
    }
}

/* ==========================================
   PIE DE PÁGINA (FOOTER)
   ========================================== */
.site-footer {
    background-color: #111111; /* Fondo Negro Carbón */
    color: #F7F5F0;
    padding: 40px 20px 20px;
    border-top: 2px solid #C9A24D; /* Línea dorada superior */
}

.footer-top {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding-bottom: 30px;
    border-bottom: 1px solid #2B2B2B;
    gap: 20px;
}

.footer-col {
    flex: 1;
    min-width: 250px;
}

.footer-col h4 {
    margin-bottom: 15px;
    font-size: 1.1rem;
    color: #C9A24D; /* Títulos del footer en dorado */
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.footer-logo {
    display: flex;
    flex-direction: column;
    align-items: center;   
    text-align: center;     
}

.footer-logo .logo-img {
    max-width: 140px;
    height: auto;
    margin-bottom: 12px;
}

.footer-logo .company-desc {
    font-size: 0.9rem;
    color: #D9D5CC; /* Texto secundario en Gris Cálido */
    margin: 0;
}

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

.footer-emails li {
    margin-bottom: 10px;
    font-size: 0.9rem;
    color: #D9D5CC;
}

.footer-emails a {
    color: #C9A24D; /* Enlaces en dorado */
    text-decoration: none;
}

.footer-emails a:hover {
    text-decoration: underline;
}

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

.social-icons img {
    transition: transform 0.2s ease;
}

.social-icons img:hover {
    transform: scale(1.1);
}

.footer-bottom {
    max-width: 1200px;
    margin: 20px auto 0;
    text-align: center;
    font-size: 0.85rem;
    color: #D9D5CC;
}

.legal-links {
    margin-bottom: 10px;
}

.legal-links a {
    color: #D9D5CC;
    text-decoration: none;
    margin: 0 5px;
}

.legal-links a:hover {
    color: #C9A24D;
    text-decoration: underline;
}

.copyright a {
    color: #C9A24D;
    text-decoration: none;
}

/* ==========================================
   ADAPTACIÓN RESPONSIVA (MÓVILES Y TABLETS)
   ========================================== */
@media screen and (max-width: 768px) {
    .navbar {
        flex-direction: column;
        height: auto;
        padding: 10px;
    }

    .navbar ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px;
        width: 100%;
    }

    .navbar a {
        padding: 8px 12px;
        font-size: 0.85rem;
    }

    .dropdown, .submenu {
        position: static;
        width: 100%;
        min-width: 100%;
        box-shadow: none;
        border: 1px solid #2B2B2B;
    }

    .banner {
        margin-top: 150px;
    }

    .swiper {
        width: 95%;
        height: 280px;
    }

    .footer-top {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-col {
        width: 100%;
    }

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