/* ================================================================
   Nadiah Trading — Construction Website Stylesheet
   Dark Navy + Vivid Orange Theme | Modern, Non-Generic Design
   ================================================================ */

/* ── Custom Properties ─────────────────────────────────────────── */
:root {
  /* PRIMARY (Logo Green) */
  --accent:       #1F7A4C;
  --accent-dark:  #16633D;
  --accent-light: #2FA66A;

  /* SECONDARY (Logo Red) */
  --secondary:       #D7262E;
  --secondary-dark:  #A61B21;
  --secondary-light: #FF4D4F;

  /* DARK UI (keep modern feel) */
  --dark:         #0F1F1A;
  --dark2:        #183028;
  --dark3:        #224238;

  /* MID TONES */
  --mid:          #3A5F52;

  /* LIGHT */
  --light:        #FFFFFF;
  --off-white:    #F4F7F6;

  /* TEXT */
  --text:         #102A24;
  --text-muted:   #6B7280;

  /* BORDER */
  --border:       #DDE5E2;

  /* FONTS */
  --font-head:    'Barlow Condensed', 'Barlow', sans-serif;
  --font-body:    'Inter', 'Barlow', sans-serif;

  /* UI */
  --radius:       12px;
  --radius-sm:    8px;
  --shadow-sm:    0 2px 12px rgba(0,0,0,.07);
  --shadow-md:    0 8px 32px rgba(0,0,0,.12);
  --shadow-lg:    0 20px 60px rgba(0,0,0,.18);
  --transition:   .3s cubic-bezier(.4,0,.2,1);
}

/* ── Base ──────────────────────────────────────────────────────── */
*,*::before,*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--text);
  background: #fff;
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; }
a  { color: var(--accent); transition: color var(--transition); }
a:hover { color: var(--accent-dark); }

/* ── Typography ────────────────────────────────────────────────── */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-family: var(--font-body);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: .9rem;
}
.section-label::before {
  content: '';
  display: block;
  width: 24px; height: 2px;
  background: var(--accent);
  border-radius: 2px;
}

.section-title {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  line-height: 1.1;
  color: var(--dark);
  margin-bottom: 1rem;
}

.section-sub {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.75;
  max-width: 640px;
}

.section-lead {
  font-size: 1.05rem;
  color: #444;
  line-height: 1.8;
}

.section-pad     { padding: 5rem 0; }
.section-pad-sm  { padding: 3rem 0; }
.section-alt     { background: var(--off-white); }

/* ── Navbar ────────────────────────────────────────────────────── */
#mainNav {
  background: transparent;
  padding: 1.2rem 0;
  transition: background var(--transition), padding var(--transition), box-shadow var(--transition);
}
#mainNav.scrolled {
  background: var(--dark) !important;
  padding: .6rem 0;
  box-shadow: 0 4px 20px rgba(0,0,0,.3);
}

.nav-logo-icon {
  width: 42px; height: 42px;
  background: var(--accent);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; color: #fff;
  flex-shrink: 0;
}

.nav-company {
  display: block;
  font-family: var(--font-head);
  font-size: 1.22rem;
  font-weight: 800;
  color: #4CAF50;
  letter-spacing: 1px;
  line-height: 1.1;
  text-transform: uppercase;
  text-shadow:
    1px 1px 0 #1a3a1a,
    2px 2px 0 rgba(0,0,0,.35);
  -webkit-text-stroke: .5px #2e6b2e;
}
.nav-tagline {
  font-size: .68rem;
  color: rgba(255,255,255,.5);
  letter-spacing: 1px;
  text-transform: uppercase;
}

.navbar-nav .nav-link {
  color: rgba(255,255,255,.83) !important;
  font-size: .875rem;
  font-weight: 500;
  padding: .5rem .85rem !important;
  border-radius: 6px;
  transition: color var(--transition), background var(--transition);
  position: relative;
}
.navbar-nav .nav-link::after {
  content: '';
  position: absolute;
  bottom: 0; left: 50%; right: 50%;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
  transition: left var(--transition), right var(--transition);
}
.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after { left: .85rem; right: .85rem; }
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active { color: #fff !important; }

.btn-get-quote {
  background: var(--accent);
  color: #fff !important;
  font-size: .82rem;
  font-weight: 700;
  padding: .5rem 1.2rem;
  border-radius: 30px;
  border: none;
  letter-spacing: .4px;
  transition: background var(--transition), transform var(--transition);
  text-decoration: none;
}
.btn-get-quote:hover {
  background: var(--accent-dark);
  transform: translateY(-1px);
  color: #fff !important;
}

/* ── Mobile Nav Dropdown ───────────────────────────────────────── */
@media (max-width: 991px) {
  /* Solid background when open */
  #navbarMain {
    background: var(--dark);
    border-top: 1px solid rgba(255,255,255,.08);
    border-radius: 0 0 16px 16px;
    padding: .75rem 1rem 1.2rem;
    margin: 0 -0.75rem;
    box-shadow: 0 12px 32px rgba(0,0,0,.35);
  }

  /* Always keep navbar itself dark on mobile so toggler is visible */
  #mainNav {
    background: var(--dark) !important;
    padding: .7rem 0;
  }

  /* Each nav link in the mobile menu */
  .navbar-nav .nav-link {
    padding: .65rem 1rem !important;
    border-radius: 8px;
    font-size: .95rem;
    border-bottom: 1px solid rgba(255,255,255,.05);
  }
  .navbar-nav .nav-link:last-child { border-bottom: none; }

  /* Remove underline indicator on mobile (no room) */
  .navbar-nav .nav-link::after { display: none; }

  /* Active link gets accent background */
  .navbar-nav .nav-link.active {
    background: rgba(31,122,76,.25);
    color: #fff !important;
  }
  .navbar-nav .nav-link:hover {
    background: rgba(255,255,255,.07);
  }

  /* Get Quote button full-width on mobile */
  .navbar-nav .nav-item:last-child { margin: .5rem 0 0; }
  .btn-get-quote {
    width: 100%;
    justify-content: center;
    text-align: center;
    padding: .7rem 1.2rem;
    border-radius: 10px;
    font-size: .9rem;
  }
}

/* ── Hero Section ──────────────────────────────────────────────── */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  transition: transform 20s ease;
}
.hero-bg-default {
  background:
    radial-gradient(circle at 25% 60%, rgba(232,93,4,.12) 0%, transparent 50%),
    radial-gradient(circle at 75% 30%, rgba(21,101,192,.1) 0%, transparent 50%),
    linear-gradient(135deg, #0a1628 0%, #0d1b2a 40%, #162032 70%, #0d1b2a 100%);
}
/* Animated grid pattern */
.hero-bg-default::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 60px 60px;
}
.hero-bg-default::after {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 15% 85%, rgba(232,93,4,.18) 0%, transparent 40%),
    radial-gradient(circle at 85% 15%, rgba(21,101,192,.12) 0%, transparent 40%);
  animation: heroPulse 8s ease-in-out infinite alternate;
}
@keyframes heroPulse {
  from { opacity:.6; transform: scale(1); }
  to   { opacity:1;  transform: scale(1.05); }
}

.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(13,27,42,.7) 0%, rgba(13,27,42,.4) 60%, transparent 100%);
}

.hero-content { position: relative; z-index: 2; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(34,197,94,.15);
  border: 1px solid rgba(34,197,94,.3);
  border-radius: 30px;
  padding: .35rem 1rem;
  color: #4ADE80;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 1.2rem;
}
.hero-badge-dot {
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  animation: blink 1.5s ease-in-out infinite;
}
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:.3} }

.hero-title {
  font-family: var(--font-head);
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.05;
  margin-bottom: 1.4rem;
  letter-spacing: -.5px;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: rgba(255,255,255,.72);
  line-height: 1.75;
  max-width: 560px;
  margin-bottom: 2rem;
}

.hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 3rem; }

.btn-hero-primary {
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: .85rem 2rem;
  font-weight: 700;
  font-size: .95rem;
  letter-spacing: .3px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  box-shadow: 0 4px 20px rgba(38, 232, 4, 0.35);
}
.btn-hero-primary:hover {
  background: var(--accent-dark);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(4, 232, 61, 0.45);
}
.btn-hero-outline {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,.4);
  border-radius: 6px;
  padding: .83rem 1.8rem;
  font-weight: 600;
  font-size: .95rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  transition: border-color var(--transition), background var(--transition), color var(--transition);
}
.btn-hero-outline:hover {
  border-color: #fff;
  background: rgba(255,255,255,.08);
  color: #fff;
}

/* Hero stats */
.hero-stats {
  display: flex;
  align-items: center;
  gap: 0;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 12px;
  padding: 1rem 1.5rem;
  max-width: 560px;
  backdrop-filter: blur(8px);
}
.hero-stat { flex: 1; text-align: center; }
.hero-stat-num {
  display: block;
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent-light);
  line-height: 1;
}
.hero-stat-label {
  font-size: .68rem;
  color: rgba(255,255,255,.6);
  text-transform: uppercase;
  letter-spacing: .8px;
  line-height: 1.3;
  margin-top: .3rem;
}
.hero-stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,.12);
  flex-shrink: 0;
  margin: 0 .5rem;
}

/* Hero card (right side) */
.hero-card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 16px;
  padding: 2rem;
  backdrop-filter: blur(12px);
  width: 260px;
  color: #fff;
}
.hero-card-icon {
  width: 48px; height: 48px;
  background: var(--accent);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1rem;
}
.hero-card-title  { font-weight: 700; font-size: 1rem; margin-bottom: .3rem; }
.hero-card-sub    { font-size: .82rem; color: rgba(255,255,255,.6); margin-bottom: 0; }
.hero-card-divider{ height: 1px; background: rgba(255,255,255,.1); margin: 1rem 0; }
.hero-card-avatars {
  display: flex;
}
.hero-card-avatars span {
  width: 28px; height: 28px;
  background: var(--mid);
  border: 2px solid rgba(255,255,255,.2);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: .65rem; font-weight: 700; color: #fff;
  margin-left: -6px;
}
.hero-card-avatars span:first-child { margin-left: 0; }
.hero-card small { font-size: .72rem; color: rgba(255,255,255,.55); }

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 2rem; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column;
  align-items: center; gap: .5rem;
  z-index: 2;
  color: rgba(255,255,255,.45);
  font-size: .68rem;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.scroll-mouse {
  width: 22px; height: 34px;
  border: 2px solid rgba(255,255,255,.3);
  border-radius: 12px;
  display: flex;
  justify-content: center;
  padding-top: 6px;
}
.scroll-dot {
  width: 4px; height: 6px;
  background: var(--accent);
  border-radius: 3px;
  animation: scrollDot 2s ease-in-out infinite;
}
@keyframes scrollDot { 0%,100%{transform:translateY(0);opacity:1} 50%{transform:translateY(8px);opacity:.3} }

/* ── About Strip ───────────────────────────────────────────────── */
.section-about-strip { padding: 5rem 0; }

.about-pillars { display: flex; flex-direction: column; gap: 1rem; }
.about-pillar {
  display: flex;
  gap: 1rem;
  padding: 1rem;
  background: var(--off-white);
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--accent);
}
.about-pillar i {
  font-size: 1.3rem;
  color: var(--accent);
  flex-shrink: 0;
  margin-top: .15rem;
}
.about-pillar strong { display: block; font-size: .9rem; margin-bottom: .25rem; color: var(--dark); }
.about-pillar p { font-size: .82rem; color: var(--text-muted); margin: 0; }

.about-stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.about-stat-card {
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 1.5rem 1.2rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}
.about-stat-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.about-stat-icon {
  font-size: 1.8rem;
  color: var(--accent);
  margin-bottom: .5rem;
}
.about-stat-num {
  font-family: var(--font-head);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--dark);
  line-height: 1;
}
.about-stat-label {
  font-size: .78rem;
  color: var(--text-muted);
  margin-top: .3rem;
  text-transform: uppercase;
  letter-spacing: .5px;
}

/* ── Services ──────────────────────────────────────────────────── */
.section-services { padding: 5rem 0; }

.service-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  height: 100%;
  position: relative;
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  box-shadow: var(--shadow-sm);
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}
.service-card:hover::before { transform: scaleX(1); }
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.service-card-num {
  position: absolute;
  top: 1.5rem; right: 1.5rem;
  font-family: var(--font-head);
  font-size: 3rem;
  font-weight: 800;
  color: rgba(4, 232, 91, 0.344);
  line-height: 1;
}
.service-card-icon {
  width: 56px; height: 56px;
  background: rgba(38, 232, 4, 0.1);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  color: var(--accent);
  margin-bottom: 1.2rem;
  transition: background var(--transition), color var(--transition);
}
.service-card:hover .service-card-icon {
  background: var(--accent);
  color: #fff;
}
.service-card-title {
  font-family: var(--font-head);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: .6rem;
}
.service-card-desc {
  font-size: .875rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 1.2rem;
}
.service-card-link {
  font-size: .82rem;
  font-weight: 700;
  color: var(--accent);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  transition: gap var(--transition);
  gap: .3rem;
}
.service-card-link:hover { gap: .6rem; color: var(--accent-dark); }
.service-card--tall { min-height: 280px; }

/* ── Projects ──────────────────────────────────────────────────── */
.section-projects { padding: 5rem 0; }

.project-card {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  background: #fff;
  transition: transform var(--transition), box-shadow var(--transition);
  height: 100%;
}
.project-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.project-card-img {
  position: relative;
  height: 220px;
  overflow: hidden;
}
.project-card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.project-card:hover .project-card-img img { transform: scale(1.06); }

.project-card-placeholder {
  width: 100%; height: 100%;
  background: linear-gradient(135deg, var(--dark2) 0%, var(--dark3) 100%);
  display: flex; align-items: center; justify-content: center;
  font-size: 3.5rem;
  color: rgba(8, 232, 4, 0.4);
}
.project-card-overlay {
  position: absolute;
  bottom: .75rem; left: .75rem;
}
.project-cat-badge {
  background: var(--accent);
  color: #fff;
  font-size: .7rem;
  font-weight: 700;
  padding: .25em .7em;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: .5px;
}
.project-card-body { padding: 1.3rem; }
.project-meta { font-size: .72rem; color: var(--accent); font-weight: 600; text-transform: uppercase; letter-spacing: 1px; margin-bottom: .4rem; }
.project-card-title { font-family: var(--font-head); font-size: 1.1rem; font-weight: 700; color: var(--dark); margin-bottom: .5rem; }
.project-card-desc  { font-size: .84rem; color: var(--text-muted); margin: 0; line-height: 1.6; }
.project-card--full .project-card-img { height: 240px; }

/* ── Why Choose Us ─────────────────────────────────────────────── */
.why-list { display: flex; flex-direction: column; gap: 1.2rem; margin-top: 1.5rem; }
.why-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.why-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.why-title { font-weight: 700; font-size: .95rem; color: var(--dark); margin-bottom: .2rem; }
.why-desc  { font-size: .83rem; color: var(--text-muted); margin: 0; }

.why-visual {
  position: relative;
  height: 400px;
  border-radius: 20px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark3) 100%);
  display: flex; align-items: center; justify-content: center;
}
.why-visual::before {
  content: '';
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.03) 1px,transparent 1px),
                    linear-gradient(90deg,rgba(255,255,255,.03) 1px,transparent 1px);
  background-size: 40px 40px;
}
.why-visual-inner { position: relative; text-align: center; color: #fff; }
.why-big-num {
  font-family: var(--font-head);
  font-size: 8rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
}
.why-big-num span { font-size: 4rem; vertical-align: top; margin-top: .5rem; display: inline-block; }
.why-big-label {
  font-family: var(--font-head);
  font-size: 1.4rem;
  font-weight: 700;
  color: rgba(255,255,255,.8);
  line-height: 1.2;
  margin-top: -.5rem;
}
.why-badges {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  justify-content: center;
  margin-top: 1.5rem;
}
.why-badge {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 20px;
  padding: .3em .85em;
  font-size: .75rem;
  color: rgba(255,255,255,.8);
  display: flex; align-items: center; gap: .35rem;
}
.why-badge i { color: var(--accent); }

/* ── Gallery ───────────────────────────────────────────────────── */
.section-gallery { padding: 5rem 0; }

.gallery-masonry {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 200px;
  gap: 1rem;
}
.gallery-item {
  position: relative;
  border-radius: var(--radius-sm);
  overflow: hidden;
  display: block;
  text-decoration: none;
}
.gallery-item--wide { grid-column: span 2; grid-row: span 2; }
.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
  display: block;
}
.gallery-item:hover img { transform: scale(1.07); }
.gallery-hover {
  position: absolute; inset: 0;
  background: rgba(13,27,42,.5);
  display: flex; align-items: center; justify-content: center;
  opacity: 0;
  transition: opacity var(--transition);
  font-size: 1.8rem;
  color: #fff;
}
.gallery-item:hover .gallery-hover { opacity: 1; }
.gallery-caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,.6));
  color: #fff;
  font-size: .78rem;
  padding: .5rem .75rem;
  transform: translateY(100%);
  transition: transform var(--transition);
}
.gallery-item:hover .gallery-caption { transform: translateY(0); }

/* Gallery page full */
.gallery-item-full {
  position: relative;
  display: block;
  text-decoration: none;
  border-radius: 10px;
  overflow: hidden;
}
.gallery-item-full:hover { text-decoration: none; }
.gallery-item-full img { transition: transform .5s ease; }
.gallery-item-full:hover img { transform: scale(1.07); }
.gallery-caption-full {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,.65));
  color: #fff;
  font-size: .75rem;
  padding: .5rem .75rem;
}

/* ── Contact Strip (Home) ──────────────────────────────────────── */
.section-contact-strip { padding: 4rem 0; }

.contact-strip-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  text-decoration: none;
  color: var(--text);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}
.contact-strip-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  color: var(--text);
}
.contact-strip-icon {
  width: 52px; height: 52px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}
.contact-strip-label { font-size: .72rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: .8px; font-weight: 600; }
.contact-strip-val { font-size: .9rem; font-weight: 600; color: var(--dark); margin-top: .1rem; }

/* ── Page Hero (inner pages) ───────────────────────────────────── */
.page-hero {
  position: relative;
  min-height: 340px;
  display: flex;
  align-items: flex-end;
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark3) 100%);
  padding-top: 80px;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.025) 1px,transparent 1px),
                    linear-gradient(90deg,rgba(255,255,255,.025) 1px,transparent 1px);
  background-size: 50px 50px;
}
.page-hero::after {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(circle at 20% 50%, rgba(232,93,4,.15) 0%,transparent 50%),
              radial-gradient(circle at 80% 50%, rgba(21,101,192,.1) 0%,transparent 50%);
}
.page-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to right, rgba(13,27,42,.75) 0%, rgba(13,27,42,.4) 100%);
}
.page-hero-content {
  position: relative;
  z-index: 2;
  padding: 3rem 0 2.5rem;
}
.page-hero-title {
  font-family: var(--font-head);
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 1rem;
  line-height: 1.05;
}
.page-breadcrumb { background: none; padding: 0; margin: 0; }
.page-breadcrumb .breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,.4); }
.page-breadcrumb .breadcrumb-item a { color: rgba(255,255,255,.6); text-decoration: none; }
.page-breadcrumb .breadcrumb-item a:hover { color: #fff; }
.page-breadcrumb .breadcrumb-item.active { color: var(--accent); }

/* ── About Page ────────────────────────────────────────────────── */
.about-img-stack { position: relative; }
.about-img-badge {
  position: absolute;
  bottom: -1rem; right: -1rem;
  background: var(--accent);
  color: #fff;
  border-radius: 12px;
  padding: 1.2rem 1.5rem;
  text-align: center;
  box-shadow: 0 8px 24px rgba(4, 232, 61, 0.35);
}
.about-badge-num {
  display: block;
  font-family: var(--font-head);
  font-size: 2.8rem;
  font-weight: 800;
  line-height: 1;
}
.about-badge-txt { font-size: .75rem; line-height: 1.3; opacity: .9; }

.big-stat-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.8rem 1.2rem;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition);
}
.big-stat-card:hover { transform: translateY(-4px); }
.big-stat-icon { font-size: 2rem; margin-bottom: .5rem; }
.big-stat-num {
  font-family: var(--font-head);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--dark);
  line-height: 1;
}
.big-stat-label { font-size: .78rem; color: var(--text-muted); margin-top: .25rem; }

.value-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: transform var(--transition), box-shadow var(--transition);
}
.value-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.value-card-icon {
  width: 50px; height: 50px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 1rem;
}
.value-card-title { font-size: 1rem; font-weight: 700; color: var(--dark); margin-bottom: .4rem; }
.value-card-desc  { font-size: .835rem; color: var(--text-muted); margin: 0; line-height: 1.65; }

/* ── Services Process ──────────────────────────────────────────── */
.process-timeline { max-width: 680px; margin: 0 auto; }
.process-step {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  position: relative;
  padding-bottom: 2.8rem;
}
.process-step:last-child { padding-bottom: 0; }
.process-step-num {
  flex-shrink: 0;
  width: 56px; height: 56px;
  background: var(--accent);
  color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 800;
  box-shadow: 0 4px 16px rgba(4, 232, 91, 0.3);
}
.process-step-body { padding-bottom: 0; }
.process-step-body h5 { font-weight: 700; color: var(--dark); margin-bottom: .3rem; }
.process-step-body p  { font-size: .875rem; color: var(--text-muted); margin: 0; }
.process-step-arrow {
  position: absolute;
  left: 0;
  width: 56px;
  top: calc(56px + .6rem);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(19, 232, 4, 0.55);
  font-size: 1.05rem;
}

/* ── Project Filter ────────────────────────────────────────────── */
.project-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}
.filter-btn {
  padding: .5rem 1.2rem;
  border-radius: 30px;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--text-muted);
  font-size: .82rem;
  font-weight: 600;
  text-decoration: none;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}
.filter-btn:hover { border-color: var(--accent); color: var(--accent); }
.filter-btn.active { background: var(--accent); color: #fff; border-color: var(--accent); }

/* ── Contact Page ──────────────────────────────────────────────── */
.contact-info-cards { display: flex; flex-direction: column; gap: .75rem; }
.contact-info-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem;
  background: var(--off-white);
  border-radius: var(--radius-sm);
}
.contact-info-icon {
  width: 42px; height: 42px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.contact-info-label { font-size: .72rem; text-transform: uppercase; letter-spacing: .8px; color: var(--text-muted); font-weight: 600; }
.contact-info-val { font-size: .9rem; color: var(--dark); font-weight: 500; text-decoration: none; }
a.contact-info-val:hover { color: var(--accent); }

.contact-form-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2.5rem;
  box-shadow: var(--shadow-sm);
}
.contact-form-title {
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 0;
}
.cf-input {
  border-radius: var(--radius-sm) !important;
  border-color: var(--border) !important;
  font-size: .9rem !important;
  padding: .7rem 1rem !important;
  transition: border-color var(--transition), box-shadow var(--transition) !important;
}
.cf-input:focus {
  border-color: var(--accent) !important;
  box-shadow: 0 0 0 3px rgba(232,93,4,.12) !important;
}
.btn-whatsapp {
  background: #25D366;
  color: #fff !important;
  border: none;
  border-radius: 30px;
  padding: .7rem 1.8rem;
  font-weight: 700;
  font-size: .9rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  transition: background var(--transition), transform var(--transition);
}
.btn-whatsapp:hover { background: #128C7E; transform: translateY(-2px); }

/* ── Buttons (shared) ──────────────────────────────────────────── */
.btn-accent-full {
  background: var(--accent);
  color: #fff !important;
  border: none;
  border-radius: var(--radius-sm);
  padding: .8rem 2rem;
  font-weight: 700;
  font-size: .95rem;
  letter-spacing: .3px;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  cursor: pointer;
}
.btn-accent-full:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(4, 232, 27, 0.35);
}
.btn-accent-sm {
  background: rgba(31, 232, 4, 0.1);
  color: var(--accent) !important;
  border: 1px solid rgba(4, 232, 50, 0.3);
  border-radius: 30px;
  padding: .55rem 1.4rem;
  font-weight: 700;
  font-size: .82rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  transition: background var(--transition), color var(--transition);
}
.btn-accent-sm:hover {
  background: var(--accent);
  color: #fff !important;
  border-color: var(--accent);
}
.btn-accent-outline {
  background: transparent;
  color: var(--accent);
  border: 2px solid var(--accent);
  border-radius: 6px;
  padding: .7rem 2rem;
  font-weight: 700;
  font-size: .9rem;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  transition: background var(--transition), color var(--transition);
}
.btn-accent-outline:hover {
  background: var(--accent);
  color: #fff;
}
.btn-primary-outline {
  background: transparent;
  color: var(--accent);
  border: 2px solid var(--accent);
  border-radius: 6px;
  padding: .6rem 1.5rem;
  font-weight: 700;
  font-size: .875rem;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  transition: background var(--transition), color var(--transition);
}
.btn-primary-outline:hover { background: var(--accent); color: #fff; }

/* ── CTA Ribbon ────────────────────────────────────────────────── */
.cta-ribbon {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 60%, #7B2D00 100%);
  padding: 3.5rem 0;
  position: relative;
  overflow: hidden;
}
.cta-ribbon::before {
  content: '';
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.04) 1px,transparent 1px),
                    linear-gradient(90deg,rgba(255,255,255,.04) 1px,transparent 1px);
  background-size: 40px 40px;
}
.cta-ribbon-title {
  font-family: var(--font-head);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: .3rem;
}
.cta-ribbon-sub { color: rgba(255,255,255,.75); font-size: .95rem; }
.btn-cta-white {
  background: #fff;
  color: var(--accent) !important;
  border: none;
  border-radius: 6px;
  padding: .7rem 1.6rem;
  font-weight: 700;
  font-size: .875rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  transition: background var(--transition), transform var(--transition);
}
.btn-cta-white:hover { background: rgba(255,255,255,.9); transform: translateY(-2px); }
.btn-cta-outline {
  background: transparent;
  color: #fff !important;
  border: 2px solid rgba(255,255,255,.5);
  border-radius: 6px;
  padding: .68rem 1.6rem;
  font-weight: 700;
  font-size: .875rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  transition: border-color var(--transition), background var(--transition);
}
.btn-cta-outline:hover { border-color: #fff; background: rgba(255,255,255,.1); }

/* ── Footer ────────────────────────────────────────────────────── */
.site-footer {
  background: var(--dark);
  color: rgba(255,255,255,.65);
  padding: 4rem 0 0;
}
.footer-grid { padding-bottom: 3rem; }

.footer-brand {
  display: flex;
  align-items: center;
  gap: .75rem;
}
.footer-brand-icon {
  width: 42px; height: 42px;
  background: var(--accent);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; color: #fff; flex-shrink: 0;
}
.footer-company { display: block; font-family: var(--font-head); font-size: 1.1rem; font-weight: 800; color: #fff; line-height: 1.1; }
.footer-tagline { font-size: .68rem; color: rgba(255,255,255,.4); letter-spacing: 1px; text-transform: uppercase; }
.footer-desc { font-size: .84rem; line-height: 1.75; margin-top: .75rem; }

.social-btn {
  width: 36px; height: 36px;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.6);
  font-size: 1rem;
  text-decoration: none;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}
.social-btn:hover {
  background: var(--s-color, var(--accent));
  border-color: var(--s-color, var(--accent));
  color: #fff;
}

.footer-heading {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,.9);
  margin-bottom: 1.2rem;
}
.footer-links {
  list-style: none;
  padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: .6rem;
}
.footer-links a {
  color: rgba(255,255,255,.55);
  text-decoration: none;
  font-size: .84rem;
  transition: color var(--transition), padding-left var(--transition);
}
.footer-links a:hover { color: var(--accent); padding-left: .3rem; }

.footer-contact-list {
  list-style: none;
  padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: .9rem;
}
.footer-contact-list li {
  display: flex;
  gap: .75rem;
  align-items: flex-start;
  font-size: .84rem;
}
.footer-contact-list i { color: var(--accent); margin-top: .15rem; flex-shrink: 0; }
.footer-contact-list a { color: rgba(255,255,255,.6); text-decoration: none; }
.footer-contact-list a:hover { color: var(--accent); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.07);
  padding: 1.3rem 0;
  font-size: .78rem;
  color: rgba(255,255,255,.4);
}
.footer-admin-link {
  color: rgba(255,255,255,.25);
  text-decoration: none;
  font-size: .72rem;
  transition: color var(--transition);
}
.footer-admin-link:hover { color: var(--accent); }

/* ── Back to Top ───────────────────────────────────────────────── */
.back-to-top {
  position: fixed;
  bottom: 2rem; right: 2rem;
  width: 44px; height: 44px;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity var(--transition), transform var(--transition);
  z-index: 999;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(38, 232, 4, 0.35);
}
.back-to-top.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

/* ── OpenStreetMap Section ─────────────────────────────────────── */
.map-section { padding-top: 5rem; padding-bottom: 0; }
.map-section .container { padding-bottom: 3rem; }

.map-outer {
  position: relative;
  width: 100%;
  height: 520px;
  box-shadow: 0 -4px 40px rgba(0,0,0,.10);
  overflow: hidden;
}

#osm-map {
  width: 100%;
  height: 100%;
  z-index: 1;
}

/* Override Leaflet attribution z-index so it stays above card on mobile */
.leaflet-control-attribution { z-index: 2 !important; }

/* Address card overlay */
.map-addr-card {
  position: absolute;
  top: 50%;
  left: 3rem;
  transform: translateY(-50%);
  z-index: 999;
  background: #fff;
  border-radius: 18px;
  padding: 2rem 1.8rem;
  box-shadow: 0 20px 60px rgba(0,0,0,.22), 0 2px 8px rgba(0,0,0,.08);
  max-width: 290px;
  width: 100%;
  border-top: 4px solid var(--accent);
}

.map-addr-icon {
  width: 52px; height: 52px;
  background: var(--accent);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  color: #fff;
  margin-bottom: 1rem;
  box-shadow: 0 6px 18px rgba(31,122,76,.35);
}

.map-addr-company {
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--dark);
  line-height: 1.2;
  margin-bottom: .45rem;
  text-transform: uppercase;
  letter-spacing: .5px;
}

.map-addr-text {
  font-size: .82rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: .8rem;
}

.map-addr-meta {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .82rem;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
  margin-bottom: 1rem;
}
.map-addr-meta:hover { color: var(--accent-dark); }
.map-addr-meta i { font-size: .9rem; }

.btn-map-directions {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  background: var(--accent);
  color: #fff !important;
  border: none;
  border-radius: 10px;
  padding: .65rem 1.2rem;
  font-size: .85rem;
  font-weight: 700;
  text-decoration: none;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  box-shadow: 0 4px 14px rgba(31,122,76,.3);
}
.btn-map-directions:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(31,122,76,.4);
  color: #fff !important;
}

/* Leaflet custom pin */
.map-pin-inner {
  width: 48px; height: 48px;
  background: var(--accent);
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 20px rgba(31,122,76,.45);
  border: 3px solid #fff;
}
.map-pin-inner i {
  transform: rotate(45deg);
  color: #fff;
  font-size: 1.1rem;
}
.map-pin-shadow {
  width: 14px; height: 6px;
  background: rgba(0,0,0,.2);
  border-radius: 50%;
  margin: 2px auto 0;
}
.leaflet-div-icon { background: none !important; border: none !important; }

/* Leaflet popup */
.map-popup-wrap .leaflet-popup-content-wrapper {
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0,0,0,.15);
  border-top: 3px solid var(--accent);
}
.map-popup-wrap .leaflet-popup-tip { background: #fff; }
.map-popup strong {
  font-family: var(--font-head);
  font-size: 1rem;
  color: var(--dark);
  display: block;
  margin-bottom: .25rem;
}
.map-popup span { font-size: .82rem; color: var(--text-muted); }

/* ── Clickable Project Card ────────────────────────────────────── */
.project-card--clickable {
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.project-card--clickable:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 56px rgba(0,0,0,.16);
  border-color: var(--accent);
}
.project-card-view-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15,31,26,.85) 0%, rgba(15,31,26,.3) 60%, transparent 100%);
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  padding: 1rem;
  opacity: 0;
  transition: opacity var(--transition);
}
.project-card--clickable:hover .project-card-view-overlay { opacity: 1; }
.project-card-view-overlay span {
  background: var(--accent);
  color: #fff;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .5px;
  padding: .4em .9em;
  border-radius: 20px;
  display: flex;
  align-items: center;
}

/* ── Project Detail Page ───────────────────────────────────────── */

/* Hero */
.proj-detail-hero {
  position: relative;
  min-height: 500px;
  display: flex;
  align-items: flex-end;
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark3) 100%);
  background-size: cover;
  background-position: center;
  padding-top: 80px;
  overflow: hidden;
}
.proj-detail-hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 50px 50px;
}
.proj-detail-hero--img::before { display: none; }
.proj-detail-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top,
    rgba(10,18,26,.95) 0%,
    rgba(10,18,26,.6) 50%,
    rgba(10,18,26,.3) 100%);
}
.proj-detail-hero-content {
  position: relative; z-index: 2;
  padding: 4rem 0 3rem;
}

/* Badges */
.proj-badge-cat {
  background: var(--accent);
  color: #fff;
  font-size: .7rem; font-weight: 700;
  letter-spacing: 1px; text-transform: uppercase;
  padding: .3em 1em; border-radius: 30px;
  display: inline-flex; align-items: center;
}
.proj-badge-year {
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.25);
  color: rgba(255,255,255,.85);
  font-size: .7rem; font-weight: 600;
  letter-spacing: .8px;
  padding: .3em 1em; border-radius: 30px;
  display: inline-flex; align-items: center;
}

/* Hero title */
.proj-detail-title {
  font-family: var(--font-head);
  font-size: clamp(2rem, 5vw, 3.8rem);
  font-weight: 800; color: #fff;
  line-height: 1.05; margin: .6rem 0 .75rem;
}
.proj-detail-sub {
  font-size: 1rem; color: rgba(255,255,255,.7);
  line-height: 1.7; max-width: 640px; margin-bottom: 1.2rem;
}

/* Meta stats bar */
.proj-meta-bar {
  background: var(--dark);
  border-bottom: 2px solid rgba(255,255,255,.07);
}
.proj-meta-inner {
  display: flex;
  flex-wrap: wrap;
}
.proj-meta-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .15rem;
  padding: 1.3rem 2rem;
  border-right: 1px solid rgba(255,255,255,.07);
  flex: 1;
  min-width: 130px;
}
.proj-meta-item i  { font-size: .95rem; color: var(--accent); margin-bottom: .1rem; }
.proj-meta-label   { font-size: .62rem; color: rgba(255,255,255,.42); text-transform: uppercase; letter-spacing: 1.2px; font-weight: 600; }
.proj-meta-val     { font-size: .875rem; color: #fff; font-weight: 600; line-height: 1.3; }

/* Long description */
.proj-detail-desc  { font-size: 1rem; color: var(--text); line-height: 1.9; }
.proj-detail-desc p { margin-bottom: 1.25rem; }
.proj-detail-desc p:last-child { margin-bottom: 0; }

/* Section heading */
.proj-section-heading {
  font-family: var(--font-head);
  font-size: 1.4rem; font-weight: 800;
  color: var(--dark); margin-bottom: 1.4rem;
  padding-bottom: .75rem;
  border-bottom: 2px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
}
.proj-gallery-count {
  font-family: var(--font-body);
  font-size: .78rem; font-weight: 600;
  color: var(--text-muted);
  background: var(--off-white);
  border: 1px solid var(--border);
  padding: .2em .75em; border-radius: 20px;
}

/* Gallery grid */
.proj-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .6rem;
  grid-auto-rows: 180px;
}
.proj-gallery-grid .proj-gallery-item:first-child {
  grid-column: span 2;
  grid-row: span 2;
}
.proj-gallery-item {
  display: block; position: relative;
  overflow: hidden; border-radius: var(--radius-sm);
  text-decoration: none; cursor: zoom-in;
}
.proj-gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .45s ease, filter .45s ease;
}
.proj-gallery-item:hover img {
  transform: scale(1.06);
  filter: brightness(.88);
}
.proj-gallery-hover {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(15,31,26,.3);
  opacity: 0; transition: opacity var(--transition);
  font-size: 1.8rem; color: #fff;
  text-shadow: 0 2px 8px rgba(0,0,0,.5);
}
.proj-gallery-item:hover .proj-gallery-hover { opacity: 1; }

/* Info sidebar */
.proj-info-card {
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2rem;
  position: sticky;
  top: 100px;
}
.proj-info-title {
  font-family: var(--font-head);
  font-size: 1.15rem; font-weight: 800;
  color: var(--dark); margin-bottom: 1.5rem;
  padding-bottom: .75rem;
  border-bottom: 2px solid var(--border);
}
.proj-info-list { display: flex; flex-direction: column; }
.proj-info-row {
  display: flex; justify-content: space-between;
  align-items: flex-start; gap: .5rem;
  font-size: .865rem;
  padding: .7rem 0;
  border-bottom: 1px solid var(--border);
}
.proj-info-row:last-child { border-bottom: none; }
.proj-info-key   { color: var(--text-muted); font-weight: 500; flex-shrink: 0; }
.proj-info-value { color: var(--dark); font-weight: 600; text-align: right; }

/* Back link */
.proj-back-link {
  display: inline-flex; align-items: center; gap: .5rem;
  color: var(--text-muted); font-size: .875rem;
  text-decoration: none;
  transition: color var(--transition);
}
.proj-back-link:hover { color: var(--accent); }
.proj-back-link i { font-size: 1.1rem; }

/* Related mini list in sidebar */
.proj-related-mini { background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 1.2rem; }
.proj-related-mini-title {
  font-size: .7rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 1px; color: var(--text-muted); margin-bottom: .9rem;
}
.proj-related-card {
  display: flex; align-items: center; gap: .75rem;
  padding: .5rem 0;
  border-bottom: 1px solid var(--border);
  text-decoration: none;
  transition: opacity var(--transition);
}
.proj-related-card:last-child { border-bottom: none; }
.proj-related-card:hover { opacity: .75; }
.proj-related-thumb {
  width: 54px; height: 40px; border-radius: 6px;
  overflow: hidden; flex-shrink: 0;
}
.proj-related-thumb img { width: 100%; height: 100%; object-fit: cover; }
.proj-related-placeholder {
  width: 100%; height: 100%;
  background: var(--off-white);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted); font-size: 1rem;
}
.proj-related-info { display: flex; flex-direction: column; }
.proj-related-name { font-size: .82rem; font-weight: 600; color: var(--dark); line-height: 1.3; }
.proj-related-year { font-size: .72rem; color: var(--text-muted); margin-top: .1rem; }

/* ── Lightbox ──────────────────────────────────────────────────── */
.proj-lightbox {
  position: fixed; inset: 0;
  background: rgba(0,0,0,.94);
  z-index: 9999;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}
.proj-lb-wrap {
  max-width: 90vw; max-height: 85vh;
  display: flex; flex-direction: column;
  align-items: center; gap: .75rem;
}
.proj-lb-wrap img {
  max-width: 100%; max-height: 78vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0,0,0,.5);
  transition: opacity .2s;
}
.proj-lb-caption {
  color: rgba(255,255,255,.6); font-size: .85rem; text-align: center;
}
.proj-lb-counter {
  color: rgba(255,255,255,.35); font-size: .75rem; letter-spacing: .5px;
}
.proj-lb-close {
  position: fixed; top: 1.2rem; right: 1.2rem;
  width: 44px; height: 44px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 50%;
  color: #fff; font-size: 1.5rem; line-height: 1;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background .2s;
  z-index: 10000;
}
.proj-lb-close:hover { background: rgba(255,255,255,.22); }
.proj-lb-prev,
.proj-lb-next {
  position: fixed; top: 50%; transform: translateY(-50%);
  width: 50px; height: 50px;
  background: rgba(255,255,255,.09);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 50%;
  color: #fff; font-size: 1.3rem;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background .2s;
  z-index: 10000;
}
.proj-lb-prev:hover,
.proj-lb-next:hover { background: rgba(255,255,255,.22); }
.proj-lb-prev { left: 1rem; }
.proj-lb-next { right: 1rem; }

/* ── Responsive ────────────────────────────────────────────────── */

/* Tablet & below (≤ 991px) */
@media (max-width: 991px) {
  .gallery-masonry { grid-template-columns: repeat(2,1fr); }
  .gallery-item--wide { grid-column: span 1; grid-row: span 1; }
  .hero-stats { flex-wrap: wrap; gap: .75rem; }
  .hero-stat-divider { display: none; }
  .hero-stat { min-width: 40%; }
  .map-addr-card { left: 1.5rem; max-width: 240px; padding: 1.5rem 1.2rem; }
  .why-visual { height: 280px; }
  .why-big-num { font-size: 5rem; }
}

/* Mobile (≤ 767px) */
@media (max-width: 767px) {
  .section-pad     { padding: 3.5rem 0; }
  .section-pad-sm  { padding: 2rem 0; }

  /* Typography */
  .hero-title      { font-size: 2.2rem; }
  .hero-subtitle   { font-size: .95rem; }
  .section-title   { font-size: 1.7rem; }
  .page-hero-title { font-size: 1.9rem; }

  /* Hero buttons */
  .hero-btns { flex-direction: column; gap: .75rem; margin-bottom: 2rem; }
  .btn-hero-primary,
  .btn-hero-outline { justify-content: center; width: 100%; }
  .hero-stats { max-width: 100%; padding: .8rem 1rem; }

  /* About stats grid */
  .about-stats-grid { grid-template-columns: 1fr 1fr; gap: .75rem; }
  .about-stat-card  { padding: 1rem; }
  .about-stat-num   { font-size: 1.6rem; }
  .about-img-badge  { right: 0; }

  /* Gallery */
  .gallery-masonry { grid-template-columns: repeat(2,1fr); grid-auto-rows: 150px; }

  /* Projects filter — horizontal scroll so buttons don't wrap */
  .project-filter-bar {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: .5rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .project-filter-bar::-webkit-scrollbar { display: none; }
  .filter-btn { white-space: nowrap; flex-shrink: 0; }

  /* Why visual */
  .why-visual { height: 240px; margin-top: 1.5rem; }
  .why-big-num { font-size: 4.5rem; }
  .why-big-num span { font-size: 2.2rem; }
  .why-big-label { font-size: 1rem; }

  /* CTA ribbon */
  .cta-ribbon { text-align: center; padding: 2.5rem 0; }
  .cta-ribbon .text-lg-end { text-align: center !important; margin-top: 1rem; }
  .cta-ribbon-title { font-size: 1.4rem; }
  .btn-cta-white,
  .btn-cta-outline { display: block; width: 100%; justify-content: center; margin: .3rem 0 0; }

  /* Contact form */
  .contact-form-card { padding: 1.5rem; }
  .contact-info-card { padding: .8rem; }

  /* Page hero */
  .page-hero { min-height: 260px; }
  .page-hero-content { padding: 2rem 0 1.5rem; }

  /* Process */
  .process-timeline { max-width: 100%; }
  .process-step-num { width: 46px; height: 46px; font-size: .95rem; }
  .process-step-arrow { width: 46px; top: calc(46px + .5rem); }

  /* Map */
  .map-section { padding-top: 3rem; }
  .map-outer { height: auto; display: flex; flex-direction: column; }
  .map-outer iframe { height: 320px; order: 1; }
  .map-addr-card {
    position: static;
    transform: none;
    max-width: 100%;
    border-radius: 0;
    order: 2;
    box-shadow: 0 4px 20px rgba(0,0,0,.1);
    border-top: none;
    border-left: 4px solid var(--accent);
  }
}

/* Small phones (≤ 479px) */
@media (max-width: 479px) {
  .hero-title    { font-size: 1.85rem; }
  .section-title { font-size: 1.5rem; }
  .page-hero-title { font-size: 1.65rem; }
  .hero-stat-num { font-size: 1.5rem; }
  .hero-stat-label { font-size: .58rem; }

  .gallery-masonry { grid-template-columns: 1fr 1fr; grid-auto-rows: 130px; }

  .service-card  { padding: 1.2rem; }
  .contact-form-card { padding: 1.2rem; }

  .nav-company   { font-size: 1rem; letter-spacing: .5px; }

  /* Project detail — small phones */
  .proj-detail-title { font-size: 1.7rem; }
  .proj-gallery-grid { grid-template-columns: 1fr; grid-auto-rows: 200px; }
  .proj-gallery-grid .proj-gallery-item:first-child { grid-column: span 1; grid-row: span 1; }
  .proj-lb-prev { left: .3rem; }
  .proj-lb-next { right: .3rem; }
}

/* Project detail — tablet */
@media (max-width: 991px) {
  .proj-meta-item { padding: 1rem 1.2rem; min-width: 110px; }
  .proj-info-card { position: static; }
  .proj-gallery-grid { grid-auto-rows: 160px; }
}

/* Project detail — mobile */
@media (max-width: 767px) {
  .proj-detail-hero  { min-height: 380px; }
  .proj-detail-title { font-size: 2rem; }
  .proj-detail-hero-content { padding: 2.5rem 0 2rem; }

  .proj-meta-inner   { flex-wrap: wrap; }
  .proj-meta-item    { min-width: 45%; padding: .85rem 1rem; }

  .proj-gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 140px;
  }
  .proj-gallery-grid .proj-gallery-item:first-child { grid-column: span 2; grid-row: span 1; }

  .proj-lb-prev { left: .4rem; }
  .proj-lb-next { right: .4rem; }
  .proj-lb-wrap { max-width: 96vw; }
}
