/* ==========================================================================
   CSS DESIGN SYSTEM - JSD ELECTRICIDAD
   Vanguard Aesthetic (2026 Style)
   ========================================================================== */

/* --- Custom Variables & Tokens --- */
:root {
    /* Color Palette - HSL base for opacities and gradients */
    --primary-h: 228;
    --primary-s: 100%;
    --primary-l: 50%;
    --primary: hsl(var(--primary-h), var(--primary-s), var(--primary-l)); /* Electric Blue #0033FF */
    --primary-glow: hsla(var(--primary-h), var(--primary-s), var(--primary-l), 0.25);
    --primary-dark: hsl(228, 100%, 35%);

    --accent-h: 25;
    --accent-s: 100%;
    --accent-l: 50%;
    --accent: hsl(var(--accent-h), var(--accent-s), var(--accent-l)); /* Orange #FF6B00 */
    --accent-glow: hsla(var(--accent-h), var(--accent-s), var(--accent-l), 0.3);

    --bg-dark-h: 225;
    --bg-dark-s: 48%;
    --bg-dark-l: 8%;
    --bg-dark: hsl(var(--bg-dark-h), var(--bg-dark-s), var(--bg-dark-l)); /* #0A0F1D */
    --bg-card: hsl(225, 43%, 14%); /* #141C33 */
    --bg-card-hover: hsl(225, 40%, 18%);
    --bg-light: #F4F6FC;

    /* Text Colors */
    --text-white: #FFFFFF;
    --text-primary: #ECEFF4;
    --text-secondary: #90A0C0;
    --text-muted: #64748B;
    --text-dark: #0A0F1D;

    /* Fonts */
    --font-title: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

    /* Layout & Shadows */
    --max-width: 1200px;
    --header-height: 80px;
    --border-radius-sm: 8px;
    --border-radius-md: 16px;
    --border-radius-lg: 24px;
    
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.2), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.3), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-glow: 0 0 20px var(--primary-glow);
    --shadow-glow-accent: 0 0 20px var(--accent-glow);

    /* Transitions */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- Modern Reset & Base --- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-height);
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-light);
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

/* --- Layout Utilities --- */
.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

.section-padding {
    padding: 100px 0;
}

/* --- Text Customizations --- */
.accent-text {
    color: var(--primary);
}

.text-white {
    color: var(--text-white) !important;
}

.text-gray {
    color: var(--text-secondary) !important;
}

.text-accent {
    color: var(--accent) !important;
}

.text-gradient {
    background: linear-gradient(135deg, #5D8CFF 0%, var(--primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-gradient-orange {
    background: linear-gradient(135deg, #FF9E59 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* --- Section Title Styles --- */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px auto;
}

.section-tag {
    display: inline-block;
    padding: 6px 16px;
    background-color: hsla(var(--primary-h), var(--primary-s), var(--primary-l), 0.1);
    color: var(--primary);
    font-family: var(--font-title);
    font-weight: 600;
    font-size: 14px;
    border-radius: 30px;
    margin-bottom: 16px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.section-tag.tag-orange {
    background-color: hsla(var(--accent-h), var(--accent-s), var(--accent-l), 0.1);
    color: var(--accent);
}

.section-title {
    font-family: var(--font-title);
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.2;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.section-description {
    font-size: 1.125rem;
    color: var(--text-muted);
}

/* --- Buttons System --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    font-family: var(--font-title);
    font-weight: 600;
    font-size: 16px;
    border-radius: var(--border-radius-sm);
    cursor: pointer;
    transition: var(--transition-normal);
    border: none;
    outline: none;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--text-white);
    box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px hsla(var(--primary-h), var(--primary-s), var(--primary-l), 0.4);
}

.btn-secondary {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--text-white);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.btn-block {
    width: 100%;
}

/* ==========================================================================
   HEADER & STICKY NAVIGATION
   ========================================================================== */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background-color: rgba(244, 246, 252, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    z-index: 1000;
    transition: var(--transition-normal);
}

.main-header.scrolled {
    background-color: rgba(10, 15, 29, 0.95);
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    box-shadow: var(--shadow-md);
}

.main-header.scrolled .logo-text {
    color: var(--text-white);
}

.main-header.scrolled .nav-link {
    color: var(--text-secondary);
}

.main-header.scrolled .nav-link:hover, 
.main-header.scrolled .nav-link.active {
    color: var(--text-white);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-title);
    font-weight: 800;
    font-size: 22px;
    color: var(--text-dark);
}

.logo-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--text-white);
    border-radius: 10px;
    box-shadow: var(--shadow-glow);
}

.logo-icon svg {
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-link {
    font-weight: 500;
    font-size: 15px;
    color: var(--text-muted);
    padding: 10px 0;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: var(--transition-normal);
}

.nav-link:hover, .nav-link.active {
    color: var(--primary);
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.nav-btn {
    padding: 10px 22px;
    background-color: var(--primary);
    color: var(--text-white);
    font-weight: 600;
    font-size: 14px;
    border-radius: var(--border-radius-sm);
    box-shadow: var(--shadow-glow);
}

.nav-btn:hover {
    background-color: var(--primary-dark);
    transform: translateY(-1px);
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.mobile-toggle .bar {
    width: 100%;
    height: 2px;
    background-color: var(--text-dark);
    border-radius: 2px;
    transition: var(--transition-normal);
}

.main-header.scrolled .mobile-toggle .bar {
    background-color: var(--text-white);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
    position: relative;
    padding-top: calc(var(--header-height) + 60px);
    padding-bottom: 120px;
    min-height: 95vh;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: var(--text-white);
    overflow: hidden;
}

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

.hero-content {
    max-width: 750px;
}

.hero-content .badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    background-color: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 40px;
    font-family: var(--font-title);
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.5px;
    color: #5D8CFF;
    margin-bottom: 24px;
    backdrop-filter: blur(5px);
}

.badge-dot {
    width: 8px;
    height: 8px;
    background-color: var(--accent);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--accent);
    animation: pulse 1.8s infinite;
}

.hero-title {
    font-family: var(--font-title);
    font-size: 3.75rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 24px;
    letter-spacing: -0.5px;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 35px;
    line-height: 1.6;
}

.hero-info-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 20px;
    margin-bottom: 40px;
}

.hero-info-tags span {
    font-family: var(--font-title);
    font-weight: 500;
    font-size: 15px;
    background-color: rgba(0, 51, 255, 0.15);
    border: 1px solid rgba(0, 51, 255, 0.3);
    padding: 6px 16px;
    border-radius: 8px;
}

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

.hero-actions svg {
    transition: transform var(--transition-fast);
}

.hero-actions .btn-secondary:hover svg {
    transform: translateX(4px);
}

.hero-waves {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    z-index: 1;
}

.hero-waves svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 60px;
}

.hero-waves .shape-fill {
    fill: var(--bg-light);
}

/* ==========================================================================
   SERVICES SECTION
   ========================================================================== */
.services-section {
    background-color: var(--bg-light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    background-color: var(--text-white);
    border-radius: var(--border-radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-slow);
    border: 1px solid rgba(0, 0, 0, 0.03);
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(0, 51, 255, 0.1);
}

.service-image-wrapper {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.service-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.service-card:hover .service-image-wrapper img {
    scale: 1.08;
}

.service-icon-floating {
    position: absolute;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background-color: var(--primary);
    color: var(--text-white);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
    z-index: 2;
    transition: var(--transition-normal);
}

.service-card:hover .service-icon-floating {
    background-color: var(--accent);
    transform: rotate(15deg);
    box-shadow: var(--shadow-glow-accent);
}

.service-card-body {
    padding: 30px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.service-card-title {
    font-family: var(--font-title);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.service-card-text {
    font-size: 15px;
    color: var(--text-muted);
    margin-bottom: 20px;
    flex-grow: 1;
}

.service-features {
    margin-bottom: 30px;
    padding-top: 15px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.service-features li {
    font-size: 14px;
    color: var(--text-dark);
    font-weight: 500;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.service-features li::before {
    content: "✓";
    color: var(--primary);
    font-weight: 700;
}

.service-card:hover .service-features li::before {
    color: var(--accent);
}

.service-card-footer {
    padding-top: 10px;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-title);
    font-weight: 600;
    font-size: 15px;
    color: var(--primary);
}

.service-link svg {
    transition: transform var(--transition-fast);
}

.service-link:hover {
    color: var(--accent);
}

.service-link:hover svg {
    transform: translateX(4px);
}

/* ==========================================================================
   WHY CHOOSE US SECTION (CONFIDENCE)
   ========================================================================== */
.why-us-section {
    background-color: var(--bg-dark);
    position: relative;
    overflow: hidden;
}

.why-us-section::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0,51,255,0.06) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.why-us-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 60px;
    align-items: center;
}

.why-us-content {
    padding-right: 20px;
}

.stats-row {
    display: flex;
    gap: 40px;
    margin-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 40px;
}

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

.stat-num {
    font-family: var(--font-title);
    font-size: 2.75rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.why-us-features {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.feature-box {
    display: flex;
    gap: 20px;
    padding: 24px;
    background-color: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius-md);
    transition: var(--transition-normal);
}

.feature-box:hover {
    background-color: rgba(255, 255, 255, 0.04);
    border-color: rgba(0, 51, 255, 0.2);
    transform: translateX(5px);
}

.feature-icon {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    background-color: rgba(0, 51, 255, 0.1);
    color: var(--primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-normal);
    border: 1px solid rgba(0, 51, 255, 0.2);
}

.feature-box:hover .feature-icon {
    background-color: var(--primary);
    color: var(--text-white);
    box-shadow: var(--shadow-glow);
}

.feature-info {
    flex-grow: 1;
}

.feature-title {
    font-family: var(--font-title);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text-white);
    margin-bottom: 8px;
}

.feature-desc {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* ==========================================================================
   PROJECTS / GALLERY SECTION
   ========================================================================== */
.gallery-section {
    background-color: var(--bg-light);
}

.gallery-filters {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 45px;
    flex-wrap: wrap;
}

.filter-btn {
    background-color: var(--text-white);
    border: 1px solid rgba(0, 0, 0, 0.05);
    padding: 10px 24px;
    font-family: var(--font-title);
    font-weight: 600;
    font-size: 14px;
    border-radius: 30px;
    cursor: pointer;
    transition: var(--transition-normal);
    color: var(--text-muted);
}

.filter-btn:hover, .filter-btn.active {
    background-color: var(--primary);
    color: var(--text-white);
    border-color: var(--primary);
    box-shadow: var(--shadow-glow);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.gallery-item {
    transition: transform var(--transition-slow), opacity var(--transition-slow);
}

.project-card {
    position: relative;
    border-radius: var(--border-radius-md);
    overflow: hidden;
    aspect-ratio: 4 / 3;
    box-shadow: var(--shadow-sm);
}

.project-img-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.project-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(to top, rgba(10, 15, 29, 0.95) 0%, rgba(10, 15, 29, 0.4) 60%, transparent 100%);
    padding: 30px;
    display: flex;
    align-items: flex-end;
    opacity: 0;
    transition: var(--transition-normal);
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-details {
    transform: translateY(20px);
    transition: transform var(--transition-normal);
}

.project-card:hover .project-details {
    transform: translateY(0);
}

.project-category {
    font-family: var(--font-title);
    font-size: 12px;
    font-weight: 700;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
    display: inline-block;
}

.project-name {
    font-family: var(--font-title);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 8px;
}

.project-desc {
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 12px;
    line-height: 1.4;
}

.project-location {
    font-size: 12px;
    font-weight: 500;
    color: var(--text-white);
}

/* ==========================================================================
   TESTIMONIALS SECTION
   ========================================================================== */
.testimonials-section {
    background-color: var(--bg-dark);
}

.testimonials-carousel-wrapper {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.testimonials-carousel {
    overflow: hidden;
    position: relative;
    min-height: 250px;
}

.testimonial-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0.5s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.testimonial-slide.active {
    position: relative;
    opacity: 1;
    visibility: visible;
}

.testimonial-rating {
    font-size: 20px;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.testimonial-text {
    font-family: var(--font-body);
    font-size: 1.25rem;
    font-style: italic;
    line-height: 1.7;
    color: var(--text-primary);
    margin-bottom: 30px;
}

.testimonial-user {
    display: flex;
    align-items: center;
    gap: 15px;
}

.user-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    color: var(--text-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-title);
    font-weight: 700;
    font-size: 16px;
    box-shadow: var(--shadow-sm);
}

.user-info {
    text-align: left;
}

.user-name {
    display: block;
    font-family: var(--font-title);
    font-weight: 600;
    font-size: 16px;
    color: var(--text-white);
}

.user-meta {
    font-size: 13px;
    color: var(--text-secondary);
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 40px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.15);
    border: none;
    cursor: pointer;
    transition: var(--transition-fast);
}

.dot:hover {
    background-color: rgba(255, 255, 255, 0.4);
}

.dot.active {
    width: 28px;
    border-radius: 10px;
    background-color: var(--primary);
    box-shadow: var(--shadow-glow);
}

/* ==========================================================================
   COVERAGE ZONE SECTION
   ========================================================================== */
.coverage-section {
    background-color: var(--bg-light);
}

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

.coverage-locations {
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin-top: 35px;
}

.coverage-block {
    padding-left: 20px;
    border-left: 3px solid var(--primary);
}

.coverage-block h3 {
    font-family: var(--font-title);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.coverage-block p {
    font-size: 14px;
    color: var(--text-muted);
}

.coverage-visual {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Simulated Radar Coverage Widget */
.map-radar {
    position: relative;
    width: 360px;
    height: 360px;
    background-color: var(--bg-dark);
    border-radius: 50%;
    box-shadow: var(--shadow-lg), 0 0 0 10px rgba(0, 51, 255, 0.02);
    border: 1px solid rgba(0, 51, 255, 0.1);
    overflow: hidden;
}

.radar-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 280px;
    height: 280px;
    border: 1px dashed rgba(0, 51, 255, 0.15);
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

.radar-circle.circle-2 {
    width: 200px;
    height: 200px;
}

.radar-circle.circle-3 {
    width: 100px;
    height: 100px;
}

.radar-sweep {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: conic-gradient(from 0deg at 50% 50%, rgba(0, 51, 255, 0.2) 0deg, transparent 90deg, transparent 360deg);
    border-radius: 50%;
    animation: rotate 6s linear infinite;
    transform-origin: center;
    pointer-events: none;
}

/* Pulsing region markers on radar */
.marker {
    position: absolute;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: var(--primary);
    box-shadow: 0 0 10px var(--primary);
    cursor: pointer;
}

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

.marker::before {
    content: attr(data-label);
    position: absolute;
    bottom: 18px;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(10, 15, 29, 0.9);
    color: var(--text-white);
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 11px;
    font-family: var(--font-title);
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-fast);
    pointer-events: none;
}

.marker:hover::before {
    opacity: 1;
    visibility: visible;
}

.marker-caba {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: var(--accent);
    box-shadow: 0 0 10px var(--accent);
}
.marker-caba::after {
    border-color: var(--accent);
}

.marker-norte {
    top: 25%;
    left: 45%;
}

.marker-oeste {
    top: 58%;
    left: 28%;
}

.marker-sur {
    top: 68%;
    left: 64%;
}

.radar-overlay-text {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    font-family: var(--font-title);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: var(--text-secondary);
    background-color: rgba(10, 15, 29, 0.6);
    padding: 4px 14px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

/* ==========================================================================
   CONTACT SECTION
   ========================================================================== */
.contact-section {
    background-color: var(--bg-dark);
}

.contact-layout {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 60px;
}

.contact-sidebar-text {
    font-size: 16px;
    margin-bottom: 35px;
}

.contact-info-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 40px;
}

.contact-info-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 16px 20px;
    background-color: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: var(--border-radius-sm);
    transition: var(--transition-normal);
}

.contact-info-item:hover {
    background-color: rgba(255, 255, 255, 0.04);
    border-color: rgba(0, 51, 255, 0.15);
    transform: translateX(4px);
}

.contact-info-icon {
    width: 48px;
    height: 48px;
    background-color: rgba(0, 51, 255, 0.1);
    color: var(--primary);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-info-text {
    display: flex;
    flex-direction: column;
}

.contact-info-text .label {
    font-size: 12px;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 2px;
}

.contact-info-text .value {
    font-family: var(--font-title);
    font-size: 16px;
    font-weight: 600;
    color: var(--text-white);
}

/* Hours Status Box */
.hours-box {
    background-color: rgba(255, 255, 255, 0.01);
    border: 1px solid rgba(255, 255, 255, 0.04);
    padding: 24px;
    border-radius: var(--border-radius-md);
}

.hours-status-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.hours-status-header h4 {
    font-family: var(--font-title);
    font-size: 16px;
    font-weight: 600;
    color: var(--text-white);
}

.status-badge {
    padding: 4px 10px;
    font-size: 11px;
    font-weight: 700;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-badge.open {
    background-color: rgba(34, 197, 94, 0.15);
    color: #4ade80;
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.status-badge.closed {
    background-color: rgba(239, 68, 68, 0.15);
    color: #f87171;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.hours-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.hours-row {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
}

.hours-row span {
    color: var(--text-secondary);
}

.hours-row strong {
    color: var(--text-white);
}

/* Contact Form Card */
.contact-form-card {
    background-color: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-lg);
}

.form-title {
    font-family: var(--font-title);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 8px;
}

.form-subtitle {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 30px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-family: var(--font-title);
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
}

.form-group input, 
.form-group select, 
.form-group textarea {
    background-color: rgba(10, 15, 29, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--border-radius-sm);
    padding: 12px 16px;
    color: var(--text-white);
    font-family: var(--font-body);
    font-size: 14px;
    outline: none;
    transition: var(--transition-fast);
}

.form-group input::placeholder, 
.form-group textarea::placeholder {
    color: var(--text-muted);
}

.form-group input:focus, 
.form-group select:focus, 
.form-group textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 10px rgba(0, 51, 255, 0.2);
}

.form-group select {
    cursor: pointer;
}

.form-group select option {
    background-color: var(--bg-card);
    color: var(--text-white);
}

/* Form Errors */
.form-group.invalid input,
.form-group.invalid select,
.form-group.invalid textarea {
    border-color: #ef4444;
}

.error-msg {
    font-size: 11px;
    color: #f87171;
    display: none;
}

.form-group.invalid .error-msg {
    display: block;
}

/* Spinner and button loading state */
#btn-submit-form {
    position: relative;
}

#btn-submit-form.loading .btn-text {
    opacity: 0;
}

#btn-submit-form.loading .spinner {
    display: block;
}

.spinner {
    display: none;
    width: 20px;
    height: 20px;
    border: 2.5px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: var(--text-white);
    animation: rotate 1s linear infinite;
    position: absolute;
}

/* Success message */
.form-alert {
    display: none;
    align-items: flex-start;
    gap: 15px;
    padding: 20px;
    background-color: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.2);
    border-radius: var(--border-radius-sm);
    color: #4ade80;
    margin-top: 10px;
    animation: slideUp 0.35s ease forwards;
}

.form-alert.visible {
    display: flex;
}

.alert-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background-color: rgba(34, 197, 94, 0.2);
    border-radius: 50%;
    font-weight: bold;
    flex-shrink: 0;
}

.alert-content h4 {
    font-family: var(--font-title);
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 4px;
}

.alert-content p {
    font-size: 13px;
    color: var(--text-secondary);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.main-footer {
    background-color: #050811;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-secondary);
    padding: 80px 0 30px 0;
}

.footer-top {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-brand .logo {
    color: var(--text-white);
    margin-bottom: 20px;
}

.footer-desc {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 25px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-links a:hover {
    background-color: var(--primary);
    color: var(--text-white);
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.footer-links-col h4 {
    font-family: var(--font-title);
    font-size: 16px;
    font-weight: 600;
    color: var(--text-white);
    margin-bottom: 25px;
}

.footer-links-col ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links-col a {
    font-size: 14px;
    color: var(--text-secondary);
}

.footer-links-col a:hover {
    color: var(--primary);
    padding-left: 4px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 30px;
    font-size: 13px;
    flex-wrap: wrap;
    gap: 20px;
}

.technical-info {
    font-family: var(--font-title);
    font-weight: 600;
    color: var(--text-muted);
}

/* ==========================================================================
   FLOATING WHATSAPP BUTTON
   ========================================================================== */
.whatsapp-floating {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: var(--text-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: var(--transition-normal);
}

.whatsapp-floating::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid #25D366;
    animation: pulseGlow 1.8s infinite;
    pointer-events: none;
}

.whatsapp-floating:hover {
    transform: scale(1.08) translateY(-2px);
    box-shadow: 0 15px 30px rgba(37, 211, 102, 0.5);
    background-color: #20ba59;
}

.whatsapp-tooltip {
    position: absolute;
    right: 75px;
    background-color: #0A0F1D;
    color: var(--text-white);
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 12px;
    font-family: var(--font-title);
    font-weight: 600;
    white-space: nowrap;
    box-shadow: var(--shadow-md);
    opacity: 0;
    visibility: hidden;
    transform: translateX(10px);
    transition: var(--transition-fast);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.whatsapp-floating:hover .whatsapp-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

/* ==========================================================================
   ANIMATIONS & EFFECTS
   ========================================================================== */
@keyframes pulse {
    0% { transform: scale(0.9); opacity: 0.6; }
    50% { transform: scale(1.15); opacity: 1; }
    100% { transform: scale(0.9); opacity: 0.6; }
}

@keyframes pulseGlow {
    0% { transform: scale(1); opacity: 0.8; }
    100% { transform: scale(1.5); opacity: 0; }
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

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

/* IntersectionObserver Animation Classes */
.reveal-item {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-item.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-card {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-card.active {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================================================
   RESPONSIVE DESIGN (MEDIA QUERIES)
   ========================================================================== */
@media (max-width: 1024px) {
    .section-title {
        font-size: 2.15rem;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .why-us-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .why-us-content {
        padding-right: 0;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .coverage-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .coverage-visual {
        order: -1;
    }
    
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 50px;
    }
}

@media (max-width: 768px) {
    body {
        font-size: 15px;
    }

    .section-padding {
        padding: 70px 0;
    }
    
    /* Sticky header mobile adjustments */
    .mobile-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: var(--header-height);
        left: -100%;
        width: 100%;
        height: calc(100vh - var(--header-height));
        background-color: var(--bg-dark);
        padding: 40px;
        transition: var(--transition-normal);
        overflow-y: auto;
    }

    .nav-menu.open {
        left: 0;
    }
    
    .nav-list {
        flex-direction: column;
        align-items: flex-start;
        gap: 30px;
    }
    
    .nav-link {
        font-size: 18px;
        color: var(--text-secondary);
    }
    
    .nav-btn {
        display: block;
        text-align: center;
        width: 100%;
    }
    
    /* Hamburger Active */
    .mobile-toggle.open .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
        background-color: var(--text-white);
    }
    
    .mobile-toggle.open .bar:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-toggle.open .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
        background-color: var(--text-white);
    }

    .hero-title {
        font-size: 2.35rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }
    
    .hero-actions .btn {
        width: 100%;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-row {
        gap: 20px;
        justify-content: space-between;
    }
    
    .stat-num {
        font-size: 2rem;
    }
    
    .footer-top {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    .hero-title {
        font-size: 1.85rem;
    }
    
    .map-radar {
        width: 300px;
        height: 300px;
    }
    
    .radar-circle {
        width: 240px;
        height: 240px;
    }
    
    .radar-circle.circle-2 {
        width: 160px;
        height: 160px;
    }
    
    .radar-circle.circle-3 {
        width: 80px;
        height: 80px;
    }
    
    .whatsapp-floating {
        bottom: 20px;
        right: 20px;
        width: 52px;
        height: 52px;
    }
    
    .contact-form-card {
        padding: 24px;
    }
}
