
:root {
  --bg: #fffff1;
  --surface: #fffdf7;
  --brown: #8e3316;
  --brown-dark: #4a1f13;
  --yellow: #f7d40a;
  --text: #2f241f;
  --muted: #70625b;
  --line: rgba(142, 51, 22, .18);
  --shadow: 0 18px 45px rgba(74, 31, 19, .11);
  --radius: 20px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-size: 17px;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--brown); text-decoration-thickness: .08em; text-underline-offset: .18em; }
a:hover { color: var(--brown-dark); }

.container { width: min(1360px, calc(100% - 48px)); margin-inline: auto; }
.narrow { width: min(960px, calc(100% - 48px)); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 241, .94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(8px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 12px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--brown-dark);
  text-decoration: none;
}

.brand img { width: 110px; height: auto; }
.brand strong { display: block; font-size: 1.05rem; line-height: 1.2; }
.brand small { display: block; color: var(--muted); font-size: .86rem; }

.header-actions { display: flex; align-items: center; gap: 18px; }
.site-nav { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.site-nav a { text-decoration: none; color: var(--text); font-weight: 650; font-size: .95rem; }
.site-nav a:hover { color: var(--brown); }
.phone-link {
  white-space: nowrap;
  text-decoration: none;
  background: var(--brown);
  color: var(--bg);
  padding: 9px 14px;
  border-radius: 999px;
  font-weight: 750;
}
.phone-link:hover { color: #fff; background: var(--brown-dark); }

.hero { padding: 70px 0 58px; }
.hero-grid { display: grid; grid-template-columns: .92fr 1.08fr; gap: 68px; align-items: center; }
.hero h1, .subhero h1 { font-size: clamp(2.25rem, 6vw, 4.6rem); line-height: .98; margin: 0 0 20px; color: var(--brown); letter-spacing: -0.04em; }
.hero p { font-size: 1.06rem; }
.lead { font-size: clamp(1.12rem, 2vw, 1.35rem); color: var(--brown-dark); font-weight: 520; }
.eyebrow { color: var(--brown); text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; font-weight: 800; margin: 0 0 10px; }
.hero-image img { border-radius: var(--radius); box-shadow: var(--shadow); aspect-ratio: 16 / 10; object-fit: cover; }

.button-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 11px 18px; border-radius: 999px; font-weight: 800; text-decoration: none; }
.button.primary { background: var(--brown); color: var(--bg); }
.button.primary:hover { background: var(--brown-dark); color: #fff; }
.button.secondary { background: var(--yellow); color: var(--brown-dark); }
.button.secondary:hover { filter: brightness(.96); color: var(--brown-dark); }
.text-link { font-weight: 800; }

.section { padding: 64px 0; }
.section.muted { background: rgba(142, 51, 22, .055); border-block: 1px solid var(--line); }
.section-head { max-width: 920px; margin-bottom: 30px; }
.inline-head { max-width: none; display: flex; align-items: end; justify-content: space-between; gap: 20px; }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.7rem); line-height: 1.08; margin: 0 0 16px; color: var(--brown-dark); letter-spacing: -0.025em; }
h3 { color: var(--brown); margin: 0 0 8px; }

h1, h2, h3 { overflow-wrap: break-word; hyphens: auto; }

.service-grid, .service-detail-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.service-grid article, .service-detail-grid article, .contact-panel, .gallery-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 8px 28px rgba(74, 31, 19, .06);
}
.service-grid article { padding: 28px; }
.service-detail-grid { grid-template-columns: repeat(2, 1fr); }
.service-detail-grid article { padding: 28px; }

.split { display: grid; grid-template-columns: .85fr 1.15fr; gap: 68px; align-items: start; }
.check-list { list-style: none; padding: 0; margin: 20px 0 0; }
.check-list li { position: relative; padding-left: 28px; margin: 8px 0; }
.check-list li::before { content: ""; position: absolute; left: 0; top: .55em; width: 13px; height: 13px; border-radius: 50%; background: var(--yellow); box-shadow: inset 0 0 0 3px var(--brown); }

.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.gallery-card { overflow: hidden; margin: 0; }
.gallery-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .25s ease; }
.gallery-card a { display: block; }
.gallery-card a:hover img { transform: scale(1.035); }
.gallery-card figcaption { padding: 13px 16px 16px; font-weight: 750; color: var(--brown-dark); }

.cta { background: var(--brown); color: var(--bg); padding: 56px 0; }
.cta h2 { color: var(--bg); }
.cta .eyebrow { color: var(--yellow); }
.cta a { color: var(--bg); }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.cta.compact .cta-inner { align-items: center; }
.contact-card { background: rgba(255,255,241,.1); border: 1px solid rgba(255,255,241,.24); border-radius: var(--radius); padding: 22px; min-width: min(360px, 100%); }

.subhero { padding: 56px 0 36px; background: linear-gradient(180deg, rgba(142,51,22,.065), transparent); }
.contact-layout { display: grid; grid-template-columns: .9fr 1.1fr; gap: 32px; align-items: start; }
.contact-panel { padding: 28px; }
.note { color: var(--muted); font-size: .95rem; }

.legal { font-size: 1rem; }
.legal h1 { font-size: clamp(1.7rem, 8.5vw, 3rem); overflow-wrap: anywhere; hyphens: auto; }
.legal h2 { font-size: 1.35rem; margin-top: 34px; color: var(--brown); }
.legal ul { padding-left: 22px; }

.site-footer { background: var(--brown-dark); color: var(--bg); padding: 34px 0; }
.site-footer a { color: var(--bg); }
.footer-grid { display: grid; grid-template-columns: 1.1fr 1fr .7fr; gap: 26px; }

@media (min-width: 1100px) {
  body { font-size: 17.5px; }
  .site-nav a { font-size: 1rem; }
  .brand strong { font-size: 1.12rem; }
  .brand small { font-size: .92rem; }
}

@media (min-width: 1500px) {
  body { font-size: 18.5px; }
  .container { width: min(1480px, calc(100% - 96px)); }
  .narrow { width: min(1050px, calc(100% - 96px)); }
  .hero { padding: 86px 0 74px; }
  .hero h1, .subhero h1 { font-size: clamp(3.8rem, 3.6vw, 5.1rem); }
  .hero p { font-size: 1.12rem; }
  .lead { font-size: 1.26rem; }
  h2 { font-size: clamp(2.2rem, 2.1vw, 2.9rem); }
  .service-grid article { padding: 32px; }
}

.gallery-grid.preview {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 860px;
}

.gallery-grid.preview .gallery-card img {
  aspect-ratio: 4 / 3;
}

@media (max-width: 900px) {
  .header-inner, .header-actions { align-items: flex-start; }
  .header-inner, .hero-grid, .split, .contact-layout, .cta-inner { grid-template-columns: 1fr; flex-direction: column; }
  .header-actions { display: grid; gap: 12px; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .hero { padding-top: 42px; }
}

@media (max-width: 620px) {
  body { font-size: 16px; }
  html, body { overflow-x: hidden; }
  .container { width: min(100% - 26px, 1360px); }
  .brand img { width: 84px; }
  .brand span { display: none; }
  .site-nav { gap: 10px; }
  .phone-link { padding: 8px 12px; }
  .service-grid, .service-detail-grid, .gallery-grid { grid-template-columns: 1fr; }
  .section { padding: 46px 0; }
  .hero h1, .subhero h1 { font-size: clamp(2rem, 12vw, 3.2rem); }
  .legal h1 { font-size: clamp(1.55rem, 8.5vw, 2.4rem); line-height: 1.08; }
}
