:root {
  color-scheme: light;
  --ink: #252015;
  --muted: #5e5749;
  --paper: #fffdf7;
  --surface: #fff9e5;
  --line: #e8dfc8;
  --amber: #f6ca4f;
  --amber-dark: #715011;
  --white: #fffefa;
  font-family: "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}

*, *::before, *::after { box-sizing: border-box; }
body, figure, ul, ol, h1, h2, p { margin: 0; }
body { min-width: 300px; }
a { color: inherit; }
img { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; }
button, a, input, select, textarea { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid #7f5210; outline-offset: 4px; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
[id] { scroll-margin-top: 22px; }
#content {
  background:
    linear-gradient(#fffdf785, #fffdf785),
    url("/assets/workshop-pattern.svg") center 36px / 610px 438px repeat;
}

.container { width: min(1200px, calc(100% - 88px)); margin-inline: auto; }
.skip-link { position: fixed; z-index: 5; top: 12px; left: 12px; padding: 12px; background: var(--white); transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }
.site-header { background: var(--paper); border-bottom: 1px solid var(--line); }
.header-layout, .footer-layout { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 76px; }
.wordmark { display: inline-flex; align-items: center; gap: 10px; font-weight: 760; font-size: 1.15rem; white-space: nowrap; text-decoration: none; }
.header-links { display: flex; align-items: center; gap: clamp(16px, 3.1vw, 42px); color: var(--muted); font-size: .94rem; font-weight: 600; }
.header-links a { text-decoration: none; text-underline-offset: 4px; }
.header-links a:hover { text-decoration: underline; }
.header-phone { white-space: nowrap; }
.phone-action { display: none; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 12px 19px;
  border: 1px solid transparent;
  border-radius: 12px;
  color: var(--ink);
  font-weight: 740;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 160ms ease, border-color 160ms ease, transform 160ms ease;
}
.button:hover { transform: translateY(-1px); }
.button:active { transform: translateY(1px); }
.button-small { min-height: 42px; padding: 9px 15px; font-size: .89rem; }
.button-outline { border-color: #cabaab; background: var(--white); }
.button-outline:hover { border-color: #917343; background: #fff5d3; }
.button-primary { background: var(--amber); border-color: #e9b836; }
.button-primary:hover { background: #ffd765; border-color: #b18418; }
.button-text { padding-inline: 9px; text-decoration: underline; text-underline-offset: 5px; }
.button-text:hover { color: #7a5310; }
.button:disabled { opacity: .58; cursor: default; transform: none; }

.intro {
  padding: 25px 0 52px;
  border-bottom: 1px solid #ecddad;
  background:
    url("/assets/workshop-pattern.svg") center 12px / 610px 438px repeat,
    radial-gradient(ellipse 46% 82% at var(--glow-x, 75%) var(--glow-y, 45%), #f9de85 0%, transparent 100%),
    linear-gradient(110deg, #fff9e2 6%, #fff0b6 98%);
}
.service-nav {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 545px;
  margin-bottom: 37px;
  gap: 6px;
  padding: 5px;
  border: 1px solid #ecdeb0;
  border-radius: 14px;
  background: #fffbebd9;
}
.service-link {
  min-height: 42px;
  padding: 7px 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 650;
  font-size: .92rem;
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: 9px;
  transition: background-color 160ms ease, border-color 160ms ease;
}
.service-link svg { width: 19px; height: 19px; flex: none; }
.service-link:hover { background: #fff0bd; }
.service-link[aria-current="page"] { background: #ffe398; border-color: #edcd73; }
.hero { display: grid; grid-template-columns: 1fr 1.02fr; gap: clamp(24px, 4vw, 68px); align-items: center; }
.hero-copy { min-width: 0; padding-block: 6px 15px; }
.visit-label { display: flex; align-items: center; gap: 8px; font-size: .94rem; font-weight: 740; color: #58410f; }
.visit-label svg { flex: none; width: 19px; height: 19px; }
h1 { margin-top: 15px; font-size: clamp(2.7rem, 5.05vw, 4.75rem); line-height: 1.02; letter-spacing: -.064em; font-weight: 800; overflow-wrap: break-word; }
h1 span { color: var(--amber-dark); display: block; }
.hero-intro { max-width: 435px; margin-top: 21px; color: #443b29; font-size: clamp(1rem, 1.28vw, 1.17rem); line-height: 1.55; }
.visit-note { max-width: 435px; margin-top: 10px; color: #443b29; font-size: 1rem; line-height: 1.5; }
.hero-actions { margin-top: 24px; display: flex; gap: 11px; flex-wrap: wrap; }
.contract-note { display: flex; align-items: center; gap: 12px; margin-top: 28px; }
.contract-icon { display: grid; place-items: center; flex: none; width: 42px; height: 42px; background: #fff8dd; border: 1px solid #ebd995; border-radius: 11px; }
.contract-note strong, .contract-note div span { display: block; }
.contract-note strong { font-size: .98rem; }
.contract-note div span { margin-top: 3px; color: #554a33; font-size: .9rem; }

.gallery { min-width: 0; }
.gallery-frame { position: relative; isolation: isolate; aspect-ratio: 1.5; border-radius: 20px; overflow: hidden; background: #251f17; box-shadow: 0 12px 32px #7053182d; }
.gallery-frame::after { content: ""; position: absolute; inset: 56% 0 0; z-index: 0; background: linear-gradient(transparent, #1c160fd9); pointer-events: none; }
.gallery-image, .photo-choice img { width: 100%; height: 100%; object-fit: cover; }
.gallery-caption { position: absolute; z-index: 1; left: 17px; right: 17px; bottom: 15px; color: white; font-size: .94rem; font-weight: 650; }
.photo-choices { display: grid; grid-template-columns: repeat(var(--photo-count), minmax(0, 1fr)); gap: 7px; margin-top: 10px; }
.photo-choice { padding: 2px; min-height: 42px; aspect-ratio: 1.47; border: 2px solid transparent; border-radius: 8px; background: #fffbeb; cursor: pointer; transition: border-color 160ms ease, transform 160ms ease; }
.photo-choice img { border-radius: 4px; min-width: 0; }
.photo-choice:hover { border-color: #baa16c; transform: translateY(-1px); }
.photo-choice[aria-pressed="true"] { border-color: #8c5910; }

.details { display: grid; grid-template-columns: minmax(238px, .8fr) minmax(0, 1.6fr); gap: clamp(28px, 6vw, 92px); padding-block: 66px 72px; align-items: start; }
h2 { font-size: clamp(1.9rem, 3.45vw, 3.1rem); font-weight: 780; letter-spacing: -.052em; line-height: 1.08; }
.process { border: 1px solid var(--line); background: var(--surface); border-radius: 20px; padding: clamp(24px, 3.3vw, 38px); }
.process h2 { font-size: clamp(1.85rem, 3vw, 2.7rem); }
.timeline { list-style: none; padding: 0; margin-top: 28px; }
.timeline li { position: relative; padding: 0 0 23px 24px; border-left: 1px solid #d6c285; margin-left: 5px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before { content: ""; width: 10px; height: 10px; position: absolute; left: -5.5px; top: 7px; border-radius: 50%; background: #a9721c; outline: 4px solid var(--surface); }
.timeline strong { font-size: 1rem; }
.timeline p { margin-top: 5px; color: var(--muted); font-size: 1rem; line-height: 1.5; }
.section-intro { margin-top: 10px; max-width: 540px; color: var(--muted); line-height: 1.54; }
.price-list { list-style: none; padding: 0; margin-top: 19px; border-top: 1px solid var(--line); }
.price-row { display: flex; justify-content: space-between; gap: 13px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.price-row strong, .price-row strong + span { display: block; }
.price-row strong { font-size: 1.02rem; }
.price-row strong + span { margin-top: 3px; line-height: 1.38; color: var(--muted); }
.price-value { flex: none; font-weight: 750; white-space: nowrap; color: var(--amber-dark); }
.price-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-top: 17px; padding: 10px 12px 10px 15px; background: #fff1bf; border-radius: 11px; }

.request { padding-bottom: 62px; }
.request-panel { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(24px, 5vw, 70px); padding: clamp(24px, 4.8vw, 60px); border: 1px solid #ead79c; border-radius: 23px; background: #fff2bf; }
.request-copy p { margin-top: 14px; max-width: 335px; color: #51452e; line-height: 1.56; }
.request-robot { width: 135px; height: 135px; object-fit: contain; margin: 16px 0 0 0; filter: hue-rotate(176deg) saturate(.67); }
.request-form { display: grid; gap: 13px; min-width: 0; }
.form-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.request-form label { display: grid; gap: 6px; min-width: 0; font-size: .95rem; font-weight: 690; }
.request-form input, .request-form select, .request-form textarea { display: block; width: 100%; padding: 11px 12px; border: 1px solid #c7b67a; border-radius: 9px; background: var(--white); color: var(--ink); font-size: 1rem; font-weight: 400; }
.request-form select { appearance: none; padding-right: 34px; background-image: linear-gradient(45deg, transparent 50%, #6d561c 50%), linear-gradient(135deg, #6d561c 50%, transparent 50%); background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%; background-size: 5px 5px; background-repeat: no-repeat; }
.request-form textarea { resize: vertical; min-height: 83px; }
.request-form input::placeholder, .request-form textarea::placeholder { color: #756e5c; opacity: 1; }
.request-form button { justify-self: start; }
.form-note, .form-status { font-size: .88rem; color: var(--muted); line-height: 1.43; }
.form-status { margin-top: -3px; border-left: 3px solid #987019; padding-left: 9px; color: #59420e; font-weight: 650; }
.request-phone { display: inline-block; margin-top: 14px; font-weight: 750; text-underline-offset: 4px; }
.site-footer { border-top: 1px solid var(--line); }
.site-footer .wordmark { font-size: 1rem; }
.footer-layout { color: var(--muted); }
.advertiser { color: var(--muted); padding-bottom: 20px; font-size: .89rem; }
.policy-page { background: #fff3c5; }
.policy { width: min(820px, calc(100% - 34px)); margin: 34px auto; padding: clamp(20px, 6vw, 48px); border: 1px solid var(--line); border-radius: 20px; background: var(--white); line-height: 1.62; }
.policy h1 { margin: 17px 0 20px; font-size: clamp(1.85rem, 5vw, 2.95rem); letter-spacing: -.04em; }
.policy h2 { margin: 23px 0 7px; font-size: 1.22rem; letter-spacing: -.025em; }
.policy p { margin-bottom: 11px; }
.policy-preview { padding: 11px 13px; background: var(--surface); border-radius: 8px; }

@media (max-width: 920px) {
  .container { width: calc(100% - 56px); }
  .hero { gap: 24px; }
  .hero-actions { gap: 4px; }
  .hero-actions .button { padding-inline: 11px; }
  .details { gap: 26px; }
}

@media (max-width: 700px) {
  .container { width: calc(100% - 34px); }
  .header-layout, .footer-layout { min-height: 64px; gap: 10px; }
  .header-links { display: none; }
  .wordmark { font-size: .99rem; gap: 7px; }
  .wordmark img { width: 34px; height: 34px; }
  .header-layout .button { min-height: 38px; padding: 7px 10px; font-size: .84rem; }
  .intro { padding-block: 15px 32px; }
  .service-nav { margin-bottom: 23px; max-width: none; gap: 4px; padding: 4px; }
  .service-link { padding: 6px 3px; gap: 4px; font-size: .81rem; }
  .service-link svg { width: 16px; height: 16px; }
  .hero { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .hero-copy { padding: 0; }
  h1 { font-size: clamp(2.5rem, 10.1vw, 4rem); margin-top: 10px; }
  .hero-intro { margin-top: 13px; }
  .hero-actions { margin-top: 15px; }
  .contract-note { margin-top: 17px; }
  .gallery-frame { border-radius: 14px; }
  .photo-choices { gap: 4px; }
  .photo-choice { border-radius: 6px; min-height: 36px; }
  .photo-choice img { border-radius: 3px; }
  .details { grid-template-columns: minmax(0, 1fr); gap: 27px; padding-block: 36px 43px; }
  .process { padding: 20px; }
  .process br { display: none; }
  .timeline { margin-top: 16px; }
  .timeline li { padding-bottom: 15px; }
  .request { padding-bottom: 36px; }
  .request-panel { grid-template-columns: minmax(0, 1fr); gap: 19px; padding: 18px; }
  .request-copy p { margin-top: 9px; }
  .request-robot { display: none; }
  .form-pair { grid-template-columns: minmax(0, 1fr); }
  .footer-layout > span { font-size: .8rem; text-align: right; max-width: 120px; }
}

@media (max-width: 360px) {
  .service-link { font-size: .77rem; }
  .service-link svg { display: none; }
  .price-row { align-items: start; }
}

@media (max-width: 380px) {
  .phone-number { display: none; }
  .phone-action { display: inline; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
