/* 
 * Стили сайта Auditoría Financiera
 * Цветовая палитра:
 * - Основа: Неоново-бирюзовый (#00F7D4), Мятно-зеленый (#0BD1A0)
 * - Контраст: Темно-графитовый (#1E1E1E) 
 * - Акценты: Солнечный коралл (#FF6B6B), Желто-золотой (#FBC531)
 * - Фоны: Градиенты из синего и мятного
 */

/* === Сброс стилей === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* === Основные стили === */
:root {
    --color-turquoise: #00F7D4;
    --color-mint: #0BD1A0;
    --color-dark: #1E1E1E;
    --color-coral: #FF6B6B;
    --color-yellow: #FBC531;
    --color-light: #F5F5F5;
    --color-gray: #ADADAD;
    --font-primary: 'Montserrat', 'Arial', sans-serif;
    --font-secondary: 'Roboto', 'Helvetica', sans-serif;
    --gradient-primary: linear-gradient(135deg, var(--color-turquoise), var(--color-mint));
    --gradient-dark: linear-gradient(135deg, var(--color-dark), #383838);
    --shadow-sm: 0 2px 10px rgba(0,0,0,0.1);
    --shadow-md: 0 5px 20px rgba(0,0,0,0.15);
    --shadow-lg: 0 10px 30px rgba(0,0,0,0.2);
    --border-radius: 8px;
}

body {
    font-family: var(--font-primary);
    line-height: 1.6;
    color: var(--color-dark);
    background-color: #fff;
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3, h4, h5, h6 {
    margin-bottom: 0.5em;
    line-height: 1.3;
    font-weight: 700;
}

h1 {
    font-size: 2.8rem;
    margin-bottom: 0.7em;
}

h2 {
    font-size: 2.2rem;
    position: relative;
    margin-bottom: 1.5rem;
}

h2:after {
    content: "";
    position: absolute;
    bottom: -15px;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1.2rem;
}

section {
    padding: 80px 0;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    color: var(--color-dark);
    text-decoration: none;
    transition: color 0.3s;
}

a:hover {
    color: var(--color-mint);
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title p {
    max-width: 700px;
    margin: 0 auto;
    font-size: 1.1rem;
    color: var(--color-gray);
}

/* === Buttons === */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-align: center;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--color-dark);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    color: var(--color-dark);
}

.btn-secondary {
    background: transparent;
    color: var(--color-dark);
    border: 2px solid var(--color-turquoise);
}

.btn-secondary:hover {
    background: rgba(0, 247, 212, 0.1);
    color: var(--color-dark);
}

/* === Header === */
.main-header {
    padding: 20px 0;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.header-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo a {
    display: flex;
    align-items: center;
    font-weight: 700;
    font-size: 1.4rem;
    color: var(--color-dark);
}

.logo svg {
    margin-right: 10px;
}

.main-nav {
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    list-style: none;
}

.nav-list li {
    margin: 0 15px;
}

.nav-list a {
    font-weight: 500;
    position: relative;
}

.nav-list a:after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width 0.3s;
}

.nav-list a:hover:after, .nav-list a.active:after {
    width: 100%;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    width: 30px;
    height: 30px;
    position: relative;
    cursor: pointer;
}

.mobile-menu-toggle span {
    position: absolute;
    width: 100%;
    height: 3px;
    background-color: var(--color-dark);
    left: 0;
    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;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg);
    top: 14px;
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg);
    bottom: 13px;
}

/* === Секция Hero === */
.hero {
    padding: 180px 0 100px;
    background: var(--gradient-primary);
    position: relative;
    overflow: hidden;
}

.hero:before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background-image: url('../img/TidyXD.jpg');
    background-size: cover;
    background-position: center;
    opacity: 0.8;
    z-index: 1;
    clip-path: polygon(15% 0, 100% 0, 100% 100%, 0% 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
}

.hero h1 {
    color: var(--color-dark);
    margin-bottom: 20px;
    font-weight: 800;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 35px;
    color: var(--color-dark);
}

/* === Секция О нас === */
.about {
    background-color: #fff;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-image {
    overflow: hidden;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
}

.about-content h2 {
    margin-bottom: 20px;
}

/* === Секция Услуги === */
.services {
    background-color: #f9f9f9;
    position: relative;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.service-card {
    background: #fff;
    border-radius: var(--border-radius);
    padding: 30px;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.service-icon {
    margin-bottom: 20px;
    height: 60px;
    width: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    border-radius: 50%;
}

.service-card h3 {
    margin-bottom: 15px;
    color: var(--color-dark);
}

.service-card p {
    color: #777;
    flex-grow: 1;
}

.service-card .btn {
    margin-top: 20px;
    align-self: start;
}

/* === Секция Преимущества === */
.benefits {
    background-color: #fff;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-top: 40px;
}

.benefit-card {
    text-align: center;
    padding: 30px 15px;
    transition: all 0.3s ease;
}

.benefit-icon {
    height: 80px;
    width: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    background: var(--gradient-primary);
    border-radius: 50%;
    box-shadow: var(--shadow-sm);
}

.benefit-card h3 {
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.benefit-card p {
    color: #777;
    font-size: 0.95rem;
}

/* === Секция Процесс === */
.process {
    background-color: #f9f9f9;
    position: relative;
    overflow: hidden;
}

.process:before {
    content: "";
    position: absolute;
    width: 600px;
    height: 600px;
    background: var(--gradient-primary);
    opacity: 0.05;
    border-radius: 50%;
    top: -300px;
    left: -300px;
}

.process-steps {
    display: flex;
    position: relative;
    margin-top: 50px;
}

.process-line {
    position: absolute;
    top: 35px;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--gradient-primary);
    z-index: 1;
}

.process-step {
    flex: 1;
    text-align: center;
    position: relative;
    z-index: 2;
    padding: 0 15px;
}

.step-number {
    width: 70px;
    height: 70px;
    background: #fff;
    border: 3px solid var(--color-turquoise);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--color-dark);
    position: relative;
    transition: all 0.3s ease;
}

.process-step h3 {
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.process-step p {
    color: #777;
    font-size: 0.95rem;
}

.process-step:hover .step-number {
    background: var(--gradient-primary);
}

/* === Секция Доверия === */
.trust {
    background-color: #fff;
}

.testimonials {
    margin-top: 50px;
    position: relative;
}

.testimonial-card {
    background: #fff;
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--shadow-sm);
    margin: 20px 10px;
    position: relative;
}

.testimonial-text {
    position: relative;
    padding-left: 25px;
    color: #555;
    font-style: italic;
    line-height: 1.8;
}

.testimonial-text:before {
    content: """;
    position: absolute;
    left: -10px;
    top: -20px;
    font-size: 60px;
    color: var(--color-turquoise);
    font-family: Georgia, serif;
    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;
    font-size: 1.1rem;
}

.author-info p {
    margin-bottom: 0;
    color: #777;
    font-size: 0.9rem;
}

.certificates {
    margin-top: 50px;
    text-align: center;
}

.certificates h3 {
    margin-bottom: 30px;
}

.certificates-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.certificate {
    background: #f5f5f5;
    padding: 20px;
    border-radius: var(--border-radius);
    width: 150px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* === Секция Контакт === */
.contact {
    background: var(--gradient-primary);
    position: relative;
    overflow: hidden;
}

.contact:after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 40%;
    height: 100%;
    background-color: #fff;
    clip-path: polygon(30% 0, 100% 0, 100% 100%, 0% 100%);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    position: relative;
    z-index: 2;
}

.contact-form {
    background: #fff;
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
}

.form-title {
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #e1e1e1;
    border-radius: var(--border-radius);
    font-family: var(--font-primary);
    font-size: 1rem;
    transition: border 0.3s;
}

.form-control:focus {
    outline: none;
    border-color: var(--color-mint);
}

.form-select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #e1e1e1;
    border-radius: var(--border-radius);
    font-family: var(--font-primary);
    font-size: 1rem;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23333' viewBox='0 0 12 12'%3E%3Cpath d='M6 9L1 4h10'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
}

.checkbox-group {
    margin-top: 15px;
    margin-bottom: 25px;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    margin-bottom: 10px;
    font-size: 0.95rem;
}

.checkbox-input {
    margin-right: 10px;
    margin-top: 4px;
}

.contact-info {
    padding: 40px 0;
}

.contact-info h2 {
    color: var(--color-dark);
    margin-bottom: 30px;
}

.contact-info p {
    margin-bottom: 30px;
    color: var(--color-dark);
    max-width: 400px;
}

.contact-method {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
}

.contact-icon {
    width: 40px;
    height: 40px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    box-shadow: var(--shadow-sm);
}

.contact-text h4 {
    margin-bottom: 5px;
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--color-dark);
}

.contact-text p, .contact-text a {
    color: var(--color-dark);
}

/* === Footer === */
.main-footer {
    background-color: var(--color-dark);
    color: #fff;
    padding: 70px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 30px;
    margin-bottom: 50px;
}

.footer-logo {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.footer-logo svg {
    margin-right: 10px;
}

.company-description {
    color: #a1a1a1;
    margin-bottom: 20px;
}

.footer-contact, .footer-links, .footer-legal {
    margin-bottom: 30px;
}

.footer-contact h4, .footer-links h4, .footer-legal h4 {
    color: #fff;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.footer-contact h4:after, .footer-links h4:after, .footer-legal h4:after {
    content: "";
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--gradient-primary);
}

.footer-contact ul, .footer-links ul, .footer-legal ul {
    list-style: none;
}

.footer-contact ul li, .footer-links ul li, .footer-legal ul li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.footer-contact ul li i, .footer-links ul li i, .footer-legal ul li i {
    color: var(--color-turquoise);
    margin-right: 10px;
    font-size: 16px;
}

.footer-links a, .footer-legal a, .footer-contact a {
    color: #a1a1a1;
    transition: color 0.3s;
}

.footer-links a:hover, .footer-legal a:hover, .footer-contact a:hover {
    color: var(--color-turquoise);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #444;
}

.footer-bottom p {
    color: #777;
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* === Cookie Banner === */
.cookie-banner {
    display: none;
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 1000;
    background: #fff;
    width: 350px;
    padding: 20px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.cookie-content h3 {
    color: var(--color-dark);
    margin-bottom: 10px;
}

.cookie-content p {
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.cookie-buttons {
    display: flex;
    justify-content: space-between;
}

/* === Responsive Design === */
@media (max-width: 1200px) {
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .hero {
        padding: 160px 0 80px;
    }
    
    .hero:before {
        width: 45%;
    }
}

@media (max-width: 992px) {
    h1 {
        font-size: 2.2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    section {
        padding: 60px 0;
    }
    
    .hero {
        padding: 140px 0 60px;
    }
    
    .hero:before {
        width: 40%;
    }
    
    .about-grid, .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .about-image {
        order: -1;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact:after {
        display: none;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.6rem;
    }
    
    section {
        padding: 50px 0;
    }
    
    .hero {
        padding: 120px 0 50px;
    }
    
    .hero:before {
        display: none;
    }
    
    .hero-content {
        max-width: 100%;
        text-align: center;
    }
    
    .mobile-menu-toggle {
        display: block;
        z-index: 1001;
    }
    
    .main-nav .nav-list {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background: #fff;
        flex-direction: column;
        padding: 80px 30px 30px;
        transition: right 0.3s ease;
        box-shadow: -5px 0 15px rgba(0,0,0,0.1);
        z-index: 1000;
    }
    
    .main-nav .nav-list.show {
        right: 0;
    }
    
    .nav-list li {
        margin: 15px 0;
    }
    
    .header-cta {
        display: none;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .process-steps {
        flex-direction: column;
    }
    
    .process-line {
        display: none;
    }
    
    .process-step {
        margin-bottom: 30px;
    }
    
    .step-number {
        width: 60px;
        height: 60px;
        font-size: 1.3rem;
    }
    
    .cookie-banner {
        width: calc(100% - 40px);
        left: 20px;
        right: 20px;
    }
}

@media (max-width: 576px) {
    h1 {
        font-size: 1.8rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-form {
        padding: 25px 20px;
    }
    
    .testimonial-card {
        padding: 20px;
    }
}

/* === Icon Fonts === */
.icon-location:before {
    content: "📍";
    margin-right: 8px;
}

.icon-phone:before {
    content: "📞";
    margin-right: 8px;
}

.icon-email:before {
    content: "✉️";
    margin-right: 8px;
} 