        :root {
            /* Paleta de colores que transmite confianza y autoridad */
            --primary-color: #0f2c59; /* Azul marino */
            --accent-color: #d8a051;  /* Dorado/Ocre */
            --bg-color: #f8f9fa;      /* Gris muy claro para el fondo */
            --text-color: #333333;
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Segoe UI', system-ui, sans-serif;
        }

        body {
            background-color: var(--bg-color);
            color: var(--text-color);
            line-height: 1.6;
        }

        /* 1. HEADER (Fijo para que siempre puedan contactarte) */
        header {
            background-color: white;
            padding: 15px 5%;
            display: flex;
            justify-content: space-between;
            align-items: center;
            box-shadow: 0 2px 10px rgba(0,0,0,0.1);
            position: sticky;
            top: 0;
            z-index: 1000;
        }

        .logo {
            font-size: 1.5rem;
            font-weight: 800;
            color: var(--primary-color);
        }

        nav a {
            text-decoration: none;
            color: var(--text-color);
            margin-left: 20px;
            font-weight: 600;
            font-size: 0.95rem;
        }

        .btn-nav {
            background-color: var(--primary-color);
            color: white;
            padding: 10px 20px;
            border-radius: 5px;
            transition: 0.3s;
        }

        .btn-nav:hover { background-color: #173f7d; color: white;}

        /* 2. HERO SECTION (El primer pantallazo) */
        .hero {
            background-color: var(--primary-color);
            color: white;
            padding: 100px 5%;
            text-align: center;
            /* Simulador de imagen de fondo oscurecida para que el texto sea legible */
            background-image: linear-gradient(rgba(15, 44, 89, 0.85), rgba(15, 44, 89, 0.85)), url('https://images.unsplash.com/photo-1589829085413-56de8ae18c73?auto=format&fit=crop&w=1920&q=80');
            background-size: cover;
            background-position: center;
        }

        .hero h1 {
            font-size: 3rem;
            margin-bottom: 20px;
            line-height: 1.2;
        }

        .hero p {
            font-size: 1.2rem;
            max-width: 700px;
            margin: 0 auto 30px auto;
            color: #e2e8f0;
        }

        .cta-btn {
            display: inline-block;
            background-color: var(--accent-color);
            color: white;
            padding: 18px 35px;
            font-size: 1.1rem;
            font-weight: bold;
            text-decoration: none;
            border-radius: 5px;
            transition: all 0.3s ease;
            box-shadow: 0 4px 15px rgba(216, 160, 81, 0.4);
        }

        .cta-btn:hover {
            background-color: #c08a40;
            transform: translateY(-2px);
        }

        /* 3. ÁREAS DE PRÁCTICA (Tarjetas / Cards) */
        .services {
            padding: 80px 5%;
            text-align: center;
            max-width: 1200px;
            margin: 0 auto;
        }

        .services h2 {
            color: var(--primary-color);
            margin-bottom: 50px;
            font-size: 2.2rem;
        }

        .grid-cards {
            display: grid;
            /* Cuadrícula responsiva que se adapta a celulares o PCs */
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 30px;
        }

        .card {
            background: white;
            padding: 40px 30px;
            border-radius: 8px;
            box-shadow: 0 4px 20px rgba(0,0,0,0.05);
            border-top: 4px solid var(--accent-color);
            transition: transform 0.3s;
        }

        .card:hover {
            transform: translateY(-10px);
        }

        .icon {
            font-size: 45px;
            margin-bottom: 20px;
        }

        .card h3 {
            color: var(--primary-color);
            margin-bottom: 15px;
            font-size: 1.3rem;
        }

        /* 4. FORMULARIO DE CONTACTO */
        .contact {
            background-color: white;
            padding: 80px 5%;
        }

        .contact-container {
            max-width: 600px;
            margin: 0 auto;
            background: var(--bg-color);
            padding: 40px;
            border-radius: 10px;
        }

        .contact h2 {
            text-align: center;
            color: var(--primary-color);
            margin-bottom: 30px;
        }

        form {
            display: flex;
            flex-direction: column;
        }

        input, textarea {
            padding: 15px;
            margin-bottom: 20px;
            border: 1px solid #ccc;
            border-radius: 5px;
            font-size: 1rem;
        }

        button[type="submit"] {
            background-color: var(--primary-color);
            color: white;
            padding: 18px;
            border: none;
            border-radius: 5px;
            font-size: 1.1rem;
            font-weight: bold;
            cursor: pointer;
            transition: 0.3s;
        }

        button[type="submit"]:hover { background-color: var(--accent-color); }

        /* 5. BOTÓN FLOTANTE DE WHATSAPP (Innegociable) */
        .whatsapp-float {
            position: fixed;
            width: 60px;
            height: 60px;
            bottom: 30px;
            right: 30px;
            background-color: #25d366;
            color: white;
            border-radius: 50px;
            text-align: center;
            font-size: 30px;
            box-shadow: 2px 2px 15px rgba(0,0,0,0.2);
            z-index: 1000;
            display: flex;
            justify-content: center;
            align-items: center;
            text-decoration: none;
            transition: transform 0.3s ease;
        }

        .whatsapp-float:hover { transform: scale(1.1); }

        /* Adaptación para celulares (Responsividad) */
        @media (max-width: 768px) {
            .hero h1 { font-size: 2.2rem; }
            header { flex-direction: column; gap: 15px; }
            nav a { margin: 0 10px; }
        }