.page-port {
  --pl-green: #6ab96f;
}

/* ---------- Hero ---------- */
.pl-hero {
  position: relative;
  height: 480px;
  min-height: 480px;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: 48px 0;
  background: var(--gulf-navy);
}
.pl-hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.pl-hero-veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(4, 17, 28, 0.35) 0%, rgba(4, 17, 28, 0.12) 45%, rgba(4, 17, 28, 0.5) 100%);
}
.pl-hero-inner {
  position: relative;
  text-align: center;
}
.pl-hero h1 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(34px, 5.6vw, 64px);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: #fff;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.35);
}

/* ---------- Breadcrumb ---------- */
.pl-crumb {
  background: var(--bg-soft);
}
.pl-crumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 16px 0;
  list-style: none;
  font-size: 14px;
  color: var(--soft);
}
.pl-crumb li + li::before {
  content: "/";
  margin-right: 10px;
  color: var(--line);
}
.pl-crumb a {
  color: var(--soft);
  text-decoration: none;
}
.pl-crumb a:hover {
  color: var(--blue);
}
.pl-crumb [aria-current] {
  color: var(--gulf-navy);
}

/* ---------- Intro ---------- */
.pl-intro {
  padding: 80px 0 64px;
  background: var(--bg);
}
.pl-intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 48px;
  align-items: start;
}
.pl-intro h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(32px, 4.4vw, 54px);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--ink);
}
.pl-accent {
  color: var(--pl-green);
}
.pl-nowrap {
  display: block;
}
.pl-intro-copy p {
  margin: 0 0 18px;
  font-size: 16px;
  line-height: 1.75;
  color: var(--muted);
}
.pl-intro-copy p:last-child {
  margin-bottom: 0;
}
.pl-intro-visual {
  margin: 56px 0 0;
  border-radius: 16px;
  overflow: hidden;
}
.pl-intro-visual img {
  width: 100%;
  height: auto;
  display: block;
}

/* ---------- Stats ---------- */
.pl-stats {
  position: relative;
  padding: 72px 0 80px;
  background: var(--bg-soft);
}
.pl-stats.reveal,
.pl-stats.reveal.is-visible {
  transform: none;
}
.pl-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 280px));
  justify-content: center;
  gap: clamp(48px, 10vw, 120px);
}
.pl-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.pl-stat-icon i {
  font-size: 40px;
  line-height: 1;
  color: var(--gulf-navy);
}
.pl-stat p {
  margin: 20px 0 0;
  max-width: 16em;
  min-height: 2.6em;
  font-family: var(--display);
  font-size: 18px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--ink);
}
.pl-stat-value {
  display: block;
  margin-top: 14px;
  font-family: var(--display);
  font-size: clamp(38px, 4.4vw, 56px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--gulf-navy);
}
.pl-stat-unit {
  margin-top: 12px;
  font-size: 15px;
  font-weight: 500;
  color: var(--gulf-navy);
}
.pl-stats-curve {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 80px;
  /* background: var(--bg); */
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
}

/* ---------- Accordion ---------- */
.pl-info {
  padding: 72px 0 88px;
  background: var(--bg);
}
.pl-info h2 {
  margin: 0 0 28px;
  font-family: var(--display);
  font-size: clamp(28px, 3.6vw, 44px);
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.pl-acc {
  border-top: 1px solid var(--line);
}
.pl-acc-item {
  border-bottom: 1px solid var(--line);
  transition: border-color 0.35s ease;
}
.pl-acc-item.is-open {
  border-bottom-color: var(--blue);
}
.pl-acc-item h3 {
  margin: 0;
}
.pl-acc-head {
  width: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding: 26px 4px;
  border: 0;
  background: transparent;
  text-align: left;
  font-family: var(--display);
  font-size: clamp(17px, 1.8vw, 24px);
  font-weight: 500;
  line-height: 1.4;
  color: var(--ink);
  text-shadow: 0 0 0 transparent;
  cursor: pointer;
  transition: color 0.35s ease, text-shadow 0.35s ease;
}
.pl-acc-item.is-open .pl-acc-head,
.pl-acc-head:hover {
  color: var(--gulf-navy);
  text-shadow: 0.28px 0 0 var(--blue), -0.28px 0 0 var(--blue);
}
.pl-acc-sign {
  position: relative;
  flex: none;
  width: 18px;
  height: 18px;
  margin-top: 4px;
}
.pl-acc-sign::before,
.pl-acc-sign::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 2px;
  background: currentColor;
  transform: translateY(-50%);
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.pl-acc-sign::after {
  transform: translateY(-50%) rotate(90deg);
}
.pl-acc-item.is-open .pl-acc-sign::after {
  transform: translateY(-50%) rotate(0deg);
  opacity: 0;
}
.pl-acc-panel {
  overflow: hidden;
  height: 0;
  transition: height 0.32s ease;
}
.pl-acc-body {
  padding: 0 4px 36px;
}
.pl-acc-body--split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 40px;
  align-items: start;
}
.pl-acc-copy p {
  margin: 0 0 16px;
  font-size: 16px;
  line-height: 1.75;
  color: var(--muted);
}
.pl-acc-copy p:last-child {
  margin-bottom: 0;
}
.pl-acc-sub {
  font-weight: 700;
  color: var(--ink) !important;
}
.pl-acc-copy ul {
  margin: 0;
  padding-left: 1.15em;
  list-style: disc outside;
  font-size: 16px;
  line-height: 1.75;
  color: var(--muted);
}
.pl-acc-copy li + li {
  margin-top: 8px;
}
.pl-acc-media {
  margin: 0;
  border-radius: 16px;
  overflow: hidden;
}
.pl-acc-media img {
  width: 100%;
  height: auto;
  display: block;
}

/* ---------- Our Projects map ---------- */
.pl-projects {
  padding: 24px 0 96px;
  background: var(--bg);
}
.pl-projects h2 {
  margin: 0 0 24px;
  font-family: var(--display);
  font-size: clamp(28px, 3.6vw, 44px);
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.pl-map-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(260px, 0.75fr);
  gap: 88px;
  align-items: center;
}
.pl-map-stage {
  position: relative;
  width: min(680px, 100%);
  margin: 0 auto;
}
.pl-map-img {
  width: 100%;
  height: auto;
  display: block;
}
.pl-pin {
  position: absolute;
  width: 34px;
  height: 34px;
  transform: translate(-50%, -50%);
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.pl-pin-dot {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 11px;
  height: 11px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: var(--gulf-navy);
  transition: transform 0.2s ease;
}
.pl-pin-wave {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: rgba(26, 115, 232, 0.18);
  opacity: 0;
  transform: scale(0.4);
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.pl-pin:hover .pl-pin-wave,
.pl-pin.is-active .pl-pin-wave {
  opacity: 1;
  transform: scale(1);
}
.pl-pin:hover .pl-pin-dot,
.pl-pin.is-active .pl-pin-dot {
  transform: translate(-50%, -50%) scale(1.25);
  background: var(--blue);
}
.pl-map-hint {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  max-width: none;
  margin: 16px 0 0;
  font-size: 13px;
  line-height: 1.5;
  color: var(--soft);
}
.pl-map-hint-dot {
  flex: none;
  width: 9px;
  height: 9px;
  margin-top: 5px;
  border-radius: 50%;
  background: var(--gulf-navy);
}
.pl-map-card h3 {
  margin: 0 0 22px;
  font-family: var(--display);
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.pl-map-label {
  margin: 16px 0 0;
  font-family: var(--display);
  font-size: 18px;
  font-weight: 500;
  color: var(--ink);
}
.pl-map-value {
  display: block;
  margin-top: 10px;
  font-family: var(--display);
  font-size: clamp(38px, 4.4vw, 56px);
  font-weight: 400;
  line-height: 1;
  color: var(--gulf-navy);
}
.pl-map-unit {
  display: inline-block;
  margin-top: 12px;
  font-size: 15px;
  font-weight: 500;
  color: var(--gulf-navy);
}
.pl-map-count {
  margin: 0 0 16px;
  font-size: 15px;
  font-weight: 500;
  color: var(--blue);
}
.pl-map-list {
  margin: 0;
  padding: 0;
  list-style: none;
}
.pl-map-list li {
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: var(--bg);
}
.pl-map-list li + li {
  margin-top: 12px;
}
.pl-map-list strong {
  display: block;
  font-family: var(--display);
  font-size: 19px;
  font-weight: 500;
  color: var(--ink);
}
.pl-map-list span {
  display: block;
  margin-top: 6px;
  font-size: 15px;
  color: var(--muted);
}
.pl-map-back {
  margin-top: 20px;
  padding: 0;
  border: 0;
  background: transparent;
  font-family: var(--text);
  font-size: 14px;
  font-weight: 500;
  color: var(--blue);
  cursor: pointer;
}
.pl-map-back:hover {
  text-decoration: underline;
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .pl-intro-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .pl-nowrap {
    display: inline;
  }
  .pl-stats-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .pl-stat p {
    min-height: 0;
  }
  .pl-acc-body--split {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .pl-map-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .pl-acc-panel {
    transition: none;
  }
}

/* ---------- Redesigned project rows ---------- */
.pl-page-intro {
  padding: 72px 0 56px;
  background: #fff;
  text-align: center;
}
.pl-page-intro-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.pl-page-intro h1 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(40px, 5.4vw, 64px);
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: #202124;
}
/* TH title: break before โลจิสติกส์ only under 480px */
.pl-title-br {
  display: none;
}
/* TH offer title: break before (ท่าเทียบ…) only above 1080; ≤1080 stays continuous */
.pl-offer-br {
  display: none;
}
@media (min-width: 1081px) {
  .pl-offer-br {
    display: inline;
  }
}
@media (max-width: 479px) {
  .pl-title-br {
    display: inline;
  }
  html[lang="th"] .pl-page-intro h1,
  html[data-lang-folder="th"] .pl-page-intro h1 {
    word-break: keep-all;
    line-break: strict;
  }
}
.pl-page-intro p {
  margin: 18px auto 0;
  max-width: 42rem;
  font-size: 18px;
  line-height: 1.6;
  color: #5f6368;
}
.pl-offers-section {
  padding: 72px 0;
  background: #f7f8fa;
}
.pl-offers-section + .pl-offers-section {
  padding-top: 24px;
}
.pl-utility {
  padding: 72px 0;
  background: #fff;
  text-align: center;
}
.pl-utility-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.pl-utility h2 {
  margin: 0;
  max-width: 40rem;
  font-family: var(--text);
  font-size: clamp(22px, 2.2vw, 28px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: #202124;
}
.pl-utility p {
  margin: 12px auto 0;
  max-width: 40rem;
  font-size: 16px;
  line-height: 1.7;
  color: #5f6368;
}
.pl-offers {
  display: flex;
  flex-direction: column;
  gap: clamp(48px, 7vw, 88px);
}
.pl-offer {
  display: grid;
  grid-template-columns: 1.1fr 1.2fr;
  column-gap: clamp(28px, 4vw, 56px);
  row-gap: 16px;
  align-items: center;
  margin: 0;
}
.pl-offer--flip { direction: rtl; }
.pl-offer--flip > * { direction: ltr; }
.pl-offer--note {
  grid-template-columns: 1fr;
  justify-items: center;
  text-align: center;
}
.pl-offer--note .pl-offer-copy { max-width: 40rem; }
.pl-offer-media {
  margin: 0;
  border-radius: 16px;
  overflow: hidden;
}
.pl-offer-media img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  object-position: center;
  display: block;
}
.pl-offer h2 {
  margin: 0 0 12px;
  font-family: var(--text);
  font-size: clamp(32px, 3.2vw, 40px);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.2;
  color: #202124;
}
.pl-offer-copy p {
  margin: 0;
  font-size: 16px;
  line-height: 1.7;
  color: #5f6368;
}
.pl-offer-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: clamp(220px, 28vw, 340px);
  padding: 32px 24px;
  border-radius: 16px;
  background: #fff;
  text-align: center;
}
.pl-offer-stat p,
.pl-offer-stat span {
  margin: 0;
  font-size: 16px;
  line-height: 1.5;
  color: #5f6368;
}
.pl-offer-stat strong {
  margin: 8px 0;
  font-family: var(--display);
  font-size: clamp(40px, 4.4vw, 64px);
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1;
  color: #202124;
}
@media (max-width: 980px) {
  .pl-offer,
  .pl-offer--flip {
    grid-template-columns: 1fr;
    direction: ltr;
    row-gap: 16px;
  }
}

@media (max-width: 479px) {
  .pl-hero h1,
  .pl-page-intro h1,
  .pl-intro h2,
  .pl-info h2,
  .pl-projects h2 {
    font-size: 36px;
  }
  .pl-offer h2 {
    font-size: 26px;
  }
}
