:root {
  --navy: #071832;
  --navy-2: #10284c;
  --orange: #f36f21;
  --orange-2: #ff9a3c;
  --white: #ffffff;
  --soft: #f4f7fb;
  --line: rgba(7, 24, 50, 0.12);
  --muted: #5f6f85;
  --shadow: 0 24px 60px rgba(7, 24, 50, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  color: var(--white);
}

.topbar {
  display: flex;
  justify-content: center;
  gap: 28px;
  padding: 8px 24px;
  background: rgba(7, 24, 50, 0.9);
  font-size: 13px;
}

.navbar {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  width: min(1180px, calc(100% - 40px));
  margin: 12px auto 0;
  padding: 10px 14px 10px 22px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--navy);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.16);
  backdrop-filter: blur(14px);
}

.brand img {
  width: 132px;
}

.nav-links {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 22px;
  font-size: 14px;
  font-weight: 700;
}

.nav-links a {
  position: relative;
}

.nav-links > a::after,
.nav-dropdown > a::after {
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 2px;
  background: var(--orange);
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 220ms ease;
}

.nav-links > a:hover::after,
.nav-dropdown:hover > a::after {
  transform: scaleX(1);
}

.nav-dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 18px);
  left: 50%;
  z-index: 20;
  display: grid;
  min-width: 300px;
  padding: 10px;
  border: 1px solid rgba(7, 24, 50, 0.1);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 24px 60px rgba(7, 24, 50, 0.18);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 8px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.dropdown-menu::before {
  position: absolute;
  top: -18px;
  right: 0;
  left: 0;
  height: 18px;
  content: "";
}

.nav-dropdown:hover .dropdown-menu,
.nav-dropdown:focus-within .dropdown-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.dropdown-menu a {
  padding: 11px 14px;
  border-radius: 12px;
  color: var(--navy);
  font-size: 13px;
  font-weight: 800;
  transition: background 160ms ease, color 160ms ease, transform 160ms ease;
}

.dropdown-menu a:hover {
  background: var(--navy);
  color: var(--white);
  transform: translateX(4px);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 20px;
  border-radius: 999px;
  background: var(--orange);
  color: var(--white);
  font-weight: 800;
  font-size: 14px;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 999px;
  background: var(--navy);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--white);
}

.hero {
  position: relative;
  display: grid;
  min-height: 92svh;
  overflow: hidden;
  color: var(--white);
}

.hero-bg,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-bg {
  background-position: center;
  background-size: cover;
  opacity: 0;
  transform: scale(1.08);
  transition: opacity 900ms ease, transform 5000ms ease;
}

.hero-bg-1 {
  background-position: center;
}

.hero-bg-2 {
  background-position: center 45%;
}

.hero-bg-3 {
  background-position: right center;
  background-size: cover;
}

.hero-bg-4 {
  background-position: center center;
}

.hero-bg-5 {
  background-position: center 38%;
}

.hero-bg.is-active {
  opacity: 1;
  transform: scale(1);
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(7, 24, 50, 0.94) 0%, rgba(7, 24, 50, 0.74) 42%, rgba(7, 24, 50, 0.18) 100%),
    linear-gradient(180deg, rgba(7, 24, 50, 0.15), rgba(7, 24, 50, 0.6));
}

.hero-inner {
  position: relative;
  z-index: 2;
  align-self: end;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 220px 0 92px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 16px;
  color: var(--orange-2);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 860px;
  margin: 0;
  font-size: clamp(40px, 7vw, 88px);
  line-height: 0.98;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 700px;
  margin: 28px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(17px, 2vw, 21px);
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border: 0;
  border-radius: 6px;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

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

.btn-primary {
  background: var(--orange);
  color: var(--white);
  box-shadow: 0 16px 38px rgba(243, 111, 33, 0.34);
}

.btn-secondary {
  border: 1px solid rgba(255, 255, 255, 0.36);
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
}

.hero-indicators {
  position: absolute;
  z-index: 3;
  right: 42px;
  bottom: 42px;
  display: flex;
  gap: 10px;
}

.hero-indicators span {
  width: 38px;
  height: 4px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.35);
}

.hero-indicators .is-active {
  background: var(--orange);
}

.section {
  padding: 100px max(20px, calc((100vw - 1180px) / 2));
}

.section-grid {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 54px;
}

.intro-shell,
.blog-preview-shell {
  display: grid;
  grid-template-columns: minmax(280px, 360px) minmax(0, 1fr);
  gap: 42px;
  align-items: start;
}

.section-aside {
  display: grid;
  gap: 18px;
}

.section-visual {
  overflow: hidden;
  border-radius: 8px;
}

.intro-visual {
  border: 1px solid rgba(243, 111, 33, 0.14);
  background: linear-gradient(145deg, #0a1f41, #15325f);
  box-shadow: 0 26px 68px rgba(7, 24, 50, 0.14);
}

.blog-visual {
  border: 1px solid rgba(7, 24, 50, 0.08);
  background: linear-gradient(180deg, #f7f9fc 0%, #eef3f8 100%);
  box-shadow: 0 22px 58px rgba(7, 24, 50, 0.08);
}

.section-visual svg {
  display: block;
  width: 100%;
  height: auto;
}

.section-content h2,
.section-head h2,
.why-panel h2,
.contact h2 {
  max-width: 860px;
  margin: 0;
  font-size: clamp(30px, 4.6vw, 58px);
  line-height: 1.04;
  letter-spacing: 0;
}

.section-content p,
.section-head p,
.contact p {
  max-width: 820px;
  color: var(--muted);
  font-size: 18px;
}

.text-link {
  display: inline-flex;
  margin-top: 16px;
  color: var(--orange);
  font-weight: 800;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 70px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.metrics div {
  padding: 34px;
  background: var(--white);
}

.metrics strong {
  display: block;
  color: var(--orange);
  font-size: clamp(34px, 5vw, 54px);
  line-height: 1;
}

.metrics span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-weight: 700;
}

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

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

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

.service-card {
  position: relative;
  grid-column: span 2;
  min-height: 460px;
  overflow: hidden;
  border-radius: 8px;
  background: var(--navy);
  color: var(--white);
  box-shadow: var(--shadow);
  isolation: isolate;
}

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

.service-card img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  transition: transform 500ms ease;
}

.service-card::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(7, 24, 50, 0.18), rgba(7, 24, 50, 0.94));
  content: "";
}

.service-card div {
  position: absolute;
  right: 24px;
  bottom: 24px;
  left: 24px;
}

.service-card span,
.why-item span {
  color: var(--orange-2);
  font-weight: 800;
}

.service-card h3 {
  margin: 10px 0 10px;
  font-size: 26px;
  line-height: 1.1;
}

.service-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
}

.service-card:hover img {
  transform: scale(1.12);
}

.why {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.4fr);
  gap: 42px;
  background: var(--navy);
  color: var(--white);
}

.why-panel {
  position: sticky;
  top: 130px;
  align-self: start;
}

.why-grid {
  display: grid;
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.14);
}

.why-item {
  padding: 34px;
  background: #0c203f;
  transition: background 220ms ease, transform 220ms ease;
}

.why-item:hover {
  background: #14305a;
  transform: translateX(8px);
}

.why-item h3 {
  margin: 8px 0 8px;
  font-size: 24px;
}

.why-item p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
}

.references {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, #f4f7fb 0%, #f4f7fb 58%, #ffffff 58%, #ffffff 100%);
}

.references-head {
  max-width: 940px;
  margin-bottom: 26px;
}

.references-head h2 {
  max-width: 780px;
  margin: 0;
  font-size: clamp(30px, 4.6vw, 56px);
  line-height: 1.04;
}

.references-head p:last-child {
  max-width: 760px;
  color: var(--muted);
  font-size: 17px;
}

.reference-marquee {
  position: relative;
  overflow: hidden;
  margin: 0 calc(50% - 50vw);
  padding: 10px 0;
}

.reference-marquee::before,
.reference-marquee::after {
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 2;
  width: 120px;
  content: "";
  pointer-events: none;
}

.reference-marquee::before {
  left: 0;
  background: linear-gradient(90deg, #f4f7fb 10%, rgba(244, 247, 251, 0));
}

.reference-marquee::after {
  right: 0;
  background: linear-gradient(270deg, #f4f7fb 10%, rgba(244, 247, 251, 0));
}

.reference-marquee-alt {
  margin-top: 14px;
}

.reference-track {
  display: flex;
  gap: 18px;
  width: max-content;
  animation: referenceMarquee 34s linear infinite;
}

.reference-track-reverse {
  animation-direction: reverse;
  animation-duration: 30s;
}

.reference-tile {
  position: relative;
  flex: 0 0 340px;
  height: 230px;
  overflow: hidden;
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 18px 48px rgba(7, 24, 50, 0.12);
}

.reference-tile::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 24, 50, 0.04), rgba(7, 24, 50, 0.78));
  content: "";
}

.reference-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.reference-tile div {
  position: absolute;
  right: 22px;
  bottom: 20px;
  left: 22px;
  z-index: 1;
  color: var(--white);
}

.reference-tile span,
.certification-copy span {
  color: var(--orange-2);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.reference-tile p {
  margin: 8px 0 0;
  font-size: 21px;
  line-height: 1.1;
  font-weight: 800;
}

.reference-tile-logo {
  flex-basis: 280px;
  background: #fff;
}

.reference-tile-logo::after {
  background: linear-gradient(180deg, rgba(7, 24, 50, 0), rgba(7, 24, 50, 0.12));
}

.reference-tile-logo img {
  padding: 26px;
  object-fit: contain;
}

.certification-panel {
  display: grid;
  grid-template-columns: minmax(260px, 0.68fr) minmax(0, 1.2fr);
  gap: 24px;
  align-items: stretch;
  margin-top: 22px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 16px 44px rgba(7, 24, 50, 0.08);
}

.certification-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 24px;
  border-radius: 8px;
  background: #f7f9fc;
}

.certification-copy h3 {
  margin: 10px 0 0;
  font-size: clamp(24px, 3vw, 36px);
  line-height: 1.1;
}

@keyframes referenceMarquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(calc(-50% - 9px));
  }
}

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

.certificates figure {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  min-height: 340px;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.certificates img {
  width: 100%;
  height: 100%;
  padding: 16px;
  object-fit: contain;
}

.certificates figcaption {
  padding: 12px 16px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  text-align: center;
  text-transform: uppercase;
}

.blog-preview {
  background: var(--white);
}

.contact-page-hero,
.discovery-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.82fr);
  gap: 32px;
  align-items: end;
  min-height: 88svh;
  overflow: hidden;
  padding: 200px max(20px, calc((100vw - 1180px) / 2)) 88px;
  color: var(--white);
  background: linear-gradient(140deg, #071832, #11305f);
}

.contact-page-bg {
  position: absolute;
  inset: 0;
  background-position: center;
  background-size: cover;
}

.contact-page-grid,
.discovery-grid {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(255,255,255,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: radial-gradient(circle at center, black 38%, transparent 88%);
}

.contact-page-grid {
  background:
    linear-gradient(90deg, rgba(7, 24, 50, 0.94) 0%, rgba(7, 24, 50, 0.76) 42%, rgba(7, 24, 50, 0.28) 100%),
    linear-gradient(180deg, rgba(7, 24, 50, 0.24), rgba(7, 24, 50, 0.72)),
    linear-gradient(rgba(255,255,255,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: auto, auto, 54px 54px, 54px 54px;
  mask-image: none;
}

.contact-page-copy,
.contact-page-visual,
.discovery-hero-copy,
.discovery-hero-visual {
  position: relative;
  z-index: 1;
}

.contact-page-copy h1,
.discovery-hero-copy h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(38px, 6vw, 74px);
  line-height: 0.98;
}

.contact-page-copy p:not(.eyebrow),
.discovery-hero-copy p:not(.eyebrow) {
  max-width: 720px;
  margin-top: 22px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 19px;
}

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

.discovery-hero-visual {
  align-self: center;
  overflow: hidden;
  width: min(100%, 460px);
  justify-self: end;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 28px 70px rgba(7, 24, 50, 0.24);
}

.discovery-hero-visual svg {
  display: block;
  width: 100%;
  height: auto;
  max-height: 320px;
}

.contact-cards {
  background: var(--soft);
}

.contact-card-grid,
.discovery-process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.contact-info-card,
.discovery-process-card {
  min-height: 250px;
  padding: 26px;
  background: var(--white);
}

.contact-icon {
  display: inline-grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 8px;
  background: #fff4ea;
  color: var(--orange);
}

.contact-icon svg {
  width: 28px;
  height: 28px;
}

.contact-info-card span,
.discovery-process-card span {
  display: block;
  margin-top: 20px;
  color: var(--orange);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.contact-info-card h3,
.discovery-process-card h3 {
  margin: 8px 0 10px;
  font-size: 24px;
  line-height: 1.08;
}

.contact-info-card p,
.contact-info-card a,
.discovery-process-card p {
  color: var(--muted);
}

.contact-map-section {
  background: var(--white);
}

.contact-map-shell,
.discovery-form-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.84fr);
  gap: 28px;
  align-items: stretch;
}

.contact-map-card {
  overflow: hidden;
  min-height: 520px;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.contact-map-card iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.contact-map-copy {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f7f9fc;
}

.contact-map-copy h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 50px);
  line-height: 1.04;
}

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

.contact-mini-list {
  display: grid;
  gap: 1px;
  margin-top: 24px;
  overflow: hidden;
  border: 1px solid rgba(7, 24, 50, 0.08);
  border-radius: 8px;
  background: rgba(7, 24, 50, 0.08);
}

.contact-mini-list div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  background: rgba(255, 255, 255, 0.9);
}

.contact-mini-list strong {
  color: var(--navy);
}

.contact-mini-list span {
  color: var(--muted);
}

.discovery-form-section {
  background: linear-gradient(180deg, #fff8f1 0%, #fff 100%);
}

.discovery-points {
  display: grid;
  gap: 1px;
  margin-top: 24px;
  overflow: hidden;
  border: 1px solid rgba(7, 24, 50, 0.08);
  border-radius: 8px;
  background: rgba(7, 24, 50, 0.08);
}

.discovery-points div {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 16px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.86);
}

.discovery-points span {
  color: var(--orange);
  font-weight: 800;
}

.discovery-points p {
  margin: 0;
  color: var(--navy);
  font-weight: 700;
}

.discovery-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.discovery-form label {
  display: grid;
  gap: 8px;
  font-size: 13px;
  font-weight: 800;
}

.discovery-form input,
.discovery-form textarea,
.discovery-form select {
  width: 100%;
  min-height: 52px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 6px;
  font: inherit;
  color: var(--navy);
  background: #fff;
}

.discovery-form textarea {
  min-height: 160px;
  padding: 14px 16px;
  resize: vertical;
}

.discovery-form-wide {
  grid-column: 1 / -1;
}

.discovery-process {
  background: var(--soft);
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 0.78fr);
  gap: 58px;
  background: linear-gradient(135deg, var(--navy), var(--navy-2));
  color: var(--white);
}

.contact p,
.contact-copy ul {
  color: rgba(255, 255, 255, 0.76);
}

.contact-copy ul {
  display: grid;
  gap: 10px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 28px;
  border-radius: 8px;
  background: var(--white);
  color: var(--navy);
  box-shadow: var(--shadow);
}

.contact-form label {
  display: grid;
  gap: 8px;
  font-size: 13px;
  font-weight: 800;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 13px 14px;
  color: var(--navy);
  font: inherit;
  resize: vertical;
}

.corporate-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 34px;
  align-items: end;
  min-height: 88svh;
  overflow: hidden;
  padding: 210px max(20px, calc((100vw - 1180px) / 2)) 86px;
  background: var(--navy);
  color: var(--white);
}

.corporate-grid-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(243, 111, 33, 0.22) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255, 255, 255, 0.16) 1px, transparent 1px),
    radial-gradient(circle at 75% 25%, rgba(243, 111, 33, 0.26), transparent 34%),
    linear-gradient(135deg, #071832 0%, #10284c 54%, #071832 100%);
  background-size: 44px 44px, 44px 44px, auto, auto;
}

.corporate-grid-bg::after {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 24, 50, 0.96) 0%, rgba(7, 24, 50, 0.72) 52%, rgba(7, 24, 50, 0.3) 100%),
    linear-gradient(180deg, rgba(7, 24, 50, 0.08), rgba(7, 24, 50, 0.82));
  content: "";
}

.corporate-hero-inner,
.corporate-hero-aside {
  position: relative;
  z-index: 2;
}

.corporate-hero h1 {
  max-width: 940px;
  margin: 0;
  font-size: clamp(42px, 7vw, 86px);
  line-height: 0.98;
}

.corporate-hero-inner > p:not(.eyebrow) {
  max-width: 760px;
  margin: 28px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(17px, 2vw, 21px);
}

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

.corporate-hero-aside {
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
}

.corporate-hero-aside span {
  display: block;
  color: var(--orange-2);
  font-size: 58px;
  font-weight: 800;
  line-height: 1;
}

.corporate-hero-aside p {
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.76);
  font-weight: 700;
}

.corporate-story {
  background: var(--white);
}

.mission-section {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  background: var(--soft);
}

.mission-block {
  padding: 42px;
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 16px 44px rgba(7, 24, 50, 0.08);
}

.mission-block-dark {
  background: var(--navy);
  color: var(--white);
}

.mission-block span,
.value-item span,
.corporate-service-list span,
.contact-facts span {
  color: var(--orange);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.mission-block h2 {
  margin: 12px 0 18px;
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1.08;
}

.mission-block p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
}

.mission-block-dark p {
  color: rgba(255, 255, 255, 0.72);
}

.values-section {
  background: var(--white);
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.value-item {
  min-height: 260px;
  padding: 30px;
  background: var(--white);
  transition: background 220ms ease, transform 220ms ease;
}

.value-item:hover {
  background: #f7f9fc;
  transform: translateY(-6px);
}

.value-item h3 {
  margin: 12px 0 10px;
  font-size: 24px;
  line-height: 1.14;
}

.value-item p {
  margin: 0;
  color: var(--muted);
}

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

.corporate-services .section-head p:last-child {
  color: rgba(255, 255, 255, 0.7);
}

.corporate-service-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.14);
}

.corporate-service-list article {
  padding: 32px;
  background: #0c203f;
  transition: background 220ms ease;
}

.corporate-service-list article:hover {
  background: #14305a;
}

.corporate-service-list p {
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 17px;
}

.corporate-contact {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 24px;
  background: var(--soft);
}

.corporate-contact-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 38px;
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 16px 44px rgba(7, 24, 50, 0.08);
}

.corporate-contact-card h2 {
  margin: 0;
  font-size: clamp(30px, 4.4vw, 54px);
  line-height: 1.06;
}

.contact-facts {
  display: grid;
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.contact-facts div {
  padding: 24px;
  background: var(--white);
}

.contact-facts p {
  margin: 8px 0 0;
  color: var(--navy);
  font-size: 17px;
  font-weight: 700;
}

.service-detail-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.72fr);
  gap: 44px;
  align-items: end;
  min-height: 88svh;
  overflow: hidden;
  padding: 210px max(20px, calc((100vw - 1180px) / 2)) 86px;
  background: var(--navy);
  color: var(--white);
}

.service-detail-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(243, 111, 33, 0.16) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255, 255, 255, 0.1) 1px, transparent 1px),
    radial-gradient(circle at 80% 24%, rgba(243, 111, 33, 0.24), transparent 34%),
    linear-gradient(135deg, #071832 0%, #10284c 58%, #071832 100%);
  background-size: 52px 52px, 52px 52px, auto, auto;
}

.service-detail-bg::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(7, 24, 50, 0.96), rgba(7, 24, 50, 0.55));
  content: "";
}

.service-variant-split .service-detail-bg {
  background:
    linear-gradient(120deg, rgba(243, 111, 33, 0.18), transparent 28%),
    linear-gradient(135deg, #071832 0%, #10284c 100%);
}

.service-variant-warm .service-detail-bg {
  background:
    radial-gradient(circle at 72% 30%, rgba(243, 111, 33, 0.42), transparent 32%),
    linear-gradient(135deg, #071832 0%, #331807 100%);
}

.service-variant-alert .service-detail-bg {
  background:
    repeating-linear-gradient(135deg, rgba(243, 111, 33, 0.16) 0 2px, transparent 2px 22px),
    linear-gradient(135deg, #071832 0%, #351414 100%);
}

.service-variant-cool .service-detail-bg {
  background:
    radial-gradient(circle at 78% 28%, rgba(71, 190, 255, 0.3), transparent 34%),
    linear-gradient(135deg, #071832 0%, #0b3a58 100%);
}

.service-detail-copy,
.service-detail-visual {
  position: relative;
  z-index: 2;
}

.service-detail-copy h1 {
  max-width: 880px;
  margin: 0;
  font-size: clamp(42px, 7vw, 82px);
  line-height: 0.98;
}

.service-detail-copy > p:not(.eyebrow) {
  max-width: 720px;
  margin: 26px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(18px, 2vw, 22px);
}

.service-detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.service-detail-visual {
  min-height: 520px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.service-detail-visual img {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
}

.service-variant-blueprint .service-detail-visual {
  transform: rotate(-2deg);
}

.service-variant-split .service-detail-visual {
  border-radius: 160px 8px 8px 160px;
}

.service-variant-warm .service-detail-visual {
  transform: translateY(26px);
}

.service-variant-alert .service-detail-visual {
  border: 3px solid rgba(243, 111, 33, 0.7);
}

.service-variant-cool .service-detail-visual {
  border-radius: 8px 160px 8px 8px;
}

.service-overview {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(340px, 0.75fr);
  gap: 48px;
  background: var(--white);
}

.service-overview-copy h2 {
  margin: 0;
  font-size: clamp(30px, 4.8vw, 58px);
  line-height: 1.04;
}

.service-point-list {
  display: grid;
  gap: 1px;
  overflow: hidden;
  align-self: start;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.service-point {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 18px;
  align-items: start;
  padding: 24px;
  background: #f7f9fc;
}

.service-point span,
.process-step span {
  color: var(--orange);
  font-weight: 800;
}

.service-point p {
  margin: 0;
  color: var(--navy);
  font-weight: 700;
}

.service-detail-hero-project {
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 0.88fr);
}

.project-intro {
  background: var(--white);
}

.project-intro-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.82fr);
  gap: 26px;
  align-items: stretch;
}

.project-intro-copy {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, #ffffff, #f7f9fc);
  box-shadow: 0 18px 48px rgba(7, 24, 50, 0.08);
}

.project-intro-copy h2 {
  margin: 0;
  font-size: clamp(24px, 3.4vw, 40px);
  line-height: 1.12;
}

.project-intro-principles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  margin-top: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.project-intro-principles div {
  min-height: 128px;
  padding: 18px;
  background: var(--white);
}

.project-intro-principles span {
  color: var(--orange);
  font-size: 13px;
  font-weight: 800;
}

.project-intro-principles p {
  margin: 10px 0 0;
  color: var(--navy);
  font-size: 16px;
  font-weight: 800;
}

.project-intro-visual,
.project-wide-visual,
.project-management-visual {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.project-intro-visual img,
.project-wide-visual img,
.project-management-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-intro-visual {
  min-height: 100%;
}

.project-intro-badge {
  position: absolute;
  right: 22px;
  bottom: 22px;
  max-width: 220px;
  padding: 18px 20px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(7, 24, 50, 0.76);
  color: var(--white);
  backdrop-filter: blur(12px);
}

.project-intro-badge strong {
  display: block;
  color: var(--orange-2);
  font-size: 28px;
  line-height: 1;
}

.project-intro-badge span {
  display: block;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
  font-weight: 700;
}

.project-design {
  background: var(--soft);
}

.project-wide-visual {
  margin-bottom: 18px;
  min-height: 360px;
}

.project-design-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.project-step-card {
  min-height: 220px;
  padding: 28px;
  background: var(--white);
  transition: transform 180ms ease, background 180ms ease;
}

.project-step-card:hover {
  background: #f8fafc;
  transform: translateY(-4px);
}

.project-step-card span,
.project-management-item span {
  color: var(--orange);
  font-weight: 800;
}

.project-step-card p,
.project-management-item p {
  margin: 14px 0 0;
  color: var(--navy);
  font-size: 18px;
  font-weight: 700;
}

.project-process-band {
  background: var(--navy);
  color: var(--white);
}

.project-process-band .section-head p:last-child {
  color: rgba(255, 255, 255, 0.7);
}

.project-management {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(360px, 1fr);
  gap: 30px;
  background: var(--white);
}

.project-management-copy h2 {
  margin: 0;
  font-size: clamp(26px, 3.6vw, 44px);
  line-height: 1.1;
}

.project-management-visual {
  margin-top: 22px;
  min-height: 280px;
}

.project-management-list {
  display: grid;
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.project-management-item {
  padding: 22px 24px;
  background: #f7f9fc;
}

.project-note {
  background: var(--soft);
}

.project-note-card {
  padding: 40px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--navy), var(--navy-2));
  color: var(--white);
  box-shadow: var(--shadow);
}

.project-note-card h2 {
  max-width: 980px;
  margin: 0;
  font-size: clamp(24px, 3.3vw, 38px);
  line-height: 1.12;
}

.service-detail-hero-gas {
  grid-template-columns: minmax(0, 0.94fr) minmax(360px, 0.82fr);
}

.gas-intro {
  background: var(--white);
}

.gas-intro-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.9fr);
  gap: 24px;
  align-items: center;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, #ffffff, #f7f9fc);
  box-shadow: 0 18px 48px rgba(7, 24, 50, 0.08);
}

.gas-intro-copy h2 {
  margin: 0;
  font-size: clamp(26px, 3.8vw, 44px);
  line-height: 1.1;
}

.gas-intro-graphic {
  min-height: 280px;
  padding: 14px;
  border-radius: 8px;
  background: radial-gradient(circle at center, rgba(243, 111, 33, 0.08), rgba(7, 24, 50, 0.02));
}

.gas-intro-graphic svg {
  display: block;
  width: 100%;
  height: 100%;
}

.gas-drawing {
  display: grid;
  grid-template-columns: minmax(320px, 0.82fr) minmax(0, 1fr);
  gap: 28px;
  align-items: center;
  background: var(--soft);
}

.gas-drawing-visual {
  height: 420px;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.gas-drawing-visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gas-drawing-copy h2,
.gas-industrial-copy h2 {
  margin: 0;
  font-size: clamp(28px, 4.2vw, 50px);
  line-height: 1.06;
}

.gas-step-list,
.gas-industrial-list {
  display: grid;
  gap: 1px;
  overflow: hidden;
  margin-top: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.gas-step-item,
.gas-industrial-item {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 16px;
  padding: 20px;
  background: var(--white);
}

.gas-step-item span,
.gas-panel-card span,
.gas-industrial-item span {
  color: var(--orange);
  font-weight: 800;
}

.gas-step-item p,
.gas-panel-card p,
.gas-industrial-item p {
  margin: 0;
  color: var(--navy);
  font-size: 17px;
  font-weight: 700;
}

.gas-approval {
  background: var(--navy);
  color: var(--white);
}

.gas-approval .section-head p:last-child {
  color: rgba(255, 255, 255, 0.7);
}

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

.gas-panel-card {
  min-height: 220px;
  padding: 26px;
  border-radius: 8px;
  background: #0c203f;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.gas-panel-card p {
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.8);
}

.gas-industrial {
  background: var(--white);
}

.service-detail-hero-heat {
  grid-template-columns: minmax(0, 0.92fr) minmax(380px, 0.84fr);
}

.heat-intro {
  background:
    radial-gradient(circle at top left, rgba(243, 111, 33, 0.14), transparent 32%),
    linear-gradient(180deg, #fffaf5 0%, #fff4ea 100%);
}

.heat-intro-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.84fr);
  gap: 28px;
  align-items: center;
}

.heat-intro-copy h2 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(30px, 4.1vw, 46px);
  line-height: 1.1;
}

.heat-intro-principles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 28px;
  overflow: hidden;
  border: 1px solid rgba(7, 24, 50, 0.08);
  border-radius: 8px;
  background: rgba(7, 24, 50, 0.08);
}

.heat-principle-card {
  min-height: 180px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.82);
}

.heat-principle-card span {
  color: var(--orange);
  font-weight: 800;
}

.heat-principle-card p {
  margin: 14px 0 0;
  color: var(--navy);
  font-size: 16px;
  line-height: 1.6;
  font-weight: 700;
}

.heat-intro-graphic {
  position: relative;
  min-height: 380px;
  overflow: hidden;
  border: 1px solid rgba(243, 111, 33, 0.14);
  border-radius: 8px;
  background: linear-gradient(145deg, #0a1f41, #16325e);
  box-shadow: 0 28px 70px rgba(7, 24, 50, 0.16);
}

.heat-intro-graphic svg {
  width: 100%;
  height: 100%;
}

.heat-intro-badge {
  position: absolute;
  right: 24px;
  bottom: 24px;
  padding: 16px 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
}

.heat-intro-badge strong {
  display: block;
  color: #fff3e8;
  font-size: 18px;
}

.heat-intro-badge span {
  display: block;
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.76);
}

.heat-residential {
  background: var(--soft);
}

.heat-residential-layout {
  display: grid;
  grid-template-columns: minmax(320px, 0.76fr) minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.heat-residential-visual,
.heat-wide-visual,
.heat-hvac-visual {
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.heat-residential-visual img,
.heat-wide-visual img,
.heat-hvac-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.heat-residential-visual {
  height: 100%;
  min-height: 420px;
}

.heat-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.heat-card,
.heat-humidity-card {
  min-height: 160px;
  padding: 22px;
  background: var(--white);
}

.heat-card span,
.heat-list-item span,
.heat-hvac-item span,
.heat-humidity-card span {
  color: var(--orange);
  font-weight: 800;
}

.heat-card p,
.heat-list-item p,
.heat-hvac-item p,
.heat-humidity-card p {
  margin: 12px 0 0;
  color: var(--navy);
  font-size: 17px;
  font-weight: 700;
}

.heat-industrial {
  background: var(--navy);
  color: var(--white);
}

.heat-band {
  margin-bottom: 24px;
}

.heat-band h2,
.heat-hvac-copy h2 {
  margin: 0;
  font-size: clamp(30px, 4.6vw, 54px);
  line-height: 1.04;
}

.heat-industrial-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 0.9fr);
  gap: 24px;
  align-items: stretch;
}

.heat-wide-visual {
  min-height: 420px;
}

.heat-list {
  display: grid;
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.14);
}

.heat-list-item {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 16px;
  padding: 22px;
  background: #0c203f;
}

.heat-list-item p {
  color: rgba(255, 255, 255, 0.8);
}

.heat-hvac {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.82fr);
  gap: 26px;
  align-items: center;
  background: var(--white);
}

.heat-hvac-points {
  display: grid;
  gap: 1px;
  overflow: hidden;
  margin-top: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.heat-hvac-item {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 16px;
  padding: 20px;
  background: #f7f9fc;
}

.heat-hvac-visual {
  height: 100%;
  min-height: 420px;
}

.heat-humidity {
  background: var(--soft);
}

.heat-humidity-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.service-detail-hero-cool {
  grid-template-columns: minmax(0, 0.88fr) minmax(400px, 0.9fr);
}

.cool-intro {
  background:
    radial-gradient(circle at top left, rgba(71, 170, 255, 0.14), transparent 34%),
    linear-gradient(180deg, #f7fbff 0%, #eef5fb 100%);
}

.cool-intro-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.7fr);
  gap: 28px;
  align-items: center;
  padding: 30px;
  border: 1px solid rgba(7, 24, 50, 0.08);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(255,255,255,0.92), rgba(245,250,255,0.92));
  box-shadow: 0 18px 48px rgba(7, 24, 50, 0.08);
}

.cool-intro-copy h2 {
  max-width: 700px;
  margin: 0;
  font-size: clamp(26px, 3.6vw, 40px);
  line-height: 1.12;
}

.cool-intro-principles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 22px;
  overflow: hidden;
  border: 1px solid rgba(7, 24, 50, 0.08);
  border-radius: 8px;
  background: rgba(7, 24, 50, 0.08);
}

.cool-principle-card {
  padding: 18px;
  background: rgba(255, 255, 255, 0.8);
}

.cool-principle-card strong {
  display: block;
  color: var(--orange);
  font-size: 22px;
  line-height: 1;
}

.cool-principle-card span {
  display: block;
  margin-top: 12px;
  color: var(--navy);
  font-size: 15px;
  line-height: 1.45;
  font-weight: 700;
}

.cool-intro-panel {
  position: relative;
  min-height: 260px;
  overflow: hidden;
  border: 1px solid rgba(7, 24, 50, 0.08);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(10, 35, 72, 0.98), rgba(18, 65, 126, 0.94)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0));
  box-shadow: 0 28px 70px rgba(7, 24, 50, 0.18);
}

.cool-intro-panel svg {
  display: block;
  width: 100%;
  height: 100%;
}

.cool-intro-badge {
  position: absolute;
  right: 18px;
  bottom: 18px;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
}

.cool-intro-badge strong {
  display: block;
  color: #edfaff;
  font-size: 17px;
}

.cool-intro-badge span {
  display: block;
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 13px;
}

.cool-systems {
  background: var(--white);
}

.cool-systems-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.86fr);
  gap: 28px;
  align-items: stretch;
}

.cool-system-cards,
.cool-equipment-list,
.cool-air-grid {
  display: grid;
  gap: 1px;
  overflow: hidden;
  border-radius: 8px;
}

.cool-system-cards {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border: 1px solid var(--line);
  background: var(--line);
}

.cool-system-card,
.cool-air-card {
  min-height: 180px;
  padding: 24px;
  background: var(--white);
}

.cool-system-card span,
.cool-equipment-item span,
.cool-air-card span {
  color: var(--orange);
  font-weight: 800;
}

.cool-system-card p,
.cool-equipment-item p,
.cool-air-card p {
  margin: 14px 0 0;
  color: var(--navy);
  font-size: 17px;
  font-weight: 700;
}

.cool-system-visual,
.cool-equipment-visual {
  overflow: hidden;
  height: 100%;
  min-height: 420px;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.cool-system-visual img,
.cool-equipment-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cool-equipment {
  background: linear-gradient(180deg, #0a1f41 0%, #102c58 100%);
  color: var(--white);
}

.cool-equipment-band {
  margin-bottom: 26px;
}

.cool-equipment-band h2 {
  max-width: 920px;
  margin: 0;
  font-size: clamp(30px, 4.7vw, 54px);
  line-height: 1.04;
}

.cool-equipment-layout {
  display: grid;
  grid-template-columns: minmax(360px, 0.82fr) minmax(0, 1fr);
  gap: 28px;
  align-items: stretch;
}

.cool-equipment-list {
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.14);
}

.cool-equipment-item {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 16px;
  padding: 22px;
  background: rgba(8, 25, 51, 0.88);
}

.cool-equipment-item p {
  color: rgba(255, 255, 255, 0.82);
}

.cool-air {
  background: var(--soft);
}

.cool-air-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--line);
  background: var(--line);
}

.cool-process {
  background: var(--white);
}

.service-detail-hero-fire {
  grid-template-columns: minmax(0, 0.9fr) minmax(390px, 0.88fr);
}

.fire-intro {
  background:
    radial-gradient(circle at top left, rgba(243, 111, 33, 0.18), transparent 30%),
    linear-gradient(180deg, #fff9f4 0%, #fff2e8 100%);
}

.fire-intro-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.76fr);
  gap: 28px;
  align-items: center;
}

.fire-intro-copy h2,
.fire-operational-note h2 {
  max-width: 780px;
  margin: 0;
  font-size: clamp(26px, 3.4vw, 42px);
  line-height: 1.12;
}

.fire-intro-diagram {
  display: grid;
  place-items: center;
  min-height: 360px;
  overflow: hidden;
  border: 1px solid rgba(243, 111, 33, 0.16);
  border-radius: 8px;
  background: linear-gradient(145deg, #0a1f41, #142c53);
  box-shadow: 0 28px 70px rgba(7, 24, 50, 0.16);
}

.fire-intro-diagram svg {
  width: min(100%, 420px);
  height: auto;
}

.fire-sprinkler {
  display: grid;
  grid-template-columns: minmax(340px, 0.82fr) minmax(0, 1fr);
  gap: 28px;
  align-items: stretch;
  background: var(--white);
}

.fire-sprinkler-visual,
.fire-systems-visual {
  overflow: hidden;
  min-height: 430px;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.fire-sprinkler-visual img,
.fire-systems-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.fire-sprinkler-copy h2,
.fire-systems-copy h2 {
  margin: 0;
  font-size: clamp(30px, 4.6vw, 54px);
  line-height: 1.04;
}

.fire-panel-list,
.fire-systems-list {
  display: grid;
  gap: 1px;
  overflow: hidden;
  margin-top: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.fire-panel-item,
.fire-hydrant-card,
.fire-systems-item {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 16px;
  padding: 22px;
  background: #fff;
}

.fire-panel-item span,
.fire-hydrant-card span,
.fire-systems-item span {
  color: var(--orange);
  font-weight: 800;
}

.fire-panel-item p,
.fire-hydrant-card p,
.fire-systems-item p {
  margin: 0;
  color: var(--navy);
  font-size: 17px;
  font-weight: 700;
}

.fire-hydrant {
  background: var(--soft);
}

.fire-hydrant-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.fire-hydrant-card {
  min-height: 210px;
}

.fire-systems {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.8fr);
  gap: 28px;
  align-items: stretch;
  background: linear-gradient(180deg, #0a1f41 0%, #102c58 100%);
  color: var(--white);
}

.fire-systems-item {
  background: rgba(255, 255, 255, 0.08);
}

.fire-systems-item p {
  color: rgba(255, 255, 255, 0.82);
}

.fire-operational {
  background:
    linear-gradient(120deg, rgba(243, 111, 33, 0.08), rgba(243, 111, 33, 0) 34%),
    var(--white);
}

.fire-operational-note {
  max-width: 920px;
  margin-bottom: 28px;
}

.service-process {
  background: var(--soft);
}

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

.process-step {
  position: relative;
  min-height: 170px;
  padding: 24px;
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 14px 36px rgba(7, 24, 50, 0.08);
}

.process-step p {
  margin: 18px 0 0;
  color: var(--navy);
  font-size: 18px;
  font-weight: 800;
}

.service-related {
  background: var(--navy);
  color: var(--white);
}

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

.related-card {
  min-height: 210px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: #0c203f;
  transition: background 180ms ease, transform 180ms ease;
}

.related-card:hover {
  background: #14305a;
  transform: translateY(-5px);
}

.related-card span {
  color: var(--orange-2);
  font-weight: 800;
}

.related-card p {
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.72);
}

.references-page-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 42px;
  align-items: end;
  min-height: 82svh;
  overflow: hidden;
  padding: 210px max(20px, calc((100vw - 1180px) / 2)) 86px;
  background: var(--navy);
  color: var(--white);
}

.references-page-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(243, 111, 33, 0.18) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255, 255, 255, 0.12) 1px, transparent 1px),
    radial-gradient(circle at 76% 20%, rgba(243, 111, 33, 0.28), transparent 34%),
    linear-gradient(135deg, #071832 0%, #10284c 60%, #071832 100%);
  background-size: 46px 46px, 46px 46px, auto, auto;
}

.references-page-bg::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(7, 24, 50, 0.96), rgba(7, 24, 50, 0.48));
  content: "";
}

.references-page-copy,
.references-page-stats {
  position: relative;
  z-index: 2;
}

.references-page-copy h1 {
  max-width: 900px;
  margin: 0;
  font-size: clamp(44px, 7vw, 86px);
  line-height: 0.98;
}

.references-page-copy > p:not(.eyebrow) {
  max-width: 720px;
  margin: 28px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(18px, 2vw, 22px);
}

.references-page-stats {
  display: grid;
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.14);
}

.references-page-stats div {
  padding: 26px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
}

.references-page-stats strong {
  display: block;
  color: var(--orange-2);
  font-size: 52px;
  line-height: 1;
}

.references-page-stats span {
  color: rgba(255, 255, 255, 0.72);
  font-weight: 800;
}

.reference-feature {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 22px;
  background: var(--soft);
}

.reference-feature-card {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  border-radius: 8px;
  color: var(--white);
  box-shadow: var(--shadow);
}

.reference-feature-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 520ms ease;
}

.reference-feature-card::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 24, 50, 0.08), rgba(7, 24, 50, 0.88));
  content: "";
}

.reference-feature-card div {
  position: absolute;
  right: 34px;
  bottom: 34px;
  left: 34px;
  z-index: 2;
}

.reference-feature-card span,
.reference-index-card span,
.reference-meta span,
.reference-scope-item span {
  color: var(--orange-2);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.reference-feature-card h2 {
  margin: 10px 0;
  font-size: clamp(36px, 5vw, 66px);
  line-height: 0.98;
}

.reference-feature-card p {
  max-width: 650px;
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 18px;
}

.reference-feature-card:hover img {
  transform: scale(1.06);
}

.reference-categories {
  display: grid;
  gap: 12px;
  align-self: stretch;
}

.reference-categories span {
  display: flex;
  align-items: center;
  padding: 22px;
  border-radius: 8px;
  background: var(--white);
  color: var(--navy);
  font-weight: 800;
  box-shadow: 0 12px 34px rgba(7, 24, 50, 0.08);
}

.reference-index {
  background: var(--white);
}

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

.reference-index-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 14px 38px rgba(7, 24, 50, 0.08);
  transition: transform 200ms ease, box-shadow 200ms ease;
}

.reference-index-card:hover {
  box-shadow: 0 24px 54px rgba(7, 24, 50, 0.14);
  transform: translateY(-6px);
}

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

.reference-index-card div {
  padding: 22px;
}

.reference-index-card h3 {
  margin: 10px 0 8px;
  font-size: 25px;
  line-height: 1.12;
}

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

.reference-detail-hero {
  position: relative;
  min-height: 88svh;
  overflow: hidden;
  color: var(--white);
}

.reference-detail-hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.reference-detail-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 24, 50, 0.96) 0%, rgba(7, 24, 50, 0.68) 48%, rgba(7, 24, 50, 0.1) 100%),
    linear-gradient(180deg, rgba(7, 24, 50, 0.12), rgba(7, 24, 50, 0.78));
}

.reference-detail-copy {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 220px 0 86px;
}

.back-link {
  display: inline-flex;
  margin-bottom: 24px;
  color: var(--orange-2);
  font-weight: 800;
}

.reference-detail-copy h1 {
  max-width: 860px;
  margin: 0;
  font-size: clamp(46px, 8vw, 92px);
  line-height: 0.96;
}

.reference-detail-copy > p:not(.eyebrow) {
  max-width: 680px;
  margin: 26px 0 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: 20px;
}

.reference-detail-body {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 48px;
  background: var(--white);
}

.reference-meta {
  display: grid;
  gap: 1px;
  align-self: start;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.reference-meta div {
  padding: 22px;
  background: #f7f9fc;
}

.reference-meta p {
  margin: 8px 0 0;
  color: var(--navy);
  font-size: 18px;
  font-weight: 800;
}

.reference-story h2 {
  max-width: 820px;
  margin: 0;
  font-size: clamp(32px, 5vw, 58px);
  line-height: 1.04;
}

.reference-story p:last-child {
  max-width: 820px;
  color: var(--muted);
  font-size: 18px;
}

.reference-scope {
  background: var(--soft);
}

.reference-scope-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.reference-scope-item {
  min-height: 170px;
  padding: 28px;
  background: var(--white);
}

.reference-scope-item p {
  margin: 14px 0 0;
  color: var(--navy);
  font-size: 20px;
  font-weight: 800;
}

.blog-hero {
  position: relative;
  min-height: 78svh;
  overflow: hidden;
  padding: 210px max(20px, calc((100vw - 1180px) / 2)) 82px;
  background: var(--navy);
  color: var(--white);
}

.blog-hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(243, 111, 33, 0.16) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255, 255, 255, 0.1) 1px, transparent 1px),
    radial-gradient(circle at 76% 24%, rgba(243, 111, 33, 0.24), transparent 34%),
    linear-gradient(135deg, #071832 0%, #10284c 56%, #071832 100%);
  background-size: 54px 54px, 54px 54px, auto, auto;
}

.blog-hero-bg::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(7, 24, 50, 0.94), rgba(7, 24, 50, 0.46));
  content: "";
}

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

.blog-hero-copy h1 {
  max-width: 960px;
  margin: 0;
  font-size: clamp(44px, 7vw, 86px);
  line-height: 0.98;
}

.blog-hero-copy > p:not(.eyebrow) {
  max-width: 760px;
  margin: 28px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(18px, 2vw, 22px);
}

.blog-feature {
  background: var(--soft);
}

.blog-feature-card {
  display: grid;
  grid-template-columns: minmax(360px, 0.95fr) minmax(0, 1fr);
  overflow: hidden;
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.blog-feature-card img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
}

.blog-feature-card div {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 42px;
}

.blog-card span,
.blog-feature-card span {
  color: var(--orange);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.blog-feature-card h2 {
  margin: 12px 0;
  font-size: clamp(34px, 5vw, 60px);
  line-height: 1.02;
}

.blog-feature-card p {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
}

.blog-feature-card small,
.blog-card small {
  display: block;
  margin-top: 18px;
  color: var(--muted);
  font-weight: 700;
}

.blog-index {
  background: var(--white);
}

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

.blog-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 14px 38px rgba(7, 24, 50, 0.08);
  transition: transform 200ms ease, box-shadow 200ms ease;
}

.blog-card:hover {
  box-shadow: 0 22px 52px rgba(7, 24, 50, 0.14);
  transform: translateY(-6px);
}

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

.blog-card div {
  padding: 22px;
}

.blog-card h3 {
  margin: 10px 0 10px;
  font-size: 24px;
  line-height: 1.12;
}

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

.blog-detail-hero {
  position: relative;
  min-height: 82svh;
  overflow: hidden;
  color: var(--white);
}

.blog-detail-hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-detail-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 24, 50, 0.95) 0%, rgba(7, 24, 50, 0.68) 50%, rgba(7, 24, 50, 0.18) 100%),
    linear-gradient(180deg, rgba(7, 24, 50, 0.08), rgba(7, 24, 50, 0.8));
}

.blog-detail-copy {
  position: relative;
  z-index: 2;
  width: min(980px, calc(100% - 40px));
  margin: 0 auto;
  padding: 220px 0 86px;
}

.blog-detail-copy h1 {
  max-width: 860px;
  margin: 0;
  font-size: clamp(42px, 7vw, 82px);
  line-height: 0.98;
}

.blog-detail-copy > p:not(.eyebrow) {
  max-width: 720px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 18px;
  font-weight: 700;
}

.blog-article {
  background: var(--white);
}

.blog-article-body {
  width: min(820px, 100%);
  margin: 0 auto;
}

.blog-article-body h2 {
  margin: 0;
  font-size: clamp(30px, 4.6vw, 54px);
  line-height: 1.04;
}

.blog-article-body p {
  color: var(--muted);
  font-size: 19px;
}

.admin-body,
.admin-login-body {
  margin: 0;
  min-height: 100vh;
  background: #071832;
  color: var(--white);
  font-family: Inter, Arial, sans-serif;
}

.admin-shell {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  min-height: 100vh;
}

.admin-sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 28px;
  background: #061226;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.admin-sidebar nav {
  display: grid;
  gap: 10px;
}

.admin-sidebar nav a {
  padding: 12px 14px;
  border-radius: 14px;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 700;
}

.admin-sidebar nav a:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
}

.admin-main {
  padding: 30px;
  background: #f4f7fb;
  color: var(--navy);
}

.admin-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 22px;
}

.admin-header h1 {
  margin: 0;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1;
}

.admin-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 22px;
}

.admin-stat-card,
.admin-panel,
.admin-login-card,
.admin-editor {
  border-radius: 18px;
  background: var(--white);
  box-shadow: 0 18px 48px rgba(7, 24, 50, 0.1);
}

.admin-stat-card {
  padding: 24px;
}

.admin-stat-card strong {
  display: block;
  color: var(--orange);
  font-size: 44px;
  line-height: 1;
}

.admin-stat-card span {
  color: var(--muted);
  font-weight: 800;
}

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

.admin-panel {
  padding: 24px;
}

.admin-panel-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  margin-bottom: 14px;
}

.admin-panel-head h2 {
  margin: 0;
  font-size: 24px;
}

.admin-panel-head a,
.admin-actions a {
  color: var(--orange);
  font-weight: 800;
}

.admin-list {
  display: grid;
  gap: 10px;
}

.admin-list-item,
.admin-table-head,
.admin-table-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.admin-list-item:last-child,
.admin-table-row:last-child {
  border-bottom: 0;
}

.admin-list-item strong {
  display: block;
}

.admin-list-item p {
  margin: 4px 0 0;
  color: var(--muted);
}

.admin-table {
  display: grid;
}

.admin-table-head,
.admin-table-row {
  grid-template-columns: 2fr 1fr 1fr 1fr;
}

.admin-table-head {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.admin-actions form {
  margin: 0;
}

.admin-actions button,
.admin-logout {
  border: 0;
  background: none;
  color: #d14343;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.admin-editor {
  display: grid;
  gap: 16px;
  padding: 24px;
}

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

.admin-form-full {
  grid-column: 1 / -1;
}

.admin-editor label,
.admin-form label {
  display: grid;
  gap: 8px;
  color: var(--navy);
  font-size: 13px;
  font-weight: 800;
}

.admin-editor input,
.admin-editor textarea,
.admin-form input {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  font: inherit;
  color: var(--navy);
  background: var(--white);
}

.admin-checkbox {
  grid-auto-flow: column;
  justify-content: start;
  align-items: center;
}

.admin-checkbox input[type="checkbox"] {
  width: 18px;
  height: 18px;
}

.admin-alert,
.admin-error {
  margin-bottom: 18px;
  padding: 14px 16px;
  border-radius: 14px;
  background: #e9f7ef;
  color: #146c43;
  font-weight: 700;
}

.admin-error {
  background: #fdecec;
  color: #a12626;
}

.admin-login-body {
  display: grid;
  place-items: center;
  padding: 24px;
}

.admin-login-card {
  width: min(460px, 100%);
  padding: 34px;
  color: var(--navy);
}

.admin-login-card img {
  width: 140px;
  margin-bottom: 24px;
}

.admin-login-card h1 {
  margin: 0 0 8px;
  font-size: 38px;
}

.admin-login-card p {
  margin: 0 0 22px;
  color: var(--muted);
}

.admin-form {
  display: grid;
  gap: 16px;
}

.footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 38px;
  padding: 52px max(20px, calc((100vw - 1180px) / 2));
  background: #061226;
  color: rgba(255, 255, 255, 0.72);
}

.footer img {
  width: 140px;
  margin-bottom: 18px;
  filter: brightness(1.08);
}

.footer p {
  max-width: 640px;
  margin: 0;
}

.footer nav {
  display: grid;
  gap: 8px;
  color: var(--white);
  font-weight: 700;
}

.footer small {
  grid-column: 1 / -1;
  color: rgba(255, 255, 255, 0.5);
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 700ms ease, transform 700ms ease;
}

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

@media (max-width: 980px) {
  .topbar {
    display: none;
  }

  .navbar {
    grid-template-columns: auto auto;
    justify-content: space-between;
    margin-top: 12px;
    padding: 12px 14px;
    border-radius: 18px;
  }

  .menu-toggle {
    display: block;
  }

  .nav-links,
  .nav-cta {
    display: none;
  }

  .navbar.is-open .nav-links {
    display: grid;
    grid-column: 1 / -1;
    gap: 14px;
    margin-top: 14px;
    padding: 16px;
    border: 1px solid rgba(7, 24, 50, 0.08);
    border-radius: 14px;
    background: rgba(244, 247, 251, 0.96);
  }

  .nav-links a,
  .nav-dropdown > a {
    display: block;
    width: 100%;
  }

  .dropdown-menu {
    position: static;
    min-width: 0;
    padding: 8px;
    border-radius: 14px;
    background: #fff;
    box-shadow: none;
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  .dropdown-menu::before {
    display: none;
  }

  .navbar.is-open .nav-cta {
    display: inline-flex;
    grid-column: 1 / -1;
    width: 100%;
    margin-top: 12px;
    justify-content: center;
  }

  .hero-inner {
    padding-top: 160px;
  }

  .section-grid,
  .intro-shell,
  .blog-preview-shell,
  .why,
  .contact,
  .contact-page-hero,
  .discovery-hero,
  .corporate-hero,
  .mission-section,
  .corporate-contact,
  .service-detail-hero,
  .service-overview,
  .references-page-hero,
  .reference-feature,
  .reference-detail-body,
  .blog-feature-card,
  .admin-shell,
  .admin-grid,
  .project-management,
  .service-detail-hero-project,
  .service-detail-hero-gas,
  .gas-drawing,
  .gas-intro-shell,
  .service-detail-hero-heat,
  .heat-intro-shell,
  .heat-residential-layout,
  .heat-industrial-layout,
  .heat-hvac,
  .service-detail-hero-cool,
  .cool-intro-shell,
  .cool-systems-layout,
  .cool-equipment-layout,
  .service-detail-hero-fire,
  .fire-intro-shell,
  .fire-sprinkler,
  .fire-systems,
  .contact-map-shell,
  .discovery-form-shell {
    grid-template-columns: 1fr;
  }

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

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

  .why-panel {
    position: static;
  }

  .corporate-hero {
    padding-top: 170px;
  }

  .value-grid,
  .corporate-service-list,
  .process-rail,
  .related-grid,
  .reference-index-grid,
  .reference-scope-grid,
  .blog-grid,
  .admin-form-grid,
  .project-design-grid,
  .gas-approval-grid,
  .heat-intro-principles,
  .heat-card-grid,
  .heat-humidity-grid,
  .cool-system-cards,
  .cool-air-grid,
  .cool-intro-principles,
  .fire-hydrant-grid,
  .contact-card-grid,
  .discovery-process-grid,
  .discovery-form {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .service-detail-hero {
    padding-top: 170px;
  }

  .service-detail-visual,
  .service-detail-visual img {
    min-height: 360px;
  }

  .project-intro-shell {
    grid-template-columns: 1fr;
  }

  .service-variant-blueprint .service-detail-visual,
  .service-variant-warm .service-detail-visual {
    transform: none;
  }

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

  .intro-shell,
  .blog-preview-shell {
    gap: 28px;
  }

  .section-aside {
    gap: 14px;
  }

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

  .reference-marquee::before,
  .reference-marquee::after {
    width: 72px;
  }

  .reference-tile {
    flex-basis: 300px;
    height: 210px;
  }

  .blog-hero {
    padding-top: 170px;
  }

  .blog-feature-card img {
    min-height: 320px;
  }

  .gas-drawing-visual {
    height: 360px;
  }

  .heat-residential-visual,
  .heat-hvac-visual {
    height: 360px;
    min-height: 360px;
  }

  .heat-intro-graphic {
    min-height: 360px;
  }

  .cool-system-visual,
  .cool-equipment-visual,
  .cool-intro-panel {
    min-height: 300px;
  }

  .fire-sprinkler-visual,
  .fire-systems-visual,
  .fire-intro-diagram {
    min-height: 360px;
  }

  .contact-map-card {
    min-height: 420px;
  }

  .admin-main {
    padding: 22px;
  }
}

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

  .hero {
    min-height: 96svh;
  }

  .hero-inner {
    width: calc(100% - 32px);
    padding-bottom: 70px;
  }

  .hero-actions,
  .hero-actions .btn {
    width: 100%;
  }

  .hero-indicators {
    right: 20px;
    bottom: 22px;
  }

  .metrics,
  .certificates {
    grid-template-columns: 1fr;
  }

  .certificates figure {
    min-height: 300px;
  }

  .reference-marquee::before,
  .reference-marquee::after {
    width: 40px;
  }

  .reference-tile,
  .reference-tile-logo {
    flex-basis: 250px;
    height: 190px;
  }

  .reference-tile p {
    font-size: 18px;
  }

  .corporate-hero-actions,
  .corporate-hero-actions .btn {
    width: 100%;
  }

  .mission-block,
  .corporate-contact-card {
    padding: 28px;
  }

  .value-grid,
  .corporate-service-list,
  .process-rail,
  .related-grid,
  .reference-index-grid,
  .reference-scope-grid,
  .blog-grid,
  .admin-form-grid,
  .project-design-grid,
  .gas-approval-grid,
  .heat-intro-principles,
  .heat-card-grid,
  .heat-humidity-grid,
  .cool-system-cards,
  .cool-air-grid,
  .cool-intro-principles,
  .fire-hydrant-grid,
  .contact-card-grid,
  .discovery-process-grid,
  .discovery-form {
    grid-template-columns: 1fr;
  }

  .references-page-hero {
    padding-top: 170px;
  }

  .reference-feature-card {
    min-height: 420px;
  }

  .reference-detail-copy {
    width: calc(100% - 32px);
    padding-top: 170px;
  }

  .blog-detail-copy {
    width: calc(100% - 32px);
    padding-top: 170px;
  }

  .project-intro-principles {
    grid-template-columns: 1fr;
  }

  .project-intro-visual,
  .project-wide-visual,
  .project-management-visual {
    min-height: 220px;
  }

  .project-note-card {
    padding: 28px;
  }

  .gas-drawing-visual {
    height: 260px;
  }

  .heat-residential-visual,
  .heat-hvac-visual {
    height: 260px;
    min-height: 260px;
  }

  .heat-intro-graphic {
    min-height: 280px;
  }

  .cool-system-visual,
  .cool-equipment-visual,
  .cool-intro-panel {
    min-height: 240px;
  }

  .fire-sprinkler-visual,
  .fire-systems-visual,
  .fire-intro-diagram {
    min-height: 260px;
  }

  .contact-page-actions,
  .contact-page-actions .btn {
    width: 100%;
  }

  .contact-map-card {
    min-height: 320px;
  }

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

  .admin-table-head,
  .admin-table-row {
    grid-template-columns: 1fr;
  }

  .service-detail-actions,
  .service-detail-actions .btn {
    width: 100%;
  }

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

  .service-card,
  .service-card:nth-child(4),
  .service-card:nth-child(5) {
    grid-column: auto;
    min-height: 430px;
  }

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