/* ============================================================
   BMHVRS — Bhojpur Mahadev Highways Pvt. Ltd.
   Premium light infrastructure design system (2026)
   Earth tones: paper, sand, concrete, asphalt, clay & amber
   ============================================================ */

:root {
  /* Surfaces */
  --paper: #f7f4ef;
  --paper-2: #fdfbf7;
  --sand: #efe9df;
  --concrete: #e2dccf;
  --line: #ddd5c7;
  --line-soft: #e9e3d7;

  /* Ink */
  --ink: #211f1b;
  --asphalt: #1a1813;
  --asphalt-2: #2a2722;
  --stone: #6f675b;
  --stone-soft: #8d8576;

  /* Accents — clay & amber */
  --clay: #b75c2c;
  --clay-deep: #9c4a20;
  --amber: #d99544;
  --amber-soft: #e9c894;

  /* Effects */
  --radius: 18px;
  --radius-lg: 26px;
  --radius-sm: 12px;
  --shadow-sm: 0 2px 10px rgba(40, 32, 22, 0.05);
  --shadow: 0 18px 50px -22px rgba(40, 32, 22, 0.28);
  --shadow-lg: 0 40px 90px -40px rgba(40, 32, 22, 0.45);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  --serif: "Fraunces", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, sans-serif;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--sans);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.015em;
  color: var(--ink);
}

.container { width: min(1200px, 92%); margin: 0 auto; }

section { padding: 96px 0; }

/* ---------- Eyebrow / section heads ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--sans);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--clay-deep);
  margin-bottom: 20px;
}
.eyebrow::before {
  content: "";
  width: 26px; height: 2px;
  background: var(--clay);
  display: inline-block;
}

.section-head { max-width: 640px; margin-bottom: 56px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .eyebrow::before { display: none; }
.section-head.center .eyebrow { padding-left: 0; }
.section-head h2 { font-size: clamp(2rem, 4vw, 3rem); }
.section-head p { margin-top: 16px; color: var(--stone); font-size: 1.05rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 999px;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.35s var(--ease), background 0.35s var(--ease),
    color 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
}
.btn .arrow { transition: transform 0.35s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

.btn-primary { background: var(--asphalt); color: var(--paper-2); }
.btn-primary:hover { background: var(--ink); transform: translateY(-2px); box-shadow: var(--shadow); }

.btn-accent { background: var(--clay); color: #fff; box-shadow: 0 10px 24px -12px rgba(183, 92, 44, 0.7); }
.btn-accent:hover { background: var(--clay-deep); transform: translateY(-2px); }

.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { background: var(--ink); color: var(--paper-2); border-color: var(--ink); transform: translateY(-2px); }

/* ============================================================
   NAVBAR (markup in includes/header.php — keep class names)
   ============================================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 18px 0;
  background: rgba(247, 244, 239, 0.7);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: padding 0.4s var(--ease), background 0.4s var(--ease), box-shadow 0.4s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  padding: 11px 0;
  background: rgba(247, 244, 239, 0.92);
  box-shadow: 0 10px 40px -28px rgba(40, 32, 22, 0.4);
  border-bottom-color: var(--line-soft);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { transition: width 0.4s var(--ease); }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text strong { font-family: var(--serif); font-size: 1.02rem; font-weight: 600; color: var(--ink); }
.brand-text span { font-size: 0.72rem; letter-spacing: 0.04em; color: var(--stone); }

.nav-links { list-style: none; display: flex; align-items: center; gap: 6px; }
.nav-links a {
  position: relative;
  padding: 9px 16px;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--stone);
  transition: color 0.3s var(--ease), background 0.3s var(--ease);
}
.nav-links a:hover { color: var(--ink); background: rgba(0, 0, 0, 0.04); }
.nav-links a.active { color: var(--ink); background: var(--sand); }

.nav .btn-accent { padding: 11px 20px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  width: 24px; height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}

/* ============================================================
   REVEAL ANIMATIONS
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  will-change: opacity, transform;
}
.reveal.in { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

.section-divider { height: 1px; background: linear-gradient(90deg, transparent, var(--line), transparent); width: min(1200px, 92%); margin: 0 auto; }

/* ============================================================
   HERO (index)
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400;1,600&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  --bg-dark:      #1e1915;
  --bg-dark-2:    #2a231d;
  --primary:      #b86a3e;
  --primary-glow: rgba(184,106,58,0.3);
  --white:        #faf6f0;
  --white-90:     rgba(250,246,240,0.9);
  --white-70:     rgba(250,246,240,0.7);
  --white-50:     rgba(250,246,240,0.5);
  --white-40:     rgba(250,246,240,0.4);
  --white-15:     rgba(250,246,240,0.15);
  --white-10:     rgba(250,246,240,0.10);
  --white-05:     rgba(250,246,240,0.05);
  --white-02:     rgba(250,246,240,0.02);
  --cell-bg:      #211c18;
  --cell-hover:   #2c2520;
  --radius-sm:    0.5rem;
  --radius-md:    0.75rem;
  --radius-lg:    1rem;
  --radius-xl:    1.5rem;
  --radius-2xl:   2rem;
  --shadow-elegant: 0 30px 60px -20px rgba(30,25,21,0.25);
  --shadow-image:   0 40px 80px -30px rgba(30,25,21,0.45);
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-body:  'Inter', system-ui, sans-serif;
}

.hero-main,
.hero-main * {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.hero-main {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  /* background: var(--bg-dark); */
  /* background-image: linear-gradient(160deg, var(--bg-dark) 0%, var(--bg-dark-2) 100%); */
  /* color: var(--white); */
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
}

.hero-container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  /* color:black */
}
@media (min-width: 768px) {
  .hero-container { padding-left: 2.5rem; padding-right: 2.5rem; }
}

.grain-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.4;
  mix-blend-mode: overlay;
  background-image: radial-gradient(circle at 1px 1px, rgba(250,246,240,0.06) 1px, transparent 0);
  background-size: 3px 3px;
}

.glow {
  position: absolute;
  pointer-events: none;
  border-radius: 50%;
}
.glow-right {
  top: -10rem; right: -10rem;
  width: 500px; height: 500px;
  background: var(--primary-glow);
  filter: blur(120px);
}
.glow-left {
  bottom: 0; left: -10rem;
  width: 400px; height: 400px;
  background: rgba(184,106,58,0.15);
  filter: blur(100px);
}

/* Header */
.hero-header {
  position: relative;
  z-index: 20;
  border-bottom: 1px solid var(--white-10);
}
.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1.25rem;
  padding-bottom: 1.25rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.brand-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem; height: 2.25rem;
  border-radius: var(--radius-md);
  background: var(--primary);
  font-family: var(--font-serif);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--white);
}
.brand-name {
  font-family: var(--font-serif);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.025em;
  line-height: 1.2;
}
.brand-tag {
  font-size: 0.625rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--white-50);
  line-height: 1.2;
}
.live-badge {
  display: none;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid var(--white-15);
  background: var(--white-05);
  border-radius: 9999px;
  padding: 0.5rem 1rem;
  font-size: 0.75rem;
  color: var(--white-70);
  backdrop-filter: blur(8px);
}
@media (min-width: 768px) { .live-badge { display: flex; } }
.live-dot {
  position: relative;
  display: inline-flex;
  width: 0.5rem; height: 0.5rem;
}
.live-dot::before, .live-dot::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #34d399;
}
.live-dot::before {
  animation: ping 1.5s cubic-bezier(0,0,0.2,1) infinite;
  opacity: 0.6;
}
@keyframes ping {
  75%, 100% { transform: scale(2); opacity: 0; }
}

/* Hero grid */
.hero-body {
  position: relative;
  z-index: 10;
  padding-top: 3rem;
  padding-bottom: 2rem;
}
@media (min-width: 1024px) {
  .hero-body { padding-top: 4rem; padding-bottom: 4rem; }
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}
@media (min-width: 1024px) {
  .hero-grid { grid-template-columns: 7fr 5fr; gap: 2rem; }
  .hero-copy { padding-right: 1.5rem; }
}

/* Eyebrow */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  border: 1px solid var(--white-15);
  background: var(--white-05);
  border-radius: 9999px;
  padding: 0.5rem 1rem;
  font-size: 0.6875rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: black;
  backdrop-filter: blur(12px);
}
.eyebrow-dot {
  width: 0.375rem; height: 0.375rem;
  border-radius: 50%;
  background: var(--primary);
  flex-shrink: 0;
}

/* Headline */
.hero-headline {
  margin-top: 1.5rem;
  font-family: var(--font-serif);
  font-size: 2.75rem;
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -0.02em;
  color: var(--white);
}
@media (min-width: 640px) { .hero-headline { font-size: 3.75rem; } }
@media (min-width: 1024px) { .hero-headline { font-size: 5rem; } }
.hero-headline .highlight {
  position: relative;
  font-style: italic;
  color: var(--primary);
}
.underline-svg {
  position: absolute;
  bottom: -0.5rem; left: 0;
  width: 100%; height: 12px;
  color: var(--primary);
}
.underline-svg svg { display: block; width: 100%; height: 100%; }

/* Lead */
.hero-lead {
  margin-top: 1.75rem;
  max-width: 36rem;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--white-70);
}
@media (min-width: 640px) { .hero-lead { font-size: 1.125rem; } }

/* CTAs */
.hero-ctas {
  margin-top: 2.25rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 600;
  transition: all 0.25s ease;
}
.btn-primary {
  position: relative;
  overflow: hidden;
  background: var(--primary);
  color: var(--white);
  border-radius: 9999px;
  padding: 1rem 1.5rem;
  box-shadow: var(--shadow-elegant);
}
.btn-primary:hover { transform: translateY(-2px); }
.btn-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem; height: 1.75rem;
  border-radius: 50%;
  background: rgba(250,246,240,0.2);
  font-size: 0.75rem;
  transition: transform 0.25s ease;
}
.btn-primary:hover .btn-arrow { transform: translateX(4px); }
.btn-ghost {
  color: var(--white-90);
  padding: 0.5rem 0;
  text-underline-offset: 8px;
}
.btn-ghost:hover { color: var(--primary); text-decoration: underline; }
.btn-arrow-sm { transition: transform 0.25s ease; }
.btn-ghost:hover .btn-arrow-sm { transform: translateX(4px); }

/* Stats */
.hero-stats {
  margin-top: 2.75rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--white-10);
  border-radius: var(--radius-2xl);
  background: var(--white-05);
  backdrop-filter: blur(12px);
}
.stat-cell {
  background: var(--cell-bg);
  padding: 1.25rem 1rem;
  transition: background 0.25s ease;
}
.stat-cell:hover { background: var(--cell-hover); }
@media (min-width: 640px) { .stat-cell { padding: 1.25rem 1.5rem; } }
.stat-value {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
}
@media (min-width: 640px) { .stat-value { font-size: 1.5rem; } }
.stat-label {
  margin-top: 0.25rem;
  font-size: 0.625rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--white-50);
}
@media (min-width: 640px) { .stat-label { font-size: 0.75rem; } }

/* Image side */
.hero-media { position: relative; }
.media-frame {
  position: relative;
  max-width: 28rem;
  margin: 0 auto;
}
@media (min-width: 1024px) { .media-frame { max-width: none; } }

.frame-border {
  position: absolute;
  inset: -0.75rem;
  border-radius: var(--radius-2xl);
  border: 1px solid var(--white-10);
  pointer-events: none;
}
.frame-ring {
  display: none;
  position: absolute;
  top: -1rem; right: -1rem;
  width: 6rem; height: 6rem;
  border-radius: 50%;
  border: 1px solid rgba(184,106,58,0.4);
  pointer-events: none;
}
@media (min-width: 640px) { .frame-ring { display: block; } }

.badge-year {
  position: absolute;
  top: 1.5rem; left: -0.75rem;
  z-index: 20;
  transform: rotate(-6deg);
  border: 1px solid var(--white-15);
  background: var(--cell-bg);
  border-radius: var(--radius-xl);
  padding: 0.75rem 1rem;
  box-shadow: var(--shadow-elegant);
  backdrop-filter: blur(8px);
}
.badge-est {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1;
  color: var(--primary);
}
.badge-num {
  margin-top: 0.25rem;
  font-family: var(--font-serif);
  font-size: 1.25rem;
  line-height: 1;
  color: var(--white);
}

.image-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-2xl);
  border: 1px solid var(--white-10);
  box-shadow: var(--shadow-image);
}
.hero-image {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  transition: transform 1.2s ease;
}
.image-card:hover .hero-image { transform: scale(1.05); }
.image-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 50%, rgba(30,25,21,0.7) 100%);
}
.image-caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 1.25rem;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
}
@media (min-width: 640px) { .image-caption { padding: 1.5rem; } }
.caption-label {
  font-size: 0.625rem;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--white-50);
}
.caption-title {
  margin-top: 0.25rem;
  font-family: var(--font-serif);
  font-size: 1.125rem;
  color: var(--white);
}
@media (min-width: 640px) { .caption-title { font-size: 1.25rem; } }
.caption-badge {
  flex-shrink: 0;
  border: 1px solid rgba(250,246,240,0.3);
  background: rgba(0,0,0,0.3);
  border-radius: 9999px;
  padding: 0.25rem 0.75rem;
  font-size: 0.625rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--white);
  backdrop-filter: blur(8px);
}

.float-card {
  position: absolute;
  bottom: -1.5rem; left: -1rem;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border: 1px solid var(--white-15);
  background: #241f1a;
  border-radius: var(--radius-xl);
  padding: 1rem 1.25rem;
  box-shadow: var(--shadow-elegant);
  backdrop-filter: blur(8px);
}
@media (min-width: 640px) { .float-card { left: -2rem; } }
.float-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem; height: 2.5rem;
  border-radius: 50%;
  background: rgba(184,106,58,0.2);
  color: var(--primary);
  font-size: 1rem;
  flex-shrink: 0;
}
.float-title {
  font-family: var(--font-serif);
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.2;
  color: var(--white);
}
.float-sub {
  font-size: 0.625rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--white-50);
}

/* Marquee */
.hero-marquee {
  position: relative;
  margin-top: 2rem;
  border-top: 1px solid var(--white-10);
  border-bottom: 1px solid var(--white-10);
  background: var(--white-02);
  padding: 1.25rem 0;
  overflow: hidden;
  backdrop-filter: blur(4px);
}
.marquee-track { display: flex; overflow: hidden; }
.marquee-content {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  padding-right: 2.5rem;
  font-family: var(--font-serif);
  font-size: 1.125rem;
  font-style: italic;
  color: black;
  white-space: nowrap;
  animation: marquee 30s linear infinite;
}
@media (min-width: 640px) { .marquee-content { font-size: 1.25rem; } }
.marquee-content .star { color: var(--primary); font-style: normal; }
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.hero-copy {
  animation: fadeIn 0.8s ease-out both;
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   STATS
   ============================================================ */
.stats-section { background: var(--asphalt); color: var(--paper); }
.stats-head { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: end; margin-bottom: 60px; }
.stats-head h2 { color: var(--paper-2); font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
.stats-head p { color: rgba(247, 244, 239, 0.6); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.stat { padding-top: 28px; border-top: 1px solid rgba(247, 244, 239, 0.16); }
.stat .num { font-family: var(--serif); font-size: clamp(2.6rem, 5vw, 3.6rem); color: var(--amber); display: flex; align-items: baseline; gap: 2px; }
.stat .suf { color: var(--clay); }
.stat .lbl { margin-top: 8px; color: rgba(247, 244, 239, 0.66); font-size: 0.95rem; }

/* ============================================================
   ABOUT
   ============================================================ */
.about-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 70px; align-items: center; }
.about-img { position: relative; }
.about-img img { width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow); aspect-ratio: 4/5; object-fit: cover; }
.about-img .tag {
  position: absolute; bottom: -22px; right: -10px;
  background: var(--clay); color: #fff;
  padding: 22px 26px; border-radius: var(--radius);
  display: flex; align-items: center; gap: 14px;
  box-shadow: var(--shadow);
}
.about-img .tag strong { font-family: var(--serif); font-size: 2.4rem; line-height: 1; }
.about-img .tag span { font-size: 0.78rem; line-height: 1.25; opacity: 0.9; }
#about h2, .about-grid h2 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); margin-bottom: 18px; }
.about-grid p { color: var(--stone); margin-bottom: 14px; }
.about-feats { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 30px; }
.feat { padding: 18px 20px; background: var(--paper-2); border: 1px solid var(--line-soft); border-radius: var(--radius-sm); }
.feat strong { display: block; font-size: 1rem; color: var(--ink); }
.feat span { font-size: 0.85rem; color: var(--stone); }

/* ============================================================
   PROJECT HIGHLIGHTS / PACKAGES
   ============================================================ */
.packages-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.pkg-card {
  position: relative;
  padding: 40px 34px;
  background: var(--paper-2);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), border-color 0.5s var(--ease);
}
.pkg-card::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px;
  background: linear-gradient(var(--clay), var(--amber)); transform: scaleY(0); transform-origin: top;
  transition: transform 0.5s var(--ease);
}
.pkg-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.pkg-card:hover::before { transform: scaleY(1); }
.pkg-card .num { font-family: var(--serif); font-size: 2.4rem; color: var(--concrete); margin-bottom: 14px; transition: color 0.4s var(--ease); }
.pkg-card:hover .num { color: var(--clay); }
.pkg-card h3 { font-size: 1.35rem; margin-bottom: 12px; }
.pkg-card p { color: var(--stone); font-size: 0.98rem; }

/* ============================================================
   SERVICES / SHOWCASE CARDS
   ============================================================ */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service {
  padding: 38px 32px;
  background: var(--paper-2);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.service:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.service .icon {
  width: 56px; height: 56px; border-radius: 14px;
  display: grid; place-items: center; margin-bottom: 22px;
  background: var(--sand); color: var(--clay-deep);
  transition: background 0.4s var(--ease), color 0.4s var(--ease);
}
.service:hover .icon { background: var(--clay); color: #fff; }
.service h3 { font-size: 1.25rem; margin-bottom: 10px; }
.service p { color: var(--stone); font-size: 0.96rem; }

/* ---------- Equipment / machinery ---------- */
.machinery { background: var(--sand); }
.mach-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.mach {
  display: flex; align-items: center; gap: 16px;
  padding: 22px 22px;
  background: var(--paper-2);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.mach:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); }
.mach .icon { flex: none; width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--sand); color: var(--clay-deep); }
.mach h4 { font-size: 1.02rem; margin-bottom: 2px; }
.mach span { font-size: 0.82rem; color: var(--stone); }

/* ============================================================
   GALLERY PREVIEW (index masonry)
   ============================================================ */
.gallery-bg { background: var(--asphalt); color: var(--paper); }
.gallery-bg .eyebrow { color: var(--amber); }
.gallery-bg .eyebrow::before { background: var(--amber); }
.gallery-bg .section-head h2 { color: var(--paper-2); }
.gallery-bg .section-head p { color: rgba(247, 244, 239, 0.6); }

.masonry { columns: 3; column-gap: 20px; }
.masonry .tile {
  position: relative;
  break-inside: avoid;
  margin-bottom: 20px;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
}
.masonry .tile img { width: 100%; transition: transform 0.7s var(--ease); }
.masonry .tile:hover img { transform: scale(1.06); }
.masonry .tile .cap {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 26px 22px 18px;
  background: linear-gradient(transparent, rgba(20, 18, 14, 0.85));
  color: #fff;
  transform: translateY(8px); opacity: 0;
  transition: transform 0.5s var(--ease), opacity 0.5s var(--ease);
}
.masonry .tile:hover .cap { transform: none; opacity: 1; }
.masonry .tile .cap strong { font-family: var(--serif); font-size: 1.1rem; display: block; }
.masonry .tile .cap span { font-size: 0.82rem; opacity: 0.8; }

/* ============================================================
   CTA BANNER
   ============================================================ */
.cta-banner {
  background: var(--asphalt);
  border-radius: var(--radius-lg);
  padding: 64px 56px;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: ""; position: absolute; right: -80px; top: -80px;
  width: 320px; height: 320px; border-radius: 50%;
  background: radial-gradient(circle, rgba(217, 149, 68, 0.4), transparent 70%);
}
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; position: relative; }
.cta-inner h2 { color: var(--paper-2); font-size: clamp(1.7rem, 3vw, 2.4rem); }
.cta-inner p { color: rgba(247, 244, 239, 0.65); margin-top: 10px; }

/* ============================================================
   PAGE HEAD (inner pages)
   ============================================================ */
.page-head {
  padding: 50px 0 70px;
  background:
    radial-gradient(1200px 400px at 80% -10%, rgba(217, 149, 68, 0.16), transparent 60%),
    var(--paper);
  border-bottom: 1px solid var(--line-soft);
}
.crumb { font-size: 0.85rem; color: var(--stone); margin-bottom: 22px; letter-spacing: 0.02em; }
.crumb a { color: var(--clay-deep); font-weight: 500; }
.page-head h1 { font-size: clamp(2.3rem, 5vw, 3.8rem); max-width: 900px; }
.page-head p { margin-top: 20px; color: var(--stone); font-size: 1.1rem; max-width: 640px; }

/* ============================================================
   EXECUTION — simple gallery of 6 images
   ============================================================ */
.exec-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.exec-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
}
.exec-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.exec-card:hover img { transform: scale(1.07); }
.exec-card .staff-overlay,
.exec-card .ov {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 26px;
  background: linear-gradient(transparent 40%, rgba(20, 18, 14, 0.82));
  color: #fff;
  opacity: 0; transition: opacity 0.5s var(--ease);
}
.exec-card:hover .staff-overlay,
.exec-card:hover .ov { opacity: 1; }
.exec-card h4 { font-family: var(--serif); font-size: 1.3rem; margin-bottom: 4px; }
.exec-card span { font-size: 0.85rem; opacity: 0.85; }

/* ============================================================
   GALLERY PAGE — premium masonry
   ============================================================ */
/* .gallery-wrapper { columns: 3; column-gap: 22px; } */
.year-heading, .month-heading { column-span: all; }
.year-heading { margin: 40px 0 6px; }
.year-heading h2 { font-size: 2.4rem; color: var(--ink); }
.year-heading h2::after { content: ""; display: block; width: 60px; height: 3px; background: var(--clay); margin-top: 12px; border-radius: 2px; }
.month-heading { display: flex; align-items: center; justify-content: space-between; margin: 26px 0 18px; }
.month-heading h3 { font-size: 1.3rem; color: var(--stone); font-weight: 500; }
/* .scroll-buttons { display: none; } sliders removed in masonry layout */

/* .gallery-slider { display: contents; } */
.gallery-wrapper {
    display: block;
}

.scroll-buttons {
    display: flex;
    gap: 10px;
}

.gallery-slider {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    padding-bottom: 10px;
    margin-bottom: 30px;
    scrollbar-width: none;
}

.gallery-slider::-webkit-scrollbar {
    display: none;
}

.g-tile {
    flex: 0 0 320px;
    margin-bottom: 0;
}

.g-tile {
  position: relative;
  break-inside: avoid;
  margin-bottom: 22px;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
}
.g-tile img { width: 100%; transition: transform 0.7s var(--ease); }
.g-tile:hover img { transform: scale(1.06); }
.g-tile .cap {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 30px 22px 18px;
  background: linear-gradient(transparent, rgba(20, 18, 14, 0.85));
  color: #fff;
  transform: translateY(10px); opacity: 0;
  transition: transform 0.5s var(--ease), opacity 0.5s var(--ease);
}
.g-tile:hover .cap { transform: none; opacity: 1; }
.g-tile .cap strong { font-family: var(--serif); font-size: 1.08rem; display: block; }
.g-tile .cap span { font-size: 0.8rem; opacity: 0.8; }

.empty-state { text-align: center; padding: 80px 20px; color: var(--stone); }
.empty-state svg { color: var(--concrete); margin-bottom: 16px; }

/* ============================================================
   QUALITY PAGE
   ============================================================ */
.timeline { display: grid; grid-template-columns: repeat(5, 1fr); gap: 22px; }
.t-item {
  position: relative;
  padding: 32px 24px;
  background: var(--paper-2);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.gallery-bg .t-item { background: rgba(255, 255, 255, 0.04); border-color: rgba(255, 255, 255, 0.1); }
.gallery-bg .t-item h3 { color: var(--paper-2); }
.gallery-bg .t-item p { color: rgba(247, 244, 239, 0.6); }
.t-item:hover { transform: translateY(-5px); box-shadow: var(--shadow-sm); }
.t-item .dot {
  width: 46px; height: 46px; border-radius: 12px;
  display: grid; place-items: center;
  font-family: var(--serif); font-size: 1.1rem; font-weight: 600;
  background: var(--clay); color: #fff; margin-bottom: 18px;
}
.t-item h3 { font-size: 1.12rem; margin-bottom: 8px; }
.t-item p { color: var(--stone); font-size: 0.9rem; }

.cert-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 40px; }
.cert {
  display: flex; flex-direction: column; align-items: flex-start; gap: 8px;
  padding: 24px;
  background: var(--paper-2);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
}
.cert .ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--sand); color: var(--clay-deep); margin-bottom: 6px; }
.cert strong { font-family: var(--serif); font-size: 1.15rem; }
.cert span { font-size: 0.82rem; color: var(--stone); }

.qs-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.qs-tile {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
}
.qs-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
.qs-tile:hover img { transform: scale(1.06); }

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; align-items: start; }
.contact-info h2 { font-size: clamp(1.8rem, 3.4vw, 2.4rem); margin-bottom: 14px; }
.contact-info > p { color: var(--stone); margin-bottom: 28px; }
.info-item { display: flex; gap: 16px; padding: 18px 0; border-top: 1px solid var(--line-soft); }
.info-item .ic { flex: none; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--sand); color: var(--clay-deep); }
.info-item h4 { font-size: 1rem; margin-bottom: 2px; }
.info-item p { color: var(--stone); font-size: 0.94rem; }
.info-item a { color: var(--clay-deep); }

.contact-form {
  background: var(--paper-2);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow);
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 18px; display: flex; flex-direction: column; }
.field label { font-size: 0.85rem; font-weight: 600; color: var(--ink); margin-bottom: 8px; }
.field input, .field select, .field textarea {
  font-family: var(--sans); font-size: 0.96rem;
  padding: 13px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--paper);
  color: var(--ink);
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease), background 0.3s var(--ease);
  width: 100%;
}
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--clay);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(183, 92, 44, 0.12);
}
.contact-form .btn { margin-top: 6px; }
.form-status { padding: 14px 18px; border-radius: var(--radius-sm); font-size: 0.95rem; }
.form-status.success { background: #e7f1e6; color: #2f6b34; border: 1px solid #bcdcbb; }
.form-status.error { background: #f6e3dd; color: #9c3b20; border: 1px solid #e6c0b3; }

.map { margin-top: 64px; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.map iframe { width: 100%; height: 420px; border: 0; display: block; filter: grayscale(0.2) saturate(0.85); }

/* ============================================================
   FOOTER (markup in includes/footer.php — keep class names)
   ============================================================ */
.footer { background: var(--asphalt); color: rgba(247, 244, 239, 0.7); padding: 80px 0 30px; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 50px; border-bottom: 1px solid rgba(247, 244, 239, 0.12); }
.foot-brand h3 { color: var(--paper-2); font-size: 1.25rem; margin-bottom: 12px; }
.foot-brand p { font-size: 0.92rem; line-height: 1.7; max-width: 340px; }
.footer h4 { color: var(--paper-2); font-size: 1rem; margin-bottom: 18px; font-family: var(--sans); font-weight: 600; letter-spacing: 0.02em; }
.footer ul { list-style: none; display: flex; flex-direction: column; gap: 11px; }
.footer ul li { font-size: 0.92rem; }
.footer ul a { transition: color 0.3s var(--ease); }
.footer ul a:hover { color: var(--amber); }
.socials { display: flex; gap: 12px; margin-top: 20px; }
.socials a {
  width: 38px; height: 38px; border-radius: 10px;
  display: grid; place-items: center;
  background: rgba(247, 244, 239, 0.08);
  color: var(--paper-2);
  transition: background 0.3s var(--ease), transform 0.3s var(--ease);
}
.socials a:hover { background: var(--clay); transform: translateY(-3px); }
.foot-bot { display: flex; justify-content: space-between; gap: 16px; padding-top: 26px; font-size: 0.84rem; flex-wrap: wrap; }

/* ============================================================
   LIGHTBOX
   ============================================================ */
.lightbox-overlay {
  position: fixed; inset: 0; z-index: 999;
  background: rgba(16, 14, 11, 0.92);
  backdrop-filter: blur(8px);
  display: none; align-items: center; justify-content: center;
  padding: 40px;
}
.lightbox-overlay.active { display: flex; animation: lbFade 0.3s var(--ease); }
@keyframes lbFade { from { opacity: 0; } to { opacity: 1; } }
.lightbox-inner { position: relative; max-width: 1100px; width: 100%; }
.lightbox-inner img { width: 100%; max-height: 82vh; object-fit: contain; border-radius: var(--radius); }
.lightbox-caption { text-align: center; color: var(--paper); margin-top: 16px; font-size: 0.95rem; }
.lightbox-close, .lightbox-nav {
  position: absolute; top: 50%;
  width: 50px; height: 50px; border-radius: 50%;
  background: rgba(247, 244, 239, 0.12); color: #fff;
  border: none; cursor: pointer; font-size: 1.3rem;
  display: grid; place-items: center;
  transform: translateY(-50%);
  transition: background 0.3s var(--ease);
}
.lightbox-nav:hover, .lightbox-close:hover { background: var(--clay); }
.lightbox-prev { left: -70px; }
.lightbox-next { right: -70px; }
.lightbox-close { top: -56px; right: 0; transform: none; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 30px; }
  .stats-head { grid-template-columns: 1fr; gap: 16px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .mach-grid { grid-template-columns: repeat(2, 1fr); }
  .timeline { grid-template-columns: repeat(2, 1fr); }
  .cert-grid { grid-template-columns: repeat(2, 1fr); }
  .masonry, .gallery-wrapper { columns: 2; }
}

@media (max-width: 860px) {
  section { padding: 70px 0; }
  .nav-toggle { display: flex; }
  .nav nav { order: 3; }
  .nav-links {
    position: fixed; top: 70px; left: 0; right: 0;
    flex-direction: column;
    background: var(--paper-2);
    border-bottom: 1px solid var(--line-soft);
    padding: 14px 6%;
    gap: 4px;
    transform: translateY(-120%);
    transition: transform 0.45s var(--ease);
    box-shadow: var(--shadow);
  }
  .nav-links.open { transform: none; }
  .nav-links a { display: block; padding: 12px 14px; }
  .nav .btn-accent { display: none; }
  .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 50px; }
  .about-img .tag { right: 16px; }
  .packages-grid { grid-template-columns: 1fr; }
  .exec-gallery, .qs-gallery { grid-template-columns: repeat(2, 1fr); }
  .cta-inner { flex-direction: column; align-items: flex-start; text-align: left; }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
  .lightbox-prev { left: 8px; } .lightbox-next { right: 8px; }
  .lightbox-close { top: 8px; right: 8px; background: rgba(0,0,0,0.4); }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .hero .container { padding: 120px 0 70px; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 22px; }
  .services-grid, .mach-grid, .timeline, .cert-grid { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .masonry, .gallery-wrapper { columns: 1; }
  .exec-gallery, .qs-gallery { grid-template-columns: 1fr; }
  .contact-form { padding: 26px; }
  .foot-grid { grid-template-columns: 1fr; }
  .about-feats { grid-template-columns: 1fr; }
  .cta-banner { padding: 44px 28px; }
  .nav-links{ position: fixed; top: 64px; left: 0; right: 0; padding: 12px 4%; }
}
