@font-face {
  font-family: "Archivo";
  src: url("fonturi/archivo.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
}

:root {
  --ink: #121212;
  --text: #2a2a2a;
  --muted: #646464;
  --line: #e4e4e4;
  --gri: #f4f4f4;
  --rosu: #b81e24;
  --rosu-2: #951820;
  --wrap: 1240px;
  --pad: 24px;
  --sec: 112px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  font-family: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 18px;
  line-height: 1.6;
  color: var(--text);
  background: #fff;
  font-stretch: 100%;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { color: var(--ink); margin: 0; font-stretch: 84%; line-height: 1.05; letter-spacing: -0.01em; text-wrap: balance; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }
[hidden] { display: none !important; }
.nw { white-space: nowrap; }

.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: #fff; padding: 8px 16px; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--rosu); outline-offset: 3px; }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--pad) * 2); margin: 0 auto; padding: 0 var(--pad); }
.sec { padding: var(--sec) 0; }
.sec-gri { background: var(--gri); }
.sec-negru { background: var(--ink); color: #d9d9d9; }
.sec-negru h2, .sec-negru h3 { color: #fff; }
.h2 { font-size: clamp(32px, 4.2vw, 54px); font-weight: 720; margin-bottom: 48px; }

/* butoane */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 24px; border-radius: 4px; border: 2px solid transparent;
  font: inherit; font-size: 16px; font-weight: 650; letter-spacing: 0.01em;
  text-decoration: none; cursor: pointer; transition: background-color .15s, border-color .15s, color .15s;
}
.btn-red { background: var(--rosu); color: #fff; }
.btn-red:hover { background: var(--rosu-2); }
.btn-ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-ghost:hover { background: var(--ink); color: #fff; }
.btn-lg { min-height: 56px; padding: 0 32px; font-size: 17px; }
.btn-full { width: 100%; }
.btn:disabled { opacity: .7; cursor: default; }
.lnk { display: inline-block; margin-top: 32px; font-weight: 650; text-decoration: none; border-bottom: 2px solid var(--rosu); padding-bottom: 2px; }
.lnk::after { content: " →"; }
.lnk:hover { color: var(--rosu); }

/* antet */
.hd { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--line); }
.hd-in { max-width: calc(var(--wrap) + var(--pad) * 2); margin: 0 auto; padding: 0 var(--pad); height: 76px; display: flex; align-items: center; gap: 32px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; margin-right: auto; }
.brand img { height: 54px; width: auto; display: block; }
.nav { display: flex; gap: 28px; }
.nav a { text-decoration: none; font-size: 16px; font-weight: 560; color: var(--ink); padding: 8px 0; border-bottom: 2px solid transparent; }
.nav a:hover { border-bottom-color: var(--rosu); }
.hd-cta { min-height: 44px; padding: 0 20px; }
.hd-cta { white-space: nowrap; }
.cta-scurt { display: none; }
.nav-btn { display: none; }

/* prima secțiune */
.hero { position: relative; }
.hero-foto { position: relative; margin: 0; height: clamp(440px, calc(100vh - 250px), 700px); background: var(--gri); }
.hero-img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }
.hero-foto figcaption { position: absolute; right: max(var(--pad), calc((100vw - var(--wrap)) / 2)); top: 24px; background: #fff; color: var(--ink); font-size: 14px; font-weight: 650; padding: 8px 14px; border-radius: 2px; }
.hero-in { position: relative; margin-top: -300px; }
.hero-card { background: #fff; max-width: 780px; padding: 48px 56px; border-top: 6px solid var(--rosu); border-radius: 0 0 4px 4px; }
.hero h1 { font-size: clamp(48px, 5.4vw, 80px); font-weight: 760; font-stretch: 80%; line-height: .96; margin-bottom: 24px; }
.hero h1 em { font-style: normal; color: var(--rosu); }
.hero-loc { display: flex; align-items: center; gap: 12px; font-size: 16px; font-weight: 620; font-stretch: 100%; letter-spacing: 0; line-height: 1.4; color: var(--muted); margin-bottom: 24px; }
.hero-loc::before { content: ""; flex: none; width: 14px; height: 10px; background: var(--rosu); border-radius: 1px; }
.hero-lead { font-size: clamp(18px, 1.45vw, 21px); line-height: 1.55; max-width: 30em; color: var(--text); margin-bottom: 32px; }
.hero-act { display: flex; align-items: center; gap: 32px; flex-wrap: wrap; }
.hero-act .lnk { margin-top: 0; }

/* servicii */
.srv { display: grid; grid-template-columns: repeat(3, 1fr); gap: 56px 48px; margin-bottom: 64px; }
.srv-i { border-top: 1px solid var(--line); padding-top: 28px; }
.ico { width: 40px; height: 40px; color: var(--rosu); margin-bottom: 20px; }
.srv-i h3 { font-size: 26px; font-weight: 700; margin-bottom: 10px; }
.srv-i p { color: var(--muted); font-size: 17px; margin: 0; max-width: 22em; }

/* banda de lucrări */
.sec-cap { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.sec-cap .h2 { margin-bottom: 40px; }
.strip-nav { display: flex; gap: 8px; margin-bottom: 40px; }
.sag { width: 52px; height: 52px; border-radius: 50%; border: 1.5px solid var(--ink); background: #fff; color: var(--ink); font-size: 28px; line-height: 1; cursor: pointer; display: grid; place-items: center; padding: 0 0 4px; }
.sag:hover { background: var(--ink); color: #fff; }
.strip {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(300px, 380px); gap: 24px;
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin;
  padding: 0 max(var(--pad), calc((100vw - var(--wrap)) / 2)) 16px;
  scroll-padding-left: max(var(--pad), calc((100vw - var(--wrap)) / 2));
}
.card { scroll-snap-align: start; text-decoration: none; display: flex; flex-direction: column; }
.card img { aspect-ratio: 4 / 5; width: 100%; object-fit: cover; border-radius: 4px; margin-bottom: 16px; transition: opacity .2s; }
.card:hover img { opacity: .9; }
.card-t { font-size: 21px; font-weight: 680; color: var(--ink); font-stretch: 90%; line-height: 1.2; }
.card-n { font-size: 15px; color: var(--muted); }

/* mansarda */
.ba { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.ba figure { position: relative; }
.ba img { aspect-ratio: 4 / 3; width: 100%; object-fit: cover; border-radius: 4px; }
.ba figcaption { position: absolute; top: 16px; left: 16px; background: #fff; color: var(--ink); font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; padding: 6px 12px; border-radius: 2px; }
.ba figure:last-child figcaption { background: var(--rosu); color: #fff; }

/* despre */
.despre { display: grid; grid-template-columns: 5fr 6fr; gap: 80px; align-items: center; }
.despre-img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 4px; }
.despre-txt .h2 { margin-bottom: 32px; }
.despre-txt > p { max-width: 32em; }

/* formular */
.oferta { display: grid; grid-template-columns: 5fr 6fr; gap: 80px; align-items: start; }
.oferta-txt .h2 { margin-bottom: 24px; }
.oferta-txt > p { font-size: 20px; color: #fff; max-width: 22em; }
.zona { margin-top: 56px; padding-top: 32px; border-top: 1px solid #333; }
.zona h3 { font-size: 22px; font-weight: 680; margin-bottom: 12px; }
.zona p { margin: 0; max-width: 26em; }
.form { background: #fff; color: var(--text); border-radius: 6px; padding: 40px; }
.chips { border: 0; margin: 0 0 24px; padding: 0; min-width: 0; }
.chips legend, .fld { display: block; font-size: 15px; font-weight: 650; color: var(--ink); margin-bottom: 10px; padding: 0; }
.chips-in { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip span { display: inline-block; padding: 10px 16px; border: 1.5px solid #cfcfcf; border-radius: 999px; font-size: 15px; line-height: 1.2; transition: background-color .12s, border-color .12s; }
.chip:hover span { border-color: var(--ink); }
.chip input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip input:focus-visible + span { outline: 3px solid var(--rosu); outline-offset: 2px; }
.fld { margin-top: 20px; margin-bottom: 8px; }
.inp { width: 100%; height: 54px; border: 1.5px solid #c9c9c9; border-radius: 4px; padding: 0 16px; font: inherit; font-size: 17px; color: var(--ink); background: #fff; }
.inp:focus { border-color: var(--ink); outline: none; box-shadow: 0 0 0 3px rgba(184,30,36,.25); }
.form .btn-full { margin-top: 32px; }
.nota { font-size: 14px; color: var(--muted); margin: 16px 0 0; }
.msg { background: #fdeceb; color: #7d1418; border-radius: 4px; padding: 12px 16px; font-size: 16px; margin-bottom: 24px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* pagina de lucrări */
.pg-cap { padding-top: 72px; padding-bottom: 32px; }
.pg-cap h1 { font-size: clamp(42px, 6vw, 80px); font-weight: 760; font-stretch: 80%; margin-bottom: 32px; }
.chips-l { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-l { text-decoration: none; padding: 8px 14px; border: 1.5px solid #d0d0d0; border-radius: 999px; font-size: 15px; }
.chip-l:hover { border-color: var(--ink); }
.proj { padding: 64px 0; border-top: 1px solid var(--line); }
.proj-cap { display: flex; align-items: baseline; justify-content: space-between; gap: 32px; margin-bottom: 32px; }
.proj-cap h2 { font-size: clamp(28px, 3vw, 40px); font-weight: 720; }
.proj-cap p { margin: 0; color: var(--muted); max-width: 30em; text-align: right; }
.gal { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.gal-i { display: block; aspect-ratio: 1; overflow: hidden; border-radius: 3px; background: var(--gri); }
.gal-i img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.gal-i:hover img { transform: scale(1.03); }
.gal-mare { grid-column: span 2; grid-row: span 2; }
.banda-in { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.banda .h2 { margin: 0; }

/* fereastra cu poze */
.lb { width: 100vw; height: 100vh; max-width: 100vw; max-height: 100vh; margin: 0; padding: 0; border: 0; background: rgba(10,10,10,.95); color: #fff; }
.lb[open] { display: grid; place-items: center; }
.lb::backdrop { background: rgba(10,10,10,.95); }
.lb-img { max-width: 92vw; max-height: 84vh; width: auto; height: auto; object-fit: contain; user-select: none; touch-action: pan-y; }
.lb-n { position: absolute; bottom: 20px; left: 0; right: 0; text-align: center; font-size: 15px; color: #bbb; margin: 0; }
.lb button { position: absolute; background: rgba(255,255,255,.1); color: #fff; border: 0; border-radius: 50%; width: 56px; height: 56px; font-size: 34px; line-height: 1; cursor: pointer; display: grid; place-items: center; padding: 0 0 4px; }
.lb button:hover { background: rgba(255,255,255,.22); }
.lb-x { top: 16px; right: 16px; }
.lb-p { left: 16px; top: calc(50% - 28px); }
.lb-u { right: 16px; top: calc(50% - 28px); }

/* pagini simple */
.simplu { min-height: 50vh; }
.simplu h1 { font-size: clamp(40px, 5vw, 64px); font-weight: 740; font-stretch: 82%; margin-bottom: 24px; }
.lead-n { font-size: 21px; margin-bottom: 40px; }
.rand { display: flex; align-items: center; gap: 32px; flex-wrap: wrap; }
.rand .lnk { margin-top: 0; }
.text .wrap { max-width: 800px; }
.text h2 { font-size: 26px; font-weight: 700; margin: 40px 0 12px; }

/* subsol */
.ft { border-top: 1px solid var(--line); padding: 72px 0 32px; font-size: 16px; }
.ft-in { display: grid; grid-template-columns: 220px 1fr auto; gap: 64px; align-items: start; }
.ft-logo img { width: 180px; }
.ft-col p { max-width: 24em; color: var(--muted); }
.ft-nav { display: flex; flex-direction: column; gap: 10px; }
.ft-nav a { text-decoration: none; }
.ft-nav a:hover { color: var(--rosu); }
.ft-sub { position: relative; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 56px; padding-top: 24px; font-size: 14px; color: var(--muted); }
.ft-sub::before { content: ""; position: absolute; top: 0; left: var(--pad); right: var(--pad); border-top: 1px solid var(--line); }
.ft-sub a { color: var(--muted); }
.ft-sub a:hover { color: var(--ink); }

@media (max-width: 1080px) {
  .nav { gap: 20px; }
  .srv { grid-template-columns: 1fr 1fr; }
  .despre, .oferta { gap: 48px; }
}

@media (max-width: 900px) {
  :root { --sec: 72px; --pad: 20px; }
  .hd-in { height: 64px; gap: 12px; }
  .brand img { height: 46px; }
  .nav { display: none; position: absolute; top: 64px; left: 0; right: 0; background: #fff; flex-direction: column; gap: 0; border-bottom: 1px solid var(--line); padding: 8px var(--pad) 16px; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 18px; }
  .nav a:last-child { border-bottom: 0; }
  .nav-deschis .nav { display: flex; }
  .nav-btn { display: grid; place-content: center; gap: 6px; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer; padding: 0; }
  .nav-btn .bar { display: block; width: 24px; height: 2px; background: var(--ink); transition: transform .15s; }
  .nav-deschis .nav-btn .bar:nth-of-type(2) { transform: translateY(4px) rotate(45deg); }
  .nav-deschis .nav-btn .bar:nth-of-type(3) { transform: translateY(-4px) rotate(-45deg); }
  .hd-cta { min-height: 40px; padding: 0 14px; font-size: 15px; }
  html { scroll-padding-top: 72px; }

  .hero-foto { height: 52vw; min-height: 220px; }
  .hero-foto figcaption { top: 16px; right: auto; left: var(--pad); font-size: 13px; padding: 6px 12px; }
  .hero-in { margin-top: -32px; padding: 0; }
  .hero-card { padding: 32px var(--pad) 40px; border-radius: 0; }
  .hero h1 { font-size: clamp(42px, 12vw, 60px); margin-bottom: 20px; }
  .h2 { margin-bottom: 32px; }

  .srv { grid-template-columns: 1fr; gap: 0; margin-bottom: 40px; }
  .srv-i { display: grid; grid-template-columns: 40px 1fr; column-gap: 20px; padding: 24px 0; }
  .srv-i .ico { grid-row: span 2; margin: 2px 0 0; width: 36px; height: 36px; }
  .srv-i h3 { font-size: 22px; margin-bottom: 4px; }
  .srv-i p { font-size: 16px; }

  .strip-nav { display: none; }
  .strip { grid-auto-columns: 78%; gap: 16px; }
  .sec-cap .h2 { margin-bottom: 32px; }

  .ba { grid-template-columns: 1fr; }
  .despre, .oferta { grid-template-columns: 1fr; }
  .despre-img { aspect-ratio: 4 / 3; }
  .form { padding: 24px 20px; }
  .zona { margin-top: 32px; padding-top: 24px; }

  .proj { padding: 48px 0; }
  .proj-cap { display: block; margin-bottom: 24px; }
  .proj-cap h2 { margin-bottom: 8px; }
  .proj-cap p { text-align: left; }
  .gal { grid-template-columns: 1fr 1fr; gap: 6px; }

  .ft-in { grid-template-columns: 1fr; gap: 32px; }
  .ft-logo img { width: 150px; }
  .lb button { width: 44px; height: 44px; font-size: 28px; }
  .lb-p { left: 8px; } .lb-u { right: 8px; }
}

@media (max-width: 520px) {
  .hd-in { gap: 8px; }
  .brand { gap: 8px; }
  .brand img { height: 42px; }
  .hd-cta { padding: 0 12px; font-size: 14px; }
}

@media (max-width: 420px) {
  .cta-lung { display: none; }
  .cta-scurt { display: inline; }
}


@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
