/* =========================================================
   ŁANTEL – Instalacje elektryczne i teletechniczne
   Motyw: granatowo-niebieski, Space Grotesk + Inter
   ========================================================= */

:root {
    --font-heading: 'Space Grotesk', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Paleta kolorów */
    --color-bg:             #f3f5fb;
    --color-surface:        #ffffff;
    --color-ink:            #1b2337;
    --color-muted:          #4d5b7a;
    --color-primary:        #1a6de8;
    --color-primary-strong: #1251bc;
    --color-primary-dark:   #0d3a8a;
    --color-border:         #cdd6ea;
    --color-dark:           #161e30;
    --color-dark-2:         #1e2a44;

    /* Cienie */
    --shadow-soft:  0 16px 40px rgba(18, 40, 100, 0.13);
    --shadow-card:  0 6px 20px rgba(18, 40, 100, 0.09);
    --shadow-blue:  0 8px 24px rgba(26, 109, 232, 0.30);

    /* Zaokrąglenia */
    --radius-xl: 24px;
    --radius-lg: 16px;
    --radius-md: 10px;
    --radius-sm: 6px;
}

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

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: var(--font-body);
    color: var(--color-ink);
    background: var(--color-bg);
    line-height: 1.65;
    font-size: 1rem;
}

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

a { color: var(--color-primary); }

p { margin: 0 0 1rem; }

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    margin: 0 0 0.85rem;
    line-height: 1.18;
    letter-spacing: -0.025em;
    color: var(--color-ink);
}

ul { margin: 0; padding-left: 1.1rem; }
li + li { margin-top: 0.5rem; }

address { font-style: normal; }

/* ── Utilities ── */
.container {
    width: min(1160px, 92vw);
    margin: 0 auto;
}

.sr-only {
    position: absolute; width: 1px; height: 1px;
    margin: -1px; padding: 0; overflow: hidden;
    border: 0; clip: rect(0,0,0,0);
}

.skip-link {
    position: absolute; top: -60px; left: 20px;
    background: var(--color-ink); color: #fff;
    padding: 0.6rem 1rem; border-radius: 8px; z-index: 9999;
}
.skip-link:focus { top: 14px; }

.eyebrow {
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 0.13em;
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 0.75rem;
}

/* ── Buttons ── */
.btn {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 0.78rem 1.4rem;
    border-radius: var(--radius-md);
    border: 2px solid transparent;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.93rem;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.18s ease, box-shadow 0.18s ease,
                background-color 0.18s ease, color 0.18s ease,
                border-color 0.18s ease;
}

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

.btn:focus-visible {
    outline: 3px solid var(--color-primary);
    outline-offset: 3px;
}

.btn-primary {
    background: var(--color-primary);
    color: #fff;
    box-shadow: var(--shadow-blue);
}
.btn-primary:hover, .btn-primary:focus-visible {
    background: var(--color-primary-strong);
    box-shadow: 0 10px 28px rgba(26, 109, 232, 0.38);
}

.btn-outline {
    background: transparent;
    border-color: var(--color-primary);
    color: var(--color-primary);
}
.btn-outline:hover, .btn-outline:focus-visible {
    background: var(--color-primary);
    color: #fff;
}

.btn-dark {
    background: var(--color-dark);
    color: #fff;
}
.btn-dark:hover, .btn-dark:focus-visible {
    background: var(--color-dark-2);
}

.btn-white {
    background: #fff;
    color: var(--color-primary-strong);
    font-weight: 700;
}
.btn-white:hover, .btn-white:focus-visible {
    background: #e8effe;
}

.btn-outline-white {
    background: transparent;
    border-color: rgba(255,255,255,0.6);
    color: #fff;
}
.btn-outline-white:hover, .btn-outline-white:focus-visible {
    background: rgba(255,255,255,0.12);
    border-color: #fff;
}

.btn-sm { padding: 0.55rem 1rem; font-size: 0.88rem; }

/* ── Header ── */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255,255,255,0.96);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--color-border);
    transition: box-shadow 0.2s ease;
}

.site-header.scrolled {
    box-shadow: 0 2px 16px rgba(18, 40, 100, 0.10);
}

.header-shell {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    min-height: 78px;
}

.brand { flex-shrink: 0; }
.brand img { height: auto; }

.main-nav {
    display: flex;
    align-items: center;
    gap: 0.2rem;
    margin-left: auto;
}

.main-nav a {
    text-decoration: none;
    color: var(--color-ink);
    font-weight: 500;
    font-size: 0.94rem;
    padding: 0.4rem 0.75rem;
    border-radius: var(--radius-sm);
    transition: color 0.15s ease, background 0.15s ease;
}

.main-nav a:hover, .main-nav a:focus-visible {
    color: var(--color-primary);
    background: rgba(26, 109, 232, 0.07);
}

.main-nav a.is-active {
    color: var(--color-primary);
    font-weight: 700;
    background: rgba(26, 109, 232, 0.08);
}

.header-cta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-shrink: 0;
}

.header-phone {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    text-decoration: none;
    color: var(--color-ink);
    font-weight: 600;
    font-size: 0.9rem;
}

.header-phone svg { color: var(--color-primary); flex-shrink: 0; }

.nav-toggle {
    display: none;
    width: 42px; height: 42px;
    border: 1.5px solid var(--color-border);
    border-radius: var(--radius-md);
    background: #fff;
    padding: 0;
    cursor: pointer;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.nav-toggle span {
    display: block;
    width: 20px; height: 2px;
    background: var(--color-primary);
    border-radius: 2px;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

/* ── Hero ── */
.hero {
    position: relative;
    min-height: clamp(480px, 70vh, 700px);
    display: grid;
    align-items: center;
    overflow: hidden;
    background: var(--color-dark);
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0.30;
}

/* Diagonalna nakładka – lewa strona ciemna, prawa odkrywa zdjęcie */
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        108deg,
        rgba(22, 30, 48, 0.98)  0%,
        rgba(22, 30, 48, 0.98) 48%,
        rgba(18, 81, 188, 0.55) 68%,
        rgba(26, 109, 232, 0.18) 100%
    );
}

/* Pionowy pasek akcentu */
.hero-content {
    position: relative;
    z-index: 2;
    max-width: 640px;
    padding: 5rem 0;
    color: #fff;
}

.hero-content::before {
    content: '';
    display: block;
    width: 3px;
    height: 48px;
    background: var(--color-primary);
    border-radius: 2px;
    margin-bottom: 1.4rem;
}

.hero-kicker {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: rgba(255,255,255,0.65);
    margin-bottom: 1rem;
}

.hero-content h1 {
    font-size: clamp(2rem, 4.2vw, 3.4rem);
    color: #fff;
    margin-bottom: 1.15rem;
}

.hero-content p {
    font-size: clamp(1rem, 1.8vw, 1.12rem);
    color: rgba(255,255,255,0.82);
    max-width: 540px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    margin-top: 2rem;
}

/* ── Sekcje ogólne ── */
.section { padding: clamp(3.5rem, 6vw, 5.5rem) 0; }

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

.section-dark {
    background: var(--color-dark);
    color: #fff;
}

.section-heading {
    margin-bottom: 2.5rem;
}

.section-heading h2 {
    font-size: clamp(1.6rem, 3vw, 2.4rem);
}

.section-heading p {
    color: var(--color-muted);
    max-width: 620px;
    margin-top: 0.5rem;
}

/* ── Branch Split (dwie branże – unikalna sekcja) ── */
.branch-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.branch-card {
    padding: clamp(2.5rem, 5vw, 4rem) clamp(1.5rem, 4vw, 3.5rem);
    position: relative;
    overflow: hidden;
}

.branch-card::before {
    content: '';
    position: absolute;
    top: -40px; right: -40px;
    width: 220px; height: 220px;
    border-radius: 50%;
    opacity: 0.08;
}

.branch-electric {
    background: var(--color-dark);
    color: #fff;
}

.branch-electric::before {
    background: var(--color-primary);
}

.branch-telecom {
    background: var(--color-primary);
    color: #fff;
}

.branch-telecom::before {
    background: #fff;
}

.branch-icon {
    width: 56px; height: 56px;
    border-radius: var(--radius-md);
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.7rem;
    font-weight: 700;
}

.branch-electric .branch-icon {
    background: rgba(26, 109, 232, 0.2);
}

.branch-telecom .branch-icon {
    background: rgba(255, 255, 255, 0.2);
}

.branch-card h2 {
    color: #fff;
    font-size: clamp(1.4rem, 2.4vw, 1.95rem);
    margin-bottom: 0.8rem;
}

.branch-card p {
    color: rgba(255,255,255,0.80);
    margin-bottom: 1.4rem;
}

.branch-list {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
}

.branch-list li {
    padding: 0.45rem 0;
    color: rgba(255,255,255,0.88);
    font-size: 0.93rem;
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
}

.branch-list li::before {
    content: '→';
    color: rgba(255,255,255,0.5);
    flex-shrink: 0;
    margin-top: 0.05em;
}

.branch-electric .branch-list li::before { color: var(--color-primary); }

.branch-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: #fff;
    font-weight: 700;
    font-size: 0.92rem;
    border-bottom: 2px solid rgba(255,255,255,0.35);
    padding-bottom: 2px;
    transition: border-color 0.18s ease;
}

.branch-link:hover { border-color: #fff; }

/* ── Feature row (Dlaczego ŁANTEL) ── */
.feature-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.feature-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 1.4rem;
    box-shadow: var(--shadow-card);
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.feature-item:hover {
    box-shadow: var(--shadow-soft);
    transform: translateY(-2px);
}

.feature-num {
    width: 42px; height: 42px;
    flex-shrink: 0;
    border-radius: var(--radius-sm);
    background: rgba(26, 109, 232, 0.10);
    color: var(--color-primary);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.05rem;
    display: flex; align-items: center; justify-content: center;
}

.feature-item h3 {
    font-size: 0.97rem;
    margin-bottom: 0.35rem;
}

.feature-item p {
    margin: 0;
    color: var(--color-muted);
    font-size: 0.9rem;
}

/* ── Stats band ── */
.stats-band {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    background: var(--color-dark);
    border-radius: var(--radius-xl);
    overflow: hidden;
}

.stat-item {
    padding: 2rem 1.5rem;
    text-align: center;
    border-right: 1px solid rgba(255,255,255,0.08);
}

.stat-item:last-child { border-right: none; }

.stat-value {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--color-primary);
    display: block;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.62);
    font-weight: 500;
}

/* ── Strona hero (wewnętrzna) ── */
.page-hero {
    position: relative;
    min-height: 340px;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    background: var(--color-dark);
}

.page-hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0.25;
}

.page-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        120deg,
        rgba(20, 28, 55, 0.97) 0%,
        rgba(20, 28, 55, 0.92) 50%,
        rgba(18, 81, 188, 0.60) 100%
    );
}

.page-hero-content {
    position: relative;
    z-index: 2;
    color: #fff;
    padding: 3rem 0 2.8rem;
    max-width: 700px;
}

.page-hero-content h1 {
    color: #fff;
    font-size: clamp(1.8rem, 3.5vw, 2.75rem);
}

.page-hero-content p {
    color: rgba(255,255,255,0.82);
    font-size: 1.05rem;
    margin: 0;
}

/* ── Service tiles (strona główna, 4 kafle w rzędzie) ── */
.service-tiles {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.service-tile {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-top: 3px solid var(--color-primary);
    border-radius: var(--radius-lg);
    padding: 1.3rem 1.1rem 1.4rem;
    box-shadow: var(--shadow-card);
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.service-tile:hover {
    box-shadow: var(--shadow-soft);
    transform: translateY(-3px);
}

.service-tile-tag {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-primary);
    margin-bottom: 0.55rem;
    display: block;
}

.service-tile h3 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.service-tile p {
    margin: 0;
    color: var(--color-muted);
    font-size: 0.88rem;
    line-height: 1.55;
}

/* ── Service blocks (podstrona usług – na przemian lewo/prawo) ── */
.service-blocks { display: flex; flex-direction: column; gap: 1.25rem; }

.service-block {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-card);
}

.service-block.reversed {
    grid-template-columns: 1.05fr 0.95fr;
}

.service-block.reversed .service-block-img { order: 2; }
.service-block.reversed .service-block-body { order: 1; }

.service-block-img img {
    width: 100%;
    height: 100%;
    min-height: 280px;
    object-fit: cover;
    display: block;
}

.service-block-body {
    padding: 2rem 2rem 2rem 1.75rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.service-block.reversed .service-block-body {
    padding: 2rem 1.75rem 2rem 2rem;
}

.service-block-tag {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #fff;
    background: var(--color-primary);
    border-radius: 999px;
    padding: 0.25rem 0.7rem;
    margin-bottom: 0.85rem;
}

.service-block-body h2 {
    font-size: clamp(1.2rem, 2.2vw, 1.6rem);
    margin-bottom: 0.7rem;
}

.service-block-body p {
    color: var(--color-muted);
    font-size: 0.95rem;
}

.service-block-body ul {
    color: var(--color-muted);
    font-size: 0.93rem;
    margin-bottom: 1rem;
}

.service-block-body li + li { margin-top: 0.4rem; }

/* ── Service TOC (pigułki nawigacyjne na podstronie usług) ── */
.service-toc {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    padding: 1.5rem 0;
    border-bottom: 1px solid var(--color-border);
    margin-bottom: 2.5rem;
}

.service-toc a {
    text-decoration: none;
    color: var(--color-ink);
    font-size: 0.85rem;
    font-weight: 500;
    background: var(--color-surface);
    border: 1.5px solid var(--color-border);
    border-radius: 999px;
    padding: 0.4rem 0.9rem;
    transition: border-color 0.15s, color 0.15s, background 0.15s;
}

.service-toc a:hover, .service-toc a:focus-visible {
    border-color: var(--color-primary);
    color: var(--color-primary);
    background: rgba(26,109,232,0.05);
}

/* ── O firmie (about) ── */
.about-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
    align-items: start;
}

.about-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    padding: clamp(1.5rem, 3vw, 2.2rem);
    box-shadow: var(--shadow-card);
}

.about-card h2 { margin-bottom: 1rem; }

.about-card p { color: var(--color-muted); }

.about-card.accent-card {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: #fff;
}

.about-card.accent-card h2,
.about-card.accent-card p,
.about-card.accent-card .big-number { color: #fff; }

.big-number {
    font-family: var(--font-heading);
    font-size: clamp(2.8rem, 5vw, 4rem);
    font-weight: 700;
    color: var(--color-primary);
    line-height: 1;
    display: block;
    margin-bottom: 0.4rem;
}

.check-list {
    list-style: none;
    padding: 0;
    margin-top: 1rem;
}

.check-list li {
    padding: 0.45rem 0 0.45rem 1.8rem;
    position: relative;
    color: var(--color-muted);
    border-bottom: 1px solid var(--color-border);
    font-size: 0.95rem;
}

.check-list li:last-child { border-bottom: none; }

.check-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--color-primary);
    font-weight: 700;
}

.values-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: 1.25rem;
}

.value-item {
    padding: 1rem;
    background: rgba(26,109,232,0.06);
    border-radius: var(--radius-md);
    border-left: 3px solid var(--color-primary);
}

.value-item h4 {
    font-size: 0.92rem;
    margin-bottom: 0.3rem;
}

.value-item p {
    font-size: 0.85rem;
    color: var(--color-muted);
    margin: 0;
}

/* ── Klienci ── */
.clients-section {
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
    background: #fff;
}

.clients-grid {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2.5rem 4rem;
    padding: 2.5rem 0;
}

.client-logo-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
}

.client-logo-wrap img {
    height: 52px;
    width: auto;
    display: block;
    filter: grayscale(100%) opacity(0.45);
    transition: filter 0.28s ease, transform 0.22s ease;
}

.client-logo-wrap img:hover {
    filter: grayscale(0%) opacity(1);
    transform: scale(1.07);
}

/* ── Kontakt ── */
.contact-layout {
    display: grid;
    grid-template-columns: 0.75fr 1.25fr;
    gap: 1.25rem;
    align-items: start;
}

.contact-card,
.contact-form-wrap {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    padding: clamp(1.2rem, 3vw, 1.8rem);
    box-shadow: var(--shadow-card);
}

.contact-card h2, .contact-form-wrap h2 {
    font-size: 1.35rem;
    margin-bottom: 1.2rem;
}

.contact-detail {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.contact-detail svg {
    flex-shrink: 0;
    color: var(--color-primary);
    margin-top: 2px;
}

.contact-detail p { margin: 0; font-size: 0.93rem; }

.contact-detail a { color: var(--color-ink); text-decoration: none; }
.contact-detail a:hover { color: var(--color-primary); }

.contact-nip {
    margin-top: 1.25rem;
    padding-top: 1rem;
    border-top: 1px solid var(--color-border);
    font-size: 0.85rem;
    color: var(--color-muted);
}

/* ── Formularz ── */
.field-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.85rem;
}

.field { margin-bottom: 0.85rem; }

.field label {
    display: block;
    margin-bottom: 0.35rem;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--color-ink);
}

.field input,
.field textarea {
    width: 100%;
    border: 1.5px solid var(--color-border);
    border-radius: var(--radius-md);
    background: #fafbfe;
    padding: 0.72rem 0.85rem;
    font: inherit;
    font-size: 0.93rem;
    color: var(--color-ink);
    transition: border-color 0.15s, box-shadow 0.15s;
}

.field input:focus,
.field textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(26,109,232,0.12);
}

.form-actions {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.form-note {
    font-size: 0.82rem;
    color: var(--color-muted);
    margin: 0;
}

.honey-field {
    position: absolute;
    left: -9999px; top: -9999px;
    opacity: 0; pointer-events: none;
}

/* ── Alerty ── */
.alert {
    border-radius: var(--radius-md);
    padding: 0.8rem 1rem;
    border: 1.5px solid transparent;
    margin-bottom: 1rem;
    font-size: 0.92rem;
}

.alert ul { margin: 0; }

.alert-error   { background: #fff2f0; border-color: #f5c5be; color: #7a2929; }
.alert-success { background: #edfaf1; border-color: #9fd4af; color: #1c5e33; }
.alert-warning { background: #fff9ea; border-color: #f0d9a3; color: #7c5620; }

/* ── Dziękujemy ── */
.thanks-card {
    max-width: 680px;
    margin: 0 auto;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-soft);
    padding: clamp(1.5rem, 4vw, 2.5rem);
}

.thanks-card h1 { font-size: clamp(1.6rem, 3vw, 2.2rem); }

/* ── CTA Band (nad stopką) ── */
.cta-band {
    background: var(--color-primary);
    padding: 0;
    overflow: hidden;
}

.cta-band-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    padding: clamp(2rem, 4vw, 3rem) 0;
}

.cta-band-label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.13em;
    color: rgba(255,255,255,0.75);
    margin-bottom: 0.5rem;
}

.cta-band-text h2 {
    color: #fff;
    font-size: clamp(1.3rem, 2.5vw, 1.9rem);
    margin: 0;
}

.cta-band-actions {
    display: flex;
    gap: 0.85rem;
    flex-shrink: 0;
    flex-wrap: wrap;
}

/* ── Footer ── */
.site-footer {
    background: var(--color-dark);
    color: rgba(255,255,255,0.72);
}

.footer-top {
    display: grid;
    grid-template-columns: 1.4fr 0.8fr 1fr;
    gap: 2rem;
    padding: 3rem 0 2rem;
}

.footer-logo { filter: brightness(0) invert(1); opacity: 0.9; }

.footer-tagline {
    margin-top: 0.85rem;
    font-size: 0.88rem;
    line-height: 1.5;
    color: rgba(255,255,255,0.5);
}

.footer-nav-title {
    color: #fff;
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 1rem;
}

.footer-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-nav li + li { margin-top: 0.55rem; }

.footer-nav a,
.footer-contact a {
    color: rgba(255,255,255,0.65);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.15s;
}

.footer-nav a:hover,
.footer-contact a:hover { color: #fff; }

.footer-contact p {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    color: rgba(255,255,255,0.65);
}

.footer-area {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.4);
    margin-top: 0.75rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 1rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.footer-copy {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.35);
    margin: 0;
}

/* ── Responsive ── */
@media (max-width: 1100px) {
    .service-tiles {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .stats-band .stat-item:nth-child(2) { border-right: none; }
    .stats-band .stat-item:nth-child(3) { border-top: 1px solid rgba(255,255,255,0.08); }
    .stats-band .stat-item:last-child   { border-top: 1px solid rgba(255,255,255,0.08); }

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

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

    .footer-top {
        grid-template-columns: 1fr 1fr;
    }

    .footer-brand { grid-column: 1 / -1; }

    .service-block,
    .service-block.reversed {
        grid-template-columns: 1fr;
    }

    .service-block.reversed .service-block-img { order: 0; }
    .service-block.reversed .service-block-body { order: 0; }

    .service-block-img img { min-height: 220px; }

    .service-block-body,
    .service-block.reversed .service-block-body {
        padding: 1.5rem;
    }
}

@media (max-width: 960px) {
    .site-header { backdrop-filter: none; }

    .header-shell { min-height: 68px; }

    .nav-toggle {
        display: inline-flex;
        order: 3;
    }

    .main-nav {
        position: absolute;
        top: calc(100% + 6px);
        left: 4vw; right: 4vw;
        background: #fff;
        border: 1.5px solid var(--color-border);
        border-radius: var(--radius-lg);
        box-shadow: var(--shadow-soft);
        flex-direction: column;
        align-items: stretch;
        padding: 0.6rem;
        gap: 0.15rem;
        display: none;
        margin-left: 0;
    }

    .main-nav a {
        padding: 0.6rem 0.75rem;
        border-radius: var(--radius-sm);
    }

    .main-nav.is-open { display: flex; }

    .header-cta .btn { display: none; }

    .branch-split {
        grid-template-columns: 1fr;
    }

    .cta-band-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .cta-band-actions { width: 100%; }
    .cta-band-actions .btn { flex: 1; text-align: center; justify-content: center; }
}

@media (max-width: 700px) {
    .service-tiles { grid-template-columns: 1fr; }

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

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

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

    .footer-top { grid-template-columns: 1fr; }
    .footer-brand { grid-column: auto; }

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

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

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

    .hero-content::before { display: none; }

    .hero-actions .btn { width: 100%; }
}
