/*
 Theme Name:   ASAP Child
 Description:  ASAP Child Theme
 Author:       Dev Creativos
 Author URI:   https://www.devcreativos.com/
 Template:     asap
 Version:      1.1.4
 Text Domain:  asap-child
*/

/* ==========================================================================
   GRÚAS CASTILLO - PREMIUM CUSTOM STYLES
   ========================================================================== */

:root {
    --g-primary: #FFC107;      /* Yellow Warning */
    --g-primary-dark: #FFA000;
    --g-secondary: #121212;    /* Deep Dark */
    --g-accent: #D32F2F;       /* Emergency Red */
    --g-accent-hover: #B71C1C;
    --g-text: #333333;
    --g-text-light: #F5F5F5;
    --g-bg-light: #F9FAFB;
    --g-bg-card: #FFFFFF;
}

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

/* --- OVERRIDE ASAP THEME DEFAULTS --- */
.home .site-header {
    display: none !important;
}

.home .content-page {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

body.home {
    margin: 0 !important;
    padding: 0 !important;
}

.g-professional-home {
    width: 100vw !important;
    position: relative !important;
    left: 50% !important;
    right: 50% !important;
    margin-left: -50vw !important;
    margin-right: -50vw !important;
    max-width: 100vw !important;
    background: #0d0d0d;
    margin-top: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
}

/* --- HERO SECTION --- */
.g-hero-section {
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #121212 0%, #1a1a1a 50%, #222222 100%);
    width: 100%;
    padding-top: 100px;
    background-size: cover;
    background-position: center;
    background-attachment: scroll;
    content-visibility: visible;
    contain: none;
}

@media (max-width: 768px) {
    .g-hero-section {
        background-attachment: scroll;
    }
}

.g-hero-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(circle at top right, rgba(255, 193, 7, 0.1) 0%, transparent 60%);
    z-index: 1;
}

.g-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--g-text-light);
    max-width: 900px;
}

.g-badge {
    display: inline-block;
    background: rgba(255, 193, 7, 0.2);
    color: var(--g-primary);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 24px;
    border: 1px solid rgba(255, 193, 7, 0.4);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.g-hero-title {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    line-height: 1.1;
    font-weight: 800;
    margin-bottom: 24px;
    color: #FFFFFF;
    opacity: 1;
    transform: none;
}

.g-text-highlight {
    color: var(--g-primary);
    text-shadow: 0 0 20px rgba(255, 193, 7, 0.4);
}

.g-hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    line-height: 1.6;
    margin-bottom: 40px;
    color: #B0B0B0;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    opacity: 1;
    transform: none;
}

.g-hero-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.g-btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border: 2px solid var(--g-text-light);
    color: var(--g-text-light);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.g-btn-secondary:hover {
    background: var(--g-text-light);
    color: var(--g-secondary);
}

/* --- SERVICES SECTION --- */
.g-services-section {
    padding: 100px 0;
    background: var(--g-bg-light);
    border-top: 5px solid var(--g-primary);
}

.g-section-header {
    text-align: center;
    margin-bottom: 60px;
}

.g-section-title {
    font-size: clamp(2rem, 3vw, 2.8rem);
    font-weight: 800;
    color: var(--g-secondary);
    margin-bottom: 16px;
}

.g-title-divider {
    height: 4px;
    width: 80px;
    background: var(--g-primary);
    margin: 0 auto;
    border-radius: 2px;
}
.g-title-divider-left {
    height: 4px;
    width: 80px;
    background: var(--g-primary);
    border-radius: 2px;
    margin-bottom: 24px;
}

.g-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.g-service-card {
    background: var(--g-bg-card);
    padding: 40px 30px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(0,0,0,0.03);
    position: relative;
    overflow: hidden;
    text-align: center;
}

.g-service-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: var(--g-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.g-service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.g-service-card:hover::before {
    transform: scaleX(1);
}

.g-icon-wrapper {
    width: 70px;
    height: 70px;
    background: rgba(255, 193, 7, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
}

.g-icon-wrapper .dashicons {
    font-size: 34px;
    width: 34px;
    height: 34px;
    color: var(--g-primary-dark);
}

.g-service-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--g-secondary);
}

.g-service-card p {
    color: #666;
    line-height: 1.7;
    margin: 0;
}

/* --- COVERAGE SECTION --- */
.g-coverage-section {
    padding: 100px 0;
    background: #FFFFFF;
}

.g-coverage-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.g-coverage-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 20px;
}

.g-stats {
    display: flex;
    gap: 40px;
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid #EEE;
}

.g-stat-item {
    display: flex;
    flex-direction: column;
}

.g-stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--g-secondary);
    line-height: 1;
    margin-bottom: 8px;
}

.g-stat-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.g-coverage-box {
    background: var(--g-bg-light);
    padding: 10px;
    border-radius: 16px;
}

/* Overriding Shortcode styles for premium look */
.gruas-areas-cobertura {
    background: #FFFFFF !important;
    border-left: none !important;
    border-top: 5px solid var(--g-primary) !important;
    box-shadow: 0 15px 35px rgba(0,0,0,0.05) !important;
    padding: 40px !important;
}

.gruas-areas-cobertura h3 {
    font-size: 1.6rem !important;
    color: var(--g-secondary) !important;
    margin-bottom: 24px !important;
    font-weight: 700 !important;
}

.areas-list li {
    padding: 12px 0 !important;
    border-bottom: 1px solid #F0F0F0 !important;
    color: #555 !important;
    font-size: 1.05rem !important;
}

.areas-list li:last-child {
    border-bottom: none !important;
}

.areas-list li strong {
    color: var(--g-secondary) !important;
}

/* Overriding Button Shortcode */
.gruas-btn-emergencia {
    background: var(--g-accent) !important;
    padding: 18px 40px !important;
    font-size: 1.3rem !important;
    letter-spacing: 0.5px !important;
}
.gruas-btn-emergencia:hover {
    background: var(--g-accent-hover) !important;
    box-shadow: 0 10px 25px rgba(211, 47, 47, 0.5) !important;
}

@media (max-width: 992px) {
    .g-coverage-grid {
        grid-template-columns: 1fr;
    }
    .g-hero-actions {
        flex-direction: column;
    }
    .g-btn-secondary {
        width: 100%;
        max-width: 320px;
    }
}

/* --- NEW ADDITIONS FOR COMPREHENSIVE HOME --- */
.g-hero-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.g-hero-text-area {
    text-align: center;
    max-width: 900px;
}

.g-hero-trust {
    margin-top: 30px;
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    color: #e0e0e0;
    font-size: 0.95rem;
}

.g-hero-trust span {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.05);
    padding: 8px 16px;
    border-radius: 4px;
    border: 1px solid rgba(255,255,255,0.1);
}

.g-trust-section {
    background: var(--g-secondary);
    color: #fff;
    padding: 60px 0;
    border-top: 5px solid var(--g-primary);
}

.g-trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    text-align: center;
}

.g-trust-icon {
    width: 70px;
    height: 70px;
    background: rgba(255, 193, 7, 0.1);
    color: var(--g-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.g-trust-item h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: #fff;
}

.g-trust-item p {
    color: #aaa;
    line-height: 1.6;
    font-size: 1rem;
}

.g-process-section,
.g-gallery-section,
.g-reviews-section,
.g-coverage-section,
.g-cta-section {
    border-top: 5px solid var(--g-primary);
}

.g-subtitle-top {
    display: block;
    color: var(--g-primary-dark);
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 10px;
    font-size: 0.9rem;
}

.g-section-desc {
    color: #666;
    max-width: 600px;
    margin: 20px auto 0;
    font-size: 1.1rem;
    line-height: 1.6;
}

.g-map-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--g-secondary);
    color: #fff;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: 2px solid var(--g-secondary);
}

.g-map-button:hover {
    background: transparent;
    color: var(--g-secondary);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

/* --- UNIFIED HEADER (gc-*) — home + páginas internas --- */
.gc-header {
    position: fixed; top: 0; left: 0; right: 0;
    background: rgba(13, 13, 13, 0.96);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255,255,255,0.06);
    padding: 14px 0;
    z-index: 9999;
}
body.admin-bar .gc-header { top: 32px; }
@media screen and (max-width: 782px) {
    body.admin-bar .gc-header { top: 46px; }
}
.gc-header-inner {
    max-width: 1200px; margin: 0 auto; padding: 0 24px;
    display: flex; align-items: center; justify-content: space-between;
}
.gc-logo {
    font-size: 1.25rem; font-weight: 900;
    color: #fff; text-transform: uppercase; letter-spacing: 1.5px;
    text-decoration: none; line-height: 1;
}
.gc-logo span { color: #FFC107; }

.gc-nav { display: flex; align-items: center; gap: 28px; }
.gc-nav-links { display: flex; gap: 28px; }
.gc-nav a, .gc-nav-links a {
    color: #aaa; text-decoration: none;
    font-size: 0.92rem; font-weight: 600;
    transition: color 0.2s;
}
.gc-nav a:hover, .gc-nav-links a:hover { color: #FFC107; }

.gc-back {
    display: flex; align-items: center; gap: 7px;
    color: #aaa; text-decoration: none; font-size: 0.88rem; font-weight: 600;
    transition: color 0.2s;
}
.gc-back:hover { color: #FFC107; }

.gc-header-cta { display: flex; align-items: center; gap: 10px; }

.gc-btn-call {
    background: #FFC107; color: #000 !important;
    padding: 8px 16px; border-radius: 50px;
    text-decoration: none; font-weight: 700;
    display: flex; align-items: center; gap: 7px; font-size: 0.9rem;
    transition: transform 0.2s, box-shadow 0.2s;
}
.gc-btn-call:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255,193,7,0.35);
    color: #000 !important;
}

.gc-btn-upload {
    display: flex; align-items: center; justify-content: center;
    width: 38px; height: 38px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 50%; color: #bbb; text-decoration: none;
    transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.2s;
}
.gc-btn-upload:hover {
    background: #FFC107; border-color: #FFC107;
    color: #000; transform: translateY(-2px);
}

@media (max-width: 768px) {
    .gc-nav-links { display: none; }
    .gc-header-inner { padding: 0 16px; }
}

/* --- FOOTER UNIFICADO --- */
.screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.gc-footer {
    background: #0a0a0a;
    border-top: 5px solid #FFC107;
    padding: 48px 20px 32px;
    margin-top: 0;
}
.gc-footer-inner {
    max-width: 680px; margin: 0 auto; text-align: center;
}
.gc-footer-logo {
    font-size: 1.4rem; font-weight: 900;
    color: #fff; text-transform: uppercase; letter-spacing: 1.5px;
    margin-bottom: 10px;
}
.gc-footer-logo span { color: #FFC107; }
.gc-footer-tagline {
    color: #f2f2f2; font-size: 0.87rem; margin-bottom: 24px; line-height: 1.5;
}
.gc-footer-links {
    display: flex; align-items: center; justify-content: center;
    gap: 24px; flex-wrap: wrap; margin-bottom: 28px;
}
.gc-footer-links a {
    display: flex; align-items: center; gap: 6px;
    color: #f2f2f2; text-decoration: none; font-size: 0.85rem; font-weight: 600;
    transition: color 0.2s;
}
.gc-footer-links a:hover { color: #FFC107; }
.gc-footer-copy {
    color: #e8e8e8; font-size: 0.78rem; line-height: 1.5;
    border-top: 1px solid #1a1a1a; padding-top: 20px; margin-top: 4px;
}
.gc-footer-copy strong { color: #ffffff; font-weight: 700; }

/* --- WHATSAPP BUTTONS --- */
.g-btn-whatsapp {
    background: #0f6f38;
    color: #fff;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: 2px solid #0f6f38;
}

.g-btn-whatsapp:hover {
    background: transparent;
    color: #0f6f38;
}

.g-floating-wa {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #0f6f38;
    color: #fff;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(15,111,56,0.4);
    z-index: 10000;
    transition: transform 0.3s;
}

.g-floating-wa:hover {
    transform: scale(1.1);
}

/* --- BACK TO TOP BUTTON --- */
.g-back-to-top {
    position: fixed;
    bottom: 30px;
    left: 30px;
    background: rgba(13, 13, 13, 0.8);
    backdrop-filter: blur(8px);
    color: var(--g-primary);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 0;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    z-index: 10000;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: 1px solid rgba(255,193,7,0.3);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
}

.g-back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.g-back-to-top:hover {
    background: var(--g-primary);
    color: #000;
    transform: scale(1.1) translateY(-2px);
    box-shadow: 0 8px 25px rgba(255,193,7,0.4);
}

@media (max-width: 768px) {
    .g-nav {
        display: none;
    }
    .g-hero-section {
        padding-top: 80px;
    }
    .g-floating-wa {
        bottom: 20px;
        right: 20px;
    }
    .g-back-to-top {
        bottom: 20px;
        left: 20px;
        width: 45px;
        height: 45px;
    }
}

/* --- PRIMARY BUTTON FIX --- */
.g-btn-primary {
    background: var(--g-primary) !important;
    color: #000 !important;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none !important;
    font-weight: bold;
    font-size: 1.1rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none !important;
}

.g-btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(255, 193, 7, 0.3);
    color: #000 !important;
    background: #ffca28 !important;
}

/* --- HEADER CTA ÁREA --- */
.g-header-cta {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Icono de subida de trabajos en el header */
.g-btn-upload-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    color: #ccc;
    text-decoration: none;
    transition: background 0.25s, color 0.25s, transform 0.25s, border-color 0.25s;
}

.g-btn-upload-icon:hover {
    background: var(--g-primary);
    border-color: var(--g-primary);
    color: #000;
    transform: translateY(-2px);
}

/* --- MOBILE FULL WIDTH BUTTONS --- */
@media (max-width: 600px) {
    .g-hero-actions,
    .g-cta-section > div > div[style*="display: flex"] {
        flex-direction: column !important;
        width: 100%;
        gap: 15px !important;
    }
    .g-hero-actions a,
    .g-cta-section a.g-btn-primary,
    .g-cta-section a.g-btn-whatsapp {
        width: 100% !important;
        justify-content: center !important;
        box-sizing: border-box !important;
    }
}

/* --- MOBILE MENU STYLES --- */
.gc-mobile-toggle {
    display: none; background: transparent; border: none;
    color: #fff; padding: 0; cursor: pointer; margin-left: 5px;
}
.gc-mobile-menu {
    position: fixed; top: 0; right: -100%; width: 280px; height: 100vh;
    background: rgba(10,10,10,0.98); z-index: 100000; transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: -5px 0 20px rgba(0,0,0,0.5); padding: 60px 30px;
    display: flex; flex-direction: column; gap: 20px;
    backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.gc-mobile-menu.active { right: 0; }
.gc-mobile-menu a {
    color: #fff; text-decoration: none; font-size: 1.25rem; font-weight: 600;
    padding-bottom: 12px; border-bottom: 1px solid rgba(255,255,255,0.1);
}
.gc-mobile-menu a:hover { color: #FFC107; }
.gc-mobile-close {
    position: absolute; top: 15px; right: 20px; background: transparent; border: none;
    color: #fff; font-size: 2.5rem; cursor: pointer; line-height: 1; padding: 5px;
}
@media (max-width: 768px) {
    .gc-mobile-toggle { display: flex; align-items: center; justify-content: center; }
    .gc-btn-call { padding: 8px 12px !important; }
    .gc-btn-call .gc-btn-text { display: none; }
}
/* --- SCROLL REVEAL EFFECTS --- */
.reveal {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
    transition: 
        opacity 0.8s cubic-bezier(0.2, 0.8, 0.2, 1),
        transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1),
        filter 0.6s ease-out;
    will-change: transform, opacity, filter;
    
    /* PERFORMANCE: Lazy Render Sections */
    content-visibility: auto;
    contain-intrinsic-size: 1px 500px;
}

/* Only hide if JS is ready and the element hasn't been activated yet */
.js-ready .reveal:not(.active) {
    opacity: 0;
    transform: translateY(40px) scale(0.98);
    filter: blur(4px);
}

/* Staggered delays for child elements */
.reveal-delay-1 { transition-delay: 0.15s; }
.reveal-delay-2 { transition-delay: 0.3s; }
.reveal-delay-3 { transition-delay: 0.45s; }

/* --- COVERAGE MAP STYLES --- */
.g-coverage-map-container {
    background: #0d0d0d;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
    border: 1px solid rgba(255,193,7,0.1);
    margin-top: 30px;
}

.g-map-wrapper {
    position: relative;
    width: 100%;
    line-height: 0;
}

.g-coverage-map {
    width: 100%;
    height: auto;
    display: block;
    filter: brightness(0.8) contrast(1.1);
}

.g-map-overlay-info {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(18, 18, 18, 0.85);
    backdrop-filter: blur(8px);
    padding: 20px;
    border-radius: 12px;
    border: 1px solid rgba(255,193,7,0.3);
    color: white;
    z-index: 5;
    max-width: 240px;
    line-height: 1.4;
}

.g-map-badge {
    background: var(--g-primary);
    color: #000;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 4px;
    display: inline-block;
    margin-bottom: 12px;
}

.g-map-cities {
    list-style: none;
    padding: 0;
    margin: 0;
}

.g-map-cities li {
    font-size: 0.85rem;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #ccc;
    line-height: 1.2;
}

.g-map-cities li span {
    color: var(--g-primary);
}

@media (max-width: 768px) {
    .g-map-overlay-info {
        position: static;
        max-width: 100%;
        border-radius: 0;
        border: none;
        border-top: 1px solid rgba(255,193,7,0.2);
        padding: 25px;
    }
}
/* Version: 1.0.6 */
/* --- COMMAND CENTER MAP --- */
.g-command-center-wrapper {
    position: relative;
    width: 100%;
}

.g-map-dashboard {
    position: absolute;
    top: 50%;
    right: 50px;
    transform: translateY(-50%);
    width: 380px;
    background: rgba(13, 13, 13, 0.85);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255,193,7,0.2);
    border-radius: 20px;
    padding: 30px;
    z-index: 1000;
    box-shadow: 0 30px 60px rgba(0,0,0,0.5);
}

.g-dashboard-header {
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.g-live-indicator {
    font-size: 0.7rem;
    font-weight: 800;
    color: var(--g-primary);
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
}

.g-pulse-red {
    width: 8px;
    height: 8px;
    background: #ff3b30;
    border-radius: 50%;
    box-shadow: 0 0 10px #ff3b30;
    animation: g-pulse-red 1.5s infinite;
}

@keyframes g-pulse-red {
    0% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.2); }
    100% { opacity: 1; transform: scale(1); }
}

.g-dashboard-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 30px;
}

.g-dash-item {
    background: rgba(255,255,255,0.03);
    padding: 10px 15px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 4px;
    border: 1px solid transparent;
}

.g-dash-item:hover {
    background: rgba(255,193,7,0.1);
    border-color: rgba(255,193,7,0.3);
}

.g-status-dot {
    width: 6px;
    height: 6px;
    background: #4cd964;
    border-radius: 50%;
    box-shadow: 0 0 8px #4cd964;
}

.g-dash-name {
    font-size: 0.85rem;
    font-weight: 600;
    color: white;
}

.g-dash-status {
    font-size: 0.65rem;
    color: #666;
}

.g-btn-neon {
    display: block;
    width: 100%;
    background: transparent;
    border: 2px solid var(--g-primary);
    color: var(--g-primary);
    text-align: center;
    padding: 15px;
    border-radius: 10px;
    font-weight: 800;
    text-decoration: none;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.g-btn-neon:hover {
    background: var(--g-primary);
    color: black;
    box-shadow: 0 0 20px var(--g-primary);
}

/* Custom Tech Marker */
.g-tech-marker {
    background: transparent;
    border: none;
}

.g-marker-core {
    width: 12px;
    height: 12px;
    background: var(--g-primary);
    border-radius: 50%;
    position: absolute;
    top: 9px;
    left: 9px;
    z-index: 2;
    box-shadow: 0 0 10px var(--g-primary);
}

.g-marker-rings {
    width: 30px;
    height: 30px;
    border: 2px solid var(--g-primary);
    border-radius: 50%;
    animation: g-marker-ripple 2s infinite;
    opacity: 0;
}

@keyframes g-marker-ripple {
    0% { transform: scale(0.5); opacity: 0.8; }
    100% { transform: scale(2); opacity: 0; }
}

.g-map-popup .leaflet-popup-content-wrapper {
    background: #121212;
    color: white;
    border-radius: 10px;
    border: 1px solid var(--g-primary);
}

@media (max-width: 992px) {
    .g-map-dashboard {
        position: relative;
        top: 0;
        right: 0;
        transform: none;
        width: 100%;
        border-radius: 0;
        border: none;
        border-top: 1px solid rgba(255,193,7,0.2);
    }
    #coverageMap {
        height: 400px !important;
    }
}

/* --- STATIC TECH MAP STYLES --- */
.g-map-node {
    position: absolute;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 10;
}

.g-node-pulse {
    width: 12px;
    height: 12px;
    background: var(--g-primary);
    border-radius: 50%;
    box-shadow: 0 0 15px var(--g-primary);
    position: relative;
}

.g-node-pulse::after {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    border: 2px solid var(--g-primary);
    border-radius: 50%;
    animation: g-node-ripple 2s infinite;
}

@keyframes g-node-ripple {
    0% { transform: scale(1); opacity: 0.8; }
    100% { transform: scale(3); opacity: 0; }
}

.g-node-label {
    margin-top: 8px;
    font-size: 0.7rem;
    font-weight: 700;
    color: white;
    text-shadow: 0 2px 4px rgba(0,0,0,0.8);
    background: rgba(0,0,0,0.4);
    padding: 2px 6px;
    border-radius: 4px;
    white-space: nowrap;
    backdrop-filter: blur(2px);
}

.g-map-node.is-main .g-node-pulse {
    background: #fff;
    width: 16px;
    height: 16px;
    box-shadow: 0 0 20px #fff;
}

.g-map-node.is-main .g-node-label {
    color: var(--g-primary);
    font-size: 0.85rem;
    background: rgba(0,0,0,0.7);
    border: 1px solid var(--g-primary);
}

/* Radar Sweep Animation */
.g-radar-sweep {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg, transparent 0deg, rgba(255,193,7,0.15) 30deg, transparent 60deg);
    transform-origin: center center;
    animation: g-radar-rotate 6s linear infinite;
    pointer-events: none;
    z-index: 5;
}

@keyframes g-radar-rotate {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Fix for button and dashboard responsiveness */
.g-btn-neon {
    display: inline-block !important;
    width: 100% !important;
    background: transparent !important;
    border: 2px solid var(--g-primary) !important;
    color: var(--g-primary) !important;
    text-align: center !important;
    padding: 14px !important;
    border-radius: 10px !important;
    font-weight: 800 !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    box-sizing: border-box !important;
}

.g-btn-neon:hover {
    background: var(--g-primary) !important;
    color: black !important;
    box-shadow: 0 0 25px var(--g-primary) !important;
}

@media (max-width: 992px) {
    .g-command-center-wrapper {
        grid-template-columns: 1fr !important;
    }
    .g-tech-map-viewport {
        height: 350px !important;
    }
}
#gcd-guanacaste {
  --gcd-yellow: #ffcc00;
  --gcd-yellow-dark: #d9a900;
  --gcd-black: #050505;
  --gcd-card: rgba(255, 255, 255, 0.045);
  --gcd-card-strong: rgba(255, 204, 0, 0.09);
  --gcd-border: rgba(255, 255, 255, 0.13);
  --gcd-border-yellow: rgba(255, 204, 0, 0.34);
  --gcd-text: #ffffff;
  --gcd-muted: #e9e9e9;

  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 120px 20px 70px;
  color: var(--gcd-text) !important;
  font-family: inherit;
  overflow: hidden;
}

#gcd-guanacaste,
#gcd-guanacaste * {
  box-sizing: border-box;
}

#gcd-guanacaste h1,
#gcd-guanacaste h2,
#gcd-guanacaste h3,
#gcd-guanacaste h4,
#gcd-guanacaste p,
#gcd-guanacaste span,
#gcd-guanacaste strong,
#gcd-guanacaste summary,
#gcd-guanacaste details {
  opacity: 1 !important;
}

#gcd-guanacaste h1,
#gcd-guanacaste h2,
#gcd-guanacaste h3 {
  margin-top: 0;
  font-family: inherit;
  font-weight: 800;
  letter-spacing: -0.02em;
}

#gcd-guanacaste p {
  color: var(--gcd-muted) !important;
  font-size: 18px;
  line-height: 1.75;
  margin: 0 0 18px;
}

#gcd-guanacaste strong {
  color: #ffffff !important;
  font-weight: 800;
}

#gcd-guanacaste .gcd-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--gcd-yellow) !important;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 16px;
}

#gcd-guanacaste .gcd-hero {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 34px;
  align-items: center;
  min-height: 560px;
  padding: 42px;
  border-radius: 34px;
  background:
    radial-gradient(circle at 20% 10%, rgba(255, 204, 0, 0.20), transparent 34%),
    linear-gradient(135deg, rgba(255, 204, 0, 0.08), rgba(255, 255, 255, 0.02)),
    #080808;
  border: 1px solid var(--gcd-border-yellow);
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.45);
  position: relative;
  animation: gcdFadeUp 0.85s ease both;
}

#gcd-guanacaste .gcd-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 34px;
  background:
    linear-gradient(90deg, rgba(255, 204, 0, 0.09), transparent 45%),
    radial-gradient(circle at 80% 20%, rgba(255, 204, 0, 0.15), transparent 30%);
  pointer-events: none;
}

#gcd-guanacaste .gcd-hero-content,
#gcd-guanacaste .gcd-hero-image {
  position: relative;
  z-index: 2;
}

#gcd-guanacaste h1 {
  color: var(--gcd-yellow) !important;
  font-size: clamp(44px, 6vw, 76px);
  line-height: 1.02;
  margin-bottom: 24px;
  max-width: 740px;
}

#gcd-guanacaste .gcd-hero-text {
  color: #ffffff !important;
  font-size: 19px;
  line-height: 1.78;
  max-width: 720px;
}

#gcd-guanacaste .gcd-hero-image {
  min-height: 390px;
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid var(--gcd-border-yellow);
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.55);
}

#gcd-guanacaste .gcd-hero-image img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 390px;
  object-fit: cover;
  transform: scale(1.03);
  filter: contrast(1.05) brightness(0.82);
}

#gcd-guanacaste .gcd-buttons {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 16px !important;
  flex-wrap: wrap !important;
  margin-top: 30px !important;
}

#gcd-guanacaste .gcd-final-buttons {
  justify-content: center !important;
}

#gcd-guanacaste a.gcd-btn,
#gcd-guanacaste .gcd-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;

  width: auto !important;
  min-width: 190px !important;
  height: 58px !important;
  min-height: 58px !important;

  margin: 0 !important;
  padding: 0 30px !important;

  border-radius: 999px !important;
  clip-path: inset(0 round 999px) !important;
  overflow: hidden !important;

  font-size: 17px !important;
  font-weight: 900 !important;
  line-height: 1 !important;
  text-align: center !important;
  text-decoration: none !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  white-space: nowrap !important;

  position: relative !important;
  isolation: isolate !important;
  appearance: none !important;
  -webkit-appearance: none !important;

  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease !important;
}

#gcd-guanacaste a.gcd-btn::before,
#gcd-guanacaste a.gcd-btn::after,
#gcd-guanacaste .gcd-btn::before,
#gcd-guanacaste .gcd-btn::after {
  content: none !important;
  display: none !important;
  width: 0 !important;
  height: 0 !important;
  opacity: 0 !important;
  visibility: hidden !important;
}

#gcd-guanacaste a.gcd-btn-main,
#gcd-guanacaste .gcd-btn-main {
  background: var(--gcd-yellow) !important;
  color: #000000 !important;
  border: 2px solid var(--gcd-yellow) !important;
  box-shadow: 0 14px 35px rgba(255, 204, 0, 0.25) !important;
}

#gcd-guanacaste a.gcd-btn-outline,
#gcd-guanacaste .gcd-btn-outline {
  background: transparent !important;
  color: #ffffff !important;
  border: 2px solid var(--gcd-yellow) !important;
  box-shadow: none !important;
}

#gcd-guanacaste a.gcd-btn:hover,
#gcd-guanacaste .gcd-btn:hover {
  transform: translateY(-3px) !important;
  text-decoration: none !important;
}

#gcd-guanacaste a.gcd-btn-main:hover,
#gcd-guanacaste .gcd-btn-main:hover {
  background: #ffd735 !important;
  color: #000000 !important;
  box-shadow: 0 18px 45px rgba(255, 204, 0, 0.36) !important;
}

#gcd-guanacaste a.gcd-btn-outline:hover,
#gcd-guanacaste .gcd-btn-outline:hover {
  background: rgba(255, 204, 0, 0.12) !important;
  color: #ffffff !important;
}

#gcd-guanacaste .gcd-mini-benefits {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

#gcd-guanacaste .gcd-mini-benefits span {
  display: inline-flex;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--gcd-border);
  color: #ffffff !important;
  font-size: 14px;
  font-weight: 800;
}

#gcd-guanacaste .gcd-trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 28px;
}

#gcd-guanacaste .gcd-trust-card,
#gcd-guanacaste .gcd-section,
#gcd-guanacaste .gcd-final-cta {
  background: var(--gcd-card);
  border: 1px solid var(--gcd-border);
  border-radius: 28px;
  padding: 34px;
  backdrop-filter: blur(10px);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.28);
  animation: gcdFadeUp 0.85s ease both;
}

#gcd-guanacaste .gcd-trust-card {
  text-align: center;
}

#gcd-guanacaste .gcd-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 76px;
  height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  background: rgba(255, 204, 0, 0.12);
  border: 1px solid var(--gcd-border-yellow);
  color: var(--gcd-yellow) !important;
  font-weight: 900;
  margin-bottom: 18px;
}

#gcd-guanacaste .gcd-trust-card h3,
#gcd-guanacaste .gcd-service-card h3,
#gcd-guanacaste .gcd-why-grid h3,
#gcd-guanacaste .gcd-steps h3 {
  color: #ffffff !important;
  font-size: 21px;
  margin-bottom: 10px;
}

#gcd-guanacaste .gcd-trust-card p,
#gcd-guanacaste .gcd-service-card p,
#gcd-guanacaste .gcd-why-grid p,
#gcd-guanacaste .gcd-steps p {
  color: var(--gcd-muted) !important;
  font-size: 16px;
  line-height: 1.65;
  margin-bottom: 0;
}

#gcd-guanacaste .gcd-section {
  margin-top: 28px;
}

#gcd-guanacaste .gcd-section h2,
#gcd-guanacaste .gcd-final-cta h2 {
  color: var(--gcd-yellow) !important;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.12;
  margin-bottom: 22px;
}

#gcd-guanacaste .gcd-services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 28px;
}

#gcd-guanacaste .gcd-service-card {
  min-height: 190px;
  padding: 24px;
  border-radius: 22px;
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid var(--gcd-border);
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

#gcd-guanacaste .gcd-service-card:hover {
  transform: translateY(-6px);
  border-color: var(--gcd-border-yellow);
  background: var(--gcd-card-strong);
}

#gcd-guanacaste .gcd-coverage {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
  align-items: center;
}

#gcd-guanacaste .gcd-zones {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

#gcd-guanacaste .gcd-zones span {
  display: flex;
  align-items: center;
  min-height: 52px;
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(255, 204, 0, 0.08);
  border: 1px solid rgba(255, 204, 0, 0.20);
  color: #ffffff !important;
  font-weight: 800;
}

#gcd-guanacaste a.gcd-text-link {
  color: var(--gcd-yellow) !important;
  font-weight: 800 !important;
  text-decoration: underline !important;
  text-underline-offset: 4px !important;
}

#gcd-guanacaste a.gcd-text-link::before,
#gcd-guanacaste a.gcd-text-link::after {
  content: none !important;
  display: none !important;
}

#gcd-guanacaste .gcd-why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 28px;
}

#gcd-guanacaste .gcd-why-grid div {
  padding: 24px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid var(--gcd-border);
}

#gcd-guanacaste .gcd-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 28px;
}

#gcd-guanacaste .gcd-steps div {
  padding: 26px;
  border-radius: 22px;
  background: rgba(0, 0, 0, 0.24);
  border: 1px solid var(--gcd-border);
}

#gcd-guanacaste .gcd-steps strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  margin-bottom: 18px;
  border-radius: 50%;
  background: var(--gcd-yellow);
  color: #000000 !important;
  font-size: 20px;
  font-weight: 900;
}

#gcd-guanacaste .gcd-faq details {
  background: rgba(0, 0, 0, 0.22);
  border: 1px solid var(--gcd-border);
  border-radius: 18px;
  padding: 18px 20px;
  margin-top: 14px;
  color: #ffffff !important;
}

#gcd-guanacaste .gcd-faq summary {
  cursor: pointer;
  color: #ffffff !important;
  font-size: 18px;
  font-weight: 900;
}

#gcd-guanacaste .gcd-faq details p {
  margin-top: 14px;
  margin-bottom: 0;
  font-size: 16px;
}

#gcd-guanacaste .gcd-final-cta {
  margin-top: 28px;
  text-align: center;
  background:
    radial-gradient(circle at top, rgba(255, 204, 0, 0.22), transparent 36%),
    linear-gradient(135deg, rgba(255, 204, 0, 0.15), rgba(255, 255, 255, 0.035)),
    #080808;
  border-color: var(--gcd-border-yellow);
}

#gcd-guanacaste .gcd-final-cta p {
  max-width: 780px;
  margin-left: auto;
  margin-right: auto;
  color: #ffffff !important;
}

@keyframes gcdFadeUp {
  from {
    opacity: 0;
    transform: translateY(26px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1024px) {
  #gcd-guanacaste .gcd-hero,
  #gcd-guanacaste .gcd-coverage {
    grid-template-columns: 1fr;
  }

  #gcd-guanacaste .gcd-services-grid,
  #gcd-guanacaste .gcd-why-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  #gcd-guanacaste .gcd-hero-image {
    min-height: 320px;
  }

  #gcd-guanacaste .gcd-hero-image img {
    min-height: 320px;
  }
}

@media (max-width: 768px) {
  #gcd-guanacaste {
    padding: 95px 16px 50px;
  }

  #gcd-guanacaste .gcd-hero {
    padding: 30px 22px;
    border-radius: 26px;
  }

  #gcd-guanacaste h1 {
    font-size: 42px;
  }

  #gcd-guanacaste .gcd-hero-text,
  #gcd-guanacaste p {
    font-size: 16px;
  }

  #gcd-guanacaste .gcd-buttons {
    justify-content: center !important;
  }

  #gcd-guanacaste a.gcd-btn,
  #gcd-guanacaste .gcd-btn {
    width: 100% !important;
    min-width: 100% !important;
  }

  #gcd-guanacaste .gcd-trust-grid,
  #gcd-guanacaste .gcd-services-grid,
  #gcd-guanacaste .gcd-why-grid,
  #gcd-guanacaste .gcd-steps,
  #gcd-guanacaste .gcd-zones {
    grid-template-columns: 1fr;
  }

  #gcd-guanacaste .gcd-trust-card,
  #gcd-guanacaste .gcd-section,
  #gcd-guanacaste .gcd-final-cta {
    padding: 26px 20px;
    border-radius: 24px;
  }
}