/* 
 * Servicios Contables Profesionales - Main Stylesheet
 * Color palette: 
 * - Lázurno: #00B8D4
 * - Coralino: #FF6F61
 * - Indigo Intenso: #3F51B5
 * - Lima Suave: #D4E157
 * - Grafito: #2E2E2E
 */

/* ====== RESET & BASE STYLES ====== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden; /* Prevent horizontal scroll */
}

body {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
    overflow-x: hidden; /* Prevent horizontal scroll */
    width: 100%;
    max-width: 100%;
    position: relative;
}

h1, h2, h3, h4, h5, h6 {
    margin-bottom: 0.5em;
    font-weight: 700;
    line-height: 1.2;
    color: #2E2E2E;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
}

a {
    color: #00B8D4;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #3F51B5;
}

img {
    max-width: 100%;
    height: auto;
}

ul, ol {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

/* ====== LAYOUT & CONTAINER ====== */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

section {
    padding: 4rem 0;
}

/* ====== HEADER & NAVIGATION ====== */
.site-header {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo img {
    max-height: 60px;
}

.main-navigation .menu {
    display: flex;
    list-style: none;
    margin: 0;
}

.main-navigation .menu li {
    margin-left: 1.5rem;
}

.main-navigation .menu a {
    color: #2E2E2E;
    font-weight: 500;
    padding: 0.5rem 0;
    position: relative;
}

.main-navigation .menu a:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #00B8D4;
    transition: width 0.3s ease;
}

.main-navigation .menu a:hover:after {
    width: 100%;
}

.button-nav {
    background-color: #00B8D4;
    color: white !important;
    padding: 0.5rem 1rem !important;
    border-radius: 4px;
}

.button-nav:hover {
    background-color: #3F51B5;
}

/* Menu toggle for mobile */
.menu-toggle {
    display: none;
}

.menu-toggle-label {
    display: none;
    cursor: pointer;
}

.menu-icon {
    display: block;
    position: relative;
    width: 30px;
    height: 2px;
    background-color: #2E2E2E;
    transition: all 0.3s ease;
}

.menu-icon:before,
.menu-icon:after {
    content: '';
    display: block;
    position: absolute;
    width: 100%;
    height: 2px;
    background-color: #2E2E2E;
    transition: all 0.3s ease;
}

.menu-icon:before {
    top: -8px;
}

.menu-icon:after {
    bottom: -8px;
}

/* ====== MAIN CONTENT ====== */
main {
    padding-top: 80px; /* Compensate for fixed header */
}

/* 1. Hero Section */
.hero {
    background-color: #3F51B5;
    color: white;
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
    background-image: url('../img/wGhx17.jpg');
    background-size: cover;
    background-position: center;
}

.hero:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(63, 81, 181, 0.85);
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.hero-content {
    width: 100%;
    max-width: 800px;
    z-index: 2;
}

.hero h1 {
    color: white;
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.hero .slogan {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-image {
    display: none; /* Hide the original image since we're using it as background */
}

.cta-button {
    display: inline-block;
    background-color: #FF6F61;
    color: white;
    padding: 1rem 2rem;
    border-radius: 4px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.cta-button:hover {
    background-color: #D4E157;
    color: #2E2E2E;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

/* 2. About Section */
.about {
    background-color: #fff;
}

.about-content {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
}

.about-text {
    flex: 1;
}

.about-image {
    flex: 1;
    border-radius: 8px;
    overflow: hidden;
}

/* 3. Benefits Section */
.benefits {
    background-color: #f5f5f5;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 2rem;
}

.benefit-card {
    background-color: #fff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.benefit-icon {
    margin-bottom: 1.5rem;
    width: 90px;
    height: 90px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    background-size: cover;
    background-position: center;
    position: relative;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.benefit-icon:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 184, 212, 0.8);
    border-radius: 50%;
    z-index: 1;
}

.benefit-icon i {
    font-size: 1.5rem;
    color: white;
    position: relative;
    z-index: 2;
}

.benefit-card:nth-child(1) .benefit-icon {
    background-image: url('../img/wDsyeS.jpg');
}

.benefit-card:nth-child(2) .benefit-icon {
    background-image: url('../img/wlLP7x.jpg');
}

.benefit-card:nth-child(3) .benefit-icon {
    background-image: url('../img/Vza5Bd.jpg');
}

.benefit-card:nth-child(4) .benefit-icon {
    background-image: url('../img/wGhx17.jpg');
}

/* 4. Services Section */
.services {
    background-color: #fff;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background-color: #f9f9f9;
    padding: 2rem;
    border-radius: 8px;
    border-left: 4px solid #00B8D4;
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-card h3 {
    color: #3F51B5;
    margin-bottom: 1rem;
}

/* 5. Testimonials Section */
.testimonials {
    background-color: #3F51B5;
    color: white;
    position: relative;
    overflow: hidden;
}

.testimonials h2 {
    color: white;
    text-align: center;
    margin-bottom: 3rem;
}

.testimonials-slider {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
    padding-bottom: 1rem;
}

.testimonial {
    flex: 0 0 auto;
    width: 100%;
    max-width: 350px;
    background-color: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 8px;
    backdrop-filter: blur(5px);
}

.testimonial-content p {
    font-style: italic;
    margin-bottom: 1.5rem;
    line-height: 1.6;
    min-height: 80px;
}

.client-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.client-image {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid white;
    flex-shrink: 0;
}

.client-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.client-text {
    flex: 1;
}

.client-info h4 {
    color: white;
    margin-bottom: 0.2rem;
}

.client-info p {
    font-size: 0.9rem;
    opacity: 0.8;
    margin-bottom: 0;
}

/* Animation for testimonials */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.testimonial {
    animation: fadeIn 0.6s ease forwards;
}

.testimonial:nth-child(2) {
    animation-delay: 0.2s;
}

.testimonial:nth-child(3) {
    animation-delay: 0.4s;
}

/* 6. Pricing Section */
.pricing {
    background-color: #f5f5f5;
}

.pricing h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.pricing-grid {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.pricing-card {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    width: 100%;
    max-width: 350px;
    transition: transform 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-10px);
}

.pricing-card.featured {
    border: 2px solid #00B8D4;
    transform: scale(1.05);
}

.pricing-card.featured:hover {
    transform: translateY(-10px) scale(1.05);
}

.pricing-header {
    background-color: #2E2E2E;
    color: white;
    padding: 2rem;
    text-align: center;
}

.pricing-header h3 {
    color: white;
    margin-bottom: 1rem;
}

.price {
    font-size: 2.5rem;
    font-weight: 700;
}

.price span {
    font-size: 1rem;
    opacity: 0.7;
}

.pricing-features {
    padding: 2rem;
}

.pricing-features ul {
    list-style: none;
    margin: 0;
    margin-bottom: 2rem;
}

.pricing-features li {
    padding: 0.5rem 0;
    position: relative;
    padding-left: 1.5rem;
}

.pricing-features li:before {
    content: "✓";
    color: #00B8D4;
    position: absolute;
    left: 0;
    top: 0.5rem;
}

.pricing-button {
    display: block;
    text-align: center;
    background-color: #00B8D4;
    color: white;
    padding: 1rem;
    margin: 0 2rem 2rem;
    border-radius: 4px;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

.pricing-button:hover {
    background-color: #3F51B5;
    color: white;
}

/* 7. Contact Form */
.contact-form {
    background-color: #fff;
}

.contact-form h2 {
    text-align: center;
    margin-bottom: 2rem;
}

form {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 1.5rem;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

input, select, textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: #00B8D4;
    box-shadow: 0 0 0 2px rgba(0,184,212,0.2);
}

.checkbox {
    display: flex;
    align-items: center;
}

.checkbox input {
    width: auto;
    margin-right: 0.5rem;
}

.checkbox label {
    margin-bottom: 0;
    font-weight: normal;
}

.submit-button {
    background-color: #FF6F61;
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    margin-top: 1rem;
}

.submit-button:hover {
    background-color: #3F51B5;
    transform: translateY(-2px);
}

/* ====== FOOTER ====== */
.site-footer {
    background-color: #2E2E2E;
    color: white;
}

.footer-main {
    padding: 4rem 0 2rem;
}

.footer-columns {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 2fr;
    gap: 2rem;
}

.footer-logo img {
    max-height: 60px;
    margin-bottom: 1rem;
}

.footer-description {
    opacity: 0.7;
    max-width: 300px;
}

.footer-column h4 {
    color: white;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-column h4:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: #00B8D4;
}

.footer-links {
    list-style: none;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: rgba(255,255,255,0.7);
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: #00B8D4;
    padding-left: 5px;
}

.footer-contact-info p {
    margin-bottom: 0.8rem;
    opacity: 0.7;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 1.5rem 0;
    text-align: center;
}

.copyright {
    opacity: 0.7;
    margin-bottom: 0;
    font-size: 0.9rem;
}

/* ====== COOKIE CONSENT ====== */
.cookie-consent {
    position: fixed;
    bottom: 20px;
    left: 20px;
    background-color: #2E2E2E;
    color: white;
    max-width: 400px;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
    z-index: 9999;
    display: none;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.cookie-content p {
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.cookie-buttons {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cookie-button {
    background-color: #00B8D4;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    cursor: pointer;
    font-family: inherit;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

.cookie-button:hover {
    background-color: #3F51B5;
}

.cookie-link {
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
    text-decoration: underline;
}

.cookie-link:hover {
    color: white;
}

/* ====== THANK YOU PAGE ====== */
.thank-you {
    text-align: center;
    padding: 6rem 0;
    background-image: linear-gradient(135deg, #00B8D4, #3F51B5);
    color: white;
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.thank-you:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../img/wlLP7x.jpg');
    background-size: cover;
    background-position: center;
    opacity: 0.15;
    z-index: 1;
}

.thank-you-content {
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    padding: 3rem;
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.check-icon {
    width: 120px;
    height: 120px;
    background-color: #FF6F61;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    font-size: 3.5rem;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.check-icon:before {
    content: '✓';
    position: relative;
    z-index: 2;
}

.check-icon:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle, #FF6F61, #FF6F61 60%, rgba(255, 111, 97, 0.7));
    z-index: 1;
}

.thank-you-message {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    color: white;
}

.thank-you p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
}

.back-button {
    display: inline-block;
    background-color: #D4E157;
    color: #2E2E2E;
    padding: 1rem 2rem;
    border-radius: 30px;
    margin-top: 2rem;
    font-weight: 700;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.back-button:hover {
    background-color: #FFFFFF;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* ====== LEGAL PAGES ====== */
.legal-content {
    padding: 4rem 0;
}

.legal-text {
    max-width: 800px;
    margin: 0 auto;
}

.legal-text h2 {
    margin-top: 2rem;
    color: #3F51B5;
}

/* ====== RESPONSIVE DESIGN ====== */
/* Tablet */
@media (max-width: 992px) {
    h1 {
        font-size: 2rem;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }

    .hero-content {
        width: 100%;
        max-width: 700px;
    }
    
    .footer-columns {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .pricing-grid {
        flex-direction: column;
        align-items: center;
    }
    
    .pricing-card {
        max-width: 400px;
    }
    
    .pricing-card.featured {
        transform: scale(1);
    }
    
    .pricing-card.featured:hover {
        transform: translateY(-10px);
    }
    
    .thank-you-content {
        max-width: 450px;
        padding: 2rem;
    }
    
    .check-icon {
        width: 100px;
        height: 100px;
        font-size: 3rem;
    }
}

/* Mobile */
@media (max-width: 768px) {
    section {
        padding: 3rem 0;
    }
    
    .hero {
        padding: 4rem 0;
    }
    
    .about-content {
        flex-direction: column;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    /* Mobile menu */
    .menu-toggle-label {
        display: block;
    }
    
    .main-navigation {
        position: absolute;
        top: 100%;
        left: 0;
        background-color: white;
        width: 100%;
        padding: 1rem 0;
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
        clip-path: circle(0% at top right);
        transition: clip-path 0.5s ease;
    }
    
    .menu-toggle:checked ~ .main-navigation {
        clip-path: circle(150% at top right);
    }
    
    .main-navigation .menu {
        flex-direction: column;
        align-items: center;
    }
    
    .main-navigation .menu li {
        margin: 0.8rem 0;
    }
    
    .footer-columns {
        grid-template-columns: 1fr;
    }
    
    .thank-you-message {
        font-size: 1.5rem;
    }
    
    .check-icon {
        width: 80px;
        height: 80px;
        font-size: 2.5rem;
    }
}

/* Very small screens */
@media (max-width: 480px) {
    h1 {
        font-size: 1.8rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .pricing-card {
        width: 100%;
    }
    
    .cookie-consent {
        left: 10px;
        right: 10px;
        bottom: 10px;
        max-width: none;
    }
    
    .thank-you-content {
        padding: 1.5rem;
    }
} 