:root {
  --navy: #05233d;
  --navy-2: #083b66;
  --ink: #0c2238;
  --muted: #60788f;
  --line: #cde7f6;
  --gold: #d4a73e;
  --gold-2: #f6d77d;
  --coral: #ff7f66;
  --blue: #1599d6;
  --sky: #4fc3f7;
  --sky-2: #d9f5ff;
  --blue-2: #e6f8ff;
  --white: #ffffff;
  --mist: #f3fbff;
  --danger: #c84b4b;
  --success: #238b65;
  --shadow: 0 24px 60px rgba(6, 73, 118, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(79, 195, 247, 0.28), transparent 30rem),
    radial-gradient(circle at top right, rgba(255, 127, 102, 0.13), transparent 26rem),
    linear-gradient(180deg, #eff9ff, #ffffff 34%, var(--mist));
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: minmax(250px, auto) 1fr auto;
  align-items: center;
  gap: clamp(14px, 2.2vw, 30px);
  padding: 12px clamp(18px, 4vw, 56px);
  color: var(--navy);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.96), rgba(239, 250, 255, 0.92)),
    radial-gradient(circle at 92% 50%, rgba(79, 195, 247, 0.22), transparent 18rem);
  border-bottom: 1px solid rgba(21, 153, 214, 0.16);
  backdrop-filter: blur(20px);
  box-shadow: 0 14px 42px rgba(6, 73, 118, 0.12);
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: max-content;
}

.brand-logo {
  width: clamp(230px, 20vw, 316px);
  height: 64px;
  object-fit: contain;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.99);
  padding: 5px 10px;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.38),
    0 15px 34px rgba(79, 195, 247, 0.24),
    inset 0 0 0 1px rgba(5, 35, 61, 0.06);
}

.nav {
  display: flex;
  justify-content: center;
  gap: clamp(12px, 1.5vw, 22px);
  color: rgba(5, 35, 61, 0.76);
  font-size: clamp(0.82rem, 0.95vw, 0.95rem);
  font-weight: 650;
}

.nav a {
  position: relative;
  padding: 10px 0;
  transition: color 0.2s ease, transform 0.2s ease;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 2px;
  background: linear-gradient(90deg, var(--sky), var(--gold-2), var(--coral));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.24s ease;
}

.nav a:hover {
  color: var(--blue);
  transform: translateY(-1px);
}

.nav a:hover::after,
.nav a.active::after {
  transform: scaleX(1);
}

.header-cta,
.primary-btn,
.secondary-btn,
.ghost-btn,
.float-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 800;
  white-space: nowrap;
}

.header-cta,
.primary-btn {
  color: var(--white);
  background: linear-gradient(135deg, #ff5f7d, var(--coral) 48%, #f2b25d);
  box-shadow: 0 14px 34px rgba(255, 127, 102, 0.28), 0 0 24px rgba(246, 215, 125, 0.14);
  position: relative;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.header-cta::after,
.primary-btn::after,
.secondary-btn::after,
.preview-view-btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 0 34%, rgba(255, 255, 255, 0.42) 46%, transparent 58% 100%);
  transform: translateX(-120%);
}

.secondary-btn {
  color: var(--white);
  background: linear-gradient(135deg, var(--blue), #0877b4);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ghost-btn {
  color: var(--navy);
  background: var(--white);
  border: 1px solid var(--line);
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.header-cta:hover,
.primary-btn:hover,
.secondary-btn:hover,
.ghost-btn:hover,
.float-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 34px rgba(21, 153, 214, 0.24);
}

.header-cta:hover::after,
.primary-btn:hover::after,
.secondary-btn:hover::after,
.preview-view-btn:hover::after {
  animation: buttonShine 0.72s ease;
}

.header-cta:active,
.primary-btn:active,
.secondary-btn:active,
.ghost-btn:active,
.preview-view-btn:active {
  transform: translateY(0) scale(0.98);
}

.nav-toggle {
  display: none;
  color: var(--navy);
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(21, 153, 214, 0.22);
  border-radius: 8px;
  padding: 10px 12px;
}

.hero {
  position: relative;
  min-height: 720px;
  display: grid;
  align-items: center;
  padding: 130px clamp(18px, 5vw, 70px) 78px;
  color: var(--navy);
  isolation: isolate;
  background:
    linear-gradient(90deg, rgba(245, 252, 255, 0.9) 0%, rgba(255, 255, 255, 0.7) 34%, rgba(255, 255, 255, 0.1) 70%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(239, 249, 255, 0.86)),
    url("assets/hero-pattaya-icons.png") center/cover;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 92px clamp(12px, 2.5vw, 34px) 34px;
  z-index: -1;
  border: 10px solid rgba(255, 255, 255, 0.58);
  border-radius: 26px;
  box-shadow: 0 28px 70px rgba(6, 73, 118, 0.2);
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 120px;
  z-index: -1;
  background: linear-gradient(180deg, transparent, rgba(243, 251, 255, 0.96));
}

.hero-inner {
  max-width: 1220px;
  width: 100%;
  margin: 0 auto;
  animation: riseIn 0.72s ease both;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  color: var(--gold-2);
  font-weight: 900;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.hero h1 {
  max-width: 680px;
  margin: 0;
  color: #070b3d;
  font-size: clamp(2.7rem, 5.5vw, 5.35rem);
  line-height: 1.02;
  letter-spacing: 0;
}

.hero p {
  max-width: 570px;
  margin: 22px 0 28px;
  color: rgba(5, 35, 61, 0.72);
  font-size: clamp(1.05rem, 2vw, 1.28rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 36px;
}

.search-panel {
  width: min(980px, 100%);
  padding: 16px;
  background: rgba(255, 255, 255, 0.97);
  border: 1px solid rgba(79, 195, 247, 0.2);
  border-radius: 14px;
  box-shadow: 0 22px 60px rgba(6, 73, 118, 0.14);
  animation: floatIn 0.85s ease 0.1s both;
}

.search-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr)) 148px;
  gap: 12px;
}

.field {
  display: grid;
  gap: 6px;
}

.field label {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 46px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0 12px;
}

.search-note {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.deal-strip {
  position: relative;
  z-index: 2;
  margin-top: -48px;
  padding: 0 clamp(18px, 5vw, 70px) 18px;
}

.deal-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.deal-card {
  min-height: 172px;
  display: grid;
  grid-template-columns: 1fr 42%;
  align-items: center;
  gap: 12px;
  padding: 22px;
  overflow: hidden;
  color: #0b1749;
  border: 1px solid rgba(255, 255, 255, 0.68);
  border-radius: 14px;
  box-shadow: 0 22px 48px rgba(6, 73, 118, 0.12);
  transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.deal-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 30px 58px rgba(6, 73, 118, 0.18);
}

.deal-card.blue {
  background: linear-gradient(135deg, #dff6ff, #f5fcff);
}

.deal-card.gold {
  background: linear-gradient(135deg, #fff0b8, #ffd37b);
}

.deal-card.violet {
  background: linear-gradient(135deg, #d8ddff, #b8c8ff);
}

.deal-card strong,
.deal-card small,
.deal-card em {
  display: block;
}

.deal-card strong {
  max-width: 190px;
  font-size: clamp(1.15rem, 1.8vw, 1.55rem);
  line-height: 1.06;
}

.deal-card small {
  margin-top: 10px;
  color: rgba(7, 11, 61, 0.62);
  font-weight: 650;
}

.deal-card em {
  margin-top: 16px;
  color: #ff5f7d;
  font-style: normal;
  font-weight: 900;
}

.deal-card img {
  width: 100%;
  height: 124px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 14px 28px rgba(5, 35, 61, 0.12);
}

.section {
  padding: 70px clamp(18px, 5vw, 70px);
}

.section.dark {
  color: var(--white);
  background: var(--navy);
}

.section.blue {
  background: linear-gradient(180deg, #ffffff, #f2fbff);
}

.section-inner {
  max-width: 1220px;
  margin: 0 auto;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 22px;
  margin-bottom: 28px;
}

.section-head h2,
.page-title h1 {
  margin: 0;
  color: inherit;
  font-size: clamp(2rem, 4vw, 3.3rem);
  line-height: 1;
  letter-spacing: 0;
}

.section-head p,
.page-title p {
  max-width: 680px;
  margin: 12px 0 0;
  color: var(--muted);
}

.dark .section-head p,
.dark .muted {
  color: rgba(255, 255, 255, 0.68);
}

.grid {
  display: grid;
  gap: 18px;
}

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

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

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

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 12px 28px rgba(15, 35, 54, 0.06);
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(79, 195, 247, 0.62);
  box-shadow: 0 24px 44px rgba(6, 73, 118, 0.14);
}

.dark .card {
  color: var(--ink);
}

.category-card {
  position: relative;
  min-height: 210px;
  padding: 0;
  color: var(--white);
  border: 0;
}

.category-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 28%, rgba(5, 35, 61, 0.8));
  pointer-events: none;
}

.category-image {
  width: 100%;
  height: 100%;
  min-height: 210px;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.category-card:hover .category-image {
  transform: scale(1.04);
}

.category-overlay {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 1;
  display: grid;
  gap: 10px;
}

.icon-box {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  color: var(--navy);
  background: linear-gradient(135deg, var(--sky-2), #ffffff);
  border: 1px solid rgba(22, 166, 201, 0.22);
  border-radius: 12px;
  font-weight: 900;
}

.category-card h3,
.provider-card h3,
.policy-card h3 {
  margin: 16px 0 8px;
}

.category-card h3 {
  margin: 0;
  color: var(--white);
  line-height: 1.1;
}

.category-card p,
.provider-card p,
.policy-card p,
.review p {
  color: var(--muted);
  margin: 0;
}

.media {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
}

.provider-body {
  padding: 18px;
}

.meta-row,
.badge-row,
.stat-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.badge {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 9px;
  color: var(--navy);
  background: var(--blue-2);
  border: 1px solid rgba(22, 166, 201, 0.2);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 900;
}

.badge.gold {
  background: #fff6df;
  border-color: rgba(199, 154, 53, 0.3);
}

.badge.green {
  color: #064d37;
  background: #dff7ee;
  border-color: rgba(35, 139, 101, 0.22);
}

.price {
  color: var(--navy);
  font-size: 1.25rem;
  font-weight: 900;
}

.profile-preview {
  padding-top: 78px;
  background:
    radial-gradient(circle at 50% 0%, rgba(79, 195, 247, 0.18), transparent 30rem),
    linear-gradient(180deg, #f5f9ff, #ffffff);
}

.profile-preview-head {
  max-width: 920px;
  margin: 0 auto 28px;
  text-align: center;
}

.preview-chip {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 16px;
  color: #0f56a9;
  background: #e9f4ff;
  border: 1px solid #c8e2ff;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

.profile-preview-head h2 {
  margin: 12px 0 10px;
  color: #061b3b;
  font-size: clamp(2.15rem, 4.5vw, 4rem);
  line-height: 1;
}

.profile-preview-head p {
  margin: 0 auto;
  color: #5f7086;
  font-size: clamp(1rem, 1.4vw, 1.18rem);
}

.profile-preview-status {
  display: inline-flex;
  margin-top: 14px;
  color: #6f8194;
  font-weight: 800;
}

.preview-filterbar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 0 auto 24px;
}

.preview-filterbar button {
  min-height: 40px;
  padding: 0 14px;
  color: #0b315f;
  background: #ffffff;
  border: 1px solid #d8e8f7;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 850;
  box-shadow: 0 10px 24px rgba(6, 73, 118, 0.06);
}

.preview-filterbar button.active,
.preview-filterbar button:hover {
  color: var(--white);
  background: linear-gradient(135deg, #1459ad, #0b7fd1);
  border-color: transparent;
}

.profile-preview-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.preview-profile-card {
  min-width: 0;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid #dbe8f5;
  border-radius: 22px;
  box-shadow: 0 20px 50px rgba(15, 39, 70, 0.1);
  animation: cardFloatIn 0.65s ease both;
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.preview-profile-card:nth-child(2) {
  animation-delay: 0.08s;
}

.preview-profile-card:nth-child(3) {
  animation-delay: 0.16s;
}

.preview-profile-card:hover {
  transform: translateY(-6px);
  border-color: rgba(79, 195, 247, 0.7);
  box-shadow: 0 30px 64px rgba(6, 73, 118, 0.17);
}

.preview-cover {
  position: relative;
  min-height: 220px;
  background:
    radial-gradient(circle at 55% 32%, rgba(246, 215, 125, 0.32), transparent 9rem),
    linear-gradient(135deg, #edf6ff, #fff8e8);
}

.preview-cover img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  filter: saturate(1.05);
}

.preview-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.46)),
    radial-gradient(circle at 50% 68%, transparent 0 4.8rem, rgba(255, 255, 255, 0.72) 4.85rem 5.1rem, transparent 5.15rem);
  pointer-events: none;
}

.preview-badges {
  position: absolute;
  top: 14px;
  left: 14px;
  right: 14px;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.status-dot {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 950;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(216, 232, 247, 0.9);
  box-shadow: 0 8px 18px rgba(6, 73, 118, 0.06);
}

.status-dot.online {
  color: #079461;
}

.status-dot.offline {
  color: #7f8ba0;
}

.status-dot.verified {
  color: #0759b3;
}

.status-dot.premium {
  color: #9a6500;
  background: #fff6dd;
  border-color: #f4d58a;
}

.status-dot::before {
  content: "";
  width: 6px;
  height: 6px;
  margin-right: 6px;
  border-radius: 50%;
  background: currentColor;
}

.status-dot.verified::before {
  content: "\2713";
  width: auto;
  height: auto;
  margin-right: 5px;
  background: transparent;
}

.status-dot.premium::before {
  content: "+";
  width: auto;
  height: auto;
  margin-right: 5px;
  background: transparent;
}

.preview-avatar {
  position: absolute;
  left: 50%;
  bottom: -44px;
  z-index: 2;
  display: grid;
  width: 90px;
  height: 90px;
  place-items: center;
  color: var(--white);
  background: linear-gradient(135deg, #5a8cff, #c08bd8);
  border: 5px solid var(--white);
  border-radius: 24px;
  box-shadow: 0 18px 40px rgba(5, 35, 61, 0.24);
  transform: translateX(-50%);
  font-size: 2.2rem;
  font-weight: 950;
}

.preview-profile-card:nth-child(2n) .preview-avatar {
  background: linear-gradient(135deg, #118bd8, #4fc3f7);
}

.preview-profile-card:nth-child(3n) .preview-avatar {
  background: linear-gradient(135deg, #d0941e, #f6c64e);
}

.preview-body {
  padding: 58px 18px 18px;
}

.preview-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.preview-title-row h3 {
  margin: 0;
  color: #071b3a;
  font-size: 1.32rem;
  line-height: 1.1;
}

.new-pill,
.rating-pill {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  color: #079461;
  background: #dcfff0;
  border: 1px solid #a7efd1;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 950;
}

.rating-pill {
  color: #9a6500;
  background: #fff6dd;
  border-color: #f4d58a;
}

.preview-body strong {
  display: block;
  margin-top: 6px;
  color: #536782;
  font-size: 0.9rem;
}

.preview-body p {
  min-height: 82px;
  margin: 12px 0 18px;
  color: #66768d;
  font-size: 1rem;
  line-height: 1.45;
}

.preview-actions {
  display: grid;
  grid-template-columns: 1fr 96px 52px;
  gap: 10px;
}

.preview-view-btn,
.preview-chat-btn,
.preview-like-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border-radius: 999px;
  border: 1px solid #d7e8fb;
  cursor: pointer;
  font-weight: 950;
}

.preview-view-btn {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background: linear-gradient(135deg, #1459ad, #0e61ba);
  box-shadow: 0 12px 26px rgba(14, 97, 186, 0.22);
}

.preview-chat-btn,
.preview-like-btn {
  color: #071b3a;
  background: #ffffff;
}

.preview-like-btn {
  overflow: hidden;
  text-indent: -999px;
}

.preview-like-btn::before {
  content: "\2665";
  text-indent: 0;
  font-size: 1rem;
}

.pattaya-spots {
  background:
    linear-gradient(180deg, #ffffff, #eef9ff),
    radial-gradient(circle at 8% 12%, rgba(79, 195, 247, 0.16), transparent 22rem);
}

.section-head.compact {
  align-items: center;
}

.spot-rail {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
}

.spot-card {
  position: relative;
  min-height: 260px;
  overflow: hidden;
  color: var(--white);
  border-radius: 18px;
  box-shadow: 0 22px 48px rgba(6, 73, 118, 0.14);
  isolation: isolate;
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.spot-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, transparent 20%, rgba(5, 35, 61, 0.78));
}

.spot-card img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.spot-card span {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
}

.spot-card strong,
.spot-card small {
  display: block;
}

.spot-card strong {
  font-size: 1.18rem;
  line-height: 1.08;
}

.spot-card small {
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.76);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.spot-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 32px 62px rgba(6, 73, 118, 0.22);
}

.spot-card:hover img {
  transform: scale(1.07);
}

.host-section {
  background:
    radial-gradient(circle at 8% 0%, rgba(79, 195, 247, 0.22), transparent 26rem),
    linear-gradient(180deg, #ffffff, #f6fcff);
}

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

.host-card {
  position: relative;
  min-height: 430px;
  overflow: hidden;
  color: var(--white);
  background: var(--navy);
  border-radius: 18px;
  box-shadow: 0 24px 54px rgba(6, 73, 118, 0.18);
  transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.host-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 34px 64px rgba(6, 73, 118, 0.24);
}

.host-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5, 35, 61, 0.05), rgba(5, 35, 61, 0.9));
}

.host-card img {
  width: 100%;
  height: 100%;
  min-height: 430px;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.host-card:hover img {
  transform: scale(1.04);
}

.host-content {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  padding: 20px;
}

.host-content h3 {
  margin: 16px 0 6px;
  font-size: 1.5rem;
}

.host-content p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
}

.host-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 16px 0;
}

.host-stats span {
  padding: 9px;
  text-align: center;
  color: var(--navy);
  background: rgba(255, 255, 255, 0.86);
  border-radius: 10px;
  font-size: 0.78rem;
  font-weight: 900;
}

.system-band {
  color: var(--white);
  background:
    radial-gradient(circle at 85% 20%, rgba(255, 127, 102, 0.32), transparent 24rem),
    linear-gradient(135deg, #061b32, #07486e 58%, #0aa2d1);
}

.system-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 0.75fr);
  gap: 34px;
  align-items: center;
}

.system-layout h2 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(2.1rem, 4.5vw, 4rem);
  line-height: 1;
}

.system-layout p {
  max-width: 660px;
  color: rgba(255, 255, 255, 0.76);
}

.system-pills,
.app-actions,
.onboarding-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 22px 0;
}

.system-pills span,
.app-actions span {
  padding: 10px 12px;
  color: var(--navy);
  background: rgba(255, 255, 255, 0.88);
  border-radius: 999px;
  font-weight: 900;
  font-size: 0.84rem;
}

.app-preview,
.chat-list,
.chat-window {
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 18px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.16);
}

.app-preview {
  padding: 18px;
  color: var(--ink);
}

.app-top,
.app-row,
.chat-profile,
.booking-summary,
.chat-contact {
  display: flex;
  align-items: center;
  gap: 12px;
}

.app-top {
  justify-content: space-between;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.app-top span {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--sky), var(--gold-2));
}

.app-top em {
  color: var(--success);
  font-style: normal;
  font-weight: 900;
}

.app-row {
  margin-top: 14px;
  padding: 12px;
  background: #f4fbff;
  border: 1px solid var(--line);
  border-radius: 14px;
}

.app-row div,
.chat-contact span,
.booking-summary span {
  flex: 1;
}

.app-row small,
.chat-contact small,
.booking-summary small {
  display: block;
  color: var(--muted);
}

.avatar {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: var(--white);
  background: linear-gradient(135deg, var(--blue), var(--sky));
  border-radius: 50%;
  font-weight: 900;
}

.avatar.gold {
  color: var(--navy);
  background: linear-gradient(135deg, var(--gold-2), var(--coral));
}

.chat-mini,
.chat-thread {
  display: grid;
  gap: 10px;
  margin: 16px 0;
}

.bubble {
  max-width: 78%;
  margin: 0;
  padding: 12px 14px;
  border-radius: 16px;
  font-weight: 650;
}

.bubble.from {
  color: var(--ink);
  background: #eef8ff;
  border-bottom-left-radius: 5px;
}

.bubble.to {
  justify-self: end;
  color: var(--white);
  background: linear-gradient(135deg, var(--blue), var(--coral));
  border-bottom-right-radius: 5px;
}

.chat-page {
  background: linear-gradient(180deg, #eff9ff, #ffffff);
}

.chat-layout {
  display: grid;
  grid-template-columns: 330px minmax(0, 1fr);
  gap: 20px;
}

.chat-list,
.chat-window {
  padding: 16px;
}

.chat-head h2 {
  margin: 0 0 16px;
}

.chat-contact {
  padding: 12px;
  border-radius: 14px;
  transition: background 0.2s ease, transform 0.2s ease;
}

.chat-contact:hover,
.chat-contact.active {
  background: #eef8ff;
  transform: translateX(2px);
}

.chat-contact img,
.chat-profile img {
  width: 54px;
  height: 54px;
  object-fit: cover;
  border-radius: 16px;
}

.chat-contact em {
  color: var(--blue);
  font-style: normal;
  font-size: 0.78rem;
  font-weight: 900;
}

.chat-profile {
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.chat-profile h2,
.chat-profile p {
  margin: 0;
}

.chat-thread {
  min-height: 360px;
  align-content: end;
  padding: 18px 0;
}

.booking-summary {
  padding: 14px;
  background: #fff8e4;
  border: 1px solid rgba(212, 167, 62, 0.28);
  border-radius: 14px;
}

.chat-compose {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  margin-top: 12px;
}

.chat-compose input {
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
}

.join-page h1 {
  margin: 0;
  font-size: clamp(2.4rem, 5vw, 4.7rem);
  line-height: 1;
}

.onboarding-steps span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-weight: 900;
}

.onboarding-steps b {
  display: grid;
  width: 26px;
  height: 26px;
  place-items: center;
  color: var(--white);
  background: linear-gradient(135deg, var(--blue), var(--coral));
  border-radius: 50%;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 34px;
  align-items: center;
}

.feature-list {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 22px 0;
  list-style: none;
}

.feature-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: var(--muted);
}

.feature-list li::before {
  content: "";
  flex: 0 0 auto;
  width: 10px;
  height: 10px;
  margin-top: 7px;
  border-radius: 50%;
  background: var(--gold);
}

.area-explorer {
  background:
    radial-gradient(circle at 10% 0%, rgba(79, 195, 247, 0.2), transparent 24rem),
    linear-gradient(180deg, #f6fcff, #ffffff);
}

.area-feature {
  display: grid;
  grid-template-columns: minmax(320px, 0.72fr) minmax(0, 1fr);
  gap: 18px;
}

.area-hero-card,
.area-pill {
  position: relative;
  overflow: hidden;
  color: var(--white);
  border-radius: 18px;
  box-shadow: 0 22px 50px rgba(6, 73, 118, 0.13);
  isolation: isolate;
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.area-hero-card {
  min-height: 100%;
  display: block;
}

.area-hero-card::after,
.area-pill::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(5, 35, 61, 0.08), rgba(5, 35, 61, 0.82)),
    radial-gradient(circle at 80% 15%, rgba(246, 215, 125, 0.28), transparent 12rem);
}

.area-hero-card img,
.area-pill img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.area-hero-content {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 22px;
  display: grid;
  gap: 8px;
}

.area-hero-content small,
.area-pill small {
  width: max-content;
  max-width: 100%;
  padding: 7px 10px;
  color: #07365d;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0.6px;
  text-transform: uppercase;
}

.area-hero-content strong {
  max-width: 420px;
  font-size: clamp(2rem, 4vw, 3.1rem);
  line-height: 0.96;
}

.area-hero-content em {
  max-width: 440px;
  color: rgba(255, 255, 255, 0.82);
  font-style: normal;
  font-weight: 750;
}

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

.area-pill {
  min-height: 178px;
  display: flex;
  align-items: end;
  padding: 16px;
}

.area-pill span {
  display: grid;
  gap: 5px;
  width: 100%;
}

.area-pill strong {
  font-size: 1.18rem;
  line-height: 1.1;
}

.area-pill em {
  color: var(--gold-2);
  font-style: normal;
  font-weight: 950;
}

.area-pill b {
  display: -webkit-box;
  overflow: hidden;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.35;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.area-hero-card:hover,
.area-pill:hover {
  transform: translateY(-6px);
  box-shadow: 0 32px 64px rgba(6, 73, 118, 0.22);
}

.area-hero-card:hover img,
.area-pill:hover img {
  transform: scale(1.06);
}

.steps {
  counter-reset: step;
}

.step {
  position: relative;
  padding: 24px;
}

.step::before {
  counter-increment: step;
  content: counter(step);
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  color: var(--navy);
  background: var(--gold-2);
  border-radius: 8px;
  font-weight: 900;
}

.dashboard {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  min-height: calc(100vh - 72px);
}

.side-nav {
  padding: 24px;
  color: var(--white);
  background: var(--navy);
}

.side-nav a {
  display: block;
  padding: 12px;
  color: rgba(255, 255, 255, 0.78);
  border-radius: 8px;
}

.side-nav a:hover,
.side-nav a.active {
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
}

.dash-main {
  padding: 34px clamp(18px, 4vw, 48px);
}

.kpis {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.kpi {
  padding: 20px;
}

.kpi strong {
  display: block;
  margin-top: 8px;
  font-size: 1.8rem;
}

.table-wrap {
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 760px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

th,
td {
  padding: 14px;
  text-align: left;
  border-bottom: 1px solid var(--line);
}

th {
  color: var(--muted);
  font-size: 0.78rem;
  text-transform: uppercase;
}

.page-hero {
  min-height: 390px;
  display: grid;
  align-items: end;
  padding: 90px clamp(18px, 5vw, 70px) 42px;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(5, 35, 61, 0.92), rgba(21, 153, 214, 0.46)),
    var(--page-image, url("https://images.unsplash.com/photo-1528181304800-259b08848526?auto=format&fit=crop&w=1600&q=82")) center/cover;
}

.page-title {
  max-width: 1220px;
  width: 100%;
  margin: 0 auto;
}

.filters {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 24px;
}

.profile-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) 360px;
  gap: 24px;
  align-items: start;
}

.profile-panel,
.booking-panel,
.form-panel {
  padding: 22px;
}

.gallery {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 10px;
}

.gallery img {
  width: 100%;
  height: 100%;
  min-height: 210px;
  object-fit: cover;
  border-radius: 8px;
}

.legal-banner {
  padding: 18px;
  color: var(--white);
  background: linear-gradient(135deg, #07365d, #0a8bbc);
  border-left: 5px solid var(--gold);
  border-radius: 8px;
}

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

.full {
  grid-column: 1 / -1;
}

.reviews {
  display: grid;
  gap: 14px;
}

.review {
  padding: 18px;
}

.footer {
  color: rgba(255, 255, 255, 0.75);
  background: linear-gradient(135deg, #04192d, #052f50);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr repeat(3, 1fr);
  gap: 24px;
}

.footer h3,
.footer h4 {
  color: var(--white);
}

.footer a {
  display: block;
  margin: 8px 0;
}

.floating-actions {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 25;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.float-btn {
  min-height: 40px;
  color: var(--navy);
  background: linear-gradient(135deg, var(--sky-2), var(--sky));
  box-shadow: var(--shadow);
  font-size: 0.86rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.float-btn.urgent {
  color: var(--white);
  background: var(--danger);
}

.hidden {
  display: none !important;
}

.reveal {
  animation: riseIn 0.55s ease both;
}

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

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

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

@keyframes buttonShine {
  from {
    transform: translateX(-120%);
  }
  to {
    transform: translateX(120%);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

@media (max-width: 1050px) {
  .search-grid,
  .filters {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .site-header {
    grid-template-columns: minmax(190px, auto) auto;
  }

  .brand-logo {
    width: clamp(190px, 32vw, 250px);
  }

  .nav {
    grid-column: 1 / -1;
    order: 3;
  }

  .header-cta {
    justify-self: end;
  }

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

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

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

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

  .system-layout,
  .chat-layout,
  .area-feature {
    grid-template-columns: 1fr;
  }

  .area-hero-card {
    min-height: 340px;
  }

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

  .chat-head {
    grid-column: 1 / -1;
  }

  .grid.cols-4,
  .grid.cols-3,
  .areas,
  .kpis {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .split,
  .profile-layout,
  .dashboard {
    grid-template-columns: 1fr;
  }

  .side-nav {
    display: flex;
    gap: 8px;
    overflow-x: auto;
  }

  .side-nav a {
    min-width: max-content;
  }
}

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

  .nav-toggle {
    display: inline-flex;
  }

  .nav,
  .header-cta {
    display: none;
  }

  .site-header.nav-open .nav {
    grid-column: 1 / -1;
    display: grid;
    justify-content: stretch;
    gap: 0;
    padding-top: 10px;
  }

  .site-header.nav-open .nav a {
    padding: 12px 0;
    border-top: 1px solid rgba(21, 153, 214, 0.13);
  }

  .hero {
    min-height: 720px;
    padding-top: 112px;
  }

  .hero::before {
    inset: 86px 10px 24px;
    border-width: 6px;
    border-radius: 18px;
  }

  .search-grid,
  .deal-grid,
  .profile-preview-grid,
  .spot-rail,
  .host-grid,
  .chat-list,
  .filters,
  .grid.cols-2,
  .grid.cols-3,
  .grid.cols-4,
  .areas,
  .kpis,
  .form-grid,
  .footer-grid,
  .gallery {
    grid-template-columns: 1fr;
  }

  .profile-preview {
    padding-top: 52px;
  }

  .preview-cover,
  .preview-cover img {
    min-height: 240px;
    height: 240px;
  }

  .preview-actions {
    grid-template-columns: 1fr 92px 52px;
  }

  .spot-card {
    min-height: 220px;
  }

  .area-hero-card {
    min-height: 320px;
  }

  .area-hero-content {
    left: 16px;
    right: 16px;
    bottom: 16px;
  }

  .area-hero-content strong {
    font-size: clamp(1.8rem, 9vw, 2.6rem);
  }

  .area-pill {
    min-height: 210px;
  }

  .system-layout {
    gap: 22px;
  }

  .app-preview,
  .chat-list,
  .chat-window {
    border-radius: 14px;
  }

  .chat-profile,
  .booking-summary,
  .chat-compose {
    align-items: stretch;
    grid-template-columns: 1fr;
  }

  .booking-summary {
    display: grid;
  }

  .chat-compose {
    display: grid;
  }

  .section-head {
    display: block;
  }

  .floating-actions {
    left: 12px;
    right: 12px;
    flex-direction: row;
  }

  .float-btn {
    flex: 1;
  }
}
