/* ==========================================================================
   Home page — geometry, colours and type measured from the original
   ziebrb.com at 1440px (Elementor), then made fluid.
   ========================================================================== */

.home-wrap {
  width: min(var(--container-wide), 100% - 48px);
  margin-inline: auto;
}

/* ---------- Hero -------------------------------------------------------
   Everything on the left is sized in blob units: --u = blob width / 700
   (the blob artwork is 700px wide). The copy sits in the upper lobe, above
   the notch, so it stays on navy at every desktop/tablet width.        */
.home-hero {
  --u: calc(48.6vw / 700);
  position: relative;
  overflow: hidden;
  background: var(--color-white);
  /* two 700x430 blobs stacked (overlap 35px) */
  min-height: max(560px, calc(48.6vw * 1.179 - 28px));
}

.home-hero__blobs {
  position: absolute;
  top: -14px;
  left: -14px;
  width: 48.6vw;
  pointer-events: none;
}

.home-hero__blobs img {
  width: 100%;
}

.home-hero__blobs img + img {
  margin-top: -5%;
}

.home-hero__copy {
  position: absolute;
  z-index: 2;
  left: calc(var(--u) * 40);
  top: calc(var(--u) * 60 - 14px);
  width: calc(var(--u) * 560);
}

.home-hero__copy h1 {
  font-family: var(--font-montserrat);
  font-weight: 800;
  font-size: calc(var(--u) * 52);
  line-height: 1;
  letter-spacing: 0;
  text-transform: uppercase;
}

.home-hero__copy h1 span {
  display: block;
  color: #e6e6e6;
}

.home-hero__copy h1 span + span {
  margin-top: 0.18em;
  color: var(--zb-yellow);
}

/* navy panel keeps the yellow subtitle readable as the blob narrows */
.home-hero__copy p {
  display: inline-block;
  margin: calc(var(--u) * 22) 0 0 calc(var(--u) * -18);
  max-width: calc(var(--u) * 480);
  padding: calc(var(--u) * 12) calc(var(--u) * 18);
  border-radius: 0 18px 18px 0;
  background: var(--zb-blob);
  font-family: var(--font-montserrat);
  font-weight: 600;
  font-size: calc(var(--u) * 17);
  line-height: calc(var(--u) * 22);
  color: var(--zb-yellow);
}

.home-hero__copy .zb-btn {
  display: flex;
  width: fit-content;
  margin-top: calc(var(--u) * 22);
}

.home-hero__inner {
  position: relative;
  width: min(var(--container-wide), 100% - 48px);
  height: 100%;
  min-height: inherit;
  margin-inline: auto;
}

/* Right column: circle, cut-out portrait, badge, floating PECAHKAN logos.
   Percentages are of the 1120px content width, taken from the original. */
.home-hero__visual {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.home-hero__circle {
  position: absolute;
  left: 66.2%;
  top: 25%;
  width: 33.9%;
  max-width: 380px;
}

.home-hero__portrait {
  position: absolute;
  left: 62.8%;
  bottom: 0;
  width: 36.4%;
  max-width: 408px;
}

.home-hero__badge {
  position: absolute;
  left: 94.6%;
  top: 29.8%;
  width: 9.55%;
  max-width: 107px;
  border-radius: 11px;
}

.home-hero__pecahkan {
  position: absolute;
  filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.25));
}

.home-hero__pecahkan--1 {
  left: 58%;
  top: 20%;
  width: 11.8%;
  max-width: 132px;
}

.home-hero__pecahkan--2 {
  left: 88%;
  top: 74%;
  width: 8.4%;
  max-width: 94px;
}

/* the badge sits past the 1120px column on the original; pull it back in
   once the side margin gets too small to hold it */
@media (max-width: 1260px) {
  .home-hero__badge {
    left: auto;
    right: 0;
  }
}

@media (max-width: 1024px) {
  /* original hides the subtitle from tablet down */
  .home-hero__copy p {
    display: none;
  }
}

/* Phone: the original drops the portrait side and shows the copy on navy */
@media (max-width: 767px) {
  .home-hero {
    min-height: 0;
    background: var(--zb-blob);
  }

  .home-hero__blobs,
  .home-hero__inner {
    display: none;
  }

  .home-hero__copy {
    position: static;
    width: auto;
    padding: 44px 24px var(--m-section);
  }

  .home-hero__copy h1 {
    font-size: var(--m-hero);
    line-height: 1.02;
  }

  .home-hero__copy .zb-btn {
    margin-top: 28px;
  }
}

/* ---------- Intro band + cards ---------------------------------------- */
.home-intro {
  background: var(--zb-band);
  padding: 30px 0 36px;
  text-align: center;
}

.home-intro__title {
  font-family: var(--font-montserrat);
  font-weight: 700;
  font-size: clamp(2.2rem, 1.6rem + 1.8vw, 3rem);
  line-height: 1.5;
  letter-spacing: 0;
}

.home-intro__title span:first-child {
  color: var(--color-white);
}

.home-intro__title span:last-child {
  color: var(--zb-yellow);
}

.home-intro__lede {
  max-width: 820px;
  margin: 6px auto 34px;
  font-family: var(--font-roboto);
  font-weight: 500;
  font-size: 14px;
  line-height: 1.6;
  color: var(--color-white);
}

.home-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px;
  width: min(1140px, 100%);
  margin-inline: auto;
  text-align: left;
}

.home-card {
  display: block;
  padding: 36px 46px 28px;
  border-radius: 20px;
  background: var(--color-white);
  box-shadow: 0 12px 30px -18px rgba(4, 55, 117, 0.55);
  transition: transform var(--duration-normal) var(--ease-out-expo),
    box-shadow var(--duration-normal) var(--ease-out-expo);
}

.home-card:hover,
.home-card:focus-visible {
  transform: translateY(-6px);
  box-shadow: 0 22px 40px -18px rgba(4, 55, 117, 0.7);
}

.home-card__num {
  display: block;
  font-family: var(--font-display);
  font-size: 32px;
  line-height: 1;
  color: var(--zb-blue-bright);
}

.home-card__title {
  margin: 6px 0 8px;
  font-family: var(--font-montserrat);
  font-weight: 700;
  font-size: 19.2px;
  line-height: 1.2;
  letter-spacing: 0;
  color: #1f1f1f;
}

.home-card p {
  font-family: var(--font-roboto);
  font-weight: 400;
  font-size: 15px;
  line-height: 1.45;
  color: #333;
}

.home-card__arrow {
  display: block;
  width: 40px;
  height: 40px;
  margin-top: 18px;
  fill: var(--zb-blue-bright);
  transition: transform var(--duration-normal) var(--ease-out-expo);
}

.home-card:hover .home-card__arrow {
  transform: translateX(8px);
}

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

  .home-card {
    padding: 28px 28px 24px;
  }

  .home-intro__lede {
    text-align: left;
  }

  .home-intro__title {
    text-align: left;
  }
}

/* Phone: same size/rhythm as the "REZI BARABA" bands on the other pages,
   and tighter cards so the three of them don't fill two screens */
@media (max-width: 767px) {
  .home-intro {
    padding: 40px 0 var(--m-section);
  }

  .home-intro__title {
    font-size: var(--m-name);
    line-height: 1.25;
  }

  .home-intro__lede {
    margin: 10px 0 28px;
    font-size: var(--m-lede);
    font-weight: 500;
  }

  /* the cards sit in a .zb-swipe row; compact vertical cards, equal height,
     arrow pinned to the bottom */
  .home-cards {
    --swipe-item: min(70%, 260px);
  }

  .home-card {
    display: flex;
    flex-direction: column;
    padding: 18px 18px 16px;
    border-radius: 16px;
  }

  .home-card:hover,
  .home-card:focus-visible {
    transform: none;
  }

  .home-card__num {
    font-size: 24px;
  }

  .home-card__title {
    margin: 4px 0 6px;
    font-size: 1rem;
  }

  .home-card p {
    font-size: var(--m-small);
  }

  .home-card__arrow {
    width: 24px;
    height: 24px;
    margin-top: auto;
    padding-top: 12px;
    box-sizing: content-box;
  }
}

/* ---------- Stand-Up / Talent Iklan features --------------------------- */
.home-feature {
  padding-block: 32px 30px;
  background-color: var(--color-white);
  background-repeat: no-repeat;
}

/* Elementor backgrounds of the original sections */
.home-feature--standup {
  background-image: url("../images/deco-pill-orange.webp");
  background-position: left center;
  background-size: 46vw auto;
}

.home-feature--talent {
  padding-top: 72px;
  background-color: var(--color-white);
  background-image: url("../images/deco-pill-yellow.webp");
  background-position: 100% 54%;
  background-size: 49% auto;
}

.home-feature__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 30px;
  align-items: center;
}

.home-feature__media {
  margin: 0;
}

.home-feature__media img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: 34px;
}

.home-feature--talent .home-feature__media img {
  aspect-ratio: 550 / 357;
  border-radius: 35px;
}

.home-feature__title {
  font-family: var(--font-montserrat);
  font-weight: 800;
  font-size: clamp(2rem, 1.4rem + 1.6vw, 2.8rem);
  line-height: 1.2;
  letter-spacing: 0;
  text-transform: uppercase;
}

.home-feature__copy p {
  margin: 14px 0 24px;
  font-family: var(--font-roboto);
  font-size: 16px;
  line-height: 24px;
  color: var(--zb-text);
}

.home-videos {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px;
  margin-top: 110px;
}

.home-feature--talent .home-videos {
  margin-top: 60px;
}

@media (max-width: 860px) {
  .home-feature,
  .home-feature--talent {
    padding-block: 40px;
  }

  .home-feature__row {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }

  /* photo first on mobile, like the original */
  .home-feature--talent .home-feature__media {
    order: -1;
  }

  .home-videos,
  .home-feature--talent .home-videos {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
    margin-top: 48px;
  }
}

/* The pills only peek out as thin strips beside a full-width photo, and a
   bigger pill would sit behind the yellow title, so phones drop them. */
@media (max-width: 767px) {
  .home-feature--standup,
  .home-feature--talent {
    padding-block: var(--m-section);
    background-image: none;
  }

  .home-feature--standup {
    padding-top: 40px;
  }

  /* without the desktop pills, Stand-Up, Talent and FAQ ran together as one
     long white block; alternate the backgrounds so each section reads */
  .home-feature--talent {
    background-color: var(--zb-tint);
  }

  .home-feature__media img,
  .home-feature--talent .home-feature__media img {
    border-radius: 24px;
  }

  .home-feature__title {
    font-size: var(--m-title-sans);
  }

  .home-feature__copy p {
    margin: 12px 0 20px;
  }

  .home-videos,
  .home-feature--talent .home-videos {
    gap: 12px;
    margin-top: 40px;
  }
}

/* ---------- FAQ -------------------------------------------------------- */
.home-faq {
  background: var(--zb-faq-bg);
  padding-block: 127px 70px;
}

.home-faq__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 20px;
  align-items: start;
}

.home-faq__title {
  padding-left: 10px;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(3rem, 2.2rem + 2.4vw, 4rem);
  line-height: 1.2;
  letter-spacing: 0;
}

.home-faq__zigzag {
  position: relative;
  width: 400px;
  max-width: 100%;
  height: 72px;
  margin-top: 36px;
}

.home-faq__zigzag img {
  position: absolute;
}

.home-faq__zigzag .zz-a { left: 25px;  top: 0;    width: 185px; }
.home-faq__zigzag .zz-b { left: 257px; top: 0;    width: 136px; }
.home-faq__zigzag .zz-c { left: 0;     top: 36px; width: 49px; }
.home-faq__zigzag .zz-d { left: 117px; top: 37px; width: 136px; }
.home-faq__zigzag .zz-e { left: 303px; top: 36px; width: 93px; }

.home-faq__list {
  display: grid;
  gap: 15px;
}

.home-faq__item {
  border: 1px solid #e3e8ef;
  background: var(--color-white);
}

.home-faq__item summary {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 58px;
  padding: 15px 20px;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-display);
  font-size: 22px;
  line-height: 1;
  color: #3a3a3a;
}

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

.home-faq__item summary::before {
  content: "+";
  font-family: var(--font-roboto);
  font-size: 24px;
  line-height: 1;
  color: var(--zb-navy);
  transition: transform var(--duration-normal) var(--ease-out-expo);
}

.home-faq__item[open] summary::before {
  transform: rotate(45deg);
}

.home-faq__item p {
  padding: 0 20px 18px 48px;
  font-family: var(--font-roboto);
  font-size: 16px;
  line-height: 24px;
  color: #3a3a3a;
}

.home-faq__item a {
  color: var(--zb-blue);
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 860px) {
  .home-faq {
    padding-block: 56px;
  }

  .home-faq__row {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }

  .home-faq__zigzag {
    display: none;
  }

  .home-faq__item summary {
    font-size: 18px;
  }
}

@media (max-width: 767px) {
  .home-faq {
    padding-block: var(--m-section);
    background: var(--color-white);
  }

  .home-faq__row {
    gap: 24px;
  }

  .home-faq__title {
    padding-left: 0;
    font-size: var(--m-title-display);
    line-height: 1.1;
  }

  .home-faq__item summary {
    padding: 14px 16px;
  }

  .home-faq__item p {
    padding: 0 16px 16px 44px;
  }
}

/* ---------- Book ------------------------------------------------------- */
.home-book {
  background: var(--zb-book-bg);
  padding-block: 86px;
}

.home-book__row {
  display: grid;
  grid-template-columns: 35% minmax(0, 1fr);
  gap: 20px;
  align-items: start;
  padding-inline: 20px;
}

.home-book__side {
  text-align: center;
}

.home-book__title {
  margin: 40px 0 26px;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.6rem, 1.8rem + 2.4vw, 4rem);
  line-height: 1.2;
  letter-spacing: 0;
}

@media (max-width: 860px) {
  .home-book {
    padding-block: 48px;
  }

  .home-book__row {
    grid-template-columns: minmax(0, 1fr);
    padding-inline: 24px;
  }

  .home-book__cover {
    max-width: min(420px, 100%);
    margin-inline: auto;
  }
}

@media (max-width: 767px) {
  .home-book__cover {
    max-width: min(300px, 100%);
  }
}

@media (max-width: 767px) {
  .home-book {
    padding-block: var(--m-section);
  }

  .home-book__title {
    margin: 32px 0 20px;
    font-size: var(--m-title-display);
    line-height: 1.1;
  }
}
