:root {
  --red: #d9272f;
  --red-dark: #a91521;
  --ink: #14181f;
  --navy: #102842;
  --blue: #1f6692;
  --green: #28755f;
  --gold: #b98632;
  --slate: #5d6978;
  --line: #dfe6ee;
  --soft: #f5f8fb;
  --paper: #ffffff;
  --shadow: 0 24px 70px rgba(16, 40, 66, 0.14);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: #ffffff;
  font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans CJK SC", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.72;
  text-rendering: optimizeLegibility;
}

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

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

[id] {
  scroll-margin-top: 92px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: minmax(260px, 420px) 1fr auto;
  align-items: center;
  gap: 28px;
  min-height: 82px;
  padding: 12px clamp(20px, 5vw, 72px);
  border-top: 4px solid var(--red);
  border-bottom: 1px solid rgba(20, 24, 31, 0.08);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
  box-shadow: 0 12px 30px rgba(16, 40, 66, 0.06);
}

.brand,
.footer-brand {
  display: inline-grid;
  grid-template-columns: 44px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.brand-text {
  display: grid;
  min-width: 0;
  line-height: 1;
}

.brand-text strong {
  overflow: hidden;
  color: var(--ink);
  font-family: "SimSun", "Microsoft YaHei", serif;
  font-size: 18px;
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.brand-text em {
  overflow: hidden;
  margin-top: 5px;
  color: #5d6978;
  font-family: "Times New Roman", serif;
  font-size: 8px;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nav {
  display: flex;
  justify-content: center;
  gap: clamp(18px, 2.4vw, 36px);
  white-space: nowrap;
  font-size: 15px;
  font-weight: 800;
}

.nav a {
  position: relative;
  padding: 9px 0;
  color: #2f3742;
}

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

.nav a:hover,
.nav a.is-active {
  color: var(--red);
}

.nav a:hover::after,
.nav a.is-active::after {
  transform: scaleX(1);
}

.header-call,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: var(--radius);
  font-weight: 900;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.header-call {
  border: 1px solid rgba(217, 39, 47, 0.45);
  color: var(--red);
  background: rgba(217, 39, 47, 0.04);
}

.btn:hover,
.header-call:hover {
  transform: translateY(-1px);
}

.btn.primary {
  background: var(--red);
  color: #ffffff;
  box-shadow: 0 16px 34px rgba(217, 39, 47, 0.24);
}

.btn.secondary {
  border: 1px solid rgba(255, 255, 255, 0.54);
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
}

.btn.full {
  width: 100%;
}

.hero {
  position: relative;
  min-height: calc(100vh - 82px);
  display: grid;
  grid-template-rows: 1fr auto;
  align-items: end;
  overflow: hidden;
  color: #ffffff;
  background: var(--navy);
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(1.08) contrast(1.06);
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(9, 21, 35, 0.92) 0%, rgba(9, 21, 35, 0.72) 42%, rgba(9, 21, 35, 0.22) 100%),
    linear-gradient(180deg, rgba(9, 21, 35, 0.15) 0%, rgba(9, 21, 35, 0.82) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(78px, 9vw, 138px) 0 42px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 16px;
  color: var(--red);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.eyebrow::before {
  content: "";
  width: 34px;
  height: 3px;
  background: currentColor;
}

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

h1 {
  max-width: 860px;
  margin-bottom: 20px;
  font-family: "SimSun", "Microsoft YaHei", serif;
  font-size: clamp(42px, 6vw, 78px);
  line-height: 1.08;
  letter-spacing: 0;
}

.hero-lead {
  max-width: 760px;
  margin-bottom: 32px;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.75;
}

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

.hero-strip {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 40px));
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0 auto 34px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  box-shadow: var(--shadow);
}

.hero-strip div {
  min-height: 120px;
  padding: 22px 24px;
  border-right: 1px solid var(--line);
}

.hero-strip div:last-child {
  border-right: 0;
}

.hero-strip span,
.hero-strip em {
  display: block;
  color: var(--slate);
  font-style: normal;
}

.hero-strip span {
  margin-bottom: 7px;
  color: var(--red);
  font-size: 13px;
  font-weight: 900;
}

.hero-strip strong {
  display: block;
  margin-bottom: 5px;
  color: var(--navy);
  font-size: 24px;
  line-height: 1.2;
}

.section {
  padding: clamp(70px, 7vw, 104px) clamp(20px, 5vw, 72px);
}

.section-copy {
  width: min(940px, 100%);
  margin: 0 auto 38px;
  text-align: center;
}

.section-copy.wide {
  width: min(1180px, 100%);
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(360px, 0.7fr);
  gap: clamp(28px, 5vw, 62px);
  align-items: end;
  text-align: left;
}

.section-copy.wide .eyebrow,
.section-copy.wide h2 {
  grid-column: 1;
}

.section-copy.wide p:not(.eyebrow) {
  grid-column: 2;
  grid-row: 1 / span 2;
  margin-bottom: 0;
}

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

h3 {
  font-size: 22px;
  line-height: 1.32;
}

.section-copy p:not(.eyebrow) {
  color: var(--slate);
  font-size: 17px;
  line-height: 1.9;
}

.intro {
  background:
    linear-gradient(180deg, #ffffff 0%, #f7fafc 100%),
    repeating-linear-gradient(90deg, rgba(31, 102, 146, 0.04) 0 1px, transparent 1px 88px);
}

.intro-grid,
.service-layout,
.timeline,
.qualification-grid,
.scene-grid,
.achievement {
  width: min(1180px, 100%);
  margin-left: auto;
  margin-right: auto;
}

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

.intro-grid article {
  min-height: 260px;
  padding: 30px;
  border: 1px solid var(--line);
  border-top: 4px solid var(--red);
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: 0 18px 48px rgba(16, 40, 66, 0.08);
}

.intro-grid span,
.service-card span,
.timeline span {
  display: inline-block;
  margin-bottom: 20px;
  color: var(--red);
  font-size: 14px;
  font-weight: 900;
}

.intro-grid p,
.service-card p,
.timeline p {
  margin-bottom: 0;
  color: var(--slate);
}

.services {
  background: #ffffff;
}

.service-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) repeat(2, minmax(0, 0.75fr));
  gap: 18px;
}

.service-card {
  min-height: 252px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--soft);
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.service-card:hover {
  transform: translateY(-3px);
  background: #ffffff;
  box-shadow: 0 22px 58px rgba(16, 40, 66, 0.12);
}

.service-card.featured {
  grid-row: span 2;
  min-height: 522px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  color: #ffffff;
  background:
    linear-gradient(180deg, rgba(16, 40, 66, 0.18), rgba(16, 40, 66, 0.92)),
    url("./website-assets/projects/site-photos/distribution-room.jpg") center / cover;
  border: 0;
  box-shadow: var(--shadow);
}

.service-card.featured span,
.service-card.featured p,
.service-card.featured li {
  color: rgba(255, 255, 255, 0.88);
}

.service-card.featured h3 {
  font-size: 30px;
}

.service-card ul {
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.service-card li {
  position: relative;
  margin-top: 10px;
  padding-left: 18px;
}

.service-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 7px;
  height: 7px;
  background: var(--red);
}

.seo-link-panel {
  width: min(1180px, 100%);
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 22px auto 0;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: 0 16px 42px rgba(16, 40, 66, 0.08);
}

.seo-link-panel a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid rgba(31, 102, 146, 0.18);
  border-left: 3px solid var(--red);
  background: var(--soft);
  color: var(--navy);
  font-weight: 900;
}

.service-page {
  background: #ffffff;
}

.service-hero {
  width: min(1180px, calc(100% - 40px));
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 0.78fr);
  gap: clamp(32px, 5vw, 70px);
  align-items: center;
  margin: 0 auto;
  padding: clamp(72px, 8vw, 118px) 0 clamp(48px, 5vw, 72px);
}

.service-hero h1 {
  color: var(--ink);
  font-size: clamp(38px, 5vw, 62px);
}

.service-hero p:not(.eyebrow) {
  max-width: 690px;
  color: var(--slate);
  font-size: 18px;
  line-height: 1.9;
}

.service-hero img {
  width: 100%;
  min-height: 360px;
  object-fit: cover;
  border-radius: var(--radius);
  background: var(--soft);
  box-shadow: var(--shadow);
}

.service-detail {
  background:
    linear-gradient(180deg, #f7fafc, #ffffff),
    repeating-linear-gradient(90deg, rgba(31, 102, 146, 0.04) 0 1px, transparent 1px 88px);
}

.detail-grid {
  width: min(1180px, 100%);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 0 auto;
}

.detail-grid article {
  min-height: 220px;
  padding: 28px;
  border: 1px solid var(--line);
  border-top: 4px solid var(--red);
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: 0 18px 48px rgba(16, 40, 66, 0.08);
}

.detail-grid p {
  color: var(--slate);
}

.process {
  color: #ffffff;
  background:
    linear-gradient(180deg, rgba(16, 40, 66, 0.96), rgba(20, 24, 31, 0.97)),
    url("./website-assets/projects/photos/power-lines-sky.jpg") center / cover fixed;
}

.process .section-copy p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.78);
}

.process .eyebrow {
  color: #ffb0b4;
}

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

.timeline article {
  min-height: 218px;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(4px);
}

.timeline h3 {
  color: #ffffff;
}

.timeline p {
  color: rgba(255, 255, 255, 0.76);
}

.qualifications {
  background:
    linear-gradient(180deg, #f7fafc, #ffffff),
    repeating-linear-gradient(0deg, rgba(31, 102, 146, 0.045) 0 1px, transparent 1px 80px);
}

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

.qualification-grid a {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: 0 18px 48px rgba(16, 40, 66, 0.08);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.qualification-grid a:hover {
  transform: translateY(-3px);
  box-shadow: 0 26px 64px rgba(16, 40, 66, 0.14);
}

.qualification-grid img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  padding: 12px;
  background: #f8fafc;
  border-bottom: 1px solid var(--line);
}

.qualification-grid strong {
  display: block;
  min-height: 62px;
  padding: 16px;
  line-height: 1.45;
}

.is-preview-open {
  overflow: hidden;
}

.certificate-preview {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  place-items: center;
  padding: 72px clamp(14px, 4vw, 54px) 34px;
  background: rgba(6, 14, 24, 0.84);
  backdrop-filter: blur(10px);
}

.certificate-preview.is-open {
  display: grid;
}

.certificate-preview-close {
  position: fixed;
  top: 18px;
  right: 18px;
  z-index: 101;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  color: #111820;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.28);
}

.certificate-preview-close:hover,
.certificate-preview-close:focus-visible {
  outline: 0;
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(217, 39, 47, 0.28), 0 16px 42px rgba(0, 0, 0, 0.28);
}

.certificate-preview-frame {
  width: min(980px, 100%);
  max-height: calc(100vh - 118px);
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.38);
}

.certificate-preview-frame img {
  width: 100%;
  max-height: calc(100vh - 178px);
  object-fit: contain;
  padding: clamp(10px, 2vw, 18px);
  background: #f7fafc;
}

.certificate-preview-frame figcaption {
  padding: 16px 20px;
  border-top: 1px solid var(--line);
  color: var(--ink);
  font-weight: 900;
  text-align: center;
}

.projects {
  color: #ffffff;
  background:
    linear-gradient(180deg, #111820 0%, #102842 100%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.05) 0 1px, transparent 1px 84px);
}

.projects .section-copy p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.76);
}

.projects .eyebrow {
  color: #ffb0b4;
}

.scene-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr 0.85fr;
  gap: 18px;
}

.scene-grid figure {
  position: relative;
  min-height: 280px;
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 20px 54px rgba(0, 0, 0, 0.2);
}

.scene-grid figure.large {
  grid-row: span 2;
}

.scene-grid img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
  transition: transform 220ms ease;
}

.scene-grid figure:hover img {
  transform: scale(1.035);
}

.scene-grid figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 24px;
  background: linear-gradient(180deg, rgba(13, 18, 24, 0), rgba(13, 18, 24, 0.9));
}

.scene-grid strong,
.scene-grid span {
  display: block;
}

.scene-grid strong {
  margin-bottom: 7px;
  font-size: 22px;
  line-height: 1.3;
}

.scene-grid span {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.65;
}

.achievement {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 24px;
  margin-top: 22px;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
}

.achievement div {
  border-left: 4px solid var(--red);
  padding-left: 20px;
}

.achievement span,
.achievement strong {
  display: block;
}

.achievement span {
  color: #ffb0b4;
  font-weight: 900;
}

.achievement strong {
  margin-top: 8px;
  font-size: 28px;
  line-height: 1.2;
}

.achievement p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 620px) minmax(360px, 460px);
  gap: clamp(34px, 5vw, 70px);
  justify-content: center;
  padding: clamp(72px, 8vw, 112px) clamp(20px, 5vw, 72px);
  background:
    linear-gradient(135deg, #ffffff 0%, #f4f8fb 100%),
    repeating-linear-gradient(90deg, rgba(31, 102, 146, 0.045) 0 1px, transparent 1px 84px);
}

.contact-copy p:not(.eyebrow) {
  color: var(--slate);
  font-size: 17px;
}

.contact-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.contact-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(31, 102, 146, 0.18);
  border-left: 3px solid var(--red);
  background: #ffffff;
  color: #344152;
  font-weight: 800;
}

.contact-card {
  padding: 30px;
  border-radius: var(--radius);
  border-top: 4px solid var(--red);
  background: #ffffff;
  box-shadow: var(--shadow);
}

.contact-card dl {
  margin: 0 0 24px;
}

.contact-card div {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 16px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
}

.contact-card dt {
  color: var(--slate);
  font-size: 14px;
}

.contact-card dd {
  margin: 0;
  font-weight: 900;
}

.contact-card a {
  color: var(--blue);
}

.contact-card .btn {
  color: #ffffff;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 30px clamp(20px, 5vw, 72px);
  background: #101820;
  color: rgba(255, 255, 255, 0.72);
}

.site-footer .brand-text strong,
.site-footer .brand-text em {
  color: #ffffff;
}

.site-footer .brand-text em {
  color: rgba(255, 255, 255, 0.62);
}

.site-footer p {
  margin: 0;
  text-align: right;
}

@media (max-width: 1120px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .nav {
    grid-column: 1 / -1;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .hero-strip,
  .intro-grid,
  .timeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .section-copy.wide,
  .contact,
  .achievement,
  .service-hero {
    grid-template-columns: 1fr;
  }

  .section-copy.wide .eyebrow,
  .section-copy.wide h2,
  .section-copy.wide p:not(.eyebrow) {
    grid-column: auto;
    grid-row: auto;
  }

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

  .service-card.featured {
    grid-column: 1 / -1;
    min-height: 440px;
  }

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

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

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

  .scene-grid figure.large {
    grid-column: 1 / -1;
    grid-row: auto;
  }
}

@media (max-width: 720px) {
  .site-header {
    min-height: 70px;
    padding: 10px 16px;
    gap: 14px;
  }

  .brand,
  .footer-brand {
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 9px;
  }

  .brand-mark {
    width: 34px;
    height: 34px;
  }

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

  .brand-text em {
    font-size: 5px;
    letter-spacing: 0.04em;
  }

  .header-call {
    min-height: 38px;
    padding: 0 10px;
    font-size: 13px;
  }

  .nav {
    gap: 20px;
    font-size: 14px;
  }

  .hero {
    min-height: auto;
  }

  .hero-content {
    width: calc(100% - 32px);
    padding: 70px 0 30px;
  }

  h1 {
    font-size: 40px;
  }

  .hero-lead {
    font-size: 18px;
  }

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

  .hero-strip,
  .intro-grid,
  .service-layout,
  .timeline,
  .qualification-grid,
  .scene-grid {
    grid-template-columns: 1fr;
  }

  .hero-strip {
    width: calc(100% - 32px);
    margin-bottom: 20px;
  }

  .hero-strip div {
    min-height: 96px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .hero-strip div:last-child {
    border-bottom: 0;
  }

  .section {
    padding: 62px 16px;
  }

  .section-copy,
  .section-copy.wide {
    text-align: left;
  }

  .service-card,
  .intro-grid article,
  .timeline article {
    min-height: 0;
    padding: 24px;
  }

  .service-card.featured {
    min-height: 390px;
  }

  .seo-link-panel a {
    width: 100%;
  }

  .service-hero {
    width: calc(100% - 32px);
    padding: 54px 0 42px;
  }

  .service-hero img {
    min-height: 240px;
  }

  .qualification-grid img {
    aspect-ratio: 3 / 2;
  }

  .certificate-preview {
    padding: 66px 10px 18px;
  }

  .certificate-preview-close {
    top: 12px;
    right: 12px;
    width: 44px;
    height: 44px;
  }

  .certificate-preview-frame {
    max-height: calc(100vh - 86px);
  }

  .certificate-preview-frame img {
    max-height: calc(100vh - 142px);
  }

  .contact {
    padding: 62px 16px;
  }

  .contact-card {
    padding: 24px;
  }

  .contact-card div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

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

  .site-footer p {
    text-align: left;
  }
}
