/* 
 * Main Styles for Auditoría Financiera Website
 * Color Palette:
 * - Primary: Deep Aquamarine #00A6A6
 * - Accent: Coral #FF6B6B
 * - Secondary: Light Jade #B2F7EF
 * - Background: Soft Ivory #FFF8F0
 * - Text: Coal Gray #2E2E2E
 */

/* === Reset and Base Styles === */
:root {
    --color-primary: #00A6A6;
    --color-accent: #FF6B6B;
    --color-secondary: #B2F7EF;
    --color-background: #FFF8F0;
    --color-text: #2E2E2E;
    --color-text-light: #5F5F5F;
    --color-white: #FFFFFF;
    --color-border: #DDDDDD;
    --font-main: 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    --font-headings: 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.1), 0 1px 3px rgba(0,0,0,0.08);
    --shadow-lg: 0 10px 20px rgba(0,0,0,0.1), 0 3px 6px rgba(0,0,0,0.05);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

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-family: var(--font-headings);
    margin-bottom: 1rem;
    line-height: 1.3;
    font-weight: 600;
}

h1 {
    font-size: 2.75rem;
    margin-bottom: 1.5rem;
}

h2 {
    font-size: 2.25rem;
    margin-bottom: 2rem;
    position: relative;
}

h2:after {
    content: '';
    position: absolute;
    bottom: -0.75rem;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: var(--color-accent);
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
}

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--color-accent);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.img-fluid {
    max-width: 100%;
    object-fit: cover;
}

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

section {
    padding: 5rem 0;
}

/* === Buttons === */
.btn-primary, .btn-secondary {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--color-primary);
    color: var(--color-white);
}

.btn-primary:hover {
    background-color: transparent;
    border-color: var(--color-primary);
    color: var(--color-primary);
}

.btn-secondary {
    background-color: var(--color-accent);
    color: var(--color-white);
}

.btn-secondary:hover {
    background-color: transparent;
    border-color: var(--color-accent);
    color: var(--color-accent);
}

/* === Header === */
header {
    background-color: var(--color-white);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow-sm);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    display: flex;
    align-items: center;
}

.logo a {
    display: block;
}

.main-nav ul {
    display: flex;
    gap: 1.5rem;
}

.main-nav a {
    color: var(--color-text);
    font-weight: 500;
    padding: 0.5rem 0;
    position: relative;
}

.main-nav a:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-primary);
    transition: width 0.3s;
}

.main-nav a:hover {
    color: var(--color-primary);
}

.main-nav a:hover:after {
    width: 100%;
}

.nav-cta {
    color: var(--color-accent) !important;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
    padding: 5px;
}

.menu-toggle span {
    display: block;
    width: 30px;
    height: 3px;
    background-color: var(--color-text);
    transition: var(--transition);
}

/* === Hero Section === */
.hero {
    background-color: var(--color-white);
    padding: 6rem 0;
}

.hero .container {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.hero-content {
    flex: 1;
}

.hero-content h1 {
    color: var(--color-primary);
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: var(--color-text-light);
}

.hero-image {
    flex: 1;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

/* === About Section === */
.about-content {
    display: flex;
    gap: 3rem;
    align-items: center;
}

.about-text {
    flex: 1;
}

.about-image {
    flex: 1;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

/* === Services Section === */
.services {
    background-color: var(--color-white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.service-card {
    background-color: var(--color-background);
    border-radius: 8px;
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-md);
}

.service-card h3 {
    color: var(--color-primary);
}

.price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-accent);
    margin: 1rem 0;
}

/* === Approach Section === */
.approach-content {
    display: flex;
    gap: 3rem;
    align-items: center;
}

.approach-text {
    flex: 1;
}

.approach-text ul {
    margin: 1.5rem 0;
}

.approach-text li {
    margin-bottom: 0.75rem;
    position: relative;
    padding-left: 1.5rem;
}

.approach-text li:before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--color-accent);
}

.approach-image {
    flex: 1;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

/* === Process Section === */
.process {
    background-color: var(--color-white);
}

.process-timeline {
    position: relative;
    padding: 2rem 0;
}

.process-timeline:before {
    content: '';
    position: absolute;
    top: 0;
    left: calc(40px / 2);
    height: 100%;
    width: 2px;
    background-color: var(--color-secondary);
}

.process-step {
    display: flex;
    margin-bottom: 2.5rem;
    position: relative;
}

.step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--color-primary);
    color: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    z-index: 5;
}

.step-content {
    padding-left: 1.5rem;
    flex: 1;
}

.step-content h3 {
    margin-bottom: 0.5rem;
    color: var(--color-primary);
}

/* === Testimonials Section === */
.testimonials {
    background-color: var(--color-secondary);
    overflow: hidden;
}

.testimonial-slider {
    margin-top: 2rem;
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}

.testimonial-card {
    background-color: var(--color-white);
    border-radius: 8px;
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    flex: 1 0 300px;
    transition: var(--transition);
}

.testimonial-card:hover {
    box-shadow: var(--shadow-md);
}

.testimonial-text {
    font-style: italic;
    position: relative;
    padding: 0 1.5rem;
}

.testimonial-text:before,
.testimonial-text:after {
    content: '"';
    font-size: 2rem;
    color: var(--color-primary);
    position: absolute;
    opacity: 0.4;
}

.testimonial-text:before {
    left: 0;
    top: -10px;
}

.testimonial-text:after {
    right: 0;
    bottom: -10px;
}

.testimonial-author {
    margin-top: 1rem;
    text-align: right;
    font-weight: 500;
    color: var(--color-text-light);
}

/* === Section Headers === */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-subtitle {
    color: var(--color-text-light);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* === Contact Section === */
.contact {
    background-color: #f8f9fa;
    position: relative;
    padding-bottom: 6rem;
}

.contact:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 220px;
    background: linear-gradient(135deg, rgba(0,166,166,0.1) 0%, rgba(178,247,239,0.4) 100%);
    z-index: 0;
}

.contact .container {
    position: relative;
    z-index: 1;
}

.contact .section-header {
    padding-top: 2.5rem;
    margin-bottom: 3.5rem;
}

.contact .section-header h2 {
    position: relative;
    display: inline-block;
    margin-bottom: 0.8rem;
}

.contact .section-header h2:after {
    bottom: -0.4rem;
    left: 50%;
    transform: translateX(-50%);
    width: 40%;
}

.contact-wrapper {
    max-width: 1100px;
    margin: 0 auto;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    overflow: hidden;
}

.contact-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: stretch;
}

.contact-info {
    flex: 1;
    padding: 3rem 2.5rem;
    background-color: var(--color-background);
    border-right: 1px solid rgba(0,0,0,0.05);
    min-width: 300px;
}

.contact-info h3 {
    margin-bottom: 2rem;
    color: var(--color-primary);
    font-size: 1.6rem;
    font-weight: 600;
    position: relative;
    padding-bottom: 0.75rem;
}

.contact-info h3:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background-color: var(--color-accent);
}

.contact-info-items {
    margin-bottom: 2rem;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
}

.icon-circle {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: rgba(0, 166, 166, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.contact-info-item:hover .icon-circle {
    background-color: var(--color-primary);
}

.contact-info-item:hover .icon-circle i {
    color: #fff;
}

.icon-circle i {
    color: var(--color-primary);
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.info-text {
    flex: 1;
}

.info-text p {
    margin-bottom: 0.25rem;
}

.text-muted {
    color: var(--color-text-light);
    font-size: 0.9rem;
}

.contact-form {
    flex: 1.2;
    padding: 3rem 2.5rem;
    min-width: 350px;
    position: relative;
    z-index: 2;
}

.form-card {
    width: 100%;
}

.form-header {
    margin-bottom: 2rem;
    text-align: left;
}

.form-header h3 {
    color: var(--color-primary);
    font-size: 1.6rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
    position: relative;
    padding-bottom: 0.75rem;
}

.form-header h3:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background-color: var(--color-accent);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--color-text);
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 0.85rem 1rem;
    border: 1px solid var(--color-border);
    border-radius: 5px;
    font-family: var(--font-main);
    font-size: 1rem;
    transition: var(--transition);
    background-color: #f9f9f9;
}

.form-group input::placeholder {
    color: #BBB;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(0, 166, 166, 0.15);
    background-color: #fff;
}

.btn-block {
    width: 100%;
    padding: 0.95rem;
    font-size: 1.1rem;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 166, 166, 0.2);
}

.checkbox {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.checkbox input {
    width: 18px;
    height: 18px;
    margin-right: 0.75rem;
    margin-top: 3px;
}

.checkbox label {
    margin-bottom: 0;
    font-size: 0.9rem;
    line-height: 1.5;
}

/* === Thanks Page === */
.thanks-page {
    min-height: calc(100vh - 300px);
    display: flex;
    align-items: center;
    background-color: var(--color-white);
    padding: 4rem 0;
    text-align: center;
}

.text-center {
    text-align: center;
}

.thanks-content {
    max-width: 650px;
    margin: 0 auto;
    padding: 2rem;
    border-radius: 10px;
    background-color: var(--color-background);
    box-shadow: var(--shadow-sm);
}

.thanks-icon {
    margin: 0 auto 2rem;
    width: 100px;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.thanks-content h1 {
    color: var(--color-primary);
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.lead {
    font-size: 1.2rem;
    line-height: 1.5;
    margin-bottom: 2rem;
}

.action-buttons {
    margin: 2rem 0;
}

.contact-info-card {
    margin-top: 2rem;
    padding: 1.5rem;
    border-radius: 8px;
    background-color: var(--color-white);
    box-shadow: var(--shadow-sm);
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.contact-methods {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
    margin-top: 1rem;
}

.contact-method {
    display: flex;
    align-items: center;
}

.contact-method i {
    color: var(--color-primary);
    margin-right: 0.5rem;
    font-size: 1.1rem;
}

/* === Cookie Banner === */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--color-text);
    color: var(--color-white);
    padding: 1.5rem;
    z-index: 1000;
    display: none;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.cookie-banner.visible {
    display: block;
    opacity: 1;
}

.cookie-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    gap: 2rem;
}

.cookie-content p {
    margin-bottom: 0;
    font-size: 0.95rem;
}

.cookie-content a {
    color: var(--color-secondary);
    text-decoration: underline;
}

/* === Responsive Design === */
@media (max-width: 991px) {
    h1 {
        font-size: 2.25rem;
    }
    h2 {
        font-size: 1.75rem;
    }
    .hero .container {
        flex-direction: column;
    }
    .about-content,
    .approach-content,
    .contact-content {
        flex-direction: column;
    }
    .contact-content {
        gap: 2rem;
        align-items: center;
    }
    .hero-content,
    .hero-image,
    .about-text,
    .about-image,
    .approach-text,
    .approach-image,
    .contact-info,
    .contact-form {
        flex: 1 0 100%;
    }
    .hero-image,
    .about-image,
    .approach-image {
        max-width: 600px;
        margin: 0 auto;
    }
    .contact-info {
        border-right: none;
        border-bottom: 1px solid rgba(0,0,0,0.05);
        padding: 2.5rem;
    }
    .contact-form {
        max-width: 450px;
        margin: 0 auto;
        width: 100%;
    }
    .cookie-content {
        flex-direction: column;
        gap: 1rem;
    }
    .thanks-content {
        padding: 1.5rem;
    }
    .contact-methods {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }
}

@media (max-width: 768px) {
    section {
        padding: 3rem 0;
    }
    .menu-toggle {
        display: flex;
    }
    .main-nav ul {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--color-white);
        padding: 1.5rem;
        box-shadow: 0 10px 10px rgba(0,0,0,0.1);
    }
    .main-nav.active ul {
        display: flex;
    }
    .contact-info ul {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }
    
    .footer-content.compact {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 1rem;
    }
    
    .footer-links {
        flex-direction: column;
        width: 100%;
    }
    
    .footer-section.legal-links ul {
        justify-content: center;
    }
}

@media (max-width: 576px) {
    h1 {
        font-size: 1.85rem;
    }
    h2 {
        font-size: 1.5rem;
    }
    .hero-content p {
        font-size: 1rem;
    }
    .footer-content {
        flex-direction: column;
        gap: 2rem;
    }
    .footer-links {
        flex-direction: column;
        gap: 2rem;
    }
    .footer-section {
        flex: 1 0 100%;
    }
    .contact-form {
        padding: 1.5rem;
        min-width: 250px;
    }
}

/* === Footer === */
footer {
    background-color: var(--color-text);
    color: var(--color-white);
    padding: 2rem 0 1rem;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    margin-bottom: 2rem;
}

/* Компактный футер */
.footer-content.compact {
    gap: 1.5rem;
    align-items: center;
    margin-bottom: 1rem;
}

.footer-logo {
    flex: 1;
}

.footer-links {
    flex: 3;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: space-between;
}

.footer-section {
    flex: 1;
}

.footer-contact {
    font-size: 0.9rem;
}

.footer-contact li {
    margin-bottom: 0.5rem;
    color: rgba(255, 255, 255, 0.7);
    display: flex;
    align-items: center;
}

.footer-section.legal-links ul {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.85rem;
}

.footer-section.legal-links li {
    margin: 0;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
    color: rgba(255, 255, 255, 0.7);
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.7);
}

.footer-section ul li a:hover {
    color: var(--color-accent);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1rem;
    text-align: center;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
} 