/* 
 * FinExpert - Auditoría Financiera
 * Stylesheet principal
 * 
 * Paleta de colores:
 * - Fondo principal: #1F1D2B
 * - Acentos: #00C2FF, #B8D200, #D26A5C
 * - Títulos: #FAFAFA
 * - Texto: #B5B5B5
 */

/* Reset y estilos básicos */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px; /* Ajuste para la navegación con anclajes */
}

body {
    font-family: 'Rubik', sans-serif;
    background-color: #1F1D2B;
    color: #B5B5B5;
    font-size: 16px;
    line-height: 1.6;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    text-decoration: none;
    color: #00C2FF;
    transition: all 0.3s ease;
}

a:hover {
    color: #B8D200;
}

/* Container y layout */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

section:nth-child(odd) {
    background-color: rgba(255, 255, 255, 0.03);
}

/* Encabezados */
h1, h2, h3, h4, h5, h6 {
    color: #FAFAFA;
    font-weight: 600;
    margin-bottom: 20px;
    line-height: 1.2;
}

h1 {
    font-size: 3rem;
    margin-bottom: 30px;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 40px;
    text-align: center;
    position: relative;
}

h2::after {
    content: "";
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #00C2FF, #B8D200);
    border-radius: 2px;
}

h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
}

h4 {
    font-size: 1.4rem;
    margin-bottom: 10px;
}

p {
    margin-bottom: 20px;
}

/* Header y navegación */
header {
    padding: 20px 0;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(31, 29, 43, 0.95);
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

header.scrolled {
    padding: 15px 0;
    background-color: rgba(31, 29, 43, 0.98);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: #FAFAFA;
    display: flex;
    align-items: center;
}

.logo svg {
    margin-right: 10px;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    color: #FAFAFA;
    font-size: 1.5rem;
    cursor: pointer;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    color: #FAFAFA;
    font-weight: 500;
    position: relative;
    padding-bottom: 5px;
}

nav ul li a::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #00C2FF, #B8D200);
    transition: width 0.3s ease;
}

nav ul li a:hover::after,
nav ul li a.active::after {
    width: 100%;
}

/* Hero section */
.hero {
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    text-align: center;
    padding-top: 100px;
    background: linear-gradient(rgba(31, 29, 43, 0.9), rgba(31, 29, 43, 0.95)), url('./img/BgpBTk.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
}

.hero-subtitle {
    font-size: 1.4rem;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Botones */
.btn-primary, .btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 30px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary {
    background: linear-gradient(90deg, #00C2FF, #B8D200);
    color: #1F1D2B;
}

.btn-primary:hover {
    color: #FAFAFA;
    box-shadow: 0 5px 15px rgba(0, 194, 255, 0.3);
    transform: translateY(-3px);
}

.btn-secondary {
    background-color: transparent;
    color: #00C2FF;
    border: 2px solid #00C2FF;
}

.btn-secondary:hover {
    background-color: #00C2FF;
    color: #1F1D2B;
    box-shadow: 0 5px 15px rgba(0, 194, 255, 0.3);
    transform: translateY(-3px);
}

/* Sección About */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.about-text {
    padding-right: 20px;
}

.about-image {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.about-image::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(0, 194, 255, 0.3), rgba(184, 210, 0, 0.3));
    z-index: 1;
}

/* Servicios */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.service-card {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    background-color: rgba(255, 255, 255, 0.08);
}

.service-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    overflow: hidden;
    position: relative;
}

.service-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-card h3 {
    margin-bottom: 15px;
    color: #00C2FF;
}

.service-card .btn-secondary {
    margin-top: 20px;
}

/* Precios */
.tabs {
    margin-top: 30px;
}

.tab-header {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
}

.tab {
    padding: 15px 30px;
    cursor: pointer;
    border-bottom: 3px solid transparent;
    font-weight: 600;
    transition: all 0.3s ease;
    color: #B5B5B5;
}

.tab.active {
    color: #00C2FF;
    border-color: #00C2FF;
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
    animation: fadeIn 0.5s ease forwards;
}

.price-table {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.price-item {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
}

.price-item.featured {
    background-color: rgba(0, 194, 255, 0.1);
    transform: scale(1.05);
    position: relative;
    z-index: 1;
}

.price-item.featured::before {
    content: "Recomendado";
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(90deg, #00C2FF, #B8D200);
    color: #1F1D2B;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.price-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.price-item.featured:hover {
    transform: translateY(-10px) scale(1.05);
}

.price-item h3 {
    margin-bottom: 10px;
    color: #FAFAFA;
}

.price {
    font-size: 2.5rem;
    font-weight: 700;
    color: #00C2FF;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.price::before {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 2px;
    background: #00C2FF;
}

.price-item ul {
    list-style: none;
    margin: 20px 0;
}

.price-item ul li {
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.price-item ul li:last-child {
    border-bottom: none;
}

.price-item .btn-primary {
    margin-top: 20px;
}

/* Beneficios */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.benefit-card {
    text-align: center;
    padding: 30px;
    border-radius: 10px;
    background-color: rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.benefit-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.benefit-icon {
    margin-bottom: 20px;
    display: inline-block;
    position: relative;
}

.benefit-card h3 {
    color: #FAFAFA;
    margin-bottom: 15px;
}

/* Testimonios */
.testimonials {
    padding-bottom: 100px;
}

.testimonial-slider {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.testimonial {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 30px;
    position: relative;
    transition: all 0.3s ease;
}

.testimonial:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.testimonial::before {
    content: """;
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 4rem;
    color: rgba(0, 194, 255, 0.2);
    font-family: serif;
    line-height: 1;
}

.testimonial-content {
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.testimonial-author h4 {
    color: #00C2FF;
    margin-bottom: 5px;
}

.testimonial-author p {
    font-size: 0.9rem;
    margin-bottom: 0;
    font-style: italic;
}

/* Contacto */
.contact {
    position: relative;
}

.contact::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100' viewBox='0 0 100 100'%3E%3Cpath fill='%2300C2FF' fill-opacity='0.05' d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z'%3E%3C/path%3E%3C/svg%3E");
    z-index: -1;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 40px;
}

.contact-form {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 10px;
}

.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;
    background-color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 5px;
    color: #000000;
    font-family: 'Rubik', sans-serif;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #00C2FF;
    box-shadow: 0 0 0 2px rgba(0, 194, 255, 0.2);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
}

.checkbox-group input[type="checkbox"] {
    margin-right: 10px;
    width: auto;
}

.contact-info {
    padding-left: 20px;
}

.info-item {
    display: flex;
    margin-bottom: 30px;
}

.info-item svg {
    margin-right: 15px;
    min-width: 24px;
}

.info-item h4 {
    color: #FAFAFA;
    margin-bottom: 5px;
}

/* Footer */
footer {
    background-color: rgba(0, 0, 0, 0.2);
    padding: 60px 0 20px;
    position: relative;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-column h4 {
    color: #FAFAFA;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid rgba(0, 194, 255, 0.3);
    display: inline-block;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links li a {
    color: #B5B5B5;
    transition: all 0.3s ease;
}

.footer-links li a:hover {
    color: #00C2FF;
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Cookies Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(31, 29, 43, 0.95);
    padding: 15px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 9999;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.btn-cookie {
    background: linear-gradient(90deg, #00C2FF, #B8D200);
    color: #1F1D2B;
    border: none;
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-cookie:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 194, 255, 0.3);
}

/* Animaciones */
@keyframes fadeIn {
    from { 
        opacity: 0; 
        transform: translateY(20px); 
    }
    to { 
        opacity: 1; 
        transform: translateY(0); 
    }
}

/* Precios - Nuevos estilos */
.pricing-intro {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    align-items: center;
    margin-bottom: 40px;
}

.pricing-image {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    position: relative;
}

.pricing-image::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(0, 194, 255, 0.3), rgba(184, 210, 0, 0.3));
    z-index: 1;
}

.pricing-image img {
    display: block;
    width: 100%;
}

.pricing-text h3 {
    color: #00C2FF;
    margin-bottom: 20px;
}

/* Contacto - Nuevos estilos */
.contact-intro {
    max-width: 800px;
    margin: 0 auto 40px;
    text-align: center;
}

.contact-wrapper {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.contact-grid {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 40px;
}

.contact-form, .contact-info {
    padding: 30px;
    border-radius: 10px;
    background-color: rgba(255, 255, 255, 0.05);
}

.contact-form h3, .contact-info h3 {
    color: #00C2FF;
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(0, 194, 255, 0.2);
    padding-bottom: 10px;
}

.contact-hours {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-map {
    height: 300px;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.map-placeholder {
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: linear-gradient(rgba(31, 29, 43, 0.7), rgba(31, 29, 43, 0.7)), url('./img/6UZyEx.jpg');
    background-size: cover;
    background-position: center;
}

.map-overlay {
    background-color: rgba(31, 29, 43, 0.8);
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    max-width: 400px;
    border: 1px solid rgba(0, 194, 255, 0.2);
}

.map-overlay h4 {
    color: #00C2FF;
    margin-bottom: 10px;
}

/* Para secciones con ID (objetivos de anclaje) */
section[id] {
    padding-top: 100px;
    margin-top: -60px;
}

/* Para la página "gracias" */
.thanks-container {
    padding-top: 120px;
}

.thanks-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: linear-gradient(rgba(31, 29, 43, 0.9), rgba(31, 29, 43, 0.95)), url('./img/OTOqUI.jpg');
    background-size: cover;
    background-position: center;
    text-align: center;
}

.thanks-card {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 40px;
    max-width: 600px;
    width: 90%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    margin: 20px;
    border: 1px solid rgba(0, 194, 255, 0.2);
}

.thanks-icon-large {
    width: 120px;
    height: 120px;
    margin-bottom: 30px;
    animation: pulse 2s infinite;
}

/* Media queries para responsividad */
@media (max-width: 1024px) {
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .about-content,
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .about-image {
        margin-top: 30px;
    }
    
    .contact-info {
        padding-left: 0;
        margin-top: 30px;
    }

    .pricing-intro,
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .pricing-text {
        order: -1;
    }
}

@media (max-width: 768px) {
    header {
        padding: 15px 0;
    }
    
    .nav-toggle {
        display: block;
    }
    
    nav {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background-color: rgba(31, 29, 43, 0.98);
        display: flex;
        align-items: center;
        justify-content: center;
        transform: translateX(-100%);
        transition: all 0.5s ease;
        z-index: 999;
    }
    
    nav.active {
        transform: translateX(0);
    }
    
    nav ul {
        flex-direction: column;
        text-align: center;
    }
    
    nav ul li {
        margin: 15px 0;
    }
    
    .hero {
        height: auto;
        min-height: 500px;
        padding-top: 120px;
        padding-bottom: 60px;
    }
    
    .services-grid,
    .benefits-grid,
    .testimonial-slider {
        grid-template-columns: 1fr;
    }
    
    .price-table {
        grid-template-columns: 1fr;
    }
    
    .price-item.featured {
        transform: scale(1);
    }
    
    .price-item.featured:hover {
        transform: translateY(-10px);
    }
    
    section {
        padding: 60px 0;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .cookie-banner {
        flex-direction: column;
        padding: 15px;
    }
    
    .cookie-banner p {
        margin-bottom: 15px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .btn-primary, .btn-secondary {
        padding: 12px 25px;
        font-size: 0.9rem;
    }
    
    .tab-header {
        flex-direction: column;
    }
    
    .tab {
        margin-bottom: 10px;
    }
} 

/* Nuevos estilos para la página de agradecimiento */
.thanks-benefits {
    display: flex;
    gap: 20px;
    margin: 20px 0;
    flex-wrap: wrap;
    justify-content: center;
}

.thanks-benefit {
    display: flex;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 15px;
    width: 100%;
    max-width: 300px;
}

.thanks-benefit svg {
    margin-right: 15px;
    min-width: 36px;
}

.thanks-benefit h4 {
    color: #FAFAFA;
    margin-bottom: 5px;
}

.thanks-benefit p {
    font-size: 0.9rem;
    margin-bottom: 0;
}

.thanks-title {
    margin-bottom: 20px;
    color: #00C2FF;
}

.thanks-message {
    margin-bottom: 20px;
}

.countdown {
    margin-top: 30px;
    font-size: 1rem;
    opacity: 0.7;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
} 