/* =========================================================
   Central Texas Courier & Co. : base styles (phone first)
   Larger screens are handled in responsive.css
   ========================================================= */

/* ----- brand tokens: change colors and fonts here only ----- */
:root {
  --navy: #1B2A6B;        /* bluebonnet navy */
  --navy-deep: #121D4D;
  --orange: #E0482B;      /* paintbrush orange: main buttons */
  --orange-dark: #C23A20;
  --gold: #D9A520;        /* cavalry gold: accents */
  --cream: #F3ECDD;       /* limestone cream */
  --paper: #FBF8F2;       /* page background */
  --ink: #1C2033;
  --muted: #555B70;
  --line: #E2DACA;

  --font-head: "Fraunces", Georgia, serif;
  --font-body: "Nunito Sans", system-ui, -apple-system, sans-serif;

  --radius: 14px;
  --shadow: 0 1px 2px rgba(27, 42, 107, .06), 0 8px 24px rgba(27, 42, 107, .08);
  --container: 1160px;
}

/* ----- reset ----- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--navy); }
h1, h2, h3 { font-family: var(--font-head); color: var(--navy); line-height: 1.12; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: 2.5rem; font-weight: 700; }
h2 { font-size: 1.95rem; font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 600; }
p { margin: 0 0 1em; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }

/* ----- small text helpers ----- */
.eyebrow {
  font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--orange); margin-bottom: .75em;
}
.eyebrow-gold { color: var(--gold); }
.lead { font-size: 1.12rem; color: var(--muted); max-width: 34em; }
.section-lead { color: var(--muted); max-width: 36em; margin-bottom: 2rem; }

/* ----- buttons ----- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 48px; padding: .75em 1.4em;
  font-family: var(--font-body); font-weight: 700; font-size: 1rem; text-decoration: none;
  border-radius: 999px; border: 2px solid transparent; cursor: pointer;
  transition: transform .15s ease, background .2s ease, box-shadow .2s ease;
}
.btn:active { transform: scale(.97); }
.btn:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.btn-primary { background: var(--orange); color: #fff; box-shadow: 0 4px 14px rgba(224, 72, 43, .3); }
.btn-primary:hover { background: var(--orange-dark); }
.btn-ghost { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-ghost:hover { background: var(--navy); color: #fff; }
.btn-ghost-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.6); }
.btn-ghost-light:hover { background: #fff; color: var(--navy); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-deep); }
.btn-sm { min-height: 44px; padding: .5em 1.1em; font-size: .95rem; }
.btn-lg { min-height: 56px; padding: .9em 1.6em; font-size: 1.05rem; }
.btn-block { width: 100%; }
.icon { width: 20px; height: 20px; fill: currentColor; }

/* ----- header ----- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 248, 242, .92);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, padding .2s ease;
}
.site-header.scrolled { border-bottom-color: var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; transition: height .2s ease; }
.site-header.scrolled .header-inner { height: 58px; }

.brand { display: flex; align-items: center; gap: .6rem; text-decoration: none; }
.brand-mark {
  display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px;
  background: var(--navy); color: var(--gold); font-size: 1.1rem;
}
.brand-text { font-family: var(--font-head); font-weight: 700; color: var(--navy); font-size: 1rem; line-height: 1.05; }
.brand-text em { font-style: normal; color: var(--orange); font-size: .85em; }

/* mobile menu (hidden until toggled) */
.main-nav {
  position: fixed; inset: 68px 0 auto 0;
  display: flex; flex-direction: column; gap: .25rem;
  padding: 1rem 20px 1.5rem; background: var(--paper);
  border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
  transform: translateY(-120%); transition: transform .25s ease; visibility: hidden;
}
.main-nav.open { transform: translateY(0); visibility: visible; }
.main-nav a:not(.btn) {
  display: flex; align-items: center; min-height: 48px;
  font-weight: 600; text-decoration: none; color: var(--ink); border-bottom: 1px solid var(--line);
}
.main-nav .btn { margin-top: .75rem; }
.nav-phone { color: var(--navy) !important; }

.nav-toggle {
  width: 48px; height: 48px; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 5px;
  background: none; border: 0; cursor: pointer;
}
.nav-toggle span { width: 24px; height: 2px; background: var(--navy); border-radius: 2px; transition: transform .2s ease, opacity .2s ease; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ----- hero ----- */
.hero { padding: 2.5rem 0 3rem; overflow: hidden; }
.hero-grid { display: grid; gap: 2rem; }
.hero-actions { display: flex; flex-direction: column; gap: .75rem; margin: 1.75rem 0 .75rem; }
.hero-actions.center { align-items: stretch; }
.hero-note { font-size: .92rem; color: var(--muted); }

.hero-map { position: relative; background: var(--cream); border-radius: 24px; padding: 1rem; }
.route-svg { width: 100%; height: auto; }
.route-svg .land { fill: #EDE3CF; }
.route-svg .road { fill: none; stroke: #D8CBB0; stroke-width: 10; stroke-linecap: round; stroke-linejoin: round; }
.route-svg .route {
  fill: none; stroke: var(--navy); stroke-width: 3; stroke-dasharray: 8 8; stroke-linecap: round;
  animation: dash 30s linear infinite;
}
.route-svg .stops circle { fill: #fff; stroke: var(--navy); stroke-width: 3; }
.route-svg .stops circle.hub { fill: var(--navy); stroke: var(--gold); }
.route-svg .stops circle.base { fill: var(--gold); stroke: var(--navy); }
.route-svg .stops text { font-family: var(--font-body); font-size: 14px; font-weight: 700; fill: var(--ink); }
.route-svg .parcel { fill: var(--orange); stroke: #fff; stroke-width: 3; }
.map-tag {
  position: absolute; left: 1rem; bottom: 1rem;
  background: var(--navy); color: #fff; font-size: .8rem; font-weight: 700;
  padding: .4em .9em; border-radius: 999px;
}
@keyframes dash { to { stroke-dashoffset: -400; } }

/* ----- trust strip ----- */
.trust-strip { background: var(--navy); color: #fff; padding: 1.5rem 0; }
.trust-grid { display: grid; gap: 1rem; }
.trust-item { display: flex; flex-direction: column; border-left: 3px solid var(--gold); padding-left: .9rem; }
.trust-item strong { font-family: var(--font-head); font-size: 1.1rem; }
.trust-item span { font-size: .9rem; opacity: .8; }

/* ----- sections ----- */
.section { padding: 4rem 0; }
.section-cream { background: var(--cream); }
.section-navy { background: var(--navy); color: #fff; }
.section-navy h2 { color: #fff; }
.section-navy .section-lead { color: rgba(255,255,255,.78); }

/* ----- service cards ----- */
.card-grid { display: grid; gap: 1rem; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.5rem; box-shadow: var(--shadow); transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: 0 2px 4px rgba(27,42,107,.06), 0 16px 32px rgba(27,42,107,.12); }
.card p { color: var(--muted); margin-bottom: .75em; }
.card .card-for { font-size: .88rem; font-weight: 700; color: var(--navy); margin: 0; }
.card-icon { width: 48px; height: 48px; border-radius: 12px; background: var(--cream); display: grid; place-items: center; margin-bottom: 1rem; }
.card-icon svg { width: 24px; height: 24px; fill: var(--orange); }

/* ----- steps ----- */
.steps { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; gap: 1.25rem; counter-reset: none; }
.step { background: #fff; border-radius: var(--radius); padding: 1.5rem; position: relative; }
.step p { color: var(--muted); margin: 0; }
.step-num {
  display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  background: var(--orange); color: #fff; font-family: var(--font-head); font-weight: 700; margin-bottom: .75rem;
}

/* ----- chain of custody ----- */
.custody-grid { display: grid; gap: 1.5rem; }
.custody-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; }
.custody-list li { display: flex; gap: 1rem; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius); padding: 1.1rem 1.25rem; }
.custody-list strong { font-family: var(--font-head); font-size: 1.1rem; }
.custody-list p { margin: .2em 0 0; color: rgba(255,255,255,.75); font-size: .95rem; }
.tick { flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--gold); color: var(--navy); display: grid; place-items: center; font-weight: 700; }

/* ----- business ----- */
.business-grid { display: grid; gap: 2rem; }
.check-list { list-style: none; padding: 0; margin: 0 0 2rem; }
.check-list li { position: relative; padding-left: 1.9rem; margin-bottom: .7rem; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: .35em; width: 18px; height: 18px; border-radius: 50%;
  background: var(--orange) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center/12px no-repeat;
}
.check-list.small li { font-size: .95rem; }
.who-panel { background: var(--cream); border-radius: 20px; padding: 1.75rem; }
.who-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; }
.who-list li { background: #fff; border-radius: 10px; padding: .75rem 1rem; font-weight: 600; border-left: 4px solid var(--gold); }

/* ----- service member band ----- */
.military-band { background: var(--gold); padding: 2.5rem 0; }
.military-inner { display: flex; flex-direction: column; gap: 1.25rem; align-items: flex-start; }
.military-inner h2 { margin-bottom: .25em; font-size: 1.6rem; }
.military-inner p { margin: 0; color: var(--navy-deep); font-weight: 600; }
.military-badge {
  width: 84px; height: 84px; border-radius: 50%; background: var(--navy); color: var(--gold);
  display: grid; place-items: center; font-family: var(--font-head); font-weight: 700; font-size: 1.6rem;
  border: 4px solid #fff;
}

/* ----- service area ----- */
.area-grid { display: grid; gap: 1rem; margin-top: 1.5rem; }
.area-card { background: #fff; border-radius: var(--radius); padding: 1.5rem; }
.town-list { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.town-list li { background: var(--paper); border: 1px solid var(--line); border-radius: 999px; padding: .4em 1em; font-weight: 600; font-size: .95rem; }
.area-note { font-size: .9rem; color: var(--muted); margin: 1rem 0 0; }
.area-cta { margin-top: 1.5rem; font-weight: 600; }

/* ----- FAQ ----- */
.faq-wrap { max-width: 760px; }
.faq { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; min-height: 56px; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  font-weight: 700; font-size: 1.05rem; color: var(--navy); padding: .75rem 0;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.5rem; color: var(--orange); transition: transform .2s ease; }
.faq[open] summary::after { transform: rotate(45deg); }
.faq p { color: var(--muted); padding-bottom: 1rem; margin: 0; }

/* ----- final CTA ----- */
.final-cta { background: var(--navy-deep); color: #fff; padding: 4rem 0; text-align: center; }
.final-cta h2 { color: #fff; }
.final-cta p { color: rgba(255,255,255,.8); }
.final-inner { max-width: 720px; }

/* ----- footer ----- */
.site-footer { background: #0E1638; color: rgba(255,255,255,.75); padding: 3rem 0 6rem; font-size: .95rem; }
.site-footer a { color: #fff; }
.footer-grid { display: grid; gap: 1.5rem; }
.footer-grid p { margin: 0 0 .35em; }
.footer-brand { font-family: var(--font-head); font-weight: 700; font-size: 1.2rem; color: #fff; }
.footer-head { font-weight: 700; color: var(--gold); text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; }
.footer-legal { border-top: 1px solid rgba(255,255,255,.12); margin-top: 2rem; padding-top: 1.25rem; font-size: .82rem; opacity: .75; }
.footer-legal p { margin: 0 0 .4em; }
.site-footer.slim { padding: 1.5rem 0; }
.site-footer.slim .footer-legal { border: 0; margin: 0; padding: 0; }

/* ----- floating call button (mobile) ----- */
.float-call {
  position: fixed; right: 16px; bottom: 16px; z-index: 60;
  display: flex; align-items: center; gap: .4rem; min-height: 56px; padding: 0 1.25rem;
  background: var(--orange); color: #fff; font-weight: 700; text-decoration: none;
  border-radius: 999px; box-shadow: 0 8px 24px rgba(224,72,43,.4);
}
.float-call svg { width: 22px; height: 22px; fill: #fff; }

/* ----- scroll fade-in (subtle) ----- */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .5s ease, transform .5s ease; }
.reveal.visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

[hidden] { display: none !important; }

/* ----- added for owner brief ----- */
.hero h1 { font-size: 2.15rem; }
.after-hours { font-size: .92rem; color: var(--muted); margin: .25rem 0 0; }
.after-hours.light { color: rgba(255,255,255,.75); }

/* phone number in the header (visible on phones too) */
.header-call {
  margin-left: auto; margin-right: .25rem;
  display: inline-flex; align-items: center; gap: .35rem; min-height: 44px; padding: 0 .75rem;
  font-weight: 700; font-size: .95rem; color: var(--navy); text-decoration: none;
  border: 1.5px solid var(--line); border-radius: 999px; background: #fff;
}
.header-call svg { width: 18px; height: 18px; fill: var(--orange); }

/* featured services + full list */
.featured-grid { display: grid; gap: 1rem; }
.card-feature { padding: 1.75rem; border-top: 4px solid var(--orange); }
.card-feature h3 { font-size: 1.45rem; }
.card-feature p { font-size: 1.02rem; }
.list-title { margin: 3rem 0 1rem; font-size: 1.15rem; color: var(--muted); font-family: var(--font-body); font-weight: 700; text-transform: uppercase; letter-spacing: .1em; }
.service-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .75rem; }
.service-list li { display: flex; gap: 1rem; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.1rem 1.25rem; }
.service-list strong { font-family: var(--font-head); color: var(--navy); font-size: 1.15rem; }
.service-list p { margin: .2em 0 0; color: var(--muted); }
.svc-num { flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--cream); color: var(--navy); display: grid; place-items: center; font-family: var(--font-head); font-weight: 700; }
.section-cta { margin-top: 2rem; }
.section-cta .btn { margin-bottom: .5rem; }

/* founding client line */
.military-inner p.founding { font-weight: 400; margin-top: .35rem; }

/* three-tier service area */
.area-grid-3 { grid-template-columns: 1fr; }
.town-list small { font-weight: 400; color: var(--muted); }

/* about */
.about-wrap { max-width: 760px; }
.about-wrap > p { color: var(--muted); font-size: 1.05rem; }
.about-wrap .check-list { margin: 1rem 0 1.5rem; }

/* contact block inside the final section */
.contact-grid { display: grid; gap: 1rem; margin-top: 2.5rem; text-align: left; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius); padding: 1.5rem; }
.contact-grid div { color: rgba(255,255,255,.85); }
.contact-grid a { color: #fff; font-weight: 700; word-break: break-word; }
.contact-label { display: block; font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); margin-bottom: .2rem; }
.small-note { font-size: .85rem; opacity: .8; }

/* ----- logo ----- */
.brand { gap: .5rem; }
.brand-icon { height: 40px; width: auto; }
.brand-wordmark { height: 22px; width: auto; }
.footer-logo { width: 190px; height: auto; margin-bottom: 1rem; }
.about-grid { display: grid; gap: 2rem; }
.about-logo { display: none; }
@media (max-width: 419px) { .header-call span { display: none; } .header-call { padding: 0; width: 44px; justify-content: center; } }

/* respect people who turn off motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .route-svg .parcel { display: none; }
}
