/* ==========================================================================
   OPEN DESIGN 室內設計 — Design System
   Palette: 溫暖侘寂・木質大地色
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+TC:wght@300;400;500;700&family=Noto+Serif+TC:wght@400;500;600;700&family=Cormorant+Garamond:wght@300;400;500;600&display=swap');

:root {
  /* Color */
  --c-bg:        #FAF8F4;
  --c-bg-warm:   #F3EDE4;
  --c-surface:   #FFFFFF;
  --c-line:      #E4DBCD;
  --c-line-soft: #EFE8DD;
  --c-ink:       #211E1A;
  --c-body:      #554E44;
  --c-muted:     #8B8173;
  --c-wood:      #A9764A;
  --c-wood-d:    #7C5533;
  --c-wood-l:    #C9A17A;
  --c-dark:      #1C1A17;
  --c-dark-2:    #2A2621;

  /* Type */
  --f-serif: 'Noto Serif TC', 'Songti TC', serif;
  --f-sans:  'Noto Sans TC', -apple-system, 'PingFang TC', 'Microsoft JhengHei', sans-serif;
  --f-latin: 'Cormorant Garamond', Georgia, serif;

  /* Scale */
  --wrap: 1240px;
  --wrap-n: 1080px;
  --r: 2px;
  --shadow-s: 0 1px 2px rgba(33,30,26,.05), 0 6px 20px rgba(33,30,26,.05);
  --shadow-m: 0 2px 6px rgba(33,30,26,.06), 0 18px 50px rgba(33,30,26,.09);
  --ease: cubic-bezier(.22,.61,.36,1);
}

/* Reset ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--c-bg);
  color: var(--c-body);
  font-family: var(--f-sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.9;
  letter-spacing: .02em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
h1,h2,h3,h4 { font-family: var(--f-serif); color: var(--c-ink); font-weight: 600; line-height: 1.4; margin: 0; letter-spacing: .01em; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

/* Layout helpers --------------------------------------------------------- */
.wrap   { width: 100%; max-width: var(--wrap);   margin-inline: auto; padding-inline: 24px; }
.wrap-n { width: 100%; max-width: var(--wrap-n); margin-inline: auto; padding-inline: 24px; }
.sec    { padding: 120px 0; }
.sec-sm { padding: 84px 0; }
.bg-warm { background: var(--c-bg-warm); }
.bg-dark { background: var(--c-dark); color: #C9C2B7; }
.bg-dark h1,.bg-dark h2,.bg-dark h3,.bg-dark h4 { color: #F5F0E8; }

/* Eyebrow / heading kit -------------------------------------------------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--f-sans); font-size: 12px; font-weight: 500;
  letter-spacing: .32em; text-transform: uppercase; color: var(--c-wood);
  margin-bottom: 20px;
}
.eyebrow::before { content: ''; width: 28px; height: 1px; background: var(--c-wood); opacity: .6; }
.bg-dark .eyebrow { color: var(--c-wood-l); }
.bg-dark .eyebrow::before { background: var(--c-wood-l); }

.h-xl { font-size: clamp(2.1rem, 5.2vw, 3.65rem); line-height: 1.32; letter-spacing: .015em; }
.h-lg { font-size: clamp(1.75rem, 3.6vw, 2.6rem);  line-height: 1.4; }
.h-md { font-size: clamp(1.28rem, 2.2vw, 1.6rem);  line-height: 1.5; }
.lead { font-size: 17px; line-height: 2.05; color: var(--c-body); }
.muted { color: var(--c-muted); }
.sec-head { max-width: 660px; margin-bottom: 60px; }
.sec-head.center { margin-inline: auto; text-align: center; }
.sec-head.center .eyebrow::before { display: none; }
.sec-head p { margin-top: 20px; color: var(--c-muted); }

/* Buttons ---------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 16px 34px; border-radius: var(--r);
  font-size: 14.5px; font-weight: 500; letter-spacing: .08em;
  transition: all .4s var(--ease); position: relative; overflow: hidden;
}
.btn svg { width: 15px; height: 15px; transition: transform .4s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn-primary { background: var(--c-ink); color: #F7F3EC; }
.btn-primary:hover { background: var(--c-wood-d); }
.btn-wood { background: var(--c-wood); color: #fff; }
.btn-wood:hover { background: var(--c-wood-d); }
.btn-ghost { border: 1px solid var(--c-line); color: var(--c-ink); background: transparent; }
.btn-ghost:hover { border-color: var(--c-ink); background: var(--c-ink); color: #F7F3EC; }
.btn-light { border: 1px solid rgba(255,255,255,.45); color: #fff; }
.btn-light:hover { background: #fff; color: var(--c-ink); border-color: #fff; }
.btn-sm { padding: 12px 24px; font-size: 13.5px; }

.link-u {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 14.5px; font-weight: 500; letter-spacing: .06em; color: var(--c-ink);
  white-space: nowrap; flex: none;
  padding-bottom: 5px; border-bottom: 1px solid var(--c-line);
  transition: all .35s var(--ease);
}
.link-u:hover { border-color: var(--c-wood); color: var(--c-wood-d); gap: 14px; }
.bg-dark .link-u { color: #F5F0E8; border-color: rgba(245,240,232,.3); }
.bg-dark .link-u:hover { color: var(--c-wood-l); border-color: var(--c-wood-l); }

/* Header ----------------------------------------------------------------- */
.hdr {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  transition: background .45s var(--ease), box-shadow .45s var(--ease), padding .45s var(--ease);
  padding: 20px 0;
}
.hdr-in { display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.hdr.solid { background: rgba(250,248,244,.94); backdrop-filter: saturate(180%) blur(14px); box-shadow: 0 1px 0 var(--c-line); padding: 12px 0; }

.logo { display: flex; flex-direction: column; line-height: 1.1; }
.logo b {
  font-family: var(--f-sans); font-weight: 500; font-size: 19px;
  letter-spacing: .3em; color: #fff; transition: color .4s var(--ease);
}
.logo span {
  font-size: 10.5px; letter-spacing: .42em; color: rgba(255,255,255,.62);
  margin-top: 5px; transition: color .4s var(--ease);
}
.hdr.solid .logo b, .hdr.light .logo b { color: var(--c-ink); }
.hdr.solid .logo span, .hdr.light .logo span { color: var(--c-muted); }

.nav { display: flex; align-items: center; gap: 6px; }
.nav a {
  position: relative; padding: 10px 16px; font-size: 14.5px; font-weight: 400;
  letter-spacing: .12em; color: rgba(255,255,255,.86); transition: color .35s var(--ease);
}
.nav a::after {
  content: ''; position: absolute; left: 16px; right: 16px; bottom: 2px; height: 1px;
  background: currentColor; transform: scaleX(0); transform-origin: left;
  transition: transform .4s var(--ease);
}
.nav a:hover::after, .nav a.on::after { transform: scaleX(1); }
.hdr.solid .nav a, .hdr.light .nav a { color: var(--c-body); }
.hdr.solid .nav a:hover, .hdr.light .nav a:hover,
.hdr.solid .nav a.on, .hdr.light .nav a.on { color: var(--c-ink); }
.nav a.ext::before {
  content: ''; position: absolute; top: 12px; right: 4px; width: 4px; height: 4px;
  border-radius: 50%; background: var(--c-wood-l); opacity: .9;
}
.hdr.solid .nav a.ext::before, .hdr.light .nav a.ext::before { background: var(--c-wood); }

.hdr-cta { display: flex; align-items: center; gap: 14px; }
.hdr-tel {
  display: flex; align-items: center; gap: 8px; font-size: 14px; letter-spacing: .07em;
  color: rgba(255,255,255,.9);
}
.hdr.solid .hdr-tel, .hdr.light .hdr-tel { color: var(--c-ink); }
.hdr-tel svg { width: 15px; height: 15px; }
.hdr .btn-hdr {
  padding: 12px 24px; font-size: 13.5px; letter-spacing: .1em; border-radius: var(--r);
  background: rgba(255,255,255,.14); color: #fff; border: 1px solid rgba(255,255,255,.4);
  transition: all .4s var(--ease);
}
.hdr .btn-hdr:hover { background: #fff; color: var(--c-ink); }
.hdr.solid .btn-hdr, .hdr.light .btn-hdr { background: var(--c-ink); border-color: var(--c-ink); color: #F7F3EC; }
.hdr.solid .btn-hdr:hover, .hdr.light .btn-hdr:hover { background: var(--c-wood-d); border-color: var(--c-wood-d); }

.burger { display: none; width: 44px; height: 44px; position: relative; z-index: 120; }
.burger i { display: block; position: absolute; left: 11px; width: 22px; height: 1.5px; background: #fff; transition: all .4s var(--ease); }
.burger i:nth-child(1) { top: 17px; }
.burger i:nth-child(2) { top: 22px; }
.burger i:nth-child(3) { top: 27px; }
.hdr.solid .burger i, .hdr.light .burger i { background: var(--c-ink); }
body.menu-open .burger i { background: var(--c-ink); }
body.menu-open .burger i:nth-child(1) { top: 22px; transform: rotate(45deg); }
body.menu-open .burger i:nth-child(2) { opacity: 0; }
body.menu-open .burger i:nth-child(3) { top: 22px; transform: rotate(-45deg); }

/* Mobile drawer */
.drawer {
  position: fixed; inset: 0; z-index: 110; background: var(--c-bg);
  transform: translateX(100%); transition: transform .55s var(--ease);
  display: flex; flex-direction: column; justify-content: center; padding: 88px 32px 40px;
  overflow-y: auto;
}
body.menu-open .drawer { transform: translateX(0); }
.drawer > a {
  display: block; font-family: var(--f-serif); font-size: 26px; color: var(--c-ink);
  padding: 16px 0; border-bottom: 1px solid var(--c-line-soft);
}
.drawer > a small { display: block; font-family: var(--f-sans); font-size: 11px; letter-spacing: .3em; color: var(--c-muted); margin-top: 4px; }
.drawer .d-foot { margin-top: 36px; }
.drawer .d-foot .btn { width: 100%; }
.drawer .d-tel { margin-top: 18px; text-align: center; font-size: 14px; letter-spacing: .06em; color: var(--c-muted); }

/* Hero ------------------------------------------------------------------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); animation: kb 18s var(--ease) forwards; }
@keyframes kb { to { transform: scale(1); } }
.hero-bg::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(20,18,15,.62) 0%, rgba(20,18,15,.24) 34%, rgba(20,18,15,.52) 72%, rgba(20,18,15,.86) 100%);
}
.hero-in { position: relative; z-index: 2; width: 100%; padding-bottom: 92px; padding-top: 180px; }
.hero h1 { color: #fff; font-size: clamp(2.3rem, 6vw, 4.35rem); line-height: 1.3; font-weight: 500; letter-spacing: .02em; max-width: 15ch; }
.hero h1 em { font-style: normal; color: var(--c-wood-l); }
.hero .eyebrow { color: rgba(255,255,255,.8); }
.hero .eyebrow::before { background: rgba(255,255,255,.8); }
.hero p { color: rgba(255,255,255,.85); font-size: 17px; line-height: 2; max-width: 46ch; margin-top: 26px; }
.hero-act { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 40px; }
.hero-meta {
  display: flex; flex-wrap: wrap; gap: 46px; margin-top: 68px; padding-top: 34px;
  border-top: 1px solid rgba(255,255,255,.22);
}
.hero-meta div > b { display: block; font-family: var(--f-latin); font-size: 42px; font-weight: 500; color: #fff; line-height: 1; margin-bottom: 8px; }
.hero-meta div > span { font-size: 12.5px; letter-spacing: .22em; color: rgba(255,255,255,.65); }
.scroll-hint {
  position: absolute; right: 34px; bottom: 92px; z-index: 3; writing-mode: vertical-rl;
  font-size: 11px; letter-spacing: .34em; color: rgba(255,255,255,.6); display: flex; align-items: center; gap: 14px;
}
.scroll-hint::after { content: ''; width: 1px; height: 56px; background: linear-gradient(180deg, rgba(255,255,255,.6), transparent); }

/* Page hero (inner pages) ------------------------------------------------ */
.phero { position: relative; padding: 208px 0 96px; overflow: hidden; }
.phero-bg { position: absolute; inset: 0; }
.phero-bg img { width: 100%; height: 100%; object-fit: cover; }
.phero-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(102deg, rgba(18,16,13,.88) 0%, rgba(18,16,13,.66) 52%, rgba(18,16,13,.5) 100%); }
.phero-in { position: relative; z-index: 2; }
.phero h1 { color: #fff; font-size: clamp(2rem, 4.4vw, 3.15rem); }
.phero p { color: rgba(255,255,255,.82); margin-top: 18px; max-width: 52ch; }
.crumb { display: flex; gap: 10px; align-items: center; font-size: 12.5px; letter-spacing: .16em; color: rgba(255,255,255,.62); margin-top: 30px; }
.crumb span { opacity: .5; }

/* Marquee strip ---------------------------------------------------------- */
.strip { border-block: 1px solid var(--c-line); background: var(--c-bg); overflow: hidden; padding: 22px 0; }
.strip-track { display: flex; gap: 62px; white-space: nowrap; animation: mq 46s linear infinite; }
.strip-track span { font-size: 13px; letter-spacing: .3em; color: var(--c-muted); text-transform: uppercase; display: inline-flex; align-items: center; gap: 62px; }
.strip-track span::after { content: '◆'; font-size: 7px; color: var(--c-wood); }
@keyframes mq { to { transform: translateX(-50%); } }
@media (min-width: 1600px) { .strip-track { gap: 80px; } }

/* Grid & cards ----------------------------------------------------------- */
.g2 { display: grid; grid-template-columns: repeat(2,1fr); gap: 32px; }
.g3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 32px; }
.g4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 26px; }

.svc {
  background: var(--c-surface); border: 1px solid var(--c-line-soft); padding: 44px 34px 40px;
  transition: all .5s var(--ease); position: relative; overflow: hidden;
}
.svc::after { content: ''; position: absolute; left: 0; bottom: 0; width: 100%; height: 2px; background: var(--c-wood); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
.svc:hover { transform: translateY(-6px); box-shadow: var(--shadow-m); }
.svc:hover::after { transform: scaleX(1); }
.svc .n { font-family: var(--f-latin); font-size: 15px; letter-spacing: .2em; color: var(--c-wood); display: block; margin-bottom: 22px; }
.svc h3 { font-size: 20px; margin-bottom: 14px; }
.svc p { font-size: 14.5px; line-height: 1.95; color: var(--c-muted); }
.svc ul { margin-top: 22px; padding-top: 20px; border-top: 1px dashed var(--c-line); }
.svc li { font-size: 13.5px; color: var(--c-muted); padding-left: 16px; position: relative; line-height: 2.2; }
.svc li::before { content: ''; position: absolute; left: 0; top: 13px; width: 5px; height: 1px; background: var(--c-wood); }

/* Work cards ------------------------------------------------------------- */
.work { position: relative; overflow: hidden; display: block; background: var(--c-bg-warm); }
.work-img { position: relative; aspect-ratio: 4/3; overflow: hidden; }
.work-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.05s var(--ease); }
.work:hover .work-img img { transform: scale(1.07); }
.work-img::after {
  content: ''; position: absolute; inset: 0; opacity: 0; transition: opacity .5s var(--ease);
  background: linear-gradient(180deg, rgba(28,26,23,0) 40%, rgba(28,26,23,.72) 100%);
}
.work:hover .work-img::after { opacity: 1; }
.work-tag {
  position: absolute; top: 16px; left: 16px; z-index: 2; background: rgba(250,248,244,.92);
  padding: 6px 14px; font-size: 11.5px; letter-spacing: .16em; color: var(--c-ink);
}
.work-body { padding: 24px 4px 6px; }
.work-body h3 { font-size: 18.5px; transition: color .35s var(--ease); }
.work:hover .work-body h3 { color: var(--c-wood-d); }
.work-body .meta { display: flex; gap: 16px; margin-top: 10px; font-size: 12.5px; letter-spacing: .1em; color: var(--c-muted); }
.work-body .meta i { font-style: normal; }
.work-view {
  position: absolute; left: 24px; bottom: 24px; z-index: 2; color: #fff; font-size: 13px;
  letter-spacing: .16em; opacity: 0; transform: translateY(10px); transition: all .5s var(--ease);
  display: flex; align-items: center; gap: 9px;
}
.work:hover .work-view { opacity: 1; transform: translateY(0); }

/* Feature split ---------------------------------------------------------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 76px; align-items: center; }
.split.rev .split-media { order: 2; }
.split-media { position: relative; }
.split-media img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.split-media .badge {
  position: absolute; right: -26px; bottom: 42px; background: var(--c-wood); color: #fff;
  padding: 26px 30px; max-width: 210px;
}
.split-media .badge b { display: block; font-family: var(--f-latin); font-size: 38px; line-height: 1; }
.split-media .badge span { font-size: 12px; letter-spacing: .2em; opacity: .9; }
.split-body h2 { margin-bottom: 24px; }
.split-body p + p { margin-top: 18px; }

/* Principles ------------------------------------------------------------- */
.prin { border-top: 1px solid var(--c-line); padding-top: 30px; }
.prin .n { font-family: var(--f-latin); font-size: 13px; letter-spacing: .24em; color: var(--c-wood); }
.prin h3 { font-size: 21px; margin: 14px 0 12px; }
.prin p { font-size: 14.5px; color: var(--c-muted); line-height: 1.95; }

/* Process ---------------------------------------------------------------- */
.steps { display: grid; grid-template-columns: repeat(5,1fr); gap: 0; border-top: 1px solid rgba(245,240,232,.18); }
.step { padding: 42px 26px 40px; border-right: 1px solid rgba(245,240,232,.14); transition: background .5s var(--ease); }
.step:last-child { border-right: 0; }
.step:hover { background: rgba(245,240,232,.05); }
.step .n { font-family: var(--f-latin); font-size: 13px; letter-spacing: .26em; color: var(--c-wood-l); }
.step h3 { font-size: 18.5px; margin: 16px 0 12px; }
.step p { font-size: 13.8px; line-height: 1.95; color: #A79E92; }

/* Testimonials ----------------------------------------------------------- */
.quote { background: var(--c-surface); border: 1px solid var(--c-line-soft); padding: 40px 34px; display: flex; flex-direction: column; }
.quote .mark { font-family: var(--f-latin); font-size: 52px; line-height: .6; color: var(--c-wood-l); }
.quote p { margin: 24px 0 28px; font-size: 15px; line-height: 2.05; color: var(--c-body); flex: 1; }
.quote .who { display: flex; align-items: center; gap: 13px; padding-top: 22px; border-top: 1px solid var(--c-line-soft); }
.quote .who i { width: 38px; height: 38px; border-radius: 50%; background: var(--c-bg-warm); display: grid; place-items: center; font-style: normal; font-family: var(--f-serif); color: var(--c-wood-d); font-size: 15px; }
.quote .who b { display: block; font-size: 14.5px; color: var(--c-ink); font-weight: 500; }
.quote .who span { font-size: 12.5px; color: var(--c-muted); }

/* Team ------------------------------------------------------------------- */
.mem-img { aspect-ratio: 3/4; overflow: hidden; background: var(--c-bg-warm); }
.mem-img img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.28); transition: all .8s var(--ease); }
.mem:hover .mem-img img { filter: grayscale(0); transform: scale(1.04); }
.mem h3 { font-size: 19px; margin-top: 22px; }
.mem .role { font-size: 12.5px; letter-spacing: .18em; color: var(--c-wood); margin-top: 7px; }
.mem p { font-size: 14px; color: var(--c-muted); margin-top: 14px; line-height: 1.95; }

/* Timeline --------------------------------------------------------------- */
.tl { position: relative; padding-left: 34px; }
.tl::before { content: ''; position: absolute; left: 5px; top: 8px; bottom: 8px; width: 1px; background: var(--c-line); }
.tl-item { position: relative; padding-bottom: 44px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before { content: ''; position: absolute; left: -34px; top: 9px; width: 11px; height: 11px; border-radius: 50%; background: var(--c-bg); border: 1px solid var(--c-wood); }
.tl-item .y { font-family: var(--f-latin); font-size: 20px; letter-spacing: .1em; color: var(--c-wood-d); }
.tl-item h3 { font-size: 18px; margin: 6px 0 10px; }
.tl-item p { font-size: 14.5px; color: var(--c-muted); }

/* Filter tabs ------------------------------------------------------------ */
.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 46px; }
.tabs button {
  padding: 11px 24px; font-size: 14px; letter-spacing: .1em; color: var(--c-muted);
  border: 1px solid var(--c-line); background: transparent; transition: all .4s var(--ease);
}
.tabs button:hover { color: var(--c-ink); border-color: var(--c-ink); }
.tabs button.on { background: var(--c-ink); border-color: var(--c-ink); color: #F7F3EC; }
.work.hide { display: none; }

/* Lightbox --------------------------------------------------------------- */
.lb { position: fixed; inset: 0; z-index: 200; background: rgba(18,16,14,.94); display: none; align-items: center; justify-content: center; padding: 40px; }
.lb.on { display: flex; }
.lb img { max-width: min(1100px, 92vw); max-height: 78vh; object-fit: contain; }
.lb-cap { position: absolute; left: 0; right: 0; bottom: 34px; text-align: center; color: rgba(255,255,255,.85); font-size: 14px; letter-spacing: .1em; }
.lb-x { position: absolute; top: 26px; right: 30px; width: 46px; height: 46px; border: 1px solid rgba(255,255,255,.35); color: #fff; display: grid; place-items: center; font-size: 20px; }
.lb-x:hover { background: #fff; color: #000; }
.lb-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 52px; height: 52px; border: 1px solid rgba(255,255,255,.3); color: #fff; display: grid; place-items: center; }
.lb-nav:hover { background: #fff; color: #000; }
.lb-prev { left: 26px; } .lb-next { right: 26px; }

/* Contact ---------------------------------------------------------------- */
.info-card { background: var(--c-surface); border: 1px solid var(--c-line-soft); padding: 34px 30px; height: 100%; transition: all .45s var(--ease); }
.info-card:hover { box-shadow: var(--shadow-s); transform: translateY(-4px); }
.info-card .ico { width: 42px; height: 42px; border: 1px solid var(--c-line); display: grid; place-items: center; margin-bottom: 22px; color: var(--c-wood); }
.info-card .ico svg { width: 18px; height: 18px; }
.info-card h3 { font-size: 16.5px; margin-bottom: 10px; }
.info-card p, .info-card a { font-size: 14.5px; color: var(--c-muted); line-height: 1.95; }
.info-card a:hover { color: var(--c-wood-d); }

.form { background: var(--c-surface); border: 1px solid var(--c-line-soft); padding: 46px 42px; }
.field { margin-bottom: 22px; }
.field label { display: block; font-size: 13px; letter-spacing: .12em; color: var(--c-ink); margin-bottom: 9px; }
.field label i { color: var(--c-wood); font-style: normal; }
.field input, .field select, .field textarea {
  width: 100%; padding: 14px 16px; border: 1px solid var(--c-line); background: var(--c-bg);
  font-family: var(--f-sans); font-size: 15px; color: var(--c-ink); border-radius: var(--r);
  transition: all .35s var(--ease);
}
.field textarea { min-height: 132px; resize: vertical; line-height: 1.85; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--c-wood); box-shadow: 0 0 0 3px rgba(169,118,74,.1); }
.form-note { font-size: 12.5px; color: var(--c-muted); margin-top: 16px; line-height: 1.85; }
.form-ok { display: none; padding: 18px 20px; background: #EFF4EC; border: 1px solid #CBDCC2; color: #46603A; font-size: 14.5px; margin-bottom: 22px; }
.form-ok.on { display: block; }

.faq-item { border-bottom: 1px solid var(--c-line); }
.faq-q { width: 100%; text-align: left; padding: 26px 44px 26px 0; position: relative; font-family: var(--f-serif); font-size: 17px; color: var(--c-ink); }
.faq-q::after { content: '+'; position: absolute; right: 8px; top: 50%; transform: translateY(-50%); font-size: 21px; color: var(--c-wood); transition: transform .4s var(--ease); font-family: var(--f-sans); }
.faq-item.on .faq-q::after { transform: translateY(-50%) rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .5s var(--ease); }
.faq-a p { padding: 0 44px 28px 0; font-size: 14.8px; color: var(--c-muted); line-height: 2; }
.faq-item.on .faq-a { max-height: 420px; }

.map-box { border: 1px solid var(--c-line); line-height: 0; background: var(--c-bg-warm); }
.map-box iframe { width: 100%; height: 420px; border: 0; filter: grayscale(.35) contrast(1.05); }

/* CTA band --------------------------------------------------------------- */
.cta-band { position: relative; overflow: hidden; padding: 130px 0; }
.cta-band .bg { position: absolute; inset: 0; }
.cta-band .bg img { width: 100%; height: 100%; object-fit: cover; }
.cta-band .bg::after { content: ''; position: absolute; inset: 0; background: rgba(24,21,18,.78); }
.cta-band .in { position: relative; z-index: 2; text-align: center; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.78); margin: 22px auto 40px; max-width: 50ch; }
.cta-act { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* Blog teaser ------------------------------------------------------------ */
.post { display: block; }
.post-img { aspect-ratio: 16/10; overflow: hidden; }
.post-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.post:hover .post-img img { transform: scale(1.06); }
.post .cat { font-size: 11.5px; letter-spacing: .2em; color: var(--c-wood); margin: 22px 0 10px; display: block; }
.post h3 { font-size: 18px; line-height: 1.65; transition: color .35s var(--ease); }
.post:hover h3 { color: var(--c-wood-d); }
.post .date { font-size: 12.5px; color: var(--c-muted); margin-top: 12px; letter-spacing: .08em; }

/* Footer ----------------------------------------------------------------- */
.ftr { background: var(--c-dark); color: #9C9488; padding: 92px 0 0; }
.ftr-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 48px; padding-bottom: 62px; }
.ftr .logo b { color: #F5F0E8; }
.ftr .logo span { color: #7E766B; }
.ftr-about { font-size: 14px; line-height: 2; color: #918A7E; margin-top: 26px; max-width: 34ch; }
.ftr h4 { font-family: var(--f-sans); font-size: 12px; letter-spacing: .26em; color: #F5F0E8; text-transform: uppercase; margin-bottom: 24px; font-weight: 500; }
.ftr li { margin-bottom: 13px; }
.ftr li a { font-size: 14px; color: #948C80; transition: color .35s var(--ease); }
.ftr li a:hover { color: var(--c-wood-l); }
.ftr-bot { border-top: 1px solid rgba(245,240,232,.1); padding: 26px 0; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 14px; font-size: 12.5px; color: #6F675C; letter-spacing: .06em; }
.ftr-bot a:hover { color: var(--c-wood-l); }

/* Floating actions ------------------------------------------------------- */
.fab { position: fixed; right: 22px; bottom: 22px; z-index: 90; display: flex; flex-direction: column; gap: 10px; }
.fab a {
  width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center;
  background: var(--c-ink); color: #fff; box-shadow: var(--shadow-m); transition: all .4s var(--ease);
}
.fab a.line { background: #06C755; }
.fab a:hover { transform: translateY(-4px); }
.fab svg { width: 21px; height: 21px; }

/* Reveal animation ------------------------------------------------------- */
.rv { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.rv.in { opacity: 1; transform: none; }

/* Responsive ------------------------------------------------------------- */
@media (max-width: 1080px) {
  .g4 { grid-template-columns: repeat(2,1fr); }
  .steps { grid-template-columns: repeat(2,1fr); }
  .step { border-bottom: 1px solid rgba(245,240,232,.14); }
  .ftr-top { grid-template-columns: 1fr 1fr; }
  .split { gap: 46px; }
  .hdr-tel { display: none; }
}
@media (max-width: 900px) {
  .nav, .hdr .btn-hdr { display: none; }
  .burger { display: block; }
  .sec { padding: 84px 0; }
  .sec-sm { padding: 62px 0; }
  .g3 { grid-template-columns: repeat(2,1fr); gap: 24px; }
  .split, .split.rev .split-media { grid-template-columns: 1fr; order: 0; }
  .split-media img { aspect-ratio: 4/3; }
  .split-media .badge { right: 16px; bottom: 16px; padding: 20px 22px; }
  .phero { padding: 150px 0 68px; }
  .hero-in { padding-top: 140px; padding-bottom: 64px; }
  .scroll-hint { display: none; }
  .form { padding: 32px 24px; }
}
@media (max-width: 640px) {
  body { font-size: 15.5px; }
  .g2, .g3, .g4, .steps, .ftr-top { grid-template-columns: 1fr; }
  .steps { gap: 0; }
  .hero-meta { gap: 26px 0; margin-top: 44px; }
  .hero-meta > div { flex: 0 0 50%; }
  .hero-meta div > b { font-size: 32px; }
  .sec { padding: 68px 0; }
  .cta-band { padding: 88px 0; }
  .btn { width: 100%; }
  .hero-act .btn { width: auto; flex: 1 1 auto; }
  .wrap, .wrap-n { padding-inline: 20px; }
  .lb-nav { width: 42px; height: 42px; }
  .lb-prev { left: 8px; } .lb-next { right: 8px; }
}
