:root {
  --primary: #1a5555;
  --primary-dark: #123f3f;
  --primary-deep: #0d3030;
  --primary-light: #e0eeee;

  --navy: #0b1f33;
  --navy-dark: #071522;
  --navy-light: #173a55;

  --white: #ffffff;
  --off-white: #f5f8f7;

  --gray-100: #eef3f2;
  --gray-200: #dce6e4;
  --gray-400: #9aa9ad;
  --gray-500: #687780;
  --gray-600: #52636b;
  --gray-700: #34474f;

  --line: #dce6e4;

  --container: 1200px;

  --shadow-sm:
    0 4px 20px rgba(11, 31, 51, 0.05);

  --shadow-md:
    0 15px 50px rgba(11, 31, 51, 0.08);

  --shadow-lg:
    0 25px 80px rgba(11, 31, 51, 0.14);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family:
    "Noto Sans Thai",
    "Manrope",
    sans-serif;

  color: #172b36;
  background: #fff;
  line-height: 1.7;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

::selection {
  background: var(--primary);
  color: white;
}

.container {
  width: min(
    calc(100% - 48px),
    var(--container)
  );

  margin: auto;
}

.section {
  padding: 120px 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;

  color: var(--primary);

  font-family: "DM Mono", monospace;
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";

  width: 32px;
  height: 2px;

  background: var(--primary);
}

.section-title {
  margin-top: 18px;

  color: var(--navy);

  font-size: clamp(
    34px,
    4vw,
    56px
  );

  line-height: 1.15;
  letter-spacing: -.04em;
}

.section-title span {
  color: var(--primary);
}

.section-description {
  max-width: 700px;

  margin-top: 20px;

  color: var(--gray-500);

  font-size: 15px;
  line-height: 2;
}


/* =========================================================
   HERO
========================================================== */

.hero {
  min-height: 100vh;

  display: flex;
  align-items: center;

  position: relative;

  background:
    linear-gradient(
      90deg,
      rgba(7,21,34,.98),
      rgba(7,21,34,.88),
      rgba(7,21,34,.65)
    ),
    linear-gradient(
      135deg,
      #0b1f33,
      #173a55
    );

  overflow: hidden;
}

.hero-grid {
  position: absolute;

  inset: 0;

  opacity: .13;

  background-image:
    linear-gradient(
      rgba(255,255,255,.15) 1px,
      transparent 1px
    ),
    linear-gradient(
      90deg,
      rgba(255,255,255,.15) 1px,
      transparent 1px
    );

  background-size: 80px 80px;
}

.hero-content {
  position: relative;

  z-index: 2;

  padding:
    150px 0
    100px;
}

.hero-label {
  display: flex;

  align-items: center;

  gap: 12px;

  color: #75c8b3;

  font-family: "DM Mono", monospace;

  font-size: 11px;

  letter-spacing: .12em;
}

.hero-label::before {
  content: "";

  width: 38px;
  height: 2px;

  background: #75c8b3;
}

.hero-title {
  max-width: 850px;

  margin-top: 24px;

  color: white;

  font-size:
    clamp(48px, 7vw, 88px);

  line-height: 1.05;

  letter-spacing: -.055em;
}

.hero-title span {
  color: #72c8b4;
}

.hero-description {
  max-width: 720px;

  margin-top: 30px;

  color:
    rgba(255,255,255,.7);

  font-size: 16px;

  line-height: 2;
}

.hero-actions {
  display: flex;

  flex-wrap: wrap;

  gap: 14px;

  margin-top: 40px;
}

.btn {
  min-height: 52px;

  display: inline-flex;

  align-items: center;
  justify-content: center;

  gap: 10px;

  padding: 0 24px;

  border-radius: 6px;

  font-size: 13px;
  font-weight: 600;

  transition: .25s ease;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--primary);
  color: white;
}

.btn-primary:hover {
  background: #236969;

  transform: translateY(-2px);
}

.btn-outline {
  color: white;

  border: 1px solid
    rgba(255,255,255,.25);

  background:
    rgba(255,255,255,.04);
}

.btn-outline:hover {
  background:
    rgba(255,255,255,.1);
}

.hero-meta {
  display: flex;

  flex-wrap: wrap;

  gap: 50px;

  margin-top: 65px;
}

.hero-meta-item {
  display: flex;

  flex-direction: column;

  gap: 3px;
}

.hero-meta-label {
  color:
    rgba(255,255,255,.4);

  font-family: "DM Mono", monospace;

  font-size: 9px;
}

.hero-meta-value {
  color: white;

  font-size: 13px;
}


/* =========================================================
   SERVICE OVERVIEW
========================================================== */

.service-overview {
  background: white;
}

.service-heading {
  display: flex;

  justify-content: space-between;

  align-items: end;

  gap: 50px;

  margin-bottom: 60px;
}

.service-heading .section-description {
  max-width: 480px;
}

.service-grid {
  display: grid;

  grid-template-columns:
    repeat(2, 1fr);

  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.service-card {
  position: relative;

  min-height: 390px;

  padding: 40px;

  background: white;

  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);

  overflow: hidden;

  transition:
    .35s ease;
}

.service-card:hover {
  background: var(--off-white);

  transform: translateY(-4px);

  box-shadow:
    0 20px 50px
    rgba(11,31,51,.07);
}

.service-number {
  color: var(--primary);

  font-family: "DM Mono", monospace;

  font-size: 11px;
}

.service-icon {
  width: 58px;
  height: 58px;

  margin-top: 25px;

  display: grid;

  place-items: center;

  color: var(--primary);

  background: var(--primary-light);

  border-radius: 8px;
}

.service-card h3 {
  margin-top: 25px;

  color: var(--navy);

  font-size: 22px;

  line-height: 1.4;
}

.service-card h3 span {
  display: block;

  margin-top: 3px;

  color: var(--primary);

  font-family: "Manrope", sans-serif;

  font-size: 12px;

  font-weight: 700;

  letter-spacing: .04em;

  text-transform: uppercase;
}

.service-card p {
  max-width: 500px;

  margin-top: 15px;

  color: var(--gray-500);

  font-size: 13px;

  line-height: 1.9;
}

.service-link {
  display: inline-flex;

  align-items: center;

  gap: 8px;

  margin-top: 25px;

  color: var(--primary);

  font-size: 12px;

  font-weight: 700;
}

.service-link:hover {
  text-decoration: underline;
}

.service-watermark {
  position: absolute;

  right: -20px;
  bottom: -30px;

  color:
    rgba(26,85,85,.04);

  font-family: "Manrope", sans-serif;

  font-size: 110px;

  font-weight: 800;

  line-height: 1;
}


/* =========================================================
   ABOUT SECTION
========================================================== */

.about-section {
  padding: 120px 0;
  background: #ffffff;
}

.about-grid {
  display: grid;

  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;

  color: var(--primary);

  font-family: "DM Mono", monospace;
  font-size: 11px;
  font-weight: 500;

  letter-spacing: 0.12em;
}

.section-label::before {
  content: "";

  width: 30px;
  height: 1px;

  background: var(--primary);
}

.about-content h2 {
  margin-top: 18px;

  max-width: 680px;

  color: var(--navy);

  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.2;

  letter-spacing: -0.035em;
}

.about-content h2 span {
  color: var(--primary);
}

.about-lead {
  margin-top: 28px;

  color: #41545c;

  font-size: 17px;
  line-height: 1.9;
}

.about-content p:not(.about-lead) {
  max-width: 680px;

  margin-top: 18px;

  color: var(--gray-500);

  font-size: 14px;
  line-height: 1.95;
}

.about-content strong {
  color: var(--primary);
}


/* RIGHT COLUMN: LICENSE CARD DESIGN */
.license-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 24px;
  box-shadow: var(--shadow-md);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.license-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.license-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.license-card-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
}

.license-badge {
  display: inline-block;
  padding: 4px 10px;
  background: var(--primary-light);
  color: var(--primary);
  font-family: "DM Mono", monospace;
  font-size: 10px;
  font-weight: 500;
  border-radius: 4px;
}

.license-img-wrapper {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--off-white);
  transition: border-color 0.3s ease;
}

.license-img-wrapper:hover {
  border-color: var(--primary);
}

.license-img-wrapper img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}

.license-caption {
  margin-top: 14px;
  font-size: 13px;
  color: var(--gray-500);
  line-height: 1.6;
}


/* CAPABILITIES */
.about-capabilities {
  margin-top: 110px;
}

.capability-heading {
  display: flex;

  align-items: end;
  justify-content: space-between;

  gap: 30px;

  margin-bottom: 30px;
}

.capability-heading h3 {
  color: var(--navy);

  font-size: 28px;

  letter-spacing: -0.02em;
}

.capability-grid {
  display: grid;

  grid-template-columns:
    repeat(3, 1fr);

  gap: 18px;
}

.capability-card {
  position: relative;

  min-height: 320px;

  padding: 28px;

  background: var(--off-white);

  border: 1px solid var(--line);

  border-radius: 14px;

  overflow: hidden;

  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    border-color 0.3s ease;
}

.capability-card:hover {
  transform: translateY(-5px);

  border-color: #c5d7d7;

  box-shadow: var(--shadow-md);
}

.capability-number {
  color: var(--primary);

  font-family: "DM Mono", monospace;

  font-size: 10px;

  letter-spacing: 0.08em;
}

.capability-icon {
  position: absolute;

  right: 25px;
  top: 22px;

  width: 42px;
  height: 42px;

  display: flex;

  align-items: center;
  justify-content: center;

  border-radius: 8px;

  background: var(--primary-light);

  color: var(--primary);

  font-family: "Manrope", sans-serif;

  font-size: 20px;
}

.capability-card h4 {
  margin-top: 50px;

  color: var(--navy);

  font-size: 20px;

  line-height: 1.35;
}

.capability-card p {
  margin-top: 14px;

  color: var(--gray-500);

  font-size: 13px;

  line-height: 1.85;
}

.capability-tag {
  position: absolute;

  left: 28px;
  bottom: 25px;

  color: var(--primary);

  font-family: "DM Mono", monospace;

  font-size: 9px;

  letter-spacing: 0.1em;
}


/* =========================================================
   PROCESS
========================================================== */

.process {
  background: var(--navy);

  color: white;
}

.process .eyebrow {
  color: #72c8b4;
}

.process .eyebrow::before {
  background: #72c8b4;
}

.process .section-title {
  color: white;
}

.process .section-description {
  color:
    rgba(255,255,255,.5);
}

.process-grid {
  display: grid;

  grid-template-columns:
    repeat(5,1fr);

  margin-top: 65px;

  border-top:
    1px solid
    rgba(255,255,255,.12);
}

.process-item {
  min-height: 250px;

  padding: 30px 22px;

  border-right:
    1px solid
    rgba(255,255,255,.12);
}

.process-item:first-child {
  border-left:
    1px solid
    rgba(255,255,255,.12);
}

.process-number {
  color: #72c8b4;

  font-family: "DM Mono", monospace;

  font-size: 11px;
}

.process-line {
  width: 35px;
  height: 1px;

  margin-top: 28px;

  background: #72c8b4;
}

.process-item h3 {
  margin-top: 25px;

  font-size: 16px;
}

.process-item p {
  margin-top: 10px;

  color:
    rgba(255,255,255,.45);

  font-size: 12px;

  line-height: 1.9;
}


/* =========================================================
   CONTACT
========================================================== */

.contact {
  background: white;
}

.contact-grid {
  display: grid;

  grid-template-columns:
    1fr 1fr;

  gap: 100px;
}

.contact-list {
  display: grid;

  gap: 20px;

  margin-top: 40px;
}

.contact-item {
  display: flex;

  gap: 15px;

  padding-bottom: 20px;

  border-bottom:
    1px solid var(--line);
}

.contact-icon {
  flex: 0 0 44px;

  width: 44px;
  height: 44px;

  display: grid;

  place-items: center;

  color: var(--primary);

  background: var(--primary-light);

  border-radius: 7px;
}

.contact-label {
  color: var(--gray-400);

  font-family: "DM Mono", monospace;

  font-size: 9px;
}

.contact-value {
  margin-top: 3px;

  color: var(--navy);

  font-size: 13px;

  font-weight: 600;
}

.contact-value a:hover {
  color: var(--primary);
}

.contact-card {
  padding: 42px;

  background: var(--off-white);

  border: 1px solid var(--line);

  border-left:
    5px solid var(--primary);
}

.contact-card h3 {
  color: var(--navy);

  font-size: 26px;

  line-height: 1.4;
}

.contact-card > p {
  margin-top: 15px;

  color: var(--gray-500);

  font-size: 13px;

  line-height: 1.9;
}


/* ===== CONTACT TABS ===== */
.contact-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;

  margin-top: 26px;

  padding: 6px;

  background: #ffffff;

  border: 1px solid var(--line);

  border-radius: 10px;
}

.contact-tab {
  min-height: 46px;

  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;

  border: none;
  border-radius: 7px;

  background: transparent;

  color: var(--gray-600);

  font-size: 13px;
  font-weight: 600;

  cursor: pointer;

  transition: all .25s ease;
}

.contact-tab:hover {
  color: var(--primary);
}

.contact-tab.active {
  background: var(--primary);
  color: #ffffff;
  box-shadow: 0 6px 18px rgba(26, 85, 85, .25);
}

.contact-tab svg {
  width: 16px;
  height: 16px;
}


/* ===== CONTACT PANELS ===== */
.contact-panel {
  display: none;

  margin-top: 24px;

  animation: fadeInPanel .35s ease;
}

.contact-panel.active {
  display: block;
}

@keyframes fadeInPanel {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


/* ===== PHONE PANEL ===== */
.phone-panel-inner {
  text-align: center;

  padding: 14px 0 4px;
}

.phone-panel-inner p {
  color: var(--gray-500);
  font-size: 13px;
  line-height: 1.9;
}

.phone-panel-inner .btn {
  margin-top: 20px;
  width: 100%;
}

.phone-hours {
  margin-top: 18px;

  font-family: "DM Mono", monospace;

  font-size: 10px;

  letter-spacing: .06em;

  color: var(--gray-400);
}


/* ===== FORM PANEL ===== */
.contact-form {
  display: grid;

  gap: 14px;
}

.form-row {
  display: grid;

  grid-template-columns: 1fr 1fr;

  gap: 14px;
}

.form-field {
  display: flex;

  flex-direction: column;

  gap: 6px;
}

.form-field label {
  font-family: "DM Mono", monospace;

  font-size: 9px;

  letter-spacing: .12em;

  color: var(--gray-500);

  text-transform: uppercase;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;

  padding: 12px 14px;

  background: #ffffff;

  border: 1px solid var(--line);

  border-radius: 7px;

  font-family: inherit;

  font-size: 13px;

  color: var(--navy);

  transition: border-color .25s ease, box-shadow .25s ease;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;

  border-color: var(--primary);

  box-shadow: 0 0 0 3px rgba(26, 85, 85, .1);
}

.form-field textarea {
  resize: vertical;

  min-height: 100px;
}

.contact-form .btn {
  width: 100%;

  margin-top: 4px;
}

.form-note {
  margin-top: 4px;

  font-size: 11px;

  color: var(--gray-400);

  text-align: center;
}

.form-status {
  display: none;

  margin-top: 12px;

  padding: 12px 14px;

  border-radius: 7px;

  font-size: 12px;

  line-height: 1.6;
}

.form-status.show {
  display: block;
}

.form-status.success {
  background: #e3f3ee;
  color: #155f4e;
  border: 1px solid #b9e0d4;
}

.form-status.error {
  background: #fdecec;
  color: #a12626;
  border: 1px solid #f5c7c7;
}


/* =========================================================
   FOOTER
========================================================== */

footer {
  background: var(--navy-dark);

  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;
}


/* =========================================================
   ANIMATION
========================================================== */

.reveal {
  opacity: 0;

  transform:
    translateY(25px);

  transition:
    opacity .8s ease,
    transform .8s ease;
}

.reveal.active {
  opacity: 1;

  transform:
    translateY(0);
}

.delay-1 {
  transition-delay: .1s;
}

.delay-2 {
  transition-delay: .2s;
}

.delay-3 {
  transition-delay: .3s;
}


/* =========================================================
   RESPONSIVE
========================================================== */

@media (max-width: 1000px) {

  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .capability-grid {
    grid-template-columns: 1fr;
  }

  .service-grid {
    grid-template-columns: 1fr;
  }

  .process-grid {
    grid-template-columns:
      repeat(3,1fr);
  }

  .footer-main {
    grid-template-columns:
      1fr 1fr;
  }

  .footer-brand {
    grid-column:
      1 / -1;
  }
}


@media (max-width: 760px) {

  .container {
    width:
      calc(100% - 32px);
  }

  .section {
    padding: 80px 0;
  }

  .hero {
    min-height: 800px;
  }

  .hero-content {
    padding-top: 130px;
  }

  .hero-title {
    font-size: 47px;
  }

  .hero-meta {
    display: grid;

    grid-template-columns:
      1fr 1fr;

    gap: 25px;
  }

  .service-heading {
    display: block;
  }

  .service-heading
  .section-description {
    margin-top: 20px;
  }

  .service-card {
    min-height: auto;

    padding: 32px;
  }

  .process-grid {
    grid-template-columns: 1fr;
  }

  .process-item {
    min-height: auto;

    border-left:
      1px solid
      rgba(255,255,255,.12);

    border-bottom:
      1px solid
      rgba(255,255,255,.12);
  }

  .contact-card {
    padding: 30px 22px;
  }

  .contact-card h3 {
    font-size: 22px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-main {
    grid-template-columns: 1fr;

    gap: 40px;
  }

  .footer-brand {
    grid-column: auto;
  }

  .footer-bottom {
    flex-direction: column;

    align-items: flex-start;
  }
}


@media (max-width: 480px) {

  .hero-title {
    font-size: 41px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .hero-meta {
    grid-template-columns: 1fr;
  }

  .service-card h3 {
    font-size: 20px;
  }

}