/* styles.css - Estilos globales para EasyMoving en Astro */
:root {
    --em-text-sec: #333;
    --em-text-terc: #444;
}

body {
    margin: 0;
    font-family: 'Segoe UI', Arial, sans-serif;
    background: #f7f9fb;
    color: #222;
}

section {
    margin-bottom: 48px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    padding: 32px 24px;
}

h1,
h2,
h3 {
    color: #1a73e8;
    margin-top: 0;
}

header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 32px;
}

.logo {
    width: 56px;
    height: 56px;
    background: #1a73e8;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 2rem;
    font-weight: bold;
}

footer {
    text-align: center;
    color: #888;
    font-size: 0.95rem;
    margin-top: 48px;
}

/* Modo oscuro automático según preferencia del sistema */
@media (prefers-color-scheme: dark) {
    :root {
        --em-text-sec: #cfd8dc;
        --em-text-terc: #b0bec5;
    }

    body {
        background: #181a1b;
        color: #e3e6eb;
    }

    section {
        background: #23272a;
        box-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
    }

    h1,
    h2,
    h3 {
        color: #8ab4f8;
    }

    .logo {
        background: #8ab4f8;
        color: #181a1b;
    }

    footer {
        color: #aaa;
    }
}

@media (max-width: 700px) {
    section {
        padding: 18px 8px;
    }

    header {
        flex-direction: column;
        gap: 8px;
    }
}