/*
 * Inventarul Ajutoarelor de Stat — tema MUD (se încarcă după egovdesign/css/main.css).
 * Machetele și filosofia vizuală: docs/design/mud/. Clasele proprii au prefixul ix-.
 */

@font-face { font-family: 'Source Serif 4'; font-weight: 400; font-display: swap; src: url('../fonts/source-serif-4/source-serif-4-regular.woff2') format('woff2'); }
@font-face { font-family: 'Source Serif 4'; font-weight: 600; font-display: swap; src: url('../fonts/source-serif-4/source-serif-4-600.woff2') format('woff2'); }
@font-face { font-family: 'JBM'; font-weight: 400; font-display: swap; src: url('../egovdesign/assets/fonts/JetBrainsMono-2.304/fonts/webfonts/JetBrainsMono-Regular.woff2') format('woff2'); }
@font-face { font-family: 'JBM'; font-weight: 500; font-display: swap; src: url('../egovdesign/assets/fonts/JetBrainsMono-2.304/fonts/webfonts/JetBrainsMono-Medium.woff2') format('woff2'); }

:root {
    /* culoarea de brand MUD (blue-sky) remapată pe roșul Consiliului Concurenței */
    --blue-sky-100: var(--red-50, #feefee);
    --blue-sky-150: var(--red-100, #fee4e2);
    --blue-sky-200: var(--red-200, #fecdc9);
    --blue-sky-300: var(--red-300, #fda19b);
    --blue-sky-400: var(--red-400, #f97066);
    --blue-sky-500: var(--red-500, #f04438);
    --blue-sky-600: var(--red-700, #b32318);
    --blue-sky-700: var(--red-800, #912018);
    --blue-sky-800: var(--red-900, #7a271a);
    --blue-sky-900: var(--red-900, #7a271a);

    --ix-bordo-900: #4A0E11;
    --ix-bordo-700: #7A1418;
    --ix-bordo: #B32318;
    --ix-bordo-200: #E9C5C1;
    --ix-bordo-050: #F7EBE9;
    --ix-ink: #1A1213;
    --ix-ink-70: #4A4042;
    --ix-ink-50: #766C6E;
    --ix-ink-40: #8A8083;
    --ix-paper: #FBF8F7;
    --ix-line: #E4DDDB;
    --ix-line-2: #EFEAE8;
    --ix-serif: 'Source Serif 4', Georgia, 'Times New Roman', serif;
    --ix-mono: 'JBM', ui-monospace, Consolas, monospace;
    --ix-sans: 'Onest', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

::selection { color: #fff; background: #912018; }

body.ix-body {
    margin: 0;
    background: #fff;
    font-family: var(--ix-sans);
    color: var(--ix-ink);
    font-size: 16px;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}
.ix-body *, .ix-body *::before, .ix-body *::after { box-sizing: border-box; }
.ix-body a { color: inherit; }
.ix-body img { max-width: 100%; }

.ix-wrap { max-width: 1440px; margin: 0 auto; padding: 0; }
.ix-mono { font-family: var(--ix-mono); text-transform: uppercase; letter-spacing: .08em; font-size: 11.5px; color: var(--ix-ink-40); }
.ix-ico { display: inline-flex; flex: none; width: 24px; height: 24px; color: currentColor; }
.ix-ico svg { width: 100%; height: 100%; display: block; }
.ix-ico svg path { fill: currentColor; }
.ix-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ix-body :focus-visible { outline: 3px solid var(--ix-bordo); outline-offset: 2px; border-radius: 6px; }

/* ---------------------------------------------------------------- pre-header (componenta MUD) */
.pre-header__logo img { max-height: 20px; }
.pre-header__logo a { font-size: 13px; }
.pre-header .language-switcher a { font-size: 13px; }
.pre-header .language-switcher a.active { color: var(--ix-bordo); box-shadow: inset 0 -2px 0 var(--ix-bordo); }

/* ---------------------------------------------------------------- header */
.ix-header { position: relative; z-index: 50; background: #fff; border-bottom: 1px solid #e6e6e6; }
.ix-header__row { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 76px; }
.ix-brand { display: flex; align-items: center; gap: 18px; min-width: 0; }
.ix-logo { display: flex; align-items: center; gap: 9px; color: var(--ix-bordo) !important; text-decoration: none !important; }
.ix-logo svg { width: 40px; height: 40px; flex: none; }
.ix-logo span { display: block; white-space: nowrap; }
.ix-logo b { display: block; font-weight: 700; font-size: 17px; line-height: 1; letter-spacing: .01em; }
.ix-logo small { display: block; font-size: 11.5px; line-height: 1.15; letter-spacing: .02em; margin-top: 3px; }
.ix-divider { width: 1px; height: 30px; background: #c9c2c0; flex: none; }
.ix-cc { display: flex; align-items: center; gap: 10px; text-decoration: none !important; color: #4d4d4d !important; white-space: nowrap; }
.ix-cc img { width: 36px; height: 36px; }
.ix-cc span { font-size: 21px; font-weight: 300; letter-spacing: -.01em; }

.ix-nav { display: flex; gap: 2px; margin-left: 14px; }
.ix-dd { position: relative; }
.ix-dd__toggle { display: inline-flex; align-items: center; gap: 4px; padding: 10px 12px; border: 0; border-radius: 8px; background: none; cursor: pointer; font: 500 16.5px/1.4 var(--ix-sans); color: var(--ix-ink); white-space: nowrap; }
.ix-dd__toggle:hover, .ix-dd__toggle[aria-expanded="true"] { background: #f4f4f4; }
.ix-dd__toggle .ix-ico { width: 16px; height: 16px; transition: transform .15s ease-in-out; }
.ix-dd__toggle[aria-expanded="true"] .ix-ico { transform: rotate(180deg); }
.ix-dd__menu { position: absolute; top: calc(100% + 10px); left: 0; min-width: 290px; margin: 0; padding: 8px 0; list-style: none; background: #fff; border: 1px solid #e0e0e0; border-radius: 10px; box-shadow: 0 12px 32px -12px rgba(26, 18, 19, .25); z-index: 60; }
.ix-dd__menu a { display: flex; align-items: center; gap: 12px; padding: 9px 16px; border-left: 3px solid transparent; text-decoration: none !important; color: var(--ix-ink) !important; font-size: 15.5px; }
.ix-dd__menu a:hover { background: #f5f5f5; border-left-color: var(--ix-bordo); }
.ix-dd__menu .ix-ico { width: 20px; height: 20px; color: var(--ix-bordo); }

.ix-actions { display: flex; align-items: center; gap: 2px; }
.ix-iconbtn { position: relative; width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; border: 0; border-radius: 8px; background: none; cursor: pointer; color: #121212 !important; }
.ix-iconbtn:hover { background: #f4f4f4; }
.ix-actions .mud-btn { margin-left: 8px; border-radius: 999px; padding: 9px 18px; font-size: 15.5px; white-space: nowrap; text-decoration: none !important; }
.ix-body .mud-btn-primary { color: #fff !important; }
.ix-body .mud-btn-outline-primary { background: #fff; border: 1px solid var(--ix-bordo); color: var(--ix-bordo) !important; }
.ix-body .mud-btn-outline-primary:hover { background: var(--ix-bordo-050); }
.ix-menu-toggle { display: none; }

/* platforme M (preluat din SIARAS) */
.ix-platforms { position: absolute; top: calc(100% + 12px); right: -8px; z-index: 60; min-width: 348px; padding: 20px 16px 16px; border-radius: 16px; background: #fff; box-shadow: 0 5px 24px rgba(0, 0, 0, .12); }
.ix-platforms__title { font-weight: 600; font-size: 18px; margin-bottom: 12px; }
.ix-platforms__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-bottom: 16px; }
.ix-platforms__item { display: flex; align-items: center; gap: 10px; min-height: 60px; padding: 0 8px 0 12px; border-radius: 12px; background: #f5f5f5; text-decoration: none !important; color: #121212 !important; }
.ix-platforms__item:hover { background: #ececec; }
.ix-platforms__item img { width: 33px; height: 33px; border-radius: 8px; outline: .4px solid #b2b2b2; }
.ix-platforms__item b { display: block; font-weight: 600; font-size: 15px; line-height: 1.4; }
.ix-platforms__item small { display: block; font-size: 10px; color: #383838; white-space: nowrap; }
.ix-platforms__all { display: flex; justify-content: center; align-items: center; gap: 8px; height: 40px; border-radius: 8px; background: #fbe8e8; color: var(--ix-bordo) !important; text-decoration: none !important; font-weight: 500; }

/* meniu mobil */
.ix-mobile { border-top: 1px solid #e6e6e6; padding: 8px 0 20px; background: #fff; }
.ix-mobile__group { border-bottom: 1px solid #e6e6e6; }
.ix-mobile__toggle { display: flex; justify-content: space-between; align-items: center; width: 100%; padding: 14px 0; border: 0; background: none; font: 500 16px/1.4 var(--ix-sans); color: var(--ix-ink); cursor: pointer; }
.ix-mobile__toggle[aria-expanded="true"] .ix-ico { transform: rotate(180deg); }
.ix-mobile__list { list-style: none; margin: 0 0 10px; padding: 0 0 0 12px; }
.ix-mobile__list a { display: block; padding: 8px 0; text-decoration: none !important; color: var(--ix-ink-70) !important; }
.ix-mobile__actions { display: flex; flex-direction: column; gap: 10px; padding-top: 16px; }
.ix-mobile__actions .mud-btn { width: 100%; border-radius: 999px; text-decoration: none !important; }

/* ---------------------------------------------------------------- elemente comune */
.ix-eyebrow { display: flex; align-items: center; gap: 10px; color: var(--ix-bordo); }
.ix-eyebrow i { display: block; width: 28px; height: 1px; background: var(--ix-bordo); }
.ix-section { padding: 72px 0; }
.ix-h2 { font-family: var(--ix-serif); font-weight: 400; font-size: 42px; line-height: 1.1; letter-spacing: -.02em; margin: 10px 0 0; color: var(--ix-ink); }
.ix-h2 span { color: var(--ix-bordo); }
.ix-sub { color: var(--ix-ink-50); font-size: 17px; margin: 12px 0 0; max-width: 780px; }
.ix-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 34px; }
.ix-link { display: inline-flex; align-items: center; gap: 6px; color: var(--ix-bordo) !important; font-weight: 500; text-decoration: none !important; white-space: nowrap; }
.ix-link:hover { text-decoration: underline !important; }
.ix-link .ix-ico { width: 18px; height: 18px; }
.ix-panel { background: #fff; border: 1px solid var(--ix-line); border-radius: 12px; padding: 26px 26px 20px; }
.ix-bar { height: 6px; background: var(--ix-line-2); border-radius: 3px; margin-top: 7px; overflow: hidden; }
.ix-bar i { display: block; height: 100%; background: var(--ix-bordo); border-radius: 3px; }
.badge--status-active { display: inline-block; padding: 1px 8px; border-radius: 6px; font-size: 12px; font-weight: 600; line-height: 1.6; background: #e6f5ee; color: #05603a; }
.badge--new { background: var(--ix-bordo-050); color: var(--ix-bordo-700); }

/* ---------------------------------------------------------------- hero */
.ix-hero { position: relative; overflow: hidden; background: linear-gradient(180deg, #FDFBFA 0%, #F6F1EF 100%); }
.ix-hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(40% 55% at 16% 42%, rgba(179, 35, 24, .10), rgba(179, 35, 24, 0) 72%), radial-gradient(35% 40% at 78% 70%, rgba(179, 35, 24, .05), rgba(179, 35, 24, 0) 70%); }
.ix-hero::after { content: ""; position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(var(--ix-line) 1px, transparent 1px), linear-gradient(90deg, var(--ix-line) 1px, transparent 1px); background-size: 64px 64px; -webkit-mask-image: radial-gradient(60% 75% at 22% 45%, #000, transparent 78%); mask-image: radial-gradient(60% 75% at 22% 45%, #000, transparent 78%); opacity: .5; }
.ix-hero__inner { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 560px) minmax(0, 1fr); gap: 24px; align-items: center; padding-top: 56px; padding-bottom: 56px; }
.ix-title { font-family: var(--ix-serif); font-weight: 400; font-size: 66px; line-height: 1.02; letter-spacing: -.025em; margin: 22px 0 0; color: var(--ix-ink); }
.ix-title em { display: block; font-style: normal; font-weight: 600; }
.ix-title span { display: block; color: var(--ix-bordo); }
.ix-lead { font-size: 18px; line-height: 1.6; color: var(--ix-ink-70); margin: 22px 0 0; max-width: 520px; }

.ix-search { margin-top: 30px; background: #fff; border: 1px solid var(--ix-line); border-radius: 14px; padding: 8px 8px 14px; box-shadow: 0 18px 40px -26px rgba(74, 14, 17, .35); }
.ix-seg { display: flex; gap: 4px; padding: 2px; margin: 0 4px; border-bottom: 1px solid var(--ix-line-2); }
.ix-seg button { padding: 10px 14px 12px; border: 0; background: none; cursor: pointer; font: 500 15px/1.4 var(--ix-sans); color: var(--ix-ink-50); box-shadow: inset 0 -2px 0 transparent; }
.ix-seg button[aria-selected="true"] { color: var(--ix-bordo); box-shadow: inset 0 -2px 0 var(--ix-bordo); }
.ix-search__row { display: flex; gap: 8px; padding: 14px 6px 0; }
.ix-field { position: relative; flex: 1; display: flex; align-items: center; min-width: 0; }
.ix-field .ix-ico { position: absolute; left: 14px; width: 20px; height: 20px; color: var(--ix-ink-50); pointer-events: none; }
.ix-field input, .ix-field select { width: 100%; height: 52px; margin: 0; border: 1px solid #cfc8c6; border-radius: 10px; background: #fff; padding: 0 14px; font: 400 15.5px var(--ix-sans); color: var(--ix-ink); }
.ix-field input { padding-left: 44px; }
.ix-field input::placeholder { color: var(--ix-ink-40); }
.ix-field input:focus, .ix-field select:focus { outline: none; border-color: var(--ix-bordo); box-shadow: 0 0 0 3px rgba(179, 35, 24, .15); }
.ix-field--year { flex: none; width: 118px; }
.ix-field--year[hidden] { display: none; }
.ix-search .mud-btn { height: 52px; border-radius: 10px; padding: 0 22px; font-size: 16px; }
.ix-note { margin: 18px 0 0; font-size: 14px; color: var(--ix-ink-50); line-height: 1.6; }
.ix-note a { color: var(--ix-bordo-700) !important; text-underline-offset: 3px; }

.ix-figure { position: relative; min-width: 0; }
.ix-figure svg { display: block; width: 100%; height: auto; }
.ix-legend { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 18px; margin-top: 6px; padding-left: var(--ix-legend-pad, 0); }
.ix-figure svg.is-compact .ix-callouts { display: none; }
.ix-legend__ramp { display: flex; }
.ix-legend__ramp div { width: 48px; }
.ix-legend__ramp i { display: block; height: 10px; }
.ix-legend small { display: block; font-family: var(--ix-mono); font-size: 10.5px; color: var(--ix-ink-50); margin-top: 5px; letter-spacing: .02em; white-space: nowrap; }
.ix-legend__na i { display: block; width: 26px; height: 10px; background: repeating-linear-gradient(45deg, rgba(179, 35, 24, .4) 0 1px, transparent 1px 4px); border: 1px solid rgba(179, 35, 24, .25); }

/* ---------------------------------------------------------------- cifre */
.ix-stats { padding: 46px 0 40px; border-bottom: 1px solid #eee; }
.ix-stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.ix-stat { text-align: center; padding: 4px 18px; border-right: 1px solid #d6d0ce; }
.ix-stat:last-child { border-right: 0; }
.ix-stat .ix-ico { width: 52px; height: 52px; color: var(--ix-bordo); }
.ix-stat strong { display: block; margin-top: 10px; font-weight: 600; font-size: 44px; line-height: 1.1; letter-spacing: -.02em; color: var(--ix-bordo); font-variant-numeric: tabular-nums; }
.ix-stat strong small { font-size: 22px; font-weight: 500; margin-left: 4px; letter-spacing: 0; }
.ix-stat p { margin: 6px 0 0; color: var(--ix-ink-70); font-size: 16px; }
.ix-stat .ix-mono { display: block; margin-top: 6px; font-size: 10.5px; }

/* noutate (widget 5) */
.ix-news { margin-top: 32px; border: 1px solid var(--ix-line); border-left: 4px solid var(--ix-bordo); border-radius: 10px; background: var(--ix-paper); }
.ix-news summary { display: flex; align-items: center; gap: 16px; padding: 16px 22px; cursor: pointer; list-style: none; }
.ix-news summary::-webkit-details-marker { display: none; }
.ix-news summary b { flex: 1; font-weight: 500; font-size: 17px; }
.ix-news summary .ix-link .ix-ico { transition: transform .15s; }
.ix-news[open] summary .ix-link .ix-ico { transform: rotate(180deg); }
.ix-news__body { padding: 0 22px 18px; color: var(--ix-ink-70); font-size: 15.5px; line-height: 1.65; }
.ix-news__body a { color: var(--ix-bordo) !important; }

/* ---------------------------------------------------------------- carduri instrumente */
.ix-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.ix-card { position: relative; display: flex; flex-direction: column; min-height: 258px; padding: 26px 26px 22px; border: 1px solid #cdc6c4; border-radius: 10px; background: #fff; text-decoration: none !important; color: var(--ix-ink) !important; transition: background .2s, box-shadow .2s; }
.ix-card:hover { background: #faf6f5; box-shadow: 0 1px 6px rgba(0, 0, 0, .06); }
.ix-card > .ix-ico { width: 52px; height: 52px; color: var(--ix-bordo); }
.ix-card .badge--status-active { position: absolute; top: 26px; right: 24px; }
.ix-card h3 { margin: 22px 0 6px; font-size: 22px; font-weight: 500; line-height: 1.3; letter-spacing: -.01em; }
.ix-card p { margin: 0 0 22px; color: var(--ix-ink-50); font-size: 15.5px; line-height: 1.5; }
.ix-card__foot { margin-top: auto; padding-top: 16px; display: flex; justify-content: space-between; align-items: center; border-top: 1px dashed var(--ix-line); }
.ix-card__foot .ix-mono { color: var(--ix-ink-50); }
.ix-card__foot .ix-ico { width: 20px; height: 20px; color: var(--ix-bordo); }
.ix-card--ext { background: var(--ix-paper); }

/* ---------------------------------------------------------------- dinamica */
.ix-dyn { position: relative; background: var(--ix-paper); border-top: 1px solid var(--ix-line-2); border-bottom: 1px solid var(--ix-line-2); }
.ix-dyn__grid { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 28px; align-items: stretch; }
.ix-chart-legend { display: flex; flex-wrap: wrap; gap: 22px; align-items: center; margin: 0 0 6px 8px; font-size: 13.5px; color: var(--ix-ink-70); }
.ix-chart-legend span { display: flex; align-items: center; gap: 7px; }
.ix-chart-legend i { display: block; width: 12px; height: 12px; border-radius: 2px; }
.ix-chart-legend .ix-mono { margin-left: auto; }
.ix-kpi { font-weight: 600; font-size: 40px; line-height: 1; letter-spacing: -.02em; color: var(--ix-ink); font-variant-numeric: tabular-nums; }
.ix-kpi small { margin-left: 4px; font-size: 18px; font-weight: 500; color: var(--ix-ink-50); }
.ix-delta { display: inline-block; margin-left: 10px; padding: 2px 7px; border-radius: 6px; font-size: 13px; font-weight: 600; color: #05603a; background: #e6f5ee; vertical-align: middle; }
.ix-delta--down { color: var(--ix-bordo-700); background: var(--ix-bordo-050); }
.ix-forms { list-style: none; margin: 18px 0 0; padding: 0; }
.ix-forms li { padding: 11px 0; border-top: 1px solid var(--ix-line-2); }
.ix-forms__top { display: flex; justify-content: space-between; gap: 12px; font-size: 14.5px; }
.ix-forms__top .ix-mono { margin-right: 8px; color: var(--ix-bordo); }
.ix-forms__top b { font-weight: 600; font-variant-numeric: tabular-nums; }

/* ---------------------------------------------------------------- despre, documente, FAQ (widget-urile 7, 10, 11) */
.ix-two { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; }
.ix-prose { margin-top: 16px; color: var(--ix-ink-70); font-size: 16.5px; line-height: 1.7; }
.ix-prose p { margin: 0 0 14px; }
.ix-prose a { color: var(--ix-bordo) !important; }
.ix-docs { margin-top: 26px; }
.ix-docs ul { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ix-line); }
.ix-docs li { border-bottom: 1px solid var(--ix-line); }
.ix-docs li a { display: flex; align-items: center; gap: 14px; padding: 14px 2px; font-weight: 500; text-decoration: none !important; color: var(--ix-ink) !important; }
.ix-docs li a::before { content: ""; flex: none; width: 22px; height: 22px; background: var(--ix-bordo); -webkit-mask: url('../egovdesign/assets/icons/page-download.svg') center / contain no-repeat; mask: url('../egovdesign/assets/icons/page-download.svg') center / contain no-repeat; }
.ix-docs li a::after { content: "↗"; margin-left: auto; font-family: var(--ix-mono); font-size: 11px; color: var(--ix-ink-40); border: 1px solid var(--ix-line); border-radius: 4px; padding: 1px 6px; }
.ix-docs li a[href$=".pdf"]::after { content: "PDF"; }
.ix-docs li a[href$=".docx"]::after, .ix-docs li a[href$=".doc"]::after { content: "DOCX"; }
.ix-docs li a:hover { color: var(--ix-bordo) !important; }
.ix-docs img { display: none; }

.ix-faq { margin-top: 26px; border-top: 1px solid var(--ix-line); }
.ix-faq h3 { margin: 0; border-bottom: 1px solid var(--ix-line); font: 500 17.5px/1.4 var(--ix-sans); }
.ix-faq h3 button { display: flex; justify-content: space-between; align-items: center; gap: 16px; width: 100%; padding: 18px 2px; border: 0; background: none; cursor: pointer; text-align: left; font: inherit; color: var(--ix-ink); }
.ix-faq h3 button::after { content: "+"; flex: none; width: 22px; text-align: center; font-size: 22px; font-weight: 400; color: var(--ix-bordo); }
.ix-faq h3 button[aria-expanded="true"]::after { content: "–"; }
.ix-faq h3 + div { padding: 14px 40px 20px 2px; border-bottom: 1px solid var(--ix-line); color: var(--ix-ink-70); font-size: 15.5px; line-height: 1.65; }
.ix-faq h3 + div[hidden] { display: none; }
.ix-faq h3:has(+ div:not([hidden])) { border-bottom: 0; }
.ix-faq p { margin: 0 0 10px; }
.ix-faq ul { margin: 6px 0 10px; padding-left: 18px; }

/* ---------------------------------------------------------------- contact (widget 13 + formular) */
.ix-contact { background: var(--ix-paper); border-top: 1px solid var(--ix-line-2); }
.ix-contact__grid { display: grid; grid-template-columns: 420px minmax(0, 1fr); gap: 64px; }
.ix-lines ul { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 22px; }
.ix-lines li { position: relative; padding-left: 38px; }
.ix-lines li::before { content: ""; position: absolute; left: 0; top: 2px; width: 24px; height: 24px; background: var(--ix-bordo); -webkit-mask: url('../egovdesign/assets/icons/Outlined/24/phone.svg') center / contain no-repeat; mask: url('../egovdesign/assets/icons/Outlined/24/phone.svg') center / contain no-repeat; }
.ix-lines h3 { margin: 0; font: 400 14px/1.4 var(--ix-sans); color: var(--ix-ink-50); }
.ix-lines p { margin: 0 0 2px; color: var(--ix-ink-70); font-size: 14.5px; }
.ix-lines h3 + p { margin: 2px 0 4px; font-weight: 600; font-size: 20px; letter-spacing: -.01em; color: var(--ix-ink); }

.ix-form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding: 28px; border: 1px solid var(--ix-line); border-radius: 14px; background: #fff; }
.ix-in { min-width: 0; }
.ix-in--full { grid-column: 1 / -1; }
.ix-in label { display: block; margin-bottom: 6px; font-size: 14px; font-weight: 500; }
.ix-in label span { color: var(--ix-bordo); }
.ix-in input, .ix-in textarea { width: 100%; height: 48px; margin: 0; padding: 0 14px; border: 1px solid #cfc8c6; border-radius: 8px; background: #fff; font: 400 15px var(--ix-sans); color: var(--ix-ink); }
.ix-in textarea { height: 120px; padding-top: 12px; resize: vertical; }
.ix-in input:focus, .ix-in textarea:focus { outline: none; border-color: var(--ix-bordo); box-shadow: 0 0 0 3px rgba(179, 35, 24, .15); }
.ix-in.has-error input, .ix-in.has-error textarea { border-color: var(--ix-bordo); }
.ix-in__error { margin-top: 4px; font-size: 13px; color: var(--ix-bordo); }
.ix-in__error:empty { display: none; }
.ix-captcha { display: flex; gap: 10px; align-items: center; }
.ix-captcha img { flex: none; height: 48px; width: auto; border-radius: 8px; }
.ix-captcha input { flex: 1; max-width: 240px; }
.ix-captcha .mud-btn { margin-left: auto; white-space: nowrap; }
.ix-form__foot { display: flex; justify-content: flex-end; align-items: flex-end; }
.ix-form .mud-btn { border-radius: 999px; padding: 12px 28px; }
.ix-form__success { grid-column: 1 / -1; padding: 12px 16px; border-radius: 8px; background: #e6f5ee; color: #05603a; font-weight: 500; }

/* ---------------------------------------------------------------- footer */
.ix-footer__top { padding: 22px 0; background: #f5f5f5; border-top: 1px solid #e3e3e3; }
.ix-footer__top .ix-wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; }
.ix-footer__logo { height: 36px; width: auto; }
.ix-footer__logo--digital { height: 28px; }
.ix-footer__logo--uipac { height: 64px; }
.ix-footer__sep { width: 1px; align-self: stretch; background: #c4c4c4; }
.ix-footer__txt { flex: 1 1 360px; margin: 0; font-size: 12.5px; line-height: 1.55; color: #6c6c6c; text-align: right; }
.ix-footer__txt p { margin: 0; }
.ix-footer__legal { background: #1e1e1e; color: #b2b2b2; font-size: 14px; }
.ix-footer__legal .ix-wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; padding-top: 13px; padding-bottom: 13px; }
.ix-footer__legal a { color: #b2b2b2 !important; text-decoration: none !important; }
.ix-footer__legal a:hover { color: #fff !important; text-decoration: underline !important; }
.ix-footer__legal .ix-u { color: #fff !important; text-decoration: underline !important; }
.ix-footer__legal nav { display: flex; flex-wrap: wrap; gap: 6px 18px; }

/* ---------------------------------------------------------------- pagini interioare, 404 */
.ix-pagehead { position: relative; overflow: hidden; padding: 22px 0 34px; background: #fff; border-bottom: 1px solid #e6e6e6; }
.ix-pagehead::before { content: ""; position: absolute; left: -40px; top: -40px; width: 720px; height: 420px; background: url('../images/mud/bgpage.png') left top no-repeat; opacity: .75; pointer-events: none; }
.ix-pagehead .ix-wrap { position: relative; }
.ix-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 13.5px; color: var(--ix-ink-70); }
.ix-crumbs a { color: var(--ix-bordo) !important; }
.ix-crumbs .ix-ico { width: 14px; height: 14px; }
.ix-h1 { margin: 18px 0 0; font-weight: 600; font-size: 40px; line-height: 1.15; letter-spacing: -.02em; }
.ix-pagehead p { margin: 12px 0 0; max-width: 860px; color: var(--ix-ink-70); font-size: 15.5px; line-height: 1.6; }
.ix-tabs { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 26px; }
.ix-tabs a { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border: 1px solid #d6d0ce; border-radius: 999px; background: #fff; text-decoration: none !important; color: var(--ix-ink) !important; font-weight: 500; font-size: 15px; white-space: nowrap; }
.ix-tabs a:hover { border-color: var(--ix-bordo); }
.ix-tabs .ix-ico { width: 18px; height: 18px; color: var(--ix-bordo); }
.ix-tabs a.is-active { background: var(--ix-bordo); border-color: var(--ix-bordo); color: #fff !important; }
.ix-tabs a.is-active .ix-ico { color: #fff; }
.ix-page { padding: 30px 0 72px; }
.ix-404 { padding: 72px 0 96px; }
.ix-404__code { font-family: var(--ix-serif); font-size: 120px; line-height: 1; color: var(--ix-bordo); letter-spacing: -.03em; }

/* ---------------------------------------------------------------- responsive */
@media (max-width: 1599px) {
    html[lang="ru"] .ix-cc span { display: none; }
    html[lang="ru"] .ix-dd__toggle { font-size: 15.5px; padding: 10px 9px; }
}

@media (max-width: 1199px) {
    .ix-cc span, .ix-brand .ix-divider { display: none; }
    .ix-actions .ix-iconbtn--help { display: none; }
    .ix-title { font-size: 56px; }
    .ix-hero__inner { grid-template-columns: minmax(0, 480px) minmax(0, 1fr); }
}

@media (max-width: 991px) {
    .ix-nav, .ix-cc, .ix-actions .mud-btn, .ix-actions .ix-iconbtn--apps { display: none; }
    .ix-menu-toggle { display: flex; }
    .ix-hero__inner { grid-template-columns: 1fr; padding-top: 36px; padding-bottom: 36px; gap: 12px; }
    .ix-figure { max-width: 640px; }
    .ix-cards { grid-template-columns: 1fr 1fr; }
    .ix-dyn__grid, .ix-two, .ix-contact__grid { grid-template-columns: 1fr; gap: 32px; }
    .ix-stats__grid { grid-template-columns: 1fr 1fr; row-gap: 28px; }
    .ix-stat:nth-child(2) { border-right: 0; }
}

@media (max-width: 767px) {
    .ix-wrap { padding-left: 16px; padding-right: 16px; }
    .ix-legend { padding-left: 0; }
    .ix-news summary { flex-wrap: wrap; gap: 6px 12px; }
    .ix-news summary b { flex-basis: 100%; order: 2; }
    .ix-news summary .ix-link { order: 3; }
    .ix-captcha { flex-wrap: wrap; }
    .ix-captcha input { max-width: none; }
    .ix-captcha .mud-btn { width: 100%; margin-left: 0; }
    .ix-header__row { height: 64px; }
    .ix-logo svg { width: 34px; height: 34px; }
    .ix-logo b { font-size: 15px; }
    .ix-logo small { font-size: 10px; }
    .ix-title { font-size: 44px; }
    .ix-lead { font-size: 16px; }
    .ix-search__row { flex-wrap: wrap; }
    .ix-field { flex-basis: 100%; }
    .ix-field--year { flex: 1; width: auto; }
    .ix-search .mud-btn { flex: 1; }
    .ix-stat { border-right: 0; padding: 0 8px; }
    .ix-stat strong { font-size: 32px; }
    .ix-stat .ix-ico { width: 40px; height: 40px; }
    .ix-section { padding: 48px 0; }
    .ix-h2 { font-size: 32px; }
    .ix-head { flex-direction: column; align-items: flex-start; }
    .ix-cards { grid-template-columns: 1fr; }
    .ix-card { min-height: 0; }
    .ix-legend__ramp div { width: 42px; }
    .ix-legend small { font-size: 9px; letter-spacing: 0; }
    .ix-form { grid-template-columns: 1fr; padding: 20px; }
    .ix-footer__txt { text-align: left; }
    .ix-h1 { font-size: 30px; }
    .ix-tabs { flex-wrap: nowrap; overflow-x: auto; margin-right: -16px; padding-bottom: 4px; scrollbar-width: none; }
    .ix-platforms { right: -56px; min-width: 300px; }
}

@media print {
    .pre-header, .ix-header, .ix-footer__top, .cc-banner { display: none !important; }
}
