/* Base Styles */
:root {
    --background: #0F172A;
    --accent: #FBBF24;
    --text: #E2E8F0;
    --button-gradient-start: #3B82F6;
    --button-gradient-end: #9333EA;
    --border: #334155;
    --box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    --border-radius: 16px;
    --transition: all 0.3s ease;
}

html, body {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    overflow-x: hidden; /* Prevenir desplazamiento horizontal */
    width: 100%;
    max-width: 100%;
    position: relative;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', 'Roboto', sans-serif;
    background-color: var(--background);
    color: var(--text);
    line-height: 1.6;
    position: relative;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box; /* Asegurar que el padding esté incluido en el ancho */
}

section {
    padding: 80px 0;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    margin-bottom: 20px;
    color: #fff;
    max-width: 100%; /* Asegurar que los títulos no desborden */
    word-wrap: break-word; /* Permitir que las palabras largas se rompan */
}

h1 {
    font-size: 3rem;
}

h2 {
    font-size: 2.5rem;
    position: relative;
    margin-bottom: 40px;
    text-align: center;
}

h2::after {
    content: '';
    position: absolute;
    width: 80px;
    height: 4px;
    background: var(--accent);
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 15px;
    max-width: 100%; /* Asegurar que los párrafos no desborden */
    word-wrap: break-word;
}

a {
    color: var(--accent);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    opacity: 0.8;
}

/* Hacer que todas las imágenes sean responsivas */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Button Styles */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: var(--border-radius);
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
    text-align: center;
    border: none;
    font-size: 1rem;
    box-shadow: var(--box-shadow);
}

.btn-primary {
    background: linear-gradient(135deg, var(--button-gradient-start), var(--button-gradient-end));
    color: #fff;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

/* Header Styles */
.header {
    padding: 20px 0;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition);
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-text {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--accent);
    letter-spacing: 1px;
}

.nav-desktop {
    display: flex;
}

.nav-mobile {
    display: none;
}

.nav-list {
    display: flex;
    list-style: none;
}

.nav-item {
    margin-left: 30px;
}

.nav-link {
    color: var(--text);
    font-weight: 500;
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--accent);
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text);
    font-size: 1.8rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 60px;
    background-position: center;
    position: relative;
    overflow: hidden;
    width: 100%;
}

.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(147, 51, 234, 0.15), transparent);
    z-index: -1;
}

.hero-content {
    max-width: 650px;
    padding: 40px;
    border-radius: var(--border-radius);
    background: rgba(51, 65, 85, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border);
    box-shadow: var(--box-shadow);
}

.logo {
    font-size: 3rem;
    font-weight: 900;
    color: var(--accent);
    margin-bottom: 20px;
    letter-spacing: 2px;
    text-transform: lowercase;
    display: inline-block;
    position: relative;
}

.logo::after {
    content: '';
    position: absolute;
    width: 40%;
    height: 4px;
    background: var(--accent);
    bottom: 0;
    left: 0;
    border-radius: 2px;
}

.hero h1 {
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 100%;
    width: 100%;
}

.service-card {
    background: rgba(51, 65, 85, 0.1);
    border-radius: var(--border-radius);
    transition: var(--transition);
    border: 1px solid var(--border);
    box-shadow: var(--box-shadow);
    overflow: hidden; /* Asegurar que el contenido no desborde */
    display: flex;
    flex-direction: column;
    width: 100%;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    border-color: var(--accent);
}

.service-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-content {
    padding: 20px;
    flex: 1;
}

.service-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(147, 51, 234, 0.2));
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
    position: relative;
}

.service-icon::before {
    content: '';
    position: absolute;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.4), rgba(147, 51, 234, 0.4));
    border-radius: 50%;
    z-index: -1;
}

.service-card h3 {
    margin-bottom: 15px;
}

/* About Section */
.about-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
}

.about-text {
    max-width: 800px;
    padding: 40px;
    border-radius: var(--border-radius);
    background: rgba(51, 65, 85, 0.1);
    border: 1px solid var(--border);
    box-shadow: var(--box-shadow);
    width: 100%;
    box-sizing: border-box;
}

/* Benefits Section */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 100%;
}

.benefit-item {
    background: rgba(51, 65, 85, 0.1);
    border-radius: var(--border-radius);
    padding: 30px;
    transition: var(--transition);
    border: 1px solid var(--border);
    box-shadow: var(--box-shadow);
    position: relative;
    overflow: hidden;
}

.benefit-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.benefit-number {
    font-size: 5rem;
    font-weight: 900;
    position: absolute;
    top: -20px;
    right: -10px;
    opacity: 0.1;
    color: var(--accent);
}

/* Testimonials Section */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 100%;
}

.testimonial-card {
    background: rgba(51, 65, 85, 0.1);
    border-radius: var(--border-radius);
    padding: 30px;
    border: 1px solid var(--border);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    position: relative;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.testimonial-text {
    margin-bottom: 20px;
    position: relative;
    padding-top: 30px;
}

.testimonial-text::before {
    content: '"';
    font-size: 4rem;
    color: var(--accent);
    position: absolute;
    top: -20px;
    left: -10px;
    opacity: 0.2;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
}

.author-name {
    font-weight: 700;
    color: #fff;
}

.author-company, .author-position {
    font-size: 0.9rem;
    opacity: 0.7;
}

/* FAQ Section */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
    width: 100%;
}

.faq-item {
    margin-bottom: 20px;
    background: rgba(51, 65, 85, 0.1);
    border-radius: var(--border-radius);
    border: 1px solid var(--border);
    overflow: hidden;
    width: 100%;
}

.faq-question {
    padding: 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    width: 100%;
    box-sizing: border-box;
    word-wrap: break-word;
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    width: 100%;
    box-sizing: border-box;
}

.faq-answer.active {
    padding: 0 20px 20px 20px;
    max-height: 500px;
}

/* Order Form Section */
.form-container {
    max-width: 600px;
    margin: 0 auto;
    padding: 40px;
    background: rgba(51, 65, 85, 0.1);
    border-radius: var(--border-radius);
    border: 1px solid var(--border);
    box-shadow: var(--box-shadow);
    width: 100%;
    box-sizing: border-box;
}

.form-group {
    margin-bottom: 20px;
    width: 100%;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    background: rgba(15, 23, 42, 0.7);
    border: 1px solid var(--border);
    border-radius: var(--border-radius);
    color: var(--text);
    font-size: 1rem;
    transition: var(--transition);
    box-sizing: border-box;
}

.form-control:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 2px rgba(251, 191, 36, 0.2);
}

.form-select {
    width: 100%;
    padding: 12px 15px;
    background: rgba(15, 23, 42, 0.7);
    border: 1px solid var(--border);
    border-radius: var(--border-radius);
    color: var(--text);
    font-size: 1rem;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23E2E8F0' viewBox='0 0 16 16'%3E%3Cpath d='M8 12L1 5h14L8 12z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    cursor: pointer;
    box-sizing: border-box;
}

.form-checkbox {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
}

.checkbox-input {
    width: 20px;
    height: 20px;
    margin-right: 10px;
    margin-top: 3px;
    accent-color: var(--accent);
}

.checkbox-label {
    font-size: 0.9rem;
    flex: 1; /* Permitir que el texto se ajuste */
    word-wrap: break-word;
}

.checkbox-label a {
    text-decoration: underline;
}

/* Contact Section */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    max-width: 100%;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
}

.contact-item i {
    margin-right: 15px;
    font-size: 1.5rem;
    color: var(--accent);
}

.contact-map {
    border-radius: var(--border-radius);
    overflow: hidden;
    height: 100%;
    min-height: 300px;
    max-width: 100%;
}

.map-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--border-radius);
    border: 1px solid var(--border);
}

/* Footer */
.footer {
    padding: 40px 0 20px;
    background: rgba(15, 23, 42, 0.9);
    border-top: 1px solid var(--border);
    width: 100%;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 100%;
}

.footer-column {
    margin-bottom: 20px;
    width: 100%;
}

.footer-title {
    font-size: 1.2rem;
    margin-bottom: 15px;
    position: relative;
    padding-bottom: 10px;
}

.footer-title::after {
    content: '';
    position: absolute;
    width: 40px;
    height: 3px;
    background: var(--accent);
    bottom: 0;
    left: 0;
    border-radius: 2px;
}

.footer-menu {
    list-style: none;
}

.footer-menu li {
    margin-bottom: 10px;
}

.footer-menu a {
    color: var(--text);
    transition: var(--transition);
}

.footer-menu a:hover {
    color: var(--accent);
}

.footer-contact {
    margin-bottom: 10px;
}

.footer-bottom {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
    text-align: center;
    opacity: 0.7;
    font-size: 0.9rem;
    width: 100%;
}

/* Cookie Popup */
.cookie-popup {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    padding: 20px;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border);
    border-radius: var(--border-radius);
    z-index: 1000;
    box-shadow: var(--box-shadow);
    max-width: 400px;
    display: none;
}

.cookie-content {
    margin-bottom: 15px;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
}

/* Policy Pages */
.policy-container {
    max-width: 800px;
    margin: 100px auto 60px;
    padding: 40px;
    background: rgba(51, 65, 85, 0.1);
    border-radius: var(--border-radius);
    border: 1px solid var(--border);
    box-shadow: var(--box-shadow);
    width: 100%;
    box-sizing: border-box;
}

.policy-container h1 {
    margin-bottom: 30px;
    text-align: center;
}

.policy-container h2 {
    font-size: 1.8rem;
    margin-top: 30px;
    text-align: left;
}

.policy-container h2::after {
    left: 0;
    transform: none;
}

.policy-container p {
    margin-bottom: 20px;
}

.policy-container ul {
    margin-bottom: 20px;
    padding-left: 20px;
}

/* Icons */
.icon-business::before {
    content: "📊";
    font-size: 1.8rem;
}

.icon-personal::before {
    content: "📝";
    font-size: 1.8rem;
}

.icon-consulting::before {
    content: "💼";
    font-size: 1.8rem;
}

.icon-location::before {
    content: "📍";
    font-size: 1.8rem;
}

.icon-phone::before {
    content: "📞";
    font-size: 1.8rem;
}

.icon-email::before {
    content: "✉️";
    font-size: 1.8rem;
}

/* Responsive Styles */
@media (max-width: 992px) {
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    section {
        padding: 60px 0;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-desktop {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .nav-mobile {
        position: fixed;
        top: 70px;
        right: -100%;
        width: 80%;
        height: calc(100vh - 70px);
        background: rgba(15, 23, 42, 0.95);
        backdrop-filter: blur(10px);
        transition: var(--transition);
        z-index: 999;
        display: flex;
        flex-direction: column;
        padding: 20px;
    }
    
    .nav-mobile.open {
        right: 0;
    }
    
    .nav-mobile .nav-list {
        flex-direction: column;
    }
    
    .nav-mobile .nav-item {
        margin: 10px 0;
    }
    
    .hero-content {
        text-align: center;
        padding: 30px;
    }
    
    .logo::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .benefits-grid, .services-grid {
        grid-template-columns: 1fr;
    }
    
    .services-grid {
        padding: 0 15px;
        box-sizing: border-box;
    }
    
    /* Ajustes adicionales para móvil */
    .testimonials-grid,
    .benefits-grid,
    .contact-content {
        width: 100%;
        box-sizing: border-box;
        padding: 0 15px;
    }
}

@media (max-width: 576px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .hero {
        padding-top: 100px;
    }
    
    .policy-container {
        padding: 20px;
        margin: 80px auto 40px;
    }
    
    .form-container {
        padding: 20px;
    }
    
    /* Evitar desbordamiento en dispositivos pequeños */
    .service-card,
    .benefit-item,
    .testimonial-card {
        margin-left: 0;
        margin-right: 0;
        width: 100%;
    }
} 