/* 
   Contabilízate - Main Stylesheet
   Author: [Your Name]
   Description: Main stylesheet for Contabilízate, a professional accounting services company
*/

/* ===== Variables ===== */
:root {
    /* Color palette */
    --blue: #1A73E8;
    --orange: #FF5722;
    --dark-gray: #333333;
    --light-gray: #F5F5F5;
    --white: #FFFFFF;
    --orange-light: #FF7A50;
    --blue-light: #4A96F0;
    --gradient: linear-gradient(135deg, var(--orange) 0%, var(--blue) 100%);
    
    /* Typography */
    --font-primary: 'Montserrat', sans-serif;
    --font-secondary: 'Open Sans', sans-serif;
    
    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 2rem;
    --space-lg: 3rem;
    --space-xl: 5rem;
    
    /* Border radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    
    /* Container width */
    --container-max: 1200px;
}

/* ===== Reset and Base Styles ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-secondary);
    color: var(--dark-gray);
    line-height: 1.6;
    background-color: var(--white);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    font-weight: 700;
    margin-bottom: var(--space-sm);
    line-height: 1.2;
}

h1 {
    font-size: 3rem;
}

h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: var(--space-md);
    position: relative;
}

h2:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 46%;
    width: 60px;
    height: 4px;
    background: var(--gradient);
    border-radius: var(--radius-sm);
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: var(--space-sm);
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
    color: var(--blue);
    transition: all 0.3s ease;
}

a:hover {
    color: var(--orange);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

section {
    padding: var(--space-xl) 0;
}

.container {
    width: 90%;
    max-width: var(--container-max);
    margin: 0 auto;
}

/* ===== Buttons ===== */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: var(--font-primary);
}

.btn-primary {
    background: var(--gradient);
    color: var(--white);
    border: none;
    box-shadow: 0 4px 10px rgba(255, 87, 34, 0.25);
}

.btn-primary:hover {
    box-shadow: 0 6px 15px rgba(255, 87, 34, 0.4);
    transform: translateY(-2px);
    color: var(--white);
}

.btn-secondary {
    background: var(--white);
    color: var(--blue);
    border: 2px solid var(--blue);
}

.btn-secondary:hover {
    background: var(--blue);
    color: var(--white);
}

.btn-outline {
    background: transparent;
    color: var(--blue);
    border: 2px solid var(--blue);
    padding: 0.5rem 1.25rem;
}

.btn-outline:hover {
    background: var(--blue);
    color: var(--white);
}

/* ===== Header ===== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: 1rem 0;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: 1.8rem;
    color: var(--dark-gray);
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.main-nav .nav-menu {
    display: flex;
    align-items: center;
}

.main-nav .nav-menu li {
    margin-left: var(--space-md);
}

.main-nav .nav-menu li a {
    color: var(--dark-gray);
    font-weight: 500;
}

.main-nav .nav-menu li a:hover {
    color: var(--orange);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--dark-gray);
    margin: 5px 0;
    border-radius: 3px;
    transition: all 0.3s ease;
}
.policy-section h1{
    text-align: center;
}
/* ===== Hero Section ===== */
.header-section {
    background: var(--gradient);

    display: flex;
    align-items: center;
    padding:190px 0;
    position: relative;
    overflow: hidden;
}

.header-section:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('./img/y6Qtof.jpg') center/cover no-repeat;
    opacity: 0.1;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    color: var(--white);
    max-width: 650px;
    margin: 0 auto;
    text-align: center;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: var(--space-md);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.hero-content .slogan {
    font-size: 1.5rem;
    margin-bottom: var(--space-md);
}

/* ===== About Section ===== */
.about-section {
    background-color: var(--white);
}

.about-content {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
}

.about-text {
    flex: 1;
}

.about-image {
    flex: 1;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* ===== Services Section ===== */
.services-section {
    background-color: var(--light-gray);
    text-align: center;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
    margin-top: var(--space-lg);
}

.service-card {
    background-color: var(--white);
    border-radius: var(--radius-md);
    padding: var(--space-md);
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.service-icon {
    margin-bottom: var(--space-md);
    width: 80px;
    height: 80px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--gradient);
    color: var(--white);
    font-size: 2rem;
}

/* ===== Advantages Section ===== */
.advantages-section {
    background-color: var(--white);
    text-align: center;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-md);
    margin-top: var(--space-lg);
}

.advantage-item {
    padding: var(--space-md);
    border-radius: var(--radius-md);
    transition: all 0.3s ease;
}

.advantage-item:hover {
    background-color: var(--light-gray);
}

.advantage-icon {
    width: 60px;
    height: 60px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--gradient);
    color: var(--white);
    margin-bottom: var(--space-sm);
    font-size: 1.5rem;
}

/* ===== Testimonials Section ===== */
.testimonials-section {
    background-color: var(--light-gray);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
    margin-top: var(--space-lg);
}

.testimonial {
    background-color: var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.testimonial-image {
    height: 250px;
    overflow: hidden;
}

.testimonial-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-content {
    padding: var(--space-md);
}

.testimonial-text {
    font-style: italic;
    margin-bottom: var(--space-sm);
    position: relative;
}

.testimonial-text:before {
    content: '"';
    font-size: 3rem;
    color: var(--orange);
    opacity: 0.2;
    position: absolute;
    top: -20px;
    left: -10px;
}

.testimonial-author {
    font-weight: bold;
    color: var(--blue);
}

/* ===== Contact Section ===== */
.contact-section {
    background: var(--gradient);
    color: var(--white);
}

.contact-section h2:after {
    background: var(--white);
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
    background-color: var(--white);
    padding: var(--space-lg);
    border-radius: var(--radius-lg);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    color: var(--dark-gray);
}

.form-group {
    margin-bottom: var(--space-md);
}

.form-group label {
    display: block;
    margin-bottom: var(--space-xs);
    font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: var(--radius-sm);
    font-family: var(--font-secondary);
    font-size: 1rem;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--blue);
    box-shadow: 0 0 0 2px rgba(26, 115, 232, 0.2);
}

.checkbox-group {
    display: flex;
    align-items: center;
}

.checkbox-group input {
    width: auto;
    margin-right: 10px;
}

.checkbox-group label {
    margin: 0;
    font-weight: normal;
}

/* ===== Contact Info Section ===== */
.contact-info-section {
    background-color: var(--white);
}

.contact-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
}

.contact-info-item {
    display: flex;
    align-items: center;
    margin-bottom: var(--space-md);
}

.contact-info-item i {
    margin-right: var(--space-sm);
    font-size: 1.5rem;
    color: var(--orange);
}

.contact-map {
    border-radius: var(--radius-md);
    overflow: hidden;
    height: 300px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.contact-map img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ===== Footer ===== */
.site-footer {
    background-color: var(--dark-gray);
    color: var(--white);
    padding: var(--space-xl) 0 var(--space-md);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-lg);
    margin-bottom: var(--space-lg);
}

.footer-column h3 {
    position: relative;
    padding-bottom: var(--space-xs);
    margin-bottom: var(--space-md);
}

.footer-column h3:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--gradient);
}

.footer-column ul li {
    margin-bottom: var(--space-xs);
}

.footer-column ul li a {
    color: #bbb;
}

.footer-column ul li a:hover {
    color: var(--orange);
}

.footer-column.contact-info p {
    display: flex;
    align-items: center;
    margin-bottom: var(--space-xs);
}

.footer-column.contact-info i {
    margin-right: var(--space-xs);
    color: var(--orange);
}

.copyright {
    text-align: center;
    padding-top: var(--space-md);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #bbb;
}

/* ===== Cookie Popup ===== */
.cookie-popup {
    position: fixed;
    bottom: 20px;
    left: 20px;
    background-color: var(--dark-gray);
    color: var(--white);
    padding: var(--space-md);
    border-radius: var(--radius-md);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    z-index: 9999;
    max-width: 400px;
    display: none; /* Hidden by default, shown by JS */
}

.cookie-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.cookie-content p {
    margin-bottom: var(--space-sm);
}

.cookie-content a {
    color: var(--orange);
}

.cookie-content button {
    align-self: flex-end;
}

/* ===== Icons ===== */
/* Basic icon styles as placeholders - in production, would use actual icon fonts or SVGs */
[class^="icon-"] {
    display: inline-block;
    width: 1em;
    height: 1em;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.icon-contabilidad, .icon-impuestos, .icon-nomina,
.icon-experiencia, .icon-personalizado, .icon-confidencial, .icon-actualizado,
.icon-location, .icon-phone, .icon-email {
    width: 24px;
    height: 24px;
    background-color: currentColor;
    -webkit-mask-size: contain;
    mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
}

.icon-contabilidad { -webkit-mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M12 8c-1.657 0-3 .895-3 2s1.343 2 3 2 3 .895 3 2-1.343 2-3 2m0-8c1.11 0 2.08.402 2.599 1M12 8V7m0 1v8m0 0v1m0-1c-1.11 0-2.08-.402-2.599-1M21 12a9 9 0 11-18 0 9 9 0 0118 0z" /></svg>'); }
.icon-impuestos { -webkit-mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 7h6m0 10v-3m-3 3h.01M9 17h.01M9 14h.01M12 14h.01M15 11h.01M12 11h.01M9 11h.01M7 21h10a2 2 0 002-2V5a2 2 0 00-2-2H7a2 2 0 00-2 2v14a2 2 0 002 2z" /></svg>'); }
.icon-nomina { -webkit-mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M17 9V7a2 2 0 00-2-2H5a2 2 0 00-2 2v6a2 2 0 002 2h2m2 4h10a2 2 0 002-2v-6a2 2 0 00-2-2H9a2 2 0 00-2 2v6a2 2 0 002 2zm7-5a2 2 0 11-4 0 2 2 0 014 0z" /></svg>'); }
.icon-experiencia { -webkit-mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M21 13.255A23.931 23.931 0 0112 15c-3.183 0-6.22-.62-9-1.745M16 6V4a2 2 0 00-2-2h-4a2 2 0 00-2 2v2m4 6h.01M5 20h14a2 2 0 002-2V8a2 2 0 00-2-2H5a2 2 0 00-2 2v10a2 2 0 002 2z" /></svg>'); }
.icon-personalizado { -webkit-mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M10 6H5a2 2 0 00-2 2v9a2 2 0 002 2h14a2 2 0 002-2V8a2 2 0 00-2-2h-5m-4 0V5a2 2 0 114 0v1m-4 0a2 2 0 104 0m-5 8a2 2 0 100-4 2 2 0 000 4zm0 0c1.306 0 2.417.835 2.83 2M9 14a3.001 3.001 0 00-2.83 2M15 11h3m-3 4h2" /></svg>'); }
.icon-confidencial { -webkit-mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M12 15v2m-6 4h12a2 2 0 002-2v-6a2 2 0 00-2-2H6a2 2 0 00-2 2v6a2 2 0 002 2zm10-10V7a4 4 0 00-8 0v4h8z" /></svg>'); }
.icon-actualizado { -webkit-mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M4 4v5h.582m15.356 2A8.001 8.001 0 004.582 9m0 0H9m11 11v-5h-.581m0 0a8.003 8.003 0 01-15.357-2m15.357 2H15" /></svg>'); }
.icon-location { -webkit-mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M17.657 16.657L13.414 20.9a1.998 1.998 0 01-2.827 0l-4.244-4.243a8 8 0 1111.314 0z" /><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M15 11a3 3 0 11-6 0 3 3 0 016 0z" /></svg>'); }
.icon-phone { -webkit-mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M3 5a2 2 0 012-2h3.28a1 1 0 01.948.684l1.498 4.493a1 1 0 01-.502 1.21l-2.257 1.13a11.042 11.042 0 005.516 5.516l1.13-2.257a1 1 0 011.21-.502l4.493 1.498a1 1 0 01.684.949V19a2 2 0 01-2 2h-1C9.716 21 3 14.284 3 6V5z" /></svg>'); }
.icon-email { -webkit-mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M3 8l7.89 5.26a2 2 0 002.22 0L21 8M5 19h14a2 2 0 002-2V7a2 2 0 00-2-2H5a2 2 0 00-2 2v10a2 2 0 002 2z" /></svg>'); }

/* ===== Responsive Styles ===== */
@media (max-width: 1200px) {
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .hero-content h1 {
        font-size: 3.5rem;
    }
    
    .services-grid, 
    .advantages-grid, 
    .testimonials-grid, 
    .footer-content {
        gap: var(--space-sm);
    }
}

@media (max-width: 992px) {
    .services-grid, 
    .advantages-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .testimonials-grid,
    .footer-content,
    .contact-info-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .about-content {
        flex-direction: column;
    }
    
    .about-image {
        width: 100%;
        max-width: 500px;
        margin-top: var(--space-md);
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-content .slogan {
        font-size: 1.25rem;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .main-nav .nav-menu {
        position: fixed;
        top: 60px;
        left: 0;
        right: 0;
        background-color: var(--white);
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        flex-direction: column;
        padding: var(--space-md) 0;
        transform: translateY(-150%);
        transition: transform 0.3s ease;
        z-index: 999;
    }
    
    .main-nav .nav-menu.active {
        transform: translateY(0);
    }
    
    .main-nav .nav-menu li {
        margin: var(--space-xs) 0;
    }
    
    .services-grid, 
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    section {
        padding: var(--space-lg) 0;
    }
    
    .advantages-grid,
    .contact-info-grid,
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .contact-form {
        padding: var(--space-md);
    }
} 