/* ============================================
   TARCZALEX - Editorial Stylesheet
   Doradztwo proceduralne / Know-how administracyjne
   ============================================ */


:root {
    /* Paleta - głęboki granat, mosiądz, kremowa biel */
    --ink-deepest: #070d18;
    --ink-deep: #0a1424;
    --ink: #0d1a2e;
    --ink-soft: #142339;
    --ink-line: #1c2c44;

    --brass: #c9a961;
    --brass-soft: #b69850;
    --brass-glow: #d4b76a;
    --brass-faint: rgba(201, 169, 97, 0.18);

    --cream: #f4efe4;
    --cream-soft: #e8e0cc;
    --paper: #faf6ec;
    --mist: rgba(244, 239, 228, 0.72);
    --mist-faint: rgba(244, 239, 228, 0.42);

    /* Typografia */
    --serif: Georgia, 'Times New Roman', serif;
    --sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;

    /* Skala */
    --max: 1340px;
    --gutter: clamp(1.5rem, 4vw, 4rem);
}

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

body {
    font-family: var(--serif);
    background: var(--ink);
    color: var(--cream);
    line-height: 1.6;
    font-weight: 400;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -webkit-tap-highlight-color: rgba(201, 169, 97, 0.15);
}

/* - Atmosfera tła - */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 0%, rgba(201, 169, 97, 0.04), transparent 50%),
        radial-gradient(ellipse at 80% 100%, rgba(201, 169, 97, 0.03), transparent 50%);
    pointer-events: none;
    z-index: 0;
}

/* - Ziarno (subtelna tekstura) - */
body::after {
    content: '';
    position: fixed;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.79 0 0 0 0 0.66 0 0 0 0 0.38 0 0 0 0.4 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    opacity: 0.035;
    pointer-events: none;
    z-index: 1;
    mix-blend-mode: overlay;
}

/* ============================================
   NAWIGACJA
   ============================================ */

.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 1.5rem var(--gutter);
    background: linear-gradient(180deg, rgba(7, 13, 24, 0.92) 0%, rgba(7, 13, 24, 0.6) 80%, transparent);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: padding 0.4s ease, background 0.4s ease;
}

.nav.scrolled {
    padding: 1rem var(--gutter);
    background: rgba(7, 13, 24, 0.96);
    border-bottom: 1px solid var(--ink-line);
}

.nav-inner {
    max-width: var(--max);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    text-decoration: none;
    color: var(--cream);
}

.brand-mark {
    width: 38px;
    height: 44px;
    flex-shrink: 0;
}

.brand-name {
    font-family: var(--serif);
    font-size: 1.85rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    color: var(--cream);
}

.nav-links {
    display: flex;
    gap: 2.25rem;
    list-style: none;
    align-items: center;
}

.nav-links a {
    font-family: var(--sans);
    text-decoration: none;
    color: var(--mist);
    font-size: 0.72rem;
    font-weight: 400;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    position: relative;
    padding: 0.5rem 0;
    transition: color 0.3s ease;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 1px;
    background: var(--brass);
    transition: width 0.4s ease, left 0.4s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--brass);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
    left: 0;
}

.nav-cta {
    font-family: var(--sans);
    font-size: 0.7rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--ink);
    background: var(--brass);
    padding: 0.85rem 1.6rem;
    border: 1px solid var(--brass);
    text-decoration: none;
    transition: all 0.35s ease;
}

.nav-cta:hover {
    background: transparent;
    color: var(--brass);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--cream);
    cursor: pointer;
    padding: 0.5rem;
    z-index: 102;
    position: relative;
}

.menu-toggle span {
    display: block;
    width: 26px;
    height: 1px;
    background: var(--cream);
    margin: 7px 0;
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.3s ease;
    transform-origin: center;
}

.menu-toggle.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}
.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}
.menu-toggle.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Mobile menu overlay */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    height: 100dvh; /* Dynamiczny viewport - iOS Safari */
    background: var(--ink-deepest);
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 6rem var(--gutter) 3rem;
    overflow-y: auto;
}

.mobile-menu.open {
    opacity: 1;
    visibility: visible;
}

.mobile-menu::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.79 0 0 0 0 0.66 0 0 0 0 0.38 0 0 0 0.4 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    opacity: 0.03;
    pointer-events: none;
}

.mobile-menu-list {
    list-style: none;
    text-align: center;
    margin: 0 0 4rem;
    padding: 0;
    position: relative;
}

.mobile-menu-list li {
    margin: 1.5rem 0;
    opacity: 0;
    transform: translateY(20px);
}

.mobile-menu.open .mobile-menu-list li {
    animation: mobileMenuItem 0.5s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.mobile-menu.open .mobile-menu-list li:nth-child(1) { animation-delay: 0.15s; }
.mobile-menu.open .mobile-menu-list li:nth-child(2) { animation-delay: 0.22s; }
.mobile-menu.open .mobile-menu-list li:nth-child(3) { animation-delay: 0.29s; }
.mobile-menu.open .mobile-menu-list li:nth-child(4) { animation-delay: 0.36s; }

@keyframes mobileMenuItem {
    to { opacity: 1; transform: translateY(0); }
}

.mobile-menu-list a {
    font-family: var(--serif);
    font-size: 2rem;
    font-weight: 400;
    color: var(--cream);
    text-decoration: none;
    transition: color 0.3s ease;
    letter-spacing: 0.005em;
}

.mobile-menu-list a:hover,
.mobile-menu-list a.active {
    color: var(--brass);
    font-style: italic;
}

.mobile-menu-footer {
    position: relative;
    text-align: center;
    margin-top: 2rem;
    padding-top: 2.5rem;
    border-top: 1px solid var(--ink-line);
    width: 100%;
    max-width: 300px;
}

.mobile-menu-footer a {
    display: block;
    font-family: var(--serif);
    color: var(--brass);
    font-size: 1.05rem;
    text-decoration: none;
    margin: 0.5rem 0;
    transition: color 0.3s ease;
}

.mobile-menu-footer a:hover { color: var(--brass-glow); }

/* ============================================
   HERO BANNER (z obrazem)
   ============================================ */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding-top: 5rem;
    z-index: 2;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-image: url('./banner.webp');
    background-size: cover;
    background-position: center;
    z-index: -1;
}

.hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, var(--ink-deep) 0%, rgba(10, 20, 36, 0.92) 30%, rgba(10, 20, 36, 0.6) 65%, rgba(10, 20, 36, 0.45) 100%),
        linear-gradient(180deg, rgba(7, 13, 24, 0.5) 0%, transparent 25%, transparent 70%, rgba(7, 13, 24, 0.65) 100%);
}

.hero-inner {
    position: relative;
    max-width: var(--max);
    margin: 0 auto;
    padding: 4rem var(--gutter);
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
    z-index: 2;
}

.hero-content {
    max-width: 720px;
    animation: fadeUp 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero-kicker {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    margin-bottom: 2rem;
}

.hero-kicker .line {
    width: 60px;
    height: 1px;
    background: var(--brass);
}

.hero-kicker span {
    font-family: var(--sans);
    color: var(--brass);
    font-size: 0.75rem;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    font-weight: 400;
}

.hero h1 {
    font-family: var(--serif);
    font-size: clamp(3rem, 7.5vw, 6.5rem);
    line-height: 1.02;
    font-weight: 400;
    color: var(--cream);
    margin-bottom: 2rem;
    letter-spacing: -0.015em;
}

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

.hero-lede {
    font-family: var(--serif);
    font-size: clamp(1.15rem, 1.6vw, 1.45rem);
    line-height: 1.55;
    color: var(--mist);
    max-width: 560px;
    margin-bottom: 3rem;
    font-weight: 300;
}

.hero-actions {
    display: flex;
    gap: 1.25rem;
    align-items: center;
    flex-wrap: wrap;
}

.btn {
    font-family: var(--sans);
    font-size: 0.74rem;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    padding: 1.15rem 2.4rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.85rem;
    cursor: pointer;
    border: none;
    transition: all 0.4s ease;
}

.btn-primary {
    background: var(--brass);
    color: var(--ink);
    border: 1px solid var(--brass);
}

.btn-primary:hover {
    background: var(--brass-glow);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(201, 169, 97, 0.25);
}

.btn-ghost {
    background: transparent;
    color: var(--cream);
    border: 1px solid rgba(244, 239, 228, 0.35);
}

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

.btn .arrow {
    display: inline-block;
    transition: transform 0.3s ease;
}

.btn:hover .arrow { transform: translateX(4px); }

/* - Tagline na dole hero - */
.hero-tagline {
    position: absolute;
    bottom: 3rem;
    left: var(--gutter);
    right: var(--gutter);
    max-width: var(--max);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 3;
    animation: fadeIn 2s 0.8s both;
}

.hero-tagline p {
    font-family: var(--sans);
    font-size: 0.7rem;
    letter-spacing: 0.4em;
    text-transform: uppercase;
    color: var(--brass);
}

.hero-tagline .sep { color: var(--mist-faint); margin: 0 0.85em; }

.hero-scroll {
    font-family: var(--sans);
    font-size: 0.65rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--mist);
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.hero-scroll .dash {
    display: inline-block;
    width: 40px;
    height: 1px;
    background: var(--mist);
    animation: scrollHint 2.5s ease-in-out infinite;
}

@keyframes scrollHint {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(8px); }
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* ============================================
   SEKCJE - wspólna stylistyka
   ============================================ */

section {
    position: relative;
    z-index: 2;
    padding: clamp(5rem, 10vw, 9rem) var(--gutter);
}

.container {
    max-width: var(--max);
    margin: 0 auto;
    position: relative;
}

/* Etykieta sekcji - "rozdział" w stylu edytorialnym */
.section-chapter {
    font-family: var(--sans);
    font-size: 0.7rem;
    letter-spacing: 0.4em;
    text-transform: uppercase;
    color: var(--brass);
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.section-chapter .num {
    font-family: var(--serif);
    font-style: italic;
    font-size: 1rem;
    letter-spacing: 0;
    color: var(--brass);
}

.section-chapter::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, var(--brass) 0%, transparent 100%);
    max-width: 100px;
}

.section-title {
    font-family: var(--serif);
    font-size: clamp(2.25rem, 4.5vw, 4rem);
    line-height: 1.08;
    font-weight: 400;
    color: var(--cream);
    margin-bottom: 1.5rem;
    letter-spacing: -0.015em;
    max-width: 800px;
}

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

.section-lede {
    font-family: var(--serif);
    font-size: clamp(1.05rem, 1.4vw, 1.3rem);
    line-height: 1.65;
    color: var(--mist);
    max-width: 640px;
    font-weight: 300;
}

/* ============================================
   ETHOS - manifest / dwie kolumny
   ============================================ */

.ethos {
    background: var(--ink-deep);
    border-top: 1px solid var(--ink-line);
    border-bottom: 1px solid var(--ink-line);
}

.ethos-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: clamp(3rem, 7vw, 7rem);
    align-items: center;
    margin-top: 4rem;
}

.ethos-visual {
    position: relative;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    background: var(--ink-deepest);
}

.ethos-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.92) contrast(1.05);
    transition: transform 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}

.ethos-visual:hover img { transform: scale(1.04); }

.ethos-visual::before {
    content: '';
    position: absolute;
    top: -12px;
    left: -12px;
    right: 24px;
    bottom: 24px;
    border: 1px solid var(--brass);
    z-index: -1;
    opacity: 0.6;
}

.ethos-text .pull-quote {
    font-family: var(--serif);
    font-style: italic;
    font-size: clamp(1.45rem, 2vw, 1.85rem);
    line-height: 1.45;
    color: var(--cream);
    font-weight: 300;
    margin: 2rem 0;
    padding-left: 2rem;
    border-left: 1px solid var(--brass);
}

.ethos-text p {
    font-family: var(--serif);
    font-size: 1.1rem;
    line-height: 1.75;
    color: var(--mist);
    margin-bottom: 1.25rem;
    font-weight: 300;
}

.ethos-text p:first-letter {
    /* dropcap dla pierwszego akapitu */
}

.ethos-text .first p:first-of-type::first-letter {
    font-family: var(--serif);
    font-size: 4.5rem;
    font-weight: 500;
    float: left;
    line-height: 0.95;
    margin: 0.35rem 0.65rem 0 0;
    color: var(--brass);
}

.signature {
    margin-top: 2.5rem;
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.signature .line { width: 50px; height: 1px; background: var(--brass); }

.signature span {
    font-family: var(--serif);
    font-style: italic;
    color: var(--brass);
    font-size: 1.05rem;
}

/* ============================================
   USŁUGI - siatka
   ============================================ */

.services {
    background: var(--ink);
}

.services-header {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: end;
    margin-bottom: 5rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--ink-line);
    border: 1px solid var(--ink-line);
}

.service {
    background: var(--ink);
    padding: 3rem 2.5rem;
    position: relative;
    transition: background 0.5s ease;
    cursor: pointer;
}

.service:hover { background: var(--ink-soft); }

.service-num {
    font-family: var(--serif);
    font-style: italic;
    font-size: 0.95rem;
    color: var(--brass);
    margin-bottom: 2.5rem;
    display: block;
}

.service-icon {
    width: 38px;
    height: 38px;
    margin-bottom: 1.5rem;
    color: var(--brass);
}

.service h3 {
    font-family: var(--serif);
    font-size: 1.65rem;
    font-weight: 500;
    color: var(--cream);
    margin-bottom: 1rem;
    line-height: 1.25;
}

.service p {
    font-family: var(--serif);
    font-size: 1rem;
    line-height: 1.65;
    color: var(--mist);
    margin-bottom: 1.75rem;
    font-weight: 300;
}

.service-link {
    font-family: var(--sans);
    font-size: 0.7rem;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--brass);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    transition: gap 0.3s ease;
}

.service-link:hover { gap: 1rem; }

/* ============================================
   PROCES - linia czasu
   ============================================ */

.process {
    background: var(--ink-deep);
    border-top: 1px solid var(--ink-line);
}

.process-header { text-align: center; margin-bottom: 5rem; }
.process-header .section-chapter { justify-content: center; }
.process-header .section-chapter::after { display: none; }
.process-header .section-chapter::before {
    content: '';
    width: 100px;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, var(--brass) 100%);
}
.process-header .section-title { margin: 0 auto 1.5rem; }
.process-header .section-lede { margin: 0 auto; }

.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    position: relative;
}

.process-grid::before {
    content: '';
    position: absolute;
    top: 24px;
    left: 5%;
    right: 5%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--brass) 20%, var(--brass) 80%, transparent);
    opacity: 0.4;
}

.step {
    position: relative;
    text-align: center;
}

.step-dot {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--ink-deep);
    border: 1px solid var(--brass);
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--serif);
    font-style: italic;
    font-size: 1.1rem;
    color: var(--brass);
    position: relative;
    z-index: 2;
}

.step h4 {
    font-family: var(--serif);
    font-size: 1.35rem;
    font-weight: 500;
    color: var(--cream);
    margin-bottom: 0.75rem;
}

.step p {
    font-family: var(--serif);
    font-size: 0.98rem;
    line-height: 1.55;
    color: var(--mist);
    font-weight: 300;
}

/* ============================================
   ENGAGEMENT (CTA z obrazem)
   ============================================ */

.engage {
    background: var(--ink-deepest);
    padding: 0;
}

.engage-grid {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    min-height: 580px;
}

.engage-visual {
    position: relative;
    overflow: hidden;
}

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

.engage-visual::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent 0%, rgba(7, 13, 24, 0.4) 100%);
}

.engage-content {
    background: var(--ink);
    padding: clamp(3rem, 6vw, 5.5rem);
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
}

.engage-content::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50px;
    width: 60px;
    height: 1px;
    background: var(--brass);
    transform: translateY(-50%);
    display: none;
}

.engage h2 {
    font-family: var(--serif);
    font-size: clamp(2rem, 3.5vw, 3.25rem);
    line-height: 1.1;
    font-weight: 400;
    color: var(--cream);
    margin-bottom: 1.5rem;
}

.engage h2 em { font-style: italic; color: var(--brass); font-weight: 300; }

.engage p {
    font-family: var(--serif);
    font-size: 1.15rem;
    line-height: 1.7;
    color: var(--mist);
    margin-bottom: 2.5rem;
    font-weight: 300;
}

/* ============================================
   STOPKA
   ============================================ */

.footer {
    position: relative;
    background-image: url('./banner.webp');
    background-size: cover;
    background-position: center;
    color: var(--cream);
    padding: 0;
    z-index: 2;
}

.footer::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(7, 13, 24, 0.95) 0%, rgba(7, 13, 24, 0.92) 100%);
}

.footer-inner {
    position: relative;
    max-width: var(--max);
    margin: 0 auto;
    padding: 6rem var(--gutter) 2rem;
}

.footer-top {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 4rem;
    padding-bottom: 4rem;
    border-bottom: 1px solid var(--ink-line);
}

.footer-brand .brand-name { font-size: 2.4rem; }

.footer-brand p {
    font-family: var(--serif);
    color: var(--mist);
    line-height: 1.65;
    margin-top: 1.5rem;
    font-weight: 300;
    font-size: 1.05rem;
    max-width: 320px;
}

.footer-col h5 {
    font-family: var(--sans);
    font-size: 0.7rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--brass);
    margin-bottom: 1.75rem;
    font-weight: 500;
}

.footer-col ul { list-style: none; }

.footer-col li { margin-bottom: 0.85rem; }

.footer-col a {
    font-family: var(--serif);
    color: var(--mist);
    text-decoration: none;
    font-size: 1.02rem;
    transition: color 0.3s ease;
}

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

.footer-col p {
    font-family: var(--serif);
    color: var(--mist);
    font-size: 1.02rem;
    line-height: 1.7;
    margin-bottom: 0.5rem;
}

.footer-bottom {
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom p,
.footer-bottom a {
    font-family: var(--sans);
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--mist-faint);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.footer-legal { display: flex; gap: 2rem; }

/* ============================================
   STRONA "O NAS" - specyficzne sekcje
   ============================================ */

.page-hero {
    position: relative;
    min-height: 65vh;
    display: flex;
    align-items: center;
    padding-top: 7rem;
    padding-bottom: 4rem;
    z-index: 2;
}

.page-hero-bg {
    position: absolute;
    inset: 0;
    background-image: url('./banner.webp');
    background-size: cover;
    background-position: center;
    z-index: -1;
}

.page-hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, var(--ink) 0%, rgba(13, 26, 46, 0.7) 50%, var(--ink-deep) 100%);
}

.page-hero-inner {
    position: relative;
    max-width: var(--max);
    margin: 0 auto;
    padding: 0 var(--gutter);
    width: 100%;
    text-align: center;
}

.page-hero .crumbs {
    font-family: var(--sans);
    font-size: 0.72rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--brass);
    margin-bottom: 2rem;
    display: flex;
    justify-content: center;
    gap: 0.85rem;
}

.page-hero .crumbs a {
    color: var(--mist);
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-hero .crumbs a:hover { color: var(--brass); }
.page-hero .crumbs .sep { color: var(--brass); }

.page-hero h1 {
    font-family: var(--serif);
    font-size: clamp(2.75rem, 6vw, 5.5rem);
    line-height: 1.04;
    font-weight: 400;
    color: var(--cream);
    letter-spacing: -0.015em;
    max-width: 900px;
    margin: 0 auto 1.5rem;
}

.page-hero h1 em { font-style: italic; color: var(--brass); font-weight: 300; }

.page-hero .lede {
    font-family: var(--serif);
    font-size: clamp(1.1rem, 1.5vw, 1.4rem);
    line-height: 1.6;
    color: var(--mist);
    max-width: 680px;
    margin: 0 auto;
    font-weight: 300;
}

/* ============================================
   OPOWIEŚĆ EDYTORIALNA (about)
   ============================================ */

.story {
    background: var(--ink);
    padding-top: 6rem;
}

.story-grid {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: clamp(3rem, 6vw, 6rem);
    align-items: start;
    margin-top: 3rem;
}

.story-side {
    position: sticky;
    top: 8rem;
}

.story-side .section-chapter { justify-content: flex-start; }
.story-side .section-chapter::after { max-width: 60px; }

.story-side h2 {
    font-family: var(--serif);
    font-size: clamp(2rem, 3.5vw, 3.25rem);
    line-height: 1.08;
    font-weight: 400;
    color: var(--cream);
    margin-bottom: 1.5rem;
    letter-spacing: -0.015em;
}

.story-side h2 em { font-style: italic; color: var(--brass); font-weight: 300; }

.story-body p {
    font-family: var(--serif);
    font-size: 1.18rem;
    line-height: 1.78;
    color: var(--mist);
    margin-bottom: 1.5rem;
    font-weight: 300;
}

.story-body p:first-of-type::first-letter {
    font-family: var(--serif);
    font-size: 5rem;
    font-weight: 500;
    float: left;
    line-height: 0.95;
    margin: 0.35rem 0.7rem 0 0;
    color: var(--brass);
}

.story-body blockquote {
    font-family: var(--serif);
    font-style: italic;
    font-size: 1.55rem;
    line-height: 1.5;
    color: var(--cream);
    border-left: 1px solid var(--brass);
    padding: 1.25rem 0 1.25rem 2rem;
    margin: 2.5rem 0;
    font-weight: 300;
}

.story-body blockquote cite {
    display: block;
    margin-top: 1rem;
    font-style: normal;
    font-size: 0.72rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--brass);
    font-family: var(--sans);
}

/* ============================================
   WARTOŚCI / FILARY
   ============================================ */

.pillars {
    background: var(--ink-deep);
    border-top: 1px solid var(--ink-line);
}

.pillars-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2px;
    background: var(--ink-line);
    margin-top: 4rem;
    border: 1px solid var(--ink-line);
}

.pillar {
    background: var(--ink-deep);
    padding: 3.5rem 2.5rem;
    transition: background 0.4s ease;
}

.pillar:hover { background: var(--ink); }

.pillar-num {
    font-family: var(--serif);
    font-style: italic;
    font-size: 3.5rem;
    color: var(--brass);
    line-height: 1;
    margin-bottom: 1.5rem;
    display: block;
}

.pillar h3 {
    font-family: var(--serif);
    font-size: 1.7rem;
    font-weight: 500;
    color: var(--cream);
    margin-bottom: 1rem;
}

.pillar p {
    font-family: var(--serif);
    font-size: 1.02rem;
    line-height: 1.7;
    color: var(--mist);
    font-weight: 300;
}

/* ============================================
   STATYSTYKI
   ============================================ */

.figures {
    background: var(--ink);
    padding: 6rem var(--gutter);
}

.figures-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    max-width: var(--max);
    margin: 0 auto;
    text-align: center;
}

.figure-num {
    font-family: var(--serif);
    font-size: clamp(3rem, 5vw, 4.5rem);
    font-weight: 400;
    color: var(--brass);
    line-height: 1;
    margin-bottom: 0.85rem;
    letter-spacing: -0.02em;
}

.figure-num em { font-style: italic; font-weight: 300; }

.figure-label {
    font-family: var(--sans);
    font-size: 0.72rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--mist);
}

/* ============================================
   STRONA KONTAKT - specyficzne
   ============================================ */

.contact-main {
    background: var(--ink);
    padding-top: 5rem;
    padding-bottom: 6rem;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: clamp(3rem, 6vw, 6rem);
    margin-top: 3rem;
}

.form-block {
    background: var(--ink-deep);
    border: 1px solid var(--ink-line);
    padding: clamp(2.5rem, 4vw, 4rem);
}

.form-block h3 {
    font-family: var(--serif);
    font-size: 1.85rem;
    color: var(--cream);
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-block .intro {
    font-family: var(--serif);
    color: var(--mist);
    margin-bottom: 2.5rem;
    font-size: 1.05rem;
    line-height: 1.65;
    font-weight: 300;
}

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

.field { display: flex; flex-direction: column; margin-bottom: 1.5rem; }

.field label {
    font-family: var(--sans);
    font-size: 0.68rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--brass);
    margin-bottom: 0.75rem;
    font-weight: 400;
}

.field input,
.field textarea,
.field select {
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--ink-line);
    padding: 0.85rem 0;
    font-family: var(--serif);
    font-size: 1.05rem;
    color: var(--cream);
    transition: border-color 0.3s ease;
    outline: none;
    font-weight: 300;
    -webkit-appearance: none;
    appearance: none;
    border-radius: 0;
}

.field input:focus,
.field textarea:focus,
.field select:focus { border-bottom-color: var(--brass); }

.field textarea { resize: vertical; min-height: 130px; }

.field select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23c9a961' stroke-width='1.4'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.25rem center;
    padding-right: 1.75rem;
    cursor: pointer;
}

.field select option { background: var(--ink); color: var(--cream); }

.contact-side .side-block {
    margin-bottom: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid var(--ink-line);
}

.contact-side .side-block:last-child { border-bottom: none; }

.contact-side h4 {
    font-family: var(--sans);
    font-size: 0.7rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--brass);
    margin-bottom: 1.25rem;
    font-weight: 500;
}

.contact-side p,
.contact-side a {
    font-family: var(--serif);
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--mist);
    text-decoration: none;
    font-weight: 300;
    display: block;
    transition: color 0.3s ease;
}

.contact-side a:hover { color: var(--brass); }

.contact-side .big {
    font-size: 1.45rem;
    color: var(--cream);
    margin-bottom: 0.5rem;
}

/* ============================================
   RESPONSIVE
   ============================================ */

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

    .hero { min-height: 90vh; padding-top: 6rem; padding-bottom: 6rem; }
    .hero-tagline {
        flex-direction: column;
        gap: 0.85rem;
        align-items: flex-start;
        bottom: 2rem;
    }
    .hero-tagline p {
        font-size: 0.62rem;
        letter-spacing: 0.3em;
    }
    .hero-scroll { display: none; }

    .ethos-grid { grid-template-columns: 1fr; }
    .services-header { grid-template-columns: 1fr; gap: 2rem; }
    .services-grid { grid-template-columns: 1fr; }
    .process-grid { grid-template-columns: 1fr 1fr; gap: 3rem; }
    .process-grid::before { display: none; }
    .engage-grid { grid-template-columns: 1fr; }
    .engage-visual { min-height: 320px; }
    .footer-top { grid-template-columns: 1fr 1fr; gap: 3rem; }
    .pillars-grid { grid-template-columns: 1fr; }
    .figures-grid { grid-template-columns: 1fr 1fr; gap: 3rem; }
    .story-grid { grid-template-columns: 1fr; }
    .story-side { position: static; }
    .contact-grid { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; text-align: center; }
    .nav-cta { display: none; }
}

@media (max-width: 560px) {
    .hero h1 { font-size: 2.65rem; line-height: 1.05; }
    .hero-lede { font-size: 1.05rem; }
    .footer-top { grid-template-columns: 1fr; }
    .figures-grid { grid-template-columns: 1fr; }
    .process-grid { grid-template-columns: 1fr; }
    .footer-legal { flex-direction: column; gap: 0.5rem; }
    .page-hero { min-height: 55vh; }
    .page-hero h1 { font-size: 2.5rem; line-height: 1.08; }
    .pillar { padding: 2.5rem 2rem; }
    .pillar-num { font-size: 3rem; }
    .step-dot { width: 44px; height: 44px; font-size: 1rem; }
    .service { padding: 2.5rem 2rem; }
    .nav { padding: 1.1rem var(--gutter); }
    .brand-name { font-size: 1.55rem; }
    .brand-mark { width: 32px; height: 38px; }
    /* Mobilna lista FAQ - kompakt */
    .faq-list { margin: 0 -0.5rem; }
}

/* ============================================
   STYLE DODATKOWE - SERVICE DETAILS, STEP META, FAQ
   ============================================ */

/* Step - etykieta czasu pod opisem */
.step-desc {
    margin-bottom: 1rem;
}

.step-meta {
    display: inline-block;
    font-family: var(--sans);
    font-size: 0.62rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--brass);
    padding-top: 0.85rem;
    border-top: 1px solid var(--brass-faint);
    margin-top: 0.5rem;
}

/* Rozwijane szczegóły usługi */
.service-details {
    margin-top: auto;
    padding-top: 1.25rem;
    border-top: 1px solid var(--brass-faint);
}

.service-details summary {
    list-style: none;
    cursor: pointer;
    font-family: var(--sans);
    font-size: 0.7rem;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--brass);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    transition: color 0.3s ease;
}

.service-details summary::-webkit-details-marker { display: none; }
.service-details summary::marker { content: ''; }

.service-details summary:hover { color: var(--brass-glow); }

.service-details .chev {
    font-family: var(--serif);
    font-size: 1.25rem;
    line-height: 1;
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    color: var(--brass);
}

.service-details[open] .chev {
    transform: rotate(45deg);
}

.service-details ul {
    list-style: none;
    margin-top: 1.25rem;
    padding: 0;
    animation: slideDown 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.service-details li {
    font-family: var(--serif);
    font-size: 0.98rem;
    line-height: 1.55;
    color: var(--mist);
    padding: 0.55rem 0 0.55rem 1.5rem;
    border-bottom: 1px solid var(--ink-line);
    position: relative;
    font-weight: 300;
}

.service-details li:last-child { border-bottom: none; }

.service-details li::before {
    content: '-';
    position: absolute;
    left: 0;
    color: var(--brass);
    font-weight: 400;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   FAQ - sekcja najczęstszych pytań
   ============================================ */

.faq {
    background: var(--ink);
    border-top: 1px solid var(--ink-line);
}

.faq-header {
    text-align: center;
    margin-bottom: 4rem;
}

.faq-header .section-chapter { justify-content: center; }
.faq-header .section-chapter::after { display: none; }
.faq-header .section-chapter::before {
    content: '';
    width: 100px;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, var(--brass) 100%);
}
.faq-header .section-title { margin: 0 auto 1.5rem; }
.faq-header .section-lede { margin: 0 auto; }

.faq-list {
    max-width: 880px;
    margin: 0 auto;
    border-top: 1px solid var(--ink-line);
}

.faq-item {
    border-bottom: 1px solid var(--ink-line);
    transition: background 0.3s ease;
}

.faq-item[open] {
    background: rgba(20, 35, 57, 0.4);
}

.faq-item summary {
    list-style: none;
    cursor: pointer;
    padding: 2rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    transition: color 0.3s ease;
}

.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::marker { content: ''; }

.faq-q {
    font-family: var(--serif);
    font-size: clamp(1.1rem, 1.4vw, 1.35rem);
    line-height: 1.4;
    color: var(--cream);
    font-weight: 400;
    flex: 1;
    transition: color 0.3s ease;
}

.faq-item summary:hover .faq-q,
.faq-item[open] .faq-q {
    color: var(--brass);
}

.faq-toggle {
    font-family: var(--serif);
    font-size: 1.6rem;
    color: var(--brass);
    line-height: 1;
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    flex-shrink: 0;
}

.faq-item[open] .faq-toggle {
    transform: rotate(45deg);
}

.faq-a {
    padding: 0 1.5rem 2rem;
    animation: slideDown 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.faq-a p {
    font-family: var(--serif);
    font-size: 1.08rem;
    line-height: 1.7;
    color: var(--mist);
    font-weight: 300;
    max-width: 720px;
}

@media (max-width: 560px) {
    .faq-item summary { padding: 1.5rem 0.5rem; gap: 1rem; }
    .faq-a { padding: 0 0.5rem 1.5rem; }
}

/* Service article - flex column dla details na dole */
.service {
    display: flex;
    flex-direction: column;
}

.service > p {
    flex-grow: 1;
}

/* Address w stopce - bez kursywy domyślnej, dziedziczy styl */
.footer address {
    font-style: normal;
    font-family: inherit;
}

.footer address p {
    margin: 0;
}

/* Dostępność i sekcja transparentności */
.skip-link {
    position: fixed;
    top: 0.75rem;
    left: 0.75rem;
    z-index: 9999;
    transform: translateY(-150%);
    background: var(--brass);
    color: var(--ink-deep);
    padding: 0.75rem 1rem;
    border-radius: 999px;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.2s ease;
}

.skip-link:focus { transform: translateY(0); }

a:focus-visible,
button:focus-visible,
summary:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: 2px solid var(--brass);
    outline-offset: 4px;
}

.notice {
    background: var(--ink-deep);
    border-top: 1px solid var(--ink-line);
    border-bottom: 1px solid var(--ink-line);
    padding: 5rem 0;
}

.notice-card {
    max-width: 980px;
    margin: 0 auto;
    padding: clamp(2rem, 4vw, 3.5rem);
    border: 1px solid var(--ink-line);
    background: linear-gradient(135deg, rgba(201, 169, 97, 0.08), rgba(255, 255, 255, 0.02));
}

.notice-card h2 {
    font-family: var(--serif);
    color: var(--cream);
    font-size: clamp(2rem, 4vw, 3.3rem);
    line-height: 1.05;
    font-weight: 400;
    margin: 0 0 1.5rem;
}

.notice-card p {
    font-family: var(--serif);
    color: var(--mist);
    font-size: 1.12rem;
    line-height: 1.75;
    margin: 0 0 1rem;
}

.form-submit { margin-top: 1rem; }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }
}

/* ============================================
   SAFE AREA - notch / pasek systemowy iOS
   (współpraca z viewport-fit=cover)
   ============================================ */
.nav {
    padding-left: max(var(--gutter), env(safe-area-inset-left));
    padding-right: max(var(--gutter), env(safe-area-inset-right));
    padding-top: max(1.5rem, env(safe-area-inset-top));
}
.nav.scrolled {
    padding-top: max(1rem, env(safe-area-inset-top));
}
.mobile-menu {
    padding-left: max(var(--gutter), env(safe-area-inset-left));
    padding-right: max(var(--gutter), env(safe-area-inset-right));
    padding-bottom: max(3rem, env(safe-area-inset-bottom));
}
.footer-inner,
.hero-tagline {
    padding-left: max(0px, env(safe-area-inset-left));
    padding-right: max(0px, env(safe-area-inset-right));
}
