/* ============================================================
   Czajka Innowacje — landing page styles
   Design system inspired by the showroom photography:
   copper-textured walls, brushed gold letterforms, warm oak.
   ============================================================ */

:root {
  /* Brand palette */
  --copper-900: #1f1410;
  /* deep walnut, almost black */
  --copper-800: #2a1c14;
  /* showroom wall shadow */
  --copper-700: #3d2a1e;
  /* mid copper */
  --copper-600: #6b4427;
  /* warm bronze */
  --copper-500: #8a5a35;
  /* terracotta hint */
  --gold-600: #b8893f;
  /* primary gold */
  --gold-500: #c9a35a;
  /* logo gold */
  --gold-400: #d9bc7d;
  /* light gold */
  --gold-100: #f1e4c8;
  /* gold tint */
  --cream-100: #f7f1e6;
  /* canvas */
  --cream-200: #ede4d2;
  /* sand */
  --cream-300: #d9cdb4;
  /* muted */
  --ink-900: #161210;
  /* primary text */
  --ink-700: #3a322c;
  /* body text */
  --ink-500: #6b6058;
  /* secondary text */
  --ink-300: #b3a89c;
  /* hairlines / disabled */
  --line: rgba(22, 18, 16, 0.10);
  --line-dark: rgba(247, 241, 230, 0.12);

  /* Type */
  --font-display: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Inter", "Helvetica Neue", Arial, sans-serif;

  /* Spacing scale */
  --s-1: 4px;
  --s-2: 8px;
  --s-3: 12px;
  --s-4: 16px;
  --s-5: 24px;
  --s-6: 32px;
  --s-7: 48px;
  --s-8: 64px;
  --s-9: 96px;
  --s-10: 128px;

  /* Layout */
  --container: 1640px;
  --container-pad: clamp(24px, 5vw, 80px);
  --radius-sm: 4px;
  --radius-md: 10px;
  --radius-lg: 18px;

  --header-h: 76px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-700);
  background: var(--cream-100);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

button {
  font: inherit;
  cursor: pointer;
}

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

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  color: var(--ink-900);
  letter-spacing: -0.01em;
  line-height: 1.12;
  margin: 0 0 var(--s-4);
  text-wrap: balance;
}

p {
  margin: 0 0 var(--s-4);
  text-wrap: pretty;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--container-pad);
}

.eyebrow {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-600);
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--gold-600);
}

.section {
  padding: clamp(64px, 9vw, 128px) 0;
}

.section-head {
  max-width: 720px;
  margin-bottom: var(--s-8);
}

.section-head h2 {
  font-size: clamp(32px, 4vw, 56px);
  font-weight: 600;
  margin-top: var(--s-3);
}

.section-head p {
  font-size: 18px;
  color: var(--ink-500);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 26px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.04em;
  transition: all 0.25s var(--ease);
  text-decoration: none;
  white-space: nowrap;
}

.btn .arrow {
  width: 16px;
  height: 16px;
  transition: transform 0.25s var(--ease);
}

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

.btn-primary {
  background: var(--ink-900);
  color: var(--cream-100);
}

.btn-primary:hover {
  background: var(--copper-700);
}

.btn-gold {
  background: var(--gold-500);
  color: var(--ink-900);
}

.btn-gold:hover {
  background: var(--gold-400);
}

.btn-ghost {
  background: transparent;
  color: var(--ink-900);
  border-color: var(--ink-900);
}

.btn-ghost:hover {
  background: var(--ink-900);
  color: var(--cream-100);
}

.btn-ghost-light {
  background: transparent;
  color: var(--cream-100);
  border-color: rgba(247, 241, 230, 0.5);
}

.btn-ghost-light:hover {
  background: var(--cream-100);
  color: var(--ink-900);
  border-color: var(--cream-100);
}

/* ============================================================
   HEADER
   ============================================================ */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 241, 230, 0.96);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.3s var(--ease);
}

.header.is-scrolled {
  box-shadow: 0 6px 24px -16px rgba(31, 20, 16, 0.18);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: var(--s-6);
}

.brand {
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
  font-family: var(--font-display);
  color: var(--ink-900);
  line-height: 1;
}

.brand-name {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.brand-name b {
  color: var(--gold-600);
  font-weight: 700;
  margin-right: 2px;
}

.brand-tagline {
  font-size: 9px;
  letter-spacing: 0.32em;
  color: var(--gold-600);
  font-weight: 600;
}

.nav {
  display: flex;
  gap: 2px;
}

.nav a {
  position: relative;
  padding: 10px 14px;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-700);
  border-radius: 6px;
  transition: color 0.2s var(--ease);
}

.nav a:hover {
  color: var(--ink-900);
}

.nav a::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 4px;
  height: 1px;
  background: var(--gold-600);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}

.nav a:hover::after {
  transform: scaleX(1);
}

.header-cta {
  display: flex;
  align-items: center;
  gap: var(--s-4);
}

.header-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14px;
  color: var(--ink-900);
}

.header-phone svg {
  color: var(--gold-600);
}

.hamburger {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: transparent;
  border-radius: 8px;
  position: relative;
}

.hamburger span {
  position: absolute;
  left: 11px;
  right: 11px;
  height: 1.5px;
  background: var(--ink-900);
  transition: transform 0.3s var(--ease), opacity 0.2s var(--ease), top 0.3s var(--ease);
}

.hamburger span:nth-child(1) {
  top: 16px;
}

.hamburger span:nth-child(2) {
  top: 21px;
}

.hamburger span:nth-child(3) {
  top: 26px;
}

.hamburger[aria-expanded="true"] span:nth-child(1) {
  top: 21px;
  transform: rotate(45deg);
}

.hamburger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.hamburger[aria-expanded="true"] span:nth-child(3) {
  top: 21px;
  transform: rotate(-45deg);
}

/* Mobile drawer */
.mobile-nav {
  display: none;
  position: fixed;
  top: var(--header-h);
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--cream-100);
  padding: var(--s-6) var(--container-pad) var(--s-7);
  transform: translateY(-100vh);
  transition: transform 0.35s var(--ease);
  z-index: 40;
  overflow-y: auto;
  overscroll-behavior: contain;
  flex-direction: column;
  gap: var(--s-2);
  visibility: hidden;
}

@media (max-width: 980px) {
  .mobile-nav {
    display: flex;
  }

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

  .header-inner {
    gap: var(--s-3);
  }

  .brand-name {
    font-size: 15px;
  }

  .brand-tagline {
    font-size: 8px;
    letter-spacing: 0.28em;
  }
}

.mobile-nav.is-open {
  transform: translateY(0);
  visibility: visible;
  height: 100vh;
}

.mobile-nav a {
  display: block;
  padding: 16px 0;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  color: var(--ink-900);
  border-bottom: 1px solid var(--line);
}

.mobile-nav .btn {
  margin-top: var(--s-5);
  width: 100%;
  justify-content: center;

  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 26px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.04em;
  transition: all 0.25s var(--ease);
  text-decoration: none;
  white-space: nowrap;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: clamp(640px, 92vh, 920px);
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 0;
  background: var(--copper-900);
  color: var(--cream-100);
  overflow: hidden;
}

.hero-content {
  padding: clamp(56px, 9vw, 112px) clamp(24px, 5vw, 80px) clamp(56px, 8vw, 96px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  z-index: 2;
}

.hero-content::before {
  /* subtle copper plaster texture */
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 30%, rgba(184, 137, 63, 0.18), transparent 60%),
    radial-gradient(ellipse at 80% 80%, rgba(107, 68, 39, 0.35), transparent 65%),
    linear-gradient(180deg, var(--copper-900), var(--copper-800));
  z-index: -1;
}

.hero-content::after {
  /* fine grain noise via SVG */
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.7 0 0 0 0 0.5 0 0 0 0 0.3 0 0 0 0.4 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.35'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
  opacity: 0.5;
  z-index: -1;
  pointer-events: none;
}

.hero-tag {
  color: var(--gold-400);
  margin-bottom: var(--s-5);
}

.hero-tag::before {
  background: var(--gold-400);
}

.hero h1 {
  color: var(--cream-100);
  font-size: clamp(40px, 5.4vw, 78px);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -0.02em;
  margin-bottom: var(--s-6);
}

.hero h1 .gold {
  background: linear-gradient(180deg, #e8c97e 0%, #b8893f 75%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-style: italic;
  font-weight: 500;
}

.hero-lead {
  font-size: clamp(16px, 1.3vw, 18px);
  color: rgba(247, 241, 230, 0.78);
  max-width: 520px;
  margin-bottom: var(--s-7);
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-3);
  margin-bottom: var(--s-7);
}

.hero-meta {
  display: flex;
  gap: var(--s-6);
  flex-wrap: wrap;
  font-size: 13px;
  color: rgba(247, 241, 230, 0.6);
}

.hero-meta strong {
  display: block;
  color: var(--cream-100);
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 2px;
}

/* Hero image stack */
.hero-visual {
  position: relative;
  overflow: hidden;
}

.hero-image {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.hero-image-main {
  background-image: url("images/door-entrance.jpg");
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--copper-900) 0%, transparent 25%, transparent 100%);
  z-index: 2;
  pointer-events: none;
}

.hero-badge {
  position: absolute;
  right: clamp(20px, 4vw, 40px);
  bottom: clamp(20px, 4vw, 40px);
  z-index: 3;
  background: rgba(31, 20, 16, 0.78);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--cream-100);
  padding: 18px 22px;
  border-radius: 12px;
  border: 1px solid rgba(247, 241, 230, 0.15);
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: 320px;
}

.hero-badge-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--gold-500);
  display: grid;
  place-items: center;
  color: var(--ink-900);
  flex-shrink: 0;
}

.hero-badge-text {
  font-size: 13px;
  line-height: 1.4;
}

.hero-badge-text strong {
  display: block;
  font-family: var(--font-display);
  font-size: 14px;
  color: var(--gold-400);
  margin-bottom: 2px;
}

/* Hero side rail with vertical text */
.hero-rail {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-right: 1px solid rgba(247, 241, 230, 0.1);
  z-index: 3;
}

.hero-rail span {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: rgba(247, 241, 230, 0.5);
}

/* ============================================================
   MARQUEE / TRUST BRANDS
   ============================================================ */
.trust {
  background: var(--ink-900);
  color: var(--cream-300);
  padding: var(--s-6) 0;
  overflow: hidden;
}

.trust-inner {
  display: flex;
  align-items: center;
  gap: var(--s-7);
}

.trust-label {
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold-500);
  white-space: nowrap;
  flex-shrink: 0;
}

.marquee {
  flex: 1;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.marquee-track {
  display: flex;
  gap: var(--s-8);
  animation: marquee 32s linear infinite;
  width: max-content;
}

.marquee-track span {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 22px;
  letter-spacing: 0.06em;
  color: var(--cream-200);
  opacity: 0.7;
}

@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

/* ============================================================
   USP GRID
   ============================================================ */
.usp {
  background: var(--cream-100);
}

.usp-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s-4);
}

.usp-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: var(--s-6) var(--s-5);
  display: flex;
  flex-direction: column;
  gap: var(--s-4);
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
  position: relative;
  overflow: hidden;
}

.usp-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold-500);
  box-shadow: 0 24px 48px -24px rgba(31, 20, 16, 0.18);
}

.usp-num {
  display: none;
}

.usp-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: var(--cream-200);
  display: grid;
  place-items: center;
  color: var(--copper-700);
  margin-bottom: var(--s-2);
}

.usp-card h3 {
  font-size: 20px;
  font-weight: 600;
  margin: 0 0 4px;
}

.usp-card p {
  font-size: 14px;
  color: var(--ink-500);
  margin: 0;
  line-height: 1.55;
}

/* ============================================================
   OFFER CATEGORIES
   ============================================================ */
.offer {
  background: var(--cream-200);
  position: relative;
}

.offer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: var(--s-4);
}

.offer-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--copper-800);
  color: var(--cream-100);
  min-height: 340px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: var(--s-6);
  isolation: isolate;
  cursor: pointer;
  transition: transform 0.4s var(--ease);
}

.offer-card:hover {
  transform: translateY(-3px);
}

.offer-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: -2;
  transition: transform 0.6s var(--ease);
}

.offer-card:hover::before {
  transform: scale(1.04);
}

.offer-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(31, 20, 16, 0.1) 0%, rgba(31, 20, 16, 0.85) 100%);
  z-index: -1;
}

.offer-card.is-stolarka {
  grid-column: 1;
  grid-row: 1 / span 2;
  min-height: 540px;
}

.offer-card.is-stolarka::before {
  background-image: url("images/door-entrance.jpg");
}

.offer-card.is-podlogi::before {
  background-image: linear-gradient(135deg, #6b4427 0%, #8a5a35 100%);
  background-image: url("images/door-interior.jpg");
}

.offer-card.is-elewacje::before {
  background-image: url("images/showroom-logo-wide.jpg");
}

.offer-card.is-budowlanka::before {
  background-image: url("images/showroom-logo-close.jpg");
}

.offer-card .kicker {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-400);
  margin-bottom: var(--s-3);
}

.offer-card h3 {
  color: var(--cream-100);
  font-size: clamp(22px, 2.3vw, 30px);
  font-weight: 600;
  margin: 0 0 var(--s-3);
}

.offer-card p {
  color: rgba(247, 241, 230, 0.78);
  font-size: 14px;
  margin: 0 0 var(--s-4);
  max-width: 460px;
}

.offer-card .chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.offer-card .chip {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.04em;
  padding: 6px 10px;
  border: 1px solid rgba(247, 241, 230, 0.25);
  border-radius: 999px;
  color: var(--cream-100);
  background: rgba(31, 20, 16, 0.35);
}

.offer-card .open-link {
  position: absolute;
  top: var(--s-5);
  right: var(--s-5);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(247, 241, 230, 0.12);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(247, 241, 230, 0.18);
  display: grid;
  place-items: center;
  color: var(--cream-100);
  transition: background 0.25s var(--ease), transform 0.25s var(--ease);
}

.offer-card:hover .open-link {
  background: var(--gold-500);
  color: var(--ink-900);
  transform: rotate(-45deg);
  border-color: var(--gold-500);
}

/* ============================================================
   FLEX / DUAL APPROACH
   ============================================================ */
.flex-approach {
  background: var(--ink-900);
  color: var(--cream-100);
  position: relative;
  overflow: hidden;
}

.flex-approach .section-head h2 {
  color: var(--cream-100);
}

.flex-approach .section-head p {
  color: rgba(247, 241, 230, 0.6);
}

.flex-approach .eyebrow {
  color: var(--gold-400);
}

.flex-approach .eyebrow::before {
  background: var(--gold-400);
}

.dual {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: stretch;
  gap: var(--s-4);
}

.dual-card {
  background: var(--copper-800);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-md);
  padding: clamp(28px, 4vw, 48px);
  display: flex;
  flex-direction: column;
  gap: var(--s-4);
  position: relative;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}

.dual-card:hover {
  border-color: var(--gold-500);
}

.dual-card.is-pro {
  background: linear-gradient(160deg, #2a1c14 0%, #3d2a1e 100%);
}

.dual-num {
  display: none;
}

.dual-card h3 {
  color: var(--cream-100);
  font-size: clamp(24px, 2.4vw, 32px);
  font-weight: 600;
  margin: 0;
}

.dual-card .sub {
  color: var(--gold-400);
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: var(--s-2);
}

.dual-card p {
  color: rgba(247, 241, 230, 0.78);
  font-size: 15px;
  flex: 1;
}

.dual-card .btn {
  align-self: flex-start;
}

.dual-bullets {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--s-5);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.dual-bullets li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: rgba(247, 241, 230, 0.85);
}

.dual-bullets li::before {
  content: "";
  flex-shrink: 0;
  width: 6px;
  height: 6px;
  margin-top: 8px;
  background: var(--gold-500);
  transform: rotate(45deg);
}

.dual-divider {
  width: 88px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.dual-divider span {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: 18px;
  color: var(--gold-500);
  background: var(--ink-900);
  padding: 12px 0;
  z-index: 2;
}

.dual-divider::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1px;
  background: var(--line-dark);
}

/* ============================================================
   PHILOSOPHY · manifesto with photo collage
   ============================================================ */
.philosophy {
  background: var(--copper-900);
  color: var(--cream-100);
  position: relative;
  overflow: hidden;
  padding: clamp(80px, 10vw, 160px) 0;
}

.philosophy::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 75% 15%, rgba(184, 137, 63, 0.18), transparent 55%),
    radial-gradient(ellipse at 15% 85%, rgba(107, 68, 39, 0.32), transparent 60%);
  pointer-events: none;
}

.philosophy::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.7 0 0 0 0 0.5 0 0 0 0 0.3 0 0 0 0.4 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.3'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
  opacity: 0.4;
  pointer-events: none;
}

.philosophy .container {
  position: relative;
  z-index: 1;
}

.philosophy-head {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: end;
  margin-bottom: clamp(48px, 8vw, 96px);
}

.philosophy-head .eyebrow {
  color: var(--gold-400);
}

.philosophy-head .eyebrow::before {
  background: var(--gold-400);
}

.philosophy-head h2 {
  color: var(--cream-100);
  font-size: clamp(44px, 6.4vw, 96px);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 0.98;
  margin: var(--s-4) 0 0;
}

.philosophy-head h2 em {
  font-style: italic;
  font-weight: 500;
  background: linear-gradient(180deg, #e8c97e 0%, #b8893f 80%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.philosophy-head>div:first-child {
  padding-bottom: 8px;
}

.philosophy-head>p {
  font-size: clamp(17px, 1.5vw, 21px);
  line-height: 1.55;
  color: rgba(247, 241, 230, 0.72);
  max-width: 52ch;
  margin: 0;
}

.philosophy-gallery {
  display: grid;
  grid-template-columns: 1.25fr 1fr 1.05fr;
  grid-template-rows: 220px 220px;
  gap: var(--s-4);
  margin-bottom: clamp(56px, 8vw, 112px);
}

.ph-img {
  margin: 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--copper-800);
  position: relative;
}

.ph-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}

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

.ph-img-1 {
  grid-column: 1;
  grid-row: 1 / span 2;
}

.ph-img-2 {
  grid-column: 3;
  grid-row: 1 / span 2;
}

.ph-quote {
  grid-column: 2;
  grid-row: 1 / span 2;
  margin: 0;
  padding: clamp(28px, 3.2vw, 40px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: linear-gradient(155deg, #3d2a1e 0%, #2a1c14 100%);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-md);
  position: relative;
}

.ph-quote::before {
  content: "";
  display: block;
  width: 36px;
  height: 4px;
  background: var(--gold-500);
  margin-bottom: var(--s-4);
  flex-shrink: 0;
}

.ph-quote p {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(15px, 1.3vw, 18px);
  color: var(--cream-100);
  line-height: 1.5;
  margin: 0 0 var(--s-4);
  position: relative;
  z-index: 1;
}

.ph-quote cite {
  font-style: normal;
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-400);
  font-weight: 600;
}

.philosophy-principles {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  padding-top: var(--s-7);
  border-top: 1px solid var(--line-dark);
}

.philosophy-principles article {
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
  padding: 0 var(--s-5);
  border-right: 1px solid var(--line-dark);
}

.philosophy-principles article:first-child {
  padding-left: 0;
}

.philosophy-principles article:last-child {
  border-right: none;
  padding-right: 0;
}

.philosophy-principles .label {
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold-500);
  font-weight: 600;
}

.philosophy-principles h3 {
  color: var(--cream-100);
  font-size: clamp(19px, 1.6vw, 23px);
  font-weight: 600;
  margin: 0;
  line-height: 1.2;
}

.philosophy-principles p {
  font-size: 14px;
  color: rgba(247, 241, 230, 0.65);
  margin: 0;
  line-height: 1.55;
}

/* legacy styles kept harmless */
.more-than,
.more-than-grid,
.more-than-visual,
.more-than-body,
.feature-list {
  display: none;
}

/* ============================================================
   SHOWROOM GALLERY
   ============================================================ */
.gallery {
  background: var(--cream-100);
  padding-bottom: clamp(48px, 7vw, 96px);
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-4);
}

.gallery-item {
  margin: 0;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  background: var(--copper-800);
  aspect-ratio: 4 / 3;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}

.gallery-item:hover img {
  transform: scale(1.04);
}

.gallery-item .caption {
  position: absolute;
  left: 18px;
  bottom: 18px;
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cream-100);
  background: rgba(31, 20, 16, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 8px 12px;
  border-radius: 999px;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}

.gallery-item:hover .caption {
  opacity: 1;
  transform: translateY(0);
}

.g-1,
.g-2,
.g-3,
.g-4 {
  grid-column: auto;
  grid-row: auto;
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact {
  background: var(--ink-900);
  color: var(--cream-100);
}

.contact .section-head h2 {
  color: var(--cream-100);
}

.contact .section-head p {
  color: rgba(247, 241, 230, 0.6);
}

.contact .eyebrow {
  color: var(--gold-400);
}

.contact .eyebrow::before {
  background: var(--gold-400);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: var(--s-7);
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: var(--s-5);
}

.info-block {
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-md);
  padding: var(--s-5);
  background: var(--copper-900);
}

.info-block h4 {
  font-family: var(--font-display);
  color: var(--gold-400);
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin: 0 0 var(--s-3);
  font-weight: 600;
}

.info-block p {
  color: var(--cream-100);
  font-size: 18px;
  font-family: var(--font-display);
  margin: 0;
  line-height: 1.5;
  font-weight: 500;
}

.info-block .sub {
  font-size: 13px;
  color: rgba(247, 241, 230, 0.55);
  font-family: var(--font-body);
  font-weight: 400;
  margin-top: 6px;
  display: block;
}

.hours {
  margin-top: var(--s-4);
  padding-top: var(--s-4);
  border-top: 1px solid var(--line-dark);
}

.hours-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 7px 0;
  font-size: 14px;
  color: rgba(247, 241, 230, 0.7);
}

.hours-row+.hours-row {
  border-top: 1px dashed var(--line-dark);
}

.hours-row strong {
  color: var(--cream-100);
  font-weight: 500;
  font-family: var(--font-display);
}

/* Map sketch · a stylized placeholder for the Chojnice location */
.map-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: linear-gradient(135deg, #2a1c14, #1f1410);
  border: 1px solid var(--line-dark);
  aspect-ratio: 4 / 3;
  min-height: 240px;
}

.map-card.map-wide {
  margin-top: var(--s-7);
  aspect-ratio: auto;
  height: clamp(280px, 30vw, 420px);
  min-height: 0;
}

.map-card svg {
  width: 100%;
  height: 100%;
  display: block;
}

.map-cta {
  position: absolute;
  top: var(--s-4);
  right: var(--s-4);
}

.map-pin {
  position: absolute;
  top: 46%;
  left: 52%;
  transform: translate(-50%, -100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.map-pin .dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--gold-500);
  box-shadow: 0 0 0 6px rgba(201, 163, 90, 0.25), 0 0 0 14px rgba(201, 163, 90, 0.1);
  animation: pulse 2.4s var(--ease) infinite;
}

@keyframes pulse {

  0%,
  100% {
    box-shadow: 0 0 0 6px rgba(201, 163, 90, 0.25), 0 0 0 14px rgba(201, 163, 90, 0.1);
  }

  50% {
    box-shadow: 0 0 0 10px rgba(201, 163, 90, 0.18), 0 0 0 22px rgba(201, 163, 90, 0.06);
  }
}

.map-pin .label {
  background: var(--gold-500);
  color: var(--ink-900);
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 4px;
  letter-spacing: 0.04em;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* Form */
.form-card {
  background: var(--copper-900);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 4vw, 48px);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-4);
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-field.full {
  grid-column: 1 / -1;
}

.form-field label {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-400);
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--line-dark);
  padding: 12px 0;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--cream-100);
  border-radius: 0;
  transition: border-color 0.25s var(--ease);
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: rgba(247, 241, 230, 0.35);
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-bottom-color: var(--gold-500);
}

.form-field textarea {
  min-height: 90px;
  resize: vertical;
  font-family: var(--font-body);
}

.form-field select {
  appearance: none;
  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='%23c9a35a' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 4px center;
  padding-right: 24px;
}

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

.form-field.invalid input,
.form-field.invalid textarea,
.form-field.invalid select {
  border-bottom-color: #d96e4a;
}

.form-field .error {
  font-size: 12px;
  color: #e08c6f;
  display: none;
}

.form-field.invalid .error {
  display: block;
}

.form-bottom {
  margin-top: var(--s-6);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--s-4);
}

.form-consent {
  display: flex;
  gap: 10px;
  font-size: 12px;
  color: rgba(247, 241, 230, 0.55);
  max-width: 360px;
  line-height: 1.5;
}

.form-consent input {
  accent-color: var(--gold-500);
  margin-top: 2px;
}

.form-success {
  display: none;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: var(--s-6) 0;
}

.form-success.is-shown {
  display: flex;
}

.form-success .check {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--gold-500);
  display: grid;
  place-items: center;
  color: var(--ink-900);
  margin-bottom: var(--s-4);
}

.form-success h3 {
  color: var(--cream-100);
}

.form-success p {
  color: rgba(247, 241, 230, 0.7);
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--copper-900);
  color: rgba(247, 241, 230, 0.6);
  padding: var(--s-8) 0 var(--s-5);
  border-top: 1px solid var(--line-dark);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: var(--s-6);
  margin-bottom: var(--s-7);
}

.footer h5 {
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-400);
  margin: 0 0 var(--s-4);
  font-weight: 600;
}

.footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer ul a {
  color: rgba(247, 241, 230, 0.7);
  font-size: 14px;
  transition: color 0.2s;
}

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

.footer-brand p {
  font-size: 14px;
  max-width: 320px;
}

.footer-bottom {
  border-top: 1px solid var(--line-dark);
  padding-top: var(--s-5);
  display: flex;
  justify-content: space-between;
  gap: var(--s-4);
  flex-wrap: wrap;
  font-size: 12px;
  color: rgba(247, 241, 230, 0.4);
}

/* ============================================================
   ANIMATIONS
   ============================================================ */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1180px) {
  .header-phone {
    display: none;
  }
}

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

  .hamburger {
    display: block;
  }

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

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

@media (max-width: 880px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-visual {
    min-height: 380px;
    order: -1;
  }

  .hero-rail {
    display: none;
  }

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

  .offer-card.is-stolarka {
    grid-column: 1 / -1;
    grid-row: auto;
    min-height: 380px;
  }

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

  .dual-divider {
    width: 100%;
    height: 56px;
    flex-direction: row;
  }

  .dual-divider::before {
    left: 0;
    right: 0;
    top: 50%;
    bottom: auto;
    width: auto;
    height: 1px;
  }

  .philosophy-head {
    grid-template-columns: 1fr;
    gap: var(--s-5);
    align-items: start;
  }

  .philosophy-gallery {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 220px 220px auto;
  }

  .ph-img-1 {
    grid-column: 1;
    grid-row: 1;
  }

  .ph-img-2 {
    grid-column: 2;
    grid-row: 1;
  }

  .ph-quote {
    grid-column: 1 / -1;
    grid-row: 2 / span 2;
    padding: 32px 28px 32px 44px;
  }

  .philosophy-principles {
    grid-template-columns: 1fr 1fr;
    gap: var(--s-5) 0;
  }

  .philosophy-principles article {
    border-right: none;
    padding: var(--s-4) var(--s-4);
    border-bottom: 1px solid var(--line-dark);
  }

  .philosophy-principles article:nth-child(odd) {
    padding-left: 0;
  }

  .philosophy-principles article:nth-child(even) {
    padding-right: 0;
    border-right: none;
  }

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

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

  .g-1,
  .g-2,
  .g-3,
  .g-4 {
    grid-column: auto;
    grid-row: auto;
  }
}

@media (max-width: 560px) {
  .usp-grid {
    grid-template-columns: 1fr;
  }

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

  .offer-card.is-stolarka {
    min-height: 320px;
  }

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

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

  .form-bottom {
    flex-direction: column;
    align-items: stretch;
  }

  .form-bottom .btn {
    width: 100%;
    justify-content: center;
  }

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

  .g-1,
  .g-2,
  .g-3,
  .g-4 {
    grid-column: auto;
    grid-row: auto;
  }

  .philosophy-principles {
    grid-template-columns: 1fr;
  }

  .philosophy-principles article {
    padding: var(--s-4) 0;
  }

  .trust-inner {
    flex-direction: column;
    gap: var(--s-3);
    align-items: flex-start;
  }

  .hero-meta {
    gap: var(--s-4);
  }

  .hero-badge {
    left: 16px;
    right: 16px;
    max-width: none;
  }
}