/* 
* FinAudit - Estilos CSS
* Sitio web de auditoría financiera
* Colores:
* - Primario: #014D4D (azul-verde oscuro)
* - Acento: #FFD95A (amarillo lazurno)
* - Fondo: #F7F4F0 (blanco cremoso)
* - Fondo secundario: #D9F2EE (menta claro)
* - Texto: #2B2B2B (grafito)
* - Botones: gradiente #0F2027 → #203A43 → #2C5364
*/

/* Reset y Estilos Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #2B2B2B;
    background-color: #F7F4F0;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: #014D4D;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #FFD95A;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Tipografía */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: #014D4D;
}

h1 {
    font-size: 3rem;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 1.8rem;
}

p {
    margin-bottom: 1.5rem;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: #FFD95A;
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    margin-top: -2rem;
    margin-bottom: 2rem;
    color: #666;
}

/* Botones */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

.btn-primary {
    background: linear-gradient(to right, #0F2027, #203A43, #2C5364);
    color: white;
    box-shadow: 0 4px 15px rgba(44, 83, 100, 0.3);
}

.btn-primary:hover {
    box-shadow: 0 7px 20px rgba(44, 83, 100, 0.5);
    transform: translateY(-2px);
    color: white;
}

.btn-secondary {
    background-color: transparent;
    border: 2px solid #014D4D;
    color: #014D4D;
}

.btn-secondary:hover {
    background-color: #014D4D;
    color: white;
}

.btn-nav {
    padding: 8px 20px;
    background-color: #FFD95A;
    color: #014D4D;
}

.btn-nav:hover {
    background-color: #014D4D;
    color: white;
}

.btn-cookie {
    background-color: #FFD95A;
    color: #014D4D;
    padding: 8px 20px;
    font-size: 0.9rem;
}

/* Header y Navegación */
.site-header {
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    font-size: 1.8rem;
    font-weight: 700;
    color: #014D4D;
}

.nav-list {
    display: flex;
    list-style: none;
}

.nav-list li:not(:last-child) {
    margin-right: 30px;
}

.nav-list a {
    font-weight: 600;
    position: relative;
}

.nav-list a:not(.btn)::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: #FFD95A;
    transition: width 0.3s ease;
}

.nav-list a:not(.btn):hover::after {
    width: 100%;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 30px;
    height: 3px;
    background-color: #014D4D;
    margin: 3px 0;
    transition: all 0.3s ease;
}

/* Cookie Popup */
.cookie-popup {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    max-width: 400px;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    padding: 20px;
    border-radius: 10px;
    z-index: 9999;
}

.cookie-content {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.cookie-content p {
    margin-bottom: 0;
    font-size: 0.9rem;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, rgba(1, 77, 77, 0.85), rgba(3, 51, 51, 0.85)), url(../img/zBcx1J.jpg);
    background-size: cover;
    background-position: center;
    color: white;
    padding: 150px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(255, 217, 90, 0.15) 0%, transparent 70%);
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    color: white;
}

.hero p {
    font-size: 1.5rem;
    margin-bottom: 2.5rem;
    color: rgba(255, 255, 255, 0.9);
}

/* About Section */
.about {
    padding: 100px 0;
    background-color: white;
}

.about-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-text {
    flex: 1;
}

.about-image {
    flex: 1;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Services Section */
.services {
    padding: 100px 0;
    background: linear-gradient(to bottom, rgba(217, 242, 238, 0.9), rgba(217, 242, 238, 0.9)), url(../img/zNUUR1.jpg);
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.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 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.service-card h3 {
    margin-bottom: 15px;
    color: #014D4D;
}

.price {
    font-size: 1.5rem;
    font-weight: 700;
    color: #014D4D;
    margin: 20px 0;
}

/* Why Choose Us */
.why-us {
    padding: 100px 0;
    background-color: white;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.benefit-card {
    text-align: center;
    padding: 20px;
    transition: transform 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-10px);
}

.benefit-icon {
    margin-bottom: 20px;
}

.icon-circle {
    width: 80px;
    height: 80px;
    background-color: #FFD95A;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    font-size: 2rem;
    color: #014D4D;
}

/* Partners Section */
.partners {
    padding: 100px 0;
    background-color: #D9F2EE;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.partner {
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    font-weight: 600;
    color: #014D4D;
}

/* FAQ Section */
.faq {
    padding: 100px 0;
    background-color: white;
}

.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 20px;
    border: 1px solid #eee;
    border-radius: 10px;
    overflow: hidden;
}

.faq-question {
    padding: 20px;
    background-color: #f9f9f9;
    cursor: pointer;
    position: relative;
}

.faq-question h3 {
    margin: 0;
    font-size: 1.2rem;
}

.faq-answer {
    padding: 0 20px 20px;
}

.faq-answer p {
    margin-bottom: 0;
}

/* Contact Form Section */
.contact-form {
    padding: 100px 0;
    background-color: #D9F2EE;
}

form {
    max-width: 600px;
    margin: 0 auto;
    background-color: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 25px;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #014D4D;
}

input, select, textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    background-color: #f9f9f9;
}

input:focus, select:focus, textarea:focus {
    border-color: #014D4D;
    outline: none;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
}

.checkbox-group input {
    width: auto;
    margin-right: 10px;
    margin-top: 5px;
}

.checkbox-group label {
    font-weight: 400;
    font-size: 0.9rem;
}

/* Form errors styling */
.form-errors {
    background-color: #ffebee;
    border-left: 4px solid #f44336;
    padding: 12px 20px;
    margin-bottom: 25px;
    border-radius: 4px;
}

.error-message {
    color: #d32f2f;
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.error-message:last-child {
    margin-bottom: 0;
}

textarea {
    resize: vertical;
    min-height: 100px;
}

/* Contact Info Section */
.contact-info {
    padding: 100px 0;
    background-color: white;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 50px;
}

.contact-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.contact-item h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: #014D4D;
}

.map-container {
    border-radius: 10px;
    overflow: hidden;
    height: 100%;
    min-height: 300px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.map-placeholder {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f5f5f5;
}

.map-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Footer */
.site-footer {
    background-color: #014D4D;
    color: white;
    padding: 70px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 50px;
    margin-bottom: 50px;
}

.footer-logo a {
    font-size: 1.8rem;
    font-weight: 700;
    color: white;
}

.footer-description {
    margin-top: 20px;
    color: rgba(255, 255, 255, 0.7);
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.footer-column h3 {
    color: #FFD95A;
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.footer-column ul {
    list-style: none;
}

.footer-column li {
    margin-bottom: 10px;
}

.footer-column a {
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.3s ease;
}

.footer-column a:hover {
    color: #FFD95A;
}

.footer-contact h3 {
    color: #FFD95A;
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.footer-contact address {
    font-style: normal;
    color: rgba(255, 255, 255, 0.7);
}

.footer-contact p {
    margin-bottom: 10px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

/* Responsividad */
@media (max-width: 992px) {
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .hero {
        padding: 100px 0;
    }
    
    .hero h1 {
        font-size: 3rem;
    }
    
    .about-content {
        flex-direction: column;
    }
    
    .about-image {
        order: -1;
        margin-bottom: 30px;
    }
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }
    
    .main-nav {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background-color: white;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        padding: 20px;
        transform: translateY(-150%);
        transition: transform 0.3s ease;
        z-index: 999;
    }
    
    .main-nav.active {
        transform: translateY(0);
    }
    
    .nav-list {
        flex-direction: column;
    }
    
    .nav-list li:not(:last-child) {
        margin-right: 0;
        margin-bottom: 15px;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1.2rem;
    }
    
    .services-grid,
    .benefits-grid,
    .partners-grid,
    .contact-grid,
    .contact-details,
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .about, .services, .why-us, .partners, .faq, .contact-form, .contact-info {
        padding: 70px 0;
    }
    
    form {
        padding: 30px 20px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero {
        padding: 80px 0;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .cookie-popup {
        left: 10px;
        right: 10px;
        bottom: 10px;
        padding: 15px;
    }
}

/* Animaciones */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

.pulse {
    animation: pulse 2s infinite;
} 