:root {
  --navy: #0A2233;
  --navy-deep: #061722;
  --navy-soft: #102B3E;
  --cream: #F5F0E6;
  --cream-soft: #FAF6EE;
  --ivory: #FDFBF6;
  --bronze: #9A7B4F;
  --bronze-deep: #7A5E3A;
  --gold: #C9A96A;
  --ink: #16222B;
  --muted: #5B6A74;
  --muted-light: rgba(253, 251, 246, 0.72);
  --line: rgba(10, 34, 51, 0.10);
  --line-light: rgba(255, 255, 255, 0.14);
  --serif: "Fraunces", Georgia, serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --radius: 18px;
  --shadow: 0 30px 60px -30px rgba(10, 34, 51, 0.35);
  --shadow-sm: 0 16px 40px -24px rgba(10, 34, 51, 0.35);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--ivory);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { display: block; max-width: 100%; }

.container { max-width: 1160px; margin: 0 auto; padding: 0 28px; }
.container--narrow { max-width: 800px; }

/* ---------- Typography ---------- */
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.04; letter-spacing: -0.015em; }
h1 em, h2 em, .hero__title em { font-style: italic; font-weight: 500; color: var(--gold); }

.kicker {
  font-family: var(--sans);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--bronze);
  margin-bottom: 18px;
}
.kicker--light { color: rgba(255, 255, 255, 0.7); }

.section__head { max-width: 620px; margin-bottom: 52px; }
.section__head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section__title { font-size: clamp(2.2rem, 4.5vw, 3.4rem); color: var(--navy); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--sans); font-weight: 600; font-size: 0.96rem;
  padding: 14px 26px; border-radius: 999px;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s var(--ease), border-color 0.2s var(--ease);
  cursor: pointer; white-space: nowrap; border: 1px solid transparent;
}
.btn svg { width: 18px; height: 18px; }
.btn:active { transform: translateY(1px); }
.btn--lg { padding: 17px 34px; font-size: 1.04rem; }

.btn--solid { background: var(--navy); color: var(--ivory); }
.btn--solid:hover { background: var(--navy-deep); transform: translateY(-2px); }

.btn--accent { background: var(--bronze); color: #fff; box-shadow: 0 14px 30px -12px rgba(154, 123, 79, 0.7); }
.btn--accent:hover { background: var(--bronze-deep); transform: translateY(-2px); box-shadow: 0 20px 40px -14px rgba(154, 123, 79, 0.85); }

.btn--ghost { color: var(--ivory); border-color: rgba(255,255,255,0.32); }
.btn--ghost:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.6); }

.btn--outline { color: var(--navy); border-color: rgba(10, 34, 51, 0.3); }
.btn--outline:hover { background: var(--navy); color: var(--ivory); border-color: var(--navy); }

.btn--inverse { background: var(--navy); color: var(--ivory); box-shadow: 0 16px 40px -18px rgba(6, 23, 34, 0.9); }
.btn--inverse:hover { background: var(--navy-deep); transform: translateY(-2px); }

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 60;
  transition: background 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav--scrolled {
  background: rgba(253, 251, 246, 0.9);
  backdrop-filter: blur(14px) saturate(1.2);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  border-color: var(--line);
  box-shadow: 0 8px 30px -20px rgba(10, 34, 51, 0.4);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }

.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand__mark { width: 30px; height: 30px; color: var(--gold); transition: color 0.3s var(--ease); }
.brand__word {
  font-family: var(--serif); font-size: 1.5rem; font-weight: 600; letter-spacing: -0.01em;
  color: var(--ivory); transition: color 0.3s var(--ease);
}
.nav--scrolled .brand__word { color: var(--navy); }
.nav--scrolled .brand__mark { color: var(--bronze); }

.nav__links { display: flex; gap: 34px; }
.nav__links a { font-size: 0.9rem; font-weight: 500; color: rgba(253, 251, 246, 0.82); transition: color 0.3s var(--ease); }
.nav__links a:hover { color: var(--gold); }
.nav--scrolled .nav__links a { color: var(--ink); opacity: 0.78; }
.nav--scrolled .nav__links a:hover { color: var(--bronze); opacity: 1; }

/* ---------- Hero ---------- */
.hero {
  position: relative; background: var(--navy); color: var(--ivory);
  overflow: hidden; padding-top: 76px;
}
.hero__glow {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(1100px 620px at 78% -10%, rgba(201, 169, 106, 0.16), transparent 60%),
    radial-gradient(900px 600px at 8% 110%, rgba(16, 43, 62, 0.9), transparent 60%);
}
.hero__grain {
  position: absolute; inset: 0; pointer-events: none; opacity: 0.5; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
  background-size: 120px 120px;
}
.hero__inner {
  position: relative;
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 48px;
  align-items: center; padding: 88px 28px 120px;
}

.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 0.76rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 26px;
}
.eyebrow__star { width: 15px; height: 15px; }
.eyebrow--gold { color: var(--gold); }

.hero__title { font-size: clamp(3rem, 6.6vw, 5.4rem); color: var(--ivory); margin-bottom: 26px; }
.hero__sub { font-size: 1.18rem; color: var(--muted-light); max-width: 520px; margin-bottom: 36px; }
.hero__actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 40px; }

.hero__trust { display: flex; flex-wrap: wrap; gap: 26px; padding-top: 30px; border-top: 1px solid var(--line-light); }
.hero__trust li { display: flex; align-items: center; gap: 9px; font-size: 0.86rem; font-weight: 500; color: var(--muted-light); }
.hero__trust svg { width: 18px; height: 18px; color: var(--gold); flex-shrink: 0; }

/* Hero visual */
.hero__visual { position: relative; height: 560px; }
.hero__arc { position: absolute; top: -6%; left: -2%; width: 104%; height: 104%; }
.hero__frame {
  position: absolute; inset: 9% 4% 8% 6%;
  border-radius: 20px; overflow: hidden;
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.hero__frame img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
.hero__frame::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(200deg, transparent 55%, rgba(6, 23, 34, 0.55) 100%);
}

.hero__card {
  position: absolute; left: -6%; bottom: 14%;
  background: var(--cream); color: var(--navy);
  padding: 20px 24px; border-radius: 16px;
  box-shadow: 0 24px 50px -24px rgba(0, 0, 0, 0.6);
  display: flex; align-items: center; gap: 14px;
}
.hero__card-num { font-family: var(--serif); font-size: 2rem; font-weight: 700; line-height: 1; }
.hero__card-label { font-size: 0.78rem; font-weight: 600; line-height: 1.35; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); }

.hero__badge {
  position: absolute; right: -2%; top: 12%;
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(6, 23, 34, 0.6); backdrop-filter: blur(8px);
  border: 1px solid rgba(201, 169, 106, 0.35);
  color: var(--gold); font-size: 0.78rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 11px 16px; border-radius: 999px;
}
.hero__badge svg { width: 13px; height: 13px; }

/* ---------- Trust bar ---------- */
.trust { background: var(--cream); border-bottom: 1px solid var(--line); }
.trust__inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px; padding: 26px 28px; }
.trust__item { display: flex; align-items: center; gap: 11px; font-size: 0.9rem; font-weight: 500; color: var(--muted); }
.trust__item svg { width: 22px; height: 22px; color: var(--bronze); flex-shrink: 0; }
.trust__item strong { color: var(--navy); font-weight: 600; }

/* ---------- Sections ---------- */
.section { padding: 108px 0; }
.section--cream { background: var(--cream); }

/* ---------- Care split ---------- */
.split { display: grid; grid-template-columns: 1fr 1.12fr; gap: 28px; align-items: stretch; }
.card { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.card--light { background: #fff; border: 1px solid var(--line); padding: 44px; display: flex; flex-direction: column; }
.card--dark { background: var(--navy); color: var(--ivory); display: flex; flex-direction: column; }

.card__icon {
  width: 54px; height: 54px; border-radius: 14px;
  background: rgba(154, 123, 79, 0.1); color: var(--bronze);
  display: grid; place-items: center; margin-bottom: 26px;
}
.card__icon svg { width: 26px; height: 26px; }
.card__tag { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--bronze); margin-bottom: 16px; }
.card__tag--gold { color: var(--gold); }
.card h3 { font-size: 1.9rem; margin-bottom: 14px; }
.card--light h3 { color: var(--navy); }
.card p { color: var(--muted); margin-bottom: 24px; }
.card--dark p { color: var(--muted-light); }

.card__media { height: 300px; }
.card__media img { width: 100%; height: 100%; object-fit: cover; }
.card__body { padding: 40px 44px 44px; }

.card__list { margin-top: auto; }
.card__list li {
  display: flex; align-items: center; gap: 11px;
  padding: 12px 0; border-bottom: 1px solid var(--line);
  color: var(--ink); font-weight: 500; font-size: 0.98rem;
}
.card__list li:last-child { border-bottom: none; }
.card__list li::before {
  content: ""; width: 18px; height: 18px; flex-shrink: 0;
  background: rgba(154, 123, 79, 0.12); border-radius: 50%;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12l4 4L19 6' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12l4 4L19 6' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;
  background-color: var(--bronze);
}
.card--dark .card__list li { border-color: var(--line-light); color: var(--ivory); }
.card--dark .card__list li::before { background-color: var(--gold); }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; position: relative; }
.steps::before {
  content: ""; position: absolute; top: 22px; left: 8%; right: 8%; height: 1px;
  background: linear-gradient(90deg, var(--bronze), var(--gold), var(--bronze));
  opacity: 0.3;
}
.step { position: relative; }
.step__num {
  font-family: var(--serif); font-size: 1rem; font-weight: 600; letter-spacing: 0.1em;
  color: var(--gold); background: var(--cream-soft);
  display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 50%;
  border: 1px solid rgba(154, 123, 79, 0.35); margin-bottom: 22px; position: relative; z-index: 1;
}
.step h3 { font-size: 1.55rem; margin-bottom: 10px; color: var(--navy); }
.step p { color: var(--muted); }

/* ---------- Services grid ---------- */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.tile {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 34px 30px;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
  position: relative; overflow: hidden;
}
.tile::after {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  background: var(--bronze); transform: scaleY(0); transform-origin: top;
  transition: transform 0.3s var(--ease);
}
.tile:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: rgba(154, 123, 79, 0.35); }
.tile:hover::after { transform: scaleY(1); }
.tile__icon {
  width: 50px; height: 50px; border-radius: 13px;
  background: rgba(154, 123, 79, 0.09); color: var(--bronze);
  display: grid; place-items: center; margin-bottom: 20px;
}
.tile__icon svg { width: 24px; height: 24px; }
.tile h3 { font-size: 1.4rem; margin-bottom: 8px; color: var(--navy); }
.tile p { color: var(--muted); font-size: 0.95rem; }

/* ---------- Veterans ---------- */
.veterans { position: relative; overflow: hidden; color: var(--ivory); }
.veterans__bg {
  position: absolute; inset: 0;
  background-image: url("assets/veterans-porch.png");
  background-size: cover; background-position: center;
}
.veterans__bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(6, 23, 34, 0.96) 20%, rgba(6, 23, 34, 0.72) 55%, rgba(6, 23, 34, 0.35) 100%);
}
.veterans__inner { position: relative; padding: 130px 28px; }
.veterans__copy { max-width: 560px; }
.veterans__copy h2 { font-size: clamp(2.4rem, 5vw, 3.6rem); color: var(--ivory); margin-bottom: 22px; }
.veterans__copy > p { color: var(--muted-light); font-size: 1.08rem; margin-bottom: 40px; }

.testimonial {
  background: rgba(255, 255, 255, 0.06); backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.14); border-radius: var(--radius);
  padding: 38px 40px;
}
.testimonial__mark { font-family: var(--serif); font-size: 4rem; line-height: 0.4; color: var(--gold); height: 30px; }
.testimonial p { font-family: var(--serif); font-size: 1.4rem; font-style: italic; line-height: 1.4; color: var(--ivory); margin-bottom: 22px; }
.testimonial footer { display: flex; align-items: center; gap: 12px; color: var(--gold); font-size: 0.86rem; font-weight: 600; letter-spacing: 0.03em; }
.testimonial__avatar {
  width: 34px; height: 34px; border-radius: 50%; flex-shrink: 0;
  background: linear-gradient(135deg, var(--bronze), var(--gold));
}

/* ---------- Pricing ---------- */
.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.price {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 40px 36px;
  display: flex; flex-direction: column; transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.price:hover { transform: translateY(-5px); box-shadow: var(--shadow-sm); }
.price--featured { border: 2px solid var(--bronze); box-shadow: var(--shadow); position: relative; }
.price--featured:hover { box-shadow: var(--shadow); }
.price__badge {
  position: absolute; top: -15px; left: 50%; transform: translateX(-50%);
  background: var(--bronze); color: #fff; font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase; padding: 7px 18px; border-radius: 999px;
  white-space: nowrap;
}
.price h3 { font-size: 1.3rem; color: var(--navy); margin-bottom: 18px; }
.price__amount { font-family: var(--serif); font-size: 3.4rem; color: var(--navy); line-height: 1; margin-bottom: 14px; }
.price__cur { font-size: 1.7rem; vertical-align: super; }
.price__per { font-family: var(--sans); font-size: 0.95rem; color: var(--muted); font-weight: 500; margin-left: 4px; letter-spacing: 0; }
.price__desc { color: var(--muted); margin-bottom: 24px; }
.price ul { margin-bottom: 30px; flex-grow: 1; }
.price li { display: flex; align-items: center; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--line); color: var(--ink); font-size: 0.95rem; }
.price li:last-child { border-bottom: none; }
.price li::before {
  content: ""; width: 16px; height: 16px; flex-shrink: 0; border-radius: 50%;
  background: rgba(154, 123, 79, 0.12);
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12l4 4L19 6' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12l4 4L19 6' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;
  background-color: var(--bronze);
}
.price .btn { margin-top: auto; justify-content: center; }
.pricing__note { text-align: center; color: var(--muted); font-size: 0.85rem; margin-top: 30px; }

/* ---------- FAQ ---------- */
.faq { display: flex; flex-direction: column; gap: 12px; }
.faq__item { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 4px 26px; transition: border-color 0.2s var(--ease); }
.faq__item[open] { border-color: rgba(154, 123, 79, 0.4); }
.faq__item summary {
  cursor: pointer; font-weight: 600; color: var(--navy); padding: 20px 0; list-style: none;
  position: relative; font-size: 1.04rem; display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "+"; font-size: 1.6rem; color: var(--bronze); font-weight: 400; line-height: 1;
  transition: transform 0.25s var(--ease); flex-shrink: 0;
}
.faq__item[open] summary::after { content: "–"; transform: rotate(180deg); }
.faq__item p { color: var(--muted); padding: 0 0 22px; }

/* ---------- CTA ---------- */
.cta { background: var(--bronze); color: #fff; position: relative; overflow: hidden; }
.cta::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(700px 400px at 50% 0%, rgba(255, 255, 255, 0.12), transparent 60%);
}
.cta__inner { text-align: center; padding: 100px 28px; position: relative; }
.cta h2 { font-size: clamp(2.2rem, 4.5vw, 3.2rem); margin-bottom: 14px; }
.cta p { opacity: 0.92; margin-bottom: 34px; font-size: 1.06rem; }
.cta .kicker { margin-bottom: 20px; }

/* ---------- Footer ---------- */
.footer { background: var(--navy-deep); color: var(--ivory); }
.footer__inner { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; padding: 76px 28px 48px; }
.brand--footer .brand__word { color: var(--ivory); }
.footer__tag { color: rgba(253, 251, 246, 0.55); margin-top: 14px; font-size: 0.92rem; }
.footer__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.footer__col h4 { font-family: var(--serif); font-size: 1.05rem; color: var(--gold); margin-bottom: 18px; }
.footer__col a { display: block; color: rgba(253, 251, 246, 0.68); font-size: 0.92rem; padding: 6px 0; transition: color 0.15s; }
.footer__col a:hover { color: var(--ivory); }
.footer__bottom { border-top: 1px solid rgba(255, 255, 255, 0.1); padding: 24px 28px; text-align: center; color: rgba(253, 251, 246, 0.45); font-size: 0.8rem; }

/* ---------- Entrance animation ---------- */
@keyframes fadeUp { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: translateY(0); } }
.hero__copy > *, .hero__visual > * { animation: fadeUp 0.9s var(--ease) both; }
.hero__copy > *:nth-child(1) { animation-delay: 0.05s; }
.hero__copy > *:nth-child(2) { animation-delay: 0.12s; }
.hero__copy > *:nth-child(3) { animation-delay: 0.19s; }
.hero__copy > *:nth-child(4) { animation-delay: 0.26s; }
.hero__copy > *:nth-child(5) { animation-delay: 0.33s; }
.hero__visual > *:nth-child(1) { animation-delay: 0.2s; }
.hero__visual > *:nth-child(2) { animation-delay: 0.26s; }
.hero__visual > *:nth-child(3) { animation-delay: 0.4s; }
.hero__visual > *:nth-child(4) { animation-delay: 0.48s; }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .nav__links { display: none; }
  .hero__inner { grid-template-columns: 1fr; padding: 64px 24px 88px; }
  .hero__visual { height: 480px; max-width: 460px; margin: 0 auto; width: 100%; }
  .split, .pricing { grid-template-columns: 1fr; }
  .veterans__inner { padding: 96px 24px; }
  .footer__inner { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .steps { grid-template-columns: 1fr; }
  .steps::before { display: none; }
  .grid { grid-template-columns: 1fr 1fr; }
  .footer__cols { grid-template-columns: 1fr; }
  .section { padding: 72px 0; }
  .hero__trust { gap: 16px; }
}
@media (max-width: 420px) {
  .grid { grid-template-columns: 1fr; }
}
