/* ==========================================================================
   TURISMO SAN MARTÍN - ESTILOS PERSONALIZADOS Y MODERNOS
   Inspirado en la exuberancia, ríos y cultura viva de la Amazonía peruana
   ========================================================================== */

:root {
    --sm-green-deep: #0b3d2c;
    --sm-green-forest: #14532d;
    --sm-green-emerald: #16a34a;
    --sm-green-vibrant: #22c55e;
    --sm-water-dark: #0369a1;
    --sm-water-cyan: #0284c7;
    --sm-water-turq: #06b6d4;
    --sm-gold-accent: #f59e0b;
    --sm-orange-accent: #ea580c;
    --sm-bg-cream: #fbfbf9;
    --sm-dark: #0f172a;
    --sm-gray-dark: #334155;
    --sm-gray-light: #f1f5f9;
    --sm-card-border: rgba(22, 163, 74, 0.15);
    --sm-glass: rgba(255, 255, 255, 0.85);
    --sm-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.08), 0 8px 10px -6px rgba(15, 23, 42, 0.04);
    --sm-shadow-hover: 0 20px 30px -10px rgba(16, 185, 129, 0.2), 0 10px 15px -3px rgba(0, 0, 0, 0.08);
}

/* Base & Typography enhancements */
body {
    background-color: var(--sm-bg-cream);
    color: var(--sm-gray-dark);
    font-feature-settings: "cv02", "cv03", "cv04", "cv11";
}

/* Header Top Enhancements */
.header-top {
    background: linear-gradient(90deg, #092c20 0%, #0d4633 50%, #083344 100%) !important;
}

.header-top ul li span,
.header-top a.booking span {
    font-weight: 500;
    letter-spacing: 0.2px;
}

.header-top a.booking {
    background: var(--sm-gold-accent);
    color: #fff !important;
    padding: 6px 16px;
    border-radius: 20px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.header-top a.booking:hover {
    background: var(--sm-orange-accent);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(234, 88, 12, 0.35);
}

/* Logo Badge */
.brand-region-badge {
    display: inline-block;
    background: linear-gradient(135deg, #16a34a, #0284c7);
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 4px 12px;
    border-radius: 20px;
    margin-left: 10px;
    vertical-align: middle;
    box-shadow: 0 2px 8px rgba(22, 163, 74, 0.3);
}

/* Slider Overlays & Readability */
.slider-home1 .silider-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(7, 30, 22, 0.85) 0%, rgba(7, 30, 22, 0.65) 45%, rgba(0, 0, 0, 0.2) 100%);
    z-index: 1;
}

.slider-content {
    z-index: 2 !important;
    position: relative;
}

.slider-content .sub-title {
    color: #4ade80 !important;
    text-shadow: 0 2px 4px rgba(0,0,0,0.6);
    letter-spacing: 0.5px;
}

.slider-content .title-slide {
    text-shadow: 0 4px 12px rgba(0,0,0,0.7);
    line-height: 1.15;
}

.slider-content .des {
    font-size: 18px;
    line-height: 1.6;
    text-shadow: 0 2px 6px rgba(0,0,0,0.8);
    max-width: 650px;
}

/* Quick Search Widget */
.sm-search-container {
    margin-top: -55px;
    position: relative;
    z-index: 10;
    padding: 0 15px;
}

.sm-search-card {
    background: #ffffff;
    border-radius: 18px;
    padding: 24px 30px;
    box-shadow: 0 15px 35px rgba(11, 61, 44, 0.12), 0 5px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(22, 163, 74, 0.2);
}

.sm-search-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)) auto;
    gap: 18px;
    align-items: flex-end;
}

.sm-field-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.sm-field-label {
    font-size: 12px;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--sm-green-forest);
    letter-spacing: 0.8px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.sm-field-select {
    width: 100%;
    height: 48px;
    padding: 0 14px;
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    background-color: #f8fafc;
    font-size: 15px;
    font-weight: 500;
    color: #1e293b;
    outline: none;
    transition: all 0.2s ease;
    cursor: pointer;
}

.sm-field-select:focus {
    border-color: var(--sm-green-emerald);
    background-color: #ffffff;
    box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.15);
}

.sm-btn-search {
    height: 48px;
    padding: 0 28px;
    background: linear-gradient(135deg, #16a34a, #0284c7);
    color: #ffffff;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 14px rgba(22, 163, 74, 0.3);
}

.sm-btn-search:hover {
    background: linear-gradient(135deg, #15803d, #0369a1);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(22, 163, 74, 0.45);
    color: #ffffff;
}

/* About Regional Highlights Box */
.sm-features-badge {
    background: rgba(22, 163, 74, 0.1);
    color: var(--sm-green-forest);
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 13px;
    display: inline-block;
}

.sm-highlight-card {
    background: #ffffff;
    border-radius: 14px;
    padding: 20px;
    margin-bottom: 20px;
    border: 1px solid #e2e8f0;
    box-shadow: var(--sm-shadow);
    transition: all 0.3s ease;
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.sm-highlight-card:hover {
    transform: translateY(-4px);
    border-color: var(--sm-green-emerald);
    box-shadow: var(--sm-shadow-hover);
}

.sm-highlight-icon {
    width: 52px;
    height: 52px;
    min-width: 52px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(22, 163, 74, 0.15), rgba(2, 132, 199, 0.15));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.sm-highlight-info h6 {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--sm-dark);
}

.sm-highlight-info p {
    font-size: 14px;
    line-height: 1.5;
    color: var(--sm-gray-dark);
    margin: 0;
}

/* Destination Cards Grid */
.sm-destinations-section {
    padding: 80px 0;
    background: #f8fafc;
}

.sm-section-header {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 50px auto;
}

.sm-section-header .sm-sub {
    color: var(--sm-green-emerald);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 13px;
    margin-bottom: 12px;
    display: block;
}

.sm-section-header h2 {
    font-size: 36px;
    font-weight: 800;
    color: var(--sm-dark);
    margin-bottom: 16px;
}

.sm-section-header p {
    font-size: 16px;
    color: var(--sm-gray-dark);
    line-height: 1.6;
}

.sm-card {
    background: #ffffff;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    box-shadow: var(--sm-shadow);
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    margin-bottom: 30px;
    display: flex;
    flex-direction: column;
    height: calc(100% - 30px);
}

.sm-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--sm-shadow-hover);
    border-color: rgba(22, 163, 74, 0.35);
}

.sm-card-thumb {
    position: relative;
    height: 230px;
    overflow: hidden;
}

.sm-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.sm-card:hover .sm-card-thumb img {
    transform: scale(1.08);
}

.sm-card-badges {
    position: absolute;
    top: 14px;
    left: 14px;
    right: 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    pointer-events: none;
}

.sm-badge-category {
    background: rgba(15, 23, 42, 0.75);
    backdrop-filter: blur(8px);
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 20px;
    letter-spacing: 0.5px;
}

.sm-badge-time {
    background: rgba(245, 158, 11, 0.9);
    backdrop-filter: blur(8px);
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px;
}

.sm-card-body {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.sm-card-location {
    font-size: 13px;
    font-weight: 600;
    color: var(--sm-water-cyan);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.sm-card-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--sm-dark);
    margin-bottom: 12px;
    line-height: 1.3;
}

.sm-card-desc {
    font-size: 14px;
    color: var(--sm-gray-dark);
    line-height: 1.55;
    margin-bottom: 18px;
    flex: 1;
}

.sm-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 18px;
}

.sm-tag {
    background: #f1f5f9;
    color: #475569;
    font-size: 11px;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 6px;
}

.sm-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #f1f5f9;
    padding-top: 16px;
}

.sm-btn-detail {
    font-size: 14px;
    font-weight: 700;
    color: var(--sm-green-forest);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: gap 0.2s ease;
}

.sm-btn-detail:hover {
    color: var(--sm-green-emerald);
    gap: 10px;
}

/* Gastronomy Section */
.sm-gastro-section {
    padding: 85px 0;
    background: #ffffff;
}

.sm-gastro-banner {
    border-radius: 24px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
    min-height: 380px;
}

.sm-gastro-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sm-gastro-item {
    background: #f8fafc;
    border-radius: 14px;
    padding: 18px 22px;
    margin-bottom: 14px;
    border-left: 4px solid var(--sm-gold-accent);
    transition: all 0.2s ease;
}

.sm-gastro-item:hover {
    background: #f1f5f9;
    transform: translateX(6px);
    border-left-color: var(--sm-green-emerald);
}

.sm-gastro-item h5 {
    font-size: 17px;
    font-weight: 700;
    color: var(--sm-dark);
    margin-bottom: 4px;
    display: flex;
    justify-content: space-between;
}

.sm-gastro-item p {
    font-size: 13.5px;
    color: var(--sm-gray-dark);
    margin: 0;
}

/* Travel Guide & Tips (Accordion / Cards) */
.sm-guide-section {
    padding: 85px 0;
    background: linear-gradient(180deg, #f8fafc 0%, #ecfdf5 100%);
}

.sm-tip-box {
    background: #ffffff;
    border-radius: 18px;
    padding: 28px 24px;
    border: 1px solid #e2e8f0;
    box-shadow: var(--sm-shadow);
    margin-bottom: 24px;
    height: calc(100% - 24px);
    transition: all 0.3s ease;
}

.sm-tip-box:hover {
    transform: translateY(-5px);
    border-color: var(--sm-green-emerald);
    box-shadow: var(--sm-shadow-hover);
}

.sm-tip-icon {
    font-size: 36px;
    margin-bottom: 14px;
    display: inline-block;
}

.sm-tip-box h4 {
    font-size: 19px;
    font-weight: 700;
    color: var(--sm-dark);
    margin-bottom: 12px;
}

.sm-tip-box p,
.sm-tip-box ul {
    font-size: 14px;
    line-height: 1.6;
    color: var(--sm-gray-dark);
    margin: 0;
}

.sm-tip-box ul {
    padding-left: 20px;
}

.sm-tip-box ul li {
    margin-bottom: 6px;
}

/* Counter / Stats Banner Enhanced */
.widget-counter {
    background: linear-gradient(135deg, #092c20 0%, #0c4a34 50%, #073a4d 100%) !important;
}

.counter-number-sm {
    font-size: 44px;
    font-weight: 900;
    color: #4ade80;
    display: block;
    line-height: 1;
    margin-bottom: 8px;
    text-shadow: 0 2px 10px rgba(74, 222, 128, 0.4);
}

.counter-label-sm {
    color: #f1f5f9;
    font-size: 15px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

/* WhatsApp Floating Help Button */
.sm-whatsapp-float {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 60px;
    height: 60px;
    background: #25d366;
    color: #ffffff !important;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45);
    z-index: 999;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-decoration: none;
}

.sm-whatsapp-float:hover {
    transform: scale(1.12) rotate(8deg);
    box-shadow: 0 12px 30px rgba(37, 211, 102, 0.6);
    color: #ffffff !important;
}

.sm-whatsapp-float .sm-pulse {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid #25d366;
    animation: smPulse 2s infinite;
}

@keyframes smPulse {
    0% { transform: scale(1); opacity: 0.8; }
    70% { transform: scale(1.4); opacity: 0; }
    100% { transform: scale(1.4); opacity: 0; }
}

/* Call to Action Final Banner */
.sm-cta-amazon {
    background: linear-gradient(135deg, #092c20 0%, #14532d 100%);
    border-radius: 24px;
    padding: 45px 50px;
    position: relative;
    overflow: hidden;
    color: #ffffff;
    box-shadow: 0 20px 40px rgba(11, 61, 44, 0.3);
}

.sm-cta-amazon h3 {
    font-size: 32px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 14px;
}

.sm-cta-amazon p {
    font-size: 16px;
    color: #e2e8f0;
    max-width: 680px;
    line-height: 1.6;
    margin-bottom: 24px;
}

.sm-cta-btn-group {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.sm-cta-btn-primary {
    background: var(--sm-gold-accent);
    color: #ffffff !important;
    font-weight: 700;
    padding: 14px 28px;
    border-radius: 30px;
    font-size: 15px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.4);
}

.sm-cta-btn-primary:hover {
    background: var(--sm-orange-accent);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(234, 88, 12, 0.5);
}

.sm-cta-btn-secondary {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    color: #ffffff !important;
    font-weight: 600;
    padding: 14px 28px;
    border-radius: 30px;
    font-size: 15px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.sm-cta-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

/* Destination Filter Animations */
.sm-destination-item {
    transition: all 0.4s ease;
}

.sm-destination-item.is-hidden {
    display: none !important;
    opacity: 0;
    transform: scale(0.95);
}

/* Mobile responsive refinements */
@media (max-width: 768px) {
    .sm-search-container {
        margin-top: 15px;
    }
    .sm-search-grid {
        grid-template-columns: 1fr;
    }
    .sm-cta-amazon {
        padding: 30px 20px;
        text-align: center;
    }
    .sm-cta-btn-group {
        justify-content: center;
    }
    .counter-number-sm {
        font-size: 32px;
    }
}

/* ==========================================================================
   SECCIÓN: EXPERIENCIAS INOLVIDABLES - LETRAS EN COLOR NEGRO
   ========================================================================== */
#experiencias h2,
#experiencias .title-activitis,
#experiencias .content-tab-activities h3,
#experiencias .content-tab-activities h2 {
    color: #111827 !important;
    text-shadow: none !important;
}

#experiencias .sub-title {
    color: #15803d !important;
    font-weight: 700 !important;
    letter-spacing: 0.5px;
}

#experiencias .content-tab-activities p {
    color: #1f2937 !important;
    opacity: 1 !important;
    font-weight: 500;
}

#experiencias .content-tab-activities ul li,
#experiencias .icon-list li {
    color: #111827 !important;
    font-weight: 500;
}

#experiencias .icon-list li i {
    color: #16a34a !important;
}

/* ==========================================================================
   HEADER-LOWER: ALINEACIÓN HORIZONTAL Y ENCUADRE TOTAL DEL CONTENIDO
   ========================================================================== */
/* 1. Estructura general del header */
.main-header {
    display: flex !important;
    width: 100% !important;
    position: relative !important;
    background: #ffffff !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.main-header #header {
    flex: 1 1 auto !important;
    width: calc(100% - 75px) !important;
    max-width: calc(100% - 75px) !important;
    min-width: 0 !important;
}

.main-header .header-sidebar {
    flex: 0 0 75px !important;
    width: 75px !important;
    min-width: 75px !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background-color: #16a34a !important;
    transition: background-color 0.2s ease !important;
}

.main-header .header-sidebar:hover {
    background-color: #15803d !important;
}

.main-header .header-sidebar i {
    font-size: 26px !important;
    color: #ffffff !important;
}

/* 2. Barra inferior (header-lower) - Eliminar offsets de 214px */
.main-header .header-lower {
    padding: 0 28px 0 35px !important;
    background: #ffffff !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06) !important;
    position: relative !important;
    width: 100% !important;
    z-index: 100 !important;
    box-sizing: border-box !important;
}

.main-header .header-lower .tf-container,
.main-header .header-lower .tf-container.full {
    max-width: 100% !important;
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
}

.main-header .header-lower .row {
    margin: 0 !important;
    width: 100% !important;
}

.main-header .header-lower .col-lg-12 {
    padding: 0 !important;
    width: 100% !important;
}

.main-header .header-lower .fly-ab {
    display: none !important; /* Quitar elemento decorativo que generaba padding-left: 214px */
}

/* 3. Contenedor interior alineado horizontalmente */
.main-header .header-lower .inner-container {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    flex-wrap: nowrap !important;
    width: 100% !important;
    min-height: 80px !important;
    gap: 20px !important;
    box-sizing: border-box !important;
}

/* 4. Logotipo y distintivo */
.main-header .header-lower .logo-box {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 12px !important;
    flex-shrink: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    clip-path: none !important;
    margin: 0 !important;
}

.main-header .header-lower .logo-box .logo {
    display: flex !important;
    align-items: center !important;
    padding: 0 !important;
    margin: 0 !important;
}

.main-header .header-lower .logo-box .logo img {
    max-height: 48px !important;
    width: auto !important;
    display: block !important;
}

.main-header .header-lower .brand-region-badge {
    display: inline-block !important;
    white-space: nowrap !important;
    margin-left: 6px !important;
    flex-shrink: 0 !important;
}

/* 5. Área de Menú de Navegación */
.main-header .header-lower .nav-outer {
    display: flex !important;
    align-items: center !important;
    flex-shrink: 1 !important;
    margin-left: auto !important;
}

.main-header .header-lower .main-menu {
    display: block !important;
}

.main-header .header-lower .main-menu .navbar-collapse {
    display: flex !important;
    align-items: center !important;
    padding: 0 !important;
}

.main-header .header-lower .main-menu .navigation {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    flex-wrap: nowrap !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
    gap: 20px !important;
    white-space: nowrap !important;
}

.main-header .header-lower .main-menu .navigation > li {
    display: inline-flex !important;
    align-items: center !important;
    margin: 0 !important;
    padding: 0 !important;
    position: relative !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
}

.main-header .header-lower .main-menu .navigation > li > a {
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px !important;
    font-size: 13.5px !important;
    font-weight: 700 !important;
    color: #0f172a !important;
    text-transform: uppercase !important;
    letter-spacing: 0.35px !important;
    padding: 28px 0 !important;
    line-height: 1 !important;
    white-space: nowrap !important;
    text-decoration: none !important;
    transition: color 0.2s ease !important;
}

.main-header .header-lower .main-menu .navigation > li:hover > a,
.main-header .header-lower .main-menu .navigation > li.current > a {
    color: #16a34a !important;
}

/* 6. Menú Desplegable Destinos */
.main-header .main-menu .navigation > li.dropdown2 > ul {
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    min-width: 230px !important;
    background: #ffffff !important;
    border-radius: 12px !important;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12) !important;
    padding: 10px 0 !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transform: translateY(10px) !important;
    transition: all 0.25s ease !important;
    z-index: 999 !important;
    border: 1px solid rgba(0, 0, 0, 0.06) !important;
    list-style: none !important;
}

.main-header .main-menu .navigation > li.dropdown2:hover > ul {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
}

.main-header .main-menu .navigation > li.dropdown2 > ul > li {
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

.main-header .main-menu .navigation > li.dropdown2 > ul > li > a {
    display: block !important;
    padding: 9px 20px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    color: #334155 !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
    line-height: 1.4 !important;
    transition: all 0.2s ease !important;
    text-decoration: none !important;
    white-space: nowrap !important;
}

.main-header .main-menu .navigation > li.dropdown2 > ul > li > a:hover {
    background: #f0fdf4 !important;
    color: #16a34a !important;
    padding-left: 24px !important;
}

/* 7. Botón Destacado: GUÍAS ANIMALES */
.main-header .header-lower .btn-portal-item {
    margin-left: 6px !important;
}

.main-header .header-lower .btn-portal-nav {
    background: linear-gradient(135deg, #16a34a 0%, #059669 100%) !important;
    color: #ffffff !important;
    padding: 9px 18px !important;
    border-radius: 30px !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    box-shadow: 0 4px 14px rgba(22, 163, 74, 0.35) !important;
    transition: all 0.25s ease !important;
    white-space: nowrap !important;
    line-height: 1 !important;
    text-decoration: none !important;
}

.main-header .header-lower .btn-portal-nav:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 18px rgba(22, 163, 74, 0.45) !important;
    color: #ffffff !important;
    background: linear-gradient(135deg, #15803d 0%, #047857 100%) !important;
}

/* 8. Corrección del Header Sticky / Fijo al hacer scroll */
.header-lower.is-fixed,
.header-lower.is-fixed.is-small {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    padding: 0 35px !important;
    background: #ffffff !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08) !important;
    z-index: 999 !important;
    margin: 0 !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    transition: all 0.3s ease !important;
}

.header-lower.is-fixed .inner-container {
    min-height: 68px !important;
}

.header-lower.is-fixed .main-menu .navigation > li > a {
    padding: 22px 0 !important;
}

/* 9. Adaptabilidad Responsiva para Pantallas Medianas y Laptops */
@media (max-width: 1366px) {
    .main-header .header-lower {
        padding: 0 20px !important;
    }
    .main-header .header-lower .main-menu .navigation {
        gap: 15px !important;
    }
    .main-header .header-lower .main-menu .navigation > li > a {
        font-size: 13px !important;
    }
    .main-header .header-lower .btn-portal-nav {
        padding: 8px 15px !important;
        font-size: 12.5px !important;
    }
}

@media (max-width: 1200px) {
    .main-header .header-lower {
        padding: 0 15px !important;
    }
    .main-header .header-lower .main-menu .navigation {
        gap: 11px !important;
    }
    .main-header .header-lower .main-menu .navigation > li > a {
        font-size: 12px !important;
        letter-spacing: 0.2px !important;
    }
    .main-header .header-lower .brand-region-badge {
        display: none !important;
    }
    .main-header .header-lower .btn-portal-nav {
        padding: 7px 12px !important;
        font-size: 12px !important;
    }
}

@media (max-width: 991px) {
    .main-header {
        display: flex !important;
    }
    .main-header #header {
        width: calc(100% - 60px) !important;
        max-width: calc(100% - 60px) !important;
    }
    .main-header .header-sidebar {
        flex: 0 0 60px !important;
        width: 60px !important;
        min-width: 60px !important;
    }
    .main-header .header-lower {
        padding: 10px 15px !important;
    }
    .main-header .header-lower .inner-container {
        min-height: 56px !important;
        justify-content: space-between !important;
    }
    .main-header .header-lower .nav-outer {
        display: none !important;
    }
    .main-header .mobile-button {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        order: 2 !important;
        cursor: pointer !important;
    }
    .main-header .header-lower .logo-box {
        order: 1 !important;
    }
}

