/* ==========================================================================
   Kalpana Makeovers — Premium Design System
   Fonts: Belleza (headings) + Poppins (body)
   ========================================================================== */

:root {
  /* Brand palette */
  --gold: #C0914E;
  --gold-light: #D8B074;
  --gold-dark: #A2783A;
  --maroon: #A82B4F;
  --navy: #11284B;
  --navy-deep: #0B1B33;
  --ivory: #F8F5F0;
  --beige: #EEE7DE;
  --ink: #2B2B2B;
  --white: #FFFFFF;
  --muted: #6B6257;
  --line: rgba(17, 40, 75, 0.12);

  /* Typography */
  --font-head: 'Belleza', 'Cormorant Garamond', serif;
  --font-body: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Effects */
  --shadow-sm: 0 4px 18px rgba(17, 40, 75, 0.08);
  --shadow-md: 0 14px 40px rgba(17, 40, 75, 0.12);
  --shadow-lg: 0 30px 70px rgba(17, 40, 75, 0.18);
  --radius: 18px;
  --radius-lg: 28px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  /* Layout */
  --maxw: 1240px;
  --gutter: clamp(20px, 5vw, 60px);
  --nav-h: 84px;
}

/* ------------------------------- Reset ---------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--ivory);
  line-height: 1.7;
  font-size: 16px;
  font-weight: 300;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, select, textarea { font-family: inherit; font-size: 1rem; }

/* ----------------------------- Typography -------------------------------- */
h1, h2, h3, h4, h5 { font-family: var(--font-head); font-weight: 400; line-height: 1.12; color: var(--navy); letter-spacing: 0.5px; }
h1 { font-size: clamp(2.4rem, 5.5vw, 4.4rem); }
h2 { font-size: clamp(1.9rem, 4vw, 3rem); }
h3 { font-size: clamp(1.4rem, 2.4vw, 2rem); }
h4 { font-size: clamp(1.15rem, 1.6vw, 1.4rem); }
p { color: var(--muted); }
strong { font-weight: 600; color: var(--ink); }

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold-dark);
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.eyebrow::before { content: ""; width: 32px; height: 1px; background: var(--gold); display: inline-block; }
.eyebrow.center::after { content: ""; width: 32px; height: 1px; background: var(--gold); display: inline-block; }

/* ------------------------------ Layout ----------------------------------- */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(64px, 9vw, 130px); }
.section--tight { padding-block: clamp(48px, 6vw, 80px); }
.bg-ivory { background: var(--ivory); }
.bg-beige { background: var(--beige); }
.bg-navy { background: var(--navy); color: var(--ivory); }
.bg-navy h1, .bg-navy h2, .bg-navy h3, .bg-navy h4 { color: var(--white); }
.bg-navy p { color: rgba(248, 245, 240, 0.78); }
.bg-white { background: var(--white); }

.section-head { max-width: 720px; margin: 0 auto clamp(40px, 5vw, 64px); }
.section-head.center { text-align: center; }
.section-head h2 { margin: 16px 0 14px; }
.section-head p { font-size: 1.05rem; }

.grid { display: grid; gap: clamp(18px, 2.4vw, 32px); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* ------------------------------ Buttons ---------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 34px; border-radius: 100px;
  font-size: 0.82rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), background .4s var(--ease), color .4s var(--ease);
  cursor: pointer; white-space: nowrap;
}
.btn-gold { background: linear-gradient(135deg, var(--gold-light), var(--gold-dark)); color: #fff; box-shadow: 0 12px 28px rgba(192, 145, 78, 0.35); }
.btn-gold:hover { transform: translateY(-3px); box-shadow: 0 18px 38px rgba(192, 145, 78, 0.45); }
.btn-navy { background: var(--navy); color: var(--ivory); }
.btn-navy:hover { transform: translateY(-3px); background: var(--navy-deep); box-shadow: var(--shadow-md); }
.btn-outline { border: 1.5px solid currentColor; color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: #fff; transform: translateY(-3px); }
.btn-ghost-light { border: 1.5px solid rgba(248,245,240,.5); color: var(--ivory); }
.btn-ghost-light:hover { background: var(--ivory); color: var(--navy); }
.btn-whatsapp { background: #25D366; color: #fff; }
.btn-whatsapp:hover { transform: translateY(-3px); box-shadow: 0 16px 34px rgba(37, 211, 102, .4); }
.btn-lg { padding: 18px 44px; font-size: 0.86rem; }
.btn-block { width: 100%; }

/* ------------------------------- Header ---------------------------------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 1000; height: var(--nav-h);
  display: flex; align-items: center;
  background: rgba(248, 245, 240, 0.82);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: background .4s var(--ease), box-shadow .4s var(--ease), height .4s var(--ease), border-color .4s var(--ease);
}
.site-header.scrolled { background: rgba(248, 245, 240, 0.97); box-shadow: var(--shadow-sm); border-color: var(--line); }
.nav { width: 100%; max-width: var(--maxw); margin: 0 auto; padding-inline: var(--gutter); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.nav-logo img { height: 46px; width: auto; }
.nav-logo .logo-text { font-family: var(--font-head); font-size: 1.5rem; color: var(--navy); letter-spacing: 2px; line-height: 1; }
.nav-logo .logo-text small { display: block; font-size: 0.62rem; letter-spacing: 0.5em; color: var(--gold-dark); font-family: var(--font-body); margin-top: 2px; }

.nav-menu { display: flex; align-items: center; gap: 4px; }
.nav-menu > li { position: relative; }
.nav-link {
  display: flex; align-items: center; gap: 6px;
  padding: 12px 14px; font-size: 0.82rem; font-weight: 500; letter-spacing: 0.05em;
  color: var(--navy); border-radius: 8px; transition: color .3s; white-space: nowrap;
}
.nav-link .caret { width: 8px; height: 8px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); margin-top: -3px; transition: transform .3s; }
.nav-link:hover, .nav-link.active { color: var(--gold-dark); }
.has-dropdown:hover .nav-link .caret { transform: rotate(-135deg); margin-top: 2px; }

.dropdown {
  position: absolute; top: calc(100% + 6px); left: 50%; transform: translateX(-50%) translateY(10px);
  min-width: 268px; background: #fff; border-radius: 16px; box-shadow: var(--shadow-md);
  padding: 12px; opacity: 0; visibility: hidden; transition: opacity .3s var(--ease), transform .3s var(--ease);
  border: 1px solid var(--line);
}
.has-dropdown:hover .dropdown { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
/* Invisible bridge across the gap so moving the cursor into the dropdown doesn't drop the hover */
@media (min-width: 1025px) {
  .dropdown::before { content: ""; position: absolute; left: 0; right: 0; top: -10px; height: 12px; }
}
.dropdown a { display: block; padding: 11px 16px; font-size: 0.85rem; color: var(--navy); border-radius: 10px; transition: background .25s, color .25s, padding-left .25s; white-space: nowrap; }
.dropdown a:hover { background: var(--beige); color: var(--gold-dark); padding-left: 22px; }
.nav-cta { display: flex; align-items: center; gap: 12px; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.nav-toggle span { width: 26px; height: 2px; background: var(--navy); border-radius: 2px; transition: transform .3s, opacity .3s; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ------------------------------ Hero ------------------------------------- */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; padding-top: var(--nav-h); overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: -2; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(105deg, rgba(11, 27, 51, 0.82) 0%, rgba(11, 27, 51, 0.55) 45%, rgba(17, 40, 75, 0.2) 100%); }
.hero-inner { color: var(--ivory); max-width: 760px; padding-block: 60px; }
.hero h1 { color: #fff; margin: 22px 0; }
.hero p.lead { font-size: clamp(1.05rem, 2vw, 1.3rem); color: rgba(248, 245, 240, 0.9); max-width: 560px; }
.hero .eyebrow { color: var(--gold-light); }
.hero .eyebrow::before { background: var(--gold-light); }

/* Hero with no image — solid premium dark background */
.hero--solid { background: radial-gradient(120% 90% at 85% 12%, rgba(192,145,78,.22), transparent 50%), linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 55%, #173a66 100%); }
.hero--solid::after { display: none; }

/* Page hero (interior) */
.page-hero { position: relative; padding: calc(var(--nav-h) + 70px) 0 70px; text-align: center; overflow: hidden; }
.page-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(11,27,51,.78), rgba(11,27,51,.6)); }
.page-hero .hero-bg { position: absolute; inset: 0; z-index: -2; }
.page-hero h1 { color: #fff; margin: 14px auto; max-width: 14ch; }
.page-hero p { color: rgba(248,245,240,.88); max-width: 620px; margin: 0 auto; font-size: 1.08rem; }
.page-hero .eyebrow { color: var(--gold-light); justify-content: center; }
.page-hero .eyebrow::before { background: var(--gold-light); }
.breadcrumb { margin-top: 22px; font-size: 0.78rem; letter-spacing: .08em; color: rgba(248,245,240,.7); }
.breadcrumb a:hover { color: var(--gold-light); }

/* --------------------------- Journey cards ------------------------------- */
.journey { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 44px; }
.journey-card {
  position: relative; border-radius: var(--radius-lg); overflow: hidden; min-height: 340px;
  display: flex; flex-direction: column; justify-content: flex-end; padding: 34px;
  color: #fff; box-shadow: var(--shadow-md); isolation: isolate;
  transition: transform .5s var(--ease);
}
.journey-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .7s var(--ease); }
.journey-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(11,27,51,.9) 5%, rgba(11,27,51,.35) 70%); }
.journey-card:hover { transform: translateY(-6px); }
.journey-card:hover img { transform: scale(1.07); }
.journey-card .tag { font-size: .72rem; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-light); font-weight: 600; }
.journey-card h3 { color: #fff; margin: 10px 0 8px; font-size: 1.8rem; }
.journey-card p { color: rgba(248,245,240,.85); font-size: .94rem; margin-bottom: 18px; }
.journey-card .go { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: #fff; }
.journey-card .go::after { content: "→"; transition: transform .3s; }
.journey-card:hover .go::after { transform: translateX(6px); }
.journey-card.featured { outline: 2px solid var(--gold); outline-offset: -2px; }
.journey-card .badge-priority { position: absolute; top: 20px; right: 20px; background: var(--gold); color: #fff; font-size: .64rem; letter-spacing: .15em; text-transform: uppercase; padding: 6px 12px; border-radius: 100px; z-index: 1; font-weight: 600; }

/* --------------------------- Stats / credibility ------------------------- */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; text-align: center; }
.stat .num { font-family: var(--font-head); font-size: clamp(2.6rem, 5vw, 4rem); color: var(--gold); line-height: 1; }
.stat .label { font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-top: 10px; }
.bg-navy .stat .label { color: rgba(248,245,240,.7); }

/* ------------------------------ Cards ------------------------------------ */
.card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .45s var(--ease), box-shadow .45s var(--ease); border: 1px solid var(--line); }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.card-media { aspect-ratio: 4/5; overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; object-position: center top; transition: transform .7s var(--ease); }
.card:hover .card-media img { transform: scale(1.06); }
.card-body { padding: 26px; }
.card-body h3 { margin-bottom: 10px; }
.card-body .price { font-family: var(--font-head); font-size: 1.5rem; color: var(--gold-dark); }

/* Course card */
.course-card { display: flex; flex-direction: column; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-sm); border: 1px solid var(--line); overflow: hidden; transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.course-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.course-card.popular { border-color: var(--gold); }
.course-card .ribbon { background: var(--gold); color: #fff; text-align: center; font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; padding: 8px; font-weight: 600; }
.course-card .cc-body { padding: 30px; display: flex; flex-direction: column; flex: 1; }
.course-card .meta { display: flex; gap: 18px; flex-wrap: wrap; margin: 8px 0 16px; font-size: .8rem; color: var(--muted); letter-spacing: .04em; }
.course-card .meta span { display: inline-flex; align-items: center; gap: 6px; }
.course-card .fee { font-family: var(--font-head); font-size: 2rem; color: var(--navy); margin-bottom: 4px; }
.course-card .best-for { font-size: .82rem; color: var(--gold-dark); font-weight: 500; margin-bottom: 16px; }
.course-card ul.feat { margin: 0 0 24px; display: grid; gap: 9px; }
.course-card ul.feat li { position: relative; padding-left: 26px; font-size: .9rem; color: var(--muted); }
.course-card ul.feat li::before { content: "✦"; position: absolute; left: 0; color: var(--gold); }
.course-card .cc-foot { margin-top: auto; }

/* Feature / value items */
.feature { background: #fff; padding: 32px; border-radius: var(--radius); box-shadow: var(--shadow-sm); border: 1px solid var(--line); transition: transform .4s var(--ease); }
.feature:hover { transform: translateY(-5px); }
.feature .icon { width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center; background: var(--beige); color: var(--gold-dark); font-size: 1.5rem; margin-bottom: 18px; }
.feature h4 { margin-bottom: 8px; }
.feature p { font-size: .92rem; }
/* Feature cards inside a dark section: glass card + light text (fixes white-on-white) */
.bg-navy .feature { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.14); }
.bg-navy .feature h4 { color: #fff; }
.bg-navy .feature p { color: rgba(248,245,240,0.8); }
.bg-navy .feature .icon { background: rgba(255,255,255,0.1); color: var(--gold-light); }

/* Split content */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 70px); align-items: center; }
.split.reverse .split-media { order: 2; }
.split-media { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); aspect-ratio: 5/4; }
.split-media img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.split-text h2 { margin: 16px 0 18px; }
.split-text .btn { margin-top: 26px; }

/* Checklist */
.checklist { display: grid; gap: 14px; margin: 22px 0; }
.checklist li { position: relative; padding-left: 36px; color: var(--muted); }
.checklist li::before { content: "✓"; position: absolute; left: 0; top: 1px; width: 22px; height: 22px; border-radius: 50%; background: var(--gold); color: #fff; display: grid; place-items: center; font-size: .75rem; font-weight: 700; }
.bg-navy .checklist li { color: rgba(248,245,240,.85); }

/* ------------------------------ Gallery ---------------------------------- */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.gallery.cols-3 { grid-template-columns: repeat(3, 1fr); }
.gallery-item { position: relative; border-radius: 14px; overflow: hidden; aspect-ratio: 3/4; cursor: pointer; box-shadow: var(--shadow-sm); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.gallery-item:hover img { transform: scale(1.08); }
.gallery-item .cap { position: absolute; inset: auto 0 0 0; padding: 30px 16px 14px; background: linear-gradient(0deg, rgba(11,27,51,.85), transparent); color: #fff; font-size: .8rem; opacity: 0; transform: translateY(8px); transition: opacity .35s, transform .35s; }
.gallery-item:hover .cap { opacity: 1; transform: translateY(0); }

/* Filter chips */
.filters { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 38px; }
.chip { padding: 10px 22px; border-radius: 100px; border: 1px solid var(--line); background: #fff; font-size: .8rem; letter-spacing: .06em; color: var(--navy); transition: all .3s; }
.chip:hover { border-color: var(--gold); color: var(--gold-dark); }
.chip.active { background: var(--navy); color: #fff; border-color: var(--navy); }

/* --------------------------- Testimonials -------------------------------- */
.quote-card { background: #fff; border-radius: var(--radius); padding: 36px; box-shadow: var(--shadow-sm); border: 1px solid var(--line); position: relative; }
.quote-card::before { content: "“"; font-family: var(--font-head); font-size: 5rem; color: var(--gold); opacity: .25; position: absolute; top: 6px; left: 22px; line-height: 1; }
.quote-card p { font-size: 1rem; color: var(--ink); font-style: italic; position: relative; }
.quote-card .who { margin-top: 20px; display: flex; align-items: center; gap: 12px; }
.quote-card .who .av { width: 44px; height: 44px; border-radius: 50%; background: var(--beige); display: grid; place-items: center; font-family: var(--font-head); color: var(--gold-dark); font-size: 1.2rem; }
.quote-card .who b { display: block; font-size: .92rem; color: var(--navy); }
.quote-card .who span { font-size: .78rem; color: var(--muted); }
.stars { color: var(--gold); letter-spacing: 3px; margin-bottom: 14px; font-size: .9rem; }

/* ------------------------------- Tables ---------------------------------- */
.table-wrap { overflow-x: auto; border-radius: var(--radius); box-shadow: var(--shadow-sm); border: 1px solid var(--line); }
table.fees { width: 100%; border-collapse: collapse; background: #fff; min-width: 560px; }
table.fees th, table.fees td { padding: 18px 22px; text-align: left; border-bottom: 1px solid var(--line); font-size: .92rem; }
table.fees thead th { background: var(--navy); color: var(--ivory); font-family: var(--font-body); font-weight: 500; letter-spacing: .06em; font-size: .82rem; text-transform: uppercase; }
table.fees tbody tr:hover { background: var(--beige); }
table.fees td:nth-child(3) { font-family: var(--font-head); color: var(--gold-dark); font-size: 1.1rem; }

/* ------------------------------ Accordion -------------------------------- */
.accordion { max-width: 820px; margin: 0 auto; }
.acc-item { background: #fff; border: 1px solid var(--line); border-radius: 14px; margin-bottom: 14px; overflow: hidden; }
.acc-head { width: 100%; text-align: left; padding: 22px 26px; display: flex; justify-content: space-between; align-items: center; gap: 16px; font-family: var(--font-head); font-size: 1.15rem; color: var(--navy); }
.acc-head .pm { width: 22px; height: 22px; position: relative; flex-shrink: 0; }
.acc-head .pm::before, .acc-head .pm::after { content: ""; position: absolute; background: var(--gold); border-radius: 2px; }
.acc-head .pm::before { width: 100%; height: 2px; top: 10px; }
.acc-head .pm::after { height: 100%; width: 2px; left: 10px; transition: transform .3s; }
.acc-item.open .pm::after { transform: scaleY(0); }
.acc-body { max-height: 0; overflow: hidden; transition: max-height .4s var(--ease); }
.acc-body-inner { padding: 0 26px 24px; color: var(--muted); }

/* ------------------------------- Forms ----------------------------------- */
.form-card { background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-md); padding: clamp(28px, 4vw, 46px); border: 1px solid var(--line); }
.form-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 30px; }
.form-tab { flex: 1; min-width: 150px; padding: 14px; border-radius: 12px; background: var(--beige); color: var(--navy); font-size: .82rem; font-weight: 500; letter-spacing: .04em; text-align: center; transition: all .3s; border: 1px solid transparent; }
.form-tab.active { background: var(--navy); color: #fff; }
.form-panel { display: none; }
.form-panel.active { display: block; animation: fade .4s var(--ease); }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: .8rem; font-weight: 500; letter-spacing: .04em; color: var(--navy); margin-bottom: 8px; }
.field label .req { color: var(--gold-dark); }
.field input, .field select, .field textarea {
  width: 100%; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px;
  background: var(--ivory); color: var(--ink); transition: border-color .3s, box-shadow .3s; font-weight: 300;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(192,145,78,.15); background: #fff; }
.field textarea { resize: vertical; min-height: 110px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: .8rem; color: var(--muted); margin-bottom: 22px; }
.consent input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--gold); flex-shrink: 0; }
.form-note { font-size: .78rem; color: var(--muted); text-align: center; margin-top: 16px; }
.form-success { display: none; background: #ecf7ef; border: 1px solid #b7e0c2; color: #1d6b38; padding: 16px; border-radius: 12px; margin-bottom: 18px; font-size: .9rem; }

/* ------------------------- CTA band / banner ----------------------------- */
.cta-band { position: relative; border-radius: var(--radius-lg); overflow: hidden; padding: clamp(40px, 6vw, 76px); text-align: center; color: #fff; isolation: isolate; }
.cta-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(135deg, var(--navy-deep), var(--navy)); }
.cta-band h2 { color: #fff; max-width: 18ch; margin: 0 auto 14px; }
.cta-band p { color: rgba(248,245,240,.82); max-width: 56ch; margin: 0 auto 28px; }
.cta-band .btn-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ------------------------------ Info list -------------------------------- */
.info-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 22px; }
.info-item { padding: 24px; background: #fff; border-radius: 14px; border: 1px solid var(--line); }
.info-item .k { font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-dark); }
.info-item .v { font-family: var(--font-head); font-size: 1.25rem; color: var(--navy); margin-top: 6px; }

/* Steps */
.steps { counter-reset: step; display: grid; gap: 20px; }
.step { display: flex; gap: 20px; align-items: flex-start; }
.step::before { counter-increment: step; content: counter(step); flex-shrink: 0; width: 46px; height: 46px; border-radius: 50%; background: var(--navy); color: var(--gold-light); font-family: var(--font-head); font-size: 1.3rem; display: grid; place-items: center; }
.step h4 { margin-bottom: 4px; }
.step p { font-size: .92rem; }

/* Timeline (weeks) */
.timeline { display: grid; gap: 0; }
.tl-item { display: grid; grid-template-columns: 130px 1fr; gap: 24px; padding: 26px 0; border-bottom: 1px solid var(--line); }
.tl-item:last-child { border-bottom: none; }
.tl-week { font-family: var(--font-head); font-size: 1.3rem; color: var(--gold-dark); }
.tl-item p { font-size: .94rem; margin-top: 4px; }

/* Blog */
.post-card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--line); transition: transform .4s var(--ease), box-shadow .4s var(--ease); display: flex; flex-direction: column; }
.post-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.post-card .pc-media { aspect-ratio: 16/10; overflow: hidden; }
.post-card .pc-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.post-card:hover .pc-media img { transform: scale(1.06); }
.post-card .pc-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.post-card .cat { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-dark); font-weight: 600; }
.post-card h3 { font-size: 1.3rem; margin: 10px 0 10px; }
.post-card .read { margin-top: auto; font-size: .8rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--navy); }

/* Pills row */
.pill-row { display: flex; flex-wrap: wrap; gap: 10px; }
.pill { background: var(--beige); color: var(--navy); padding: 8px 18px; border-radius: 100px; font-size: .82rem; }

/* ------------------------------- Footer ---------------------------------- */
.site-footer { background: var(--navy-deep); color: rgba(248,245,240,.7); padding-top: 70px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 50px; }
.site-footer h4 { color: #fff; font-family: var(--font-body); font-size: .82rem; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 20px; }
.footer-brand .logo-text { font-family: var(--font-head); font-size: 1.7rem; color: #fff; letter-spacing: 2px; }
.footer-brand .logo-text small { display: block; font-size: .6rem; letter-spacing: .5em; color: var(--gold-light); margin-top: 4px; }
.footer-brand img { height: 50px; margin-bottom: 18px; }
.footer-brand p { font-size: .9rem; margin-top: 16px; max-width: 32ch; color: rgba(248,245,240,.92); }
.footer-links li { margin-bottom: 11px; }
.footer-links a { font-size: .9rem; transition: color .25s, padding-left .25s; }
.footer-links a:hover { color: var(--gold-light); padding-left: 5px; }
.footer-contact li { font-size: .9rem; margin-bottom: 12px; display: flex; gap: 10px; }
.footer-contact a:hover { color: var(--gold-light); }
.footer-social { display: flex; gap: 12px; margin-top: 18px; }
.footer-social a { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(248,245,240,.2); display: grid; place-items: center; transition: all .3s; font-size: .9rem; }
.footer-social a:hover { background: var(--gold); border-color: var(--gold); color: #fff; }
.footer-bottom { border-top: 1px solid rgba(248,245,240,.12); padding: 24px 0; text-align: center; font-size: .8rem; }
.footer-bottom a:hover { color: var(--gold-light); }

/* --------------------------- Floating buttons ---------------------------- */
.floating { position: fixed; right: 20px; bottom: 22px; z-index: 900; display: flex; flex-direction: column; gap: 12px; }
.float-btn { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; box-shadow: var(--shadow-md); color: #fff; transition: transform .3s; }
.float-btn:hover { transform: scale(1.1); }
.float-btn svg { width: 26px; height: 26px; }
.float-wa { background: #25D366; }
.float-call { background: var(--gold-dark); }
.float-btn::after { content: attr(data-label); position: absolute; right: 66px; background: var(--navy); color: #fff; padding: 7px 12px; border-radius: 8px; font-size: .74rem; white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity .3s; }
.float-btn:hover::after { opacity: 1; }

/* ------------------------- Scroll animations ----------------------------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }
.reveal.d4 { transition-delay: .32s; }
@keyframes fade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ----------------------------- Lightbox ---------------------------------- */
.lightbox { position: fixed; inset: 0; z-index: 2000; background: rgba(11,27,51,.92); display: none; align-items: center; justify-content: center; padding: 30px; }
.lightbox.open { display: flex; }
.lightbox img { max-width: 92vw; max-height: 88vh; border-radius: 10px; box-shadow: var(--shadow-lg); }
.lightbox .lb-close { position: absolute; top: 22px; right: 28px; color: #fff; font-size: 2.4rem; line-height: 1; }

/* ------------------------------ Utilities -------------------------------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; } .mt-1 { margin-top: 14px; } .mt-2 { margin-top: 26px; } .mt-3 { margin-top: 40px; }
.mb-2 { margin-bottom: 26px; }
.btn-row { display: flex; gap: 14px; flex-wrap: wrap; }
.lead { font-size: 1.1rem; }
.maxw-prose { max-width: 760px; }
.divider { height: 1px; background: var(--line); border: none; margin: 0; }
.img-frame { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); }
.img-frame img { width: 100%; }

/* ----------------------------- Responsive -------------------------------- */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .gallery { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 1024px) {
  .nav-menu, .nav-cta .btn-secondary { display: none; }
  .nav-toggle { display: flex; }
  .nav-menu.open {
    display: flex; flex-direction: column; align-items: stretch; gap: 0;
    position: fixed; top: 100%; left: 0; right: 0;
    height: calc(100vh - var(--nav-h)); height: calc(100dvh - var(--nav-h));
    background: var(--ivory);
    padding: 12px var(--gutter) 40px; overflow-y: auto; z-index: 1001;
    box-shadow: inset 0 8px 16px -12px rgba(17,40,75,.2);
    -webkit-overflow-scrolling: touch;
  }
  .nav-menu.open > li { border-bottom: 1px solid var(--line); }
  .nav-menu.open .nav-link { padding: 17px 4px; font-size: 1.05rem; justify-content: space-between; }
  .nav-menu.open .nav-link .caret { transition: transform .3s; }
  .nav-menu.open .has-dropdown.expanded > .nav-link .caret { transform: rotate(-135deg); margin-top: 2px; }
  .nav-menu.open .dropdown {
    position: static; transform: none; opacity: 1; visibility: visible; box-shadow: none;
    border: none; background: transparent; padding: 0 0 10px 12px; min-width: 0; display: none;
  }
  .nav-menu.open .has-dropdown.expanded .dropdown { display: block; }
  .nav-menu.open .dropdown a { padding: 12px 8px; font-size: .95rem; }
  .journey { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; }
  .split.reverse .split-media { order: 0; }
}
@media (max-width: 768px) {
  :root { --nav-h: 68px; }
  .section { padding-block: clamp(48px, 11vw, 80px); }
  .grid-2 { grid-template-columns: 1fr; }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: 1fr; gap: 26px; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .field-row { grid-template-columns: 1fr; }
  .tl-item { grid-template-columns: 1fr; gap: 6px; }
  .hero { min-height: auto; padding-block: calc(var(--nav-h) + 40px) 60px; }
  .hero h1 { font-size: clamp(2rem, 8.5vw, 2.8rem); }
  .hero p.lead { font-size: 1rem; }
  .journey { margin-top: 30px; }
  .journey-card { min-height: 280px; padding: 26px; }
  .page-hero { padding: calc(var(--nav-h) + 44px) 0 50px; }
  .section-head { margin-bottom: 34px; }
  .split { gap: 30px; }
  .cta-band .btn-row, .hero .btn-row { width: 100%; }
}
@media (max-width: 520px) {
  .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .btn { width: 100%; }
  .btn-row { flex-direction: column; align-items: stretch; }
  .nav-cta .btn { padding: 11px 18px; font-size: .72rem; }
  .form-tabs { flex-direction: column; }
  .form-tab { min-width: 0; }
  .quote-card, .feature, .card-body, .form-card { padding: 24px; }
  .info-grid { grid-template-columns: 1fr; }
  .stat .num { font-size: clamp(2.4rem, 12vw, 3rem); }
  .breadcrumb { font-size: .72rem; }
  /* Footer: single centered column */
  .footer-grid { grid-template-columns: 1fr; gap: 32px; text-align: center; }
  .footer-brand .nav-logo { justify-content: center; }
  .footer-brand p { margin-inline: auto; }
  .footer-social { justify-content: center; }
  .footer-contact li { justify-content: center; }
  .site-footer h4 { margin-bottom: 14px; }
  .footer-bottom { font-size: .74rem; line-height: 1.8; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* --------------------- Branded image placeholder ------------------------- */
.km-ph {
  width: 100%; height: 100%; min-height: 100%;
  display: grid; place-items: center; text-align: center;
  background:
    radial-gradient(120% 120% at 0% 0%, rgba(216,176,116,.35), transparent 55%),
    linear-gradient(135deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: rgba(248,245,240,.9); padding: 18px;
}
.km-ph span { font-family: var(--font-head); font-size: clamp(.8rem, 1.6vw, 1.1rem); letter-spacing: .06em; line-height: 1.4; }
.km-ph small { display:block; font-family: var(--font-body); font-size:.62rem; letter-spacing:.22em; text-transform:uppercase; color: var(--gold-light); margin-top:8px; }

/* ------------------------- Brand logo ------------------------------------ */
.nav-logo { display: flex; align-items: center; gap: 11px; }
.km-logo-img { height: 46px; width: auto; max-width: min(64vw, 340px); object-fit: contain; display: block; }
/* Footer: place the logo on a light plate so the dark wordmark stays legible on navy */
.nav-logo--footer { background: var(--ivory); padding: 12px 18px; border-radius: 14px; box-shadow: var(--shadow-sm); }
.footer-brand .nav-logo { margin-bottom: 18px; }
.footer-brand .km-logo-img { height: 50px; }

/* Vector fallback (used only if logo.png is absent) */
.km-mark { height: 44px; width: auto; display: block; flex-shrink: 0; }
.km-word { display: flex; flex-direction: column; line-height: 1; }
.km-word b { font-family: var(--font-head); font-weight: 400; font-size: 1.6rem; letter-spacing: 0.14em; color: var(--maroon); }
.km-word i { font-style: normal; font-family: var(--font-body); font-weight: 500; font-size: 0.6rem; letter-spacing: 0.4em; color: #4A4A4A; margin-top: 4px; }
.footer-brand .km-mark { height: 50px; }
.footer-brand .km-word b { font-size: 1.75rem; }
@media (max-width: 520px) {
  .km-logo-img { height: 40px; }
  .km-mark { height: 38px; }
  .km-word b { font-size: 1.3rem; letter-spacing: 0.1em; }
  .km-word i { font-size: 0.54rem; letter-spacing: 0.34em; }
}

/* ------------------------------ Carousel --------------------------------- */
.carousel { position: relative; padding: 0 8px; }
.carousel-viewport { overflow: hidden; }
.carousel-track { display: flex; transition: transform .55s var(--ease); will-change: transform; }
.carousel-slide { flex: 0 0 100%; max-width: 100%; padding: 8px 12px; box-sizing: border-box; }
.carousel-slide > * { height: 100%; }
@media (min-width: 769px) { .carousel-slide { flex-basis: 50%; max-width: 50%; } }

.carousel-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
  width: 50px; height: 50px; border-radius: 50%; background: #fff; color: var(--navy);
  display: grid; place-items: center; box-shadow: var(--shadow-md);
  font-size: 1.6rem; line-height: 1; padding-bottom: 4px;
  transition: background .3s, color .3s, transform .3s; border: 1px solid var(--line);
}
.carousel-arrow:hover { background: var(--navy); color: #fff; }
.carousel-arrow.prev { left: -14px; }
.carousel-arrow.next { right: -14px; }

.carousel-dots { display: flex; gap: 10px; justify-content: center; margin-top: 30px; }
.carousel-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--line); transition: background .3s, width .3s; cursor: pointer; }
.carousel-dot.active { background: var(--gold); width: 28px; border-radius: 6px; }

@media (max-width: 600px) {
  .carousel { padding: 0; }
  .carousel-arrow { display: none; }
  .carousel-slide { padding: 8px 6px; }
}


/* ==========================================================================
   Preloader
   ========================================================================== */
#km-preloader {
  position: fixed;
  inset: 0;
  z-index: 11000;
  display: grid;
  place-items: center;
  background: radial-gradient(circle at 50% 38%, #16315a 0%, var(--navy-deep) 72%);
  transition: opacity .6s ease, visibility .6s ease;
}
#km-preloader.is-hidden { opacity: 0; visibility: hidden; }
.km-pre-inner { display: flex; flex-direction: column; align-items: center; gap: 24px; }
.km-pre-mark { position: relative; width: 96px; height: 96px; display: grid; place-items: center; }
.km-pre-mark .km-mark {
  width: 62px; height: auto;
  animation: kmMarkIn .9s cubic-bezier(.2,.8,.2,1) both, kmMarkGlow 2.4s ease-in-out 1s infinite;
}
.km-pre-ring {
  position: absolute; inset: 0; border-radius: 50%;
  border: 2px solid rgba(192,145,78,.16);
  border-top-color: var(--gold);
  animation: kmSpin 1s linear infinite;
}
.km-pre-word {
  font-family: var(--font-head);
  color: #fff;
  font-size: 1.55rem;
  letter-spacing: .34em;
  text-indent: .34em;
  opacity: 0;
  animation: kmWordIn .8s ease .35s forwards;
}
.km-pre-word small {
  display: block;
  text-align: center;
  font-size: .42em;
  letter-spacing: .52em;
  text-indent: .52em;
  color: var(--gold-light);
  margin-top: 9px;
}
.km-pre-bar { width: 150px; height: 2px; background: rgba(248,245,240,.14); border-radius: 2px; overflow: hidden; }
.km-pre-bar::after {
  content: "";
  display: block;
  height: 100%;
  width: 40%;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  animation: kmBar 1.2s ease-in-out infinite;
}

@keyframes kmSpin { to { transform: rotate(360deg); } }
@keyframes kmMarkIn { from { opacity: 0; transform: scale(.55); } to { opacity: 1; transform: scale(1); } }
@keyframes kmMarkGlow {
  0%, 100% { filter: drop-shadow(0 0 0 rgba(192,145,78,0)); }
  50% { filter: drop-shadow(0 0 14px rgba(192,145,78,.55)); }
}
@keyframes kmWordIn { to { opacity: 1; } }
@keyframes kmBar { 0% { transform: translateX(-130%); } 100% { transform: translateX(340%); } }

@media (prefers-reduced-motion: reduce) {
  .km-pre-mark .km-mark, .km-pre-ring, .km-pre-word, .km-pre-bar::after { animation: none; }
  .km-pre-word { opacity: 1; }
}
