/* ==========================================================================
   St. Abroad Education — design system
   Navy + gold, editorial serif headings, generous whitespace.
   ========================================================================== */

:root {
  /* brand — matched to the ST Abroad Education China logo */
  --navy-950: #012a63;
  --navy-900: #023a87;
  --navy-800: #024aad;   /* exact brand blue, sampled from the logo */
  --navy-700: #0257c9;
  --indigo-600: #024aad;
  --indigo-500: #2b74de;
  --gold-600: #d4a800;
  --gold-500: #ffcf09;   /* exact brand yellow, sampled from the logo */
  --gold-400: #ffdf5c;
  --gold-100: #fff7d6;

  /* neutrals — cooled toward the brand blue */
  --paper: #eef9ff;   /* the logo's own background tint */
  --paper-2: #ddeefb;
  --white: #ffffff;
  --ink: #10203f;
  --ink-2: #3c4d70;
  --ink-3: #6a7c9e;
  --line: #dbe6f6;
  --line-2: #bccfea;

  /* type */
  --font-display: 'Anuphan', 'IBM Plex Sans Thai', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-body: 'IBM Plex Sans Thai', 'IBM Plex Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* geometry */
  --radius: 14px;
  --radius-lg: 22px;
  --radius-sm: 9px;
  --shadow-sm: 0 1px 2px rgba(2, 74, 173, .08), 0 2px 8px rgba(2, 74, 173, .07);
  --shadow: 0 4px 12px rgba(2, 74, 173, .1), 0 12px 32px rgba(2, 74, 173, .09);
  --shadow-lg: 0 14px 30px rgba(2, 74, 173, .15), 0 34px 68px rgba(2, 74, 173, .15);
  --maxw: 1180px;
  --gut: clamp(18px, 4vw, 40px);
  --nav-h: 74px;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 16px);
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16.5px;
  line-height: 1.75;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg, video { max-width: 100%; display: block; }
img { height: auto; }
figure, blockquote { margin: 0; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0;
  color: var(--navy-900);
  margin: 0 0 .55em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.05rem, 4.6vw, 3.3rem); line-height: 1.2; }
h2 { font-size: clamp(1.6rem, 3.1vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); font-weight: 600; }
h4 { font-size: 1.08rem; font-weight: 600; }
p  { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

a { color: var(--indigo-600); text-decoration: none; }
a:hover { text-decoration: underline; }

ul, ol { margin: 0 0 1.1em; padding-left: 1.25em; }
li { margin-bottom: .4em; }

hr { border: 0; border-top: 1px solid var(--line); margin: 2.5rem 0; }

:focus-visible { outline: 3px solid var(--gold-500); outline-offset: 2px; border-radius: 4px; }

.icon { flex: 0 0 auto; }

/* ---------- layout primitives ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gut); }
.wrap-narrow { max-width: 820px; }
.section { padding-block: clamp(56px, 8vw, 104px); }
.section-tight { padding-block: clamp(40px, 5vw, 64px); }
.section-paper { background: var(--paper); }
.section-navy { background: var(--navy-900); color: #dfe4f2; }
.section-navy h2, .section-navy h3 { color: var(--white); }

.grid { display: grid; gap: clamp(18px, 2.4vw, 28px); }
.g-2 { grid-template-columns: repeat(2, 1fr); }
.g-3 { grid-template-columns: repeat(3, 1fr); }
.g-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .g-3, .g-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .g-2, .g-3, .g-4 { grid-template-columns: 1fr; } }

.stack > * + * { margin-top: 1rem; }
.center { text-align: center; }
.muted { color: var(--ink-3); }

/* ---------- section heading ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .8rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: var(--gold-600);
  margin-bottom: 14px;
}
.eyebrow::before { content: ''; width: 26px; height: 2px; background: var(--gold-500); border-radius: 2px; }
.section-navy .eyebrow { color: var(--gold-400); }

.sec-head { max-width: 680px; margin-bottom: clamp(30px, 4vw, 52px); }
.sec-head.center { margin-inline: auto; }
.sec-head p { color: var(--ink-2); font-size: 1.03rem; }
.section-navy .sec-head p { color: #b9c2dd; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--font-body); font-size: .97rem; font-weight: 600;
  padding: 13px 26px; border-radius: 999px; border: 1.5px solid transparent;
  cursor: pointer; transition: transform .16s ease, box-shadow .16s ease, background .16s ease, color .16s ease;
  text-decoration: none; line-height: 1.2; white-space: nowrap;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--gold-500); color: var(--navy-900); box-shadow: 0 6px 18px rgba(255, 207, 9, .45); }
.btn-primary:hover { background: var(--gold-400); box-shadow: 0 12px 28px rgba(255, 207, 9, .58); }
.btn-navy { background: var(--navy-900); color: var(--white); }
.btn-navy:hover { background: var(--navy-700); }
.btn-ghost { border-color: rgba(255, 255, 255, .45); color: var(--white); background: rgba(255, 255, 255, .06); backdrop-filter: blur(6px); }
.btn-ghost:hover { background: rgba(255, 255, 255, .16); border-color: #fff; }
.btn-outline { border-color: var(--line-2); color: var(--navy-800); background: var(--white); }
.btn-outline:hover { border-color: var(--navy-800); }
.btn-sm { padding: 9px 18px; font-size: .88rem; }
.btn-block { width: 100%; }

/* ---------- top bar + nav ---------- */
.topbar {
  background: var(--navy-950); color: #c3cbe4;
  font-size: .84rem; padding: 7px 0;
}
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.topbar a { color: #dbe1f2; }
.topbar-links { display: flex; align-items: center; gap: 18px; }
.topbar-item { display: inline-flex; align-items: center; gap: 6px; }
@media (max-width: 780px) { .topbar-note { display: none; } .topbar .wrap { justify-content: center; } }

.nav {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255, 255, 255, .93);
  backdrop-filter: saturate(1.6) blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; gap: 18px; height: var(--nav-h); }
.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; margin-right: auto; }
.brand:hover { text-decoration: none; }
.brand-mark img { width: 100%; height: 100%; object-fit: contain; }
.brand-mark {
  width: 54px; height: 38px; flex: 0 0 auto;
  display: grid; place-items: center;
  background: none; box-shadow: none; border-radius: 0;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.18; }
.brand-name { font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; letter-spacing: -.01em; color: var(--navy-900); white-space: nowrap; }
.brand-sub { font-size: .72rem; color: var(--ink-3); letter-spacing: .04em; white-space: nowrap; }

.nav-links { display: flex; align-items: center; gap: 3px; }
.nav-links a {
  padding: 9px 11px; border-radius: 9px; font-size: .92rem; font-weight: 500;
  white-space: nowrap;
  color: var(--navy-800); text-decoration: none; transition: background .15s, color .15s;
}
@media (max-width: 1240px) { .nav-links a { padding: 9px 8px; font-size: .875rem; } }
.nav-links a:hover { background: var(--paper-2); text-decoration: none; }
.nav-links a.is-active { color: var(--indigo-600); background: #e0f0fe; font-weight: 600; }
.nav-cta { display: flex; align-items: center; gap: 10px; }
.nav-toggle {
  display: none; background: none; border: 1px solid var(--line-2); border-radius: 10px;
  width: 42px; height: 42px; align-items: center; justify-content: center; cursor: pointer; color: var(--navy-800);
}
@media (max-width: 1340px) { .nav .brand-sub { display: none; } }
@media (max-width: 1040px) {
  .nav-links, .nav-cta .btn-outline { display: none; }
  .nav-toggle { display: inline-flex; }
}
@media (max-width: 520px) { .nav-cta .btn { display: none; } }

.mobile-menu {
  display: none; position: fixed; inset: 0; z-index: 70;
  background: var(--white); padding: 22px var(--gut) 40px; overflow-y: auto;
}
.mobile-menu.open { display: block; }
.mobile-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; }
.mobile-menu nav a {
  display: flex; align-items: center; justify-content: space-between;
  padding: 15px 2px; border-bottom: 1px solid var(--line);
  font-size: 1.06rem; font-weight: 500; color: var(--navy-900); text-decoration: none;
}
.mobile-menu nav a:hover { text-decoration: none; }
.mobile-actions { display: grid; gap: 10px; margin-top: 26px; }

/* ---------- announcement ---------- */
.announce {
  background: linear-gradient(90deg, var(--gold-100), #fffbe9, var(--gold-100));
  border-bottom: 1px solid #f5e6b0;
  font-size: .9rem; color: #7a5410; text-align: center; padding: 9px 0;
}
.announce a { color: #7a5410; font-weight: 600; text-decoration: underline; }

/* ---------- hero slider ---------- */
.hero { position: relative; background: var(--navy-950); overflow: hidden; }
.hero-track { position: relative; height: clamp(460px, 62vw, 640px); }
.hero-slide {
  position: absolute; inset: 0; opacity: 0; transition: opacity .9s ease;
  pointer-events: none;
}
.hero-slide.is-on { opacity: 1; pointer-events: auto; }
.hero-slide picture, .hero-slide img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-slide img { object-fit: cover; object-position: center 42%; }
.hero-slide::after {
  content: ''; position: absolute; inset: 0;
  background:
    linear-gradient(100deg, rgba(1, 42, 99, .9) 0%, rgba(2, 58, 135, .7) 40%, rgba(2, 58, 135, .16) 70%, rgba(1, 42, 99, .36) 100%),
    linear-gradient(180deg, rgba(1, 42, 99, .3), rgba(1, 42, 99, .1) 40%, rgba(1, 42, 99, .58));
}
.hero-body {
  position: absolute; inset: 0; z-index: 2;
  display: flex; align-items: center; pointer-events: none;
}
.hero-body .wrap { width: 100%; }
.hero-copy { max-width: 610px; color: #fff; pointer-events: auto; }
.hero-copy .eyebrow { color: var(--gold-400); }
.hero-copy h1 { color: #fff; margin-bottom: .4em; text-shadow: 0 2px 22px rgba(0, 0, 0, .28); }
.hero-copy p { color: #dae0f0; font-size: clamp(1rem, 1.5vw, 1.12rem); max-width: 52ch; margin-bottom: 1.7em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-slide-copy { display: none; }
.hero-slide-copy.is-on { display: block; animation: heroIn .7s ease both; }
@keyframes heroIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

.hero-nav {
  position: absolute; left: 0; right: 0; bottom: 26px; z-index: 3;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.hero-dots { display: flex; gap: 9px; }
.hero-dot {
  width: 34px; height: 4px; border-radius: 3px; border: 0; padding: 0; cursor: pointer;
  background: rgba(255, 255, 255, .34); transition: background .2s, width .2s;
}
.hero-dot.is-on { background: var(--gold-500); width: 52px; }
.hero-arrows { display: flex; gap: 8px; }
.hero-arrow {
  width: 42px; height: 42px; border-radius: 50%; cursor: pointer;
  border: 1px solid rgba(255, 255, 255, .38); background: rgba(1, 42, 99, .34);
  color: #fff; display: grid; place-items: center; transition: background .18s, border-color .18s;
  backdrop-filter: blur(6px);
}
.hero-arrow:hover { background: rgba(255, 255, 255, .2); border-color: #fff; }
@media (max-width: 700px) {
  .hero-slide img { object-position: center 32%; }
  .hero-slide::after {
    background: linear-gradient(180deg, rgba(1, 42, 99, .58) 0%, rgba(1, 42, 99, .76) 45%, rgba(1, 42, 99, .94) 100%);
  }
  .hero-arrows { display: none; }
  .hero-nav { justify-content: center; }
}

/* ---------- trust bar ---------- */
.trustbar { background: var(--navy-900); color: #fff; }
.trustbar-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-item { padding: clamp(24px, 3vw, 38px) 20px; text-align: center; border-right: 1px solid rgba(255, 255, 255, .1); }
.trust-item:last-child { border-right: 0; }
.trust-value {
  font-family: var(--font-display); font-size: clamp(1.8rem, 3.3vw, 2.6rem); font-weight: 700;
  color: var(--gold-500); line-height: 1.1; letter-spacing: -.015em;
  font-variant-numeric: tabular-nums;
}
.trust-label { font-size: .88rem; color: #b5bedb; margin-top: 6px; }
@media (max-width: 720px) {
  .trustbar-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-item:nth-child(2n) { border-right: 0; }
  .trust-item:nth-child(-n+2) { border-bottom: 1px solid rgba(255, 255, 255, .1); }
}

/* ---------- cards ---------- */
.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
a.card, .card a.card-link { text-decoration: none; color: inherit; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--line-2); }
.card-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--paper-2); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.card:hover .card-media img { transform: scale(1.045); }
.card-body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.card-body h3 { margin-bottom: .35em; }
.card-body p { color: var(--ink-2); font-size: .95rem; }
.card-foot { margin-top: auto; padding-top: 16px; display: flex; align-items: center; gap: 7px; font-weight: 600; font-size: .93rem; color: var(--indigo-600); }
.card:hover .card-foot .icon { transform: translateX(3px); }
.card-foot .icon { transition: transform .2s ease; }

.card-icon {
  width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center;
  background: linear-gradient(140deg, #e0f0fe, #c8e2fb); color: var(--indigo-600);
  margin-bottom: 15px;
}
.chip {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  background: rgba(1, 42, 99, .84); color: #fff; backdrop-filter: blur(6px);
  font-size: .76rem; font-weight: 600; padding: 5px 12px; border-radius: 999px;
  display: inline-flex; align-items: center; gap: 6px;
}
.chip-gold { background: var(--gold-500); color: var(--navy-900); }

.price-tag {
  display: inline-flex; align-items: baseline; gap: 6px;
  font-size: .92rem; color: var(--ink-2); margin-top: 10px;
}
.price-tag b { font-family: var(--font-display); font-size: 1.18rem; color: var(--navy-900); font-weight: 700; }

/* ---------- feature list ---------- */
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 11px; }
.ticks li { display: flex; gap: 11px; align-items: flex-start; margin: 0; font-size: .96rem; }
.ticks .icon { color: var(--gold-600); margin-top: 4px; }
.section-navy .ticks .icon { color: var(--gold-500); }

/* ---------- split feature ---------- */
.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.split.rev > :first-child { order: 2; }
@media (max-width: 860px) { .split, .split.rev { grid-template-columns: 1fr; } .split.rev > :first-child { order: 0; } }
.split-media { position: relative; }
.split-media img { border-radius: var(--radius-lg); width: 100%; aspect-ratio: 4/3; object-fit: cover; box-shadow: var(--shadow); }
.split-media .badge-float {
  position: absolute; right: -14px; bottom: -18px; background: var(--white);
  border-radius: var(--radius); padding: 14px 18px; box-shadow: var(--shadow-lg);
  display: flex; align-items: center; gap: 12px; max-width: 250px;
}
.split-media .badge-float .icon { color: var(--gold-600); }
.split-media .badge-float b { display: block; font-family: var(--font-display); font-weight: 700; color: var(--navy-900); }
.split-media .badge-float span { font-size: .82rem; color: var(--ink-3); }
@media (max-width: 520px) { .split-media .badge-float { right: 8px; bottom: -14px; padding: 11px 14px; } }

/* ---------- process timeline ---------- */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; counter-reset: st; }
.step { position: relative; padding: 0 16px; text-align: center; }
.step::before {
  content: ''; position: absolute; top: 27px; left: 50%; right: -50%; height: 2px;
  background: repeating-linear-gradient(90deg, var(--line-2) 0 6px, transparent 6px 12px);
}
.step:last-child::before { display: none; }
.step-num {
  counter-increment: st; position: relative; z-index: 1;
  width: 54px; height: 54px; margin: 0 auto 16px; border-radius: 50%;
  display: grid; place-items: center; background: var(--white);
  border: 2px solid var(--gold-500); color: var(--navy-900);
  font-family: var(--font-display); font-weight: 700; font-size: 1.16rem;
  font-variant-numeric: tabular-nums;
}
.step-num::after { content: counter(st); }
.step h4 { margin-bottom: .3em; }
.step p { font-size: .9rem; color: var(--ink-2); }
@media (max-width: 900px) {
  .steps { grid-template-columns: 1fr; gap: 26px; text-align: left; }
  .step { display: grid; grid-template-columns: 54px 1fr; gap: 18px; text-align: left; padding: 0; }
  .step::before { top: 54px; bottom: -26px; left: 26px; right: auto; width: 2px; height: auto;
    background: repeating-linear-gradient(180deg, var(--line-2) 0 6px, transparent 6px 12px); }
  .step-num { margin: 0; }
}

/* ---------- gallery ---------- */
.gal-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; grid-auto-flow: dense; }
@media (max-width: 900px) { .gal-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .gal-grid { grid-template-columns: repeat(2, 1fr); } }
.gal-item {
  margin: 0;
  position: relative; overflow: hidden; border-radius: var(--radius);
  aspect-ratio: 1; background: var(--paper-2); border: 0; padding: 0; cursor: zoom-in; display: block;
}
.gal-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.gal-item:hover img { transform: scale(1.07); }
.gal-item figcaption {
  position: absolute; inset: auto 0 0 0; padding: 26px 12px 11px; text-align: left;
  background: linear-gradient(transparent, rgba(1, 42, 99, .9));
  color: #fff; font-size: .8rem; line-height: 1.4; opacity: 0; transition: opacity .25s;
}
.gal-item:hover figcaption { opacity: 1; }
.gal-tall { grid-row: span 2; aspect-ratio: 1 / 2.06; }
@media (max-width: 560px) { .gal-tall { grid-row: span 1; aspect-ratio: 1; } }

.gal-filter { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 26px; }
.gal-filter button {
  border: 1px solid var(--line-2); background: var(--white); color: var(--navy-800);
  padding: 8px 17px; border-radius: 999px; font-family: var(--font-body); font-size: .9rem;
  font-weight: 500; cursor: pointer; transition: .15s;
}
.gal-filter button:hover { border-color: var(--navy-800); }
.gal-filter button.is-on { background: var(--navy-900); color: #fff; border-color: var(--navy-900); }

/* lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 90; background: rgba(5, 24, 60, .95);
  display: none; align-items: center; justify-content: center; padding: 24px;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: min(1100px, 94vw); max-height: 86vh; object-fit: contain; border-radius: 8px; }
.lightbox-cap { position: absolute; bottom: 26px; left: 0; right: 0; text-align: center; color: #cfd6ea; font-size: .92rem; padding: 0 24px; }
.lightbox-x {
  position: absolute; top: 18px; right: 18px; width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .3);
  color: #fff; display: grid; place-items: center; cursor: pointer;
}

/* ---------- accordion / FAQ ---------- */
.acc { border-top: 1px solid var(--line); }
.acc details { border-bottom: 1px solid var(--line); }
.acc summary {
  list-style: none; cursor: pointer; padding: 20px 44px 20px 0; position: relative;
  font-weight: 600; font-size: 1.04rem; color: var(--navy-900); font-family: var(--font-display);
}
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after {
  content: ''; position: absolute; right: 8px; top: 50%; width: 10px; height: 10px;
  border-right: 2px solid var(--ink-3); border-bottom: 2px solid var(--ink-3);
  transform: translateY(-70%) rotate(45deg); transition: transform .2s;
}
.acc details[open] summary::after { transform: translateY(-30%) rotate(225deg); }
.acc details[open] summary { color: var(--indigo-600); }
.acc-body { padding: 0 44px 22px 0; color: var(--ink-2); font-size: .98rem; }

/* ---------- prose (markdown output) ---------- */
.prose { color: var(--ink-2); font-size: 1.02rem; }
.prose h2 { margin-top: 2.1em; font-size: clamp(1.35rem, 2.2vw, 1.7rem); }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.7em; font-size: 1.2rem; }
.prose ul { padding-left: 0; list-style: none; }
.prose ul > li { position: relative; padding-left: 1.6em; }
.prose ul > li::before {
  content: ''; position: absolute; left: .32em; top: .72em;
  width: 6px; height: 6px; border-radius: 50%; background: var(--gold-500);
}
.prose ol { padding-left: 1.35em; }
.prose ol > li::marker { color: var(--gold-600); font-weight: 700; }
.prose strong { color: var(--navy-900); }

/* ---------- pricing ---------- */
.pkg {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 30px 28px 32px; display: flex; flex-direction: column; position: relative;
  transition: transform .2s, box-shadow .2s;
}
.pkg:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.pkg.is-featured { border: 2px solid var(--gold-500); box-shadow: var(--shadow); }
.pkg-badge {
  position: absolute; top: -13px; left: 28px; background: var(--gold-500); color: var(--navy-900);
  font-size: .78rem; font-weight: 700; padding: 5px 15px; border-radius: 999px;
  display: inline-flex; align-items: center; gap: 6px;
}
.pkg-name { font-size: .82rem; letter-spacing: .13em; text-transform: uppercase; color: var(--gold-600); font-weight: 700; }
.pkg h3 { margin: 8px 0 .3em; }
.pkg-price {
  font-family: var(--font-display); font-size: 1.44rem; font-weight: 700; color: var(--navy-900);
  line-height: 1.38; margin: 16px 0 4px; padding-top: 16px; border-top: 1px solid var(--line);
}
.pkg-note { font-size: .85rem; color: var(--ink-3); margin-bottom: 20px; }
.pkg .ticks { margin-bottom: 26px; }
.pkg .btn { margin-top: auto; }

.pkg-section { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin-bottom: 14px; }
.pkg-section > h4 {
  margin: 0; padding: 15px 20px; background: var(--paper); border-bottom: 1px solid var(--line);
  font-size: 1rem; color: var(--navy-900);
}
.pkg-section ul { margin: 0; padding: 18px 20px; list-style: none; display: grid; gap: 10px; }
.pkg-section li { display: flex; gap: 10px; align-items: flex-start; font-size: .95rem; color: var(--ink-2); margin: 0; }
.pkg-section .icon { color: var(--gold-600); margin-top: 4px; }

.notice {
  background: var(--gold-100); border: 1px solid #f3e3ae; border-radius: var(--radius);
  padding: 18px 20px; font-size: .92rem; color: #6f4d0d; display: flex; gap: 12px;
}
.notice .icon { color: var(--gold-600); margin-top: 3px; }

/* ---------- page header ---------- */
.pagehead { background: var(--navy-900); color: #fff; padding-block: clamp(46px, 6vw, 78px); position: relative; overflow: hidden; }
.pagehead::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(760px 340px at 84% 10%, rgba(43, 116, 222, .72), transparent 70%),
              radial-gradient(600px 300px at 6% 94%, rgba(255, 207, 9, .2), transparent 70%);
}
.pagehead .wrap { position: relative; }
.pagehead h1 { color: #fff; margin-bottom: .3em; }
.pagehead p { color: #c2cade; max-width: 60ch; font-size: 1.05rem; margin: 0; }
.pagehead-img { position: absolute; inset: 0; }
.pagehead-img img { width: 100%; height: 100%; object-fit: cover; opacity: .3; }

.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; font-size: .85rem; margin-bottom: 16px; color: #97a2c4; }
.crumbs a { color: #c9d1e8; }
.crumbs .icon { opacity: .5; }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(28px, 4vw, 56px); align-items: start; }
@media (max-width: 880px) { .contact-grid { grid-template-columns: 1fr; } }

.contact-list { display: grid; gap: 14px; list-style: none; padding: 0; margin: 0 0 26px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; margin: 0; }
.contact-ic {
  width: 42px; height: 42px; border-radius: 12px; flex: 0 0 auto; display: grid; place-items: center;
  background: #e0f0fe; color: var(--indigo-600);
}
.contact-list b { display: block; font-size: .82rem; color: var(--ink-3); font-weight: 500; }
.contact-list span, .contact-list a { font-size: 1.03rem; color: var(--navy-900); font-weight: 600; }

.socials { display: flex; flex-wrap: wrap; gap: 10px; }
.social-btn {
  display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px;
  border: 1px solid var(--line-2); color: var(--navy-800); font-size: .9rem; font-weight: 600;
  text-decoration: none; transition: .16s;
}
.social-btn:hover { text-decoration: none; border-color: var(--navy-800); background: var(--paper); }

/* ---------- form ---------- */
.form-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(24px, 3.5vw, 38px); box-shadow: var(--shadow-sm);
}
.field { margin-bottom: 17px; }
.field label { display: block; font-size: .89rem; font-weight: 600; color: var(--navy-800); margin-bottom: 7px; }
.field .req { color: #c0392b; }
.field input, .field select, .field textarea {
  width: 100%; font-family: var(--font-body); font-size: 1rem; color: var(--ink);
  padding: 12px 15px; border: 1.5px solid var(--line-2); border-radius: var(--radius-sm);
  background: var(--white); transition: border-color .15s, box-shadow .15s;
}
.field textarea { min-height: 118px; resize: vertical; line-height: 1.6; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--indigo-500); box-shadow: 0 0 0 3px rgba(43, 116, 222, .18);
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }
.form-hint { font-size: .84rem; color: var(--ink-3); margin-top: 14px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.alert { border-radius: var(--radius); padding: 15px 18px; font-size: .95rem; margin-bottom: 20px; display: flex; gap: 11px; }
.alert-ok { background: #e8f6ee; border: 1px solid #b9e2ca; color: #1c6b3f; }
.alert-err { background: #fdecea; border: 1px solid #f5c6c0; color: #96271b; }
.alert .icon { margin-top: 3px; flex: 0 0 auto; }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--navy-900) 0%, var(--indigo-600) 55%, #2f6ce0 100%);
  color: #fff; border-radius: var(--radius-lg); padding: clamp(32px, 5vw, 58px);
  display: grid; grid-template-columns: 1.4fr auto; gap: 30px; align-items: center;
  position: relative; overflow: hidden;
}
.cta-band::after {
  content: ''; position: absolute; right: -60px; top: -60px; width: 280px; height: 280px;
  border-radius: 50%; background: rgba(255, 207, 9, .18);
}
.cta-band > * { position: relative; }
.cta-band h2 { color: #fff; margin-bottom: .35em; }
.cta-band p { color: #cdd5ec; margin: 0; max-width: 56ch; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 800px) { .cta-band { grid-template-columns: 1fr; } }

/* ---------- footer ---------- */
.footer { background: var(--navy-950); color: #97a2c4; padding-block: clamp(44px, 5vw, 66px) 0; font-size: .93rem; }
.footer h4 { color: #fff; font-size: .96rem; margin-bottom: 16px; font-family: var(--font-body); font-weight: 600; letter-spacing: .02em; }
.footer a { color: #b8c1dd; text-decoration: none; }
.footer a:hover { color: var(--gold-400); text-decoration: none; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: clamp(24px, 3vw, 44px); }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer li { margin: 0; }
.footer .brand-name { color: #fff; }
.footer .brand-sub { color: #8d98ba; }
.footer-about { max-width: 38ch; margin-top: 16px; line-height: 1.7; }
.footer-bottom {
  margin-top: clamp(34px, 4vw, 52px); border-top: 1px solid rgba(255, 255, 255, .09);
  padding-block: 20px; display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between;
  font-size: .86rem; color: #7d88ab;
}
.footer-social { display: flex; gap: 9px; margin-top: 18px; }
.footer-social a {
  width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center;
  background: rgba(255, 255, 255, .07); color: #cfd6ea; transition: .16s;
}
.footer-social a:hover { background: var(--gold-500); color: var(--navy-900); }

/* ---------- floating contact ---------- */
.fab { position: fixed; right: 16px; bottom: 16px; z-index: 55; display: grid; gap: 10px; }
.fab a {
  width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center;
  color: #fff; box-shadow: var(--shadow-lg); transition: transform .18s;
}
.fab a:hover { transform: scale(1.07); }
.fab .fab-line { background: #06c755; }
.fab .fab-tel { background: var(--navy-900); }
@media (max-width: 560px) { .fab a { width: 50px; height: 50px; } }

/* ---------- misc ---------- */
.tagline-strip {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 28px;
  padding: 20px 0; border-block: 1px solid var(--line); background: var(--white);
  font-size: .92rem; color: var(--ink-2);
}
.tagline-strip span { display: inline-flex; align-items: center; gap: 8px; }
.tagline-strip .icon { color: var(--gold-600); }

.pill-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.pill {
  font-size: .82rem; padding: 5px 13px; border-radius: 999px;
  background: var(--paper-2); color: var(--ink-2); border: 1px solid var(--line);
}

.empty { text-align: center; padding: 60px 20px; color: var(--ink-3); }

@media print { .nav, .topbar, .fab, .footer, .cta-band { display: none; } }


/* ==========================================================================
   Motion — vitality without noise. Everything here yields to
   prefers-reduced-motion via the global override at the end of this file.
   ========================================================================== */

/* scroll progress rail */
.progress {
  position: fixed; top: 0; left: 0; height: 3px; z-index: 80;
  width: 0%; background: linear-gradient(90deg, var(--gold-500), #ffe680, var(--gold-500));
  box-shadow: 0 0 12px rgba(255, 207, 9, .7);
  transition: width .12s linear;
}

/* hero: slow drift on the active slide so the photo feels alive */
.hero-slide img { transform: scale(1.06); transition: opacity .9s ease; }
.hero-slide.is-on img { animation: kenburns 15s ease-out forwards; }
@keyframes kenburns {
  from { transform: scale(1.06) translate3d(0, 0, 0); }
  to   { transform: scale(1.15) translate3d(-1.2%, -1.4%, 0); }
}

/* hero copy: stagger the eyebrow, headline, body, buttons */
.hero-slide-copy.is-on > * { animation: riseIn .72s cubic-bezier(.22, .9, .3, 1) both; }
.hero-slide-copy.is-on > *:nth-child(1) { animation-delay: .04s; }
.hero-slide-copy.is-on > *:nth-child(2) { animation-delay: .13s; }
.hero-slide-copy.is-on > *:nth-child(3) { animation-delay: .22s; }
.hero-slide-copy.is-on > *:nth-child(4) { animation-delay: .31s; }
@keyframes riseIn {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: none; }
}
.hero-slide-copy.is-on { animation: none; }

/* floating light blobs behind the hero copy */
.hero::before, .hero::after {
  content: ''; position: absolute; z-index: 1; border-radius: 50%;
  pointer-events: none; filter: blur(60px);
}
.hero::before {
  width: 380px; height: 380px; left: -110px; top: -80px;
  background: rgba(43, 116, 222, .34); animation: drift 17s ease-in-out infinite;
}
.hero::after {
  width: 300px; height: 300px; right: 8%; bottom: -110px;
  background: rgba(255, 207, 9, .26); animation: drift 21s ease-in-out infinite reverse;
}
@keyframes drift {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50%      { transform: translate3d(38px, -30px, 0) scale(1.14); }
}

/* buttons: light sweep on hover */
.btn { position: relative; overflow: hidden; isolation: isolate; }
.btn::after {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, .55) 48%, transparent 66%);
  transform: translateX(-130%);
}
.btn:hover::after { animation: sweep .72s ease-out; }
@keyframes sweep { to { transform: translateX(130%); } }
.btn-navy::after, .btn-ghost::after {
  background: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, .3) 48%, transparent 66%);
}

/* primary CTA breathes once it scrolls into view */
.hero-actions .btn-primary { animation: pulseGold 3.4s ease-in-out 1.4s infinite; }
@keyframes pulseGold {
  0%, 100% { box-shadow: 0 6px 18px rgba(255, 207, 9, .45); }
  50%      { box-shadow: 0 6px 18px rgba(255, 207, 9, .45), 0 0 0 12px rgba(255, 207, 9, 0); }
  8%       { box-shadow: 0 6px 18px rgba(255, 207, 9, .45), 0 0 0 0 rgba(255, 207, 9, .42); }
}

/* cards: sheen that tracks the hover */
.card { position: relative; }
.card::before {
  content: ''; position: absolute; inset: 0; z-index: 3; pointer-events: none;
  border-radius: inherit; opacity: 0; transition: opacity .3s ease;
  background: linear-gradient(135deg, rgba(255, 207, 9, .11), transparent 42%, rgba(43, 116, 222, .1));
}
.card:hover::before { opacity: 1; }
.card:hover { box-shadow: var(--shadow-lg); }

/* service card gets a gold underline that grows on hover */
.card-foot { position: relative; }
.card-foot::after {
  content: ''; position: absolute; left: 0; bottom: -3px; height: 2px; width: 0;
  background: var(--gold-500); border-radius: 2px; transition: width .3s ease;
}
.card:hover .card-foot::after { width: 46px; }

/* stat counters */
.trust-value { display: inline-block; }
.trust-item { position: relative; overflow: hidden; }
.trust-item::after {
  content: ''; position: absolute; left: 50%; bottom: 0; width: 0; height: 3px;
  background: var(--gold-500); transform: translateX(-50%);
  transition: width .5s cubic-bezier(.22, .9, .3, 1);
}
.trust-item.is-in::after { width: 62%; }

/* process steps: the connecting line draws itself */
.step::before { transform-origin: left center; transition: transform .7s ease; }
.steps.is-in .step::before { animation: drawLine .8s ease both; }
@keyframes drawLine { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.step-num { transition: transform .25s ease, box-shadow .25s ease, background .25s ease; }
.step:hover .step-num {
  transform: translateY(-3px) scale(1.06);
  background: var(--gold-500);
  box-shadow: 0 8px 20px rgba(255, 207, 9, .5);
}

/* gallery tiles pop in as they arrive */
.gal-item { transition: transform .3s ease, box-shadow .3s ease; }
.gal-item:hover { transform: translateY(-4px); box-shadow: var(--shadow); z-index: 2; }

/* accordion body slides open */
.acc details[open] .acc-body { animation: fadeDown .32s ease both; }
@keyframes fadeDown {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: none; }
}

/* the tagline strip drifts its checkmarks in */
.tagline-strip span { transition: color .2s ease, transform .2s ease; }
.tagline-strip span:hover { color: var(--navy-800); transform: translateY(-1px); }

/* eyebrow rule grows when its section arrives */
.eyebrow::before { transition: width .55s cubic-bezier(.22, .9, .3, 1); }
.sec-head.is-in .eyebrow::before { width: 46px; }

/* pricing card lift */
.pkg { transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease; }
.pkg.is-featured { position: relative; animation: featuredGlow 4.5s ease-in-out infinite; }
@keyframes featuredGlow {
  0%, 100% { box-shadow: 0 6px 20px rgba(2, 74, 173, .1), 0 0 0 0 rgba(255, 207, 9, .5); }
  50%      { box-shadow: 0 10px 28px rgba(2, 74, 173, .13), 0 0 0 8px rgba(255, 207, 9, .16); }
}
.pkg.is-featured:hover { animation-play-state: paused; }

/* floating contact buttons: gentle attention pulse on the LINE bubble */
.fab .fab-line { position: relative; }
.fab .fab-line::before {
  content: ''; position: absolute; inset: 0; border-radius: 50%;
  background: #06c755; animation: ring 2.8s ease-out infinite; z-index: -1;
}
@keyframes ring {
  0%   { transform: scale(1); opacity: .55; }
  70%  { transform: scale(1.75); opacity: 0; }
  100% { transform: scale(1.75); opacity: 0; }
}

/* nav shrinks slightly once you scroll past the hero */
.nav { transition: box-shadow .25s ease, background .25s ease; }
.nav.is-stuck { box-shadow: 0 4px 20px rgba(2, 74, 173, .11); background: rgba(255, 255, 255, .97); }

/* Must stay last: it has to out-cascade every animation declared above. */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  .hero-slide img { transform: none !important; }
  .hero::before, .hero::after { display: none; }
}
