/* Bikaner Engineering Works v2 prototype. "Cast iron & molten copper": warm stone, cast-iron charcoal bands, molten-orange accent. No framework. */
@font-face { font-family: "Plus Jakarta Sans"; src: url("fonts/jakarta-var-latin.woff2") format("woff2"); font-weight: 400 800; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("fonts/plex-mono-500-latin.woff2") format("woff2"); font-weight: 500; font-display: swap; }
:root {
  --bg-surface: #F7F6F2;
  --bg-card: #FFFFFF;
  --line: #E5E4DF;
  --bg-dark: #111315;
  --dark-card: #1A1D21;
  --dark-line: rgba(255, 255, 255, .08);
  --ink: #111315;
  --slate: #4B5563;
  --muted: #6B6B74;   /* spec #71717A nudged darker: 4.46:1 on stone missed AA */
  --on-dark: #F9FAFB;
  --on-dark-2: #9CA3AF;
  --molten: #D94E1F;
  --molten-hover: #B83D13;
  --steel: #1E293B;
  --wa: #16A34A;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --wrap: 1200px;
  --gut: 16px;
  --sans: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Consolas, monospace;
}
@media (min-width: 720px) { :root { --gut: 32px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 84px; interpolate-size: allow-keywords; }
body { margin: 0; background: var(--bg-surface); color: var(--slate); font: 400 1.0625rem/1.65 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--steel); text-underline-offset: 3px; text-decoration-color: rgba(30, 41, 59, .35); }
a:hover { color: var(--molten-hover); text-decoration-color: currentColor; }
:focus-visible { outline: 2px solid var(--molten); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { color: var(--ink); margin: 0 0 .5em; text-wrap: balance; font-family: var(--sans); }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 800; line-height: 1.12; letter-spacing: -.025em; }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.4rem); font-weight: 750; line-height: 1.2; letter-spacing: -.025em; }
h3 { font-size: 1.15rem; font-weight: 700; line-height: 1.3; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
strong { color: var(--ink); font-weight: 650; }
.wrap { width: min(100% - 2 * var(--gut), var(--wrap)); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 10px 14px; z-index: 99; border-radius: 10px; }
.skip:focus { left: 8px; }
.lede { font-size: clamp(1.08rem, 1.8vw, 1.22rem); max-width: 60ch; }
.answer { font-size: 1.12rem; color: var(--ink); max-width: 60ch; }
.muted, .note { color: var(--muted); font-size: .95rem; }
.num, .mono { font-family: var(--mono); font-weight: 500; font-variant-numeric: tabular-nums; }

/* eyebrow pill above major headings */
.eyebrow { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 16px; padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--bg-card); font: 500 .74rem/1.2 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--slate); }
.dark .eyebrow { background: var(--dark-card); border-color: var(--dark-line); color: var(--on-dark-2); }
.dot { width: 6px; height: 6px; border-radius: 50%; background: var(--molten); box-shadow: 0 0 0 0 rgba(217, 78, 31, .5); }
@media (prefers-reduced-motion: no-preference) {
  .dot { animation: pulse 2.2s var(--ease) infinite; }
  @keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(217, 78, 31, .5); } 70%, 100% { box-shadow: 0 0 0 7px rgba(217, 78, 31, 0); } }
}

/* ---------- Header: sticky glass with molten top bar ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(247, 246, 242, .85); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-top: 3px solid var(--molten); border-bottom: 1px solid rgba(0, 0, 0, .06); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 66px; }
.brand { color: var(--ink); text-decoration: none; font: 800 1.05rem/1.15 var(--sans); letter-spacing: -.02em; }
.brand:hover { color: var(--ink); }
.brand small { display: block; font: 500 .7rem/1.3 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-top: 2px; }
.nav-desktop { display: none; }
.nav-desktop a { color: var(--slate); text-decoration: none; font-size: .94rem; font-weight: 600; padding: 8px 12px; border-radius: 10px; transition: background .2s var(--ease), color .2s var(--ease); }
.nav-desktop a:hover { color: var(--ink); background: rgba(17, 19, 21, .05); }
.nav-desktop a[aria-current="page"] { color: var(--ink); background: var(--bg-card); box-shadow: inset 0 0 0 1px var(--line); }
.site-header .header-cta { display: none; min-height: 42px; padding: 9px 16px; }
.menu summary { list-style: none; cursor: pointer; display: grid; place-items: center; width: 46px; height: 46px; border: 1px solid var(--line); border-radius: 10px; background: var(--bg-card); }
.menu summary::-webkit-details-marker { display: none; }
.menu summary span, .menu summary span::before, .menu summary span::after { display: block; width: 18px; height: 2px; border-radius: 2px; background: var(--ink); position: relative; content: ""; transition: transform .2s var(--ease); }
.menu summary span::before { position: absolute; top: -6px; }
.menu summary span::after { position: absolute; top: 6px; }
.menu[open] summary span { background: transparent; }
.menu[open] summary span::before { top: 0; transform: rotate(45deg); }
.menu[open] summary span::after { top: 0; transform: rotate(-45deg); }
.menu nav { position: fixed; left: 0; right: 0; top: 66px; background: var(--bg-surface); border-bottom: 1px solid var(--line); padding: 8px var(--gut) 20px; display: grid; max-height: calc(100svh - 69px); overflow: auto; }
.menu nav a { color: var(--ink); text-decoration: none; padding: 13px 4px; border-bottom: 1px solid var(--line); font-weight: 600; }
.menu nav a[aria-current="page"] { color: var(--molten-hover); }
.menu nav .btn { margin-top: 16px; justify-content: center; border-bottom: 0; color: #fff; }
@media (min-width: 1024px) {
  .nav-desktop { display: flex; gap: 2px; }
  .site-header .header-cta { display: inline-flex; }
  .menu { display: none; }
}

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 12px 20px; border-radius: 10px; font: 600 1rem/1.2 var(--sans); text-decoration: none; cursor: pointer; border: 1px solid #D1D5DB; background: var(--bg-card); color: var(--ink); box-shadow: 0 1px 2px rgba(0, 0, 0, .04); transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease), border-color .2s var(--ease); }
.btn svg { width: 19px; height: 19px; flex: none; transition: transform .2s var(--ease); }
.btn:hover { color: var(--ink); border-color: #9CA3AF; }
.btn-primary { background: linear-gradient(180deg, #C9461A 0%, #B83D13 100%); border-color: #B83D13; color: #fff; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22), 0 4px 14px rgba(200, 67, 22, .28); }
.btn-primary:hover { color: #fff; border-color: var(--molten-hover); background: linear-gradient(180deg, #B83D13 0%, #9A3412 100%); transform: translateY(-1px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22), 0 8px 20px rgba(200, 67, 22, .32); }
.btn-primary:hover svg { transform: translateX(3px); }
.btn-wa svg { color: var(--wa); }
.btn-wa:hover { border-color: #86EFAC; background: #F0FDF4; }
.dark .btn:not(.btn-primary) { background: var(--dark-card); border-color: rgba(255, 255, 255, .16); color: var(--on-dark); box-shadow: none; }
.dark .btn:not(.btn-primary):hover { border-color: rgba(255, 255, 255, .36); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 10px; background: var(--bg-card); border: 1px solid var(--line); color: var(--ink); text-decoration: none; font: 500 .95rem/1.2 var(--mono); font-variant-numeric: tabular-nums; transition: border-color .2s var(--ease); }
.chip svg { width: 16px; height: 16px; color: var(--molten); }
.chip:hover { border-color: var(--steel); color: var(--ink); }
.pill { display: inline-flex; align-items: center; padding: 4px 10px; border-radius: 999px; border: 1px solid var(--line); background: var(--bg-surface); font: 500 .76rem/1.3 var(--mono); color: var(--steel); }

/* ---------- Home hero ---------- */
.hero { padding: 28px 0 56px; }
.hero .wrap { display: grid; gap: 28px; align-items: center; }
.hero h1 { max-width: 15ch; }
.hero .lede { margin-bottom: 26px; }
.hero-call { margin: 18px 0 0; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; color: var(--muted); font-size: .95rem; }
.hero-frame { position: relative; margin: 0; border-radius: 20px; overflow: hidden; box-shadow: 0 20px 40px -15px rgba(17, 19, 21, .12); isolation: isolate; }
.hero-frame img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; filter: contrast(1.04) saturate(1.05); }
.hero-frame::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, rgba(17, 19, 21, .18) 0%, transparent 30%), linear-gradient(0deg, rgba(17, 19, 21, .75) 0%, rgba(17, 19, 21, .2) 35%, transparent 65%); }
.hero-frame::after { content: ""; position: absolute; inset: 0; z-index: 3; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(17, 19, 21, .08); pointer-events: none; }
.hero-frame figcaption { position: absolute; z-index: 2; left: 14px; right: 14px; bottom: 14px; padding: 10px 14px; border-radius: 12px; background: rgba(17, 19, 21, .65); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid rgba(255, 255, 255, .15); color: #fff; font: 500 .82rem/1.4 var(--mono); }
@media (min-width: 960px) {
  .hero { padding: 56px 0 80px; }
  .hero .wrap { grid-template-columns: 1fr 1.05fr; gap: 56px; }
  .hero-frame img { aspect-ratio: 5 / 4; }
}

/* ---------- Inner page header ---------- */
.page-hero { padding: 36px 0 40px; border-bottom: 1px solid var(--line); }
.page-hero h1 { max-width: 22ch; font-size: clamp(2rem, 4.4vw, 3rem); }
.page-hero .lede { margin: 0; }
.crumbs { font-size: .88rem; margin-bottom: 18px; color: var(--muted); }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; }
.crumbs li + li::before { content: "/"; margin-right: 6px; }
.crumbs a { color: var(--slate); }

/* ---------- Sections ---------- */
.section { padding: 64px 0; content-visibility: auto; contain-intrinsic-size: auto 600px; } /* skip painting off-screen sections until needed */
@media (min-width: 720px) { .section { padding: 96px 0; } }
.section.alt { background: #EFEDE7; }
.dark { background: var(--bg-dark); color: var(--on-dark-2); }
.dark h2, .dark h3, .dark strong { color: var(--on-dark); }
.dark a { color: var(--on-dark); }
.section-head { max-width: 720px; margin-bottom: 36px; }
.split { display: grid; gap: 32px; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; } }
.grid { display: grid; gap: 16px; }
@media (min-width: 720px) { .g2 { grid-template-columns: repeat(2, 1fr); } .g3 { grid-template-columns: repeat(3, 1fr); } }
.card { background: var(--bg-card); border: 1px solid var(--line); border-radius: 16px; padding: 26px; transition: border-color .2s var(--ease), box-shadow .2s var(--ease), transform .2s var(--ease); }
.card p:last-child { margin-bottom: 0; }
a.card { color: var(--slate); text-decoration: none; display: flex; flex-direction: column; }
a.card:hover { border-color: #C9C7BF; box-shadow: 0 12px 28px -14px rgba(17, 19, 21, .18); transform: translateY(-2px); }
.more { margin-top: auto; padding-top: 16px; color: var(--ink); font-weight: 650; display: inline-flex; align-items: center; gap: 6px; }
.more svg { width: 16px; height: 16px; transition: transform .2s var(--ease); }
a.card:hover .more svg { transform: translateX(3px); }
.card-icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--bg-surface); border: 1px solid var(--line); color: var(--molten); margin-bottom: 18px; }
.card-icon svg { width: 22px; height: 22px; }
.pills { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 18px; }
.links-inline { display: flex; flex-wrap: wrap; gap: 8px 24px; font-weight: 600; }

/* product family spec cards */
.spec-card dl { margin: 18px 0 0; display: grid; gap: 0; }
.spec-card dl div { display: grid; grid-template-columns: 120px 1fr; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); }
.spec-card dt { color: var(--muted); font-size: .9rem; }
.spec-card dd { margin: 0; color: var(--ink); font-weight: 600; }

/* plant at a glance: dark bento */
.bento { display: grid; gap: 12px; grid-template-columns: 1fr 1fr; margin: 0; }
.bento > div { background: var(--dark-card); border: 1px solid rgba(255, 255, 255, .1); border-radius: 16px; padding: 22px 20px; display: grid; align-content: start; gap: 6px; }
.bento svg { width: 22px; height: 22px; color: var(--molten); margin-bottom: 14px; }
.bento dd { margin: 0; order: 1; color: var(--on-dark); font: 700 clamp(1.1rem, 2.2vw, 1.45rem)/1.3 var(--sans); letter-spacing: -.01em; }
.bento dd.big { font: 500 clamp(1.3rem, 4.6vw, 2.6rem)/1.15 var(--mono); white-space: nowrap; font-variant-numeric: tabular-nums; letter-spacing: 0; }
.bento dt { order: 2; color: var(--on-dark-2); font-size: .9rem; }
@media (min-width: 900px) { .bento { grid-template-columns: repeat(3, 1fr); gap: 16px; } .bento > div { padding: 28px; } }

/* spec tables (inner pages) */
.spec { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--bg-card); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; font-size: .98rem; }
.spec th, .spec td { text-align: left; vertical-align: top; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.spec tr:last-child th, .spec tr:last-child td { border-bottom: 0; }
.spec th { width: 40%; font-weight: 500; color: var(--muted); }
.spec td { font-weight: 600; color: var(--ink); }
.spec .num { font-size: .95rem; }
@media (max-width: 560px) {
  .spec th, .spec td { display: block; width: 100%; border: 0; padding: 2px 16px; }
  .spec th { padding-top: 14px; font-size: .88rem; }
  .spec tr { display: block; border-bottom: 1px solid var(--line); padding-bottom: 14px; }
  .spec tr:last-child { border-bottom: 0; }
}

/* process pipeline (dark) */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; counter-reset: step; }
.steps li { counter-increment: step; position: relative; background: var(--dark-card); border: 1px solid var(--dark-line); border-radius: 16px; padding: 22px 20px 22px 72px; }
.steps li::before { content: counter(step, decimal-leading-zero); position: absolute; left: 20px; top: 21px; font: 500 1rem/1 var(--mono); color: #FB923C; padding: 6px 7px; border-radius: 8px; background: rgba(217, 78, 31, .12); }
.steps h3 { font-size: 1.05rem; margin: 0 0 4px; color: var(--on-dark); }
.steps p { margin: 0; font-size: .95rem; color: var(--on-dark-2); }
.steps li.pending { border-style: dashed; border-color: rgba(255, 255, 255, .22); background: transparent; }
.steps li.pending .pitch { display: inline-block; font: 500 .74rem/1.3 var(--mono); font-style: normal; letter-spacing: .04em; text-transform: uppercase; color: #FCD34D; border: 1px solid rgba(252, 211, 77, .35); border-radius: 999px; padding: 4px 10px; margin-top: 4px; }
@media (min-width: 980px) {
  .steps { grid-template-columns: repeat(6, 1fr); gap: 14px; }
  .steps li { padding: 64px 18px 22px; }
  .steps li::before { left: 18px; top: 20px; }
  .steps li:not(:last-child)::after { content: ""; position: absolute; top: 34px; left: calc(100% + 1px); width: 13px; height: 1px; background: rgba(217, 78, 31, .55); }
}

/* plant photos: rounded cards, docked dark caption */
.photos { display: grid; gap: 20px; }
@media (min-width: 720px) { .photos { grid-template-columns: 1fr 1fr; } }
.photos figure { margin: 0; border-radius: 16px; overflow: hidden; background: var(--steel); border: 1px solid var(--line); }
.photos picture, .photos .ph { display: block; overflow: hidden; }
.photos img, .photos div.ph { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: transform .4s var(--ease); }
.photos figure:hover img { transform: scale(1.03); }
.photos div.ph { border-radius: 0; border: 0; }
.photos figcaption { padding: 16px 20px 18px; background: var(--steel); color: #CBD5E1; }
.photos h3 { font-size: 1.02rem; margin: 0 0 2px; color: #fff; }
.photos p { margin: 0; font-size: .93rem; }

/* clients: uniform logo cards, muted until hover */
.logo-strip { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; grid-template-columns: repeat(2, 1fr); }
.logo-strip li { display: grid; grid-template-rows: 110px auto; gap: 10px; }
.logo-strip .logo-box { background: var(--bg-card); border: 1px solid var(--line); border-radius: 12px; display: flex; align-items: center; justify-content: center; padding: 16px; transition: border-color .2s var(--ease); }
.logo-strip img { max-height: 70px; width: auto; max-width: 100%; object-fit: contain; filter: grayscale(.85) contrast(.95); opacity: .85; transition: filter .3s var(--ease), opacity .3s var(--ease); }
.logo-strip li:hover img { filter: none; opacity: 1; }
.logo-strip li:hover .logo-box { border-color: #C9C7BF; }
.logo-strip span.name { font-size: .86rem; line-height: 1.35; color: var(--ink); font-weight: 600; }
@media (max-width: 719px) { .logo-strip li:last-child:nth-child(odd) { grid-column: span 2; } }
@media (min-width: 720px) { .logo-strip { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1000px) { .logo-strip { grid-template-columns: repeat(5, 1fr); } }
.logo-strip.stack { grid-template-columns: 1fr; }
.logo-strip.stack li { grid-template-rows: none; grid-template-columns: 170px 1fr; align-items: center; gap: 16px; }
.logo-strip.stack .logo-box { height: 90px; }
.logo-strip.stack li:last-child:nth-child(odd) { grid-column: auto; }

/* FAQ accordion */
.faq { max-width: 880px; display: grid; gap: 10px; }
.faq details { background: var(--bg-card); border: 1px solid var(--line); border-radius: 16px; transition: border-color .2s var(--ease); }
.faq details[open] { border-color: #C9C7BF; }
.faq summary { cursor: pointer; list-style: none; padding: 18px 64px 18px 22px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 18px; top: 50%; width: 30px; height: 30px; margin-top: -15px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; color: var(--ink); font: 500 1.1rem/1 var(--mono); transition: transform .25s var(--ease), background .2s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); background: var(--bg-surface); }
.faq summary h3 { display: inline; font-size: 1.04rem; }
.faq .a { padding: 0 22px 20px; }
.faq .a p:last-child { margin: 0; }
.faq details::details-content { block-size: 0; overflow: clip; opacity: 0; transition: block-size .3s var(--ease), opacity .3s var(--ease), content-visibility .3s allow-discrete; }
.faq details[open]::details-content { block-size: auto; opacity: 1; }

/* closing RFQ banner (dark split card) */
.cta-band { position: relative; overflow: hidden; border-radius: 20px; background: var(--bg-dark); color: var(--on-dark-2); padding: 36px 24px; display: grid; gap: 28px; border: 1px solid var(--dark-line); }
.cta-band::before { content: ""; position: absolute; width: 520px; height: 520px; right: -180px; top: -260px; background: radial-gradient(closest-side, rgba(217, 78, 31, .35), transparent); pointer-events: none; }
.cta-band > * { position: relative; }
.cta-band h2 { color: var(--on-dark); margin-bottom: 10px; }
.cta-band p { margin: 0 0 18px; max-width: 52ch; }
.cta-band .pills .pill { background: var(--dark-card); border-color: rgba(255, 255, 255, .14); color: var(--on-dark); }
.cta-band .pills { padding-top: 0; }
.cta-band .btn-row { align-content: center; }
@media (min-width: 900px) { .cta-band { grid-template-columns: 1.2fr 1fr; padding: 56px; align-items: center; } .cta-band .btn-row { justify-content: flex-end; } }

/* placeholders. Pitch view (default): inline gaps hidden, image gaps are blueprint frames.
   Review view (?review=1, html.review): every gap dashed and labelled. */
.pitch { color: var(--muted); font-style: italic; }
.photos .pitch, .dark .pitch { color: #CBD5E1; }
html:not(.review) span.ph, html:not(.review) .ph-line, html:not(.review) .gap-label, .review .pitch, .review .card-label { display: none; }
div.ph { display: grid; place-items: center; text-align: center; padding: 24px; min-height: 150px; margin: 0; border-radius: 16px; border: 1px dashed #B9C2D0; color: var(--steel);
  background: linear-gradient(rgba(30, 41, 59, .06) 1px, transparent 1px) 0 0 / 22px 22px, linear-gradient(90deg, rgba(30, 41, 59, .06) 1px, transparent 1px) 0 0 / 22px 22px, #F4F6F9; }
.card-label { display: grid; justify-items: center; gap: 10px; font: 500 .86rem/1.4 var(--mono); letter-spacing: .02em; }
.card-label svg { width: 26px; height: 26px; color: var(--steel); opacity: .8; }
.ph-tile { aspect-ratio: 3 / 2; }
.ph-wide { min-height: 190px; }
.review .ph { border: 2px dashed var(--molten); background: #FFF4EE; color: var(--ink); border-radius: 8px; padding: 1px 6px; font-size: .95em; font-style: normal; }
.review span.ph { display: inline; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.review div.ph { padding: 22px; border-radius: 16px; }
.review .ph::before { content: "SAMPLE · CLIENT TO PROVIDE"; display: block; font: 500 .7rem/1.4 var(--mono); letter-spacing: .06em; color: var(--molten-hover); }
.review span.ph::before { display: inline; margin-right: 6px; }
.to-pitch, .review .to-review { display: none; }
.review .to-pitch { display: inline; }

/* contact + form */
.contact-grid { display: grid; gap: 24px; }
@media (min-width: 980px) { .contact-grid { grid-template-columns: 1.3fr 1fr; align-items: start; } }
.nap { font-style: normal; display: grid; gap: 10px; }
.big-link { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg-surface); color: var(--ink); text-decoration: none; min-height: 56px; transition: border-color .2s var(--ease); }
.big-link:hover { border-color: #C9C7BF; color: var(--ink); }
.big-link svg { width: 22px; height: 22px; color: var(--molten); flex: none; }
.big-link span small { display: block; color: var(--muted); font-size: .82rem; }
form.rfq { display: grid; gap: 16px; }
.row2 { display: grid; gap: 16px; }
@media (min-width: 620px) { .row2 { grid-template-columns: 1fr 1fr; } }
label { display: grid; gap: 6px; font-size: .93rem; font-weight: 600; color: var(--ink); }
label .opt { color: var(--muted); font-weight: 400; }
input, select, textarea { font: 400 1rem/1.4 var(--sans); color: var(--ink); background: var(--bg-card); border: 1px solid #8B8E95; border-radius: 10px; padding: 12px 14px; width: 100%; min-height: 48px; transition: border-color .2s var(--ease), box-shadow .2s var(--ease); }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--molten); box-shadow: 0 0 0 3px rgba(217, 78, 31, .18); }
textarea { min-height: 110px; resize: vertical; }
.drop { border: 1px dashed #8B8E95; border-radius: 12px; padding: 22px; text-align: center; cursor: pointer; display: block; background: var(--bg-surface); font-weight: 400; color: var(--slate); transition: border-color .2s var(--ease), background .2s var(--ease); }
.drop:hover, .drop.over { border-color: var(--molten); background: #FFF4EE; }
.drop svg { width: 26px; height: 26px; display: block; margin: 0 auto 6px; color: var(--molten); }
.drop strong { display: block; }
.drop input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.files { font-size: .9rem; color: var(--molten-hover); margin: 6px 0 0; }
.form-done { display: none; }
.form-done.show { display: block; }
.map-box { position: relative; border: 1px solid var(--line); border-radius: 16px; background: var(--bg-card); min-height: 300px; display: grid; place-items: center; text-align: center; padding: 24px; overflow: hidden; }
.map-box iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; z-index: 1; background: var(--bg-card); }

/* ---------- Footer (dark) ---------- */
.site-footer { background: var(--bg-dark); color: var(--on-dark-2); padding: 56px 0 24px; font-size: .95rem; }
.site-footer .brand, .site-footer .brand:hover { color: var(--on-dark); }
.site-footer .brand small { color: var(--on-dark-2); }
.site-footer a { color: var(--on-dark); }
.foot-grid { display: grid; gap: 28px; }
@media (min-width: 860px) { .foot-grid { grid-template-columns: 1.5fr 1fr 1fr; } }
.site-footer h2 { font: 500 .78rem/1.3 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--on-dark-2); margin-bottom: 12px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer ul a { display: inline-block; padding: 5px 0; color: var(--on-dark); text-decoration: none; }
.site-footer ul a:hover { color: #FDBA74; }
.legal { border-top: 1px solid var(--dark-line); margin-top: 36px; padding-top: 18px; display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; font-size: .86rem; }

/* phone action bar */
.action-bar { position: fixed; z-index: 60; left: 8px; right: 8px; bottom: 8px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; padding: 6px; background: rgba(17, 19, 21, .92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-radius: 16px; margin-bottom: env(safe-area-inset-bottom); }
.action-bar a { display: grid; justify-items: center; gap: 2px; padding: 7px 4px 8px; color: var(--on-dark); text-decoration: none; font-size: .78rem; font-weight: 600; min-height: 52px; border-radius: 10px; }
.action-bar a svg { width: 21px; height: 21px; }
.action-bar a.wa svg { color: #4ADE80; }
.action-bar a.q { background: linear-gradient(180deg, #C9461A 0%, #B83D13 100%); color: #fff; }
body { padding-bottom: 76px; }
@media (min-width: 860px) { .action-bar { display: none; } body { padding-bottom: 0; } }

/* floating Call + WhatsApp: laptop and up only (phones already have the action bar) */
.fab { display: none; }
@media (min-width: 860px) {
  .fab { position: fixed; z-index: 60; right: 24px; bottom: 24px; display: grid; gap: 12px; }
  .fab a { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; color: #fff; box-shadow: 0 6px 18px rgba(17, 19, 21, .25); transition: transform .2s var(--ease); }
  .fab a:hover { transform: translateY(-2px); }
  .fab a:focus-visible { outline: 3px solid var(--molten); outline-offset: 3px; }
  .fab svg { width: 26px; height: 26px; }
  .fab .fab-call { background: var(--bg-card); color: var(--ink); border: 1px solid var(--line); } /* white, so it still shows on the dark footer */
  .fab-wa { background: #128C7E; } /* not #25D366: white glyph on it fails 3:1 */
}
@media (min-width: 860px) and (max-width: 1360px) { .legal { margin-right: 72px; } } /* keep footer links clear of the buttons */
/* get out of the way of the keyboard and inputs while someone types */
body:has(:is(input:not([type=file], [type=checkbox], [type=radio]), select, textarea):focus) :is(.fab, .action-bar) { display: none; }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } .faq details::details-content { transition: none; } }
