:root {
  --primary: #087daf;
  --primary-dark: #0369a1;
  --primary-soft: #e8f8ff;
  --navy: #071b3a;
  --navy-soft: #102a56;
  --white: #fff;
  --paper: #f7fcff;
  --gray: #64748b;
  --border: #dbeafe;
  --shadow: 0 22px 50px rgba(7, 27, 58, 0.12);
  --shadow-soft: 0 12px 30px rgba(7, 27, 58, 0.08);
  --radius: 24px;
  --header-height: 82px;
}

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

* {
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 0;
}

body {
  overflow-x: hidden;
  background: var(--white);
  color: var(--navy);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

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

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

button {
  color: inherit;
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid var(--primary-dark);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 2000;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--navy);
  color: var(--white);
  font-weight: 800;
  transform: translateY(-160%);
  transition: transform 0.2s ease;
}

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

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

.section-space {
  padding-block: 96px;
}

.eyebrow {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 16px;
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--primary-soft);
  color: var(--primary-dark);
  font-size: 14px;
  font-weight: 800;
}

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

.section-head h2,
.about-copy h2 {
  margin-bottom: 16px;
  font-size: clamp(32px, 4.5vw, 50px);
  line-height: 1.12;
  letter-spacing: -1.5px;
}

.section-head p,
.about-copy p {
  color: var(--gray);
}

.btn {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 0;
  border-radius: 999px;
  font-weight: 800;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--white);
  box-shadow: 0 14px 28px rgba(2, 132, 199, 0.24);
}

.btn-light {
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.9);
}

/* Header */

.site-header {
  position: sticky;
  z-index: 1000;
  top: 0;
  height: var(--header-height);
  border-bottom: 1px solid rgba(219, 234, 254, 0.85);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.nav-wrap {
  display: flex;
  height: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  min-width: max-content;
  align-items: center;
  gap: 12px;
}

.brand-logo {
  width: 58px;
  height: 58px;
  object-fit: contain;
}

.brand-text {
  display: grid;
  line-height: 1.05;
}

.brand-text strong {
  font-size: 22px;
  letter-spacing: -0.8px;
}

.brand-text small {
  color: var(--primary-dark);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 2.6px;
  text-transform: uppercase;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 30px;
  font-weight: 800;
}

.nav-menu a:not(.nav-cta) {
  transition: color 0.2s ease;
}

.nav-menu a:not(.nav-cta):hover {
  color: var(--primary-dark);
}

.nav-cta {
  padding: 13px 22px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--white);
  box-shadow: 0 10px 24px rgba(2, 132, 199, 0.22);
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 0;
  border-radius: 14px;
  background: var(--primary-soft);
  cursor: pointer;
}

.nav-toggle span {
  grid-area: 1 / 1;
  width: 23px;
  height: 2px;
  border-radius: 2px;
  background: var(--navy);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle span:first-child {
  transform: translateY(-7px);
}

.nav-toggle span:last-child {
  transform: translateY(7px);
}

.nav-toggle.active span:first-child {
  transform: rotate(45deg);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:last-child {
  transform: rotate(-45deg);
}

/* Hero */

.hero {
  position: relative;
  isolation: isolate;
  min-height: calc(100vh - var(--header-height));
  overflow: hidden;
  background: linear-gradient(135deg, #f4fcff 0%, #dff5ff 55%, #effaff 100%);
}

.hero-bg-shape {
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  background: rgba(56, 189, 248, 0.12);
}

.shape-one {
  top: -190px;
  right: -120px;
  width: 470px;
  height: 470px;
}

.shape-two {
  bottom: -150px;
  left: -150px;
  width: 330px;
  height: 330px;
}

.hero-grid {
  display: grid;
  min-height: calc(100vh - var(--header-height));
  grid-template-columns: 1.08fr 0.92fr;
  align-items: center;
  gap: 34px;
  padding-block: 54px;
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.hero-copy h1 {
  max-width: 760px;
  margin-bottom: 24px;
  font-size: clamp(45px, 5.3vw, 74px);
  line-height: 1.04;
  letter-spacing: -2.8px;
}

.hero-copy > p {
  max-width: 680px;
  color: var(--gray);
  font-size: clamp(17px, 1.5vw, 20px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.hero-stats {
  display: grid;
  max-width: 680px;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 44px;
}

.hero-stats div {
  display: grid;
  min-height: 116px;
  align-content: center;
  padding: 20px;
  border: 1px solid rgba(219, 234, 254, 0.9);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow-soft);
}

.hero-stats strong {
  color: var(--primary-dark);
  font-size: clamp(29px, 3vw, 38px);
  line-height: 1;
}

.hero-stats span {
  margin-top: 9px;
  color: var(--gray);
  font-size: 14px;
  font-weight: 800;
}

.hero-image-visual {
  position: relative;
  align-self: end;
  min-height: 610px;
}

.hero-guard-image {
  position: absolute;
  right: -5%;
  bottom: 0;
  width: min(100%, 560px);
  max-height: 690px;
  object-fit: contain;
  object-position: bottom;
  filter: drop-shadow(0 28px 30px rgba(7, 27, 58, 0.18));
}

.floating-card {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 22px;
  border: 1px solid rgba(219, 234, 254, 0.9);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow);
  white-space: nowrap;
}

.floating-card span {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 14px;
  background: var(--primary-soft);
  color: var(--primary-dark);
  font-size: 20px;
}

.top-card {
  z-index: 3;
  top: 16%;
  left: -8%;
}

.bottom-card {
  right: -4%;
  bottom: 8%;
}

/* Services */

.services {
  background: var(--white);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
}

.service-card {
  position: relative;
  grid-column: span 2;
  overflow: hidden;
  padding: 30px 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-soft);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.service-card:nth-child(4) {
  grid-column: 2 / span 2;
}

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

.service-icon {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  margin-bottom: 20px;
  border-radius: 18px;
  background: var(--primary-soft);
  font-size: 26px;
}

.service-card h3 {
  margin-bottom: 10px;
  font-size: 20px;
}

.service-card p {
  color: var(--gray);
  font-size: 15px;
}

/* About */

.about {
  background: linear-gradient(180deg, #f8fdff, #edf9ff);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 58px;
}

.about-copy p {
  margin-bottom: 26px;
  font-size: 17px;
}

.check-list {
  display: grid;
  gap: 14px;
  margin-bottom: 30px;
  list-style: none;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--navy-soft);
  font-weight: 800;
}

.check-list span {
  display: grid;
  min-width: 25px;
  height: 25px;
  place-items: center;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  font-size: 14px;
}

.about-panel {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: 32px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.feature-box {
  display: flex;
  min-height: 174px;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
  padding: 23px;
  border: 1px solid var(--border);
  border-radius: 22px;
  background: linear-gradient(135deg, #fff, #eaf8ff);
}

.feature-box > span {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 16px;
  background: var(--navy);
  color: var(--white);
  font-size: 22px;
}

.feature-box h3 {
  font-size: 20px;
}

.feature-box p {
  color: var(--gray);
  font-size: 14px;
}

/* Contact */

.contact-grid {
  display: grid;
  width: min(100%, 820px);
  grid-template-columns: 1fr;
  gap: 24px;
  margin-inline: auto;
}

.contact-card,
.quote-card {
  padding: 34px;
  border-radius: 32px;
  box-shadow: var(--shadow);
}

.contact-card {
  background: linear-gradient(155deg, var(--navy), #0f356b);
  color: var(--white);
}

.contact-card h3,
.quote-card h3 {
  margin-bottom: 10px;
  font-size: 30px;
  line-height: 1.2;
}

.contact-card > p {
  margin-bottom: 25px;
  color: rgba(255, 255, 255, 0.76);
}

.contact-list {
  display: grid;
}

.contact-list > div {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding-block: 15px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.contact-list span {
  display: grid;
  min-width: 43px;
  height: 43px;
  place-items: center;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.12);
}

.contact-list p,
.contact-list a {
  color: rgba(255, 255, 255, 0.76);
  font-size: 14px;
}

.contact-list a:hover {
  color: var(--white);
  text-decoration: underline;
}

.quote-card {
  border: 1px solid var(--border);
  background: var(--white);
}

.quote-card p {
  max-width: 620px;
  margin-bottom: 24px;
  color: var(--gray);
}

/* Footer */

.site-footer {
  padding-top: 68px;
  background: var(--navy);
  color: var(--white);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.7fr 0.9fr;
  gap: 52px;
  padding-bottom: 48px;
}

.site-footer h3,
.site-footer h4 {
  margin-bottom: 14px;
}

.site-footer p,
.site-footer a {
  display: block;
  margin-bottom: 8px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 15px;
}

.site-footer a:hover {
  color: var(--primary);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 14px;
  padding-block: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.62);
  font-size: 14px;
}

@media (max-width: 1080px) {
  .nav-menu {
    gap: 20px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    padding-top: 72px;
  }

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

  .hero-copy .eyebrow,
  .hero-copy > p,
  .hero-stats {
    margin-inline: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-image-visual {
    width: min(100%, 660px);
    min-height: 590px;
    margin-inline: auto;
  }

  .hero-guard-image {
    right: 7%;
  }

  .top-card {
    left: 2%;
  }

  .bottom-card {
    right: 2%;
  }

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

@media (max-width: 820px) {
  :root {
    --header-height: 76px;
  }

  .container {
    width: calc(100% - 32px);
    max-width: 1180px;
  }

  .nav-toggle {
    display: grid;
  }

  .nav-menu {
    position: fixed;
    inset: var(--header-height) 0 0;
    display: flex;
    visibility: hidden;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding: 24px 20px;
    background: rgba(255, 255, 255, 0.98);
    opacity: 0;
    transform: translateX(100%);
    transition: visibility 0.25s, opacity 0.25s ease, transform 0.25s ease;
  }

  .nav-menu.active {
    visibility: visible;
    opacity: 1;
    transform: translateX(0);
  }

  .nav-menu a {
    padding: 15px 18px;
    border-radius: 14px;
    font-size: 18px;
    text-align: center;
  }

  .nav-menu a:not(.nav-cta) {
    background: var(--paper);
  }

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

  .service-card,
  .service-card:nth-child(4) {
    grid-column: auto;
  }

  .service-card:last-child {
    grid-column: 1 / -1;
  }

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

  .footer-grid > div:first-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 600px) {
  .section-space {
    padding-block: 68px;
  }

  .brand-logo {
    width: 50px;
    height: 50px;
  }

  .brand-text strong {
    font-size: 18px;
  }

  .brand-text small {
    font-size: 10px;
    letter-spacing: 2px;
  }

  .hero-grid {
    min-height: auto;
    gap: 16px;
    padding-block: 42px 0;
  }

  .hero-copy h1 {
    margin-bottom: 20px;
    font-size: clamp(36px, 10vw, 44px);
    line-height: 1.06;
    letter-spacing: -1.4px;
  }

  .hero-copy > p {
    font-size: 16px;
  }

  .hero-actions .btn {
    flex: 1 1 145px;
  }

  .hero-stats {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-top: 34px;
  }

  .hero-stats div {
    min-height: 94px;
    padding: 12px 8px;
    border-radius: 16px;
  }

  .hero-stats strong {
    font-size: 25px;
  }

  .hero-stats span {
    font-size: 11px;
    line-height: 1.25;
  }

  .hero-image-visual {
    width: 100%;
    min-height: 410px;
    margin-inline: auto;
  }

  .hero-guard-image {
    right: 50%;
    width: min(100%, 390px);
    transform: translateX(50%);
  }

  .floating-card {
    padding: 12px 14px;
    border-radius: 16px;
    font-size: 13px;
  }

  .floating-card span {
    width: 34px;
    height: 34px;
    border-radius: 11px;
    font-size: 16px;
  }

  .top-card {
    top: 12%;
    left: 0;
  }

  .bottom-card {
    right: 0;
    bottom: 6%;
  }

  .section-head {
    margin-bottom: 36px;
  }

  .section-head h2,
  .about-copy h2 {
    font-size: 34px;
    letter-spacing: -1px;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .service-card:last-child {
    grid-column: auto;
  }

  .service-card {
    display: grid;
    grid-template-columns: auto 1fr;
    column-gap: 16px;
    padding: 20px;
  }

  .service-icon {
    grid-row: 1 / 3;
    width: 50px;
    height: 50px;
    margin: 0;
    border-radius: 15px;
    font-size: 22px;
  }

  .service-card h3 {
    align-self: end;
    margin: 0;
    font-size: 18px;
  }

  .service-card p {
    font-size: 14px;
    line-height: 1.5;
  }

  .about-panel {
    gap: 10px;
    padding: 12px;
    border-radius: 24px;
  }

  .feature-box {
    min-height: 155px;
    padding: 17px;
    border-radius: 17px;
  }

  .feature-box > span {
    width: 40px;
    height: 40px;
    border-radius: 13px;
    font-size: 18px;
  }

  .feature-box h3 {
    font-size: 16px;
  }

  .feature-box p {
    font-size: 12px;
  }

  .contact-card,
  .quote-card {
    padding: 26px;
    border-radius: 24px;
  }

  .contact-card h3,
  .quote-card h3 {
    font-size: 25px;
  }

  .quote-card .btn {
    width: 100%;
  }

  .contact-list a,
  .site-footer a {
    overflow-wrap: anywhere;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-grid > div:first-child {
    grid-column: auto;
  }

  .footer-bottom {
    flex-direction: column;
  }
}

@media (max-width: 380px) {
  .container {
    width: calc(100% - 24px);
  }

  .about-panel {
    grid-template-columns: 1fr;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

@media print {
  .site-header,
  .hero-bg-shape,
  .floating-card,
  .hero-actions {
    display: none !important;
  }

  .hero,
  .about,
  .site-footer {
    background: var(--white) !important;
    color: var(--navy) !important;
  }
}
