:root {
  --navy-950: #07172f;
  --navy-900: #0a1f44;
  --navy-800: #14325f;
  --blue-600: #1263d8;
  --blue-500: #1b74ff;
  --blue-100: #dce9ff;
  --teal-500: #1aa6a6;
  --amber-400: #f6b24d;
  --white: #ffffff;
  --slate-50: #f7f9fc;
  --slate-100: #ebeff5;
  --slate-200: #d7dee8;
  --slate-500: #617188;
  --slate-700: #31425d;
  --slate-900: #102038;
  --shadow-sm: 0 10px 20px rgba(7, 23, 47, 0.04);
  --shadow-md: 0 18px 50px rgba(7, 23, 47, 0.08);
  --shadow-lg: 0 28px 70px rgba(7, 23, 47, 0.12);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --container: 1180px;
  --font-body: "Inter", system-ui, sans-serif;
  --font-heading: "Space Grotesk", var(--font-body);
}

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

html {
  scroll-behavior: smooth;
  font-size: 15px;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--slate-900);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--blue-600);
  text-decoration: none;
}

a:hover {
  color: var(--blue-500);
}

main {
  overflow: clip;
}

.container {
  width: min(var(--container), calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--slate-100);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 70px;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  color: var(--slate-900);
}

.brand img {
  height: 34px;
  width: auto;
  filter: invert(1);
}

.brand__label,
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 2px;
}

.site-nav__link,
.nav-dropdown summary {
  list-style: none;
  color: var(--slate-600);
  font-weight: 500;
  font-size: 13px;
  padding: 6px 10px;
  border-radius: 8px;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s, color 0.15s;
}

.nav-dropdown summary::-webkit-details-marker {
  display: none;
}

.site-nav__link:hover,
.nav-dropdown summary:hover,
.site-nav__link.is-active,
.nav-dropdown.is-active summary {
  color: var(--blue-600);
  background: var(--blue-100);
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown__menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 300px;
  background: var(--white);
  border: 1px solid var(--slate-100);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  padding: 8px;
  display: none;
}

.nav-dropdown[open] .nav-dropdown__menu {
  display: grid;
}

.nav-dropdown__menu a {
  color: var(--slate-700);
  padding: 12px 14px;
  border-radius: 12px;
  font-size: 14px;
}

.nav-dropdown__menu a:hover {
  background: var(--slate-50);
  color: var(--blue-600);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 10px;
  font-weight: 600;
  font-size: 14px;
  white-space: nowrap;
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button--small {
  min-height: 32px;
  padding-inline: 14px;
  font-size: 13px;
}

.button--primary {
  background: var(--blue-600);
  color: var(--white);
}

.button--primary:hover {
  background: var(--blue-500);
  color: var(--white);
}

.button--secondary {
  background: var(--white);
  border-color: var(--slate-200);
  color: var(--slate-900);
}

.button--secondary:hover {
  border-color: var(--blue-600);
  color: var(--blue-600);
}

.button--light {
  background: var(--white);
  color: var(--navy-900);
}

.button--ghost-light {
  border-color: rgba(255, 255, 255, 0.35);
  color: var(--white);
  background: transparent;
}

.button--ghost-light:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
}

.text-link {
  font-weight: 700;
}

.nav-toggle {
  display: none;
  min-height: 36px;
  padding: 0 14px;
  border: 1px solid var(--slate-200);
  border-radius: 8px;
  background: var(--white);
  color: var(--slate-900);
  font-weight: 600;
}

.hero {
  background:
    radial-gradient(circle at top right, rgba(27, 116, 255, 0.2), transparent 34%),
    radial-gradient(circle at bottom left, rgba(26, 166, 166, 0.18), transparent 28%),
    linear-gradient(135deg, var(--navy-950), var(--navy-900) 55%, var(--navy-800));
  color: var(--white);
}

.hero--home {
  padding: 68px 0 60px;
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.95fr);
  gap: 36px;
}

.hero__content h1,
.page-hero h1,
.cta-band h2,
.section-heading h2 {
  margin: 0;
  font-family: var(--font-heading);
  letter-spacing: -0.03em;
}

.hero__content h1,
.page-hero h1 {
  font-size: clamp(1.9rem, 4vw, 3.6rem);
  line-height: 1.03;
}

.hero__lead,
.page-hero__lead {
  font-size: 1.08rem;
  color: rgba(255, 255, 255, 0.86);
  max-width: 760px;
  margin: 24px 0 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  padding: 9px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.85);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.eyebrow--light {
  background: var(--blue-100);
  color: var(--blue-600);
}

.hero__actions,
.cta-band__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.hero__actions--center {
  justify-content: center;
}

.hero__mini-list,
.check-list,
.bullet-list,
.site-footer__links {
  margin: 0;
  padding: 0;
  list-style: none;
}

.hero__mini-list {
  display: grid;
  gap: 12px;
  margin-top: 28px;
  color: rgba(255, 255, 255, 0.88);
}

.hero__mini-list li,
.check-list li,
.bullet-list li {
  position: relative;
  padding-left: 24px;
}

.hero__mini-list li::before,
.check-list li::before,
.bullet-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--amber-400);
  transform: translateY(-50%);
}

.hero__panel {
  display: grid;
  gap: 18px;
}

.hero__panel-card,
.page-hero__card,
.callout,
.info-box,
.feature-card,
.service-card,
.stat-card,
.timeline__item {
  background: var(--white);
  color: var(--slate-900);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.hero__panel-card,
.page-hero__card,
.callout {
  padding: 22px;
}

.hero__panel-card h2,
.page-hero__card h2,
.callout h3,
.section-heading h2,
.feature-card h3,
.service-card h3,
.timeline__item h3,
.site-footer h2 {
  font-family: var(--font-heading);
}

.hero__panel-label {
  color: var(--blue-600);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 12px;
}

.hero__proof-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.proof-card {
  padding: 20px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.proof-card strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.2rem;
  margin-bottom: 6px;
}

.proof-card span {
  color: rgba(255, 255, 255, 0.78);
}

.stat-strip {
  padding: 20px 0;
  background: var(--slate-50);
  border-bottom: 1px solid var(--slate-100);
}

.stat-strip__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.stat-card {
  padding: 18px 20px;
}

.stat-card strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.15rem;
  margin-bottom: 6px;
}

.stat-card span {
  color: var(--slate-500);
  font-size: 0.95rem;
}

.admin-stat-grid .stat-card {
  padding: 16px 18px;
  border-radius: var(--radius-sm);
  box-shadow: none;
  border: 1px solid var(--slate-200);
}

.admin-stat-grid .stat-card strong {
  font-size: 1.5rem;
  color: var(--navy-950);
  margin-bottom: 2px;
}

.admin-stat-grid .stat-card span {
  font-size: 0.8rem;
  color: var(--slate-500);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 500;
}

.section,
.page-hero,
.cta-band {
  padding: 64px 0;
}

.section--soft {
  background: var(--slate-50);
}

.split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 40px;
}

.split--centered {
  align-items: center;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 22px;
}

.section-heading--center {
  margin-inline: auto;
  text-align: center;
}

.section-heading--spaced {
  margin-top: 44px;
}

.section-heading h2 {
  font-size: clamp(1.6rem, 2.5vw, 2.4rem);
  line-height: 1.08;
}

.section-heading p,
.feature-card p,
.callout p,
.timeline__item p,
.service-card p,
.site-footer p,
.faq-item__content p,
.page-hero__card p,
.info-box p,
.page-hero p,
.section p {
  color: var(--slate-700);
}

.info-grid,
.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.info-box,
.feature-card {
  padding: 18px 20px;
}

.image-frame {
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.image-frame img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.service-card {
  overflow: hidden;
}

.news-card {
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--slate-100);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.service-card__media img {
  width: 100%;
  height: 210px;
  object-fit: cover;
}

.news-card__media img {
  width: 100%;
  height: 240px;
  object-fit: cover;
}

.service-card__body {
  padding: 18px 20px;
}

.news-card__body {
  display: grid;
  gap: 12px;
  padding: 18px 20px;
}

.service-card__meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.news-card__meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}

.news-card h3 {
  margin: 0;
  font-family: var(--font-heading);
}

.service-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  padding: 0 10px;
  border-radius: 14px;
  background: var(--navy-900);
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 0.92rem;
}

.service-card__tag {
  color: var(--blue-600);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.pill-cloud {
  background: linear-gradient(180deg, var(--slate-50), var(--white));
  border: 1px solid var(--slate-100);
  border-radius: var(--radius-lg);
  padding: 20px;
}

.pill-cloud__grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.pill-cloud__item {
  padding: 12px 16px;
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: 999px;
  color: var(--slate-900);
  font-weight: 600;
}

.pill-cloud__item.is-active {
  background: var(--navy-900);
  border-color: var(--navy-900);
  color: var(--white);
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.timeline__item {
  padding: 18px 20px;
}

.timeline__number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 14px;
  border-radius: 50%;
  background: var(--blue-100);
  color: var(--blue-600);
  font-family: var(--font-heading);
  font-weight: 700;
}

.faq-list {
  display: grid;
  gap: 14px;
}

.faq-item {
  border: 1px solid var(--slate-100);
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 14px 18px;
  font-weight: 700;
  color: var(--slate-900);
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item__content {
  padding: 0 18px 14px;
}

.page-hero {
  background: linear-gradient(135deg, var(--navy-950), var(--navy-900));
  color: var(--white);
}

.page-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.85fr);
  gap: 34px;
  align-items: start;
}

.page-hero__card {
  border-color: rgba(255, 255, 255, 0.08);
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 14px;
}

.breadcrumbs a {
  color: rgba(255, 255, 255, 0.9);
}

.bullet-list {
  display: grid;
  gap: 12px;
}

.callout {
  background: linear-gradient(180deg, var(--navy-900), var(--navy-950));
  color: var(--white);
}

.callout p,
.callout a {
  color: rgba(255, 255, 255, 0.88);
}

.cta-band {
  background:
    radial-gradient(circle at right top, rgba(246, 178, 77, 0.18), transparent 25%),
    linear-gradient(135deg, var(--navy-950), var(--navy-900));
  color: var(--white);
}

.cta-band__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.cta-band h2 {
  font-size: clamp(1.6rem, 3vw, 2.6rem);
}

.cta-band p {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.78);
}

.site-footer {
  background: var(--navy-950);
  color: var(--white);
  padding-top: 72px;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr;
  gap: 28px;
  padding-bottom: 38px;
}

.site-footer__brand img {
  width: 180px;
  margin-bottom: 18px;
  filter: brightness(0) invert(1);
}

.site-footer__email {
  display: inline-block;
  margin-top: 16px;
  color: var(--white);
  font-weight: 700;
}

.site-footer h2 {
  margin: 0 0 16px;
  font-size: 1rem;
  color: var(--white);
}

.site-footer__links {
  display: grid;
  gap: 10px;
}

.site-footer__links a,
.site-footer__links li {
  color: rgba(255, 255, 255, 0.72);
}

.site-footer__bottom {
  padding: 20px 0 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.92rem;
}

.content-shell {
  padding: 64px 0;
}

.content-shell__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.75fr);
  gap: 32px;
}

.stack {
  display: grid;
  gap: 20px;
}

.surface {
  padding: 22px 24px;
  background: var(--white);
  border: 1px solid var(--slate-100);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.surface h2,
.surface h3 {
  margin-top: 0;
  font-family: var(--font-heading);
}

.article-content {
  padding: 24px 28px;
}

.article-content h2,
.article-content h3 {
  font-family: var(--font-heading);
}

.article-content p {
  margin: 0 0 18px;
}

.article-content p:last-child,
.article-content .bullet-list:last-child {
  margin-bottom: 0;
}

.article-content .bullet-list {
  gap: 14px;
  margin: 0 0 18px;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 28px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.form-grid--full,
.form-field--full {
  grid-column: 1 / -1;
}

.form-field {
  display: grid;
  gap: 8px;
}

.form-field label {
  font-weight: 700;
  color: var(--slate-900);
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  min-height: 50px;
  padding: 0 14px;
  border: 1px solid var(--slate-200);
  border-radius: 14px;
  font: inherit;
  color: var(--slate-900);
  background: var(--white);
}

.form-field textarea {
  min-height: 170px;
  padding-top: 14px;
  padding-bottom: 14px;
  resize: vertical;
}

.textarea--article {
  min-height: 360px;
}

.alert {
  margin-bottom: 18px;
  padding: 16px 18px;
  border-radius: 14px;
  font-weight: 600;
}

.alert--success {
  background: #e8fff4;
  color: #116a4d;
  border: 1px solid #b6efcf;
}

.alert--error {
  background: #fff3f1;
  color: #8d2c28;
  border: 1px solid #f3c9c3;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.button--full {
  width: 100%;
}

.surface--soft {
  background: var(--slate-50);
}

.admin-layout .surface {
  border-radius: var(--radius-sm);
  padding: 22px 24px;
  box-shadow: none;
  border-color: var(--slate-200);
}

.admin-layout .form-field label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--slate-700);
}

.admin-layout .form-field input,
.admin-layout .form-field select,
.admin-layout .form-field textarea {
  min-height: 40px;
  padding: 0 12px;
  border-radius: 8px;
  font-size: 0.875rem;
  border-color: var(--slate-200);
}

.admin-layout .form-field textarea {
  min-height: 130px;
  padding-top: 10px;
  padding-bottom: 10px;
}

.field-help,
.admin-muted,
.admin-login-note,
.admin-contact-row__meta {
  color: var(--slate-500);
  font-size: 0.94rem;
}

.toggle-field {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
}

.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: capitalize;
}

.badge--info {
  background: var(--blue-100);
  color: var(--blue-600);
}

.badge--warning {
  background: #fff3da;
  color: #a15e00;
}

.badge--success {
  background: #e8fff4;
  color: #116a4d;
}

.badge--muted {
  background: var(--slate-100);
  color: var(--slate-500);
}

/* ─── Admin login ────────────────────────────────────────────── */

.admin-login-page {
  min-height: 100vh;
  background: linear-gradient(160deg, #f0f5fc 0%, #e8eff9 100%);
}

.admin-login-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 32px 20px;
}

.admin-login-card {
  width: min(480px, 100%);
}

.admin-login-card h1 {
  margin-top: 0;
  font-family: var(--font-heading);
  font-size: 1.6rem;
}

/* ─── Admin shell ────────────────────────────────────────────── */

.admin-layout {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  background: #f2f5f9;
}

.admin-sidebar {
  display: grid;
  align-content: start;
  gap: 24px;
  padding: 24px 16px;
  background: var(--navy-950);
  border-right: 1px solid rgba(255, 255, 255, 0.05);
}

.admin-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 1rem;
  padding: 0 6px;
}

.admin-brand img {
  width: 110px;
  filter: brightness(0) invert(1);
}

.admin-sidebar__group {
  display: grid;
  gap: 2px;
}

.admin-sidebar__eyebrow {
  margin: 0 0 6px;
  padding: 0 10px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
}

.admin-topbar__eyebrow {
  margin: 0 0 4px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--slate-500);
}

.admin-sidebar__link {
  display: block;
  padding: 8px 10px;
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.875rem;
  font-weight: 500;
  transition: background 0.15s, color 0.15s;
}

.admin-sidebar__link:hover {
  background: rgba(255, 255, 255, 0.07);
  color: rgba(255, 255, 255, 0.9);
}

.admin-sidebar__link.is-active {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  font-weight: 600;
}

/* ─── Admin main ─────────────────────────────────────────────── */

.admin-main {
  padding: 32px 36px;
  min-width: 0;
}

.admin-topbar {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--slate-200);
}

.admin-topbar h1 {
  margin: 0;
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--navy-950);
  letter-spacing: -0.01em;
}

.admin-user-chip {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: 999px;
}

.admin-user-chip strong {
  font-size: 0.875rem;
  color: var(--slate-900);
}

.admin-user-chip span {
  font-size: 0.8rem;
  color: var(--slate-500);
}

/* ─── Admin sections ─────────────────────────────────────────── */

.admin-section {
  margin-bottom: 28px;
}

.admin-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 20px;
}

.admin-stat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.admin-section__header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--slate-100);
}

.admin-section__header h2 {
  margin: 0;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--slate-900);
}

.admin-section__header p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--slate-500);
}

/* ─── Admin list rows ────────────────────────────────────────── */

.admin-list {
  display: grid;
  gap: 1px;
  background: var(--slate-100);
  border: 1px solid var(--slate-100);
  border-radius: 12px;
  overflow: hidden;
}

.admin-list__item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 16px;
  align-items: center;
  padding: 12px 16px;
  background: var(--white);
}

.admin-list__item:first-child {
  border-radius: 12px 12px 0 0;
}

.admin-list__item:last-child {
  border-radius: 0 0 12px 12px;
}

.admin-list__item:only-child {
  border-radius: 12px;
}

/* ─── Admin config ───────────────────────────────────────────── */

.admin-config-group + .admin-config-group {
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid var(--slate-100);
}

.admin-config-group__heading h3 {
  margin: 0 0 4px;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
}

.admin-config-group__heading p {
  margin: 0 0 18px;
  font-size: 0.875rem;
  color: var(--slate-500);
}

/* ─── Admin contacts ─────────────────────────────────────────── */

.admin-contacts-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 20px;
}

.admin-news-layout {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  gap: 20px;
}

.admin-filter-bar {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr) auto;
  gap: 10px;
  margin-bottom: 16px;
}

.admin-filter-bar input,
.admin-filter-bar select {
  min-height: 40px;
  padding: 0 12px;
  border: 1px solid var(--slate-200);
  border-radius: 8px;
  font: inherit;
  font-size: 0.875rem;
  background: var(--white);
  color: var(--slate-900);
}

.admin-contact-list {
  display: grid;
  gap: 1px;
  background: var(--slate-100);
  border: 1px solid var(--slate-100);
  border-radius: 12px;
  overflow: hidden;
  max-height: 860px;
  overflow-y: auto;
}

.admin-contact-row {
  display: grid;
  gap: 4px;
  padding: 12px 14px;
  background: var(--white);
  color: var(--slate-900);
  transition: background 0.1s;
}

.admin-contact-row:hover {
  background: var(--slate-50);
}

.admin-contact-row.is-active {
  background: #eef4ff;
  border-left: 3px solid var(--blue-600);
}

.admin-contact-row__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.admin-contact-row__meta {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
}

.admin-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 16px;
}

.admin-message-block {
  margin-bottom: 16px;
}

.chat-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: 28px;
}

.chat-inline-actions {
  margin-top: 16px;
}

.surface--embedded-chat {
  padding: 20px;
  border-radius: 0;
  box-shadow: none;
  border: 0;
}

.ai-chat-app {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 0;
}

.ai-chat-mobile-bar {
  display: none;
}

.ai-chat-app__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--slate-100);
}

.ai-chat-app__header h3 {
  margin: 0 0 2px;
  font-family: var(--font-heading);
  font-size: 0.95rem;
}

.ai-chat-app__header p {
  margin: 0;
  font-size: 0.8rem;
  color: var(--slate-500);
}

.ai-chat-thread {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 260px;
  max-height: 460px;
  overflow-y: auto;
  padding: 12px;
  border: 1px solid var(--slate-100);
  border-radius: var(--radius-md);
  background: var(--slate-50);
}

.ai-chat-message {
  max-width: min(85%, 680px);
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 0.9rem;
  line-height: 1.55;
}

.ai-chat-message--assistant {
  background: var(--white);
  border: 1px solid var(--slate-200);
  align-self: flex-start;
}

.ai-chat-message--user {
  align-self: flex-end;
  background: var(--navy-900);
  color: var(--white);
}

.ai-chat-message__label {
  margin-bottom: 4px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  opacity: 0.6;
}

.ai-chat-message__body {
  white-space: pre-wrap;
}

.ai-chat-compose {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  padding: 8px;
  border: 1px solid var(--slate-200);
  border-radius: 10px;
  background: var(--white);
}

.ai-chat-compose textarea {
  flex: 1;
  min-height: 40px;
  max-height: 140px;
  resize: none;
  border: 0;
  outline: none;
  background: transparent;
  padding: 6px 4px;
  font: inherit;
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--slate-900);
}

.ai-chat-compose .ai-chat-send {
  flex-shrink: 0;
  min-height: 36px;
  padding: 0 14px;
  font-size: 13px;
}

.ai-chat-status {
  min-height: 18px;
  font-size: 0.82rem;
  color: var(--slate-500);
}

.ai-chat-status.is-error {
  color: #8d2c28;
}

.ai-chat-status.is-success {
  color: #116a4d;
}

.ai-chat-footer {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 8px;
  padding-top: 8px;
  border-top: 1px solid var(--slate-100);
}

.chat-embed-page {
  background: var(--slate-50);
}

.chat-embed-shell {
  min-height: 100vh;
}

.chat-widget {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 80;
}

.chat-widget__launcher {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 54px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  background: var(--blue-600);
  color: var(--white);
  font: inherit;
  font-weight: 700;
  box-shadow: var(--shadow-lg);
  cursor: pointer;
  list-style: none;
  user-select: none;
}

.chat-widget__launcher:hover {
  background: var(--blue-500);
}

.chat-widget__launcher::-webkit-details-marker {
  display: none;
}

.chat-widget__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  overflow: hidden;
  flex-shrink: 0;
}

.chat-widget__icon img {
  display: block;
  width: 100%;
  height: 100%;
}

.chat-widget__icon--panel {
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, var(--blue-100), rgba(27, 116, 255, 0.16));
}

.chat-widget__panel {
  position: absolute;
  right: 0;
  bottom: calc(100% + 14px);
  width: min(420px, calc(100vw - 28px));
  height: min(720px, calc(100vh - 100px));
  background: var(--white);
  border: 1px solid var(--slate-100);
  border-radius: 24px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  opacity: 0;
  transform: translateY(12px) scale(0.98);
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.chat-widget[open] .chat-widget__panel {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.chat-widget__panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px;
  border-bottom: 1px solid var(--slate-100);
  background: var(--white);
}

.chat-widget__panel-title {
  display: flex;
  align-items: center;
  gap: 12px;
}

.chat-widget__panel-header strong {
  display: block;
  color: var(--slate-900);
}

.chat-widget__panel-header p {
  margin: 4px 0 0;
  color: var(--slate-500);
  font-size: 0.9rem;
}

.chat-widget__close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--slate-200);
  border-radius: 999px;
  background: var(--white);
  color: var(--slate-700);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
}

.chat-widget__frame {
  width: 100%;
  height: calc(100% - 69px);
  border: 0;
  display: block;
  background: var(--slate-50);
}

@media (max-width: 1080px) {
  .hero__grid,
  .split,
  .page-hero__grid,
  .content-shell__grid,
  .contact-grid,
  .cta-band__inner,
  .site-footer__grid,
  .admin-grid,
  .admin-contacts-layout,
  .chat-shell,
  .admin-layout {
    grid-template-columns: 1fr;
  }

  .service-grid,
  .news-grid,
  .timeline,
  .grid-3,
  .stat-strip__grid,
  .admin-stat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .info-grid,
  .feature-grid,
  .admin-detail-grid {
    grid-template-columns: 1fr;
  }

  .admin-sidebar {
    gap: 18px;
  }
}

@media (max-width: 820px) {
  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .site-nav {
    position: absolute;
    top: 70px;
    right: 20px;
    left: 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 14px;
    background: var(--white);
    border: 1px solid var(--slate-100);
    border-radius: 22px;
    box-shadow: var(--shadow-md);
  }

  .site-nav.is-open {
    display: flex;
  }

  .nav-dropdown__menu {
    position: static;
    min-width: 0;
    box-shadow: none;
    border: 0;
    padding: 8px 0 0;
  }

  .site-nav__cta {
    margin-top: 6px;
  }

  .chat-widget {
    right: 14px;
    bottom: 14px;
  }

  .chat-widget__panel {
    right: 0;
    width: min(420px, calc(100vw - 16px));
    height: min(680px, calc(100vh - 86px));
  }

  .form-grid,
  .service-grid,
  .news-grid,
  .timeline,
  .grid-3,
  .stat-strip__grid,
  .admin-stat-grid {
    grid-template-columns: 1fr;
  }

  .admin-main {
    padding: 20px;
  }

  .admin-topbar,
  .admin-section__header,
  .admin-contact-row__top,
  .admin-contact-row__meta,
  .admin-list__item {
    grid-template-columns: 1fr;
    display: grid;
  }

  .admin-filter-bar {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(var(--container), calc(100% - 28px));
  }

  .ai-chat-app {
    position: fixed;
    inset: 0;
    z-index: 200;
    background: var(--white);
    padding: 0;
    gap: 0;
  }

  .ai-chat-app .ai-chat-thread {
    flex: 1;
    max-height: none;
    border-radius: 0;
    border-left: 0;
    border-right: 0;
  }

  .ai-chat-app .ai-chat-compose {
    border-radius: 0;
    border-left: 0;
    border-right: 0;
    border-bottom: 0;
  }

  .ai-chat-app .ai-chat-status,
  .ai-chat-app .ai-chat-footer {
    padding: 8px 14px;
  }

  .ai-chat-mobile-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    background: var(--navy-950);
    color: var(--white);
    font-weight: 600;
    font-size: 0.9rem;
    flex-shrink: 0;
  }

  .ai-chat-minimize {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 6px;
    background: transparent;
    color: var(--white);
    font-size: 1rem;
    cursor: pointer;
  }

  .ai-chat-app.is-minimised {
    position: static;
    inset: auto;
  }

  .ai-chat-app.is-minimised .ai-chat-thread,
  .ai-chat-app.is-minimised .ai-chat-compose,
  .ai-chat-app.is-minimised .ai-chat-status,
  .ai-chat-app.is-minimised .ai-chat-footer {
    display: none;
  }

  .ai-chat-app.is-minimised .ai-chat-mobile-bar {
    border-radius: 10px;
  }

  .hero--home,
  .section,
  .page-hero,
  .cta-band,
  .content-shell {
    padding: 52px 0;
  }

  .hero__content h1,
  .page-hero h1 {
    font-size: clamp(1.7rem, 8vw, 2.4rem);
  }

  .service-card__media img {
    height: 180px;
  }
}
