/* ==========================================================================
   Goodway Furniture - front-end stylesheet
   Palette: warm walnut on sand and ink. No external fonts or assets, so the
   site renders identically on a server without internet access.
   ========================================================================== */

:root {
  --ink: #1e1b17;
  --ink-2: #3b352d;
  --muted: #6f6659;
  --line: #e6ded2;
  --sand: #f7f3ed;
  --sand-2: #efe8de;
  --white: #fff;
  --brand: #a9702f;
  --brand-2: #c68a3f;
  --brand-soft: #f2e7d8;
  --dark: #201d19;
  --dark-2: #2b2721;
  --ok: #2f7d4f;
  --err: #b4362f;
  --font-sans: 'Segoe UI', system-ui, -apple-system, 'Helvetica Neue', Arial, 'Microsoft YaHei', sans-serif;
  --font-serif: Georgia, 'Times New Roman', 'Songti SC', serif;
  --radius: 6px;
  --radius-lg: 10px;
  --shadow: 0 18px 40px -28px rgba(31, 25, 17, .45);
  --shadow-lg: 0 40px 70px -40px rgba(31, 25, 17, .5);
  --wrap: 1260px;
  --gut: 30px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.72;
  color: var(--ink-2);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0 0 .5em; color: var(--ink); font-weight: 600; line-height: 1.18; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
button { font: inherit; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
.wrap.narrow { max-width: 860px; }
.center { text-align: center; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; z-index: 99; background: #fff; padding: 8px 14px; }

.ico { width: 1.05em; height: 1.05em; flex: 0 0 auto; }

/* ------------------------------- buttons ------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 26px; border: 1px solid transparent; border-radius: var(--radius);
  font-size: 14px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase;
  transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.btn-sm { padding: 10px 18px; font-size: 12.5px; }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: #8f5c26; transform: translateY(-1px); }
.btn-outline { border-color: var(--line); color: var(--ink); background: transparent; }
.btn-outline:hover { border-color: var(--brand); color: var(--brand); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--brand-soft); }
.btn-ghost-light { border-color: rgba(255,255,255,.55); color: #fff; }
.btn-ghost-light:hover { background: rgba(255,255,255,.14); }

/* ------------------------------- topbar ------------------------------- */
.topbar { background: var(--dark); color: #cfc6ba; font-size: 13px; }
.topbar-in { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 40px; }
.topbar-note { margin: 0; }
.topbar-cta { display: flex; gap: 22px; list-style: none; }
.topbar-cta a { display: inline-flex; align-items: center; gap: 7px; color: #e9e2d8; }
.topbar-cta a:hover { color: var(--brand-2); }

/* ------------------------------- header ------------------------------- */
.header {
  position: sticky; top: 0; z-index: 40; background: rgba(255,255,255,.96);
  border-bottom: 1px solid var(--line); backdrop-filter: saturate(140%) blur(8px);
}
.header.is-stuck { box-shadow: 0 12px 30px -24px rgba(31,25,17,.6); }
.header-in { display: flex; align-items: center; gap: 18px; min-height: 84px; min-width: 0; }

.logo { display: inline-flex; align-items: center; gap: 12px; min-width: 0; }
.logo-text { min-width: 0; }
.logo-mark { width: 44px; height: 44px; flex: 0 0 auto; }
.logo-text { display: flex; flex-direction: column; }
.logo-text strong {
  font-family: var(--font-serif); font-size: 22px; font-weight: 600; letter-spacing: .05em;
  color: var(--ink); line-height: 1;
}
.logo-text strong em { font-style: normal; color: var(--brand); margin-left: 5px; }
.logo-text small { font-size: 9.5px; letter-spacing: .13em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.logo-light .logo-text strong { color: #fff; }

.nav { margin-left: auto; }
.navlist { display: flex; align-items: center; gap: 2px; list-style: none; }
.navlist > li { position: relative; }
.navlist > li > a {
  display: inline-flex; align-items: center; gap: 5px; padding: 11px 11px; white-space: nowrap;
  font-size: 13.5px; font-weight: 600; letter-spacing: .01em; color: var(--ink-2); border-radius: var(--radius);
}
.navlist > li > a:hover, .navlist > li > a.active { color: var(--brand); background: var(--brand-soft); }
.caret { width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translateY(-2px); }
.subnav {
  position: absolute; left: 0; top: calc(100% + 8px); min-width: 250px; list-style: none;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow); padding: 8px; opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity .18s, transform .18s, visibility .18s;
}
.has-sub:hover .subnav, .has-sub:focus-within .subnav { opacity: 1; visibility: visible; transform: translateY(0); }
.subnav li a { display: block; padding: 9px 12px; border-radius: var(--radius); font-size: 13.5px; color: var(--ink-2); }
.subnav li a:hover { background: var(--sand); color: var(--brand); }

.header-side { display: flex; align-items: center; gap: 12px; flex: 0 0 auto; }
.header-side .btn { white-space: nowrap; }
.navtoggle { display: none; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.navtoggle span { display: block; width: 18px; height: 2px; margin: 3px auto; background: var(--ink); }

/* -------------------------------- hero -------------------------------- */
.hero { position: relative; background: var(--dark); overflow: hidden; }
.hero-slides { position: relative; height: clamp(480px, 62vh, 680px); }
.hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity .9s ease; pointer-events: none; }
.hero-slide.is-active { opacity: 1; pointer-events: auto; }
.hero-bg {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  transform: scale(1.04); animation: heroZoom 14s ease-out infinite alternate;
}
@keyframes heroZoom { from { transform: scale(1.02); } to { transform: scale(1.09); } }
.hero-shade {
  position: absolute; inset: 0;
  background: linear-gradient(94deg, rgba(18,15,12,.86) 0%, rgba(20,16,12,.66) 42%, rgba(20,16,12,.24) 78%);
}
.hero-in { position: relative; height: 100%; display: flex; flex-direction: column; justify-content: center; max-width: var(--wrap); padding-top: 40px; padding-bottom: 60px; }
.hero-in > * { max-width: 660px; }
.hero h1 { font-family: var(--font-serif); font-size: clamp(32px, 3.6vw, 54px); color: #fff; margin-bottom: 16px; }
.hero-text { color: #ded6ca; font-size: 17px; margin-bottom: 28px; }
.hero-btns { display: flex; flex-wrap: wrap; gap: 12px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin: 0 0 12px;
  font-size: 12px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--brand);
}
.eyebrow::before { content: ''; width: 26px; height: 1px; background: currentColor; opacity: .7; }
.eyebrow.light { color: var(--brand-2); }

.hero-dots { position: absolute; left: 50%; bottom: 76px; transform: translateX(-50%); display: flex; gap: 10px; z-index: 3; }
.dot { width: 34px; height: 3px; border: 0; background: rgba(255,255,255,.34); border-radius: 2px; }
.dot.is-on { background: var(--brand-2); }

.hero-strip { position: absolute; left: 0; right: 0; bottom: 0; background: rgba(18,15,12,.72); backdrop-filter: blur(3px); }
.hero-strip-in {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 34px;
  padding: 14px 0; color: #cfc6ba; font-size: 12px; letter-spacing: .14em; text-transform: uppercase;
}
.hero-strip-in span { position: relative; padding-left: 18px; }
.hero-strip-in span::before { content: ''; position: absolute; left: 0; top: 50%; width: 7px; height: 7px; margin-top: -3.5px; border-radius: 50%; background: var(--brand-2); }

/* ------------------------------- sections ------------------------------- */
.sec { padding: 84px 0; }
.sec-white { background: var(--white); }
.sec-sand { background: var(--sand); }
.sec-dark { background: var(--dark); color: #cbc2b6; }
.sec-dark h2, .sec-dark h3, .sec-dark strong { color: #fff; }

.sec-head { max-width: 760px; margin-bottom: 44px; }
.sec-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.sec-head.center .eyebrow { justify-content: center; }
.sec-title { font-family: var(--font-serif); font-size: clamp(26px, 2.4vw, 36px); margin-bottom: 14px; }
.sec-text { color: var(--muted); font-size: 16.5px; }
.sec-more { margin-top: 40px; }
.sec-head.center + .sec-more { text-align: center; }

.more {
  display: inline-flex; align-items: center; gap: 9px; font-size: 13px; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase; color: var(--brand);
}
.more:hover { gap: 14px; }
.more-ico { width: 18px; height: 18px; }
.sec-dark .more { color: var(--brand-2); }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.grid-2.is-reverse .g-media { order: 2; }
.g-media img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.g-media.stack { position: relative; padding-bottom: 70px; padding-right: 60px; }
.g-media.stack img.over {
  position: absolute; right: 0; bottom: 0; width: 56%; border: 8px solid #fff;
  box-shadow: var(--shadow-lg);
}
.block-body { color: var(--muted); font-size: 16.5px; }

.ticks { list-style: none; margin: 18px 0 26px; }
.ticks li { position: relative; padding-left: 30px; margin-bottom: 10px; color: var(--ink-2); }
.ticks li::before {
  content: ''; position: absolute; left: 0; top: .55em; width: 13px; height: 7px;
  border-left: 2px solid var(--brand); border-bottom: 2px solid var(--brand); transform: rotate(-45deg);
}
.ticks-lg { margin-bottom: 0; }
.ticks-lg li { margin-bottom: 14px; font-size: 16.5px; }

/* --------------------------- stats and numbers --------------------------- */
/* ------------------------- home page numbers -------------------------
   Four figures on one row, separated by hairlines. The figures use tabular
   numerals and the labels reserve two lines, so every column lines up no
   matter how long the label is. */
.statsband { background: var(--dark); padding: 76px 0; }
.statsband .sec-head { margin-bottom: 54px; }
.statgrid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { position: relative; text-align: center; padding: 0 20px; }
.stat::before {
  content: ''; position: absolute; left: 0; top: 6%; bottom: 6%; width: 1px;
  background: rgba(255, 255, 255, .16);
}
.stat:first-child::before { display: none; }
.stat-value {
  display: inline-block;
  font-family: var(--font-serif);
  font-size: clamp(48px, 5.2vw, 72px);
  line-height: 1;
  letter-spacing: -.015em;
  color: #fff;
  font-variant-numeric: tabular-nums;
  font-feature-settings: 'tnum' 1;
}
.stat-suffix {
  font-style: normal;
  font-family: var(--font-serif);
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1;
  color: var(--brand-2);
  margin-left: 3px;
  vertical-align: 10px;
}
.stat-label {
  display: block;
  margin: 20px auto 0;
  max-width: 230px;
  min-height: 3em;
  font-size: 13px;
  line-height: 1.5;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: #a89e91;
}

.numgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 34px 26px; text-align: center; }
.num strong { display: block; font-family: var(--font-serif); font-size: 30px; color: var(--brand-2); }
.num span { display: block; margin-top: 8px; font-size: 13px; color: #a89e91; }

/* ------------------------------- category ------------------------------- */
.catgrid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 420px));
  justify-content: center;
  gap: 24px;
  width: 100%;
}
.catcard {
  position: relative; display: block; overflow: hidden; border-radius: var(--radius-lg);
  background: var(--sand); aspect-ratio: 4 / 3.1;
}
.catcard img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.catcard:hover img { transform: scale(1.06); }
.catcard::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(18,15,12,.8), rgba(18,15,12,.06) 62%);
}
.catcard-in { position: absolute; left: 22px; right: 22px; bottom: 20px; z-index: 2; color: #fff; }
.catcard-in strong { display: block; font-family: var(--font-serif); font-size: 21px; color: #fff; }
.catcard-in em { font-style: normal; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--brand-2); }

/* ------------------------------- products ------------------------------- */
.pgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px 26px; }
.pcard { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .25s, transform .25s, border-color .25s; }
.pcard:hover { box-shadow: var(--shadow); transform: translateY(-3px); border-color: #dbd0c0; }
.pcard-media { position: relative; display: block; background: var(--sand); aspect-ratio: 1 / 1; overflow: hidden; }
.pcard-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s ease; }
.pcard:hover .pcard-media img { transform: scale(1.05); }
.pcard-cat {
  position: absolute; left: 12px; top: 12px; padding: 5px 11px; border-radius: 30px;
  background: rgba(255,255,255,.94); font-size: 10.5px; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--brand);
}
.pcard-body { padding: 20px 20px 22px; display: flex; flex-direction: column; flex: 1; }
.pcard-body h3 { font-size: 17.5px; margin-bottom: 8px; }
.pcard-body h3 a:hover { color: var(--brand); }
.pcard-body p { color: var(--muted); font-size: 14px; margin-bottom: 16px; }
/* The full summary stays in the markup so it can be edited in place; the
   clamp only trims how much of it the card shows. */
.pcard-text {
  color: var(--muted); font-size: 14px; margin-bottom: 16px;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical;
  overflow: hidden; min-height: 4.2em;
}
.pcard-link { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--brand); }

/* ------------------------------ why cards ------------------------------ */
.whygrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.whygrid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.whycard { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 32px 26px; transition: transform .25s, box-shadow .25s; }
.sec-white .whycard { background: var(--sand); border-color: transparent; }
.whycard:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.whycard h3 { font-size: 18px; margin-bottom: 10px; }
.whycard p { color: var(--muted); font-size: 14.5px; margin: 0; }
.why-ic {
  display: inline-flex; align-items: center; justify-content: center; width: 50px; height: 50px;
  margin-bottom: 18px; border-radius: 14px; background: var(--brand-soft); color: var(--brand);
}
.why-ic svg { width: 24px; height: 24px; }
.why-ic.alt { background: rgba(169,112,47,.12); }

/* ------------------------------ equipment ------------------------------ */
.eqstrip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 56px; }
.eqcard { margin: 0; border-radius: var(--radius-lg); overflow: hidden; background: var(--sand); }
.eqcard img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.eqcard figcaption { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; padding: 13px 15px; }
.eqcard strong { font-size: 13.5px; }
.eqcard em { font-style: normal; font-size: 11px; letter-spacing: .1em; color: var(--brand); }

.eqgrid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; }
.eqitem { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.eqitem figure { position: relative; margin: 0; }
.eqitem img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.eq-code {
  position: absolute; right: 14px; top: 14px; padding: 5px 11px; border-radius: 30px;
  background: rgba(32,29,25,.82); color: #fff; font-size: 11px; letter-spacing: .12em;
}
.eqitem-body { padding: 24px 26px 26px; }
.eqitem-body h3 { font-size: 19px; }
.eqitem-body p { color: var(--muted); font-size: 14.5px; margin: 0; }

/* ------------------------------- timeline ------------------------------- */
.timeline { list-style: none; position: relative; max-width: 900px; margin: 0 auto; }
.timeline::before { content: ''; position: absolute; left: 88px; top: 8px; bottom: 8px; width: 1px; background: var(--line); }
.timeline li { display: grid; grid-template-columns: 88px 1fr; gap: 34px; padding: 0 0 34px; position: relative; }
.tl-year { font-family: var(--font-serif); font-size: 22px; color: var(--brand); }
.tl-body { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 22px 26px; }
.tl-body::before { content: ''; position: absolute; left: -7px; top: 26px; width: 12px; height: 12px; background: #fff; border-left: 1px solid var(--line); border-bottom: 1px solid var(--line); transform: rotate(45deg); }
.tl-body h3 { font-size: 17.5px; margin-bottom: 6px; }
.tl-body p { margin: 0; color: var(--muted); font-size: 14.5px; }

/* ------------------------------ step grid ------------------------------ */
.stepgrid { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; counter-reset: step; }
.stepgrid li { background: var(--sand); border-radius: var(--radius-lg); padding: 28px 26px; position: relative; }
.step-no { font-family: var(--font-serif); font-size: 30px; color: var(--brand); display: block; margin-bottom: 6px; }
.stepgrid h3 { font-size: 17px; margin-bottom: 8px; }
.stepgrid p { margin: 0; color: var(--muted); font-size: 14.5px; }

/* ------------------------------- contact ------------------------------- */
.contact-layout { display: grid; grid-template-columns: 360px minmax(0, 1fr); gap: 56px; align-items: start; }
.cbox { background: var(--sand); border-radius: var(--radius-lg); padding: 28px; margin-bottom: 22px; }
.cbox h3 { font-size: 20px; margin-bottom: 2px; }
.cbox h4 { font-size: 15px; }
.clegal { font-size: 12.5px; letter-spacing: .06em; color: var(--muted); text-transform: uppercase; margin-bottom: 20px; }
.f-info { list-style: none; }
.f-info li { display: flex; gap: 12px; margin-bottom: 14px; font-size: 14.5px; }
.f-info .ico { color: var(--brand); margin-top: 4px; }
.cperson { margin: 18px 0; padding-top: 16px; border-top: 1px dashed var(--line); }
.cperson strong { display: block; }
.cperson em { font-style: normal; font-size: 13px; color: var(--muted); }
.cbox-mini p { margin: 0; font-size: 14.5px; color: var(--muted); }

.formhead { margin-bottom: 26px; }
.formhead h2 { font-family: var(--font-serif); font-size: 30px; margin-bottom: 8px; }
.formhead p { color: var(--muted); }
.enqform { background: var(--sand); border-radius: var(--radius-lg); padding: 34px; }
.fgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.fld { display: block; margin-bottom: 20px; }
.fld > span { display: block; margin-bottom: 7px; font-size: 12.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); }
.fld input, .fld select, .fld textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius);
  background: #fff; transition: border-color .2s, box-shadow .2s;
}
.fld input:focus, .fld select:focus, .fld textarea:focus {
  outline: 0; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(169,112,47,.14);
}
.fld textarea { resize: vertical; }
.frow { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.captcha-fld { flex: 1 1 auto; margin-bottom: 0; }
.captcha-row { display: flex; gap: 12px; align-items: stretch; }
.captcha-row input { flex: 1 1 auto; }
.captcha-row img { width: 140px; height: 46px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; cursor: pointer; }
.formnote { margin: 18px 0 0; font-size: 14.5px; }
.formnote.ok { color: var(--ok); }
.formnote.err { color: var(--err); }
.formprivacy { margin: 10px 0 0; font-size: 12.5px; color: var(--muted); }

/* --------------------------------- faq --------------------------------- */
.faq { border-top: 1px solid var(--line); }
.q { border-bottom: 1px solid var(--line); }
.q summary {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 20px 0; cursor: pointer; font-size: 17px; font-weight: 600; color: var(--ink); list-style: none;
}
.q summary::-webkit-details-marker { display: none; }
.q summary::after { content: '+'; font-size: 22px; color: var(--brand); line-height: 1; }
.q[open] summary::after { content: '-'; }
.q-a { padding: 0 0 20px; }
.q-a p { margin: 0; color: var(--muted); }

/* ------------------------------- cta band ------------------------------- */
.ctaband-sec { padding: 62px 0; }
.ctaband { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.ctaband h2 { font-family: var(--font-serif); font-size: clamp(24px, 2.3vw, 34px); margin-bottom: 8px; }
.ctaband p { margin: 0; max-width: 620px; color: #b3a99c; }
.ctaband-btns { display: flex; flex-wrap: wrap; gap: 12px; flex: 0 0 auto; }

/* ------------------------------- banners ------------------------------- */
.phero { position: relative; background: var(--dark); overflow: hidden; }
.phero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: .42; }
.phero-shade { position: absolute; inset: 0; background: linear-gradient(100deg, rgba(18,15,12,.9), rgba(18,15,12,.55)); }
.phero-in { position: relative; padding: 62px 0 56px; }
.phero h1 { font-family: var(--font-serif); font-size: clamp(28px, 3vw, 44px); color: #fff; max-width: 820px; margin-bottom: 12px; }
.phero-lead { max-width: 760px; color: #cec5b8; margin: 0; }
.crumbs { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: #a2988a; margin-bottom: 16px; }
.crumbs a { color: #ded5c8; }
.crumbs a:hover { color: var(--brand-2); }
.crumbs i { font-style: normal; margin: 0 9px; opacity: .5; }

/* --------------------------- filters and pager --------------------------- */
.filterbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 22px; margin-bottom: 22px; }
.filtercats { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.filtercats a {
  display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border: 1px solid var(--line);
  border-radius: 30px; font-size: 13.5px; font-weight: 600; color: var(--ink-2);
}
.filtercats a em { font-style: normal; font-size: 11px; color: var(--muted); }
.filtercats a:hover { border-color: var(--brand); color: var(--brand); }
.filtercats a.is-on { background: var(--brand); border-color: var(--brand); color: #fff; }
.filtercats a.is-on em { color: rgba(255,255,255,.75); }
.searchbox { display: flex; gap: 0; border: 1px solid var(--line); border-radius: 30px; overflow: hidden; background: #fff; }
.searchbox input { border: 0; padding: 10px 18px; min-width: 210px; background: transparent; }
.searchbox input:focus { outline: 0; }
.searchbox button { border: 0; padding: 0 20px; background: var(--ink); color: #fff; font-size: 13px; font-weight: 600; }
.catintro { color: var(--muted); max-width: 780px; }
.resultline { font-size: 13.5px; color: var(--muted); margin-bottom: 26px; }
.empty { padding: 40px 0; color: var(--muted); }
.pager { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 52px; }
.pager a { min-width: 42px; height: 42px; display: inline-flex; align-items: center; justify-content: center; padding: 0 14px; border: 1px solid var(--line); border-radius: var(--radius); font-size: 14px; }
.pager a:hover { border-color: var(--brand); color: var(--brand); }
.pager a.is-current { background: var(--brand); border-color: var(--brand); color: #fff; }

/* --------------------------- product detail --------------------------- */
.pdetail { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 56px; align-items: start; }
.pd-media { position: sticky; top: 108px; }
.pd-image { width: 100%; border-radius: var(--radius-lg); background: var(--sand); }
.pd-note { margin-top: 14px; font-size: 13px; color: var(--muted); }
.pd-info h1 { font-family: var(--font-serif); font-size: clamp(26px, 2.6vw, 38px); }
.pd-summary { font-size: 17px; color: var(--muted); }
.pd-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 30px; }
.pd-quick { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin: 0; padding-top: 24px; border-top: 1px solid var(--line); }
.pd-quick dt { font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.pd-quick dd { margin: 3px 0 0; font-size: 14.5px; font-weight: 600; color: var(--ink); }
.pd-blocks { align-items: start; }
.pd-custom { margin-top: 20px; font-size: 14px; color: var(--muted); }
.tablewrap { overflow-x: auto; }
.dtable { width: 100%; border-collapse: collapse; background: #fff; }
.dtable th, .dtable td { padding: 13px 16px; border-bottom: 1px solid var(--line); text-align: left; font-size: 14.5px; vertical-align: top; }
.dtable thead th { background: var(--sand); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.dtable tbody th { width: 38%; font-weight: 600; color: var(--ink); background: #fbf9f6; }

/* ------------------------------ block types ------------------------------ */
.block-imageText .g-media img { width: 100%; }
.block-figure { margin: 0; }
.block-figure img { width: 100%; border-radius: var(--radius-lg); }
.figcap { margin-top: 12px; font-size: 13px; color: var(--muted); text-align: center; }
.gallery { display: grid; gap: 20px; }
.gallery.cols-2 { grid-template-columns: repeat(2, 1fr); }
.gallery.cols-3 { grid-template-columns: repeat(3, 1fr); }
.gallery.cols-4 { grid-template-columns: repeat(4, 1fr); }
.gal-item { margin: 0; }
.gal-item img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-lg); }
.cards { display: grid; gap: 26px; }
.cards.cols-2 { grid-template-columns: repeat(2, 1fr); }
.cards.cols-3 { grid-template-columns: repeat(3, 1fr); }
.cards.cols-4 { grid-template-columns: repeat(4, 1fr); }
.ccard { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.ccard img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.ccard-body { padding: 22px 24px 24px; }
.ccard-body h3 { font-size: 17px; }
.ccard-body p { color: var(--muted); font-size: 14.5px; }
.biglist { display: grid; gap: 26px 40px; list-style: none; counter-reset: bl; }
.biglist.cols-2 { grid-template-columns: repeat(2, 1fr); }
.biglist.cols-3 { grid-template-columns: repeat(3, 1fr); }
.biglist li { position: relative; padding-left: 46px; }
.biglist li::before {
  counter-increment: bl; content: counter(bl, decimal-leading-zero);
  position: absolute; left: 0; top: 0; font-family: var(--font-serif); font-size: 20px; color: var(--brand);
}
.biglist h3 { font-size: 17px; margin-bottom: 6px; }
.biglist p { margin: 0; color: var(--muted); font-size: 14.5px; }
.biglist:not(ol) { counter-reset: none; }
.biglist:not(ol) li::before { content: ''; width: 13px; height: 7px; border-left: 2px solid var(--brand); border-bottom: 2px solid var(--brand); transform: rotate(-45deg); top: 12px; }

/* -------------------------------- footer -------------------------------- */
.footer { background: var(--dark); color: #a99f92; font-size: 14.5px; }
.footer-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.4fr; gap: 44px; padding-top: 70px; padding-bottom: 54px; }
.f-brand .logo { margin-bottom: 18px; }
.f-about { color: #a99f92; font-size: 14.5px; }
.f-col h4 { color: #fff; font-size: 14px; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 20px; }
.f-col ul { list-style: none; }
.f-col li { margin-bottom: 11px; }
.f-col a:hover { color: var(--brand-2); }
.f-info li { display: flex; gap: 11px; margin-bottom: 14px; font-size: 14.5px; }
.f-info .ico { color: var(--brand-2); margin-top: 4px; }
.f-cert { margin-top: 18px; font-size: 12.5px; color: #8b8177; }
.f-soc { display: flex; gap: 10px; margin-top: 18px; }
.soc {
  width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid rgba(255,255,255,.18); border-radius: 50%; color: #ded5c8;
  transition: background .2s, border-color .2s, color .2s;
}
.soc svg { width: 19px; height: 19px; }
.soc:hover { background: var(--brand); border-color: var(--brand); color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); }
.footer-bottom-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 20px 0; font-size: 13px; color: #8b8177; }
.footer-bottom-in p { margin: 0; }
.f-legal { display: flex; gap: 20px; }
.f-legal a:hover { color: var(--brand-2); }

/* ------------------------------ floating CTA ------------------------------ */
.fab {
  position: fixed; right: 22px; bottom: 22px; z-index: 45; display: inline-flex; align-items: center;
  gap: 10px; padding: 12px 20px 12px 12px; border-radius: 40px; background: #25d366; color: #08301a;
  font-size: 13.5px; font-weight: 700; box-shadow: 0 16px 34px -16px rgba(0,0,0,.55);
}
.fab-ic { width: 32px; height: 32px; border-radius: 50%; background: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 12px; }
.fab:hover { background: #1fbe5b; }

/* ------------------------------ decoration ------------------------------ */
.sec-sand .g-media img, .sec-dark .g-media img { box-shadow: var(--shadow-lg); }

/* ------------------------------ responsive ------------------------------ */
@media (max-width: 1180px) {
  .pgrid { grid-template-columns: repeat(3, 1fr); }
  .whygrid, .whygrid.cols-3 { grid-template-columns: repeat(3, 1fr); }
  .footer-top { grid-template-columns: 1.4fr 1fr 1fr; }
  .f-contact { grid-column: span 3; }
  .contact-layout { grid-template-columns: 320px minmax(0, 1fr); gap: 40px; }
}

@media (max-width: 980px) {
  :root { --gut: 22px; }
  .sec { padding: 62px 0; }
  .header-in { min-height: 70px; }
  .header-in { gap: 12px; }
  .logo-mark { width: 38px; height: 38px; }
  .logo-text strong { font-size: 19px; }
  .logo-text small { display: none; }
  .header-side .btn { display: none; }
  .navtoggle { display: block; }
  .nav {
    position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line);
    max-height: 0; overflow: hidden; transition: max-height .3s ease; box-shadow: var(--shadow);
  }
  .nav.is-open { max-height: 78vh; overflow-y: auto; }
  .navlist { flex-direction: column; align-items: stretch; gap: 0; padding: 10px 22px 22px; }
  .navlist > li > a { padding: 14px 0; border-bottom: 1px solid var(--line); border-radius: 0; }
  .subnav { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 8px 14px; min-width: 0; }
  .grid-2, .eqgrid, .pdetail, .contact-layout, .pd-blocks { grid-template-columns: 1fr; gap: 34px; }
  .pd-media { position: static; }
  .grid-2.is-reverse .g-media { order: 0; }
  .g-media.stack { padding: 0 0 60px; }
  .numgrid { grid-template-columns: repeat(2, 1fr); }
  /* two figures per row: keep a divider only between the pairs */
  .statgrid { grid-template-columns: repeat(2, 1fr); gap: 44px 0; }
  .stat::before { display: none; }
  .stat:nth-child(2n)::before { display: block; }
  .pgrid, .cards.cols-3, .cards.cols-4, .gallery.cols-3, .gallery.cols-4, .stepgrid { grid-template-columns: repeat(2, 1fr); }
  .whygrid, .whygrid.cols-3, .eqstrip { grid-template-columns: repeat(2, 1fr); }
  .timeline::before { left: 6px; }
  .timeline li { grid-template-columns: 1fr; gap: 10px; padding-left: 26px; }
  .tl-year { font-size: 19px; }
  .tl-body::before { left: -30px; top: 24px; }
  .ctaband { flex-direction: column; align-items: flex-start; gap: 26px; }
  .footer-top { grid-template-columns: repeat(2, 1fr); gap: 34px; }
  .f-contact { grid-column: span 2; }
  .hero-slides { height: clamp(430px, 66vh, 560px); }
}

@media (max-width: 640px) {
  body { font-size: 15.5px; }
  .topbar-note { display: none; }
  .topbar-in { justify-content: center; }
  .topbar-cta { gap: 14px; font-size: 12.5px; }
  .logo-mark { width: 34px; height: 34px; }
  .logo-text strong { font-size: 17px; letter-spacing: .03em; }
  .sec { padding: 48px 0; }
  .numgrid, .pgrid, .whygrid, .catgrid, .eqstrip,
  .cards.cols-2, .cards.cols-3, .cards.cols-4, .gallery.cols-2, .gallery.cols-3, .gallery.cols-4,
  .stepgrid, .fgrid, .pd-quick, .footer-top { grid-template-columns: 1fr; }
  /* one figure per row on a phone: no dividers, and no reserved label height */
  .statgrid { grid-template-columns: 1fr; gap: 38px 0; }
  .stat:nth-child(2n)::before { display: none; }
  .stat-label { min-height: 0; max-width: none; }
  .f-contact { grid-column: span 1; }
  .biglist.cols-2, .biglist.cols-3 { grid-template-columns: 1fr; }
  .filterbar { align-items: stretch; }
  .searchbox input { min-width: 0; width: 100%; }
  .enqform { padding: 24px 20px; }
  .frow { flex-direction: column; align-items: stretch; }
  .captcha-row img { width: 120px; }
  .fab-tx { display: none; }
  .hero-dots { bottom: 96px; }
  .g-media.stack img.over { width: 62%; border-width: 6px; }
  .timeline li { padding-left: 22px; }
  .tl-body::before { left: -26px; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}
