:root {
  --navy-darkest: #071f31;
  --navy: #0f2e43;
  --navy-mid: #08374b;
  --navy-deep: #003b52;
  --teal: #007cba;
  --teal-dark: #006ba1;
  --rose-gray: #61434e;
  --canvas: #e8e8e8;
  --canvas-light: #f4f4f4;
  --white: #ffffff;
  --text: #1a1a1a;
  --text-muted: #4a4a4a;
  --footer-dark: #2a2a2a;
}

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

body {
  font-family: "Open Sans", Arial, Helvetica, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; }

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

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

/* Accessibility */
.skip-link {
  position: absolute;
  top: 0;
  left: -9999px;
  background: var(--navy-darkest);
  color: var(--white);
  padding: 0.75rem 1.5rem;
  text-decoration: none;
  font-weight: 700;
  z-index: 1001;
  border-radius: 0 0 4px 0;
}

.skip-link:focus {
  left: 0;
}

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

.required-indicator {
  color: #d32f2f;
  font-weight: 700;
}

/* Focus styles for all interactive elements */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 2px;
}

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.75rem 1.35rem;
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  border-radius: 6px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.15s;
  white-space: nowrap;
}

.btn:hover { transform: translateY(-1px); }

.btn-primary {
  background: var(--navy-darkest);
  color: var(--white);
  border-color: var(--navy-darkest);
}

.btn-primary:hover {
  background: var(--navy);
  border-color: var(--navy);
}

.btn-outline {
  background: var(--white);
  color: var(--navy-darkest);
  border-color: var(--navy-darkest);
}

.btn-outline:hover {
  background: var(--canvas-light);
}

.btn-teal {
  background: var(--teal);
  border-color: var(--teal);
  color: var(--white);
}

.btn-teal:hover {
  background: var(--teal-dark);
  border-color: var(--teal-dark);
}

/* Header */
.site-header {
  background: var(--white);
  border-bottom: 1px solid #ddd;
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
  flex-wrap: wrap;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--text);
}

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

.brand-text {
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.2;
}

.header-ctas {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.header-ctas .btn-outline { font-size: 0.82rem; padding: 0.6rem 1rem; }

/* Hero */
.hero {
  text-align: center;
  padding: 3.5rem 0 2.5rem;
  background: var(--white);
}

.eyebrow {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal-dark);
  margin-bottom: 1rem;
}

.hero h1 {
  font-size: clamp(1.85rem, 4.5vw, 2.75rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--navy-darkest);
  margin-bottom: 1rem;
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
}

.hero-sub {
  font-size: clamp(1rem, 2.2vw, 1.2rem);
  color: var(--text-muted);
  max-width: 640px;
  margin: 0 auto 1.75rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.hero-tagline {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--navy);
}

/* Feature bar */
.feature-bar {
  background: var(--canvas);
  padding: 0.85rem 0;
  border-top: 1px solid #d0d0d0;
  border-bottom: 1px solid #d0d0d0;
}

.feature-bar ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem 2.5rem;
}

.feature-bar li {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--navy-darkest);
}

.feature-bar li::before {
  content: "✓ ";
  color: var(--teal);
  font-weight: 800;
}

/* Sections */
section { padding: 3.5rem 0; }

section.bg-gray { background: var(--canvas-light); }

h2.section-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  color: var(--navy-darkest);
  line-height: 1.2;
  margin-bottom: 1rem;
}

h2.section-title.center { text-align: center; }

h3.card-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy-darkest);
  margin-bottom: 0.5rem;
}

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

.section-cta { text-align: center; margin-top: 2rem; }

.section-text {
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.section-text-last {
  margin-bottom: 1.25rem;
}

/* Two column */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
}

.split-media img {
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(7, 31, 49, 0.12);
  width: 100%;
  object-fit: cover;
  min-height: 260px;
}

.risk-list {
  list-style: disc;
  padding-left: 1.25rem;
  margin: 1rem 0 1.25rem;
  display: grid;
  gap: 0.5rem;
  color: var(--text-muted);
}

.risk-list li { font-size: 0.98rem; }

.risk-body {
  margin-bottom: 1.25rem;
  color: var(--text-muted);
}

/* Three column grid */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  margin-top: 2rem;
}

.service-card {
  text-align: center;
}

.icon-box {
  width: 72px;
  height: 72px;
  margin: 0 auto 1rem;
  background: var(--white);
  border: 1px solid #ddd;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal);
}

.icon-box svg { width: 36px; height: 36px; }

.service-card p {
  font-size: 0.92rem;
  color: var(--text-muted);
}

.photo-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 1rem;
  border: 1px solid #ddd;
}

.photo-card p {
  font-size: 0.92rem;
  color: var(--text-muted);
}

/* IT crisis */
.crisis-section { text-align: center; max-width: 780px; margin: 0 auto; }

.crisis-section p {
  text-align: left;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.check-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem 2rem;
  margin: 1.25rem 0;
  list-style: none;
}

.check-row li {
  font-weight: 600;
  font-size: 0.95rem;
}

.check-row li::before {
  content: "✅ ";
}

.crisis-close {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--navy-darkest);
  margin: 1rem 0 2rem;
}

.client-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  padding: 1.5rem;
  background: var(--canvas);
  border-radius: 8px;
}

.client-logos .logo-slot {
  flex: 1 1 140px;
  max-width: 180px;
  height: 64px;
  background: #d8d8d8;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 600;
  color: #666;
}

/* Steps */
.steps { display: grid; gap: 2rem; margin-top: 2rem; }

.step {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 1.5rem;
  align-items: start;
}

.step-visual {
  background: var(--canvas);
  border: 1px solid #ccc;
  border-radius: 8px;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal);
}

.step-visual svg { width: 48px; height: 48px; }

.step h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy-darkest);
  margin-bottom: 0.35rem;
}

.step p { font-size: 0.92rem; color: var(--text-muted); }

/* RFP section */
.rfp-section { text-align: center; max-width: 900px; margin: 0 auto; }

.rfp-section .lead-lines {
  font-size: clamp(1rem, 2vw, 1.15rem);
  margin-bottom: 0.35rem;
}

.rfp-section .checklist-title {
  font-size: clamp(1.25rem, 2.5vw, 1.6rem);
  font-weight: 800;
  color: var(--navy-darkest);
  margin: 0.5rem 0 1.25rem;
}

.rfp-section .rfp-copy {
  text-align: left;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.rfp-form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin-top: 1.5rem;
}

.rfp-form input {
  flex: 1 1 160px;
  max-width: 220px;
  padding: 0.75rem 1rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  font: inherit;
  background: var(--canvas-light);
}

.rfp-form .btn-primary { min-width: 130px; }

/* Footer */
.site-footer {
  background: var(--canvas);
  padding: 3rem 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2rem;
  padding-bottom: 2rem;
}

.footer-brand img { height: 56px; margin-bottom: 1rem; }

.footer-contact p {
  font-size: 0.9rem;
  font-style: normal;
  color: var(--text-muted);
  margin-bottom: 0.35rem;
}

.social-row {
  display: flex;
  gap: 0.65rem;
  margin-top: 1rem;
}

.social-row a {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--navy-darkest);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.social-row svg { width: 20px; height: 20px; fill: currentColor; }

.footer-col h4 {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.75rem;
  color: var(--navy-darkest);
}

.footer-col ul { list-style: none; }

.footer-col li { margin-bottom: 0.4rem; }

.footer-col a {
  text-decoration: none;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.footer-col a:hover { color: var(--teal); }

.footer-bar {
  background: var(--footer-dark);
  color: #aaa;
  text-align: center;
  padding: 0.85rem;
  font-size: 0.8rem;
}

/* Mobile nav */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  padding: 0.25rem;
  cursor: pointer;
  color: var(--navy-darkest);
}

.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 0.5rem;
  padding: 0 0 1rem;
}

.mobile-nav.open { display: flex; }

@media (max-width: 900px) {
  .split, .grid-3 { grid-template-columns: 1fr; }
  .step { grid-template-columns: 80px 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .header-ctas { display: none; }
  .menu-toggle { display: block; }
}

@media (max-width: 520px) {
  .hero-actions .btn { width: 100%; }
  .rfp-form input { max-width: 100%; }
}

/* Modal Styles */
#contact-form {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-width: 600px;
  width: 90%;
  max-height: 85vh;
  overflow-y: auto;
  background: var(--white);
  border: none;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
  padding: 0;
  opacity: 0;
  scale: 0.95;
  transition: opacity 0.3s, scale 0.3s, display 0.3s allow-discrete;
  z-index: 1000;
}

#contact-form[open] {
  opacity: 1;
  scale: 1;
}

@starting-style {
  #contact-form[open] {
    opacity: 0;
    scale: 0.95;
  }
}

#contact-form::backdrop {
  background: rgba(0, 0, 0, 0);
  transition: background 0.3s, display 0.3s allow-discrete;
}

#contact-form[open]::backdrop {
  background: rgba(0, 0, 0, 0.5);
}

@starting-style {
  #contact-form[open]::backdrop {
    background: rgba(0, 0, 0, 0);
  }
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem;
  border-bottom: 1px solid #e0e0e0;
}

.modal-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--navy-darkest);
  margin: 0;
}

.modal-close {
  background: transparent;
  border: none;
  font-size: 2rem;
  color: var(--text-muted);
  cursor: pointer;
  padding: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  transition: background 0.2s, color 0.2s;
}

.modal-close:hover {
  background: var(--canvas-light);
  color: var(--text);
}

.modal-body {
  padding: 1.5rem;
}

.infusion-form {
  display: grid;
  gap: 1rem;
}

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

.infusion-field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.infusion-field.checkedagreewrapper {
  display: none;
}

.infusion-field label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
}

.infusion-field input[type="text"],
.infusion-field input[type="email"],
.infusion-field input[type="tel"] {
  padding: 0.65rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
  font-family: inherit;
  transition: border-color 0.2s;
}

.infusion-field input:focus {
  outline: 3px solid var(--teal);
  outline-offset: 2px;
  border-color: var(--teal);
}

.infusion-checkbox {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.infusion-checkbox input[type="checkbox"] {
  width: 18px;
  height: 18px;
  cursor: pointer;
}

.infusion-checkbox label {
  font-size: 0.85rem;
  font-weight: 400;
  cursor: pointer;
}

.infusion-submit {
  margin-top: 0.5rem;
}

.infusion-submit button {
  width: 100%;
  padding: 0.85rem;
  background: var(--navy-darkest);
  color: var(--white);
  border: none;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
}

.infusion-submit button:hover {
  background: var(--navy);
  transform: translateY(-1px);
}

@media (max-width: 600px) {
  .form-row {
    grid-template-columns: 1fr;
  }
  
  #contact-form {
    width: 95%;
    max-height: 90vh;
  }
}

/* Respect user's motion preferences */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
