/* ============================================
   DCMS (MM2H) — Design System
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&display=swap');

/* Hides the page briefly while a non-English session language is applied,
   to avoid a flash of English text before translations run. Removed by
   main.js immediately once applyTranslations() has finished. */
html.i18n-pending body { visibility: hidden; }

:root {
  /* Color */
  --cream: #FBF9F4;
  --cream-deep: #F0EAD9;
  --gold: #A9822F;
  --gold-light: #C9A45C;
  --gold-pale: #EFE2C4;
  --ink: #231F18;
  --ink-soft: #4A4438;
  --jade: #1F4B3F;
  --jade-light: #2E6B58;
  --dark-bg: #133027;
  --clay: #8C3B2E;
  --white: #FFFFFF;
  --line: rgba(35, 31, 24, 0.12);

  /* Type */
  --serif: 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;
  --sans: 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Layout */
  --max: 1180px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --radius: 4px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 0.5em;
  color: var(--ink);
}

h1 { font-size: clamp(2.2rem, 6vw, 4rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3.8vw, 2.5rem); font-weight: 700; }
h3 { font-size: clamp(1.25rem, 2vw, 1.55rem); font-weight: 600; }

p { margin: 0 0 1em; max-width: 62ch; }
.lede { font-size: 1rem; color: var(--ink-soft); max-width: none; }

:focus-visible {
  outline: 2px solid var(--jade);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.85em 1.7em;
  border-radius: var(--radius);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.btn-primary { background: var(--jade); color: var(--cream); }
.btn-primary:hover { background: var(--jade-light); }
.btn-outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-outline:hover { background: var(--dark-bg); color: var(--cream); }
.btn-gold { background: var(--gold); color: var(--white); }
.btn-gold:hover { background: #93701F; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--cream);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 0.6rem var(--gutter);
  max-width: var(--max);
  margin: 0 auto;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
}
.brand img { height: 108px; width: auto; }
.brand-word { font-family: var(--serif); font-size: 1.25rem; font-weight: 600; letter-spacing: 0.01em; line-height: 1.1; }
.brand-word span { display: block; font-family: var(--sans); font-size: 0.75rem; font-weight: 600; color: var(--gold); letter-spacing: 0.08em; }
.nav-wordmark { display: flex; align-items: center; gap: 10px; }
.nav-wordmark-dcms { font-family: var(--serif); font-weight: 700; font-size: 1.05rem; color: var(--ink); line-height: 1; }
.nav-wordmark-divider { width: 1px; height: 16px; background: var(--gold); flex-shrink: 0; }
.nav-wordmark-mm2h { font-family: var(--sans); font-weight: 600; font-size: 1.05rem; letter-spacing: 0.04em; color: var(--gold); line-height: 1; }

.mm2h-badge {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  white-space: nowrap;
}
.mm2h-badge img { height: 50px; width: auto; }
.mm2h-badge .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--jade); }

nav.main-nav {
  display: flex;
  align-items: center;
  gap: 1.9rem;
  flex: 1;
  justify-content: center;
  position: relative;
}
nav.main-nav > a, nav.main-nav > .has-dropdown > button {
  font-size: 0.95rem;
  font-weight: 600;
  background: none;
  border: none;
  font-family: var(--sans);
  cursor: pointer;
  color: var(--gold);
  padding: 0.5rem 0;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}
nav.main-nav > a:hover, .has-dropdown > button:hover { color: var(--jade); }
.has-dropdown { position: relative; }
.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  transform: none;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 12px 28px rgba(35,31,24,0.1);
  padding: 0.6rem;
  min-width: 240px;
  display: none;
  flex-direction: column;
}
.has-dropdown:hover .dropdown, .has-dropdown:focus-within .dropdown { display: flex; }
.dropdown a {
  padding: 0.6rem 0.8rem;
  font-size: 0.9rem;
  border-radius: 3px;
}
.dropdown a:hover { background: var(--cream-deep); color: var(--jade); }

.header-actions { display: flex; align-items: center; gap: 0.9rem; flex-shrink: 0; }

/* Language switcher */
.lang-switch { position: relative; }
.lang-current {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  background: none;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.4rem 0.8rem 0.4rem 0.5rem;
  cursor: pointer;
  font-family: var(--sans);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink);
}
.flag-circle {
  width: 22px; height: 22px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--white);
}
.lang-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 0.6rem);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 12px 28px rgba(35,31,24,0.1);
  padding: 0.4rem;
  display: none;
  min-width: 190px;
  z-index: 50;
}
.lang-switch.open .lang-menu { display: block; }
.lang-option {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  width: 100%;
  padding: 0.55rem 0.7rem;
  border-radius: 3px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--sans);
  font-size: 0.88rem;
  color: var(--ink);
  text-align: left;
}
.lang-option:hover { background: var(--cream-deep); }
.lang-option[aria-current="true"] { color: var(--jade); font-weight: 600; }

.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 0.4rem; }
.nav-toggle svg { width: 26px; height: 26px; }

@media (max-width: 980px) {
  nav.main-nav { display: none; }
  .nav-toggle { display: block; }
}
@media (max-width: 480px) {
  .header-inner { padding: 0.7rem 1rem; gap: 0.4rem; }
  .brand-word { font-size: 0.98rem; }
  .nav-wordmark-dcms, .nav-wordmark-mm2h { font-size: 0.9rem; }
  .brand img { height: 74px; }
  .mm2h-badge img { height: 38px; }
  .header-actions { gap: 0.5rem; }
  .lang-current { padding: 0.35rem 0.5rem; }
  .lang-current .lang-label { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 0;
  background-image: url('../img/hero-kl-skyline-jade.png');
  background-size: 100% auto;
  background-position: bottom center;
  background-repeat: no-repeat;
  border-bottom: 1px solid var(--line);
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,
    var(--cream) 0%,
    var(--cream) 30%,
    rgba(250,246,238,0.75) 48%,
    rgba(250,246,238,0.25) 68%,
    rgba(250,246,238,0.05) 85%,
    rgba(250,246,238,0) 100%);
  z-index: 0;
}
.hero-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(3rem, 8vw, 6.5rem) var(--gutter) clamp(3.5rem, 9vw, 7rem);
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2rem;
  align-items: center;
  position: relative;
  z-index: 2;
}
.hero-eyebrow {
  font-family: var(--sans);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--jade);
  margin-bottom: 1.1rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.hero-eyebrow::before {
  content: '';
  width: 30px; height: 1.5px;
  background: var(--jade);
}
.hero h1 { margin-bottom: 0.6em; }
.hero h1 em {
  font-style: normal;
  color: var(--gold);
}
.hero-actions {
  display: flex;
  gap: 1rem;
  margin-top: 1.8rem;
  flex-wrap: wrap;
}
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero::before {
    background: linear-gradient(180deg,
      var(--cream) 0%,
      var(--cream) 52%,
      rgba(250,246,238,0.88) 66%,
      rgba(250,246,238,0.4) 84%,
      rgba(250,246,238,0.08) 100%);
  }
  .hero-visual { margin-top: 2rem; }
}
.hero-stats {
  display: flex;
  gap: 2.2rem;
  margin-top: 2.6rem;
  flex-wrap: wrap;
}
.hero-stat b {
  font-family: var(--serif);
  font-size: 1.7rem;
  color: var(--ink);
  display: block;
  font-weight: 600;
}
.hero-stat span { font-size: 0.82rem; color: var(--ink-soft); }

.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-visual::before {
  content: '';
  position: absolute;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(250,246,238,0.9) 0%, rgba(250,246,238,0.45) 55%, rgba(250,246,238,0) 75%);
  border-radius: 50%;
  z-index: 0;
}
.hero-bloom {
  width: min(300px, 100%);
  opacity: 0.96;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 10px 26px rgba(0,0,0,0.15));
}
.hero .hero-visual::before { display: none; }

/* ---------- Sections ---------- */
section { padding: clamp(3rem, 7vw, 5.5rem) 0; }
.section-dark {
  background: var(--dark-bg);
  color: rgba(250,246,238,0.85);
}
.section-dark h2 { color: var(--cream); }
.section-dark .section-head .eyebrow { color: var(--gold-light); }
.section-dark .lede { color: rgba(250,246,238,0.7); }
.section-dark .service-card {
  background: rgba(250,246,238,0.05);
  border-color: rgba(250,246,238,0.15);
}
.section-dark .service-card h3 { color: var(--cream); }
.section-dark .service-card p { color: rgba(250,246,238,0.65); }
.section-dark .service-card a.card-link { color: var(--gold-light); }
.section-dark .service-card .icon-badge { background: rgba(169,130,47,0.18); color: var(--gold-light); }
.section-dark .faq-list { border-top-color: rgba(250,246,238,0.15); }
.section-dark .faq-item { border-bottom-color: rgba(250,246,238,0.15); }
.section-dark .faq-q { color: var(--cream); }
.section-dark .faq-q .plus::before, .section-dark .faq-q .plus::after { background: var(--gold-light); }
.section-dark .faq-a-inner { color: rgba(250,246,238,0.7); }
.section-dark table.category-table td { color: var(--ink-soft); }
.section-dark table.category-table tbody th { color: var(--ink-soft); }
.section-dark .table-scroll { border-color: rgba(250,246,238,0.15); }
.section-dark p:not(.lede) { color: rgba(250,246,238,0.7); }
.section-dark .step-row { border-bottom-color: rgba(250,246,238,0.15); }
.section-dark .step-num { color: var(--gold-light); }
.section-dark .side-card { color: var(--ink); }
.section-dark .side-card h4 { color: var(--ink); }
.section-dark .side-card li { color: var(--ink-soft); }
.section-dark .icon-list-item h4 { color: var(--cream); }
.section-dark .icon-list-item .tick { background: var(--gold); }
.section-head {
  max-width: none;
  margin-bottom: 2.6rem;
}
.section-head .eyebrow {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--jade);
  margin-bottom: 0.6rem;
  display: block;
}

.bloom-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 0;
}
.bloom-divider svg, .bloom-divider img { width: 34px; height: 34px; opacity: 0.55; }

/* ---------- Category Table ---------- */
.table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
table.category-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 760px;
  font-size: 0.92rem;
  table-layout: fixed;
}
table.category-table th, table.category-table td {
  padding: 0.95rem 1.1rem;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
table.category-table thead th {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1rem;
  background: var(--gold);
  color: white;
  position: sticky;
  top: 0;
}
table.category-table thead th:first-child { color: var(--ink); }
table.category-table thead th:not(:first-child) { text-align: center; }
table.category-table tbody th {
  font-weight: 600;
  color: var(--ink-soft);
  background: var(--cream-deep);
  font-size: 0.82rem;
}
table.category-table tbody tr:last-child td, table.category-table tbody tr:last-child th { border-bottom: none; }
table.category-table tbody tr:nth-child(odd) td { background: #FAF6EE; }
table.category-table tbody tr:nth-child(even) td { background: #FFFFFF; }
table.category-table tbody tr:hover td { background: var(--cream); }
table.category-table .col-divider { border-left: 1px solid rgba(169,130,47,0.35); }
table.category-table .text-center { text-align: center; }

/* ---------- FAQ ---------- */
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: none;
  border: none;
  padding: 1.3rem 0;
  cursor: pointer;
  text-align: left;
  font-family: var(--serif);
  font-size: 1.08rem;
  font-weight: 500;
  color: var(--ink);
}
.faq-q .plus { flex-shrink: 0; width: 22px; height: 22px; position: relative; }
.faq-q .plus::before, .faq-q .plus::after {
  content: '';
  position: absolute;
  background: var(--jade);
  transition: transform 0.25s ease;
}
.faq-q .plus::before { width: 100%; height: 1.5px; top: 50%; left: 0; transform: translateY(-50%); }
.faq-q .plus::after { width: 1.5px; height: 100%; left: 50%; top: 0; transform: translateX(-50%); }
.faq-item.open .plus::after { transform: translateX(-50%) rotate(90deg); opacity: 0; }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.faq-item.open .faq-a { max-height: 400px; }
.faq-a-inner { padding: 0 0 1.5rem; color: var(--ink-soft); max-width: 68ch; }

/* ---------- Cards / grids ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; }
@media (max-width: 860px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } .grid-4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .grid-4 { grid-template-columns: 1fr; } }

.service-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.9rem;
}
.service-card .icon-badge {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--gold-pale);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.1rem;
  color: var(--gold);
}
.service-card h3 { margin-bottom: 0.5rem; }
.service-card p { font-size: 0.94rem; color: var(--ink-soft); margin-bottom: 0.8rem; }
.service-card a.card-link { font-size: 0.88rem; font-weight: 600; color: var(--jade); display: inline-flex; align-items: center; gap: 6px; text-decoration: none; }
.card-link-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(169, 130, 47, 0.15);
  flex-shrink: 0;
  transition: transform 0.2s ease, background 0.2s ease;
}
.card-link:hover .card-link-arrow { transform: translateX(3px); background: rgba(169, 130, 47, 0.28); }
.section-dark .card-link-arrow { background: rgba(201, 164, 92, 0.2); }
.section-dark .card-link:hover .card-link-arrow { background: rgba(201, 164, 92, 0.32); }

/* ---------- Calculator panels ---------- */
.calc-shell {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1.75rem;
}
@media (max-width: 900px) { .calc-shell { grid-template-columns: 1fr; } }
.calc-form {
  padding: clamp(1.6rem, 3vw, 2.6rem);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}
.calc-result { padding: clamp(1.6rem, 3vw, 2.6rem); background: var(--dark-bg); color: var(--cream); border-radius: var(--radius); }
.calc-result h3 { color: var(--cream); }
.field { margin-bottom: 1.3rem; }
.field label { display: block; font-size: 0.85rem; font-weight: 600; margin-bottom: 0.45rem; color: var(--ink-soft); }
.field input, .field select {
  width: 100%;
  padding: 0.75em 0.9em;
  font-family: var(--sans);
  font-size: 0.95rem;
  border: 1.5px solid var(--line);
  border-radius: 3px;
  background: var(--cream);
  color: var(--ink);
}
.field input:focus, .field select:focus { border-color: var(--jade); outline: none; }
.field input.field-invalid, .field select.field-invalid { border-color: var(--clay); background: #fdf3f1; }
.field-error {
  display: none;
  font-size: 0.78rem;
  color: var(--clay);
  margin-top: 0.35rem;
}
.field input:disabled {
  background: var(--cream-deep);
  color: var(--ink-soft);
  cursor: not-allowed;
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }

.result-line {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(250,246,238,0.14);
  font-size: 0.93rem;
}
.result-line span:first-child { color: rgba(250,246,238,0.7); }
.result-line b { font-family: var(--serif); font-weight: 600; }
.result-total {
  margin-top: 1.3rem;
  padding-top: 1.3rem;
  border-top: 1.5px solid var(--gold);
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}
.result-total span { font-size: 0.9rem; color: rgba(250,246,238,0.75); }
.result-total b { font-family: var(--serif); font-size: 1.8rem; color: var(--gold-light); }
.calc-note {
  font-size: 0.78rem;
  color: rgba(250,246,238,0.55);
  margin-top: 1.5rem;
  line-height: 1.5;
}
.dependents-block { display: none; }
.dependents-block.show { display: block; }
.dep-age-row { display: flex; align-items: center; gap: 0.6rem; margin-bottom: 0.6rem; }
.dep-age-row input { flex: 1; }
.dep-age-row span { font-size: 0.85rem; color: var(--ink-soft); width: 90px; flex-shrink: 0; }

/* ---------- Selection summary ---------- */
.summary-list { margin-bottom: 1.4rem; padding-bottom: 1.2rem; border-bottom: 1px solid rgba(250,246,238,0.14); }
.summary-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.4rem 0;
  font-size: 0.88rem;
}
.summary-row span:first-child { color: rgba(250,246,238,0.6); }
.summary-row b { font-weight: 600; color: var(--cream); text-align: right; }

/* ---------- Calculator v3: fee breakdown tables (indigo theme, per client reference) ---------- */
:root {
  --calc-indigo: #4F5C8C;
  --calc-indigo-dark: #414D79;
  --calc-lavender: #E4E4F5;
  --calc-lavender-border: #A9ACD9;
  --calc-navy: #33366B;
}
.summary-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin-bottom: 1.2rem;
}
.summary-card h3 { font-size: 1.05rem; margin-bottom: 0.9rem; color: var(--calc-navy); }
.summary-card .summary-row {
  display: flex;
  justify-content: space-between;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(51,54,107,0.12);
  font-size: 0.88rem;
}
.summary-card .summary-row:last-child { border-bottom: none; }
.summary-card .summary-row span:first-child { color: var(--calc-navy); opacity: 0.7; }
.summary-card .summary-row b { color: var(--calc-navy); font-weight: 700; }

.contact-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
  text-align: center;
}
.contact-card h4 { font-family: var(--sans); font-size: 0.98rem; font-weight: 700; margin-bottom: 0.8rem; color: var(--ink); }
.contact-card .disclaimer-note {
  font-size: 0.78rem;
  font-style: italic;
  color: var(--calc-indigo);
  margin-bottom: 1.1rem;
}
.contact-card .btn { width: 100%; justify-content: center; margin-bottom: 0.7rem; }
.contact-card .btn:last-child { margin-bottom: 0; }
.btn-whatsapp { background: #25D366; color: white; }
.btn-whatsapp:hover { background: #1EBE5A; }

.fee-table-wrap { margin-bottom: 1.6rem; border: 1px solid var(--calc-lavender-border); border-radius: var(--radius); overflow: hidden; }
@media (max-width: 640px) {
  #selectionSummaryWrap { overflow-x: auto; }
  #selectionSummaryWrap table.fee-table { min-width: 560px; }
}
table.fee-table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
table.fee-table thead th {
  background: var(--gold);
  color: white;
  font-family: var(--sans);
  font-weight: 700;
  font-size: 0.88rem;
  padding: 0.7rem 1.1rem;
  text-align: left;
}
table.fee-table thead th:last-child { text-align: right; }
table.fee-table td {
  padding: 0.65rem 1.1rem;
  border-bottom: 1px solid var(--calc-lavender);
  color: var(--ink-soft);
}
table.fee-table td:last-child { text-align: right; font-weight: 600; color: var(--ink); }
table.fee-table tr.fee-group-header td {
  background: #F7EACD;
  font-weight: 700;
  color: var(--ink);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
table.fee-table tr.fee-subtotal td {
  background: var(--gold);
  color: white;
  font-weight: 700;
}
table.fee-table tr.fee-subtotal td:last-child { color: white; }
table.fee-table tr.fee-dep-subtotal td {
  background: #F7EACD;
  color: var(--ink);
  font-weight: 700;
}
table.fee-table tr.fee-dep-subtotal td:last-child { color: var(--ink); }
table.fee-table tr.fee-total-all td {
  background: var(--gold);
  color: white;
  font-weight: 700;
}
table.fee-table tr.fee-total-all td:last-child { color: white; }
table.fee-table tr.fee-reference td { color: var(--ink-soft); }
.fee-table-note {
  font-size: 0.8rem;
  color: var(--ink-soft);
  padding: 0.8rem 1.1rem;
  background: var(--white);
  border-top: 1px solid var(--calc-lavender);
  width: 100%;
  max-width: none;
  box-sizing: border-box;
  display: block;
}
.grand-total-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--gold);
  color: white;
  padding: 1.1rem 1.4rem;
  border-radius: var(--radius);
  margin-bottom: 1rem;
}
.grand-total-bar span { font-family: var(--sans); font-size: 1.05rem; font-weight: 700; }
.grand-total-bar b { font-family: var(--sans); font-size: 1.5rem; font-weight: 700; color: white; }
.fee-scope-note {
  font-size: 0.82rem;
  color: var(--calc-navy);
  background: var(--calc-lavender);
  border-radius: var(--radius);
  padding: 0.9rem 1.1rem;
  margin-bottom: 1.5rem;
}

/* ---------- CTA banner ---------- */
.cta-banner {
  background: var(--dark-bg);
  color: var(--cream);
  border-radius: var(--radius);
  padding: clamp(2.2rem, 5vw, 3.5rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.cta-banner h2 { color: var(--cream); margin-bottom: 0.3rem; }
.cta-banner p { color: rgba(250,246,238,0.8); margin-bottom: 0; }

/* ---------- Footer ---------- */
footer.site-footer {
  background: var(--dark-bg);
  color: var(--cream-deep);
  padding: 4rem 0 1.6rem;
  margin-top: 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.85fr 0.85fr 1.5fr;
  gap: 2.5rem;
  padding-bottom: 2.8rem;
  border-bottom: 1px solid rgba(250,246,238,0.14);
}
.footer-col a[href^="mailto:"] { white-space: nowrap; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
footer .brand-word { color: var(--cream); }
footer .brand-word span { color: var(--gold-light); }
footer .footer-col a.brand { display: flex; }
.footer-col h4 {
  color: var(--gold-light);
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0.02em;
  margin-bottom: 1rem;
  font-family: var(--sans);
}
.footer-col p, .footer-col a {
  font-size: 0.88rem;
  color: rgba(250,246,238,0.72);
  margin-bottom: 0.6rem;
  display: block;
}
.footer-col a:hover { color: var(--gold-light); }
.footer-social {
  display: flex;
  gap: 0.7rem;
  margin-top: 1.2rem;
}
.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(250,246,238,0.1);
  color: var(--cream-deep);
  margin-bottom: 0;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.footer-social a:hover {
  background: var(--gold-light);
  color: var(--dark-bg);
  transform: translateY(-2px);
}
.footer-social svg { width: 17px; height: 17px; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1.6rem;
  font-size: 0.8rem;
  color: rgba(250,246,238,0.55);
  flex-wrap: wrap;
  gap: 0.8rem;
}
.visitor-counter {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.visitor-counter strong {
  color: var(--cream);
  font-weight: 700;
  background: rgba(250,246,238,0.1);
  border: 1px solid rgba(201,164,92,0.35);
  border-radius: 5px;
  padding: 0.15rem 0.55rem;
  font-size: 0.85rem;
  letter-spacing: 0.02em;
}

/* ---------- WhatsApp float ---------- */
.wa-float {
  position: fixed;
  bottom: 1.6rem;
  right: 1.6rem;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: #25D366;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 20px rgba(0,0,0,0.25);
  z-index: 200;
  transition: transform 0.2s ease;
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 28px; height: 28px; fill: white; }

/* ---------- Breadcrumb ---------- */
.breadcrumb {
  font-size: 0.85rem;
  color: var(--ink-soft);
  padding: 1.2rem 0;
}
.breadcrumb a { color: var(--jade); }

/* ---------- Page hero (interior pages) ---------- */
.page-hero {
  border-bottom: 1px solid var(--line);
  padding: 1rem 0 clamp(2.5rem, 5vw, 4rem);
}
.page-hero .eyebrow {
  font-size: 0.85rem; font-weight: 600; color: var(--jade);
  margin-bottom: 0.6rem; display: block;
}
.page-hero h1 { max-width: 800px; font-size: clamp(1.9rem, 3.2vw, 2.5rem); }
.page-hero .lede { margin-top: 0.8rem; }

/* ---------- Process steps ---------- */
.step-list { display: flex; flex-direction: column; }
.step-row {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 1.5rem;
  padding: 1.8rem 0;
  border-bottom: 1px solid var(--line);
}
.step-row:last-child { border-bottom: none; }
.step-num {
  font-family: var(--serif);
  font-size: 1.4rem;
  color: var(--gold);
  font-weight: 600;
}
.step-row h3 { margin-bottom: 0.4rem; color: #C9A45C; }
.step-row p { color: var(--ink-soft); font-size: 0.95rem; margin-bottom: 0; }

/* ---------- Icon list (why choose us / included) ---------- */
.icon-list { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem 2rem; }
@media (max-width: 700px) { .icon-list { grid-template-columns: 1fr; } }
.icon-list-item { display: flex; gap: 1rem; align-items: flex-start; }
.icon-list-item .tick {
  flex-shrink: 0;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--jade);
  color: var(--cream);
  display: flex; align-items: center; justify-content: center;
  margin-top: 0.15rem;
}
.icon-list-item .tick svg { width: 14px; height: 14px; }
.icon-list-item h4 { font-family: var(--sans); font-weight: 600; font-size: 0.98rem; margin: 0 0 0.25rem; color: var(--ink); }
.icon-list-item p { font-size: 0.9rem; color: var(--ink-soft); margin: 0; }

/* ---------- Two column content layout ---------- */
.content-split {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr;
  gap: 3rem;
  align-items: start;
}
@media (max-width: 900px) { .content-split { grid-template-columns: 1fr; } }
@media (min-width: 901px) { .content-split.photo-wide { grid-template-columns: 0.85fr 1.15fr; } }
.side-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.8rem;
}
.side-card h4 { margin-bottom: 0.8rem; }
.side-card ul { margin: 0; padding-left: 1.1rem; }
.side-card li { font-size: 0.9rem; color: var(--ink-soft); margin-bottom: 0.5rem; }

/* ---------- Contact page ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-info-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.3rem 0;
  border-bottom: 1px solid var(--line);
}
.contact-info-item .icon-badge { margin-bottom: 0; flex-shrink: 0; }
.contact-info-item h4 { font-family: var(--sans); font-weight: 600; font-size: 0.92rem; margin: 0 0 0.3rem; }
.contact-info-item p, .contact-info-item a { font-size: 0.92rem; color: var(--ink-soft); margin: 0; display: block; }
.contact-form .field { margin-bottom: 1.1rem; }
.contact-form textarea {
  width: 100%;
  padding: 0.75em 0.9em;
  font-family: var(--sans);
  font-size: 0.95rem;
  border: 1.5px solid var(--line);
  border-radius: 3px;
  background: var(--white);
  color: var(--ink);
  resize: vertical;
  min-height: 120px;
}
.contact-form textarea:focus { border-color: var(--jade); outline: none; }

/* ---------- Team / value cards ---------- */
.value-card { text-align: left; }
.value-card .icon-badge { background: var(--jade); color: var(--cream); }
.section-dark .value-card { background: #FAF6EE; border-color: rgba(169,130,47,0.25); }
.section-dark .value-card h3 { color: var(--ink); }
.section-dark .value-card p { color: var(--ink-soft); }


/* ---------- Mobile nav drawer ---------- */
.mobile-nav {
  position: fixed;
  inset: 0;
  background: var(--cream);
  z-index: 300;
  padding: 1.2rem var(--gutter);
  overflow-y: auto;
  display: none;
}
.mobile-nav.open { display: block; }
.mobile-nav-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 2rem; }
.mobile-nav a, .mobile-nav summary {
  display: block;
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--serif);
  font-size: 1.15rem;
  cursor: pointer;
}
.mobile-nav details[open] summary { color: var(--jade); }
.mobile-nav .sub-links { padding-left: 1rem; }
.mobile-nav .sub-links a { font-family: var(--sans); font-size: 0.95rem; padding: 0.6rem 0; border-bottom: none; }

/* ============ Document checklist & process roadmap (MM2H New Application) ============ */
.checklist-block { margin-bottom: 3rem; }
.checklist-block h2 { text-align: center; margin-bottom: 1.4rem; }
.tips-box {
  background: rgba(250,246,238,0.9);
  border: 1px solid rgba(169,130,47,0.35);
  border-radius: 10px;
  padding: 1rem 1.2rem;
  margin-bottom: 1.6rem;
}
.tips-box-title { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 0.85rem; color: var(--gold); margin-bottom: 8px; }
.tips-box ul { margin: 0; padding-left: 1.2rem; }
.tips-box li { font-size: 0.85rem; color: var(--ink-soft); margin-bottom: 6px; line-height: 1.5; }
.tips-box li:last-child { margin-bottom: 0; }
.phase-header { display: flex; align-items: center; gap: 10px; margin-bottom: 1rem; }
.phase-badge-num {
  width: 24px; height: 24px; border-radius: 50%;
  color: #fff; font-size: 12px; font-weight: 600;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.phase-badge-num.gold { background: var(--gold); }
.phase-badge-num.jade { background: var(--jade); }
.phase-header-title { font-weight: 600; font-size: 1.05rem; color: var(--cream); }
.doc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 2.2rem; }
.doc-card-v2 { background: #fff; border-radius: 10px; padding: 1.1rem 1.2rem; }
.doc-card-v2-icon { width: 40px; height: 40px; border-radius: 9px; background: var(--gold-pale); display: flex; align-items: center; justify-content: center; margin-bottom: 12px; }
.doc-card-v2-title { font-weight: 700; font-size: 0.95rem; color: var(--ink); margin-bottom: 5px; }
.doc-card-v2-text { font-size: 0.82rem; color: var(--ink-soft); line-height: 1.5; }
.doc-grid-2col { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-bottom: 2.2rem; }
.doc-card-icon {
  width: 40px; height: 40px; border-radius: 50%;
  background: #fff; border: 1.5px solid var(--gold);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; margin-top: 4px;
}
.doc-card-body { border: 1.5px dashed rgba(169,130,47,0.5); border-radius: 10px; padding: 0.7rem 0.85rem; flex: 1; background: rgba(255,255,255,0.03); }
.doc-pill {
  background: var(--gold); color: #fff; border-radius: 20px;
  padding: 4px 12px; font-size: 0.78rem; font-weight: 600;
  display: inline-flex; align-items: center; gap: 5px; margin-bottom: 6px;
}
.doc-card-text { font-size: 0.82rem; color: rgba(250,246,238,0.75); line-height: 1.5; }
.notes-box {
  background: #FAF6EE;
  border: 1px solid rgba(169,130,47,0.25);
  border-radius: 10px;
  padding: 1rem 1.2rem;
}
.notes-box-title { font-weight: 600; font-size: 0.9rem; color: var(--ink); margin-bottom: 8px; }
.notes-box ul { margin: 0; padding-left: 1.2rem; }
.notes-box li { font-size: 0.82rem; color: var(--ink-soft); margin-bottom: 6px; line-height: 1.5; }
.notes-box li:last-child { margin-bottom: 0; }
.notes-box > div { color: var(--ink-soft); }

.roadmap-title { text-align: center; margin-bottom: 1.6rem; color: var(--ink); }
.roadmap-phase { display: flex; gap: 16px; margin-bottom: 1.6rem; }
.roadmap-phase-marker { display: flex; flex-direction: column; align-items: center; flex-shrink: 0; width: 76px; }
.roadmap-phase-circle {
  width: 68px; height: 68px; border-radius: 50%; background: var(--jade); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 600; text-align: center; line-height: 1.3; padding: 4px;
}
.roadmap-phase-spine { width: 2px; flex: 1; background: rgba(169,130,47,0.35); margin: 8px 0; min-height: 20px; }
.roadmap-phase-content { flex: 1; }
.roadmap-phase-label { display: flex; align-items: center; gap: 10px; margin-bottom: 0.9rem; flex-wrap: wrap; }
.roadmap-phase-label .phase-header-title { color: var(--ink); }
.roadmap-steps-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 6px; overflow-x: auto; padding-bottom: 8px; }
.roadmap-step-item { display: flex; flex-direction: column; align-items: center; width: 190px; flex-shrink: 0; text-align: center; }
.roadmap-step-icon {
  width: 54px; height: 54px; border-radius: 50%; background: var(--gold);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  box-shadow: 0 3px 8px rgba(169,130,47,0.28);
}
.roadmap-step-title { font-size: 0.85rem; font-weight: 600; color: var(--ink); margin-top: 10px; }
.roadmap-step-text { font-size: 0.78rem; color: var(--ink-soft); margin-top: 4px; line-height: 1.5; }
.roadmap-connector { flex-shrink: 0; margin-top: 26px; }

@media (max-width: 860px) {
  .doc-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .doc-grid { grid-template-columns: 1fr; }
  .roadmap-phase { flex-direction: column; gap: 8px; }
  .roadmap-phase-marker { flex-direction: row; width: auto; }
  .roadmap-phase-circle { width: 52px; height: 52px; font-size: 10px; }
  .roadmap-phase-spine { display: none; }
  .roadmap-step-item { width: 92px; }
}

/* ============ Vertical alternating timeline (MM2H application process) ============ */
.timeline-wrap { position: relative; max-width: 820px; margin: 0 auto; padding: 0.5rem 0; }
.timeline-spine { position: absolute; left: 50%; top: 4px; bottom: 4px; width: 2px; background: var(--gold-light); transform: translateX(-1px); z-index: 0; }
.timeline-step { position: relative; display: flex; margin-bottom: 10px; }
.timeline-step.timeline-right { justify-content: flex-end; }
.timeline-step.timeline-left { justify-content: flex-start; }
.timeline-card {
  width: 46%; background: #fff; border-radius: 12px;
  padding: 1rem 1.15rem; box-shadow: 0 4px 16px rgba(35,31,24,0.08);
  position: relative; z-index: 1;
}
.timeline-right .timeline-card { text-align: right; }
.timeline-left .timeline-card { text-align: left; }
.timeline-card-title { font-weight: 700; font-size: 0.95rem; color: var(--ink); margin-bottom: 5px; }
.timeline-card-num { color: var(--gold); }
.timeline-card-text { font-size: 0.82rem; color: var(--ink-soft); line-height: 1.55; }
.timeline-icon {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%);
  width: 42px; height: 42px; border-radius: 50%; background: var(--gold);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 0 6px #FBF9F4, 0 3px 8px rgba(169,130,47,0.3);
  z-index: 2; flex-shrink: 0;
}
.timeline-phase-divider {
  display: flex; justify-content: center; margin: 1.6rem 0; position: relative; z-index: 1;
}
.timeline-phase-divider span {
  background: var(--dark-bg); color: #fff; border-radius: 20px;
  padding: 6px 20px; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.02em;
}
@media (max-width: 700px) {
  .timeline-spine { left: 21px; }
  .timeline-step.timeline-right, .timeline-step.timeline-left { justify-content: flex-start; padding-left: 46px; }
  .timeline-card { width: 100%; }
  .timeline-right .timeline-card, .timeline-left .timeline-card { text-align: left; }
  .timeline-icon { left: 21px; width: 36px; height: 36px; }
}

/* ============ Scroll reveal animation for photos ============ */
.reveal-img {
  opacity: 0;
  transform: scale(1.08);
  transition: opacity 5s ease-out, transform 5s ease-out;
}
.reveal-img.is-visible {
  opacity: 1;
  transform: scale(1);
}
@media (prefers-reduced-motion: reduce) {
  .reveal-img { opacity: 1; transform: none; transition: none; }
}
