/* ==========================================================================
   Leadership Talent Partners — design system
   Navy · White · Gold
   ========================================================================== */

:root {
  --navy-950: #050f1f;
  --navy-900: #081a33;
  --navy-800: #0d2547;
  --navy-700: #15335e;
  --navy-600: #224777;
  --gold-500: #c9a24b;
  --gold-400: #d8b76a;
  --gold-300: #e7d09c;
  --gold-100: #f6eedb;
  --ivory: #faf8f3;
  --white: #ffffff;
  --ink: #0f1b2d;
  --slate: #4a5668;
  --muted: #6b7686;
  --line: rgba(13, 37, 71, 0.12);
  --line-light: rgba(255, 255, 255, 0.14);

  --font-display: "Cormorant Garamond", "Times New Roman", serif;
  --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius-sm: 6px;
  --radius: 14px;
  --radius-lg: 24px;
  --shadow-sm: 0 2px 10px rgba(8, 26, 51, 0.06);
  --shadow: 0 18px 50px -20px rgba(8, 26, 51, 0.35);
  --shadow-gold: 0 14px 34px -14px rgba(201, 162, 75, 0.65);

  --container: 1200px;
  --header-h: 84px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset ---------- */
*,
*::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: 1.0625rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin: 0 0 0.5em;
  color: var(--navy-900);
}
p { margin: 0 0 1.1em; }
:focus-visible { outline: 2px solid var(--gold-500); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--gold-300); color: var(--navy-900); }

.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 1000;
  background: var(--gold-500); color: var(--navy-900); padding: 0.6rem 1rem; border-radius: var(--radius-sm); font-weight: 700;
}
.skip-link:focus { top: 1rem; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* ---------- Layout ---------- */
.container { width: min(100% - 2.5rem, var(--container)); margin-inline: auto; }
.section { padding: clamp(4.5rem, 9vw, 8rem) 0; }
.section--ivory { background: var(--ivory); }
.section--navy { background: var(--navy-900); color: rgba(255, 255, 255, 0.82); }
.section--navy h2, .section--navy h3 { color: var(--white); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 0.75rem;
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--gold-500); margin-bottom: 1.1rem;
}
.eyebrow::before { content: ""; width: 34px; height: 1px; background: currentColor; }

.section-head { max-width: 720px; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow::after { content: ""; width: 34px; height: 1px; background: currentColor; }
.section-head h2 { font-size: clamp(2.2rem, 4.4vw, 3.4rem); }
.section-head p { color: var(--slate); font-size: 1.125rem; }
.section--navy .section-head p { color: rgba(255, 255, 255, 0.72); }

.lead { font-size: clamp(1.1rem, 1.6vw, 1.25rem); color: var(--slate); }
.gold { color: var(--gold-500); }
em.accent { font-style: italic; color: var(--gold-500); font-weight: 500; }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--gold-500); --btn-fg: var(--navy-900);
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
  padding: 0.95rem 1.7rem; border-radius: 999px; border: 1px solid transparent;
  background: var(--btn-bg); color: var(--btn-fg);
  font-weight: 700; font-size: 0.95rem; letter-spacing: 0.02em; cursor: pointer;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background 0.3s, color 0.3s, border-color 0.3s;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; transition: transform 0.35s var(--ease); }
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-gold); background: var(--gold-400); }
.btn:hover svg { transform: translateX(3px); }
.btn--navy { --btn-bg: var(--navy-900); --btn-fg: var(--white); }
.btn--navy:hover { background: var(--navy-700); box-shadow: var(--shadow); }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--white); border-color: rgba(255, 255, 255, 0.45); }
.btn--ghost:hover { background: rgba(255, 255, 255, 0.1); border-color: var(--gold-400); box-shadow: none; }
.btn--outline { --btn-bg: transparent; --btn-fg: var(--navy-900); border-color: var(--navy-900); }
.btn--outline:hover { background: var(--navy-900); color: var(--white); box-shadow: var(--shadow); }
.btn[disabled] { opacity: 0.6; cursor: not-allowed; transform: none; box-shadow: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 1rem; }

.text-link {
  display: inline-flex; align-items: center; gap: 0.45rem; font-weight: 700; color: var(--navy-800);
  border-bottom: 1px solid var(--gold-500); padding-bottom: 2px; transition: color 0.25s, gap 0.3s var(--ease);
}
.text-link:hover { color: var(--gold-500); gap: 0.7rem; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 100; height: var(--header-h);
  display: flex; align-items: center;
  transition: background 0.4s var(--ease), box-shadow 0.4s var(--ease), height 0.4s var(--ease);
}
.site-header.is-scrolled,
.site-header--solid {
  background: rgba(8, 26, 51, 0.92);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  box-shadow: 0 1px 0 var(--line-light);
}
.site-header.is-scrolled { height: 70px; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }

.brand { display: inline-flex; align-items: center; gap: 0.8rem; color: var(--white); }
.brand-mark { width: 42px; height: 42px; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name { font-family: var(--font-display); font-size: 1.35rem; font-weight: 600; letter-spacing: 0.01em; }
.brand-sub { font-size: 0.62rem; letter-spacing: 0.32em; text-transform: uppercase; color: var(--gold-400); font-weight: 700; margin-top: 3px; }

.nav { display: flex; align-items: center; gap: 2.2rem; }
.nav-list { display: flex; align-items: center; gap: 2rem; list-style: none; margin: 0; padding: 0; }
.nav-link {
  position: relative; color: rgba(255, 255, 255, 0.85); font-size: 0.92rem; font-weight: 600; letter-spacing: 0.02em; padding: 0.35rem 0;
  transition: color 0.25s;
}
.nav-link::after {
  content: ""; position: absolute; left: 0; bottom: -2px; height: 1px; width: 100%;
  background: var(--gold-500); transform: scaleX(0); transform-origin: right; transition: transform 0.4s var(--ease);
}
.nav-link:hover, .nav-link[aria-current="page"] { color: var(--white); }
.nav-link:hover::after, .nav-link[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.nav .btn { padding: 0.7rem 1.3rem; font-size: 0.88rem; }

.nav-toggle {
  display: none; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-light);
  background: transparent; cursor: pointer; position: relative;
}
.nav-toggle span {
  position: absolute; left: 13px; right: 13px; height: 1.5px; background: var(--white);
  transition: transform 0.35s var(--ease), opacity 0.2s;
}
.nav-toggle span:nth-child(1) { top: 17px; }
.nav-toggle span:nth-child(2) { top: 22px; }
.nav-toggle span:nth-child(3) { top: 27px; }
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

@media (max-width: 960px) {
  .nav-toggle { display: block; z-index: 2; }
  .nav {
    position: fixed; inset: 0; flex-direction: column; justify-content: center; gap: 2.5rem;
    background: var(--navy-950); padding: 6rem 2rem 3rem;
    opacity: 0; visibility: hidden; transition: opacity 0.4s var(--ease), visibility 0.4s;
  }
  .nav-open .nav { opacity: 1; visibility: visible; }
  .nav-list { flex-direction: column; gap: 1.4rem; }
  .nav-link { font-family: var(--font-display); font-size: 2rem; font-weight: 500; }
  .nav-open { overflow: hidden; }
  /* backdrop-filter creates a containing block for fixed children; drop it so the overlay fills the viewport */
  .nav-open .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--navy-950); }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: min(100svh, 980px); display: flex; align-items: center;
  color: var(--white); overflow: hidden; isolation: isolate; padding: calc(var(--header-h) + 3rem) 0 5rem;
}
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); animation: heroZoom 18s var(--ease) forwards; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(100deg, rgba(5, 15, 31, 0.96) 0%, rgba(8, 26, 51, 0.86) 42%, rgba(8, 26, 51, 0.35) 100%),
    linear-gradient(0deg, rgba(5, 15, 31, 0.7) 0%, transparent 40%);
}
@keyframes heroZoom { to { transform: scale(1); } }
.hero-content { max-width: 760px; }
.hero h1 {
  color: var(--white); font-size: clamp(2.8rem, 6.4vw, 5.4rem); font-weight: 500; line-height: 1.02; margin-bottom: 1.6rem;
}
.hero h1 em { font-style: italic; color: var(--gold-400); }
.hero p { font-size: clamp(1.08rem, 1.5vw, 1.25rem); color: rgba(255, 255, 255, 0.8); max-width: 600px; margin-bottom: 2.4rem; }
.hero .eyebrow { color: var(--gold-400); }
.hero-scroll {
  position: absolute; left: 50%; bottom: 2rem; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 0.6rem;
  font-size: 0.7rem; letter-spacing: 0.3em; text-transform: uppercase; color: rgba(255, 255, 255, 0.6);
}
.hero-scroll::after {
  content: ""; width: 1px; height: 46px; background: linear-gradient(var(--gold-400), transparent);
  animation: scrollLine 2.2s ease-in-out infinite;
}
@keyframes scrollLine { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* Page hero (inner pages) */
.page-hero {
  position: relative; color: var(--white); padding: calc(var(--header-h) + clamp(4rem, 9vw, 7rem)) 0 clamp(4rem, 8vw, 6rem);
  overflow: hidden; isolation: isolate; background: var(--navy-900);
}
.page-hero-media { position: absolute; inset: 0; z-index: -2; }
.page-hero-media img { width: 100%; height: 100%; object-fit: cover; opacity: 0.5; }
.page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, rgba(5, 15, 31, 0.97) 10%, rgba(8, 26, 51, 0.82) 55%, rgba(8, 26, 51, 0.55));
}
.page-hero h1 { color: var(--white); font-size: clamp(2.6rem, 5.6vw, 4.6rem); font-weight: 500; max-width: 820px; }
.page-hero h1 em { color: var(--gold-400); font-style: italic; }
.page-hero p { max-width: 640px; color: rgba(255, 255, 255, 0.78); font-size: 1.15rem; margin: 0; }
.breadcrumb { display: flex; gap: 0.6rem; font-size: 0.82rem; color: rgba(255, 255, 255, 0.6); margin-bottom: 1.5rem; letter-spacing: 0.04em; }
.breadcrumb a:hover { color: var(--gold-400); }
.breadcrumb span[aria-hidden] { color: var(--gold-500); }

/* ---------- Gold divider ornament ---------- */
.ornament { display: flex; align-items: center; justify-content: center; gap: 1rem; color: var(--gold-500); margin: 0 auto; }
.ornament::before, .ornament::after { content: ""; height: 1px; width: 70px; background: linear-gradient(90deg, transparent, currentColor); }
.ornament::after { transform: scaleX(-1); }

/* ---------- Split / feature layouts ---------- */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(2.5rem, 6vw, 6rem); align-items: center; }
.split--reverse .split-media { order: 2; }
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; }
  .split--reverse .split-media { order: 0; }
}
.split-media { position: relative; }
.split-media img { border-radius: var(--radius-lg); box-shadow: var(--shadow); width: 100%; aspect-ratio: 4 / 3.3; object-fit: cover; }
.split-media::before {
  content: ""; position: absolute; inset: -18px auto auto -18px; width: 55%; height: 60%;
  border: 1px solid var(--gold-500); border-radius: var(--radius-lg); z-index: -1;
}
.split--reverse .split-media::before { inset: auto -18px -18px auto; }
.split-content h2 { font-size: clamp(2.1rem, 4vw, 3.1rem); }
.split-content p { color: var(--slate); }

.media-badge {
  position: absolute; right: -14px; bottom: 28px; max-width: 260px;
  background: var(--navy-900); color: var(--white); padding: 1.2rem 1.4rem; border-radius: var(--radius);
  box-shadow: var(--shadow); border-left: 3px solid var(--gold-500);
  font-family: var(--font-display); font-size: 1.2rem; line-height: 1.3; font-style: italic;
}
@media (max-width: 600px) { .media-badge { right: 12px; bottom: 12px; font-size: 1.05rem; max-width: 220px; } }

.check-list { list-style: none; padding: 0; margin: 1.6rem 0 2.2rem; display: grid; gap: 0.9rem; }
.check-list li { display: flex; gap: 0.9rem; align-items: flex-start; color: var(--ink); font-weight: 500; }
.check-list li::before {
  content: ""; flex: none; width: 22px; height: 22px; margin-top: 3px; border-radius: 50%;
  background: var(--gold-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a9832f' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 13px no-repeat;
}

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

.card {
  position: relative; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 2.2rem 2rem; transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), border-color 0.4s;
  overflow: hidden;
}
.card::after {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px;
  background: linear-gradient(90deg, var(--gold-500), var(--gold-300));
  transform: scaleX(0); transform-origin: left; transition: transform 0.6s var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.card:hover::after { transform: scaleX(1); }
.card h3 { font-size: 1.6rem; margin-bottom: 0.6rem; }
.card p { color: var(--slate); font-size: 0.98rem; margin-bottom: 1.4rem; }
.card p:last-child { margin-bottom: 0; }
.card-icon {
  width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 1.5rem;
  background: linear-gradient(140deg, var(--navy-800), var(--navy-900)); color: var(--gold-400);
  box-shadow: inset 0 0 0 1px rgba(201, 162, 75, 0.35);
}
.card-icon svg { width: 26px; height: 26px; }
.card-num {
  position: absolute; top: 1.4rem; right: 1.6rem; font-family: var(--font-display); font-size: 1.1rem;
  color: var(--gold-500); letter-spacing: 0.05em;
}

.section--navy .card { background: rgba(255, 255, 255, 0.04); border-color: var(--line-light); }
.section--navy .card h3 { color: var(--white); }
.section--navy .card p { color: rgba(255, 255, 255, 0.7); }
.section--navy .card:hover { background: rgba(255, 255, 255, 0.07); box-shadow: 0 24px 60px -25px rgba(0, 0, 0, 0.6); }

/* Value / principle list */
.principles { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line-light); }
.principle { padding: 2.2rem 1.8rem 0 0; }
.principle + .principle { padding-left: 1.8rem; border-left: 1px solid var(--line-light); }
.principle h3 { font-size: 1.45rem; }
.principle p { font-size: 0.96rem; margin: 0; }
.principle-index { font-family: var(--font-display); color: var(--gold-400); font-size: 1rem; letter-spacing: 0.12em; display: block; margin-bottom: 0.9rem; }
@media (max-width: 960px) {
  .principles { grid-template-columns: repeat(2, 1fr); }
  .principle:nth-child(3) { padding-left: 0; border-left: 0; }
  .principle { padding-bottom: 2rem; }
}
@media (max-width: 560px) {
  .principles { grid-template-columns: 1fr; }
  .principle, .principle + .principle { padding-left: 0; border-left: 0; }
}

/* Process steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; counter-reset: step; }
.step { position: relative; padding-top: 2.6rem; }
.step::before {
  counter-increment: step; content: "0" counter(step);
  position: absolute; top: 0; left: 0; font-family: var(--font-display); font-size: 1.05rem; color: var(--gold-500); letter-spacing: 0.1em;
}
.step::after { content: ""; position: absolute; top: 0.7rem; left: 2.6rem; right: 0; height: 1px; background: var(--line); }
.step h3 { font-size: 1.45rem; }
.step p { color: var(--slate); font-size: 0.97rem; margin: 0; }
@media (max-width: 960px) { .steps { grid-template-columns: repeat(2, 1fr); row-gap: 2.5rem; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* Service detail blocks */
.service-block { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(2rem, 5vw, 5rem); padding: clamp(3rem, 6vw, 4.5rem) 0; border-top: 1px solid var(--line); align-items: start; scroll-margin-top: 100px; }
.service-block:first-child { border-top: 0; padding-top: 0; }
.service-block h2 { font-size: clamp(2rem, 3.6vw, 2.8rem); }
.service-block .lead { margin-bottom: 1.5rem; }
.service-tag { font-family: var(--font-display); color: var(--gold-500); font-size: 1.1rem; letter-spacing: 0.12em; display: block; margin-bottom: 0.9rem; }
.service-block .check-list { margin: 0 0 1.8rem; }
@media (max-width: 860px) { .service-block { grid-template-columns: 1fr; gap: 1.2rem; } }

.service-nav { display: flex; flex-wrap: wrap; gap: 0.7rem; justify-content: center; }
.service-nav a {
  padding: 0.6rem 1.2rem; border-radius: 999px; border: 1px solid var(--line); font-size: 0.9rem; font-weight: 600; color: var(--navy-800);
  background: var(--white); transition: all 0.3s var(--ease);
}
.service-nav a:hover { border-color: var(--gold-500); color: var(--gold-500); transform: translateY(-2px); }

/* ---------- Image band ---------- */
.image-band { position: relative; min-height: 460px; display: flex; align-items: center; color: var(--white); overflow: hidden; isolation: isolate; }
.image-band img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.image-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(5, 15, 31, 0.92), rgba(8, 26, 51, 0.55)); }
.image-band h2 { color: var(--white); font-size: clamp(2.2rem, 4.6vw, 3.6rem); max-width: 760px; font-weight: 500; }
.image-band p { color: rgba(255, 255, 255, 0.8); max-width: 620px; font-size: 1.1rem; }

/* ---------- Quote ---------- */
.statement { text-align: center; max-width: 900px; margin-inline: auto; }
.statement blockquote {
  margin: 1.8rem 0 0; font-family: var(--font-display); font-size: clamp(1.8rem, 3.6vw, 2.8rem); line-height: 1.25;
  color: var(--navy-900); font-weight: 500;
}
.statement blockquote em { color: var(--gold-500); }

/* ---------- CTA ---------- */
.cta {
  position: relative; border-radius: var(--radius-lg); overflow: hidden; isolation: isolate;
  background: radial-gradient(120% 140% at 100% 0%, var(--navy-700) 0%, var(--navy-900) 55%, var(--navy-950) 100%);
  color: var(--white); padding: clamp(3rem, 7vw, 5.5rem); display: grid; grid-template-columns: 1.4fr auto; gap: 2.5rem; align-items: center;
}
.cta::before {
  content: ""; position: absolute; width: 520px; height: 520px; right: -160px; top: -260px; z-index: -1;
  border-radius: 50%; border: 1px solid rgba(201, 162, 75, 0.35); box-shadow: 0 0 0 60px rgba(201, 162, 75, 0.05), 0 0 0 120px rgba(201, 162, 75, 0.03);
}
.cta h2 { color: var(--white); font-size: clamp(2.1rem, 4.2vw, 3.3rem); font-weight: 500; margin-bottom: 0.8rem; }
.cta h2 em { color: var(--gold-400); }
.cta p { color: rgba(255, 255, 255, 0.75); margin: 0; max-width: 560px; }
@media (max-width: 820px) { .cta { grid-template-columns: 1fr; } }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(2.5rem, 5vw, 5rem); align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-aside h2 { font-size: clamp(2rem, 3.6vw, 2.8rem); }
.contact-aside p { color: var(--slate); }
.contact-method {
  display: flex; gap: 1.1rem; align-items: center; padding: 1.4rem; border-radius: var(--radius); border: 1px solid var(--line);
  background: var(--white); margin: 1.8rem 0 1rem; transition: border-color 0.3s, box-shadow 0.4s var(--ease), transform 0.4s var(--ease);
}
.contact-method:hover { border-color: var(--gold-500); box-shadow: var(--shadow); transform: translateY(-3px); }
.contact-method .card-icon { margin: 0; width: 52px; height: 52px; flex: none; }
.contact-method small { display: block; font-size: 0.75rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.contact-method strong { display: block; color: var(--navy-900); font-weight: 700; word-break: break-all; font-size: 1.02rem; }
.contact-image { margin-top: 2rem; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.contact-image img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }

.form-card { background: var(--white); border-radius: var(--radius-lg); padding: clamp(1.8rem, 4vw, 3rem); box-shadow: var(--shadow); border: 1px solid var(--line); }
.form-card h3 { font-size: 2rem; }
.form-card > p { color: var(--slate); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 600px) { .form-grid { grid-template-columns: 1fr; } }
.field label { display: block; font-size: 0.84rem; font-weight: 700; color: var(--navy-800); margin-bottom: 0.45rem; letter-spacing: 0.02em; }
.field label .req { color: var(--gold-500); }
.field input, .field textarea, .field select {
  width: 100%; padding: 0.9rem 1rem; border-radius: 10px; border: 1px solid rgba(13, 37, 71, 0.18); background: var(--ivory);
  transition: border-color 0.25s, box-shadow 0.25s, background 0.25s; font-size: 1rem;
}
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230d2547' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; background-size: 16px; padding-right: 2.6rem; }
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--gold-500); background: var(--white); box-shadow: 0 0 0 4px rgba(201, 162, 75, 0.18); }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: #b4452f; }
.consent { display: flex; gap: 0.7rem; align-items: flex-start; font-size: 0.9rem; color: var(--slate); }
.consent input { margin-top: 0.35rem; accent-color: var(--navy-800); width: 17px; height: 17px; flex: none; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; margin-top: 0.4rem; }
.form-status { font-size: 0.95rem; font-weight: 600; margin: 0; }
.form-status.is-error { color: #b4452f; }
.form-success { text-align: center; padding: 2rem 0; }
.form-success .card-icon { margin: 0 auto 1.4rem; width: 72px; height: 72px; border-radius: 50%; }
.form-success .card-icon svg { width: 32px; height: 32px; }
.hidden { display: none !important; }

/* ---------- AI Assistant ---------- */
.assistant-layout { display: grid; grid-template-columns: 0.75fr 1.25fr; gap: clamp(2rem, 4vw, 3.5rem); align-items: start; }
@media (max-width: 960px) { .assistant-layout { grid-template-columns: 1fr; } }
.assistant-intro h2 { font-size: clamp(2rem, 3.4vw, 2.6rem); }
.assistant-intro p { color: var(--slate); }
.assistant-note { font-size: 0.85rem; color: var(--muted); border-left: 2px solid var(--gold-500); padding-left: 1rem; margin-top: 1.8rem; }

.chat {
  display: flex; flex-direction: column; height: min(720px, 78vh); min-height: 520px;
  background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow); border: 1px solid var(--line); overflow: hidden;
}
.chat-head {
  display: flex; align-items: center; gap: 0.9rem; padding: 1.1rem 1.4rem;
  background: linear-gradient(120deg, var(--navy-900), var(--navy-800)); color: var(--white);
}
.chat-avatar {
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; flex: none;
  background: linear-gradient(140deg, var(--gold-400), var(--gold-500)); color: var(--navy-900);
  font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; position: relative;
}
.chat-avatar::after { content: ""; position: absolute; right: 1px; bottom: 1px; width: 11px; height: 11px; border-radius: 50%; background: #3ecf8e; border: 2px solid var(--navy-900); }
.chat-head strong { display: block; font-size: 1rem; }
.chat-head small { color: rgba(255, 255, 255, 0.65); font-size: 0.8rem; }
.chat-reset { margin-left: auto; background: transparent; border: 1px solid var(--line-light); color: rgba(255, 255, 255, 0.8); padding: 0.45rem 0.9rem; border-radius: 999px; font-size: 0.8rem; font-weight: 600; cursor: pointer; transition: all 0.25s; }
.chat-reset:hover { border-color: var(--gold-400); color: var(--gold-300); }

.chat-log { flex: 1; overflow-y: auto; padding: 1.5rem 1.4rem; display: flex; flex-direction: column; gap: 1rem; background: var(--ivory); scroll-behavior: smooth; }
.msg { display: flex; gap: 0.7rem; max-width: 88%; animation: msgIn 0.45s var(--ease) both; }
.msg-bubble { padding: 0.85rem 1.1rem; border-radius: 18px; font-size: 0.97rem; line-height: 1.6; white-space: normal; overflow-wrap: anywhere; }
.msg-bubble p { margin: 0 0 0.6em; }
.msg-bubble p:last-child, .msg-bubble ul:last-child { margin-bottom: 0; }
.msg-bubble ul { margin: 0 0 0.6em; padding-left: 1.2rem; }
.msg-bubble a { color: var(--navy-700); text-decoration: underline; text-decoration-color: var(--gold-500); text-underline-offset: 3px; }
.msg--bot .msg-bubble { background: var(--white); border: 1px solid var(--line); border-top-left-radius: 6px; box-shadow: var(--shadow-sm); }
.msg--user { align-self: flex-end; }
.msg--user .msg-bubble { background: var(--navy-900); color: var(--white); border-top-right-radius: 6px; }
.msg .chat-avatar { width: 32px; height: 32px; font-size: 1rem; }
.msg .chat-avatar::after { display: none; }
@keyframes msgIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

.typing { display: inline-flex; gap: 5px; padding: 0.3rem 0; }
.typing span { width: 7px; height: 7px; border-radius: 50%; background: var(--gold-500); animation: typing 1.2s infinite ease-in-out; }
.typing span:nth-child(2) { animation-delay: 0.15s; }
.typing span:nth-child(3) { animation-delay: 0.3s; }
@keyframes typing { 0%, 80%, 100% { opacity: 0.3; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-4px); } }

.chat-suggestions { display: flex; flex-wrap: wrap; gap: 0.5rem; padding: 0 1.4rem 1rem; background: var(--ivory); }
.chat-suggestions button {
  border: 1px solid rgba(201, 162, 75, 0.55); background: var(--white); color: var(--navy-800);
  padding: 0.5rem 0.95rem; border-radius: 999px; font-size: 0.85rem; font-weight: 600; cursor: pointer; transition: all 0.25s var(--ease);
}
.chat-suggestions button:hover { background: var(--gold-100); border-color: var(--gold-500); transform: translateY(-1px); }

.chat-form { display: flex; gap: 0.7rem; padding: 1rem 1.2rem; border-top: 1px solid var(--line); background: var(--white); }
.chat-form textarea {
  flex: 1; resize: none; border: 1px solid rgba(13, 37, 71, 0.18); border-radius: 14px; padding: 0.8rem 1rem; max-height: 140px; min-height: 50px;
  background: var(--ivory); font-size: 0.98rem; line-height: 1.5; transition: border-color 0.25s, box-shadow 0.25s;
}
.chat-form textarea:focus { outline: none; border-color: var(--gold-500); box-shadow: 0 0 0 4px rgba(201, 162, 75, 0.16); background: var(--white); }
.chat-send { width: 50px; height: 50px; border-radius: 50%; padding: 0; flex: none; align-self: flex-end; }
.chat-send svg { width: 20px; height: 20px; }
.chat-send:hover svg { transform: translateX(2px); }

.topic-list { list-style: none; padding: 0; margin: 1.6rem 0 0; display: grid; gap: 0.8rem; }
.topic-list li { display: flex; gap: 0.9rem; align-items: center; padding: 0.9rem 1.1rem; border-radius: 12px; background: var(--white); border: 1px solid var(--line); font-weight: 600; font-size: 0.95rem; color: var(--navy-800); }
.topic-list svg { width: 20px; height: 20px; color: var(--gold-500); flex: none; }

/* Floating assistant launcher */
.assistant-fab {
  position: fixed; right: 1.4rem; bottom: 1.4rem; z-index: 90; display: inline-flex; align-items: center; gap: 0.6rem;
  padding: 0.85rem 1.2rem 0.85rem 0.9rem; border-radius: 999px; background: var(--navy-900); color: var(--white);
  font-weight: 700; font-size: 0.9rem; box-shadow: 0 18px 40px -14px rgba(5, 15, 31, 0.7); border: 1px solid rgba(201, 162, 75, 0.45);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.assistant-fab:hover { transform: translateY(-3px); box-shadow: 0 22px 46px -14px rgba(5, 15, 31, 0.8); }
.assistant-fab .chat-avatar { width: 34px; height: 34px; font-size: 1rem; }
.assistant-fab .chat-avatar::after { border-color: var(--navy-900); width: 9px; height: 9px; }
@media (max-width: 560px) { .assistant-fab span.fab-label { display: none; } .assistant-fab { padding: 0.6rem; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-950); color: rgba(255, 255, 255, 0.68); padding: clamp(4rem, 7vw, 6rem) 0 2rem; font-size: 0.95rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 2.5rem; padding-bottom: 3.5rem; border-bottom: 1px solid var(--line-light); }
@media (max-width: 960px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand p { margin-top: 1.4rem; max-width: 340px; }
.site-footer h4 { font-family: var(--font-body); color: var(--white); font-size: 0.78rem; letter-spacing: 0.22em; text-transform: uppercase; font-weight: 700; margin-bottom: 1.3rem; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.7rem; }
.footer-links a { transition: color 0.25s; }
.footer-links a:hover { color: var(--gold-400); }
.footer-email { color: var(--gold-400); font-weight: 600; word-break: break-all; border-bottom: 1px solid rgba(201, 162, 75, 0.4); transition: color 0.25s; }
.footer-email:hover { color: var(--gold-300); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; padding-top: 2rem; font-size: 0.85rem; color: rgba(255, 255, 255, 0.5); }

/* ---------- Reveal animations ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); transition-delay: var(--d, 0s); }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

.hero-anim > * { opacity: 0; transform: translateY(24px); animation: rise 1s var(--ease) forwards; }
.hero-anim > *:nth-child(1) { animation-delay: 0.15s; }
.hero-anim > *:nth-child(2) { animation-delay: 0.3s; }
.hero-anim > *:nth-child(3) { animation-delay: 0.45s; }
.hero-anim > *:nth-child(4) { animation-delay: 0.6s; }
@keyframes rise { to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  .reveal, .hero-anim > * { opacity: 1; transform: none; }
}

/* ---------- 404 ---------- */
.not-found { min-height: 80vh; display: grid; place-items: center; text-align: center; background: var(--navy-900); color: var(--white); padding: calc(var(--header-h) + 2rem) 1.5rem 4rem; }
.not-found h1 { color: var(--white); font-size: clamp(3rem, 8vw, 6rem); font-weight: 500; }
.not-found p { color: rgba(255, 255, 255, 0.75); max-width: 480px; margin: 0 auto 2rem; }
