/* FORMA Creativ Design — forma.ro
   Un singur fișier de stiluri. Fără resurse externe (fonturile sunt locale). */

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url("../fonturi/manrope-latin-ext-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url("../fonturi/manrope-latin-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --ink: #1a1a1a;
  --body: #4a4a4e;
  --muted: #6f6f72;
  --line: #e4e3e0;
  --paper: #ffffff;
  --paper-2: #f7f6f3;
  --accent: #b0282e;
  --wrap: 1320px;
  --gutter: 40px;
  --font: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--paper); font-size: 16px; line-height: 1.6; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
h1, h2, h3 { margin: 0; font-weight: 300; letter-spacing: -0.025em; line-height: 1.08; }
p { margin: 0; }
figure { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 50; background: var(--ink); color: #fff; padding: 10px 16px; font-size: 14px; }
.skip-link:focus { top: 16px; color: #fff; }

.eyebrow { display: block; font-size: 11px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent); }
.eyebrow--light { color: #fff; }
.eyebrow--muted { color: var(--muted); }
.link-line { display: inline-block; font-size: 11px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; border-bottom: 1px solid currentColor; padding-bottom: 4px; }

/* ---------- Header ---------- */
.site-header { position: absolute; top: 0; left: 0; right: 0; z-index: 20; color: #fff; }
.site-header--solid { position: relative; color: var(--ink); border-bottom: 1px solid var(--line); }
.site-header__bar { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 28px; padding-bottom: 28px; }
.site-header__logo img { height: 40px; width: auto; }
.site-header .logo-dark { display: none; }
.site-header--solid .logo-light { display: none; }
.site-header--solid .logo-dark { display: block; }
.nav { display: flex; gap: 40px; font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; }
.nav a:hover { color: inherit; opacity: 0.7; }
.site-header--solid .nav a:hover { color: var(--accent); opacity: 1; }
.nav-toggle { display: none; background: none; border: 0; color: inherit; font: inherit; font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; padding: 12px 0; cursor: pointer; min-height: 44px; }

/* ---------- Full-bleed image sections ---------- */
.full { position: relative; overflow: hidden; color: #fff; background: #141414; min-height: 560px; height: 82vh; }
.full--hero { height: 100vh; height: 100svh; min-height: 620px; }
.full--short { height: 70vh; min-height: 520px; }
.full__media, .full__media img { position: absolute; inset: 0; width: 100%; height: 100%; }
.full__media img { object-fit: cover; }
.full__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0.42) 0%, rgba(0,0,0,0.06) 34%, rgba(0,0,0,0.58) 100%); }
.full__content { position: absolute; left: 0; right: 0; bottom: 0; }
.full__content .wrap { padding-bottom: 72px; display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.full--end .full__content .wrap { align-items: flex-end; text-align: right; }
.full h1 { font-size: clamp(40px, 6vw, 84px); max-width: 820px; color: #fff; }
.full h2 { font-size: clamp(36px, 5vw, 68px); max-width: 760px; color: #fff; }
.full p { font-size: 18px; color: rgba(255,255,255,0.88); max-width: 520px; }
.full a { color: #fff; }
.full a:hover { opacity: 0.75; }
.full__meta { display: flex; flex-wrap: wrap; gap: 12px 32px; font-size: 16px; }
.full--end .full__meta { justify-content: flex-end; }

/* R monogram: dark translucent tracing + luminous flash */
.mono { position: absolute; top: 9%; height: 104%; width: auto; pointer-events: none; }
.mono--right { right: 5%; }
.mono--left { left: 5%; }
.mono__tint path { fill: rgba(10,10,10,0.30); stroke: rgba(255,255,255,0.21); stroke-width: 3; }
.mono__glow { filter: drop-shadow(0 0 3px #fff) drop-shadow(0 0 14px rgba(255,255,255,0.75)); }
.mono__glow path { fill: none; stroke: #fff; stroke-width: 6; stroke-linecap: round; }
.flash { stroke-dasharray: 55 945; opacity: 0; animation: flash 8s ease-in-out infinite; }
.flash--b { stroke-dasharray: 80 920; animation-duration: 11s; animation-delay: -3.5s; }
.cflash { stroke-dasharray: 90 910; opacity: 0; stroke-width: 7; }
@keyframes flash {
  0% { stroke-dashoffset: 0; opacity: 0; }
  6% { opacity: 1; }
  50% { opacity: 1; }
  62% { stroke-dashoffset: -620; opacity: 0; }
  100% { stroke-dashoffset: -620; opacity: 0; }
}

/* ---------- White bands ---------- */
.band { background: var(--paper); }
.band--tint { background: var(--paper-2); }
.band__inner { padding-top: 144px; padding-bottom: 144px; display: flex; flex-wrap: wrap; gap: 80px; align-items: center; }
.band__inner--top { align-items: flex-start; }
.band__text { flex: 1 1 480px; max-width: 620px; display: flex; flex-direction: column; gap: 28px; }
.band__text--push { margin-left: auto; }
.band__figure { flex: 1 1 320px; max-width: 460px; display: flex; flex-direction: column; gap: 12px; }
.band__figure--push { margin-left: auto; }
.band__figure img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.band__figure--tall img { aspect-ratio: 4 / 5; }
.band__figure figcaption { font-size: 12px; color: var(--muted); }
.band__full { flex: 1 1 100%; }
.h2 { font-size: clamp(30px, 3.4vw, 44px); line-height: 1.14; }
.lead { font-size: 18px; line-height: 1.7; color: var(--body); }

.steps { display: flex; flex-wrap: wrap; gap: 32px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 15px; }
.steps span span { color: var(--accent); margin-right: 8px; }

.proj-list { border-top: 1px solid var(--ink); }
.proj-list a { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.proj-list__name { display: flex; align-items: center; gap: 20px; font-size: 20px; }
.proj-list img { width: 88px; height: 64px; object-fit: cover; flex: none; }
.proj-list__meta { font-size: 13px; color: var(--muted); letter-spacing: 0.04em; text-align: right; }

.cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 40px; }
.cols ul { font-size: 15px; line-height: 1.5; margin-top: 12px; }
.cols li { padding: 9px 0; border-bottom: 1px solid var(--line); }

/* ---------- Contact form ---------- */
.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 24px; }
.form__field { display: flex; flex-direction: column; gap: 8px; }
.form__field--wide { grid-column: 1 / -1; }
.form label { font-size: 11px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.form input, .form select, .form textarea { font: inherit; font-size: 16px; color: var(--ink); background: transparent; border: 0; border-bottom: 1px solid #bdbcb8; border-radius: 0; padding: 10px 0; min-height: 44px; }
.form textarea { min-height: 120px; resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-bottom-color: var(--accent); }
.form__actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 20px; }
.btn { display: inline-flex; align-items: center; min-height: 48px; padding: 0 28px; background: var(--ink); color: #fff; border: 0; font: inherit; font-size: 12px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; cursor: pointer; }
.btn:hover { background: var(--accent); color: #fff; }
.form__note { font-size: 13px; color: var(--muted); }
.form__error { grid-column: 1 / -1; font-size: 14px; color: var(--accent); }
.contact-data { display: flex; flex-direction: column; gap: 18px; font-size: 16px; }
.contact-data .eyebrow { margin-bottom: 4px; }

/* ---------- Project pages ---------- */
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 24px; border-top: 1px solid var(--line); padding-top: 20px; }
.facts dt { font-size: 11px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.facts dd { margin: 6px 0 0; font-size: 16px; }
.facts dl, dl.facts { margin: 0; }
.gallery { columns: 2 360px; column-gap: 24px; }
.gallery figure { break-inside: avoid; margin-bottom: 24px; }
.gallery img { width: 100%; }
.before { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; align-items: start; }
.next-proj { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; padding-top: 48px; padding-bottom: 48px; border-top: 1px solid var(--line); }
.next-proj a { display: flex; flex-direction: column; gap: 8px; }
.next-proj__title { font-size: 28px; font-weight: 300; letter-spacing: -0.02em; }
.next-proj__end { text-align: right; margin-left: auto; }

/* ---------- Legal pages ---------- */
.legal { padding-top: 96px; padding-bottom: 120px; max-width: 820px; }
.legal h1 { font-size: clamp(34px, 4vw, 52px); margin-bottom: 40px; }
.legal h2 { font-size: 22px; font-weight: 500; letter-spacing: -0.01em; margin: 40px 0 12px; }
.legal p, .legal li { color: var(--body); line-height: 1.75; }
.legal ul { list-style: disc; padding-left: 22px; }
.legal p + p { margin-top: 12px; }
.legal a { color: var(--accent); border-bottom: 1px solid currentColor; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); }
.site-footer__bar { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px 32px; padding-top: 24px; padding-bottom: 24px; font-size: 12px; color: var(--muted); }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 24px; letter-spacing: 0.1em; text-transform: uppercase; }
.site-footer a:hover { color: var(--accent); }


/* ---------- Header right: nav + language ---------- */
.site-header__right { display: flex; align-items: center; gap: 40px; }
.lang { font-size: 12px; letter-spacing: 0.16em; }
.lang [aria-current] { font-weight: 600; }
.lang a { opacity: 0.7; }
.lang a:hover { opacity: 1; }

/* ---------- Studio: process images ---------- */
.proc { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }
.proc img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.proc figcaption { margin-top: 10px; font-size: 12px; color: var(--muted); letter-spacing: 0.04em; }

/* ---------- Contact: phones, vCard, map ---------- */
.contact-data a { display: block; }
.contact-data .btn { display: inline-flex; }
.contact-data__phones a + a { margin-top: 2px; }
.vcard { display: flex; flex-direction: column; gap: 12px; padding-top: 20px; border-top: 1px solid var(--line); }
.band__figure .vcard__qr { width: 160px; height: 160px; aspect-ratio: 1 / 1; align-self: flex-start; }
.vcard__cap { font-size: 13px; color: var(--muted); max-width: 260px; }
.btn--line { background: transparent; color: var(--ink); border: 1px solid var(--ink); align-self: flex-start; }
.btn--line:hover { background: var(--ink); color: #fff; }
.map { display: flex; flex-direction: column; gap: 16px; }
.map__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 12px; }
.map__frame { position: relative; height: 440px; background: var(--paper-2); border: 1px solid var(--line); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; text-align: center; padding: 24px; }
.map__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map__note { font-size: 13px; color: var(--muted); }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  :root { --gutter: 22px; }
  .nav-toggle { display: inline-flex; align-items: center; }
  .nav { display: none; position: fixed; inset: 0; z-index: 30; flex-direction: column; justify-content: center; align-items: center; gap: 28px; background: rgba(20,20,20,0.97); color: #fff; font-size: 16px; }
  .nav.is-open { display: flex; }
  .nav a:hover { color: #fff; }
  .site-header--solid .nav a:hover { color: #fff; }
  .nav-toggle[aria-expanded="true"] { position: relative; z-index: 40; color: #fff; }
  .site-header__right { gap: 20px; }
  .map__frame { height: 360px; }
  .band__figure .vcard__qr { width: 140px; height: 140px; }
  .band__inner { padding-top: 88px; padding-bottom: 88px; gap: 48px; }
  .mono { top: auto; bottom: 22%; height: 58%; }
  .mono--right { right: -12%; }
  .mono--left { left: -12%; }
  .full__content .wrap { padding-bottom: 48px; }
  .full--end .full__content .wrap { align-items: flex-start; text-align: left; }
  .full--end .full__meta { justify-content: flex-start; }
  .form { grid-template-columns: 1fr; }
  .proj-list img { width: 64px; height: 48px; }
  .proj-list__name { font-size: 17px; gap: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .flash, .flash--b, .cflash { animation: none; opacity: 0; }
}

/* Grupul FORMA: cele 3 branduri, în secțiunea Contact */
.group { display: flex; flex-direction: column; gap: 10px; padding-top: 32px; border-top: 1px solid var(--line); }
.group__t { margin: 0; font-size: 22px; font-weight: 500; line-height: 1.3; }
.group__p { margin: 0; color: var(--muted); max-width: 640px; }
.group__list { list-style: none; margin: 10px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.group__item { display: flex; flex-direction: column; gap: 8px; padding-top: 14px; border-top: 1px solid var(--ink); }
.group__item--here { border-top-color: var(--accent); }
.group__item p { margin: 0; font-size: 15px; }
.group__brand { font-size: 13px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; }
.group__c a { display: block; }
.group__item .link-line, .group__here { margin-top: auto; align-self: flex-start; }
.group__here { font-size: 11px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent); }
@media (max-width: 760px) { .group__list { grid-template-columns: minmax(0, 1fr); } }
