/* 
* domain - Servicios de Contabilidad
* Stylesheet
*/

/* Base Styles */
:root {
    --color-bg: #fdf6e3;
    --color-text: #1c1c1c;
    --color-heading: #2e3440;
    --color-nephrite: #3b9c9c;
    --color-coral: #f04545;
    --color-white: #ffffff;
    --color-light-gray: #f5f5f5;
    --color-gray: #dddddd;
    --color-dark-gray: #888888;
    --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    --border-radius: 8px;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-text);
    background-color: var(--color-bg);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    color: var(--color-heading);
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    text-align: center;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
}

a {
    color: var(--color-nephrite);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--color-coral);
}

img {
    max-width: 100%;
    height: auto;
    border-radius: var(--border-radius);
}

section {
    padding: 80px 0;
}

/* Buttons */
.cta-button {
    display: inline-block;
    background: linear-gradient(to right, var(--color-nephrite), var(--color-coral));
    color: var(--color-white);
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.cta-button:hover {
    color: var(--color-white);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.service-link {
    display: inline-block;
    background-color: var(--color-nephrite);
    color: var(--color-white);
    padding: 8px 20px;
    border-radius: var(--border-radius);
    font-weight: 600;
    transition: var(--transition);
}

.service-link:hover {
    background-color: var(--color-coral);
    color: var(--color-white);
}

/* Cookie Consent */
.cookie-consent {
    position: fixed;
    bottom: -100%;
    left: 0;
    right: 0;
    background-color: var(--color-white);
    box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.1);
    padding: 20px;
    z-index: 9999;
    transition: bottom 0.5s ease;
}

.cookie-consent.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 20px 0 0;
}

.cookie-btn {
    background-color: var(--color-nephrite);
    color: var(--color-white);
    border: none;
    padding: 8px 20px;
    border-radius: var(--border-radius);
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
}

.cookie-btn:hover {
    background-color: var(--color-coral);
}

/* Header */
.site-header {
    background-color: var(--color-white);
    box-shadow: var(--box-shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo h1 {
    margin: 0;
    font-size: 1.8rem;
    color: var(--color-nephrite);
}

.logo a {
    color: inherit;
    text-decoration: none;
}

/* Navigation */
.main-nav ul {
    display: flex;
    list-style: none;
}

.main-nav ul li {
    margin-left: 20px;
}

.main-nav ul li a {
    color: var(--color-text);
    font-weight: 500;
    padding: 5px 0;
    position: relative;
}

.main-nav ul li a:hover,
.main-nav ul li a.active {
    color: var(--color-nephrite);
}

.main-nav ul li a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-nephrite);
    transition: var(--transition);
}

.main-nav ul li a:hover::after,
.main-nav ul li a.active::after {
    width: 100%;
}

.cta-nav {
    background-color: var(--color-nephrite);
    color: var(--color-white) !important;
    padding: 8px 20px !important;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.cta-nav:hover {
    background-color: var(--color-coral);
}

.cta-nav::after {
    display: none;
}

/* Mobile Menu */
.mobile-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
}

.bar {
    height: 3px;
    width: 100%;
    background-color: var(--color-nephrite);
    border-radius: 3px;
    transition: var(--transition);
}

/* Main Banner */
.main-banner {
    background-color: var(--color-nephrite);
    color: var(--color-white);
    padding: 100px 0;
    text-align: center;
    background: linear-gradient(rgba(59, 156, 156, 0.9), rgba(59, 156, 156, 0.9)), url('../img/T7E6ya.jpg');
    background-size: cover;
    background-position: center;
}

.main-banner h1 {
    color: var(--color-white);
    font-size: 3rem;
    margin-bottom: 20px;
    animation: fadeInDown 1s ease;
}

.main-banner p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 1s ease 0.2s;
    animation-fill-mode: both;
}

.main-banner .cta-button {
    animation: fadeInUp 1s ease 0.4s;
    animation-fill-mode: both;
}

/* About Company */
.about-company {
    background-color: var(--color-white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.about-text {
    font-size: 1.1rem;
}

.about-benefits {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.benefit {
    text-align: center;
    padding: 20px;
    background-color: var(--color-light-gray);
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.benefit:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow);
}

.benefit-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    overflow: hidden;
}

.benefit-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Services Section */
.services {
    background-color: var(--color-bg);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    background-color: var(--color-white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.5s ease forwards;
}

.service-card:nth-child(1) {
    animation-delay: 0.1s;
}

.service-card:nth-child(2) {
    animation-delay: 0.3s;
}

.service-card:nth-child(3) {
    animation-delay: 0.5s;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.service-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: var(--border-radius) var(--border-radius) 0 0;
}

.service-card h3 {
    padding: 20px 20px 10px;
}

.service-card p {
    padding: 0 20px 20px;
    color: var(--color-dark-gray);
}

.service-card .service-link {
    margin: 0 20px 20px;
    display: inline-block;
}

/* Why Choose Us */
.why-us {
    background-color: var(--color-white);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.feature {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 30px;
    background-color: var(--color-light-gray);
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.feature:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow);
    background-color: var(--color-white);
}

.feature-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 20px;
}

.feature-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Testimonials */
.testimonials {
    background-color: var(--color-bg);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.testimonial {
    background-color: var(--color-white);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    position: relative;
}

.testimonial .quote {
    font-style: italic;
    margin-bottom: 20px;
}

.testimonial .quote::before {
    content: '"';
    font-size: 3rem;
    color: var(--color-gray);
    position: absolute;
    top: 10px;
    left: 15px;
    opacity: 0.3;
}

.testimonial .author {
    color: var(--color-nephrite);
    font-weight: 600;
    text-align: right;
}

/* FAQ Section */
.faq {
    background-color: var(--color-white);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 20px;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.faq-question {
    margin: 0;
    background-color: var(--color-light-gray);
    padding: 15px 20px;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
}

.faq-question a {
    color: var(--color-heading);
    display: block;
    text-decoration: none;
}

.faq-question:hover {
    background-color: var(--color-gray);
}

.faq-item.open .faq-question {
    background-color: var(--color-nephrite);
}

.faq-item.open .faq-question a {
    color: var(--color-white);
}

.faq-answer {
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-answer.show {
    padding: 20px;
    max-height: 1000px;
}

/* Contact Form */
.contact-form {
    background-color: var(--color-bg);
}

.custom-form {
    background-color: var(--color-white);
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    max-width: 800px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--color-gray);
    border-radius: var(--border-radius);
    background-color: var(--color-light-gray);
    font-family: inherit;
    font-size: 16px;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--color-nephrite);
    box-shadow: 0 0 0 2px rgba(59, 156, 156, 0.2);
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin-right: 10px;
    margin-top: 5px;
}

.checkbox-group label {
    font-weight: 400;
    font-size: 0.9rem;
}

.form-submit {
    text-align: center;
    margin-top: 30px;
}

.submit-button {
    background: linear-gradient(to right, var(--color-nephrite), var(--color-coral));
    color: var(--color-white);
    border: none;
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: var(--transition);
}

.submit-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Contact Alternatives */
.contact-alternatives {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid var(--color-gray);
    text-align: center;
}

.contact-alternatives p {
    font-size: 1.1rem;
    margin-bottom: 15px;
    color: var(--color-heading);
}

.contact-alternatives ul {
    list-style: none;
    padding: 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
}

.contact-alternatives li {
    margin: 5px 0;
}

.contact-alternatives a {
    color: var(--color-nephrite);
    font-weight: 500;
    transition: var(--transition);
}

.contact-alternatives a:hover {
    color: var(--color-coral);
    text-decoration: underline;
}

/* Certifications */
.certifications {
    background-color: var(--color-white);
    text-align: center;
}

.certifications-content {
    max-width: 800px;
    margin: 0 auto;
}

.certification-badges {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 30px;
}

.badge {
    text-align: center;
}

.badge img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin-bottom: 10px;
    object-fit: cover;
}

.badge h4 {
    font-size: 1.1rem;
    color: var(--color-heading);
    margin: 10px 0 5px;
}

.badge p {
    font-size: 0.85rem;
    color: var(--color-dark-gray);
    margin: 0;
    line-height: 1.4;
}

/* Footer */
.site-footer {
    background-color: var(--color-heading);
    color: var(--color-white);
    padding: 60px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 40px;
}

.footer-info h2 {
    color: var(--color-white);
    margin-bottom: 20px;
    text-align: left;
}

.contact-info {
    margin-top: 20px;
}

.footer-links h3,
.footer-legal h3 {
    color: var(--color-white);
    margin-bottom: 20px;
    font-size: 1.3rem;
}

.footer-links ul,
.footer-legal ul {
    list-style: none;
}

.footer-links ul li,
.footer-legal ul li {
    margin-bottom: 10px;
}

.footer-links ul li a,
.footer-legal ul li a {
    color: var(--color-gray);
    transition: var(--transition);
}

.footer-links ul li a:hover,
.footer-legal ul li a:hover {
    color: var(--color-white);
}

.footer-bottom {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

/* Legal Pages */
.legal-page {
    background-color: var(--color-white);
    padding: 60px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    margin: 40px auto;
    max-width: 900px;
}

.legal-page h1 {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--color-gray);
}

.legal-page h2 {
    font-size: 1.5rem;
    margin: 30px 0 15px;
    text-align: left;
}

.legal-page p {
    margin-bottom: 15px;
    line-height: 1.7;
}

.legal-page ul, .legal-page ol {
    margin-bottom: 20px;
    padding-left: 20px;
}

.legal-page li {
    margin-bottom: 8px;
}

.legal-page .back-link {
    display: inline-block;
    margin-top: 30px;
    color: var(--color-nephrite);
}

/* Thank You Page */
.thank-you {
    text-align: center;
    padding: 80px 0;
}

.thank-you-content {
    background-color: var(--color-white);
    padding: 60px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    max-width: 800px;
    margin: 0 auto;
}

.thank-you h1 {
    color: var(--color-nephrite);
    margin-bottom: 20px;
}

.thank-you p {
    font-size: 1.1rem;
    margin-bottom: 30px;
}

.thank-you .home-link {
    display: inline-block;
    background-color: var(--color-nephrite);
    color: var(--color-white);
    padding: 12px 30px;
    border-radius: var(--border-radius);
    font-weight: 600;
    transition: var(--transition);
}

.thank-you .home-link:hover {
    background-color: var(--color-coral);
}

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Styles */
@media (max-width: 992px) {
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .services-grid,
    .features-grid,
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    section {
        padding: 60px 0;
    }
    
    .mobile-toggle {
        display: flex;
    }
    
    .main-nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--color-white);
        box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
        padding: 20px;
        display: none;
    }
    
    .main-nav.open {
        display: block;
    }
    
    .main-nav ul {
        flex-direction: column;
        align-items: center;
    }
    
    .main-nav ul li {
        margin: 10px 0;
    }
    
    .services-grid,
    .features-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .about-benefits {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .cookie-content {
        flex-direction: column;
    }
    
    .cookie-content p {
        margin-bottom: 15px;
        text-align: center;
    }
    
    .legal-page {
        padding: 30px;
        margin: 20px;
    }

    .contact-alternatives ul {
        flex-direction: column;
        gap: 10px;
    }
}

@media (max-width: 576px) {
    .custom-form {
        padding: 20px;
    }
    
    .certification-badges {
        flex-direction: column;
        gap: 20px;
    }
    
    .thank-you-content {
        padding: 30px;
    }
} 