/* PTH Guard Security — landing page styles */

:root {
  --green-950: #06231a;
  --green-900: #0b3d2e;
  --green-800: #12503d;
  --green-700: #17614a;
  --gold-600: #a9821c;
  --gold-500: #c9a227;
  --gold-400: #e0b93a;
  --gold-300: #f0d878;
  --cream: #faf7ef;
  --cream-dark: #f1ead9;
  --ink: #17231d;
  --ink-soft: #4a5850;
  --white: #ffffff;
  --border: #e4ddc9;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 10px 30px -12px rgba(11, 61, 46, 0.25);
  --shadow-sm: 0 4px 14px -6px rgba(11, 61, 46, 0.2);
  --container: 1180px;
  --font-head: "Kanit", "Noto Sans Thai", system-ui, sans-serif;
  --font-body: "Sarabun", "Noto Sans Thai", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
  word-break: break-word;
}

h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.3; margin: 0 0 .5em; color: var(--green-950); }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

.icon { width: 1em; height: 1em; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--green-900);
  color: var(--white);
  padding: 10px 16px;
  border-radius: 0 0 8px 0;
  z-index: 200;
}
.skip-link:focus { left: 0; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .55em;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .95rem;
  padding: .75em 1.4em;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
  white-space: nowrap;
}
.btn .icon { font-size: 1.1em; }
.btn-primary {
  background: linear-gradient(135deg, var(--gold-400), var(--gold-600));
  color: var(--green-950);
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-outline {
  background: transparent;
  border-color: var(--green-900);
  color: var(--green-900);
}
.btn-outline:hover { background: var(--green-900); color: var(--white); }
.section-dark .btn-outline { border-color: var(--gold-400); color: var(--gold-300); }
.section-dark .btn-outline:hover { background: var(--gold-400); color: var(--green-950); }
.btn-lg { padding: .9em 1.7em; font-size: 1.02rem; }
.btn-sm { padding: .55em 1.1em; font-size: .85rem; }
.btn-block { width: 100%; justify-content: center; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 10px;
  padding-bottom: 10px;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand-logo { border-radius: 50%; flex-shrink: 0; }
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-text strong { font-family: var(--font-head); font-size: 1.02rem; color: var(--green-950); }
.brand-text small { font-size: .72rem; color: var(--ink-soft); }

.main-nav ul { display: flex; gap: 26px; }
.main-nav a {
  font-weight: 600;
  font-size: .95rem;
  color: var(--ink);
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
  transition: border-color .15s ease, color .15s ease;
}
.main-nav a:hover, .main-nav a.active { color: var(--green-800); border-color: var(--gold-400); }

.header-actions { display: flex; align-items: center; gap: 10px; }

.lang-toggle {
  display: inline-flex;
  flex-shrink: 0;
  border: 1.5px solid var(--border);
  border-radius: 999px;
  overflow: hidden;
  font-family: var(--font-head);
  font-size: .8rem;
  font-weight: 700;
  white-space: nowrap;
}
.lang-toggle button {
  border: none;
  background: transparent;
  padding: .5em .8em;
  cursor: pointer;
  color: var(--ink-soft);
  white-space: nowrap;
}
.lang-toggle button[aria-pressed="true"] {
  background: var(--green-900);
  color: var(--white);
}

.nav-toggle {
  display: none;
  width: 40px; height: 40px;
  border: none;
  background: transparent;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}
.nav-toggle span { width: 22px; height: 2px; background: var(--green-950); border-radius: 2px; transition: transform .2s ease, opacity .2s ease; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Hero */
.hero {
  background:
    radial-gradient(1200px 600px at 85% -10%, rgba(201, 162, 39, .12), transparent 60%),
    var(--cream);
  padding: 64px 0 60px;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 40px;
  align-items: center;
}
.hero-grid > * { min-width: 0; }
.eyebrow {
  font-family: var(--font-head);
  font-weight: 600;
  color: var(--gold-600);
  letter-spacing: .02em;
  margin-bottom: .6em;
  font-size: .95rem;
}
.hero h1 { font-size: clamp(1.9rem, 3.4vw, 2.7rem); }
.hero-desc { color: var(--ink-soft); font-size: 1.05rem; max-width: 56ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin: 26px 0 28px; }

.trust-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.trust-chips li {
  background: var(--white);
  border: 1px solid var(--border);
  color: var(--green-900);
  font-size: .82rem;
  font-weight: 600;
  padding: .5em .9em;
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
}

.hero-media { display: flex; justify-content: center; }
.hero-logo-card {
  background: var(--white);
  border-radius: 32px;
  padding: 28px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}
.hero-logo-card img { width: min(320px, 60vw); height: auto; }

/* Sections */
.section { padding: 72px 0; }
.section-alt { background: var(--cream); }
.section-dark { background: linear-gradient(180deg, var(--green-950), var(--green-900)); color: var(--cream); }
.section-dark h2, .section-dark h3 { color: var(--white); }
.section-dark .section-lead { color: rgba(250, 247, 239, .78); }

.section-title { font-size: clamp(1.5rem, 2.6vw, 2rem); text-align: center; }
.section-lead {
  text-align: center;
  color: var(--ink-soft);
  max-width: 60ch;
  margin: 0 auto 44px;
  font-size: 1.02rem;
}

/* Pain points */
.pain-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.pain-grid > *, .services-grid > *, .why-grid > *, .process-list > *, .region-grid > * { min-width: 0; }
.pain-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 22px;
  text-align: center;
}
.pain-icon {
  display: inline-flex;
  width: 54px; height: 54px;
  align-items: center; justify-content: center;
  border-radius: 50%;
  background: var(--cream-dark);
  color: var(--green-800);
  margin-bottom: 14px;
}
.pain-icon .icon { width: 26px; height: 26px; }
.pain-item h3 { font-size: 1.05rem; }
.pain-item p { color: var(--ink-soft); font-size: .92rem; margin-bottom: 0; }

/* Services */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}
.service-icon {
  display: inline-flex;
  width: 52px; height: 52px;
  align-items: center; justify-content: center;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--green-800), var(--green-950));
  color: var(--gold-300);
  margin-bottom: 16px;
}
.service-icon .icon { width: 26px; height: 26px; }
.service-card h3 { font-size: 1.08rem; }
.service-card > p { color: var(--ink-soft); font-size: .93rem; }
.service-list { margin-top: auto; padding-top: 8px; border-top: 1px dashed var(--border); }
.service-list li {
  font-size: .87rem;
  color: var(--ink-soft);
  padding: 5px 0 5px 1.3em;
  position: relative;
}
.service-list li::before {
  content: "";
  position: absolute;
  left: 0; top: .65em;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--gold-500);
}

/* Uniform */
.uniform-section {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(700px 420px at 8% 55%, rgba(201, 162, 39, .12), transparent 65%),
    var(--cream);
}
.uniform-section::after {
  content: "";
  position: absolute;
  right: -130px;
  bottom: -170px;
  width: 360px;
  height: 360px;
  border: 1px solid rgba(201, 162, 39, .18);
  border-radius: 50%;
  box-shadow: 0 0 0 55px rgba(201, 162, 39, .04), 0 0 0 110px rgba(201, 162, 39, .03);
  pointer-events: none;
}
.uniform-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(280px, .82fr) 1.18fr;
  gap: clamp(42px, 7vw, 86px);
  align-items: center;
}
.uniform-grid > * { min-width: 0; }
.uniform-visual { width: min(100%, 390px); margin: 0 auto; }
.uniform-photo-frame {
  padding: 9px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 28px;
  box-shadow: 0 24px 50px -24px rgba(6, 35, 26, .42);
}
.uniform-photo-frame img {
  width: 100%;
  height: auto;
  border-radius: 20px;
}
.uniform-visual figcaption {
  margin-top: 12px;
  color: var(--ink-soft);
  font-size: .8rem;
  text-align: center;
}
.uniform-copy h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); }
.uniform-lead { max-width: 58ch; color: var(--ink-soft); font-size: 1.02rem; }
.uniform-details {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin: 26px 0 30px;
}
.uniform-details li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px;
  background: rgba(255, 255, 255, .76);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}
.uniform-check {
  display: inline-flex !important;
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  align-items: center;
  justify-content: center;
  color: var(--gold-300);
  background: var(--green-900);
  border-radius: 50%;
}
.uniform-check svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.25;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.uniform-details strong,
.uniform-details span { display: block; }
.uniform-details strong { font-family: var(--font-head); color: var(--green-950); font-size: .94rem; }
.uniform-details div span { margin-top: 2px; color: var(--ink-soft); font-size: .82rem; line-height: 1.5; }

/* Why us */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.why-item .icon { width: 34px; height: 34px; color: var(--gold-400); margin-bottom: 14px; }
.why-item h3 { font-size: 1.08rem; }
.why-item p { color: rgba(250, 247, 239, .78); font-size: .93rem; margin-bottom: 0; }

/* Process */
.process-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  counter-reset: step;
}
.process-item {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 22px;
  position: relative;
}
.process-num {
  display: inline-flex;
  width: 40px; height: 40px;
  align-items: center; justify-content: center;
  border-radius: 50%;
  background: var(--green-900);
  color: var(--gold-300);
  font-family: var(--font-head);
  font-weight: 700;
  margin-bottom: 14px;
}
.process-item h3 { font-size: 1.02rem; }
.process-item p { color: var(--ink-soft); font-size: .92rem; margin-bottom: 0; }

/* Service area */
.region-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.region-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 22px;
  position: relative;
}
.region-card .icon { width: 26px; height: 26px; color: var(--green-800); margin-bottom: 10px; }
.region-card h3 { font-size: 1rem; }
.region-card p { color: var(--ink-soft); font-size: .87rem; margin-bottom: 0; }
.region-card-main {
  background: linear-gradient(160deg, var(--green-900), var(--green-950));
  border-color: var(--green-900);
  color: var(--cream);
}
.region-card-main h3 { color: var(--white); }
.region-card-main p { color: rgba(250, 247, 239, .78); }
.region-card-main .icon { color: var(--gold-400); }
.region-badge {
  display: inline-block;
  background: var(--gold-400);
  color: var(--green-950);
  font-size: .72rem;
  font-weight: 700;
  padding: .3em .8em;
  border-radius: 999px;
  margin-bottom: 12px;
}
.area-cta {
  text-align: center;
  margin-top: 40px;
}
.area-cta p {
  color: var(--ink-soft);
  max-width: 52ch;
  margin: 0 auto 16px;
}

/* FAQ */
.faq-list { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 4px 20px;
}
.faq-item summary {
  cursor: pointer;
  font-family: var(--font-head);
  font-weight: 600;
  padding: 16px 28px 16px 0;
  position: relative;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 0; top: 14px;
  font-size: 1.4rem;
  color: var(--gold-600);
  transition: transform .2s ease;
}
.faq-item[open] summary::after { content: "\2212"; }
.faq-item p { color: var(--ink-soft); padding-bottom: 16px; margin: 0; }

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.contact-grid > * { min-width: 0; }
.contact-list { display: flex; flex-direction: column; gap: 18px; margin: 26px 0; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; }
.contact-list .icon { width: 22px; height: 22px; color: var(--gold-400); flex-shrink: 0; margin-top: 3px; }
.contact-list strong { display: block; font-family: var(--font-head); font-size: .95rem; margin-bottom: 2px; }
.contact-list span { color: rgba(250, 247, 239, .8); font-size: .93rem; }
.contact-list a:hover { color: var(--gold-300); text-decoration: underline; }

.social-link { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; color: var(--gold-300); }
.social-link .icon { width: 22px; height: 22px; }
.social-link:hover { text-decoration: underline; }

.contact-map {
  background: var(--white);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: var(--shadow);
}
.contact-map-frame {
  border-radius: calc(var(--radius) - 8px);
  overflow: hidden;
  aspect-ratio: 4 / 3;
}
.contact-map-frame iframe { width: 100%; height: 100%; border: 0; }
.contact-map .btn { margin-top: 14px; }
.contact-map .btn-outline {
  border-color: var(--green-900);
  color: var(--green-900);
}
.contact-map .btn-outline:hover { background: var(--green-900); color: var(--white); }

/* Mobile floating CTA */
.mobile-cta {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 90;
  background: var(--white);
  border-top: 1px solid var(--border);
  box-shadow: 0 -6px 18px rgba(11, 61, 46, .12);
}
.mobile-cta { display: none; grid-template-columns: repeat(3, 1fr); }
.mobile-cta a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 10px 0 calc(10px + env(safe-area-inset-bottom));
  font-size: .72rem;
  font-weight: 600;
  color: var(--green-900);
}
.mobile-cta .icon { width: 20px; height: 20px; }
.mobile-cta a:first-child { color: var(--gold-600); }

/* Footer */
.site-footer { background: var(--green-950); color: rgba(250, 247, 239, .75); padding: 44px 0 26px; }
.footer-inner { display: flex; flex-direction: column; align-items: center; gap: 16px; text-align: center; }
.footer-brand { display: flex; align-items: center; gap: 12px; color: var(--white); }
.footer-brand img { border-radius: 50%; }
.footer-brand strong { display: block; font-family: var(--font-head); }
.footer-brand span { font-size: .82rem; color: rgba(250, 247, 239, .65); }
.footer-address { font-size: .85rem; max-width: 46ch; }
.footer-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px; font-size: .88rem; }
.footer-nav a:hover { color: var(--gold-300); }
.footer-copy { font-size: .78rem; color: rgba(250, 247, 239, .5); margin: 10px 0 0; }

/* Responsive */
@media (max-width: 1024px) {
  .pain-grid, .services-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid, .process-list, .region-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  .main-nav {
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    height: calc(100vh - 64px);
    background: var(--white);
    padding: 20px;
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .2s ease, transform .2s ease, visibility .2s;
    overflow-y: auto;
  }
  .main-nav.is-open { opacity: 1; transform: translateY(0); visibility: visible; }
  .main-nav ul { flex-direction: column; gap: 4px; }
  .main-nav a { display: block; padding: 14px 6px; border-bottom: 1px solid var(--border); }
  .nav-toggle { display: inline-flex; }
  .header-actions .btn-sm span { display: none; }
  .header-actions .btn-sm { padding: .7em; border-radius: 50%; }
  .header-actions { gap: 6px; }
  .lang-toggle button { padding: .5em .6em; font-size: .74rem; }

  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-desc { margin: 0 auto; }
  .hero-cta { justify-content: center; }
  .trust-chips { justify-content: center; }
  .hero-media { order: -1; }
  .hero-logo-card img { width: 220px; }

  .uniform-grid { grid-template-columns: minmax(260px, 340px) 1fr; gap: 36px; }
  .uniform-details { grid-template-columns: 1fr; }

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

  .mobile-cta { display: grid; }
  body { padding-bottom: 62px; }
}

@media (max-width: 700px) {
  .uniform-grid { grid-template-columns: 1fr; }
  .uniform-copy { text-align: center; }
  .uniform-copy .eyebrow { margin-top: 4px; }
  .uniform-lead { margin-left: auto; margin-right: auto; }
  .uniform-details { text-align: left; }
  .uniform-visual { width: min(100%, 360px); }
}

@media (max-width: 640px) {
  .pain-grid, .services-grid, .why-grid, .process-list, .region-grid { grid-template-columns: 1fr; }
  .section { padding: 52px 0; }
  .hero { padding: 44px 0 40px; }
}

@media (max-width: 420px) {
  .uniform-details li { padding: 14px; }
  .uniform-copy h2 { font-size: 1.65rem; }
  .uniform-copy .btn { width: 100%; justify-content: center; white-space: normal; text-align: center; }
  .hero-cta .btn { width: 100%; justify-content: center; white-space: normal; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
