:root {
  --brown-950: #2b120b;
  --brown-900: #3b180e;
  --brown-800: #4f2114;
  --brown-700: #682f1f;
  --brown-600: #88452f;
  --gold-600: #c49042;
  --gold-500: #d8aa5e;
  --gold-300: #f1d89b;
  --cream-50: #fffaf0;
  --cream-100: #f8efd9;
  --cream-200: #efe0bd;
  --ink: #1d160f;
  --muted: #6b5b4e;
  --line: rgba(91, 45, 30, .15);
  --white: #ffffff;
  --shadow-soft: 0 22px 70px rgba(43, 18, 11, .13);
  --shadow-card: 0 18px 45px rgba(43, 18, 11, .10);
  --radius-xl: 34px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --header-height: 82px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  min-width: 320px;
  font-family: Manrope, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 10% 0%, rgba(216, 170, 94, .22), transparent 34rem),
    linear-gradient(180deg, #fffaf0 0%, #fffdf8 42%, #fff8ea 100%);
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

img,
svg {
  max-width: 100%;
  height: auto;
  display: block;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
}

.container {
  width: min(1160px, calc(100% - 40px));
  margin-inline: auto;
}

.topbar {
  position: relative;
  z-index: 60;
  color: #fff4dc;
  background: linear-gradient(90deg, var(--brown-950), var(--brown-800));
  font-size: 13px;
  letter-spacing: .01em;
}

.topbar .container {
  min-height: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.topbar strong {
  color: var(--gold-300);
}

.topbar a {
  flex: 0 0 auto;
  padding: 7px 12px;
  color: var(--brown-950);
  background: var(--gold-300);
  border-radius: 999px;
  font-weight: 900;
  font-size: 12px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 250, 240, .84);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(91, 45, 30, .10);
  transition: box-shadow .25s ease, background .25s ease;
}

.site-header.is-scrolled {
  background: rgba(255, 250, 240, .94);
  box-shadow: 0 14px 34px rgba(50, 20, 12, .08);
}

.nav {
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  gap: 22px;
}

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

.brand-logo {
  width: 56px;
  height: 56px;
  object-fit: contain;
  filter: drop-shadow(0 6px 14px rgba(43, 18, 11, .16));
}

.brand-copy {
  display: grid;
  line-height: 1.08;
}

.brand-copy strong {
  font-family: Cinzel, Georgia, serif;
  font-size: 18px;
  letter-spacing: .01em;
  color: var(--brown-900);
}

.brand-copy span {
  margin-top: 3px;
  font-size: 12px;
  font-weight: 900;
  color: var(--gold-600);
  letter-spacing: .14em;
}

.menu-btn {
  display: none;
  margin-left: auto;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,.72);
  cursor: pointer;
  position: relative;
}

.menu-icon,
.menu-icon::before,
.menu-icon::after {
  content: "";
  position: absolute;
  left: 13px;
  right: 13px;
  height: 2px;
  border-radius: 99px;
  background: var(--brown-900);
  transition: transform .24s ease, top .24s ease, opacity .2s ease;
}

.menu-icon {
  top: 22px;
}

.menu-icon::before {
  top: -7px;
  left: 0;
  right: 0;
}

.menu-icon::after {
  top: 7px;
  left: 0;
  right: 0;
}

.menu-btn[aria-expanded="true"] .menu-icon {
  transform: rotate(45deg);
}

.menu-btn[aria-expanded="true"] .menu-icon::before {
  top: 0;
  opacity: 0;
}

.menu-btn[aria-expanded="true"] .menu-icon::after {
  top: 0;
  transform: rotate(-90deg);
}

.nav-menu {
  margin: 0 0 0 auto;
  padding: 0;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-menu a {
  display: inline-flex;
  padding: 11px 13px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 900;
  color: #54362a;
  transition: background .2s ease, color .2s ease, transform .2s ease;
}

.nav-menu a:hover,
.nav-menu a.is-active {
  color: var(--brown-950);
  background: rgba(216, 170, 94, .20);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 21px;
  border-radius: 999px;
  font-weight: 950;
  font-size: 14px;
  line-height: 1;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .22s ease, box-shadow .22s ease, background .22s ease;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: #fff8ea;
  background: linear-gradient(135deg, var(--brown-800), var(--brown-600));
  box-shadow: 0 13px 28px rgba(104, 47, 31, .20);
}

.btn-dark {
  color: #fff8ea;
  background: linear-gradient(135deg, #1b0c07, #4b2115);
}

.btn-light {
  color: var(--brown-900);
  background: rgba(255,255,255,.74);
  border-color: rgba(91,45,30,.14);
}

.btn-gold {
  color: var(--brown-950);
  background: linear-gradient(135deg, #ffe3a3, var(--gold-500));
  box-shadow: 0 13px 28px rgba(196, 144, 66, .22);
}

.hero {
  position: relative;
  padding: 88px 0 48px;
  isolation: isolate;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  border-radius: 999px;
  filter: blur(6px);
}

.hero::before {
  width: 580px;
  height: 580px;
  right: -180px;
  top: -190px;
  background: radial-gradient(circle, rgba(216, 170, 94, .26), transparent 68%);
}

.hero::after {
  width: 420px;
  height: 420px;
  left: -190px;
  bottom: -70px;
  background: radial-gradient(circle, rgba(104, 47, 31, .13), transparent 70%);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(350px, .8fr);
  gap: 56px;
  align-items: center;
}

.hero-copy {
  opacity: 0;
  animation: heroIn .8s cubic-bezier(.2, .8, .2, 1) .1s forwards;
}

.eyebrow,
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  padding: 8px 13px;
  color: var(--brown-800);
  background: rgba(216, 170, 94, .18);
  border: 1px solid rgba(216, 170, 94, .35);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 24px 0 16px;
  font-family: Cinzel, Georgia, serif;
  color: var(--brown-950);
  font-size: clamp(48px, 7vw, 86px);
  line-height: .98;
  letter-spacing: -.05em;
}

.hero-subtitle {
  margin: 0 0 14px;
  color: var(--gold-600);
  font-weight: 950;
  font-size: clamp(17px, 2.6vw, 25px);
}

.hero-lead {
  max-width: 670px;
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.85;
}

.hero-lead strong {
  color: var(--brown-900);
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 13px;
  margin: 30px 0 22px;
}

.hero-actions .btn {
  min-height: 54px;
  padding-inline: 28px;
  font-size: 15px;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.mini-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  background: rgba(255,255,255,.76);
  border: 1px solid rgba(91,45,30,.12);
  border-radius: 999px;
  color: #5c4438;
  font-weight: 900;
  font-size: 13px;
  box-shadow: 0 10px 26px rgba(43, 18, 11, .05);
}

.mini-badge span {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--gold-600);
  box-shadow: 0 0 0 4px rgba(216, 170, 94, .18);
}

.hero-panel {
  position: relative;
  opacity: 0;
  animation: heroIn .8s cubic-bezier(.2, .8, .2, 1) .25s forwards;
}

.panel-inner {
  position: relative;
  display: grid;
  gap: 18px;
}

.accreditation-card,
.schedule-card,
.quick-card,
.feature,
.program-card,
.step,
.info-box,
.price-card,
.faq-card,
.cta-card,
.photo-card,
.gallery-shell,
.mini-shot,
.contact-card {
  border: 1px solid rgba(91,45,30,.12);
  box-shadow: var(--shadow-card);
}

.accreditation-card {
  overflow: hidden;
  padding: 18px;
  background:
    linear-gradient(145deg, rgba(255,255,255,.88), rgba(255,248,233,.92));
  border-radius: var(--radius-xl);
}

.accreditation-card img {
  width: 100%;
  min-height: 240px;
  object-fit: contain;
  border-radius: 26px;
  background: #fff7e7;
}

.schedule-card {
  padding: 22px;
  border-radius: var(--radius-xl);
  background: linear-gradient(145deg, var(--brown-950), var(--brown-800));
  color: #fff8ea;
}

.schedule-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.schedule-head h2 {
  margin: 0;
  font-size: 22px;
  line-height: 1.1;
}

.tag {
  flex: 0 0 auto;
  padding: 6px 10px;
  color: var(--brown-950);
  background: var(--gold-300);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 950;
}

.dates {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 11px;
}

.dates li {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 13px;
  align-items: center;
  padding: 10px;
  border-radius: 20px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.10);
}

.date-num {
  width: 48px;
  height: 48px;
  display: inline-grid;
  place-items: center;
  border-radius: 16px;
  color: var(--brown-950);
  background: linear-gradient(135deg, #ffe4a9, var(--gold-500));
  font-size: 20px;
  font-weight: 950;
}

.dates strong,
.dates span {
  display: block;
}

.dates strong {
  color: #fff9eb;
  font-size: 14px;
}

.dates div span {
  margin-top: 3px;
  color: rgba(255,248,234,.76);
  font-size: 12px;
  line-height: 1.45;
}

.section-tight {
  padding: 24px 0 74px;
}

.quick-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
}

.quick-card {
  padding: 22px;
  border-radius: 24px;
  background: rgba(255,255,255,.72);
  backdrop-filter: blur(12px);
}

.quick-card .label {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.quick-card strong {
  display: block;
  color: var(--brown-900);
  font-size: clamp(20px, 2.3vw, 27px);
  line-height: 1.08;
}

.quick-card small {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  line-height: 1.6;
}

.section {
  padding: 88px 0;
}

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

.section-head h2 {
  max-width: 760px;
  margin: 14px 0 10px;
  color: var(--brown-950);
  font-family: Cinzel, Georgia, serif;
  font-size: clamp(30px, 5vw, 52px);
  line-height: 1.04;
  letter-spacing: -.035em;
}

.section-head p {
  max-width: 760px;
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.8;
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(300px, .86fr) minmax(0, 1.14fr);
  gap: 46px;
  align-items: center;
}

.photo-card {
  position: relative;
  overflow: hidden;
  padding: 18px;
  border-radius: var(--radius-xl);
  background: #fff;
}

.photo-card img {
  width: 100%;
  aspect-ratio: 4 / 4.6;
  object-fit: cover;
  border-radius: 26px;
}

.photo-caption {
  position: absolute;
  left: 34px;
  right: 34px;
  bottom: 34px;
  padding: 18px;
  border-radius: 22px;
  color: #fff8ea;
  background: rgba(43, 18, 11, .78);
  backdrop-filter: blur(12px);
}

.photo-caption strong,
.photo-caption span {
  display: block;
}

.photo-caption span {
  margin-top: 6px;
  color: rgba(255,248,234,.80);
  font-size: 13px;
  line-height: 1.55;
}

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

.feature,
.info-box {
  padding: 22px;
  border-radius: 24px;
  background: rgba(255,255,255,.78);
}

.feature-icon {
  width: 44px;
  height: 44px;
  display: inline-grid;
  place-items: center;
  margin-bottom: 14px;
  color: var(--brown-950);
  background: linear-gradient(135deg, #fff0bd, var(--gold-500));
  border-radius: 15px;
  font-size: 20px;
  font-weight: 950;
}

.feature h3,
.program-card h3,
.step h3,
.info-box h3,
.price-card h3,
.slide-content h3 {
  margin: 0 0 8px;
  color: var(--brown-950);
  line-height: 1.22;
}

.feature p,
.program-card p,
.step p,
.info-box p,
.price-card p,
.slide-content p,
.faq-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.72;
}

.gallery-section {
  position: relative;
  padding: 88px 0;
  color: #fff8ea;
  background:
    radial-gradient(circle at 10% 20%, rgba(216,170,94,.25), transparent 24rem),
    linear-gradient(145deg, var(--brown-950), var(--brown-800));
  overflow: hidden;
}

.gallery-section .section-head h2,
.gallery-section .section-head p {
  color: inherit;
}

.gallery-section .section-head p {
  color: rgba(255,248,234,.78);
}

.gallery-section .kicker {
  color: #fff0bd;
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.16);
}

.gallery-shell {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.14);
  box-shadow: 0 22px 80px rgba(0,0,0,.22);
}

.gallery-viewport {
  overflow: hidden;
}

.gallery-track {
  display: flex;
  transition: transform .65s cubic-bezier(.22, 1, .36, 1);
  will-change: transform;
}

.slide {
  min-width: 100%;
  display: grid;
  grid-template-columns: 1.14fr .86fr;
  gap: 0;
  align-items: stretch;
}

.slide-media {
  min-height: 460px;
  background-image:
    linear-gradient(0deg, rgba(43,18,11,.25), rgba(43,18,11,.05)),
    url('../images/about-right-dec.png');
  background-size: cover;
  background-position: center;
}

.slide:nth-child(2) .slide-media {
  background-image:
    linear-gradient(0deg, rgba(43,18,11,.25), rgba(43,18,11,.05)),
    url('../images/slider-dec.png');
}

.slide:nth-child(3) .slide-media {
  background-image:
    linear-gradient(0deg, rgba(43,18,11,.25), rgba(43,18,11,.05)),
    url('../images/about-right-dec.png');
  background-position: center bottom;
}

.slide-content {
  padding: clamp(28px, 5vw, 54px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: linear-gradient(145deg, rgba(255,255,255,.10), rgba(255,255,255,.04));
}

.slide-label {
  width: fit-content;
  margin-bottom: 15px;
  padding: 7px 11px;
  color: var(--brown-950);
  background: var(--gold-300);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 950;
}

.slide-content h3 {
  color: #fff8ea;
  font-size: clamp(25px, 3vw, 38px);
}

.slide-content p {
  color: rgba(255,248,234,.78);
}

.gallery-controls {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px;
}

.gallery-arrow {
  pointer-events: auto;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255,255,255,.24);
  border-radius: 999px;
  color: var(--brown-950);
  background: rgba(255,239,201,.94);
  font-size: 32px;
  line-height: 1;
  cursor: pointer;
  transition: transform .2s ease, background .2s ease;
}

.gallery-arrow:hover {
  transform: scale(1.05);
  background: #fff7e7;
}

.gallery-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 16px 0 20px;
}

.gallery-dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255,255,255,.30);
  cursor: pointer;
  transition: width .25s ease, background .25s ease;
}

.gallery-dot.is-active {
  width: 30px;
  background: var(--gold-300);
}

.mini-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  margin-top: 16px;
}

.mini-shot {
  padding: 20px;
  border-radius: 24px;
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.12);
  color: rgba(255,248,234,.78);
  line-height: 1.65;
}

.mini-shot strong {
  display: block;
  margin-bottom: 6px;
  color: #fff8ea;
}

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

.program-card,
.price-card {
  position: relative;
  overflow: hidden;
  padding: 30px;
  border-radius: var(--radius-xl);
  background: rgba(255,255,255,.78);
}

.program-card::before,
.price-card::before {
  content: "";
  position: absolute;
  right: -70px;
  top: -70px;
  width: 160px;
  height: 160px;
  border-radius: 999px;
  background: rgba(216,170,94,.16);
}

.program-card h3,
.price-card h3 {
  font-size: 24px;
}

.status-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.status-list span {
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(216,170,94,.18);
  color: var(--brown-800);
  font-size: 12px;
  font-weight: 950;
}

.steps {
  counter-reset: step;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}

.step {
  counter-increment: step;
  position: relative;
  padding: 72px 20px 24px;
  border-radius: 26px;
  background: rgba(255,255,255,.78);
}

.step::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: 20px;
  top: 20px;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: var(--brown-950);
  background: linear-gradient(135deg, #fff0bd, var(--gold-500));
  font-size: 13px;
  font-weight: 950;
}

.step h3 {
  font-size: 17px;
}

.step p {
  font-size: 14px;
}

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

.info-box h3 {
  font-size: 21px;
}

.check-list {
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.check-list li {
  position: relative;
  padding-left: 27px;
  color: var(--muted);
  line-height: 1.65;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: .05em;
  width: 18px;
  height: 18px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: var(--brown-950);
  background: var(--gold-300);
  font-size: 11px;
  font-weight: 950;
}

.price-card.featured {
  color: #fff8ea;
  background: linear-gradient(145deg, var(--brown-950), var(--brown-700));
}

.price-card.featured h3,
.price-card.featured .price {
  color: #fff8ea;
}

.price-card.featured p,
.price-card.featured li {
  color: rgba(255,248,234,.78);
}

.price {
  display: block;
  margin: 10px 0 14px;
  color: var(--brown-900);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 950;
  line-height: 1;
}

.spp-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 18px;
}

.spp-row span {
  padding: 17px;
  text-align: center;
  color: var(--brown-900);
  background: rgba(216,170,94,.18);
  border: 1px solid rgba(216,170,94,.32);
  border-radius: 18px;
  font-weight: 950;
}

.note {
  margin-top: 16px;
  padding: 18px 20px;
  color: #5c4438;
  background: rgba(255,255,255,.70);
  border: 1px solid rgba(91,45,30,.12);
  border-radius: 20px;
  line-height: 1.6;
}

.faq-grid {
  width: min(860px, 100%);
  margin-inline: auto;
  display: grid;
  gap: 12px;
}

.faq-card {
  overflow: hidden;
  border-radius: 22px;
  background: rgba(255,255,255,.80);
}

.faq-card summary {
  cursor: pointer;
  padding: 20px 24px;
  list-style: none;
  color: var(--brown-950);
  font-weight: 950;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

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

.faq-card summary::after {
  content: "+";
  width: 30px;
  height: 30px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: var(--brown-950);
  background: var(--cream-100);
  font-size: 20px;
  transition: transform .2s ease;
}

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

.faq-card p {
  padding: 0 24px 22px;
}

.cta {
  padding: 40px 0 88px;
}

.cta-card {
  padding: clamp(28px, 5vw, 54px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 26px;
  align-items: center;
  border-radius: var(--radius-xl);
  color: #fff8ea;
  background:
    radial-gradient(circle at 12% 18%, rgba(216,170,94,.25), transparent 22rem),
    linear-gradient(135deg, var(--brown-950), var(--brown-700));
}

.cta h2 {
  margin: 0 0 10px;
  font-family: Cinzel, Georgia, serif;
  font-size: clamp(30px, 5vw, 52px);
  line-height: 1.05;
  letter-spacing: -.035em;
}

.cta p {
  max-width: 700px;
  margin: 0;
  color: rgba(255,248,234,.78);
  line-height: 1.8;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 22px;
}

.contact-card {
  padding: 16px 18px;
  border-radius: 20px;
  border-color: rgba(255,255,255,.14);
  background: rgba(255,255,255,.08);
}

.contact-card strong,
.contact-card span {
  display: block;
}

.contact-card span {
  margin-top: 4px;
  color: var(--gold-300);
  font-weight: 950;
}

footer {
  color: rgba(255,248,234,.72);
  background: #1c0b06;
  padding: 26px 0 86px;
}

.footer-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.footer-grid > div:first-child {
  display: flex;
  align-items: center;
  gap: 13px;
}

.footer-logo {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.footer-links {
  display: flex;
  gap: 16px;
  font-weight: 900;
  color: var(--gold-300);
}

.floating-cta {
  position: fixed;
  z-index: 45;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%) translateY(120%);
  opacity: 0;
  box-shadow: 0 18px 42px rgba(43,18,11,.28);
  transition: opacity .28s ease, transform .28s ease;
}

.floating-cta.is-visible {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .75s ease, transform .75s cubic-bezier(.22,1,.36,1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

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

@media (max-width: 1120px) {
  .nav-actions {
    display: none;
  }

  .nav-menu {
    margin-left: auto;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .hero-panel {
    max-width: 650px;
  }

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

@media (max-width: 900px) {
  :root {
    --header-height: 72px;
  }

  .container {
    width: min(100% - 32px, 1160px);
  }

  .topbar .container {
    justify-content: center;
    text-align: center;
    flex-wrap: wrap;
    padding-block: 8px;
  }

  .topbar a {
    display: none;
  }

  .brand-logo {
    width: 48px;
    height: 48px;
  }

  .brand-copy strong {
    font-size: 15px;
  }

  .menu-btn {
    display: inline-flex;
  }

  .nav-menu {
    position: fixed;
    inset: calc(var(--header-height) + 40px) 16px auto;
    margin: 0;
    padding: 14px;
    display: grid;
    gap: 6px;
    border: 1px solid rgba(91,45,30,.14);
    border-radius: 24px;
    background: rgba(255,250,240,.96);
    box-shadow: 0 24px 60px rgba(43,18,11,.16);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px) scale(.98);
    transition: opacity .22s ease, visibility .22s ease, transform .22s ease;
  }

  .nav-menu.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
  }

  .nav-menu a {
    display: flex;
    justify-content: center;
    padding: 14px;
    border-radius: 16px;
    background: rgba(216,170,94,.10);
  }

  .hero {
    padding-top: 58px;
  }

  .hero h1 {
    font-size: clamp(42px, 14vw, 72px);
    letter-spacing: -.045em;
  }

  .hero-lead {
    font-size: 16px;
  }

  .quick-grid,
  .about-grid,
  .feature-grid,
  .program-grid,
  .info-grid,
  .pricing-grid,
  .mini-gallery,
  .contact-grid,
  .cta-card {
    grid-template-columns: 1fr;
  }

  .section,
  .gallery-section {
    padding: 66px 0;
  }

  .section-tight {
    padding-bottom: 50px;
  }

  .section-head {
    display: grid;
    gap: 18px;
    align-items: start;
  }

  .photo-card img {
    aspect-ratio: 16 / 11;
  }

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

  .slide-media {
    min-height: 330px;
  }

  .gallery-controls {
    align-items: flex-start;
    padding-top: 150px;
  }

  .cta-card .hero-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 560px) {
  .container {
    width: min(100% - 24px, 1160px);
  }

  .topbar {
    font-size: 12px;
  }

  .brand-copy span {
    font-size: 10px;
  }

  .hero {
    padding: 44px 0 34px;
  }

  .eyebrow,
  .kicker {
    font-size: 10px;
    letter-spacing: .08em;
  }

  .hero h1 {
    margin-top: 20px;
    font-size: clamp(40px, 15vw, 58px);
  }

  .hero-subtitle {
    font-size: 16px;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .hero-actions .btn,
  .btn {
    min-height: 48px;
    padding-inline: 16px;
  }

  .hero-badges {
    display: grid;
    grid-template-columns: 1fr;
  }

  .accreditation-card,
  .schedule-card,
  .quick-card,
  .program-card,
  .price-card,
  .cta-card {
    border-radius: 24px;
  }

  .accreditation-card img {
    min-height: 190px;
  }

  .dates li {
    grid-template-columns: 42px 1fr;
  }

  .date-num {
    width: 42px;
    height: 42px;
    font-size: 18px;
  }

  .section-head h2,
  .cta h2 {
    font-size: clamp(28px, 11vw, 42px);
  }

  .feature,
  .info-box,
  .quick-card,
  .program-card,
  .price-card {
    padding: 20px;
  }

  .photo-caption {
    position: static;
    margin-top: 14px;
    background: var(--brown-900);
  }

  .slide-media {
    min-height: 230px;
  }

  .slide-content {
    padding: 24px;
  }

  .gallery-controls {
    padding: 12px;
    padding-top: 106px;
  }

  .gallery-arrow {
    width: 40px;
    height: 40px;
    font-size: 28px;
  }

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

  .spp-row {
    grid-template-columns: 1fr;
  }

  .footer-grid,
  .footer-grid > div:first-child {
    display: grid;
    justify-items: center;
    text-align: center;
  }

  .floating-cta {
    width: calc(100% - 24px);
  }
}

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

  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* =====================================================
   MOBILE REFINEMENT
   - Header selalu tampil saat scroll di HP/tablet
   - Konten paragraf rata kanan-kiri di mobile
===================================================== */
@media (max-width: 900px) {
  .topbar {
    display: none;
  }

  .site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 999;
    background: rgba(255, 250, 240, .96);
    box-shadow: 0 12px 30px rgba(43, 18, 11, .08);
  }

  main {
    padding-top: var(--header-height);
  }

  section[id] {
    scroll-margin-top: calc(var(--header-height) + 18px);
  }

  .nav {
    min-height: var(--header-height);
  }

  .nav-menu {
    inset: calc(var(--header-height) + 12px) 16px auto;
    max-height: calc(100dvh - var(--header-height) - 28px);
    overflow-y: auto;
  }

  .hero {
    padding-top: 34px;
  }
}

@media (max-width: 560px) {
  .container {
    width: min(100% - 28px, 1160px);
  }

  .site-header {
    border-bottom-color: rgba(91, 45, 30, .16);
  }

  .nav {
    gap: 12px;
  }

  .brand {
    min-width: 0;
    gap: 10px;
  }

  .brand-logo {
    width: 44px;
    height: 44px;
    flex: 0 0 auto;
  }

  .brand-copy {
    min-width: 0;
  }

  .brand-copy strong {
    font-size: 14px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .menu-btn {
    width: 44px;
    height: 44px;
    flex: 0 0 auto;
  }

  .hero-copy,
  .section-head,
  .feature,
  .program-card,
  .step,
  .info-box,
  .price-card,
  .quick-card,
  .faq-card,
  .cta-card,
  .slide-content,
  .mini-shot,
  .note,
  .photo-caption {
    text-align: left;
  }

  .hero-lead,
  .section-head p,
  .feature p,
  .program-card p,
  .step p,
  .info-box p,
  .price-card p,
  .slide-content p,
  .faq-card p,
  .cta p,
  .quick-card small,
  .check-list li,
  .note,
  .mini-shot,
  .photo-caption span {
    text-align: justify;
    text-align-last: left;
    text-justify: inter-word;
    hyphens: auto;
    overflow-wrap: anywhere;
  }

  .hero-actions .btn {
    width: 100%;
  }
}

/* =====================================================
   FINAL RESPONSIVE HEADER FIX
   - Header fixed di desktop dan mobile
   - Topbar ikut fixed di desktop agar tidak tertutup header
   - Konten mobile rata kanan-kiri dan margin kanan-kiri seimbang
   - Logo memakai file terbaru yang lebih lebar
===================================================== */
:root {
  --topbar-height: 40px;
}

.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1001;
}

.site-header {
  position: fixed;
  top: var(--topbar-height);
  left: 0;
  right: 0;
  z-index: 1000;
}

main {
  padding-top: calc(var(--topbar-height) + var(--header-height));
}

section[id] {
  scroll-margin-top: calc(var(--topbar-height) + var(--header-height) + 20px);
}

.hero {
  padding-top: 70px;
}

.brand {
  flex: 0 1 auto;
  min-width: 0;
}

.brand-logo {
  width: min(315px, 36vw);
  height: auto;
  max-height: 68px;
  object-fit: contain;
  filter: drop-shadow(0 8px 14px rgba(43, 18, 11, .12));
}

/* Teks ini tetap ada untuk aksesibilitas, tetapi tidak ditampilkan karena logo terbaru sudah berisi teks pesantren. */
.brand-copy {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.nav-menu {
  margin-left: auto;
}

.footer-logo {
  width: min(280px, 70vw);
  height: auto;
  max-height: 64px;
  object-fit: contain;
}

@media (max-width: 1120px) {
  .brand-logo {
    width: min(270px, 42vw);
    max-height: 62px;
  }
}

@media (max-width: 900px) {
  :root {
    --topbar-height: 0px;
  }

  .topbar {
    display: none;
    position: static;
  }

  .site-header {
    top: 0;
  }

  main {
    padding-top: var(--header-height);
  }

  section[id] {
    scroll-margin-top: calc(var(--header-height) + 18px);
  }

  .container {
    width: min(100% - 34px, 1160px);
  }

  .brand-logo {
    width: min(250px, calc(100vw - 106px));
    max-height: 54px;
  }

  .nav-menu {
    inset: calc(var(--header-height) + 12px) 16px auto;
    max-height: calc(100dvh - var(--header-height) - 28px);
    overflow-y: auto;
  }

  .hero {
    padding-top: 42px;
  }

  .hero-copy,
  .section-head,
  .feature,
  .program-card,
  .step,
  .info-box,
  .price-card,
  .quick-card,
  .faq-card,
  .cta-card,
  .slide-content,
  .mini-shot,
  .note,
  .photo-caption {
    text-align: left;
  }

  .hero-lead,
  .section-head p,
  .feature p,
  .program-card p,
  .step p,
  .info-box p,
  .price-card p,
  .slide-content p,
  .faq-card p,
  .cta p,
  .quick-card small,
  .check-list li,
  .note,
  .mini-shot,
  .photo-caption span {
    text-align: justify;
    text-align-last: left;
    text-justify: inter-word;
    hyphens: auto;
    overflow-wrap: anywhere;
  }
}

@media (max-width: 560px) {
  .container {
    width: min(100% - 28px, 1160px);
  }

  .brand-logo {
    width: min(230px, calc(100vw - 96px));
    max-height: 50px;
  }

  .nav {
    gap: 10px;
  }
}

@media (max-width: 390px) {
  .brand-logo {
    width: min(205px, calc(100vw - 94px));
  }
}

/* =====================================================
   SCHEDULE CARD CENTERING FIX
   - Jadwal Penting dibuat benar-benar center di desktop, tablet, dan mobile
   - Lebar card dibatasi agar tidak tampak terlalu melebar
===================================================== */
.hero-panel {
  width: 100%;
  justify-self: center;
}

.panel-inner {
  width: min(100%, 760px);
  margin-left: auto;
  margin-right: auto;
}

.schedule-card {
  width: min(100%, 730px);
  margin-left: auto;
  margin-right: auto;
}

.schedule-head {
  align-items: center;
}

.dates li {
  width: 100%;
}

@media (max-width: 1120px) {
  .hero-panel {
    margin-left: auto;
    margin-right: auto;
    max-width: 760px;
  }
}

@media (max-width: 900px) {
  .panel-inner,
  .schedule-card {
    width: 100%;
  }
}

@media (max-width: 560px) {
  .schedule-card {
    padding: 20px 16px;
    border-radius: 26px;
  }

  .schedule-head {
    justify-content: center;
    text-align: center;
    flex-wrap: wrap;
  }

  .dates li {
    grid-template-columns: 44px 1fr;
    gap: 12px;
    padding: 10px;
  }

  .dates strong,
  .dates div span {
    text-align: left;
    text-align-last: left;
  }
}

/* =====================================================
   FORCE FIXED HEADER - MOBILE REAL DEVICE FIX
   Simpan blok ini paling bawah supaya mengalahkan style lama/cache.
===================================================== */
.site-header {
  position: fixed !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  z-index: 99999 !important;
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
}

@media (min-width: 901px) {
  .site-header {
    top: var(--topbar-height, 40px) !important;
  }

  .topbar {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 100000 !important;
  }

  body > main {
    padding-top: calc(var(--topbar-height, 40px) + var(--header-height, 82px)) !important;
  }
}

@media (max-width: 900px) {
  .topbar {
    display: none !important;
  }

  .site-header {
    top: 0 !important;
    bottom: auto !important;
    background: rgba(255, 250, 240, .98) !important;
    box-shadow: 0 12px 30px rgba(43, 18, 11, .10) !important;
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
  }

  body > main {
    padding-top: var(--header-height, 72px) !important;
  }

  .nav-menu {
    position: fixed !important;
    top: calc(var(--header-height, 72px) + 12px) !important;
  }
}

/* =====================================================
   FINAL CENTER FIX - JADWAL PENTING
   Memastikan blok Jadwal Penting berada di tengah layar,
   terutama setelah header dibuat fixed.
===================================================== */
.hero-grid {
  justify-items: center;
}

.hero-panel,
.panel-inner,
.schedule-card {
  margin-left: auto !important;
  margin-right: auto !important;
}

.hero-panel {
  display: flex !important;
  justify-content: center !important;
  width: 100% !important;
  justify-self: center !important;
}

.panel-inner {
  width: min(100%, 760px) !important;
  max-width: 760px !important;
}

.schedule-card {
  width: min(100%, 730px) !important;
  max-width: 730px !important;
}

@media (max-width: 1120px) {
  .hero-grid {
    grid-template-columns: 1fr !important;
  }

  .hero-panel {
    max-width: 760px !important;
  }
}

@media (max-width: 900px) {
  .hero-grid {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
  }

  .hero-copy,
  .hero-panel {
    width: 100% !important;
  }

  .hero-panel {
    max-width: 760px !important;
  }

  .panel-inner {
    width: 100% !important;
    max-width: 760px !important;
  }

  .schedule-card {
    width: 100% !important;
    max-width: 730px !important;
  }
}

@media (max-width: 560px) {
  .schedule-card {
    width: 100% !important;
    max-width: 100% !important;
  }
}

/* =====================================================
   FINAL MOBILE HORIZONTAL LOCK
   Menghilangkan geser kanan-kiri di HP.
   Penyebab utama: slide galeri yang berada di luar viewport.
===================================================== */
html,
body {
  width: 100% !important;
  max-width: 100% !important;
  overflow-x: hidden !important;
  overscroll-behavior-x: none;
}

body {
  position: relative;
  touch-action: pan-y;
}

body > *,
main,
section,
.container,
.site-header,
.topbar,
footer {
  max-width: 100% !important;
}

.site-header,
.topbar {
  transform: translate3d(0, 0, 0);
  -webkit-transform: translate3d(0, 0, 0);
}

.hero,
.gallery-section,
.gallery-shell,
.gallery-viewport,
.photo-card,
.accreditation-card,
.cta,
footer {
  overflow-x: clip;
}

@supports not (overflow: clip) {
  .hero,
  .gallery-section,
  .gallery-shell,
  .gallery-viewport,
  .photo-card,
  .accreditation-card,
  .cta,
  footer {
    overflow-x: hidden;
  }
}

@media (max-width: 900px) {
  html,
  body {
    width: 100vw !important;
    max-width: 100vw !important;
  }

  .site-header {
    width: 100vw !important;
    max-width: 100vw !important;
    left: 0 !important;
    right: auto !important;
  }

  .container {
    width: calc(100vw - 28px) !important;
    max-width: calc(100vw - 28px) !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .nav,
  .hero-grid,
  .about-grid,
  .quick-grid,
  .feature-grid,
  .program-grid,
  .info-grid,
  .pricing-grid,
  .cta-card,
  .footer-grid {
    min-width: 0 !important;
    max-width: 100% !important;
  }

  .gallery-shell,
  .gallery-viewport,
  .gallery-track,
  .slide {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    overflow-x: hidden !important;
  }

  .gallery-track {
    display: block !important;
    transform: none !important;
    transition: none !important;
  }

  .slide {
    display: grid !important;
  }

  .slide[aria-hidden="true"] {
    display: none !important;
  }

  .gallery-controls,
  .gallery-dots {
    max-width: 100% !important;
  }

  .floating-cta {
    left: 14px !important;
    right: 14px !important;
    width: auto !important;
    max-width: calc(100vw - 28px) !important;
  }
}

@media (max-width: 380px) {
  .container {
    width: calc(100vw - 22px) !important;
    max-width: calc(100vw - 22px) !important;
  }
}

/* Floating CTA mobile transform fix: tidak boleh keluar ke kiri */
@media (max-width: 900px) {
  .floating-cta {
    transform: translateY(120%) !important;
  }

  .floating-cta.is-visible {
    transform: translateY(0) !important;
  }
}

/* =====================================================
   MULTI PAGE STRUCTURE
   Halaman terpisah untuk Info, Profil, Galeri, Jenjang, Alur, Biaya, dan FAQ
===================================================== */
.page-hero {
  position: relative;
  padding: 84px 0 48px;
  overflow: hidden;
  isolation: isolate;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: auto -110px -220px auto;
  width: 520px;
  height: 520px;
  z-index: -1;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(216, 170, 94, .26), transparent 68%);
}

.page-hero-inner {
  max-width: 920px;
}

.page-hero h1 {
  margin: 22px 0 14px;
  max-width: 900px;
  color: var(--brown-950);
  font-family: Cinzel, Georgia, serif;
  font-size: clamp(42px, 7vw, 76px);
  line-height: .98;
  letter-spacing: -.05em;
}

.page-hero p {
  max-width: 760px;
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.85;
}

.page-section {
  padding-top: 64px;
  padding-bottom: 64px;
}

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

.page-link-card {
  display: block;
  color: inherit;
}

.page-link-card:hover {
  transform: translateY(-4px);
}

.split-grid,
.accreditation-page {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  gap: 22px;
  align-items: stretch;
}

.standalone-schedule {
  height: 100%;
}

.page-soft-card {
  background: rgba(255,255,255,.78);
  border-radius: var(--radius-xl);
  padding: 28px;
}

.page-gallery-section {
  margin-top: 0;
}

.nav-menu a[aria-current="page"] {
  color: var(--brown-950);
  background: rgba(216, 170, 94, .26);
}

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

@media (max-width: 900px) {
  .page-hero {
    padding: 54px 0 34px;
  }

  .page-hero h1 {
    font-size: clamp(38px, 12vw, 62px);
  }

  .page-hero p {
    font-size: 16px;
    text-align: justify;
    text-align-last: left;
  }

  .page-section {
    padding-top: 48px;
    padding-bottom: 48px;
  }

  .split-grid,
  .accreditation-page {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .page-link-grid {
    grid-template-columns: 1fr;
  }

  .page-hero {
    padding: 44px 0 28px;
  }
}

/* =====================================================
   PAGE MENU CARD COMPACT FIX
   Icon dan judul dibuat sejajar agar card tidak tampak kosong.
===================================================== */
.page-link-grid {
  align-items: stretch;
}

.page-link-card {
  display: grid !important;
  grid-template-columns: 54px minmax(0, 1fr);
  grid-template-rows: auto 1fr;
  align-items: center;
  gap: 14px 16px;
  min-height: 0;
  padding: 24px 26px !important;
}

.page-link-card .feature-icon {
  grid-column: 1;
  grid-row: 1;
  width: 54px;
  height: 54px;
  margin: 0 !important;
  border-radius: 17px;
  font-size: 20px;
}

.page-link-card h3 {
  grid-column: 2;
  grid-row: 1;
  margin: 0 !important;
  align-self: center;
  font-size: 24px;
  line-height: 1.15;
}

.page-link-card p {
  grid-column: 1 / -1;
  grid-row: 2;
  margin: 0 !important;
  align-self: start;
}

@media (max-width: 900px) {
  .page-link-card {
    padding: 22px !important;
  }

  .page-link-card h3 {
    font-size: 22px;
  }
}

@media (max-width: 560px) {
  .page-link-card {
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 12px 14px;
    padding: 20px !important;
  }

  .page-link-card .feature-icon {
    width: 48px;
    height: 48px;
    border-radius: 15px;
  }
}

/* =====================================================
   JADWAL PENTING ONLY - CENTER CONTENT FIX
   Hanya mengubah bagian card Jadwal Penting agar isi card
   terlihat benar-benar berada di tengah.
===================================================== */
.standalone-schedule {
  margin-left: auto !important;
  margin-right: auto !important;
}

.standalone-schedule .schedule-head {
  justify-content: center !important;
  gap: clamp(18px, 8vw, 220px) !important;
}

.standalone-schedule .dates {
  width: min(100%, 660px) !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

.standalone-schedule .dates li {
  grid-template-columns: 56px minmax(220px, 420px) !important;
  justify-content: center !important;
}

@media (max-width: 560px) {
  .standalone-schedule .schedule-head {
    justify-content: space-between !important;
    gap: 12px !important;
    text-align: left !important;
  }

  .standalone-schedule .dates {
    width: 100% !important;
  }

  .standalone-schedule .dates li {
    grid-template-columns: 44px minmax(0, 1fr) !important;
    justify-content: start !important;
  }
}


/* =====================================================
   JALUR PSB 2027/2028
   Section beranda dan halaman jalur khusus.
===================================================== */
.jalur-home {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 92% 10%, rgba(216,170,94,.19), transparent 25rem),
    linear-gradient(180deg, rgba(255,255,255,.34), rgba(255,248,233,.68));
  border-top: 1px solid rgba(91,45,30,.08);
  border-bottom: 1px solid rgba(91,45,30,.08);
}

.jalur-home .section-head > .btn {
  flex: 0 0 auto;
}

.jalur-preview-grid,
.route-choice-grid {
  align-items: stretch;
}

.jalur-preview-card,
.route-detail-card {
  display: flex;
  flex-direction: column;
}

.jalur-preview-card.featured-route {
  color: #fff8ea;
  background:
    radial-gradient(circle at 90% 8%, rgba(255,227,163,.20), transparent 14rem),
    linear-gradient(145deg, var(--brown-950), var(--brown-700));
}

.jalur-preview-card.featured-route h3,
.jalur-preview-card.featured-route p {
  color: inherit;
}

.jalur-preview-card.featured-route p {
  color: rgba(255,248,234,.78);
}

.jalur-preview-card.featured-route .status-list span {
  color: #fff0bd;
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.12);
}

.route-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px;
}

.route-icon {
  width: 48px;
  height: 48px;
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 16px;
  color: var(--brown-950);
  background: linear-gradient(135deg, #fff0bd, var(--gold-500));
  box-shadow: 0 10px 24px rgba(196,144,66,.18);
  font-family: Cinzel, Georgia, serif;
  font-size: 20px;
  font-weight: 800;
}

.route-badge {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 6px 11px;
  border-radius: 999px;
  color: var(--brown-800);
  background: rgba(216,170,94,.18);
  border: 1px solid rgba(216,170,94,.30);
  font-size: 11px;
  font-weight: 950;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.featured-route .route-badge,
.route-detail-card.featured .route-badge {
  color: #fff0bd;
  background: rgba(255,255,255,.09);
  border-color: rgba(255,255,255,.15);
}

.route-link {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  margin-top: auto;
  padding-top: 24px;
  color: var(--brown-800);
  border-top: 1px solid rgba(91,45,30,.10);
  font-weight: 950;
}

.featured-route .route-link {
  color: var(--gold-300);
  border-top-color: rgba(255,255,255,.12);
}

.route-link span {
  font-size: 20px;
  transition: transform .2s ease;
}

.route-link:hover span {
  transform: translateX(4px);
}

.route-note {
  margin-top: 20px;
}

.route-page-hero {
  padding-bottom: 56px;
  background:
    radial-gradient(circle at 90% 18%, rgba(216,170,94,.22), transparent 25rem),
    radial-gradient(circle at 8% 86%, rgba(104,47,31,.10), transparent 20rem);
}

.route-page-hero .page-hero-inner {
  max-width: 980px;
}

.route-hero-actions {
  margin-top: 28px;
}

.route-choice-section {
  padding-top: 76px;
}

.route-detail-card {
  scroll-margin-top: calc(var(--topbar-height) + var(--header-height) + 28px);
}

.route-detail-card h3 {
  margin-bottom: 8px;
  font-size: clamp(28px, 4vw, 38px);
}

.route-subtitle {
  display: block;
  margin-bottom: 16px;
  color: var(--brown-800);
  font-weight: 900;
  line-height: 1.55;
}

.route-detail-card.featured .route-subtitle {
  color: var(--gold-300);
}

.route-detail-card .check-list {
  margin: 22px 0 24px;
}

.route-detail-card.featured .check-list li::before {
  color: var(--brown-950);
  background: var(--gold-300);
}

.route-warning {
  margin-top: auto;
  padding: 16px 18px;
  border-radius: 18px;
  color: #5c4438;
  background: rgba(216,170,94,.15);
  border: 1px solid rgba(216,170,94,.26);
  line-height: 1.65;
}

.route-detail-card.featured .route-warning {
  color: rgba(255,248,234,.86);
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.13);
}

.route-button {
  width: 100%;
  margin-top: 18px;
}

.route-rules-section {
  background: rgba(255,255,255,.36);
  border-top: 1px solid rgba(91,45,30,.08);
  border-bottom: 1px solid rgba(91,45,30,.08);
}

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

.route-rule-grid .info-box {
  height: 100%;
}

.route-process-section {
  padding-bottom: 72px;
}

.route-steps {
  margin-top: 10px;
}

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

@media (max-width: 900px) {
  .jalur-home .section-head > .btn {
    width: fit-content;
  }

  .route-page-hero {
    padding-top: 48px;
  }

  .route-choice-section {
    padding-top: 58px;
  }

  .route-rule-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .jalur-home .section-head > .btn,
  .route-hero-actions .btn {
    width: 100%;
  }

  .route-hero-actions {
    grid-template-columns: 1fr;
  }

  .route-card-head {
    align-items: flex-start;
  }

  .route-badge {
    text-align: center;
  }

  .route-warning,
  .route-subtitle {
    text-align: justify;
    text-align-last: left;
  }
}
