/* Estilos para el sitio web de consultoría de auditoría financiera */

/* Variables y reset CSS */
:root {
    --color-bg: #d7f2f1;
    --color-accent: #fdd835;
    --color-heading: #2e2e2e;
    --color-text: #4f4f4f;
    --color-button: #8e24aa;
    --color-white: #ffffff;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
}

/* Ajuste adicional para elementos que puedan causar overflow */
img, svg, video, canvas, picture {
    max-width: 100%;
    height: auto;
    display: block;
}

/* En secciones con contenido que podría desbordarse */
.service-card, .testimonial-card, .pricing-card, .contact-form-container, .policy-content {
    max-width: 100%;
    box-sizing: border-box;
}

/* En testimonials-grid y otros grids */
.testimonials-grid, .services-list {
    width: 100%;
    max-width: 100%;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

/* Tipografía */
h1, h2, h3, h4, h5, h6 {
    color: var(--color-heading);
    margin-bottom: 1rem;
    font-weight: 700;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
    position: relative;
    padding-bottom: 0.5rem;
}

h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: var(--color-accent);
    transition: var(--transition);
}

section:hover h2::after {
    width: 100px;
}

p {
    margin-bottom: 1.5rem;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.section-padding {
    padding: 80px 0;
}

/* Header y Navegación */
header {
    background-color: var(--color-white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    display: flex;
    align-items: center;
}

.logo svg {
    height: 40px;
    margin-right: 10px;
}

.logo-text {
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--color-heading);
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
}

.nav-menu {
    display: flex;
    list-style: none;
}

.nav-item {
    margin-left: 30px;
}

.nav-link {
    color: var(--color-heading);
    text-decoration: none;
    font-weight: 500;
    position: relative;
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--color-button);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-button);
    transition: var(--transition);
}

.nav-link:hover::after {
    width: 100%;
}

/* Hero Section */
.hero {
    padding-top: 120px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background-image: url('./img/MOVoiT.jpg');
    background-size: cover;
    background-position: center;
    text-align: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 0;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    color: var(--color-white);
    padding: 0 20px;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    color: var(--color-white);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: var(--color-white);
}

/* Botones */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    text-align: center;
    width: 100%;
    max-width: 200px;
}

.btn-primary {
    background-color: var(--color-button);
    color: var(--color-white);
    box-shadow: 0 4px 15px rgba(142, 36, 170, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(142, 36, 170, 0.6);
}

.btn-secondary {
    background-color: transparent;
    color: var(--color-button);
    border: 2px solid var(--color-button);
}

.btn-secondary:hover {
    background-color: var(--color-button);
    color: var(--color-white);
}

/* Específico para los botones en pricing cards */
.pricing-card .btn {
    display: block;
    margin: 0 auto;
    width: 80%;
    background-color: var(--color-button);
    color: var(--color-white);
    box-shadow: 0 4px 15px rgba(142, 36, 170, 0.4);
    padding: 12px 5px;
}

.pricing-card .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(142, 36, 170, 0.6);
}

.pricing-card-popular .btn {
    background-color: var(--color-white);
    color: var(--color-button);
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.3);
}

/* Sección Acerca de */
.about {
    position: relative;
}

.about-content {
    display: flex;
    align-items: center;
    gap: 40px;
}

.about-text {
    flex: 1;
}

.about-img {
    flex: 1;
    position: relative;
}

.about-img img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.about-img::after {
    content: '';
    position: absolute;
    bottom: -15px;
    right: -15px;
    width: 70%;
    height: 70%;
    border: 3px solid var(--color-accent);
    border-radius: 10px;
    z-index: -1;
}

.about-img:hover img {
    transform: scale(1.03);
}

/* Sección de Servicios */
.services-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.service-card {
    background-color: var(--color-white);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 0;
    background-color: var(--color-accent);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.service-card:hover::before {
    height: 100%;
}

.service-icon {
    width: 60px;
    height: 60px;
    background-color: var(--color-button);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.service-icon i {
    color: var(--color-white);
    font-size: 1.5rem;
}

.service-title {
    font-size: 1.3rem;
    margin-bottom: 15px;
}

/* Sección de Etapas */
.steps {
    background-color: rgba(255, 255, 255, 0.7);
}

.steps-list {
    counter-reset: step;
    position: relative;
}

.step-item {
    display: flex;
    gap: 30px;
    margin-bottom: 50px;
    position: relative;
}

.step-number {
    counter-increment: step;
    flex: 0 0 80px;
}

.step-number::before {
    content: counter(step);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background-color: var(--color-accent);
    color: var(--color-heading);
    border-radius: 50%;
    font-size: 1.5rem;
    font-weight: 700;
}

.step-content {
    flex: 1;
}

.steps-list::after {
    content: '';
    position: absolute;
    left: 30px;
    top: 0;
    height: 100%;
    width: 2px;
    background-color: rgba(253, 216, 53, 0.3);
    z-index: -1;
}

/* Sección de Tarifas */
.pricing {
    position: relative;
}

.pricing::before {
    display: none;
}

.pricing-cards {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 50px;
}

.pricing-card {
    background-color: var(--color-white);
    border-radius: 10px;
    padding: 40px 30px;
    flex: 1;
    position: relative;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.pricing-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.pricing-header {
    text-align: center;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

.pricing-tag {
    display: inline-block;
    padding: 5px 15px;
    background-color: var(--color-accent);
    color: var(--color-heading);
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.pricing-title {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.pricing-price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-button);
}

.pricing-period {
    font-size: 0.9rem;
    color: var(--color-text);
}

.pricing-features {
    list-style: none;
    margin-bottom: 30px;
    flex-grow: 1;
}

.pricing-feature {
    padding: 10px 0;
    display: flex;
    align-items: center;
}

.pricing-feature::before {
    content: '✓';
    margin-right: 10px;
    color: var(--color-button);
    font-weight: 700;
}

.pricing-card-popular {
    background: linear-gradient(45deg, #8e24aa, #9c27b0);
    color: var(--color-white);
}

.pricing-card-popular .pricing-title,
.pricing-card-popular .pricing-price {
    color: var(--color-white);
}

.pricing-card-popular .pricing-feature::before {
    color: var(--color-accent);
}

.pricing-card-popular .pricing-tag {
    background-color: var(--color-white);
    color: var(--color-button);
}

/* Sección de Formulario */
.contact {
    position: relative;
}

.contact-form-container {
    background-color: var(--color-white);
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    padding: 40px;
    max-width: 700px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 5px;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--color-button);
    box-shadow: 0 0 0 3px rgba(142, 36, 170, 0.2);
}

.form-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E%3Cpath fill='%234f4f4f' d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
}

.form-check {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
}

.form-check-input {
    margin-right: 10px;
    margin-top: 5px;
    flex: 0 0 auto;
}

.form-check-label {
    font-size: 0.9rem;
}

.form-check-label a {
    color: var(--color-button);
    text-decoration: none;
}

.form-check-label a:hover {
    text-decoration: underline;
}

/* Sección de Testimonios */
.testimonials {
    background-color: rgba(255, 255, 255, 0.7);
}

.testimonial-card {
    background-color: var(--color-white);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 4rem;
    color: var(--color-accent);
    opacity: 0.2;
    font-family: serif;
    line-height: 1;
}

.testimonial-text {
    position: relative;
    z-index: 1;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    margin-top: 20px;
}

.testimonial-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-right: 15px;
}

.testimonial-name {
    font-weight: 600;
    margin: 0;
}

.testimonial-position {
    font-size: 0.9rem;
    color: var(--color-text);
}

/* Footer */
footer {
    background-color: var(--color-heading);
    color: rgba(255, 255, 255, 0.7);
    padding: 60px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.footer-logo {
    margin-bottom: 15px;
}

.footer-company-info p {
    margin-bottom: 15px;
    font-size: 0.9rem;
    line-height: 1.6;
}

.footer-title {
    color: var(--color-white);
    font-size: 1.2rem;
    margin-bottom: 20px;
    position: relative;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--color-accent);
}

.footer-links {
    list-style: none;
}

.footer-link {
    margin-bottom: 8px;
}

.footer-link a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition);
    font-size: 0.9rem;
}

.footer-link a:hover {
    color: var(--color-white);
    padding-left: 5px;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
}

.footer-contact-icon {
    margin-right: 10px;
    color: var(--color-accent);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 40px;
    padding-top: 20px;
    text-align: center;
    font-size: 0.8rem;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    opacity: 0;
    background-color: var(--color-white);
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
    z-index: 9999;
    max-width: 400px;
    text-align: center;
    transition: transform 0.5s ease, opacity 0.5s ease;
}

.cookie-banner.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

.cookie-buttons {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 15px;
}

/* Gracias Page */
.gracias-container {
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.gracias-icon {
    width: 100px;
    height: 100px;
    background-color: var(--color-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
    animation: pulse 2s infinite;
}

.gracias-icon i {
    color: var(--color-heading);
    font-size: 3rem;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(253, 216, 53, 0.7);
    }
    70% {
        transform: scale(1.05);
        box-shadow: 0 0 0 15px rgba(253, 216, 53, 0);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(253, 216, 53, 0);
    }
}

/* Política y términos */
.policy-content {
    background-color: var(--color-white);
    border-radius: 10px;
    padding: 40px;
    margin: 40px 0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.policy-content h2 {
    margin-top: 40px;
}

.policy-content h3 {
    margin-top: 25px;
    font-size: 1.2rem;
}

.policy-content ul, 
.policy-content ol {
    margin-bottom: 20px;
    margin-left: 20px;
}

.policy-content li {
    margin-bottom: 10px;
}

/* Animaciones */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 1s ease forwards;
}

.delay-1 {
    animation-delay: 0.2s;
}

.delay-2 {
    animation-delay: 0.4s;
}

.delay-3 {
    animation-delay: 0.6s;
}

/* Media Queries para diseño responsivo */
@media (max-width: 992px) {
    html, body {
        overflow-x: hidden;
        width: 100%;
        position: relative;
    }
    
    h1 {
        font-size: 2.2rem;
    }
    
    .hero h1 {
        font-size: 2.8rem;
    }
    
    .about-content {
        flex-direction: column-reverse;
    }
    
    .pricing-cards {
        flex-direction: column;
    }
    
    .pricing-card {
        margin-bottom: 20px;
    }
}

@media (max-width: 768px) {
    .section-padding {
        padding: 60px 0;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.6rem;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .nav-toggle {
        display: block;
        font-size: 1.8rem;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background-color: var(--color-white);
        padding: 20px;
        flex-direction: column;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        transform: translateY(-150%);
        transition: transform 0.3s ease;
        z-index: 999;
    }
    
    .nav-menu.active {
        transform: translateY(0);
    }
    
    .nav-item {
        margin: 0 0 15px 0;
    }
}

@media (max-width: 576px) {
    .section-padding {
        padding: 50px 0;
    }
    
    .hero {
        padding-top: 100px;
    }
    
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .btn {
        padding: 10px 20px;
    }
    
    .contact-form-container {
        padding: 20px;
    }
} 