/* ==========================================================================
   NORDHAVEN · core styles
   ========================================================================== */

/* ------------------------------------------------------------------ */
/* Tokens                                                              */
/* ------------------------------------------------------------------ */
:root {
  --ink: #1d1b18;
  --ink-2: #2b2823;
  --ink-3: #3d3831;
  --muted: #7a7265;
  --muted-2: #9a9183;
  --paper: #fbf8f2;
  --cream: #f4ede1;
  --cream-2: #ede2d1;
  --line: #e3d9ca;
  --line-2: #d5c7b4;
  --clay: #a0523a;
  --clay-dark: #87412b;
  --forest: #26352b;
  --forest-deep: #1b271f;
  --gold: #b08d57;
  --white: #ffffff;
  --font-sans: "Segoe UI", -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --font-serif: Georgia, "Iowan Old Style", "Times New Roman", "Songti SC", "STSong", serif;
  --font-display: var(--font-sans);
  --container: 1280px;
  --radius: 6px;
  --radius-lg: 14px;
  --shadow-sm: 0 2px 6px rgba(38, 28, 18, .04), 0 14px 40px rgba(38, 28, 18, .06);
  --shadow-md: 0 10px 30px rgba(38, 28, 18, .10), 0 30px 80px rgba(38, 28, 18, .10);
  --ease: cubic-bezier(.22, .61, .36, 1);
}

html[lang="en"] {
  --font-display: var(--font-serif);
}

/* ------------------------------------------------------------------ */
/* Reset                                                               */
/* ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.no-scroll { overflow: hidden; }
h1, h2, h3, h4, p, figure, blockquote, dl, dd { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
img, svg { display: block; max-width: 100%; }
::selection { background: var(--clay); color: #fff; }
:focus-visible { outline: 2px solid var(--clay); outline-offset: 3px; }

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.18; letter-spacing: -.01em; }
html[lang="en"] h1, html[lang="en"] h2, html[lang="en"] h3 { font-weight: 500; letter-spacing: -.02em; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 40px; }
.app { min-height: 62vh; }
.page { overflow: clip; }

.skip-link {
  position: fixed; top: -60px; left: 20px; z-index: 300;
  background: var(--ink); color: var(--cream); padding: 10px 16px; border-radius: 4px;
  transition: top .2s;
}
.skip-link:focus { top: 12px; }

.ico { flex: none; }

/* ------------------------------------------------------------------ */
/* Typography helpers                                                  */
/* ------------------------------------------------------------------ */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 10.5px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase;
  color: var(--clay);
}
.eyebrow::before { content: ""; width: 22px; height: 1px; background: currentColor; opacity: .55; }
.eyebrow-dark { color: var(--clay-dark); }
.section-title { font-size: clamp(28px, 3vw, 42px); margin-top: 14px; }
.section-desc { color: var(--muted); max-width: 560px; margin-top: 16px; font-size: 15px; }
.muted { color: var(--muted); }
.section { padding: 104px 0; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; margin-bottom: 48px; }
.section-head-text { max-width: 680px; }
.section-head-action { flex: none; padding-bottom: 6px; }

.text-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; letter-spacing: .02em;
  border-bottom: 1px solid var(--line-2); padding-bottom: 4px;
  transition: color .25s var(--ease), border-color .25s var(--ease), gap .25s var(--ease);
}
.text-link:hover { color: var(--clay); border-color: var(--clay); gap: 12px; }

/* ------------------------------------------------------------------ */
/* Buttons                                                             */
/* ------------------------------------------------------------------ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-height: 48px; padding: 12px 26px; border-radius: 999px;
  font-size: 13.5px; font-weight: 600; letter-spacing: .02em; white-space: nowrap;
  border: 1px solid transparent; cursor: pointer;
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--ink); color: var(--cream); }
.btn-primary:hover { background: var(--clay); box-shadow: 0 10px 24px rgba(160, 82, 58, .22); }
.btn-outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-outline:hover { background: var(--ink); color: var(--cream); }
.btn-ghost { color: var(--ink); border-color: var(--line-2); background: rgba(255, 255, 255, .4); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-light { background: var(--cream); color: var(--ink); }
.btn-light:hover { background: #fff; }
.btn-outline-light { border-color: rgba(255, 255, 255, .45); color: #fff; }
.btn-outline-light:hover { background: rgba(255, 255, 255, .12); }
.btn-quiet { color: var(--muted); border-color: var(--line); background: transparent; }
.btn-quiet:hover { color: var(--ink); border-color: var(--ink); }
.btn-sm { min-height: 38px; padding: 8px 16px; font-size: 12.5px; }
.btn-buy { flex: 1; }
.btn[disabled] { opacity: .5; pointer-events: none; }

.icon-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 50%;
  color: var(--ink); transition: background .2s, color .2s;
}
.icon-btn:hover { background: var(--cream); color: var(--clay); }

/* ------------------------------------------------------------------ */
/* Header                                                              */
/* ------------------------------------------------------------------ */
.site-header {
  position: sticky; top: 0; z-index: 80;
  background: rgba(251, 248, 242, .92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 8px 30px rgba(38, 28, 18, .05); }

.topbar { background: var(--ink); color: #cfc4b4; font-size: 11px; letter-spacing: .04em; }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; min-height: 32px; gap: 20px; }
.topbar-left { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.topbar-right { color: #948a7b; white-space: nowrap; }

.nav-inner { display: flex; align-items: center; gap: 28px; min-height: 78px; }
.brand { display: inline-flex; align-items: center; gap: 12px; flex: none; }
.brand-mark {
  width: 38px; height: 38px; border-radius: 3px; background: var(--ink);
  color: var(--cream); display: grid; place-items: center;
  font-family: var(--font-serif); font-size: 21px; line-height: 1; padding-bottom: 2px;
}
.brand-text { display: flex; flex-direction: column; gap: 2px; }
.brand-text strong { font-family: var(--font-serif); font-size: 19px; font-weight: 600; letter-spacing: .12em; line-height: 1; }
.brand-text em { font-style: normal; font-size: 9.5px; letter-spacing: .14em; color: var(--muted); text-transform: uppercase; }

.main-nav { display: flex; align-items: center; flex: 1; justify-content: center; gap: 2px; }
.nav-link {
  position: relative; font-size: 13px; font-weight: 500; color: var(--ink-3);
  padding: 8px 11px; white-space: nowrap; transition: color .2s;
}
.nav-link::after {
  content: ""; position: absolute; left: 11px; right: 11px; bottom: 2px; height: 1.5px;
  background: var(--clay); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.nav-link:hover { color: var(--ink); }
.nav-link.active { color: var(--ink); }
.nav-link.active::after { transform: scaleX(1); }

.nav-actions { display: flex; align-items: center; gap: 8px; flex: none; }
.lang-switch {
  display: inline-flex; align-items: center; gap: 6px;
  height: 30px; padding: 0 10px; border: 1px solid var(--line); border-radius: 999px;
  font-size: 10.5px; font-weight: 600; letter-spacing: .06em;
}
.lang-switch button { color: var(--muted-2); transition: color .2s; padding: 2px; }
.lang-switch button.active { color: var(--ink); }
.lang-switch span { width: 1px; height: 10px; background: var(--line-2); }

.nav-inquiry {
  display: inline-flex; align-items: center; gap: 7px; height: 38px; padding: 0 12px;
  font-size: 12.5px; font-weight: 600; color: var(--ink-3); border-radius: 999px; transition: background .2s, color .2s;
}
.nav-inquiry:hover { background: var(--cream); color: var(--clay); }
.inq-count {
  min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px;
  background: var(--clay); color: #fff; font-size: 10px; font-weight: 700;
  display: inline-grid; place-items: center; line-height: 1;
}
.inq-count[hidden] { display: none; }
.inq-count.pulse { animation: badge-pop .45s var(--ease); }
@keyframes badge-pop { 0% { transform: scale(.6); } 60% { transform: scale(1.2); } 100% { transform: scale(1); } }
.menu-toggle { display: none; }

/* ------------------------------------------------------------------ */
/* Footer                                                              */
/* ------------------------------------------------------------------ */
.site-footer { background: #17140f; color: #b9ae9e; font-size: 13px; }
.footer-top {
  display: grid; grid-template-columns: 1.55fr .8fr .8fr 1.15fr 1.15fr;
  gap: 48px; padding-top: 76px; padding-bottom: 60px;
}
.footer-brand .brand-mark { background: var(--cream); color: var(--ink); }
.footer-brand .brand-text strong { color: var(--cream); }
.footer-brand .brand-text em { color: #8d8375; }
.footer-brand p { margin-top: 22px; max-width: 330px; color: #948a7b; line-height: 1.85; }
.footer-badges { display: flex; gap: 8px; margin-top: 22px; flex-wrap: wrap; }
.footer-badges span {
  border: 1px solid rgba(255, 255, 255, .14); border-radius: 2px;
  font-size: 9.5px; letter-spacing: .1em; padding: 4px 8px; color: #a89d8d;
}
.footer-col h4, .footer-news h4 { color: var(--cream); font-family: var(--font-sans); font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 20px; }
.footer-col ul { display: flex; flex-direction: column; gap: 11px; }
.footer-col a:hover { color: var(--cream); }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; color: #948a7b; }
.footer-contact li .ico { margin-top: 3px; color: #6f6659; }
.footer-news p { color: #948a7b; margin-bottom: 16px; line-height: 1.7; }
.news-form { display: flex; border-bottom: 1px solid rgba(255, 255, 255, .2); }
.news-form input {
  flex: 1; min-width: 0; background: transparent; border: 0; color: var(--cream);
  padding: 9px 0; font-size: 13px; outline: none;
}
.news-form input::placeholder { color: #6f6659; }
.news-form button { color: var(--cream); padding: 0 4px; }
.news-form button:hover { color: var(--clay); }
.news-msg { display: block; margin-top: 10px; font-size: 11.5px; color: #8d8375; min-height: 16px; }
.news-msg.error { color: #d08a72; }
.news-msg.ok { color: #b7c7a9; }
.footer-bottom {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding-top: 22px; padding-bottom: 26px; border-top: 1px solid rgba(255, 255, 255, .08);
  font-size: 11.5px; color: #6f6659;
}
.footer-made { display: inline-flex; align-items: center; gap: 8px; }

/* ------------------------------------------------------------------ */
/* Hero                                                                */
/* ------------------------------------------------------------------ */
.hero {
  position: relative; overflow: hidden; padding: 56px 0 0;
  background:
    radial-gradient(900px 520px at 82% 6%, rgba(237, 224, 205, .9) 0%, rgba(237, 224, 205, 0) 68%),
    radial-gradient(600px 400px at 4% 90%, rgba(244, 237, 225, .9) 0%, rgba(244, 237, 225, 0) 70%),
    var(--paper);
}
.hero-grid { display: grid; grid-template-columns: 1.02fr .98fr; gap: 48px; align-items: center; padding-bottom: 58px; }
.hero-copy { max-width: 620px; }
.hero-title {
  font-size: clamp(40px, 4.6vw, 66px); line-height: 1.1; letter-spacing: -.025em;
  margin-top: 22px; color: var(--ink);
}
.hero-title .accent { color: var(--clay); }
html[lang="en"] .hero-title .accent { font-style: italic; }
.hero-desc { margin-top: 24px; font-size: 16px; line-height: 1.8; color: var(--muted); max-width: 520px; }
.hero-cta { display: flex; align-items: center; gap: 12px; margin-top: 32px; flex-wrap: wrap; }
.hero-trust { display: flex; align-items: center; gap: 22px; margin-top: 38px; flex-wrap: wrap; }
.hero-trust li { display: inline-flex; align-items: center; gap: 8px; font-size: 11.5px; letter-spacing: .03em; color: var(--muted); }
.hero-trust .ico { color: var(--clay); }

.hero-visual { position: relative; height: 586px; }
.hero-photo { position: absolute; overflow: hidden; background: var(--cream); box-shadow: var(--shadow-md); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-photo-main {
  top: 0; right: 0; width: 79%; height: 520px;
  border-radius: 260px 260px 8px 8px;
}
.hero-photo-main figcaption {
  position: absolute; right: 24px; bottom: 18px; color: var(--ink); font-size: 10.5px;
  letter-spacing: .1em; text-transform: uppercase; background: rgba(251, 248, 242, .82);
  padding: 6px 10px; border-radius: 2px; backdrop-filter: blur(6px);
}
.hero-photo-small {
  left: 0; bottom: 32px; width: 39%; height: 224px;
  border-radius: 6px; border: 7px solid var(--paper); box-shadow: var(--shadow-md);
}
.hero-photo-tiny {
  right: 2%; bottom: -8px; width: 30%; height: 158px;
  border-radius: 6px; border: 7px solid var(--paper);
}
.hero-stat {
  position: absolute; left: 2%; top: 26px; z-index: 2;
  background: var(--ink); color: var(--cream); padding: 20px 22px; border-radius: 4px;
  box-shadow: var(--shadow-md); min-width: 168px;
}
.hero-stat strong { display: block; font-family: var(--font-display); font-size: 34px; line-height: 1; letter-spacing: -.02em; }
.hero-stat span { display: block; margin-top: 8px; font-size: 10.5px; line-height: 1.5; color: #cdc2b1; }
.hero-stat em { display: block; margin-top: 14px; padding-top: 10px; border-top: 1px solid rgba(255, 255, 255, .16); font-style: normal; font-size: 9.5px; letter-spacing: .1em; color: #9c9183; text-transform: uppercase; }

.stats-strip {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  padding: 30px 0; margin-bottom: 0;
}
.stat { padding: 4px 32px; border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat strong { display: block; font-family: var(--font-display); font-size: 32px; font-weight: 600; letter-spacing: -.02em; line-height: 1; }
.stat span { display: block; margin-top: 9px; font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }

/* ------------------------------------------------------------------ */
/* Category cards                                                      */
/* ------------------------------------------------------------------ */
.section-cats { background: var(--paper); }
.cat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.cat-card { display: block; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: box-shadow .35s var(--ease), transform .35s var(--ease), border-color .35s; }
.cat-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); border-color: var(--line-2); }
.cat-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--cream); }
.cat-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.cat-card:hover .cat-media img { transform: scale(1.045); }
.cat-count {
  position: absolute; left: 18px; top: 18px; background: rgba(251, 248, 242, .9);
  backdrop-filter: blur(6px); font-size: 10.5px; letter-spacing: .08em; font-weight: 600;
  padding: 6px 10px; border-radius: 2px; color: var(--ink-3);
}
.cat-body { padding: 24px 26px 26px; }
.cat-body-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.cat-body h3 { font-size: 24px; }
.cat-arrow { color: var(--clay); transition: transform .3s var(--ease); }
.cat-card:hover .cat-arrow { transform: translateX(6px); }
.cat-tagline { margin-top: 6px; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--clay); }
.cat-desc { margin-top: 12px; color: var(--muted); font-size: 13.5px; line-height: 1.75; }

/* ------------------------------------------------------------------ */
/* Product cards                                                       */
/* ------------------------------------------------------------------ */
.product-grid { display: grid; gap: 30px 26px; }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.p-card { position: relative; }
.p-media { position: relative; background: var(--cream); border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; }
.p-img-link { display: block; width: 100%; height: 100%; }
.p-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.p-card:hover .p-media img { transform: scale(1.05); }
.p-flag {
  position: absolute; left: 12px; top: 12px; font-size: 9.5px; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase; padding: 5px 8px; border-radius: 2px;
  background: var(--ink); color: var(--cream);
}
.p-flag.hot { background: var(--clay); color: #fff; }
.p-flag.new { background: var(--forest); color: var(--cream); }
.p-quick {
  position: absolute; left: 50%; bottom: 14px; transform: translate(-50%, 10px);
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(251, 248, 242, .94); color: var(--ink); backdrop-filter: blur(6px);
  font-size: 11px; font-weight: 600; letter-spacing: .03em; padding: 8px 13px; border-radius: 999px;
  opacity: 0; transition: opacity .3s var(--ease), transform .3s var(--ease), background .3s;
  box-shadow: 0 4px 14px rgba(30, 22, 14, .12); white-space: nowrap;
}
.p-card:hover .p-quick, .p-quick:focus-visible { opacity: 1; transform: translate(-50%, 0); }
.p-quick:hover { background: var(--ink); color: var(--cream); }
.p-info { padding: 15px 2px 0; }
.p-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.p-family { font-size: 10px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted-2); }
.p-rate { display: inline-flex; align-items: center; gap: 4px; font-size: 11px; color: var(--muted); }
.p-rate .ico { fill: var(--gold); stroke: var(--gold); }
.p-name { margin-top: 6px; font-family: var(--font-sans); font-size: 14.5px; font-weight: 600; line-height: 1.45; letter-spacing: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.9em; }
.p-name a { transition: color .2s; }
.p-name a:hover { color: var(--clay); }
.p-spec { margin-top: 4px; font-size: 11.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.p-bottom { display: flex; align-items: center; justify-content: space-between; margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--line); }
.p-price { font-size: 15px; font-weight: 700; letter-spacing: .01em; }
.p-price small { font-size: 10px; font-weight: 400; color: var(--muted); margin-left: 2px; }
.p-add {
  width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--line-2);
  display: grid; place-items: center; color: var(--ink); transition: background .2s, color .2s, border-color .2s;
}
.p-add:hover { background: var(--clay); border-color: var(--clay); color: #fff; }

/* ------------------------------------------------------------------ */
/* Why / values                                                        */
/* ------------------------------------------------------------------ */
.section-why { background: var(--forest-deep); color: var(--cream); }
.section-why .eyebrow { color: var(--gold); }
.section-why .section-title { color: var(--cream); }
.section-why .section-desc { color: #9aa596; }
.section-why .text-link { border-color: rgba(255, 255, 255, .25); color: var(--cream); }
.section-why .text-link:hover { color: var(--gold); border-color: var(--gold); }
.why-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 70px; align-items: start; }
.why-lead { position: sticky; top: 130px; }
.why-lead .section-title { margin-top: 16px; }
.why-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 0 40px; }
.why-card { position: relative; padding: 28px 0 30px; border-top: 1px solid rgba(255, 255, 255, .14); }
.why-icon {
  width: 44px; height: 44px; border: 1px solid rgba(255, 255, 255, .2); border-radius: 50%;
  display: grid; place-items: center; color: var(--gold); margin-bottom: 18px;
}
.why-num { position: absolute; right: 0; top: 28px; font-family: var(--font-serif); font-size: 12px; color: #6c7868; letter-spacing: .1em; }
.why-card h3 { font-size: 17px; font-family: var(--font-sans); font-weight: 600; letter-spacing: 0; }
.why-card p { margin-top: 10px; font-size: 13px; line-height: 1.75; color: #9aa596; }

/* ------------------------------------------------------------------ */
/* Process                                                             */
/* ------------------------------------------------------------------ */
.section-process { background: var(--cream); }
.process-list { display: grid; grid-template-columns: repeat(5, 1fr); gap: 26px; counter-reset: step; }
.process-item { position: relative; padding-top: 26px; border-top: 1px solid var(--line-2); }
.process-num {
  position: absolute; top: -13px; left: 0; background: var(--cream); padding-right: 10px;
  font-family: var(--font-serif); font-size: 15px; color: var(--clay); letter-spacing: .06em;
}
.process-item h3 { font-size: 16px; font-family: var(--font-sans); font-weight: 600; letter-spacing: 0; margin-top: 10px; }
.process-item p { margin-top: 9px; font-size: 12.5px; line-height: 1.75; color: var(--muted); }

/* ------------------------------------------------------------------ */
/* Certifications                                                      */
/* ------------------------------------------------------------------ */
.section-certs { background: var(--paper); }
.certs-inner { display: grid; grid-template-columns: .9fr 1.1fr; gap: 70px; align-items: center; }
.cert-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.cert { background: var(--white); padding: 22px 18px; display: flex; align-items: center; gap: 11px; }
.cert-mark { color: var(--clay); }
.cert strong { display: block; font-size: 12.5px; letter-spacing: .04em; }
.cert em { display: block; font-style: normal; font-size: 9.5px; color: var(--muted); margin-top: 2px; letter-spacing: .02em; }

/* ------------------------------------------------------------------ */
/* Testimonials                                                        */
/* ------------------------------------------------------------------ */
.section-testi { background: var(--cream); }
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testi-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px 30px 28px; }
.testi-quote { color: var(--clay); opacity: .85; margin-bottom: 18px; }
.testi-card blockquote { font-family: var(--font-display); font-size: 17px; line-height: 1.7; letter-spacing: 0; color: var(--ink-2); }
html[lang="en"] .testi-card blockquote { font-size: 18px; font-style: italic; }
.testi-card figcaption { display: flex; align-items: center; gap: 12px; margin-top: 26px; padding-top: 20px; border-top: 1px solid var(--line); }
.avatar {
  width: 38px; height: 38px; border-radius: 50%; background: var(--ink); color: var(--cream);
  display: grid; place-items: center; font-size: 11px; letter-spacing: .06em; font-weight: 600;
}
.testi-card figcaption strong { display: block; font-size: 12.5px; }
.testi-card figcaption em { display: block; font-style: normal; font-size: 10.5px; color: var(--muted); margin-top: 2px; }

/* ------------------------------------------------------------------ */
/* CTA band                                                            */
/* ------------------------------------------------------------------ */
.cta-band { position: relative; background: var(--clay); color: #fbf3e9; overflow: hidden; }
.cta-band::after {
  content: "NORDHAVEN"; position: absolute; right: -18px; bottom: -74px;
  font-family: var(--font-serif); font-size: clamp(110px, 17vw, 250px); line-height: 1;
  letter-spacing: -.03em; color: rgba(255, 255, 255, .065); white-space: nowrap; pointer-events: none;
}
.cta-inner { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 50px; padding: 72px 40px; }
.cta-copy { max-width: 560px; position: relative; z-index: 2; }
.cta-copy .eyebrow { color: #efc9b7; }
.cta-copy .eyebrow::before { background: #efc9b7; }
.cta-copy h2 { font-size: clamp(26px, 3.1vw, 40px); margin-top: 14px; color: #fff; }
.cta-copy p { margin-top: 14px; color: #f0d5c7; font-size: 14px; max-width: 460px; }
.cta-actions { position: relative; z-index: 2; display: flex; gap: 12px; flex-wrap: wrap; }
.cta-img { position: absolute; right: 6%; top: 50%; transform: translateY(-50%); width: 300px; opacity: .22; border-radius: 50% 50% 6px 6px; filter: saturate(.7); pointer-events: none; }

/* ------------------------------------------------------------------ */
/* Reveal animation                                                    */
/* ------------------------------------------------------------------ */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ------------------------------------------------------------------ */
/* Toast / back to top                                                 */
/* ------------------------------------------------------------------ */
.toast-root { position: fixed; left: 50%; bottom: 30px; transform: translateX(-50%); z-index: 400; display: flex; flex-direction: column; gap: 8px; align-items: center; pointer-events: none; }
.toast {
  display: flex; align-items: center; gap: 9px; background: var(--ink); color: var(--cream);
  padding: 12px 18px; border-radius: 999px; font-size: 12.5px; letter-spacing: .01em;
  box-shadow: 0 14px 40px rgba(20, 14, 10, .25); opacity: 0; transform: translateY(10px);
  transition: opacity .3s var(--ease), transform .3s var(--ease); max-width: min(90vw, 480px);
}
.toast .ico { color: #a9bd9b; }
.toast.show { opacity: 1; transform: none; }

.back-top {
  position: fixed; right: 28px; bottom: 28px; z-index: 70;
  width: 44px; height: 44px; border-radius: 50%; background: var(--ink); color: var(--cream);
  display: grid; place-items: center; opacity: 0; pointer-events: none; transform: translateY(8px);
  transition: opacity .3s, transform .3s, background .25s;
}
.back-top.show { opacity: 1; pointer-events: auto; transform: none; }
.back-top:hover { background: var(--clay); }

/* ------------------------------------------------------------------ */
/* Shared responsive                                                   */
/* ------------------------------------------------------------------ */
@media (max-width: 1180px) {
  .main-nav { gap: 0; }
  .nav-link { padding: 8px; font-size: 12.5px; }
  .nav-link::after { left: 8px; right: 8px; }
  .nav-quote { display: none; }
  .hero-visual { height: 540px; }
  .hero-photo-main { height: 480px; }
  .footer-top { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; }
  .footer-news { grid-column: 1 / -1; max-width: 420px; }
  .why-cards { gap: 0 28px; }
}

@media (max-width: 1024px) {
  .main-nav { display: none; }
  .menu-toggle { display: inline-flex; }
  .nav-inner { min-height: 68px; gap: 18px; }
  .nav-actions { margin-left: auto; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; padding-bottom: 46px; }
  .hero-copy { max-width: 640px; }
  .hero-visual { height: 500px; max-width: 620px; }
  .hero-photo-main { height: 440px; }
  .hero-photo-small { height: 190px; }
  .why-grid { grid-template-columns: 1fr; gap: 40px; }
  .why-lead { position: static; }
  .process-list { grid-template-columns: repeat(3, 1fr); gap: 34px 24px; }
  .certs-inner { grid-template-columns: 1fr; gap: 36px; }
  .testi-grid { grid-template-columns: 1fr 1fr; }
  .testi-card:last-child { display: none; }
  .cta-img { right: -4%; opacity: .15; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 38px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-brand p { max-width: 480px; }
  .footer-news { grid-column: auto; }
}

@media (max-width: 760px) {
  .container { padding: 0 22px; }
  .section { padding: 72px 0; }
  .topbar { display: none; }
  .nav-inner { min-height: 62px; }
  .brand-text em { display: none; }
  .brand-text strong { font-size: 17px; }
  .brand-mark { width: 34px; height: 34px; font-size: 19px; }
  .nav-inquiry span { display: none; }
  .nav-inquiry { padding: 0 8px; }
  .lang-switch { display: none; }
  .hero { padding-top: 28px; }
  .hero-grid { gap: 24px; }
  .hero-title { font-size: clamp(34px, 8.6vw, 42px); margin-top: 16px; }
  .hero-desc { font-size: 13.5px; line-height: 1.72; margin-top: 18px; }
  .hero-cta { margin-top: 22px; gap: 8px; flex-wrap: wrap; }
  .hero-cta .btn { flex: 1 1 auto; min-height: 46px; padding: 10px 12px; font-size: 12px; }
  .hero-trust { gap: 12px 18px; margin-top: 20px; }
  .hero-trust li { font-size: 10px; }
  .hero-visual { height: 376px; margin-top: 6px; }
  .hero-photo-main { width: 84%; height: 326px; border-radius: 168px 168px 6px 6px; }
  .hero-photo-small { width: 40%; height: 132px; bottom: 12px; border-width: 5px; }
  .hero-photo-tiny { display: none; }
  .hero-photo-small { display: none; }
  .hero-stat { top: 10px; left: 0; padding: 13px 15px; min-width: 128px; }
  .hero-stat strong { font-size: 25px; }
  .hero-stat em { display: none; }
  .stats-strip { grid-template-columns: 1fr 1fr; gap: 22px 0; padding: 24px 0; }
  .stat { padding: 0 18px; }
  .stat:nth-child(odd) { padding-left: 0; border-left: 0; }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(4) { border-left: 1px solid var(--line); }
  .section-head { flex-direction: column; align-items: flex-start; gap: 18px; margin-bottom: 30px; }
  .section-title { font-size: 27px; }
  .cat-grid { grid-template-columns: 1fr; }
  .cat-body h3 { font-size: 21px; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); gap: 24px 14px; }
  .p-name { font-size: 13px; }
  .p-spec { font-size: 10.5px; }
  .p-price { font-size: 13.5px; }
  .p-top .p-family { font-size: 9px; }
  .p-quick { display: none; }
  .p-add { width: 28px; height: 28px; }
  .why-cards { grid-template-columns: 1fr; gap: 0; }
  .process-list { grid-template-columns: 1fr; gap: 26px; }
  .cert-grid { grid-template-columns: 1fr 1fr; }
  .testi-grid { grid-template-columns: 1fr; }
  .testi-card:last-child { display: block; }
  .cta-inner { flex-direction: column; align-items: flex-start; padding: 52px 22px; }
  .cta-img { display: none; }
  .footer-top { padding-top: 52px; gap: 30px; }
  .footer-col, .footer-news { grid-column: span 1; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 8px; }
  .back-top { right: 16px; bottom: 16px; }
  .toast-root { bottom: 18px; }
}

/* ==========================================================================
   SELECTION SITE · overrides & additions
   ========================================================================== */
.nav-contact { white-space: nowrap; }
.nav-actions { gap: 6px; }

.footer-top { grid-template-columns: 1.55fr .8fr .8fr 1.25fr; gap: 46px; }
.footer-brand p { max-width: 330px; }
.footer-col ul { gap: 10px; }
.footer-contact li span { line-height: 1.65; }

.hero-stat strong sup { font-size: 15px; vertical-align: super; margin-left: 1px; }
.hero-stat em { white-space: nowrap; }

.p-sku { font-size: 9px; letter-spacing: .05em; color: var(--muted-2); font-variant-numeric: tabular-nums; }
.p-link { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 600; color: var(--ink-3); transition: color .2s, gap .2s; }
.p-link:hover { color: var(--clay); gap: 9px; }
.p-bottom { gap: 10px; }
.p-card .p-media { background: var(--cream); }
.p-card .p-name { min-height: 2.9em; }

.cat-contact { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; font-size: 10px; color: var(--muted); }
.cat-contact .ico { color: var(--clay); }
.cat-hero-actions { display: flex; align-items: center; gap: 18px; margin-top: 26px; flex-wrap: wrap; }
.cat-hero-actions .text-link { border-bottom: 0; color: var(--muted); }
.cat-hero-actions .text-link:hover { color: var(--clay); }

/* loading / errors */
.page-loading { min-height: 62vh; display: grid; place-items: center; padding: 80px 20px; }
.loading-wrap { text-align: center; color: var(--muted); font-size: 12.5px; letter-spacing: .04em; }
.loading-spinner {
  display: block; width: 38px; height: 38px; margin: 0 auto 18px;
  border: 2px solid var(--line); border-top-color: var(--clay); border-radius: 50%;
  animation: nh-spin .8s linear infinite;
}
@keyframes nh-spin { to { transform: rotate(360deg); } }
.loading-inline { display: inline-flex; align-items: center; gap: 8px; font-size: 11px; color: var(--muted); padding: 12px 20px; }
.page-error, .page-404 { min-height: 64vh; display: grid; align-items: center; padding: 80px 0; }
.page-error h1, .page-404 h1 { font-size: clamp(34px, 4vw, 48px); margin-top: 14px; }
.page-error p, .page-404 p { margin-top: 14px; color: var(--muted); max-width: 520px; }
.page-error .btn, .page-404 .btn { margin-top: 22px; }

/* skeleton */
.p-card.skeleton { pointer-events: none; }
.p-card.skeleton .p-media { background: linear-gradient(100deg, var(--cream) 20%, #f8f2e8 38%, var(--cream) 56%); background-size: 200% 100%; animation: nh-shimmer 1.3s infinite linear; }
.p-card.skeleton .p-info { padding-top: 16px; display: flex; flex-direction: column; gap: 8px; }
.sk-line { display: block; height: 9px; border-radius: 3px; background: var(--cream-2); }
.sk-line.w40 { width: 40%; }
.sk-line.w80 { width: 80%; height: 12px; }
.sk-line.w60 { width: 60%; }
@keyframes nh-shimmer { to { background-position: -200% 0; } }

/* contact avatar */
.contact-avatar {
  width: 44px; height: 44px; border-radius: 50%; background: var(--ink); color: var(--cream);
  display: grid; place-items: center; font-size: 13px; font-weight: 600; letter-spacing: .02em; flex: none;
}
.contact-avatar.big { width: 52px; height: 52px; font-size: 16px; }

/* search results arrow (replaces price) */
.so-row-arrow { color: var(--muted); flex: none; transition: transform .2s, color .2s; }
.so-row:hover .so-row-arrow { color: var(--clay); transform: translateX(3px); }
.so-count { min-height: 16px; }

/* keep long content tidy */
html[lang='en'] .hero-title { letter-spacing: -.03em; }
html[lang='en'] .p-name { letter-spacing: 0; }

@media (max-width: 1180px) {
  .footer-top { grid-template-columns: 1.4fr .9fr .9fr 1.2fr; gap: 34px; }
}

@media (max-width: 1024px) {
  .footer-top { grid-template-columns: 1fr 1fr; gap: 34px; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  .nav-contact { display: none; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 28px 20px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-contact { grid-column: 1 / -1; }
  .hero-stat strong { font-size: 24px; }
  .p-link { font-size: 10px; }
  .cat-hero-actions { margin-top: 20px; gap: 12px; }
  .cat-hero-actions .btn { width: 100%; }
}

/* search input native clear button */
input[type='search']::-webkit-search-cancel-button,
input[type='search']::-webkit-search-decoration { -webkit-appearance: none; display: none; }

@media (max-width: 760px) {
  .hero-cta { flex-direction: column; align-items: stretch; gap: 8px; }
  .hero-cta .btn { width: 100%; flex: none; }
}
