/* =========================================================
   Hitesh Infinities Pvt. Ltd. (HIPL) — Website Stylesheet
   Civil Finishes & Interiors
   ========================================================= */

:root {
  --black:        #121212;
  --charcoal:     #1c1c1c;
  --charcoal-2:   #242424;
  --gold:         #c79a3b;
  --gold-soft:    #d8b863;
  --cream:        #f6f3ec;
  --cream-2:      #efe9dd;
  --text-dark:    #2a2a2a;
  --text-muted:   #6f6f6f;
  --line:         rgba(199, 154, 59, 0.35);
  --serif:        "Cormorant Garamond", "Playfair Display", Georgia, serif;
  --sans:         "Poppins", "Helvetica Neue", Arial, sans-serif;
  --maxw:         1180px;
  --radius:       14px;
  --shadow:       0 18px 50px rgba(0, 0, 0, 0.12);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  color: var(--text-dark);
  background: var(--cream);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; line-height: 1.15; }

.container { width: 92%; max-width: var(--maxw); margin: 0 auto; }

.eyebrow {
  font-size: 0.78rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 1rem;
}

.section { padding: 6.5rem 0; }
.section--dark { background: var(--charcoal); color: var(--cream); }
.section--cream2 { background: var(--cream-2); }

.section-head { max-width: 720px; margin-bottom: 3.2rem; }
.section-head h2 { font-size: clamp(2rem, 4vw, 3rem); }
.section-head p { color: var(--text-muted); margin-top: 1rem; font-size: 1.05rem; }
.section--dark .section-head p { color: rgba(246, 243, 236, 0.7); }

.divider { width: 64px; height: 2px; background: var(--gold); margin: 1.4rem 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 0.95rem 2.1rem;
  font-family: var(--sans);
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
  border: 1px solid var(--gold);
  transition: all 0.3s ease;
  cursor: pointer;
}
.btn--gold { background: var(--gold); color: #fff; }
.btn--gold:hover { background: transparent; color: var(--gold); }
.btn--ghost { background: transparent; color: var(--gold); }
.btn--ghost:hover { background: var(--gold); color: #fff; }
.btn--light { border-color: var(--cream); color: var(--cream); }
.btn--light:hover { background: var(--cream); color: var(--charcoal); }

/* ---------- Top bar (notice + header stacked, home page) ---------- */
.topbar {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 200;
}
.topbar .site-header {
  position: static;
}

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  padding: 1.4rem 0;
  transition: background 0.3s ease, padding 0.3s ease;
}
.site-header.scrolled {
  background: rgba(18, 18, 18, 0.96);
  padding: 0.9rem 0;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
}
.nav { display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: 0.7rem; color: var(--cream); }
.brand-mark {
  width: 42px; height: 42px;
  border: 2px solid var(--gold);
  border-radius: 50%;
  display: grid; place-items: center;
  color: var(--gold);
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.05rem;
}
.brand-name { font-family: var(--serif); font-size: 1.45rem; font-weight: 700; letter-spacing: 0.05em; }
.brand-name small { display: block; font-family: var(--sans); font-size: 0.58rem; letter-spacing: 0.32em; color: var(--gold); text-transform: uppercase; }

.nav-links { display: flex; align-items: center; gap: 2.2rem; list-style: none; }
.nav-links a {
  color: var(--cream);
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 500;
  padding-bottom: 4px;
  border-bottom: 1px solid transparent;
  transition: color 0.25s, border-color 0.25s;
}
.nav-links a:hover, .nav-links a.active { color: var(--gold); border-color: var(--gold); }
.nav-links a.nav-cta { padding: 0.7rem 1.5rem; border: 1px solid var(--gold); }
.nav-cta:hover { border-color: var(--gold) !important; }

.nav-toggle { display: none; background: none; border: 0; cursor: pointer; }
.nav-toggle span { display: block; width: 26px; height: 2px; background: var(--cream); margin: 5px 0; transition: 0.3s; }

/* ---------- Hero ---------- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  color: var(--cream);
  background:
    linear-gradient(105deg, rgba(15,15,15,0.96) 0%, rgba(20,20,20,0.78) 48%, rgba(20,20,20,0.35) 100%),
    radial-gradient(circle at 78% 30%, #3a3024 0%, #161616 60%);
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='600' height='600' viewBox='0 0 600 600'%3E%3Cg fill='none' stroke='%23c79a3b' stroke-opacity='0.06' stroke-width='1'%3E%3Cpath d='M300 60 L520 300 300 540 80 300 Z'/%3E%3Cpath d='M300 130 L450 300 300 470 150 300 Z'/%3E%3C/g%3E%3C/svg%3E") no-repeat right -120px center;
  background-size: 720px;
  pointer-events: none;
}
.hero-inner { position: relative; z-index: 2; max-width: 760px; padding: 8rem 0 4rem; }
.hero .eyebrow { color: var(--gold-soft); }
.hero h1 { font-size: clamp(2.6rem, 6vw, 5rem); margin-bottom: 1.4rem; }
.hero h1 .accent { color: var(--gold); font-style: italic; }
.hero p.lead { font-size: 1.15rem; color: rgba(246,243,236,0.78); max-width: 560px; margin-bottom: 2.4rem; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

.hero-stats {
  position: relative; z-index: 2;
  display: flex; gap: 3.5rem;
  border-top: 1px solid rgba(199,154,59,0.25);
  padding-top: 2rem; margin-top: 3.4rem;
}
.hero-stats .stat strong { font-family: var(--serif); font-size: 2.6rem; color: var(--gold); display: block; }
.hero-stats .stat span { font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(246,243,236,0.6); }

/* ---------- Page banner (interior pages) ---------- */
.page-banner {
  padding: 11rem 0 5rem;
  background: linear-gradient(105deg, rgba(15,15,15,0.95), rgba(28,28,28,0.7)), radial-gradient(circle at 80% 20%, #3a3024, #161616);
  color: var(--cream);
}
.page-banner h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); }
.page-banner p { color: rgba(246,243,236,0.72); margin-top: 0.8rem; max-width: 620px; }
.crumbs { font-size: 0.78rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); margin-bottom: 1.2rem; }
.crumbs a:hover { color: var(--cream); }

/* ---------- Grid cards ---------- */
.grid { display: grid; gap: 1.8rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }

.card {
  background: #fff;
  border-radius: var(--radius);
  padding: 2.6rem 2.2rem;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease;
  border-top: 3px solid transparent;
}
.card:hover { transform: translateY(-6px); border-top-color: var(--gold); }
.card .num { font-family: var(--serif); font-size: 1.5rem; color: var(--gold); }
.card h3 { font-size: 1.5rem; margin: 0.6rem 0 0.8rem; }
.card p { color: var(--text-muted); font-size: 0.97rem; }
.card .ico {
  width: 56px; height: 56px; border: 1.5px solid var(--gold);
  border-radius: 50%; display: grid; place-items: center;
  color: var(--gold); margin-bottom: 1.2rem; font-size: 1.4rem;
}

/* ---------- Process timeline ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.6rem; }
.step { position: relative; padding-top: 2.4rem; }
.step::before {
  content: ""; position: absolute; top: 14px; left: 0; right: 0;
  height: 1px; background: var(--line);
}
.step .dot {
  position: absolute; top: 6px; left: 0;
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--gold); box-shadow: 0 0 0 5px rgba(199,154,59,0.18);
}
.step .stp-no { font-family: var(--serif); font-size: 2.4rem; color: var(--gold); }
.step h3 { font-size: 1.3rem; margin: 0.3rem 0 0.6rem; }
.step p { color: var(--text-muted); font-size: 0.93rem; }
.section--dark .step p { color: rgba(246,243,236,0.65); }

/* ---------- Values strip ---------- */
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; text-align: center; }
.value .ico { margin: 0 auto 1.1rem; }
.value h4 { font-size: 1.25rem; color: var(--cream); }
.value p { color: rgba(246,243,236,0.6); font-size: 0.92rem; margin-top: 0.4rem; }

/* ---------- Portfolio ---------- */
.folio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.folio-item {
  position: relative; border-radius: var(--radius); overflow: hidden;
  min-height: 280px; color: #fff;
  display: flex; align-items: flex-end;
  background: linear-gradient(160deg, #2c2620, #161616);
}
.folio-item .ph {
  position: absolute; inset: 0;
  background: linear-gradient(160deg, rgba(199,154,59,0.22), rgba(20,20,20,0.85));
  display: grid; place-items: center;
}
.folio-item .ph svg { width: 64px; height: 64px; opacity: 0.35; }
.folio-item .meta {
  position: relative; z-index: 2; width: 100%;
  padding: 1.6rem; background: linear-gradient(transparent, rgba(10,10,10,0.85));
}
.folio-item .meta .cat { font-size: 0.68rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold-soft); }
.folio-item .meta h3 { font-size: 1.35rem; margin: 0.25rem 0; }
.folio-item .meta span { font-size: 0.86rem; color: rgba(246,243,236,0.7); }
.folio-item:hover .ph { background: linear-gradient(160deg, rgba(199,154,59,0.4), rgba(20,20,20,0.8)); }

/* ---------- Clients ---------- */
.clients { display: flex; flex-wrap: wrap; gap: 1rem 1.2rem; justify-content: center; }
.client-chip {
  border: 1px solid var(--line);
  padding: 0.85rem 1.7rem;
  border-radius: 999px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text-dark);
  background: #fff;
  font-size: 0.95rem;
}
.section--dark .client-chip { background: transparent; color: var(--cream); }

/* ---------- Feature list (why us) ---------- */
.features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2.2rem 3rem; }
.feature { display: flex; gap: 1.2rem; }
.feature .ico { flex: none; }
.feature h4 { font-size: 1.2rem; margin-bottom: 0.3rem; }
.feature p { color: var(--text-muted); font-size: 0.95rem; }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(105deg, #15110b, #221c12);
  color: var(--cream); text-align: center;
  padding: 5.5rem 0;
}
.cta-band h2 { font-size: clamp(2rem, 4vw, 3rem); }
.cta-band p { color: rgba(246,243,236,0.7); margin: 1rem auto 2rem; max-width: 560px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; }
.contact-info .item { display: flex; gap: 1rem; margin-bottom: 1.8rem; align-items: flex-start; }
.contact-info .ico {
  width: 46px; height: 46px; flex: none;
  border: 1.5px solid var(--gold); border-radius: 50%;
  display: grid; place-items: center; color: var(--gold);
}
.contact-info h4 { font-family: var(--sans); font-size: 0.75rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--text-muted); }
.contact-info p { font-size: 1.05rem; font-weight: 500; }

.form-card { background: #fff; padding: 2.6rem; border-radius: var(--radius); box-shadow: var(--shadow); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { margin-bottom: 1.2rem; }
.field label { display: block; font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 0.45rem; }
.field input, .field select, .field textarea {
  width: 100%; padding: 0.85rem 1rem;
  border: 1px solid #ddd; border-radius: 8px;
  font-family: var(--sans); font-size: 0.95rem; color: var(--text-dark);
  background: #fafafa;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); background: #fff; }
.field textarea { resize: vertical; min-height: 120px; }
.form-note { font-size: 0.82rem; color: var(--text-muted); margin-top: 0.8rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--black); color: var(--cream); padding: 4.5rem 0 2rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 2.5rem; padding-bottom: 3rem; border-bottom: 1px solid rgba(255,255,255,0.08); }
.footer-grid p { color: rgba(246,243,236,0.6); font-size: 0.95rem; margin-top: 1rem; max-width: 320px; }
.footer-grid h5 { font-family: var(--sans); font-size: 0.78rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); margin-bottom: 1.2rem; }
.footer-grid ul { list-style: none; }
.footer-grid ul li { margin-bottom: 0.7rem; }
.footer-grid ul li a, .footer-grid ul li { color: rgba(246,243,236,0.7); font-size: 0.95rem; }
.footer-grid ul li a:hover { color: var(--gold); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 1.8rem; flex-wrap: wrap; gap: 0.6rem; }
.footer-bottom .tagline { font-family: var(--serif); font-style: italic; color: var(--gold-soft); }
.footer-bottom small { color: rgba(246,243,236,0.45); font-size: 0.82rem; }

/* ---------- Notice banner (pre-launch) ---------- */
.notice {
  background: var(--gold); color: #fff; text-align: center;
  font-size: 0.82rem; letter-spacing: 0.04em; padding: 0.55rem 1rem;
  position: relative; z-index: 110;
}
.notice strong { font-weight: 700; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .grid-2, .grid-3, .steps, .values, .folio, .features, .contact-grid, .footer-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .hero-stats { gap: 2rem; flex-wrap: wrap; }
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute; top: 100%; left: 0; right: 0;
    background: rgba(18,18,18,0.98); flex-direction: column;
    align-items: flex-start; gap: 0; padding: 1rem 6%;
    max-height: 0; overflow: hidden; transition: max-height 0.35s ease;
  }
  .nav-links.open { max-height: 480px; padding: 1.4rem 6%; }
  .nav-links li { width: 100%; padding: 0.7rem 0; }
  .section { padding: 4.5rem 0; }
}
