/* ============================================================
   WILSON INTERIÉR — Design System v2
   Editorial craft direction
   ============================================================ */

/* ---------- Tokens ---------- */
:root {
  --white:    #faf8f4;
  --cream:    #f3ede4;
  --sand:     #e5ddd1;
  --linen:    #d6ccbf;
  --ink:      #1c1812;
  --ink-mid:  #35291e;
  --ink-soft: #6b5e52;
  --oak:      #b07545;
  --oak-deep: #8a5a32;
  --oak-pale: #d9ae80;
  --sage:     #5d6650;

  --f-disp: 'Cormorant Garamond', Georgia, serif;
  --f-body: 'Inter', system-ui, sans-serif;

  --max:  1440px;
  --gut:  clamp(1.4rem, 4vw, 3rem);
  --r:    3px;
  --r-lg: 8px;

  --ease: cubic-bezier(.22, 1, .36, 1);
  --sh-sm: 0 2px 16px rgba(28,24,18,.07);
  --sh-md: 0 16px 50px rgba(28,24,18,.13);
  --sh-lg: 0 40px 90px rgba(28,24,18,.2);
}

/* ---------- Reset ---------- */
*, *::before, *::after { 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(--f-body);
  background: var(--white);
  color: var(--ink);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--f-disp);
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.d1 { font-size: clamp(3.6rem, 6.5vw, 7.8rem); }
.d2 { font-size: clamp(2.6rem, 4.5vw, 5rem); }
h2  { font-size: clamp(2.2rem, 4vw, 3.8rem); }
h3  { font-size: clamp(1.5rem, 2.5vw, 2rem); }
h4  { font-size: 1.18rem; font-family: var(--f-body); font-weight: 600; letter-spacing: 0; line-height: 1.3; }
p   { color: var(--ink-soft); }
em  { font-style: italic; }

.lead {
  font-family: var(--f-disp);
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  line-height: 1.45;
  color: var(--ink-mid);
  font-style: italic;
  font-weight: 400;
}
.label {
  display: inline-block;
  font-family: var(--f-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--oak);
}
.label.light { color: var(--oak-pale); }

/* ---------- Layout ---------- */
.wrap     { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gut); }
.wrap-sm  { max-width: 820px; }
.wrap-lg  { max-width: 1480px; }
.pad      { padding-block: clamp(4rem, 9vw, 8rem); }
.pad-sm   { padding-block: clamp(2.5rem, 5vw, 4.5rem); }

.bg-white  { background: var(--white); }
.bg-cream  { background: var(--cream); }
.bg-sand   { background: var(--sand); }
.bg-ink    { background: var(--ink); }
.bg-ink-mid { background: var(--ink-mid); }

.tc { text-align: center; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .6em;
  font-family: var(--f-body); font-size: .88rem; font-weight: 600;
  letter-spacing: .02em; white-space: nowrap;
  padding: .9em 1.6em; border-radius: 100px;
  transition: transform .35s var(--ease), background .3s ease, color .3s ease, box-shadow .35s var(--ease);
}
.btn svg { width: 15px; height: 15px; transition: transform .3s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn-dark  { background: var(--ink); color: var(--white); }
.btn-dark:hover  { background: var(--oak-deep); transform: translateY(-2px); box-shadow: var(--sh-md); }
.btn-oak   { background: var(--oak); color: #fff; }
.btn-oak:hover   { background: var(--oak-deep); transform: translateY(-2px); box-shadow: var(--sh-md); }
.btn-white { background: var(--white); color: var(--ink); }
.btn-white:hover { background: var(--cream); transform: translateY(-2px); }
.btn-outline { border: 1.5px solid rgba(255,255,255,.35); color: var(--white); background: transparent; }
.btn-outline:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.7); transform: translateY(-2px); }
.btn-outline-ink { border: 1.5px solid var(--linen); color: var(--ink); background: transparent; }
.btn-outline-ink:hover { border-color: var(--ink); background: var(--ink); color: var(--white); transform: translateY(-2px); }
.txt-link {
  display: inline-flex; align-items: center; gap: .45em;
  font-size: .9rem; font-weight: 600; color: var(--oak);
  border-bottom: 1px solid transparent; padding-bottom: 2px;
  transition: gap .3s var(--ease), border-color .3s ease;
}
.txt-link svg { width: 14px; height: 14px; }
.txt-link:hover { gap: .75em; border-color: var(--oak); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  padding-block: 1.3rem;
  transition: background .4s var(--ease), padding .4s var(--ease),
              border-color .4s ease, box-shadow .4s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header .inner {
  display: flex; align-items: center;
  justify-content: space-between; gap: 2rem;
}
.site-header.solid {
  background: rgba(250,248,244,.93);
  -webkit-backdrop-filter: saturate(140%) blur(16px);
  backdrop-filter: saturate(140%) blur(16px);
  padding-block: .85rem;
  border-color: var(--sand);
  box-shadow: var(--sh-sm);
}

/* brand */
.brand { display: flex; align-items: center; gap: .75rem; z-index: 110; }
.brand img { width: 52px; height: 52px; object-fit: contain; }
.brand-name { font-family: var(--f-disp); font-size: 1.3rem; font-weight: 500; letter-spacing: -.01em; color: var(--ink); line-height: 1; }
.brand-sub  { font-size: .6rem; letter-spacing: .26em; text-transform: uppercase; color: var(--ink-soft); }
/* hide sub-tagline inside the fixed header — only useful in footer */
.site-header .brand-sub { display: none; }

/* on-dark header state */
.site-header.on-dark:not(.solid) .brand-name { color: #fff; }
.site-header.on-dark:not(.solid) .brand-sub  { color: rgba(255,255,255,.6); }
.site-header.on-dark:not(.solid) .nav-link   { color: rgba(255,255,255,.82); }
.site-header.on-dark:not(.solid) .nav-link:hover { color: #fff; }
.site-header.on-dark:not(.solid) .burger span { background: #fff; }
.site-header.on-dark:not(.solid) .nav-cta { border-color: rgba(255,255,255,.45); color: #fff; }
.site-header.on-dark:not(.solid) .nav-cta:hover { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.8); }

/* nav */
.nav { display: flex; align-items: center; gap: 1.2rem; }
.nav-links { display: flex; align-items: center; gap: 1rem; }
.nav-link {
  font-size: .78rem; font-weight: 500; color: var(--ink-mid);
  letter-spacing: .01em;
  position: relative; transition: color .25s;
}
.nav-link::after {
  content: ''; position: absolute; left: 0; bottom: -5px;
  height: 1.5px; width: 0; background: var(--oak);
  transition: width .3s var(--ease);
}
.nav-link:hover::after, .nav-link.active::after { width: 100%; }
.nav-link:hover { color: var(--ink); }
.nav-cta {
  font-size: .82rem; font-weight: 600; letter-spacing: .03em;
  padding: .65em 1.3em; border-radius: 100px;
  border: 1.5px solid var(--linen); color: var(--ink-mid);
  transition: all .3s ease;
}
.nav-cta:hover { background: var(--ink); color: var(--white); border-color: var(--ink); }

/* burger */
.burger { display: none; flex-direction: column; gap: 5px; padding: 8px; z-index: 200; }
.burger span { width: 24px; height: 1.5px; background: var(--ink); border-radius: 2px; transition: transform .35s var(--ease), opacity .25s; }
.burger.open span:first-child  { transform: translateY(6.5px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:last-child   { transform: translateY(-6.5px) rotate(-45deg); }

@media (max-width: 940px) {
  .nav-links {
    position: fixed; inset: 0; flex-direction: column;
    justify-content: center; gap: 1.8rem;
    background: var(--cream); z-index: 150;
    transform: translateX(100%); transition: transform .5s var(--ease);
    padding-bottom: max(2rem, env(safe-area-inset-bottom));
  }
  .nav-links.open { transform: translateX(0); }
  .nav-link { font-family: var(--f-disp); font-size: 2.2rem; font-weight: 400; color: var(--ink); }
  .nav-link:hover { color: var(--oak); }
  .nav-link::after { display: none; }
  .nav-cta-wrap { display: none; }
  .burger { display: flex; }
  .nav-link-cta { display: inline-flex !important; }
  /* Override on-dark white colouring inside the overlay */
  .site-header.on-dark:not(.solid) .nav-links .nav-link { color: var(--ink); }
  .site-header.on-dark:not(.solid) .nav-links .nav-link:hover { color: var(--oak); }
}
/* When nav is open, backdrop-filter must be removed: it creates a new containing
   block for position:fixed children, which breaks the full-screen nav overlay. */
.site-header.nav-open,
.site-header.nav-open.solid {
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  background: transparent;
  box-shadow: none;
  border-color: transparent;
}
.nav-link-cta { display: none; }

/* ---------- HERO (split screen) ---------- */
.hero {
  display: grid;
  grid-template-columns: 42fr 58fr;
  min-height: 100svh;
}
.hero-copy {
  background: var(--ink);
  color: var(--white);
  display: flex;
  flex-direction: column;
  padding: 2.5rem clamp(2rem, 4vw, 4rem);
  position: relative;
  overflow: hidden;
}
.hero-copy::before {
  content: '';
  position: absolute; bottom: -60px; right: -60px;
  width: 280px; height: 280px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.06);
}
.hero-copy-inner {
  display: flex; flex-direction: column; gap: 0;
  flex: 1;
  padding-top: 7rem;
}
.hero-brand {
  display: flex;
  justify-content: center;
  flex: none;
  margin-top: 2.5rem;
}
.hero-logo {
  width: clamp(220px, 32vw, 360px);
  height: auto;
  object-fit: contain;
}
.hero-copy h1 {
  color: var(--white);
  font-size: clamp(3.4rem, 5.5vw, 7rem);
  line-height: 0.9;
  letter-spacing: -0.03em;
  margin-top: auto;
  margin-bottom: 1.8rem;
}
.hero-copy h1 em { color: var(--oak-pale); }
.hero-body { font-size: 1rem; color: rgba(255,255,255,.72); max-width: 34ch; line-height: 1.6; margin-bottom: 1.8rem; }
.hero-btns { display: flex; flex-wrap: wrap; gap: .8rem; margin-bottom: 2rem; }
.hero-trust { font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.38); }
.hero-media { position: relative; overflow: hidden; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 60% center; }
.hero-media-badge {
  position: absolute; bottom: 2rem; left: -1.5rem;
  background: var(--oak); color: #fff;
  padding: .9rem 1.4rem; font-size: .78rem; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase;
  writing-mode: vertical-rl; text-orientation: mixed;
  transform: rotate(180deg);
}
@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; grid-template-rows: 58svh auto; }
  .hero-media { order: -1; }
  .hero-copy { padding-top: 1.5rem; }
  .hero-copy-inner { padding-top: 2rem; gap: 1rem; }
  .hero-copy h1 { margin-top: 1.5rem; font-size: clamp(3rem, 8vw, 4.8rem); }
  .hero-media-badge { display: none; }
}

/* ---------- Stats bar ---------- */
.stats-bar { display: flex; }
.stats-bar .st {
  flex: 1; text-align: center;
  padding: 2.2rem 1.5rem;
  border-right: 1px solid rgba(255,255,255,.1);
}
.stats-bar .st:last-child { border-right: none; }
.stats-bar .num { font-family: var(--f-disp); font-size: clamp(2.4rem, 4.5vw, 4rem); color: var(--white); line-height: 1; display: block; }
.stats-bar .lab { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.45); margin-top: .5rem; display: block; }
@media (max-width: 600px) {
  .stats-bar { flex-wrap: wrap; }
  .stats-bar .st { flex: 1 0 50%; border-bottom: 1px solid rgba(255,255,255,.1); }
}

/* ---------- Service showcase (tabs) — light layout, image left ---------- */
.svc-showcase {
  display: grid;
  grid-template-columns: 1.55fr 1fr;
  min-height: 82vh;
  background: var(--cream);
}
.svc-panels { position: relative; overflow: hidden; order: 1; }
.svc-tabs {
  display: flex; flex-direction: column;
  padding: clamp(3rem, 6vw, 5.5rem) clamp(2rem, 5vw, 4.5rem);
  justify-content: center; gap: 0;
  order: 2;
}
.svc-tabs > .label { color: var(--oak); margin-bottom: 1.5rem; display: block; }
.svc-tab {
  display: flex; align-items: center; gap: 1.4rem;
  padding: 1.4rem 0;
  border-top: 1px solid var(--sand);
  cursor: pointer; text-align: left;
  transition: opacity .3s;
  background: transparent; width: 100%;
}
.svc-tab:last-of-type { border-bottom: 1px solid var(--sand); }
.svc-tab .sn {
  font-family: var(--f-disp); font-size: .88rem;
  color: var(--oak); opacity: .7; min-width: 2rem;
  transition: opacity .3s;
}
.svc-tab .st {
  font-family: var(--f-disp); font-size: clamp(1.5rem, 2.3vw, 2.2rem);
  color: var(--ink-soft); line-height: 1;
  transition: color .35s ease;
}
.svc-tab-arrow { margin-left: auto; color: var(--oak); opacity: 0; transition: opacity .3s, transform .3s var(--ease); }
.svc-tab-arrow svg { width: 20px; height: 20px; }
.svc-tab.active .sn  { opacity: 1; }
.svc-tab.active .st  { color: var(--ink); font-weight: 500; }
.svc-tab.active .svc-tab-arrow { opacity: 1; transform: translateX(6px); }
.svc-tab:hover:not(.active) .st { color: var(--ink-mid); }
.svc-panel {
  position: absolute; inset: 0;
  opacity: 0; pointer-events: none;
  transition: opacity .55s ease;
}
.svc-panel.active { opacity: 1; pointer-events: auto; }
.svc-panel .sp-img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.svc-panel-caption {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent, rgba(28,24,18,.88) 60%);
  padding: 4rem 2.5rem 2.5rem;
  color: var(--white);
}
.svc-panel-caption h3 { color: var(--white); margin-bottom: .6rem; }
.svc-panel-caption p  { color: rgba(255,255,255,.78); font-size: .97rem; max-width: 46ch; margin-bottom: 1.3rem; }
@media (max-width: 860px) {
  .svc-showcase { grid-template-columns: 1fr; min-height: unset; }
  .svc-panels { height: 60vw; min-height: 300px; order: 1; }
  .svc-tabs { order: 2; }
  .svc-tab .st { font-size: clamp(1.3rem, 5vw, 1.9rem); }
}

/* ---------- Image slider (reusable) ---------- */
.img-slider { position: relative; }
.sl-main {
  overflow: hidden;
  position: relative;
  border-radius: var(--r-lg);
  background: var(--sand);
}
.sl-track {
  display: flex; height: 100%;
  transition: transform .65s var(--ease);
  will-change: transform;
}
.sl-track img {
  flex: none; width: 100%; height: 100%;
  object-fit: cover;
}
.sl-btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 50px; height: 50px; border-radius: 50%;
  background: var(--white); color: var(--ink);
  display: grid; place-items: center; z-index: 2;
  box-shadow: var(--sh-md);
  transition: background .25s, transform .3s var(--ease);
}
.sl-btn svg { width: 18px; height: 18px; }
.sl-btn:hover { background: var(--ink); color: var(--white); transform: translateY(-50%) scale(1.08); }
.sl-prev { left: 1rem; } .sl-next { right: 1rem; }
.sl-counter {
  position: absolute; top: 1rem; right: 1.2rem;
  font-size: .75rem; letter-spacing: .1em;
  color: rgba(255,255,255,.9); font-weight: 600; z-index: 2;
  background: rgba(28,24,18,.45); padding: .3em .7em; border-radius: 100px;
}
.sl-thumbs {
  display: flex; gap: .7rem; margin-top: .8rem;
  overflow-x: auto; padding-bottom: .3rem; scrollbar-width: none;
}
.sl-thumbs::-webkit-scrollbar { display: none; }
.sl-thumbs button {
  flex: none; width: 86px; height: 64px; padding: 0; overflow: hidden;
  border-radius: var(--r); opacity: .5;
  outline: 2px solid transparent; outline-offset: 2px;
  transition: opacity .25s, outline-color .25s;
}
.sl-thumbs button.on { opacity: 1; outline-color: var(--oak); }
.sl-thumbs button img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Portfolio teaser grid (homepage) ---------- */
.ptg {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .75rem;
}
.ptc {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: var(--r-lg);
  aspect-ratio: 4/3;
  background: var(--sand);
}
.ptc img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .7s cubic-bezier(.22,1,.36,1);
}
.ptc::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(28,24,18,.55) 0%, transparent 55%);
  opacity: 0;
  transition: opacity .35s;
}
.ptc:hover::after { opacity: 1; }
.ptc:hover img { transform: scale(1.05); }
.ptc-lbl {
  position: absolute; bottom: 1rem; left: 1.1rem; z-index: 1;
  font-size: .72rem; font-weight: 600; letter-spacing: .12em;
  text-transform: uppercase; color: #fff;
  opacity: 0; transform: translateY(5px);
  transition: opacity .3s, transform .3s;
}
.ptc:hover .ptc-lbl { opacity: 1; transform: none; }
.ptc-cta {
  background: var(--ink);
  display: flex; align-items: center; justify-content: center;
}
.ptc-cta::after { display: none; }
.ptc-cta-inner {
  display: flex; align-items: center; gap: .55rem;
  font-family: var(--f-body); font-size: .88rem; font-weight: 500;
  letter-spacing: .05em; color: var(--white);
  transition: gap .3s var(--ease);
}
.ptc-cta:hover .ptc-cta-inner { gap: 1rem; }
.ptc-cta svg { width: 18px; height: 18px; flex: none; }
@media (max-width: 640px) {
  .ptg { grid-template-columns: repeat(2, 1fr); }
  .ptc { aspect-ratio: 1; }
  .ptc-lbl { opacity: 1; transform: none; }
  .ptc::after { opacity: 1; }
}

/* ---------- Portfolio categories ---------- */
/* port-cat: scoped to portfolio.html via its own <style> block */
.port-cat { padding-block: clamp(3.5rem, 7vw, 6rem); }
.port-cat + .port-cat { border-top: 1px solid var(--sand); }

/* ---------- Pull-quote / review ---------- */
.pull-quote-section { position: relative; }
.pq-mark {
  font-family: var(--f-disp); font-size: 9rem; line-height: .6;
  color: var(--oak-pale); display: block; margin-bottom: -2.5rem;
  -webkit-user-select: none; user-select: none;
}
.pq-text {
  font-family: var(--f-disp); font-style: italic;
  font-size: clamp(1.45rem, 2.8vw, 2.3rem);
  line-height: 1.4; color: var(--white); max-width: 820px;
}
.pq-cite {
  display: block; margin-top: 1.8rem;
  font-style: normal; font-family: var(--f-body);
  font-size: .78rem; letter-spacing: .16em;
  text-transform: uppercase; color: rgba(255,255,255,.45);
}
.pq-nav {
  display: flex; align-items: center; gap: 1.2rem;
  margin-top: 2.5rem;
}
.pq-dots { display: flex; gap: .5rem; }
.pq-dot {
  width: 28px; height: 2px; background: rgba(255,255,255,.25);
  border-radius: 2px; transition: background .3s, width .3s;
}
.pq-dot.on { background: var(--oak-pale); width: 44px; }
.pq-btn { color: rgba(255,255,255,.5); transition: color .25s; font-size: 1.4rem; }
.pq-btn:hover { color: var(--white); }

/* ---------- Process timeline ---------- */
.timeline {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
}
.tl-step {
  padding: 2rem 1.5rem 2rem 0;
  border-left: 1px solid var(--sand);
  padding-left: 1.5rem;
}
.tl-step:first-child { border-left: none; padding-left: 0; }
.tl-num {
  font-family: var(--f-disp); font-size: 3.5rem; color: var(--oak-pale);
  line-height: 1; display: block; margin-bottom: 1rem;
}
.tl-step h4 { margin-bottom: .45rem; font-size: 1rem; }
.tl-step p { font-size: .88rem; line-height: 1.6; }
@media (max-width: 900px)  { .timeline { grid-template-columns: repeat(3, 1fr); } .tl-step:nth-child(4) { border-left: none; padding-left: 0; } }
@media (max-width: 540px)  { .timeline { grid-template-columns: repeat(2, 1fr); } .tl-step:nth-child(3), .tl-step:nth-child(5) { border-left: none; padding-left: 0; } }

/* ---------- Two-column text/image split ---------- */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 6vw, 6rem); align-items: center; }
.two-col.flip .col-media { order: 2; }
@media (max-width: 840px) { .two-col { grid-template-columns: 1fr; gap: 2.5rem; } .two-col.flip .col-media { order: 0; } }
.col-media img { width: 100%; border-radius: var(--r-lg); box-shadow: var(--sh-md); }
.col-body > * + * { margin-top: 1.1rem; }
.col-body .label { margin-bottom: .5rem; display: block; }
.col-body h2 { line-height: .92; }
.col-body p   { font-size: 1rem; }
.col-body .actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.8rem; }

/* ---------- Review cards (referencie page) ---------- */
.review-grid { columns: 3; column-gap: 1.4rem; }
@media (max-width: 960px) { .review-grid { columns: 2; } }
@media (max-width: 580px)  { .review-grid { columns: 1; } }
.rev-card {
  break-inside: avoid; margin-bottom: 1.4rem;
  background: var(--white); border: 1px solid var(--sand); border-radius: var(--r-lg);
  padding: 1.7rem;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.rev-card:hover { transform: translateY(-4px); box-shadow: var(--sh-md); }
.rev-stars { color: var(--oak); letter-spacing: 2px; font-size: .9rem; margin-bottom: .9rem; }
.rev-text { font-size: .97rem; color: var(--ink-mid); line-height: 1.65; }
.rev-who { display: flex; align-items: center; gap: .8rem; margin-top: 1.2rem; padding-top: 1.1rem; border-top: 1px solid var(--sand); }
.rev-avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--oak-pale); color: var(--oak-deep); display: grid; place-items: center; font-family: var(--f-disp); font-size: 1.1rem; flex: none; }
.rev-name { font-weight: 600; font-size: .9rem; color: var(--ink); }
.rev-src  { font-size: .75rem; color: var(--ink-soft); }
.rating-sum { display: inline-flex; align-items: center; gap: 1.1rem; }
.rating-sum .big { font-family: var(--f-disp); font-size: 3.5rem; color: var(--ink); line-height: 1; }
.rating-sum .stars { color: var(--oak); font-size: 1.2rem; letter-spacing: 2px; display: block; }
.rating-sum .sub   { font-size: .82rem; color: var(--ink-soft); }

/* ---------- Referencie: trust band ---------- */
.ref-trust { background: var(--ink); color: var(--white); }
.ref-trust-inner {
  display: grid; grid-template-columns: auto 1px 1fr;
  gap: clamp(2rem, 5vw, 4rem); align-items: center;
}
.ref-trust-divider { width: 1px; height: 100%; min-height: 130px; background: rgba(255,255,255,.14); }
.ref-score { text-align: center; flex: none; }
.ref-score .num {
  font-family: var(--f-disp); font-size: clamp(4.5rem, 8vw, 6.5rem);
  line-height: .9; color: var(--white); display: block;
}
.ref-score .stars { color: var(--oak-pale); font-size: 1.4rem; letter-spacing: 3px; display: block; margin: .4rem 0 .6rem; }
.ref-score .count { font-size: .8rem; letter-spacing: .04em; color: rgba(255,255,255,.55); }
.ref-google { display: inline-flex; align-items: center; gap: .45rem; margin-top: .9rem; font-size: .8rem; font-weight: 600; color: rgba(255,255,255,.85); }
.ref-google svg { width: 16px; height: 16px; }
.ref-themes-head { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--oak-pale); margin-bottom: 1.1rem; }
.ref-themes { display: flex; flex-wrap: wrap; gap: .65rem; }
.ref-theme {
  display: inline-flex; align-items: center; gap: .45rem;
  padding: .55em 1em; border-radius: 100px;
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.13);
  font-size: .85rem; color: rgba(255,255,255,.9);
}
.ref-theme svg { width: 14px; height: 14px; color: var(--oak-pale); flex: none; }
@media (max-width: 720px) {
  .ref-trust-inner { grid-template-columns: 1fr; gap: 2rem; text-align: center; }
  .ref-trust-divider { display: none; }
  .ref-themes { justify-content: center; }
}

/* ---------- Referencie: featured testimonials ---------- */
.ref-featured { display: grid; grid-template-columns: 1fr 1fr; gap: 1.6rem; margin-bottom: 1.6rem; }
@media (max-width: 840px) { .ref-featured { grid-template-columns: 1fr; } }
.ref-quote {
  position: relative; background: var(--cream);
  border: 1px solid var(--sand); border-radius: var(--r-lg);
  padding: clamp(2rem, 3vw, 2.8rem); overflow: hidden;
}
.ref-quote::before {
  content: '\201C'; position: absolute; top: -.4rem; right: 1.2rem;
  font-family: var(--f-disp); font-size: 8rem; line-height: 1;
  color: var(--oak); opacity: .12;
}
.ref-quote .rev-stars { margin-bottom: 1.1rem; }
.ref-quote .q {
  font-family: var(--f-disp); font-style: italic;
  font-size: clamp(1.25rem, 1.8vw, 1.55rem); line-height: 1.5;
  color: var(--ink); position: relative; z-index: 1;
}

/* ---------- Verified badge + avatar tones ---------- */
.rev-verified { display: inline-flex; align-items: center; gap: .35rem; font-size: .72rem; color: var(--sage, #6b7d5e); font-weight: 600; }
.rev-verified svg { width: 13px; height: 13px; }
.rev-who { display: flex; align-items: center; gap: .8rem; margin-top: 1.2rem; padding-top: 1.1rem; border-top: 1px solid var(--sand); }
.review-grid .rev-card:nth-child(3n+1) .rev-avatar { background: var(--oak-pale); color: var(--oak-deep); }
.review-grid .rev-card:nth-child(3n+2) .rev-avatar { background: #d9d0c2; color: #5a4a38; }
.review-grid .rev-card:nth-child(3n+3) .rev-avatar { background: #cdd4c5; color: #4f5a45; }

/* ---------- Contact ---------- */
.contact-layout { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(2.5rem, 6vw, 5rem); align-items: start; }
@media (max-width: 840px) { .contact-layout { grid-template-columns: 1fr; } }
.ci-row { display: flex; gap: 1.2rem; padding: 1.3rem 0; border-bottom: 1px solid var(--sand); }
.ci-row:first-child { padding-top: 0; }
.ci-icon { flex: none; width: 44px; height: 44px; border-radius: 50%; background: var(--cream); color: var(--oak); display: grid; place-items: center; }
.ci-icon svg { width: 20px; height: 20px; }
.ci-lbl { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); }
.ci-val { font-size: 1.05rem; font-weight: 500; color: var(--ink); }
.ci-val a:hover { color: var(--oak); }
.contact-form { background: var(--white); border: 1px solid var(--sand); border-radius: var(--r-lg); padding: clamp(1.8rem, 3vw, 2.6rem); box-shadow: var(--sh-sm); }
.field { margin-bottom: 1rem; }
.field label { display: block; font-size: .8rem; font-weight: 600; color: var(--ink-mid); margin-bottom: .4rem; }
.field input, .field textarea {
  width: 100%; font-family: inherit; font-size: .97rem; color: var(--ink);
  background: var(--cream); border: 1px solid var(--sand); border-radius: var(--r);
  padding: .85em 1em; transition: border-color .25s, box-shadow .25s;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--oak); box-shadow: 0 0 0 3px rgba(176,117,69,.13); }
.field textarea { resize: vertical; min-height: 120px; }
.check-row { display: flex; gap: .7rem; align-items: flex-start; font-size: .84rem; color: var(--ink-soft); margin-bottom: 1.3rem; }
.check-row input { margin-top: 3px; accent-color: var(--oak); flex: none; }
.form-done { text-align: center; font-size: .88rem; color: var(--sage); margin-top: .8rem; display: none; }
.form-done.show { display: block; }
.map-frame { border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--sand); margin-top: 1.6rem; }
.map-frame iframe { display: block; width: 100%; height: 300px; border: 0; filter: grayscale(.25) contrast(1.05); }

/* ---------- Blog ---------- */
.post-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.8rem; }
@media (max-width: 740px) { .post-grid { grid-template-columns: 1fr; } }
.post-card { background: var(--white); border: 1px solid var(--sand); border-radius: var(--r-lg); overflow: hidden; display: flex; flex-direction: column; transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.post-card:hover { transform: translateY(-5px); box-shadow: var(--sh-md); }
.post-thumb { aspect-ratio: 16/10; overflow: hidden; }
.post-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.post-card:hover .post-thumb img { transform: scale(1.05); }
.post-body { padding: 1.7rem; display: flex; flex-direction: column; flex: 1; }
.post-meta { font-size: .73rem; letter-spacing: .12em; text-transform: uppercase; color: var(--oak); font-weight: 600; }
.post-body h3 { font-size: clamp(1.3rem, 2.2vw, 1.65rem); margin: .7rem 0 .7rem; line-height: 1.1; }
.post-body p  { font-size: .95rem; flex: 1; }
.post-body .txt-link { margin-top: 1.2rem; }

/* Article */
.article { max-width: 740px; margin-inline: auto; }
.article > * + * { margin-top: 1.3rem; }
.article p { font-size: 1.06rem; line-height: 1.78; color: var(--ink-mid); }
.article h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); margin-top: 2.5rem; }
.article h2 .n { color: var(--oak); font-size: .75em; margin-right: .5em; }
.article .lead { margin-bottom: 1.8rem; font-size: 1.2rem; }

/* ---------- Page hero (interior pages) ---------- */
.page-hero { position: relative; padding-top: 11rem; padding-bottom: clamp(3rem, 7vw, 6rem); overflow: hidden; }
.page-hero.dark { color: var(--white); }
.page-hero.dark h1 { color: var(--white); }
.page-hero.dark .lead { color: rgba(255,255,255,.82); font-style: italic; }
.page-hero-bg { position: absolute; inset: 0; z-index: -2; }
.page-hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.page-hero.dark::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(160deg, rgba(28,24,18,.72) 0%, rgba(28,24,18,.92) 100%); }
.breadcrumb { font-size: .78rem; color: var(--ink-soft); display: flex; gap: .45em; align-items: center; margin-bottom: 1.2rem; }
.page-hero.dark .breadcrumb, .page-hero.dark .breadcrumb a { color: rgba(255,255,255,.6); }
.breadcrumb a:hover { color: var(--oak); }
.page-hero h1 { font-size: clamp(2.8rem, 6.5vw, 5.5rem) !important; margin-bottom: 1.2rem; }

/* ---------- CTA full-bleed ---------- */
.cta-full { position: relative; overflow: hidden; color: var(--white); }
.cta-bg { position: absolute; inset: 0; z-index: -2; }
.cta-bg img { width: 100%; height: 100%; object-fit: cover; }
.cta-full::after { content: ''; position: absolute; inset: 0; z-index: -1; background: rgba(28,24,18,.82); }
.cta-full h2 { color: var(--white); max-width: 20ch; }
.cta-full p  { color: rgba(255,255,255,.78); max-width: 50ch; margin-top: 1rem; }
.cta-full .actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 2rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: rgba(255,255,255,.6); }
.footer-main {
  display: grid;
  grid-template-columns: 1.7fr 1fr 1fr 1.2fr;
  gap: 2.5rem;
  padding-block: clamp(3.5rem, 7vw, 5.5rem) 2.5rem;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
@media (max-width: 860px) { .footer-main { grid-template-columns: 1fr 1fr; gap: 2rem; } }
@media (max-width: 480px) { .footer-main { grid-template-columns: 1fr; } }
.footer-brand .brand-name { color: var(--white); font-size: 1.35rem; display: block; margin-bottom: 1rem; }
.footer-brand p { font-size: .92rem; max-width: 30ch; }
.footer-soc { display: flex; gap: .6rem; margin-top: 1.4rem; }
.footer-soc a { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255,255,255,.15); display: grid; place-items: center; transition: all .3s var(--ease); }
.footer-soc a:hover { background: var(--oak); border-color: var(--oak); color: #fff; transform: translateY(-3px); }
.footer-soc svg { width: 17px; height: 17px; }
.footer-col h4 { font-family: var(--f-body); font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: rgba(255,255,255,.45); font-weight: 600; margin-bottom: 1.1rem; }
.footer-col ul { display: flex; flex-direction: column; gap: .65rem; }
.footer-col a { font-size: .93rem; transition: color .25s; }
.footer-col a:hover { color: var(--oak-pale); }
.fc-contact-row { margin-bottom: .9rem; }
.fc-contact-row .lbl { font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.3); display: block; margin-bottom: .2rem; }
.fc-contact-row a, .fc-contact-row span { font-size: .93rem; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; padding-block: 1.6rem; font-size: .8rem; }
.footer-bottom a:hover { color: var(--oak-pale); }

/* ---------- Chips ---------- */
.chips { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.4rem; }
.chip { font-size: .78rem; color: var(--ink-mid); background: var(--cream); border: 1px solid var(--sand); padding: .35em .9em; border-radius: 100px; }

/* ---------- Divider quote ---------- */
.divider-q {
  font-family: var(--f-disp); font-style: italic;
  font-size: clamp(1.6rem, 3.5vw, 2.8rem);
  color: var(--ink); line-height: 1.25; max-width: 26ch;
}
.divider-q em { color: var(--oak-deep); font-style: normal; }

/* ---------- Scroll reveal ---------- */
.rev { opacity: 0; transform: translateY(24px); transition: opacity .85s var(--ease), transform .85s var(--ease); }
.rev.in { opacity: 1; transform: none; }
.rev.d1 { transition-delay: .1s; } .rev.d2 { transition-delay: .2s; }
.rev.d3 { transition-delay: .3s; } .rev.d4 { transition-delay: .4s; }
@media (prefers-reduced-motion: reduce) { .rev { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(16,12,8,.95);
  display: none; align-items: center; justify-content: center; padding: 4vw;
}
.lightbox.open { display: flex; }
.lightbox > img { max-width: 92vw; max-height: 88vh; border-radius: var(--r-lg); box-shadow: var(--sh-lg); }
.lb-close, .lb-nav { position: absolute; color: var(--white); opacity: .75; transition: opacity .25s, transform .25s; }
.lb-close { top: 3vh; right: 3vw; font-size: 2.4rem; line-height: 1; }
.lb-nav { top: 50%; transform: translateY(-50%); font-size: 2.8rem; padding: 1rem; -webkit-user-select: none; user-select: none; }
.lb-prev { left: 1.5vw; } .lb-next { right: 1.5vw; }
.lb-close:hover, .lb-nav:hover { opacity: 1; }

/* ============================================================
   MOBILE OPTIMIZATIONS
   ============================================================ */

/* Responsive 2→1 col section header utility (used on index.html) */
.grid-hd { display: grid; grid-template-columns: 1fr auto; gap: 2rem; }
@media (max-width: 580px) {
  .grid-hd { grid-template-columns: 1fr; }
  .grid-hd > :last-child { justify-self: start; }
}

/* Hero logo: smaller on tiny screens */
@media (max-width: 860px) { .hero-brand { margin-top: 1rem; } }
@media (max-width: 480px) { .hero-logo { width: clamp(160px, 46vw, 220px); } }

/* Page hero: reduce excessive top padding on phones */
@media (max-width: 600px) { .page-hero { padding-top: 8rem; } }

/* Timeline: single column on phones (2-col is too cramped at 390px) */
@media (max-width: 480px) {
  .timeline { grid-template-columns: 1fr; }
  .timeline .tl-step { border-left: none; padding-left: 0; border-top: 1px solid var(--sand); padding-top: 1.5rem; }
  .timeline .tl-step:first-child { border-top: none; padding-top: 0; }
}

/* Email: prevent overflow in narrow footer columns */
.fc-contact-row a[href^="mailto"] { word-break: break-all; }

/* Slider thumbnails: slightly smaller on phones */
@media (max-width: 480px) { .sl-thumbs button { width: 68px; height: 52px; } }

/* Stats bar: full-width single item on very small screens */
@media (max-width: 380px) { .stats-bar .st { flex: 1 0 100%; border-right: none; } }

/* CTA actions: stack vertically on very small screens */
@media (max-width: 380px) { .cta-full .actions, .hero-btns { flex-direction: column; } }
