/* =========================================================
   優才滙港 Excel Talents — site styles
   Palette inherited from the existing brand:
   navy #0a1a2b / #12283e, gold #b08d4a, cream #f6e3bd, paper #f5f6f7
   ========================================================= */

:root {
  --navy-deep: #0a1a2b;
  --navy: #12283e;
  --navy-ink: #123a63;
  --gold: #b08d4a;
  --gold-light: #c9a86a;
  --gold-cream: #f6e3bd;
  --paper: #f5f6f7;
  --paper-alt: #ecedee;
  --body: #26333f;
  --muted: #5c6873;
  --line: #d6d8da;
  --white: #ffffff;

  --font-serif: "Marcellus", "Noto Serif TC", "Songti TC", serif;
  --font-body: "Noto Sans TC", -apple-system, "Segoe UI", "Microsoft JhengHei", sans-serif;

  --wrap: 1160px;
  --radius: 4px;
  --shadow-sm: 0 1px 2px rgba(10, 26, 43, 0.06);
  --shadow-md: 0 10px 30px -12px rgba(10, 26, 43, 0.28);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.75;
  color: var(--body);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--navy-ink); text-decoration: none; }
a:hover { color: var(--gold); }

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  color: var(--navy);
  font-weight: 700;
  line-height: 1.3;
  margin: 0 0 0.6em;
  letter-spacing: 0.01em;
}

h1 { font-size: clamp(2rem, 4.2vw, 3.35rem); line-height: 1.22; }
h2 { font-size: clamp(1.6rem, 3vw, 2.35rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }

ul, ol { margin: 0 0 1em; padding-left: 1.25em; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--gold); color: var(--navy-deep); padding: 10px 18px;
}
.skip-link:focus { left: 0; }

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

/* ---------- shared bits ---------- */

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-body);
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--gold); margin: 0 0 14px;
}
.eyebrow::before {
  content: ""; width: 26px; height: 1px; background: var(--gold); opacity: 0.7;
}
.eyebrow--center { justify-content: center; }
.eyebrow--center::after {
  content: ""; width: 26px; height: 1px; background: var(--gold); opacity: 0.7;
}

.section { padding: 84px 0; }
.section--tight { padding: 60px 0; }
.section--paper { background: var(--paper); }
.section--alt { background: var(--paper-alt); }
.section--white { background: var(--white); }
.section--navy { background: var(--navy-deep); color: rgba(255, 255, 255, 0.78); }
.section--navy h2, .section--navy h3 { color: var(--white); }
.section--navy .card h3 { color: var(--navy); }
.section--navy .card p { color: var(--muted); }

.section-head { max-width: 720px; margin-bottom: 46px; }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p { color: var(--muted); margin-bottom: 0; }
.section--navy .section-head p { color: rgba(255, 255, 255, 0.7); }

.lede { font-size: 1.06rem; color: var(--muted); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-height: 50px; padding: 0 26px;
  font-family: var(--font-body); font-size: 0.95rem; font-weight: 700;
  border: 1px solid transparent; border-radius: var(--radius);
  cursor: pointer; text-align: center;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease), transform 0.2s var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn--gold { background: var(--gold); color: var(--navy-deep); }
.btn--gold:hover { background: var(--gold-light); color: var(--navy-deep); }
.btn--ghost { border-color: rgba(255, 255, 255, 0.45); color: var(--white); background: transparent; }
.btn--ghost:hover { border-color: var(--gold-cream); color: var(--gold-cream); }
.btn--navy { background: var(--navy); color: var(--gold-cream); }
.btn--navy:hover { background: var(--navy-deep); color: var(--gold-cream); }
.btn--outline { border-color: var(--line); background: var(--white); color: var(--navy); }
.btn--outline:hover { border-color: var(--gold); color: var(--navy); }
.btn--sm { min-height: 42px; padding: 0 18px; font-size: 0.86rem; }
.btn--block { width: 100%; }

.note {
  font-size: 0.82rem; color: var(--muted); line-height: 1.7;
}
.section--navy .note { color: rgba(255, 255, 255, 0.55); }

/* ---------- header ---------- */

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(10, 26, 43, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  transition: box-shadow 0.25s var(--ease), background-color 0.25s var(--ease);
}
.site-header.is-scrolled { box-shadow: 0 8px 24px -14px rgba(0, 0, 0, 0.6); }

.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; min-height: 74px;
}

.brand { display: flex; align-items: center; gap: 12px; color: var(--white); }
.brand:hover { color: var(--white); }
.brand-mark {
  width: 40px; height: 40px; flex: none;
  border: 1px solid rgba(176, 141, 74, 0.6);
  border-radius: 2px;
  display: grid; place-items: center;
  font-family: var(--font-serif); font-size: 19px; color: var(--gold-cream);
  background: linear-gradient(160deg, rgba(176, 141, 74, 0.22), rgba(176, 141, 74, 0));
}
.brand-text { display: flex; flex-direction: column; line-height: 1.25; }
.brand-zh { font-family: var(--font-serif); font-size: 1.06rem; letter-spacing: 0.08em; }
.brand-en {
  font-family: var(--font-serif); font-size: 9.5px;
  letter-spacing: 0.28em; color: var(--gold);
}

.nav { display: flex; align-items: center; gap: 30px; }
.nav a {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.9rem; font-weight: 500; padding: 6px 0;
  border-bottom: 1px solid transparent;
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--gold-cream); border-bottom-color: var(--gold); }
.nav .lang-switch { color: var(--gold-cream); font-size: 0.8rem; letter-spacing: 0.06em; white-space: nowrap; }
body[data-lang="en"] .nav { gap: 20px; }
body[data-lang="en"] .nav a { font-size: 0.84rem; }
body[data-lang="en"] .brand-zh { font-size: 0.92rem; letter-spacing: 0.05em; }
body[data-lang="en"] .seal-core strong { font-size: 1.25rem; }

.header-actions { display: flex; align-items: center; gap: 12px; }

.nav-cta { display: none; }

.nav-toggle {
  display: none;
  width: 44px; height: 44px; padding: 0;
  background: transparent; border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--radius); color: var(--white); cursor: pointer;
}
.nav-toggle span {
  display: block; width: 18px; height: 1.5px; background: currentColor;
  margin: 4px auto; transition: transform 0.25s var(--ease), opacity 0.2s var(--ease);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

/* ---------- hero ---------- */

.hero {
  position: relative; overflow: hidden;
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.82);
  padding: 92px 0 84px;
  isolation: isolate;
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background-image: url("./img/hero-hk.jpg");
  background-size: cover; background-position: center 42%;
  opacity: 0.42;
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(100deg, rgba(10, 26, 43, 0.97) 0%, rgba(10, 26, 43, 0.9) 42%, rgba(10, 26, 43, 0.55) 100%),
    radial-gradient(60% 80% at 80% 20%, rgba(18, 58, 99, 0.5), transparent 70%);
}

.hero-grid {
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 56px; align-items: center;
}

.hero h1 { color: var(--white); margin-bottom: 20px; }
.hero h1 em {
  font-style: normal; color: var(--gold-cream);
  display: block; font-size: 0.44em; letter-spacing: 0.12em;
  margin-top: 14px; font-family: var(--font-body); font-weight: 500;
  text-transform: uppercase;
}
.hero p { max-width: 34em; font-size: 1.02rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

.hero-trust {
  display: flex; flex-wrap: wrap; gap: 10px 22px;
  margin: 34px 0 0; padding: 22px 0 0; list-style: none;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.84rem; color: rgba(255, 255, 255, 0.72);
}
.hero-trust li { display: flex; align-items: center; gap: 8px; }
.hero-trust li::before {
  content: ""; width: 5px; height: 5px; background: var(--gold);
  transform: rotate(45deg); flex: none;
}

/* seal badge */
.seal {
  justify-self: center; width: 232px; height: 232px;
  display: grid; place-items: center; position: relative;
}
.seal svg { width: 100%; height: 100%; }
.seal-core {
  position: absolute; inset: 0; display: grid; place-content: center;
  text-align: center; gap: 4px;
}
.seal-core strong {
  display: block; font-family: var(--font-serif); font-size: 2.05rem;
  color: var(--gold-cream); letter-spacing: 0.06em; line-height: 1.1;
}
.seal-core span {
  display: block; font-size: 9.5px; letter-spacing: 0.26em;
  text-transform: uppercase; color: rgba(246, 227, 189, 0.72);
}
.seal-core small {
  display: block; margin-top: 6px; font-size: 10.5px;
  letter-spacing: 0.1em; color: rgba(255, 255, 255, 0.55);
}

/* ---------- cards / grids ---------- */

.grid { display: grid; gap: 20px; }
.grid > *, .hero-grid > *, .enquiry-grid > * { min-width: 0; }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 26px;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease), transform 0.2s var(--ease);
}
.card:hover { border-color: rgba(176, 141, 74, 0.55); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.card h3 { margin-bottom: 8px; }
.card p { margin-bottom: 0; color: var(--muted); font-size: 0.95rem; }
.card .num {
  font-family: var(--font-serif); font-size: 0.78rem; letter-spacing: 0.16em;
  color: var(--gold); display: block; margin-bottom: 14px;
}

.card-icon {
  width: 34px; height: 34px; margin-bottom: 16px;
  color: var(--gold);
}
.card-icon svg { width: 100%; height: 100%; }

/* schemes */
.scheme {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden;
  display: flex; flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s var(--ease), transform 0.2s var(--ease), border-color 0.2s var(--ease);
}
.scheme:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); border-color: rgba(176, 141, 74, 0.5); }
.scheme-media { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--navy); }
.scheme-media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.scheme:hover .scheme-media img { transform: scale(1.04); }
.scheme-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10, 26, 43, 0.12), rgba(10, 26, 43, 0.62));
}
.scheme-tag {
  position: absolute; left: 16px; bottom: 14px; z-index: 2;
  font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--gold-cream); border: 1px solid rgba(246, 227, 189, 0.5);
  padding: 4px 9px; border-radius: 2px; background: rgba(10, 26, 43, 0.45);
}
.scheme-body { padding: 24px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.scheme-body h3 { font-size: 1.16rem; }
.scheme-body p { color: var(--muted); font-size: 0.93rem; }
.scheme-body ul { font-size: 0.9rem; color: var(--muted); padding-left: 1.1em; margin-bottom: 20px; }
.scheme-body ul li { margin-bottom: 4px; }
.scheme-body .btn { margin-top: auto; align-self: flex-start; }

/* industries */
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 18px; background: var(--white);
  border: 1px solid var(--line); border-radius: 999px;
  font-size: 0.9rem; color: var(--navy); font-weight: 500;
  transition: border-color 0.2s var(--ease), background-color 0.2s var(--ease);
}
.chip:hover { border-color: var(--gold); background: #fffdf8; }
.chip::before {
  content: ""; width: 5px; height: 5px; background: var(--gold);
  transform: rotate(45deg);
}
.industries-note { margin-top: 26px; font-size: 0.93rem; color: var(--muted); }
.industries-note a { border-bottom: 1px solid rgba(18, 58, 99, 0.35); }

/* process */
.steps { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; counter-reset: step; }
.step {
  display: grid; grid-template-columns: 92px minmax(0, 1fr) 168px;
  gap: 26px; align-items: start;
  padding: 26px 0; border-top: 1px solid var(--line);
}
.step:last-child { border-bottom: 1px solid var(--line); }
.step-num {
  font-family: var(--font-serif); font-size: 2.3rem; line-height: 1;
  color: transparent; -webkit-text-stroke: 1px rgba(176, 141, 74, 0.75);
  letter-spacing: 0.02em;
}
.step-body h3 { margin-bottom: 6px; font-size: 1.08rem; }
.step-body p { margin: 0; color: var(--muted); font-size: 0.94rem; }
.step-dur {
  justify-self: end; align-self: center;
  font-size: 0.82rem; color: var(--navy); font-weight: 700;
  background: rgba(176, 141, 74, 0.12);
  border: 1px solid rgba(176, 141, 74, 0.3);
  padding: 6px 12px; border-radius: 2px; white-space: nowrap;
}

/* faq */
.faq { max-width: 900px; margin: 0 auto; }
.faq details {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); margin-bottom: 10px;
  transition: border-color 0.2s var(--ease);
}
.faq details[open] { border-color: rgba(176, 141, 74, 0.45); }
.faq summary {
  list-style: none; cursor: pointer;
  padding: 20px 54px 20px 24px; position: relative;
  font-weight: 700; color: var(--navy); font-size: 1rem; line-height: 1.55;
}
.faq summary { display: flex; align-items: flex-start; gap: 14px; min-height: 44px; }
.faq summary > span:last-child { flex: 1; }
.faq .faq-num { flex: none; color: var(--gold); font-family: var(--font-serif); font-size: 0.84rem; letter-spacing: 0.08em; padding-top: 2px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 22px; top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-serif); font-size: 1.4rem; line-height: 1;
  color: var(--gold); transition: transform 0.2s var(--ease);
}
.faq details[open] summary::after { content: "–"; }
.faq .answer { padding: 0 24px 22px; color: var(--muted); font-size: 0.95rem; }
.faq .answer p:last-child { margin-bottom: 0; }
.faq .answer a { border-bottom: 1px solid rgba(18, 58, 99, 0.35); }

/* CTA band */
.band {
  position: relative; overflow: hidden;
  background: var(--navy); color: rgba(255, 255, 255, 0.8);
  padding: 66px 0;
}
.band::after {
  content: ""; position: absolute; top: -40%; right: -10%;
  width: 460px; height: 460px; border-radius: 50%;
  background: radial-gradient(circle, rgba(176, 141, 74, 0.22), transparent 68%);
}
.band-inner {
  display: flex; flex-wrap: wrap; align-items: center;
  justify-content: space-between; gap: 26px; position: relative; z-index: 1;
}
.band h2 { color: var(--white); margin-bottom: 8px; }
.band p { margin: 0; max-width: 46em; font-size: 0.96rem; }
.band-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* enquiry */
.enquiry-grid {
  display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 48px; align-items: start;
}
.enquiry-aside h2 { margin-bottom: 14px; font-size: clamp(1.55rem, 2.5vw, 2rem); }
.enquiry-aside p { color: var(--muted); font-size: 0.97rem; }

.form-card {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow-sm);
}
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.field { margin-bottom: 18px; }
.field label {
  display: block; font-size: 0.84rem; font-weight: 700;
  color: var(--navy); margin-bottom: 6px; letter-spacing: 0.02em;
}
.field label .req { color: #b44242; margin-left: 2px; }
.field .hint { font-weight: 400; color: var(--muted); font-size: 0.78rem; margin-left: 4px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px;
  font-family: var(--font-body); font-size: 0.95rem; color: var(--body);
  background: var(--white); border: 1px solid #c9ccd0; border-radius: var(--radius);
  transition: border-color 0.15s var(--ease), box-shadow 0.15s var(--ease);
}
.field textarea { min-height: 96px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(176, 141, 74, 0.16);
}
.form-foot { display: grid; gap: 12px; margin-top: 6px; }
.form-status {
  display: none; margin-top: 14px; padding: 12px 14px;
  font-size: 0.86rem; border-radius: var(--radius);
  border: 1px solid rgba(176, 141, 74, 0.4);
  background: #fffaf0; color: var(--navy);
}
.form-status.is-visible { display: block; }
.consent {
  display: flex; gap: 10px; align-items: flex-start;
  font-size: 0.8rem; color: var(--muted); line-height: 1.6;
}
.consent input { width: 16px; height: 16px; margin-top: 3px; flex: none; accent-color: var(--gold); }
.hp { position: absolute; left: -9999px; }

/* contact list */
.contact-list { list-style: none; margin: 0; padding: 0; }
.contact-list li {
  display: grid; grid-template-columns: 88px minmax(0, 1fr);
  gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line);
}
.contact-list li:first-child { border-top: 1px solid var(--line); }
.contact-list .k { font-size: 0.82rem; color: var(--muted); letter-spacing: 0.04em; }
.contact-list .v { color: var(--navy); font-weight: 500; }
.contact-list .v a { border-bottom: 1px solid rgba(18, 58, 99, 0.3); }

/* page hero (inner pages) */
.page-hero {
  background: var(--navy-deep); color: rgba(255, 255, 255, 0.8);
  padding: 64px 0 56px; position: relative; overflow: hidden;
}
.page-hero::after {
  content: ""; position: absolute; right: -120px; top: -160px;
  width: 420px; height: 420px; border-radius: 50%;
  background: radial-gradient(circle, rgba(176, 141, 74, 0.2), transparent 70%);
}
.page-hero h1 { color: var(--white); font-size: clamp(1.85rem, 3.4vw, 2.8rem); }
.crumbs { font-size: 0.78rem; letter-spacing: 0.08em; color: rgba(255, 255, 255, 0.5); margin-bottom: 18px; }
.crumbs a { color: rgba(255, 255, 255, 0.7); }
.crumbs span { margin: 0 8px; opacity: 0.5; }
.page-hero .lede { color: rgba(255, 255, 255, 0.72); max-width: 46em; margin-bottom: 0; }

/* article / policy */
.prose { max-width: 820px; }
.prose h2 { margin-top: 2em; font-size: 1.5rem; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.6em; }
.prose li { margin-bottom: 6px; }
.policy-item {
  background: var(--white); border: 1px solid var(--line);
  border-left: 3px solid var(--gold);
  border-radius: var(--radius); padding: 24px 26px; margin-bottom: 16px;
}
.policy-item .date {
  display: inline-block; font-size: 0.76rem; font-weight: 700;
  letter-spacing: 0.08em; color: var(--gold); margin-bottom: 8px;
}
.policy-item h3 { margin-bottom: 8px; font-size: 1.08rem; }
.policy-item p:last-child { margin-bottom: 0; }
.policy-item p { color: var(--muted); font-size: 0.94rem; }

.checklist { list-style: none; padding: 0; margin: 0; }
.checklist li {
  position: relative; padding: 12px 0 12px 32px;
  border-bottom: 1px solid var(--line); color: var(--body); font-size: 0.95rem;
}
.checklist li::before {
  content: ""; position: absolute; left: 2px; top: 21px;
  width: 10px; height: 5px; border-left: 2px solid var(--gold);
  border-bottom: 2px solid var(--gold); transform: rotate(-45deg);
}

.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
table { width: 100%; border-collapse: collapse; font-size: 0.9rem; min-width: 560px; }
th, td { padding: 13px 16px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
th { background: var(--paper-alt); font-size: 0.8rem; letter-spacing: 0.04em; color: var(--navy); white-space: nowrap; }
tr:last-child td { border-bottom: none; }
td code {
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 0.84rem; background: var(--paper); padding: 2px 6px; border-radius: 2px;
}

/* alert */
.alert {
  background: #fffaf0; border: 1px solid rgba(176, 141, 74, 0.4);
  border-left: 3px solid var(--gold);
  padding: 16px 18px; border-radius: var(--radius);
  font-size: 0.9rem; color: var(--body);
}
.alert strong { color: var(--navy); }

/* link list */
.link-list { list-style: none; padding: 0; margin: 0; }
.link-list li { border-bottom: 1px solid var(--line); }
.link-list li:first-child { border-top: 1px solid var(--line); }
.link-list a {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding: 15px 2px; font-size: 0.94rem; color: var(--navy);
}
.link-list a::after { content: "→"; color: var(--gold); flex: none; }
.link-list a:hover { color: var(--gold); }

/* footer */
.site-footer {
  background: var(--navy-deep); color: rgba(255, 255, 255, 0.62);
  padding: 62px 0 26px; font-size: 0.9rem;
}
.footer-grid {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px; padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.site-footer .brand { margin-bottom: 16px; }
.site-footer p { font-size: 0.86rem; line-height: 1.75; margin-bottom: 0; }
.site-footer h4 {
  font-family: var(--font-body); font-size: 0.74rem; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 16px;
}
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 9px; }
.site-footer a { color: rgba(255, 255, 255, 0.72); }
.site-footer a:hover { color: var(--gold-cream); }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px;
  padding-top: 22px; font-size: 0.78rem; color: rgba(255, 255, 255, 0.45);
}
.footer-bottom a { color: rgba(255, 255, 255, 0.55); }

/* reveal animation: content is visible by default, animation is opt-in via .js */
.reveal { opacity: 1; transform: none; }
.js .reveal {
  opacity: 0; transform: translateY(14px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */

@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .seal { width: 190px; height: 190px; order: -1; justify-self: start; }
  .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .enquiry-grid { grid-template-columns: 1fr; gap: 34px; }
  .step { grid-template-columns: 64px minmax(0, 1fr); }
  .step-dur { grid-column: 2; justify-self: start; margin-top: -12px; }
}

@media (max-width: 1100px) {
  .nav {
    position: fixed; inset: 74px 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--navy-deep); padding: 8px 24px 22px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    transform: translateY(-8px); opacity: 0; pointer-events: none;
    transition: opacity 0.2s var(--ease), transform 0.2s var(--ease);
    max-height: calc(100vh - 74px); overflow-y: auto;
  }
  .nav.is-open { opacity: 1; transform: none; pointer-events: auto; }
  .nav a { padding: 13px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.08); font-size: 0.95rem; }
  .nav a:hover, .nav a[aria-current="page"] { border-bottom-color: rgba(255, 255, 255, 0.08); }
  .nav-toggle { display: block; }
  .header-actions .btn { display: none; }
  .nav-cta { display: inline-flex; margin-top: 16px; }
  .grid--3, .grid--2 { grid-template-columns: minmax(0, 1fr); }
  .section { padding: 62px 0; }
  .hero { padding: 62px 0 58px; }
  .form-row { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .form-card { padding: 24px 20px; }
  .band-actions { width: 100%; }
  .band-actions .btn { flex: 1 1 auto; }
}

@media (max-width: 560px) {
  .grid--4 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .hero-trust { flex-direction: column; gap: 8px; }
  .step { grid-template-columns: minmax(0, 1fr); gap: 10px; padding: 22px 0; }
  .step-num { font-size: 1.5rem; }
  .step-dur { grid-column: 1; margin-top: 0; }
  .contact-list li { grid-template-columns: minmax(0, 1fr); gap: 4px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
  .reveal, .js .reveal { opacity: 1; transform: none; }
}

@media print {
  .site-header, .site-footer, .band, .hero-cta, .nav-toggle { display: none; }
  body { background: #fff; }
}
