/* Reset básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.5;
    color: #222;
    background-color: #fff;
}

/* Hero */
.hero {
    display: flex;
    width: 100%;
    height: 70vh;
    background-color: #004080;
    color: white;
}

.hero-img,
.hero-text {
    flex: 1;
    max-width: 50%;
}

.hero-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-text {
    padding: 4rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-text h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.hero-text h2 {
    font-weight: 600;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.8rem;
    color: #cce6ff;
}

.hero-text p {
    font-size: 1.15rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}
/* Botón primario */
.btn-primary {
    padding: 0.8rem 2rem;
    border: none;
    background-color: #e2e6ea;
    color: #004080;
    font-weight: 500;
    border-radius: 6px;
    cursor: pointer;
    width: fit-content;
}

/* Testimonials/Loki */
.testimonials-logos {
    display: flex;
    width: 100%;
    height: 70vh;
    background-color: #fff;
}

.testimonials-logos-text {
    width: 50vw;
    padding: 4rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.testimonials-logos-text h2 {
    font-size: 2.8rem;
    font-weight: 900;
    margin-bottom: 1rem;
}

.testimonials-logos-text h3 {
    color: #004080;
    font-weight: 600;
    margin-bottom: 0.4rem;
}

.testimonials-logos-text p {
    max-width: 700px;
    margin-bottom: 3rem;
    font-size: 1.1rem;
    color: #222;
}

.logos {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    margin: 0;
    padding: 0;
}

.logos img {
    flex: 1 0 33.33%; /* 3 imágenes por fila en pantallas grandes */
    width: 100%;
    height: auto;
    max-height: 355px;
    object-fit: cover;
    filter: grayscale(1);
    opacity: 0.6;
    transition: all 0.3s ease;
}

.logos img:hover {
    filter: none;
    opacity: 1;
}

/* Ajustes para pantallas más chicas */
@media (max-width: 768px) {
    .logos img {
        flex: 1 0 50%; /* 2 por fila */
    }
}

@media (max-width: 480px) {
    .logos img {
        flex: 1 0 100%; /* 1 por fila */
    }
}

/* Testimonial */
.testimonial {
    background-color: #dae8ec;
    max-width: 700px;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    margin-top: 2rem;
    font-size: 1rem;
}

.testimonial-img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin: 0 auto 1rem auto;
    object-fit: cover;
}

.testimonial span {
    display: block;
    margin-top: 1rem;
    font-style: italic;
    color: #333;
}

/* Features */
.features {
    padding: 4rem 12rem;
}

.features h1 {
    max-width: 700px;
    margin-bottom: 3rem;
    font-size: 1.1rem;
    color: #8c8c8c;
}

.features h2 {
    font-size: 2.8rem;
    font-weight: 900;
    margin-bottom: 1rem;
}

.features h3 {
    color: #004080;
    font-weight: 600;
    margin-bottom: 0.4rem;
}

.features p {
    max-width: 700px;
    margin-bottom: 3rem;
    font-size: 1.1rem;
    color: #fff;
}

/* Feature cards */
.feature-cards {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.feature-card {
    position: relative;
    width: 32%;
    min-height: 460px;
    padding: 2rem 1.5rem;
    color: white;
    font-weight: 900;
    background-size: cover;
    background-position: center;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-shadow: inset 0 0 0 1000px rgba(0, 0, 0, 0.5);
    transition: box-shadow 0.3s ease;
}

.feature-card:hover {
    box-shadow: inset 0 0 0 1000px rgba(0, 0, 0, 0.7);
}

.feature-card img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    filter: brightness(0.6);
}

.feature-card h4 {
    margin-bottom: 1.7rem;
    font-size: 1.6rem;
}

.feature-card p {
    font-weight: 400;
    font-size: 1.2rem;
    line-height: 1.5;
}

/* Cta Morado */
.cta-purple {
    background-color: rgba(68, 42, 88, 0.85);
    color: white;
    padding: 4rem 6rem;
    display: flex;
    align-items: center;
    height: 300px;
    opacity: 0.7;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 900;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 600px;
}

/* Botón secundario */
.btn-secondary {
    padding: 0.8rem 2.5rem;
    border: none;
    background-color: white;
    color: #442a58;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    width: fit-content;
}

/* Team y galería */
.team {
    display: flex;
    padding: 4rem 6rem;
    gap: 3rem;
    flex-wrap: wrap;
    background-color: #fff;
    color: #222;
}

.team-image {
    flex: 1 1 40%;
}

.team-image img {
    width: 100%;
    height: auto;
}

.team-info {
    flex: 1 1 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.team-info h2 {
    font-size: 2.8rem;
    font-weight: 900;
    margin-bottom: 1rem;
}

.team-info p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    max-width: 600px;
}

.team-gallery {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.team-gallery img {
    width: calc(20% - 1rem);
    max-height: 120px;
    object-fit: cover;
}

.pricing-section {
    padding: 4rem 2rem;
    background-color: #f9f9f9;
    text-align: center;
}

.pricing-section h2 {
    font-size: 2.5rem;
    font-weight: 900;
    color: #004080;
    margin-bottom: 3rem;
}

.pricing-cards {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

.pricing-card {
    background-color: white;
    border: 1.5px solid #ddd;
    border-radius: 12px;
    padding: 2rem;
    width: 300px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
}

.pricing-card h3 {
    font-size: 1.7rem;
    color: #004080;
    margin-bottom: 1rem;
}

.pricing-card .price {
    font-size: 1.6rem;
    font-weight: bold;
    margin-bottom: 1.2rem;
    color: #222;
}

.pricing-card .price small {
    font-size: 0.8em;
    color: #ccc;
}

.pricing-card .price span {
    display: block;
    font-size: 1rem;
    color: #888;
    margin-top: 0.3rem;
}

.pricing-card ul {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
    text-align: left;
}

.pricing-card ul li {
    margin-bottom: 0.7rem;
    font-size: 1rem;
    color: #333;
    padding-left: 1rem;
    position: relative;
}

.pricing-card ul li::before {
    content: "✔";
    color: #004080;
    position: absolute;
    left: 0;
}

.pricing-card .btn-primary {
    width: 100%;
    font-size: 1.1rem;
}

.pricing-card.destacado {
    border: 2px solid #004080;
    background-color: #eef3f9;
}

.elegir-plan {
    background-color: #004080;
    color: #fff;
    border: none;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.25s ease, transform 0.2s ease, box-shadow 0.25s ease;
}

.elegir-plan:hover {
    background-color: #0059b3; /* un azul más claro */
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.elegir-plan:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

#moneda {
    padding: 0.5rem 1rem;
    border-radius: 8px;
    border: 1px solid #ccc;
    font-size: 1rem;
    font-family: inherit;
    background-color: #fff;
    color: #004080;
    margin-top: 1.5rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: border-color 0.2s ease;
}

#moneda:focus {
    outline: none;
    border-color: #004080;
    box-shadow: 0 0 0 2px rgba(0, 64, 128, 0.2);
}

/* Opcional: alinear con el texto "Moneda" */
label[for="moneda"] {
    font-weight: 600;
    margin-right: 0.5rem;
    color: #004080;
    font-size: 1rem;
}

.currency-selector {
    display: flex;
    align-items: baseline;
    justify-content: center;
    margin-top: 2rem;
    gap: 0.5rem;
}

.contact-form-section {
    padding: 4rem 6rem;
    background-color: #f5f5f5;
    color: #222;
    max-width: 600px;
    margin: 0 auto 4rem auto;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(0,0,0,0.1);
}

.contact-form h2 {
    font-size: 2.2rem;
    font-weight: 900;
    margin-bottom: 2rem;
    color: #004080;
    text-align: center;
}

.contact-form label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    margin-top: 1.2rem;
}

.contact-form input[type="text"],
.contact-form input[type="email"] {
    width: 100%;
    padding: 0.8rem 1rem;
    font-size: 1rem;
    border: 1.5px solid #ccc;
    border-radius: 6px;
    transition: border-color 0.3s ease;
}

.contact-form input[type="text"]:focus,
.contact-form input[type="email"]:focus {
    outline: none;
    border-color: #004080;
}
.contact-form-textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    font-size: 1rem;
    border: 1.5px solid #ccc;
    border-radius: 6px;
    transition: border-color 0.3s ease;
    resize: vertical; /* permite redimensionar solo verticalmente */
}
.contact-form button.btn-primary {
    margin-top: 2rem;
    width: 100%;
    font-weight: 700;
    font-size: 1.1rem;
}
.contact-form select {
    width: 100%;
    padding: 0.8rem 1rem;
    font-size: 1rem;
    border: 1.5px solid #ccc;
    border-radius: 6px;
    transition: border-color 0.3s ease;
    background-color: white;
}

.contact-form select:focus {
    outline: none;
    border-color: #004080;
}

footer {
    background-color: #06213f;
    color: #ccc;
    text-align: center;
    padding: 20px;
}

/* Media queries */

/* Ajustes para pantallas menores a 900px */
@media (max-width: 900px) {
    .hero,
    .testimonials-logos {
        flex-direction: column;
        height: auto;
    }

    .hero-img img,
    .hero-text,
    .testimonials-logos-text,
    .testimonials-logos .hero-img {
        width: 100vw;
        height: auto;
    }

    .hero-text,
    .testimonials-logos-text {
        padding: 2rem;
    }

    .hero-img img,
    .testimonials-logos .hero-img img {
        object-fit: cover;
        height: 50vh;
    }

    .feature-cards {
        flex-direction: column;
    }

    .feature-card {
        width: 100%;
        min-height: 240px;
    }

    .team {
        flex-direction: column;
    }

    .team-image,
    .team-info {
        flex: none;
        width: 100%;
    }

    .team-gallery img {
        width: calc(33.333% - 1rem);
    }
}