/* ================================================================
   CimaTech – Main Stylesheet (styles.css)
   Reusable across all subpages
   ================================================================ */

/* ============================================= */
/*  CSS VARIABLES                                */
/* ============================================= */
:root {
    --color-bg: #0F1114;
    --color-bg-elevated: #181B20;
    --color-bg-card: #1E2228;
    --color-surface: #252A31;
    --color-border: #2E343C;
    --color-text: #E8EAED;
    --color-text-muted: #9AA0A9;
    --color-text-dim: #6B737E;
    --color-accent: #F59E0B;
    --color-accent-hover: #FBBF24;
    --color-accent-dim: rgba(245, 158, 11, 0.12);
    --color-green: #84CC16;
    --color-green-dim: rgba(132, 204, 22, 0.12);
    --color-red: #EF4444;
    --color-red-dim: rgba(239, 68, 68, 0.12);
    --color-blue: #6366F1;
    --color-blue-dim: rgba(99, 102, 241, 0.12);
    --color-white: #FFFFFF;
    --font-display: 'Instrument Serif', Georgia, serif;
    --font-body: 'DM Sans', -apple-system, sans-serif;
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 32px;
    --shadow-card: 0 1px 3px rgba(0,0,0,0.3), 0 8px 32px rgba(0,0,0,0.2);
    --shadow-elevated: 0 4px 12px rgba(0,0,0,0.2), 0 16px 48px rgba(0,0,0,0.3);
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: 0.15s ease;
    --max-width: 1200px;
}


/* ============================================= */
/*  RESET & BASE                                 */
/* ============================================= */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    color: var(--color-text);
    background: var(--color-bg);
    overflow-x: hidden;
}

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

a {
    color: var(--color-accent);
    text-decoration: none;
    transition: color var(--transition);
}

a:hover {
    color: var(--color-accent-hover);
}

ul, ol {
    list-style: none;
}


/* ============================================= */
/*  LAYOUT                                       */
/* ============================================= */
.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 100px 0;
}

.section--alt {
    background: var(--color-bg-elevated);
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}


/* ============================================= */
/*  ACCESSIBILITY                                */
/* ============================================= */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border: 0;
}

:focus-visible {
    outline: 2px solid var(--color-accent);
    outline-offset: 2px;
}


/* ============================================= */
/*  REUSABLE: color-coded icon/badge/sidebar     */
/*  (shared across service cards, offer blocks,  */
/*   realizacje nav, project cards, timeline,    */
/*   reference cards)                            */
/* ============================================= */

/* Icon boxes – 52×52 default, override size per context if needed */
.icon--build   { background: var(--color-accent-dim); color: var(--color-accent); }
.icon--safety  { background: var(--color-green-dim);  color: var(--color-green); }
.icon--fire    { background: var(--color-red-dim);     color: var(--color-red); }
.icon--other   { background: var(--color-blue-dim);    color: var(--color-blue); }

/* Inline badges (pills) */
.badge--build  { background: var(--color-accent-dim); color: var(--color-accent); }
.badge--safety { background: var(--color-green-dim);  color: var(--color-green); }
.badge--fire   { background: var(--color-red-dim);     color: var(--color-red); }
.badge--cert   { background: rgba(139,92,246,0.12);   color: #A78BFA; }
.badge--mixed  { background: rgba(139,92,246,0.12);   color: #A78BFA; }

/* Card hover – reusable lift effect */
.card-hover {
    transition: all var(--transition);
}

.card-hover:hover {
    border-color: rgba(245,158,11,0.25);
    transform: translateY(-2px);
}


/* ============================================= */
/*  TYPOGRAPHY UTILITIES                         */
/* ============================================= */
.section-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: 16px;
}

.section-label::before {
    content: '';
    width: 24px;
    height: 2px;
    background: var(--color-accent);
    border-radius: 1px;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 400;
    line-height: 1.15;
    color: var(--color-white);
    margin-bottom: 20px;
}

.section-title em {
    font-style: italic;
    color: var(--color-accent);
}

.section-desc {
    font-size: 1rem;
    color: var(--color-text-muted);
    max-width: 560px;
    line-height: 1.7;
}

.text-center { text-align: center; }
.text-center .section-desc { margin-left: auto; margin-right: auto; }


/* ============================================= */
/*  BUTTONS                                      */
/* ============================================= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    border: none;
    cursor: pointer;
    transition: all var(--transition);
    text-decoration: none;
    line-height: 1;
}

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

.btn--primary:hover {
    background: var(--color-accent-hover);
    color: var(--color-bg);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(245,158,11,0.25);
}

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

.btn--outline:hover {
    background: var(--color-surface);
    color: var(--color-white);
    border-color: var(--color-text-dim);
}

.btn--sm {
    padding: 10px 20px;
    font-size: 0.85rem;
}

.btn--ghost {
    background: transparent;
    color: var(--color-accent);
    padding: 10px 0;
}

.btn--ghost:hover {
    color: var(--color-accent-hover);
}

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


/* ============================================= */
/*  TOPBAR                                       */
/* ============================================= */
.topbar {
    background: var(--color-bg-elevated);
    border-bottom: 1px solid var(--color-border);
    padding: 10px 0;
    font-size: 0.8rem;
}

.topbar__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.topbar__contact {
    display: flex;
    gap: 24px;
    color: var(--color-text-muted);
}

.topbar__contact a {
    color: var(--color-text-muted);
    display: flex;
    align-items: center;
    gap: 6px;
}

.topbar__contact a:hover {
    color: var(--color-accent);
}

.topbar__social {
    display: flex;
    gap: 8px;
}

.topbar__social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: var(--radius-sm);
    background: var(--color-surface);
    color: var(--color-text-muted);
    font-size: 0.85rem;
    transition: all var(--transition);
}

.topbar__social a:hover {
    background: var(--color-accent);
    color: var(--color-bg);
    transform: translateY(-2px);
}


/* ============================================= */
/*  HEADER / NAV                                 */
/* ============================================= */
.header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(15, 17, 20, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--color-border);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo__icon {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--color-accent), #D97706);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 1.4rem;
    color: var(--color-bg);
    font-weight: 700;
    flex-shrink: 0;
}

.logo__text {
    display: flex;
    flex-direction: column;
}

.logo__name {
    font-family: var(--font-display);
    font-size: 1.4rem;
    color: var(--color-white);
    line-height: 1.1;
}

.logo__sub {
    font-size: 0.7rem;
    color: var(--color-text-dim);
    letter-spacing: 0.04em;
}

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

.nav a {
    padding: 8px 16px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-text-muted);
    border-radius: var(--radius-sm);
    transition: all var(--transition);
}

.nav a:hover,
.nav a.active {
    color: var(--color-white);
    background: var(--color-surface);
}

.nav__cta {
    background: var(--color-accent) !important;
    color: var(--color-bg) !important;
    font-weight: 600 !important;
    margin-left: 8px;
}

.nav__cta:hover {
    background: var(--color-accent-hover) !important;
    transform: translateY(-1px);
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--color-text);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 8px;
}


/* ============================================= */
/*  HERO (homepage only)                         */
/* ============================================= */
.hero {
    position: relative;
    padding: 100px 0 80px;
    overflow: hidden;
    min-height: 85vh;
    display: flex;
    align-items: center;
}

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

.hero__bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 70% 40%, rgba(245,158,11,0.08), transparent),
        radial-gradient(ellipse 50% 50% at 20% 80%, rgba(132,204,22,0.04), transparent);
}

.hero__grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(var(--color-border) 1px, transparent 1px),
        linear-gradient(90deg, var(--color-border) 1px, transparent 1px);
    background-size: 80px 80px;
    opacity: 0.15;
    mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black 20%, transparent 70%);
}

.hero__content {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.hero__text {
    animation: fadeInUp 0.8s ease-out both;
}

.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px 6px 8px;
    background: var(--color-accent-dim);
    border: 1px solid rgba(245,158,11,0.2);
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--color-accent);
    margin-bottom: 28px;
}

.hero__badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--color-accent);
    animation: pulse 2s infinite;
}

.hero h1 {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5.5vw, 4rem);
    font-weight: 400;
    line-height: 1.08;
    color: var(--color-white);
    margin-bottom: 24px;
}

.hero h1 em {
    font-style: italic;
    color: var(--color-accent);
}

.hero__desc {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--color-text-muted);
    max-width: 520px;
    margin-bottom: 40px;
}

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

.hero__visual {
    position: relative;
    animation: fadeInUp 0.8s 0.2s ease-out both;
}

.hero__image-wrapper {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 4/3;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
}

.hero__image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero__stat-card {
    position: absolute;
    bottom: -20px;
    left: -20px;
    background: var(--color-bg-elevated);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 20px 24px;
    box-shadow: var(--shadow-card);
    animation: fadeInUp 0.8s 0.5s ease-out both;
}

.hero__stat-number {
    font-family: var(--font-display);
    font-size: 2.2rem;
    color: var(--color-accent);
    line-height: 1;
}

.hero__stat-label {
    font-size: 0.8rem;
    color: var(--color-text-muted);
    margin-top: 4px;
}


/* ============================================= */
/*  PAGE HEADER (subpages)                       */
/* ============================================= */
.page-header {
    padding: 60px 0;
    background: var(--color-bg-elevated);
    border-bottom: 1px solid var(--color-border);
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 60% 80% at 30% 50%, rgba(245,158,11,0.05), transparent);
}

.page-header > .container {
    position: relative;
    z-index: 1;
}

.page-header__breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    color: var(--color-text-dim);
    margin-bottom: 16px;
}

.page-header__breadcrumb a {
    color: var(--color-text-muted);
}

.page-header__breadcrumb a:hover {
    color: var(--color-accent);
}

.page-header__breadcrumb svg {
    opacity: 0.4;
}

.page-header h1 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 400;
    color: var(--color-white);
    margin-bottom: 12px;
}

.page-header h1 em {
    font-style: italic;
    color: var(--color-accent);
}

.page-header p {
    color: var(--color-text-muted);
    max-width: 600px;
}


/* ============================================= */
/*  SERVICE CARDS                                */
/* ============================================= */
.services__header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 64px;
}

.services__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.service-card {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 36px 32px;
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--color-accent), transparent);
    opacity: 0;
    transition: opacity var(--transition);
}

.service-card:hover {
    border-color: rgba(245,158,11,0.3);
    transform: translateY(-4px);
    box-shadow: var(--shadow-card);
}

.service-card:hover::before {
    opacity: 1;
}

.service-card__icon {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 20px;
}

/* Color variants use shared .icon--* classes */

.service-card h3 {
    font-family: var(--font-display);
    font-size: 1.35rem;
    color: var(--color-white);
    margin-bottom: 12px;
    font-weight: 400;
}

.service-card p {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    line-height: 1.65;
}

.service-card__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 20px;
}

.service-card__tag {
    display: inline-block;
    padding: 4px 10px;
    font-size: 0.72rem;
    font-weight: 500;
    border-radius: 100px;
    background: var(--color-surface);
    color: var(--color-text-muted);
    border: 1px solid var(--color-border);
}


/* ============================================= */
/*  NEWS CARDS                                   */
/* ============================================= */
.news__header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 48px;
    flex-wrap: wrap;
    gap: 20px;
}

.news__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.news-card {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: all var(--transition);
}

.news-card:hover {
    border-color: rgba(245,158,11,0.25);
    transform: translateY(-2px);
}

.news-card__dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin-right: 8px;
}

.news-card__dot--orange { background: var(--color-accent); }
.news-card__dot--green { background: var(--color-green); }

.news-card h3 {
    font-family: var(--font-display);
    font-size: 1.15rem;
    color: var(--color-white);
    margin-bottom: 12px;
    font-weight: 400;
}

.news-card p {
    font-size: 0.875rem;
    color: var(--color-text-muted);
    line-height: 1.65;
}


/* ============================================= */
/*  ABOUT SECTION                                */
/* ============================================= */
.about__grid {
    display: grid;
    grid-template-columns: 5fr 7fr;
    gap: 64px;
    align-items: center;
}

.about__image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 3/4;
    border: 1px solid var(--color-border);
}

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

.about__text p {
    color: var(--color-text-muted);
    margin-bottom: 16px;
    font-size: 0.95rem;
}

.about__text p:first-of-type::first-letter {
    font-family: var(--font-display);
    font-size: 3.5rem;
    float: left;
    line-height: 0.8;
    margin-right: 8px;
    margin-top: 6px;
    color: var(--color-accent);
}

.about__creds {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 32px;
}

.about__cred {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 20px;
    transition: all var(--transition);
}

.about__cred:hover {
    border-color: rgba(245,158,11,0.2);
}

.about__cred-year {
    font-family: var(--font-display);
    font-size: 1.6rem;
    color: var(--color-accent);
    line-height: 1;
    margin-bottom: 6px;
}

.about__cred-title {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--color-white);
    margin-bottom: 4px;
}

.about__cred-desc {
    font-size: 0.75rem;
    color: var(--color-text-dim);
}


/* ============================================= */
/*  CTA BOX                                      */
/* ============================================= */
.cta-box {
    background: linear-gradient(135deg, var(--color-bg-card) 0%, var(--color-surface) 100%);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    padding: 64px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-box::before {
    content: '';
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 300px;
    background: radial-gradient(ellipse, rgba(245,158,11,0.1), transparent 70%);
}

.cta-box > * {
    position: relative;
    z-index: 1;
}

.cta-box h2 {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    color: var(--color-white);
    margin-bottom: 16px;
}

.cta-box h2 em {
    font-style: italic;
    color: var(--color-accent);
}

.cta-box p {
    color: var(--color-text-muted);
    max-width: 500px;
    margin: 0 auto 32px;
}


/* ============================================= */
/*  CONTENT AREA (prose on subpages)             */
/* ============================================= */
.content-prose {
    max-width: 800px;
}

.content-prose h2 {
    font-family: var(--font-display);
    font-size: 1.8rem;
    color: var(--color-white);
    margin: 48px 0 16px;
    font-weight: 400;
}

.content-prose h3 {
    font-family: var(--font-display);
    font-size: 1.35rem;
    color: var(--color-white);
    margin: 36px 0 12px;
    font-weight: 400;
}

.content-prose p {
    color: var(--color-text-muted);
    margin-bottom: 16px;
    font-size: 0.95rem;
}

.content-prose ul,
.content-prose ol {
    margin: 16px 0;
    padding-left: 20px;
    list-style: none;
}

.content-prose li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 10px;
    color: var(--color-text-muted);
    font-size: 0.95rem;
}

.content-prose li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--color-accent);
}

.content-prose ol {
    counter-reset: prose-counter;
}

.content-prose ol li {
    counter-increment: prose-counter;
}

.content-prose ol li::before {
    content: counter(prose-counter);
    width: auto;
    height: auto;
    border-radius: 0;
    background: none;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--color-accent);
    top: 0;
}

.content-prose strong {
    color: var(--color-white);
    font-weight: 600;
}

.content-prose a {
    color: var(--color-accent);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.content-prose a:hover {
    color: var(--color-accent-hover);
}

.content-prose img {
    border-radius: var(--radius-md);
    margin: 24px 0;
    border: 1px solid var(--color-border);
}

.content-prose blockquote {
    border-left: 3px solid var(--color-accent);
    padding: 16px 24px;
    margin: 24px 0;
    background: var(--color-accent-dim);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    color: var(--color-text);
    font-style: italic;
}


/* ============================================= */
/*  GALLERY (for realizacje etc.)                */
/* ============================================= */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 16px;
    margin: 32px 0;
}

.gallery-grid__item {
    aspect-ratio: 4/3;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--color-border);
    transition: all var(--transition);
    cursor: pointer;
}

.gallery-grid__item:hover {
    border-color: rgba(245,158,11,0.3);
    transform: scale(1.02);
}

.gallery-grid__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


/* ============================================= */
/*  FOOTER                                       */
/* ============================================= */
.footer {
    background: var(--color-bg-elevated);
    border-top: 1px solid var(--color-border);
    padding: 64px 0 32px;
}

.footer__grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer__brand p {
    color: var(--color-text-muted);
    font-size: 0.875rem;
    margin-top: 16px;
    max-width: 280px;
}

.footer h4 {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--color-text-dim);
    margin-bottom: 20px;
}

.footer ul li {
    margin-bottom: 10px;
}

.footer ul a {
    color: var(--color-text-muted);
    font-size: 0.9rem;
    transition: color var(--transition);
}

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

.footer__contact-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 14px;
    font-size: 0.875rem;
    color: var(--color-text-muted);
}

.footer__contact-icon {
    flex-shrink: 0;
    width: 20px;
    text-align: center;
    color: var(--color-accent);
    margin-top: 2px;
}

.footer__bottom {
    border-top: 1px solid var(--color-border);
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: var(--color-text-dim);
    flex-wrap: wrap;
    gap: 12px;
}


/* ============================================= */
/*  COOKIE BANNER                                */
/*  Uses visibility+opacity for animated show/   */
/*  hide instead of display:none which blocks    */
/*  CSS transitions.                             */
/* ============================================= */
.cookie-banner {
    position: fixed;
    bottom: 24px;
    left: 24px;
    right: 24px;
    max-width: 480px;
    background: var(--color-bg-elevated);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 24px;
    z-index: 9999;
    box-shadow: var(--shadow-elevated);
    visibility: hidden;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.4s ease-out, transform 0.4s ease-out, visibility 0.4s;
}

.cookie-banner.show {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
}

.cookie-banner p {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    margin-bottom: 16px;
    line-height: 1.6;
}

.cookie-banner__actions {
    display: flex;
    gap: 12px;
}

.cookie-btn {
    padding: 10px 20px;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
    border: none;
    cursor: pointer;
    transition: all var(--transition);
}

.cookie-btn--accept {
    background: var(--color-accent);
    color: var(--color-bg);
}

.cookie-btn--accept:hover {
    background: var(--color-accent-hover);
}

.cookie-btn--more {
    background: var(--color-surface);
    color: var(--color-text-muted);
    border: 1px solid var(--color-border);
}

.cookie-btn--more:hover {
    color: var(--color-white);
}


/* ============================================= */
/*  ANIMATIONS                                   */
/* ============================================= */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50%      { opacity: 0.4; }
}

/* Scroll-reveal utility */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

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


/* ============================================= */
/*  OFFER CATEGORY BLOCKS                        */
/* ============================================= */
.offer-category {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 0;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: 32px;
    transition: all var(--transition);
}

.offer-category:hover {
    border-color: rgba(245,158,11,0.2);
}

.offer-category__sidebar {
    padding: 40px 32px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.offer-category__sidebar--build {
    background: linear-gradient(135deg, rgba(245,158,11,0.08), rgba(245,158,11,0.02));
}

.offer-category__sidebar--fire {
    background: linear-gradient(135deg, rgba(239,68,68,0.08), rgba(239,68,68,0.02));
}

.offer-category__sidebar--safety {
    background: linear-gradient(135deg, rgba(132,204,22,0.08), rgba(132,204,22,0.02));
}

.offer-category__sidebar--other {
    background: linear-gradient(135deg, rgba(99,102,241,0.08), rgba(99,102,241,0.02));
}

.offer-category__icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

/* Color variants use shared .icon--* classes */

.offer-category__sidebar h2 {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 400;
    color: var(--color-white);
    line-height: 1.2;
    margin-bottom: 8px;
}

.offer-category__sidebar p {
    font-size: 0.8rem;
    color: var(--color-text-dim);
    line-height: 1.5;
}

.offer-category__body {
    padding: 40px;
    border-left: 1px solid var(--color-border);
}

.offer-list {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px 24px;
}

.offer-list li {
    position: relative;
    padding: 10px 0 10px 28px;
    font-size: 0.875rem;
    color: var(--color-text-muted);
    line-height: 1.55;
    border-bottom: 1px solid var(--color-border);
}

.offer-list li:last-child,
.offer-list li:nth-last-child(2):nth-child(odd) {
    border-bottom: none;
}

.offer-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 16px;
    width: 8px;
    height: 8px;
    border-radius: 2px;
    background: var(--color-accent);
    opacity: 0.5;
}

.offer-list li a {
    color: var(--color-text);
    text-decoration: none;
    font-weight: 500;
    transition: color var(--transition);
}

.offer-list li a:hover {
    color: var(--color-accent);
}

.offer-list--fire li::before   { background: var(--color-red); }
.offer-list--safety li::before { background: var(--color-green); }
.offer-list--other li::before  { background: var(--color-blue); }

.offer-list--single-col {
    grid-template-columns: 1fr;
}

/* Offer stats strip */
.offer-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 64px;
}

.offer-stat {
    text-align: center;
    padding: 32px 16px;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
}

.offer-stat__number {
    font-family: var(--font-display);
    font-size: 2.4rem;
    color: var(--color-accent);
    line-height: 1;
    margin-bottom: 8px;
}

.offer-stat__label {
    font-size: 0.8rem;
    color: var(--color-text-dim);
    line-height: 1.4;
}


/* ============================================= */
/*  REALIZACJE – category navigation             */
/* ============================================= */
.realiz-nav {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 64px;
}

.realiz-nav__card {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    text-decoration: none;
    text-align: center;
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}

.realiz-nav__card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    opacity: 0;
    transition: opacity var(--transition);
}

.realiz-nav__card:hover {
    border-color: rgba(245,158,11,0.3);
    transform: translateY(-4px);
    box-shadow: var(--shadow-card);
}

.realiz-nav__card:hover::before {
    opacity: 1;
}

.realiz-nav__card--build::before  { background: linear-gradient(90deg, var(--color-accent), transparent); }
.realiz-nav__card--fire::before   { background: linear-gradient(90deg, var(--color-red), transparent); }
.realiz-nav__card--safety::before { background: linear-gradient(90deg, var(--color-green), transparent); }

.realiz-nav__card.active {
    border-color: rgba(245,158,11,0.4);
    background: var(--color-surface);
}

.realiz-nav__icon {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

/* Color variants use shared .icon--* classes */

.realiz-nav__title {
    font-family: var(--font-display);
    font-size: 1.15rem;
    color: var(--color-white);
    margin-bottom: 6px;
}

.realiz-nav__desc {
    font-size: 0.8rem;
    color: var(--color-text-dim);
}


/* ============================================= */
/*  REALIZACJE – project cards                   */
/* ============================================= */
.project-card {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: 32px;
    transition: all var(--transition);
}

.project-card:hover {
    border-color: rgba(245,158,11,0.2);
}

.project-card__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 28px 32px;
    border-bottom: 1px solid var(--color-border);
    flex-wrap: wrap;
    gap: 12px;
}

.project-card__client {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.project-card__name {
    font-family: var(--font-display);
    font-size: 1.2rem;
    color: var(--color-white);
}

.project-card__location {
    font-size: 0.8rem;
    color: var(--color-text-dim);
}

.project-card__badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    font-size: 0.72rem;
    font-weight: 600;
    border-radius: 100px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

/* Color variants use shared .badge--* classes */

.project-card__body {
    padding: 28px 32px;
}

.project-card__scope {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    margin-bottom: 20px;
    line-height: 1.6;
}

.project-card__scope strong {
    color: var(--color-white);
}

.project-card__photos {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 12px;
}

.project-card__photo {
    aspect-ratio: 4/3;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--color-border);
    transition: all var(--transition);
    cursor: pointer;
}

.project-card__photo:hover {
    border-color: rgba(245,158,11,0.3);
    transform: scale(1.02);
}

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

.project-card__caption {
    font-size: 0.75rem;
    color: var(--color-text-dim);
    margin-top: 6px;
    text-align: center;
}


/* ============================================= */
/*  QUALIFICATIONS – TIMELINE                    */
/* ============================================= */
.quals {
    max-width: 820px;
    margin: 0 auto;
}

.timeline {
    position: relative;
    padding: 2rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 28px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: rgba(245,158,11,0.25);
}

.timeline__item {
    position: relative;
    margin-bottom: 2.5rem;
    padding-left: 68px;
}

.timeline__dot {
    position: absolute;
    left: 18px;
    top: 6px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 2px solid var(--color-accent);
    background: var(--color-bg);
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.timeline__dot svg {
    width: 12px;
    height: 12px;
    stroke: var(--color-accent);
    fill: none;
    stroke-width: 2;
}

.timeline__year {
    font-family: var(--font-display);
    font-size: 1.1rem;
    color: var(--color-accent);
    margin-bottom: 0.25rem;
}

.timeline__card {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 1.25rem 1.5rem;
}

.timeline__title {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--color-white);
    margin-bottom: 0.35rem;
}

.timeline__org {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    margin-bottom: 0.5rem;
}

.timeline__desc {
    font-size: 0.9rem;
    color: var(--color-text);
    line-height: 1.6;
}

.timeline__badge {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.2em 0.65em;
    border-radius: var(--radius-sm);
    margin-bottom: 0.5rem;
}

/* Color variants use shared .badge--* classes */

.timeline__photo {
    margin-top: 0.75rem;
}

.timeline__photo img {
    width: 100%;
    max-width: 320px;
    border-radius: var(--radius-sm);
    opacity: 0.85;
    transition: opacity var(--transition);
}

.timeline__photo img:hover {
    opacity: 1;
}


/* ============================================= */
/*  QUALIFICATIONS – TRAINING GRID               */
/* ============================================= */
.quals__heading {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--color-white);
    margin: 3rem 0 0.5rem;
}

.quals__subheading {
    color: var(--color-text-muted);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.trainings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}

.training-card {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 1rem 1.25rem;
}

.training-card__title {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--color-text);
    margin-bottom: 0.25rem;
}

.training-card__org {
    font-size: 0.8rem;
    color: var(--color-text-muted);
}


/* ============================================= */
/*  REFERENCES – CARD GRID                       */
/* ============================================= */
.ref-intro {
    max-width: 680px;
    font-size: 0.95rem;
    color: var(--color-text);
    line-height: 1.7;
    margin-bottom: 2.5rem;
}

.ref-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 1.5rem;
}

.ref-card {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: border-color var(--transition), transform var(--transition);
}

.ref-card:hover {
    border-color: rgba(245,158,11,0.25);
    transform: translateY(-2px);
}

.ref-card__img {
    display: block;
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    border-bottom: 1px solid var(--color-border);
    opacity: 0.88;
    transition: opacity var(--transition);
}

.ref-card:hover .ref-card__img {
    opacity: 1;
}

.ref-card__body {
    padding: 1.25rem 1.5rem;
}

.ref-card__company {
    font-family: var(--font-display);
    font-size: 1.1rem;
    color: var(--color-white);
    margin-bottom: 0.3rem;
}

.ref-card__person {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    margin-bottom: 0.5rem;
}

.ref-card__scope {
    font-size: 0.85rem;
    color: var(--color-text);
    line-height: 1.5;
}

.ref-card__badge {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.2em 0.6em;
    border-radius: var(--radius-sm);
    margin-bottom: 0.6rem;
}

/* Color variants use shared .badge--* classes */


/* ============================================= */
/*  CONTACT PAGE                                 */
/* ============================================= */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 3rem;
    align-items: start;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-card {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 1.25rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.contact-card__icon {
    color: var(--color-accent);
    margin-bottom: 0.15rem;
}

.contact-card__label {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--color-text-muted);
}

.contact-card__value {
    font-size: 0.95rem;
    color: var(--color-white);
    line-height: 1.5;
    text-decoration: none;
}

.contact-card__value:hover {
    color: var(--color-accent);
}

/* Form */
.contact-form-wrap {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 2rem 2.5rem;
}

.contact-form__title {
    font-family: var(--font-display);
    font-size: 1.4rem;
    color: var(--color-white);
    margin-bottom: 0.35rem;
}

.contact-form__desc {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    margin-bottom: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    margin-bottom: 1rem;
}

.form-group label {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--color-text);
}

.form-group input,
.form-group select,
.form-group textarea {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    padding: 0.7rem 1rem;
    font-size: 0.9rem;
    color: var(--color-white);
    font-family: var(--font-body);
    transition: border-color var(--transition-fast);
    width: 100%;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--color-text-dim);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-accent);
}

.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%23888' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}

.form-group select option {
    background: var(--color-bg-elevated);
    color: var(--color-white);
}

.form-group--consent {
    margin-bottom: 1.5rem;
}

.checkbox-label {
    display: flex;
    gap: 0.6rem;
    align-items: flex-start;
    font-size: 0.8rem;
    color: var(--color-text-muted);
    cursor: pointer;
    line-height: 1.5;
}

.checkbox-label input {
    margin-top: 0.2rem;
    flex-shrink: 0;
    width: auto;
    accent-color: var(--color-accent);
}

.form-status {
    margin-top: 1rem;
    font-size: 0.85rem;
    padding: 0.75rem 1rem;
    border-radius: var(--radius-sm);
    display: none;
}

.form-status--success {
    display: block;
    background: var(--color-green-dim);
    color: var(--color-green);
    border: 1px solid rgba(132,204,22,0.2);
}

.form-status--error {
    display: block;
    background: var(--color-red-dim);
    color: var(--color-red);
    border: 1px solid rgba(239,68,68,0.2);
}

.contact-map {
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--color-border);
}

.contact-map iframe {
    display: block;
    border: 0;
    width: 100%;
    min-height: 250px;
    filter: grayscale(0.3) brightness(0.85);
    transition: filter var(--transition);
}

.contact-map:hover iframe {
    filter: grayscale(0) brightness(1);
}

.back-to-toc {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--color-border);
}

.back-to-toc a {
    font-size: 0.85rem;
    color: var(--color-accent);
    text-decoration: none;
    font-weight: 500;
    transition: color var(--transition-fast);
}

.back-to-toc a:hover {
    color: var(--color-accent-hover);
}


/* ============================================= */
/*  HERO SLIDER (CSS-only, scroll-snap)          */
/* ============================================= */
.hero-slider {
    position: relative;
    overflow: hidden;
}

.hero-slider__track {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.hero-slider__track::-webkit-scrollbar {
    display: none;
}

.hero-slider__slide {
    position: relative;
    flex: 0 0 100%;
    scroll-snap-align: start;
    min-height: 420px;
    max-height: 560px;
    overflow: hidden;
}

.hero-slider__slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hero-slider__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(15,17,20,0.85) 0%, rgba(15,17,20,0.4) 60%, transparent 100%);
    display: flex;
    align-items: center;
}

.hero-slider__overlay .section-label {
    margin-bottom: 0.5rem;
}

.hero-slider__overlay h2 {
    font-family: var(--font-display);
    font-size: clamp(1.6rem, 4vw, 2.8rem);
    color: var(--color-white);
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.hero-slider__dots {
    position: absolute;
    bottom: 1.25rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
    z-index: 2;
}

.hero-slider__dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.35);
    border: 1px solid rgba(255,255,255,0.2);
    transition: background var(--transition-fast);
    cursor: pointer;
}

.hero-slider__dot:hover {
    background: var(--color-accent);
}


/* ============================================= */
/*  RESPONSIVE                                   */
/* ============================================= */
@media (max-width: 1024px) {
    .hero__content {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .hero__visual { order: -1; }

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

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

    .about__image { max-width: 400px; }

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

    .offer-category {
        grid-template-columns: 1fr;
    }

    .offer-category__body {
        border-left: none;
        border-top: 1px solid var(--color-border);
    }

    .offer-list {
        grid-template-columns: 1fr;
    }

    .offer-stats {
        grid-template-columns: 1fr 1fr;
    }
}

@media (min-width: 769px) {
    .timeline::before {
        left: 50%;
        transform: translateX(-1px);
    }

    .timeline__item {
        width: 45%;
        padding-left: 0;
        margin-bottom: 3rem;
    }

    .timeline__item:nth-child(odd) {
        margin-left: 55%;
        padding-left: 2.5rem;
    }

    .timeline__item:nth-child(even) {
        margin-right: 55%;
        padding-right: 2.5rem;
        text-align: right;
    }

    .timeline__item:nth-child(even) .timeline__photo {
        display: flex;
        justify-content: flex-end;
    }

    .timeline__dot { left: auto; }

    .timeline__item:nth-child(odd) .timeline__dot  { left: -40px; }
    .timeline__item:nth-child(even) .timeline__dot { right: -40px; left: auto; }
}

@media (max-width: 768px) {
    .nav { display: none; }
    .nav-toggle { display: block; }

    .nav.open {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        background: var(--color-bg-elevated);
        border-bottom: 1px solid var(--color-border);
        padding: 16px 24px;
        gap: 4px;
    }

    .nav.open a { width: 100%; }

    .services__grid  { grid-template-columns: 1fr; }
    .news__grid      { grid-template-columns: 1fr; }
    .footer__grid    { grid-template-columns: 1fr; }
    .realiz-nav      { grid-template-columns: 1fr; }
    .cta-box         { padding: 40px 24px; }
    .topbar__contact { gap: 16px; font-size: 0.75rem; }
    .hero            { padding: 60px 0; min-height: auto; }
    .about__creds    { grid-template-columns: 1fr; }
    .section         { padding: 64px 0; }

    .contact-layout {
        grid-template-columns: 1fr;
    }

    .contact-form-wrap {
        padding: 1.5rem;
    }

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

    .project-card__header { padding: 20px 24px; }
    .project-card__body   { padding: 20px 24px; }
    .project-card__photos { grid-template-columns: 1fr 1fr; }

    .hero-slider__slide    { min-height: 300px; }
    .hero-slider__overlay h2 { font-size: 1.4rem; }
}

@media (max-width: 480px) {
    .hero__actions { flex-direction: column; }
    .btn { width: 100%; }

    .hero__stat-card {
        position: relative;
        bottom: auto;
        left: auto;
        margin-top: 16px;
    }

    .topbar__contact { flex-direction: column; gap: 6px; }
    .container       { padding: 0 16px; }
    .gallery-grid    { grid-template-columns: 1fr 1fr; }
    .offer-category  { grid-template-columns: 1fr; }
    .offer-stats     { grid-template-columns: 1fr; }
    .ref-grid        { grid-template-columns: 1fr; }

    .offer-category__sidebar { padding: 28px 24px; }
    .offer-category__body    { padding: 28px 24px; }

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