:root {
  --ink: #0a0d12;
  --graphite: #121821;
  --panel: #ffffff;
  --paper: #f3f5f8;
  --soft: #e6ebf1;
  --line: #cfd7e2;
  --muted: #66717f;
  --cyan: #00a9d6;
  --blue: #1554ff;
  --orange: #ff7a1a;
  --lime: #a8ff3e;
  --shadow: 0 24px 70px rgba(10, 13, 18, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Avenir Next", "Gill Sans", "Segoe UI", sans-serif;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 10px 35px rgba(10, 13, 18, 0.16);
}

.utility-bar {
  display: flex;
  min-height: 38px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 0 clamp(16px, 4vw, 56px);
  color: rgba(255, 255, 255, 0.78);
  background: var(--ink);
  font-size: 0.82rem;
}

.utility-actions,
.masthead,
.brand,
.primary-nav,
.hero-actions,
.action-strip,
.linecard-head,
.filter-buttons,
.residential-band,
.contact-panel,
.site-footer {
  display: flex;
  align-items: center;
}

.utility-actions {
  gap: 14px;
  white-space: nowrap;
}

.lang-button {
  width: 36px;
  height: 26px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.75);
  background: transparent;
  cursor: pointer;
  font-weight: 900;
}

.lang-button.active {
  color: var(--ink);
  background: var(--lime);
  border-color: var(--lime);
}

.masthead {
  min-height: 76px;
  justify-content: space-between;
  gap: 24px;
  padding: 0 clamp(16px, 4vw, 56px);
  color: var(--panel);
  background: linear-gradient(90deg, #111820, #151d29 65%, #0f1520);
}

.brand {
  gap: 12px;
  font-weight: 900;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: var(--ink);
  background: var(--cyan);
  font-family: Optima, "Avenir Next", sans-serif;
  font-weight: 900;
}

.primary-nav {
  justify-content: center;
  gap: clamp(16px, 2.4vw, 34px);
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.94rem;
  font-weight: 800;
}

.primary-nav a:hover {
  color: var(--panel);
}

.quote-button,
.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  font-weight: 900;
}

.quote-button,
.button.primary {
  color: var(--ink);
  background: var(--lime);
}

.button.secondary {
  color: var(--panel);
  border: 1px solid rgba(255, 255, 255, 0.28);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.62fr);
  gap: clamp(28px, 5vw, 72px);
  width: 100%;
  padding: clamp(64px, 8vw, 112px) clamp(16px, 4vw, 56px);
  color: var(--panel);
  background:
    linear-gradient(90deg, rgba(0, 169, 214, 0.16) 1px, transparent 1px),
    linear-gradient(0deg, rgba(0, 169, 214, 0.1) 1px, transparent 1px),
    radial-gradient(circle at 78% 18%, rgba(21, 84, 255, 0.42), transparent 28%),
    linear-gradient(135deg, #0a0d12, #151d29 56%, #090d14);
  background-size: 54px 54px, 54px 54px, auto, auto;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 5px;
  background: linear-gradient(90deg, var(--cyan), var(--lime), var(--orange), var(--blue));
}

.hero-copy,
.hero-console {
  position: relative;
  z-index: 1;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2 {
  margin: 0;
  font-family: Optima, "Avenir Next", sans-serif;
  font-weight: 650;
  letter-spacing: 0;
}

h1 {
  max-width: 920px;
  font-size: clamp(3.2rem, 8vw, 7.2rem);
  line-height: 0.92;
}

h2 {
  max-width: 920px;
  font-size: clamp(2.1rem, 5vw, 4.8rem);
  line-height: 0.98;
}

h3 {
  margin: 0 0 10px;
  font-size: 1.08rem;
}

.hero-copy p:not(.eyebrow) {
  max-width: 780px;
  color: rgba(255, 255, 255, 0.74);
  font-size: clamp(1.05rem, 2vw, 1.32rem);
  line-height: 1.62;
}

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

.hero-console {
  align-self: end;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(10, 13, 18, 0.72);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.console-search {
  padding: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.console-search span,
.console-search strong,
.console-footer span {
  display: block;
}

.console-search span {
  color: var(--cyan);
  font-size: 0.8rem;
  font-weight: 900;
  text-transform: uppercase;
}

.console-search strong {
  margin-top: 8px;
  font-size: 1.35rem;
}

.console-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.console-grid a {
  min-height: 118px;
  padding: 18px;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.console-grid a:nth-child(2n) {
  border-right: 0;
}

.console-grid span {
  display: inline-grid;
  width: 36px;
  height: 36px;
  place-items: center;
  margin-bottom: 18px;
  color: var(--ink);
  background: var(--cyan);
  font-weight: 900;
}

.console-grid strong {
  display: block;
}

.console-footer {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: center;
  padding: 20px 24px;
}

.console-footer strong {
  color: var(--lime);
  font-family: Optima, "Avenir Next", sans-serif;
  font-size: 4rem;
  line-height: 0.9;
}

.action-strip {
  align-items: stretch;
  background: var(--panel);
  border-bottom: 1px solid var(--line);
}

.action-strip a {
  flex: 1;
  min-height: 128px;
  padding: 22px clamp(16px, 3vw, 34px);
  border-right: 1px solid var(--line);
}

.action-strip span,
.action-strip strong,
.action-strip small {
  display: block;
}

.action-strip span {
  margin-bottom: 22px;
  color: var(--orange);
  font-weight: 900;
}

.action-strip small {
  margin-top: 8px;
  color: var(--muted);
  line-height: 1.45;
}

.section {
  width: min(1340px, calc(100% - 32px));
  margin: 0 auto;
  padding: clamp(74px, 9vw, 124px) 0;
}

.section-kicker {
  margin-bottom: 34px;
}

.section-kicker p:not(.eyebrow) {
  max-width: 760px;
  color: var(--muted);
  line-height: 1.68;
}

.product-rail {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.product-rail article {
  min-height: 280px;
  padding: 26px;
  background: var(--panel);
}

.product-rail article > span {
  display: inline-block;
  margin-bottom: 38px;
  color: var(--blue);
  font-weight: 900;
}

.product-rail p {
  color: var(--muted);
  line-height: 1.58;
}

.product-rail small {
  display: block;
  margin-top: 24px;
  color: var(--orange);
  font-weight: 900;
  line-height: 1.45;
}

.linecard-section {
  padding: clamp(74px, 9vw, 124px) clamp(16px, 4vw, 56px);
  background: var(--graphite);
  color: var(--panel);
}

.linecard-shell {
  width: min(1340px, 100%);
  margin: 0 auto;
}

.linecard-head {
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 30px;
}

.linecard-head > * {
  flex: 1;
}

.linecard-head p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.7;
}

.linecard-controls {
  display: grid;
  grid-template-columns: minmax(260px, 420px) 1fr;
  gap: 18px;
  align-items: end;
  margin-bottom: 18px;
}

.linecard-controls label {
  display: grid;
  gap: 8px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.86rem;
  font-weight: 900;
}

.linecard-controls input {
  min-height: 50px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: var(--panel);
  background: rgba(255, 255, 255, 0.08);
  padding: 0 14px;
  font: inherit;
}

.linecard-controls input::placeholder {
  color: rgba(255, 255, 255, 0.46);
}

.filter-buttons {
  flex-wrap: wrap;
  gap: 8px;
}

.filter-button {
  min-height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.78);
  background: transparent;
  padding: 0 12px;
  cursor: pointer;
  font-weight: 900;
}

.filter-button.active {
  color: var(--ink);
  background: var(--lime);
  border-color: var(--lime);
}

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

.brand-card {
  min-height: 224px;
  padding: 22px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.brand-card.is-hidden {
  display: none;
}

.brand-card strong,
.brand-card span {
  display: block;
}

.brand-card strong {
  margin-bottom: 24px;
  font-size: 1.35rem;
}

.brand-card span {
  color: var(--cyan);
  font-size: 0.9rem;
  font-weight: 900;
}

.brand-card p {
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.55;
}

.solution-grid,
.metric-grid,
.download-grid {
  display: grid;
  gap: 12px;
}

.solution-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.solution-grid article,
.metric-grid article,
.download-grid a {
  background: var(--panel);
  border: 1px solid var(--line);
}

.solution-grid article {
  min-height: 218px;
  padding: 24px;
}

.solution-grid p {
  color: var(--muted);
  line-height: 1.58;
}

.residential-band {
  gap: clamp(28px, 5vw, 70px);
  align-items: stretch;
  padding: clamp(64px, 8vw, 104px) clamp(16px, 4vw, 56px);
  color: var(--panel);
  background: #07090d;
}

.residential-band > div {
  flex: 0 1 50%;
  align-self: center;
}

.residential-band p:not(.eyebrow) {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.7;
}

.residential-band img {
  flex: 1;
  min-width: 0;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.14);
}

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

.metric-grid article {
  min-height: 190px;
  padding: 26px;
}

.metric-grid strong {
  display: block;
  margin-bottom: 22px;
  color: var(--blue);
  font-family: Optima, "Avenir Next", sans-serif;
  font-size: 4.4rem;
  line-height: 0.9;
}

.metric-grid span {
  color: var(--muted);
  line-height: 1.5;
}

.downloads-band {
  width: min(1340px, calc(100% - 32px));
  margin: 0 auto;
  padding: 0 0 clamp(70px, 8vw, 110px);
}

.download-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.download-grid a {
  min-height: 138px;
  padding: 22px;
}

.download-grid strong,
.download-grid span {
  display: block;
}

.download-grid span {
  margin-top: 24px;
  color: var(--orange);
  font-weight: 900;
}

.contact-panel {
  width: min(1340px, calc(100% - 32px));
  margin: 0 auto 56px;
  justify-content: space-between;
  gap: 34px;
  padding: clamp(34px, 5vw, 60px);
  color: var(--panel);
  background:
    radial-gradient(circle at 86% 18%, rgba(0, 169, 214, 0.26), transparent 30%),
    var(--ink);
}

.contact-panel h2 {
  max-width: 760px;
}

.office-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 24px;
}

.office-grid span {
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.08);
  font-weight: 900;
}

.site-footer {
  justify-content: space-between;
  gap: 18px;
  padding: 26px clamp(16px, 4vw, 56px);
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.gateway-page {
  min-height: 100vh;
  color: var(--panel);
  background:
    radial-gradient(circle at 20% 18%, rgba(0, 169, 214, 0.22), transparent 28%),
    radial-gradient(circle at 78% 24%, rgba(255, 122, 26, 0.18), transparent 24%),
    linear-gradient(135deg, #07090d, #111820 58%, #05070a);
}

.gateway-header,
.res-header {
  display: flex;
  min-height: 82px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 clamp(16px, 4vw, 56px);
}

.gateway-brand {
  color: var(--panel);
}

.gateway-language {
  display: flex;
  gap: 8px;
}

.gateway-main {
  width: min(1320px, calc(100% - 32px));
  margin: 0 auto;
  padding: clamp(48px, 8vw, 104px) 0;
}

.gateway-hero {
  max-width: 920px;
  margin-bottom: clamp(34px, 6vw, 68px);
}

.gateway-hero p:not(.eyebrow) {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 1.15rem;
  line-height: 1.66;
}

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

.division-card {
  position: relative;
  min-height: 520px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: var(--shadow);
}

.division-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 400ms ease;
}

.division-card:hover::before {
  transform: scale(1.04);
}

.division-card::after {
  content: "";
  position: absolute;
  inset: 0;
}

.division-card > * {
  position: relative;
  z-index: 1;
}

.residential-card::before {
  background-image: url("./assets/luxury-spanish-cover.png");
}

.residential-card::after {
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.86), rgba(0, 0, 0, 0.18));
}

.av-card::before {
  background-image: url("./assets/av-uc-showroom.png");
}

.av-card::after {
  background: linear-gradient(0deg, rgba(4, 8, 14, 0.88), rgba(4, 8, 14, 0.2));
}

.division-card span {
  margin-bottom: 14px;
  color: var(--lime);
  font-weight: 900;
  text-transform: uppercase;
}

.division-card h2 {
  font-size: clamp(2.1rem, 4vw, 4.5rem);
}

.division-card p {
  max-width: 560px;
  color: rgba(255, 255, 255, 0.74);
  line-height: 1.6;
}

.division-card strong {
  margin-top: 18px;
  color: var(--cyan);
}

.residential-page {
  color: #f7f2e8;
  background: #050505;
}

.res-header {
  position: sticky;
  top: 0;
  z-index: 30;
  color: #f7f2e8;
  background: rgba(5, 5, 5, 0.86);
  border-bottom: 1px solid rgba(209, 169, 92, 0.22);
  backdrop-filter: blur(16px);
}

.res-mark {
  background: #d1a95c;
}

.res-nav {
  display: flex;
  gap: clamp(16px, 3vw, 34px);
  color: rgba(247, 242, 232, 0.72);
  font-weight: 800;
}

.res-nav a:hover {
  color: #f7f2e8;
}

.res-hero {
  min-height: calc(100vh - 82px);
  display: grid;
  align-items: end;
  padding: clamp(64px, 9vw, 126px) clamp(16px, 5vw, 72px);
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.82), rgba(0, 0, 0, 0.22)),
    url("./assets/luxury-cinema.png");
  background-size: cover;
  background-position: center;
}

.res-hero-copy {
  max-width: 960px;
}

.residential-page .eyebrow {
  color: #d1a95c;
}

.res-hero-copy p:not(.eyebrow),
.res-intro p,
.res-system-grid p,
.res-process li {
  color: rgba(247, 242, 232, 0.72);
  line-height: 1.68;
}

.residential-button {
  color: #050505;
  background: #d1a95c;
}

.residential-ghost {
  color: #f7f2e8;
  border: 1px solid rgba(209, 169, 92, 0.5);
}

.res-section,
.res-system-grid,
.res-process,
.res-contact {
  width: min(1240px, calc(100% - 32px));
  margin: 0 auto;
}

.res-section {
  padding: clamp(72px, 9vw, 130px) 0 34px;
}

.res-intro h2,
.res-process h2,
.res-contact h2 {
  max-width: 980px;
}

.res-intro p {
  max-width: 780px;
}

.res-system-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: rgba(209, 169, 92, 0.28);
  border: 1px solid rgba(209, 169, 92, 0.28);
}

.res-system-grid article {
  min-height: 260px;
  padding: 24px;
  background: #0c0c0c;
}

.res-system-grid span {
  display: block;
  margin-bottom: 42px;
  color: #d1a95c;
  font-weight: 900;
}

.res-gallery-section {
  width: min(1320px, calc(100% - 32px));
  margin: 0 auto;
  padding: clamp(78px, 9vw, 136px) 0 0;
}

.res-gallery-head {
  max-width: 980px;
  margin-bottom: 34px;
}

.res-gallery-head p:not(.eyebrow) {
  max-width: 780px;
  color: rgba(247, 242, 232, 0.72);
  line-height: 1.68;
}

.res-feature-showcase {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.65fr);
  gap: clamp(22px, 4vw, 48px);
  align-items: stretch;
  margin-bottom: 18px;
}

.pdf-feature,
.res-gallery-grid figure {
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(209, 169, 92, 0.26);
  background: #0c0c0c;
}

.pdf-feature {
  min-height: 560px;
}

.pdf-feature img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 58%;
}

.res-feature-copy {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid rgba(209, 169, 92, 0.26);
  background:
    linear-gradient(180deg, rgba(209, 169, 92, 0.08), transparent),
    #0c0c0c;
}

.res-feature-copy span {
  margin-bottom: auto;
  color: #d1a95c;
  font-weight: 900;
}

.res-feature-copy p,
.res-gallery-grid p {
  color: rgba(247, 242, 232, 0.72);
  line-height: 1.62;
}

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

.res-gallery-grid article {
  min-height: 430px;
  padding: 0 0 22px;
  border: 1px solid rgba(209, 169, 92, 0.22);
  background: #0c0c0c;
}

.res-gallery-grid figure {
  height: 270px;
  border-width: 0 0 1px;
}

.res-gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 58%;
}

.res-gallery-grid h3,
.res-gallery-grid p {
  padding-inline: 20px;
}

.res-gallery-grid h3 {
  margin-top: 20px;
}

.res-process {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(280px, 0.6fr);
  gap: clamp(28px, 5vw, 72px);
  padding: clamp(72px, 9vw, 130px) 0;
}

.res-process ol {
  margin: 0;
  padding-left: 22px;
}

.res-process li {
  padding: 14px 0;
  border-bottom: 1px solid rgba(209, 169, 92, 0.18);
}

.res-downloads {
  width: min(1240px, calc(100% - 32px));
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(300px, 0.8fr);
  gap: clamp(24px, 5vw, 72px);
  align-items: start;
  margin: 0 auto clamp(56px, 7vw, 92px);
  padding: clamp(28px, 5vw, 52px);
  border: 1px solid rgba(209, 169, 92, 0.28);
  background: #0c0c0c;
}

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

.res-download-grid a {
  min-height: 150px;
  padding: 20px;
  border: 1px solid rgba(209, 169, 92, 0.26);
  background: #050505;
}

.res-download-grid strong,
.res-download-grid span {
  display: block;
}

.res-download-grid span {
  margin-top: 26px;
  color: #d1a95c;
  font-weight: 900;
}

.res-contact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 56px;
  padding: clamp(28px, 5vw, 52px);
  border: 1px solid rgba(209, 169, 92, 0.28);
  background: linear-gradient(135deg, #111, #080808);
}

@media (max-width: 1120px) {
  .masthead {
    flex-wrap: wrap;
    padding-block: 14px;
  }

  .primary-nav {
    order: 3;
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .hero,
  .linecard-controls {
    grid-template-columns: 1fr;
  }

  .product-rail,
  .brand-grid,
  .solution-grid,
  .download-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .linecard-head,
  .residential-band,
  .contact-panel,
  .action-strip {
    flex-direction: column;
    align-items: stretch;
  }

  .action-strip a {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .division-grid,
  .res-process {
    grid-template-columns: 1fr;
  }

  .res-system-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .res-feature-showcase,
  .res-gallery-grid,
  .res-downloads {
    grid-template-columns: 1fr;
  }

  .pdf-feature {
    min-height: 420px;
  }
}

@media (max-width: 680px) {
  .utility-bar {
    align-items: flex-start;
    flex-direction: column;
    padding-block: 10px;
  }

  .quote-button {
    display: none;
  }

  .hero {
    padding-top: 48px;
  }

  h1 {
    font-size: clamp(2.7rem, 14vw, 4.6rem);
  }

  .hero-actions,
  .filter-buttons {
    align-items: stretch;
    flex-direction: column;
  }

  .button,
  .filter-button {
    width: 100%;
  }

  .product-rail,
  .brand-grid,
  .solution-grid,
  .metric-grid,
  .download-grid,
  .office-grid {
    grid-template-columns: 1fr;
  }

  .product-rail article,
  .brand-card,
  .solution-grid article,
  .metric-grid article {
    min-height: auto;
  }

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .gateway-header,
  .res-header,
  .res-contact {
    align-items: flex-start;
    flex-direction: column;
  }

  .res-nav {
    max-width: 100%;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .division-grid,
  .res-system-grid,
  .res-download-grid {
    grid-template-columns: 1fr;
  }

  .division-card {
    min-height: 420px;
  }
}
