/* ==========================================================================
   Innterio B2C — shared styles (innterio.com)
   Brand palette sampled from logo.png / lab.innterio.com (teal-blue family).
   Mobile-first. No frameworks.
   ========================================================================== */

:root {
  --bg: #F5F9FA;
  --bg-soft: #E9F1F4;
  --card: #FFFFFF;
  --ink: #16303B;
  --ink-soft: #3D5C68;
  --muted: #6C8791;
  --line: #D7E6EB;
  --terra: #0095ff;
  --terra-deep: #0074c7;
  --terra-soft: #e6f5ff;
  --dark: #123646;
  --dark-2: #163f52;
  --cream: #EAF6FB;
  --green: #2F7D4F;
  --green-soft: #E7F3EC;
  --gold: #33aaff;
  --shadow: 0 10px 30px rgba(18, 54, 70, 0.10);
  --shadow-lg: 0 24px 60px rgba(18, 54, 70, 0.16);
  --radius: 20px;
  --radius-sm: 12px;
  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Manrope', -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(--bg);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
input, select, textarea { font-family: inherit; font-size: 16px; }

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

/* ---------- Typography ---------- */

h1, h2, h3 { font-family: var(--font-display); font-weight: 600; line-height: 1.15; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.1rem, 5.4vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); }
h3 { font-size: 1.25rem; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.78rem; font-weight: 800; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--terra);
}
.eyebrow::before { content: ''; width: 26px; height: 2px; background: var(--terra); border-radius: 2px; }

.lede { color: var(--ink-soft); font-size: clamp(1rem, 2vw, 1.15rem); }
.muted { color: var(--muted); }
.accent { color: var(--terra); font-style: italic; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 28px; border-radius: 999px; border: none;
  font-weight: 800; font-size: 1rem; transition: all .22s ease;
  white-space: nowrap;
}
.btn-primary { background: var(--terra); color: #fff; box-shadow: 0 10px 24px rgba(180, 82, 26, .32); }
.btn-primary:hover { background: var(--terra-deep); transform: translateY(-2px); }
.btn-dark { background: var(--ink); color: var(--cream); }
.btn-dark:hover { background: #000; transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--ink); border: 2px solid var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--cream); }
.btn-light-outline { background: transparent; color: var(--cream); border: 2px solid rgba(246, 239, 230, .5); }
.btn-light-outline:hover { border-color: var(--cream); background: rgba(246,239,230,.08); }
.btn-lg { padding: 18px 36px; font-size: 1.08rem; }
.btn-sm { padding: 10px 20px; font-size: 0.9rem; }
.btn:disabled { opacity: .55; cursor: not-allowed; transform: none !important; }
.btn-block { width: 100%; }

/* ---------- Header ---------- */

.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(250, 246, 240, .88); backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease, box-shadow .25s ease;
}
.site-header.scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 24px rgba(84,56,34,.06); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 16px; }

.brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); }
.brand img.logo { height: 34px; width: auto; display: block; }
.brand .name { font-size: 1.3rem; font-weight: 700; letter-spacing: -0.01em; }
.brand .name span { color: var(--terra); }

.nav-links { display: flex; align-items: center; gap: 28px; list-style: none; }
.nav-links a { font-weight: 700; font-size: .95rem; color: var(--ink-soft); transition: color .18s; }
.nav-links a:hover { color: var(--terra); }
.nav-cta { display: flex; align-items: center; gap: 12px; }

.nav-toggle { display: none; background: none; border: none; width: 42px; height: 42px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--ink); margin: 5px auto; border-radius: 2px; transition: .25s; }

@media (max-width: 900px) {
  .nav-links {
    position: fixed; inset: 0 0 auto 0; top: 72px; flex-direction: column; align-items: flex-start;
    background: var(--bg); padding: 24px 6%; gap: 20px; border-bottom: 1px solid var(--line);
    transform: translateY(-130%); transition: transform .3s ease; box-shadow: var(--shadow-lg);
  }
  .nav-links.open { transform: translateY(0); }
  .nav-toggle { display: block; }
  .nav-cta .btn { padding: 11px 18px; font-size: .88rem; }
}

/* ---------- Hero ---------- */

.hero { padding: clamp(40px, 7vw, 90px) 0 clamp(36px, 5vw, 70px); position: relative; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } }

.hero h1 em { font-style: italic; color: var(--terra); }
.hero .lede { margin: 18px 0 28px; max-width: 34rem; }

.hero-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 30px; }
.chip {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--card); border: 1px solid var(--line); border-radius: 999px;
  padding: 8px 16px; font-size: .85rem; font-weight: 700; color: var(--ink-soft);
}
.chip svg { width: 15px; height: 15px; color: var(--terra); }

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.hero-trust { margin-top: 22px; font-size: .88rem; color: var(--muted); display: flex; align-items: center; gap: 8px; }
.hero-trust svg { width: 16px; height: 16px; color: var(--green); flex: none; }

.hero-visual { position: relative; }
.hero-visual .main-img {
  border-radius: 28px; box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 3.4; object-fit: cover; width: 100%;
}
.float-card {
  position: absolute; background: var(--card); border-radius: 16px; box-shadow: var(--shadow-lg);
  padding: 14px 18px; display: flex; gap: 12px; align-items: center; border: 1px solid var(--line);
}
.float-card .ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; flex: none; }
.float-card b { display: block; font-size: .92rem; line-height: 1.3; }
.float-card small { color: var(--muted); font-size: .78rem; }
.fc-1 { top: 20px; left: -26px; animation: floaty 5s ease-in-out infinite; }
.fc-1 .ic { background: var(--terra-soft); color: var(--terra); }
.fc-2 { bottom: 26px; right: -20px; animation: floaty 6s ease-in-out .8s infinite; }
.fc-2 .ic { background: var(--green-soft); color: var(--green); }
@media (max-width: 900px) { .fc-1 { left: 8px; } .fc-2 { right: 8px; } }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }

/* ---------- Hero: scroll-driven room build-up ---------- */

.hero-track { position: relative; padding: 0; --hh: 72px; } /* track height set by JS, --hh = measured header height */
.hero-sticky {
  position: sticky; top: var(--hh);
  height: calc(100vh - var(--hh)); height: calc(100svh - var(--hh));
  display: flex; align-items: center;
  padding: 24px 0 48px;
}

.stage-frame {
  position: relative; overflow: hidden;
  border-radius: 28px; box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 3.4; width: 100%; background: var(--bg-soft);
}
.stage-frame .stage-img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; opacity: 0; will-change: opacity, transform;
}
.stage-frame .stage-img:first-child { opacity: 1; }

.stage-hud {
  position: absolute; left: 18px; bottom: 18px; z-index: 3;
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(255, 255, 255, 0.93); backdrop-filter: blur(6px);
  border: 1px solid var(--line); border-radius: 999px;
  padding: 8px 15px; box-shadow: var(--shadow);
  font-size: 0.82rem; font-weight: 800; color: var(--ink);
}
.stage-dots { display: inline-flex; gap: 5px; }
.stage-dots i { width: 7px; height: 7px; border-radius: 50%; background: var(--line); transition: background .25s, transform .25s; }
.stage-dots i.on { background: var(--gold); transform: scale(1.2); }

/* float cards hidden until the room is fully built */
.hero-track .float-card { opacity: 0; pointer-events: none; transition: opacity .6s ease; animation-play-state: paused; }
.hero-track .float-card.fc-show { opacity: 1; pointer-events: auto; animation-play-state: running; }

.scroll-hint {
  position: absolute; left: 50%; bottom: 16px; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 3px;
  font-size: 0.78rem; font-weight: 700; color: var(--muted);
  white-space: nowrap; pointer-events: none; transition: opacity .4s;
}
.scroll-hint svg { width: 16px; height: 16px; animation: hintBob 1.6s ease-in-out infinite; }
.scroll-hint.hide { opacity: 0; }
@keyframes hintBob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(5px); } }

/* static fallback: no pinning, final image, plain hero */
.hero-track.no-pin { height: auto !important; }
.hero-track.no-pin .hero-sticky {
  position: static; height: auto;
  padding: clamp(40px, 7vw, 90px) 0 clamp(36px, 5vw, 70px);
}
.hero-track.no-pin .stage-hud,
.hero-track.no-pin .scroll-hint { display: none; }
.hero-track.no-pin .float-card { opacity: 1; pointer-events: auto; animation-play-state: running; }

@media (prefers-reduced-motion: reduce) {
  .scroll-hint svg { animation: none; }
}

@media (max-width: 900px) {
  .hero-track .hero-sticky { padding: 10px 0 34px; align-items: flex-start; }
  .hero-track .hero-grid { gap: 14px; }
  .hero-track h1 { font-size: clamp(1.5rem, 6vw, 2rem); }
  .hero-track .eyebrow { font-size: 0.7rem; }
  .hero-track .lede { margin: 8px 0 12px; font-size: 0.92rem; }
  .hero-track .hero-chips { gap: 8px; margin-bottom: 12px; }
  .hero-track .chip { padding: 6px 12px; font-size: 0.78rem; }
  .hero-track .hero-actions { gap: 10px; }
  .hero-track .hero-actions .btn { padding: 13px 22px; font-size: 0.95rem; }
  .hero-track .hero-trust { display: none; }
  .hero-track .stage-frame { aspect-ratio: auto; height: 30svh; min-height: 200px; }
  .hero-track .stage-hud { left: 12px; bottom: 12px; padding: 7px 12px; font-size: 0.76rem; }
}

/* ---------- Trust bar ---------- */

.trustbar { border-block: 1px solid var(--line); background: var(--card); }
.trustbar-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-item { padding: 26px 12px; text-align: center; }
.trust-item + .trust-item { border-left: 1px solid var(--line); }
.trust-item b { font-family: var(--font-display); font-size: clamp(1.3rem, 2.6vw, 1.9rem); display: block; color: var(--terra); }
.trust-item span { font-size: .85rem; color: var(--muted); font-weight: 600; }
@media (max-width: 700px) {
  .trustbar-grid { grid-template-columns: 1fr 1fr; }
  .trust-item:nth-child(3) { border-left: none; }
  .trust-item:nth-child(n+3) { border-top: 1px solid var(--line); }
}

/* ---------- Sections ---------- */

section { padding: clamp(56px, 8vw, 104px) 0; }
.section-head { max-width: 40rem; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head h2 { margin: 12px 0 14px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow::before { display: none; }

/* ---------- How it works ---------- */

.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 860px) { .steps-grid { grid-template-columns: 1fr; } }
.step-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 26px; position: relative; transition: transform .25s ease, box-shadow .25s ease;
}
.step-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.step-num {
  font-family: var(--font-display); font-size: 3rem; font-weight: 700;
  color: var(--terra-soft); position: absolute; top: 14px; right: 22px; line-height: 1;
  -webkit-text-stroke: 1px var(--terra);
}
.step-card .ic {
  width: 54px; height: 54px; border-radius: 16px; background: var(--terra-soft); color: var(--terra);
  display: grid; place-items: center; margin-bottom: 18px;
}
.step-card .ic svg { width: 26px; height: 26px; }
.step-card h3 { margin-bottom: 10px; }
.step-card p { color: var(--muted); font-size: .95rem; }

/* ---------- Gallery ---------- */

.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 860px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .gallery-grid { grid-template-columns: 1fr; } }
.g-item { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/3; }
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.g-item:hover img { transform: scale(1.06); }
.g-item .tag {
  position: absolute; left: 14px; bottom: 14px; background: rgba(34, 27, 20, .82); color: var(--cream);
  backdrop-filter: blur(6px); padding: 7px 14px; border-radius: 999px; font-size: .8rem; font-weight: 700;
}

/* ---------- Dark empowerment section ---------- */

.dark-section { background: var(--dark); color: var(--cream); }
.dark-section .eyebrow { color: var(--gold); }
.dark-section .eyebrow::before { background: var(--gold); }
.dark-section .lede { color: rgba(246, 239, 230, .75); }

.empower-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(30px, 5vw, 70px); align-items: center; }
@media (max-width: 900px) { .empower-grid { grid-template-columns: 1fr; } }

.empower-list { list-style: none; margin-top: 26px; display: grid; gap: 16px; }
.empower-list li { display: flex; gap: 14px; align-items: flex-start; }
.empower-list .tick {
  width: 26px; height: 26px; flex: none; border-radius: 8px; margin-top: 2px;
  background: rgba(201, 155, 74, .18); color: var(--gold); display: grid; place-items: center;
}
.empower-list .tick svg { width: 14px; height: 14px; }
.empower-list b { display: block; font-size: 1rem; }
.empower-list span { color: rgba(246,239,230,.62); font-size: .9rem; }

.pro-card {
  background: var(--dark-2); border: 1px solid rgba(201,155,74,.28); border-radius: 24px;
  padding: clamp(26px, 4vw, 40px); position: relative; overflow: hidden;
}
.pro-card::after {
  content: ''; position: absolute; width: 220px; height: 220px; border-radius: 50%;
  background: radial-gradient(circle, rgba(180,82,26,.35), transparent 70%);
  top: -80px; right: -60px; pointer-events: none;
}
.pro-card .price-row { display: flex; align-items: baseline; gap: 10px; margin: 14px 0 6px; }
.pro-card .price { font-family: var(--font-display); font-size: 3rem; font-weight: 700; color: var(--gold); }
.pro-card ul { list-style: none; margin: 18px 0 26px; display: grid; gap: 12px; }
.pro-card ul li { display: flex; gap: 10px; font-size: .95rem; color: rgba(246,239,230,.85); }
.pro-card ul svg { width: 17px; height: 17px; color: var(--gold); flex: none; margin-top: 4px; }

/* ---------- Packages ---------- */

.pack-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
@media (max-width: 940px) { .pack-grid { grid-template-columns: 1fr; max-width: 480px; margin-inline: auto; } }
.pack-card {
  background: var(--card); border: 1px solid var(--line); border-radius: 24px; padding: 32px 28px;
  display: flex; flex-direction: column; position: relative; transition: transform .25s, box-shadow .25s;
}
.pack-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.pack-card.featured { border: 2px solid var(--terra); box-shadow: var(--shadow-lg); }
.pack-badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--terra); color: #fff; font-size: .75rem; font-weight: 800; letter-spacing: .06em;
  padding: 6px 16px; border-radius: 999px; text-transform: uppercase; white-space: nowrap;
}
.pack-card h3 { font-size: 1.35rem; }
.pack-card .tagline { color: var(--muted); font-size: .9rem; margin: 6px 0 16px; }
.pack-price { font-family: var(--font-display); font-size: 2.5rem; font-weight: 700; }
.pack-price small { font-size: 1rem; color: var(--muted); font-family: var(--font-body); font-weight: 600; }
.pack-card ul { list-style: none; margin: 20px 0 26px; display: grid; gap: 12px; flex: 1; }
.pack-card ul li { display: flex; gap: 10px; font-size: .92rem; color: var(--ink-soft); }
.pack-card ul svg { width: 17px; height: 17px; color: var(--green); flex: none; margin-top: 3px; }

/* Features marked `conditional` in PACKAGES apply only to some projects
   (full-home walkthrough, comparison quotes) — shown, but visibly softer so
   they don't read as unconditional promises. */
.pack-card ul li.conditional,
.pro-card ul li.conditional,
.prohelp-card ul li.conditional { opacity: .72; }
.pack-card ul li.conditional svg { color: var(--muted); }
.pro-card ul li.conditional svg,
.prohelp-card ul li.conditional svg { color: rgba(201,155,74,.6); }

.pack-guarantee {
  margin-top: 14px; font-size: .8rem; line-height: 1.5; color: var(--muted); text-align: center;
}

/* ---------- FAQ ---------- */

.faq-list { max-width: 46rem; margin: 0 auto; display: grid; gap: 12px; }
.faq-item { background: var(--card); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.faq-q {
  width: 100%; background: none; border: none; text-align: left; padding: 20px 22px;
  font-weight: 800; font-size: 1rem; display: flex; justify-content: space-between; gap: 16px; align-items: center;
  color: var(--ink);
}
.faq-q .plus { flex: none; width: 26px; height: 26px; border-radius: 8px; background: var(--terra-soft); color: var(--terra); display: grid; place-items: center; font-size: 1.15rem; transition: transform .25s; }
.faq-item.open .plus { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-a p { padding: 0 22px 20px; color: var(--muted); font-size: .95rem; }
/* The ₹499 answer renders the package feature list, so it needs the same
   gutter as the paragraphs it sits between. */
.faq-features { list-style: none; padding: 0 22px 18px; display: grid; gap: 10px; }
.faq-features li { display: flex; gap: 10px; font-size: .92rem; color: var(--ink-soft); }
.faq-features svg { width: 16px; height: 16px; color: var(--green); flex: none; margin-top: 3px; }

/* ---------- Footer ---------- */

.site-footer { background: var(--dark); color: rgba(246,239,230,.72); padding: 56px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 36px; margin-bottom: 40px; }
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h4 { color: var(--cream); font-size: 1rem; margin-bottom: 16px; }
.site-footer ul { list-style: none; display: grid; gap: 10px; font-size: .92rem; }
.site-footer a:hover { color: var(--gold); }
.footer-bottom { border-top: 1px solid rgba(246,239,230,.14); padding-top: 24px; font-size: .85rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
.footer-pro-box {
  background: var(--dark-2); border: 1px solid rgba(201,155,74,.3); padding: 18px 20px; border-radius: 16px; margin-top: 18px;
}
.footer-pro-box b { color: var(--gold); display: block; margin-bottom: 6px; }
.footer-pro-box p { font-size: .85rem; margin-bottom: 12px; }

/* ---------- Floating WhatsApp ---------- */

.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 70;
  width: 56px; height: 56px; border-radius: 50%; background: #25D366; color: #fff;
  display: grid; place-items: center; box-shadow: 0 12px 30px rgba(37, 211, 102, .4);
  transition: transform .2s;
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 28px; height: 28px; }

/* ---------- Reveal animation ---------- */

.reveal { opacity: 0; transform: translateY(26px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ==========================================================================
   STUDIO (wizard) styles
   ========================================================================== */

.studio-body { background: var(--bg); min-height: 100vh; display: flex; flex-direction: column; }
.studio-main { flex: 1; width: min(880px, 94%); margin: 0 auto; padding: 28px 0 90px; }

.studio-steps { display: flex; gap: 8px; justify-content: center; margin: 10px 0 34px; }
.s-step { display: flex; align-items: center; gap: 8px; font-size: .82rem; font-weight: 800; color: var(--muted); }
.s-step .dot {
  width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center;
  background: var(--card); border: 2px solid var(--line); font-size: .8rem; color: var(--muted); transition: .25s;
}
.s-step.active { color: var(--terra); }
.s-step.active .dot { background: var(--terra); border-color: var(--terra); color: #fff; }
.s-step.done .dot { background: var(--green); border-color: var(--green); color: #fff; }
.s-connector { width: 34px; height: 2px; background: var(--line); align-self: center; }
@media (max-width: 560px) { .s-step span.lbl { display: none; } }

.panel { background: var(--card); border: 1px solid var(--line); border-radius: 24px; padding: clamp(22px, 4vw, 40px); box-shadow: var(--shadow); }
.panel h2 { font-size: clamp(1.4rem, 3vw, 1.8rem); margin-bottom: 8px; }
.panel .sub { color: var(--muted); margin-bottom: 24px; font-size: .95rem; }

/* Dropzone */
.dropzone {
  border: 2px dashed #D8C8B4; border-radius: 20px; background: var(--bg);
  padding: clamp(30px, 6vw, 56px) 20px; text-align: center; cursor: pointer; transition: .2s;
}
.dropzone:hover, .dropzone.drag { border-color: var(--terra); background: var(--terra-soft); }
.dropzone .ic { width: 64px; height: 64px; margin: 0 auto 16px; border-radius: 18px; background: var(--terra-soft); color: var(--terra); display: grid; place-items: center; }
.dropzone .ic svg { width: 30px; height: 30px; }
.dropzone b { font-size: 1.05rem; display: block; }
.dropzone small { color: var(--muted); }

.photo-tips { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 20px; }
@media (max-width: 640px) { .photo-tips { grid-template-columns: 1fr; } }
.tip { display: flex; gap: 10px; align-items: center; background: var(--bg); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; font-size: .82rem; color: var(--ink-soft); font-weight: 600; }
.tip svg { width: 18px; height: 18px; color: var(--green); flex: none; }

.preview-wrap { position: relative; border-radius: 20px; overflow: hidden; }
.preview-wrap img { width: 100%; max-height: 420px; object-fit: cover; }
.preview-wrap .change-btn {
  position: absolute; top: 14px; right: 14px; background: rgba(34,27,20,.8); color: #fff;
  border: none; padding: 9px 18px; border-radius: 999px; font-weight: 700; font-size: .85rem; backdrop-filter: blur(6px);
}

/* Form bits */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
.field label { display: block; font-size: .85rem; font-weight: 800; margin-bottom: 7px; color: var(--ink-soft); }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 16px; border: 1.5px solid var(--line); border-radius: 12px;
  background: var(--bg); color: var(--ink); outline: none; transition: border-color .2s;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--terra); background: #fff; }
.field .err { color: #B3261E; font-size: .78rem; margin-top: 5px; display: none; }
.field.invalid input { border-color: #B3261E; }
.field.invalid .err { display: block; }

/* Consultation date/time picker (lead modal, connect purchases only) */
.slot-picker { margin-top: 18px; }
.slot-picker > label { display: block; font-size: .85rem; font-weight: 800; margin-bottom: 9px; color: var(--ink-soft); }
.slot-hint { font-size: .78rem; color: var(--muted); margin-top: 8px; }

.mode-row { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.mode-row > span { font-size: .82rem; color: var(--muted); }
.mode-opts { display: flex; gap: 8px; }
.mode {
  border: 1.5px solid var(--line); background: var(--bg); padding: 7px 14px; border-radius: 999px;
  font-weight: 700; font-size: .82rem; color: var(--ink-soft); transition: .18s;
}
.mode:hover { border-color: var(--terra); }
.mode.selected { background: var(--terra); border-color: var(--terra); color: #fff; }
/* Unlike .field .err this one is toggled by class, not by a parent state. */
.slot-picker .err { color: #B3261E; font-size: .78rem; margin-top: 8px; display: none; }
.slot-picker .err.show { display: block; }

.choice-row { display: flex; flex-wrap: wrap; gap: 10px; }
.choice {
  border: 1.5px solid var(--line); background: var(--bg); padding: 11px 18px; border-radius: 999px;
  font-weight: 700; font-size: .9rem; color: var(--ink-soft); transition: .18s;
}
.choice:hover { border-color: var(--terra); }
.choice.selected { background: var(--terra); border-color: var(--terra); color: #fff; }

.size-row { display: flex; align-items: center; gap: 16px; }
.size-row input[type=range] { flex: 1; accent-color: var(--terra); }
.size-val { font-weight: 800; min-width: 90px; text-align: right; }

/* Generating state */
.gen-wrap { text-align: center; padding: clamp(30px, 6vw, 60px) 10px; }
.gen-art { position: relative; width: 130px; height: 130px; margin: 0 auto 30px; }
.gen-art .ring {
  position: absolute; inset: 0; border-radius: 50%;
  border: 3px solid var(--terra-soft); border-top-color: var(--terra);
  animation: spin 1.1s linear infinite;
}
.gen-art .ic { position: absolute; inset: 0; display: grid; place-items: center; color: var(--terra); }
.gen-art .ic svg { width: 44px; height: 44px; animation: pulse 1.6s ease-in-out infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pulse { 0%,100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.12); opacity: .75; } }
.gen-msg { font-family: var(--font-display); font-size: 1.25rem; min-height: 2em; transition: opacity .4s; }
.gen-bar { height: 8px; background: var(--bg-soft); border-radius: 99px; max-width: 380px; margin: 26px auto 8px; overflow: hidden; }
.gen-bar i { display: block; height: 100%; width: 4%; background: linear-gradient(90deg, var(--terra), var(--gold)); border-radius: 99px; transition: width .8s ease; }
.gen-hint { font-size: .85rem; color: var(--muted); }

/* Result: before/after slider */
.ba-slider { position: relative; border-radius: 20px; overflow: hidden; user-select: none; touch-action: none; aspect-ratio: 16/10.5; background: #E8DFD2; }
.ba-slider img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.ba-after-wrap { position: absolute; inset: 0; overflow: hidden; }
.ba-divider { position: absolute; top: 0; bottom: 0; width: 3px; background: #fff; box-shadow: 0 0 12px rgba(0,0,0,.35); }
.ba-handle {
  position: absolute; top: 50%; transform: translate(-50%, -50%);
  width: 46px; height: 46px; border-radius: 50%; background: #fff; box-shadow: 0 4px 18px rgba(0,0,0,.3);
  display: grid; place-items: center; color: var(--ink); cursor: ew-resize;
}
.ba-label { position: absolute; top: 14px; padding: 6px 14px; border-radius: 999px; font-size: .78rem; font-weight: 800; color: #fff; background: rgba(34,27,20,.75); backdrop-filter: blur(4px); }
.ba-label.before { left: 14px; }
.ba-label.after { right: 14px; background: var(--terra); }

.result-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }

/* WhatsApp OTP verification */
.otp-block { margin-top: 18px; }
.otp-block.hidden { display: none; }
#otpSendBtn { display: flex; align-items: center; justify-content: center; gap: 9px; }
#otpSendBtn svg { color: #25D366; }
.otp-entry { margin-top: 14px; }
.otp-entry.hidden { display: none; }
.otp-row { display: flex; gap: 10px; }
.otp-row input { flex: 1; letter-spacing: .35em; font-weight: 700; text-align: center; }
.otp-row .btn { white-space: nowrap; }
.otp-resend { border: none; background: transparent; color: var(--terra); font-weight: 700; font-size: .84rem; margin-top: 12px; padding: 4px 2px; }
.otp-resend:disabled { color: var(--muted); font-weight: 600; cursor: default; }
.otp-verified { display: flex; align-items: center; gap: 6px; color: var(--green); font-weight: 800; font-size: .92rem; margin-top: 12px; }
.otp-verified.hidden { display: none; }

/* Estimate block */
.estimate-box { margin-top: 34px; }
.tier-badge { display: inline-block; background: var(--ink); color: var(--cream); padding: 7px 16px; border-radius: 999px; font-weight: 800; font-size: .82rem; }
.tier-note { font-size: .82rem; color: var(--muted); margin: 10px 2px 18px; }

/* What the AI looked at — names only, never per-item prices (lead-gen, not a BOQ) */
.est-analysis { background: var(--bg); border: 1px solid var(--line); border-radius: 16px; padding: 18px 20px; }
.est-analysis-head { font-size: .78rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.est-elements { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 9px 18px; }
@media (max-width: 600px) { .est-elements { grid-template-columns: 1fr; } }
.est-elements li { display: flex; gap: 9px; align-items: flex-start; font-size: .9rem; color: var(--ink-soft); }
.est-elements li::before { content: '✓'; color: var(--green); font-weight: 800; flex: none; }
.est-total-row { display: flex; justify-content: space-between; align-items: center; padding: 18px 4px 4px; }
.est-total-row b { font-size: 1.05rem; }
.est-total { font-family: var(--font-display); font-size: 1.9rem; font-weight: 700; color: var(--terra); }
.est-disclaimer { font-size: .78rem; color: var(--muted); margin-top: 12px; }

/* DIY + Pro help cards on result */
.result-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 30px; }
@media (max-width: 760px) { .result-cards { grid-template-columns: 1fr; } }
.diy-card { background: var(--green-soft); border: 1px solid #CBE5D6; border-radius: 20px; padding: 26px; }
.diy-card h3 { color: var(--green); }
.diy-card ul { list-style: none; margin-top: 14px; display: grid; gap: 10px; font-size: .9rem; color: var(--ink-soft); }
.diy-card ul li { display: flex; gap: 9px; }
.diy-card ul svg { width: 16px; height: 16px; color: var(--green); flex: none; margin-top: 4px; }

.prohelp-card { background: var(--dark); color: var(--cream); border-radius: 20px; padding: 26px; position: relative; overflow: hidden; }
.prohelp-card::after { content: ''; position: absolute; width: 160px; height: 160px; border-radius: 50%; background: radial-gradient(circle, rgba(180,82,26,.4), transparent 70%); bottom: -60px; right: -40px; }
.prohelp-card .price { font-family: var(--font-display); font-size: 2.1rem; color: var(--gold); font-weight: 700; }
.prohelp-card p { font-size: .9rem; color: rgba(246,239,230,.78); margin: 8px 0 18px; }
.prohelp-card ul { list-style: none; margin: 0 0 20px; display: grid; gap: 10px; position: relative; z-index: 1; }
.prohelp-card ul li { display: flex; gap: 9px; font-size: .85rem; line-height: 1.45; color: rgba(246,239,230,.85); }
.prohelp-card ul svg { width: 15px; height: 15px; color: var(--gold); flex: none; margin-top: 3px; }
.prohelp-card .btn { position: relative; z-index: 1; }

/* Sticky mobile CTA */
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 65;
  background: var(--card); border-top: 1px solid var(--line); padding: 12px 5%;
  display: none; align-items: center; justify-content: space-between; gap: 14px;
  box-shadow: 0 -8px 30px rgba(84,56,34,.12);
}
.sticky-cta .txt b { display: block; font-size: .92rem; }
.sticky-cta .txt small { color: var(--muted); font-size: .78rem; }
@media (max-width: 760px) { .sticky-cta.show { display: flex; } }

/* ---------- Modal ---------- */

.modal-overlay {
  position: fixed; inset: 0; background: rgba(24, 18, 12, .6); backdrop-filter: blur(5px);
  z-index: 80; display: none; align-items: flex-end; justify-content: center; padding: 0;
}
.modal-overlay.open { display: flex; }
@media (min-width: 640px) { .modal-overlay { align-items: center; padding: 24px; } }
.modal {
  background: var(--card); width: 100%; max-width: 520px; max-height: 92vh; overflow-y: auto;
  border-radius: 24px 24px 0 0; padding: 28px 26px 34px; animation: slideUp .3s ease;
}
@media (min-width: 640px) { .modal { border-radius: 24px; } }
@keyframes slideUp { from { transform: translateY(40px); opacity: 0; } to { transform: none; opacity: 1; } }
.modal-head { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 6px; }
.modal-head h3 { font-size: 1.35rem; }
.modal-close { background: var(--bg); border: none; width: 36px; height: 36px; border-radius: 50%; font-size: 1.1rem; color: var(--muted); flex: none; }
.modal .sub { color: var(--muted); font-size: .9rem; margin-bottom: 20px; }
.modal .form-grid { margin-bottom: 4px; }
.modal .field { margin-bottom: 14px; }
.pay-note { display: flex; gap: 8px; align-items: center; justify-content: center; font-size: .8rem; color: var(--muted); margin-top: 12px; }
.pay-note svg { width: 15px; height: 15px; color: var(--green); }

.pkg-summary { display: flex; justify-content: space-between; align-items: center; background: var(--terra-soft); border: 1px solid #F0D9C8; border-radius: 14px; padding: 14px 18px; margin-bottom: 20px; }
.pkg-summary b { font-size: 1rem; }
.pkg-summary .amt { font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; color: var(--terra); }

/* Success state */
.success-head { text-align: center; padding: 8px 0 4px; }
.success-head .big-tick { width: 74px; height: 74px; margin: 0 auto 18px; border-radius: 50%; background: var(--green-soft); color: var(--green); display: grid; place-items: center; }
.success-head .big-tick svg { width: 36px; height: 36px; }
.success-head h3 { font-size: 1.45rem; margin-bottom: 8px; }
.success-head p { color: var(--muted); font-size: .92rem; }

.designer-card { border: 1px solid var(--line); border-radius: 16px; padding: 16px 18px; display: flex; gap: 14px; align-items: center; margin-top: 12px; }
.designer-card .avatar { width: 46px; height: 46px; flex: none; border-radius: 50%; background: var(--terra-soft); color: var(--terra); display: grid; place-items: center; font-weight: 800; font-size: 1.1rem; font-family: var(--font-display); }
.designer-card .info { flex: 1; min-width: 0; }
.designer-card .info b { display: block; font-size: .95rem; }
.designer-card .info small { color: var(--muted); font-size: .8rem; display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.designer-card .call-btn { flex: none; width: 42px; height: 42px; border-radius: 50%; background: var(--green); color: #fff; display: grid; place-items: center; }
.designer-card .call-btn svg { width: 19px; height: 19px; }

.fallback-box { background: var(--bg); border: 1px dashed var(--line); border-radius: 16px; padding: 20px; text-align: center; margin-top: 14px; }
.fallback-box b { font-size: 1.2rem; color: var(--terra); display: block; margin: 6px 0; }

/* Post-payment confirmation: the booked slot and what the designer owes */
.booking-slot {
  background: var(--terra-soft); border-radius: 16px; padding: 16px 18px; margin-top: 14px; text-align: center;
}
.booking-slot .muted { font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; }
.booking-slot b { display: block; font-size: 1.05rem; color: var(--terra); margin: 4px 0 2px; }
.booking-slot small { font-size: .8rem; color: var(--muted); }
.booking-list { list-style: none; display: grid; gap: 10px; margin: 16px 0 4px; }
.booking-list li { display: flex; gap: 10px; font-size: .88rem; color: var(--ink-soft); }
.booking-list svg { width: 16px; height: 16px; color: var(--green); flex: none; margin-top: 3px; }

/* Toast */
.toast {
  position: fixed; left: 50%; bottom: 28px; transform: translateX(-50%) translateY(20px);
  background: var(--ink); color: var(--cream); padding: 14px 24px; border-radius: 14px;
  font-weight: 700; font-size: .9rem; z-index: 90; opacity: 0; pointer-events: none;
  transition: .3s; max-width: 90%; text-align: center;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* Studio header (minimal) */
.studio-header { background: transparent; border-bottom: 1px solid var(--line); }
.studio-header .nav-inner { height: 64px; }
.back-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: .9rem; color: var(--muted); }
.back-link:hover { color: var(--terra); }

/* House portfolio (my-home + designer portfolio pages) */
.pf-main { max-width: 860px; margin: 0 auto; padding: 28px 20px 80px; display: grid; gap: 18px; }
.pf-head h1 { font-family: var(--font-display); font-size: clamp(1.5rem, 4vw, 2.1rem); }
.pf-head .sub { color: var(--muted); margin-top: 6px; }
.pf-room { display: grid; gap: 16px; }
.pf-room-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.pf-room-head h3 { font-size: 1.15rem; }
.pf-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.pf-chips .chip { text-transform: capitalize; }
.chip-muted { color: var(--muted); }
.pf-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 560px) { .pf-pair { grid-template-columns: 1fr; } }
.pf-img { position: relative; border-radius: 16px; overflow: hidden; background: var(--bg); }
.pf-img img { width: 100%; aspect-ratio: 4/3; object-fit: cover; display: block; }
.pf-img figcaption { position: absolute; top: 10px; left: 10px; background: rgba(20,16,12,.65); color: #fff; font-size: .68rem; font-weight: 800; letter-spacing: .08em; padding: 4px 10px; border-radius: 20px; }
.pf-estimate { display: flex; justify-content: space-between; align-items: center; background: var(--terra-soft); border-radius: 14px; padding: 12px 18px; font-size: .9rem; }
.pf-estimate b { font-family: var(--font-display); font-size: 1.15rem; color: var(--terra); }
.pf-older summary { cursor: pointer; font-size: .85rem; font-weight: 700; color: var(--muted); }
.pf-thumbs { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 12px; }
.pf-thumb { width: 132px; }
.pf-thumb img { width: 132px; height: 99px; object-fit: cover; border-radius: 10px; display: block; }
.pf-thumb figcaption { font-size: .72rem; color: var(--muted); margin-top: 4px; text-transform: capitalize; }
.pf-empty { text-align: center; padding: 40px 20px; }
.pf-banner { background: var(--terra-soft); border: 1px solid #F0D9C8; border-radius: 16px; padding: 14px 18px; font-size: .9rem; }
.pf-banner b { color: var(--terra); }
.pf-login { max-width: 460px; margin: 0 auto; }

.hidden { display: none !important; }
