/* 
 * domain - Main Styles
 * Spanish accounting services website
 */

/* === Base Styles === */
:root {
    --color-primary-start: #FF6B6B;
    --color-primary-end: #00BFA6;
    --color-secondary: #FFF8F0;
    --color-background: #F2F2F2;
    --color-text: #2E2E2E;
    --color-accent1: #4B0082;
    --color-accent2: #F7E92A;
    --font-main: 'Arial', sans-serif;
    --transition-main: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    color: var(--color-text);
    background-color: var(--color-background);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
    position: relative;
    text-align: center;
    margin-bottom: 2.5rem;
    color: var(--color-accent1);
}

h2::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, var(--color-primary-start), var(--color-primary-end));
    margin: 15px auto 0;
    border-radius: 2px;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
}

a {
    color: var(--color-accent1);
    text-decoration: none;
    transition: var(--transition-main);
}

a:hover {
    color: var(--color-primary-start);
}

img {
    max-width: 100%;
    height: auto;
}

ul {
    list-style-type: none;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    position: relative;
    padding: 80px 0;
}

.wave-divider {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 70px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 120' preserveAspectRatio='none'%3E%3Cpath d='M321.39,56.44c58-10.79,114.16-30.13,172-41.86,82.39-16.72,168.19-17.73,250.45-.39C823.78,31,906.67,72,985.66,92.83c70.05,18.48,146.53,26.09,214.34,3V0H0V27.35A600.21,600.21,0,0,0,321.39,56.44Z' fill='%23ffffff'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

.wave-divider.alt {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 120' preserveAspectRatio='none'%3E%3Cpath d='M321.39,56.44c58-10.79,114.16-30.13,172-41.86,82.39-16.72,168.19-17.73,250.45-.39C823.78,31,906.67,72,985.66,92.83c70.05,18.48,146.53,26.09,214.34,3V0H0V27.35A600.21,600.21,0,0,0,321.39,56.44Z' fill='%23f2f2f2'/%3E%3C/svg%3E");
}

/* === Header Styles === */
.site-header {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo a {
    display: block;
}

.logo-text {
    font-size: 1.8rem;
    font-weight: 700;
    font-style: italic;
    color: var(--color-accent1);
}

.main-nav .nav-list {
    display: flex;
    gap: 20px;
}

.main-nav .nav-list li a {
    display: block;
    padding: 5px 10px;
    color: var(--color-text);
    font-weight: 600;
    transition: var(--transition-main);
    border-bottom: 2px solid transparent;
}

.main-nav .nav-list li.active a,
.main-nav .nav-list li a:hover {
    color: var(--color-accent1);
    border-bottom: 2px solid var(--color-primary-end);
}

.mobile-menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--color-text);
}

/* === Welcome Section === */
.welcome-section {
    background: linear-gradient(135deg, var(--color-primary-start), var(--color-primary-end));
    color: white;
    text-align: center;
    padding: 120px 0;
}

.main-title {
    font-size: 3rem;
    margin-bottom: 20px;
    animation: fadeInUp 1s ease;
}

.subtitle {
    font-size: 1.25rem;
    margin-bottom: 40px;
    animation: fadeInUp 1s ease 0.3s both;
}

.cta-button {
    display: inline-block;
    padding: 15px 30px;
    background-color: white;
    color: var(--color-accent1);
    font-weight: 700;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: fadeInUp 1s ease 0.6s both;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    color: var(--color-accent1);
}

/* === About Section === */
.about-section {
    background-color: #fff;
}

.about-content {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.about-text, .about-advantages {
    flex: 1;
}

.about-advantages ul li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.accent-icon {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, var(--color-primary-start), var(--color-primary-end));
    color: white;
    border-radius: 50%;
    margin-right: 10px;
    font-size: 0.8rem;
}

/* === Services Section === */
.services-section {
    background-color: var(--color-background);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.service-image {
    width: 100%;
    height: 200px;
    margin-bottom: 20px;
    border-radius: 8px;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card:hover .service-image img {
    transform: scale(1.05);
}

/* Eliminar los estilos antiguos de iconos que ya no se utilizan */
.service-icon {
    display: none;
}

.outsourcing-icon, .consulting-icon, .tax-icon {
    display: none;
}

.service-link {
    display: inline-block;
    margin-top: 20px;
    padding: 8px 16px;
    background: linear-gradient(135deg, var(--color-primary-start), var(--color-primary-end));
    color: white;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
}

.service-link:hover {
    color: white;
    opacity: 0.9;
}

/* === Advantages Section === */
.advantages-section {
    background-color: white;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.advantage-item {
    text-align: center;
    padding: 30px 20px;
    border-radius: 10px;
    transition: transform 0.3s ease;
    position: relative;
}

.advantage-item:hover {
    transform: translateY(-5px);
}

.advantage-number {
    font-size: 3rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--color-primary-start), var(--color-primary-end));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 20px;
    opacity: 0.8;
}

/* === Pricing Section === */
.pricing-section {
    background-color: var(--color-background);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.pricing-card {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px 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 35px rgba(0, 0, 0, 0.1);
}

.pricing-card.featured {
    border: 2px solid var(--color-primary-end);
    transform: scale(1.05);
    position: relative;
    z-index: 1;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.pricing-card.featured:hover {
    transform: translateY(-10px) scale(1.05);
}

.pricing-header {
    padding: 25px 30px;
    text-align: center;
    background: linear-gradient(135deg, var(--color-primary-start), var(--color-primary-end));
    color: white;
}

.pricing-price {
    margin-top: 15px;
}

.price {
    font-size: 2.5rem;
    font-weight: 700;
}

.period {
    font-size: 0.9rem;
    opacity: 0.8;
}

.pricing-features {
    padding: 30px;
}

.pricing-features ul li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 25px;
}

.pricing-features ul li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--color-primary-end);
    font-weight: bold;
}

.pricing-button {
    display: block;
    text-align: center;
    padding: 15px;
    margin: 0 30px 30px;
    background-color: var(--color-accent1);
    color: white;
    font-weight: 600;
    border-radius: 50px;
    transition: var(--transition-main);
}

.pricing-button:hover {
    background-color: var(--color-primary-start);
    color: white;
}

/* === Testimonials Section === */
.testimonials-section {
    background-color: white;
    text-align: center;
}

.testimonials-slider {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 800px;
    margin: 0 auto;
}

.testimonial-card {
    background-color: var(--color-background);
    border-radius: 10px;
    padding: 30px;
    flex-grow: 1;
    margin: 0 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.testimonial-stars {
    margin-bottom: 20px;
    color: var(--color-accent2);
    font-size: 1.2rem;
}

.testimonial-text {
    font-size: 1.1rem;
    font-style: italic;
    margin-bottom: 20px;
}

.slider-control {
    font-size: 2rem;
    color: var(--color-text);
    cursor: pointer;
    transition: var(--transition-main);
}

.slider-control:hover {
    color: var(--color-primary-end);
}

.testimonials-dots {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #ddd;
    margin: 0 5px;
    transition: var(--transition-main);
}

.dot:hover {
    background-color: var(--color-primary-start);
}

.dot.active {
    background: linear-gradient(135deg, var(--color-primary-start), var(--color-primary-end));
}

/* === Contact Section === */
.contact-section {
    background-color: var(--color-background);
}

.contact-container {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}

.contact-form {
    flex: 1;
    min-width: 300px;
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    transition: var(--transition-main);
}

.form-group input:focus,
.form-group select:focus {
    border-color: var(--color-primary-end);
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 191, 166, 0.2);
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
}

.checkbox-group input {
    width: auto;
    margin-top: 5px;
    margin-right: 10px;
}

.checkbox-group label {
    margin-bottom: 0;
    font-weight: normal;
    font-size: 0.9rem;
}

.submit-button {
    display: block;
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, var(--color-primary-start), var(--color-primary-end));
    color: white;
    font-weight: 600;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.submit-button:hover {
    opacity: 0.9;
}

.contact-info {
    flex: 1;
    min-width: 300px;
}

.contact-map {
    margin-top: 20px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.map-image {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 10px;
}

/* === FAQ Section === */
.faq-section {
    background-color: white;
}

.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 15px;
    border-radius: 5px;
    overflow: hidden;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background-color: var(--color-background);
    color: var(--color-text);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-main);
}

.faq-question:hover {
    background-color: #e8e8e8;
}

.faq-question.active {
    background: linear-gradient(135deg, var(--color-primary-start), var(--color-primary-end));
    color: white;
}

.faq-icon {
    font-size: 1.5rem;
    font-weight: 300;
}

.faq-answer {
    background-color: white;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    display: none;
}

.faq-answer p {
    padding: 20px;
}

/* === Footer Styles === */
.site-footer {
    background-color: #333;
    color: white;
    padding: 60px 0 30px;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 40px;
}

.footer-column {
    flex: 1;
    min-width: 200px;
}

.footer-column h3 {
    color: white;
    font-size: 1.8rem;
    font-weight: 700;
    font-style: italic;
    margin-bottom: 20px;
}

.footer-column h4 {
    color: var(--color-primary-end);
    margin-bottom: 20px;
}

.footer-contact li, .footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #ccc;
    transition: var(--transition-main);
}

.footer-links a:hover {
    color: var(--color-primary-end);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* === Cookie Consent === */
.cookie-consent {
    position: fixed;
    bottom: 20px;
    right: 20px;
    max-width: 320px;
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    display: none;
}

.cookie-consent.visible {
    display: block;
    animation: fadeIn 0.5s ease;
}

.cookie-button {
    display: block;
    width: 100%;
    padding: 10px;
    background-color: var(--color-accent1);
    color: white;
    border: none;
    border-radius: 5px;
    margin-top: 15px;
    cursor: pointer;
    transition: var(--transition-main);
}

.cookie-button:hover {
    background-color: var(--color-primary-end);
}

/* === Animations === */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* === Responsive Styles === */
@media (max-width: 992px) {
    h1 {
        font-size: 2.2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    section {
        padding: 60px 0;
    }
    
    .about-content {
        flex-direction: column;
    }
    
    .pricing-card.featured {
        transform: scale(1);
    }
    
    .pricing-card.featured:hover {
        transform: translateY(-10px);
    }
}

@media (max-width: 768px) {
    .main-title {
        font-size: 2.2rem;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .main-nav {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: white;
        padding: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    }
    
    .main-nav.active {
        max-height: 300px;
    }
    
    .main-nav .nav-list {
        flex-direction: column;
        gap: 0;
    }
    
    .main-nav .nav-list li a {
        padding: 15px 20px;
        border-bottom: 1px solid #eee;
    }
    
    .services-grid,
    .advantages-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonials-slider {
        flex-direction: column;
    }
    
    .slider-control {
        margin: 10px 0;
    }
    
    .testimonial-card {
        margin: 10px 0;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 1.8rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    .cta-button {
        padding: 12px 24px;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-column {
        flex: 0 0 100%;
    }
    
    .cookie-consent {
        bottom: 0;
        right: 0;
        left: 0;
        max-width: 100%;
        border-radius: 0;
    }
} 

/* Estilos para tablas en páginas legales */
.cookies-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

.cookies-table th,
.cookies-table td {
    border: 1px solid #ddd;
    padding: 12px;
    text-align: left;
}

.cookies-table th {
    background-color: #f8f8f8;
    font-weight: 600;
}

.cookies-table tr:nth-child(even) {
    background-color: #f9f9f9;
}

.cookies-table tr:hover {
    background-color: #f2f2f2;
}

@media (max-width: 768px) {
    .cookies-table {
        font-size: 0.9rem;
    }
    
    .cookies-table th,
    .cookies-table td {
        padding: 8px;
    }
    
    .cookies-table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }
} 

.form-error {
    background-color: #ffebee;
    color: #d32f2f;
    padding: 15px;
    border-radius: 5px;
    border-left: 4px solid #d32f2f;
    margin-bottom: 20px;
    font-weight: 500;
} 