/* ==========================================================================
   DIMAX STUDIO — foaie de stil principală
   Design minimalist, editorial, fotografic.
   Paletă: alb #FFFFFF · negru #151515 · gri #626262 · gri deschis #F5F5F3
   Accent: bronz cald #8A6A3F (identitatea DIMAX STUDIO, conform WCAG AA)
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Variabile & reset
   -------------------------------------------------------------------------- */
:root {
  --white: #ffffff;
  --ink: #151515;
  --gray: #626262;
  --paper: #f5f5f3;
  --line: #e8e6e2;
  --accent: #8a6a3f;

  --serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --sans: 'Manrope', 'Helvetica Neue', Arial, sans-serif;

  --ls-menu: 0.14em;
  --ls-caps: 0.18em;

  --sticky-h: 56px;

  --ease-out: cubic-bezier(0.22, 0.61, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.75;
  color: var(--gray);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.15;
  color: var(--ink);
}

p {
  margin: 0 0 1.4em;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

figure {
  margin: 0;
}

a {
  color: var(--ink);
  text-decoration: none;
  transition: color 0.4s ease, opacity 0.4s ease;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

::selection {
  background: var(--ink);
  color: var(--white);
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  top: -60px;
  left: 16px;
  z-index: 300;
  padding: 12px 20px;
  background: var(--ink);
  color: var(--white);
  font-size: 12px;
  letter-spacing: var(--ls-caps);
  text-transform: uppercase;
  transition: top 0.3s ease;
}

.skip-link:focus {
  top: 16px;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* --------------------------------------------------------------------------
   2. Layout de bază
   -------------------------------------------------------------------------- */
.container {
  width: min(1200px, 90vw);
  margin-inline: auto;
}

.container--wide {
  width: min(1420px, 94vw);
  margin-inline: auto;
}

.section {
  padding: clamp(72px, 9vw, 128px) 0;
}

.section--paper {
  background: var(--paper);
}

.section-head {
  max-width: 680px;
  margin: 0 auto clamp(40px, 6vw, 72px);
  text-align: center;
}

.kicker {
  display: block;
  margin-bottom: 18px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--accent);
}

.section-title {
  font-size: clamp(30px, 4vw, 46px);
  font-weight: 400;
}

.section-lead {
  margin-top: 22px;
  font-size: 17px;
  line-height: 1.8;
}

/* --------------------------------------------------------------------------
   3. Butoane
   -------------------------------------------------------------------------- */
.btn {
  display: inline-block;
  padding: 18px 38px;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: var(--ls-caps);
  text-transform: uppercase;
  color: var(--ink);
  background: transparent;
  border: 1px solid var(--ink);
  transition: background 0.5s var(--ease-out), color 0.5s var(--ease-out), border-color 0.5s var(--ease-out);
}

.btn:hover {
  background: var(--ink);
  color: var(--white);
}

.btn--solid {
  background: var(--ink);
  color: var(--white);
}

.btn--solid:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--white);
}

.btn--light {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.85);
}

.btn--light:hover {
  background: var(--white);
  color: var(--ink);
}

.text-link {
  display: inline-block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: var(--ls-caps);
  text-transform: uppercase;
  color: var(--ink);
  padding-bottom: 6px;
  position: relative;
}

.text-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--ink);
  transform: scaleX(0.35);
  transform-origin: left;
  transition: transform 0.5s var(--ease-out), background 0.4s ease;
}

.text-link:hover {
  color: var(--accent);
}

.text-link:hover::after {
  transform: scaleX(1);
  background: var(--accent);
}

/* --------------------------------------------------------------------------
   4. Header desktop
   -------------------------------------------------------------------------- */
.site-header {
  background: var(--white);
  text-align: center;
  padding: 46px 0 0;
  position: relative;
  z-index: 100;
}

.brand {
  display: inline-block;
  line-height: 1;
}

.brand-name {
  font-family: var(--serif);
  font-size: 34px;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-indent: 0.32em; /* compensează ultima literă pentru centrare optică */
  color: var(--ink);
  text-transform: uppercase;
  display: block;
}

.brand-tag {
  display: block;
  margin-top: 10px;
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.4em;
  text-indent: 0.4em;
  text-transform: uppercase;
  color: var(--gray);
}

.primary-nav {
  margin-top: 34px;
  border-bottom: 1px solid var(--line);
}

.nav-list {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0 40px;
  padding: 0 20px 24px;
}

.nav-list a {
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: var(--ls-menu);
  text-transform: uppercase;
  color: var(--ink);
  position: relative;
  padding-bottom: 5px;
}

.nav-list a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s var(--ease-out);
}

.nav-list a:hover::after,
.nav-list a[aria-current='page']::after {
  transform: scaleX(1);
}

.nav-list a[aria-current='page'] {
  color: var(--ink);
}

/* Bara sticky compactă (apare după derulare) */
.sticky-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  height: var(--sticky-h);
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid var(--line);
  transform: translateY(-100%);
  visibility: hidden; /* scoate linkurile din ordinea de tabulare cât bara e ascunsă */
  transition: transform 0.45s var(--ease-out), visibility 0s linear 0.45s;
}

.sticky-bar.is-visible {
  transform: translateY(0);
  visibility: visible;
  transition: transform 0.45s var(--ease-out);
}

.sticky-inner {
  width: min(1420px, 94vw);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.sticky-brand {
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 500;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--ink);
  white-space: nowrap;
}

.sticky-bar .nav-list {
  padding: 0;
  gap: 0 30px;
  flex-wrap: nowrap;
}

/* Comutatorul de limbă */
.lang-switch {
  display: flex;
  align-items: center;
  gap: 10px;
}

.lang-switch a {
  color: var(--gray);
}

.lang-switch .is-current {
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: var(--ls-menu);
  text-transform: uppercase;
  color: var(--accent);
}

.lang-sep {
  color: var(--line);
  font-size: 11px;
}

.mobile-nav-list .lang-switch {
  gap: 16px;
  padding: 24px 0 0;
  border-bottom: 0;
}

.mobile-nav-list .lang-switch a,
.mobile-nav-list .lang-switch .is-current {
  font-family: var(--sans);
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-bottom: 0;
  padding: 16px 6px;
}

.nav-list .lang-switch {
  position: relative;
  padding-left: 26px;
}

.nav-list .lang-switch::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 12px;
  background: var(--line);
}

/* Butonul hamburger (vizibil doar pe mobil) */
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  position: relative;
}

.nav-toggle span {
  position: absolute;
  left: 10px;
  right: 10px;
  height: 1.5px;
  background: var(--ink);
  transition: transform 0.4s var(--ease-out), opacity 0.3s ease;
}

.nav-toggle span:nth-child(1) { top: 15px; }
.nav-toggle span:nth-child(2) { top: 21.5px; }
.nav-toggle span:nth-child(3) { top: 28px; }

/* --------------------------------------------------------------------------
   5. Meniul mobil (overlay fullscreen)
   -------------------------------------------------------------------------- */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 250;
  background: var(--white);
  display: flex;
  flex-direction: column;
  padding: 24px 8vw 48px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.45s ease, visibility 0s linear 0.45s;
  overflow-y: auto;
}

.mobile-menu.is-open {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.45s ease;
}

.mobile-menu-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8vh;
}

.mobile-menu-brand {
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 500;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--ink);
}

.mobile-menu-close {
  width: 44px;
  height: 44px;
  position: relative;
}

.mobile-menu-close::before,
.mobile-menu-close::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 10px;
  right: 10px;
  height: 1.5px;
  background: var(--ink);
}

.mobile-menu-close::before { transform: rotate(45deg); }
.mobile-menu-close::after { transform: rotate(-45deg); }

.mobile-nav-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mobile-nav-list a {
  display: block;
  padding: 13px 0;
  font-family: var(--serif);
  font-size: clamp(26px, 7vw, 34px);
  font-weight: 400;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.5s ease, transform 0.5s var(--ease-out), color 0.3s ease;
}

.mobile-menu.is-open .mobile-nav-list a {
  opacity: 1;
  transform: translateY(0);
}

.mobile-nav-list a:nth-child(1) { transition-delay: 0.06s; }
.mobile-nav-list a:nth-child(2) { transition-delay: 0.11s; }
.mobile-nav-list a:nth-child(3) { transition-delay: 0.16s; }
.mobile-nav-list a:nth-child(4) { transition-delay: 0.21s; }
.mobile-nav-list a:nth-child(5) { transition-delay: 0.26s; }
.mobile-nav-list a:nth-child(6) { transition-delay: 0.31s; }
.mobile-nav-list a:nth-child(7) { transition-delay: 0.36s; }

.mobile-nav-list a[aria-current='page'] {
  color: var(--accent);
}

.mobile-menu-foot {
  margin-top: auto;
  padding-top: 8vh;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray);
}

/* --------------------------------------------------------------------------
   6. Caruselul principal (Acasă)
   -------------------------------------------------------------------------- */
.hero-carousel {
  position: relative;
  width: 100%;
  height: 72vh;
  min-height: 420px;
  overflow: hidden;
  background: var(--paper);
}

.hc-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.6s ease;
  pointer-events: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  background: var(--white);
}

.hc-slide figure {
  overflow: hidden;
}

.hc-slide.is-active {
  opacity: 1;
  pointer-events: auto;
  z-index: 1;
}

.hc-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hc-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  opacity: 0.75;
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.hc-arrow:hover {
  opacity: 1;
}

.hc-arrow.prev { left: 14px; }
.hc-arrow.next { right: 14px; }

.hc-arrow svg {
  width: 30px;
  height: 30px;
  filter: drop-shadow(0 1px 3px rgba(21, 21, 21, 0.45));
}

.hc-counter {
  position: absolute;
  right: 26px;
  bottom: 20px;
  z-index: 5;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  color: var(--white);
  text-shadow: 0 1px 3px rgba(21, 21, 21, 0.5);
}

/* --------------------------------------------------------------------------
   7. Introducere (Acasă)
   -------------------------------------------------------------------------- */
.intro {
  text-align: center;
}

.intro .section-title {
  max-width: 740px;
  margin-inline: auto;
}

.intro-text {
  max-width: 620px;
  margin: 26px auto 40px;
  font-size: 17.5px;
  line-height: 1.85;
}

/* --------------------------------------------------------------------------
   8. Grile de proiecte / carduri
   -------------------------------------------------------------------------- */
.project-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(28px, 4vw, 56px) clamp(22px, 2.6vw, 36px);
}

.project-grid--two {
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(32px, 4.5vw, 64px) clamp(22px, 3vw, 40px);
}

.project-card {
  display: block;
}

.card-media {
  display: block;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  background: var(--paper);
}

.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.4s var(--ease-out);
}

.project-card:hover .card-media img,
.project-card:focus-visible .card-media img {
  transform: scale(1.035);
}

.card-title {
  margin-top: 22px;
  font-size: 24px;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: color 0.4s ease;
}

.card-meta {
  margin-top: 8px;
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: var(--ls-caps);
  text-transform: uppercase;
  color: var(--gray);
}

.card-desc {
  margin-top: 12px;
  font-size: 15.5px;
  line-height: 1.7;
  color: var(--gray);
}

.card-link {
  margin-top: 16px;
}

.project-card:hover .card-title {
  color: var(--accent);
}

/* --------------------------------------------------------------------------
   9. Filtre portofoliu
   -------------------------------------------------------------------------- */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 34px;
  margin-bottom: clamp(40px, 5vw, 64px);
}

.filter-btn {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: var(--ls-caps);
  text-transform: uppercase;
  color: var(--gray);
  padding: 8px 2px;
  position: relative;
  transition: color 0.35s ease;
}

.filter-btn::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 2px;
  width: 100%;
  height: 1px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s var(--ease-out);
}

.filter-btn:hover {
  color: var(--ink);
}

.filter-btn.is-active {
  color: var(--ink);
}

.filter-btn.is-active::after {
  transform: scaleX(1);
}

.project-grid .is-filtered-out {
  display: none;
}

.grid-fade .project-card {
  transition: opacity 0.5s ease, transform 0.5s ease;
}

/* --------------------------------------------------------------------------
   10. Hero de categorie / de proiect
   -------------------------------------------------------------------------- */
.page-hero {
  position: relative;
  height: 56vh;
  min-height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background: var(--ink);
}

.page-hero--tall {
  height: 76vh;
  min-height: 480px;
}

.page-hero img.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(21, 21, 21, 0.34), rgba(21, 21, 21, 0.4));
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 6vw;
}

.hero-content .kicker {
  color: rgba(255, 255, 255, 0.82);
}

.hero-title {
  font-size: clamp(38px, 6vw, 68px);
  font-weight: 400;
  color: var(--white);
  letter-spacing: 0.04em;
}

.hero-sub {
  margin-top: 18px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.88);
}

/* --------------------------------------------------------------------------
   11. Pagina de proiect
   -------------------------------------------------------------------------- */
.project-intro {
  max-width: 660px;
  margin-inline: auto;
  text-align: center;
}

.project-intro .lead {
  font-size: 18px;
  line-height: 1.85;
}

.p-gallery {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: clamp(48px, 6vw, 80px);
}

.g-row {
  display: flex;
  gap: 8px;
}

.g-row figure {
  flex: var(--ar, 1) 1 0%;
  min-width: 0;
}

.g-row img {
  width: 100%;
  height: auto;
  display: block;
  cursor: zoom-in;
}

.g-row--solo {
  justify-content: center;
}

.g-row--solo figure {
  flex: 0 1 auto;
  width: min(520px, 100%);
}

/* Navigare proiect anterior / următor */
.project-pager {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  border-top: 1px solid var(--line);
  margin-top: clamp(56px, 7vw, 96px);
  padding-top: clamp(32px, 4vw, 48px);
}

.pager-link {
  max-width: 44%;
}

.pager-link .pager-dir {
  display: block;
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: var(--ls-caps);
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: 8px;
}

.pager-link .pager-name {
  font-family: var(--serif);
  font-size: 22px;
  color: var(--ink);
  transition: color 0.35s ease;
}

.pager-link:hover .pager-name {
  color: var(--accent);
}

.pager-link.next {
  text-align: right;
  margin-left: auto;
}

/* --------------------------------------------------------------------------
   12. Lightbox
   -------------------------------------------------------------------------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 400;
  background: rgba(18, 18, 18, 0.96);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0s linear 0.4s;
}

.lightbox.is-open {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.4s ease;
}

.lb-figure {
  max-width: min(92vw, 1500px);
  max-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lb-figure img {
  max-width: 92vw;
  max-height: 85vh;
  width: auto;
  height: auto;
  object-fit: contain;
  user-select: none;
}

.lb-btn {
  position: absolute;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  color: rgba(255, 255, 255, 0.8);
  transition: color 0.3s ease;
}

.lb-btn:hover {
  color: var(--white);
}

.lb-btn svg {
  width: 26px;
  height: 26px;
}

.lb-close {
  top: 16px;
  right: 16px;
}

.lb-prev {
  left: 8px;
  top: 50%;
  transform: translateY(-50%);
}

.lb-next {
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
}

.lb-counter {
  position: absolute;
  top: 28px;
  left: 28px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  color: rgba(255, 255, 255, 0.75);
}

/* --------------------------------------------------------------------------
   12b. Pagina Shop
   -------------------------------------------------------------------------- */
.shop-list {
  display: flex;
  flex-direction: column;
  gap: clamp(64px, 8vw, 112px);
}

.shop-item {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(36px, 5vw, 80px);
  align-items: center;
}

.shop-item--flip .shop-media {
  order: 2;
}

.shop-media {
  overflow: hidden;
  background: var(--paper);
}

.shop-media img {
  width: 100%;
  height: auto;
  transition: transform 1.4s var(--ease-out);
}

.shop-item:hover .shop-media img {
  transform: scale(1.025);
}

.shop-title {
  font-size: clamp(28px, 3.2vw, 40px);
  margin-bottom: 18px;
}

.shop-copy p {
  font-size: 16.5px;
  line-height: 1.8;
  max-width: 480px;
}

.shop-price {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: var(--ls-caps);
  text-transform: uppercase;
  color: var(--accent);
  margin: 22px 0 28px;
}

.shop-note {
  max-width: 560px;
  margin: clamp(56px, 7vw, 88px) auto 0;
  text-align: center;
  font-size: 15px;
  color: var(--gray);
}

@media (max-width: 900px) {
  .shop-item {
    grid-template-columns: 1fr;
  }

  .shop-item--flip .shop-media {
    order: 0;
  }
}

/* --------------------------------------------------------------------------
   13. Pagina Despre noi
   -------------------------------------------------------------------------- */
.about-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(40px, 6vw, 88px);
  align-items: center;
}

.about-media {
  overflow: hidden;
  background: var(--paper);
}

.about-copy .section-title {
  margin-bottom: 26px;
}

.about-copy p {
  font-size: 17px;
  line-height: 1.85;
}

.about-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(28px, 4vw, 56px);
  margin-top: clamp(48px, 6vw, 80px);
  padding-top: clamp(40px, 5vw, 64px);
  border-top: 1px solid var(--line);
}

.fact h2 {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: var(--ls-caps);
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 14px;
}

.fact p {
  font-size: 15.5px;
  line-height: 1.75;
  margin: 0;
}

/* --------------------------------------------------------------------------
   14. Pagina Contact
   -------------------------------------------------------------------------- */
.contact-hero {
  position: relative;
  padding: clamp(96px, 13vw, 180px) 0;
  text-align: center;
  overflow: hidden;
  background: var(--ink);
}

.contact-hero img.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.contact-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(21, 21, 21, 0.55);
}

.contact-hero .hero-content {
  max-width: 780px;
  margin-inline: auto;
}

.contact-hero p {
  color: rgba(255, 255, 255, 0.88);
  margin-top: 22px;
  font-size: 16.5px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(48px, 7vw, 104px);
  align-items: start;
}

.contact-info h2 {
  font-size: clamp(26px, 3vw, 34px);
  margin-bottom: 28px;
}

.contact-list li {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 4px 16px;
  align-items: baseline;
}

.contact-list .label {
  flex: 0 0 110px;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: var(--ls-caps);
  text-transform: uppercase;
  color: var(--ink);
}

.contact-list .value {
  font-size: 15.5px;
  color: var(--gray);
}

.contact-list a.value:hover {
  color: var(--accent);
}

.placeholder-value {
  font-style: italic;
  color: #6f6b64;
}

/* Formular */
.form-field {
  margin-bottom: 26px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 24px;
}

.form-field label {
  display: block;
  margin-bottom: 9px;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: var(--ls-caps);
  text-transform: uppercase;
  color: var(--ink);
}

.form-field .optional {
  font-weight: 400;
  color: var(--gray);
  text-transform: none;
  letter-spacing: 0.04em;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 13px 14px;
  font-family: var(--sans);
  font-size: 15.5px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid #d8d5d0;
  border-radius: 0;
  transition: border-color 0.3s ease;
  appearance: none;
  -webkit-appearance: none;
}

.form-field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%23626262' stroke-width='1.2'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--ink);
  outline: none;
}

.form-field input:focus-visible,
.form-field select:focus-visible,
.form-field textarea:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
}

.form-field textarea {
  min-height: 140px;
  resize: vertical;
}

.form-field.has-error input,
.form-field.has-error select,
.form-field.has-error textarea {
  border-color: #b3564d;
}

.field-error {
  display: none;
  margin-top: 7px;
  font-size: 13px;
  color: #a34a41;
}

.has-error .field-error {
  display: block;
}

.consent-field {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 30px;
}

.consent-field input[type='checkbox'] {
  appearance: auto;
  -webkit-appearance: checkbox;
  width: 17px;
  height: 17px;
  margin-top: 4px;
  accent-color: var(--ink);
  flex: none;
}

.consent-field label {
  font-size: 14px;
  line-height: 1.6;
  color: var(--gray);
  text-transform: none;
  letter-spacing: 0.01em;
  font-weight: 400;
  margin-bottom: 0;
}

.form-status {
  margin-top: 22px;
  padding: 16px 18px;
  font-size: 15px;
  line-height: 1.6;
  display: none;
}

.form-status.is-success {
  display: block;
  background: #f0f3ee;
  color: #3d5138;
}

.form-status.is-info {
  display: block;
  background: var(--paper);
  color: var(--gray);
}

.form-status.is-error {
  display: block;
  background: #f6efee;
  color: #7d423b;
}

/* Câmp honeypot — invizibil pentru oameni */
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* --------------------------------------------------------------------------
   15. Secțiune CTA finală
   -------------------------------------------------------------------------- */
.cta {
  text-align: center;
  background: var(--paper);
}

.cta .section-title {
  max-width: 620px;
  margin-inline: auto;
}

.cta p {
  max-width: 560px;
  margin: 24px auto 38px;
}

/* --------------------------------------------------------------------------
   16. Footer
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--white);
  border-top: 1px solid var(--line);
  padding: clamp(56px, 7vw, 88px) 0 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: clamp(36px, 5vw, 72px);
}

.footer-brand .brand-name {
  font-size: 22px;
  letter-spacing: 0.28em;
  text-indent: 0;
}

.footer-brand p {
  margin-top: 18px;
  font-size: 14.5px;
  line-height: 1.75;
  max-width: 300px;
}

.footer-col h2 {
  font-family: var(--sans);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: var(--ls-caps);
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 20px;
}

.footer-col li {
  margin-bottom: 11px;
}

.footer-col a,
.footer-col .footer-item {
  font-size: 14px;
  color: var(--gray);
}

.footer-col a:hover {
  color: var(--accent);
}

.footer-bottom {
  margin-top: clamp(48px, 6vw, 72px);
  padding-top: 26px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px 24px;
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--gray);
}

/* --------------------------------------------------------------------------
   17. Pagina 404
   -------------------------------------------------------------------------- */
.error-page {
  min-height: 60vh;
  display: flex;
  align-items: center;
  text-align: center;
}

.error-code {
  font-family: var(--serif);
  font-size: clamp(80px, 14vw, 150px);
  font-weight: 300;
  line-height: 1;
  color: var(--ink);
  margin: 0 0 18px;
}

.error-page .section-title {
  margin-bottom: 6px;
}

.error-page .section-lead {
  max-width: 480px;
  margin-inline: auto;
}

/* --------------------------------------------------------------------------
   18. Animații de apariție
   -------------------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 1s ease, transform 1s var(--ease-out);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-stagger > * {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 1s ease, transform 1s var(--ease-out);
}

.reveal-stagger.is-visible > * {
  opacity: 1;
  transform: translateY(0);
}

.reveal-stagger.is-visible > *:nth-child(2) { transition-delay: 0.12s; }
.reveal-stagger.is-visible > *:nth-child(3) { transition-delay: 0.24s; }
.reveal-stagger.is-visible > *:nth-child(4) { transition-delay: 0.36s; }
.reveal-stagger.is-visible > *:nth-child(5) { transition-delay: 0.42s; }
.reveal-stagger.is-visible > *:nth-child(6) { transition-delay: 0.48s; }

/* --------------------------------------------------------------------------
   19. Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1080px) {
  .nav-list {
    gap: 0 28px;
  }

  .sticky-bar .nav-list {
    gap: 0 20px;
  }
}

@media (max-width: 900px) {
  .project-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .about-facts {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

/* Punct de rupere pentru meniul mobil */
@media (max-width: 820px) {
  .site-header {
    position: sticky;
    top: 0;
    padding: 0;
    border-bottom: 1px solid var(--line);
  }

  .header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
    padding: 0 5vw;
  }

  .brand-name {
    font-size: 19px;
    letter-spacing: 0.24em;
    text-indent: 0;
  }

  .brand-tag {
    display: none;
  }

  .primary-nav {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .sticky-bar {
    display: none;
  }

  .hero-carousel {
    height: 62vh;
    min-height: 340px;
  }

  .hc-slide {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .hc-slide figure:nth-child(n + 2) {
    display: none;
  }

  .page-hero {
    height: 46vh;
    min-height: 300px;
  }

  .page-hero--tall {
    height: 60vh;
    min-height: 400px;
  }
}

@media (min-width: 821px) {
  .header-inner {
    display: block;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 16px;
  }

  .project-grid,
  .project-grid--two {
    grid-template-columns: 1fr;
  }

  .g-row {
    flex-wrap: wrap;
  }

  .g-row figure {
    flex-basis: calc(50% - 4px);
  }

  .g-row--three figure:nth-child(3),
  .g-row--full figure,
  .g-row--solo figure {
    flex-basis: 100%;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .filter-bar {
    gap: 4px 24px;
  }

  .hc-arrow {
    display: none;
  }

  .project-pager {
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
  }

  .pager-link,
  .pager-link.next {
    max-width: 100%;
  }

  .contact-list .label {
    flex-basis: 100%;
  }

  .btn {
    padding: 16px 30px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* --------------------------------------------------------------------------
   20. Reduced motion — respectă preferințele utilizatorului
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0s !important;
  }

  .reveal,
  .reveal-stagger > * {
    opacity: 1;
    transform: none;
  }
}

/* --------------------------------------------------------------------------
   21. Print
   -------------------------------------------------------------------------- */
@media print {
  .sticky-bar,
  .nav-toggle,
  .mobile-menu,
  .hc-arrow,
  .lightbox {
    display: none !important;
  }
}

/* --------------------------------------------------------------------------
   22. Fundal blur cât se încarcă fotografia
   (la sfârșit, ca să nu fie suprascris de shorthand-urile `background`)
   -------------------------------------------------------------------------- */
.ph-blur {
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
}
