/* MICRONETDATA Redesign - Alarma24 Style */
/* Primary Colors from original site, Structure from Alarma24.com */

@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
    --bg-dark: #07111f;
    --bg-surface: #0d1b2e;
    --primary: #0f4c81;
    --primary-deep: #082949;
    --accent: #ffb703; /* Original Golden Yellow */
    --accent-hover: #ffd166;
    --text-white: #ffffff;
    --text-muted: rgba(255, 255, 255, 0.7);
    --text-dark: #1c2633;
    --white: #ffffff;
    --gray-light: #f4f7fb;
    --border-color: rgba(255, 255, 255, 0.1);
    --shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    --radius: 12px;
    --container: 1200px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Manrope', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-white);
    line-height: 1.6;
    overflow-x: hidden;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

ul {
    list-style: none;
}

.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 20px;
}

/* Header & Top Bar */
.top-bar {
    background-color: rgba(0, 0, 0, 0.3);
    padding: 8px 0;
    font-size: 0.85rem;
    border-bottom: 1px solid var(--border-color);
}

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

.contact-info {
    display: flex;
    gap: 20px;
}

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

.site-header {
    background-color: rgba(7, 17, 31, 0.9);
    backdrop-filter: blur(10px);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.logo img {
    height: 50px;
}

/* Navigation */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.8rem;
    cursor: pointer;
}

.nav-menu {
    display: flex;
    gap: 30px;
}

.nav-link {
    font-weight: 600;
    font-size: 1rem;
    color: var(--white);
    position: relative;
    padding: 5px 0;
}

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

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

.nav-link.active {
    color: var(--accent);
}

/* Hero Carousel Section */
.hero {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    background-color: var(--bg-dark);
    overflow: hidden;
    padding: 100px 0;
}

.carousel-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 2s ease-in-out, transform 12s linear;
    transform: scale(1);
    z-index: 1;
}

.carousel-slide.active {
    opacity: 1;
    transform: scale(1.1);
}

.carousel-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        rgba(7, 17, 31, 0.85) 0%, 
        rgba(7, 17, 31, 0.5) 45%, 
        rgba(7, 17, 31, 0.2) 100%);
    z-index: 2;
}

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

.hero-content {
    max-width: 750px;
    animation: fadeInUp 1s ease-out forwards;
}

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

.hero-tagline {
    color: var(--accent);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
    display: block;
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    line-height: 1.1;
    margin-bottom: 25px;
    font-weight: 800;
    color: var(--white);
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 35px;
    color: var(--text-white);
    max-width: 600px;
}

.hero-btns {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    padding: 14px 30px;
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    cursor: pointer;
    border: none;
    display: inline-block;
    transition: 0.3s;
}

.btn-primary {
    background-color: var(--accent);
    color: var(--text-dark);
}

.btn-primary:hover {
    background-color: var(--accent-hover);
    transform: translateY(-3px);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--white);
    color: var(--white);
}

.btn-outline:hover {
    background-color: var(--white);
    color: var(--text-dark);
    transform: translateY(-3px);
}

/* Contact Strip (Alarma24 Style) */
.contact-strip {
    background: var(--white);
    color: var(--text-dark);
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    margin-top: -50px;
    position: relative;
    z-index: 10;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.strip-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    padding: 30px 20px;
    border-right: 1px solid rgba(0, 0, 0, 0.05);
    transition: 0.3s;
}

.strip-item:last-child {
    border-right: none;
}

.strip-item:hover {
    background-color: #f8f9fa;
}

.strip-item i {
    font-size: 2rem;
    color: var(--primary);
}

.strip-text strong {
    display: block;
    font-size: 0.85rem;
    text-transform: uppercase;
    color: var(--primary);
}

.strip-text span {
    font-size: 0.9rem;
    font-weight: 700;
}

.strip-item.active {
    background-color: var(--primary);
    color: var(--white);
}

.strip-item.active .strip-text strong {
    color: var(--accent);
}

/* Services Section */
.section-padding {
    padding: 100px 0;
}

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

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 15px;
    color: var(--accent);
}

.section-header p {
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto;
}

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

.service-card {
    background-color: var(--bg-surface);
    border-radius: var(--radius);
    overflow: hidden;
    transition: 0.4s;
    border: 1px solid var(--border-color);
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent);
    box-shadow: 0 10px 30px rgba(255, 183, 3, 0.2);
}

.service-img {
    height: 220px;
    width: 100%;
    object-fit: cover;
}

.service-body {
    padding: 25px;
}

.service-tag {
    color: var(--accent);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 10px;
    display: block;
}

.service-body h3 {
    margin-bottom: 15px;
    font-size: 1.4rem;
}

.service-body p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Pricing Packs (Alarma24 Style) */
.pricing {
    background-color: var(--bg-surface);
}

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

.pack-card {
    background: var(--white);
    color: var(--text-dark);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.pack-header {
    padding: 30px;
    text-align: center;
    color: var(--white);
}

.pack-basic .pack-header { background-color: var(--primary); }
.pack-classic .pack-header { background-color: var(--accent); }
.pack-premium .pack-header { background-color: #333; }

.pack-header h3 {
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 1.5rem;
}

.pack-body {
    padding: 40px 30px;
}

.pack-body p {
    margin-bottom: 25px;
    font-weight: 600;
}

.pack-list {
    margin-bottom: 30px;
}

.pack-list li {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.95rem;
}

.pack-list li::before {
    content: '✓';
    color: var(--primary);
    font-weight: 900;
}

/* Footer */
.site-footer {
    background-color: #050b14;
    padding: 80px 0 30px;
    border-top: 1px solid var(--border-color);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.footer-col h4 {
    color: var(--accent);
    margin-bottom: 25px;
    font-size: 1.2rem;
    text-transform: uppercase;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a:hover {
    color: var(--accent);
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Floating WhatsApp */
.whatsapp-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    transition: 0.3s;
}

.whatsapp-btn:hover {
    transform: scale(1.1);
}

.whatsapp-btn svg {
    fill: white;
    width: 35px;
    height: 35px;
}

/* Equipment Section */
.equipment-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px 30px;
    text-align: center;
}

.equipment-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    transition: 0.3s;
}

.equipment-item:hover {
    transform: translateY(-5px);
}

.equipment-item h3 {
    color: var(--primary-deep);
    font-size: 1.1rem;
    margin-bottom: 15px;
    font-weight: 800;
    text-transform: uppercase;
}

.equipment-item p {
    color: var(--text-dark);
    font-size: 0.85rem;
    margin-bottom: 25px;
    line-height: 1.6;
    min-height: 80px;
}

.equipment-item i {
    font-size: 3.5rem;
    color: var(--primary);
    background: var(--gray-light);
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin: 0 auto 20px auto;
    border: 2px solid var(--accent);
}

@media (max-width: 992px) {
    .equipment-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 576px) {
    .equipment-grid { grid-template-columns: 1fr; }
}

/* Radar Animation */
.radar-container {
    position: relative;
    width: 45px;
    height: 45px;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 50%;
    overflow: hidden;
    border: 1px solid rgba(29, 191, 115, 0.4);
}

.radar-sweep {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: conic-gradient(rgba(29, 191, 115, 0.8), rgba(29, 191, 115, 0.1) 28%, transparent 42%);
    animation: radar-spin 4s linear infinite;
}

.radar-core {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 6px;
    height: 6px;
    background: #1dbf73;
    border-radius: 50%;
    box-shadow: 0 0 10px #1dbf73;
    z-index: 2;
}

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

/* Biometric Section */
.biometric-section {
    background-color: var(--bg-dark);
    color: var(--white);
    padding: 100px 0;
    overflow: hidden;
    position: relative;
}

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

.biometric-visual {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 0 30px rgba(29, 191, 115, 0.2);
}

.biometric-visual img {
    width: 100%;
    transition: 0.5s;
    display: block;
}

.scan-line {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: #1dbf73;
    box-shadow: 0 0 15px #1dbf73;
    z-index: 5;
    animation: scan-move 3s linear infinite;
}

@keyframes scan-move {
    0% { top: 0; }
    100% { top: 100%; }
}

.biometric-content h2 {
    font-size: 2.8rem;
    margin-bottom: 25px;
    line-height: 1.2;
    font-weight: 800;
}

.biometric-content h2 span {
    color: var(--accent);
}

.feature-list {
    margin-top: 35px;
}

.feature-item {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    border-left: 4px solid var(--accent);
    transition: 0.3s;
}

.feature-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(10px);
}

.feature-item i {
    font-size: 1.5rem;
    color: var(--accent);
}

.feature-item h4 {
    margin-bottom: 5px;
    font-size: 1.1rem;
    color: var(--white);
}

.feature-item p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

@media (max-width: 992px) {
    .biometric-grid { grid-template-columns: 1fr; }
    .biometric-content h2 { font-size: 2.2rem; }
}

/* Partners Bar */
.partners-bar {
    background: rgba(255, 255, 255, 0.03);
    padding: 30px 0;
    border-bottom: 1px solid var(--border-color);
}

.partners-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    opacity: 0.6;
    filter: grayscale(1);
    flex-wrap: wrap;
}

.partner-item {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--white);
    letter-spacing: -1px;
}

/* Stats Section */
.stats-section {
    padding: 60px 0;
    background: linear-gradient(90deg, var(--primary-deep), var(--primary));
    color: var(--white);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
}

.stat-item h3 {
    font-size: 3rem;
    font-weight: 800;
    color: var(--accent);
    margin-bottom: 5px;
}

.stat-item p {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

@media (max-width: 768px) {
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .partners-flex { justify-content: center; }
}

/* Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(7, 17, 31, 0.85);
    backdrop-filter: blur(8px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal-overlay.active {
    display: flex;
    opacity: 1;
}

.modal-content {
    background: var(--white);
    color: var(--text-dark);
    max-width: 800px;
    width: 100%;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    transform: translateY(30px);
    transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
}

.modal-overlay.active .modal-content {
    transform: translateY(0);
}

.modal-header {
    position: relative;
    height: 250px;
}

.modal-header img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.modal-body {
    padding: 40px;
}

.modal-body h2 {
    color: var(--primary-deep);
    margin-bottom: 15px;
    font-size: 2rem;
}

.modal-body p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #444;
    margin-bottom: 25px;
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--white);
    color: var(--primary-deep);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    font-size: 1.2rem;
    transition: 0.3s;
}

.modal-close:hover {
    background: var(--accent);
    color: var(--text-dark);
    transform: rotate(90deg);
}

.modal-footer {
    padding: 0 40px 40px;
}

.service-card {
    cursor: pointer;
}

/* Industries Section */
.industries-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.industry-item {
    background-color: var(--white);
    color: var(--primary-deep);
    padding: 30px 20px;
    border-radius: var(--radius);
    text-align: center;
    font-weight: 800;
    box-shadow: var(--shadow);
    transition: 0.3s;
    border: 1px solid transparent;
}

.industry-item:hover {
    transform: translateY(-5px);
    border-color: var(--accent);
}

.industry-item i {
    display: block;
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: 15px;
}

/* Map Section */
.map-container {
    height: 350px;
    width: 100%;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    margin-top: 60px;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* Mobile Responsive */
@media (max-width: 992px) {
    .pricing-grid { grid-template-columns: 1fr; }
    .contact-strip { grid-template-columns: repeat(2, 1fr); margin-top: 20px; }
}

@media (max-width: 992px) {
    .nav-toggle {
        display: block !important;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        left: -100%;
        width: 80%;
        height: 100vh;
        background: var(--bg-dark);
        flex-direction: column;
        align-items: flex-start;
        padding: 100px 40px;
        transition: 0.5s cubic-bezier(0.77,0.2,0.05,1.0);
        z-index: 999;
        box-shadow: 10px 0 30px rgba(0,0,0,0.5);
    }

    .nav-menu.active {
        left: 0 !important;
    }

    .nav-link {
        font-size: 1.5rem;
        margin-bottom: 20px;
    }

    .header-cta {
        display: none !important;
    }
}

@media (max-width: 768px) {
    .hero h1 { font-size: 2.5rem; }
    .contact-strip { grid-template-columns: 1fr; }
    .hero-btns { flex-direction: column; }
    .btn { width: 100%; text-align: center; }
}

/* Monitoring Section Styles */
.monitoring-section {
    padding: 100px 0;
    background-color: var(--bg-surface);
    position: relative;
    overflow: hidden;
}

.monitoring-intro-top {
    text-align: center;
    margin-bottom: 60px;
}

.monitoring-intro-top h2 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    font-weight: 800;
}

.monitoring-intro-top h2 span {
    color: var(--accent);
}

.section-desc {
    color: var(--text-muted);
    font-size: 1.2rem;
    margin: 0 auto 40px;
    max-width: 800px;
}

.monitoring-main-showcase {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: stretch;
    margin-bottom: 60px;
}

.monitoring-image-large .image-wrapper {
    position: relative;
    border-radius: 30px;
    overflow: hidden;
    height: 100%;
    box-shadow: 0 30px 60px rgba(0,0,0,0.5);
}

.monitoring-image-large img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Equipment Showcase V3 (Image 3 Style) */
.equipment-showcase-v3 {
    margin-top: 60px;
    padding-top: 60px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.equipment-v3-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.eq-v3-item {
    text-align: center;
    padding: 20px 10px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    transition: 0.3s;
}

.eq-v3-item:hover {
    background: rgba(255, 183, 3, 0.05);
    border-color: var(--accent);
    transform: translateY(-5px);
}

.eq-num {
    position: absolute;
    top: 10px;
    left: 10px;
    width: 24px;
    height: 24px;
    background: var(--accent);
    color: var(--text-dark);
    border-radius: 50%;
    font-size: 0.75rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
}

.eq-icon {
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: 20px;
    margin-top: 10px;
}

.eq-v3-item strong {
    display: block;
    font-size: 0.85rem;
    color: var(--white);
    margin-bottom: 10px;
    line-height: 1.2;
}

.eq-v3-item span {
    font-size: 0.75rem;
    color: var(--text-muted);
    line-height: 1.4;
}

/* Advantages V4 (Panama Map Style) */
.advantages-panama-v4 {
    margin-top: 80px;
    padding: 80px 0;
    background: #000000;
    border-radius: 40px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.panama-map-container {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.map-center {
    width: 60%;
    position: relative;
    text-align: center;
    z-index: 1;
}

.map-center img {
    width: 100%;
    opacity: 1;
}

.map-overlay-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
}

.map-overlay-text strong {
    display: block;
    font-size: 1.5rem;
    color: var(--accent);
    text-shadow: 0 0 10px rgba(0,0,0,0.8);
}

.map-overlay-text span {
    color: var(--white);
    letter-spacing: 2px;
    font-size: 0.9rem;
}

.adv-v4-item {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 220px;
    z-index: 2;
}

.adv-icon-circle {
    width: 70px;
    height: 70px;
    background: var(--bg-dark);
    border: 2px solid var(--accent);
    color: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 15px;
    box-shadow: 0 0 20px rgba(255, 183, 3, 0.2);
}

.adv-v4-item span {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--white);
    line-height: 1.3;
}

.adv-plus {
    width: 20px;
    height: 20px;
    background: var(--accent);
    color: var(--text-dark);
    border-radius: 50%;
    font-weight: 800;
    margin-top: 10px;
}

/* Positions around the map */
.pos-tl { top: 10%; left: 5%; }
.pos-tr { top: 10%; right: 5%; }
.pos-bl { bottom: 10%; left: 10%; }
.pos-br { bottom: 10%; right: 10%; }

@media (max-width: 992px) {
    .equipment-v3-grid { grid-template-columns: repeat(3, 1fr); }
    .panama-map-container { height: auto; flex-direction: column; }
    .map-center { width: 100%; margin-bottom: 40px; }
    .adv-v4-item { position: relative; top: auto; left: auto; right: auto; bottom: auto; margin: 20px 0; width: 100%; }
}

@media (max-width: 576px) {
    .equipment-v3-grid { grid-template-columns: repeat(2, 1fr); }
}

.monitoring-image .image-wrapper {
    position: relative;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.monitoring-image img {
    width: 100%;
    transition: 0.5s;
}

.pulse-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
    height: 100px;
    background: rgba(255, 183, 3, 0.2);
    border-radius: 50%;
    animation: pulse-ring 2s infinite;
}

@keyframes pulse-ring {
    0% { transform: translate(-50%, -50%) scale(0.5); opacity: 0.8; }
    100% { transform: translate(-50%, -50%) scale(2); opacity: 0; }
}

/* Advantages Row */
.advantages-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    background: var(--bg-dark);
    padding: 60px 40px;
    border-radius: 25px;
    border: 1px solid var(--border-color);
}

.adv-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.adv-icon {
    width: 60px;
    height: 60px;
    flex-shrink: 0;
    background: rgba(255, 183, 3, 0.1);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    font-size: 1.5rem;
}

.adv-text strong {
    display: block;
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: var(--accent);
}

.adv-text span {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* Professional Monitoring Dashboard */
.monitoring-dashboard-pro {
    background: #050a12;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 25px;
    position: relative;
    overflow: hidden;
}

.dash-pro-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.dash-pro-title {
    display: flex;
    align-items: center;
    gap: 15px;
}

.dash-pro-title i {
    color: var(--accent);
    font-size: 1.5rem;
}

.dash-pro-title h4 {
    font-size: 1.1rem;
    color: var(--white);
    margin: 0;
}

.dash-pro-title p {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-family: monospace;
    margin: 0;
}

.dash-pro-meta {
    font-size: 0.7rem;
    font-family: monospace;
    color: var(--accent);
    display: flex;
    align-items: center;
    gap: 8px;
}

.live-pulse {
    width: 8px;
    height: 8px;
    background: #ff0000;
    border-radius: 50%;
    animation: status-pulse 1s infinite;
}

.dash-pro-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.dash-pro-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 15px;
    border-radius: 12px;
    display: flex;
    gap: 15px;
    align-items: center;
}

.dash-pro-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    font-size: 1.1rem;
}

.dash-pro-label {
    display: block;
    font-size: 0.65rem;
    font-weight: 800;
    color: var(--text-muted);
    letter-spacing: 1px;
}

.dash-pro-status {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 4px 0;
}

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

.dash-pro-status strong {
    font-size: 0.8rem;
    color: var(--white);
    font-family: monospace;
}

.dash-pro-id {
    font-size: 0.6rem;
    color: rgba(255, 255, 255, 0.3);
    font-family: monospace;
}

.dash-pro-footer {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.7rem;
    color: var(--accent);
    font-family: monospace;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.scan-line {
    height: 2px;
    width: 100%;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    animation: scan-move 3s linear infinite;
    opacity: 0.5;
}

.monitoring-dynamic-stack {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Responsive Adjustments for Monitoring Center */
@media (max-width: 1200px) {
    .panama-map-container { max-width: 900px; }
    .adv-v4-item { width: 180px; }
}

@media (max-width: 992px) {
    .monitoring-main-showcase { grid-template-columns: 1fr; }
    .equipment-v3-grid { grid-template-columns: repeat(3, 1fr); }
    
    .advantages-panama-v4 { padding: 40px 20px; margin-top: 40px; }
    .panama-map-container { 
        height: auto; 
        display: flex; 
        flex-direction: column; 
        gap: 30px;
    }
    
    .map-center { 
        width: 100%; 
        order: 0; 
        position: relative;
        margin-bottom: 20px;
        min-height: 200px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .map-center img { 
        width: 100%; 
        opacity: 0.5; 
        filter: brightness(0.8);
    }
    
    .map-overlay-text {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 90%;
    }
    
    .map-overlay-text strong { font-size: 1.2rem; }
    .map-overlay-text span { font-size: 0.8rem; }

    .adv-v4-item { 
        position: static !important; 
        width: 100%; 
        flex-direction: row; 
        align-items: center; 
        text-align: left; 
        gap: 15px;
        background: rgba(255, 255, 255, 0.03);
        padding: 15px;
        border-radius: 15px;
        border: 1px solid rgba(255, 255, 255, 0.05);
    }
    
    .adv-icon-circle { 
        width: 45px; 
        height: 45px; 
        font-size: 1.1rem; 
        margin-bottom: 0; 
        flex-shrink: 0;
    }
    
    .adv-v4-item span { font-size: 0.8rem; }
    .adv-plus { display: none; }
}

@media (max-width: 768px) {
    .monitoring-intro-top h2 { font-size: 2.5rem; }
    .equipment-v3-grid { grid-template-columns: repeat(2, 1fr); }
    .dash-pro-grid { grid-template-columns: 1fr; }
    .monitoring-section { padding: 60px 0; }
}

@media (max-width: 480px) {
    .equipment-v3-grid { grid-template-columns: 1fr; }
    .dash-pro-header { flex-direction: column; align-items: flex-start; gap: 10px; }
    .monitoring-intro-top h2 { font-size: 2rem; }
    .section-desc { font-size: 1rem; }
}

@keyframes scan-move {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

@keyframes status-pulse {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.5); opacity: 0.5; }
    100% { transform: scale(1); opacity: 1; }
}
