/* =====================================================
   PROGRAMS LAB V1 STYLES
   ===================================================== */

/* ── Root Variables ── */
:root {
  --color-ember: #eba726;
  --color-blue: #0285bc;
  --color-sand: #ede8ae;
  --color-ink: #2f2d30;
  --color-chalk: #f4f5f1;
  --color-steel: #6b6966;
  --color-line: rgba(47, 45, 48, 0.08);
  --wa: #25D366;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ── Reset ── */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: #ffffff;
  color: #2f2d30;
  font-family: 'Heebo', sans-serif;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
  overflow-x: hidden;
}

.display,
h1,
h2,
h3,
.logo {
  font-family: 'Caprasimo', serif;
  font-weight: 400;
  letter-spacing: 0.02em;
  text-transform: none;
}

.mono {
  font-family: 'Heebo', monospace;
  font-weight: 500;
  letter-spacing: 0.02em;
}

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

button {
  font-family: inherit;
  cursor: pointer;
}

/* ── CURSOR LIGHT ── */
.cursor-light {
  position: fixed;
  top: 0;
  left: 0;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(circle, rgba(235, 167, 38, 0.14) 0%, rgba(2, 133, 188, 0.06) 45%, transparent 70%);
  transform: translate(-50%, -50%);
  z-index: 999;
  opacity: 0;
  transition: opacity 0.8s var(--ease);
  will-change: transform;
  mix-blend-mode: multiply;
}

.cursor-light.on {
  opacity: 1;
}

@media (max-width: 1024px),
(hover: none) {
  .cursor-light {
    display: none;
  }
}

/* ── REVEAL ANIMATIONS ── */
@keyframes rvIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.rv.in {
  animation: rvIn 0.8s var(--ease) both;
}

.rv-1.in {
  animation-delay: 0.05s;
}

.rv-2.in {
  animation-delay: 0.15s;
}

.rv-3.in {
  animation-delay: 0.25s;
}

.rv-4.in {
  animation-delay: 0.35s;
}

@keyframes rvScale {
  from {
    opacity: 0;
    transform: scale(0.94) translateY(20px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.rv-scale.in {
  animation: rvScale 0.7s var(--ease) both;
}

/* ── BUTTONS ── */
.btn,
.cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  margin-bottom: 16px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-radius: 999px;
  transition: 0.3s var(--ease);
  position: relative;
  overflow: hidden;
  cursor: pointer;
  border: none;
  white-space: nowrap;
  text-decoration: none !important;
  /* Menghilangkan underline */
}

.btn::after,
.cta-btn::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(120deg, transparent 35%, rgba(255, 255, 255, 0.20) 50%, transparent 65%);
  transform: translateX(-110%);
  transition: transform 0.8s var(--ease);
  pointer-events: none;
}

.btn:hover::after,
.cta-btn:hover::after {
  transform: translateX(110%);
}

.btn:hover,
.cta-btn:hover {
  transform: translateY(-3px);
  text-decoration: none !important;
  /* Menghilangkan underline saat hover */
}

.btn-primary {
  background: var(--color-blue);
  color: #fff;
  box-shadow: 0 16px 36px -12px rgba(2, 133, 188, 0.45);
}

.btn-primary:hover {
  background: #f5c14a;
  box-shadow: 0 16px 36px -12px rgba(2, 133, 188, 0.45);
}

.btn-ghost {
  background: transparent;
  color: var(--color-ink);
  border: 1.5px solid var(--color-line);
}

.btn-ghost:hover {
  background: var(--color-ink);
  color: #fff;
  border-color: var(--color-ink);
}

.cta-btn {
  background: var(--color-ink);
  color: #fff;
  padding: 12px 24px;
}

.cta-btn:hover {
  background: var(--color-blue);
  color: #fff;
  box-shadow: 0 16px 36px -12px rgba(2, 133, 188, 0.45);
}

/* Tambahan untuk memastikan semua button tidak ada underline */
.no-underline,
.no-underline:hover,
.no-underline:focus,
.no-underline:active {
  text-decoration: none !important;
}

/* ── HERO BANNER ── */
.page-hero {
  padding: 40px 40px 0;
  background: #ffffff;
}

.page-hero .hero-container {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  min-height: 75vh;
  display: flex;
  align-items: center;
  background: #1a1816;
  box-shadow: 0 20px 50px -20px rgba(0, 0, 0, 0.25);
}

.page-hero .hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  z-index: 0;
  filter: brightness(0.55) saturate(1.1);
}

.page-hero .wrap {
  position: relative;
  z-index: 2;
  max-width: 1160px;
  margin: 0 auto;
  padding: 80px 60px 100px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.page-hero .tag-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #b3d9f0;
  background: rgba(2, 133, 188, 0.15);
  padding: 7px 14px;
  border-radius: 999px;
  margin-bottom: 24px;
  backdrop-filter: blur(4px);
}

.page-hero h1 {
  font-size: clamp(38px, 6vw, 66px);
  line-height: 1.04;
  color: #ffffff;
  max-width: 760px;
}

.page-hero h1 span {
  color: var(--color-blue);
}

.page-hero .sub {
  font-size: 16.5px;
  color: rgba(255, 255, 255, 0.85);
  max-width: 500px;
  margin: 22px 0 32px;
  line-height: 1.75;
  font-weight: 400;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.page-hero .btn-primary {
  background: var(--color-blue);
  color: #fff;
  box-shadow: 0 16px 36px -12px rgba(2, 133, 188, 0.45);
}

.page-hero .btn-primary:hover {
  background: var(--color-ember);
  box-shadow: 0 16px 36px -12px rgba(2, 133, 188, 0.45);
}

.page-hero .btn-ghost {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(4px);
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  color: #ffffff;
}

.page-hero .btn-ghost:hover {
  background: #ffffff;
  color: #1f1e1c;
  border-color: #ffffff;
}

/* ── FORMAT STRIP ── */
.format-strip {
  background: #ffffff;
  border-bottom: 1px solid var(--color-line);
}

.format-strip .wrap {
  max-width: 1160px;
  margin: 0 auto;
  padding: 30px 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 34px;
  flex-wrap: wrap;
}

.format-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  color: var(--color-ink);
  font-weight: 500;
}

.format-item .check {
  color: var(--color-blue);
  font-weight: 900;
}

/* ── SECTION HEADER ── */
.section {
  padding: 100px 0;
  background: #ffffff;
}

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

.section.band {
  background: var(--color-chalk);
}

.section-head {
  max-width: 640px;
  margin: 0 auto 48px;
  padding: 0 40px;
  text-align: center;
}

.kicker {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #6b6966;
  margin-bottom: 10px;
}

.section-head h2 {
  font-size: clamp(30px, 4.4vw, 46px);
  line-height: 1.02;
  color: var(--color-ink);
}

.section-head h2 span {
  color: var(--color-blue);
}

.section-head p.sub {
  font-size: 15px;
  color: var(--color-steel);
  margin-top: 16px;
  line-height: 1.7;
}

/* ── PROGRAM CARDS ── */
.prog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 40px;
}

.prog-card {
  border: 1px solid var(--color-line);
  border-radius: 18px;
  overflow: hidden;
  background: #ffffff;
  box-shadow: 0 4px 24px rgba(47, 45, 48, 0.05);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
  display: flex;
  flex-direction: column;
}

.prog-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 60px -20px rgba(47, 45, 48, 0.16);
}

.prog-card .photo {
  aspect-ratio: 16/9;
  overflow: hidden;
  background: #f0ede8;
}

.prog-card .photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.7s var(--ease);
}

.prog-card:hover .photo img {
  transform: scale(1.06);
}

.prog-card .body {
  padding: 26px 26px 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.prog-card .duration {
  align-self: flex-start;
  font-family: 'Heebo', monospace;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-blue);
  background: #e4f1f7;
  padding: 5px 11px;
  border-radius: 999px;
  margin-bottom: 14px;
}

.prog-card h3 {
  font-family: 'Caprasimo', serif;
  color: var(--color-ink);
  margin-bottom: 10px;
  line-height: 1.1;
}

.prog-card p.desc {
  font-size: 14.5px;
  color: #4a4845;
  line-height: 1.65;
  margin-bottom: 18px;
}

.prog-card .options {
  font-size: 11.5px;
  color: var(--color-steel);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
}

.subopt-list {
  list-style: none;
  margin: 0 0 6px;
}

.subopt-list li {
  font-size: 13.5px;
  color: var(--color-ink);
  padding: 4px 0;
}

.subopt-list li::before {
  content: '+ ';
  color: var(--color-blue);
  font-weight: 700;
}

/* ── GALLERY ── */
.gallery-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 40px;
}

.gallery-strip .gimg {
  aspect-ratio: 3/4;
  border-radius: 14px;
  overflow: hidden;
  background: #f0ede8;
}

.gallery-strip .gimg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s var(--ease);
}

.gallery-strip .gimg:hover img {
  transform: scale(1.07);
}

/* ── PRICING ── */
.price-strip {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.price-card {
  border: 1px solid var(--color-line);
  border-radius: 16px;
  padding: 30px 26px;
  background: #ffffff;
  text-align: center;
  position: relative;
}

.price-card.pop {
  border-color: var(--color-blue);
  box-shadow: 0 16px 36px -12px rgba(2, 133, 188, 0.45);
}

.price-card .pop-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-blue);
  color: #2f2d30;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 999px;
}

.price-card h3 {
  font-family: 'Caprasimo', serif;
  line-height: 1.25;
  color: var(--color-ink);
  margin-bottom: 12px;
}

.price-card p {
  font-size: 13px;
  color: var(--color-steel);
  line-height: 1.6;
}

/* ── FINAL CTA ── */
.final-tagline {
  text-align: center;
  padding: 112px 24px;
  background: var(--color-chalk);
  border-top: 1px solid var(--color-line);
  border-bottom: 1px solid var(--color-line);
  position: relative;
  overflow: hidden;
}

.final-tagline::before {
  content: '';
  position: absolute;
  top: -120px;
  right: -120px;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(2, 133, 188, 0.10), transparent 70%);
  pointer-events: none;
}

.final-tagline-eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--color-steel);
  margin-bottom: 20px;
  position: relative;
}

.final-tagline-text {
  font-family: 'Caprasimo', serif;
  font-size: clamp(2rem, 5vw, 3.4rem);
  line-height: 1.1;
  color: var(--color-ink);
  margin-bottom: 14px;
  position: relative;
}

.final-tagline-text span {
  color: var(--color-blue);
}

.final-tagline-sub {
  justify-self: center;
  max-width: 560px;
  font-size: 13px;
  color: var(--color-steel);
  letter-spacing: 0.08em;
  font-weight: 500;
  margin-bottom: 32px;
  position: relative;
}

/* ── FINAL CTA MEDIA CAP ── */
.finalcta-media-cap {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-steel);
}

.finalcta-media-cap b {
  color: var(--color-blue);
  font-weight: 700;
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .page-hero {
    padding: 20px 20px 0;
  }
  .page-hero .hero-container {
    min-height: 60vh;
    border-radius: 20px;
  }
  .page-hero .wrap {
    padding: 50px 30px 70px;
  }
  .page-hero h1 {
    font-size: clamp(38px, 5vw, 44px);
  }
  .prog-grid {
    grid-template-columns: 1fr;
  }
  .gallery-strip {
    grid-template-columns: 1fr 1fr;
  }
  .price-strip {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .page-hero {
    padding: 12px 12px 0;
  }
  .page-hero .hero-container {
    min-height: 50vh;
    border-radius: 16px;
  }
  .page-hero .wrap {
    padding: 40px 20px 60px;
  }
  .page-hero h1 {
    font-size: 32px;
  }
  .page-hero .sub {
    font-size: 15px;
  }
  .format-strip .wrap {
    padding: 22px 20px;
    gap: 16px;
  }
  .section {
    padding: 64px 0;
  }
  .section-head {
    padding: 0 20px;
    margin-bottom: 36px;
  }
  .section-head h2 {
    font-size: 28px;
  }
  .prog-grid {
    padding: 0 20px;
  }
  .gallery-strip {
    padding: 0 20px;
    gap: 10px;
  }
  .price-strip {
    padding: 0 20px;
  }
  .final-tagline {
    padding: 56px 20px;
  }
  .btn,
  .cta-btn {
    padding: 8px 16px;
    font-size: 10px;
    gap: 6px;
  }
  .cta-btn {
    padding: 10px 18px;
  }
  .page-hero .btn-ghost {
    padding: 8px 16px;
    font-size: 10px;
  }
  .finalcta-media-cap {
    font-size: 9px;
    letter-spacing: 0.16em;
    padding: 0 16px;
  }
}

/* =====================================================
   NEW — Program Card CTA spacing (card now has a button,
   which it didn't before). Additive only.
===================================================== */
.prog-card .cta {
  margin-top: auto;
  padding-top: 4px;
}
.prog-card .cta .btn {
  margin-bottom: 0;
  width: 100%;
}

/* =====================================================
   NEW — "SELECT A STUDIO" POPUP + IFRAME MODAL
   Same component/class names as the Classes page (classesv1.css)
   and Programs Performance page, so the whole site shares one
   consistent popup system.
===================================================== */
.ssc-studio-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 998;
  background: rgba(47, 45, 48, 0.55);
}
.ssc-studio-overlay.is-open { display: block; }

.ssc-studio-popup {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 999;
  width: calc(100% - 48px);
  max-width: 480px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 26px 28px;
  background: #ffffff;
  border: 1px solid var(--color-line);
  border-radius: 18px;
  box-shadow: 0 30px 70px rgba(47, 45, 48, 0.30);
}
.ssc-studio-popup.is-open { display: block; }

.ssc-studio-popup__close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-chalk);
  border: 1px solid var(--color-line);
  color: var(--color-steel);
  font-size: 1rem;
  line-height: 1;
  cursor: pointer;
  transition: 0.25s var(--ease);
}
.ssc-studio-popup__close:hover {
  background: var(--color-ink);
  color: #ffffff;
  border-color: var(--color-ink);
}

.ssc-studio-popup__eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-blue);
  margin-bottom: 8px;
}

.ssc-studio-popup__title {
  font-family: 'Caprasimo', serif;
  font-weight: 400;
  font-size: 22px;
  color: var(--color-ink);
  margin-bottom: 4px;
}

.ssc-studio-popup__class {
  font-size: 13px;
  color: var(--color-steel);
  margin-bottom: 20px;
}

.ssc-studio-popup__options {
  display: flex;
  flex-direction: column;
}

.ssc-studio-popup__option {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 18px;
  border: 1px solid var(--color-line);
  border-radius: 12px;
  margin-bottom: 8px;
  text-align: left;
  transition: 0.25s var(--ease);
  background: #ffffff;
  cursor: pointer;
  text-decoration: none;
  color: var(--color-ink);
}
.ssc-studio-popup__option:last-child { margin-bottom: 0; }
.ssc-studio-popup__option:hover {
  border-color: var(--color-blue);
  background: var(--color-chalk);
}

.ssc-studio-popup__option-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-ink);
}

.ssc-studio-popup__option-go {
  font-size: 15px;
  color: var(--color-blue);
  transition: transform 0.25s var(--ease);
}
.ssc-studio-popup__option:hover .ssc-studio-popup__option-go { transform: translateX(4px); }

.ssc-studio-popup__empty {
  font-size: 13.5px;
  color: var(--color-steel);
  padding: 8px 2px;
}

body.ssc-modal-open { overflow: hidden; }

@media (max-width: 640px) {
  .ssc-studio-popup { width: calc(100% - 24px); padding: 22px 20px 26px; }
}

.ssc-iframe-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(47, 45, 48, 0.55);
}
.ssc-iframe-overlay.is-open { display: block; }

.ssc-iframe-modal {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1001;
  width: min(92vw, 720px);
  height: min(85vh, 780px);
  background: #ffffff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(47, 45, 48, 0.30);
}
.ssc-iframe-modal.is-open { display: block; }

.ssc-iframe-modal__frame {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.ssc-iframe-modal__close {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(47, 45, 48, 0.65);
  color: #ffffff;
  border: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  cursor: pointer;
}

@media (max-width: 640px) {
  .ssc-iframe-modal { width: 96vw; height: 90vh; }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
  .cursor-light {
    display: none !important;
  }
}

::selection {
  background: var(--color-blue);
  color: #ffffff;
}

::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: #f5f3ef;
}

::-webkit-scrollbar-thumb {
  background: var(--color-ember);
  border-radius: 10px;
  border: 2px solid #f5f3ef;
}

::-webkit-scrollbar-thumb:hover {
  background: #026a98;
}