/*
Theme Name: VENTCLEAN Thailand
Theme URI: https://ventcleanthailand.com/
Author: VENTCLEAN Thailand
Description: เว็บไซต์บริการทำความสะอาดระบบระบายอากาศสำหรับธุรกิจและอุตสาหกรรมในประเทศไทย
Version: 0.2.4
Requires at least: 6.5
Requires PHP: 7.4
Text Domain: ventclean-thailand
*/

:root {
  --ventclean-navy: #0b1f33;
  --ventclean-navy-light: #132840;
  --ventclean-teal: #10b5a5;
  --ventclean-orange: #ff7a1a;
  --ventclean-offwhite: #f6f8fa;
  --ventclean-border: rgba(11, 31, 51, 0.12);
  --ventclean-text-soft: rgba(11, 31, 51, 0.68);
  --ventclean-shadow: 0 20px 60px rgba(11, 31, 51, 0.1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ventclean-navy);
  background: #fff;
  font-family: "Noto Sans Thai", Tahoma, Arial, sans-serif;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Static, crawlable homepage content shown before the React application starts. */
.ventclean-fallback {
  min-height: 100vh;
  background: #fff;
}

.ventclean-fallback__header {
  position: absolute;
  z-index: 2;
  inset: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1180px;
  margin: 0 auto;
  padding: 18px 24px;
}

.ventclean-fallback__actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.ventclean-fallback__brand,
.site-brand {
  color: #fff;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.ventclean-fallback__brand span,
.site-brand span {
  color: var(--ventclean-teal);
}

.ventclean-fallback__cta,
.ventclean-fallback__button,
.button-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 20px;
  border-radius: 6px;
  color: #fff;
  background: var(--ventclean-orange);
  font-weight: 700;
  text-decoration: none;
}

.ventclean-fallback__hero {
  display: flex;
  min-height: 76vh;
  align-items: center;
  padding: 120px 24px 80px;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(11, 31, 51, 0.98), rgba(11, 31, 51, 0.84)),
    url("images/photo-1774977863604-59f4e6d37a90.webp") center/cover;
}

.ventclean-fallback__inner {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
}

.ventclean-fallback__hero h1 {
  max-width: 860px;
  margin: 12px 0 20px;
  color: #fff;
  font-size: clamp(38px, 6vw, 70px);
  line-height: 1.2;
}

.ventclean-fallback__hero p:not(.ventclean-fallback__eyebrow) {
  max-width: 720px;
  margin: 0 0 28px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 18px;
}

.ventclean-fallback__eyebrow,
.content-eyebrow {
  margin: 0 0 10px;
  color: var(--ventclean-teal);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.ventclean-fallback__section,
.ventclean-fallback__contact {
  padding: 84px 24px;
}

.ventclean-fallback__section--muted {
  background: var(--ventclean-offwhite);
}

.ventclean-fallback__section h2,
.ventclean-fallback__contact h2 {
  margin: 0 0 22px;
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.3;
}

.ventclean-fallback__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 34px;
}

.ventclean-fallback__grid article {
  padding: 28px;
  border: 1px solid var(--ventclean-border);
  border-radius: 14px;
  background: var(--ventclean-offwhite);
}

.ventclean-fallback__grid h3 {
  margin: 0 0 10px;
}

.ventclean-fallback__grid p,
.ventclean-fallback__section p {
  color: var(--ventclean-text-soft);
}

.ventclean-fallback__contact {
  color: #fff;
  background: var(--ventclean-navy);
}

.ventclean-fallback__contact h2 {
  color: #fff;
}

.ventclean-fallback__contact p:not(.ventclean-fallback__eyebrow) {
  color: rgba(255, 255, 255, 0.68);
}

.ventclean-fallback__contact a {
  color: #fff;
  text-underline-offset: 3px;
}

.ventclean-noscript {
  margin: 0;
  padding: 10px 24px;
  color: #fff;
  background: var(--ventclean-navy-light);
  text-align: center;
}

/* Content templates */
.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  color: #fff;
  background: rgba(11, 31, 51, 0.98);
  box-shadow: 0 10px 30px rgba(7, 21, 37, 0.18);
}

.admin-bar .site-header {
  top: 32px;
}

.site-header__inner,
.site-footer__inner {
  display: flex;
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.site-header__inner {
  min-height: 72px;
}

.site-nav__list {
  display: flex;
  margin: 0;
  padding: 0;
  align-items: center;
  gap: 6px;
  list-style: none;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 10px;
}

.site-nav__language:empty {
  display: none;
}

.site-nav a {
  display: block;
  padding: 8px 13px;
  border-radius: 6px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

.language-switcher {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  justify-content: center;
  padding: 6px 12px !important;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px !important;
  color: #fff !important;
  font-weight: 700 !important;
  line-height: 1;
  text-decoration: none;
}

.language-switcher:hover,
.language-switcher:focus-visible {
  border-color: rgba(255, 255, 255, 0.62);
  background: rgba(255, 255, 255, 0.1);
}

.site-content {
  min-height: 62vh;
  padding: 78px 0 100px;
  background: #fff;
}

.content-shell {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.content-shell--article {
  width: min(820px, calc(100% - 40px));
}

.content-shell--narrow {
  width: min(660px, calc(100% - 40px));
}

.archive-header,
.entry-header {
  margin-bottom: 44px;
}

.archive-header h1,
.entry-header h1,
.empty-state h1 {
  max-width: 900px;
  margin: 0;
  font-size: clamp(36px, 5vw, 58px);
  line-height: 1.25;
  letter-spacing: -0.03em;
}

html[lang="ja"] .entry-header h1 {
  font-size: clamp(34px, 4.4vw, 48px);
  line-height: 1.2;
}

.archive-description,
.entry-meta {
  margin-top: 18px;
  color: var(--ventclean-text-soft);
}

.breadcrumbs {
  display: flex;
  margin-bottom: 32px;
  align-items: center;
  gap: 8px;
  color: var(--ventclean-text-soft);
  font-size: 13px;
}

.breadcrumbs a {
  color: var(--ventclean-teal);
  text-decoration: none;
}

.entry-hero {
  margin: 0 0 42px;
}

.entry-hero img {
  display: block;
  width: 100%;
  border-radius: 16px;
  box-shadow: var(--ventclean-shadow);
}

.entry-content {
  color: rgba(11, 31, 51, 0.84);
  font-size: 17px;
  line-height: 1.95;
}

.entry-content > *:first-child {
  margin-top: 0;
}

.entry-content h2,
.entry-content h3,
.entry-content h4 {
  color: var(--ventclean-navy);
  line-height: 1.4;
}

.entry-content h2 {
  margin: 64px 0 20px;
  padding-top: 10px;
  font-size: clamp(28px, 4vw, 38px);
}

.entry-content h3 {
  margin: 40px 0 14px;
  font-size: 23px;
}

.entry-content a {
  color: #087f75;
  text-underline-offset: 3px;
}

.entry-content blockquote {
  margin: 34px 0;
  padding: 20px 24px;
  border-left: 4px solid var(--ventclean-teal);
  background: #eaf8f6;
}

.entry-content table {
  display: block;
  width: 100%;
  margin: 30px 0;
  overflow-x: auto;
  border-collapse: collapse;
}

.entry-content th,
.entry-content td {
  min-width: 150px;
  padding: 13px 15px;
  border: 1px solid var(--ventclean-border);
  text-align: left;
  vertical-align: top;
}

.entry-content th {
  color: var(--ventclean-navy);
  background: var(--ventclean-offwhite);
}

.entry-content code {
  padding: 2px 5px;
  border-radius: 4px;
  background: var(--ventclean-offwhite);
}

.post-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.post-card {
  overflow: hidden;
  border: 1px solid var(--ventclean-border);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(11, 31, 51, 0.05);
}

.post-card__image {
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--ventclean-navy);
}

.post-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.post-card:hover .post-card__image img {
  transform: scale(1.03);
}

.post-card__body {
  padding: 24px;
}

.post-card__date {
  margin: 0 0 8px;
  color: var(--ventclean-text-soft);
  font-size: 12px;
}

.post-card h2 {
  margin: 0 0 12px;
  font-size: 21px;
  line-height: 1.5;
}

.post-card h2 a,
.text-link {
  color: var(--ventclean-navy);
  text-decoration: none;
}

.post-card__excerpt {
  color: var(--ventclean-text-soft);
  font-size: 14px;
}

.text-link {
  display: inline-block;
  margin-top: 10px;
  color: #087f75;
  font-weight: 700;
}

.navigation.pagination {
  margin-top: 50px;
}

.nav-links {
  display: flex;
  gap: 8px;
}

.page-numbers {
  display: inline-flex;
  min-width: 42px;
  min-height: 42px;
  padding: 8px 12px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--ventclean-border);
  border-radius: 6px;
  color: var(--ventclean-navy);
  text-decoration: none;
}

.page-numbers.current {
  color: #fff;
  background: var(--ventclean-navy);
}

.empty-state {
  padding: 50px 0;
  text-align: center;
}

.empty-state p {
  color: var(--ventclean-text-soft);
}

.site-footer {
  padding: 58px 0 0;
  color: rgba(255, 255, 255, 0.56);
  background: #071525;
}

.site-footer__inner {
  align-items: flex-start;
}

.site-footer__inner p {
  max-width: 470px;
}

.site-brand--footer {
  display: inline-block;
  margin-bottom: 8px;
}

.site-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.site-footer__links a {
  color: rgba(255, 255, 255, 0.62);
  font-size: 14px;
  text-decoration: none;
}

.site-footer__bottom {
  width: min(1120px, calc(100% - 40px));
  margin: 42px auto 0;
  padding: 22px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.34);
  font-size: 12px;
}

@media (max-width: 900px) {
  .ventclean-fallback__grid,
  .post-grid {
    grid-template-columns: 1fr;
  }

  .post-card {
    max-width: 640px;
  }
}

@media (max-width: 782px) {
  .admin-bar .site-header {
    top: 46px;
  }
}

@media (max-width: 680px) {
  .ventclean-fallback__header {
    padding: 16px;
  }

  .ventclean-fallback__cta {
    padding: 8px 12px;
    font-size: 12px;
  }

  .ventclean-fallback__hero,
  .ventclean-fallback__section,
  .ventclean-fallback__contact {
    padding-right: 20px;
    padding-left: 20px;
  }

  .ventclean-fallback__grid article {
    padding: 22px;
  }

  .site-header__inner {
    min-height: 64px;
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
    padding: 12px 0;
  }

  .site-nav__list {
    flex-wrap: wrap;
  }

  .site-nav a {
    padding: 5px 10px 5px 0;
  }

  .site-content {
    padding: 54px 0 72px;
  }

  .content-shell,
  .content-shell--article,
  .content-shell--narrow {
    width: min(100% - 32px, 820px);
  }

  .entry-content {
    font-size: 16px;
  }

  .site-footer__inner {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* Japanese landing pages */
.jp-landing {
  --jp-ink: #10243a;
  --jp-navy: #0b1f33;
  --jp-teal: #4fb3a5;
  --jp-mint: #dff5f0;
  --jp-line: #dce5e9;
  --jp-soft: #eef4f5;
  color: var(--jp-ink);
  background: #fff;
}

.jp-landing *,
.jp-landing *::before,
.jp-landing *::after {
  box-sizing: border-box;
}

.jp-shell {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.jp-hero {
  position: relative;
  overflow: hidden;
  padding: 88px 0 78px;
  color: #fff;
  background:
    radial-gradient(circle at 18% 16%, rgba(79, 179, 165, 0.17), transparent 33%),
    linear-gradient(125deg, #07192a 0%, #0c263d 62%, #102f47 100%);
}

.jp-hero::after {
  position: absolute;
  right: -80px;
  bottom: -190px;
  width: 460px;
  height: 460px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  box-shadow: 0 0 0 80px rgba(255, 255, 255, 0.025), 0 0 0 160px rgba(255, 255, 255, 0.018);
  content: "";
}

.jp-hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  align-items: center;
  grid-template-columns: minmax(0, 0.94fr) minmax(430px, 1.06fr);
  gap: 68px;
}

.jp-eyebrow,
.jp-kicker {
  margin: 0 0 20px;
  color: var(--jp-teal);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.jp-eyebrow {
  display: flex;
  align-items: center;
  color: #9ddcd3;
}

.jp-eyebrow span {
  width: 34px;
  height: 2px;
  margin-right: 12px;
  background: var(--jp-teal);
}

.jp-hero h1,
.jp-hub-hero h1 {
  max-width: none;
  margin: 0;
  color: #fff;
  font-size: clamp(45px, 5.2vw, 73px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.045em;
}

.jp-hero h1 {
  font-size: clamp(44px, 4.3vw, 60px);
}

.jp-hero h1 em,
.jp-hub-hero h1 em {
  color: #7fd0c4;
  font-style: normal;
}

.jp-hero h1 em {
  white-space: nowrap;
}

.jp-hub-hero h1 em {
  white-space: nowrap;
}

.jp-break-mobile {
  display: none;
}

.jp-hero__lead {
  max-width: 650px;
  margin: 29px 0 0;
  color: rgba(255, 255, 255, 0.73);
  font-size: 17px;
  line-height: 1.95;
}

.jp-actions {
  display: flex;
  margin-top: 34px;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.jp-button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: 13px 22px;
  border: 1px solid transparent;
  border-radius: 5px;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.jp-button:hover,
.jp-button:focus-visible {
  transform: translateY(-2px);
}

.jp-button--primary {
  color: #081b2b;
  background: #6dcabc;
}

.jp-button--primary:hover,
.jp-button--primary:focus-visible {
  background: #8bdbd0;
}

.jp-button--ghost {
  border-color: rgba(255, 255, 255, 0.3);
  color: #fff;
  background: rgba(255, 255, 255, 0.035);
}

.jp-button--ghost:hover,
.jp-button--ghost:focus-visible {
  border-color: rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.09);
}

.jp-button--light {
  color: var(--jp-navy);
  background: #fff;
}

.jp-hero__checks {
  display: flex;
  margin: 34px 0 0;
  padding: 0;
  flex-wrap: wrap;
  gap: 17px;
  color: rgba(255, 255, 255, 0.67);
  font-size: 12px;
  list-style: none;
}

.jp-hero__checks li {
  position: relative;
  padding-left: 15px;
}

.jp-hero__checks li::before {
  position: absolute;
  top: 0.82em;
  left: 0;
  width: 7px;
  height: 1px;
  background: var(--jp-teal);
  content: "";
}

.jp-hero__visual {
  position: relative;
  margin: 0;
}

.jp-hero__visual::before {
  position: absolute;
  top: -16px;
  right: -16px;
  width: 44%;
  height: 54%;
  border-top: 1px solid rgba(127, 208, 196, 0.65);
  border-right: 1px solid rgba(127, 208, 196, 0.65);
  content: "";
}

.jp-hero__visual img {
  display: block;
  width: 100%;
  height: 530px;
  object-fit: cover;
  filter: saturate(0.78) contrast(1.04);
}

.jp-hero__visual figcaption,
.jp-hub-hero figcaption {
  margin-top: 9px;
  color: rgba(255, 255, 255, 0.45);
  font-size: 10px;
  line-height: 1.5;
}

.jp-hero__panel {
  position: absolute;
  bottom: 46px;
  left: -34px;
  width: min(330px, 72%);
  padding: 21px 24px;
  color: #fff;
  background: rgba(7, 25, 42, 0.94);
  box-shadow: 0 18px 50px rgba(1, 11, 20, 0.38);
  backdrop-filter: blur(10px);
}

.jp-hero__panel-label {
  display: block;
  margin-bottom: 8px;
  color: #7fd0c4;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.jp-hero__panel strong {
  display: block;
  font-size: 20px;
}

.jp-hero__panel p {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 12px;
  line-height: 1.65;
}

.jp-section {
  padding: 108px 0;
}

.jp-section-heading {
  margin-bottom: 48px;
}

.jp-section-heading h2,
.jp-planning__copy h2,
.jp-reporting h2,
.jp-compare-section h2 {
  margin: 0;
  color: var(--jp-ink);
  font-size: clamp(35px, 4vw, 54px);
  line-height: 1.2;
  letter-spacing: -0.035em;
}

.jp-section-heading > p,
.jp-planning__copy > p,
.jp-reporting__grid > div:first-child > p:last-child,
.jp-compare-grid > div:first-child > p:last-child {
  color: #5e6e7c;
  font-size: 15px;
  line-height: 1.9;
}

.jp-section-heading--split {
  display: grid;
  align-items: end;
  grid-template-columns: 1.04fr 0.96fr;
  gap: 80px;
}

.jp-section-heading--split > p {
  margin: 0 0 4px;
}

.jp-section-heading--center {
  max-width: 760px;
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.jp-section-heading--center > p:last-child {
  margin-top: 18px;
}

.jp-service-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px;
}

.jp-service-card {
  overflow: hidden;
  border: 1px solid var(--jp-line);
  background: #fff;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.jp-service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 22px 50px rgba(20, 48, 70, 0.12);
}

.jp-service-card__image,
.jp-hub-card__image {
  position: relative;
  display: block;
  overflow: hidden;
  background: #0b1f33;
}

.jp-service-card__image img {
  display: block;
  width: 100%;
  height: 270px;
  object-fit: cover;
  transition: transform 420ms ease;
}

.jp-service-card:hover .jp-service-card__image img,
.jp-hub-card:hover .jp-hub-card__image img {
  transform: scale(1.035);
}

.jp-service-card__image span,
.jp-hub-card__image span {
  position: absolute;
  right: 18px;
  bottom: 15px;
  color: #fff;
  font-size: 42px;
  font-weight: 300;
  line-height: 1;
  text-shadow: 0 2px 15px rgba(0, 0, 0, 0.36);
}

.jp-service-card__body {
  padding: 29px 30px 32px;
}

.jp-service-card h3 {
  margin: 0;
  color: var(--jp-ink);
  font-size: 23px;
  line-height: 1.4;
}

.jp-service-card p {
  margin: 14px 0 23px;
  color: #63717e;
  font-size: 14px;
  line-height: 1.85;
}

.jp-text-link {
  display: inline-flex;
  align-items: center;
  padding-bottom: 3px;
  border-bottom: 1px solid rgba(36, 125, 115, 0.32);
  color: #247d73;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

.jp-text-link:hover,
.jp-text-link:focus-visible {
  border-bottom-color: #247d73;
}

.jp-image-note {
  margin: 18px 0 0;
  color: #8a979f;
  font-size: 10px;
  text-align: right;
}

.jp-planning {
  background: var(--jp-soft);
}

.jp-planning__grid {
  display: grid;
  align-items: center;
  grid-template-columns: 1.04fr 0.96fr;
  gap: 82px;
}

.jp-planning__visual {
  position: relative;
  margin: 0;
}

.jp-planning__visual img {
  display: block;
  width: 100%;
  min-height: 540px;
  object-fit: cover;
}

.jp-planning__metric {
  position: absolute;
  right: -26px;
  bottom: 36px;
  display: flex;
  min-width: 220px;
  padding: 22px;
  align-items: center;
  gap: 17px;
  color: #fff;
  background: var(--jp-navy);
  box-shadow: 0 20px 45px rgba(10, 30, 48, 0.2);
}

.jp-planning__metric strong {
  color: #7fd0c4;
  font-size: 27px;
}

.jp-planning__metric span {
  font-size: 11px;
  line-height: 1.5;
}

.jp-planning__copy > p:not(.jp-kicker) {
  margin: 23px 0 0;
}

.jp-feature-list {
  display: grid;
  margin-top: 30px;
  gap: 0;
}

.jp-feature-list > div {
  display: grid;
  padding: 19px 0;
  border-top: 1px solid #d5e0e3;
  grid-template-columns: 46px 1fr;
  gap: 12px;
}

.jp-feature-list > div:last-child {
  border-bottom: 1px solid #d5e0e3;
}

.jp-feature-list span {
  color: #35998c;
  font-size: 11px;
  font-weight: 800;
}

.jp-feature-list p {
  margin: 0;
  color: #65737e;
  font-size: 13px;
  line-height: 1.7;
}

.jp-feature-list strong {
  display: block;
  margin-bottom: 4px;
  color: var(--jp-ink);
  font-size: 15px;
}

.jp-process {
  background: #fff;
}

.jp-process-grid {
  display: grid;
  margin: 0;
  padding: 0;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  list-style: none;
}

.jp-process-grid li {
  position: relative;
  min-height: 245px;
  padding: 30px 27px;
  border-top: 3px solid var(--jp-teal);
  border-right: 1px solid var(--jp-line);
  background: #f8fbfb;
}

.jp-process-grid li:last-child {
  border-right: 0;
}

.jp-process-grid span {
  display: block;
  margin-bottom: 42px;
  color: #45a89b;
  font-size: 13px;
  font-weight: 800;
}

.jp-process-grid strong {
  display: block;
  color: var(--jp-ink);
  font-size: 18px;
}

.jp-process-grid p {
  margin: 12px 0 0;
  color: #697781;
  font-size: 13px;
  line-height: 1.75;
}

.jp-reporting {
  color: #fff;
  background: var(--jp-navy);
}

.jp-reporting__grid {
  display: grid;
  align-items: start;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 86px;
}

.jp-reporting h2,
.jp-reporting__grid > div:first-child > p:last-child {
  color: #fff;
}

.jp-reporting__grid > div:first-child > p:last-child {
  color: rgba(255, 255, 255, 0.62);
}

.jp-report-cards {
  display: grid;
  gap: 10px;
}

.jp-report-cards > div {
  display: grid;
  padding: 23px 25px;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.12);
  grid-template-columns: 78px 170px 1fr;
  background: rgba(255, 255, 255, 0.035);
}

.jp-report-cards span {
  color: #7fd0c4;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.jp-report-cards strong {
  font-size: 15px;
}

.jp-report-cards p {
  margin: 0;
  color: rgba(255, 255, 255, 0.58);
  font-size: 12px;
  line-height: 1.6;
}

.jp-cta-section {
  padding: 80px 0;
  background: #dff5f0;
}

.jp-cta-panel {
  display: grid;
  padding: 49px 54px;
  align-items: center;
  grid-template-columns: 1fr auto;
  gap: 60px;
  color: #fff;
  background: linear-gradient(120deg, #12334d, #0a2237);
  box-shadow: 0 22px 50px rgba(15, 48, 71, 0.16);
}

.jp-cta-panel .jp-kicker {
  margin-bottom: 11px;
}

.jp-cta-panel h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.25;
}

.jp-cta-panel p:not(.jp-kicker) {
  max-width: 680px;
  margin: 13px 0 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 14px;
  line-height: 1.7;
}

.jp-cta-panel .jp-actions {
  align-items: flex-start;
  flex-direction: column;
  margin-top: 0;
}

.jp-mail-link {
  color: rgba(255, 255, 255, 0.67);
  font-size: 12px;
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* Japanese services hub */
.jp-hub-hero {
  padding: 70px 0 82px;
  color: #fff;
  background: linear-gradient(120deg, #091d30, #113650);
}

.jp-hub-hero__grid {
  display: grid;
  align-items: center;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 70px;
}

.jp-mini-breadcrumb {
  display: flex;
  margin-bottom: 46px;
  gap: 12px;
  color: rgba(255, 255, 255, 0.48);
  font-size: 11px;
}

.jp-mini-breadcrumb a {
  color: #86d3c8;
  text-decoration: none;
}

.jp-hub-hero h1 {
  font-size: clamp(42px, 4.5vw, 64px);
}

.jp-hub-hero__grid > div > p:not(.jp-eyebrow) {
  margin: 25px 0 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 15px;
  line-height: 1.9;
}

.jp-hub-hero figure {
  margin: 0;
}

.jp-hub-hero figure img {
  display: block;
  width: 100%;
  height: 470px;
  object-fit: cover;
}

.jp-hub-list {
  background: #fff;
}

.jp-hub-card-grid {
  display: grid;
  gap: 30px;
}

.jp-hub-card {
  display: grid;
  overflow: hidden;
  border: 1px solid var(--jp-line);
  grid-template-columns: 42% 58%;
  background: #fff;
  transition: box-shadow 180ms ease, transform 180ms ease;
}

.jp-hub-card:nth-child(even) {
  grid-template-columns: 58% 42%;
}

.jp-hub-card:nth-child(even) .jp-hub-card__image {
  order: 2;
}

.jp-hub-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 52px rgba(20, 48, 70, 0.1);
}

.jp-hub-card__image img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 390px;
  object-fit: cover;
  transition: transform 420ms ease;
}

.jp-hub-card__content {
  padding: 43px 48px;
}

.jp-hub-card__tag {
  margin: 0 0 12px !important;
  color: #388f84 !important;
  font-size: 10px !important;
  font-weight: 800;
  letter-spacing: 0.15em;
}

.jp-hub-card h2 {
  margin: 0;
  color: var(--jp-ink);
  font-size: 28px;
  line-height: 1.35;
}

.jp-hub-card__content > p:not(.jp-hub-card__tag) {
  margin: 15px 0 18px;
  color: #63717e;
  font-size: 14px;
  line-height: 1.8;
}

.jp-hub-card ul {
  display: grid;
  margin: 0 0 25px;
  padding: 0;
  grid-template-columns: repeat(3, 1fr);
  gap: 5px;
  list-style: none;
}

.jp-hub-card li {
  padding: 8px 10px;
  color: #52636f;
  background: #edf4f4;
  font-size: 10px;
  text-align: center;
}

.jp-scope-section {
  background: var(--jp-soft);
}

.jp-scope-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.jp-scope-card {
  min-height: 255px;
  padding: 30px 27px;
  border: 1px solid #d9e4e7;
  background: #fff;
}

.jp-scope-card--dark {
  color: #fff;
  border-color: var(--jp-navy);
  background: var(--jp-navy);
}

.jp-scope-card span {
  display: block;
  margin-bottom: 52px;
  color: #3a9d91;
  font-size: 12px;
  font-weight: 800;
}

.jp-scope-card h3 {
  margin: 0;
  color: inherit;
  font-size: 19px;
}

.jp-scope-card p {
  margin: 13px 0 0;
  color: #667681;
  font-size: 12px;
  line-height: 1.75;
}

.jp-scope-card--dark p {
  color: rgba(255, 255, 255, 0.62);
}

.jp-compare-section {
  background: #fff;
}

.jp-compare-grid {
  display: grid;
  align-items: start;
  grid-template-columns: 0.78fr 1.22fr;
  gap: 86px;
}

.jp-compare-list {
  border-top: 1px solid var(--jp-line);
}

.jp-compare-list > div {
  display: grid;
  padding: 25px 4px;
  border-bottom: 1px solid var(--jp-line);
  grid-template-columns: 200px 1fr;
  gap: 25px;
}

.jp-compare-list strong {
  color: var(--jp-ink);
  font-size: 14px;
}

.jp-compare-list p {
  margin: 0;
  color: #63717e;
  font-size: 13px;
  line-height: 1.7;
}

/* Japanese individual service pages */
.th-service-detail {
  font-family: "Noto Sans Thai", Tahoma, Arial, sans-serif;
}

.th-service-detail .jp-detail-hero__copy h1 {
  font-size: clamp(42px, 4.2vw, 62px);
  line-height: 1.22;
  letter-spacing: -0.035em;
}

.th-service-detail .jp-detail-hero__lead {
  font-size: 17px;
  line-height: 1.85;
}

.th-service-detail .jp-detail-hero__scope li {
  font-size: 12px;
}

.th-service-detail .jp-detail-content {
  font-size: 17px;
  line-height: 1.9;
}

.th-service-detail .jp-detail-content h2 {
  font-size: clamp(31px, 3.3vw, 42px);
  line-height: 1.35;
}

.th-service-detail .jp-detail-content h3 {
  font-size: 24px;
}

.th-service-detail .jp-detail-content li,
.th-service-detail .jp-detail-content table {
  font-size: 14px;
}

.th-service-detail .jp-detail-sidebar li,
.th-service-detail .jp-detail-sidebar > p:not(.jp-kicker) {
  font-size: 13px;
}

.jp-detail-hero {
  padding: 62px 0 82px;
  color: #fff;
  background:
    radial-gradient(circle at 12% 10%, rgba(79, 179, 165, 0.12), transparent 34%),
    linear-gradient(120deg, #071a2b, #11364f);
}

.jp-detail-hero__grid {
  display: grid;
  align-items: center;
  grid-template-columns: minmax(0, 0.93fr) minmax(0, 1.07fr);
  gap: 70px;
}

.jp-detail-hero__copy h1 {
  max-width: 720px;
  margin: 22px 0 0;
  color: #fff;
  font-size: clamp(42px, 4.6vw, 67px);
  line-height: 1.18;
  letter-spacing: -0.045em;
}

.jp-detail-hero__lead {
  max-width: 680px;
  margin: 25px 0 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 16px;
  line-height: 1.95;
}

.jp-detail-hero__scope {
  display: grid;
  margin: 28px 0 0;
  padding: 0;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
  list-style: none;
}

.jp-detail-hero__scope li {
  padding: 10px 11px;
  border-top: 1px solid rgba(127, 208, 196, 0.45);
  color: rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.035);
  font-size: 10px;
  line-height: 1.55;
  text-align: center;
}

.jp-detail-hero__visual {
  position: relative;
  margin: 0;
}

.jp-detail-hero__visual::before {
  position: absolute;
  top: -14px;
  right: -14px;
  width: 42%;
  height: 46%;
  border-top: 1px solid rgba(127, 208, 196, 0.58);
  border-right: 1px solid rgba(127, 208, 196, 0.58);
  content: "";
}

.jp-detail-hero__visual img {
  display: block;
  width: 100%;
  height: 540px;
  object-fit: cover;
  filter: saturate(0.82) contrast(1.04);
}

.jp-detail-hero__visual figcaption {
  margin-top: 9px;
  color: rgba(255, 255, 255, 0.44);
  font-size: 10px;
  line-height: 1.5;
}

.jp-detail-hero__number {
  position: absolute;
  right: 0;
  bottom: 30px;
  min-width: 112px;
  padding: 20px 22px;
  color: #fff;
  background: rgba(8, 27, 44, 0.92);
  font-size: 37px;
  font-weight: 300;
  line-height: 1;
  text-align: center;
  backdrop-filter: blur(8px);
}

.jp-detail-section {
  padding: 108px 0 118px;
  background: #fff;
}

.jp-detail-layout {
  display: grid;
  align-items: start;
  grid-template-columns: minmax(0, 1fr) 294px;
  gap: 86px;
}

.jp-detail-content {
  min-width: 0;
  color: #50606c;
  font-size: 16px;
  line-height: 1.95;
}

.jp-detail-content > *:first-child {
  margin-top: 0;
}

.jp-detail-content h2 {
  margin: 78px 0 24px;
  padding-top: 22px;
  border-top: 1px solid #cfdcdf;
  color: var(--jp-ink);
  font-size: clamp(30px, 3.5vw, 43px);
  line-height: 1.35;
  letter-spacing: -0.03em;
}

.jp-detail-content h2:first-child {
  margin-top: 0;
}

.jp-detail-content h3 {
  margin: 48px 0 17px;
  color: var(--jp-ink);
  font-size: 23px;
  line-height: 1.45;
}

.jp-detail-content h4 {
  margin: 34px 0 13px;
  color: var(--jp-ink);
  font-size: 18px;
  line-height: 1.5;
}

.jp-detail-content p {
  margin: 0 0 21px;
}

.jp-detail-content a {
  color: #247d73;
  text-underline-offset: 3px;
}

.jp-detail-content ul,
.jp-detail-content ol {
  display: grid;
  margin: 25px 0 34px;
  padding: 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  list-style: none;
  background: #dce7e9;
}

.jp-detail-content li {
  position: relative;
  padding: 17px 18px 17px 31px;
  color: #475965;
  background: #f1f6f6;
  font-size: 13px;
  line-height: 1.7;
}

.jp-detail-content li::before {
  position: absolute;
  top: 1.45em;
  left: 17px;
  width: 6px;
  height: 1px;
  background: #3b9d90;
  content: "";
}

.jp-detail-content figure {
  margin: 52px 0;
}

.jp-detail-content figure img,
.jp-detail-content > img {
  display: block;
  width: 100%;
  max-height: 570px;
  object-fit: cover;
}

.jp-detail-content figcaption {
  margin-top: 9px;
  color: #89969e;
  font-size: 10px;
  line-height: 1.55;
  text-align: right;
}

.jp-detail-content blockquote {
  margin: 45px 0;
  padding: 28px 30px;
  border-left: 3px solid var(--jp-teal);
  color: #fff;
  background: var(--jp-navy);
}

.jp-detail-content blockquote p:last-child {
  margin-bottom: 0;
}

.jp-detail-content table {
  width: 100%;
  margin: 34px 0 45px;
  border-collapse: collapse;
  font-size: 13px;
}

.jp-detail-content th,
.jp-detail-content td {
  padding: 14px 15px;
  border: 1px solid #dce5e9;
  text-align: left;
  vertical-align: top;
}

.jp-detail-content th {
  color: var(--jp-ink);
  background: #edf4f4;
}

.jp-detail-sidebar {
  position: sticky;
  top: 105px;
  padding: 31px 28px 29px;
  color: #fff;
  background: linear-gradient(145deg, #102f48, #081d30);
  box-shadow: 0 24px 54px rgba(16, 43, 64, 0.16);
}

.jp-detail-sidebar__number {
  margin-bottom: 37px;
  color: #7fd0c4;
  font-size: 44px;
  font-weight: 300;
  line-height: 1;
}

.jp-detail-sidebar .jp-kicker {
  margin-bottom: 10px;
}

.jp-detail-sidebar h2 {
  margin: 0;
  color: #fff;
  font-size: 22px;
}

.jp-detail-sidebar ul {
  margin: 23px 0 21px;
  padding: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  list-style: none;
}

.jp-detail-sidebar li {
  padding: 13px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.76);
  font-size: 12px;
}

.jp-detail-sidebar > p:not(.jp-kicker) {
  margin: 0 0 23px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 11px;
  line-height: 1.75;
}

.jp-detail-sidebar .jp-button {
  width: 100%;
}

.jp-detail-sidebar__mail {
  display: block;
  margin-top: 16px;
  color: rgba(255, 255, 255, 0.63);
  font-size: 10px;
  text-align: center;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.jp-related-services {
  padding: 102px 0 110px;
  background: var(--jp-soft);
}

.jp-related-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.jp-related-card {
  overflow: hidden;
  border: 1px solid #d8e3e6;
  background: #fff;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.jp-related-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 45px rgba(20, 48, 70, 0.1);
}

.jp-related-card > a {
  display: block;
  overflow: hidden;
  background: #0b1f33;
}

.jp-related-card img {
  display: block;
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 420ms ease;
}

.jp-related-card:hover img {
  transform: scale(1.035);
}

.jp-related-card > div {
  padding: 25px 25px 28px;
}

.jp-related-card p {
  margin: 0 0 8px;
  color: #388f84;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.13em;
}

.jp-related-card h3 {
  min-height: 57px;
  margin: 0 0 18px;
  color: var(--jp-ink);
  font-size: 19px;
  line-height: 1.5;
}

@media (max-width: 980px) {
  .jp-hero__grid,
  .jp-hub-hero__grid,
  .jp-planning__grid,
  .jp-reporting__grid,
  .jp-compare-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .jp-detail-hero__grid,
  .jp-detail-layout {
    grid-template-columns: 1fr;
    gap: 54px;
  }

  .jp-detail-sidebar {
    position: static;
    max-width: 520px;
  }

  .jp-hero__visual {
    margin-left: 32px;
  }

  .jp-hero__visual img {
    height: 480px;
  }

  .jp-section-heading--split {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .jp-process-grid,
  .jp-scope-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .jp-cta-panel {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .jp-cta-panel .jp-actions {
    align-items: flex-start;
  }
}

@media (max-width: 720px) {
  .jp-shell {
    width: min(100% - 32px, 1180px);
  }

  .jp-hero,
  .jp-hub-hero {
    padding: 56px 0 50px;
  }

  .jp-hero h1,
  .jp-hub-hero h1 {
    font-size: clamp(37px, 11vw, 50px);
    line-height: 1.12;
  }

  .jp-hero h1 em {
    white-space: normal;
  }

  .jp-hub-hero h1 em {
    white-space: normal;
  }

  .jp-break-mobile {
    display: inline;
  }

  .jp-hero__lead {
    font-size: 15px;
  }

  .jp-hero__visual {
    margin-left: 0;
  }

  .jp-hero__visual::before {
    display: none;
  }

  .jp-hero__visual img,
  .jp-hub-hero figure img {
    height: 330px;
  }

  .jp-hero__panel {
    bottom: 33px;
    left: 12px;
  }

  .jp-hero__checks {
    align-items: flex-start;
    flex-direction: column;
    gap: 7px;
  }

  .jp-section {
    padding: 74px 0;
  }

  .jp-section-heading h2,
  .jp-planning__copy h2,
  .jp-reporting h2,
  .jp-compare-section h2 {
    font-size: 36px;
  }

  .jp-service-grid,
  .jp-process-grid,
  .jp-scope-grid {
    grid-template-columns: 1fr;
  }

  .jp-service-card__image img {
    height: 225px;
  }

  .jp-planning__visual img {
    min-height: 400px;
  }

  .jp-planning__metric {
    right: 12px;
    bottom: 18px;
  }

  .jp-process-grid li {
    min-height: 0;
    border-right: 0;
  }

  .jp-process-grid span {
    margin-bottom: 22px;
  }

  .jp-report-cards > div {
    grid-template-columns: 65px 1fr;
    gap: 5px 12px;
  }

  .jp-report-cards p {
    grid-column: 2;
  }

  .jp-cta-section {
    padding: 48px 0;
  }

  .jp-cta-panel {
    padding: 34px 26px;
  }

  .jp-hub-card,
  .jp-hub-card:nth-child(even) {
    grid-template-columns: 1fr;
  }

  .jp-hub-card:nth-child(even) .jp-hub-card__image {
    order: 0;
  }

  .jp-hub-card__image img {
    min-height: 250px;
    max-height: 300px;
  }

  .jp-hub-card__content {
    padding: 28px 24px 32px;
  }

  .jp-hub-card ul {
    grid-template-columns: 1fr;
  }

  .jp-detail-hero {
    padding: 52px 0 56px;
  }

  .jp-detail-hero__copy h1 {
    font-size: clamp(36px, 10vw, 50px);
  }

  .jp-detail-hero__scope,
  .jp-detail-content ul,
  .jp-detail-content ol,
  .jp-related-grid {
    grid-template-columns: 1fr;
  }

  .jp-detail-hero__visual::before {
    display: none;
  }

  .jp-detail-hero__visual img {
    height: 350px;
  }

  .jp-detail-section,
  .jp-related-services {
    padding: 74px 0;
  }

  .jp-detail-content {
    font-size: 15px;
  }

  .jp-detail-content h2 {
    margin-top: 58px;
    font-size: 31px;
  }

  .jp-related-card h3 {
    min-height: 0;
  }

  .jp-compare-list > div {
    grid-template-columns: 1fr;
    gap: 7px;
  }
}

/* Unified site header: matches the Thai homepage navigation pattern. */
.site-brand {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 9px;
  white-space: nowrap;
}

.site-brand__mark {
  display: inline-flex;
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  align-items: center;
  justify-content: center;
  border-radius: 7px;
  color: #fff;
  background: var(--ventclean-teal);
  box-shadow: 0 7px 18px rgba(16, 165, 159, .24);
}

.site-brand__mark svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.5;
  stroke-linecap: round;
}

.site-brand__text {
  overflow: hidden;
  text-overflow: ellipsis;
}

.site-header__desktop-actions,
.site-header__mobile-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.site-header__desktop-actions {
  flex: 0 0 auto;
}

.site-header__mobile-actions,
.site-menu-toggle {
  display: none;
}

.site-header .language-switcher {
  min-height: 38px;
  padding: 7px 13px !important;
  white-space: nowrap;
}

.site-header__cta {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  padding: 8px 15px;
  border-radius: 6px;
  color: #fff;
  background: #f47721;
  box-shadow: 0 8px 20px rgba(244, 119, 33, .22);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.15;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
}

.site-header__cta:hover,
.site-header__cta:focus-visible {
  color: #fff;
  background: #dd6414;
  transform: translateY(-1px);
}

.site-mobile-menu[hidden] {
  display: none;
}

@media (min-width: 861px) {
  .site-nav {
    margin-left: auto;
  }

  .site-mobile-menu {
    display: none !important;
  }
}

@media (max-width: 860px) {
  .site-header__inner {
    width: min(100% - 24px, 1120px);
    min-height: 68px;
    align-items: center;
    flex-direction: row;
    gap: 8px;
    padding: 9px 0;
  }

  .site-nav,
  .site-header__desktop-actions {
    display: none;
  }

  .site-header__mobile-actions {
    display: flex;
    min-width: 0;
    margin-left: auto;
    gap: 6px;
  }

  .site-header .language-switcher {
    min-height: 36px;
    padding: 6px 10px !important;
    font-size: 12px;
  }

  .site-header__cta {
    min-height: 36px;
    max-width: 112px;
    padding: 6px 10px;
    font-size: 11px;
  }

  .site-menu-toggle {
    position: relative;
    display: inline-flex;
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, .25);
    border-radius: 6px;
    color: #fff;
    background: rgba(255, 255, 255, .06);
    cursor: pointer;
  }

  .site-menu-toggle span {
    position: absolute;
    left: 10px;
    width: 16px;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
    transition: transform .18s ease, opacity .18s ease;
  }

  .site-menu-toggle span:nth-child(1) { transform: translateY(-5px); }
  .site-menu-toggle span:nth-child(3) { transform: translateY(5px); }

  .site-menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: rotate(45deg); }
  .site-menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .site-menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: rotate(-45deg); }

  .site-mobile-menu {
    position: absolute;
    z-index: 25;
    top: 100%;
    right: 0;
    left: 0;
    display: grid;
    padding: 8px 12px 12px;
    border-top: 1px solid rgba(255, 255, 255, .12);
    background: rgba(11, 31, 51, .99);
    box-shadow: 0 18px 30px rgba(7, 21, 37, .24);
  }

  .site-mobile-menu a {
    display: block;
    padding: 12px 10px;
    border-bottom: 1px solid rgba(255, 255, 255, .1);
    color: rgba(255, 255, 255, .9);
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
  }

  .site-mobile-menu a:last-child {
    border-bottom: 0;
  }
}

@media (max-width: 440px) {
  .site-brand {
    gap: 6px;
  }

  .site-brand__mark {
    width: 32px;
    height: 32px;
    flex-basis: 32px;
  }

  .site-brand__text {
    max-width: 118px;
    font-size: 14px;
  }

  .site-header .language-switcher {
    padding: 5px 8px !important;
  }

  .site-header__cta {
    max-width: 88px;
    padding: 5px 7px;
    font-size: 10px;
  }
}

@media (max-width: 360px) {
  .site-brand__mark {
    width: 30px;
    height: 30px;
    flex-basis: 30px;
  }

  .site-brand__text {
    max-width: 92px;
    font-size: 12px;
  }

  .site-header__cta {
    max-width: 74px;
    padding-right: 5px;
    padding-left: 5px;
    font-size: 9px;
  }
}


/* Mobile header alignment: WP templates + React home target sizes. */
@media (max-width: 860px) {
  .site-header__inner {
    min-height: 64px;
    gap: 4px;
    padding: 10px 0;
  }

  .site-brand {
    flex: 0 1 169px;
    max-width: 169px;
    gap: 8px;
    white-space: normal;
  }

  .site-brand .site-brand__mark {
    width: 28px;
    height: 28px;
    flex: 0 0 28px;
    border-radius: 4px;
    color: #fff;
    box-shadow: none;
  }

  .site-brand__mark svg {
    width: 20px;
    height: 20px;
    stroke-width: 2;
  }

  .site-brand .site-brand__text {
    display: block;
    flex: 0 1 133px;
    max-width: 133px;
    overflow: visible;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.25;
    text-overflow: clip;
    white-space: normal;
  }

  .site-brand .site-brand__text > span {
    display: block;
    color: var(--ventclean-teal);
  }

  .site-header__mobile-actions {
    gap: 4px;
  }

  .site-header .language-switcher {
    min-width: 55px;
    min-height: 44px;
    padding: 6px 10px !important;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 600;
  }

  .site-header__cta {
    min-width: 88px;
    min-height: 44px;
    max-width: none;
    padding: 6px 10px;
    background: #ff7a1a;
    font-size: 11px;
    font-weight: 600;
  }

  .site-menu-toggle {
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    border: 0;
    border-radius: 0;
    background: transparent;
  }

  .site-menu-toggle span {
    left: 12px;
    width: 20px;
  }

  .ventclean-header a[lang] {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
  }

  .ventclean-header button {
    min-height: 44px;
  }

  .ventclean-header button[aria-expanded] {
    min-width: 44px;
  }
}

@media (max-width: 340px) {
  .site-brand {
    flex-basis: 108px;
    max-width: 108px;
  }

  .site-brand .site-brand__text {
    max-width: 72px;
    font-size: 12px;
    white-space: nowrap;
  }

  .site-brand .site-brand__text > span {
    display: none;
  }

  .site-header .language-switcher {
    min-width: 52px;
    padding-right: 8px !important;
    padding-left: 8px !important;
    font-size: 10px;
  }

  .site-header__cta {
    min-width: 80px;
    padding-right: 8px;
    padding-left: 8px;
    font-size: 10px;
  }
}


/* Mobile header narrow-width fit: retain all controls without horizontal overflow. */
@media (min-width: 341px) and (max-width: 380px) {
  .site-brand {
    flex-basis: 139px;
    max-width: 139px;
  }

  .site-brand .site-brand__text {
    flex-basis: 103px;
    max-width: 103px;
    font-size: 13px;
  }

  .site-header .language-switcher {
    min-width: 52px;
    padding-right: 8px !important;
    padding-left: 8px !important;
    font-size: 10px;
  }

  .site-header__cta {
    min-width: 82px;
    padding-right: 8px;
    padding-left: 8px;
    font-size: 10px;
  }
}


/* Cross-template mobile tap targets and React-home narrow-width fit. */
@media (max-width: 860px) {
  .site-brand,
  .ventclean-header > div > div > a:first-child {
    min-height: 44px;
    align-items: center;
  }

  .ventclean-header button[aria-label="เมนู"] {
    width: 44px;
    min-width: 44px;
    height: 44px;
    min-height: 44px;
  }
}

@media (min-width: 341px) and (max-width: 380px) {
  .ventclean-header a[lang] {
    min-width: 52px;
    padding-right: 8px;
    padding-left: 8px;
    font-size: 10px;
  }

  .ventclean-header button:not([aria-label]) {
    min-width: 82px;
    padding-right: 8px;
    padding-left: 8px;
    font-size: 10px;
  }
}

@media (max-width: 340px) {
  .ventclean-header > div > div > a:first-child {
    max-width: 101px;
  }

  .ventclean-header > div > div > a:first-child > span {
    max-width: 65px;
    overflow: visible;
    font-size: 12px;
    white-space: nowrap;
  }

  .ventclean-header > div > div > a:first-child > span > span {
    display: none;
  }

  .ventclean-header a[lang] {
    min-width: 52px;
    padding-right: 8px;
    padding-left: 8px;
    font-size: 10px;
  }

  .ventclean-header button:not([aria-label]) {
    min-width: 80px;
    padding-right: 8px;
    padding-left: 8px;
    font-size: 10px;
  }
}
