/* 
 * AuditExpert - Financial Audit Services
 * CSS Stylesheet
 */

/* ----- RESET & BASE STYLES ----- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --color-primary: #2E3A59;
    --color-accent: #CDE000;
    --color-bg: #FAFAFA;
    --color-text: #1A1A1A;
    --color-text-light: #AAAAAA;
    --color-white: #FFFFFF;
    --color-shadow: rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
    --border-radius: 4px;
}

html {
    font-size: 62.5%;
    scroll-behavior: smooth;
}

body {
    font-family: 'Arial', sans-serif;
    font-size: 1.6rem;
    line-height: 1.6;
    color: var(--color-text);
    background-color: var(--color-bg);
}

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--color-accent);
}

ul {
    list-style: none;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ----- TYPOGRAPHY ----- */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--color-primary);
}
section{
    padding: 10rem 0 !important;
}
.section-title {
    font-size: 3.2rem;
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
    padding-bottom: 1.5rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 6rem;
    height: 0.4rem;
    background-color: var(--color-accent);
    border-radius: var(--border-radius);
}

/* ----- BUTTONS ----- */
.button {
    display: inline-block;
    padding: 1.2rem 2.8rem;
    font-size: 1.6rem;
    font-weight: 600;
    text-align: center;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
    border: none;
    outline: none;
    text-transform: uppercase;
}

.button--primary {
    background-color: var(--color-accent);
    color: var(--color-primary);
}

.button--primary:hover {
    background-color: var(--color-primary);
    color: var(--color-white);
}

/* ----- HEADER ----- */
.header {
    background-color: var(--color-white);
    box-shadow: 0 2px 10px var(--color-shadow);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}

.header__content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 2rem 0;
}

.logo img {
    height: auto;
}

/* Navigation */
.nav-toggle {
    display: none;
}

.nav-toggle-label {
    display: none;
    cursor: pointer;
}

.nav-toggle-label span {
    display: block;
    width: 2.5rem;
    height: 0.3rem;
    background-color: var(--color-primary);
    margin: 0.5rem 0;
    transition: var(--transition);
}

.nav__list {
    display: flex;
    gap: 2.5rem;
}

.nav__link {
    font-weight: 600;
    font-size: 1.6rem;
    padding: 0.8rem 0;
    position: relative;
}

.nav__link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-accent);
    transition: var(--transition);
}

.nav__link:hover::after {
    width: 100%;
}

.header__phone {
    font-weight: 600;
    font-size: 1.6rem;
}

/* ----- MAIN CONTENT ----- */
main {
    margin-top: 8rem;
}

/* Hero Section */
.hero {
    padding: 8rem 0 6rem;
    background-color: var(--color-white);
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero__title {
    font-size: 4.2rem;
    margin-bottom: 2rem;
}

.hero__subtitle {
    font-size: 1.8rem;
    margin-bottom: 3rem;
    color: var(--color-text-light);
}

.hero__image img {
    border-radius: var(--border-radius);
    box-shadow: 0 10px 30px var(--color-shadow);
}

/* About Section */
.about {
    padding: 8rem 0;
    background-color: var(--color-bg);
}

.about__content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about__image img {
    border-radius: var(--border-radius);
    box-shadow: 0 10px 30px var(--color-shadow);
}

.about__text p {
    margin-bottom: 2rem;
}

.about__stats {
    display: flex;
    justify-content: space-between;
    margin-top: 4rem;
}

.stat {
    text-align: center;
}

.stat__number {
    display: block;
    font-size: 3.6rem;
    font-weight: 700;
    color: var(--color-primary);
}

.stat__text {
    font-size: 1.6rem;
    color: var(--color-text-light);
}

/* Services Section */
.services {
    padding: 8rem 0;
    background-color: var(--color-white);
}

.services__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
}

.service-card {
    background-color: var(--color-bg);
    border-radius: var(--border-radius);
    padding: 3rem;
    box-shadow: 0 5px 15px var(--color-shadow);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px var(--color-shadow);
}

.service-card__icon {
    font-size: 4rem;
    margin-bottom: 2rem;
}

.service-card__title {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
}

.service-card__description {
    margin-bottom: 2rem;
}

.service-card__features {
    padding-left: 2rem;
}

.service-card__features li {
    position: relative;
    margin-bottom: 0.8rem;
}

.service-card__features li::before {
    content: '✓';
    position: absolute;
    left: -2rem;
    color: var(--color-accent);
    font-weight: bold;
}

/* Advantages Section */
.advantages {
    padding: 8rem 0;
    background-color: var(--color-bg);
}

.advantages__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    margin-bottom: 5rem;
}

.advantage-card {
    background-color: var(--color-white);
    border-radius: var(--border-radius);
    padding: 3rem;
    box-shadow: 0 5px 15px var(--color-shadow);
    position: relative;
    overflow: hidden;
    transition: var(--transition);
}

.advantage-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px var(--color-shadow);
}

.advantage-card__number {
    position: absolute;
    top: 2rem;
    right: 2rem;
    font-size: 5rem;
    font-weight: 800;
    color: rgba(205, 224, 0, 0.2);
}

.advantage-card__title {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
}

.advantages__image img {
    width: 100%;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 30px var(--color-shadow);
}

/* Testimonials Section */
.testimonials {
    padding: 8rem 0;
    background-color: var(--color-white);
}

.testimonials__slider {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
}

.testimonial {
    flex: 1;
    min-width: 300px;
}

.testimonial__content {
    background-color: var(--color-bg);
    padding: 3rem;
    border-radius: var(--border-radius);
    box-shadow: 0 5px 15px var(--color-shadow);
    position: relative;
}

.testimonial__quote {
    font-style: italic;
    margin-bottom: 2rem;
}

.testimonial__quote::before {
    content: '"';
    font-size: 4rem;
    position: absolute;
    top: 1rem;
    left: 1.5rem;
    color: rgba(46, 58, 89, 0.1);
}

.testimonial__name {
    font-weight: 600;
    font-size: 1.8rem;
}

.testimonial__position {
    color: var(--color-text-light);
}

/* Contact Section */
.contact {
    padding: 8rem 0;
    background-color: var(--color-bg);
}

.contact__wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
}

.contact__text {
    margin-bottom: 3rem;
}

.contact__details {
    margin-bottom: 3rem;
}

.contact__item {
    display: flex;
    margin-bottom: 2rem;
}

.contact__icon {
    font-size: 2.4rem;
    margin-right: 1.5rem;
    color: var(--color-primary);
}

.contact__detail h4 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.contact__map img {
    width: 100%;
    border-radius: var(--border-radius);
    box-shadow: 0 5px 15px var(--color-shadow);
}

/* Form */
.contact__form {
    background-color: var(--color-white);
    padding: 4rem;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 30px var(--color-shadow);
}

.form__group {
    margin-bottom: 2rem;
}

.form__label {
    display: block;
    margin-bottom: 0.8rem;
    font-weight: 600;
}

.form__input,
.form__select {
    width: 100%;
    padding: 1.2rem;
    border: 1px solid #ddd;
    border-radius: var(--border-radius);
    font-size: 1.6rem;
    transition: var(--transition);
}

.form__input:focus,
.form__select:focus {
    border-color: var(--color-primary);
    outline: none;
}

.form__group--checkbox {
    display: flex;
    align-items: center;
}

.form__checkbox {
    margin-right: 1rem;
    width: 1.8rem;
    height: 1.8rem;
}

.form__checkbox-label {
    font-size: 1.4rem;
}

.form__checkbox-label a {
    text-decoration: underline;
}

.form__submit {
    margin-top: 3rem;
}

.form__required {
    font-size: 1.4rem;
    color: var(--color-text-light);
    margin-top: 1.5rem;
}

/* ----- FOOTER ----- */
.footer {
    background-color: var(--color-primary);
    color: var(--color-white);
    padding: 6rem 0 3rem;
}

.footer a {
    color: var(--color-white);
}

.footer a:hover {
    color: var(--color-accent);
}

.footer__grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer__description {
    margin: 2rem 0;
    color: rgba(255, 255, 255, 0.7);
    max-width: 30rem;
}

.footer__heading {
    color: var(--color-white);
    margin-bottom: 2rem;
    font-size: 1.8rem;
}

.footer__list li {
    margin-bottom: 1rem;
}

.footer__address {
    font-style: normal;
}

.footer__icon {
    font-style: normal;
    margin-right: 0.8rem;
}

.footer__bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
}

.footer__copyright {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.4rem;
}

/* ----- COOKIE BANNER ----- */
.cookie-banner {
    position: fixed;
    bottom: -100%;
    left: 0;
    width: 100%;
    background-color: var(--color-primary);
    color: var(--color-white);
    padding: 2rem;
    z-index: 1001;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 2rem;
    transition: bottom 0.5s ease-in-out;
}

.cookie-banner.active {
    bottom: 0;
}

.cookie-banner p {
    flex: 1;
    min-width: 300px;
}

.cookie-accept {
    background-color: var(--color-accent);
    color: var(--color-primary);
    padding: 1rem 2rem;
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
}

.cookie-accept:hover {
    background-color: var(--color-white);
}

.cookie-link {
    color: var(--color-accent);
    text-decoration: underline;
    margin-left: 2rem;
}

.cookie-link:hover {
    color: var(--color-white);
}

/* ----- LEGAL PAGES ----- */
.legal-page {
    padding: 15rem 0 10rem;
}
.advantages__image{
    max-width: 450px;
    margin: 0 auto;
}
.legal-content {
    background-color: var(--color-white);
    padding: 4rem;
    border-radius: var(--border-radius);
    box-shadow: 0 5px 15px var(--color-shadow);
}

.legal-content h2 {
    margin-top: 4rem;
    margin-bottom: 2rem;
    font-size: 2.4rem;
}

.legal-content h2:first-child {
    margin-top: 0;
}

.legal-content p {
    margin-bottom: 2rem;
}

.legal-content ul {
    margin: 2rem 0 2rem 2rem;
    list-style: disc;
}

.legal-content li {
    margin-bottom: 1rem;
}

/* ----- RESPONSIVE STYLES ----- */
@media (max-width: 1200px) {
    html {
        font-size: 58%;
    }
}

@media (max-width: 992px) {
    html {
        font-size: 56%;
    }
    
    .services__grid,
    .footer__grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .footer__grid {
        row-gap: 4rem;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 54%;
    }
    
    .nav-toggle-label {
        display: block;
        z-index: 1001;
    }
    
    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background-color: var(--color-white);
        box-shadow: -5px 0 15px var(--color-shadow);
        transition: right 0.3s ease;
        z-index: 1000;
        padding: 10rem 4rem 4rem;
    }
    
    .nav-toggle:checked ~ .nav {
        right: 0;
    }
    
    .nav-toggle:checked + .nav-toggle-label span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 6px);
    }
    
    .nav-toggle:checked + .nav-toggle-label span:nth-child(2) {
        opacity: 0;
    }
    
    .nav-toggle:checked + .nav-toggle-label span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -6px);
    }
    
    .nav__list {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .hero .container,
    .about__content,
    .contact__wrapper {
        grid-template-columns: 1fr;
    }
    
    .hero__content {
        order: 1;
    }
    
    .hero__image {
        order: 0;
        margin-bottom: 3rem;
    }
    
    .advantages__grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .services__grid,
    .footer__grid {
        grid-template-columns: 1fr;
    }
    
    .contact__form {
        padding: 3rem 2rem;
    }
    
    .testimonials__slider {
        flex-direction: column;
    }
    
    .section-title {
        font-size: 2.8rem;
    }
    
    .hero__title {
        font-size: 3.6rem;
    }
} 