/* ==============================================
   ARCHI. - Premium Architecture Portfolio
   Single CSS File
   ============================================== */

/* ----- CSS VARIABLES ----- */
:root {
  --bg-primary: #FAF9F6;
  --bg-secondary: #F2EFE9;
  --bg-card: #FFFFFF;
  --text-primary: #1C1917;
  --text-secondary: #78716C;
  --accent: #C85A3D;
  --accent-hover: #B34E33;
  --sage: #7A8B69;
  --border: #E7E5E4;
  --shadow: 0 10px 30px -10px rgba(28, 25, 23, 0.08);
  --shadow-hover: 0 20px 40px -15px rgba(28, 25, 23, 0.12);
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'DM Sans', -apple-system, sans-serif;
  --nav-height: 72px;
}

/* ----- RESET & BASE ----- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font-body);
  color: var(--text-primary);
  background: var(--bg-primary);
  line-height: 1.7;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ----- CUSTOM SCROLLBAR ----- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-primary); }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--text-secondary); }

/* ----- TYPOGRAPHY ----- */
h1, h2, h3, h4, h5 {
  font-family: var(--font-heading);
  font-weight: 500;
  line-height: 1.2;
  color: var(--text-primary);
}

.section-tag {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  display: block;
  margin-bottom: 1rem;
}

.section-title-large {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  margin-bottom: 1.5rem;
}

/* ----- BUTTONS ----- */
.btn-primary-archi {
  display: inline-block;
  padding: 14px 36px;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  border: 2px solid var(--accent);
  border-radius: 0;
  cursor: pointer;
  transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.btn-primary-archi:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px -8px rgba(200, 90, 61, 0.3);
}

.btn-outline-archi {
  display: inline-block;
  padding: 14px 36px;
  background: transparent;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  border: 2px solid var(--text-primary);
  border-radius: 0;
  cursor: pointer;
  transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.btn-outline-archi:hover {
  background: var(--text-primary);
  color: var(--bg-primary);
  transform: translateY(-2px);
}

.btn-full { width: 100%; text-align: center; }

/* ==============================================
   NAVBAR
   ============================================== */
.navbar-main {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: var(--bg-primary);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.navbar-main.scrolled {
  border-bottom-color: var(--border);
  box-shadow: 0 2px 20px -10px rgba(28,25,23,0.06);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-height);
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav-links a {
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  color: var(--text-secondary);
  transition: color 0.3s;
  position: relative;
}
.nav-links a:hover, .nav-links a.active { color: var(--text-primary); }
.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0; right: 0;
  height: 1.5px;
  background: var(--accent);
}
.nav-cta {
  padding: 10px 24px !important;
  border: 1.5px solid var(--text-primary) !important;
  color: var(--text-primary) !important;
  transition: all 0.3s !important;
}
.nav-cta:hover {
  background: var(--text-primary) !important;
  color: var(--bg-primary) !important;
}

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-hamburger span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--text-primary);
  transition: all 0.3s;
}
.nav-hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(4px, 5px); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(4px, -5px); }

/* Mobile Drawer */
.mobile-drawer {
  display: none;
  flex-direction: column;
  gap: 1.5rem;
  padding: 2rem 0;
  border-top: 1px solid var(--border);
}
.mobile-drawer.open { display: flex; }
.mobile-drawer a {
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--text-primary);
}

@media (max-width: 991px) {
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
}

/* ==============================================
   HERO: 3D ASSEMBLING BLUEPRINT
   Pinned scroll sequence - 250vh
   ============================================== */
.hero-scroll-container {
  height: 250vh;
  position: relative;
}
.hero-pin-wrapper {
  position: relative;
  width: 100%;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3rem;
  width: 100%;
  max-width: 900px;
  padding: 0 1.5rem;
}

/* 3D Perspective Stage */
.perspective-stage {
  perspective: 1500px;
  width: 320px;
  height: 300px;
  position: relative;
}

.house-assembly {
  width: 100%;
  height: 100%;
  position: relative;
  transform-style: preserve-3d;
}

/* House Layers - shared */
.house-layer {
  position: absolute;
  width: 100%;
  display: flex;
  justify-content: center;
  transform-style: preserve-3d;
}

/* Layer 1: Foundation */
.layer-foundation {
  bottom: 0;
}
.foundation-block {
  width: 220px;
  height: 18px;
  background: #44403C;
  border-radius: 2px;
}

/* Layer 2: First Floor Walls */
.layer-first-floor {
  bottom: 18px;
  height: 100px;
}
.wall {
  position: absolute;
  background: #D6D3D1;
}
.wall-left {
  left: 50px;
  bottom: 0;
  width: 12px;
  height: 100px;
}
.wall-right {
  right: 50px;
  bottom: 0;
  width: 12px;
  height: 100px;
}
.wall-back {
  left: 50px;
  bottom: 0;
  width: 220px;
  height: 100px;
  background: #E7E5E4;
  z-index: -1;
}

/* Layer 3: Second Floor */
.layer-second-floor {
  bottom: 118px;
  height: 80px;
}
.mezzanine-floor {
  position: absolute;
  bottom: 0;
  left: 50px;
  width: 220px;
  height: 6px;
  background: #A8A29E;
}
.wall-upper-left {
  left: 50px;
  bottom: 6px;
  width: 12px;
  height: 74px;
}
.wall-upper-right {
  right: 50px;
  bottom: 6px;
  width: 12px;
  height: 74px;
}

/* Layer 4: Roof */
.layer-roof {
  bottom: 198px;
}
.roof-shape {
  width: 0;
  height: 0;
  border-left: 130px solid transparent;
  border-right: 130px solid transparent;
  border-bottom: 60px solid #78716C;
}

/* Layer 5: Windows & Doors */
.layer-windows {
  bottom: 18px;
  height: 180px;
  pointer-events: none;
}
.window {
  position: absolute;
  background: #C8E0F4;
  border: 2px solid #A8A29E;
}
.win-1 { left: 75px; bottom: 30px; width: 30px; height: 40px; }
.win-2 { right: 75px; bottom: 30px; width: 30px; height: 40px; }
.win-3 { left: 130px; bottom: 110px; width: 50px; height: 35px; }
.door-main {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0;
  width: 32px;
  height: 55px;
  background: var(--accent);
  border-radius: 2px 2px 0 0;
}

/* Layer 6: Interior Furniture */
.layer-interior {
  bottom: 18px;
  height: 180px;
  pointer-events: none;
}
.furniture { position: absolute; }
.sofa-css {
  left: 68px;
  bottom: 8px;
  width: 40px;
  height: 16px;
  background: var(--sage);
  border-radius: 3px 3px 0 0;
}
.sofa-css::after {
  content: '';
  position: absolute;
  bottom: 0; left: -3px;
  width: 46px;
  height: 6px;
  background: #6B7A5C;
  border-radius: 2px;
}
.table-css {
  right: 72px;
  bottom: 8px;
  width: 24px;
  height: 14px;
  background: #A8A29E;
  border-radius: 2px;
}
.table-css::after {
  content: '';
  position: absolute;
  bottom: -8px; left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 8px;
  background: #78716C;
}
.plant-css {
  left: 140px;
  bottom: 110px;
  width: 14px;
  height: 20px;
  background: var(--sage);
  border-radius: 50% 50% 0 0;
}
.plant-css::after {
  content: '';
  position: absolute;
  bottom: -8px; left: 3px;
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 1px;
}
.lamp-css {
  right: 80px;
  bottom: 108px;
  width: 3px;
  height: 30px;
  background: #44403C;
}
.lamp-css::before {
  content: '';
  position: absolute;
  top: -8px; left: -6px;
  width: 15px;
  height: 10px;
  background: #FDE68A;
  border-radius: 50% 50% 0 0;
}

/* Hero Text */
.hero-text {
  text-align: center;
}
.hero-headline {
  font-size: clamp(2rem, 5vw, 3.5rem);
  margin-bottom: 1rem;
  line-height: 1.15;
}
.hero-sub {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 500px;
  margin: 0 auto 2rem;
}
.hero-ctas {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ==============================================
   CAMERA FLY-THROUGH TRANSITION
   Nested 3D rooms with translateZ animation
   ============================================== */
.flythrough-container {
  height: 300vh;
  position: relative;
  background: var(--bg-secondary);
}
.flythrough-pin {
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.flythrough-viewport {
  perspective: 1000px;
  width: 100%;
  max-width: 700px;
  height: 400px;
  position: relative;
  overflow: hidden;
}
.flythrough-track {
  width: 100%;
  height: 100%;
  position: relative;
  transform-style: preserve-3d;
}
.fly-room {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
}
.room-label {
  position: absolute;
  top: 20px; left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-heading);
  font-size: 1.2rem;
  color: var(--text-secondary);
  z-index: 10;
  letter-spacing: 0.05em;
}

/* Room walls */
.room-floor {
  position: absolute;
  bottom: 0; left: 10%; right: 10%;
  height: 40%;
  background: #E7E5E4;
  transform: rotateX(60deg);
  transform-origin: bottom center;
}
.room-wall-back {
  position: absolute;
  top: 10%; left: 10%; right: 10%; bottom: 40%;
  background: #F5F5F4;
  border: 1px solid var(--border);
}
.room-wall-left {
  position: absolute;
  top: 10%; left: 10%; width: 60px; bottom: 40%;
  background: #EDEBE8;
  transform: skewY(-10deg);
  transform-origin: top left;
}
.room-wall-right {
  position: absolute;
  top: 10%; right: 10%; width: 60px; bottom: 40%;
  background: #EDEBE8;
  transform: skewY(10deg);
  transform-origin: top right;
}

/* Room 1 furniture: Living Room */
.room-sofa {
  position: absolute;
  bottom: 38%; left: 25%;
  width: 120px; height: 30px;
  background: var(--sage);
  border-radius: 4px 4px 0 0;
}
.room-coffee-table {
  position: absolute;
  bottom: 36%; left: 42%;
  width: 60px; height: 12px;
  background: #A8A29E;
  border-radius: 2px;
}
.room-floor-lamp {
  position: absolute;
  bottom: 38%; right: 22%;
  width: 4px; height: 60px;
  background: #44403C;
}
.room-floor-lamp::before {
  content: '';
  position: absolute;
  top: -10px; left: -8px;
  width: 20px; height: 12px;
  background: #FDE68A;
  border-radius: 50%;
}

/* Room 2 furniture: Kitchen */
.room-counter {
  position: absolute;
  bottom: 38%; left: 15%; right: 15%;
  height: 20px;
  background: #D6D3D1;
  border-top: 3px solid #A8A29E;
}
.room-island {
  position: absolute;
  bottom: 30%; left: 35%; right: 35%;
  height: 16px;
  background: #E7E5E4;
  border-top: 3px solid var(--accent);
}
.room-pendant {
  position: absolute;
  top: 15%; left: 50%;
  transform: translateX(-50%);
  width: 2px; height: 40px;
  background: #44403C;
}
.room-pendant::after {
  content: '';
  position: absolute;
  bottom: -8px; left: -10px;
  width: 22px; height: 10px;
  background: #FDE68A;
  border-radius: 0 0 50% 50%;
}

/* Room 3 furniture: Bedroom */
.room-bed {
  position: absolute;
  bottom: 38%; left: 25%;
  width: 140px; height: 24px;
  background: #E7E5E4;
  border: 2px solid #D6D3D1;
  border-radius: 3px;
}
.room-bed::before {
  content: '';
  position: absolute;
  top: -12px; left: 0;
  width: 140px; height: 12px;
  background: #D6D3D1;
  border-radius: 3px 3px 0 0;
}
.room-nightstand {
  position: absolute;
  bottom: 38%; right: 20%;
  width: 24px; height: 20px;
  background: #A8A29E;
  border-radius: 2px;
}
.room-plant-tall {
  position: absolute;
  bottom: 38%; left: 18%;
  width: 16px; height: 40px;
  background: var(--sage);
  border-radius: 50% 50% 0 0;
}

.flythrough-caption {
  margin-top: 2rem;
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--text-secondary);
}

/* ==============================================
   PHILOSOPHY SECTION
   ============================================== */
.section-philosophy {
  padding: 10rem 0;
  background: var(--bg-primary);
}
.philosophy-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 4rem;
  align-items: start;
}
.philosophy-quote blockquote {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 3.5vw, 2.8rem);
  font-style: italic;
  line-height: 1.35;
  color: var(--text-primary);
  margin-bottom: 1rem;
}
.philosophy-quote cite {
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--text-secondary);
  font-style: normal;
}
.philosophy-text p {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.8;
  max-width: 520px;
}

@media (max-width: 768px) {
  .philosophy-grid { grid-template-columns: 1fr; gap: 2rem; }
}

/* ==============================================
   FEATURED PROJECTS
   ============================================== */
.section-featured {
  padding: 8rem 0;
  background: var(--bg-secondary);
}
.section-header-featured {
  margin-bottom: 4rem;
}
.featured-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.featured-card {
  background: var(--bg-card);
  overflow: hidden;
  transition: box-shadow 0.4s;
  cursor: pointer;
}
.featured-card:hover { box-shadow: var(--shadow-hover); }
.featured-card-visual {
  height: 320px;
  background: var(--bg-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}
.featured-card:hover .css-building { transform: scale(1.05); }
.css-building { transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94); }

.featured-card-info {
  padding: 2rem;
}
.featured-card-info .project-year {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: var(--accent);
  text-transform: uppercase;
  font-weight: 600;
}
.featured-card-info h3 {
  font-size: 1.5rem;
  margin: 0.5rem 0 0.25rem;
  transition: transform 0.4s;
}
.featured-card:hover .featured-card-info h3 { transform: translateY(-4px); }
.featured-card-info p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}
.project-type {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-secondary);
}

@media (max-width: 991px) {
  .featured-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 576px) {
  .featured-grid { grid-template-columns: 1fr; }
}

/* ----- CSS BUILDINGS (Featured Cards) ----- */
/* Modern House */
.building-modern { position: relative; width: 180px; height: 140px; }
.building-modern .bld-base {
  position: absolute; bottom: 0; left: 10px;
  width: 160px; height: 60px;
  background: #D6D3D1;
}
.building-modern .bld-glass {
  position: absolute; bottom: 10px; left: 20px;
  width: 60px; height: 40px;
  background: #C8E0F4;
  border: 1px solid #A8A29E;
}
.building-modern .bld-cantilever {
  position: absolute; bottom: 60px; left: 0;
  width: 120px; height: 50px;
  background: #A8A29E;
}
.building-modern .bld-tree {
  position: absolute; bottom: 0; right: 0;
  width: 20px; height: 50px;
  background: var(--sage);
  border-radius: 50% 50% 0 0;
}
.building-modern .bld-tree::after {
  content: '';
  position: absolute; bottom: 0; left: 8px;
  width: 4px; height: 20px;
  background: #78716C;
}

/* Apartment */
.building-apartment { position: relative; width: 100px; height: 160px; }
.building-apartment .bld-tower {
  position: absolute; bottom: 0; left: 10px;
  width: 80px; height: 150px;
  background: #E7E5E4;
  border: 1px solid #D6D3D1;
}
.building-apartment .bld-windows-grid {
  position: absolute; bottom: 20px; left: 20px;
  width: 60px; height: 120px;
  background: repeating-linear-gradient(
    to bottom,
    #C8E0F4 0px, #C8E0F4 12px,
    #E7E5E4 12px, #E7E5E4 20px
  );
}
.building-apartment .bld-entrance {
  position: absolute; bottom: 0; left: 35px;
  width: 30px; height: 18px;
  background: var(--accent);
}

/* Commercial */
.building-commercial { position: relative; width: 200px; height: 120px; }
.building-commercial .bld-wide-base {
  position: absolute; bottom: 0; left: 0;
  width: 200px; height: 70px;
  background: #D6D3D1;
}
.building-commercial .bld-curtain-wall {
  position: absolute; bottom: 10px; left: 10px;
  width: 180px; height: 50px;
  background: repeating-linear-gradient(
    to right,
    #C8E0F4 0px, #C8E0F4 20px,
    #A8A29E 20px, #A8A29E 22px
  );
}
.building-commercial .bld-canopy {
  position: absolute; bottom: 70px; left: -10px;
  width: 220px; height: 6px;
  background: #78716C;
}
.building-commercial .bld-landscape {
  position: absolute; bottom: 0; right: -20px;
  width: 30px; height: 25px;
  background: var(--sage);
  border-radius: 50%;
}

/* Small variants for project cards */
.css-building.small { transform: scale(0.7); }

/* Interior buildings */
.building-interior { position: relative; width: 160px; height: 120px; }
.building-interior::before {
  content: '';
  position: absolute; bottom: 0; left: 0;
  width: 160px; height: 100px;
  background: #F5F5F4;
  border: 1px solid var(--border);
}
.building-interior::after {
  content: '';
  position: absolute; bottom: 10px; left: 20px;
  width: 50px; height: 25px;
  background: var(--sage);
  border-radius: 3px;
}

.building-interior-2 { position: relative; width: 160px; height: 120px; }
.building-interior-2::before {
  content: '';
  position: absolute; bottom: 0; left: 10px;
  width: 140px; height: 90px;
  background: #EDEBE8;
  border: 1px solid var(--border);
}
.building-interior-2::after {
  content: '';
  position: absolute; bottom: 15px; right: 25px;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.3;
}

.building-concept { position: relative; width: 140px; height: 140px; }
.building-concept::before {
  content: '';
  position: absolute; bottom: 20px; left: 20px;
  width: 100px; height: 100px;
  border: 2px solid var(--text-primary);
  transform: rotate(15deg);
}
.building-concept::after {
  content: '';
  position: absolute; bottom: 30px; left: 30px;
  width: 80px; height: 80px;
  border: 2px solid var(--accent);
  transform: rotate(30deg);
}

/* ==============================================
   PROCESS SECTION
   ============================================== */
.section-process {
  padding: 8rem 0;
  background: var(--bg-primary);
}
.section-header-center {
  text-align: center;
  margin-bottom: 5rem;
}
.process-timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  position: relative;
}
.process-line {
  position: absolute;
  top: 30px;
  left: 12.5%;
  right: 12.5%;
  height: 1px;
  background: var(--border);
}
.process-step {
  text-align: center;
  position: relative;
  z-index: 1;
}
.step-number {
  width: 60px; height: 60px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--accent);
  transition: all 0.3s;
}
.process-step:hover .step-number {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
.process-step h4 {
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
}
.process-step p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

@media (max-width: 768px) {
  .process-timeline { grid-template-columns: 1fr 1fr; gap: 3rem; }
  .process-line { display: none; }
}
@media (max-width: 480px) {
  .process-timeline { grid-template-columns: 1fr; }
}

/* ==============================================
   STATS SECTION
   ============================================== */
.section-stats {
  padding: 6rem 0;
  background: var(--text-primary);
  color: var(--bg-primary);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}
.stat-number {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 500;
  color: var(--bg-primary);
}
.stat-suffix {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--accent);
}
.stat-item p {
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #A8A29E;
  margin-top: 0.5rem;
}

@media (max-width: 768px) {
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 3rem; }
}

/* ==============================================
   MATERIALS 3D WALL CROSS-SECTION
   ============================================== */
.section-materials {
  padding: 8rem 0;
  background: var(--bg-secondary);
}
.materials-header {
  text-align: center;
  margin-bottom: 4rem;
}
.materials-sub {
  color: var(--text-secondary);
  max-width: 500px;
  margin: 0 auto;
}
.materials-stage-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4rem;
  flex-wrap: wrap;
}
.materials-perspective {
  perspective: 1200px;
  width: 400px;
  height: 250px;
}
.wall-cross-section {
  width: 100%;
  height: 100%;
  position: relative;
  transform-style: preserve-3d;
}
.wall-layer {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Studs */
.layer-studs { z-index: 1; }
.stud {
  width: 12px;
  height: 200px;
  background: #A1887F;
  margin: 0 18px;
}
/* Insulation */
.layer-insulation { z-index: 2; }
.insulation-fill {
  width: 300px;
  height: 200px;
  background: #FFF9C4;
  opacity: 0.7;
  border-radius: 4px;
}
/* Drywall */
.layer-drywall { z-index: 3; }
.drywall-sheet {
  width: 320px;
  height: 210px;
  background: #F5F5F4;
  border: 1px solid var(--border);
}
/* Paint */
.layer-paint { z-index: 4; }
.paint-surface {
  width: 330px;
  height: 215px;
  background: var(--bg-primary);
  border: 1px solid var(--border);
}
.stud-label {
  position: absolute;
  bottom: -28px;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-secondary);
  white-space: nowrap;
}

/* Legend */
.materials-legend {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.legend-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
}
.legend-swatch {
  width: 20px; height: 20px;
  border-radius: 3px;
  flex-shrink: 0;
}
.swatch-studs { background: #A1887F; }
.swatch-insulation { background: #FFF9C4; }
.swatch-drywall { background: #F5F5F4; border: 1px solid var(--border); }
.swatch-paint { background: var(--bg-primary); border: 1px solid var(--border); }

/* ==============================================
   TESTIMONIALS
   ============================================== */
.section-testimonials {
  padding: 8rem 0;
  background: var(--bg-primary);
}
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.testimonial-card {
  background: var(--bg-card);
  padding: 2.5rem;
  box-shadow: var(--shadow);
  transition: box-shadow 0.3s, transform 0.3s;
}
.testimonial-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
}
.testimonial-stars {
  color: var(--accent);
  font-size: 0.8rem;
  margin-bottom: 1.5rem;
  display: flex;
  gap: 3px;
}
.testimonial-card > p {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  font-style: italic;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.author-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  flex-shrink: 0;
}
.avatar-1 { background: linear-gradient(135deg, #D6D3D1, #A8A29E); }
.avatar-2 { background: linear-gradient(135deg, var(--sage), #5C6B4F); }
.avatar-3 { background: linear-gradient(135deg, var(--accent), #A04830); }
.testimonial-author strong {
  display: block;
  font-size: 0.9rem;
  font-family: var(--font-body);
}
.testimonial-author span {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

@media (max-width: 991px) {
  .testimonials-grid { grid-template-columns: 1fr; max-width: 600px; margin: 0 auto; }
}

/* ==============================================
   NEWSLETTER
   ============================================== */
.section-newsletter {
  padding: 6rem 0;
  background: var(--bg-secondary);
}
.newsletter-inner {
  text-align: center;
  max-width: 560px;
  margin: 0 auto;
}
.newsletter-inner h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  margin-bottom: 1rem;
}
.newsletter-inner > p {
  color: var(--text-secondary);
  margin-bottom: 2rem;
}
.newsletter-form {
  display: flex;
  gap: 0;
}
.newsletter-form input {
  flex: 1;
  padding: 14px 20px;
  border: 2px solid var(--border);
  border-right: none;
  background: var(--bg-card);
  font-family: var(--font-body);
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.3s;
}
.newsletter-form input:focus { border-color: var(--accent); }
.newsletter-form .btn-primary-archi { border-radius: 0; white-space: nowrap; }

@media (max-width: 576px) {
  .newsletter-form { flex-direction: column; }
  .newsletter-form input { border-right: 2px solid var(--border); }
}

/* ==============================================
   FOOTER
   ============================================== */
.site-footer {
  background: var(--bg-secondary);
  padding: 5rem 0 2rem;
  border-top: 1px solid var(--border);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  margin-bottom: 4rem;
}
.footer-logo {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
}
.footer-brand p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  max-width: 280px;
}
.footer-col h5 {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  color: var(--text-primary);
}
.footer-col a {
  display: block;
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 0.75rem;
  transition: color 0.3s;
}
.footer-col a:hover { color: var(--accent); }
.footer-address {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-top: 0.5rem;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}
.footer-bottom p {
  font-size: 0.8rem;
  color: var(--text-secondary);
}
.footer-socials {
  display: flex;
  gap: 1.5rem;
}
.footer-socials a {
  color: var(--text-secondary);
  font-size: 1rem;
  transition: color 0.3s;
}
.footer-socials a:hover { color: var(--accent); }

@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
}

/* ==============================================
   BACK TO TOP
   ============================================== */
.back-to-top {
  position: fixed;
  bottom: 2rem; right: 2rem;
  width: 44px; height: 44px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-primary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
  z-index: 999;
}
.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}
.back-to-top:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

/* ==============================================
   INNER PAGE HEROES
   ============================================== */
.page-hero {
  padding: 10rem 0 5rem;
  background: var(--bg-primary);
}
.page-hero-title {
  font-size: clamp(3rem, 8vw, 6rem);
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 1rem;
}
.page-hero-sub {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 500px;
}

/* ==============================================
   PROJECTS PAGE
   ============================================== */
.filter-bar-section {
  padding: 2rem 0;
  border-bottom: 1px solid var(--border);
  background: var(--bg-primary);
  position: sticky;
  top: var(--nav-height);
  z-index: 100;
}
.filter-bar {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
.filter-btn {
  padding: 8px 20px;
  background: none;
  border: 1.5px solid var(--border);
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.3s;
}
.filter-btn:hover, .filter-btn.active {
  border-color: var(--text-primary);
  color: var(--text-primary);
  background: var(--bg-primary);
}

.section-projects-grid {
  padding: 4rem 0 8rem;
}
.projects-masonry {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.project-card {
  display: block;
  transition: transform 0.3s;
}
.project-card:hover { transform: translateY(-4px); }
.project-card-visual {
  height: 260px;
  background: var(--bg-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  transition: background 0.3s;
  overflow: hidden;
}
.project-card-visual.tall { height: 360px; }
.project-card:hover .project-card-visual { background: #EDEBE8; }
.project-card-info h3 {
  font-size: 1.2rem;
  margin-bottom: 0.25rem;
  transition: color 0.3s;
}
.project-card:hover .project-card-info h3 { color: var(--accent); }
.project-card-info span {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

@media (max-width: 991px) {
  .projects-masonry { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 576px) {
  .projects-masonry { grid-template-columns: 1fr; }
  .project-card-visual.tall { height: 260px; }
}

/* ==============================================
   PROJECT DETAIL PAGE
   ============================================== */
.breadcrumb-section {
  padding: calc(var(--nav-height) + 2rem) 0 1rem;
}
.breadcrumb-archi {
  display: flex;
  gap: 0.5rem;
  list-style: none;
  font-size: 0.85rem;
  color: var(--text-secondary);
}
.breadcrumb-archi a:hover { color: var(--accent); }
.breadcrumb-archi li::after { content: '/'; margin-left: 0.5rem; }
.breadcrumb-archi li:last-child::after { content: ''; }
.breadcrumb-archi .current { color: var(--text-primary); }

.project-detail-hero {
  padding: 3rem 0 5rem;
}
.pdh-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 4rem;
  align-items: end;
}
.pdh-title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  margin: 0.5rem 0 1.5rem;
}
.pdh-desc {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.8;
}
.pdh-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
.meta-label {
  display: block;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-secondary);
  margin-bottom: 0.25rem;
}
.meta-value {
  font-size: 1rem;
  font-weight: 500;
}

@media (max-width: 768px) {
  .pdh-grid { grid-template-columns: 1fr; gap: 2rem; }
}

/* Gallery */
.project-gallery { padding: 0 0 5rem; }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.gallery-item {
  height: 280px;
  background: var(--bg-secondary);
  overflow: hidden;
}
.gallery-item.gi-large {
  grid-column: span 2;
  height: 400px;
}
.gallery-item.gi-wide {
  grid-column: span 3;
  height: 300px;
}

/* CSS Rooms for gallery */
.css-room {
  width: 100%; height: 100%;
  position: relative;
}
.room-exterior {
  background: linear-gradient(180deg, #C8E0F4 0%, #E7E5E4 60%, var(--sage) 60%, var(--sage) 100%);
}
.room-exterior::before {
  content: '';
  position: absolute; bottom: 40%; left: 30%;
  width: 120px; height: 80px;
  background: #D6D3D1;
}
.room-exterior::after {
  content: '';
  position: absolute; bottom: calc(40% + 80px); left: 25%;
  width: 0; height: 0;
  border-left: 70px solid transparent;
  border-right: 70px solid transparent;
  border-bottom: 40px solid #A8A29E;
}
.room-living-gallery {
  background: #F5F5F4;
}
.room-living-gallery::before {
  content: '';
  position: absolute; bottom: 20%; left: 20%;
  width: 100px; height: 30px;
  background: var(--sage);
  border-radius: 4px;
}
.room-kitchen-gallery {
  background: #EDEBE8;
}
.room-kitchen-gallery::before {
  content: '';
  position: absolute; bottom: 30%; left: 10%; right: 10%;
  height: 20px;
  background: #D6D3D1;
}
.room-terrace {
  background: linear-gradient(180deg, #87CEEB 0%, #87CEEB 50%, #D6D3D1 50%, #D6D3D1 100%);
}

@media (max-width: 768px) {
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-item.gi-large, .gallery-item.gi-wide { grid-column: span 1; height: 250px; }
}

/* Project About */
.project-about {
  padding: 4rem 0;
}
.project-about h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
}
.project-about p {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.9;
  margin-bottom: 1.5rem;
}

/* Floor Plans */
.project-floorplans {
  padding: 4rem 0;
  background: var(--bg-secondary);
}
.floorplan-container {
  max-width: 600px;
  margin: 0 auto;
}
.floorplan-css {
  display: grid;
  grid-template-columns: 2fr 1fr;
  grid-template-rows: 1fr 1fr 0.5fr;
  gap: 4px;
  height: 350px;
  background: var(--border);
  padding: 4px;
}
.fp-room {
  background: var(--bg-card);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  color: var(--text-secondary);
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: background 0.3s, color 0.3s;
  position: relative;
}
.fp-room:hover {
  background: var(--accent);
  color: #fff;
}
.fp-room:hover::after {
  content: attr(title);
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--text-primary);
  color: #fff;
  padding: 6px 12px;
  font-size: 0.75rem;
  white-space: nowrap;
  z-index: 10;
}
.fp-living { grid-column: 1; grid-row: 1 / 3; }
.fp-kitchen { grid-column: 2; grid-row: 1; }
.fp-bedroom { grid-column: 2; grid-row: 2; }
.fp-bath { grid-column: 1; grid-row: 3; }
.fp-courtyard { grid-column: 2; grid-row: 3; }

/* Accordion */
.project-details-accordion {
  padding: 5rem 0;
}
.accordion-archi {
  border-top: 1px solid var(--border);
}
.accordion-item-archi {
  border-bottom: 1px solid var(--border);
}
.accordion-header-archi {
  width: 100%;
  padding: 1.5rem 0;
  background: none;
  border: none;
  font-family: var(--font-heading);
  font-size: 1.2rem;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-primary);
  transition: color 0.3s;
}
.accordion-header-archi:hover { color: var(--accent); }
.accordion-header-archi i {
  font-size: 0.85rem;
  transition: transform 0.3s;
}
.accordion-header-archi.open i { transform: rotate(45deg); }
.accordion-body-archi {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
}
.accordion-body-archi.open {
  max-height: 200px;
  padding-bottom: 1.5rem;
}
.accordion-body-archi p {
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ==============================================
   SERVICES PAGE
   ============================================== */
.section-services-grid {
  padding: 5rem 0;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}
.service-card {
  background: var(--bg-card);
  padding: 3rem;
  box-shadow: var(--shadow);
  transition: box-shadow 0.3s, transform 0.3s;
}
.service-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
}
.service-icon {
  font-size: 1.8rem;
  color: var(--accent);
  margin-bottom: 1.5rem;
}
.service-card h3 {
  font-size: 1.4rem;
  margin-bottom: 1rem;
}
.service-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}
.service-link {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: gap 0.3s;
}
.service-link:hover { gap: 0.8rem; }

@media (max-width: 768px) {
  .services-grid { grid-template-columns: 1fr; }
}

/* Design Phases Timeline */
.section-design-phases {
  padding: 6rem 0 8rem;
  background: var(--bg-secondary);
}
.phases-timeline {
  max-width: 700px;
  margin: 0 auto;
  position: relative;
  padding-left: 60px;
}
.phases-timeline::before {
  content: '';
  position: absolute;
  left: 20px; top: 0; bottom: 0;
  width: 1px;
  background: var(--border);
}
.phase-item {
  display: flex;
  gap: 2rem;
  margin-bottom: 3rem;
  position: relative;
}
.phase-marker {
  position: absolute;
  left: -49px;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  color: var(--accent);
  flex-shrink: 0;
}
.phase-content h4 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}
.phase-content p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ==============================================
   STUDIO PAGE
   ============================================== */
.studio-story {
  padding: 4rem 0;
}
.story-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-bottom: 6rem;
}
.story-row.reverse { direction: rtl; }
.story-row.reverse > * { direction: ltr; }
.story-text h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
}
.story-text p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.8;
}

/* CSS Scenes */
.css-scene {
  width: 100%;
  height: 300px;
  background: var(--bg-secondary);
  position: relative;
  overflow: hidden;
}
/* Drafting table scene */
.drafting-table {
  position: absolute; bottom: 40px; left: 50%;
  transform: translateX(-50%);
  width: 200px; height: 10px;
  background: #A1887F;
}
.drafting-table::before, .drafting-table::after {
  content: '';
  position: absolute; bottom: -50px;
  width: 6px; height: 50px;
  background: #8D6E63;
}
.drafting-table::before { left: 20px; }
.drafting-table::after { right: 20px; }
.drafting-lamp {
  position: absolute; bottom: 50px; right: 60px;
  width: 4px; height: 60px;
  background: #44403C;
  transform: rotate(-15deg);
  transform-origin: bottom center;
}
.drafting-lamp::before {
  content: '';
  position: absolute; top: -10px; left: -10px;
  width: 24px; height: 14px;
  background: #FDE68A;
  border-radius: 50%;
}
.drafting-paper {
  position: absolute; bottom: 50px; left: 50%;
  transform: translateX(-50%);
  width: 100px; height: 70px;
  background: #fff;
  border: 1px solid var(--border);
}
.drafting-pencil {
  position: absolute; bottom: 55px; left: calc(50% + 60px);
  width: 40px; height: 4px;
  background: #FDE68A;
  transform: rotate(20deg);
}
.drafting-pencil::after {
  content: '';
  position: absolute; right: -6px; top: 0;
  width: 0; height: 0;
  border-top: 2px solid transparent;
  border-bottom: 2px solid transparent;
  border-left: 6px solid #44403C;
}

/* Site visit scene */
.site-ground {
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 60px;
  background: #D6D3D1;
}
.site-frame {
  position: absolute; bottom: 60px; left: 50%;
  transform: translateX(-50%);
  width: 120px; height: 100px;
  border: 3px solid #A1887F;
  border-bottom: none;
}
.site-frame::before {
  content: '';
  position: absolute; top: 50%; left: 0; right: 0;
  height: 3px;
  background: #A1887F;
}
.site-crane {
  position: absolute; bottom: 60px; right: 40px;
  width: 4px; height: 140px;
  background: #78716C;
}
.site-crane::before {
  content: '';
  position: absolute; top: 0; left: -40px;
  width: 80px; height: 4px;
  background: #78716C;
}
.site-hardhat {
  position: absolute; bottom: 60px; left: 60px;
  width: 24px; height: 14px;
  background: #FDE68A;
  border-radius: 50% 50% 0 0;
}
.site-hardhat::after {
  content: '';
  position: absolute; bottom: -3px; left: -4px;
  width: 32px; height: 4px;
  background: #FDE68A;
  border-radius: 2px;
}

@media (max-width: 768px) {
  .story-row, .story-row.reverse { grid-template-columns: 1fr; direction: ltr; }
}

/* Team */
.section-team {
  padding: 6rem 0;
  background: var(--bg-secondary);
}
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}
.team-card {
  text-align: center;
}
.team-avatar {
  width: 120px; height: 120px;
  border-radius: 50%;
  margin: 0 auto 1.5rem;
}
.ta-1 { background: linear-gradient(135deg, #D6D3D1, #A8A29E); }
.ta-2 { background: linear-gradient(135deg, #A8A29E, #78716C); }
.ta-3 { background: linear-gradient(135deg, var(--sage), #5C6B4F); }
.ta-4 { background: linear-gradient(135deg, var(--accent), #A04830); }
.team-card h4 {
  font-size: 1.15rem;
  margin-bottom: 0.25rem;
}
.team-role {
  font-size: 0.8rem;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  display: block;
  margin-bottom: 1rem;
}
.team-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

@media (max-width: 991px) {
  .team-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .team-grid { grid-template-columns: 1fr; }
}

/* Awards */
.section-awards {
  padding: 6rem 0 8rem;
}
.awards-list {
  max-width: 800px;
  margin: 0 auto;
}
.award-row {
  display: grid;
  grid-template-columns: 80px 1fr 1fr;
  gap: 2rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--border);
  align-items: center;
  transition: background 0.3s;
}
.award-row:hover { background: var(--bg-secondary); }
.award-year {
  font-family: var(--font-heading);
  font-size: 1rem;
  color: var(--accent);
}
.award-name {
  font-weight: 500;
}
.award-project {
  color: var(--text-secondary);
  font-size: 0.9rem;
  text-align: right;
}

@media (max-width: 576px) {
  .award-row { grid-template-columns: 60px 1fr; }
  .award-project { grid-column: 1 / -1; text-align: left; }
}

/* ==============================================
   CONTACT PAGE
   ============================================== */
.section-contact-main {
  padding: 4rem 0 8rem;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 4rem;
}
.contact-form-col h3 {
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
}
.form-intro {
  color: var(--text-secondary);
  margin-bottom: 2rem;
}
.form-group-archi {
  margin-bottom: 1.5rem;
}
.form-group-archi label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  color: var(--text-secondary);
}
.form-group-archi input,
.form-group-archi select,
.form-group-archi textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1.5px solid var(--border);
  background: var(--bg-card);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text-primary);
  outline: none;
  transition: border-color 0.3s;
  border-radius: 0;
  -webkit-appearance: none;
}
.form-group-archi input:focus,
.form-group-archi select:focus,
.form-group-archi textarea:focus {
  border-color: var(--accent);
}
.form-group-archi textarea { resize: vertical; }

.contact-info-col h4 {
  font-size: 1.1rem;
  margin-bottom: 1rem;
}
.contact-info-block p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 1rem;
}
.contact-info-block i {
  color: var(--accent);
  width: 20px;
  margin-right: 0.5rem;
}
.contact-hours {
  margin: 2rem 0;
}
.contact-hours p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.8;
}
.map-placeholder {
  width: 100%;
  height: 200px;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  color: var(--text-secondary);
  font-size: 0.9rem;
}
.map-placeholder i {
  font-size: 2rem;
  color: var(--accent);
}

@media (max-width: 768px) {
  .contact-grid { grid-template-columns: 1fr; }
}

/* ==============================================
   404 PAGE
   ============================================== */
.error-page {
  min-height: 80vh;
  display: flex;
  align-items: center;
  padding: calc(var(--nav-height) + 4rem) 0 4rem;
}
.error-illustration {
  margin-bottom: 3rem;
}
.error-building {
  position: relative;
  width: 180px;
  height: 160px;
  margin: 0 auto;
}
.err-wall-left {
  position: absolute; bottom: 0; left: 20px;
  width: 14px; height: 100px;
  background: #D6D3D1;
}
.err-wall-right {
  position: absolute; bottom: 0; right: 20px;
  width: 14px; height: 100px;
  background: #D6D3D1;
}
.err-door {
  position: absolute; bottom: 0; left: 50%;
  transform: translateX(-50%);
  width: 30px; height: 50px;
  background: var(--accent);
  border-radius: 2px 2px 0 0;
}
.err-window-1 {
  position: absolute; bottom: 50px; left: 45px;
  width: 25px; height: 30px;
  background: #C8E0F4;
  border: 2px solid #A8A29E;
}
.err-window-2 {
  position: absolute; bottom: 50px; right: 45px;
  width: 25px; height: 30px;
  background: #C8E0F4;
  border: 2px solid #A8A29E;
}
.err-brick {
  position: absolute;
  width: 24px; height: 12px;
  background: #A8A29E;
  border-radius: 1px;
}
.brick-1 { top: 10px; left: 30px; transform: rotate(-15deg); }
.brick-2 { top: 0; left: 80px; transform: rotate(10deg); }
.brick-3 { top: 20px; right: 25px; transform: rotate(-8deg); }
.brick-4 { top: -10px; left: 55px; transform: rotate(20deg); }

.error-code {
  font-size: clamp(5rem, 15vw, 10rem);
  line-height: 1;
  color: var(--border);
  margin-bottom: 1rem;
}
.error-headline {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  margin-bottom: 1rem;
}
.error-sub {
  color: var(--text-secondary);
  max-width: 440px;
  margin: 0 auto 2rem;
}

/* ==============================================
   RESPONSIVE FINE-TUNING
   ============================================== */
@media (max-width: 768px) {
  .perspective-stage { width: 260px; height: 250px; }
  .foundation-block { width: 180px; }
  .wall-left { left: 30px; }
  .wall-right { right: 30px; }
  .wall-back { left: 30px; width: 180px; }
  .mezzanine-floor { left: 30px; width: 180px; }
  .wall-upper-left { left: 30px; }
  .wall-upper-right { right: 30px; }
  .roof-shape {
    border-left-width: 105px;
    border-right-width: 105px;
    border-bottom-width: 50px;
  }
  .win-1 { left: 50px; }
  .win-2 { right: 50px; }
  .win-3 { left: 100px; }
  .materials-perspective { width: 300px; height: 200px; }
  .insulation-fill { width: 220px; height: 160px; }
  .drywall-sheet { width: 240px; height: 170px; }
  .paint-surface { width: 250px; height: 175px; }
  .stud { height: 160px; margin: 0 12px; }
}