/* ─── RESET ─────────────────────────────────────────────── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
img, svg { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; }

/* ─── INLINE SVG ICONS ───────────────────────────────────── */
/* Override block reset for icons nested inside .ti elements  */
.ti > svg { display: inline-block; width: 1em; height: 1em; max-width: none; vertical-align: -0.125em; flex-shrink: 0; }

/* ─── VARIABLES ─────────────────────────────────────────── */
:root {
  --tan:        #F8F4EE;
  --tan-deep:   #EEE8DC;
  --tan-mid:    #E5DDD0;
  --blue:       #1E3A5F;
  --blue-mid:   #2C5282;
  --blue-soft:  rgba(30,58,95,0.55);
  --blue-faint: #E8EFF7;
  --gold:       #B5852A;
  --gold-pale:  #F5EAD4;
  --border:     rgba(30,58,95,0.09);
  --white:      #ffffff;
  --green:      #4A8C6A;
  --red:        #C0392B;
  --shadow:     0 1px 3px rgba(30,58,95,0.08), 0 4px 16px rgba(30,58,95,0.06);
}

/* ─── BASE ───────────────────────────────────────────────── */
html  { scroll-behavior: smooth; font-size: 16px; }
body  {
  font-family: 'Outfit', sans-serif;
  background: var(--tan);
  color: var(--blue);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  opacity: 0;
  animation: pageFadeIn 0.4s ease forwards;
}
@keyframes pageFadeIn { to { opacity: 1; } }

/* ─── TYPOGRAPHY ─────────────────────────────────────────── */
h1, h2, h3, h4 { font-family: 'Lora', serif; font-weight: 400; line-height: 1.2; color: var(--blue); }
h1 { font-size: clamp(34px, 5vw, 58px); letter-spacing: -1px; font-weight: 300; }
h2 { font-size: clamp(26px, 3.5vw, 40px); letter-spacing: -0.5px; font-weight: 300; }
h3 { font-size: clamp(20px, 2.5vw, 26px); font-weight: 400; }
h4 { font-size: 18px; font-weight: 400; }
p  { line-height: 1.75; color: var(--blue-soft); }
a  { color: inherit; }

/* ─── SCROLL REVEAL ─────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.visible { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: 0.1s; }
.reveal-d2 { transition-delay: 0.2s; }
.reveal-d3 { transition-delay: 0.3s; }
.reveal-d4 { transition-delay: 0.4s; }

/* ─── NAV ────────────────────────────────────────────────── */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 300;
  background: var(--tan);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.25s ease;
}
.site-nav.scrolled { box-shadow: 0 2px 12px rgba(30,58,95,0.08); }

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2.5rem;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.nav-logo, .logo {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  flex-shrink: 0;
}
.nav-logo-wordmark, .logo-wordmark {
  font-family: 'Outfit', sans-serif;
  font-weight: 300;
  font-size: 21px;
  letter-spacing: 1.5px;
  color: var(--blue);
}
.footer-wordmark { color: var(--tan); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
  flex: 1;
  justify-content: center;
}
.nav-links a {
  font-size: 13px;
  font-weight: 300;
  color: var(--blue-soft);
  text-decoration: none;
  padding: 0.45rem 0.85rem;
  border-radius: 4px;
  transition: color 0.2s, background 0.2s;
  white-space: nowrap;
}
.nav-links a:hover { color: var(--blue); background: rgba(30,58,95,0.04); }
.nav-links a.active { color: var(--blue); font-weight: 400; }

.nav-cta-btn {
  font-family: 'Outfit', sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: var(--tan);
  background: var(--blue);
  padding: 0.6rem 1.35rem;
  border-radius: 5px;
  text-decoration: none;
  white-space: nowrap;
  transition: opacity 0.2s;
  flex-shrink: 0;
}
.nav-cta-btn:hover { opacity: 0.85; }

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
}
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--blue);
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
  transform-origin: center;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--tan);
  z-index: 290;
  flex-direction: column;
  padding: 5.5rem 2rem 2rem;
  overflow-y: auto;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-size: 22px;
  font-weight: 300;
  color: var(--blue);
  text-decoration: none;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
  transition: color 0.2s;
}
.mobile-menu a:hover { color: var(--gold); }
.mobile-menu .mobile-cta {
  margin-top: 2rem;
  background: var(--blue);
  color: var(--tan);
  text-align: center;
  padding: 1rem;
  border-radius: 6px;
  border-bottom: none;
  font-size: 15px;
  font-weight: 500;
}

/* ─── FOOTER ─────────────────────────────────────────────── */
.site-footer {
  background: var(--blue);
  padding: 4rem 2.5rem 2rem;
}
.footer-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(248,244,238,0.1);
}
.footer-brand .nav-logo-wordmark, .footer-brand .logo-wordmark { color: var(--tan); }
.footer-brand p {
  font-size: 13px;
  color: rgba(248,244,238,0.4);
  line-height: 1.7;
  font-weight: 300;
  margin-top: 0.85rem;
  max-width: 220px;
}
.footer-col h5 {
  font-family: 'Outfit', sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(248,244,238,0.35);
  margin-bottom: 1.25rem;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.6rem; }
.footer-col ul a {
  font-size: 13px;
  font-weight: 300;
  color: rgba(248,244,238,0.55);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-col ul a:hover { color: var(--tan); }
.footer-bottom {
  max-width: 1200px;
  margin: 1.75rem auto 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-copy { font-size: 12px; color: rgba(248,244,238,0.2); }
.footer-legal { display: flex; gap: 1.5rem; }
.footer-legal a {
  font-size: 12px;
  color: rgba(248,244,238,0.25);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-legal a:hover { color: rgba(248,244,238,0.6); }

/* ─── BUTTONS ────────────────────────────────────────────── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: var(--blue);
  color: var(--tan);
  font-family: 'Outfit', sans-serif;
  font-size: 14px;
  font-weight: 500;
  padding: 0.85rem 1.85rem;
  border-radius: 5px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: opacity 0.2s;
  min-height: 44px;
  white-space: nowrap;
}
.btn-primary:hover { opacity: 0.85; }

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: transparent;
  color: var(--blue);
  font-family: 'Outfit', sans-serif;
  font-size: 14px;
  font-weight: 400;
  padding: 0.85rem 1.85rem;
  border-radius: 5px;
  text-decoration: none;
  border: 1px solid rgba(30,58,95,0.2);
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
  min-height: 44px;
  white-space: nowrap;
}
.btn-secondary:hover { border-color: var(--blue-soft); background: rgba(30,58,95,0.03); }

.btn-gold {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--gold);
  color: var(--white);
  font-family: 'Outfit', sans-serif;
  font-size: 14px;
  font-weight: 500;
  padding: 0.85rem 1.85rem;
  border-radius: 5px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: opacity 0.2s;
  min-height: 44px;
}
.btn-gold:hover { opacity: 0.88; }

/* ─── SECTION ANATOMY ────────────────────────────────────── */
.section-label {
  font-family: 'Outfit', sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}
.gold-rule { width: 32px; height: 1.5px; background: var(--gold); margin-bottom: 2rem; }
.section-inner { max-width: 1200px; margin: 0 auto; padding: 0 2.5rem; }
.section-inner-narrow { max-width: 780px; margin: 0 auto; padding: 0 2.5rem; }

/* ─── CARDS ──────────────────────────────────────────────── */
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 2rem;
}
.card-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gold);
  background: var(--gold-pale);
  padding: 0.35rem 0.75rem;
  border-radius: 4px;
  margin-bottom: 1rem;
}

/* ─── PILL/BADGE ─────────────────────────────────────────── */
.tag-pill {
  display: inline-flex;
  align-items: center;
  font-size: 11px;
  font-weight: 400;
  color: var(--blue-soft);
  background: var(--tan-deep);
  border: 1px solid var(--border);
  padding: 0.25rem 0.6rem;
  border-radius: 20px;
}

/* ─── FORMS ──────────────────────────────────────────────── */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.form-group label {
  font-size: 12px;
  font-weight: 500;
  color: var(--blue);
  letter-spacing: 0.3px;
}
.form-group input,
.form-group select,
.form-group textarea {
  font-family: 'Outfit', sans-serif;
  font-size: 14px;
  font-weight: 300;
  color: var(--blue);
  background: var(--tan);
  border: 1px solid rgba(30,58,95,0.15);
  border-radius: 5px;
  padding: 0.75rem 0.9rem;
  outline: none;
  transition: border-color 0.2s;
  width: 100%;
  min-height: 44px;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(30,58,95,0.28); }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--blue-mid); }
.form-group textarea { min-height: 120px; resize: vertical; }
.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%231E3A5F' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.9rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

/* ─── CHECKMARK LIST ─────────────────────────────────────── */
.check-list { list-style: none; display: flex; flex-direction: column; gap: 0.75rem; }
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 14px;
  color: var(--blue-soft);
  font-weight: 300;
  line-height: 1.6;
}
.check-list li::before {
  content: '';
  display: block;
  width: 16px;
  height: 16px;
  min-width: 16px;
  background: var(--green);
  border-radius: 50%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8l3 3 6-6' stroke='white' stroke-width='1.8' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-size: cover;
  margin-top: 2px;
}

/* ─── FAQ ─────────────────────────────────────────────────── */
.faq-item {
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}
.faq-question {
  width: 100%;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.35rem 0;
  font-family: 'Outfit', sans-serif;
  font-size: 15px;
  font-weight: 400;
  color: var(--blue);
  text-align: left;
  gap: 1rem;
}
.faq-question .faq-icon {
  width: 22px;
  height: 22px;
  min-width: 22px;
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: var(--blue-soft);
  transition: transform 0.25s;
  font-style: normal;
}
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-answer {
  font-size: 14px;
  color: var(--blue-soft);
  font-weight: 300;
  line-height: 1.8;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.25s ease;
}
.faq-item.open .faq-answer {
  max-height: 400px;
  padding-bottom: 1.35rem;
}

/* ─── PHONE MOCKUP ────────────────────────────────────────── */
.phone-mockup {
  background: var(--tan-deep);
  border-radius: 12px;
  border: 1px solid var(--border);
  overflow: hidden;
  max-width: 320px;
}
.phone-bar {
  background: var(--blue-faint);
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.phone-who  { font-size: 13px; font-weight: 500; color: var(--blue); }
.phone-room { font-size: 11px; color: var(--blue-soft); margin-top: 1px; }
.phone-body { padding: 0.75rem; display: flex; flex-direction: column; gap: 0.5rem; }
.phone-card {
  background: var(--white);
  border-radius: 7px;
  border: 1px solid var(--border);
  padding: 0.65rem 0.85rem;
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
}
.phone-card i { font-size: 13px; margin-top: 2px; flex-shrink: 0; }
.pc-ok   { color: var(--green); }
.pc-blue { color: var(--blue-mid); }
.pc-gold { color: var(--gold); }
.pc-red  { color: var(--red); }
.phone-card-t { font-size: 12px; font-weight: 500; color: var(--blue); }
.phone-card-b { font-size: 11px; color: var(--blue-soft); line-height: 1.45; margin-top: 1px; }

/* ─── STATS BAR ──────────────────────────────────────────── */
.stats-bar {
  background: var(--blue);
  padding: 2.5rem 2.5rem;
}
.stats-bar-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  text-align: center;
}
.stat-num {
  font-family: 'Lora', serif;
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 300;
  color: var(--tan);
  line-height: 1;
  margin-bottom: 0.5rem;
}
.stat-label {
  font-size: 13px;
  font-weight: 300;
  color: rgba(248,244,238,0.5);
  line-height: 1.5;
}
.stat-source {
  font-size: 10px;
  color: rgba(248,244,238,0.2);
  margin-top: 0.4rem;
  font-style: italic;
}

/* ─── RESPONSIVE ─────────────────────────────────────────── */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 768px) {
  .nav-links, .nav-cta-btn { display: none; }
  .nav-hamburger { display: flex; }
  .nav-inner { padding: 0 1.25rem; }
  .section-inner { padding: 0 1.25rem; }
  .section-inner-narrow { padding: 0 1.25rem; }
  .form-row { grid-template-columns: 1fr; }
  .stats-bar-inner { grid-template-columns: 1fr; gap: 1.5rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 0.75rem; }
  .site-footer { padding: 3rem 1.25rem 1.5rem; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  h1 { font-size: 30px; letter-spacing: -0.5px; }
}
