/* 
 * Estilos para Auditoría Financiera
 * Color Palette:
 * - Bright Azure: #009FE3
 * - Coral: #FF6F61
 * - Dark Gray: #2E2E2E
 * - White: #FFFFFF
 * - Light Gray: #F6F6F6
 */

/* Base Styles and Reset */
:root {
    --primary: #009FE3;
    --secondary: #FF6F61;
    --dark: #2E2E2E;
    --light: #F6F6F6;
    --white: #FFFFFF;
    --shadow: rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--dark);
    background-color: var(--white);
    overflow-x: hidden; /* Prevenir el desplazamiento horizontal */
    width: 100%;
    position: relative;
}

html {
    overflow-x: hidden; /* Prevenir el desplazamiento horizontal también en html */
    width: 100%;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    box-sizing: border-box; /* Asegurar que el padding no cause desplazamiento */
}

h1, h2, h3, h4, h5, h6 {
    margin-bottom: 1rem;
    font-weight: 600;
    line-height: 1.2;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
}

h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: var(--secondary);
    margin: 15px auto 0;
}

p {
    margin-bottom: 1rem;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--secondary);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Button Styles */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--white);
}

.btn-primary:hover {
    background-color: #007ab0;
    color: var(--white);
}

.btn-secondary {
    background-color: var(--secondary);
    color: var(--white);
}

.btn-secondary:hover {
    background-color: #e5634f;
    color: var(--white);
}

/* Header and Navigation */
.main-header {
    padding: 15px 0;
    background-color: var(--white);
    box-shadow: 0 2px 10px var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    flex: 0 0 auto;
}

.main-nav {
    flex: 1;
    text-align: right;
}

.nav-list {
    list-style: none;
    display: flex;
    justify-content: flex-end;
}

.nav-list li {
    margin-left: 1.5rem;
}

.nav-list a {
    color: var(--dark);
    font-weight: 500;
}

.nav-list a:hover {
    color: var(--primary);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    cursor: pointer;
}

.mobile-menu-toggle span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: var(--dark);
    border-radius: 3px;
}

/* Section Styles */
section {
    padding: 5rem 0;
}

/* Hero Section */
.hero {
    background: linear-gradient(to right, rgba(255, 255, 255, 0.9) 50%, rgba(255, 255, 255, 0.7) 100%), url('');
    background-size: cover;
    background-position: center;
    padding: 8rem 0;
    position: relative;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero .container {
    z-index: 2;
    position: relative;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding: 2rem;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 10px;
    box-shadow: 0 10px 30px var(--shadow);
}

.hero-content.centered {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.hero-content h1 {
    margin-bottom: 1.5rem;
    color: var(--dark);
}

.hero-content p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: #555;
}

.hero-image {
    flex: 1;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px var(--shadow);
}

/* About Section */
.about {
    background-color: var(--light);
}

.about-content {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.about-text {
    flex: 1;
}

.about-image {
    flex: 1;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px var(--shadow);
}

/* Services Section */
.services {
    background-color: var(--white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-item {
    padding: 2rem;
    background-color: var(--white);
    border-radius: 8px;
    box-shadow: 0 5px 15px var(--shadow);
    transition: var(--transition);
}

.service-item:hover {
    transform: translateY(-10px);
}

.service-icon {
    margin-bottom: 1.5rem;
}

.service-item h3 {
    color: var(--primary);
}

/* Advantages Section */
.advantages {
    background-color: var(--light);
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.advantage-item {
    padding: 1.5rem;
    background-color: var(--white);
    border-radius: 8px;
    box-shadow: 0 5px 15px var(--shadow);
}

.advantage-item h3 {
    color: var(--secondary);
}

/* Pricing Section */
.pricing {
    background-color: var(--white);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.pricing-item {
    padding: 2rem;
    background-color: var(--light);
    border-radius: 8px;
    box-shadow: 0 5px 15px var(--shadow);
    text-align: center;
    transition: var(--transition);
}

.pricing-item:hover {
    transform: translateY(-10px);
}

.pricing-item.featured {
    background-color: var(--white);
    border: 2px solid var(--primary);
    transform: scale(1.05);
}

.pricing-item.featured:hover {
    transform: scale(1.05) translateY(-10px);
}

.pricing-header {
    margin-bottom: 2rem;
}

.price {
    font-size: 1.8rem;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 1rem;
}

.pricing-features {
    list-style: none;
    margin-bottom: 2rem;
    text-align: left;
}

.pricing-features li {
    padding: 0.5rem 0;
    position: relative;
}

.pricing-features li::before {
    content: "✓";
    color: var(--secondary);
    margin-right: 0.5rem;
}

/* Testimonials Section */
.testimonials {
    background-color: var(--light);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial-item {
    padding: 2rem;
    background-color: var(--white);
    border-radius: 8px;
    box-shadow: 0 5px 15px var(--shadow);
}

.testimonial-content {
    margin-bottom: 1.5rem;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.testimonial-image {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 1rem;
}

.testimonial-info h4 {
    margin-bottom: 0;
    color: var(--primary);
}

.testimonial-info p {
    margin-bottom: 0;
    font-size: 0.9rem;
    color: #777;
}

/* Contact Section */
.contact {
    background-color: var(--white);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-item svg {
    flex-shrink: 0;
    margin-top: 0.25rem;
}

.contact-item h4 {
    margin-bottom: 0.5rem;
    color: var(--primary);
}

.contact-form {
    background-color: var(--light);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 5px 15px var(--shadow);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group.checkbox {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group.checkbox label {
    margin-bottom: 0;
    font-weight: normal;
    font-size: 0.9rem;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: inherit;
    font-size: 1rem;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary);
}

.form-group input[type="checkbox"] {
    width: auto;
}

/* Footer */
.main-footer {
    background-color: var(--dark);
    color: #ccc;
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-logo {
    margin-bottom: 1rem;
}

.footer-description {
    max-width: 400px;
}

.footer-contact h4,
.footer-links h4 {
    color: var(--white);
    margin-bottom: 1.5rem;
    position: relative;
}

.footer-contact h4::after,
.footer-links h4::after {
    content: '';
    display: block;
    width: 40px;
    height: 2px;
    background-color: var(--secondary);
    margin-top: 0.5rem;
}

.footer-contact ul,
.footer-links ul {
    list-style: none;
}

.footer-contact ul li,
.footer-links ul li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: #ccc;
}

.footer-links a:hover {
    color: var(--secondary);
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid #444;
    text-align: center;
    font-size: 0.9rem;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--dark);
    color: var(--white);
    padding: 1rem;
    z-index: 1001;
    box-shadow: 0 -5px 15px var(--shadow);
    display: none;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.cookie-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.cookie-content p {
    margin-right: 2rem;
    margin-bottom: 0;
}

.cookie-content a {
    color: var(--secondary);
    text-decoration: underline;
}

/* Media Queries */
@media (max-width: 992px) {
    h1 {
        font-size: 2.2rem;
    }

    h2 {
        font-size: 1.8rem;
    }

    .hero {
        padding: 6rem 0;
        min-height: 400px;
    }

    .hero .container,
    .about-content {
        flex-direction: column;
        gap: 2rem;
    }

    .hero-content {
        padding: 1.5rem;
    }

    .about-image {
        order: -1;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
    }

    .footer-info {
        grid-column: 1 / -1;
    }
    
    img {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }
    
    section {
        width: 100%;
        overflow-x: hidden;
    }

    .main-nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--white);
        padding: 0;
        box-shadow: 0 5px 15px var(--shadow);
        clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
        transition: clip-path 0.3s ease-in-out;
        z-index: 1000;
    }

    .main-nav.active {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    }

    .nav-list {
        flex-direction: column;
        padding: 1rem 0;
        display: none;
    }

    .nav-list li {
        margin: 0;
        text-align: center;
        padding: 0.75rem;
        border-bottom: 1px solid #eee;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }

    .pricing-item.featured {
        transform: none;
    }

    .pricing-item.featured:hover {
        transform: translateY(-10px);
    }

    .contact-content {
        grid-template-columns: 1fr;
    }

    .service-item:hover {
        transform: none;
    }

    .cookie-content {
        flex-direction: column;
        text-align: center;
    }

    .cookie-content p {
        margin-right: 0;
        margin-bottom: 1rem;
    }
    
    .hero-content {
        width: calc(100% - 30px);
        padding: 1rem;
        margin: 0 auto;
    }
}

@media (max-width: 576px) {
    section {
        padding: 3rem 0;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .hero {
        padding: 4rem 0;
        min-height: 350px;
    }
} 