/* ============================================================
   M&G AUCTIONS — SISTEM DE DESIGN
   Paletă fidelă brandului: maro columbofil + auriu + crem
   Tipografie: Playfair Display (titluri) + Inter (text)
   ============================================================ */

:root {
  --brown-deep: #2C1B0D;
  --brown: #3E2713;
  --brown-soft: #5C4028;
  --taupe: #8B6F47;
  --gold: #D4AF37;
  --gold-bright: #DAA520;
  --gold-pale: #F0E3C0;
  --cream: #F5F1E8;
  --paper: #FBF9F4;
  --white: #FFFFFF;
  --ink: #2A2117;
  --gray: #6E655A;
  --line: #E7E0D2;
  --green: #2E7D46;
  --red: #B3402E;

  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, sans-serif;

  --shadow-sm: 0 2px 8px rgba(62, 39, 19, 0.07);
  --shadow-md: 0 8px 28px rgba(62, 39, 19, 0.11);
  --shadow-lg: 0 20px 60px rgba(44, 27, 13, 0.18);
  --radius: 14px;
  --radius-lg: 20px;
  --ease: cubic-bezier(.22, .8, .3, 1);
  --container: 1200px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
input, select, textarea { font-family: inherit; font-size: 15px; }

h1, h2, h3, h4 { font-family: var(--font-display); color: var(--brown); line-height: 1.18; font-weight: 700; }

:focus-visible { outline: 2px solid var(--gold-bright); outline-offset: 2px; border-radius: 4px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
}

/* ---------- Layout helpers ---------- */
.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section { padding: 88px 0; }
.section--cream { background: var(--cream); }
.section--white { background: var(--white); }
.section--dark { background: var(--brown-deep); color: var(--gold-pale); }
.section--dark h2 { color: var(--gold-pale); }

.sec-head { max-width: 640px; margin-bottom: 52px; }
.sec-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.sec-head .eyebrow { display: inline-block; font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: var(--taupe); font-weight: 600; margin-bottom: 14px; }
.sec-head h2 { font-size: clamp(28px, 4vw, 42px); margin-bottom: 14px; }
.sec-head .rule { width: 72px; height: 3px; background: var(--gold); border: none; margin: 18px 0 0; }
.sec-head--center .rule { margin: 18px auto 0; }
.sec-head p { color: var(--gray); font-size: 16.5px; }

/* ---------- Reveal ---------- (se ascunde DOAR când JS e activ, deci textul rămâne vizibil dacă JS pică) */
.reveal { opacity: 1; transform: none; }
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Butoane ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 28px; border-radius: 999px; font-weight: 600; font-size: 15px;
  border: 1.5px solid transparent; transition: all .25s var(--ease); white-space: nowrap;
}
.btn:active { transform: scale(.97); }
.btn--sm { padding: 9px 20px; font-size: 13.5px; }
.btn--lg { padding: 16px 36px; font-size: 16px; }
.btn--gold { background: linear-gradient(135deg, var(--gold-bright), var(--gold)); color: var(--brown-deep); box-shadow: 0 4px 16px rgba(212, 175, 55, .35); }
.btn--gold:hover { box-shadow: 0 8px 24px rgba(212, 175, 55, .5); transform: translateY(-2px); }
.btn--dark { background: var(--brown); color: var(--gold-pale); }
.btn--dark:hover { background: var(--brown-deep); transform: translateY(-2px); }
.btn--outline { border-color: var(--brown); color: var(--brown); background: transparent; }
.btn--outline:hover { background: var(--brown); color: var(--gold-pale); }
.btn--ghost { color: var(--brown); background: transparent; }
.btn--ghost:hover { background: rgba(62, 39, 19, .06); }
.btn--danger { background: var(--red); color: #fff; }
.btn--danger:hover { filter: brightness(1.08); }
.btn:disabled { opacity: .55; cursor: not-allowed; transform: none !important; }
.btn--block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 600;
  background: rgba(251, 249, 244, .97); backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: var(--shadow-sm); }
.site-header__in { max-width: var(--container); margin: 0 auto; padding: 0 24px; height: 74px; display: flex; align-items: center; gap: 32px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--brown); }
.brand__logo { width: 48px; height: 48px; border-radius: 50%; overflow: hidden; flex-shrink: 0; box-shadow: var(--shadow-sm); background: var(--brown); display: block; }
.brand__logo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.brand__text-wrap { display: flex; flex-direction: column; line-height: 1.1; }
.brand__text { font-family: var(--font-display); font-size: 21px; font-weight: 700; letter-spacing: .01em; color: var(--brown); }
.brand__tag { font-size: 9.5px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-bright); }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav__link { padding: 8px 14px; font-size: 14.5px; font-weight: 500; color: var(--brown-soft); border-radius: 8px; transition: all .2s; position: relative; }
.nav__link:hover { color: var(--brown); background: rgba(212, 175, 55, .1); }
.nav__link.is-active { color: var(--brown); font-weight: 600; }
.nav__link.is-active::after { content: ''; position: absolute; left: 14px; right: 14px; bottom: 3px; height: 2px; background: var(--gold); border-radius: 2px; }
.header-actions { display: flex; gap: 10px; align-items: center; }

.user-menu { position: relative; }
.user-menu__btn { display: flex; align-items: center; gap: 9px; background: var(--white); border: 1.5px solid var(--line); border-radius: 999px; padding: 5px 14px 5px 5px; color: var(--brown); transition: all .2s; }
.user-menu__btn:hover { border-color: var(--gold); }
.user-menu__avatar { width: 32px; height: 32px; border-radius: 50%; background: linear-gradient(135deg, var(--brown), var(--taupe)); color: var(--gold-pale); display: grid; place-items: center; font-weight: 700; font-size: 14px; }
.user-menu__name { font-weight: 600; font-size: 14px; max-width: 120px; overflow: hidden; text-overflow: ellipsis; }
.user-menu__drop { position: absolute; right: 0; top: calc(100% + 8px); background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-md); min-width: 190px; padding: 6px; opacity: 0; visibility: hidden; transform: translateY(-6px); transition: all .2s var(--ease); }
.user-menu__drop.is-open { opacity: 1; visibility: visible; transform: none; }
.menu-item { display: block; width: 100%; text-align: left; padding: 10px 14px; border-radius: 9px; font-size: 14px; font-weight: 500; color: var(--ink); background: none; border: none; }
.menu-item:hover { background: var(--cream); }
.menu-item--admin { color: var(--gold-bright); font-weight: 600; }
.menu-item--danger { color: var(--red); }

.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  padding: 8px;
  cursor: pointer;
  flex-shrink: 0;
}
.burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--brown);
  border-radius: 2px;
  transition: transform .28s ease, opacity .28s ease;
}
.burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Scroll lock */
html.menu-open { overflow: hidden; }

/* Mobile menu — separat de header, pe body */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--paper);
  z-index: 500;
  flex-direction: column;
  padding: 84px 28px 48px;
  overflow-y: auto;
  overscroll-behavior: contain;
}
.mobile-menu.is-open { display: flex; }
.mobile-menu__nav {
  display: flex;
  flex-direction: column;
}
.mobile-menu .nav__link {
  display: block;
  font-size: 20px;
  font-weight: 600;
  color: var(--brown);
  padding: 16px 8px;
  border-bottom: 1px solid var(--line);
  transition: color .15s;
}
.mobile-menu .nav__link:last-child { border-bottom: none; }
.mobile-menu .nav__link.is-active { color: var(--gold-bright); }
.mobile-menu__auth {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 28px;
  margin-top: 20px;
  border-top: 1px solid var(--line);
}

/* ---------- Hero ---------- */
.hero { background: linear-gradient(178deg, var(--cream) 0%, var(--paper) 92%); position: relative; overflow: hidden; border-bottom: 1px solid rgba(212, 175, 55, .18); }
.hero::before { content: ''; position: absolute; inset: 0; background-image: radial-gradient(rgba(62, 39, 19, .35) 1px, transparent 1px); background-size: 22px 22px; opacity: .045; pointer-events: none; }
.hero__in { max-width: var(--container); margin: 0 auto; padding: 84px 24px 96px; display: grid; grid-template-columns: 1.1fr .9fr; gap: 60px; align-items: center; position: relative; }
.hero__eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 12px; letter-spacing: .24em; text-transform: uppercase; font-weight: 600; color: var(--taupe); margin-bottom: 22px; }
.hero__eyebrow::before { content: ''; width: 32px; height: 1.5px; background: var(--gold); }
.hero h1 { font-size: clamp(38px, 5.4vw, 62px); margin-bottom: 8px; }
.hero h1 .accent { display: block; font-style: italic; color: var(--gold-bright); font-weight: 600; }
.hero__desc { color: var(--gray); font-size: 17.5px; max-width: 480px; margin: 20px 0 34px; }
.hero__ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.hero__stats { display: flex; gap: 40px; margin-top: 52px; }
.hero__stat strong { display: block; font-family: var(--font-display); font-size: 32px; color: var(--brown); }
.hero__stat span { font-size: 13px; color: var(--gray); letter-spacing: .04em; }

.hero__art { position: relative; display: grid; place-items: center; }
.hero__art svg { width: 100%; max-width: 440px; height: auto; filter: drop-shadow(0 24px 48px rgba(62, 39, 19, .16)); }
.hero__float { position: absolute; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-md); padding: 12px 18px; font-size: 13px; animation: float 5s ease-in-out infinite; }
.hero__float strong { display: block; font-family: var(--font-display); font-size: 18px; color: var(--brown); }
.hero__float--tl { top: 8%; left: -2%; }
.hero__float--br { bottom: 10%; right: -2%; animation-delay: -2.5s; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

/* ---------- Landing dashboard (stil original: blog+contact stânga / licitații dreapta) ---------- */
.landing { background: linear-gradient(180deg, var(--cream) 0%, var(--paper) 100%); position: relative; padding: 40px 0 56px; }
.landing::before { content: ''; position: absolute; inset: 0; background-image: radial-gradient(var(--brown) 1px, transparent 1px); background-size: 20px 20px; opacity: .03; pointer-events: none; }
.landing__in { max-width: 1500px; margin: 0 auto; padding: 0 24px; position: relative; }
.landing__grid { display: grid; grid-template-columns: 4fr 8fr; gap: 30px; align-items: start; }

.side-panel { background: rgba(255, 255, 255, .8); border: 1px solid rgba(212, 175, 55, .2); border-radius: var(--radius-lg); padding: 26px; box-shadow: var(--shadow-sm); margin-bottom: 26px; }
.side-panel__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 22px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.side-panel__head h2 { font-size: 22px; display: flex; align-items: center; gap: 9px; }
.side-panel__head .ic { color: var(--gold); }
.side-panel__link { font-size: 13.5px; font-weight: 700; color: var(--taupe); transition: color .2s; }
.side-panel__link:hover { color: var(--gold-bright); }

.contact-panel { background: var(--brown); border-radius: var(--radius-lg); padding: 28px; color: #fff; position: relative; overflow: hidden; box-shadow: var(--shadow-md); }
.contact-panel::before { content: ''; position: absolute; top: -60px; right: -60px; width: 160px; height: 160px; background: rgba(212, 175, 55, .12); border-radius: 50%; filter: blur(30px); }
.contact-panel h3 { color: var(--gold); font-size: 20px; margin-bottom: 22px; position: relative; }
.contact-panel__line { display: flex; gap: 13px; align-items: flex-start; margin-bottom: 18px; position: relative; }
.contact-panel__ic { background: rgba(255, 255, 255, .1); border-radius: 10px; width: 36px; height: 36px; min-width: 36px; max-width: 36px; display: flex; align-items: center; justify-content: center; color: var(--gold); flex-shrink: 0; overflow: hidden; }
.contact-panel__ic svg { width: 16px !important; height: 16px !important; min-width: 16px; max-width: 16px; display: block; }
.contact-panel__line span { display: block; font-size: 10px; text-transform: uppercase; letter-spacing: .16em; color: rgba(240, 227, 192, .55); font-weight: 700; }
.contact-panel__line a, .contact-panel__line p { font-size: 14px; color: var(--gold-pale); margin-top: 2px; }
.contact-panel__line a:hover { color: var(--gold); }

.auctions-board { background: rgba(255, 255, 255, .55); backdrop-filter: blur(6px); border: 1px solid rgba(212, 175, 55, .12); border-radius: var(--radius-lg); padding: 26px; box-shadow: var(--shadow-sm); }
.auctions-board__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 24px; }
.auctions-board__head h2 { font-size: clamp(24px, 3vw, 30px); }
.auctions-board__head p { color: var(--gray); font-size: 14px; margin-top: 3px; }
.auctions-board__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }

@media (max-width: 1100px) {
  .landing__grid { grid-template-columns: 1fr; }
  .auctions-board__grid { grid-template-columns: repeat(2, 1fr); }
  .side-col { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; align-items: start; }
  .side-panel, .contact-panel { margin-bottom: 0; }
}
@media (max-width: 680px) {
  .auctions-board__grid { grid-template-columns: 1fr; }
  .side-col { grid-template-columns: 1fr; }
}

/* ---------- Features ---------- */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.feature { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 36px 30px; transition: all .35s var(--ease); }
.feature:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: rgba(212, 175, 55, .4); }
.feature__icon { width: 54px; height: 54px; border-radius: 16px; background: linear-gradient(135deg, var(--gold-pale), rgba(212, 175, 55, .25)); display: grid; place-items: center; color: var(--brown); margin-bottom: 20px; }
.feature__icon svg { width: 26px; height: 26px; }
.feature h3 { font-size: 20px; margin-bottom: 10px; }
.feature p { color: var(--gray); font-size: 14.5px; }

/* ---------- Grile licitații ---------- */
.auction-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }

.auction-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; display: flex; flex-direction: column; transition: all .35s var(--ease); }
.auction-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: rgba(212, 175, 55, .5); }
.auction-card__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--cream); display: block; }
.auction-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.auction-card:hover .auction-card__media img { transform: scale(1.06); }
.auction-card__badge { position: absolute; top: 14px; left: 14px; background: var(--brown-deep); color: var(--gold); font-size: 11.5px; font-weight: 700; letter-spacing: .06em; padding: 6px 12px; border-radius: 999px; }
.auction-card__timer { position: absolute; bottom: 14px; right: 14px; background: rgba(44, 27, 13, .88); backdrop-filter: blur(6px); color: #fff; font-size: 12.5px; font-weight: 600; padding: 7px 13px; border-radius: 999px; font-variant-numeric: tabular-nums; }
.auction-card__timer.is-urgent { background: var(--red); animation: pulse 1.4s infinite; }
.auction-card__timer.is-over { background: rgba(110, 101, 90, .9); }
@keyframes pulse { 50% { opacity: .75; } }
.auction-card__body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.auction-card__tags { display: flex; gap: 7px; flex-wrap: wrap; margin-bottom: 12px; min-height: 24px; }
.tag { font-size: 11.5px; font-weight: 600; color: var(--taupe); background: var(--cream); border: 1px solid var(--line); padding: 4px 11px; border-radius: 999px; }
.tag--ring { font-family: monospace; letter-spacing: .03em; }
.auction-card__title { font-size: 19.5px; margin-bottom: 8px; }
.auction-card__title a:hover { color: var(--gold-bright); }
.auction-card__desc { color: var(--gray); font-size: 13.5px; flex: 1; }
.auction-card__foot { display: flex; align-items: flex-end; justify-content: space-between; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); }
.auction-card__price-label { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: .1em; color: var(--gray); }
.auction-card__price { font-family: var(--font-display); font-size: 24px; font-weight: 700; color: var(--brown); }

/* Filtre foldere */
.folder-filters { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 40px; }
.folder-chip { padding: 10px 22px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--white); font-size: 14px; font-weight: 500; color: var(--brown-soft); transition: all .25s; }
.folder-chip:hover { border-color: var(--gold); color: var(--brown); }
.folder-chip.is-active { background: var(--brown); color: var(--gold); border-color: var(--brown); }

.toolbar { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; margin-bottom: 28px; }
.toolbar .field { flex: 1; min-width: 220px; margin: 0; }

/* ---------- Stări (loading / empty / error) ---------- */
.state { text-align: center; padding: 72px 24px; border: 2px dashed var(--line); border-radius: var(--radius-lg); color: var(--gray); background: var(--white); }
.state--error { border-color: rgba(179, 64, 46, .35); background: #FDF4F2; color: var(--red); }
.state h3 { font-family: var(--font-body); font-size: 17px; margin-bottom: 6px; color: inherit; }
.spinner { width: 34px; height: 34px; border: 3px solid var(--line); border-top-color: var(--gold-bright); border-radius: 50%; margin: 0 auto 16px; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Pagina detaliu licitație ---------- */
.auction-detail { display: grid; grid-template-columns: 1.05fr .95fr; gap: 52px; align-items: start; }
.gallery__main { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 3; background: var(--cream); border: 1px solid var(--line); }
.gallery__main img { width: 100%; height: 100%; object-fit: cover; }
.gallery__thumbs { display: flex; gap: 12px; margin-top: 14px; flex-wrap: wrap; }
.gallery__thumb { width: 84px; height: 66px; border-radius: 10px; overflow: hidden; border: 2px solid transparent; cursor: pointer; background: var(--cream); padding: 0; }
.gallery__thumb img { width: 100%; height: 100%; object-fit: cover; }
.gallery__thumb.is-active { border-color: var(--gold); }

.bid-panel { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 32px; box-shadow: var(--shadow-sm); position: sticky; top: 96px; }
.bid-panel h1 { font-size: clamp(24px, 3vw, 32px); margin-bottom: 12px; }
.spec-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 18px; margin: 20px 0; padding: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.spec { font-size: 13.5px; }
.spec span { display: block; color: var(--gray); font-size: 11.5px; text-transform: uppercase; letter-spacing: .07em; }
.spec strong { color: var(--brown); font-weight: 600; }
.bid-current { display: flex; align-items: baseline; justify-content: space-between; margin: 6px 0 16px; }
.bid-current .price { font-family: var(--font-display); font-size: 42px; font-weight: 700; color: var(--brown); }
.bid-countdown { text-align: center; background: var(--cream); border-radius: var(--radius); padding: 14px; margin-bottom: 20px; font-weight: 700; font-size: 19px; color: var(--brown); font-variant-numeric: tabular-nums; }
.bid-countdown.is-urgent { background: #FBE9E5; color: var(--red); }
.bid-countdown.is-over { background: var(--line); color: var(--gray); }
.bid-form { display: flex; gap: 10px; }
.bid-form input { flex: 1; padding: 13px 16px; border: 1.5px solid var(--line); border-radius: var(--radius); font-size: 16px; font-weight: 600; }
.bid-form input:focus { border-color: var(--gold); outline: none; }
.bid-hint { font-size: 12.5px; color: var(--gray); margin-top: 10px; }

.bid-history { margin-top: 44px; }
.bid-history h2 { font-size: 24px; margin-bottom: 18px; }
.bid-row { display: flex; justify-content: space-between; align-items: center; padding: 14px 18px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 10px; }
.bid-row:first-of-type { border-color: var(--gold); background: linear-gradient(90deg, rgba(212, 175, 55, .08), transparent); }
.bid-row__user { font-weight: 600; color: var(--brown); }
.bid-row__amount { font-family: var(--font-display); font-weight: 700; font-size: 18px; color: var(--brown); }
.bid-row__time { font-size: 12px; color: var(--gray); }

.description-block { margin-top: 44px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 32px; }
.description-block h2 { font-size: 24px; margin-bottom: 14px; }
.description-block p { color: var(--gray); white-space: pre-line; }

/* ---------- Formulare ---------- */
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 13.5px; font-weight: 600; color: var(--brown); margin-bottom: 7px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 15px; border: 1.5px solid var(--line); border-radius: var(--radius);
  background: var(--white); transition: border-color .2s;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--gold); outline: none; }
.field textarea { resize: vertical; min-height: 120px; }
.field .error-msg { color: var(--red); font-size: 12.5px; margin-top: 5px; display: none; }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--red); }
.field.has-error .error-msg { display: block; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-note { font-size: 13px; color: var(--gray); }
.form-note a { color: var(--gold-bright); font-weight: 600; }
.checkbox-line { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; color: var(--gray); margin-bottom: 18px; }
.checkbox-line input { width: 17px; height: 17px; margin-top: 2px; accent-color: var(--gold-bright); }

/* ---------- Auth pages ---------- */
.auth-wrap { min-height: calc(100vh - 74px); display: grid; place-items: center; padding: 60px 24px; background: linear-gradient(160deg, var(--cream), var(--paper) 70%); }
.auth-card { display: grid; grid-template-columns: .85fr 1fr; max-width: 940px; width: 100%; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); background: var(--white); }
.auth-card__side { background: linear-gradient(155deg, var(--brown-deep), var(--brown) 65%, var(--brown-soft)); color: var(--gold-pale); padding: 48px 40px; display: flex; flex-direction: column; justify-content: center; }
.auth-card__side h2 { color: var(--gold-pale); font-size: 28px; margin: 18px 0 12px; }
.auth-card__side p { color: rgba(240, 227, 192, .75); font-size: 14.5px; }
.auth-card__side .brand__mark { width: 52px; height: 52px; color: var(--gold); }
.auth-card__side ul { list-style: none; margin-top: 26px; display: grid; gap: 12px; font-size: 14px; }
.auth-card__side li { display: flex; gap: 10px; align-items: center; }
.auth-card__side li::before { content: '✓'; color: var(--gold); font-weight: 700; }
.auth-card__form { padding: 48px 44px; }
.auth-card__form h1 { font-size: 28px; margin-bottom: 6px; }
.auth-card__form > p { color: var(--gray); font-size: 14px; margin-bottom: 28px; }

/* ---------- Cont utilizator / dashboard ---------- */
.dash-head { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; margin-bottom: 36px; }
.dash-head h1 { font-size: clamp(26px, 3.4vw, 38px); }
.tabs { display: flex; gap: 6px; border-bottom: 2px solid var(--line); margin-bottom: 32px; overflow-x: auto; }
.tab-btn { padding: 12px 22px; border: none; background: none; font-size: 14.5px; font-weight: 600; color: var(--gray); border-bottom: 3px solid transparent; margin-bottom: -2px; white-space: nowrap; transition: all .2s; }
.tab-btn:hover { color: var(--brown); }
.tab-btn.is-active { color: var(--brown); border-bottom-color: var(--gold); }
.tab-panel { display: none; }
.tab-panel.is-active { display: block; animation: fadeUp .4s var(--ease); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } }

.panel-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 32px; max-width: 720px; }

.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--white); }
table.data { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 640px; }
table.data th { text-align: left; padding: 14px 16px; background: var(--cream); font-size: 11.5px; text-transform: uppercase; letter-spacing: .08em; color: var(--taupe); border-bottom: 1px solid var(--line); }
table.data td { padding: 14px 16px; border-bottom: 1px solid var(--line); vertical-align: middle; }
table.data tr:last-child td { border-bottom: none; }
table.data tr:hover td { background: var(--paper); }

.badge { display: inline-block; padding: 4px 12px; border-radius: 999px; font-size: 11.5px; font-weight: 700; letter-spacing: .03em; }
.badge--active { background: #E6F4EA; color: var(--green); }
.badge--pending { background: #FDF3D7; color: #9A7B0A; }
.badge--ended { background: var(--line); color: var(--gray); }
.badge--cancelled, .badge--rejected { background: #FBE9E5; color: var(--red); }
.badge--admin { background: var(--brown); color: var(--gold); }
.badge--banned { background: #FBE9E5; color: var(--red); }

/* ---------- Pagini de conținut ---------- */
.page-hero {
  background: linear-gradient(170deg, var(--cream), var(--paper));
  border-bottom: 1px solid rgba(212, 175, 55, .16);
  padding: 72px 0 60px;
  text-align: center;
}
.page-hero--dark {
  background: linear-gradient(150deg, var(--brown-deep), var(--brown));
  border-bottom: none;
  position: relative;
  overflow: hidden;
}
.page-hero--dark::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(600px 250px at 50% -10%, rgba(212, 175, 55, .2), transparent);
  pointer-events: none;
}
.page-hero--dark h1 { color: var(--gold-pale); position: relative; }
.page-hero--dark p { color: rgba(240, 227, 192, .72); position: relative; }
.page-hero h1 { font-size: clamp(32px, 4.6vw, 50px); }
.page-hero p { color: var(--gray); max-width: 560px; margin: 14px auto 0; font-size: 16.5px; }

.steps { display: grid; gap: 0; max-width: 760px; margin: 0 auto; }
.step { display: grid; grid-template-columns: 64px 1fr; gap: 26px; padding: 30px 0; position: relative; }
.step:not(:last-child)::before { content: ''; position: absolute; left: 31px; top: 76px; bottom: -8px; width: 2px; background: linear-gradient(var(--gold), var(--line)); }
.step__num { width: 64px; height: 64px; border-radius: 50%; background: var(--white); border: 2px solid var(--gold); display: grid; place-items: center; font-family: var(--font-display); font-size: 24px; font-weight: 700; color: var(--brown); z-index: 1; }
.step h3 { font-size: 21px; margin-bottom: 8px; }
.step p { color: var(--gray); font-size: 15px; }

.faq { max-width: 760px; margin: 0 auto; }
.faq-item { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 12px; overflow: hidden; }
.faq-item summary { padding: 20px 24px; font-weight: 600; color: var(--brown); cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; font-size: 22px; color: var(--gold-bright); transition: transform .3s; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .faq-body { padding: 0 24px 20px; color: var(--gray); font-size: 14.5px; }

.values-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.value-card { text-align: center; padding: 32px 20px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); transition: all .3s var(--ease); }
.value-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.value-card--dark { background: rgba(255, 255, 255, .06); border-color: rgba(212, 175, 55, .2); color: var(--gold-pale); }
.value-card--dark h3 { color: var(--gold-pale); }
.value-card--dark p { color: rgba(240, 227, 192, .65); }
.value-card--dark:hover { background: rgba(255, 255, 255, .1); border-color: rgba(212, 175, 55, .5); }
.value-card .feature__icon { margin: 0 auto 16px; }
.value-card h3 { font-size: 18px; margin-bottom: 6px; }
.value-card p { color: var(--gray); font-size: 13.5px; }

/* Echipă */
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.team-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; text-align: center; transition: all .35s var(--ease); }
.team-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.team-card__photo { aspect-ratio: 1/1; overflow: hidden; background: var(--cream); }
.team-card__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.team-card:hover .team-card__photo img { transform: scale(1.05); }
.team-card h3 { font-size: 20px; margin: 20px 20px 4px; }
.team-card span { display: block; font-size: 13px; color: var(--gold-bright); font-weight: 600; letter-spacing: .03em; margin: 0 20px; }
.team-card p { font-size: 13.5px; color: var(--gray); padding: 12px 20px 24px; }

/* Blog sidebar card (landing page) */
.blog-sidebar-card { display: grid; grid-template-columns: 80px 1fr; gap: 14px; align-items: center; text-decoration: none; padding: 12px; border-radius: 12px; border: 1px solid var(--line); background: var(--white); transition: all .25s var(--ease); }
.blog-sidebar-card:hover { border-color: rgba(212, 175, 55, .5); background: var(--cream); transform: translateX(3px); }
.blog-sidebar-card__img { width: 80px; height: 64px; border-radius: 9px; overflow: hidden; background: var(--cream); flex-shrink: 0; }
.blog-sidebar-card__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.blog-sidebar-card__body .blog-card__date { display: block; font-size: 11px; color: var(--taupe); text-transform: uppercase; letter-spacing: .1em; font-weight: 600; margin-bottom: 4px; }
.blog-sidebar-card__body h3 { font-size: 15px; color: var(--brown); line-height: 1.3; margin-bottom: 4px; }
.blog-sidebar-card__body p { font-size: 12.5px; color: var(--gray); }

/* eyebrow în interiorul secțiunilor (split, alte contexte) */
.eyebrow { display: inline-block; font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: var(--taupe); font-weight: 600; margin-bottom: 10px; }

.prose { max-width: 780px; margin: 0 auto; }
.prose h2 { font-size: 26px; margin: 40px 0 14px; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { color: var(--gray); font-size: 15.5px; margin-bottom: 12px; }
.prose ul { padding-left: 22px; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split__art { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.split h2 { font-size: clamp(26px, 3.4vw, 36px); margin-bottom: 16px; }
.split p { color: var(--gray); margin-bottom: 14px; }

/* ---------- Blog ---------- */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.blog-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; transition: all .35s var(--ease); display: flex; flex-direction: column; }
.blog-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.blog-card__media { aspect-ratio: 16 / 9; overflow: hidden; background: var(--cream); }
.blog-card__media img { width: 100%; height: 100%; object-fit: cover; }
.blog-card__body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.blog-card__date { font-size: 12px; color: var(--taupe); text-transform: uppercase; letter-spacing: .1em; font-weight: 600; margin-bottom: 10px; }
.blog-card h3 { font-size: 20px; margin-bottom: 10px; }
.blog-card p { color: var(--gray); font-size: 14px; flex: 1; }
.blog-card .read-more { margin-top: 16px; font-weight: 600; font-size: 14px; color: var(--gold-bright); }

.article-hero img { width: 100%; max-height: 440px; object-fit: cover; border-radius: var(--radius-lg); margin-bottom: 36px; }
.article-body { max-width: 740px; margin: 0 auto; }
.article-body h1 { font-size: clamp(30px, 4.2vw, 44px); margin-bottom: 14px; }
.article-body .article-meta { color: var(--taupe); font-size: 13px; text-transform: uppercase; letter-spacing: .1em; font-weight: 600; margin-bottom: 30px; }
.article-body .article-content { color: var(--ink); font-size: 16.5px; line-height: 1.85; white-space: pre-line; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: start; }
.contact-info-card { background: var(--brown-deep); color: var(--gold-pale); border-radius: var(--radius-lg); padding: 40px 36px; }
.contact-info-card h2 { color: var(--gold-pale); font-size: 26px; margin-bottom: 10px; }
.contact-info-card > p { color: rgba(240, 227, 192, .7); font-size: 14.5px; margin-bottom: 30px; }
.contact-line { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 22px; }
.contact-line svg { width: 22px; height: 22px; min-width: 22px; color: var(--gold); flex-shrink: 0; margin-top: 2px; }
.contact-line strong { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: .1em; color: var(--gold); margin-bottom: 3px; }
.contact-line a, .contact-line span { color: var(--gold-pale); font-size: 15px; }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(120deg, var(--brown-deep), var(--brown)); border-radius: var(--radius-lg); padding: 64px 48px; text-align: center; position: relative; overflow: hidden; }
.cta-band::before { content: ''; position: absolute; inset: 0; background: radial-gradient(600px 200px at 50% -20%, rgba(212, 175, 55, .25), transparent); }
.cta-band h2 { color: var(--gold-pale); font-size: clamp(26px, 3.6vw, 38px); margin-bottom: 12px; position: relative; }
.cta-band p { color: rgba(240, 227, 192, .75); max-width: 520px; margin: 0 auto 30px; position: relative; }
.cta-band .btn { position: relative; }

/* ---------- Toast ---------- */
#toast-wrap { position: fixed; bottom: 24px; right: 24px; z-index: 300; display: flex; flex-direction: column; gap: 10px; }
.toast { background: var(--brown-deep); color: var(--gold-pale); padding: 14px 22px; border-radius: var(--radius); box-shadow: var(--shadow-lg); font-size: 14px; font-weight: 500; opacity: 0; transform: translateX(20px); transition: all .35s var(--ease); max-width: 340px; }
.toast.is-in { opacity: 1; transform: none; }
.toast--success { border-left: 4px solid var(--green); }
.toast--error { border-left: 4px solid var(--red); }
.toast--info { border-left: 4px solid var(--gold); }

/* ---------- Cookie banner ---------- */
.cookie-banner { position: fixed; left: 20px; right: 20px; bottom: 20px; z-index: 250; opacity: 0; transform: translateY(24px); transition: all .45s var(--ease); }
.cookie-banner.is-in { opacity: 1; transform: none; }
.cookie-banner__in { max-width: 880px; margin: 0 auto; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: 22px 28px; display: flex; gap: 24px; align-items: center; justify-content: space-between; }
.cookie-banner__in p { font-size: 13px; color: var(--gray); margin-top: 4px; max-width: 560px; }
.cookie-banner__in a { color: var(--gold-bright); font-weight: 600; }
.cookie-banner__actions { display: flex; gap: 10px; flex-shrink: 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--brown-deep); color: rgba(240, 227, 192, .78); margin-top: 88px; }
.site-footer__in { max-width: var(--container); margin: 0 auto; padding: 64px 24px 44px; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
.brand--footer .brand__text { color: var(--gold-pale); }
.brand--footer .brand__tag { color: var(--gold); }
.brand__logo--footer { border: 2px solid rgba(212, 175, 55, .35); }
.footer-social { display: flex; gap: 10px; margin-top: 18px; }
.footer-social a { width: 38px; height: 38px; border-radius: 50%; background: rgba(255, 255, 255, .08); color: var(--gold-pale); display: grid; place-items: center; font-weight: 700; transition: all .25s; }
.footer-social a:hover { background: var(--gold); color: var(--brown-deep); }
.footer-col p { font-size: 13.5px; margin-top: 16px; max-width: 300px; color: rgba(240, 227, 192, .6); }
.footer-col h3 { color: var(--gold); font-family: var(--font-body); font-size: 12.5px; text-transform: uppercase; letter-spacing: .16em; margin-bottom: 18px; }
.footer-col a, .footer-col span { display: block; font-size: 14px; padding: 5px 0; color: rgba(240, 227, 192, .78); transition: color .2s; }
.footer-col a:hover { color: var(--gold); }
.site-footer__bar { border-top: 1px solid rgba(212, 175, 55, .18); }
.site-footer__bar { max-width: var(--container); margin: 0 auto; padding: 20px 24px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; color: rgba(240, 227, 192, .55); }
.site-footer__bar a { color: var(--gold); font-weight: 600; }
.site-footer__bar a:hover { text-decoration: underline; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .auction-grid, .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .features { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .hero__in { grid-template-columns: 1fr; padding: 60px 24px 72px; }
  .hero__art { max-width: 420px; margin: 0 auto; }
  .auction-detail { grid-template-columns: 1fr; }
  .bid-panel { position: static; }
  .site-footer__in { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 820px) {
  .nav, .header-actions { display: none; }
  .burger { display: flex; margin-left: auto; }
  .auth-card { grid-template-columns: 1fr; }
  .auth-card__side { display: none; }
  .contact-grid, .split { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
  .team-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
}

@media (max-width: 620px) {
  .auction-grid, .blog-grid, .values-grid { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .hero__stats { gap: 24px; flex-wrap: wrap; }
  .cookie-banner__in { flex-direction: column; align-items: flex-start; }
  .bid-form { flex-direction: column; }
  .cta-band { padding: 48px 24px; }
  .auth-card__form { padding: 36px 24px; }
  .site-footer__in { grid-template-columns: 1fr; gap: 28px; }
  .blog-sidebar-card { grid-template-columns: 1fr; }
  .blog-sidebar-card__img { display: none; }
}

/* ---------- Language Selector ---------- */
.lang-wrap { display: flex; align-items: center; }
.lang-select {
  background: transparent;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 13px;
  font-weight: 600;
  color: var(--brown);
  cursor: pointer;
  font-family: var(--font-body);
  transition: border-color .2s;
  appearance: none;
  -webkit-appearance: none;
  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' stroke='%233E2713' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  padding-right: 28px;
}
.lang-select:hover { border-color: var(--gold); }
.lang-select:focus { outline: none; border-color: var(--gold-bright); }
.lang-wrap--mobile { margin: 0 16px; }
.lang-wrap--mobile .lang-select { width: 100%; border-radius: var(--radius); padding: 12px 36px 12px 14px; font-size: 15px; }

/* Sticky footer - elimină spațiul alb */
html, body { height: 100%; }
body { display: flex; flex-direction: column; min-height: 100vh; }
body > main, body > .landing, body > section { flex: 1 0 auto; }
.site-footer { flex-shrink: 0; margin-top: auto; }
