:root {
  --bg: #ffffff;
  --text: #111111;
  --muted: #6f6f6f;
  --accent: #344876;
  --border: #e5e7eb;
  --max-width: 1200px;
}

/* ---------------- RESET ---------------- */

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

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  padding-top: 96px;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  width: 100%;
  display: block;
}

/* ---------------- LAYOUT ---------------- */

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1.5rem 1.5rem;
}

/* ---------------- HEADER ---------------- */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: var(--bg);
  z-index: 999;
}

.nav {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1.1rem 4rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-img {
  height: 55px;
  width: auto;
  display: block;
}

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

.nav-links a {
  margin-left: 2.5rem;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.nav-links a:hover {
  color: var(--text);
}

.nav-cta {
  border: 1px solid var(--text);
  padding: 0.5rem 1.25rem;
  margin-left: 3rem;
  color: var(--text);
}

/* ---------------- MOBILE NAV ---------------- */

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
}

.nav-toggle span {
  width: 22px;
  height: 1.5px;
  background: var(--text);
}

/* ---------------- RESPONSIVE HEADER ---------------- */

@media (max-width: 900px) {
  .nav-toggle {
    display: flex;
  }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--bg);
    flex-direction: column;
    align-items: flex-start;
    padding: 2rem;
    border-bottom: 1px solid var(--border);
    display: none;
  }

  .nav-links a {
    margin: 0 0 1.5rem 0;
    font-size: 0.9rem;
  }

  .nav-cta {
    margin-left: 0;
  }

  .nav-links.active {
    display: flex;
  }
}

/* ---------------- HERO ---------------- */

.hero {
  padding: 0;
}

.hero-image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 62%;
  display: block;
  z-index: 0;
  filter: saturate(0.9) contrast(0.95);
}

.hero-image {
  position: relative;
  width: 100%;
  height: 55vh;
  min-height: 420px;
  overflow: hidden;
}

.hero-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  z-index: 1;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
}

.hero-overlay h1 {
  color: #ffffff;
  font-size: 4rem;
  font-weight: 300;
  line-height: 1.2;
  max-width: 900px;
}

.hero-content {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 3rem 2rem;
  
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-content p {
  max-width: 980px;
  color: var(--muted);
  font-size: 1.0rem;
  margin-bottom: 2rem;
  text-align: center;
}

.button {
  display: inline-block;
  border: 1px solid var(--text);
  padding: 0.75rem 2rem;
  color: var(--text);
}

/* Responsive */
@media (max-width: 900px) {
  .hero-image {
    height: 60vh;
  }

  .hero-overlay h1 {
    font-size: 2.2rem;
  }
}

/* ---------------- HERO FADE IN ---------------- */

.hero-overlay {
  opacity: 0;
  transform: translateY(12px);
  animation: heroFade 1.5s ease-out forwards;
  animation-delay: 0.3s;
}

@keyframes heroFade {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ---------------- SECTION HEADERS ---------------- */

.section-header {
  margin-bottom: 1.2rem;
}

.section-header h1,
.section-header h2 {
  font-size: 2.3rem;
  font-weight: 400;
  margin-top: 1.1rem;
  margin-bottom: 0.35rem;
}

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

/* ---------------- IMPACT STATS ---------------- */

.impact {
  background: #f9fafb;
  padding: 3.5rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.impact-stats {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 3rem;
  padding: 1.5rem 0;
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.stat-number {
  font-size: 3.5rem;
  font-weight: 300;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  max-width: 140px;
}

.stat-divider {
  width: 1px;
  height: 60px;
  background: var(--border);
}

/* ---------------- MARKETS GRID ---------------- */

.markets-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.7rem;
  margin-top: 2rem;
}

.market-card {
  padding: 2rem 1.5rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.market-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
}

.market-card h3 {
  font-size: 1.2rem;
  font-weight: 500;
  margin-bottom: 0.75rem;
  color: var(--accent);
}

.market-card p {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--muted);
}

/* Responsive */
@media (max-width: 900px) {
  .impact-stats {
    flex-direction: column;
    gap: 2rem;
  }

  .stat-divider {
    display: none;
  }

  .markets-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------------- SERVICES OVERLAY CARDS ---------------- */

.overlay-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.service-card {
  position: relative;
  display: block;
  overflow: hidden;
  color: #ffffff;
  aspect-ratio: 16 / 9;
  border-radius: 10px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.15);
}

.service-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.service-card:hover img {
  transform: scale(1.05);
}

.service-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  transition: background 0.3s ease;
}

.service-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  padding: 2rem;
  z-index: 2;
  max-width: 90%;
}

.service-overlay h3 {
  font-size: 1.5rem;
  font-weight: 500;
  margin-bottom: 0.75rem;
}

.service-overlay p {
  font-size: 0.95rem;
  line-height: 1.5;
  opacity: 0.95;
}

.service-card:hover::after {
  background: rgba(0, 0, 0, 0.5);
}

/* ---------------- RESPONSIVE ---------------- */

@media (max-width: 900px) {
  .overlay-grid {
    grid-template-columns: 1fr;
  }

  .service-overlay {
    padding: 1.5rem;
  }
}

/* ---------------- PROJECTS ---------------- */

.projects-staggered {
  display: flex;
  flex-direction: column;
  gap: 4rem;
  margin-top: 2.5rem;
}

.project-row {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3rem;
  align-items: center;
}

.project-row.reverse {
  grid-template-columns: 1fr 1.2fr;
}

.project-row.reverse .project-image {
  order: 2;
}

.project-row.reverse .project-info {
  order: 1;
  text-align: right;
}

.project-image {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
}

.project-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.project-image:hover img {
  transform: scale(1.05);
}

.project-info {
  padding: 1rem 0;
}

.project-info h3 {
  font-size: 2rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
  color: var(--accent);
}

.project-info h3 a:hover {
  text-decoration: underline;
}

.project-type {
  display: inline-block;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border);
}

.project-info p {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--muted);
  margin-top: 1rem;
}

/* Responsive */
@media (max-width: 900px) {
  .project-row,
  .project-row.reverse {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .project-row.reverse .project-image,
  .project-row.reverse .project-info {
    order: initial;
  }

  .project-row.reverse .project-info {
    text-align: left;
  }

  .project-image img {
    height: 280px;
  }
}

/* ---------------- REVIEWS ---------------- */

.reviews {
  background: var(--accent);
  padding: 4rem 0;
  margin: 3rem 0;
}

.reviews-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
}

.reviews .section-header h2 {
  color: #ffffff;
  text-align: center;
  margin-bottom: 3rem;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.review-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 2rem;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, background 0.3s ease;
}

.review-card:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-4px);
}

.stars {
  color: #fbbf24;
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  letter-spacing: 0.15rem;
}

.review-card p {
  flex: 1;
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
  color: rgba(255, 255, 255, 0.9);
}

.reviewer {
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
  align-self: flex-end;
}

/* Responsive */
@media (max-width: 900px) {
  .reviews-grid {
    grid-template-columns: 1fr;
  }
  
  .reviews {
    padding: 3rem 0;
  }
}

/* ---------------- CTA ---------------- */

.cta {
  border-top: 1px solid var(--border);
  text-align: center;
  padding: 5rem 2rem;
}

.cta h2 {
  font-weight: 400;
  font-size: 2rem;
  margin-bottom: 1.5rem;
}

.cta a {
  display: inline-block;
  border: 1px solid var(--text);
  padding: 0.75rem 2rem;
  font-size: 0.9rem;
}

/* ---------------- ABOUT ---------------- */
.about-hero-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 90vh;
  background-image: url("../images/page-bg.jpg");
  background-size: cover;
  background-position: center;
  z-index: -1;
}

.about-hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.88);
  z-index: 1;
}

.about-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(340px, 1fr);
  gap: 2.7rem;
  margin-top: 0.7rem;
}

.about-body h1{
  font-size: 2.2rem;
  font-weight: 600;
  margin-bottom: 1.3rem;
}

.about-body h2{
  color: var(--accent);
  font-size: 1.6rem;
  font-weight: 600;
  margin-bottom: 1.3rem;
}

.about-body {
  font-size: 0.9rem;
  max-width: 900px;
  margin: 0 auto;
  padding: 2rem 1.5rem;
  background: transparent;
  position: relative;
}

.giving-back-image {
  max-width: 75%;
  width: 100%;
  margin: 2.5rem auto;
  border-radius: 10px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.1);
  display: block;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.giving-back-image:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.15);
}

/* ---------------- TEAM ---------------- */
.about-team {
  border-left: 1px solid var(--border);
  padding-left: 2rem;
}

.about-team h2 {
  color: var(--accent);
  font-size: 1.3rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1.2rem;
}

.team-card h4 {
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
}

.team-card span {
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.team-grid {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.team-card {
  border: none;
  padding: 0;
}

.team-card h4 {
  font-weight: 500;
  margin-bottom: 0.25rem;
}

.team-card span {
  font-size: 0.85rem;
  color: #3f4043;
  display: block;
  margin-bottom: 0.25rem;
}

.team-card p {
  font-size: 0.8rem;
  color: #3f4043;
}

/* --- TEAM HEADSHOTS --- */
.team-photo {
  width: 170px;
  height: 220px;
  object-fit: cover;
  object-position: center;
  border-radius: 12px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.1);
  margin: 0 auto 0.3rem;
  display: block;
  background: #f3f4f6;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-photo:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.15);
}


/* Responsive */
@media (max-width: 900px) {
  .team-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------------- ABOUT IMAGES ---------------- */

.about-image {
  margin: 1rem 0;
}

.about-image img {
  width: 1000px;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 10px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-image img:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.15);
}

/* ------- ABOUT: stack to one column on mobile ------- */
@media (max-width: 900px) {
  .about-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .about-team {
    border-left: none;
    padding-left: 0;
    margin-top: 1rem;
  }
}

/* ---------------- GIVING BACK CAROUSEL ---------------- */

.giving-carousel {
  width: 100vw;
  overflow: hidden;
  padding: 3rem 0;
  margin-top: 5rem;
}

.carousel-track {
  display: flex;
  gap: 4rem;
  width: max-content;
  animation: scroll-logos 50s linear infinite;
}

.giving-carousel img {
  height: 250px;
  width: auto;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.1);
  opacity: 0.7;
  transition: opacity 0.3s ease, filter 0.3s ease;
}

.giving-carousel img:hover {
  filter: grayscale(0%);
  opacity: 1;
}

.giving-carousel:hover .carousel-track {
  animation-play-state: paused;
}

@keyframes scroll-logos {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* ---------------- SUBCONTRACTOR PAGE ---------------- */

.subcontractor-layout {
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 4rem;
  align-items: start;
}

/* Sticky Form */
.subcontractor-form-sticky {
  position: sticky;
  top: 120px;
}

.form-container {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1rem;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.1);
}

.form-container h2 {
  font-size: 1.6rem;
  font-weight: 500;
  margin-bottom: 0.25rem;
  color: var(--accent);
}

.form-intro {
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 0.75rem;
}

.subcontractor-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 0.25rem;
  color: var(--text);
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 0.35rem;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  transition: border-color 0.2s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
}

.form-group textarea {
  resize: vertical;
  min-height: 70px;
}

.form-submit {
  background: var(--accent);
  color: #ffffff;
  border: none;
  padding: 0.85rem 1.5rem;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s ease;
  margin-top: 0.5rem;
}

.form-submit:hover {
  background: #151e27;
}

/* Scrolling Content */
.subcontractor-content {
  padding-bottom: 3rem;
}

.subcontractor-content h1 {
  font-size: 2.5rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
  color: var(--accent);
}

.subcontractor-content h2 {
  font-size: 1.8rem;
  font-weight: 500;
  margin-top: 3rem;
  margin-bottom: 1rem;
  color: var(--accent);
}

.subcontractor-content p {
  font-size: 1.0rem;
  line-height: 1.7;
  color: var(--text);
  margin-bottom: 1.5rem;
}

.benefits-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin: 2rem 0;
}

.benefit-item {
  padding-left: 1.5rem;
  border-left: 3px solid var(--accent);
}

.benefit-item h3 {
  font-size: 1.2rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
  color: var(--text);
}

.benefit-item p {
  color: var(--muted);
  font-size: 0.95rem;
  margin: 0;
}

.requirements-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
}

.requirements-list li {
  padding: 0.75rem 0;
  padding-left: 1.5rem;
  position: relative;
  font-size: 0.95rem;
  color: var(--muted);
  border-bottom: 1px solid var(--border);
}

.requirements-list li:last-child {
  border-bottom: none;
}

.requirements-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: bold;
}

.info-note {
  background: rgba(31, 41, 51, 0.05);
  border-left: 3px solid var(--accent);
  padding: 1.25rem;
  border-radius: 4px;
  margin: 2rem 0;
}

.info-note p {
  color: var(--muted);
  font-size: 0.9rem;
  margin: 0;
}

/* Responsive */
@media (max-width: 900px) {
  .subcontractor-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .subcontractor-form-sticky {
    position: relative;
    top: 0;
  }
}

/* ---------------- CONTACT PAGE ---------------- */

.contact-hero {
  background: linear-gradient(135deg, #1f2933 0%, #2d3e50 100%);
  padding: 5rem 2rem;
  text-align: center;
  color: #ffffff;
}

.contact-hero-content h1 {
  font-size: 3rem;
  font-weight: 300;
  margin-bottom: 1rem;
}

.contact-hero-content p {
  font-size: 1.2rem;
  opacity: 0.9;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 4rem;
  padding: 4rem 2rem;
}

/* Contact Form */
.contact-form-container h2 {
  font-size: 2rem;
  font-weight: 500;
  margin-bottom: 1.75rem;
  color: var(--accent);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.55rem;
}

/* Contact Info */
.contact-info-container h2 {
  font-size: 2rem;
  font-weight: 500;
  margin-bottom: 1rem;
  color: var(--accent);
}

.contact-info-block {
  margin-bottom: 0.75rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border);
}

.contact-info-block:last-of-type {
  border-bottom: none;
}

.contact-info-block h3 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.contact-info-block p {
  font-size: 1rem;
  color: var(--text);
  line-height: 1.4;
}

.contact-info-block a {
  color: var(--accent);
  transition: opacity 0.2s ease;
}

.contact-info-block a:hover {
  opacity: 0.7;
}

.contact-response {
  margin-top: 2rem;
  padding: 1.25rem;
  background: rgba(31, 41, 51, 0.05);
  border-left: 3px solid var(--accent);
  border-radius: 4px;
}

.contact-response p {
  font-size: 0.9rem;
  color: var(--muted);
  margin: 0;
}

/* Haven't Found Section */
.havent-found {
  background: #f9fafb;
  padding: 5rem 0;
  border-top: 1px solid var(--border);
}

.havent-found h2 {
  font-size: 2.5rem;
  font-weight: 400;
  text-align: center;
  margin-bottom: 1rem;
  color: var(--accent);
}

.havent-found > .container > p {
  text-align: center;
  font-size: 1.1rem;
  color: var(--muted);
  margin-bottom: 3rem;
}

.explore-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.explore-card {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  border-radius: 10px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.explore-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.15);
}

.explore-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.explore-card:hover img {
  transform: scale(1.05);
}

.explore-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.7) 100%);
  transition: background 0.3s ease;
}

.explore-card:hover::after {
  background: linear-gradient(to bottom, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.8) 100%);
}

.explore-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem;
  z-index: 2;
  color: #ffffff;
}

.explore-overlay h3 {
  font-size: 1.3rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.explore-overlay p {
  font-size: 0.85rem;
  line-height: 1.5;
  opacity: 0.9;
}

/* Responsive */
@media (max-width: 900px) {
  .contact-hero-content h1 {
    font-size: 2rem;
  }

  .contact-layout {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .explore-grid {
    grid-template-columns: 1fr;
  }

  .explore-card {
    aspect-ratio: 16 / 9;
  }
}

/* ---------------- PROJECTS PAGE ---------------- */

.projects-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: 0;
}

.project-card {
  display: flex;
  flex-direction: column;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.project-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.12);
}

.project-card-image {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.project-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.project-card:hover img {
  transform: scale(1.05);
}

.project-card-body {
  padding: 1.5rem;
}

.project-card-body h3 {
  font-size: 1.2rem;
  font-weight: 500;
  margin-bottom: 0.35rem;
  color: var(--accent);
}

.project-card-body .project-type {
  display: inline-block;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-bottom: 0.75rem;
}

.project-card-body p {
  font-size: 0.85rem;
  line-height: 1.6;
  color: var(--muted);
}

.projects-grid .project-type {
  border-bottom: none;
  padding-bottom: 0;
}

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

@media (max-width: 600px) {
  .projects-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------------- PROJECT DETAIL PAGE ---------------- */

.project-hero {
  position: relative;
  height: 55vh;
  min-height: 420px;
  overflow: hidden;
}

.project-hero-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.9) contrast(0.95);
}

.project-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 1;
}

.project-hero-overlay {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  align-items: center;
}

.project-hero h1 {
  color: #ffffff;
  font-size: 3.2rem;
  font-weight: 400;
  margin-bottom: 0.5rem;
}

.project-subtitle {
  display: inline-block;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* ---------------- PROJECT CONTENT ---------------- */

.project-details {
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.project-details h2 {
  font-size: 2rem;
  font-weight: 500;
  color: var(--accent);
  margin-bottom: 1rem;
}

.project-details h3 {
  font-size: 1.3rem;
  font-weight: 500;
  margin-top: 2.5rem;
  margin-bottom: 0.75rem;
  color: var(--accent);
}

.project-details p {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--muted);
  max-width: 900px;
}

/* Highlights list */
.project-details ul {
  list-style: none;
  padding-left: 0;
  margin-top: 1rem;
}

.project-details li {
  padding-left: 1.5rem;
  position: relative;
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
  color: var(--muted);
}

.project-details li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 600;
}

/* Overview table */
.project-table {
  width: 100%;
  max-width: 700px;
  border-collapse: collapse;
  margin-top: 1.5rem;
}

.project-table th {
  text-align: left;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  padding: 0.75rem 1rem 0.75rem 0;
  width: 30%;
  border-bottom: 1px solid var(--border);
}

.project-table td {
  font-size: 0.9rem;
  color: var(--text);
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border);
}

.project-two-column {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-top: 2.5rem;
  align-items: start;
}

.project-highlights ul {
  margin-top: 1rem;
}

.project-overview {
  max-width: 100%;
}

/* Responsive: stack on mobile */
@media (max-width: 900px) {
  .project-two-column {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* Responsive */
@media (max-width: 900px) {
  .project-hero h1 {
    font-size: 2.2rem;
  }

  .project-details {
    padding-top: 2rem;
  }
}

/* ---------------- FOOTER ---------------- */

.site-footer {
  border-top: 1px solid var(--border);
  padding: 2rem 1.5rem;
  font-size: 0.85rem;
  color: var(--muted);
  background: var(--bg);
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  text-align: center;
}

.footer-contact a {
  color: var(--text);
  text-decoration: none;
}

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

.footer-social {
  display: flex;
  gap: 1rem;
}

.footer-social a {
  display: inline-flex;
  width: 22px;
  height: 22px;
  color: var(--muted);
}

.footer-social svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.footer-social a:hover {
  color: var(--text);
}

.footer-copy {
  font-size: 0.75rem;
  color: var(--muted);
}

@media (min-width: 768px) {
  .footer-inner {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }

  .footer-contact {
    max-width: 60%;
  }
}

/* ---------------- SERVICES SUBPAGES (interior / exterior) ---------------- */

.page-hero {
  position: relative;
  width: 100%;
  height: 42vh;
  min-height: 380px;
  overflow: hidden;
}

.page-hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.9) contrast(0.95);
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 1;
}

.page-hero .hero-inner {
  position: relative;
  z-index: 2;
  height: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.75rem;
  color: #fff;
}

.page-hero h1 {
  font-size: 3.1rem;
  font-weight: 300;
  line-height: 1.15;
  max-width: 900px;
}

.page-hero p {
  max-width: 820px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1rem;
}

.breadcrumbs {
  font-size: 0.85rem;
  color: var(--muted);
  margin: 0.5rem 0 1.25rem;
}
.breadcrumbs a { color: var(--muted); }
.breadcrumbs a:hover { color: var(--text); }

.cap-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.cap-card {
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.75rem 1.5rem;
  background: var(--bg);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cap-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
}

.cap-title {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.75rem;
}

.cap-card h3 {
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--accent);
}

.cap-tag {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  border: 1px solid var(--border);
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  white-space: nowrap;
}

.cap-card p {
  color: var(--muted);
  font-size: 0.92rem;
  margin-bottom: 0.9rem;
}

.cap-card ul {
  padding-left: 1.1rem;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.65;
}

.cap-card li { margin: 0.35rem 0; }

.process {
  background: #f9fafb;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin: 3rem 0;
  padding: 3rem 0;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.step {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.6rem 1.3rem;
}

.step .num {
  font-size: 2.2rem;
  font-weight: 300;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.step h4 {
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 0.4rem;
}

.step p {
  color: var(--muted);
  font-size: 0.9rem;
}

.two-col {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.25rem;
  align-items: start;
  margin-top: 2rem;
}

.info-box {
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.6rem 1.4rem;
  background: #fff;
}

.info-box h3 {
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.info-box p {
  color: var(--muted);
  font-size: 0.92rem;
}

.info-box .mini {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  display: grid;
  gap: 0.75rem;
}

.info-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.info-row b { color: var(--text); font-weight: 500; }

@media (max-width: 900px) {
  .page-hero h1 { font-size: 2.2rem; }
  .cap-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .two-col { grid-template-columns: 1fr; }
}

/* ---------------- PROJECTS: CATEGORY HEADINGS + VOLUME LIST ---------------- */

.category-header {
  font-size: 1.6rem;
  font-weight: 500;
  color: var(--accent);
  margin: 3rem 0 1.25rem;
}

.category-header:first-of-type {
  margin-top: 1.5rem;
}

.more-projects {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem 3rem;
  margin-top: 1.5rem;
}

.more-group h3 {
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.more-group p {
  font-size: 0.9rem;
  line-height: 1.8;
  color: var(--muted);
}

@media (max-width: 700px) {
  .more-projects { grid-template-columns: 1fr; }
}
