:root {
  color-scheme: light;
  --brand-primary: #f1261d;
  --brand-primary-dark: #8f1715;
  --brand-accent: #087c83;
  --brand-accent-soft: #e5f7f4;
  --sun: #ffd447;
  --coral: #ff6f61;
  --lime: #9be564;
  --sky: #67d8ff;
  --surface: #fffdf6;
  --surface-strong: #ffffff;
  --surface-muted: #eafff7;
  --text: #173033;
  --text-muted: #5b6d70;
  --border: rgba(23, 48, 51, 0.13);
  --shadow: 0 20px 55px rgba(16, 55, 58, 0.14);
  --radius: 8px;
  --max-width: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", Arial, sans-serif;
  background:
    radial-gradient(circle at 14% 10%, rgba(255, 212, 71, 0.22), transparent 26rem),
    radial-gradient(circle at 88% 6%, rgba(103, 216, 255, 0.23), transparent 24rem),
    linear-gradient(180deg, #fffdf6, #f2fff7 42%, #fff7fb);
  color: var(--text);
  line-height: 1.6;
}

body.logo-loaded {
  --brand-primary: var(--logo-primary);
  --brand-primary-dark: var(--logo-primary-dark);
  --brand-accent: var(--logo-accent);
  --brand-accent-soft: var(--logo-accent-soft);
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 12px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.7);
  background: rgba(255, 253, 246, 0.9);
  backdrop-filter: blur(18px);
}

.brand {
  min-width: 0;
}

.logo-frame {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  min-width: 132px;
}

.logo-frame img {
  max-height: 42px;
  max-width: 176px;
  width: auto;
}

.logo-frame img:not([src]),
.logo-frame img.logo-missing {
  display: none;
}

.logo-fallback {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--brand-primary-dark);
  font-size: 1.18rem;
  font-weight: 800;
  letter-spacing: 0;
}

.logo-frame img:not(.logo-missing) + .logo-fallback {
  display: none;
}

.site-nav {
  grid-column: 1 / -1;
  display: flex;
  gap: 4px;
  overflow-x: auto;
  padding-bottom: 2px;
  color: var(--text-muted);
  font-size: 0.86rem;
  scrollbar-width: none;
}

.site-nav::-webkit-scrollbar {
  display: none;
}

.site-nav a {
  flex: 0 0 auto;
  padding: 8px 10px;
  border-radius: 999px;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--brand-primary-dark);
  background: var(--surface-muted);
}

.header-cta,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 11px 16px;
  border: 0;
  border-radius: var(--radius);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.header-cta {
  background: var(--brand-primary);
  color: #ffffff;
  font-size: 0.86rem;
  box-shadow: 0 10px 24px rgba(143, 23, 21, 0.18);
}

.btn:hover,
.header-cta:hover {
  transform: translateY(-1px);
}

.hero {
  position: relative;
  min-height: 680px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: #073f45;
}

.hero-carousel,
.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 900ms ease, transform 6800ms ease;
}

.hero-image.is-active {
  opacity: 1;
  transform: scale(1);
}

.hero-overlay {
  background:
    radial-gradient(circle at 83% 17%, rgba(255, 212, 71, 0.22), transparent 23rem),
    linear-gradient(180deg, rgba(8, 36, 39, 0.04), rgba(8, 36, 39, 0.66)),
    linear-gradient(90deg, rgba(8, 36, 39, 0.78), rgba(8, 36, 39, 0.08));
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(100%, var(--max-width));
  margin: 0 auto;
  padding: 128px 20px 56px;
  color: #ffffff;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--brand-accent);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hero .eyebrow {
  color: #ffd998;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 780px;
  margin-bottom: 18px;
  font-size: clamp(2.35rem, 12vw, 5.4rem);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(1.85rem, 8vw, 3.35rem);
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.02rem;
  line-height: 1.25;
}

.hero-copy {
  max-width: 720px;
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.02rem;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: min(100%, 420px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--brand-primary), var(--coral), var(--brand-primary-dark));
  color: #ffffff;
  box-shadow: 0 18px 38px rgba(241, 38, 29, 0.24);
}

.btn-secondary {
  border: 1px solid rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.18);
  color: #ffffff;
}

.carousel-controls {
  display: flex;
  gap: 10px;
  margin-top: 30px;
}

.carousel-dot {
  width: 42px;
  height: 8px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.46);
  cursor: pointer;
  transition: width 180ms ease, background 180ms ease, transform 180ms ease;
}

.carousel-dot:hover,
.carousel-dot:focus-visible {
  transform: translateY(-2px);
  background: var(--sun);
  outline: none;
}

.carousel-dot.is-active {
  width: 62px;
  background: linear-gradient(90deg, var(--sun), var(--coral));
}

.section {
  width: min(100%, var(--max-width));
  margin: 0 auto;
  padding: 70px 20px;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 28px;
}

.section-heading p,
.split-layout p,
.about-copy p,
.contact-intro p,
.site-footer p {
  color: var(--text-muted);
}

.service-grid {
  display: grid;
  gap: 14px;
  perspective: 1200px;
}

.service-card {
  position: relative;
  overflow: hidden;
  min-height: 210px;
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(234, 255, 247, 0.9)),
    radial-gradient(circle at 100% 0%, rgba(255, 212, 71, 0.35), transparent 9rem);
  box-shadow: 0 12px 32px rgba(16, 55, 58, 0.07);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.service-card::after {
  content: "";
  position: absolute;
  inset: auto -20% -45% 25%;
  height: 100px;
  background: linear-gradient(90deg, rgba(255, 111, 97, 0.22), rgba(103, 216, 255, 0.2));
  transform: rotate(-8deg);
  transition: transform 220ms ease;
}

.service-card:hover,
.service-card:focus-visible,
.service-card.is-selected {
  transform: translateY(-6px) rotateX(1.2deg);
  border-color: color-mix(in srgb, var(--brand-primary) 45%, white);
  box-shadow: 0 24px 54px rgba(16, 55, 58, 0.16);
  outline: none;
}

.service-card:hover::after,
.service-card:focus-visible::after,
.service-card.is-selected::after {
  transform: translateY(-18px) rotate(-8deg);
}

.service-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 22px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--sun), var(--lime));
  color: #173033;
  font-size: 0.74rem;
  font-weight: 800;
}

.service-card p {
  margin-bottom: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.thailand-section {
  width: 100%;
  max-width: none;
  padding-inline: 20px;
  background:
    linear-gradient(135deg, rgba(234, 255, 247, 0.94), rgba(255, 247, 251, 0.92)),
    url("images/thailand-hero-placeholder.png") center / cover;
}

.split-layout {
  width: min(100%, var(--max-width));
  margin: 0 auto;
  display: grid;
  gap: 28px;
}

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

.destination-list span {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  min-height: 52px;
  padding: 12px 14px;
  border: 1px solid rgba(14, 111, 117, 0.16);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.82);
  color: var(--brand-primary-dark);
  font-weight: 800;
  cursor: pointer;
  transition: transform 170ms ease, color 170ms ease, box-shadow 170ms ease, background 170ms ease;
}

.destination-list span::before {
  content: "";
  width: 10px;
  height: 10px;
  margin-right: 10px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-primary), var(--sun));
  box-shadow: 0 0 0 5px rgba(255, 212, 71, 0.22);
}

.destination-list span:hover,
.destination-list span:focus-visible,
.destination-list span.is-selected {
  transform: translateY(-4px) scale(1.02);
  background: #ffffff;
  color: var(--brand-accent);
  box-shadow: 0 18px 34px rgba(8, 124, 131, 0.16);
  outline: none;
}

.about-section {
  display: grid;
  gap: 30px;
  align-items: center;
}

.about-media {
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  background: var(--surface-muted);
}

.about-media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.license-box {
  margin-top: 22px;
  padding: 18px;
  border-left: 4px solid var(--brand-accent);
  border-radius: var(--radius);
  background: var(--surface-muted);
}

.license-box p {
  margin-bottom: 6px;
}

.license-box a {
  color: var(--brand-primary-dark);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.social-section {
  text-align: left;
}

.section-heading.compact {
  margin-inline: auto;
  text-align: center;
}

.social-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 420px;
  margin: 0 auto;
}

.social-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  justify-content: center;
  min-height: 48px;
  padding: 12px 16px;
  border: 1px dashed rgba(23, 48, 51, 0.3);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.72);
  color: var(--text-muted);
  font-weight: 800;
}

.social-button svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.disabled-link {
  cursor: not-allowed;
}

.inline-link {
  color: var(--brand-primary);
  font-weight: 900;
  text-decoration: underline;
  text-decoration-color: var(--sun);
  text-decoration-thickness: 3px;
  text-underline-offset: 4px;
  transition: color 160ms ease, background 160ms ease;
}

.inline-link:hover,
.inline-link:focus-visible {
  color: var(--brand-accent);
  background: linear-gradient(transparent 55%, rgba(255, 212, 71, 0.5) 55%);
  outline: none;
}

.contact-section {
  display: grid;
  gap: 28px;
  align-items: start;
}

.contact-slogan {
  color: var(--brand-primary-dark) !important;
  font-size: 1.26rem;
  font-weight: 800;
}

.lead-form {
  display: grid;
  gap: 15px;
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 253, 246, 0.96)),
    radial-gradient(circle at 100% 0%, rgba(255, 212, 71, 0.26), transparent 13rem);
  box-shadow: var(--shadow);
}

.lead-form label {
  display: grid;
  gap: 7px;
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 800;
}

.lead-form input,
.lead-form textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px 13px;
  background: #ffffff;
  color: var(--text);
  font: inherit;
}

.lead-form textarea {
  resize: vertical;
}

.lead-form input:focus,
.lead-form textarea:focus {
  outline: 3px solid color-mix(in srgb, var(--brand-primary) 22%, transparent);
  border-color: var(--brand-primary);
}

.checkbox-row {
  grid-template-columns: 20px 1fr;
  align-items: start;
  gap: 10px !important;
  color: var(--text-muted) !important;
  font-weight: 600 !important;
}

.checkbox-row input {
  min-height: auto;
  margin: 5px 0 0;
}

.form-submit {
  width: 100%;
}

.form-note {
  min-height: 24px;
  margin-bottom: 0;
  color: var(--brand-primary-dark);
  font-size: 0.92rem;
  font-weight: 700;
}

.site-footer {
  display: grid;
  gap: 24px;
  padding: 38px 20px;
  background: #102d31;
  color: #ffffff;
}

.site-footer > * {
  width: min(100%, var(--max-width));
  margin-inline: auto;
}

.site-footer p {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.74);
}

.footer-meta {
  font-size: 0.86rem;
}

.disclaimer {
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 0.9rem;
}

@media (min-width: 720px) {
  .site-header {
    grid-template-columns: auto 1fr auto;
    padding: 14px 28px;
  }

  .site-nav {
    grid-column: auto;
    justify-content: center;
    padding-bottom: 0;
  }

  .hero {
    min-height: 760px;
  }

  .hero-content {
    padding-inline: 32px;
    padding-bottom: 86px;
  }

  .hero-actions,
  .social-actions {
    flex-direction: row;
  }

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

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

  .about-section,
  .contact-section {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  }
}

@media (min-width: 980px) {
  .section {
    padding-block: 96px;
  }

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

  .split-layout {
    grid-template-columns: minmax(0, 1fr) 430px;
    align-items: center;
  }
}

/* Latest refinements: compact header logo and fruit-backed service numbers. */
.logo-frame {
  min-width: 100px;
}

.logo-frame img {
  max-height: 32px;
  max-width: 132px;
}

.service-icon {
  background-color: #ffb629;
  background-image: linear-gradient(135deg, rgba(255, 255, 255, .2), rgba(16, 54, 54, .32)), var(--fruit-image);
  background-position: center;
  background-size: cover;
  color: #fff;
  text-shadow: 0 1px 4px rgba(15, 43, 45, .68);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .45), inset 0 -18px 26px rgba(16, 54, 54, .18), 0 12px 24px rgba(24, 92, 84, .16);
}

.service-card:nth-child(1) .service-icon {
  --fruit-image: url("images/fruits/mango.svg");
}

.service-card:nth-child(2) .service-icon {
  --fruit-image: url("images/fruits/dragonfruit.svg");
}

.service-card:nth-child(3) .service-icon {
  --fruit-image: url("images/fruits/pineapple.svg");
}

.service-card:nth-child(4) .service-icon {
  --fruit-image: url("images/fruits/coconut.svg");
}

.service-card:nth-child(5) .service-icon {
  --fruit-image: url("images/fruits/watermelon.svg");
}

.service-card:nth-child(6) .service-icon {
  --fruit-image: url("images/fruits/banana.svg");
}
