:root {
  --ink: #12212f;
  --muted: #627386;
  --line: #d9e3ea;
  --soft: #f3f7fa;
  --blue: #1d66b3;
  --green: #1f8a70;
  --nav: #101c28;
  --white: #ffffff;
  --shadow: 0 20px 50px rgba(18, 33, 47, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  background: var(--white);
  line-height: 1.6;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 74px;
  padding: 12px clamp(18px, 4vw, 56px);
  color: var(--white);
  background: rgba(16, 28, 40, 0.96);
  backdrop-filter: blur(12px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  display: block;
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  color: var(--white);
}

.brand-mark svg {
  display: block;
  width: 100%;
  height: 100%;
}

.logo-field {
  fill: #ffffff;
  stroke: rgba(255, 255, 255, 0.55);
  stroke-width: 1.4;
}

.logo-route {
  fill: none;
  stroke: #1f8a70;
  stroke-linecap: round;
  stroke-width: 2.8;
}

.logo-l {
  fill: none;
  stroke: #1d66b3;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 5;
}

.logo-spark {
  fill: #1f8a70;
  stroke: #ffffff;
  stroke-linejoin: round;
  stroke-width: 1.1;
}

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

.brand small {
  color: #b8c8d7;
  font-size: 12px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  color: #dce8f1;
  font-size: 14px;
  font-weight: 700;
}

.site-nav a:hover {
  color: var(--white);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background: transparent;
}

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

.section {
  padding: clamp(56px, 8vw, 96px) clamp(18px, 4vw, 56px);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.86fr);
  gap: clamp(34px, 6vw, 80px);
  align-items: center;
  min-height: calc(100vh - 74px);
  padding-top: clamp(42px, 7vw, 80px);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.8)),
    url("https://images.unsplash.com/photo-1566576721346-d4a3b4eaeb55?auto=format&fit=crop&w=1800&q=80") center/cover;
}

.hero-content {
  max-width: 760px;
}

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

h1,
h2,
h3,
h4,
p {
  margin-top: 0;
}

h1 {
  max-width: 900px;
  margin-bottom: 22px;
  font-size: clamp(42px, 6vw, 76px);
  line-height: 1.03;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.1;
}

h3 {
  font-size: 24px;
  line-height: 1.2;
}

h4 {
  font-size: 18px;
  line-height: 1.25;
}

.hero-copy {
  max-width: 680px;
  color: #3f5266;
  font-size: clamp(17px, 2vw, 20px);
}

.hero-actions,
.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 800;
  line-height: 1.2;
  cursor: pointer;
}

.button.primary {
  color: var(--white);
  background: var(--blue);
}

.button.primary:hover {
  background: #155492;
}

.button.secondary {
  border-color: #b7c8d6;
  color: var(--ink);
  background: var(--white);
}

.button.secondary:hover {
  border-color: var(--blue);
  color: var(--blue);
}

.trust-row span {
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: #40556a;
  background: rgba(255, 255, 255, 0.86);
  font-size: 14px;
  font-weight: 700;
}

.hero-visual {
  position: relative;
  min-height: 470px;
}

.visual-panel {
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.panel-main {
  height: 430px;
}

.panel-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.panel-small {
  position: absolute;
  right: 24px;
  bottom: 0;
  max-width: 250px;
  padding: 24px;
  color: var(--white);
  background: var(--nav);
}

.panel-small span {
  display: block;
  margin-bottom: 8px;
  font-size: 56px;
  font-weight: 800;
  line-height: 1;
}

.panel-small p {
  margin: 0;
  color: #d7e3ed;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

.section-heading p:not(.eyebrow),
.category-head p,
.about-copy p {
  color: var(--muted);
}

.categories,
.services,
.contact {
  background: var(--soft);
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.category-card {
  min-height: 178px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.category-card:hover {
  transform: translateY(-3px);
  border-color: var(--blue);
  box-shadow: 0 14px 28px rgba(18, 33, 47, 0.08);
}

.category-card .icon {
  display: grid;
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  place-items: center;
  border-radius: 8px;
  color: var(--blue);
  background: #e9f2fb;
  font-size: 22px;
}

.category-card strong,
.category-card small {
  display: block;
}

.category-card small {
  margin-top: 8px;
  color: var(--muted);
}

.product-category {
  padding: 34px 0 16px;
  border-top: 1px solid var(--line);
}

.category-head {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
  margin-bottom: 22px;
}

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

.product-card,
.service-grid article,
.contact-info,
.inquiry-form {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.product-card {
  display: flex;
  min-height: 480px;
  flex-direction: column;
  overflow: hidden;
}

.product-card img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  background: #dce5ec;
}

.product-card h4,
.product-card p,
.product-card small {
  margin-left: 18px;
  margin-right: 18px;
}

.product-card h4 {
  margin-top: 18px;
  margin-bottom: 10px;
}

.product-card p {
  color: #526579;
}

.product-card small {
  display: block;
  margin-top: auto;
  color: var(--muted);
}

.product-card a {
  margin: 18px;
  padding: 10px 14px;
  border-radius: 8px;
  color: var(--blue);
  background: #e9f2fb;
  font-weight: 800;
  text-align: center;
}

.service-grid article {
  overflow: hidden;
  min-height: 360px;
}

.service-grid img {
  width: 100%;
  height: 176px;
  object-fit: cover;
  background: #dce5ec;
  border-bottom: 1px solid var(--line);
}

.service-grid span {
  display: inline-flex;
  margin: 22px 24px 14px;
  color: var(--green);
  font-weight: 900;
}

.service-grid h3,
.service-grid p {
  margin-left: 24px;
  margin-right: 24px;
}

.service-grid h3 {
  margin-bottom: 10px;
}

.service-grid p {
  margin-bottom: 24px;
  color: var(--muted);
}

.workflow {
  margin-top: 34px;
  padding: 28px;
  border-radius: 8px;
  color: var(--white);
  background: var(--nav);
}

.workflow ol {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.workflow li {
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  color: #dce7ef;
  font-size: 14px;
  font-weight: 700;
}

.about {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 0.8fr);
  gap: clamp(30px, 6vw, 70px);
  align-items: start;
}

.fact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.fact-grid div {
  overflow: hidden;
  min-height: 236px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
}

.fact-grid img {
  width: 100%;
  aspect-ratio: 1.55;
  object-fit: cover;
  border-bottom: 1px solid var(--line);
}

.fact-grid strong,
.fact-grid span {
  display: block;
  padding-inline: 18px;
}

.fact-grid strong {
  padding-top: 16px;
}

.fact-grid span {
  margin-top: 8px;
  padding-bottom: 18px;
  color: var(--muted);
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 22px;
  align-items: start;
}

.inquiry-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: 24px;
}

.form-honeypot {
  position: absolute;
  left: -9999px;
  opacity: 0;
  pointer-events: none;
}

.inquiry-form label {
  display: grid;
  gap: 7px;
  color: #3d4f60;
  font-size: 14px;
  font-weight: 800;
}

.inquiry-form label:nth-of-type(5),
.inquiry-form .button,
.form-note {
  grid-column: 1 / -1;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid #cbd8e2;
  border-radius: 8px;
  padding: 12px 13px;
  color: var(--ink);
  font: inherit;
  background: var(--white);
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  outline: 3px solid rgba(29, 102, 179, 0.14);
  border-color: var(--blue);
}

.form-note {
  min-height: 24px;
  margin: 0;
  color: var(--green);
  font-weight: 700;
}

.contact-info {
  display: grid;
  gap: 0;
  overflow: hidden;
}

.contact-info div {
  padding: 22px;
  border-bottom: 1px solid var(--line);
}

.contact-info div:last-child {
  border-bottom: 0;
}

.contact-info strong,
.contact-info span,
.contact-info a,
.contact-info small {
  display: block;
}

.contact-info a {
  color: var(--blue);
  font-weight: 800;
}

.contact-info small {
  margin-top: 8px;
  color: var(--muted);
}

.site-footer {
  padding: 48px clamp(18px, 4vw, 56px) 28px;
  color: #dbe7f0;
  background: var(--nav);
}

.footer-main {
  display: grid;
  grid-template-columns: minmax(260px, 1.25fr) repeat(3, minmax(150px, 0.65fr));
  gap: clamp(24px, 4vw, 46px);
  align-items: start;
}

.footer-brand p {
  max-width: 460px;
  margin: 18px 0 0;
  color: #aebfcd;
  font-size: 14px;
  line-height: 1.8;
}

.footer-column {
  display: grid;
  gap: 9px;
  align-content: start;
}

.footer-column h3 {
  margin: 0 0 8px;
  color: var(--white);
  font-size: 14px;
  letter-spacing: 0;
}

.site-footer a,
.footer-column span {
  color: #aebfcd;
  font-size: 14px;
  line-height: 1.55;
}

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

.footer-contact span {
  max-width: 260px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 38px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  color: #8fa4b4;
  font-size: 13px;
}

.footer-bottom a {
  color: var(--white);
  font-weight: 800;
}

@media (max-width: 1050px) {
  .hero,
  .about,
  .contact-layout {
    grid-template-columns: 1fr;
  }

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

  .workflow ol {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .hero-visual {
    min-height: 380px;
  }

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

@media (max-width: 760px) {
  .site-header {
    min-height: 66px;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    right: 18px;
    top: 66px;
    display: none;
    width: min(300px, calc(100vw - 36px));
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 8px;
    background: var(--nav);
    box-shadow: var(--shadow);
  }

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

  .site-nav a {
    padding: 12px;
    border-radius: 8px;
  }

  .site-nav a:hover {
    background: rgba(255, 255, 255, 0.08);
  }

  .hero {
    min-height: auto;
  }

  h1 {
    font-size: 40px;
  }

  .hero-actions .button {
    width: 100%;
  }

  .panel-main {
    height: 300px;
  }

  .panel-small {
    position: relative;
    right: auto;
    bottom: auto;
    max-width: none;
    margin-top: 12px;
  }

  .hero-visual {
    min-height: 0;
  }

  .category-grid,
  .product-grid,
  .service-grid,
  .fact-grid,
  .workflow ol,
  .inquiry-form {
    grid-template-columns: 1fr;
  }

  .category-head {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .product-card {
    min-height: auto;
  }

  .site-footer {
    padding-top: 38px;
  }

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

  .footer-main {
    display: grid;
  }

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