/* =====================================================================
   zahid.at — one stylesheet for BOTH pages (index.php = English, bn.php = Bengali).
   Sections: tokens · base · layout · components · Bengali tweaks · navbar
   ===================================================================== */

/* ---------- tokens ---------- */
:root {
  --bg: #ffffff; --bg-off: #fafafa; --text: #111111; --text-2: #666666; --border: #e8e8e8;
  --invert-bg: #111111; --invert-text: #ffffff;
  --pad: 20px;
  --zn-maxw: 1200px; --zn-pad: var(--pad); --zn-h: 72px;
}
@media (min-width: 640px) { :root { --pad: 32px; } }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) { --bg: #111111; --bg-off: #181818; --text: #fafafa; --text-2: #999999; --border: #2a2a2a; --invert-bg: #fafafa; --invert-text: #111111; }
}
:root[data-theme="dark"] { --bg: #111111; --bg-off: #181818; --text: #fafafa; --text-2: #999999; --border: #2a2a2a; --invert-bg: #fafafa; --invert-text: #111111; }

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body, h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
body {
  font-family: 'Manrope', 'Hind Siliguri', 'Noto Sans Bengali', 'Helvetica Neue', Arial, sans-serif;
  background: var(--bg); color: var(--text); line-height: 1.5;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
a:focus-visible, button:focus-visible { outline: 2px solid var(--text); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; } }

/* ---------- layout ---------- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 var(--pad); }
.section { padding: 100px 0; }
.section--flush-top { padding-top: 0; }
.section-head { margin-bottom: 72px; }
.eyebrow { font-size: 13px; color: var(--text-2); }
.title { font-size: clamp(30px, 5vw, 52px); font-weight: 800; letter-spacing: -.02em; margin-top: 10px; }
.sub { margin-top: 16px; font-size: 17px; color: var(--text-2); max-width: 480px; }
.arr { display: inline-block; transition: transform .25s; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px; padding: 16px 28px;
  font-size: 15px; font-weight: 600; line-height: 1.5; cursor: pointer;
  border: 1px solid var(--text); background: var(--text); color: var(--bg);
  transition: background-color .25s, color .25s, border-color .25s, opacity .25s;
}
.btn:hover { background: var(--text-2); border-color: var(--text-2); }
.btn--ghost { background: transparent; color: var(--text); }
.btn--ghost:hover { background: var(--text); border-color: var(--text); color: var(--bg); }
.btn--invert { border-color: var(--invert-text); background: var(--invert-text); color: var(--invert-bg); }
.btn--invert:hover { background: var(--invert-text); border-color: var(--invert-text); opacity: .8; }
.btn:hover .arr { transform: translate(3px, -3px); }
.actions { margin-top: 48px; display: flex; gap: 16px; flex-wrap: wrap; }

/* ---------- hero ---------- */
.hero { padding: 120px 0 100px; }
.meta { display: flex; flex-wrap: wrap; font-size: 13px; color: var(--text-2); margin-bottom: 56px; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.meta span { padding: 14px 20px 14px 0; margin-right: 20px; border-right: 1px solid var(--border); }
.meta span:last-child { padding-right: 0; margin-right: 0; border-right: 0; }
.hero h1 { font-size: clamp(40px, 7.2vw, 104px); font-weight: 800; letter-spacing: -.03em; line-height: .98; max-width: 920px; }
.hero__text { margin-top: 32px; font-size: 19px; color: var(--text-2); max-width: 520px; }

.hero--split { padding-top: 90px; }
.hero--split .hero__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.hero--split h1 { font-size: clamp(32px, 4.8vw, 58px); line-height: 1.3; letter-spacing: 0; font-weight: 700; }
.hero--split h1 span { display: block; }
.hero--split .hero__text { font-size: 17px; max-width: 500px; }
.hero__art { max-width: 440px; margin-left: auto; width: 100%; }
.hero__art svg { width: 100%; height: auto; }
@media (max-width: 860px) {
  .hero--split .hero__grid { grid-template-columns: 1fr; }
  .hero__art { order: -1; max-width: 320px; margin: 0 auto; }
}
@media (max-width: 640px) { .hero { padding: 80px 0 64px; } .meta { margin-bottom: 40px; } }

/* ---------- projects ---------- */
.project { display: flex; flex-direction: column; gap: 64px; align-items: center; padding: 56px 0; border-top: 1px solid var(--border); }
.shot { flex: 1.15; width: 100%; aspect-ratio: 16 / 10; background: var(--bg-off); border: 1px solid var(--border); }
.shot__bar { height: 32px; border-bottom: 1px solid var(--border); display: flex; align-items: center; gap: 6px; padding: 0 12px; }
.shot__bar i { width: 7px; height: 7px; border-radius: 50%; background: var(--border); }
.shot__img { height: calc(100% - 32px); overflow: hidden; }
.shot__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.project__info { flex: 1; }
.project__num { font-size: 14px; color: var(--text-2); }
.project h3 { font-size: 30px; font-weight: 700; letter-spacing: -.01em; margin-top: 10px; overflow-wrap: anywhere; }
.project__cat { font-size: 14px; color: var(--text-2); margin: 8px 0; }
.project p { color: var(--text-2); font-size: 16px; max-width: 420px; }
.project__year { margin-top: 20px; font-size: 13px; color: var(--text-2); }
@media (min-width: 768px) { .project { flex-direction: row; } .project--rev { flex-direction: row-reverse; } }
@media (max-width: 767px) { .project { gap: 28px; } }

/* ---------- services (accordion on hover/focus) ---------- */
.svc { border-bottom: 1px solid var(--border); padding: 30px 0; }
.svc:first-child { border-top: 1px solid var(--border); }
.svc__row { display: flex; align-items: baseline; gap: 24px; }
.svc__num { font-size: 14px; color: var(--text-2); width: 28px; flex-shrink: 0; }
.svc h3 { font-size: 23px; font-weight: 700; flex: 1; }
.svc__more { max-height: 0; overflow: hidden; opacity: 0; padding-left: 52px; color: var(--text-2); font-size: 16px; transition: max-height .35s, opacity .35s, margin-top .35s; }
.svc:hover .svc__more, .svc:focus-within .svc__more { max-height: 80px; margin-top: 12px; opacity: 1; }

/* ---------- steps (process) ---------- */
.steps { display: grid; gap: 48px; grid-template-columns: 1fr; }
@media (min-width: 480px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 768px) { .steps { grid-template-columns: repeat(var(--cols, 4), 1fr); } }
.step { padding-top: 24px; border-top: 1px solid var(--border); }
.step .dot { display: block; font-size: 15px; color: var(--text-2); }
.step h3 { font-size: 21px; font-weight: 700; margin: 16px 0 10px; }
.step p { font-size: 15px; color: var(--text-2); }

/* ---------- about ---------- */
.about { display: flex; flex-direction: column; gap: 48px; align-items: stretch; }
.about__photo { width: 100%; max-width: 390px; aspect-ratio: 1 / 1; align-self: flex-start; flex-shrink: 0; background: var(--bg-off); border: 1px solid var(--border); overflow: hidden; }
.about__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; display: block; }
.about h2 { font-size: clamp(28px, 4vw, 44px); font-weight: 800; letter-spacing: -.02em; max-width: 520px; }
.about .lead { margin-top: 24px; font-size: 18px; color: var(--text-2); max-width: 520px; }
.about .lead + .lead { margin-top: 18px; }
.facts { margin-top: 40px; }
.fact { display: flex; flex-direction: column; gap: 4px; padding: 18px 0; border-top: 1px solid var(--border); }
.fact:last-child { border-bottom: 1px solid var(--border); }
.fact span { color: var(--text-2); font-size: 15px; }
@media (min-width: 640px) and (max-width: 767px), (min-width: 1024px) { .fact { flex-direction: row; gap: 20px; } .fact strong { min-width: 210px; } }
.about > :last-child { flex: 1; min-width: 0; }
@media (min-width: 768px) { .about { flex-direction: row; gap: 48px; } .about__photo { width: 390px; } }
@media (min-width: 1024px) { .about { gap: 80px; } }

/* ---------- ticker (EN) ---------- */
.ticker { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); overflow: hidden; padding: 28px 0; }
.ticker__track { display: flex; gap: 64px; padding-right: 64px; white-space: nowrap; width: max-content; animation: slide 32s linear infinite; }
.ticker__track span { font-size: 26px; font-weight: 700; color: var(--text-2); opacity: .5; }
@keyframes slide { to { transform: translateX(-50%); } }

/* ---------- cards grid (BN: problems / solutions) ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); }
.card { background: var(--bg); padding: 32px 28px; transition: background-color .3s; }
.card:hover { background: var(--bg-off); }
.card .icon { width: 30px; height: 30px; margin-bottom: 22px; }
.card .icon svg { width: 100%; height: 100%; stroke: currentColor; fill: none; }
.card h3 { font-size: 17px; font-weight: 700; margin-bottom: 10px; }
.card p { font-size: 15px; color: var(--text-2); line-height: 1.7; }
@media (max-width: 860px) { .cards { grid-template-columns: 1fr; } }

/* ---------- quote band (BN) ---------- */
.band { background: var(--bg-off); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 96px 0; text-align: center; }
.band blockquote { font-size: clamp(20px, 2.6vw, 28px); font-weight: 600; line-height: 1.6; max-width: 720px; margin: 0 auto; }

/* ---------- reviews marquee (BN) ---------- */
.reviews { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.reviews__track { display: flex; gap: 18px; padding-right: 18px; width: max-content; animation: slide 48s linear infinite; }
.reviews__track:hover { animation-play-state: paused; }
.review-card { width: 340px; flex: 0 0 340px; background: var(--bg); border: 1px solid var(--border); padding: 32px 28px; display: flex; flex-direction: column; transition: background-color .3s; }
.review-card:hover { background: var(--bg-off); }
.stars { letter-spacing: 2px; margin-bottom: 18px; font-size: 14px; }
.review-text { font-size: 15px; color: var(--text-2); line-height: 1.75; flex-grow: 1; }
.who { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--border); }
.who .name { font-size: 15px; font-weight: 600; }
.who .role { font-size: 13px; color: var(--text-2); margin-top: 2px; }
.site-link { margin-top: 14px; display: inline-flex; width: fit-content; font-size: 13px; color: var(--text-2); border-bottom: 1px solid transparent; transition: color .25s, border-color .25s; }
.site-link:hover { color: var(--text); border-color: var(--border); }
@media (max-width: 640px) { .review-card { width: 280px; flex-basis: 280px; } }

/* ---------- call-to-action (inverted band) ---------- */
.cta { padding: 130px 0; background: var(--invert-bg); color: var(--invert-text); }
.cta h2 { font-size: clamp(34px, 6vw, 68px); font-weight: 800; letter-spacing: -.02em; max-width: 820px; }
.cta p { margin-top: 22px; font-size: 18px; opacity: .65; max-width: 440px; }
.cta .btn { margin-top: 44px; }
@media (max-width: 640px) { .cta { padding: 90px 0; } }

/* ---------- contact: WhatsApp + email only ---------- */
.contact { display: grid; grid-template-columns: 1fr; gap: 48px; align-items: start; }
.contact h2 { font-size: clamp(28px, 4vw, 40px); font-weight: 800; letter-spacing: -.02em; margin-top: 10px; max-width: 520px; }
.contact__note { margin-top: 16px; font-size: 17px; color: var(--text-2); max-width: 420px; }
.contact__list li { border-top: 1px solid var(--border); }
.contact__list li:last-child { border-bottom: 1px solid var(--border); }
.contact__link { display: flex; align-items: center; gap: 18px; padding: 26px 0; }
.contact__icon { width: 46px; height: 46px; flex-shrink: 0; border: 1px solid var(--border); border-radius: 50%; display: grid; place-items: center; transition: background-color .25s, color .25s, border-color .25s; }
.contact__icon svg { width: 18px; height: 18px; stroke: currentColor; }
.contact__link:hover .contact__icon { background: var(--text); border-color: var(--text); color: var(--bg); }
.contact__text small { display: block; font-size: 13px; color: var(--text-2); }
.contact__text strong { display: block; font-size: 19px; font-weight: 600; margin-top: 2px; overflow-wrap: anywhere; }
.contact__link .arr { margin-left: auto; color: var(--text-2); }
.contact__link:hover .arr { transform: translate(3px, -3px); color: var(--text); }
@media (min-width: 768px) { .contact { grid-template-columns: 1fr 1fr; gap: 80px; } }

/* ---------- footer ---------- */
.footer { border-top: 1px solid var(--border); padding: 60px 0 calc(40px + env(safe-area-inset-bottom, 0px)); }
.footer__top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 32px; }
.footer strong { display: block; font-size: 16px; font-weight: 800; }
.footer .tag { font-size: 14px; color: var(--text-2); }
.footer ul { display: flex; flex-wrap: wrap; gap: 28px; }
.footer ul a { font-size: 14px; color: var(--text-2); transition: color .25s; }
.footer ul a:hover { color: var(--text); }
.footer__bottom { margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--border); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 13px; color: var(--text-2); }

/* ---------- floating WhatsApp button (BN) ---------- */
.wa-fab {
  position: fixed; z-index: 45; width: 56px; height: 56px; border-radius: 50%;
  right: calc(20px + env(safe-area-inset-right, 0px)); bottom: calc(20px + env(safe-area-inset-bottom, 0px));
  background: var(--text); color: var(--bg); display: grid; place-items: center;
  box-shadow: 0 8px 28px rgba(0, 0, 0, .28); transition: transform .3s;
}
.wa-fab:hover { transform: translateY(-3px); }
.wa-fab svg { width: 26px; height: 26px; fill: currentColor; }
@media (max-width: 480px) { .wa-fab { width: 50px; height: 50px; right: 14px; bottom: 14px; } }

/* ---------- Bengali: taller line-height, no negative tracking ---------- */
html[lang="bn"] body { line-height: 1.7; }
html[lang="bn"] h1, html[lang="bn"] h2, html[lang="bn"] h3 { letter-spacing: 0; }
html[lang="bn"] .title { font-size: clamp(26px, 3.8vw, 42px); line-height: 1.4; max-width: 820px; }
html[lang="bn"] .about h2, html[lang="bn"] .contact h2 { font-size: clamp(26px, 3.4vw, 38px); line-height: 1.4; }
html[lang="bn"] .cta h2 { font-size: clamp(28px, 4.6vw, 52px); line-height: 1.4; }
html[lang="bn"] .project h3 { font-size: 26px; }
html[lang="bn"] .card h3, html[lang="bn"] .step h3 { line-height: 1.5; }
html[lang="bn"] .step .dot, html[lang="bn"] .project__num { font-size: 14px; }

/* =====================================================================
   NAVBAR (shared by both pages — markup in inc/nav.php, behaviour in assets/js/nav.js)
   ===================================================================== */
/* Shared navbar — used by index.php (EN) and bn.php (BN).
   Self-contained: works with Tailwind's reset and with the Bengali page's own reset.
   Pages can set --zn-maxw / --zn-pad / --zn-h on :root to match their content width. */

.zn, .zn *, .zn *::before, .zn *::after { box-sizing: border-box; }

/* ---- tokens: light (default) ---- */
.zn {
  --zn-bg: rgba(242, 242, 242, .92);   /* light-mode navbar: soft light gray */
  --zn-fg: #111111;
  --zn-fg2: #5f5f5f;
  --zn-line: rgba(0, 0, 0, .09);
  --zn-hover: rgba(0, 0, 0, .06);
  --zn-shadow: 0 10px 30px rgba(0, 0, 0, .06);
}
/* ---- tokens: dark ---- */
:root[data-theme="dark"] .zn {
  --zn-bg: rgba(14, 14, 15, .84);
  --zn-fg: #f4f4f1;
  --zn-fg2: #a2a29c;
  --zn-line: rgba(255, 255, 255, .1);
  --zn-hover: rgba(255, 255, 255, .09);
  --zn-shadow: 0 14px 36px rgba(0, 0, 0, .4);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) .zn {
    --zn-bg: rgba(14, 14, 15, .84);
    --zn-fg: #f4f4f1;
    --zn-fg2: #a2a29c;
    --zn-line: rgba(255, 255, 255, .1);
    --zn-hover: rgba(255, 255, 255, .09);
    --zn-shadow: 0 14px 36px rgba(0, 0, 0, .4);
  }
}

/* ---- shell ---- */
.zn {
  position: sticky; top: 0; z-index: 50;
  padding-top: env(safe-area-inset-top, 0px);
  background: var(--zn-bg);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--zn-line);
  color: var(--zn-fg);
  font-family: inherit;
  transition: box-shadow .35s ease;
}
.zn.is-scrolled { box-shadow: var(--zn-shadow); }
.zn a { color: inherit; text-decoration: none; }
.zn ul { list-style: none; margin: 0; padding: 0; }
.zn li { margin: 0; padding: 0; }

.zn-bar {
  max-width: var(--zn-maxw, 1200px);
  margin: 0 auto;
  padding: 0 var(--zn-pad, 32px);
  height: var(--zn-h, 72px);
  display: flex; align-items: center; gap: 24px;
  transition: height .35s ease;
}
.zn.is-scrolled .zn-bar { height: calc(var(--zn-h, 72px) - 12px); }

.zn-brand { flex: 1 1 0; font-size: 18px; font-weight: 800; letter-spacing: -.01em; line-height: 1; white-space: nowrap; }
.zn[lang="bn"] .zn-brand { font-weight: 400; letter-spacing: .02em; }

/* ---- desktop menu ---- */
.zn-menu { display: none; gap: 36px; }
.zn-menu a, .zn-drawer a { font-size: 15px; font-weight: 500; color: var(--zn-fg2); transition: color .25s ease; }
.zn-menu a:hover, .zn-drawer a:hover { color: var(--zn-fg); }
.zn[lang="bn"] .zn-menu a, .zn[lang="bn"] .zn-drawer a { font-weight: 400; font-size: 16px; }

/* ---- right-hand tools ---- */
.zn-tools { flex: 1 1 0; display: flex; align-items: center; justify-content: flex-end; gap: 8px; }
.zn-icon {
  position: relative; flex: 0 0 auto;
  width: 38px; height: 38px; padding: 0; margin: 0;
  display: inline-flex; align-items: center; justify-content: center;
  background: transparent; color: var(--zn-fg);
  border: 1px solid var(--zn-line); border-radius: 50%;
  cursor: pointer; font: inherit;
  transition: background .3s ease, border-color .3s ease, color .3s ease;
}
.zn-icon:hover { background: var(--zn-fg); border-color: var(--zn-fg); }
.zn-icon svg { width: 16px; height: 16px; stroke: currentColor; fill: none; display: block; transition: stroke .3s ease, fill .3s ease; }
.zn-icon:hover svg { stroke: var(--zn-bg-solid, #fff); }
.zn-wa svg { stroke: none; fill: currentColor; width: 15px; height: 15px; }
.zn-wa:hover svg { stroke: none; fill: var(--zn-bg-solid, #fff); }

/* language switcher (text in a circle: "বাং" on the English page, "EN" on the Bengali page) */
.zn-lang { font-size: 12px; font-weight: 600; line-height: 1; letter-spacing: .02em; }
.zn-lang:hover { color: var(--zn-bg-solid, #fff); }

/* hover glyph colour = the page colour that is opposite to the icon colour */
.zn { --zn-bg-solid: #f2f2f2; }
:root[data-theme="dark"] .zn { --zn-bg-solid: #0e0e0f; }
@media (prefers-color-scheme: dark) { :root:not([data-theme]) .zn { --zn-bg-solid: #0e0e0f; } }

/* theme toggle: sun in light mode, moon in dark mode */
.zn-theme svg { position: absolute; transition: opacity .3s ease, transform .3s ease, stroke .3s ease; }
.zn-theme .zn-sun  { opacity: 0; transform: rotate(-40deg) scale(.6); }
.zn-theme .zn-moon { opacity: 1; transform: none; }
:root[data-theme="light"] .zn-theme .zn-sun  { opacity: 1; transform: none; }
:root[data-theme="light"] .zn-theme .zn-moon { opacity: 0; transform: rotate(40deg) scale(.6); }
@media (prefers-color-scheme: light) {
  :root:not([data-theme]) .zn-theme .zn-sun  { opacity: 1; transform: none; }
  :root:not([data-theme]) .zn-theme .zn-moon { opacity: 0; }
}

/* ---- burger (mobile) ---- */
.zn-burger { display: inline-flex; flex-direction: column; gap: 4px; }
.zn-burger span { display: block; width: 16px; height: 1.5px; background: currentColor; transition: transform .3s ease, opacity .2s ease, background .3s ease; }
.zn-burger:hover span { background: var(--zn-bg-solid, #fff); }
.zn.is-open .zn-burger span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.zn.is-open .zn-burger span:nth-child(2) { opacity: 0; }
.zn.is-open .zn-burger span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

/* ---- mobile drawer ---- */
.zn-drawer { display: none; border-top: 1px solid var(--zn-line); }
.zn.is-open .zn-drawer { display: block; }
.zn-drawer li + li { border-top: 1px solid var(--zn-line); }
.zn-drawer a { display: block; padding: 17px var(--zn-pad, 32px); max-width: var(--zn-maxw, 1200px); margin: 0 auto; font-size: 16px; color: var(--zn-fg); }

@media (min-width: 768px) {
  .zn-menu { display: flex; }
  .zn-burger { display: none; }
  .zn-drawer, .zn.is-open .zn-drawer { display: none; }
}
@media (max-width: 380px) {
  .zn-bar { gap: 12px; }
  .zn-tools { gap: 6px; }
  .zn-icon { width: 36px; height: 36px; }
}

.zn a:focus-visible, .zn button:focus-visible { outline: 2px solid var(--zn-fg); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) {
  .zn, .zn * { transition-duration: .01ms !important; }
}

/* eyebrow label inside the inverted CTA band */
.cta .eyebrow { color: inherit; opacity: .65; margin-bottom: 14px; }

/* =====================================================================
   CONTACT FORM (English page)
   ===================================================================== */
.contact__list { margin-top: 40px; }
.form { min-width: 0; }
.field { margin-bottom: 26px; }
.field > label, .field__label { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-size: 13px; color: var(--text-2); margin-bottom: 8px; }
.field .req { color: var(--text); }
.field input[type="text"], .field input[type="email"], .field textarea {
  width: 100%; border: 0; border-bottom: 1px solid var(--border); padding: 10px 0; border-radius: 0;
  font: inherit; font-size: 16px; color: var(--text); background: transparent; transition: border-color .2s;
}
.field input:focus, .field textarea:focus { outline: none; border-bottom-color: var(--text); }
.field textarea { resize: vertical; min-height: 120px; line-height: 1.6; }
.field input:user-invalid, .field textarea:user-invalid { border-bottom-color: #d92d20; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* budget slider */
.budget__value { font-size: 15px; font-weight: 700; color: var(--text-2); font-variant-numeric: tabular-nums; }
.budget__value.is-set { color: var(--text); }
.budget input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 28px; background: transparent; margin: 0; cursor: pointer; --pct: 0%; }
.budget input[type="range"]::-webkit-slider-runnable-track { height: 3px; border-radius: 3px; background: linear-gradient(to right, var(--text) var(--pct), var(--border) var(--pct)); }
.budget input[type="range"]::-moz-range-track { height: 3px; border-radius: 3px; background: var(--border); }
.budget input[type="range"]::-moz-range-progress { height: 3px; border-radius: 3px; background: var(--text); }
.budget input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 20px; height: 20px; border-radius: 50%; background: var(--text); border: 3px solid var(--bg); box-shadow: 0 0 0 1px var(--text); margin-top: -8.5px; }
.budget input[type="range"]::-moz-range-thumb { width: 14px; height: 14px; border-radius: 50%; background: var(--text); border: 3px solid var(--bg); box-shadow: 0 0 0 1px var(--text); }
.budget input[type="range"]:focus-visible { outline: 2px solid var(--text); outline-offset: 4px; }
.budget__scale { display: flex; justify-content: space-between; font-size: 12px; color: var(--text-2); }

/* attachments */
.drop { position: relative; display: block; padding: 22px 18px; border: 1px dashed var(--border); text-align: center; font-size: 14px; color: var(--text-2); cursor: pointer; transition: border-color .2s, background-color .2s; }
.drop:hover, .drop.is-over, .drop:focus-within { border-color: var(--text); background: var(--bg-off); }
.drop strong { color: var(--text); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.drop small { display: block; margin-top: 4px; font-size: 12px; }
.drop input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.files { margin-top: 10px; }
.files li { display: flex; align-items: center; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--border); font-size: 14px; }
.files li span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.files li em { font-style: normal; font-size: 12px; color: var(--text-2); }
.files li button { width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--border); line-height: 1; color: var(--text-2); }
.files li button:hover { border-color: var(--text); color: var(--text); }

.form__foot { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.btn[disabled] { opacity: .6; cursor: progress; }
.form__status { font-size: 14px; color: var(--text-2); }
.form__status.is-ok { color: #157a3d; }
.form__status.is-err { color: #d92d20; }
:root[data-theme="dark"] .form__status.is-ok { color: #4ade80; }
:root[data-theme="dark"] .form__status.is-err { color: #f87171; }
.form__note { margin-top: 18px; font-size: 12px; color: var(--text-2); }
.field > label.drop { display: block; margin: 0; font-size: 14px; justify-content: initial; }
