/* Integrity Voice Solutions — Website V1 */

:root {
  --navy-900: #0e1f38;
  --navy-800: #163257;
  --navy-700: #1e4576;
  --navy-600: #2a5a94;
  --blue-accent: #3f7dc2;
  --gold: #b8863b;
  --gold-dark: #96692a;
  --bg: #ffffff;
  --bg-soft: #f4f6f9;
  --bg-navy-soft: #eef2f7;
  --text: #1b2430;
  --text-muted: #556072;
  --border: #e2e6ec;
  --radius: 10px;
  --shadow: 0 8px 24px rgba(14, 31, 56, 0.08);
  --max-width: 1180px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--navy-700);
}

h1, h2, h3, h4 {
  line-height: 1.15;
  margin: 0 0 0.5em 0;
  color: var(--navy-900);
  font-weight: 750;
}

p {
  margin: 0 0 1em 0;
  color: var(--text-muted);
}

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

a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
}

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--navy-900);
  color: #fff;
  padding: 12px 18px;
  z-index: 1000;
  border-radius: 0 0 8px 0;
}
.skip-link:focus {
  left: 0;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
  line-height: 1.2;
}
.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--navy-800);
  color: #fff;
}
.btn-primary:hover {
  background: var(--navy-900);
}

.btn-outline {
  background: transparent;
  border-color: var(--navy-800);
  color: var(--navy-800);
}
.btn-outline:hover {
  background: var(--bg-navy-soft);
}

.btn-gold {
  background: var(--gold);
  color: #fff;
}
.btn-gold:hover {
  background: var(--gold-dark);
}

.btn-lg {
  padding: 18px 34px;
  font-size: 1.1rem;
}

.btn-block {
  width: 100%;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: saturate(180%) blur(6px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 20px;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.brand img {
  width: 160px;
  height: auto;
}

.brand-name {
  font-weight: 800;
  color: var(--navy-900);
  font-size: 1.05rem;
  letter-spacing: 0.2px;
  display: none;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.main-nav a:not(.btn) {
  color: var(--navy-900);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.98rem;
}
.main-nav a:not(.btn):hover {
  color: var(--blue-accent);
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 14px;
}

.nav-toggle {
  display: none;
  background: none;
  border: 2px solid var(--navy-800);
  border-radius: 8px;
  padding: 8px 10px;
  cursor: pointer;
}
.nav-toggle span,
.nav-toggle::before,
.nav-toggle::after {
  content: "";
  display: block;
  width: 22px;
  height: 2px;
  background: var(--navy-900);
  margin: 4px 0;
}

@media (max-width: 760px) {
  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    padding: 10px 20px 20px;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
    gap: 14px;
    display: none;
  }
  .main-nav.open {
    display: flex;
  }
  .main-nav a:not(.btn) {
    padding: 8px 0;
    border-bottom: 1px solid var(--border);
  }
  .nav-cta {
    flex-direction: column;
    align-items: stretch;
  }
  .nav-toggle {
    display: block;
  }
  .header-desktop-cta {
    display: none;
  }
  .brand img {
    width: 110px;
  }
  .section,
  .video-section,
  .page-hero {
    scroll-margin-top: 120px;
  }
}

@media (min-width: 761px) {
  .nav-cta .call-link-mobile {
    display: none;
  }
}

/* Hero */
.hero {
  padding: 84px 0 48px;
  background: linear-gradient(180deg, var(--bg-navy-soft) 0%, #ffffff 100%);
}

.hero-inner {
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
}

.eyebrow {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-dark);
  background: #fbf3e6;
  border: 1px solid #eddcb8;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 22px;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.4rem);
  margin-bottom: 20px;
}

.hero-sub {
  font-size: 1.15rem;
  max-width: 640px;
  margin: 0 auto 32px;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  margin-bottom: 26px;
}

.hero-phone {
  font-size: 1.05rem;
  color: var(--navy-900);
}

.hero-phone a {
  font-weight: 800;
  color: var(--navy-800);
  text-decoration: none;
  border-bottom: 2px solid var(--gold);
}

/* Video section */
.video-section {
  padding: 20px 0 72px;
  scroll-margin-top: 170px;
}

.section-head {
  max-width: 700px;
  margin: 0 auto 36px;
  text-align: center;
}

.section-head h2 {
  font-size: clamp(1.6rem, 3.4vw, 2.2rem);
}

.video-frame {
  max-width: 900px;
  margin: 0 auto;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.video-responsive {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  background: var(--navy-900);
}

.video-responsive iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Generic section spacing */
.section {
  padding: 72px 0;
  scroll-margin-top: 170px;
}

.section-soft {
  background: var(--bg-soft);
}

/* Problem section */
.problem-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 40px;
}

.problem-grid img {
  width: 100%;
  height: 340px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.problem-copy {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.problem-copy h2 {
  font-size: clamp(1.6rem, 3.4vw, 2.2rem);
}

@media (max-width: 700px) {
  .problem-grid {
    grid-template-columns: 1fr;
  }
  .problem-grid img {
    height: 220px;
  }
}

/* How it works */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  max-width: 1000px;
  margin: 0 auto;
}

.step {
  text-align: center;
  padding: 8px;
}

.step-number {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--navy-800);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.2rem;
  margin: 0 auto 18px;
}

.step h3 {
  font-size: 1.15rem;
  margin-bottom: 8px;
}

@media (max-width: 760px) {
  .steps {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

/* Outcomes */
.outcomes-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  max-width: 1000px;
  margin: 0 auto;
}

.outcome-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
}

.outcome-card h3 {
  font-size: 1.15rem;
  margin-bottom: 8px;
  color: var(--navy-800);
}

.outcome-card p {
  margin-bottom: 0;
}

@media (max-width: 700px) {
  .outcomes-grid {
    grid-template-columns: 1fr;
  }
}

/* Transparency banner */
.transparency {
  background: var(--navy-900);
  color: #fff;
  padding: 44px 0;
}

.transparency .container {
  max-width: 780px;
  text-align: center;
}

.transparency h2 {
  color: #fff;
  font-size: 1.4rem;
}

.transparency p {
  color: #cfdaea;
  margin-bottom: 0;
}

/* Experience CTA (homepage) */
.experience-cta {
  padding: 76px 0;
  background: var(--bg-navy-soft);
}

.experience-cta .section-head h2 {
  color: var(--navy-900);
}

.cta-paths {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 860px;
  margin: 0 auto;
}

.cta-path {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  text-align: center;
  box-shadow: var(--shadow);
}

.cta-path h3 {
  font-size: 1.2rem;
}

.cta-path .big-phone {
  display: block;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--navy-800);
  text-decoration: none;
  margin: 10px 0 18px;
}

@media (max-width: 700px) {
  .cta-paths {
    grid-template-columns: 1fr;
  }
}

.cta-primary {
  text-align: center;
}

.cta-secondary-line {
  margin-top: 18px;
  font-size: 0.98rem;
  color: var(--text-muted);
  margin-bottom: 0;
}

.cta-secondary-line a {
  color: var(--navy-800);
  font-weight: 700;
  text-decoration: none;
  border-bottom: 2px solid var(--gold);
}

/* Footer */
.site-footer {
  background: var(--navy-900);
  color: #cfdaea;
  padding: 48px 0 28px;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.footer-brand img {
  height: 34px;
}

.footer-brand span {
  font-weight: 800;
  color: #fff;
  font-size: 1.05rem;
}

.footer-contact a {
  color: #cfdaea;
  text-decoration: none;
  display: block;
  margin-bottom: 6px;
}
.footer-contact a:hover {
  color: #fff;
}

.footer-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.footer-links span {
  color: #8fa2bc;
  font-size: 0.9rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 20px;
  font-size: 0.85rem;
  color: #8fa2bc;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

/* Demo page specifics */
.page-hero {
  padding: 52px 0 20px;
  text-align: center;
  background: linear-gradient(180deg, var(--bg-navy-soft) 0%, #ffffff 100%);
  scroll-margin-top: 170px;
}

.page-hero h1 {
  font-size: clamp(1.9rem, 4.5vw, 2.8rem);
}

.page-hero p {
  max-width: 620px;
  margin: 0 auto;
  font-size: 1.05rem;
}

.or-divider {
  display: flex;
  align-items: center;
  gap: 18px;
  max-width: 420px;
  margin: 0 auto;
  padding: 8px 0;
}

.or-divider::before,
.or-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--border);
}

.or-divider span {
  font-weight: 800;
  color: var(--navy-800);
  letter-spacing: 0.08em;
}

.experience-panel {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}

.experience-panel .btn-gold {
  font-size: 1.3rem;
  padding: 20px 40px;
}

.experience-note {
  margin-top: 14px;
  font-size: 0.92rem;
  color: var(--text-muted);
}

/* Callback form */
.callback-panel {
  max-width: 560px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow);
}

.time-badge {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--gold-dark);
  background: #fbf3e6;
  border: 1px solid #eddcb8;
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 20px;
}

.callback-media {
  position: relative;
  margin-bottom: 24px;
  border-radius: 8px;
  overflow: hidden;
}

.callback-media img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 8px;
}

.callback-media .time-badge {
  position: absolute;
  left: 14px;
  bottom: 14px;
  margin-bottom: 0;
  box-shadow: 0 2px 10px rgba(14, 31, 56, 0.35);
}

.form-row {
  margin-bottom: 18px;
  text-align: left;
}

.form-row label {
  display: block;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--navy-900);
  font-size: 0.95rem;
}

.form-row input {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 1rem;
  font-family: var(--font);
}

.form-note {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 10px;
  margin-bottom: 0;
}

.form-status {
  display: none;
  margin-top: 18px;
  padding: 16px 18px;
  border-radius: 8px;
  background: #fbf3e6;
  border: 1px solid #eddcb8;
  color: #6b4a1d;
  font-size: 0.95rem;
  text-align: left;
}

.form-status.visible {
  display: block;
}

.form-status a {
  color: var(--navy-800);
  font-weight: 700;
}

/* Callback form status message (Phase 4B1). Uses the existing tokens; the
   success/error tints are local to this component. */
.form-status {
  margin: 14px 0 0;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--bg-soft);
  color: var(--text);
  font-size: 0.95rem;
  text-align: left;
}
.form-status.is-success {
  border-color: #bfe3c6;
  background: #eef8f0;
  color: #1c5b2c;
}
.form-status.is-error {
  border-color: #eccfcf;
  background: #fbf0f0;
  color: #8a2b2b;
}

/* Pre-submit callback notice (Phase 4B1). Quiet, sits directly above the
   submit button so it is read before the call is requested. */
.form-note {
  margin: 0 0 14px;
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.45;
  text-align: left;
}
