/* Magazin Fermierul · magazinfermierul.ro
   Mobile-first. One brand look (pine green, white, Evialis navy), no dark mode by design. */

@font-face { font-family: "Archivo"; font-style: normal; font-weight: 400 900; font-stretch: 62% 125%; font-display: swap;
  src: url("/fonts/archivo-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Archivo"; font-style: normal; font-weight: 400 900; font-stretch: 62% 125%; font-display: swap;
  src: url("/fonts/archivo-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Heebo"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url("/fonts/heebo-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Heebo"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url("/fonts/heebo-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --pine: #0F2A1D; --pine-2: #183A29; --pine-deep: #0A1F15; --pine-line: #234635; --pine-line-2: #2F5541;
  --on-pine: #E9EEE6; --on-pine-soft: #C3D0C6; --on-pine-muted: #A9BBAE;
  --paper: #FFFFFF; --field: #F1F2EB; --mint: #EEF3EA; --ink: #13201A; --muted: #57655C; --line: #DCE0D4; --line-soft: #E6E9E0;
  --orange: #FF6700; --orange-on-light: #B44A00; --orange-on-dark: #FF8A3D;
  --navy: #0E3E71; --navy-2: #164C86; --cyan: #009EE3; --cyan-light: #4CC3F5; --on-navy: #C5D6EA;
  --ruris: #F47D35; --ruris-light: #F79A5E;
  --a11y: #1B5BB8;
  --display: "Archivo", "Arial Narrow", Arial, sans-serif;
  --body: "Heebo", "Helvetica Neue", Arial, sans-serif;
  --gutter: 20px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 16px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--pine); color: var(--ink); font-family: var(--body); font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, textarea { font: inherit; }
h1, h2, h3 { margin: 0; font-family: var(--display); font-stretch: 75%; font-weight: 800; line-height: 1; text-wrap: balance; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--orange-on-dark); outline-offset: 3px; border-radius: 4px; }
.on-light :focus-visible { outline-color: var(--orange-on-light); }

.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--paper); color: var(--pine); padding: 10px 14px; border-radius: 8px; font-weight: 700; }
.skip:focus { top: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.container { width: 100%; max-width: 1240px; margin-inline: auto; padding-inline: var(--gutter); }
.sec { padding-block: 44px; }
.eyebrow { font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.on-light .eyebrow { color: var(--orange-on-light); }
.on-dark .eyebrow { color: var(--orange-on-dark); }
.h2 { font-size: 34px; color: var(--pine); }
.h2--long { font-size: 26px; line-height: 1.08; text-wrap: pretty; }
.on-dark .h2 { color: #fff; }
.stack { display: flex; flex-direction: column; gap: 10px; }

.icon { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- header ---------- */
.site-header { background: var(--pine); border-bottom: 1px solid var(--pine-line); color: var(--on-pine); }
.site-header .container { min-height: 60px; display: flex; align-items: center; gap: 10px; padding-block: 10px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: #fff; min-width: 0; }
.brand__mark { width: 40px; height: 40px; border-radius: 50%; background: #fff; overflow: hidden; flex: none; display: grid; place-items: center; }
.brand__mark img { height: 32px; width: auto; max-width: none; }
.brand__name { font-family: var(--display); font-stretch: 85%; font-weight: 700; font-size: 17px; white-space: nowrap; }
.header-nav { display: none; }
.header-icon { margin-left: auto; width: 44px; height: 44px; border-radius: 10px; border: 1px solid var(--pine-line-2); display: grid; place-items: center; color: #fff; }

.lang { display: flex; gap: 2px; font-size: 11px; font-weight: 700; letter-spacing: .06em; flex: none; }
.lang a { min-height: 32px; padding: 0 7px; border-radius: 6px; color: var(--on-pine-muted); text-decoration: none; display: inline-flex; align-items: center; }
.lang a:hover { color: #fff; }
.lang a[aria-current="true"] { background: var(--on-pine); color: var(--pine); }
@media (max-width: 379px) { .brand__name { font-size: 15px; } .site-header .container { gap: 8px; } }

/* ---------- hero ---------- */
.hero { background: var(--pine); color: var(--on-pine); }
.hero__logo { background: var(--paper); padding: 26px var(--gutter) 22px; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.hero__wrap { padding-inline: 0; }
.hero__logo img { width: auto; height: 210px; }
.hero__text { padding-inline: var(--gutter); }
.status { display: inline-flex; align-items: center; gap: 8px; background: var(--mint); color: var(--ink); border-radius: 999px; padding: 7px 14px; font-size: 13px; font-weight: 600; min-height: 34px; }
.status__dot { width: 9px; height: 9px; border-radius: 50%; background: #D9822B; flex: none; }
.status.is-open .status__dot { background: #2E9E5B; }
.hero__text { padding-block: 26px 36px; display: flex; flex-direction: column; gap: 14px; }
.hero h1 { font-size: 40px; line-height: .98; letter-spacing: -.01em; color: #fff; }
.hero__sub { color: var(--on-pine-soft); font-size: 16px; }
.hero__sub a { color: var(--orange-on-dark); font-weight: 700; text-decoration: none; white-space: nowrap; }
.hero__sub a:hover { text-decoration: underline; }
.rep-label { margin-top: 10px; font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--on-pine-muted); }
.plaques { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.plaque { height: 96px; border-radius: 14px; display: grid; place-items: center; padding: 12px; }
.plaque a { display: grid; place-items: center; width: 100%; height: 100%; border-radius: 10px; }
.plaque--evialis { background: var(--navy); }
.plaque--evialis img { width: 138px; }
.plaque--ruris { background: var(--paper); }
.plaque--ruris img { width: 124px; }

.btn-listen { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1.5px solid var(--pine-line-2); background: transparent; color: #fff; font-weight: 700; font-size: 14px; cursor: pointer; }
.btn-listen:hover { border-color: var(--on-pine-muted); }
.btn-listen[aria-pressed="true"] { background: #fff; color: var(--pine); border-color: #fff; }
.on-light .btn-listen { border-color: var(--line); color: var(--pine); }
.on-light .btn-listen[aria-pressed="true"] { background: var(--pine); color: #fff; border-color: var(--pine); }
.listen-msg { font-size: 13px; color: var(--on-pine-muted); }

/* ---------- categories ---------- */
.on-light { background: var(--paper); color: var(--ink); }
.categories .lead { color: var(--muted); font-size: 16px; }
.cat-grid { margin: 16px 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 12px; }
.cat { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.cat__media { height: 104px; border-radius: 12px; overflow: hidden; background: var(--field); }
.cat__media img { width: 100%; height: 100%; object-fit: cover; }
.cat__media--evialis { background: var(--navy); display: grid; place-items: center; }
.cat__media--evialis img { width: 118px; height: auto; }
.cat__media--ruris { background: var(--paper); border: 1px solid var(--line); display: grid; place-items: center; }
.cat__media--ruris img { width: 112px; height: auto; }
.cat__name { font-family: var(--body); font-stretch: normal; font-weight: 700; font-size: 15px; line-height: 1.25; color: var(--pine); }
.cat__desc { margin-top: 2px; font-size: 13px; line-height: 1.4; color: var(--muted); }

/* ---------- locations ---------- */
.on-dark { background: var(--pine); color: var(--on-pine); }
.loc-list { margin: 4px 0 0; padding: 0; list-style: none; display: grid; gap: 14px; }
.loc { background: var(--paper); color: var(--ink); border-radius: 16px; overflow: hidden; display: flex; flex-direction: column; }
.loc h3 { padding: 16px 18px 12px; font-stretch: 80%; font-weight: 700; font-size: 24px; line-height: 1.1; color: var(--pine); }
.loc__photo { margin: 0 18px; height: 160px; border-radius: 12px; overflow: hidden; }
.loc__photo img { width: 100%; height: 100%; object-fit: cover; }
.loc__body { padding: 4px 18px 18px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.loc__addr { display: flex; gap: 8px; align-items: flex-start; font-weight: 600; color: var(--pine); }
.loc__addr .icon { color: var(--orange-on-light); margin-top: 2px; width: 18px; height: 18px; }
.loc__phones { display: flex; flex-direction: column; gap: 6px; font-variant-numeric: tabular-nums; }
.loc__phones a { color: var(--pine); font-weight: 700; text-decoration: none; }
.loc__phones a:hover { text-decoration: underline; }
.loc__phones span { font-weight: 400; color: var(--muted); font-size: 13px; }
.hours { margin: 0; display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; padding-top: 12px; border-top: 1px solid var(--line-soft); font-size: 14px; font-variant-numeric: tabular-nums; }
.hours dt { color: var(--muted); }
.hours dd { margin: 0; font-weight: 700; text-align: right; }
.hours dd.closed { font-weight: 400; color: var(--muted); }
.loc__actions { margin-top: auto; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.btn { min-height: 48px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; gap: 7px; padding: 0 14px; font-weight: 700; font-size: 15px; text-decoration: none; border: 0; cursor: pointer; }
.btn--pine { background: var(--pine); color: #fff; }
.btn--pine:hover { background: var(--pine-2); }
.btn--call { background: var(--orange); color: var(--pine); font-weight: 800; }
.btn--call:hover { background: #ff7a1f; }
.btn .icon { width: 17px; height: 17px; }

/* ---------- brand sections (Evialis, Ruris) ---------- */
.partner__wrap { padding-inline: 0; }
.partner__media img { width: 100%; height: 240px; object-fit: cover; }
.partner__body { padding-inline: var(--gutter); }
.partner__body { padding-block: 24px 40px; display: flex; flex-direction: column; gap: 14px; }
.partner__rep { display: flex; align-items: center; gap: 14px; font-size: 13px; font-weight: 600; line-height: 1.35; }
.partner__rep img { flex: none; }
.partner .h2 { font-size: 30px; line-height: 1.02; color: #fff; margin-top: 6px; }
.partner .h2--long { font-size: 26px; line-height: 1.08; }
.benefits { margin: 8px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.benefit { display: flex; gap: 14px; align-items: flex-start; border-radius: 14px; padding: 16px; }
.benefit__icon { width: 40px; height: 40px; flex: none; border-radius: 50%; border: 1.5px solid; display: grid; place-items: center; }
.benefit h3 { font-family: var(--body); font-stretch: normal; font-weight: 700; font-size: 16px; line-height: 1.3; color: #fff; }
.benefit p { font-size: 14px; }

.evialis { background: var(--navy); color: var(--on-navy); }
.evialis .partner__rep { color: var(--on-navy); }
.evialis .partner__rep img { width: 104px; }
.evialis .benefit { background: var(--navy-2); }
.evialis .benefit__icon { border-color: var(--cyan); color: var(--cyan-light); }
.evialis .benefit p, .evialis .partner__text { color: var(--on-navy); }

.ruris { background: var(--pine); color: var(--on-pine-soft); }
.ruris .partner__rep { color: var(--on-pine-muted); }
.ruris .partner__rep .logo-chip { background: #fff; border-radius: 10px; padding: 8px 12px; flex: none; }
.ruris .partner__rep .logo-chip img { width: 84px; }
.ruris .benefit { background: var(--pine-2); }
.ruris .benefit__icon { border-color: var(--ruris); color: var(--ruris-light); }
.ruris .benefit p, .ruris .partner__text { color: #B9C8BD; }

/* ---------- why ---------- */
.why > .container { padding-inline: 0; }
.why__body { padding-inline: var(--gutter); }
.collage { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px; }
.collage figure { margin: 0; position: relative; height: 220px; overflow: hidden; }
.collage img { width: 100%; height: 100%; object-fit: cover; }
.collage figcaption { position: absolute; left: 10px; bottom: 10px; background: #fff; color: var(--pine); font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 4px 8px; border-radius: 6px; }
.why__body { padding-block: 32px 44px; }
.why-list { margin: 16px 0 0; padding: 0; list-style: none; display: grid; gap: 18px; }
.why-item { display: flex; gap: 14px; align-items: flex-start; }
.why-item__icon { width: 40px; height: 40px; flex: none; border-radius: 10px; background: var(--pine); color: #fff; display: grid; place-items: center; }
.why-item h3 { font-family: var(--body); font-stretch: normal; font-weight: 700; font-size: 16px; line-height: 1.3; color: var(--pine); }
.why-item p { font-size: 14px; color: var(--muted); }

/* ---------- contact + footer ---------- */
.contact .lead { color: var(--on-pine-soft); }
.contact .email { color: #fff; font-weight: 700; text-underline-offset: 3px; overflow-wrap: anywhere; }
.form { margin-top: 14px; background: var(--paper); color: var(--ink); border-radius: 16px; padding: 18px; display: flex; flex-direction: column; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 14px; font-weight: 600; color: var(--pine); }
.field input, .field textarea { width: 100%; min-height: 52px; border: 1.5px solid #CBD2C5; border-radius: 12px; background: #F7F8F3; padding: 12px 14px; font-size: 16px; color: var(--ink); }
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--pine); box-shadow: 0 0 0 3px rgba(15,42,29,.18); }
.form .btn { width: 100%; min-height: 54px; font-size: 16px; }
.form__status { font-size: 14px; font-weight: 600; }
.form__status.is-error { color: #A12D16; }
.form__status.is-ok { color: #1D6B3E; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.footer { margin-top: 30px; padding-top: 28px; border-top: 1px solid var(--pine-line); display: flex; flex-direction: column; gap: 18px; font-size: 14px; color: var(--on-pine-muted); }
.footer__brand { display: flex; align-items: center; gap: 12px; }
.footer__brand .brand__mark { width: 52px; height: 52px; }
.footer__brand .brand__mark img { height: 42px; width: auto; }
.footer__brand span { font-family: var(--display); font-stretch: 85%; font-weight: 700; font-size: 20px; color: #fff; }
.social { display: flex; gap: 10px; margin: 0; padding: 0; list-style: none; }
.social a { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--pine-line-2); display: grid; place-items: center; color: #fff; }
.social a:hover { border-color: var(--on-pine-muted); }
.funds-link { align-self: flex-start; display: inline-flex; align-items: center; gap: 12px; background: #fff; color: var(--pine); border-radius: 12px; padding: 8px 14px 8px 10px; text-decoration: none; font-weight: 700; }
.funds-link img { height: 34px; width: auto; }
.funds-link:hover { box-shadow: 0 0 0 3px var(--pine-line-2); }
.company { line-height: 1.6; }
.company strong { color: #fff; }
.legal { display: flex; flex-direction: column; gap: 6px; margin: 0; padding: 0; list-style: none; }
.legal a { color: var(--on-pine); font-weight: 600; text-decoration: none; }
.legal a:hover { text-decoration: underline; }
.copyright { font-size: 12px; color: #8EA394; padding-bottom: 72px; }

.a11y-btn { position: fixed; right: 16px; bottom: 18px; z-index: 50; width: 54px; height: 54px; border-radius: 50%; border: 2px solid #fff; background: var(--a11y); color: #fff; display: grid; place-items: center; box-shadow: 0 8px 22px rgba(0,0,0,.35); cursor: pointer; padding: 0; }
.a11y-btn .icon { width: 28px; height: 28px; }
.a11y-btn:hover { background: #164C9C; }

/* ---------- inner pages (policies) ---------- */
.page { background: var(--paper); color: var(--ink); }
.page .container { max-width: 820px; }
.prose { display: flex; flex-direction: column; gap: 14px; padding-block: 40px 64px; }
.prose h1 { font-size: 40px; color: var(--pine); }
.prose h2 { font-size: 26px; color: var(--pine); margin-top: 18px; }
.prose p, .prose li { color: #2F3B33; }
.prose ul { margin: 0; padding-left: 20px; display: grid; gap: 6px; }
.prose a { color: var(--orange-on-light); font-weight: 600; }
.page-foot { background: var(--pine); color: var(--on-pine-muted); padding-block: 28px; font-size: 14px; }
.page-foot a { color: #fff; font-weight: 700; }

/* ---------- funding page ---------- */
.eu { background: var(--paper); color: #1F2A44; }
.eu-logos { background: #fff; border-bottom: 1px solid #E3E8F0; }
.eu-logos .container { padding-block: 10px; }
.eu-strip { --lh: clamp(22px, calc((100vw - 40px) / 12), 76px); display: flex; flex-wrap: nowrap; justify-content: center; align-items: center; gap: calc(var(--lh) * .75); }
.eu-strip img { height: var(--lh); width: auto; flex: none; }
.eu-strip--doc { --lh: clamp(18px, calc((100vw - 110px) / 12), 48px); padding-block: 4px 8px; }
.eu .period { color: #3A4660; font-size: 15px; }
.eu-main { padding-block: 28px 8px; display: flex; flex-direction: column; gap: 34px; }
.eu h1 { font-family: var(--display); font-stretch: 80%; font-weight: 800; font-size: 32px; line-height: 1.05; color: #22306B; }
.eu .smis { margin-top: 8px; font-weight: 700; color: #22306B; font-size: 17px; }
.eu h2 { font-family: var(--display); font-stretch: 85%; font-weight: 800; font-size: 26px; color: #22306B; }
.eu .text { display: flex; flex-direction: column; gap: 12px; font-size: 16px; line-height: 1.65; color: #2B3445; }
.eu .text h3 { font-family: var(--body); font-stretch: normal; font-weight: 700; font-size: 18px; color: #22306B; margin-top: 6px; line-height: 1.3; }
.eu .btn-listen { border-color: #C9D3E4; color: #22306B; }
.eu .btn-listen[aria-pressed="true"] { background: #22306B; color: #fff; border-color: #22306B; }
.gallery { margin: 14px 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: 1fr; gap: 12px; }
.gallery a { display: block; border-radius: 12px; overflow: hidden; }
.gallery img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: transform .3s ease; }
.gallery a:hover img { transform: scale(1.02); }
@media (prefers-reduced-motion: reduce) { .gallery img { transition: none; } }
.press-list { margin: 14px 0 0; padding: 0; list-style: none; display: grid; gap: 14px; }
.press { border: 1px solid #DCE3EE; border-radius: 14px; overflow: hidden; background: #F4F7FB; }
.press__head { padding: 16px 18px 0; display: flex; flex-direction: column; gap: 2px; }
.press__head strong { color: #22306B; line-height: 1.3; }
.press__head span { font-size: 13px; color: #5A6478; }
.press__actions { padding: 14px 18px 0; display: flex; flex-wrap: wrap; gap: 10px; }
.btn--eu { background: #40D2E0; color: #12305C; border-radius: 999px; min-height: 46px; padding: 0 20px; }
.btn--eu:hover { background: #2FC4D3; }
.press__more { margin-top: 12px; border-top: 1px solid #DCE3EE; background: #fff; }
.press__more summary { list-style: none; cursor: pointer; min-height: 48px; padding: 0 18px; display: flex; align-items: center; gap: 10px; font-weight: 700; color: #22306B; }
.press__more summary::-webkit-details-marker { display: none; }
.press__more summary .chev { margin-left: auto; transition: transform .2s ease; }
.press__more[open] summary .chev { transform: rotate(180deg); }
.press__doc { margin: 14px 18px 18px; border: 1px solid #E3E8F0; border-radius: 10px; background: #fff; padding: 18px; display: flex; flex-direction: column; gap: 12px; font-size: 15px; line-height: 1.65; color: #2B3445; }
.press__doc h3 { font-family: var(--body); font-stretch: normal; font-size: 18px; line-height: 1.35; text-align: center; color: #1F2A44; font-weight: 700; }
.press__doc .doc-date { text-align: center; color: #5A6478; }
.press__doc .doc-slogan { text-align: center; font-weight: 700; font-style: italic; color: #1F2A44; }
.eu-info { padding-top: 22px; border-top: 1px solid #DCE3EE; text-align: center; font-size: 15px; color: #2B3445; }
.eu-info a { color: #22306B; font-weight: 700; }
.eu-foot { padding-block: 26px 40px; display: flex; flex-direction: column; align-items: center; gap: 14px; border-top: 1px solid #DCE3EE; margin-top: 26px; text-align: center; }
.eu-foot .slogan { font-family: var(--body); font-style: italic; font-weight: 700; font-size: 22px; color: #1F2A44; }
.counties { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); width: 100%; max-width: 420px; }
.counties li { color: #fff; font-weight: 700; font-size: 18px; line-height: 1; padding: 7px 0; text-align: center; letter-spacing: .02em; }
.prog-links { font-weight: 700; color: #22306B; font-size: 16px; }
.prog-links a { color: #22306B; }
.eu-back { padding-block: 16px; background: var(--pine); }
.eu-back .container { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.eu-back a { color: #fff; font-weight: 700; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; }
.eu-back .lang a { min-height: 32px; font-weight: 700; color: var(--on-pine-muted); }
.eu-back .lang a[aria-current="true"] { color: var(--pine); }
.translation-note { font-size: 14px; color: #5A6478; background: #F4F7FB; border-radius: 8px; padding: 8px 12px; }
.eu-back a:hover { text-decoration: underline; }

/* ---------- tablet ---------- */
@media (min-width: 700px) {
  :root { --gutter: 24px; }
  .cat-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 18px; }
  .cat__media { height: 150px; }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .loc__photo { height: 200px; }
}

/* ---------- desktop ---------- */
@media (min-width: 1000px) {
  .sec { padding-block: 96px; }
  .eyebrow { font-size: 12px; letter-spacing: .16em; }
  .h2 { font-size: clamp(34px, 3.6vw, 52px); }
  .h2--long { font-size: clamp(28px, 2.8vw, 40px); line-height: 1.06; max-width: 920px; }

  .site-header .container { min-height: 80px; gap: 32px; }
  .brand__mark { width: 52px; height: 52px; }
  .brand__mark img { height: 42px; }
  .brand__name { font-size: 22px; }
  .header-nav { display: block; margin-left: auto; }
  .header-nav ul { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 6px 26px; font-size: 15px; font-weight: 600; }
  .header-nav a { color: var(--on-pine); text-decoration: none; padding-block: 6px; }
  .header-nav a:hover { color: #fff; text-decoration: underline; text-underline-offset: 6px; }
  .header-nav .nav-funds { color: #fff; border: 1px solid var(--pine-line-2); border-radius: 999px; padding: 6px 14px; }
  .header-icon { display: none; }
  .site-header .lang { font-size: 12px; }

  .hero__wrap { display: flex; align-items: center; gap: 72px; padding-block: 64px 80px; padding-inline: var(--gutter); }
  .hero__logo { flex: 0 1 440px; border-radius: 24px; padding: 40px 32px 32px; gap: 20px; }
  .hero__logo img { height: 320px; }
  .status { font-size: 14px; padding: 8px 16px; }
  .hero__text { flex: 1 1 460px; padding: 0; gap: 20px; }
  .hero__text .btn-listen { margin-top: 4px; }
  .hero h1 { font-size: clamp(44px, 5.2vw, 76px); line-height: .96; }
  .hero__sub { font-size: 20px; max-width: 36em; }
  .rep-label { margin-top: 18px; font-size: 12px; }
  .plaques { max-width: 560px; gap: 14px; }
  .plaque { height: 120px; }
  .plaque--evialis img { width: 176px; }
  .plaque--ruris img { width: 150px; }

  .categories .lead { font-size: 18px; max-width: 40em; }
  .cat-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 36px 24px; margin-top: 32px; }
  .cat__media { height: 180px; border-radius: 14px; }
  .cat__media--evialis img { width: 170px; }
  .cat__media--ruris img { width: 150px; }
  .cat__name { font-family: var(--display); font-stretch: 85%; font-size: 21px; line-height: 1.2; }
  .cat__desc { font-size: 15px; margin-top: 4px; }

  .loc-list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 14px; }
  .loc h3 { padding: 22px 24px 14px; font-size: 28px; }
  .loc__photo { margin: 0 24px; }
  .loc__body { padding: 8px 24px 24px; gap: 14px; }
  .loc__phones a { font-size: 18px; }
  .hours { font-size: 15px; }

  .partner__wrap { display: flex; align-items: center; gap: 64px; padding-block: 96px; padding-inline: var(--gutter); }
  .partner__wrap--reverse { flex-direction: row-reverse; }
  .partner__media { flex: 1 1 460px; min-width: 0; border-radius: 20px; overflow: hidden; }
  .partner__media img { height: auto; }
  .ruris .partner__media img { height: 560px; }
  .partner__body { flex: 1 1 460px; min-width: 0; padding: 0; gap: 16px; }
  .ruris .partner__media { flex-basis: 420px; }
  .partner__rep { font-size: 15px; }
  .evialis .partner__rep img { width: 130px; }
  .ruris .partner__rep .logo-chip img { width: 104px; }
  .partner .h2 { font-size: clamp(32px, 3.4vw, 48px); line-height: 1; }
  .partner .h2--long { font-size: clamp(28px, 2.8vw, 40px); line-height: 1.04; }
  .partner__text { font-size: 17px; max-width: 38em; }
  .ruris .benefits { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .benefit { padding: 18px 20px; }
  .benefit p { font-size: 15px; }

  .why > .container { padding-inline: var(--gutter); }
  .why__body { padding-inline: 0; }
  .why .collage { gap: 12px; padding-top: 96px; }
  .why .collage figure { height: 360px; border-radius: 20px; }
  .collage figcaption { left: 18px; bottom: 18px; font-size: 12px; padding: 6px 11px; }
  .why__body { padding-block: 40px 96px; }
  .why-list { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; margin-top: 32px; }
  .why-item { flex-direction: column; gap: 12px; }
  .why-item__icon { width: 46px; height: 46px; border-radius: 12px; }
  .why-item h3 { font-size: 18px; }
  .why-item p { font-size: 15px; }

  .contact__wrap { display: flex; gap: 80px; align-items: flex-start; }
  .contact__intro { flex: 1 1 380px; }
  .contact .email { font-family: var(--display); font-stretch: 85%; font-size: 26px; text-underline-offset: 5px; }
  .contact .lead { font-size: 18px; }
  .form { flex: 1 1 440px; margin-top: 0; padding: 32px; border-radius: 20px; gap: 16px; }
  .form .row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .footer { margin-top: 64px; padding-top: 40px; display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; align-items: start; }
  .footer > .copyright { grid-column: 1 / -1; border-top: 1px solid #1C3828; padding-top: 18px; padding-bottom: 0; }
  .footer__col { display: flex; flex-direction: column; gap: 16px; }
  .a11y-btn { right: 24px; bottom: 24px; width: 58px; height: 58px; }

  .eu h1 { font-size: 44px; }
  .eu h2 { font-size: 32px; }
  .eu-main { padding-block: 44px 8px; gap: 48px; }
  .gallery { gap: 16px; }
}
