/* Root */
:root {
  --bg: #FFF8F4;
  --surface: #FFFFFF;
  --text: #2B1D14;
  --muted: #6B5545;
  --accent: #B53A0B;
  --accent-text: #FFE8D6;
  --plate-bg: #2B1D14;
  --plate-text: #FFE8D6;
  --line: #E7D9CE;
  --font-head: Optima, Candara, 'Segoe UI', 'Noto Sans', sans-serif;
  --font-body: Georgia, Cambria, 'Times New Roman', serif;
  --radius-card: 14px;
  --radius-btn: 8px;
  --shadow-soft: 0 1px 2px rgb(43 29 20 / .06), 0 12px 32px rgb(43 29 20 / .08);
  --shadow-card: 0 1px 2px rgb(43 29 20 / .05), 0 8px 24px rgb(43 29 20 / .07);
  --pad-x: clamp(16px, 4vw, 40px);
}

/* Base */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.125rem);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0 0 16px;
  color: var(--text);
}
h1 { font-size: clamp(2.4rem, 4.6vw + 0.6rem, 4.6rem); line-height: 1.2; }
h2 { font-size: clamp(1.8rem, 2.6vw + 0.8rem, 3rem); }
h3 { font-size: clamp(1.2rem, 1rem + 0.6vw, 1.5rem); line-height: 1.3; }
p { margin: 0 0 16px; max-width: 62ch; }
a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: #8C2C08; }
ul, ol { margin: 0; padding: 0; list-style: none; }
address { font-style: normal; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }

/* Layout */
.l-wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 40px);
}
.l-block { padding: clamp(64px, 9vw, 128px) 0; position: relative; }
.l-block + .l-block { padding-top: 0; }
.l-block:last-child { padding-bottom: clamp(72px, 9vw, 128px); }
.l-block > .l-wrap > h2 { margin-bottom: 12px; }
.l-block > .l-wrap > p { color: var(--muted); margin-bottom: 32px; }
.l-text { max-width: 760px; }
.l-text h2 { margin-top: 40px; }
.l-text ol, .l-text ul { padding-left: 24px; list-style: decimal; }
.l-text ul { list-style: disc; }
.l-text li { margin-bottom: 8px; }
.l-text table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}
.l-text th, .l-text td {
  text-align: left;
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
}
.l-text th { font-family: var(--font-head); font-weight: 600; }
.l-hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: start;
  margin-bottom: 48px;
  text-align: center;
}
.l-hero-copy { max-width: 720px; margin: 0 auto; }
.l-hero-copy p { font-size: 1.06rem; }
.l-hero-copy .c-btn { margin-top: 8px; }
.l-hero-side { max-width: 560px; margin: 0 auto; width: 100%; text-align: left; }
.l-steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  counter-reset: step;
}
.l-steps .c-tile { counter-increment: step; position: relative; display: flex; flex-direction: column; }
.l-steps .c-tile::before {
  content: counter(step, decimal-leading-zero);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--accent);
  display: block;
  margin-bottom: 12px;
}
.l-services-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
  align-items: center;
}
.l-services-row:last-child { border-bottom: 1px solid var(--line); }
.l-services-row h3 { margin-bottom: 6px; }
.l-services-row p { margin: 0; color: var(--muted); }
.l-prices { display: grid; gap: 0; max-width: 800px; margin: 0 auto; }
.l-prices-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 24px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  font-size: 1rem;
}
.l-prices-row:last-child { border-bottom: 1px solid var(--line); }
.u-ink {
  font-family: var(--font-head);
  font-weight: 600;
  color: var(--accent);
  white-space: nowrap;
}
.u-jump {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--surface);
  color: var(--text);
  padding: 12px 20px;
  z-index: 60;
}
.u-jump:focus { left: 12px; top: 12px; }

/* Background layer */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(560px 560px at 8% 12%, rgb(181 58 11 / .18), transparent 70%),
    radial-gradient(640px 640px at 92% 32%, rgb(181 58 11 / .15), transparent 70%),
    radial-gradient(520px 520px at 30% 88%, rgb(181 58 11 / .12), transparent 70%),
    radial-gradient(480px 480px at 78% 78%, rgb(181 58 11 / .14), transparent 70%);
}

/* Header */
.c-topbar {
  background: rgb(255 248 244 / .92);
  border-bottom: 1px solid var(--line);
  position: relative;
  z-index: 20;
}
.c-topbar-inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  gap: 24px;
}
.c-topbar-rule { height: 4px; background: var(--accent); }
.c-mark {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--text);
  text-decoration: none;
  margin-left: auto;
  letter-spacing: 0.01em;
}
.c-menu-list {
  display: none;
  gap: 6px;
}
.c-menu-link {
  display: block;
  position: relative;
  padding: 10px 12px;
  color: var(--text);
  text-decoration: none;
  font-family: var(--font-head);
  font-size: 1rem;
  border-radius: 6px;
  transition: background-color .25s ease, color .25s ease;
}
.c-menu-link::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 4px;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s ease;
}
.c-menu-link:hover, .c-menu-link:focus-visible { color: var(--accent); }
.c-menu-link:hover::after, .c-menu-link:focus-visible::after { transform: scaleX(1); }
.c-menu-link[aria-current="page"]::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  margin-right: 7px;
  vertical-align: middle;
  animation: menu-dot .4s ease;
}
@keyframes menu-dot { from { transform: scale(0); } to { transform: scale(1); } }
.c-menu-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  background: none;
  border: 2px solid var(--line);
  border-radius: var(--radius-btn);
  padding: 10px 16px;
  cursor: pointer;
}
.c-menu-btn-line {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text);
}
.c-menu-btn:hover { border-color: var(--accent); color: var(--accent); }
.c-menu-btn:hover .c-menu-btn-line { background: var(--accent); }
.has-open .c-menu {
  display: block;
  border-top: 1px solid var(--line);
  padding: 8px var(--pad-x) 20px;
}
.has-open .c-menu-list { display: grid; gap: 2px; }

/* Buttons */
.c-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 26px;
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  background: linear-gradient(120deg, #C74A16 0%, var(--accent) 55%, #9A3108 100%);
  background-size: 220% 100%;
  background-position: 0% 50%;
  border: 2px solid var(--accent);
  border-radius: var(--radius-btn);
  text-decoration: none;
  cursor: pointer;
  transition: background-position .35s ease, background-color .2s ease, color .2s ease, border-color .2s ease;
}
.c-btn:hover {
  background: var(--accent);
  background-size: 220% 100%;
  background-position: 100% 50%;
  color: var(--accent-text);
}
.c-btn:focus-visible { outline: 3px solid var(--text); outline-offset: 4px; }
.c-btn:active { background-color: #7E2907; border-color: #7E2907; color: var(--accent-text); }
.c-btn-quiet {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 20px;
  font-family: var(--font-head);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--accent);
  background: var(--surface);
  border: 2px solid var(--accent);
  border-radius: var(--radius-btn);
  text-decoration: none;
  transition: background-color .2s ease, color .2s ease;
}
.c-btn-quiet:hover { background: var(--accent); color: var(--accent-text); }
.c-btn-quiet:focus-visible { outline: 3px solid var(--text); outline-offset: 4px; }
.c-btn-quiet:active { background: #7E2907; border-color: #7E2907; color: var(--accent-text); }

/* Cards and images */
.c-tile {
  background: var(--surface);
  border-radius: var(--radius-card);
  padding: 24px;
  box-shadow: var(--shadow-card);
  transition: transform .3s ease, box-shadow .3s ease;
}
.c-tile:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-soft);
}
.c-tile h3 { margin-bottom: 8px; }
.c-tile p { margin: 0; color: var(--muted); }
.c-frame {
  margin: 0;
  padding: 12px;
  background: var(--surface);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-soft);
}
.c-frame img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 8px;
  transition: transform .45s ease;
}
.c-frame:hover img { transform: scale(1.04); }
.has-tint { background: linear-gradient(180deg, rgb(181 58 11 / .07), transparent); }

/* Plate */
.c-slab {
  background: var(--plate-bg);
  color: var(--plate-text);
  border-radius: var(--radius-card);
  padding: clamp(28px, 5vw, 56px);
  box-shadow: var(--shadow-soft);
}
.c-slab h2 { color: var(--plate-text); }
.c-slab p { color: #EBCDB4; max-width: 60ch; }
.c-slab a { color: #FFC59E; }
.c-slab a:hover { color: #FFFFFF; }
.c-slab ul { margin-top: 20px; display: grid; gap: 10px; }
.c-slab li { font-size: 1rem; }
.c-slab li span {
  display: inline-block;
  min-width: 84px;
  color: #D8AE8E;
  font-family: var(--font-head);
  font-size: 0.9rem;
}

/* FAQ */
.c-qanda { display: grid; gap: 12px; max-width: 820px; }
.c-qanda details {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 0 24px;
}
.c-qanda summary {
  cursor: pointer;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.05rem;
  padding: 18px 0;
  list-style: none;
  position: relative;
  padding-right: 36px;
}
.c-qanda summary::-webkit-details-marker { display: none; }
.c-qanda summary::after {
  content: "";
  position: absolute;
  right: 4px;
  top: 50%;
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: translateY(-70%) rotate(45deg);
  transition: transform .25s ease;
}
.c-qanda details[open] summary::after { transform: translateY(-30%) rotate(225deg); }
.c-qanda details p { padding-bottom: 18px; margin: 0; color: var(--muted); }

/* Form */
.c-request {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: clamp(20px, 3vw, 32px);
  box-shadow: var(--shadow-card);
}
.c-request-head h2 { margin-bottom: 6px; }
.c-request-head p { color: var(--muted); font-size: 0.98rem; }
.c-request-head { margin-bottom: 16px; }
.c-request-box { margin-bottom: 16px; }
.c-request-label {
  display: block;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.92rem;
  margin-bottom: 6px;
}
.c-request-input {
  width: 100%;
  font: inherit;
  font-size: 1rem;
  color: var(--text);
  background: var(--bg);
  border: 2px solid var(--line);
  border-radius: var(--radius-btn);
  padding: 12px 14px;
  transition: border-color .2s ease;
}
.c-request-input::placeholder { color: #7A6450; opacity: 1; }
.c-request-input:focus { border-color: var(--accent); outline: none; }
.is-invalid .c-request-input, .c-request-input.is-invalid { border-color: #A32310; }
.c-request-area { resize: vertical; min-height: 110px; }
.c-request-check {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 15px;
  line-height: 1.5;
  margin-bottom: 16px;
}
.c-request-check input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--accent); }
.c-request-check label { max-width: 62ch; }
.c-request-note {
  font-size: 0.88rem;
  color: var(--muted);
  margin-bottom: 16px;
}
.is-busy { opacity: .6; pointer-events: none; }

/* Footer */
.c-foot {
  background: #F4E9DF;
  border-top: 1px solid var(--line);
  padding: clamp(48px, 6vw, 72px) 0 24px;
  margin-top: clamp(64px, 9vw, 128px);
}
.c-foot-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}
.c-foot-title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: 12px;
}
.c-foot-text { font-size: 0.95rem; color: var(--muted); }
.c-foot-list { display: grid; gap: 8px; }
.c-foot-list a {
  color: var(--text);
  text-decoration: none;
  font-size: 0.95rem;
}
.c-foot-list a:hover { color: var(--accent); text-decoration: underline; }
.c-foot address p { font-size: 0.92rem; margin-bottom: 8px; font-style: normal; }
.c-foot ul { display: grid; gap: 8px; }
.c-foot ul a { font-size: 0.95rem; }
.c-foot ul span { color: var(--muted); margin-right: 6px; }
.c-foot-bottom {
  border-top: 1px solid var(--line);
  margin-top: 32px;
  padding-top: 20px;
}
.c-foot-copy { font-size: 0.88rem; color: var(--muted); margin: 0; }

/* Reveal */
html.has-js .c-fade { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
html.has-js .c-fade.is-shown { opacity: 1; transform: none; }

/* Inner pages */
.c-page-head { padding-top: clamp(40px, 6vw, 72px); }
.c-page-head p { color: var(--muted); font-size: 1.05rem; }

/* Thank you / 404 */
.c-plain { text-align: left; }
.c-plain h1 { font-size: clamp(2.2rem, 4vw + 0.6rem, 3.8rem); }

/* Breakpoints */
@media (min-width: 480px) {
  .l-services-row { grid-template-columns: 1fr auto; }
  .c-foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 640px) {
  .l-steps { grid-template-columns: 1fr 1fr; align-items: stretch; }
  .c-tile { padding: 28px; }
}
@media (min-width: 768px) {
  h1 { line-height: 1.15; }
  .c-menu-btn { display: none; }
  .c-menu-list { display: flex; }
  .c-menu { margin-right: auto; }
  .c-mark { margin-left: 0; }
  .c-foot-grid { grid-template-columns: 1fr 1fr 1fr; }
  .c-foot-col:first-child { grid-column: 1 / -1; }
}
@media (min-width: 1024px) {
  .l-steps { grid-template-columns: repeat(4, 1fr); align-items: stretch; }
  .c-foot-grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; }
  .c-foot-col:first-child { grid-column: auto; }
  .c-foot ul { margin-top: 0; }
  .c-foot address + ul, .c-foot .c-foot-col .c-foot-text + ul { margin-top: 12px; }
}
@media (min-width: 1280px) {
  .l-hero { gap: 48px; }
  .l-block { padding-top: 0; }
  .l-block:first-of-type { padding-top: clamp(64px, 9vw, 128px); }
}

/* Motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  html.has-js .c-fade { opacity: 1; transform: none; }
}

/* Rhythm fixes */
.l-block + .l-block { padding-top: clamp(56px, 8vw, 112px); }
.l-block > .l-wrap > h2,
.l-block > .l-wrap > .l-text { max-width: 800px; }
.l-prices-row { align-items: baseline; }
.l-prices-row .u-ink { text-align: right; }
.l-hero-copy h1 { margin-inline: auto; }
@media (max-width: 479px) {
  .c-frame { padding: 10px; }
  .l-services-row .c-btn-quiet { justify-self: start; }
}
@media (max-width: 767px) {
  .l-block + .l-block { padding-top: 0; }
  .l-block { padding-top: clamp(48px, 8vw, 80px); }
}
