@import url("https://fonts.googleapis.com/css2?family=Baloo+2:wght@600;700;800&family=Noto+Sans+SC:wght@500;700;800;900&display=swap");

.semporna-page {
  --sea: #18a9a6;
  --sea-dark: #075c63;
  --lagoon: #d9f6f2;
  --sand: #fbf3df;
  --sun: #f6bd4b;
  --reef: #ef7f68;
  --deep: #12383d;
  background: linear-gradient(180deg, #f3fbf9 0%, #fffaf0 46%, #f7fbfa 100%);
  font-family: "Baloo 2", "Noto Sans SC", ui-sans-serif, system-ui, sans-serif;
}

.semporna-page h2 {
  letter-spacing: 0;
  font-family: "Noto Sans SC", "PingFang SC", "Baloo 2", ui-sans-serif, system-ui, sans-serif;
  font-weight: 900;
}

.semporna-hero {
  position: relative;
  min-height: calc(100vh - 78px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(34px, 5vw, 74px) clamp(18px, 5vw, 72px) clamp(118px, 12vw, 150px);
  background: #0b6f78;
  overflow: hidden;
  isolation: isolate;
}

.semporna-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(4, 50, 62, 0.06), rgba(4, 50, 62, 0.28) 54%, rgba(4, 50, 62, 0.14)),
    radial-gradient(circle at 50% 40%, rgba(255, 255, 255, 0.16), transparent 34%);
  pointer-events: none;
}

.hero-split-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
}

.hero-panel {
  position: relative;
  overflow: hidden;
  background-position: center;
  background-size: cover;
}

.hero-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background: inherit;
  animation: islandZoom 16s ease-in-out infinite alternate;
}

.panel-one {
  background-image:
    linear-gradient(rgba(2, 68, 75, 0.02), rgba(2, 68, 75, 0.1)),
    url("./assets/semporna/kapalai.jpg");
}

.panel-two {
  background-image:
    linear-gradient(rgba(20, 151, 162, 0.18), rgba(20, 151, 162, 0.28)),
    url("./assets/semporna/route-mataking.jpg");
}

.panel-three {
  background-image:
    linear-gradient(rgba(2, 68, 75, 0.04), rgba(2, 68, 75, 0.12)),
    url("./assets/semporna/bohey-dulang.jpg");
}

.hero-poster-content {
  width: min(1180px, 100%);
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  text-align: center;
  color: white;
  animation: posterRise 0.9s ease both;
}

.semporna-label {
  width: fit-content;
  margin: 0 0 18px;
  border-radius: 999px;
  padding: 9px 15px;
  background: rgba(255, 255, 255, 0.18);
  color: white;
  box-shadow: 0 12px 32px rgba(4, 50, 62, 0.18);
  backdrop-filter: blur(14px);
  font-size: 13px;
  font-weight: 950;
}

.poster-kicker {
  margin: 0 0 4px;
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(24px, 3vw, 42px);
  font-weight: 520;
  letter-spacing: 0.12em;
  text-shadow: 0 4px 18px rgba(4, 50, 62, 0.36);
}

.semporna-hero h1 {
  margin: 0;
  color: white;
  font-size: clamp(50px, 10vw, 140px);
  line-height: 0.98;
  letter-spacing: 0.02em;
  text-shadow:
    0 5px 0 rgba(246, 189, 75, 0.28),
    0 18px 42px rgba(4, 50, 62, 0.42);
  animation: titleFloat 4.8s ease-in-out infinite;
}

.semporna-hero h1 span:first-letter {
  color: #ffe173;
}

.script-word {
  margin: -4px 0 16px;
  color: #ffe173;
  font-family: "Brush Script MT", "Segoe Script", cursive;
  font-size: clamp(42px, 8vw, 108px);
  font-weight: 400;
  line-height: 0.9;
  letter-spacing: 0.08em;
  text-shadow: 0 10px 28px rgba(4, 50, 62, 0.28);
  transform: rotate(-4deg);
}

.animated-subtitles {
  position: relative;
  width: min(720px, 100%);
  min-height: 42px;
  margin: 4px auto 26px;
  color: white;
  font-size: clamp(17px, 2vw, 26px);
  font-weight: 850;
  text-shadow: 0 8px 22px rgba(4, 50, 62, 0.42);
}

.poster-description {
  width: min(720px, 100%);
  margin: 0 auto 24px;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(16px, 1.6vw, 19px);
  font-weight: 700;
  line-height: 1.75;
  text-shadow: 0 8px 22px rgba(4, 50, 62, 0.36);
}

.animated-subtitles span {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  opacity: 0;
  transform: translateY(14px);
  animation: subtitleSwap 9s ease-in-out infinite;
}

.animated-subtitles span:nth-child(2) {
  animation-delay: 3s;
}

.animated-subtitles span:nth-child(3) {
  animation-delay: 6s;
}

.poster-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.hero-note {
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
  font-weight: 800;
  text-shadow: 0 6px 18px rgba(4, 50, 62, 0.34);
}

.hero-service-bar {
  position: absolute;
  left: 50%;
  bottom: clamp(20px, 4vw, 42px);
  z-index: 2;
  width: min(1180px, calc(100% - 36px));
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 24px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.88);
  color: #153b40;
  box-shadow: 0 22px 54px rgba(4, 50, 62, 0.22);
  backdrop-filter: blur(14px);
  transform: translateX(-50%);
}

.hero-service-bar strong {
  grid-column: 1 / -1;
  text-align: center;
  font-size: 18px;
  font-weight: 950;
}

.hero-service-bar span {
  min-height: 48px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 7px;
  place-items: center;
  border: 1px solid rgba(7, 92, 99, 0.1);
  border-radius: 14px;
  padding: 8px 10px;
  background: rgba(236, 250, 247, 0.8);
  color: #27464a;
  text-align: center;
  font-weight: 850;
}

.hero-service-bar svg,
.service-icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hero-subtitle {
  margin-bottom: 10px;
  color: #24474b;
  font-size: clamp(20px, 2.3vw, 27px);
  font-weight: 900;
}

.hero-intro {
  max-width: 650px;
  margin-bottom: 18px;
  color: #5f7073;
  font-size: 17px;
  line-height: 1.75;
}

.hero-price {
  margin-bottom: 20px;
  color: var(--reef);
  font-size: 24px;
  font-weight: 950;
}

.island-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.island-feature-grid article {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2px 10px;
  min-height: 78px;
  align-content: center;
  border: 1px solid rgba(255, 255, 255, 0.76);
  border-radius: 18px;
  padding: 13px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(242, 252, 250, 0.86));
  box-shadow: 0 12px 26px rgba(13, 92, 97, 0.09);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.island-feature-grid article:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 34px rgba(13, 92, 97, 0.14);
}

.island-feature-grid span {
  grid-row: span 2;
  font-size: 22px;
}

.island-feature-grid strong {
  color: #123538;
  font-size: 15px;
}

.island-feature-grid small {
  color: #66787a;
  font-size: 12px;
  line-height: 1.35;
}

.semporna-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.semporna-page .button.primary {
  background: linear-gradient(135deg, var(--sea-dark), #0b8f8f);
  box-shadow: 0 16px 28px rgba(7, 92, 99, 0.22);
}

.semporna-page .button.ghost {
  border-color: rgba(255, 255, 255, 0.8);
  background: rgba(255, 255, 255, 0.9);
  color: var(--sea-dark);
}

.island-section {
  padding: clamp(64px, 8vw, 108px) clamp(18px, 5vw, 72px);
}

.island-section + .island-section {
  padding-top: clamp(58px, 7vw, 96px);
}

.dream-section {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(7, 92, 99, 0.16), rgba(65, 189, 212, 0.34)),
    linear-gradient(180deg, rgba(250, 255, 255, 0.32), rgba(236, 251, 255, 0.8)),
    url("./assets/semporna/route-mataking.jpg") center 48% / cover;
  padding-top: clamp(82px, 9vw, 132px);
  padding-bottom: clamp(82px, 9vw, 132px);
}

.dream-section::before,
.dream-section::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.dream-section::before {
  inset: 0;
  background:
    radial-gradient(circle at 15% 22%, rgba(255, 255, 255, 0.76) 0 8px, transparent 9px),
    radial-gradient(circle at 82% 28%, rgba(255, 255, 255, 0.7) 0 6px, transparent 7px),
    radial-gradient(circle at 70% 76%, rgba(255, 255, 255, 0.58) 0 10px, transparent 11px),
    radial-gradient(circle at 28% 82%, rgba(255, 255, 255, 0.54) 0 5px, transparent 6px);
  animation: bubbleDrift 8s ease-in-out infinite alternate;
}

.dream-section::after {
  right: -90px;
  bottom: -80px;
  width: 360px;
  height: 220px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.28);
  filter: blur(18px);
  animation: lagoonGlow 7s ease-in-out infinite;
}

.dream-shell {
  position: relative;
  z-index: 1;
  width: min(980px, 100%);
  margin: 0 auto;
  border: 1px solid rgba(255, 255, 255, 0.68);
  border-radius: 34px;
  padding: clamp(32px, 5vw, 58px) clamp(22px, 5vw, 70px);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.82), rgba(245, 254, 255, 0.58)),
    radial-gradient(circle at 10% 10%, rgba(255, 224, 151, 0.34), transparent 34%);
  color: #1a7480;
  box-shadow: 0 28px 70px rgba(7, 92, 99, 0.2);
  backdrop-filter: blur(18px);
  text-align: center;
  animation: dreamCardIn 0.9s ease both;
}

.dream-shell::before {
  content: "";
  display: block;
  width: min(240px, 44vw);
  height: 8px;
  margin: 0 auto 24px;
  border-radius: 999px;
  background: linear-gradient(90deg, #ffd875, #5edbdc, #7fb4ed);
  box-shadow: 0 8px 18px rgba(28, 157, 174, 0.24);
}

.dream-shell h2 {
  max-width: 900px;
  margin: 0 auto 22px;
  color: #0d6977;
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.08;
  text-shadow: 0 4px 0 rgba(255, 216, 117, 0.22);
}

.dream-shell p {
  width: min(860px, 100%);
  margin: 0 auto 14px;
  color: #216f7b;
  font-size: clamp(18px, 1.9vw, 24px);
  font-weight: 800;
  line-height: 1.72;
}

.shell-icon,
.wave-icon {
  position: absolute;
  opacity: 0.42;
}

.shell-icon {
  left: clamp(18px, 6vw, 62px);
  top: clamp(18px, 4vw, 42px);
  width: 82px;
  height: 66px;
  border: 9px solid #49bec7;
  border-bottom-width: 0;
  border-radius: 90px 90px 20px 20px;
  animation: shellFloat 5s ease-in-out infinite;
}

.shell-icon::before,
.shell-icon::after {
  content: "";
  position: absolute;
  bottom: -26px;
  width: 52px;
  height: 52px;
  border: 9px solid #49bec7;
  border-top: 0;
}

.shell-icon::before {
  left: -5px;
  border-radius: 0 0 8px 26px;
  transform: rotate(40deg);
}

.shell-icon::after {
  right: -5px;
  border-radius: 0 0 26px 8px;
  transform: rotate(-40deg);
}

.wave-icon {
  right: clamp(18px, 5vw, 54px);
  bottom: clamp(16px, 4vw, 34px);
  width: 160px;
  height: 62px;
  background:
    radial-gradient(50% 120% at 50% 0%, transparent 58%, #49bec7 60% 70%, transparent 72%) 0 0 / 42px 20px repeat-x,
    radial-gradient(50% 120% at 50% 0%, transparent 58%, #49bec7 60% 70%, transparent 72%) 0 22px / 42px 20px repeat-x,
    radial-gradient(50% 120% at 50% 0%, transparent 58%, #49bec7 60% 70%, transparent 72%) 0 44px / 42px 20px repeat-x;
  animation: waveFloat 4.5s ease-in-out infinite;
}

.tinted-island {
  background:
    linear-gradient(180deg, rgba(255, 250, 240, 0.95), rgba(236, 250, 247, 0.95)),
    url("./assets/semporna/route-mataking.jpg") center/cover fixed;
}

.center-copy {
  width: min(840px, 100%);
  margin: 0 auto 34px;
  text-align: center;
}

.center-copy h2,
.section-head h2,
.semporna-bottom-cta h2 {
  color: var(--deep);
}

.center-copy p,
.section-note {
  color: #647476;
  line-height: 1.7;
}

.section-head {
  margin-bottom: 30px;
}

.plan-panel {
  width: min(1080px, 100%);
  display: grid;
  grid-template-columns: 1.05fr 0.95fr auto;
  gap: 24px;
  align-items: center;
  margin: 0 auto;
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: 30px;
  padding: clamp(22px, 4vw, 42px);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(232, 250, 247, 0.86)),
    url("./assets/semporna/kapalai.jpg") center/cover;
  box-shadow: 0 26px 64px rgba(13, 92, 97, 0.14);
}

.plan-panel h3 {
  color: var(--deep);
  font-size: clamp(24px, 3vw, 36px);
}

.plan-intro {
  width: min(960px, 100%);
  margin: 0 auto 28px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 24px;
  padding: 22px 24px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 16px 40px rgba(13, 92, 97, 0.08);
  text-align: center;
}

.plan-intro p {
  margin: 0;
  color: #42666a;
  font-size: 17px;
  font-weight: 850;
  line-height: 1.7;
}

.island-timeline {
  width: min(1120px, 100%);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: 0 auto;
}

.island-timeline article {
  position: relative;
  border: 1px solid rgba(13, 92, 97, 0.1);
  border-radius: 22px;
  padding: 22px;
  background: linear-gradient(180deg, #ffffff, #f2fbfa);
  box-shadow: 0 14px 34px rgba(13, 92, 97, 0.08);
}

.island-timeline article::after {
  content: "";
  position: absolute;
  top: 38px;
  right: -14px;
  width: 14px;
  height: 2px;
  background: rgba(13, 92, 97, 0.18);
}

.island-timeline article:last-child::after {
  display: none;
}

.island-timeline span {
  display: inline-flex;
  margin-bottom: 18px;
  border-radius: 999px;
  padding: 8px 11px;
  background: var(--sea-dark);
  color: white;
  font-weight: 950;
}

.island-timeline h3 {
  color: var(--deep);
  font-size: 20px;
}

.island-timeline p {
  margin: 0;
  color: #617074;
  line-height: 1.65;
}

.post-timeline-cta {
  width: min(980px, 100%);
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  margin: 28px auto 0;
  border-radius: 18px;
  padding: 18px 20px;
  background: #12383d;
  color: white;
}

.post-timeline-cta span {
  color: rgba(255, 255, 255, 0.78);
  font-weight: 850;
}

.post-timeline-cta .button {
  flex: 0 0 auto;
}

.plan-panel p {
  margin: 0;
  color: #617074;
  line-height: 1.75;
}

.plan-panel ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.plan-panel li {
  position: relative;
  padding-left: 22px;
  color: #28494d;
  font-weight: 850;
}

.plan-panel li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--sun);
}

.stay-type-grid,
.resort-grid,
.route-grid,
.service-grid,
.package-choice-grid,
.testimonial-grid {
  display: grid;
  gap: 18px;
}

.stay-type-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.stay-type-grid article,
.route-grid article,
.service-grid article,
.package-choice-grid article {
  border: 1px solid rgba(13, 92, 97, 0.09);
  border-radius: 20px;
  padding: 22px;
  background: linear-gradient(180deg, #ffffff, #f8fffd);
  box-shadow: 0 14px 36px rgba(13, 92, 97, 0.08);
}

.stay-type-grid span,
.route-grid span,
.service-grid span,
.package-choice-grid span {
  display: inline-flex;
  margin-bottom: 14px;
  border-radius: 999px;
  padding: 6px 10px;
  background: rgba(24, 169, 166, 0.1);
  color: var(--sea-dark);
  font-size: 12px;
  font-weight: 950;
}

.stay-type-grid h3,
.route-grid h3,
.service-grid h3,
.package-choice-grid h3,
.resort-card h3 {
  color: var(--deep);
}

.stay-type-grid p,
.route-grid p,
.service-grid p,
.package-choice-grid p,
.resort-card span {
  color: #617074;
  line-height: 1.65;
}

.stay-type-grid strong,
.package-choice-grid strong {
  display: block;
  margin-bottom: 14px;
  color: #28494d;
  line-height: 1.45;
}

.stay-type-grid div,
.resort-card div div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.stay-type-grid small,
.resort-card small {
  border-radius: 999px;
  padding: 6px 9px;
  background: #eff8f6;
  color: var(--sea-dark);
  font-size: 12px;
  font-weight: 900;
}

.inline-cta {
  width: min(980px, 100%);
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
  margin: 28px auto 0;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 22px;
  padding: 18px 20px;
  background:
    linear-gradient(90deg, rgba(18, 56, 61, 0.94), rgba(24, 169, 166, 0.78)),
    url("./assets/semporna/sky-resort.jpg") center/cover;
  color: white;
  box-shadow: 0 18px 46px rgba(7, 92, 99, 0.14);
}

.inline-cta span {
  color: rgba(255, 255, 255, 0.78);
}

.inline-cta a {
  color: #ffe08a;
  font-weight: 950;
}

.resort-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.resort-category {
  margin-top: 34px;
}

.resort-category > h3,
.more-resorts h2 {
  width: min(1180px, 100%);
  margin: 0 auto 14px;
  color: var(--deep);
  font-size: 23px;
}

.compact-resorts {
  width: min(1180px, 100%);
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0 auto;
  gap: 18px;
}

.resort-card {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.92);
  border-radius: 24px;
  background: white;
  box-shadow: 0 18px 42px rgba(13, 92, 97, 0.12);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.resort-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 56px rgba(13, 92, 97, 0.18);
}

.compact-resorts .resort-card {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
}

.resort-card img {
  width: 100%;
  height: 100%;
  min-height: 240px;
  aspect-ratio: 5 / 4;
  object-fit: cover;
}

.resort-card > div {
  display: flex;
  flex-direction: column;
  padding: 22px;
}

.resort-card p {
  margin-bottom: 8px;
  color: var(--sea-dark);
  font-size: 13px;
  font-weight: 950;
}

.resort-card h3 {
  font-size: 26px;
}

.resort-card > div > span {
  flex: 1;
}

.resort-card div div {
  margin-top: 14px;
}

.resort-card a {
  width: fit-content;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  margin-top: 18px;
  border-radius: 999px;
  padding: 0 14px;
  background: linear-gradient(135deg, var(--sea-dark), var(--sea));
  color: white;
  font-weight: 950;
}

.more-resorts {
  width: min(1180px, 100%);
  margin: 38px auto 0;
  border: 1px solid rgba(13, 92, 97, 0.1);
  border-radius: 24px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.72);
}

.more-resorts h2 {
  width: auto;
}

.more-resorts div {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 4px;
}

.more-resorts span {
  flex: 0 0 auto;
  border-radius: 999px;
  padding: 10px 14px;
  background: #eff8f6;
  color: var(--sea-dark);
  font-weight: 900;
}

.route-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.route-grid article {
  min-height: 0;
  padding: 0;
  overflow: hidden;
  background: white;
}

.route-grid article > img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.route-copy {
  padding: 22px;
  background:
    radial-gradient(circle at 88% 8%, rgba(94, 219, 220, 0.2), transparent 28%),
    linear-gradient(180deg, #ffffff, #f4fcfb);
}

.route-copy em {
  display: inline-flex;
  margin-top: 8px;
  border-radius: 999px;
  padding: 8px 11px;
  background: rgba(246, 189, 75, 0.18);
  color: #8a5a10;
  font-style: normal;
  font-weight: 950;
}

.route-grid article,
.island-timeline article {
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.route-grid article:hover,
.island-timeline article:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 42px rgba(13, 92, 97, 0.12);
}

.route-grid em {
  display: block;
  margin-top: 18px;
  color: var(--reef);
  font-style: normal;
  font-weight: 950;
}

.center-action {
  display: flex;
  justify-content: center;
  margin-top: 28px;
}

.service-section {
  position: relative;
  background:
    linear-gradient(135deg, rgba(6, 61, 70, 0.86), rgba(12, 112, 122, 0.68)),
    url("./assets/semporna/mabul.jpg") center/cover;
  color: white;
}

.service-section .eyebrow,
.service-section h2 {
  color: white;
}

.service-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.service-grid article {
  border-color: rgba(255, 255, 255, 0.48);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.26), rgba(255, 255, 255, 0.14));
  box-shadow: 0 18px 46px rgba(4, 50, 62, 0.18);
  backdrop-filter: blur(10px);
}

.service-icon {
  width: 58px;
  height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  border: 2px solid rgba(255, 255, 255, 0.85);
  border-radius: 999px;
  background: linear-gradient(135deg, #fff7d7, #ffd875);
  color: #075c63;
  box-shadow: 0 12px 28px rgba(4, 50, 62, 0.22);
}

.service-icon svg {
  width: 30px;
  height: 30px;
  stroke-width: 2.2;
}

.service-grid h3 {
  color: white;
  text-shadow: 0 2px 12px rgba(4, 50, 62, 0.28);
}

.service-grid p {
  color: rgba(255, 255, 255, 0.9);
}

.package-choice-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.compact-packages {
  width: min(1080px, 100%);
  margin: 22px auto 0;
}

.featured-choice {
  border-color: rgba(241, 191, 85, 0.48) !important;
  background:
    linear-gradient(180deg, rgba(255, 253, 248, 0.94), rgba(255, 255, 255, 0.9)),
    url("./assets/semporna/kapalai.jpg") center/cover !important;
  box-shadow: 0 22px 58px rgba(13, 92, 97, 0.13) !important;
}

.photo-strip {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr 0.9fr;
  gap: 12px;
  margin-bottom: 22px;
}

.photo-strip img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border: 6px solid white;
  border-radius: 24px;
  box-shadow: 0 18px 42px rgba(13, 92, 97, 0.12);
}

.photo-strip img:nth-child(1) {
  height: 380px;
}

.review-wall {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.review-wall figure {
  margin: 0;
  border: 1px solid rgba(13, 92, 97, 0.12);
  border-radius: 18px;
  padding: 10px;
  background: white;
  box-shadow: 0 18px 42px rgba(13, 92, 97, 0.1);
  overflow: hidden;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.review-wall figure:hover {
  transform: translateY(-3px);
  box-shadow: 0 24px 58px rgba(13, 92, 97, 0.14);
}

.review-wall img {
  width: 100%;
  height: auto;
  border-radius: 12px;
}

.testimonial-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.testimonial-grid article {
  border: 1px solid rgba(24, 169, 166, 0.12);
  border-radius: 22px;
  padding: 22px;
  background: linear-gradient(180deg, #effaf8, #ffffff);
  color: #27464a;
  font-weight: 800;
  line-height: 1.65;
  box-shadow: 0 14px 30px rgba(13, 92, 97, 0.08);
}

.faq-list {
  width: min(900px, 100%);
  display: grid;
  gap: 12px;
  margin: 0 auto;
}

.faq-list details {
  border: 1px solid rgba(13, 92, 97, 0.12);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 10px 26px rgba(13, 92, 97, 0.06);
}

.faq-list summary {
  cursor: pointer;
  padding: 18px 20px;
  color: #123538;
  font-weight: 950;
  list-style: none;
}

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

.faq-list p {
  margin: 0;
  padding: 0 20px 20px;
  color: #617074;
  line-height: 1.7;
}

.semporna-bottom-cta {
  display: flex;
  justify-content: space-between;
  gap: 26px;
  align-items: center;
  margin: 0 clamp(18px, 5vw, 72px) clamp(64px, 8vw, 96px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 34px;
  padding: clamp(30px, 5vw, 56px);
  background:
    linear-gradient(90deg, rgba(18, 56, 61, 0.9), rgba(24, 169, 166, 0.56)),
    url("./assets/semporna/route-mataking.jpg") center/cover;
  color: white;
  box-shadow: 0 24px 66px rgba(7, 92, 99, 0.18);
}

.semporna-bottom-cta .eyebrow,
.semporna-bottom-cta h2 {
  color: white;
}

.semporna-bottom-cta p {
  max-width: 680px;
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.7;
}

.semporna-bottom-cta .button.ghost {
  background: rgba(255, 255, 255, 0.96);
}

@keyframes islandZoom {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.08);
  }
}

@keyframes posterRise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes titleFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

@keyframes subtitleSwap {
  0%,
  8% {
    opacity: 0;
    transform: translateY(14px);
  }
  14%,
  30% {
    opacity: 1;
    transform: translateY(0);
  }
  38%,
  100% {
    opacity: 0;
    transform: translateY(-14px);
  }
}

@keyframes dreamCardIn {
  from {
    opacity: 0;
    transform: translateY(22px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes bubbleDrift {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(18px, -18px, 0);
  }
}

@keyframes lagoonGlow {
  0%,
  100% {
    opacity: 0.58;
    transform: translateY(0) scale(1);
  }
  50% {
    opacity: 0.86;
    transform: translateY(-18px) scale(1.08);
  }
}

@keyframes shellFloat {
  0%,
  100% {
    transform: translateY(0) rotate(-5deg);
  }
  50% {
    transform: translateY(-12px) rotate(4deg);
  }
}

@keyframes waveFloat {
  0%,
  100% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(-16px);
  }
}

@media (max-width: 1100px) {
  .plan-panel {
    grid-template-columns: 1fr;
  }

  .stay-type-grid,
  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .resort-grid,
  .route-grid,
  .island-timeline,
  .package-choice-grid,
  .testimonial-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .compact-resorts .resort-card {
    grid-template-columns: 1fr;
  }

  .island-timeline article::after {
    display: none;
  }
}

@media (max-width: 700px) {
  .semporna-hero {
    min-height: calc(100vh - 70px);
    padding: 58px 18px 170px;
  }

  .hero-split-bg {
    grid-template-columns: 1fr;
  }

  .hero-panel {
    grid-row: 1;
    grid-column: 1;
    opacity: 0;
    animation: mobilePanelFade 12s ease-in-out infinite;
  }

  .panel-one {
    opacity: 1;
  }

  .panel-two {
    animation-delay: 4s;
  }

  .panel-three {
    animation-delay: 8s;
  }

  .poster-kicker {
    font-size: 20px;
    letter-spacing: 0.08em;
  }

  .semporna-hero h1 {
    font-size: clamp(42px, 13vw, 72px);
    line-height: 1.08;
  }

  .script-word {
    margin-top: 2px;
    font-size: 48px;
  }

  .animated-subtitles {
    min-height: 56px;
    font-size: 17px;
  }

  .poster-description {
    margin-bottom: 18px;
    font-size: 15px;
  }

  .poster-actions {
    width: 100%;
  }

  .poster-actions .button {
    width: 100%;
  }

  .hero-service-bar {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px 10px;
    bottom: 14px;
    border-radius: 20px;
    padding: 13px;
    font-size: 13px;
  }

  .hero-service-bar strong {
    grid-column: 1 / -1;
    font-size: 15px;
  }

  .island-feature-grid,
  .stay-type-grid,
  .resort-grid,
  .route-grid,
  .service-grid,
  .island-timeline,
  .package-choice-grid,
  .testimonial-grid {
    grid-template-columns: 1fr;
  }

  .dream-shell {
    border-radius: 24px;
    padding: 30px 18px;
    text-align: center;
  }

  .dream-shell::before {
    width: 180px;
    margin-left: auto;
  }

  .dream-shell h2 {
    font-size: 34px;
    line-height: 1.16;
  }

  .dream-shell p {
    margin-left: auto;
    font-size: 17px;
  }

  .shell-icon,
  .wave-icon {
    display: none;
  }

  .plan-intro {
    display: grid;
    padding: 18px;
  }

  .compact-resorts .resort-card {
    grid-template-columns: 1fr;
  }

  .resort-card img {
    height: 230px;
    min-height: 0;
  }

  .island-feature-grid article {
    min-height: 72px;
  }

  .island-section {
    padding: 58px 18px;
  }

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

  .plan-panel {
    border-radius: 22px;
  }

  .plan-panel .button,
  .center-action .button,
  .post-timeline-cta .button {
    width: 100%;
  }

  .post-timeline-cta {
    display: grid;
    padding: 18px;
  }

  .inline-cta,
  .semporna-bottom-cta {
    display: grid;
  }

  .photo-strip {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 8px;
  }

  .photo-strip img,
  .photo-strip img:nth-child(1) {
    width: 78vw;
    height: 260px;
    flex: 0 0 auto;
    scroll-snap-align: start;
  }

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

  .review-wall figure {
    padding: 8px;
  }

  .semporna-bottom-cta {
    margin: 0 18px 78px;
    border-radius: 24px;
  }

  .floating-whatsapp {
    left: 14px;
    right: 14px;
    justify-content: center;
  }
}

@keyframes mobilePanelFade {
  0%,
  28% {
    opacity: 1;
  }
  36%,
  92% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
