:root {
  --bg: #0d1420;
  --bg-soft: #101c2b;
  --bg-panel: #152437;
  --surface: #f3f6fa;
  --surface-2: #ffffff;
  --ink: #0d1a2a;
  --muted: #5e6f84;
  --line: #d6dce6;
  --accent: #e03a3e;
  --accent-strong: #b8262c;
  --teal: #0f9182;
  --shadow: 0 24px 64px rgba(4, 12, 22, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Kanit", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: linear-gradient(180deg, #f5f8fc 0%, #edf2f8 100%);
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

.ambient {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background:
    radial-gradient(80% 60% at 90% -10%, rgba(14, 145, 130, 0.22) 0%, rgba(14, 145, 130, 0) 70%),
    radial-gradient(90% 70% at -5% 5%, rgba(224, 58, 62, 0.16) 0%, rgba(224, 58, 62, 0) 65%),
    linear-gradient(160deg, rgba(255, 255, 255, 0.92), rgba(237, 242, 248, 0.92));
}

.ambient::before {
  position: absolute;
  inset: 0;
  content: "";
  opacity: 0.2;
  background-image:
    linear-gradient(rgba(12, 27, 45, 0.22) 1px, transparent 1px),
    linear-gradient(90deg, rgba(12, 27, 45, 0.22) 1px, transparent 1px);
  background-size: 70px 70px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0));
}

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

.section-band {
  padding: 84px 0;
}

.site-header {
  position: sticky;
  top: 10px;
  z-index: 40;
  margin-bottom: -72px;
}

.header-shell {
  width: min(1060px, calc(100% - 28px));
  margin-inline: auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
  min-height: 58px;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 12px;
  background: rgba(9, 16, 27, 0.72);
  backdrop-filter: blur(18px);
  box-shadow: 0 10px 30px rgba(4, 12, 22, 0.24);
}

.brand img {
  width: 88px;
}

.site-nav {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 22px;
  color: rgba(238, 244, 255, 0.9);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.site-nav a {
  position: relative;
  padding: 6px 0;
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  transform: scaleX(0);
  transform-origin: left;
  background: var(--accent);
  content: "";
  transition: transform 180ms ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
}

.header-cta {
  display: inline-flex;
  min-height: 36px;
  padding: 8px 14px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #f6f8ff;
  font-size: 0.82rem;
  font-weight: 600;
  background: linear-gradient(135deg, rgba(224, 58, 62, 0.85), rgba(176, 38, 43, 0.92));
  transition: transform 180ms ease, filter 180ms ease;
}

.header-cta:hover,
.header-cta:focus-visible {
  transform: translateY(-1px);
  filter: brightness(1.08);
}

.nav-toggle {
  display: none;
  position: relative;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(238, 244, 255, 0.35);
  border-radius: 10px;
  background: transparent;
}

.nav-toggle::before,
.nav-toggle::after {
  position: absolute;
  left: 11px;
  width: 20px;
  height: 2px;
  background: #f5f8ff;
  content: "";
}

.nav-toggle::before {
  top: 14px;
  box-shadow: 0 7px 0 #f5f8ff;
}

.nav-toggle::after {
  top: 28px;
}

.nav-glyph {
  color: #f5f8ff;
  font-size: 1.2rem;
  line-height: 1;
}

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

.icon-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.hero {
  position: relative;
  padding-top: 132px;
  min-height: 820px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(110deg, rgba(8, 15, 24, 0.9) 0%, rgba(8, 15, 24, 0.68) 42%, rgba(8, 15, 24, 0.34) 100%),
    url("../../snapshot/www.fm.co.th/wp-content/uploads/2022/01/bigstock-security-guard-watching-video-91227071.jpg") center / cover;
}

.hero-bg::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, rgba(7, 12, 20, 0.08) 0%, rgba(7, 12, 20, 0.42) 100%);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  align-items: end;
  gap: 28px;
  padding-bottom: 92px;
}

.hero-copy {
  color: #f5f8ff;
  overflow-wrap: anywhere;
}

.eyebrow {
  margin: 0 0 14px;
  color: #ff7279;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 18px;
  font-size: 4.1rem;
  line-height: 1.04;
  font-weight: 800;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

h1 span {
  display: block;
}

h2 {
  margin-bottom: 16px;
  font-size: 2.5rem;
  line-height: 1.15;
  font-weight: 700;
}

h3 {
  margin-bottom: 8px;
  font-size: 1.14rem;
  line-height: 1.32;
  font-weight: 700;
}

.lead {
  max-width: 760px;
  margin-bottom: 28px;
  font-size: 1.46rem;
  color: rgba(241, 247, 255, 0.9);
  overflow-wrap: anywhere;
}

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

.button {
  display: inline-flex;
  min-height: 48px;
  padding: 12px 22px;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  border: 1px solid transparent;
  font-size: 1.02rem;
  font-weight: 600;
  transition: transform 180ms ease, filter 180ms ease, border-color 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button--primary {
  color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
}

.button--primary:hover,
.button--primary:focus-visible {
  filter: brightness(1.1);
}

.button--ghost {
  color: #eef4ff;
  border-color: rgba(238, 244, 255, 0.44);
  background: rgba(238, 244, 255, 0.06);
}

.hero-panel {
  align-self: center;
  padding: 22px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  background: linear-gradient(170deg, rgba(15, 27, 43, 0.82), rgba(13, 21, 33, 0.78));
  box-shadow: 0 24px 60px rgba(3, 10, 20, 0.4);
  color: rgba(234, 242, 255, 0.9);
}

.hero-panel h2 {
  margin-bottom: 12px;
  font-size: 1.3rem;
}

.hero-panel ul {
  margin: 0 0 18px;
  padding-left: 20px;
}

.hero-panel li {
  margin-bottom: 7px;
}

.hero-panel img {
  width: 100%;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.metrics {
  margin-top: -54px;
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.metrics article {
  min-height: 146px;
  padding: 22px 20px 20px;
  border-radius: 12px;
  border: 1px solid rgba(18, 30, 45, 0.06);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow);
}

.metrics strong {
  display: block;
  margin-bottom: 7px;
  color: var(--accent);
  font-size: 2rem;
  line-height: 1;
}

.metrics span {
  color: var(--muted);
  font-size: 0.98rem;
}

.section-about {
  padding-top: 118px;
}

.about-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 18px;
  align-items: stretch;
}

.about-copy {
  display: grid;
  align-content: center;
  min-height: 520px;
  padding: 34px;
  border-radius: 16px;
  border: 1px solid rgba(13, 26, 42, 0.08);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(238, 244, 251, 0.94)),
    #ffffff;
  box-shadow: 0 24px 60px rgba(9, 24, 40, 0.11);
}

.about-copy p {
  max-width: 780px;
  color: var(--muted);
}

.about-quote {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  margin-top: 24px;
  padding: 18px;
  border-radius: 14px;
  border: 1px solid rgba(224, 58, 62, 0.16);
  background: linear-gradient(135deg, rgba(224, 58, 62, 0.09), rgba(15, 145, 130, 0.09));
}

.about-quote span {
  color: var(--accent);
  font-size: 2.4rem;
  font-weight: 800;
  line-height: 1;
}

.about-quote p {
  margin-bottom: 0;
  color: #283a50;
  font-weight: 600;
}

.about-visual {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid rgba(13, 26, 42, 0.08);
  box-shadow: var(--shadow);
}

.about-visual::after {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  background: linear-gradient(180deg, rgba(6, 15, 26, 0.02), rgba(6, 15, 26, 0.42));
}

.about-media-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 10px;
  height: 100%;
  min-height: 520px;
  padding: 10px;
  background: #0c1726;
}

.about-media-grid img {
  width: 100%;
  height: 100%;
  min-height: 0;
  border-radius: 10px;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.about-media-main {
  grid-row: 1 / 3;
}

.about-badge {
  position: absolute;
  right: 18px;
  bottom: 18px;
  z-index: 1;
  min-width: 170px;
  padding: 16px;
  border-radius: 14px;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(12, 22, 35, 0.78);
  backdrop-filter: blur(12px);
}

.about-badge strong {
  display: block;
  color: #ff7279;
  font-size: 2.1rem;
  line-height: 1;
}

.about-badge span {
  color: rgba(245, 248, 255, 0.86);
  font-size: 0.92rem;
}

.about-proof {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.about-proof article {
  min-height: 164px;
  padding: 22px;
  border-radius: 14px;
  border: 1px solid rgba(13, 26, 42, 0.08);
  background: linear-gradient(180deg, #ffffff, #f4f8fd);
  box-shadow: 0 16px 38px rgba(9, 24, 40, 0.08);
}

.about-proof span {
  display: inline-flex;
  margin-bottom: 12px;
  padding: 5px 10px;
  border-radius: 999px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--accent), var(--teal));
  font-size: 0.8rem;
  font-weight: 700;
}

.about-proof p {
  margin-bottom: 0;
  color: var(--muted);
}

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

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

.service-card {
  padding: 22px;
  border-radius: 12px;
  border: 1px solid #d8e0ec;
  background: linear-gradient(180deg, #ffffff, #f4f8fd);
  box-shadow: 0 14px 34px rgba(10, 25, 41, 0.08);
}

.service-card span {
  display: inline-flex;
  min-width: 46px;
  padding: 6px 10px;
  margin-bottom: 12px;
  border-radius: 999px;
  color: #f6fcff;
  background: linear-gradient(135deg, var(--teal), #0c665b);
  font-size: 0.88rem;
  font-weight: 700;
}

.service-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.section-dark {
  position: relative;
  overflow: hidden;
  color: #eef4ff;
  background:
    linear-gradient(145deg, rgba(9, 17, 28, 0.98), rgba(15, 24, 38, 0.98)),
    url("../../snapshot/www.fm.co.th/wp-content/uploads/2022/02/BGfm003.png") center / cover;
}

.section-dark::before {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.65), transparent 78%);
}

.section-dark .container {
  position: relative;
  z-index: 1;
}

.section-dark .eyebrow {
  color: #ff858b;
}

.section-dark h2,
.section-dark h3 {
  color: #f6f8ff;
}

.solution-feature {
  display: grid;
  grid-template-columns: minmax(300px, 0.82fr) minmax(0, 1.18fr);
  align-items: stretch;
  gap: 20px;
  margin-bottom: 20px;
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background:
    radial-gradient(70% 90% at 100% 0%, rgba(15, 145, 130, 0.28), transparent 62%),
    linear-gradient(150deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.04));
  box-shadow: 0 28px 70px rgba(1, 5, 12, 0.4);
}

.solution-feature__copy {
  display: grid;
  align-content: center;
  padding: 30px;
}

.solution-kicker {
  width: fit-content;
  margin-bottom: 14px;
  padding: 6px 10px;
  border-radius: 999px;
  color: #dffef9;
  border: 1px solid rgba(132, 245, 230, 0.28);
  background: rgba(15, 145, 130, 0.18);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.solution-feature p {
  margin-bottom: 0;
  color: rgba(238, 244, 255, 0.78);
}

.solution-mosaic {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr;
  grid-template-rows: repeat(2, minmax(150px, 1fr));
  gap: 10px;
  padding: 12px;
}

.solution-mosaic img {
  width: 100%;
  height: 100%;
  min-height: 150px;
  border-radius: 12px;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.24);
}

.solution-mosaic img:first-child {
  grid-row: 1 / 3;
}

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

.smart-grid article {
  position: relative;
  min-height: 198px;
  padding: 20px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0.045)),
    rgba(11, 22, 36, 0.62);
  box-shadow: 0 16px 36px rgba(1, 5, 12, 0.18);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.smart-grid article::after {
  position: absolute;
  inset: auto -20px -42px auto;
  width: 112px;
  height: 112px;
  border-radius: 50%;
  content: "";
  background: rgba(224, 58, 62, 0.12);
  filter: blur(3px);
}

.smart-grid article:hover,
.smart-grid article:focus-within {
  transform: translateY(-4px);
  border-color: rgba(255, 114, 121, 0.42);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.17), rgba(255, 255, 255, 0.06)),
    rgba(13, 29, 47, 0.78);
  box-shadow: 0 24px 48px rgba(1, 5, 12, 0.3);
}

.solution-icon {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 16px;
  border-radius: 12px;
  color: #ffffff;
  background:
    linear-gradient(135deg, rgba(224, 58, 62, 0.95), rgba(15, 145, 130, 0.88));
  box-shadow: 0 12px 30px rgba(224, 58, 62, 0.2);
}

.solution-icon svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.smart-grid h3,
.smart-grid p,
.solution-icon {
  position: relative;
  z-index: 1;
}

.smart-grid p {
  margin-bottom: 0;
  color: rgba(238, 244, 255, 0.78);
}

.reference-system {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(300px, 1.1fr);
  gap: 18px;
  margin-bottom: 18px;
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid rgba(13, 26, 42, 0.08);
  background:
    radial-gradient(70% 90% at 100% 0%, rgba(224, 58, 62, 0.12), transparent 62%),
    linear-gradient(135deg, #ffffff, #eef4fb);
  box-shadow: 0 24px 60px rgba(9, 24, 40, 0.11);
}

.reference-system__copy {
  display: grid;
  align-content: center;
  padding: 30px;
}

.reference-system__copy p {
  margin-bottom: 0;
  color: var(--muted);
}

.reference-system__image {
  min-height: 320px;
  padding: 10px;
}

.reference-system__image img {
  width: 100%;
  height: 100%;
  min-height: 300px;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 18px 38px rgba(9, 24, 40, 0.16);
}

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

.reference-card {
  overflow: hidden;
  border-radius: 14px;
  border: 1px solid #d7deea;
  background: #fff;
  box-shadow: 0 18px 42px rgba(9, 24, 40, 0.09);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.reference-card:hover,
.reference-card:focus-within {
  transform: translateY(-3px);
  border-color: rgba(224, 58, 62, 0.26);
  box-shadow: 0 24px 48px rgba(9, 24, 40, 0.15);
}

.reference-card img {
  width: 100%;
  height: 170px;
  object-fit: cover;
}

.reference-card div {
  padding: 18px;
}

.reference-tag {
  display: inline-flex;
  margin-bottom: 10px;
  padding: 4px 8px;
  border-radius: 999px;
  color: var(--accent-strong);
  background: rgba(224, 58, 62, 0.08);
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.reference-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.section-contact {
  padding-bottom: 76px;
  background:
    linear-gradient(180deg, rgba(239, 244, 251, 0), rgba(226, 234, 245, 0.84));
}

.contact-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 18px;
  align-items: start;
}

.contact-copy {
  display: grid;
  align-content: start;
  gap: 0;
  padding: 28px;
  border-radius: 16px;
  border: 1px solid #d7deea;
  background:
    radial-gradient(80% 80% at 0% 0%, rgba(15, 145, 130, 0.12), transparent 58%),
    linear-gradient(165deg, #ffffff, #eef4fb);
  box-shadow: 0 18px 46px rgba(9, 24, 40, 0.08);
}

.contact-copy p,
address {
  color: var(--muted);
}

address {
  display: grid;
  gap: 5px;
  margin-top: 16px;
  font-style: normal;
}

.contact-methods {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 18px 0 6px;
}

.contact-method {
  display: grid;
  gap: 4px;
  min-height: 86px;
  padding: 14px;
  border-radius: 12px;
  border: 1px solid #d7deea;
  background: rgba(255, 255, 255, 0.74);
}

.contact-method span {
  color: var(--muted);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.contact-method strong {
  color: var(--ink);
  font-size: 1.02rem;
  font-weight: 600;
}

.tax-line {
  margin: 12px 0 0;
  font-size: 0.94rem;
}

.contact-map {
  margin-top: 18px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #cfdaea;
  background: #ffffff;
  box-shadow: 0 10px 28px rgba(10, 24, 40, 0.08);
}

.contact-map iframe {
  width: 100%;
  min-height: 310px;
  border: 0;
  display: block;
}

.contact-map__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  background: linear-gradient(180deg, #f8fbff, #f1f6fd);
  font-size: 0.94rem;
  color: #4a5e78;
}

.contact-map__meta a {
  color: var(--accent-strong);
  font-weight: 600;
  white-space: nowrap;
}

.contact-form {
  display: grid;
  gap: 14px;
  padding: 28px;
  border-radius: 16px;
  border: 1px solid #d7deea;
  background: #ffffff;
  box-shadow: 0 18px 46px rgba(8, 23, 38, 0.1);
}

.contact-form label {
  display: grid;
  gap: 7px;
  color: #314257;
  font-weight: 600;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid #ccd7e6;
  border-radius: 9px;
  padding: 12px 13px;
  font: inherit;
  color: var(--ink);
  background: #f9fbfe;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--accent);
  outline: 3px solid rgba(224, 58, 62, 0.13);
}

.site-footer {
  padding: 22px 0;
  background: #0b1220;
}

.footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: rgba(235, 242, 255, 0.84);
}

.footer-row a {
  color: #f7f9ff;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 520ms ease, transform 520ms ease;
}

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

@media (max-width: 1060px) {
  h1 {
    font-size: 3.4rem;
  }

  h2 {
    font-size: 2.2rem;
  }

  .hero-grid,
  .about-shell,
  .solution-feature,
  .contact-shell,
  .reference-system {
    grid-template-columns: 1fr;
  }

  .metrics,
  .service-grid,
  .about-proof,
  .smart-grid,
  .reference-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .reference-system__image {
    min-height: 0;
  }

  .about-copy,
  .about-visual {
    min-height: 0;
  }
}

@media (max-width: 760px) {
  .site-header {
    top: 8px;
  }

  .header-shell {
    grid-template-columns: 1fr auto;
    gap: 12px;
    min-height: 62px;
    padding: 10px 12px;
  }

  .brand img {
    width: 86px;
  }

  .nav-toggle {
    display: grid !important;
    place-items: center;
    justify-self: end;
    background: rgba(245, 248, 255, 0.14) !important;
    border-color: rgba(245, 248, 255, 0.75) !important;
    color: #f5f8ff !important;
  }

  .nav-toggle::before,
  .nav-toggle::after {
    display: none;
  }

  .header-cta {
    display: none;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    margin-inline: auto;
    width: min(1220px, calc(100% - 24px));
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 12px;
    background: rgba(12, 20, 31, 0.96);
    box-shadow: 0 16px 42px rgba(6, 14, 25, 0.4);
  }

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

  .site-nav a {
    padding: 10px;
  }

  .hero {
    min-height: 700px;
    padding-top: 108px;
  }

  h1 {
    font-size: 2.45rem;
    line-height: 1.1;
  }

  h2 {
    font-size: 1.85rem;
  }

  .lead {
    font-size: 1.12rem;
  }

  .metrics,
  .service-grid,
  .about-proof,
  .smart-grid,
  .reference-grid {
    grid-template-columns: 1fr;
  }

  .contact-methods {
    grid-template-columns: 1fr;
  }

  .contact-copy,
  .contact-form {
    padding: 22px;
  }

  .reference-system__copy {
    padding: 22px;
  }

  .reference-system__image img {
    min-height: 220px;
  }

  .about-copy {
    padding: 22px;
  }

  .about-visual {
    min-height: 300px;
  }

  .about-media-grid {
    grid-template-columns: 1fr;
    grid-template-rows: none;
    min-height: 0;
  }

  .about-media-grid img,
  .about-media-main {
    grid-row: auto;
    min-height: 160px;
  }

  .about-proof article {
    min-height: 0;
  }

  .solution-mosaic {
    grid-template-rows: repeat(2, minmax(120px, 1fr));
  }

  .solution-feature__copy {
    padding: 20px;
  }

  .smart-grid article {
    min-height: 0;
  }

  .solution-mosaic {
    grid-template-columns: 1fr;
    grid-template-rows: none;
  }

  .solution-mosaic img,
  .solution-mosaic img:first-child {
    grid-row: auto;
    min-height: 170px;
  }

  .section-band {
    padding: 70px 0;
  }

  .section-about {
    padding-top: 96px;
  }

  .contact-map iframe {
    min-height: 260px;
  }

  .contact-map__meta {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-row {
    flex-direction: column;
    align-items: flex-start;
  }
}
