/* =====================================================================
   NBK Budownictwo — generalne wykonawstwo
   Editorial construction-firm design system
   ===================================================================== */

/* ---------- Tokens ---------- */
:root {
  /* Colors — richer, livelier palette while staying professional */
  --bg: #eee8d8;
  --bg-soft: #e3dbc8;
  --bg-dark: #1e1a14;
  --bg-dark-soft: #2a241a;
  --ink: #18202c;
  --ink-soft: #4a5568;
  --ink-faint: #7c8698;
  --line: rgba(24, 32, 44, 0.13);
  --line-strong: rgba(24, 32, 44, 0.28);
  --line-light: rgba(238, 232, 216, 0.20);
  --accent: #b55e12;
  --accent-deep: #8c450a;
  --accent-warm: #d4974a;
  --paper-white: #f8f3e8;

  /* Typography */
  --ff-display: 'Bricolage Grotesque', 'Helvetica Neue', system-ui, sans-serif;
  --ff-serif: 'Instrument Serif', Georgia, serif;
  --ff-body: 'Manrope', system-ui, -apple-system, sans-serif;

  /* Spacing scale */
  --container: 1280px;
  --gutter: 24px;
  --sect-y: clamp(80px, 10vw, 140px);

  /* Radii / shadows */
  --r-sm: 4px;
  --r-md: 10px;
  --r-lg: 18px;
  --shadow-soft: 0 12px 40px -12px rgba(20, 28, 40, 0.24);
  --shadow-card: 0 24px 60px -28px rgba(20, 28, 40, 0.38);
}

/* ---------- Reset ---------- */
*,*::before,*::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--ff-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
button { font-family: inherit; cursor: pointer; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0; font-weight: 500; letter-spacing: -0.02em; }
p { margin: 0; }

::selection { background: var(--accent); color: var(--paper-white); }

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.section { padding: var(--sect-y) 0; }

/* ---------- Type ---------- */
.eyebrow {
  font-family: var(--ff-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  display: inline-block;
  margin-bottom: 28px;
}
.eyebrow-light { color: var(--accent-warm); }

.section-title {
  font-family: var(--ff-display);
  font-weight: 400;
  font-size: clamp(38px, 5.4vw, 76px);
  line-height: 1.02;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin-bottom: 28px;
}
.section-title em {
  font-family: var(--ff-serif);
  font-style: italic;
  font-weight: 400;
  color: var(--accent);
  letter-spacing: -0.01em;
}
.section-title-light { color: var(--paper-white); }
.section-title-light em { color: var(--accent-warm); }

.lede {
  font-size: 19px;
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 60ch;
}

.section-head { margin-bottom: 64px; max-width: 800px; }
.section-head-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 48px;
  max-width: none;
  flex-wrap: wrap;
}
.section-aside {
  font-size: 15px;
  color: var(--ink-soft);
  max-width: 32ch;
  border-left: 1px solid var(--line);
  padding-left: 20px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--ff-body);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  transition: transform 200ms ease, background-color 200ms ease, color 200ms ease, border-color 200ms ease, box-shadow 200ms ease;
  white-space: nowrap;
}
.btn-sm { padding: 10px 18px; font-size: 12px; }
.btn-lg { padding: 18px 32px; font-size: 14px; }

.btn-primary {
  background: var(--accent);
  color: var(--paper-white);
}
.btn-primary:hover {
  background: var(--accent-deep);
  transform: translateY(-2px);
  box-shadow: 0 12px 24px -8px rgba(181, 94, 18, 0.45);
}
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-strong);
}
.btn-ghost:hover { border-color: var(--ink); }

.hero .btn-ghost {
  color: var(--paper-white);
  border-color: rgba(255, 250, 240, 0.4);
}
.hero .btn-ghost:hover { border-color: var(--paper-white); background: rgba(255,250,240,0.06); }

.link-arrow {
  display: inline-block;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.04em;
  color: var(--accent);
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
  margin-top: 16px;
  transition: transform 200ms ease;
}
.link-arrow:hover { transform: translateX(4px); }

/* =====================================================================
   HEADER
   ===================================================================== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(246, 241, 231, 0.0);
  backdrop-filter: blur(0);
  transition: background 250ms ease, backdrop-filter 250ms ease, border-color 250ms ease;
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  background: rgba(238, 232, 216, 0.94);
  backdrop-filter: blur(12px);
  border-bottom-color: var(--line);
}
.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  height: 76px;
}
.brand {
  display: flex;
  align-items: center;
}
.brand-logo {
  height: 58px;
  width: auto;
  display: block;
  /* On dark hero: invert dark text/icon to white */
  filter: brightness(0) invert(1);
  transition: filter 350ms ease, opacity 350ms ease;
  opacity: 0.95;
}
.site-header.is-scrolled .brand-logo {
  /* On light header: original colours — navy icon, dark text */
  filter: none;
  opacity: 1;
}
.nav { display: flex; gap: 32px; }
.nav a {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--paper-white);
  position: relative;
  transition: color 250ms ease;
}
.site-header.is-scrolled .nav a { color: var(--ink); }
.nav a::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 250ms ease;
}
.nav a:hover::after { transform: scaleX(1); }

.header-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}
.lang-switch {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--paper-white);
  transition: color 250ms ease;
}
.site-header.is-scrolled .lang-switch { color: var(--ink); }
.lang-btn {
  background: transparent;
  border: none;
  padding: 4px 6px;
  color: inherit;
  font: inherit;
  opacity: 0.55;
  transition: opacity 200ms ease;
}
.lang-btn.is-active { opacity: 1; }
.lang-btn:hover { opacity: 1; }
.lang-divider { opacity: 0.3; }

.menu-toggle {
  display: none;
  background: transparent;
  border: 1px solid currentColor;
  width: 38px; height: 38px;
  border-radius: 50%;
  padding: 0;
  position: relative;
  color: var(--paper-white);
}
.site-header.is-scrolled .menu-toggle { color: var(--ink); }
.menu-toggle span {
  display: block;
  width: 16px; height: 1.5px;
  background: currentColor;
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  transition: transform 250ms ease, opacity 200ms ease;
}
.menu-toggle span:nth-child(1) { transform: translate(-50%, calc(-50% - 5px)); }
.menu-toggle span:nth-child(3) { transform: translate(-50%, calc(-50% + 5px)); }
.menu-toggle.is-open span:nth-child(1) { transform: translate(-50%, -50%) rotate(45deg); }
.menu-toggle.is-open span:nth-child(2) { opacity: 0; }
.menu-toggle.is-open span:nth-child(3) { transform: translate(-50%, -50%) rotate(-45deg); }


/* =====================================================================
   HERO
   ===================================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  color: var(--paper-white);
  padding: 140px 0 80px;
  overflow: hidden;
  isolation: isolate;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
}
.hero-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: contrast(0.95) saturate(0.85);
}
.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(26, 23, 20, 0.45) 0%, rgba(26, 23, 20, 0.55) 50%, rgba(26, 23, 20, 0.85) 100%),
    linear-gradient(90deg, rgba(26, 23, 20, 0.55) 0%, rgba(26, 23, 20, 0) 60%);
}

.hero-grid {
  display: grid;
  gap: 28px;
  position: relative;
  z-index: 1;
}
.hero-meta { animation: fadeUp 800ms 100ms cubic-bezier(.22,1,.36,1) backwards; }
.hero-title {
  font-family: var(--ff-display);
  font-weight: 400;
  font-size: clamp(56px, 9.5vw, 148px);
  line-height: 0.93;
  letter-spacing: -0.035em;
  margin: 0;
  max-width: 14ch;
}
.hero-title-line1 { display: block; animation: fadeUp 800ms 200ms cubic-bezier(.22,1,.36,1) backwards; }
.hero-title-line2 {
  display: block;
  animation: fadeUp 800ms 350ms cubic-bezier(.22,1,.36,1) backwards;
  padding-left: 0.4em;
}
.hero-title-line2 em {
  font-family: var(--ff-serif);
  font-style: italic;
  font-weight: 400;
  color: var(--accent-warm);
  letter-spacing: -0.015em;
}
.hero-title-line3 {
  display: block;
  animation: fadeUp 800ms 500ms cubic-bezier(.22,1,.36,1) backwards;
}
.hero-lede {
  max-width: 50ch;
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.55;
  color: rgba(255, 250, 240, 0.86);
  margin-top: 16px;
  animation: fadeUp 800ms 650ms cubic-bezier(.22,1,.36,1) backwards;
}
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 24px;
  animation: fadeUp 800ms 800ms cubic-bezier(.22,1,.36,1) backwards;
}
.hero-figures {
  display: flex;
  gap: clamp(32px, 5vw, 80px);
  margin-top: 56px;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 250, 240, 0.18);
  animation: fadeUp 800ms 950ms cubic-bezier(.22,1,.36,1) backwards;
  flex-wrap: wrap;
}
.hero-figure {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.hero-figure-num {
  font-family: var(--ff-display);
  font-size: clamp(36px, 4.5vw, 56px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--paper-white);
}
.hero-figure-label {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 250, 240, 0.65);
  max-width: 18ch;
}

.hero-scroll {
  position: absolute;
  bottom: 32px;
  right: var(--gutter);
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 250, 240, 0.7);
  animation: fadeUp 800ms 1100ms cubic-bezier(.22,1,.36,1) backwards;
}
.hero-scroll svg { animation: bounce 2s infinite; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(4px); }
}

/* =====================================================================
   MARQUEE
   ===================================================================== */
.marquee {
  background: var(--bg-dark);
  color: var(--paper-white);
  padding: 22px 0;
  overflow: hidden;
  border-top: 1px solid var(--line-light);
  border-bottom: 1px solid var(--line-light);
}
.marquee-track {
  display: flex;
  align-items: center;
  gap: 32px;
  white-space: nowrap;
  animation: marquee 50s linear infinite;
  font-family: var(--ff-display);
  font-size: 22px;
  font-weight: 400;
  letter-spacing: -0.01em;
}
.marquee-track .dot { color: var(--accent); font-size: 10px; }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* =====================================================================
   ABOUT
   ===================================================================== */
.about { background: var(--bg); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.about-text .section-title { margin-bottom: 32px; }
.about-text .lede { margin-bottom: 56px; }

.about-points {
  display: grid;
  gap: 36px;
}
.point {
  position: relative;
  padding-left: 64px;
  padding-top: 6px;
  border-top: 1px solid var(--line);
  padding-top: 24px;
}
.point-num {
  position: absolute;
  left: 0; top: 24px;
  font-family: var(--ff-display);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--accent);
}
.point h3 {
  font-family: var(--ff-display);
  font-size: 22px;
  font-weight: 500;
  margin-bottom: 8px;
  letter-spacing: -0.015em;
}
.point p { color: var(--ink-soft); font-size: 15px; }

.about-media {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 16px;
  align-items: start;
}
.about-figure { margin: 0; overflow: hidden; border-radius: var(--r-md); }
.about-figure img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 800ms cubic-bezier(.22,1,.36,1);
}
.about-figure:hover img { transform: scale(1.04); }
.about-figure-1 {
  grid-column: 1 / -1;
  aspect-ratio: 16 / 10;
  margin-top: 40px;
}
.about-figure-2 {
  aspect-ratio: 4 / 5;
  grid-column: 2 / 3;
}
.about-quote {
  grid-column: 1 / 2;
  grid-row: 2 / 3;
  background: var(--bg-dark);
  color: var(--paper-white);
  padding: 32px;
  border-radius: var(--r-md);
  position: relative;
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.quote-mark {
  font-family: var(--ff-serif);
  font-size: 80px;
  line-height: 0.5;
  color: var(--accent-warm);
  display: block;
  margin-bottom: 16px;
}
.about-quote p {
  font-family: var(--ff-serif);
  font-size: clamp(20px, 2vw, 28px);
  font-style: italic;
  line-height: 1.25;
  margin-bottom: 16px;
}
.quote-attr {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 250, 240, 0.6);
}

/* =====================================================================
   OWNER
   ===================================================================== */
.owner { background: var(--bg); }
.owner-grid {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 80px;
  align-items: start;
}
.owner-photos {
  position: sticky;
  top: 100px;
}
.owner-photo-main {
  margin: 0;
  border-radius: var(--r-lg);
  overflow: hidden;
  aspect-ratio: 3 / 4;
  box-shadow: var(--shadow-card);
}
.owner-photo-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 600ms ease;
}
.owner-photo-main:hover img { transform: scale(1.03); }
.owner-text {
  padding-top: 8px;
}
.owner-role {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 32px;
}
.owner-bio {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 40px;
}
.owner-bio p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink-soft);
  margin: 0;
}
/* =====================================================================
   SERVICES
   ===================================================================== */
.services { background: var(--bg-soft); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card {
  background: var(--paper-white);
  border-radius: var(--r-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 400ms cubic-bezier(.22,1,.36,1), box-shadow 400ms ease;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card);
}
.service-card-lg { grid-column: 1 / 2; grid-row: 1 / 3; }
.service-card-wide { grid-column: 2 / 4; }

.service-img {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
}
.service-card-lg .service-img { aspect-ratio: 4 / 5; }
.service-card-wide .service-img { aspect-ratio: 21 / 9; }
.service-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 800ms cubic-bezier(.22,1,.36,1);
}
.service-card:hover .service-img img { transform: scale(1.06); }

.service-body {
  padding: 32px;
  flex: 1;
}
.service-num {
  font-family: var(--ff-display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--accent);
  display: block;
  margin-bottom: 12px;
}
.service-body h3 {
  font-family: var(--ff-display);
  font-size: clamp(22px, 2vw, 28px);
  font-weight: 500;
  letter-spacing: -0.015em;
  margin-bottom: 12px;
}
.service-body p {
  font-size: 15px;
  color: var(--ink-soft);
  line-height: 1.55;
}
.service-body ul {
  margin-top: 20px;
  display: grid;
  gap: 10px;
}
.service-body ul li {
  font-size: 14px;
  color: var(--ink);
  position: relative;
  padding-left: 24px;
}
.service-body ul li::before {
  content: '';
  position: absolute;
  left: 0; top: 9px;
  width: 12px; height: 1.5px;
  background: var(--accent);
}

/* =====================================================================
   REALIZATIONS
   ===================================================================== */
.realizations { background: var(--bg); }
.filter {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 48px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}
.filter-btn {
  background: transparent;
  border: 1px solid var(--line);
  padding: 10px 20px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-soft);
  letter-spacing: 0.02em;
  transition: all 200ms ease;
}
.filter-btn:hover {
  border-color: var(--ink);
  color: var(--ink);
}
.filter-btn.is-active {
  background: var(--ink);
  color: var(--paper-white);
  border-color: var(--ink);
}

.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 240px;
  gap: 16px;
  grid-auto-flow: dense;
}
.gal-item {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: var(--r-md);
  background: var(--bg-dark);
  cursor: zoom-in;
  transition: opacity 350ms ease, transform 350ms ease;
}
.gal-item.is-hidden {
  opacity: 0;
  transform: scale(0.95);
  pointer-events: none;
  position: absolute;
  visibility: hidden;
}
.gal-tall { grid-row: span 2; }
.gal-wide { grid-column: span 2; }
.gal-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 800ms cubic-bezier(.22,1,.36,1);
}
.gal-item:hover img { transform: scale(1.07); }
.gal-item figcaption {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  color: var(--paper-white);
  background: linear-gradient(180deg, rgba(0,0,0,0) 50%, rgba(26, 23, 20, 0.85) 100%);
  opacity: 1;
  transition: opacity 300ms ease;
}
.gal-cat {
  font-family: var(--ff-display);
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.015em;
  margin-bottom: 4px;
}
.gal-loc {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 250, 240, 0.7);
}

/* =====================================================================
   STATS
   ===================================================================== */
.stats {
  background: var(--bg-dark);
  color: var(--paper-white);
  padding: var(--sect-y) 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(4, 1fr);
  gap: 32px;
  align-items: end;
}
.stats-head .section-title { color: var(--paper-white); }
.stats-head .section-title em { color: var(--accent-warm); }
.stat {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line-light);
  padding-top: 24px;
  position: relative;
}
.stat-num {
  font-family: var(--ff-display);
  font-size: clamp(48px, 6vw, 88px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--paper-white);
}
.stat-plus {
  display: inline-block;
  margin-left: -8px;
  font-family: var(--ff-display);
  font-size: clamp(28px, 3vw, 48px);
  color: var(--accent-warm);
  vertical-align: top;
  line-height: 1;
}
.stat-label {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 250, 240, 0.7);
  margin-top: 12px;
  max-width: 18ch;
}

/* =====================================================================
   PROCESS
   ===================================================================== */
.process { background: var(--bg-soft); }
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 32px;
  border-top: 1px solid var(--line);
}
.process-step {
  padding: 40px 32px 40px 0;
  border-right: 1px solid var(--line);
  position: relative;
}
.process-step:last-child { border-right: none; }
.process-step:not(:first-child) { padding-left: 32px; }
.step-num {
  font-family: var(--ff-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--accent);
  display: block;
  margin-bottom: 20px;
}
.process-step h3 {
  font-family: var(--ff-display);
  font-size: clamp(22px, 2vw, 28px);
  font-weight: 500;
  letter-spacing: -0.015em;
  margin-bottom: 12px;
  max-width: 14ch;
}
.process-step p {
  font-size: 15px;
  color: var(--ink-soft);
  line-height: 1.55;
}

/* =====================================================================
   TESTIMONIALS
   ===================================================================== */
.testimonials { background: var(--bg); }
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.testimonial {
  background: var(--paper-white);
  border-radius: var(--r-lg);
  padding: 36px;
  margin: 0;
  border: 1px solid var(--line);
  position: relative;
  display: flex;
  flex-direction: column;
}
.testimonial::before {
  content: '"';
  position: absolute;
  top: 16px; right: 32px;
  font-family: var(--ff-serif);
  font-size: 90px;
  line-height: 1;
  color: var(--accent);
  opacity: 0.18;
}
.testimonial p {
  font-family: var(--ff-serif);
  font-size: 18px;
  line-height: 1.6;
  color: var(--ink);
  margin-bottom: 24px;
  flex: 1;
}
.testimonial footer {
  border-top: 1px solid var(--line);
  padding-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.testimonial footer strong {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  font-family: var(--ff-body);
}
.testimonial footer span {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
}




/* =====================================================================
   TRUST
   ===================================================================== */
.trust {
  background: var(--bg-soft);
  padding: 56px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.trust-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 32px;
}
.trust-row .eyebrow { margin-bottom: 0; max-width: 22ch; }
.trust-list {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(20px, 3vw, 48px);
  align-items: center;
}
.trust-list li {
  font-family: var(--ff-display);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--ink-faint);
  transition: color 200ms ease;
}
.trust-list li:hover { color: var(--ink); }

/* =====================================================================
   FAQ
   ===================================================================== */
.faq { background: var(--bg); }
.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: start;
}
.faq-head {
  position: sticky;
  top: 100px;
}
.faq-head .section-title { margin-bottom: 24px; }
.faq-head p {
  font-size: 16px;
  color: var(--ink-soft);
  margin-bottom: 16px;
}

.faq-list {
  display: grid;
  gap: 0;
}
.faq-item {
  border-top: 1px solid var(--line);
  padding: 24px 0;
}
.faq-item:last-child { border-bottom: 1px solid var(--line); }
.faq-item summary {
  font-family: var(--ff-display);
  font-size: clamp(18px, 1.6vw, 22px);
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--ink);
  cursor: pointer;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  list-style: none;
  position: relative;
  padding-right: 40px;
  transition: color 200ms ease;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  position: absolute;
  right: 0; top: 0;
  font-size: 28px;
  font-weight: 300;
  color: var(--accent);
  transition: transform 300ms ease;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item summary:hover { color: var(--accent); }
.faq-body {
  padding-top: 16px;
  padding-right: 40px;
}
.faq-body p {
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.6;
}

/* =====================================================================
   CONTACT
   ===================================================================== */
.contact {
  background: var(--bg-dark);
  color: var(--paper-white);
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 80px;
  align-items: start;
}
.contact-info .section-title { margin-bottom: 24px; }
.contact-lede {
  font-size: 17px;
  color: rgba(255, 250, 240, 0.78);
  max-width: 40ch;
  margin-bottom: 56px;
}
.contact-list {
  display: grid;
  gap: 24px;
}
.contact-list li {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 24px;
  padding: 16px 0;
  border-top: 1px solid var(--line-light);
}
.contact-list li:last-child { border-bottom: 1px solid var(--line-light); }
.contact-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 250, 240, 0.5);
  padding-top: 4px;
}
.contact-value {
  font-family: var(--ff-display);
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.005em;
  color: var(--paper-white);
}
a.contact-value:hover { color: var(--accent-warm); }

.contact-form {
  background: var(--bg-dark-soft);
  padding: 40px;
  border-radius: var(--r-lg);
  border: 1px solid var(--line-light);
  display: grid;
  gap: 20px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.form-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.form-field span {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 250, 240, 0.6);
}
.form-field input,
.form-field select,
.form-field textarea {
  font: inherit;
  font-size: 15px;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255, 250, 240, 0.25);
  padding: 8px 0;
  color: var(--paper-white);
  border-radius: 0;
  transition: border-color 200ms ease;
}
.form-field textarea { resize: vertical; min-height: 80px; }
.form-field select {
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d4956c' stroke-width='2'><path d='M6 9l6 6 6-6'/></svg>");
  background-repeat: no-repeat;
  background-position: right 4px center;
  background-size: 18px;
  padding-right: 32px;
}
.form-field select option { background: var(--bg-dark-soft); color: var(--paper-white); }
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-bottom-color: var(--accent-warm);
}
.form-check {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 13px;
  color: rgba(255, 250, 240, 0.7);
  line-height: 1.5;
  cursor: pointer;
}
.form-check input { margin-top: 4px; accent-color: var(--accent); }
.form-status {
  font-size: 13px;
  color: var(--accent-warm);
  min-height: 1.4em;
}

/* =====================================================================
   FOOTER
   ===================================================================== */
.site-footer {
  background: var(--bg-dark);
  color: rgba(255, 250, 240, 0.7);
  padding: 80px 0 32px;
  border-top: 1px solid var(--line-light);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--line-light);
}
.footer-brand-logo {
  height: 54px;
  width: auto;
  display: block;
  margin-bottom: 20px;
  /* Footer is dark — invert to white. Works perfectly on transparent PNG */
  filter: brightness(0) invert(1);
  opacity: 0.88;
}
.footer-brand p {
  font-size: 14px;
  max-width: 36ch;
  line-height: 1.55;
}
.footer-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-col h4 {
  font-family: var(--ff-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-warm);
  margin-bottom: 8px;
}
.footer-col a, .footer-col span {
  font-size: 14px;
  color: rgba(255, 250, 240, 0.7);
  transition: color 200ms ease;
}
.footer-col a:hover { color: var(--paper-white); }
.footer-bottom {
  margin-top: 32px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 12px;
  letter-spacing: 0.06em;
  color: rgba(255, 250, 240, 0.5);
}

/* =====================================================================
   RESPONSIVE
   ===================================================================== */
@media (max-width: 1024px) {
  .about-grid { grid-template-columns: 1fr; gap: 56px; }
  .about-figure-1 { margin-top: 0; }
  .owner-grid { grid-template-columns: 1fr; gap: 48px; }
  .owner-photos { position: static; max-width: 340px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .service-card-lg { grid-column: 1 / -1; grid-row: auto; }
  .service-card-lg .service-img { aspect-ratio: 21/9; }
  .service-card-wide { grid-column: 1 / -1; }
  .gallery { grid-template-columns: repeat(3, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-head { grid-column: 1 / -1; margin-bottom: 24px; }
  .process-steps { grid-template-columns: repeat(2, 1fr); }
  .process-step:nth-child(2) { border-right: none; }
  .process-step:nth-child(3) { padding-left: 0; padding-top: 40px; border-top: 1px solid var(--line); }
  .process-step:nth-child(4) { padding-top: 40px; border-top: 1px solid var(--line); border-right: none; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .faq-grid { grid-template-columns: 1fr; gap: 48px; }
  .faq-head { position: static; }
  .contact-grid { grid-template-columns: 1fr; gap: 56px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  :root { --gutter: 20px; }
  .header-row { height: 64px; gap: 16px; }
  .nav { display: none; }
  .nav.is-open {
    display: flex;
    position: fixed;
    top: 64px;
    left: 0; right: 0;
    background: var(--bg);
    flex-direction: column;
    padding: 24px var(--gutter);
    gap: 18px;
    border-bottom: 1px solid var(--line);
    z-index: 99;
  }
  .nav.is-open a { color: var(--ink); font-size: 18px; }
  .menu-toggle { display: inline-block; }
  .header-actions .btn { display: none; }
  .lang-switch { font-size: 12px; }

  .hero { padding: 110px 0 100px; min-height: auto; }
  .hero-figures { gap: 28px; }
  .hero-figure-num { font-size: 36px; }

  .marquee-track { font-size: 18px; gap: 24px; }

  .services-grid { grid-template-columns: 1fr; }
  .service-card-lg .service-img,
  .service-card-wide .service-img { aspect-ratio: 16/10; }
  .service-body { padding: 24px; }

  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 200px; }
  .gal-tall { grid-row: span 2; }
  .gal-wide { grid-column: span 2; }

  .stats-grid { grid-template-columns: 1fr 1fr; gap: 24px; }

  .process-steps { grid-template-columns: 1fr; }
  .process-step { padding: 32px 0; border-right: none !important; border-top: 1px solid var(--line); padding-left: 0 !important; }
  .process-step:first-child { border-top: none; padding-top: 24px; }

  .owner-photos { max-width: 280px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .form-row { grid-template-columns: 1fr; }
  .contact-form { padding: 28px; }
}

/* ---------- Scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 800ms cubic-bezier(.22,1,.36,1), transform 800ms cubic-bezier(.22,1,.36,1);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(26, 23, 20, 0.94);
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 32px;
}
.lightbox.is-open { display: flex; animation: fadeIn 200ms ease; }
.lightbox img {
  max-width: 100%;
  max-height: 90vh;
  border-radius: var(--r-md);
}
.lightbox-close {
  position: absolute;
  top: 24px; right: 24px;
  width: 44px; height: 44px;
  background: transparent;
  border: 1px solid rgba(255, 250, 240, 0.4);
  color: var(--paper-white);
  border-radius: 50%;
  font-size: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lightbox-close:hover { background: rgba(255, 250, 240, 0.1); }

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

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

/* =====================================================================
   OPINION FORM
   ===================================================================== */
#dynamicTestimonials { margin-top: 32px; }

.opinion-form-wrap {
  margin-top: 64px;
  padding: 48px;
  border-radius: var(--r-lg);
  background: var(--paper-white);
  border: 1px solid var(--line);
  max-width: 720px;
}
.opinion-form-title {
  font-family: var(--ff-display);
  font-size: clamp(20px, 2.2vw, 26px);
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0 0 6px;
}
.opinion-form-sub {
  font-size: 14px;
  color: var(--ink-soft);
  margin: 0 0 28px;
}
.opinion-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.opinion-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.opinion-form .form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.opinion-form .form-field span {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
}
.opinion-form input,
.opinion-form textarea {
  border: 1.5px solid var(--line-strong);
  border-radius: var(--r-sm);
  padding: 12px 14px;
  font-family: var(--ff-body);
  font-size: 15px;
  color: var(--ink);
  background: var(--bg);
  transition: border-color 200ms ease, box-shadow 200ms ease;
  resize: vertical;
}
.opinion-form input:focus,
.opinion-form textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: var(--paper-white);
  box-shadow: 0 0 0 3px rgba(181,94,18,0.12);
}
#opinionStatus {
  font-size: 14px;
  font-weight: 600;
  margin-top: 4px;
  min-height: 20px;
}
