    /* ============================
    VARIABLES
    ============================ */
    :root {
    /* Paleta de colores inspirada en el volante */
    --primary-color: #1a4f76; /* Azul oscuro */
    --secondary-color: #295873; /* Azul medio */
    --accent-color: #2d6a9f; /* Azul claro */
    --text-dark: #333333; /* Texto principal */
    --text-light: #ffffff; /* Texto claro */
    --bg-light: #f9f9f9; /* Fondo claro */
    --bg-white: #ffffff; /* Blanco puro */
    --max-width: 1200px;
    --transition-fast: 0.3s ease-in-out;
    }

    /* ============================
    GLOBAL RESET & BASE (MOBILE FIRST)
    ============================ */
    *,
    *::before,
    *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    }

    html {
    scroll-behavior: smooth;
    }

    body {
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-dark);
    background-color: var(--bg-light);
    line-height: 1.6;
    }

    a {
    color: inherit;
    text-decoration: none;
    }

    img {
    display: block;
    max-width: 100%;
    height: auto;
    }

    /* ============================
    CONTAINERS & UTILITIES
    ============================ */
    .container {
    width: clamp(360px, 90%, var(--max-width));
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 2rem 0;
    }

    .section-title {
    text-align: center;
    font-size: 1.75rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    }

    /* Espacio para que el contenido no quede debajo del nav fijo */
    .spacer {
    height: 4rem;
    }

    /* ============================
    NAVBAR (MOBILE FIRST)
    ============================ */
    .navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--bg-white);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    }

    /* Contenedor interno con logo + botón + enlaces */
    .nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1rem;
    }

    /* Logo */
    .logo {
    font-size: 1.25rem;
    font-weight: bold;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: end;
    gap: 2px;
    }

    .logo__img {
        width: clamp(32px, 5vw, 48px);
    }

    /* BOTÓN del menú hamburguesa (base = visible en MOBILE) */
    .menu-toggle {
    background: transparent;
    border: none;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    tap-highlight-color: transparent;
    padding: 0.25rem;
    display: flex;
    align-items: center;
    user-select: none;
    }
    
    .menu-toggle:focus, .menu-toggle:active {
        outline: none;
        box-shadow: none;
        background-color: transparent;
    }

    .menu-toggle .material-symbols-outlined {
    font-size: 2rem;
    color: var(--text-dark);
    user-select: none;
    }

    /* Navegación (base = OCULTA en MOBILE) */
    .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--bg-white);
    flex-direction: column;
    list-style: none;
    display: none;         /* mobile-first: inicialmente oculta */
    border-top: 1px solid #e2e2e2;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    z-index: 999;
    }

    /* Cuando .nav-links tiene .nav-open, se muestra */
    .nav-links.nav-open {
    display: flex;         /* flex-column */
    }

    /* Cada enlace, ocupando 100% ancho, padding más grande para “clic” cómodo */
    .nav-links li {
    width: 100%;
    }

    .nav-links li a {
    display: block;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    color: var(--text-dark);
    transition: background var(--transition-fast);
    }

    .nav-links li a:hover {
    background-color: var(--bg-light);
    }

    /* ============================
        HERO SECTION
    ============================ */
    .hero {
    position: relative;
    width: 100%;
    height: 100dvh;
    overflow: hidden;
    }

    .hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100dvw;
    height: 100dvh;
    object-fit: cover;
    }

    .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(26, 79, 118, 0.6);
    }

    .hero-content {
    position: relative;
    z-index: 1;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: var(--text-light);
    padding: 0 1rem; /* Espacio lateral en móviles */
    }

    .hero-content h1 {
    font-size: 2rem;
    letter-spacing: 1.5px;
    margin-bottom: 0.5rem;
    }

    .hero-content p {
    font-size: 1rem;
    }

    /* ============================
    SERVICES SECTION
    ============================ */
    .services-section {
    background-color: var(--bg-white);
    padding-top: 3rem;
    padding-bottom: 3rem;
    }

    .service-list {
    display: grid;
    grid-template-columns: 1fr; /* MOBILE: una sola columna */
    gap: 1.5rem;
    }

    /* Cada servicio = tarjeta */
    .service-item {
    background-color: var(--bg-light);
    border-radius: 8px;
    padding: 1rem;
    text-align: center;
    transition: transform var(--transition-fast),
        box-shadow var(--transition-fast);
    }

    .service-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
    }

    .icon-wrapper {
    width: 50px;
    height: 50px;
    margin: 0 auto 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    }

    .icon-wrapper .material-symbols-outlined {
    font-size: 2rem; /* MOBILE: tamaño más pequeño */
    color: var(--accent-color);
    }

    .sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
    }

    .service-content h3 {
    font-size: 1.1rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    }

    .service-content p {
    font-size: 0.9rem;
    color: var(--text-dark);
    }

    /* ============================
    CONTACT SECTION
    ============================ */
    .contact-section {
    background-color: var(--bg-white);
    padding-top: 2rem;
    padding-bottom: 2rem;
    }

    .contact-form {
    max-width: 100%;
    width: 100%;
    margin: 0 auto;
    padding: 1.5rem;
    background-color: var(--bg-light);
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    }

    .form-group {
    margin-bottom: 1rem;
    }

    .form-group label {
    display: block;
    margin-bottom: 0.4rem;
    font-weight: 600;
    color: var(--primary-color);
    font-size: 0.9rem;
    }

    .form-group input,
    .form-group textarea {
    width: 100%;
    padding: 0.6rem;
    border: 1px solid #cccccc;
    border-radius: 4px;
    font-size: 0.95rem;
    resize: vertical;
    }

    .form-group input:focus,
    .form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 2px rgba(45, 106, 159, 0.2);
    }

    .btn-submit {
    width: 100%;
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--text-light);
    padding: 0.75rem;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    text-align: center;
    cursor: pointer;
    transition: background-color var(--transition-fast);
    }

    .btn-submit:hover {
    background-color: var(--secondary-color);
    }

    /* ============================
        FAQ SECTION
    ============================ */
    .faq-section {
    background-color: var(--bg-white);
    padding-top: 2rem;
    padding-bottom: 2rem;
    }

    .faq-section details {
    background-color: var(--bg-light);
    border: 1px solid #dddddd;
    border-radius: 4px;
    padding: 1rem 1rem;
    margin-bottom: 1rem;
    }

    .faq-section summary {
    font-weight: 600;
    cursor: pointer;
    color: var(--primary-color);
    list-style: none;
    }

    .faq-section summary::marker {
    color: transparent;
    }

    .faq-section details[open] summary {
    color: var(--accent-color);
    }

    .faq-section p {
    margin-top: 0.75rem;
    font-size: 0.9rem;
    color: var(--text-dark);
    }

    /* ============================
    FOOTER SECTION
    ============================ */
    .site-footer {
    background-color: var(--secondary-color);
    color: var(--text-light);
    text-align: center;
    padding: 1.5rem 1rem;
    }

    .site-footer a {
    color: var(--bg-light);
    font-weight: bold;
    }

    .site-footer a:hover {
    text-decoration: underline;
    }

    /* ============================
        MEDIA QUERIES (DESKTOP)
    (mínimo ancho en cada caso)
    ============================ */

    /* ----------------------------
    En pantallas ≥ 600px (tablets pequeñas)
    ---------------------------- */
    @media (min-width: 600px) {
    .hero {
        height: 90vh;
    }
    .hero-content h1 {
        font-size: 2.5rem;
    }
    .hero-content p {
        font-size: 1.1rem;
    }

    /* Servicios: pasar a 2 columnas */
    .service-list {
        grid-template-columns: repeat(2, 1fr);
    }

    .section-title {
        font-size: 1.9rem;
    }

    .form-group label {
        font-size: 1rem;
    }
    }

    /* ----------------------------
    En pantallas ≥ 768px (tablets grandes / escritorio pequeño)
    ---------------------------- */
    @media (min-width: 768px) {
    /* NAVBAR: esconder botón hamburguesa y mostrar enlaces en fila */
    .menu-toggle {
        display: none;
    }
    .nav-links {
        position: static;    /* ya no es fijo abajo */
        display: flex !important; /* forzar flex horizontal */
        flex-direction: row;
        gap: 1.5rem;
        background: none;
        box-shadow: none;
        border: none;
        width: auto;
    }
    .nav-links li a {
        padding: 0;
        font-size: 1rem;
    }
    .nav-links li a:hover {
        background: transparent;
        color: var(--accent-color);
    }

    .nav-links.nav-open {
        display: flex; /* solo sirve si alguna vez queremos abrirlo desde JS, pero en desktop está siempre visible */
    }

    /* Hero más grande */
    .hero {
        height: 100vh;
    }

    /* Servicios: pasar a 3 columnas */
    .service-list {
        grid-template-columns: repeat(3, 1fr);
    }

    .service-item {
        padding: 1.25rem;
    }

    .service-content h3 {
        font-size: 1.2rem;
    }
    .service-content p {
        font-size: 0.95rem;
    }

    .section-title {
        font-size: 2rem;
    }

    /* Formularios: centrar y limitar ancho */
    .contact-form {
        max-width: 600px;
        margin: 0 auto;
    }

    /* FAQ: aumentar tamaño de texto */
    .faq-section summary {
        font-size: 1.05rem;
    }
    .faq-section p {
        font-size: 0.95rem;
    }
    }

    /* ----------------------------
    En pantallas ≥ 1024px (escritorio medio/grande)
    ---------------------------- */
    @media (min-width: 1024px) {
    .service-list {
        grid-template-columns: repeat(5, 1fr);
    }

    .hero-content h1 {
        font-size: 3rem;
    }
    .hero-content p {
        font-size: 1.25rem;
    }

    .section-title {
        font-size: 2.2rem;
    }

    /* Ajustes en contacto y FAQ: mostrar lado a lado */
    .contact-section,
    .faq-section {
        padding-top: 3rem;
        padding-bottom: 3rem;
    }

    /* Footer más espacioso */
    .site-footer {
        padding: 2rem 0;
    }
    }
