:root {
  --primary: #850a22;
  --secondary: #ad3309;
  --warm-bg: #f7f6f1;
  --surface: #fcf9f8;
  --surface-container: #f0eded;
  --surface-low: #f6f3f2;
  --surface-high: #e5e2e1;
  --text: #1b1c1c;
  --muted: #584141;
  --teal: #4ba9a2;
  --gradient-start: #e85d33;
  --gradient-end: #a62737;
  --secondary-fixed: #ffdbd1;
  --tertiary-fixed: #cce5ff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--surface);
  color: var(--text);
  font-family: "Karla", Arial, sans-serif;
}

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

img,
iframe {
  display: block;
}

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

button {
  cursor: pointer;
}

.top-nav {
  position: sticky;
  top: 0;
  z-index: 40;
  background: #fff;
  border-bottom: 1px solid rgba(173, 51, 9, 0.15);
  box-shadow: 0 2px 10px rgba(27, 28, 28, 0.05);
}

.nav-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo-link img {
  height: 42px;
  width: auto;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a,
.mobile-menu a {
  color: var(--muted);
  font-weight: 700;
  padding-bottom: 5px;
}

.nav-links a.active,
.mobile-menu a.active {
  color: var(--primary);
  border-bottom: 2px solid var(--primary);
}

.menu-toggle {
  display: none;
  border: 1px solid rgba(173, 51, 9, 0.2);
  background: var(--surface-low);
  color: var(--primary);
  border-radius: 8px;
  width: 44px;
  height: 44px;
  padding: 0;
  align-items: center;
  justify-content: center;
  gap: 5px;
  flex-direction: column;
}

.menu-toggle span {
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}

.mobile-menu {
  display: none;
  padding: 8px 24px 22px;
  border-top: 1px solid rgba(173, 51, 9, 0.1);
}

.mobile-menu.open {
  display: grid;
  gap: 16px;
}

.page-shell {
  min-height: 620px;
  animation: pageIn 0.28s ease;
}

.hero {
  position: relative;
  min-height: 620px;
  padding: 72px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  text-align: center;
  background: var(--warm-bg);
}

.hero.grid-bg::before,
.contact-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(133, 10, 34, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(133, 10, 34, 0.035) 1px, transparent 1px);
  background-size: 32px 32px;
}

.hero.leasing {
  min-height: 520px;
  background:
    linear-gradient(rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0.65)),
    url("img/PHOTOS_02.avif") center/cover;
  color: #fff;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 850px;
  display: grid;
  justify-items: center;
  gap: 22px;
}

.eyebrow {
  display: inline-flex;
  border-radius: 999px;
  padding: 8px 14px;
  background: var(--secondary-fixed);
  color: #3b0a00;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero.leasing .eyebrow {
  background: var(--primary);
  color: #fff;
}

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

h1 {
  font-size: clamp(40px, 7vw, 68px);
  line-height: 1.02;
  font-weight: 800;
}

h2 {
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.12;
  font-weight: 800;
}

h3 {
  font-size: 24px;
  line-height: 1.2;
}

.gradient-text {
  background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.lead {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
  max-width: 700px;
}

.hero.leasing .lead {
  color: rgba(255, 255, 255, 0.9);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

.btn {
  border: 0;
  border-radius: 12px;
  padding: 13px 22px;
  font-weight: 800;
  min-height: 46px;
  transition: transform 0.18s ease, filter 0.18s ease, background 0.18s ease;
}

.btn:hover {
  filter: brightness(1.04);
}

.btn:active {
  transform: scale(0.98);
}

.btn.gradient {
  background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
  color: #fff;
  box-shadow: 0 8px 20px rgba(133, 10, 34, 0.18);
}

.btn.outline {
  background: transparent;
  border: 2px solid currentColor;
  color: var(--primary);
}

.hero.leasing .btn.outline {
  color: #fff;
}

.section {
  max-width: 1180px;
  margin: 0 auto;
  padding: 72px 24px;
}

.section.center {
  text-align: center;
}

.section-header {
  max-width: 680px;
  margin: 0 auto 44px;
  display: grid;
  gap: 14px;
  text-align: center;
}

.grid {
  display: grid;
  gap: 28px;
}

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

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

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

.card {
  background: #fff;
  border: 1px solid rgba(173, 51, 9, 0.12);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 8px 22px rgba(27, 28, 28, 0.05);
}

.branch-card {
  display: flex;
  flex-direction: column;
}

.branch-card:hover,
.space-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 32px rgba(27, 28, 28, 0.11);
}

.branch-image {
  position: relative;
  height: 235px;
  background: var(--surface-container);
}

.branch-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}


.card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.branch-card .card-body {
  flex: 1;
}

.branch-card .card-body > .btn {
  margin-top: auto;
}

.info-line {
  display: flex;
  gap: 10px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.info-icon {
  color: var(--secondary);
  font-weight: 800;
}

.divider {
  border-top: 1px solid rgba(173, 51, 9, 0.12);
  border-bottom: 1px solid rgba(173, 51, 9, 0.12);
  padding: 14px 0;
  display: grid;
  gap: 10px;
}

.map-frame {
  width: 100%;
  height: 175px;
  border: 1px solid rgba(173, 51, 9, 0.16);
  border-radius: 8px;
  overflow: hidden;
}

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

.contact-hero {
  position: relative;
  padding: 78px 24px;
  background: #fff;
  border-bottom: 1px solid rgba(173, 51, 9, 0.1);
  text-align: center;
  overflow: hidden;
}

.contact-hero .hero-content {
  margin: 0 auto;
}

.quick-links {
  margin-top: 42px;
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.form-band {
  background: var(--surface-container);
  border-top: 1px solid rgba(173, 51, 9, 0.1);
  padding: 70px 24px;
}

.form-layout {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: center;
}

.form-card {
  padding: 30px;
}

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

.field {
  display: grid;
  gap: 8px;
}

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

.field label {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  border: 0;
  border-bottom: 2px solid rgba(88, 65, 65, 0.25);
  border-radius: 8px 8px 0 0;
  background: var(--warm-bg);
  padding: 13px;
  color: var(--text);
}

.checkbox-row {
  display: flex;
  gap: 10px;
  align-items: center;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.stack {
  display: grid;
  gap: 20px;
}

.support-item {
  display: flex;
  align-items: center;
  gap: 14px;
}

.circle-icon {
  width: 46px;
  height: 46px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: var(--secondary-fixed);
  color: var(--secondary);
  font-weight: 800;
}

.leasing-form-wrap {
  max-width: 880px;
  margin: 0 auto;
}

.space-card {
  padding: 22px;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.space-card.selected {
  border-color: var(--primary);
  background: rgba(133, 10, 34, 0.04);
  box-shadow: 0 0 0 3px rgba(133, 10, 34, 0.12);
}

.space-top {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 18px;
}

.tag {
  border-radius: 999px;
  padding: 5px 9px;
  background: var(--secondary-fixed);
  color: #3b0a00;
  font-size: 11px;
  font-weight: 800;
}

.status {
  color: #198754;
  background: #edfff4;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  background: rgba(0, 0, 0, 0.62);
}

.modal {
  width: min(680px, 100%);
  max-height: 86vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
}

.modal.large {
  width: min(860px, 100%);
  height: min(620px, 80vh);
}

.modal-head,
.modal-foot {
  padding: 18px 22px;
  background: var(--warm-bg);
  border-bottom: 1px solid rgba(173, 51, 9, 0.12);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.modal-foot {
  border-top: 1px solid rgba(173, 51, 9, 0.12);
  border-bottom: 0;
  justify-content: center;
}

.close-btn {
  border: 0;
  background: transparent;
  color: var(--primary);
  font-size: 24px;
  font-weight: 800;
}

.search-row {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 15px 22px;
  border-bottom: 1px solid rgba(173, 51, 9, 0.08);
}

.search-row input {
  flex: 1;
  border: 0;
  outline: 0;
}

.directory-list {
  padding: 14px 22px;
  overflow: auto;
}

.store-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 15px 0;
  border-bottom: 1px solid rgba(173, 51, 9, 0.1);
}

.store-row:last-child {
  border-bottom: 0;
}

.muted {
  color: var(--muted);
}

.small {
  font-size: 13px;
}

.success {
  padding: 48px 24px;
  text-align: center;
  display: grid;
  justify-items: center;
  gap: 14px;
}

.success-icon {
  width: 62px;
  height: 62px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  color: #198754;
  background: #dff7e8;
  font-size: 30px;
}

footer {
  background: var(--surface-container);
  border-top: 1px solid rgba(173, 51, 9, 0.15);
  padding: 58px 24px;
}

.footer-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  gap: 32px;
}

.footer-simple {
  display: grid;
  justify-items: center;
  gap: 14px;
  text-align: center;
}

.footer-col a {
  color: var(--muted);
  font-size: 14px;
}

.footer-col a.highlight {
  color: var(--primary);
  font-weight: 800;
}

.footer-logo {
  height: 36px;
  width: auto;
}

.footer-col {
  display: grid;
  align-content: start;
  gap: 12px;
}

.footer-col h4 {
  margin: 0;
  color: var(--primary);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

@keyframes pageIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 900px) {
  .nav-links,
  .nav-cta {
    display: none;
  }

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

  .branch-grid,
  .space-grid,
  .contact-grid,
  .form-layout {
    grid-template-columns: 1fr;
  }

  .quick-links {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero {
    min-height: 560px;
  }
}

@media (max-width: 620px) {
  .nav-inner {
    padding: 14px 18px;
  }

  h1 {
    font-size: 38px;
  }

  .section,
  .form-band {
    padding-left: 18px;
    padding-right: 18px;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .store-row {
    align-items: flex-start;
    flex-direction: column;
  }
}
