/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --slate:     #0F1F3D;
  --teal:      #14B8A6;
  --teal-light: #CCFBF1;
  --white:     #FFFFFF;
  --off-white: #F8FAFC;
  --text-dark: #0F1F3D;
  --text-mid:  #475569;
  --text-light:#94A3B8;
  --border:    #E2E8F0;
  --feature-bg:#F1F5F9;
}

html { scroll-behavior: smooth; }
body {
  font-family: 'DM Sans', -apple-system, sans-serif;
  background: var(--off-white);
  color: var(--text-dark);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a  { text-decoration: none; color: inherit; }

/* ===== NAV ===== */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(248,250,252,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1120px; margin: 0 auto;
  padding: 16px 24px;
  display: flex; align-items: center; gap: 12px;
}
.nav-logo { font-family: 'Instrument Serif', serif; font-size: 22px; color: var(--slate); }
.nav-tagline { font-size: 13px; color: var(--text-light); }
.nav-cta {
  margin-left: auto;
  background: var(--teal); color: var(--white);
  padding: 8px 18px; border-radius: 8px;
  font-weight: 600; font-size: 14px;
  cursor: pointer; border: none;
}
.nav-cta:hover { background: #0D9488; }

/* ===== HERO ===== */
.hero {
  max-width: 1120px; margin: 0 auto;
  padding: 88px 24px 64px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center;
}
.hero-content { max-width: 520px; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 500; letter-spacing: 1.5px;
  text-transform: uppercase; color: var(--teal); margin-bottom: 24px;
}
.eyebrow-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--teal); flex-shrink: 0; }
.hero-headline {
  font-family: 'Instrument Serif', serif;
  font-size: clamp(36px, 4.5vw, 58px);
  line-height: 1.1; color: var(--slate); letter-spacing: -1px;
}
.hero-sub {
  font-size: 18px; color: var(--text-mid); line-height: 1.6;
  margin: 20px 0 36px;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.btn-primary {
  background: var(--teal); color: var(--white); padding: 14px 28px;
  border-radius: 10px; font-weight: 600; font-size: 16px; border: none;
  cursor: pointer; display: inline-flex; align-items: center; gap: 8px;
}
.btn-primary:hover { background: #0D9488; }
.btn-secondary {
  background: var(--white); color: var(--slate); padding: 14px 28px;
  border-radius: 10px; font-weight: 600; font-size: 16px;
  border: 1.5px solid var(--border); cursor: pointer;
}
.btn-secondary:hover { border-color: var(--teal); color: var(--teal); }
.hero-trust { display: flex; align-items: center; gap: 8px; margin-top: 20px; font-size: 13px; color: var(--text-light); }
.hero-image { border-radius: 16px; overflow: hidden; box-shadow: 0 20px 60px rgba(15,31,61,.12); }

/* ===== FEATURES ===== */
.features { background: var(--feature-bg); padding: 80px 24px; }
.features-inner { max-width: 1120px; margin: 0 auto; }
.section-label {
  font-size: 12px; font-weight: 500; letter-spacing: 1.5px;
  text-transform: uppercase; color: var(--teal); margin-bottom: 12px; text-align: center;
}
.section-headline {
  font-family: 'Instrument Serif', serif;
  font-size: 36px; color: var(--slate); text-align: center;
  letter-spacing: -0.5px; margin-bottom: 48px;
}
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature-card {
  background: var(--white); border-radius: 16px; padding: 32px;
  border: 1px solid var(--border);
}
.feature-icon {
  width: 48px; height: 48px; border-radius: 12px;
  background: var(--teal-light); display: flex;
  align-items: center; justify-content: center; font-size: 22px; margin-bottom: 16px;
}
.feature-title { font-size: 18px; font-weight: 700; color: var(--slate); margin-bottom: 8px; }
.feature-desc { font-size: 14px; color: var(--text-mid); line-height: 1.6; }

/* ===== HOURS SECTION ===== */
.hours-section { padding: 80px 24px; max-width: 1120px; margin: 0 auto; }
.hours-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.hours-list { list-style: none; }
.hours-list li {
  display: flex; justify-content: space-between;
  padding: 12px 0; border-bottom: 1px solid var(--border);
  font-size: 15px; color: var(--text-mid);
}
.hours-list li span { color: var(--teal); font-weight: 600; }

/* ===== CTA SECTION ===== */
.cta-section {
  background: var(--slate); color: var(--white);
  padding: 80px 24px; text-align: center;
}
.cta-headline {
  font-family: 'Instrument Serif', serif;
  font-size: 40px; letter-spacing: -0.5px; margin-bottom: 16px;
}
.cta-sub { color: rgba(255,255,255,.7); font-size: 18px; margin-bottom: 36px; }
.btn-white { background: var(--white); color: var(--slate); padding: 14px 32px; border-radius: 10px; font-weight: 600; font-size: 16px; border: none; cursor: pointer; }

/* ===== FOOTER ===== */
.footer { background: #070F1F; color: rgba(255,255,255,.5); padding: 24px; text-align: center; font-size: 13px; }

/* ===== CHAT WIDGET ===== */
#chat-widget {
  position: fixed; bottom: 24px; right: 24px; z-index: 999;
  font-family: 'DM Sans', sans-serif;
}
#chat-toggle {
  width: 60px; height: 60px; border-radius: 50%;
  background: var(--teal); color: var(--white);
  border: none; cursor: pointer; font-size: 28px;
  box-shadow: 0 4px 20px rgba(20,184,166,.4);
  display: flex; align-items: center; justify-content: center;
  transition: transform .2s, background .2s;
}
#chat-toggle:hover { transform: scale(1.08); background: #0D9488; }
#chat-window {
  display: none; position: absolute; bottom: 70px; right: 0;
  width: 380px; height: 520px;
  background: var(--white); border-radius: 16px;
  box-shadow: 0 8px 40px rgba(0,0,0,.15);
  flex-direction: column; overflow: hidden;
}
#chat-window.open { display: flex; }
.chat-header {
  background: var(--slate); color: var(--white);
  padding: 16px 20px; display: flex; align-items: center; gap: 12px;
}
.chat-header-icon { width: 36px; height: 36px; border-radius: 50%; background: var(--teal); display: flex; align-items: center; justify-content: center; font-size: 18px; }
.chat-header-info h3 { font-size: 15px; font-weight: 700; }
.chat-header-info span { font-size: 12px; opacity: .7; }
.chat-messages { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.msg { max-width: 80%; padding: 10px 14px; border-radius: 12px; font-size: 14px; line-height: 1.5; }
.msg.bot { background: var(--feature-bg); color: var(--text-dark); align-self: flex-start; border-bottom-left-radius: 4px; }
.msg.user { background: var(--teal); color: var(--white); align-self: flex-end; border-bottom-right-radius: 4px; }
.msg p { margin: 0; white-space: pre-wrap; }
.chat-input-area { padding: 12px; border-top: 1px solid var(--border); display: flex; gap: 8px; }
.chat-input {
  flex: 1; padding: 10px 14px; border: 1.5px solid var(--border);
  border-radius: 10px; font-size: 14px; font-family: inherit; outline: none;
}
.chat-input:focus { border-color: var(--teal); }
.chat-send {
  background: var(--teal); color: var(--white); border: none;
  border-radius: 10px; padding: 10px 16px; cursor: pointer; font-weight: 600; font-size: 14px;
}
.chat-send:hover { background: #0D9488; }

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .hero { grid-template-columns: 1fr; padding: 48px 24px; }
  .hero-image { display: none; }
  .features-grid { grid-template-columns: 1fr; }
  .hours-grid { grid-template-columns: 1fr; }
  #chat-window { width: calc(100vw - 48px); right: -12px; }
}