:root {
  --bg: #ffffff;
  --bg-alt: #f8fafc;
  --text: #0f172a;
  --text-muted: #475569;
  --accent: #1e3a8a;
  --accent-hover: #172554;
  --border: #e2e8f0;
  --radius: 8px;
  --max-width: 1200px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text);
  background-color: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 72px;
}

.brand {
  text-decoration: none;
  color: var(--text);
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-name {
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: 0.12em;
}

.brand-sub {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--text-muted);
}

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

.nav-links a:not(.btn) {
  text-decoration: none;
  color: var(--text);
  font-size: 0.925rem;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-links a:not(.btn):hover {
  color: var(--accent);
}

/* Buttons */
.btn {
  display: inline-block;
  text-decoration: none;
  font-weight: 500;
  border-radius: var(--radius);
  transition: all 0.2s ease;
  cursor: pointer;
}

.btn-sm {
  padding: 9px 18px;
  font-size: 0.875rem;
  background-color: var(--accent);
  color: #ffffff;
}

.btn-sm:hover {
  background-color: var(--accent-hover);
}

.btn-primary {
  padding: 14px 28px;
  background-color: #ffffff;
  color: var(--text);
  font-weight: 600;
}

.btn-primary:hover {
  background-color: #f1f5f9;
}

.btn-outline {
  padding: 13px 28px;
  border: 1.5px solid rgba(255, 255, 255, 0.85);
  color: #ffffff;
}

.btn-outline:hover {
  background-color: rgba(255, 255, 255, 0.15);
}

/* Hero */
.hero {
  position: relative;
  min-height: 76vh;
  display: flex;
  align-items: center;
  color: #ffffff;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 1;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(15, 23, 42, 0.82) 0%, rgba(15, 23, 42, 0.45) 100%);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 680px;
  padding: 80px 24px;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.8rem;
  font-weight: 600;
  color: #cbd5e1;
  margin-bottom: 14px;
}

.hero h1 {
  font-size: clamp(2.1rem, 4.5vw, 3.25rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 20px;
}

.hero-lead {
  font-size: 1.125rem;
  color: #e2e8f0;
  margin-bottom: 32px;
  font-weight: 300;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* Sections */
.section {
  padding: 88px 0;
}

.section-alt {
  background-color: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-header {
  max-width: 620px;
  margin-bottom: 48px;
}

.section-header h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* Portfolio Grid */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.gallery-item {
  position: relative;
  aspect-ratio: 3 / 2;
  border-radius: var(--radius);
  overflow: hidden;
  background-color: #e2e8f0;
  cursor: zoom-in;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.gallery-item:hover img {
  transform: scale(1.03);
}

/* Services */
.services-layout {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: start;
}

.services-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.service-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
}

.service-card h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}

.service-card p {
  color: var(--text-muted);
  margin-bottom: 18px;
  font-size: 0.975rem;
}

.check-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.check-list li {
  position: relative;
  padding-left: 22px;
  font-size: 0.925rem;
  color: var(--text);
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

.floorplan-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
}

.badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  background: #eff6ff;
  padding: 4px 10px;
  border-radius: 4px;
  margin-bottom: 16px;
}

.floorplan-preview {
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
  background: #ffffff;
  margin-bottom: 14px;
}

.floorplan-preview img,
.sample-svg {
  width: 100%;
  height: auto;
  display: block;
}

.floorplan-caption {
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* Contact */
.contact-container {
  max-width: 820px;
}

.contact-card {
  background: #0f172a;
  color: #ffffff;
  border-radius: 12px;
  padding: 56px 48px;
  text-align: center;
}

.contact-card h2 {
  font-size: 2rem;
  margin-bottom: 14px;
}

.contact-card > p {
  color: #cbd5e1;
  max-width: 540px;
  margin: 0 auto 36px;
}

.contact-methods {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 32px;
}

.contact-item {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.contact-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #94a3b8;
}

.contact-value a {
  color: #ffffff;
  font-size: 1.15rem;
  font-weight: 600;
  text-decoration: none;
}

.contact-value a:hover {
  text-decoration: underline;
}

.service-area {
  font-size: 0.875rem;
  color: #94a3b8;
  margin-bottom: 0 !important;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 28px 0;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(15, 23, 42, 0.95);
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.lightbox.active {
  display: flex;
}

.lightbox-content {
  max-width: 90vw;
  max-height: 85vh;
  text-align: center;
}

.lightbox-content img {
  max-width: 100%;
  max-height: 78vh;
  border-radius: 4px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

#lightbox-caption {
  color: #e2e8f0;
  margin-top: 12px;
  font-size: 0.95rem;
}

.lightbox-close,
.lightbox-nav {
  position: absolute;
  background: none;
  border: none;
  color: #ffffff;
  font-size: 2.25rem;
  cursor: pointer;
  padding: 12px;
  opacity: 0.8;
  transition: opacity 0.2s;
}

.lightbox-close:hover,
.lightbox-nav:hover {
  opacity: 1;
}

.lightbox-close {
  top: 16px;
  right: 24px;
}

.lightbox-prev {
  left: 20px;
}

.lightbox-next {
  right: 20px;
}

/* Responsive */
@media (max-width: 900px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .services-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .nav-links a:not(.btn) {
    display: none;
  }
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  .contact-card {
    padding: 36px 24px;
  }
  .contact-methods {
    grid-template-columns: 1fr;
  }
}