/* SMAJ Ecosystem Main Style */

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --primary-color: #e11d2e;
    --primary-dark: #a30f1c;
    --secondary-color: #101827;
    --accent-color: #14b8a6;
    --gold: #f5b942;
    --text-primary: #111827;
    --text-secondary: #5f6b7a;
    --text-muted: #8a94a6;
    --white: #ffffff;
    --light-bg: #f6f7f9;
    --line: #e4e7ec;
    --shadow: 0 18px 45px rgba(16, 24, 39, 0.11);
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--white);
    color: var(--text-primary);
    font-family: "Inter", Arial, sans-serif;
    line-height: 1.6;
}

body.no-scroll {
    overflow: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

img,
video {
    display: block;
    max-width: 100%;
}

ul {
    list-style: none;
}

.container,
.header-container {
    margin: 0 auto;
    max-width: 1180px;
    padding: 0 24px;
    width: 100%;
}

section {
    padding: 88px 0;
}

.bg-light {
    background: var(--light-bg);
}

.text-center {
    text-align: center;
}

/* Header */

.header {
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid rgba(16, 24, 39, 0.08);
    box-shadow: 0 8px 25px rgba(16, 24, 39, 0.04);
    left: 0;
    position: fixed;
    right: 0;
    top: 0;
    transition: box-shadow 0.25s ease, background 0.25s ease;
    z-index: 1000;
}

.header.scrolled,
.header.menu-open {
    box-shadow: 0 14px 35px rgba(16, 24, 39, 0.12);
}

.header-inner {
    align-items: center;
    display: flex;
    gap: 26px;
    height: 78px;
    justify-content: space-between;
}

.logo-wrap {
    align-items: center;
    display: flex;
    flex-shrink: 0;
    gap: 12px;
}

.logo {
    border-radius: 50%;
    height: 50px;
    object-fit: cover;
    width: 50px;
}

.nav-desktop {
    align-items: center;
    display: flex;
    gap: 26px;
}

.nav-link {
    color: #475467;
    font-size: 15px;
    font-weight: 700;
    position: relative;
}

.nav-link::after {
    background: var(--primary-color);
    bottom: -9px;
    content: "";
    height: 2px;
    left: 0;
    position: absolute;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.2s ease;
    width: 100%;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
}

.nav-link:hover::after,
.nav-link.active::after {
    transform: scaleX(1);
}

.btn {
    align-items: center;
    border: 0;
    border-radius: 6px;
    cursor: pointer;
    display: inline-flex;
    font: inherit;
    font-size: 15px;
    font-weight: 800;
    gap: 8px;
    justify-content: center;
    min-height: 46px;
    padding: 12px 20px;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary,
.btn-nav-cta {
    background: var(--primary-color);
    box-shadow: 0 14px 28px rgba(225, 29, 46, 0.22);
    color: var(--white);
}

.btn-primary:hover,
.btn-nav-cta:hover {
    background: var(--primary-dark);
}

.btn-secondary {
    background: var(--white);
    color: var(--secondary-color);
}

.btn-accent {
    background: var(--accent-color);
    color: var(--white);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--line);
    color: var(--secondary-color);
}

.btn-outline:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.btn-menu-toggle {
    align-items: center;
    background: var(--secondary-color);
    border: 0;
    border-radius: 6px;
    color: var(--white);
    cursor: pointer;
    display: none;
    font-size: 24px;
    height: 44px;
    justify-content: center;
    line-height: 1;
    width: 44px;
}

.icon-close,
.btn-menu-toggle.active .icon-open {
    display: none;
}

.btn-menu-toggle.active .icon-close {
    display: block;
}

.mobile-menu-overlay {
    background: rgba(16, 24, 39, 0.5);
    inset: 78px 0 0 0;
    opacity: 0;
    pointer-events: none;
    position: fixed;
    transition: opacity 0.25s ease;
}

.mobile-menu-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.mobile-menu {
    background: var(--white);
    border-left: 1px solid var(--line);
    box-shadow: -18px 0 45px rgba(16, 24, 39, 0.16);
    display: flex;
    flex-direction: column;
    gap: 8px;
    height: calc(100vh - 78px);
    max-width: 360px;
    padding: 24px;
    position: fixed;
    right: 0;
    top: 78px;
    transform: translateX(105%);
    transition: transform 0.28s ease;
    width: 82%;
    z-index: 1001;
}

.mobile-menu.active {
    transform: translateX(0);
}

.mobile-nav-link {
    border-radius: 6px;
    color: var(--secondary-color);
    font-weight: 800;
    padding: 13px 14px;
}

.mobile-nav-link.active,
.mobile-nav-link:hover {
    background: #fff1f2;
    color: var(--primary-color);
}

.btn-mobile-cta {
    margin-top: 10px;
    width: 100%;
}

/* Hero */

.hero,
.page-header {
    background:
        linear-gradient(rgba(16, 24, 39, 0.76), rgba(16, 24, 39, 0.84)),
        url("https://images.unsplash.com/photo-1497366754035-f200968a6e72?w=1800&q=80") center/cover;
    color: var(--white);
    min-height: 560px;
    padding: 150px 0 74px;
}

.hero .container {
    align-items: center;
    display: grid;
    gap: 48px;
    grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
}

.hero-subtitle {
    border-left: 4px solid var(--primary-color);
    color: #fca5a5;
    display: inline-block;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0.08em;
    margin-bottom: 18px;
    padding-left: 12px;
    text-transform: uppercase;
}

.hero h1,
.page-header h1 {
    font-size: clamp(42px, 6vw, 74px);
    letter-spacing: 0;
    line-height: 0.98;
    margin-bottom: 24px;
    max-width: 900px;
}

.hero p,
.page-header p {
    color: rgba(255, 255, 255, 0.82);
    font-size: 18px;
    max-width: 720px;
}

.hero-buttons,
.cta-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 32px;
}

.hero-image {
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 8px;
    box-shadow: 0 28px 70px rgba(0, 0, 0, 0.28);
    overflow: hidden;
}

.hero-image img {
    aspect-ratio: 4 / 3;
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.page-header {
    min-height: 430px;
}

.page-header-content {
    max-width: 860px;
}

.breadcrumb {
    align-items: center;
    display: flex;
    gap: 10px;
    margin-top: 24px;
}

.breadcrumb a {
    color: #fecaca;
    font-weight: 800;
}

.breadcrumb svg {
    height: 16px;
    width: 16px;
}

/* Sections and grids */

.section-header {
    margin: 0 auto 48px;
    max-width: 760px;
    text-align: center;
}

.section-header h2 {
    color: var(--secondary-color);
    font-size: clamp(30px, 4vw, 46px);
    line-height: 1.08;
    margin-bottom: 14px;
}

.section-header p {
    color: var(--text-secondary);
    font-size: 17px;
}

.grid,
.grid-2,
.grid-3,
.grid-4,
.services-grid,
.projects-grid,
.insights-grid,
.stats-grid,
.team-grid,
.contact-grid {
    display: grid;
    gap: 26px;
}

.grid-2,
.contact-grid {
    align-items: center;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-3,
.projects-grid,
.insights-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-4,
.stats-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.team-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.team-grid-founder {
    grid-template-columns: minmax(280px, 420px);
    justify-content: center;
}

/* Cards */

.card,
.service-card,
.project-card,
.insight-card,
.partnership-card,
.team-member,
.contact-form,
.legal-section,
.stat-item {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(16, 24, 39, 0.06);
}

.card,
.service-card,
.partnership-card,
.team-member,
.contact-form,
.legal-section,
.stat-item {
    padding: 28px;
}

.card:hover,
.service-card:hover,
.project-card:hover,
.insight-card:hover,
.partnership-card:hover,
.team-member:hover {
    box-shadow: var(--shadow);
    transform: translateY(-5px);
}

.card,
.service-card,
.project-card,
.insight-card,
.partnership-card,
.team-member {
    transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.card-icon,
.service-icon,
.partnership-icon,
.stat-icon,
.contact-icon,
.about-feature-icon {
    align-items: center;
    background: #fff1f2;
    border-radius: 8px;
    color: var(--primary-color);
    display: flex;
    flex-shrink: 0;
    font-size: 28px;
    height: 54px;
    justify-content: center;
    width: 54px;
}

.card h3,
.service-card h3,
.partnership-card h3 {
    font-size: 21px;
    margin: 18px 0 10px;
}

.card p,
.service-card p,
.partnership-card p,
.project-content p,
.insight-content p,
.team-description,
.contact-info p,
.legal-section p,
.legal-section li {
    color: var(--text-secondary);
}

.stats {
    background: var(--secondary-color);
    color: var(--white);
    padding: 46px 0;
}

.stat-item {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.12);
}

.stat-icon {
    background: rgba(225, 29, 46, 0.18);
    color: #fecaca;
}

.stat-phrase {
    display: block;
    font-size: 19px;
    font-weight: 900;
    margin-top: 16px;
}

.stat-label {
    color: rgba(255, 255, 255, 0.72);
    display: block;
    margin-top: 4px;
}

.about-image,
.why-choose-us-image {
    border-radius: 8px;
    overflow: hidden;
}

.about-image img,
.why-choose-us-image img {
    aspect-ratio: 1 / 0.78;
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.about-content h2,
.why-choose-us-content h2,
.contact-info h2 {
    font-size: clamp(30px, 4vw, 44px);
    line-height: 1.1;
    margin-bottom: 18px;
}

.about-content p,
.why-choose-us-content p {
    color: var(--text-secondary);
    margin-bottom: 14px;
}

.about-features {
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 26px;
}

.about-feature {
    align-items: center;
    background: var(--light-bg);
    border-radius: 8px;
    display: flex;
    font-weight: 800;
    gap: 12px;
    padding: 13px;
}

.about-feature-icon {
    font-size: 18px;
    height: 34px;
    width: 34px;
}

.why-choose-us-list {
    display: grid;
    gap: 18px;
    margin: 26px 0;
}

.why-choose-us-list li,
.contact-item {
    align-items: flex-start;
    display: flex;
    gap: 14px;
}

.why-choose-us-list .icon {
    align-items: center;
    background: #ecfdf5;
    border-radius: 50%;
    color: #059669;
    display: flex;
    flex-shrink: 0;
    height: 30px;
    justify-content: center;
    width: 30px;
}

/* Projects and insights */

.projects-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin-bottom: 38px;
}

.filter-btn {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--text-secondary);
    cursor: pointer;
    font-weight: 800;
    padding: 11px 17px;
}

.filter-btn.active,
.filter-btn:hover {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
    color: var(--white);
}

.project-card,
.insight-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    padding: 0;
    position: relative;
}

.project-image,
.insight-image {
    background: #d9dee7;
    overflow: hidden;
    position: relative;
}

.project-image img,
.project-image video,
.insight-image img {
    aspect-ratio: 16 / 10;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
    width: 100%;
}

.project-card:hover .project-image img,
.project-card:hover .project-image video,
.insight-card:hover .insight-image img {
    transform: scale(1.04);
}

.project-logo-image {
    align-items: center;
    background: radial-gradient(circle at center, #ffffff 0%, #f1f5f9 58%, #e5e7eb 100%);
    display: flex;
    justify-content: center;
}

.project-logo-image img {
    aspect-ratio: 16 / 10;
    height: 100%;
    object-fit: contain;
    padding: 44px;
}

.project-overlay {
    bottom: 16px;
    left: 16px;
    position: absolute;
}

.project-category,
.insight-category,
.project-badge,
.partnership-badge {
    background: var(--primary-color);
    border-radius: 999px;
    color: var(--white);
    display: inline-flex;
    font-size: 12px;
    font-weight: 900;
    padding: 7px 11px;
}

.project-badge {
    left: 16px;
    position: absolute;
    top: 16px;
    z-index: 2;
}

.project-badge-dev {
    background: var(--secondary-color);
}

.project-content,
.insight-content {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 24px;
}

.project-content h3,
.insight-content h3 {
    font-size: 22px;
    line-height: 1.2;
    margin-bottom: 10px;
}

.project-content p,
.insight-content p {
    flex: 1;
    margin-bottom: 20px;
}

.project-link {
    align-items: center;
    color: var(--primary-color);
    display: inline-flex;
    font-weight: 900;
    gap: 6px;
}

.insight-meta {
    align-items: center;
    color: var(--text-muted);
    display: flex;
    font-size: 13px;
    font-weight: 700;
    gap: 12px;
    justify-content: space-between;
    margin-bottom: 14px;
}

.insight-category {
    background: #fff1f2;
    color: var(--primary-color);
}

/* Partnership, contact, legal */

.partnership-card {
    position: relative;
}

.partnership-card.featured {
    border-color: var(--primary-color);
    box-shadow: 0 20px 55px rgba(225, 29, 46, 0.14);
}

.partnership-badge {
    position: absolute;
    right: 22px;
    top: 22px;
}

.partnership-card ul {
    display: grid;
    gap: 10px;
    margin: 20px 0 24px;
}

.partnership-card li {
    align-items: flex-start;
    color: var(--text-secondary);
    display: flex;
    gap: 9px;
}

.partnership-card li i {
    color: #059669;
    font-size: 19px;
    margin-top: 2px;
}

.contact-grid {
    align-items: start;
}

.contact-details {
    display: grid;
    gap: 18px;
    margin: 28px 0;
}

.contact-info h4,
.contact-item h4 {
    margin-bottom: 4px;
}

.social-links,
.footer-social,
.team-social {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.social-link,
.social-icon,
.team-social a {
    align-items: center;
    background: var(--secondary-color);
    border-radius: 50%;
    color: var(--white);
    display: flex;
    font-size: 20px;
    height: 42px;
    justify-content: center;
    width: 42px;
}

.social-link:hover,
.social-icon:hover,
.team-social a:hover {
    background: var(--primary-color);
}

.contact-form h3 {
    font-size: 26px;
    margin-bottom: 22px;
}

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 900;
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea,
.cta-section input {
    background: var(--white);
    border: 1px solid #cfd5df;
    border-radius: 6px;
    color: var(--text-primary);
    font: inherit;
    min-height: 48px;
    padding: 12px 14px;
    width: 100%;
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus,
.cta-section input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(225, 29, 46, 0.1);
    outline: none;
}

.legal-content {
    background: var(--light-bg);
}

.legal-section {
    margin: 0 auto 24px;
    max-width: 920px;
}

.legal-section h2 {
    font-size: 32px;
    margin-bottom: 8px;
}

.legal-section h3 {
    font-size: 20px;
    margin: 24px 0 8px;
}

.legal-section ul {
    display: grid;
    gap: 8px;
    list-style: disc;
    margin: 12px 0 0 20px;
}

/* Application forms */

.application-section {
    background: var(--light-bg);
}

.application-layout {
    align-items: start;
    display: grid;
    gap: 30px;
    grid-template-columns: minmax(260px, 0.42fr) minmax(0, 1fr);
}

.application-aside,
.application-card,
.application-result {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(16, 24, 39, 0.06);
}

.application-aside {
    padding: 30px;
    position: sticky;
    top: 104px;
}

.application-kicker {
    color: var(--primary-color);
    display: inline-block;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0.08em;
    margin-bottom: 12px;
    text-transform: uppercase;
}

.application-aside h2 {
    font-size: 30px;
    line-height: 1.1;
    margin-bottom: 14px;
}

.application-aside p,
.form-section-title p,
.form-note {
    color: var(--text-secondary);
}

.application-steps {
    display: grid;
    gap: 12px;
    margin-top: 24px;
}

.application-steps li {
    align-items: flex-start;
    color: var(--text-secondary);
    display: flex;
    gap: 10px;
}

.application-steps strong {
    color: var(--primary-color);
}

.application-card {
    padding: 30px;
}

.application-edit-card {
    margin: 0 auto;
    max-width: 900px;
}

.form-section-title {
    border-bottom: 1px solid var(--line);
    margin: 0 0 22px;
    padding-bottom: 14px;
}

.form-section-title:not(:first-child) {
    margin-top: 34px;
}

.form-section-title h3 {
    font-size: 24px;
    margin-bottom: 4px;
}

.form-grid {
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.form-wide {
    grid-column: 1 / -1;
}

.form-group input[type="file"] {
    background: #f9fafb;
    cursor: pointer;
}

.form-note {
    background: #fff7ed;
    border: 1px solid #fed7aa;
    border-radius: 8px;
    font-size: 14px;
    margin: 24px 0;
    padding: 14px 16px;
}

.form-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: flex-end;
}

.application-status {
    font-weight: 800;
    margin-top: 16px;
}

.application-status[data-status="success"] {
    color: #047857;
}

.application-status[data-status="error"] {
    color: #b91c1c;
}

.application-status[data-status="info"] {
    color: var(--text-secondary);
}

.application-result {
    background: #f0fdf4;
    border-color: #bbf7d0;
    margin-top: 24px;
    padding: 24px;
}

.application-result h3 {
    color: #047857;
    font-size: 24px;
    margin-bottom: 8px;
}

.application-result-grid {
    display: grid;
    gap: 14px;
    margin-top: 16px;
}

.application-result-grid div {
    background: var(--white);
    border: 1px solid #bbf7d0;
    border-radius: 8px;
    padding: 14px;
}

.application-result-grid span {
    color: var(--text-secondary);
    display: block;
    font-size: 13px;
    font-weight: 900;
    margin-bottom: 4px;
    text-transform: uppercase;
}

.application-result-grid strong,
.application-result-grid a {
    color: var(--secondary-color);
    overflow-wrap: anywhere;
}

.application-review-list {
    display: grid;
    gap: 10px;
    list-style: none;
    margin-top: 20px;
}

.application-review-list li {
    background: var(--light-bg);
    border-radius: 8px;
    color: var(--text-secondary);
    padding: 12px 14px;
}

.application-review-list strong {
    color: var(--secondary-color);
}

/* Team */

.team-member {
    text-align: center;
}

.team-image {
    border-radius: 8px;
    margin-bottom: 18px;
    overflow: hidden;
}

.team-image img {
    aspect-ratio: 1 / 1;
    object-fit: cover;
    width: 100%;
}

.team-member h4 {
    font-size: 18px;
}

.team-role {
    color: var(--primary-color);
    font-size: 14px;
    font-weight: 900;
    margin: 5px 0 12px;
}

.team-description {
    font-size: 14px;
    margin-bottom: 16px;
}

.team-social {
    justify-content: center;
}

.team-social a {
    height: 36px;
    width: 36px;
}

.future-team-section {
    padding-top: 0;
}

.future-team-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(16, 24, 39, 0.06);
    margin: 0 auto;
    max-width: 820px;
    padding: 36px;
    text-align: center;
}

.future-team-card h2 {
    font-size: clamp(30px, 4vw, 44px);
    line-height: 1.1;
    margin-bottom: 14px;
}

.future-team-card p {
    color: var(--text-secondary);
    font-size: 17px;
    margin: 0 auto 26px;
    max-width: 660px;
}

/* CTA and footer */

.cta-section {
    background:
        linear-gradient(rgba(16, 24, 39, 0.88), rgba(16, 24, 39, 0.9)),
        url("https://images.unsplash.com/photo-1551434678-e076c223a692?w=1800&q=80") center/cover;
    color: var(--white);
    text-align: center;
}

.cta-section h2 {
    font-size: clamp(32px, 5vw, 54px);
    line-height: 1.08;
    margin: 0 auto 14px;
    max-width: 850px;
}

.cta-section p {
    color: rgba(255, 255, 255, 0.82);
    font-size: 18px;
    margin: 0 auto;
    max-width: 720px;
}

.cta-buttons {
    justify-content: center;
}

.footer {
    background: #0d111a;
    color: var(--white);
    padding: 70px 0 32px;
}

.footer-grid {
    display: grid;
    gap: 36px;
    grid-template-columns: 1.3fr 0.8fr 0.8fr 1.2fr;
}

.footer-about p,
.footer-column p,
.footer-links a,
.footer-legal a {
    color: rgba(255, 255, 255, 0.72);
}

.footer-logo {
    margin-bottom: 18px;
}

.footer-column h4 {
    font-size: 18px;
    margin-bottom: 18px;
}

.footer-links {
    display: grid;
    gap: 10px;
}

.footer a:hover {
    color: var(--white);
}

.footer-bottom {
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: space-between;
    margin-top: 46px;
    padding-top: 24px;
}

.footer-legal {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
}

.scroll-top {
    align-items: center;
    background: rgba(16, 24, 39, 0.78);
    border: 1px solid rgba(255, 255, 255, 0.26);
    border-radius: 50%;
    bottom: 24px;
    color: var(--white);
    cursor: pointer;
    display: flex;
    height: 48px;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    position: fixed;
    right: 24px;
    box-shadow: 0 14px 28px rgba(16, 24, 39, 0.2);
    transition: opacity 0.2s ease, transform 0.2s ease;
    transform: translateY(10px);
    width: 48px;
    z-index: 900;
}

.scroll-top.visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.scroll-top.visible:hover {
    background: rgba(16, 24, 39, 0.92);
    transform: translateY(-3px);
}

.scroll-top svg {
    height: 32px;
    width: 32px;
}

.preloader {
    align-items: center;
    background: var(--white);
    display: flex;
    inset: 0;
    justify-content: center;
    position: fixed;
    transition: opacity 0.35s ease, visibility 0.35s ease;
    z-index: 9999;
}

.preloader.hidden {
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
}

.preloader-logo-img {
    animation: preloaderLogoZoom 1.05s ease-in-out infinite alternate;
    border-radius: 50%;
    height: 82px;
    object-fit: cover;
    width: 82px;
}

@keyframes preloaderLogoZoom {
    from {
        opacity: 0.72;
        transform: scale(0.72);
    }

    to {
        opacity: 1;
        transform: scale(1.08);
    }
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.55s ease, transform 0.55s ease;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

.stagger-1 { transition-delay: 0.08s; }
.stagger-2 { transition-delay: 0.16s; }
.stagger-3 { transition-delay: 0.24s; }
.stagger-4 { transition-delay: 0.32s; }
.stagger-5 { transition-delay: 0.40s; }

@media (max-width: 1100px) {
    .grid-4,
    .stats-grid,
    .team-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .grid-3,
    .projects-grid,
    .insights-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 992px) {
    .nav-desktop,
    .btn-nav-cta {
        display: none;
    }

    .btn-menu-toggle {
        display: flex;
    }

    .hero .container,
    .grid-2,
    .contact-grid,
    .application-layout {
        grid-template-columns: 1fr;
    }

    .hero {
        padding-top: 132px;
    }

    .application-aside {
        position: static;
    }
}

@media (max-width: 700px) {
    .container,
    .header-container {
        padding: 0 18px;
    }

    section {
        padding: 64px 0;
    }

    .header-inner {
        height: 70px;
    }

    .logo {
        height: 44px;
        width: 44px;
    }

    .mobile-menu {
        height: calc(100vh - 70px);
        top: 70px;
        width: 88%;
    }

    .mobile-menu-overlay {
        inset: 70px 0 0 0;
    }

    .hero,
    .page-header {
        min-height: 420px;
        padding: 122px 0 56px;
    }

    .hero h1,
    .page-header h1 {
        font-size: 40px;
    }

    .hero p,
    .page-header p {
        font-size: 16px;
    }

    .grid-3,
    .grid-4,
    .services-grid,
    .projects-grid,
    .insights-grid,
    .stats-grid,
    .team-grid,
    .footer-grid,
    .about-features {
        grid-template-columns: 1fr;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .hero-buttons,
    .cta-buttons,
    .form-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

    .footer-bottom {
        align-items: flex-start;
        flex-direction: column;
    }
}
