/* 
* Main Stylesheet for Accounting Services Website
* Colors:
* - Primary: #FFD93D (sunny yellow)
* - Accent: #17C3B2 (deep turquoise)
* - Background: #F5F5F5 (warm gray)
* - Text: #1E1E1E (coal black), #555 (soft gray)
*/

/* === Reset and Base Styles === */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #1E1E1E;
    background-color: #F5F5F5;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    color: #17C3B2;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover, a:focus {
    color: #0AA192;
    text-decoration: underline;
}

h1, h2, h3, h4, h5, h6 {
    margin-bottom: 1rem;
    font-weight: 700;
    line-height: 1.2;
}

p {
    margin-bottom: 1rem;
}

ul, ol {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
}

/* === Utility Classes === */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.btn {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    border-radius: 4px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.btn-primary {
    background-color: #17C3B2;
    color: white;
}

.btn-primary:hover, .btn-primary:focus {
    background-color: #0AA192;
    color: white;
    text-decoration: none;
}

.btn-outline {
    background-color: transparent;
    border: 2px solid #17C3B2;
    color: #17C3B2;
}

.btn-outline:hover, .btn-outline:focus {
    background-color: #17C3B2;
    color: white;
    text-decoration: none;
}

/* === Header and Navigation === */
.site-header {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 15px;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 50px;
}

.main-navigation {
    display: flex;
}

.main-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.menu-item {
    margin-left: 1.5rem;
    position: relative;
}

.menu-item a {
    color: #1E1E1E;
    font-weight: 500;
    padding: 0.5rem 0;
    position: relative;
}

.menu-item a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #FFD93D;
    transition: width 0.3s ease;
}

.menu-item a:hover::after,
.menu-item.active a::after {
    width: 100%;
}

.menu-item.contact-button {
    margin-left: 2rem;
}

.menu-item.contact-button a::after {
    display: none;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
}

.mobile-menu-toggle span {
    display: block;
    height: 3px;
    background-color: #1E1E1E;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* === Main Content Styles === */
.site-main {
    padding-top: 82px; /* Header height + padding */
}

section {
    padding: 4rem 0;
}

section h2 {
    text-align: center;
    margin-bottom: 2.5rem;
    font-size: 2.2rem;
    position: relative;
}

section h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background-color: #FFD93D;
    margin: 1rem auto 0;
}

/* Hero Section */
.hero {
    background-color: white;
    padding-top: 6rem;
    padding-bottom: 5rem;
    background-image: url('../img/DjArzP.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 2;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-content h1 {
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
    color: white;
}

.hero-content p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
}

.hero-image {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
    100% {
        transform: translateY(0);
    }
}

/* About Section */
.about {
    background-color: #F5F5F5;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-image {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    position: relative;
}

.about-image::before {
    content: '';
    position: absolute;
    top: -15px;
    left: -15px;
    width: 100%;
    height: 100%;
    border: 4px solid #FFD93D;
    border-radius: 8px;
    z-index: -1;
}

.about-text p {
    margin-bottom: 1.5rem;
    color: #555;
}

.about-features {
    list-style: none;
    padding: 0;
    margin-top: 1.5rem;
}

.about-features li {
    padding: 0.5rem 0;
    position: relative;
    padding-left: 2rem;
}

.about-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1.2rem;
    height: 1.2rem;
    background-color: #FFD93D;
    border-radius: 50%;
}

/* Services Section */
.services {
    background-color: white;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.service-card {
    padding: 2rem;
    border-radius: 8px;
    background-color: #F5F5F5;
    text-align: center;
    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-icon {
    margin-bottom: 1.5rem;
    width: 70px;
    height: 70px;
    background-color: rgba(255, 217, 61, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    color: #17C3B2;
}

.service-card h3 {
    margin-bottom: 1rem;
    color: #1E1E1E;
}

.service-card p {
    color: #555;
}

/* Pricing Section */
.pricing {
    background-color: #F5F5F5;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.pricing-card {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.pricing-card.featured {
    border: 2px solid #17C3B2;
    position: relative;
}

.pricing-header {
    padding: 2rem;
    text-align: center;
    background-color: #17C3B2;
    color: white;
}

.pricing-card.featured .pricing-header {
    background-color: #0AA192;
}

.pricing-header h3 {
    margin-bottom: 0.5rem;
}

.pricing-subtitle {
    font-size: 0.9rem;
    opacity: 0.8;
}

.pricing-features {
    list-style: none;
    padding: 2rem;
    margin: 0;
}

.pricing-features li {
    padding: 0.75rem 0;
    border-bottom: 1px solid #eee;
    position: relative;
    padding-left: 2rem;
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-features li::before {
    content: '✓';
    color: #17C3B2;
    position: absolute;
    left: 0;
}

.pricing-action {
    padding: 0 2rem 2rem;
    text-align: center;
}

/* Testimonials Section */
.testimonials {
    background-color: white;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background-color: #F5F5F5;
    border-radius: 8px;
    padding: 2rem;
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 10px;
    left: 20px;
    font-size: 5rem;
    color: rgba(23, 195, 178, 0.1);
    line-height: 1;
}

.testimonial-content {
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 1rem;
}

.testimonial-info h4 {
    margin-bottom: 0.2rem;
    font-size: 1.1rem;
}

.testimonial-info p {
    color: #555;
    font-size: 0.9rem;
    margin: 0;
}

/* FAQ Section */
.faq {
    background-color: #F5F5F5;
}

.faq-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.faq-item {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
}

.faq-question {
    padding: 1.5rem;
    cursor: pointer;
    position: relative;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background-color: #f9f9f9;
}

.faq-question h3 {
    margin: 0;
    font-size: 1.2rem;
    padding-right: 30px;
}

.faq-question::after {
    content: '+';
    position: absolute;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    color: #17C3B2;
    transition: transform 0.3s ease;
}

.faq-item:target .faq-question::after {
    content: '−';
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease;
    padding: 0 1.5rem;
}

.faq-item:target .faq-answer {
    max-height: 1000px;
    padding: 0 1.5rem 1.5rem;
}

/* Contact Section */
.contact {
    background-color: white;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-info {
    padding: 2rem;
    background-color: #FFD93D;
    border-radius: 8px;
    color: #1E1E1E;
}

.contact-info h3 {
    margin-bottom: 1.5rem;
}

.contact-info ul {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
}

.contact-info li {
    padding: 0.75rem 0;
    display: flex;
    align-items: center;
}

.contact-info li i {
    margin-right: 1rem;
    color: #17C3B2;
}

.contact-map {
    margin-top: 2rem;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.contact-form {
    background-color: #F5F5F5;
    padding: 2rem;
    border-radius: 8px;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #17C3B2;
    outline: none;
}

.form-group.checkbox {
    display: flex;
    align-items: center;
}

.form-group.checkbox input {
    width: auto;
    margin-right: 10px;
}

.form-group.checkbox label {
    margin: 0;
    font-weight: normal;
}

/* Thanks Section */
.thanks-section {
    padding: 6rem 0;
    background-color: #F5F5F5;
}

.thanks-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    padding: 3rem;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.thanks-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background-color: #17C3B2;
    border-radius: 50%;
    margin: 0 auto 2rem;
    color: white;
    font-size: 2rem;
}

.thanks-content h1 {
    margin-bottom: 1.5rem;
}

.thanks-content p {
    margin-bottom: 2rem;
    color: #555;
    font-size: 1.2rem;
}

.thanks-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

/* Policy Pages */
.policy-section {
    padding: 6rem 0;
}

.policy-section h1 {
    text-align: center;
    margin-bottom: 3rem;
}

.policy-content {
    background-color: white;
    padding: 3rem;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.policy-content h2 {
    margin-top: 2.5rem;
    margin-bottom: 1.5rem;
    color: #17C3B2;
}

.policy-content h3 {
    margin-top: 1.5rem;
    color: #1E1E1E;
}

.policy-content ul {
    margin-bottom: 1.5rem;
}

.cookie-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
}

.cookie-table th,
.cookie-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.cookie-table th {
    background-color: #f9f9f9;
}

/* Footer */
.site-footer {
    background-color: #1E1E1E;
    color: white;
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-info,
.footer-contact,
.footer-links,
.footer-legal {
    padding-right: 1rem;
}

.footer-logo {
    margin-bottom: 1.5rem;
}

.footer-logo img {
    height: 40px;
}

.footer-info p {
    color: #999;
    font-size: 0.9rem;
}

.footer-contact h3,
.footer-links h3,
.footer-legal h3 {
    color: #FFD93D;
    margin-bottom: 1.2rem;
    font-size: 1.2rem;
}

.footer-contact ul,
.footer-links ul,
.footer-legal ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact li,
.footer-links li,
.footer-legal li {
    margin-bottom: 0.75rem;
    font-size: 0.9rem;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    color: #999;
}

.footer-contact li i {
    margin-right: 0.75rem;
    color: #17C3B2;
}

.footer-links a,
.footer-legal a {
    color: #999;
    transition: color 0.3s ease;
}

.footer-links a:hover,
.footer-legal a:hover {
    color: #FFD93D;
    text-decoration: none;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    margin: 0;
    color: #666;
    font-size: 0.9rem;
}

/* Cookie Consent Banner */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.9);
    color: white;
    padding: 1rem;
    display: none;
    z-index: 9999;
    font-size: 0.9rem;
}

.cookie-consent.active {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.cookie-consent p {
    margin: 0;
    flex: 1;
}

.cookie-consent-buttons {
    display: flex;
    gap: 1rem;
}

.cookie-consent .btn {
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: background-color 0.3s;
}

.cookie-consent .btn-accept {
    background-color: #4CAF50;
    color: white;
}

.cookie-consent .btn-accept:hover {
    background-color: #45a049;
}

.cookie-consent .btn-more {
    background-color: transparent;
    color: white;
    border: 1px solid white;
}

.cookie-consent .btn-more:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* Responsive Styles */
@media (max-width: 992px) {
    .hero-content h1 {
        font-size: 2.4rem;
    }
    
    .contact-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .site-header .container {
        padding: 0.75rem 15px;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .main-navigation {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: white;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    }
    
    .main-menu {
        flex-direction: column;
        padding: 1rem 0;
        display: none;
    }
    
    .main-menu.active {
        display: flex;
    }
    
    .menu-item {
        margin: 0;
        text-align: center;
    }
    
    .menu-item a {
        display: block;
        padding: 1rem 0;
    }
    
    .menu-item a::after {
        display: none;
    }
    
    .menu-item.contact-button {
        margin: 1rem 0 0;
    }
    
    .menu-item.contact-button a {
        display: inline-block;
    }
    
    .hero .container,
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .hero {
        padding-top: 4rem;
        padding-bottom: 3rem;
        text-align: center;
    }
    
    .hero-content {
        order: 2;
    }
    
    .hero-image {
        order: 1;
        margin-bottom: 2rem;
    }
    
    section {
        padding: 3rem 0;
    }
    
    section h2 {
        font-size: 2rem;
    }
    
    .cookie-consent {
        padding: 1rem;
    }
    
    .cookie-consent.active {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-consent-buttons {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .pricing-grid,
    .testimonials-grid,
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .thanks-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    
    .policy-content {
        padding: 1.5rem;
    }
}

/* CSS Icons */
.icon-check::before {
    content: '✓';
    font-size: 3rem;
}

.icon-location::before {
    content: '📍';
}

.icon-phone::before {
    content: '📞';
}

.icon-email::before {
    content: '📧';
}

.icon-contabilidad::before {
    content: '📊';
    font-size: 2rem;
}

.icon-impuestos::before {
    content: '📝';
    font-size: 2rem;
}

.icon-nominas::before {
    content: '💼';
    font-size: 2rem;
}

.icon-asesoria::before {
    content: '📈';
    font-size: 2rem;
} 