/* 
* Main styles for domain.com
* Color palette:
* - Gradients: #10B981 (emerald) to #06B6D4 (turquoise)
* - Accents: #F59E0B (amber) and #A78BFA (lavender)
* - Text: #1E293B (dark blue)
* - Background: #F9FAFB (light smoky white)
*/

:root {
    --color-emerald: #10B981;
    --color-turquoise: #06B6D4;
    --color-amber: #F59E0B;
    --color-lavender: #A78BFA;
    --color-text: #1E293B;
    --color-bg: #F9FAFB;
    --color-white: #FFFFFF;
    --color-light-gray: #F1F5F9;
    --color-gray: #94A3B8;
    --color-dark-gray: #475569;
    
    --gradient-primary: linear-gradient(135deg, var(--color-emerald), var(--color-turquoise));
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
    --border-radius-sm: 0.25rem;
    --border-radius-md: 0.5rem;
    --border-radius-lg: 1rem;
}

/* Reset & Base Styles */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--color-text);
    background-color: var(--color-bg);
    line-height: 1.6;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--color-turquoise);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--color-emerald);
}

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

section {
    padding: 4rem 0;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
    position: relative;
}

.section-title:after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--gradient-primary);
    margin: 0.5rem auto 0;
    border-radius: var(--border-radius-md);
}

.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius-md);
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--color-white);
}

.btn-primary:hover {
    opacity: 0.9;
    color: var(--color-white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background-color: var(--color-lavender);
    color: var(--color-white);
}

.btn-secondary:hover {
    opacity: 0.9;
    color: var(--color-white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Header */
.site-header {
    background-color: var(--color-white);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow-sm);
}

.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-text);
}

.logo span {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.menu-toggle {
    display: none;
}

.menu-icon {
    display: none;
    cursor: pointer;
    width: 30px;
    height: 24px;
    position: relative;
    flex-direction: column;
    justify-content: space-between;
}

.menu-icon span {
    display: block;
    height: 2px;
    width: 100%;
    background-color: var(--color-text);
    transition: all 0.3s ease;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: var(--color-text);
    font-weight: 500;
    position: relative;
}

.nav-links a:after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width 0.3s ease;
}

.nav-links a:hover:after,
.nav-links a.active:after {
    width: 100%;
}

.nav-links .cta-button {
    background: var(--gradient-primary);
    color: var(--color-white);
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius-md);
}

.nav-links .cta-button:hover:after {
    display: none;
}

.nav-links .cta-button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Hero Section */
.hero {
    background: var(--gradient-primary);
    color: var(--color-white);
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.hero:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('./img/NQM0EA.jpg');
    background-size: cover;
    background-position: center;
    opacity: 0.1;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Estilo especial para el botón en la sección hero */
.hero-cta {
    background: var(--color-amber) !important;
    color: var(--color-text) !important;
    font-size: 1.1rem;
    padding: 0.9rem 2rem !important;
    border-radius: var(--border-radius-lg) !important;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 0 rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 2px solid var(--color-white);
}

.hero-cta:hover {
    background: var(--color-white) !important;
    color: var(--color-amber) !important;
    transform: translateY(-3px);
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15);
    border-color: var(--color-amber);
}

.hero-cta:active {
    transform: translateY(-1px);
    box-shadow: 0 3px 5px rgba(0, 0, 0, 0.1);
}

/* About Section */
.about {
    background-color: var(--color-white);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-image {
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--color-text);
}

.about-text p {
    margin-bottom: 1.5rem;
}

/* Benefits Section */
.benefits {
    background-color: var(--color-light-gray);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.benefit-card {
    background-color: var(--color-white);
    border-radius: var(--border-radius-md);
    padding: 2rem;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.benefit-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    margin-bottom: 1.5rem;
    color: var(--color-white);
    font-size: 1.5rem;
}

.benefit-card h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

/* Services Section */
.services {
    background-color: var(--color-white);
}

.service-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    border-radius: var(--border-radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.service-image {
    height: 200px;
    background-size: cover;
    background-position: center;
}

.service-content {
    padding: 1.5rem;
}

.service-card h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.service-card p {
    margin-bottom: 1.5rem;
}

/* Process Section */
.process {
    background-color: var(--color-light-gray);
}

.process-steps {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.process-step {
    display: flex;
    gap: 1.5rem;
    background-color: var(--color-white);
    border-radius: var(--border-radius-md);
    padding: 1.5rem;
    box-shadow: var(--shadow-md);
}

.step-number {
    display: flex;
    justify-content: center;
    align-items: center;
    min-width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    color: var(--color-white);
    border-radius: 50%;
    font-size: 1.5rem;
    font-weight: bold;
}

.step-content h3 {
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
}

/* Contact Form Section */
.contact {
    background-color: var(--color-white);
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-info {
    padding: 2rem;
    background: var(--gradient-primary);
    color: var(--color-white);
    border-radius: var(--border-radius-md);
    position: relative;
    overflow: hidden;
}

.contact-info::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('./img/o78ITs.jpg');
    background-size: cover;
    background-position: center;
    opacity: 0.1;
    z-index: 1;
}

.contact-info-content {
    position: relative;
    z-index: 2;
}

.contact-info h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.contact-info p {
    margin-bottom: 1.5rem;
}

.form-container {
    padding: 2rem;
    background-color: var(--color-light-gray);
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-md);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--color-gray);
    border-radius: var(--border-radius-sm);
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--color-turquoise);
}

.checkbox-group {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.checkbox-group input {
    margin-right: 0.5rem;
}

.form-error {
    color: #e53e3e;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

/* Testimonials Section */
.testimonials {
    background-color: var(--color-light-gray);
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background-color: var(--color-white);
    border-radius: var(--border-radius-md);
    padding: 2rem;
    box-shadow: var(--shadow-md);
    position: relative;
}

.testimonial-quote {
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-left: 2rem;
}

.testimonial-quote:before {
    content: '"';
    position: absolute;
    left: 0;
    top: 0;
    font-size: 3rem;
    line-height: 1;
    color: var(--color-emerald);
    opacity: 0.3;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.testimonial-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-right: 1rem;
    overflow: hidden;
}

.testimonial-name {
    font-weight: 600;
}

.testimonial-position {
    color: var(--color-gray);
    font-size: 0.875rem;
}

/* FAQ Section */
.faq {
    background-color: var(--color-white);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 1.5rem;
    border-radius: var(--border-radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.faq-question {
    padding: 1.25rem;
    background-color: var(--color-light-gray);
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.faq-question-link {
    color: var(--color-text);
    text-decoration: none;
    display: block;
    width: 100%;
    position: relative;
    padding-right: 20px;
}

.faq-question-link:after {
    content: '+';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    transition: transform 0.3s ease;
    font-weight: bold;
}

.faq-question:hover {
    background-color: rgba(6, 182, 212, 0.1);
}

.faq-item.active .faq-question {
    background-color: rgba(6, 182, 212, 0.1);
}

.faq-item.active .faq-question-link:after {
    content: '−';
    transform: translateY(-50%) rotate(180deg);
}

.faq-answer {
    background-color: var(--color-white);
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 1.25rem;
    max-height: 500px;
}

/* Footer */
.site-footer {
    background-color: var(--color-text);
    color: var(--color-light-gray);
    padding: 3rem 0 1.5rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-logo span {
    color: var(--color-white);
}

.company-desc {
    margin-bottom: 1.5rem;
    opacity: 0.8;
}

.footer-links h3,
.footer-contact h3 {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    color: var(--color-white);
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links a {
    color: var(--color-light-gray);
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--color-turquoise);
}

.contact-item {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.contact-item .icon {
    font-size: 1.25rem;
}

.contact-item a {
    color: var(--color-light-gray);
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: var(--color-turquoise);
}

.copyright {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.875rem;
    color: var(--color-gray);
}

/* Cookie Consent */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--color-text);
    color: var(--color-white);
    padding: 1rem;
    z-index: 1000;
    box-shadow: var(--shadow-lg);
    display: none;
}

.cookie-consent.active {
    display: block;
}

.cookie-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    max-width: 1200px;
    margin: 0 auto;
}

.cookie-content p {
    font-size: 0.875rem;
}

.cookie-content a {
    text-decoration: underline;
    color: var(--color-turquoise);
}

.cookie-btn {
    background-color: var(--color-amber);
    color: var(--color-text);
    padding: 0.5rem 1rem;
    border: none;
    border-radius: var(--border-radius-sm);
    cursor: pointer;
    font-weight: 600;
    white-space: nowrap;
}

/* Thank You Page */
.thank-you {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 60vh;
    text-align: center;
    padding: 2rem;
}

.thank-you-box {
    background-color: var(--color-white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    padding: 3rem;
    max-width: 700px;
    margin: 0 auto;
    border: 1px solid rgba(6, 182, 212, 0.3);
    position: relative;
}

.thank-you-box:before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, var(--color-emerald), var(--color-turquoise), var(--color-emerald));
    z-index: -1;
    border-radius: calc(var(--border-radius-lg) + 2px);
    opacity: 0.7;
}

.thank-you h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: var(--color-emerald);
}

.thank-you p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    max-width: 600px;
}

.thank-you-links {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

/* Policy Pages */
.policy-content {
    background-color: var(--color-white);
    padding: 2rem;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-md);
    margin: 2rem 0;
}

.policy-content h1 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--color-text);
}

.policy-content h2 {
    font-size: 1.75rem;
    margin: 2rem 0 1rem;
    color: var(--color-text);
}

.policy-content p,
.policy-content ul {
    margin-bottom: 1.5rem;
}

.policy-content ul {
    list-style: disc;
    margin-left: 2rem;
}

.policy-content ul li {
    margin-bottom: 0.5rem;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .hero h1 {
        font-size: 3rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .contact-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .menu-icon {
        display: flex;
    }
    
    .nav-links {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background-color: var(--color-white);
        flex-direction: column;
        align-items: center;
        padding: 2rem;
        box-shadow: var(--shadow-md);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        z-index: 99;
    }
    
    .menu-toggle:checked ~ .nav-links {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .cookie-content {
        flex-direction: column;
    }
}

@media (max-width: 576px) {
    html {
        font-size: 14px;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1.125rem;
    }
    
    .process-step {
        flex-direction: column;
    }
    
    .step-number {
        margin-bottom: 1rem;
    }
} 