:root {
  --primary: #2563eb;
  --primary-deep: #1d4ed8;
  --ink: #0f172a;
  --muted: #64748b;
  --line: #dbe4f0;
  --soft: #f6f9ff;
  --white: #ffffff;
  --sidebar: #ffffff;
  --shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: #f8fbff;
  font-family: Inter, Arial, sans-serif;
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

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

button,
input,
textarea,
select {
  font: inherit;
}

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

.hidden {
  display: none !important;
}

.empty-state {
  display: grid;
  place-items: center;
  min-height: 120px;
  padding: 20px;
  color: var(--muted);
  border: 1px dashed rgba(37, 99, 235, 0.24);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
  text-align: center;
}

.empty-state-large {
  min-height: 280px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-weight: 800;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  color: white;
  border-radius: 16px;
  background: linear-gradient(135deg, #2563eb, #60a5fa);
  flex: 0 0 52px;
}

.brand-logo {
  width: 58px;
  height: 58px;
  object-fit: contain;
  border-radius: 16px;
  flex: 0 0 58px;
}

.brand-copy {
  display: grid;
  gap: 2px;
}

.brand-copy small {
  color: #6b7a90;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.button,
.ghost-button,
.danger-button,
.save-button,
.admin-menu-item,
.service-item,
.project-rail-item {
  border: 0;
  border-radius: 16px;
  cursor: pointer;
}

.button,
.save-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  color: white;
  font-weight: 800;
  background: linear-gradient(135deg, #2563eb, #0ea5e9);
  box-shadow: 0 12px 24px rgba(37, 99, 235, 0.18);
}

.button.secondary,
.ghost-button {
  color: var(--primary);
  border: 1px solid rgba(37, 99, 235, 0.18);
  background: white;
  box-shadow: none;
}

.danger-button {
  min-height: 42px;
  padding: 0 16px;
  color: #b42318;
  border: 1px solid rgba(180, 35, 24, 0.18);
  background: white;
}

.save-button,
.ghost-button {
  min-height: 42px;
  padding: 0 16px;
}

.public-header {
  position: sticky;
  top: 0;
  z-index: 40;
  padding: 16px 0;
  background: rgba(248, 251, 255, 0.92);
  backdrop-filter: blur(18px);
}

.public-nav {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 14px 22px;
  border: 1px solid rgba(219, 228, 240, 0.95);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow);
}

.public-menu {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}

.public-menu a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 14px;
  color: #324155;
  border-radius: 999px;
  font-weight: 700;
}

.public-menu a:hover {
  color: var(--primary);
  background: var(--soft);
}

.public-cta {
  min-width: 170px;
}

.hero-surface {
  padding: 42px 0 36px;
}

.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 560px);
  gap: 36px;
  align-items: center;
}

.hero-copy {
  padding: 28px 0 10px;
}

.hero-badge,
.section-kicker {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  color: var(--primary);
  border: 1px solid rgba(37, 99, 235, 0.14);
  border-radius: 10px;
  background: var(--soft);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.1;
}

h1 {
  max-width: 720px;
  margin-top: 18px;
  font-size: clamp(42px, 5vw, 76px);
}

h2 {
  max-width: 820px;
  margin-top: 14px;
  font-size: clamp(32px, 4vw, 56px);
}

h3 {
  font-size: 28px;
}

.hero-text,
.section-top p,
.service-focus-copy p,
.project-overlay p,
.news-body p,
.contact-copy p {
  color: var(--muted);
}

.hero-text {
  max-width: 760px;
  margin: 22px 0 0;
  font-size: 22px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.hero-visual {
  overflow: hidden;
  border: 1px solid rgba(219, 228, 240, 0.95);
  border-radius: 32px;
  background: white;
  box-shadow: var(--shadow);
}

.hero-visual img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
}

.feature-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 26px;
  overflow: hidden;
  border-radius: 24px;
  background: linear-gradient(135deg, #1d4ed8, #2563eb);
  box-shadow: 0 16px 36px rgba(37, 99, 235, 0.2);
}

.highlight-item {
  padding: 26px 28px;
  color: white;
}

.highlight-item + .highlight-item {
  border-left: 1px solid rgba(255, 255, 255, 0.16);
}

.highlight-item strong {
  display: block;
  font-size: 24px;
  line-height: 1.2;
}

.highlight-item span {
  display: block;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.78);
}

.content-section {
  padding: 44px 0 0;
}

.muted-section {
  background: linear-gradient(180deg, rgba(246, 249, 255, 0.75), transparent);
}

.section-top {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 28px;
}

.section-top p {
  max-width: 620px;
  margin: 0;
  font-size: 18px;
}

.service-stage {
  display: grid;
  grid-template-columns: minmax(280px, 430px) minmax(0, 1fr);
  gap: 22px;
  align-items: start;
}

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

.service-item {
  padding: 18px 18px 20px;
  text-align: left;
  border: 1px solid var(--line);
  background: white;
  box-shadow: var(--shadow);
}

.service-item.active {
  border-color: rgba(37, 99, 235, 0.35);
  box-shadow: 0 20px 45px rgba(37, 99, 235, 0.12);
}

.service-item-tag,
.service-chip,
.project-label,
.news-date {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  background: var(--soft);
  color: var(--primary);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.service-item-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 12px;
  margin-top: 14px;
}

.service-item strong {
  max-width: 280px;
  font-size: 28px;
  line-height: 1.2;
}

.service-item p {
  margin: 12px 0 0;
  color: var(--muted);
}

.service-focus {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 0;
  overflow: hidden;
  border: 1px solid rgba(37, 99, 235, 0.18);
  border-radius: 28px;
  background: white;
  box-shadow: var(--shadow);
}

.service-focus-media img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
}

.service-focus-copy {
  padding: 34px;
}

.service-focus-copy h3 {
  margin-top: 14px;
  font-size: 34px;
}

.service-focus-copy p {
  margin-top: 16px;
  font-size: 18px;
}

.project-stage {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 14px;
}

.project-featured {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  border-radius: 22px;
  background: #0f172a;
  box-shadow: var(--shadow);
}

.project-featured img {
  width: 100%;
  min-height: 520px;
  object-fit: cover;
  opacity: 0.9;
}

.project-overlay {
  position: absolute;
  inset: auto 0 0;
  padding: 28px;
  color: white;
  background: linear-gradient(180deg, transparent, rgba(15, 23, 42, 0.92));
}

.project-overlay h3 {
  margin-top: 14px;
  max-width: 920px;
  font-size: 42px;
}

.project-overlay p {
  max-width: 760px;
  margin: 16px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 18px;
}

.project-rail {
  display: grid;
  gap: 12px;
}

.project-rail-item {
  position: relative;
  min-height: 164px;
  overflow: hidden;
  padding: 0;
  color: white;
  background: #0f172a;
}

.project-rail-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.72;
}

.project-rail-item span {
  position: absolute;
  inset: auto 16px 16px;
  font-weight: 800;
}

.project-rail-item.active {
  outline: 2px solid rgba(37, 99, 235, 0.46);
}

.partner-block {
  margin-top: 28px;
  padding-top: 8px;
}

.partner-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
}

.partner-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.partner-card {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: white;
}

.partner-logo {
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--soft);
}

.partner-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.partner-card strong,
.news-body h3 {
  display: block;
  margin-top: 14px;
}

.partner-card span {
  color: var(--muted);
}

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

.gallery-card {
  overflow: hidden;
  border-radius: 22px;
  background: white;
  box-shadow: var(--shadow);
}

.gallery-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.gallery-caption {
  padding: 14px 16px 16px;
  font-weight: 700;
}

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

.news-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: white;
  box-shadow: var(--shadow);
}

.news-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.news-body {
  padding: 22px;
}

.news-body p {
  margin: 14px 0 0;
}

.news-link {
  display: inline-flex;
  margin-top: 20px;
  color: var(--primary);
  font-weight: 700;
}

.article-page {
  padding-bottom: 40px;
}

.article-shell {
  padding: 32px 0 0;
}

.article-back {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  margin-bottom: 18px;
  color: var(--primary);
  font-weight: 700;
}

.article-card {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 32px;
  background: white;
  box-shadow: var(--shadow);
}

.article-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 520px);
  gap: 24px;
  align-items: center;
}

.article-copy h1 {
  max-width: 100%;
  margin-top: 18px;
  font-size: clamp(34px, 4.6vw, 62px);
}

.article-summary {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 20px;
}

.article-cover img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 28px;
}

.article-content {
  max-width: 880px;
  margin-top: 28px;
}

.article-content p {
  margin: 0 0 18px;
  font-size: 18px;
  line-height: 1.8;
}

.article-related {
  margin-top: 26px;
}

.contact-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 18px;
  align-items: start;
}

.contact-copy,
.contact-card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: white;
  box-shadow: var(--shadow);
}

.contact-card {
  display: grid;
  gap: 14px;
}

.contact-row {
  display: grid;
  gap: 4px;
}

.contact-row span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

.map-frame {
  margin-top: 18px;
}

.map-frame iframe {
  width: 100%;
  min-height: 320px;
  border: 0;
  border-radius: 24px;
}

.site-footer {
  padding: 26px 0 34px;
  color: var(--muted);
  font-size: 14px;
}

.admin-body {
  min-height: 100vh;
  background: #f5f8fe;
}

.admin-shell {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  min-height: 100vh;
}

.admin-sidebar {
  padding: 16px;
  border-right: 1px solid var(--line);
  background: var(--sidebar);
}

.admin-menu {
  display: grid;
  gap: 8px;
  margin-top: 24px;
}

.admin-menu-item {
  min-height: 48px;
  padding: 0 16px;
  color: #334155;
  text-align: left;
  font-weight: 700;
  background: transparent;
}

.admin-menu-item.active {
  color: var(--primary);
  background: rgba(37, 99, 235, 0.08);
}

.admin-main {
  padding: 26px;
}

.admin-topbar {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 20px;
}

.admin-subtitle {
  max-width: 760px;
  margin: 10px 0 0;
  color: var(--muted);
}

.toolbar-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.admin-card {
  border: 1px solid var(--line);
  border-radius: 24px;
  background: white;
  box-shadow: var(--shadow);
}

.admin-card + .admin-card {
  margin-top: 16px;
}

.admin-card-header {
  padding: 20px 22px 0;
}

.admin-card-body {
  padding: 20px 22px 22px;
}

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

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

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

label {
  color: #334155;
  font-size: 13px;
  font-weight: 800;
}

input,
textarea,
select {
  width: 100%;
  min-height: 44px;
  padding: 10px 14px;
  color: var(--ink);
  border: 1px solid #cdd8ea;
  border-radius: 14px;
  background: white;
}

textarea {
  min-height: 112px;
  resize: vertical;
}

.repeat-list {
  display: grid;
  gap: 18px;
}

.partner-manager-toolbar {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
  padding: 16px 18px;
  border: 1px solid rgba(11, 114, 217, 0.14);
  border-radius: 18px;
  background: linear-gradient(180deg, #f7fbff 0%, #ffffff 100%);
}

.partner-manager-toolbar h4 {
  margin: 0 0 6px;
  color: var(--ink);
  font-size: 20px;
}

.partner-manager-toolbar p {
  margin: 0;
  color: var(--muted);
}

.admin-body .ghost-button {
  color: #073f9f;
  border-color: rgba(11, 114, 217, 0.22);
  background: #ffffff;
}

.admin-body .partner-manager-toolbar .ghost-button,
.admin-body .repeat-actions .ghost-button[data-add="partners"] {
  color: #ffffff;
  border-color: transparent;
  background: linear-gradient(135deg, #073f9f 0%, #0b72d9 55%, #11a8f5 100%);
  box-shadow: 0 14px 28px rgba(11, 114, 217, 0.22);
  font-weight: 800;
}

.repeat-item {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fbfdff;
}

.partner-item {
  display: grid;
  gap: 16px;
  padding: 20px;
  border-radius: 20px;
  background: #ffffff;
  box-shadow: 0 10px 24px rgba(7, 63, 159, 0.05);
}

.partner-logo-layout {
  display: grid;
  grid-template-columns: minmax(260px, 340px) minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}

.partner-logo-preview {
  min-height: 180px;
  overflow: hidden;
  border: 1px dashed #c9d8ef;
  border-radius: 18px;
  background: #f8fbff;
}

.partner-logo-preview img {
  width: 100%;
  height: 100%;
  min-height: 180px;
  object-fit: cover;
}

.partner-logo-preview.is-empty {
  display: grid;
  place-items: center;
}

.partner-upload-controls {
  align-content: start;
  gap: 14px;
}

.partner-upload-controls input[type="file"] {
  width: 100%;
}

.partner-upload-controls .ghost-button {
  width: fit-content;
}

.partner-actions {
  margin-top: 4px;
}

.repeat-actions {
  display: flex;
  justify-content: end;
  gap: 10px;
  margin-top: 14px;
}

.login-wrap {
  display: grid;
  place-items: center;
  min-height: 100vh;
  padding: 24px;
}

.login-card {
  width: min(460px, 100%);
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: white;
  box-shadow: var(--shadow);
}

.login-card h1 {
  margin-top: 18px;
  font-size: 32px;
}

.login-card .field {
  margin-top: 14px;
}

.message {
  min-height: 24px;
  margin-top: 14px;
  color: var(--primary);
  font-weight: 800;
}

.modal-open {
  overflow: hidden;
}

.upload-field {
  display: grid;
  grid-template-columns: minmax(240px, 320px) minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}

.upload-preview {
  position: relative;
  overflow: hidden;
  border: 1px dashed #b7c9d0;
  border-radius: 18px;
  background: #f8fbff;
}

.upload-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.upload-preview.is-logo {
  display: grid;
  place-items: center;
  min-height: 160px;
}

.upload-preview.is-logo img {
  width: 100%;
  max-width: 180px;
  height: auto;
  max-height: 140px;
  object-fit: contain;
}

.upload-preview.is-hero {
  aspect-ratio: 16 / 10;
}

.upload-preview.is-gallery {
  aspect-ratio: 1;
}

.upload-preview.is-card {
  aspect-ratio: 16 / 9;
}

.upload-placeholder {
  padding: 24px;
  color: var(--muted);
  text-align: center;
}

.upload-controls {
  display: grid;
  gap: 10px;
}

.field-hint {
  color: var(--muted);
  font-size: 13px;
}

.upload-status {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 32px;
  padding: 0 12px;
  color: var(--primary);
  border: 1px solid rgba(37, 99, 235, 0.18);
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.08);
  font-size: 13px;
  font-weight: 700;
}

.crop-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 20px;
}

.crop-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.58);
}

.crop-dialog {
  position: relative;
  width: min(1040px, 100%);
  max-height: calc(100vh - 40px);
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: white;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.24);
}

.crop-header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 22px 0;
}

.crop-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 20px;
  padding: 22px;
}

.crop-stage {
  min-height: 420px;
  overflow: hidden;
  border-radius: 20px;
  background: #eef4ff;
}

.crop-stage img {
  max-width: 100%;
}

.crop-sidebar {
  display: grid;
  align-content: start;
  gap: 16px;
}

.crop-actions {
  display: grid;
  gap: 10px;
}

@media (max-width: 1200px) {
  .hero-layout,
  .service-stage,
  .project-stage,
  .contact-shell {
    grid-template-columns: 1fr;
  }

  .article-hero {
    grid-template-columns: 1fr;
  }

  .feature-strip,
  .partner-grid,
  .gallery-grid,
  .news-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {
  .container {
    width: min(100% - 28px, 1360px);
  }

  .public-nav,
  .admin-shell {
    grid-template-columns: 1fr;
  }

  .public-menu {
    justify-content: start;
  }

  .feature-strip,
  .partner-grid,
  .gallery-grid,
  .news-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .upload-field,
  .crop-body {
    grid-template-columns: 1fr;
  }

  .section-top,
  .admin-topbar {
    align-items: start;
    flex-direction: column;
  }
}


/* MVC brand refresh */
:root {
  --primary: #0b72d9;
  --primary-deep: #073f9f;
  --primary-bright: #11a8f5;
  --ink: #07162f;
  --muted: #5e6b80;
  --line: #d7e7f6;
  --soft: #eef8ff;
  --white: #ffffff;
  --sidebar: #f8fbff;
  --shadow: 0 20px 50px rgba(7, 63, 159, 0.11);
}

body {
  background:
    radial-gradient(circle at 18% 8%, rgba(17, 168, 245, 0.12), transparent 28%),
    linear-gradient(180deg, #f7fbff 0%, #ffffff 42%, #f5fbff 100%);
}

.public-header {
  background: rgba(247, 251, 255, 0.88);
}

.public-nav {
  border-radius: 18px;
  border-color: rgba(11, 114, 217, 0.16);
  box-shadow: 0 18px 46px rgba(7, 63, 159, 0.09);
}

.brand-mark {
  border-radius: 14px;
  background: linear-gradient(135deg, #073f9f 0%, #0b72d9 48%, #11a8f5 100%);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.28);
}

.brand-logo {
  width: 68px;
  height: 68px;
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 8px 20px rgba(7, 63, 159, 0.12);
}

.brand-copy span {
  color: #073f9f;
}

.brand-copy small {
  color: #0b72d9;
}

.button,
.save-button {
  border-radius: 12px;
  background: linear-gradient(135deg, #073f9f 0%, #0b72d9 52%, #11a8f5 100%);
  box-shadow: 0 14px 28px rgba(11, 114, 217, 0.22);
}

.button.secondary,
.ghost-button {
  color: #073f9f;
  border-color: rgba(11, 114, 217, 0.22);
  background: #ffffff;
}

.hero-surface {
  position: relative;
  padding-top: 54px;
}

.hero-surface::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 360px;
  background:
    linear-gradient(120deg, rgba(7, 63, 159, 0.08), rgba(17, 168, 245, 0.06)),
    repeating-linear-gradient(90deg, rgba(11, 114, 217, 0.08) 0 1px, transparent 1px 80px);
  pointer-events: none;
}

.hero-layout,
.hero-surface > .container {
  position: relative;
}

.hero-badge,
.section-kicker,
.service-item-tag,
.service-chip,
.project-label,
.news-date {
  color: #073f9f;
  border-color: rgba(11, 114, 217, 0.18);
  background: linear-gradient(180deg, #f4fbff, #eaf6ff);
  border-radius: 8px;
}

h1 {
  color: #06183a;
  letter-spacing: 0;
}

h2,
h3 {
  color: #07162f;
}

.hero-visual {
  border-radius: 18px;
  border-color: rgba(11, 114, 217, 0.18);
  box-shadow: 0 24px 58px rgba(7, 63, 159, 0.14);
}

.feature-strip {
  border-radius: 14px;
  background: linear-gradient(135deg, #073f9f 0%, #0b72d9 56%, #11a8f5 100%);
  box-shadow: 0 20px 42px rgba(11, 114, 217, 0.22);
}

.service-item,
.service-focus,
.partner-card,
.gallery-card,
.news-card,
.contact-copy,
.contact-card,
.article-card,
.admin-card,
.login-card {
  border-radius: 14px;
  border-color: rgba(11, 114, 217, 0.15);
  box-shadow: 0 16px 38px rgba(7, 63, 159, 0.08);
}

.service-item.active {
  border-color: rgba(11, 114, 217, 0.45);
  box-shadow: 0 20px 45px rgba(11, 114, 217, 0.16);
}

.project-featured,
.project-rail-item {
  border-radius: 14px;
  background: #06183a;
}

.project-overlay {
  background: linear-gradient(180deg, transparent, rgba(6, 24, 58, 0.94));
}

.news-link,
.article-back {
  color: #0b72d9;
}

.contact-shell {
  align-items: stretch;
}

.contact-card {
  background: linear-gradient(180deg, #ffffff 0%, #f4fbff 100%);
}

.admin-body {
  background: #f3f8ff;
}

.admin-sidebar {
  background: linear-gradient(180deg, #ffffff 0%, #eef8ff 100%);
}

.admin-menu-item {
  border-radius: 10px;
}

.admin-menu-item.active {
  color: #073f9f;
  background: rgba(11, 114, 217, 0.1);
}

input,
textarea,
select {
  border-radius: 10px;
  border-color: #c7dcef;
}

@media (max-width: 900px) {
  .public-nav {
    border-radius: 14px;
  }

  h1 {
    font-size: clamp(34px, 12vw, 50px);
  }
}

/* MVC redesign */
:root {
  --primary: #0a3d91;
  --primary-deep: #06265f;
  --primary-bright: #17b8f3;
  --accent: #dff8ff;
  --ink: #08152b;
  --muted: #617086;
  --line: rgba(10, 61, 145, 0.12);
  --soft: #f2fbff;
  --white: #ffffff;
  --sidebar: #f7fbff;
  --shadow: 0 24px 60px rgba(8, 21, 43, 0.08);
  --shadow-soft: 0 18px 38px rgba(10, 61, 145, 0.12);
  --radius-xl: 24px;
  --radius-lg: 20px;
}

body {
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(23, 184, 243, 0.18), transparent 28%),
    radial-gradient(circle at top right, rgba(10, 61, 145, 0.1), transparent 24%),
    linear-gradient(180deg, #f4fbff 0%, #ffffff 38%, #f6fbff 100%);
  font-family: "Be Vietnam Pro", Arial, sans-serif;
}

.container {
  width: min(1480px, calc(100% - 40px));
}

.public-header {
  padding: 18px 0;
  background: rgba(244, 251, 255, 0.72);
}

.public-nav {
  grid-template-columns: minmax(300px, 360px) minmax(0, 1fr) auto;
  gap: 20px;
  padding: 16px 20px;
  border: 1px solid rgba(255, 255, 255, 0.56);
  border-radius: 24px;
  background: rgba(6, 38, 95, 0.78);
  box-shadow: 0 20px 48px rgba(8, 21, 43, 0.16);
}

.brand {
  gap: 16px;
  color: #ffffff;
}

.brand-mark,
.footer-brand .brand-mark {
  width: 72px;
  height: 72px;
  border-radius: 22px;
  background: linear-gradient(135deg, #0a3d91 0%, #106ad2 52%, #17b8f3 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.24);
  flex: 0 0 72px;
}

.brand-logo {
  width: 78px;
  height: 78px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 12px 26px rgba(6, 38, 95, 0.22);
}

.brand-copy span {
  color: #ffffff;
  font-size: 14px;
}

.brand-copy small {
  color: rgba(223, 248, 255, 0.9);
  font-size: 11px;
  letter-spacing: 0.16em;
}

.public-menu {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: nowrap;
  gap: 10px;
  min-width: 0;
}

.public-menu a {
  min-height: 44px;
  padding: 0 14px;
  color: rgba(255, 255, 255, 0.88);
  border-radius: 999px;
  white-space: nowrap;
  font-size: 15px;
  transition: background-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.public-menu a:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-1px);
}

.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: nowrap;
  gap: 12px;
}

.hotline-pill {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  padding: 0 16px;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  font-weight: 700;
  white-space: nowrap;
  backdrop-filter: blur(10px);
}

.public-cta {
  min-width: 164px;
  white-space: nowrap;
}

.button,
.save-button {
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  background: linear-gradient(135deg, #08a8ea 0%, #17b8f3 100%);
  box-shadow: 0 18px 30px rgba(23, 184, 243, 0.22);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.button:hover,
.save-button:hover,
.project-rail-item:hover,
.partner-card:hover,
.gallery-card:hover,
.news-card:hover,
.service-item:hover {
  transform: translateY(-4px);
}

.button:hover,
.save-button:hover {
  box-shadow: 0 22px 34px rgba(23, 184, 243, 0.28);
}

.button.secondary,
.ghost-button {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.32);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
}

.hero-surface {
  position: relative;
  min-height: calc(100vh - 112px);
  padding: 34px 0 56px;
  overflow: hidden;
}

.hero-surface::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(110deg, rgba(6, 38, 95, 0.88) 0%, rgba(6, 38, 95, 0.72) 38%, rgba(10, 61, 145, 0.28) 100%),
    linear-gradient(180deg, rgba(8, 21, 43, 0.16), rgba(8, 21, 43, 0.38));
  z-index: 0;
}

.hero-backdrop {
  position: absolute;
  inset: 0;
}

.hero-backdrop img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.08) contrast(1.02);
}

.hero-layout,
.hero-surface > .container {
  position: relative;
  z-index: 1;
}

.hero-layout {
  grid-template-columns: minmax(0, 1.1fr) minmax(360px, 480px);
  gap: 44px;
  min-height: 72vh;
}

.hero-copy {
  padding: 48px 0 24px;
  color: #ffffff;
}

.hero-badge,
.section-kicker,
.service-item-tag,
.service-chip,
.project-label,
.news-date {
  min-height: 36px;
  padding: 0 16px;
  color: #55a9c1;
  border: 1px solid rgba(223, 248, 255, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

h1,
h2,
h3 {
  letter-spacing: 0;
}

h1 {
  max-width: 780px;
  margin-top: 22px;
  color: #ffffff;
  font-size: clamp(44px, 5.4vw, 84px);
  line-height: 1.02;
}

h2 {
  max-width: 760px;
  margin-top: 16px;
  font-size: clamp(34px, 4.2vw, 60px);
}

.hero-text {
  max-width: 720px;
  margin-top: 24px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 20px;
}

.hero-actions {
  gap: 14px;
  margin-top: 34px;
}

.hero-visual {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  border: 1px solid rgba(223, 248, 255, 0.14);
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 28px 60px rgba(8, 21, 43, 0.24);
}

.hero-visual img {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
  mix-blend-mode: screen;
  opacity: 0.34;
}

.hero-panel {
  position: absolute;
  inset: 24px 24px auto auto;
  z-index: 1;
  max-width: 320px;
  padding: 22px;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.08));
  backdrop-filter: blur(16px);
}

.hero-panel span {
  display: block;
  color: rgba(223, 248, 255, 0.84);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-panel strong {
  display: block;
  margin-top: 10px;
  font-size: 28px;
  line-height: 1.2;
}

.metric-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: -5px;
}

.highlight-item {
  padding: 24px;
  color: var(--ink);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow-soft);
}

.highlight-item strong {
  font-size: 18px;
}

.highlight-item span {
  margin-top: 10px;
  color: var(--muted);
}

.content-section {
  padding: 92px 0 0;
}

.muted-section {
  background:
    linear-gradient(180deg, rgba(239, 250, 255, 0.9), rgba(255, 255, 255, 0));
}

.section-top {
  align-items: flex-end;
  gap: 36px;
  margin-bottom: 32px;
}

.section-top p,
.service-focus-copy p,
.project-overlay p,
.news-body p,
.contact-copy p,
.site-footer p,
.footer-column span {
  color: var(--muted);
}

.section-top p {
  max-width: 560px;
  font-size: 17px;
}

.service-stage {
  gap: 24px;
}

.service-list {
  gap: 16px;
}

.service-item,
.service-focus,
.project-featured,
.project-rail-item,
.partner-card,
.gallery-card,
.news-card,
.contact-copy,
.contact-card,
.article-card,
.admin-card,
.login-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
}

.service-item {
  padding: 22px;
  background: linear-gradient(180deg, #ffffff, #f8fdff);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.service-item.active {
  border-color: rgba(23, 184, 243, 0.38);
  box-shadow: 0 24px 48px rgba(10, 61, 145, 0.16);
}

.service-item-head {
  align-items: center;
}

.service-item-identity {
  display: flex;
  align-items: center;
  gap: 14px;
}

.service-icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  color: #ffffff;
  border-radius: 18px;
  background: linear-gradient(135deg, #0a3d91, #17b8f3);
  font-size: 24px;
  box-shadow: 0 14px 28px rgba(10, 61, 145, 0.18);
}

.service-item strong {
  max-width: none;
  font-size: 22px;
}

.service-item-code {
  color: #8ba2bd;
  font-size: 14px;
  font-weight: 700;
}

.service-focus {
  grid-template-columns: minmax(0, 1fr);
  overflow: hidden;
  background: linear-gradient(135deg, #ffffff 0%, #f6fdff 100%);
}

.service-focus-media {
  position: relative;
}

.service-focus-media::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 120px;
  background: linear-gradient(180deg, transparent, rgba(8, 21, 43, 0.3));
}

.service-focus-media img {
  min-height: 280px;
}

.service-focus-copy {
  padding: 34px;
}

.service-focus-copy h3 {
  font-size: 36px;
}

.process-section {
  position: relative;
}

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

.process-step {
  position: relative;
  padding: 28px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: linear-gradient(180deg, #ffffff 0%, #f6fcff 100%);
  box-shadow: var(--shadow);
}

.process-step::after {
  content: "";
  position: absolute;
  inset: 28px -22px auto auto;
  width: 44px;
  height: 2px;
  background: linear-gradient(90deg, rgba(23, 184, 243, 0.5), transparent);
}

.process-step:last-child::after {
  display: none;
}

.process-step strong {
  display: block;
  margin-top: 18px;
  font-size: 24px;
}

.process-step p {
  margin: 12px 0 0;
  color: var(--muted);
}

.process-step-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  color: #ffffff;
  border-radius: 14px;
  background: linear-gradient(135deg, #0a3d91, #17b8f3);
  font-weight: 800;
}

.project-stage {
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 18px;
}

.project-featured,
.project-rail-item {
  background: #07152b;
}

.project-featured {
  min-height: 560px;
}

.project-featured img {
  min-height: 560px;
  transform: scale(1.01);
}

.project-overlay {
  padding: 32px;
  background: linear-gradient(180deg, transparent 0%, rgba(7, 21, 43, 0.94) 76%);
}

.project-overlay h3 {
  font-size: clamp(34px, 3.6vw, 48px);
}

.project-rail {
  gap: 16px;
}

.project-rail-item {
  min-height: 170px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: transform 180ms ease, box-shadow 180ms ease, outline-color 180ms ease;
}

.project-rail-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 18%, rgba(7, 21, 43, 0.78));
}

.project-rail-item span {
  z-index: 1;
}

.project-rail-item.active {
  outline: 2px solid rgba(23, 184, 243, 0.7);
}

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

.partner-card {
  padding: 24px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fdff 100%);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.partner-logo {
  width: 84px;
  height: 84px;
  border-radius: 20px;
}

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

.gallery-card,
.news-card {
  background: #ffffff;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.gallery-card img {
  aspect-ratio: 4 / 4.6;
}

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

.news-body {
  padding: 24px;
}

.contact-shell {
  grid-template-columns: minmax(0, 1.15fr) 420px;
  gap: 20px;
}

.contact-copy,
.contact-card {
  padding: 32px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fdff 100%);
}

.map-frame {
  margin-top: 20px;
}

.map-frame iframe {
  min-height: 340px;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
}

.floating-contact {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 45;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 108px;
  min-height: 54px;
  color: #ffffff;
  border-radius: 999px;
  background: linear-gradient(135deg, #0a3d91, #17b8f3);
  box-shadow: 0 20px 34px rgba(10, 61, 145, 0.22);
  font-weight: 800;
}

.site-footer {
  margin-top: 88px;
  padding: 56px 0 30px;
  background:
    linear-gradient(180deg, rgba(8, 21, 43, 0.96), rgba(6, 38, 95, 0.98));
  color: rgba(255, 255, 255, 0.82);
}

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

.footer-brand {
  margin-bottom: 18px;
}

.footer-column {
  display: grid;
  align-content: start;
  gap: 10px;
}

.footer-column h3 {
  margin: 0 0 6px;
  color: #ffffff;
  font-size: 18px;
}

.footer-column a,
.footer-column span,
.site-footer p {
  color: rgba(223, 248, 255, 0.78);
}

.footer-map {
  overflow: hidden;
  min-height: 180px;
  border: 1px solid rgba(223, 248, 255, 0.12);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.06);
}

.footer-map iframe {
  width: 100%;
  min-height: 180px;
  border: 0;
}

.footer-bottom {
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid rgba(223, 248, 255, 0.14);
  color: rgba(223, 248, 255, 0.6);
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 520ms ease, transform 520ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1200px) {
  .hero-layout,
  .service-stage,
  .project-stage,
  .contact-shell,
  .footer-grid,
  .process-flow {
    grid-template-columns: 1fr;
  }

  .metric-strip,
  .gallery-grid,
  .news-grid,
  .partner-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-visual {
    min-height: 380px;
  }

  .hero-visual img {
    min-height: 380px;
  }
}

@media (max-width: 900px) {
  .container {
    width: min(100% - 28px, 1280px);
  }

  .public-nav,
  .admin-shell {
    grid-template-columns: 1fr;
  }

  .public-nav {
    gap: 18px;
    padding: 18px;
  }

  .public-menu {
    justify-content: flex-start;
  }

  .header-actions {
    flex-wrap: wrap;
  }

  .hero-surface {
    min-height: auto;
    padding-top: 18px;
  }

  h1 {
    font-size: clamp(36px, 12vw, 52px);
  }

  .metric-strip,
  .gallery-grid,
  .news-grid,
  .partner-grid,
  .form-grid,
  .process-flow {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    padding-top: 24px;
  }

  .hero-panel {
    inset: 18px 18px auto 18px;
    max-width: none;
  }

  .section-top,
  .admin-topbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .floating-contact {
    right: 16px;
    bottom: 16px;
  }
}
