/* 
* Domain - Financial Audit Services
* Main Stylesheet
* https://domain.com
*/

/* ============================================
   Base & Typography 
============================================ */
:root {
    /* Color Variables */
    --color-bg: #121A27;
    --color-bg-alt: #0D1B2A;
    --color-primary: #F57F17;
    --color-secondary: #00ACC1;
    --color-text: #FFFFFF;
    --color-text-muted: #B0BEC5;
    --color-border: rgba(255, 255, 255, 0.1);
    --gradient-dark: linear-gradient(135deg, var(--color-bg) 0%, var(--color-bg-alt) 100%);
    --shadow-neon: 0 0 15px rgba(245, 127, 23, 0.5);
    --shadow-neon-blue: 0 0 15px rgba(0, 172, 193, 0.5);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 62.5%; /* 10px = 1rem */
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 1.6rem;
    line-height: 1.5;
    color: var(--color-text);
    background-color: var(--color-bg);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    margin-bottom: 2rem;
    line-height: 1.2;
}

h1 {
    font-size: 4.5rem;
}

h2 {
    font-size: 3.6rem;
    margin-bottom: 3rem;
}

h3 {
    font-size: 2.4rem;
    margin-bottom: 1.5rem;
}

p {
    margin-bottom: 2rem;
}

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color 0.3s ease, transform 0.3s ease;
}

a:hover {
    color: var(--color-secondary);
}

ul, ol {
    margin-bottom: 2rem;
    margin-left: 2rem;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ============================================
   Layout & Containers 
============================================ */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

section {
    padding: 8rem 0;
    position: relative;
}

section:nth-child(even) {
    background: var(--gradient-dark);
}

.section-header {
    text-align: center;
    margin-bottom: 5rem;
}

.accent-line {
    width: 6rem;
    height: 0.4rem;
    background: var(--color-primary);
    margin: 2rem auto;
    position: relative;
    border-radius: 2px;
}

.accent-line::before {
    content: '';
    position: absolute;
    width: 3rem;
    height: 0.4rem;
    background: var(--color-secondary);
    left: -1.5rem;
    border-radius: 2px;
    animation: slide 2s infinite alternate ease-in-out;
}

@keyframes slide {
    0% { left: -1.5rem; }
    100% { left: 4.5rem; }
}

/* Grid Layouts */
.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

/* ============================================
   Components 
============================================ */
/* Buttons */
.btn-primary {
    display: inline-block;
    padding: 1.2rem 2.4rem;
    background-color: var(--color-primary);
    color: var(--color-text);
    border-radius: 4px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: center;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--color-secondary);
    z-index: -1;
    transition: transform 0.5s;
    transform: scaleX(0);
    transform-origin: right;
}

.btn-primary:hover {
    color: var(--color-text);
    box-shadow: var(--shadow-neon-blue);
}

.btn-primary:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

/* Cards */
.card {
    background: rgba(13, 27, 42, 0.7);
    border-radius: 8px;
    padding: 3rem;
    margin-bottom: 2rem;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}

/* Icons */
[class^="icon-"] {
    display: inline-block;
    width: 5rem;
    height: 5rem;
    background-color: var(--color-primary);
    border-radius: 50%;
    color: var(--color-text);
    text-align: center;
    line-height: 5rem;
    font-size: 2.4rem;
    margin-bottom: 1.5rem;
}

/* Form Elements */
.form-group {
    margin-bottom: 2rem;
}

label {
    display: block;
    margin-bottom: 0.8rem;
    font-weight: 500;
}

input[type="text"],
input[type="tel"],
input[type="email"],
select,
textarea {
    width: 100%;
    padding: 1.2rem;
    border: 1px solid var(--color-border);
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    color: var(--color-text);
    font-size: 1.6rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

/* Улучшенный стиль для select */
select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='6' fill='%23F57F17'><path d='M0 0l6 6 6-6z'/></svg>");
    background-repeat: no-repeat;
    background-position: right 1.2rem center;
    padding-right: 3rem;
    cursor: pointer;
    background-color: rgba(255, 255, 255, 0.15);
    border: 1px solid var(--color-primary);
}

select option {
    background-color: var(--color-bg);
    color: var(--color-text);
}

input[type="text"]:focus,
input[type="tel"]:focus,
input[type="email"]:focus,
select:focus,
textarea:focus {
    border-color: var(--color-primary);
    outline: none;
    box-shadow: 0 0 0 3px rgba(245, 127, 23, 0.1);
}

.checkbox {
    display: flex;
    align-items: center;
}

.checkbox input {
    margin-right: 1rem;
}

.checkbox label {
    margin-bottom: 0;
    font-size: 1.4rem;
}

/* ============================================
   Header & Navigation 
============================================ */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 2rem 0;
    background: rgba(18, 26, 39, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    display: block;
}

.main-nav .nav-links {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.main-nav .nav-links li {
    margin-left: 2.5rem;
}

.main-nav .nav-links a {
    color: var(--color-text);
    font-weight: 500;
    padding: 0.5rem 0;
    position: relative;
}

.main-nav .nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--color-primary);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.main-nav .nav-links a:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.main-nav .nav-links .nav-cta {
    background: var(--color-primary);
    padding: 0.8rem 1.6rem;
    border-radius: 4px;
    color: var(--color-text);
}

.main-nav .nav-links .nav-cta:hover {
    background: var(--color-secondary);
    box-shadow: var(--shadow-neon-blue);
}

.main-nav .nav-links .nav-cta::after {
    display: none;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--color-text);
    cursor: pointer;
    padding: 0.5rem;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--color-text);
    margin: 5px 0;
    transition: all 0.3s ease;
}

/* ============================================
   Hero Section 
============================================ */
.hero {
    height: 100vh;
    min-height: 60rem;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 8rem;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../img/tWzcRj.jpg') no-repeat center center;
    background-size: cover;
    filter: brightness(0.3);
    z-index: -2;
}

.hero-content {
    max-width: 60rem;
    animation: fadeIn 1.5s ease-out;
    text-align: center;
    margin: 0 auto;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero-bg-animation {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, transparent 20%, var(--color-bg) 70%);
    z-index: -1;
}

.hero h1 {
    margin-bottom: 1.5rem;
    color: var(--color-primary);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.hero p {
    font-size: 2rem;
    margin-bottom: 3rem;
}

/* ============================================
   About Section 
============================================ */
.about-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-image {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transform: perspective(1000px) rotateY(-5deg);
    transition: all 0.5s ease;
}

.about-image:hover {
    transform: perspective(1000px) rotateY(0);
}

.about-text h3 {
    color: var(--color-primary);
}

/* ============================================
   Advantages Section 
============================================ */
.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
}

.advantage-card {
    background: rgba(13, 27, 42, 0.5);
    border-radius: 8px;
    padding: 3rem;
    text-align: center;
    transition: all 0.3s ease;
}

.advantage-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-neon);
}

.advantage-icon {
    margin-bottom: 1.5rem;
    color: var(--color-primary);
}

.advantage-card h3 {
    color: var(--color-primary);
}

/* ============================================
   Services Section 
============================================ */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}

.service-card {
    background: rgba(13, 27, 42, 0.5);
    border-radius: 8px;
    padding: 3rem;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.service-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: var(--color-primary);
    box-shadow: var(--shadow-neon);
}

.service-icon {
    margin-bottom: 1.5rem;
}

.service-card h3 {
    color: var(--color-primary);
}

.service-card ul {
    margin-top: 1.5rem;
    list-style-type: none;
    margin-left: 0;
}

.service-card ul li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 0.8rem;
}

.service-card ul li::before {
    content: '▹';
    position: absolute;
    left: 0;
    color: var(--color-primary);
}

/* ============================================
   Trust Section 
============================================ */
.trust-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-bottom: 5rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 4.8rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 1rem;
    line-height: 1;
}

.stat-label {
    font-size: 1.8rem;
    color: var(--color-text-muted);
}

.client-logos {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
    margin-top: 4rem;
}

.client-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 10rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.client-logo:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: scale(1.05);
}

.client-logo span {
    color: var(--color-text-muted);
    font-size: 1.8rem;
    font-weight: 500;
}

/* ============================================
   Process Section 
============================================ */
.process-timeline {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 2rem;
    position: relative;
    margin-top: 5rem;
}

.process-timeline::before {
    content: '';
    position: absolute;
    top: 25px;
    left: 10%;
    right: 10%;
    height: 2px;
    background: var(--color-primary);
    z-index: 0;
}

.process-step {
    position: relative;
    z-index: 1;
    text-align: center;
}

.step-number {
    width: 5rem;
    height: 5rem;
    border-radius: 50%;
    background: var(--color-primary);
    color: var(--color-text);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    font-size: 2.2rem;
    font-weight: 700;
    box-shadow: var(--shadow-neon);
    transition: all 0.3s ease;
}

.process-step:hover .step-number {
    transform: scale(1.1);
    background: var(--color-secondary);
    box-shadow: var(--shadow-neon-blue);
}

/* ============================================
   Testimonials Section 
============================================ */
.testimonials-slider {
    max-width: 900px;
    margin: 0 auto;
}

.testimonial-card {
    background: rgba(13, 27, 42, 0.5);
    border-radius: 8px;
    padding: 3rem;
    margin-bottom: 3rem;
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 1.5rem;
    left: 1.5rem;
    font-size: 8rem;
    color: rgba(245, 127, 23, 0.2);
    line-height: 1;
    font-family: Georgia, serif;
}

.testimonial-content {
    margin-bottom: 2rem;
    padding-left: 3rem;
}

.testimonial-content p {
    font-style: italic;
    color: var(--color-text-muted);
    font-size: 1.8rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.author-image {
    width: 6rem;
    height: 6rem;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 1.5rem;
}

.author-info h4 {
    margin-bottom: 0.5rem;
    color: var(--color-primary);
}

.author-info p {
    margin-bottom: 0;
    color: var(--color-text-muted);
    font-size: 1.4rem;
}

/* ============================================
   Contact Form Section 
============================================ */
.form-container {
    max-width: 60rem;
    margin: 0 auto;
    background: rgba(13, 27, 42, 0.7);
    border-radius: 8px;
    padding: 4rem;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--color-border);
    position: relative;
    overflow: hidden;
}

.form-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(to right, var(--color-primary), var(--color-secondary));
}

.error-message {
    background-color: rgba(220, 53, 69, 0.2);
    color: #ff6b6b;
    border-left: 4px solid #dc3545;
    padding: 1rem 1.5rem;
    margin-bottom: 2rem;
    border-radius: 4px;
    font-weight: 500;
}

/* ============================================
   Thank You Section 
============================================ */
.thankyou-section {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 75vh;
    text-align: center;
    margin-top: 10rem;
    width: 100%;
}

.thankyou-content {
    max-width: 60rem;
    padding: 5rem 3rem;
    background: rgba(13, 27, 42, 0.7);
    border-radius: 8px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--color-border);
    animation: fadeScale 0.6s ease-out;
    text-align: center;
    margin: 0 auto;
    width: 100%;
}

@keyframes fadeScale {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}

.success-icon {
    width: 8rem;
    height: 8rem;
    margin: 0 auto 3rem;
    display: flex;
    justify-content: center;
}

.success-icon svg {
    width: 100%;
    height: 100%;
}

.contact-info {
    margin-bottom: 3rem;
    padding: 1.5rem;
    background: rgba(245, 127, 23, 0.1);
    border-radius: 4px;
    border-left: 3px solid var(--color-primary);
}

/* ============================================
   Legal Pages 
============================================ */
.legal-section {
    padding: 12rem 0 8rem;
}

.legal-header {
    margin-bottom: 4rem;
    text-align: center;
}

.legal-content {
    background: rgba(13, 27, 42, 0.7);
    border-radius: 8px;
    padding: 4rem;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--color-border);
}

.last-updated {
    text-align: right;
    margin-bottom: 3rem;
    color: var(--color-text-muted);
    font-style: italic;
}

.section-item {
    margin-bottom: 4rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--color-border);
}

.section-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.section-item h2 {
    color: var(--color-primary);
    font-size: 2.4rem;
    margin-bottom: 2rem;
}

.section-item h3 {
    color: var(--color-secondary);
    font-size: 2rem;
    margin: 2.5rem 0 1.5rem;
}

/* ============================================
   Footer 
============================================ */
.site-footer {
    background: var(--gradient-dark);
    padding: 6rem 0 0;
    border-top: 1px solid var(--color-border);
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-info {
    max-width: 40rem;
}

.footer-logo {
    margin-bottom: 2rem;
}

.footer-description {
    color: var(--color-text-muted);
}

.footer-contact h3,
.footer-links h3 {
    color: var(--color-primary);
    margin-bottom: 2rem;
}

.footer-contact address {
    font-style: normal;
}

.footer-contact address p {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    color: var(--color-text-muted);
}

.footer-contact address i {
    margin-right: 1rem;
    color: var(--color-primary);
}

.footer-contact a {
    color: var(--color-text-muted);
}

.footer-contact a:hover {
    color: var(--color-primary);
}

.footer-links ul {
    list-style: none;
    margin-left: 0;
}

.footer-links li {
    margin-bottom: 1rem;
}

.footer-links a {
    color: var(--color-text-muted);
    transition: all 0.3s ease;
    display: block;
    padding: 0.5rem 0;
}

.footer-links a:hover {
    color: var(--color-primary);
    transform: translateX(5px);
}

.footer-bottom {
    border-top: 1px solid var(--color-border);
    padding: 2rem 0;
    text-align: center;
}

.copyright {
    color: var(--color-text-muted);
    font-size: 1.4rem;
}

/* ============================================
   Cookie Consent 
============================================ */
.cookie-popup {
    position: fixed;
    bottom: -100%;
    left: 0;
    width: 100%;
    background: rgba(13, 27, 42, 0.95);
    backdrop-filter: blur(10px);
    padding: 2rem;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.2);
    z-index: 9999;
    border-top: 3px solid var(--color-primary);
    transition: bottom 0.5s ease-in-out;
}

.cookie-popup.show {
    bottom: 0;
}

.cookie-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.cookie-content p {
    margin: 0 2rem 0 0;
    flex: 1;
    font-size: 1.4rem;
}

#accept-cookies {
    background: var(--color-primary);
    color: var(--color-text);
    border: none;
    padding: 1rem 2rem;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    text-transform: uppercase;
}

#accept-cookies:hover {
    background: var(--color-secondary);
    box-shadow: var(--shadow-neon-blue);
}

/* ============================================
   Media Queries 
============================================ */
@media screen and (max-width: 1024px) {
    html {
        font-size: 58%;
    }
    
    .process-timeline {
        grid-template-columns: repeat(3, 1fr);
        gap: 3rem 2rem;
    }
    
    .process-timeline::before {
        display: none;
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }
    
    .footer-info {
        grid-column: span 2;
    }
}

@media screen and (max-width: 768px) {
    html {
        font-size: 55%;
    }
    
    h1 {
        font-size: 3.8rem;
    }
    
    h2 {
        font-size: 3rem;
    }
    
    section {
        padding: 6rem 0;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .main-nav .nav-links {
        position: fixed;
        top: 8rem;
        left: 0;
        width: 100%;
        flex-direction: column;
        align-items: center;
        background: rgba(13, 27, 42, 0.95);
        backdrop-filter: blur(10px);
        padding: 2rem 0;
        clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
        transition: all 0.5s ease;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    }
    
    .main-nav.active .nav-links {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    }
    
    .main-nav .nav-links li {
        margin: 1.5rem 0;
    }
    
    .about-content,
    .grid-2 {
        grid-template-columns: 1fr;
    }
    
    .about-image {
        order: -1;
        max-width: 60rem;
        margin: 0 auto 3rem;
    }
    
    .trust-stats {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .client-logos {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 576px) {
    html {
        font-size: 50%;
    }
    
    .process-timeline {
        grid-template-columns: 1fr;
    }
    
    .form-container {
        padding: 3rem 2rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .footer-info {
        grid-column: span 1;
    }
}

/* Icon Font Classes */
.icon-certificate::before { content: "🏆"; }
.icon-experience::before { content: "⏱"; }
.icon-customized::before { content: "⚙️"; }
.icon-confidentiality::before { content: "🔒"; }
.icon-financial::before { content: "📊"; }
.icon-internal::before { content: "📈"; }
.icon-fiscal::before { content: "📝"; }
.icon-location::before { content: "📍"; }
.icon-phone::before { content: "📞"; }
.icon-email::before { content: "✉️"; } 