/* ============================================================
   Duo-Bell Structures Ltd — public site stylesheet
   Palette: Kenyan-flag inspired (charcoal black / red / gold)
   Fonts: Oswald (display) + Inter (body)
   ============================================================ */

:root {
  --black:        #15171a;
  --black-soft:   #24262b;
  --red:          #c8102e;
  --red-dark:     #960c22;
  --red-light:    #e13655;
  --gold:         #f2a900;
  --gold-dark:    #c98c00;
  --cream:        #faf9f6;
  --beige:        #ece8e0;
  --gray:         #6e7378;
  --gray-light:   #9ba0a5;
  --border:       #e5e7eb;
  --white:        #ffffff;

  --font-display: 'Oswald', sans-serif;
  --font-body:    'Inter', sans-serif;
  --font-mono:    'JetBrains Mono', monospace;

  --shadow-sm: 0 2px 8px rgba(21,23,26,.06);
  --shadow-md: 0 8px 24px rgba(21,23,26,.10);
  --shadow-lg: 0 20px 48px rgba(21,23,26,.16);
  --radius: 12px;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) { color-scheme: dark; }
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--black);
  background: var(--cream);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: .2px;
}
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 28px; border-radius: 999px;
  font-weight: 600; font-size: .95rem;
  border: 2px solid transparent; cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--red); color: var(--white); box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--red-dark); box-shadow: var(--shadow-md); }
.btn-outline { background: transparent; color: var(--white); border-color: rgba(255,255,255,.55); }
.btn-outline:hover { background: rgba(255,255,255,.12); border-color: var(--white); }
.btn-dark { background: var(--black); color: var(--white); }
.btn-dark:hover { background: var(--black-soft); }
.btn-gold { background: var(--gold); color: var(--black); }
.btn-gold:hover { background: var(--gold-dark); }
.btn-outline-light { background: transparent; color: var(--white); border-color: rgba(255,255,255,.3); }
.btn-outline-light:hover { background: var(--red); border-color: var(--red); }
.btn-block { width: 100%; justify-content: center; }

.tag {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: .78rem; font-weight: 600;
  letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--red); background: rgba(200,16,46,.08);
  padding: 7px 16px; border-radius: 999px; margin-bottom: 16px;
}
.accent { color: var(--red); }

/* ---------- Utility bar (top: socials + contact) ---------- */
.utility-bar {
  background: var(--black);
  color: rgba(255,255,255,.85);
  font-size: .84rem;
}
.utility-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 9px 24px; gap: 20px; flex-wrap: wrap;
}
.utility-left { display: flex; gap: 22px; flex-wrap: wrap; }
.utility-left span { display: inline-flex; align-items: center; gap: 7px; }
.utility-left i { color: var(--gold); }
.utility-right { display: flex; align-items: center; gap: 12px; }
.follow-label { color: rgba(255,255,255,.55); margin-right: 4px; }
.utility-right a {
  width: 26px; height: 26px; border-radius: 50%;
  background: rgba(255,255,255,.08);
  display: inline-flex; align-items: center; justify-content: center;
  transition: background .2s, color .2s, transform .2s;
  font-size: .8rem;
}
.utility-right a:hover { background: var(--red); transform: translateY(-2px); }

/* ---------- Main nav ---------- */
.main-nav {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  z-index: 500;
  transition: box-shadow .25s ease, padding .25s ease;
}
.main-nav.is-sticky { position: sticky; top: 0; }
.main-nav.is-sticky.scrolled { box-shadow: var(--shadow-md); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 16px 24px; }
.logo { display: flex; align-items: center; gap: 12px; }
.logo img { height: 44px; width: auto; object-fit: contain; }
.logo-mark {
  width: 44px; height: 44px; border-radius: 10px;
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  color: var(--white); display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
}
.logo-text { font-family: var(--font-display); font-size: 1.2rem; font-weight: 600; color: var(--black); }
.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links > a, .nav-dropdown-trigger {
  font-weight: 600; font-size: .95rem; color: var(--black-soft);
  padding: 10px 18px; border-radius: 999px;
  transition: background .2s ease, color .2s ease;
}
.nav-links > a:hover, .nav-dropdown-trigger:hover { background: rgba(200,16,46,.08); color: var(--red); }
.nav-links > a.active, .nav-dropdown-trigger.active {
  background: var(--red); color: var(--white);
}
.nav-links > a.active:hover, .nav-dropdown-trigger.active:hover { background: var(--red-dark); color: var(--white); }
.btn-quote {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--red); color: var(--white); font-weight: 600;
  padding: 12px 24px; border-radius: 999px; font-size: .9rem;
  transition: background .2s, transform .2s;
}
.btn-quote:hover { background: var(--red-dark); transform: translateY(-2px); }
.mobile-toggle {
  display: none; background: none; border: none; font-size: 1.4rem;
  color: var(--black); cursor: pointer;
}

/* ---------- Nav services dropdown ---------- */
.nav-dropdown { position: relative; }
.nav-dropdown-trigger { display: inline-flex; align-items: center; gap: 7px; cursor: pointer; }
.nav-dropdown-trigger i { font-size: .68rem; transition: transform .25s ease; color: var(--gray-light); }
.nav-dropdown-trigger.active i, .nav-dropdown-trigger:hover i { color: currentColor; }
.nav-dropdown:hover .nav-dropdown-trigger i, .nav-dropdown.open .nav-dropdown-trigger i { transform: rotate(180deg); }

/* The outer element sits flush against the trigger (top:100%, no gap) and its
   own top padding IS the visual gap — because padding is still part of this
   box for :hover purposes, moving the mouse straight down from the trigger
   into the menu never leaves .nav-dropdown's hover area. A real gap here
   (via margin/offset) is what used to make the menu vanish mid-hover. */
.nav-dropdown-menu {
  position: absolute; top: 100%; left: 50%; transform: translateX(-50%) translateY(4px);
  padding-top: 14px; min-width: 260px; opacity: 0; visibility: hidden;
  transition: opacity .2s ease, transform .2s ease; z-index: 50;
}
.nav-dropdown:hover .nav-dropdown-menu, .nav-dropdown.open .nav-dropdown-menu {
  opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0);
}
.nav-dropdown-panel {
  position: relative; background: var(--white); border-radius: 14px; box-shadow: var(--shadow-lg);
  border: 1px solid var(--border); padding: 10px;
}
/* Small caret pointing back up at the trigger, matching the panel's fill/border */
.nav-dropdown-panel::before {
  content: ''; position: absolute; top: -7px; left: 50%; transform: translateX(-50%) rotate(45deg);
  width: 14px; height: 14px; background: var(--white);
  border-left: 1px solid var(--border); border-top: 1px solid var(--border);
  border-radius: 3px 0 0 0;
}
.nav-dropdown-menu a {
  position: relative; display: flex; align-items: center; gap: 10px; padding: 11px 14px 11px 12px;
  border-radius: 9px; font-size: .88rem; font-weight: 500; color: var(--black-soft); white-space: nowrap;
  transition: background .18s ease, color .18s ease, padding-left .18s ease;
}
.nav-dropdown-menu a i:first-child { font-size: .62rem; color: var(--red); opacity: 0; transition: opacity .18s ease, transform .18s ease; transform: translateX(-4px); }
.nav-dropdown-menu a:hover { background: var(--beige); color: var(--red); padding-left: 16px; }
.nav-dropdown-menu a:hover i:first-child { opacity: 1; transform: translateX(0); }
.nav-dropdown-all {
  margin-top: 4px; padding-top: 13px !important; border-top: 1px solid var(--border);
  color: var(--red) !important; font-weight: 600 !important; justify-content: space-between;
}
.nav-dropdown-all:hover { padding-left: 12px !important; background: rgba(200,16,46,.08) !important; }
.nav-dropdown-all i { font-size: .78rem !important; transition: transform .18s ease; }
.nav-dropdown-all:hover i { transform: translateX(3px); }

@media (max-width: 968px) {
  .nav-links {
    position: fixed; top: 0; right: -100%; height: 100vh; width: min(320px, 82vw);
    background: var(--white); flex-direction: column; align-items: flex-start;
    padding: 100px 32px 32px; gap: 4px; transition: right .3s ease; box-shadow: var(--shadow-lg);
    overflow-y: auto;
  }
  .nav-links.open { right: 0; }
  .nav-links > a { padding: 13px 18px; width: 100%; border-radius: 10px; }
  .btn-quote { display: none; }
  .mobile-toggle { display: block; z-index: 600; }
  .utility-left span:nth-child(n+2) { display: none; }
  .nav-dropdown { width: 100%; }
  .nav-dropdown-trigger { width: 100%; justify-content: space-between; padding: 13px 18px; border-radius: 10px; }
  .nav-dropdown-menu {
    position: static; transform: none; padding-top: 0; opacity: 1; visibility: visible;
    max-height: 0; overflow: hidden; transition: max-height .25s ease;
  }
  .nav-dropdown-panel {
    background: var(--beige); box-shadow: none; border: none; border-radius: 10px;
    margin: 4px 0 8px 12px; padding: 6px;
  }
  .nav-dropdown-panel::before { display: none; }
  .nav-dropdown.open .nav-dropdown-menu { max-height: 400px; }
  .nav-dropdown-trigger i { transition: transform .2s; }
  .nav-dropdown.open .nav-dropdown-trigger i { transform: rotate(180deg); }
}

/* ---------- Hero slider ---------- */
.hero-slider { position: relative; height: 88vh; min-height: 560px; overflow: hidden; background: var(--black); }
.hero-slide {
  position: absolute; inset: 0; opacity: 0; visibility: hidden;
  background-size: cover; background-position: center;
  transition: opacity 1s ease;
  display: flex; align-items: center;
}
.hero-slide.active { opacity: 1; visibility: visible; }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(115deg, rgba(21,23,26,.92) 0%, rgba(21,23,26,.72) 45%, rgba(21,23,26,.45) 100%);
}
/* Anchored to the true viewport edge rather than the centered .container —
   a wide desktop viewport would otherwise leave equal dead space on both
   sides of the text instead of the hard-left "editorial" look requested. */
.hero-content {
  position: relative; z-index: 2; max-width: 640px; color: var(--white);
  padding-left: clamp(24px, 7vw, 110px); padding-right: 24px;
}
.hero-content .overline {
  position: relative; display: inline-block; font-family: var(--font-mono); letter-spacing: 3px;
  font-size: .78rem; font-weight: 600; color: var(--gold); text-transform: uppercase;
  margin-bottom: 24px; padding: 8px 16px;
}
.hero-content .overline::before, .hero-content .overline::after {
  content: ''; position: absolute; width: 13px; height: 13px; border: 2px solid var(--gold);
}
.hero-content .overline::before { top: 0; left: 0; border-right: none; border-bottom: none; }
.hero-content .overline::after { bottom: 0; right: 0; border-left: none; border-top: none; }
.hero-content h1 {
  font-size: clamp(2.2rem, 5vw, 3.6rem); margin-bottom: 18px; color: var(--white);
  text-transform: uppercase; letter-spacing: .5px;
}
.hero-content h1 .accent-line { display: block; color: var(--red-light); }
.hero-content p { font-size: 1.1rem; color: rgba(255,255,255,.82); max-width: 560px; margin-bottom: 32px; }
.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-buttons .btn {
  border-radius: 4px; text-transform: uppercase; letter-spacing: 1.5px;
  font-size: .82rem; font-weight: 700; padding: 17px 26px;
}
.hero-buttons .btn-primary i { transition: transform .2s ease; transform: rotate(-45deg); }
.hero-buttons .btn-primary:hover i { transform: rotate(-45deg) translate(2px, -2px); }
.hero-buttons .btn-outline { border-color: rgba(255,255,255,.4); }
.hero-buttons .btn-outline:hover { border-color: var(--white); }

.reveal-up { opacity: 0; transform: translateY(28px); animation: revealUp .8s ease forwards; }
.delay-1 { animation-delay: .15s; } .delay-2 { animation-delay: .3s; } .delay-3 { animation-delay: .45s; }
@keyframes revealUp { to { opacity: 1; transform: translateY(0); } }

.hero-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
  width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255,255,255,.3);
  background: rgba(255,255,255,.08); color: var(--white); cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background .2s, border-color .2s;
}
.hero-arrow:hover { background: var(--red); border-color: var(--red); }
.hero-arrow-left { left: 28px; } .hero-arrow-right { right: 28px; }
.hero-dots { position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%); z-index: 3; display: flex; gap: 10px; }
.hero-dots span { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.35); cursor: pointer; transition: background .2s, width .2s; }
.hero-dots span.active { background: var(--gold); width: 28px; border-radius: 6px; }

@media (max-width: 640px) {
  .hero-slider { height: 78vh; }
  .hero-arrow { display: none; }
}

/* ---------- Section scaffolding ---------- */
section { padding: 96px 0; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 56px; }
.section-head h2 { font-size: clamp(1.8rem, 3.4vw, 2.5rem); color: var(--black); }
.section-head p { color: var(--gray); margin-top: 14px; font-size: 1.05rem; }

.fade-in-up, .fade-in-left, .fade-in-right {
  opacity: 0; transition: opacity .8s ease, transform .8s ease;
}
.fade-in-up { transform: translateY(32px); }
.fade-in-left { transform: translateX(-32px); }
.fade-in-right { transform: translateX(32px); }
.in-view { opacity: 1 !important; transform: translate(0,0) !important; }

/* ---------- About ---------- */
.about-section { background: var(--white); }
.about-grid { display: grid; grid-template-columns: .85fr 1fr; gap: 64px; align-items: center; }
.about-images { position: relative; }
.about-images img { border-radius: var(--radius); box-shadow: var(--shadow-lg); width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.experience-badge {
  position: absolute; bottom: -22px; right: -22px;
  background: var(--red); color: var(--white); border-radius: var(--radius);
  padding: 20px 26px; box-shadow: var(--shadow-md); text-align: center;
  font-family: var(--font-display); font-size: 2rem; font-weight: 700;
}
.experience-badge span { display: block; font-family: var(--font-body); font-size: .72rem; font-weight: 500; letter-spacing: .5px; margin-top: 2px; }
.about-text h2 { margin-bottom: 20px; }
.about-text p { color: var(--gray); white-space: pre-line; margin-bottom: 12px; }
.about-badges { display: flex; gap: 24px; margin: 32px 0; flex-wrap: wrap; }
.about-badge { display: flex; align-items: flex-start; gap: 14px; }
.about-badge i { color: var(--red); font-size: 1.4rem; margin-top: 3px; }
.about-badge strong { display: block; font-size: .95rem; }
.about-badge span { color: var(--gray); font-size: .85rem; }
.about-cta { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; margin-top: 8px; }
.call-widget { display: flex; align-items: center; gap: 12px; }
.call-widget i { width: 46px; height: 46px; border-radius: 50%; background: rgba(200,16,46,.08); color: var(--red); display: flex; align-items: center; justify-content: center; font-size: 1.1rem; }
.call-widget span { display: block; font-size: .78rem; color: var(--gray); }
.call-widget strong { font-size: 1rem; }

@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .experience-badge { right: 16px; }
}

/* ---------- Services ---------- */
.services-section { background: var(--beige); }
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.service-card {
  display: block; background: var(--white); border-radius: var(--radius); padding: 40px 28px;
  position: relative; overflow: hidden; box-shadow: var(--shadow-sm);
  transition: transform .3s ease, box-shadow .3s ease;
}
.service-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.service-number {
  font-family: var(--font-display); font-size: 2.4rem; font-weight: 700;
  color: rgba(21,23,26,.06); position: absolute; top: 12px; right: 20px;
}
.service-icon {
  width: 64px; height: 64px; border-radius: 18px;
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  color: var(--white); display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; margin-bottom: 22px; box-shadow: 0 10px 24px rgba(200,16,46,.28);
  transition: transform .3s ease;
}
.service-card:hover .service-icon { transform: scale(1.08) rotate(-4deg); }
.service-card h3 { font-size: 1.2rem; margin-bottom: 10px; }
.service-card p { color: var(--gray); font-size: .92rem; margin-bottom: 18px; }
.btn-read-more { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: .88rem; color: var(--red); }
.btn-read-more i { transition: transform .2s; }
.service-card:hover .btn-read-more i { transform: translateX(4px); }

@media (max-width: 1024px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .services-grid { grid-template-columns: 1fr; } }

/* ---------- Services overview page (with photo) ---------- */
.service-card-photo { position: relative; margin: -40px -28px 22px; height: 170px; overflow: hidden; border-radius: var(--radius) var(--radius) 0 0; }
.service-card-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.service-card:hover .service-card-photo img { transform: scale(1.08); }
.service-card-photo .service-icon {
  position: absolute; bottom: -24px; left: 24px; margin: 0; z-index: 2; border: 4px solid var(--white);
}
.service-card.has-photo { padding-top: 0; overflow: visible; }
.service-card.has-photo .service-body { padding: 32px 4px 4px; }
.service-card.has-photo .service-number { top: 14px; right: 14px; color: rgba(255,255,255,.85); text-shadow: 0 2px 8px rgba(0,0,0,.4); }

/* ---------- Service detail page ---------- */
.service-hero {
  background: linear-gradient(120deg, var(--black), var(--black-soft));
  color: var(--white); padding: 80px 0 0; position: relative; overflow: hidden;
}
.service-hero::after { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 88% 10%, rgba(242,169,0,.18), transparent 50%); }
.service-hero-inner { position: relative; display: flex; align-items: flex-end; gap: 28px; padding-bottom: 44px; flex-wrap: wrap; }
.service-hero-icon {
  width: 84px; height: 84px; border-radius: 22px; background: linear-gradient(135deg, var(--red), var(--red-dark));
  display: flex; align-items: center; justify-content: center; font-size: 2.1rem; color: var(--white);
  box-shadow: 0 14px 32px rgba(200,16,46,.35); flex-shrink: 0;
}
.service-hero-text .breadcrumb { margin-top: 0; margin-bottom: 10px; }
.service-hero-text h1 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); }
.service-hero-text span.number { font-family: var(--font-mono); color: var(--gold); font-size: .8rem; letter-spacing: 1px; }

.service-detail-body { display: grid; grid-template-columns: 1.3fr .9fr; gap: 56px; align-items: start; }
.service-detail-content p { color: var(--gray); margin-bottom: 16px; font-size: 1.02rem; }
.service-section-heading { font-size: 1.25rem; margin: 40px 0 18px; padding-top: 8px; }

.service-highlights { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 20px; margin: 28px 0; }
.highlight-item { display: flex; align-items: flex-start; gap: 12px; font-size: .94rem; color: var(--black-soft); font-weight: 500; }
.highlight-check {
  width: 24px; height: 24px; border-radius: 50%; background: rgba(200,16,46,.1); color: var(--red);
  display: flex; align-items: center; justify-content: center; font-size: .7rem; flex-shrink: 0; margin-top: 1px;
}
@media (max-width: 560px) { .service-highlights { grid-template-columns: 1fr; } }

.mini-pillars-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.mini-pillar { display: flex; gap: 14px; padding: 20px; background: var(--beige); border-radius: 12px; }
.mini-pillar-icon {
  width: 42px; height: 42px; border-radius: 10px; background: var(--white); color: var(--red);
  display: flex; align-items: center; justify-content: center; font-size: 1rem; flex-shrink: 0;
}
.mini-pillar strong { display: block; font-size: .92rem; margin-bottom: 4px; }
.mini-pillar p { color: var(--gray); font-size: .82rem; margin: 0; }
@media (max-width: 560px) { .mini-pillars-grid { grid-template-columns: 1fr; } }
.service-gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 8px; }
.service-gallery img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.service-gallery.single { grid-template-columns: 1fr; }
.service-gallery.single img { aspect-ratio: 16/9; }
.service-side-card { background: var(--beige); border-radius: var(--radius); padding: 30px; }
.service-side-card h4 { margin-bottom: 16px; font-size: 1.05rem; }
.service-side-list a {
  display: flex; align-items: center; gap: 10px; padding: 11px 0; font-size: .9rem; color: var(--black-soft);
  border-bottom: 1px solid rgba(21,23,26,.08);
}
.service-side-list a:last-child { border-bottom: none; }
.service-side-list a:hover { color: var(--red); }
.service-side-list a i.leading { color: var(--red); font-size: .8rem; }
.service-side-cta { margin-top: 24px; }

@media (max-width: 900px) { .service-detail-body { grid-template-columns: 1fr; } .service-gallery { grid-template-columns: 1fr 1fr; } }

/* ---------- Pillars / Why choose us ---------- */
.pillars-section { background: var(--white); }
.pillars-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.pillar-card { text-align: center; padding: 36px 22px; border: 1px solid var(--border); border-radius: var(--radius); transition: border-color .3s, box-shadow .3s, transform .3s; }
.pillar-card:hover { border-color: transparent; box-shadow: var(--shadow-md); transform: translateY(-6px); }
.pillar-icon {
  width: 68px; height: 68px; border-radius: 50%; margin: 0 auto 20px;
  background: rgba(242,169,0,.12); color: var(--gold-dark);
  display: flex; align-items: center; justify-content: center; font-size: 1.6rem;
}
.pillar-card h3 { font-size: 1.05rem; margin-bottom: 10px; }
.pillar-card p { color: var(--gray); font-size: .88rem; }

@media (max-width: 1024px) { .pillars-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .pillars-grid { grid-template-columns: 1fr; } }

/* ---------- Stats banner ---------- */
.stats-banner {
  background: linear-gradient(120deg, var(--black) 0%, var(--black-soft) 100%);
  padding: 64px 0; position: relative; overflow: hidden;
}
.stats-banner::before {
  content: ''; position: absolute; inset: 0;
  background: repeating-linear-gradient(135deg, rgba(242,169,0,.05) 0 2px, transparent 2px 40px);
}
.stats-grid { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stat-item { color: var(--white); }
.stat-icon { font-size: 1.6rem; color: var(--gold); margin-bottom: 12px; }
.stat-number { font-family: var(--font-display); font-size: 2.6rem; font-weight: 700; color: var(--white); }
.stat-item p { color: rgba(255,255,255,.65); margin-top: 6px; font-size: .92rem; }

@media (max-width: 768px) { .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 36px; } }

/* ---------- Projects ---------- */
.projects-section { background: var(--beige); }
.projects-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.project-card {
  display: block; background: var(--white); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-sm); transition: transform .3s, box-shadow .3s; cursor: pointer;
}
.project-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.project-thumb { position: relative; aspect-ratio: 4/3; overflow: hidden; }
.project-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.project-card:hover .project-thumb img { transform: scale(1.08); }
.project-featured-badge {
  position: absolute; top: 14px; left: 14px; background: var(--gold); color: var(--black);
  font-size: .72rem; font-weight: 700; letter-spacing: .5px; text-transform: uppercase;
  padding: 5px 12px; border-radius: 999px;
}
.project-body { padding: 24px; }
.project-body h3 { font-size: 1.05rem; margin-bottom: 8px; }
.project-meta { display: flex; flex-direction: column; gap: 4px; font-size: .82rem; color: var(--gray); margin-bottom: 12px; }
.project-meta strong { color: var(--black-soft); }
.project-tender { font-family: var(--font-mono); font-size: .72rem; color: var(--gray-light); word-break: break-all; }

@media (max-width: 1024px) { .projects-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .projects-grid { grid-template-columns: 1fr; } }

/* ---------- Project detail page ---------- */
.project-detail-section { background: var(--cream); padding: 64px 0 96px; }
.project-detail-title { font-size: clamp(1.7rem, 3.6vw, 2.6rem); max-width: 780px; margin-bottom: 40px; }
.project-detail-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 44px; align-items: start; }

.project-gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.project-gallery.count-1 { grid-template-columns: 1fr; }
.project-gallery a { display: block; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md); position: relative; }
.project-gallery img { width: 100%; aspect-ratio: 4/5; object-fit: cover; transition: transform .4s ease; }
.project-gallery a:hover img { transform: scale(1.06); }
.project-gallery.count-1 img { aspect-ratio: 16/10; }
.project-gallery-more { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 12px; margin-top: 4px; }
.project-gallery-more img { aspect-ratio: 1; object-fit: cover; border-radius: 8px; }

.project-info-panel {
  background: linear-gradient(155deg, var(--black) 0%, var(--black-soft) 100%);
  border-radius: var(--radius); padding: 36px 34px; color: var(--white);
  box-shadow: var(--shadow-lg); position: sticky; top: 100px;
}
.project-info-panel .tag { background: rgba(242,169,0,.14); color: var(--gold); margin-bottom: 24px; }
.project-info-row { padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,.1); }
.project-info-row:last-child { border-bottom: none; padding-bottom: 0; }
.project-info-row:first-of-type { padding-top: 0; }
.project-info-row dt {
  font-family: var(--font-mono); font-size: .72rem; letter-spacing: 1px; text-transform: uppercase;
  color: rgba(255,255,255,.45); margin-bottom: 8px;
}
.project-info-row dd { font-size: .98rem; line-height: 1.55; color: rgba(255,255,255,.94); }
.project-info-row dd.mono { font-family: var(--font-mono); font-size: .84rem; word-break: break-word; color: var(--gold); }
.project-info-cta { margin-top: 28px; }

@media (max-width: 900px) {
  .project-detail-grid { grid-template-columns: 1fr; }
  .project-info-panel { position: static; }
}
@media (max-width: 560px) {
  .project-gallery { grid-template-columns: 1fr; }
}

/* ---------- CTA section ---------- */
.cta-section {
  background: linear-gradient(120deg, var(--red) 0%, var(--red-dark) 100%);
  color: var(--white); text-align: center; position: relative; overflow: hidden;
}
.cta-section::after {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 85% 20%, rgba(242,169,0,.25), transparent 55%);
}
.cta-section .container { position: relative; }
.cta-section h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); margin-bottom: 14px; }
.cta-section p { color: rgba(255,255,255,.88); font-size: 1.1rem; margin-bottom: 32px; }

/* ---------- Contact page ---------- */
.contact-hero {
  background: linear-gradient(120deg, var(--black), var(--black-soft));
  color: var(--white); padding: 90px 0 70px; text-align: center;
}
.contact-hero h1 { font-size: clamp(2rem, 4vw, 2.8rem); margin-bottom: 14px; }
.contact-hero p { color: rgba(255,255,255,.7); max-width: 560px; margin: 0 auto; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 56px; }
.contact-cards { display: grid; gap: 18px; margin-bottom: 32px; }
.contact-card { display: flex; gap: 16px; align-items: flex-start; padding: 22px; border: 1px solid var(--border); border-radius: var(--radius); }
.contact-card i { width: 46px; height: 46px; border-radius: 50%; background: rgba(200,16,46,.08); color: var(--red); display: flex; align-items: center; justify-content: center; font-size: 1.1rem; flex-shrink: 0; }
.contact-card strong { display: block; margin-bottom: 4px; }
.contact-card span { color: var(--gray); font-size: .92rem; }
.contact-map { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); aspect-ratio: 16/10; }
.contact-map iframe { width: 100%; height: 100%; border: 0; }
.contact-form-wrap { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 36px; box-shadow: var(--shadow-sm); }
.contact-form-wrap h3 { margin-bottom: 6px; }
.contact-form-wrap > p { color: var(--gray); margin-bottom: 24px; font-size: .92rem; }

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

/* ---------- Forms (shared) ---------- */
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
input[type=text], input[type=email], input[type=tel], textarea, select {
  width: 100%; padding: 14px 16px; border: 1px solid var(--border); border-radius: 10px;
  font-family: var(--font-body); font-size: .95rem; margin-bottom: 16px; background: var(--white);
  transition: border-color .2s, box-shadow .2s;
}
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 3px rgba(200,16,46,.12); }
textarea { resize: vertical; min-height: 120px; }
@media (max-width: 640px) { .form-row { grid-template-columns: 1fr; } }

.alert { padding: 14px 18px; border-radius: 10px; margin-bottom: 20px; font-size: .92rem; }
.alert-success { background: rgba(34,197,94,.1); color: #15803d; border: 1px solid rgba(34,197,94,.25); }
.alert-error { background: rgba(220,38,38,.08); color: #b91c1c; border: 1px solid rgba(220,38,38,.22); }

/* ---------- Page banner (inner pages) ---------- */
.page-banner {
  background: linear-gradient(120deg, var(--black), var(--black-soft));
  background-size: cover; background-position: center;
  color: var(--white); padding: 80px 0 56px; text-align: center; position: relative;
}
.page-banner::before { content: ''; position: absolute; inset: 0; background: rgba(21,23,26,.55); }
.page-banner .container { position: relative; }
.page-banner h1 { font-size: clamp(2rem, 4vw, 2.7rem); }
.breadcrumb { margin-top: 12px; color: rgba(255,255,255,.7); font-size: .9rem; }
.breadcrumb a { color: var(--gold); }

/* ---------- Footer ---------- */
.site-footer { background: var(--black); color: rgba(255,255,255,.75); }
.footer-top { padding: 72px 0 48px; border-bottom: 1px solid rgba(255,255,255,.08); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.1fr 1.1fr; gap: 40px; }
.footer-col h4 { color: var(--white); font-size: 1.02rem; margin-bottom: 20px; position: relative; padding-bottom: 12px; }
.footer-col h4::after { content: ''; position: absolute; left: 0; bottom: 0; width: 36px; height: 2px; background: var(--gold); }
.footer-col a { display: flex; align-items: center; gap: 8px; padding: 6px 0; font-size: .9rem; transition: color .2s, gap .2s; }
.footer-col a:hover { color: var(--gold); gap: 12px; }
.footer-col a i:first-child { font-size: .7rem; color: var(--red-light); }
.footer-logo { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.footer-logo img { height: 42px; }
.footer-logo span { font-family: var(--font-display); font-size: 1.15rem; color: var(--white); font-weight: 600; }
.footer-about p { font-size: .9rem; line-height: 1.7; margin-bottom: 20px; }
.footer-socials { display: flex; gap: 10px; }
.footer-socials a {
  width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.06);
  display: flex; align-items: center; justify-content: center; transition: background .2s, transform .2s;
}
.footer-socials a:hover { background: var(--red); transform: translateY(-3px); }
.contact-chip { display: flex; gap: 12px; padding: 10px 0; font-size: .88rem; }
.contact-chip i { color: var(--gold); margin-top: 3px; }
.contact-chip span { display: block; color: rgba(255,255,255,.5); font-size: .78rem; }
.contact-chip strong { display: block; color: var(--white); font-weight: 500; margin-top: 2px; }
.footer-col p { font-size: .88rem; margin-bottom: 16px; color: rgba(255,255,255,.6); }

.footer-bottom { padding: 22px 0; }
.footer-bottom-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; font-size: .82rem; color: rgba(255,255,255,.5); }
.footer-tagline { font-family: var(--font-mono); letter-spacing: 1px; color: var(--gold); font-size: .74rem; }
.footer-bottom-right { display: flex; align-items: center; gap: 16px; }
.footer-credit { color: rgba(255,255,255,.5); }
.footer-credit a { color: rgba(255,255,255,.75); font-weight: 600; transition: color .2s; }
.footer-credit a:hover { color: var(--gold); }
@media (max-width: 600px) { .footer-bottom-right { flex-direction: column; gap: 6px; } }

@media (max-width: 1024px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .footer-grid { grid-template-columns: 1fr; } .footer-bottom-inner { flex-direction: column; text-align: center; } }

/* ---------- Scroll-to-top ---------- */
.scroll-top {
  position: fixed; bottom: 28px; right: 28px; width: 48px; height: 48px; border-radius: 50%;
  background: var(--red); color: var(--white); border: none; cursor: pointer; z-index: 400;
  display: flex; align-items: center; justify-content: center; font-size: 1.1rem;
  box-shadow: var(--shadow-md); opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: opacity .25s, transform .25s, background .2s;
}
.scroll-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.scroll-top:hover { background: var(--red-dark); }

/* ---------- About page extras ---------- */
.about-page-body { background: var(--white); }
.about-full-grid { display: grid; grid-template-columns: 1fr; gap: 24px; max-width: 820px; margin: 0 auto 20px; }
.about-full-grid p { color: var(--gray); font-size: 1.02rem; white-space: pre-line; }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; background: rgba(21,23,26,.92); z-index: 1000;
  display: flex; align-items: center; justify-content: center; padding: 40px;
  opacity: 0; visibility: hidden; transition: opacity .25s ease; cursor: zoom-out;
}
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox img { max-width: 100%; max-height: 100%; border-radius: 8px; box-shadow: var(--shadow-lg); }
.lightbox-close {
  position: absolute; top: 24px; right: 28px; width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255,255,255,.12); color: var(--white); border: none; font-size: 1.2rem;
  display: flex; align-items: center; justify-content: center;
}

/* ---------- Empty state ---------- */
.empty-state { text-align: center; padding: 60px 20px; color: var(--gray); }
