/* Shared foundation. All responsive rules are grouped at the end. */
:root {
  --navy: #05111b;
  --panel: #0a1d2b;
  --cyan: #54d7dc;
  --coral: #fe526b;
  --white: #f1f5f7;
  --muted: #9fb3c1;
  --border: #203847;
  --gutter: 28px;
}
@supports (width: max(1px, 2px)) {
  :root {
    --gutter: max(28px, calc((100vw - 1140px) / 2));
  }
}
* {
  box-sizing: border-box;
  scrollbar-width: thin;
  scrollbar-color: #397f8d #061420;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 32px;
  scrollbar-gutter: stable;
  color-scheme: dark;
}
/* Brand scrollbars also cover the welcome screen, albums and contact dialog. */
@supports selector(::-webkit-scrollbar) {
  * { scrollbar-width: auto; scrollbar-color: auto; }
}
::-webkit-scrollbar { width: 9px; height: 9px; }
::-webkit-scrollbar-track, ::-webkit-scrollbar-corner { background: #061420; }
::-webkit-scrollbar-thumb { min-height: 42px; border: 2px solid #061420; border-radius: 12px; background: linear-gradient(180deg, #296275, #4aadb7); }
::-webkit-scrollbar-thumb:hover { background: #62cdd2; }
::-webkit-scrollbar-thumb:active { background: #86e8e4; }
::-webkit-scrollbar-button { display: none; width: 0; height: 0; }
body {
  margin: 0;
  background: var(--navy);
  color: var(--white);
  font-family: Kanit, Arial, sans-serif;
  font-weight: 400;
  caret-color: transparent;
}
input, textarea, [contenteditable="true"], [contenteditable=""] { caret-color: auto; }
a:focus:not(:focus-visible), button:focus:not(:focus-visible), summary:focus:not(:focus-visible) { outline: none; }
.brand.entry-focus:focus { outline: none; outline-offset: 0; }
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
  cursor: pointer;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
  -webkit-user-drag: none;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  user-select: none;
}
picture, .brand, .service-media, .news-card-image, .gallery-frame, .gallery-viewer-surface, .partner-logos {
  -webkit-touch-callout: none;
  -webkit-user-drag: none;
}
h1,
h2,
h3,
p {
  margin: 0;
}
:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 5px;
}
::selection {
  background: var(--cyan);
  color: var(--navy);
}
.site {
  opacity: 1;
  transition: opacity 0.6s ease;
}
.site.revealed {
  opacity: 1;
}
.header {
  min-height: 84px;
  padding: 16px var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  position: relative;
  z-index: 10;
  background: #061420;
  border-bottom: 1px solid var(--border);
}
.brand {
  flex-shrink: 0;
}
.brand img {
  width: 190px;
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  order: 3;
}
.sound-toggle { flex-shrink:0; display:grid; place-items:center; width:36px; height:36px; padding:8px; border:1px solid #3b5362; border-radius:50%; background:transparent; color:#80d8dd; }
.sound-toggle[hidden] { display:none; }
.sound-toggle:hover { border-color:#54d7dc; background:#54d7dc10; }
.sound-toggle svg { width:19px; height:19px; fill:none; stroke:currentColor; stroke-width:1.5; stroke-linecap:round; stroke-linejoin:round; }
.sound-toggle .sound-muted { display:none; }
.sound-toggle[aria-pressed="false"] { color:#7a939f; }
.sound-toggle[aria-pressed="false"] .sound-muted { display:block; }
.sound-toggle[aria-pressed="false"] .sound-waves { display:none; }
.nav {
  display: flex;
  gap: 30px;
  align-items: center;
}
.nav a {
  font-size: 14px;
  font-weight: 400;
  white-space: nowrap;
}
.nav a:hover {
  color: var(--cyan);
}
.language-switch {
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border: 1px solid #3b5362;
  border-radius: 24px;
  flex-shrink: 0;
}
.language-switch a {
  font:
    600 11px/1.4 Montserrat,
    Arial,
    sans-serif;
  padding: 8px 10px;
  border-radius: 20px;
}
.language-switch a[aria-current] {
  background: var(--cyan);
  color: var(--navy);
}
.menu-toggle {
  display: none;
  background: none;
  border: 0;
  padding: 4px;
  color: white;
  font-size: 26px;
}
.hero {
  overflow: hidden;
  position: relative;
  background: radial-gradient(ellipse at 78% 48%, #103448, #061420 67%);
}
.hero-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 76px var(--gutter);
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 58px;
  align-items: center;
}
.hero-grid,
.intro-grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(#ffffff05 1px, transparent 1px),
    linear-gradient(90deg, #ffffff05 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: linear-gradient(transparent, black);
}
.hero-aura {
  position: absolute;
  right: 5%;
  top: 10%;
  width: 50%;
  aspect-ratio: 1;
  background: radial-gradient(circle, #00d8e90a, transparent 65%);
}
.kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #b4ccd8;
  font-size: 11px;
  line-height: 1.8;
  letter-spacing: 0.8px;
}
.kicker .line {
  width: 26px;
  height: 1px;
  background: var(--cyan);
  flex-shrink: 0;
}
.hero h1 {
  font-size: 48px;
  font-size: clamp(40px, 4.4vw, 62px);
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -0.8px;
  margin: 24px 0;
}
.hero h1 span {
  color: var(--cyan);
}
.hero h1 .dot {
  color: var(--coral);
}
.hero-copy > p {
  max-width: 540px;
  font-size: 17px;
  font-weight: 300;
  line-height: 1.9;
  color: #afc2cf;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 30px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 22px;
  min-height: 50px;
  font-size: 14px;
  line-height: 1.5;
  border: 1px solid transparent;
  border-radius: 6px;
  transition:
    background 0.2s,
    transform 0.2s;
}
.btn.primary {
  background: var(--cyan);
  color: #05202a;
}
.btn.primary:hover {
  background: #8ee9ea;
}
.btn.outline {
  border-color: #45606f;
}
.btn.outline:hover {
  background: #ffffff08;
}
.btn span {
  font-size: 21px;
}
.hero-bottom {
  color: #8ca7b8;
  font-size: 10px;
  letter-spacing: 1px;
  line-height: 1.9;
  margin-top: 34px;
}
.live-dot,
.pulse {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  margin-right: 10px;
  box-shadow: 0 0 14px #54d7dc66;
}
.hero-visual {
  min-height: 250px;
  position: relative;
  width: 100%;
  max-width: 400px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  justify-self: center;
}
.hero-s {
  width: 40%;
  filter: drop-shadow(0 0 28px #00d8e933);
  animation: float 7s ease-in-out infinite;
}
.hero-ring,
.orbit {
  position: absolute;
  border-radius: 50%;
  border: 1px solid transparent;
  border-top-color: #d75268;
  border-bottom-color: #31b4c4;
}
.hero-ring {
  width: 86%;
  height: 60%;
  opacity: 0.5;
  animation: orbit 18s linear infinite;
}
.hero-ring.two {
  width: 70%;
  height: 83%;
  animation-direction: reverse;
  animation-duration: 24s;
}
.hero-ring.three {
  width: 100%;
  height: 100%;
  border: 1px dashed #39768b66;
  opacity: 0.6;
  animation-duration: 35s;
}
.visual-label {
  position: absolute;
  bottom: 0;
  right: 0;
  color: #a2b9c6;
  font-size: 10px;
  letter-spacing: 1px;
}
.visual-label span {
  color: var(--cyan);
  margin-left: 10px;
}
.strip {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 22px var(--gutter);
  border-block: 1px solid var(--border);
  background: #0c2332;
  font-size: 12px;
  color: #bed0db;
  letter-spacing: 0.6px;
}
.strip .star {
  color: var(--cyan);
  font-size: 16px;
}
.section {
  padding: 80px var(--gutter);
}
.section-tag {
  color: var(--cyan);
  font-size: 11px;
  letter-spacing: 1.6px;
  margin-bottom: 24px;
  line-height: 1.8;
}
.about {
  background: #f2f5f6;
  color: #0a2333;
}
.about .section-tag {
  color: #197d88;
}
.about-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  gap: 80px;
  align-items: start;
}
.about h2,
.section-heading h2 {
  font-size: clamp(30px, 3.2vw, 42px);
  font-weight: 500;
  line-height: 1.4;
}
.about h2 span {
  color: #188795;
}
.about-company-name {
  margin: 0 0 20px;
  font-family: Montserrat, Kanit, Arial, sans-serif;
  font-size: 22px;
  font-weight: 600;
  line-height: 1.5;
}
.about-layout p {
  color: #506879;
  font-size: 16px;
  font-weight: 300;
  line-height: 1.95;
  margin-bottom: 18px;
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  padding-bottom: 7px;
  margin-top: 10px;
  border-bottom: 1px solid #3f929c;
  font-size: 13px;
}
.solutions {
  background: #081b29;
}
.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 36px;
}
.section-heading h2 span {
  color: var(--cyan);
}
.section-heading p {
  color: #9eb5c4;
  font-size: 12px;
}
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.service-card {
  min-width: 0;
  min-height: 228px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 26px;
  border: 1px solid #284352;
  border-radius: 6px;
  background: #0e2636;
  transition:
    border-color 0.2s,
    transform 0.2s;
}
.service-card:hover {
  border-color: #5dabb7;
  transform: translateY(-3px);
}
.service-top {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  color: #91acbc;
  font-size: 11px;
  margin-bottom: 26px;
}
.service-icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid #3e6372;
  border-radius: 5px;
  color: var(--cyan);
  font-size: 23px;
}
.service-card h3 {
  font-size: 19px;
  font-weight: 400;
  line-height: 1.55;
  margin-bottom: 22px;
}
.service-card .text-link {
  margin-top: auto;
  font-size: 12px;
  color: #b4dade;
}
/* Footer follows the reference: logo, statement, phones; copyright; company address. */
.footer {
  background: #040f18;
  padding: 0 var(--gutter);
  border-top: 1px solid #26424e;
}
.footer-main {
  display: grid;
  grid-template-columns: 0.9fr 1.55fr 0.85fr;
  gap: 56px;
  align-items: start;
  padding: 68px 0 48px;
}
.footer-brand {
  padding-top: 2px;
}
.footer-brand img {
  width: 190px;
}
.footer-eyebrow {
  display: block;
  margin-bottom: 20px;
  color: #76c9cb;
  font-size: 10px;
  letter-spacing: 1.2px;
  line-height: 1.8;
}
.footer-message h2 {
  color: #edf3f6;
  font-size: 28px;
  font-weight: 400;
  line-height: 1.55;
  margin-bottom: 24px;
}
.footer-email {
  display: inline-flex;
  align-items: baseline;
  gap: 12px;
  color: #c5d5df;
  font-size: 13px;
  overflow-wrap: anywhere;
}
.footer-contact {
  padding-top: 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 17px;
}
.footer-phone {
  color: #c8dbe5;
  font-family: Montserrat, Arial, sans-serif;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.6;
  white-space: nowrap;
}
.footer-back {
  color: #89a4b5;
  font-size: 12px;
  margin-top: 12px;
}
.footer-copyright {
  font-family: Montserrat, Arial, sans-serif;
  text-align: center;
  color: #7c9bad;
  font-size: 10px;
  line-height: 1.8;
  letter-spacing: 0.5px;
  padding-bottom: 12px;
}
.footer-legal {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px 24px;
  padding: 0 0 24px;
  font-size: 12px;
  color: var(--muted);
}
.footer-legal a:hover { color: var(--cyan); }
.service-card-links { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
.footer-legal button { padding: 0; border: 0; background: none; color: inherit; font: inherit; }
.footer-legal button:hover { color: var(--cyan); }
.footer-legal button[hidden] { display: none; }
.cookie-notice { position: fixed; left: 24px; bottom: 24px; z-index: 40; display: flex; align-items: flex-start; gap: 18px; width: 550px; max-width: calc(100% - 120px); padding: 24px; border: 1px solid #397b88; border-radius: 16px; background: linear-gradient(130deg,#0d2935,#071722 75%); box-shadow: 0 12px 45px #0008,inset 0 1px 0 #b4faff0c; color: var(--white); }
.cookie-notice[hidden] { display: none; }
body.intro-active .cookie-notice, body.contact-popup-open .cookie-notice { visibility: hidden; }
.cookie-notice-mark { flex: 0 0 44px; display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid #54d7dc40; border-radius: 12px; background: #54d7dc0a; }
.cookie-notice-mark svg { width: 29px; height: 29px; stroke: var(--cyan); stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; }
.cookie-notice-copy { min-width: 0; }
.cookie-notice-eyebrow { font: 600 8px/1.5 Montserrat,Arial,sans-serif; letter-spacing: .2em; color: var(--cyan); margin-bottom: 6px; }
.cookie-notice h2 { font-size: 19px; font-weight: 500; line-height: 1.5; margin-bottom: 8px; }
.cookie-notice h2+p { font-size: 13px; line-height: 1.85; color: #b5c8d3; }
.cookie-notice-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 18px; }
.cookie-accept { display: inline-flex; align-items: center; justify-content: center; gap: 16px; min-height: 44px; padding: 10px 24px; border: 1px solid var(--cyan); border-radius: 7px; background: var(--cyan); color: #05212c; font: 500 13px/1.5 Kanit,Arial,sans-serif; }
.cookie-accept:hover { background: #9df0ec; border-color: #9df0ec; }
.cookie-accept svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.cookie-notice-actions>a { display: inline-flex; align-items: center; min-height: 44px; font-size: 12px; gap: 8px; color: #c9e6eb; text-underline-offset: 4px; }
.cookie-notice-actions>a:hover { text-decoration: underline; color: var(--cyan); }
@media(max-width:600px) { .cookie-notice { left: 14px; bottom: calc(14px + env(safe-area-inset-bottom,0px)); width: auto; max-width: calc(100% - 96px); padding: 18px; gap: 0; border-radius: 13px; max-height: calc(100vh - 110px); overflow-y: auto; } .cookie-notice-mark { display: none; } .cookie-notice h2 { font-size: 17px; } .cookie-notice-actions { gap: 5px 14px; margin-top: 14px; } .cookie-accept { padding: 10px 20px; } }
.footer-details {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
  border-top: 1px solid #1b303d;
  padding: 36px 0 42px;
}
.footer-address h3 {
  color: #d0e0e9;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.6;
  margin-bottom: 13px;
}
.footer-address address {
  font-size: 12px;
  line-height: 1.95;
  font-weight: 300;
  font-style: normal;
  color: #aac1cf;
}
.footer-other {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 2px;
  color: #8faaba;
  font-size: 12px;
  overflow-wrap: anywhere;
}
.footer a:hover {
  color: var(--cyan);
}
/* Quick contact: a right-side rail on desktop, a labelled bottom bar on small screens. */
.footer-line-link {
  color: #65df93;
  display: inline-flex;
  gap: 12px;
  align-items: center;
}
.footer-map-link {
  display: inline-block;
  margin-top: 12px;
  color: #8dcfd8;
  font-size: 12px;
}
.contact-dock {
  position: fixed;
  right: 16px;
  bottom: 22px;
  z-index: 20;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
body.intro-active .contact-dock {
  visibility: hidden;
}
.contact-action {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  color: white;
  background: #205d72;
  box-shadow: 0 4px 18px #0004;
  cursor: pointer;
  border: 1px solid #ffffff18;
  transition:
    background 0.2s,
    transform 0.2s;
}
.contact-action:hover {
  transform: translateY(-2px);
  background: #337e95;
}
.contact-line {
  background: #06b94d;
}
.contact-line:hover {
  background: #08a747;
}
.contact-phone {
  background: #23766d;
}
.contact-phone:hover {
  background: #2d9187;
}
.contact-action svg {
  width: 23px;
  height: 23px;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linejoin: round;
  stroke-linecap: round;
  fill: none;
}
.contact-action .line-icon {
  width: 29px;
  height: 29px;
  fill: white;
  stroke: none;
}
.line-icon text {
  fill: #06a846;
  font:
    800 8px Arial,
    sans-serif;
}
.contact-label {
  position: absolute;
  right: 60px;
  padding: 6px 11px;
  border-radius: 5px;
  background: #102b3b;
  color: white;
  font-size: 12px;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.15s;
}
.contact-action:hover .contact-label,
.contact-action:focus-visible .contact-label {
  visibility: visible;
  opacity: 1;
}
.contact-call {
  position: relative;
}
.contact-call summary {
  list-style: none;
}
.contact-call summary::-webkit-details-marker {
  display: none;
}
.contact-call[open] .contact-phone {
  background: #389889;
}
.contact-call[open] .contact-label {
  visibility: hidden;
}
.call-panel {
  position: absolute;
  right: 62px;
  bottom: 0;
  width: 284px;
  max-width: calc(100vw - 92px);
  padding: 18px;
  border-radius: 12px;
  border: 1px solid #3b6575;
  background: #0c2433;
  box-shadow: 0 12px 40px #0006;
}
.call-panel p {
  color: #b8d3df;
  font-size: 14px;
  margin-bottom: 8px;
}
.call-panel a {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 3px 12px;
  padding: 12px 0;
  border-top: 1px solid #294453;
}
.call-panel a > span:first-child {
  font-size: 12px;
  color: #a6bdcb;
}
.call-panel strong {
  grid-column: 1;
  color: white;
  font:
    500 17px/1.5 Montserrat,
    Arial,
    sans-serif;
}
.call-panel a > span:last-child {
  grid-column: 2;
  grid-row: 1 / 3;
  align-self: center;
  color: var(--cyan);
}
.call-panel a:hover strong {
  color: var(--cyan);
}
/* Every page has a lightweight entrance; no animation controls content visibility. */
.hero-copy,
.news-heading > :not(.news-orbit) {
  animation: page-arrive 0.75s ease-out both;
}
.hero-visual {
  animation: page-arrive 1s ease-out both;
}
.reveal-in {
  animation: section-arrive 0.65s ease-out both;
}
/* Start page entrances after the welcome closes, not behind its overlay. */
body.intro-active:not(.intro-revealing) .hero-copy,
body.intro-active:not(.intro-revealing) .hero-visual,
body.intro-active:not(.intro-revealing) .reveal-in {
  animation: none !important;
}
@keyframes page-arrive {
  from {
    opacity: 0.25;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes section-arrive {
  from {
    opacity: 0.4;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes gentle-arrive {
  from {
    opacity: 0.75;
  }
  to {
    opacity: 1;
  }
}
.nav a[aria-current="page"] {
  color: var(--cyan);
}
.news-teaser {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  padding: 48px var(--gutter);
  background: #103342;
  border-top: 1px solid #294755;
}
.news-teaser .section-tag {
  margin-bottom: 12px;
}
.news-teaser h2 {
  font-size: 28px;
  line-height: 1.5;
  font-weight: 400;
}
.news-teaser p {
  color: #afc4d0;
  margin-top: 10px;
  font-size: 14px;
}
.news-teaser .btn {
  flex-shrink: 0;
}
.news-heading {
  position: relative;
  overflow: hidden;
  padding: 36px var(--gutter) 56px;
  background: radial-gradient(ellipse at 85% 15%, #164654, #071724 65%);
  border-bottom: 1px solid var(--border);
}
.news-breadcrumb {
  display: inline-block;
  color: #9fb8c7;
  font-size: 12px;
  margin-bottom: 42px;
}
.news-breadcrumb span {
  margin: 0 12px;
  color: #436778;
}
.news-heading .section-tag {
  margin-bottom: 18px;
}
.news-heading h1 {
  position: relative;
  font-size: clamp(38px, 5vw, 62px);
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -0.6px;
}
.news-heading h1 span {
  color: var(--cyan);
}
.news-heading > p {
  position: relative;
  margin-top: 24px;
  color: #bbcfdb;
  font-size: 16px;
  line-height: 1.8;
  max-width: 600px;
}
.news-status {
  position: relative;
  margin-top: 30px;
  font-size: 11px;
  letter-spacing: 1px;
  color: #b7d2df;
}
.news-status-divider {
  color: #5b7a8c;
  margin: 0 14px;
}
.news-orbit {
  position: absolute;
  width: 360px;
  height: 360px;
  right: var(--gutter);
  top: 20px;
  opacity: 0.28;
  pointer-events: none;
}
.news-orbit span {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid #4c9cab;
  border-top-color: #b7faff;
  animation: orbit 25s linear infinite;
}
.news-orbit span:nth-child(2) {
  inset: 45px;
  border-style: dashed;
  animation-direction: reverse;
}
.news-orbit span:nth-child(3) {
  inset: 90px;
  animation-duration: 18s;
}
.news-content {
  padding: 36px var(--gutter) 64px;
}
.news-toolbar {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: 11px;
  color: #9eb7c7;
  margin-bottom: 26px;
}
.news-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}
.news-card {
  min-width: 0;
  padding: 30px;
  background: #0c2332;
  border: 1px solid #294655;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  transition:
    border-color 0.2s,
    background 0.2s;
}
.news-card:hover {
  border-color: #62b7c2;
  background: #102b3a;
}
.news-featured {
  grid-column: 1/-1;
  padding: 36px;
  background: linear-gradient(115deg, #153c4b, #0a2233);
}
.news-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}
.news-source {
  padding: 5px 12px;
  color: #86e0e3;
  background: #244d594d;
  border: 1px solid #3a6572;
  border-radius: 30px;
  font-size: 11px;
}
.news-number {
  color: #688d9e;
  font:
    400 24px/1.2 Montserrat,
    sans-serif;
}
.news-card h2 {
  font-size: 23px;
  font-weight: 400;
  line-height: 1.5;
  overflow-wrap: anywhere;
}
.news-featured h2 {
  font-size: 32px;
  max-width: 900px;
}
.news-card-body p {
  margin-top: 18px;
  color: #a9bfcd;
  font-weight: 300;
  font-size: 15px;
  line-height: 1.85;
  max-width: 820px;
}
.news-card-body {
  margin-bottom: 28px;
}
.news-card-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid #2c4655;
  font-size: 11px;
}
.news-card time {
  color: #93b0c1;
}
.news-card-bottom a {
  color: #a1edef;
}
.news-card-bottom a span {
  margin-left: 14px;
  font-size: 20px;
}
.news-card h2 a:hover {
  color: #a1edef;
}
.news-attribution {
  margin-top: 28px;
  color: #8ca6b8;
  font-size: 12px;
  line-height: 1.9;
}
.news-attribution a {
  display: inline-block;
  margin-left: 18px;
  color: #9ad8de;
}
.news-notice {
  margin: 0 0 24px;
  padding: 14px 18px;
  border: 1px solid #546d64;
  border-radius: 5px;
  color: #c6d3b8;
  font-size: 13px;
  line-height: 1.8;
}
/* Welcome screen */
body.intro-active {
  overflow: hidden;
}
.intro {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  overflow-y: auto;
  overflow-x: hidden;
  background: radial-gradient(ellipse at center, #102e41, #030b16 70%);
}
.intro.gone {
  display: none;
}
.intro-vortex, .intro-arrow-fallback { display: none; position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; z-index: 2; pointer-events: none; }
.intro.vortex-active .intro-vortex { display: block; }
.intro.vortex-fallback .intro-arrow-fallback { display: block; }
.intro.vortex-active .intro-grid, .intro.vortex-active .intro-glow, .intro.vortex-fallback .intro-grid, .intro.vortex-fallback .intro-glow { opacity: 0; }
.intro.vortex-active .intro-content, .intro.vortex-fallback .intro-content { z-index: 3; }
.intro.vortex-fallback { background: #010308; }
.intro-glow {
  position: absolute;
  width: 60vw;
  height: 60vw;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, #00d8e912, transparent 70%);
}
.intro-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin: auto;
  padding: 24px;
}
.intro-content .language-switch { margin-bottom: 24px; }
.eyebrow {
  font-size: 11px;
  letter-spacing: 1.4px;
  color: #c3d7e2;
  line-height: 1.8;
}
.s-stage {
  position: relative;
  display: grid;
  place-items: center;
  width: 400px;
  max-width: 65vw;
  width: min(55vw, 400px);
  height: 400px;
  height: min(55vw, 400px);
  aspect-ratio: 1;
  margin: 12px auto;
}
.intro-emblem { display: block; width: 100%; height: 100%; overflow: visible; }
.intro-ghost { opacity: 0.18; }
.intro-stream { fill: none; stroke-width: 3.5; stroke-linecap: round; }
.emblem-orbit { pointer-events: none; }
.emblem-orbit path { stroke: none; opacity: .96; }
.intro-wordmark { display: flex; flex-direction: column; gap: 3px; color: #f4fbff; }
.intro-wordmark strong { font: 800 36px/1 'Montserrat', sans-serif; letter-spacing: 7px; padding-left: 7px; }
.intro-wordmark span { font: 500 10px/1.5 'Montserrat', sans-serif; letter-spacing: 3.4px; padding-left: 3.4px; }
.intro-content p {
  margin: 22px 0 28px;
  font-size: 12px;
  letter-spacing: 1.4px;
  color: #aac0cf;
}
.enter-btn {
  display: inline-flex;
  align-items: center;
  gap: 30px;
  padding: 8px 10px 8px 28px;
  color: white;
  background: #12394a;
  border: 1px solid #55b8c2;
  border-radius: 40px;
}
.arrow {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--cyan);
  color: var(--navy);
  font-size: 24px;
}
.intro.entering { overflow: hidden; }
.intro.entering .intro-content { transform: none; filter: none; perspective: none; }
.intro.entering .s-stage { position: fixed; inset: 0; width: 88vmin; height: 88vmin; max-width: 560px; max-height: 560px; margin: auto; transform: none; }
.intro.entering .intro-content > :not(.s-stage) { opacity: 0; transition: opacity 0.3s; }
.intro.entering .emblem-orbit, .intro.entering .intro-ghost { opacity: 0; }
.footer-replay { color: #82adb9; font-size: 12px; margin-top: 12px; }
@keyframes orbit {
  to {
    transform: rotate(360deg);
  }
}
@keyframes float {
  50% {
    transform: translateY(-14px) rotate(4deg);
  }
}
/* Tablet: switch layouts together, never inherit a later desktop override. */
@media (min-width: 1201px) {
  :root {
    --gutter: 80px;
  }
  @supports (width: max(1px, 2px)) {
    :root {
      --gutter: max(80px, calc((100vw - 1140px) / 2));
    }
  }
}
@media (max-width: 1200px) {
  body {
    padding-bottom: calc(76px + env(safe-area-inset-bottom, 0px));
  }
  .contact-dock {
    right: 0;
    left: 0;
    bottom: 0;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
    padding: 8px max(12px, env(safe-area-inset-right, 0px))
      calc(8px + env(safe-area-inset-bottom, 0px));
    background: #081c29f5;
    border-top: 1px solid #315160;
    box-shadow: 0 -4px 20px #0003;
  }
  .contact-action {
    width: 100%;
    height: 60px;
    border: 0;
    border-radius: 8px;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    box-shadow: none;
  }
  .contact-action:hover {
    transform: none;
    background: #173b4b;
  }
  .contact-line,
  .contact-line:hover {
    background: #06a846;
  }
  .contact-label,
  .contact-call[open] .contact-label {
    position: static;
    padding: 0;
    background: transparent;
    color: inherit;
    font-size: 11px;
    opacity: 1;
    visibility: visible;
  }
  .contact-action .line-icon {
    height: 25px;
  }
  .call-panel {
    position: fixed;
    bottom: calc(90px + env(safe-area-inset-bottom, 0px));
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    width: 320px;
    max-width: calc(100vw - 32px);
  }
}
@media (max-width: 1000px) {
  .nav {
    gap: 14px;
  }
  .header {
    gap: 20px;
  }
  .brand img {
    width: 160px;
  }
  .nav {
    gap: 20px;
  }
  .nav a {
    font-size: 13px;
  }
  .hero-inner {
    gap: 30px;
  }
  .about-layout {
    gap: 45px;
  }
  .footer-main {
    gap: 32px;
    grid-template-columns: 0.8fr 1.4fr 1fr;
  }
  .footer-message h2 {
    font-size: 25px;
  }
  .footer-phone {
    font-size: 16px;
  }
}
@media (max-width: 800px) {
  .news-teaser {
    flex-direction: column;
    align-items: flex-start;
  }
  .news-grid {
    grid-template-columns: 1fr;
  }
  .news-featured {
    grid-column: auto;
  }
  .news-orbit {
    right: -150px;
  }
  .news-toolbar {
    flex-direction: column;
    gap: 8px;
  }
  .news-featured,
  .news-card {
    padding: 24px;
  }
  .news-card h2,
  .news-featured h2 {
    font-size: 23px;
  }

  :root {
    --gutter: 26px;
  }
  .header {
    min-height: 76px;
    padding-block: 14px;
  }
  .menu-toggle {
    display: block;
  }
  .nav {
    display: none;
    position: absolute;
    top: 100%;
    inset-inline: 0;
    background: #091e2d;
    flex-direction: column;
    align-items: stretch;
    padding: 24px var(--gutter);
    border-bottom: 1px solid var(--border);
    gap: 20px;
  }
  .nav.open {
    display: flex;
  }
  .hero-inner {
    grid-template-columns: 1fr;
    padding-block: 52px 38px;
    gap: 35px;
  }
  .hero-visual {
    width: 250px;
  }
  .hero h1 {
    font-size: 44px;
  }
  .hero-copy > p {
    max-width: 620px;
  }
  .about-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .section {
    padding-block: 60px;
  }
  .section-heading {
    display: block;
  }
  .section-heading p {
    margin-top: 12px;
  }
  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }
  .service-card {
    padding: 22px;
  }
  .footer-main {
    grid-template-columns: 1.5fr 1fr;
    gap: 32px;
    padding: 44px 0 32px;
  }
  .footer-brand {
    grid-column: 1/-1;
  }
  .footer-brand img {
    width: 180px;
  }
  .footer-contact {
    padding-top: 30px;
  }
  .footer-details {
    gap: 26px;
  }
}
@media (max-width: 560px) {
  :root {
    --gutter: 24px;
  }
  .brand img {
    width: 145px;
  }
  .header {
    gap: 12px;
  }
  .header-actions {
    gap: 10px;
  }
  .language-switch a {
    padding: 7px 9px;
  }
  .hero-inner {
    padding-top: 42px;
  }
  .hero h1 {
    font-size: clamp(34px, 9vw, 43px);
  }
  .hero-copy > p {
    font-size: 16px;
  }
  .hero-actions {
    gap: 12px;
  }
  .btn {
    padding: 13px 16px;
    gap: 16px;
    font-size: 13px;
  }
  .hero-bottom {
    font-size: 9px;
    letter-spacing: 0.4px;
  }
  .kicker {
    font-size: 10px;
    letter-spacing: 0.2px;
  }
  .strip {
    justify-content: center;
    flex-wrap: wrap;
    font-size: 10px;
    gap: 12px;
    padding-block: 18px;
  }
  .service-grid {
    grid-template-columns: 1fr;
  }
  .service-card {
    min-height: 200px;
  }
  .about h2,
  .section-heading h2 {
    font-size: 32px;
  }
  .footer-main {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .footer-brand {
    grid-column: auto;
  }
  .footer-message h2 {
    font-size: 26px;
  }
  .footer-contact {
    padding-top: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
  }
  .footer-phone {
    font-size: clamp(13px, 3.7vw, 18px);
  }
  .footer-back {
    grid-column: 1/-1;
    margin-top: 2px;
  }
  .footer-copyright {
    text-align: left;
    font-size: 8px;
    letter-spacing: 0.3px;
  }
  .footer-details {
    flex-direction: column;
    padding: 26px 0 32px;
  }
  .footer-address h3 {
    font-size: 13px;
  }
  .s-stage {
    width: 250px;
    height: 250px;
    width: min(72vw, 38vh);
    height: min(72vw, 38vh);
  }
  .intro-content .language-switch {
    margin-bottom: 16px;
  }
  .eyebrow {
    font-size: 10px;
    letter-spacing: 0.6px;
  }
  .intro-content p {
    font-size: 10px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .hero-copy,
  .hero-visual,
  .news-heading > :not(.news-orbit),
  .reveal-in {
    animation: gentle-arrive 0.2s ease-out both !important;
  }
}

/* SIAM AUTOMATION TECH - CONTACT FORM */

.contact-section {
  padding-top: 100px;
  padding-bottom: 110px;
}

.contact-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 30px;
  margin: 30px 0 45px;
}

.contact-heading h2 {
  font-size: clamp(40px, 5vw, 76px);
  line-height: 1.1;
  letter-spacing: -2px;
  margin: 0 0 20px;
}

.contact-heading h2 span {
  color: #f47721;
}

.contact-heading p {
  opacity: 0.65;
  max-width: 550px;
  line-height: 1.8;
}

.contact-heading-mark {
  color: #f47721;
  font-size: 65px;
}

.contact-form-panel {
  background: #fff;
  color: #181818;
  border-radius: 18px;
  padding: clamp(24px, 5vw, 55px);
  box-shadow: 0 20px 70px rgba(0, 0, 0, 0.09);
}

.contact-panel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding-bottom: 30px;
  margin-bottom: 35px;
  border-bottom: 1px solid #e8e8e8;
}

.contact-form-kicker {
  font-size: 11px;
  color: #e76c15;
  font-weight: 700;
  letter-spacing: 2px;
}

.contact-panel-header h3 {
  margin: 10px 0 0;
  font-size: 25px;
}

.contact-status {
  display: inline-flex;
  gap: 9px;
  align-items: center;
  font-size: 10px;
  font-weight: 700;
  color: #777;
  white-space: nowrap;
}

.contact-status-dot {
  height: 8px;
  width: 8px;
  background: #39b980;
  border-radius: 50%;
}

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

.form-field {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}

.form-field.full {
  grid-column: 1 / -1;
}

.form-field label {
  font-size: 13px;
  font-weight: 650;
}

.form-field label span {
  color: #ed681d;
}

.inquiry-form input:not([type="file"]),
.inquiry-form select,
.inquiry-form textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 15px 16px;
  border: 1px solid #dadde2;
  border-radius: 7px;
  outline: none;
  background: #fafafa;
  color: #202020;
  font: inherit;
  font-size: 14px;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
}

.inquiry-form textarea {
  min-height: 160px;
  resize: vertical;
}

.inquiry-form input:focus,
.inquiry-form select:focus,
.inquiry-form textarea:focus {
  border-color: #f47721;
  box-shadow: 0 0 0 3px rgba(244, 119, 33, 0.1);
  background: #fff;
}

.inquiry-form input::placeholder,
.inquiry-form textarea::placeholder {
  color: #999;
}

.file-upload-box {
  border: 1px dashed #cfd3d9;
  background: #fafafa;
  border-radius: 9px;
  padding: 25px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
}

.file-upload-icon {
  font-size: 32px;
  color: #e97820;
}

.file-upload-box strong,
.file-upload-box small {
  display: block;
}

.file-upload-box small {
  font-size: 11px;
  color: #888;
  margin-top: 5px;
}

.file-upload-box input {
  width: 100%;
  font-size: 12px;
}

.inquiry-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-top: 35px;
}

/* CONTACT FORM - FOLLOW ORIGINAL WEBSITE THEME */

#contact.contact-section {
  padding-top: 100px;
  padding-bottom: 110px;
  background: transparent;
  color: inherit;
}

#contact .contact-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 30px;
  margin: 30px 0 45px;
}

#contact .contact-heading h2 {
  font-size: clamp(38px, 5vw, 76px);
  line-height: 1.1;
  letter-spacing: -1.5px;
  margin: 0 0 20px;
  color: inherit;
}

#contact .contact-heading h2 span {
  color: inherit;
}

#contact .contact-heading p {
  opacity: 0.65;
  max-width: 550px;
  line-height: 1.8;
}

#contact .contact-heading-mark {
  color: inherit;
  font-size: 65px;
}

#contact .contact-form-panel {
  background: var(--surface, #ffffff);
  color: var(--text, #181818);
  border: 1px solid var(--border, #e5e5e5);
  border-radius: 16px;
  padding: clamp(24px, 5vw, 55px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.045);
}

#contact .contact-panel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding-bottom: 30px;
  margin-bottom: 35px;
  border-bottom: 1px solid var(--border, #e5e5e5);
}

#contact .contact-form-kicker {
  color: inherit;
  opacity: 0.7;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
}

#contact .contact-panel-header h3 {
  color: inherit;
  font-size: 25px;
  margin: 10px 0 0;
}

#contact .contact-status {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 10px;
  opacity: 0.7;
}

#contact .contact-status-dot {
  width: 8px;
  height: 8px;
  background: #39b980;
  border-radius: 50%;
}

#contact .form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px 24px;
}

#contact .form-field {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}

#contact .form-field.full {
  grid-column: 1 / -1;
}

#contact .form-field label {
  color: inherit;
  font-size: 13px;
  font-weight: 600;
}

#contact .form-field label span {
  color: inherit;
}

#contact .inquiry-form input:not([type="file"]),
#contact .inquiry-form select,
#contact .inquiry-form textarea {
  display: block;
  width: 100%;
  box-sizing: border-box;
  padding: 15px 16px;
  background: var(--input-bg, #fafafa);
  color: inherit;
  border: 1px solid var(--border, #dadde2);
  border-radius: 7px;
  outline: none;
  font: inherit;
  font-size: 14px;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
}

#contact .inquiry-form textarea {
  min-height: 160px;
  resize: vertical;
}

#contact .inquiry-form input:focus,
#contact .inquiry-form select:focus,
#contact .inquiry-form textarea:focus {
  border-color: currentColor;
}

#contact .file-upload-box {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  padding: 25px;
  background: var(--input-bg, #fafafa);
  border: 1px dashed var(--border, #dadde2);
  border-radius: 9px;
}

#contact .file-upload-icon {
  font-size: 32px;
  color: inherit;
}

#contact .file-upload-box strong,
#contact .file-upload-box small {
  display: block;
}

#contact .file-upload-box small {
  margin-top: 5px;
  opacity: 0.6;
  font-size: 11px;
}

#contact .file-upload-box input[type="file"] {
  width: 100%;
  font-size: 12px;
}

#contact .inquiry-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-top: 35px;
}

#contact .inquiry-footer p {
  opacity: 0.6;
  font-size: 12px;
}

#contact .inquiry-submit {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 45px;
  padding: 17px 30px;
  background: var(--accent, #222);
  color: #fff;
  border: 0;
  border-radius: 6px;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition:
    opacity 0.2s,
    transform 0.2s;
}

#contact .inquiry-submit:hover {
  opacity: 0.85;
  transform: translateY(-2px);
}

@media (max-width: 700px) {
  #contact.contact-section {
    padding-top: 65px;
    padding-bottom: 70px;
  }

  #contact .contact-heading-mark,
  #contact .contact-status {
    display: none;
  }

  #contact .form-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  #contact .inquiry-footer {
    flex-direction: column;
    align-items: stretch;
  }

  #contact .inquiry-submit {
    width: 100%;
  }

  #contact .contact-panel-header h3 {
    font-size: 21px;
  }
}

/* MINIMAL CONTACT FORM */

#contact.contact-section {
  max-width: 820px;
  margin: 0 auto;
  padding: 65px 24px 85px;
  background: transparent;
  color: inherit;
}

#contact .contact-heading {
  display: block;
  margin: 16px 0 28px;
}

#contact .contact-heading h2 {
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.25;
  letter-spacing: -0.8px;
  margin: 0 0 9px;
  font-weight: 650;
  color: inherit;
}

#contact .contact-heading h2 span {
  color: inherit;
}

#contact .contact-heading p {
  margin: 0;
  font-size: 13px;
  line-height: 1.7;
  opacity: 0.65;
}

#contact .contact-heading-mark {
  display: none;
}

#contact .contact-form-panel {
  padding: 28px 30px;
  background: transparent;
  color: inherit;
  border: 1px solid rgba(128, 128, 128, 0.23);
  border-radius: 10px;
  box-shadow: none;
}

#contact .contact-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 0 18px;
  margin: 0 0 23px;
  border-bottom: 1px solid rgba(128, 128, 128, 0.18);
}

#contact .contact-form-kicker {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 1px;
  opacity: 0.6;
  color: inherit;
}

#contact .contact-panel-header h3 {
  margin: 5px 0 0;
  font-size: 17px;
  font-weight: 600;
  color: inherit;
}

#contact .contact-status {
  font-size: 10px;
  opacity: 0.6;
  color: inherit;
}

#contact .contact-status-dot {
  width: 6px;
  height: 6px;
  background: #39b980;
  border-radius: 50%;
  display: inline-block;
  margin-right: 5px;
}

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

#contact .form-field {
  display: flex;
  flex-direction: column;
  gap: 7px;
  min-width: 0;
}

#contact .form-field.full {
  grid-column: 1 / -1;
}

#contact .form-field label {
  color: inherit;
  font-size: 12px;
  font-weight: 500;
}

#contact .form-field label span {
  color: inherit;
  opacity: 0.6;
}

#contact .inquiry-form input:not([type="file"]),
#contact .inquiry-form select,
#contact .inquiry-form textarea {
  width: 100%;
  box-sizing: border-box;
  min-height: 40px;
  padding: 10px 12px;
  font: inherit;
  font-size: 12px;
  color: inherit;
  background: transparent;
  border: 1px solid rgba(128, 128, 128, 0.28);
  border-radius: 5px;
  outline: none;
  box-shadow: none;
  transition: border-color 0.2s;
}

#contact .inquiry-form textarea {
  min-height: 95px;
  resize: vertical;
}

#contact .inquiry-form input:focus,
#contact .inquiry-form select:focus,
#contact .inquiry-form textarea:focus {
  border-color: currentColor;
}

#contact .inquiry-form input::placeholder,
#contact .inquiry-form textarea::placeholder {
  opacity: 0.45;
  color: inherit;
}

#contact .file-upload-box {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  padding: 12px 14px;
  background: transparent;
  border: 1px dashed rgba(128, 128, 128, 0.28);
  border-radius: 5px;
}

#contact .file-upload-icon {
  font-size: 20px;
  color: inherit;
  opacity: 0.6;
}

#contact .file-upload-box strong {
  display: block;
  font-size: 12px;
  font-weight: 500;
}

#contact .file-upload-box small {
  display: block;
  font-size: 10px;
  opacity: 0.55;
  margin-top: 3px;
}

#contact .file-upload-box input[type="file"] {
  width: 100%;
  font-size: 11px;
}

#contact .inquiry-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 22px;
}

#contact .inquiry-footer p {
  margin: 0;
  font-size: 11px;
  opacity: 0.55;
}

#contact .inquiry-submit {
  display: inline-flex;
  align-items: center;
  gap: 22px;
  padding: 11px 18px;
  min-height: 40px;
  border: 1px solid currentColor;
  border-radius: 5px;
  background: transparent;
  color: inherit;
  font: inherit;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition:
    opacity 0.2s,
    transform 0.2s;
}

#contact .inquiry-submit:hover {
  opacity: 0.65;
  transform: translateY(-1px);
}

@media (max-width: 700px) {
  #contact.contact-section {
    padding: 45px 18px 65px;
  }

  #contact .contact-form-panel {
    padding: 20px 18px;
  }

  #contact .form-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  #contact .contact-status {
    display: none;
  }

  #contact .inquiry-footer {
    flex-direction: column;
    align-items: stretch;
  }

  #contact .inquiry-submit {
    justify-content: space-between;
  }
}

/* Contact: readable email inputs, keyboard focus and honest delivery states. */
#contact .contact-heading h1 {
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.25;
  letter-spacing: -0.8px;
  margin: 0 0 9px;
  font-weight: 600;
}
#contact .contact-direct-email {
  display: inline-block;
  margin-top: 14px;
  color: #60d5e8;
  font-size: 14px;
  overflow-wrap: anywhere;
}
#contact .form-field label { font-size: 14px; }
#contact .inquiry-form input:not([type="file"]),
#contact .inquiry-form select,
#contact .inquiry-form textarea {
  min-height: 48px;
  font-size: 16px;
  background: #081624;
  border-color: #2d4053;
  color: #f4f8fc;
}
#contact .inquiry-form select option { color: #f4f8fc; background: #081624; }
#contact .inquiry-form input:focus,
#contact .inquiry-form select:focus,
#contact .inquiry-form textarea:focus {
  border-color: #60d5e8;
  outline: 2px solid rgba(96, 213, 232, 0.3);
  outline-offset: 2px;
}
#contact .inquiry-form input::placeholder,
#contact .inquiry-form textarea::placeholder { opacity: 1; color: #8296aa; }
#contact .form-field small { font-size: 12px; line-height: 1.6; color: #9faec0; }
#contact .form-field .field-error { color: #ffadb0; }
#contact .inquiry-form [aria-invalid="true"] { border-color: #f18a92; }
#contact .contact-status.is-pending .contact-status-dot { background: #e6b67a; }
#contact .form-trap { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); clip-path: inset(50%); }
#contact .form-privacy { font-size: 12px; color: #9faec0; line-height: 1.65; margin: 18px 0 0; }
#contact .form-privacy a { color: var(--cyan); text-decoration: underline; text-underline-offset: 3px; }
#contact .form-pending, #contact .form-error, #contact .form-success {
  font-size: 13px;
  line-height: 1.65;
  border: 1px solid #405060;
  border-radius: 6px;
  padding: 12px 14px;
  margin: 16px 0;
}
#contact .form-pending { color: #e4d3ba; background: #191d23; border-color: #514739; }
#contact .form-error { color: #ffb6bc; background: #2a161e; border-color: #75434b; }
#contact .form-success { color: #a5e8cd; background: #0c2927; border-color: #35665a; }
#contact .inquiry-submit { min-height: 48px; font-size: 14px; }
#contact .inquiry-submit:disabled { opacity: 0.45; cursor: not-allowed; transform: none; }
#contact .file-upload-box input[type="file"] { max-width: 100%; font-size: 14px; }
#contact .file-upload-box small { opacity: 1; color: #9faec0; }
#contact .contact-heading { animation: page-arrive 0.75s ease-out both; }
@media (max-width: 700px) {
  #contact.contact-section { padding-bottom: 70px; }
  #contact .contact-form-panel { padding: 22px 18px; }
}
@media (prefers-reduced-motion: reduce) {
  #contact .contact-heading { animation: gentle-arrive 0.18s ease-out both; }
}

/* Contact popup: the robot places the real form fields into their slots. */
.contact-entry[hidden], .contact-popup-toolbar[hidden], .contact-modal[hidden], .contact-arm-canvas[hidden] { display: none !important; }
.contact-entry { margin-top: 24px; }
.contact-popup-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 15px 24px; border-bottom: 1px solid #294657; background: #0a1d2b; position: sticky; top: 0; z-index: 8; }
.contact-popup-toolbar > span { color: #e5f6fc; font-size: 18px; font-weight: 500; }
.contact-popup-toolbar .contact-assembly-status { margin-left: auto; color: #79b4c7; font-size: 11px; font-weight: 400; }
.contact-popup-close { display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid #3a6174; border-radius: 50%; background: #142e3f; color: #b9dbe8; font: 28px/1 sans-serif; cursor: pointer; }
.contact-popup-close:hover { color: #fff; border-color: #63d6de; }
body.contact-popup-open { overflow: hidden; }
body.contact-popup-open .contact-dock { visibility: hidden; }
.contact-popup-ready .contact-modal { position: fixed; inset: 0; top: 0; left: 0; right: 0; bottom: 0; z-index: 80; display: flex; align-items: center; justify-content: center; padding: 20px; background: rgba(2, 9, 17, 0.78); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.contact-popup-ready .contact-dialog { position: relative; width: 100%; max-width: 850px; max-height: calc(100vh - 40px); overflow: auto; overscroll-behavior: contain; border: 1px solid #3a5f74; border-radius: 18px; background: #081a28; box-shadow: 0 28px 100px #0009; }
.contact-popup-ready #contact .contact-form-panel { position: relative; border: 0; border-radius: 0; padding: 24px 60px; overflow: hidden; }
.contact-popup-ready #contact .contact-panel-header { margin-bottom: 20px; }
.contact-popup-ready #contact .contact-panel-header h3 { font-size: 16px; }
.contact-popup-ready #contact .form-field-subject, .contact-popup-ready #contact .form-grid > .form-field:nth-child(6) { grid-column: auto; }
.contact-popup-ready #contact .inquiry-form textarea { min-height: 86px; height: 100px; }
.contact-popup-ready #contact .form-grid { gap: 16px; }
.contact-arm-canvas { position: absolute; left: 0; top: 0; width: 100%; pointer-events: none; z-index: 6; overflow: hidden; }
.contact-motion-active .inquiry-form { position: relative; z-index: 2; }
.contact-motion-active .form-field { position: relative; transform-origin: center center; background: #081a28; }
.contact-motion-active .inquiry-footer { position: relative; transform-origin: center center; background: #081a28; }
#contact .contact-field-held { background: #122e40; outline: 1px solid #5ccbd6; border-radius: 7px; box-shadow: none; will-change: transform; backface-visibility: hidden; }
#contact .contact-field-held::before { content: ''; position: absolute; left: 50%; top: -1px; width: 20px; height: 3px; transform: translateX(-50%); border-radius: 1px; background: #89e8e9; pointer-events: none; }
.contact-popup-ready .contact-modal.contact-assembly-active { -webkit-backdrop-filter: none; backdrop-filter: none; }
.contact-motion-lite .contact-arm-metal-face { display: none; }
.contact-motion-lite .contact-arm-shell { stroke: #84a7b9; }
@media (max-width: 700px) {
  .contact-popup-ready .contact-modal { padding: 10px; }
  .contact-popup-ready .contact-dialog { max-height: calc(100vh - 20px); border-radius: 14px; }
  .contact-popup-toolbar { padding: 12px 16px; }
  .contact-popup-toolbar .contact-assembly-status { font-size: 10px; max-width: 120px; text-align: right; }
  .contact-popup-ready #contact .contact-form-panel { padding: 18px 48px; }
  .contact-popup-ready #contact .form-field-subject, .contact-popup-ready #contact .form-grid > .form-field:nth-child(6) { grid-column: 1 / -1; }
}

/* Three generated service photos per card, sliding independently. */
.service-card { padding: 0; overflow: hidden; }
.service-card-body { display: flex; flex-direction: column; align-items: flex-start; width: 100%; padding: 23px 24px 25px; flex: 1; }
.service-card-body .service-top { margin-bottom: 14px; }
.service-card-body h3 { margin: 0 0 22px; }
.service-carousel { position: relative; width: 100%; height: 210px; aspect-ratio: 16 / 10; overflow: hidden; background: #102a3a; isolation: isolate; }
.service-slide { position: absolute; top: 0; right: 0; bottom: 0; left: 0; margin: 0; opacity: 0; visibility: hidden; transform: translateX(100%); transition: transform 0.7s cubic-bezier(.22,.61,.36,1); }
.service-slide.is-active { opacity: 1; visibility: visible; transform: translateX(0); z-index: 1; }
.service-slide.is-leaving { opacity: 1; visibility: visible; transform: translateX(-100%); z-index: 0; }
.service-slide picture, .service-slide img { display: block; width: 100%; height: 100%; }
.service-slide img { object-fit: cover; }
.service-carousel-controls[hidden] { display: none !important; }
.service-carousel-controls { position: absolute; bottom: 0; left: 0; right: 0; z-index: 3; display: flex; align-items: center; gap: 10px; padding: 15px 12px 8px; background: linear-gradient(transparent,rgba(2,10,18,.75)); }
.service-carousel-dots { display: flex; align-items: center; margin-right: auto; }
.service-carousel-dots button { display: grid; place-items: center; width: 28px; height: 32px; padding: 0; border: 0; background: transparent; cursor: pointer; }
.service-carousel-dots button span { width: 6px; height: 6px; border-radius: 50%; background: #fff8; transition: width .2s, background .2s; }
.service-carousel-dots button[aria-pressed="true"] span { width: 20px; border-radius: 5px; background: #60e1e4; }
.service-carousel-count { color: #e7f9fd; font: 500 10px/1 'Montserrat',sans-serif; letter-spacing: 1px; }
.service-carousel-toggle { width: 34px; height: 34px; padding: 0; border: 1px solid #b2d2dc66; border-radius: 50%; background: #04142066; color: #effcff; cursor: pointer; font-size: 15px; }
.service-carousel-toggle:hover { border-color: #71e5e7; }
@supports (aspect-ratio: 16 / 10) { .service-carousel { height: auto; } }
@media (max-width: 700px) { .service-card-body { padding: 21px 22px 24px; } }
@media (prefers-reduced-motion: reduce) { .service-slide { transition-duration: 0.01ms; } }

/* JS drives motion directly and always restores final, readable content. */
.motion-runtime .hero-copy, .motion-runtime .hero-visual,
.motion-runtime .news-heading > :not(.news-orbit), .motion-runtime .reveal-in,
.motion-runtime #contact .contact-heading, .motion-runtime .hero-s,
.motion-runtime .hero-ring, .motion-runtime .news-orbit span { animation: none !important; }
html[data-motion-mode="full"] .service-slide { transition-duration: 0.7s !important; }
html[data-motion-mode="gentle"] .service-slide { transition-duration: 0.01ms; }
html.motion-runtime .service-slide { transition: none !important; }
.intro-skip { position: fixed; right: 24px; bottom: 24px; z-index: 5; min-height: 44px; padding: 9px 16px; border: 1px solid #54818d; border-radius: 24px; color: #d4f3f5; background: #061622d9; font: inherit; font-size: 12px; cursor: pointer; }
.intro-skip[hidden] { display: none; }
.intro-skip:hover { border-color: #71e5e7; }

@media(max-width:380px){.header{padding-inline:18px;gap:8px}.header .brand img{width:118px}.header-actions{gap:6px}.language-switch a{padding:7px}.sound-toggle{width:32px;height:32px;padding:6px}}
.service-icon svg{width:29px;height:29px;display:block;filter:drop-shadow(0 0 5px #4bd3db20)}
.service-icon{width:46px;height:46px;border-color:#426e80;background:linear-gradient(135deg,#1b425a55,#0b243000);border-radius:8px}
.service-icon .icon-accent{stroke:#ff8492}
.protection-notice{position:fixed;left:50%;bottom:28px;transform:translateX(-50%);max-width:calc(100vw - 36px);z-index:100000;padding:13px 20px;border:1px solid #80eee8;border-radius:40px;background:#062431f2;color:#f1ffff;box-shadow:0 10px 36px #0005;font:500 13px/1.5 Kanit,Arial,sans-serif;text-align:center;pointer-events:none}
.protection-notice[hidden]{display:none}
@media(max-width:800px){.protection-notice{bottom:100px;font-size:12px;width:max-content}}
