/* 
* Estilos principales para AuditorFinanciero 
* Paleta de colores:
* - Eléctrico Púrpura (Electric Purple): #BF00FF
* - Cyber Lima (Cyber Lime): #C6FF00
* - Casi Negro (Almost Black): #111111
* - Blanco Perla (Pearl White): #F2F2F2
* - Elementos (Teal Glow): #00FFD1
*/

/* Reseteo y Estilos Generales */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', 'Roboto', sans-serif;
    background-color: #111111;
    color: #F2F2F2;
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3, h4, h5, h6 {
    margin-bottom: 1rem;
    font-weight: 700;
}

h1 {
    font-size: 3rem;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 1.75rem;
}

p {
    margin-bottom: 1rem;
}

a {
    color: #00FFD1;
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: #C6FF00;
}

img {
    max-width: 100%;
    height: auto;
}

.img-fluid {
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(191, 0, 255, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.img-fluid:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(191, 0, 255, 0.5);
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    padding-bottom: 1rem;
    padding-top: 20px; /* Add extra padding at the top */
    color: #F2F2F2;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, #BF00FF, #C6FF00);
    border-radius: 2px;
}

section {
    padding: 80px 0;
    position: relative;
    scroll-margin-top: 120px; /* Increased space for fixed header when scrolling to anchors */
}

/* Botones */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    transition: all 0.4s ease;
    z-index: -1;
}

.btn:hover::before {
    left: 0;
}

.btn-primary {
    background: linear-gradient(135deg, #BF00FF, #9000BF);
    color: #F2F2F2;
    box-shadow: 0 4px 15px rgba(191, 0, 255, 0.3);
}

.btn-primary:hover {
    box-shadow: 0 6px 20px rgba(191, 0, 255, 0.5);
    color: #F2F2F2;
}

.btn-secondary {
    background: linear-gradient(135deg, #00FFD1, #00BFFF);
    color: #111111;
    box-shadow: 0 4px 15px rgba(0, 255, 209, 0.3);
}

.btn-secondary:hover {
    box-shadow: 0 6px 20px rgba(0, 255, 209, 0.5);
    color: #111111;
}

/* Scroll offset for section anchors */
#nosotros, #servicios, #proceso, #testimonios, #faq, #contacto {
    scroll-margin-top: 120px;
    padding-top: 20px;
}

/* Animaciones para SVG */
@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

/* Header y Navegación */
header {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    padding: 20px 0;
    z-index: 1000;
    transition: all 0.3s ease;
    background-color: rgba(17, 17, 17, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(191, 0, 255, 0.2);
}

header.scrolled {
    padding: 15px 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 40px;
    margin-right: 10px;
}

.logo-symbol {
    width: 40px;
    height: 40px;
    margin-right: 12px;
    border-radius: 50%;
    background: linear-gradient(45deg, #BF00FF, #00FFD1);
    position: relative;
    box-shadow: 0 0 15px rgba(191, 0, 255, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo-symbol::before {
    content: '';
    position: absolute;
    width: 24px;
    height: 24px;
    background-color: #111;
    border-radius: 50%;
    z-index: 1;
}

.logo-symbol::after {
    content: '';
    position: absolute;
    width: 12px;
    height: 12px;
    background: #C6FF00;
    border-radius: 50%;
    z-index: 2;
    box-shadow: 0 0 8px rgba(198, 255, 0, 0.8);
}

.logo-text {
    font-weight: 700;
    font-size: 1.8rem;
    background: linear-gradient(to right, #BF00FF, #00FFD1);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 0 5px rgba(191, 0, 255, 0.3);
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 25px;
}

nav ul li a {
    color: #F2F2F2;
    font-weight: 500;
    position: relative;
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(to right, #C6FF00, #00FFD1);
    transition: width 0.3s ease;
}

nav ul li a:hover::after,
nav ul li a.active::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    height: 20px;
    cursor: pointer;
    z-index: 1001;
}

.mobile-menu-btn span {
    display: block;
    width: 30px;
    height: 3px;
    background-color: #F2F2F2;
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero-section {
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    background: linear-gradient(rgba(17, 17, 17, 0.8), rgba(17, 17, 17, 0.8)), url('img/y1gTph.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(191, 0, 255, 0.3), rgba(198, 255, 0, 0.3));
    z-index: 1;
    animation: gradient-shift 8s infinite alternate;
}

@keyframes gradient-shift {
    0% {
        opacity: 0.2;
    }
    100% {
        opacity: 0.4;
    }
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(to right, #BF00FF, #00FFD1);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: text-glow 1.5s ease-in-out infinite alternate;
}

@keyframes text-glow {
    from {
        text-shadow: 0 0 10px rgba(191, 0, 255, 0.5), 0 0 20px rgba(0, 255, 209, 0.3);
    }
    to {
        text-shadow: 0 0 15px rgba(191, 0, 255, 0.8), 0 0 30px rgba(0, 255, 209, 0.5);
    }
}

.hero-content h2 {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: #C6FF00;
}

.hero-cta {
    margin-top: 2rem;
}

/* About Section */
.about-section {
    background-color: #141414;
}

.about-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-image {
    flex: 1;
}

.about-text {
    flex: 1;
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background: rgba(30, 30, 30, 0.7);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(191, 0, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: -100%;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(191, 0, 255, 0.2), rgba(0, 255, 209, 0.2));
    z-index: -1;
    transition: all 0.5s ease;
    transform: rotate(45deg);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(191, 0, 255, 0.3);
    border: 1px solid rgba(191, 0, 255, 0.5);
}

.service-card:hover::before {
    top: 0;
    left: 0;
}

.service-icon {
    margin-bottom: 20px;
}

.service-icon svg {
    width: 64px;
    height: 64px;
    fill: #00FFD1;
    animation: pulse 3s infinite;
}

.service-card h3 {
    margin-bottom: 15px;
    color: #C6FF00;
}

.service-price {
    font-weight: 700;
    font-size: 1.3rem;
    margin: 15px 0;
    color: #BF00FF;
}

/* Process Section */
.process-section {
    background-color: #141414;
}

.process-steps {
    counter-reset: step;
}

.process-step {
    display: flex;
    margin-bottom: 30px;
    position: relative;
}

.step-number {
    flex: 0 0 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #BF00FF, #00FFD1);
    border-radius: 50%;
    color: #111111;
    font-size: 2rem;
    font-weight: 700;
    margin-right: 30px;
    position: relative;
    z-index: 1;
    box-shadow: 0 5px 15px rgba(191, 0, 255, 0.4);
}

.step-content {
    flex: 1;
    padding: 20px;
    background: rgba(30, 30, 30, 0.7);
    border-radius: 15px;
    border: 1px solid rgba(0, 255, 209, 0.2);
}

.step-content h3 {
    color: #C6FF00;
    margin-bottom: 10px;
}

/* Testimonials Section */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background: rgba(30, 30, 30, 0.7);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(191, 0, 255, 0.2);
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 255, 209, 0.3);
    border: 1px solid rgba(0, 255, 209, 0.5);
}

.testimonial-image {
    height: 200px;
    overflow: hidden;
}

.testimonial-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.testimonial-card:hover .testimonial-image img {
    transform: scale(1.1);
}

.testimonial-content {
    padding: 25px;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 15px;
    position: relative;
}

.testimonial-text::before {
    content: '"';
    font-size: 3rem;
    position: absolute;
    top: -20px;
    left: -10px;
    opacity: 0.2;
    color: #BF00FF;
}

.testimonial-author {
    font-weight: 700;
    color: #00FFD1;
}

/* FAQ Section */
.faq-section {
    background-color: #141414;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 20px;
    border: 1px solid rgba(198, 255, 0, 0.3);
    border-radius: 10px;
    overflow: hidden;
}

.faq-question {
    padding: 20px;
    background: rgba(30, 30, 30, 0.9);
    font-weight: 600;
    cursor: pointer;
    position: relative;
    color: #C6FF00;
    transition: all 0.3s ease;
}

.faq-question::after {
    content: '+';
    position: absolute;
    right: 20px;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question::after {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s ease;
    background: rgba(20, 20, 20, 0.7);
}

.faq-item.active .faq-answer {
    padding: 20px;
    max-height: 1000px;
}

/* Contact Section */
.form-container {
    max-width: 600px;
    margin: 0 auto;
    padding: 30px;
    background: rgba(30, 30, 30, 0.7);
    border-radius: 15px;
    border: 1px solid rgba(191, 0, 255, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid rgba(198, 255, 0, 0.3);
    border-radius: 8px;
    background: rgba(17, 17, 17, 0.7);
    color: #F2F2F2;
    font-family: inherit;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #BF00FF;
    box-shadow: 0 0 0 2px rgba(191, 0, 255, 0.2);
    outline: none;
}

.form-checkbox {
    display: flex;
    align-items: center;
}

.form-checkbox input {
    width: auto;
    margin-right: 10px;
    cursor: pointer;
}

.form-checkbox label {
    margin-bottom: 0;
    cursor: pointer;
}

.form-submit {
    margin-top: 30px;
    text-align: center;
}

/* Location Section */
.location-info {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.info-item {
    display: flex;
    align-items: center;
    padding: 15px 25px;
    background: rgba(30, 30, 30, 0.7);
    border-radius: 50px;
    border: 1px solid rgba(0, 255, 209, 0.3);
    transition: all 0.3s ease;
}

.info-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 255, 209, 0.3);
}

.info-icon {
    margin-right: 15px;
}

/* Footer */
footer {
    background-color: #0A0A0A;
    padding: 60px 0 30px;
    position: relative;
}

.footer-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(to right, #BF00FF, #C6FF00, #00FFD1);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.footer-col {
    margin-bottom: 30px;
}

.footer-col h4 {
    color: #00FFD1;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background: #BF00FF;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links li a {
    color: #F2F2F2;
    transition: all 0.3s ease;
    display: block;
}

.footer-links li a:hover {
    color: #C6FF00;
    transform: translateX(5px);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    margin-top: 30px;
    border-top: 1px solid rgba(242, 242, 242, 0.1);
}

/* Cookie Popup */
.cookie-popup {
    position: fixed;
    bottom: -100%;
    left: 0;
    width: 100%;
    background: rgba(20, 20, 20, 0.95);
    padding: 20px;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.2);
    z-index: 9999;
    transition: bottom 0.5s ease;
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(191, 0, 255, 0.3);
}

.cookie-popup.show {
    bottom: 0;
}

.cookie-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.cookie-text {
    flex: 1;
    margin-right: 20px;
}

.cookie-actions {
    flex: 0 0 auto;
}

/* Responsive Styles */
@media (max-width: 992px) {
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .about-content {
        flex-direction: column;
        gap: 30px;
    }
    
    .hero-content h1 {
        font-size: 2.8rem;
    }
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: flex;
    }
    
    nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100%;
        background: rgba(17, 17, 17, 0.98);
        backdrop-filter: blur(10px);
        z-index: 1000;
        transition: right 0.4s ease;
        box-shadow: -5px 0 30px rgba(0, 0, 0, 0.3);
        padding: 100px 30px 30px;
    }
    
    nav.active {
        right: 0;
    }
    
    nav ul {
        flex-direction: column;
    }
    
    nav ul li {
        margin: 15px 0;
    }
    
    .hero-content h1 {
        font-size: 2.3rem;
    }
    
    .hero-content h2 {
        font-size: 1.3rem;
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-text {
        margin-right: 0;
        margin-bottom: 20px;
    }
    
    .info-item {
        width: 100%;
    }
}

@media (max-width: 576px) {
    section {
        padding: 60px 0;
    }
    
    .hero-section {
        min-height: 600px;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .service-card,
    .testimonial-card {
        padding: 20px;
    }
    
    .process-step {
        flex-direction: column;
    }
    
    .step-number {
        margin-bottom: 15px;
        margin-right: 0;
    }
}

/* Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.slide-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.slide-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.slide-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.slide-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Loader */
.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #111111;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loader.hide {
    opacity: 0;
    visibility: hidden;
}

.loader-content {
    text-align: center;
}

.loader-icon {
    width: 60px;
    height: 60px;
    border: 4px solid rgba(191, 0, 255, 0.3);
    border-radius: 50%;
    border-top-color: #BF00FF;
    animation: spin 1s infinite linear;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
} 

/* Eliminar los estilos antiguos del logo 'domain' que ya no se usan */
.domain-logo {
    display: none;
}

.domain-logo::before {
    display: none;
} 