/* ==========================================================================
   Estate Prep Inc — corporate parent site
   Palette: navy-led with a single gold accent, warm cream secondary
   Type: Playfair Display (display) + Outfit (body) — matches brand family
   ========================================================================== */

:root {
  --navy:      #16243f;
  --navy-deep: #0f1a2e;
  --gold:      #c2a05a;
  --gold-deep: #a8853f;
  --cream:     #f5f0e6;
  --paper:     #fbf8f2;
  --ink:       #233047;
  --muted:     #5d6677;
  --line:      #e4dcc9;
  --white:     #ffffff;

  --maxw: 1080px;
  --r: 10px;
  --shadow: 0 18px 50px -28px rgba(15, 26, 46, 0.45);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Outfit", system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 700;
  line-height: 1.12;
  color: var(--navy);
  margin: 0 0 0.5em;
}

p { margin: 0 0 1rem; }
a { color: var(--gold-deep); }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

.eyebrow {
  font-size: 0.74rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--gold-deep);
  margin: 0 0 1rem;
}

/* --- gold oak seal ------------------------------------------------------- */
.seal { color: var(--gold); display: inline-block; line-height: 0; }
.seal svg { width: 100%; height: 100%; display: block; }

/* --- header -------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--navy-deep);
  border-bottom: 1px solid rgba(194, 160, 90, 0.25);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 70px;
}
.brand-lockup { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-lockup .seal { width: 34px; height: 34px; }
.brand-lockup .word {
  font-family: "Playfair Display", serif;
  color: var(--white);
  font-size: 1.18rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}
.brand-lockup .word span { color: var(--gold); }

.nav { display: flex; align-items: center; gap: 30px; }
.nav a {
  color: #d7dbe4; text-decoration: none; font-size: 0.9rem;
  font-weight: 500; letter-spacing: 0.02em;
}
.nav a:hover { color: var(--gold); }
.nav .nav-cta {
  border: 1px solid var(--gold);
  color: var(--gold);
  padding: 8px 18px; border-radius: 999px;
}
.nav .nav-cta:hover { background: var(--gold); color: var(--navy-deep); }

.nav-toggle {
  display: none; background: none; border: 0; cursor: pointer;
  color: var(--white); padding: 6px;
}
.nav-toggle svg { width: 26px; height: 26px; }

/* --- hero ---------------------------------------------------------------- */
.hero {
  background:
    radial-gradient(120% 90% at 80% -10%, rgba(194,160,90,0.14), transparent 60%),
    var(--navy);
  color: #eef1f6;
  padding: 92px 0 84px;
}
.hero .seal { width: 64px; height: 64px; margin-bottom: 28px; }
.hero h1 {
  color: var(--white);
  font-size: clamp(2.3rem, 5vw, 3.5rem);
  max-width: 18ch;
}
.hero .lede {
  font-size: 1.18rem; color: #c4ccd9; max-width: 56ch; margin-top: 18px;
}
.hero .actions { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 14px; }

.btn {
  display: inline-block; text-decoration: none; cursor: pointer;
  font-weight: 600; font-size: 0.98rem; letter-spacing: 0.01em;
  padding: 14px 28px; border-radius: 999px; border: 1px solid transparent;
  transition: transform .15s ease, background .15s ease, color .15s ease;
}
.btn-gold { background: var(--gold); color: var(--navy-deep); }
.btn-gold:hover { background: #d4b772; transform: translateY(-1px); }
.btn-ghost { border-color: rgba(255,255,255,0.35); color: var(--white); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }

.hero .reg-line {
  margin-top: 40px; padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,0.12);
  font-size: 0.86rem; color: #9aa6b8; letter-spacing: 0.02em;
}

/* --- section scaffolding ------------------------------------------------- */
section { padding: 84px 0; }
.section-head { max-width: 60ch; margin-bottom: 48px; }
.section-head h2 { font-size: clamp(1.8rem, 3.4vw, 2.5rem); }
.section-head p { color: var(--muted); font-size: 1.06rem; }

.cream { background: var(--cream); }

/* --- brand family cards -------------------------------------------------- */
.brands { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.brand-card {
  position: relative; background: var(--white);
  border: 1px solid var(--line); border-radius: var(--r);
  padding: 34px 28px 28px; text-decoration: none; color: inherit;
  display: flex; flex-direction: column;
  transition: transform .18s ease, box-shadow .18s ease;
}
.brand-card::before {
  content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 100%;
  background: var(--gold); border-radius: var(--r) var(--r) 0 0;
}
.brand-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.brand-card .kicker {
  font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--gold-deep); font-weight: 600; margin-bottom: 10px;
}
.brand-card h3 { font-size: 1.32rem; margin-bottom: 8px; }
.brand-card p { color: var(--muted); font-size: 0.96rem; flex: 1; }
.brand-card .go {
  margin-top: 16px; font-weight: 600; font-size: 0.92rem;
  color: var(--navy); display: inline-flex; align-items: center; gap: 6px;
}
.brand-card:hover .go { color: var(--gold-deep); }
.brand-card .go .arr { transition: transform .18s ease; }
.brand-card:hover .go .arr { transform: translateX(4px); }

/* --- trust strip --------------------------------------------------------- */
.trust { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.trust .item { border-left: 2px solid var(--gold); padding-left: 20px; }
.trust .item h3 { font-size: 1.12rem; margin-bottom: 6px; }
.trust .item p { color: var(--muted); font-size: 0.95rem; margin: 0; }

/* --- contact / form ------------------------------------------------------ */
.contact-grid {
  display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; align-items: start;
}
.contact-aside h2 { font-size: clamp(1.8rem, 3.2vw, 2.4rem); }
.contact-aside .detail { margin-top: 26px; }
.contact-aside .detail .label {
  font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--gold-deep); font-weight: 600; margin-bottom: 4px;
}
.contact-aside .detail .val { color: var(--ink); font-weight: 500; }
.contact-aside .detail a { color: var(--ink); text-decoration: none; }
.contact-aside .detail a:hover { color: var(--gold-deep); }

form.contact {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--r); padding: 32px; box-shadow: var(--shadow);
}
.field { margin-bottom: 18px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
label.flabel {
  display: block; font-size: 0.86rem; font-weight: 600;
  color: var(--navy); margin-bottom: 7px;
}
label.flabel .opt { color: var(--muted); font-weight: 400; }
input, select, textarea {
  width: 100%; font-family: inherit; font-size: 0.98rem; color: var(--ink);
  background: var(--paper); border: 1px solid var(--line);
  border-radius: 8px; padding: 12px 14px; transition: border-color .15s ease;
}
input:focus, select:focus, textarea:focus {
  outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(194,160,90,0.15);
}
textarea { resize: vertical; min-height: 120px; }

.consent {
  display: flex; gap: 12px; align-items: flex-start;
  background: var(--cream); border: 1px solid var(--line);
  border-radius: 8px; padding: 14px 16px; margin: 4px 0 22px;
}
.consent input[type="checkbox"] {
  width: 18px; height: 18px; margin-top: 3px; flex: 0 0 auto;
  accent-color: var(--gold-deep);
}
.consent label { font-size: 0.82rem; color: var(--muted); line-height: 1.55; margin: 0; }
.consent a { color: var(--gold-deep); }

.honeypot { position: absolute; left: -5000px; }

.form-note { font-size: 0.78rem; color: var(--muted); margin: 14px 0 0; text-align: center; }

/* --- footer -------------------------------------------------------------- */
.site-footer { background: var(--navy-deep); color: #aeb8c8; padding: 64px 0 36px; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.footer-brand .brand-lockup { margin-bottom: 16px; }
.footer-brand p { color: #8c98ac; font-size: 0.92rem; max-width: 34ch; }
.footer-col h4 {
  color: var(--white); font-family: "Outfit", sans-serif; font-size: 0.78rem;
  letter-spacing: 0.16em; text-transform: uppercase; margin: 0 0 16px; font-weight: 600;
}
.footer-col a { display: block; color: #aeb8c8; text-decoration: none; font-size: 0.94rem; margin-bottom: 10px; }
.footer-col a:hover { color: var(--gold); }
.footer-addr { font-size: 0.92rem; color: #8c98ac; font-style: normal; line-height: 1.7; }

.footer-legal {
  margin-top: 48px; padding-top: 26px;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 0.8rem; color: #7e8aa0; line-height: 1.7;
}
.footer-legal .disclaimer { margin-bottom: 14px; max-width: 92ch; }
.footer-legal .row { display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: center; }
.footer-legal .row a { color: #9aa6b8; text-decoration: none; }
.footer-legal .row a:hover { color: var(--gold); }
.footer-legal .sep { color: #4a5568; }

/* --- legal document pages ------------------------------------------------ */
.doc { padding: 72px 0 96px; }
.doc .wrap { max-width: 760px; }
.doc h1 { font-size: clamp(2rem, 4vw, 2.8rem); margin-bottom: 8px; }
.doc .updated { color: var(--muted); font-size: 0.9rem; margin-bottom: 40px; }
.doc h2 { font-size: 1.4rem; margin: 40px 0 12px; }
.doc h3 { font-size: 1.1rem; margin: 26px 0 8px; }
.doc p, .doc li { color: var(--ink); font-size: 1rem; }
.doc ul { padding-left: 22px; }
.doc li { margin-bottom: 8px; }
.doc .callout {
  background: var(--cream); border-left: 3px solid var(--gold);
  border-radius: 0 8px 8px 0; padding: 20px 24px; margin: 24px 0;
}
.doc .callout p:last-child { margin-bottom: 0; }
.back-link { display: inline-block; margin-bottom: 28px; color: var(--gold-deep); text-decoration: none; font-weight: 500; font-size: 0.92rem; }
.back-link:hover { text-decoration: underline; }

/* --- thank you ----------------------------------------------------------- */
.thanks { min-height: 70vh; display: flex; align-items: center; text-align: center; padding: 80px 0; }
.thanks .seal { width: 64px; height: 64px; margin: 0 auto 24px; }
.thanks h1 { font-size: clamp(2rem, 4vw, 2.8rem); }
.thanks p { color: var(--muted); font-size: 1.1rem; max-width: 46ch; margin: 0 auto 28px; }

/* --- motion / fade ------------------------------------------------------- */
.fade { opacity: 0; transform: translateY(14px); transition: opacity .7s ease, transform .7s ease; }
.fade.in { opacity: 1; transform: none; }

/* --- responsive ---------------------------------------------------------- */
@media (max-width: 860px) {
  .nav { display: none; }
  .nav.open {
    display: flex; flex-direction: column; gap: 18px; align-items: flex-start;
    position: absolute; top: 70px; left: 0; right: 0;
    background: var(--navy-deep); padding: 22px 24px;
    border-bottom: 1px solid rgba(194,160,90,0.25);
  }
  .nav-toggle { display: block; }
  .brands { grid-template-columns: 1fr; }
  .trust { grid-template-columns: 1fr; gap: 26px; }
  .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 480px) {
  .row2 { grid-template-columns: 1fr; }
  section { padding: 60px 0; }
  .hero { padding: 70px 0 60px; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto; }
  .fade { opacity: 1; transform: none; transition: none; }
  .btn, .brand-card { transition: none; }
}
