/* Variables para colores principales */
:root {
    --primary: #1A1E3F;
    --accent: #E84C88;
    --bg-light: #F7F9FB;
    --teal: #00D1B2;
    --text: #4A4A4A;
    --gradient: linear-gradient(135deg, #E84C88 0%, #00D1B2 100%);
    --shadow: 0 5px 15px rgba(26, 30, 63, 0.1);
    --radius: 20px;
}

/* Reset y estilos base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text);
    background-color: var(--bg-light);
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3, h4, h5, h6 {
    margin-bottom: 1rem;
    color: var(--primary);
    font-weight: 700;
    line-height: 1.2;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
    position: relative;
    margin-bottom: 2rem;
    text-align: center;
}

h2:after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -10px;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--gradient);
    border-radius: 2px;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
}

a {
    color: var(--accent);
    text-decoration: none;
    transition: color 0.3s;
}

a:hover {
    color: var(--teal);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

section {
    padding: 80px 0;
}

section:nth-child(even) {
    background-color: white;
}

/* Animaciones */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

@keyframes gradientFlow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Botones */
.btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: var(--radius);
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
    border: none;
}

.btn-primary {
    background: var(--gradient);
    color: white;
    background-size: 200% 200%;
    animation: gradientFlow 5s ease infinite;
}

.btn-primary:hover {
    box-shadow: 0 5px 15px rgba(232, 76, 136, 0.4);
    color: white;
    transform: translateY(-2px);
}

.btn-outline {
    border: 2px solid var(--primary);
    color: var(--primary);
    background: transparent;
}

.btn-outline:hover {
    background: var(--primary);
    color: white;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 12px 0; /* Reducido de 20px a 12px */
    background-color: white;
    box-shadow: var(--shadow);
    z-index: 100;
    transition: padding 0.3s;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    display: block;
}

.logo svg {
    width: 130px; /* Reducido de 150px */
    height: 35px; /* Reducido de 40px */
}

.nav-desktop ul {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-desktop a {
    color: var(--primary);
    font-weight: 600;
}

.nav-desktop a:hover {
    color: var(--accent);
}

.nav-desktop .btn-primary {
    color: white;
}

/* Menú móvil */
.nav-mobile {
    display: none;
}

.menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
}

.menu-toggle span {
    width: 100%;
    height: 3px;
    background-color: var(--primary);
    border-radius: 3px;
    transition: all 0.3s;
}

.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-menu {
    width: 80%;
    max-width: 400px;
    background-color: white;
    border-radius: var(--radius);
    padding: 30px;
    position: relative;
    animation: fadeIn 0.3s forwards;
}

.close-menu {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 24px;
    color: var(--primary);
    cursor: pointer;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.mobile-menu ul {
    margin-top: 20px;
}

.mobile-menu li {
    margin-bottom: 15px;
    text-align: center;
}

.mobile-menu a {
    color: var(--primary);
    font-size: 18px;
    font-weight: 600;
    display: block;
    padding: 8px 0;
}

/* Hero Section */
.hero {
    padding-top: 130px; /* Reducido de 150px a 130px */
    background: var(--gradient);
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
    background-size: 200% 200%;
    animation: gradientFlow 10s ease infinite;
}

.hero h1 {
    color: white;
    margin-bottom: 20px;
    font-size: 3rem;
}

.hero p {
    max-width: 700px;
    margin: 0 auto 30px;
    font-size: 1.2rem;
}

.hero .btn {
    margin-top: 20px;
}

/* Sección de ventajas */
.benefits {
    text-align: center;
}

.benefits-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-top: 50px;
}

.benefit-card {
    flex: 1;
    min-width: 300px;
    max-width: 350px;
    background-color: white;
    border-radius: var(--radius);
    padding: 30px;
    box-shadow: var(--shadow);
    transition: transform 0.3s;
    text-align: center;
}

.benefit-card:hover {
    transform: translateY(-5px);
}

.benefit-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background: var(--bg-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    color: var(--accent);
}

/* Nosotros */
.about {
    position: relative;
    overflow: hidden;
}

.about-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-text {
    flex: 1;
}

.about-image {
    flex: 1;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

/* Servicios */
.services {
    text-align: center;
}

.services-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-top: 50px;
}

.service-card {
    flex: 1;
    min-width: 300px;
    max-width: 350px;
    background: white;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(26, 30, 63, 0.15);
}

.service-image {
    height: 200px;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.service-card:hover .service-image img {
    transform: scale(1.1);
}

.service-content {
    padding: 25px;
}

/* Por qué elegirnos */
.why-us {
    background: var(--bg-light);
    text-align: center;
}

.reasons-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.reason-item {
    background: white;
    border-radius: var(--radius);
    padding: 25px;
    box-shadow: var(--shadow);
    transition: all 0.3s;
}

.reason-item:hover {
    transform: translateY(-5px);
}

.reason-number {
    width: 50px;
    height: 50px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    color: white;
    font-weight: 700;
    font-size: 1.5rem;
}

/* Proceso */
.process {
    text-align: center;
}

.process-container {
    position: relative;
    max-width: 800px;
    margin: 50px auto 0;
}

.process-container:before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 4px;
    background: var(--gradient);
    transform: translateX(-50%);
}

.process-step {
    position: relative;
    margin-bottom: 50px;
    padding: 20px;
}

.process-step:last-child {
    margin-bottom: 0;
}

.process-step:nth-child(odd) {
    margin-right: 50%;
    text-align: right;
}

.process-step:nth-child(even) {
    margin-left: 50%;
    text-align: left;
}

.process-step:before {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background: var(--gradient);
    top: 50%;
    border-radius: 50%;
}

.process-step:nth-child(odd):before {
    right: -10px;
    transform: translate(0, -50%);
}

.process-step:nth-child(even):before {
    left: -10px;
    transform: translate(0, -50%);
}

.process-number {
    display: inline-block;
    width: 40px;
    height: 40px;
    background: var(--gradient);
    border-radius: 50%;
    color: white;
    font-weight: 700;
    font-size: 1.2rem;
    line-height: 40px;
    margin-bottom: 15px;
}

/* Testimonios */
.testimonials {
    background: var(--bg-light);
    text-align: center;
}

.testimonials-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-top: 50px;
}

.testimonial-card {
    flex: 1;
    min-width: 300px;
    max-width: 350px;
    background: white;
    border-radius: var(--radius);
    padding: 30px;
    box-shadow: var(--shadow);
    text-align: left;
    position: relative;
}

.testimonial-card:before {
    content: '"';
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 60px;
    line-height: 1;
    color: rgba(232, 76, 136, 0.2);
    font-family: Georgia, serif;
}

.testimonial-text {
    margin-bottom: 20px;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 15px;
}

.author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-info h4 {
    margin-bottom: 5px;
}

.author-info p {
    font-size: 0.9rem;
    color: var(--accent);
    margin: 0;
}

/* Formulario de contacto */
.contact-form {
    background: white;
    border-radius: var(--radius);
    padding: 50px;
    box-shadow: var(--shadow);
    max-width: 800px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e1e1e1;
    border-radius: var(--radius);
    font-size: 16px;
    background-color: var(--bg-light);
    transition: all 0.3s;
}

.form-control:focus {
    border-color: var(--accent);
    outline: none;
    box-shadow: 0 0 0 3px rgba(232, 76, 136, 0.2);
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
}

.checkbox-group input {
    margin-top: 5px;
    margin-right: 10px;
}

.form-submit {
    text-align: center;
    margin-top: 30px;
}

/* Footer */
.footer {
    background: var(--primary);
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 40px;
}

.footer-logo {
    flex: 1;
    min-width: 300px;
}

.footer-logo svg text {
    fill: white; /* Cambiado a blanco */
}

.footer-logo p {
    margin-top: 20px;
}

.footer-contact, .footer-links {
    flex: 1;
    min-width: 200px;
}

.footer h3 {
    color: white;
    margin-bottom: 20px;
    position: relative;
}

.footer h3:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 50px;
    height: 3px;
    background: var(--accent);
}

.footer-contact ul li {
    margin-bottom: 15px;
}

.footer a {
    color: #ccc;
}

.footer a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
}

/* Cookie Consent */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0,0,0,0.7);
    color: white;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    animation: fadeIn 0.5s forwards;
}

.cookie-text {
    flex: 1;
    padding-right: 20px;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
}

/* Páginas legales */
.legal-page {
    max-width: 900px;
    margin: 120px auto 60px;
    background: white;
    border-radius: var(--radius);
    padding: 40px;
    box-shadow: var(--shadow);
}

.legal-page h1 {
    text-align: center;
    margin-bottom: 30px;
}

/* FAQ */
.faq-container {
    max-width: 800px;
    margin: 50px auto 0;
}

.faq-item {
    margin-bottom: 20px;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.faq-question {
    background: white;
    padding: 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    color: var(--primary);
}

.faq-question:after {
    content: '+';
    font-size: 20px;
    transition: transform 0.3s;
}

.faq-answer {
    background: var(--bg-light);
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s;
}

.faq-active .faq-question:after {
    transform: rotate(45deg);
}

.faq-active .faq-answer {
    padding: 20px;
    max-height: 500px;
}

/* Media Queries */
@media (max-width: 991px) {
    h1 {
        font-size: 2.2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .about-content {
        flex-direction: column;
    }
    
    .process-container:before {
        left: 30px;
    }
    
    .process-step {
        margin-bottom: 30px;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding-left: 60px;
        text-align: left !important;
    }
    
    .process-step:before {
        left: 30px !important;
        transform: translate(-50%, -50%) !important;
    }
}

@media (max-width: 768px) {
    section {
        padding: 60px 0;
    }
    
    .nav-desktop {
        display: none;
    }
    
    .nav-mobile {
        display: block;
    }
    
    .hero {
        padding-top: 120px;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .contact-form {
        padding: 30px;
    }
}

@media (max-width: 576px) {
    h1 {
        font-size: 1.8rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    .benefit-card, .service-card, .testimonial-card {
        min-width: 100%;
    }
    
    .footer-content > div {
        min-width: 100%;
    }
} 