/* ============================================
   NEW KANSA — FORT LEAVENWORTH
   Main Stylesheet
============================================ */

/* RESET & BASE */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: #2c2c2c;
  background: #fff;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color 0.2s; }
ul { list-style: none; }

/* VARIABLES — The Michaels Organization Color Palette */
:root {
  --navy: #003C82;
  --navy-dark: #002560;
  --tmo-blue: #0077C0;
  --tmo-blue-light: #00B9F2;
  --tmo-orange: #F05323;
  --tmo-orange-light: #f47a55;
  --cream: #f5f7fa;
  --light-bg: #EBEDEF;
  --text: #2c2c2c;
  --text-light: #666;
  --border: #d8dde3;
  --white: #fff;
  --shadow: 0 4px 24px rgba(0,0,0,0.10);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.15);
  --radius: 8px;
  --max-width: 1200px;
}

/* TYPOGRAPHY */
h1, h2, h3, h4 {
  font-family: 'Playfair Display', Georgia, serif;
  line-height: 1.25;
  color: var(--navy);
}
h1 { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); font-weight: 600; }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.5rem); font-weight: 600; }
h4 { font-size: 1.05rem; font-weight: 600; }
p { color: #444; margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

/* LAYOUT */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
.section.pt-0 { padding-top: 0; }
.bg-light { background: var(--light-bg); }
.bg-dark { background: var(--navy-dark); }
.center { text-align: center; }

.section-header { margin-bottom: 52px; }
.section-header.center { max-width: 680px; margin-left: auto; margin-right: auto; margin-bottom: 52px; }
.section-label {
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--tmo-orange);
  display: block;
  margin-bottom: 10px;
}
.section-label.light { color: var(--tmo-blue-light); }
.section-desc { font-size: 1.05rem; color: #666; margin-top: 12px; }
.section-header.light h2 { color: #fff; }
.section-header.light .section-desc { color: rgba(255,255,255,0.75); }

/* BUTTONS */
.btn {
  display: inline-block;
  padding: 13px 28px;
  border-radius: 4px;
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: all 0.2s;
  text-align: center;
}
.btn-primary { background: var(--tmo-orange); color: #fff; border: 2px solid var(--tmo-orange); }
.btn-primary:hover { background: var(--tmo-orange-light); border-color: var(--tmo-orange-light); color: #fff; }
.btn-outline { background: transparent; color: var(--navy); border: 2px solid var(--navy); }
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-outline-light { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,0.7); }
.btn-outline-light:hover { background: rgba(255,255,255,0.15); }
.btn-full { width: 100%; display: block; }

/* ============================================
   NAVIGATION
============================================ */
.navbar {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(0,37,96,0.97);
  backdrop-filter: blur(10px);
  transition: box-shadow 0.3s;
}
.navbar.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,0.25); }
.nav-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  min-width: 0;
  overflow: hidden;
}
.logo-text {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
}
.logo-sub {
  font-family: 'Inter', sans-serif;
  font-size: 0.65rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--tmo-blue-light);
  white-space: nowrap;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-links li a {
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
  padding: 8px 14px;
  border-radius: 4px;
  transition: all 0.2s;
  white-space: nowrap;
}
.nav-links li a:hover,
.nav-links li a.active {
  color: #fff;
  background: rgba(255,255,255,0.12);
}
.nav-links li a.active { color: var(--tmo-blue-light); }
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  flex-shrink: 0;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: all 0.3s;
}

/* ============================================
   HERO (Homepage)
============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-background {
  position: absolute; inset: 0; z-index: 0;
}
.hero-background img {
  width: 100%; height: 100%; object-fit: cover; object-position: center;
}
.hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(135deg, rgba(0,37,96,0.80) 0%, rgba(0,37,96,0.50) 100%);
  pointer-events: none;
}
.hero-content {
  position: relative; z-index: 2;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 120px 24px 80px;
  max-width: 680px;
  margin-left: 5%;
}
.hero-badge {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--tmo-blue-light);
  border: 1px solid var(--tmo-blue-light);
  padding: 5px 14px;
  border-radius: 2px;
  margin-bottom: 18px;
}
.hero-content h1 { color: #fff; margin-bottom: 20px; }
.hero-content h1 span { color: var(--tmo-blue-light); }
.hero-subtitle { color: rgba(255,255,255,0.85); font-size: 1.15rem; margin-bottom: 36px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ============================================
   STATS BAR
============================================ */
.stats-bar {
  background: var(--navy);
  padding: 32px 0;
}
.stats-bar .container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}
.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 12px 40px;
}
.stat-number {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--tmo-blue-light);
  line-height: 1;
}
.stat-label {
  font-family: 'Inter', sans-serif;
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.6);
  text-transform: uppercase;
  margin-top: 5px;
}
.stat-divider {
  width: 1px;
  height: 48px;
  background: rgba(255,255,255,0.15);
}

/* ============================================
   ABOUT SECTION
============================================ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.about-text h2 { margin-bottom: 16px; }
.about-text p { color: #555; margin-bottom: 16px; }
.about-highlights { margin: 28px 0; display: flex; flex-direction: column; gap: 16px; }
.highlight-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.highlight-icon {
  color: var(--tmo-orange);
  font-size: 0.55rem;
  margin-top: 7px;
  flex-shrink: 0;
}
.highlight-item strong { display: block; font-weight: 600; color: var(--navy); font-size: 0.95rem; }
.highlight-item span { font-size: 0.88rem; color: #666; }
.about-image img {
  width: 100%; height: 480px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}

/* ============================================
   FEATURES GRID
============================================ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.feature-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 32px 28px;
  border: 1px solid var(--border);
  transition: box-shadow 0.2s, transform 0.2s;
}
.feature-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.feature-icon {
  width: 48px; height: 48px;
  color: var(--tmo-blue);
  margin-bottom: 18px;
}
.feature-icon svg { width: 100%; height: 100%; }
.feature-card h3 { font-size: 1.1rem; margin-bottom: 10px; color: var(--navy); }
.feature-card p { font-size: 0.92rem; color: #666; margin: 0; }

/* ============================================
   FLOOR PLAN PREVIEW CARDS
============================================ */
.fp-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  align-items: start;
  max-width: 860px;
  margin: 0 auto;
}
.fp-card {
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  background: #fff;
  position: relative;
  transition: box-shadow 0.2s;
}
.fp-card:hover { box-shadow: var(--shadow); }
.fp-card.featured {
  border-color: var(--border);
  background: #fff;
  transform: none;
  box-shadow: none;
}
.fp-card-badge {
  position: absolute;
  top: -14px; left: 50%;
  transform: translateX(-50%);
  background: var(--tmo-blue);
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 20px;
  white-space: nowrap;
}
.fp-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}
.fp-type {
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--tmo-orange);
}
.fp-size {
  font-family: 'Inter', sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--navy);
}
.fp-card h3 { margin-bottom: 16px; font-size: 1.2rem; }
.fp-features { margin-bottom: 24px; }
.fp-features li {
  font-size: 0.88rem;
  color: #555;
  padding: 5px 0;
  border-bottom: 1px solid #eee;
  display: flex;
  align-items: center;
  gap: 8px;
}
.fp-features li::before {
  content: '';
  width: 5px; height: 5px;
  background: var(--tmo-orange);
  border-radius: 50%;
  flex-shrink: 0;
}

/* ============================================
   RENDERINGS PREVIEW (Homepage)
============================================ */
.rendering-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 16px;
  margin-bottom: 40px;
}
.rendering-item { border-radius: var(--radius); overflow: hidden; }
.rendering-item img { width: 100%; height: 260px; object-fit: cover; transition: transform 0.3s; }
.rendering-item:hover img { transform: scale(1.03); }
.rendering-item.large { grid-column: 1 / -1; }
.rendering-item.large img { height: 400px; }
.center-link { text-align: center; }
.section-header.light h2,
.section-header.light .section-label { color: #fff; }

/* ============================================
   CTA SECTION
============================================ */
.cta { background: var(--cream); }
.cta-content {
  text-align: center;
  max-width: 580px;
  margin: 0 auto;
}
.cta-content h2 { margin-bottom: 14px; }
.cta-content p { color: #666; margin-bottom: 28px; }

/* ============================================
   FOOTER
============================================ */
.footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,0.7);
  padding: 64px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 14px;
}
.footer-brand p { font-size: 0.9rem; line-height: 1.7; }
.footer-nav h4, .footer-contact h4 {
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--tmo-blue-light);
  margin-bottom: 18px;
}
.footer-nav ul { display: flex; flex-direction: column; gap: 10px; }
.footer-nav ul li a {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.65);
  transition: color 0.2s;
}
.footer-nav ul li a:hover { color: #fff; }
.footer-contact p { font-size: 0.88rem; line-height: 1.8; margin-bottom: 10px; }
.footer-contact a { color: var(--tmo-blue-light); }
.footer-contact a:hover { color: #fff; }
.footer-bottom {
  padding-top: 28px;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.4);
  text-align: center;
}

/* ============================================
   PAGE HERO (Inner Pages)
============================================ */
.page-hero {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  padding-bottom: 60px;
}
.page-hero.short { min-height: 340px; }
.page-hero-bg {
  position: absolute; inset: 0; z-index: 0;
}
.page-hero-bg img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center 30%;
}
.page-hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(to top, rgba(0,37,96,0.88) 0%, rgba(0,37,96,0.45) 60%, rgba(0,37,96,0.2) 100%);
  pointer-events: none;
}
.page-hero-overlay.dark {
  background: linear-gradient(to top, rgba(0,37,96,0.92) 0%, rgba(0,37,96,0.65) 60%, rgba(0,37,96,0.35) 100%);
}
.page-hero-content {
  position: relative; z-index: 2;
  max-width: var(--max-width);
  width: 100%;
  margin: 0 auto;
  padding: 100px 24px 0;
}
.page-hero-content h1 { color: #fff; margin-bottom: 10px; }
.page-hero-content p { color: rgba(255,255,255,0.8); font-size: 1.05rem; margin: 0; }

/* ============================================
   TWO COLUMN CONTENT
============================================ */
.two-col-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.two-col-content.reverse .col-text { order: 2; }
.two-col-content.reverse .col-image { order: 1; }
.col-text h2 { margin-bottom: 16px; }
.col-text p { color: #555; }
.col-image img {
  width: 100%; height: 440px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}

/* ============================================
   LOCATION
============================================ */
.location-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 48px;
  align-items: start;
}
.location-details { display: flex; flex-direction: column; gap: 28px; }
.location-item h4 { font-size: 0.95rem; margin-bottom: 6px; color: var(--navy); }
.location-item p, .location-item ul { font-size: 0.92rem; color: #555; }
.location-item ul { padding-left: 16px; list-style: disc; }
.location-item ul li { padding: 2px 0; }

/* ============================================
   DETAILS GRID
============================================ */
.details-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.detail-card {
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 24px;
  text-align: center;
  transition: box-shadow 0.2s;
}
.detail-card:hover { box-shadow: var(--shadow); }
.detail-number {
  font-family: 'Playfair Display', serif;
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--tmo-blue);
  line-height: 1;
  margin-bottom: 8px;
}
.detail-title { font-weight: 600; color: var(--navy); margin-bottom: 8px; font-size: 1rem; }
.detail-desc { font-size: 0.87rem; color: #666; }

/* ============================================
   MATERIALS LIST
============================================ */
.materials-list { margin: 24px 0; display: flex; flex-direction: column; gap: 14px; }
.material-item {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  align-items: baseline;
}
.material-item strong { font-size: 0.88rem; color: var(--navy); font-weight: 600; }
.material-item span { font-size: 0.88rem; color: #666; }

/* ============================================
   TEAM GRID
============================================ */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.team-card {
  background: var(--cream);
  border-radius: var(--radius);
  padding: 28px 24px;
  border: 1px solid var(--border);
}
.team-card h4 {
  font-family: 'Inter', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--tmo-orange);
  margin-bottom: 6px;
}
.team-org { font-weight: 600; color: var(--navy); font-size: 1rem; margin-bottom: 8px; }
.team-card p { font-size: 0.85rem; color: #666; margin-bottom: 8px; line-height: 1.7; }
.team-card a { color: var(--tmo-blue); }
.team-card a:hover { color: var(--navy); }

/* ============================================
   FLOOR PLAN DETAIL PAGES
============================================ */
.shared-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 8px;
}
.shared-feature {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 16px;
  text-align: center;
}
.shared-feature strong {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 0.95rem;
  color: var(--navy);
  margin-bottom: 5px;
}
.shared-feature span { font-size: 0.8rem; color: #666; }

.fp-detail-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 40px;
}
.fp-detail-header h2 { margin-bottom: 12px; }
.fp-specs { display: flex; gap: 8px; flex-wrap: wrap; }
.fp-spec-pill {
  font-family: 'Inter', sans-serif;
  font-size: 0.78rem;
  font-weight: 500;
  background: var(--navy);
  color: #fff;
  padding: 4px 12px;
  border-radius: 20px;
}
.fp-spec-pill.featured-pill { background: var(--navy); }
.fp-spec-pill.most-space { background: var(--navy); }
.fp-unit-count {
  text-align: center;
  background: var(--navy);
  color: #fff;
  border-radius: var(--radius);
  padding: 20px 32px;
  flex-shrink: 0;
}
.fp-count-number {
  font-family: 'Playfair Display', serif;
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--tmo-blue-light);
  display: block;
  line-height: 1;
}
.fp-count-label {
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.7);
  display: block;
  margin-top: 6px;
  white-space: nowrap;
}

.fp-layout-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

/* Floor plan image display */
.fp-image-wrap {
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  margin-bottom: 16px;
  overflow: hidden;
}
.fp-image-wrap img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 4px;
}

.fp-floor h3 {
  font-size: 1rem;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--tmo-blue);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--tmo-blue);
}
.floor-plan-diagram {
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  margin-bottom: 16px;
}
.floor-plan-svg { width: 100%; }
.fp-svg { width: 100%; height: auto; }
.floor-rooms {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.room-tag {
  font-family: 'Inter', sans-serif;
  font-size: 0.76rem;
  background: var(--cream);
  color: var(--navy);
  padding: 3px 10px;
  border-radius: 3px;
  border: 1px solid var(--border);
}
.featured-header h2 { color: var(--navy); }
.fp-alt-note {
  background: #e8f4fc;
  border: 1px solid #b3d7ee;
  border-radius: var(--radius);
  padding: 16px 20px;
  margin-bottom: 32px;
  font-size: 0.9rem;
  color: #1a4a6b;
}

.disclaimer-box {
  background: var(--cream);
  border-left: 4px solid var(--tmo-blue);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 20px 24px;
  font-size: 0.88rem;
  color: #666;
}
.disclaimer-box strong { color: var(--navy); }

/* ============================================
   RENDERINGS PAGE
============================================ */
.rendering-full-gallery {
  display: flex;
  flex-direction: column;
  gap: 60px;
}
.rendering-full-item {
  display: flex;
  flex-direction: column;
  gap: 40px;
  align-items: center;
}
.rendering-full-item:nth-child(even) .rendering-image-wrap { order: 0; }
.rendering-full-item:nth-child(even) .rendering-caption { order: 0; }
.rendering-image-wrap {
  width: 100%;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}
.rendering-image-wrap img {
  width: 100%;
  height: auto;
  max-height: 620px;
  object-fit: cover;
  object-position: center center;
  transform: scale(1);
  transition: transform 0.4s;
  cursor: zoom-in;
}
.rendering-image-wrap:hover img { transform: scale(1.04); }
.rendering-caption {
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
  padding-top: 20px;
}
.rendering-caption h3 { margin-bottom: 10px; font-size: 1.3rem; }
.rendering-caption p { color: #666; font-size: 0.95rem; }

/* LIGHTBOX */
.lightbox-overlay {
  display: none;
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.92);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.lightbox-overlay.active { display: flex; }
.lightbox-close {
  position: absolute;
  top: 20px; right: 24px;
  background: none; border: none;
  color: #fff; font-size: 2.4rem;
  cursor: pointer; line-height: 1;
  opacity: 0.8;
  transition: opacity 0.2s;
}
.lightbox-close:hover { opacity: 1; }
.lightbox-content { max-width: 90vw; text-align: center; }
.lightbox-content img { max-height: 80vh; width: auto; max-width: 100%; border-radius: var(--radius); }
#lightboxCaption { color: rgba(255,255,255,0.7); font-size: 0.9rem; margin-top: 14px; }

/* COLOR SCHEMES */
.color-scheme-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 24px;
}
.color-scheme-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 20px;
}
.color-scheme-card h4 { font-size: 1rem; margin-bottom: 16px; color: var(--navy); }
.color-swatches { display: flex; flex-direction: column; gap: 8px; }
.swatch {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 10px;
  border-radius: 4px;
}
.swatch span { font-size: 0.8rem; color: var(--text); font-weight: 500; }
.materials-note {
  background: var(--cream);
  border-radius: var(--radius);
  padding: 16px 20px;
  font-size: 0.88rem;
  color: #666;
  text-align: center;
}

/* REFERENCE GALLERY */
.reference-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.ref-img { border-radius: var(--radius); overflow: hidden; }
.ref-img img { width: 100%; height: 240px; object-fit: cover; }

/* ============================================
   CONTACT PAGE
============================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.contact-info h2 { margin-bottom: 14px; }
.contact-info > p { color: #555; margin-bottom: 32px; }
.contact-details { display: flex; flex-direction: column; gap: 20px; margin-bottom: 32px; }
.contact-detail-item { display: flex; align-items: flex-start; gap: 16px; }
.contact-detail-icon {
  width: 40px; height: 40px;
  background: var(--cream);
  border: 1.5px solid var(--border);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  padding: 9px;
  color: var(--tmo-blue);
}
.contact-detail-icon svg { width: 100%; height: 100%; }
.contact-detail-item strong { display: block; font-weight: 600; color: var(--navy); font-size: 0.9rem; margin-bottom: 3px; }
.contact-detail-item span, .contact-detail-item a { font-size: 0.9rem; color: #666; }
.contact-detail-item a:hover { color: var(--tmo-blue); }
.contact-map { border-radius: var(--radius); overflow: hidden; }

/* Contact page — stacked layout (form top, info below) */
.contact-form-centered {
  max-width: 680px;
  margin: 0 auto 56px;
}
.contact-form-centered .form-card {
  width: 100%;
}
.contact-info-below {
  border-top: 1.5px solid var(--border);
  padding-top: 40px;
  margin-top: 8px;
}
.contact-info-below h2 {
  margin-bottom: 28px;
  font-size: 1.5rem;
}
.contact-details-row {
  display: flex;
  flex-wrap: wrap;
  gap: 28px 48px;
}
.contact-details-row .contact-detail-item {
  flex: 1 1 220px;
}

/* FORM */
.form-card {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px 36px;
}
.form-card h3 { margin-bottom: 8px; font-size: 1.4rem; }
.form-card > p { color: #666; font-size: 0.92rem; margin-bottom: 28px; }
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--navy);
  margin-bottom: 7px;
}
.required { color: var(--tmo-orange); }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 11px 14px;
  font-family: 'Inter', sans-serif;
  font-size: 0.92rem;
  color: var(--text);
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: 4px;
  transition: border-color 0.2s;
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--tmo-blue); }
.form-group textarea { resize: vertical; line-height: 1.6; }
.form-group select { cursor: pointer; }
#formStatus p { font-size: 0.9rem; padding: 10px 14px; border-radius: 4px; }
#formStatus p[style*="green"] { background: #eaf7ea; }
#formStatus p[style*="red"] { background: #fdeaea; }

/* Neighborhood existing image */
.existing-homes-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.existing-homes-wrap img {
  width: 100%;
  height: 440px;
  object-fit: cover;
}

/* ============================================
   RESPONSIVE
============================================ */
@media (max-width: 1024px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .fp-cards { grid-template-columns: 1fr; gap: 16px; max-width: 480px; }
  .fp-card.featured { transform: none; }
  .details-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .shared-features { grid-template-columns: repeat(2, 1fr); }
  .color-scheme-grid { grid-template-columns: 1fr; }
  .rendering-full-item { flex-direction: column; }
}

@media (max-width: 900px) {
  .about-grid,
  .two-col-content,
  .location-grid,
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .two-col-content.reverse .col-text { order: 0; }
  .two-col-content.reverse .col-image { order: 0; }
  .about-image img, .col-image img { height: 300px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .footer-brand { grid-column: 1 / -1; }
  .fp-layout-grid { grid-template-columns: 1fr; }
  .fp-detail-header { flex-direction: column; gap: 16px; }
  .reference-gallery { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .section { padding: 56px 0; }
  h1 { font-size: clamp(1.8rem, 8vw, 2.4rem); }
  h2 { font-size: clamp(1.4rem, 6vw, 2rem); }
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 72px; left: 0; right: 0;
    background: var(--navy-dark);
    padding: 16px 0 20px;
    gap: 0;
    box-shadow: 0 8px 24px rgba(0,0,0,0.3);
  }
  .nav-links.open { display: flex; }
  .nav-links li a {
    padding: 12px 24px;
    border-radius: 0;
    display: block;
    font-size: 0.95rem;
  }
  .nav-toggle { display: flex; }
  .hero-content { margin-left: 0; padding: 100px 24px 60px; }
  .stats-bar .container { gap: 0; justify-content: space-around; }
  .stat { padding: 12px 16px; }
  .stat-divider { display: none; }
  .features-grid { grid-template-columns: 1fr; }
  .details-grid { grid-template-columns: 1fr 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .shared-features { grid-template-columns: repeat(2, 1fr); }
  .rendering-grid { grid-template-columns: 1fr; }
  .rendering-item.large img,
  .rendering-item img { height: 220px; }
  .hero-actions { flex-direction: column; gap: 10px; }
  .form-card { padding: 28px 20px; }
  .reference-gallery { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .details-grid { grid-template-columns: 1fr; }
  .shared-features { grid-template-columns: 1fr; }
  .material-item { grid-template-columns: 1fr; gap: 4px; }
  .stat-number { font-size: 1.5rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .logo-sub { display: none; }
}

/* ============================================
   GROUNDBREAKING PAGE
============================================ */

.groundbreaking-video-wrap {
  max-width: 900px;
  margin: 0 auto 60px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(0,0,0,0.15);
  position: relative;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  height: 0;
}

.milestone-entry {
  display: flex;
  gap: 32px;
  max-width: 900px;
  margin: 0 auto 40px;
  padding: 32px;
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  align-items: flex-start;
}
.milestone-date {
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--tmo-blue);
  white-space: nowrap;
  min-width: 120px;
  padding-top: 4px;
}
.milestone-body h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  margin-bottom: 10px;
  color: var(--navy);
}
.milestone-body p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.groundbreaking-speakers {
  max-width: 900px;
  margin: 0 auto;
}

.groundbreaking-speakers h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.5rem;
  color: var(--navy);
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--tmo-blue);
}

.speakers-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.speaker-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: var(--cream);
  border-radius: 8px;
  padding: 20px 24px;
  border-left: 4px solid var(--tmo-blue);
}

.speaker-icon {
  color: var(--tmo-blue);
  font-size: 0.6rem;
  margin-top: 5px;
  flex-shrink: 0;
}

.speaker-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.speaker-info strong {
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy);
}

.speaker-info span {
  font-size: 0.875rem;
  color: #666;
  line-height: 1.4;
}

@media (max-width: 640px) {
  .speakers-grid { grid-template-columns: 1fr; }
  .groundbreaking-video-wrap { margin-bottom: 40px; }
  .milestone-entry { flex-direction: column; gap: 12px; }
  .milestone-date { min-width: auto; }
}
