/* ============================================================
   KMI Group — Main Stylesheet
   Colors: Primary #ff5816, Dark #0a0a0e
   ============================================================ */

/* ---------- CSS VARIABLES ---------- */
:root {
    /* Brand */
    --burgundy: #ff5816;
    --burgundy-light: #ff6f36;
    --burgundy-dark: #d44a12;
    --burgundy-glow: rgba(255, 88, 22, 0.08);
    --burgundy-glow-md: rgba(255, 88, 22, 0.12);

    /* Neutrals */
    --dark: #0a0a0e;
    --dark-soft: #141418;
    --ink: #1a1a1f;
    --ink-soft: #3a3a42;
    --text: #4a4a55;
    --text-muted: #8a8a96;
    --text-light: #b0b0ba;

    /* Backgrounds */
    --bg: #fafafa;
    --bg-warm: #f5f3f0;
    --bg-card: #ffffff;
    --bg-dark: #0a0a0e;
    --bg-dark-card: #141418;

    /* Borders */
    --border: rgba(0, 0, 0, 0.06);
    --border-hover: rgba(0, 0, 0, 0.12);
    --border-dark: rgba(255, 255, 255, 0.08);

    /* Accents */
    --green: #10b981;
    --green-glow: rgba(16, 185, 129, 0.1);

    /* Shadows */
    --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.04);
    --shadow-sm: 0 2px 8px -2px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 8px 32px -8px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 24px 64px -16px rgba(0, 0, 0, 0.12);
    --shadow-xl: 0 32px 80px -20px rgba(0, 0, 0, 0.18);

    /* Layout */
    --radius: 16px;
    --radius-sm: 10px;
    --radius-xs: 6px;
    --container: 1200px;
    --nav-h: 96px;

    /* Typography */
    --font-sans: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-display: 'Space Grotesk', -apple-system, sans-serif;
    --font-mono: 'JetBrains Mono', 'Fira Code', monospace;

    /* Motion */
    --ease: cubic-bezier(0.16, 1, 0.3, 1);
    --spring: cubic-bezier(0.34, 1.56, 0.64, 1);
    --duration: 0.4s;
}

/* ---------- RESET ---------- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
body { font-family: var(--font-sans); background: var(--bg); color: var(--ink); overflow-x: hidden; line-height: 1.6; }
::selection { background: var(--burgundy); color: #fff; }
img { max-width: 100%; display: block; }

/* Global gradient glow — one continuous flow behind all content */
.page-glow {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background:
        radial-gradient(ellipse 1000px 1000px at 85% 8%, rgba(255, 88, 22, 0.35) 0%, transparent 60%),
        radial-gradient(ellipse 700px 600px at 92% 25%, rgba(255, 88, 22, 0.20) 0%, transparent 55%),
        radial-gradient(ellipse 900px 800px at 6% 45%, rgba(255, 88, 22, 0.32) 0%, transparent 55%),
        radial-gradient(ellipse 700px 600px at 10% 58%, rgba(255, 88, 22, 0.16) 0%, transparent 55%),
        radial-gradient(ellipse 1000px 900px at 90% 70%, rgba(255, 88, 22, 0.30) 0%, transparent 55%),
        radial-gradient(ellipse 600px 500px at 84% 82%, rgba(255, 88, 22, 0.16) 0%, transparent 55%),
        radial-gradient(ellipse 800px 700px at 8% 92%, rgba(255, 88, 22, 0.25) 0%, transparent 55%);
}
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
ul, ol { list-style: none; }

/* Scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--text-muted); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--text); }

/* ---------- ACCESSIBILITY ---------- */
.skip-link {
    position: absolute;
    top: -100%;
    left: 16px;
    z-index: 10000;
    padding: 12px 24px;
    background: var(--burgundy);
    color: #fff;
    font-weight: 600;
    font-size: 0.88rem;
    border-radius: 0 0 8px 8px;
    text-decoration: none;
    transition: top 0.2s;
}
.skip-link:focus {
    top: 0;
    outline: 2px solid var(--burgundy);
    outline-offset: 2px;
}

.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;
}

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

/* ---------- TYPOGRAPHY ---------- */
.section-tag {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 0.68rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--burgundy);
    margin-bottom: 16px;
}
.section-tag--light { color: rgba(255, 255, 255, 0.4); }

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 3.5vw, 3rem);
    font-weight: 500;
    line-height: 1.15;
    letter-spacing: -0.03em;
    color: var(--ink);
    margin-bottom: 18px;
}
.section-title em {
    font-style: normal;
    color: var(--burgundy);
    font-weight: 700;
}

.section-desc {
    font-size: 1rem;
    font-weight: 300;
    color: var(--text);
    max-width: 540px;
    line-height: 1.75;
}

.section-header--split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: end;
    margin-bottom: 56px;
}
.section-header--split .section-desc { justify-self: end; align-self: end; }

/* ---------- BUTTONS ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 0.88rem;
    border-radius: 999px;
    padding: 12px 28px;
    transition: all 0.3s var(--ease);
    white-space: nowrap;
    text-decoration: none;
}
.btn svg { transition: transform 0.3s var(--spring); }
.btn:hover svg { transform: translateX(3px); }

.btn-primary {
    color: #fff;
    background: var(--burgundy);
    border: 1.5px solid var(--burgundy);
}
.btn-primary:hover {
    background: var(--burgundy-light);
    border-color: var(--burgundy-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(128, 0, 32, 0.25);
}

.btn-outline {
    color: var(--ink);
    background: transparent;
    border: 1.5px solid var(--border-hover);
}
.btn-outline:hover {
    border-color: var(--ink);
    background: rgba(0, 0, 0, 0.02);
}

.btn-ghost {
    color: var(--ink);
    background: transparent;
    border: 1.5px solid transparent;
    padding-left: 4px;
    padding-right: 4px;
}
.btn-ghost:hover { color: var(--burgundy); }

.btn-sm { padding: 8px 20px; font-size: 0.82rem; }
.btn-lg { padding: 16px 36px; font-size: 0.92rem; }
.btn-full { width: 100%; }

/* ---------- ANIMATIONS ---------- */
[data-animate] {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
[data-animate].animated {
    opacity: 1;
    transform: translateY(0);
}

/* ---------- NAVBAR — Floating Glass Capsule ---------- */
.navbar-wrap {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    display: flex;
    justify-content: center;
    padding: 16px 24px;
    pointer-events: none;
    transition: padding 0.4s var(--ease);
}
.navbar-wrap.scrolled {
    padding: 10px 24px;
}

.navbar {
    pointer-events: all;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    max-width: 1280px;
    height: 64px;
    padding: 0 8px 0 24px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(40px) saturate(1.6) brightness(1.1);
    -webkit-backdrop-filter: blur(40px) saturate(1.6) brightness(1.1);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow:
        0 4px 24px rgba(0, 0, 0, 0.2),
        0 1px 0 rgba(255, 255, 255, 0.06) inset,
        0 -1px 0 rgba(0, 0, 0, 0.2) inset,
        0 0 48px -12px rgba(255, 88, 22, 0.06);
    transition: all 0.4s var(--ease);
}
.navbar-wrap.scrolled .navbar {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(48px) saturate(1.8) brightness(1.05);
    -webkit-backdrop-filter: blur(48px) saturate(1.8) brightness(1.05);
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.3),
        0 1px 0 rgba(255, 255, 255, 0.05) inset,
        0 0 60px -12px rgba(255, 88, 22, 0.08);
    height: 58px;
}

/* Logo */
.nav-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    flex-shrink: 0;
    position: relative;
}
.nav-logo-img {
    height: 54px;
    width: auto;
    object-fit: contain;
    transition: opacity 0.4s var(--ease);
}
.nav-logo:hover .nav-logo-img { opacity: 0.8; }

/* Default state (dark bg) — white logo visible, dark hidden */
.nav-logo-white { opacity: 1; }
.nav-logo-dark { position: absolute; left: 0; top: 50%; transform: translateY(-50%); opacity: 0; }

/* Light mode (over light sections) — swap logos */
.navbar-wrap.navbar-light .nav-logo-white { opacity: 0; }
.navbar-wrap.navbar-light .nav-logo-dark { opacity: 1; }

/* Menu links */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 6px;
    list-style: none;
    margin: 0 auto;
}
.nav-link {
    font-size: 0.82rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 999px;
    transition: all 0.25s var(--ease);
    position: relative;
    white-space: nowrap;
}
.nav-link:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.06);
}
.nav-link::after { display: none; }

/* Active nav link */
.nav-link--active {
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
}
.navbar-wrap.navbar-light .nav-link--active {
    color: var(--ink);
    background: rgba(0, 0, 0, 0.06);
}

/* Light mode nav links */
.navbar-wrap.navbar-light .nav-link {
    color: rgba(26, 26, 31, 0.55);
}
.navbar-wrap.navbar-light .nav-link:hover {
    color: var(--ink);
    background: rgba(0, 0, 0, 0.04);
}

/* Nav actions */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

/* CTA button in nav */
.btn-cta-nav {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 0.78rem;
    color: #fff;
    background: linear-gradient(135deg, #ff5816 0%, #c44010 100%);
    border: none;
    padding: 10px 22px;
    border-radius: 999px;
    cursor: pointer;
    text-decoration: none;
    white-space: nowrap;
    transition: all 0.3s var(--spring);
    box-shadow: 0 2px 12px rgba(255, 88, 22, 0.25);
}
.btn-cta-nav:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 24px rgba(255, 88, 22, 0.45);
    filter: brightness(1.12);
}

/* ---- Navbar Light Mode (over light sections) ---- */
.navbar-wrap.navbar-light .navbar {
    background: rgba(255, 255, 255, 0.45);
    border-color: rgba(0, 0, 0, 0.06);
    box-shadow:
        0 4px 24px rgba(0, 0, 0, 0.06),
        0 1px 0 rgba(255, 255, 255, 0.8) inset;
}
.navbar-wrap.navbar-light.scrolled .navbar {
    background: rgba(255, 255, 255, 0.65);
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.08),
        0 1px 0 rgba(255, 255, 255, 0.9) inset;
}
.navbar-wrap.navbar-light .hamburger span {
    background: var(--ink);
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    border-radius: 8px;
    z-index: 1001;
    transition: background 0.2s;
}
.hamburger:hover {
    background: rgba(255, 255, 255, 0.06);
}
.hamburger span {
    display: block;
    width: 20px;
    height: 1.5px;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 2px;
    transition: all 0.3s var(--ease);
}
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(4px, 4.5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(4px, -4.5px); }

/* ==========================================================
   HERO — Premium dark, video background, high-converting
   ========================================================== */
.hero {
    position: relative;
    min-height: 100dvh;
    overflow: hidden;
    display: flex;
    align-items: center;
    background: #08080c;
    color: #fff;
    padding-top: var(--nav-h);
}

/* Video Background */
.hero-video-wrap { position: absolute; inset: 0; z-index: 0; }
.hero-video { width: 100%; height: 100%; object-fit: cover; opacity: 0.55; }

/* Overlays */
.hero-overlay {
    position: absolute; inset: 0; z-index: 1;
    background: linear-gradient(105deg, rgba(8,8,12,0.95) 0%, rgba(8,8,12,0.85) 35%, rgba(8,8,12,0.5) 65%, rgba(8,8,12,0.3) 100%);
}
.hero-overlay-glow {
    position: absolute; inset: 0; z-index: 2;
    background-image: radial-gradient(ellipse at 85% 60%, rgba(255, 88, 22, 0.15) 0%, rgba(255, 88, 22, 0.04) 40%, transparent 70%);
    pointer-events: none;
}
.hero-vignette {
    position: absolute; inset: 0; z-index: 2;
    box-shadow: inset 0 0 150px 60px rgba(0,0,0,0.4);
    pointer-events: none;
}
.hero-noise {
    position: absolute; inset: 0; z-index: 2; opacity: 0.03; pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Layout */
.hero-layout { position: relative; z-index: 10; padding-top: 40px; padding-bottom: 48px; }
.hero-grid {
    display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 56px;
    align-items: center; min-height: calc(100dvh - var(--nav-h) - 88px);
}

/* LEFT COLUMN */
.hero-left { display: flex; flex-direction: column; }

.hero-badge {
    display: inline-flex; align-items: center; width: fit-content;
    font-family: var(--font-mono); font-size: 0.6rem; font-weight: 600;
    letter-spacing: 0.12em; text-transform: uppercase;
    color: rgba(255,255,255,0.65); padding: 8px 18px; border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.1); background: rgba(255,255,255,0.04);
    backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); margin-bottom: 28px;
}

.hero-title {
    font-family: var(--font-display); font-size: clamp(2.6rem, 4.8vw, 4.2rem);
    font-weight: 600; line-height: 1.08; letter-spacing: -0.03em;
    color: #fff; margin-bottom: 24px;
}
.hero-title em {
    font-style: normal;
    background: linear-gradient(135deg, #ff5816 0%, #ff7a3d 50%, #ff5816 100%);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}

.hero-sub {
    font-size: 1.02rem; font-weight: 300; line-height: 1.75;
    color: rgba(255,255,255,0.5); max-width: 520px; margin-bottom: 32px;
}

/* CTA Buttons */
.hero-ctas { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 36px; }

.btn-hero-primary {
    display: inline-flex; align-items: center; gap: 10px;
    font-family: var(--font-sans); font-weight: 600; font-size: 0.9rem; color: #fff;
    background: linear-gradient(135deg, #ff5816 0%, #e04010 60%, #c43a0e 100%);
    border: none; padding: 16px 32px; border-radius: 999px; cursor: pointer;
    text-decoration: none; position: relative; overflow: hidden;
    transition: all 0.35s var(--spring);
    box-shadow: 0 4px 24px rgba(255, 88, 22,0.3), 0 0 60px -10px rgba(255, 88, 22,0.2);
}
.btn-hero-primary::before {
    content: ''; position: absolute; inset: 0; border-radius: inherit;
    background: linear-gradient(135deg, rgba(255,255,255,0.15) 0%, transparent 50%);
    opacity: 0; transition: opacity 0.3s;
}
.btn-hero-primary:hover {
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 8px 40px rgba(255, 88, 22,0.45), 0 0 80px -10px rgba(255, 88, 22,0.3);
    filter: brightness(1.1);
}
.btn-hero-primary:hover::before { opacity: 1; }

.btn-hero-secondary {
    display: inline-flex; align-items: center; gap: 10px;
    font-family: var(--font-sans); font-weight: 500; font-size: 0.9rem;
    color: rgba(255,255,255,0.75); background: rgba(255,255,255,0.04);
    backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.1); padding: 15px 28px;
    border-radius: 999px; cursor: pointer; text-decoration: none;
    transition: all 0.3s var(--ease);
}
.btn-hero-secondary:hover {
    color: #fff; border-color: rgba(255,255,255,0.25);
    background: rgba(255,255,255,0.08); transform: translateY(-2px);
}

/* Trust Bar */
.hero-trust { display: flex; flex-direction: column; gap: 14px; }
.trust-items { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.trust-item {
    display: inline-flex; align-items: center; gap: 6px;
    font-size: 0.78rem; font-weight: 400; color: rgba(255,255,255,0.45);
}
.trust-pricing {
    font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.03em;
    color: rgba(255,255,255,0.3); padding: 8px 16px;
    background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.06);
    border-radius: 8px; width: fit-content;
}
.trust-pricing strong { color: rgba(255,255,255,0.6); }

/* RIGHT COLUMN: Value Card */
.hero-right { display: flex; align-items: center; justify-content: center; }

.value-card {
    position: relative; border-radius: 20px; padding: 2px;
    background: linear-gradient(160deg, rgba(255, 88, 22, 0.35) 0%, rgba(255,255,255,0.06) 40%, rgba(255, 88, 22, 0.15) 100%);
    animation: valueFloat 6s ease-in-out infinite;
}
@keyframes valueFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.value-card-inner {
    background: rgba(15,15,20,0.85); backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px); border-radius: 18px; padding: 36px;
}

.value-title {
    font-family: var(--font-display); font-size: 1.15rem; font-weight: 600;
    letter-spacing: -0.02em; color: #fff; line-height: 1.35; margin-bottom: 28px;
}

.value-list { list-style: none; display: flex; flex-direction: column; gap: 20px; margin-bottom: 28px; }
.value-list li { display: flex; align-items: flex-start; gap: 14px; }
.value-icon {
    width: 36px; height: 36px; border-radius: 10px;
    background: rgba(255, 88, 22,0.1); border: 1px solid rgba(255, 88, 22,0.15);
    display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.value-list li strong {
    display: block; font-size: 0.88rem; font-weight: 600;
    color: rgba(255,255,255,0.9); margin-bottom: 2px;
}
.value-list li span {
    font-size: 0.75rem; font-weight: 300; color: rgba(255,255,255,0.4); line-height: 1.5;
}

.value-proof {
    display: flex; align-items: center; gap: 14px;
    padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.06);
}
.value-proof-logos {
    display: flex; align-items: center; gap: 12px;
}
.value-proof-logos img {
    height: 22px; width: auto; max-width: 80px;
    object-fit: contain;
    filter: grayscale(100%) brightness(10) contrast(0.5);
    opacity: 0.6;
    transition: all 0.3s var(--ease);
}
.value-proof-logos img:hover {
    filter: grayscale(0%) brightness(10) contrast(0.6);
    opacity: 0.9;
}
.value-proof > span {
    font-size: 0.68rem; color: rgba(255,255,255,0.35); line-height: 1.4;
}

/* Hero animation states */
[data-hero-anim] { opacity: 0; transform: translateY(30px); }
[data-hero-anim].hero-visible {
    opacity: 1; transform: translateY(0);
    transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

/* ---------- TRUSTED BY — Premium Logo Strip ---------- */
.trusted {
    background: rgba(245, 243, 240, 0.7);
    padding: 48px 0 40px;
    overflow: hidden;
}
.trusted-label {
    font-family: var(--font-mono);
    font-size: 0.6rem;
    font-weight: 500;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--text-muted);
    text-align: center;
    margin-bottom: 32px;
}

/* Marquee container */
.logo-marquee {
    position: relative;
    width: 100%;
    overflow: hidden;
    mask-image: linear-gradient(90deg, transparent 0%, #000 10%, #000 90%, transparent 100%);
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 10%, #000 90%, transparent 100%);
}

.logo-marquee-track {
    display: flex;
    align-items: center;
    gap: 64px;
    width: max-content;
    animation: marqueeScroll 35s linear infinite;
}
.logo-marquee:hover .logo-marquee-track {
    animation-play-state: paused;
}

@keyframes marqueeScroll {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Individual logo item */
.logo-item {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 44px;
    padding: 0 8px;
    text-decoration: none;
    transition: all 0.4s var(--ease);
}
.logo-item img {
    height: 100%;
    width: auto;
    max-width: 160px;
    object-fit: contain;
    filter: grayscale(100%) brightness(0.6);
    opacity: 0.5;
    transition: all 0.4s var(--ease);
}
.logo-item:hover img {
    filter: grayscale(0%) brightness(1);
    opacity: 1;
    transform: scale(1.08);
}
.logo-item:hover {
    filter: drop-shadow(0 0 12px rgba(255, 88, 22, 0.15));
}

/* Smaller logos that need upscaling to match strip */
.logo-item--sm { height: 72px; }
.logo-item--sm img { max-width: 220px; }

/* Square-ish logos (e.g. DEPEL) — even larger */
.logo-item--sq { height: 88px; }
.logo-item--sq img { max-width: 240px; }

/* Responsive: smaller logos on mobile */
@media (max-width: 768px) {
    .logo-item { height: 32px; }
    .logo-marquee-track { gap: 40px; }
    .trusted { padding: 32px 0 28px; }
}

/* ---------- SECTIONS ---------- */
section {
    padding: 100px 0;
    position: relative;
    z-index: 1;
}
footer.footer {
    position: relative;
    z-index: 1;
}

/* ==============================================
   GRADIENT GLOW SYSTEM — spójne grupy:
   GROUP A (prawa): services, combo, pricing
   GROUP B (lewa):  portfolio, process, testimonial
   GROUP C (prawa): faq, contact, footer
   ============================================== */

/* ---------- PAS SECTION ---------- */
.pas-section {
    background: rgba(250, 250, 250, 0.6);
}
.pas-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    margin-top: 48px;
    align-items: start;
}
.pas-pains {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.pas-pain {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px 24px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-xs);
    transition: all 0.3s var(--ease);
}
.pas-pain:hover {
    transform: translateX(4px);
    box-shadow: var(--shadow-md);
    border-color: rgba(255, 88, 22, 0.15);
}
.pas-pain-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: rgba(255, 88, 22, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
}
.pas-pain strong {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 4px;
}
.pas-pain p {
    font-size: 0.8rem;
    font-weight: 300;
    color: var(--text);
    line-height: 1.6;
    margin: 0;
}

.pas-agitate {
    border-radius: var(--radius);
    padding: 2px;
    background: linear-gradient(160deg, rgba(255, 88, 22, 0.3) 0%, rgba(255,255,255,0.06) 40%, rgba(255, 88, 22, 0.15) 100%);
    position: sticky;
    top: 120px;
}
.pas-agitate-inner {
    background: var(--bg-dark);
    border-radius: calc(var(--radius) - 2px);
    padding: 40px;
    color: #fff;
}
.pas-agitate-lead {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 500;
    line-height: 1.45;
    color: rgba(255,255,255,0.9);
    margin: 0 0 20px;
}
.pas-agitate-divider {
    width: 40px;
    height: 2px;
    background: var(--burgundy);
    margin-bottom: 20px;
}
.pas-agitate-solution {
    font-size: 0.88rem;
    font-weight: 300;
    color: rgba(255,255,255,0.55);
    line-height: 1.7;
    margin: 0;
}

@media (max-width: 768px) {
    .pas-grid { grid-template-columns: 1fr; }
    .pas-agitate { position: static; }
}

/* ---------- SERVICES ---------- */
.services {
    background: rgba(250, 250, 250, 0.6);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 12px;
}
.svc-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: all 0.4s var(--ease);
    position: relative;
}
.svc-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}
.svc-card-inner {
    padding: 32px;
    display: flex;
    flex-direction: column;
    height: 100%;
}
.svc-card-inner .svc-desc { flex: 1; }
.svc-card-inner .svc-price-badge { align-self: flex-start; }

/* Grid layout */
.svc-card:nth-child(1) { grid-column: 1 / 8; }
.svc-card:nth-child(2) { grid-column: 8 / 13; }
.svc-card:nth-child(3) { grid-column: 1 / 5; }
.svc-card:nth-child(4) { grid-column: 5 / 9; }
.svc-card:nth-child(5) { grid-column: 9 / 13; }

/* Featured card (large) */
.svc-card--featured {
    background: var(--bg-warm);
    border-color: rgba(128, 0, 32, 0.08);
}

/* Dark card */
.svc-card--dark {
    background: var(--dark);
    border-color: transparent;
    color: #fff;
}
.svc-card--dark .svc-desc { color: rgba(255, 255, 255, 0.55); }
.svc-card--dark .svc-number { color: rgba(255, 255, 255, 0.06); }
.svc-card--dark .svc-icon-wrap { color: var(--burgundy-light); }

.svc-number {
    font-family: var(--font-display);
    font-size: 3.5rem;
    font-weight: 700;
    color: rgba(0, 0, 0, 0.03);
    line-height: 1;
    position: absolute;
    top: 24px;
    right: 28px;
}

.svc-icon-wrap {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--burgundy);
}
.svc-icon-wrap svg {
    width: 28px;
    height: 28px;
}

.svc-title {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 600;
    line-height: 1.25;
    letter-spacing: -0.02em;
    margin-bottom: 12px;
}
.svc-desc {
    font-size: 0.85rem;
    font-weight: 300;
    color: var(--text);
    line-height: 1.7;
}

.svc-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 20px;
}
.svc-tag {
    font-family: var(--font-mono);
    font-size: 0.6rem;
    letter-spacing: 0.04em;
    color: var(--text-muted);
    padding: 4px 10px;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: rgba(0, 0, 0, 0.01);
}

.svc-price-badge {
    display: inline-block;
    margin-top: 20px;
    font-family: var(--font-mono);
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    color: #fff;
    padding: 7px 16px;
    border-radius: 999px;
    border: none;
    background: linear-gradient(135deg, #ff5816, #e04010, #c43a0e, #e04010, #ff5816);
    background-size: 300% 300%;
    animation: shimmerBadge 4s ease-in-out infinite;
    box-shadow: 0 2px 12px rgba(255, 88, 22, 0.2);
}
.svc-price-badge--light {
    color: #fff;
    background: linear-gradient(135deg, #ff5816, #e04010, #c43a0e, #e04010, #ff5816);
    background-size: 300% 300%;
    animation: shimmerBadge 4s ease-in-out infinite;
    box-shadow: 0 2px 16px rgba(255, 88, 22, 0.3);
}

@keyframes shimmerBadge {
    0%   { background-position: 0% 50%; }
    50%  { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* ---------- COMBO SECTION ---------- */
.combo {
    background: rgba(245, 243, 240, 0.7);
}
.combo .section-desc { margin-bottom: 48px; }

.combo-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.combo-card { padding: 48px; }
.combo-card--light { background: var(--bg-card); }
.combo-card--dark { background: var(--dark); color: #fff; }

.combo-eyebrow {
    font-family: var(--font-mono);
    font-size: 0.62rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 14px;
}
.combo-card--dark .combo-eyebrow { color: rgba(255, 255, 255, 0.35); }

.combo-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 1.25;
    letter-spacing: -0.02em;
    margin-bottom: 14px;
}

.combo-desc {
    font-size: 0.88rem;
    font-weight: 300;
    color: var(--text);
    line-height: 1.7;
}
.combo-card--dark .combo-desc { color: rgba(255, 255, 255, 0.5); }

.combo-features {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.combo-features li {
    font-size: 0.84rem;
    font-weight: 300;
    color: var(--ink-soft);
    display: flex;
    align-items: center;
    gap: 10px;
}
.combo-features li::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--burgundy);
    flex-shrink: 0;
}
.combo-card--dark .combo-features li { color: rgba(255, 255, 255, 0.6); }
.combo-card--dark .combo-features li::before { background: var(--burgundy-light); }

.combo-price {
    display: inline-block;
    margin-top: 24px;
    font-family: var(--font-mono);
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: #fff;
    border: none;
    padding: 7px 16px;
    border-radius: 999px;
    background: linear-gradient(135deg, #ff5816, #e04010, #c43a0e, #e04010, #ff5816);
    background-size: 300% 300%;
    animation: shimmerBadge 4s ease-in-out infinite;
    box-shadow: 0 2px 12px rgba(255, 88, 22, 0.2);
}
.combo-card--dark .combo-price {
    box-shadow: 0 2px 16px rgba(255, 88, 22, 0.3);
}

/* ---------- PRICING ---------- */
.pricing {
    background: rgba(250, 250, 250, 0.6);
}
.pricing .section-desc { margin-bottom: 56px; }

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

.price-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 36px;
    position: relative;
    transition: all 0.4s var(--ease);
    box-shadow: var(--shadow-xs);
}
.price-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

/* Promo card */
.price-card--promo {
    border-color: var(--burgundy);
    box-shadow: var(--shadow-md), 0 0 0 1px var(--burgundy);
    position: relative;
    overflow: hidden;
}
.promo-tag {
    position: absolute;
    top: -1px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #ff5816, #e04010);
    color: #fff;
    font-family: var(--font-mono);
    font-size: 0.55rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 5px 18px;
    border-radius: 0 0 8px 8px;
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(255, 88, 22, 0.25);
}

/* Old price strikethrough */
.price-old {
    display: block;
    font-family: var(--font-sans);
    font-size: 0.88rem;
    font-weight: 400;
    color: var(--text-muted);
    text-decoration: line-through;
    margin-bottom: 2px;
}

.price-card--popular {
    border-color: var(--burgundy);
    box-shadow: var(--shadow-md), 0 0 0 1px var(--burgundy);
}

.popular-badge {
    position: absolute;
    top: -1px;
    left: 50%;
    transform: translateX(-50%);
    font-family: var(--font-mono);
    font-size: 0.58rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #fff;
    background: var(--burgundy);
    padding: 5px 18px;
    border-radius: 0 0 8px 8px;
}

.price-header { margin-bottom: 20px; }
.price-tier {
    font-family: var(--font-mono);
    font-size: 0.62rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-muted);
}
.price-name {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    color: var(--ink);
    margin-top: 4px;
}

.price-amount {
    display: flex;
    align-items: baseline;
    gap: 4px;
    margin-bottom: 6px;
}
.price-currency {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 400;
}
.price-value {
    font-family: var(--font-display);
    font-size: 2.6rem;
    font-weight: 700;
    color: var(--ink);
    line-height: 1;
}
.price-period {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 300;
}

.price-note {
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-bottom: 28px;
}

.price-features {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 28px;
}
.price-features li {
    font-size: 0.85rem;
    font-weight: 300;
    color: var(--ink-soft);
    display: flex;
    align-items: flex-start;
    gap: 10px;
}
.price-features li::before {
    content: '';
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    margin-top: 2px;
    border-radius: 50%;
    background: var(--burgundy-glow);
    border: 1px solid rgba(128, 0, 32, 0.15);
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4.5 8.5L7 11L11.5 5.5' stroke='%23800020' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
}

/* Context line under pricing */
.pricing-context {
    text-align: center;
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 500;
    font-style: italic;
    color: var(--ink);
    margin-top: 36px;
    margin-bottom: 12px;
    letter-spacing: -0.01em;
}

/* VAT note under pricing */
.pricing-vat-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 32px;
    padding: 12px 20px;
    border-radius: var(--radius-sm);
    background: rgba(255, 88, 22, 0.04);
    border: 1px solid rgba(255, 88, 22, 0.1);
}
.pricing-vat-note svg {
    flex-shrink: 0;
    color: var(--burgundy);
}
.pricing-vat-note span {
    font-size: 0.78rem;
    color: var(--text);
    line-height: 1.5;
}

/* ---------- PROMO BANNER ---------- */
.promo-banner {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 40px 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    box-shadow: var(--shadow-sm);
}
.promo-content { max-width: 620px; }
.promo-badge {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 0.58rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 5px 14px;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(255, 88, 22,0.08) 0%, rgba(128,0,32,0.06) 100%);
    border: 1px solid rgba(255, 88, 22,0.18);
    color: #ff5816;
    margin-bottom: 16px;
}
.promo-title {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    margin-bottom: 10px;
}
.promo-desc {
    font-size: 0.85rem;
    font-weight: 300;
    color: var(--text);
    line-height: 1.7;
}
.promo-form-wrap {
    flex-shrink: 0;
    min-width: 340px;
}
.promo-discount {
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--ink);
    text-align: center;
    margin-bottom: 12px;
    padding: 8px 14px;
    background: rgba(255, 88, 22, 0.06);
    border: 1px solid rgba(255, 88, 22, 0.12);
    border-radius: var(--radius-sm);
}
.promo-discount strong {
    color: #ff5816;
}
.promo-form {
    display: flex;
    gap: 6px;
}
.promo-form input {
    flex: 1;
    font-family: var(--font-sans);
    font-size: 0.85rem;
    padding: 12px 16px;
    border-radius: 999px;
    border: 1.5px solid var(--border);
    background: var(--bg);
    color: var(--ink);
    outline: none;
    transition: border-color 0.25s;
    min-width: 0;
}
.promo-form input:focus { border-color: var(--burgundy); }
.promo-form input::placeholder { color: var(--text-muted); }
.promo-form-btn {
    font-family: var(--font-sans);
    font-size: 0.8rem;
    font-weight: 600;
    color: #fff;
    background: linear-gradient(135deg, #ff5816, #e04010);
    border: none;
    padding: 12px 20px;
    border-radius: 999px;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.3s var(--spring);
    box-shadow: 0 2px 10px rgba(255, 88, 22, 0.2);
}
.promo-form-btn:hover {
    transform: scale(1.04);
    box-shadow: 0 4px 16px rgba(255, 88, 22, 0.35);
}
.promo-form-note {
    font-size: 0.68rem;
    color: var(--text-muted);
    margin-top: 8px;
    text-align: center;
}
.promo-form-success {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 10px;
    font-size: 0.82rem;
    font-weight: 500;
    color: #10b981;
}

@media (max-width: 768px) {
    .promo-banner {
        flex-direction: column;
        text-align: center;
        padding: 32px 24px;
    }
}

/* ---------- PORTFOLIO ---------- */
.portfolio {
    background: rgba(245, 243, 240, 0.7);
}
.portfolio .section-title { margin-bottom: 48px; }

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 16px;
}
.port-card:nth-child(1) { grid-column: span 7; }
.port-card:nth-child(2) { grid-column: span 5; }
.port-card:nth-child(3) { grid-column: span 7; order: 4; }
.port-card:nth-child(4) { grid-column: span 5; order: 3; }

.port-card {
    display: block;
    text-decoration: none;
    color: inherit;
    border-radius: var(--radius);
    overflow: hidden;
    position: relative;
    height: 380px;
    cursor: pointer;
    transition: all 0.4s var(--ease);
}
.port-card:hover { box-shadow: var(--shadow-xl); }

.port-bg {
    position: absolute;
    inset: 0;
    transition: transform 0.7s var(--ease);
}
.port-card:hover .port-bg { transform: scale(1.05); }

/* Portfolio screenshot images */
.port-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: left top;
    transition: transform 0.7s var(--ease);
}
.port-img--mid { object-position: center center; }
.port-card:hover .port-img { transform: scale(1.05); }

.port-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.1) 50%, transparent 100%);
    z-index: 1;
}

.port-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 28px;
    z-index: 2;
}
.port-tag {
    font-family: var(--font-mono);
    font-size: 0.58rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--burgundy-light);
    margin-bottom: 8px;
}
.port-title {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    color: #fff;
    line-height: 1.3;
}
.port-result {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 6px;
}

.port-arrow {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    transition: all 0.35s var(--spring);
    color: rgba(255, 255, 255, 0.5);
}
.port-card:hover .port-arrow {
    background: #fff;
    border-color: #fff;
    color: var(--ink);
    transform: rotate(-45deg);
}
.port-arrow svg { width: 14px; height: 14px; }

/* Work in progress badge + card overlay */
.port-card:has(.port-badge-wip)::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    background: rgba(0, 0, 0, 0.35);
    border-radius: inherit;
    pointer-events: none;
}
.port-badge-wip {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 3;
    font-family: var(--font-mono);
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #fff;
    background: #ff5816;
    padding: 8px 18px;
    border-radius: 999px;
    box-shadow: 0 4px 16px rgba(255, 88, 22, 0.4);
    animation: wipPulse 2s ease-in-out infinite;
}
@keyframes wipPulse {
    0%, 100% { box-shadow: 0 4px 16px rgba(255, 88, 22, 0.4); }
    50% { box-shadow: 0 4px 28px rgba(255, 88, 22, 0.7); }
}

/* ---------- PROCESS ---------- */
.process {
    background: rgba(250, 250, 250, 0.6);
}
.process .section-title { margin-bottom: 56px; }

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

.proc-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 36px;
    position: relative;
    transition: all 0.4s var(--ease);
    box-shadow: var(--shadow-xs);
}
.proc-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.proc-number {
    font-family: var(--font-display);
    font-size: 4rem;
    font-weight: 700;
    color: rgba(128, 0, 32, 0.06);
    line-height: 1;
    margin-bottom: 20px;
}

.proc-line {
    position: absolute;
    top: 50%;
    right: -14px;
    width: 14px;
    height: 1px;
    background: var(--border);
    z-index: 1;
}
.proc-card:last-child .proc-line { display: none; }

.proc-title {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    margin-bottom: 12px;
}
.proc-desc {
    font-size: 0.85rem;
    font-weight: 300;
    color: var(--text);
    line-height: 1.7;
}
.proc-duration {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 20px;
    font-family: var(--font-mono);
    font-size: 0.68rem;
    color: var(--burgundy);
}

/* ---------- TESTIMONIAL ---------- */
.testimonial {
    background: var(--dark);
    color: #fff;
    position: relative;
    overflow: hidden;
}
.testimonial::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 88, 22, 0.2), transparent);
}
.testimonial::before {
    content: '';
    position: absolute;
    top: -30%;
    left: -15%;
    width: 50%;
    height: 160%;
    background: radial-gradient(ellipse, rgba(255, 88, 22, 0.12) 0%, transparent 60%);
    pointer-events: none;
}

.testimonial-inner {
    max-width: 720px;
    position: relative;
    z-index: 2;
}

.testimonial-stars {
    display: flex;
    gap: 4px;
    margin-bottom: 20px;
}

.testimonial-quote {
    font-family: var(--font-display);
    font-size: clamp(1.4rem, 2.5vw, 2rem);
    font-weight: 400;
    line-height: 1.4;
    letter-spacing: -0.02em;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 36px;
    margin-top: 20px;
    margin-top: 20px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 16px;
}
.testimonial-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--burgundy) 0%, var(--burgundy-dark) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 0.95rem;
    font-weight: 600;
    color: #fff;
}
.testimonial-name { font-weight: 500; font-size: 0.92rem; }
.testimonial-role {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.35);
    margin-top: 2px;
}

/* ---------- FAQ ---------- */
.faq {
    background: rgba(245, 243, 240, 0.7);
}
.faq .section-title { margin-bottom: 48px; }

.faq-list {
    max-width: 760px;
}

.faq-item {
}
.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 24px 0;
    font-family: var(--font-display);
    font-size: 1.08rem;
    font-weight: 500;
    letter-spacing: -0.02em;
    color: var(--ink);
    text-align: left;
    cursor: pointer;
    background: none;
    border: none;
}

.faq-icon {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 1.5px solid var(--border-hover);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: all 0.3s var(--ease);
}
.faq-icon span {
    position: absolute;
    background: var(--text);
    border-radius: 1px;
    transition: all 0.3s var(--ease);
}
.faq-icon span:nth-child(1) { width: 10px; height: 1.5px; }
.faq-icon span:nth-child(2) { width: 1.5px; height: 10px; }

.faq-item.open .faq-icon {
    background: var(--burgundy);
    border-color: var(--burgundy);
    transform: rotate(45deg);
}
.faq-item.open .faq-icon span { background: #fff; }

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s var(--ease), padding 0.4s var(--ease);
}
.faq-item.open .faq-answer {
    max-height: 300px;
    padding-bottom: 24px;
}
.faq-answer p {
    font-size: 0.88rem;
    font-weight: 300;
    color: var(--text);
    line-height: 1.75;
}

/* ---------- CONTACT ---------- */
.contact {
    background: rgba(250, 250, 250, 0.6);
}
.contact .section-desc { margin-bottom: 48px; }

.contact-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 32px;
    align-items: start;
}

/* Calculator */
.calc-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 36px;
    box-shadow: var(--shadow-md);
}
.calc-tooltip {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 16px;
    margin-bottom: 20px;
    border-radius: var(--radius-sm);
    background: linear-gradient(135deg, rgba(255, 88, 22, 0.06) 0%, rgba(255, 88, 22, 0.02) 100%);
    border: 1px solid rgba(255, 88, 22, 0.12);
}
.calc-tooltip svg {
    flex-shrink: 0;
    margin-top: 1px;
    color: #ff5816;
}
.calc-tooltip span {
    font-size: 0.78rem;
    font-weight: 400;
    color: var(--text);
    line-height: 1.6;
}
.calc-title {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    margin-bottom: 6px;
}
.calc-subtitle {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-bottom: 28px;
}

.calc-step { margin-bottom: 22px; }
.calc-label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 10px;
}
.calc-options { display: flex; flex-wrap: wrap; gap: 8px; }

.calc-opt {
    font-family: var(--font-sans);
    font-size: 0.78rem;
    font-weight: 500;
    padding: 10px 18px;
    border-radius: 999px;
    border: 1.5px solid var(--border);
    background: transparent;
    color: var(--ink-soft);
    cursor: pointer;
    transition: all 0.25s var(--ease);
}
.calc-opt:hover { border-color: var(--ink); }
.calc-opt.active {
    background: var(--burgundy);
    color: #fff;
    border-color: var(--burgundy);
}

.calc-result {
    margin-top: 28px;
    padding: 24px;
    background: var(--bg-warm);
    border-radius: var(--radius-sm);
    text-align: center;
    display: none;
}
.calc-result.show { display: block; }

.calc-result-label {
    font-family: var(--font-mono);
    font-size: 0.6rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 8px;
}
.calc-result-price {
    font-family: var(--font-display);
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--ink);
}
.calc-result-price span {
    font-size: 0.85rem;
    font-weight: 400;
    color: var(--text-muted);
    font-family: var(--font-sans);
}
.calc-result-note {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 4px;
    margin-bottom: 18px;
}

.calc-email-form {
    display: flex;
    gap: 8px;
}
.calc-email-form input {
    flex: 1;
    font-family: var(--font-sans);
    font-size: 0.85rem;
    padding: 12px 18px;
    border-radius: 999px;
    border: 1.5px solid var(--border);
    background: var(--bg-card);
    color: var(--ink);
    outline: none;
    transition: border-color 0.25s;
}
.calc-email-form input:focus { border-color: var(--burgundy); }
.calc-email-form input::placeholder { color: var(--text-muted); }
.calc-email-form .btn { flex-shrink: 0; }

.calc-success {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 12px;
    font-size: 0.85rem;
    color: var(--green);
    font-weight: 500;
}

/* Contact form */
.contact-side {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-form-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px;
    box-shadow: var(--shadow-sm);
}
.contact-card-title {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    margin-bottom: 20px;
}

.contact-form { display: flex; flex-direction: column; gap: 12px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    font-family: var(--font-sans);
    font-size: 0.85rem;
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    border: 1.5px solid var(--border);
    background: var(--bg);
    color: var(--ink);
    outline: none;
    transition: border-color 0.25s;
    resize: vertical;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--burgundy);
}
.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
}
.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4 6l4 4 4-4' stroke='%238a8a96' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px;
    padding-right: 36px;
}

.form-message {
    font-size: 0.82rem;
    margin-top: 8px;
    text-align: center;
}
.form-message.success { color: var(--green); }
.form-message.error { color: #ef4444; }

/* Quick contact cards */
.quick-contacts {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.qc-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 20px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    background: var(--bg-card);
    transition: all 0.3s var(--ease);
    text-decoration: none;
}
.qc-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}
.qc-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.qc-card--wa .qc-icon { background: rgba(37, 211, 102, 0.1); color: #25d366; }
.qc-card--phone .qc-icon { background: var(--burgundy-glow); color: var(--burgundy); }

/* "Najszybciej" badge on WhatsApp */
.qc-badge {
    margin-left: auto;
    font-family: var(--font-mono);
    font-size: 0.55rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #25d366;
    background: rgba(37, 211, 102, 0.08);
    border: 1px solid rgba(37, 211, 102, 0.15);
    padding: 3px 10px;
    border-radius: 999px;
    white-space: nowrap;
}

/* Expandable form card */
.qc-card--form {
    flex-direction: column;
    padding: 0;
    overflow: hidden;
}
.qc-form-toggle {
    display: flex;
    align-items: center;
    gap: 14px;
    width: 100%;
    padding: 16px 20px;
    background: none;
    border: none;
    font-family: inherit;
    cursor: pointer;
    text-align: left;
    transition: background 0.2s;
}
.qc-form-toggle:hover {
    background: rgba(0, 0, 0, 0.02);
}
.qc-icon--mail {
    background: rgba(255, 88, 22, 0.08);
    color: #ff5816;
}
.qc-chevron {
    margin-left: auto;
    color: var(--text-muted);
    transition: transform 0.3s var(--ease);
    flex-shrink: 0;
}
.qc-card--form.open .qc-chevron {
    transform: rotate(180deg);
}

.qc-form-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s var(--ease), padding 0.4s var(--ease);
    padding: 0 20px;
}
.qc-card--form.open .qc-form-body {
    max-height: 600px;
    padding: 0 20px 20px;
}

.qc-card strong {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--ink);
    display: block;
}
.qc-card span {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* ---------- FOOTER ---------- */
.footer {
    background: rgba(245, 243, 240, 0.7);
    padding: 56px 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
}

.footer-logo-link { display: inline-block; margin-bottom: 14px; }
.footer-logo-img { height: 64px; width: auto; object-fit: contain; filter: brightness(0.15); transition: filter 0.3s; }
.footer-logo-link:hover .footer-logo-img { filter: brightness(0.3); }
.footer-desc {
    font-size: 0.82rem;
    font-weight: 300;
    color: var(--text-muted);
    line-height: 1.65;
    max-width: 280px;
}

.footer-heading {
    font-family: var(--font-mono);
    font-size: 0.6rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 18px;
}
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a,
.footer-links span {
    font-size: 0.84rem;
    font-weight: 400;
    color: var(--ink-soft);
    transition: color 0.25s;
}
.footer-links a:hover { color: var(--burgundy); }

.footer-company {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 16px;
}
.footer-company-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.75rem;
    color: var(--text-muted);
}
.footer-company-item svg {
    flex-shrink: 0;
    opacity: 0.5;
}

.footer-bottom {
    margin-top: 48px;
    padding-top: 24px;
    font-family: var(--font-mono);
    font-size: 0.62rem;
    color: var(--text-muted);
    letter-spacing: 0.04em;
}

/* ---------- FLOATING ACTION BUTTONS ---------- */
.fab-group {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 99;
    display: flex;
    align-items: center;
    gap: 0;
}

.wa-float {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #ff5816;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 28px rgba(255, 88, 22, 0.35);
    transition: all 0.3s var(--spring);
    position: relative;
    z-index: 2;
}
.wa-float:hover {
    transform: scale(1.1);
    box-shadow: 0 12px 36px rgba(255, 88, 22, 0.45);
}

/* Scroll to top */
.fab-scroll-top {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 88, 22, 0.85);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    position: absolute;
    right: 0;
    z-index: 1;
    opacity: 0;
    pointer-events: none;
    transform: translateX(0) scale(0.5);
    transition: all 0.4s var(--spring);
    box-shadow: 0 4px 16px rgba(255, 88, 22, 0.25);
}
.fab-scroll-top:hover {
    background: #ff5816;
    transform: translateX(-64px) scale(1.1);
    box-shadow: 0 6px 20px rgba(255, 88, 22, 0.35);
}

/* Visible state */
.fab-scroll-top.visible {
    opacity: 1;
    pointer-events: all;
    transform: translateX(-64px) scale(1);
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1024px) {
    .container { padding: 0 24px; }
    .nav-container { padding: 0 24px; }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .hero-title {
        font-size: clamp(2.2rem, 7vw, 3.2rem);
    }
    .value-card { max-width: 480px; }

    .section-header--split { grid-template-columns: 1fr; }
    .section-header--split .section-desc { justify-self: start; }

    .services-grid {
        grid-template-columns: 1fr;
    }
    .svc-card:nth-child(n) { grid-column: auto; }

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

    .pricing-grid { grid-template-columns: 1fr; max-width: 480px; }

    .portfolio-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }
    .port-card:nth-child(n) { grid-column: auto; }

    .process-grid { grid-template-columns: 1fr; }
    .proc-line { display: none; }

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

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

    .navbar-wrap { padding: 10px 16px; }
    .navbar { padding: 0 8px 0 16px; height: 56px; border-radius: 20px; }
    .nav-logo-img { height: 26px; }
    .btn-cta-nav span { display: none; }
    .btn-cta-nav { padding: 10px 14px; }
    .nav-menu { display: none; }
    .hamburger { display: flex; }

    /* Mobile menu */
    .nav-menu.active {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 80px;
        left: 16px;
        right: 16px;
        bottom: auto;
        max-height: calc(100dvh - 100px);
        overflow-y: auto;
        background: rgba(12, 12, 16, 0.92);
        backdrop-filter: blur(24px);
        -webkit-backdrop-filter: blur(24px);
        border: 1px solid rgba(255,255,255,0.08);
        border-radius: 20px;
        padding: 12px;
        gap: 2px;
        z-index: 999;
        box-shadow: 0 16px 48px rgba(0,0,0,0.4);
    }
    .nav-menu.active li {
        border-bottom: none;
    }
    .nav-menu.active .nav-link {
        display: block;
        padding: 14px 20px;
        font-size: 1rem;
        color: rgba(255,255,255,0.65);
        border-radius: 14px;
    }
    .nav-menu.active .nav-link:hover {
        background: rgba(255,255,255,0.06);
        color: #fff;
    }
}

@media (max-width: 640px) {
    section { padding: 72px 0; }

    .hero-ctas { flex-direction: column; align-items: stretch; }
    .hero-ctas .btn-hero-primary,
    .hero-ctas .btn-hero-secondary { justify-content: center; width: 100%; }

    .trust-items { flex-direction: column; gap: 6px; }

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

    .portfolio-grid { grid-template-columns: 1fr; }
    .port-card { height: 300px; }

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