/* Sookzaa: brand layer on top of the shared styles.css */

/* ---------- Text logo ---------- */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 800;
  font-size: 1.45rem;
  letter-spacing: -0.03em;
  color: var(--ink);
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 11px;
  background: linear-gradient(140deg, #ff8a5c, var(--blue) 60%, #c4421d);
  color: #fff;
  box-shadow: var(--shadow-blue);
}

.brand-mark svg {
  width: 19px;
  height: 19px;
}

.brand b {
  color: var(--blue);
  font-weight: 800;
}

.footer .brand {
  color: #fff;
}

/* ---------- Logo image (header and footer) ---------- */
.brand-logo {
  display: block;
  width: auto;
  height: 34px;
}

.footer .brand-logo {
  height: 38px;
}

@media (max-width: 640px) {
  .brand-logo {
    height: 28px;
  }
}

/* ---------- Problem / feature cards ---------- */
.jobs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.job {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  padding: 1.5rem 1.4rem 1.4rem;
  border: 1px solid var(--stroke);
  border-radius: var(--r);
  background: var(--paper);
  box-shadow: var(--shadow-sm);
}

.job-ic {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 0.3rem;
  border-radius: 12px;
  background: var(--blue-soft);
  color: var(--blue);
}

.job-ic .ic {
  width: 21px;
  height: 21px;
}

.job h3 {
  font-size: 1.12rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.35;
}

.job > p {
  color: var(--muted);
  font-size: 0.95rem;
}

.job .fix {
  margin-top: auto;
  padding-top: 0.8rem;
  border-top: 1px dashed var(--stroke);
  color: var(--text);
  font-size: 0.92rem;
  font-weight: 600;
}

.job .fix b {
  color: var(--blue);
}

.dark .job {
  border-color: var(--stroke-dark);
  background: var(--ink-2);
  box-shadow: none;
}

.dark .job > p {
  color: #a9b4c9;
}

.dark .job .fix {
  border-top-color: var(--stroke-dark);
  color: #fff;
}

.dark .job .fix b {
  color: var(--sky);
}

.dark .job-ic {
  background: rgba(255, 162, 127, 0.14);
  color: var(--sky);
}

/* ---------- Sookzaa vs foreign systems ---------- */
.compare {
  overflow-x: auto;
  border: 1px solid var(--stroke);
  border-radius: var(--r);
  background: var(--paper);
  box-shadow: var(--shadow-sm);
}

.compare table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
}

.compare th,
.compare td {
  padding: 1rem 1.2rem;
  border-top: 1px solid var(--stroke);
  text-align: left;
  vertical-align: top;
  font-size: 0.95rem;
}

.compare thead th {
  border-top: 0;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.compare thead th.us {
  color: var(--blue);
}

.compare tbody th {
  width: 26%;
  font-weight: 700;
}

.compare td.us {
  background: rgba(232, 85, 43, 0.05);
  font-weight: 600;
}

.compare td.us::before {
  content: "✓ ";
  color: var(--blue);
  font-weight: 800;
}

.compare td.them {
  color: var(--muted);
}

:lang(th) .compare thead th {
  letter-spacing: 0;
}

/* The Thai way: values rows, with the word in the other script under the name */
.compare .cmp-group th {
  padding-top: 1.4rem;
  background: var(--ink);
  color: #fff;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

:lang(th) .compare .cmp-group th {
  letter-spacing: 0;
  font-size: 0.9rem;
}

.compare th .tw {
  display: block;
  margin-top: 0.15rem;
  color: var(--blue);
  font-size: 0.85rem;
  font-weight: 600;
}

/* ---------- Founding hotels offer ---------- */
.founding {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
  padding: clamp(1.6rem, 4vw, 3rem);
  border-radius: var(--r-lg);
  background: linear-gradient(135deg, var(--ink) 0%, var(--ink-3) 100%);
  color: #fff;
}

.founding .body-lg {
  color: #c9d1df;
}

.perks {
  display: grid;
  gap: 0.75rem;
}

.perks li {
  display: flex;
  gap: 0.75rem;
  padding: 0.95rem 1.1rem;
  border: 1px solid var(--stroke-dark);
  border-radius: var(--r-sm);
  background: rgba(255, 255, 255, 0.04);
}

.perks .ic {
  flex: none;
  width: 20px;
  height: 20px;
  margin-top: 0.15em;
  color: var(--sky);
}

.perks strong {
  display: block;
}

.perks span {
  color: #a9b4c9;
  font-size: 0.92rem;
}

/* ---------- Region strip ---------- */
.region {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.4rem;
}

.region span {
  padding: 0.45rem 0.95rem;
  border: 1px solid var(--stroke);
  border-radius: 999px;
  background: var(--paper);
  font-size: 0.9rem;
  font-weight: 700;
}

.region span.is-now {
  border-color: var(--blue);
  background: var(--blue);
  color: #fff;
}

/* ---------- Dashboard showcase ---------- */
.shot {
  overflow: hidden;
  border: 1px solid var(--stroke);
  border-radius: var(--r);
  background: var(--paper);
  box-shadow: var(--shadow);
}

.shot img {
  width: 100%;
}

.shot-cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1.6rem;
}

.note {
  margin-top: 1rem;
  text-align: center;
  color: var(--muted);
  font-size: 0.88rem;
}

/* ---------- Commission calculator tweaks ---------- */
.calc-total small {
  font-size: 0.4em;
}

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

@media (max-width: 860px) {
  .founding {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 640px) {
  .jobs {
    grid-template-columns: minmax(0, 1fr);
  }

  .job {
    padding: 1.25rem 1.1rem;
  }

  .brand {
    font-size: 1.25rem;
  }
}

/* the calculator section sits on the light background here */
.revenue:not(.dark) .duo span {
  color: var(--muted);
}

.revenue:not(.dark) .duo strong {
  color: var(--text);
}

.founding h2 {
  margin: 0.7rem 0 1rem;
}

/* ---------- Chat channels: WhatsApp next to the shared LINE and Messenger badges ---------- */
.wa-badge {
  display: inline-block;
  padding: 0.2rem 0.45rem;
  border-radius: 6px;
  background: #1fa855;
  color: #fff;
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

/* the hero phone's badge changes with each guest's app */
.chat-head .fb-badge,
.chat-head .wa-badge {
  white-space: nowrap;
}

/* ---------- Every kind of stay: photo cards ---------- */
.stays {
  background: var(--paper);
}

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

.stay {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: var(--r);
  aspect-ratio: 3 / 2;
  background: var(--sand);
}

.stay img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms var(--ease-out);
}

.stay figcaption {
  position: absolute;
  inset: auto 0 0 0;
  display: grid;
  gap: 0.15rem;
  padding: 2.6rem 1.1rem 1rem;
  background: linear-gradient(180deg, transparent, rgba(11, 18, 32, 0.78));
  color: #fff;
}

.stay figcaption b {
  font-size: 1.08rem;
}

.stay figcaption span {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.82);
}

@media (hover: hover) and (pointer: fine) {
  .stay:hover img {
    transform: scale(1.04);
  }
}

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

@media (max-width: 560px) {
  .stay-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ---------- Room chart: bookings arrive while you watch ----------
   Placed in % of the 1190 x 985 screenshot, sized in cqw (1% of its width), so it lines up at any size.
   One 12s loop: a WhatsApp booking lands in room 302, then a LINE booking in room 104. */
.chart-live {
  position: relative;
  container-type: inline-size;
}

.chart-live .cl-today {
  position: absolute;
  left: 34.2%;
  top: 17.4%;
  width: 6.25%;
  height: 81.6%;
  border-radius: 6px;
  pointer-events: none;
}

.chart-live.in .cl-today {
  animation: cl-today 2.6s ease-in-out infinite;
}

@keyframes cl-today {
  50% {
    box-shadow: inset 0 0 0 2px rgba(232, 85, 43, 0.45);
    background: rgba(232, 85, 43, 0.07);
  }
}

.chart-live .cl-bar {
  position: absolute;
  display: flex;
  align-items: center;
  height: 3.05%;
  padding-left: 0.9cqw;
  border-left: 0.25cqw solid;
  border-radius: 0.6cqw;
  font-size: 1.05cqw;
  font-weight: 700;
  color: #0b1220;
  white-space: nowrap;
  overflow: hidden;
  transform: scaleX(0);
  transform-origin: left center;
  opacity: 0;
}

.chart-live .cl-fam {
  left: 50.2%;
  top: 79.5%;
  width: 11.9%;
  border-color: #e8552b;
  background: #fbd9cb;
}

.chart-live .cl-std {
  left: 68.9%;
  top: 42.7%;
  width: 11.9%;
  border-color: #2f6fd0;
  background: #cfe0f7;
}

.chart-live .cl-toast {
  position: absolute;
  display: grid;
  gap: 0.25cqw;
  width: 24cqw;
  padding: 1cqw 1.3cqw;
  border-radius: 1.2cqw;
  background: #fff;
  box-shadow: 0 1.2cqw 3cqw -1cqw rgba(11, 18, 32, 0.35);
  font-size: 1.05cqw;
  line-height: 1.35;
  color: #0b1220;
  opacity: 0;
  transform: translateY(1cqw) scale(0.96);
}

.chart-live .cl-toast b {
  display: flex;
  align-items: center;
  gap: 0.6cqw;
  font-size: 1.15cqw;
}

.chart-live .cl-toast span {
  color: #5b6578;
}

.chart-live .cl-toast em {
  font-style: normal;
  font-weight: 700;
  color: #0a7a3c;
}

.chart-live .cl-dot {
  width: 0.8cqw;
  height: 0.8cqw;
  border-radius: 50%;
}

.chart-live .cl-wa {
  background: #1fa855;
}

.chart-live .cl-line {
  background: #06c755;
}

.chart-live .cl-t1 {
  left: 43%;
  top: 66.5%;
}

.chart-live .cl-t2 {
  left: 62%;
  top: 30%;
}

.chart-live.in .cl-1 {
  animation: cl-bar1 12s var(--ease-out) infinite;
}

.chart-live.in .cl-2 {
  animation: cl-bar2 12s var(--ease-out) infinite;
}

.chart-live.in .cl-t1 {
  animation: cl-toast1 12s var(--ease-out) infinite;
}

.chart-live.in .cl-t2 {
  animation: cl-toast2 12s var(--ease-out) infinite;
}

@keyframes cl-bar1 {
  0%, 8% { opacity: 0; transform: scaleX(0); }
  14%, 90% { opacity: 1; transform: scaleX(1); }
  96%, 100% { opacity: 0; transform: scaleX(1); }
}

@keyframes cl-bar2 {
  0%, 46% { opacity: 0; transform: scaleX(0); }
  52%, 90% { opacity: 1; transform: scaleX(1); }
  96%, 100% { opacity: 0; transform: scaleX(1); }
}

@keyframes cl-toast1 {
  0%, 13% { opacity: 0; transform: translateY(1cqw) scale(0.96); }
  17%, 38% { opacity: 1; transform: none; }
  43%, 100% { opacity: 0; transform: translateY(-0.6cqw); }
}

@keyframes cl-toast2 {
  0%, 51% { opacity: 0; transform: translateY(1cqw) scale(0.96); }
  55%, 78% { opacity: 1; transform: none; }
  83%, 100% { opacity: 0; transform: translateY(-0.6cqw); }
}

/* on a phone the popups would be too small to read: keep the bars, drop the popups */
@media (max-width: 640px) {
  .chart-live .cl-toast {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .chart-live.in .cl-1,
  .chart-live.in .cl-2 {
    animation: none;
    opacity: 1;
    transform: none;
  }

  .chart-live.in .cl-today,
  .chart-live.in .cl-t1,
  .chart-live.in .cl-t2 {
    animation: none;
  }
}

/* ---------- Photo band: a cool-toned break in the middle of the page ---------- */
.band {
  position: relative;
  display: grid;
  align-items: center;
  min-height: clamp(480px, 72vh, 660px);
  overflow: hidden;
  background: #0a2a2c;
  color: #fff;
  isolation: isolate;
}

.band-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: band-drift 26s ease-in-out infinite alternate;
}

/* deep teal veil: dark enough for the text, and a different colour from the rest of the site */
.band::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(80% 70% at 50% 50%, rgba(4, 28, 32, 0.45), rgba(4, 22, 26, 0.82)),
    linear-gradient(180deg, rgba(3, 20, 24, 0.35), rgba(3, 20, 24, 0.55));
}

@keyframes band-drift {
  from {
    transform: scale(1.04);
  }
  to {
    transform: scale(1.14) translateX(-2%);
  }
}

.band-inner {
  padding-block: clamp(4rem, 9vw, 6.5rem);
  text-align: center;
}

.band .eyebrow {
  color: #9fe3d8;
}

.band-slides {
  display: grid;
  max-width: 50rem;
  margin: 0 auto;
}

.band-slide {
  grid-area: 1 / 1;
  opacity: 0;
  transform: translateY(14px);
  /* the old message leaves first, then the new one arrives, so the two never overlap */
  transition:
    opacity 280ms ease-in,
    transform 280ms ease-in;
  pointer-events: none;
}

.band-slide.is-on {
  opacity: 1;
  transform: none;
  pointer-events: auto;
  transition:
    opacity 520ms var(--ease-out) 300ms,
    transform 520ms var(--ease-out) 300ms;
}

.band-slide h2 {
  font-size: clamp(2.1rem, 5.2vw, 4rem);
  line-height: 1.08;
  color: #fff;
  text-shadow: 0 2px 30px rgba(0, 0, 0, 0.35);
}

.band-slide h2 em {
  color: #9fe3d8;
}

.band-slide p {
  max-width: 36rem;
  margin: 1.1rem auto 0;
  font-size: 1.12rem;
  color: rgba(255, 255, 255, 0.86);
}

.band-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
  margin-top: 2.2rem;
}

.band-tab {
  min-height: 44px;
  padding: 0.6rem 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font: inherit;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  backdrop-filter: blur(6px);
  transition:
    background-color 200ms var(--ease-out),
    color 200ms var(--ease-out),
    border-color 200ms var(--ease-out);
}

.band-tab[aria-pressed="true"] {
  border-color: #fff;
  background: #fff;
  color: #0a2a2c;
}

@media (hover: hover) and (pointer: fine) {
  .band-tab:hover {
    border-color: #fff;
  }
}

@media (prefers-reduced-motion: reduce) {
  .band-bg {
    animation: none;
  }

  .band-slide {
    transition: none;
  }
}

/* ---------- Currency fee calculator ---------- */
.fx-compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
  margin-top: 1.2rem;
}

.fx-compare div {
  padding: 0.75rem 0.85rem;
  border: 1px solid var(--stroke-dark);
  border-radius: var(--r-sm);
}

.fx-compare > div > span {
  display: block;
  font-size: 0.82rem;
  color: #a9b4c9;
}

.fx-compare b {
  color: #fff;
  font-size: 1.05rem;
  font-variant-numeric: tabular-nums;
}

.fx-compare small {
  font-size: 0.78rem;
  font-weight: 600;
  color: #a9b4c9;
}

.fx-compare .is-us {
  border-color: var(--sky);
  background: rgba(255, 162, 127, 0.1);
}

.fx-compare .is-us b {
  color: var(--sky);
}

.fx-fine {
  margin-top: 0.8rem;
  font-size: 0.72rem;
  line-height: 1.4;
  color: #7d889c;
}

/* the two calculators sit back to back, so the second one needs less space above */
.revenue + .revenue {
  padding-top: 0;
}

@media (max-width: 420px) {
  .fx-compare {
    grid-template-columns: 1fr;
  }
}

/* ---------- Footer: five columns with "Learn more" ---------- */
@media (min-width: 901px) {
  .footer-grid {
    grid-template-columns: 1.2fr 0.85fr 0.85fr 0.95fr 1.15fr;
  }
}

/* ---------- Review replies ---------- */
/* the tenth pain point takes the whole last row, so the grid has no gap */
.job-wide {
  grid-column: 1 / -1;
}

.job-wide > p:not(.fix) {
  max-width: 62ch;
}

.soon {
  display: inline-block;
  margin-left: 0.35rem;
  padding: 0.12rem 0.55rem;
  border-radius: 999px;
  background: rgba(232, 85, 43, 0.18);
  color: #ff9a76;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  vertical-align: 0.12em;
  white-space: nowrap;
}

.review-card {
  margin-top: clamp(1.2rem, 3vw, 2rem);
  background:
    radial-gradient(70% 90% at 0% 100%, rgba(232, 85, 43, 0.4), transparent 65%),
    var(--ink);
}

.rv-demo {
  display: grid;
  gap: 0.8rem;
}

.rv {
  padding: 1rem 1.1rem;
  border-radius: 18px;
  background: #fff;
  color: var(--text);
  font-size: 0.95rem;
}

.rv p + p {
  margin-top: 0.35rem;
}

.rv-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  margin-bottom: 0.45rem;
}

.rv-src {
  font-weight: 800;
  font-size: 0.85rem;
}

.rv-stars {
  color: #f5a524;
  letter-spacing: 0.08em;
}

.rv-stars i {
  font-style: normal;
  color: #d9dde5;
}

.rv-who {
  color: var(--muted);
  font-size: 0.82rem;
}

.rv-reply {
  margin-left: clamp(0.8rem, 4vw, 2rem);
  border: 1.5px solid rgba(232, 85, 43, 0.5);
  background: #fff7f3;
}

.rv-ai {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--blue);
  font-weight: 800;
  font-size: 0.85rem;
}

.rv-ai .ic {
  width: 16px;
  height: 16px;
}

.rv-tr {
  padding-top: 0.45rem;
  border-top: 1px dashed rgba(11, 18, 32, 0.15);
  color: var(--muted);
  font-size: 0.86rem;
}

.rv-acts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.8rem;
}

.rv-btn {
  padding: 0.4rem 0.9rem;
  border: 1px solid var(--stroke);
  border-radius: 999px;
  background: #fff;
  font-weight: 700;
  font-size: 0.82rem;
}

.rv-btn.is-main {
  border-color: var(--blue);
  background: var(--blue);
  color: #fff;
}

/* ---------- Book a free call (the one main path) ---------- */
.book-steps { list-style: none; margin: 0 0 1.4rem; padding: 0; display: grid; gap: 1rem; }
.book-steps li { display: grid; grid-template-columns: 2.2rem 1fr; gap: 0.8rem; align-items: start; }
.book-steps b { display: grid; place-items: center; width: 2.2rem; height: 2.2rem; border-radius: 50%; background: var(--blue-soft); color: var(--blue); font-weight: 800; }
.book-steps strong { display: block; font-size: 1.02rem; }
.book-steps span { display: block; color: var(--muted); font-size: 0.92rem; line-height: 1.45; }
.book-card .form-fine a { color: inherit; text-decoration: underline; }
