:root {
  --page-bg: #d9c3b5;
  --skin-bg: #f2e3d9;
  --panel-bg: #fff8f3;
  --panel-soft: #fbefea;
  --brown: #30231f;
  --brown-soft: #684d40;
  --text: #2d2421;
  --muted: #7b6c65;
  --beige: #d9c0ae;
  --rose: #dda69b;
  --gold: #c49a60;
  --sage: #b99d8d;
  --border: #d8c7bd;
  --white: #ffffff;
  --danger: #a7473e;
  --success: #3f8060;
  --shadow: 0 28px 70px rgba(35, 31, 28, 0.24);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  background: radial-gradient(circle at top, #ead8cf 0, var(--page-bg) 55%, #bfa596 100%);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
}

img { max-width: 100%; display: block; }
a { color: inherit; }

.page-shell {
  width: min(1060px, calc(100% - 34px));
  margin: 42px auto;
  background: var(--panel-bg);
  border: 18px solid var(--white);
  box-shadow: var(--shadow);
}

.site-header {
  padding: 14px 22px 0;
  background: var(--panel-bg);
  text-align: center;
}

.brand {
  display: inline-block;
  margin-bottom: 10px;
  color: #080808;
  font-weight: 900;
  font-size: clamp(1.8rem, 3.4vw, 2.9rem);
  text-decoration: none;
  letter-spacing: -0.05em;
}

.main-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0;
  background: var(--brown);
  color: var(--white);
  min-height: 34px;
  font-weight: 700;
  font-size: 0.95rem;
}

.main-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 16px;
  text-decoration: none;
  border-right: 1px solid rgba(255,255,255,0.42);
}
.main-nav a:last-child { border-right: 0; }
.main-nav a:hover,
.main-nav a.active { background: rgba(255,255,255,0.12); }

.menu-toggle {
  display: none;
  border: 1px solid var(--border);
  background: var(--panel-soft);
  color: var(--brown);
  border-radius: 14px;
  padding: 8px 12px;
  font-size: 1.2rem;
}

.section-frame {
  border-top: 1px solid var(--brown-soft);
  padding: clamp(28px, 5vw, 56px);
}

.hero {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 34px;
  align-items: center;
  min-height: 470px;
  background:
    linear-gradient(90deg, rgba(255,248,243,0.92), rgba(242,230,221,0.82)),
    radial-gradient(circle at 86% 68%, rgba(221,166,155,0.26), transparent 28%);
}

.hero-copy { position: relative; z-index: 2; }
.eyebrow {
  margin: 0 0 12px;
  color: var(--brown-soft);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-weight: 800;
}

h1, h2, h3 {
  margin: 0 0 16px;
  line-height: 1.08;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
}
h1 { font-size: clamp(2.15rem, 5vw, 4.6rem); }
h2 { font-size: clamp(1.75rem, 3.2vw, 3rem); }
h3 { font-size: 1.32rem; }
p { margin: 0 0 18px; }
.muted { color: var(--muted); }
.center { text-align: center; }

.actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}
.btn-primary { background: var(--brown); color: var(--white); }
.btn-primary:hover { background: #120d0b; }
.btn-secondary { border-color: var(--brown-soft); color: var(--brown); background: rgba(255,255,255,0.45); }
.btn-secondary:hover { background: var(--white); }

.hero-art { position: relative; min-height: 420px; }
.avatar-arch {
  position: absolute;
  inset: 0 8% 0 auto;
  width: min(430px, 92%);
  overflow: hidden;
  border: 2px solid var(--brown-soft);
  border-radius: 240px 240px 8px 8px;
  background: #dfd7cf;
  box-shadow: 0 18px 38px rgba(61, 43, 35, 0.16);
}
.avatar-arch::before {
  content: "";
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(48,35,31,0.45);
  border-radius: 220px 220px 6px 6px;
  z-index: 1;
  pointer-events: none;
}
.avatar-arch img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  opacity: 1;
  transition: opacity 0.26s ease-in-out, transform 0.26s ease-in-out;
}
.avatar-arch img.is-changing {
  opacity: 0;
  transform: scale(0.992);
}
.round-logo {
  position: absolute;
  left: 2%;
  top: 26%;
  width: 128px;
  height: 128px;
  display: grid;
  place-content: center;
  text-align: center;
  background: var(--white);
  border: 4px solid var(--brown);
  border-radius: 50%;
  box-shadow: 0 12px 26px rgba(35, 31, 28, 0.24);
  font-family: Georgia, serif;
  font-size: 2rem;
  line-height: 0.92;
}
.round-logo small { font-size: 0.55rem; letter-spacing: 0.14em; }
.ornament {
  position: absolute;
  color: var(--rose);
  font-size: 4.8rem;
  opacity: 0.9;
}
.ornament-left { left: 4%; bottom: 8%; color: var(--sage); }
.ornament-right { right: 0; bottom: 12%; }

.intro-strip {
  min-height: 116px;
  display: grid;
  place-items: center;
  text-align: center;
  color: var(--muted);
  background: rgba(255,255,255,0.38);
}
.intro-strip p { max-width: 760px; margin: 0; }

.section-heading { max-width: 720px; margin-bottom: 28px; }
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.service-card {
  min-height: 250px;
  padding: 26px;
  background: rgba(255,255,255,0.62);
  border: 1px solid var(--border);
  border-radius: 28px;
  box-shadow: 0 16px 34px rgba(61, 43, 35, 0.08);
}
.service-card.large { min-height: 300px; }
.service-card p { color: var(--muted); }
.service-card .meta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 20px 0;
}
.service-card .meta span {
  background: var(--panel-soft);
  color: var(--brown-soft);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 5px 10px;
  font-size: 0.88rem;
  font-weight: 700;
}
.service-card a { color: var(--brown); font-weight: 900; }

.split-section {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 0;
  align-items: center;
}
.leaf-panel {
  min-height: 300px;
  display: grid;
  place-items: center;
  border-right: 1px solid var(--brown-soft);
  margin: calc(clamp(28px, 5vw, 56px) * -1) 0 calc(clamp(28px, 5vw, 56px) * -1) calc(clamp(28px, 5vw, 56px) * -1);
  padding: 30px;
  background: var(--panel-soft);
}
.leaf-panel img { width: min(320px, 90%); }


.booking-feature-section {
  background: linear-gradient(90deg, rgba(255,248,243,0.72), rgba(242,230,221,0.82));
}
.booking-visual {
  background: #f7eee8;
}
.booking-visual img {
  width: min(520px, 100%);
  border-radius: 18px;
  box-shadow: 0 16px 34px rgba(61, 43, 35, 0.08);
}
.booking-feature-copy {
  padding-left: clamp(10px, 2vw, 18px);
}
.booking-feature-copy p:not(.eyebrow) {
  max-width: 540px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.gallery-grid-wide { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.gallery-card {
  background: rgba(255,255,255,0.65);
  border: 1px solid var(--border);
  border-radius: 26px;
  overflow: hidden;
}
.gallery-card img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  background: var(--skin-bg);
}
.gallery-card h3,
.gallery-card p { padding: 0 18px; }
.gallery-card h3 { margin-top: 18px; }
.gallery-card p { color: var(--muted); padding-bottom: 18px; }

.page-title p { max-width: 760px; color: var(--muted); }
.notice { padding: 14px 20px; background: #fff3cd; border-bottom: 1px solid #e6d28b; }
.notice a { font-weight: 900; }
.install-box { padding: 44px; }

.booking-layout { display: grid; gap: 28px; }
.booking-step {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 18px;
  align-items: start;
}
.step-number {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--brown);
  color: var(--white);
  font-weight: 900;
}
.booking-service-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.booking-service {
  text-align: left;
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: 22px;
  background: rgba(255,255,255,0.68);
  color: var(--text);
  cursor: pointer;
}
.booking-service strong { display: block; font-size: 1.05rem; margin-bottom: 6px; }
.booking-service span { color: var(--muted); }
.booking-service.is-selected {
  border-color: var(--brown);
  box-shadow: 0 0 0 3px rgba(48,35,31,0.12);
}
.field-label { display: block; font-weight: 800; margin-bottom: 8px; }
.field {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--white);
  padding: 10px 14px;
  font: inherit;
  color: var(--text);
}
#bookingDate { max-width: 260px; margin-right: 12px; }
.booking-date-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}
.booking-date-controls #bookingDate {
  margin-right: 0;
}

.slots { display: block; margin-top: 18px; }
.slot-button {
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--brown);
  border-radius: 999px;
  padding: 10px 16px;
  font-weight: 900;
  cursor: pointer;
}
.slot-button.is-selected { background: var(--brown); color: var(--white); border-color: var(--brown); }
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.form-grid label { font-weight: 800; color: var(--brown); }
.form-grid textarea, .form-grid label:last-child { grid-column: 1 / -1; }
.privacy-check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: 18px 0;
  color: var(--muted);
}
.booking-summary {
  margin: 18px 0;
  padding: 16px;
  background: var(--panel-soft);
  border: 1px solid var(--border);
  border-radius: 18px;
  font-weight: 800;
}
.booking-message { margin-top: 16px; font-weight: 800; }
.booking-message.error { color: var(--danger); }
.booking-message.success { color: var(--success); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.privacy-content h2 { margin-top: 28px; }

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 36px 42px;
  color: rgba(45,36,33,0.76);
  border-top: 1px solid var(--brown-soft);
}
.footer-links { display: flex; flex-direction: column; gap: 8px; }
.footer-links a { text-decoration: none; font-weight: 800; }

@media (max-width: 860px) {
  .page-shell {
    width: min(100% - 18px, 720px);
    margin: 12px auto;
    border-width: 8px;
  }
  .site-header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    padding: 12px;
    text-align: left;
  }
  .brand { margin: 0; font-size: 1.55rem; }
  .menu-toggle { display: inline-flex; }
  .main-nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    margin-top: 12px;
  }
  .main-nav.is-open { display: flex; }
  .main-nav a {
    border-right: 0;
    border-bottom: 1px solid rgba(255,255,255,0.25);
    justify-content: center;
    min-height: 44px;
  }
  .hero,
  .split-section,
  .contact-grid { grid-template-columns: 1fr; }
  .hero { min-height: auto; }
  .hero-art { min-height: 360px; order: -1; }
  .avatar-arch { inset: 0 8%; width: auto; }
  .round-logo { width: 90px; height: 90px; font-size: 1.45rem; left: 0; top: 28%; }
  .ornament { font-size: 3rem; }
  .service-grid,
  .gallery-grid,
  .gallery-grid-wide,
  .booking-service-grid,
  .form-grid { grid-template-columns: 1fr; }
  .leaf-panel {
    margin: calc(clamp(28px, 5vw, 56px) * -1) calc(clamp(28px, 5vw, 56px) * -1) 28px;
    border-right: 0;
    border-bottom: 1px solid var(--brown-soft);
  }
  .booking-step { grid-template-columns: 1fr; }
  .step-number { width: 38px; height: 38px; }
  #bookingDate { max-width: none; margin: 0 0 12px; }
  .site-footer { flex-direction: column; padding: 28px; }
}

/* Booking day timeline */
.day-timeline-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 16px 0 18px;
  font-size: 0.9rem;
}
.day-timeline-legend span {
  border-radius: 999px;
  padding: 7px 13px;
  font-weight: 800;
  border: 1px solid transparent;
}
.legend-free {
  background: #e5f1e6;
  border-color: #bfd8c3;
  color: #365f42;
}
.legend-unavailable,
.legend-booked,
.legend-break,
.legend-short {
  background: #f4e1df;
  border-color: #e4c4bf;
  color: #7a5450;
}
.day-timeline {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(92px, 1fr));
  gap: 12px;
  margin-top: 12px;
}
.day-slot {
  border: 1px solid var(--border);
  border-radius: 18px;
  min-height: 54px;
  padding: 10px 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font: inherit;
  font-weight: 850;
  line-height: 1;
  box-shadow: 0 10px 28px rgba(58, 41, 34, 0.045);
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, border-color .15s ease;
}
.day-slot strong { font-size: 1rem; }
.day-slot span { display: none; }
.day-slot.slot-free {
  background: #e5f1e6;
  color: #365f42;
  border-color: #bfd8c3;
  cursor: pointer;
}
.day-slot.slot-free:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(54, 95, 66, 0.13);
}
.day-slot.slot-free.is-selected {
  background: #b88973;
  color: #fff8f3;
  border-color: #9f6d56;
  box-shadow: 0 14px 34px rgba(184, 137, 115, 0.23);
}
.day-slot.slot-unavailable,
.day-slot.slot-booked,
.day-slot.slot-break,
.day-slot.slot-work_unavailable {
  background: #f4e1df;
  color: #7a5450;
  border-color: #e4c4bf;
}
.day-slot:disabled { cursor: not-allowed; }

.booking-service small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
}

@media (max-width: 560px) {
  .day-timeline {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
  }
  .day-slot {
    min-height: 54px;
    border-radius: 14px;
  }
  .booking-date-controls {
    align-items: stretch;
  }
  .booking-date-controls .field,
  .booking-date-controls .btn {
    width: 100%;
  }
}

@media (max-width: 380px) {
  .day-timeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
