/* ============================================
   H.S. Noorji Builders & Developers — Design Tokens
   Palette: navy, premium gold, white, light grey, charcoal (client-specified)
   Type: Playfair Display (display serif — premium/corporate) / Inter (body)
   Motif: blueprint-to-building line drawing — "from blueprint to built"
   Animation: subtle, professional only — one-time draw-in, gentle scroll reveal
   ============================================ */

:root {
  --navy: #0f2d52;
  --navy-deep: #0a2140;
  --gold: #c7a254;
  --gold-bright: #d9ba76;
  --white: #ffffff;
  --grey: #f4f4f4;
  --charcoal: #333333;

  --gold-glow: rgba(199, 162, 84, 0.14);
  --navy-glow: rgba(15, 45, 82, 0.08);

  --border: #e4e2dc;
  --border-soft: #edebe5;

  --text: var(--charcoal);
  --text-muted: #666666;
  --text-faint: #93908a;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;

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

  --ease: cubic-bezier(0.16, 0.84, 0.44, 1);
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  background: var(--white);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img,
svg {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
  text-decoration: none;
}
ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 0.5em;
  color: var(--navy);
  letter-spacing: -0.005em;
}

.wrap {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

.section {
  padding: 96px 0;
}
.section-alt {
  background: var(--grey);
}

.section-tag {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 12px;
}
.section-tag.center {
  text-align: center;
}

.section-title {
  font-size: clamp(28px, 4vw, 38px);
}
.section-title.center {
  text-align: center;
}
.section-sub {
  color: var(--text-muted);
  max-width: 540px;
  margin: 0 auto 48px;
  font-size: 16px;
}
.section-sub.center {
  text-align: center;
}

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  padding: 13px 26px;
  border-radius: 4px;
  border: 1px solid transparent;
  cursor: pointer;
  transition:
    transform 0.18s var(--ease),
    background 0.18s,
    border-color 0.18s,
    box-shadow 0.18s,
    color 0.18s;
  white-space: nowrap;
}
.btn:active {
  transform: scale(0.97);
}

.btn-primary {
  background: var(--navy);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--navy-deep);
  box-shadow: 0 8px 24px var(--navy-glow);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  border-color: var(--border);
  color: var(--navy);
}
.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent;
  color: var(--text-muted);
}
.btn-ghost:hover {
  color: var(--navy);
}

.btn-sm {
  padding: 9px 18px;
  font-size: 14px;
}
.btn-lg {
  padding: 16px 32px;
  font-size: 16px;
}

/* ============ HEADER ============ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-soft);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand-logo {
  height: 42px;
  width: 42px;
  object-fit: contain;
}
.brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  color: var(--navy);
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.brand-name em {
  color: var(--gold);
  font-style: normal;
  font-size: 11.5px;
  font-family: var(--font-body);
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.main-nav {
  display: flex;
  gap: 28px;
}
.main-nav a {
  font-size: 14.5px;
  color: var(--text-muted);
  transition: color 0.18s;
}
.main-nav a:hover {
  color: var(--navy);
}

.header-actions {
  display: flex;
  gap: 10px;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
}

/* ============ HERO ============ */
.hero {
  padding: 84px 0 60px;
  overflow: hidden;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 56px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 13px;
  color: var(--navy);
  background: var(--navy-glow);
  border: 1px solid rgba(15, 45, 82, 0.15);
  padding: 6px 14px;
  border-radius: 999px;
  margin: 0 0 22px;
}
.dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
}

.hero h1 {
  font-size: clamp(36px, 5vw, 54px);
}
.accent {
  color: var(--gold);
}

.hero-lead {
  color: var(--text-muted);
  font-size: 18px;
  max-width: 480px;
  margin: 20px 0 32px;
}

.hero-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.hero-tags {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.hero-tags span {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--navy);
  background: var(--grey);
  border: 1px solid var(--border);
  padding: 6px 14px;
  border-radius: 999px;
}

/* ---- blueprint signature element ---- */
.hero-visual {
  text-align: center;
}
.blueprint-svg {
  width: 100%;
  max-width: 340px;
  margin: 0 auto;
}
.bp-grid line {
  stroke: var(--border);
  stroke-width: 1;
}
.bp-building {
  fill: none;
  stroke: var(--navy);
  stroke-width: 2;
  stroke-linejoin: round;
  stroke-linecap: round;
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000;
  animation: draw-building 2.4s var(--ease) 0.3s forwards;
}
@keyframes draw-building {
  to {
    stroke-dashoffset: 0;
  }
}
.bp-roof {
  fill: none;
  stroke: var(--gold);
  stroke-width: 4;
  stroke-linejoin: round;
  stroke-linecap: round;
  stroke-dasharray: 300;
  stroke-dashoffset: 300;
  animation: draw-roof 1s var(--ease) 2.4s forwards;
}
@keyframes draw-roof {
  to {
    stroke-dashoffset: 0;
  }
}
.blueprint-caption {
  margin-top: 18px;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 17px;
  color: var(--text-muted);
}

/* ============ OFFER / TRUST STRIP ============ */
.offer-strip {
  background: var(--navy);
  color: var(--white);
}
.offer-inner {
  padding: 12px 24px;
  text-align: center;
  font-size: 13.5px;
  font-weight: 500;
}

/* ============ ABOUT ============ */
.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 56px;
  align-items: center;
}
.lead-text {
  font-size: 18px;
  color: var(--text);
}
.about-copy p {
  color: var(--text-muted);
}
.about-list {
  margin-top: 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.about-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-size: 15px;
}
.check {
  color: var(--gold);
  font-weight: 700;
}

.about-visual {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.stat-card {
  background: var(--grey);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  padding: 26px;
  display: flex;
  align-items: center;
  gap: 18px;
  transition:
    transform 0.2s var(--ease),
    box-shadow 0.2s var(--ease);
}
.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px -18px rgba(15, 45, 82, 0.16);
}
.stat-num {
  font-family: var(--font-display);
  font-size: 34px;
  font-weight: 800;
  color: var(--navy);
  line-height: 1;
  min-width: 54px;
}
.stat-label {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.4;
}

/* ============ SERVICES ============ */
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.service-card {
  background: var(--white);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  padding: 28px;
  transition:
    border-color 0.2s,
    transform 0.2s var(--ease),
    box-shadow 0.2s var(--ease);
}
.service-card:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
  box-shadow: 0 16px 32px -18px rgba(15, 45, 82, 0.14);
}
.service-icon {
  font-size: 26px;
  display: block;
  margin-bottom: 14px;
}
.service-card h3 {
  font-size: 18px;
  margin-bottom: 8px;
}
.service-card p {
  color: var(--text-muted);
  font-size: 14.5px;
  margin: 0;
}

.pricing-note {
  text-align: center;
  color: var(--text-muted);
  font-size: 14.5px;
  margin-top: 40px;
}
.pricing-note a {
  color: var(--gold);
  font-weight: 600;
}
.pricing-note a:hover {
  text-decoration: underline;
}

/* ============ WHY US ============ */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.trust-card {
  background: var(--white);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  padding: 30px 26px;
  text-align: center;
  transition:
    transform 0.2s var(--ease),
    box-shadow 0.2s var(--ease);
}
.trust-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px -18px rgba(15, 45, 82, 0.14);
}
.trust-icon {
  font-size: 26px;
  display: block;
  margin-bottom: 12px;
}
.trust-card h3 {
  font-size: 17px;
  margin-bottom: 8px;
}
.trust-card p {
  color: var(--text-muted);
  font-size: 14px;
  margin: 0;
}

/* ============ PROJECTS ============ */
.project-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.project-card {
  background: var(--white);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  padding: 26px;
  text-align: center;
  transition:
    transform 0.2s var(--ease),
    box-shadow 0.2s var(--ease);
}
.project-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px -18px rgba(15, 45, 82, 0.14);
}
.project-icon {
  width: 44px;
  height: 44px;
  margin: 0 auto 14px;
  fill: none;
  stroke: var(--navy);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.project-card h3 {
  font-size: 16.5px;
  margin-bottom: 6px;
}
.project-card p {
  color: var(--text-muted);
  font-size: 13.5px;
  margin: 0;
}

/* ============ FAQ ============ */
.faq-wrap {
  max-width: 720px;
}
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-item {
  background: var(--white);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-sm);
  padding: 6px 22px;
  transition: border-color 0.2s;
}
.faq-item:hover {
  border-color: var(--gold);
}
.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 0;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-display);
  color: var(--navy);
}
.faq-item summary::-webkit-details-marker {
  display: none;
}
.faq-icon {
  color: var(--gold);
  font-size: 20px;
  transition: transform 0.2s;
}
.faq-item[open] .faq-icon {
  transform: rotate(45deg);
}
.faq-item p {
  color: var(--text-muted);
  padding-bottom: 20px;
  margin: 0;
  font-size: 15px;
}

/* ============ CTA / CONTACT ============ */
.cta-section {
  text-align: center;
  background: var(--grey);
}
.cta-inner {
  max-width: 640px;
  margin: 0 auto;
}
.cta-title {
  font-size: clamp(28px, 4vw, 40px);
}
.cta-sub {
  color: var(--text-muted);
  font-size: 17px;
  margin-bottom: 40px;
}
.contact-buttons {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============ FOOTER ============ */
.site-footer {
  border-top: 1px solid var(--border-soft);
  padding-top: 56px;
  background: var(--white);
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
}
.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}
.footer-logo {
  height: 40px;
  width: 40px;
  object-fit: contain;
}
.footer-brand p {
  color: var(--text-muted);
  font-size: 13.5px;
  margin: 0;
}
.footer-links,
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 14.5px;
  color: var(--text-muted);
}
.footer-links a:hover,
.footer-contact a:hover {
  color: var(--gold);
}
.footer-bottom {
  border-top: 1px solid var(--border-soft);
  padding: 20px 24px;
  text-align: center;
  font-size: 13px;
  color: var(--text-faint);
}
.footer-bottom p {
  margin: 4px 0;
}
#devInfo {
  font-size: 12px;
  color: var(--text-faint);
}
#devInfo a {
  color: var(--navy);
  font-weight: 600;
}

/* ============ FLOATING WHATSAPP ============ */
.floating-whatsapp {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  box-shadow: 0 10px 30px -6px var(--navy-glow);
  z-index: 60;
  transition: transform 0.2s;
}
.floating-whatsapp:hover {
  transform: scale(1.08);
}

/* ============ REVEAL ANIMATION ============ */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.7s var(--ease),
    transform 0.7s var(--ease);
}
.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* ============ RESPONSIVE ============ */
@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
  }
  .hero-visual {
    order: -1;
  }
  .about-grid {
    grid-template-columns: 1fr;
  }
  .about-visual {
    flex-direction: row;
  }
  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .project-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .footer-brand {
    align-items: center;
  }
  .footer-links,
  .footer-contact {
    align-items: center;
  }
}

@media (max-width: 760px) {
  .main-nav {
    display: none;
  }
  .nav-toggle {
    display: flex;
  }
  .header-actions .btn-ghost {
    display: none;
  }
  .site-header.nav-open .main-nav {
    display: flex;
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--border-soft);
    flex-direction: column;
    padding: 16px 24px 24px;
    gap: 16px;
  }
  .service-grid {
    grid-template-columns: 1fr;
  }
  .trust-grid {
    grid-template-columns: 1fr;
  }
  .project-grid {
    grid-template-columns: 1fr 1fr;
  }
  .about-visual {
    flex-direction: column;
  }
  .contact-buttons {
    flex-direction: column;
    width: 100%;
  }
  .contact-buttons .btn {
    width: 100%;
  }
}
