/*
  EDIT COLORS OR SPACING HERE
  Main brand colors are defined as CSS variables below.
*/
:root {
  --navy: #0b1f3a;
  --navy-2: #12375e;
  --blue: #1e73be;
  --blue-dark: #15558f;
  --green: #2f9e6d;
  --green-light: #e9f7f0;
  --gray-900: #17202c;
  --gray-700: #4a5565;
  --gray-500: #6b7280;
  --gray-200: #e5eaf0;
  --gray-100: #f5f7fa;
  --white: #ffffff;
  --shadow: 0 18px 45px rgba(11, 31, 58, 0.11);
  --radius: 8px;
  --container: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding-bottom: 78px;
  color: var(--gray-900);
  background: var(--white);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

.container {
  width: min(100% - 32px, var(--container));
  margin-inline: auto;
}

.section-pad {
  padding: 76px 0;
}

.section-pad-sm {
  padding: 56px 0;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  transform: translateY(-150%);
  padding: 10px 14px;
  color: var(--white);
  background: var(--navy);
  border-radius: var(--radius);
}

.skip-link:focus {
  transform: translateY(0);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(229, 234, 240, 0.9);
  backdrop-filter: blur(16px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  font-weight: 800;
  color: var(--navy);
}

.brand-mark {
  display: grid;
  place-items: center;
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  color: var(--white);
  background: linear-gradient(135deg, var(--navy), var(--blue));
  border-radius: 8px;
  font-size: 0.86rem;
  letter-spacing: 0;
}

.brand-text {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.desktop-nav,
.header-call {
  display: none;
}

.menu-toggle {
  display: inline-grid;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  cursor: pointer;
}

.menu-toggle span:not(.sr-only) {
  display: block;
  height: 2px;
  background: var(--navy);
  border-radius: 999px;
}

.mobile-nav {
  display: none;
  padding: 12px 16px 18px;
  background: var(--white);
  border-top: 1px solid var(--gray-200);
}

.mobile-nav.is-open {
  display: grid;
}

.mobile-nav a {
  padding: 13px 4px;
  color: var(--navy);
  font-weight: 700;
  border-bottom: 1px solid var(--gray-200);
}

.mobile-nav .mobile-call {
  margin-top: 12px;
  padding: 13px 18px;
  color: var(--white);
  text-align: center;
  background: var(--blue);
  border: 0;
  border-radius: var(--radius);
}

.hero {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(245, 247, 250, 0.92), rgba(255, 255, 255, 1)),
    radial-gradient(circle at 85% 15%, rgba(47, 158, 109, 0.14), transparent 34%);
}

.hero-grid,
.split-layout,
.why-grid,
.faq-layout,
.contact-grid {
  display: grid;
  gap: 34px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--navy);
  line-height: 1.12;
}

h1 {
  max-width: 760px;
  font-size: clamp(2.25rem, 8vw, 4.7rem);
}

h2 {
  font-size: clamp(1.8rem, 5vw, 3rem);
}

h3 {
  font-size: 1.1rem;
}

p {
  margin: 0;
  color: var(--gray-700);
}

.hero-subtitle {
  max-width: 650px;
  margin-top: 20px;
  font-size: 1.1rem;
}

.hero-actions,
.contact-highlights,
.service-list,
.trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-actions {
  margin-top: 30px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 20px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 800;
  line-height: 1.2;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
}

.btn-primary {
  color: var(--white);
  background: var(--blue);
  box-shadow: 0 12px 28px rgba(30, 115, 190, 0.28);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--blue-dark);
}

.btn-secondary {
  color: var(--navy);
  background: var(--white);
  border-color: var(--gray-200);
}

.trust-badges {
  margin-top: 24px;
}

.trust-badges span,
.service-list span,
.contact-highlights span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 11px;
  color: var(--navy);
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  font-size: 0.88rem;
  font-weight: 800;
}

.service-list span,
.contact-highlights span {
  background: var(--green-light);
  border-color: rgba(47, 158, 109, 0.18);
}

.hero-media {
  position: relative;
  align-self: center;
}

.hero-media img {
  width: min(100%, 520px);
  margin-inline: auto;
  filter: drop-shadow(0 24px 32px rgba(11, 31, 58, 0.16));
}

.media-note {
  display: grid;
  gap: 4px;
  margin: -22px auto 0;
  width: min(92%, 430px);
  padding: 18px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.media-note strong {
  color: var(--navy);
}

.media-note span {
  color: var(--gray-700);
  font-size: 0.95rem;
}

.section-heading {
  display: grid;
  gap: 14px;
}

.section-heading.centered {
  max-width: 760px;
  margin: 0 auto 34px;
  text-align: center;
}

.partner {
  background: var(--navy);
}

.partner h2,
.partner .eyebrow {
  color: var(--white);
}

.partner p {
  color: rgba(255, 255, 255, 0.82);
}

.partner-content {
  display: grid;
  gap: 18px;
}

.card-grid,
.industry-grid,
.product-grid,
.testimonial-grid {
  display: grid;
  gap: 18px;
}

.info-card,
.industry-card,
.testimonial,
.lead-form {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  box-shadow: 0 12px 28px rgba(11, 31, 58, 0.06);
}

.info-card,
.industry-card {
  display: grid;
  gap: 13px;
  padding: 22px;
}

.card-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: var(--blue);
  background: #edf6ff;
  border-radius: var(--radius);
  font-size: 0.78rem;
  font-weight: 900;
}

.muted-section {
  background: var(--gray-100);
}

.industry-card {
  min-height: 178px;
}

.product-card {
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.product-card img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.product-card h3 {
  padding: 18px;
}

.process-section {
  color: var(--white);
  background: linear-gradient(135deg, var(--navy), var(--navy-2));
}

.process-section h2,
.process-section h3,
.process-section .eyebrow {
  color: var(--white);
}

.steps {
  display: grid;
  gap: 16px;
}

.step {
  display: grid;
  gap: 12px;
  padding: 22px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
}

.step span {
  color: #9adfbd;
  font-size: 0.8rem;
  font-weight: 900;
  text-transform: uppercase;
}

.step p {
  color: rgba(255, 255, 255, 0.78);
}

.why-list {
  display: grid;
  gap: 14px;
}

.why-list div {
  padding: 18px 18px 18px 20px;
  border-left: 4px solid var(--green);
  background: var(--gray-100);
  border-radius: var(--radius);
}

.why-list h3 {
  margin-bottom: 6px;
}

.testimonial {
  display: grid;
  gap: 18px;
  margin: 0;
  padding: 24px;
}

.testimonial blockquote {
  margin: 0;
  color: var(--gray-900);
  font-size: 1.03rem;
}

.testimonial figcaption {
  color: var(--gray-500);
  font-weight: 800;
}

.faq-list {
  display: grid;
  gap: 12px;
}

details {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
}

summary {
  cursor: pointer;
  padding: 18px;
  color: var(--navy);
  font-weight: 900;
}

details p {
  padding: 0 18px 18px;
}

.contact-section {
  background:
    linear-gradient(135deg, rgba(11, 31, 58, 0.96), rgba(18, 55, 94, 0.94)),
    url("images/contact-background-placeholder.svg") center / cover no-repeat;
}

.contact-section h2,
.contact-section .eyebrow {
  color: var(--white);
}

.contact-section p {
  color: rgba(255, 255, 255, 0.8);
}

.contact-copy {
  display: grid;
  align-content: start;
  gap: 18px;
}

.lead-form {
  display: grid;
  gap: 16px;
  padding: 22px;
}

.form-row {
  display: grid;
  gap: 7px;
}

.form-row.two-col {
  gap: 16px;
}

label {
  color: var(--navy);
  font-weight: 900;
}

input,
textarea {
  width: 100%;
  padding: 13px 14px;
  color: var(--gray-900);
  background: var(--white);
  border: 1px solid #cfd8e3;
  border-radius: var(--radius);
  outline: 0;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

input:focus,
textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(30, 115, 190, 0.14);
}

textarea {
  min-height: 130px;
  resize: vertical;
}

.hidden-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-submit {
  width: 100%;
  cursor: pointer;
}

.form-note {
  color: var(--gray-500);
  font-size: 0.88rem;
}

.form-status {
  display: none;
  padding: 12px 14px;
  border-radius: var(--radius);
  font-weight: 800;
}

.form-status.is-success {
  display: block;
  color: #115c3f;
  background: #e8f7ef;
}

.form-status.is-error {
  display: block;
  color: #8a1f1f;
  background: #fff0f0;
}

.site-footer {
  color: rgba(255, 255, 255, 0.76);
  background: #07172c;
}

.footer-grid {
  display: grid;
  gap: 28px;
  padding: 48px 0 28px;
}

.footer-brand {
  color: var(--white);
  margin-bottom: 14px;
}

.site-footer h2 {
  margin: 0 0 12px;
  color: var(--white);
  font-size: 1rem;
}

.site-footer a,
.site-footer span {
  display: block;
  margin: 8px 0;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 0 92px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.floating-actions {
  position: fixed;
  right: 14px;
  bottom: 14px;
  left: 14px;
  z-index: 90;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.floating-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 10px;
  color: var(--white);
  border-radius: var(--radius);
  box-shadow: 0 12px 32px rgba(11, 31, 58, 0.25);
  font-size: 0.9rem;
  font-weight: 900;
  text-align: center;
}

.float-consult {
  background: var(--green);
}

.float-call {
  background: var(--blue);
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 560ms ease, transform 560ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (min-width: 640px) {
  .card-grid,
  .product-grid,
  .testimonial-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .industry-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .form-row.two-col {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .floating-actions {
    right: 18px;
    left: auto;
    grid-template-columns: auto;
    width: 220px;
  }
}

@media (max-width: 420px) {
  .floating-actions {
    grid-template-columns: 1.05fr 1fr;
  }

  .floating-actions a {
    padding-inline: 8px;
    font-size: 0.82rem;
  }
}

@media (min-width: 900px) {
  body {
    padding-bottom: 0;
  }

  .section-pad {
    padding: 104px 0;
  }

  .section-pad-sm {
    padding: 76px 0;
  }

  .menu-toggle,
  .mobile-nav {
    display: none !important;
  }

  .desktop-nav,
  .header-call {
    display: flex;
    align-items: center;
  }

  .desktop-nav {
    gap: 24px;
    color: var(--gray-700);
    font-size: 0.95rem;
    font-weight: 800;
  }

  .desktop-nav a:hover {
    color: var(--blue);
  }

  .header-call {
    min-height: 42px;
    padding: 10px 16px;
    color: var(--white);
    background: var(--blue);
    border-radius: var(--radius);
    font-weight: 900;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
    align-items: center;
  }

  .split-layout,
  .why-grid,
  .faq-layout,
  .contact-grid {
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    align-items: start;
  }

  .benefits-grid,
  .product-grid,
  .testimonial-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .industry-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .steps {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr;
  }

  .footer-bottom {
    padding-bottom: 28px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.001ms !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
  }
}
