/* ============================================================
   Hope Horizon Holdings LLC — Shared Stylesheet
   Palette: warm neutrals with terracotta + sage accents
   ============================================================ */

:root {
  --cream: #FAF7F2;        /* page background */
  --sand: #EFE9E0;         /* alt section background */
  --stone: #D8CFC2;        /* borders, dividers */
  --ink: #3E3A36;          /* primary text */
  --ink-soft: #6B645C;     /* secondary text */
  --terracotta: #C97B5A;   /* primary accent */
  --terracotta-dark: #A95F42;
  --sage: #8A9A8B;         /* secondary accent */
  --sage-dark: #6E7F70;
  --gold: #8A6F4D;         /* small-caps detail */
  --radius: 14px;
  --shadow: 0 6px 24px rgba(62, 58, 54, 0.10);
  --maxw: 1100px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', Verdana, Geneva, sans-serif;
  background: var(--cream);
  color: var(--ink);
  line-height: 1.65;
  font-size: 17px;
}

h1, h2, h3, .serif {
  font-family: 'Fraunces', Georgia, 'Times New Roman', serif;
  font-weight: 600;
  line-height: 1.2;
}

h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.2rem); margin-bottom: 0.75rem; }
h3 { font-size: 1.25rem; margin-bottom: 0.5rem; }

p { margin-bottom: 1rem; }

a { color: var(--terracotta-dark); }

img, svg { max-width: 100%; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 1.25rem; }

/* ---------- Header / Nav ---------- */
.site-header {
  background: var(--cream);
  border-bottom: 1px solid var(--stone);
  position: sticky; top: 0; z-index: 50;
}
.nav-wrap {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.7rem 1.25rem; max-width: var(--maxw); margin: 0 auto;
}
.brand { display: flex; align-items: center; gap: 0.6rem; text-decoration: none; }
.brand svg { height: 52px; width: auto; }

.main-nav ul { display: flex; gap: 1.5rem; list-style: none; }
.main-nav a {
  text-decoration: none; color: var(--ink); font-weight: 500; font-size: 0.95rem;
  padding: 0.4rem 0.2rem; border-bottom: 2px solid transparent;
}
.main-nav a:hover { border-bottom-color: var(--terracotta); }
.main-nav a[aria-current="page"] { border-bottom-color: var(--terracotta); color: var(--terracotta-dark); }

.nav-toggle { display: none; background: none; border: 1px solid var(--stone); border-radius: 8px; padding: 0.4rem 0.7rem; font-size: 1.2rem; cursor: pointer; color: var(--ink); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; text-decoration: none; font-weight: 600;
  padding: 0.8rem 1.6rem; border-radius: 999px; font-size: 1rem;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-primary { background: var(--terracotta); color: #fff; }
.btn-primary:hover { background: var(--terracotta-dark); }
.btn-secondary { background: transparent; color: var(--ink); border: 2px solid var(--sage-dark); }
.btn-secondary:hover { background: var(--sage); color: #fff; border-color: var(--sage); }

/* ---------- Hero (with looping background video) ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 4.5rem 0 4rem;
  background: var(--cream);
  text-align: center;
}
.hero-video {
  position: absolute; inset: 0; z-index: 0;
}
.hero-video video {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.hero-video::after {
  /* cream overlay keeps the neutral palette + text readable */
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(250,247,242,0.88) 0%, rgba(250,247,242,0.78) 55%, rgba(250,247,242,0.92) 100%);
}
.hero > .container { position: relative; z-index: 1; }
@media (prefers-reduced-motion: reduce) {
  .hero-video video { display: none; }
}
.hero .eyebrow {
  display: inline-block; font-size: 0.8rem; letter-spacing: 3px; text-transform: uppercase;
  color: var(--gold); font-weight: 600; margin-bottom: 1rem;
}
.hero p.lede { font-size: 1.2rem; color: var(--ink-soft); max-width: 680px; margin: 1.25rem auto 2rem; }
.hero-ctas { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ---------- Sections ---------- */
section { padding: 3.5rem 0; }
section.alt { background: var(--sand); }
.section-intro { max-width: 720px; color: var(--ink-soft); margin-bottom: 2rem; }

/* ---------- Cards ---------- */
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; }
.card {
  background: #fff; border: 1px solid var(--stone); border-radius: var(--radius);
  padding: 1.75rem; box-shadow: 0 2px 10px rgba(62,58,54,0.05);
}
.card .icon {
  width: 52px; height: 52px; border-radius: 12px; display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; margin-bottom: 1rem; background: var(--sand);
}
.card.accent-terracotta .icon { background: rgba(201,123,90,0.15); }
.card.accent-sage .icon { background: rgba(138,154,139,0.2); }
.card ul { margin: 0.5rem 0 0 1.2rem; color: var(--ink-soft); }
.card ul li { margin-bottom: 0.35rem; }

/* ---------- Two-column ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }

/* ---------- Stats band ---------- */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1.5rem; text-align: center; }
.stats .stat strong { display: block; font-size: 2.2rem; font-family: 'Fraunces', Georgia, serif; color: var(--terracotta-dark); }
.stats .stat span { color: var(--ink-soft); font-size: 0.95rem; }

/* ---------- FAQ ---------- */
.faq details {
  background: #fff; border: 1px solid var(--stone); border-radius: var(--radius);
  margin-bottom: 0.9rem; overflow: hidden;
}
.faq summary {
  cursor: pointer; font-weight: 600; padding: 1.1rem 1.4rem; list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; color: var(--terracotta); flex-shrink: 0; }
.faq details[open] summary::after { content: "–"; }
.faq .faq-answer { padding: 0 1.4rem 1.2rem; color: var(--ink-soft); }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--sage-dark), var(--sage));
  color: #fff; text-align: center; border-radius: var(--radius);
  padding: 3rem 2rem; margin: 0 1.25rem;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,0.9); max-width: 600px; margin: 0.75rem auto 1.5rem; }
.cta-band .btn-primary { background: #fff; color: var(--sage-dark); }
.cta-band .btn-primary:hover { background: var(--cream); }

/* ---------- Service area chips ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1rem; }
.chips span {
  background: #fff; border: 1px solid var(--stone); border-radius: 999px;
  padding: 0.35rem 0.95rem; font-size: 0.9rem; color: var(--ink-soft);
}

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 3rem; }
.contact-card { background: #fff; border: 1px solid var(--stone); border-radius: var(--radius); padding: 2rem; }
.contact-card dl dt { font-weight: 600; margin-top: 1rem; color: var(--gold); font-size: 0.8rem; letter-spacing: 2px; text-transform: uppercase; }
.contact-card dl dd { margin-left: 0; font-size: 1.05rem; }

form .field { margin-bottom: 1.1rem; }
form label { display: block; font-weight: 600; margin-bottom: 0.35rem; font-size: 0.95rem; }
form input, form select, form textarea {
  width: 100%; padding: 0.75rem 0.9rem; border: 1px solid var(--stone); border-radius: 10px;
  font-family: inherit; font-size: 1rem; background: #fff; color: var(--ink);
}
form input:focus, form select:focus, form textarea:focus { outline: 2px solid var(--terracotta); border-color: var(--terracotta); }

/* ---------- Callouts ---------- */
.callout {
  background: #fff; border-left: 5px solid var(--terracotta);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1.5rem 1.75rem; margin: 2rem 0; box-shadow: var(--shadow);
}
.callout p { margin: 0; font-family: 'Fraunces', Georgia, serif; font-size: 1.3rem; color: var(--ink); }
.disclaimer-box {
  background: var(--sand); border: 1px solid var(--stone); border-radius: var(--radius);
  padding: 1.1rem 1.4rem; margin-top: 2rem; font-size: 0.9rem; color: var(--ink-soft);
}
.check-list { list-style: none; margin: 1rem 0 0; }
.check-list li { padding-left: 1.7rem; position: relative; margin-bottom: 0.55rem; color: var(--ink-soft); }
.check-list li::before { content: "✓"; position: absolute; left: 0; color: var(--sage-dark); font-weight: 700; }

/* ---------- Photos ---------- */
.photo {
  width: 100%; height: auto; display: block;
  border-radius: var(--radius); box-shadow: var(--shadow);
  object-fit: cover;
}
.photo-tall { aspect-ratio: 4 / 3; }
.card .photo { margin-bottom: 1.1rem; aspect-ratio: 16 / 10; }

/* ---------- Breadcrumbs ---------- */
.breadcrumbs { font-size: 0.85rem; color: var(--ink-soft); padding: 1rem 0 0; }
.breadcrumbs ol { list-style: none; display: flex; gap: 0.5rem; flex-wrap: wrap; }
.breadcrumbs li + li::before { content: "›"; margin-right: 0.5rem; color: var(--stone); }
.breadcrumbs a { color: var(--ink-soft); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #CFC8BF; padding: 3rem 0 2rem; margin-top: 3.5rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2.5rem; }
.site-footer h4 { color: #fff; margin-bottom: 0.75rem; font-size: 1rem; }
.site-footer a { color: #CFC8BF; text-decoration: none; }
.site-footer a:hover { color: #fff; }
.site-footer ul { list-style: none; }
.site-footer ul li { margin-bottom: 0.45rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.15); margin-top: 2rem; padding-top: 1.25rem; font-size: 0.85rem; color: #9C958C; }
.footer-bottom .disclaimer { font-size: 0.78rem; margin-top: 0.5rem; }

/* ---------- Responsive ---------- */
@media (max-width: 820px) {
  .split, .contact-grid, .footer-grid { grid-template-columns: 1fr; }
  .nav-toggle { display: block; }
  .main-nav { display: none; width: 100%; }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; gap: 0; padding: 0.5rem 0; }
  .main-nav a { display: block; padding: 0.8rem 0.5rem; }
  .nav-wrap { flex-wrap: wrap; }
}
