/*
Theme Name: Indo Pacific Travel
Theme URI: https://indo-pacifictravel.com
Author: Indo-Pacific Travel
Description: Custom theme for Indo-Pacific Travel — Vietnam & Asia tours.
Version: 1.6.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: indo-pacific
*/

:root {
  --lagoon: #7A0F22;
  --lagoon-deep: #4A0813;
  --jungle: #2B0710;
  --jungle-soft: #35091A;
  --coral: #9C1730;
  --coral-deep: #6B0F1F;
  --gold: #C9A227;
  --mist: #FBF4F2;
  --mint: #F5E3E4;
  --ink: #232323;
  --ink-soft: #6E5C5E;
  --line: #ECD9DA;
  --white: #FFFFFF;
  --r-lg: 32px;
  --r-md: 22px;
  --r-sm: 14px;
  --shadow-soft: 0 20px 45px -20px rgba(43, 7, 16, 0.25);
  --shadow-card: 0 14px 30px -16px rgba(43, 7, 16, 0.28);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  background: var(--mist);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
  object-fit: cover;
  
}

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

ul {
  list-style: none;
}

h1,
h2,
h3,
h4 {
  font-family: 'Baloo 2', sans-serif;
  line-height: 1.08;
  color: var(--jungle);
  font-weight: 700;
}

.wrap {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 28px;
}

section {
  position: relative;
}

:focus-visible {
  outline: 3px solid var(--coral);
  outline-offset: 3px;
  border-radius: 6px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-size: 12.5px;
  color: var(--lagoon-deep);
  background: var(--mint);
  padding: 7px 16px 7px 12px;
  border-radius: 999px;
  margin-bottom: 18px;
}

.eyebrow .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--coral);
  display: inline-block;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 15.5px;
  padding: 15px 26px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
  white-space: nowrap;
}

.btn-coral {
  background: var(--coral);
  color: #fff;
  box-shadow: 0 14px 26px -10px rgba(156, 23, 48, .45);
}

.btn-coral:hover {
  background: var(--coral-deep);
  transform: translateY(-2px);
}

.btn-ghost {
  background: #fff;
  color: var(--jungle);
  box-shadow: var(--shadow-card);
}

.btn-ghost:hover {
  transform: translateY(-2px);
}

.btn-line {
  background: transparent;
  border: 2px solid rgba(255, 255, 255, .35);
  color: #fff;
}

.btn-line:hover {
  background: rgba(255, 255, 255, .12);
}

.btn-sm {
  padding: 10px 18px;
  font-size: 13.5px;
}

/* ---------- NAV ---------- */
.navbar {
  position: fixed;
  top: 16px;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 0 20px;
}

.nav-inner {
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, .82);
  backdrop-filter: blur(14px);
  border-radius: 999px;
  padding: 10px 12px 10px 22px;
  box-shadow: 0 12px 34px -18px rgba(43, 7, 16, .35);
  border: 1px solid rgba(255, 255, 255, .6);
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--jungle);
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.logo-text b {
  font-family: 'Baloo 2';
  font-weight: 800;
  font-size: 19px;
  color: var(--jungle);
}

.logo-tagline {
  font-family: 'Plus Jakarta Sans';
  font-weight: 600;
  font-size: 11px;
  color: var(--ink-soft);
  margin-top: 2px;
}

.foot-logo .logo-tagline {
  color: rgba(255, 255, 255, .6);
}

.logo-mark {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.logo-mark.on-dark {
  background: #fff;
  border-radius: 10px;
  padding: 5px;
}

.nav-links {
  display: flex;
  gap: 6px;
  align-items: center;
}

.nav-links a {
  padding: 10px 14px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14.5px;
  color: var(--ink-soft);
  transition: .2s;
}

.nav-links a:hover {
  background: var(--mint);
  color: var(--jungle);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-phone {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 14px;
  color: var(--jungle);
  padding: 0 8px;
}

.burger {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  background: var(--mint);
  border: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.burger span,
.burger::before,
.burger::after {
  content: "";
  display: block;
  width: 18px;
  height: 2px;
  background: var(--jungle);
  border-radius: 2px;
}

/* ---------- HERO ---------- */
.hero {
  padding: 150px 0 0;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 40px;
  align-items: center;
  position: relative;
}

.route-svg {
  position: absolute;
  top: -40px;
  right: -60px;
  width: 520px;
  opacity: .55;
  pointer-events: none;
  z-index: 0;
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.hero h1 {
  font-size: clamp(38px, 4.6vw, 62px);
  letter-spacing: -.01em;
}

.hero h1 em {
  font-style: normal;
  color: var(--lagoon-deep);
  position: relative;
}

.hero h1 .u {
  position: relative;
  display: inline-block;
}

.hero h1 .u svg {
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 14px;
}

.hero p.lead {
  margin-top: 20px;
  font-size: 17.5px;
  color: var(--ink-soft);
  max-width: 480px;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  gap: 14px;
  margin-top: 32px;
  flex-wrap: wrap;
}

.play-ico {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--jungle);
  display: flex;
  align-items: center;
  justify-content: center;
}

.play-ico svg {
  width: 11px;
  height: 11px;
  fill: #fff;
  margin-left: 2px;
}

.trust-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 36px;
}

.avatars {
  display: flex;
}

.avatars img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 3px solid var(--mist);
  margin-left: -12px;
  object-fit: cover;
}

.avatars img:first-child {
  margin-left: 0;
}

.trust-text {
  font-size: 13.5px;
  color: var(--ink-soft);
  font-weight: 600;
  line-height: 1.4;
}

.trust-text b {
  color: var(--jungle);
  display: block;
  font-size: 14.5px;
}

.stars {
  color: var(--gold);
  font-size: 13px;
  letter-spacing: 2px;
}

.hero-visual {
  position: relative;
  z-index: 1;
}

.blob-frame {
  border-radius: 58% 42% 61% 39%/45% 56% 44% 55%;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  position: relative;
  aspect-ratio: 1/1.05;
  animation: blobmove 14s ease-in-out infinite;
}

.blob-frame img {
  width: 100%;
  height: 100%;
}

.hero-slideshow {
  background: var(--mint);
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1s ease;
  z-index: 0;
}

.hero-slide.active {
  opacity: 1;
  z-index: 1;
}

.hero-slide-dots {
  position: absolute;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 2;
}

.hs-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, .55);
  cursor: pointer;
  padding: 0;
  transition: .25s;
}

.hs-dot.active {
  width: 22px;
  border-radius: 5px;
  background: #fff;
}

@keyframes blobmove {

  0%,
  100% {
    border-radius: 58% 42% 61% 39%/45% 56% 44% 55%;
  }

  50% {
    border-radius: 42% 58% 39% 61%/55% 44% 56% 45%;
  }
}

.float-card {
  position: absolute;
  background: #fff;
  border-radius: var(--r-md);
  padding: 14px 18px;
  box-shadow: var(--shadow-card);
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 999;
}

.float-card.fc1 {
  top: 6%;
  left: -8%;
}

.float-card.fc2 {
  bottom: 10%;
  right: -6%;
}

.fc-ico {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.fc-ico svg {
  width: 19px;
  height: 19px;
}

.fc-title {
  font-weight: 800;
  font-size: 14.5px;
  color: var(--jungle);
  font-family: 'Baloo 2';
}

.fc-sub {
  font-size: 12px;
  color: var(--ink-soft);
  font-weight: 600;
}

/* ---------- SEARCH CAPSULE ---------- */
.search-wrap {
  max-width: 1000px;
  margin: 56px auto 0;
  padding: 0 28px;
  position: relative;
  z-index: 5;
}

.search-capsule {
  background: #fff;
  border-radius: 999px;
  box-shadow: 0 26px 60px -24px rgba(43, 7, 16, .4);
  display: flex;
  align-items: center;
  padding: 10px 10px 10px 8px;
  gap: 4px;
}

.s-field {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 20px;
  border-right: 1px solid var(--line);
}

.s-field:last-of-type {
  border-right: none;
}

.s-ico {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--mint);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.s-ico svg {
  width: 16px;
  height: 16px;
  stroke: var(--lagoon-deep);
}

.s-label {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--ink-soft);
  text-transform: uppercase;
  letter-spacing: .06em;
}

.s-value {
  font-weight: 700;
  font-size: 14.5px;
  color: var(--jungle);
  font-family: 'Baloo 2';
}

select.s-select,
input.s-input {
  border: none;
  background: transparent;
  padding: 0;
  width: 100%;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
}

input.s-input::placeholder {
  color: var(--jungle);
  opacity: .55;
  font-weight: 700;
}

input.s-input[type="date"] {
  color: var(--jungle);
  font-family: 'Baloo 2';
  font-weight: 700;
  font-size: 14.5px;
}
input.s-input[type="date"]::-webkit-calendar-picker-indicator {
  filter: invert(14%) sepia(46%) saturate(3000%) hue-rotate(325deg) brightness(90%);
  cursor: pointer;
}

.search-capsule form,
form.search-capsule {
  width: 100%;
}

.search-capsule .btn {
  flex-shrink: 0;
}

/* ---------- SECTION HEAD ---------- */
.sec-head {
  max-width: 640px;
  margin-bottom: 44px;
}

.sec-head h2 {
  font-size: clamp(28px, 3.2vw, 40px);
}

.sec-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.sec-pad {
  padding: 50px 0;
}

/* ---------- DESTINATIONS BENTO ---------- */
.bento {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: 150px;
  gap: 18px;
}

.dest-tile {
  position: relative;
  border-radius: 26px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform .4s ease;
}

.dest-tile:hover {
  transform: translateY(-6px);
}

.dest-tile img {
  width: 100%;
  height: 100%;
  transition: transform .6s ease;
}

.dest-tile:hover img {
  transform: scale(1.08);
}

.dest-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(30, 6, 12, .78) 0%, rgba(30, 6, 12, 0) 55%);
}

.dest-tile .dt-label {
  position: absolute;
  left: 18px;
  bottom: 16px;
  z-index: 2;
  color: #fff;
}

.dest-tile .dt-label b {
  font-family: 'Baloo 2';
  font-size: 19px;
  display: block;
}

.dest-tile .dt-label span {
  font-size: 12px;
  opacity: .85;
  font-weight: 600;
}

.dest-tile .dt-arrow {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .22);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translate(-4px, 4px);
  transition: .3s;
}

.dest-tile:hover .dt-arrow {
  opacity: 1;
  transform: translate(0, 0);
}

.dt-arrow svg {
  width: 14px;
  height: 14px;
  stroke: #fff;
}

.t1 {
  grid-column: 1/4;
  grid-row: 1/3;
}

.t2 {
  grid-column: 4/7;
  grid-row: 1/2;
}

.t3 {
  grid-column: 4/6;
  grid-row: 2/3;
}

.t4 {
  grid-column: 6/7;
  grid-row: 2/3;
}

.t5 {
  grid-column: 1/3;
  grid-row: 3/4;
}

.t6 {
  grid-column: 3/5;
  grid-row: 3/4;
}

.t7 {
  grid-column: 5/7;
  grid-row: 3/4;
}

/* ---------- TOURS ---------- */
.tours-scroll {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  padding: 8px 4px 22px;
  scroll-snap-type: x mandatory;
}

.tours-scroll::-webkit-scrollbar {
  height: 6px;
}

.tours-scroll::-webkit-scrollbar-thumb {
  background: var(--line);
  border-radius: 8px;
}

.tour-card {
  flex: 0 0 340px;
  scroll-snap-align: start;
  background: #fff;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: transform .35s ease;
}

.tour-card:hover {
  transform: translateY(-6px);
}

.tour-img {
  position: relative;
  height: 210px;
}

.tour-img img {
  width: 100%;
  height: 100%;
}

.tour-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: #fff;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 800;
  color: var(--jungle);
  font-family: 'Baloo 2';
}

.tour-body {
  padding: 22px 22px 26px;
}

.tour-route {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--lagoon-deep);
  text-transform: uppercase;
  letter-spacing: .05em;
  margin-bottom: 10px;
}

.tour-route .rdot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--lagoon);
}

.tour-route .rline {
  width: 14px;
  height: 1px;
  background: var(--line);
  border-top: 2px dotted var(--lagoon);
}

.tour-body h3 {
  font-size: 19.5px;
  margin-bottom: 14px;
  line-height: 1.3;
}

.tour-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.tour-price {
  font-family: 'Baloo 2';
  font-weight: 800;
  color: var(--coral);
  font-size: 20px;
}

.tour-price span {
  font-size: 11.5px;
  color: var(--ink-soft);
  font-weight: 600;
  font-family: 'Plus Jakarta Sans';
}

.tour-link {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  font-size: 13.5px;
  color: var(--jungle);
}

.tour-link svg {
  width: 13px;
  height: 13px;
}

/* ---------- CRUISE (dark) ---------- */
.cruise-sec {
  background: var(--jungle);
  color: #fff;
  padding: 110px 0 100px;
  position: relative;
  overflow: hidden;
}

.wave-top {
  position: absolute;
  top: -1px;
  left: 0;
  width: 100%;
  line-height: 0;
}

.cruise-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
  margin-top: 50px;
}

.cruise-card {
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: var(--r-lg);
  padding: 34px;
  position: relative;
  overflow: hidden;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  transition: .4s;
}

.cruise-card:hover {
  background: rgba(255, 255, 255, .1);
  transform: translateY(-6px);
}

.cruise-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: .32;
  z-index: 0;
}

.cruise-card .cc-content {
  position: relative;
  z-index: 1;
}

.cruise-card h3 {
  color: #fff;
  font-size: 24px;
  margin-bottom: 8px;
}

.cruise-card p {
  color: rgba(255, 255, 255, .78);
  font-size: 14.5px;
  max-width: 360px;
  margin-bottom: 18px;
}

.cruise-sec .sec-head h2,
.cruise-sec .eyebrow {
  color: #fff;
}

.cruise-sec .eyebrow {
  background: rgba(255, 255, 255, .12);
  color: #fff;
}

/* ---------- WHY / STATS ---------- */
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}

.why-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 28px 0 34px;
}

.why-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.why-ico {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: var(--mint);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.why-ico svg {
  width: 15px;
  height: 15px;
  stroke: var(--lagoon-deep);
}

.why-item p {
  font-size: 15px;
  color: var(--ink-soft);
  font-weight: 500;
}

.stat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.stat-card {
  background: #fff;
  border-radius: var(--r-md);
  padding: 26px 22px;
  box-shadow: var(--shadow-card);
}

.stat-card:nth-child(2n) {
  background: var(--jungle);
}

.stat-card:nth-child(2n) .stat-num,
.stat-card:nth-child(2n) .stat-lbl {
  color: #fff;
}

.stat-num {
  font-family: 'Baloo 2';
  font-weight: 800;
  font-size: 32px;
  color: var(--jungle);
}

.stat-lbl {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-soft);
  margin-top: 4px;
}

/* ---------- JOURNEY / SIGNATURE ---------- */
.journey-sec {
  background: var(--mint);
}

.journey-path {
  position: relative;
  margin-top: 70px;
  padding: 10px 0 30px;
}

.journey-svg {
  position: absolute;
  top: 38px;
  left: 0;
  width: 100%;
  height: 120px;
  z-index: 0;
}

.journey-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
  position: relative;
  z-index: 1;
}

.journey-stop {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.stop-pin {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #fff;
  box-shadow: var(--shadow-card);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Baloo 2';
  font-weight: 800;
  color: var(--coral);
  font-size: 19px;
  border: 3px solid var(--mint);
  margin-bottom: 14px;
}

.journey-stop:nth-child(even) .stop-pin {
  margin-top: 70px;
  margin-bottom: 14px;
}

.journey-stop h4 {
  font-size: 15.5px;
  margin-bottom: 4px;
}

.journey-stop span {
  font-size: 12.5px;
  color: var(--ink-soft);
  font-weight: 600;
}

/* ---------- TESTIMONIALS ---------- */
.test-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.test-card {
  background: #fff;
  border-radius: var(--r-lg);
  padding: 32px 28px;
  box-shadow: var(--shadow-card);
  position: relative;
}

.test-stars {
  color: var(--gold);
  font-size: 14px;
  margin-bottom: 16px;
  letter-spacing: 2px;
}

.test-card p {
  font-size: 15px;
  color: var(--ink-soft);
  line-height: 1.7;
  margin-bottom: 24px;
  font-weight: 500;
}

.test-who {
  display: flex;
  align-items: center;
  gap: 12px;
}

.test-who img {
  width: 46px;
  height: 46px;
  border-radius: 16px;
  object-fit: cover;
}

.test-who b {
  display: block;
  font-family: 'Baloo 2';
  font-size: 14.5px;
  color: var(--jungle);
}

.test-who span {
  font-size: 12px;
  color: var(--lagoon-deep);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
}

/* ---------- GALLERY ---------- */
.gal-strip {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.gal-strip img {
  border-radius: 20px;
  height: 190px;
  box-shadow: var(--shadow-card);
  transition: transform .4s;
  width: 100%;
}

.gal-strip img:hover {
  transform: translateY(-5px);
}

.gal-strip a:nth-child(odd) img {
  margin-top: 22px;
}

/* ---------- NEWS ---------- */
.news-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 26px;
}

.news-feat {
  border-radius: var(--r-lg);
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-card);
  min-height: 420px;
  display: flex;
  align-items: flex-end;
}

.news-feat img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.news-feat::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(30, 6, 12, .85), rgba(30, 6, 12, .05) 60%);
  z-index: 1;
}

.news-feat .nf-body {
  position: relative;
  z-index: 2;
  padding: 34px;
  color: #fff;
}

.news-tag {
  background: var(--coral);
  font-size: 11.5px;
  font-weight: 800;
  padding: 6px 14px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: .04em;
  display: inline-block;
  margin-bottom: 14px;
}

.news-feat h3 {
  color: #fff;
  font-size: 25px;
  max-width: 420px;
}

.news-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.news-item {
  display: flex;
  gap: 18px;
  background: #fff;
  border-radius: var(--r-md);
  padding: 16px;
  box-shadow: var(--shadow-card);
  align-items: center;
}

.news-item img {
  width: 100px;
  height: 90px;
  border-radius: 14px;
  flex-shrink: 0;
}

.news-item .ni-tag {
  font-size: 11px;
  font-weight: 800;
  color: var(--coral);
  text-transform: uppercase;
  letter-spacing: .04em;
  margin-bottom: 6px;
  display: block;
}

.news-item h4 {
  font-size: 15.5px;
  line-height: 1.35;
}

/* ---------- NEWSLETTER + FOOTER ---------- */
.news-cta {
  background: var(--jungle);
  border-radius: 40px;
  padding: 56px 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: -140px;
  position: relative;
  z-index: 3;
  box-shadow: 0 30px 60px -20px rgba(43, 7, 16, .5);
}

.news-cta h3 {
  color: #fff;
  font-size: 26px;
  max-width: 380px;
}

.news-cta p {
  color: rgba(255, 255, 255, .7);
  margin-top: 8px;
  font-size: 14.5px;
}

.subscribe {
  display: flex;
  background: #fff;
  border-radius: 999px;
  padding: 6px;
  gap: 6px;
  min-width: 380px;
}

.subscribe input {
  border: none;
  background: transparent;
  padding: 12px 18px;
  flex: 1;
  font-family: inherit;
  font-size: 14.5px;
  outline: none;
}

footer {
  background: var(--jungle-soft);
  padding: 200px 0 0;
  color: rgba(255, 255, 255, .72);
}

.foot-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}

.foot-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  margin-bottom: 16px;
}

.foot-logo .logo-text b {
  color: #fff;
}

.foot-col h5 {
  color: #fff;
  font-family: 'Baloo 2';
  font-size: 15px;
  margin-bottom: 18px;
}

.foot-col ul li {
  margin-bottom: 11px;
  font-size: 14px;
}

.foot-col ul li a:hover {
  color: #fff;
}

.foot-contact li {
  display: flex;
  gap: 10px;
  font-size: 14px;
  margin-bottom: 14px;
  align-items: flex-start;
}

.foot-contact svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  margin-top: 2px;
  stroke: var(--lagoon);
}

.foot-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 26px 0;
  font-size: 13px;
}

.foot-social {
  display: flex;
  gap: 10px;
}

.foot-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .08);
  display: flex;
  align-items: center;
  justify-content: center;
}

.foot-social svg {
  width: 15px;
  height: 15px;
  fill: #fff;
}

/* .reveal starts visible by default. Only once main.js confirms it's running
     (adds the "js" class to <html>) do these elements hide and wait to be
     revealed on scroll. If main.js fails to load for any reason, content
     simply stays visible with no animation — it can never disappear. */
html.js .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .7s ease, transform .7s ease;
}

html.js .reveal.show {
  opacity: 1;
  transform: translateY(0);
}

@media(max-width:980px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    order: -1;
    max-width: 360px;
    margin: 0 auto;
  }

  .float-card {
    display: none;
  }

  .why-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

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

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

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

  .gal-strip {
    grid-template-columns: repeat(3, 1fr);
  }

  .gal-strip a:nth-child(n+4) {
    display: none;
  }

  .journey-row {
    grid-template-columns: repeat(5, 1fr);
  }

  .journey-stop h4 {
    font-size: 12.5px;
  }

  .journey-stop span {
    display: none;
  }

  .stop-pin {
    width: 44px;
    height: 44px;
    font-size: 15px;
  }
}

@media(max-width:760px) {

  .nav-links,
  .nav-phone {
    display: none;
  }

  .burger {
    display: flex;
  }

  .hero {
    padding-top: 120px;
  }

  .search-capsule {
    flex-direction: column;
    border-radius: 28px;
    align-items: stretch;
    padding: 14px;
  }

  .s-field {
    border-right: none;
    border-bottom: 1px solid var(--line);
    padding: 12px 8px;
  }

  .bento {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 160px;
  }

  .t1,
  .t2,
  .t3,
  .t4,
  .t5,
  .t6,
  .t7 {
    grid-column: span 1;
    grid-row: span 1;
  }

  .t1 {
    grid-column: 1/3;
    grid-row: span 1;
  }

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

  .news-cta {
    flex-direction: column;
    text-align: center;
    padding: 40px 28px;
    border-radius: 28px;
  }

  .subscribe {
    min-width: 0;
    width: 100%;
  }

  .foot-grid {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }

  .journey-row {
    grid-template-columns: repeat(5, 1fr);
    gap: 6px;
  }

  footer {
    padding-top: 260px;
  }
}

@media(prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
}

/* ================= SHARED SUB-PAGE COMPONENTS ================= */

/* Page hero (compact banner for inner pages) */
.page-hero {
  padding: 150px 0 70px;
  position: relative;
  overflow: hidden;
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.page-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(30, 6, 12, .92) 15%, rgba(30, 6, 12, .55) 65%, rgba(30, 6, 12, .25) 100%);
}

.page-hero-content {
  position: relative;
  z-index: 2;
  max-width: 640px;
}

.page-hero .eyebrow {
  background: rgba(255, 255, 255, .14);
  color: #fff;
}

.page-hero h1 {
  color: #fff;
  font-size: clamp(32px, 4vw, 48px);
}

.page-hero p {
  color: rgba(255, 255, 255, .82);
  margin-top: 14px;
  font-size: 16px;
  max-width: 520px;
}

.breadcrumb {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, .75);
  margin-bottom: 22px;
}

.breadcrumb a {
  color: rgba(255, 255, 255, .75);
}

.breadcrumb a:hover {
  color: #fff;
}

.breadcrumb .sep {
  opacity: .5;
}

.breadcrumb .current {
  color: #fff;
}

/* Plain (light) page hero variant — for forms/listing pages that don't need a photo */
.page-hero.light {
  background: var(--mint);
  padding: 150px 0 60px;
}

.page-hero.light .breadcrumb {
  color: var(--ink-soft);
}

.page-hero.light .breadcrumb a {
  color: var(--ink-soft);
}

.page-hero.light .breadcrumb .current {
  color: var(--jungle);
}

.page-hero.light .eyebrow {
  background: #fff;
  color: var(--lagoon-deep);
}

.page-hero.light h1 {
  color: var(--jungle);
}

.page-hero.light p {
  color: var(--ink-soft);
}

/* ---- Filter bar (Tours listing) ---- */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 40px;
}

.filter-pill {
  padding: 11px 20px;
  border-radius: 999px;
  background: #fff;
  box-shadow: var(--shadow-card);
  font-weight: 700;
  font-size: 13.5px;
  color: var(--ink-soft);
  cursor: pointer;
  border: none;
  transition: .2s;
  font-family: 'Plus Jakarta Sans';
}

.filter-pill:hover {
  color: var(--jungle);
}

.filter-pill.active {
  background: var(--jungle);
  color: #fff;
}

.filter-results {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 26px;
}

.filter-results span {
  font-size: 14px;
  color: var(--ink-soft);
  font-weight: 600;
}

.sort-select {
  border: none;
  background: #fff;
  box-shadow: var(--shadow-card);
  padding: 10px 16px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 13px;
  color: var(--jungle);
  font-family: 'Plus Jakarta Sans';
}

.tours-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.tours-grid .tour-card {
  width: 100%;
}

.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 56px;
}

.page-num {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  color: var(--ink-soft);
  background: #fff;
  box-shadow: var(--shadow-card);
}

.page-num.active {
  background: var(--jungle);
  color: #fff;
}

.page-arrow {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  font-size: 13.5px;
  color: var(--jungle);
}

.page-arrow svg {
  width: 14px;
  height: 14px;
}

/* ---- Tour detail ---- */
.td-gallery {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 14px;
  margin-top: 26px;
}

.td-gallery .main-shot {
  border-radius: var(--r-lg);
  overflow: hidden;
  height: 440px;
}

.td-gallery .sub-shots {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 14px;
}

.td-gallery .sub-shots>a {
  border-radius: var(--r-md);
  overflow: hidden;
  height: 213px;
  display: block;
  position: relative;
}

.td-gallery img {
  width: 100%;
  height: 100%;
}

.td-gallery .more-badge {
  position: absolute;
  inset: 0;
  background: rgba(30, 6, 12, .55);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-family: 'Baloo 2';
  font-size: 16px;
}

.td-layout {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 50px;
  align-items: start;
  margin-top: 56px;
}

.td-facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 44px;
}

.td-fact {
  background: #fff;
  border-radius: var(--r-md);
  padding: 20px 16px;
  box-shadow: var(--shadow-card);
  text-align: center;
}

.td-fact .tf-ico {
  width: 34px;
  height: 34px;
  margin: 0 auto 10px;
  border-radius: 10px;
  background: var(--mint);
  display: flex;
  align-items: center;
  justify-content: center;
}

.td-fact .tf-ico svg {
  width: 16px;
  height: 16px;
  stroke: var(--lagoon-deep);
}

.td-fact b {
  display: block;
  font-family: 'Baloo 2';
  font-size: 15px;
  color: var(--jungle);
}

.td-fact span {
  font-size: 11.5px;
  color: var(--ink-soft);
  font-weight: 600;
}

.td-block {
  margin-bottom: 44px;
}

.td-block h2 {
  font-size: 24px;
  margin-bottom: 16px;
}

.td-block p {
  color: var(--ink-soft);
  line-height: 1.75;
  font-size: 15px;
  margin-bottom: 14px;
}

.td-highlights {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 24px;
}

.td-highlights li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 14.5px;
  color: var(--ink-soft);
  font-weight: 500;
}

.td-highlights svg {
  width: 16px;
  height: 16px;
  stroke: var(--lagoon-deep);
  flex-shrink: 0;
  margin-top: 3px;
}

.itinerary {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.it-day {
  background: #fff;
  border-radius: var(--r-md);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

.it-day summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  font-weight: 700;
}

.it-day summary::-webkit-details-marker {
  display: none;
}

.it-day-num {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--mint);
  color: var(--lagoon-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Baloo 2';
  font-weight: 800;
  flex-shrink: 0;
}

.it-day summary .it-title {
  flex: 1;
  font-family: 'Baloo 2';
  font-size: 16px;
  color: var(--jungle);
}

.it-day summary .it-chevron {
  width: 20px;
  height: 20px;
  transition: .3s;
}

.it-day[open] summary .it-chevron {
  transform: rotate(180deg);
}

.it-day-body {
  padding: 0 24px 24px 78px;
  color: var(--ink-soft);
  font-size: 14.5px;
  line-height: 1.7;
}

.it-day-body p {
  margin: 0 0 10px;
}

.it-day-body p:last-child {
  margin-bottom: 0;
}

.it-day-body ul,
.it-day-body ol {
  margin: 0 0 10px;
  padding-left: 20px;
}

.it-day-body a {
  color: var(--lagoon-deep);
  text-decoration: underline;
}

.it-day-body strong {
  color: var(--jungle);
}

.td-sidebar {
  position: sticky;
  top: 100px;
}

.booking-card {
  background: #fff;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-soft);
  padding: 28px;
}

.booking-card .bc-price {
  font-family: 'Baloo 2';
  font-weight: 800;
  font-size: 30px;
  color: var(--coral);
}

.booking-card .bc-price span {
  font-size: 13px;
  color: var(--ink-soft);
  font-weight: 600;
  font-family: 'Plus Jakarta Sans';
}

.bc-field {
  margin-top: 18px;
}

.bc-field label {
  font-size: 12px;
  font-weight: 700;
  color: var(--ink-soft);
  text-transform: uppercase;
  letter-spacing: .05em;
  display: block;
  margin-bottom: 7px;
}

.bc-field input,
.bc-field select {
  width: 100%;
  border: 1.5px solid var(--line);
  border-radius: 14px;
  padding: 12px 14px;
  font-family: inherit;
  font-size: 14.5px;
  color: var(--jungle);
  background: var(--mist);
}

.booking-card .btn {
  width: 100%;
  margin-top: 20px;
}

.bc-note {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  font-size: 12.5px;
  color: var(--ink-soft);
  font-weight: 600;
}

.bc-note svg {
  width: 14px;
  height: 14px;
  stroke: var(--lagoon-deep);
  flex-shrink: 0;
}

/* ---- Booking wizard (guests -> accommodation -> extras -> price breakdown) ---- */
.booking-wizard {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 32px 0;
}

.wiz-step {
  background: #fff;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-card);
  padding: 26px 28px;
}

.wiz-step-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 6px;
}

.wiz-num {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 9px;
  background: var(--jungle);
  color: #fff;
  font-family: 'Baloo 2';
  font-weight: 700;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.wiz-step-head h3 {
  font-size: 18px;
  margin: 0;
}

.wiz-counter-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  border-top: 1px solid var(--line);
}

.wiz-counter-label b {
  display: block;
  font-size: 14.5px;
  color: var(--jungle);
}

.wiz-counter-label span {
  font-size: 12.5px;
  color: var(--ink-soft);
}

.wiz-counter {
  display: flex;
  align-items: center;
  gap: 14px;
}

.wiz-counter span {
  min-width: 18px;
  text-align: center;
  font-weight: 700;
  font-size: 15px;
  color: var(--jungle);
}

.wiz-step-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1.5px solid var(--line);
  background: #fff;
  color: var(--jungle);
  font-size: 17px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.wiz-step-btn:hover {
  border-color: var(--coral);
  color: var(--coral);
}

.wiz-step-sub {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 6px 0 16px;
  font-size: 13.5px;
  color: var(--ink-soft);
  flex-wrap: wrap;
}

.wiz-clear {
  color: var(--lagoon-deep);
  font-weight: 600;
  text-decoration: underline;
  white-space: nowrap;
}

.wiz-room-row,
.wiz-extra-row {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
  flex-wrap: wrap;
}

.wiz-room-info,
.wiz-extra-info {
  flex: 1 1 260px;
}

.wiz-room-title,
.wiz-extra-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--jungle);
  display: flex;
  align-items: center;
  gap: 8px;
}

.wiz-badge {
  font-size: 11px;
  font-weight: 700;
  color: var(--lagoon-deep);
  background: var(--mint);
  padding: 3px 9px;
  border-radius: 999px;
}

.wiz-room-info p,
.wiz-extra-desc {
  font-size: 13px;
  color: var(--ink-soft);
  margin-top: 4px;
  line-height: 1.5;
}

.wiz-readmore {
  color: var(--lagoon-deep);
  font-weight: 600;
  text-decoration: underline;
  margin-left: 4px;
}

.wiz-room-price {
  flex: 0 0 140px;
  text-align: right;
}

.wiz-room-price s {
  display: block;
  font-size: 12px;
  color: var(--ink-soft);
  text-decoration: line-through;
}

.wiz-room-price b {
  display: block;
  font-family: 'Baloo 2';
  font-size: 19px;
  color: var(--coral);
  font-weight: 800;
}

.wiz-room-price span {
  font-size: 11.5px;
  color: var(--ink-soft);
}

.wiz-room-child-price {
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px dashed var(--line);
}

.wiz-room-child-price b {
  display: block;
  font-family: 'Baloo 2';
  font-size: 15px;
  color: var(--jungle);
  font-weight: 800;
}

.wiz-room-child-price span {
  font-size: 11.5px;
  color: var(--ink-soft);
}

.wiz-room-selects {
  flex: 0 0 150px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.wiz-room-select,
.wiz-room-child-select,
.wiz-extra-select {
  width: 100%;
  border: 1.5px solid var(--line);
  border-radius: 14px;
  padding: 11px 12px;
  font-size: 14px;
  color: var(--jungle);
  background: var(--mist);
  font-weight: 600;
}

.wiz-extra-select { flex: 0 0 150px; width: auto; }

.wiz-room-select:disabled,
.wiz-room-child-select:disabled,
.wiz-extra-select:disabled {
  opacity: .5;
  cursor: not-allowed;
}

.wiz-hint {
  font-size: 12.5px;
  color: var(--coral);
  font-weight: 600;
  margin-top: 12px;
  min-height: 1px;
}

/* ---- Step 4 — price breakdown sidebar ---- */
.wiz-summary .wiz-empty {
  font-size: 13.5px;
  color: var(--ink-soft);
  margin: 6px 0 16px;
}

.wiz-breakdown-lines {
  margin-bottom: 6px;
}

.wiz-line {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.wiz-line div:first-child b {
  display: block;
  font-size: 14px;
  color: var(--jungle);
}

.wiz-line div:first-child span {
  display: block;
  font-size: 12.5px;
  color: var(--ink-soft);
  margin-top: 2px;
}

.wiz-line-amt {
  font-size: 14px;
  font-weight: 700;
  color: var(--jungle);
  white-space: nowrap;
}

.wiz-line.wiz-discount div {
  color: #1b7a4d;
  font-weight: 700;
  font-size: 13.5px;
}

.wiz-total-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  font-size: 14px;
  color: var(--ink-soft);
  font-weight: 700;
}

.wiz-total-row s {
  display: block;
  font-size: 12px;
  color: var(--ink-soft);
  text-decoration: line-through;
  font-weight: 600;
  text-align: right;
}

.wiz-total-row b {
  font-family: 'Baloo 2';
  font-size: 22px;
  color: var(--coral);
  font-weight: 800;
}

.wiz-countdown {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  padding: 10px 12px;
  background: var(--mint);
  border-radius: 12px;
  font-size: 12.5px;
  color: var(--lagoon-deep);
  font-weight: 600;
}

.wiz-countdown svg {
  width: 15px;
  height: 15px;
  stroke: var(--coral);
  flex-shrink: 0;
}

.wiz-countdown b {
  color: var(--coral);
  font-weight: 800;
}

.wiz-summary .btn:disabled {
  opacity: .5;
  cursor: not-allowed;
}

.wiz-summary .wiz-hint[data-hint="submit"] {
  text-align: center;
  margin-top: 10px;
}

@media (max-width:640px) {

  .wiz-room-row,
  .wiz-extra-row {
    flex-direction: column;
    align-items: stretch;
  }

  .wiz-room-price {
    text-align: left;
  }

  .wiz-room-select,
  .wiz-extra-select {
    flex: 1 1 auto;
  }

  .wiz-room-selects {
    flex: 1 1 auto;
    flex-direction: row;
  }
}

/* ---- About page ---- */
.value-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.value-card {
  background: #fff;
  border-radius: var(--r-lg);
  padding: 28px 24px;
  box-shadow: var(--shadow-card);
  text-align: center;
}

.value-card .v-ico {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: var(--mint);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
}

.value-card .v-ico svg {
  width: 24px;
  height: 24px;
  stroke: var(--lagoon-deep);
}

.value-card h4 {
  font-size: 16.5px;
  margin-bottom: 8px;
}

.value-card p {
  font-size: 13.5px;
  color: var(--ink-soft);
  line-height: 1.6;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

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

.team-card .tc-photo {
  border-radius: 26px;
  overflow: hidden;
  aspect-ratio: 1/1.05;
  margin-bottom: 16px;
  box-shadow: var(--shadow-card);
}

.team-card h4 {
  font-size: 16px;
  margin-bottom: 2px;
}

.team-card span {
  font-size: 12.5px;
  color: var(--lagoon-deep);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.about-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-split .blob-frame {
  aspect-ratio: 1/1;
}

.timeline-row {
  display: flex;
  gap: 0;
  margin-top: 20px;
}

.tl-item {
  flex: 1;
  text-align: center;
  position: relative;
  padding-top: 26px;
}

.tl-item::before {
  content: "";
  position: absolute;
  top: 6px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--line);
  z-index: 0;
}

.tl-item:first-child::before {
  left: 50%;
}

.tl-item:last-child::before {
  right: 50%;
}

.tl-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--coral);
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  border: 3px solid var(--mist);
}

.tl-item b {
  display: block;
  font-family: 'Baloo 2';
  font-size: 15px;
  color: var(--jungle);
  margin-bottom: 4px;
}

.tl-item span {
  font-size: 12.5px;
  color: var(--ink-soft);
  font-weight: 600;
}

/* ---- Blog listing ---- */
.blog-layout {
  display: grid;
  grid-template-columns: 1fr .55fr;
  gap: 50px;
  align-items: start;
}

.blog-grid {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.blog-card {
  display: grid;
  grid-template-columns: .9fr 1.3fr;
  gap: 22px;
  background: #fff;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  padding: 12px;
}

.blog-card .bc-img {
  border-radius: var(--r-md);
  overflow: hidden;
  height: 100%;
  min-height: 170px;
}

.blog-card .bc-body {
  padding: 14px 18px 14px 4px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.blog-card h3 {
  font-size: 19px;
  margin-bottom: 10px;
  line-height: 1.3;
}

.blog-card p {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.6;
  margin-bottom: 14px;
}

.blog-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 12px;
  color: var(--ink-soft);
  font-weight: 600;
  margin-bottom: 10px;
}

.blog-meta span {
  display: flex;
  align-items: center;
  gap: 5px;
}

.blog-meta svg {
  width: 13px;
  height: 13px;
}

.side-card {
  background: #fff;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-card);
  padding: 24px;
  margin-bottom: 22px;
}

.side-card h4 {
  font-family: 'Baloo 2';
  font-size: 16px;
  margin-bottom: 16px;
}

.side-cat {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-soft);
  border-bottom: 1px solid var(--line);
}

.side-cat:last-child {
  border-bottom: none;
}

.side-cat span {
  background: var(--mint);
  color: var(--lagoon-deep);
  font-size: 11.5px;
  font-weight: 800;
  padding: 2px 9px;
  border-radius: 999px;
}

.side-post {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 14px;
}

.side-post img {
  width: 58px;
  height: 58px;
  border-radius: 12px;
  flex-shrink: 0;
}

.side-post h5 {
  font-size: 13.5px;
  line-height: 1.35;
}

/* ---- Blog detail (article) ---- */
.article-hero {
  border-radius: var(--r-lg);
  overflow: hidden;
  height: 400px;
  margin-top: 26px;
  box-shadow: var(--shadow-card);
}
.article-hero img{
  width: 100%;
}

.article-layout {
  display: grid;
  grid-template-columns: 1fr .55fr;
  gap: 50px;
  align-items: start;
  margin-top: 46px;
}

.article-body h2 {
  font-size: 23px;
  margin: 36px 0 14px;
}

.article-body p {
  font-size: 15.5px;
  line-height: 1.85;
  color: var(--ink-soft);
  margin-bottom: 20px;
}

.article-body blockquote {
  border-left: 4px solid var(--coral);
  padding: 6px 0 6px 22px;
  font-family: 'Baloo 2';
  font-size: 18px;
  color: var(--jungle);
  margin: 26px 0;
}

.article-body figure {
  margin: 26px 0;
}

.article-body figure img {
  border-radius: var(--r-md);
  width: 100%;
}

.article-body figcaption {
  font-size: 12.5px;
  color: var(--ink-soft);
  margin-top: 8px;
  text-align: center;
}

.share-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 36px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}

.share-row span {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink-soft);
}

.share-row a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--mint);
  display: flex;
  align-items: center;
  justify-content: center;
}

.share-row svg {
  width: 15px;
  height: 15px;
  stroke: var(--lagoon-deep);
}

.author-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #fff;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-card);
  padding: 22px;
  margin-top: 30px;
}

.author-card img {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  flex-shrink: 0;
}

.author-card b {
  display: block;
  font-family: 'Baloo 2';
  font-size: 15px;
  color: var(--jungle);
}

.author-card span {
  font-size: 12.5px;
  color: var(--ink-soft);
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 20px;
}

/* ---- Contact ---- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 26px 0 32px;
}

.ci-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.ci-ico {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: var(--mint);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ci-ico svg {
  width: 19px;
  height: 19px;
  stroke: var(--lagoon-deep);
}

.ci-item b {
  display: block;
  font-family: 'Baloo 2';
  font-size: 15px;
  color: var(--jungle);
  margin-bottom: 2px;
}

.ci-item span {
  font-size: 13.5px;
  color: var(--ink-soft);
}

.map-block {
  border-radius: var(--r-lg);
  overflow: hidden;
  height: 230px;
  position: relative;
  box-shadow: var(--shadow-card);
}

.map-block img {
  width: 100%;
  height: 100%;
}

.map-pin {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -100%);
}

.map-pin-dot {
  width: 44px;
  height: 44px;
  border-radius: 50% 50% 50% 0;
  background: var(--coral);
  transform: rotate(-45deg);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 20px -6px rgba(30, 6, 12, .5);
}

.map-pin-dot svg {
  width: 18px;
  height: 18px;
  stroke: #fff;
  transform: rotate(45deg);
}

.contact-form-card {
  background: #fff;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-soft);
  padding: 36px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.woocommerce form .col2-set .form-row {
  grid-template-columns: 0.5fr 1fr;
}

.ipt-traveler-card .form-row {
  grid-template-columns: 0.5fr 1fr;
}

.ipt-checkout .form-row label {
  top: 10px !important;
}

.ipt-checkout .form-row-first,
.ipt-checkout .form-row-last {
  width: 100% !important;
}

.ipt-gender-option {
  font-size: 14px;
}

.ipt-checkout-main .col2-set .col-1,
.ipt-checkout-main .col2-set .col-2 {
  width: 100% !important;
}

.woocommerce-form-coupon-toggle {
  display: none;
}

.woocommerce-checkout-payment .form-row.place-order {
  display: block !important;
}

.form-field {
  margin-bottom: 18px;
}

.form-field label {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--ink-soft);
  text-transform: uppercase;
  letter-spacing: .04em;
  display: block;
  margin-bottom: 8px;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  border: 1.5px solid var(--line);
  border-radius: 14px;
  padding: 13px 16px;
  font-family: inherit;
  font-size: 14.5px;
  color: var(--jungle);
  background: var(--mist);
  resize: vertical;
}

.form-field input[type="date"]::-webkit-calendar-picker-indicator {
  filter: invert(14%) sepia(46%) saturate(3000%) hue-rotate(325deg) brightness(90%);
  cursor: pointer;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: 2px solid var(--lagoon);
  border-color: transparent;
}

.contact-form-card .btn {
  width: 100%;
  margin-top: 6px;
}

.faq-item {
  background: #fff;
  border-radius: var(--r-md);
  box-shadow: var(--shadow-card);
  padding: 20px 24px;
  margin-bottom: 12px;
}

.faq-item summary {
  cursor: pointer;
  font-family: 'Baloo 2';
  font-size: 15.5px;
  color: var(--jungle);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary .fq-plus {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--mint);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: .3s;
}

.faq-item[open] summary .fq-plus {
  transform: rotate(45deg);
}

.faq-item p {
  margin-top: 14px;
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.7;
}

@media(max-width:980px) {
  .tours-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .td-layout,
  .blog-layout,
  .article-layout,
  .contact-grid,
  .about-split {
    grid-template-columns: 1fr;
  }

  .td-facts {
    grid-template-columns: repeat(2, 1fr);
  }

  .value-grid,
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .td-sidebar {
    position: static;
  }
}

@media(max-width:760px) {
  .tours-grid {
    grid-template-columns: 1fr;
  }

  .td-gallery {
    grid-template-columns: 1fr;
  }

  .td-gallery .main-shot {
    height: 280px;
  }

  .td-gallery .sub-shots {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr;
  }

  .td-gallery .sub-shots>a {
    height: 130px;
  }

  .td-facts {
    grid-template-columns: 1fr 1fr;
  }

  .td-highlights {
    grid-template-columns: 1fr;
  }

  .value-grid,
  .team-grid {
    grid-template-columns: 1fr 1fr;
  }

  .blog-card {
    grid-template-columns: 1fr;
  }

  .blog-card .bc-img {
    height: 180px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

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

  .timeline-row {
    flex-direction: column;
    gap: 26px;
  }

  .tl-item::before {
    display: none;
  }
}

/* ================= BOOKING NOTICES + LIGHT WOOCOMMERCE STYLING ================= */
.ipt-notice {
  border-radius: 16px;
  padding: 16px 20px;
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 26px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.ipt-notice.success {
  background: #E6F5EE;
  color: #0A6B45;
}

.ipt-notice.error {
  background: #FDEAEA;
  color: #9C1730;
}

/* Keep WooCommerce's own cart/checkout pages legible inside this theme without a full override. */
.woocommerce table.shop_table,
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea {
  border-radius: 12px;
  border-color: var(--line);
  font-family: 'Plus Jakarta Sans', sans-serif;
}

.woocommerce #payment #place_order,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button {
  background: var(--coral) !important;
  color: #fff !important;
  border-radius: 999px !important;
  border: none !important;
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-weight: 700 !important;
  padding: 14px 26px !important;
}

.woocommerce ul.products li.product .price,
.woocommerce div.product p.price,
.woocommerce div.product span.price {
  color: var(--coral);
  font-family: 'Baloo 2';
}

.woocommerce-page .wrap,
.woocommerce.wrap {
  padding-top: 0;
  padding-bottom: 0;
}

/* ================= COMMENTS ================= */
.comment-list .comment-body {
  background: #fff;
  border-radius: var(--r-md);
  box-shadow: var(--shadow-card);
  padding: 18px 20px;
}

.comment-list .comment-author .fn {
  font-family: 'Baloo 2';
  font-weight: 700;
  color: var(--jungle);
  font-style: normal;
}

.comment-list .comment-meta a {
  font-size: 12px;
  color: var(--ink-soft);
}

.comment-list .comment-content p {
  font-size: 14.5px;
  color: var(--ink-soft);
  line-height: 1.7;
  margin-top: 6px;
}

.comment-list .children {
  list-style: none;
  margin-left: 24px;
  margin-top: 14px;
}

.comment-form p {
  margin-bottom: 14px;
}

.comment-form label {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--ink-soft);
  text-transform: uppercase;
  letter-spacing: .04em;
  display: block;
  margin-bottom: 7px;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
  width: 100%;
  border: 1.5px solid var(--line);
  border-radius: 14px;
  padding: 12px 14px;
  font-family: inherit;
  font-size: 14.5px;
  background: var(--mist);
}

/* ================= TOUR DETAIL — EXTRA SECTIONS ================= */

/* Trip Features grid */
.trip-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 28px;
  margin: 26px 0 40px;
}

.trip-feature {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.trip-feature .tf-emoji {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: var(--mint);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
  overflow: hidden;
}

.trip-feature .tf-emoji img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 14px;
}

.trip-feature h4 {
  font-size: 15px;
  margin-bottom: 4px;
}

.trip-feature p {
  font-size: 13.5px;
  color: var(--ink-soft);
  line-height: 1.55;
}

/* Route map */
.tour-map-wrap {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  margin-bottom: 40px;
  box-shadow: var(--shadow-card);
}

.tour-map-wrap img {
  width: 100%;
  display: block;
}

/* Brochure box */
.brochure-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 30px;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-card);
  margin: 40px 0;
}

.brochure-box h3 {
  font-size: 18px;
  margin-bottom: 6px;
}

.brochure-box p {
  font-size: 14px;
  color: var(--ink-soft);
}

.brochure-box .btn {
  flex-shrink: 0;
}

/* Included / Excluded accordion (reuses the itinerary accordion look, with an icon instead of a day number) */
.info-accordion {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.info-item {
  background: #fff;
  border-radius: var(--r-md);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

.info-item summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 22px;
  display: flex;
  align-items: center;
  gap: 14px;
  font-weight: 700;
}

.info-item summary::-webkit-details-marker {
  display: none;
}

.info-item .ii-ico {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--mint);
  color: var(--lagoon-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.info-item.excluded .ii-ico {
  background: #FDEAEA;
  color: var(--coral-deep);
}

.info-item .ii-ico svg {
  width: 16px;
  height: 16px;
}

.info-item summary .ii-title {
  flex: 1;
  font-family: 'Baloo 2';
  font-size: 15px;
  color: var(--jungle);
}

.info-item summary .ii-chevron {
  width: 18px;
  height: 18px;
  transition: .3s;
}

.info-item[open] summary .ii-chevron {
  transform: rotate(180deg);
}

.info-item .ii-body {
  padding: 0 22px 20px 72px;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.7;
}

/* Where You'll Stay */
.hotel-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-bottom: 20px;
}

.hotel-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  padding: 10px;
  transition: .3s;
}

.hotel-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}

.hotel-card img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: var(--r-md);
}

.hotel-content {
  padding: 14px 8px 6px;
}

.hotel-content h4 {
  font-size: 15px;
  margin-bottom: 10px;
  line-height: 1.35;
}

.hotel-stars {
  color: var(--gold);
  font-size: 12px;
  margin-bottom: 10px;
  letter-spacing: 2px;
}

.hotel-days {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: var(--ink-soft);
  font-weight: 600;
}

.hotel-days svg {
  width: 13px;
  height: 13px;
}

/* Operator */
.operator-section {
  margin-top: 20px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 28px;
  display: flex;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  box-shadow: var(--shadow-card);
}

.operator-left {
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex: 1;
  min-width: 220px;
}

.operator-id {
  display: flex;
  gap: 14px;
  align-items: center;
}

.operator-logo {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  object-fit: cover;
  border: 1px solid var(--line);
}

.operator-small {
  font-size: 12.5px;
  color: var(--ink-soft);
  margin-bottom: 2px;
}

.operator-name {
  font-size: 19px;
}

.operator-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--ink-soft);
  font-weight: 700;
}

.operator-right {
  flex: 1;
  min-width: 220px;
}

.operator-row {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 13.5px;
  color: var(--ink-soft);
  font-weight: 600;
}

.operator-row:last-child {
  border-bottom: none;
}

.operator-row strong {
  color: var(--jungle);
}

/* Review summary */
.review-summary {
  background: linear-gradient(180deg, #fff, var(--mint));
  border-radius: var(--r-lg);
  padding: 36px;
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 30px;
  align-items: center;
  margin-top: 20px;
}

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

.big-score {
  font-family: 'Baloo 2';
  font-size: 44px;
  font-weight: 800;
  color: var(--jungle);
}

.review-score .stars {
  color: var(--gold);
  font-size: 18px;
  margin: 6px 0;
  letter-spacing: 3px;
}

.review-score p {
  font-size: 13.5px;
  color: var(--ink-soft);
}

.review-bars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 30px;
}

.rating-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
}

.rating-item .ri-label {
  width: 100px;
  flex-shrink: 0;
  font-weight: 600;
  color: var(--jungle);
}

.rating-item .bar {
  flex: 1;
  height: 7px;
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
}

.rating-item .bar span {
  display: block;
  height: 100%;
  background: var(--coral);
  border-radius: 20px;
}

.rating-item strong {
  width: 28px;
  text-align: right;
  color: var(--jungle);
}

/* Booking sidebar actions */
.booking-actions {
  margin-top: 20px;
  padding: 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-card);
}

.booking-actions h3 {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--ink-soft);
  margin-bottom: 14px;
}

.booking-action {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 0;
  color: var(--lagoon-deep);
  font-weight: 700;
  font-size: 14.5px;
  border-top: 1px solid var(--line);
}

.booking-action:first-of-type {
  border-top: none;
}

.booking-action .ba-ico {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: var(--mint);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.booking-action svg {
  width: 15px;
  height: 15px;
  stroke: var(--lagoon-deep);
}

@media(max-width:760px) {
  .trip-features {
    grid-template-columns: 1fr;
  }

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

  .operator-section {
    flex-direction: column;
  }

  .review-summary {
    grid-template-columns: 1fr;
  }

  .review-bars {
    grid-template-columns: 1fr;
  }

  .brochure-box {
    flex-direction: column;
    text-align: center;
  }

  .brochure-box .btn {
    width: 100%;
  }
}
/* ================= VIDEO POPUP ================= */
.ipt-video-modal {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.ipt-video-modal.is-open {
  display: flex;
}
.ipt-video-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(20, 8, 12, .82);
  cursor: pointer;
}
.ipt-video-modal-box {
  position: relative;
  width: 100%;
  max-width: 960px;
  z-index: 1;
}
.ipt-video-modal-frame {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9 */
  background: #000;
  border-radius: var(--r-md);
  overflow: hidden;
  box-shadow: 0 30px 70px -20px rgba(0, 0, 0, .6);
}
.ipt-video-modal-frame iframe,
.ipt-video-modal-frame video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}
.ipt-video-modal-close {
  position: absolute;
  top: -46px;
  right: 0;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: none;
  background: #fff;
  color: var(--jungle);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
@media(max-width:600px){
  .ipt-video-modal-close{ top:-42px; width:34px; height:34px; }
}

/* ================= FLOATING CONTACT BUTTONS ================= */
.ipt-float-actions {
  position: fixed;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 9998;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ipt-float-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  cursor: pointer;
  box-shadow: var(--shadow-card);
  transition: transform .2s ease, box-shadow .2s ease;
}
.ipt-float-btn:hover {
  transform: scale(1.08);
  box-shadow: var(--shadow-soft);
}
.ipt-float-btn svg { width: 26px; height: 26px; }

.ipt-float-messenger { background: linear-gradient(135deg, #00B2FF, #006AFF); }
.ipt-float-whatsapp   { background: #25D366; }
.ipt-float-chat       { background: var(--coral); }

@media(max-width:600px){
  .ipt-float-actions { right: 12px; gap: 10px; }
  .ipt-float-btn { width: 46px; height: 46px; }
  .ipt-float-btn svg { width: 22px; height: 22px; }
}

/* ================= LIVE CHAT PANEL ================= */
.ipt-chat-panel {
  position: fixed;
  right: 20px;
  bottom: 24px;
  width: 320px;
  max-width: calc(100vw - 32px);
  background: #fff;
  border-radius: var(--r-md);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  z-index: 9999;
  opacity: 0;
  transform: translateY(16px) scale(.97);
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease;
}
.ipt-chat-panel.is-open {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}
.ipt-chat-head {
  background: var(--coral);
  color: #fff;
  padding: 14px 16px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.ipt-chat-close {
  background: none;
  border: none;
  color: #fff;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}
.ipt-chat-body { padding: 16px; }
.ipt-chat-intro {
  font-size: 13px;
  color: var(--ink-soft);
  margin-bottom: 12px;
  line-height: 1.5;
}
#iptChatForm { display: flex; flex-direction: column; gap: 10px; }
#iptChatForm input,
#iptChatForm textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  padding: 10px 12px;
  font-family: inherit;
  font-size: 14px;
  resize: vertical;
}
#iptChatForm input:focus,
#iptChatForm textarea:focus {
  outline: none;
  border-color: var(--coral);
}
.ipt-chat-status {
  font-size: 13px;
  min-height: 16px;
}
.ipt-chat-status.is-success { color: #1c8a4b; }
.ipt-chat-status.is-error   { color: var(--coral-deep); }

@media(max-width:600px){
  .ipt-chat-panel { right: 12px; bottom: 78px; }
}
