/* TECHNOIMPACT — stiluri site public
   Principii: alb/negru, tipografie supradimensionată, desen tehnic (cartuș, cote, hașuri) ca limbaj vizual. */

@font-face { font-family: 'Inter'; src: url('/assets/fonts/Inter-Regular.woff') format('woff'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Inter'; src: url('/assets/fonts/Inter-Medium.woff') format('woff'); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: 'Inter'; src: url('/assets/fonts/Inter-SemiBold.woff') format('woff'); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: 'Inter Display'; src: url('/assets/fonts/InterDisplay-Bold.woff') format('woff'); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'Inter Display'; src: url('/assets/fonts/InterDisplay-Black.woff') format('woff'); font-weight: 900; font-style: normal; font-display: swap; }

:root {
  --black: #000;
  --white: #fff;
  --concrete: #e7e7e3;
  --concrete-2: #d9d9d4;
  --ink-2: #4b4b48;
  --mute-d: #a6a6a2;
  --line: rgba(0, 0, 0, .2);
  --line-strong: #000;
  --line-d: rgba(255, 255, 255, .24);
  --pad: clamp(20px, 4.2vw, 64px);
  --max: 1520px;
  --band: clamp(72px, 10vw, 152px);
  --f-text: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --f-display: 'Inter Display', 'Inter', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
  --fs-0: .8125rem;
  --fs-1: 1rem;
  --fs-2: 1.1875rem;
  --fs-3: 1.5rem;
  --fs-4: clamp(1.75rem, 1.2rem + 1.6vw, 2.5rem);
  --fs-5: clamp(2.25rem, 1.2rem + 3.6vw, 4.5rem);
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body {
  margin: 0; background: var(--white); color: var(--black);
  font-family: var(--f-text); font-size: var(--fs-1); line-height: 1.6;
  font-feature-settings: 'cv11', 'ss01';
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg, picture { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .2em; }
a:hover { text-decoration-thickness: 2px; }
p { margin: 0 0 1em; max-width: 68ch; }
h1, h2, h3 { margin: 0; font-weight: 700; }
ul, ol { margin: 0; padding: 0; list-style: none; }
address { font-style: normal; }
button { font: inherit; color: inherit; }
sub { font-size: .55em; vertical-align: baseline; position: relative; top: .25em; }

:focus-visible { outline: 3px solid currentColor; outline-offset: 3px; }
.band-black :focus-visible, .topbar :focus-visible, .site-footer :focus-visible { outline-color: var(--white); }

.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--black); color: var(--white); padding: 10px 16px; }
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding-inline: var(--pad); }

/* ---------- Tipografie ---------- */
.display, .hero-title {
  font-family: var(--f-display); font-weight: 900; text-transform: uppercase;
  letter-spacing: -.035em; line-height: .94; font-feature-settings: 'case', 'ss01';
  overflow-wrap: break-word; hyphens: manual;
}
.display { font-size: clamp(2.75rem, 1rem + 7.4vw, 8.5rem); }
.display-l { font-size: clamp(2.25rem, 1rem + 4.4vw, 5.25rem); line-height: 1.02; letter-spacing: -.03em; }
.display-xl { font-size: clamp(3rem, .5rem + 10.2vw, 12.5rem); }
.h2 { font-family: var(--f-display); font-weight: 700; font-size: var(--fs-4); line-height: 1.08; letter-spacing: -.02em; margin-bottom: .9em; }
.h3 { font-family: var(--f-display); font-weight: 700; font-size: var(--fs-3); line-height: 1.2; letter-spacing: -.01em; margin-bottom: .75em; }
.lead { font-size: var(--fs-2); line-height: 1.55; max-width: 46ch; }
.lead-light { color: #d6d6d2; }
.note { font-size: .9375rem; color: var(--ink-2); }
.band-black .note { color: var(--mute-d); }

/* ---------- Butoane ---------- */
.btn {
  --b: var(--black); --f: var(--white);
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: 48px; padding: .8em 1.5em; border: 2px solid var(--b);
  background: var(--b); color: var(--f); text-decoration: none; cursor: pointer;
  font-family: var(--f-text); font-weight: 600; font-size: .9375rem; letter-spacing: .02em; line-height: 1.2; text-align: center;
  transition: background-color .15s, color .15s;
}
.btn:hover { background: var(--f); color: var(--b); }
.btn-ghost { background: transparent; color: var(--black); }
.btn-ghost:hover { background: var(--black); color: var(--white); }
.btn-invert { --b: var(--white); --f: var(--black); }
.btn-ghost-light { --b: var(--white); background: transparent; color: var(--white); }
.btn-ghost-light:hover { background: var(--white); color: var(--black); }
.btn-link { border-color: transparent; background: transparent; color: inherit; padding-inline: .2em; text-decoration: underline; }
.btn-link:hover { background: transparent; color: inherit; text-decoration-thickness: 2px; }
.btn-sm { min-height: 40px; padding: .55em 1.1em; font-size: .875rem; }
.btn-lg { min-height: 56px; padding: 1em 1.8em; font-size: 1rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .55; cursor: progress; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* Butoane pe fundal negru */
.band-black .btn-solid { --b: var(--white); --f: var(--black); }
.band-black .btn-ghost { border-color: var(--white); color: var(--white); }
.band-black .btn-ghost:hover { background: var(--white); color: var(--black); }
.band-black .title-block .btn-ghost, .band-black .map-facade .btn-ghost { border-color: var(--black); color: var(--black); }
.band-black .map-facade .btn-ghost:hover { background: var(--black); color: var(--white); }

/* ---------- Topbar și header ---------- */
.topbar { background: var(--black); color: var(--white); font-size: var(--fs-0); }
.topbar-inner { display: flex; align-items: center; gap: 28px; min-height: 36px; }
.topbar a { text-decoration: none; }
.topbar a:hover { text-decoration: underline; }
.topbar-addr { margin-left: auto; }
.topbar-tel { white-space: nowrap; }
.live-status { display: inline-flex; align-items: center; gap: .55em; font-weight: 500; }
.live-dot { width: 8px; height: 8px; border-radius: 50%; border: 1.5px solid currentColor; flex: none; }
.live-status[data-open='1'] .live-dot { background: currentColor; }
.status-lg { font-size: var(--fs-2); }

.site-header { position: sticky; top: 0; z-index: 50; background: var(--white); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; gap: 32px; height: var(--header-h); }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--black); flex: none; }
.logo-mark { width: 26px; height: 26px; }
.logo-word { font-family: var(--f-display); font-weight: 900; font-size: 1.25rem; letter-spacing: -.02em; }
.logo-light { color: var(--white); }
.nav-main { margin-inline: auto; }
.nav-main ul { display: flex; gap: clamp(14px, 1.8vw, 30px); }
.nav-main a { white-space: nowrap; text-decoration: none; font-size: .9375rem; font-weight: 500; padding-block: 6px; border-bottom: 2px solid transparent; }
.nav-main a:hover, .nav-main a[aria-current='page'] { border-bottom-color: var(--black); }
.nav-mobile-extra { display: none; }
.header-actions { display: flex; align-items: center; gap: 18px; }
.lang-switch { display: flex; align-items: center; gap: 6px; font-size: .875rem; font-weight: 600; }
.lang-switch a { text-decoration: none; color: var(--ink-2); padding: 6px 2px; }
.lang-switch a:hover { color: var(--black); text-decoration: underline; }
.lang-sep { color: var(--line); }
.burger { display: none; width: 44px; height: 44px; border: 0; background: none; cursor: pointer; position: relative; }
.burger-lines, .burger-lines::before, .burger-lines::after { position: absolute; left: 10px; width: 24px; height: 2px; background: currentColor; content: ''; transition: transform .2s; }
.burger-lines { top: 21px; }
.burger-lines::before { left: 0; top: -7px; }
.burger-lines::after { left: 0; top: 7px; }
.burger[aria-expanded='true'] .burger-lines { background: transparent; }
.burger[aria-expanded='true'] .burger-lines::before { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded='true'] .burger-lines::after { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1360px) {
  .nav-main a { font-size: .875rem; }
  .header-inner { gap: 20px; }
}
@media (max-width: 1240px) {
  .topbar-addr { display: none; }
  .topbar-tel { margin-left: auto; }
  .burger { display: block; }
  .header-cta { display: none; }
  .nav-main {
    position: fixed; inset: calc(var(--header-h) + 36px) 0 0 0; background: var(--black); color: var(--white);
    padding: 24px var(--pad) 40px; overflow-y: auto; display: none; margin: 0;
  }
  .nav-open .nav-main { display: block; }
  .nav-open { overflow: hidden; }
  .nav-main ul { flex-direction: column; gap: 0; }
  .nav-main li { border-bottom: 1px solid var(--line-d); }
  .nav-main a { display: block; padding: 16px 0; font-family: var(--f-display); font-weight: 700; font-size: 1.75rem; letter-spacing: -.01em; border: 0; }
  .nav-main a[aria-current='page'] { text-decoration: underline; text-decoration-thickness: 2px; }
  .nav-mobile-extra { display: grid; gap: 12px; margin-top: 32px; }
  .nav-tel { font-size: 1.25rem; font-weight: 600; text-decoration: none; padding-top: 8px; }
}

/* ---------- Benzi (secțiuni) ---------- */
.band { padding-block: var(--band); }
.band-black { background: var(--black); color: var(--white); }
.band-white { background: var(--white); }
.band-concrete { background: var(--concrete); }
.section-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px 64px; align-items: end; margin-bottom: clamp(40px, 6vw, 88px); }
.section-head .h2 { margin: 0; }
.section-head .lead { margin: 0; }
.section-head-row { display: flex; justify-content: space-between; align-items: center; }
.two-col { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px clamp(40px, 6vw, 120px); align-items: start; }
.more { margin: 48px 0 0; }

/* ---------- Hero ---------- */
.hero { background: var(--concrete); padding-top: clamp(40px, 6vw, 96px); overflow: hidden; }
.hero-title { font-size: clamp(3rem, .2rem + 11.2vw, 13.75rem); margin: 0; max-width: 11ch; }
.hero-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 24px 48px; margin-top: clamp(28px, 4vw, 56px); padding-bottom: clamp(36px, 5vw, 72px); }
.hero-sub { font-size: var(--fs-2); max-width: 40ch; margin: 0; }
.hero-row .btn-row { margin: 0; }
.hero-figure { margin: 0; position: relative; max-width: 1920px; margin-inline: auto; }
.hero-pic img { width: 100%; height: clamp(360px, 62vw, 860px); object-fit: cover; object-position: 50% 62%; }
.hero-tb { position: absolute; right: var(--pad); bottom: var(--pad); width: min(520px, calc(100% - 2 * var(--pad))); }

/* ---------- Cartuș (title block) ---------- */
.title-block { display: grid; grid-template-columns: 1fr 1fr; border: 2px solid var(--black); background: var(--white); color: var(--black); overflow: hidden; }
.tb-cell { padding: 10px 14px 12px; border-left: 1px solid var(--black); border-top: 1px solid var(--black); margin: -1px 0 0 -1px; min-width: 0; }
.tb-wide { grid-column: 1 / -1; }
.tb-key { display: block; font-size: .75rem; color: var(--ink-2); line-height: 1.3; margin-bottom: 2px; }
.tb-val { display: block; font-weight: 600; font-size: 1rem; line-height: 1.35; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.tb-val a { text-decoration: none; }
.tb-val a:hover { text-decoration: underline; }
.tb-key:empty { display: none; }
.tb-light { margin-bottom: 24px; }

/* ---------- Capacități ---------- */
.caps-grid { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line-d); }
.cap { padding: 40px 40px 48px 0; border-bottom: 1px solid var(--line-d); }
.cap:nth-child(2n) { padding-left: 40px; padding-right: 0; border-left: 1px solid var(--line-d); }
.cap-value { font-family: var(--f-display); font-weight: 900; letter-spacing: -.04em; line-height: .9; margin: 0 0 .25em; display: flex; align-items: baseline; flex-wrap: wrap; gap: .12em .25em; font-variant-numeric: tabular-nums; max-width: none; }
.cap-value .num { font-size: clamp(3.5rem, 1.5rem + 6.4vw, 9rem); }
.cap-value .unit { font-size: clamp(1.25rem, .8rem + 1.4vw, 2.25rem); letter-spacing: -.01em; font-weight: 700; }
.cap-big:nth-child(2) .cap-value .num { font-size: clamp(2.6rem, 1rem + 4.6vw, 6.5rem); }
.cap-value-sm { font-size: clamp(2.25rem, 1rem + 3.4vw, 4.5rem); }
.cap-label { font-size: var(--fs-2); color: #d6d6d2; margin: 0 0 28px; }
.cap-note { font-size: .9375rem; color: var(--mute-d); margin: 20px 0 0; }
.cap-dark { color: var(--black); }

.drawing { color: currentColor; width: 100%; height: auto; }
.drawing-plate { max-width: 420px; }
.drawing-sheet { max-width: 640px; }
.dim-text { font-family: var(--f-text); font-weight: 600; font-size: 15px; fill: currentColor; font-variant-numeric: tabular-nums; }
.dim-text.small { font-size: 12px; }
.sheet-fig { margin: 48px 0 0; }
.sheet-fig .drawing-sheet { max-width: 920px; }
.sheet-fig figcaption { margin-top: 16px; color: var(--mute-d); font-size: .9375rem; }
.ink { color: var(--black); }

/* ---------- Vino cu ideea ---------- */
.idea-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 48px clamp(48px, 7vw, 140px); align-items: start; }
.idea-grid .display-l { margin-bottom: 40px; }
.bring-list li { display: grid; grid-template-columns: 48px 1fr; gap: 20px; padding: 20px 0; border-top: 1px solid var(--line); }
.bring-list li:last-child { border-bottom: 1px solid var(--line); }
.bring-list .icon { width: 48px; height: 48px; }
.bring-list strong { display: block; font-family: var(--f-display); font-weight: 700; font-size: 1.25rem; line-height: 1.25; }
.bring-list span { display: block; color: var(--ink-2); font-size: .9375rem; margin-top: 4px; }

/* ---------- Cum lucrăm ---------- */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); counter-reset: s; position: relative; }
.step { padding: 0 28px 0 0; position: relative; }
.step-n { display: block; font-family: var(--f-display); font-weight: 900; font-size: clamp(4.5rem, 2rem + 6vw, 8.5rem); line-height: .85; letter-spacing: -.05em; margin-bottom: 28px; position: relative; }
.step-n::after { content: ''; position: absolute; left: 0; right: -28px; bottom: -14px; border-bottom: 2px dashed var(--black); }
.step:last-child .step-n::after { right: 0; border-bottom-style: solid; }
.step-h { font-family: var(--f-display); font-weight: 700; font-size: var(--fs-3); line-height: 1.15; letter-spacing: -.01em; margin: 44px 0 14px; }
.step p { color: var(--ink-2); }

/* ---------- Tehnologie ---------- */
.tech { padding: 0; }
.tech-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); max-width: 1920px; margin: 0 auto; }
.tech-figure { margin: 0; }
.tech-figure picture { height: 100%; }
.tech-figure img { width: 100%; height: 100%; min-height: 520px; object-fit: cover; object-position: 26% 82%; }
.mono img { filter: grayscale(1) contrast(1.12) brightness(.92); }
.tech-text { padding: var(--band) var(--pad); align-self: center; }
.tech-heading { font-family: var(--f-display); font-weight: 700; font-size: var(--fs-3); line-height: 1.2; max-width: 22ch; }
.facts { margin: 32px 0; border-top: 1px solid var(--line-d); }
.facts div { display: flex; justify-content: space-between; gap: 24px; padding: 14px 0; border-bottom: 1px solid var(--line-d); }
.facts dt { color: var(--mute-d); }
.facts dd { margin: 0; font-weight: 600; text-align: right; font-variant-numeric: tabular-nums; }

/* ---------- Proiecte ---------- */
.project-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px 32px; }
.project-card a { display: block; text-decoration: none; }
.project-img { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--concrete); }
.project-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.project-card a:hover img { transform: scale(1.03); }
.card-noimg { display: block; width: 100%; height: 100%; }
.project-meta { display: block; padding-top: 16px; border-top: 2px solid var(--black); margin-top: 16px; }
.project-cat { display: block; font-size: .8125rem; color: var(--ink-2); }
.project-title { display: block; font-family: var(--f-display); font-weight: 700; font-size: 1.375rem; line-height: 1.2; margin-top: 4px; }
.project-card a:hover .project-title { text-decoration: underline; text-decoration-thickness: 2px; }
.empty { border: 2px solid var(--black); padding: clamp(32px, 5vw, 64px); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.empty p { font-family: var(--f-display); font-weight: 700; font-size: var(--fs-3); line-height: 1.25; margin: 0; max-width: 36ch; }
.filters { margin-bottom: 40px; }
.filters ul { display: flex; flex-wrap: wrap; gap: 8px; }
.filters a { display: inline-block; padding: 8px 16px; border: 1px solid var(--black); text-decoration: none; font-weight: 500; font-size: .9375rem; }
.filters a[aria-current='true'], .filters a:hover { background: var(--black); color: var(--white); }
.project-detail { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: 48px; align-items: start; }
.project-detail aside { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 24px; }
.gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.gallery-item { margin: 0; background: var(--concrete); }
.gallery-first { grid-column: 1 / -1; }
.gallery img { width: 100%; height: 100%; object-fit: cover; }
.gallery-item:not(.gallery-first) a { display: block; aspect-ratio: 4 / 3; }
.prose p { max-width: 68ch; }

/* ---------- Vizită ---------- */
.visit-band .display-xl { margin-bottom: clamp(40px, 5vw, 72px); }
.visit-band-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 48px clamp(48px, 7vw, 120px); align-items: start; }
.motto { font-family: var(--f-display); font-weight: 700; font-size: var(--fs-4); line-height: 1.12; letter-spacing: -.015em; max-width: 18ch; }
.ticks li { position: relative; padding: 12px 0 12px 32px; border-bottom: 1px solid var(--line-d); }
.ticks li::before { content: ''; position: absolute; left: 0; top: 1.15em; width: 16px; height: 8px; border-left: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(-45deg); }
.ticks-dark li { border-color: var(--line); font-size: var(--fs-2); }
.ticks { margin-top: 28px; }
.hours { border-collapse: collapse; width: 100%; font-variant-numeric: tabular-nums; }
.hours th, .hours td { text-align: left; padding: 10px 0; border-bottom: 1px solid var(--line); font-weight: 400; }
.hours td { text-align: right; font-weight: 600; }
.hours tr.is-today th, .hours tr.is-today td { font-weight: 700; text-decoration: underline; text-underline-offset: .25em; }
.band-black .hours th, .band-black .hours td, .site-footer .hours th, .site-footer .hours td { border-color: var(--line-d); }
.hours-wrap { margin-bottom: 24px; }
.tz-note { font-size: .8125rem; color: var(--mute-d); margin-top: -12px; }
.big-address { font-family: var(--f-display); font-weight: 700; font-size: var(--fs-4); line-height: 1.12; margin-bottom: 32px; letter-spacing: -.015em; }
.why-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-top: 2px solid var(--black); }
.why-grid li { padding: 24px 24px 8px 0; }
.why-grid li + li { padding-left: 24px; border-left: 1px solid var(--line); }
.why-grid strong { display: block; font-family: var(--f-display); font-weight: 700; font-size: 1.375rem; line-height: 1.2; margin-bottom: 10px; }
.why-grid span { color: var(--ink-2); }
.entrance { margin: 0 0 24px; }
.entrance img { width: 100%; }

.map-facade { position: relative; aspect-ratio: 5 / 3; background: var(--concrete-2); color: var(--black); overflow: hidden; border: 2px solid var(--black); }
.band-black .map-facade { border-color: var(--white); }
.map-grid { position: absolute; inset: 0; width: 100%; height: 100%; }
.map-pin-hole { fill: var(--concrete-2); }
.map-facade-body { position: absolute; left: 0; right: 0; bottom: 0; padding: 16px; background: var(--white); display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; justify-content: space-between; border-top: 2px solid var(--black); }
.map-facade-body p { margin: 0; font-size: .8125rem; color: var(--ink-2); flex: 1 1 220px; }
.map-facade iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-facade-body { flex-wrap: wrap; }
.map-facade-body p { flex-basis: 100%; }
.btn-route { flex: 1 1 auto; }
.map-tools { background: var(--white); color: var(--black); border: 2px solid var(--black); border-top: 0; padding: 14px 16px 16px; }
.band-black .map-tools { border-color: var(--white); }
.segs { display: flex; flex-wrap: wrap; gap: 0; margin-bottom: 10px; }
.seg { border: 1.5px solid var(--black); background: var(--white); color: var(--black); padding: 8px 14px; font-weight: 600; font-size: .875rem; cursor: pointer; margin-right: -1.5px; min-height: 40px; }
.seg[aria-pressed='true'] { background: var(--black); color: var(--white); }
.map-status { font-size: .875rem; color: var(--ink-2); margin: 0; }
.map-status:empty { display: none; }
.map-nav { margin-top: 12px; }
.band-black .map-tools .btn-solid { --b: var(--black); --f: var(--white); }
.band-black .map-tools .btn-ghost { border-color: var(--black); color: var(--black); }
.band-black .map-tools .btn-ghost:hover { background: var(--black); color: var(--white); }
.band-black .map-facade-body .btn-solid { --b: var(--black); --f: var(--white); }

.remote-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 5fr) auto; gap: 24px 48px; align-items: center; }
.remote .h2, .remote p { margin: 0; }
.remote .btn-row { margin: 0; }
.remote { padding-block: clamp(48px, 6vw, 88px); border-top: 1px solid var(--line); }

/* ---------- Pagini interioare ---------- */
.page-head { background: var(--concrete); padding: clamp(32px, 4vw, 56px) 0 clamp(56px, 7vw, 112px); }
.page-head .display { margin: clamp(24px, 4vw, 56px) 0 clamp(28px, 3vw, 44px); }
.page-head .display-l, .page-head .display-xl { margin: clamp(24px, 4vw, 56px) 0 28px; }
.page-head-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 24px 48px; }
.page-head-row .lead { margin: 0; }
.page-head-row .btn-row { margin: 0; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; font-size: .8125rem; color: var(--ink-2); }
.crumbs li + li::before { content: '/'; margin-right: 6px; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.page-404 { min-height: 60vh; }

.def-list li { padding: 22px 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 8px 32px; }
.def-list li:last-child { border-bottom: 1px solid var(--line); }
.def-list strong { font-family: var(--f-display); font-weight: 700; font-size: 1.25rem; line-height: 1.25; }
.def-list span { color: var(--ink-2); }
.spec-table { margin: 0; border-top: 2px solid currentColor; }
.spec-table div { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 8px 32px; padding: 16px 0; border-bottom: 1px solid var(--line-d); }
.spec-table dt { color: var(--mute-d); }
.spec-table dd { margin: 0; font-weight: 600; }
.spec-table small { display: block; font-weight: 400; color: var(--mute-d); font-size: .875rem; margin-top: 4px; }
.spec-dark div { border-color: var(--line); }
.spec-dark dt, .spec-dark small { color: var(--ink-2); }

.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 40px 20px 0; position: relative; font-family: var(--f-display); font-weight: 700; font-size: 1.25rem; line-height: 1.3; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ''; position: absolute; right: 6px; top: 50%; width: 14px; height: 14px; margin-top: -7px;
  background: linear-gradient(currentColor, currentColor) center / 100% 2px no-repeat, linear-gradient(currentColor, currentColor) center / 2px 100% no-repeat; }
.faq details[open] summary::after { background: linear-gradient(currentColor, currentColor) center / 100% 2px no-repeat; }
.faq details p { padding-bottom: 20px; color: var(--ink-2); }

.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px clamp(48px, 7vw, 120px); }
.big-address-dark { color: var(--black); }
.contact-big { font-family: var(--f-display); font-weight: 900; font-size: clamp(2rem, 1rem + 3vw, 3.75rem); letter-spacing: -.03em; line-height: 1; margin-bottom: 16px; }
.contact-big a, .contact-mid a { text-decoration: none; }
.contact-big a:hover, .contact-mid a:hover { text-decoration: underline; }
.contact-mid { font-size: var(--fs-3); font-weight: 600; overflow-wrap: anywhere; }

.legal h2 { font-family: var(--f-display); font-size: var(--fs-3); margin: 1.6em 0 .5em; }
.legal ul { list-style: disc; padding-left: 1.2em; margin-bottom: 1em; max-width: 68ch; }
.legal li { margin-bottom: .4em; }

/* ---------- Formulare ---------- */
.send-grid { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: 48px clamp(48px, 6vw, 112px); align-items: start; }
.send-aside { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 20px; }
.send-aside .h3 { margin: 0; }
.form { display: grid; gap: 22px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 20px; }
.form-grid-3 { grid-template-columns: 2fr 1fr 1fr; }
.field { display: grid; gap: 6px; margin: 0; min-width: 0; }
.field > label, .field .label, .radios legend { font-weight: 600; font-size: .9375rem; }
.hint { font-size: .8125rem; color: var(--ink-2); margin: 0; }
.req { color: var(--black); }
.form input[type='text'], .form input[type='tel'], .form input[type='email'], .form input[type='date'], .form select, .form textarea {
  width: 100%; min-height: 52px; padding: 12px 14px; border: 1.5px solid var(--black); border-radius: 0; background: var(--white); color: var(--black);
  font: inherit; font-size: 1rem; appearance: none;
}
.form select { background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 40px; }
.form textarea { resize: vertical; min-height: 140px; }
.form input:focus-visible, .form select:focus-visible, .form textarea:focus-visible { outline: 3px solid var(--black); outline-offset: 1px; }
.form [aria-invalid='true'] { border-width: 3px; background: #fff5f5; }
.field-error { margin: 0; font-size: .875rem; font-weight: 600; color: #b00020; }
.field-error::before { content: '! '; }
.field-check { grid-template-columns: 22px 1fr; align-items: start; gap: 12px; }
.field-check input { width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--black); }
.field-check label { font-weight: 400; font-size: .9375rem; }
.field-check .field-error { grid-column: 2; }
.radios { border: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 24px; }
.radios legend { margin-bottom: 8px; padding: 0; width: 100%; }
.radios label { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; }
.radios input { width: 20px; height: 20px; accent-color: var(--black); margin: 0; }
.file-drop { border: 1.5px dashed var(--black); padding: 18px; display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; }
.file-drop.is-over { background: var(--concrete); }
.file-drop input[type='file'] { position: absolute; width: 1px; height: 1px; opacity: 0; }
.file-drop input[type='file']:focus-visible + label { outline: 3px solid var(--black); outline-offset: 3px; }
.file-list { font-size: .875rem; color: var(--ink-2); display: grid; gap: 2px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-actions { margin-top: 6px; }
.form-status { border: 2px solid var(--black); padding: 20px 22px; }
.form-status:focus { outline: none; }
.form-status h3 { font-family: var(--f-display); font-size: var(--fs-3); margin: 0 0 6px; }
.form-status p { margin: 0; }
.form-status.is-error { border-color: #b00020; color: #b00020; font-weight: 600; }
.form.is-done .form-grid, .form.is-done .field, .form.is-done .form-actions, .form.is-done .cf-turnstile { display: none; }

/* ---------- Footer ---------- */
.site-footer { background: var(--black); color: var(--white); padding: clamp(64px, 8vw, 120px) 0 calc(32px + env(safe-area-inset-bottom)); }
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 24px; padding-bottom: 48px; border-bottom: 1px solid var(--line-d); }
.footer-motto { font-family: var(--f-display); font-weight: 900; font-size: clamp(1.75rem, 1rem + 2.6vw, 3.5rem); letter-spacing: -.03em; line-height: 1; margin: 0; max-width: 20ch; }
.footer-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px; padding: 48px 0; }
.footer-h { font-size: .8125rem; font-weight: 600; color: var(--mute-d); margin-bottom: 16px; }
.footer-grid address, .footer-grid p { font-size: .9375rem; }
.footer-grid a { text-decoration: none; }
.footer-grid a:hover { text-decoration: underline; }
.footer-grid .btn:hover { text-decoration: none; }
.footer-links li { padding: 4px 0; font-size: .9375rem; }
.footer-legal { color: var(--mute-d); }
.footer-msgs a { margin-right: 14px; }
.site-footer .hours { font-size: .875rem; margin-top: 16px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; padding-top: 24px; border-top: 1px solid var(--line-d); font-size: .8125rem; color: var(--mute-d); }
.footer-bottom a { margin-left: 20px; }

/* ---------- Bara mobilă ---------- */
.mobile-bar { display: none; }
@media (max-width: 760px) {
  .mobile-bar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; background: var(--black); color: var(--white); padding-bottom: env(safe-area-inset-bottom); border-top: 1px solid var(--line-d); }
  .mobile-bar-main { flex: 1; display: flex; align-items: center; justify-content: center; min-height: 56px; font-weight: 700; text-decoration: none; letter-spacing: .02em; }
  .mobile-bar-tel { width: 64px; display: flex; align-items: center; justify-content: center; border-left: 1px solid var(--line-d); }
  .mobile-bar-tel svg { width: 22px; height: 22px; }
  .site-footer { padding-bottom: calc(88px + env(safe-area-inset-bottom)); }
  .nav-open .mobile-bar { display: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .steps { grid-template-columns: 1fr 1fr; gap: 56px 0; }
  .why-grid { grid-template-columns: 1fr 1fr; }
  .why-grid li:nth-child(3) { padding-left: 0; border-left: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .remote-grid { grid-template-columns: 1fr 1fr; }
  .remote .btn-row { grid-column: 1 / -1; }
}
@media (max-width: 960px) {
  .section-head, .two-col, .idea-grid, .visit-band-grid, .send-grid, .contact-grid, .project-detail { grid-template-columns: minmax(0, 1fr); }
  .tech-grid { grid-template-columns: minmax(0, 1fr); }
  .tech-figure img { min-height: 0; aspect-ratio: 4 / 3; }
  .project-grid { grid-template-columns: 1fr 1fr; }
  .send-aside, .project-detail aside { position: static; }
  .caps-grid { grid-template-columns: 1fr; }
  .cap, .cap:nth-child(2n) { padding: 36px 0 40px; border-left: 0; }
  .hero-tb { position: relative; right: auto; bottom: auto; width: auto; margin: -48px var(--pad) 0; }
  .hero { padding-bottom: 40px; }
}
@media (max-width: 640px) {
  :root { --header-h: 64px; }
  .topbar .live-status { font-size: .75rem; }
  .logo-word { font-size: 1.0625rem; }
  .logo-mark { width: 22px; height: 22px; }
  .header-actions { gap: 8px; }
  .steps { grid-template-columns: 1fr; }
  .step { padding-right: 0; }
  .step-n::after { right: 0; }
  .why-grid { grid-template-columns: 1fr; }
  .why-grid li + li { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
  .project-grid { grid-template-columns: 1fr; }
  .form-grid, .form-grid-3 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .remote-grid { grid-template-columns: 1fr; }
  .def-list li, .spec-table div { grid-template-columns: 1fr; }
  .title-block { grid-template-columns: 1fr; }
  .hero-title, .display { line-height: 1; }
  .hero-pic img { height: 72vw; min-height: 300px; object-position: 46% 60%; }
  .btn-lg { width: 100%; }
  .hero-row .btn-row, .page-head-row .btn-row { width: 100%; }
  .footer-bottom a { margin: 0 16px 0 0; }
  .gallery { grid-template-columns: 1fr; }
  .facts div { flex-direction: column; gap: 2px; }
  .facts dd { text-align: left; }
}

@media print {
  .topbar, .site-header, .mobile-bar, .map-facade, .btn-row, .site-footer .btn { display: none !important; }
  .band-black { background: none; color: #000; }
}
.band-concrete > .wrap > .map-block .map-facade { aspect-ratio: 21 / 9; }
@media (max-width: 640px) { .band-concrete > .wrap > .map-block .map-facade { aspect-ratio: 4 / 5; } .map-facade { aspect-ratio: 4 / 5; } }
