/* 
-------------------------------------------------
AuditorFinanciero - Estilos generales
-------------------------------------------------
Colores:
- Основной: Electric Blue #1B9CFC
- Акцентный: Radiant Yellow #FFDD59
- Фон: White Smoke #F5F5F5
- Текст: Charcoal Grey #2F3640
- Дополнительный: Coral #FF6B6B
*/

/* Reset y estilos base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 62.5%;
    scroll-behavior: smooth;
}

body {
    font-family: 'Arial', sans-serif;
    font-size: 1.6rem;
    line-height: 1.6;
    color: #2F3640;
    background-color: #F5F5F5;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: #1B9CFC;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #0f7bca;
}

ul, ol {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Tipografía */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 2rem;
}

h1 {
    font-size: 4.2rem;
}

h2 {
    font-size: 3.2rem;
    position: relative;
    padding-bottom: 1.5rem;
}

h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, #1B9CFC, #FFDD59);
}

h3 {
    font-size: 2.4rem;
}

p {
    margin-bottom: 1.5rem;
}

/* Botones */
.btn {
    display: inline-block;
    padding: 1.2rem 2.4rem;
    border-radius: 4px;
    font-weight: 700;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background-color: #1B9CFC;
    color: #fff;
}

.btn-primary:hover {
    background-color: #0f7bca;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(27, 156, 252, 0.2);
    color: #fff;
}

.btn-outline {
    background-color: transparent;
    border: 2px solid #1B9CFC;
    color: #1B9CFC;
}

.btn-outline:hover {
    background-color: #1B9CFC;
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(27, 156, 252, 0.2);
}

/* Header */
.site-header {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 1.5rem 0;
}

.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    flex: 0 0 auto;
}

.logo a {
    display: block;
    max-width: 200px;
}

.main-nav {
    flex: 1 1 auto;
}

.menu-toggle {
    display: none;
}

.menu-icon {
    display: none;
    width: 30px;
    height: 20px;
    position: relative;
    cursor: pointer;
}

.menu-icon span {
    display: block;
    position: absolute;
    height: 3px;
    width: 100%;
    background: #2F3640;
    border-radius: 3px;
    opacity: 1;
    left: 0;
    transform: rotate(0deg);
    transition: all 0.25s ease-in-out;
}

.menu-icon span:nth-child(1) {
    top: 0px;
}

.menu-icon span:nth-child(2) {
    top: 8px;
}

.menu-icon span:nth-child(3) {
    top: 16px;
}

.menu-toggle:checked + .menu-icon span:nth-child(1) {
    top: 8px;
    transform: rotate(135deg);
}

.menu-toggle:checked + .menu-icon span:nth-child(2) {
    opacity: 0;
    left: -60px;
}

.menu-toggle:checked + .menu-icon span:nth-child(3) {
    top: 8px;
    transform: rotate(-135deg);
}

.nav-list {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 3rem;
}

.nav-list li a {
    color: #2F3640;
    font-weight: 600;
    position: relative;
}

.nav-list li a:not(.btn)::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #1B9CFC;
    transition: width 0.3s ease;
}

.nav-list li a:not(.btn):hover::after {
    width: 100%;
}

.nav-list li a.btn {
    padding: 0.8rem 1.6rem;
    font-size: 1.4rem;
}

/* Hero section */
.hero {
    padding: 15rem 0 10rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.7) 0%, rgba(245, 245, 245, 0.7) 100%);
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-content h1 {
    font-size: 4.8rem;
    margin-bottom: 2rem;
    color: #2F3640;
    animation: fadeInUp 0.8s ease;
}

.hero-content p {
    font-size: 2rem;
    margin-bottom: 3rem;
    color: #2F3640;
    opacity: 0.9;
    animation: fadeInUp 1s ease;
}

.hero-content .btn {
    animation: fadeInUp 1.2s ease;
}

.hero-image {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    animation: fadeIn 1.5s ease;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* About section */
.about {
    padding: 10rem 0;
    background-color: #fff;
}

.about h2 {
    text-align: center;
    margin-bottom: 6rem;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text p {
    margin-bottom: 2rem;
}

.about-image {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    transform: translateY(0);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-image:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* Services section */
.services {
    padding: 10rem 0;
    background-color: #F5F5F5;
}

.services h2 {
    text-align: center;
    margin-bottom: 6rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
}

.service-card {
    background-color: #fff;
    border-radius: 8px;
    padding: 3rem;
    text-align: center;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 30px rgba(0, 0, 0, 0.1);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #F5F5F5;
    border-radius: 50%;
    color: #1B9CFC;
}

.service-icon svg {
    width: 40px;
    height: 40px;
    fill: #1B9CFC;
}

.service-card h3 {
    margin-bottom: 1.5rem;
    font-size: 2.2rem;
}

/* Advantages section */
.advantages {
    padding: 10rem 0;
    background-color: #fff;
}

.advantages h2 {
    text-align: center;
    margin-bottom: 6rem;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 4rem;
}

.advantage-item {
    position: relative;
    padding-left: 8rem;
}

.advantage-number {
    position: absolute;
    left: 0;
    top: 0;
    font-size: 5rem;
    font-weight: 700;
    line-height: 1;
    color: rgba(27, 156, 252, 0.1);
}

.advantage-item h3 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    color: #2F3640;
}

/* Testimonials section */
.testimonials {
    padding: 10rem 0;
    background-color: #F5F5F5;
}

.testimonials h2 {
    text-align: center;
    margin-bottom: 6rem;
}

.testimonials-slider {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}

.testimonial {
    background-color: #fff;
    border-radius: 8px;
    padding: 3rem;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 30px rgba(0, 0, 0, 0.1);
}

.testimonial-content {
    margin-bottom: 2rem;
}

.testimonial-content p {
    font-style: italic;
    position: relative;
    padding: 0 2rem;
}

.testimonial-content p::before,
.testimonial-content p::after {
    content: '"';
    font-size: 4rem;
    color: #FFDD59;
    position: absolute;
    height: 2rem;
    line-height: 1;
}

.testimonial-content p::before {
    left: 0;
    top: -1rem;
}

.testimonial-content p::after {
    right: 0;
    bottom: -1rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #1B9CFC;
}

.author-info h4 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    color: #2F3640;
}

.author-info p {
    font-size: 1.4rem;
    color: #2F3640;
    opacity: 0.7;
    margin: 0;
}

/* Contact form section */
.contact-form {
    padding: 10rem 0;
    background-color: #fff;
}

.contact-form h2 {
    text-align: center;
    margin-bottom: 6rem;
}

.contact-form form {
    max-width: 700px;
    margin: 0 auto;
    background-color: #F5F5F5;
    padding: 4rem;
    border-radius: 8px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    background-image: linear-gradient(135deg, #F5F5F5 0%, #fff 100%);
    position: relative;
    overflow: hidden;
}

.contact-form form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(to right, #1B9CFC, #FFDD59);
}

.form-group {
    margin-bottom: 2.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 1rem;
    font-weight: 600;
}

.form-group input[type="text"],
.form-group input[type="tel"],
.form-group input[type="email"],
.form-group textarea {
    width: 100%;
    padding: 1.2rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1.6rem;
    transition: all 0.3s ease;
}

.form-group input[type="text"]:focus,
.form-group input[type="tel"]:focus,
.form-group input[type="email"]:focus,
.form-group textarea:focus {
    border-color: #1B9CFC;
    outline: none;
    box-shadow: 0 0 0 3px rgba(27, 156, 252, 0.2);
}

.radio-group {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.radio-group input[type="radio"] {
    margin-right: 1rem;
    cursor: pointer;
}

.radio-group label {
    margin: 0;
    cursor: pointer;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
}

.checkbox-group input[type="checkbox"] {
    margin-right: 1rem;
    margin-top: 0.3rem;
    cursor: pointer;
}

.checkbox-group label {
    font-size: 1.4rem;
    cursor: pointer;
}

/* FAQ section */
.faq {
    padding: 10rem 0;
    background-color: #F5F5F5;
}

.faq h2 {
    text-align: center;
    margin-bottom: 6rem;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background-color: #fff;
    border-radius: 8px;
    margin-bottom: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.faq-item summary {
    padding: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 600;
    position: relative;
    outline: none;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: '+';
    font-size: 2rem;
    color: #1B9CFC;
    transition: transform 0.3s ease;
}

.faq-item[open] summary::after {
    content: '–';
    transform: rotate(180deg);
}

.faq-content {
    padding: 0 2rem 2rem;
    animation: fadeInDown 0.5s ease;
}

/* Contact info section */
.contact-info {
    padding: 10rem 0;
    background-color: #fff;
}

.contact-info h2 {
    text-align: center;
    margin-bottom: 6rem;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 2rem;
}

.contact-item svg {
    width: 24px;
    height: 24px;
    fill: #1B9CFC;
    flex-shrink: 0;
    margin-top: 0.5rem;
}

.contact-item h3 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.static-map {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    height: 100%;
    min-height: 350px;
}

.static-map iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 8px;
}

/* Footer */
.site-footer {
    background-color: #2F3640;
    color: #F5F5F5;
    padding: 6rem 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 4rem;
    padding-bottom: 4rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-about p {
    margin-top: 2rem;
    opacity: 0.8;
}

.footer-contact h3,
.footer-links h3 {
    color: #F5F5F5;
    font-size: 2rem;
    margin-bottom: 2.5rem;
}

.contact-list li,
.legal-links li {
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.legal-links a {
    color: #F5F5F5;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.legal-links a:hover {
    color: #FFDD59;
    opacity: 1;
}

.footer-bottom {
    padding: 2rem 0;
    text-align: center;
}

.footer-bottom p {
    margin: 0;
    font-size: 1.4rem;
    opacity: 0.7;
}

/* Cookie banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #2F3640;
    color: #F5F5F5;
    padding: 2rem;
    z-index: 1000;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.2);
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.cookie-content p {
    margin: 0;
    font-size: 1.4rem;
    flex: 1;
}

.cookie-content a {
    color: #FFDD59;
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
}

/* Thank you page */
.thank-you {
    padding: 20rem 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.thank-you-content {
    max-width: 600px;
    margin: 0 auto;
}

.check-mark {
    width: 120px;
    height: 120px;
    margin: 0 auto 3rem;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #F5F5F5;
    border-radius: 50%;
    animation: zoomIn 0.5s ease;
}

.check-mark svg {
    width: 80px;
    height: 80px;
}

.thank-you h1 {
    font-size: 4rem;
    margin-bottom: 2rem;
    animation: fadeInUp 0.5s ease;
}

.thank-you p {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.7s ease;
}

.response-time {
    font-size: 1.6rem;
    font-style: italic;
    margin-bottom: 4rem;
    animation: fadeInUp 0.9s ease;
}

/* Error page */
.error-page {
    padding: 20rem 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.error-content {
    max-width: 600px;
    margin: 0 auto;
}

.error-icon {
    width: 120px;
    height: 120px;
    margin: 0 auto 3rem;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #F5F5F5;
    border-radius: 50%;
    animation: zoomIn 0.5s ease;
}

.error-icon svg {
    width: 80px;
    height: 80px;
}

.error-page h1 {
    font-size: 4rem;
    margin-bottom: 2rem;
    color: #FF6B6B;
    animation: fadeInUp 0.5s ease;
}

.error-buttons {
    margin-top: 4rem;
    display: flex;
    justify-content: center;
    gap: 2rem;
    animation: fadeInUp 0.9s ease;
}

/* Policy pages */
.policy-page {
    padding: 15rem 0 10rem;
}

.policy-page h1 {
    margin-bottom: 4rem;
}

.policy-content {
    background-color: #fff;
    padding: 4rem;
    border-radius: 8px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.policy-content h2 {
    margin-top: 4rem;
    margin-bottom: 2rem;
    font-size: 2.4rem;
}

.policy-content ul, .policy-content ol {
    margin-bottom: 2rem;
    padding-left: 2rem;
}

.policy-content ul li, .policy-content ol li {
    margin-bottom: 1rem;
    list-style-type: disc;
}

.policy-last-updated {
    margin-top: 4rem;
    font-style: italic;
    font-size: 1.4rem;
    color: #2F3640;
    opacity: 0.7;
}

/* Animaciones */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.5);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Media queries */
@media screen and (max-width: 1024px) {
    html {
        font-size: 57%;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 768px) {
    html {
        font-size: 55%;
    }
    
    .hero .container,
    .about-content,
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-content {
        order: 1;
    }
    
    .hero-image {
        order: 0;
    }
    
    .menu-icon {
        display: block;
    }
    
    .nav-list {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: #fff;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.5s ease;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    }
    
    .menu-toggle:checked ~ .nav-list {
        max-height: 500px;
    }
    
    .nav-list li {
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    }
    
    .nav-list li a {
        display: block;
        padding: 1.5rem 2rem;
    }
    
    .nav-list li a.btn {
        margin: 1rem 2rem;
    }
    
    .cookie-content {
        flex-direction: column;
    }
}

@media screen and (max-width: 576px) {
    html {
        font-size: 50%;
    }
    
    h1 {
        font-size: 3.8rem;
    }
    
    h2 {
        font-size: 3rem;
    }
    
    .advantages-grid,
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-form form {
        padding: 3rem 2rem;
    }
}