:root {
  --color-navy: #12213A;
  --color-ivory: #F4F0EA;
  --color-graphite: #2B2E34;
  --color-stone: #CFC8BD;
  --color-sand: #B8A58C;
  --color-white: #FBFAF7;
  --color-coral: #ED6648;
  --color-coral-dark: #C94A31;
  --color-border: rgba(18, 33, 58, 0.14);
  --color-border-soft: rgba(18, 33, 58, 0.08);
  --color-text-muted: rgba(43, 46, 52, 0.68);
  --radius-lg: 28px;
  --radius-md: 18px;
  --shadow-soft: 0 18px 60px rgba(18, 33, 58, 0.06);
  --font-heading: "Jost", ui-sans-serif, system-ui, sans-serif;
  --font-body: "Manrope", ui-sans-serif, system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--color-ivory);
  color: var(--color-graphite);
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  background: var(--color-ivory);
  color: var(--color-graphite);
  letter-spacing: 0;
}

a,
button {
  font: inherit;
}

.container {
  width: min(100% - 48px, 1240px);
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(244, 240, 234, 0.88);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--color-border-soft);
}

.header-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.logo-link {
  display: inline-flex;
  align-items: center;
  min-width: 178px;
}

.logo-link img {
  width: 184px;
  max-width: 100%;
  height: auto;
  display: block;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  font-family: var(--font-heading);
  color: var(--color-navy);
  font-size: 14px;
  font-weight: 500;
}

.site-nav a,
.breadcrumbs a,
.entity-card,
.footer-column a {
  color: inherit;
  text-decoration: none;
}

.button-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border-radius: 999px;
  padding: 0 22px;
  border: 1px solid var(--color-navy);
  background: var(--color-navy);
  color: var(--color-ivory);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.button-primary:disabled {
  cursor: wait;
  opacity: 0.62;
}

.mobile-menu {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  background: var(--color-white);
  color: var(--color-navy);
  align-items: center;
  justify-content: center;
  font-size: 22px;
}

.page {
  padding: 44px 0 72px;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
  color: rgba(43, 46, 52, 0.56);
  font-size: 14px;
}

.breadcrumbs span:not(:last-child)::after,
.breadcrumbs a:not(:last-child)::after {
  content: "/";
  margin-left: 10px;
  color: var(--color-stone);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 32px;
  align-items: end;
  padding: 44px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: var(--color-white);
  box-shadow: var(--shadow-soft);
}

.kicker {
  display: block;
  margin-bottom: 14px;
  font-family: var(--font-heading);
  font-size: 11px;
  line-height: 1.2;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--color-navy);
}

.hero h1 {
  margin: 0;
  font-family: var(--font-heading);
  font-size: 68px;
  line-height: 0.96;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--color-navy);
  overflow-wrap: anywhere;
}

.lead {
  max-width: 790px;
  margin: 22px 0 0;
  font-size: 20px;
  line-height: 1.55;
  color: rgba(43, 46, 52, 0.82);
}

.hero-side {
  display: grid;
  gap: 12px;
  width: 100%;
}

.hero-media {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--color-border-soft);
  border-radius: 24px;
  background: #FFFFFF;
}

.hero-media img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.hero-media figcaption {
  margin: 0;
  padding: 12px 14px;
  color: var(--color-text-muted);
  font-size: 13px;
  line-height: 1.45;
}

.lead-stack {
  display: grid;
  gap: 14px;
  max-width: 820px;
  margin-top: 22px;
}

.lead-stack p {
  margin: 0;
  font-size: 18px;
  line-height: 1.62;
  color: rgba(43, 46, 52, 0.82);
}

.summary-grid,
.entity-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 28px;
}

.summary-card,
.entity-card,
.empty-state {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-white);
  padding: 20px;
}

.summary-card span,
.entity-meta,
.entity-card p,
.empty-state p {
  color: var(--color-text-muted);
  font-size: 14px;
}

.summary-card strong {
  display: block;
  margin-top: 6px;
  color: var(--color-graphite);
  font-size: 18px;
  line-height: 1.3;
}

.fact-rich-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 28px;
}

.fact-rich {
  min-height: 150px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-white);
  padding: 20px;
  display: grid;
  align-content: start;
  gap: 8px;
}

.fact-rich span,
.fact-rich p {
  color: var(--color-text-muted);
  font-size: 14px;
  line-height: 1.45;
}

.fact-rich strong {
  color: var(--color-navy);
  font-family: var(--font-heading);
  font-size: 30px;
  line-height: 1.05;
  font-weight: 500;
}

.text-section {
  max-width: 900px;
}

.text-section p {
  margin: 0 0 16px;
  color: rgba(43, 46, 52, 0.82);
  font-size: 18px;
  line-height: 1.65;
}

.region-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  margin-top: 52px;
  border-radius: var(--radius-lg);
  padding: 34px;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-soft);
}

.region-cta h2 {
  margin: 0 0 10px;
  font-family: var(--font-heading);
  color: var(--color-navy);
  font-size: 36px;
  line-height: 1.05;
  font-weight: 500;
}

.region-cta p {
  max-width: 760px;
  margin: 0;
  color: var(--color-text-muted);
}

.region-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: flex-end;
}

.button-secondary-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border-radius: 999px;
  padding: 0 20px;
  border: 1px solid var(--color-border);
  color: var(--color-navy);
  background: #FFFFFF;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.lead-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 22px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: var(--color-white);
  padding: 24px;
  box-shadow: var(--shadow-soft);
}

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

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

.form-consents {
  grid-column: 1 / -1;
  display: grid;
  gap: 10px;
}

.form-checkbox {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  color: var(--color-graphite);
  font-size: 14px;
  line-height: 1.45;
}

.form-checkbox input {
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  accent-color: var(--color-navy);
}

.form-checkbox a {
  color: var(--color-navy);
  font-weight: 700;
}

.form-field label {
  color: var(--color-graphite);
  font-size: 14px;
  font-weight: 700;
}

.required-mark {
  color: #8B2F2F;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  border: 1px solid var(--color-border);
  border-radius: 14px;
  background: #FFFFFF;
  color: var(--color-graphite);
  font: inherit;
  font-size: 15px;
  line-height: 1.45;
  padding: 13px 14px;
}

.form-field textarea {
  min-height: 120px;
  resize: vertical;
}

.form-actions {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.form-status {
  color: var(--color-text-muted);
  font-size: 14px;
}

.text-page {
  max-width: 920px;
}

.text-page .section {
  margin-top: 28px;
}

.text-page .section:first-child {
  margin-top: 0;
}

.text-page h2 {
  margin-bottom: 14px;
}

.text-page h3 {
  margin: 26px 0 10px;
  color: var(--color-navy);
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 500;
  line-height: 1.18;
}

.text-page p,
.text-page li {
  color: var(--color-graphite);
  font-size: 16px;
  line-height: 1.7;
}

.text-page ul {
  display: grid;
  gap: 7px;
  margin: 12px 0 0;
  padding-left: 22px;
}

.text-page strong {
  color: var(--color-navy);
}

.hero-preview-grid {
  display: grid;
  gap: 12px;
}

.hero-preview-card {
  border: 1px solid var(--color-border-soft);
  border-radius: var(--radius-md);
  background: #FFFFFF;
  padding: 16px;
}

.hero-preview-card span {
  color: var(--color-text-muted);
  font-size: 13px;
}

.hero-preview-card strong {
  display: block;
  margin-top: 4px;
  color: var(--color-navy);
  font-family: var(--font-heading);
  font-size: 26px;
  line-height: 1.05;
  font-weight: 500;
}

.final-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  margin-top: 52px;
  border-radius: var(--radius-lg);
  padding: 34px;
  background: var(--color-navy);
  color: var(--color-ivory);
}

.final-cta h2 {
  margin: 0 0 10px;
  font-family: var(--font-heading);
  font-size: 36px;
  line-height: 1.05;
  font-weight: 500;
  color: var(--color-ivory);
}

.final-cta p {
  max-width: 760px;
  margin: 0;
  color: rgba(244, 240, 234, 0.76);
}

.final-cta .button-primary {
  border-color: var(--color-ivory);
  background: var(--color-ivory);
  color: var(--color-navy);
}

.final-cta .button-secondary-outline {
  border-color: rgba(244, 240, 234, 0.36);
  background: transparent;
  color: var(--color-ivory);
}

.section {
  margin-top: 48px;
}

.section h2 {
  margin: 0 0 18px;
  font-family: var(--font-heading);
  font-size: 36px;
  line-height: 1.05;
  font-weight: 500;
  color: var(--color-navy);
}

.entity-card {
  display: grid;
  gap: 12px;
  min-height: 190px;
}

.city-store-card,
.region-store-card {
  display: grid;
}

.city-store-card .entity-card,
.region-store-card .entity-card {
  height: 100%;
}

.city-store-card.is-hidden,
.region-store-card.is-hidden,
[data-city-directory-card].is-hidden,
.button-primary.is-hidden,
.quick-filter-reset.is-hidden {
  display: none;
}

.quick-filters-section {
  margin-top: 36px;
}

.quick-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
}

.quick-filter {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 17px;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  background: var(--color-white);
  color: var(--color-navy);
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  box-shadow: 0 10px 28px rgba(18, 33, 58, 0.04);
}

.quick-filter:hover {
  border-color: rgba(18, 33, 58, 0.28);
  background: #fff;
}

.quick-filter.is-active {
  background: var(--color-navy);
  border-color: var(--color-navy);
  color: var(--color-ivory);
  box-shadow: none;
}

.quick-filter-reset,
.quick-filter-reset:hover,
.quick-filter-reset.is-active {
  border-color: var(--color-coral);
  background: var(--color-coral);
  color: #fff;
  box-shadow: 0 10px 28px rgba(237, 102, 72, 0.22);
}

.quick-filter-reset:hover {
  border-color: var(--color-coral-dark);
  background: var(--color-coral-dark);
}

.entity-card h3 {
  margin: 0;
  font-family: var(--font-heading);
  color: var(--color-navy);
  font-size: 28px;
  line-height: 1.06;
  font-weight: 500;
}

.entity-card p {
  margin: 0;
}

.entity-card img {
  max-width: 120px;
  max-height: 56px;
  object-fit: contain;
}

.entity-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.entity-meta span {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  border-radius: 999px;
  padding: 0 10px;
  background: rgba(184, 165, 140, 0.22);
  color: var(--color-graphite);
  font-weight: 600;
}

.show-more-row {
  display: flex;
  justify-content: center;
  margin-top: 24px;
}

.link-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.text-link {
  color: var(--color-navy);
  font-weight: 700;
  text-underline-offset: 5px;
}

.empty-state {
  margin-top: 18px;
}

.cta-section,
.site-footer {
  background: var(--color-navy);
  color: var(--color-ivory);
}

.cta-section {
  margin-top: 52px;
  border-radius: var(--radius-lg);
  padding: 34px;
}

.cta-section h2,
.footer-cta h2,
.footer-column h2 {
  margin: 0;
  font-family: var(--font-heading);
  font-weight: 500;
  letter-spacing: 0;
  color: var(--color-ivory);
}

.cta-section h2,
.footer-cta h2 {
  font-size: 36px;
  line-height: 1.05;
}

.cta-section p,
.footer-cta p {
  max-width: 720px;
  color: rgba(244, 240, 234, 0.76);
}

.cta-section .button-primary,
.footer-cta .button-primary {
  border-color: var(--color-ivory);
  background: var(--color-ivory);
  color: var(--color-navy);
}

.site-footer {
  margin-top: 0;
}

.footer-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  padding: 36px 0;
  border-bottom: 1px solid rgba(244, 240, 234, 0.16);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
  padding: 38px 0 44px;
}

.footer-column h2 {
  margin-bottom: 14px;
  font-size: 18px;
  line-height: 1.2;
  font-weight: 600;
}

.footer-column ul {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-column a {
  color: rgba(244, 240, 234, 0.72);
  font-size: 14px;
}

@media (max-width: 1024px) {
  .site-header.is-menu-open .site-nav {
    display: flex;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    width: 100vw;
    margin: 0;
    padding: 14px 24px 18px;
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border-soft);
    background: var(--color-white);
    box-shadow: 0 18px 34px rgba(18, 33, 58, 0.08);
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
  }

  .site-header.is-menu-open .site-nav a {
    display: block;
    width: 100%;
    padding: 12px 0;
    text-align: left;
  }

  .site-nav,
  .header-inner > .button-primary {
    display: none;
  }

  .mobile-menu {
    display: inline-flex;
  }

  .hero,
  .footer-cta,
  .footer-grid,
  .region-cta,
  .final-cta {
    grid-template-columns: 1fr;
  }

  .summary-grid,
  .entity-grid,
  .fact-rich-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .region-cta-actions,
  .final-cta .region-cta-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 768px) {
  .container {
    width: min(100% - 32px, 1240px);
  }

  .page {
    padding-top: 28px;
  }

  .logo-link img {
    width: 154px;
  }

  .hero {
    padding: 24px;
  }

  .hero h1 {
    font-size: 46px;
  }

  .region-hero .hero-side {
    order: -1;
  }

  .lead {
    font-size: 18px;
  }

  .lead-stack p {
    font-size: 16px;
  }

  .summary-grid,
  .entity-grid,
  .fact-rich-grid,
  .lead-form {
    grid-template-columns: 1fr;
  }
}
