:root {
  --bg: #eef2f4;
  --panel: #ffffff;
  --ink: #101820;
  --muted: #64717c;
  --line: #d7dee3;
  --teal: #0f766e;
  --red: #cf3d35;
  --navy: #172033;
  --soft: #f6f8f9;
  --shadow: 0 18px 44px rgba(16, 24, 32, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

button {
  font: inherit;
}

.gate {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(16, 24, 32, 0.78);
  backdrop-filter: blur(12px);
}

.gate[hidden] {
  display: none;
}

.gate-panel {
  width: min(480px, 100%);
  padding: 28px;
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.gate-panel span {
  display: inline-grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 8px;
  color: #fff;
  background: var(--red);
  font-size: 1.2rem;
  font-weight: 900;
}

.gate-panel h2 {
  margin: 18px 0 8px;
  font-size: clamp(2rem, 8vw, 3.2rem);
  line-height: 0.95;
  letter-spacing: 0;
}

.gate-panel p {
  margin: 0;
  color: var(--muted);
}

.gate-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.gate-actions button,
.gate-actions a,
.header-call,
.row-action {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border: 1px solid var(--red);
  border-radius: 6px;
  color: #fff;
  background: var(--red);
  font-size: 0.82rem;
  font-weight: 850;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  white-space: nowrap;
}

.gate-actions a {
  color: var(--red);
  background: transparent;
}

.shell-header {
  position: sticky;
  top: 0;
  z-index: 40;
  min-height: 74px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 22px;
  padding: 14px clamp(16px, 4vw, 46px);
  border-bottom: 1px solid var(--line);
  background: rgba(238, 242, 244, 0.9);
  backdrop-filter: blur(16px);
}

.mark {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.mark span {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  color: #fff;
  background: var(--teal);
  font-weight: 900;
}

.mark strong {
  font-size: 0.92rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.shell-header nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.shell-header nav a {
  padding: 10px 12px;
  color: var(--muted);
  border-radius: 6px;
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.shell-header nav a:hover {
  color: var(--ink);
  background: rgba(15, 118, 110, 0.08);
}

.layout {
  width: min(1420px, calc(100% - 28px));
  display: grid;
  grid-template-columns: minmax(280px, 380px) minmax(0, 1fr);
  gap: 18px;
  margin: 18px auto 0;
  align-items: start;
}

.side-panel,
.content-panel,
.intro-band,
.directory-row,
.local-copy,
.faq,
footer {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.side-panel {
  position: sticky;
  top: 92px;
  min-height: calc(100vh - 110px);
  padding: clamp(20px, 3vw, 34px);
  overflow: hidden;
}

.label {
  margin: 0 0 12px;
  color: var(--teal);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1 {
  font-size: clamp(3rem, 8vw, 5.8rem);
  line-height: 0.86;
  letter-spacing: 0;
}

h2 {
  font-size: clamp(1.7rem, 4vw, 3.2rem);
  line-height: 0.98;
  letter-spacing: 0;
}

h3 {
  font-size: clamp(1.35rem, 2.2vw, 2.05rem);
  line-height: 1;
}

.side-panel > p:not(.label),
.intro-band > p,
.directory-row p,
.copy-columns p,
.faq p,
footer p {
  color: var(--muted);
}

.side-panel > p:not(.label) {
  margin-top: 18px;
  font-size: 1rem;
}

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

.status-grid div {
  min-height: 88px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
}

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

.status-grid strong {
  font-size: 1.55rem;
  line-height: 1;
}

.status-grid span {
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 750;
}

.quick-areas {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.quick-areas h2 {
  grid-column: 1 / -1;
  margin-bottom: 4px;
  font-size: 1.1rem;
}

.quick-areas a,
.search-row span,
.row-tags span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--muted);
  background: var(--soft);
  font-size: 0.78rem;
  font-weight: 800;
  text-align: center;
}

.content-panel {
  padding: 14px;
}

.search-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-bottom: 14px;
}

.search-row span:first-child {
  color: #fff;
  border-color: var(--navy);
  background: var(--navy);
}

.intro-band {
  display: grid;
  grid-template-columns: minmax(220px, 0.75fr) minmax(0, 1fr);
  gap: 20px;
  align-items: end;
  padding: clamp(22px, 4vw, 42px);
  margin-bottom: 12px;
  background: #f9fbfb;
}

.directory {
  display: grid;
  gap: 10px;
}

.directory-row {
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr) minmax(130px, 180px) auto;
  gap: 16px;
  align-items: center;
  min-height: 150px;
  padding: 12px;
}

.directory-row img {
  width: 104px;
  height: 126px;
  display: block;
  border-radius: 6px;
  object-fit: cover;
  background: var(--soft);
}

.row-main {
  min-width: 0;
}

.row-main > span {
  display: block;
  margin-bottom: 7px;
  color: var(--teal);
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.row-main p {
  max-width: 680px;
  margin-top: 8px;
  font-size: 0.96rem;
}

.row-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.row-tags span {
  min-height: 32px;
  justify-content: flex-start;
}

.local-copy {
  display: grid;
  grid-template-columns: minmax(240px, 0.65fr) minmax(0, 1fr);
  gap: 24px;
  margin-top: 12px;
  padding: clamp(22px, 4vw, 40px);
  background: var(--navy);
  color: #fff;
}

.local-copy .label {
  color: #81e6d9;
}

.copy-columns {
  display: grid;
  gap: 16px;
}

.copy-columns p {
  color: rgba(255, 255, 255, 0.72);
}

.faq {
  display: grid;
  gap: 8px;
  margin-top: 12px;
  padding: clamp(22px, 4vw, 40px);
}

.faq h2 {
  margin-bottom: 8px;
}

details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
}

summary {
  min-height: 52px;
  padding: 14px 16px;
  cursor: pointer;
  font-weight: 850;
}

details p {
  padding: 0 16px 16px;
}

footer {
  width: min(1420px, calc(100% - 28px));
  margin: 14px auto 28px;
  padding: 18px;
  display: flex;
  justify-content: space-between;
  gap: 18px;
}

footer span {
  font-weight: 900;
}

@media (max-width: 1040px) {
  .layout {
    grid-template-columns: 1fr;
  }

  .side-panel {
    position: static;
    min-height: auto;
  }

  .directory-row {
    grid-template-columns: 92px minmax(0, 1fr) auto;
  }

  .row-tags {
    grid-column: 2 / -1;
  }

  .directory-row img {
    width: 92px;
    height: 118px;
  }
}

@media (max-width: 760px) {
  .shell-header {
    grid-template-columns: 1fr auto;
  }

  .shell-header nav {
    grid-column: 1 / -1;
    justify-content: flex-start;
    overflow-x: auto;
  }

  .layout,
  footer {
    width: min(100% - 16px, 1420px);
  }

  .intro-band,
  .local-copy {
    grid-template-columns: 1fr;
  }

  .directory-row {
    grid-template-columns: 86px minmax(0, 1fr);
    align-items: start;
  }

  .directory-row img {
    width: 86px;
    height: 112px;
  }

  .row-tags,
  .row-action {
    grid-column: 1 / -1;
  }

  .row-action {
    width: 100%;
  }

  .quick-areas,
  .status-grid {
    grid-template-columns: 1fr 1fr;
  }

  footer {
    flex-direction: column;
  }
}

@media (max-width: 420px) {
  .header-call {
    padding-inline: 10px;
    font-size: 0.72rem;
  }

  .mark strong {
    max-width: 130px;
  }

  .quick-areas,
  .status-grid {
    grid-template-columns: 1fr;
  }
}
