/* =========================================================
   TOMIS MODELS – stilul site-ului public (un singur fișier)
   Culori: alb, piatră (calcarul din Tomis), negru, albastru-verde de Marea Neagră.
   Fonturi: Marcellus, litere romane clasice (nume, titluri) + Instrument Sans (text, meniu, butoane).
   ========================================================= */

:root {
  --white: #ffffff;
  --stone: #efede9;
  --stone-deep: #e3e0da;
  --ink: #000000;
  --mute: #5b5a56;
  --line: #dcd9d3;
  --sea: #1f4a50;
  --sea-deep: #15363b;

  --serif: "Marcellus", "Trajan Pro", Georgia, serif; /* titluri: litere romane clasice, fără linii subțiri */
  --sans: "Instrument Sans", "Helvetica Neue", Arial, sans-serif;

  /* scara de mărimi (raport 1.25) – nimic sub 14px */
  --t-sm: 14px;
  --t-base: 16px;
  --t-md: 18px;
  --t-lg: 20px;
  --t-xl: 25px;
  --t-2xl: 31px;
  --t-3xl: clamp(31px, 3.4vw, 39px);
  --t-title: clamp(42px, 5.2vw, 61px);
  --t-hero: clamp(42px, 7.6vw, 118px);

  --wrap: 1440px;
  --gutter: clamp(20px, 3.6vw, 56px);
  --header-h: 84px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: var(--header-h); }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font: 400 var(--t-base)/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 4px; }
h1, h2, h3 { margin: 0; font-weight: 400; }
p { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--sea); outline-offset: 3px; }

.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: var(--white); padding: 10px 16px; text-decoration: none; }
.skip-link:focus { top: 12px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- butoane ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 28px;
  border: 1px solid var(--ink); background: var(--ink); color: var(--white);
  font: 500 var(--t-base)/1 var(--sans); text-decoration: none; cursor: pointer;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.btn:hover { background: var(--sea); border-color: var(--sea); }
.btn--line { background: transparent; color: var(--ink); }
.btn--line:hover { background: var(--ink); color: var(--white); border-color: var(--ink); }
.btn--light { background: var(--white); color: var(--ink); border-color: var(--white); }
.btn--light:hover { background: transparent; color: var(--white); border-color: var(--white); }
.btn--ghost-light { background: transparent; color: var(--white); border-color: rgba(255,255,255,.7); }
.btn--ghost-light:hover { background: var(--white); color: var(--ink); border-color: var(--white); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.text-link { font-weight: 500; text-decoration: underline; text-decoration-color: var(--line); }
.text-link:hover { text-decoration-color: currentColor; }

/* ---------- banda de anunț (editabilă din aplicație) ---------- */
.site-notice { background: var(--ink); color: var(--white); text-align: center; font-size: var(--t-sm); line-height: 1.45; padding: 9px var(--gutter); }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: var(--white); border-bottom: 1px solid var(--line);
}
.site-header__inner {
  max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter);
  height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.site-logo img { width: auto; height: 38px; }
.site-nav { display: flex; align-items: center; gap: clamp(20px, 2.6vw, 40px); }
.site-nav a { font-size: var(--t-base); font-weight: 500; text-decoration: none; padding: 6px 0; border-bottom: 1px solid transparent; }
.site-nav a:hover, .site-nav a[aria-current="page"] { border-bottom-color: currentColor; }
.site-nav .site-nav__whatsapp { border: 1px solid currentColor; padding: 9px 18px; }
.site-nav__lang { display: inline-flex; gap: 10px; }
.site-nav .site-nav__lang a { font-size: var(--t-sm); font-weight: 600; opacity: .55; border-bottom: 0; }
.site-nav .site-nav__lang a:hover, .site-nav .site-nav__lang a[aria-current="true"] { opacity: 1; }
.site-nav .site-nav__whatsapp:hover { background: var(--ink); color: var(--white); border-color: var(--ink); }
.menu-toggle { display: none; }

/* peste poza de pe Acasă: transparent, apoi alb la derulare */
.site-header--over { position: fixed; left: 0; right: 0; background: transparent; border-bottom-color: transparent; color: var(--white); transition: background-color .25s ease, color .25s ease, border-color .25s ease; }
.site-header--over .site-logo img { filter: brightness(0) invert(1); transition: filter .25s ease; }
.site-header--over.is-solid { background: var(--white); color: var(--ink); border-bottom-color: var(--line); }
.site-header--over.is-solid .site-logo img { filter: none; }
.site-header--over .site-nav__whatsapp:hover { background: var(--white); color: var(--ink); border-color: var(--white); }
.site-header--over.is-solid .site-nav__whatsapp:hover { background: var(--ink); color: var(--white); border-color: var(--ink); }

/* ---------- titlul paginilor interioare ---------- */
.page-top { padding: clamp(40px, 6vw, 72px) 0 clamp(28px, 4vw, 44px); }
.page-top h1 { font-family: var(--serif); font-size: 31px; font-weight: 400; line-height: 1.02; letter-spacing: .01em; }
.page-top__lead { margin-top: 16px; max-width: 640px; font-size: var(--t-md); color: var(--mute); }
.page-top--empty { min-height: 50vh; }
.page-top__cta { margin-top: 28px; }
.page-top--split { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px 48px; flex-wrap: wrap; }

/* ---------- ACASĂ: poza mare ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; color: var(--white); overflow: hidden; background: #1b1b1b; }
.hero__media { position: absolute; inset: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.35) 0%, rgba(0,0,0,0) 28%, rgba(0,0,0,0) 45%, rgba(0,0,0,.62) 100%); }
.hero__content { position: relative; width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter) clamp(36px, 6vw, 72px); }
.hero__title { font-family: var(--serif); font-size: var(--t-hero); font-weight: 400; line-height: .95; letter-spacing: .06em; text-transform: uppercase; }
.hero__bottom { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px 48px; flex-wrap: wrap; margin-top: clamp(20px, 2.6vw, 32px); }
.hero__lead { max-width: 520px; font-size: var(--t-lg); line-height: 1.5; }
@media (prefers-reduced-motion: no-preference) {
  .hero__media img { animation: hero-settle 1.8s cubic-bezier(.2,.7,.2,1) both; }
  @keyframes hero-settle { from { transform: scale(1.07); } to { transform: none; } }
}

/* ---------- secțiuni ---------- */
.section { padding: clamp(56px, 8vw, 112px) 0; }
.section--stone { background: var(--stone); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px 32px; flex-wrap: wrap; margin-bottom: clamp(24px, 3vw, 40px); }
.section-head h2 { font-family: var(--serif); font-size: var(--t-3xl); font-weight: 400; line-height: 1.1; letter-spacing: .01em; }

/* ---------- grila de modele ---------- */
.board { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(28px, 3vw, 44px) clamp(10px, 1.2vw, 18px); }
.board--page { padding-bottom: clamp(56px, 8vw, 112px); }
.mcard { display: block; text-decoration: none; }
.mcard__media { position: relative; aspect-ratio: 3 / 4; overflow: hidden; background: var(--stone); }
.mcard__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.mcard__media .mcard__alt { opacity: 0; transition: opacity .35s ease; }
.mcard:hover .mcard__alt, .mcard:focus-visible .mcard__alt { opacity: 1; }
.mcard__tag { position: absolute; left: 12px; top: 12px; z-index: 2; background: var(--white); color: var(--ink); font-size: var(--t-sm); font-weight: 500; padding: 4px 10px; }
.mcard__name { margin-top: 14px; font-family: var(--serif); font-size: var(--t-lg); font-weight: 400; line-height: 1.2; letter-spacing: .01em; }
.mcard__stats { margin-top: 6px; display: flex; flex-wrap: wrap; gap: 2px 18px; font-size: var(--t-base); color: var(--mute); }
.mcard__stats strong { color: var(--ink); font-weight: 600; }

.filters { display: flex; gap: 6px 28px; flex-wrap: wrap; }
.filters a { font-size: var(--t-md); text-decoration: none; color: var(--mute); padding: 6px 0; border-bottom: 1px solid transparent; }
.filters a:hover { color: var(--ink); }
.filters a[aria-current="true"] { color: var(--ink); border-bottom-color: var(--ink); }
.filters small { font-size: var(--t-sm); margin-left: 4px; }

.empty { padding: 64px 0; font-size: var(--t-md); color: var(--mute); }

/* ---------- ACASĂ: despre ---------- */
.about { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.about__media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.about__text h2 { font-family: var(--serif); font-size: var(--t-3xl); font-weight: 400; line-height: 1.12; letter-spacing: .01em; max-width: 18ch; }
.about__text p { margin-top: 20px; font-size: var(--t-md); line-height: 1.7; color: #2b2b29; max-width: 56ch; }
.about__facts { margin: 32px 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; border-top: 1px solid var(--line); padding-top: 24px; }
.about__facts strong { display: block; font-family: var(--serif); font-size: var(--t-xl); font-weight: 400; line-height: 1.15; }
.about__facts span { display: block; margin-top: 6px; font-size: var(--t-sm); color: var(--mute); }

/* ---------- ACASĂ: bandă de contact ---------- */
.reach { display: grid; grid-template-columns: 1fr 1fr; gap: 32px 64px; align-items: end; }
.reach h2 { font-family: var(--serif); font-size: var(--t-3xl); font-weight: 400; line-height: 1.12; letter-spacing: .01em; max-width: 20ch; }
.reach__lines { display: grid; gap: 10px; justify-items: start; min-width: 0; }
.reach__big { font-family: var(--serif); font-size: var(--t-xl); font-weight: 400; line-height: 1.25; text-decoration: none; border-bottom: 1px solid var(--line); }
.reach__actions { margin-top: 14px; }
.reach__big:hover { border-bottom-color: currentColor; }

/* ---------- FIȘA MODELULUI ---------- */
.profile { display: grid; grid-template-columns: minmax(300px, 4fr) 8fr; gap: clamp(28px, 5vw, 80px); align-items: start; padding: clamp(28px, 4vw, 48px) 0 clamp(56px, 8vw, 112px); }
.profile__info { position: sticky; top: calc(var(--header-h) + 28px); }
.profile__back { display: inline-block; font-size: var(--t-base); color: var(--mute); text-decoration: none; margin-bottom: 28px; }
.profile__back:hover { color: var(--ink); }
.profile__cat { font-size: var(--t-base); color: var(--mute); }
.profile__name { margin-top: 6px; font-family: var(--serif); font-size: var(--t-title); font-weight: 400; line-height: 1.02; letter-spacing: .01em; }
.stats { margin: 28px 0 0; display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); }
.stats div { padding: 14px 0; border-bottom: 1px solid var(--line); }
.stats div:nth-child(odd) { padding-right: 16px; }
.stats dt { font-size: var(--t-sm); color: var(--mute); }
.stats dd { margin: 2px 0 0; font-size: var(--t-lg); font-weight: 500; }
.profile__desc { margin-top: 24px; font-size: var(--t-base); color: #2b2b29; line-height: 1.7; }
.profile__actions { margin-top: 28px; display: grid; gap: 10px; }
.profile__note { margin-top: 14px; font-size: var(--t-sm); color: var(--mute); }
.gallery { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(8px, 1vw, 14px); }
.gallery figure { margin: 0; background: var(--stone); }
.gallery figure:first-child { grid-column: 1 / -1; }
.gallery img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.gallery figure:first-child img { aspect-ratio: 4 / 5; }
.more { border-top: 1px solid var(--line); }

/* ---------- CONTACT ---------- */
.contact { display: grid; grid-template-columns: 6fr 5fr; gap: clamp(32px, 6vw, 96px); padding-bottom: clamp(56px, 8vw, 112px); }
.contact__list { margin: 0; border-top: 1px solid var(--line); }
.contact__row { display: grid; grid-template-columns: 160px 1fr; gap: 8px 24px; padding: 20px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.contact__row dt { font-size: var(--t-base); color: var(--mute); }
.contact__row dd { margin: 0; font-size: var(--t-lg); font-weight: 500; }
.contact__row dd a { text-decoration: none; border-bottom: 1px solid var(--line); }
.contact__row dd a:hover { border-bottom-color: currentColor; }
.contact__row--big dd { font-family: var(--serif); font-weight: 400; font-size: var(--t-xl); line-height: 1.25; }
.contact__actions { margin-top: 32px; }
.contact__aside { display: grid; gap: 14px; align-content: start; }
.contact__map { width: 100%; aspect-ratio: 4 / 3; border: 0; background: var(--stone); }
.contact__aside img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.contact__hint { font-size: var(--t-base); color: var(--mute); }

/* ---------- ÎNSCRIE-TE ---------- */
.apply { display: grid; grid-template-columns: 4fr 7fr; gap: clamp(32px, 6vw, 96px); align-items: start; padding-bottom: clamp(56px, 8vw, 112px); }
.apply__aside { position: sticky; top: calc(var(--header-h) + 28px); }
.apply__aside img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; margin-bottom: 28px; }
.steps { margin: 0; padding: 0; list-style: none; counter-reset: step; display: grid; gap: 18px; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 40px 1fr; gap: 0 12px; }
.steps li::before { content: counter(step); font-family: var(--serif); font-size: var(--t-xl); font-weight: 400; line-height: 1.1; }
.steps strong { display: block; font-size: var(--t-md); font-weight: 600; }
.steps span { display: block; margin-top: 2px; font-size: var(--t-base); color: var(--mute); }
.apply__safety { margin-top: 24px; padding: 18px 20px; background: var(--stone); font-size: var(--t-base); line-height: 1.6; }

.form-block { padding: 28px 0; border-top: 1px solid var(--line); }
.form-block:first-of-type { border-top: 0; padding-top: 0; }
.form-block h2 { font-family: var(--serif); font-size: var(--t-lg); font-weight: 400; line-height: 1.25; }
.form-block__hint { margin-top: 6px; font-size: var(--t-base); color: var(--mute); }
.fields { margin-top: 20px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 20px; }
.fields--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.field { display: grid; gap: 7px; }
.field--full { grid-column: 1 / -1; }
.field label, .field .field__label { font-size: var(--t-base); font-weight: 500; }
.req { color: #c8281e; font-weight: 700; }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field input[type="date"], .field input[type="number"], .field textarea {
  width: 100%; min-height: 52px; padding: 12px 14px;
  border: 1px solid #98948c; background: #fcfbf9; font-size: var(--t-md);
  border-radius: 0; transition: border-color .2s ease, background-color .2s ease;
}
.field textarea { min-height: 120px; resize: vertical; line-height: 1.5; }
.field input:hover, .field textarea:hover { border-color: #5b5a56; background: var(--white); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--sea); box-shadow: 0 0 0 1px var(--sea); }
.choice { display: flex; gap: 10px; flex-wrap: wrap; }
.choice label { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.choice span { display: inline-flex; align-items: center; min-height: 48px; padding: 0 22px; border: 1px solid #98948c; background: #fcfbf9; font-size: var(--t-base); font-weight: 500; }
.choice input:checked + span { background: var(--ink); color: var(--white); border-color: var(--ink); }
.choice input:focus-visible + span { outline: 2px solid var(--sea); outline-offset: 2px; }

.upload { margin-top: 20px; border: 1px dashed #8f8b83; padding: 28px; text-align: center; background: #fbfaf8; }
.upload input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.upload__btn { cursor: pointer; }
.upload__info { margin-top: 12px; font-size: var(--t-base); color: var(--mute); }
.upload__list { margin: 16px 0 0; padding: 0; list-style: none; display: grid; gap: 6px; text-align: left; }
.upload__list li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 12px; background: var(--white); border: 1px solid var(--line); font-size: var(--t-base); }
.upload__list .is-bad { color: #9b2c1f; }

.consent { display: flex; gap: 12px; align-items: flex-start; font-size: var(--t-base); line-height: 1.55; margin-top: 18px; }
.consent input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--ink); flex: none; }
.notice { padding: 16px 18px; font-size: var(--t-base); line-height: 1.6; margin-top: 18px; }
.notice--ok { background: #e7efe9; border-left: 3px solid #2f6b45; }
.notice--error { background: #f6e8e6; border-left: 3px solid #9b2c1f; }
.notice ul { margin: 8px 0 0; padding-left: 20px; }
.form-submit { margin-top: 24px; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.form-submit .btn { min-width: 240px; }
.form-submit small { font-size: var(--t-sm); color: var(--mute); }

/* ---------- pagina de text (confidențialitate) ---------- */
.prose { max-width: 720px; padding-bottom: clamp(56px, 8vw, 112px); }
.prose h2 { font-family: var(--serif); font-size: var(--t-lg); font-weight: 400; margin: 36px 0 10px; }
.prose p, .prose li { font-size: var(--t-md); line-height: 1.7; color: #2b2b29; }
.prose p + p { margin-top: 12px; }
.prose ul { padding-left: 22px; }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: #d9d7d2; }
.site-footer__inner { max-width: var(--wrap); margin: 0 auto; padding: clamp(48px, 6vw, 80px) var(--gutter) 40px; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 36px; }
.site-footer__brand img { height: 34px; width: auto; filter: brightness(0) invert(1); }
.site-footer__brand p { margin-top: 18px; font-size: var(--t-base); line-height: 1.6; max-width: 34ch; }
.site-footer__col { display: grid; gap: 10px; align-content: start; font-size: var(--t-base); }
.site-footer__col h2 { font-family: var(--sans); font-size: var(--t-base); font-weight: 600; color: var(--white); margin-bottom: 4px; }
.site-footer__col a { text-decoration: none; }
.site-footer__col a:hover { color: var(--white); text-decoration: underline; }
.site-footer__legal { max-width: var(--wrap); margin: 0 auto; padding: 20px var(--gutter) 28px; border-top: 1px solid #2b2b2b; font-size: var(--t-sm); color: #a9a7a2; }

/* ---------- ecrane medii ---------- */
@media (max-width: 1100px) {
  .board { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .site-footer__inner { grid-template-columns: 1fr 1fr; }
}

/* ---------- telefon / tabletă ---------- */
@media (max-width: 860px) {
  :root { --header-h: 68px; }
  .site-logo img { height: 30px; }
  .menu-toggle { display: inline-grid; place-content: center; gap: 6px; width: 46px; height: 46px; border: 1px solid currentColor; background: transparent; cursor: pointer; }
  .menu-toggle__bar { display: block; width: 20px; height: 1.5px; background: currentColor; transition: transform .2s ease; }
  .menu-toggle[aria-expanded="true"] .menu-toggle__bar:first-child { transform: translateY(3.75px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] .menu-toggle__bar:nth-child(2) { transform: translateY(-3.75px) rotate(-45deg); }
  .site-nav {
    position: fixed; inset: var(--header-total, var(--header-h)) 0 0 0; z-index: 39;
    flex-direction: column; align-items: stretch; gap: 0; padding: 12px var(--gutter) 32px;
    background: var(--white); color: var(--ink);
    transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .2s ease, transform .2s ease, visibility .2s;
  }
  .site-nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .site-nav a { font-family: var(--serif); font-size: var(--t-xl); font-weight: 400; padding: 14px 0; border-bottom: 1px solid var(--line); }
  .site-nav a[aria-current="page"] { border-bottom-color: var(--line); color: var(--sea); }
  .site-nav__lang { gap: 22px; padding: 18px 0 0; }
  .site-nav .site-nav__lang a { font-family: var(--sans); font-size: var(--t-md); padding: 6px 0; border-bottom: 0; }
  .site-nav .site-nav__whatsapp { margin-top: 24px; font-family: var(--sans); font-size: var(--t-md); text-align: center; padding: 14px; border: 1px solid var(--ink); }
  .site-header--over.menu-open { background: var(--white); color: var(--ink); }
  .site-header--over.menu-open .site-logo img { filter: none; }

  .board { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 10px; }
  .mcard__name { font-size: var(--t-lg); margin-top: 10px; }
  .mcard__stats { font-size: var(--t-sm); gap: 0 12px; }
  .about, .reach, .profile, .contact, .apply { grid-template-columns: 1fr; }
  .profile__info, .apply__aside { position: static; }
  .apply__aside img { aspect-ratio: 16 / 10; }
  .about__facts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hero__lead { font-size: var(--t-md); }
  .hero .btn-row { width: 100%; }
  .hero .btn-row .btn { flex: 1 1 150px; }
}
@media (max-width: 600px) {
  .page-top h1 { overflow-wrap: anywhere; }
  .reach__big, .contact__row--big dd { font-size: var(--t-xl); overflow-wrap: anywhere; }
  .stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .stats div, .stats div:nth-child(odd) { padding: 10px 10px 10px 0; }
  .stats dd { font-size: var(--t-md); }
  .profile__name { font-size: 38px; }
  .profile__back { margin-bottom: 16px; }
  .fields, .fields--3 { grid-template-columns: 1fr 1fr; }
  .fields .field--wide { grid-column: 1 / -1; }
  .contact__row { grid-template-columns: 1fr; gap: 2px; padding: 16px 0; }
  .site-footer__inner { grid-template-columns: 1fr; gap: 28px; }
  .gallery { grid-template-columns: 1fr; }
  .gallery figure:first-child img { aspect-ratio: 3 / 4; }
  .form-submit .btn { width: 100%; }
  .about__facts strong { font-size: var(--t-xl); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

.upload__list li { align-items: center; }
.upload__list li > span:first-child { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.upload__list li > span:nth-child(2) { flex: none; color: var(--mute); }
.upload__rm { flex: none; width: 30px; height: 30px; display: inline-grid; place-items: center; border: 1px solid var(--line); background: var(--white); color: inherit; font-size: 20px; line-height: 1; cursor: pointer; }
.upload__rm:hover, .upload__rm:focus-visible { border-color: #9b2c1f; color: #9b2c1f; }
