/* ===== RESET Y BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --purple-400: #c084fc;
    --purple-500: #a855f7;
    --purple-600: #9333ea;
    --purple-900: #581c87;
    --pink-400: #f472b6;
    --pink-600: #db2777;
    --cyan-400: #22d3ee;
    --cyan-500: #06b6d4;
    --cyan-600: #0891b2;
    --cyan-900: #164e63;
    --yellow-400: #facc15;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background-color: #000;
    color: #fff;
    overflow-x: hidden;
    line-height: 1.6;
}

/* ===== FONDO ANIMADO ===== */
.animated-background {
    position: fixed;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

.gradient-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom right, rgba(88, 28, 135, 0.2), #000, rgba(22, 78, 99, 0.2));
}

.floating-circle {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.2;
}

.circle-1 {
    top: 0;
    left: 25%;
    width: 384px;
    height: 384px;
    background: rgba(147, 51, 234, 0.2);
    animation: pulse 4s ease-in-out infinite;
}

.circle-2 {
    bottom: 0;
    right: 25%;
    width: 384px;
    height: 384px;
    background: rgba(6, 182, 212, 0.2);
    animation: pulse 4s ease-in-out infinite 1s;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.2; }
    50% { transform: scale(1.1); opacity: 0.3; }
}

/* ===== UTILIDADES ===== */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

.container-medium {
    max-width: 768px;
    margin: 0 auto;
    padding: 0 1rem;
}

.container-small {
    max-width: 640px;
    margin: 0 auto;
    padding: 0 1rem;
}

.gradient-text {
    background: linear-gradient(to right, var(--purple-400), var(--pink-400), var(--cyan-400));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ===== HEADER ===== */
.header {
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: blur(12px);
    background-color: rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 1.25rem 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 900;
    background: linear-gradient(to right, var(--purple-400), var(--pink-400), var(--cyan-400));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: none;
    gap: 2rem;
}

.nav-links a {
    color: var(--gray-300);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #fff;
}

.mobile-menu-btn {
    display: block;
    background: none;
    border: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-btn .close-icon {
    display: none;
}

.mobile-menu-btn.active .menu-icon {
    display: none;
}

.mobile-menu-btn.active .close-icon {
    display: block;
}

.mobile-menu {
    display: none;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(16px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1rem;
}

.mobile-menu.active {
    display: block;
}

.mobile-menu a {
    display: block;
    padding: 0.5rem 0;
    color: var(--gray-300);
    text-decoration: none;
    transition: color 0.3s;
}

.mobile-menu a:hover {
    color: #fff;
}

@media (min-width: 768px) {
    .nav-links {
        display: flex;
    }
    
    .mobile-menu-btn {
        display: none;
    }
}

/* ===== SECCIONES ===== */
.section {
    position: relative;
    padding: 5rem 1rem;
    z-index: 10;
}

@media (min-width: 768px) {
    .section {
        padding: 8rem 1rem;
    }
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    text-align: center;
}

.section-subtitle {
    text-align: center;
    color: var(--gray-400);
    margin-bottom: 3rem;
}

@media (min-width: 768px) {
    .section-title {
        font-size: 3.75rem;
    }
}

/* ===== HERO SECTION ===== */
.hero-section {
    position: relative;
    padding: 5rem 1rem;
    z-index: 10;
}

@media (min-width: 768px) {
    .hero-section {
        padding: 8rem 1rem;
    }
}

.hero-grid {
    display: grid;
    gap: 3rem;
    align-items: center;
}

@media (min-width: 768px) {
    .hero-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.hero-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.hero-badge {
    display: inline-block;
    width: fit-content;
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    background: linear-gradient(to right, rgba(147, 51, 234, 0.2), rgba(6, 182, 212, 0.2));
    border: 1px solid rgba(147, 51, 234, 0.5);
    color: var(--purple-400);
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.hero-title {
    font-size: 3.75rem;
    font-weight: 900;
    line-height: 1.1;
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 4.5rem;
    }
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--gray-400);
    max-width: 512px;
}

.hero-rating {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding-top: 0.5rem;
}

.stars {
    display: flex;
    gap: 0.25rem;
}

.star {
    color: var(--yellow-400);
    font-size: 1.125rem;
}

.hero-rating span {
    color: var(--gray-300);
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding-top: 1rem;
}

@media (min-width: 640px) {
    .hero-buttons {
        flex-direction: row;
    }
}

/* ===== BOTONES ===== */
.btn {
    padding: 1rem 2rem;
    font-weight: 700;
    font-size: 1.125rem;
    border-radius: 0.75rem;
    cursor: pointer;
    transition: all 0.3s;
    border: none;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(to right, var(--purple-600), var(--pink-600), var(--cyan-600));
    color: #fff;
    transform: scale(1);
}

.btn-primary:hover {
    background: linear-gradient(to right, var(--purple-500), var(--pink-400), var(--cyan-500));
    transform: scale(1.05);
}

.btn-secondary {
    background: transparent;
    border: 2px solid rgba(34, 211, 238, 0.5);
    color: #fff;
}

.btn-secondary:hover {
    border-color: var(--cyan-400);
    background-color: rgba(34, 211, 238, 0.1);
}

.btn-back {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: #fff;
}

.btn-back:hover {
    border-color: rgba(255, 255, 255, 0.6);
}

.btn-large {
    padding: 1.25rem 2rem;
    font-size: 1.125rem;
}

.btn-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

/* ===== HERO VISUAL ===== */
.hero-visual {
    display: none;
    align-items: center;
    justify-content: center;
    position: relative;
}

@media (min-width: 768px) {
    .hero-visual {
        display: flex;
    }
}

.hero-card {
    position: relative;
    width: 320px;
    height: 320px;
    background: linear-gradient(to bottom right, rgba(88, 28, 135, 0.4), rgba(22, 78, 99, 0.4));
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    transition: all 0.3s;
}

.hero-card:hover {
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-10px);
}

.hero-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom right, rgba(147, 51, 234, 0.2), rgba(6, 182, 212, 0.2));
    border-radius: 1.5rem;
    filter: blur(60px);
    z-index: -1;
}

.emoji-large {
    font-size: 5rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

/* ===== PROCESO / STEPS ===== */
.steps-grid {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: repeat(1, 1fr);
}

@media (min-width: 768px) {
    .steps-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.step-card {
    position: relative;
    background: linear-gradient(to bottom right, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 1rem;
    padding: 2rem;
    transition: all 0.3s;
}

.step-card:hover {
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-8px);
}

.step-content {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.step-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.step-icon {
    font-size: 3.75rem;
}

.step-number {
    font-size: 1.5rem;
    font-weight: 900;
    background: linear-gradient(to right, var(--purple-400), var(--cyan-400));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.step-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
}

.step-desc {
    color: var(--gray-400);
}

.step-arrow {
    display: none;
}

@media (min-width: 768px) {
    .step-card:not(:last-child) .step-arrow {
        display: block;
        position: absolute;
        right: -12px;
        top: 50%;
        width: 24px;
        height: 2px;
        background: linear-gradient(to right, var(--purple-400), var(--cyan-400));
    }
}

/* ===== SERVICIOS ===== */
.services-grid {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: repeat(1, 1fr);
}

@media (min-width: 768px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.service-card {
    position: relative;
    background: linear-gradient(to bottom right, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 1rem;
    padding: 2rem;
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    overflow: hidden;
}

.service-card:hover {
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-12px);
    box-shadow: 0 20px 40px -12px rgba(0, 0, 0, 0.5);
}

.service-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom right, rgba(147, 51, 234, 0), transparent, rgba(6, 182, 212, 0));
    opacity: 0;
    transition: opacity 0.3s;
}

.service-card:hover::before {
    opacity: 1;
    background: linear-gradient(to bottom right, rgba(147, 51, 234, 0.2), transparent, rgba(6, 182, 212, 0.2));
}

.service-icon {
    font-size: 3rem;
    position: relative;
}

.service-info {
    position: relative;
}

.service-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.5rem;
}

.service-desc {
    color: var(--gray-400);
    font-size: 0.875rem;
}

.service-price {
    display: flex;
    align-items: baseline;
    gap: 0.25rem;
    position: relative;
}

.price {
    font-size: 1.875rem;
    font-weight: 900;
    background: linear-gradient(to right, var(--purple-400), var(--cyan-400));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.price-label {
    color: var(--gray-500);
    font-size: 0.875rem;
}

.service-btn {
    width: 100%;
    background: linear-gradient(to right, rgba(147, 51, 234, 0.8), rgba(6, 182, 212, 0.8));
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    font-weight: 700;
    padding: 0.75rem;
    border-radius: 0.75rem;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
}

.service-btn:hover {
    background: linear-gradient(to right, var(--purple-500), var(--cyan-500));
    border-color: rgba(255, 255, 255, 0.4);
}

/* ===== TESTIMONIOS ===== */
.testimonials-grid {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: repeat(1, 1fr);
}

@media (min-width: 768px) {
    .testimonials-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.testimonial-card {
    background: linear-gradient(to bottom right, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 1rem;
    padding: 2rem;
    transition: all 0.3s;
}

.testimonial-card:hover {
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-8px);
}

.testimonial-stars {
    display: flex;
    gap: 0.25rem;
    margin-bottom: 1.5rem;
}

.testimonial-stars .star {
    color: var(--yellow-400);
    font-size: 1rem;
}

.testimonial-text {
    color: var(--gray-300);
    font-style: italic;
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.author-name {
    font-weight: 700;
    color: #fff;
}

.author-career {
    color: var(--purple-400);
    font-size: 0.875rem;
}

/* ===== GARANTÍAS ===== */
.guarantees-box {
    position: relative;
    background: linear-gradient(to right, rgba(88, 28, 135, 0.4), rgba(22, 78, 99, 0.4));
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 1.5rem;
    padding: 3rem;
    overflow: hidden;
}

@media (min-width: 768px) {
    .guarantees-box {
        padding: 4rem;
    }
}

.guarantees-box::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom right, rgba(147, 51, 234, 0.1), transparent, rgba(6, 182, 212, 0.1));
}

.guarantees-box .section-title {
    position: relative;
    margin-bottom: 4rem;
}

.guarantees-grid {
    position: relative;
    display: grid;
    gap: 2rem;
    grid-template-columns: repeat(1, 1fr);
}

@media (min-width: 768px) {
    .guarantees-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.guarantee-item {
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.guarantee-icon {
    font-size: 3rem;
}

.guarantee-text {
    font-weight: 700;
    font-size: 1.125rem;
    color: #fff;
}

/* ===== FORMULARIO ===== */
.form-box {
    background: linear-gradient(to bottom right, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 1.5rem;
    padding: 2rem;
}

@media (min-width: 768px) {
    .form-box {
        padding: 3rem;
    }
}

.quote-form {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.form-step {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-label {
    display: block;
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.form-select,
.form-input {
    width: 100%;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 0.75rem;
    padding: 1rem;
    color: #fff;
    font-size: 1rem;
    outline: none;
    transition: all 0.3s;
}

.form-select:focus,
.form-input:focus {
    border-color: var(--cyan-400);
}

.form-select option {
    background-color: #000;
    color: #fff;
}

.form-input::placeholder {
    color: var(--gray-500);
}

.form-buttons {
    display: flex;
    gap: 1rem;
    padding-top: 2rem;
}

.form-buttons .btn {
    flex: 1;
}

.form-progress {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    padding-top: 1rem;
}

.progress-dot {
    height: 6px;
    width: 8px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 9999px;
    transition: all 0.3s;
}

.progress-dot.active {
    background: linear-gradient(to right, var(--purple-400), var(--cyan-400));
    width: 32px;
}

.success-message {
    display: none;
    text-align: center;
    padding: 3rem 0;
}

.success-message.active {
    display: block;
}

.success-icon {
    font-size: 4.5rem;
    margin-bottom: 1.5rem;
}

.success-title {
    font-size: 1.875rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
}

.success-text {
    color: var(--gray-300);
    margin-bottom: 0.5rem;
}

.success-text strong {
    color: var(--cyan-400);
}

.success-time {
    color: var(--gray-400);
}

/* ===== FAQ ===== */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background: linear-gradient(to bottom right, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 0.75rem;
    overflow: hidden;
    transition: all 0.3s;
}

.faq-item:hover {
    border-color: rgba(255, 255, 255, 0.5);
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    background: transparent;
    border: none;
    color: #fff;
    font-weight: 700;
    font-size: 1.125rem;
    cursor: pointer;
    text-align: left;
    transition: background-color 0.3s;
}

.faq-question:hover {
    background-color: rgba(255, 255, 255, 0.05);
}

.faq-icon {
    color: var(--cyan-400);
    transition: transform 0.3s;
    font-size: 1.5rem;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s;
    padding: 0 1.5rem;
    color: var(--gray-300);
    border-top: 1px solid transparent;
}

.faq-item.active .faq-answer {
    max-height: 200px;
    padding: 1.5rem;
    border-top-color: rgba(255, 255, 255, 0.1);
}

/* ===== CTA FINAL ===== */
.cta-box {
    position: relative;
    background: linear-gradient(to right, rgba(88, 28, 135, 0.4), rgba(22, 78, 99, 0.4));
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 1.5rem;
    padding: 3rem;
    text-align: center;
    overflow: hidden;
}

@media (min-width: 768px) {
    .cta-box {
        padding: 4rem;
    }
}

.cta-box::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom right, rgba(147, 51, 234, 0.1), transparent, rgba(6, 182, 212, 0.1));
}

.cta-title {
    position: relative;
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 2rem;
}

@media (min-width: 768px) {
    .cta-title {
        font-size: 3rem;
    }
}

.cta-text {
    position: relative;
    font-size: 1.25rem;
    color: var(--gray-300);
    margin-bottom: 2rem;
}

/* ===== FOOTER ===== */
.footer {
    position: relative;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(16px);
    padding: 3rem 1rem;
    z-index: 10;
}

.footer-grid {
    display: grid;
    gap: 2rem;
    grid-template-columns: repeat(1, 1fr);
    margin-bottom: 2rem;
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.footer-title {
    font-weight: 700;
    color: #fff;
    margin-bottom: 1rem;
    font-size: 1.125rem;
}

.footer-links,
.footer-contact {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-links li a {
    color: var(--gray-400);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.3s;
}

.footer-links li a:hover {
    color: var(--cyan-400);
}

.footer-contact li {
    color: var(--gray-400);
    font-size: 0.875rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.875rem;
    color: var(--gray-500);
}

/* ===== ANIMACIONES ADICIONALES ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content > * {
    animation: fadeInUp 0.8s ease-out;
}

.hero-content > *:nth-child(1) { animation-delay: 0.1s; }
.hero-content > *:nth-child(2) { animation-delay: 0.2s; }
.hero-content > *:nth-child(3) { animation-delay: 0.3s; }
.hero-content > *:nth-child(4) { animation-delay: 0.4s; }
.hero-content > *:nth-child(5) { animation-delay: 0.5s; }

/* ===== SCROLL SUAVE ===== */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}