/* 
* ContabiliZen - Estilos principales
* Paleta de colores:
* - Fondo principal: #FFEFD5 (PapayaWhip)
* - Acento principal: #FF6347 (Tomato)
* - Elemento contrastante: #3CB371 (MediumSeaGreen)
* - Color de texto: #222222
* - Títulos: #3CB371
*/

/* Reset y estilos globales */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #222222;
    background-color: #FFEFD5;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3, h4, h5, h6 {
    color: #3CB371;
    font-weight: 600;
    margin-bottom: 1rem;
    line-height: 1.3;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 2rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
}

a {
    color: #FF6347;
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: #3CB371;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

section {
    padding: 80px 0;
}

.btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 30px;
    font-weight: 500;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background-color: #FF6347;
    color: white;
}

.btn-primary:hover {
    background-color: #e55a3f;
    color: white;
}

.btn-secondary {
    background-color: #3CB371;
    color: white;
}

.btn-secondary:hover {
    background-color: #329760;
    color: white;
}

/* Cookie Popup */
.cookie-popup {
    position: fixed;
    bottom: -100%;
    left: 0;
    right: 0;
    background-color: #fff;
    padding: 20px;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    transition: bottom 0.5s ease;
}

.cookie-popup.show {
    bottom: 0;
}

.cookie-popup p {
    margin: 0;
    padding-right: 20px;
}

/* Header y Navegación */
.site-header {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
}

.logo {
    max-width: 180px;
    height: auto;
}

.logo img {
    height: 50px;
    width: auto;
}

.main-nav ul {
    display: flex;
}

.main-nav li {
    margin: 0 15px;
}

.main-nav a {
    color: #222222;
    font-weight: 500;
}

.main-nav a:hover {
    color: #FF6347;
}

.contact-header a {
    display: inline-block;
    font-weight: 600;
    color: #FF6347;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 30px;
    height: 24px;
    position: relative;
}

.mobile-menu-toggle span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: #222222;
    position: absolute;
    transition: all 0.3s ease;
}

.mobile-menu-toggle span:nth-child(1) {
    top: 0;
}

.mobile-menu-toggle span:nth-child(2) {
    top: 50%;
    transform: translateY(-50%);
}

.mobile-menu-toggle span:nth-child(3) {
    bottom: 0;
}

/* Hero Section */
.hero {
    padding: 100px 0;
    position: relative;
    background-color: transparent;
}

.hero .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.hero-content {
    flex: 1;
}

.hero-image {
    flex: 1;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.hero h1 {
    margin-bottom: 1.5rem;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

/* Sobre nosotros */
.about {
    background-color: white;
}

.about-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.about-text {
    flex: 1;
}

.about-image {
    flex: 1;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Servicios */
.services {
    background-color: #FFEFD5;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    padding-bottom: 25px;
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.service-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.service-card h3 {
    text-align: center;
    padding: 20px 20px 10px;
}

.service-card ul {
    padding: 0 25px 20px;
}

.service-card li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 8px;
}

.service-card li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #3CB371;
}

.service-card .btn {
    display: block;
    width: 80%;
    margin: 0 auto;
}

/* Ventajas */
.benefits {
    background-color: white;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.benefit-item {
    padding: 25px;
    border-radius: 10px;
    background-color: #FFEFD5;
    transition: all 0.3s ease;
}

.benefit-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
}

.benefit-item h3 {
    color: #FF6347;
}

/* ¿Por qué elegirnos? */
.why-us {
    background-color: #FFEFD5;
}

.why-us-content {
    display: flex;
    align-items: center;
    gap: 40px;
}

.why-us-image {
    flex: 1;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.why-us-text {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

.why-us-item h3 {
    color: #FF6347;
    font-size: 1.2rem;
}

/* Testimonios */
.testimonials {
    background-color: white;
}

.testimonials-slider {
    display: flex;
    gap: 30px;
    overflow-x: auto;
    padding: 20px 0;
    scrollbar-width: none;
}

.testimonials-slider::-webkit-scrollbar {
    display: none;
}

.testimonial {
    background-color: #FFEFD5;
    padding: 30px;
    border-radius: 10px;
    min-width: 300px;
    flex: 1;
    position: relative;
}

.testimonial::before {
    content: "";
    position: absolute;
    top: 10px;
    left: 15px;
    font-size: 3rem;
    color: #FF6347;
    opacity: 0.2;
}

.testimonial h4 {
    margin-bottom: 5px;
    color: #FF6347;
}

.testimonial .company {
    color: #777;
    margin-bottom: 0;
    font-style: italic;
}

/* Contacto */
.contact {
    background-color: #FFEFD5;
}

.contact-content {
    display: flex;
    gap: 40px;
}

.contact-info {
    flex: 1;
}

.contact-form {
    flex: 1;
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    background-color: #fff;
    font-family: 'Poppins', sans-serif;
}

.form-group.checkbox {
    display: flex;
    align-items: center;
}

.form-group.checkbox input {
    width: auto;
    margin-right: 10px;
}

.form-group.checkbox label {
    margin-bottom: 0;
}

/* Footer */
.site-footer {
    background-color: #222222;
    color: #fff;
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.footer-company {
    grid-column: span 1;
}

.footer-logo {
    margin-bottom: 20px;
    max-width: 150px;
}

.footer-links h4,
.footer-services h4,
.footer-contact h4 {
    color: #fff;
    margin-bottom: 20px;
}

.footer-links ul li,
.footer-services ul li {
    margin-bottom: 10px;
}

.footer-links a,
.footer-services a {
    color: #ddd;
}

.footer-links a:hover,
.footer-services a:hover {
    color: #FF6347;
}

.footer-contact p {
    margin-bottom: 10px;
}

.footer-contact a {
    color: #ddd;
}

.footer-contact a:hover {
    color: #FF6347;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.legal-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 15px;
}

.legal-links a {
    color: #ddd;
    margin: 0 15px 10px;
    font-size: 0.9rem;
}

.copyright {
    color: #aaa;
    text-align: center;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    section {
        padding: 60px 0;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .hero .container,
    .about-content,
    .why-us-content,
    .contact-content {
        flex-direction: column;
    }
    
    .hero-image,
    .about-image,
    .why-us-image {
        margin-top: 30px;
        max-width: 100%;
    }
    
    .why-us-text {
        grid-template-columns: 1fr;
    }
    
    .services-grid,
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
    
    .footer-company {
        grid-column: span 2;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .main-nav {
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        background-color: white;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        padding: 20px 0;
        transform: translateY(-150%);
        transition: all 0.3s ease;
    }
    
    .main-nav.show {
        transform: translateY(0);
    }
    
    .main-nav ul {
        flex-direction: column;
        align-items: center;
    }
    
    .main-nav li {
        margin: 10px 0;
    }
    
    .contact-header {
        display: none;
    }
}

@media (max-width: 480px) {
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .footer-company {
        grid-column: span 1;
    }
    
    .legal-links {
        flex-direction: column;
        align-items: center;
    }
    
    .legal-links a {
        margin: 5px 0;
    }
    
    .cookie-popup {
        flex-direction: column;
    }
    
    .cookie-popup p {
        margin-bottom: 15px;
        padding-right: 0;
    }
} 