/* ============================================
   SUPLITECMOHOST - Custom Mobile Responsive Pro
   ============================================ */

/* HAMBURGUESA visible en móvil/tablet */
@media (max-width: 1199px) {
    .header__hamburger {
        display: block !important;
        margin-left: auto;
    }
    .header__hamburger .sidebar__toggle {
        cursor: pointer;
        font-size: 22px;
        color: #1741D4;
        padding: 10px 14px;
        background: rgba(23, 65, 212, 0.08);
        border-radius: 8px;
        transition: all 0.3s ease;
        border: 1px solid rgba(23, 65, 212, 0.15);
    }
    .header__hamburger .sidebar__toggle:hover {
        background: #1741D4;
        color: #fff;
        transform: scale(1.05);
    }
    .main-menu, .header-button {
        display: none !important;
    }
    .header-top {
        font-size: 12px;
    }
}

/* Tablets/medianos */
@media (max-width: 991px) {
    .header-top-wrapper {
        flex-wrap: wrap;
        justify-content: center;
        text-align: center;
        gap: 8px;
        padding: 8px 0;
    }
    .header-top .contact-list,
    .header-top .list {
        flex-wrap: wrap;
        justify-content: center;
        gap: 12px;
    }
    .header-top p {
        width: 100%;
        text-align: center;
        font-size: 12px;
        margin: 4px 0;
    }
}

/* Smartphones */
@media (max-width: 767px) {
    .hero-section h1, .hero-1 h1, .hero-2 h1 {
        font-size: 30px !important;
        line-height: 1.2 !important;
    }
    .hero-content p, .hero-text {
        font-size: 15px !important;
    }
    section {
        padding-top: 40px !important;
        padding-bottom: 40px !important;
    }
    .section-padding {
        padding: 40px 0 !important;
    }
    .pricing-items, .pricing-card-items {
        margin-bottom: 25px;
    }
    .footer-widgets-wrapper .col-xl-3 {
        margin-bottom: 30px;
    }
    .header-logo img, .header-logo-2 img {
        max-height: 40px;
        max-width: 200px;
    }
    .theme-btn {
        font-size: 14px;
        padding: 12px 22px;
    }
    .doming-input {
        flex-direction: column;
        gap: 8px;
    }
    .doming-input input {
        width: 100% !important;
    }
    .doming-input button {
        width: 100% !important;
    }
    .doming-input .select-area {
        width: 100%;
    }
    .feature-card, .service-card, .feature-item {
        margin-bottom: 20px;
    }
    h1 { font-size: 30px !important; }
    h2 { font-size: 24px !important; }
    h3 { font-size: 20px !important; }
    h4 { font-size: 17px !important; }
}

@media (max-width: 480px) {
    h1 { font-size: 26px !important; }
    h2 { font-size: 21px !important; }
    .header-logo img, .header-logo-2 img {
        max-width: 150px;
    }
    .theme-btn {
        font-size: 13px;
        padding: 10px 16px;
    }
    .header-top {
        display: none;
    }
}

/* ============================================
   OFFCANVAS (MENÚ LATERAL MÓVIL) PROFESIONAL
   ============================================ */
.offcanvas__info {
    background: linear-gradient(180deg, #ffffff 0%, #f8faff 100%);
    box-shadow: -10px 0 40px rgba(0,0,0,0.18);
    z-index: 9999;
    width: 320px;
    padding: 25px;
}

.offcanvas__top {
    border-bottom: 1px solid rgba(23, 65, 212, 0.1);
    padding-bottom: 15px;
    margin-bottom: 20px !important;
}

.offcanvas__close button {
    background: rgba(23, 65, 212, 0.08);
    border: none;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    color: #1741D4;
    transition: all 0.3s;
}

.offcanvas__close button:hover {
    background: #1741D4;
    color: #fff;
    transform: rotate(90deg);
}

/* Mean menu (menú lateral generado dinámicamente) */
.mean-container .mean-bar {
    background: transparent !important;
    padding: 0 !important;
    min-height: 0 !important;
}

.mean-container .mean-nav {
    background: #1741D4 !important;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(23, 65, 212, 0.2);
}

.mean-container .mean-nav ul li {
    border-top: 1px solid rgba(255,255,255,0.08);
}

.mean-container .mean-nav ul li:first-child {
    border-top: none;
}

.mean-container .mean-nav ul li a {
    color: #fff !important;
    font-weight: 600;
    padding: 14px 20px !important;
    border-color: rgba(255,255,255,0.08) !important;
    transition: all 0.3s;
}

.mean-container .mean-nav ul li a:hover {
    background: rgba(255,255,255,0.12) !important;
    padding-left: 28px !important;
}

.mean-container .mean-nav ul li a.mean-expand {
    background: rgba(255,255,255,0.1) !important;
    border-color: rgba(255,255,255,0.15) !important;
    padding: 12px !important;
    height: auto !important;
    line-height: 1 !important;
}

.mean-container .mean-nav ul li ul li a {
    background: rgba(0,0,0,0.15) !important;
    color: rgba(255,255,255,0.9) !important;
    font-size: 14px;
    padding: 10px 30px !important;
}

/* Botones Login y Registro en offcanvas */
.offcanvas-buttons {
    margin: 20px 0;
}

.offcanvas-buttons .theme-btn {
    width: 100%;
    text-align: center;
    padding: 12px 18px;
    border-radius: 8px;
    font-weight: 700;
    transition: all 0.3s;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.offcanvas-buttons .theme-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.15);
}

.offcanvas-buttons .theme-btn[style*="FFD700"]:hover {
    background: #FFC700 !important;
}

.offcanvas-buttons .theme-btn[style*="1741D4"]:hover {
    background: #133AB8 !important;
}

.offcanvas-buttons .theme-btn i {
    margin: 0 6px;
}

/* Información de contacto en offcanvas */
.offcanvas__contact h4 {
    color: #1741D4;
    font-weight: 700;
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 2px solid rgba(23, 65, 212, 0.15);
}

.offcanvas__contact ul li {
    padding: 10px 0;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.offcanvas__contact ul li:last-child {
    border-bottom: none;
}

.offcanvas__contact-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(23, 65, 212, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    color: #1741D4;
    flex-shrink: 0;
}

.offcanvas__contact-text a {
    color: #2a2a2a;
    font-weight: 500;
    font-size: 14px;
}

.offcanvas__contact-text a:hover {
    color: #1741D4;
}

/* Iconos sociales en offcanvas */
.offcanvas__contact .social-icon {
    margin-top: 20px;
    gap: 10px;
}

.offcanvas__contact .social-icon a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(23, 65, 212, 0.08);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #1741D4;
    transition: all 0.3s;
    text-decoration: none;
}

.offcanvas__contact .social-icon a:hover {
    background: #1741D4;
    color: #fff;
    transform: translateY(-3px);
}

/* Login amarillo brillante con animación */
.header-top a[href*="rp=/login"] {
    color: #FFD700 !important;
    font-weight: 700;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.6);
    animation: glowLogin 2s ease-in-out infinite;
    text-decoration: none;
    padding: 4px 12px;
    border-radius: 6px;
}

@keyframes glowLogin {
    0%, 100% { text-shadow: 0 0 10px rgba(255, 215, 0, 0.6); }
    50% { text-shadow: 0 0 18px rgba(255, 215, 0, 1), 0 0 25px rgba(255, 215, 0, 0.5); }
}

.hero-author {
    flex-wrap: wrap;
    gap: 10px;
}

@media (max-width: 575px) {
    .hero-author {
        flex-direction: column;
    }
    .hero-author a {
        width: 100%;
        text-align: center;
    }
}

.pricing-card-items[style*="f0b429"] {
    transform: scale(1.02);
    box-shadow: 0 10px 30px rgba(240, 180, 41, 0.3);
}

/* Ajuste de header sticky en mobile */
@media (max-width: 1199px) {
    .header-2 {
        padding: 12px 0;
    }
    .header-main {
        padding: 0;
    }
    .logo a img {
        max-height: 45px;
    }
}

/* Search trigger en mobile */
@media (max-width: 1199px) {
    .search-trigger {
        font-size: 18px;
        padding: 8px;
        color: #1741D4;
        margin-right: 8px;
    }
}
