/* ===================================================
   KBH Perfect Destination - Static Site Stylesheet
   =================================================== */
   
#kbh-app{
width:100%;
max-width:100%;
overflow:hidden;
}

.ast-container{
max-width:100% !important;
padding:0 !important;
}

body.page-template-page-home{
margin:0;
background: #0f1319 !important;
}

.page-template-page-home .site{
background:#0f1319 !important;
}

.page-template-page-home .site-main{
padding-top:0 !important;
margin-top:0 !important;
}

.page-template-page-home .entry-content > p{
display:none;
}

p {
    margin-bottom: 0;
}

.page-template-page-home img{
vertical-align:middle;
}

.page-template-page-home .ast-container{
padding-left:0 !important;
padding-right:0 !important;
}



/* --- Reset & Base --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg: #0f1319;
  --fg: #e3e8ef;
  --card: #161a22;
  --card-fg: #e3e8ef;
  --primary: #2268c2;
  --primary-fg: #ffffff;
  --secondary: #232730;
  --secondary-fg: #c8d0dc;
  --muted: #1e222a;
  --muted-fg: #7d8694;
  --accent: #e6a00e;
  --accent-fg: #0f1319;
  --destructive: #db2323;
  --border: #282c35;
  --radius: 0.5rem;
  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
  --font-serif: 'Playfair Display', Georgia, serif;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg);
  color: var(--fg);
  line-height: 1.5;
  text-rendering:optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul, ol {
  list-style: none;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
}

/* --- Utility --- */
.container {
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.container--narrow {
  max-width: 56rem;
}

.container--mid {
  max-width: 72rem;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

.text-balance {
  text-wrap: balance;
}

/* --- Typography --- */
.font-serif {
  font-family: var(--font-serif);
}

.section-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #203F8F;
  margin-bottom: 0.75rem;
}

.section-title {
  font-family: var(--font-serif);
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 1rem;
  text-wrap: balance;
}

.section-desc {
  color: var(--muted-fg);
  max-width: 40rem;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-weight: 600;
  padding: 0.875rem 2rem;
  transition: background-color 0.2s, border-color 0.2s, opacity 0.2s;
  cursor: pointer;
  border: none;
  line-height: 1;
}

.btn--primary {
  background: linear-gradient(
135deg,
#203F8F 0%,
#2050A0 50%,
#1060B0 100%
);
  color: var(--primary-fg);
}

.btn--primary:hover {
  background: #203F8F;
  color:#fff;
/*  opacity: 0.9;*/
}

.btn--secondary{
background:transparent;
border:1px solid rgba(255,255,255,0.35);
color:#ffffff;
}

.btn--secondary:hover{
background:#ffffff;
color:#203F8F;
border-color:#ffffff;
}

.btn--small {
  padding: 0.625rem 1.25rem;
}

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* --- SVG Icons (inline) --- */
.icon {
  display: inline-block;
  width: 1rem;
  height: 1rem;
  vertical-align: middle;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon--sm {
  width: 0.875rem;
  height: 0.875rem;
}

.icon--md {
  width: 1.25rem;
  height: 1.25rem;
}

.icon--lg {
  width: 1.5rem;
  height: 1.5rem;
}

.icon--xl {
  width: 2rem;
  height: 2rem;
}

.icon-box{
  width:48px;
  height:48px;
  min-width:48px;
  min-height:48px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:12px;
  background:linear-gradient(135deg,#203F8F,#1060B0);
  box-shadow:0 4px 14px rgba(32,63,143,0.15);
}

.icon-box .icon{
  color:#fff !important;
  width:22px;
  height:22px;
}

.pkg-card--featured .icon-box{
background:#F09000;
box-shadow:0 6px 18px rgba(0,0,0,0.25);
}

.pkg-card--featured .icon{
color:#ffffff;
}

.trust-card:hover .icon-box,
.pkg-card:hover .icon-box{
background:#F09000;
}

.trust-card:hover .icon,
.pkg-card:hover .icon{
color:#ffffff;
}

.icon-box .icon {
  color: var(--primary);
}

.trust-card .icon-box{
background:linear-gradient(135deg,#203F8F,#1060B0) !important;
}
.trust-card:hover .icon-box{
background: #F09000 !important;
}
.trust-card .icon{
color:#fff !important;
}
.trust-card:hover .icon{
color:#fff !important;
}

/* ===================================================
   HEADER
   =================================================== */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid #203f9029;
  background: #fff;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.header__topbar {
  border-bottom: 1px solid rgba(40, 44, 53, 0.5);
  background: #203F8F;
  padding: 0.5rem 0;
  font-size: 0.875rem;
}

.header__topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header__topbar-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.header__topbar-links a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #ced3db;
  transition: color 0.2s;
}

.header__topbar-links a:hover {
  color: var(--fg);
}

.header__topbar-text {
  font-size: 0.75rem;
  color: #ced3db;
}

.header__main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}

.header__logo img {
  height: 3rem;
  width: auto;
}

.header__nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.header__nav a {
  padding: 0.5rem 1rem;
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted-fg);
  transition: background-color 0.2s, color 0.2s;
}

.header__nav a:hover,
.header__nav li.current-menu-item > a,
.header__nav li.current_page_item > a,
.header__nav li.current-menu-ancestor > a{
background: rgba(34, 104, 194, 0.1);
color: #203F8F;
}

.header__nav li a{
display:block;
padding:0.5rem 1rem;
border-radius:0.5rem;
}

.header__cta {
  margin-left: 1rem;
  background: linear-gradient(
135deg,
#203F8F 0%,
#2050A0 50%,
#1060B0 100%
);
  color: var(--primary-fg);
  padding: 0.625rem 1.25rem;
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-weight: 600;
  transition: opacity 0.2s;
}

.header__cta:hover {
  background: #203F8F;
  color: #fff;
/*  opacity: 0.9;*/
}

/* WORDPRESS MENU FIX */
.header__nav ul{
list-style:none;
margin:0;
padding:0;
display:flex;
align-items:center;
gap:0.25rem;
}

.header__nav li{
list-style:none;
}

/* Mobile menu */
.header__mobile-toggle {
  display: none;
  background: none;
  border: none;
  padding: 0.5rem;
  color: var(--muted-fg);
  cursor: pointer;
  border-radius: var(--radius);
  transition: background-color 0.2s;
}

.header__mobile-toggle:hover {
  background: var(--secondary);
  color: var(--fg);
}

.header__mobile-nav {
  display: none;
  border-top: 1px solid rgba(40, 44, 53, 0.3);
  background: var(--bg);
  padding: 1rem 1.5rem 1.5rem;
}

.header__mobile-nav.open {
  display: block;
}

.header__mobile-nav a {
  display: block;
  padding: 0.75rem 1rem;
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted-fg);
  transition: background-color 0.2s, color 0.2s;
}

.header__mobile-nav a:hover,
.header__mobile-nav a.active {
  background: rgba(34, 104, 194, 0.1);
  color: var(--primary);
}

.header__mobile-nav .btn {
  display: block;
  text-align: center;
  margin-top: 0.75rem;
}

@media (max-width: 1023px) {
  .header__nav,
  .header__cta {
    display: none;
  }
  .header__mobile-toggle {
    display: block;
  }
}

@media (max-width: 639px) {
  .header__topbar-links span {
    display: none;
  }
  .header__topbar-text {
    display: none;
  }
}

/* ===================================================
   HERO
   =================================================== */

.hero::after{
content:"";
position:absolute;
left:0;
right:0;
bottom:0;
height:120px;
background:linear-gradient(to bottom,transparent,#0b1226) !important;
}

.hero {
  position: relative;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
}

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__overlay-1 {
  position: absolute;
  inset: 0;
  background: linear-gradient(
90deg,
rgba(11,18,38,0.92) 0%,
rgba(11,18,38,0.85) 45%,
rgba(11,18,38,0.55) 100%
);
}

.hero__overlay-2 {
  position: absolute;
  inset: 0;
  background: linear-gradient(
to top,
rgba(11,18,38,0.95),
rgba(11,18,38,0.2),
transparent
);
}

.hero__content {
  position: relative;
  padding: 7rem 0 7rem;
  max-width: 40rem;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 1rem;
  border-radius: 9999px;
  border: 1px solid rgba(34, 104, 194, 0.3);
  background: rgba(34, 104, 194, 0.1);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--primary);
  margin-bottom: 1.5rem;
}

.hero__title {
  font-family: var(--font-serif);
  font-size: 3.75rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--fg);
  margin-bottom: 1.5rem;
  text-wrap: balance;
}

.hero__desc {
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--muted-fg);
  margin-bottom: 2rem;
  max-width: 36rem;
}

.hero__actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero__stats {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-top: 3rem;
}

.hero__stat-value {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--fg);
}

.hero__stat-label {
  font-size: 0.75rem;
  color: var(--muted-fg);
}

.hero__stat-divider {
  width: 1px;
  height: 2.5rem;
  background: var(--border);
}

@media (min-width: 768px) {
  .hero__title {
    font-size: 3rem;
  }
}

@media (min-width: 1024px) {
  .hero__content {
    padding: 9rem 0 9rem;
  }
  .hero__title {
    font-size: 3.75rem;
  }
}

/* ===================================================
   SECTIONS (shared)
   =================================================== */
.section {
  padding: 5rem 0;
  border-bottom: 1px solid var(--border);
}

.section--alt{
background:#0f172a;
}

.section--no-border {
  border-bottom: none;
}

@media (min-width: 1024px) {
  .section {
    padding: 6rem 0;
  }
}

/* ===================================================
   TRUST / WHY US
   =================================================== */
.trust-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .trust-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.trust-card {
  padding: 2rem;
  background:#ffffff;
  border:1px solid #203F90;
  color:#0f172a;
  border-radius: var(--radius);
  transition: border-color 0.2s, background-color 0.2s;
}

.trust-card:hover {
  border-color: rgba(34, 104, 194, 0.3);
}

.trust-card__title {
  font-size: 1.125rem;
  font-weight: 600;
  color: #0f172a;
  margin: 1.25rem 0 0.75rem;
}

.trust-card__desc {
  font-size: 0.875rem;
  line-height: 1.7;
  color: #4b5563;
}

/* ===================================================
   PACKAGES PREVIEW (Home) + PACKAGES GRID (Full page)
   =================================================== */
.packages-grid {
  background:transparent;
  display: grid;
  gap: 1.5rem;
}

.section:not(.section--alt) .section-title{
color:#0f172a !important;
}

.section:not(.section--alt) .section-desc{
color:#6b7280 !important;
}

.section:has(.packages-grid){
background:#f5f7fb;
}

.packages-grid--home {
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .packages-grid--home {
    grid-template-columns: repeat(3, 1fr);
  }
}

.packages-grid--full {
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .packages-grid--full {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .packages-grid--full {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1280px) {
  .packages-grid--full {
    grid-template-columns: repeat(4, 1fr);
  }
}

.pkg-card {
  display: flex;
  flex-direction: column;
  padding: 2rem;
  background:#ffffff;
  border:1px solid #e5e7eb;
  color:#0f172a;
  border-radius: var(--radius);
  position: relative;
  transition: border-color 0.2s;
}

.pkg-card:hover {
  border-color: rgba(34, 104, 194, 0.2);
}

.pkg-card--featured {
  background:#203F8F;
  border:2px solid #F09000;
}

.pkg-card__badge {
  position: absolute;
  top: -0.75rem;
  left: 1.75rem;
  background: #F09000;
  color: var(--primary-fg);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
}

.pkg-card__title {
  font-size: 1.25rem;
  font-weight: 600;
  color: #0f172a;
  margin: 0.5rem 0;
}

.pkg-card__desc {
  font-size: 0.875rem;
  line-height: 1.7;
  color: var(--muted-fg);
  margin-bottom: 1.25rem;
}

.pkg-card__price {
  font-size: 1.5rem;
  color:#203F8F;
  font-weight:700;
  margin-bottom: 1.5rem;
}

.pkg-card__price span {
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--muted-fg);
  margin-left: 0.25rem;
}

.pkg-card__processing {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: var(--muted-fg);
  background: rgba(35, 39, 48, 0.5);
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius);
  margin-bottom: 1.25rem;
}

.pkg-card__features {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  margin-bottom: 2rem;
}

.pkg-card__feature {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--muted-fg);
}

.pkg-card__feature::before {
  content: '';
  display: block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #203F8F;
  flex-shrink: 0;
}

.pkg-card .btn {
  margin-top: auto;
}

.pkg-card .icon{
color:#fff;
}

.pkg-card--featured .icon{
color:#F09000;
}

.packages-notice {
  margin-top: 3rem;
  padding: 1.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(35, 39, 48, 0.3);
  text-align: center;
  font-size: 0.875rem;
  color: var(--muted-fg);
}

.packages-notice a {
  color: var(--primary);
  font-weight: 500;
}

.packages-notice a:hover {
  opacity: 0.8;
}

.view-all-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 2.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--primary);
  transition: opacity 0.2s;
}

.view-all-link:hover {
  opacity: 0.8;
}

.pkg-card--featured .btn{
background:#ffffff;
color:#203F8F;
border:1px solid #ffffff;
}

.pkg-card--featured .btn:hover{
background:#F09000;
color:#fff;
border-color:#F09000;
}

.pkg-card:not(.pkg-card--featured) .btn{
background:linear-gradient(135deg,#203F8F,#1060B0);
color:#fff;
border:none;
}

.pkg-card:not(.pkg-card--featured) .btn:hover{
background:#F09000;
}

/* ===================================================
   PROCESS STEPS
   =================================================== */
.process-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 768px) {
  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .process-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.process-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.process-step__circle {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 5rem;
  height: 5rem;
  border-radius: 50%;
  background:#111827;
  border:1px solid #1f2937;
  margin-bottom: 1.5rem;
}

.process-step__circle .icon {
  color: var(--primary);
}

.process-step__number {
  position: absolute;
  top: -0.25rem;
  right: -0.25rem;
  width: 1.75rem;
  height: 1.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background:#F09000;
  color:#111827;
  font-size: 0.75rem;
  font-weight: 700;
}

.process-step__title {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 0.75rem;
}

.process-step__desc {
  font-size: 0.875rem;
  line-height: 1.7;
  color: var(--muted-fg);
}

/* ===================================================
   POLICY BANNER
   =================================================== */
.policy-banner {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.5rem 2rem;
  border-radius: var(--radius);
  background:#fff7e6;
  border:1px solid #F09000;
  color:#3b2f00;
}

.policy-banner__icon {
  flex-shrink: 0;
  padding: 0.625rem;
  background: rgba(230, 160, 14, 0.1);
  border-radius: var(--radius);
  color: var(--accent);
}

.policy-banner__title {
  font-weight: 600;
  color: #333;
  margin-bottom: 0.25rem;
}

.policy-banner__text {
  font-size: 0.875rem;
  line-height: 1.7;
  color:#5c4a00;
}

.policy-banner__link {
  flex-shrink: 0;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--primary);
  display: none;
  align-items: center;
  gap: 0.25rem;
  align-self: center;
}

@media (min-width: 768px) {
  .policy-banner {
    align-items: center;
  }
  .policy-banner__link {
    display: inline-flex;
  }
}

/* ===================================================
   CONTACT CTA
   =================================================== */
.cta-card {
  overflow: hidden;
  border-radius: 0.75rem;
  background:linear-gradient(135deg,#203F8F,#1a3576);
  border:none;
}

.cta-card__inner {
  display: grid;
}

.cta-card{
box-shadow:0 20px 60px rgba(0,0,0,0.25);
}

.cta-card .btn--primary{
background:#ffffff;
color:#203F8F;
}

.cta-card .btn--primary:hover{
background:#F09000;
color:#fff;
}

@media (min-width: 1024px) {
  .cta-card__inner {
    grid-template-columns: 1fr 1fr;
  }
}

.cta-card__content {
  padding: 2.5rem;
}

@media (min-width: 1024px) {
  .cta-card__content {
    padding: 4rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
}

.cta-card__title {
  font-family: var(--font-serif);
  font-size: 2.24rem;
  line-height: 2.5rem;
  font-weight: 600;
  color:#ffffff;
  margin-bottom: 1rem;
  letter-spacing:-0.01em;
  text-wrap: balance;
}

.cta-card__desc {
  color:#ffffff;
  margin-bottom: 2rem;
}

.cta-card__actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.cta-card__image {
  position: relative;
  display: none;
}

@media (min-width: 1024px) {
  .cta-card__image {
    display: block;
  }
}

.cta-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cta-card__image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, var(--card), transparent);
  z-index: 1;
}

/* ===================================================
   PAGE HEADER (inner pages)
   =================================================== */
.page-header {
  padding: 3rem 0;
  border-bottom: 1px solid var(--border);
  background: rgba(35, 39, 48, 0.2);
}

.page-header__title {
  font-family: var(--font-serif);
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 0.75rem;
}

.page-header__desc {
  color: var(--muted-fg);
  max-width: 40rem;
}

@media (min-width: 768px) {
  .page-header__title {
    font-size: 2.75rem;
  }
}

/* ===================================================
   TERMS
   =================================================== */
.toc {
  padding: 1.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--card);
  margin-bottom: 3rem;
}

.toc__title {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--fg);
  margin-bottom: 1rem;
}

.toc__list {
  display: grid;
  gap: 0.5rem;
}

@media (min-width: 640px) {
  .toc__list {
    grid-template-columns: repeat(2, 1fr);
  }
}

.toc__list a {
  font-size: 0.875rem;
  color: var(--muted-fg);
  transition: color 0.2s;
}

.toc__list a:hover {
  color: var(--primary);
}

.terms-section {
  margin-bottom: 3rem;
  scroll-margin-top: 8rem;
}

.terms-section__title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 1.25rem;
}

.terms-section p {
  font-size: 0.875rem;
  line-height: 1.7;
  color: var(--muted-fg);
  margin-bottom: 1rem;
}

.agreement-box {
  margin-top: 4rem;
  padding: 2rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--card);
}

.agreement-box__title {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 1rem;
}

.agreement-box__desc {
  font-size: 0.875rem;
  line-height: 1.7;
  color: var(--muted-fg);
  margin-bottom: 1.5rem;
}

.agreement-box label {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  cursor: pointer;
}

.agreement-box label span {
  font-size: 0.875rem;
  color: var(--fg);
}

.agreement-box__actions {
  display: none;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.agreement-box__actions.visible {
  display: flex;
}

.agreement-box__accepted {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--primary);
}

/* ===================================================
   CHECKOUT
   =================================================== */
.checkout-layout {
  display: grid;
  gap: 2rem;
}

@media (min-width: 1024px) {
  .checkout-layout {
    grid-template-columns: 2fr 1fr;
  }
}

.form-card {
  padding: 2rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--card);
}

.form-card + .form-card {
  margin-top: 2rem;
}

.form-card__title {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 1.5rem;
}

.form-grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 640px) {
  .form-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .form-grid .full-width {
    grid-column: span 2;
  }
}

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--fg);
  margin-bottom: 0.5rem;
}

.form-label .required {
  color: var(--destructive);
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(35, 39, 48, 0.5);
  color: var(--fg);
  font-size: 0.875rem;
  transition: border-color 0.2s;
  outline: none;
}

.form-select{
    padding: 0rem 1rem !important;
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--muted-fg);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 1px var(--primary);
}

.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%237d8694' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  padding-right: 2.5rem;
}

.form-textarea {
  resize: none;
}

.form-select option {
  background: var(--card);
  color: var(--fg);
}

/* Payment methods */
.payment-methods {
  display: grid;
  gap: 0.75rem;
}

@media (min-width: 640px) {
  .payment-methods {
    grid-template-columns: repeat(3, 1fr);
  }
}

.payment-method {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  transition: border-color 0.2s, background-color 0.2s;
}

.payment-method:hover {
  border-color: rgba(34, 104, 194, 0.3);
}

.payment-method.selected {
  border-color: var(--primary);
  background: rgba(34, 104, 194, 0.05);
}

.payment-method input {
  display: none;
}

.payment-method__label {
  font-size: 0.875rem;
  font-weight: 500;
}

.payment-method.selected .payment-method__label {
  color: var(--fg);
}

.payment-method .icon {
  color: var(--muted-fg);
}

.payment-method.selected .icon {
  color: var(--primary);
}

.payment-info-box {
  margin-top: 1.5rem;
  padding: 1.25rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(35, 39, 48, 0.3);
}

.payment-info-box p {
  font-size: 0.875rem;
  line-height: 1.7;
  color: var(--muted-fg);
}

/* Order summary */
.order-summary {
  position: sticky;
  top: 8rem;
}

.order-summary__pkg {
  padding: 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(35, 39, 48, 0.3);
  margin-bottom: 1.5rem;
}

.order-summary__pkg-title {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 0.25rem;
}

.order-summary__pkg-desc {
  font-size: 0.75rem;
  color: var(--muted-fg);
}

.order-summary__lines {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  font-size: 0.875rem;
}

.order-summary__line {
  display: flex;
  justify-content: space-between;
}

.order-summary__line-label {
  color: var(--muted-fg);
}

.order-summary__line-value {
  color: var(--fg);
}

.order-summary__divider {
  height: 1px;
  background: var(--border);
  margin: 0.5rem 0;
}

.order-summary__total {
  font-weight: 600;
}

.order-summary__secure {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.25rem;
  font-size: 0.75rem;
  color: var(--muted-fg);
}

.order-summary__note {
  margin-top: 1.5rem;
  padding: 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(35, 39, 48, 0.3);
  font-size: 0.75rem;
  line-height: 1.7;
  color: var(--muted-fg);
}

/* Terms checkbox */
.terms-check {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  cursor: pointer;
}

.terms-check span {
  font-size: 0.875rem;
  color: var(--muted-fg);
}

.terms-check a {
  font-weight: 500;
  color: var(--primary);
}

.terms-check a:hover {
  opacity: 0.8;
}

input[type="checkbox"] {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
  margin-top: 0.25rem;
  accent-color: var(--primary);
  cursor: pointer;
}

/* ===================================================
   CONFIRMATION
   =================================================== */
.confirmation {
  padding: 5rem 0 5rem;
  text-align: center;
}

@media (min-width: 1024px) {
  .confirmation {
    padding: 7rem 0 7rem;
  }
}

.confirmation__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 5rem;
  height: 5rem;
  border-radius: 50%;
  background: rgba(34, 104, 194, 0.1);
  margin: 0 auto 2rem;
}

.confirmation__icon .icon {
  color: var(--primary);
}

.confirmation__title {
  font-family: var(--font-serif);
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 0.75rem;
}

@media (min-width: 768px) {
  .confirmation__title {
    font-size: 2.25rem;
  }
}

.confirmation__desc {
  color: var(--muted-fg);
  max-width: 32rem;
  margin: 0 auto 2.5rem;
}

.booking-summary {
  text-align: left;
  padding: 2rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--card);
  margin-bottom: 2rem;
}

.booking-summary__title {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 1.5rem;
}

.booking-summary__row {
  display: flex;
  justify-content: space-between;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.875rem;
}

.booking-summary__row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.booking-summary__label {
  color: var(--muted-fg);
}

.booking-summary__value {
  color: var(--fg);
}

.booking-summary__value--mono {
  font-family: monospace;
  font-weight: 600;
}

.booking-summary__value--bold {
  font-weight: 600;
}

.email-notice {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  text-align: left;
  padding: 1.5rem;
  border: 1px solid rgba(34, 104, 194, 0.3);
  border-radius: var(--radius);
  background: rgba(34, 104, 194, 0.05);
  margin-bottom: 2rem;
}

.email-notice__title {
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 0.25rem;
}

.email-notice__text {
  font-size: 0.875rem;
  line-height: 1.7;
  color: var(--muted-fg);
}

.next-steps {
  text-align: left;
  padding: 2rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--card);
  margin-bottom: 2rem;
}

.next-steps__title {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 1.25rem;
}

.next-steps__item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.next-steps__num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.5rem;
  flex-shrink: 0;
  border-radius: 50%;
  background: rgba(34, 104, 194, 0.1);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--primary);
}

.next-steps__text {
  font-size: 0.875rem;
  line-height: 1.7;
  color: var(--muted-fg);
}

.confirmation__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.support-box {
  margin-top: 2.5rem;
  padding: 1.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(35, 39, 48, 0.3);
  text-align: center;
}

.support-box__title {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--fg);
  margin-bottom: 0.5rem;
}

.support-box__desc {
  font-size: 0.875rem;
  color: var(--muted-fg);
  margin-bottom: 1rem;
}

.support-box__links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
}

.support-box__links a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--primary);
  transition: opacity 0.2s;
}

.support-box__links a:hover {
  opacity: 0.8;
}

/* ===================================================
   CONTACT
   =================================================== */
.contact-layout {
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 1024px) {
  .contact-layout {
    grid-template-columns: 3fr 2fr;
  }
}

.contact-info-card {
  padding: 1.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--card);
}

.contact-info-card__inner {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.contact-info-card__title {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 0.25rem;
}

.contact-info-card__detail {
  font-size: 0.875rem;
  color: var(--fg);
  transition: color 0.2s;
}

a.contact-info-card__detail:hover {
  color: var(--primary);
}

.contact-info-card__sub {
  font-size: 0.75rem;
  color: var(--muted-fg);
  margin-top: 0.125rem;
}

.contact-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.map-placeholder {
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--card);
}

.map-placeholder__frame {
  position: relative;
  aspect-ratio: 4/3;
  background: var(--secondary);
}

.map-placeholder__frame iframe {
  width: 100%;
  height: 100%;
  border: none;
  opacity: 0.6;
  filter: grayscale(1);
}

.map-placeholder__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(15, 19, 25, 0.6);
}

.map-placeholder__label {
  padding: 0.5rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--card);
  font-size: 0.875rem;
  color: var(--muted-fg);
}

.map-placeholder__address {
  padding: 1rem;
  font-size: 0.75rem;
  color: var(--muted-fg);
}

/* Success message (contact form) */
.success-message {
  display: none;
  flex-direction: column;
  align-items: center;
  padding: 3rem 0;
  text-align: center;
}

.success-message.visible {
  display: flex;
}

.success-message__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  background: rgba(34, 104, 194, 0.1);
  margin-bottom: 1rem;
}

.success-message__title {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 0.5rem;
}

.success-message__text {
  font-size: 0.875rem;
  color: var(--muted-fg);
  max-width: 24rem;
  margin-bottom: 1.5rem;
}

/* ===================================================
   FOOTER
   =================================================== */
.footer {
  border-top: 1px solid var(--border);
  background:#0b1226;
}

.footer a:hover{color:#F09000;}

.footer__main {
  padding: 4rem 0;
}

.footer__grid {
  display: grid;
  gap: 3rem;
}

@media (min-width: 768px) {
  .footer__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .footer__grid {
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
  }
}

.footer__brand img {
  height: 2.5rem;
  width: auto;
  margin-bottom: 1.25rem;
}

.footer__brand-desc {
  font-size: 0.875rem;
  line-height: 1.8;
  max-width:320px;
  color: var(--muted-fg);
  margin-bottom: 1.5rem;
}

.footer__contact-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer__contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--muted-fg);
  opacity:0.9;
  transition: color 0.2s;
}

a.footer__contact-item:hover {
  color: var(--fg);
}

.footer__contact-item .icon {
  flex-shrink: 0;
  color: var(--primary);
  margin-top: 0.125rem;
}

.footer__section-title {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--fg);
  margin-bottom: 1.25rem;
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer__links a {
  font-size: 0.875rem;
  color: var(--muted-fg);
  transition: color 0.2s;
}

.footer__links a:hover {
  color: var(--fg);
}

.footer__hours {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  font-size: 0.875rem;
}

.footer__hours-row {
  display: flex;
  justify-content: space-between;
  color: var(--muted-fg);
}

.footer__hours-row span:last-child {
  color: var(--fg);
}

.footer__hours-note {
  margin-top: 0.75rem;
  padding: 0.75rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(30, 34, 42, 0.5);
  font-size: 0.75rem;
  line-height: 1.7;
  color: var(--muted-fg);
}

.footer__bottom {
  border-top: 1px solid var(--border);
  padding: 1.5rem 0;
}

.footer__bottom-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

@media (min-width: 640px) {
  .footer__bottom-inner {
    flex-direction: row;
    justify-content: space-between;
  }
}

.footer__copyright {
  font-size: 0.75rem;
  color: var(--muted-fg);
}

.footer__legal-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.footer__legal-links a {
  font-size: 0.75rem;
  color: var(--muted-fg);
  transition: color 0.2s;
}

.footer__legal-links a:hover {
  color: var(--fg);
}

.footer{
border-top:1px solid rgba(255,255,255,0.08) !important;
}

.footer__section-title{
color:#ffffff !important;
}

.footer__links a:hover{
color:#F09000 !important;
}

/* DARK SECTION TEXT FIX */
.section--alt .section-title,
.section--alt .section-desc,
.section--alt .section-label{
color:#ffffff;
}

.section--alt .section-desc{
color:#cbd5e1;
}

.section--alt .section-label{
color:#F09000;
letter-spacing:0.15em;
}

.pkg-card__badge{
background:#F09000;
color:#111;
font-weight:600;
}

/* ===== PACKAGE LIST FIX ===== */

.pkg-card__features{
padding-left:0;
margin-left:0;
}

.pkg-card__feature{
position:relative;
padding-left:18px;
line-height:1.7;
}

/* custom bullet */
.pkg-card__feature::before{
content:"";
position:absolute;
left:0;
top:10px;
width:6px;
height:6px;
border-radius:50%;
background:#203F8F;
}

/* featured card bullets (white visible on blue bg) */
.pkg-card--featured .pkg-card__feature{
color:#e5e7eb !important;
}

.pkg-card--featured .pkg-card__feature::before{
background:#F09000;
}

/* ===== PROCESS CONNECTOR LINE ===== */

@media (min-width:1024px){

.process-grid{
position:relative;
}

/* horizontal line across all steps */
.process-grid::before{
content:"";
position:absolute;
top:40px;
left:12%;
right:12%;
height:2px;
background:linear-gradient(90deg,transparent,#1f3c88,#1f3c88,transparent);
opacity:.35;
z-index:0;
}

/* make circles above the line */
.process-step__circle{
position:relative;
z-index:2;
background:#111827;
border:1px solid #1f2937;
}

/* small connector dot center alignment */
.process-step{
position:relative;
z-index:1;
}

}

/* ================================
   KBH Custom Scrollbar
================================ */

::-webkit-scrollbar{
width:8px;
height:8px;
}

::-webkit-scrollbar-track{
background:#0b1226;
}

::-webkit-scrollbar-thumb{
background:linear-gradient(180deg,#203F8F,#1060B0);
border-radius:20px;
}

::-webkit-scrollbar-thumb:hover{
background:#F09000;
}

/* Firefox */
*{
scrollbar-width:thin;
scrollbar-color:#203F8F #0b1226;
}

/* ================================
   Scroll To Top Button FINAL
================================ */

#kbh-scrolltop{
position:fixed;
right:22px;
bottom:22px;
width:42px;
height:40px;
border-radius:100%;
border:none;
cursor:pointer;
display:flex;
align-items:center;
justify-content:center;
color:#ffffff;
background:linear-gradient(135deg,#203F8F,#1060B0);
box-shadow:0 12px 30px rgba(0,0,0,0.30);
opacity:0;
visibility:hidden;
transform:translateY(12px) scale(.9);
transition:all .35s cubic-bezier(.22,.61,.36,1);
z-index:9999;
padding:0;
line-height:0;
}

#kbh-scrolltop svg{
width:22px;
height:22px;
transition:transform .25s ease;
}

/* hover */
#kbh-scrolltop:hover{
background:#F09000;
transform:translateY(-2px) scale(1);
}

#kbh-scrolltop:hover svg{
transform:translateY(-2px);
}

/* visible */
#kbh-scrolltop.show{
opacity:1;
visibility:visible;
transform:translateY(0) scale(1);
}

/* =========================
   SCROLL REVEAL ANIMATION
========================= */

.reveal{
opacity:0;
transform:translateY(40px);
transition:all .9s cubic-bezier(.22,.61,.36,1);
}

.reveal.show{
opacity:1;
transform:translateY(0);
}

/* stagger children */
.reveal-stagger > *{
opacity:0;
transform:translateY(30px);
transition:all .7s cubic-bezier(.22,.61,.36,1);
}

.reveal-stagger.show > *{
opacity:1;
transform:translateY(0);
}

.reveal-stagger.show > *:nth-child(1){transition-delay:.05s;}
.reveal-stagger.show > *:nth-child(2){transition-delay:.15s;}
.reveal-stagger.show > *:nth-child(3){transition-delay:.25s;}
.reveal-stagger.show > *:nth-child(4){transition-delay:.35s;}
.reveal-stagger.show > *:nth-child(5){transition-delay:.45s;}
.reveal-stagger.show > *:nth-child(6){transition-delay:.55s;}

/* ================= CONTACT PAGE ================= */

.kbh-contact-page .page-header{
background:
linear-gradient(180deg, rgba(11,18,38,0.85), rgba(11,18,38,0.65)),
linear-gradient(120deg,#203F8F,#1a3576);
color:#ffffff;
border-bottom:none;
}

.kbh-contact-page .packages-notice{
margin-top:60px;
padding:25px;
border-radius:12px;
background:#f3f6fb;
border:1px solid #e1e6f0;
color:#4a5568;
font-size:14px;
text-align:center;
box-shadow:0 8px 20px rgba(0,0,0,0.04);
}

.kbh-contact-page .page-header__title{
color:#ffffff;
letter-spacing:-0.02em;
}

.kbh-contact-page .page-header__desc{
color:#cbd5e1;
max-width:620px;
}

.kbh-contact-page .section{
background:#f5f7fb;
}

.kbh-contact-page .form-card{
background:linear-gradient(145deg,#0f172a,#111827);
border:1px solid rgba(255,255,255,0.08);
box-shadow:0 25px 70px rgba(0,0,0,0.25);
}

.kbh-contact-page .form-card__title{
color:#ffffff;
}

.kbh-contact-page .contact-info-card{
background:#111827;
border:1px solid rgba(255,255,255,0.06);
transition:all .25s ease;
}

.kbh-contact-page .contact-info-card:hover{
transform:translateY(-4px);
border-color:#203F8F;
}

.kbh-contact-page .map-placeholder__frame iframe{
filter:grayscale(.7) contrast(1.1);
opacity:.85;
}

/* ===== CONTACT PAGE FORM INPUT FIX ===== */

.kbh-contact-page input[type="text"],
.kbh-contact-page input[type="email"],
.kbh-contact-page input[type="tel"],
.kbh-contact-page input[type="number"],
.kbh-contact-page select,
.kbh-contact-page textarea {

background: rgba(17,24,39,0.85) !important;
border: 1px solid rgba(255,255,255,0.08) !important;
color: #e5e7eb !important;
box-shadow: none !important;
}

/* placeholder color */
.kbh-contact-page input::placeholder,
.kbh-contact-page textarea::placeholder{
color:#9ca3af !important;
}

/* focus state */
.kbh-contact-page input:focus,
.kbh-contact-page textarea:focus,
.kbh-contact-page select:focus{
border-color:#203F8F !important;
box-shadow:0 0 0 1px #203F8F !important;
background: rgba(17,24,39,0.95) !important;
}

.kbh-contact-page input:hover,
.kbh-contact-page textarea:hover,
.kbh-contact-page select:hover{
border-color: rgba(255,255,255,0.18) !important;
}

/* TERMS PAGE BASE */
.page-template-page-terms {
    background:#f4f7fb;
}

.page-template-page-terms #kbh-app{
    background:#f4f7fb;
}

/* Terms Banner */
.page-template-page-terms .page-header{
    background:linear-gradient(135deg,#203F8F,#162d63);
    color:#fff;
    border-bottom:none;
}

.page-template-page-terms .page-header__title{
    color:#ffffff;
}

.page-template-page-terms .page-header__desc{
    color:#dbe4ff;
}

/* Table of contents */
.page-template-page-terms .toc{
    background:#0f1c3d;
    border:none;
    box-shadow:0 10px 35px rgba(0,0,0,0.08);
}

.page-template-page-terms .toc__title{
    color:#ffffff;
}

.page-template-page-terms .toc__list a{
    color:#c7d4ff;
}

.page-template-page-terms .toc__list a:hover{
    color:#F09000;
}

/* Legal text readability */
.page-template-page-terms .terms-section p{
    color:#334155;
    font-size:15px;
    line-height:1.8;
}

.page-template-page-terms .terms-section__title{
    color:#0f172a;
    font-weight:600;
}

/* Agreement box */
.page-template-page-terms .agreement-box{
    background:#0f1c3d;
    border:1px solid #203F8F;
}

.page-template-page-terms .agreement-box__title{
    color:#ffffff;
}

.page-template-page-terms .agreement-box__desc{
    color:#cbd5e1;
}

.page-template-page-terms .agreement-box label span{
    color:#e2e8f0;
}

.page-template-page-terms .agreement-box input[type="checkbox"]{
    accent-color:#F09000;
}

.page-template-page-terms .terms-section{
    margin-bottom:2.8rem;
}

/* TERMS TOC ALIGN FIX */
.page-template-page-terms .toc__list{
    padding-left:0;
}

.page-template-page-terms .toc__list li{
    list-style:none;
    padding-left:0;
}

.page-template-page-terms .toc__list{
    counter-reset:terms-counter;
}

.page-template-page-terms .toc__list li{
    position:relative;
    padding-left:28px;
    margin-bottom:6px;
}

.page-template-page-terms .toc__list li::before{
    counter-increment:terms-counter;
    content: counter(terms-counter) ".";
    position:absolute;
    left:0;
    color:#F09000;
    font-weight:600;
}

/* Paragraph spacing */
.page-template-page-terms .terms-section p{
    margin-bottom:14px;
}

/* Section spacing */
.page-template-page-terms .terms-section__title{
    margin-top:32px;
    margin-bottom:10px;
}

/* Content width for readability */
.page-template-page-terms .kbh-legal{
    max-width:880px;
    margin:auto;
}

.page-template-page-terms .agreement-box{
    border-radius:12px;
    box-shadow:0 15px 40px rgba(0,0,0,0.12);
}

/* =========================
   TERMS PAGE TOC FIX FINAL
   ========================= */

/* kill wordpress logical spacing */
.page-template-page-terms .entry-content ol,
.page-template-page-terms .entry-content ul,
.page-template-page-terms .toc__list{
    padding-inline-start:0 !important;
    margin-inline-start:0 !important;
}

/* remove browser numbering */
.page-template-page-terms .toc__list{
    list-style:none !important;
}

/* clean custom numbering layout */
.page-template-page-terms .toc__list li{
    position:relative;
    padding-left:28px !important;
}

/* number style */
.page-template-page-terms .toc__list li::before{
    position:absolute;
    left:0;
    top:0;
    color:#F09000;
    font-weight:600;
}

/* =========================
   TERMS TOC PERFECT SPACING
   ========================= */

/* main toc container padding equal */
.page-template-page-terms .toc,
.page-template-page-terms .toc-box{
    padding:22px 28px !important;
}

/* remove extra gap from list */
.page-template-page-terms .toc__list{
    margin:0 !important;
    padding:0 !important;
}

/* control item spacing */
.page-template-page-terms .toc__list li{
    margin:0px 0 !important;
    line-height:1.45 !important;
}

/* heading spacing fix */
.page-template-page-terms .toc__title{
    margin-bottom:20px !important;
}

/* prevent last item pushing box bottom */
.page-template-page-terms .toc__list li:last-child{
    margin-bottom:0 !important;
}

/* toc reading guidance */
.page-template-page-terms .toc__list li{
transition:color .2s ease, transform .2s ease;
}

.page-template-page-terms .toc__list li:hover{
transform:translateX(3px);
color:#203F8F;
}

/* ===============================
   PACKAGES PAGE STYLING
================================ */

.page-template-page-packages .page-header{
background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 100%);
padding: 100px 0 70px;
color: #ffffff;
}

.page-template-page-packages .page-header__title{
font-size: 48px;
font-weight: 700;
margin-bottom: 15px;
}

.page-template-page-packages .page-header__desc{
max-width: 600px;
opacity: 0.85;
font-size: 18px;
}

/* Umrah Notice Box */
.page-template-page-umrah .packages-notice{
margin-top:60px;
padding:25px;
border-radius:12px;
background:#f3f6fb;
border:1px solid #e1e6f0;
color:#4a5568;
font-size:14px;
text-align:center;
box-shadow:0 8px 20px rgba(0,0,0,0.04);
}

.page-template-page-packages .packages-notice a{
color: #1e3a8a;
font-weight: 600;
}

.page-template-page-packages .pkg-card{
opacity: 0;
transform: translateY(30px);
animation: fadeUp 0.6s ease forwards;
}

.page-template-page-packages .pkg-card:nth-child(2){ animation-delay: 0.1s; }
.page-template-page-packages .pkg-card:nth-child(3){ animation-delay: 0.2s; }
.page-template-page-packages .pkg-card:nth-child(4){ animation-delay: 0.3s; }

@keyframes fadeUp{
to{
opacity:1;
transform:translateY(0);
}
}

/* Processing badge - normal cards */
.page-template-page-packages .pkg-card__processing{
background: #eef2f7;
color: #334155;
font-size: 13px;
padding: 8px 14px;
border-radius: 8px;
display: inline-flex;
align-items: center;
gap: 6px;
margin: 15px 0;
border: 1px solid #e2e8f0;
}

/* Featured card text corrections */
.page-template-page-packages .pkg-card--featured .pkg-card__title{
color: #ffffff !important;
}

.page-template-page-packages .pkg-card--featured .pkg-card__price{
color: #ffffff !important;
}

.page-template-page-packages .pkg-card--featured .pkg-card__desc{
color: rgba(255,255,255,0.85);
}

.page-template-page-packages .pkg-card--featured .pkg-card__processing{
background: rgba(255,255,255,0.12);
color: #ffffff;
border: 1px solid rgba(255,255,255,0.2);
}

.page-template-page-packages .pkg-card--featured .pkg-card__processing .icon{
stroke: #fbbf24;
}

/* ===============================
   CHECKOUT PAGE STYLING
================================ */

.page-template-page-checkout .page-header{
background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 100%);
padding: 90px 0 60px;
color: #ffffff;
}

.page-template-page-checkout .page-header__title{
font-size: 42px;
font-weight: 700;
margin-bottom: 12px;
}

.page-template-page-checkout .page-header__desc{
opacity: 0.85;
font-size: 16px;
max-width: 600px;
}

.page-template-page-checkout .form-card{
background: linear-gradient(145deg, #0f172a, #111827);
border-radius: 14px;
padding: 30px;
box-shadow: 0 12px 30px rgba(0,0,0,0.15);
border: 1px solid rgba(255,255,255,0.04);
margin-bottom: 30px;
}

.page-template-page-checkout .form-input{
background: #1f2937;
border: 1px solid #2d3748;
color: #ffffff;
border-radius: 8px;
padding: 12px 14px;
transition: all 0.25s ease;
}

.page-template-page-checkout .form-input:focus{
border-color: #f59e0b;
box-shadow: 0 0 0 2px rgba(245,158,11,0.2);
outline: none;
}

.page-template-page-checkout .payment-method{
background: #111827;
border: 1px solid #2d3748;
border-radius: 10px;
padding: 12px 16px;
cursor: pointer;
transition: all 0.25s ease;
}

.page-template-page-checkout .payment-method.selected{
border-color: #f59e0b;
background: rgba(245,158,11,0.08);
}

.page-template-page-checkout .order-summary{
background: linear-gradient(145deg, #111827, #0f172a);
border-radius: 16px;
padding: 30px;
box-shadow: 0 18px 40px rgba(0,0,0,0.25);
border: 1px solid rgba(255,255,255,0.05);
}

.page-template-page-checkout .order-summary__pkg{
background: rgba(255,255,255,0.05);
padding: 15px;
border-radius: 10px;
margin-bottom: 20px;
}

.page-template-page-checkout .order-summary__total{
font-weight: 700;
font-size: 18px;
color: #f59e0b;
}

.page-template-page-checkout #pay-btn{
background: #f59e0b;
border: none;
border-radius: 10px;
padding: 14px;
font-weight: 600;
transition: all 0.25s ease;
}

.page-template-page-checkout #pay-btn:hover{
background: #e88900;
transform: translateY(-2px);
}

.page-template-page-checkout #pay-btn:disabled{
background: #374151;
cursor: not-allowed;
}

.page-template-page-checkout .terms-check{
display: flex;
gap: 12px;
align-items: flex-start;
font-size: 14px;
color: #d1d5db;
}

.page-template-page-checkout .terms-check input{
margin-top: 4px;
}

.page-template-page-checkout .form-card,
.page-template-page-checkout .order-summary{
opacity: 0;
transform: translateY(20px);
animation: checkoutFade 0.5s ease forwards;
}

.page-template-page-checkout .order-summary{
animation-delay: 0.15s;
}

@keyframes checkoutFade{
to{
opacity:1;
transform:translateY(0);
}
}

/* Payment method base text color */
.page-template-page-checkout .payment-method{
color: #d1d5db;
}

/* Icon color */
.page-template-page-checkout .payment-method .icon{
stroke: #9ca3af;
}

/* Selected method stronger */
.page-template-page-checkout .payment-method.selected{
color: #ffffff;
}

.page-template-page-checkout .payment-method.selected .icon{
stroke: #f59e0b;
}

.page-template-page-umrah .package-tags{
display:flex;
flex-wrap:wrap;
gap:8px;
margin:15px 0 20px;
}

.page-template-page-umrah .tag{
background:rgba(30,58,138,0.1);
color:#1e3a8a;
font-size:13px;
padding:6px 12px;
border-radius:50px;
font-weight:500;
}

.pkg-card--featured .tag{
background: rgba(255,255,255,0.15);
color:#ffffff;
}

/* Featured card text fix */
.pkg-card--featured .pkg-card__title{
color:#ffffff !important;
}

.pkg-card--featured .pkg-card__price{
color:#ffffff !important;
}

.pkg-card--featured .pkg-card__price span{
color:rgba(255,255,255,0.7) !important;
}

.pkg-card--featured .btn{
background:#ffffff;
color:#1f3c88;
font-weight:600;
}

.pkg-card--featured .btn:hover{
background:#f2f2f2;
color:#1f3c88;
}

.pkg-card--featured .tag{
background:rgba(255,255,255,0.15);
color:#ffffff;
border:1px solid rgba(255,255,255,0.25);
}

.pkg-card{
transition: all .3s ease;
}

.pkg-card:hover{
transform:translateY(-5px);
box-shadow:0 15px 35px rgba(0,0,0,0.08);
}

/* Umrah Page Banner */
.page-template-page-umrah .page-header{
background: linear-gradient(135deg, #1f3c88 0%, #294a9b 100%);
padding: 90px 0;
position: relative;
}

.page-template-page-umrah .page-header__title{
color:#ffffff;
}

.page-template-page-umrah .page-header__desc{
color:rgba(255,255,255,0.85);
}

.package-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 15px;
  margin-bottom: 20px;
}

.package-tags .tag {
  background: #e8edf7;
  color: #2d4aa0;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 500;
}

.pkg-card--featured .package-tags .tag {
  background: rgba(255,255,255,0.15);
  color: #fff;
}

.page-header {
  padding: 100px 0 80px;
}

.packages-notice--visa {
  background: #f4f6fb;
  border: 1px solid #e1e6f2;
  padding: 25px 30px;
  border-radius: 12px;
  text-align: center;
  color: #5c667a;
  font-size: 14px;
  line-height: 1.6;
  margin-top: 50px;
}

.packages-notice--visa a {
  color: #2d4aa0;
  font-weight: 600;
  text-decoration: none;
}

.packages-notice--visa a:hover {
  text-decoration: underline;
}

/* ============================= */
/* HOMEPAGE VISUAL POLISH FIXES */
/* ============================= */

/* 1️⃣ Slightly stronger section titles */
.home .section-title {
  font-size: 2rem;
  letter-spacing: -0.3px;
}

/* 2️⃣ Make section labels (WHY CHOOSE / OUR SERVICES etc.) more premium */
.home .section-label {
  letter-spacing: 1.5px;
  font-weight: 600;
}

/* 3️⃣ Subtle divider between Visa & Umrah sections */
.home .packages-grid--home {
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

/* 4️⃣ Improve spacing above Umrah section */
.home .umrah-preview {
  padding-top: 4rem;
}

/* 5️⃣ Slight card hover polish (more premium feel) */
.home .pkg-card {
  transition: all 0.3s ease;
}

.home .pkg-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.08);
}

/* 6️⃣ Featured card shadow stronger */
.home .pkg-card--featured {
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.15);
}

/* 7️⃣ View All link smoother */
.home .view-all-link {
  font-weight: 500;
  transition: all 0.3s ease;
}

.home .view-all-link:hover {
  letter-spacing: 0.5px;
}

/* 8️⃣ Make thin horizontal break lines softer */
.home hr,
.home .section-divider {
  opacity: 0.4;
}

/* 9️⃣ Slightly soften policy banner background */
.home .policy-banner {
  background: #fff9ec;
  border: 1px solid rgba(240, 144, 0, 0.2);
}

/* 🔟 Improve CTA card shadow */
.home .cta-card {
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
}

/* ========================= */
/* MOBILE HEADER RESPONSIVE */
/* ========================= */

.header__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
}

.header__toggle span {
  width: 24px;
  height: 2px;
  background: #0f172a;
  transition: all 0.3s ease;
}

/* ================= FINAL CLEAN MOBILE MENU ================= */

@media (max-width: 991px) {

  /* Hide desktop nav layout */
  .header__nav {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: -100%;
    width: 280px;
    height: 100vh;
    background: #ffffff;
    padding: 90px 30px 40px;
    box-shadow: 20px 0 40px rgba(0,0,0,0.15);
    transition: left 0.35s ease;
    z-index: 1001;
  }

  .header__nav.active {
    left: 0;
  }

  /* Close icon */
  .header__close {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 28px;
    background: none;
    border: none;
    cursor: pointer;
    color: #0f172a;
  }

  /* Links */
  .header__nav li {
    margin-bottom: 22px;
  }

  .header__nav a {
    font-size: 17px;
    font-weight: 500;
    color: #0f172a;
  }

  /* Hamburger clean look */
  .header__toggle {
    display: flex;
    flex-direction: column;
    gap: 6px;
    background: transparent !important;
    border: none;
    padding: 0;
    cursor: pointer;
    z-index: 1002;
  }

  .header__toggle span {
    width: 26px;
    height: 2px;
    background: #0f172a;
  }

  /* Hide desktop CTA */
  .header__cta {
    display: none;
  }

  /* Overlay */
  .mobile-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.4);
    backdrop-filter: blur(2px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
  }

  .mobile-overlay.active {
    opacity: 1;
    visibility: visible;
  }

  body.menu-open {
    overflow: hidden;
  }

}

/* Desktop Safety */
@media (min-width: 992px) {

  .header__toggle,
  .header__close,
  .mobile-overlay {
    display: none !important;
  }

}

/* FORCE HERO BACKGROUND FOR REFUND */

.page-template-page-refund .page-header {
  background: linear-gradient(135deg, #1e3a8a 0%, #0f172a 100%) !important;
  color: #ffffff !important;
}

.page-template-page-refund .page-header__title,
.page-template-page-refund .page-header__desc {
  color: #ffffff !important;
}

/* ========================= */
/* REFUND BODY – MATCH TERMS */
/* ========================= */

.page-template-page-refund .section.section--no-border {
  padding: 5rem 0 4rem 0;
}

.page-template-page-refund .container--narrow {
  max-width: 900px;
  margin: 0 auto;
}

.page-template-page-refund .terms-section {
  margin-bottom: 3rem;
}

.page-template-page-refund .terms-section__title {
  font-size: 1.6rem;
  font-weight: 600;
  margin-bottom: 1.2rem;
  color: #0f172a;
}

.page-template-page-refund .terms-section p {
  font-size: 1rem;
  line-height: 1.8;
  color: #334155;
  margin-bottom: 1rem;
}

.page-template-page-refund .terms-section ul {
  margin-top: 1rem;
  padding-left: 1.4rem;
}

.page-template-page-refund .terms-section li {
  margin-bottom: .6rem;
  color: #334155;
}

/* FORCE HERO BACKGROUND FOR PRIVACY */

.page-template-page-privacy .page-header {
  background: linear-gradient(135deg, #1e3a8a 0%, #0f172a 100%);
  color: #ffffff;
}

.page-template-page-privacy .page-header__title,
.page-template-page-privacy .page-header__desc {
  color: #ffffff;
}

/* =============================== */
/* PRIVACY PAGE – BODY STRUCTURE  */
/* =============================== */

.page-template-page-privacy #kbh-app .section.section--no-border {
  padding: 5rem 0 4rem 0;
  background: #ffffff;
}

.page-template-page-privacy #kbh-app .container.container--narrow {
  max-width: 900px;
  margin: 0 auto;
}

.page-template-page-privacy #kbh-app .terms-section {
  margin-bottom: 3rem;
}

.page-template-page-privacy #kbh-app .terms-section__title {
  font-size: 1.7rem;
  font-weight: 600;
  margin-bottom: 1.3rem;
  color: #0f172a;
}

.page-template-page-privacy #kbh-app .terms-section p {
  font-size: 1.05rem;
  line-height: 1.9;
  color: #1e293b;
  margin-bottom: 1.2rem;
}

.page-template-page-privacy #kbh-app .terms-section ul {
  margin-top: 1rem;
  padding-left: 1.5rem;
}

.page-template-page-privacy #kbh-app .terms-section li {
  margin-bottom: .7rem;
  color: #1e293b;
}