/* =========================================================================
   Jadhav Construction Services — stylesheet
   Edit the CSS variables below to re-theme the whole site in one place.
   ========================================================================= */

:root {
  --charcoal: #17181A;
  --charcoal-soft: #1F2124;
  --charcoal-card: #24272B;
  --concrete: #8F8C82;
  --concrete-light: #EFEDE5;
  --concrete-lighter: #F8F7F2;
  --concrete-line: #D8D5C9;
  --gold: #C0923F;
  --gold-light: #E0B96B;
  --gold-dark: #96702B;
  --rust: #9A4B32;
  --rust-dark: #7A3B27;
  --ink: #141416;
  --white: #FFFFFF;

  --font-display: "Big Shoulders Display", sans-serif;
  --font-body: "Inter", sans-serif;
  --font-mono: "IBM Plex Mono", monospace;

  --container: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--concrete-lighter);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
::selection { background: rgba(192,146,63,0.3); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}
@media (min-width: 640px) { .container { padding: 0 32px; } }

.section { padding: 80px 0; }
@media (min-width: 640px) { .section { padding: 112px 0; } }
.section--tight { padding: 64px 0; }
@media (min-width: 640px) { .section--tight { padding: 80px 0; } }

.bg-white { background: var(--white); }
.bg-light { background: var(--concrete-lighter); }
.bg-charcoal { background: var(--charcoal); color: var(--white); }
.bg-charcoal-soft { background: var(--charcoal-soft); color: var(--white); }

/* ---- Typography ---------------------------------------------------- */
.eyebrow, .eyebrow--light {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 20px;
}
.eyebrow { color: var(--gold-dark); }
.eyebrow--light { color: var(--gold); }
.eyebrow::before, .eyebrow--light::before {
  content: "";
  display: block;
  width: 32px;
  height: 1px;
  background: currentColor;
}

.section-title, .section-title--light {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  line-height: 0.95;
  margin: 0 0 24px;
  font-size: 2.2rem;
}
.section-title { color: var(--ink); }
.section-title--light { color: var(--white); }
@media (min-width: 640px) { .section-title, .section-title--light { font-size: 2.8rem; } }
@media (min-width: 1024px) { .section-title, .section-title--light { font-size: 3.4rem; } }

p { line-height: 1.7; }
.text-muted { color: var(--concrete); }

.dim-line {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--concrete);
  margin: 28px 0;
}
.dim-line::before, .dim-line::after {
  content: "";
  height: 1px;
  flex: 1;
  background: var(--concrete-line);
}

/* ---- Buttons --------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  font-size: 15px;
  padding: 14px 26px;
  border-radius: 2px;
  border: 1px solid transparent;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.btn svg { width: 16px; height: 16px; flex-shrink: 0; }
.btn-primary { background: var(--gold); color: var(--charcoal); }
.btn-primary:hover { background: var(--gold-light); }
.btn-outline { border-color: rgba(255,255,255,0.4); color: var(--white); }
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }
.btn-outline.whatsapp:hover { border-color: #3fae5a; color: #3fae5a; }
.btn-outline-dark { border-color: rgba(20,20,22,0.25); color: var(--ink); }
.btn-outline-dark:hover { border-color: var(--rust); color: var(--rust); }
.btn-row { display: flex; flex-wrap: wrap; gap: 16px; }
.btn-row.center { justify-content: center; }
.btn.full { width: 100%; }

/* ---- Header ------------------------------------------------------------ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}
.site-header.is-scrolled, .site-header.menu-open {
  background: rgba(23,24,26,0.96);
  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
  backdrop-filter: blur(6px);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
@media (min-width: 640px) { .header-inner { height: 84px; } }

.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark {
  width: 42px; height: 42px;
  display: flex; align-items: center; justify-content: center;
  background: var(--gold); color: var(--charcoal);
  font-family: var(--font-display); font-weight: 800; font-size: 18px;
  border-radius: 2px;
}
.brand-name {
  font-family: var(--font-display); font-weight: 700; text-transform: uppercase;
  color: var(--white); font-size: 16px; letter-spacing: 0.02em;
}

.nav-desktop { display: none; gap: 32px; }
.nav-desktop a { font-size: 14px; font-weight: 500; color: rgba(239,237,229,0.9); transition: color 0.2s; }
.nav-desktop a:hover { color: var(--gold); }

.header-actions { display: none; align-items: center; gap: 18px; }
.header-phone { display: flex; align-items: center; gap: 8px; font-size: 14px; color: rgba(239,237,229,0.9); }
.header-phone:hover { color: var(--gold); }
.header-phone svg { width: 16px; height: 16px; }

@media (min-width: 1024px) {
  .nav-desktop { display: flex; }
  .header-actions { display: flex; }
  .menu-toggle { display: none; }
}

.menu-toggle {
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  color: var(--white); background: none; border: none;
}
.menu-toggle svg { width: 24px; height: 24px; }

.nav-mobile {
  max-height: 0;
  overflow: hidden;
  background: var(--charcoal);
  border-top: 1px solid rgba(255,255,255,0.1);
  transition: max-height 0.3s ease;
}
.nav-mobile.open { max-height: 30rem; }
.nav-mobile-inner { display: flex; flex-direction: column; padding: 16px 0; }
.nav-mobile a, .nav-mobile .mobile-phone {
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  color: rgba(239,237,229,0.9);
  display: flex; align-items: center; gap: 8px;
}
.nav-mobile .btn { margin-top: 12px; }

/* ---- Hero --------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--charcoal);
}
@media (min-width: 640px) { .hero { align-items: center; } }
.hero-bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, var(--charcoal) 10%, rgba(23,24,26,0.75) 55%, rgba(23,24,26,0.35));
}
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(224,185,107,0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(224,185,107,0.08) 1px, transparent 1px);
  background-size: 40px 40px;
  mix-blend-mode: overlay;
  pointer-events: none;
}
.hero-content { position: relative; z-index: 2; padding: 140px 0 70px; }
@media (min-width: 640px) { .hero-content { padding: 90px 0; } }
.hero-title {
  font-family: var(--font-display);
  font-weight: 900;
  text-transform: uppercase;
  color: var(--white);
  line-height: 0.92;
  font-size: 2.4rem;
  max-width: 780px;
  margin: 0 0 22px;
}
@media (min-width: 640px) { .hero-title { font-size: 3.6rem; } }
@media (min-width: 1024px) { .hero-title { font-size: 5rem; } }
.hero-sub {
  max-width: 560px;
  color: rgba(239,237,229,0.9);
  font-size: 1.05rem;
  margin: 0 0 34px;
}
.hero-location {
  display: none;
  position: absolute;
  bottom: 32px; left: 32px;
  z-index: 2;
  align-items: center; gap: 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  color: rgba(239,237,229,0.7);
}
.hero-location::before { content: ""; width: 32px; height: 1px; background: rgba(224,185,107,0.7); }
@media (min-width: 640px) { .hero-location { display: flex; } }

/* ---- Corner-frame (signature blueprint hover device) --------------------- */
.corner-frame { position: relative; }
.corner-frame::before, .corner-frame::after {
  content: "";
  position: absolute;
  width: 16px; height: 16px;
  border-color: var(--gold);
  opacity: 0;
  transition: all 0.3s ease;
  pointer-events: none;
}
.corner-frame::before { top: 8px; left: 8px; border-top: 2px solid; border-left: 2px solid; }
.corner-frame::after { bottom: 8px; right: 8px; border-bottom: 2px solid; border-right: 2px solid; }
.corner-frame:hover::before { opacity: 1; top: 0; left: 0; }
.corner-frame:hover::after { opacity: 1; bottom: 0; right: 0; }

/* ---- About ---------------------------------------------------------------- */
.about-grid {
  display: grid;
  gap: 48px;
  align-items: center;
}
@media (min-width: 1024px) { .about-grid { grid-template-columns: 1fr 1fr; gap: 80px; } }
.about-image-wrap { position: relative; }
.about-image-wrap img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }
@media (min-width: 640px) { .about-image-wrap img { aspect-ratio: 5/4; } }
.about-badge {
  position: absolute;
  bottom: -24px; left: -24px;
  background: var(--charcoal); color: var(--white);
  padding: 20px 26px;
}
.about-badge .num { font-family: var(--font-display); font-weight: 900; font-size: 2.4rem; color: var(--gold); line-height: 1; }
.about-badge .label { font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.28em; color: var(--concrete-light); margin-top: 8px; }

/* ---- Services ---------------------------------------------------------- */
.services-grid { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .services-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .services-grid { grid-template-columns: repeat(4, 1fr); } }
.service-card {
  background: var(--white);
  border: 1px solid var(--concrete-line);
  padding: 28px;
  display: flex;
  flex-direction: column;
}
.service-icon-row { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 22px; }
.service-icon {
  width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  background: var(--charcoal); color: var(--gold);
}
.service-icon svg { width: 24px; height: 24px; }
.service-index { font-family: var(--font-mono); font-size: 12px; color: var(--concrete); }
.service-card h3 {
  font-family: var(--font-display); font-weight: 700; text-transform: uppercase;
  font-size: 1.2rem; margin: 0 0 8px; line-height: 1.15;
}
.service-card .short { color: var(--concrete); font-size: 14px; flex: 1; margin: 0; }
.service-card .long {
  font-size: 14px; color: rgba(20,20,22,0.8); margin: 12px 0 0;
  border-top: 1px solid var(--concrete-line); padding-top: 12px;
  display: none;
}
.service-card.open .long { display: block; }
.learn-more {
  margin-top: 18px; background: none; border: none; padding: 0;
  display: inline-flex; align-items: center; gap: 8px; align-self: flex-start;
  font-size: 14px; font-weight: 600; color: var(--rust);
}
.learn-more:hover { color: var(--rust-dark); }
.learn-more svg { width: 16px; height: 16px; transition: transform 0.2s; }
.service-card.open .learn-more svg { transform: rotate(90deg); }

/* ---- Why choose us -------------------------------------------------------- */
.why-grid { display: grid; gap: 56px; }
@media (min-width: 1024px) { .why-grid { grid-template-columns: 0.9fr 1.1fr; } }
.why-points { display: grid; gap: 36px 40px; }
@media (min-width: 640px) { .why-points { grid-template-columns: 1fr 1fr; } }
.why-point { display: flex; gap: 20px; }
.why-point .num { font-family: var(--font-mono); color: var(--gold); font-size: 14px; padding-top: 4px; flex-shrink: 0; }
.why-point h3 { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; font-size: 1.1rem; margin: 0 0 6px; }
.why-point p { font-size: 14px; color: var(--concrete); margin: 0; }

/* ---- Projects ---------------------------------------------------------- */
.projects-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 48px; }
.filter-row { display: flex; flex-wrap: wrap; gap: 8px; }
.filter-btn {
  padding: 9px 16px; font-family: var(--font-mono); font-size: 12px; text-transform: uppercase;
  letter-spacing: 0.04em; background: none; border: 1px solid var(--concrete-line); color: var(--concrete);
  transition: all 0.2s;
}
.filter-btn:hover { border-color: var(--charcoal); color: var(--ink); }
.filter-btn.active { background: var(--charcoal); color: var(--gold); border-color: var(--charcoal); }
.projects-grid { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .projects-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .projects-grid { grid-template-columns: repeat(3, 1fr); } }
.project-card {
  position: relative; aspect-ratio: 4/3; overflow: hidden; background: var(--charcoal);
}
.project-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.project-card:hover img { transform: scale(1.05); }
.project-card .overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(23,24,26,0.92), rgba(23,24,26,0.05) 60%);
}
.project-card .caption { position: absolute; left: 0; right: 0; bottom: 0; padding: 20px; }
.project-card .cat { font-family: var(--font-mono); font-size: 10px; text-transform: uppercase; letter-spacing: 0.28em; color: var(--gold); }
.project-card .title { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; color: var(--white); font-size: 1.15rem; margin: 4px 0 0; line-height: 1.15; }
.project-card.hidden { display: none; }

/* ---- Process ------------------------------------------------------------ */
.process-row { display: flex; flex-wrap: wrap; gap: 40px 24px; }
.process-step { flex: 1 1 220px; min-width: 200px; }
.process-num-row { display: flex; align-items: center; }
.process-num {
  width: 44px; height: 44px; border-radius: 999px; border: 2px solid var(--gold);
  display: flex; align-items: center; justify-content: center; font-family: var(--font-mono); color: var(--gold);
  flex-shrink: 0;
}
.process-line { display: none; flex: 1; height: 1px; background: var(--concrete-line); margin-left: 12px; }
@media (min-width: 1024px) { .process-step:not(:last-child) .process-line { display: block; } }
.process-step h3 { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; font-size: 1.1rem; margin: 16px 0 6px; }
.process-step p { font-size: 14px; color: var(--concrete); max-width: 220px; margin: 0; }

/* ---- Stats ---------------------------------------------------------------- */
.stats-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px 24px; }
@media (min-width: 1024px) { .stats-grid { grid-template-columns: repeat(4, 1fr); } }
.stat { border-left: 2px solid rgba(192,146,63,0.6); padding-left: 20px; }
.stat .num { font-family: var(--font-display); font-weight: 900; font-size: 2.6rem; color: var(--white); line-height: 1; }
.stat .num .suffix { color: var(--gold); }
.stat .label { font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.28em; color: rgba(239,237,229,0.7); margin-top: 12px; }

/* ---- Testimonials --------------------------------------------------------- */
.testi-grid { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .testi-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .testi-grid { grid-template-columns: repeat(3, 1fr); } }
.testi-card { background: var(--concrete-lighter); border: 1px solid var(--concrete-line); padding: 28px; display: flex; flex-direction: column; }
.testi-card .quote-icon { width: 28px; height: 28px; color: var(--gold); margin-bottom: 16px; }
.testi-card p.review { flex: 1; color: rgba(20,20,22,0.85); }
.stars { display: flex; gap: 4px; color: var(--gold); margin: 18px 0 8px; }
.stars svg { width: 16px; height: 16px; }
.testi-card .name { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; margin: 0; }
.testi-card .loc { font-size: 14px; color: var(--concrete); margin: 0; }

/* ---- CTA band --------------------------------------------------------------- */
.cta-section { position: relative; padding: 96px 0; background: var(--charcoal); overflow: hidden; text-align: center; }
.cta-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.3; }
.cta-overlay { position: absolute; inset: 0; background: linear-gradient(to right, var(--charcoal), rgba(23,24,26,0.9), rgba(23,24,26,0.7)); }
.cta-content { position: relative; z-index: 2; }
.cta-content .eyebrow--light { justify-content: center; }
.cta-content p.sub { max-width: 560px; margin: 0 auto 40px; color: rgba(239,237,229,0.85); }

/* ---- Contact ------------------------------------------------------------------ */
.contact-grid { display: grid; gap: 40px; }
@media (min-width: 1024px) { .contact-grid { grid-template-columns: 2fr 3fr; } }
.contact-details { display: flex; flex-direction: column; gap: 24px; }
.detail-row { display: flex; gap: 16px; }
.detail-icon { width: 44px; height: 44px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; background: var(--charcoal); color: var(--gold); }
.detail-icon svg { width: 20px; height: 20px; }
.detail-label { font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.28em; color: var(--concrete); margin: 0 0 4px; }
.detail-value { font-weight: 500; margin: 0; }
.map-frame { border: 1px solid var(--concrete-line); aspect-ratio: 4/3; overflow: hidden; margin-top: 8px; }
.map-frame iframe { width: 100%; height: 100%; border: 0; }

.contact-form-wrap { background: var(--white); border: 1px solid var(--concrete-line); padding: 28px; }
@media (min-width: 640px) { .contact-form-wrap { padding: 40px; } }
.form-grid { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .form-grid { grid-template-columns: 1fr 1fr; } }
.field { display: flex; flex-direction: column; }
.field.full { grid-column: 1 / -1; }
.field label { font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.28em; color: var(--concrete); margin-bottom: 8px; }
.field input, .field select, .field textarea {
  width: 100%; border: 1px solid var(--concrete-line); background: rgba(248,247,242,0.6);
  padding: 12px 14px; font: inherit; color: var(--ink);
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); }
.field textarea { resize: none; }
.form-success { display: none; text-align: center; padding: 60px 0; }
.form-success.show { display: block; }
.form-success .check {
  width: 56px; height: 56px; border-radius: 999px; background: rgba(192,146,63,0.15); color: var(--gold);
  display: flex; align-items: center; justify-content: center; margin: 0 auto 20px;
}
.form-success .check svg { width: 24px; height: 24px; }
.form-success h3 { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; font-size: 1.6rem; margin: 0 0 8px; }
.form-success p { max-width: 360px; margin: 0 auto; color: var(--concrete); }
.form-success button { margin-top: 20px; background: none; border: none; color: var(--rust); font-weight: 600; font-size: 14px; }
.form-success button:hover { color: var(--rust-dark); }

/* ---- Footer -------------------------------------------------------------------- */
.site-footer { background: var(--charcoal); color: rgba(239,237,229,0.8); padding: 64px 0 32px; }
.footer-grid { display: grid; gap: 40px; grid-template-columns: 1fr; margin-bottom: 48px; }
@media (min-width: 640px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: repeat(4, 1fr); } }
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.footer-desc { font-size: 14px; max-width: 280px; }
.footer-social { display: flex; gap: 16px; margin-top: 20px; }
.footer-social a:hover { color: var(--gold); }
.footer-col h3 { font-family: var(--font-mono); font-size: 12px; text-transform: uppercase; letter-spacing: 0.28em; color: var(--white); margin: 0 0 20px; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; font-size: 14px; }
.footer-col ul a:hover { color: var(--gold); }
.footer-contact-item { display: flex; gap: 12px; font-size: 14px; }
.footer-contact-item svg { width: 16px; height: 16px; color: var(--gold); flex-shrink: 0; margin-top: 2px; }
.footer-contact-item a:hover { color: var(--gold); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1); padding-top: 24px;
  display: flex; flex-direction: column; gap: 8px; align-items: center; justify-content: space-between;
  font-size: 12px; color: rgba(239,237,229,0.5); text-align: center;
}
@media (min-width: 640px) { .footer-bottom { flex-direction: row; text-align: left; } }

/* ---- Floating WhatsApp button --------------------------------------------------- */
.whatsapp-fab {
  position: fixed; bottom: 20px; right: 20px; z-index: 40;
  width: 56px; height: 56px; border-radius: 999px;
  background: #25D366; color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 25px rgba(0,0,0,0.3);
  transition: transform 0.2s;
}
.whatsapp-fab:hover { transform: scale(1.06); }
.whatsapp-fab svg { width: 28px; height: 28px; }

/* ---- Scroll reveal ---------------------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
.fade-up { animation: fadeUp 0.7s cubic-bezier(0.16,1,0.3,1) both; }
.delay-1 { animation-delay: 80ms; }
.delay-2 { animation-delay: 160ms; }
.delay-3 { animation-delay: 240ms; }
