@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;700;800&family=Noto+Sans+Thai:wght@400;500;600;700;800&display=swap");

:root {
  --ink: #17211c;
  --muted: #62706a;
  --line: #dde5e0;
  --soft: #f6fbf8;
  --white: #ffffff;
  --green: #078240;
  --deep-green: #006235;
  --pale-green: #e8f5ee;
  --red: #c9352b;
  --amber: #e3a72a;
  --shadow: 0 14px 36px rgba(12, 74, 39, .12);
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: "Noto Sans Thai", "Noto Sans JP", "Segoe UI", Arial, sans-serif;
  line-height: 1.65;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 20px;
  min-height: 80px;
  padding: 12px clamp(18px, 4vw, 48px);
  background: rgba(255, 255, 255, .97);
  border-top: 5px solid var(--green);
  border-bottom: 1px solid rgba(221, 229, 224, .9);
  box-shadow: 0 8px 30px rgba(6, 80, 42, .07);
  backdrop-filter: blur(14px);
}

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

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: var(--white);
  background: var(--green);
  border-radius: 8px;
  font-weight: 800;
}

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

.brand small {
  color: var(--muted);
  font-size: 12px;
}

.main-nav {
  display: flex;
  justify-content: center;
  gap: 22px;
  font-size: 14px;
  font-weight: 650;
}

.nav-item {
  position: relative;
}

.main-nav a {
  position: relative;
  display: block;
  padding: 10px 0;
  border-bottom: 2px solid transparent;
}

.main-nav a:hover,
.nav-item.is-current > a {
  color: var(--green);
  border-bottom-color: var(--green);
}

.sub-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  display: none;
  min-width: 220px;
  padding: 10px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  transform: translateX(-50%);
}

.sub-menu a {
  padding: 8px 10px;
  border: 0;
  border-radius: 6px;
  white-space: nowrap;
}

.sub-menu a:hover {
  background: var(--pale-green);
  border: 0;
}

.nav-item:hover .sub-menu {
  display: block;
}

.language-switch {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.language-switch button {
  min-width: 38px;
  height: 32px;
  border: 0;
  color: var(--muted);
  background: transparent;
  border-radius: 6px;
  font-weight: 750;
  cursor: pointer;
}

.language-switch button.is-active {
  color: var(--white);
  background: var(--green);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 10px;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 8px;
}

.nav-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--ink);
}

.hero {
  position: relative;
  min-height: clamp(520px, var(--hero-height, 74vh), calc(100svh - 78px));
  overflow: hidden;
  color: var(--white);
  isolation: isolate;
}

.page-hero {
  position: relative;
  display: grid;
  align-items: end;
  min-height: 420px;
  overflow: hidden;
  color: var(--white);
  isolation: isolate;
}

.page-hero img {
  position: absolute;
  inset: 0;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(0, 75, 39, .84), rgba(0, 98, 53, .42), rgba(255, 255, 255, .08));
}

.page-hero > div {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 86px 0 58px;
  text-align: var(--hero-align, left);
}

.page-hero .eyebrow {
  color: #c9f4dc;
}

.page-hero h1 {
  max-width: 760px;
  margin-bottom: 14px;
  font-size: clamp(38px, 6vw, var(--hero-title-size, 64px));
}

.page-hero p:not(.eyebrow) {
  max-width: 760px;
  color: rgba(255, 255, 255, .88);
  font-size: var(--hero-lead-size, 19px);
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
  height: 100%;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--hero-object-x, 50%) var(--hero-object-y, 50%);
}

.hero-overlay {
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, .08), rgba(0, 0, 0, .3)),
    linear-gradient(90deg, rgba(0, 75, 39, .5) 0%, rgba(0, 0, 0, .28) 48%, rgba(0, 0, 0, .1) 100%);
}

.hero-content {
  position: absolute;
  left: var(--hero-x, 50%);
  top: var(--hero-y, 50%);
  transform: translate(-50%, -50%);
  z-index: 2;
  width: min(var(--hero-max-width, 880px), calc(100% - 40px));
  margin: 0;
  padding: 0;
  text-align: var(--hero-align, center);
}

.hero[style*="--hero-align:left"] .hero-content {
  transform: translate(0, -50%);
}

.hero[style*="--hero-align:right"] .hero-content {
  transform: translate(-100%, -50%);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--green);
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #c9f4dc;
}

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

h1 {
  max-width: 900px;
  margin-bottom: 18px;
  font-size: clamp(34px, 6vw, var(--hero-title-size, 84px));
  line-height: 1.02;
}

.hero-content > p:not(.eyebrow) {
  max-width: 760px;
  margin-inline: auto;
  margin-bottom: 28px;
  color: rgba(255, 255, 255, .9);
  font-size: clamp(15px, 2vw, var(--hero-lead-size, 19px));
  line-height: 1.65;
  text-shadow: 0 2px 18px rgba(0, 0, 0, .26);
}

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

.hero[style*="--hero-align:left"] .hero-actions {
  justify-content: flex-start;
}

.hero[style*="--hero-align:right"] .hero-actions {
  justify-content: flex-end;
}

.hero[style*="--hero-align:left"] .hero-content > p:not(.eyebrow) {
  margin-left: 0;
}

.hero[style*="--hero-align:right"] .hero-content > p:not(.eyebrow) {
  margin-right: 0;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 10px 18px;
  border-radius: 8px;
  font-weight: 800;
}

.button.primary {
  color: var(--white);
  background: var(--green);
  box-shadow: 0 10px 28px rgba(7, 130, 64, .26);
}

.button.ghost {
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, .7);
}

.hero-metrics {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto 26px;
  border: 1px solid rgba(255, 255, 255, .4);
  background: rgba(0, 98, 53, .46);
  backdrop-filter: blur(10px);
  border-radius: 8px;
}

.hero-metrics div {
  padding: 18px;
  border-right: 1px solid rgba(255, 255, 255, .24);
}

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

.hero-metrics strong {
  display: block;
  font-size: 26px;
  line-height: 1;
}

.hero-metrics span {
  display: block;
  margin-top: 8px;
  color: rgba(255, 255, 255, .82);
  font-size: 13px;
}

.trust-strip {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  width: min(var(--max), calc(100% - 40px));
  margin: -52px auto 0;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.trust-strip article {
  display: grid;
  gap: 6px;
  min-height: 128px;
  padding: 22px;
  border-right: 1px solid var(--line);
}

.trust-strip article:last-child {
  border-right: 0;
}

.trust-strip span {
  color: var(--green);
  font-size: 12px;
  font-weight: 900;
}

.trust-strip strong {
  font-size: 18px;
  line-height: 1.25;
}

.trust-strip p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.section {
  padding: clamp(54px, 7vw, 92px) clamp(20px, 4vw, 48px);
}

.section-heading,
.about-grid,
.service-list,
.product-grid,
.gallery-grid,
.news-grid,
.career-layout,
.contact-layout,
.strength-grid {
  width: min(var(--max), 100%);
  margin-inline: auto;
}

.section-heading {
  margin-bottom: 34px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.section-heading.inline {
  width: auto;
  margin-bottom: 20px;
}

.section-heading.narrow {
  max-width: 760px;
}

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

h3 {
  margin-bottom: 10px;
  font-size: 22px;
  line-height: 1.25;
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, .82fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
}

.about-copy p {
  color: var(--muted);
  font-size: 18px;
}

.profile-list {
  display: grid;
  gap: 12px;
  margin-top: 26px;
}

.profile-list div {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

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

.feature-photo img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.strengths-section,
.news-section {
  background: linear-gradient(180deg, var(--soft), var(--white));
}

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

.strength-grid article,
.news-grid article,
.career-panel,
.product-grid article {
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 8px;
}

.strength-grid article {
  border-top: 4px solid var(--green);
  padding: 26px;
}

.group-link-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  width: min(var(--max), 100%);
  margin-inline: auto;
}

.group-link-card {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  gap: 20px;
  padding: 18px;
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 4px solid var(--green);
  border-radius: 8px;
}

.group-link-card img {
  height: 150px;
  object-fit: cover;
  border-radius: 8px;
}

.group-link-card span {
  color: var(--red);
  font-size: 12px;
  font-weight: 900;
}

.group-link-card p {
  color: var(--muted);
}

.philosophy-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  width: min(var(--max), 100%);
  margin-inline: auto;
}

.philosophy-grid article {
  min-height: 210px;
  padding: 24px;
  text-align: center;
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 4px solid var(--green);
  border-radius: 8px;
}

.philosophy-icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  margin: 0 auto 14px;
  color: #55b832;
}

.philosophy-icon svg {
  width: 52px;
  height: 52px;
  fill: currentColor;
}

.philosophy-icon img {
  width: 58px;
  height: 58px;
  object-fit: contain;
}

.philosophy-grid span {
  color: var(--red);
  font-weight: 900;
}

.philosophy-grid p {
  color: var(--muted);
}

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

.group-network-section .section-heading p:not(.eyebrow) {
  max-width: 680px;
  color: var(--muted);
}

.network-map {
  position: relative;
  width: min(var(--max), 100%);
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background-color: #eaf4f0;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.map-marker {
  position: absolute;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 0;
  background: transparent;
  transform: translate(-50%, -50%);
  cursor: pointer;
}

.map-marker span {
  width: 14px;
  height: 14px;
  background: var(--marker-color, var(--green));
  border: 3px solid var(--white);
  border-radius: 50%;
  box-shadow: 0 0 0 6px color-mix(in srgb, var(--marker-color, var(--green)) 22%, transparent), 0 6px 18px rgba(0, 0, 0, .22);
}

.map-marker:hover span {
  background: var(--red);
  box-shadow: 0 0 0 8px rgba(201, 53, 43, .2), 0 8px 22px rgba(0, 0, 0, .24);
}

.map-popup {
  position: fixed;
  left: 50%;
  top: 50%;
  z-index: 120;
  display: none;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 18px;
  width: min(720px, calc(100vw - 36px));
  padding: 18px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 24px 70px rgba(4, 31, 17, .28);
  transform: translate(-50%, -50%);
}

.map-popup.is-open {
  display: grid;
}

.map-popup img {
  height: 170px;
  object-fit: cover;
  border-radius: 8px;
}

.map-popup h3 {
  padding-right: 34px;
  color: var(--ink);
}

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

.map-popup-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 8px;
  cursor: pointer;
}

.floating-contact {
  position: fixed;
  right: 22px;
  top: 48%;
  z-index: 90;
  display: grid;
  gap: 10px;
  transform: translateY(-50%);
}

.floating-main,
.floating-item,
.floating-close {
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 8px;
  box-shadow: 0 12px 32px rgba(4, 31, 17, .18);
  cursor: pointer;
}

.floating-main {
  min-width: 70px;
  min-height: 44px;
  padding: 9px 12px;
  color: var(--white);
  background: var(--green);
  border-color: var(--green);
  font-weight: 850;
}

.floating-list {
  display: none;
  gap: 8px;
}

.floating-list.is-open {
  display: grid;
}

.floating-item {
  display: grid;
  grid-template-columns: 30px 1fr;
  align-items: center;
  gap: 8px;
  min-width: 132px;
  padding: 8px 10px;
  text-align: left;
}

.floating-item span {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  color: var(--white);
  background: var(--green);
  border-radius: 8px;
  font-weight: 900;
}

.floating-item strong {
  font-size: 14px;
}

.floating-popup {
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  display: none;
  width: min(320px, calc(100vw - 44px));
  padding: 18px;
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 4px solid var(--green);
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(4, 31, 17, .22);
}

.floating-popup.is-open {
  display: block;
}

.floating-popup h3 {
  padding-right: 34px;
}

.floating-popup p {
  color: var(--muted);
}

.floating-close {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 30px;
  height: 30px;
  box-shadow: none;
}

.strength-grid span,
.service-index {
  color: var(--red);
  font-weight: 900;
}

.strength-grid p,
.service-row p,
.news-grid p,
.career-panel p,
.contact-info p {
  color: var(--muted);
}

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

.service-list {
  display: grid;
  gap: 28px;
}

.service-row {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(320px, .75fr);
  gap: clamp(24px, 5vw, 58px);
  align-items: center;
  min-height: 360px;
  padding: 18px;
  border: 1px solid var(--line);
  border-left: 5px solid var(--green);
  border-radius: 8px;
  background: var(--white);
}

.service-row.reverse {
  grid-template-columns: minmax(320px, .75fr) minmax(0, .95fr);
}

.service-row.reverse img {
  order: 2;
}

.service-row img {
  height: 360px;
  object-fit: cover;
  border-radius: 8px;
}

.service-row > div {
  padding: 10px 0;
}

.service-row h3 {
  font-size: clamp(26px, 3vw, 38px);
}

.text-link {
  display: inline-flex;
  margin-top: 10px;
  color: var(--green);
  font-weight: 850;
  border-bottom: 2px solid var(--green);
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 34px;
  width: min(var(--max), 100%);
  margin-inline: auto;
}

.detail-main {
  padding: 30px;
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 5px solid var(--green);
  border-radius: 8px;
}

.detail-main > p {
  color: var(--muted);
  font-size: 18px;
}

.related-work {
  margin-top: 30px;
}

.video-panel {
  overflow: hidden;
  margin-top: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #000;
}

.video-panel iframe {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
}

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

.related-grid article {
  padding: 18px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.related-grid h4 {
  margin: 0 0 8px;
  font-size: 18px;
}

.related-grid p {
  margin: 0;
  color: var(--muted);
}

.detail-side {
  align-self: start;
  position: sticky;
  top: 104px;
  padding: 18px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.detail-side h3 {
  font-size: 18px;
}

.detail-side a {
  display: block;
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
  font-weight: 750;
}

.detail-side a:last-child {
  border-bottom: 0;
}

.detail-side a.is-active,
.detail-side a:hover {
  color: var(--green);
  background: var(--pale-green);
  border-radius: 6px;
}

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

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

.product-grid article {
  overflow: hidden;
  border-top: 4px solid var(--green);
}

.product-grid img {
  height: 240px;
  object-fit: cover;
}

.product-copy {
  padding: 18px;
}

.product-grid h3 {
  margin: 0;
  font-size: 18px;
}

.product-copy p {
  margin: 10px 0 0;
  color: var(--muted);
}

.product-copy .text-link {
  margin-top: 12px;
}

.empty-state {
  width: min(var(--max), 100%);
  margin-inline: auto;
  padding: 34px;
  color: var(--muted);
  background: var(--white);
  border: 1px dashed #b7c9bf;
  border-radius: 8px;
  text-align: center;
}

.empty-state.rich {
  display: grid;
  justify-items: center;
  gap: 10px;
  padding: 42px 28px;
}

.empty-state.rich h3 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(24px, 3vw, 34px);
}

.empty-state.rich p {
  max-width: 620px;
  margin: 0 0 8px;
  color: var(--muted);
}

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

.gallery-grid button {
  display: block;
  width: 100%;
  padding: 0;
  overflow: hidden;
  border: 0;
  background: var(--pale-green);
  border-radius: 8px;
  cursor: zoom-in;
}

.gallery-grid img {
  aspect-ratio: 4 / 3;
  height: 100%;
  object-fit: cover;
  transition: transform .22s ease;
}

.gallery-grid button:hover img {
  transform: scale(1.04);
}

.news-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border-top: 2px solid var(--green);
  background: var(--white);
}

.news-grid article {
  display: grid;
  grid-template-columns: 140px minmax(160px, 240px) 1fr;
  gap: 22px;
  padding: 22px 4px;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
}

.news-grid article:not(:has(.news-image)) {
  grid-template-columns: 140px 1fr;
}

.news-grid time {
  display: block;
  margin-bottom: 0;
  color: var(--green);
  font-size: 13px;
  font-weight: 850;
}

.news-grid h3 {
  margin-bottom: 5px;
  font-size: 19px;
}

.news-image {
  overflow: hidden;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  cursor: zoom-in;
}

.news-image img {
  width: 100%;
  height: 135px;
  object-fit: cover;
}

.inline-video {
  overflow: hidden;
  margin-top: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #000;
}

.inline-video iframe {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
}

.empty-state {
  display: grid;
  min-height: 220px;
  place-items: center;
  width: min(var(--max), 100%);
  margin-inline: auto;
  border: 1px dashed var(--line);
  border-radius: 8px;
  color: var(--muted);
  background: var(--white);
  font-size: clamp(28px, 5vw, 54px);
  font-weight: 850;
}

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

.career-panel {
  border-top: 4px solid var(--green);
  padding: 26px;
}

.career-feature-grid,
.career-posting-list,
.benefit-grid {
  display: grid;
  gap: 18px;
  width: min(var(--max), 100%);
  margin-inline: auto;
}

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

.career-feature,
.career-posting,
.benefit-card,
.application-form {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.career-feature {
  overflow: hidden;
  display: grid;
  grid-template-rows: 230px 1fr;
}

.career-feature img,
.benefit-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.career-feature > div,
.benefit-card > div {
  padding: 24px;
}

.career-feature span {
  display: block;
  margin-bottom: 8px;
  color: var(--green);
  font-size: 12px;
  font-weight: 900;
}

.career-posting {
  display: grid;
  gap: 20px;
  padding: clamp(22px, 4vw, 34px);
}

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

.posting-meta div {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
}

.posting-meta span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
}

.career-posting ul {
  margin: 8px 0 0;
  padding-left: 20px;
  color: var(--muted);
}

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

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

.benefit-card {
  overflow: hidden;
}

.benefit-card button {
  display: block;
  width: 100%;
  height: 180px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
}

.application-form {
  display: grid;
  gap: 18px;
  width: min(920px, 100%);
  margin-inline: auto;
  padding: clamp(22px, 4vw, 34px);
}

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

.application-grid label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.application-grid label.full {
  grid-column: 1 / -1;
}

.application-grid input,
.application-grid textarea {
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font: inherit;
}

.application-grid textarea {
  min-height: 120px;
  resize: vertical;
}

.empty-state.small {
  min-height: 170px;
  font-size: clamp(20px, 3vw, 34px);
}

.contact-section {
  color: var(--white);
  background: linear-gradient(135deg, var(--deep-green), var(--green));
}

.contact-section.in-page {
  padding-top: clamp(58px, 8vw, 104px);
}

.contact-section .eyebrow {
  color: #9ee6c1;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(360px, 1fr);
  gap: 28px;
}

.contact-info {
  display: grid;
  gap: 20px;
}

.contact-info div {
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, .2);
}

.contact-info span {
  display: block;
  margin-bottom: 7px;
  color: #9ee6c1;
  font-weight: 850;
}

.contact-info p {
  margin-bottom: 8px;
  color: rgba(255, 255, 255, .82);
}

.map-panel iframe {
  width: 100%;
  height: 100%;
  min-height: 520px;
  border: 0;
  border-radius: 8px;
  filter: saturate(.85);
}

.contact-side {
  display: grid;
  gap: 18px;
}

.download-form {
  display: grid;
  gap: 12px;
  padding: 20px;
  color: var(--ink);
  background: var(--white);
  border-radius: 8px;
}

.download-form h3,
.download-form p {
  margin: 0;
}

.download-form label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.download-form input {
  min-height: 42px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font: inherit;
}

.download-form .form-message {
  color: var(--green);
  font-weight: 800;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  padding: 26px clamp(20px, 4vw, 48px);
  color: rgba(255, 255, 255, .76);
  background: #06351f;
}

.site-footer p,
.site-footer strong {
  margin: 0;
}

.site-footer strong {
  display: block;
  color: var(--white);
  font-size: 16px;
}

.site-footer div:last-child {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 14px;
}

.site-footer a {
  color: rgba(255, 255, 255, .82);
  font-size: 13px;
  font-weight: 800;
}

.site-footer a:hover {
  color: var(--white);
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  place-items: center;
  padding: 24px;
  background: rgba(0, 0, 0, .86);
}

.lightbox.is-open {
  display: grid;
}

.lightbox img {
  max-width: min(1180px, 96vw);
  max-height: 86vh;
  width: auto;
  border-radius: 8px;
}

.lightbox-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, .45);
  color: var(--white);
  background: rgba(255, 255, 255, .12);
  border-radius: 8px;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

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

  .nav-toggle {
    display: block;
    justify-self: end;
  }

  .main-nav {
    position: absolute;
    top: 75px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    gap: 0;
    padding: 12px 22px 20px;
    background: var(--white);
    border-bottom: 1px solid var(--line);
  }

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

  .nav-item {
    width: 100%;
  }

  .sub-menu {
    position: static;
    display: block;
    min-width: 0;
    padding: 0 0 4px 14px;
    border: 0;
    box-shadow: none;
    transform: none;
  }

  .trust-strip {
    grid-template-columns: 1fr;
    margin-top: -30px;
  }

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

  .trust-strip article:last-child {
    border-bottom: 0;
  }

  .main-nav a {
    padding: 11px 0;
  }
}

@media (max-width: 880px) {
  .hero {
    display: grid;
    align-items: end;
    min-height: clamp(520px, var(--hero-mobile-height, 72svh), 760px);
  }

  .hero-content {
    position: relative;
    left: auto;
    top: auto;
    transform: none;
    width: min(100% - 40px, 760px);
    margin: auto auto 0;
    padding: 96px 0 52px;
    text-align: center;
  }

  .hero[style*="--hero-align:left"] .hero-content,
  .hero[style*="--hero-align:right"] .hero-content {
    transform: none;
    text-align: center;
  }

  .hero-content h1 {
    margin-inline: auto;
    font-size: clamp(32px, 10vw, 54px);
    line-height: 1.08;
  }

  .hero-content > p:not(.eyebrow) {
    max-width: 34rem;
    margin-inline: auto;
    font-size: clamp(15px, 4vw, 18px);
  }

  .hero-actions,
  .hero[style*="--hero-align:left"] .hero-actions,
  .hero[style*="--hero-align:right"] .hero-actions {
    justify-content: center;
  }

  .hero-metrics,
  .about-grid,
  .service-row,
  .service-row.reverse,
  .product-grid,
  .career-layout,
  .career-feature-grid,
  .posting-meta,
  .benefit-grid,
  .application-grid,
  .contact-layout,
  .strength-grid,
  .group-link-grid,
  .philosophy-grid,
  .detail-layout,
  .related-grid {
    grid-template-columns: 1fr;
  }

  .news-grid article,
  .news-grid article:not(:has(.news-image)) {
    grid-template-columns: 1fr;
  }

  .map-popup {
    grid-template-columns: 1fr;
  }

  .group-link-card {
    grid-template-columns: 1fr;
  }

  .map-popup img {
    height: 210px;
  }

  .detail-side {
    position: static;
  }

  .service-row.reverse img {
    order: 0;
  }

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

  .hero-metrics div {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, .24);
  }

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

  .profile-list div {
    grid-template-columns: 1fr;
    gap: 3px;
  }

  .map-panel iframe {
    min-height: 360px;
  }
}

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

  .brand {
    min-width: 0;
  }

  .language-switch {
    grid-column: 1 / -1;
    width: 100%;
  }

  .language-switch button {
    flex: 1;
  }

  .main-nav {
    top: 122px;
  }

  h1 {
    font-size: 38px;
  }

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

  .hero {
    min-height: clamp(500px, var(--hero-mobile-height, 72svh), 700px);
  }

  .hero-content {
    width: min(100% - 28px, 520px);
    padding-bottom: 36px;
  }

  .hero-content h1 {
    font-size: clamp(30px, 12vw, 46px);
  }

  .service-row img,
  .product-grid img {
    height: 230px;
  }

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

  .site-footer {
    display: block;
  }

  .floating-contact {
    right: 12px;
    top: auto;
    bottom: 14px;
    transform: none;
  }
}
