:root {
  --navy-950: #041123;
  --navy-900: #07162f;
  --navy-800: #0b2143;
  --cyan: #48c8ff;
  --cyan-soft: #a7e9ff;
  --emerald: #32d7a2;
  --mint: #bdf8e4;
  --steel: #d8e4ee;
  --ink: #142235;
  --muted: #64758a;
  --line: rgba(115, 212, 238, 0.22);
  --surface: #ffffff;
  --surface-soft: #f3f8fb;
  --shadow: 0 22px 70px rgba(5, 20, 40, 0.16);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  margin: 0;
  font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, system-ui, sans-serif;
  color: var(--ink);
  background: #f8fbfd;
  letter-spacing: 0;
  overflow-x: hidden;
}

body.modal-open {
  overflow: hidden;
}

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

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

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(18px, 4vw, 56px);
  color: #fff;
  background: rgba(4, 17, 35, 0.76);
  border-bottom: 1px solid rgba(167, 233, 255, 0.18);
  backdrop-filter: blur(16px);
}

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

.brand-logo-wide {
  width: clamp(172px, 18vw, 244px);
  height: auto;
  max-height: 50px;
  object-fit: contain;
  flex: 0 0 auto;
  padding: 7px 10px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.16);
}

.brand-logo-symbol {
  width: 48px;
  height: 52px;
  object-fit: contain;
  flex: 0 0 auto;
}

.brand strong,
.brand small {
  display: block;
  line-height: 1.25;
}

.brand small {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.76rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 0.92rem;
}

.site-nav a,
.language > button {
  color: rgba(255, 255, 255, 0.84);
}

.site-nav a:hover,
.language > button:hover {
  color: #fff;
}

.language {
  position: relative;
}

.language > button,
.menu-toggle {
  font: inherit;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.language-menu {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  display: none;
  min-width: 168px;
  padding: 8px;
  background: rgba(7, 22, 47, 0.96);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.language-menu.is-open {
  display: grid;
}

.language-menu a {
  padding: 10px 12px;
  border-radius: 6px;
}

.language-menu a:hover {
  background: rgba(72, 200, 255, 0.12);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius);
}

.menu-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: #fff;
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: center;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 84% 34%, rgba(50, 215, 162, 0.3), transparent 30%),
    linear-gradient(120deg, var(--navy-950), var(--navy-900) 55%, #062a35);
}

.page-hero {
  position: relative;
  min-height: 520px;
  display: grid;
  align-items: end;
  overflow: hidden;
  padding: 140px clamp(18px, 7vw, 96px) 74px;
  color: #fff;
  background: linear-gradient(135deg, var(--navy-950), var(--navy-900) 58%, #063642);
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 78% 24%, rgba(50, 215, 162, 0.26), transparent 30%),
    radial-gradient(circle at 20% 84%, rgba(72, 200, 255, 0.18), transparent 28%),
    linear-gradient(90deg, rgba(4, 17, 35, 0.8), rgba(4, 17, 35, 0.22));
}

.page-hero-content {
  position: relative;
  z-index: 1;
  max-width: 820px;
}

.page-hero h1 {
  margin: 0;
  font-size: clamp(2.5rem, 6vw, 5rem);
  line-height: 1.05;
}

.page-hero p:not(.eyebrow) {
  max-width: 720px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(1rem, 2vw, 1.2rem);
  line-height: 1.9;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(4, 17, 35, 0.88), rgba(4, 17, 35, 0.48) 45%, rgba(4, 17, 35, 0.1)),
    radial-gradient(circle at 20% 86%, rgba(72, 200, 255, 0.18), transparent 30%);
}

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

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.78;
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(760px, calc(100% - 36px));
  margin-left: clamp(18px, 7vw, 96px);
  padding-top: 88px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--emerald);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  font-size: clamp(2.5rem, 7vw, 5.7rem);
  line-height: 1.05;
  letter-spacing: 0;
}

.hero-lead {
  max-width: 660px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1rem, 2vw, 1.24rem);
  line-height: 1.9;
}

.hero-actions,
.section-head,
.consultation {
  display: flex;
  gap: 14px;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: var(--radius);
  font-weight: 700;
  border: 1px solid transparent;
}

.button.primary {
  color: var(--navy-950);
  background: linear-gradient(135deg, var(--cyan-soft), var(--emerald));
  box-shadow: 0 14px 40px rgba(50, 215, 162, 0.24);
}

.button.secondary {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.08);
}

.section,
.split-section,
.consultation {
  padding: clamp(72px, 9vw, 118px) clamp(18px, 5vw, 72px);
}

.section-head {
  flex-direction: column;
  max-width: 760px;
  margin: 0 auto 42px;
  text-align: center;
}

.section-head h2,
.section-copy h2,
.consultation h2 {
  margin: 0;
  font-size: clamp(1.8rem, 4vw, 3.1rem);
  line-height: 1.2;
}

.section-head p,
.section-copy p,
.consultation p {
  margin: 0;
  color: var(--muted);
  line-height: 1.9;
}

.business {
  background: var(--surface);
}

.brand-statement {
  padding: clamp(58px, 8vw, 92px) clamp(18px, 5vw, 72px);
  background: linear-gradient(180deg, #ffffff, #f2f8fb);
}

.brand-statement-inner {
  width: min(1180px, 100%);
  margin: 0 auto;
  text-align: center;
}

.brand-statement-copy h2 {
  margin: 0;
  font-size: clamp(1.65rem, 3.6vw, 2.8rem);
  line-height: 1.18;
  color: var(--navy-900);
}

.brand-statement-copy p:not(.eyebrow) {
  max-width: 760px;
  margin: 18px 0 0;
  margin-inline: auto;
  color: var(--muted);
  line-height: 1.9;
}

.business-grid,
.works-grid,
.service-grid,
.price-band {
  width: min(1180px, 100%);
  margin: 0 auto;
}

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

.business-card,
.works-grid article {
  padding: 28px;
  border: 1px solid #dbe7ef;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 10px 36px rgba(5, 20, 40, 0.06);
}

.business-card {
  position: relative;
  overflow: hidden;
  text-align: left;
}

.business-icon {
  display: block;
  width: 74px;
  height: 92px;
  object-fit: contain;
  margin: 0 auto 16px;
}

.business-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, var(--cyan), var(--emerald));
}

.card-label {
  color: #0c7da3;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.business-card h3,
.works-grid h3 {
  margin: 12px 0 16px;
  font-size: 1.35rem;
}

.business-card ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.business-card li {
  padding-left: 18px;
  color: #415469;
  position: relative;
}

.business-card li::before {
  content: "";
  position: absolute;
  top: 0.65em;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--emerald);
}

.business-card a {
  color: #08759e;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.business-card h3 a {
  color: inherit;
  text-decoration: none;
}

.business-card h3 a:hover {
  color: #08759e;
}

.business-card .card-link {
  display: inline-flex;
  align-items: center;
  margin-top: 22px;
}

.service-hero {
  position: relative;
  min-height: 620px;
  display: grid;
  align-items: end;
  overflow: hidden;
  background: var(--navy);
  color: #fff;
}

.service-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(4, 17, 35, 0.92), rgba(4, 17, 35, 0.58) 48%, rgba(4, 17, 35, 0.22)),
    radial-gradient(circle at 78% 22%, rgba(72, 200, 255, 0.24), transparent 34%);
  pointer-events: none;
}

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

.service-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.82;
}

.awg-hero .service-hero-media {
  background:
    radial-gradient(circle at 72% 30%, rgba(78, 216, 255, 0.18), transparent 32%),
    linear-gradient(135deg, #041123, #09263e 55%, #0c4c5d);
}

.awg-hero .service-hero-media img {
  object-fit: cover;
  object-position: center center;
  padding: 0;
  opacity: 0.62;
}

.awg-hero .service-hero-content h1,
.awg-hero .service-hero-content p:not(.eyebrow) {
  max-width: 760px;
}

.service-hero-content {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 150px 0 86px;
}

.service-hero-content h1 {
  max-width: 820px;
}

.service-hero-content p:not(.eyebrow) {
  max-width: 740px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.16rem;
  line-height: 1.9;
}

.service-page {
  display: grid;
  gap: 44px;
}

.service-lead {
  width: min(900px, 100%);
  margin: 0 auto;
  text-align: center;
}

.service-lead h2 {
  margin: 10px 0 16px;
  font-size: clamp(2rem, 4vw, 3.2rem);
}

.service-lead p:not(.eyebrow) {
  color: var(--muted);
  line-height: 1.95;
}

.service-detail-grid {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(300px, 1.1fr);
  gap: 28px;
  align-items: stretch;
}

.service-detail-grid article {
  padding: 34px;
  border: 1px solid #dbe7ef;
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(236, 250, 255, 0.9)),
    #fff;
  box-shadow: 0 14px 36px rgba(5, 20, 40, 0.07);
}

.service-detail-grid h3 {
  margin-top: 0;
  font-size: 1.5rem;
}

.service-feature-list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.service-feature-list li {
  position: relative;
  padding-left: 22px;
  color: #415469;
  line-height: 1.65;
}

.service-feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--emerald);
}

.service-photo {
  width: 100%;
  min-height: 360px;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: 0 18px 42px rgba(5, 20, 40, 0.12);
}

.product-photo {
  padding: 28px;
  object-fit: contain;
  background: #f5f9fc;
}

.service-intro-visual {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 0.78fr);
  gap: 34px;
  align-items: center;
}

.service-intro-visual .service-lead {
  width: 100%;
  margin: 0;
  text-align: left;
}

.intro-diagram {
  margin: 0;
  padding: 24px;
  border: 1px solid #dbe7ef;
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(6, 22, 45, 0.98), rgba(8, 74, 92, 0.94)),
    var(--navy);
  box-shadow: 0 16px 38px rgba(5, 20, 40, 0.12);
}

.intro-diagram img {
  width: 100%;
  max-height: 260px;
  object-fit: contain;
}

.intro-diagram figcaption {
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.92rem;
  line-height: 1.6;
}

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

.water-context-grid article {
  padding: 28px;
  border: 1px solid #dbe7ef;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 10px 36px rgba(5, 20, 40, 0.06);
}

.water-context-grid span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  color: #00314a;
  background: linear-gradient(135deg, var(--cyan), var(--emerald));
  font-weight: 900;
}

.water-context-grid h3 {
  margin: 18px 0 10px;
  font-size: 1.3rem;
}

.water-context-grid p,
.water-project-panel p,
.water-models p,
.reference-panel li {
  color: #415469;
  line-height: 1.8;
}

.water-project-panel {
  width: min(1180px, 100%);
  margin: 0 auto;
  padding: 42px;
  border-radius: var(--radius);
  color: #fff;
  background:
    linear-gradient(135deg, rgba(6, 22, 45, 0.94), rgba(7, 75, 93, 0.88)),
    url("/assets/awg-water-bankruptcy-visual.jpeg") center/cover;
  box-shadow: 0 18px 44px rgba(5, 20, 40, 0.18);
}

.water-project-panel h2 {
  margin: 10px 0 14px;
  font-size: clamp(1.9rem, 3vw, 2.8rem);
}

.water-project-panel p {
  color: rgba(255, 255, 255, 0.86);
}

.project-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 28px;
}

.project-points article {
  padding: 24px;
  border: 1px solid rgba(172, 230, 250, 0.28);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(14px);
}

.project-points h3 {
  margin-top: 0;
  color: #fff;
}

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

.awg-gallery figure {
  overflow: hidden;
  margin: 0;
  border: 1px solid #dbe7ef;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 12px 34px rgba(5, 20, 40, 0.07);
}

.awg-gallery img {
  width: 100%;
  height: 190px;
  object-fit: contain;
  background: #f4f8fb;
  padding: 14px;
}

.awg-gallery figcaption {
  padding: 16px 18px;
  color: var(--navy);
  font-weight: 900;
}

.water-models {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.water-models article {
  overflow: hidden;
  border: 1px solid #dbe7ef;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 12px 36px rgba(5, 20, 40, 0.07);
}

.water-models img {
  width: 100%;
  height: 210px;
  object-fit: contain;
  background: #f4f8fb;
  padding: 14px;
}

.water-models div {
  padding: 28px;
}

.water-models h3 {
  margin: 8px 0 10px;
  font-size: 1.4rem;
}

.reference-panel {
  width: min(980px, 100%);
  margin: 0 auto;
  padding: 30px;
  border: 1px solid #dbe7ef;
  border-radius: var(--radius);
  background: #f7fbfd;
}

.reference-panel h2 {
  margin: 8px 0 16px;
  font-size: 1.7rem;
}

.reference-panel ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 20px;
}

.reference-panel a {
  color: #08759e;
  font-weight: 800;
  text-underline-offset: 4px;
}

.service-cta {
  padding: 76px 20px;
  text-align: center;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(6, 22, 45, 0.95), rgba(9, 83, 103, 0.92)),
    var(--navy);
}

.service-cta h2 {
  margin: 10px 0 24px;
  font-size: clamp(1.8rem, 3vw, 2.7rem);
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(300px, 1fr);
  align-items: center;
  gap: clamp(28px, 7vw, 88px);
  background: var(--surface-soft);
}

.split-section.reverse {
  grid-template-columns: minmax(300px, 1fr) minmax(0, 0.92fr);
  background: #fff;
}

.split-section.reverse .section-copy {
  order: 2;
}

.section-copy {
  max-width: 620px;
}

.text-link {
  display: inline-flex;
  margin-top: 24px;
  color: #08759e;
  font-weight: 800;
}

.product-visual-panel {
  min-height: 360px;
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid rgba(72, 200, 255, 0.24);
  background: #07162f;
  box-shadow: var(--shadow);
}

.product-visual-panel img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
}

.tech-panel {
  min-height: 360px;
  padding: 28px;
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(7, 22, 47, 0.92), rgba(5, 60, 71, 0.85)),
    radial-gradient(circle at 80% 20%, rgba(72, 200, 255, 0.28), transparent 30%);
  border: 1px solid rgba(72, 200, 255, 0.24);
  box-shadow: var(--shadow);
  color: #fff;
}

.water-panel {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(7, 22, 47, 0.94), rgba(5, 60, 71, 0.86)),
    url("/assets/hero-water-ai-earth.png") center / cover;
}

.water-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 16%, rgba(72, 200, 255, 0.18), transparent 28%),
    linear-gradient(90deg, rgba(4, 17, 35, 0.78), rgba(4, 17, 35, 0.26));
}

.tech-panel {
  display: grid;
  gap: 16px;
}

.tech-panel > div {
  position: relative;
  z-index: 1;
}

.tech-panel > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 22px;
  border: 1px solid rgba(167, 233, 255, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
}

.tech-panel span {
  color: var(--cyan-soft);
}

.ai-dx {
  color: #fff;
  background:
    linear-gradient(135deg, rgba(4, 17, 35, 0.98), rgba(8, 52, 64, 0.95)),
    radial-gradient(circle at 76% 30%, rgba(50, 215, 162, 0.18), transparent 35%);
}

.ai-dx .section-head p {
  color: rgba(255, 255, 255, 0.76);
}

.consultation-detail {
  background: #fff;
}

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

.consultation-topics span {
  color: var(--ink);
  border-color: #dbe7ef;
  background: linear-gradient(135deg, #fff, #eef9fb);
}

.flow-section {
  background: var(--surface-soft);
}

.flow-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  width: min(1180px, 100%);
  margin: 0 auto;
  padding: 0;
  list-style: none;
}

.flow-list li {
  min-height: 190px;
  padding: 24px;
  border: 1px solid #dbe7ef;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 10px 36px rgba(5, 20, 40, 0.06);
}

.flow-list span {
  color: #0c7da3;
  font-weight: 900;
}

.flow-list strong {
  display: block;
  margin-top: 12px;
  font-size: 1.15rem;
}

.flow-list p {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.7;
}

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

.service-grid span,
.price-band div {
  border: 1px solid rgba(167, 233, 255, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.07);
}

.service-grid span {
  display: grid;
  place-items: center;
  min-height: 72px;
  padding: 12px;
  text-align: center;
  font-weight: 700;
}

.price-band {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin-top: 18px;
}

.price-band div {
  padding: 18px;
}

.price-band strong,
.price-band span {
  display: block;
}

.price-band span {
  margin-top: 8px;
  color: var(--cyan-soft);
  font-size: 1.15rem;
  font-weight: 800;
}

.consultation {
  align-items: center;
  justify-content: space-between;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(7, 22, 47, 0.95), rgba(6, 65, 76, 0.92)),
    radial-gradient(circle at 70% 30%, rgba(72, 200, 255, 0.24), transparent 34%);
}

.consultation > div {
  max-width: 780px;
}

.consultation p {
  color: rgba(255, 255, 255, 0.78);
}

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

.works-grid span {
  color: #0c7da3;
  font-weight: 900;
}

.works-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.card-link {
  display: inline-flex;
  margin-top: 18px;
  color: #08759e;
  font-weight: 800;
}

.company {
  background: var(--surface-soft);
}

.company-list {
  width: min(920px, 100%);
  margin: 0 auto;
  border-top: 1px solid #dce8ef;
}

.company-list div {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 24px;
  padding: 22px 0;
  border-bottom: 1px solid #dce8ef;
}

.company-list dt {
  color: var(--muted);
  font-weight: 800;
}

.company-list dd {
  margin: 0;
  line-height: 1.8;
}

.company-subsections {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 22px;
  width: min(1180px, 100%);
  margin: 42px auto 0;
}

.message-panel,
.history-panel {
  padding: clamp(24px, 4vw, 36px);
  border: 1px solid #dbe7ef;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 10px 36px rgba(5, 20, 40, 0.06);
}

.message-panel h3,
.history-panel h3 {
  margin: 0 0 18px;
  font-size: clamp(1.45rem, 3vw, 2rem);
}

.message-panel p {
  margin: 0;
  color: var(--muted);
  line-height: 1.95;
}

.message-panel p + p {
  margin-top: 16px;
}

.message-panel .signature {
  margin-top: 24px;
  color: var(--ink);
  font-weight: 800;
  text-align: right;
}

.history-list {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.history-list li {
  position: relative;
  display: grid;
  grid-template-columns: 112px 1fr;
  gap: 18px;
  padding: 0 0 18px 20px;
  border-left: 2px solid #cfe5ee;
}

.history-list li:last-child {
  padding-bottom: 0;
}

.history-list li::before {
  content: "";
  position: absolute;
  top: 0.4em;
  left: -6px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--emerald);
  box-shadow: 0 0 0 4px #e7fbf4;
}

.history-list time {
  color: #08759e;
  font-weight: 900;
}

.history-list span {
  color: #415469;
  line-height: 1.75;
}

.contact {
  background: #fff;
}

.contact-form {
  display: grid;
  gap: 18px;
  width: min(920px, 100%);
  margin: 0 auto;
  padding: clamp(22px, 4vw, 38px);
  border: 1px solid #dbe7ef;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  background: #fff;
}

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

label {
  display: grid;
  gap: 8px;
  color: #314258;
  font-weight: 800;
}

label span {
  color: #0c7da3;
}

input,
select,
textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  color: var(--ink);
  font: inherit;
  border: 1px solid #cddbe5;
  border-radius: var(--radius);
  background: #fbfdfe;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  outline: 3px solid rgba(72, 200, 255, 0.25);
  border-color: #159dca;
}

.checkbox {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
}

.checkbox input {
  width: 20px;
  min-height: 20px;
}

.inline-policy-button {
  display: inline;
  padding: 0;
  color: #08759e;
  font: inherit;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 4px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.privacy-modal[hidden] {
  display: none;
}

.privacy-modal {
  position: fixed;
  z-index: 100;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 18px;
}

.privacy-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 17, 35, 0.72);
  backdrop-filter: blur(6px);
}

.privacy-modal-panel {
  position: relative;
  width: min(760px, 100%);
  max-height: min(760px, calc(100vh - 36px));
  overflow: auto;
  padding: clamp(24px, 4vw, 38px);
  border: 1px solid #dbe7ef;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  color: var(--ink);
  font-size: 1.6rem;
  line-height: 1;
  border: 1px solid #dbe7ef;
  border-radius: 50%;
  background: #fff;
  cursor: pointer;
}

.privacy-modal-panel h2 {
  margin: 0 0 18px;
  font-size: clamp(1.7rem, 4vw, 2.4rem);
}

.policy-content {
  color: var(--muted);
  line-height: 1.85;
}

.policy-content h2,
.policy-content h3 {
  margin: 22px 0 8px;
  color: var(--ink);
}

.policy-content p {
  margin: 0;
}

.policy-content p + p {
  margin-top: 12px;
}

.policy-page {
  background: #fff;
}

.policy-content.standalone {
  width: min(900px, 100%);
  margin: 0 auto;
  padding: clamp(24px, 4vw, 40px);
  border: 1px solid #dbe7ef;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

.honeypot {
  position: absolute;
  left: -9999px;
  opacity: 0;
}

.turnstile-wrap {
  min-height: 65px;
}

.submit-button {
  justify-self: start;
}

.form-status {
  min-height: 1.5em;
  margin: 0;
  color: #08759e;
  font-weight: 800;
}

.form-status.error {
  color: #b42318;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px clamp(18px, 5vw, 72px);
  color: #fff;
  background: var(--navy-950);
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.78);
  font-weight: 700;
}

.site-footer p {
  margin: 0;
  color: rgba(255, 255, 255, 0.62);
}

@media (max-width: 980px) {
  .menu-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 14px;
    right: 14px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 16px;
    background: rgba(4, 17, 35, 0.98);
    border: 1px solid var(--line);
    border-radius: var(--radius);
  }

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

  .language-menu {
    position: static;
    margin-top: 10px;
  }

  .business-grid,
  .works-grid,
  .service-grid,
  .price-band,
  .flow-list,
  .brand-statement-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .split-section,
  .split-section.reverse,
  .company-subsections {
    grid-template-columns: 1fr;
  }

  .split-section.reverse .section-copy {
    order: 0;
  }

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

@media (max-width: 640px) {
  html {
    scroll-padding-top: 76px;
  }

  .site-header {
    gap: 10px;
    padding: 12px 16px;
  }

  .brand {
    gap: 9px;
    max-width: calc(100% - 54px);
  }

  .brand strong {
    font-size: 0.88rem;
    line-height: 1.2;
    white-space: nowrap;
  }

  .brand small {
    display: none;
  }

  .brand-logo-wide {
    width: 156px;
    max-height: 44px;
    padding: 6px 8px;
  }

  .brand-logo-symbol {
    width: 38px;
    height: 42px;
  }

  .menu-toggle {
    width: 40px;
    height: 40px;
    padding: 9px;
    flex: 0 0 auto;
  }

  .site-nav {
    left: 10px;
    right: 10px;
    max-height: calc(100vh - 82px);
    overflow: auto;
  }

  .site-nav a,
  .language > button {
    padding: 10px 4px;
    font-size: 1rem;
  }

  .hero {
    min-height: 720px;
    align-items: end;
    padding-bottom: 54px;
  }

  .page-hero {
    min-height: 460px;
    padding: 120px 18px 58px;
  }

  .service-hero {
    min-height: 590px;
  }

  .service-hero-content {
    width: calc(100% - 32px);
    padding: 126px 0 56px;
  }

  .service-hero::after {
    background:
      linear-gradient(180deg, rgba(4, 17, 35, 0.88), rgba(4, 17, 35, 0.72)),
      radial-gradient(circle at 72% 20%, rgba(72, 200, 255, 0.2), transparent 34%);
  }

  .awg-hero .service-hero-media img {
    object-position: center center;
    padding: 0;
  }

  .hero-content {
    margin: 0 auto;
    padding-top: 96px;
  }

  .hero::after {
    background:
      linear-gradient(180deg, rgba(4, 17, 35, 0.9), rgba(4, 17, 35, 0.62)),
      radial-gradient(circle at 70% 20%, rgba(72, 200, 255, 0.18), transparent 32%);
  }

  .hero-bg img {
    object-position: 62% center;
  }

  h1 {
    font-size: 2.45rem;
  }

  .hero-lead {
    margin-top: 18px;
    font-size: 1rem;
    line-height: 1.75;
  }

  .hero-actions {
    gap: 10px;
    margin-top: 24px;
  }

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

  .section,
  .split-section,
  .consultation,
  .brand-statement {
    padding: 58px 16px;
  }

  .section-head {
    gap: 10px;
    margin-bottom: 28px;
  }

  .section-head h2,
  .section-copy h2,
  .consultation h2 {
    font-size: 1.78rem;
  }

  .business-card,
  .works-grid article,
  .message-panel,
  .history-panel,
  .contact-form {
    padding: 22px;
  }

  .business-icon {
    width: 66px;
    height: 82px;
  }

  .tech-panel {
    min-height: 0;
    padding: 18px;
  }

  .product-visual-panel,
  .product-visual-panel img {
    min-height: 240px;
  }

  .business-grid,
  .works-grid,
  .service-grid,
  .service-detail-grid,
  .service-intro-visual,
  .water-context-grid,
  .project-points,
  .awg-gallery,
  .water-models,
  .price-band,
  .flow-list,
  .brand-statement-inner,
  .form-row {
    grid-template-columns: 1fr;
  }

  .service-detail-grid article {
    padding: 24px;
  }

  .water-project-panel,
  .reference-panel {
    padding: 24px;
  }

  .service-photo {
    min-height: 260px;
  }

  .tech-panel > div {
    align-items: flex-start;
    flex-direction: column;
  }

  .company-list div {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 18px 0;
  }

  .history-list li {
    grid-template-columns: 1fr;
    gap: 6px;
    padding-left: 16px;
  }

  input,
  select,
  textarea {
    font-size: 16px;
  }

  .checkbox {
    align-items: flex-start;
  }

  .privacy-modal {
    padding: 10px;
  }

  .privacy-modal-panel {
    max-height: calc(100vh - 20px);
    padding: 24px 18px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    padding: 26px 16px;
  }

  .footer-links {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
    justify-content: flex-start;
  }
}

@media (max-width: 390px) {
  .brand strong {
    max-width: 9.5em;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  h1 {
    font-size: 2.18rem;
  }

  .button {
    padding: 0 16px;
  }
}
