/* Estilos globales */
:root {
    --color-primary: #3D2C8D;      /* Violeta oscuro */
    --color-secondary: #FF6F61;    /* Coral-naranja */
    --color-background: #FAF9F8;   /* Blanco perlado */
    --color-accent: #45B8AC;       /* Turquesa suave */
    --color-text: #2A2A2A;         /* Grafito */
    --font-main: 'Montserrat', sans-serif;
    --font-headings: 'Raleway', sans-serif;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    color: var(--color-text);
    background-color: var(--color-background);
    line-height: 1.6;
    font-size: 16px;
}

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--color-secondary);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-headings);
    color: var(--color-primary);
    margin-bottom: 1rem;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    background: var(--color-secondary);
    color: white;
    border: none;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
}

.btn:hover {
    background: linear-gradient(45deg, var(--color-secondary), var(--color-accent));
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    color: white;
}

.section {
    padding: 80px 0;
}

/* Header y Navegación */
header {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    height: 50px;
}

.logo svg {
    height: 100%;
    width: auto;
}

/* Menú de navegación con CSS puro */
.menu-toggle-checkbox {
    display: none;
}

.menu-toggle {
    display: none;
    font-size: 24px;
    cursor: pointer;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 25px;
}

nav ul li a {
    font-weight: 500;
    position: relative;
}

nav ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: var(--color-secondary);
    bottom: -5px;
    left: 0;
    transition: var(--transition);
}

nav ul li a:hover::after {
    width: 100%;
}

/* Banner Principal */
.hero {
    background: linear-gradient(135deg, rgba(61, 44, 141, 0.9), rgba(69, 184, 172, 0.8));
    color: white;
    padding: 150px 0 100px;
    text-align: center;
    clip-path: polygon(0 0, 100% 0, 100% 85%, 0 100%);
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    color: white;
}

.hero p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 30px;
}

/* Acerca de */
.about {
    position: relative;
    overflow: hidden;
}

.about-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-text {
    flex: 1;
}

.about-image {
    flex: 1;
    border-radius: 30px 5px 30px 5px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(61, 44, 141, 0.2);
    transform: rotate(2deg);
    transition: var(--transition);
}

.about-image:hover {
    transform: rotate(0);
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: var(--transition);
}

.about-image:hover img {
    transform: scale(1.05);
}

/* Entrenamientos */
.trainings {
    background-color: rgba(69, 184, 172, 0.1);
    position: relative;
}

.trainings::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('./img/pattern.svg') repeat;
    opacity: 0.05;
    z-index: 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
    z-index: 1;
}

.section-title h2 {
    display: inline-block;
    position: relative;
    padding-bottom: 10px;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 25%;
    width: 50%;
    height: 3px;
    background: linear-gradient(to right, var(--color-secondary), var(--color-accent));
}

.trainings-cards {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    position: relative;
    z-index: 1;
}

.training-card {
    flex: 1;
    min-width: 300px;
    max-width: 350px;
    background: white;
    border-radius: 20px 5px 20px 5px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    transition: var(--transition);
}

.training-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(61, 44, 141, 0.2);
}

.training-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.training-card-content {
    padding: 20px;
}

.training-card h3 {
    color: var(--color-primary);
    margin-bottom: 10px;
}

/* Beneficios */
.benefits {
    text-align: center;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.benefit-item {
    padding: 30px 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: var(--transition);
}

.benefit-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(69, 184, 172, 0.2);
}

.benefit-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    padding: 15px;
    background: linear-gradient(45deg, rgba(61, 44, 141, 0.1), rgba(69, 184, 172, 0.1));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.benefit-icon svg {
    width: 100%;
    height: 100%;
    fill: var(--color-primary);
}

/* Formulario de Pedido */
.order {
    background: linear-gradient(135deg, rgba(61, 44, 141, 0.05), rgba(69, 184, 172, 0.05));
}

.order-form {
    max-width: 600px;
    margin: 0 auto;
    background: white;
    padding: 40px;
    border-radius: 20px 5px 20px 5px;
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    transform: perspective(1000px) rotateY(0deg);
    transition: var(--transition);
}

.order-form:hover {
    transform: perspective(1000px) rotateY(2deg);
    box-shadow: 0 20px 40px rgba(61, 44, 141, 0.2);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--color-primary);
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e1e1e1;
    border-radius: 10px;
    font-size: 16px;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus {
    border-color: var(--color-primary);
    outline: none;
    box-shadow: 0 0 0 3px rgba(61, 44, 141, 0.1);
}

.form-group select {
    appearance: none;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%233D2C8D' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E") no-repeat;
    background-position: right 10px center;
    background-color: white;
}

.checkbox-group {
    position: relative;
    margin-bottom: 15px;
    padding-left: 30px;
}

.checkbox-group input[type="checkbox"] {
    position: absolute;
    opacity: 0;
}

.checkbox-group label {
    position: relative;
    cursor: pointer;
    padding: 0;
    display: inline-block;
    font-weight: normal;
}

.checkbox-group label:before {
    content: '';
    margin-right: 10px;
    display: inline-block;
    vertical-align: middle;
    width: 20px;
    height: 20px;
    background: white;
    border: 2px solid #e1e1e1;
    border-radius: 5px;
    position: absolute;
    left: -30px;
    top: 2px;
    transition: var(--transition);
}

.checkbox-group input[type="checkbox"]:hover + label:before {
    background: linear-gradient(45deg, rgba(255, 111, 97, 0.1), rgba(69, 184, 172, 0.1));
    border-color: var(--color-secondary);
}

.checkbox-group input[type="checkbox"]:checked + label:before {
    background: linear-gradient(45deg, var(--color-secondary), var(--color-accent));
    border-color: transparent;
}

.checkbox-group input[type="checkbox"]:checked + label:after {
    content: '';
    position: absolute;
    left: -22px;
    top: 9px;
    width: 6px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

/* Testimonios */
.testimonials {
    position: relative;
    overflow: hidden;
}

.testimonials::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(69, 184, 172, 0.1) 0%, rgba(69, 184, 172, 0) 70%);
    border-radius: 50%;
    top: -150px;
    left: -150px;
    z-index: 0;
}

.testimonials::after {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(61, 44, 141, 0.1) 0%, rgba(61, 44, 141, 0) 70%);
    border-radius: 50%;
    bottom: -150px;
    right: -150px;
    z-index: 0;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    position: relative;
    z-index: 1;
}

.testimonial-card {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 10px;
    left: 20px;
    font-size: 60px;
    color: rgba(61, 44, 141, 0.1);
    font-family: Georgia, serif;
}

.testimonial-content {
    position: relative;
    z-index: 1;
}

.testimonial-author {
    font-weight: 600;
    color: var(--color-primary);
    margin-top: 15px;
    display: block;
}

/* Información Compañía */
.company-info {
    background: linear-gradient(135deg, rgba(61, 44, 141, 0.9), rgba(69, 184, 172, 0.8));
    color: white;
    text-align: center;
    padding: 60px 0;
}

.company-info h2 {
    color: white;
}

.contact-details {
    max-width: 600px;
    margin: 30px auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.contact-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
}

/* Footer */
footer {
    background-color: var(--color-primary);
    color: white;
    padding: 50px 0 20px;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 30px;
}

.footer-logo {
    flex: 1;
    min-width: 250px;
}

.footer-logo img {
    width: 120px;
    margin-bottom: 15px;
}

.footer-links {
    flex: 1;
    min-width: 250px;
}

.footer-links h3 {
    color: white;
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-links ul {
    list-style: none;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition);
}

.footer-links ul li a:hover {
    color: var(--color-secondary);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Cookie Consent */
.cookie-consent {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 400px;
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
    z-index: 1000;
    text-align: center;
}

.cookie-consent p {
    margin-bottom: 15px;
}

/* Página de Gracias */
.thanks-page {
    text-align: center;
    padding: 150px 0 100px;
}

.thanks-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(45deg, var(--color-secondary), var(--color-accent));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
}

.thanks-icon svg {
    width: 50px;
    height: 50px;
    fill: white;
}

/* Páginas Legales */
.legal-page {
    padding: 150px 0 80px;
}

.legal-content {
    max-width: 800px;
    margin: 0 auto;
}

.legal-content h2 {
    margin-top: 40px;
    margin-bottom: 20px;
}

.legal-content p, .legal-content ul, .legal-content ol {
    margin-bottom: 20px;
}

.legal-content ul, .legal-content ol {
    padding-left: 20px;
}

/* Media Queries */
@media (max-width: 991px) {
    .about-content {
        flex-direction: column;
    }
    
    .about-image {
        margin-top: 30px;
        max-width: 500px;
        width: 100%;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 60px 0;
    }
    
    /* Menú móvil con CSS */
    .menu-toggle {
        display: block;
    }
    
    .menu-toggle-checkbox {
        display: none;
    }
    
    nav ul {
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        align-items: center;
        padding: 20px 0;
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
        transform: translateY(-150%);
        transition: var(--transition);
        opacity: 0;
        visibility: hidden;
    }
    
    .menu-toggle-checkbox:checked ~ ul {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    nav ul li {
        margin: 10px 0;
    }
    
    .hero {
        padding: 120px 0 80px;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 20px;
    }
}

@media (max-width: 576px) {
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .order-form {
        padding: 20px;
    }
    
    .section-title h2 {
        font-size: 1.5rem;
    }
} 