:root {
  --navy: #071423;
  --navy-2: #0d2138;
  --blue: #1f73e8;
  --blue-2: #0c55c8;
  --ink: #111827;
  --muted: #5d6878;
  --line: #e3e9f2;
  --soft: #f5f8fc;
  --white: #ffffff;
  --shadow: 0 18px 45px rgba(9, 28, 51, 0.11);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, Arial, sans-serif;
  color: var(--ink);
  background: var(--white);
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 18px clamp(22px, 5vw, 64px);
  color: var(--white);
  background: linear-gradient(180deg, rgba(5, 16, 29, 0.9), rgba(5, 16, 29, 0.18));
  backdrop-filter: blur(10px);
}

.brand,
.footer-brand {
  display: flex;
  align-items: center;
  gap: 16px;
  text-transform: uppercase;
}

.brand-mark {
  width: 112px;
  height: 74px;
  object-fit: cover;
  object-position: center 30%;
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.22));
}

.brand strong,
.footer-brand strong {
  display: block;
  font-size: 24px;
  letter-spacing: 0;
}

.brand small,
.footer-brand small {
  display: block;
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  letter-spacing: 5px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 14px;
  font-weight: 600;
}

.main-nav a {
  padding: 8px 0;
  border-bottom: 2px solid transparent;
}

.main-nav a:hover {
  border-color: var(--blue);
}

.header-cta,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border-radius: 7px;
  font-weight: 700;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.header-cta,
.btn.primary {
  color: var(--white);
  background: linear-gradient(135deg, var(--blue), var(--blue-2));
  box-shadow: 0 12px 26px rgba(31, 115, 232, 0.28);
}

.btn.secondary {
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.58);
}

.btn.secondary.dark {
  color: var(--navy);
  border-color: #b9c6d8;
}

.header-cta:hover,
.btn:hover {
  transform: translateY(-2px);
}

.hero {
  position: relative;
  min-height: 650px;
  display: grid;
  align-items: center;
  padding: 120px clamp(24px, 5vw, 68px) 74px;
  overflow: hidden;
  color: var(--white);
  background: var(--navy);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 16, 29, 0.94) 0%, rgba(5, 16, 29, 0.82) 30%, rgba(5, 16, 29, 0.28) 62%, rgba(5, 16, 29, 0.08) 100%),
    url("assets/hero-office.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: auto, 92% auto;
  background-color: var(--navy);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 640px;
}

.eyebrow,
.section-kicker {
  display: inline-block;
  margin: 0 0 14px;
  color: #2f7df0;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 650px;
  margin: 0;
  font-size: clamp(44px, 6.4vw, 76px);
  line-height: 0.98;
  font-weight: 800;
}

.hero-copy {
  max-width: 560px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.45;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 34px;
}

.trust-strip,
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  padding: 26px clamp(24px, 5vw, 68px);
  background: #edf2f8;
}

.trust-item,
.stats div {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 22px;
  background: var(--white);
}

.trust-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  color: #0d4f9f;
  line-height: 1;
  flex: 0 0 auto;
}

.trust-icon svg {
  width: 42px;
  height: 42px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.trust-item strong,
.stats strong {
  display: block;
  font-size: 17px;
}

.trust-item small,
.stats span {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 13px;
}

.section {
  padding: 72px clamp(24px, 5vw, 68px);
}

.section-heading {
  max-width: 760px;
  margin: 0 auto 34px;
  text-align: center;
}

.section-heading h2,
.custom-band h2,
.about-text h2,
.contact-band h2 {
  margin: 0;
  color: #102036;
  font-size: clamp(30px, 4vw, 42px);
  line-height: 1.1;
}

.section-heading p,
.custom-band p,
.about-text p,
.contact-band p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.6;
}

.solutions-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.solution-card {
  position: relative;
  min-height: 320px;
  overflow: hidden;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(135deg, #ffffff 0%, #f6f9fd 100%);
  box-shadow: 0 10px 32px rgba(10, 32, 59, 0.08);
}

.solution-card.has-laptop-shot {
  min-height: 360px;
}

.solution-card:hover {
  border-color: #b8cef0;
  box-shadow: var(--shadow);
}

.solution-top {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 14px;
}

.solution-icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 8px;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid rgba(188, 201, 218, 0.65);
  box-shadow: 0 8px 18px rgba(10, 32, 59, 0.08);
  flex: 0 0 auto;
}

.solution-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.navy { background: #12365d; }
.green { background: #4aa84f; }
.slate { background: #25324a; }
.teal { background: #1685a8; }
.amber { background: #df9134; }
.blue { background: #2077b7; }

.solution-card h3 {
  margin: 0;
  font-size: 20px;
}

.solution-card small {
  color: var(--muted);
}

.solution-card p {
  position: relative;
  z-index: 2;
  max-width: 66%;
  margin: 28px 0 18px;
  color: #344155;
  line-height: 1.48;
}

.has-laptop-shot p {
  max-width: 82%;
  width: fit-content;
  margin-bottom: 76px;
  padding: 10px 12px;
  border-radius: 8px;
  color: #26364c;
  font-weight: 600;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.78));
  box-shadow: 0 10px 24px rgba(255, 255, 255, 0.48);
  backdrop-filter: blur(3px);
}

.solution-card:not(.has-laptop-shot) p {
  width: fit-content;
  padding: 10px 12px;
  border-radius: 8px;
  color: #26364c;
  font-weight: 600;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.78));
  box-shadow: 0 10px 24px rgba(255, 255, 255, 0.48);
  backdrop-filter: blur(3px);
}

.solution-card a {
  position: absolute;
  left: 24px;
  bottom: 22px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 7px;
  color: var(--white);
  background: var(--blue);
  font-weight: 700;
  font-size: 14px;
}

.device {
  position: absolute;
  right: -10px;
  bottom: 18px;
  width: 190px;
  height: 114px;
  border-radius: 8px;
  background: #0d2138;
  box-shadow: 0 16px 28px rgba(7, 20, 35, 0.18);
  transform: perspective(500px) rotateY(-10deg) rotateX(3deg);
}

.product-shot {
  display: grid;
  place-items: center;
  background: transparent;
  box-shadow: none;
  overflow: visible;
  z-index: 1;
}

.product-shot img {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  filter: none;
}

.product-shot-laptop {
  right: -20px;
  bottom: 0;
  width: 270px;
  height: 170px;
  padding: 10px 10px 26px;
  border-radius: 10px 10px 5px 5px;
  background: linear-gradient(135deg, rgba(11, 28, 49, 0.92), rgba(16, 41, 68, 0.92));
  box-shadow: 0 18px 32px rgba(7, 20, 35, 0.16);
  opacity: 0.72;
  transform: perspective(620px) rotateY(-11deg) rotateX(4deg) rotateZ(-1deg);
  transform-origin: center bottom;
}

.device.product-shot-laptop::before {
  content: "";
  position: absolute;
  inset: 7px 7px 24px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.5);
}

.device.product-shot-laptop::after {
  content: "";
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: -9px;
  height: 17px;
  border-radius: 0 0 18px 18px;
  background: linear-gradient(180deg, rgba(216, 226, 239, 0.92), rgba(184, 198, 215, 0.92));
  box-shadow: 0 10px 18px rgba(7, 20, 35, 0.12);
}

.product-shot-phone {
  right: 24px;
  bottom: -2px;
  width: 122px;
  height: 212px;
  padding: 10px 8px 12px;
  border-radius: 22px;
  background: linear-gradient(145deg, #08111e, #172337);
  box-shadow: 0 16px 28px rgba(7, 20, 35, 0.18);
  transform: perspective(420px) rotateY(-9deg) rotateX(2deg) rotateZ(4deg);
  transform-origin: center bottom;
  opacity: 0.72;
}

.device.product-shot-phone::before {
  content: "";
  position: absolute;
  inset: 8px;
  border-radius: 16px;
  background: #f8fbff;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.34);
}

.device.product-shot-phone::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 8px;
  width: 42px;
  height: 7px;
  border-radius: 0 0 10px 10px;
  background: #08111e;
  transform: translateX(-50%);
  z-index: 3;
}

.product-shot-phone img {
  border-radius: 15px;
  object-fit: cover;
  filter: none;
}

.device.phone.menu {
  right: 24px;
  bottom: -2px;
  width: 122px;
  height: 212px;
  border-radius: 22px;
  transform: perspective(420px) rotateY(-9deg) rotateX(2deg) rotateZ(4deg);
  opacity: 0.72;
}

.device.phone.menu::before {
  inset: 8px;
  border-radius: 16px;
}

.device.phone.menu::after {
  left: 50%;
  top: 8px;
  right: auto;
  bottom: auto;
  width: 42px;
  height: 7px;
  border-radius: 0 0 10px 10px;
  background: #08111e;
  transform: translateX(-50%);
}

.device::before {
  content: "";
  position: absolute;
  inset: 8px;
  border-radius: 5px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.86) 10%, transparent 10% 18%, rgba(255, 255, 255, 0.86) 18% 28%, transparent 28% 100%),
    linear-gradient(180deg, #e9f1fb 0 18%, #ffffff 18% 100%);
}

.device::after {
  content: "";
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: -12px;
  height: 10px;
  border-radius: 0 0 18px 18px;
  background: #c7d2df;
}

.device.dark::before {
  background: linear-gradient(135deg, #0f1c31, #143a6f 55%, #5fc166);
}

.phone {
  right: 28px;
  width: 86px;
  height: 166px;
  border-radius: 18px;
  transform: rotate(4deg);
}

.phone::before {
  inset: 8px;
  border-radius: 12px;
  background:
    radial-gradient(circle at 50% 28%, #2f7df0 0 8px, transparent 9px),
    linear-gradient(180deg, #dff0ff 0 46%, #ffffff 46%);
}

.phone::after {
  left: 28px;
  right: 28px;
  bottom: 6px;
  height: 4px;
  border-radius: 10px;
  background: #d7e2ef;
}

.phone.menu::before {
  background:
    radial-gradient(circle at 50% 35%, #d1742f 0 24px, #f6c06d 25px 28px, transparent 29px),
    linear-gradient(180deg, #111827 0 100%);
}

.phone.place::before {
  background:
    linear-gradient(180deg, #cce8ff 0 52%, #6ebf7a 52% 70%, #f7f7f7 70% 100%);
}

.custom-band,
.contact-band {
  margin: 24px clamp(24px, 5vw, 68px);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  padding: 34px;
  border-radius: 8px;
  background: linear-gradient(135deg, #f7faff, #eef4fb);
  border: 1px solid var(--line);
}

.custom-icon {
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  border-radius: 8px;
  color: #0f3158;
  background: var(--white);
  font-size: 26px;
  font-weight: 900;
  box-shadow: 0 12px 24px rgba(10, 32, 59, 0.08);
}

.custom-icon svg {
  width: 42px;
  height: 42px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.stats {
  background: var(--white);
}

.stats div {
  justify-content: center;
  text-align: left;
  border-right: 1px solid var(--line);
}

.stats div:last-child {
  border-right: 0;
}

.stats strong {
  color: #102036;
  font-size: 28px;
}

.stats p {
  margin: 0;
}

.stats-icon {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  color: #0d2138;
  flex: 0 0 auto;
}

.stats-icon svg {
  width: 42px;
  height: 42px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.about {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(320px, 1.1fr);
  gap: 42px;
  align-items: center;
}

.about-text {
  position: relative;
  padding-right: 230px;
}

.about-note {
  position: absolute;
  right: 0;
  bottom: 4px;
  width: 210px;
  color: #102036;
  font-family: "Segoe Print", "Bradley Hand ITC", cursive;
  font-size: 24px;
  line-height: 1.25;
  font-weight: 700;
  transform: rotate(-7deg);
}

.about-note span {
  display: block;
}

.about-note::after {
  content: "";
  display: block;
  width: 142px;
  height: 14px;
  margin: 8px 0 0 34px;
  border-bottom: 4px solid #1f73e8;
  border-radius: 50%;
  transform: rotate(-2deg);
}

.about-visual {
  min-height: 300px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 8px;
  background: #0d2138;
  box-shadow: var(--shadow);
}

.about-visual img {
  width: 100%;
  height: 100%;
  min-height: 300px;
  object-fit: cover;
  display: block;
}

.contact-band {
  grid-template-columns: minmax(280px, 0.85fr) minmax(320px, 1fr);
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(6, 18, 32, 0.95), rgba(12, 42, 74, 0.96)),
    url("assets/hero-office.png") center / cover;
}

.contact-band h2 {
  color: var(--white);
}

.contact-band p {
  color: rgba(255, 255, 255, 0.76);
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding: 20px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(10px);
}

.contact-form label,
.contact-form .form-wide,
.form-status {
  grid-column: 1 / -1;
}

.contact-form label {
  display: grid;
  gap: 7px;
}

.contact-form label:not(.form-wide) {
  grid-column: auto;
}

.contact-form span {
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
  font-weight: 700;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  min-height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 7px;
  padding: 10px 12px;
  color: #102036;
  background: rgba(255, 255, 255, 0.94);
  font: inherit;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form button {
  justify-self: start;
  border: 0;
  cursor: pointer;
}

.form-honeypot {
  position: absolute;
  left: -9999px;
}

.form-status {
  display: none;
  margin: 0;
  padding: 10px 12px;
  border-radius: 7px;
  font-weight: 700;
}

.form-status.success,
.form-status.error {
  display: block;
}

.form-status.success {
  color: #0f5132;
  background: #d1e7dd;
}

.form-status.error {
  color: #842029;
  background: #f8d7da;
}

.site-footer {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 0.8fr 1fr;
  gap: 36px;
  padding: 44px clamp(24px, 5vw, 68px);
  color: var(--white);
  background: #071423;
}

.site-footer div {
  display: grid;
  align-content: start;
  gap: 8px;
}

.site-footer a,
.site-footer span,
.site-footer p {
  color: rgba(255, 255, 255, 0.72);
  margin: 0;
}

@media (max-width: 1050px) {
  .main-nav {
    display: none;
  }

  .solutions-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .trust-strip,
  .stats,
  .site-footer {
    grid-template-columns: repeat(2, 1fr);
  }

  .custom-band,
  .contact-band {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .site-header {
    position: absolute;
    padding: 16px 20px;
  }

  .header-cta {
    display: none;
  }

  .brand-mark {
    width: 86px;
    height: 58px;
  }

  .hero {
    min-height: 720px;
    padding: 108px 22px 56px;
  }

  .hero-bg {
    background:
      linear-gradient(180deg, rgba(5, 16, 29, 0.92) 0%, rgba(5, 16, 29, 0.8) 50%, rgba(5, 16, 29, 0.46) 100%),
      url("assets/hero-office.png") center / cover no-repeat;
    background-size: cover;
  }


  .hero-actions,
  .contact-actions {
    align-items: stretch;
  }

  .btn {
    width: 100%;
  }

  .trust-strip,
  .stats,
  .solutions-grid,
  .about,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .about-text {
    padding-right: 0;
  }

  .about-note {
    position: relative;
    right: auto;
    bottom: auto;
    width: 210px;
    margin: 22px 0 0 auto;
    font-size: 22px;
  }

  .section {
    padding: 52px 20px;
  }

  .solution-card {
    min-height: 360px;
  }

  .solution-card p {
    max-width: 100%;
    padding-right: 86px;
  }

  .has-laptop-shot p {
    max-width: 100%;
    padding-right: 28px;
  }

  .product-shot-laptop {
    right: -82px;
    bottom: -2px;
  }

  .custom-band,
  .contact-band {
    margin: 16px 20px;
    padding: 24px;
  }

  .contact-form {
    grid-template-columns: 1fr;
  }

  .stats div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
}
