:root {
  --ink: #241a0d;
  --muted: #6d6047;
  --honey: #f6c63d;
  --honey-dark: #d99b10;
  --sun: #fff3b8;
  --leaf: #2d6b3f;
  --leaf-dark: #174a2a;
  --cream: #fff9e9;
  --paper: #f8f1dc;
  --white: #ffffff;
  --line: rgba(86, 69, 31, 0.18);
  --shadow: 0 24px 70px rgba(36, 26, 13, 0.18);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: "Segoe UI", Arial, sans-serif;
  line-height: 1.6;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
.container { width: min(1160px, calc(100% - 32px)); margin: 0 auto; }
.skip-link {
  position: absolute;
  left: 16px;
  top: -52px;
  z-index: 30;
  padding: 10px 14px;
  color: var(--white);
  background: var(--ink);
}
.skip-link:focus { top: 16px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 249, 233, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}
.header-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-right: auto;
  text-decoration: none;
  font-weight: 900;
}
.brand img {
  width: 58px;
  height: 58px;
  object-fit: contain;
  border-radius: 50%;
}
.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
}
.site-nav a {
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 800;
  text-decoration: none;
}
.site-nav a:hover,
.site-nav a:focus,
.site-nav a[aria-current="page"] { color: var(--leaf-dark); }
.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}
.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background: var(--ink);
}

.button,
.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  font: inherit;
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
}
.button-primary,
.header-cta {
  color: var(--ink);
  background: var(--honey);
  box-shadow: 0 10px 24px rgba(217, 155, 16, 0.25);
}
.button-primary:hover,
.header-cta:hover { background: #ffd95d; }
.button-secondary {
  color: var(--white);
  border-color: rgba(255,255,255,0.56);
  background: rgba(36, 26, 13, 0.36);
}
.button-secondary.dark {
  color: var(--leaf-dark);
  border-color: rgba(45, 107, 63, 0.24);
  background: var(--white);
}

.hero {
  position: relative;
  min-height: 720px;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: var(--white);
}
.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.hero-image { object-fit: cover; }
.hero-overlay {
  background:
    linear-gradient(90deg, rgba(23, 74, 42, 0.9), rgba(36, 26, 13, 0.58) 48%, rgba(36, 26, 13, 0.2)),
    linear-gradient(0deg, rgba(36, 26, 13, 0.35), transparent);
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 780px;
  padding: 118px 0 70px;
}
.eyebrow {
  margin: 0 0 12px;
  color: var(--honey-dark);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.hero .eyebrow,
.cta-band .eyebrow { color: var(--sun); }
h1, h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.04;
  letter-spacing: 0;
}
.hero h1 { font-size: clamp(3rem, 6.6vw, 6.2rem); }
.hero p:not(.eyebrow) {
  max-width: 700px;
  color: rgba(255,255,255,0.88);
  font-size: 1.12rem;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.intro-band {
  background: var(--white);
  border-bottom: 1px solid var(--line);
}
.intro-grid,
.page-hero-grid,
.honey-grid,
.cta-inner,
.split-grid,
.contact-grid,
.error-grid,
.footer-grid {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  gap: 54px;
  align-items: center;
}
.intro-grid { padding: 40px 0; }
.intro-grid h2,
.section h2,
.page-hero h1,
.cta-band h2,
.error-section h1 { font-size: clamp(2.1rem, 4.4vw, 4.2rem); }
.intro-grid p,
.section-heading p,
.honey-grid p,
.page-hero-grid p,
.detail-card p,
.detail-card li,
.contact-card p,
.error-section p { color: var(--muted); }

.section { padding: 92px 0; }
.section-heading { max-width: 760px; margin-bottom: 34px; }
.service-grid,
.benefit-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.service-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.service-card,
.benefit-grid article,
.detail-card,
.contact-card,
.contact-form,
.modal-panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
}
.service-card { overflow: hidden; box-shadow: 0 18px 44px rgba(36, 26, 13, 0.08); }
.service-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.service-card div,
.benefit-grid article,
.detail-card,
.contact-card,
.contact-form { padding: 26px; }
.service-card h3,
.benefit-grid strong,
.detail-card h2 { margin: 0 0 10px; }
.service-card p,
.benefit-grid p { margin: 0; color: var(--muted); }

.honey-section {
  background:
    linear-gradient(135deg, rgba(255, 243, 184, 0.92), rgba(255, 249, 233, 0.95)),
    radial-gradient(circle at 20% 20%, rgba(246, 198, 61, 0.35), transparent 28%);
}
.text-link { color: var(--leaf-dark); font-weight: 900; }
.honey-card {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.honey-card span {
  min-height: 116px;
  display: grid;
  place-items: center;
  color: var(--ink);
  background: var(--honey);
  clip-path: polygon(25% 5%, 75% 5%, 100% 50%, 75% 95%, 25% 95%, 0 50%);
  font-weight: 900;
}
.benefits-section { background: var(--paper); }
.cta-band {
  padding: 54px 0;
  color: var(--white);
  background: linear-gradient(135deg, var(--leaf-dark), var(--leaf));
}
.cta-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 12px; }

.page-hero {
  padding: 92px 0;
  background:
    linear-gradient(135deg, rgba(255, 249, 233, 0.96), rgba(255, 243, 184, 0.78)),
    radial-gradient(circle at 80% 20%, rgba(246, 198, 61, 0.38), transparent 26%);
  border-bottom: 1px solid var(--line);
}
.about-hero,
.contact-hero { background-color: var(--paper); }
.service-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}
.detail-card img,
.media-frame img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 22px;
}
.detail-card ul { margin: 16px 0 0; padding-left: 20px; }
.media-frame {
  padding: 14px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow);
}
.media-frame img { margin: 0; }
.stat-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 26px;
}
.stat-row div {
  padding: 18px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 14px;
}
.stat-row strong,
.stat-row span { display: block; }
.stat-row strong { font-size: 1.3rem; }
.stat-row span { color: var(--muted); }
.values-section { background: var(--white); }

.contact-grid { align-items: start; }
.contact-card,
.contact-form { box-shadow: 0 18px 44px rgba(36, 26, 13, 0.08); }
.contact-card a {
  display: block;
  margin: 10px 0;
  color: var(--leaf-dark);
  font-weight: 900;
}
.contact-card .button { margin-top: 20px; }
.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.full { grid-column: 1 / -1; }
label {
  display: grid;
  gap: 7px;
  font-weight: 800;
}
input,
select,
textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 13px;
  color: var(--ink);
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 10px;
  font: inherit;
}
textarea { resize: vertical; }
input:focus,
select:focus,
textarea:focus {
  outline: 3px solid rgba(246, 198, 61, 0.42);
  border-color: var(--honey-dark);
}

.site-footer {
  padding: 46px 0;
  color: rgba(255,255,255,0.82);
  background: var(--ink);
}
.footer-grid { align-items: start; grid-template-columns: 1.2fr 1fr 1fr; }
.site-footer strong,
.site-footer a { color: var(--white); }
.site-footer a { display: block; margin-top: 6px; text-decoration: none; }
.site-footer span {
  display: block;
  color: var(--honey);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.has-prototype-notice {
  padding-bottom: 104px;
}

.prototype-notice {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 35;
  padding: 14px max(18px, calc((100vw - 1160px) / 2));
  color: var(--ink);
  background: rgba(255, 255, 255, 0.98);
  border-top: 1px solid rgba(36, 26, 13, 0.14);
  box-shadow: 0 -14px 40px rgba(36, 26, 13, 0.14);
}

.prototype-notice strong {
  display: inline;
  color: var(--leaf-dark);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.prototype-notice p {
  display: inline;
  margin: 0 0 0 10px;
  color: #5b513b;
  font-size: 0.78rem;
  line-height: 1.55;
}

.bee-fab {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 25;
  width: 70px;
  height: 70px;
  display: grid;
  place-items: center;
  color: var(--honey);
  background: var(--ink);
  border: 3px solid var(--honey);
  border-radius: 50%;
  box-shadow: var(--shadow);
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease;
}
.bee-fab:hover,
.bee-fab:focus { transform: translateY(-3px) scale(1.03); }
.bee-fab svg { width: 44px; height: 44px; }

.estimate-modal[hidden] { display: none; }
.estimate-modal {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: grid;
  place-items: center;
  padding: 20px;
}
.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(36, 26, 13, 0.58);
  animation: fadeIn 160ms ease both;
}
.modal-panel {
  position: relative;
  z-index: 1;
  width: min(680px, 100%);
  max-height: calc(100vh - 40px);
  overflow: auto;
  padding: 26px;
  box-shadow: var(--shadow);
  animation: modalIn 180ms ease both;
}
.modal-close {
  position: absolute;
  right: 16px;
  top: 16px;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--cream);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
}
.modal-head h2 { padding-right: 44px; font-size: clamp(1.9rem, 4vw, 2.9rem); }
.progress {
  height: 9px;
  margin: 20px 0 22px;
  background: var(--paper);
  border-radius: 999px;
  overflow: hidden;
}
.progress span {
  display: block;
  width: 33%;
  height: 100%;
  background: linear-gradient(90deg, var(--honey-dark), var(--honey));
  transition: width 180ms ease;
}
.form-step {
  display: none;
  margin: 0;
  padding: 0;
  border: 0;
}
.form-step.is-active { display: grid; gap: 14px; }
.form-step legend {
  margin-bottom: 14px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
  font-weight: 900;
}
.consent {
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 10px;
  color: var(--muted);
  font-size: 0.92rem;
}
.consent input { width: 18px; min-height: 18px; margin-top: 3px; }
.form-actions {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 22px;
}
.form-success {
  padding: 22px;
  background: #edf7ee;
  border: 1px solid rgba(45, 107, 63, 0.2);
  border-radius: 14px;
}
.form-success strong { display: block; font-size: 1.2rem; }
.field-error {
  border-color: #b24028 !important;
  background: #fff4f0;
}

.not-found { min-height: 100vh; display: flex; flex-direction: column; }
.error-main { flex: 1; display: grid; }
.error-section { display: grid; align-items: center; padding: 92px 0; }
.error-badge {
  min-height: 280px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 8px;
  color: var(--ink);
  background: var(--honey);
  border-radius: 18px;
  box-shadow: var(--shadow);
}
.error-badge span { font-size: clamp(4rem, 12vw, 7rem); font-weight: 900; line-height: 1; }
.error-badge strong { text-transform: uppercase; }

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes modalIn { from { opacity: 0; transform: translateY(18px) scale(0.98); } to { opacity: 1; transform: none; } }

@media (max-width: 980px) {
  .header-cta { display: none; }
  .nav-toggle { display: block; }
  .site-nav {
    position: absolute;
    left: 16px;
    right: 16px;
    top: calc(100% + 8px);
    display: none;
    padding: 12px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 14px;
    box-shadow: var(--shadow);
  }
  .site-nav.is-open { display: grid; }
  .intro-grid,
  .page-hero-grid,
  .honey-grid,
  .cta-inner,
  .split-grid,
  .contact-grid,
  .error-grid,
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .service-grid,
  .benefit-grid,
  .service-detail-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cta-actions { justify-content: flex-start; }
}

@media (max-width: 680px) {
  .container { width: min(100% - 24px, 1160px); }
  .header-inner { min-height: 68px; }
  .brand img { width: 48px; height: 48px; }
  .brand span { font-size: 0.94rem; }
  .hero { min-height: 700px; }
  .hero-content { padding: 90px 0 42px; }
  .hero h1 { font-size: clamp(2.65rem, 14vw, 4.4rem); }
  .hero-actions,
  .hero-actions .button,
  .cta-actions,
  .cta-actions .button { width: 100%; }
  .section,
  .page-hero,
  .error-section { padding: 64px 0; }
  .service-grid,
  .benefit-grid,
  .service-detail-grid,
  .contact-form,
  .stat-row { grid-template-columns: 1fr; }
  .bee-fab {
    right: 14px;
    bottom: 14px;
    width: 62px;
    height: 62px;
  }
  .bee-fab svg { width: 38px; height: 38px; }
  .estimate-modal { padding: 10px; align-items: end; }
  .modal-panel { max-height: calc(100vh - 20px); padding: 22px; border-radius: 18px 18px 0 0; }
  .form-actions { flex-direction: column-reverse; }
  .form-actions .button { width: 100%; }
  .has-prototype-notice { padding-bottom: 158px; }
  .prototype-notice { padding: 12px; }
  .prototype-notice strong,
  .prototype-notice p { display: block; margin-left: 0; }
  .prototype-notice p { margin-top: 4px; }
}
