/* MencionMarketing — estilos de marca y optimización móvil */

/* ── Logo ── */
.site-logo { display: inline-flex; align-items: center; text-decoration: none; }
.site-logo img { width: auto; max-width: none; object-fit: contain; }
.site-logo--header img { height: 72px; }
.site-logo--preloader { display: block; margin: 0 auto 1.5rem; text-align: center; }
.site-logo--footer {
    display: inline-flex; align-items: center;
    background: #fff; border-radius: 14px;
    padding: 14px 20px; margin-bottom: 12px;
}
.site-logo--footer img { height: 96px; width: auto; max-width: 260px; }
.site-logo--offcanvas {
    display: inline-flex; align-items: center;
    background: #fff; border-radius: 12px;
    padding: 10px 16px; margin-bottom: 8px;
}
.site-logo--offcanvas img { height: 72px; width: auto; max-width: 220px; }
.site-logo--preloader img { height: 220px; max-width: min(520px, 90vw); }

/* ── Breadcrumb brand ── */
.breadcrumb-section--brand {
    background: linear-gradient(135deg, #003566 0%, #4f3fb8 50%, #6C57D2 100%);
}

/* ── Formulario contacto ── */
.contact-form-box .form-select,
.contact-form-box .form-select option {
    background-color: #fff;
    color: #212529;
    border-color: #dee2e6;
}

/* ── WhatsApp flotante (icono circular) ── */
.whatsapp-float {
    position: fixed;
    right: 24px;
    bottom: 90px;
    z-index: 9999;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #25D366;
    color: #fff;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}
.whatsapp-float i {
    font-size: 32px;
    line-height: 1;
}
.whatsapp-float:hover {
    color: #fff;
    background: #1ebe57;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 28px rgba(37, 211, 102, 0.6);
}

/* ── Botón WhatsApp inline (contacto, etc.) ── */
.whatsapp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 24px;
    border-radius: 8px;
    background: #25D366;
    color: #fff;
    font-weight: 700;
    font-size: 15px;
    text-decoration: none;
    transition: background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35);
}
.whatsapp-btn i { font-size: 22px; line-height: 1; }
.whatsapp-btn:hover {
    color: #fff;
    background: #1ebe57;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(37, 211, 102, 0.45);
}
.whatsapp-btn--block { width: 100%; }

/* ── Componentes sin estilo del tema ── */
.service-box-items {
    background: var(--bg);
    border-radius: 10px;
    padding: 32px 24px;
    height: 100%;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.service-box-items:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 28px rgba(108, 87, 210, 0.12);
}
.service-box-items .icon img { max-height: 64px; width: auto; }
.service-box-items .content h3 { font-size: 20px; margin: 16px 0 8px; }
.service-box-items .content p { font-size: 15px; margin: 0; color: var(--text); line-height: 1.6; }

.team-box-items {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    height: 100%;
}
.team-box-items .team-img img { width: 100%; aspect-ratio: 1; object-fit: cover; display: block; }
.team-box-items .team-content { padding: 20px; }
.team-box-items .team-content span { color: var(--theme-color-2); font-size: 14px; font-weight: 500; }
.team-box-items .team-content h3 { font-size: 22px; margin-top: 6px; margin-bottom: 0; }

.about-icon-box {
    display: flex; align-items: center; gap: 10px;
    padding: 14px 16px; background: var(--bg);
    border-radius: 8px; font-weight: 500; font-size: 15px;
}
.about-icon-box i { color: var(--theme-color); flex-shrink: 0; }

.counter-box h2 {
    font-size: 48px; font-weight: 700;
    color: var(--theme-color); margin-bottom: 8px;
}
.counter-box p { font-size: 16px; color: var(--text); margin: 0; }

.about-content > span {
    font-size: 18px; color: var(--theme-color-2);
    display: inline-block; margin-bottom: 10px;
}
.about-content .about-list {
    list-style: none; padding: 0; margin: 20px 0;
}
.about-content .about-list li {
    display: flex; align-items: flex-start; gap: 10px;
    padding: 8px 0; font-weight: 500;
}
.about-content .about-list li i { color: var(--theme-color); margin-top: 4px; flex-shrink: 0; }

.contact-info-box {
    background: var(--bg); padding: 32px;
    border-radius: 12px; height: 100%;
}
.contact-info-box h3 { margin-bottom: 12px; }
.contact-info-box h4 { font-size: 18px; margin-bottom: 8px; }
.contact-form-box {
    background: #fff; border: 1px solid var(--border);
    padding: 32px; border-radius: 12px;
}
.contact-form-box h3 { margin-bottom: 8px; }
.contact-list {
    list-style: none; padding: 0; margin: 0;
}
.contact-list li {
    display: flex; gap: 12px; padding: 10px 0;
    align-items: flex-start;
}
.contact-list li i { color: var(--theme-color); margin-top: 4px; min-width: 18px; flex-shrink: 0; }
.contact-list li a { color: inherit; text-decoration: none; }
.contact-list li a:hover { color: var(--theme-color); }

/* ── Hero home: mantener proporción de la imagen ── */
.hero-1 .hero-img {
    text-align: right;
}
.hero-1 .hero-img img {
    width: auto;
    max-width: 100%;
    height: auto !important;
    object-fit: contain;
    display: block;
    margin-left: auto;
}

/* ── Base móvil ── */
html, body { overflow-x: hidden; }

/* ── Botones del header ── */
.header-1 .header-right > .theme-btn--header-desktop {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 8px 8px 8px 22px;
    font-size: 14px;
    line-height: 1;
    white-space: nowrap;
    vertical-align: middle;
}
.header-1 .header-right > .theme-btn--header-desktop i {
    width: 40px;
    height: 40px;
    line-height: 40px;
    margin-left: 0;
    flex-shrink: 0;
}

.theme-btn--header-mobile {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 8px 10px 8px 14px;
    font-size: 13px;
    line-height: 1;
    white-space: nowrap;
}
.theme-btn--header-mobile i {
    width: 34px;
    height: 34px;
    line-height: 34px;
    margin-left: 0;
    font-size: 13px;
    flex-shrink: 0;
}

@media (min-width: 1200px) {
    .header-1 .header-right > .theme-btn--header-desktop {
        display: inline-flex !important;
    }
    .theme-btn--header-mobile {
        display: none !important;
    }
}

@media (max-width: 1199px) {
    .header-1 .header-right > .theme-btn--header-desktop {
        display: none !important;
    }
    .theme-btn--header-mobile {
        display: inline-flex !important;
    }
}

/* ── Títulos: quitar saltos forzados en móvil ── */
@media (max-width: 767px) {
    h1 br, h2.char-animation br, .section-title h2 br { display: none; }
}

/* ── Tablet ── */
@media (max-width: 991px) {
    .section-padding { padding: 60px 0 !important; }
    .section-padding.pt-0 { padding-top: 0 !important; }
}

/* ── Móvil ── */
@media (max-width: 767px) {
    /* Espaciado general */
    .section-padding { padding: 48px 0 !important; }
    .section-title { margin-bottom: 24px; }
    .section-title p { font-size: 15px; line-height: 1.6; }

    /* Header */
    .header-1 .header-main { padding: 10px 0; }
    .header-1 .header-left { gap: 12px; }
    .header-section-2 .header-1 .mega-menu-wrapper { padding: 0 16px; }
    .header-1 .header-right { gap: 8px; }
    .header-1 .header-main .sidebar__toggle { font-size: 22px; padding: 4px; }

    /* Hero */
    .hero-1 { padding: 110px 0 50px; }
    .hero-1 .hero-content h1 { font-size: 32px; line-height: 1.25; }
    .hero-1 .hero-content p { font-size: 15px; line-height: 1.65; margin-bottom: 24px; }
    .hero-1 .hero-content .hero-btn {
        flex-direction: column; align-items: stretch;
        gap: 12px; margin-top: 24px;
    }
    .hero-1 .hero-content .hero-btn .theme-btn {
        display: flex; justify-content: space-between; align-items: center;
        width: 100%; padding: 10px 16px; font-size: 14px;
    }
    .hero-1 .hero-content .hero-btn .theme-btn i {
        width: 40px; height: 40px; line-height: 40px; margin-left: 12px;
    }
    .hero-1 .col-lg-6:last-child { margin-top: 8px; }
    .hero-1 .hero-img { text-align: center; }
    .hero-1 .hero-img img { max-width: min(320px, 85vw); margin: 0 auto; }

    /* Breadcrumb internas */
    .page-heading { padding: 100px 0 48px; }
    .page-heading h2 { font-size: 32px; }
    .page-heading .breadcrumb-list { gap: 10px; margin-bottom: 12px; flex-wrap: wrap; }
    .page-heading .breadcrumb-list li { font-size: 14px; }

    /* Servicios home */
    .service-box-items { padding: 24px 18px; }
    .service-box-items .content h3 { font-size: 18px; }

    /* About */
    .about-content { margin-top: 8px; text-align: center; }
    .about-content .about-list { text-align: left; }
    .about-content .theme-btn { width: 100%; display: flex; justify-content: space-between; align-items: center; }

    /* Pricing */
    .pricing-box-items { padding: 28px 20px; }
    .pricing-box-items .pricing-header h2 { font-size: 42px !important; }
    .pricing-box-items .pricing-header h3 { font-size: 20px; }
    .pricing-box-items .theme-btn { padding: 16px 20px; font-size: 14px; }

    /* Google reviews */
    .google-reviews-summary { gap: 6px; }
    .google-reviews-score { font-size: 1.5rem; }
    .google-reviews-count { font-size: 13px; width: 100%; text-align: center; }
    .google-review-card { padding: 16px; }
    .google-review-text { font-size: 14px; }

    /* CTA */
    .cta-support-wrapper { padding: 28px 20px 0; border-radius: 16px; }
    .cta-support-wrapper .cta-support-content .cta-support-text { font-size: 15px; margin-top: 16px; }
    .cta-support-wrapper .cta-support-content .cta-support-box {
        flex-direction: column; align-items: stretch;
        gap: 16px; margin-top: 24px;
    }
    .cta-support-wrapper .cta-support-content .cta-support-box .theme-btn {
        width: 100%; display: flex; justify-content: space-between; align-items: center;
    }
    .cta-support-wrapper .cta-support-img { margin-bottom: 8px; }

    /* Portfolio */
    .project-box-items-2 .project-content h3 { font-size: 17px; line-height: 1.4; }

    /* FAQ */
    .accordion-button { font-size: 15px; padding: 16px 18px; line-height: 1.4; }
    .accordion-body { font-size: 15px; line-height: 1.65; }

    /* Contacto */
    .contact-info-box,
    .contact-form-box { padding: 24px 18px; }
    .contact-form-box .theme-btn {
        width: 100%; display: flex;
        justify-content: space-between; align-items: center;
    }
    .contact-form-box .input-group { flex-wrap: wrap; }
    .contact-form-box .input-group-text { font-size: 14px; white-space: normal; }

    /* Footer */
    .footer-widget-wrapper { padding: 50px 0 30px; }
    .footer-widget-wrapper .single-footer-widget { margin-top: 24px; }
    .footer-widget-wrapper .single-footer-widget:first-child { margin-top: 0; }
    .site-logo--footer { padding: 10px 16px; }
    .site-logo--footer img { height: 72px; }
    .footer-widget-wrapper .single-footer-widget .theme-btn {
        display: flex; justify-content: space-between; align-items: center;
    }
    .footer-bottom .footer-wrapper { justify-content: center !important; text-align: center; }
    .footer-bottom p { font-size: 13px; line-height: 1.5; }

    /* Offcanvas */
    .offcanvas__info { max-width: 100%; }
    .offcanvas__content { padding: 24px 20px; }
    .offcanvas__top { margin-bottom: 24px !important; }
    .offcanvas-title { font-size: 22px; }
    .offcanvas__content .theme-btn {
        width: 100%; display: flex;
        justify-content: space-between; align-items: center;
    }

    /* Botones generales */
    .theme-btn { font-size: 14px; }
    .theme-btn i { width: 40px; height: 40px; line-height: 40px; margin-left: 14px; }

    /* Flotantes */
    .back-to-top { right: 16px; bottom: 16px; width: 44px; height: 44px; line-height: 44px; font-size: 16px; }
    .whatsapp-float {
        right: 16px;
        bottom: 72px;
        width: 56px;
        height: 56px;
    }
    .whatsapp-float i { font-size: 30px; }

    /* Preloader */
    .preloader .animation-preloader .spinner { width: 5em; height: 5em; margin-bottom: 1.5em; }
    .site-logo--header img { height: 52px; }
    .site-logo--preloader img { height: 140px; max-width: min(320px, 85vw); }
    .preloader p { font-size: 12px; letter-spacing: 5px; }

    /* Contadores */
    .counter-box { padding: 16px 0; }
    .counter-box h2 { font-size: 36px; }

    /* Equipo */
    .team-box-items .team-content h3 { font-size: 20px; }

    /* Grids */
    .service-section-2 .row.g-5,
    .contact-section .row.g-5 { --bs-gutter-y: 1.5rem; }

    /* Logo */
    .site-logo--offcanvas img { height: 56px; }
}

/* ── Móvil pequeño ── */
@media (max-width: 575px) {
    .section-padding { padding: 40px 0 !important; }
    .hero-1 { padding: 100px 0 40px; }
    .hero-1 .hero-content h1 { font-size: 28px; }
    .page-heading { padding: 88px 0 40px; }
    .page-heading h2 { font-size: 28px; }
    .pricing-box-items .pricing-header h2 { font-size: 36px !important; }
    .theme-btn--header-mobile { font-size: 0; padding: 6px 8px; gap: 0; }
    .theme-btn--header-mobile i { width: 36px; height: 36px; line-height: 36px; }
}

/* ── Accesibilidad ── */
@media (prefers-reduced-motion: reduce) {
    .preloader .animation-preloader .spinner { animation: none; }
}
