/* Wright IT Services — premium redesign
   Navy + teal + warm paper. Fraunces + Inter. Editorial craft. */

:root {
  --navy: #0B1F3A;
  --navy-deep: #071526;
  --navy-soft: #132A4A;
  --teal: #2EC4B6;
  --teal-bright: #3DD4C6;
  --teal-dark: #1FA89C;
  --teal-soft: #E8F7F5;
  --paper: #F5F3EE;
  --off-white: #F7FAFC;
  --white: #FFFFFF;
  --ink: #1A2332;
  --muted: #5A6577;
  --border: #E2E8F0;
  --border-warm: #E8E4DC;
  --shadow: 0 4px 24px rgba(11, 31, 58, 0.07);
  --shadow-lg: 0 16px 48px rgba(11, 31, 58, 0.12);
  --radius: 14px;
  --radius-lg: 16px;
  --max: 1160px;
  --header-h: 88px;
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --leading: 1.65;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 0.5rem);
}

body {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: var(--leading);
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
body.nav-open {
  overflow: hidden;
}

img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }
a { color: var(--teal-dark); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--navy); }
a:focus-visible,
button:focus-visible,
summary:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--teal);
  color: var(--navy);
  padding: 0.75rem 1.25rem;
  font-weight: 600;
  border-radius: 8px;
}
.skip-link:focus { left: 1rem; top: 1rem; }

.wrap {
  width: min(100% - clamp(1.5rem, 5vw, 2.5rem), var(--max));
  margin-inline: auto;
}

/* —— Typography —— */
.eyebrow,
.section-label {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 0.85rem;
}

.section-label { color: var(--teal-dark); }

h1, h2, h3 {
  font-family: var(--font-display);
  font-optical-sizing: auto;
  color: var(--navy);
  letter-spacing: -0.02em;
  font-weight: 600;
}

h1 {
  font-size: clamp(1.85rem, 6.5vw, 3.35rem);
  line-height: 1.15;
  font-weight: 600;
  overflow-wrap: balance;
  word-break: normal;
}

h2 {
  font-size: clamp(1.65rem, 3.6vw, 2.35rem);
  line-height: 1.2;
  margin-bottom: 0.85rem;
}

h3 {
  font-size: 1.15rem;
  line-height: 1.3;
  font-weight: 600;
}

.lead {
  color: var(--muted);
  font-size: 1.08rem;
  max-width: 40rem;
  margin-bottom: 2rem;
  line-height: 1.7;
}

/* —— Header —— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11, 31, 58, 0.94);
  backdrop-filter: blur(12px) saturate(1.2);
  -webkit-backdrop-filter: blur(12px) saturate(1.2);
  border-bottom: 1px solid rgba(46, 196, 182, 0.18);
  overflow-x: clip;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  min-height: var(--header-h);
  padding: 0.5rem 0;
  max-width: 100%;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--white);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: -0.015em;
  flex-shrink: 1;
  min-width: 0;
}
.logo:hover { color: var(--white); }
.logo svg { flex-shrink: 0; }

.logo-img {
  display: block;
  height: 56px;
  width: auto;
  max-width: min(240px, 62vw);
  object-fit: contain;
  object-position: left center;
  border-radius: 12px;
  background: #fff;
  padding: 4px 8px;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.14);
}
@media (min-width: 480px) {
  .logo-img { height: 64px; max-width: 280px; }
}
@media (min-width: 768px) {
  .logo-img { height: 72px; max-width: 320px; padding: 6px 10px; }
}
.footer-brand .logo-img {
  height: 80px;
  max-width: 340px;
  box-shadow: none;
  padding: 6px 10px;
}

.logo-text { white-space: nowrap; }
.logo-text span { font-weight: 500; opacity: 0.72; }

.nav-desktop {
  display: none;
  align-items: center;
  gap: 0.15rem;
}

.nav-desktop a {
  color: rgba(247, 250, 252, 0.78);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.45rem 0.7rem;
  border-radius: 8px;
  transition: color 0.15s, background 0.15s;
}
.nav-desktop a:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.06);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
  margin-left: auto;
}

.nav-phone {
  color: var(--teal);
  font-weight: 600;
  text-decoration: none;
  font-size: 0.92rem;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0.35rem 0.5rem;
  border-radius: 8px;
}
.nav-phone:hover { color: var(--white); }

/* Higher specificity so .btn { display:inline-flex } cannot un-hide this on mobile */
.btn.btn-header {
  display: none;
  padding: 0.55rem 1rem;
  font-size: 0.88rem;
  min-height: 44px;
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  color: var(--white);
  cursor: pointer;
  padding: 0;
}
.nav-toggle svg { width: 1.35rem; height: 1.35rem; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

.nav-mobile {
  display: none;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0.5rem 0 1.15rem;
}
.nav-mobile.is-open { display: block; }
.nav-mobile a {
  display: flex;
  align-items: center;
  color: rgba(247, 250, 252, 0.85);
  text-decoration: none;
  padding: 0.85rem 0.25rem;
  min-height: 48px;
  font-weight: 500;
  font-size: 1.05rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.nav-mobile a:hover { color: var(--teal); }
.nav-mobile .btn {
  margin-top: 0.85rem;
  width: 100%;
  min-height: 48px;
  border-bottom: none;
}

/* —— Buttons —— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.9rem 1.45rem;
  min-height: 48px;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.98rem;
  text-decoration: none;
  border: 2px solid transparent;
  transition: background 0.18s var(--ease), color 0.18s, border-color 0.18s, transform 0.15s, box-shadow 0.18s;
  cursor: pointer;
  line-height: 1.2;
  text-align: center;
}
.btn:active { transform: translateY(1px); }

.btn-primary {
  background: var(--teal);
  color: var(--navy);
  border-color: var(--teal);
  box-shadow: 0 2px 12px rgba(46, 196, 182, 0.25);
}
.btn-primary:hover {
  background: var(--teal-bright);
  color: var(--navy);
  border-color: var(--teal-bright);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(46, 196, 182, 0.35);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.4);
}
.btn-secondary:hover {
  border-color: var(--teal);
  color: var(--teal);
  background: rgba(46, 196, 182, 0.06);
}

.btn-ghost {
  background: var(--white);
  color: var(--navy);
  border-color: var(--border);
}
.btn-ghost:hover {
  border-color: var(--teal);
  color: var(--navy);
  transform: translateY(-1px);
}

.btn-on-paper {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}
.btn-on-paper:hover {
  background: var(--navy-soft);
  color: var(--white);
  border-color: var(--navy-soft);
  transform: translateY(-1px);
}

/* —— Hero —— */
.hero {
  background:
    radial-gradient(ellipse 60% 50% at 85% 20%, rgba(46, 196, 182, 0.14) 0%, transparent 55%),
    radial-gradient(ellipse 40% 40% at 10% 90%, rgba(46, 196, 182, 0.06) 0%, transparent 50%),
    linear-gradient(165deg, var(--navy) 0%, var(--navy-soft) 48%, var(--navy-deep) 100%);
  color: var(--white);
  padding: 2.75rem 0 2.75rem;
  position: relative;
  overflow: hidden;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 40rem;
}

.hero .eyebrow { color: var(--teal); }

.hero h1 {
  color: var(--white);
  margin-bottom: 1.25rem;
}

.hero-sub {
  font-size: 1.12rem;
  color: rgba(247, 250, 252, 0.86);
  margin-bottom: 2rem;
  max-width: 36rem;
  line-height: 1.7;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: stretch;
  margin-bottom: 1.75rem;
}
.cta-row .btn {
  flex: 1 1 100%;
}

.hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(46, 196, 182, 0.28);
  color: rgba(247, 250, 252, 0.9);
}
.chip::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--teal);
  flex-shrink: 0;
}

/* —— Trust strip —— */
.trust-strip {
  background: var(--paper);
  padding: 2.75rem 0;
  border-bottom: 1px solid var(--border-warm);
}

.trust-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}

.trust-item {
  padding: 0.25rem 0;
}
.trust-item h3 {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.35rem;
  letter-spacing: -0.01em;
}
.trust-item p {
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.55;
  max-width: 18rem;
}

/* —— Sections rhythm —— */
.section {
  padding: 3.25rem 0;
}

.section-paper { background: var(--paper); }
.section-white { background: var(--white); }
.section-soft { background: var(--teal-soft); }

/* —— Who it's for —— */
.audience-grid {
  display: grid;
  gap: 0.7rem;
  grid-template-columns: 1fr;
  margin-bottom: 1.75rem;
}

.audience-grid li {
  background: var(--white);
  border: 1px solid var(--border-warm);
  border-radius: var(--radius);
  padding: 1rem 1.2rem;
  font-weight: 500;
  color: var(--navy);
  font-size: 0.98rem;
  box-shadow: var(--shadow);
  transition: border-color 0.15s, transform 0.15s;
}
.audience-grid li:hover {
  border-color: rgba(46, 196, 182, 0.45);
}

.audience-note {
  color: var(--muted);
  font-size: 0.98rem;
  margin-bottom: 1rem;
  max-width: 40rem;
}

.disqualify {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  padding: 1.1rem 1.25rem;
  background: rgba(11, 31, 58, 0.04);
  border: 1px solid var(--border-warm);
  border-radius: var(--radius);
  font-size: 0.95rem;
  color: var(--muted);
  max-width: 42rem;
}
.disqualify strong {
  color: var(--navy);
  font-weight: 600;
}

/* —— Pillars —— */
.pillars-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}

.pillar {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.85rem 1.75rem;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}
.pillar::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--teal), rgba(46, 196, 182, 0.3));
}

.pillar-num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 600;
  color: var(--teal);
  opacity: 0.55;
  line-height: 1;
  margin-bottom: 0.85rem;
}

.pillar h3 {
  font-size: 1.3rem;
  margin-bottom: 0.65rem;
  color: var(--navy);
}

.pillar p {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.65;
}

/* —— Services —— */
.services-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
  margin-bottom: 2.5rem;
}

.service-card {
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.4rem 1.35rem;
  transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s;
}
.service-card:hover {
  border-color: rgba(46, 196, 182, 0.4);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.service-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 10px;
  background: var(--teal-soft);
  color: var(--teal-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.9rem;
}
.service-icon svg {
  width: 1.3rem;
  height: 1.3rem;
}

.service-card h3 {
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  letter-spacing: -0.01em;
}

.service-card p {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.honesty {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
  padding: 1.75rem;
  background: var(--paper);
  border: 1px solid var(--border-warm);
  border-radius: var(--radius-lg);
}

.honesty-col h3 {
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 0.85rem;
}
.honesty-col.included h3 { color: var(--teal-dark); }
.honesty-col.excluded h3 { color: var(--muted); }

.honesty-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}
.honesty-col li {
  font-size: 0.95rem;
  color: var(--ink);
  padding-left: 1.35rem;
  position: relative;
  line-height: 1.5;
}
.honesty-col.included li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45rem;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--teal);
  opacity: 0.7;
}
.honesty-col.excluded li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 0.55rem;
  height: 2px;
  background: var(--muted);
  opacity: 0.45;
}
.honesty-col.excluded li { color: var(--muted); }

/* —— Pricing —— */
.pricing-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-bottom: 2rem;
  max-width: 42rem;
}

.pricing-list li {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  padding: 1rem 1.15rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.55;
  box-shadow: var(--shadow);
}
.pricing-list li::before {
  content: "";
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  margin-top: 0.45rem;
  border-radius: 50%;
  background: var(--teal);
}

/* —— How we work —— */
.process-visual {
  margin-bottom: 2rem;
  opacity: 0.9;
}
.process-visual img,
.process-visual svg {
  width: 100%;
  max-width: 640px;
  height: auto;
}

.steps-grid {
  display: grid;
  gap: 1.15rem;
  grid-template-columns: 1fr;
}

.step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.1rem;
  align-items: start;
  padding: 1.35rem 1.4rem;
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.step-num {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: var(--navy);
  color: var(--teal);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.step h3 {
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.step p {
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.6;
}

/* —— Soft CTA band —— */
.cta-band {
  background: var(--navy);
  color: var(--white);
  padding: 3.5rem 0;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 50% 80% at 90% 50%, rgba(46, 196, 182, 0.12), transparent 60%);
  pointer-events: none;
}
.cta-band-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: flex-start;
}
.cta-band h2 {
  color: var(--white);
  margin-bottom: 0.5rem;
  max-width: 28rem;
}
.cta-band p {
  color: rgba(247, 250, 252, 0.78);
  max-width: 32rem;
  margin-bottom: 0;
}
.cta-band-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

/* —— Local advantage —— */
.local-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}

.local-card {
  padding: 1.85rem 1.75rem;
  background: var(--white);
  border: 1px solid var(--border-warm);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
.local-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.65rem;
}
.local-card p {
  color: var(--muted);
  line-height: 1.65;
}

/* —— About —— */
/* Photo is currently a 64×64 placeholder. Frame designed for ~800–1200px
   portrait (4:5). Swap assets/dave.jpg with a high-res export; keep path. */
.about-layout {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

.about-photo-frame {
  position: relative;
  width: min(100%, 260px);
  margin-inline: auto;
  isolation: isolate;
}

.about-photo-backdrop {
  position: absolute;
  inset: 8% -6% -6% 8%;
  max-width: none;
  background: var(--paper);
  border-radius: 50%;
  z-index: 0;
  pointer-events: none;
}

.about-photo {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 260px;
  aspect-ratio: 1;
  object-fit: cover;
  object-position: center top;
  border-radius: 50%;
  background: var(--navy-soft);
  border: 4px solid var(--white);
  box-shadow:
    0 0 0 3px var(--teal),
    var(--shadow-lg);
  image-rendering: auto;
}

.about-copy p {
  color: var(--muted);
  margin-bottom: 1.1rem;
  max-width: 38rem;
  line-height: 1.7;
}
.about-copy p:last-of-type { margin-bottom: 0; }

.about-signoff {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--navy) !important;
  margin-top: 0.5rem !important;
}

/* —— FAQ —— */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  max-width: 48rem;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.faq-item[open] {
  border-color: rgba(46, 196, 182, 0.4);
  box-shadow: var(--shadow);
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 1.1rem 1.15rem;
  min-height: 52px;
  font-weight: 600;
  color: var(--navy);
  font-size: 1.02rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
  letter-spacing: -0.01em;
  -webkit-tap-highlight-color: transparent;
}
.faq-item summary::-webkit-details-marker { display: none; }

.faq-chevron {
  flex-shrink: 0;
  width: 1.35rem;
  height: 1.35rem;
  color: var(--teal);
  transition: transform 0.2s var(--ease);
}
.faq-item[open] .faq-chevron { transform: rotate(180deg); }

.faq-answer {
  padding: 0 1.35rem 1.25rem;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.7;
  max-width: 42rem;
}

/* —— Contact —— */
.contact {
  background:
    radial-gradient(ellipse 50% 60% at 80% 20%, rgba(46, 196, 182, 0.1), transparent 55%),
    linear-gradient(180deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: var(--white);
  padding: 4.5rem 0 0;
}

.contact .section-label { color: var(--teal); }
.contact h2 { color: var(--white); }
.contact .lead { color: rgba(247, 250, 252, 0.8); }

.contact-layout {
  display: grid;
  gap: 2.75rem;
  grid-template-columns: 1fr;
  margin-bottom: 3rem;
}

.contact-phone-block {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-phone-lg {
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 7vw, 2.85rem);
  font-weight: 600;
  color: var(--teal);
  text-decoration: none;
  letter-spacing: -0.02em;
  line-height: 1.15;
  display: inline-block;
  max-width: 100%;
  overflow-wrap: anywhere;
}
.contact-phone-lg:hover { color: var(--teal-bright); }

.contact-hours {
  font-size: 0.92rem;
  color: rgba(247, 250, 252, 0.65);
}

.service-area {
  color: rgba(247, 250, 252, 0.72);
  font-size: 0.98rem;
  margin-top: 1.5rem;
}

/* Form */
.assessment-form {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  max-width: 100%;
}

.assessment-form h3 {
  color: var(--white);
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
}
.form-intro {
  color: rgba(247, 250, 252, 0.65);
  font-size: 0.9rem;
  margin-bottom: 1.35rem;
}

.form-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.form-field label {
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(247, 250, 252, 0.85);
  letter-spacing: 0.02em;
}
.form-field input,
.form-field select,
.form-field textarea {
  font-family: var(--font-body);
  font-size: 16px; /* prevent iOS input zoom */
  padding: 0.85rem 0.95rem;
  min-height: 48px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(7, 21, 38, 0.55);
  color: var(--white);
  transition: border-color 0.15s, background 0.15s;
  width: 100%;
  max-width: 100%;
}
.form-field input::placeholder,
.form-field textarea::placeholder {
  color: rgba(247, 250, 252, 0.35);
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--teal);
  background: rgba(7, 21, 38, 0.75);
  outline: none;
  box-shadow: 0 0 0 3px rgba(46, 196, 182, 0.2);
}
.form-field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%232EC4B6' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.9rem center;
  padding-right: 2.25rem;
}
.form-field select option {
  background: var(--navy);
  color: var(--white);
}
.form-field textarea { min-height: 6rem; resize: vertical; }

.form-full { grid-column: 1 / -1; }

.hp-field {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  overflow: hidden;
}

.form-actions { margin-top: 1.15rem; }
.form-actions .btn { width: 100%; }

.form-success {
  display: none;
  padding: 1.25rem;
  background: rgba(46, 196, 182, 0.12);
  border: 1px solid rgba(46, 196, 182, 0.35);
  border-radius: var(--radius);
  color: var(--teal);
  font-weight: 500;
  margin-bottom: 1rem;
}
.form-success.is-visible { display: block; }

/* —— Footer —— */
.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.5rem 0 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.75rem;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
  color: rgba(247, 250, 252, 0.5);
}
.site-footer a {
  color: rgba(247, 250, 252, 0.65);
  text-decoration: none;
}
.site-footer a:hover { color: var(--teal); }

/* —— Privacy page —— */
.privacy-main {
  padding: 3.5rem 0 4rem;
  background: var(--paper);
  min-height: 60vh;
}
.privacy-card {
  max-width: 40rem;
  background: var(--white);
  border: 1px solid var(--border-warm);
  border-radius: var(--radius-lg);
  padding: clamp(1.35rem, 4vw, 2.5rem) clamp(1.15rem, 3.5vw, 2rem);
  box-shadow: var(--shadow);
}
.privacy-card h1 {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  margin-bottom: 0.75rem;
}
.privacy-card h2 {
  font-size: 1.2rem;
  margin-top: 1.75rem;
  margin-bottom: 0.5rem;
}
.privacy-card p {
  color: var(--muted);
  margin-bottom: 0.85rem;
  line-height: 1.7;
}
.privacy-back {
  display: inline-flex;
  margin-top: 1.5rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--navy);
}
.privacy-back:hover { color: var(--teal-dark); }

/* —— Fade-up motion —— */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s var(--ease), transform 0.55s var(--ease);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* —— Mobile sticky call bar —— */
.mobile-call-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 90;
  gap: 0.5rem;
  padding: 0.65rem 0.85rem calc(0.65rem + env(safe-area-inset-bottom, 0px));
  background: rgba(11, 31, 58, 0.96);
  backdrop-filter: blur(12px) saturate(1.2);
  -webkit-backdrop-filter: blur(12px) saturate(1.2);
  border-top: 1px solid rgba(46, 196, 182, 0.22);
  box-shadow: 0 -8px 28px rgba(11, 31, 58, 0.25);
}
.mobile-call-bar .btn {
  flex: 1;
  min-height: 48px;
  padding: 0.75rem 0.85rem;
  font-size: 0.95rem;
}
.mobile-call-bar .btn-secondary {
  border-color: rgba(255, 255, 255, 0.35);
}
/* Space so sticky bar doesn't cover footer CTAs */
@media (max-width: 767.98px) {
  body.has-mobile-bar { padding-bottom: calc(4.5rem + env(safe-area-inset-bottom, 0px)); }
  .site-footer { padding-bottom: 1.25rem; }
  .mobile-call-bar.is-visible { display: flex; }
}

/* —— Breakpoints —— */
@media (max-width: 420px) {
  .logo-text span { display: none; }
  .nav-phone { font-size: 0.82rem; padding-inline: 0.25rem; }
  .hero-sub { font-size: 1.02rem; }
  .pillar, .local-card, .service-card { padding: 1.25rem 1.1rem; }
  .honesty { padding: 1.25rem; }
  .pricing-list li { padding: 0.9rem 1rem; font-size: 0.95rem; }
  .cta-band-actions .btn { flex: 1 1 100%; }
  .btn-on-paper { width: 100%; }
}

@media (max-width: 359px) {
  /* Ultra-narrow: keep phone reachable via sticky bar + menu */
  .nav-phone { display: none; }
}

@media (min-width: 480px) {
  .cta-row .btn {
    flex: 1 1 auto;
    width: auto;
  }
}

@media (min-width: 560px) {
  .trust-grid { grid-template-columns: repeat(2, 1fr); gap: 1.75rem; }
  .audience-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .pillars-grid { grid-template-columns: 1fr; }
  .honesty { grid-template-columns: 1fr 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  .local-grid { grid-template-columns: repeat(2, 1fr); }
  .form-grid { grid-template-columns: 1fr 1fr; }
  .form-actions .btn { width: auto; }
  .assessment-form { padding: 1.75rem; }
}

@media (min-width: 768px) {
  .nav-toggle { display: none; }
  .nav-desktop { display: flex; }
  .btn.btn-header { display: inline-flex; }
  .nav-phone { font-size: 0.95rem; }
  .mobile-call-bar,
  .mobile-call-bar.is-visible { display: none !important; }
  body,
  body.has-mobile-bar { padding-bottom: 0; }
  .pillars-grid { grid-template-columns: repeat(3, 1fr); }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .cta-band-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
  .about-layout {
    grid-template-columns: minmax(220px, 280px) 1fr;
    gap: 3.5rem;
  }
  .about-photo-frame {
    margin-inline: 0;
    width: 100%;
    max-width: 280px;
  }
  .about-photo { max-width: 280px; }
  .contact-layout {
    grid-template-columns: 1fr 1.1fr;
    gap: 3.5rem;
    align-items: start;
  }
  .hero { padding: 4.5rem 0 4rem; }
  .section { padding: 4.5rem 0; }
  .header-actions { gap: 0.75rem; }
}

@media (min-width: 960px) {
  .hero { padding: 5.5rem 0 5rem; }
  .section { padding: 5.5rem 0; }
  .trust-grid { grid-template-columns: repeat(4, 1fr); }
  .audience-grid { grid-template-columns: repeat(3, 1fr); }
  .audience-grid li:last-child:nth-child(odd) { grid-column: span 1; }
  .services-grid { grid-template-columns: repeat(3, 1fr); }
  .steps-grid { grid-template-columns: repeat(4, 1fr); }
  .step {
    grid-template-columns: 1fr;
    text-align: left;
  }
}

@media (scripting: none) {
  .reveal { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .faq-chevron, .service-card, .reveal, .nav-toggle svg {
    transition: none !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
  .btn:hover, .service-card:hover, .btn:active {
    transform: none;
  }
}

/* Ensure media never force horizontal scroll */
video, iframe {
  max-width: 100%;
}
.process-visual {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}


/* —— Section dividers (richer rhythm) —— */
.section-paper,
.section-soft {
  position: relative;
}
.section + .section::before {
  content: none;
}
.section-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-warm), transparent);
  border: 0;
  margin: 0;
}

/* —— Compliance honesty —— */
.compliance-honesty {
  margin-top: 2rem;
  padding: 1.35rem 1.4rem;
  background: var(--paper);
  border: 1px solid var(--border-warm);
  border-left: 3px solid var(--teal);
  border-radius: var(--radius);
  max-width: 46rem;
}
.compliance-honesty h3 {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-bottom: 0.55rem;
  color: var(--navy);
}
.compliance-honesty p {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.7;
  margin: 0;
}
.compliance-honesty strong { color: var(--navy); }

/* —— Packages —— */
.packages-grid {
  display: grid;
  gap: 1.15rem;
  grid-template-columns: 1fr;
  margin-top: 2rem;
  margin-bottom: 1.75rem;
}
.package-card {
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.65rem 1.5rem;
  box-shadow: var(--shadow);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.package-card-core {
  background: var(--white);
  border-color: rgba(46, 196, 182, 0.55);
  box-shadow: 0 8px 32px rgba(11, 31, 58, 0.1);
}
.package-card-core::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--teal), rgba(46, 196, 182, 0.25));
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}
.package-tier {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal-dark);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.package-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  background: var(--teal-soft);
  color: var(--navy);
  font-size: 0.65rem;
  letter-spacing: 0.06em;
}
.package-card h3 {
  font-size: 1.35rem;
  margin: 0;
}
.package-outcome {
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.6;
  margin-bottom: 0.35rem;
}
.package-list {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-top: 0.35rem;
}
.package-list li {
  font-size: 0.94rem;
  color: var(--ink);
  padding-left: 1.2rem;
  position: relative;
  line-height: 1.5;
}
.package-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5rem;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--teal);
  opacity: 0.75;
}
.stack-note {
  padding: 1.15rem 1.25rem;
  background: var(--paper);
  border: 1px dashed rgba(46, 196, 182, 0.45);
  border-radius: var(--radius);
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.65;
  max-width: 48rem;
}
.stack-note strong { color: var(--navy); }

/* —— Price band —— */
.price-band {
  margin-top: 1.75rem;
  padding: 1.5rem 1.5rem 1.35rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  max-width: 44rem;
  position: relative;
  overflow: hidden;
}
.price-band::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, var(--teal), var(--navy));
}
.price-band-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal-dark);
  margin-bottom: 0.55rem;
}
.price-band-label span {
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: none;
  color: var(--muted);
  margin-left: 0.35rem;
}
.price-band-figure {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2.4vw, 1.4rem);
  color: var(--navy);
  line-height: 1.35;
  margin-bottom: 0.65rem;
}
.price-band-example,
.price-band-term {
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.65;
  margin-bottom: 0.5rem;
}
.price-band-term { margin-bottom: 0; }

/* —— Process prominence —— */
.process-visual-prominent {
  margin: 1.75rem 0 2.25rem;
  padding: 1.25rem 1rem;
  background: linear-gradient(180deg, var(--teal-soft), var(--off-white));
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  display: flex;
  justify-content: center;
}
.process-visual-prominent img {
  max-width: 720px;
}

/* —— Local map panel —— */
.local-layout {
  display: grid;
  gap: 1.5rem;
  margin-top: 2rem;
}
.local-map-card {
  background: var(--white);
  border: 1px solid var(--border-warm);
  border-radius: var(--radius-lg);
  padding: 1rem;
  box-shadow: var(--shadow);
}
.local-map-card img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  background: var(--off-white);
}
.area-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.85rem;
}
.area-chips li {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--navy);
  background: var(--teal-soft);
  border: 1px solid rgba(46, 196, 182, 0.3);
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
}

/* —— About caption / credential —— */
.about-photo-caption {
  text-align: center;
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 0.85rem;
  position: relative;
  z-index: 1;
}
.about-credential {
  font-size: 0.92rem !important;
  padding: 0.85rem 1rem;
  background: var(--paper);
  border-radius: 10px;
  border: 1px solid var(--border-warm);
  color: var(--ink) !important;
}

/* —— Contact email note —— */
.email-standup {
  color: rgba(247, 250, 252, 0.7);
  font-size: 0.9rem;
  line-height: 1.55;
  max-width: 28rem;
  margin-top: 0.25rem;
}

/* —— Footer —— */
.footer-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 1.35rem;
  align-items: center;
  flex: 1;
}
.footer-area,
.footer-insurance {
  width: 100%;
  font-size: 0.82rem;
  color: rgba(247, 250, 252, 0.45);
}
.site-footer {
  align-items: flex-start;
}

/* —— Mobile call bar: hidden until scrolled past hero (JS removes [hidden]) —— */
.mobile-call-bar[hidden] {
  display: none !important;
}
.mobile-call-bar.is-visible {
  display: flex;
}

/* Hero: avoid double CTA stack with sticky bar on small screens */
@media (max-width: 767.98px) {
  .cta-row-hero .btn-hero-secondary {
    /* Keep secondary; sticky bar only appears after scroll */
  }
}

@media (min-width: 768px) {
  .packages-grid { grid-template-columns: repeat(3, 1fr); align-items: stretch; }
  .local-layout {
    grid-template-columns: minmax(260px, 380px) 1fr;
    align-items: start;
    gap: 2rem;
  }
  .local-grid { grid-template-columns: 1fr; }
}

@media (min-width: 960px) {
  .local-grid { grid-template-columns: 1fr 1fr; }
}

/* Texture: subtle paper grain on paper sections */
.section-paper {
  background-image:
    radial-gradient(rgba(11, 31, 58, 0.03) 1px, transparent 1px);
  background-size: 18px 18px;
  background-color: var(--paper);
}
