
 
        :root {
            /* Brand colour palette based on supplied images */
            --color-primary: #a490f5; /* soft purple for backgrounds */
            --color-secondary: #5e4dcf; /* darker purple for text and icons */
            --color-accent: #c3f23c; /* vibrant green for buttons and highlights */
            --color-light: #f7f5ff; /* very light purple background */
            --color-text: #1d1b33; /* dark text colour for readability */
        }
        * {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
        }
        body {
            font-family: 'Inter', sans-serif;
            color: var(--color-text);
            background-color: var(--color-light);
            line-height: 1.5;
        }
        header {
            background-color: var(--color-primary);
            display: flex;
            align-items: center;
            justify-content: center;
            /* minimise extra vertical space while allowing some breathing room */
            padding: 0.1rem 1rem;
            /* Evita desbordamiento horizontal */
    overflow: hidden;
        }
        header .logo {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 100%;
            /*gap: 0.9rem;* /
             /* Permite que los hijos encojan si hace falta */
    flex-wrap: nowrap;
    min-width: 0;
        }
        header .logo img {
            /* increase the logo size further while keeping its approximate 0.73 width:height proportion */
            height: 240px;
            width: 175px;
            margin-right: 0;
               /* Permite que la imagen encoja en pantallas pequeñas */
    flex-shrink: 1;
    max-width: 100%;
    height: auto;
        }
        header .logo span {
            font-family: 'Poppins', sans-serif;
            font-weight: 700;
            font-size: 2.9rem;
            color: #fff;
            line-height: 1;
            display: block;
            margin: 0;
            position: relative;
            top: -4px;
            
            
             /* Permite que el texto encoja y no desborde */
    flex-shrink: 1;
    min-width: 0;
    white-space: nowrap;
        }
        main {
            width: 100%;
            max-width: 1200px;
            margin: 0 auto;
            padding: 2rem 1rem;
        }
        /* Hero section */
        .hero {
            display: flex;
            flex-direction: column-reverse;
            align-items: center;
            background-color: var(--color-primary);
            border-radius: 1rem;
            padding: 2rem;
            margin-bottom: 2rem;
        }
        .hero-content {
            flex: 1;
            text-align: center;
        }
        .hero-content h1 {
            font-family: 'Poppins', sans-serif;
            font-weight: 700;
            font-size: 2.5rem;
            color: #fff;
            margin-bottom: 1rem;
        }
        .hero-content p {
            font-family: 'Inter', sans-serif;
            font-size: 1.1rem;
            color: #f3f0ff;
            margin-bottom: 1.5rem;
        }
        .hero-content .cta-button {
            background-color: var(--color-accent);
            color: var(--color-secondary);
            padding: 0.8rem 1.5rem;
            border: none;
            border-radius: 0.5rem;
            font-size: 1rem;
            font-weight: 600;
            cursor: pointer;
            transition: background-color 0.3s ease;
        }
        .hero-content .cta-button:hover {
            background-color: #b5e034;
        }
        .hero-image {
            flex: 1;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 1.5rem;
        }
        .hero-image img {
            max-width: 100%;
            height: auto;
        }
        /* Features section */
        .features {
            display: flex;
            flex-wrap: wrap;
            justify-content: space-between;
            margin-bottom: 3rem;
        }
        .feature {
            background-color: #fff;
            border: 1px solid #e8e5ff;
            border-radius: 0.75rem;
            flex: 1 1 30%;
            margin: 0.5rem;
            padding: 1.5rem;
            text-align: center;
            min-width: 260px;
        }
        /* Remove default size on feature images. Icons will be inline SVGs with class feature-icon */
        .feature img {
            margin-bottom: 1rem;
        }

        /* Style for inline SVG icons in feature cards */
        .feature-icon {
            width: 120px;
            height: 120px;
            margin-bottom: 0.3rem;
            /* Use corporate colour for stroke/fill */
            fill: var(--color-secondary);
        }
        .feature h3 {
            font-family: 'Poppins', sans-serif;
            font-size: 1.2rem;
            font-weight: 600;
            color: var(--color-secondary);
            margin-bottom: 0.5rem;
        }
        .feature p {
            font-size: 0.95rem;
            color: #555;
        }

        /* How it works section */
        .how-it-works {
            margin: 0 auto 3rem;
            max-width: 1100px;
        }
        .how-it-works h2 {
            font-family: 'Poppins', sans-serif;
            font-weight: 600;
            font-size: 1.8rem;
            color: var(--color-secondary);
            text-align: center;
            margin-bottom: 1rem;
        }
        .how-it-works-grid {
            display: flex;
            flex-wrap: wrap;
            justify-content: space-between;
            gap: 1rem;
        }
        .step {
            background-color: #fff;
            border: 1px solid #e8e5ff;
            border-radius: 0.75rem;
            flex: 1 1 22%;
            min-width: 220px;
            padding: 1.5rem;
            text-align: center;
        }
        .step-number {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 42px;
            height: 42px;
            border-radius: 50%;
            background-color: var(--color-accent);
            color: var(--color-secondary);
            font-family: 'Poppins', sans-serif;
            font-weight: 700;
            font-size: 1.1rem;
            margin-bottom: 0.8rem;
        }
        .step h3 {
            font-family: 'Poppins', sans-serif;
            font-size: 1.1rem;
            font-weight: 600;
            color: var(--color-secondary);
            margin-bottom: 0.5rem;
        }
        .step p {
            font-size: 0.95rem;
            color: #555;
        }

        /* Contact form section */
        .contact {
            background-color: #fff;
            border: 1px solid #e8e5ff;
            border-radius: 1rem;
            padding: 2rem;
            max-width: 700px;
            margin: 0 auto 3rem;
        }
        .contact h2 {
            font-family: 'Poppins', sans-serif;
            font-weight: 600;
            font-size: 1.8rem;
            color: var(--color-secondary);
            margin-bottom: 1rem;
            text-align: center;
        }
        .contact form {
            display: flex;
            flex-direction: column;
        }
        .contact form label {
            margin-top: 1rem;
            margin-bottom: 0.3rem;
            font-weight: 600;
        }
        .contact form input,
        .contact form select,
        .contact form textarea {
            padding: 0.7rem;
            border: 1px solid #d5d1f0;
            border-radius: 0.5rem;
            font-size: 1rem;
            outline: none;
        }
        .contact form input:focus,
        .contact form select:focus,
        .contact form textarea:focus {
            border-color: var(--color-secondary);
            box-shadow: 0 0 0 2px rgba(94, 77, 207, 0.2);
        }
        .contact form .checkbox-group {
            margin-top: 1rem;
            display: flex;
            align-items: flex-start;
        }
        .contact form .checkbox-group input[type="checkbox"] {
            margin-right: 0.5rem;
            margin-top: 0.2rem;
        }
        .contact form .checkbox-group label {
            font-weight: normal;
            line-height: 1.4;
        }
        .contact form button {
            background-color: var(--color-accent);
            color: var(--color-secondary);
            border: none;
            padding: 0.8rem 1.5rem;
            border-radius: 0.5rem;
            font-weight: 600;
            font-size: 1rem;
            margin-top: 1.5rem;
            cursor: pointer;
            transition: background-color 0.3s ease;
        }
        .contact form button:hover {
            background-color: #b5e034;
        }
        .legal-info {
            font-size: 0.8rem;
            color: #555;
            margin-top: 1rem;
        }

        /* Title for testimonials */
        .testimonials-title {
            font-family: 'Poppins', sans-serif;
            font-weight: 600;
            font-size: 1.8rem;
            color: var(--color-secondary);
            text-align: center;
            margin-top: 0.5rem;
            margin-bottom: 1rem;
        }

        /* Testimonials section styling */
        .testimonials {
            display: flex;
            flex-wrap: wrap;
            justify-content: space-between;
            margin-bottom: 3rem;
        }
        .testimonial {
            background-color: #fff;
            border: 1px solid #e8e5ff;
            border-radius: 0.75rem;
            flex: 1 1 30%;
            margin: 0.5rem;
            padding: 1.5rem;
            min-width: 260px;
        }
        .testimonial p {
            font-style: italic;
            font-size: 0.95rem;
            color: #555;
            margin-bottom: 0.5rem;
        }
        .testimonial span {
            font-weight: 600;
            color: var(--color-secondary);
        }

        /* Success message styling */
        .success-message {
            margin-top: 1rem;
            padding: 1rem;
            background-color: #e9f6d8;
            border: 1px solid #c2e19f;
            border-radius: 0.5rem;
            color: #405d27;
            display: none;
        }
        footer {
            padding: 2rem 1rem;
            text-align: center;
            background-color: var(--color-primary);
            color: #fff;
            border-radius: 1rem 1rem 0 0;
        }
        footer ul {
            list-style: none;
            display: flex;
            justify-content: center;
            flex-wrap: wrap;
            padding: 0;
            margin-bottom: 1rem;
        }
        footer ul li {
            margin: 0.5rem 1rem;
        }
        footer ul li a {
            color: #fff;
            text-decoration: underline;
        }
        footer p {
            font-size: 0.8rem;
            margin-bottom: 0.5rem;
        }
        /* Responsive adjustments */
        @media (min-width: 768px) {
            .hero {
                flex-direction: row;
                text-align: left;
            }
            .hero-content {
                text-align: left;
                margin-right: 2rem;
            }
            .hero-image {
                margin-bottom: 0;
            }
        }

        /* Responsive sizing for header elements */
        @media (max-width: 768px) {
            header .logo img {
                /* scale down but remain proportionate */
               height:auto; /*height: 150px;*/
                width: clamp(60px, 22vw, 110px); /*width: 110px;*/
                align-items: center;
            }
            header .logo span {
                font-size: clamp(1.2rem, 6vw, 2rem);
                top: -2px;
                right: 15px;
            
            }
           
        }
    /* Pantallas muy pequeñas (< 360px) */
@media (max-width: 360px) {
    header .logo img {
        width: clamp(45px, 18vw, 70px);
    }
    header .logo span {
        font-size: clamp(1rem, 5vw, 1.4rem);
        right: 0;
    }
}
        /* Hero slider using radio buttons */
        .hero-slider {
            position: relative;
        }
        .hero-slider input[type="radio"] {
            display: none;
        }
        .hero-slider .slides .hero {
            display: none;
        }
        #slide-1:checked ~ .slides .hero:nth-of-type(1),
        #slide-2:checked ~ .slides .hero:nth-of-type(2),
        #slide-3:checked ~ .slides .hero:nth-of-type(3),
        #slide-4:checked ~ .slides .hero:nth-of-type(4) {
            display: flex;
        }
        .slider-dots {
            text-align: center;
            margin-top: 1rem;
        }
        .slider-dots .dot {
            display: inline-block;
            width: 12px;
            height: 12px;
            border-radius: 50%;
            background-color: #d5d1f0;
            margin: 0 5px;
            cursor: pointer;
            transition: background-color 0.3s ease;
        }
        /* When a dot has the "active" class (set via JS), use brand colour to indicate current slide. */
        .slider-dots .dot.active {
            background-color: var(--color-secondary);
        }
        #slide-1:checked ~ .slider-dots .dot:nth-of-type(1),
        #slide-2:checked ~ .slider-dots .dot:nth-of-type(2),
        #slide-3:checked ~ .slider-dots .dot:nth-of-type(3),
        #slide-4:checked ~ .slider-dots .dot:nth-of-type(4) {
            background-color: var(--color-secondary);
        }

