/* ==========================================================================
   Base / reset
   ========================================================================== */
body { margin: 0; padding: 0; box-sizing: border-box; }
* { box-sizing: border-box; }
html { overflow-x: hidden; }
body { overflow-x: hidden; }
img, svg { max-width: 100%; }

#top {
  font-family: 'Manrope', sans-serif;
  color: #2A2E35;
  background: #FFFFFF;
  width: 100%;
  overflow-x: hidden;
}

a { color: #E85D2C; text-decoration: none; }
a:hover { color: #c94a1d; }

/* Utility */
.text-accent { color: #E85D2C; }
.icon-shrink { flex-shrink: 0; }
.icon-mb18 { margin-bottom: 18px; }

/* Hover states */
.nav-link:hover,
.footer-link:hover,
.mobile-nav-link:hover { color: #E85D2C !important; }
.btn-primary:hover { background: #C94A1D !important; }
.btn-outline:hover { border-color: #fff !important; }
.social-link:hover { border-color: #E85D2C !important; color: #E85D2C !important; }
.field-input:focus,
.field-select:focus,
.field-textarea:focus { border-color: #E85D2C !important; }

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-block;
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 16px;
  padding: 16px 28px;
  border-radius: 4px;
  text-align: center;
  cursor: pointer;
}
.btn-primary { background: #E85D2C; color: #fff; border: none; }
.btn-outline { background: transparent; color: #fff; border: 1px solid rgba(255, 255, 255, 0.4); }

/* ==========================================================================
   Header / burger
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #FFFFFF;
  border-bottom: 1px solid #E4E4E1;
}
.site-header-inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 16px 24px;
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.logo {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  flex-shrink: 0;
}
.logo-title {
  font-family: 'Archivo', sans-serif;
  font-weight: 800;
  font-size: 23px;
  letter-spacing: 0.3px;
  color: #1B2431;
  line-height: 1;
}
.logo-dot { color: #E85D2C; }
.logo-sub {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #8A8D92;
  margin-top: 4px;
}

.nav-desktop { display: flex; gap: 26px; flex-wrap: wrap; }
.nav-link {
  font-family: 'Manrope', sans-serif;
  font-size: 14.5px;
  font-weight: 600;
  color: #2A2E35;
}

.header-actions { display: flex; align-items: center; gap: 18px; flex-shrink: 0; }
.header-phone {
  font-family: 'IBM Plex Mono', monospace;
  font-weight: 600;
  font-size: 14.5px;
  color: #1B2431;
  flex-shrink: 0;
}

.burger-btn {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
}
.burger-btn span {
  display: block;
  width: 22px;
  height: 2px;
  background: #1B2431;
  margin: 3px 0;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

/* Mobile nav panel */
.mobile-nav-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 199;
  opacity: 0;
  transition: opacity 0.25s ease;
}
.mobile-nav-backdrop.open { display: block; opacity: 1; }

.mobile-nav {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(320px, 84vw);
  background: #1B2431;
  z-index: 200;
  display: flex;
  flex-direction: column;
  padding: 24px 28px 32px;
  transform: translateX(100%);
  transition: transform 0.28s ease;
  overflow-y: auto;
}
.mobile-nav.open { transform: translateX(0); }

.mobile-nav-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
}
.mobile-nav-logo {
  font-family: 'Archivo', sans-serif;
  font-weight: 800;
  font-size: 20px;
  color: #FFFFFF;
}
.mobile-nav-close {
  background: none;
  border: none;
  color: #fff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  padding: 4px 8px;
}
.mobile-nav-link {
  color: #fff;
  font-family: 'Manrope', sans-serif;
  font-size: 17px;
  font-weight: 600;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.mobile-nav-phone {
  margin-top: 24px;
  color: #E85D2C;
  font-family: 'IBM Plex Mono', monospace;
  font-weight: 600;
  font-size: 15px;
}
body.nav-open { overflow: hidden; }

@media (max-width: 900px) {
  .nav-desktop { display: none; }
  .burger-btn { display: flex; }
}
@media (min-width: 901px) {
  .mobile-nav,
  .mobile-nav-backdrop { display: none !important; }
}
@media (max-width: 400px) {
  .header-phone { display: none; }
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  height: 760px;
  background: #1B2431 url('../img/hero-img.jpg') center/cover no-repeat;
  overflow: hidden;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(27, 36, 49, 0.94) 0%, rgba(27, 36, 49, 0.75) 45%, rgba(27, 36, 49, 0.45) 100%);
  pointer-events: none;
}
.hero-content {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 760px;
  padding-left: 96px;
  padding-right: 24px;
}
.hero-eyebrow {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #E85D2C;
  margin-bottom: 20px;
}
.hero-title {
  font-family: 'Archivo', sans-serif;
  font-weight: 800;
  line-height: 1.08;
  color: #FFFFFF;
  margin: 0 0 24px 0;
  font-size: 56px;
}
.hero-text {
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.75);
  margin: 0 0 36px 0;
  max-width: 560px;
  font-size: 18px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.blueprint-ticks {
  position: absolute;
  left: 24px;
  top: 100px;
  bottom: 60px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  pointer-events: none;
}
.blueprint-tick-row { display: flex; align-items: center; gap: 8px; }
.blueprint-tick-line { width: 16px; height: 1px; background: rgba(255, 255, 255, 0.3); }
.blueprint-tick-label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.35);
}
.blueprint-numbers {
  position: absolute;
  bottom: 28px;
  left: 48px;
  right: 48px;
  display: flex;
  justify-content: space-between;
  pointer-events: none;
}
.blueprint-number {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.3);
}

@media (max-width: 768px) {
  .hero { height: auto; min-height: 560px; padding: 130px 0 56px; }
  .hero-content { padding-left: 24px; padding-right: 24px; max-width: 100%; }
  .hero-title { font-size: 30px !important; line-height: 1.25 !important; }
  .hero-text { font-size: 14px !important; }
  .blueprint-ticks,
  .blueprint-numbers { display: none !important; }
  .hero-actions a { width: 100%; text-align: center; }
}

/* ==========================================================================
   Layout helpers
   ========================================================================== */
.container { max-width: 1320px; margin: 0 auto; }
.section-pad { padding: 120px 48px; }
@media (max-width: 768px) {
  .section-pad { padding: 64px 20px; }
}

.section-intro { max-width: 680px; margin-bottom: 64px; }
.section-intro--tight { margin-bottom: 56px; }

.eyebrow {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #E85D2C;
}

.section-title {
  font-family: 'Archivo', sans-serif;
  font-weight: 800;
  color: #1B2431;
  line-height: 1.1;
  margin: 16px 0 20px 0;
  font-size: 40px;
}
.section-title--light { color: #fff; }
.section-title--sm { font-size: 38px; line-height: 1.15; }
.section-title--xs { font-size: 34px; line-height: 1.15; margin-bottom: 32px; }

.section-lead-text { font-size: 16.5px; line-height: 1.7; color: #4A4E55; margin: 0; }
.section-lead-text--light { color: rgba(255, 255, 255, 0.7); }

.subsection-label {
  font-family: 'Archivo', sans-serif;
  font-weight: 700;
  font-size: 20px;
  color: #1B2431;
  margin-bottom: 24px;
}
.subsection-label--light { color: #fff; }
.subsection-label--pad-top { margin-bottom: 28px; }

/* ==========================================================================
   Stats
   ========================================================================== */
.stats-section { background: #1B2431; padding: 52px 24px; }
.stats-row {
  max-width: 1320px;
  margin: 0 auto;
  display: flex;
  align-items: stretch;
  flex-wrap: wrap;
}
.stat-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 24px;
  border-right: 1px solid rgba(255, 255, 255, 0.14);
  min-width: 140px;
}
.stat-value {
  font-family: 'IBM Plex Mono', monospace;
  font-weight: 600;
  font-size: 40px;
  color: #E85D2C;
  line-height: 1;
}
.stat-label {
  font-family: 'Manrope', sans-serif;
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.65);
  margin-top: 10px;
}

@media (max-width: 560px) {
  .stat-item { flex: 1 1 45%; min-width: 0 !important; margin-bottom: 16px; }
  .stat-value { font-size: 28px !important; }
}

/* ==========================================================================
   About
   ========================================================================== */
.about-section {
  background: #FFFFFF;
  position: relative;
  background-image: repeating-linear-gradient(0deg, rgba(27, 36, 49, 0.035) 0px, rgba(27, 36, 49, 0.035) 1px, transparent 1px, transparent 32px);
}
.about-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 32px;
  align-items: center;
}
.about-text { grid-column: 1 / 6; }
.about-text-p { font-size: 16.5px; line-height: 1.75; color: #4A4E55; margin: 0 0 16px 0; }
.about-text-p:last-child { margin-bottom: 0; }
.about-photo {
  grid-column: 7 / 13;
  height: 420px;
  background: #F5F5F4 url('../img/office.webp') center/cover no-repeat;
}
@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; gap: 28px; }
  .about-text { grid-column: 1 / -1; }
  .about-photo { grid-column: 1 / -1; height: 260px; }
}

/* ==========================================================================
   Stepper (multi / low-rise / process)
   ========================================================================== */
.stepper-row { display: flex; gap: 0; flex-wrap: wrap; margin-bottom: 80px; }
.stepper-row--tight { margin-bottom: 72px; }
.stepper-row--flush { margin-bottom: 0; }

.step-item { flex: 1; min-width: 170px; padding: 0 20px 0 0; position: relative; }
.step-item--sm { min-width: 150px; padding: 0 16px 0 0; }

.step-head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.step-number {
  width: 44px;
  height: 44px;
  border-radius: 4px;
  border: 1.5px solid #1B2431;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'IBM Plex Mono', monospace;
  font-weight: 600;
  font-size: 15px;
  color: #1B2431;
  flex-shrink: 0;
}
.step-number--accent {
  width: 40px;
  height: 40px;
  font-size: 14px;
  border-color: #E85D2C;
  color: #E85D2C;
}
.step-line { height: 1px; flex: 1; background: #D5D5D2; }
.step-line--dark { background: rgba(255, 255, 255, 0.16); }

.step-title { font-family: 'Archivo', sans-serif; font-weight: 700; font-size: 16px; color: #1B2431; margin-bottom: 6px; }
.step-title--light { color: #FFFFFF; font-size: 15px; }
.step-desc { font-size: 13.5px; line-height: 1.5; color: #6B6F76; }
.step-desc--light { font-size: 13px; color: rgba(255, 255, 255, 0.55); }

.process-step { flex: 1; min-width: 150px; text-align: center; position: relative; padding: 0 12px; }
.process-badge {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #1B2431;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px auto;
  font-family: 'IBM Plex Mono', monospace;
  font-weight: 600;
  font-size: 16px;
  color: #E85D2C;
}
.process-step-title { font-family: 'Archivo', sans-serif; font-weight: 700; font-size: 15px; color: #1B2431; }

@media (max-width: 560px) {
  .stepper-row { flex-direction: column; gap: 24px !important; }
  .stepper-row > div { padding-right: 0 !important; min-width: 0 !important; width: 100%; }
}

/* ==========================================================================
   Cards grids (project cards, tech specs, advantages, features)
   ========================================================================== */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}
.cards-grid--gap36 { gap: 36px; }
.cards-grid--mb80 { margin-bottom: 80px; }
.cards-grid--mb72 { margin-bottom: 72px; }
.cards-grid--mb64 { margin-bottom: 64px; }
.cards-grid--mb56 { margin-bottom: 56px; }
@media (max-width: 560px) {
  .cards-grid { grid-template-columns: 1fr; }
}

.project-card {
  display: block;
  background: #FFFFFF;
  border: 1px solid #E4E4E1;
  border-radius: 6px;
  overflow: hidden;
  color: inherit;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.project-card:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(27, 36, 49, 0.12); color: inherit; }
.project-card--dark { background: rgba(255, 255, 255, 0.04); border-color: rgba(255, 255, 255, 0.14); }
.project-card--dark:hover { box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35); }

.project-card-photo { height: 200px; background: #F5F5F4; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.project-card-photo--dark { background: rgba(255, 255, 255, 0.03); }
.project-card-photo-img { width: 100%; height: 100%; object-fit: cover; display: block; }
.project-card-photo-label { font-family: 'IBM Plex Mono', monospace; font-size: 12px; color: #8A8D92; }
.project-card-photo-label--dark { color: rgba(255, 255, 255, 0.35); }

.project-card-body { padding: 20px; }
.project-card-title { font-family: 'Archivo', sans-serif; font-weight: 700; font-size: 16px; color: #1B2431; margin-bottom: 10px; }
.project-card-title--light { color: #FFFFFF; }
.project-card-meta { display: flex; gap: 14px; font-family: 'IBM Plex Mono', monospace; font-size: 13px; color: #6B6F76; }
.project-card-meta--light { color: rgba(255, 255, 255, 0.6); }

.feature-item { display: flex; gap: 14px; align-items: flex-start; }
.feature-text { font-size: 15px; color: #2A2E35; line-height: 1.5; }
.feature-text--light { color: rgba(255, 255, 255, 0.85); }

.feature-title { font-family: 'Archivo', sans-serif; font-weight: 700; font-size: 17px; color: #1B2431; margin-bottom: 10px; }
.feature-desc { font-size: 15px; line-height: 1.6; color: #6B6F76; }

/* ==========================================================================
   Multi-story section
   ========================================================================== */
.multi-section { background: #F5F5F4; }

/* ==========================================================================
   Low-rise section
   ========================================================================== */
.lowrise-section { background: #1B2431; position: relative; border-top: 4px solid #E85D2C; }

/* ==========================================================================
   Process section
   ========================================================================== */
.process-section { background: #FFFFFF; }

/* ==========================================================================
   Portfolio section
   ========================================================================== */
.portfolio-section { background: #F5F5F4; }

/* ==========================================================================
   Why us section
   ========================================================================== */
.whyus-section { background: #FFFFFF; }

/* ==========================================================================
   Lead form
   ========================================================================== */
.leadform-section { background: #1B2431; }
.lead-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 48px;
  align-items: start;
}
.lead-text { grid-column: 1 / 6; }
.lead-text-p { font-size: 16px; line-height: 1.7; color: rgba(255, 255, 255, 0.65); margin: 0; }
.lead-form-box { grid-column: 7 / 13; padding: 40px; background: #232D3D; border-radius: 6px; }
@media (max-width: 900px) {
  .lead-grid { grid-template-columns: 1fr; gap: 28px; }
  .lead-text { grid-column: 1 / -1; }
  .lead-form-box { grid-column: 1 / -1; padding: 24px; }
}

.form-success { padding: 40px 0; text-align: center; }
.form-success-title { font-family: 'Archivo', sans-serif; font-weight: 700; font-size: 20px; color: #FFFFFF; margin-bottom: 10px; }
.form-success-desc { font-size: 15px; color: rgba(255, 255, 255, 0.6); }

.lead-form { display: flex; flex-direction: column; gap: 18px; }
.form-errors {
  background: rgba(232, 93, 44, 0.12);
  border: 1px solid rgba(232, 93, 44, 0.4);
  color: #E85D2C;
  font-size: 14px;
  padding: 12px 16px;
  border-radius: 4px;
}
.form-field-label {
  display: block;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 8px;
}
.field-input,
.field-select,
.field-textarea {
  width: 100%;
  background: #1B2431;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 4px;
  padding: 14px 16px;
  font-family: 'Manrope', sans-serif;
  font-size: 15px;
  color: #FFFFFF;
  outline: none;
}
.field-textarea { resize: vertical; }
.btn-submit { margin-top: 6px; }

/* ==========================================================================
   Contacts
   ========================================================================== */
.contacts-section { background: #FFFFFF; }
.contacts-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 48px; }
.contacts-info { grid-column: 1 / 5; }
.contact-list { display: flex; flex-direction: column; gap: 22px; }
.contact-row { display: flex; gap: 14px; align-items: flex-start; }
.contact-icon { flex-shrink: 0; margin-top: 2px; }
.contact-phone { font-family: 'IBM Plex Mono', monospace; font-size: 16px; color: #1B2431; font-weight: 600; }
.contact-hours { font-size: 13.5px; color: #8A8D92; margin-top: 2px; }
.contact-email { font-family: 'Manrope', sans-serif; font-size: 15px; color: #2A2E35; }
.contact-address { font-family: 'Manrope', sans-serif; font-size: 15px; color: #2A2E35; line-height: 1.5; }

.contacts-map {
  grid-column: 5 / 13;
  height: 380px;
  position: relative;
  background: #F5F5F4;
  border-radius: 6px;
  overflow: hidden;
}
.map-embed { position: relative; width: 100%; height: 100%; }
.map-iframe { width: 100% !important; height: 100% !important; border: 0; display: block; }
.map-credit {
  color: #eee;
  font-size: 11px;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  padding: 2px 6px;
}

@media (max-width: 900px) {
  .contacts-grid { grid-template-columns: 1fr; gap: 28px; }
  .contacts-info { grid-column: 1 / -1; }
  .contacts-map { grid-column: 1 / -1; height: 280px; }
}

/* ==========================================================================
   Building detail pages
   ========================================================================== */
.detail-banner { background: #1B2431; padding: 56px 24px; }
.breadcrumb {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 16px;
}
.breadcrumb a { color: rgba(255, 255, 255, 0.5); }
.breadcrumb a:hover { color: #E85D2C; }
.detail-title {
  font-family: 'Archivo', sans-serif;
  font-weight: 800;
  font-size: 40px;
  line-height: 1.1;
  color: #FFFFFF;
  margin: 0 0 16px 0;
}
.detail-meta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.65);
}
@media (max-width: 560px) {
  .detail-title { font-size: 28px; }
}

.detail-description { font-size: 16.5px; line-height: 1.75; color: #4A4E55; max-width: 760px; margin-bottom: 56px; }
.detail-description p { margin: 0 0 16px 0; }
.detail-description p:last-child { margin-bottom: 0; }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}
.gallery-item { border-radius: 6px; overflow: hidden; background: #F5F5F4; height: 260px; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gallery-empty {
  background: #F5F5F4;
  border-radius: 6px;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 13px;
  color: #8A8D92;
  text-align: center;
  padding: 0 24px;
}

.detail-cta { margin-top: 56px; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: #161D27; padding: 56px 24px 32px 24px; border-top: 1px solid rgba(255, 255, 255, 0.08); }
.footer-inner { max-width: 1320px; margin: 0 auto; }
.footer-top { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 32px; margin-bottom: 40px; }
.footer-logo-title { font-family: 'Archivo', sans-serif; font-weight: 800; font-size: 22px; color: #FFFFFF; }
.footer-logo-sub {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  margin-top: 6px;
}
.footer-nav { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-link { font-size: 14px; color: rgba(255, 255, 255, 0.65); }
.footer-socials { display: flex; gap: 12px; }
.social-link {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.65);
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-fine { font-family: 'IBM Plex Mono', monospace; font-size: 12.5px; color: rgba(255, 255, 255, 0.35); }
