:root {
  --navy: #002d5a;
  --navy-dark: #001d3d;
  --blue: #0068d8;
  --blue-soft: #eaf4ff;
  --line: #d7e3ef;
  --text: #102033;
  --muted: #5a6b7e;
  --light: #f5f8fb;
  --white: #ffffff;
  --shadow: 0 16px 38px rgba(0, 43, 84, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  font-family: "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", "Hiragino Mincho Pro", "Noto Serif JP", "Noto Serif CJK JP", "Source Han Serif JP", "MS PMincho", serif;
  font-size: 16px;
  line-height: 1.8;
  background: var(--white);
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

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

.site-header {
  background: linear-gradient(90deg, var(--navy-dark), var(--navy));
  color: var(--white);
}

.header-inner {
  width: min(1180px, calc(100% - 64px));
  min-height: 80px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.site-logo {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.2;
  white-space: nowrap;
}

.global-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 15px;
  font-weight: 700;
}

.global-nav a {
  opacity: 0.96;
}

.global-nav a:hover,
.global-nav a:focus-visible {
  opacity: 1;
  color: #bfe2ff;
}

.global-nav .nav-button {
  padding: 12px 20px;
  border-radius: 4px;
  background: var(--blue);
  color: var(--white);
}

.menu-button {
  display: none;
  width: 46px;
  height: 42px;
  padding: 6px;
  border: 0;
  background: transparent;
}

.menu-button span {
  display: block;
  height: 4px;
  margin: 6px 0;
  border-radius: 999px;
  background: var(--white);
}

.hero,
.page-hero {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background-image: url("../images/hero/hero-piping.jpg");
  background-position: right center;
  background-size: cover;
}

.hero-home {
  min-height: 475px;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 35, 76, 0.95) 0%, rgba(0, 50, 96, 0.86) 42%, rgba(0, 24, 50, 0.38) 72%, rgba(0, 0, 0, 0.12) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.2), rgba(0, 32, 68, 0.45));
}

.hero-content {
  position: relative;
  z-index: 1;
  min-height: 475px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  max-width: 1180px;
  padding-block: 72px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 10px;
  color: #8bd2ff;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(32px, 3.05vw, 46px);
  font-weight: 900;
  line-height: 1.42;
  letter-spacing: 0;
}

.hero-title-line {
  display: block;
}

.hero-title-mobile-break {
  display: none;
}

.mobile-only {
  display: none;
}

.hero-lead {
  max-width: 520px;
  margin: 30px 0 0;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.9;
}

.hero-actions {
  display: flex;
  gap: 18px;
  margin-top: 32px;
}


@media (min-width: 821px) {
  .hero-home {
    background-color: var(--navy-dark);
    background-position: right center;
    background-repeat: no-repeat;
    background-size: 72% auto;
  }

  .hero-home .hero-shade {
    background: linear-gradient(90deg, rgba(0, 35, 76, 0.98) 0%, rgba(0, 45, 90, 0.94) 44%, rgba(0, 45, 90, 0.42) 53%, rgba(0, 18, 38, 0.08) 68%, rgba(0, 0, 0, 0) 100%);
  }
}
@media (min-width: 821px) {
  .hero-title-line {
    white-space: nowrap;
  }
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  padding: 0 28px;
  border-radius: 4px;
  font-weight: 800;
  line-height: 1.3;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.button:hover,
.button:focus-visible,
.submit-button:hover,
.submit-button:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(0, 55, 110, 0.24);
}

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

.button-outline {
  border: 1px solid rgba(255, 255, 255, 0.9);
  color: var(--white);
  background: rgba(0, 21, 47, 0.28);
}

.button-light {
  min-width: 320px;
  background: var(--white);
  color: var(--navy);
}

.section {
  padding: 70px 0;
}

.about-section,
.works-section,
.history-section {
  background: var(--white);
}

.services-section,
.company-section,
.contact-section {
  background: linear-gradient(180deg, var(--light), #ffffff);
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 64px;
  max-width: 1180px;
  position: relative;
  align-items: center;
  padding: 8px 0;
}

.about-visual {
  margin: 0;
  overflow: hidden;
  border-radius: 4px;
  box-shadow: 0 22px 48px rgba(0, 38, 78, 0.16);
}

.about-visual img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center;
}
.about-statement {
  max-width: 620px;
}

.about-section .section-copy h2 {
  max-width: none;
  font-size: 34px;
  line-height: 1.35;
}

.about-section .section-copy h2::after {
  width: 72px;
  margin-top: 16px;
}

.section-copy .about-catch {
  max-width: 620px;
  margin: 0;
  color: var(--navy);
  font-size: clamp(24px, 2.1vw, 32px);
  font-weight: 900;
  line-height: 1.5;
  letter-spacing: 0;
}

.about-text {
  max-width: 620px;
  margin-top: 30px;
  padding-top: 30px;
  border-top: 1px solid var(--line);
}


.about-text p {
  margin: 0 0 12px;
  color: #19324d;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.78;
}

.about-text p:last-child {
  margin-bottom: 0;
}

@media (min-width: 1101px) {
  .about-statement,
  .section-copy .about-catch,
  .about-text {
    max-width: 520px;
  }
}
.section-copy h2,
.section-heading h2,
.contact-aside h2 {
  margin: 0;
  color: var(--navy);
  font-size: 34px;
  font-weight: 900;
  line-height: 1.35;
  letter-spacing: 0;
}

.section-copy h2::after,
.section-heading h2::after,
.contact-aside h2::after {
  content: "";
  display: block;
  width: 54px;
  height: 3px;
  margin-top: 12px;
  background: var(--blue);
}

.section-heading-center h2::after {
  margin-inline: auto;
}

.section-copy p {
  margin: 20px 0 0;
  font-weight: 600;
}

.section-heading {
  max-width: 820px;
  margin: 0 auto 34px;
}

.section-heading-center {
  text-align: center;
}

.section-heading p {
  margin: 14px 0 0;
  color: var(--muted);
  font-weight: 600;
}

.service-title {
  color: var(--text) !important;
  font-size: 21px;
  font-weight: 900 !important;
}

.service-card,
.value-card,
.contact-aside,
.contact-form {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 12px 30px rgba(0, 52, 105, 0.07);
}

.service-card h3,
.value-card h3,
.contact-aside h3 {
  margin: 0;
  color: var(--navy);
  font-size: 18px;
  font-weight: 900;
  line-height: 1.45;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  border-left: 1px solid rgba(0, 51, 96, 0.2);
}

.service-card {
  min-height: 132px;
  padding: 28px 20px 26px;
  border: 0;
  border-right: 1px solid rgba(0, 51, 96, 0.2);
  background: transparent;
  box-shadow: none;
  text-align: center;
}

.service-card h3 {
  color: #071f3a;
  font-size: 16px;
  line-height: 1.55;
}

.service-card p {
  margin: 10px 0 0;
  color: #4c6074;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.7;
}

.service-card img {
  display: none;
}

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

.value-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 286px;
  padding: 38px 28px 30px;
  overflow: hidden;
  border-radius: 6px;
  text-align: center;
  transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease, background-color 0.28s ease;
}
.value-card img {
  width: 96px;
  height: 96px;
  margin: 0 0 22px;
  object-fit: contain;
  transition: transform 0.28s ease;
}

.value-card p {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.8;
  text-align: left;
}

.value-card > div {
  width: 100%;
}
.value-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 111, 220, 0.32);
  background: rgba(255, 255, 255, 0.99);
  box-shadow: 0 22px 44px rgba(0, 52, 105, 0.13);
}

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

.works-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.work-card {
  position: relative;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border-radius: 4px;
  background: var(--navy);
  box-shadow: var(--shadow);
}

.work-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.work-card figcaption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  min-height: 46px;
  display: grid;
  place-items: center;
  padding: 8px 12px;
  background: rgba(0, 45, 90, 0.94);
  color: var(--white);
  font-weight: 900;
  line-height: 1.35;
  text-align: center;
}

.history-table-wrap {
  max-width: 1060px;
  margin-inline: auto;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--white);
  box-shadow: 0 10px 24px rgba(0, 42, 90, 0.06);
}

.history-table {
  width: 100%;
  min-width: 860px;
  table-layout: fixed;
  border-collapse: collapse;
  color: #18314d;
  font-weight: 600;
}

.history-table th,
.history-table td {
  padding: 12px 18px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
  line-height: 1.48;
}

.history-table th:not(:last-child) {
  border-right: 1px solid rgba(255, 255, 255, 0.28);
}

.history-table td:not(:last-child) {
  border-right: 1px solid #d7e4ef;
}

.history-table td {
  font-weight: 600;
}

.history-value {
  min-width: 0;
  overflow-wrap: anywhere;
}

.history-table th {
  background: var(--navy);
  color: var(--white);
  font-weight: 900;
  text-align: center;
}

.history-table th:nth-child(1),
.history-table td:nth-child(1) {
  width: 28%;
}

.history-table th:nth-child(2),
.history-table td:nth-child(2) {
  width: 48%;
}

.history-table th:nth-child(3),
.history-table td:nth-child(3) {
  width: 24%;
  white-space: nowrap;
}

.history-table tbody tr:last-child td {
  border-bottom: 0;
}

.history-table tbody tr:nth-child(even) {
  background: #f7fbff;
}

@media (max-width: 820px) {
  .history-table-wrap {
    overflow: visible;
  }

  .history-table {
    min-width: 0;
  }

  .history-table thead {
    display: none;
  }

  .history-table,
  .history-table tbody,
  .history-table tr {
    display: block;
    width: 100%;
  }

  .history-table tr {
    padding: 12px 16px;
    border-bottom: 1px solid var(--line);
  }

  .history-table tr:last-child {
    border-bottom: 0;
  }

  .history-table th:nth-child(1),
  .history-table td:nth-child(1),
  .history-table th:nth-child(2),
  .history-table td:nth-child(2),
  .history-table th:nth-child(3),
  .history-table td:nth-child(3) {
    width: 100%;
  }

  .history-table td {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr);
    column-gap: 16px;
    align-items: center;
    width: 100%;
    padding: 6px 0 7px;
    border-bottom: 0;
    background-image: linear-gradient(rgba(0, 45, 90, 0.14), rgba(0, 45, 90, 0.14));
    background-position: 80px center;
    background-repeat: no-repeat;
    background-size: 1px 1.55em;
    font-size: 15px;
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .history-table td:not(:last-child) {
    border-right: 0;
  }

  .history-table td::before {
    content: attr(data-label);
    display: block;
    padding-bottom: 4px;
    border-bottom: 1px solid rgba(0, 45, 90, 0.14);
    color: var(--navy);
    font-weight: 900;
    line-height: 1.55;
    text-align: center;
  }

  .history-table .history-value {
    display: block;
    padding-bottom: 4px;
    border-bottom: 1px solid rgba(0, 45, 90, 0.12);
    line-height: 1.55;
  }
}

.company-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--white);
  box-shadow: 0 10px 24px rgba(0, 42, 90, 0.06);
}

.company-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 620px;
  font-weight: 700;
}

.company-table th,
.company-table td {
  padding: 17px 22px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.company-table tr:last-child th,
.company-table tr:last-child td {
  border-bottom: 0;
}

.company-table th {
  width: 220px;
  color: var(--navy);
  background: #eef4fa;
  text-align: center;
}

.company-table .location-row th {
  vertical-align: middle;
}

.company-locations {
  display: grid;
  gap: 18px;
  color: #18314d;
  font-weight: 500;
  line-height: 1.65;
}

.company-location {
  display: grid;
  gap: 3px;
}

.company-location p {
  margin: 0;
}

.company-location-title {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  margin-bottom: 2px;
  color: var(--navy);
  font-size: 17px;
  font-weight: 900;
}

.company-location-title::before {
  content: "■";
  color: #111827;
  font-size: 12px;
  line-height: 1;
}

.contact-cta {
  position: relative;
  overflow: hidden;
  padding: 50px 0;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(0, 46, 91, 0.68), rgba(0, 85, 174, 0.96)),
    url("../images/hero/cta-water.png") left center / cover no-repeat;
}

.cta-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  text-align: center;
}

.contact-cta h2 {
  max-width: 760px;
  margin: 0;
  font-size: 22px;
  font-weight: 900;
  line-height: 1.5;
}

.contact-cta .button-light {
  min-width: 260px;
  min-height: 46px;
  padding-inline: 26px;
  font-size: 14px;
}


.site-footer {
  color: var(--white);
  background: linear-gradient(90deg, var(--navy-dark), var(--navy));
}

.footer-main {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  align-items: center;
  padding: 34px 0;
}

.footer-logo {
  margin: 0;
  font-size: 30px;
  font-weight: 900;
  line-height: 1.25;
}

.footer-main p {
  margin: 0;
  font-weight: 700;
}

.copyright {
  margin: 0;
  text-align: right;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}

.page-hero {
  min-height: 415px;
}

.page-hero-content {
  position: relative;
  z-index: 1;
  min-height: 415px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 1180px;
  padding-block: 70px;
}

.page-hero h1 {
  margin: 0 0 28px;
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1.25;
  font-weight: 900;
}

.page-hero p {
  max-width: 620px;
  margin: 0 0 12px;
  font-size: 18px;
  font-weight: 700;
}

.form-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 34px;
  align-items: start;
}

.form-layout > * {
  min-width: 0;
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px 28px;
  padding: 46px 42px;
  border-radius: 6px;
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: stretch;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.form-row + .form-row {
  border-top: 0;
}

fieldset.form-row {
  min-inline-size: 0;
}

.form-row label,
.form-row legend {
  min-width: 0;
  color: var(--navy);
  font-size: 14px;
  font-weight: 900;
  line-height: 1.5;
}

.form-row-full,
.privacy-row,
.privacy-note,
.submit-button {
  grid-column: 1 / -1;
}


.required,
.optional {
  display: inline;
  min-width: 0;
  min-height: auto;
  margin-left: 4px;
  padding: 0;
  border-radius: 0;
  color: inherit;
  background: transparent;
  font-size: 13px;
  font-weight: 900;
  vertical-align: baseline;
}

.required {
  color: #d12f2f;
}

.form-status {
  grid-column: 1 / -1;
  padding: 15px 18px;
  border-radius: 4px;
  font-size: 15px;
  font-weight: 900;
  line-height: 1.7;
}

.form-status-success {
  border: 1px solid #b7dac6;
  background: #effaf3;
  color: #155c32;
}

.form-status-error {
  border: 1px solid #f1b9b9;
  background: #fff3f3;
  color: #9f1f1f;
}

.field-error {
  margin: 0;
  color: #d12f2f;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.5;
}

.honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.optional {
  color: var(--muted);
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid #c7d4e1;
  border-radius: 4px;
  background: var(--white);
  color: var(--text);
  outline: none;
}

input,
select {
  min-height: 50px;
  padding: 0 16px;
}

textarea {
  height: 130px;
  min-height: 110px;
  padding: 14px 16px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(0, 104, 216, 0.14);
}

input[aria-invalid="true"],
select[aria-invalid="true"],
textarea[aria-invalid="true"] {
  border-color: #d12f2f;
}

.privacy-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 10px 16px;
  margin-top: 12px;
  color: var(--navy);
  font-size: 16px;
  font-weight: 900;
}

.privacy-row label {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.privacy-row label span {
  min-width: 0;
}

.privacy-row input {
  width: 34px;
  height: 34px;
  min-height: 34px;
  padding: 0;
}

.privacy-note {
  margin: 16px 0 24px;
  color: var(--muted);
  text-align: center;
  font-size: 14px;
  font-weight: 700;
}

.submit-button {
  width: 100%;
  min-height: 70px;
  border: 0;
  border-radius: 4px;
  background: linear-gradient(90deg, #00479c, #0060d0);
  color: var(--white);
  font-size: 24px;
  font-weight: 900;
  cursor: pointer;
}

.contact-aside {
  padding: 42px 28px;
  border-radius: 6px;
  text-align: left;
}

.contact-aside h2 {
  font-size: 24px;
}

.contact-aside h2::after {
  margin-inline: 0;
}

.contact-aside article {
  position: relative;
  margin-top: 26px;
  padding: 24px 0 0;
  border-top: 1px solid var(--line);
}


.contact-aside p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.85;
  text-align: left;
}

@media (max-width: 1100px) {
  
  .about-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .about-statement {
    max-width: 820px;
  }

  .about-visual img {
    aspect-ratio: 16 / 9;
  }

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


  .value-grid {
    gap: 12px;
  }
  .value-card {
    min-height: 268px;
    padding: 34px 22px 28px;
  }

  .works-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }

  .work-card figcaption {
    font-size: 14px;
  }

  .company-table {
    min-width: 0;
  }

  .company-table th,
  .company-table td {
    display: block;
    width: 100%;
    padding: 12px 16px;
  }

  .company-table th {
    text-align: left;
    border-bottom: 0;
  }

  .company-table td {
    border-bottom: 1px solid var(--line);
  }

  .footer-main {
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
    padding: 28px 0;
  }

  .copyright {
    text-align: left;
    font-size: 13px;
  }

  .cta-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .contact-cta h2 {
    font-size: 20px;
  }

  .page-hero,
  .page-hero-content {
    min-height: 330px;
  }

  .page-hero h1 {
    margin-bottom: 18px;
    font-size: 36px;
  }

  .contact-form {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 26px 24px 30px;
  }

  .form-row {
    gap: 8px;
    padding: 0;
  }
.contact-aside {
    grid-template-columns: 1fr;
    padding: 30px 22px;
  }

  .contact-aside p {
    text-align: left;
  }
}
@media (max-width: 820px) {
  .global-nav {
    display: none;
  }

  .menu-button {
    display: block;
  }

  .form-layout {
    grid-template-columns: 1fr;
  }

  .contact-aside {
    width: 100%;
  }
}
@media (max-width: 520px) {
  .container,
  .header-inner {
    width: min(100% - 28px, 460px);
  }

  .site-logo {
    font-size: 22px;
  }

  .hero-home,
  .hero-content {
    min-height: 410px;
  }

  .hero-home {
    background-color: #062b50;
    background-position: 58% center;
    background-repeat: no-repeat;
    background-size: auto 92%;
  }

  .hero-home .hero-shade {
    background:
      linear-gradient(90deg, rgba(0, 35, 76, 0.72) 0%, rgba(0, 45, 90, 0.52) 34%, rgba(0, 18, 38, 0.18) 72%, rgba(0, 18, 38, 0.06) 100%),
      linear-gradient(180deg, rgba(0, 0, 0, 0.02), rgba(0, 32, 68, 0.1));
  }

  .hero h1 {
    font-size: 28px;
    line-height: 1.5;
    text-shadow: 0 2px 14px rgba(0, 20, 45, 0.7);
  }

  .hero-lead {
    text-shadow: 0 2px 12px rgba(0, 20, 45, 0.68);
  }

  .hero-title-mobile-break,
  .mobile-only {
    display: block;
  }

  .about-section .section-copy h2 {
    font-size: 26px;
  }

  .section-copy .about-catch {
    font-size: 22px;
  }
  .service-grid,
  .value-grid,
  .works-grid {
    grid-template-columns: 1fr;
  }

  .service-grid {
    border-top: 1px solid rgba(0, 51, 96, 0.2);
    border-left: 0;
  }

  .service-card {
    min-height: auto;
    padding: 24px 12px;
    border-right: 0;
    border-bottom: 1px solid rgba(0, 51, 96, 0.2);
  }

  .service-card:last-child {
    border-bottom: 0;
  }
  .value-card {
    min-height: 0;
    padding: 30px 20px 26px;
  }
  .value-card img {
    display: block;
    width: 82px;
    height: 82px;
    margin: 0 0 18px;
    object-fit: contain;
  }
  .contact-cta {
    padding: 40px 0;
    background-position: center;
  }

  .footer-logo {
    font-size: 26px;
  }

  .contact-form {
    gap: 16px;
    padding-inline: 18px;
  }

  input,
  select {
    min-height: 50px;
  }
.privacy-row {
    justify-content: flex-start;
    font-size: 16px;
  }

  .submit-button {
    min-height: 64px;
    font-size: 21px;
  }
}

@media (max-width: 820px) {
  .copyright {
    text-align: center;
    white-space: normal;
  }
}
.site-footer .footer-main {
  width: min(1180px, calc(100% - 64px));
  margin-inline: auto;
}


@media (max-width: 520px) {
  .site-footer .footer-main {
    width: min(100% - 28px, 460px);
  }
}