:root {
  --ink: #17342f;
  --ink-soft: #3f5b55;
  --teal: #006c62;
  --teal-deep: #024e47;
  --gold: #d99924;
  --gold-soft: #f8e8be;
  --sage: #dce8dc;
  --sage-light: #eef4ee;
  --paper: #fbfbf7;
  --white: #ffffff;
  --line: #d8ddd7;
  --shadow: 0 18px 48px rgba(20, 48, 43, 0.16);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 128px;
  padding: 0 9vw;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(23, 52, 47, 0.12);
  backdrop-filter: blur(12px);
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand {
  flex: 0 0 auto;
}

.brand-logo {
  display: block;
  width: clamp(108px, 10vw, 142px);
  height: auto;
  object-fit: contain;
}

.nav-links,
.site-footer nav {
  display: flex;
  gap: clamp(18px, 3vw, 42px);
  align-items: center;
}

.nav-links a,
.site-footer a {
  font-size: 0.98rem;
  font-weight: 650;
  text-decoration: none;
}

.nav-links a {
  position: relative;
  padding: 26px 0 22px;
}

.nav-links a::after {
  position: absolute;
  right: 0;
  bottom: 18px;
  left: 0;
  height: 2px;
  background: var(--teal);
  content: "";
  opacity: 0;
  transform: scaleX(0.4);
  transition: 180ms ease;
}

.nav-links a:hover::after,
.nav-links a:focus-visible::after {
  opacity: 1;
  transform: scaleX(1);
}

.hero {
  position: relative;
  min-height: clamp(560px, calc(100vh - 96px), 860px);
  overflow: hidden;
  display: grid;
  align-items: center;
}

.hero-image,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(7, 24, 18, 0.8) 0%, rgba(7, 24, 18, 0.58) 34%, rgba(7, 24, 18, 0.1) 72%),
    linear-gradient(0deg, rgba(217, 153, 36, 0.12), rgba(5, 24, 20, 0.04));
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 620px;
  margin-left: 9vw;
  padding: 72px 0;
  color: white;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: 0;
}

h1 {
  margin-bottom: 20px;
  font-size: clamp(3rem, 6.6vw, 6.5rem);
  line-height: 0.92;
}

.hero-content p {
  max-width: 520px;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.12rem;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 30px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  font: inherit;
  font-weight: 750;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button-primary {
  color: white;
  background: linear-gradient(135deg, var(--teal), #078171);
  box-shadow: 0 12px 28px rgba(0, 77, 69, 0.25);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--teal-deep);
}

.button-secondary {
  color: white;
  border-color: rgba(255, 255, 255, 0.75);
  background: rgba(0, 0, 0, 0.18);
}

.section {
  padding: clamp(48px, 7vw, 88px) 9vw;
}

.section-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(320px, 1.1fr);
  gap: clamp(34px, 5vw, 70px);
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.photo-panel {
  min-height: 330px;
  overflow: hidden;
  border-radius: var(--radius);
  background: linear-gradient(135deg, #efe6dc, #c7d9ca);
  box-shadow: var(--shadow);
}

.photo-room {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 330px;
  background:
    radial-gradient(circle at 88% 24%, #f9faf5 0 8%, transparent 9%),
    linear-gradient(90deg, rgba(28, 70, 60, 0.11), rgba(255, 255, 255, 0.05)),
    linear-gradient(180deg, transparent 0 58%, rgba(83, 70, 49, 0.16) 59% 100%),
    linear-gradient(90deg, #eee7dd 0 12%, #fffdf8 12% 32%, #dde9df 32% 68%, #faf7ef 68% 100%);
}

.photo-room::before {
  position: absolute;
  right: 9%;
  bottom: 22%;
  width: 54%;
  height: 28%;
  border-radius: 8px 8px 18px 18px;
  background: #d6d0c4;
  border: 6px solid #f7f4ec;
  box-shadow: 0 22px 0 #735d44;
  content: "";
}

.photo-room::after {
  position: absolute;
  right: 15%;
  bottom: 12%;
  width: 18%;
  height: 18%;
  border-radius: 50% 50% 8px 8px;
  background: #6e8b6b;
  box-shadow: -95px 15px 0 -18px #c6c0b4, 74px -116px 0 -26px #6f8c6c;
  content: "";
}

.frame-note {
  position: absolute;
  top: 44px;
  left: 48px;
  display: grid;
  width: 94px;
  height: 104px;
  place-items: center;
  border: 6px solid var(--gold);
  background: #fffaf0;
  color: #4a392b;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1rem;
  font-style: italic;
  line-height: 1.15;
  text-align: center;
}

.section-copy h2,
.section-heading h2,
.contact-copy h2 {
  margin-bottom: 12px;
  color: var(--teal-deep);
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1.05;
}

.section-copy h2::after,
.section-heading h2::after,
.contact-copy h2::after {
  display: block;
  width: 72px;
  height: 3px;
  margin-top: 14px;
  background: var(--gold);
  content: "";
}

.section-heading h2::after {
  margin-right: auto;
  margin-left: auto;
}

.section-copy > p,
.section-heading p,
.contact-copy p {
  color: var(--ink-soft);
  font-size: 1.04rem;
  line-height: 1.65;
}

.support-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px 36px;
  margin-top: 30px;
}

.support-list article {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 14px;
}

.icon svg {
  width: 32px;
  height: 32px;
  color: var(--teal);
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.support-list h3,
.feature-card h3,
.timeline h3 {
  margin-bottom: 6px;
  font-size: 1rem;
}

.support-list p,
.timeline p {
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: 0.95rem;
  line-height: 1.45;
}

.features-section {
  background: linear-gradient(180deg, var(--sage-light), #f8faf4);
}

.section-heading {
  max-width: 740px;
  margin: 0 auto 34px;
  text-align: center;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(120px, 1fr));
  gap: 18px;
  max-width: 1200px;
  margin: 0 auto;
}

.feature-card {
  min-height: 140px;
  display: grid;
  align-content: center;
  gap: 14px;
  padding: 22px 16px;
  border: 1px solid rgba(23, 52, 47, 0.1);
  border-radius: var(--radius);
  background: white;
  box-shadow: 0 12px 24px rgba(43, 66, 58, 0.08);
  text-align: center;
}

.feature-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  margin: 0 auto;
  border: 1px solid rgba(0, 108, 98, 0.28);
  border-radius: 999px;
  color: var(--teal);
  font-size: 0.68rem;
  font-weight: 850;
}

.daily-section {
  padding: clamp(44px, 6vw, 76px) 9vw;
  background: white;
}

.ai-callout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  padding: clamp(34px, 5vw, 56px) 9vw;
  color: white;
  background:
    linear-gradient(135deg, rgba(2, 78, 71, 0.95), rgba(8, 87, 77, 0.92)),
    linear-gradient(90deg, rgba(217, 153, 36, 0.2), transparent);
}

.ai-callout h2 {
  margin-bottom: 8px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.9rem, 3vw, 2.8rem);
  line-height: 1.05;
}

.ai-callout p {
  max-width: 820px;
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.02rem;
  line-height: 1.6;
}

.ai-callout .button {
  min-width: 160px;
  background: var(--gold);
  box-shadow: 0 14px 30px rgba(9, 45, 40, 0.28);
}

.ai-callout .button:hover,
.ai-callout .button:focus-visible {
  background: #c98715;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(5, minmax(160px, 1fr));
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.timeline article {
  position: relative;
  padding: 18px 10px 8px 26px;
  border-left: 2px solid var(--sage);
}

.timeline article::before {
  position: absolute;
  top: 22px;
  left: -7px;
  width: 12px;
  height: 12px;
  border: 2px solid var(--teal);
  border-radius: 50%;
  background: white;
  content: "";
}

.timeline time {
  display: block;
  margin-bottom: 8px;
  color: var(--teal-deep);
  font-size: 0.9rem;
  font-weight: 850;
}

.contact-section {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: clamp(28px, 5vw, 80px);
  padding: clamp(44px, 6vw, 78px) 9vw;
  background: var(--paper);
}

.contact-form {
  display: grid;
  gap: 14px;
}

.contact-details {
  display: grid;
  gap: 14px;
  margin-top: 26px;
}

.contact-details a,
.contact-details address {
  display: block;
  margin: 0;
  padding-left: 16px;
  border-left: 3px solid var(--teal);
  color: var(--ink);
  font-style: normal;
  font-weight: 750;
  line-height: 1.45;
  text-decoration: none;
}

.contact-details span {
  display: block;
  margin-bottom: 2px;
  color: var(--ink-soft);
  font-size: 0.82rem;
  font-weight: 850;
  text-transform: uppercase;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

label {
  display: grid;
  gap: 7px;
}

label span {
  color: var(--ink-soft);
  font-size: 0.86rem;
  font-weight: 750;
}

input,
textarea {
  width: 100%;
  border: 1px solid #cfd6cf;
  border-radius: var(--radius);
  background: white;
  color: var(--ink);
  font: inherit;
  outline: none;
}

input {
  height: 48px;
  padding: 0 14px;
}

textarea {
  min-height: 108px;
  padding: 13px 14px;
  resize: vertical;
}

input:focus,
textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(0, 108, 98, 0.12);
}

.contact-form .button {
  width: min(260px, 100%);
  justify-self: start;
}

.form-status {
  min-height: 22px;
  margin: 0;
  color: var(--teal-deep);
  font-weight: 700;
}

.site-footer {
  display: grid;
  grid-template-columns: 1.2fr 1fr auto;
  gap: 28px;
  align-items: center;
  padding: 34px 9vw;
  color: white;
  background: var(--teal-deep);
}

.footer-logo {
  display: block;
  width: min(170px, 100%);
  object-fit: contain;
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.22));
}

.site-footer p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
}

.footer-contact {
  display: grid;
  gap: 6px;
  color: rgba(255, 255, 255, 0.86);
  line-height: 1.35;
}

.footer-contact a {
  color: white;
  font-weight: 750;
  text-decoration: none;
}

.footer-contact address {
  margin: 0;
  font-style: normal;
}

.chat-widget {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 30;
  width: min(360px, calc(100vw - 28px));
  border-radius: 14px;
  overflow: hidden;
  background: white;
  box-shadow: 0 24px 70px rgba(3, 34, 30, 0.32);
}

.chat-toggle {
  width: 100%;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 18px;
  border: 0;
  color: white;
  background: var(--teal-deep);
  cursor: pointer;
  font: inherit;
  font-weight: 850;
}

.chat-panel {
  display: grid;
  grid-template-rows: 1fr auto;
  height: 410px;
  border: 1px solid rgba(2, 78, 71, 0.18);
  border-top: 0;
}

.chat-widget.is-collapsed .chat-panel {
  display: none;
}

.chat-messages {
  display: flex;
  flex-direction: column;
  gap: 13px;
  overflow-y: auto;
  padding: 18px;
  background: #fbfcfb;
}

.message {
  max-width: 82%;
}

.message p {
  margin-bottom: 5px;
  padding: 12px 14px;
  border-radius: 14px;
  color: #1f302c;
  font-size: 0.93rem;
  line-height: 1.4;
}

.message time {
  display: block;
  color: #74817d;
  font-size: 0.73rem;
}

.message.agent p {
  background: #ebeceb;
  border-bottom-left-radius: 4px;
}

.message.is-pending p {
  color: #66736f;
  font-style: italic;
}

.message.visitor {
  align-self: flex-end;
}

.message.visitor p {
  background: var(--sage);
  border-bottom-right-radius: 4px;
}

.message.visitor time {
  text-align: right;
}

.chat-form {
  display: grid;
  grid-template-columns: 1fr 42px;
  gap: 8px;
  padding: 12px;
  border-top: 1px solid #e1e5df;
}

.chat-form input {
  height: 42px;
}

.chat-form button {
  display: grid;
  place-items: center;
  border: 0;
  border-radius: var(--radius);
  color: white;
  background: var(--teal);
  cursor: pointer;
}

.chat-form button:disabled,
.chat-form input:disabled {
  cursor: wait;
  opacity: 0.72;
}

.chat-form svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

@media (max-width: 980px) {
  .site-header {
    padding: 0 5vw;
  }

  .nav-links {
    gap: 18px;
  }

  .hero-content {
    margin: 0 5vw;
  }

  .section,
  .daily-section,
  .ai-callout,
  .contact-section {
    padding-right: 5vw;
    padding-left: 5vw;
  }

  .section-grid,
  .ai-callout,
  .contact-section,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .feature-grid {
    grid-template-columns: repeat(3, minmax(150px, 1fr));
  }

  .timeline {
    grid-template-columns: repeat(2, minmax(180px, 1fr));
  }

}

@media (max-width: 680px) {
  .site-header {
    position: static;
    min-height: auto;
    display: grid;
    gap: 8px;
    padding-top: 10px;
    padding-bottom: 14px;
  }

  .brand {
    justify-self: center;
  }

  .brand-logo {
    width: 128px;
  }

  .nav-links {
    justify-content: center;
    width: 100%;
    gap: 18px;
  }

  .nav-links a {
    padding: 8px 0;
    font-size: 0.9rem;
  }

  .nav-links a::after {
    bottom: 2px;
  }

  .hero {
    min-height: 560px;
  }

  .hero-shade {
    background: linear-gradient(90deg, rgba(7, 24, 18, 0.82), rgba(7, 24, 18, 0.42));
  }

  .hero-content p {
    font-size: 1rem;
  }

  .support-list,
  .feature-grid,
  .timeline,
  .form-row {
    grid-template-columns: 1fr;
  }

  .ai-callout .button {
    width: 100%;
  }

  .photo-panel,
  .photo-room {
    min-height: 250px;
  }

  .site-footer nav {
    flex-wrap: wrap;
  }

  .chat-widget {
    right: 14px;
    bottom: 14px;
  }

  .chat-panel {
    height: 360px;
  }
}
