:root {
  --iac-navy: #061646;
  --iac-blue: #0f4db8;
  --iac-red: #e42124;
  --iac-cyan: #04a8c9;
  --iac-green: #6aa84f;
  --iac-ink: #172033;
  --iac-muted: #65728a;
  --iac-line: #dfe6f1;
  --iac-soft: #f3f7fb;
  --iac-white: #ffffff;
  --iac-shadow: 0 20px 45px rgba(6, 22, 70, 0.13);
  --iac-radius: 8px;
  --iac-shell: min(1180px, calc(100% - 32px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body.iac-theme {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--iac-ink);
  background: var(--iac-white);
  line-height: 1.55;
}

body.iac-theme.admin-bar .iac-header {
  top: 32px;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

.iac-shell {
  width: var(--iac-shell);
  margin: 0 auto;
}

.iac-skip-link {
  position: absolute;
  left: -999px;
  top: 10px;
  z-index: 10000;
  padding: 10px 14px;
  color: var(--iac-white);
  background: var(--iac-navy);
}

.iac-skip-link:focus {
  left: 10px;
}

.iac-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(223, 230, 241, 0.8);
  backdrop-filter: blur(18px);
}

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

.iac-brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  color: var(--iac-navy);
  text-decoration: none;
}

.iac-brand img {
  width: 74px;
  height: 50px;
  object-fit: contain;
}

.iac-brand strong,
.iac-brand small {
  display: block;
}

.iac-brand strong {
  font-size: 17px;
  line-height: 1.12;
}

.iac-brand small {
  color: var(--iac-muted);
  font-size: 12px;
}

.iac-nav {
  display: flex;
  align-items: center;
  gap: 18px;
}

.iac-nav-list {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.iac-nav-list a {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  padding: 0 12px;
  color: #29364d;
  border-radius: var(--iac-radius);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.iac-nav-list a:hover,
.iac-nav-list .current-menu-item > a {
  color: var(--iac-blue);
  background: #edf4ff;
}

.iac-header__portal {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  color: var(--iac-white);
  background: var(--iac-navy);
  border-radius: var(--iac-radius);
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

.iac-menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--iac-line);
  border-radius: var(--iac-radius);
  background: var(--iac-white);
}

.iac-menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--iac-navy);
}

.iac-main {
  min-height: 60vh;
}

.iac-hero {
  position: relative;
  overflow: hidden;
  padding: 76px 0 44px;
  color: var(--iac-white);
  background:
    linear-gradient(135deg, rgba(6, 22, 70, 0.96), rgba(15, 77, 184, 0.88)),
    url("../gallery/gallery-004.jpg") center / cover no-repeat;
}

.iac-hero::after {
  position: absolute;
  right: 0;
  bottom: 0;
  width: min(52vw, 620px);
  height: 130px;
  content: "";
  background: var(--iac-white);
  clip-path: polygon(18% 100%, 100% 0, 100% 100%);
}

.iac-hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.86fr);
  align-items: center;
  gap: 50px;
}

.iac-eyebrow {
  margin: 0 0 12px;
  color: var(--iac-red);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.iac-hero .iac-eyebrow,
.iac-band--accent .iac-eyebrow,
.iac-quote-section .iac-eyebrow {
  color: #86ecff;
}

.iac-hero h1,
.iac-page-hero h1 {
  max-width: 780px;
  margin: 0;
  font-size: 56px;
  line-height: 1.02;
  font-weight: 900;
}

.iac-hero__lead {
  max-width: 650px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 20px;
}

.iac-hero__actions,
.iac-hero__metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.iac-button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: var(--iac-radius);
  font-size: 15px;
  font-weight: 850;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

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

.iac-button--primary {
  color: var(--iac-white);
  background: var(--iac-red);
  box-shadow: 0 14px 24px rgba(228, 33, 36, 0.24);
}

.iac-button--secondary {
  color: var(--iac-white);
  background: var(--iac-blue);
  box-shadow: 0 14px 24px rgba(15, 77, 184, 0.18);
}

.iac-button--ghost {
  color: var(--iac-white);
  border-color: rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.08);
}

.iac-hero__metrics {
  gap: 18px;
  padding-top: 14px;
}

.iac-hero__metrics div {
  min-width: 126px;
  padding: 15px 16px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--iac-radius);
  background: rgba(255, 255, 255, 0.1);
}

.iac-hero__metrics strong,
.iac-hero__metrics span {
  display: block;
}

.iac-hero__metrics strong {
  color: var(--iac-white);
  font-size: 24px;
  line-height: 1;
}

.iac-hero__metrics span {
  margin-top: 5px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 12px;
}

.iac-hero__visual {
  position: relative;
  min-height: 560px;
}

.iac-hero__photo {
  position: absolute;
  display: block;
  object-fit: cover;
  border: 8px solid rgba(255, 255, 255, 0.84);
  box-shadow: var(--iac-shadow);
}

.iac-hero__photo--large {
  right: 0;
  top: 42px;
  width: 77%;
  height: 430px;
}

.iac-hero__photo--small-a {
  left: 0;
  top: 0;
  width: 46%;
  height: 220px;
}

.iac-hero__photo--small-b {
  left: 9%;
  bottom: 8px;
  width: 48%;
  height: 188px;
}

.iac-hero__seal {
  position: absolute;
  right: 20px;
  bottom: 42px;
  max-width: 270px;
  padding: 18px 20px;
  color: var(--iac-ink);
  border-radius: var(--iac-radius);
  background: var(--iac-white);
  box-shadow: var(--iac-shadow);
}

.iac-hero__seal span,
.iac-hero__seal strong {
  display: block;
}

.iac-hero__seal span {
  color: var(--iac-red);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.iac-hero__seal strong {
  margin-top: 4px;
  font-size: 20px;
  line-height: 1.1;
}

.iac-band {
  padding: 78px 0;
}

.iac-band--white {
  background: var(--iac-white);
}

.iac-band--soft {
  background: var(--iac-soft);
}

.iac-band--accent {
  color: var(--iac-white);
  background:
    linear-gradient(135deg, rgba(6, 22, 70, 0.98), rgba(15, 77, 184, 0.92)),
    url("../gallery/gallery-003.jpg") center / cover no-repeat;
}

.iac-section-head {
  max-width: 760px;
  margin-bottom: 34px;
}

.iac-section-head h2,
.iac-split h2,
.iac-cta-grid h2,
.iac-page-content h2 {
  margin: 0;
  color: var(--iac-navy);
  font-size: 36px;
  line-height: 1.12;
}

.iac-band--accent h2 {
  color: var(--iac-white);
}

.iac-section-head p,
.iac-split p,
.iac-cta-grid p {
  color: var(--iac-muted);
  font-size: 17px;
}

.iac-band--accent p {
  color: rgba(255, 255, 255, 0.82);
}

.iac-category-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
}

.iac-category-grid a {
  display: flex;
  min-height: 140px;
  flex-direction: column;
  justify-content: space-between;
  padding: 20px;
  color: var(--iac-white);
  border-radius: var(--iac-radius);
  background: var(--iac-navy);
  text-decoration: none;
  box-shadow: 0 14px 34px rgba(6, 22, 70, 0.12);
}

.iac-category-grid a:nth-child(2) {
  background: var(--iac-blue);
}

.iac-category-grid a:nth-child(3) {
  background: #006c8a;
}

.iac-category-grid a:nth-child(4) {
  background: #273d7f;
}

.iac-category-grid a:nth-child(5) {
  background: #8a1c34;
}

.iac-category-grid a:nth-child(6) {
  background: #32662d;
}

.iac-category-grid span,
.iac-category-grid small {
  display: block;
}

.iac-category-grid span {
  font-size: 18px;
  font-weight: 900;
  line-height: 1.15;
}

.iac-category-grid small {
  color: rgba(255, 255, 255, 0.78);
  font-size: 12px;
}

.iac-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.78fr);
  align-items: center;
  gap: 48px;
}

.iac-split--reverse {
  grid-template-columns: minmax(300px, 0.9fr) minmax(0, 1fr);
}

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

.iac-feature-list div {
  padding: 20px;
  border-left: 4px solid var(--iac-red);
  border-radius: var(--iac-radius);
  background: var(--iac-white);
  box-shadow: 0 12px 28px rgba(6, 22, 70, 0.08);
}

.iac-feature-list strong,
.iac-feature-list span {
  display: block;
}

.iac-feature-list strong {
  color: var(--iac-navy);
  font-size: 18px;
}

.iac-feature-list span {
  margin-top: 4px;
  color: var(--iac-muted);
}

.iac-quote-section {
  padding: 78px 0;
  color: var(--iac-white);
  background:
    linear-gradient(90deg, rgba(6, 22, 70, 0.96), rgba(6, 22, 70, 0.8)),
    url("../gallery/gallery-001.jpg") center / cover no-repeat;
}

.iac-quote-section blockquote {
  max-width: 930px;
  margin: 0;
}

.iac-quote-section p {
  margin: 0;
  font-size: 30px;
  font-weight: 800;
  line-height: 1.22;
}

.iac-quote-section cite {
  display: block;
  margin-top: 22px;
  font-style: normal;
  font-weight: 900;
}

.iac-quote-section cite span {
  display: block;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
  font-weight: 600;
}

.iac-gallery-preview {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.iac-gallery-preview img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  border-radius: var(--iac-radius);
  box-shadow: 0 12px 26px rgba(6, 22, 70, 0.12);
}

.iac-gallery-preview img:first-child {
  grid-column: span 2;
  height: 260px;
}

.iac-cta-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(320px, 0.72fr);
  align-items: start;
  gap: 34px;
}

.iac-page-hero {
  padding: 70px 0;
  color: var(--iac-white);
  background:
    linear-gradient(135deg, rgba(6, 22, 70, 0.96), rgba(15, 77, 184, 0.86)),
    url("../gallery/gallery-005.jpg") center / cover no-repeat;
}

.iac-page-content {
  padding: 54px 0 76px;
}

.iac-page-content .iac-shell {
  max-width: 1120px;
}

.iac-page-content p {
  color: #3f4b61;
  font-size: 17px;
}

.iac-article {
  padding: 24px 0;
  border-bottom: 1px solid var(--iac-line);
}

.iac-footer {
  color: rgba(255, 255, 255, 0.78);
  background: #071022;
}

.iac-footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(180px, 0.55fr) minmax(240px, 0.7fr);
  gap: 36px;
  padding: 46px 0;
}

.iac-footer h2,
.iac-footer h3 {
  margin: 0 0 12px;
  color: var(--iac-white);
}

.iac-footer__brand img {
  width: 84px;
  height: auto;
  margin-bottom: 16px;
  border-radius: var(--iac-radius);
  background: var(--iac-white);
}

.iac-footer__brand p {
  max-width: 520px;
  margin: 0;
}

.iac-footer__links {
  display: grid;
  gap: 9px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.iac-footer__links a {
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
}

.iac-footer__links a:hover {
  color: var(--iac-white);
}

.iac-footer__bottom {
  padding: 16px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 13px;
}

@media (max-width: 1080px) {
  .iac-nav {
    gap: 10px;
  }

  .iac-nav-list a {
    padding: 0 8px;
    font-size: 13px;
  }

  .iac-category-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .iac-hero__grid {
    grid-template-columns: 1fr;
  }

  .iac-hero__visual {
    min-height: 470px;
  }
}

@media (max-width: 860px) {
  body.iac-theme.admin-bar .iac-header {
    top: 46px;
  }

  .iac-header__inner {
    min-height: 72px;
  }

  .iac-menu-toggle {
    display: inline-block;
  }

  .iac-nav {
    position: absolute;
    left: 16px;
    right: 16px;
    top: calc(100% + 8px);
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 14px;
    border: 1px solid var(--iac-line);
    border-radius: var(--iac-radius);
    background: var(--iac-white);
    box-shadow: var(--iac-shadow);
  }

  .iac-header.is-open .iac-nav {
    display: flex;
  }

  .iac-nav-list {
    display: grid;
    gap: 4px;
  }

  .iac-nav-list a,
  .iac-header__portal {
    width: 100%;
    justify-content: flex-start;
  }

  .iac-hero {
    padding-top: 54px;
  }

  .iac-hero h1,
  .iac-page-hero h1 {
    font-size: 42px;
  }

  .iac-hero__lead {
    font-size: 18px;
  }

  .iac-split,
  .iac-split--reverse,
  .iac-cta-grid,
  .iac-footer__grid {
    grid-template-columns: 1fr;
  }

  .iac-split--reverse .iac-gallery-preview {
    order: 2;
  }

  .iac-section-head h2,
  .iac-split h2,
  .iac-cta-grid h2,
  .iac-page-content h2 {
    font-size: 30px;
  }

  .iac-quote-section p {
    font-size: 24px;
  }
}

@media (max-width: 620px) {
  :root {
    --iac-shell: min(100% - 22px, 1180px);
  }

  .iac-brand img {
    width: 60px;
    height: 40px;
  }

  .iac-brand strong {
    font-size: 14px;
  }

  .iac-brand small {
    font-size: 11px;
  }

  .iac-hero h1,
  .iac-page-hero h1 {
    font-size: 34px;
  }

  .iac-hero__actions .iac-button {
    width: 100%;
  }

  .iac-hero__visual {
    min-height: 410px;
  }

  .iac-hero__photo {
    border-width: 5px;
  }

  .iac-hero__photo--large {
    width: 82%;
    height: 306px;
  }

  .iac-hero__photo--small-a {
    width: 45%;
    height: 162px;
  }

  .iac-hero__photo--small-b {
    bottom: 28px;
    width: 48%;
    height: 138px;
  }

  .iac-hero__seal {
    right: 8px;
    bottom: 4px;
    max-width: 220px;
    padding: 14px;
  }

  .iac-hero__seal strong {
    font-size: 17px;
  }

  .iac-band,
  .iac-quote-section {
    padding: 54px 0;
  }

  .iac-category-grid {
    grid-template-columns: 1fr;
  }

  .iac-category-grid a {
    min-height: 112px;
  }

  .iac-gallery-preview img,
  .iac-gallery-preview img:first-child {
    grid-column: span 2;
    height: 210px;
  }
}
