/* ==========================================================
   Encore Pharma Solutions — Global Styles
   ========================================================== */

:root {
  --navy-900: #061a33;
  --navy: #0b2545;
  --navy-700: #13355f;
  --teal: #0b7a8c;
  --teal-500: #14b8a6;
  --teal-100: #d9f3f0;
  --ink: #1b2a3a;
  --muted: #5b6b7c;
  --line: #e2e9ef;
  --bg-soft: #f4f8fa;
  --white: #ffffff;
  --gold: #c8a24a;

  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 2px 8px rgba(11, 37, 69, .06);
  --shadow: 0 12px 32px rgba(11, 37, 69, .10);
  --shadow-lg: 0 24px 60px rgba(11, 37, 69, .16);

  --font-head: "Plus Jakarta Sans", "Segoe UI", Arial, sans-serif;
  --font-body: "Inter", "Segoe UI", Arial, sans-serif;
  --container: 1200px;
  --header-h: 84px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--teal); text-decoration: none; transition: color .2s; }
a:hover { color: var(--navy); }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--navy);
  line-height: 1.2;
  margin: 0 0 .6em;
  letter-spacing: -.01em;
}
h1 { font-size: clamp(2.3rem, 4.6vw, 3.7rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); font-weight: 800; }
h3 { font-size: 1.3rem; font-weight: 700; }
h4 { font-size: 1.05rem; font-weight: 700; }
p { margin: 0 0 1.1em; }

.container { width: min(100% - 48px, var(--container)); margin-inline: auto; }
.section { padding: 110px 0; }
.section-sm { padding: 70px 0; }
.bg-soft { background: var(--bg-soft); }
.bg-navy { background: var(--navy); color: #c9d6e3; }
.bg-navy h2, .bg-navy h3, .bg-navy h4 { color: var(--white); }
.text-center { text-align: center; }

.skip-link {
  position: absolute; left: -999px; top: 8px; z-index: 999;
  background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 8px;
}
.skip-link:focus { left: 12px; color: #fff; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-head);
  font-size: .8rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--teal); margin-bottom: 16px;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--teal-500); }
.bg-navy .eyebrow, .page-hero .eyebrow, .hero .eyebrow { color: var(--teal-500); }

.section-head { max-width: 760px; margin-bottom: 56px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow::after { content: ""; width: 28px; height: 2px; background: var(--teal-500); }
.lead { font-size: 1.15rem; color: var(--muted); }
.bg-navy .lead { color: #b5c5d6; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-head); font-weight: 700; font-size: .98rem;
  padding: 15px 28px; border-radius: 999px; border: 2px solid transparent;
  cursor: pointer; transition: all .25s ease; white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; transition: transform .25s; }
.btn:hover svg { transform: translateX(4px); }
.btn-primary { background: var(--teal); color: #fff; box-shadow: 0 10px 24px rgba(11, 122, 140, .28); }
.btn-primary:hover { background: var(--navy); color: #fff; }
.btn-outline { border-color: currentColor; color: var(--navy); background: transparent; }
.btn-outline:hover { background: var(--navy); color: #fff; border-color: var(--navy); }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { background: var(--teal-500); color: #fff; }
.btn-ghost-light { border-color: rgba(255,255,255,.5); color: #fff; }
.btn-ghost-light:hover { background: #fff; color: var(--navy); border-color: #fff; }

/* ---------- Top bar & Header ---------- */
.topbar {
  background: var(--navy-900); color: #a9bdd1; font-size: .85rem;
}
.topbar .container { display: flex; justify-content: space-between; align-items: center; height: 40px; gap: 20px; }
.topbar a { color: #d6e2ee; }
.topbar a:hover { color: var(--teal-500); }
.topbar-links { display: flex; gap: 26px; }
.topbar-links span, .topbar-links a { display: inline-flex; align-items: center; gap: 8px; }
.topbar svg { width: 14px; height: 14px; color: var(--teal-500); }

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.96);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .3s, border-color .3s;
}
.site-header.scrolled { box-shadow: var(--shadow-sm); border-color: var(--line); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); }

.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--navy); }
.brand img { width: 48px; height: 48px; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-family: var(--font-head); font-weight: 800; font-size: 1.45rem; letter-spacing: .12em; color: var(--navy); }
.brand-sub { font-family: var(--font-head); font-weight: 600; font-size: .62rem; letter-spacing: .3em; color: var(--teal); margin-top: 6px; }

.main-nav ul { list-style: none; display: flex; align-items: center; gap: 4px; margin: 0; padding: 0; }
.main-nav a {
  display: block; padding: 10px 14px; border-radius: 8px;
  font-family: var(--font-head); font-weight: 600; font-size: .95rem; color: var(--navy);
  position: relative;
}
.main-nav a::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px;
  background: var(--teal-500); transform: scaleX(0); transition: transform .25s; transform-origin: left;
}
.main-nav a:hover::after, .main-nav a.active::after { transform: scaleX(1); }
.main-nav a.active { color: var(--teal); }
.main-nav .btn, .main-nav .btn.active { margin-left: 12px; padding: 12px 22px; color: #fff; }
.main-nav .btn::after { display: none; }

.nav-toggle {
  display: none; width: 46px; height: 46px; border: 1px solid var(--line); border-radius: 10px;
  background: #fff; cursor: pointer; align-items: center; justify-content: center;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  display: block; width: 22px; height: 2px; background: var(--navy); position: relative; transition: .3s;
}
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -7px; }
.nav-toggle span::after { top: 7px; }
.nav-open .nav-toggle span { background: transparent; }
.nav-open .nav-toggle span::before { top: 0; transform: rotate(45deg); }
.nav-open .nav-toggle span::after { top: 0; transform: rotate(-45deg); }

/* ---------- Home Hero ---------- */
.hero {
  position: relative; color: #fff; overflow: hidden;
  background: var(--navy);
  min-height: 720px; display: flex; align-items: center;
}
.hero-bg { position: absolute; inset: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 70% center; }
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(6,26,51,.96) 0%, rgba(11,37,69,.88) 42%, rgba(11,37,69,.35) 75%, rgba(11,37,69,.15) 100%);
}
.hero .container { position: relative; z-index: 1; padding: 100px 0 160px; }
.hero-content { max-width: 640px; }
.hero h1 { color: #fff; }
.hero h1 em { font-style: normal; color: var(--teal-500); }
.hero p { font-size: 1.2rem; color: #c9d6e3; max-width: 560px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 26px; margin-top: 48px; padding-top: 30px; border-top: 1px solid rgba(255,255,255,.15); }
.hero-badges div { display: flex; align-items: center; gap: 10px; font-size: .92rem; color: #d6e2ee; font-weight: 500; }
.hero-badges svg { width: 22px; height: 22px; color: var(--teal-500); flex-shrink: 0; }

/* ---------- Page Hero (inner pages) ---------- */
.page-hero {
  position: relative; color: #fff; padding: 120px 0 110px; overflow: hidden; background: var(--navy);
}
.page-hero-bg { position: absolute; inset: 0; }
.page-hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.page-hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(6,26,51,.95) 0%, rgba(11,37,69,.85) 50%, rgba(11,122,140,.55) 100%);
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { color: #fff; max-width: 820px; }
.page-hero p { font-size: 1.18rem; color: #c9d6e3; max-width: 680px; margin: 0; }
.breadcrumb { display: flex; gap: 10px; font-size: .88rem; color: #9fb4c9; margin-bottom: 22px; }
.breadcrumb a { color: #d6e2ee; }
.breadcrumb a:hover { color: var(--teal-500); }

/* ---------- Stats ---------- */
.stats-band { position: relative; z-index: 2; margin-top: -70px; }
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); overflow: hidden;
}
.stat { padding: 38px 30px; text-align: center; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat-num { font-family: var(--font-head); font-size: 2.7rem; font-weight: 800; color: var(--navy); line-height: 1; }
.stat-num span { color: var(--teal-500); }
.stat-label { margin-top: 10px; color: var(--muted); font-size: .95rem; }

/* ---------- Cards ---------- */
.grid { display: grid; gap: 28px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 36px 32px; transition: transform .3s, box-shadow .3s, border-color .3s;
  position: relative;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.card p { color: var(--muted); margin-bottom: 0; }
.card .link-arrow { margin-top: 20px; }
.icon-box {
  width: 60px; height: 60px; border-radius: 16px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--teal-100), #eef7fb); color: var(--teal); margin-bottom: 24px;
  transition: background .3s, color .3s;
}
.icon-box svg { width: 28px; height: 28px; }
.card:hover .icon-box { background: linear-gradient(135deg, var(--teal), var(--navy)); color: #fff; }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-head); font-weight: 700; font-size: .95rem; }
.link-arrow svg { width: 16px; height: 16px; transition: transform .25s; }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- Split / Media ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.split.reverse .split-media { order: 2; }
.split-media { position: relative; }
.split-media img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); width: 100%; aspect-ratio: 4/3.4; object-fit: cover; }
.split-media::before {
  content: ""; position: absolute; width: 70%; height: 70%; border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--teal-500), var(--teal)); opacity: .14;
  left: -26px; bottom: -26px; z-index: -1;
}
.split.reverse .split-media::before { left: auto; right: -26px; }
.media-badge {
  position: absolute; right: -24px; bottom: 36px; background: #fff; border-radius: var(--radius);
  box-shadow: var(--shadow-lg); padding: 20px 24px; display: flex; align-items: center; gap: 16px; max-width: 280px;
}
.media-badge .icon-box { margin: 0; width: 52px; height: 52px; flex-shrink: 0; background: linear-gradient(135deg, var(--teal), var(--navy)); color: #fff; }
.media-badge strong { display: block; font-family: var(--font-head); font-size: 1.5rem; color: var(--navy); line-height: 1.1; }
.media-badge span { font-size: .86rem; color: var(--muted); line-height: 1.4; display: block; }

.checklist { list-style: none; padding: 0; margin: 26px 0 34px; display: grid; gap: 16px; }
.checklist li { display: flex; gap: 14px; align-items: flex-start; }
.checklist li::before {
  content: ""; flex-shrink: 0; width: 24px; height: 24px; margin-top: 3px; border-radius: 50%;
  background: var(--teal-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b7a8c' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 13px no-repeat;
}
.checklist strong { color: var(--navy); font-family: var(--font-head); }
.checklist.cols-2 { grid-template-columns: 1fr 1fr; }

/* ---------- Process ---------- */
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; counter-reset: step; position: relative; }
.process::before {
  content: ""; position: absolute; top: 34px; left: 12%; right: 12%; height: 2px;
  background: repeating-linear-gradient(90deg, rgba(20,184,166,.5) 0 8px, transparent 8px 16px);
}
.step { text-align: center; position: relative; }
.step-num {
  width: 68px; height: 68px; margin: 0 auto 22px; border-radius: 50%; display: grid; place-items: center;
  font-family: var(--font-head); font-weight: 800; font-size: 1.3rem; color: #fff;
  background: linear-gradient(135deg, var(--teal-500), var(--teal)); box-shadow: 0 0 0 8px var(--navy);
  position: relative;
}
.step p { color: #b5c5d6; font-size: .97rem; }

/* ---------- Therapeutic tiles ---------- */
.ta-tile {
  border-radius: var(--radius-lg); padding: 30px 28px; background: #fff; border: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 6px; transition: .3s;
}
.ta-tile:hover { background: var(--navy); border-color: var(--navy); transform: translateY(-4px); box-shadow: var(--shadow); }
.ta-tile:hover h3, .ta-tile:hover h4 { color: #fff; }
.ta-tile:hover p { color: #b5c5d6; }
.ta-tile:hover .icon-box { background: rgba(255,255,255,.1); color: var(--teal-500); }
.ta-tile p { color: var(--muted); font-size: .96rem; margin: 0; }
.ta-tile .icon-box { margin-bottom: 16px; }

.pill-list { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 18px 0 0; }
.pill-list li {
  padding: 7px 14px; border-radius: 999px; font-size: .85rem; font-weight: 600;
  background: var(--teal-100); color: var(--teal);
}
.ta-tile:hover .pill-list li { background: rgba(255,255,255,.1); color: #d6e2ee; }

/* ---------- Testimonial ---------- */
.testimonial {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-700) 100%); color: #fff;
  border-radius: var(--radius-lg); padding: 70px; position: relative; overflow: hidden;
  display: grid; grid-template-columns: auto 1fr; gap: 50px; align-items: center;
}
.testimonial::after {
  content: ""; position: absolute; right: -120px; top: -120px; width: 380px; height: 380px; border-radius: 50%;
  border: 50px solid rgba(20,184,166,.08);
}
.quote-mark { font-family: Georgia, serif; font-size: 9rem; line-height: .6; color: var(--teal-500); }
.testimonial blockquote { margin: 0; font-family: var(--font-head); font-size: 1.45rem; line-height: 1.55; font-weight: 500; }
.testimonial cite { display: block; margin-top: 24px; font-style: normal; color: #9fb4c9; font-size: .95rem; }
.testimonial cite strong { color: #fff; display: block; font-size: 1.05rem; }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative; border-radius: var(--radius-lg); overflow: hidden; padding: 80px 70px; color: #fff;
  background: linear-gradient(120deg, var(--teal) 0%, var(--navy) 100%);
  display: flex; align-items: center; justify-content: space-between; gap: 40px;
}
.cta-band::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 85% 20%, rgba(255,255,255,.14), transparent 40%),
              radial-gradient(circle at 10% 90%, rgba(20,184,166,.35), transparent 45%);
}
.cta-band > * { position: relative; }
.cta-band h2 { color: #fff; margin-bottom: 10px; }
.cta-band p { color: #d6e2ee; margin: 0; max-width: 620px; font-size: 1.1rem; }
.cta-actions { display: flex; gap: 14px; flex-wrap: wrap; flex-shrink: 0; }

/* ---------- Values ---------- */
.value { padding: 34px 30px; border-radius: var(--radius-lg); background: #fff; box-shadow: var(--shadow-sm); border-top: 4px solid var(--teal-500); }
.value p { color: var(--muted); margin: 0; }
.value h3 { display: flex; align-items: center; gap: 12px; }
.value h3 svg { width: 26px; height: 26px; color: var(--teal); }

.mv-card { padding: 44px 40px; border-radius: var(--radius-lg); background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); }
.mv-card p { color: #c9d6e3; margin: 0; font-size: 1.08rem; }
.mv-card .icon-box { background: rgba(20,184,166,.15); color: var(--teal-500); }

/* ---------- Service detail ---------- */
.service-block { padding: 90px 0; border-bottom: 1px solid var(--line); }
.service-block:last-of-type { border-bottom: 0; }
.service-num { font-family: var(--font-head); font-weight: 800; font-size: .9rem; color: var(--teal); letter-spacing: .16em; }
.feature-list { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 30px; }
.feature { display: flex; gap: 14px; align-items: flex-start; }
.feature .icon-box { width: 44px; height: 44px; border-radius: 12px; margin: 0; flex-shrink: 0; }
.feature .icon-box svg { width: 20px; height: 20px; }
.feature h4 { margin: 0 0 4px; font-size: 1rem; }
.feature p { margin: 0; color: var(--muted); font-size: .93rem; line-height: 1.6; }

.subnav { position: sticky; top: var(--header-h); z-index: 50; background: #fff; border-bottom: 1px solid var(--line); }
.subnav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.subnav a { display: block; padding: 18px 16px; font-family: var(--font-head); font-weight: 600; font-size: .9rem; color: var(--muted); white-space: nowrap; border-bottom: 2px solid transparent; }
.subnav a:hover { color: var(--navy); border-color: var(--teal-500); }

.model-card { background: #fff; border-radius: var(--radius-lg); padding: 36px 30px; border: 1px solid var(--line); position: relative; }
.model-card .tag { display: inline-block; font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--teal); background: var(--teal-100); padding: 5px 12px; border-radius: 999px; margin-bottom: 18px; }
.model-card p { color: var(--muted); font-size: .97rem; }
.model-card ul { padding-left: 18px; margin: 0; color: var(--ink); font-size: .95rem; }
.model-card li { margin-bottom: 6px; }
.model-card.featured { background: var(--navy); border-color: var(--navy); }
.model-card.featured h3 { color: #fff; }
.model-card.featured p, .model-card.featured ul { color: #c9d6e3; }
.model-card.featured .tag { background: var(--teal-500); color: #fff; }

/* ---------- Compliance ---------- */
.reg-card { background: #fff; border-radius: var(--radius); padding: 28px; border-left: 4px solid var(--teal-500); box-shadow: var(--shadow-sm); }
.reg-card h4 { margin-bottom: 8px; }
.reg-card p { margin: 0; color: var(--muted); font-size: .95rem; }

.notice {
  display: flex; gap: 18px; padding: 26px 30px; border-radius: var(--radius); background: #fff8e6;
  border: 1px solid #f1dfa8; color: #5c4a14; font-size: .97rem;
}
.notice svg { width: 26px; height: 26px; flex-shrink: 0; color: var(--gold); }
.notice p { margin: 0; }
.notice a { color: #7a5c0a; font-weight: 600; text-decoration: underline; }

/* ---------- Careers ---------- */
.benefit { display: flex; gap: 18px; padding: 26px; background: #fff; border-radius: var(--radius); border: 1px solid var(--line); }
.benefit .icon-box { width: 50px; height: 50px; margin: 0; flex-shrink: 0; }
.benefit h4 { margin-bottom: 4px; }
.benefit p { margin: 0; color: var(--muted); font-size: .94rem; }

.jobs { display: grid; gap: 16px; }
.job { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: box-shadow .3s; }
.job[open] { box-shadow: var(--shadow); border-color: transparent; }
.job summary {
  list-style: none; cursor: pointer; padding: 26px 30px; display: grid; grid-template-columns: 1fr auto auto; gap: 24px; align-items: center;
}
.job summary::-webkit-details-marker { display: none; }
.job-title { font-family: var(--font-head); font-weight: 700; font-size: 1.15rem; color: var(--navy); }
.job-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 6px; font-size: .88rem; color: var(--muted); }
.job-meta span { display: inline-flex; align-items: center; gap: 6px; }
.job-meta svg { width: 14px; height: 14px; color: var(--teal); }
.job-type { font-size: .8rem; font-weight: 700; color: var(--teal); background: var(--teal-100); padding: 6px 12px; border-radius: 999px; }
.job-toggle { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; transition: .3s; color: var(--navy); }
.job-toggle svg { width: 16px; height: 16px; }
.job[open] .job-toggle { transform: rotate(45deg); background: var(--teal); color: #fff; border-color: var(--teal); }
.job-body { padding: 0 30px 30px; border-top: 1px solid var(--line); padding-top: 24px; color: var(--muted); }
.job-body h4 { margin: 18px 0 8px; }
.job-body ul { margin: 0 0 10px; padding-left: 20px; }
.job-body li { margin-bottom: 4px; }
.job-body .btn { margin-top: 14px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 50px; align-items: start; }
.contact-grid > *, .form-grid > * { min-width: 0; }
.form-card { background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: 50px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-group.full { grid-column: 1 / -1; }
label { font-family: var(--font-head); font-weight: 600; font-size: .9rem; color: var(--navy); }
label .req { color: #c0392b; }
input, select, textarea {
  font: inherit; font-size: .98rem; color: var(--ink); padding: 14px 16px; border-radius: 10px;
  border: 1.5px solid var(--line); background: var(--bg-soft); transition: border-color .2s, background .2s, box-shadow .2s;
  width: 100%;
}
textarea { min-height: 150px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--teal-500); background: #fff; box-shadow: 0 0 0 4px rgba(20,184,166,.15); }
.field-error input, .field-error select, .field-error textarea { border-color: #d64545; }
.error-msg { font-size: .82rem; color: #d64545; display: none; }
.field-error .error-msg { display: block; }
.checkbox { display: flex; gap: 12px; align-items: flex-start; font-size: .9rem; color: var(--muted); }
.checkbox input { width: 18px; height: 18px; margin-top: 4px; flex-shrink: 0; accent-color: var(--teal); }
.checkbox label { font-family: var(--font-body); font-weight: 400; color: var(--muted); font-size: .9rem; }
.form-success {
  display: none; padding: 18px 22px; border-radius: 10px; background: var(--teal-100); color: var(--teal); font-weight: 600; margin-top: 20px;
}
.form-success.show { display: block; }

.info-card { background: var(--navy); color: #c9d6e3; border-radius: var(--radius-lg); padding: 44px 40px; }
.info-card h3 { color: #fff; }
.info-item { display: flex; gap: 16px; padding: 20px 0; border-bottom: 1px solid rgba(255,255,255,.1); }
.info-item:last-child { border-bottom: 0; padding-bottom: 0; }
.info-item .icon-box { width: 46px; height: 46px; margin: 0; flex-shrink: 0; background: rgba(20,184,166,.15); color: var(--teal-500); }
.info-item .icon-box svg { width: 20px; height: 20px; }
.info-item h4 { color: #fff; margin: 0 0 2px; font-size: .95rem; }
.info-item p { margin: 0; font-size: .95rem; overflow-wrap: anywhere; }
.info-item > div:last-child { min-width: 0; }
.info-item a { color: #d6e2ee; }
.info-item a:hover { color: var(--teal-500); }

.faq { display: grid; gap: 14px; max-width: 860px; margin-inline: auto; }
.faq details { background: #fff; border-radius: var(--radius); border: 1px solid var(--line); padding: 22px 28px; }
.faq summary { cursor: pointer; font-family: var(--font-head); font-weight: 700; color: var(--navy); list-style: none; display: flex; justify-content: space-between; gap: 20px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.5rem; line-height: 1; color: var(--teal); transition: transform .3s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 14px 0 0; color: var(--muted); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-900); color: #93a8be; padding-top: 90px; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 50px; padding-bottom: 60px; }
.site-footer .brand-name { color: #fff; }
.site-footer .brand-sub { color: var(--teal-500); }
.footer-about p { margin: 22px 0 24px; max-width: 340px; }
.site-footer h4 { color: #fff; font-size: 1rem; margin-bottom: 22px; letter-spacing: .02em; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.footer-links a { color: #93a8be; }
.footer-links a:hover { color: var(--teal-500); }
.footer-contact li { display: flex; gap: 12px; align-items: flex-start; overflow-wrap: anywhere; }
.footer-contact svg { width: 17px; height: 17px; color: var(--teal-500); flex-shrink: 0; margin-top: 4px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 26px 0; font-size: .86rem; }
.footer-bottom .container { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.footer-bottom a { color: #93a8be; }
.footer-bottom a:hover { color: var(--teal-500); }
.footer-bottom-links { display: flex; gap: 22px; flex-wrap: wrap; }

/* ---------- Article ---------- */
.article-meta { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 28px; font-size: .92rem; color: #b5c5d6; }
.article-meta span { display: inline-flex; align-items: center; gap: 8px; }
.article-meta svg { width: 16px; height: 16px; color: var(--teal-500); }

.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 72px; align-items: start; }
.article { max-width: 780px; font-size: 1.06rem; }
.article h2 { font-size: clamp(1.55rem, 2.5vw, 2.05rem); margin: 72px 0 18px; }
.article h2:first-child { margin-top: 0; }
.article h3 { margin: 0 0 6px; }
.article > p { color: #34465a; }
.article a:not(.btn):not(.link-arrow) { text-decoration: underline; text-decoration-color: rgba(11,122,140,.35); text-underline-offset: 3px; }
.article-intro { font-size: 1.22rem; line-height: 1.75; color: var(--navy); }
.article-figure { margin: 40px 0; }
.article-figure img { width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.article-figure figcaption { margin-top: 12px; font-size: .88rem; color: var(--muted); }

.callout { margin: 32px 0; padding: 30px 34px; border-radius: var(--radius); background: var(--teal-100); border-left: 5px solid var(--teal); }
.callout h3 { color: var(--navy); font-size: 1.2rem; margin-bottom: 10px; }
.callout p { margin: 0; color: var(--ink); }
.callout-label { display: block; font-family: var(--font-head); font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--teal); margin-bottom: 8px; }
.callout.soft { background: var(--bg-soft); border-left-color: var(--navy); }

.reason-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 30px 0; }
.reason { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 26px 22px; transition: box-shadow .3s, border-color .3s; }
.reason:hover { box-shadow: var(--shadow); border-color: transparent; }
.reason-num { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; margin-bottom: 14px; background: linear-gradient(135deg, var(--teal), var(--navy)); color: #fff; font-family: var(--font-head); font-weight: 800; font-size: .95rem; }
.reason h3 { font-size: 1.1rem; margin-bottom: 10px; }
.reason ul { margin: 0; padding-left: 18px; color: var(--muted); font-size: .94rem; line-height: 1.6; }
.reason li + li { margin-top: 6px; }

.stat-callout { margin: 40px 0; padding: 40px; border-radius: var(--radius-lg); color: #fff; background: linear-gradient(120deg, var(--navy) 0%, var(--teal) 130%); }
.stat-callout-head { font-family: var(--font-head); font-weight: 700; font-size: 1.25rem; margin-bottom: 26px; }
.stat-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.stat-pair > div { padding: 22px 24px; border-radius: var(--radius); background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12); }
.stat-pair strong { display: block; font-family: var(--font-head); font-size: 2.3rem; font-weight: 800; line-height: 1.1; color: #fff; }
.stat-pair span { font-size: .93rem; color: #c9d6e3; }
.stat-source { margin: 20px 0 0; font-size: .82rem; color: #9fb4c9; }
.stat-source a { color: #d6e2ee; }

.cert-list { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin: 30px 0; }
.cert-card { position: relative; display: flex; flex-direction: column; padding: 30px 28px 26px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--teal-500); box-shadow: var(--shadow-sm); transition: transform .3s, box-shadow .3s; }
.cert-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.cert-rank { position: absolute; top: 22px; right: 24px; font-family: var(--font-head); font-weight: 800; font-size: 2rem; line-height: 1; color: var(--teal-100); }
.cert-card h3 { font-size: 1.2rem; padding-right: 50px; }
.cert-org { font-size: .9rem; font-weight: 600; color: var(--teal); margin-bottom: 12px; }
.cert-card p { color: var(--muted); font-size: .95rem; flex: 1; margin-bottom: 18px; }

.audience-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin: 28px 0; }
.audience { padding: 26px 22px; border-radius: var(--radius); background: var(--bg-soft); border: 1px solid var(--line); }
.audience .icon-box { width: 48px; height: 48px; margin-bottom: 14px; }
.audience .icon-box svg { width: 22px; height: 22px; }
.audience h3 { font-size: 1.05rem; }
.audience p { margin: 0; font-size: .93rem; color: var(--muted); line-height: 1.6; }

.article .feature-list { margin: 28px 0; }
.article .checklist { margin: 24px 0 30px; }

.article-aside { position: sticky; top: calc(var(--header-h) + 28px); display: grid; gap: 22px; }
.toc { padding: 28px; border-radius: var(--radius-lg); background: var(--bg-soft); border: 1px solid var(--line); }
.toc h4 { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--teal); margin-bottom: 14px; }
.toc ol { list-style: none; margin: 0; padding: 0; counter-reset: toc; display: grid; gap: 4px; }
.toc li { counter-increment: toc; }
.toc a { display: flex; gap: 10px; padding: 7px 0; font-size: .93rem; line-height: 1.45; color: var(--ink); }
.toc a::before { content: counter(toc, decimal-leading-zero); font-family: var(--font-head); font-weight: 700; font-size: .8rem; color: var(--teal); padding-top: 2px; }
.toc a:hover { color: var(--teal); }
.aside-cta { padding: 30px 28px; border-radius: var(--radius-lg); color: #c9d6e3; background: linear-gradient(140deg, var(--navy) 0%, var(--teal) 140%); }
.aside-cta h4 { color: #fff; font-size: 1.2rem; margin-bottom: 8px; }
.aside-cta p { font-size: .94rem; margin-bottom: 20px; }
.aside-cta .btn { width: 100%; justify-content: center; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s ease; }
.reveal.visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .main-nav a { padding: 10px 7px; font-size: .86rem; white-space: nowrap; }
  .main-nav .btn, .main-nav .btn.active { margin-left: 8px; padding: 11px 16px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .split { gap: 50px; }
  .media-badge { right: 16px; }
}

@media (max-width: 980px) {
  .nav-toggle { display: inline-flex; }
  .main-nav {
    position: absolute; top: 100%; left: 0; right: 0; background: #fff;
    border-top: 1px solid var(--line); box-shadow: var(--shadow-lg);
    max-height: 0; overflow: hidden; transition: max-height .4s ease;
  }
  .nav-open .main-nav { max-height: 640px; }
  .main-nav ul { flex-direction: column; align-items: stretch; padding: 16px 24px 28px; gap: 2px; }
  .main-nav a { padding: 14px 8px; font-size: 1.02rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  .main-nav a::after { display: none; }
  .main-nav .btn { margin: 16px 0 0; border-radius: 999px; border-bottom: 0; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .split, .contact-grid { grid-template-columns: 1fr; }
  .split.reverse .split-media { order: 0; }
  .split-media::before { display: none; }
  .process { grid-template-columns: repeat(2, 1fr); row-gap: 50px; }
  .process::before { display: none; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .testimonial { grid-template-columns: 1fr; padding: 50px 40px; gap: 10px; }
  .cta-band { flex-direction: column; align-items: flex-start; padding: 60px 40px; }
  .topbar-links.hide-sm { display: none; }
  .article-layout { grid-template-columns: 1fr; gap: 50px; }
  .article { max-width: none; }
  .article-aside { display: none; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .section { padding: 80px 0; }
  .container { width: min(100% - 36px, var(--container)); }
  .grid-2, .grid-3, .grid-4, .feature-list, .form-grid, .checklist.cols-2 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero { min-height: 640px; }
  .hero-bg::after { background: linear-gradient(180deg, rgba(6,26,51,.82), rgba(11,37,69,.92)); }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat { padding: 28px 16px; }
  .stat-num { font-size: 2.1rem; }
  .form-card { padding: 32px 22px; }
  .info-card { padding: 34px 26px; }
  .job summary { grid-template-columns: 1fr auto; padding: 22px; }
  .job-type { display: none; }
  .job-body { padding: 20px 22px 26px; }
  .media-badge { position: static; margin-top: -40px; margin-left: 16px; position: relative; }
  .topbar { display: none; }
  .cta-actions, .cta-actions .btn { width: 100%; }
  .cta-actions .btn { white-space: normal; overflow-wrap: anywhere; text-align: center; }
  .brand-name { font-size: 1.2rem; }
  .brand img { width: 42px; height: 42px; }
  .reason-grid, .cert-list, .audience-grid, .stat-pair { grid-template-columns: 1fr; }
  .stat-callout { padding: 30px 24px; }
  .callout { padding: 24px 22px; }
  .article-intro { font-size: 1.12rem; }
}
