/* Ogden Tech Support: site styles. Plain CSS, no build step. */

:root {
  --navy: #02163B;
  --ink: #26324B;
  --muted: #5C6680;
  --gold: #F2B136;
  --orange: #F36C3D;
  --orange-text: #B8441A;   /* darker orange for small text on light backgrounds (contrast) */
  --peach: #FEF0EA;
  --teal: #1F8F98;
  --teal-text: #146A72;     /* darker teal for small text on light backgrounds (contrast) */
  --teal-light: #E9F4F5;
  --gray: #F3F5F7;
  --chrome: #F7F7F7;
  --white: #FFFFFF;
  --menu: #000000;
  --menu-hover: #4673ED;
  --focus: #4673ED;

  --font-body: "Nunito Sans", "Avenir Next", Avenir, "Segoe UI", system-ui, sans-serif;
  --font-name: "Cormorant Garamond", Georgia, "Times New Roman", serif;

  --content: 980px;
  --radius-card: 14px;
  --radius-photo: 18px;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-weight: 800; color: var(--navy); line-height: 1.2; margin: 0 0 .5em; }
p { margin: 0 0 1em; }
ul { margin: 0; }

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

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--navy); color: var(--white); padding: 10px 16px; border-radius: 8px;
  font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: 12px; }

:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.hero :focus-visible, .contact-band :focus-visible, .contact-hero :focus-visible { outline-color: var(--gold); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .4em;
  min-height: 50px; padding: 10px 28px;
  border-radius: 100px; border: 2px solid transparent;
  font-family: var(--font-body); font-weight: 800; font-size: 1.2rem; line-height: 1.3;
  text-decoration: none; text-align: center; cursor: pointer;
  transition: opacity .4s, background-color .4s, border-color .4s, color .4s;
}
.btn-primary { background: var(--orange); color: var(--white); }
.btn-primary:hover { opacity: .85; }
.btn-outline { background: var(--navy); color: var(--white); border-color: var(--white); }
.btn-outline:hover { background: var(--white); color: var(--navy); }
.btn-lg { min-height: 54px; padding: 12px 32px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 24px; }
.btn-row.center { justify-content: center; }
.btn-contact { min-width: 130px; }

/* ---------- Header ---------- */
.site-header { background: var(--chrome); border-bottom: 1px solid #E6E8EC; }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 16px; padding-bottom: 10px; }
.brand { display: flex; flex-direction: column; text-decoration: none; color: var(--navy); }
.brand-name { font-family: var(--font-name); font-weight: 300; font-size: 30px; line-height: 1.2; letter-spacing: .01em; color: var(--menu); }
.brand-tagline { font-weight: 300; font-size: 15px; line-height: 1.6; color: var(--ink); }
.btn-header { min-height: 45px; padding: 8px 24px; }

.nav-toggle {
  display: none; align-items: center; gap: 6px;
  background: transparent; border: 2px solid var(--navy); border-radius: 100px;
  color: var(--navy); font: 700 15px/1 var(--font-body); padding: 9px 14px; cursor: pointer;
}
.nav-toggle svg { width: 20px; height: 20px; }

.site-nav { padding-bottom: 8px; }
.menu { list-style: none; display: flex; flex-wrap: wrap; align-items: center; gap: 4px; }
.menu > li { position: relative; }
.menu a, .menu button {
  display: inline-flex; align-items: center; gap: 4px;
  font: 400 15px/1.8 var(--font-body); color: var(--menu);
  text-decoration: none; background: none; border: 0; padding: 4px 12px; cursor: pointer;
}
.menu > li:first-child > a { padding-left: 0; }
.menu a:hover, .menu button:hover, .menu a[aria-current="page"], .menu .is-current > button { color: var(--menu-hover); }
.menu a[aria-current="page"] { text-decoration: underline; text-underline-offset: 4px; }
.menu button svg { width: 14px; height: 14px; transition: transform .2s; }
.menu button[aria-expanded="true"] svg { transform: rotate(180deg); }

.submenu {
  list-style: none; display: none; position: absolute; left: 0; top: 100%; z-index: 20;
  min-width: 240px; padding: 6px 0; margin: 0; background: var(--chrome);
}
.submenu a { display: block; padding: 6px 16px; }
.has-sub:hover > .submenu,
.has-sub:focus-within > .submenu,
.has-sub > button[aria-expanded="true"] + .submenu { display: block; }
.js .has-sub:focus-within > .submenu { display: none; }
.js .has-sub:hover > .submenu,
.js .has-sub > button[aria-expanded="true"] + .submenu { display: block; }

/* ---------- Sections ---------- */
.section { padding: 64px 0; }
.section-gray { background: var(--gray); }
.section-peach { background: var(--peach); }
.section-teal { background: var(--teal-light); }
.section-title { font-size: 36px; text-align: center; margin-bottom: .4em; }
.section-sub { text-align: center; color: var(--muted); font-size: 18px; margin-bottom: 32px; }

/* Hero */
.hero { background: var(--navy); color: var(--white); padding: 84px 0 68px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 480px) minmax(0, 470px); justify-content: space-between; align-items: center; gap: 30px; }
.eyebrow { color: var(--gold); font-weight: 800; text-transform: uppercase; letter-spacing: .06em; font-size: 15px; margin-bottom: 14px; }
.hero h1 { color: var(--white); font-size: 44px; }
.hero-tagline { color: var(--gold); font-weight: 800; font-size: 21px; line-height: 1.4; }
.hero-lead { font-size: 19px; font-weight: 300; }
.hero-service .hero-lead { font-size: 21px; }

/* Photo placeholders (CSS only until real photos are chosen) */
.photo {
  position: relative; display: flex; align-items: center; justify-content: center;
  width: 100%; border-radius: var(--radius-photo); overflow: hidden;
  background: linear-gradient(135deg, #1F8F98 0%, #0B3F66 55%, #02163B 100%);
  color: rgba(255,255,255,.92);
}
.photo::before, .photo::after { content: ""; position: absolute; border-radius: 50%; }
.photo::before { width: 55%; aspect-ratio: 1; right: -12%; top: -14%; background: rgba(242,177,54,.28); }
.photo::after { width: 38%; aspect-ratio: 1; left: -8%; bottom: -12%; background: rgba(243,108,61,.30); }
.photo svg { position: relative; z-index: 1; width: 34%; height: auto; max-width: 150px; }
.photo-hero { aspect-ratio: 470 / 410; }
.photo-section { aspect-ratio: 470 / 400; }
.photo-personal { background: linear-gradient(135deg, #F36C3D 0%, #F2B136 100%); }
.photo-personal::before { background: rgba(255,255,255,.22); }
.photo-personal::after { background: rgba(2,22,59,.16); }
.photo-business { background: linear-gradient(135deg, #1F8F98 0%, #02163B 100%); }
.photo-soft.photo-personal { background: linear-gradient(135deg, #FEF0EA 0%, #F9C9B4 100%); color: var(--orange-text); }
.photo-soft.photo-business { background: linear-gradient(135deg, #E9F4F5 0%, #A9D6DA 100%); color: var(--teal-text); }
.photo-soft::before { background: rgba(255,255,255,.45); }
.photo-soft::after { background: rgba(2,22,59,.07); }

/* Value strip */
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 25px; text-align: center; }
.values h3 { color: var(--teal); font-size: 22px; }
.values p { font-size: 16px; margin: 0; }
.values-section { padding: 40px 0 50px; }

/* Home services grid */
.two-col { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; align-items: start; }
.cat-bar { color: var(--white); font-size: 22px; text-align: center; border-radius: 25px; padding: 10px 16px; margin-bottom: 12px; }
.cat-personal .cat-bar { background: var(--orange); }
.cat-business .cat-bar { background: var(--teal); }
.svc-list { list-style: none; padding: 0; display: grid; gap: 12px; }
.svc-card { display: grid; grid-template-columns: 64px 1fr; gap: 14px; align-items: start; border: 2px solid; border-radius: var(--radius-card); padding: 18px; }
.cat-personal .svc-card { background: var(--peach); border-color: var(--orange); }
.cat-business .svc-card { background: var(--teal-light); border-color: var(--teal); }
.svc-icon { width: 60px; height: 60px; }
.cat-personal .svc-icon { color: var(--orange); }
.cat-business .svc-icon { color: var(--teal); }
.svc-card h4 { font-size: 21px; margin-bottom: .25em; }
.svc-card p { font-size: 15.5px; margin-bottom: .5em; }
.svc-more { font-size: 14px; font-weight: 800; text-decoration: none; }
.svc-more:hover { text-decoration: underline; }
.cat-personal .svc-more { color: var(--orange-text); }
.cat-business .svc-more { color: var(--teal-text); }

/* How It Works */
.steps { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.step-icon { position: relative; width: 100px; height: 120px; margin: 0 auto 12px; }
.step-icon svg { position: absolute; left: 12px; bottom: 0; width: 76px; height: 76px; color: var(--teal); }
.step-num {
  position: absolute; top: 0; left: 50%; transform: translateX(-50%); z-index: 1;
  width: 40px; height: 40px; border-radius: 50%; background: var(--orange); color: var(--white);
  display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 20px;
}
.step-icon::after { content: ""; position: absolute; left: 10px; right: 10px; bottom: -2px; height: 80px; border-radius: 50%; background: rgba(31,143,152,.10); }
.steps h3 { font-size: 20px; }
.steps p { font-size: 16px; }

/* Contact band */
.contact-band { background: var(--navy); color: var(--white); padding: 64px 0 72px; }
.contact-band h2, .contact-hero h1 { color: var(--white); }
.contact-band h2 { font-size: 38px; margin-top: 24px; }
.headshot { border-radius: 50%; object-fit: cover; margin: 0 auto; background: #0B3F66; }
.headshot-band { width: 240px; height: 240px; }
.big-phone { font-size: 54px; font-weight: 800; line-height: 1.15; margin: 0 0 .2em; }
.big-phone a { color: var(--gold); text-decoration: none; }
.big-phone a:hover { text-decoration: underline; }
.contact-email a { color: var(--white); font-size: 19px; }

/* Get Help */
.contact-hero { background: var(--navy); color: var(--white); padding: 64px 0 72px; }
.headshot-hero { width: 340px; height: 340px; }
.contact-hero .eyebrow { margin-top: 28px; }
.contact-hero h1 { font-size: 44px; }
.contact-hero .big-phone { font-size: 60px; }
.contact-hero .contact-note { font-size: 19px; font-weight: 300; margin-top: .6em; }
.card { background: var(--white); border: 2px solid var(--teal); border-radius: var(--radius-card); padding: 32px; }
.card-narrow { max-width: 640px; margin: 0 auto; }
.card h2 { font-size: 28px; }
.checklist { list-style: none; padding: 0; font-size: 18px; }
.checklist li { position: relative; padding-left: 32px; margin-bottom: 10px; }
.checklist li::before {
  content: ""; position: absolute; left: 4px; top: .45em; width: 14px; height: 8px;
  border-left: 3px solid var(--teal); border-bottom: 3px solid var(--teal); transform: rotate(-45deg);
}
.cat-personal-page .checklist li::before { border-color: var(--orange); }

/* Service pages */
.help-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.help-cards .card h2 { font-size: 25px; }
.cat-personal-page .card { border-color: var(--orange); }
.card-icon { width: 60px; height: 60px; margin-bottom: 12px; }
.cat-personal-page .card-icon { color: var(--orange); }
.cat-business-page .card-icon { color: var(--teal); }
.price-note { margin: 18px 0 0; font-size: 16px; }
.price-placeholder { display: inline-block; font-weight: 700; color: var(--navy); background: var(--gray); border-radius: 100px; padding: 4px 14px; }

.split { display: grid; grid-template-columns: minmax(0, 470px) minmax(0, 1fr); gap: 40px; align-items: center; }
.split h2 { font-size: 28px; }

.faqs { display: grid; gap: 14px; margin-top: 8px; }
.faq { border: 2px solid; border-radius: var(--radius-card); padding: 22px 26px; }
.cat-personal-page .faq { background: var(--peach); border-color: var(--orange); }
.cat-business-page .faq { background: var(--teal-light); border-color: var(--teal); }
.faq h3 { font-size: 19px; }
.faq p { margin: 0; }
.service-area { text-align: center; color: var(--muted); margin: 28px 0 0; }

/* Policy pages */
.legal { max-width: 760px; }
.legal h1 { font-size: 40px; }
.legal h2 { font-size: 24px; margin-top: 1.6em; }
.legal ul { padding-left: 1.3em; margin-bottom: 1em; }
.legal li { margin-bottom: .35em; }
.legal .effective { color: var(--muted); }
.legal address { font-style: normal; }

/* 404 */
.notfound { padding: 96px 0; text-align: center; }
.notfound .btn-row { justify-content: center; }
.btn-ghost { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-ghost:hover { background: var(--navy); color: var(--white); }

/* ---------- Footer ---------- */
.site-footer { background: var(--chrome); padding: 32px 0 36px; font-size: 14px; font-weight: 300; text-align: center; color: var(--ink); }
.site-footer p { margin: 0 0 .7em; }
.site-footer a { color: var(--navy); }
.footer-area strong { font-weight: 700; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 18px; list-style: none; padding: 0; margin: 0 0 .9em; }
.footer-copy { margin-bottom: 0 !important; }

/* Mobile quick-contact bar */
.mobile-cta { display: none; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero-grid, .split { grid-template-columns: 1fr; }
  .hero-grid .photo { max-width: 470px; }
  .split .photo { max-width: 470px; }
  .steps { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
  body { font-size: 16px; padding-bottom: 72px; }
  .header-row { padding-top: 12px; padding-bottom: 12px; }
  .brand-name { font-size: 24px; }
  .brand-tagline { font-size: 13px; }
  .btn-header { display: none; }
  .nav-toggle { display: inline-flex; }

  .js .site-nav { display: none; }
  .js .site-nav.is-open { display: block; }
  .site-nav { border-top: 1px solid #E6E8EC; padding: 6px 0 12px; }
  .menu { flex-direction: column; align-items: stretch; gap: 0; }
  .menu a, .menu button { width: 100%; padding: 10px 0; font-size: 17px; }
  .menu button svg { display: none; }
  .menu button { cursor: default; font-weight: 700; }
  .submenu,
  .js .has-sub:focus-within > .submenu,
  .js .has-sub > .submenu { display: block; position: static; min-width: 0; padding: 0 0 6px 16px; background: none; }
  .submenu a { padding: 8px 0; }

  .section { padding: 44px 0; }
  .hero { padding: 44px 0 48px; }
  .hero h1, .contact-hero h1 { font-size: 30px; }
  .hero-tagline, .hero-service .hero-lead { font-size: 18px; }
  .hero-lead { font-size: 17px; }
  .section-title, .contact-band h2 { font-size: 28px; }
  .big-phone { font-size: 38px; }
  .contact-hero .big-phone { font-size: 40px; }
  .headshot-hero { width: 240px; height: 240px; }
  .headshot-band { width: 200px; height: 200px; }
  .btn-row .btn { flex: 1 1 auto; }
  .contact-band .btn-row .btn, .contact-hero .btn-row .btn { flex: 1 1 0; min-width: 0; padding-left: 12px; padding-right: 12px; }

  .values, .two-col, .help-cards { grid-template-columns: 1fr; }
  .card { padding: 22px; }
  .svc-card { grid-template-columns: 48px 1fr; padding: 16px; }
  .svc-icon { width: 46px; height: 46px; }
  .legal h1 { font-size: 30px; }

  .mobile-cta {
    display: flex; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: var(--navy);
    box-shadow: 0 -2px 10px rgba(2,22,59,.25);
  }
  .mobile-cta .btn { flex: 1 1 0; min-height: 46px; }
}

@media (max-width: 420px) {
  .steps { grid-template-columns: 1fr; }
  .hero h1, .contact-hero h1 { font-size: 27px; }
}
