/*--------------------------------------------------------------
# Hero Arbolado Section - Mobile Optimized
--------------------------------------------------------------*/
.hero-arbolado {
    position: relative;
    padding: 20px 0 15px;
    background: #f8fafc;
    overflow: hidden;
}

.hero-main-content {
    display: flex;
    align-items: stretch;
    min-height: 500px;
    max-width: 1400px;
    margin: 0 auto;
    gap: 0;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

/* Left Content Area */
.hero-arbolado .content-area {
    background: linear-gradient(135deg, #4b6562 0%, #3a5a53 100%);
    padding: 2.5rem 2rem;
    display: flex;
    align-items: center;
    flex: 1;
    min-width: 300px;
}

.hero-arbolado .hero-text-content {
    color: white;
    width: 100%;
}

.hero-arbolado .hero-subtitle {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
    font-weight: 400;
    margin-bottom: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.hero-arbolado .hero-heading {
    font-size: 2.2rem;
    line-height: 1.2;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: white;
}

.hero-arbolado .highlight-number {
    color: #10b981;
    font-weight: 800;
}

.hero-arbolado .search-section {
    margin: 1.5rem 0;
}

.hero-arbolado .search-bar {
    position: relative;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 25px;
    overflow: hidden;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-arbolado .search-input {
    width: 100%;
    padding: 12px 18px 12px 45px;
    border: none;
    outline: none;
    font-size: 14px;
    background: transparent;
    color: white;
}

.hero-arbolado .search-input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.hero-arbolado .search-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.8);
    font-size: 16px;
}

.hero-arbolado .action-buttons {
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
}

.hero-arbolado .primary-btn {
    background: #10b981;
    color: white;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid #10b981;
}

.hero-arbolado .primary-btn:hover {
    background: #059669;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.hero-arbolado .secondary-btn {
    background: transparent;
    color: white;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.hero-arbolado .secondary-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
    transform: translateY(-2px);
}

/* Central Map Area */
.hero-arbolado .map-section {
    flex: 1.2;
    position: relative;
    background: white;
    min-height: 400px;
}

.hero-arbolado .map-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-arbolado .map-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-arbolado .google-map {
    width: 100%;
    height: 100%;
    border: none;
}

.hero-arbolado .location-marker {
    position: absolute;
    width: 30px;
    height: 30px;
    background: #10b981;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 11px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    z-index: 5;
}

.hero-arbolado .location-marker:hover {
    transform: scale(1.1);
    background: #059669;
}

/* Positioning markers */
.hero-arbolado .marker-1 {
    top: 65%;
    left: 45%;
}

.hero-arbolado .marker-2 {
    top: 50%;
    left: 35%;
}

.hero-arbolado .marker-3 {
    top: 55%;
    left: 42%;
}

.hero-arbolado .marker-4 {
    top: 75%;
    left: 25%;
}

.hero-arbolado .marker-5 {
    top: 30%;
    left: 32%;
}

.hero-arbolado .marker-6 {
    top: 60%;
    left: 50%;
}

.hero-arbolado .marker-7 {
    top: 25%;
    left: 28%;
}

.hero-arbolado .marker-8 {
    top: 45%;
    left: 55%;
}

.hero-arbolado .marker-9 {
    top: 85%;
    left: 35%;
}

/* Right Stats Area */
.hero-arbolado .stats-section {
    flex: 1;
    background: #f8fafc;
    padding: 1.5rem 1rem;
    display: flex;
    align-items: center;
}

.hero-arbolado .stats-cards {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    width: 100%;
    max-width: 280px;
    margin: 0 auto;
}

.hero-arbolado .stat-card {
    background: #a7c4a0;
    padding: 1.2rem;
    border-radius: 16px;
    position: relative;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    height: 85px;
    width: 100%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.hero-arbolado .stat-card:hover {
    transform: translateX(-3px) translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.hero-arbolado .stat-icon-wrapper {
    flex-shrink: 0;
}

.hero-arbolado .stat-icon {
    width: 45px;
    height: 45px;
    background: white;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: #059669;
}

.hero-arbolado .co2-icon {
    background: #059669;
    color: white;
    font-weight: 700;
    font-size: 0.8rem;
}

.hero-arbolado .stat-content {
    flex: 1;
}

.hero-arbolado .stat-number {
    font-size: 1.5rem;
    font-weight: 800;
    color: #1e293b;
    line-height: 1;
    margin-bottom: 0.2rem;
}

.hero-arbolado .stat-label {
    font-size: 0.8rem;
    color: #1e293b;
    font-weight: 600;
    line-height: 1.1;
}

.hero-arbolado .stat-sublabel {
    font-size: 0.65rem;
    font-weight: 400;
    opacity: 0.8;
}

/* Partners Section */
.hero-arbolado .partners-section {
    margin-top: 1rem;
    position: relative;
    z-index: 2;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 1rem;
}

.hero-arbolado .partners-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    margin-top: 30px;
    margin-bottom: 30px;
}

.hero-arbolado .partners-text {
    flex-shrink: 0;
}

.hero-arbolado .partners-label {
    font-size: 1.8rem;
    color: #4b6562;
    margin-bottom: 0;
    font-weight: 500;
    line-height: 1.3;
    text-align: left;
}

.hero-arbolado .partners-logos {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.hero-arbolado .partner-logo {
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-arbolado .partner-logo:hover {
    transform: translateY(-2px);
}

.hero-arbolado .partner-img {
    height: 80px;
    width: auto;
}

/* Tablet Responsive */
@media (max-width: 1200px) {
    .hero-arbolado .hero-heading {
        font-size: 2rem;
    }

    .hero-arbolado .content-area {
        padding: 2rem 1.5rem;
    }

    .hero-arbolado .stats-cards {
        max-width: 260px;
    }
}

/* Large Mobile / Small Tablet */
@media (max-width: 992px) {
    .hero-arbolado {
        padding: 15px 0 10px;
    }

    .hero-main-content {
        flex-direction: column;
        border-radius: 15px;
        min-height: auto;
    }

    .hero-arbolado .content-area {
        min-height: 250px;
        padding: 1.8rem 1.2rem;
    }

    .hero-arbolado .hero-heading {
        font-size: 1.7rem;
        margin-bottom: 1rem;
    }

    .hero-arbolado .map-section {
        min-height: 280px;
    }

    .hero-arbolado .stats-section {
        min-height: auto;
        padding: 1rem 0.8rem;
    }

    .hero-arbolado .stats-cards {
        flex-direction: column;
        gap: 0.8rem;
        max-width: 100%;
        padding: 0 1rem;
    }

    .hero-arbolado .stat-card {
        width: 100%;
        max-width: 320px;
        margin: 0 auto;
        height: 75px;
    }

    .hero-arbolado .partners-container {
        flex-direction: column;
        text-align: center;
        gap: 0.8rem;
    }

    .hero-arbolado .partners-logos {
        justify-content: center;
        gap: 1rem;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .hero-arbolado {
        padding: 10px 0 5px;
    }

    .hero-main-content {
        background: linear-gradient(135deg, #4b6562 0%, #3a5a53 100%);
        border-radius: 18px;
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
        padding: 1.2rem 0.7rem 0.7rem 0.7rem;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
    }

    .hero-arbolado .content-area {
        background: transparent;
        border-radius: 18px 18px 0 0;
        padding: 1.2rem 0.7rem 0.7rem 0.7rem;
        margin-bottom: 0;
    }

    .hero-arbolado .map-section {
        background: transparent;
        border-radius: 0;
        margin: 0;
        padding: 0;
        width: 100%;
        max-width: 100%;
        aspect-ratio: 16/9;
        min-height: 180px;
        overflow: hidden;
    }

    .hero-arbolado .map-wrapper,
    .hero-arbolado .google-map {
        border-radius: 0 0 18px 18px;
        width: 100%;
        height: auto;
        aspect-ratio: 16/9;
        min-height: 180px;
        box-shadow: none;
    }

    .hero-arbolado .location-marker {
        width: 25px;
        height: 25px;
        font-size: 10px;
    }

    .hero-arbolado .stats-section {
        background: transparent;
        padding: 0.7rem 0.2rem 0.2rem 0.2rem;
        margin-top: 0;
    }

    .hero-arbolado .cards-container {
        display: flex !important;
        flex-direction: row !important;
        justify-content: space-between;
        align-items: stretch;
        gap: 0.5rem !important;
        width: 100%;
        padding: 0 !important;
        margin-top: -18px;
        z-index: 2;
        position: relative;
    }

    .hero-arbolado .card-info {
        flex: 1 1 0;
        min-width: 0;
        height: 60px !important;
        padding: 0.4rem !important;
        border-radius: 12px !important;
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.07) !important;
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 0.4rem;
        background: #fff;
        border: 1px solid #e5e7eb;
    }

    .hero-arbolado .card-icon {
        width: 28px !important;
        height: 28px !important;
        font-size: 1.1rem !important;
        border-radius: 6px !important;
        display: flex;
        align-items: center;
        justify-content: center;
        background: #f3f4f6;
    }

    .hero-arbolado .card-content {
        display: flex;
        flex-direction: column;
        justify-content: center;
        min-width: 0;
    }

    .hero-arbolado .card-value {
        font-size: 1.1rem !important;
        font-weight: 700;
        color: #1e293b;
        line-height: 1;
    }

    .hero-arbolado .card-title {
        font-size: 0.7rem !important;
        color: #64748b;
        font-weight: 600;
        line-height: 1.1;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .hero-arbolado .partners-section {
        padding: 0 0.5rem;
        margin-top: 0.8rem;
    }

    .hero-arbolado .partners-label {
        font-size: 0.85rem;
    }

    .hero-arbolado .partner-img {
        height: 35px;
    }
}

/* Small Mobile */
@media (max-width: 576px) {
    .hero-arbolado {
        padding: 8px 0 3px;
    }

    .hero-arbolado .content-area {
        padding: 1.2rem 0.8rem;
        min-height: 200px;
    }

    .hero-arbolado .hero-heading {
        font-size: 1.3rem;
        line-height: 1.3;
        margin-bottom: 0.8rem;
    }

    .hero-arbolado .hero-subtitle {
        font-size: 0.8rem;
        margin-bottom: 0.5rem;
    }

    .hero-arbolado .search-section {
        margin: 0.8rem 0;
    }

    .hero-arbolado .action-buttons {
        flex-direction: column;
        width: 100%;
        gap: 0.5rem;
    }

    .hero-arbolado .primary-btn,
    .hero-arbolado .secondary-btn {
        width: 100%;
        text-align: center;
        padding: 10px 16px;
    }

    .hero-arbolado .map-section {
        min-height: 220px;
    }

    .hero-arbolado .stats-section {
        padding: 0.6rem 0.3rem;
    }

    .hero-arbolado .stats-cards {
        gap: 0.5rem;
        padding: 0 0.3rem;
    }

    .hero-arbolado .stat-card {
        width: 100%;
        max-width: 100%;
        height: 65px;
        padding: 0.6rem;
    }

    .hero-arbolado .stat-icon {
        width: 30px;
        height: 30px;
        font-size: 1rem;
    }

    .hero-arbolado .stat-number {
        font-size: 1.1rem;
    }

    .hero-arbolado .stat-label {
        font-size: 0.65rem;
    }

    .hero-arbolado .partners-section {
        margin-top: 0.6rem;
        padding: 0 0.3rem;
    }

    .hero-arbolado .partners-container {
        gap: 0.6rem;
    }

    .hero-arbolado .partners-logos {
        gap: 0.8rem;
    }

    .hero-arbolado .partner-img {
        height: 30px;
    }

    .hero-arbolado .partners-label {
        font-size: 1.2rem;
    }
}

/* Extra Small Mobile */
@media (max-width: 480px) {
    .hero-arbolado {
        padding: 5px 0 2px;
    }

    .hero-arbolado .content-area {
        padding: 1rem 0.6rem;
        min-height: 180px;
    }

    .hero-arbolado .hero-heading {
        font-size: 1.2rem;
        margin-bottom: 0.6rem;
    }

    .hero-arbolado .hero-subtitle {
        font-size: 0.75rem;
    }

    .hero-arbolado .map-section {
        min-height: 200px;
    }

    .hero-arbolado .stats-section {
        padding: 0.5rem 0.2rem;
    }

    .hero-arbolado .stat-card {
        height: 60px;
        padding: 0.5rem;
    }

    .hero-arbolado .stat-icon {
        width: 28px;
        height: 28px;
        font-size: 0.9rem;
    }

    .hero-arbolado .stat-number {
        font-size: 1rem;
    }

    .hero-arbolado .partners-section {
        margin-top: 0.5rem;
    }

    .hero-arbolado .partner-img {
        height: 40px;
    }
}

/* Ultra Small Mobile */
@media (max-width: 400px) {
    .hero-arbolado {
        padding: 3px 0 1px;
    }

    .hero-arbolado .content-area {
        padding: 0.8rem 0.5rem;
        min-height: 160px;
    }

    .hero-arbolado .hero-heading {
        font-size: 1.1rem;
        margin-bottom: 0.5rem;
    }

    .hero-arbolado .map-section {
        min-height: 180px;
    }

    .hero-arbolado .stats-section {
        padding: 0.4rem 0.1rem;
    }

    .hero-arbolado .stats-cards {
        padding: 0 0.1rem;
    }

    .hero-arbolado .stat-card {
        height: 55px;
        padding: 0.4rem;
    }

    .hero-arbolado .stat-icon {
        width: 25px;
        height: 25px;
        font-size: 0.8rem;
    }

    .hero-arbolado .stat-number {
        font-size: 0.9rem;
    }

    .hero-arbolado .stat-label {
        font-size: 0.6rem;
    }

    .hero-arbolado .partners-section {
        padding: 0 0.1rem;
    }

    .hero-arbolado .partners-label {
        font-size: 0.75rem;
    }

    .hero-arbolado .partner-img {
        height: 22px;
    }
}