/* =========================================================
   ORIGINAL STYLES
========================================================== */
:root {
  --primary: #1a5555;
  --primary-dark: #103d3d;
  --primary-light: #6fc4b0;
  --navy: #0b1f33;
  --navy-2: #122d45;
  --white: #ffffff;
  --off-white: #f5f7f6;
  --gray: #6c7777;
  --gray-light: #dfe6e4;
  --border: rgba(26, 85, 85, 0.14);
  --font-thai: "Noto Sans Thai", sans-serif;
  --font-display: "Manrope", sans-serif;
  --font-mono: "DM Mono", monospace;
  --container: 1180px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--white);
  color: var(--navy);
  font-family: var(--font-thai);
  line-height: 1.8;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

.container {
  width: min(calc(100% - 48px), var(--container));
  margin: auto;
}

/* FOOTER */
footer {
  background: #071522;
  color: white;
}

.footer-main {
  display: grid;
  grid-template-columns: 1.4fr .7fr .9fr;
  gap: 70px;
  padding: 75px 0;
}

.footer-brand p {
  max-width: 420px;
  margin-top: 20px;
  color: rgba(255,255,255,.42);
  font-size: 12px;
  line-height: 1.9;
}

.footer-title {
  font-size: 12px;
  font-weight: 700;
}

.footer-links {
  display: grid;
  gap: 9px;
  margin-top: 20px;
}

.footer-links a {
  color: rgba(255,255,255,.42);
  font-size: 12px;
}

.footer-links a:hover {
  color: #72c8b4;
}

.footer-contact {
  margin-top: 20px;
  color: rgba(255,255,255,.42);
  font-size: 12px;
  line-height: 2;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 0;
  border-top: 1px solid rgba(255,255,255,.08);
}

.copyright,
.footer-code {
  color: rgba(255,255,255,.25);
  font-family: "DM Mono", monospace;
  font-size: 8px;
  letter-spacing: .05em;
}

/* =========================================================
   ORIGINAL SECTION STYLES
========================================================== */
/* HERO */
.hero {
  position: relative;
  min-height: 610px;
  padding-top: 82px;
  background: linear-gradient(135deg, rgba(26, 85, 85, 0.97), rgba(11, 31, 51, 0.98));
  overflow: hidden;
  color: white;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.12;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.35) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.35) 1px, transparent 1px);
  background-size: 50px 50px;
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  width: 500px;
  height: 500px;
  right: -160px;
  top: 80px;
  border: 1px solid rgba(111, 196, 176, 0.25);
  border-radius: 50%;
  box-shadow: 0 0 0 60px rgba(111, 196, 176, 0.04), 0 0 0 120px rgba(111, 196, 176, 0.025);
}

.hero-inner {
  position: relative;
  z-index: 2;
  min-height: 528px;
  display: flex;
  align-items: center;
}

.hero-content {
  max-width: 800px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--primary-light);
}

.eyebrow::before {
  content: "";
  width: 42px;
  height: 1px;
  background: var(--primary-light);
}

.hero h1 {
  margin-bottom: 20px;
  font-size: clamp(42px, 6vw, 76px);
  line-height: 1.08;
  letter-spacing: -0.04em;
  font-weight: 600;
}

.hero h1 span {
  display: block;
  margin-top: 14px;
  font-family: var(--font-display);
  font-size: clamp(16px, 2vw, 24px);
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--primary-light);
}

.hero-description {
  max-width: 680px;
  font-size: 17px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.78);
}

.hero-meta {
  margin-top: 38px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-meta-item {
  padding: 9px 14px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  font-family: var(--font-mono);
  font-size: 10px;
  color: rgba(255, 255, 255, 0.72);
}

/* INTRO */
.intro {
  padding: 110px 0 90px;
}

.intro-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 100px;
  align-items: start;
}

.section-number {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--primary);
  letter-spacing: 0.08em;
}

.intro h2 {
  margin-top: 18px;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.25;
  font-weight: 600;
  color: var(--navy);
}

.intro-copy p {
  margin-bottom: 20px;
  color: #536060;
  font-size: 16px;
}

.highlight {
  padding: 24px 26px;
  margin-top: 30px;
  background: var(--off-white);
  border-left: 3px solid var(--primary);
}

.highlight strong {
  display: block;
  margin-bottom: 5px;
  font-family: var(--font-display);
  font-size: 13px;
  color: var(--primary);
}

.highlight span {
  color: var(--navy);
  font-size: 15px;
}

/* PROJECT */
.project {
  padding: 100px 0;
  background: var(--off-white);
}

.project-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 55px;
}

.project-header h2 {
  margin-top: 14px;
  font-size: 38px;
  line-height: 1.3;
}

.project-header p {
  max-width: 460px;
  color: var(--gray);
  font-size: 15px;
}

.project-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}

.project-image {
  position: relative;
  min-height: 430px;
  overflow: hidden;
  background: var(--navy);
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.project-image:hover img {
  transform: scale(1.04);
}

.image-label {
  position: absolute;
  left: 20px;
  bottom: 20px;
  padding: 8px 12px;
  background: rgba(11, 31, 51, 0.85);
  color: white;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
}

.project-info {
  padding-top: 5px;
}

.project-tag {
  margin-bottom: 18px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--primary);
}

.project-info h3 {
  margin-bottom: 20px;
  font-size: 30px;
  line-height: 1.35;
}

.project-info p {
  color: #586363;
  font-size: 15px;
}

.project-facts {
  margin-top: 35px;
  border-top: 1px solid var(--gray-light);
}

.project-fact {
  padding: 15px 0;
  display: flex;
  justify-content: space-between;
  gap: 30px;
  border-bottom: 1px solid var(--gray-light);
  font-size: 14px;
}

.project-fact span:first-child {
  color: var(--gray);
}

.project-fact span:last-child {
  text-align: right;
  color: var(--navy);
  font-weight: 500;
}

/* EQUIPMENT */
.equipment {
  padding: 110px 0;
}

.equipment-header {
  max-width: 700px;
  margin-bottom: 55px;
}

.equipment-header h2 {
  margin-top: 16px;
  font-size: 40px;
  line-height: 1.3;
}

.equipment-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--border);
  border-left: 1px solid var(--border);
}

.equipment-card {
  min-height: 250px;
  padding: 34px 30px;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.equipment-number {
  margin-bottom: 35px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--primary);
}

.equipment-card h3 {
  margin-bottom: 12px;
  font-size: 19px;
}

.equipment-card p {
  color: var(--gray);
  font-size: 14px;
}

/* TEST SETUP */
.test-setup {
  padding: 0 0 110px;
  background: var(--white);
}

.test-setup-header {
  max-width: 700px;
  margin-bottom: 45px;
}

.test-setup-header h2 {
  margin-top: 16px;
  font-size: 40px;
  line-height: 1.3;
}

.test-setup-header p {
  margin-top: 18px;
  color: var(--gray);
  font-size: 15px;
}

.test-setup-image-wrap {
  position: relative;
  max-width: 1100px;
  margin: auto;
  background: var(--off-white);
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(11, 31, 51, 0.08);
}

.test-setup-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  transition: transform 0.6s ease;
}

.test-setup-image-wrap:hover .test-setup-image {
  transform: scale(1.015);
}

.test-setup-caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 15px 20px;
  background: white;
  border-top: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  color: var(--primary);
}

.test-setup-caption span:last-child {
  color: var(--gray);
}

/* METHOD */
.method {
  padding: 100px 0;
  background: var(--navy);
  color: white;
}

.method-header {
  margin-bottom: 60px;
}

.method-header .section-number {
  color: var(--primary-light);
}

.method-header h2 {
  margin-top: 14px;
  font-size: 40px;
  line-height: 1.3;
}

.method-header p {
  max-width: 650px;
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.65);
}

.load-sequence {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, 0.1);
}

.load-step {
  min-height: 150px;
  padding: 24px;
  background: var(--navy);
}

.load-step-number {
  margin-bottom: 22px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--primary-light);
}

.load-step strong {
  display: block;
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 500;
}

.load-step span {
  display: block;
  margin-top: 7px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.52);
}

.method-note {
  margin-top: 28px;
  padding: 22px 24px;
  border: 1px solid rgba(111, 196, 176, 0.2);
  color: rgba(255, 255, 255, 0.68);
  font-size: 13px;
  line-height: 2;
}

.method-note strong {
  color: var(--primary-light);
}

/* RECORD */
.record {
  padding: 100px 0;
}

.record-grid {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 90px;
}

.record h2 {
  margin-top: 15px;
  font-size: 38px;
  line-height: 1.3;
}

.record-content p {
  color: var(--gray);
  font-size: 15px;
}

.record-list {
  margin-top: 35px;
  border-top: 1px solid var(--gray-light);
}

.record-item {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid var(--gray-light);
}

.record-item-number {
  font-family: var(--font-mono);
  color: var(--primary);
  font-size: 11px;
}

.record-item-text {
  font-size: 15px;
  color: var(--navy);
}

.cta {
  background: var(--primary);
  color: white;
  padding: 100px 0;
}
.cta-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
}
.cta h2 {
  margin: 0;
  font-weight: 500;
}
.cta p {
  color: rgba(255,255,255,.65);
  margin-top: 10px;
}
.cta a {
  background: white;
  color: var(--primary);
  padding: 17px 28px;
  font-family: "Manrope", sans-serif;
  font-weight: 700;
  font-size: 13px;
  transition: background-color .25s ease, color .25s ease;
  border-radius: 6px;
}
.cta a:hover {
  background: var(--navy);
  color: white;
}

/* REVEAL */
.reveal {
  opacity: 0;
  transform: translateY(25px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* RESPONSIVE */
@media (max-width: 1000px) {
  .equipment-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 900px) {
  .intro-grid,
  .record-grid {
    grid-template-columns: 1fr;
    gap: 45px;
  }

  .project-grid {
    grid-template-columns: 1fr;
  }

  .load-sequence {
    grid-template-columns: 1fr 1fr;
  }

  .footer-main {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

  .cta-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 760px) {
  .container {
    width: calc(100% - 32px);
  }

  .hero {
    padding-top: 76px;
    min-height: 580px;
  }

  .hero-inner {
    min-height: 510px;
  }

  .hero h1 {
    font-size: 43px;
  }

  .hero-description {
    font-size: 15px;
  }

  .intro,
  .equipment,
  .record {
    padding: 75px 0;
  }

  .project,
  .method {
    padding: 75px 0;
  }

  .intro h2,
  .project-header h2,
  .equipment-header h2,
  .method-header h2,
  .record h2,
  .cta h2,
  .test-setup-header h2 {
    font-size: 30px;
  }

  .project-header {
    display: block;
  }

  .project-header p {
    margin-top: 20px;
  }

  .project-image {
    min-height: 300px;
  }

  .equipment-grid {
    grid-template-columns: 1fr;
  }

  .load-sequence {
    grid-template-columns: 1fr;
  }

  .load-step {
    min-height: auto;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 8px;
  }

  .test-setup {
    padding-bottom: 75px;
  }

  .test-setup-header {
    margin-bottom: 30px;
  }

  .test-setup-header p {
    font-size: 14px;
  }

  .test-setup-image-wrap {
    width: 100%;
  }

  .test-setup-caption {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    padding: 13px 15px;
  }
}

/* =========================================================
   RELATED SERVICES
========================================================== */
.related-services {
  padding: 100px 0 80px;
}

.related-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 55px;
}

.related-header .section-number {
  display: inline-block;
}

.related-header h2 {
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.25;
  margin-top: 12px;
}

.related-header p {
  color: var(--gray);
  margin-top: 14px;
  font-size: 15px;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.related-card {
  display: flex;
  flex-direction: column;
  padding: 32px 28px 28px;
  background: white;
  border: 1px solid var(--border);
  border-radius: 12px;
  transition: all 0.3s ease;
  text-decoration: none;
  color: inherit;
}

.related-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 15px 40px rgba(11,31,51,0.08);
  border-color: var(--primary);
}

.related-icon {
  font-size: 28px;
  margin-bottom: 18px;
}

.related-card h3 {
  font-size: 17px;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.3;
  margin-bottom: 8px;
}

.related-card p {
  color: var(--gray);
  font-size: 13px;
  line-height: 1.6;
  flex: 1;
}

.related-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 18px;
  font-family: "Manrope", sans-serif;
  font-size: 12px;
  font-weight: 700;
  color: var(--primary);
  transition: gap 0.3s ease;
}

.related-card:hover .related-link {
  gap: 12px;
}

@media (max-width: 900px) {
  .cta-inner {
    flex-direction: column;
    align-items: flex-start;
  }
  .related-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .related-services {
    padding: 70px 0 50px;
  }

  .related-grid {
    grid-template-columns: 1fr;
  }

  .related-card {
    padding: 24px 20px;
  }
}