/* ============================================================
   Workspacefurniturehub — Design System
   Palette: Tin #4f4a45 · Paper #dac3b3 · Kraft #cdab81 · Metal #6c5f5b
   ============================================================ */

:root {
  --tin: #4f4a45;
  --tin-dark: #3f3a36;
  --paper: #dac3b3;
  --kraft: #cdab81;
  --kraft-dark: #b8946a;
  --metal: #6c5f5b;
  --cream: #f8f2ec;
  --cream-2: #f0e7dc;
  --paper-tint: #efe0d3;
  --white: #fffdfb;
  --ink: #33302c;
  --line: rgba(79, 74, 69, 0.14);
  --line-strong: rgba(79, 74, 69, 0.28);
  --danger: #a84f3d;
  --ok: #5d7250;
  --shadow-sm: 0 2px 10px rgba(79, 74, 69, 0.07);
  --shadow-md: 0 10px 30px rgba(79, 74, 69, 0.12);
  --shadow-lg: 0 24px 60px rgba(63, 58, 54, 0.18);
  --radius: 14px;
  --radius-lg: 22px;
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: Georgia, "Times New Roman", serif;
  --header-h: 78px;
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; overflow-x: clip; }
body {
  font-family: var(--font-body);
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  overflow-wrap: break-word;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: var(--metal); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--kraft-dark); }
ul, ol { padding-left: 1.3em; }
li { margin-bottom: 0.35em; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--kraft); outline-offset: 2px; border-radius: 4px; }
body.no-scroll { overflow: hidden; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  background: var(--tin); color: var(--cream);
  padding: 10px 18px; border-radius: 8px; text-decoration: none;
  transition: top .2s ease;
}
.skip-link:focus { top: 12px; color: var(--cream); }

.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.container--narrow { max-width: 840px; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--tin); line-height: 1.18; font-weight: 700; overflow-wrap: break-word; }
h1 { font-size: clamp(1.85rem, 4.6vw, 3.4rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.45rem, 3vw, 2.35rem); margin-bottom: 0.7em; }
h3 { font-size: 1.28rem; margin-bottom: 0.5em; }
h4 { font-size: 1.05rem; margin-bottom: 0.4em; }
p { margin-bottom: 1em; }
p:last-child { margin-bottom: 0; }
.lead { font-size: 1.14rem; color: var(--metal); line-height: 1.7; }
.eyebrow {
  display: inline-block;
  font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--kraft-dark); margin-bottom: 14px;
}
.text-center { text-align: center; }
.muted { color: var(--metal); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 28px; border-radius: 10px;
  font-weight: 600; font-size: 0.98rem; text-decoration: none;
  border: 2px solid transparent;
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease, color .18s ease, border-color .18s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--kraft); color: var(--tin-dark); }
.btn-primary:hover { background: var(--kraft-dark); color: var(--tin-dark); box-shadow: 0 8px 20px rgba(184, 148, 106, .4); }
.btn-dark { background: var(--tin); color: var(--cream); }
.btn-dark:hover { background: var(--tin-dark); color: var(--cream); }
.btn-outline { border-color: var(--metal); color: var(--tin); background: transparent; }
.btn-outline:hover { border-color: var(--tin); background: var(--tin); color: var(--cream); }
.btn-light { background: var(--cream); color: var(--tin-dark); }
.btn-light:hover { background: var(--white); color: var(--tin-dark); }
.btn-sm { padding: 10px 20px; font-size: 0.9rem; }
.btn svg { width: 18px; height: 18px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease, box-shadow .25s ease;
}
/* Blur lives on a pseudo-element so position:fixed children
   (the mobile nav) keep the viewport as their containing block. */
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(248, 242, 236, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: var(--shadow-sm); }
.header-inner { display: flex; align-items: center; gap: 28px; height: var(--header-h); }
.logo img { width: 215px; height: auto; }
.main-nav { margin-left: auto; }
.main-nav ul { display: flex; align-items: center; gap: 4px; list-style: none; padding: 0; margin: 0; }
.main-nav a.nav-link {
  display: block; padding: 10px 12px; border-radius: 8px;
  color: var(--tin); text-decoration: none;
  font-size: 0.94rem; font-weight: 500;
  position: relative; transition: color .15s ease, background-color .15s ease;
}
.main-nav a.nav-link:hover { color: var(--kraft-dark); background: rgba(205, 171, 129, 0.12); }
.main-nav a.nav-link.is-active { color: var(--kraft-dark); font-weight: 700; }
.main-nav a.nav-link.is-active::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 4px;
  height: 2px; border-radius: 2px; background: var(--kraft);
}
.header-actions { display: flex; align-items: center; gap: 14px; }
.nav-toggle {
  display: none; width: 44px; height: 44px;
  border: 1px solid var(--line-strong); border-radius: 10px;
  background: var(--white); align-items: center; justify-content: center;
}
.nav-toggle svg { width: 22px; height: 22px; stroke: var(--tin); }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

/* ---------- Hero (home) ---------- */
.hero {
  position: relative; min-height: min(84vh, 760px);
  display: flex; align-items: center;
  color: var(--cream); isolation: isolate;
}
.hero__bg { position: absolute; inset: 0; z-index: -2; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(92deg, rgba(51, 46, 42, 0.82) 0%, rgba(51, 46, 42, 0.55) 46%, rgba(51, 46, 42, 0.18) 100%);
}
.hero__content { max-width: 640px; padding: 90px 0; }
.hero h1 { color: var(--white); margin-bottom: 20px; }
.hero .lead { color: rgba(248, 242, 236, 0.88); margin-bottom: 34px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero .btn-outline { border-color: rgba(248, 242, 236, .7); color: var(--cream); }
.hero .btn-outline:hover { background: var(--cream); color: var(--tin-dark); border-color: var(--cream); }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  background: linear-gradient(135deg, var(--paper-tint) 0%, var(--cream-2) 55%, var(--cream) 100%);
  border-bottom: 1px solid var(--line);
  padding: 64px 0 56px;
}
.page-hero h1 { margin-bottom: 14px; max-width: 780px; }
.page-hero .lead { max-width: 700px; }
.breadcrumbs { font-size: 0.86rem; margin-bottom: 22px; color: var(--metal); }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.breadcrumbs li { margin: 0; display: flex; align-items: center; gap: 8px; }
.breadcrumbs li + li::before { content: "›"; color: var(--kraft-dark); }
.breadcrumbs a { color: var(--metal); text-decoration: none; }
.breadcrumbs a:hover { color: var(--kraft-dark); text-decoration: underline; }
.breadcrumbs [aria-current] { color: var(--tin); font-weight: 600; }

/* ---------- Sections ---------- */
.section { padding: 88px 0; }
.section--tight { padding: 64px 0; }
.section--paper { background: var(--paper-tint); }
.section--cream2 { background: var(--cream-2); }
.section--dark { background: var(--tin); color: var(--cream); }
.section--dark h1, .section--dark h2, .section--dark h3, .section--dark h4 { color: var(--white); }
.section--dark .lead, .section--dark p { color: rgba(248, 242, 236, 0.85); }
.section-head { max-width: 720px; margin-bottom: 48px; }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }

/* ---------- Split layouts ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split--media-left > .split__media { order: -1; }
.split__media { position: relative; }
.split__media img { width: 100%; border-radius: var(--radius-lg); object-fit: cover; aspect-ratio: 4 / 3; box-shadow: var(--shadow-md); }
.split__media--tall img { aspect-ratio: 4 / 4.6; }
.split__media--frame::before {
  content: ""; position: absolute; inset: 18px -18px -18px 18px;
  border: 2px solid var(--kraft); border-radius: var(--radius-lg); z-index: -1;
}
.split__body .checklist { margin: 22px 0 28px; }
.split__body > .btn { margin-top: 6px; }

/* ---------- Checklist ---------- */
.checklist { list-style: none; padding: 0; display: grid; gap: 12px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; margin: 0; }
.checklist li::before {
  content: ""; flex: 0 0 22px; height: 22px; margin-top: 2px;
  border-radius: 50%; background: var(--kraft);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='12' fill='black'/%3E%3Cpath d='M8 12.5l2.6 2.6L16.4 9' stroke='white' stroke-width='2.6' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='12' fill='black'/%3E%3Cpath d='M8 12.5l2.6 2.6L16.4 9' stroke='white' stroke-width='2.6' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;
}
.section--dark .checklist li::before { background: var(--kraft); }

/* ---------- Cards & grids ---------- */
.grid { display: grid; gap: 26px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 30px;
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: rgba(205, 171, 129, 0.55); }
.card__icon {
  width: 56px; height: 56px; border-radius: 14px;
  background: rgba(205, 171, 129, 0.22);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.card__icon svg { width: 28px; height: 28px; stroke: var(--kraft-dark); fill: none; }
.card h3 { margin-bottom: 8px; }
.card p { color: var(--metal); font-size: 0.95rem; }
.card .card__link {
  margin-top: auto; padding-top: 16px;
  font-weight: 600; font-size: 0.92rem; color: var(--tin);
  text-decoration: none; display: inline-flex; align-items: center; gap: 7px;
}
.card .card__link svg { width: 15px; height: 15px; stroke: currentColor; transition: transform .15s ease; }
.card .card__link:hover { color: var(--kraft-dark); }
.card .card__link:hover svg { transform: translateX(3px); }

/* ---------- Pricing ---------- */
.pricing-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.price-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); }
.price-card__head { background: var(--tin); color: var(--cream); padding: 22px 30px; }
.price-card__head h3 { color: var(--white); margin: 0; font-size: 1.2rem; }
.price-card__head p { margin: 4px 0 0; font-size: 0.86rem; color: rgba(248,242,236,.75); }
.price-list { list-style: none; padding: 10px 30px 22px; margin: 0; }
.price-list li {
  display: flex; align-items: baseline; justify-content: space-between; gap: 18px;
  padding: 15px 0; margin: 0; border-bottom: 1px dashed var(--line-strong);
}
.price-list li:last-child { border-bottom: 0; }
.price-list .pname { font-weight: 500; color: var(--ink); }
.price-list .pval { font-family: var(--font-display); font-weight: 700; color: var(--kraft-dark); white-space: nowrap; font-size: 1.06rem; }
.price-note {
  margin-top: 26px; font-size: 0.9rem; color: var(--metal);
  display: flex; gap: 10px; align-items: flex-start;
}
.price-note svg { width: 18px; height: 18px; flex: 0 0 18px; margin-top: 3px; stroke: var(--kraft-dark); fill: none; }

/* ---------- Media / figure cards ---------- */
.media-card { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); }
.media-card img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 16/10; transition: transform .5s ease; }
.media-card:hover img { transform: scale(1.04); }
.media-card__overlay {
  position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end;
  padding: 26px; color: var(--cream); text-decoration: none;
  background: linear-gradient(180deg, rgba(51,46,42,0) 40%, rgba(51,46,42,.78) 100%);
}
.media-card__overlay h3 { color: var(--white); font-size: 1.15rem; margin-bottom: 4px; }
.media-card__overlay p { font-size: 0.88rem; color: rgba(248,242,236,.85); margin: 0; }

/* ---------- Steps ---------- */
.steps { list-style: none; padding: 0; counter-reset: step; display: grid; gap: 0; }
.steps li { counter-increment: step; display: flex; gap: 22px; padding: 24px 0; margin: 0; border-bottom: 1px solid var(--line); }
.steps li:last-child { border-bottom: 0; }
.steps li::before {
  content: counter(step, decimal-leading-zero);
  flex: 0 0 56px; height: 56px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 700; font-size: 1.1rem;
  background: var(--white); border: 2px solid var(--kraft); color: var(--kraft-dark);
}
.steps h3 { margin-bottom: 4px; }
.steps p { color: var(--metal); font-size: 0.95rem; margin: 0; }

/* ---------- Callout / note ---------- */
.callout {
  background: var(--paper-tint); border-left: 4px solid var(--kraft);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 22px 26px; margin: 30px 0;
}
.callout p { margin: 0; color: var(--tin); }
.callout strong { color: var(--tin); }
.note {
  display: flex; gap: 12px; align-items: flex-start;
  background: var(--cream-2); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 18px 22px; font-size: 0.93rem; color: var(--metal);
}
.note svg { flex: 0 0 20px; width: 20px; height: 20px; margin-top: 2px; stroke: var(--kraft-dark); fill: none; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; border-radius: var(--radius-lg); padding: 64px 56px; background: var(--tin); color: var(--cream); }
.cta-band::before {
  content: ""; position: absolute; right: -80px; top: -80px; width: 300px; height: 300px;
  border-radius: 50%; background: rgba(205, 171, 129, 0.16);
}
.cta-band::after {
  content: ""; position: absolute; right: 60px; bottom: -110px; width: 220px; height: 220px;
  border-radius: 50%; border: 40px solid rgba(218, 195, 179, 0.12);
}
.cta-band h2 { color: var(--white); margin-bottom: 12px; }
.cta-band p { color: rgba(248, 242, 236, 0.85); max-width: 560px; margin-bottom: 28px; }
.cta-band .btn-primary { position: relative; z-index: 1; }

/* ---------- FAQ ---------- */
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 14px; overflow: hidden; }
.faq summary {
  list-style: none; cursor: pointer; padding: 20px 24px;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  font-weight: 600; color: var(--tin); font-size: 1.02rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: 0 0 26px; height: 26px;
  background: var(--kraft);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6' stroke='black' stroke-width='2.4' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6' stroke='black' stroke-width='2.4' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;
  transition: transform .2s ease;
}
.faq details[open] summary::after { transform: rotate(180deg); }
.faq .faq__body { padding: 0 24px 22px; color: var(--metal); font-size: 0.96rem; }

/* ---------- Blog ---------- */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.post-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column;
  box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .2s ease;
  text-decoration: none; color: inherit;
}
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.post-card__img { aspect-ratio: 16/10; overflow: hidden; }
.post-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.post-card:hover .post-card__img img { transform: scale(1.05); }
.post-card__body { padding: 22px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.post-card__meta { display: flex; align-items: center; gap: 12px; font-size: 0.8rem; margin-bottom: 10px; }
.chip {
  display: inline-block; padding: 4px 12px; border-radius: 999px;
  background: rgba(205, 171, 129, 0.22); color: var(--kraft-dark);
  font-size: 0.74rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
}
.post-card__meta time { color: var(--metal); }
.post-card h3 { font-size: 1.16rem; margin-bottom: 8px; }
.post-card p { font-size: 0.92rem; color: var(--metal); margin-bottom: 14px; }
.post-card .read-more { margin-top: auto; font-weight: 600; font-size: 0.9rem; color: var(--tin); display: inline-flex; align-items: center; gap: 7px; }
.post-card .read-more svg { width: 15px; height: 15px; stroke: currentColor; fill: none; }

.featured-post { display: grid; grid-template-columns: 1.15fr 1fr; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); }
.featured-post__img img { width: 100%; height: 100%; object-fit: cover; min-height: 320px; }
.featured-post__body { padding: 44px; display: flex; flex-direction: column; justify-content: center; }
.featured-post__body h3 { font-size: 1.6rem; margin: 10px 0 12px; }
.featured-post__body p { color: var(--metal); margin-bottom: 22px; }

/* ---------- Article / prose ---------- */
.prose { max-width: 780px; }
.prose > * { margin-bottom: 1.15em; }
.prose h2 { margin-top: 2em; margin-bottom: 0.6em; font-size: 1.7rem; }
.prose h3 { margin-top: 1.6em; margin-bottom: 0.5em; font-size: 1.25rem; }
.prose figure { margin: 2.2em 0; }
.prose figure img { border-radius: var(--radius); width: 100%; }
.prose figcaption { font-size: 0.85rem; color: var(--metal); margin-top: 10px; text-align: center; }
.prose ul, .prose ol { margin-bottom: 1.3em; }
.prose ul li, .prose ol li { margin-bottom: 0.5em; }
.prose blockquote {
  border-left: 4px solid var(--kraft); background: var(--paper-tint);
  margin: 2em 0; padding: 20px 26px; border-radius: 0 var(--radius) var(--radius) 0;
  font-family: var(--font-display); font-size: 1.12rem; color: var(--tin); font-style: italic;
}
.article-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; font-size: 0.88rem; color: var(--metal); margin: 14px 0 0; }
.related-posts { margin-top: 56px; padding-top: 40px; border-top: 1px solid var(--line); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 48px; align-items: start; }
.info-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 20px; }
.info-list li { display: flex; gap: 16px; align-items: flex-start; margin: 0; }
.info-list .info-ic {
  flex: 0 0 46px; height: 46px; border-radius: 12px;
  background: rgba(205, 171, 129, 0.22);
  display: flex; align-items: center; justify-content: center;
}
.info-list .info-ic svg { width: 22px; height: 22px; stroke: var(--kraft-dark); fill: none; }
.info-list strong { display: block; color: var(--tin); font-size: 0.82rem; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 2px; }
.info-list span { color: var(--metal); }

.form-panel { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 40px; box-shadow: var(--shadow-sm); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-field { display: flex; flex-direction: column; gap: 7px; }
.form-field--full { grid-column: 1 / -1; }
.form-field label { font-weight: 600; font-size: 0.9rem; color: var(--tin); }
.form-field .req { color: var(--danger); }
.form-field input, .form-field textarea, .form-field select {
  font: inherit; color: var(--ink);
  padding: 13px 15px; border: 1.5px solid var(--line-strong);
  border-radius: 10px; background: var(--cream);
  transition: border-color .15s ease, box-shadow .15s ease, background-color .15s ease;
}
.form-field input:focus, .form-field textarea:focus, .form-field select:focus {
  outline: none; border-color: var(--kraft-dark); background: var(--white);
  box-shadow: 0 0 0 3px rgba(205, 171, 129, 0.3);
}
.form-field textarea { min-height: 140px; resize: vertical; }
.form-field.has-error input, .form-field.has-error textarea { border-color: var(--danger); background: #fdf6f4; }
.field-error { display: none; font-size: 0.83rem; color: var(--danger); font-weight: 500; }
.form-field.has-error .field-error { display: block; }
.form-status { margin-top: 18px; }
.form-status .notice { border-radius: var(--radius); padding: 16px 20px; font-size: 0.94rem; display: none; }
.form-status .notice.is-visible { display: block; }
.form-status .notice--error { background: #f9eae7; border: 1px solid var(--danger); color: var(--danger); }

.map-wrap { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.map-wrap iframe { display: block; width: 100%; height: 450px; border: 0; }

/* ---------- Modal ---------- */
.modal { position: fixed; inset: 0; z-index: 300; display: flex; align-items: center; justify-content: center; padding: 20px; }
.modal[hidden] { display: none; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(51, 46, 42, 0.6); backdrop-filter: blur(4px); }
.modal__dialog {
  position: relative; background: var(--white); border-radius: var(--radius-lg);
  max-width: 480px; width: 100%; padding: 44px 40px 36px; text-align: center;
  box-shadow: var(--shadow-lg); animation: modalIn .25s ease;
}
@keyframes modalIn { from { opacity: 0; transform: translateY(16px) scale(.97); } to { opacity: 1; transform: none; } }
.modal__icon { width: 64px; height: 64px; margin: 0 auto 18px; border-radius: 50%; background: rgba(205, 171, 129, 0.25); display: flex; align-items: center; justify-content: center; }
.modal__icon svg { width: 30px; height: 30px; stroke: var(--ok); fill: none; }
.modal__dialog h2 { font-size: 1.5rem; margin-bottom: 10px; }
.modal__dialog p { color: var(--metal); margin-bottom: 26px; }
.modal__close {
  position: absolute; top: 14px; right: 14px; width: 38px; height: 38px;
  border: 0; border-radius: 50%; background: var(--cream-2);
  display: flex; align-items: center; justify-content: center;
}
.modal__close svg { width: 16px; height: 16px; stroke: var(--tin); }
.modal__close:hover { background: var(--paper); }

/* ---------- Cookie consent ---------- */
.cookie-banner {
  position: fixed; left: 20px; bottom: 20px; z-index: 90;
  max-width: 440px; width: calc(100% - 40px);
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  padding: 26px; animation: modalIn .3s ease;
}
.cookie-banner[hidden] { display: none; }
.cookie-banner h2 { font-size: 1.08rem; margin-bottom: 8px; }
.cookie-banner p { font-size: 0.85rem; color: var(--metal); margin-bottom: 18px; }
.cookie-banner p a { color: var(--tin); }
.cookie-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.cookie-actions .btn { padding: 10px 18px; font-size: 0.86rem; flex: 1 1 auto; }
.cookie-settings-list { display: grid; gap: 14px; margin: 20px 0 26px; text-align: left; }
.cookie-option { display: flex; gap: 14px; align-items: flex-start; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--radius); }
.cookie-option input { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--kraft-dark); }
.cookie-option input:disabled { opacity: .5; }
.cookie-option strong { display: block; font-size: 0.92rem; color: var(--tin); }
.cookie-option span { font-size: 0.82rem; color: var(--metal); }

/* ---------- Footer ---------- */
.site-footer { background: var(--tin-dark); color: rgba(248, 242, 236, 0.78); margin-top: 0; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.1fr; gap: 48px; padding: 72px 0 48px; }
.site-footer .logo img { width: 200px; }
.site-footer .logo { display: inline-block; padding: 8px 12px; background: var(--cream); border-radius: 10px; margin-bottom: 20px; }
.footer-brand p { font-size: 0.92rem; margin-bottom: 22px; }
.footer-contact { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; font-size: 0.9rem; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; margin: 0; }
.footer-contact svg { flex: 0 0 16px; width: 16px; height: 16px; margin-top: 4px; stroke: var(--kraft); fill: none; }
.site-footer h3 { color: var(--white); font-family: var(--font-body); font-size: 0.82rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 18px; }
.footer-nav ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.footer-nav a { color: rgba(248, 242, 236, 0.78); text-decoration: none; font-size: 0.92rem; transition: color .15s ease; }
.footer-nav a:hover { color: var(--kraft); }
.socials { display: flex; gap: 10px; margin-top: 18px; }
.socials a {
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(248, 242, 236, 0.1); display: flex; align-items: center; justify-content: center;
  transition: background-color .18s ease, transform .18s ease;
}
.socials a:hover { background: var(--kraft); transform: translateY(-2px); }
.socials svg { width: 18px; height: 18px; fill: var(--cream); }
.footer-bottom {
  border-top: 1px solid rgba(248, 242, 236, 0.14);
  padding: 22px 0; display: flex; flex-wrap: wrap; gap: 12px;
  justify-content: space-between; align-items: center; font-size: 0.84rem;
}
.footer-bottom .legal-links { display: flex; gap: 20px; }
.footer-bottom a { color: rgba(248, 242, 236, 0.78); text-decoration: none; }
.footer-bottom a:hover { color: var(--kraft); }
.footer-bottom button.cookie-reopen { background: none; border: 0; padding: 0; color: rgba(248,242,236,.78); font-size: 0.84rem; text-decoration: underline; text-underline-offset: 3px; }
.footer-bottom button.cookie-reopen:hover { color: var(--kraft); }
.footer-entity { font-size: 0.78rem; color: rgba(248,242,236,.5); margin-top: 6px; }

/* ---------- Reveal animation ---------- */
html.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .5s ease, transform .5s ease; }
html.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1060px) {
  .main-nav {
    position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0;
    z-index: 99;
    background: var(--cream);
    box-shadow: 0 18px 40px rgba(63, 58, 54, 0.14);
    transform: translateY(-12px); opacity: 0; visibility: hidden;
    transition: opacity .22s ease, transform .22s ease, visibility 0s linear .22s;
    padding: 12px 24px calc(28px + env(safe-area-inset-bottom));
    overflow-y: auto; display: block;
  }
  .main-nav.is-open {
    transform: none; opacity: 1; visibility: visible;
    transition: opacity .22s ease, transform .22s ease;
  }
  .main-nav ul { flex-direction: column; align-items: stretch; gap: 2px; }
  .main-nav a.nav-link { padding: 14px 16px; font-size: 1.02rem; }
  .main-nav a.nav-link.is-active::after { display: none; }
  .main-nav a.nav-link.is-active { background: rgba(205,171,129,.18); }
  .nav-toggle { display: flex; }
  .header-actions .btn { padding: 11px 20px; font-size: 0.88rem; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 40px; }
}
@media (max-width: 880px) {
  .split { grid-template-columns: 1fr; gap: 36px; }
  .split--media-left > .split__media { order: 0; }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .post-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: 1fr; }
  .featured-post { grid-template-columns: 1fr; }
  .featured-post__img img { min-height: 240px; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .cta-band { padding: 48px 32px; }
  .section { padding: 68px 0; }
}
@media (max-width: 600px) {
  body { font-size: 15.5px; }
  h1 { font-size: 1.8rem; }
  h2 { font-size: 1.4rem; }
  .price-list .pval { white-space: normal; text-align: right; }
  .grid-3, .grid-4, .post-grid, .form-grid { grid-template-columns: 1fr; }
  .form-field--full { grid-column: auto; }
  .header-actions .btn span.btn-label { display: none; }
  .header-actions .btn { padding: 11px 14px; }
  .logo img { width: 180px; }
  .hero { min-height: 70vh; }
  .hero__content { padding: 64px 0; }
  .page-hero { padding: 48px 0 42px; }
  .form-panel { padding: 28px 22px; }
  .steps li { gap: 16px; }
  .steps li::before { flex-basis: 46px; height: 46px; font-size: 0.95rem; }
  .footer-top { grid-template-columns: 1fr; gap: 36px; padding: 56px 0 40px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .map-wrap iframe { height: 340px; }
  .cookie-banner { left: 12px; bottom: 12px; width: calc(100% - 24px); padding: 22px; }
  .cookie-actions .btn { flex: 1 1 100%; }
  .cta-band { padding: 40px 24px; }
  .featured-post__body { padding: 28px 24px; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001s !important; transition-duration: .001s !important; }
  html.js .reveal { opacity: 1; transform: none; }
}

/* ---------- Mobile nav CTA ---------- */
.nav-cta-item { display: none; }
@media (max-width: 1060px) {
  .nav-cta-item { display: block; margin-top: 14px; }
  .nav-cta-item .btn { width: 100%; }
}
@media (max-width: 600px) {
  .header-actions .btn { display: none; }
}
