/* =========================================================
   JET TEAM theme
   Fonts: Montserrat (site), Koh Santepheap (home banner)
   ========================================================= */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 15.5px;
  line-height: 1.7;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip; /* full-width blocks use 100vw */
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

h1, h2, h3, p, figure, blockquote {
  margin: 0;
}

address {
  font-style: normal;
}

.text-center {
  text-align: center;
}

.screen-reader-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip-link:focus {
  z-index: 100;
  top: 8px;
  left: 8px;
  width: auto;
  height: auto;
  padding: 10px 18px;
  clip: auto;
  color: var(--white);
  background: var(--gold);
  border-radius: 24px;
}

/* ---------- Buttons & links ---------- */

.btn,
.wp-block-button__link,
.contact-form input[type="submit"] {
  display: inline-block;
  padding: 9px 30px;
  font-family: var(--font);
  font-size: 19px;
  font-weight: 500;
  line-height: 1.5;
  color: var(--white);
  background: var(--gold);
  border: 2px solid var(--gold);
  border-radius: 24px;
  cursor: pointer;
  transition: background-color .2s ease, color .2s ease;
}

.btn:hover,
.btn:focus-visible,
.wp-block-button__link:hover,
.wp-block-button__link:focus-visible,
.contact-form input[type="submit"]:hover,
.contact-form input[type="submit"]:focus-visible {
  background: transparent;
  color: var(--gold);
}

/* =========================================================
   Header
   ========================================================= */

.site-header {
  position: relative;
  z-index: 10;
  background: var(--white);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 177px;
  padding: 0 88px 0 78px;
}

.custom-logo-link img {
  width: 220px;
}

.header-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 26px;
}

.header-contact {
  display: flex;
  gap: 38px;
  font-size: 18px;
  font-weight: 500;
}

.header-contact a {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header-contact a:hover {
  color: var(--gold);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 42px;
}

.main-nav ul {
  display: flex;
  gap: 38px;
}

.main-nav ul a {
  font-size: 19px;
  font-weight: 500;
  transition: color .2s ease;
}

.main-nav ul a:hover,
.main-nav ul a:focus-visible {
  color: var(--gold);
}

.main-nav .current-menu-item > a,
.main-nav .current_page_item > a,
.main-nav .current-menu-ancestor > a {
  text-decoration: underline;
  text-decoration-color: var(--gold);
  text-decoration-thickness: 2px;
  text-underline-offset: 10px;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: none;
  border: 0;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 3px;
  margin: 5px 0;
  background: var(--text);
  border-radius: 2px;
  transition: transform .2s ease, opacity .2s ease;
}

/* =========================================================
   Home: hero
   ========================================================= */

.hero {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  height: 570px;
  padding-bottom: 50px;
  background-position: center bottom;
  background-size: cover;
  background-repeat: no-repeat;
}

/* Background video fills the banner; the background image shows until it plays */
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center bottom;
}

@media (prefers-reduced-motion: reduce) {
  .hero-video { display: none; }
}

.hero h1 {
  position: relative;
  font-family: var(--font-banner);
  font-weight: 400;
  font-size: 78px;
  line-height: 1.2;
  color: var(--white);
  text-align: center;
  text-shadow: 0 2px 18px rgba(0, 0, 0, .15);
}

/* =========================================================
   Home: split sections (About / Extra mile)
   ========================================================= */

.split + .split {
  margin-top: 72px;
}

.split-inner {
  display: grid;
  grid-template-columns: 758fr 742fr;
}

.split--reverse .split-inner {
  grid-template-columns: 762fr 740fr;
}

.split-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.split-content {
  padding: 70px 70px 80px 61px;
  background: var(--cream);
}

.split--reverse .split-content {
  padding: 72px 64px 80px 56px;
}

.split-content p {
  margin: 40px 0 36px;
  line-height: 27px;
}

/* =========================================================
   Home: tagline banner
   ========================================================= */

.tagline {
  min-height: 776px;
  margin-top: 164px;
  padding-top: 98px;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.tagline .section-title {
  font-size: 30px;
}

.tagline .section-title::after {
  margin-top: 14px;
}

.tagline p {
  margin-top: 30px;
  font-size: 18px;
  font-weight: 500;
  line-height: 32px;
}

/* =========================================================
   Home: get in touch
   ========================================================= */

.get-in-touch {
  padding: 73px 0 74px;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.git-inner {
  display: grid;
  grid-template-columns: 1fr 779px;
  gap: 40px;
}

.git-text {
  display: flex;
  flex-direction: column;
  padding-top: 45px;
  color: var(--white);
}

.git-text .section-title {
  font-size: 30px;
  color: var(--white);
}

.git-text .section-title::after {
  width: 108px;
  margin: 18px 0 0 4px;
}

.git-intro {
  max-width: 540px;
  margin-top: 32px;
  font-size: 24px;
  font-weight: 600;
  line-height: 40px;
  text-shadow: 0 1px 8px rgba(0, 0, 0, .15);
}

.git-contact {
  margin-top: auto;
  padding-bottom: 155px;
  font-size: 34px;
  font-weight: 600;
}

.git-contact li {
  display: flex;
  align-items: center;
  gap: 24px;
}

.git-contact li + li {
  margin-top: 14px;
}

.git-contact img {
  width: 32px;
}

.git-contact a:hover {
  text-decoration: underline;
}

/* ---------- Contact form (built-in, or a plugin's form inside .contact-form) ---------- */

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 48px 96px 35px;
  background: var(--cream);
}

.contact-form input:not([type="submit"]):not([type="hidden"]):not([type="checkbox"]):not([type="radio"]),
.contact-form textarea,
.contact-form select {
  width: 100%;
  padding: 17px 44px;
  font-family: var(--font);
  font-size: 17px;
  font-weight: 500;
  color: var(--text);
  background: transparent;
  border: 1px solid var(--text);
  border-radius: 14px;
}

.contact-form textarea {
  height: 270px;
  margin-top: 4px;
  resize: vertical;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: var(--text);
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 1px var(--gold);
}

.contact-form .btn,
.contact-form input[type="submit"] {
  align-self: flex-start;
  margin-top: 6px;
  padding: 9px 24px;
  font-weight: 600;
}

.contact-form--plugin p {
  margin: 0 0 12px;
}

.hp-field {
  position: absolute;
  left: -9999px;
}

.form-notice {
  padding: 12px 18px;
  font-weight: 500;
  border-left: 4px solid var(--gold);
  background: var(--white);
}

.form-notice--invalid,
.form-notice--error {
  border-left-color: #b3261e;
}

/* =========================================================
   Inner pages
   ========================================================= */

.page-banner {
  height: 383px;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.page-header {
  padding-top: 65px;
}

.entry-content {
  padding-top: 40px;
  padding-bottom: 120px;
}

.entry-content > * + * {
  margin-top: 1.4em;
}

.entry-content h2 {
  font-size: 30px;
  font-weight: 400;
  line-height: 1.25;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 2em;
}

/* Gold underline on headings, centred with the heading */
.entry-content h2::after {
  content: '';
  display: block;
  width: 82px;
  height: 4px;
  margin-top: 18px;
  background: var(--gold);
}

.entry-content h2.has-text-align-center::after {
  margin-left: auto;
  margin-right: auto;
}

.entry-content strong {
  font-weight: 600;
}

/* Centred intro paragraph under the page title */
.entry-content > p.has-text-align-center {
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.entry-content > .wp-block-media-text {
  margin-top: 50px;
}

/* Centred section headings, e.g. "Trip support services" */
.entry-content > h2.has-text-align-center {
  margin-top: 130px;
}

.entry-content > h2 + .alignfull {
  margin-top: 34px;
}

.entry-content > .alignfull:last-child {
  margin-bottom: -120px;
}

/* Two image panels in a row, e.g. About */
.entry-content > .wp-block-media-text + .wp-block-media-text {
  margin-top: 72px;
}

/* Full-width cover after the panels, e.g. About values */
.entry-content > .wp-block-media-text + .wp-block-cover.alignfull {
  margin-top: 120px;
}

.page-header strong {
  font-weight: 500;
}

/* Contact page: testimonials follow the content directly */
.page-template-template-contact .testimonials {
  padding-top: 20px;
}

.entry-content h3 {
  font-size: 24px;
  font-weight: 500;
  line-height: 1.25;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 1.8em;
}

.entry-content ul,
.entry-content ol {
  padding-left: 1.3em;
}

.entry-content ul {
  list-style: disc;
}

.entry-content ul li::marker {
  color: var(--gold);
}

.entry-content a:not(.btn):not(.wp-block-button__link):not(.link-more) {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.entry-content blockquote {
  padding-left: 24px;
  font-style: italic;
  border-left: 4px solid var(--gold);
}

.entry-content .wp-block-group.has-background,
.entry-content .wp-block-columns.has-background {
  padding: 56px 60px;
}

.entry-content .alignfull {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
}

.entry-content .alignleft {
  float: left;
  margin: 0 30px 20px 0;
}

.entry-content .alignright {
  float: right;
  margin: 0 0 20px 30px;
}

.entry-content .aligncenter {
  margin-left: auto;
  margin-right: auto;
}

.wp-block-image figcaption,
.wp-caption-text {
  margin-top: 8px;
  font-size: 14px;
  text-align: center;
}

.post-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 40px;
}

.post-summary {
  padding: 32px 32px 40px;
  background: var(--cream);
}

.post-summary h2 {
  margin-top: 0;
  font-size: 22px;
}

.post-date {
  font-size: 14px;
  opacity: .75;
}

.nav-links {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-top: 50px;
}

.nav-links .current {
  color: var(--gold);
  font-weight: 600;
}

/* =========================================================
   Footer
   ========================================================= */

.site-footer {
  padding-top: 74px;
  font-weight: 500;
}

.footer-inner {
  display: grid;
  grid-template-columns: 360px 536px 1fr;
  gap: 67px;
}

.footer-logo {
  width: 218px;
}

.footer-company {
  text-transform: uppercase;
  line-height: 36px;
}

.footer-company address {
  margin-top: 30px;
}

.footer-company p {
  margin-top: 36px;
}

.site-footer h2 {
  padding-bottom: 6px;
  font-size: 24px;
  font-weight: 500;
  text-transform: uppercase;
  border-bottom: 3px solid var(--gold);
  margin-top: 28px;
}

.footer-links-cols {
  display: grid;
  grid-template-columns: 276px 1fr;
  padding: 22px 0 0 18px;
}

.footer-links li {
  line-height: 36px;
  text-transform: uppercase;
}

.footer-links a:hover,
.footer-contact a:hover,
.footer-bottom a:hover {
  color: var(--gold);
}

.footer-contact ul {
  padding: 28px 0 0 18px;
  font-size: 21px;
}

.footer-contact li {
  display: flex;
  align-items: center;
  gap: 18px;
  line-height: 32px;
}

.footer-contact img {
  width: 20px;
}

.footer-bottom {
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 8px 26px;
  padding-top: 60px;
  padding-bottom: 28px;
}

.footer-bottom .credit {
  margin-left: 20px;
}

/* =========================================================
   Responsive
   ========================================================= */

@media (max-width: 1500px) {
  .header-inner { padding: 0 40px; }
  .main-nav ul { gap: 26px; }
  .main-nav ul a { font-size: 17px; }
  .card-grid { gap: 40px; }
  .git-inner { grid-template-columns: 1fr 1fr; }
  .contact-form { padding: 48px 60px 35px; }
  .footer-inner { grid-template-columns: 1fr 1.4fr 1fr; gap: 40px; }
  .footer-links-cols { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 1200px) {
  /* Collapse nav to a hamburger menu */
  .header-inner {
    min-height: 100px;
    padding: 0 var(--gutter);
  }
  .custom-logo-link img { width: 170px; }
  .nav-toggle { display: block; }

  .header-right {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column-reverse;
    align-items: stretch;
    gap: 24px;
    padding: 24px var(--gutter) 32px;
    background: var(--white);
    box-shadow: 0 12px 20px rgba(0, 0, 0, .08);
    display: none;
  }
  .nav-open .header-right { display: flex; }
  .nav-open .nav-toggle span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
  .nav-open .nav-toggle span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

  .main-nav {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
  .main-nav ul {
    flex-direction: column;
    gap: 14px;
  }
  .main-nav .current-menu-item > a,
  .main-nav .current_page_item > a { text-underline-offset: 6px; }
  .header-contact {
    flex-direction: column;
    gap: 10px;
    font-size: 16px;
  }

  .hero { height: 460px; }
  .hero h1 { font-size: 60px; }

  .section-title--lg { font-size: 40px; }
  .card-grid { gap: 24px; }
  .card h3 { font-size: 21px; }

  .split-inner,
  .split--reverse .split-inner { grid-template-columns: 1fr 1fr; }
  .split-content,
  .split--reverse .split-content { padding: 48px 40px; }

  .tagline { min-height: 600px; margin-top: 110px; }

  .git-contact { font-size: 26px; padding-bottom: 40px; }
  .git-intro { font-size: 20px; line-height: 34px; }

  .page-banner { height: 300px; }
}

@media (max-width: 900px) {
  .section-title { font-size: 26px; }
  .section-title--lg { font-size: 34px; }
  .services { padding: 70px 0 90px; }

  .card-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
  }
  .card h3 { min-height: 0; }

  .split-inner,
  .split--reverse .split-inner { grid-template-columns: 1fr; }
  .split--reverse .split-image { order: -1; }
  .split-image img { aspect-ratio: 758 / 514; }

  .tagline {
    min-height: 0;
    margin-top: 80px;
    padding: 60px 0 320px;
    background-position: 70% center;
  }
  .tagline p br { display: none; }

  .testimonials { padding: 80px 0 100px; }

  .git-inner { grid-template-columns: 1fr; }
  .git-text { padding-top: 0; }
  .git-contact { margin-top: 40px; padding-bottom: 0; }

  .page-banner { height: 220px; }
  .services--other { padding-top: 80px; }
  .card-grid--2 { grid-template-columns: 1fr; gap: 24px; }
  .entry-content > h2.has-text-align-center { margin-top: 80px; }
  .entry-content > .alignfull:last-child { margin-bottom: -80px; }
  .page-header { padding-top: 45px; }
  .entry-content { padding-bottom: 80px; }
  .entry-content h2 { font-size: 26px; }
  .entry-content .alignleft,
  .entry-content .alignright { float: none; margin: 0 0 20px; }

  .footer-inner { grid-template-columns: 1fr; gap: 10px; }
  .footer-bottom { justify-content: flex-start; padding-top: 40px; }
  .footer-bottom .credit { margin-left: 0; }
}

@media (max-width: 560px) {
  .hero { height: 340px; padding-bottom: 30px; background-position: 40% bottom; }
  .hero h1 { font-size: 42px; }

  .section-title--lg { font-size: 28px; }
  .split-content,
  .split--reverse .split-content { padding: 36px 24px; }

  .tagline p { font-size: 16px; line-height: 28px; }

  .quote { padding: 24px 24px 64px 60px; }

  .git-intro { font-size: 18px; line-height: 30px; }
  .git-contact { font-size: 20px; }
  .git-contact li { gap: 16px; }
  .contact-form { padding: 32px 20px; }
  .contact-form input:not([type="submit"]):not([type="hidden"]):not([type="checkbox"]):not([type="radio"]),
  .contact-form textarea { padding: 14px 20px; }
  .contact-form textarea { height: 200px; }

  .entry-content .wp-block-group.has-background,
  .entry-content .wp-block-columns.has-background { padding: 32px 24px; }

  .footer-links-cols { grid-template-columns: 1fr; padding-left: 0; }
  .footer-contact ul { padding-left: 0; font-size: 18px; }
}
