:root {
  --bg: #f6efe3;
  --bg-strong: #f3dfbf;
  --surface: rgba(255, 250, 242, 0.82);
  --surface-strong: #fff9f0;
  --text: #1f2a19;
  --muted: #5c6555;
  --sage: #526b46;
  --sage-soft: #6e855f;
  --sage-deep: #25361f;
  --sand: #d8b26f;
  --terracotta: #c96534;
  --navy: #1f4464;
  --line: rgba(39, 54, 31, 0.12);
  --line-light: rgba(255, 248, 240, 0.16);
  --shadow: 0 24px 70px rgba(85, 64, 31, 0.14);
  --radius: 28px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: "IBM Plex Sans", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(216, 178, 111, 0.34), transparent 34%),
    linear-gradient(180deg, #fdf7ed 0%, var(--bg) 58%, #ecdfc9 100%);
  position: relative;
}

a {
  color: inherit;
  text-decoration: none;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

.background-blur {
  position: fixed;
  width: 26rem;
  height: 26rem;
  border-radius: 999px;
  filter: blur(90px);
  opacity: 0.65;
  pointer-events: none;
  z-index: 0;
}

.background-blur-left {
  top: -8rem;
  left: -10rem;
  background: rgba(201, 101, 52, 0.22);
}

.background-blur-right {
  right: -10rem;
  top: 16rem;
  background: rgba(82, 107, 70, 0.18);
}

.topbar,
.page-shell,
.site-footer {
  position: relative;
  z-index: 1;
}

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 0.95rem clamp(1.2rem, 4vw, 3rem);
  background: rgba(37, 54, 31, 0.94);
  color: #fff6eb;
  font-size: 0.95rem;
}

.topbar p {
  margin: 0;
}

.topbar-links {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.topbar a {
  font-weight: 600;
}

.page-shell {
  max-width: 1220px;
  margin: 0 auto;
  padding: 1.25rem clamp(1.2rem, 4vw, 3rem) 4rem;
}

.site-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.2rem;
  margin-bottom: 1.75rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 248, 239, 0.76);
  box-shadow: 0 12px 30px rgba(75, 55, 30, 0.08);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.95rem;
}

.nav-toggle {
  display: none;
  width: 4rem;
  min-width: 4rem;
  padding: 0.2rem 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #0f130d;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0.62rem;
  box-shadow: none;
}

.nav-toggle span {
  display: block;
  width: 3rem;
  height: 0.44rem;
  border-radius: 999px;
  background: currentColor;
  transform-origin: center;
  transition: transform 180ms ease, opacity 180ms ease;
}

.nav-toggle:focus-visible {
  outline: 2px solid rgba(201, 101, 52, 0.55);
  outline-offset: 0.3rem;
}

.brand-logo {
  width: 4rem;
  height: 4rem;
  object-fit: cover;
  object-position: center top;
  border-radius: 1.35rem;
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.92), rgba(244, 232, 212, 0.92));
  padding: 0.25rem;
  border: 1px solid rgba(39, 54, 31, 0.1);
  box-shadow: 0 10px 24px rgba(76, 58, 30, 0.12);
}

.brand strong,
.site-nav a,
.button,
.service-number,
.process-card span,
.prompt-chip,
.message-name {
  font-family: "Bricolage Grotesque", sans-serif;
}

.brand span {
  display: flex;
  flex-direction: column;
}

.brand small {
  color: var(--muted);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.nav-links a {
  font-weight: 600;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.95rem 1.35rem;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--sage-deep), var(--sage));
  color: #fff9f0;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 14px 28px rgba(39, 54, 31, 0.18);
  transition: transform 180ms ease, box-shadow 180ms ease, opacity 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 18px 32px rgba(39, 54, 31, 0.22);
}

.button-small {
  padding: 0.75rem 1.1rem;
}

.button-secondary {
  background: rgba(255, 249, 240, 0.82);
  color: var(--sage-deep);
  border: 1px solid rgba(39, 54, 31, 0.12);
  box-shadow: none;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(340px, 0.98fr);
  gap: 1.6rem;
  align-items: stretch;
  padding: clamp(1.4rem, 3vw, 2rem) 0 3rem;
}

.hero-copy,
.assistant-panel,
.service-card,
.value-panel,
.quote-panel,
.process-card,
.contact-section,
.trust-strip,
.faq-list details {
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.hero-copy {
  padding: clamp(1.7rem, 4vw, 3rem);
  border-radius: calc(var(--radius) + 12px);
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(145deg, rgba(255, 252, 246, 0.95), rgba(250, 238, 214, 0.78)),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220' viewBox='0 0 220 220'%3E%3Cg fill='none' stroke='%23d8b26f' stroke-opacity='.24'%3E%3Cpath d='M8 162c26-12 40-33 54-50 17-21 36-39 70-45 25-5 46 0 80 16'/%3E%3Cpath d='M-8 120c31-10 59-35 82-59 15-15 29-24 53-29 28-6 55-1 88 18'/%3E%3Cpath d='M24 204c16-12 27-25 39-42 22-31 56-64 117-66'/%3E%3C/g%3E%3C/svg%3E");
}

.hero-brand-ribbon {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 1rem;
  padding: 0.6rem 0.9rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid rgba(39, 54, 31, 0.08);
}

.hero-brand-ribbon img {
  width: 2.45rem;
  height: 2.45rem;
  border-radius: 999px;
  object-fit: cover;
  object-position: center top;
}

.hero-brand-ribbon span {
  font-weight: 600;
}

.eyebrow,
.mini-label {
  margin: 0 0 0.8rem;
  color: var(--terracotta);
  font-family: "Bricolage Grotesque", sans-serif;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.82rem;
}

.hero h1,
.section-heading h2,
.value-panel h2,
.quote-panel h2,
.contact-copy h2,
.assistant-header h2 {
  margin: 0;
  font-family: "Bricolage Grotesque", sans-serif;
  font-weight: 800;
  line-height: 0.96;
  letter-spacing: -0.04em;
}

.hero h1 {
  max-width: 11ch;
  font-size: clamp(3rem, 6vw, 5.35rem);
}

.hero-text,
.section-heading p,
.service-card p,
.value-panel p,
.quote-panel p,
.process-card p,
.contact-copy p,
.faq-list p,
.assistant-subtitle,
.message-bubble p {
  color: var(--muted);
  line-height: 1.7;
}

.hero-text {
  max-width: 60ch;
  margin: 1.35rem 0 0;
  font-size: 1.05rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin: 1.75rem 0;
}

.hero-points {
  display: grid;
  gap: 0.8rem;
  padding: 1rem 0 0;
  margin: 0;
  list-style: none;
  border-top: 1px solid rgba(39, 54, 31, 0.12);
}

.hero-points li {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.hero-points li::before {
  content: "";
  width: 0.7rem;
  height: 0.7rem;
  flex: 0 0 auto;
  border-radius: 999px;
  background: linear-gradient(145deg, var(--terracotta), var(--sand));
  box-shadow: 0 0 0 6px rgba(201, 101, 52, 0.12);
}

.assistant-panel {
  display: grid;
  gap: 1rem;
  padding: 1rem;
  min-height: 100%;
  color: #fff9f0;
  border-radius: calc(var(--radius) + 12px);
  background:
    radial-gradient(circle at top left, rgba(255, 190, 120, 0.18), transparent 28%),
    linear-gradient(180deg, rgba(76, 102, 60, 0.96), rgba(37, 54, 31, 0.99));
}

.assistant-header,
.assistant-chat,
.assistant-form,
.prompt-chip {
  border: 1px solid var(--line-light);
}

.assistant-header {
  display: grid;
  gap: 0.9rem;
  padding: 1.15rem;
  border-radius: 26px;
  background: rgba(255, 249, 240, 0.08);
  backdrop-filter: blur(12px);
}

.assistant-identity {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.assistant-avatar-frame {
  width: 4.5rem;
  height: 4.5rem;
  border-radius: 1.45rem;
  padding: 0.2rem;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.9), rgba(245, 210, 160, 0.7));
  flex: 0 0 auto;
}

.assistant-avatar {
  width: 100%;
  height: 100%;
  border-radius: 1.25rem;
  object-fit: cover;
  object-position: center top;
  background: rgba(255, 255, 255, 0.9);
}

.assistant-subtitle {
  margin: 0.45rem 0 0;
  color: rgba(255, 248, 240, 0.74);
}

.assistant-badge {
  width: fit-content;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  background: rgba(255, 249, 240, 0.12);
  font-size: 0.85rem;
  font-weight: 700;
  color: rgba(255, 248, 240, 0.84);
}

.assistant-chat {
  display: grid;
  gap: 0.95rem;
  min-height: 17rem;
  max-height: 24rem;
  overflow: auto;
  padding: 1rem 0.75rem 1rem 1rem;
  border-radius: 24px;
  background: rgba(20, 29, 17, 0.26);
  scrollbar-gutter: stable;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 248, 240, 0.34) rgba(255, 248, 240, 0.08);
}

.assistant-chat::-webkit-scrollbar {
  width: 12px;
}

.assistant-chat::-webkit-scrollbar-track {
  border-radius: 999px;
  background: rgba(255, 248, 240, 0.08);
}

.assistant-chat::-webkit-scrollbar-thumb {
  border-radius: 999px;
  border: 2px solid rgba(28, 40, 23, 0.4);
  background:
    linear-gradient(180deg, rgba(233, 202, 152, 0.75), rgba(201, 101, 52, 0.85));
}

.assistant-chat::-webkit-scrollbar-thumb:hover {
  background:
    linear-gradient(180deg, rgba(243, 220, 180, 0.86), rgba(201, 101, 52, 0.95));
}

.message-row {
  display: grid;
  grid-template-columns: 2.35rem 1fr;
  gap: 0.75rem;
  align-items: start;
  min-width: 0;
}

.message-row.user {
  grid-template-columns: 1fr 2.35rem;
}

.message-row.user .message-bubble {
  background: rgba(201, 101, 52, 0.18);
}

.message-row.user .message-avatar {
  order: 2;
}

.message-avatar {
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 999px;
  object-fit: cover;
  object-position: center top;
  background: rgba(255, 255, 255, 0.9);
}

.message-bubble {
  padding: 0.9rem 1rem;
  border-radius: 20px;
  background: rgba(255, 249, 240, 0.08);
  width: 100%;
  min-width: 0;
}

.message-name {
  margin: 0 0 0.35rem;
  font-size: 0.98rem;
  color: #fff9f0;
}

.message-bubble p {
  margin: 0;
  color: rgba(255, 248, 240, 0.84);
}

.assistant-result {
  display: grid;
  gap: 0.75rem;
}

.assistant-result h3 {
  margin: 0;
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 1.8rem;
  color: #fff9f0;
}

.assistant-result-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  gap: 0.7rem;
}

.assistant-result-grid div,
.assistant-summary-block {
  padding: 0.8rem 0.9rem;
  border-radius: 18px;
  background: rgba(255, 249, 240, 0.07);
}

.assistant-result-grid span,
.assistant-summary-block span {
  display: block;
  margin-bottom: 0.25rem;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(255, 248, 240, 0.6);
}

.assistant-result-grid strong,
.assistant-summary-block strong {
  color: #fff9f0;
}

.assistant-list {
  margin: 0;
  padding-left: 1.1rem;
  color: rgba(255, 248, 240, 0.82);
  display: grid;
  gap: 0.45rem;
}

.assistant-prompts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.prompt-chip {
  border-radius: 999px;
  background: rgba(255, 249, 240, 0.09);
  color: #fff9f0;
  padding: 0.7rem 0.95rem;
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease;
}

.prompt-chip:hover,
.prompt-chip:focus-visible {
  transform: translateY(-1px);
  background: rgba(255, 249, 240, 0.16);
}

.assistant-form {
  display: grid;
  gap: 0.95rem;
  padding: 1rem;
  border-radius: 26px;
  background: rgba(255, 249, 240, 0.08);
  backdrop-filter: blur(12px);
}

.assistant-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.assistant-field-wide {
  grid-column: 1 / -1;
}

.assistant-form label,
.contact-form label {
  display: grid;
  gap: 0.45rem;
  font-weight: 600;
}

.assistant-form input,
.assistant-form textarea,
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 0.9rem 1rem;
  border-radius: 18px;
  border: 1px solid rgba(255, 248, 240, 0.18);
  background: rgba(255, 255, 255, 0.94);
  color: #1d2218;
}

.assistant-form input:focus,
.assistant-form textarea:focus,
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: 2px solid rgba(216, 178, 111, 0.7);
  outline-offset: 2px;
}

.file-picker {
  padding: 0.9rem 1rem;
  border-radius: 22px;
  background: rgba(255, 249, 240, 0.08);
}

.file-picker input {
  padding: 0;
  background: transparent;
  border: 0;
}

.file-picker-copy {
  color: rgba(255, 248, 240, 0.68);
  font-size: 0.92rem;
}

.assistant-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.assistant-typing {
  display: grid;
  gap: 0.65rem;
}

.assistant-typing-label {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  width: fit-content;
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  background: rgba(255, 249, 240, 0.08);
  color: rgba(255, 248, 240, 0.82);
  font-size: 0.86rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.assistant-typing-dots {
  display: inline-flex;
  align-items: flex-end;
  gap: 0.32rem;
}

.assistant-typing-dots span {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 999px;
  background: #fff7ef;
  opacity: 0.72;
  animation: tidy-wave 900ms ease-in-out infinite;
}

.assistant-typing-dots span:nth-child(2) {
  animation-delay: 120ms;
}

.assistant-typing-dots span:nth-child(3) {
  animation-delay: 240ms;
}

.assistant-booking {
  display: grid;
  gap: 0.8rem;
  margin-top: 0.35rem;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(255, 248, 240, 0.12);
}

.assistant-booking-note {
  margin: 0;
  color: rgba(255, 248, 240, 0.75);
}

.assistant-followup {
  display: grid;
  gap: 0.8rem;
  padding: 1rem;
  border-radius: 24px;
  border: 1px solid var(--line-light);
  background: rgba(255, 249, 240, 0.08);
  backdrop-filter: blur(12px);
}

.assistant-followup.hidden {
  display: none;
}

.assistant-followup-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.assistant-followup-bar .message-name {
  margin: 0;
}

#assistant-turns {
  color: rgba(255, 248, 240, 0.74);
  font-size: 0.92rem;
}

.assistant-followup-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.75rem;
}

.assistant-followup-form input {
  width: 100%;
  padding: 0.95rem 1rem;
  border-radius: 18px;
  border: 1px solid rgba(255, 248, 240, 0.18);
  background: rgba(255, 255, 255, 0.94);
  color: #1d2218;
}

.assistant-followup-form input:focus {
  outline: 2px solid rgba(216, 178, 111, 0.7);
  outline-offset: 2px;
}

.assistant-status,
.form-note {
  margin: 0;
  font-size: 0.96rem;
}

.assistant-status {
  color: rgba(255, 248, 240, 0.78);
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  padding: 1.25rem;
  border-radius: var(--radius);
  background: rgba(255, 249, 240, 0.7);
  backdrop-filter: blur(14px);
}

.trust-strip div {
  display: grid;
  gap: 0.35rem;
  padding: 0.9rem 1rem;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.45);
}

.trust-strip span {
  color: var(--muted);
}

.section {
  padding: 4.75rem 0 0;
}

.section-heading {
  max-width: 42rem;
  margin-bottom: 1.8rem;
}

.section-heading h2,
.value-panel h2,
.quote-panel h2,
.contact-copy h2 {
  font-size: clamp(2.2rem, 4vw, 3.6rem);
}

.service-grid,
.process-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, 1fr);
}

.service-card,
.process-card {
  padding: 1.5rem;
  border-radius: 26px;
  background: rgba(255, 251, 246, 0.82);
  backdrop-filter: blur(14px);
}

.service-number {
  margin: 0 0 1rem;
  color: var(--terracotta);
  font-size: 1.35rem;
  font-weight: 800;
}

.service-card h3,
.process-card h3 {
  margin: 0;
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 1.55rem;
}

.service-card ul {
  padding-left: 1.2rem;
  margin: 1.15rem 0 0;
  display: grid;
  gap: 0.65rem;
  color: var(--muted);
}

.split-section {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 1rem;
  padding-top: 4.75rem;
}

.value-panel,
.quote-panel {
  padding: clamp(1.5rem, 4vw, 2.2rem);
  border-radius: calc(var(--radius) + 6px);
  background: rgba(255, 249, 240, 0.76);
  backdrop-filter: blur(16px);
}

.value-list {
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
}

.value-list div {
  display: grid;
  gap: 0.35rem;
  padding: 1rem 1.05rem;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.55);
}

.quote-panel {
  background:
    linear-gradient(180deg, rgba(201, 101, 52, 0.16), rgba(255, 249, 240, 0.86)),
    rgba(255, 249, 240, 0.76);
}

.quote-panel ol {
  margin: 1.15rem 0 1.4rem;
  padding-left: 1.3rem;
  display: grid;
  gap: 0.7rem;
}

.process-card {
  position: relative;
  overflow: hidden;
}

.process-card span {
  display: inline-grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  margin-bottom: 1.3rem;
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(39, 54, 31, 0.12), rgba(201, 101, 52, 0.12));
  color: var(--sage-deep);
  font-size: 1.1rem;
  font-weight: 800;
}

.faq-list {
  display: grid;
  gap: 0.9rem;
}

.faq-list details {
  padding: 1.15rem 1.25rem;
  border-radius: 24px;
  background: rgba(255, 251, 246, 0.84);
}

.faq-list summary {
  cursor: pointer;
  list-style: none;
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list p {
  margin: 0.85rem 0 0;
}

.contact-section {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 1rem;
  margin-top: 4.75rem;
  padding: clamp(1.4rem, 4vw, 2rem);
  border-radius: calc(var(--radius) + 8px);
  background:
    linear-gradient(135deg, rgba(37, 54, 31, 0.95), rgba(82, 107, 70, 0.98)),
    rgba(39, 54, 31, 0.92);
  color: #fff8f0;
}

.contact-copy p,
.contact-links a,
.form-note {
  color: rgba(255, 248, 240, 0.78);
}

.contact-links {
  display: grid;
  gap: 0.7rem;
  margin-top: 1.5rem;
}

.contact-links a {
  font-weight: 600;
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  padding: 1.2rem;
  border-radius: 26px;
  background: rgba(255, 250, 243, 0.1);
  border: 1px solid rgba(255, 248, 240, 0.14);
  backdrop-filter: blur(14px);
}

.contact-form label:nth-of-type(3),
.contact-form label:nth-of-type(5),
.contact-form label:nth-of-type(6),
.contact-form button,
.contact-form .form-note,
.contact-form .booking-response {
  grid-column: 1 / -1;
}

.booking-response {
  display: grid;
  gap: 0.75rem;
  padding: 1rem 1.05rem;
  border-radius: 22px;
  border: 1px solid rgba(255, 248, 240, 0.16);
  background: rgba(255, 250, 243, 0.12);
  color: rgba(255, 248, 240, 0.84);
}

.booking-response.hidden {
  display: none;
}

.booking-response p {
  margin: 0;
  line-height: 1.65;
}

.booking-response-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.booking-response-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.72rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 248, 240, 0.2);
  background: rgba(255, 250, 243, 0.08);
  color: #fff8f0;
  font-weight: 600;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 1rem;
  align-items: center;
  padding: 1.6rem clamp(1.2rem, 4vw, 3rem) 2.4rem;
  color: var(--sage-deep);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.95rem;
}

.footer-brand img {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 1rem;
  object-fit: cover;
  object-position: center top;
}

.site-footer p {
  margin: 0;
  color: var(--muted);
}

.site-footer div {
  display: grid;
  gap: 0.35rem;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 600ms ease,
    transform 600ms ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes tidy-wave {
  0%,
  60%,
  100% {
    transform: translateY(0);
    opacity: 0.5;
  }

  30% {
    transform: translateY(-0.34rem);
    opacity: 1;
  }
}

@media (max-width: 1080px) {
  .hero,
  .split-section,
  .contact-section,
  .service-grid,
  .process-grid,
  .trust-strip,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .site-nav {
    border-radius: 30px;
    align-items: flex-start;
  }

  .assistant-chat {
    max-height: none;
  }
}

@media (max-width: 760px) {
  .topbar,
  .assistant-identity {
    flex-direction: column;
    align-items: flex-start;
  }

  .topbar-links {
    width: 100%;
    justify-content: flex-start;
  }

  .site-nav {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.9rem;
  }

  .brand {
    min-width: 0;
  }

  .brand span {
    min-width: 0;
  }

  .nav-toggle {
    display: inline-flex;
    justify-self: end;
  }

  .nav-links {
    display: none;
    grid-column: 1 / -1;
    width: 100%;
    margin-top: 0.2rem;
    padding-top: 0.7rem;
    border-top: 1px solid rgba(39, 54, 31, 0.1);
    flex-direction: column;
    align-items: stretch;
    gap: 0.65rem;
  }

  .site-nav.nav-open .nav-links {
    display: flex;
  }

  .site-nav.nav-open .nav-toggle span:nth-child(1) {
    transform: translateY(1.06rem) rotate(45deg);
  }

  .site-nav.nav-open .nav-toggle span:nth-child(2) {
    opacity: 0;
  }

  .site-nav.nav-open .nav-toggle span:nth-child(3) {
    transform: translateY(-1.06rem) rotate(-45deg);
  }

  .nav-links a {
    width: 100%;
    padding: 0.85rem 0.95rem;
    border-radius: 1rem;
    background: rgba(255, 249, 240, 0.74);
    border: 1px solid rgba(39, 54, 31, 0.08);
  }

  .nav-links .button {
    width: 100%;
  }

  .hero h1 {
    font-size: clamp(2.5rem, 13vw, 4rem);
  }

  .assistant-grid,
  .assistant-result-grid,
  .contact-form,
  .assistant-followup-form {
    grid-template-columns: 1fr;
  }

  .assistant-field-wide,
  .contact-form label,
  .contact-form button,
  .contact-form .form-note {
    grid-column: auto;
  }

  .hero-copy,
  .assistant-panel,
  .service-card,
  .value-panel,
  .quote-panel,
  .process-card,
  .contact-section,
  .trust-strip,
  .faq-list details {
    box-shadow: 0 16px 36px rgba(78, 58, 29, 0.12);
  }

  .assistant-form,
  .contact-form {
    padding: 1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal,
  .reveal.visible,
  .button,
  .prompt-chip {
    transition: none;
    transform: none;
    opacity: 1;
  }
}
