/* ============================================================
   Aarambh Interiors — shared stylesheet
   Warm minimal luxury: ivory / charcoal / terracotta
   ============================================================ */

:root {
  --ivory: #faf6f0;
  --ivory-deep: #f3ecdf;
  --card: #fffdf9;
  --charcoal: #2b2622;
  --ink-soft: #5c534a;
  --clay: #c96f4a;
  --clay-deep: #a95536;
  --clay-soft: #f2e0d5;
  --sand: #e8dccb;
  --line: #e5dccf;
  --radius: 18px;
  --shadow: 0 10px 30px rgba(43, 38, 34, 0.08);
  --font-head: "Fraunces", Georgia, serif;
  --font-body: "Sora", -apple-system, "Segoe UI", sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--ivory);
  color: var(--charcoal);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

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

h1 { font-size: clamp(2.1rem, 5.5vw, 3.6rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.6rem, 3.6vw, 2.3rem); letter-spacing: -0.01em; }
h3 { font-size: 1.2rem; }

p { color: var(--ink-soft); }

a { color: var(--clay-deep); text-decoration: none; }
a:hover { text-decoration: underline; }

img { max-width: 100%; }

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

section { padding: 4.5rem 0; }

.kicker {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--clay);
  margin-bottom: 0.8rem;
}

.section-head { max-width: 620px; margin-bottom: 2.6rem; }
.section-head p { margin-top: 0.7rem; }

/* ---------- Demo ribbon ---------- */
.demo-ribbon {
  background: var(--charcoal);
  color: #f6efe6;
  text-align: center;
  font-size: 0.8rem;
  padding: 0.5rem 1rem;
  line-height: 1.5;
}
.demo-ribbon a {
  color: #f0b9a0;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ---------- Navigation ---------- */
.site-head {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(250, 246, 240, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav {
  width: min(1120px, 92%);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 0;
}
.brand {
  font-family: var(--font-head);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--charcoal);
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.brand:hover { text-decoration: none; }
.brand span { color: var(--clay); font-style: italic; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 1.6rem;
}
.nav-links a {
  color: var(--ink-soft);
  font-size: 0.92rem;
  font-weight: 500;
}
.nav-links a:hover { color: var(--charcoal); text-decoration: none; }
.nav-links a.current {
  color: var(--charcoal);
  font-weight: 600;
  border-bottom: 2px solid var(--clay);
  padding-bottom: 2px;
}
.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-size: 1.25rem;
  color: var(--charcoal);
  padding: 0.25rem 0.6rem;
  cursor: pointer;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 0.8rem 1.7rem;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.92rem;
  cursor: pointer;
  border: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn-primary {
  background: var(--clay);
  color: #fff;
  box-shadow: 0 6px 18px rgba(201, 111, 74, 0.35);
}
.btn-primary:hover { background: var(--clay-deep); color: #fff; }
.btn-ghost {
  background: transparent;
  color: var(--charcoal);
  border: 1.5px solid var(--charcoal);
}
.btn-ghost:hover { background: var(--charcoal); color: var(--ivory); }
.btn-nav {
  background: var(--clay);
  color: #fff !important;
  padding: 0.55rem 1.25rem;
  border-radius: 999px;
  font-weight: 600 !important;
}
.btn-nav:hover { background: var(--clay-deep); }

/* ---------- Hero ---------- */
.hero {
  padding: 5.5rem 0 4.5rem;
  background:
    radial-gradient(60rem 30rem at 110% -10%, rgba(201, 111, 74, 0.12), transparent 60%),
    radial-gradient(40rem 24rem at -10% 110%, rgba(232, 220, 203, 0.8), transparent 65%);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3rem;
  align-items: center;
}
.hero p.lead {
  font-size: 1.1rem;
  margin: 1.2rem 0 2rem;
  max-width: 34rem;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 0.9rem; }
.hero-note { margin-top: 1.1rem; font-size: 0.85rem; color: var(--ink-soft); }

.hero-visual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem;
}
.hero-visual .tile:nth-child(1) { grid-column: span 2; aspect-ratio: 2.1 / 1; }

/* ---------- Gradient emoji tiles ---------- */
.tile {
  border-radius: var(--radius);
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: clamp(2.4rem, 6vw, 3.4rem);
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}
.tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(120% 80% at 20% 10%, rgba(255, 255, 255, 0.35), transparent 55%);
}
.tile-g1 { background: linear-gradient(135deg, #e9c9b3, #c96f4a); }
.tile-g2 { background: linear-gradient(135deg, #efe3cf, #cbb28c); }
.tile-g3 { background: linear-gradient(135deg, #dfd8ce, #8f8478); }
.tile-g4 { background: linear-gradient(135deg, #e6d3c1, #a97155); }
.tile-g5 { background: linear-gradient(135deg, #ece4d4, #b8a284); }
.tile-g6 { background: linear-gradient(135deg, #dcd2c4, #7c6f5f); }

/* ---------- Stats ---------- */
.stats {
  background: var(--charcoal);
  color: var(--ivory);
  padding: 2.6rem 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  text-align: center;
}
.stat b {
  display: block;
  font-family: var(--font-head);
  font-size: clamp(1.7rem, 3.5vw, 2.4rem);
  color: #f0b9a0;
}
.stat span { font-size: 0.85rem; color: #cfc6bb; }

/* ---------- Cards ---------- */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.4rem;
}
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.7rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card .icon {
  width: 3.1rem;
  height: 3.1rem;
  border-radius: 12px;
  background: var(--clay-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}
.card h3 { margin-bottom: 0.5rem; }
.card p { font-size: 0.92rem; }

/* ---------- Work cards ---------- */
.work-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: block;
  color: inherit;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.work-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); text-decoration: none; }
.work-card .tile { border-radius: 0; box-shadow: none; }
.work-card .meta { padding: 1.1rem 1.3rem 1.3rem; }
.work-card .meta h3 { margin-bottom: 0.25rem; }
.work-card .meta p { font-size: 0.88rem; }
.work-card .tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--clay-deep);
  background: var(--clay-soft);
  border-radius: 999px;
  padding: 0.2rem 0.7rem;
  margin-bottom: 0.6rem;
}

/* ---------- Process steps ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.4rem;
  counter-reset: step;
}
.step {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem 1.4rem;
  position: relative;
}
.step::before {
  counter-increment: step;
  content: "0" counter(step);
  font-family: var(--font-head);
  font-size: 2rem;
  color: var(--clay);
  display: block;
  margin-bottom: 0.6rem;
}
.step h3 { font-size: 1.05rem; margin-bottom: 0.4rem; }
.step p { font-size: 0.88rem; }

/* ---------- Testimonials ---------- */
.quote {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.8rem;
}
.quote .stars { color: var(--clay); letter-spacing: 2px; margin-bottom: 0.7rem; }
.quote blockquote { font-size: 0.95rem; color: var(--ink-soft); font-style: italic; }
.quote figcaption { margin-top: 1rem; font-weight: 600; font-size: 0.9rem; }
.quote figcaption span {
  display: block;
  font-weight: 400;
  font-size: 0.8rem;
  color: var(--ink-soft);
}

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--clay), var(--clay-deep));
  border-radius: var(--radius);
  color: #fff;
  padding: 3rem clamp(1.5rem, 5vw, 3.5rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: #fbe7dc; margin-top: 0.4rem; }
.cta-band .btn { background: #fff; color: var(--clay-deep); }

/* ---------- Portfolio filters & gallery ---------- */
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 2rem;
}
.chip {
  border: 1.5px solid var(--line);
  background: var(--card);
  color: var(--ink-soft);
  border-radius: 999px;
  padding: 0.45rem 1.2rem;
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.18s ease;
}
.chip:hover { border-color: var(--clay); color: var(--clay-deep); }
.chip.active {
  background: var(--charcoal);
  border-color: var(--charcoal);
  color: var(--ivory);
}
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}
.gallery .work-card.hidden { display: none; }

/* ---------- Case study ---------- */
.case-study {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
}
.case-study .tile { border-radius: 0; box-shadow: none; aspect-ratio: auto; min-height: 280px; }
.case-body { padding: clamp(1.5rem, 4vw, 2.6rem); }
.case-body h2 { margin-bottom: 1rem; }
.case-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 1.4rem 0;
  padding: 1.1rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.case-facts b { display: block; font-family: var(--font-head); font-size: 1.25rem; color: var(--clay-deep); }
.case-facts span { font-size: 0.78rem; color: var(--ink-soft); }
.before-after { display: grid; gap: 0.9rem; margin-top: 1.2rem; }
.before-after .ba {
  background: var(--ivory-deep);
  border-left: 3px solid var(--clay);
  border-radius: 0 12px 12px 0;
  padding: 0.9rem 1.1rem;
  font-size: 0.9rem;
  color: var(--ink-soft);
}
.before-after .ba b { color: var(--charcoal); }

/* ---------- Estimator ---------- */
.estimator {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1.6rem;
  align-items: start;
}
.panel {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.4rem, 3vw, 2.1rem);
}
.panel h3 { margin-bottom: 1.2rem; }
.field { margin-bottom: 1.5rem; }
.field > label, .field > .field-label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
  color: var(--charcoal);
}
.field small { color: var(--ink-soft); font-weight: 400; }

select, input[type="text"], input[type="tel"], input[type="email"], textarea {
  width: 100%;
  padding: 0.75rem 0.95rem;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  background: #fff;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--charcoal);
}
select:focus, input:focus, textarea:focus {
  outline: none;
  border-color: var(--clay);
  box-shadow: 0 0 0 3px rgba(201, 111, 74, 0.15);
}

input[type="range"] {
  width: 100%;
  accent-color: var(--clay);
  cursor: pointer;
}
.range-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--ink-soft);
}
.range-value {
  font-family: var(--font-head);
  font-size: 1.15rem;
  color: var(--clay-deep);
  font-weight: 600;
}

.check-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
}
.check-item {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  padding: 0.7rem 0.85rem;
  cursor: pointer;
  font-size: 0.88rem;
  transition: border-color 0.15s ease, background 0.15s ease;
  background: #fff;
}
.check-item:hover { border-color: var(--clay); }
.check-item input { accent-color: var(--clay); margin-top: 0.22rem; }
.check-item small { display: block; color: var(--ink-soft); font-size: 0.75rem; }
.check-item.checked { border-color: var(--clay); background: var(--clay-soft); }

.tier-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.6rem; }
.tier {
  border: 1.5px solid var(--line);
  border-radius: 12px;
  padding: 0.8rem 0.7rem;
  text-align: center;
  cursor: pointer;
  background: #fff;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.tier input { position: absolute; opacity: 0; pointer-events: none; }
.tier b { display: block; font-size: 0.92rem; }
.tier small { color: var(--ink-soft); font-size: 0.75rem; }
.tier.checked { border-color: var(--clay); background: var(--clay-soft); }

.result-panel { position: sticky; top: 90px; }
.result-panel .estimate-figure {
  font-family: var(--font-head);
  font-size: clamp(1.9rem, 4.5vw, 2.6rem);
  color: var(--clay-deep);
  letter-spacing: -0.01em;
  margin: 0.3rem 0 0.2rem;
}
.result-panel .estimate-sub { font-size: 0.82rem; color: var(--ink-soft); }
.breakdown { list-style: none; margin: 1.3rem 0; border-top: 1px dashed var(--line); }
.breakdown li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.55rem 0;
  border-bottom: 1px dashed var(--line);
  font-size: 0.88rem;
  color: var(--ink-soft);
}
.breakdown li b { color: var(--charcoal); font-weight: 600; white-space: nowrap; }
.breakdown li.total { font-weight: 600; color: var(--charcoal); }
.estimate-note { font-size: 0.78rem; color: var(--ink-soft); }

/* ---------- Forms ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-grid .full { grid-column: 1 / -1; }
.form-msg {
  display: none;
  margin-top: 1rem;
  background: #eef4e9;
  border: 1px solid #b9d2a8;
  color: #3c5a2a;
  border-radius: 12px;
  padding: 0.9rem 1.1rem;
  font-size: 0.9rem;
}
.form-msg.show { display: block; }
.form-msg b { display: block; }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 1.6rem;
  align-items: start;
}
.info-list { list-style: none; margin-top: 1.2rem; }
.info-list li {
  display: flex;
  gap: 0.8rem;
  padding: 0.8rem 0;
  border-bottom: 1px dashed var(--line);
  font-size: 0.93rem;
  color: var(--ink-soft);
}
.info-list li .ic { font-size: 1.2rem; }
.info-list li b { color: var(--charcoal); display: block; font-size: 0.88rem; }
.map-placeholder {
  border-radius: var(--radius);
  min-height: 260px;
  background:
    linear-gradient(rgba(250, 246, 240, 0.15), rgba(250, 246, 240, 0.15)),
    repeating-linear-gradient(0deg, transparent 0 38px, rgba(43, 38, 34, 0.08) 38px 39px),
    repeating-linear-gradient(90deg, transparent 0 38px, rgba(43, 38, 34, 0.08) 38px 39px),
    linear-gradient(135deg, #eee6d7, #ddd2bf);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  color: var(--ink-soft);
  font-size: 0.88rem;
  text-align: center;
  padding: 1rem;
  border: 1px solid var(--line);
}
.map-placeholder .pin { font-size: 2.4rem; }

/* ---------- Footer ---------- */
.site-foot {
  background: var(--charcoal);
  color: #cfc6bb;
  padding: 3.5rem 0 0;
  margin-top: 4rem;
}
.foot-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
}
.site-foot h4 { color: var(--ivory); margin-bottom: 0.9rem; font-size: 1.05rem; }
.site-foot .brand { color: var(--ivory); font-size: 1.4rem; }
.site-foot p { color: #a99e91; font-size: 0.88rem; }
.site-foot ul { list-style: none; }
.site-foot ul li { margin-bottom: 0.5rem; }
.site-foot ul a { color: #cfc6bb; font-size: 0.9rem; }
.site-foot ul a:hover { color: #f0b9a0; }
.foot-credit {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 1.2rem 0;
  text-align: center;
  font-size: 0.8rem;
  color: #a99e91;
}
.foot-credit a { color: #f0b9a0; font-weight: 600; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  padding: 3.5rem 0 2.5rem;
  background: radial-gradient(50rem 22rem at 100% 0%, rgba(201, 111, 74, 0.1), transparent 60%);
}
.page-hero p { max-width: 600px; margin-top: 0.8rem; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 940px) {
  .hero-grid, .estimator, .contact-grid, .case-study { grid-template-columns: 1fr; }
  .grid-3, .gallery, .steps { grid-template-columns: repeat(2, 1fr); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .result-panel { position: static; }
  .case-study .tile { min-height: 200px; }
}

@media (max-width: 640px) {
  section { padding: 3.2rem 0; }
  .nav-toggle { display: block; }
  .nav { flex-wrap: wrap; }
  .nav-links {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.9rem;
    padding: 1rem 0 0.6rem;
    border-top: 1px solid var(--line);
    margin-top: 0.6rem;
  }
  .nav-links.open { display: flex; }
  .grid-3, .grid-2, .gallery, .steps, .check-grid, .tier-grid,
  .form-grid, .stats-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .form-grid .full { grid-column: auto; }
  .cta-band { flex-direction: column; align-items: flex-start; }
  .case-facts { grid-template-columns: repeat(3, 1fr); gap: 0.5rem; }
}

@media (max-width: 400px) {
  body { font-size: 15px; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 1rem; }
  .case-facts { grid-template-columns: 1fr 1fr; }
  .btn { padding: 0.75rem 1.3rem; }
}
