/* ===== Shep Flat Rate — Styles ===== */
:root {
  --navy: #0b1f3a;
  --navy-2: #102a4c;
  --navy-deep: #07172b;
  --gold: #c9a24a;
  --gold-2: #e0bd6a;
  --gold-soft: #f4e9cf;
  --cream: #f7f4ee;
  --ink: #1a2330;
  --muted: #5a6678;
  --line: #e4e1d8;
  --white: #ffffff;
  --shadow: 0 10px 40px rgba(11, 31, 58, 0.12);
  --shadow-lg: 0 20px 60px rgba(11, 31, 58, 0.18);
  --radius: 14px;
  --radius-sm: 8px;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container { width: min(1180px, 92%); margin: 0 auto; }

a { color: inherit; text-decoration: none; }

img { max-width: 100%; display: block; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.95rem 1.8rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.97rem;
  letter-spacing: 0.02em;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.18s ease, background 0.18s ease, box-shadow 0.18s ease, color 0.18s ease;
  text-align: center;
}
.btn:hover { transform: translateY(-2px); }
.btn--gold { background: linear-gradient(135deg, var(--gold), var(--gold-2)); color: var(--navy); box-shadow: 0 8px 24px rgba(201, 162, 74, 0.35); }
.btn--gold:hover { box-shadow: 0 12px 30px rgba(201, 162, 74, 0.45); }
.btn--navy { background: var(--navy); color: var(--white); }
.btn--navy:hover { background: var(--navy-2); }
.btn--ghost { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.55); }
.btn--ghost:hover { background: rgba(255,255,255,0.1); }
.btn--outline-light { background: transparent; color: var(--white); border-color: var(--gold); }
.btn--outline-light:hover { background: var(--gold); color: var(--navy); }
.btn--sm { padding: 0.6rem 1.2rem; font-size: 0.88rem; }
.btn--block { display: flex; width: 100%; }

/* ===== Top Bar ===== */
.topbar { background: var(--navy-deep); color: var(--gold-soft); font-size: 0.82rem; }
.topbar__inner { display: flex; justify-content: space-between; align-items: center; padding: 0.5rem 0; gap: 1rem; flex-wrap: wrap; }
.topbar__tag { letter-spacing: 0.06em; text-transform: uppercase; font-weight: 500; }
.topbar__contact { display: flex; gap: 1.5rem; }
.topbar__contact a { transition: color 0.15s; }
.topbar__contact a:hover { color: var(--gold-2); }

/* ===== Navigation ===== */
.nav { position: sticky; top: 0; z-index: 50; background: var(--white); box-shadow: 0 2px 20px rgba(11,31,58,0.06); transition: box-shadow 0.2s; }
.nav__inner { display: flex; align-items: center; justify-content: space-between; padding: 1rem 0; gap: 1rem; }
.brand { display: flex; align-items: center; gap: 0.7rem; }
.brand__mark {
  display: grid; place-items: center;
  width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(135deg, var(--navy), var(--navy-2));
  color: var(--gold); font-family: var(--serif); font-weight: 700; font-size: 1.4rem;
  border: 2px solid var(--gold);
}
.brand__mark--light { background: transparent; border-color: var(--gold); color: var(--gold); }
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__text strong { font-family: var(--serif); font-size: 1.3rem; color: var(--navy); }
.brand__text small { font-size: 0.7rem; color: var(--muted); letter-spacing: 0.08em; text-transform: uppercase; }

.nav__links { display: flex; gap: 2rem; }
.nav__links a { font-weight: 500; font-size: 0.95rem; color: var(--ink); position: relative; padding: 0.3rem 0; }
.nav__links a::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 0; height: 2px; background: var(--gold); transition: width 0.2s; }
.nav__links a:hover { color: var(--navy); }
.nav__links a:hover::after { width: 100%; }

.nav__toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 6px; }
.nav__toggle span { width: 26px; height: 2px; background: var(--navy); transition: 0.25s; }
.nav__toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle.open span:nth-child(2) { opacity: 0; }
.nav__toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex; align-items: center;
  background:
    linear-gradient(115deg, rgba(7,23,43,0.92) 0%, rgba(11,31,58,0.78) 55%, rgba(11,31,58,0.55) 100%),
    radial-gradient(circle at 80% 20%, rgba(201,162,74,0.25), transparent 40%),
    var(--navy);
  color: var(--white);
  overflow: hidden;
}
.hero__overlay {
  position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 15% 85%, rgba(201,162,74,0.12), transparent 35%),
    repeating-linear-gradient(45deg, rgba(255,255,255,0.012) 0 2px, transparent 2px 12px);
  pointer-events: none;
}
.hero__content { position: relative; z-index: 2; padding: 5rem 0; }
.hero__eyebrow { font-size: 0.85rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold-2); font-weight: 600; margin-bottom: 1.2rem; }
.hero__title { font-family: var(--serif); font-weight: 600; font-size: clamp(2.6rem, 6vw, 5rem); line-height: 1.05; margin-bottom: 1.5rem; }
.hero__title span { color: var(--gold-2); font-style: italic; }
.hero__sub { font-size: clamp(1.05rem, 1.6vw, 1.3rem); max-width: 580px; color: rgba(255,255,255,0.85); margin-bottom: 2.2rem; }
.hero__cta { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 3rem; }
.hero__stats { display: flex; gap: 3rem; flex-wrap: wrap; border-top: 1px solid rgba(255,255,255,0.15); padding-top: 1.8rem; }
.stat { display: flex; flex-direction: column; }
.stat strong { font-family: var(--serif); font-size: 1.9rem; color: var(--gold-2); }
.stat span { font-size: 0.85rem; letter-spacing: 0.05em; text-transform: uppercase; color: rgba(255,255,255,0.7); }
.hero__scroll {
  position: absolute; bottom: 1.5rem; left: 50%; transform: translateX(-50%);
  color: var(--gold-2); font-size: 1.3rem; animation: bounce 2s infinite; z-index: 2;
}
@keyframes bounce { 0%,100%{transform:translate(-50%,0)} 50%{transform:translate(-50%,8px)} }

/* ===== Section Titles ===== */
.section-title { font-family: var(--serif); font-size: clamp(2rem, 4vw, 3rem); font-weight: 600; text-align: center; color: var(--navy); margin-bottom: 0.6rem; }
.section-sub { text-align: center; color: var(--muted); max-width: 620px; margin: 0 auto 3rem; font-size: 1.05rem; }
.eyebrow { display: inline-block; font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); font-weight: 700; margin-bottom: 0.8rem; }
.eyebrow--light { color: var(--gold-2); }

/* ===== Choose Your Path ===== */
.choose { padding: 5.5rem 0; }
.path-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; max-width: 980px; margin: 0 auto; }
.path-card {
  background: var(--white); border-radius: var(--radius); padding: 2.5rem;
  box-shadow: var(--shadow); border: 1px solid var(--line);
  display: flex; flex-direction: column; position: relative; overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
}
.path-card::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 5px; }
.path-card--buyer::before { background: linear-gradient(90deg, var(--gold), var(--gold-2)); }
.path-card--seller::before { background: linear-gradient(90deg, var(--navy), var(--navy-2)); }
.path-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.path-card__top { display: flex; align-items: center; gap: 0.9rem; margin-bottom: 1rem; }
.path-card__icon { font-size: 1.8rem; }
.path-card__top h3 { font-family: var(--serif); font-size: 2rem; color: var(--navy); font-weight: 600; }
.path-card__lede { font-family: var(--serif); font-size: 1.3rem; color: var(--navy); font-weight: 500; margin-bottom: 0.6rem; line-height: 1.3; }
.path-card__desc { color: var(--muted); margin-bottom: 1.6rem; }

.price { background: var(--cream); border-radius: var(--radius-sm); padding: 1.1rem 1.3rem; margin-bottom: 1.4rem; display: flex; flex-direction: column; gap: 0.2rem; }
.price__label { font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.price__value { font-family: var(--serif); font-size: 1.8rem; color: var(--navy); font-weight: 700; }
.price__note { font-size: 0.85rem; color: var(--muted); font-style: italic; }
.price--small .price__value { font-size: 1.5rem; }
.price-group { display: grid; grid-template-columns: 1fr 1fr; gap: 0.8rem; margin-bottom: 0.6rem; }
.price-disclaimer { font-size: 0.82rem; color: var(--muted); text-align: center; margin-bottom: 1.4rem; }
.path-card__more { text-align: center; font-size: 0.9rem; color: var(--gold); font-weight: 600; margin-top: 1rem; }
.path-card__more:hover { color: var(--navy); }

/* ===== Detail Sections ===== */
.detail { padding: 5.5rem 0; }
.detail--alt { background: var(--white); }
.detail__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: center; }
.detail__inner--reverse .detail__visual { order: -1; }
.detail__text h2 { font-family: var(--serif); font-size: clamp(1.9rem, 3.5vw, 2.8rem); color: var(--navy); font-weight: 600; margin-bottom: 1rem; line-height: 1.15; }
.detail__text p { color: var(--muted); margin-bottom: 1.5rem; }
.check-list { list-style: none; margin-bottom: 1.8rem; display: grid; gap: 0.7rem; }
.check-list li { position: relative; padding-left: 1.8rem; color: var(--ink); }
.check-list li::before { content: "✦"; position: absolute; left: 0; color: var(--gold); font-size: 1.1rem; }

.detail__visual { min-height: 320px; }
.rebate-card { background: var(--navy); color: var(--white); border-radius: var(--radius); padding: 2rem; box-shadow: var(--shadow-lg); border: 1px solid rgba(201,162,74,0.3); }
.rebate-card__title { display: block; font-family: var(--serif); font-size: 1.4rem; color: var(--gold-2); margin-bottom: 1.2rem; }
.rebate-card__row { display: flex; justify-content: space-between; padding: 0.7rem 0; border-bottom: 1px solid rgba(255,255,255,0.1); }
.rebate-card__row--highlight { border-bottom-color: var(--gold); }
.rebate-card__row--save { border-bottom: none; margin-top: 0.5rem; padding-top: 1rem; border-top: 2px solid var(--gold); }
.rebate-card__row--save strong { color: var(--gold-2); font-family: var(--serif); font-size: 1.5rem; }
.rebate-card__note { font-size: 0.75rem; color: rgba(255,255,255,0.55); margin-top: 1rem; line-height: 1.4; }

.listing-tiers { display: grid; gap: 1.2rem; }
.tier { background: var(--white); border: 2px solid var(--gold); border-radius: var(--radius); padding: 1.6rem; box-shadow: var(--shadow); }
.tier--outline { border-color: var(--line); background: var(--cream); }
.tier__name { display: block; font-weight: 700; color: var(--navy); font-size: 1.05rem; letter-spacing: 0.04em; }
.tier__price { display: block; font-family: var(--serif); font-size: 2.2rem; color: var(--gold); font-weight: 700; }
.tier__tag { display: block; font-size: 0.85rem; color: var(--muted); margin-bottom: 0.8rem; font-style: italic; }
.tier ul { list-style: none; display: grid; gap: 0.4rem; }
.tier ul li { font-size: 0.9rem; padding-left: 1.2rem; position: relative; color: var(--ink); }
.tier ul li::before { content: "✓"; position: absolute; left: 0; color: var(--gold); font-weight: 700; }

/* ===== How It Works ===== */
.how { padding: 5.5rem 0; background: var(--navy); color: var(--white); }
.how .section-title { color: var(--white); }
.how .section-sub { color: rgba(255,255,255,0.7); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; max-width: 1000px; margin: 0 auto; }
.step { text-align: center; padding: 1.5rem; }
.step__num { display: inline-grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; border: 2px solid var(--gold); color: var(--gold-2); font-family: var(--serif); font-size: 1.4rem; font-weight: 700; margin-bottom: 1rem; }
.step h3 { font-family: var(--serif); font-size: 1.5rem; color: var(--white); margin-bottom: 0.6rem; }
.step p { color: rgba(255,255,255,0.75); font-size: 0.97rem; }

/* ===== About ===== */
.about { padding: 5.5rem 0; background: var(--cream); }
.about__inner { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 3.5rem; align-items: center; }
.about__photo {
  position: relative; aspect-ratio: 1/1.1; border-radius: var(--radius);
  background:
    linear-gradient(135deg, var(--navy), var(--navy-2));
  display: grid; place-items: center; box-shadow: var(--shadow-lg);
  border: 1px solid rgba(201,162,74,0.25);
  overflow: hidden;
}
.about__photo::before {
  content: ""; position: absolute; inset: 12px; border: 1px solid rgba(201,162,74,0.4); border-radius: var(--radius-sm);
}
.about__initials { font-family: var(--serif); font-size: 6rem; font-weight: 700; color: var(--gold-2); z-index: 1; }
.about__badge { position: absolute; bottom: 1.2rem; background: var(--gold); color: var(--navy); padding: 0.4rem 1.2rem; border-radius: 999px; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; z-index: 1; }
.about__text h2 { font-family: var(--serif); font-size: clamp(1.8rem, 3vw, 2.6rem); color: var(--navy); font-weight: 600; margin-bottom: 1rem; line-height: 1.2; }
.about__text p { color: var(--muted); margin-bottom: 1.5rem; }
.about__stats { display: flex; gap: 2.5rem; margin-bottom: 1.8rem; flex-wrap: wrap; }
.about__stats div { display: flex; flex-direction: column; }
.about__stats strong { font-family: var(--serif); font-size: 2rem; color: var(--navy); }
.about__stats span { font-size: 0.8rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.05em; }

/* ===== Reviews ===== */
.reviews { padding: 5.5rem 0; background: var(--white); }
.reviews__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.review { background: var(--cream); border-radius: var(--radius); padding: 2rem; border-top: 4px solid var(--gold); }
.review__stars { color: var(--gold); font-size: 1.1rem; letter-spacing: 0.1em; margin-bottom: 1rem; }
.review blockquote { font-family: var(--serif); font-size: 1.2rem; color: var(--navy); line-height: 1.5; margin-bottom: 1rem; font-style: italic; }
.review figcaption { font-size: 0.88rem; color: var(--muted); font-weight: 600; }

/* ===== Contact ===== */
.contact { padding: 5.5rem 0; background: linear-gradient(135deg, var(--navy-deep), var(--navy-2)); color: var(--white); }
.contact__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: start; }
.contact__info h2 { font-family: var(--serif); font-size: clamp(1.9rem, 3.5vw, 2.8rem); margin-bottom: 1rem; line-height: 1.15; }
.contact__info p { color: rgba(255,255,255,0.78); margin-bottom: 2rem; }
.contact__methods { display: grid; gap: 1rem; }
.contact-method { display: flex; align-items: center; gap: 1rem; padding: 1rem; background: rgba(255,255,255,0.05); border-radius: var(--radius-sm); border: 1px solid rgba(255,255,255,0.1); transition: background 0.2s, border-color 0.2s; }
.contact-method:hover { background: rgba(201,162,74,0.12); border-color: var(--gold); }
.contact-method__icon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--gold); color: var(--navy); font-size: 1.1rem; }
.contact-method span small { display: block; font-size: 0.75rem; color: rgba(255,255,255,0.6); }
.contact-method span strong { font-size: 1rem; color: var(--white); }

.contact__form { background: var(--white); color: var(--ink); padding: 2.2rem; border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.field { margin-bottom: 1.1rem; }
.field label { display: block; font-size: 0.85rem; font-weight: 600; color: var(--navy); margin-bottom: 0.4rem; }
.field input, .field select, .field textarea {
  width: 100%; padding: 0.8rem 1rem; border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  font-family: var(--sans); font-size: 0.97rem; color: var(--ink); background: var(--cream); transition: border-color 0.15s, box-shadow 0.15s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201,162,74,0.15); background: var(--white); }
.field textarea { resize: vertical; }
.form-note { margin-top: 1rem; font-size: 0.9rem; color: var(--navy); background: var(--gold-soft); padding: 0.8rem 1rem; border-radius: var(--radius-sm); }
.form-note a { color: var(--navy); font-weight: 700; text-decoration: underline; }

/* ===== Footer ===== */
.footer { background: var(--navy-deep); color: rgba(255,255,255,0.7); }
.footer__inner { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; padding: 3rem 0; }
.footer__brand { display: flex; align-items: center; gap: 0.8rem; }
.footer__brand strong { font-family: var(--serif); font-size: 1.3rem; color: var(--white); }
.footer__brand p { font-size: 0.85rem; }
.footer__nav { display: flex; flex-direction: column; gap: 0.6rem; }
.footer__nav a { font-size: 0.9rem; transition: color 0.15s; }
.footer__nav a:hover { color: var(--gold-2); }
.footer__contact { display: flex; flex-direction: column; gap: 0.6rem; }
.footer__contact a { font-size: 0.9rem; transition: color 0.15s; }
.footer__contact a:hover { color: var(--gold-2); }
.footer__legal { border-top: 1px solid rgba(255,255,255,0.1); padding: 1.2rem 0; font-size: 0.78rem; }
.footer__legal-inner { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.footer__disclaimer { max-width: 60ch; color: rgba(255,255,255,0.45); }

/* ===== Reveal animation ===== */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .nav__links {
    position: fixed; top: 70px; left: 0; right: 0;
    background: var(--white); flex-direction: column; gap: 0;
    padding: 1rem 0; box-shadow: var(--shadow);
    transform: translateY(-130%); transition: transform 0.3s ease; z-index: 40;
  }
  .nav__links.open { transform: translateY(0); }
  .nav__links a { padding: 0.9rem 1.5rem; border-bottom: 1px solid var(--line); }
  .nav__toggle { display: flex; }
  .nav__cta { display: none; }

  .path-grid, .detail__inner, .contact__inner, .steps, .reviews__grid, .about__inner, .footer__inner { grid-template-columns: 1fr; }
  .detail__inner--reverse .detail__visual { order: 0; }
  .about__inner { gap: 2rem; }
  .about__photo { max-width: 300px; margin: 0 auto; }
  .hero__stats { gap: 1.8rem; }
  .stat strong { font-size: 1.5rem; }
  .topbar__inner { justify-content: center; text-align: center; }
}

@media (max-width: 560px) {
  .price-group { grid-template-columns: 1fr; }
  .hero__cta { flex-direction: column; align-items: stretch; }
  .hero__cta .btn { width: 100%; }
  .footer__legal-inner { flex-direction: column; }
  .path-card, .contact__form, .review { padding: 1.5rem; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
