/* ============================================
   СтройГрупп — Premium Construction Company
   Dark Architectural Theme
   ============================================ */

/* --- Reset & Base --- */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --navy-900: #0f172a;
    --navy-800: #1e293b;
    --navy-700: #334155;
    --navy-600: #475569;
    --amber: #d97706;
    --amber-light: #f59e0b;
    --amber-dark: #b45309;
    --white: #ffffff;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --radius: 4px;
    --radius-md: 8px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--gray-300);
    background: var(--navy-900);
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

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

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 40px;
}


/* --- Header --- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    transition: var(--transition);
}

.header--scrolled {
    background: rgba(15, 23, 42, 0.95);
    border-bottom-color: rgba(255, 255, 255, 0.1);
}

.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
    gap: 40px;
}

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

.logo__mark {
    width: 36px;
    height: 36px;
    background: var(--amber);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 18px;
    color: var(--navy-900);
    letter-spacing: -0.02em;
}

.logo__text {
    font-size: 20px;
    font-weight: 700;
    color: var(--white);
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.logo__text span {
    color: var(--amber);
}

.nav {
    display: flex;
    align-items: center;
}

.nav__list {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav__link {
    display: block;
    padding: 8px 18px;
    font-size: 14px;
    font-weight: 500;
    color: var(--gray-400);
    letter-spacing: 0.02em;
    text-transform: uppercase;
    transition: var(--transition);
    position: relative;
}

.nav__link::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 18px;
    right: 18px;
    height: 1px;
    background: var(--amber);
    transform: scaleX(0);
    transition: var(--transition);
}

.nav__link:hover,
.nav__link--active {
    color: var(--white);
}

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

.header__cta {
    flex-shrink: 0;
}

.burger {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 200;
}

.burger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: var(--transition);
}

.burger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
}

.burger.active span:nth-child(2) {
    opacity: 0;
}

.burger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
}


/* --- Mobile Navigation --- */
.mobile-nav {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 150;
    background: rgba(15, 23, 42, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.mobile-nav.active {
    opacity: 1;
    visibility: visible;
}

.mobile-nav a {
    font-size: 24px;
    font-weight: 600;
    color: var(--gray-400);
    padding: 12px 24px;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.mobile-nav a:hover {
    color: var(--amber);
}


/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.btn--amber {
    background: var(--amber);
    color: var(--navy-900);
}

.btn--amber:hover {
    background: var(--amber-light);
    box-shadow: 0 8px 30px rgba(217, 119, 6, 0.3);
    transform: translateY(-2px);
}

.btn--outline {
    background: transparent;
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn--outline:hover {
    border-color: var(--white);
    background: rgba(255, 255, 255, 0.05);
}

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

.btn--outline-amber:hover {
    background: var(--amber);
    color: var(--navy-900);
}

.btn--large {
    padding: 18px 44px;
    font-size: 15px;
}

.btn--full {
    width: 100%;
}

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

.btn--white:hover {
    background: var(--gray-100);
    transform: translateY(-2px);
}


/* --- Hero Section --- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
}

.hero__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    animation: heroZoom 20s ease-in-out infinite alternate;
}

@keyframes heroZoom {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(1.1);
    }
}

.hero__overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(
        180deg,
        rgba(15, 23, 42, 0.7) 0%,
        rgba(15, 23, 42, 0.5) 40%,
        rgba(15, 23, 42, 0.85) 100%
    );
}

.hero__content {
    position: relative;
    z-index: 2;
    padding-top: 120px;
    padding-bottom: 160px;
    max-width: 800px;
}

.hero__label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 32px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--amber);
}

.hero__label::before {
    content: '';
    display: block;
    width: 40px;
    height: 1px;
    background: var(--amber);
}

.hero__title {
    font-size: 72px;
    font-weight: 800;
    color: var(--white);
    line-height: 1.05;
    letter-spacing: -0.03em;
    margin-bottom: 24px;
}

.hero__subtitle {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.7;
    margin-bottom: 48px;
    max-width: 560px;
}

.hero__actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero__stats {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 2;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(16px);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.hero__stats-inner {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.hero__stat {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 28px 20px;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
    text-align: center;
}

.hero__stat:last-child {
    border-right: none;
}

.hero__stat-number {
    font-size: 32px;
    font-weight: 800;
    color: var(--amber);
    letter-spacing: -0.02em;
    line-height: 1;
}

.hero__stat-text {
    font-size: 14px;
    color: var(--gray-400);
    line-height: 1.3;
    text-align: left;
}


/* --- Section Styles --- */
.section {
    padding: 120px 0;
}

.section--dark {
    background: var(--navy-900);
}

.section--darker {
    background: var(--navy-800);
}

.section-header {
    margin-bottom: 72px;
}

.section-header--center {
    text-align: center;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--amber);
    margin-bottom: 20px;
}

.section-label::before {
    content: '';
    display: block;
    width: 30px;
    height: 1px;
    background: var(--amber);
}

.section-header--center .section-label::before {
    display: none;
}

.section-title {
    font-size: 48px;
    font-weight: 800;
    color: var(--white);
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 20px;
}

.section-desc {
    font-size: 18px;
    color: var(--gray-400);
    line-height: 1.7;
    max-width: 540px;
}

.section-header--center .section-desc {
    margin: 0 auto;
}


/* --- Services (Numbered Cards) --- */
.services__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2px;
}

.service-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    padding: 48px 40px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--amber);
    transform: scaleX(0);
    transition: var(--transition-slow);
}

.service-card:hover {
    background: rgba(255, 255, 255, 0.06);
}

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

.service-card__number {
    font-size: 72px;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.04);
    line-height: 1;
    letter-spacing: -0.04em;
    margin-bottom: 24px;
    transition: var(--transition);
}

.service-card:hover .service-card__number {
    color: rgba(217, 119, 6, 0.15);
}

.service-card__title {
    font-size: 24px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 16px;
    letter-spacing: -0.01em;
}

.service-card__text {
    font-size: 15px;
    color: var(--gray-400);
    line-height: 1.7;
}


/* --- Featured Projects (Horizontal Cards) --- */
.project-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    align-items: stretch;
    margin-bottom: 2px;
}

.project-row:nth-child(even) {
    direction: rtl;
}

.project-row:nth-child(even) > * {
    direction: ltr;
}

.project-row__image {
    position: relative;
    overflow: hidden;
    min-height: 400px;
}

.project-row__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.project-row:hover .project-row__image img {
    transform: scale(1.05);
}

.project-row__content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 60px;
    background: var(--navy-800);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.project-row__tag {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--amber);
    margin-bottom: 16px;
}

.project-row__title {
    font-size: 32px;
    font-weight: 800;
    color: var(--white);
    letter-spacing: -0.02em;
    margin-bottom: 20px;
    line-height: 1.2;
}

.project-row__desc {
    font-size: 16px;
    color: var(--gray-400);
    line-height: 1.7;
    margin-bottom: 32px;
}

.project-row__link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--amber);
    transition: var(--transition);
}

.project-row__link:hover {
    gap: 16px;
    color: var(--amber-light);
}

.project-row__link svg {
    transition: var(--transition);
}


/* --- Portfolio Page --- */
.page-hero {
    padding: 160px 0 80px;
    background: var(--navy-800);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.page-hero__title {
    font-size: 56px;
    font-weight: 800;
    color: var(--white);
    letter-spacing: -0.03em;
    margin-bottom: 12px;
}

.page-hero__breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--gray-500);
}

.page-hero__breadcrumb a {
    color: var(--gray-400);
    transition: var(--transition);
}

.page-hero__breadcrumb a:hover {
    color: var(--amber);
}

.page-hero__breadcrumb span {
    color: var(--gray-500);
}

/* Filter Tabs */
.filter-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.filter-tab {
    padding: 10px 28px;
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: var(--gray-400);
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.1);
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
}

.filter-tab:hover {
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.2);
}

.filter-tab.active {
    color: var(--navy-900);
    background: var(--amber);
    border-color: var(--amber);
}

/* Portfolio Grid */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2px;
}

.portfolio-card {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    cursor: pointer;
    display: block;
}

.portfolio-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.portfolio-card:hover img {
    transform: scale(1.08);
}

.portfolio-card__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(15, 23, 42, 0.9) 0%, rgba(15, 23, 42, 0.1) 50%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 32px;
    transition: var(--transition);
}

.portfolio-card:hover .portfolio-card__overlay {
    background: linear-gradient(0deg, rgba(15, 23, 42, 0.95) 0%, rgba(15, 23, 42, 0.3) 60%, rgba(217, 119, 6, 0.1) 100%);
}

.portfolio-card__tag {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--amber);
    margin-bottom: 8px;
}

.portfolio-card__title {
    font-size: 20px;
    font-weight: 700;
    color: var(--white);
    letter-spacing: -0.01em;
    margin-bottom: 4px;
}

.portfolio-card__meta {
    font-size: 14px;
    color: var(--gray-500);
}


/* --- Project Detail Page --- */
.project-hero {
    position: relative;
    height: 70vh;
    min-height: 500px;
    overflow: hidden;
}

.project-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.project-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        0deg,
        rgba(15, 23, 42, 1) 0%,
        rgba(15, 23, 42, 0.3) 50%,
        rgba(15, 23, 42, 0.5) 100%
    );
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.project-hero__content {
    padding: 60px 0;
}

.project-hero__tag {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--amber);
    margin-bottom: 16px;
}

.project-hero__title {
    font-size: 56px;
    font-weight: 800;
    color: var(--white);
    letter-spacing: -0.03em;
    line-height: 1.1;
}

/* Project Details */
.project-details {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2px;
    margin-bottom: 80px;
    margin-top: -1px;
}

.project-detail {
    background: var(--navy-800);
    padding: 36px 32px;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.project-detail__label {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gray-500);
    margin-bottom: 8px;
}

.project-detail__value {
    font-size: 22px;
    font-weight: 700;
    color: var(--white);
    letter-spacing: -0.01em;
}

/* Project Specs Grid */
.project-specs {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    background: var(--navy-800);
    border: 1px solid rgba(255, 255, 255, 0.06);
    margin-top: -40px;
    position: relative;
    z-index: 3;
}

.project-specs__item {
    padding: 32px 24px;
    text-align: center;
    border-right: 1px solid rgba(255, 255, 255, 0.06);
}

.project-specs__item:last-child {
    border-right: none;
}

.project-specs__label {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--gray-500);
    margin-bottom: 8px;
}

.project-specs__value {
    font-size: 18px;
    font-weight: 700;
    color: var(--white);
    letter-spacing: -0.01em;
}

.project-specs__value--status {
    color: #22c55e;
}

/* Project Content */
.project-text {
    max-width: 760px;
    margin-bottom: 80px;
}

.project-text h2 {
    font-size: 32px;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.project-text p {
    font-size: 17px;
    color: var(--gray-400);
    line-height: 1.8;
    margin-bottom: 20px;
}

/* Gallery Grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2px;
    margin-bottom: 80px;
}

.gallery-grid__item {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 10;
}

.gallery-grid__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-grid__item:hover img {
    transform: scale(1.05);
}

/* Project CTA */
.project-cta {
    text-align: center;
    padding: 100px 40px;
    background: var(--navy-800);
    border: 1px solid rgba(255, 255, 255, 0.06);
    margin-bottom: 80px;
}

.project-cta__title {
    font-size: 40px;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.project-cta__desc {
    font-size: 18px;
    color: var(--gray-400);
    margin-bottom: 40px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}


/* --- Contact Section --- */
.contact__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
}

.contact-form {
    background: var(--navy-800);
    padding: 60px;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.contact-form__title {
    font-size: 28px;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 8px;
    letter-spacing: -0.02em;
}

.contact-form__subtitle {
    font-size: 15px;
    color: var(--gray-500);
    margin-bottom: 36px;
}

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

.form-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--gray-400);
    margin-bottom: 8px;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.form-input {
    width: 100%;
    padding: 16px 20px;
    font-family: inherit;
    font-size: 15px;
    color: var(--white);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
    outline: none;
}

.form-input::placeholder {
    color: var(--gray-500);
}

.form-input:focus {
    border-color: var(--amber);
    background: rgba(255, 255, 255, 0.06);
    box-shadow: 0 0 0 3px rgba(217, 119, 6, 0.1);
}

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

.form-disclaimer {
    margin-top: 20px;
    font-size: 13px;
    color: var(--gray-500);
    text-align: center;
}

.contact-info {
    background: var(--navy-900);
    border: 1px solid rgba(255, 255, 255, 0.06);
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-info__item {
    display: flex;
    gap: 20px;
    padding: 28px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.contact-info__item:first-child {
    padding-top: 0;
}

.contact-info__item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.contact-info__icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(217, 119, 6, 0.1);
    border: 1px solid rgba(217, 119, 6, 0.2);
    flex-shrink: 0;
}

.contact-info__icon svg {
    width: 20px;
    height: 20px;
    color: var(--amber);
}

.contact-info__label {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--gray-500);
    margin-bottom: 6px;
}

.contact-info__value {
    font-size: 17px;
    color: var(--white);
    font-weight: 500;
    line-height: 1.5;
}

.contact-info__value a {
    transition: var(--transition);
}

.contact-info__value a:hover {
    color: var(--amber);
}


/* --- Footer --- */
.footer {
    background: var(--navy-900);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding: 80px 0 0;
}

.footer__top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.footer__about {
    margin-top: 20px;
    font-size: 15px;
    color: var(--gray-500);
    line-height: 1.7;
    max-width: 320px;
}

.footer__heading {
    font-size: 12px;
    font-weight: 700;
    color: var(--amber);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 24px;
}

.footer__list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.footer__list li,
.footer__list a {
    font-size: 15px;
    color: var(--gray-500);
    transition: var(--transition);
}

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

.footer__bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 28px 0;
    font-size: 14px;
    color: var(--gray-600);
}


/* --- Scroll Animations --- */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }


/* ============================================
   Responsive
   ============================================ */

@media (max-width: 1024px) {
    .container {
        padding: 0 32px;
    }

    .section {
        padding: 80px 0;
    }

    .hero__title {
        font-size: 52px;
    }

    .hero__stats-inner {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero__stat {
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

    .hero__stat:nth-child(2) {
        border-right: none;
    }

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

    .project-row {
        grid-template-columns: 1fr;
    }

    .project-row:nth-child(even) {
        direction: ltr;
    }

    .project-row__image {
        min-height: 300px;
    }

    .project-row__content {
        padding: 40px;
    }

    .project-row__title {
        font-size: 26px;
    }

    .section-title {
        font-size: 36px;
    }

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

    .footer__top {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }

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

    .project-details {
        grid-template-columns: repeat(2, 1fr);
    }

    .project-specs {
        grid-template-columns: repeat(3, 1fr);
    }

    .page-hero__title {
        font-size: 42px;
    }

    .project-hero__title {
        font-size: 42px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }

    .nav,
    .header__cta {
        display: none;
    }

    .burger {
        display: flex;
    }

    .mobile-nav {
        display: flex;
    }

    .header__inner {
        height: 64px;
    }

    .hero {
        min-height: 100svh;
    }

    .hero__content {
        padding-top: 100px;
        padding-bottom: 200px;
    }

    .hero__title {
        font-size: 38px;
    }

    .hero__subtitle {
        font-size: 17px;
    }

    .hero__actions {
        flex-direction: column;
    }

    .hero__stats-inner {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero__stat {
        padding: 20px 16px;
        flex-direction: column;
        gap: 4px;
    }

    .hero__stat-number {
        font-size: 24px;
    }

    .hero__stat-text {
        font-size: 12px;
        text-align: center;
    }

    .section {
        padding: 64px 0;
    }

    .section-title {
        font-size: 30px;
    }

    .section-header {
        margin-bottom: 48px;
    }

    .service-card {
        padding: 36px 28px;
    }

    .service-card__number {
        font-size: 56px;
    }

    .service-card__title {
        font-size: 20px;
    }

    .project-row__content {
        padding: 32px 20px;
    }

    .project-row__title {
        font-size: 24px;
    }

    .contact-form {
        padding: 36px 24px;
    }

    .contact-info {
        padding: 36px 24px;
    }

    .footer__top {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer__bottom {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }

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

    .project-details {
        grid-template-columns: 1fr;
    }

    .project-specs {
        grid-template-columns: repeat(2, 1fr);
    }

    .page-hero {
        padding: 120px 0 60px;
    }

    .page-hero__title {
        font-size: 36px;
    }

    .project-hero {
        height: 50vh;
    }

    .project-hero__title {
        font-size: 32px;
    }

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

    .project-cta {
        padding: 60px 24px;
    }

    .project-cta__title {
        font-size: 28px;
    }

    .project-text h2 {
        font-size: 26px;
    }

    .filter-tabs {
        gap: 4px;
    }

    .filter-tab {
        padding: 8px 18px;
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .hero__title {
        font-size: 32px;
    }

    .hero__label {
        font-size: 11px;
    }

    .hero__stats-inner {
        grid-template-columns: 1fr 1fr;
    }

    .section-title {
        font-size: 26px;
    }

    .btn--large {
        padding: 16px 32px;
        font-size: 14px;
    }
}
