:root {
  --ink: #10233f;
  --muted: #5b6f86;
  --line: #dce8f2;
  --blue: #0877d8;
  --blue-deep: #075ba8;
  --cyan: #48c7ee;
  --ice: #f3faff;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(12, 63, 116, 0.15);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
}

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

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

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 3px solid rgba(72, 199, 238, 0.72);
  outline-offset: 3px;
}

button,
input,
select,
textarea {
  font: inherit;
}

.container {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 16px;
  left: 50%;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  width: min(1160px, calc(100% - 32px));
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 16px 50px rgba(16, 35, 63, 0.12);
  backdrop-filter: blur(18px);
  transform: translateX(-50%);
  transition:
    box-shadow 0.2s ease,
    background 0.2s ease,
    top 0.2s ease;
}

.site-header.is-scrolled {
  top: 10px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 18px 52px rgba(16, 35, 63, 0.16);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-width: 220px;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 8px;
  color: var(--white);
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  font-weight: 800;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 0.98rem;
  line-height: 1.1;
}

.brand small {
  color: var(--muted);
  font-size: 0.76rem;
}

.main-nav {
  display: flex;
  justify-content: center;
  gap: 22px;
  color: #294360;
  font-size: 0.94rem;
  font-weight: 650;
}

.main-nav a {
  position: relative;
  padding: 8px 0;
}

.main-nav a::after {
  position: absolute;
  right: 0;
  bottom: 3px;
  left: 0;
  height: 2px;
  background: var(--cyan);
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}

.main-nav a:hover,
.header-call:hover {
  color: var(--blue);
}

.main-nav a:hover::after {
  transform: scaleX(1);
}

.header-call {
  justify-self: end;
  padding: 11px 15px;
  border-radius: 8px;
  color: var(--blue-deep);
  background: #e7f6ff;
  font-weight: 800;
  transition:
    color 0.2s ease,
    background 0.2s ease,
    transform 0.2s ease;
}

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

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 8px;
  background: var(--ice);
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: var(--ink);
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  padding: 150px 0 56px;
  background: #dff5ff;
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(246, 252, 255, 0.98) 0%, rgba(246, 252, 255, 0.84) 45%, rgba(246, 252, 255, 0.24) 100%),
    linear-gradient(0deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0) 32%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

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

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

h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(3rem, 7vw, 6.7rem);
  line-height: 0.95;
  letter-spacing: 0;
}

.hero-lead {
  max-width: 650px;
  margin: 24px 0 0;
  color: #35526d;
  font-size: clamp(1.05rem, 2vw, 1.28rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.btn {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 13px 19px;
  font-weight: 850;
  cursor: pointer;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
}

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

.btn:active {
  transform: translateY(0);
}

.btn-primary {
  color: var(--white);
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  box-shadow: 0 16px 34px rgba(8, 119, 216, 0.25);
}

.btn-secondary {
  color: var(--blue-deep);
  border-color: rgba(8, 119, 216, 0.22);
  background: rgba(255, 255, 255, 0.78);
}

.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 42px;
}

.trust-strip span {
  min-width: 168px;
  padding: 14px 16px;
  border: 1px solid rgba(8, 119, 216, 0.13);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--muted);
}

.trust-strip strong {
  display: block;
  color: var(--ink);
}

.section {
  padding: 92px 0;
}

.compact-section {
  padding-top: 78px;
}

.intro-band {
  padding: 34px 0;
  background: var(--ice);
}

.intro-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.intro-grid article {
  padding: 22px 0;
  border-top: 1px solid var(--line);
}

.icon {
  display: inline-flex;
  margin-bottom: 14px;
  color: var(--blue);
  font-weight: 900;
}

.intro-grid h2,
.service-card h3,
.benefit-list h3 {
  margin: 0 0 8px;
  font-size: 1.18rem;
  line-height: 1.25;
}

.intro-grid p,
.service-card p,
.benefit-list p,
.reference-card p,
.faq-list p,
.contact-panel p {
  margin: 0;
  color: var(--muted);
}

.service-proof {
  display: inline-flex;
  margin-top: 16px;
  padding: 7px 10px;
  border: 1px solid rgba(8, 119, 216, 0.15);
  border-radius: 8px;
  color: var(--blue-deep);
  background: #eef9ff;
  font-size: 0.86rem;
  font-weight: 800;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 34px;
  text-align: center;
}

.section-heading h2,
.contact-panel h2,
.quote-form h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.04;
}

.section-heading p:not(.eyebrow) {
  margin: 16px 0 0;
  color: var(--muted);
}

.align-left {
  margin-left: 0;
  text-align: left;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.service-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 16px 46px rgba(16, 35, 63, 0.08);
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    border-color 0.22s ease;
}

.service-card:hover,
.reference-card:hover,
.benefit-list article:hover {
  border-color: rgba(8, 119, 216, 0.28);
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}

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

.service-card div {
  padding: 24px;
}

.service-card ul {
  display: grid;
  gap: 8px;
  margin: 18px 0 0;
  padding: 0;
  color: #294360;
  list-style: none;
}

.service-card li {
  position: relative;
  padding-left: 20px;
}

.service-card li::before {
  position: absolute;
  left: 0;
  color: var(--cyan);
  content: "✓";
  font-weight: 900;
}

.why-section,
.faq-section {
  background: linear-gradient(180deg, #f7fcff, #edf8ff);
}

.why-layout,
.faq-layout,
.contact-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 42px;
  align-items: start;
}

.benefit-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.benefit-list article,
.reference-card,
.faq-list details,
.contact-panel,
.quote-form {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 14px 44px rgba(16, 35, 63, 0.07);
}

.benefit-list article {
  padding: 24px;
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    border-color 0.22s ease;
}

.proof-band {
  padding: 30px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #f8fcff;
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.proof-grid div {
  padding: 18px 16px;
  border-radius: 8px;
  background: var(--white);
}

.proof-grid strong,
.proof-grid span {
  display: block;
}

.proof-grid strong {
  color: var(--ink);
  line-height: 1.2;
}

.proof-grid span {
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.9rem;
}

.reference-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.reference-card {
  padding: 26px;
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    border-color 0.22s ease;
}

.stars {
  margin-bottom: 16px;
  color: #f5a400;
  font-size: 0.95rem;
  letter-spacing: 0;
}

.reference-card strong,
.reference-card span {
  display: block;
}

.reference-card strong {
  margin-top: 24px;
}

.reference-card span {
  color: var(--muted);
  font-size: 0.92rem;
}

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

.faq-list details {
  padding: 20px 22px;
}

.faq-list summary {
  color: var(--ink);
  font-weight: 850;
  cursor: pointer;
}

.faq-list p {
  margin-top: 12px;
}

.contact-section {
  background:
    linear-gradient(115deg, rgba(255, 255, 255, 0.96), rgba(244, 251, 255, 0.9)),
    url("https://images.unsplash.com/photo-1631545806609-7b5345f995c9?auto=format&fit=crop&w=1600&q=82");
  background-position: center;
  background-size: cover;
}

.contact-panel,
.quote-form {
  padding: 30px;
}

.contact-methods {
  display: grid;
  gap: 12px;
  margin-top: 26px;
}

.contact-methods a,
.contact-methods div {
  display: block;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f7fcff;
}

.contact-methods span {
  display: block;
  color: var(--muted);
  font-size: 0.84rem;
}

.contact-methods strong {
  color: var(--ink);
}

.micro-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.micro-trust span {
  padding: 7px 10px;
  border-radius: 8px;
  color: var(--blue-deep);
  background: #eaf8ff;
  font-size: 0.84rem;
  font-weight: 800;
}

.quote-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.quote-form .eyebrow,
.quote-form h2,
.quote-form .full,
.form-note {
  grid-column: 1 / -1;
}

.quote-form label {
  display: grid;
  gap: 7px;
  color: #294360;
  font-size: 0.9rem;
  font-weight: 750;
}

.quote-form input,
.quote-form select,
.quote-form textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid #ccdeeb;
  border-radius: 8px;
  padding: 12px 13px;
  color: var(--ink);
  background: #fbfdff;
  outline: none;
}

.quote-form textarea {
  resize: vertical;
}

.quote-form input:focus,
.quote-form select:focus,
.quote-form textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(8, 119, 216, 0.12);
}

.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.site-footer {
  padding: 28px 0;
  color: #d5e9f9;
  background: #10233f;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.footer-inner p {
  margin: 0;
}

.footer-inner a {
  color: var(--white);
  font-weight: 750;
}

.mobile-action-bar {
  position: fixed;
  z-index: 18;
  right: 12px;
  bottom: 12px;
  left: 12px;
  display: none;
  gap: 8px;
  padding: 8px;
  border: 1px solid rgba(220, 232, 242, 0.9);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.93);
  box-shadow: 0 16px 44px rgba(16, 35, 63, 0.16);
  backdrop-filter: blur(16px);
}

.mobile-action-bar a {
  display: inline-flex;
  min-height: 48px;
  flex: 1;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  font-weight: 900;
}

.mobile-action-bar a:first-child {
  color: var(--blue-deep);
  background: #e7f6ff;
}

.mobile-action-bar a:last-child {
  color: var(--white);
  background: linear-gradient(135deg, var(--blue), var(--cyan));
}

.js [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.55s ease,
    transform 0.55s ease;
}

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

@media (max-width: 960px) {
  .site-header {
    grid-template-columns: auto auto;
  }

  .brand {
    min-width: 0;
  }

  .nav-toggle {
    display: block;
    justify-self: end;
  }

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

  .main-nav.is-open {
    display: grid;
    grid-column: 1 / -1;
    justify-content: stretch;
    gap: 6px;
    padding-top: 10px;
  }

  .main-nav.is-open a {
    padding: 11px 10px;
    border-radius: 8px;
    background: var(--ice);
  }

  .hero {
    min-height: 86vh;
  }

  .intro-grid,
  .service-grid,
  .why-layout,
  .faq-layout,
  .reference-grid,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .benefit-list {
    grid-template-columns: 1fr 1fr;
  }

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

@media (max-width: 640px) {
  .container,
  .hero-content {
    width: min(100% - 28px, 1160px);
  }

  .site-header {
    top: 10px;
    width: calc(100% - 20px);
  }

  .brand small {
    display: none;
  }

  .hero {
    min-height: 90vh;
    padding: 124px 0 38px;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(246, 252, 255, 0.99) 0%, rgba(246, 252, 255, 0.88) 72%, rgba(246, 252, 255, 0.56) 100%),
      linear-gradient(0deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0) 28%);
  }

  h1 {
    font-size: clamp(2.7rem, 15vw, 4rem);
  }

  .hero-actions,
  .trust-strip,
  .footer-inner {
    flex-direction: column;
  }

  .btn,
  .trust-strip span {
    width: 100%;
  }

  .section {
    padding: 68px 0;
  }

  .compact-section {
    padding-top: 58px;
  }

  .intro-band {
    padding: 18px 0;
  }

  .benefit-list,
  .quote-form {
    grid-template-columns: 1fr;
  }

  .contact-panel,
  .quote-form,
  .service-card div,
  .reference-card,
  .benefit-list article {
    padding: 22px;
  }

  .proof-grid {
    grid-template-columns: 1fr;
  }

  .mobile-action-bar {
    display: flex;
  }

  .site-footer {
    padding-bottom: 92px;
  }
}

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

  .js [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
