:root {
  color-scheme: light;
  --teal: #11695c;
  --green: #419438;
  --ink: #173f35;
  --mint: #f0f7ed;
  --border: #d7e6dc;
  --paper: #fff;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.5 "Open Sans", system-ui, sans-serif; }
a { color: inherit; }
button, textarea { font: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid #1a755d; outline-offset: 3px; }
.wrap { width: min(1280px, calc(100% - 80px)); margin-inline: auto; }
.utility { background: var(--teal); color: #fff; font-size: .85rem; }
.utility-inner { display: flex; justify-content: space-between; gap: 12px; padding-block: 9px; }
.utility a { text-underline-offset: 3px; }
.site-header, .site-header nav { display: flex; justify-content: space-between; align-items: center; }
.site-header { gap: 16px; padding-block: 18px; }
.site-header nav { gap: clamp(12px, 2.5vw, 32px); font-size: .9rem; }
.site-header nav a { text-decoration: none; }
.nav-secondary:hover { text-decoration: underline; }
.brand img { width: clamp(150px, 18vw, 232px); height: auto; display: block; }
.button {
  display: inline-flex; align-items: center; justify-content: center; min-height: 44px;
  background: var(--teal); color: #fff; border: 0; border-radius: 6px;
  padding: 8px 17px; white-space: nowrap; font-weight: 700;
}
.hero { display: grid; grid-template-columns: minmax(0, 44fr) minmax(0, 56fr); border-radius: 12px; background: var(--mint); overflow: hidden; }
.hero-copy { align-self: center; padding: clamp(25px, 4.5vw, 65px); }
.hero img { width: 100%; height: 100%; min-height: 440px; object-fit: cover; object-position: center; }
.place { margin: 0 0 10px; font-size: .81rem; font-weight: 750; letter-spacing: .04em; color: var(--teal); }
h1 { margin: 0; max-width: 11ch; font-size: clamp(2.9rem, 5.2vw, 5.4rem); line-height: 1; letter-spacing: -.055em; }
.hero-copy > p:not(.place) { max-width: 29ch; margin: 18px 0 22px; }
.hero-link { font-weight: 700; color: var(--teal); text-underline-offset: 4px; }
.hero-link span { display: inline-block; text-decoration: none; margin-left: 4px; }
.contact { margin: 18px 0 75px; font-size: .9rem; }
.contact a { margin-left: 4px; font-weight: 700; color: var(--teal); }
.chat, .chat-launcher {
  position: fixed; z-index: 2; right: max(12px, env(safe-area-inset-right));
  bottom: max(12px, env(safe-area-inset-bottom));
}
.chat {
  display: flex; flex-direction: column; overflow: hidden; background: #fff; border: 1px solid var(--border);
  border-radius: 14px; box-shadow: 0 12px 34px #173f3540; width: min(390px, calc(100vw - 24px));
  height: min(500px, calc(100dvh - 150px));
}
.chat-header {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  padding: 10px 14px; background: var(--teal); color: #fff; border-bottom: 3px solid var(--green);
}
.chat-header h2 { margin: 0; font-size: 1.22rem; line-height: 1.2; }
.chat-header p { margin: 3px 0 0; font-size: .77rem; color: #e2f5ec; }
.chat-close, .chat-composer button { flex: 0 0 44px; height: 44px; border: 0; border-radius: 50%; color: #fff; }
.chat-close { background: #075448; font-size: 1.5rem; }
.chat-close:focus-visible { outline-color: #fff; outline-offset: -3px; }
.chat-launcher { border-radius: 24px; box-shadow: 0 4px 16px #173f3540; }
.notice { margin: 0; padding: 6px 12px; background: var(--mint); border-bottom: 1px solid var(--border); font-size: .75rem; }
.chat-log { display: flex; flex: 1; min-height: 0; flex-direction: column; gap: 8px; overflow-y: auto; overscroll-behavior: contain; padding: 12px; }
.message { width: fit-content; max-width: 95%; margin: 0; padding: 10px 12px; border-radius: 12px; font-size: .875rem; overflow-wrap: anywhere; }
.reply { background: var(--mint); }
.visitor { align-self: flex-end; background: var(--teal); color: #fff; }
.reply-links { display: flex; flex-wrap: wrap; gap: 4px 11px; margin-top: 7px; }
.reply-links a { color: var(--teal); font-weight: 700; text-underline-offset: 2px; }
.quick-actions { display: flex; flex-wrap: wrap; gap: 5px; }
.quick-actions button { color: var(--teal); background: #fff; border: 1px solid #a6c7b7; border-radius: 18px; padding: 5px 8px; font-size: .74rem; }
.quick-actions button:hover { background: var(--mint); }
.chat-composer { display: flex; align-items: center; gap: 5px; margin: 8px; padding: 3px; border: 1px solid var(--border); border-radius: 24px; }
.chat-composer textarea { flex: 1; min-width: 0; resize: none; border: 0; border-radius: 16px; padding: 8px; color: inherit; background: #fff; }
.chat-composer button { background: var(--teal); }
.chat-footer { display: flex; justify-content: center; align-items: center; gap: 5px; padding: 7px 8px; border-top: 1px solid var(--border); font-size: .75rem; }
@media (max-width: 740px) {
  .wrap { width: calc(100% - 32px); }
  .utility { font-size: .74rem; }
  .site-header { padding-block: 12px; }
  .site-header nav .nav-secondary { display: none; }
  .hero { grid-template-columns: 1fr; }
  .hero img { min-height: 0; aspect-ratio: 3 / 2; }
  .hero-copy { padding: 24px; }
}
