/* Moore Marsden — site styles (v2). Same tokens as the calculator. */
:root {
  --navy: #051B47; --navy-2: #0b2a63; --teal: #008287; --teal-d: #006b6f; --teal-soft: #e6f3f3;
  --orange: #ff743d; --orange-d: #e8612b; --orange-soft: #fff1ea;
  --ink: #1f2633; --muted: #5d6573; --line: #e4e7ee; --bg: #f5f7fb; --card: #fff;
  --radius: 18px; --shadow: 0 1px 2px rgba(16,24,40,.04), 0 10px 30px rgba(16,24,40,.07);
  --serif: "Playfair Display", Georgia, serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: #fff; color: var(--ink); font: 16px/1.65 Poppins, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); }
a:hover { color: var(--teal-d); }
h1, h2, h3 { color: var(--navy); line-height: 1.2; letter-spacing: -.015em; margin: 0 0 .5em; }
h1 { font-size: clamp(34px, 5vw, 54px); font-weight: 700; }
h2 { font-size: clamp(26px, 3.4vw, 38px); font-weight: 700; }
h3 { font-size: 19px; font-weight: 600; }
h1 em, h2 em { font-family: var(--serif); font-weight: 600; color: var(--teal); }
p { margin: 0 0 1em; }
.container { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 20px; }
.container.narrow { max-width: 900px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; padding: 8px 12px; z-index: 100; }
.skip:focus { left: 8px; }

/* buttons & labels */
.btn { display: inline-flex; align-items: center; gap: 8px; background: var(--orange); color: #fff; text-decoration: none;
  padding: 14px 26px; border-radius: 12px; font-weight: 600; border: 0; transition: background .15s, transform .05s; }
.btn:hover { background: var(--orange-d); color: #fff; }
.btn:active { transform: translateY(1px); }
.btn-sm { padding: 10px 18px; font-size: 14px; border-radius: 10px; }
.btn-ghost { background: #fff; color: var(--navy); border: 1px solid var(--line); }
.btn-ghost:hover { background: var(--bg); color: var(--navy); }
.btn-ghost-light { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.45); }
.btn-ghost-light:hover { background: rgba(255,255,255,.1); color: #fff; }
.eyebrow { display: inline-block; font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  color: var(--orange-d); background: var(--orange-soft); padding: 5px 12px; border-radius: 999px; margin-bottom: 14px; }
.eyebrow.light { background: rgba(255,255,255,.12); color: #ffd2bf; }

/* top bar + header */
.topbar { background: var(--teal); color: #e6f6f6; font-size: 13px; }
.topbar .container { display: flex; justify-content: flex-end; gap: 22px; padding-top: 7px; padding-bottom: 7px; flex-wrap: wrap; }
.topbar a { color: #fff; text-decoration: none; }
@media (max-width: 760px) { .topbar span { display: none; } .topbar .container { justify-content: center; } }
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.92); backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line); }
.nav-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy); }
.brand img { height: 42px; width: auto; }
.brand span { font-weight: 700; font-size: 17px; line-height: 1.15; }
.brand small { display: block; font-weight: 400; font-size: 12px; color: var(--muted); }
.main-nav { display: flex; align-items: center; gap: 26px; }
.main-nav a:not(.btn) { color: var(--ink); text-decoration: none; font-weight: 500; font-size: 15px; position: relative; }
.main-nav a:not(.btn):hover, .main-nav a[aria-current] { color: var(--teal); }
.main-nav a[aria-current]::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; background: var(--orange); border-radius: 2px; }
.navtoggle, .burger { display: none; }
@media (max-width: 860px) {
  .burger { display: block; width: 40px; height: 40px; position: relative; cursor: pointer; }
  .burger span, .burger span::before, .burger span::after { position: absolute; left: 9px; width: 22px; height: 2px; background: var(--navy); content: ""; border-radius: 2px; }
  .burger span { top: 19px; } .burger span::before { top: -7px; left: 0; } .burger span::after { top: 7px; left: 0; }
  .main-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line);
    flex-direction: column; align-items: stretch; gap: 0; padding: 8px 20px 18px; box-shadow: var(--shadow); }
  .main-nav a:not(.btn) { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .main-nav .btn { margin-top: 14px; justify-content: center; }
  .navtoggle:checked ~ .main-nav { display: flex; }
  .nav-row { position: relative; }
}

/* hero */
.hero { position: relative; color: #fff; background:
  linear-gradient(110deg, rgba(5,27,71,.97) 0%, rgba(5,27,71,.9) 45%, rgba(0,130,135,.78) 100%),
  url(/wp-content/themes/mooremarsden/assets/images/banner.jpg) center/cover no-repeat; overflow: hidden; }
.hero::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
  linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px); background-size: 48px 48px; pointer-events: none; }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.25fr .9fr; gap: 48px; align-items: center; padding-top: 84px; padding-bottom: 96px; }
.hero h1 { color: #fff; } .hero h1 em { color: #7fd6d9; }
.hero .lede { font-size: 18px; color: #d7deeb; max-width: 560px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin: 26px 0 22px; }
.ticks { list-style: none; padding: 0; margin: 0; display: flex; gap: 22px; flex-wrap: wrap; color: #c9d3e6; font-size: 14px; }
.ticks li::before { content: "✓"; color: var(--orange); font-weight: 700; margin-right: 8px; }
.hero-card { background: #fff; color: var(--ink); border-radius: var(--radius); padding: 26px; box-shadow: 0 30px 60px rgba(0,0,0,.25); transform: rotate(1.5deg); }
.hc-label { font-size: 13px; color: var(--muted); }
.hc-big { font-size: 38px; font-weight: 700; color: var(--navy); letter-spacing: -.02em; }
.hc-big small { font-size: 15px; font-weight: 500; color: var(--muted); }
.hc-bar { display: flex; height: 14px; border-radius: 999px; overflow: hidden; margin: 18px 0 12px; }
.hc-bar span:first-child { background: var(--teal); } .hc-bar span:last-child { background: var(--orange); }
.hc-legend { display: flex; justify-content: space-between; font-size: 13.5px; color: var(--muted); }
.hc-legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; }
.hc-legend i.t { background: var(--teal); } .hc-legend i.o { background: var(--orange); }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; padding-top: 56px; padding-bottom: 64px; } .hero-card { transform: none; max-width: 420px; } }

.page-hero { background: linear-gradient(180deg, var(--teal-soft), #fff); border-bottom: 1px solid var(--line); padding: 64px 0 48px; }
.page-hero .lede { font-size: 18px; color: var(--muted); max-width: 720px; }

/* sections */
.section { padding: 84px 0; }
.section.alt { background: var(--bg); }
.section-head { max-width: 720px; margin-bottom: 36px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p { color: var(--muted); font-size: 17px; }
.calc-section { background: var(--bg); }
.calc-frame { border-radius: var(--radius); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.step b { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--teal); color: #fff; margin-bottom: 14px; }
.step p { color: var(--muted); margin: 0; }
@media (max-width: 820px) { .steps { grid-template-columns: 1fr; } }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.about { align-items: center; }
.about-img img { border-radius: 24px; box-shadow: 24px 24px 0 var(--teal-soft); }
.about p { color: var(--muted); }
@media (max-width: 900px) { .two-col { grid-template-columns: 1fr; gap: 36px; } }
.cta-band { background: linear-gradient(120deg, var(--teal), var(--teal-d)); color: #fff; padding: 64px 0; text-align: center; }
.cta-band h2 { color: #fff; font-family: var(--serif); font-weight: 600; max-width: 820px; margin: 0 auto 24px; }

/* FAQ */
.faqs { display: grid; gap: 12px; }
.faq { background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 1px 2px rgba(16,24,40,.04); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 22px; font-weight: 600; color: var(--navy); display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--teal-soft); color: var(--teal);
  display: grid; place-items: center; font-weight: 600; transition: transform .2s; }
.faq[open] summary::after { transform: rotate(45deg); background: var(--orange-soft); color: var(--orange-d); }
.faq-a { padding: 0 22px 20px; color: var(--muted); }
.faq-a p:last-child { margin: 0; }

/* contact */
.info-cards { display: grid; gap: 12px; margin: 26px 0; }
.info { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 14px; text-decoration: none; color: var(--ink); background: #fff; }
a.info:hover { border-color: var(--teal); color: var(--ink); }
.info .ic { flex: none; width: 40px; height: 40px; border-radius: 12px; background: var(--orange-soft); color: var(--orange-d); display: grid; place-items: center; font-size: 18px; }
.info small { display: block; color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .06em; }
.map-wrap { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.map { width: 100%; height: 300px; border: 0; display: block; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 28px; }
.form-card h3 { margin-bottom: 4px; }

/* legal pages */
.prose { color: var(--ink); }
.prose h3 { margin-top: 1.8em; } .prose h4, .prose h5 { color: var(--navy); margin: 1.6em 0 .5em; font-size: 17px; }
.prose li { margin: .35em 0; } .prose ol > li::marker { color: var(--teal); font-weight: 600; }

/* footer */
.site-footer { background: var(--navy); color: #b9c3d6; padding: 56px 0 24px; font-size: 14.5px; }
.f-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr; gap: 36px; }
.f-grid h4 { color: #fff; margin: 0 0 12px; font-size: 15px; }
.f-grid a, .f-grid span { display: block; color: #b9c3d6; text-decoration: none; margin: 6px 0; }
.f-grid a:hover { color: #fff; }
.brand.light { color: #fff; } .brand.light img { filter: brightness(0) invert(1); height: 36px; }
.f-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; border-top: 1px solid rgba(255,255,255,.12); margin-top: 36px; padding-top: 20px; }
.f-bottom a { color: #b9c3d6; text-decoration: none; margin-left: 20px; } .f-bottom a:hover { color: #fff; }
@media (max-width: 760px) { .f-grid { grid-template-columns: 1fr; } .f-bottom a { margin: 0 16px 0 0; } }
