/* 
* Domain - Servicios Contables
* Paleta de colores:
* - Primario: #6FD8C3 (menta)
* - Acento: #FF6B6B (coral-rojo)
* - Fondo: #F5F7FA (gris claro)
* - Texto: #2B2D42 (azul oscuro)
*/

/* Reset y Estilos Generales */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: #2B2D42;
    background-color: #F5F7FA;
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    color: #2B2D42;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #FF6B6B;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
}

section {
    padding: 80px 0;
}

h1, h2, h3, h4, h5, h6 {
    margin-bottom: 20px;
    font-weight: 700;
}

p {
    margin-bottom: 15px;
}

.btn-primary {
    display: inline-block;
    background-color: #FF6B6B;
    color: white;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.btn-primary:hover {
    background-color: #ff5252;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(255, 107, 107, 0.2);
    color: white;
}

.btn-secondary {
    display: inline-block;
    background-color: transparent;
    color: #2B2D42;
    padding: 10px 22px;
    border-radius: 50px;
    font-weight: 600;
    border: 2px solid #6FD8C3;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.btn-secondary:hover {
    background-color: #6FD8C3;
    color: white;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2.5rem;
    position: relative;
    display: inline-block;
    margin-bottom: 15px;
}

.section-title h2:after {
    content: '';
    position: absolute;
    width: 60px;
    height: 4px;
    background: #6FD8C3;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

.section-title p {
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
    color: #555;
}

/* Header Styles */
.site-header {
    padding: 15px 0;
    background-color: white;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: #6FD8C3;
    letter-spacing: 1px;
}

.main-nav ul {
    display: flex;
    align-items: center;
}

.main-nav li {
    margin: 0 15px;
}

.main-nav a {
    position: relative;
    font-weight: 500;
}

.main-nav a:not(.btn-primary)::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: #6FD8C3;
    left: 0;
    bottom: -5px;
    transition: width 0.3s ease;
}

.main-nav a:not(.btn-primary):hover::after,
.main-nav a.active::after {
    width: 100%;
}

.mobile-menu-toggle {
    display: none;
}

/* Cookie Popup */
.cookie-popup {
    position: fixed;
    bottom: -100%;
    left: 0;
    right: 0;
    background: white;
    padding: 20px;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: bottom 0.5s ease;
}

.cookie-popup.show {
    bottom: 0;
}

.cookie-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.cookie-content p {
    margin: 0;
    flex: 1;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.6)), url('../img/hero-bg.jpg') no-repeat center center/cover;
    min-height: 80vh;
    display: flex;
    align-items: center;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    color: #2B2D42;
    line-height: 1.2;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

/* Benefits Section */
.benefits {
    background-color: white;
}

.benefits-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-top: 40px;
}

.benefit-card {
    flex: 1 1 300px;
    background: white;
    padding: 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.benefit-icon {
    background-color: #F5F7FA;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 20px;
}

.benefit-icon img {
    width: 40px;
    height: 40px;
}

.benefit-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

/* Services Section */
.services-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.service-card {
    flex: 1 1 300px;
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px 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 15px 30px rgba(0, 0, 0, 0.1);
}

.service-img {
    height: 200px;
    overflow: hidden;
}

.service-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card:hover .service-img img {
    transform: scale(1.05);
}

.service-content {
    padding: 25px;
}

.service-content h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.service-content .service-price {
    color: #FF6B6B;
    font-weight: 700;
    font-size: 1.2rem;
    margin: 10px 0;
}

/* About Us Section */
.about-us {
    background-color: white;
}

.about-wrapper {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 50px;
}

.about-content {
    flex: 1 1 500px;
}

.about-image {
    flex: 1 1 400px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.about-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.about-content p {
    margin-bottom: 20px;
}

/* Testimonials Section */
.testimonials {
    background-color: #F5F7FA;
}

.testimonials-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.testimonial-card {
    flex: 1 1 350px;
    background: white;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    position: relative;
}

.testimonial-card:before {
    content: """;
    position: absolute;
    top: 10px;
    left: 20px;
    font-size: 5rem;
    color: rgba(111, 216, 195, 0.2);
    font-family: serif;
    line-height: 1;
}

.testimonial-content {
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.testimonial-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 15px;
}

.testimonial-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-info h4 {
    margin-bottom: 5px;
}

.testimonial-info p {
    color: #777;
    margin-bottom: 0;
    font-size: 0.9rem;
}

/* FAQ Section */
.faq {
    background-color: white;
}

.faq-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 20px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.faq-question {
    background-color: #F5F7FA;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    position: relative;
}

.faq-question h3 {
    margin-bottom: 0;
    font-size: 1.1rem;
}

.faq-question::after {
    content: '';
    display: block;
    width: 12px;
    height: 12px;
    border-right: 2px solid #2B2D42;
    border-bottom: 2px solid #2B2D42;
    transform: rotate(45deg);
    transition: transform 0.3s ease;
}

.faq-answer {
    background-color: white;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-answer-inner {
    padding: 20px;
}

.faq-item.active .faq-question::after {
    transform: rotate(-135deg);
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 20px;
}

/* Contact Form Section */
.contact {
    background-color: #F5F7FA;
}

.contact-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
}

.contact-info {
    flex: 1 1 400px;
}

.contact-info h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.contact-info ul {
    margin-bottom: 30px;
}

.contact-info li {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
}

.contact-info li svg {
    margin-right: 15px;
    min-width: 20px;
    color: #6FD8C3;
}

.contact-form {
    flex: 1 1 500px;
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #e1e1e1;
    border-radius: 10px;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: #6FD8C3;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
}

.checkbox-group input {
    margin-right: 10px;
    margin-top: 5px;
}

.checkbox-group label {
    font-size: 0.9rem;
    line-height: 1.4;
}

/* Footer Styles */
.site-footer {
    background-color: #2B2D42;
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-info, .footer-contact, .footer-legal {
    flex: 1 1 300px;
}

.footer-logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: #6FD8C3;
    display: block;
    margin-bottom: 15px;
}

.footer-description {
    color: #ccc;
    max-width: 300px;
}

.footer-contact h3, .footer-legal h3 {
    margin-bottom: 20px;
    color: white;
}

.footer-contact ul li, .footer-legal ul li {
    margin-bottom: 10px;
}

.footer-contact a, .footer-legal a {
    color: #ccc;
    transition: color 0.3s ease;
}

.footer-contact a:hover, .footer-legal a:hover {
    color: #6FD8C3;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
    font-size: 0.9rem;
    color: #ccc;
}

/* Policy Page Styles */
.policy-page {
    padding: 60px 0;
}

.policy-container {
    max-width: 900px;
    margin: 0 auto;
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.policy-container h1 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    text-align: center;
}

.policy-container h2 {
    font-size: 1.8rem;
    margin-top: 40px;
    margin-bottom: 20px;
    color: #6FD8C3;
}

.policy-container p, .policy-container ul {
    margin-bottom: 20px;
}

.policy-container ul {
    list-style-type: disc;
    padding-left: 20px;
}

.policy-container ul li {
    margin-bottom: 10px;
}

/* Thank You Page Styles */
.thanks-page {
    text-align: center;
    padding: 100px 0;
}

.thanks-container {
    max-width: 700px;
    margin: 0 auto;
    background: white;
    padding: 60px 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.thanks-container h1 {
    font-size: 2.8rem;
    margin-bottom: 20px;
    color: #6FD8C3;
}

.thanks-container p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.check-icon {
    font-size: 5rem;
    color: #6FD8C3;
    margin-bottom: 30px;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .hero h1 {
        font-size: 2.8rem;
    }
    
    section {
        padding: 60px 0;
    }
    
    .about-wrapper {
        flex-direction: column-reverse;
    }
}

@media (max-width: 768px) {
    .site-header {
        padding: 10px 0;
    }
    
    .mobile-menu-toggle {
        display: block;
        z-index: 200;
    }
    
    .menu-toggle-label {
        cursor: pointer;
        display: block;
        position: relative;
        height: 24px;
        width: 30px;
    }
    
    .menu-toggle-label span {
        display: block;
        position: absolute;
        height: 3px;
        width: 100%;
        background: #2B2D42;
        border-radius: 3px;
        opacity: 1;
        left: 0;
        transform: rotate(0deg);
        transition: all 0.3s ease;
    }
    
    .menu-toggle-label span:nth-child(1) {
        top: 0;
    }
    
    .menu-toggle-label span:nth-child(2) {
        top: 10px;
    }
    
    .menu-toggle-label span:nth-child(3) {
        top: 20px;
    }
    
    .menu-checkbox {
        display: none;
    }
    
    .menu-checkbox:checked + .menu-toggle-label span:nth-child(1) {
        top: 10px;
        transform: rotate(135deg);
    }
    
    .menu-checkbox:checked + .menu-toggle-label span:nth-child(2) {
        opacity: 0;
    }
    
    .menu-checkbox:checked + .menu-toggle-label span:nth-child(3) {
        top: 10px;
        transform: rotate(-135deg);
    }
    
    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background: white;
        padding: 80px 20px 40px;
        transition: right 0.3s ease;
        z-index: 100;
        overflow-y: auto;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    }
    
    .main-nav ul {
        flex-direction: column;
    }
    
    .main-nav li {
        margin: 15px 0;
        width: 100%;
    }
    
    .main-nav a {
        display: block;
        font-size: 1.2rem;
    }
    
    .menu-checkbox:checked ~ .main-nav {
        right: 0;
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-content p {
        margin-bottom: 15px;
    }
    
    .hero h1 {
        font-size: 2.3rem;
    }
    
    .section-title h2 {
        font-size: 2rem;
    }
    
    .about-content h2 {
        font-size: 2rem;
    }
    
    .contact-form {
        padding: 30px 20px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .benefit-card, .service-card, .testimonial-card {
        flex: 1 1 100%;
    }
    
    .policy-container, .thanks-container {
        padding: 30px 20px;
    }
    
    .policy-container h1, .thanks-container h1 {
        font-size: 2rem;
    }
}