/* Crastyle Builders - Main Stylesheet */

:root {
  --primary: #C8A96A;
  --primary-dark: #B89559;
  --primary-light: #D4B97E;
  --charcoal: #1F1F1F;
  --charcoal-light: #2B2B2B;
  --bg-cream: #F5F5F0;
  --text-gray: #6B7280;
  --text-gray-light: #9CA3AF;
  --text-gray-dark: #374151;
  --border-light: #E5E7EB;
  --white: #FFFFFF;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Poppins', sans-serif;
  color: var(--charcoal);
  background: #fff;
  line-height: 1.6;
  overflow-x: hidden;
}
h1, h2, h3, h4, h5, h6 { font-family: 'Montserrat', sans-serif; line-height: 1.2; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; }

.container { max-width: 1280px; margin: 0 auto; padding: 0 1rem; }
@media (min-width: 640px) { .container { padding: 0 1.5rem; } }
@media (min-width: 1024px) { .container { padding: 0 2rem; } }

/* Utility */
.text-primary { color: var(--primary); }
.bg-primary { background: var(--primary); }
.bg-charcoal { background: var(--charcoal); }
.bg-charcoal-light { background: var(--charcoal-light); }
.bg-cream { background: var(--bg-cream); }
.text-charcoal { color: var(--charcoal); }
.text-white { color: #fff; }

.text-gradient-gold {
  background: linear-gradient(90deg, #D4B97E 0%, #C8A96A 50%, #B89559 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  cursor: pointer;
  border: 2px solid transparent;
}
.btn-primary { background: var(--primary); color: var(--charcoal); }
.btn-primary:hover { background: var(--primary-dark); }
.btn-outline { background: transparent; border-color: var(--primary); color: var(--primary); }
.btn-outline:hover { background: var(--primary); color: var(--charcoal); }
.btn-dark { background: var(--charcoal); color: #fff; }
.btn-dark:hover { background: var(--charcoal-light); }
.btn-lg { padding: 1.25rem 2.5rem; font-size: 1.125rem; }
.btn-block { width: 100%; }

/* NAVBAR */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  background: #1A1A1A;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.navbar-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 80px;
}
.navbar-logo { height: 48px; cursor: pointer; }
.nav-menu { display: none; align-items: center; gap: 2rem; margin-left: 2.5rem; }
@media (min-width: 1024px) { .nav-menu { display: flex; } }
.nav-link {
  color: #D1D5DB;
  font-size: 0.875rem; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.1em;
  transition: color 0.2s;
}
.nav-link:hover { color: var(--primary); }
.nav-cta { background: var(--primary); color: var(--charcoal); padding: 0.75rem 1.5rem; font-weight: 600; }
.nav-cta:hover { background: var(--primary-dark); }
.menu-btn { display: block; color: #D1D5DB; padding: 0.5rem; }
@media (min-width: 1024px) { .menu-btn { display: none; } }
.menu-btn svg { width: 24px; height: 24px; }

.mobile-menu {
  display: none;
  background: #1A1A1A;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  padding: 0.5rem 1rem 1.5rem;
}
.mobile-menu.open { display: block; }
.mobile-menu a, .mobile-menu button.mlink {
  display: block; width: 100%; text-align: left;
  padding: 1rem 0.75rem; font-size: 1rem; font-weight: 500;
  color: #D1D5DB;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  transition: color 0.2s;
}
.mobile-menu a:hover, .mobile-menu button.mlink:hover { color: var(--primary); }
.mobile-menu .mobile-cta { width: 100%; margin-top: 1rem; }

/* HERO */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  padding-top: 80px;
  overflow: hidden;
}
.hero-slide {
  position: absolute; inset: 0;
  opacity: 0; transition: opacity 1s ease-in-out;
}
.hero-slide.active { opacity: 1; }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-overlay {
  position: absolute; inset: 0; z-index: 10;
  background: linear-gradient(90deg, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.5) 50%, rgba(0,0,0,0.2) 100%);
}
.hero-container {
  position: relative; z-index: 25; width: 100%;
  max-width: 1280px; margin: 0 auto;
  padding: 0 1rem;
}
@media (min-width:640px) { .hero-container { padding: 0 1.5rem; } }
@media (min-width:1024px) { .hero-container { padding: 0 2rem; } }
.hero-content { max-width: 48rem; }
.hero h1 {
  font-size: 2.25rem; font-weight: 700; color: #fff;
  line-height: 1.1; margin-bottom: 1.5rem;
}
@media (min-width:640px) { .hero h1 { font-size: 3rem; } }
@media (min-width:768px) { .hero h1 { font-size: 3.75rem; } }
.hero p {
  font-size: 1.125rem; color: #D1D5DB; font-weight: 300;
  margin-bottom: 2.5rem; max-width: 42rem;
}
@media (min-width:640px) { .hero p { font-size: 1.25rem; } }
.hero-buttons { display: flex; flex-direction: column; gap: 1rem; }
@media (min-width:640px) { .hero-buttons { flex-direction: row; } }

.hero-bottom {
  position: absolute; bottom: 2rem; left: 0; right: 0; z-index: 20;
  display: flex; flex-direction: column; align-items: center; gap: 0.75rem;
  pointer-events: none;
}
.hero-bottom > * { pointer-events: auto; }
.hero-location { display: flex; align-items: center; gap: 0.5rem; }
.hero-location .line { width: 32px; height: 1px; background: rgba(200,169,106,0.7); }
.hero-location span {
  color: rgba(255,255,255,0.6); font-size: 0.875rem;
  font-weight: 300; letter-spacing: 0.2em; text-transform: uppercase;
}
.hero-dots { display: flex; align-items: center; gap: 0.75rem; }
.hero-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255,255,255,0.4);
  transition: all 0.3s ease;
}
.hero-dot.active { width: 32px; background: var(--primary); }
.hero-scroll { color: rgba(255,255,255,0.4); animation: bounce 2s infinite; transition: color 0.2s; margin-top: 0.5rem; }
.hero-scroll:hover { color: var(--primary); }
@keyframes bounce { 0%,100%{transform:translateY(0);} 50%{transform:translateY(-8px);} }
.hero-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 20;
  background: rgba(0,0,0,0.3); color: #fff;
  padding: 0.75rem; border-radius: 50%;
  transition: background 0.3s;
}
.hero-arrow:hover { background: rgba(200,169,106,0.8); }
.hero-arrow.prev { left: 1rem; }
.hero-arrow.next { right: 1rem; }
.hero-arrow svg { width: 20px; height: 20px; }

/* SECTIONS */
section { padding: 6rem 0; }
.section-header { text-align: center; max-width: 48rem; margin: 0 auto 4rem; }
.eyebrow {
  display: flex; align-items: center; justify-content: center;
  gap: 1rem; margin-bottom: 1rem;
}
.eyebrow.left { justify-content: flex-start; }
.eyebrow .line { height: 1px; width: 32px; background: var(--primary); }
.eyebrow span {
  color: var(--primary); font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase; font-size: 0.875rem;
}
.section-title {
  font-size: 1.875rem; font-weight: 700;
  color: var(--charcoal); margin-bottom: 1.5rem;
}
@media (min-width:768px) { .section-title { font-size: 2.25rem; } }
.section-title.white { color: #fff; }

/* ABOUT */
#about { background: #fff; }
.about-grid {
  display: grid; grid-template-columns: 1fr; gap: 4rem; align-items: center;
}
@media (min-width:1024px) { .about-grid { grid-template-columns: 1fr 1fr; } }
.about-text p { color: var(--text-gray); margin-bottom: 1rem; }
.about-link {
  display: inline-flex; align-items: center; gap: 0.5rem;
  color: var(--primary); font-weight: 600;
  margin-top: 0.5rem;
}
.about-link:hover { color: var(--primary-dark); }
.about-link svg { width: 16px; height: 16px; transition: transform 0.2s; }
.about-link:hover svg { transform: translateX(4px); }

.stats-grid {
  display: grid; grid-template-columns: 1fr; gap: 1.5rem;
  position: relative;
}
@media (min-width:640px) { .stats-grid { grid-template-columns: 1fr 1fr; } }
.stat-card {
  border-top: 4px solid var(--primary);
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
  padding: 2rem;
  display: flex; flex-direction: column; align-items: flex-start;
  background: #fff;
}
.stat-card.dark { background: var(--charcoal); color: #fff; }
.stat-card .num { font-size: 2.25rem; font-weight: 700; margin-bottom: 0.5rem; color: var(--charcoal); }
.stat-card.dark .num { color: #fff; font-size: 1.5rem; }
.stat-card .label { color: var(--text-gray); font-weight: 500; }
.stat-card.dark .label { color: var(--text-gray-light); }

/* SERVICES */
#services { background: var(--bg-cream); }
.services-grid {
  display: grid; gap: 1.5rem; grid-template-columns: 1fr;
}
@media (min-width:768px) { .services-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width:1024px) { .services-grid { grid-template-columns: repeat(4, 1fr); } }
.service-card {
  background: #fff; padding: 2rem;
  border: 1px solid #F3F4F6;
  box-shadow: 0 1px 2px rgba(0,0,0,0.05);
  transition: box-shadow 0.3s;
}
.service-card:hover { box-shadow: 0 20px 25px rgba(0,0,0,0.1); }
.service-icon-box {
  width: 48px; height: 48px;
  background: var(--bg-cream);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.5rem;
  transition: background 0.3s;
}
.service-card:hover .service-icon-box { background: rgba(200,169,106,0.1); }
.service-icon-box svg { width: 24px; height: 24px; color: var(--primary); }
.service-card h3 { font-size: 1.25rem; font-weight: 700; color: var(--charcoal); margin-bottom: 0.75rem; }
.service-card p { color: var(--text-gray); margin-bottom: 1.5rem; font-size: 0.875rem; line-height: 1.625; }
.service-card ul li {
  display: flex; align-items: flex-start; gap: 0.5rem;
  font-size: 0.875rem; color: var(--text-gray);
  margin-bottom: 0.5rem;
}
.service-card ul li::before {
  content: ''; display: inline-block;
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--primary); margin-top: 6px; flex-shrink: 0;
}

/* PRE-CONSTRUCTION */
#pre-construction {
  background: var(--charcoal);
  color: #fff;
  border-top: 1px solid rgba(255,255,255,0.1);
  border-bottom: 1px solid rgba(255,255,255,0.1);
  position: relative;
}
#pre-construction::after {
  content: ''; position: absolute; right: 0; top: 0; bottom: 0;
  width: 33%;
  background: linear-gradient(to left, rgba(200,169,106,0.1), transparent);
  pointer-events: none;
}
.pc-grid {
  display: grid; gap: 4rem; align-items: center;
  grid-template-columns: 1fr;
  position: relative; z-index: 10;
}
@media (min-width:1024px) { .pc-grid { grid-template-columns: 1fr 1fr; } }
.pc-badge {
  display: inline-block; border: 1px solid var(--primary);
  padding: 0.25rem 0.75rem; margin-bottom: 1.5rem;
}
.pc-badge span { color: var(--primary); font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; font-size: 0.75rem; }
.pc-content h2 { font-size: 1.875rem; font-weight: 700; margin-bottom: 1.5rem; color: #fff; }
@media (min-width:768px) { .pc-content h2 { font-size: 2.25rem; } }
.pc-lead { font-size: 1.25rem; color: #D1D5DB; font-weight: 300; margin-bottom: 2rem; }
.pc-content p { color: var(--text-gray-light); margin-bottom: 1.5rem; }
.pc-features {
  display: grid; grid-template-columns: 1fr; gap: 1.5rem; margin: 2.5rem 0;
}
@media (min-width:640px) { .pc-features { grid-template-columns: repeat(3, 1fr); } }
.pc-features h4 { color: #fff; font-weight: 700; margin-bottom: 0.5rem; }
.pc-features p { font-size: 0.875rem; color: var(--text-gray-light); margin-bottom: 0; }
.pc-quote { font-size: 0.75rem; font-style: italic; color: var(--text-gray-light); margin-top: 1.5rem; }
.pc-image-wrap { position: relative; }
.pc-image {
  aspect-ratio: 4/3; background: var(--charcoal-light);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 0.5rem;
  box-shadow: 0 25px 50px rgba(0,0,0,0.3);
  position: relative;
}
.pc-image img { width: 100%; height: 100%; object-fit: cover; opacity: 0.8; }
.pc-image::after {
  content: ''; position: absolute; inset: 1.5rem;
  border: 2px solid var(--primary); opacity: 0.5;
  pointer-events: none;
}

/* PROCESS */
#process { background: #fff; }
.process-grid { position: relative; }
.process-line {
  display: none;
  position: absolute; top: 32px; left: 0; right: 0; height: 1px;
  background: var(--border-light); z-index: 0;
}
@media (min-width:1024px) { .process-line { display: block; } }
.process-steps {
  display: grid; grid-template-columns: 1fr; gap: 2rem;
  position: relative; z-index: 10;
}
@media (min-width:1024px) { .process-steps { grid-template-columns: repeat(5, 1fr); } }
.process-step { display: flex; gap: 1.5rem; align-items: flex-start; position: relative; }
@media (min-width:1024px) { .process-step { flex-direction: column; align-items: center; text-align: center; } }
.process-num {
  width: 64px; height: 64px;
  background: #fff; border: 2px solid var(--primary);
  color: var(--primary); font-weight: 700; font-size: 1.25rem;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; box-shadow: 0 10px 15px rgba(0,0,0,0.1);
}
.process-step h3 { font-weight: 700; color: var(--charcoal); margin-bottom: 0.5rem; }
.process-step p { font-size: 0.875rem; color: var(--text-gray); line-height: 1.625; padding-bottom: 2rem; }
@media (min-width:1024px) { .process-step p { padding-bottom: 0; } }
.process-step .vline {
  position: absolute; left: 32px; top: 64px; bottom: -1rem;
  width: 1px; background: var(--border-light);
}
@media (min-width:1024px) { .process-step .vline { display: none; } }

/* DELIVERY */
.delivery { background: var(--bg-cream); }
.delivery-grid {
  display: grid; gap: 2rem;
  grid-template-columns: 1fr;
}
@media (min-width:768px) { .delivery-grid { grid-template-columns: repeat(3, 1fr); } }
.delivery-card {
  background: #fff; border: 1px solid var(--border-light);
  padding: 2rem; display: flex; flex-direction: column;
  box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}
.delivery-card.featured {
  background: var(--charcoal); color: #fff;
  border-color: var(--charcoal-light);
  box-shadow: 0 25px 50px rgba(0,0,0,0.3);
  position: relative;
  transform: translateY(0);
}
@media (min-width:768px) { .delivery-card.featured { transform: translateY(-1rem); } }
.delivery-card.featured::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 4px; background: var(--primary);
}
.delivery-card h3 { font-size: 1.5rem; font-weight: 700; color: var(--charcoal); margin-bottom: 1rem; }
.delivery-card.featured h3 { color: transparent; background: linear-gradient(90deg,#D4B97E,#C8A96A,#B89559); -webkit-background-clip: text; background-clip: text; }
.divider-thin { height: 1px; width: 100%; background: #F3F4F6; margin-bottom: 1.5rem; }
.delivery-card.featured .divider-thin { background: rgba(255,255,255,0.1); }
.delivery-desc { font-size: 0.875rem; color: var(--text-gray); margin-bottom: 1.5rem; flex-grow: 1; white-space: pre-line; }
.delivery-card.featured .delivery-desc { color: #D1D5DB; }
.delivery-label { display: block; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; color: #9CA3AF; margin-bottom: 0.25rem; }
.delivery-card.featured .delivery-label { color: #6B7280; }
.delivery-card .item { font-size: 0.875rem; font-weight: 500; color: var(--charcoal); }
.delivery-card.featured .item { color: #fff; }
.delivery-card.featured .benefit { font-size: 0.875rem; color: #D1D5DB; }
.delivery-footer { text-align: center; max-width: 48rem; margin: 4rem auto 0; }
.delivery-footer p { color: var(--text-gray); }

/* WHY US */
#why-us { background: var(--charcoal); }
.why-grid {
  display: grid; gap: 2rem;
  grid-template-columns: 1fr;
}
@media (min-width:768px) { .why-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width:1024px) { .why-grid { grid-template-columns: repeat(3, 1fr); } }
.why-card {
  background: var(--charcoal-light);
  padding: 2rem;
  border: 1px solid rgba(255,255,255,0.05);
  transition: border-color 0.3s;
}
.why-card:hover { border-color: rgba(200,169,106,0.3); }
.why-icon { margin-bottom: 1.5rem; }
.why-icon svg { width: 32px; height: 32px; color: var(--primary); }
.why-card h3 { font-size: 1.25rem; font-weight: 700; color: #fff; margin-bottom: 0.75rem; }
.why-card p { color: var(--text-gray-light); font-size: 0.875rem; line-height: 1.625; }

/* PORTFOLIO */
#portfolio { background: #fff; }
.portfolio-header {
  display: flex; flex-direction: column; justify-content: space-between;
  align-items: flex-start; margin-bottom: 4rem;
}
@media (min-width:768px) { .portfolio-header { flex-direction: row; align-items: flex-end; } }
.portfolio-grid {
  display: grid; gap: 1.5rem;
  grid-template-columns: 1fr;
}
@media (min-width:768px) { .portfolio-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width:1024px) { .portfolio-grid { grid-template-columns: repeat(3, 1fr); } }
.portfolio-item {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/5;
  background: var(--charcoal);
}
.portfolio-item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.7s ease;
  opacity: 0.9;
}
.portfolio-item:hover img { transform: scale(1.1); }
.portfolio-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, var(--charcoal), rgba(31,31,31,0.2), transparent);
  opacity: 0.8;
  transition: opacity 0.3s;
}
.portfolio-item:hover .portfolio-overlay { opacity: 0.9; }
.portfolio-content {
  position: absolute; inset: 0; padding: 2rem;
  display: flex; flex-direction: column; justify-content: flex-end;
  transform: translateY(1rem);
  transition: transform 0.3s;
}
.portfolio-item:hover .portfolio-content { transform: translateY(0); }
.portfolio-content .acc {
  width: 32px; height: 1px; background: var(--primary);
  margin-bottom: 1rem; opacity: 0;
  transition: opacity 0.3s 0.1s;
}
.portfolio-item:hover .portfolio-content .acc { opacity: 1; }
.portfolio-content h3 { font-size: 1.25rem; font-weight: 700; color: #fff; margin-bottom: 0.25rem; }
.portfolio-content p {
  color: var(--primary); font-size: 0.875rem; font-weight: 500;
  display: flex; align-items: center; gap: 0.25rem;
}
.portfolio-content p svg { width: 12px; height: 12px; }

/* CEO */
#meet-ceo { background: var(--charcoal); color: #fff; }
.ceo-grid {
  display: grid; gap: 4rem; align-items: center;
  grid-template-columns: 1fr;
}
@media (min-width:1024px) { .ceo-grid { grid-template-columns: 1fr 1fr; } }
.ceo-img-wrap { order: 2; position: relative; }
@media (min-width:1024px) { .ceo-img-wrap { order: 1; } }
.ceo-img-frame {
  aspect-ratio: 3/4;
  position: relative;
  max-width: 28rem;
  margin: 0 auto;
}
.ceo-img-frame::before {
  content: ''; position: absolute; inset: 1rem;
  border: 1px solid rgba(200,169,106,0.5);
}
.ceo-img-frame img {
  width: 100%; height: 100%; object-fit: cover;
  border: 4px solid var(--bg-cream);
}
.ceo-content { order: 1; }
@media (min-width:1024px) { .ceo-content { order: 2; } }
.ceo-content h2 { font-size: 1.875rem; font-weight: 700; color: #fff; margin-bottom: 0.5rem; }
@media (min-width:768px) { .ceo-content h2 { font-size: 2.25rem; } }
.ceo-role { color: var(--primary); font-weight: 500; letter-spacing: 0.05em; text-transform: uppercase; font-size: 0.875rem; margin-bottom: 2rem; }
.ceo-quote {
  font-size: 1.125rem; font-style: italic;
  font-family: 'Georgia', serif;
  color: var(--text-gray-light);
  border-left: 2px solid var(--primary);
  padding: 0.5rem 0 0.5rem 1.5rem;
  margin-bottom: 1.5rem;
}
.ceo-content p { color: var(--text-gray-light); margin-bottom: 1.5rem; }

/* TESTIMONIALS */
.testimonials { background: #fff; }
.testimonials-grid {
  display: grid; gap: 2rem;
  grid-template-columns: 1fr;
}
@media (min-width:768px) { .testimonials-grid { grid-template-columns: repeat(3, 1fr); } }
.testimonial {
  background: var(--bg-cream);
  padding: 2rem;
  position: relative;
}
.stars { display: flex; gap: 0.25rem; margin-bottom: 1.5rem; }
.stars svg { width: 16px; height: 16px; fill: var(--primary); color: var(--primary); }
.testimonial blockquote {
  color: var(--text-gray-dark);
  font-style: italic;
  margin-bottom: 2rem;
  line-height: 1.625;
}
.testimonial cite { font-style: normal; }
.testimonial cite .name { font-weight: 700; color: var(--charcoal); display: block; }
.testimonial cite .loc { font-size: 0.875rem; color: var(--text-gray); }

/* FAQ */
.faq { background: var(--charcoal); color: #fff; }
.faq-container { max-width: 48rem; margin: 0 auto; padding: 0 1rem; }
.faq-list { display: flex; flex-direction: column; gap: 1rem; }
.faq-item {
  border-bottom: 1px solid rgba(255,255,255,0.1);
  padding-bottom: 1rem;
}
.faq-trigger {
  width: 100%; display: flex; justify-content: space-between; align-items: center;
  text-align: left; padding: 1rem 0;
  font-size: 1.125rem; font-weight: 500; color: #fff;
  transition: color 0.2s;
}
.faq-trigger:hover { color: var(--primary); }
.faq-trigger .chev { transition: transform 0.3s; }
.faq-item.open .faq-trigger .chev { transform: rotate(180deg); }
.faq-item.open .faq-trigger { color: var(--primary); }
.faq-content {
  max-height: 0; overflow: hidden;
  transition: max-height 0.4s ease-out;
  color: var(--text-gray-light);
  font-size: 1rem; line-height: 1.625;
}
.faq-item.open .faq-content { max-height: 500px; }
.faq-content-inner { padding: 0.5rem 0 1rem; display: flex; flex-direction: column; gap: 1rem; }

/* CTA */
.cta {
  background: var(--primary);
  position: relative;
  overflow: hidden;
  padding: 8rem 0;
}
.cta::before {
  content: ''; position: absolute; inset: 0;
  background-image: url('https://www.transparenttextures.com/patterns/cubes.png');
  opacity: 0.1; mix-blend-mode: multiply;
}
.cta-inner { position: relative; z-index: 10; max-width: 56rem; margin: 0 auto; text-align: center; padding: 0 1rem; }
.cta h2 { font-size: 2.25rem; font-weight: 700; color: var(--charcoal); margin-bottom: 1.5rem; }
@media (min-width:768px) { .cta h2 { font-size: 3rem; } }
.cta p { font-size: 1.25rem; color: rgba(31,31,31,0.8); margin-bottom: 2.5rem; max-width: 36rem; margin-left: auto; margin-right: auto; }

/* CONTACT */
#contact { background: #fff; }
.contact-grid {
  display: grid; gap: 4rem;
  grid-template-columns: 1fr;
}
@media (min-width:1024px) { .contact-grid { grid-template-columns: 1fr 1fr; } }
.contact-info h2 { font-size: 1.875rem; font-weight: 700; color: var(--charcoal); margin-bottom: 1.5rem; }
@media (min-width:768px) { .contact-info h2 { font-size: 2.25rem; } }
.contact-info > p { color: var(--text-gray); margin-bottom: 3rem; max-width: 28rem; }
.contact-list { display: flex; flex-direction: column; gap: 2rem; }
.contact-item { display: flex; gap: 1rem; align-items: flex-start; }
.contact-icon {
  width: 48px; height: 48px; flex-shrink: 0;
  background: var(--bg-cream);
  display: flex; align-items: center; justify-content: center;
}
.contact-icon svg { width: 20px; height: 20px; color: var(--primary); }
.contact-item h4 { font-weight: 700; color: var(--charcoal); margin-bottom: 0.25rem; }
.contact-item p { color: var(--text-gray); }

.contact-form-wrap {
  background: var(--bg-cream);
  padding: 2rem;
  border: 1px solid var(--border-light);
}
.form-row {
  display: grid; gap: 1.5rem;
  grid-template-columns: 1fr;
  margin-bottom: 1.5rem;
}
@media (min-width:768px) { .form-row { grid-template-columns: 1fr 1fr; } }
.form-group { margin-bottom: 1.5rem; }
.form-group label {
  display: block; font-weight: 600;
  color: var(--charcoal); margin-bottom: 0.5rem; font-size: 0.875rem;
}
.input, .form-group input, .form-group select, .form-group textarea {
  width: 100%;
  background: #fff;
  border: 1px solid #D1D5DB;
  padding: 0.75rem 1rem;
  font-family: inherit; font-size: 0.875rem;
  color: var(--charcoal);
  transition: border-color 0.2s;
}
.input:focus, .form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none; border-color: var(--primary);
}
.form-group textarea { min-height: 120px; resize: vertical; }
.form-error { color: #DC2626; font-size: 0.8125rem; margin-top: 0.25rem; display: none; }
.form-error.show { display: block; }
.form-group.error input, .form-group.error select, .form-group.error textarea {
  border-color: #DC2626;
}
.form-success {
  display: none;
  padding: 1rem; margin-bottom: 1.5rem;
  background: #D1FAE5; color: #065F46;
  border: 1px solid #A7F3D0;
}
.form-success.show { display: block; }
.form-error-msg {
  display: none;
  padding: 1rem; margin-bottom: 1.5rem;
  background: #FEE2E2; color: #991B1B;
  border: 1px solid #FECACA;
}
.form-error-msg.show { display: block; }

/* FOOTER */
.footer {
  background: var(--charcoal); color: #fff;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 5rem 0 2.5rem;
}
.footer-grid {
  display: grid; gap: 3rem; margin-bottom: 4rem;
  grid-template-columns: 1fr;
}
@media (min-width:768px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width:1024px) { .footer-grid { grid-template-columns: repeat(4, 1fr); } }
.footer-logo { height: 48px; margin-bottom: 1.5rem; filter: brightness(0) invert(1); }
.footer p, .footer li { color: var(--text-gray-light); font-size: 0.875rem; line-height: 1.625; }
.footer h4 { font-size: 1.125rem; font-weight: 700; margin-bottom: 1.5rem; font-family: 'Montserrat', sans-serif; }
.footer ul li { padding: 0.375rem 0; cursor: pointer; transition: color 0.2s; display: flex; align-items: center; gap: 0.5rem; }
.footer ul li:hover { color: var(--primary); }
.footer ul li svg { width: 16px; height: 16px; color: var(--primary); flex-shrink: 0; }
.footer-divider {
  height: 1px; width: 100%;
  background: linear-gradient(90deg, transparent, rgba(200,169,106,0.5), transparent);
  margin-bottom: 2rem;
}
.footer-bottom {
  display: flex; flex-direction: column; align-items: center;
  justify-content: space-between; gap: 1rem;
  font-size: 0.75rem; color: #6B7280;
}
@media (min-width:768px) { .footer-bottom { flex-direction: row; } }

/* Reveal animations */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.6s ease-out, transform 0.6s ease-out; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ===================== RESPONSIVE OVERRIDES ===================== */

/* Section vertical padding scales down on smaller screens */
section { padding: 4rem 0; }
@media (min-width: 768px) { section { padding: 5rem 0; } }
@media (min-width: 1024px) { section { padding: 6rem 0; } }

/* Mobile-first: smaller mobile phones (<400px) */
@media (max-width: 400px) {
  .hero h1 { font-size: 1.875rem; }
  .hero p { font-size: 1rem; margin-bottom: 2rem; }
  .btn-lg { padding: 1rem 1.5rem; font-size: 1rem; }
  .section-title { font-size: 1.5rem; }
  .container, .hero-container { padding: 0 1rem; }
}

/* Hero buttons should be auto-width on mobile (not full-width) */
.hero-buttons .btn { align-self: flex-start; width: auto; }

/* Section title scaling */
@media (max-width: 640px) {
  .section-title { font-size: 1.5rem; }
  .section-header { margin-bottom: 2.5rem; }
  .pc-content h2, .ceo-content h2, .contact-info h2 { font-size: 1.5rem; }
  .pc-lead { font-size: 1.0625rem; }
  .cta { padding: 5rem 0; }
  .cta h2 { font-size: 1.75rem; }
  .cta p { font-size: 1rem; }
}

/* About section: tighter gap on mobile */
@media (max-width: 1023px) {
  .about-grid { gap: 3rem; }
  .ceo-grid { gap: 3rem; }
  .pc-grid { gap: 3rem; }
  .contact-grid { gap: 3rem; }
}

/* Stat cards: padding scales down */
@media (max-width: 480px) {
  .stat-card { padding: 1.5rem; }
  .stat-card .num { font-size: 1.875rem; }
  .stat-card.dark .num { font-size: 1.25rem; }
}

/* Service / Why / Delivery cards: padding scales */
@media (max-width: 480px) {
  .service-card, .why-card, .delivery-card, .testimonial { padding: 1.5rem; }
  .contact-form-wrap { padding: 1.5rem; }
}

/* Process steps: vertical line spacing on mobile */
@media (max-width: 1023px) {
  .process-step { padding-bottom: 1.5rem; }
  .process-step:last-child { padding-bottom: 0; }
  .process-num { width: 56px; height: 56px; font-size: 1.125rem; }
  .process-step .vline { left: 28px; }
}

/* Hero arrows: smaller and less intrusive on mobile */
@media (max-width: 640px) {
  .hero-arrow { padding: 0.5rem; }
  .hero-arrow svg { width: 16px; height: 16px; }
  .hero-arrow.prev { left: 0.5rem; }
  .hero-arrow.next { right: 0.5rem; }
  .hero-bottom { bottom: 1.25rem; }
  .hero-location span { font-size: 0.75rem; letter-spacing: 0.15em; }
  .hero-location .line { width: 20px; }
}

/* Portfolio header: stack title and CTA neatly */
@media (max-width: 767px) {
  .portfolio-header { gap: 1.5rem; }
}

/* Footer: tighter on mobile */
@media (max-width: 767px) {
  .footer { padding: 4rem 0 2rem; }
  .footer-grid { gap: 2.5rem; margin-bottom: 3rem; }
}

/* Form rows already stack on mobile via grid - ensure inputs are usable */
.form-group input, .form-group select, .form-group textarea {
  font-size: 1rem; /* prevents iOS zoom on focus */
}

/* Pre-construction features stack nicely on small screens */
@media (max-width: 640px) {
  .pc-features { gap: 1.25rem; margin: 2rem 0; }
}

/* CEO image frame: cap size on mobile */
@media (max-width: 640px) {
  .ceo-img-frame { max-width: 20rem; }
}

/* Mobile nav: ensure clean tap targets */
.mobile-menu a, .mobile-menu button.mlink { padding: 0.875rem 0.75rem; }

/* Prevent horizontal overflow from any element */
section, .container, .hero-container { max-width: 100%; }
img, svg, video { max-width: 100%; height: auto; }

/* Pre-construction decorative gradient hidden on mobile */
@media (max-width: 1023px) {
  #pre-construction::after { display: none; }
}
