/* ============================================================
   中马立唯 UNM PLUS — 马来西亚国际教育咨询
   Demo concept remake — design & code © Vijaya
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+SC:wght@400;600;700;900&family=Noto+Sans+SC:wght@300;400;500;700&family=Fraunces:ital,opsz,wght@0,9..144,400;0,9..144,600;0,9..144,700;1,9..144,400&display=swap');

:root {
  --paper: #fafaf9;
  --card: #ffffff;
  --ink: #0c0a09;
  --ink-soft: #44403c;
  --muted: #78716c;
  --gold: #a16207;
  --gold-bright: #ca8a04;
  --gold-pale: #fef3c7;
  --line: #e2ddd7;
  --font-display: 'Fraunces', 'Noto Serif SC', serif;
  --font-cn-display: 'Noto Serif SC', serif;
  --font-body: 'Noto Sans SC', sans-serif;
  --demo-bar-h: 38px;
  --nav-h: 76px;
  --ease-soft: cubic-bezier(0.25, 1, 0.5, 1);
  --shadow-soft: 0 2px 6px rgba(12, 10, 9, 0.04), 0 16px 40px -16px rgba(12, 10, 9, 0.14);
  --shadow-lift: 0 4px 10px rgba(12, 10, 9, 0.05), 0 28px 56px -18px rgba(12, 10, 9, 0.22);
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16.5px;
  font-weight: 400;
  line-height: 1.85;
  letter-spacing: 0.02em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--gold); color: #fff; }

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

h1, h2, h3, h4 { font-family: var(--font-cn-display); font-weight: 700; line-height: 1.25; }

/* ---------- demo notice bar ---------- */
.demo-bar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--demo-bar-h);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 12px;
  background: repeating-linear-gradient(-45deg, #713f12 0 14px, #854d0e 14px 28px);
  color: #fefce8;
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-align: center;
  border-bottom: 1px solid rgba(254, 252, 232, 0.3);
}
.demo-bar strong { color: #fde68a; font-weight: 700; }

/* ---------- scroll progress ---------- */
.scroll-progress {
  position: fixed;
  top: var(--demo-bar-h); left: 0;
  height: 3px; width: 0%;
  background: var(--gold-bright);
  z-index: 999;
}

/* ---------- navigation ---------- */
.site-nav {
  position: fixed;
  top: var(--demo-bar-h); left: 0; right: 0;
  height: var(--nav-h);
  z-index: 990;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(16px, 4vw, 52px);
  transition: background 300ms ease, box-shadow 300ms ease, height 300ms ease;
}
.site-nav.scrolled {
  background: rgba(250, 250, 249, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 8px 28px -14px rgba(12, 10, 9, 0.22);
  height: 64px;
}
.brand { display: flex; align-items: center; gap: 13px; text-decoration: none; }
.brand-mark {
  width: 46px; height: 46px; flex: 0 0 auto;
  display: grid; place-items: center;
  background: var(--ink);
  color: #fde68a;
  font-family: var(--font-cn-display);
  font-weight: 900;
  font-size: 20px;
  border-radius: 4px 14px 4px 14px;
}
.brand-name { display: flex; flex-direction: column; line-height: 1.2; }
.brand-name .top { font-family: var(--font-cn-display); font-weight: 900; font-size: 19px; letter-spacing: 0.2em; }
.brand-name .sub { font-size: 9.5px; font-weight: 500; letter-spacing: 0.24em; text-transform: uppercase; color: var(--muted); }

.nav-links { display: flex; align-items: center; gap: clamp(12px, 2vw, 30px); list-style: none; }
.nav-links a:not(.btn) {
  text-decoration: none;
  font-size: 14.5px; font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--ink-soft);
  padding: 6px 2px;
  position: relative;
  transition: color 200ms ease;
}
.nav-links a:not(.btn)::after {
  content: '';
  position: absolute; left: 0; bottom: 0;
  width: 100%; height: 2px;
  background: var(--gold-bright);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 300ms var(--ease-soft);
}
.nav-links a:not(.btn):hover { color: var(--ink); }
.nav-links a:not(.btn):hover::after,
.nav-links a.active:not(.btn)::after { transform: scaleX(1); transform-origin: left; }
.nav-links a.active:not(.btn) { color: var(--ink); font-weight: 700; }

.nav-toggle {
  display: none;
  background: none; border: 0; cursor: pointer;
  width: 44px; height: 44px;
  align-items: center; justify-content: center;
  color: var(--ink);
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 30px;
  font-family: var(--font-body);
  font-size: 14.5px; font-weight: 700;
  letter-spacing: 0.14em;
  text-decoration: none;
  border-radius: 4px;
  cursor: pointer;
  border: 0;
  transition: transform 250ms var(--ease-soft), box-shadow 250ms ease, background 250ms ease, color 250ms ease;
}
.btn:active { transform: scale(0.97); }
.btn-primary { background: var(--ink); color: #fff; box-shadow: var(--shadow-soft); }
.btn-primary:hover { background: #292524; transform: translateY(-2px); box-shadow: var(--shadow-lift); }
.btn-gold { background: var(--gold); color: #fff; box-shadow: 0 14px 34px -12px rgba(161, 98, 7, 0.55); }
.btn-gold:hover { background: #854d0e; transform: translateY(-2px); }
.btn-ghost { border: 1.5px solid var(--line); color: var(--ink); background: var(--card); }
.btn-ghost:hover { border-color: var(--ink); transform: translateY(-2px); }
.btn-apply {
  background: linear-gradient(135deg, var(--gold-bright), var(--gold));
  color: #fff;
  padding: 11px 22px;
  border-radius: 30px;
  font-size: 13.5px;
  letter-spacing: 0.08em;
  white-space: nowrap;
  box-shadow: 0 10px 26px -8px rgba(161, 98, 7, 0.6);
  position: relative;
  overflow: hidden;
}
.btn-apply::after {
  content: '';
  position: absolute; top: 0; left: -80%;
  width: 40%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.45), transparent);
  animation: applyShine 3.2s ease-in-out infinite;
}
@keyframes applyShine { 0%, 60% { left: -80%; } 100% { left: 130%; } }
.btn-apply:hover { transform: translateY(-2px); box-shadow: 0 14px 32px -8px rgba(161, 98, 7, 0.7); }
.nav-actions { display: flex; align-items: center; gap: 12px; }

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: center;
  overflow: hidden;
  background: var(--ink);
}
.hero-media { position: absolute; inset: -5%; z-index: 1; will-change: transform; }
.hero-media video, .hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-shade {
  position: absolute; inset: 0; z-index: 2;
  background:
    linear-gradient(100deg, rgba(12, 10, 9, 0.8) 0%, rgba(12, 10, 9, 0.42) 50%, rgba(12, 10, 9, 0.18) 100%),
    linear-gradient(to top, rgba(12, 10, 9, 0.6) 0%, transparent 36%);
}
.hero-content {
  position: relative; z-index: 3;
  padding: calc(var(--demo-bar-h) + var(--nav-h) + 20px) clamp(20px, 6vw, 80px) 70px;
  max-width: 880px;
  color: #fff;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 13.5px; font-weight: 500;
  letter-spacing: 0.4em;
  color: #fde68a;
  margin-bottom: 26px;
}
.hero-eyebrow::before { content: ''; width: 46px; height: 1px; background: var(--gold-bright); }
.hero-title {
  font-size: clamp(38px, 6.5vw, 84px);
  font-weight: 900;
  color: #fff;
  letter-spacing: 0.04em;
}
.hero-title em { font-style: normal; color: #fde68a; }
.hero-title .line { display: block; overflow: hidden; }
.hero-title .line > span {
  display: inline-block;
  transform: translateY(110%);
  animation: heroRise 1100ms var(--ease-soft) forwards;
}
.hero-title .line:nth-child(2) > span { animation-delay: 140ms; }
@keyframes heroRise { to { transform: translateY(0); } }
.hero-sub {
  max-width: 560px;
  margin: 26px 0 42px;
  font-size: clamp(15.5px, 1.6vw, 18px);
  font-weight: 300;
  color: rgba(255, 255, 255, 0.85);
}
.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-strip {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  background: rgba(12, 10, 9, 0.65);
  backdrop-filter: blur(12px);
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}
.hero-strip .cell {
  padding: 18px 24px;
  color: #fff;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 13px;
  letter-spacing: 0.06em;
}
.hero-strip .cell strong { display: block; font-family: var(--font-cn-display); font-size: 22px; color: #fde68a; }

/* ---------- sections ---------- */
.section { padding: clamp(72px, 9vw, 130px) clamp(20px, 5vw, 64px); position: relative; }
.section.tint { background: #f3efe9; }
.section.dark { background: var(--ink); color: #e7e5e4; }
.section-inner { max-width: 1220px; margin: 0 auto; }
.section-head { max-width: 800px; margin-bottom: clamp(40px, 5vw, 66px); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.kicker {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 13px; font-weight: 700;
  letter-spacing: 0.3em;
  color: var(--gold);
  margin-bottom: 18px;
}
.kicker::before { content: ''; width: 34px; height: 2px; background: var(--gold-bright); }
.section-head.center .kicker::after { content: ''; width: 34px; height: 2px; background: var(--gold-bright); }
.section.dark .kicker { color: #fde68a; }
.section-title { font-size: clamp(30px, 4.4vw, 52px); color: var(--ink); letter-spacing: 0.03em; }
.section.dark .section-title { color: #fff; }
.section-title em { font-style: normal; color: var(--gold); }
.section.dark .section-title em { color: #fde68a; }
.section-sub { margin-top: 16px; color: var(--muted); font-size: 16.5px; max-width: 66ch; }
.section.dark .section-sub { color: #a8a29e; }
.section-head.center .section-sub { margin-left: auto; margin-right: auto; }

/* ---------- reveals ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(42px);
  transition: opacity 850ms var(--ease-soft), transform 850ms var(--ease-soft);
  will-change: transform, opacity;
}
[data-reveal].in-view { opacity: 1; transform: none; }

/* ---------- numbered service rows ---------- */
.service-rows { display: grid; gap: 1px; background: var(--line); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.service-row {
  display: grid;
  grid-template-columns: 90px 1.1fr 1.6fr auto;
  gap: clamp(18px, 3vw, 44px);
  align-items: center;
  background: var(--paper);
  padding: clamp(26px, 3.4vw, 44px) clamp(4px, 1vw, 16px);
  text-decoration: none;
  transition: background 300ms ease;
}
.service-row:hover { background: var(--gold-pale); }
.service-row .num {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(28px, 3vw, 42px);
  color: var(--gold);
}
.service-row h3 { font-size: clamp(20px, 2.2vw, 27px); }
.service-row p { color: var(--muted); font-size: 15px; }
.service-row .arrow {
  width: 52px; height: 52px;
  border: 1.5px solid var(--line);
  border-radius: 50%;
  display: grid; place-items: center;
  color: var(--ink);
  transition: all 300ms var(--ease-soft);
}
.service-row:hover .arrow { background: var(--ink); color: #fde68a; border-color: var(--ink); transform: rotate(-45deg); }

/* ---------- school cards ---------- */
.school-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: clamp(16px, 2.2vw, 26px); }
.school-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: transform 350ms var(--ease-soft), box-shadow 350ms ease;
  display: flex; flex-direction: column;
}
.school-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lift); }
.school-card .sc-media { position: relative; height: 190px; overflow: hidden; }
.school-card .sc-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 700ms var(--ease-soft); }
.school-card:hover .sc-media img { transform: scale(1.06); }
.school-card .sc-tag {
  position: absolute; top: 14px; left: 14px;
  background: rgba(12, 10, 9, 0.82);
  color: #fde68a;
  backdrop-filter: blur(6px);
  font-size: 11.5px; font-weight: 700;
  letter-spacing: 0.12em;
  padding: 6px 13px;
  border-radius: 30px;
}
.school-card .sc-body { padding: 22px 24px 26px; flex: 1; display: flex; flex-direction: column; }
.school-card h3 { font-size: 20px; margin-bottom: 4px; }
.school-card .sc-en { font-family: var(--font-display); font-style: italic; font-size: 13.5px; color: var(--gold); margin-bottom: 10px; }
.school-card p { color: var(--muted); font-size: 14px; flex: 1; }
.school-card .sc-meta {
  margin-top: 16px;
  display: flex; flex-wrap: wrap; gap: 8px;
}
.school-card .sc-meta span {
  font-size: 11.5px; font-weight: 500;
  color: var(--ink-soft);
  background: #f3efe9;
  border: 1px solid var(--line);
  padding: 4px 11px;
  border-radius: 20px;
}

/* ---------- stats ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 1px;
  background: var(--line);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.stat { background: var(--card); padding: clamp(36px, 4vw, 56px) 24px; text-align: center; }
.stat .value {
  font-family: var(--font-display);
  font-size: clamp(40px, 5vw, 62px);
  font-weight: 700;
  color: var(--ink);
  line-height: 1;
}
.stat .value sup { font-size: 0.42em; color: var(--gold); }
.stat .label {
  margin-top: 12px;
  font-size: 13px; font-weight: 500;
  letter-spacing: 0.14em;
  color: var(--muted);
}

/* ---------- split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(34px, 6vw, 90px); align-items: center; }
.split.flip .split-media { order: 2; }
.split-media { position: relative; }
.split-media img {
  border-radius: 14px;
  box-shadow: var(--shadow-lift);
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.split-media .seal {
  position: absolute; right: -16px; bottom: -16px;
  width: 104px; height: 104px;
  border-radius: 50%;
  background: var(--gold);
  color: #fff;
  display: grid; place-items: center;
  text-align: center;
  font-family: var(--font-cn-display);
  font-size: 15px; font-weight: 900; line-height: 1.4;
  box-shadow: 0 18px 40px -12px rgba(161, 98, 7, 0.6);
}

/* ---------- journey timeline ---------- */
.timeline { position: relative; max-width: 860px; margin: 0 auto; padding-left: 44px; }
.timeline::before {
  content: '';
  position: absolute; left: 10px; top: 8px; bottom: 8px;
  width: 2px;
  background: var(--line);
}
.timeline-progress {
  position: absolute; left: 10px; top: 8px;
  width: 2px; height: 0;
  background: var(--gold-bright);
  z-index: 1;
}
.timeline-item { position: relative; padding: 0 0 44px 28px; }
.timeline-item::before {
  content: '';
  position: absolute; left: -44px; top: 4px;
  width: 22px; height: 22px;
  border-radius: 50%;
  border: 3px solid var(--gold-bright);
  background: var(--paper);
  z-index: 2;
}
.timeline-item .t-step {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 14px; font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--gold);
}
.timeline-item h3 { font-size: 22px; margin: 6px 0 8px; }
.timeline-item p { color: var(--muted); max-width: 60ch; font-size: 15px; }

/* ---------- team ---------- */
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: clamp(16px, 2.2vw, 24px); }
.team-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 28px 24px;
  text-align: center;
  box-shadow: var(--shadow-soft);
  transition: transform 300ms var(--ease-soft), box-shadow 300ms ease;
}
.team-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lift); }
.team-card .avatar {
  width: 76px; height: 76px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: var(--gold-pale);
  color: var(--gold);
  display: grid; place-items: center;
  font-family: var(--font-cn-display);
  font-size: 26px; font-weight: 900;
  border: 2px solid rgba(161, 98, 7, 0.3);
}
.team-card h3 { font-size: 19px; }
.team-card .role { font-size: 13px; color: var(--gold); font-weight: 700; letter-spacing: 0.08em; margin: 4px 0 10px; }
.team-card p { font-size: 13.5px; color: var(--muted); }

/* ---------- quote cards ---------- */
.quote-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: clamp(16px, 2.2vw, 26px); }
.quote-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-left: 4px solid var(--gold-bright);
  border-radius: 12px;
  padding: clamp(26px, 3vw, 36px);
  box-shadow: var(--shadow-soft);
  display: flex; flex-direction: column;
}
.quote-card p { color: var(--ink-soft); font-size: 15px; flex: 1; }
.quote-card footer {
  margin-top: 18px;
  font-size: 13px; font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--muted);
}

/* ---------- booking form ---------- */
.booking-grid { display: grid; grid-template-columns: 1fr 0.8fr; gap: clamp(34px, 5vw, 76px); align-items: start; }
.form-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: clamp(28px, 3.6vw, 46px);
  box-shadow: var(--shadow-lift);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 20px; }
.field label {
  display: block;
  font-size: 13px; font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--ink-soft);
  margin-bottom: 8px;
}
.field input, .field select, .field textarea {
  width: 100%;
  background: var(--paper);
  border: 1.5px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 15.5px;
  padding: 13px 16px;
  outline: none;
  transition: border-color 200ms ease, box-shadow 200ms ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--gold-bright);
  box-shadow: 0 0 0 3px rgba(202, 138, 4, 0.16);
}
.field select { appearance: none; cursor: pointer; }
.info-ticket {
  background: var(--ink);
  color: #e7e5e4;
  border-radius: 16px;
  padding: clamp(26px, 3vw, 40px);
  box-shadow: var(--shadow-lift);
}
.info-ticket dl { display: grid; gap: 20px; }
.info-ticket dt {
  font-size: 12px; font-weight: 700;
  letter-spacing: 0.2em;
  color: #fde68a;
  margin-bottom: 4px;
}
.info-ticket dd { font-size: 15.5px; }
.info-ticket dd small { color: #a8a29e; }
.info-ticket a { color: inherit; }
.copy-chip {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(253, 230, 138, 0.12);
  border: 1px dashed rgba(253, 230, 138, 0.5);
  border-radius: 8px;
  padding: 8px 14px;
  font-size: 14.5px;
  cursor: pointer;
  color: #fde68a;
  transition: background 200ms ease;
}
.copy-chip:hover { background: rgba(253, 230, 138, 0.22); }

/* ---------- CTA band ---------- */
.cta-band { position: relative; text-align: center; padding: clamp(84px, 12vw, 150px) 24px; overflow: hidden; background: var(--ink); }
.cta-band-bg { position: absolute; inset: -10%; z-index: 0; will-change: transform; opacity: 0.42; }
.cta-band-bg img { width: 100%; height: 100%; object-fit: cover; }
.cta-band::before { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(rgba(12, 10, 9, 0.5), rgba(12, 10, 9, 0.72)); }
.cta-band > *:not(.cta-band-bg) { position: relative; z-index: 2; }
.cta-band h2 { font-size: clamp(32px, 5.5vw, 64px); font-weight: 900; color: #fff; letter-spacing: 0.04em; }
.cta-band h2 em { font-style: normal; color: #fde68a; }
.cta-band p { margin: 18px auto 38px; max-width: 56ch; color: rgba(255, 255, 255, 0.82); font-size: 16.5px; }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--line); background: var(--ink); color: #d6d3d1; padding: clamp(54px, 7vw, 84px) clamp(20px, 5vw, 64px) 0; }
.footer-grid {
  max-width: 1220px; margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: clamp(28px, 4vw, 64px);
  padding-bottom: 52px;
}
.footer-grid h4 {
  font-size: 13px; font-weight: 700;
  letter-spacing: 0.24em;
  color: #fde68a;
  margin-bottom: 18px;
}
.footer-grid p, .footer-grid li { color: #a8a29e; font-size: 14.5px; }
.footer-grid ul { list-style: none; display: grid; gap: 10px; }
.footer-grid a { text-decoration: none; transition: color 200ms; }
.footer-grid a:hover { color: #fff; }
.footer-brand .big { font-family: var(--font-cn-display); font-weight: 900; font-size: 28px; color: #fff; letter-spacing: 0.24em; margin-bottom: 12px; }
.footer-demo-note {
  border-top: 1px solid rgba(214, 211, 209, 0.15);
  padding: 22px 0 28px;
  text-align: center;
  font-size: 12.5px;
  color: #a8a29e;
  max-width: 1220px;
  margin: 0 auto;
  line-height: 1.9;
}
.footer-demo-note strong { color: #fde68a; }

/* ---------- page hero (inner) ---------- */
.page-hero {
  padding: calc(var(--demo-bar-h) + var(--nav-h) + clamp(52px, 8vw, 96px)) 20px clamp(48px, 6vw, 80px);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero-bg { position: absolute; inset: 0; z-index: -1; opacity: 0.16; }
.page-hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.page-hero-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(250, 250, 249, 0.55), var(--paper)); }
.page-hero .section-title { font-size: clamp(36px, 6vw, 72px); }
.demo-note-pill {
  display: inline-block;
  margin-top: 22px;
  font-size: 13px;
  color: var(--muted);
  border: 1.5px dashed rgba(161, 98, 7, 0.5);
  border-radius: 30px;
  padding: 8px 22px;
  background: var(--card);
}

/* ---------- toast ---------- */
.toast {
  position: fixed;
  left: 50%; bottom: 30px;
  transform: translate(-50%, 120%);
  background: var(--ink);
  color: #fde68a;
  padding: 13px 26px;
  border-radius: 30px;
  font-size: 14.5px;
  box-shadow: var(--shadow-lift);
  z-index: 1500;
  transition: transform 400ms var(--ease-soft);
  pointer-events: none;
}
.toast.show { transform: translate(-50%, 0); }

/* ---------- responsive ---------- */
@media (max-width: 1000px) {
  .split, .booking-grid { grid-template-columns: 1fr; }
  .split.flip .split-media { order: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .service-row { grid-template-columns: 60px 1fr auto; }
  .service-row p { grid-column: 2 / 3; }
}
@media (max-width: 1080px) {
  :root { --demo-bar-h: 52px; }
  .demo-bar { font-size: 11px; line-height: 1.4; }
  /* backdrop-filter on the header would trap the fixed drawer inside it */
  .site-nav.scrolled {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: rgba(250, 250, 249, 0.98);
  }
  .nav-links {
    position: fixed;
    top: 0; right: 0; bottom: 0;
    width: min(320px, 84vw);
    background: rgba(250, 250, 249, 0.98);
    backdrop-filter: blur(18px);
    flex-direction: column;
    justify-content: center;
    gap: 28px;
    transform: translateX(100%);
    transition: transform 400ms var(--ease-soft);
    box-shadow: -30px 0 90px rgba(12, 10, 9, 0.3);
    z-index: 995;
  }
  .nav-links.open { transform: translateX(0); }
  .nav-links a:not(.btn) { font-size: 17px; }
  .nav-toggle { display: inline-flex; position: relative; z-index: 996; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .service-row { grid-template-columns: 1fr; gap: 10px; }
  .service-row p { grid-column: auto; }
  .service-row .arrow { display: none; }
  .hero-strip { position: static; grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  .btn-apply { padding: 9px 14px; font-size: 12px; letter-spacing: 0.04em; }
  .brand-name .sub { display: none; }
  .brand-mark { width: 40px; height: 40px; font-size: 17px; }
  .site-nav { padding: 0 14px; }
  .nav-actions { gap: 6px; }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
  [data-reveal] { opacity: 1; transform: none; }
}
