/* Full-site professional upgrade layer - preserves existing content */
:root {
    --qa-gold: #d7aa52;
    --qa-gold-strong: #b88422;
    --qa-ink: #111827;
    --qa-navy: #162235;
    --qa-blue: #1f5f8f;
    --qa-cyan: #0e9f9a;
    --qa-paper: #ffffff;
    --qa-soft: #f5f7fb;
    --qa-line: rgba(17, 24, 39, 0.11);
    --qa-shadow: 0 22px 50px rgba(17, 24, 39, 0.13);
    --qa-radius: 18px;
}

body {
    background:
        radial-gradient(circle at 88% 8%, rgba(215, 170, 82, 0.18), transparent 30rem),
        radial-gradient(circle at 10% 40%, rgba(14, 159, 154, 0.11), transparent 26rem),
        linear-gradient(180deg, #f8fafc 0%, #ffffff 42%, #f4f7fb 100%);
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -2;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(17, 24, 39, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(17, 24, 39, 0.035) 1px, transparent 1px);
    background-size: 44px 44px;
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.5), transparent 72%);
}

.modern-header {
    top: 10px;
    inset-inline: 12px;
    width: calc(100% - 24px);
    max-width: 1320px;
    margin-inline: auto;
    border: 1px solid rgba(255, 255, 255, 0.58);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.86);
    box-shadow: 0 18px 46px rgba(17, 24, 39, 0.11);
}

.modern-header.scrolled {
    background: rgba(255, 255, 255, 0.94);
}

.header-container {
    min-height: 74px;
}

.logo-image {
    max-height: 58px;
    object-fit: contain;
}

.nav-link {
    border-radius: 999px;
    color: var(--qa-ink);
    font-weight: 800;
}

.nav-link:hover,
.nav-link.active {
    background: rgba(215, 170, 82, 0.14);
    color: var(--qa-gold-strong);
}

.header-contact .contact-item {
    border: 1px solid var(--qa-line);
    border-radius: 999px;
    background: #fff;
}

.hero-section {
    min-height: 92vh;
    padding-top: 88px;
    background: #0d1726;
}

.hero-slide::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    background:
        linear-gradient(90deg, rgba(13, 23, 38, 0.90), rgba(13, 23, 38, 0.58) 54%, rgba(13, 23, 38, 0.20)),
        radial-gradient(circle at 30% 26%, rgba(215, 170, 82, 0.35), transparent 24rem);
}

.hero-content {
    position: relative;
    z-index: 2;
    margin-inline: auto;
    padding: clamp(24px, 4vw, 46px);
    border-inline-start: 4px solid var(--qa-gold);
    border-radius: 0 var(--qa-radius) var(--qa-radius) 0;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.10), rgba(255, 255, 255, 0.03));
    backdrop-filter: blur(4px);
}

.hero-title {
    max-width: 900px;
    margin-bottom: 18px;
    color: #fff;
    font-size: clamp(2.25rem, 5.7vw, 5.2rem);
    font-weight: 900;
    line-height: 1.08;
}

.hero-subtitle {
    color: #f9e3b2;
    font-weight: 800;
}

.hero-description {
    max-width: 760px;
    color: rgba(255, 255, 255, 0.86);
}

.hero-btn,
.cta-btn,
.search-btn,
.newsletter-btn {
    border-radius: 999px;
    font-weight: 900;
}

.hero-btn-primary,
.cta-btn-primary,
.search-btn {
    background: linear-gradient(135deg, var(--qa-gold), #f4d88c);
    color: #1c2430;
    box-shadow: 0 18px 34px rgba(215, 170, 82, 0.28);
}

.hero-btn-secondary,
.cta-btn-secondary {
    border: 1px solid rgba(255, 255, 255, 0.38);
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
}

.about-section,
.services-section,
.search-section,
.partners-section,
.news-section {
    position: relative;
    padding-block: clamp(72px, 8vw, 118px);
}

.about-container,
.services-container,
.search-container,
.partners-container,
.news-container,
.footer-container {
    width: min(1180px, calc(100% - 32px));
}

.section-subtitle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border: 1px solid rgba(215, 170, 82, 0.32);
    border-radius: 999px;
    background: rgba(215, 170, 82, 0.12);
    color: var(--qa-gold-strong);
    font-weight: 900;
}

.section-title {
    margin-top: 14px;
    color: var(--qa-ink);
    font-size: clamp(2rem, 4vw, 3.7rem);
    font-weight: 950;
    line-height: 1.15;
}

.section-description {
    max-width: 760px;
    margin-inline: auto;
    color: #5b6472;
    font-size: 1.06rem;
}

.about-content,
.stats-section,
.services-grid,
.news-grid,
.partners-stats,
.trust-badges {
    gap: clamp(18px, 2.5vw, 28px);
}

.about-text,
.about-image,
.mission-card,
.vision-card,
.service-card,
.news-card,
.trust-badge,
.stat-card,
.testimonial-card {
    border: 1px solid rgba(17, 24, 39, 0.10);
    border-radius: var(--qa-radius);
    background: rgba(255, 255, 255, 0.88);
    box-shadow: 0 18px 44px rgba(17, 24, 39, 0.08);
}

.about-text {
    padding: clamp(22px, 4vw, 38px);
}

.about-feature {
    border: 1px solid rgba(215, 170, 82, 0.18);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.72);
}

.service-card {
    position: relative;
    overflow: hidden;
    padding: clamp(22px, 3vw, 32px);
}

.service-card::before,
.news-card::before {
    content: "";
    position: absolute;
    inset-inline: 0;
    top: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--qa-gold), var(--qa-cyan), var(--qa-blue));
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.28s ease;
}

.service-card:hover::before,
.news-card:hover::before {
    transform: scaleX(1);
}

.service-icon,
.stat-icon,
.trust-icon {
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.32), 0 14px 30px rgba(31, 95, 143, 0.16);
}

.service-card.featured {
    border-color: rgba(215, 170, 82, 0.45);
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(255, 250, 238, 0.92));
}

.search-section {
    background:
        linear-gradient(135deg, rgba(22, 34, 53, 0.96), rgba(31, 95, 143, 0.88)),
        url("../images/grid-3358639.jpg") center/cover fixed;
}

.search-section .section-title,
.search-section .section-description {
    color: #fff;
}

.search-form-container {
    border: 1px solid rgba(255, 255, 255, 0.20);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.12);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.20);
    backdrop-filter: blur(16px);
}

.search-input-group,
.quick-search-input-group {
    border-radius: 18px;
}

.search-input {
    border: 1px solid rgba(255, 255, 255, 0.26);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.96);
}

.partners-track {
    align-items: stretch;
}

.partner-logo {
    filter: saturate(0.82);
    transition: filter 0.24s ease, transform 0.24s ease;
}

.partner-logo:hover {
    filter: saturate(1.1);
    transform: translateY(-4px);
}

.news-card {
    overflow: hidden;
}

.news-image {
    aspect-ratio: 16 / 10;
    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.news-card:hover .news-image img {
    transform: scale(1.06);
}

.modern-footer {
    background:
        radial-gradient(circle at 80% 12%, rgba(215, 170, 82, 0.18), transparent 24rem),
        linear-gradient(135deg, #0d1726, #162235);
}

.footer-section,
.footer-company {
    min-width: 0;
}

.footer-links a,
.footer-social a {
    transition: color 0.2s ease, transform 0.2s ease, background 0.2s ease;
}

.footer-links a:hover,
.footer-social a:hover {
    color: #f4d88c;
    transform: translateX(-4px);
}

.pro-reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.55s ease, transform 0.55s ease;
}

.pro-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 991.98px) {
    .modern-header {
        top: 0;
        inset-inline: 0;
        width: 100%;
        border-radius: 0;
    }

    .hero-content {
        border-inline-start: 0;
        border-radius: var(--qa-radius);
    }

    .search-section {
        background-attachment: scroll;
    }
}

@media (max-width: 575.98px) {
    .about-section,
    .services-section,
    .search-section,
    .partners-section,
    .news-section {
        padding-block: 62px;
    }

    .hero-section {
        min-height: 760px;
    }

    .hero-content {
        padding: 22px;
    }

    .service-card,
    .news-card,
    .search-form-container {
        border-radius: 14px;
    }
}
