/* style_header,footer.css */
/* header section */
/* Navigation */
:root {
    --forest-green-dark: #000000;
    --primary-color: #eac736;
    --secondary-color: #2d5a3f;
    --accent-color: #eac736;
    --text-color: #333;
    --light-gray: #f5f5f5;
    --medium-gray: #e0e0e0;
    --dark-gray: #666;
    --white: #fff;
    --transition: all 0.3s ease;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --border-radius: 8px;
}


.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    width: 100%;
    box-sizing: border-box;
}

/* Barra promocional compacta */
.top-promo {
    background: #ea4d4f;
    color: #ffffff;
    padding: 6px 0;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem
}

.top-promo .container{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.top-promo .promo-text {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
    min-width: 0
}

.top-promo .promo-emoji {
    font-size: 1rem
}

.top-promo .promo-main {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis
}

.top-promo .promo-actions {
    display: flex;
    align-items: center;
    gap: 8px
}

.top-promo .promo-close {
    background: transparent;
    border: 1px solid rgb(234 199 54);
    border-radius: 6px;
    color: #f8f9fa;
    padding: 4px 8px;
    cursor: pointer;
    font-size: 1rem;
}

.top-promo .btn-hero {
    background: #eac736;
    color: #ffffff;
    padding: 6px 10px;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    font-weight: 700
}

@media (max-width:640px) {
    .top-promo .container {
        flex-direction: column;
        align-items: flex-start;
        padding: 0 12px
    }

    .top-promo .promo-main {
        white-space: normal;
        font-size: 0.8rem;
    }

    .top-promo .promo-actions {
        width: 100%;
        margin-top: 6px
    }

    .top-promo .btn-hero {
        width: 100%
    }
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--gray-dark);
    background-color: var(--white);
}

body,
html {
    margin: 0;
    padding: 0;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

.btn-hero {
    background: #eac736;
    color: var(--white);
    box-shadow: var(--shadow-emerald);
    font-weight: 600;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    padding: .75rem 1.5rem;
    border: none;
    border-radius: .5rem;
    font-size: .875rem;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition-smooth);
    white-space: nowrap;
}

/* social links removed from footer - styles deleted to avoid unused rules */

.approval-icon {
    width: 2rem;
    height: 2rem;
    background: hsl(255, 255%, 255%, .1);
    border-radius: .25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .75rem;
    font-weight: 700;
}

.approval-badge {
    display: flex;
    align-items: center;
    gap: .5rem;
}

.whatsapp-btn:hover {
    transform: scale(1.1);
}

.whatsapp-btn {
    width: 3.5rem;
    height: 3.5rem;
    background: #25d366;
    border: none;
    border-radius: 50%;
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: var(--shadow-strong);
}

.whatsapp-float {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    z-index: 50;
}

.whatsapp-btn svg {
    width: 2rem;
    height: 2rem;
}



.main-header {
    background: var(--white);
    box-shadow: var(--shadow-soft);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    transition: all 0.3s ease;
    padding: 0;
}

.main-header_MAP{
    background: var(--white);
    box-shadow: var(--shadow-soft);
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    transition: all 0.3s ease;
    padding: 0;
}

/* Barra de progreso de scroll */
.scroll-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    background: #eac736;
    width: 0%;
    transition: width 0.1s ease;
    z-index: 100;
}

.main-header.scrolled {
    padding: 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}


.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.main-header.scrolled .header-content {
    padding: 0.5rem 0;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
}

a:hover {
    color: var(--accent-color);
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 25px;
}

.desktop-nav a,
.desktop-nav button {
    color: var(--text-color);
    font-weight: 500;
    position: relative;
    padding: 5px 0;
    background: none;
    border: none;
    font-family: inherit;
    font-size: inherit;
    cursor: pointer;
    text-align: left;
}

.desktop-nav a::after,
.desktop-nav button::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--accent-color);
    transition: var(--transition);
}

.desktop-nav a:hover::after,
.desktop-nav a.active::after,
.desktop-nav button:hover::after,
.desktop-nav button.active::after {
    width: 100%;
}

.desktop-nav a.active {
    color: var(--text-color);
    font-weight: 600;
}

/* Logo / identidad (centralizado aquí) */
.logo {
    display: flex;
    align-items: center;
    height: 120px !important;
    transition: all 0.3s ease;
}

.logo-img {
    height: 120px !important;
    width: auto !important;
    display: block;
    max-width: 300px !important;
    transition: all 0.3s ease;
}

/* Estilos para el header compacto */
.main-header.scrolled .logo {
    height: 63px !important;
}

.main-header.scrolled .logo-img {
    height: 65px !important;
}

/* Asegurar que la navegación de escritorio sea visible en pantallas pequeñas
   después de eliminar el menú móvil */
@media (max-width: 768px) {
    .desktop-nav {
        display: flex !important;
        flex-direction: column;
        gap: 0.5rem;
        align-items: flex-start;
    }

    .cta-button {
        display: block !important;
    }

    .logo-img {
        height: 93px !important;
        width: auto;
        max-width: 300px;
    }
}


/*footer section*/
.footer {
    background: #000;
    color: var(--white);
    padding: 3rem 0 1rem
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 2rem
}

.footer-section {
    padding: 1rem
}

.footer-contact-info {
    display: flex;
    flex-direction: column;
    gap: 1rem
}

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: .75rem;
    color: #fff;
    text-decoration: none;
    transition: all .3s ease;
    padding: .5rem;
    border-radius: 4px
}

.footer-contact-item:hover {
    background-color: rgba(255, 255, 255, .1);
    transform: translateX(5px)
}

.footer-contact-item svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0
}

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

.footer-links a {
    display: block;
    padding: .5rem;
    border-radius: 4px
}

.footer-links a:hover {
    background-color: rgba(255, 255, 255, .1);
    transform: translateX(5px)
}

.footer-whatsapp-button {
    display: flex;
    align-items: center;
    gap: .75rem;
    background-color: var(--emerald);
    text-decoration: none;
    padding: 1rem;
    border-radius: 8px;
    transition: all .3s ease;
    margin-top: .3rem
}

.footer-whatsapp-button .btn-whatsapp-footer {
    background-color: #25d366;
    color: #fff;
    width: 100%;
    justify-content: center;
    font-weight: 600;
    padding: .8rem 1rem;
    border-radius: 6px;
}

.footer-whatsapp-button .btn-whatsapp-footer:hover {
    background-color: #1eae54;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, .2)
}

.footer-whatsapp-button .btn-whatsapp-footer svg {
    width: 20px;
    height: 20px
}

.footer-logo img {
    height: 120px !important;
    width: auto !important;
    max-width: 300px !important;
    display: block;
    filter: none
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: .75rem;
    margin-bottom: 1rem
}

.footer-section h4 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1rem
}

.footer-description {
    font-size: .875rem;
    opacity: .8;
    margin-bottom: 1rem;
    line-height: 1.6;
    color: var(--gray-300);
}

.footer-links li {
    margin-bottom: .5rem
}

.footer-links a,
.footer-links button {
    background: 0 0;
    border: none;
    color: var(--white);
    opacity: .8;
    text-decoration: none;
    font-size: .875rem;
    cursor: pointer;
    transition: var(--transition-smooth)
}

.footer-links a:hover,
.footer-links button:hover {
    opacity: 1
}

.footer-contact .icon {
    width: 1rem;
    height: 1rem;
    flex-shrink: 0
}

.footer-bottom {
    border-top: 1px solid hsl(255, 255%, 255%, .2);
    padding-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    font-size: .875rem
}

.footer-copyright {
    opacity: .8
}

.footer-approval {
    display: flex;
    align-items: center;
    gap: 1rem;
    opacity: .8
}


@media (min-width:768px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-bottom {
        flex-direction: row;
        justify-content: space-between
    }
}


@media (min-width:1024px) {
    .footer-content {
        grid-template-columns: repeat(4, 1fr)
    }
}

/* Mobile navigation (hamburger) */
.mobile-menu-btn {
    display: none;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: transparent;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 8px;
    cursor: pointer;
    gap: 8px;
}

.mobile-menu-btn svg {
    width: 22px;
    height: 22px;
    color: var(--text-color);
}

.mobile-nav {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 120;
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
}

.mobile-nav .mobile-panel {
    position: absolute;
    top: 0;
    right: 0;
    width: 85%;
    max-width: 320px;
    height: 100%;
    background: var(--white);
    padding: 1.25rem;
    box-shadow: -8px 0 24px rgba(0, 0, 0, 0.15);
    transform: translateX(100%);
    transition: transform 0.28s ease;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* Optimización para pantallas pequeñas del panel móvil */
@media (max-width: 375px) {
    .mobile-nav .mobile-panel {
        padding: 1rem;
        gap: 0.8rem;
    }
}

@media (max-width: 320px) {
    .mobile-nav .mobile-panel {
        padding: 0.8rem;
        gap: 0.6rem;
    }
}

/* iPhone SE específico - reducir altura del panel */
@media (max-width: 320px) and (max-height: 568px) {
    .mobile-nav .mobile-panel {
        padding: 0.6rem;
        gap: 0.4rem;
    }

    .mobile-nav .mobile-panel .desktop-nav a {
        padding: 0.5rem 0.4rem;
        font-size: 0.9rem;
    }
}

.mobile-nav.open {
    display: block;
}

.mobile-nav.open .mobile-panel {
    transform: translateX(0);
}

.mobile-nav .mobile-panel .desktop-nav {
    display: flex !important;
    flex-direction: column;
    gap: 0.5rem;
}

.mobile-nav .mobile-panel .desktop-nav a {
    padding: 0.75rem 0.5rem;
    color: var(--text-color);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.mobile-nav .mobile-panel .cta-button {
    margin-top: auto;
}

/* Hide desktop nav and show hamburger on small screens */
@media (max-width: 768px) {
    .mobile-menu-btn {
        display: inline-flex;
    }

    .desktop-nav {
        display: none !important;
    }

    .header-content {
        gap: 0.5rem;
        padding: 0;
    }

    .footer-content {
        gap: 0rem !important;
    }
}

/* Prevent body scroll when mobile nav open */
.no-scroll {
    overflow: hidden;
}

/* Mobile Menu Logo - Optimizado para todos los dispositivos */
.mobile-logo-container {
    padding: 0.8rem 5%;
    text-align: center;
    margin-top: 2rem;
    /* Cambiado de auto a fijo para pantallas grandes */
    border-top: 1px solid #eee;
    width: 100%;
    box-sizing: border-box;
}

.mobile-logo {
    width: min(50%, 140px);
    max-width: 140px;
    height: auto;
    display: block;
    margin: 0 auto 10px;
    transition: all 0.3s ease;
}

/* iPhone SE y dispositivos muy pequeños (320px) */
@media (max-width: 320px) {
    .mobile-logo {
        width: min(45%, 100px);
        max-width: 100px;
        margin: 0 auto 6px;
    }

    .mobile-logo-container {
        padding: 0.4rem 5% 0.6rem;
        margin-top: 1rem;
        /* Cambiado de auto a fijo */
    }
}

/* Pantallas pequeñas hasta 375px (iPhone SE, iPhone 12 mini) */
@media (max-width: 375px) {
    .mobile-logo {
        width: min(48%, 120px);
        max-width: 120px;
        margin: 0 auto 8px;
    }

    .mobile-logo-container {
        padding: 0.5rem 5% 0.7rem;
        margin-top: 1.5rem;
        /* Cambiado de auto a fijo */
    }
}

/* Para pantallas muy altas en relación al ancho (típico de móviles modernos) */
@media (max-height: 650px) and (max-width: 375px) {
    .mobile-logo {
        width: min(40%, 90px);
        max-width: 90px;
        margin: 0 auto 4px;
    }

    .mobile-logo-container {
        padding: 0.3rem 5% 0.5rem;
        margin-top: 1.2rem;
        /* Más arriba para pantallas con poca altura */
    }
}

/* iPhone SE específico (320x568) - Logo más arriba */
@media (max-width: 320px) and (max-height: 568px) {
    .mobile-logo {
        width: min(40%, 80px);
        max-width: 80px;
        margin: 0 auto 3px;
    }

    .mobile-logo-container {
        padding: 0.2rem 5% 0.4rem;
        margin-top: 0.8rem;
        /* Más arriba en iPhone SE */
        border-top: 1px solid #eee;
    }
}

/* ===== icon_contact- section (todo en #D1A100) ===== */

.icon_contact-section {
    padding: 0rem 0 0.5rem;
    background-color: #ffffff;
    text-align: center;
    box-sizing: border-box;
}

.icon_contact-title {
    font-size: 1.5rem;
    /* var(--font-size-2xl) */
    font-weight: 700;
    margin-bottom: 1.25rem;
    color: #000000;
}

.icon_contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
    margin: 1.25rem 0;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.icon_contact-card {
    background: linear-gradient(145deg, #ffffff, #ffffff);
    border-radius: 0.75rem;
    padding: 1rem;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #f0e6c0;
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.06);
}

.icon_contact-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 30px -10px rgba(0, 0, 0, 0.08);
}

.icon_contact-icon {
    width: 40px;
    height: 40px;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-color);
    /* todo en Amarillo dorado */
    border-radius: 50%;
    color: white;
}

.icon_contact-icon svg {
    width: 20px;
    height: 20px;
    display: block;
}

.icon_contact-card h4 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    color: #000000;
    font-weight: 700;
    /* match global heading weight */
}

.icon_contact-card p {
    color: #6b7280;
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
}

.icon_contact-link {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: #ea4d4f;
    /* botón en Amarillo dorado */
    color: #ffffff !important;
    text-decoration: none;
    border-radius: 2rem;
    font-weight: 500;
    /* match main site */
    font-size: 0.8rem;
    /* match main site */
    transition: all 0.25s ease;
}

.icon_contact-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px -6px rgba(0, 0, 0, 0.08);
    background: #eac736;
}

.icon_contact-card:nth-child(1) .icon_contact-icon {
    background: var(--primary-color);
}

.icon_contact-card:nth-child(2) .icon_contact-icon {
    background: var(--primary-color);
}

.icon_contact-card:nth-child(3) .icon_contact-icon {
    background: var(--primary-color);
}

.icon_contact-icon.icon_contact-facebook-icon {
    background: #1877F2 !important; /* Azul de Facebook */
    color: #fff;
}

/* WhatsApp - Verde */
.icon_contact-icon.icon_contact-whatsapp-icon {
    background: #25D366 !important; /* Verde de WhatsApp */
    color: #fff;
}

/* Sitio Web - Amarillo (mantener el color original) */
.icon_contact-icon.icon_contact-website-icon {
    background: #eac736  !important; /* Amarillo dorado */
    color: #fff;
}

/* Instagram - Gradiente característico */
.icon_contact-icon.icon_contact-instagram-icon {
    background: linear-gradient(45deg, #405DE6, #5851DB, #833AB4, #C13584, #E1306C, #FD1D1D, #F56040, #F77737, #FCAF45, #FFDC80) !important;
    color: #fff;
}

/* TikTok - Negro */
.icon_contact-icon.icon_contact-tiktok-icon {
    background: #000000 !important; /* Negro de TikTok */
    color: #fff;
}

.icon_contact-card[data-whatsapp="true"] .icon_contact-link,
.icon_contact-link[data-whatsapp="true"] {
    color: #fff !important;
    background: #ea4d4f  !important; /* Verde de WhatsApp para el botón */
    border-color: rgba(37, 211, 102, 0.2);
}

.icon_contact-card[data-whatsapp="true"] .icon_contact-link:hover,
.icon_contact-link[data-whatsapp="true"]:hover {
    background: #eac736  !important; /* Verde más oscuro en hover */
    transform: translateY(-2px);
    box-shadow: 0 6px 18px -6px rgba(37, 211, 102, 0.3);
}

@media (max-width: 480px) {
    .icon_contact-section {
        padding: 1.5rem 0;
    }

    .icon_contact-grid {
        /* columnas de igual ancho en móvil para concordancia entre dispositivos */
        grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
        gap: .75rem;
        margin: 17px;
    }

    .icon_contact-card {
        min-height: 110px;
        padding: .5rem;
    }
    .icon_contact-card h4 {
        font-size: 0.9rem;
    }
    .icon_contact-card p {
        font-size: 0.7rem;
    }

    /* Asegurar que solo la última tarjeta (TikTok) tenga el mismo ancho
       que las otras tarjetas en móviles: estirarla dentro de su celda */

    .icon_contact-card:last-child {
        grid-column: 1 / -1;
        justify-self: center;
        width: 43.83%;

    }
}