/* Rovana Trade — site styles
   Palette: galvanized zinc greys + Rovana orange. Type: IBM Plex (Arabic, Sans, Condensed). */
@font-face { font-family: "Plex Arabic"; src: url("../fonts/IBMPlexSansArabic-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Plex Arabic"; src: url("../fonts/IBMPlexSansArabic-Medium.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Plex Arabic"; src: url("../fonts/IBMPlexSansArabic-SemiBold.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Plex Arabic"; src: url("../fonts/IBMPlexSansArabic-Bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Plex Condensed"; src: url("../fonts/IBMPlexSansCondensed-Medium.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Plex Condensed"; src: url("../fonts/IBMPlexSansCondensed-SemiBold.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Plex Condensed"; src: url("../fonts/IBMPlexSansCondensed-Bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }
:root {
  --paper: #f6f7f8;
  --zinc: #e7ebee;
  --zinc-2: #d8dee3;
  --line: #c3ccd3;
  --steel: #56636e;
  --graphite: #1f262c;
  --white: #fff;
  --orange: #e8601c;
  --orange-ink: #b4470d;
  --ok: #1e6b3a;
  --err: #a1251a;
  --radius: 4px;
  --wrap: 1180px;
  --gap: clamp(16px, 3vw, 32px);
  --font: "Plex Arabic", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-ar: "Plex Arabic", Tahoma, sans-serif;
  --font-head: "Plex Condensed", "Plex Arabic", system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; }
body {
  margin: 0; background: var(--paper); color: var(--graphite);
  font: 400 1.0625rem/1.65 var(--font);
  text-rendering: optimizeLegibility;
}
.is-ar { font-family: var(--font-ar); line-height: 1.8; }
img { max-width: 100%; height: auto; display: block; }
picture { display: contents; }
a { color: var(--orange-ink); text-underline-offset: 3px; }
a:hover { color: var(--graphite); }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; border-radius: 2px; }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; font-weight: 600; letter-spacing: -.005em; }
.is-en h1, .is-en h2, .is-en h3 { font-family: var(--font-head); }
.is-ar h1, .is-ar h2, .is-ar h3 { font-weight: 700; line-height: 1.4; letter-spacing: 0; }
h1 { font-size: clamp(2rem, 4.4vw, 3.25rem); }
h2 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
.lead { font-size: 1.18rem; color: var(--steel); max-width: 62ch; }
.wrap { width: min(var(--wrap), 100% - 2 * var(--gap)); margin-inline: auto; }
.narrow { max-width: 780px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; inset-inline-start: 8px; top: -60px; background: var(--graphite); color: #fff; padding: 10px 14px; z-index: 100; }
.skip:focus { top: 8px; }
.hp { position: absolute; inset-inline-start: -9999px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 44px; padding: .55em 1.15em; border-radius: var(--radius);
  font: 600 1rem/1.2 inherit; text-decoration: none; cursor: pointer;
  border: 2px solid transparent; transition: background .15s, color .15s, border-color .15s;
}
.btn-lg { min-height: 52px; padding-inline: 1.5em; font-size: 1.05rem; }
.btn-primary { background: var(--orange); color: #fff; }
.btn-primary:hover { background: #c94f12; color: #fff; }
.btn-ghost { border-color: var(--graphite); color: var(--graphite); background: transparent; }
.btn-ghost:hover { background: var(--graphite); color: #fff; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.5rem; }

/* Header */
.top { position: sticky; top: 0; z-index: 50; background: var(--white); border-bottom: 1px solid var(--zinc-2); }
.top-in { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--graphite); text-decoration: none; }
.brand-mark { width: 40px; height: 28px; color: var(--graphite); }
.brand-word { font: 700 1.35rem/1 var(--font-head); letter-spacing: .02em; direction: ltr; }
.brand-word span { font-weight: 500; color: var(--orange); margin-inline-start: .3em; letter-spacing: .08em; font-size: .78em; }
.brand-light, .brand-light .brand-mark { color: #fff; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav ul { display: flex; gap: 22px; list-style: none; margin: 0; padding: 0; }
.nav ul a { color: var(--graphite); text-decoration: none; font-weight: 500; padding: 6px 0; border-bottom: 2px solid transparent; }
.nav ul a:hover, .nav ul a[aria-current] { border-bottom-color: var(--orange); }
.nav-extra { display: flex; align-items: center; gap: 16px; }
.lang { color: var(--steel); font-weight: 600; text-decoration: none; }
.menu-btn { display: none; width: 44px; height: 44px; border: 0; background: none; cursor: pointer; position: relative; }
.menu-btn > span:first-child, .menu-btn > span:first-child::before, .menu-btn > span:first-child::after {
  position: absolute; left: 11px; width: 22px; height: 2px; background: var(--graphite); content: ""; transition: transform .2s;
}
.menu-btn > span:first-child { top: 21px; }
.menu-btn > span:first-child::before { left: 0; top: -7px; }
.menu-btn > span:first-child::after { left: 0; top: 7px; }
.menu-btn[aria-expanded="true"] > span:first-child { background: transparent; }
.menu-btn[aria-expanded="true"] > span:first-child::before { transform: translateY(7px) rotate(45deg); }
.menu-btn[aria-expanded="true"] > span:first-child::after { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1020px) {
  .menu-btn { display: block; }
  .nav { position: fixed; inset: 72px 0 0 0; background: var(--white); flex-direction: column; align-items: stretch;
    padding: 20px var(--gap) 40px; gap: 20px; transform: translateY(-8px); opacity: 0; visibility: hidden; transition: .2s; overflow-y: auto; }
  .nav.open { transform: none; opacity: 1; visibility: visible; }
  .nav ul { flex-direction: column; gap: 0; }
  .nav ul a { display: block; padding: 14px 0; border-bottom: 1px solid var(--zinc-2); font-size: 1.1rem; }
  .nav-extra { flex-direction: column; align-items: stretch; }
  .nav-extra .btn { min-height: 52px; }
  .lang { padding: 8px 0; }
}

/* Breadcrumbs */
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0; padding: 14px 0 0; font-size: .9rem; color: var(--steel); }
.crumbs li + li::before { content: "/"; margin-inline-end: 6px; color: var(--line); }
.crumbs a { color: var(--steel); text-decoration: none; }
.crumbs a:hover { color: var(--orange-ink); }

/* Hero: the drawing on a graph-paper panel is the site's signature */
.hero { background: var(--white); border-bottom: 1px solid var(--zinc-2); padding: clamp(32px, 6vw, 72px) 0 0; }
.hero-in { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(24px, 5vw, 64px); align-items: center; }
.hero-kicker { color: var(--steel); font-weight: 500; margin-bottom: .75rem; }
.hero h1 { max-width: 16ch; }
.is-ar .hero h1 { max-width: 18ch; }
.hero-drawing {
  margin: 0; padding: clamp(16px, 3vw, 28px); border: 1px solid var(--line); border-radius: var(--radius);
  background-color: #f3f6f8;
  background-image:
    linear-gradient(var(--zinc-2) 1px, transparent 1px),
    linear-gradient(90deg, var(--zinc-2) 1px, transparent 1px),
    linear-gradient(rgba(195,204,211,.45) 1px, transparent 1px),
    linear-gradient(90deg, rgba(195,204,211,.45) 1px, transparent 1px);
  background-size: 60px 60px, 60px 60px, 12px 12px, 12px 12px;
}
.hero-drawing figcaption { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: .9rem; color: var(--steel); border-top: 1px solid var(--line); padding-top: 12px; margin-top: 8px; }
.hero-drawing figcaption a { font-weight: 600; }
.facts { display: grid; grid-template-columns: repeat(4, 1fr); margin: clamp(32px, 5vw, 56px) 0 0; border-top: 1px solid var(--zinc-2); }
.facts div { display: flex; flex-direction: column-reverse; padding: 20px 0; padding-inline-end: 16px; }
.facts div + div { border-inline-start: 1px solid var(--zinc-2); padding-inline-start: 20px; }
.facts dd { margin: 0; font: 600 1.6rem/1.1 var(--font-head); direction: ltr; text-align: start; }
.facts dt { color: var(--steel); font-size: .92rem; margin-top: 4px; }
@media (max-width: 860px) {
  .hero-in { grid-template-columns: 1fr; }
  .facts { grid-template-columns: 1fr 1fr; }
  .facts div:nth-child(3) { border-inline-start: 0; padding-inline-start: 0; }
  .facts div:nth-child(n+3) { border-top: 1px solid var(--zinc-2); }
}

/* Technical drawings */
.drawing { width: 100%; height: auto; color: var(--graphite); overflow: visible; }
.drawing .steel { fill: none; stroke: currentColor; stroke-width: 5; stroke-linejoin: miter; stroke-linecap: square; }
.drawing .steel .thin { stroke-width: 3; }
.drawing .fill { fill: var(--steel); stroke: none; }
.drawing .fillc, .drawing .holes { fill: currentColor; }
.drawing .holes rect { fill: #f3f6f8; stroke: currentColor; stroke-width: 1.5; }
.drawing .hidden-line { stroke: var(--steel); stroke-width: 1.5; stroke-dasharray: 6 5; fill: none; }
.drawing .dim { color: var(--orange); stroke: var(--orange); stroke-width: 1.3; fill: none; }
.drawing .dim text { fill: var(--orange-ink); stroke: none; font: 600 15px var(--font-head); text-anchor: middle; }
.drawing .dim text.v { text-anchor: start; }
.drawing .dim text.l { text-anchor: start; }

/* Sections */
.section { padding: clamp(48px, 7vw, 88px) 0; }
.section-tight { padding: clamp(36px, 5vw, 56px) 0; }
.section-flat { padding-block: clamp(28px, 4vw, 48px) clamp(48px, 6vw, 72px); }
.section-steel { background: var(--zinc); }
.sec-head { display: flex; justify-content: space-between; align-items: end; gap: 16px; flex-wrap: wrap; margin-bottom: 28px; }
.sec-head h2 { margin: 0; max-width: 34ch; }
.sec-sub { color: var(--steel); max-width: 60ch; margin-bottom: 28px; }
.more { font-weight: 600; white-space: nowrap; }
.page-head { padding: clamp(28px, 5vw, 56px) 0 clamp(20px, 3vw, 32px); }
.page-head h1 { max-width: 22ch; }

/* Product index: rows like a catalogue contents page */
.prod-index { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 360px), 1fr)); border-top: 1px solid var(--line); }
.prod-index li { border-bottom: 1px solid var(--line); }
.prod-index a { display: grid; grid-template-columns: 112px 1fr; gap: 18px; align-items: center; padding: 18px 0; padding-inline-end: 18px; text-decoration: none; color: var(--graphite); }
.prod-index a:hover strong { color: var(--orange-ink); }
.pi-draw { background: var(--white); border: 1px solid var(--zinc-2); border-radius: var(--radius); padding: 8px; aspect-ratio: 4 / 3; display: grid; place-items: center; overflow: hidden; }
.pi-draw img { width: 100%; height: 100%; object-fit: cover; }
.pi-text strong { display: block; font-size: 1.08rem; margin-bottom: 4px; }
.pi-text span { display: block; color: var(--steel); font-size: .95rem; line-height: 1.5; }
.prod-index-compact a { grid-template-columns: 72px 1fr; padding: 12px 0; }
.cat-block { margin-bottom: 40px; }
.cat-block h2 { font-size: 1.35rem; margin-bottom: 12px; }

/* Process: real sequence, so numbered */
.process { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); counter-reset: step; border-top: 3px solid var(--graphite); }
.process li { counter-increment: step; padding: 18px 16px 0 0; padding-inline: 0 16px; position: relative; }
.process li::before { content: counter(step); display: block; font: 600 .95rem var(--font-head); color: var(--orange-ink); margin-bottom: 6px; }
.process li::after { content: ""; position: absolute; top: -9px; inset-inline-start: 0; width: 15px; height: 15px; border-radius: 50%; background: var(--zinc); border: 3px solid var(--graphite); }
.process h3 { font-size: 1.1rem; margin-bottom: 4px; }
.process p { color: var(--steel); font-size: .95rem; margin: 0; }
@media (max-width: 960px) { .process { grid-template-columns: repeat(3, 1fr); row-gap: 28px; } }
@media (max-width: 560px) {
  .process { grid-template-columns: 1fr; border-top: 0; border-inline-start: 3px solid var(--graphite); row-gap: 20px; }
  .process li { padding: 0; padding-inline-start: 24px; }
  .process li::after { top: 4px; inset-inline-start: -9px; }
}

/* Projects */
.proj-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.proj-grid:has(> .proj:nth-child(4)) { grid-template-columns: repeat(4, 1fr); }
.proj-grid-3 .proj { aspect-ratio: 4 / 3; }
.proj { position: relative; display: block; overflow: hidden; border-radius: var(--radius); aspect-ratio: 4 / 3; background: var(--zinc-2); color: #fff; text-decoration: none; }
.proj img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.proj:hover img { transform: scale(1.03); }
.proj-lead { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
.proj-cap { position: absolute; inset: auto 0 0 0; padding: 40px 16px 14px; background: linear-gradient(transparent, rgba(20,25,29,.88)); }
.proj-cap strong { display: block; font-size: 1.05rem; line-height: 1.35; }
.proj-cap span { font-size: .88rem; opacity: .85; }
.proj:hover { color: #fff; }
@media (max-width: 760px) {
  .proj-grid, .proj-grid:has(> .proj:nth-child(4)) { grid-template-columns: 1fr 1fr; }
  .proj-lead { grid-column: span 2; grid-row: auto; aspect-ratio: 4 / 3; }
}
@media (max-width: 480px) { .proj-grid, .proj-grid:has(> .proj:nth-child(4)) { grid-template-columns: 1fr; } .proj-lead { grid-column: auto; } }

.proj-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.proj-list li { border-bottom: 1px solid var(--line); }
.proj-list a { display: grid; grid-template-columns: minmax(180px, 340px) 1fr; gap: clamp(16px, 3vw, 32px); align-items: center; padding: 22px 0; color: var(--graphite); text-decoration: none; }
.pl-img { display: block; aspect-ratio: 16 / 10; overflow: hidden; border-radius: var(--radius); background: var(--zinc-2); }
.pl-img img { width: 100%; height: 100%; object-fit: cover; }
.pl-text strong { display: block; font-size: 1.3rem; line-height: 1.35; margin-bottom: 6px; }
.proj-list a:hover strong { color: var(--orange-ink); }
.pl-text > span { display: block; color: var(--steel); }
.pl-meta { display: flex !important; flex-wrap: wrap; gap: 6px 18px; margin-top: 10px; font-size: .9rem; }
@media (max-width: 640px) { .proj-list a { grid-template-columns: 1fr; } }
.proj-facts { display: flex; flex-wrap: wrap; gap: 0; margin: 20px 0 0; border-top: 1px solid var(--line); }
.proj-facts div { padding: 14px 0; padding-inline-end: 32px; }
.proj-facts dt { color: var(--steel); font-size: .88rem; }
.proj-facts dd { margin: 0; font-weight: 600; }

/* Gallery + lightbox */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); gap: 10px; }
.g-item { display: block; aspect-ratio: 1; overflow: hidden; border-radius: var(--radius); background: var(--zinc-2); }
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: opacity .2s; }
.g-item:hover img { opacity: .88; }
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(15,19,22,.94); display: grid; place-items: center; padding: 56px 12px; }
.lightbox img { max-height: 100%; max-width: 100%; object-fit: contain; }
.lightbox button { position: absolute; background: rgba(255,255,255,.12); color: #fff; border: 0; width: 48px; height: 48px; border-radius: 50%; font-size: 1.6rem; cursor: pointer; }
.lightbox .lb-close { top: 12px; inset-inline-end: 12px; }
.lightbox .lb-prev { inset-inline-start: 12px; top: 50%; }
.lightbox .lb-next { inset-inline-end: 12px; top: 50%; }

/* Logos */
.logos { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 1px; background: var(--zinc-2); border: 1px solid var(--zinc-2); }
.logos li { background: var(--white); display: grid; place-items: center; padding: 18px; aspect-ratio: 3 / 2; }
.logos img { max-height: 64px; width: auto; object-fit: contain; filter: grayscale(1); opacity: .85; transition: .2s; }
.logos li:hover img { filter: none; opacity: 1; }
.logos-full { grid-template-columns: repeat(4, 1fr); }
.logos-full li { aspect-ratio: auto; gap: 12px; text-align: center; padding: 24px 16px; }
.logos-full span { font-size: .9rem; color: var(--steel); line-height: 1.4; }
.logos-full a { display: grid; gap: 12px; place-items: center; text-decoration: none; }
@media (max-width: 860px) { .logos { grid-template-columns: repeat(3, 1fr); } .logos-full { grid-template-columns: repeat(2, 1fr); } }

/* Reviews */
.reviews { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 24px; }
.reviews blockquote { margin: 0; padding-inline-start: 18px; border-inline-start: 3px solid var(--orange); }
.reviews p { font-size: 1.05rem; }
.reviews footer strong { display: block; }
.reviews footer span { color: var(--steel); font-size: .92rem; }

/* FAQ */
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 18px 0; font-weight: 600; font-size: 1.08rem; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 400 1.5rem/1 var(--font-head); color: var(--orange-ink); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div { padding-bottom: 14px; color: var(--steel); max-width: 68ch; }

/* Posts */
.post-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 0 32px; border-top: 1px solid var(--line); }
.post-list li { border-bottom: 1px solid var(--line); }
.post-list a { display: block; padding: 20px 0; text-decoration: none; color: var(--graphite); }
.post-list strong { display: block; font-size: 1.12rem; margin-bottom: 6px; }
.post-list a:hover strong { color: var(--orange-ink); }
.post-list span { color: var(--steel); font-size: .95rem; }
.post-list time { display: block; color: var(--steel); font-size: .85rem; margin-bottom: 4px; }
.post-list-full { grid-template-columns: 1fr; }
.post h1 { max-width: 24ch; }
.post-meta { color: var(--steel); font-size: .92rem; }
.post-cover { margin: 0 0 28px; }

/* Product + project detail */
.prod-head { background: var(--white); border-bottom: 1px solid var(--zinc-2); padding: clamp(24px, 4vw, 48px) 0; }
.prod-head-in { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(24px, 5vw, 56px); align-items: center; }
.prod-visual { margin: 0; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); background: #f3f6f8; }
.prod-visual img { width: 100%; border-radius: 2px; }
@media (max-width: 860px) { .prod-head-in { grid-template-columns: 1fr; } }
.prod-body { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(24px, 5vw, 56px); align-items: start; padding-block: clamp(32px, 5vw, 56px); }
@media (max-width: 900px) { .prod-body { grid-template-columns: 1fr; } }
.prose { max-width: 70ch; }
.prose h2 { font-size: 1.5rem; margin-top: 1.6em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.4em; }
.prose ul, .prose ol { padding-inline-start: 1.3em; margin: 0 0 1.2em; }
.prose li { margin-bottom: .35em; }
.prose li::marker { color: var(--orange); }
.table-wrap { overflow-x: auto; margin: 0 0 1.4em; }
.prose table { border-collapse: collapse; width: 100%; font-size: .97rem; }
.prose th, .prose td { text-align: start; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.prose th { background: var(--zinc); font-weight: 600; }
.spec-sheet { background: var(--white); border: 1px solid var(--line); border-top: 4px solid var(--graphite); border-radius: var(--radius); padding: 20px; position: sticky; top: 92px; }
.spec-sheet h2 { font-size: 1.15rem; margin-bottom: 8px; }
.spec-sheet dl { margin: 0 0 18px; }
.spec-sheet dl div { padding: 10px 0; border-bottom: 1px solid var(--zinc-2); display: grid; grid-template-columns: 42% 1fr; gap: 10px; }
.spec-sheet dt { color: var(--steel); font-size: .9rem; }
.spec-sheet dd { margin: 0; font-weight: 500; font-size: .95rem; }
.spec-sheet .btn { width: 100%; }
.plain { list-style: none; padding: 0; margin: 0 0 18px; }
.plain li { padding: 8px 0; border-bottom: 1px solid var(--zinc-2); }

/* Certificates */
.certs { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); gap: 28px; }
.certs .g-item { aspect-ratio: 3 / 4; border: 1px solid var(--line); background: var(--white); }
.certs .g-item img { object-fit: contain; padding: 8px; }
.certs h2 { font-size: 1.08rem; margin: 12px 0 4px; }
.certs p { color: var(--steel); font-size: .93rem; }

/* Calculator */
.calc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 48px); align-items: start; }
@media (max-width: 860px) { .calc { grid-template-columns: 1fr; } }
.calc-form { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(18px, 3vw, 28px); }
.calc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; margin-bottom: 20px; }
.calc-drawing { margin: 0 0 16px; padding: 16px; border: 1px solid var(--line); border-radius: var(--radius); background: #f3f6f8; }
.calc-result { background: var(--graphite); color: #fff; border-radius: var(--radius); padding: 22px; }
.calc-result dl { margin: 0 0 12px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.calc-result dt { color: #c3ccd3; font-size: .9rem; }
.calc-result dd { margin: 0; font: 600 2rem/1.15 var(--font-head); direction: ltr; text-align: start; }
.calc-result .note { color: #c3ccd3; font-size: .88rem; }
.calc-result .btn-ghost { border-color: #fff; color: #fff; }
.calc-result .btn-ghost:hover { background: #fff; color: var(--graphite); }
.calc-noprice { font-weight: 600; }
.calc-error { color: var(--err); font-weight: 600; }
.lead-dlg { border: 0; border-radius: var(--radius); padding: 0; width: min(440px, 100% - 24px); }
.lead-dlg::backdrop { background: rgba(15,19,22,.6); }
.lead-form { padding: 24px; }
.lead-form h2 { font-size: 1.35rem; }
.lead-form p { color: var(--steel); }
.dlg-actions { display: flex; gap: 10px; margin-top: 18px; flex-wrap: wrap; }

/* Forms */
label { display: block; font-weight: 600; font-size: .95rem; margin: 14px 0 6px; }
input, select, textarea {
  width: 100%; min-height: 46px; padding: 10px 12px; border: 1px solid #a9b4bc; border-radius: var(--radius);
  background: var(--white); color: var(--graphite); font: inherit; font-size: 1rem;
}
textarea { min-height: 140px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--orange); outline-offset: 0; border-color: var(--orange); }
[aria-invalid="true"] { border-color: var(--err); }
.field-err { color: var(--err); font-size: .88rem; font-weight: 600; display: block; margin-top: 4px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
@media (max-width: 560px) { .form-grid, .calc-grid { grid-template-columns: 1fr; } }
.form .btn { margin-top: 22px; }
.notice { padding: 14px 16px; border-radius: var(--radius); font-weight: 600; }
.notice-ok { background: #e3f1e7; color: var(--ok); }
.notice-err { background: #fbe7e4; color: var(--err); }
.contact { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 56px); align-items: start; }
@media (max-width: 860px) { .contact { grid-template-columns: 1fr; } }
.contact-card { background: var(--white); border: 1px solid var(--line); border-top: 4px solid var(--orange); border-radius: var(--radius); padding: 22px; }
.contact-card dl { margin: 0 0 16px; }
.contact-card dl div { padding: 10px 0; border-bottom: 1px solid var(--zinc-2); }
.contact-card dt { color: var(--steel); font-size: .88rem; }
.contact-card dd { margin: 0; font-weight: 500; }

/* CTA band + footer */
.cta-band { background: var(--graphite); color: #fff; padding: clamp(36px, 6vw, 64px) 0; }
.cta-in { display: flex; justify-content: space-between; align-items: center; gap: 24px 48px; flex-wrap: wrap; }
.cta-in h2 { max-width: 26ch; }
.cta-in p { color: #c3ccd3; max-width: 58ch; margin: 0; }
.cta-actions { display: flex; flex-direction: column; gap: 10px; align-items: stretch; }
.cta-phone { color: #fff; font: 600 1.25rem var(--font-head); text-align: center; text-decoration: none; }
.cta-phone:hover { color: var(--orange); }
.foot { background: #171c20; color: #c3ccd3; padding-top: 56px; font-size: .95rem; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 32px; padding-bottom: 40px; }
@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .foot-grid { grid-template-columns: 1fr; } }
.foot h2 { color: #fff; font-size: 1rem; margin-bottom: 14px; }
.foot ul { list-style: none; padding: 0; margin: 0; }
.foot li { margin-bottom: 8px; }
.foot a { color: #e1e6ea; text-decoration: none; }
.foot a:hover { color: var(--orange); }
.foot address { font-style: normal; line-height: 1.8; margin-bottom: 10px; }
.foot-about p { margin-top: 16px; max-width: 40ch; }
.iso { color: #8e9aa4; font-size: .88rem; }
.social { display: flex; flex-wrap: wrap; gap: 8px 16px; }
.foot-base { border-top: 1px solid #2c343b; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 18px 0 90px; font-size: .88rem; }
.foot-base p { margin: 0; }

/* WhatsApp */
.wa-float { position: fixed; inset-inline-end: 18px; bottom: 18px; z-index: 60; display: inline-flex; align-items: center; gap: 8px;
  background: #1f8f4e; color: #fff; padding: 12px 18px 12px 14px; border-radius: 40px; text-decoration: none; font-weight: 600;
  box-shadow: 0 6px 18px rgba(16, 60, 34, .3); }
.wa-float svg { width: 26px; height: 26px; }
.wa-float:hover { background: #18773f; color: #fff; }
@media (max-width: 560px) { .wa-float span { display: none; } .wa-float { padding: 14px; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

/* real logo */
.brand-logo { width: 48px; height: 48px; flex: none; display: block; }
@media (max-width: 600px) { .brand-logo { width: 40px; height: 40px; } }