/* Djinny home — v5.1.1 (hipages-style layout) */

:root {
  --blue: #1E40AF;
  --blue-dark: #1E3A8A;
  --blue-soft: #EFF4FF;
  --amber: #F59E0B;
  --ink: #1F2A44;
  --muted: #5B6478;
  --line: #D6DBE6;
  --grey: #EEF1F5;
  --font: 'Be Vietnam Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}


*,
*::before,
*::after {
  box-sizing: border-box;
}


html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}


body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
}


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


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


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


h3,
b,
strong {
  font-weight: 600;
}


h2 {
  font-size: 34px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}


.lang-vi .en-text,
.lang-en .vi-text {
  display: none !important;
}


.wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
}


.center {
  text-align: center;
}


.icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}


.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 42px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
  cursor: pointer;
}


.pill-blue {
  border-color: var(--blue);
  background: var(--blue);
  color: #fff;
}


.pill-dark {
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
}


.pill-outline {
  border: 2px solid var(--ink);
  background: transparent;
}


.pill-big {
  height: 48px;
  padding: 0 24px;
  font-size: 15px;
}


/* Floating header */


/* Hero */

.hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 540px;
  background: url(/images/photos/hero.jpg) center 35% / cover;
  color: #fff;
}


.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.56);
}


.hero-inner {
  position: relative;
  width: 100%;
  max-width: 820px;
  padding: 110px 20px 64px;
  text-align: center;
}


.hero h1 {
  font-size: 52px;
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.02em;
  text-wrap: balance;
}


.search-label {
  display: block;
  max-width: 700px;
  margin: 30px auto 10px;
  font-size: 18px;
  font-weight: 600;
  text-align: left;
}


.search {
  display: flex;
  gap: 10px;
  max-width: 700px;
  margin: 0 auto;
}


.field {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 54px;
  padding: 0 16px;
  border-radius: 10px;
  background: #fff;
  color: #8A93A6;
}


.field input {
  width: 100%;
  border: 0;
  outline: 0;
  font: inherit;
  font-size: 15px;
  color: var(--ink);
  background: none;
}


.field-what {
  flex: 1;
}


.field-where {
  width: 230px;
}


.search-go {
  height: 54px;
  padding: 0 26px;
  border: 0;
  border-radius: 10px;
  background: var(--amber);
  font: inherit;
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
}


.hero-note {
  margin-top: 14px;
  font-size: 14px;
  opacity: 0.85;
}


/* Sections */

.section {
  padding: 60px 0;
}


.section-tight {
  padding-top: 16px;
}


.kicker {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}


/* Popular jobs */

.jobs {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}


.job {
  display: block;
  width: 124px;
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--ink);
  text-align: center;
  cursor: pointer;
}


.job-box {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 112px;
  margin-bottom: 8px;
  border: 2px solid transparent;
  border-radius: 18px;
  background: var(--blue-soft);
  transition: border-color 0.15s, background 0.15s;
}


.job:hover .job-box {
  border-color: #A9BCEB;
}


.job[aria-pressed="true"] .job-box {
  border-color: var(--blue);
  background: #fff;
}


.job img {
  width: 64px;
  height: 64px;
}


.problems {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 22px;
  font-size: 13px;
}


.problems b {
  margin-right: 4px;
}


.problems > span {
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-weight: 500;
}


.all-services {
  display: inline-block;
  margin-top: 18px;
  font-size: 14px;
  font-weight: 500;
  color: var(--blue);
  text-decoration: underline;
}


.unsure {
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: 720px;
  margin: 36px auto 0;
  padding: 14px 14px 14px 22px;
  border-radius: 14px;
  background: var(--grey);
  text-align: left;
}


.unsure div {
  flex: 1;
}


.unsure b {
  font-size: 17px;
}


.unsure small {
  display: block;
  font-size: 14px;
  color: var(--muted);
}


/* How it works */

.how {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin: 40px 0 0;
  padding: 0;
  list-style: none;
}


.how-art {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 124px;
  height: 124px;
  margin: 0 auto 18px;
  border: 2px solid var(--ink);
  border-radius: 24px;
  background: #fff;
}


.how-art img {
  width: 76px;
  height: 76px;
}


.how-num {
  position: absolute;
  top: -13px;
  left: -13px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--amber);
  font-weight: 700;
}


.how h3 {
  font-size: 19px;
}


.how p {
  max-width: 290px;
  margin: 6px auto 0;
  font-size: 15px;
  color: var(--muted);
}


/* Step photos */

.how-pic {
  position: relative;
  display: block;
  margin-bottom: 18px;
}


.how-pic img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: 16px;
}


.how-pic .how-num {
  top: 12px;
  left: 12px;
}


/* Shop band */

.band {
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
  border-radius: 20px;
  background: var(--amber);
}


.band-copy {
  padding: 52px 48px;
}


.band-copy small {
  font-size: 15px;
  font-weight: 500;
}


.band-copy h2 {
  margin-top: 10px;
  font-size: 38px;
}


.band-copy p {
  margin-top: 14px;
  font-size: 16px;
}


.band-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}


.band img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}


/* Promises */

.promises {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px 40px;
  max-width: 1040px;
  margin: 0 auto;
}


.promise {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  text-align: center;
}


.promise-art {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 92px;
  height: 92px;
  border: 2px solid var(--ink);
  border-radius: 20px;
  background: var(--blue-soft);
  color: var(--blue);
}


.promise-art .icon {
  width: 42px;
  height: 42px;
}


.promise b {
  font-size: 16px;
}


.promise p {
  font-size: 14px;
  color: var(--muted);
}


/* App strip */

.app-strip {
  padding: 34px 0;
  background: var(--grey);
}


.app-strip .wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
}


.app-strip h2 {
  font-size: 26px;
}


.app-strip small {
  font-size: 14px;
  color: var(--muted);
}


.badges {
  display: flex;
  gap: 10px;
}


.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 48px;
  padding: 0 16px;
  border-radius: 10px;
  background: #000;
  font-size: 11px;
  line-height: 1.15;
  color: #fff;
}


.badge b {
  display: block;
  font-size: 17px;
}


.badge svg {
  width: 24px;
  height: 24px;
}


.badge-soon {
  background: #6B7280;
  cursor: default;
}


/* Tips carousel */

.tips {
  padding: 60px 0 52px;
  background: var(--blue);
  color: #fff;
  text-align: center;
}


.tip {
  display: none;
  max-width: 680px;
  margin: 0 auto;
}


.tip.is-on {
  display: block;
}


.tip .kicker {
  opacity: 0.85;
}


.tip h2 {
  margin-top: 10px;
  font-size: 32px;
}


.tip p {
  margin-top: 14px;
  font-size: 17px;
  opacity: 0.92;
}


.tip-link {
  display: inline-block;
  margin-top: 18px;
  padding: 10px 18px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 999px;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
}


.tip-link:hover,
.tip-link:focus-visible {
  background: #fff;
  color: var(--blue);
}


.dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 26px;
}


.dots button {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
  transition: width 0.2s;
}


.dots button[aria-current="true"] {
  width: 26px;
  background: #fff;
}


/* Areas */

.areas {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 30px;
}


.areas b {
  display: block;
  margin-bottom: 14px;
}


.areas a {
  display: block;
  margin-bottom: 12px;
  font-size: 15px;
  color: var(--blue);
  text-decoration: underline;
}


/* FAQ */

.faq {
  max-width: 760px;
  margin: 28px auto 0;
  border-top: 1px solid var(--line);
  text-align: left;
}


.faq details {
  border-bottom: 1px solid var(--line);
}


.faq summary {
  position: relative;
  padding: 18px 40px 18px 0;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  list-style: none;
}


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


.faq summary::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 14px;
  font-size: 22px;
  font-weight: 400;
  color: var(--muted);
}


.faq details[open] summary::after {
  content: "–";
}


.faq details p {
  padding-bottom: 18px;
  color: var(--muted);
}


/* Footer */

.foot {
  padding: 52px 0 40px;
  background: var(--blue);
  font-size: 14px;
  color: #fff;
}


.foot-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr) 1.4fr;
  gap: 32px;
}


.foot h3 {
  margin-bottom: 14px;
  font-size: 15px;
}


.foot-links a:not(.pill):not(.badge) {
  display: block;
  margin-bottom: 8px;
  text-decoration: underline;
}


.foot .pill {
  margin-bottom: 14px;
}


.foot .badge {
  margin-top: 8px;
}


.foot-about p + p {
  margin-top: 14px;
}


/* Phone */


@media (max-width: 767px) {
  h2 {
    font-size: 24px;
  }

  .hero {
    min-height: 0;
  }

  .hero-inner {
    padding: 92px 16px 36px;
  }

  .hero h1 {
    font-size: 30px;
  }

  .search-label {
    margin-top: 20px;
    font-size: 16px;
  }

  .search {
    flex-direction: column;
    gap: 8px;
  }

  .field,
  .search-go {
    height: 50px;
  }

  .field-where {
    width: auto;
  }

  .section {
    padding: 36px 0;
  }

  .section-tight {
    padding-top: 8px;
  }

  .jobs {
    justify-content: flex-start;
    gap: 10px;
    margin: 18px -16px 0;
    padding: 0 16px 4px;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .job {
    flex: 0 0 88px;
    font-size: 12px;
  }

  .job-box {
    height: 82px;
    border-radius: 16px;
  }

  .job img {
    width: 46px;
    height: 46px;
  }

  .problems {
    flex-wrap: nowrap;
    justify-content: flex-start;
    margin: 16px -16px 0;
    padding: 0 16px;
    overflow-x: auto;
    scrollbar-width: none;
    white-space: nowrap;
  }

  .unsure {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    margin-top: 24px;
    padding: 16px;
  }

  .how {
    grid-template-columns: 1fr;
    gap: 28px;
    margin-top: 22px;
    text-align: left;
  }

  .how-pic {
    margin-bottom: 12px;
  }

  .how h3 {
    font-size: 16px;
  }

  .how p {
    max-width: none;
    margin: 4px 0 0;
    font-size: 15px;
  }

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

  .band-copy {
    padding: 28px 22px;
  }

  .band-copy h2 {
    font-size: 26px;
  }

  .band img {
    height: 200px;
  }

  .promises {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .promise {
    flex-direction: row;
    text-align: left;
  }

  .promise-art {
    flex-basis: 68px;
    height: 68px;
    border-radius: 16px;
  }

  .promise-art .icon {
    width: 32px;
    height: 32px;
  }

  .app-strip .wrap {
    flex-direction: column;
    gap: 14px;
    text-align: center;
  }

  .tips {
    padding: 40px 0 36px;
  }

  .tip h2 {
    font-size: 22px;
  }

  .tip p {
    font-size: 15px;
  }

  .areas {
    grid-template-columns: 1fr 1fr;
    row-gap: 14px;
  }

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

  .foot-about {
    grid-column: span 2;
  }
}


/* Phone: solid header + shop strip (like hipages) */

.shop-strip {
  display: none;
}


@media (max-width: 767px) {


  .shop-strip {
    display: block;
    padding: 14px 16px;
    background: var(--ink);
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    text-align: center;
  }

  .hero-inner {
    padding-top: 36px;
  }
}


@media (max-width: 767px) {
  .field-what {
    flex: none;
  }
}


/* Bigger job tiles (hipages size) */

.job {
  width: 136px;
  font-size: 15px;
}


.job-box {
  height: 136px;
  border-radius: 20px;
}


.job img {
  width: 120px;
  height: 120px;
}


@media (max-width: 767px) {
  .job {
    flex: 0 0 104px;
    font-size: 13px;
  }

  .job-box {
    height: 104px;
  }

  .job img {
    width: 92px;
    height: 92px;
  }
}


/* Menu bar: softer corners */


.foot .pill {
  border-radius: 8px;
}


/* Member tiers */

.tiers {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
  text-align: left;
}


.tier {
  --tier: #94A3B8;
  position: relative;
  overflow: hidden;
  padding: 24px 22px 26px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.06);
}


.tier::after {
  content: "";
  position: absolute;
  top: -40px;
  right: -40px;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: var(--tier);
  opacity: 0.14;
}


.tier-gold {
  --tier: #F59E0B;
  border-color: #F8C66A;
}


.tier-diamond {
  --tier: #60A5FA;
}


.tier-platinum {
  --tier: #8B5CF6;
}


.tier-medal {
  width: 36px;
  height: 36px;
  color: var(--tier);
}


.tier h3 {
  margin-top: 12px;
  font-size: 20px;
}


.tier-points {
  margin-top: 4px;
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
}


.tier ul {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}


.tier li {
  display: flex;
  gap: 8px;
  font-size: 14px;
  line-height: 1.45;
}


.tier li + li {
  margin-top: 10px;
}


.tier li svg {
  flex: 0 0 16px;
  height: 16px;
  margin-top: 2px;
  color: var(--tier);
}


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


@media (max-width: 480px) {
  .tiers {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}
