/* ===== RESET & GLOBAL ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
	font-family: 'Ubuntu', sans-serif;
}

body {
    background-color: #f0f9ff;
    color: #1e293b;
    padding-bottom: 75px;
    padding-top: 75px; /* Espacio para header fijo */
}

/* ===== HEADER FIJO SUPERIOR ===== */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: transparent;
}

.header-bar {
    position: relative;
    width: 100%;
    height: 72px;
    background: #03045e;
    border-bottom: 3px solid #00b4d8;
    box-shadow: none;
}

/* Cuadro del logo estilo boceto */
.logo-box {
    position: absolute;
    top: 0;
    left: 0;
    width: 118px;
    height: 92px;
    background: #03045e;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 7px 13px 12px;
    text-decoration: none;
    border-bottom: 3px solid #00b4d8;
    border-bottom-right-radius: 18px;
    border-bottom-left-radius: 18px;
    box-shadow: none;
    z-index: 20;
}

.logo-img {
    width: 76px;
    height: auto;
    max-height: 76px;
    object-fit: contain;
    display: block;
}

.logo-text {
    display: none;
}

/* ===== MENÚ HAMBURGUESA (DERECHA) ===== */
.menu-hamburger {
    position: absolute;
    top: 18px;
    right: 20px;
    z-index: 100;
    pointer-events: auto;
}

.menu-checkbox {
    display: none;
}

.menu-btn {
    width: 42px;
    height: 36px;
    background: transparent;
    border-radius: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 7px;
    cursor: pointer;
    box-shadow: none;
    position: relative;
    z-index: 101;
}

.menu-btn span {
    width: 28px;
    height: 5px;
    background: #00b4d8;
    border-radius: 0;
    transition: 0.3s;
}

.menu-overlay {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: #03045e;
    transition: 0.3s ease-in-out;
    z-index: 99;
    padding-top: 80px;
    box-shadow: -5px 0 25px rgba(0,0,0,0.3);
}

.menu-checkbox:checked ~ .menu-overlay {
    right: 0;
}

.menu-checkbox:checked ~ .menu-btn span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.menu-checkbox:checked ~ .menu-btn span:nth-child(2) {
    opacity: 0;
}

.menu-checkbox:checked ~ .menu-btn span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
}

.mobile-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-nav li {
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.mobile-nav li a {
    display: block;
    padding: 18px 25px;
    color: white;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.1rem;
    transition: 0.2s;
}

.mobile-nav li a i {
    margin-right: 12px;
    font-size: 1.2rem;
}

.mobile-nav li a:hover {
    background: #0077b6;
    padding-left: 35px;
}

/* ===== MAIN CONTENT ===== */
.main-content {
    margin-top: 0;
}

/* ===== BUSCADOR ===== */
.hero-search-section {
    background: linear-gradient(135deg, #0077b6 0%, #00b4d8 100%);
    border-radius: 30px;
    margin: 20px 15px;
    padding: 10px;
}

.search-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    background: white;
    border-radius: 60px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.search-icon {
    position: absolute;
    left: 18px;
    color: #0077b6;
    font-size: 1.2rem;
    z-index: 1;
}

.search-input {
    flex: 1;
    padding: 15px 20px 15px 48px;
    border: none;
    outline: none;
    font-size: 1rem;
}

.search-btn {
    background: #03045e;
    color: white;
    border: none;
    padding: 15px 28px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.2s;
}

.search-btn:hover {
    background: #00b4d8;
}

/* ===== BANNER SLIDER (SUPERIOR) ===== */
.banner-zone {
    margin: 20px 15px;
}

.banner-slider {
    display: flex;
    gap: 15px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 10px 0;
}

.banner-item {
    flex: 0 0 auto;
    min-width: 250px;
    background: #90e0ef;
    border-radius: 20px;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    scroll-snap-align: start;
    transition: 0.2s;
}

.banner-item i {
    font-size: 2rem;
    color: #03045e;
}

.banner-content {
    display: flex;
    flex-direction: column;
}

.banner-content strong {
    font-size: 1rem;
    color: #03045e;
}

.banner-content span {
    font-size: 0.85rem;
    color: #03045e;
}

/* ===== CATEGORÍAS GRID 2 COLUMNAS ===== */
.categories-section {
    padding: 20px 15px;
}

.section-title {
    font-size: 1.6rem;
    font-weight: 700;
    color: #03045e;
    text-align: center;
    margin-bottom: 25px;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

.category-card {
    background: white;
    border-radius: 20px;
    padding: 25px 15px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    border: 1px solid #caf0f8;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0,119,182,0.15);
    border-color: #00b4d8;
}

.category-icon i {
    font-size: 2.8rem;
    color: #0077b6;
    margin-bottom: 12px;
    display: inline-block;
}

.category-name {
    font-weight: 600;
    font-size: 0.95rem;
    color: #03045e;
}

/* ===== BANNER INFERIOR ===== */
.banner-inferior {
    margin: 20px 15px 40px;
}

.banner-bottom-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.bottom-banner-card {
    background: #caf0f8;
    border-radius: 20px;
    padding: 18px;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: 0.2s;
}

.bottom-banner-card i {
    font-size: 2rem;
}

.blue-bg {
    background: #0077b6;
    color: white;
}

.cyan-bg {
    background: #00b4d8;
    color: white;
}

.bottom-banner-card h5 {
    font-size: 1rem;
    margin: 0;
    font-weight: 700;
}

.bottom-banner-card p {
    font-size: 0.75rem;
    margin: 0;
    opacity: 0.9;
}

/* ===== FOOTER FIJO INFERIOR (BOTTOM NAVBAR) ===== */
.bottom-navbar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #03045e;
    border-radius: 25px 25px 0 0;
    box-shadow: 0 -5px 20px rgba(0,0,0,0.2);
    z-index: 1000;
    padding: 8px 0 12px;
}

.bottom-nav-container {
    display: flex;
    justify-content: space-around;
    align-items: center;
    max-width: 600px;
    margin: 0 auto;
}

.bottom-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #caf0f8;
    transition: 0.2s;
    gap: 4px;
    font-size: 0.7rem;
}

.bottom-nav-item i {
    font-size: 1.4rem;
}

.bottom-nav-item.active {
    color: #00b4d8;
    transform: translateY(-3px);
}

.bottom-nav-item:hover {
    color: white;
    transform: translateY(-2px);
}

.bottom-nav-item span {
    font-size: 0.7rem;
    font-weight: 500;
}

/* ===== RESPONSIVE ===== */
@media (min-width: 768px) {
    body {
        padding-top: 110px;
    }
    
    .header-bar {
        height: 80px;
    }
    
    .logo-box {
        padding: 15px 35px;
        gap: 15px;
    }
    
    .logo-img {
        width: 55px;
        height: 55px;
    }
    
    .logo-text {
        font-size: 1.8rem;
    }
    
    .categories-grid {
        gap: 25px;
    }
    
    .category-card {
        padding: 30px 15px;
    }
    
    .category-icon i {
        font-size: 3.2rem;
    }
    
    .category-name {
        font-size: 1rem;
    }
    
    .bottom-nav-item i {
        font-size: 1.6rem;
    }
    
    .bottom-nav-item span {
        font-size: 0.75rem;
    }
}

@media (max-width: 480px) {
    body {
        padding-top: 85px;
    }
    
    .header-bar {
        height: 60px;
    }
    
    .logo-box {
        padding: 8px 18px;
        gap: 8px;
    }
    
    .logo-img {
        width: 32px;
        height: 32px;
    }
    
    .logo-text {
        font-size: 1.1rem;
        letter-spacing: 1px;
    }
    
    .menu-btn {
        width: 38px;
        height: 38px;
    }
    
    .menu-btn span {
        width: 22px;
        height: 2.5px;
    }
    
    .category-icon i {
        font-size: 2rem;
    }
    
    .bottom-nav-item i {
        font-size: 1.2rem;
    }
    
    .bottom-nav-item span {
        font-size: 0.6rem;
    }
}
/* ===== AJUSTE FINAL HEADER BOCETO TELEXPRESS ===== */
@media (min-width: 768px) {
    body { padding-top: 78px; }
    .header-bar { height: 78px; }
    .logo-box { width: 130px; height: 98px; padding: 8px 15px 13px; }
    .logo-img { width: 84px; height: auto; max-height: 84px; }
}

@media (max-width: 480px) {
    body { padding-top: 64px; }
    .header-bar { height: 62px; }
    .logo-box {
        width: 84px;
        height: 72px;
        padding: 5px 9px 9px;
        border-bottom-right-radius: 12px;
        border-bottom-left-radius: 12px;
    }
    .logo-img { width: 52px; height: auto; max-height: 52px; }
    .menu-hamburger { top: 14px; right: 14px; }
    .menu-btn { width: 34px; height: 32px; gap: 5px; background: transparent; box-shadow: none; }
    .menu-btn span { width: 23px; height: 4px; background: #00b4d8; border-radius: 0; }
}
