/* Variables de Diseño Moderno */
        :root {
            --bg-main: #fdf2d9;
            --bg-sidebar: #fbd486;
            --header-color: #f6ab00;
            --accent-text: #ae5d00;
            --link-color: #483d8b; /* slateblue */
            --shadow: 0 4px 6px rgba(0,0,0,0.1);
        }

        * { box-sizing: border-box; margin: 0; padding: 0; }

        body {
            font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
            background-color: var(--bg-main);
            display: grid;
            grid-template-rows: 80px 1fr; /* Cabecera fija y resto dinámico */
            height: 100-vh;
            min-height: 100vh;
        }

        /* 1. SECCIÓN: CABECERA */
        header {
            grid-column: 1 / -1;
            background-color: var(--header-color);
            display: flex;
            align-items: center;
            justify-content: center;
            box-shadow: var(--shadow);
            z-index: 10;
        }

        header h1 {
            color: white; /* var(--accent-text); */
            font-size: 1.4rem;
            text-transform: uppercase;
            letter-spacing: 1px;
        }

        /* Contenedor del Cuerpo (Sidebar + Resultados) */
        .main-container {
            display: grid;
            grid-template-columns: 350px 1fr; /* Menú de 350px y resultados flexible */
            overflow: hidden;
        }

        /* 2. SECCIÓN: CONTENIDO (MENÚ Y MAPA) */
        aside {
            background-color: var(--bg-sidebar);
            padding: 20px;
            overflow-y: auto;
            border-right: 2px solid rgba(0,0,0,0.05);
            display: flex;
            flex-direction: column;
            gap: 15px;
        }

        .nav-group {
            background: rgba(255,255,255,0.4);
            padding: 15px;
            border-radius: 8px;
        }

        .nav-link {
            display: block;
            color: var(--link-color);
            text-decoration: none;
            font-weight: 600;
            margin-bottom: 12px;
            font-size: 0.95rem;
            transition: transform 0.2s;
        }

        .nav-link:hover {
            color: var(--accent-text);
            transform: translateX(5px);
        }

        .map-wrapper {
            text-align: center;
            margin-top: 10px;
        }

        .map-wrapper img {
            max-width: 100%;
            height: auto;
            border-radius: 10px;
        }

        #status-bar {
            margin-top: 10px;
            font-size: 0.85rem;
            color: var(--accent-text);
            font-weight: bold;
            height: 20px;
        }

        /* 3. SECCIÓN: RESULTADOS */
        #result-area {
            background-color: #ffffff;
            position: relative;
        }

        #result-area iframe {
            width: 100%;
            height: 100%;
            border: none;
        }

        /* Responsividad para móviles */
        @media (max-width: 900px) {
            .main-container {
                grid-template-columns: 1fr;
                grid-template-rows: auto 500px;
            }
            aside { border-right: none; border-bottom: 2px solid rgba(0,0,0,0.1); }
        }