/* Logos Consult v2 — stiluri
   Culorile vin din logo: verdele scrisului, fucsia și portocaliul din semn. */
:root {
  --pine: #0f2b23;        /* fundal închis, text principal */
  --pine-2: #17382e;
  --green: #009846;       /* verdele din logo */
  --green-deep: #007a3a;  /* butoane și linkuri pe fundal deschis */
  --fuchsia: #e5097f;     /* punctele edițiilor, accente */
  --fuchsia-deep: #c2076c;/* text fucsia pe fundal deschis */
  --amber: #ef7f1a;       /* acțiunea principală pe fundal închis */
  --paper: #f5f7f3;
  --white: #ffffff;
  --mist: #e2e9e3;
  --line: #cfd9d1;
  --ink: #14211c;
  --ink-2: #47564f;
  --on-dark: #eef4ef;
  --on-dark-2: #b7c8be;

  --display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --text: "IBM Plex Sans", "Helvetica Neue", Arial, sans-serif;

  --wrap: 1200px;
  --gut: clamp(16px, 4vw, 40px);
  --r: 6px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  font-family: var(--text);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
address { font-style: normal; }
a { color: var(--green-deep); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { color: var(--fuchsia-deep); }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; border-radius: 2px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--pine); color: #fff; padding: 10px 16px; border-radius: var(--r); }
.skip:focus { top: 12px; color: #fff; }
.wrap { width: min(100% - 2 * var(--gut), var(--wrap)); margin-inline: auto; }

h1, h2, h3, .h-xl, .h-lg { font-family: var(--display); font-weight: 420; letter-spacing: -0.012em; line-height: 1.12; text-wrap: balance; }
h1 { font-size: clamp(2.3rem, 4.6vw + 0.6rem, 4.1rem); line-height: 1.04; font-weight: 380; letter-spacing: -0.022em; }
.h-xl { font-size: clamp(1.85rem, 2.4vw + 1rem, 2.85rem); }
.h-lg { font-size: clamp(1.45rem, 1vw + 1.1rem, 1.8rem); }
h3 { font-size: 1.3rem; line-height: 1.2; }
p { text-wrap: pretty; }

/* ---------- Butoane și linkuri ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 22px;
  font: 600 1rem/1 var(--text); text-decoration: none; white-space: nowrap;
  border: 1.5px solid transparent; border-radius: 8px; cursor: pointer;
  transition: background-color .15s, color .15s, border-color .15s;
}
.btn-solid { background: var(--green-deep); color: #fff; }
.btn-solid:hover { background: var(--pine); color: #fff; }
.btn-ghost { border-color: rgba(255,255,255,.55); color: #fff; }
.btn-ghost:hover { background: #fff; color: var(--pine); border-color: #fff; }
.btn-ghost-dark { border-color: var(--ink); color: var(--ink); background: none; }
.btn-ghost-dark:hover { background: var(--ink); color: #fff; }
.btn-light { background: #fff; color: var(--pine); }
.btn-light:hover { background: var(--amber); color: var(--pine); }
.more { font-weight: 600; text-decoration: underline; text-decoration-color: color-mix(in srgb, currentColor 40%, transparent); }
.more:hover { text-decoration-color: currentColor; }

/* ---------- Antet ---------- */
.top { position: sticky; top: 0; z-index: 50; background: rgba(245,247,243,.94); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.top-in { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 76px; }
.brand img { width: 150px; height: auto; }
.nav { display: flex; align-items: center; gap: clamp(14px, 1.9vw, 28px); }
.nav > a { white-space: nowrap; }
.nav > a:not(.btn) { color: var(--ink); text-decoration: none; font-weight: 500; padding: 8px 0; border-bottom: 2px solid transparent; }
.nav > a:not(.btn):hover { border-bottom-color: var(--green); }
.nav > a[aria-current="page"] { border-bottom-color: var(--fuchsia); }
.nav .lang { font-weight: 600; font-size: .9rem; letter-spacing: .04em; padding: 6px 10px !important; border: 1.5px solid var(--line) !important; border-radius: 6px; }
.nav .lang:hover { border-color: var(--green) !important; }
.nav-cta { min-height: 44px; padding: 0 18px; }
.burger { display: none; width: 48px; height: 48px; border: 0; background: none; cursor: pointer; padding: 0; }
.burger-bars, .burger-bars::before, .burger-bars::after { display: block; width: 24px; height: 2px; background: var(--ink); margin: 0 auto; position: relative; transition: transform .2s; content: ""; }
.burger-bars::before { position: absolute; top: -7px; }
.burger-bars::after { position: absolute; top: 7px; }
.burger[aria-expanded="true"] .burger-bars { background: transparent; }
.burger[aria-expanded="true"] .burger-bars::before { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] .burger-bars::after { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1060px) {
  .burger { display: block; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0; background: var(--paper); border-bottom: 1px solid var(--line); padding: 8px var(--gut) 20px; }
  .nav.open { display: flex; }
  .nav > a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 1.1rem; }
  .nav .lang { align-self: flex-start; margin: 16px 0 12px; }
  .top { backdrop-filter: none; background: var(--paper); }
}

/* ---------- Hero ---------- */
.hero { position: relative; isolation: isolate; background: var(--pine); color: var(--on-dark); overflow: hidden; display: grid; align-items: end; min-height: min(calc(100vh - 78px), 820px); padding: clamp(110px, 12vw, 180px) 0 clamp(44px, 5vw, 72px); }
.hero-bg { position: absolute; inset: 0; z-index: -1; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.hero-bg::after { content: ''; position: absolute; inset: 0; background:
  linear-gradient(90deg, rgba(9, 30, 24, .95) 0%, rgba(9, 30, 24, .88) 44%, rgba(9, 30, 24, .34) 80%, rgba(9, 30, 24, .42) 100%),
  linear-gradient(0deg, rgba(9, 30, 24, .78) 0%, rgba(9, 30, 24, 0) 46%); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: clamp(32px, 5vw, 72px); align-items: end; }
.hero-kicker { color: #fff; font-weight: 500; margin-bottom: 20px; }
.hero h1 { color: #fff; font-size: clamp(2.5rem, 5.2vw + 0.6rem, 5.1rem); max-width: 12.5em; }
.hero-lead { margin-top: 26px; font-size: 1.2rem; line-height: 1.55; max-width: 33em; color: #fff; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero .btn-solid { background: var(--amber); color: var(--pine); }
.hero .btn-solid:hover { background: #fff; color: var(--pine); }
.hero-visual { position: relative; }

/* Ecusonul de participant: singurul element „jucăuș” al paginii */
.badge {
  position: relative; width: 264px;
  background: #fff; color: var(--ink); border-radius: 14px; padding: 46px 22px 0;
  box-shadow: 0 22px 44px rgba(4, 20, 14, .42);
  transform-origin: 50% -520px;
  animation: swing 2.2s cubic-bezier(.33, 1, .68, 1) .25s both;
}
.badge-strap { position: absolute; left: 50%; bottom: calc(100% - 22px); width: 20px; height: 900px; margin-left: -10px; background: linear-gradient(90deg, #00863d, var(--green) 45%, #00863d); z-index: -1; }
.badge-slot { position: absolute; left: 50%; top: 16px; width: 52px; height: 10px; margin-left: -26px; border-radius: 6px; background: var(--pine); }
.badge-label { font-size: .85rem; font-weight: 600; color: var(--green-deep); }
.badge-date { font-family: var(--display); font-size: 1.45rem; line-height: 1.15; margin-top: 4px; letter-spacing: -0.01em; }
.badge-title { font-weight: 600; line-height: 1.3; margin-top: 12px; }
.badge-place { color: var(--ink-2); font-size: .95rem; line-height: 1.35; margin-top: 4px; }
.badge-band { margin: 18px -22px 0; padding: 9px 22px; background: var(--fuchsia-deep); color: #fff; font-size: .85rem; font-weight: 600; border-radius: 0 0 14px 14px; }
.badge-band:empty { padding: 5px; }
@keyframes swing {
  0% { transform: rotate(-7deg); opacity: 0; }
  12% { opacity: 1; }
  40% { transform: rotate(3.2deg); }
  65% { transform: rotate(-1.4deg); }
  85% { transform: rotate(.5deg); }
  100% { transform: rotate(0); }
}

@media (max-width: 900px) {
  .hero { min-height: 0; padding-top: clamp(96px, 22vw, 150px); }
  .hero-bg img { object-position: 84% 50%; }
  .hero-bg::after { background: linear-gradient(0deg, rgba(9, 30, 24, .96) 0%, rgba(9, 30, 24, .84) 55%, rgba(9, 30, 24, .5) 100%); }
  .hero-grid { grid-template-columns: 1fr; }
  .badge { width: min(264px, 100%); animation: none; }
  .badge-strap { display: none; }
}

/* ---------- Cifre ---------- */
.figures { background: var(--white); border-bottom: 1px solid var(--line); }
.figures-row { display: grid; grid-template-columns: repeat(4, 1fr); }
.figures-row > div { padding: clamp(24px, 3vw, 40px) clamp(16px, 2vw, 28px); border-left: 1px solid var(--line); }
.figures-row > div:first-child { border-left: 0; padding-left: 0; }
.figures-row dt { font-family: var(--display); font-size: clamp(2.4rem, 3.4vw + 1rem, 3.8rem); line-height: 1; color: var(--fuchsia-deep); font-weight: 380; letter-spacing: -0.02em; }
.figures-row dd { margin-top: 10px; color: var(--ink-2); max-width: 16em; line-height: 1.4; }
@media (max-width: 760px) {
  .figures-row { grid-template-columns: 1fr 1fr; }
  .figures-row > div { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); }
  .figures-row > div:nth-child(-n+2) { border-top: 0; }
  .figures-row > div:nth-child(even) { padding-left: 16px; border-left: 1px solid var(--line); }
}

/* ---------- Secțiuni ---------- */
.block { padding: clamp(64px, 8vw, 120px) 0; }
.split-head { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(20px, 5vw, 72px); align-items: end; margin-bottom: clamp(32px, 4vw, 56px); }
.split-head > p { color: var(--ink-2); max-width: 36em; }
@media (max-width: 760px) { .split-head { grid-template-columns: 1fr; align-items: start; } }

.ticks li { position: relative; padding: 9px 0 9px 28px; border-top: 1px solid var(--line); line-height: 1.4; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: 16px; width: 12px; height: 7px; border-left: 2px solid var(--green); border-bottom: 2px solid var(--green); transform: rotate(-45deg); }

/* Publicuri */
.audiences .h-xl { margin-bottom: clamp(28px, 4vw, 48px); }
.aud-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(16px, 2.4vw, 32px); }
.aud { border-radius: var(--r); overflow: hidden; display: flex; flex-direction: column; }
.aud img { width: 100%; aspect-ratio: 16 / 8; object-fit: cover; }
.aud-body { padding: clamp(24px, 3vw, 40px); display: flex; flex-direction: column; gap: 16px; flex: 1; }
.aud-body h3 { font-size: clamp(1.5rem, 1.2vw + 1.1rem, 1.95rem); }
.aud-body .more { margin-top: auto; padding-top: 12px; align-self: flex-start; }
.aud-med { background: var(--white); border: 1px solid var(--line); }
.aud-corp { background: var(--pine); color: var(--on-dark); }
.aud-corp h3 { color: #fff; }
.aud-corp .aud-body { justify-content: flex-start; }
.aud-corp .ticks li { border-top-color: rgba(255,255,255,.16); }
.aud-corp .ticks li::before { border-color: var(--amber); }
.aud-corp .more { color: #fff; }
.aud-corp .more:hover { color: var(--amber); }
.aud-extra { margin-top: 12px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.16); }
.aud-extra h4 { margin: 0 0 8px; font: 420 1.3rem/1.25 var(--display); color: #fff; }
.aud-extra p { color: var(--on-dark-2); }
.pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.pills li { padding: 6px 13px; border: 1px solid rgba(255,255,255,.28); border-radius: 999px; font-size: .95rem; }
@media (max-width: 860px) { .aud-grid { grid-template-columns: 1fr; } }

/* Fazele evenimentului */
.phases { background: var(--white); border-block: 1px solid var(--line); }
.phase-grid { display: grid; grid-template-columns: 4fr 4fr 3fr; gap: clamp(20px, 3vw, 48px); }
.phase { border-top: 3px solid var(--green); padding-top: 22px; position: relative; }
.phase::before { content: ""; position: absolute; top: -9px; left: 0; width: 15px; height: 15px; border-radius: 50%; background: var(--white); border: 3px solid var(--green); }
.phase:nth-child(2) { border-top-color: var(--fuchsia); }
.phase:nth-child(2)::before { border-color: var(--fuchsia); }
.phase:nth-child(3) { border-top-color: var(--amber); }
.phase:nth-child(3)::before { border-color: var(--amber); }
.phase h3 { font-size: 1.55rem; margin-bottom: 14px; }
.phase dt { font-weight: 600; margin-top: 18px; }
.phase dd { color: var(--ink-2); line-height: 1.5; margin-top: 2px; }
.after-link { margin-top: 40px; }
@media (max-width: 860px) { .phase-grid { grid-template-columns: 1fr; gap: 40px; } }

/* Fidelitate: tabelul edițiilor */
.loyalty { background: var(--pine); color: var(--on-dark); }
.loyalty .h-xl { color: #fff; }
.loyalty .split-head > p { color: var(--on-dark-2); }
.matrix-scroll { overflow-x: auto; margin-inline: calc(-1 * var(--gut)); padding-inline: var(--gut); }
.matrix { width: 100%; min-width: 720px; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.matrix th, .matrix td { padding: 15px 8px; text-align: center; border-top: 1px solid rgba(255,255,255,.14); }
.matrix thead th { border-top: 0; font-weight: 500; color: var(--on-dark-2); font-size: .95rem; padding-bottom: 10px; }
.matrix th[scope="row"], .matrix thead th:first-child { text-align: left; padding-left: 0; }
.matrix th[scope="row"] { font: 420 1.15rem/1.25 var(--display); color: #fff; }
.matrix .total, .matrix thead th:last-child { text-align: right; padding-right: 0; white-space: nowrap; }
.matrix .total { font-weight: 600; color: var(--amber); }
.dot { display: inline-block; width: 20px; height: 20px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.3); vertical-align: middle; }
.dot.on { background: var(--fuchsia); border-color: var(--fuchsia); }
.loyalty-low { margin-top: clamp(48px, 6vw, 80px); padding-top: clamp(32px, 4vw, 48px); border-top: 1px solid rgba(255,255,255,.14); }
.loyalty-low h3 { color: #fff; margin-bottom: 20px; }
.places { display: flex; flex-wrap: wrap; gap: 8px; }
.places li { padding: 6px 13px; border: 1px solid rgba(255,255,255,.28); border-radius: 999px; font-size: .95rem; }
.places li b { font-weight: 600; color: var(--amber); margin-left: 6px; }
.places-note { margin-top: 18px; color: var(--on-dark-2); max-width: 30em; }

/* Grafic cu bare (decorativ pe prima pagină, filtru în portofoliu) */

/* Evenimente reprezentative */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 40px) clamp(16px, 2.4vw, 32px); }
.card-img { position: relative; background: var(--mist); border-radius: var(--r); aspect-ratio: 16 / 9; margin-bottom: 16px; overflow: hidden; }
.card-img img { position: absolute; inset: 12px; width: calc(100% - 24px); height: calc(100% - 24px); max-width: none; object-fit: contain; }
.card-kind { font-size: .9rem; font-weight: 600; color: var(--fuchsia-deep); }
.card h3 { margin-top: 4px; font-size: 1.35rem; }
.card-meta { margin-top: 8px; color: var(--ink-2); line-height: 1.4; }
@media (max-width: 900px) { .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .cards { grid-template-columns: 1fr; } }

/* Fotografii de la fața locului */
.onsite { background: var(--white); border-block: 1px solid var(--line); }
.onsite .h-xl { margin-bottom: clamp(24px, 3vw, 40px); }
.shots { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(12px, 1.8vw, 24px); }
.shot img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--r); }
.shot { display: flex; flex-direction: column; }
.shot figcaption, .cap, .story-photo figcaption, .gal figcaption { font-size: .9rem; color: var(--ink-2); line-height: 1.4; padding-top: 10px; }
.shot-a { grid-column: span 7; } .shot-a img { aspect-ratio: 7 / 4.4; }
.shot-b { grid-column: span 5; } .shot-b img { aspect-ratio: 5 / 4.4; }
.shot-c { grid-column: span 4; } .shot-c img { aspect-ratio: 4 / 3; }
.shot-d { grid-column: span 8; } .shot-d img { aspect-ratio: 8 / 2.93; }
.shot img { height: auto; }
@media (max-width: 760px) {
  .shot-a, .shot-b, .shot-c, .shot-d { grid-column: span 12; }
  .shot-a img, .shot-b img, .shot-c img { aspect-ratio: 4 / 3; }
  .shot-d img { aspect-ratio: 16 / 7; }
}

/* Etape */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(20px, 3vw, 40px); counter-reset: step; }
.steps li { counter-increment: step; border-top: 1px solid var(--ink); padding-top: 18px; }
.steps li::before { content: counter(step); display: block; font: 380 3.4rem/1 var(--display); color: var(--green-deep); margin-bottom: 18px; }
.steps li:last-child::before { color: var(--fuchsia-deep); }
.steps h3 { margin-bottom: 8px; }
.steps p { color: var(--ink-2); }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .steps { grid-template-columns: 1fr; } }

/* Parteneriat anual */
.yearly { background: var(--mist); }
.yearly-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.yearly-grid > div > * + * { margin-top: 18px; }
.yearly .btn { margin-top: 28px; }
.tag-new { display: inline-block; background: var(--fuchsia-deep); color: #fff; font-weight: 600; font-size: .9rem; padding: 5px 12px; border-radius: 999px; }
.pilot { font-weight: 600; }
.yearly-list > div { padding: 20px 0; border-top: 1px solid #b9c7bd; display: grid; grid-template-columns: 11em 1fr; gap: 6px 24px; }
.yearly-list > div:last-child { border-bottom: 1px solid #b9c7bd; }
.yearly-list dt { font: 420 1.2rem/1.25 var(--display); }
.yearly-list dd { color: var(--ink-2); }
@media (max-width: 860px) { .yearly-grid { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .yearly-list > div { grid-template-columns: 1fr; } }

/* Grupul */
.group-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2.4vw, 32px); }
.co { padding: clamp(22px, 2.6vw, 34px); border: 1px solid var(--line); border-radius: var(--r); background: var(--white); }
.co-main { background: var(--green-deep); border-color: var(--green-deep); color: #fff; }
.co h3 { font-size: 1.6rem; }
.co-role { margin-top: 4px; font-weight: 600; color: var(--green-deep); }
.co-main .co-role { color: #d7f2e1; }
.co ul { margin-top: 18px; }
.co li { padding: 9px 0; border-top: 1px solid var(--line); line-height: 1.4; }
.co-main li { border-top-color: rgba(255,255,255,.25); }
@media (max-width: 860px) { .group-grid { grid-template-columns: 1fr; } }

/* Închidere */
.closing { background: var(--green-deep); color: #fff; padding: clamp(56px, 7vw, 104px) 0; }
.closing-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, .6fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.closing p { margin-top: 18px; max-width: 36em; color: #e6f6ec; }
.closing .btn { margin-top: 30px; }
.person { border-left: 3px solid var(--amber); padding-left: 24px; }
.person p { margin-top: 4px; }
.person .person-role { font-size: .95rem; margin-top: 0; }
.person .person-name { font: 420 1.7rem/1.2 var(--display); color: inherit; margin: 4px 0 10px; }
.closing .person a { color: #fff; }
.closing .person a:hover { color: var(--amber); }
.person-plain { border-left-color: var(--fuchsia); }
@media (max-width: 760px) { .closing-grid { grid-template-columns: 1fr; } }

/* ---------- Subsol ---------- */
.foot { background: var(--pine); color: var(--on-dark-2); padding: clamp(48px, 6vw, 80px) 0 28px; font-size: .97rem; }
.foot a { color: var(--on-dark); }
.foot a:hover { color: var(--amber); }
.foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1.1fr 1.3fr; gap: clamp(24px, 4vw, 56px); }
.foot h2 { font: 600 1rem/1.3 var(--text); letter-spacing: 0; color: #fff; margin-bottom: 12px; }
.foot li { padding: 4px 0; }
.foot li span { display: block; font-size: .88rem; }
.foot-logo { display: inline-block; background: #fff; border-radius: 8px; padding: 10px 14px; margin-bottom: 16px; }
.foot-logo img { width: 140px; }
.foot-brand p { max-width: 24em; }
.foot address { line-height: 1.75; }
.foot-low { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 48px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.14); font-size: .9rem; }
@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .foot-grid { grid-template-columns: 1fr; } }

/* ---------- Antet de pagină interioară ---------- */
.page-head { background: var(--pine); color: var(--on-dark); padding: clamp(48px, 7vw, 96px) 0 clamp(40px, 5vw, 72px); }
.page-head h1 { color: #fff; font-size: clamp(2.1rem, 3.6vw + 0.7rem, 3.5rem); max-width: 17em; }
.page-head .lead { margin-top: 22px; font-size: 1.15rem; max-width: 38em; }
.page-head-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, .7fr); gap: clamp(28px, 5vw, 80px); align-items: end; }
.page-head-grid > :only-child { grid-column: 1 / -1; }
.jump { display: flex; flex-direction: column; }
.jump a { color: var(--on-dark); text-decoration: none; padding: 11px 0; border-top: 1px solid rgba(255,255,255,.18); font-weight: 500; }
.jump a:last-child { border-bottom: 1px solid rgba(255,255,255,.18); }
.jump a:hover { color: var(--amber); }
.mini-figs { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 28px; }
.mini-figs dt { font: 380 2.6rem/1 var(--display); color: #fff; }
.mini-figs dd { color: var(--on-dark-2); margin-top: 6px; line-height: 1.35; font-size: .97rem; }
@media (max-width: 860px) { .page-head-grid { grid-template-columns: 1fr; align-items: start; } }

/* ---------- Servicii ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(28px, 3vw, 48px) clamp(20px, 3vw, 48px); }
.svc h3 { margin-bottom: 14px; min-height: 2.4em; display: flex; align-items: flex-end; }
@media (max-width: 900px) { .svc-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .svc-grid { grid-template-columns: 1fr; } .svc h3 { min-height: 0; } }

.formats { margin-top: clamp(48px, 6vw, 88px); }
.formats .h-lg { margin-bottom: 20px; }
.formats-row { display: grid; grid-template-columns: repeat(3, 1fr); background: var(--pine); color: var(--on-dark); border-radius: var(--r); }
.formats-row > div { padding: clamp(22px, 2.6vw, 34px); border-left: 1px solid rgba(255,255,255,.16); }
.formats-row > div:first-child { border-left: 0; }
.formats-row dt { font: 420 1.5rem/1.2 var(--display); color: var(--amber); margin-bottom: 8px; }
.formats-plain { margin-top: clamp(32px, 4vw, 56px); }
@media (max-width: 760px) {
  .formats-row { grid-template-columns: 1fr; }
  .formats-row > div { border-left: 0; border-top: 1px solid rgba(255,255,255,.16); }
  .formats-row > div:first-child { border-top: 0; }
}

.tech { background: var(--white); border-block: 1px solid var(--line); }
.tech-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.tech-photo img { border-radius: var(--r); aspect-ratio: 4 / 3.4; object-fit: cover; width: 100%; }
.tech-grid .h-xl + p { margin-top: 16px; color: var(--ink-2); max-width: 34em; }
.acc { margin-top: 28px; border-bottom: 1px solid var(--line); }
.acc details { border-top: 1px solid var(--line); }
.acc summary { cursor: pointer; list-style: none; padding: 17px 36px 17px 0; position: relative; font: 420 1.25rem/1.25 var(--display); }
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 10px; height: 10px; border-right: 2px solid var(--green-deep); border-bottom: 2px solid var(--green-deep); transform: translateY(-70%) rotate(45deg); transition: transform .2s; }
.acc details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.acc summary:hover { color: var(--green-deep); }
.acc details p { padding: 0 0 20px; color: var(--ink-2); max-width: 38em; }
@media (max-width: 860px) { .tech-grid { grid-template-columns: 1fr; } }

.sec-photo { margin: 0 0 clamp(24px, 3vw, 40px); }
.sec-photo img { width: 100%; aspect-ratio: 21 / 8; object-fit: cover; border-radius: var(--r); }
@media (max-width: 700px) { .sec-photo img { aspect-ratio: 16 / 10; } }
.kinds { display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid var(--ink); }
.kinds li { padding: 20px 18px 22px 0; border-right: 1px solid var(--line); margin-right: 18px; }
.kinds li:last-child { border-right: 0; margin-right: 0; }
.kinds h3 { margin-bottom: 6px; }
.kinds p { color: var(--ink-2); line-height: 1.45; }
.kinds-4 { grid-template-columns: repeat(4, 1fr); }
.tb { background: var(--white); border-block: 1px solid var(--line); }
.note-strong { margin-top: 32px; font-weight: 600; color: var(--fuchsia-deep); font-size: 1.1rem; }
@media (max-width: 900px) {
  .kinds, .kinds-4 { grid-template-columns: 1fr 1fr; }
  .kinds li { border-right: 0; margin-right: 0; border-bottom: 1px solid var(--line); padding-right: 16px; }
}
@media (max-width: 480px) { .kinds, .kinds-4 { grid-template-columns: 1fr; } }

/* ---------- Portofoliu ---------- */
.pf { padding-top: clamp(40px, 5vw, 64px); }
.pf-controls { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: start; padding-bottom: 28px; border-bottom: 1px solid var(--ink); }
.pf-label { display: block; font: 600 .9rem/1.3 var(--text); letter-spacing: 0; color: var(--ink-2); margin-bottom: 10px; }
.pf-filters { display: grid; gap: 22px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { min-height: 44px; padding: 0 16px; border: 1.5px solid var(--line); border-radius: 999px; background: var(--white); font: 500 1rem/1 var(--text); color: var(--ink); cursor: pointer; }
.chip:hover { border-color: var(--green); }
.chip[aria-pressed="true"] { background: var(--pine); border-color: var(--pine); color: #fff; }
.pf-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.pf-fields select, .pf-fields input, .field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 10px 14px; font: 400 1rem/1.4 var(--text); color: var(--ink);
  background: var(--white); border: 1.5px solid var(--line); border-radius: 8px;
}
.pf-fields select:hover, .pf-fields input:hover, .field input:hover, .field select:hover, .field textarea:hover { border-color: var(--green); }
.pf-count { margin: 22px 0 6px; color: var(--ink-2); }
.pf-count b { color: var(--ink); }
.pf-year { margin-top: 36px; }
.pf-year > h3 { font-size: 2.2rem; display: flex; align-items: baseline; gap: 14px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.pf-rows { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(28px, 3.4vw, 44px) clamp(20px, 2.4vw, 32px); padding-top: 24px; }
.pf-card { display: flex; flex-direction: column; }
.pf-media { position: relative; aspect-ratio: 16 / 9; background: var(--mist); border-radius: var(--r); overflow: hidden; margin-bottom: 14px; }
.pf-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
button.pf-media { display: block; width: 100%; border: 0; padding: 0; font: inherit; cursor: zoom-in; }
button.pf-media:hover { box-shadow: 0 0 0 2px var(--green); }
.pf-site { display: inline-block; margin-top: 8px; font-weight: 600; color: var(--green-deep); text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }
.pf-site:hover { color: var(--fuchsia-deep); }
.lb { border: 0; padding: 0; width: min(1100px, calc(100vw - 32px)); max-height: calc(100vh - 32px); overflow: auto; background: var(--white); color: var(--ink); border-radius: 10px; }
.lb::backdrop { background: rgba(9, 30, 24, .84); }
.lb-bar { position: sticky; top: 0; z-index: 1; display: flex; justify-content: flex-end; padding: 10px 12px; background: var(--white); }
.lb-x { min-height: 40px; padding: 0 16px; border: 1.5px solid var(--line); border-radius: 999px; background: var(--white); font: 500 .95rem/1 var(--text); color: var(--ink); cursor: pointer; }
.lb-x:hover { border-color: var(--green); }
.lb-main { display: block; margin: 0 auto; max-width: 100%; max-height: 66vh; width: auto; height: auto; }
.lb-thumbs { display: flex; flex-wrap: wrap; gap: 8px; padding: 12px 22px 0; }
.lb-thumbs[hidden] { display: none; }
.lb-thumbs button { width: 92px; height: 62px; padding: 0; border: 2px solid transparent; border-radius: 4px; overflow: hidden; background: var(--mist); cursor: pointer; }
.lb-thumbs button[aria-current="true"] { border-color: var(--fuchsia); }
.lb-thumbs img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pf-media-photo img { object-fit: cover; }
.tag-ph { background: var(--pine); color: #fff; }
.lb-cap { padding: 18px 22px 24px; display: grid; gap: 6px; }
.lb-title { font: 420 1.45rem/1.2 var(--display); letter-spacing: -0.012em; }
.lb-meta { color: var(--ink-2); }
.lb-site { justify-self: start; margin-top: 12px; }
.lb-site[hidden] { display: none; }
.pf-media-none { display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-end; gap: 4px; padding: 16px 18px; background: var(--pine); }
.pf-media-none::before { content: ''; position: absolute; right: 0; top: 0; width: 34%; aspect-ratio: 1; background: conic-gradient(from 225deg at 100% 0, var(--fuchsia) 0 30deg, var(--amber) 0 60deg, var(--green) 0 90deg, transparent 0); }
.pf-media-none span { position: relative; font: 420 1.4rem/1.15 var(--display); letter-spacing: -0.012em; color: #fff; }
.pf-media-none .pf-none-date { font: 600 .88rem/1.2 var(--text); letter-spacing: 0; color: var(--amber); }
.pf-date { font-size: .95rem; margin-bottom: 4px; }
.pf-place { margin-top: 4px; }
.pf-date { font-variant-numeric: tabular-nums; color: var(--ink-2); }
.pf-title { font-weight: 600; line-height: 1.35; }
.pf-title a { color: inherit; }
.pf-title a:hover { color: var(--green-deep); }
.pf-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.tag { font-size: .84rem; line-height: 1; padding: 5px 9px; border-radius: 999px; background: var(--mist); color: var(--ink); white-space: nowrap; }
.tag-f-online { background: #e3ecf7; }
.tag-f-hybrid { background: #fde8d3; }
.tag-intl { background: var(--fuchsia-deep); color: #fff; }
.pf-place { color: var(--ink-2); line-height: 1.4; }
.pf-empty { padding: 48px 0; }
.pf-empty p { margin-bottom: 16px; font-size: 1.15rem; }
@media (max-width: 900px) {
  .pf-controls { grid-template-columns: 1fr; }
  .pf-rows { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .pf-rows { grid-template-columns: 1fr; }
  .pf-media-none { aspect-ratio: auto; padding: 14px 16px; }
}
@media (max-width: 480px) { .pf-fields { grid-template-columns: 1fr; } }

/* ---------- Despre ---------- */
.story-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
.story-photo img { border-radius: var(--r); width: 100%; aspect-ratio: 4 / 3.3; object-fit: cover; }
.prose > * + * { margin-top: 18px; }
.prose p { max-width: 36em; }
@media (max-width: 860px) { .story-grid { grid-template-columns: 1fr; } }

.values { background: var(--white); border-block: 1px solid var(--line); }
.values .h-xl, .reasons .h-xl, .gallery .h-xl { margin-bottom: clamp(24px, 3vw, 44px); }
.values-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(20px, 3vw, 40px); }
.values-grid > div { border-top: 3px solid var(--green); padding-top: 18px; }
.values-grid > div:nth-child(2) { border-top-color: var(--fuchsia); }
.values-grid > div:nth-child(3) { border-top-color: var(--amber); }
.values-grid > div:nth-child(4) { border-top-color: var(--pine); }
.values-grid dt { font: 420 1.6rem/1.2 var(--display); margin-bottom: 8px; }
.values-grid dd { color: var(--ink-2); }
@media (max-width: 860px) { .values-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .values-grid { grid-template-columns: 1fr; } }

.reasons-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 clamp(28px, 5vw, 72px); border-top: 1px solid var(--ink); }
.reasons-grid li { padding: 24px 0; border-bottom: 1px solid var(--line); }
.reasons-grid h3 { margin-bottom: 6px; font-size: 1.45rem; }
.reasons-grid p { color: var(--ink-2); max-width: 30em; }
@media (max-width: 700px) { .reasons-grid { grid-template-columns: 1fr; } }

.specs { background: var(--pine); color: var(--on-dark); }
.specs .h-xl, .specs h3 { color: #fff; }
.specs .split-head > p { color: var(--on-dark-2); }
.specs-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 4vw, 64px); }
.specs-grid h3 { padding-bottom: 12px; border-bottom: 2px solid var(--fuchsia); margin-bottom: 4px; }
.specs-grid li { padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,.14); }
@media (max-width: 760px) { .specs-grid { grid-template-columns: 1fr; } }

.partners-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0 clamp(28px, 5vw, 72px); border-top: 1px solid var(--ink); }
.partners-list > div { padding: 16px 0; border-bottom: 1px solid var(--line); }
.partners-list dt { font-weight: 600; }
.partners-list dd { color: var(--ink-2); }
@media (max-width: 700px) { .partners-list { grid-template-columns: 1fr; } }

.gallery { background: var(--white); border-block: 1px solid var(--line); }
.gal { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 2vw, 28px); }
.gal img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r); }
@media (max-width: 760px) { .gal { grid-template-columns: 1fr 1fr; } }
@media (max-width: 440px) { .gal { grid-template-columns: 1fr; } }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.contact-list { margin-top: 32px; }
.contact-list > div { padding: 18px 0; border-top: 1px solid var(--line); }
.contact-list dt { font-weight: 600; margin-bottom: 4px; }
.contact-list dd { color: var(--ink-2); line-height: 1.7; }
.form { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: clamp(22px, 3.4vw, 44px); display: grid; gap: 18px; scroll-margin-top: 100px; }
.field { display: grid; gap: 6px; }
.field > span { font-weight: 500; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field textarea { resize: vertical; }
.field [aria-invalid="true"] { border-color: #b3261e; }
.form-note { color: var(--ink-2); font-size: .93rem; }
.form-error { color: #b3261e; font-weight: 600; }
.form-done { background: var(--mist); border-left: 3px solid var(--green); padding: 12px 16px; border-radius: 0 var(--r) var(--r) 0; }
.form .btn { justify-self: start; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .field-row { grid-template-columns: 1fr; } }

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