/* ===================================
   SANTA MARIA CONSTRUCTION
   Main Stylesheet
   =================================== */

/* --- Custom Properties --- */
:root {
  --dark:        #0B1929;
  --dark-2:      #162236;
  --dark-3:      #1E2F45;
  --gold:        #F5C400;
  --gold-light:  #FFD740;
  --gold-dim:    rgba(245, 196, 0, 0.15);
  --white:       #FFFFFF;
  --off-white:   #F5F3EE;
  --gray:        #8A9BB0;
  --gray-light:  #CDD5E0;
  --text-dark:   #1A2535;

  --font-serif:  'Cormorant Garamond', Georgia, serif;
  --font-sans:   'Inter', system-ui, -apple-system, sans-serif;

  --max-w:       1280px;
  --pad:         clamp(1.5rem, 5vw, 5rem);

  --ease:        cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-back:   cubic-bezier(0.34, 1.56, 0.64, 1);

  --radius:      4px;
  --radius-lg:   12px;
  --shadow:      0 8px 40px rgba(0,0,0,0.18);
  --shadow-lg:   0 24px 80px rgba(0,0,0,0.35);
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: color 0.3s var(--ease); }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* --- Typography --- */
.serif { font-family: var(--font-serif); }

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.section-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.section-label::before {
  content: '';
  display: block;
  width: 32px;
  height: 2px;
  background: var(--gold);
  flex-shrink: 0;
}

/* --- Container --- */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad);
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: var(--radius);
  transition: all 0.35s var(--ease);
  position: relative;
  overflow: hidden;
}
.btn-primary {
  background: var(--gold);
  color: var(--dark);
}
.btn-primary:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(245,196,0,0.35);
}
.btn-outline {
  border: 2px solid rgba(255,255,255,0.6);
  color: var(--white);
}
.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-2px);
}
.btn-dark {
  background: var(--dark);
  color: var(--white);
}
.btn-dark:hover {
  background: var(--dark-3);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.25);
}
.btn svg { width: 16px; height: 16px; transition: transform 0.3s var(--ease); }
.btn:hover svg { transform: translateX(4px); }

/* ===================================
   HEADER & NAVIGATION
   =================================== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 1.5rem 0;
  transition: all 0.4s var(--ease);
}
.site-header.transparent {
  background: transparent;
}
.site-header.scrolled {
  background: var(--dark);
  padding: 1rem 0;
  box-shadow: 0 4px 30px rgba(0,0,0,0.3);
}
.site-header.light {
  background: var(--white);
  padding: 1rem 0;
  box-shadow: 0 2px 20px rgba(0,0,0,0.08);
}
.site-header.light .nav-link { color: var(--dark); }
.site-header.light .nav-link:hover { color: var(--gold); }
.site-header.light .logo-text { color: var(--dark); }
.site-header.light .header-btn { background: var(--gold); color: var(--dark); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}
.logo-img {
  height: 48px;
  width: auto;
}
.logo-text {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
}
.logo-text span {
  display: block;
  font-size: 0.65rem;
  font-family: var(--font-sans);
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
}

/* Nav */
.main-nav { display: flex; align-items: center; gap: 2rem; }
.nav-link {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.9);
  padding: 0.25rem 0;
  position: relative;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 0; height: 2px;
  background: var(--gold);
  transition: width 0.3s var(--ease);
}
.nav-link:hover::after,
.nav-link.active::after { width: 100%; }
.nav-link:hover, .nav-link.active { color: var(--gold); }

/* Dropdown */
.nav-item { position: relative; }
.dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  background: var(--dark-2);
  border: 1px solid rgba(245,196,0,0.15);
  border-radius: var(--radius-lg);
  padding: 1rem 0.75rem 0.75rem;
  min-width: 210px;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s var(--ease);
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}
.dropdown::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1rem;
  background: transparent;
}
.nav-item:hover .dropdown {
  opacity: 1;
  pointer-events: all;
  transform: translateX(-50%) translateY(0);
}
.dropdown a {
  display: block;
  padding: 0.6rem 1rem;
  font-size: 0.78rem;
  color: var(--gray-light);
  border-radius: var(--radius);
  transition: all 0.2s;
}
.dropdown a:hover {
  background: var(--gold-dim);
  color: var(--gold);
  padding-left: 1.25rem;
}

/* Header CTA */
.header-btn {
  padding: 0.65rem 1.5rem;
  background: var(--gold);
  color: var(--dark);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: var(--radius);
  transition: all 0.3s var(--ease);
  white-space: nowrap;
}
.header-btn:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(245,196,0,0.35);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 0.5rem;
  z-index: 1001;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: all 0.3s var(--ease);
  border-radius: 2px;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Nav */
.mobile-nav {
  position: fixed;
  top: 0; right: 0;
  width: min(380px, 100vw);
  height: 100vh;
  background: var(--dark);
  z-index: 999;
  padding: 6rem 2.5rem 3rem;
  transform: translateX(100%);
  transition: transform 0.4s var(--ease);
  overflow-y: auto;
  border-left: 1px solid rgba(245,196,0,0.1);
}
.mobile-nav.open { transform: translateX(0); }
.mobile-nav-link {
  display: block;
  font-size: 1.3rem;
  font-family: var(--font-serif);
  color: var(--white);
  padding: 0.9rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  transition: color 0.3s;
}
.mobile-nav-link:hover { color: var(--gold); }
.mobile-sub { padding-left: 1rem; }
.mobile-sub a {
  display: block;
  font-size: 0.9rem;
  color: var(--gray);
  padding: 0.5rem 0;
  transition: color 0.3s;
}
.mobile-sub a:hover { color: var(--gold); }
.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 998;
  backdrop-filter: blur(4px);
}
.nav-overlay.show { display: block; }

/* ===================================
   PAGE HERO (inner pages)
   =================================== */
.page-hero {
  position: relative;
  height: clamp(280px, 40vw, 420px);
  background: var(--dark);
  display: flex;
  align-items: flex-end;
  padding-bottom: 3.5rem;
  overflow: hidden;
}
.page-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.35;
  transform: scale(1.05);
}
.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(11,25,41,0.92) 0%, rgba(11,25,41,0.65) 100%);
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 {
  font-size: clamp(2.2rem, 5vw, 4rem);
  color: var(--white);
  margin-bottom: 0.75rem;
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  color: var(--gray);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.breadcrumb a { color: var(--gold); }
.breadcrumb a:hover { color: var(--gold-light); }
.breadcrumb span { color: var(--gray); }

/* ===================================
   HERO — HOMEPAGE
   =================================== */
.hero {
  position: relative;
  height: 100vh;
  min-height: 680px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 30%;
  background-attachment: fixed;
  transform: scale(1.05);
  transition: transform 8s var(--ease);
}
.hero-bg.loaded { transform: scale(1); }
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    110deg,
    rgba(11,25,41,0.92) 0%,
    rgba(11,25,41,0.75) 50%,
    rgba(11,25,41,0.4) 100%
  );
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
}
.hero-eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.25rem;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s 0.3s var(--ease) forwards;
}
.hero h1 {
  font-size: clamp(2.8rem, 6vw, 5.5rem);
  color: var(--white);
  margin-bottom: 1.5rem;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 0.9s 0.5s var(--ease) forwards;
}
.hero h1 em {
  font-style: italic;
  color: var(--gold);
}
.hero-text {
  font-size: clamp(0.95rem, 1.5vw, 1.1rem);
  color: rgba(255,255,255,0.8);
  max-width: 540px;
  margin-bottom: 2.5rem;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.9s 0.7s var(--ease) forwards;
}
.hero-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.9s 0.9s var(--ease) forwards;
}
.hero-scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255,255,255,0.5);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  animation: bounce 2s infinite;
}
.hero-scroll::after {
  content: '';
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, var(--gold), transparent);
}
.hero-stats {
  position: absolute;
  bottom: 0; right: 0;
  z-index: 2;
  background: var(--gold);
  display: flex;
  gap: 0;
}
.hero-stat {
  padding: 1.5rem 2.5rem;
  border-right: 1px solid rgba(0,0,0,0.1);
  text-align: center;
}
.hero-stat:last-child { border-right: none; }
.hero-stat-num {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--dark);
  line-height: 1;
}
.hero-stat-label {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--dark);
  opacity: 0.7;
  margin-top: 0.3rem;
}

/* ===================================
   SECTIONS
   =================================== */
.section { padding: clamp(4rem, 8vw, 7rem) 0; }
.section-dark { background: var(--dark); color: var(--white); }
.section-light { background: var(--off-white); }
.section-mid { background: var(--dark-2); color: var(--white); }

.section-header { margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-header h2 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  margin-top: 0.5rem;
}
.section-header.centered { text-align: center; }
.section-header.centered .section-label { justify-content: center; }
.section-header.centered .section-label::before { display: none; }
.section-header.centered p {
  max-width: 600px;
  margin: 1rem auto 0;
  color: var(--gray);
  font-size: 1.05rem;
}
.section-dark .section-header p,
.section-mid .section-header p { color: var(--gray-light); }

/* ===================================
   HERO SLIDER
   =================================== */
.hero-slider {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.2s cubic-bezier(0.4,0,0.2,1);
  transform: scale(1.05);
  transition: opacity 1.2s cubic-bezier(0.4,0,0.2,1), transform 8s ease;
}
.hero-slide.active {
  opacity: 1;
  transform: scale(1);
}
.hero-slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    110deg,
    rgba(11,25,41,0.90) 0%,
    rgba(11,25,41,0.70) 50%,
    rgba(11,25,41,0.35) 100%
  );
}

/* Slider controls */
.slider-controls {
  position: absolute;
  bottom: 3rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.slider-dots {
  display: flex;
  gap: 0.5rem;
}
.slider-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.35);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}
.slider-dot.active {
  background: var(--gold);
  width: 28px;
  border-radius: 4px;
}
.slider-arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,0.3);
  background: rgba(0,0,0,0.2);
  color: var(--white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);
  transition: all 0.3s ease;
}
.slider-arrow:hover {
  border-color: var(--gold);
  background: var(--gold);
  color: var(--dark);
}
.slider-arrow svg { width: 18px; height: 18px; }

/* Slide content transition */
.hero-content { transition: opacity 0.5s ease, transform 0.5s ease; }
.hero-content.transitioning { opacity: 0; transform: translateY(20px); }

/* Progress bar */
.slider-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 3px;
  background: var(--gold);
  width: 0%;
  transition: width linear;
  z-index: 10;
}

/* ===================================
   ABOUT SECTION (homepage)
   =================================== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.about-image-wrap {
  position: relative;
}
.about-image-wrap img {
  width: 100%;
  height: 560px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--dark-2) 0%, var(--dark-3) 100%);
}
.about-image-badge {
  position: absolute;
  bottom: -1.5rem;
  right: -1.5rem;
  background: var(--gold);
  color: var(--dark);
  padding: 2rem 2.5rem;
  border-radius: var(--radius-lg);
  text-align: center;
  box-shadow: var(--shadow);
}
.about-image-badge .num {
  font-family: var(--font-serif);
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1;
}
.about-image-badge .label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: 0.3rem;
}
.about-content { }
.about-content h2 {
  font-size: clamp(2rem, 3.5vw, 3rem);
  margin-bottom: 1.25rem;
}
.about-content p {
  color: var(--gray);
  margin-bottom: 1.25rem;
  font-size: 1rem;
}
.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin: 2rem 0;
}
.about-feature {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-dark);
}
.about-feature::before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--gold);
  border-radius: 50%;
  flex-shrink: 0;
}

/* ===================================
   STATS
   =================================== */
.stats-section {
  background: var(--dark);
  padding: 4rem 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.stat-item {
  text-align: center;
  padding: 2.5rem 1.5rem;
  border-right: 1px solid rgba(255,255,255,0.06);
  position: relative;
}
.stat-item:last-child { border-right: none; }
.stat-num {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 4vw, 4rem);
  font-weight: 600;
  color: var(--gold);
  line-height: 1;
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.1em;
}
.stat-num .suffix {
  font-size: 0.5em;
  color: var(--gold);
}
.stat-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gray);
  margin-top: 0.75rem;
}

/* ===================================
   SERVICES
   =================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5px;
  background: rgba(245,196,0,0.1);
}
.service-card {
  background: var(--dark-2);
  padding: 3rem 2.5rem;
  position: relative;
  overflow: hidden;
  transition: all 0.4s var(--ease);
  cursor: pointer;
}
.service-card::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 3px;
  background: var(--gold);
  transition: width 0.4s var(--ease);
}
.service-card:hover::before { width: 100%; }
.service-card:hover { background: var(--dark-3); transform: translateY(-4px); }
.service-card-num {
  font-family: var(--font-serif);
  font-size: 5rem;
  font-weight: 700;
  color: rgba(245,196,0,0.1);
  line-height: 1;
  position: absolute;
  top: 1rem; right: 1.5rem;
  transition: color 0.4s;
}
.service-card:hover .service-card-num { color: rgba(245,196,0,0.2); }
.service-icon {
  width: 52px;
  height: 52px;
  background: var(--gold-dim);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  transition: background 0.3s;
}
.service-card:hover .service-icon { background: var(--gold); }
.service-icon svg { width: 26px; height: 26px; stroke: var(--gold); transition: stroke 0.3s; }
.service-card:hover .service-icon svg { stroke: var(--dark); }
.service-card h3 {
  font-size: 1.5rem;
  color: var(--white);
  margin-bottom: 1rem;
}
.service-card p {
  font-size: 0.9rem;
  color: var(--gray-light);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}
.service-link {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: gap 0.3s;
}
.service-card:hover .service-link { gap: 0.75rem; }

/* ===================================
   PROJECTS GRID
   =================================== */
.projects-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 3rem;
}
.filter-btn {
  padding: 0.5rem 1.25rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 100px;
  border: 1.5px solid rgba(245,196,0,0.3);
  color: var(--gray);
  background: transparent;
  transition: all 0.3s var(--ease);
}
.filter-btn:hover,
.filter-btn.active {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--dark);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.project-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--dark-2);
  cursor: pointer;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.project-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}
.project-card-img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
  background: linear-gradient(135deg, var(--dark-2) 0%, var(--dark-3) 100%);
}
.project-card:hover .project-card-img { transform: scale(1.06); }
.project-card-img-placeholder {
  width: 100%;
  height: 280px;
  background: linear-gradient(135deg, var(--dark-2), var(--dark-3));
  display: flex;
  align-items: center;
  justify-content: center;
}
.project-card-img-placeholder svg {
  width: 48px;
  height: 48px;
  stroke: rgba(245,196,0,0.3);
}
.project-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(11,25,41,0.95) 0%, rgba(11,25,41,0.3) 60%, transparent 100%);
  transition: background 0.4s var(--ease);
}
.project-card:hover .project-card-overlay {
  background: linear-gradient(to top, rgba(11,25,41,0.98) 0%, rgba(11,25,41,0.6) 70%, rgba(11,25,41,0.1) 100%);
}
.project-card-content {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 2rem 1.75rem;
  transform: translateY(8px);
  transition: transform 0.4s var(--ease);
}
.project-card:hover .project-card-content { transform: translateY(0); }
.project-card-cat {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.5rem;
}
.project-card h3 {
  font-size: 1.2rem;
  color: var(--white);
  margin-bottom: 0.5rem;
}
.project-card-location {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.55);
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin-bottom: 1rem;
  opacity: 0;
  transition: opacity 0.4s 0.1s var(--ease);
}
.project-card:hover .project-card-location { opacity: 1; }
.project-card-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0;
  transform: translateY(8px);
  transition: all 0.4s 0.15s var(--ease);
}
.project-card:hover .project-card-arrow {
  opacity: 1;
  transform: translateY(0);
}

/* Projects — featured (large) */
.project-card.large .project-card-img,
.project-card.large .project-card-img-placeholder {
  height: 420px;
}
.projects-grid.featured {
  grid-template-columns: 2fr 1fr;
  grid-template-rows: auto auto;
}
.projects-grid.featured .project-card:first-child {
  grid-row: 1 / 3;
}
.projects-grid.featured .project-card:first-child .project-card-img,
.projects-grid.featured .project-card:first-child .project-card-img-placeholder {
  height: 100%;
  min-height: 400px;
}

/* CTA Banner */
.cta-banner {
  padding: 5rem 0;
  background: var(--gold);
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: rgba(255,255,255,0.06);
  border-radius: 50%;
}
.cta-banner .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  position: relative;
}
.cta-banner h2 {
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  color: var(--dark);
  max-width: 600px;
}
.cta-banner .btn-dark { flex-shrink: 0; }

/* ===================================
   SERVICE DETAIL PAGE
   =================================== */
.service-detail-intro {
  padding: clamp(4rem, 8vw, 6rem) 0;
}
.service-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}
.service-detail-img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  background: linear-gradient(135deg, var(--dark-2) 0%, var(--dark-3) 100%);
}
.service-detail-content h2 {
  font-size: clamp(2rem, 3.5vw, 3rem);
  margin-bottom: 1.5rem;
}
.service-detail-content p {
  color: var(--gray);
  margin-bottom: 1.25rem;
  font-size: 1rem;
  line-height: 1.8;
}

.services-list {
  margin-top: 2.5rem;
}
.service-list-group {
  margin-bottom: 2rem;
  border-left: 3px solid var(--gold);
  padding-left: 1.5rem;
}
.service-list-group h4 {
  font-size: 1rem;
  font-weight: 700;
  font-family: var(--font-sans);
  color: var(--dark);
  margin-bottom: 0.75rem;
}
.service-list-group ul li {
  font-size: 0.9rem;
  color: var(--gray);
  padding: 0.3rem 0;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.service-list-group ul li::before {
  content: '';
  width: 5px;
  height: 5px;
  background: var(--gold);
  border-radius: 50%;
  flex-shrink: 0;
}

/* ===================================
   WHY-CARD (global — used on all service pages & mission-vision)
   =================================== */
.why-card {
  padding: 2.5rem;
  background: var(--white);
  border-radius: var(--radius-lg);
  border-top: 3px solid var(--gold);
  box-shadow: 0 4px 24px rgba(0,0,0,0.07);
  transition: transform 0.3s var(--ease), box-shadow 0.3s;
}
.why-card:hover { transform: translateY(-6px); box-shadow: 0 16px 48px rgba(0,0,0,0.12); }
.why-card-icon {
  width: 56px; height: 56px;
  background: rgba(245,196,0,0.1);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.5rem;
}
.why-card-icon svg { width: 26px; height: 26px; stroke: var(--gold); }
.why-card h3 { font-size: 1.25rem; color: var(--dark); margin-bottom: 0.75rem; }
.why-card p { font-size: 0.9rem; color: var(--gray); line-height: 1.8; }

/* ===================================
   PROJECT DETAIL PAGE
   =================================== */
.project-detail-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 3rem;
  padding: clamp(3rem, 6vw, 5rem) 0;
  align-items: start;
}
.project-main-img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  margin-bottom: 2rem;
}
.project-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 1.5rem; }
.project-gallery img {
  width: 100%;
  height: 120px;
  object-fit: cover;
  border-radius: var(--radius);
  cursor: pointer;
  transition: opacity 0.3s;
}
.project-gallery img:hover { opacity: 0.8; }
.project-info-card {
  background: var(--off-white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  position: sticky;
  top: 7rem;
}
.project-info-card h3 {
  font-size: 1.3rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--gold);
}
.project-info-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}
.project-info-row:last-child { border-bottom: none; }
.project-info-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray);
}
.project-info-value {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--dark);
  text-align: right;
}
.project-status-badge {
  padding: 0.25rem 0.75rem;
  border-radius: 100px;
  font-size: 0.7rem;
  font-weight: 600;
  background: rgba(72, 187, 120, 0.12);
  color: #276749;
  letter-spacing: 0.08em;
}
.project-detail-desc h2 { font-size: 1.8rem; margin-bottom: 1rem; }
.project-detail-desc p {
  color: var(--gray);
  font-size: 1rem;
  line-height: 1.85;
  margin-bottom: 1.25rem;
}

/* ===================================
   ABOUT / HISTORY PAGE
   =================================== */
.history-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
  padding: clamp(4rem, 8vw, 6rem) 0;
}
.history-images {
  position: relative;
}
.history-img-main {
  width: 85%;
  height: 480px;
  object-fit: cover;
  border-radius: var(--radius-lg);
}
.history-img-secondary {
  position: absolute;
  bottom: -2rem;
  right: 0;
  width: 55%;
  height: 220px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  border: 4px solid var(--white);
  box-shadow: var(--shadow);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.value-card {
  text-align: center;
  padding: 3rem 2rem;
  border-radius: var(--radius-lg);
  background: var(--dark-2);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.value-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}
.value-icon {
  width: 64px;
  height: 64px;
  background: var(--gold-dim);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}
.value-icon svg { width: 30px; height: 30px; stroke: var(--gold); }
.value-card h3 {
  font-size: 1.35rem;
  color: var(--white);
  margin-bottom: 1rem;
}
.value-card p {
  font-size: 0.9rem;
  color: var(--gray-light);
  line-height: 1.8;
}

/* ===================================
   CONTACT PAGE
   =================================== */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  padding: clamp(4rem, 8vw, 6rem) 0;
  align-items: start;
}
.contact-form {
  background: var(--off-white);
  padding: 3rem;
  border-radius: var(--radius-lg);
}
.contact-form h2 { font-size: 2rem; margin-bottom: 0.5rem; }
.contact-form .subtitle { color: var(--gray); margin-bottom: 2.5rem; font-size: 0.95rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; margin-bottom: 1.25rem; }
.form-group { display: flex; flex-direction: column; gap: 0.5rem; margin-bottom: 1.25rem; }
.form-group label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray);
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.875rem 1.25rem;
  background: var(--white);
  border: 1.5px solid transparent;
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-family: var(--font-sans);
  color: var(--text-dark);
  transition: border-color 0.3s, box-shadow 0.3s;
  appearance: none;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(245,196,0,0.1);
}
.form-group textarea { height: 140px; resize: vertical; }
.contact-info { }
.contact-info h2 { font-size: 2rem; margin-bottom: 1rem; color: var(--white); }
.contact-info .lead { color: var(--gray-light); margin-bottom: 3rem; font-size: 1rem; }
.contact-info-item {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}
.contact-info-icon {
  width: 52px;
  height: 52px;
  background: var(--gold-dim);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-info-icon svg { width: 22px; height: 22px; stroke: var(--gold); }
.contact-info-text h4 {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.35rem;
  font-family: var(--font-sans);
}
.contact-info-text p {
  color: var(--gray-light);
  font-size: 0.95rem;
  line-height: 1.6;
}
.contact-info-text a { color: var(--gray-light); }
.contact-info-text a:hover { color: var(--gold); }

/* ===================================
   BLOG PREVIEW
   =================================== */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.blog-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0,0,0,0.06);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.12);
}
.blog-card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
.blog-card-img-placeholder {
  width: 100%;
  height: 200px;
  background: linear-gradient(135deg, var(--dark-2), var(--dark-3));
}
.blog-card-body { padding: 1.75rem; }
.blog-cat {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
}
.blog-card h3 {
  font-size: 1.1rem;
  color: var(--dark);
  margin-bottom: 0.75rem;
  font-family: var(--font-sans);
  font-weight: 600;
  line-height: 1.4;
}
.blog-card p { font-size: 0.88rem; color: var(--gray); line-height: 1.7; margin-bottom: 1.25rem; }
.blog-read-more {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: gap 0.3s;
}
.blog-card:hover .blog-read-more { gap: 0.75rem; }

/* ===================================
   FOOTER
   =================================== */
.site-footer {
  background: var(--dark);
  border-top: 1px solid rgba(255,255,255,0.05);
}
.footer-top {
  padding: 5rem 0 3rem;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
}
.footer-brand .logo { margin-bottom: 1.5rem; }
.footer-brand p {
  font-size: 0.9rem;
  color: var(--gray);
  line-height: 1.8;
  max-width: 280px;
  margin-bottom: 1.5rem;
}
.footer-socials {
  display: flex;
  gap: 0.75rem;
}
.footer-social {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1.5px solid rgba(245,196,0,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray);
  transition: all 0.3s;
}
.footer-social:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: var(--gold-dim);
}
.footer-social svg { width: 16px; height: 16px; }
.footer-col h4 {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
  font-family: var(--font-sans);
}
.footer-col ul li {
  margin-bottom: 0.7rem;
}
.footer-col ul li a {
  font-size: 0.88rem;
  color: var(--gray);
  transition: color 0.3s;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.footer-col ul li a::before {
  content: '';
  width: 0;
  height: 1.5px;
  background: var(--gold);
  transition: width 0.3s;
}
.footer-col ul li a:hover { color: var(--white); }
.footer-col ul li a:hover::before { width: 16px; }
.footer-contact li {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1rem;
}
.footer-contact li svg { width: 16px; height: 16px; stroke: var(--gold); flex-shrink: 0; margin-top: 3px; }
.footer-contact li span { font-size: 0.85rem; color: var(--gray); line-height: 1.6; }
.footer-bottom {
  padding: 1.5rem 0;
  border-top: 1px solid rgba(255,255,255,0.05);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.footer-bottom p {
  font-size: 0.78rem;
  color: var(--gray);
}
.footer-bottom a { color: var(--gold); }

/* ===================================
   ANIMATIONS
   =================================== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}
@keyframes slideInRight {
  from { opacity: 0; transform: translateX(40px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.revealed {
  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; }
.reveal-delay-5 { transition-delay: 0.5s; }

/* ===================================
   RESPONSIVE
   =================================== */
@media (max-width: 1100px) {
  .about-grid { grid-template-columns: 1fr; gap: 3rem; }
  .about-image-wrap img { height: 400px; }
  .about-image-badge { right: 0; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
  .history-intro { grid-template-columns: 1fr; }
  .history-img-secondary { display: none; }
}

@media (max-width: 900px) {
  .projects-grid { grid-template-columns: repeat(2, 1fr); }
  .projects-grid.featured { grid-template-columns: 1fr; }
  .projects-grid.featured .project-card:first-child { grid-row: auto; }
  .services-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; gap: 1.25rem; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(2) { border-right: none; }
  .service-detail-grid { grid-template-columns: 1fr; }
  .contact-layout { grid-template-columns: 1fr; }
  .project-detail-layout { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr 1fr; }
  .hero-stats { display: none; }
}

@media (max-width: 768px) {
  .main-nav, .header-btn { display: none; }
  .hamburger { display: flex; }
  .cta-banner .container { flex-direction: column; text-align: center; }
  .about-features { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .history-intro { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .projects-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .hero h1 { font-size: 2.5rem; }
}
