/* Platforma de parteneri — identitatea editorială MMR, octombrie 2026. */
:root {
  --serif: "Bodoni Moda", "Bodoni Fallback", "Bodoni 72", Didot, "Times New Roman", serif;
  --sans: "Inter", "Inter Fallback", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --ink: #191714; --paper: #f4f0e8; --ivory: #e8e0d4; --white: #fffdf8;
  --plum: #321622; --plum-hover: #521f30; --rose: #efe3e4;
  --gold: var(--plum-hover); --gold-deep: var(--plum);
  --taupe: #655f58; --line: rgba(50,22,34,.16); --ok: #32653e; --rau: #9c3b3b;
  --shadow: 0 12px 36px rgba(50,22,34,.045); --radius: 24px;
}
* { box-sizing: border-box }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 24px }
body { margin: 0; background: radial-gradient(ellipse at 90% 12%, var(--rose), transparent 48%), var(--paper); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased }
img { max-width: 100%; height: auto; display: block }
a { color: var(--gold-deep) }
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 32px; min-width: 0 }
:focus-visible { outline: 3px solid var(--plum-hover); outline-offset: 4px }
.sari { position: fixed; left: 16px; top: -100px; z-index: 100; padding: 12px 20px; border-radius: 8px; color: white; background: var(--plum) }
.sari:focus { top: 12px }

/* Antet și subsol */
.sus { background: rgba(244,240,232,.95); color: var(--ink); border-bottom: 1px solid var(--line); padding: 20px 0 }
.sus .wrap { display: flex; align-items: center; justify-content: space-between; gap: 18px 28px; flex-wrap: wrap }
.sigla { color: var(--ink); text-decoration: none; display: flex; align-items: center; gap: 12px }
.monograma { width: 48px; height: 48px; flex: 0 0 48px; display: grid; place-items: center; border-radius: 50%; color: var(--white); background: var(--plum); font-size: 12px; font-weight: 700; letter-spacing: .06em }
.identitate strong, .identitate small { display: block; text-transform: uppercase }
.identitate strong { font-size: 12px; letter-spacing: .08em; line-height: 1.5 }
.identitate small { margin-top: 2px; font-size: 9px; color: var(--taupe); letter-spacing: .09em }
.eticheta { font-family: var(--sans); font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold) }
.meniu { display: flex; align-items: center; gap: 8px; flex-wrap: wrap }
.meniu a { display: inline-flex; gap: 8px; align-items: center; justify-content: center; min-height: 44px; padding: 10px 14px; border-radius: 999px; color: var(--ink); text-decoration: none; font-size: 11px; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; transition: background .2s, color .2s }
.meniu a:hover { background: var(--ivory); color: var(--plum) }
.meniu a.meniu-cta { color: var(--white); background: var(--plum); padding-inline: 22px }
.meniu a.meniu-cta:hover { background: var(--plum-hover) }
main.wrap { padding-top: 48px; padding-bottom: 64px; min-height: 62vh }
.jos { border-top: 1px solid var(--line); padding: 30px 0; font-size: 12px; color: var(--taupe) }
.jos .wrap { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap }
.subsol-identitate strong { display: block; color: var(--plum); font-family: var(--serif); font-size: 22px; font-weight: 400 }
.subsol-identitate span { font-size: 11px }
.jos nav { display: flex; flex-wrap: wrap; gap: 8px 20px }
.jos a { color: var(--taupe); display: inline-flex; align-items: center; min-height: 44px; text-underline-offset: 4px }

/* Tipografie */
h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(36px, 4.7vw, 64px); line-height: 1.08; letter-spacing: -.03em; margin: 0 0 18px; overflow-wrap: anywhere }
h1 em, h2 em { color: var(--plum-hover); font-weight: 400 }
h1.mic { font-size: 32px }
h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(28px, 3vw, 36px); line-height: 1.2; margin: 36px 0 18px; letter-spacing: -.02em }
h3 { font-family: var(--serif); font-weight: 400; font-size: 21px; margin: 0 0 6px }
.sub { color: var(--taupe); font-size: 16px; max-width: 660px; margin: 0 0 30px }
.supra { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-deep); margin: 0 0 12px }
.nr { color: var(--gold-deep); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; margin: -6px 0 16px }
.desc { white-space: pre-line; color: #3a342d }

.pasi { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; margin: 0 0 40px; padding: 0; list-style: none; counter-reset: p }
.pasi li { background: var(--white); border: 1px solid var(--line); border-radius: 18px; padding: 18px 20px; font-size: 14px; color: var(--taupe); counter-increment: p }
.pasi li::before { content: "0" counter(p); display: block; font-family: var(--serif); font-size: 22px; color: var(--gold); margin-bottom: 4px }

/* Formulare */
form.fisa { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 32px; max-width: 720px }
form.ingust { max-width: 460px }
form.centru { margin: 10px auto 0 }
.rand { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px }
.rand-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 0 18px }
@media (max-width: 680px) { .rand, .rand-3 { grid-template-columns: 1fr } form.fisa { padding: 22px 16px } }
label { display: block; font-size: 13px; letter-spacing: .015em; color: var(--ink); margin: 0 0 18px }
label .opt { color: var(--taupe); font-weight: 400 }
input[type=text], input[type=email], input[type=tel], input[type=password], input[type=url], input[type=search], input[type=date], input[type=file], select, textarea {
  display: block; width: 100%; margin-top: 6px; font: inherit; font-size: 15px; color: var(--ink);
  min-height: 48px; padding: 11px 14px; border: 1px solid var(--line); background: #fff; border-radius: 12px }
input[disabled] { color: var(--taupe); background: #f1ece3 }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--plum-hover); outline-offset: 2px; background: #fff }
input[type=checkbox] { width: 18px; height: 18px; flex: 0 0 18px; accent-color: var(--plum) }
textarea { min-height: 130px; resize: vertical }
.bifa { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; letter-spacing: 0 }
.bifa input { margin-top: 4px }
.bifa.inline { display: inline-flex; margin: 0 8px 0 0; align-items: center }
.bifa.inline input { margin: 0 }
.capcana { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden }
.ajutor { font-size: 12px; color: var(--taupe); margin: -8px 0 16px }
.jos-form { margin: 18px 0 0 }

button, .buton { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 48px; font: inherit; cursor: pointer; padding: 12px 22px; border: 1px solid var(--plum); border-radius: 999px; background: var(--plum); color: #fff; font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; text-decoration: none; line-height: 1.4; transition: background .2s, color .2s, border-color .2s }
button:hover, .buton:hover { background: var(--plum-hover); border-color: var(--plum-hover) }
button.alt, .buton.alt { background: transparent; color: var(--plum) }
button.alt:hover, .buton.alt:hover { background: var(--ivory) }
button.rau { background: #fff; color: var(--rau); border-color: #c98b8b }
button.mic, .buton.mic { min-height: 44px; padding: 9px 15px; font-size: 10px }

.flash { padding: 14px 18px; background: var(--rose); border-left: 3px solid var(--plum); border-radius: 10px; margin: 0 0 24px; font-size: 14px }
.er { padding: 14px 18px; background: #f7e9e7; border-left: 3px solid #c98b8b; border-radius: 10px; margin: 0 0 22px; font-size: 14px }
.er ul { margin: 6px 0 0; padding-left: 18px }
.avert { color: var(--rau); font-size: 13px; margin: 12px 0 0 }
.gata { background: var(--white); border: 1px solid var(--line); border-left: 3px solid var(--ok); border-radius: var(--radius); padding: 26px; max-width: 660px }
.gol { color: var(--taupe); font-style: italic }
.gol-mare { background: var(--white); border: 1px dashed var(--line); border-radius: var(--radius); padding: 30px 24px; text-align: center; color: var(--taupe) }

/* Taburi, carduri, acțiuni */
.taburi { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 26px }
.taburi a { display: inline-flex; align-items: center; min-height: 44px; padding: 9px 17px; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; color: var(--ink); font-size: 13px; background: var(--white) }
.taburi a.activ { background: var(--plum); color: #fff; border-color: var(--plum) }
.card { background: var(--white); border: 1px solid var(--line); border-left: 3px solid var(--plum); border-radius: 18px; box-shadow: var(--shadow); padding: 22px; margin-bottom: 16px; overflow-wrap: anywhere }
.card.activ { border-left-color: var(--ok) }
.card.respins, .card.suspendat { border-left-color: #c98b8b }
.card .cat { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-deep); margin: 0 0 10px }
.card p.desc { margin: 0 0 12px }
.meta { display: flex; flex-wrap: wrap; gap: 4px 16px; font-size: 12px; color: var(--taupe); margin-bottom: 14px }
.meta b { color: var(--ink); font-weight: 600 }
.acte { display: flex; flex-wrap: wrap; gap: 8px; align-items: center }
.acte form { margin: 0 }
.acte input[type=text] { display: inline-block; width: 220px; margin: 0; padding: 7px 10px; font-size: 13px }
a.iesi { font-size: 12px; color: var(--taupe) }
.cap-cont { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 22px }
.cap-cont h1 { margin-bottom: 0 }
.grila-2 { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 20px }
@media (max-width: 760px) { .grila-2 { grid-template-columns: 1fr } }
.bara { height: 6px; background: var(--ivory); margin: 12px 0 14px }
.bara span { display: block; height: 100%; background: var(--gold) }
.lista-pasi { list-style: none; margin: 0; padding: 0; font-size: 14px }
.lista-pasi li { padding: 5px 0; color: var(--taupe) }
.lista-pasi li.ok { color: var(--ok) }
.oferta-cap { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 8px }
.pret { font-family: var(--serif); font-size: 19px; color: var(--gold-deep); white-space: nowrap }

/* Galerie în cont */
.galerie-admin { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; margin-top: 26px }
.galerie-admin figure { margin: 0; background: var(--white); border: 1px solid var(--line); border-radius: 18px; padding: 10px; position: relative }
.galerie-admin figure.coperta { border-color: var(--gold); box-shadow: 0 0 0 1px var(--gold) }
.galerie-admin img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 10px }
.galerie-admin .insigna { position: absolute; top: 14px; left: 14px; background: var(--gold); color: #fff; font-size: 10px; letter-spacing: .12em; text-transform: uppercase; padding: 3px 8px }
.galerie-admin form.legenda { display: flex; gap: 6px; margin: 8px 0 }
.galerie-admin form.legenda input { margin: 0; padding: 6px 8px; font-size: 13px }

/* Clipuri */
.clipuri { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%,320px), 1fr)); gap: 18px; margin-top: 22px }
.video { position: relative; aspect-ratio: 16/9; background: #000; border-radius: 16px; overflow: hidden }
.video.vertical { aspect-ratio: 9/16; max-width: 340px; background: #111 }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0 }

/* Catalog */
.catalog-intro { display: grid; grid-template-columns: minmax(0,1.8fr) minmax(0,1fr); align-items: center; gap: 48px; margin: 4px 0 34px }
.catalog-intro .sub { max-width: 600px; margin: 22px 0 0 }
.catalog-nota { padding: 26px 30px; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255,253,248,.65) }
.catalog-nota .supra { display: block; font-size: 10px }
.catalog-nota p { margin: 16px 0; font: 400 clamp(25px,2.6vw,34px)/1.15 var(--serif); letter-spacing: -.02em }
.catalog-nota em { color: var(--plum-hover) }
.catalog-nota > span:last-child { display: block; font-size: 13px; line-height: 1.7; color: var(--taupe) }
.filtre { display: grid; grid-template-columns: minmax(0,1.2fr) minmax(0,1fr) minmax(0,1.3fr) auto; gap: 14px; align-items: end; margin: 0 0 24px; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow) }
.filtre label { margin: 0; font-size: 11px; font-weight: 600; letter-spacing: .04em }
.filtre select, .filtre input { margin: 8px 0 0; font-weight: 400; letter-spacing: 0 }
@media (max-width: 760px) { .filtre { grid-template-columns: 1fr } }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 28px }
.chips a { display: inline-flex; align-items: center; min-height: 44px; font-size: 12px; padding: 9px 16px; border: 1px solid var(--line); border-radius: 999px; background: var(--white); color: var(--ink); text-decoration: none }
.chips a.activ { background: var(--plum); color: #fff; border-color: var(--plum) }
.grila { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%,270px), 1fr)); gap: 24px }
.fisa-partener { min-width: 0; display: flex; flex-direction: column; gap: 8px; padding: 10px 10px 24px; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); background: var(--white); text-decoration: none; color: var(--ink); transition: border-color .2s }
.fisa-partener:hover { border-color: var(--plum-hover) }
.fisa-partener .poza { display: block; aspect-ratio: 4/3; border-radius: 16px; overflow: hidden; background: var(--ivory); margin-bottom: 8px }
.fisa-partener > :not(.poza) { margin-inline: 12px; min-width: 0; overflow-wrap: anywhere }
.fisa-partener img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease }
.fisa-partener:hover img { transform: scale(1.04) }
.fisa-partener .cat { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-deep) }
.fisa-partener strong { font-family: var(--serif); font-weight: 400; font-size: 22px; line-height: 1.2 }
.fisa-partener .pret { font-size: 15px }
.banda { margin-top: 48px; border-radius: var(--radius); background: var(--plum); color: var(--white); padding: 36px }
.banda h2 { margin: 0 0 14px; color: var(--white); max-width: 660px }
.banda p { color: #e8dce1; margin: 0 0 22px; max-width: 620px }
.banda .supra { color: #e8dce1; font-size: 10px; margin-bottom: 18px }
.banda .buton { color: var(--plum); background: var(--white); border-color: var(--white) }
.banda .buton:hover { background: var(--ivory); border-color: var(--ivory) }

/* Profil public */
.profil-cap { position: relative; min-height: 440px; display: flex; align-items: flex-end; background: var(--plum); margin: 0; border-radius: 28px; overflow: hidden }
.profil-cap.fara-poza { min-height: 260px }
.profil-cap .fundal { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .8 }
.profil-cap::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(25,23,20,.04), rgba(25,23,20,.85)); pointer-events: none }
.profil-text { position: relative; z-index: 1; padding: 40px; color: #fff; max-width: 760px }
.profil-text .supra { color: var(--white) }
.profil-text h1 { color: #fff }
.pret-mare { font-family: var(--serif); font-size: 22px; margin: 0 0 20px; color: #f1e3c8 }
.profil-text .buton { color: var(--plum); background: var(--white); border-color: var(--white) }
.profil-text .buton:hover { background: var(--ivory); border-color: var(--ivory) }
.profil-corp { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0,360px); gap: 36px; margin-top: 30px }
@media (max-width: 900px) { .profil-corp { grid-template-columns: 1fr } }
.profil-corp h2 { margin-top: 30px }
.lateral form.fisa { position: sticky; top: 20px; padding: 24px 20px }
.galerie { columns: 3 220px; column-gap: 12px }
.galerie a { display: block; margin: 0 0 12px; break-inside: avoid; position: relative; text-decoration: none }
.galerie img { border-radius: 14px }

/* Spațiu pentru etichete și acțiuni, inclusiv pe telefoane înguste. */
.principal, .lateral, .rand > *, .rand-3 > *, .grila-2 > * { min-width: 0 }
.meta, .ajutor, .desc { overflow-wrap: anywhere }
input[type=file] { max-width: 100%; font-size: 14px }
@media (max-width: 1000px) {
  .sus .wrap { justify-content: center }
  .meniu { justify-content: center }
  .catalog-intro { gap: 24px }
}
@media (max-width: 760px) {
  .wrap { padding-inline: 22px }
  main.wrap { padding-top: 32px; padding-bottom: 40px }
  .catalog-intro { grid-template-columns: 1fr; gap: 20px; margin-bottom: 26px }
  .catalog-intro h1 { font-size: clamp(38px,7vw,54px) }
  .catalog-nota { padding: 20px 24px }
  .catalog-nota p { font-size: 28px; margin: 10px 0 }
  .filtre { padding: 20px; gap: 16px }
  .filtre button { width: 100% }
  .banda { padding: 28px; margin-top: 32px }
  .profil-cap { min-height: 380px; border-radius: 22px }
  .profil-text { padding: 28px }
  .jos .wrap { align-items: flex-start }
}
@media (max-width: 480px) {
  .wrap { padding-inline: 16px }
  .sus { padding: 16px 0 }
  .sus .wrap { gap: 14px }
  .meniu { width: 100%; gap: 4px }
  .meniu a { padding: 10px; font-size: 10px; letter-spacing: .035em }
  .meniu a.meniu-cta { padding-inline: 14px }
  .catalog-intro .supra { font-size: 10px; letter-spacing: .12em }
  .catalog-nota { display: none }
  form.fisa { padding: 24px 18px; border-radius: 20px }
  .profil-text { padding: 24px }
  .banda { padding: 26px 22px }
  .acte input[type=text] { max-width: 100%; width: 100% }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important }
  .fisa-partener:hover img { transform: none }
}
.galerie a span { display: block; font-size: 12px; color: var(--taupe); padding: 6px 0 0 }


/* Coperta rămâne liberă; numele și acțiunea au un spațiu separat în dreapta. */
.profil-cap:not(.fara-poza) { display: grid; grid-template-columns: minmax(0,1fr) 280px; align-items: stretch; min-height: 0; background: var(--white); border: 1px solid var(--line) }
.profil-cap:not(.fara-poza)::after { content: none }
.profil-cap:not(.fara-poza) .fundal { position: static; width: 100%; height: 100%; min-height: 340px; max-height: 480px; object-fit: contain; opacity: 1; background: #171514 }
.profil-cap:not(.fara-poza) .profil-text { min-width: 0; max-width: none; align-self: center; padding: 28px; text-align: right; color: var(--ink) }
.profil-cap:not(.fara-poza) .profil-text .supra { color: var(--taupe); font-size: 10px; line-height: 1.8; letter-spacing: .08em; margin-bottom: 14px }
.profil-cap:not(.fara-poza) .profil-text h1 { color: var(--plum); font-size: 24px; line-height: 1.3; letter-spacing: -.015em; margin-bottom: 20px; overflow-wrap: anywhere }
.profil-cap:not(.fara-poza) .pret-mare { color: var(--plum); font-size: 18px }
.profil-cap:not(.fara-poza) .profil-text .buton { color: var(--white); background: var(--plum); border-color: var(--plum) }
.profil-cap:not(.fara-poza) .profil-text .buton:hover { background: var(--plum-hover); border-color: var(--plum-hover) }
@media (max-width: 760px) {
  .profil-cap:not(.fara-poza) { grid-template-columns: minmax(0,1fr) }
  .profil-cap:not(.fara-poza) .fundal { height: auto; min-height: 0; max-height: none; aspect-ratio: 16/9 }
  .profil-cap:not(.fara-poza) .profil-text { padding: 20px 24px; text-align: right }
  .profil-cap:not(.fara-poza) .profil-text h1 { font-size: 22px; margin-bottom: 14px }
}


/* Formularul lung se derulează integral, inclusiv acordul și trimiterea. */
.lateral form.fisa { position: static }
/* Fotografii mărite în aceeași pagină, cu închidere și navigare. */
.foto-prim-plan { display: none; position: fixed; inset: 0; z-index: 1000; width: 100%; height: 100vh; height: 100dvh; padding: 16px 24px; background: rgba(15,14,14,.97); color: #fff; grid-template-columns: 48px minmax(0,1fr) 48px; grid-template-rows: 48px minmax(0,1fr) auto; gap: 12px; outline: none }
.foto-prim-plan:target { display: grid }
.foto-prim-plan img { grid-column: 2; grid-row: 2; width: 100%; height: 100%; min-height: 0; object-fit: contain }
.foto-numar { grid-column: 2; grid-row: 1; align-self: center; text-align: center; font-size: 14px }
.foto-prim-plan a { display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; border: 1px solid rgba(255,255,255,.35); border-radius: 50%; color: #fff; background: rgba(255,255,255,.08); text-decoration: none; font: 36px/1 var(--sans); align-self: center }
.foto-prim-plan a:hover { background: rgba(255,255,255,.2) }
.foto-prim-plan a:focus-visible { outline: 3px solid #fff; outline-offset: 3px }
.foto-inchide { grid-column: 3; grid-row: 1 }
.foto-inapoi { grid-column: 1; grid-row: 2 }
.foto-inainte { grid-column: 3; grid-row: 2 }
.foto-legenda { grid-column: 1 / -1; grid-row: 3; margin: 0; text-align: center; font-size: 13px; max-height: 15vh; overflow: auto }
@media (max-width: 600px) {
  .foto-prim-plan { padding: 12px; grid-template-columns: 44px minmax(0,1fr) 44px; grid-template-rows: 44px minmax(0,1fr) 44px auto; gap: 8px }
  .foto-prim-plan img { grid-column: 1 / -1; grid-row: 2 }
  .foto-prim-plan a { width: 44px; height: 44px }
  .foto-inapoi { grid-column: 1; grid-row: 3 }
  .foto-inainte { grid-column: 3; grid-row: 3 }
  .foto-legenda { grid-row: 4 }
}
