:root {
  --ink: #333f48;
  --ink-soft: #4e606f;
  --muted: #7b868c;
  --bg: #f4f7f8;
  --panel: #ffffff;
  --line: #d6e0e0;
  --blue: #007da5;
  --blue-bright: #00a9ce;
  --blue-dark: #333f48;
  --green: #007da5;
  --gold: #ffc72c;
  --gold-soft: #fff4d0;
  --teal-soft: #e5f6fa;
  --shadow: 0 18px 48px rgba(51, 63, 72, 0.14);
  --soft-shadow: 0 10px 26px rgba(51, 63, 72, 0.08);
  --cta-gradient: linear-gradient(135deg, #ffc72c, #ffd95a);
  --cta-hover-gradient: linear-gradient(135deg, #f8bb15, #ffc72c);
  --teal-gradient: linear-gradient(135deg, #007da5, #00a9ce);
  --pewter-gradient: linear-gradient(90deg, #333f48, #2b3b3b 58%, #007da5);
  --font-body: Inter, "Segoe UI", Arial, Helvetica, sans-serif;
  --font-display: Montserrat, Inter, "Segoe UI", Arial, Helvetica, sans-serif;
  --radius-control: 16px;
  --radius-card: 16px;
  --radius-panel: 20px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  letter-spacing: 0;
}

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

button {
  cursor: pointer;
}

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

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

a {
  color: inherit;
}

h1,
h2,
h3,
.plan-name,
.tour-card-body h2,
.tour-teaser strong,
.lead-step h2,
.thank-you-card h1,
.content-hero h1,
.section-heading h2 {
  font-family: var(--font-display);
  letter-spacing: -0.015em;
}

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

h1 {
  margin-bottom: 16px;
  font-size: clamp(44px, 8vw, 82px);
  line-height: 0.98;
}

h2 {
  margin-bottom: 12px;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.04;
}

h3 {
  margin: 0;
  font-size: 24px;
  line-height: 1.04;
}

p {
  line-height: 1.55;
}

.app-shell {
  min-height: 100vh;
}

.app-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  min-height: 74px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 12px clamp(16px, 3vw, 42px);
  background: var(--pewter-gradient);
  color: #fff;
  box-shadow: 0 10px 30px rgba(51, 63, 72, 0.18);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 46px;
  height: 46px;
  flex: 0 0 auto;
  place-items: center;
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  background: #fff;
  color: var(--blue-dark);
  font-size: 15px;
  font-weight: 950;
}

.brand-text {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.brand strong {
  overflow: hidden;
  font-size: 17px;
  font-weight: 950;
  line-height: 1.05;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.brand small {
  color: rgba(255, 255, 255, 0.8);
  font-size: 12px;
  font-weight: 800;
}

.desktop-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.desktop-nav a {
  border-radius: 14px;
  padding: 10px 13px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 14px;
  font-weight: 900;
  text-decoration: none;
}

.desktop-nav a:hover,
.desktop-nav a.is-active {
  background: rgba(255, 199, 44, 0.18);
  color: #fff;
}

.header-cta {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-control);
  padding: 0 18px;
  background: var(--gold);
  color: var(--ink);
  font-size: 14px;
  font-weight: 950;
  text-decoration: none;
  box-shadow: 0 10px 20px rgba(6, 27, 53, 0.14);
}

.header-call {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border: 1px solid rgba(51, 63, 72, 0.1);
  border-radius: var(--radius-control);
  padding: 0 16px;
  background: var(--cta-gradient);
  color: var(--ink);
  font-size: 14px;
  font-weight: 950;
  text-decoration: none;
  box-shadow: 0 10px 20px rgba(51, 63, 72, 0.14);
  white-space: nowrap;
}

.header-call:hover,
.header-call:focus-visible {
  background: var(--cta-hover-gradient);
}

.header-call-icon {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.35;
}

.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
  place-items: center;
  gap: 5px;
  border: 0;
  border-radius: var(--radius-control);
  background: #fff;
  box-shadow: 0 10px 20px rgba(6, 27, 53, 0.14);
}

.menu-toggle span {
  grid-area: 1 / 1;
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: var(--blue-dark);
  transition: transform 160ms ease, opacity 160ms ease;
}

.menu-toggle span:nth-child(1) {
  transform: translateY(-7px);
}

.menu-toggle span:nth-child(3) {
  transform: translateY(7px);
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: rotate(-45deg);
}

.mobile-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 16px;
  z-index: 40;
  display: grid;
  width: min(320px, calc(100vw - 32px));
  gap: 6px;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 8px;
  background: #061b35;
  box-shadow: var(--shadow);
}

.mobile-menu[hidden] {
  display: none;
}

.mobile-menu a {
  display: flex;
  min-height: 48px;
  align-items: center;
  justify-content: space-between;
  border-radius: 6px;
  padding: 0 14px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-weight: 900;
  text-decoration: none;
}

.mobile-menu a::after {
  content: ">";
  color: #83c8ff;
}

main {
  min-height: calc(100vh - 112px);
}

.screen {
  display: none;
  outline: none;
}

.screen.is-active {
  display: block;
}

.home-screen {
  padding: 0 0 70px;
}

.hero {
  position: relative;
  min-height: min(680px, calc(100svh - 140px));
  overflow: hidden;
  background: #061b35;
}

.hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(6, 27, 53, 0.86), rgba(6, 27, 53, 0.5) 45%, rgba(6, 27, 53, 0.2)),
    linear-gradient(180deg, rgba(6, 27, 53, 0.05), rgba(6, 27, 53, 0.82));
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  width: min(1120px, 100%);
  min-height: min(680px, calc(100svh - 140px));
  align-content: end;
  gap: 10px;
  margin: 0 auto;
  padding: 70px clamp(18px, 5vw, 58px) 58px;
  color: #fff;
}

.hero-inner p {
  margin: 0;
  color: var(--gold);
  font-size: 22px;
  font-weight: 900;
}

.hero-inner span {
  display: block;
  max-width: 680px;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(18px, 2.5vw, 27px);
  font-weight: 800;
  line-height: 1.22;
}

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

.button {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: var(--radius-control);
  padding: 0 24px;
  font-size: 15px;
  font-weight: 950;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
}

.button-primary {
  background: var(--cta-gradient);
  color: var(--ink);
  box-shadow: 0 14px 28px rgba(51, 63, 72, 0.18);
}

.button-secondary {
  border: 1px solid rgba(255, 255, 255, 0.48);
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
}

.button-secondary.light {
  border-color: var(--line);
  background: #fff;
  color: var(--ink);
}

.direct-band,
.manufacturer-band,
.featured-section,
.how-section {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.direct-band {
  display: grid;
  grid-template-columns: 1fr minmax(340px, 0.85fr);
  gap: 28px;
  align-items: center;
  padding: 42px 0 34px;
}

.section-kicker {
  margin: 0 0 8px;
  color: var(--green);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section-copy h2 {
  max-width: 780px;
  margin-bottom: 0;
}

.benefit-row {
  display: grid;
  gap: 8px;
}

.benefit-row span {
  display: flex;
  min-height: 52px;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 12px;
  background: #fff;
  color: var(--ink-soft);
  font-weight: 900;
  box-shadow: var(--soft-shadow);
}

.benefit-row b {
  display: grid;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  background: var(--gold-soft);
  color: var(--blue-dark);
  font-size: 14px;
}

.manufacturer-band {
  display: grid;
  justify-items: center;
  gap: 14px;
  padding: 18px 0 44px;
}

.manufacturer-logo {
  display: grid;
  width: min(360px, 100%);
  min-height: 76px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--soft-shadow);
}

.manufacturer-logo img {
  max-width: 120px;
  max-height: 42px;
  object-fit: contain;
}

.logo-word {
  position: relative;
  display: inline-grid;
  place-items: center;
  color: #4f5f67;
  font-size: 23px;
  font-weight: 950;
  letter-spacing: -0.02em;
  text-transform: lowercase;
}

.logo-word::before {
  content: "";
  position: absolute;
  top: -14px;
  width: 52px;
  height: 18px;
  background: linear-gradient(135deg, var(--gold) 0 50%, transparent 50%),
    linear-gradient(225deg, var(--gold) 0 50%, transparent 50%);
  background-position: left bottom, right bottom;
  background-repeat: no-repeat;
  background-size: 50% 100%;
}

.featured-section,
.how-section,
.catalog-screen,
.tours-screen,
.about-screen,
.contact-screen,
.floorplan-screen {
  padding: 46px 0;
}

.section-heading {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px 24px;
  align-items: end;
  margin-bottom: 20px;
}

.section-heading .section-kicker {
  grid-column: 1 / -1;
  margin-bottom: -4px;
}

.section-heading h2 {
  margin-bottom: 0;
}

.section-heading.compact {
  grid-template-columns: 1fr;
}

.text-link {
  align-self: center;
  border: 0;
  background: transparent;
  color: var(--blue);
  font-size: 14px;
  font-weight: 950;
  text-decoration: underline;
  text-underline-offset: 4px;
}

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

.floorplan-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--soft-shadow);
}

.card-media {
  position: relative;
  display: block;
  aspect-ratio: 1.45;
  overflow: hidden;
  background: #dce7f1;
  color: #fff;
  text-decoration: none;
}

.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 180ms ease;
}

.floorplan-card:hover .card-media img {
  transform: scale(1.025);
}

.card-media span {
  position: absolute;
  left: 10px;
  bottom: 10px;
  border-radius: 999px;
  padding: 7px 10px;
  background: rgba(6, 27, 53, 0.86);
  font-size: 12px;
  font-weight: 950;
}

.plan-card-body {
  display: grid;
  flex: 1;
  gap: 10px;
  padding: 16px;
}

.card-topline {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  color: var(--muted);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.card-topline b {
  border-radius: 999px;
  padding: 5px 8px;
  background: #e9f7ee;
  color: var(--green);
  font-size: 11px;
}

.plan-card-body small {
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
}

.spec-pills {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
}

.spec-pills span {
  min-width: 0;
  border: 1px solid #e4ebf2;
  border-radius: 6px;
  padding: 8px 6px;
  background: #f7fafc;
  color: var(--ink-soft);
  font-size: 12px;
  font-weight: 950;
  text-align: center;
}

.plan-card-body p {
  display: -webkit-box;
  min-height: 68px;
  overflow: hidden;
  margin: 0;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  color: var(--muted);
  font-size: 14px;
}

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

.card-link {
  display: grid;
  min-height: 44px;
  place-items: center;
  border-radius: 999px;
  background: var(--cta-gradient);
  color: var(--ink);
  font-size: 13px;
  font-weight: 950;
  text-align: center;
  text-decoration: none;
}

.card-link.secondary {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
}

.card-link.is-disabled {
  color: #93a1b2;
}

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

.how-step {
  display: grid;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
  background: #fff;
  box-shadow: var(--soft-shadow);
}

.how-step span {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  background: var(--gold);
  color: #332300;
  font-weight: 950;
}

.how-step strong {
  font-size: 20px;
}

.how-step p {
  margin: 0;
  color: var(--muted);
  font-weight: 700;
}

.catalog-screen,
.tours-screen,
.about-screen,
.contact-screen,
.floorplan-screen {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.catalog-hero,
.content-hero {
  display: grid;
  gap: 18px;
  align-items: end;
  margin-bottom: 24px;
  padding-top: 14px;
}

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

.catalog-hero h1,
.content-hero h1,
.detail-summary-card h1 {
  font-size: clamp(40px, 6vw, 64px);
}

.catalog-hero p,
.content-hero p {
  max-width: 780px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 18px;
  font-weight: 700;
}

.about-screen .content-hero {
  justify-items: center;
  text-align: center;
}

.about-screen .content-hero p {
  margin-right: auto;
  margin-left: auto;
}

.catalog-toolbar {
  display: grid;
  gap: 14px;
  margin-bottom: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
  background: #fff;
  box-shadow: var(--soft-shadow);
}

.search-field {
  display: grid;
  gap: 6px;
}

.search-field span,
.catalog-count {
  color: var(--muted);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.search-field input {
  width: 100%;
  min-height: 52px;
  border: 1px solid var(--line);
  border-radius: var(--radius-control);
  padding: 0 16px;
  background: #f7fafc;
  color: var(--ink);
  outline: none;
}

.search-field input:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(0, 125, 165, 0.14);
}

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

.filter-chip {
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: var(--radius-control);
  padding: 0 13px;
  background: #fff;
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 950;
}

.filter-chip.is-active {
  border-color: var(--blue);
  background: var(--blue);
  color: #fff;
}

.catalog-screen {
  width: min(1180px, 100%);
  padding: 0 0 70px;
}

.catalog-widget {
  min-height: calc(100vh - 112px);
  padding: 0 clamp(12px, 3vw, 28px) 60px;
  background:
    linear-gradient(180deg, #333f48 0 300px, #f4f7f8 300px 100%);
}

.catalog-widget-header {
  display: grid;
  min-height: 178px;
  align-content: center;
  justify-items: center;
  gap: 8px;
  width: min(980px, 100%);
  margin: 0 auto;
  padding: 16px 0 30px;
  color: #fff;
  text-align: center;
}

.catalog-widget-header .section-kicker {
  color: rgba(255, 255, 255, 0.82);
}

.catalog-widget-header h1 {
  max-width: 100%;
  margin-bottom: 0;
  font-size: clamp(30px, 6.2vw, 64px);
  line-height: 1.04;
  text-wrap: balance;
  white-space: nowrap;
}

.catalog-widget-header p {
  max-width: 640px;
  margin: 0 0 12px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 17px;
  font-weight: 800;
}

.catalog-widget .catalog-toolbar {
  width: min(960px, 100%);
  margin: -10px auto 16px;
  gap: 12px;
  border: 1px solid rgba(191, 210, 226, 0.8);
  border-radius: var(--radius-panel);
  padding: 16px;
  background: rgba(248, 251, 255, 0.98);
  box-shadow: 0 18px 40px rgba(6, 27, 53, 0.14);
}

.catalog-primary-controls {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
}

.search-pill {
  position: relative;
}

.search-pill input {
  min-height: 54px;
  border-radius: var(--radius-control);
  padding: 0 18px;
  background: #fff;
  font-weight: 800;
}

.sort-button,
.filter-more,
.select-filter select {
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius-control);
  background: #fff;
  color: var(--ink);
  font-size: 14px;
  font-weight: 950;
}

.sort-button {
  min-width: 104px;
  padding: 0 18px;
  box-shadow: 0 10px 22px rgba(6, 27, 53, 0.08);
}

.sort-control {
  position: relative;
  z-index: 6;
}

.sort-button[aria-expanded="true"] {
  border-color: rgba(0, 125, 165, 0.34);
  background: var(--teal-soft);
  color: var(--blue-dark);
}

.sort-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 8;
  display: grid;
  width: min(220px, calc(100vw - 36px));
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 18px 36px rgba(6, 27, 53, 0.2);
}

.sort-menu[hidden] {
  display: none;
}

.sort-menu button {
  min-height: 36px;
  border: 0;
  border-bottom: 1px solid #edf2f7;
  padding: 0 14px;
  background: #fff;
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
  text-align: left;
}

.sort-menu button:last-child {
  border-bottom: 0;
}

.sort-menu button:hover,
.sort-menu button.is-active {
  background: var(--teal-soft);
  color: var(--blue-dark);
}

.compact-filters {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, max-content));
  gap: 8px;
}

.select-filter {
  display: grid;
  min-width: 0;
}

.select-filter select {
  width: 100%;
  min-width: 126px;
  padding: 0 34px 0 14px;
  appearance: none;
  background:
    linear-gradient(45deg, transparent 50%, var(--ink-soft) 50%) calc(100% - 17px) 50% / 6px 6px no-repeat,
    linear-gradient(135deg, var(--ink-soft) 50%, transparent 50%) calc(100% - 12px) 50% / 6px 6px no-repeat,
    #fff;
}

.filter-more {
  padding: 0 16px;
}

.filter-more[aria-expanded="true"] {
  border-color: var(--blue);
  background: var(--blue);
  color: #fff;
}

.advanced-filter-panel[hidden] {
  display: none;
}

.advanced-filter-panel {
  display: grid;
  gap: 14px;
  border-top: 1px solid var(--line);
  padding-top: 14px;
}

.advanced-filter-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 14px;
  align-items: end;
  border-radius: var(--radius-panel);
  padding: 18px;
  background: #fff;
}

.labeled-filter {
  gap: 7px;
}

.labeled-filter > span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 950;
}

.clear-filters {
  min-height: 44px;
  border: 0;
  border-radius: var(--radius-control);
  background: #e8edf5;
  color: var(--ink);
  font-size: 14px;
  font-weight: 950;
}

.series-filter-panel {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.catalog-widget .catalog-count {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.catalog-widget .catalog-grid {
  width: min(960px, 100%);
  margin: 0 auto;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.catalog-plan-card {
  overflow: hidden;
  border: 0;
  border-radius: var(--radius-card);
  background: #fff;
  box-shadow: 0 16px 34px rgba(6, 27, 53, 0.14);
}

.catalog-plan-card .card-media {
  aspect-ratio: 1.12;
  background: #fff;
}

.catalog-plan-card .card-media img {
  padding: 10px;
  object-fit: contain;
}

.catalog-plan-card .plan-badge {
  top: 9px;
  left: 9px;
  right: auto;
  bottom: auto;
}

.catalog-plan-card .plan-card-body {
  gap: 5px;
  padding: 9px 10px 10px;
  text-align: center;
}

.catalog-plan-card .plan-card-body p {
  display: block;
  min-height: 0;
  overflow: visible;
  -webkit-line-clamp: unset;
}

.catalog-plan-card h3 {
  display: -webkit-box;
  min-height: 38px;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  font-size: 19px;
  line-height: 1.08;
}

.card-spec-line,
.card-price {
  margin: 0;
  line-height: 1.15;
}

.card-spec-line {
  color: var(--muted);
  font-size: 14px;
  font-weight: 850;
}

.card-spec-line span {
  color: var(--ink-soft);
}

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

.card-price span {
  color: var(--ink);
  font-size: 12px;
  font-weight: 950;
}

.card-price strong {
  color: var(--green);
  font-size: 18px;
  font-weight: 950;
  line-height: 1.05;
}

.catalog-plan-card .card-link {
  min-height: 38px;
  margin-top: 4px;
  border-radius: var(--radius-control);
  font-size: 14px;
}

.load-more-button {
  display: grid;
  width: min(280px, 100%);
  min-height: 48px;
  place-items: center;
  margin: 22px auto 0;
  border: 0;
  border-radius: var(--radius-control);
  background: var(--cta-gradient);
  color: var(--ink);
  font-weight: 950;
  box-shadow: 0 16px 28px rgba(51, 63, 72, 0.18);
}

.load-more-button[hidden] {
  display: none;
}

.catalog-count {
  margin: 0;
}

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

.tours-widget {
  display: grid;
  gap: 20px;
}

.tours-hero {
  display: grid;
  max-width: 820px;
  gap: 10px;
  margin: 0 auto;
  padding-top: 14px;
  text-align: center;
}

.tours-hero h1 {
  margin: 0;
  font-size: clamp(44px, 7vw, 72px);
  line-height: 0.96;
}

.tours-hero p {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  font-weight: 800;
}

.tours-toolbar {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) minmax(180px, 230px) minmax(190px, 240px);
  gap: 12px;
  align-items: end;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
  background: #fff;
  box-shadow: var(--soft-shadow);
}

.tour-search-field,
.tour-select-filter {
  display: grid;
  gap: 7px;
}

.tour-select-filter span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
}

.tour-search-field input,
.tour-select-filter select {
  width: 100%;
  min-height: 52px;
  border: 1px solid #cbd7e4;
  border-radius: var(--radius-control);
  padding: 0 18px;
  background: #f7fafc;
  color: var(--ink);
  font-size: 16px;
  font-weight: 800;
}

.tour-search-field input:focus,
.tour-select-filter select:focus {
  outline: 3px solid rgba(29, 147, 255, 0.24);
  outline-offset: 2px;
  border-color: var(--blue-bright);
}

.tour-count {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

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

.tour-card {
  display: grid;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: #fff;
  box-shadow: var(--soft-shadow);
}

.tour-card-media {
  position: relative;
  aspect-ratio: 1.45;
  overflow: hidden;
  background: #dce7f1;
}

.tour-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tour-card-media span {
  position: absolute;
  left: 12px;
  bottom: 12px;
  border-radius: 999px;
  padding: 8px 12px;
  background: rgba(6, 27, 53, 0.88);
  color: #fff;
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.tour-card-body {
  display: grid;
  gap: 12px;
  padding: 18px;
}

.tour-card-body p {
  margin: 0;
  color: var(--green);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.tour-card-body h2 {
  margin: 0;
  font-size: 27px;
  line-height: 1.06;
}

.tour-spec-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.tour-spec-row span {
  min-height: 42px;
  border: 1px solid #e4ebf2;
  border-radius: 8px;
  padding: 9px 6px;
  background: #f7fafc;
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 950;
  text-align: center;
}

.tour-card-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.tour-card-link {
  display: grid;
  min-height: 48px;
  place-items: center;
  border-radius: var(--radius-control);
  font-size: 14px;
  font-weight: 950;
  text-align: center;
  text-decoration: none;
  border: 0;
  background: var(--cta-gradient);
  color: var(--ink);
}

.empty-state {
  grid-column: 1 / -1;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 28px;
  background: #fff;
  box-shadow: var(--soft-shadow);
}

.back-link {
  display: inline-flex;
  margin: 4px 0 18px;
  color: var(--blue);
  font-size: 14px;
  font-weight: 950;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.route-note {
  margin-bottom: 12px;
  border: 1px solid #ffe2a5;
  border-radius: 8px;
  padding: 12px;
  background: #fff7e3;
  color: #6d4b00;
  font-weight: 800;
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
  gap: 22px;
  align-items: start;
}

.detail-media-card,
.detail-summary-card,
.feature-panel,
.factory-benefit-panel,
.photo-section,
.tour-section,
.about-card,
.team-card,
.lead-card,
.form-map {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--soft-shadow);
}

.detail-media-card {
  position: sticky;
  top: 136px;
  overflow: hidden;
}

.detail-media-card img {
  width: 100%;
  min-height: 360px;
  background: #edf3f8;
  object-fit: contain;
}

.detail-media-card span {
  position: absolute;
  left: 14px;
  bottom: 14px;
  border-radius: 999px;
  padding: 8px 12px;
  background: rgba(6, 27, 53, 0.86);
  color: #fff;
  font-size: 13px;
  font-weight: 950;
}

.detail-summary-card {
  display: grid;
  gap: 16px;
  padding: 22px;
}

.detail-summary-card h1 {
  margin-bottom: 0;
}

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

.price-row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 16px 0;
}

.price-row span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 950;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.price-row strong {
  color: var(--green);
  font-size: 28px;
  line-height: 1;
}

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

.detail-specs div {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 8px;
  background: #f7fafc;
  text-align: center;
}

.detail-specs span,
.detail-specs strong {
  display: block;
}

.detail-specs span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.detail-specs strong {
  margin-top: 4px;
  font-size: 18px;
}

.more-details {
  border-top: 1px solid var(--line);
  padding-top: 4px;
}

.more-details summary {
  min-height: 42px;
  cursor: pointer;
  font-weight: 950;
  list-style: none;
}

.more-details summary::-webkit-details-marker {
  display: none;
}

.more-details p {
  margin: 0;
  color: var(--muted);
  font-weight: 700;
}

.feature-panel,
.factory-benefit-panel,
.photo-section,
.tour-section {
  margin-top: 22px;
  padding: 22px;
}

.feature-panel {
  display: grid;
  grid-template-columns: 1fr minmax(300px, 0.9fr);
  gap: 24px;
  align-items: center;
  background: linear-gradient(135deg, #ffffff, var(--teal-soft));
}

.feature-panel h2 {
  margin-bottom: 0;
}

.feature-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.feature-chips span {
  border-radius: 999px;
  padding: 9px 12px;
  background: #fff;
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 950;
  box-shadow: inset 0 0 0 1px var(--line);
}

.factory-benefit-panel {
  display: grid;
  gap: 22px;
  border-radius: var(--radius-panel);
  background: #fff;
  text-align: center;
}

.factory-benefit-panel h2 {
  margin: 0;
  font-size: clamp(19px, 4vw, 28px);
  line-height: 1.1;
}

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

.factory-benefit-card {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  border: 1px solid #cad8de;
  border-radius: 8px;
  padding: 10px 12px;
  background: #f4f7f8;
  text-align: left;
}

.factory-benefit-card strong {
  color: var(--ink);
  font-size: 14px;
  line-height: 1.1;
}

.benefit-icon {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
}

.benefit-icon svg {
  width: 34px;
  height: 34px;
}

.warranty-icon circle,
.warranty-icon path {
  fill: none;
  stroke: var(--blue);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.energy-icon rect,
.energy-icon path {
  fill: var(--blue);
  stroke: var(--blue);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.energy-icon path {
  fill: #fff;
  stroke: #fff;
}

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

.photo-tile {
  display: block;
  overflow: hidden;
  width: 100%;
  border: 0;
  border-radius: 8px;
  padding: 0;
  aspect-ratio: 1.35;
  background: #dce7f1;
  cursor: pointer;
}

.photo-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 180ms ease;
}

.photo-tile:hover img {
  transform: scale(1.025);
}

.tour-frame {
  overflow: hidden;
  border-radius: 8px;
  aspect-ratio: 16 / 9;
  background: #061b35;
}

.tour-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.no-tour {
  background: #fff;
}

body.lightbox-open {
  overflow: hidden;
}

body.tour-modal-open {
  overflow: hidden;
}

.lightbox-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(6, 27, 53, 0.88);
}

.lightbox-overlay[hidden] {
  display: none;
}

.lightbox-dialog {
  position: relative;
  display: grid;
  width: min(100%, 1100px);
  max-height: calc(100vh - 48px);
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  border-radius: 10px;
  padding: 52px 18px 18px;
  background: #fff;
}

.lightbox-close {
  position: absolute;
  top: 12px;
  right: 12px;
  min-height: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius-control);
  padding: 0 14px;
  background: #fff;
  color: var(--ink);
  font-size: 13px;
  font-weight: 950;
}

.lightbox-nav {
  display: grid;
  min-width: 62px;
  min-height: 48px;
  place-items: center;
  border: 0;
  border-radius: var(--radius-control);
  background: var(--cta-gradient);
  color: var(--ink);
  font-size: 13px;
  font-weight: 950;
}

.lightbox-figure {
  display: grid;
  min-width: 0;
  gap: 10px;
  margin: 0;
}

.lightbox-figure img {
  width: 100%;
  max-height: min(68vh, 680px);
  object-fit: contain;
  background: #edf3f8;
}

.lightbox-figure figcaption {
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
  text-align: center;
}

.lightbox-thumbs {
  display: flex;
  grid-column: 1 / -1;
  gap: 8px;
  overflow-x: auto;
  padding-top: 4px;
}

.lightbox-thumbs button {
  width: 84px;
  height: 58px;
  flex: 0 0 auto;
  overflow: hidden;
  border: 2px solid transparent;
  border-radius: 6px;
  padding: 0;
  background: #edf3f8;
}

.lightbox-thumbs button.is-active {
  border-color: var(--blue);
}

.lightbox-thumbs img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tour-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 110;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(6, 27, 53, 0.88);
}

.tour-modal-overlay[hidden] {
  display: none;
}

.tour-modal-dialog {
  display: grid;
  width: min(100%, 1120px);
  max-height: calc(100vh - 40px);
  gap: 14px;
  overflow: auto;
  border-radius: 8px;
  padding: 16px;
  background: #fff;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.34);
}

.tour-modal-close {
  justify-self: end;
  min-width: 92px;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: var(--radius-control);
  background: #fff;
  color: var(--ink);
  font-size: 14px;
  font-weight: 950;
}

.tour-modal-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: end;
}

.tour-modal-header p {
  margin: 0 0 4px;
  color: var(--green);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.tour-modal-header h2 {
  margin: 0;
  font-size: clamp(28px, 5vw, 46px);
  line-height: 1;
}

.tour-modal-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.tour-modal-specs span {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 9px 12px;
  background: #f7fafc;
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 950;
}

.tour-modal-frame {
  overflow: hidden;
  border-radius: 8px;
  aspect-ratio: 16 / 9;
  background: #061b35;
}

.tour-modal-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

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

.tour-modal-action {
  display: grid;
  min-height: 50px;
  place-items: center;
  border-radius: var(--radius-control);
  background: var(--cta-gradient);
  color: var(--ink);
  font-size: 14px;
  font-weight: 950;
  text-align: center;
  text-decoration: none;
}

.tour-modal-action.secondary {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
}

.floorplan-detail-shell {
  width: min(760px, 100%);
  margin: 0 auto;
}

.skyline-detail-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-panel);
  background: #fff;
  box-shadow: 0 18px 44px rgba(6, 27, 53, 0.14);
}

.skyline-detail-card .detail-media-card,
.skyline-detail-card .detail-summary-card {
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.skyline-detail-card .detail-media-card {
  position: relative;
  top: auto;
  display: grid;
  min-height: 310px;
  place-items: center;
  padding: 28px;
  background: linear-gradient(180deg, #f7fbff, #eef5fb);
}

.skyline-detail-card .detail-media-card img {
  width: 100%;
  max-height: 360px;
  min-height: 0;
  object-fit: contain;
}

.skyline-detail-card .photo-count-chip {
  position: absolute;
  right: 18px;
  bottom: 18px;
  left: auto;
  display: grid;
  grid-template-columns: 56px auto;
  gap: 8px;
  align-items: center;
  border-radius: 11px;
  padding: 7px 10px;
  border: 0;
  background: rgba(6, 27, 53, 0.76);
  color: #fff;
  cursor: pointer;
}

.skyline-detail-card .photo-count-chip img {
  width: 56px;
  height: 36px;
  min-height: 0;
  border-radius: 6px;
  object-fit: cover;
}

.skyline-detail-card .photo-count-chip b {
  font-size: 13px;
  line-height: 1.1;
}

.skyline-detail-card .detail-summary-card {
  justify-items: center;
  padding: 28px clamp(18px, 4vw, 42px) 30px;
  text-align: center;
}

.skyline-detail-card .detail-summary-card h1 {
  margin-bottom: 0;
  font-size: clamp(36px, 6vw, 52px);
  line-height: 1.04;
}

.skyline-actions {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.quote-pill {
  display: inline-grid;
  min-width: 166px;
  min-height: 54px;
  place-items: center;
  border: 0;
  border-radius: var(--radius-control);
  padding: 12px 26px;
  background: var(--cta-gradient);
  color: var(--ink);
  font-size: 14px;
  font-weight: 950;
  line-height: 1.15;
  text-transform: uppercase;
  box-shadow: 0 16px 30px rgba(51, 63, 72, 0.18);
  cursor: pointer;
}

.skyline-detail-card .price-row {
  display: grid;
  width: 100%;
  justify-content: center;
  gap: 4px;
  border-top: 0;
  padding-top: 10px;
  text-align: center;
}

.skyline-detail-card .price-row strong {
  font-size: clamp(30px, 6vw, 44px);
}

.detail-spec-row {
  display: grid;
  width: 100%;
  grid-template-columns: minmax(0, 1fr) minmax(104px, auto);
  align-items: stretch;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.skyline-detail-card .detail-specs {
  width: 100%;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border: 0;
  padding: 12px 0;
}

.skyline-detail-card .detail-specs div {
  border: 0;
  border-right: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
}

.skyline-detail-card .detail-specs div:last-child {
  border-right: 0;
}

.plan-more-details {
  min-width: 112px;
  border-left: 1px solid var(--line);
}

.plan-more-details summary {
  display: flex;
  min-height: 100%;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 12px 10px;
  color: var(--blue);
  font-size: 14px;
  font-weight: 950;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
  list-style: none;
}

.plan-more-details summary::-webkit-details-marker {
  display: none;
}

.plan-more-details .less-text {
  display: none;
}

.plan-more-details[open] {
  display: grid;
  grid-column: 1 / -1;
  border-top: 1px solid var(--line);
  border-left: 0;
}

.plan-more-details[open] summary {
  min-height: 38px;
  order: 2;
  padding: 8px 10px 12px;
}

.plan-more-details[open] .more-detail-grid {
  order: 1;
}

.plan-more-details[open] .more-text {
  display: none;
}

.plan-more-details[open] .less-text {
  display: inline;
}

.summary-caret {
  width: 0;
  height: 0;
  border-right: 4px solid transparent;
  border-left: 4px solid transparent;
  border-top: 5px solid currentColor;
}

.plan-more-details[open] .summary-caret {
  border-top: 0;
  border-bottom: 5px solid currentColor;
}

.more-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  padding: 14px 0 2px;
}

.more-detail-item {
  display: grid;
  gap: 4px;
  border-right: 1px solid var(--line);
  padding: 0 16px 14px;
  text-align: left;
}

.more-detail-item:nth-child(2n) {
  border-right: 0;
}

.more-detail-item span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.more-detail-item strong {
  color: var(--ink);
  font-size: clamp(19px, 4vw, 24px);
  line-height: 1.05;
}

.skyline-detail-card .more-details {
  width: 100%;
  border-top: 0;
  padding-top: 0;
}

.skyline-detail-card .more-details summary {
  min-height: 32px;
  color: var(--blue);
  font-size: 14px;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.skyline-detail-card .more-details p {
  border-top: 1px solid var(--line);
  padding-top: 12px;
  text-align: left;
}

.skyline-feature-panel {
  border-radius: var(--radius-panel);
  text-align: center;
}

.about-card,
.lead-card,
.form-map {
  margin-top: 18px;
  padding: 22px;
}

.about-screen .about-card {
  text-align: center;
}

.about-screen .about-card p {
  width: min(100%, 780px);
  margin-right: auto;
  margin-left: auto;
}

.about-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-weight: 700;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.team-card {
  display: grid;
  gap: 12px;
  padding: 12px;
}

.team-card img {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 6px;
  object-fit: cover;
  object-position: top center;
  background: #dce7f1;
}

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

.team-card strong {
  font-size: 18px;
}

.team-card span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
}

.about-location-card {
  display: grid;
  justify-items: center;
  gap: 10px;
  margin-top: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-panel);
  padding: 24px;
  background: #fff;
  text-align: center;
  box-shadow: var(--soft-shadow);
}

.about-location-card h2 {
  margin: 0;
  font-size: clamp(24px, 4vw, 34px);
}

.about-location-card address {
  margin: 0;
  color: var(--muted);
  font-style: normal;
  font-weight: 850;
  line-height: 1.45;
}

.lead-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  align-items: center;
}

.lead-phone {
  display: grid;
  gap: 4px;
}

.lead-phone span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 950;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.lead-phone strong {
  font-size: clamp(30px, 4vw, 42px);
  line-height: 1;
}

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

.field-pill {
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 12px;
  background: #f7fafc;
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 950;
}

@media (max-width: 1040px) {
  .floorplan-grid,
  .catalog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .detail-layout {
    grid-template-columns: 1fr;
  }

  .detail-media-card {
    position: relative;
    top: auto;
  }

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

@media (max-width: 760px) {
  .app-header {
    top: 0;
    min-height: 70px;
    padding: 11px 14px;
  }

  .desktop-nav,
  .header-cta {
    display: none;
  }

  .header-call {
    margin-left: auto;
  }

  .menu-toggle {
    display: inline-grid;
    gap: 4px;
  }

  .brand {
    gap: 10px;
  }

  .brand strong {
    font-size: 16px;
  }

  .brand small {
    display: none;
  }

  .hero {
    min-height: min(650px, calc(100svh - 150px));
  }

  .hero-inner {
    min-height: min(650px, calc(100svh - 150px));
    padding: 46px 20px 42px;
  }

  .hero-shade {
    background:
      linear-gradient(180deg, rgba(6, 27, 53, 0.18), rgba(6, 27, 53, 0.88)),
      linear-gradient(90deg, rgba(6, 27, 53, 0.72), rgba(6, 27, 53, 0.26));
  }

  .hero-actions,
  .detail-actions,
  .lead-actions {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
  }

  .button {
    width: 100%;
  }

  .direct-band,
  .feature-panel,
  .lead-card,
  .catalog-hero {
    grid-template-columns: 1fr;
  }

  .direct-band {
    padding-top: 32px;
  }

  .section-heading {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .how-grid,
  .floorplan-grid,
  .catalog-grid,
  .photo-grid,
  .field-grid {
    grid-template-columns: 1fr;
  }

  .catalog-screen,
  .tours-screen,
  .about-screen,
  .contact-screen,
  .floorplan-screen,
  .direct-band,
  .manufacturer-band,
  .featured-section,
  .how-section {
    width: min(100% - 28px, 1180px);
  }

  .catalog-hero,
  .content-hero,
  .tours-hero {
    padding-top: 4px;
  }

  .catalog-hero h1,
  .content-hero h1,
  .detail-summary-card h1 {
    font-size: clamp(36px, 12vw, 54px);
  }

  .detail-media-card img {
    min-height: 250px;
  }

  .detail-layout {
    gap: 0;
  }

  .detail-media-card {
    border-bottom: 0;
    border-radius: 8px 8px 0 0;
  }

  .detail-summary-card {
    border-top: 0;
    border-radius: 0 0 8px 8px;
  }

  .detail-summary-card > .section-kicker,
  .detail-summary-card h1 {
    text-align: center;
  }

  .detail-summary-card h1 {
    font-size: clamp(34px, 10vw, 46px);
    line-height: 1;
  }

  .detail-summary-card,
  .feature-panel,
  .factory-benefit-panel,
  .photo-section,
  .tour-section,
  .about-card,
  .about-location-card,
  .lead-card,
  .form-map {
    padding: 18px;
  }

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

  .tours-toolbar,
  .tour-modal-header,
  .tour-modal-actions {
    grid-template-columns: 1fr;
  }

  .tours-widget {
    gap: 14px;
  }

  .tours-screen {
    padding-top: 28px;
  }

  .tours-toolbar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    padding: 12px;
  }

  .tour-search-field {
    grid-column: 1 / -1;
  }

  .tour-search-field input,
  .tour-select-filter select {
    min-height: 46px;
    padding: 0 13px;
    font-size: 13px;
  }

  .tour-select-filter span {
    font-size: 11px;
  }

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

  .tour-card {
    border-radius: var(--radius-card);
  }

  .tour-card-media {
    aspect-ratio: 1.22;
  }

  .tour-card-media span {
    left: 7px;
    bottom: 7px;
    padding: 5px 7px;
    font-size: 9px;
  }

  .tour-card-body {
    gap: 7px;
    padding: 9px;
  }

  .tour-card-body p {
    display: none;
  }

  .tour-card-body h2 {
    min-height: 36px;
    font-size: 15px;
    line-height: 1.08;
  }

  .tour-spec-row {
    display: flex;
    flex-wrap: wrap;
    gap: 3px 6px;
  }

  .tour-spec-row span {
    min-height: 0;
    border: 0;
    border-radius: 0;
    padding: 0;
    background: transparent;
    color: var(--muted);
    font-size: 10px;
    line-height: 1.05;
    text-align: left;
    white-space: nowrap;
  }

  .tour-card-actions {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .tour-card-link {
    min-height: 40px;
    border-radius: var(--radius-control);
    font-size: 11px;
    line-height: 1.1;
  }

  .tours-hero {
    text-align: left;
  }

  .tours-hero h1 {
    font-size: clamp(34px, 11vw, 48px);
  }

  .tours-hero p {
    font-size: 14px;
    line-height: 1.35;
  }

  .tour-modal-overlay {
    padding: 10px;
  }

  .tour-modal-dialog {
    max-height: calc(100vh - 20px);
    padding: 12px;
  }

  .tour-modal-specs {
    justify-content: flex-start;
  }

  .tour-modal-frame {
    aspect-ratio: 4 / 3;
  }
}

@media (max-width: 420px) {
  .brand-mark {
    width: 42px;
    height: 42px;
    font-size: 13px;
  }

  .brand strong {
    max-width: 210px;
    font-size: 15px;
  }

  .menu-toggle {
    width: 46px;
    height: 46px;
  }

  h1 {
    font-size: clamp(38px, 13vw, 50px);
  }

  .spec-pills {
    grid-template-columns: 1fr;
  }

  .card-actions {
    grid-template-columns: 1fr;
  }

  .photo-grid {
    gap: 8px;
  }
}

body[data-active-screen="home"] {
  background:
    radial-gradient(circle at top left, rgba(0, 125, 165, 0.16), transparent 34rem),
    linear-gradient(180deg, #ffffff 0%, var(--bg) 44%, #eef4fb 100%);
}

body[data-active-screen="home"] .app-header {
  top: 0;
  min-height: 70px;
  padding: 10px 14px;
  border-bottom: 1px solid rgba(219, 228, 240, 0.9);
  background: rgba(255, 255, 255, 0.93);
  color: var(--ink);
  box-shadow: none;
  backdrop-filter: blur(18px);
}

body[data-active-screen="home"] .brand {
  gap: 10px;
}

body[data-active-screen="home"] .brand-mark {
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--ink), var(--blue));
  color: #fff;
  font-weight: 900;
}

body[data-active-screen="home"] .brand small {
  color: var(--muted);
}

body[data-active-screen="home"] .desktop-nav {
  display: flex;
}

body[data-active-screen="home"] .desktop-nav a {
  color: var(--ink-soft);
}

body[data-active-screen="home"] .desktop-nav a:hover,
body[data-active-screen="home"] .desktop-nav a.is-active {
  background: var(--gold-soft);
  color: var(--blue-dark);
}

body[data-active-screen="home"] .header-cta {
  border-radius: 16px;
  background: var(--cta-gradient);
  color: var(--ink);
  box-shadow: 0 10px 22px rgba(51, 63, 72, 0.16);
}

body[data-active-screen="home"] .header-call {
  border-color: rgba(51, 63, 72, 0.1);
  background: var(--cta-gradient);
  color: var(--ink);
  box-shadow: var(--soft-shadow);
}

body[data-active-screen="home"] .header-call:hover,
body[data-active-screen="home"] .header-call:focus-visible {
  background: var(--cta-hover-gradient);
}

body[data-active-screen="home"] .menu-toggle {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--soft-shadow);
}

body[data-active-screen="home"] .menu-toggle span {
  background: var(--ink);
}

body[data-active-screen="home"] .mobile-menu {
  top: calc(100% + 8px);
  right: 14px;
  min-width: 190px;
  width: min(260px, calc(100vw - 28px));
  gap: 8px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius-panel);
  background: rgba(255, 255, 255, 0.98);
}

body[data-active-screen="home"] .mobile-menu a {
  justify-content: center;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  color: var(--ink);
  font-size: 14px;
}

body[data-active-screen="home"] .mobile-menu a::after {
  content: none;
}

body[data-active-screen="home"] .mobile-menu a:last-child {
  border-color: transparent;
  background: var(--cta-gradient);
  color: var(--ink);
}

.home-screen {
  width: min(100%, 980px);
  margin: 0 auto;
  padding: 14px 14px 70px;
}

.home-screen .hero {
  min-height: 368px;
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.home-screen .hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(14, 31, 60, 0), rgba(14, 31, 60, 0.48)),
    linear-gradient(90deg, rgba(14, 31, 60, 0.12), rgba(14, 31, 60, 0));
}

.home-screen .hero-copy {
  position: absolute;
  left: 0;
  right: 0;
  top: clamp(48px, 12vw, 92px);
  z-index: 1;
  display: grid;
  justify-items: center;
  padding: 0 18px 20px;
  color: #fff;
  text-align: center;
}

.home-screen h1 {
  margin-bottom: 10px;
  font-size: 44px;
  line-height: 1.02;
}

.home-screen .hero h1 span {
  display: block;
}

.home-screen .hero-copy p {
  max-width: 560px;
  margin-bottom: 18px;
  font-size: 19px;
  font-weight: 700;
}

.home-screen .hero-actions {
  display: grid;
  width: min(100%, 430px);
  grid-template-columns: 1fr;
  gap: 10px;
  margin-top: 44px;
}

.primary-action,
.wide-action {
  display: flex;
  min-height: 56px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: var(--radius-control);
  padding: 15px 18px;
  background: var(--cta-gradient);
  color: var(--ink);
  font-weight: 900;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 16px 30px rgba(51, 63, 72, 0.18);
}

.wide-action {
  width: 100%;
  margin-top: 14px;
}

.runaround-panel,
.manufacturers-section,
.value-panel,
.home-screen .how-section {
  border: 1px solid var(--line);
  border-radius: var(--radius-panel);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--soft-shadow);
}

.runaround-panel {
  display: grid;
  gap: 12px;
  margin-top: 12px;
  padding: 16px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(229, 246, 250, 0.98));
  text-align: center;
}

.runaround-panel h2 {
  margin-bottom: 8px;
  font-size: clamp(15px, 3.95vw, 25px);
  line-height: 1.08;
}

.runaround-panel p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 16px;
  font-weight: 800;
}

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

.proof-chip-grid span {
  display: flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border: 1px solid rgba(0, 125, 165, 0.18);
  border-radius: 16px;
  background: linear-gradient(135deg, #ffffff, var(--teal-soft));
  color: var(--ink);
  font-size: 12px;
  font-weight: 900;
  text-align: center;
}

.proof-chip-grid b {
  display: grid;
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 9px;
  background: var(--teal-gradient);
  color: #fff;
  font-size: 15px;
  line-height: 1;
}

.manufacturers-section {
  display: grid;
  gap: 9px;
  margin-top: 12px;
  padding: 12px;
}

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

.manufacturer-strip-single {
  grid-template-columns: minmax(0, 1fr);
  width: min(100%, 320px);
  margin: 0 auto;
}

.home-screen .manufacturer-logo {
  width: auto;
  min-height: 52px;
  padding: 9px;
  border: 1px solid rgba(0, 125, 165, 0.14);
  border-radius: 16px;
  background: linear-gradient(135deg, #ffffff, #f4f7f8);
  box-shadow: none;
}

.value-panel {
  display: grid;
  gap: 10px;
  margin-top: 12px;
  padding: 18px;
}

.value-panel h2 {
  margin-bottom: 0;
  font-size: clamp(17px, 4.65vw, 22px);
  line-height: 1.08;
  text-align: center;
}

.home-screen .section-kicker {
  margin: 0;
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-align: center;
  text-transform: uppercase;
}

.home-floorplan-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  align-items: stretch;
}

.home-floorplan-card {
  position: relative;
  display: grid;
  grid-template-rows: 108px minmax(42px, auto) minmax(38px, auto) 14px minmax(28px, auto) 44px;
  gap: 4px;
  min-height: 302px;
  align-items: center;
  overflow: hidden;
  border-radius: var(--radius-card);
  padding: 0 9px 12px;
  background: #fff;
  color: var(--ink);
  text-align: center;
  box-shadow: 0 12px 28px rgba(14, 31, 60, 0.12);
}

.home-floorplan-card img {
  width: calc(100% + 18px);
  height: 108px;
  margin: 0 -9px 6px;
  padding: 8px;
  background: #fff;
  object-fit: contain;
}

.plan-badge {
  position: absolute;
  top: 8px;
  left: 9px;
  z-index: 1;
  min-height: 25px;
  border-radius: 5px;
  padding: 6px 10px;
  background: var(--blue-dark);
  color: #fff;
  font-size: 10px;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.plan-name,
.price-label,
.home-floorplan-card strong,
.learn-pill {
  display: block;
}

.plan-name {
  font-size: 18px;
  font-weight: 900;
  line-height: 1.05;
}

.home-floorplan-card small {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.18;
}

.price-label {
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
}

.home-floorplan-card strong {
  color: var(--blue);
  font-size: clamp(18px, 4.8vw, 22px);
  font-weight: 900;
  line-height: 1.08;
}

.home-example-price {
  white-space: nowrap;
}

.learn-pill {
  display: grid;
  width: 100%;
  min-height: 44px;
  place-items: center;
  border-radius: var(--radius-control);
  background: var(--cta-gradient);
  color: var(--ink);
  font-size: 13px;
  font-weight: 900;
  text-decoration: none;
}

.plan-links {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 6px;
}

.floorplan-more {
  margin-top: 0;
}

.home-screen .how-section {
  display: grid;
  width: auto;
  gap: 12px;
  margin-top: 12px;
  padding: 18px;
  background: linear-gradient(135deg, #ffffff, var(--teal-soft));
}

.home-screen .how-section h2 {
  margin-bottom: 0;
  font-size: 22px;
  text-align: center;
}

.home-screen .how-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}

.home-screen .how-step {
  display: grid;
  min-height: 64px;
  grid-template-columns: 42px 1fr;
  gap: 2px 10px;
  align-items: center;
  border: 1px solid rgba(0, 125, 165, 0.16);
  border-radius: var(--radius-card);
  padding: 10px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: none;
}

.home-screen .how-step span {
  display: grid;
  width: 42px;
  height: 42px;
  grid-row: span 2;
  place-items: center;
  border-radius: 15px;
  background: var(--teal-gradient);
  color: #fff;
  font-size: 17px;
  font-weight: 900;
}

.home-screen .how-step strong {
  font-size: 15px;
  line-height: 1.1;
}

.home-screen .how-step p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.2;
}

.tour-teaser {
  display: grid;
  gap: 12px;
  align-items: center;
  border: 1px solid rgba(0, 125, 165, 0.18);
  border-radius: var(--radius-panel);
  padding: 14px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(14, 31, 60, 0.08);
}

.tour-teaser img {
  width: 100%;
  min-height: 150px;
  border-radius: 14px;
  background: #dce7f1;
  object-fit: cover;
}

.tour-teaser strong {
  display: block;
  margin-bottom: 4px;
  font-size: 18px;
  line-height: 1.1;
}

.tour-teaser p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.35;
}

.tour-teaser-action {
  display: grid;
  min-height: 48px;
  place-items: center;
  border-radius: var(--radius-control);
  background: var(--cta-gradient);
  color: var(--ink);
  font-size: 14px;
  font-weight: 950;
  text-align: center;
  text-decoration: none;
}

@media (min-width: 760px) {
  .home-screen .hero {
    min-height: 540px;
  }

  .home-screen .hero-copy {
    width: min(100%, 940px);
    max-width: none;
    margin: 0 auto;
    padding: 46px;
  }

  .home-screen h1 {
    font-size: 58px;
  }

  .home-screen .hero h1 span {
    display: inline;
  }

  .home-screen .hero h1 span + span::before {
    content: " ";
  }

  .tour-teaser {
    grid-template-columns: 180px minmax(0, 1fr);
  }

  .tour-teaser img {
    height: 118px;
    min-height: 118px;
  }

  .tour-teaser-action {
    grid-column: 1 / -1;
  }
}

@media (min-width: 980px) {
  .home-floorplan-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .home-floorplan-card {
    min-height: 306px;
    grid-template-rows: 110px minmax(42px, auto) minmax(38px, auto) 14px minmax(30px, auto) 44px;
  }

  .tour-teaser {
    grid-template-columns: 190px minmax(0, 1fr) 220px;
    text-align: left;
  }

  .tour-teaser-action {
    grid-column: auto;
  }

  .tour-teaser img {
    height: 120px;
    min-height: 120px;
  }

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

  .home-screen .how-step {
    min-height: 92px;
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .home-screen .how-step span {
    grid-row: auto;
  }
}

@media (max-width: 760px) {
  body[data-active-screen="home"] .desktop-nav {
    display: none;
  }

  body[data-active-screen="home"] .header-cta {
    display: none;
  }

  body[data-active-screen="home"] .menu-toggle {
    display: inline-grid;
    gap: 4px;
  }
}

@media (max-width: 390px) {
  body[data-active-screen="home"] .brand strong {
    font-size: 13px;
  }

  .home-screen h1 {
    font-size: 36px;
  }
}

.brand-logo {
  display: block;
  width: 162px;
  max-width: 54vw;
  height: auto;
}

body:not([data-active-screen="home"]) .brand {
  border-radius: var(--radius-control);
  padding: 4px 12px 4px 4px;
  background: rgba(255, 255, 255, 0.96);
}

body[data-active-screen="home"] .brand-logo {
  width: 162px;
}

@media (max-width: 980px) {
  .app-header {
    gap: 10px;
    padding-inline: clamp(14px, 2.4vw, 24px);
  }

  .desktop-nav {
    gap: 2px;
  }

  .desktop-nav a {
    padding-inline: 8px;
    font-size: 13px;
  }

  .brand-logo,
  body[data-active-screen="home"] .brand-logo {
    width: 132px;
  }

  .header-cta,
  .header-call {
    padding-inline: 12px;
    font-size: 13px;
  }
}

@media (max-width: 390px) {
  .brand-logo,
  body[data-active-screen="home"] .brand-logo {
    width: 112px;
  }

  .app-header {
    gap: 7px;
  }

  .header-call {
    min-height: 42px;
    gap: 5px;
    padding-inline: 10px;
    font-size: 12px;
  }

  .header-call-icon {
    width: 14px;
    height: 14px;
  }

  .menu-toggle {
    width: 44px;
    height: 44px;
  }
}

.contact-panel {
  margin-top: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 251, 255, 0.98));
  box-shadow: var(--soft-shadow);
}

.contact-form {
  display: grid;
  gap: 26px;
}

.bot-field {
  display: none;
}

.contact-form fieldset {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.contact-form legend,
.form-field > span {
  margin-bottom: 7px;
  color: #334055;
  font-size: 18px;
  font-weight: 900;
  line-height: 1.2;
}

.contact-form legend span,
.form-field b {
  color: #d80000;
}

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

.name-fieldset legend,
.human-check legend {
  grid-column: 1 / -1;
}

.name-fieldset label,
.form-field {
  display: grid;
  gap: 6px;
}

.name-fieldset label span,
.form-field small {
  color: #5f6470;
  font-size: 14px;
  line-height: 1.25;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid #cbd3de;
  border-radius: 7px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 16px;
}

.contact-form input {
  min-height: 34px;
  padding: 5px 9px;
}

.contact-form textarea {
  min-height: 124px;
  padding: 9px;
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--blue);
  outline: 3px solid rgba(0, 125, 165, 0.16);
}

.human-check {
  display: grid;
  gap: 8px;
}

.human-check label {
  display: inline-flex;
  width: min(100%, 302px);
  min-height: 76px;
  align-items: center;
  gap: 14px;
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 14px 16px;
  background: #fff;
  color: #384354;
  font-size: 14px;
}

.human-check input {
  width: 30px;
  height: 30px;
  min-height: 0;
  flex: 0 0 auto;
  padding: 0;
}

.submit-button {
  min-height: 54px;
  border: 0;
  border-radius: 0;
  background: var(--cta-gradient);
  color: var(--ink);
  font-size: 22px;
  font-weight: 900;
}

.submit-button:hover {
  background: var(--cta-hover-gradient);
}

.form-status {
  margin: -8px 0 0;
  border: 1px solid rgba(35, 161, 91, 0.24);
  border-radius: 12px;
  padding: 12px 14px;
  background: rgba(35, 161, 91, 0.08);
  color: var(--green);
  font-size: 14px;
  font-weight: 800;
}

.contact-screen.lead-form-screen {
  width: 100%;
  margin: 0;
  padding: clamp(24px, 4vw, 48px) 12px 64px;
  background: linear-gradient(135deg, #333f48, #007da5);
}

.lead-form-screen .content-hero {
  width: min(1180px, calc(100% - 24px));
  margin: 0 auto 18px;
  color: #fff;
  text-align: center;
}

.lead-form-screen .content-hero h1 {
  margin-bottom: 8px;
  font-size: clamp(34px, 5vw, 58px);
}

.lead-form-screen .content-hero p {
  max-width: 760px;
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.88);
}

.lead-form-screen .section-kicker {
  color: rgba(255, 255, 255, 0.82);
}

.lead-form-panel {
  width: min(1380px, calc(100% - 12px));
  margin: 0 auto;
  border: 0;
  border-radius: var(--radius-panel);
  padding: clamp(28px, 3.5vw, 44px);
  background: #fff;
  box-shadow: 0 22px 54px rgba(6, 27, 53, 0.18);
}

.lead-form-panel .contact-form {
  gap: 22px;
}

.lead-progress {
  display: flex;
  gap: 6px;
  align-items: center;
}

.lead-progress span {
  display: block;
  width: 34px;
  height: 4px;
  border-radius: 999px;
  background: #d7dee8;
}

.lead-progress span.is-active {
  background: var(--cta-gradient);
}

.lead-step {
  display: grid;
  gap: 26px;
}

.lead-step[hidden] {
  display: none;
}

.lead-step-kicker {
  margin: -12px 0 -18px;
  color: #5f7087;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.lead-step h2 {
  margin: 0;
  font-size: 22px;
  line-height: 1.15;
}

.lead-form-panel .name-fieldset {
  gap: 16px;
}

.lead-form-panel .name-fieldset label > span,
.lead-form-panel .form-field > span,
.lead-radio-group legend {
  margin-bottom: 6px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 800;
  line-height: 1.2;
}

.lead-form-panel .name-fieldset b,
.lead-form-panel .form-field b {
  color: #d80000;
}

.lead-form-panel .form-field small {
  margin-top: -2px;
  color: #65758a;
  font-size: 13px;
}

.lead-form-panel .contact-form input,
.lead-form-panel .contact-form select {
  width: 100%;
  min-height: 50px;
  border: 1px solid #cfd9e6;
  border-radius: 999px;
  padding: 0 18px;
  background: #f3f6fa;
  color: var(--ink);
  font-size: 16px;
}

.lead-form-panel .contact-form select {
  appearance: none;
  padding-right: 42px;
  background:
    linear-gradient(45deg, transparent 50%, var(--ink-soft) 50%) calc(100% - 21px) 50% / 7px 7px no-repeat,
    linear-gradient(135deg, var(--ink-soft) 50%, transparent 50%) calc(100% - 15px) 50% / 7px 7px no-repeat,
    #f3f6fa;
}

.lead-form-panel .contact-form input:focus,
.lead-form-panel .contact-form select:focus {
  border-color: var(--blue);
  outline: 3px solid rgba(0, 125, 165, 0.18);
  background-color: #fff;
}

.contact-form .lead-radio-group {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  align-items: stretch;
  border: 1px solid #dce4ee;
  border-radius: var(--radius-panel);
  padding: 22px 26px;
}

.lead-radio-group legend {
  grid-column: 1 / -1;
  padding: 0 6px;
}

.lead-form-panel .lead-radio-group label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  border: 1px solid #dce4ee;
  border-radius: var(--radius-control);
  padding: 0 14px;
  background: #fff;
  font-weight: 800;
  cursor: pointer;
  transition: border-color 0.18s ease, background-color 0.18s ease;
}

.lead-form-panel .lead-radio-group label:has(input:checked) {
  border-color: var(--blue);
  background: rgba(0, 125, 165, 0.08);
}

.lead-form-panel .contact-form .lead-radio-group input[type="radio"] {
  flex: 0 0 20px;
  width: 20px;
  min-width: 20px;
  max-width: 20px;
  height: 20px;
  min-height: 20px;
  margin: 0;
  padding: 0;
  accent-color: var(--blue);
  cursor: pointer;
}

.lead-radio-group span {
  line-height: 1.1;
}

.lead-actions {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px;
  align-items: center;
}

.lead-back-button {
  min-height: 54px;
  border: 1px solid #d9e2ec;
  border-radius: var(--radius-control);
  padding: 0 22px;
  background: #fff;
  color: #5f7087;
  font-weight: 850;
}

.lead-form-panel .submit-button {
  min-height: 54px;
  border-radius: var(--radius-control);
  background: var(--cta-gradient);
  color: var(--ink);
  font-size: 15px;
  font-weight: 900;
  box-shadow: 0 16px 30px rgba(51, 63, 72, 0.16);
}

.lead-form-panel .submit-button:hover {
  background: var(--cta-hover-gradient);
}

.lead-form-panel .contact-form.is-submitting button,
.lead-form-panel .contact-form button:disabled {
  cursor: wait;
  opacity: 0.68;
}

.quote-pill {
  text-decoration: none;
}

.thank-you-screen {
  width: min(100%, 1180px);
  margin: 0 auto;
  padding: 48px 16px 70px;
}

.thank-you-card {
  display: grid;
  justify-items: center;
  gap: 14px;
  max-width: 760px;
  margin: 0 auto;
  border-radius: var(--radius-panel);
  padding: clamp(28px, 5vw, 54px);
  background: #fff;
  text-align: center;
  box-shadow: var(--shadow);
}

.thank-you-card h1 {
  margin: 0;
  font-size: clamp(38px, 6vw, 64px);
}

.thank-you-card p {
  max-width: 560px;
  margin: 0;
  color: var(--muted);
  font-weight: 800;
}

@media (max-width: 560px) {
  .brand-logo {
    width: 148px;
  }

  .contact-panel {
    padding: 18px;
  }

  .contact-screen.lead-form-screen {
    padding: 22px 0 54px;
  }

  .lead-form-screen .content-hero {
    width: min(100% - 28px, 720px);
    text-align: left;
  }

  .lead-form-panel {
    width: min(100% - 22px, 720px);
    border-radius: var(--radius-panel);
    padding: 24px 20px;
  }

  .name-fieldset {
    grid-template-columns: 1fr;
  }

  .lead-actions {
    grid-template-columns: 1fr;
  }

  .lead-back-button {
    order: 2;
  }
}

@media (max-width: 1040px) {
  .catalog-widget .catalog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .catalog-screen,
  .floorplan-screen {
    width: min(100%, 1180px);
  }

  .catalog-widget {
    padding: 0 12px 48px;
    background:
      linear-gradient(180deg, #333f48 0 300px, #f4f7f8 300px 100%);
  }

  .catalog-widget-header {
    min-height: 142px;
    padding: 12px 0 20px;
  }

  .catalog-widget-header h1 {
    font-size: clamp(24px, 6.2vw, 42px);
  }

  @media (max-width: 360px) {
    .catalog-widget-header h1 {
      font-size: clamp(22px, 7vw, 24px);
      line-height: 1.08;
      white-space: normal;
    }
  }

  .catalog-widget-header p {
    display: none;
  }

  .catalog-widget .catalog-toolbar {
    border-radius: var(--radius-panel);
    padding: 12px;
  }

  .advanced-filter-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    padding: 12px;
  }

  .advanced-filter-grid .labeled-filter:nth-of-type(7),
  .clear-filters {
    grid-column: 1 / -1;
  }

  .catalog-primary-controls {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
  }

  .sort-button {
    min-width: 86px;
    padding: 0 13px;
  }

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

  .select-filter select,
  .filter-more {
    min-width: 0;
    padding-right: 22px;
    padding-left: 10px;
    font-size: 12px;
  }

  .filter-more {
    padding-right: 10px;
  }

  .catalog-widget .catalog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .catalog-plan-card {
    border-radius: var(--radius-card);
  }

  .catalog-plan-card .plan-card-body {
    padding: 9px 8px 10px;
  }

  .catalog-plan-card h3 {
    min-height: 38px;
    font-size: 17px;
  }

  .card-spec-line {
    font-size: 13px;
  }

  .card-price strong {
    font-size: 17px;
  }

  .catalog-plan-card .card-link {
    min-height: 36px;
  }

  .floorplan-detail-shell {
    width: min(100% - 24px, 760px);
  }

  .skyline-actions {
    display: flex;
    grid-template-columns: none;
    width: 100%;
  }

  .quote-pill {
    min-width: min(190px, 100%);
    min-height: 52px;
  }

  .lightbox-overlay {
    padding: 10px;
  }

  .lightbox-dialog {
    max-height: calc(100vh - 20px);
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    padding: 50px 10px 10px;
  }

  .lightbox-figure {
    grid-column: 1 / -1;
    grid-row: 1;
  }

  .lightbox-prev,
  .lightbox-next {
    grid-row: 2;
  }

  .lightbox-nav {
    min-width: 0;
    min-height: 42px;
  }

  .lightbox-thumbs {
    grid-row: 3;
  }

  .lightbox-thumbs button {
    width: 68px;
    height: 48px;
  }
}

@media (max-width: 420px) {
  .detail-spec-row {
    grid-template-columns: 1fr;
  }

  .plan-more-details {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .more-detail-grid {
    grid-template-columns: 1fr;
  }

  .more-detail-item,
  .more-detail-item:nth-child(2n) {
    border-right: 0;
    text-align: center;
  }

  .factory-benefit-panel {
    padding: 18px;
  }

  .factory-benefit-grid {
    gap: 8px;
  }

  .factory-benefit-card {
    grid-template-columns: 32px minmax(0, 1fr);
    gap: 7px;
    padding: 9px 8px;
  }

  .factory-benefit-card strong {
    font-size: 12px;
  }

  .benefit-icon,
  .benefit-icon svg {
    width: 30px;
    height: 30px;
  }
}
