/* =====================================================
   DEEPJYOT SOLAR SOLUTION – Premium Website CSS
   ===================================================== */

/* ---- CSS Variables ---- */
:root {
  --clr-dark: #0d1117;
  --clr-dark2: #151c25;
  --clr-green: #1a472a;
  --clr-green-light: #2d6a4f;
  --clr-gold: #c9a227;
  --clr-gold-light: #f0c040;
  --clr-white: #ffffff;
  --clr-off-white: #f5f5f0;
  --clr-text: #1a1a1a;
  --clr-text-muted: #5a6272;
  --clr-border: #e5e5e0;

  --font-body: 'Inter', sans-serif;
  --font-display: 'Playfair Display', serif;

  --section-pad: clamp(5rem, 10vw, 9rem);
  --container-width: 1240px;
  --radius: 16px;
  --radius-sm: 8px;

  --transition: 0.45s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: 0.25s ease;
}

/* ---- Reset & Base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;       /* stops horizontal scroll at root */
  max-width: 100%;
}
body {
  font-family: var(--font-body);
  color: var(--clr-text);
  background: var(--clr-white);
  overflow-x: hidden;
  max-width: 100vw;          /* hard cap to viewport */
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* All sections and wrappers must never exceed 100vw */
section, header, footer, div { max-width: 100%; }

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 2.5rem);
  width: 100%;
}

/* ===================== BUTTONS ===================== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 2rem;
  background: var(--clr-gold);
  color: var(--clr-dark);
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: 50px;
  letter-spacing: 0.02em;
  transition: background var(--transition-fast), transform var(--transition-fast), box-shadow var(--transition-fast);
  box-shadow: 0 4px 20px rgba(201,162,39,0.25);
}
.btn-primary:hover { background: var(--clr-gold-light); transform: translateY(-2px); box-shadow: 0 8px 30px rgba(201,162,39,0.4); }
.btn-outline {
  display: inline-flex;
  align-items: center;
  padding: 0.9rem 2rem;
  border: 2px solid rgba(255,255,255,0.6);
  color: var(--clr-white);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 50px;
  transition: border-color var(--transition-fast), background var(--transition-fast), transform var(--transition-fast);
}
.btn-outline:hover { border-color: var(--clr-gold); background: rgba(201,162,39,0.1); transform: translateY(-2px); }
.btn-consult {
  display: inline-block;
  padding: 0.65rem 1.4rem;
  background: var(--clr-gold);
  color: var(--clr-dark);
  font-weight: 700;
  font-size: 0.875rem;
  border-radius: 50px;
  transition: background var(--transition-fast), transform var(--transition-fast);
}
.btn-consult:hover { background: var(--clr-gold-light); transform: translateY(-1px); }
.btn-full { width: 100%; justify-content: center; }

/* ===================== SECTION COMMON ===================== */
.section-eyebrow {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--clr-gold);
  margin-bottom: 0.75rem;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--clr-dark);
  line-height: 1.15;
  margin-bottom: 1rem;
}
.section-sub {
  font-size: 1.05rem;
  color: var(--clr-text-muted);
  max-width: 540px;
}
.section-header { text-align: center; margin-bottom: clamp(3rem, 6vw, 4.5rem); }
.section-header .section-sub { margin: 0.5rem auto 0; }

/* ===================== HEADER ===================== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 1.25rem 0;
  transition: background var(--transition), padding var(--transition), box-shadow var(--transition);
}
.site-header.scrolled {
  background: rgba(13, 17, 23, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 0.85rem 0;
  box-shadow: 0 2px 30px rgba(0,0,0,0.3);
}
.header-inner {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 5vw, 2.5rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--clr-white);
  white-space: nowrap;
}
.logo-icon { font-size: 1.4rem; color: var(--clr-gold); line-height: 1; }
.logo-highlight { color: var(--clr-gold); }
.main-nav { display: flex; align-items: center; gap: 2rem; }
.main-nav ul { display: flex; gap: 0.25rem; }
.main-nav ul li a {
  padding: 0.5rem 0.75rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
  border-radius: 6px;
  transition: color var(--transition-fast), background var(--transition-fast);
}
.main-nav ul li a:hover { color: var(--clr-gold); background: rgba(201,162,39,0.1); }
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 34px;
  height: 34px;
  padding: 4px;
}
.hamburger span {
  display: block;
  height: 2px;
  background: var(--clr-white);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===================== HERO ===================== */
.hero {
  position: relative;
  height: 100svh;
  min-height: 600px;
  width: 100%;
  max-width: 100vw;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--clr-dark);
}
.hero-video-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  overflow: hidden;
}
.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(13,17,23,0.75) 0%,
    rgba(13,17,23,0.55) 50%,
    rgba(26,71,42,0.4) 100%
  );
}
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 1.5rem;
  max-width: 860px;
}
.hero-eyebrow {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--clr-gold);
  margin-bottom: 1.25rem;
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 7vw, 6rem);
  font-weight: 800;
  color: var(--clr-white);
  line-height: 1.05;
  margin-bottom: 1.25rem;
  letter-spacing: -0.01em;
}
.hero-title span { color: var(--clr-gold); }
.hero-ctas { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.scroll-indicator {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}
.scroll-indicator span {
  display: block;
  width: 28px;
  height: 44px;
  border: 2px solid rgba(255,255,255,0.4);
  border-radius: 14px;
  position: relative;
}
.scroll-indicator span::after {
  content: '';
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 8px;
  background: var(--clr-gold);
  border-radius: 2px;
  animation: scrollBounce 2s infinite;
}
@keyframes scrollBounce {
  0%, 100% { top: 6px; opacity: 1; }
  80% { top: 20px; opacity: 0.2; }
}

/* ===================== ABOUT ===================== */
.about {
  padding: var(--section-pad) 0;
  background: var(--clr-white);
}
.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 6vw, 6rem);
  align-items: center;
}
.about-image {
  position: relative;
  border-radius: var(--radius);
  overflow: visible;
}
.about-image img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: 0 30px 80px rgba(0,0,0,0.15);
}
.about-badge {
  position: absolute;
  bottom: -1.5rem;
  right: -1.5rem;
  background: var(--clr-gold);
  color: var(--clr-dark);
  padding: 1.2rem 1.5rem;
  border-radius: var(--radius-sm);
  text-align: center;
  box-shadow: 0 10px 30px rgba(201,162,39,0.3);
}
.badge-year { display: block; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.badge-num { display: block; font-size: 2rem; font-weight: 900; font-family: var(--font-display); line-height: 1; }
.about-content { padding-right: 1rem; }
.about-text { color: var(--clr-text-muted); font-size: 1.05rem; margin-bottom: 2rem; line-height: 1.8; }
.about-stats {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}
.astat { flex: 1; min-width: 100px; }
.astat-num {
  display: block;
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 900;
  color: var(--clr-green);
  font-family: var(--font-display);
  line-height: 1;
  margin-bottom: 0.25rem;
}
.astat-label { font-size: 0.8rem; color: var(--clr-text-muted); font-weight: 500; }
.about-highlights { display: flex; flex-direction: column; gap: 0.6rem; }
.about-highlights li { display: flex; align-items: center; gap: 0.75rem; font-size: 0.95rem; font-weight: 500; }
.check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  background: var(--clr-green);
  color: white;
  border-radius: 50%;
  font-size: 0.75rem;
  flex-shrink: 0;
}

/* ===================== STATS ===================== */
.stats-section {
  background: var(--clr-green);
  padding: clamp(3.5rem, 7vw, 5.5rem) 0;
  position: relative;
  overflow: hidden;
}
.stats-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") repeat;
}
.stats-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(2rem, 5vw, 5rem);
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}
.stat-item { text-align: center; }
.stat-num {
  display: block;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 900;
  font-family: var(--font-display);
  color: var(--clr-white);
  line-height: 1;
  margin-bottom: 0.5rem;
}
.stat-suffix {
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  font-weight: 900;
  font-family: var(--font-display);
  color: var(--clr-gold-light);
  margin-left: 0.1rem;
}
.stat-static { color: var(--clr-gold-light); }
.stat-label { display: block; font-size: 0.875rem; font-weight: 600; color: rgba(255,255,255,0.7); letter-spacing: 0.08em; text-transform: uppercase; }
.stat-divider {
  width: 1px;
  height: 60px;
  background: rgba(255,255,255,0.2);
  flex-shrink: 0;
}

/* ===================== SERVICES ===================== */
.services {
  padding: var(--section-pad) 0;
  background: var(--clr-off-white);
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}
.service-card {
  background: var(--clr-white);
  border-radius: var(--radius);
  padding: 2.25rem 2rem;
  transition: transform var(--transition), box-shadow var(--transition);
  border: 1px solid var(--clr-border);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--clr-green), var(--clr-gold));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}
.service-card:hover { transform: translateY(-6px); box-shadow: 0 20px 50px rgba(0,0,0,0.1); }
.service-card:hover::before { transform: scaleX(1); }
.service-icon-wrap { margin-bottom: 1.25rem; }
.svc-icon {
  font-size: 2.5rem;
  color: var(--clr-green);
  line-height: 1;
  display: inline-block;
  background: rgba(26,71,42,0.08);
  width: 60px;
  height: 60px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.service-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 0.6rem; color: var(--clr-dark); }
.service-card p { font-size: 0.9rem; color: var(--clr-text-muted); line-height: 1.7; }

/* ===================== OUR WORK / GALLERY ===================== */
.our-work {
  padding: var(--section-pad) 0;
  background: var(--clr-dark);
}
.our-work .section-eyebrow,
.our-work .section-sub { color: rgba(255,255,255,0.6); }
.our-work .section-title { color: var(--clr-white); }
.gallery-masonry {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 220px;
  gap: 0.75rem;
}
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-sm);
  cursor: pointer;
  background: #1a1f28;
}
.gallery-item.tall { grid-row: span 2; }
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.gallery-item:hover img { transform: scale(1.06); }
.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(26,71,42,0.75);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition);
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-overlay span {
  color: var(--clr-white);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border: 2px solid rgba(255,255,255,0.6);
  padding: 0.5rem 1.25rem;
  border-radius: 50px;
}


/* ===================== WHY CHOOSE US ===================== */
.why-us {
  padding: var(--section-pad) 0;
  background: var(--clr-off-white);
}
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
}
.why-item {
  background: var(--clr-white);
  border-radius: var(--radius);
  padding: 2rem 1.75rem;
  border-left: 4px solid var(--clr-green);
  transition: transform var(--transition), box-shadow var(--transition);
}
.why-item:hover { transform: translateY(-4px); box-shadow: 0 15px 40px rgba(0,0,0,0.08); }
.why-num {
  font-size: 2.5rem;
  font-weight: 900;
  font-family: var(--font-display);
  color: rgba(26,71,42,0.12);
  line-height: 1;
  margin-bottom: 0.75rem;
}
.why-item h3 { font-size: 1rem; font-weight: 700; color: var(--clr-dark); margin-bottom: 0.5rem; }
.why-item p { font-size: 0.875rem; color: var(--clr-text-muted); line-height: 1.7; }

/* ===================== PROCESS ===================== */
.process {
  padding: var(--section-pad) 0;
  background: var(--clr-white);
}
.process-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
  position: relative;
  padding-top: 2.5rem;
}
.process-steps::before {
  content: '';
  position: absolute;
  top: calc(2.5rem + 24px);
  left: calc(10% + 24px);
  right: calc(10% + 24px);
  height: 2px;
  background: linear-gradient(90deg, var(--clr-green), var(--clr-gold));
  z-index: 0;
}
.process-step {
  text-align: center;
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
}
.step-dot {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--clr-green);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 0 0 6px var(--clr-white), 0 0 0 8px var(--clr-green);
  transition: background var(--transition-fast), transform var(--transition-fast);
}
.process-step:hover .step-dot { background: var(--clr-gold); box-shadow: 0 0 0 6px var(--clr-white), 0 0 0 8px var(--clr-gold); transform: scale(1.1); }
.step-dot span { color: var(--clr-white); font-weight: 800; font-size: 0.8rem; }
.step-body h3 { font-size: 0.95rem; font-weight: 700; color: var(--clr-dark); margin-bottom: 0.4rem; }
.step-body p { font-size: 0.825rem; color: var(--clr-text-muted); line-height: 1.6; }


/* ===================== CONTACT ===================== */
.contact {
  padding: var(--section-pad) 0;
  background: var(--clr-white);
}
.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: clamp(3rem, 7vw, 6rem);
  align-items: start;
}
.contact-info h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--clr-dark);
  margin-bottom: 0.75rem;
  line-height: 1.2;
}
.contact-sub { color: var(--clr-text-muted); font-size: 1.05rem; margin-bottom: 2.5rem; }
.contact-details { display: flex; flex-direction: column; gap: 1.25rem; }
.contact-detail-item { display: flex; align-items: flex-start; gap: 1rem; }
.cd-icon {
  font-size: 1.4rem;
  width: 44px;
  height: 44px;
  background: rgba(26,71,42,0.08);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--clr-green);
}
.contact-detail-item strong { display: block; font-weight: 700; font-size: 0.9rem; color: var(--clr-dark); }
.contact-detail-item span, .contact-detail-item a { font-size: 0.875rem; color: var(--clr-text-muted); }
.contact-detail-item a:hover { color: var(--clr-green); text-decoration: underline; }
.contact-form-wrap {
  background: var(--clr-off-white);
  border-radius: var(--radius);
  padding: clamp(2rem, 5vw, 2.75rem);
  border: 1px solid var(--clr-border);
}
.contact-form { display: flex; flex-direction: column; gap: 1.25rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { display: flex; flex-direction: column; gap: 0.35rem; }
.form-group label { font-size: 0.8rem; font-weight: 700; color: var(--clr-dark); letter-spacing: 0.04em; text-transform: uppercase; }
.form-group input,
.form-group textarea {
  padding: 0.85rem 1rem;
  border: 1.5px solid var(--clr-border);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--clr-dark);
  background: var(--clr-white);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
  width: 100%;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: #b0b8c5; }
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--clr-green);
  box-shadow: 0 0 0 3px rgba(26,71,42,0.1);
}
.form-group textarea { resize: vertical; min-height: 110px; }
.form-note { font-size: 0.85rem; text-align: center; color: var(--clr-green); font-weight: 500; min-height: 1.2em; }

/* ===================== BRAND REVEAL ===================== */
.brand-reveal {
  background: var(--clr-dark);
  padding: clamp(4rem, 9vw, 7rem) 2rem;
  text-align: center;
  overflow: hidden;
}
.brand-sweep-wrap {
  position: relative;
  display: inline-block;
  overflow: hidden;
  border-radius: 8px;
  padding: 0 1rem;
}
.brand-name {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 5vw, 4rem);
  font-weight: 800;
  color: var(--clr-white);
  letter-spacing: 0.06em;
  position: relative;
  z-index: 1;
}
.sweep-light {
  position: absolute;
  top: -20%;
  left: -120%;
  width: 60%;
  height: 140%;
  background: linear-gradient(105deg, transparent 30%, rgba(240,192,64,0.45) 50%, transparent 70%);
  transform: skewX(-15deg);
  pointer-events: none;
  z-index: 2;
}
.brand-reveal.animate-sweep .sweep-light {
  animation: sweepGold 2.4s cubic-bezier(0.4,0,0.2,1) forwards;
}
@keyframes sweepGold {
  0% { left: -120%; }
  100% { left: 140%; }
}
.brand-tagline {
  color: var(--clr-gold);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-top: 1.25rem;
}

/* ===================== FOOTER ===================== */
.site-footer {
  background: var(--clr-dark2);
  padding: 4rem 0 0;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-logo { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 0.75rem; }
.footer-name { font-weight: 800; font-size: 1.05rem; color: var(--clr-white); }
.footer-brand p { color: rgba(255,255,255,0.5); font-size: 0.875rem; line-height: 1.7; }
.footer-links h4, .footer-contact-info h4 { color: var(--clr-white); font-size: 0.8rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 1.25rem; }
.footer-links ul { display: flex; flex-direction: column; gap: 0.6rem; }
.footer-links ul li a, .footer-contact-info a, .footer-contact-info p {
  color: rgba(255,255,255,0.55);
  font-size: 0.875rem;
  transition: color var(--transition-fast);
  display: block;
}
.footer-links ul li a:hover, .footer-contact-info a:hover { color: var(--clr-gold); }
.footer-contact-info p { margin-bottom: 0.25rem; }
.footer-bottom {
  text-align: center;
  padding: 1.5rem;
  color: rgba(255,255,255,0.3);
  font-size: 0.8rem;
}

/* ===================== LIGHTBOX ===================== */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0,0,0,0.95);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  animation: fadeIn 0.25s ease;
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.lightbox-close {
  position: absolute;
  top: 1.25rem;
  right: 1.5rem;
  font-size: 1.5rem;
  color: rgba(255,255,255,0.7);
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition-fast), color var(--transition-fast);
}
.lightbox-close:hover { background: var(--clr-gold); color: var(--clr-dark); }
.lightbox-img-wrap { max-width: 90vw; max-height: 82vh; }
.lightbox-img-wrap img {
  max-width: 100%;
  max-height: 82vh;
  object-fit: contain;
  border-radius: var(--radius-sm);
  box-shadow: 0 30px 80px rgba(0,0,0,0.5);
}
.lightbox-caption {
  color: rgba(255,255,255,0.65);
  font-size: 0.85rem;
  margin-top: 1rem;
  text-align: center;
  letter-spacing: 0.08em;
}

/* ===================== SCROLL REVEAL ANIMATIONS ===================== */
.reveal-up, .reveal-left, .reveal-right, .reveal-img {
  opacity: 0;
  transition: opacity 0.7s cubic-bezier(0.16,1,0.3,1), transform 0.7s cubic-bezier(0.16,1,0.3,1);
  will-change: opacity, transform;
}
.reveal-up { transform: translateY(40px); }
.reveal-left { transform: translateX(-50px); }
.reveal-right { transform: translateX(50px); }
.reveal-img { transform: scale(0.96) translateY(20px); }

.reveal-up.visible, .reveal-left.visible, .reveal-right.visible, .reveal-img.visible {
  opacity: 1;
  transform: none;
}
.delay-1 { transition-delay: 0.12s; }
.delay-2 { transition-delay: 0.24s; }
.delay-3 { transition-delay: 0.36s; }
.delay-4 { transition-delay: 0.48s; }

/* ====================================================
   RESPONSIVE — Mobile-First Complete Overhaul
   ==================================================== */

/* ---- Tablet (less than or equal to 1024px) ---- */
@media (max-width: 1024px) {
  :root { --section-pad: clamp(4rem, 8vw, 6rem); }
  .gallery-masonry { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 200px; gap: 0.6rem; }
  .gallery-item.tall { grid-row: span 2; }
  .process-steps { grid-template-columns: repeat(3, 1fr); gap: 2rem; padding-top: 1.5rem; }
  .process-steps::before { display: none; }
  .about-inner { gap: 3rem; }
  .about-image img { height: 420px; }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ---- Mobile (less than or equal to 768px) ---- */
@media (max-width: 768px) {
  :root { --section-pad: clamp(3.5rem, 9vw, 5rem); }

  /* HAMBURGER / NAV */
  .hamburger { display: flex; }
  .main-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: min(300px, 85vw);
    height: 100dvh;
    background: #0d1117;
    flex-direction: column;
    align-items: stretch;
    padding: 0;
    gap: 0;
    transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 999;
    box-shadow: -10px 0 60px rgba(0,0,0,0.5);
    overflow-y: auto;
  }
  .main-nav.open { right: 0; }
  .main-nav ul {
    flex-direction: column;
    gap: 0;
    padding: 5.5rem 1.5rem 1.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.07);
  }
  .main-nav ul li a {
    display: block;
    padding: 0.85rem 1rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 10px;
    color: rgba(255,255,255,0.8);
  }
  .main-nav ul li a:active { background: rgba(201,162,39,0.12); color: var(--clr-gold); }
  .btn-consult { margin: 1.25rem 1.5rem; text-align: center; border-radius: 10px; padding: 1rem; font-size: 0.95rem; }

  /* HERO */
  .hero {
    min-height: 100svh;
    width: 100vw;
    max-width: 100vw;
    overflow: hidden;
  }
  .hero-video-wrap {
    position: absolute;
    inset: 0;
    width: 100%;
    max-width: 100vw;
    overflow: hidden;
  }
  .hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
  }
  .hero-content {
    padding: 0 1.25rem;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
  .hero-eyebrow { display: none; }
  .hero-title { display: none; }
  .hero-ctas { display: none; }
  .scroll-indicator { bottom: 1.5rem; }

  /* ABOUT */
  .about-inner { grid-template-columns: 1fr; gap: 0; }
  .about-image { border-radius: var(--radius) var(--radius) 0 0; overflow: hidden; }
  .about-image img { height: 280px; border-radius: var(--radius) var(--radius) 0 0; box-shadow: none; }
  .about-badge { bottom: auto; top: 1rem; right: 1rem; padding: 0.75rem 1rem; }
  .badge-num { font-size: 1.5rem; }
  .about-content {
    padding: 2rem 1.25rem;
    background: var(--clr-white);
    border-radius: 0 0 var(--radius) var(--radius);
    border: 1px solid var(--clr-border);
    border-top: none;
  }
  .about-text { font-size: 0.95rem; margin-bottom: 1.5rem; }
  .about-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.75rem; margin-bottom: 1.5rem; text-align: center; }
  .astat { min-width: unset; }
  .astat-num { font-size: 1.05rem; }
  .astat-label { font-size: 0.7rem; }
  .about-highlights li { font-size: 0.9rem; }

  /* STATS */
  .stats-section { padding: 3rem 0; overflow: hidden; width: 100%; }
  .stats-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    text-align: center;
    width: 100%;
    max-width: 100%;
  }
  .stat-item { padding: 1.5rem 0.75rem; width: 100%; }
  .stat-item:nth-child(1) { border-right: 1px solid rgba(255,255,255,0.15); border-bottom: 1px solid rgba(255,255,255,0.15); }
  .stat-item:nth-child(3) { border-right: 1px solid rgba(255,255,255,0.15); }
  .stat-item:nth-child(5) { grid-column: 1 / -1; border-top: 1px solid rgba(255,255,255,0.15); }
  .stat-divider { display: none; }
  .stat-num { font-size: clamp(2rem, 8vw, 3rem); }
  .stat-suffix { font-size: clamp(1.2rem, 5vw, 1.8rem); }
  .stat-label { font-size: 0.72rem; letter-spacing: 0.06em; }

  /* SERVICES */
  .services-grid { grid-template-columns: 1fr 1fr; gap: 1rem; }
  .service-card { padding: 1.5rem 1.25rem; }
  .svc-icon { width: 50px; height: 50px; font-size: 2rem; }
  .service-card h3 { font-size: 0.95rem; }
  .service-card p { font-size: 0.825rem; }

  /* GALLERY */
  .our-work { overflow: hidden; width: 100%; max-width: 100vw; }
  .gallery-masonry {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 160px;
    gap: 0.5rem;
    padding: 0 1rem;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
  .gallery-item.tall { grid-row: span 2; }
  .gallery-item:active .gallery-overlay { opacity: 1; }

  /* WHY CHOOSE US */
  .why-grid { grid-template-columns: 1fr; gap: 1rem; }
  .why-item { padding: 1.25rem 1.25rem; display: flex; flex-direction: row; align-items: flex-start; gap: 1rem; }
  .why-num { font-size: 1.8rem; min-width: 44px; margin-bottom: 0; line-height: 1.1; flex-shrink: 0; }
  .why-item h3 { font-size: 0.95rem; margin-bottom: 0.3rem; }
  .why-item p { font-size: 0.825rem; }

  /* PROCESS — vertical timeline */
  .process-steps {
    grid-template-columns: 1fr;
    gap: 0;
    max-width: 100%;
    padding: 0 0 0 0.5rem;
    position: relative;
  }
  .process-steps::after {
    content: '';
    position: absolute;
    top: 26px;
    left: 25px;
    bottom: 26px;
    width: 2px;
    background: linear-gradient(180deg, var(--clr-green), var(--clr-gold));
    z-index: 0;
  }
  .process-steps::before { display: none; }
  .process-step {
    flex-direction: row;
    align-items: flex-start;
    text-align: left;
    gap: 1.25rem;
    padding: 1rem 0;
    position: relative;
    z-index: 1;
  }
  .step-dot {
    width: 52px;
    height: 52px;
    flex-shrink: 0;
    position: relative;
    z-index: 2;
    box-shadow: 0 0 0 4px var(--clr-white), 0 0 0 6px var(--clr-green);
  }
  .step-dot span { font-size: 0.78rem; }
  .step-body { flex: 1; padding-top: 0.65rem; }
  .step-body h3 { font-size: 0.95rem; margin-bottom: 0.3rem; }
  .step-body p { font-size: 0.825rem; line-height: 1.65; }

  /* CONTACT */
  .contact-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .contact-info h2 { font-size: clamp(1.8rem, 7vw, 2.5rem); }
  .contact-sub { font-size: 0.95rem; margin-bottom: 1.75rem; }
  .cd-icon { width: 40px; height: 40px; font-size: 1.2rem; }
  .contact-form-wrap { padding: 1.5rem 1.25rem; border-radius: var(--radius-sm); }
  .form-row { grid-template-columns: 1fr; gap: 1rem; }
  .form-group input, .form-group textarea { padding: 0.9rem 0.875rem; font-size: 1rem; }

  /* BRAND REVEAL */
  .brand-reveal { padding: 3.5rem 1.25rem; }
  .brand-name { font-size: clamp(1.3rem, 5.5vw, 2.2rem); letter-spacing: 0.03em; }

  /* FOOTER */
  .site-footer { padding: 3rem 0 0; }
  .footer-inner { grid-template-columns: 1fr; gap: 2rem; padding-bottom: 2rem; }
  .footer-logo { margin-bottom: 0.5rem; }
  .footer-brand p { font-size: 0.825rem; }
  .footer-links h4, .footer-contact-info h4 { margin-bottom: 0.875rem; }
  .footer-links ul { gap: 0.5rem; }
  .footer-bottom { padding: 1.25rem 1rem; font-size: 0.78rem; }
}

/* ---- Small Mobile (less than or equal to 430px) ---- */
@media (max-width: 430px) {
  .hero-title { font-size: clamp(2rem, 12vw, 2.8rem); }
  .stats-inner { grid-template-columns: 1fr; }
  .stat-item { padding: 1.25rem; }
  .stat-item:nth-child(1) { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.15); }
  .stat-item:nth-child(3) { border-right: none; border-top: 1px solid rgba(255,255,255,0.15); }
  .stat-item:nth-child(5) { grid-column: unset; }
  .services-grid { grid-template-columns: 1fr; }
  .service-card { padding: 1.5rem; }
  .gallery-masonry { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 140px; gap: 0.4rem; padding: 0 0.75rem; }
  :root { --section-pad: 3rem; }
  .section-title { font-size: clamp(1.75rem, 8vw, 2.2rem); }
  .section-sub { font-size: 0.9rem; }
  .about-image img { height: 240px; }
  .footer-inner { padding: 0 1rem 2rem; }
  .brand-name { font-size: clamp(1rem, 5vw, 1.6rem); }
}

/* ---- Landscape phone fix ---- */
@media (max-width: 768px) and (orientation: landscape) {
  .hero { min-height: 100svh; }
  .hero-title { font-size: clamp(1.8rem, 6vw, 2.6rem); }
  .hero-content { padding: 0 2rem; }
  .hero-ctas { flex-direction: row; max-width: 500px; }
  .btn-primary, .btn-outline { width: auto; }
}

/* ---- Touch devices: remove hover transforms ---- */
@media (hover: none) {
  .service-card:hover { transform: none; box-shadow: none; }
  .why-item:hover { transform: none; box-shadow: none; }
  .btn-primary:hover { transform: none; }
  .btn-outline:hover { transform: none; }
  .gallery-item:hover img { transform: none; }
}
