/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* V3 layout fixes */
body.menu-open {
    overflow: hidden;
}

.mobile-menu-overlay.active {
    transform: translateY(0);
}

.hero {
    min-height: clamp(560px, 72vh, 760px);
}

.hero-content {
    width: min(920px, 100%);
}

.hero-search {
    width: 100%;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.22);
}

.hero-select,
.hero-button {
    min-height: 52px;
}

.hero-button {
    cursor: pointer;
}

.service-item {
    cursor: pointer;
    min-height: 104px;
}

.service-item:focus-visible,
.hero-button:focus-visible,
.carousel-clients-btn:focus-visible,
.swiper-button-next:focus-visible,
.swiper-button-prev:focus-visible {
    outline: 3px solid #ffd700;
    outline-offset: 3px;
}

.events-section,
.jobs-section {
    height: auto;
    min-height: 230px;
    padding: 28px 0;
}

.events-content,
.jobs-content {
    min-height: 170px;
}

.w-full { width: 100%; }
.max-w-5xl { max-width: 64rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.py-8 { padding-top: 2rem; padding-bottom: 2rem; }
.text-center { text-align: center; }
.text-white { color: #fff; }
.text-gray-500 { color: #667085; }
.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.gap-6 { gap: 1.5rem; }
.hidden { display: none; }

.news-unique-empty,
.news-unique-anunciante-empty,
.portal-empty-state {
    width: 100%;
    border: 1px solid #dbe5ef;
    border-radius: 12px;
    background: #fff;
    color: #64748b;
    padding: 24px;
    text-align: center;
}

@media (min-width: 640px) {
    .sm\:flex-row { flex-direction: row; }
    .sm\:items-center { align-items: center; }
    .sm\:justify-center { justify-content: center; }
    .sm\:gap-6 { gap: 1.5rem; }
    .sm\:flex-1 { flex: 1 1 0; }
    .sm\:text-left { text-align: left; }
    .sm\:block { display: block; }
}

@media (max-width: 768px) {
    .top-bar {
        position: static;
    }

    .header {
        top: 0;
    }

    .hero {
        padding-top: 96px;
        min-height: auto;
    }

    .hero-search {
        border-radius: 12px;
    }

    .hero-select,
    .hero-button {
        border-radius: 0;
    }
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Top Bar Styles */
.top-bar {
    background: linear-gradient(135deg, #0a2a4a 0%, #2a7acb 100%);
    color: white;
    font-size: 0.875rem;
    padding: 0.25rem 0;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1001;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2.5rem;
}

.top-bar-left {
    display: flex;
    align-items: center;
}

.top-bar-center {
    display: flex;
    align-items: center;
    font-size: 0.75rem;
}

.top-bar-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.weather-info {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.weather-info i {
    font-size: 1rem;
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    color: white;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.contact-link:hover {
    opacity: 0.8;
}

.contact-link i {
    font-size: 1rem;
}

/* Header Styles */
.header {
    position: fixed;
    top: 2rem;
    left: 0;
    width: 100%;
    background: white;
    z-index: 1000;
    transition: all 0.3s ease;
    border-bottom: 1px solid #e5e7eb;
}

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

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    position: relative;
}

.logo {
    height: 40px;
    width: auto;
}

.navbar {
    display: flex;
    align-items: center;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 1rem;
    align-items: center;
}

.nav-menu a {
    text-decoration: none;
    color: #0a2a4a;
    font-weight: 600;
    font-size: 0.875rem;
    text-transform: uppercase;
    transition: color 0.3s ease;
    position: relative;
}

.nav-menu a:hover {
    color: #2a7acb;
}

.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    padding: 0.875rem;
    border: 2px solid #2a7acb;
    border-radius: 12px;
    background: linear-gradient(135deg, #0a2a4a 0%, #2a7acb 100%);
    box-shadow: 0 4px 12px rgba(42, 122, 203, 0.3);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.hamburger::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.hamburger:hover::before {
    left: 100%;
}

.hamburger:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 6px 20px rgba(42, 122, 203, 0.4);
    border-color: #ffffff;
}

.hamburger span {
    width: 20px;
    height: 3px;
    background: white;
    margin: 2px 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 2px;
    transform-origin: center;
}

.hamburger.active {
    background: linear-gradient(135deg, #2a7acb 0%, #0a2a4a 100%);
    transform: translateY(-2px) rotate(180deg);
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
    background: #ffd700;
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
    transform: scale(0);
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
    background: #ffd700;
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    position: fixed;
    inset: 0;
    background:
        radial-gradient(70% 70% at 50% 0%, rgba(255,255,255,.16), transparent 62%),
        linear-gradient(135deg, rgba(10, 42, 74, 0.98) 0%, rgba(16, 120, 201, 0.97) 100%);
    backdrop-filter: blur(14px);
    z-index: 1002;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
}

.mobile-menu-overlay::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, rgba(255, 215, 0, 0.1) 0%, transparent 70%);
    z-index: -1;
}

.mobile-menu-overlay.open,
.mobile-menu-overlay.active {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.mobile-menu-list {
    width: min(520px, calc(100vw - 40px));
    display: grid;
    gap: 0.75rem;
    text-align: center;
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-menu-list a {
    color: white;
    font-weight: 800;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 1rem 1.1rem;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,.18);
    background: rgba(255, 255, 255, 0.11);
    backdrop-filter: blur(8px);
    text-transform: uppercase;
    letter-spacing: .04em;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-menu-list a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.3), transparent);
    transition: left 0.5s ease;
}

.mobile-menu-list a:hover::before {
    left: 100%;
}

.mobile-menu-list a:hover {
    color: #ffd700;
    border-color: #ffd700;
    background: rgba(255, 215, 0, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.3);
}

.close-mobile-menu {
    position: absolute;
    top: 2rem;
    right: 2rem;
    font-size: 2.5rem;
    color: white;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.close-mobile-menu:hover {
    background: rgba(255, 215, 0, 0.2);
    border-color: #ffd700;
    color: #ffd700;
    transform: rotate(90deg) scale(1.1);
}

.weather-line {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
}

.top-bar.scrolled {
    transform: translateY(-100%);
}

/* Responsive Top Bar and Header */
@media (max-width: 1000px) {
    .hamburger {
        display: flex;
        order: 2;
    }

    .header{
        top: 0;
    }
    
    .nav-brand {
        order: 1;
        flex: 1;
    }
    
    .navbar {
        order: 3;
    }
    
    .nav-menu {
        display: none;
    }
    
    .header-content {
        justify-content: space-between;
        align-items: center;
    }
    
    .top-bar-left,
    .top-bar-right {
        display: none;
    }
    
    .top-bar .container {
        justify-content: center;
    }
}

@media (max-width: 640px) {
    .top-bar-center {
        font-size: 0.6rem;
    }
    
    .top-bar .container {
        padding: 0 1rem;
    }
    
    .header .container {
        padding: 0 1rem;
    }
    
    .hamburger {
        padding: 0.75rem;
        margin-left: auto;
    }
    
    .hamburger span {
        width: 18px;
        height: 2.5px;
    }
    
    .mobile-menu-list a {
        font-size: 1.25rem;
        padding: 0.875rem 1.5rem;
    }
    
    .close-mobile-menu {
        width: 50px;
        height: 50px;
        font-size: 2rem;
        top: 1.5rem;
        right: 1.5rem;
    }
}

/* Hero Section */
.hero {
    min-height: 520px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    padding-top: 120px;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

.hero-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.35);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(30, 91, 168, 0.1);
    z-index: -1;
}

.hero-content {
    max-width: 800px;
    animation: fadeInUp 1s ease-out;
    z-index: 10;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    animation: fadeInUp 1s ease-out 0.2s both;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
    font-size: 0.9rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    animation: fadeInUp 1s ease-out 0.4s both;
    color: white;
    letter-spacing: 2px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.hero-search {
    display: flex;
    max-width: 800px;
    margin: 0 auto 4rem auto;
    background: white;
    border: 2px solid white;
    border-radius: 5px;
    overflow: hidden;
    animation: fadeInUp 1s ease-out 0.6s both;
}

.hero-select {
    flex: 1;
    padding: 12px 16px;
    border: none;
    outline: none;
    font-size: 0.9rem;
    color: #666;
    background: white;
    cursor: pointer;
}

.hero-select:focus {
    background: #f8f9fa;
}

.hero-button {
    padding: 12px 24px;
    background: #0a2a4a;
    border: none;
    color: white;
    cursor: pointer;
    transition: background 0.3s ease;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.hero-button:hover {
    background: #2a7acb;
}

/* Services Grid */
.services-grid {
    position: absolute;
    bottom: -30px;
    left: 0;
    width: 100%;
    z-index: 10;
    display: block;
}

.services-row {
    display: grid;
    grid-template-columns: repeat(9, 1fr);
    gap: 15px;
    padding: 2rem;
    border-radius: 5px;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.15);
    animation: slideInUp 1s ease-out 0.8s both;
    max-width: 1200px;
    margin: 0 auto;
}

.service-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1rem 0.5rem;
    border-radius: 5px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.service-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.service-icon {
    width: 72px;
    height: 72px;
    background: rgba(10, 42, 74, 0.9);
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
    transition: all 0.3s ease;
}

.service-icon i {
    font-size: 1.8rem;
    color: white;
}

.service-item:hover .service-icon {
    background: #2a7acb;
    transform: scale(1.05);
}

.service-item span {
    font-size: 0.75rem;
    font-weight: 500;
    color: #333;
    line-height: 1.2;
    text-align: center;
    letter-spacing: 0.5px;
}

/* Banner Section */
.banner-section {
    width: 100%;
    display: flex;
    justify-content: center;
    margin: 0 0 40px 0;
}

.banner-img {
    max-width: 100%;
    width: 100%;
    height: auto;
}

/* Swiper Section */
.swiper-section {
    margin: 40px 0;
}

.swiper-section .container {
    max-width: 90%;
}

.swiper {
    width: 100%;
    height: auto;
}

.swiper-slide img {
    width: 100%;
    height: auto;
    display: block;
}

.swiper-pagination-bullet {
    background: #1e5ba8;
}

.swiper-button-next,
.swiper-button-prev {
    color: #1e5ba8;
}

/* Clients Section */
.clients-section {
    padding: 60px 0;
    background: #f8f9fa;
}

.carousel-wrapper {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 60px;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #666;
    font-size: 2rem;
    cursor: pointer;
    z-index: 10;
    transition: color 0.3s ease;
}

.carousel-btn:hover {
    color: #1e5ba8;
}

.carousel-prev {
    left: 10px;
}

.carousel-next {
    right: 10px;
}

.carousel-container {
    overflow: hidden;
    width: 100%;
}

.carousel-inner {
    display: flex;
    transition: transform 0.5s ease;
}

.carousel-slide {
    display: flex;
    flex-direction: column;
    width: 100%;
    flex-shrink: 0;
}

.carousel-row {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 16px;
}

.client-card {
    background: #f7faf9;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    position: relative;
    padding-bottom: 24px;
    flex: 1;
    max-width: 220px;
    min-width: 180px;
    transition: transform 0.3s ease;
}

.client-card:hover {
    transform: translateY(-5px);
}

.client-image {
    width: 100%;
    height: 120px;
    object-fit: cover;
}

.client-logo {
    position: absolute;
    top: 80px;
    left: 50%;
    transform: translateX(-50%);
    width: 48px;
    height: 48px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border: 2px solid #e9ecef;
    overflow: hidden;
}

.client-logo-img {
    width: 48px;
    height: 48px;
    object-fit: cover;
    border-radius: 50%;
}

.client-info {
    margin-top: 32px;
    text-align: center;
    padding: 0 16px;
}

.client-name {
    font-size: 0.9rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 4px;
}

.client-category {
    font-size: 0.75rem;
    font-weight: 600;
    color: #666;
}

/* Stats Section */
.stats-section {
    padding: 80px 0;
    background: white;
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
    align-items: center;
}

.stat-item {
    padding: 2rem 1rem;
    background: white;
    border: 3px solid #2a7ac0;
    border-radius: 5px;
    text-align: center;
    transition: all 0.3s ease;
    height: 256px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.stat-center {
    height: 270px;
    width: 270px;
    margin: 0 auto;
}

.stat-number {
    font-size: 5.5rem;
    font-weight: 800;
    color: #2a7ac0;
    margin-bottom: 0.5rem;
    font-family: 'Montserrat', sans-serif;
    line-height: 1;
}

.stat-label {
    font-size: 1.125rem;
    color: #2a7ac0;
    font-weight: 800;
    font-family: 'Montserrat', sans-serif;
    line-height: 1;
}

.stat-image {
    width: 100%;
    height: auto;
    object-fit: contain;
}

/* News Section */
.news-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.news-header {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 3rem;
    gap: 2rem;
}

.news-line {
    flex: 1;
    height: 2px;
    background: #333;
}

.section-title {
    font-size: 2rem;
    font-weight: 800;
    color: #333;
    white-space: nowrap;
}

.news-content {
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 3rem;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.news-item {
    background: white;
    border-radius: 20px 20px 0 0;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 370px;
    display: flex;
    flex-direction: column;
}

.news-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

.news-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.news-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.news-badge {
    position: absolute;
    top: 180px;
    left: 50%;
    transform: translateX(-50%);
    background: #0D5CA6;
    border: 2px solid white;
    width: 144px;
    text-align: center;
    z-index: 10;
}

.news-badge span {
    color: white;
    font-size: 0.875rem;
    font-weight: 600;
    padding: 8px;
    display: block;
}

.news-info {
    background: #0D5CA6;
    flex: 1;
    padding: 2rem 1.5rem 1.5rem 1.5rem;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 170px;
}

.news-title {
    color: white;
    font-size: 1rem;
    font-weight: 700;
    text-align: center;
    line-height: 1.4;
}

.news-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.sidebar-title {
    font-size: 1rem;
    font-weight: 800;
    color: #333;
    margin-bottom: 1rem;
}

.advertisers-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.advertiser-img {
    width: 100%;
    height: auto;
    border-radius: 5px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.advertiser-img:hover {
    transform: scale(1.02);
}

/* Events Section */
.events-section {
    height: 230px;
    background: linear-gradient(to right, #ca8a04, #eab308);
    color: white;
    display: flex;
    align-items: center;
    position: relative;
}

.events-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.events-info {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.event-item {
    text-align: left;
    width: 230px;
}

.event-item h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.event-item p {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.event-divider {
    width: 2px;
    height: 64px;
    background: rgba(255, 255, 255, 0.5);
}

.events-image {
    position: absolute;
    right: 50px;
    bottom: -12px;
    max-width: 350px;
}

.events-banner {
    width: 100%;
    height: auto;
}

/* Jobs Section */
.jobs-section {
    height: 230px;
    background: linear-gradient(to right, #1d4ed8, #3b82f6);
    color: white;
    display: flex;
    align-items: center;
    position: relative;
    margin: 60px 0;
}

.jobs-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.jobs-info {
    display: flex;
    align-items: center;
    gap: 3rem;
    margin-left: 300px;
}

.job-item {
    text-align: left;
    width: 230px;
}

.job-item h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.job-item p {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.job-divider {
    width: 2px;
    height: 64px;
    background: rgba(255, 255, 255, 0.5);
}

.jobs-image {
    position: absolute;
    left: 50px;
    bottom: -12px;
    max-width: 350px;
}

.jobs-banner {
    width: 100%;
    height: auto;
}

/* WhatsApp Section */
.whatsapp-section {
    width: 100%;
    display: flex;
    justify-content: center;
    margin: 40px 0;
}

.whatsapp-link {
    width: 100%;
    display: block;
}

.whatsapp-banner {
    width: 100%;
    max-width: 100vw;
    height: auto;
    display: block;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #003a8c 0%, #3ba1e3 100%);
    color: white;
    margin-top: auto;
}

.footer-main {
    padding: 2.5rem 1.5rem 3.5rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem 3rem;
}

.footer-section {
    border-bottom: 1px solid #2a5cae;
    padding-bottom: 1.5rem;
}

.footer-section:last-child {
    max-width: 220px;
}

.footer-section h3 {
    font-weight: bold;
    font-size: 16px;
    margin-bottom: 0.75rem;
    color: white;
}

.footer-section h4 {
    font-weight: bold;
    font-size: 16px;
    margin-bottom: 0.25rem;
    margin-top: 0.75rem;
    color: white;
}

.footer-section p {
    font-size: 16px;
    line-height: 1.6;
    color: white;
    max-width: 280px;
}

.footer-section:nth-child(2) p,
.footer-section:nth-child(3) p {
    max-width: 220px;
}

.footer-contact .contact-item {
    margin-bottom: 0;
    color: white;
}

.footer-contact .contact-item span {
    font-size: 16px;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-bottom: 0.75rem;
}

.social-link {
    color: white;
    font-size: 18px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    color: rgba(255, 255, 255, 0.8);
    transform: translateY(-2px);
}

.footer-email {
    color: white;
    font-size: 16px;
    text-decoration: none;
    line-height: 1.6;
}

.footer-email:hover {
    color: rgba(255, 255, 255, 0.8);
}

.footer-logo-section {
    margin-top: 2rem;
    display: flex;
    justify-content: center;
}

.footer-logo-main {
    height: 56px;
    width: auto;
    object-fit: contain;
}

.footer-policies {
    border-top: 1px solid #e5e7eb;
    padding: 1rem 0;
    background: white;
}

.policies-links {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    padding: 0 1.5rem;
}

.policy-link {
    color: #000;
    font-size: 12px;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
}

.policy-link:hover {
    text-decoration: underline;
    color: #003a8c;
}

.footer-bottom {
    background: #f8f9fa;
    padding: 2rem 0;
    position: relative;
    border-top: 1px solid #e5e7eb;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.footer-bottom-left p {
    margin: 0;
    font-size: 0.9rem;
    color: #666;
}

.footer-bottom-left p:first-child {
    margin-bottom: 0.25rem;
}

.footer-dev-credit a {
    color: #1078c9;
    font-weight: 800;
    text-decoration: none;
}

.footer-dev-credit a:hover {
    text-decoration: underline;
}

.footer-bottom-left i.fas.fa-heart {
    color: #ff6b6b;
    animation: heartbeat 1.5s ease-in-out infinite;
}

@keyframes heartbeat {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.footer-badges {
    display: flex;
    gap: 1rem;
}

.badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(0, 58, 140, 0.1);
    border-radius: 25px;
    font-size: 0.8rem;
    color: #003a8c;
    border: 1px solid rgba(0, 58, 140, 0.2);
}

.badge i {
    color: #4ade80;
}

.scroll-to-top {
    position: absolute;
    right: 1.5rem;
    bottom: 1rem;
    width: 45px;
    height: 45px;
    background: #003a8c;
    border: 1px solid #3ba1e3;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: white;
    opacity: 0;
    visibility: hidden;
}

.scroll-to-top:hover {
    background: #3ba1e3;
    transform: translateY(-2px);
}

.scroll-to-top.show {
    opacity: 1;
    visibility: visible;
}

/* Notification System */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 1rem 1.5rem;
    background: #22c55e;
    color: white;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transform: translateX(100%);
    transition: transform 0.3s ease;
    z-index: 1000;
    max-width: 300px;
}

.notification.show {
    transform: translateX(0);
}

.notification.error {
    background: #ef4444;
}

.notification.warning {
    background: #f59e0b;
}

.notification.info {
    background: #3b82f6;
}

/* Responsive */
@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-section {
        border-bottom: 1px solid #2a5cae;
        padding-bottom: 1.5rem;
    }
    
    .footer-section:last-child {
        max-width: none;
        border-bottom: none;
        padding-bottom: 0;
    }
    
    .footer-main {
        padding: 2.5rem 1.5rem 3.5rem;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .policies-links {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
    
    .social-links {
        justify-content: flex-start;
    }
    
    .footer-badges {
        justify-content: center;
    }
    
    .scroll-to-top {
        position: fixed;
        right: 20px;
        bottom: 20px;
    }
    
    .footer-badges {
        justify-content: center;
    }
    
    .newsletter-form {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .newsletter-input,
    .newsletter-btn {
        border-radius: 25px;
    }
}

@media (max-width: 480px) {
    .footer-section h3 {
        font-size: 1.2rem;
    }
    
    .social-link {
        width: 40px;
        height: 40px;
    }
    
    .stat-mini {
        padding: 0.8rem;
    }
    
    .stat-mini-number {
        font-size: 1.5rem;
    }
    
    .scroll-to-top {
        width: 45px;
        height: 45px;
        bottom: 20px;
        right: 20px;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.3);
    }
    50% {
        transform: scale(1.05);
    }
    70% {
        transform: scale(0.9);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

@keyframes rotateIn {
    from {
        opacity: 0;
        transform: rotate(-10deg) scale(0.8);
    }
    to {
        opacity: 1;
        transform: rotate(0deg) scale(1);
    }
}

/* Animation Classes */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

.fade-in {
    animation: fadeInUp 0.8s ease-out forwards;
}

.slide-in-left {
    animation: slideInLeft 0.6s ease-out forwards;
}

.slide-in-right {
    animation: slideInRight 0.6s ease-out forwards;
}

.bounce-in {
    animation: bounceIn 0.8s ease-out forwards;
}

.scale-in {
    animation: fadeInScale 0.6s ease-out forwards;
}

.rotate-in {
    animation: rotateIn 0.8s ease-out forwards;
}

/* Loading States */
body:not(.loaded) .hero-title,
body:not(.loaded) .hero-subtitle,
body:not(.loaded) .hero-search {
    opacity: 0;
    transform: translateY(50px);
}

body.loaded .hero-title {
    animation: fadeInUp 0.8s ease-out 0.2s forwards;
}

body.loaded .hero-subtitle {
    animation: fadeInUp 0.8s ease-out 0.4s forwards;
}

body.loaded .hero-search {
    animation: fadeInUp 0.8s ease-out 0.6s forwards;
}

body.loaded .services-row {
    animation: slideInUp 0.8s ease-out 0.8s forwards;
}

/* Enhanced Transitions */
.service-item {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-icon {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.client-card {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.news-item {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.news-image {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.stat-item {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.stat-number {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Carousel Transitions */
.carousel-inner {
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.carousel-btn {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.carousel-btn:hover {
    transform: scale(1.1);
    color: #1e5ba8;
}

/* Hero Search Enhancements */
.hero-select,
.hero-button {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-select:focus {
    transform: scale(1.02);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.hero-button:active {
    transform: scale(0.95);
}

/* Mobile Menu Animations */
.nav-menu {
    transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.hamburger span {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Lazy Loading Images */
img.lazy {
    opacity: 0;
    transition: opacity 0.5s ease;
}

img.loaded {
    opacity: 1;
}

/* Scroll Progress Indicator */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: linear-gradient(90deg, #1e5ba8, #ffd700);
    z-index: 9999;
    transition: width 0.1s ease;
}

/* Button Hover Effects */
.cta-button,
.hero-button {
    position: relative;
    overflow: hidden;
}

.cta-button::before,
.hero-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.cta-button:hover::before,
.hero-button:hover::before {
    left: 100%;
}

/* Enhanced Focus States */
.hero-select:focus,
.nav-menu a:focus,
.carousel-btn:focus {
    outline: 2px solid #ffd700;
    outline-offset: 2px;
}

/* Stagger Animation Delays */
.service-item:nth-child(1) { animation-delay: 0.1s; }
.service-item:nth-child(2) { animation-delay: 0.2s; }
.service-item:nth-child(3) { animation-delay: 0.3s; }
.service-item:nth-child(4) { animation-delay: 0.4s; }
.service-item:nth-child(5) { animation-delay: 0.5s; }
.service-item:nth-child(6) { animation-delay: 0.6s; }
.service-item:nth-child(7) { animation-delay: 0.7s; }
.service-item:nth-child(8) { animation-delay: 0.8s; }
.service-item:nth-child(9) { animation-delay: 0.9s; }

.client-card:nth-child(1) { animation-delay: 0.1s; }
.client-card:nth-child(2) { animation-delay: 0.2s; }
.client-card:nth-child(3) { animation-delay: 0.3s; }
.client-card:nth-child(4) { animation-delay: 0.4s; }
.client-card:nth-child(5) { animation-delay: 0.5s; }
.client-card:nth-child(6) { animation-delay: 0.6s; }

.news-item:nth-child(1) { animation-delay: 0.1s; }
.news-item:nth-child(2) { animation-delay: 0.3s; }
.news-item:nth-child(3) { animation-delay: 0.5s; }

/* Performance Optimizations */
.hero-bg-img,
.news-image,
.client-image {
    will-change: transform;
    backface-visibility: hidden;
}

.hero-bg-img {
    transform: none !important;
}

.carousel-inner,
.swiper-slide {
    will-change: transform;
    backface-visibility: hidden;
}

/* Reduced Motion for Accessibility */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Responsive Design */
@media (max-width: 1400px) {
    .events-image,
    .jobs-image {
        display: none;
    }
    
    .events-info,
    .jobs-info {
        justify-content: center;
        margin-left: 0;
    }
}

@media (max-width: 850px) {
    .services-grid {
        display: none;
    }
    
    .banner-section {
        margin: 40px 0;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 50px;
        flex-direction: column;
        background-color: #1e5ba8;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .hero {
        min-height: 400px;
        padding-top: 100px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 0.8rem;
    }
    
    .hero-search {
        flex-direction: column;
        gap: 0;
    }
    
    .hero-select,
    .hero-button {
        width: 100%;
        border-radius: 0;
    }
    
    .carousel-wrapper {
        padding: 0 40px;
    }
    
    .carousel-row {
        flex-direction: column;
        align-items: center;
    }
    
    .client-card {
        max-width: 300px;
        margin-bottom: 1rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .stat-item,
    .stat-center {
        height: 200px;
        width: 100%;
    }
    
    .news-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .news-grid {
        grid-template-columns: 1fr;
    }
    
    .events-info,
    .jobs-info {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .event-divider,
    .job-divider {
        display: none;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .carousel-btn {
        display: none;
    }
    
    .carousel-wrapper {
        padding: 0 20px;
    }
    
    .stat-number {
        font-size: 3rem;
    }
    
    .stat-label {
        font-size: 0.9rem;
    }
}

/* V3 final overrides */
body.menu-open { overflow: hidden; }
.top-bar { transition: transform .28s ease, opacity .28s ease; will-change: transform; }
.top-bar.scrolled { transform: translateY(-100%); }
.mobile-menu-overlay {
    visibility: hidden;
    height: 100dvh;
}
.mobile-menu-overlay.open,
.mobile-menu-overlay.active,
body.menu-open .mobile-menu-overlay {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
    visibility: visible;
}
.mobile-menu-overlay.active { transform: translateY(0); }
.mobile-menu-list {
    max-height: calc(100dvh - 112px);
    overflow-y: auto;
    padding: 8px 4px;
    scrollbar-width: thin;
}
.mobile-menu-list a {
    min-height: 42px;
    padding: .68rem .9rem;
    font-size: .9rem;
    line-height: 1.15;
    border-radius: 10px;
    letter-spacing: .02em;
}
.close-mobile-menu {
    width: 46px;
    height: 46px;
    font-size: 1.8rem;
    top: 1rem;
    right: 1rem;
}
@media (max-width: 1000px) {
    .header { top: 1.75rem; }
    .header.scrolled { top: 0; }
}
@media (max-width: 420px) {
    .mobile-menu-list {
        width: min(360px, calc(100vw - 28px));
        gap: .45rem;
        max-height: calc(100dvh - 88px);
    }

    .mobile-menu-list a {
        min-height: 38px;
        padding: .55rem .75rem;
        font-size: .8rem;
        border-radius: 8px;
    }
}
@media (max-height: 680px) {
    .mobile-menu-overlay {
        justify-content: flex-start;
        padding-top: 68px;
        padding-bottom: 18px;
    }

    .mobile-menu-list {
        gap: .4rem;
    }

    .mobile-menu-list a {
        min-height: 36px;
        padding: .48rem .7rem;
        font-size: .78rem;
    }
}
.hero { min-height: clamp(560px, 72vh, 760px); }
.hero-content { width: min(920px, 100%); }
.hero-search { width: 100%; border-radius: 14px; overflow: hidden; box-shadow: 0 16px 40px rgba(0,0,0,.22); }
.hero-select, .hero-button { min-height: 52px; }
.hero-button, .service-item { cursor: pointer; }
.service-item { min-height: 104px; }
.service-item:focus-visible, .hero-button:focus-visible, .carousel-clients-btn:focus-visible, .swiper-button-next:focus-visible, .swiper-button-prev:focus-visible { outline: 3px solid #ffd700; outline-offset: 3px; }
.events-section, .jobs-section { height: auto; min-height: 230px; padding: 28px 0; }
.events-content, .jobs-content { min-height: 170px; }
.w-full { width: 100%; }
.max-w-5xl { max-width: 64rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.py-8 { padding-top: 2rem; padding-bottom: 2rem; }
.text-center { text-align: center; }
.text-white { color: #fff; }
.text-gray-500 { color: #667085; }
.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.gap-6 { gap: 1.5rem; }
.hidden { display: none; }
.news-unique-empty, .news-unique-anunciante-empty, .portal-empty-state { width: 100%; border: 1px solid #dbe5ef; border-radius: 12px; background: #fff; color: #64748b; padding: 24px; text-align: center; }
@media (min-width: 640px) {
    .sm\:flex-row { flex-direction: row; }
    .sm\:items-center { align-items: center; }
    .sm\:justify-center { justify-content: center; }
    .sm\:gap-6 { gap: 1.5rem; }
    .sm\:flex-1 { flex: 1 1 0; }
    .sm\:text-left { text-align: left; }
    .sm\:block { display: block; }
}
@media (max-width: 768px) {
    .top-bar { position: fixed; }
    .header { top: 1.75rem; }
    .header.scrolled { top: 0; }
    .hero { padding-top: 128px; min-height: auto; }
    .hero-search { border-radius: 12px; }
    .hero-select, .hero-button { border-radius: 0; }
}

/* Index hero/menu fixes */
.header {
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
}

.hero {
    padding-top: 138px;
    min-height: 680px;
    justify-content: center;
    overflow: visible;
}

.hero > .container {
    position: relative;
    z-index: 2;
}

.hero-content {
    margin: 0 auto;
    max-width: 920px;
    text-align: center;
}

.hero-search {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr) 150px;
    align-items: stretch;
    max-width: 920px;
    margin: 0 auto 4rem;
    overflow: visible;
    border-radius: 14px;
    background: #fff;
}

.hero-select,
.hero-button {
    width: 100%;
    min-height: 56px;
    height: 56px;
    border-radius: 0;
    transform: none !important;
}

.hero-select {
    border-right: 1px solid #e2e8f0;
}

.hero-select:first-child {
    border-radius: 14px 0 0 14px;
}

.hero-button {
    position: relative;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 0 14px 14px 0;
    line-height: 1;
    pointer-events: auto;
}

.hero-button::before {
    pointer-events: none;
}

.services-grid {
    z-index: 4;
}

.service-item {
    color: inherit;
    text-decoration: none;
    user-select: none;
}

.service-item span {
    color: #fff !important;
}

@media (max-width: 1000px) {
    .hero {
        padding-top: 108px;
        min-height: 620px;
    }
}

@media (max-width: 850px) {
    .services-grid {
        display: block;
        position: relative;
        bottom: auto;
        margin-top: 28px;
    }

    .services-row {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        padding: 1rem;
    }
}

@media (max-width: 768px) {
    .hero {
        padding-top: 96px;
    }

    .hero-search {
        grid-template-columns: 1fr;
        overflow: hidden;
    }

    .hero-select,
    .hero-select:first-child,
    .hero-button {
        border-radius: 0;
    }

    .hero-button {
        border-radius: 0 0 14px 14px;
    }
}

@media (max-width: 520px) {
    .services-row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* Index responsive refinements */
.home-strip-list {
    width: min(640px, calc(100% - 300px));
    margin-right: 330px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.home-strip-list-jobs {
    margin-right: 0;
    margin-left: 330px;
}

.home-strip-card {
    min-height: 120px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    padding: 16px;
    color: #fff;
    text-decoration: none;
    border: 1px solid rgba(255,255,255,.26);
    border-radius: 10px;
    background: rgba(255,255,255,.14);
    backdrop-filter: blur(8px);
    box-shadow: 0 14px 30px rgba(15, 23, 42, .14);
}

.home-strip-card-event {
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
}

.home-strip-thumb {
    width: 72px;
    height: 72px;
    flex: 0 0 72px;
    object-fit: cover;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,.32);
    background: rgba(255,255,255,.18);
}

.home-strip-info {
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
}

.home-strip-card small {
    color: rgba(255,255,255,.78);
    font-size: .74rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .06em;
}

.home-strip-card strong {
    color: #fff;
    font-size: 1rem;
    line-height: 1.2;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.home-strip-card span {
    display: flex;
    align-items: center;
    gap: 7px;
    color: rgba(255,255,255,.92);
    font-size: .86rem;
    line-height: 1.25;
}

.home-strip-card i {
    width: 14px;
    flex: 0 0 14px;
    text-align: center;
}

.home-strip-empty {
    width: min(520px, 100%);
    padding: 18px 22px;
    border: 1px solid rgba(255,255,255,.26);
    border-radius: 10px;
    background: rgba(255,255,255,.14);
    color: #fff;
    text-align: center;
    font-weight: 700;
}

.home-classifieds-section {
    padding: 54px 0;
    background: #f5f7fb;
}

.home-section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 22px;
}

.home-section-heading span {
    color: #1078c9;
    font-size: .78rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.home-section-heading h2 {
    color: #0a2a4a;
    font-size: clamp(1.55rem, 3vw, 2.25rem);
    line-height: 1.1;
    margin: 6px 0 0;
}

.home-section-heading a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #1078c9;
    font-weight: 800;
    text-decoration: none;
}

.home-classifieds-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.home-classified-card {
    background: #fff;
    border: 1px solid #dfe8f2;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 10px 28px rgba(10,42,74,.07);
}

.home-classified-card.premium {
    border-color: #f5c542;
    box-shadow: 0 16px 36px rgba(143,105,0,.16);
}

.home-classified-image {
    position: relative;
    display: block;
    aspect-ratio: 4 / 3;
    background: #e8eef6;
    overflow: hidden;
}

.home-classified-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.home-classified-image span {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 6px 10px;
    border-radius: 999px;
    background: #0a2a4a;
    color: #fff;
    font-size: .72rem;
    font-weight: 900;
    text-transform: uppercase;
}

.home-classified-card.premium .home-classified-image span {
    background: #f5c542;
    color: #332400;
}

.home-classified-info {
    padding: 15px;
}

.home-classified-info small {
    color: #1078c9;
    font-weight: 900;
    text-transform: uppercase;
    font-size: .72rem;
}

.home-classified-info h3 {
    color: #0f172a;
    font-size: 1rem;
    line-height: 1.25;
    margin: 6px 0 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.home-classified-info strong {
    display: block;
    color: #0a2a4a;
    font-size: 1.18rem;
    margin-bottom: 12px;
}

.home-classified-actions {
    display: flex;
    gap: 8px;
}

.home-classified-actions a {
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    padding: 0 12px;
    background: #eef5fc;
    color: #0a2a4a;
    text-decoration: none;
    font-weight: 800;
}

.home-classified-actions a:first-child {
    flex: 1;
}

.home-classified-actions a:last-child {
    background: #16a34a;
    color: #fff;
}

.classifieds-ad-strip {
    padding: 24px 0;
    background: #eef5fc;
    border-top: 1px solid #dbe8f5;
}

.classifieds-ad-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 12px;
}

.classifieds-ad-heading span {
    color: #0a2a4a;
    font-weight: 900;
    text-transform: uppercase;
    font-size: .8rem;
    letter-spacing: .06em;
}

.classifieds-ad-heading a {
    color: #1078c9;
    font-weight: 800;
    text-decoration: none;
}

.classifieds-ad-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.classifieds-ad-card {
    display: grid;
    grid-template-columns: 86px 1fr auto;
    align-items: center;
    gap: 12px;
    padding: 10px;
    border: 1px solid #d8e5f1;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 8px 22px rgba(10,42,74,.06);
}

.classifieds-ad-img {
    display: block;
    width: 86px;
    height: 64px;
    border-radius: 10px;
    overflow: hidden;
    background: #e8eef6;
}

.classifieds-ad-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.classifieds-ad-info {
    min-width: 0;
}

.classifieds-ad-info small {
    color: #1078c9;
    font-size: .72rem;
    font-weight: 900;
    text-transform: uppercase;
}

.classifieds-ad-info strong {
    display: block;
    color: #0f172a;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.classifieds-ad-info span {
    color: #0a2a4a;
    font-weight: 900;
}

.classifieds-ad-action {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    color: #fff;
    background: #16a34a;
    text-decoration: none;
}

.classifieds-bottom-modal {
    position: fixed;
    left: 50%;
    bottom: 0;
    z-index: 9998;
    width: min(680px, calc(100vw - 24px));
    transform: translate(-50%, calc(100% + 18px));
    opacity: 0;
    pointer-events: none;
    transition: transform .34s ease, opacity .24s ease;
}

.classifieds-bottom-modal.is-visible {
    transform: translate(-50%, 0);
    opacity: 1;
    pointer-events: auto;
}

.classifieds-bottom-modal.is-collapsed {
    transform: translate(-50%, 100%);
}

.classifieds-bottom-shell {
    position: relative;
    border: 1px solid rgba(15, 23, 42, .14);
    border-bottom: 0;
    border-radius: 18px 18px 0 0;
    background: #fff;
    box-shadow: 0 -18px 50px rgba(10,42,74,.24);
    overflow: visible;
}

.classifieds-bottom-toggle {
    position: absolute;
    left: 50%;
    top: -38px;
    transform: translateX(-50%);
    min-width: 210px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    border: 0;
    border-radius: 14px 14px 0 0;
    background: #0a2a4a;
    color: #fff;
    font-weight: 900;
    font-size: .82rem;
    cursor: pointer;
    box-shadow: 0 -10px 24px rgba(10,42,74,.18);
}

.classifieds-bottom-modal.is-collapsed .classifieds-bottom-toggle i {
    transform: rotate(180deg);
}

.classifieds-bottom-toggle i {
    transition: transform .2s ease;
}

.classifieds-bottom-close {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 999px;
    background: #eef5fc;
    color: #0a2a4a;
    cursor: pointer;
    z-index: 2;
}

.classifieds-bottom-link {
    display: grid;
    grid-template-columns: 156px 1fr;
    gap: 16px;
    min-height: 138px;
    padding: 18px 56px 18px 18px;
    color: inherit;
    text-decoration: none;
}

.classifieds-bottom-image {
    display: block;
    width: 156px;
    height: 104px;
    border-radius: 12px;
    overflow: hidden;
    background: #e8eef6;
}

.classifieds-bottom-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.classifieds-bottom-content {
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
}

.classifieds-bottom-content small {
    width: fit-content;
    padding: 5px 9px;
    border-radius: 999px;
    background: #f5c542;
    color: #332400;
    font-size: .7rem;
    font-weight: 900;
    text-transform: uppercase;
}

.classifieds-bottom-content strong {
    color: #0f172a;
    font-size: 1.2rem;
    line-height: 1.2;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.classifieds-bottom-content span {
    color: #0a2a4a;
    font-size: 1.35rem;
    font-weight: 900;
}

.classifieds-bottom-content em {
    color: #1078c9;
    font-style: normal;
    font-size: .9rem;
    font-weight: 900;
}

@media (max-width: 900px) {
    .hero {
        min-height: auto;
        padding: 118px 0 34px;
    }

    .hero-title {
        font-size: clamp(2.1rem, 9vw, 3.2rem);
        line-height: 1.05;
    }

    .hero-subtitle {
        max-width: 320px;
        margin-left: auto;
        margin-right: auto;
        font-size: .78rem;
        line-height: 1.45;
    }

    .hero-search {
        margin-bottom: 24px;
        box-shadow: 0 14px 32px rgba(0,0,0,.2);
    }

    .services-grid {
        width: 100%;
        margin-top: 18px;
        padding: 0 14px;
    }

    .services-row {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 10px;
        padding: 12px;
        border-radius: 14px;
        background: rgba(10, 42, 74, .62);
        backdrop-filter: blur(10px);
    }

    .service-item {
        min-height: 86px;
        padding: 10px 6px;
        border-radius: 10px;
    }

    .service-icon {
        width: 38px;
        height: 38px;
        margin-bottom: 6px;
    }

    .service-icon i {
        font-size: 1rem;
    }

    .service-item span {
        font-size: .74rem;
        line-height: 1.1;
    }

    .banner-section,
    .swiper-section,
    .whatsapp-section {
        margin: 22px 0;
    }

    .swiper-section .container,
    .whatsapp-section .container {
        padding: 0 12px;
    }

    .events-section,
    .jobs-section {
        height: auto;
        min-height: 0;
        margin: 26px 0;
        padding: 24px 0;
    }

    .events-content,
    .jobs-content {
        min-height: 0;
        display: grid;
        grid-template-columns: 1fr;
        gap: 16px;
        padding: 0 16px;
    }

    .events-image,
    .jobs-image {
        position: static;
        max-width: 260px;
        justify-self: center;
        order: -1;
    }

    .home-strip-list,
    .home-strip-list-jobs {
        width: 100%;
        margin: 0;
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .home-strip-card {
        min-height: auto;
        padding: 14px;
    }

    .home-strip-thumb {
        width: 64px;
        height: 64px;
        flex-basis: 64px;
    }

    .home-classifieds-section {
        padding: 38px 0;
    }

    .home-section-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 10px;
    }

    .home-classifieds-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .classifieds-ad-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 520px) {
    .hero {
        padding-top: 110px;
    }

    .hero-search {
        border-radius: 12px;
    }

    .hero-select,
    .hero-button {
        min-height: 50px;
        height: 50px;
        font-size: .82rem;
    }

    .home-classifieds-grid {
        grid-template-columns: 1fr;
    }

    .classifieds-ad-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .classifieds-ad-card {
        grid-template-columns: 72px 1fr auto;
    }

    .classifieds-ad-img {
        width: 72px;
        height: 58px;
    }

    .classifieds-bottom-modal {
        width: calc(100vw - 16px);
    }

    .classifieds-bottom-toggle {
        min-width: 190px;
        height: 36px;
        top: -36px;
        font-size: .76rem;
    }

    .classifieds-bottom-link {
        grid-template-columns: 96px 1fr;
        gap: 11px;
        min-height: 116px;
        padding: 14px 48px 14px 12px;
    }

    .classifieds-bottom-image {
        width: 96px;
        height: 82px;
    }

    .classifieds-bottom-content strong {
        font-size: .96rem;
    }

    .classifieds-bottom-content span {
        font-size: 1.05rem;
    }

    .classifieds-bottom-content em {
        font-size: .8rem;
    }

    .services-row {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 8px;
    }

    .service-item {
        min-height: 76px;
    }

    .service-icon {
        width: 34px;
        height: 34px;
    }

    .service-item span {
        font-size: .68rem;
    }

    .stats-unique-section {
        margin-top: 30px;
        margin-bottom: 30px;
        padding: 0 14px;
    }

    .news-unique-section {
        padding: 34px 0;
    }

    .news-unique-container {
        padding: 0 14px;
    }
}
