/* 
===========================================
DOMAIN - Servicios Contables
Estilos principales
===========================================
*/

/* Variables CSS */
:root {
    /* Colores principales */
    --color-primary: #1D1E2C;
    --color-secondary: #FAD744;
    --color-accent: #EA5C5A;
    --color-light: #FFFDF7;
    --color-text: #2C2C2C;
    
    /* Gradientes */
    --gradient-primary: linear-gradient(135deg, #FAD744 0%, #EA5C5A 100%);
    
    /* Tipografía */
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Open Sans', sans-serif;
    
    /* Tamaños */
    --header-height: 80px;
    --footer-padding: 60px;
    --container-padding: 20px;
    --border-radius: 8px;
}

/* Reset y estilos base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--color-text);
    line-height: 1.6;
    background-color: var(--color-light);
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    filter: sepia(30%);
}

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

/* Tipografía */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: var(--color-primary);
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
}

h2::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--gradient-primary);
    margin: 15px auto 0;
    border-radius: var(--border-radius);
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
}

/* Botones */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: var(--border-radius);
    font-family: var(--font-heading);
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--color-light);
}

.btn-primary:hover {
    box-shadow: 0 4px 12px rgba(250, 215, 68, 0.3);
    filter: sepia(30%);
}

.btn-outline {
    background: transparent;
    color: var(--color-primary);
    border: 2px solid var(--color-primary);
}

.btn-outline:hover {
    background: var(--color-primary);
    color: var(--color-light);
    box-shadow: 0 4px 12px rgba(29, 30, 44, 0.2);
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.9rem;
}

/* Header */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: var(--color-light);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    height: var(--header-height);
    display: flex;
    align-items: center;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo a {
    display: block;
}

.main-nav .desktop-menu {
    display: flex;
    align-items: center;
}

.main-nav .desktop-menu li {
    margin-left: 30px;
}

.main-nav .desktop-menu li a {
    font-weight: 500;
    position: relative;
}

.main-nav .desktop-menu li a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width 0.3s ease;
}

.main-nav .desktop-menu li a:hover::after,
.main-nav .desktop-menu li.active a::after {
    width: 100%;
}

.mobile-menu-toggle {
    display: none;
    cursor: pointer;
    width: 30px;
    height: 20px;
    position: relative;
}

.mobile-menu-toggle span {
    display: block;
    position: absolute;
    height: 3px;
    width: 100%;
    background: var(--color-primary);
    border-radius: 3px;
    transition: all 0.3s ease;
}

.mobile-menu-toggle span:nth-child(1) {
    top: 0;
}

.mobile-menu-toggle span:nth-child(2) {
    top: 8px;
}

.mobile-menu-toggle span:nth-child(3) {
    top: 16px;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg);
    top: 8px;
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg);
    top: 8px;
}

.mobile-menu {
    display: none;
    background-color: var(--color-light);
    position: absolute;
    top: var(--header-height);
    left: 0;
    width: 100%;
    padding: 20px;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    transform: translateY(-100%);
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
    z-index: 999;
}

.mobile-menu.active {
    transform: translateY(0);
    opacity: 1;
    display: block;
}

.mobile-menu ul li {
    margin-bottom: 15px;
}

.mobile-menu ul li a {
    display: block;
    font-size: 1.1rem;
    font-weight: 500;
    padding: 5px 0;
}

/* Cookie popup */
.cookie-popup {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--color-primary);
    color: var(--color-light);
    padding: 15px 0;
    z-index: 1001;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
}

.cookie-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.cookie-content p {
    margin-bottom: 0;
    margin-right: 20px;
}

.cookie-content a {
    color: var(--color-secondary);
    text-decoration: underline;
}

/* Secciones */
section {
    padding: 80px 0;
}

section:nth-child(even) {
    background-color: rgba(250, 215, 68, 0.05);
}

/* Hero Section */
.hero-section {
    padding: calc(var(--header-height) + 60px) 0 60px;
    background-color: var(--color-light);
}

.hero-section .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.hero-content h1 {
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.hero-image {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* About Section */
.about-section .about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 30px;
}

.feature {
    text-align: center;
    padding: 20px;
    border-radius: var(--border-radius);
    transition: all 0.3s ease;
}

.feature-icon {
    margin-bottom: 15px;
}

.feature:hover {
    background-color: rgba(250, 215, 68, 0.1);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transform: translateY(-5px);
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: var(--color-light);
    border-radius: var(--border-radius);
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.service-image {
    width: 100%;
    height: 180px;
    overflow: hidden;
    border-radius: var(--border-radius) var(--border-radius) 0 0;
    margin: -30px -30px 20px;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-card h3 {
    margin-bottom: 15px;
}

.service-card p {
    margin-bottom: 20px;
    flex-grow: 1;
}

/* Why Us Section */
.reasons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.reason-card {
    background-color: var(--color-light);
    border-radius: var(--border-radius);
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.reason-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.reason-icon {
    margin-bottom: 15px;
}

/* Testimonials Section */
.testimonial-slider {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background-color: var(--color-light);
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.testimonial-content {
    position: relative;
    padding-top: 20px;
}

.testimonial-content::before {
    content: """;
    font-family: Georgia, serif;
    position: absolute;
    top: -20px;
    left: -10px;
    font-size: 80px;
    color: var(--color-secondary);
    opacity: 0.3;
}

.testimonial-author {
    display: flex;
    align-items: center;
    margin-top: 20px;
}

.testimonial-author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 15px;
}

.author-info h4 {
    margin-bottom: 0;
}

.author-info p {
    margin-bottom: 0;
    font-size: 0.9rem;
    color: rgba(44, 44, 44, 0.7);
}

/* Pricing Section */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.pricing-card {
    background-color: var(--color-light);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: all 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 var(--color-secondary);
    transform: scale(1.05);
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-10px);
}

.pricing-header {
    background-color: var(--color-primary);
    color: var(--color-light);
    padding: 25px 20px;
    text-align: center;
}

.pricing-header h3 {
    color: var(--color-light);
    margin-bottom: 15px;
}

.price {
    font-family: var(--font-heading);
}

.price .amount {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-secondary);
}

.price .period {
    font-size: 1rem;
    color: rgba(255, 253, 247, 0.7);
}

.pricing-features {
    padding: 30px;
}

.pricing-features ul li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 10px;
}

.pricing-features ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--color-accent);
}

.pricing-footer {
    padding: 0 30px 30px;
    text-align: center;
}

/* FAQ Section */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 15px;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.faq-question {
    background-color: var(--color-light);
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.faq-question h3 {
    font-size: 1.1rem;
    margin-bottom: 0;
    padding-right: 20px;
}

.faq-toggle svg {
    transition: transform 0.3s ease;
}

.faq-question.active {
    background-color: var(--color-primary);
}

.faq-question.active h3 {
    color: var(--color-light);
}

.faq-question.active .faq-toggle svg {
    transform: rotate(180deg);
}

.faq-answer {
    background-color: var(--color-light);
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

/* Contact Section */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
}

.contact-info h3 {
    margin-bottom: 20px;
}

.info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
}

.info-icon {
    margin-right: 15px;
    margin-top: 5px;
}

/* Estilos específicos para la información de contacto */
.contact-info .info-text p {
    margin-bottom: 5px;
    color: #000000;
    font-weight: 500;
}

.contact-info .info-text a {
    color: #000000;
    font-weight: 500;
}

.contact-info .info-text address {
    color: #000000;
    font-weight: 500;
}

.contact-form {
    background-color: var(--color-light);
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.contact-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--gradient-primary);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid rgba(29, 30, 44, 0.1);
    border-radius: var(--border-radius);
    font-family: var(--font-body);
    background-color: transparent;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-secondary);
    box-shadow: 0 0 0 3px rgba(250, 215, 68, 0.2);
}

.form-check {
    margin-bottom: 20px;
    display: flex;
    align-items: flex-start;
}

.form-check input {
    margin-right: 10px;
    margin-top: 5px;
}

.form-check label {
    font-size: 0.9rem;
}

/* Footer */
.site-footer {
    background-color: var(--color-primary);
    color: var(--color-light);
    padding: var(--footer-padding) 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    margin-bottom: 20px;
}

.footer-logo p {
    font-size: 0.9rem;
    color: rgba(255, 253, 247, 0.7);
    max-width: 300px;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.links-column h4 {
    color: var(--color-light);
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.links-column h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--color-secondary);
}

.links-column ul li {
    margin-bottom: 10px;
}

.links-column ul li a {
    color: rgba(255, 253, 247, 0.7);
    transition: color 0.3s ease;
}

.links-column ul li a:hover {
    color: var(--color-secondary);
}

.contact-info p,
.contact-info address {
    color: rgba(255, 253, 247, 0.7);
    margin-bottom: 10px;
}

.contact-info a {
    color: rgba(255, 253, 247, 0.7);
}

.contact-info a:hover {
    color: var(--color-secondary);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 253, 247, 0.1);
    padding-top: 20px;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.9rem;
    color: rgba(255, 253, 247, 0.5);
    margin-bottom: 0;
}

/* Páginas legales */
.legal-section {
    padding: calc(var(--header-height) + 40px) 0 60px;
}

.legal-header {
    text-align: center;
    margin-bottom: 40px;
}

.legal-logo {
    margin: 0 auto 20px;
    max-width: 150px;
}

.legal-date {
    color: rgba(44, 44, 44, 0.6);
    font-style: italic;
}

.legal-content {
    background-color: var(--color-light);
    border-radius: var(--border-radius);
    padding: 40px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(29, 30, 44, 0.1);
}

.legal-content h2 {
    font-size: 1.5rem;
    text-align: left;
    margin-top: 30px;
}

.legal-content h2::after {
    margin: 10px 0 0;
    width: 50px;
}

.legal-content p, .legal-content ul {
    margin-bottom: 20px;
}

.legal-content ul {
    padding-left: 20px;
    list-style-type: disc;
}

.legal-content ul li {
    margin-bottom: 10px;
}

.legal-content address {
    font-style: normal;
    margin-top: 20px;
}

/* Responsive Styles */
@media (max-width: 992px) {
    h1 {
        font-size: 2.2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .hero-section .container,
    .about-section .about-content,
    .contact-container,
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .hero-image {
        order: -1;
    }
    
    .footer-links {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .main-nav .desktop-menu {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .pricing-card.featured {
        transform: scale(1);
    }
    
    .pricing-card.featured:hover {
        transform: translateY(-10px);
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-content p {
        margin-right: 0;
        margin-bottom: 15px;
    }
}

@media (max-width: 576px) {
    h1 {
        font-size: 1.8rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    section {
        padding: 60px 0;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
    }
    
    .contact-form {
        padding: 20px;
    }
    
    .legal-content {
        padding: 25px;
    }
} 