/*
  File role: /en/ page-own stylesheet for the VOGO eBS ECM sections copied from /ecm/.
  Holds ONLY the rules the ECM presentation block needs, copied from
  ecm/assets/landing.css and re-scoped under the wrapper class `.en-ecm`.
  The English page is deliberately NOT linked to ecm/assets/landing.css:
  that stylesheet belongs to /ecm/ and carries the whole institutional page
  chrome (topbar, modals, accessibility toolbar, forms) which this page
  does not use.

  Scoping rule: every selector below starts with `.en-ecm`, so the
  institutional navy styling cannot leak into the rest of the English
  landing page, and the page's own global rules cannot leak in either.

  Specificity note (site-wide trap): general/styles.css declares
  `h1, h2, h3 { margin: 0 0 16px; }` as a bare element rule. The reset
  below (`.en-ecm h1 … { margin: 0 }`) overrides it, and every rule that
  puts a margin back on a heading or a paragraph carries at least two
  classes so it outranks that reset. Do not drop the `.en-ecm` prefix.

  @file_version 1.0.4
*/

/* =========================================================
   Design tokens — declared on the wrapper, not on :root, so
   they cannot overwrite the global VOGO tokens of the page.
   ========================================================= */
.en-ecm {
  --navy-950: #050f29;
  --navy-900: #07173a;
  --navy-800: #0b2152;
  --navy-700: #122d68;
  --navy-600: #1c3f8f;
  --steel:    #4d6bb3;
  --azure:    #2f6bff;
  --azure-2:  #5b8cff;
  --ro-blue:   #0a3aa6;
  --ro-yellow: #ffcf2e;
  --ro-red:    #d61f33;
  --paper:    #f5f7fc;
  --paper-2:  #eef2fb;
  --card:     #ffffff;
  --muted:    #56638a;
  --ink:      #0a1838;
  --line:     #dde4f3;
  --radius:   16px;
  --radius-l: 26px;
  --shadow:   0 20px 50px -24px rgba(7,23,58,.45);
  --shadow-s: 0 8px 22px -12px rgba(7,23,58,.40);
  --maxw: 1200px;
  --ease: cubic-bezier(.22,.61,.36,1);

  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  background: var(--paper);
}

/* ---- Local reset for the block (see the specificity note above) ---- */
.en-ecm h1, .en-ecm h2, .en-ecm h3, .en-ecm h4 {
  font-family: "Inter Tight", "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-weight: 800; line-height: 1.1; letter-spacing: -.01em; margin: 0;
}
.en-ecm p { margin: 0; }
.en-ecm img { max-width: 100%; display: block; }
.en-ecm .egov-container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* =========================================================
   ECM hero — white band + institutional navy panel
   ========================================================= */
.en-ecm .vogo-gov-hero, .en-ecm .vogo-gov-hero * { box-sizing: border-box; }
.en-ecm .vogo-gov-hero-band { background: #fff; padding: 35px 10px 34px; }
.en-ecm .vogo-gov-hero {
  background:
    radial-gradient(circle at 85% 15%, rgba(255,255,255,.08), transparent 45%),
    linear-gradient(135deg, #0C2F59 0%, #0a2648 55%, #01255C 100%);
  color: #fff; padding: 40px 36px 48px; border-radius: 0 0 12px 12px; max-width: 1104px; margin: 0 auto;
  overflow: hidden; position: relative;
  font-family: "Inter Tight", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}
.en-ecm .vogo-gov-hero__inner { max-width: 1100px; margin: 0 auto; position: relative; z-index: 1; }
.en-ecm .vogo-gov-hero__title { font-family: "Inter Tight", "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif; font-size: clamp(1.6rem, 3.6vw, 3rem); font-weight: 700; line-height: 1; letter-spacing: -.05em; margin: 0 0 18px; color: #fff; }
.en-ecm .vogo-gov-hero__title span { color: #56B8E4; }
.en-ecm .vogo-gov-hero__title .vogo-gov-hero__uline { border-bottom: 3px solid rgba(86,184,228,.55); padding-bottom: 4px; }
.en-ecm .vogo-gov-hero__lead { font-size: clamp(1.05rem, 1.86vw, 1.5rem); line-height: 1.42; font-weight: 400; color: rgba(255,255,255,.88); max-width: none; text-align: justify; hyphens: auto; margin: 0 0 56px; }

/* Audience switcher — segmented pills on the dark hero. */
.en-ecm .vogo-aud-switch { display: inline-flex; align-items: center; gap: 4px; margin: 0 0 20px; padding: 4px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18); border-radius: 999px; font-family: Inter, sans-serif; }
.en-ecm .vogo-aud-switch a, .en-ecm .vogo-aud-switch span { display: inline-flex; align-items: center; gap: 7px; padding: 7px 16px; border-radius: 999px; font-size: .82rem; font-weight: 700; line-height: 1; text-decoration: none; white-space: nowrap; transition: background .2s, color .2s; }
.en-ecm .vogo-aud-switch .is-active { background: #fff; color: #0C2F59; }
.en-ecm .vogo-aud-switch a:not(.is-active) { color: rgba(255,255,255,.85); }
.en-ecm .vogo-aud-switch a:not(.is-active):hover { background: rgba(255,255,255,.14); color: #fff; }

/* Capability strip — each item is its own tile; connectors are drawn in the 12px gaps. */
.en-ecm .vogo-gov-hero__strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; background: none; border: 0; }
.en-ecm .vogo-gov-hero__strip-item { position: relative; display: flex; align-items: center; gap: 10px; color: rgba(255,255,255,.92); font-size: 13px; line-height: 1.4; padding: 13px 14px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.16); border-radius: 10px; }
.en-ecm .vogo-gov-hero__strip-icon { width: 32px; height: 32px; border-radius: 8px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.25); display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: #fff; }
.en-ecm .vogo-gov-hero__strip-icon svg { width: 16px; height: 16px; }
.en-ecm .vogo-gov-hero__strip-icon i { font-size: 16px; line-height: 1; }
.en-ecm .vogo-gov-hero__strip-text strong { display: block; color: #fff; font-size: 13px; font-weight: 700; margin-bottom: 1px; }
.en-ecm .vogo-gov-hero__strip-text span { color: rgba(255,255,255,.7); font-size: 11.5px; }
.en-ecm .vogo-gov-hero__strip-item::after {
  content: ""; position: absolute; left: 100%; top: 50%; width: 12px; height: 1px;
  background: rgba(255,255,255,.32); pointer-events: none;
}
.en-ecm .vogo-gov-hero__strip-item::before {
  content: ""; position: absolute; top: 100%; left: 50%; height: 12px; width: 1px;
  background: rgba(255,255,255,.32); pointer-events: none;
}
/* Default 4-column grid: no connector on the last column or the last row. */
.en-ecm .vogo-gov-hero__strip-item:nth-child(4n)::after { content: none; }
.en-ecm .vogo-gov-hero__strip-item:nth-last-child(-n+4)::before { content: none; }

@media (max-width: 860px) {
  .en-ecm .vogo-gov-hero { padding: 36px 22px 32px; }
  .en-ecm .vogo-gov-hero__title { font-size: 28px; }
  .en-ecm .vogo-gov-hero__strip { grid-template-columns: repeat(2, 1fr); }
  /* Two columns now: restore the connectors hidden above, hide the new edge ones. */
  .en-ecm .vogo-gov-hero__strip-item:nth-child(4n)::after { content: ""; }
  .en-ecm .vogo-gov-hero__strip-item:nth-last-child(-n+4)::before { content: ""; }
  .en-ecm .vogo-gov-hero__strip-item:nth-child(2n)::after { content: none; }
  .en-ecm .vogo-gov-hero__strip-item:nth-last-child(-n+2)::before { content: none; }
}
@media (max-width: 600px) {
  .en-ecm .vogo-gov-hero__title { font-size: 24px; }
  .en-ecm .vogo-gov-hero__lead { font-size: 15px; }
  .en-ecm .vogo-gov-hero { padding: 28px 18px 26px; }
}
@media (max-width: 480px) {
  .en-ecm .vogo-gov-hero__strip { grid-template-columns: repeat(2, 1fr); padding: 12px; }
  .en-ecm .vogo-gov-hero__title { font-size: 20px; }
  .en-ecm .vogo-aud-switch { flex-wrap: wrap; }
  .en-ecm .vogo-aud-switch a, .en-ecm .vogo-aud-switch span { padding: 6px 12px; font-size: .76rem; }
}

/* =========================================================
   Intro strip + action buttons
   ========================================================= */
.en-ecm .egov-intro { background: var(--card); border-bottom: 1px solid var(--line); }
.en-ecm .egov-intro .egov-container { padding-top: 54px; padding-bottom: 54px; }
.en-ecm .egov-intro p { font-size: 1.18rem; line-height: 1.7; color: #2c3a63; max-width: 980px; }
.en-ecm .egov-intro strong { color: var(--ink); }

.en-ecm .egov-intro-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.en-ecm .egov-cta-btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 26px; border: 0; border-radius: 5px; cursor: pointer; text-decoration: none; font-family: Inter, sans-serif; font-weight: 700; font-size: .98rem; line-height: 1.1; color: #fff; background: linear-gradient(135deg, #0C2F59 0%, #0a2648 55%, #01255C 100%); box-shadow: 0 12px 28px -12px rgba(12,47,89,.7); transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.en-ecm .egov-cta-btn:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 18px 36px -12px rgba(12,47,89,.85); }
.en-ecm .egov-cta-btn i { font-size: 18px; flex-shrink: 0; color: #56B8E4; }
.en-ecm .egov-cta-btn--primary, .en-ecm .egov-cta-btn--alt { color: #fff; background: linear-gradient(135deg, #0C2F59 0%, #0a2648 55%, #01255C 100%); }
.en-ecm .egov-cta-btn--primary i, .en-ecm .egov-cta-btn--alt i { color: #56B8E4; }
/* "Demo" — white background, VOGO green text and thin green border. */
.en-ecm .egov-cta-btn--demo { background: #fff; color: var(--vogo-green, #0f7b65); border: 1px solid var(--vogo-green, #0f7b65); box-shadow: 0 8px 22px -12px rgba(7,23,58,.22); }
.en-ecm .egov-cta-btn--demo:hover { background: #f3faf7; color: var(--vogo-green, #0f7b65); }
.en-ecm .egov-cta-btn--demo i { color: var(--vogo-green, #0f7b65); }
/* "SEAP entries" — VOGO green background. */
.en-ecm .egov-cta-btn--seap { background: var(--vogo-green, #0f7b65); box-shadow: 0 12px 28px -12px rgba(15,123,101,.7); }
.en-ecm .egov-cta-btn--seap:hover { background: var(--vogo-green-dark, #0a4f41); }
.en-ecm .egov-cta-btn--seap i { color: #fff; }
@media (max-width: 600px) { .en-ecm .egov-cta-btn { width: 100%; justify-content: center; } .en-ecm .egov-intro-actions { gap: 10px; } }

/* =========================================================
   Section scaffolding, eyebrow and feature cards
   ========================================================= */
.en-ecm .eyebrow { display: inline-flex; align-items: center; gap: 9px; font-size: .76rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--steel); }
.en-ecm .eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--ro-yellow); }

.en-ecm .section { padding: 92px 0; position: relative; }
.en-ecm .section.alt { background: var(--paper-2); }
.en-ecm .section.dark { background: linear-gradient(160deg, var(--navy-900), var(--navy-800)); color: #fff; }
.en-ecm .section-head { max-width: 760px; margin: 0 auto 54px; text-align: center; }
.en-ecm .section-head h2 { font-size: clamp(2rem, 3.8vw, 2.8rem); margin-top: 14px; color: var(--ink); }
.en-ecm .section.dark .section-head h2 { color: #fff; }
.en-ecm .section-head .eyebrow { justify-content: center; }
.en-ecm .section-head p { margin-top: 16px; color: var(--muted); font-size: 1.08rem; }
.en-ecm .section.dark .section-head p { color: rgba(226,233,250,.72); }

.en-ecm .cards { display: grid; gap: 22px; }
.en-ecm .cards.c3 { grid-template-columns: repeat(3, 1fr); }
.en-ecm .cards.c2 { grid-template-columns: repeat(2, 1fr); }
.en-ecm .cards.c4 { grid-template-columns: repeat(4, 1fr); }
.en-ecm .card { background: var(--card); border: 1px solid var(--line); border-radius: 5px; padding: 30px 28px; box-shadow: var(--shadow-s); transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s; position: relative; overflow: hidden; }
.en-ecm .card::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: linear-gradient(180deg, var(--ro-blue), var(--ro-yellow), var(--ro-red)); transform: scaleY(0); transform-origin: top; transition: transform .35s var(--ease); }
.en-ecm .card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: #c7d3ee; }
.en-ecm .card:hover::before { transform: scaleY(1); }
.en-ecm .section.dark .card { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.12); }
.en-ecm .card-ic { width: 50px; height: 50px; border-radius: 13px; background: linear-gradient(135deg, var(--navy-700), var(--azure)); display: grid; place-items: center; margin-bottom: 18px; box-shadow: 0 10px 22px -10px rgba(28,63,143,.7); }
.en-ecm .card-ic i { font-size: 24px; color: #fff; }
.en-ecm .card h3 { font-size: 1.22rem; color: var(--ink); }
.en-ecm .card > p { margin-top: 10px; color: var(--muted); font-size: .96rem; }

/* Four-up grids: the module icon becomes a large translucent watermark. */
.en-ecm .cards.c4 .card { position: relative; overflow: hidden; }
.en-ecm .cards.c4 .card-ic { position: absolute; top: 8px; right: 14px; left: auto; margin: 0; padding: 0; width: auto; height: auto; background: none; box-shadow: none; border-radius: 0; opacity: .14; z-index: 0; pointer-events: none; }
.en-ecm .cards.c4 .card-ic i { font-size: 112px; line-height: 1; color: #0660a2; }
.en-ecm .cards.c4 .card > :not(.card-ic) { position: relative; z-index: 1; }

/* Same watermark treatment for the "Verified digital identity" cards. */
.en-ecm #identitate .card-ic { position: absolute; top: 10px; right: 18px; left: auto; margin: 0; padding: 0; width: auto; height: auto; background: none; box-shadow: none; border-radius: 0; opacity: .15; z-index: 0; pointer-events: none; }
.en-ecm #identitate .card-ic i { font-size: 126px; line-height: 1; color: #1c6fb5; }
.en-ecm #identitate .card > :not(.card-ic) { position: relative; z-index: 1; }

/* ---- Quick access chips ---- */
.en-ecm .ecm-quick { margin-top: 44px; text-align: center; }
.en-ecm .ecm-quick__label { display: block; font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--steel); margin-bottom: 16px; }
.en-ecm .ecm-quick__row { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.en-ecm .ecm-quick__chip { display: inline-flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 9px 16px; font-size: 14px; font-weight: 600; color: var(--navy-700); }
.en-ecm .ecm-quick__chip i { color: var(--azure); font-size: 15px; }

/* =========================================================
   Digital flow — wizard steps + extras
   ========================================================= */
.en-ecm .wizard { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.en-ecm .wstep { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px; position: relative; box-shadow: var(--shadow-s); }
.en-ecm .wstep .wnum { font-family: "Inter Tight", "Inter", ui-sans-serif, system-ui, sans-serif; font-weight: 800; font-size: 2.4rem; background: linear-gradient(120deg, var(--azure), var(--navy-600)); -webkit-background-clip: text; background-clip: text; color: transparent; line-height: 1; }
.en-ecm .wstep h3 { font-size: 1.08rem; margin-top: 10px; color: var(--ink); }
.en-ecm .wstep p { font-size: .9rem; color: var(--muted); margin-top: 8px; }
.en-ecm .wstep:not(:last-child)::after { content: "\F285"; font-family: "bootstrap-icons"; position: absolute; right: -13px; top: 50%; transform: translateY(-50%); color: var(--steel); z-index: 3; font-size: 16px; }

.en-ecm .flow-extras { margin-top: 26px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 36px; }
.en-ecm .flow-extras > div { display: flex; gap: 12px; align-items: flex-start; }
.en-ecm .flow-extras .fx-ic { flex-shrink: 0; width: auto; height: auto; background: none; box-shadow: none; border-radius: 0; display: inline-flex; }
.en-ecm .flow-extras .fx-ic i { font-size: 26px; color: #0660a2; }
.en-ecm .flow-extras b { display: block; color: var(--ink); font-size: .98rem; }
.en-ecm .flow-extras span { color: var(--muted); font-size: .9rem; }

/* =========================================================
   Releases & support table
   ========================================================= */
.en-ecm .ecm-rel { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.en-ecm .ecm-reltable { border: 1px solid var(--line); border-radius: 5px; overflow: hidden; background: #fff; box-shadow: var(--shadow-s); }
.en-ecm .ecm-reltable__head, .en-ecm .ecm-relrow { display: grid; grid-template-columns: 1.5fr .8fr 1fr 1fr 2.2fr; gap: 16px; padding: 14px 20px; align-items: center; }
.en-ecm .ecm-reltable__head { background: var(--navy-700); color: #fff; font-size: 12px; text-transform: uppercase; letter-spacing: .05em; font-weight: 700; }
.en-ecm .ecm-relrow { border-top: 1px solid var(--line); font-size: 14.5px; color: var(--ink); }
.en-ecm .ecm-relrow.is-latest { background: #f3f7ff; }
.en-ecm .ecm-relver { font-weight: 700; color: var(--navy-700); }
.en-ecm .ecm-relver em { font-style: normal; color: var(--azure); font-size: 12px; font-weight: 700; }
.en-ecm .ecm-relnote { color: var(--muted); font-size: 13.5px; line-height: 1.45; }
.en-ecm .ecm-relbadge { display: inline-block; padding: 3px 11px; border-radius: 5px; font-size: 12px; font-weight: 700; }
.en-ecm .ecm-relbadge--stable { background: #e8f6ee; color: #16a34a; border: 1px solid #bfe6cd; }
.en-ecm .ecm-relbadge--active { background: #e8f0ff; color: #2f6bff; border: 1px solid #cfe0ff; }
.en-ecm .ecm-rel__foot { margin-top: 18px; color: var(--muted); font-size: 14px; line-height: 1.55; }
.en-ecm .ecm-rel__foot a { color: var(--azure); font-weight: 600; }
@media (max-width: 760px) {
  .en-ecm .ecm-reltable__head { display: none; }
  .en-ecm .ecm-relrow { grid-template-columns: 1fr; gap: 7px; padding: 16px 18px; }
  .en-ecm .ecm-relrow > span[data-l]::before { content: attr(data-l) ": "; font-weight: 700; color: var(--steel); font-size: 12px; }
}

/* =========================================================
   Version history timeline
   ========================================================= */
.en-ecm .ecm-hist-head { margin-top: 52px; }
.en-ecm .ecm-timeline { position: relative; max-width: 920px; margin: 0 auto; padding-left: 30px; }
.en-ecm .ecm-timeline::before { content: ""; position: absolute; left: 7px; top: 8px; bottom: 8px; width: 2px; background: var(--line); }
.en-ecm .ecm-tl { position: relative; margin-bottom: 28px; }
.en-ecm .ecm-tl:last-child { margin-bottom: 0; }
.en-ecm .ecm-tl::before { content: ""; position: absolute; left: -30px; top: 6px; width: 16px; height: 16px; border-radius: 50%; background: var(--azure); box-shadow: 0 0 0 4px rgba(47,107,255,.15); }
.en-ecm .ecm-tl__head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; }
.en-ecm .ecm-ver { font-family: "Inter Tight", Inter, sans-serif; font-weight: 800; font-size: 18px; color: #fff; background: #0660a2; padding: 4px 14px; border-radius: 5px; }
.en-ecm .ecm-tl__date { color: var(--muted); font-size: 14px; font-weight: 600; display: inline-flex; align-items: center; gap: 6px; }
.en-ecm .ecm-tl__date i { color: var(--azure); }
.en-ecm .ecm-tl__tag { color: var(--azure); font-weight: 700; font-size: 13px; }
.en-ecm .ecm-tl__card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; box-shadow: var(--shadow-s); }
.en-ecm .ecm-tl__card > p { color: var(--ink); margin: 0 0 16px; font-size: 15px; line-height: 1.55; }
.en-ecm .ecm-tl__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.en-ecm .ecm-tl__cols h3 { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--steel); margin: 0 0 9px; }
.en-ecm .ecm-tl__cols ul { margin: 0; padding-left: 18px; }
.en-ecm .ecm-tl__cols li { color: var(--muted); font-size: 14px; line-height: 1.5; margin-bottom: 6px; }
.en-ecm .ecm-tl__actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 16px; }
.en-ecm .ecm-tl__btn { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 600; padding: 8px 14px; border-radius: 5px; text-decoration: none; background: #0660a2; color: #fff; border: 1px solid #0660a2; transition: filter .15s ease; }
.en-ecm .ecm-tl__btn .bi { font-size: 14px; }
.en-ecm .ecm-tl__btn--ghost { background: #fff; color: #0660a2; }
.en-ecm .ecm-tl__btn:hover { filter: brightness(1.06); }
@media (max-width: 640px) { .en-ecm .ecm-tl__cols { grid-template-columns: 1fr; gap: 14px; } }

/* =========================================================
   Roadmap
   ========================================================= */
.en-ecm .ecm-roadmap { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.en-ecm .ecm-rm { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-s); }
.en-ecm .ecm-rm__phase { display: inline-block; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--azure); background: rgba(47,107,255,.08); border: 1px solid rgba(47,107,255,.2); padding: 5px 12px; border-radius: 999px; margin-bottom: 16px; }
.en-ecm .ecm-rm ul { margin: 0; padding-left: 18px; }
.en-ecm .ecm-rm li { color: var(--muted); font-size: 14px; line-height: 1.5; margin-bottom: 8px; }
@media (max-width: 900px) { .en-ecm .ecm-roadmap { grid-template-columns: 1fr; } }

/* =========================================================
   Product backlog (dark section)
   ========================================================= */
.en-ecm .ecm-dark .eyebrow { color: #8fb0e6; }
.en-ecm .ecm-backlog { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.en-ecm .ecm-bl { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.14); border-radius: 14px; padding: 22px; }
.en-ecm .ecm-bl i { font-size: 26px; color: var(--azure-2); }
.en-ecm .ecm-bl h3 { font-size: 16px; margin: 12px 0 6px; color: #fff; }
.en-ecm .ecm-bl p { font-size: 13.5px; color: rgba(255,255,255,.72); line-height: 1.5; margin: 0; }
.en-ecm .ecm-dark__cta { text-align: center; margin-top: 32px; }
@media (max-width: 900px) { .en-ecm .ecm-backlog { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .en-ecm .ecm-backlog { grid-template-columns: 1fr; } }

/* =========================================================
   EUIPO trademark band + the technology note under it
   ========================================================= */
.en-ecm .ecm-tmband { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 56px 0; }
.en-ecm .ecm-tmband__head { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-bottom: 26px; }
.en-ecm .ecm-tmband__badge { height: 56px; width: auto; }
.en-ecm .ecm-tmband__titles { flex: 1; min-width: 240px; }
.en-ecm .ecm-tmband__titles h2 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); color: var(--ink); margin: 4px 0 0; }
.en-ecm .ecm-tmband__titles p { color: var(--muted); margin-top: 6px; font-size: 15px; }
.en-ecm .ecm-tmband__status { display: inline-flex; align-items: center; gap: 7px; background: #e8f6ee; color: #16a34a; border: 1px solid #bfe6cd; padding: 8px 15px; border-radius: 999px; font-weight: 700; font-size: 13px; white-space: nowrap; }
.en-ecm .ecm-tmgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0 26px; }
.en-ecm .ecm-tmgrid > div { display: flex; flex-direction: column; gap: 3px; padding: 13px 0; border-top: 1px solid var(--line); }
.en-ecm .ecm-tmgrid b { font-size: 11.5px; text-transform: uppercase; letter-spacing: .05em; color: var(--steel); font-weight: 700; }
.en-ecm .ecm-tmgrid span { color: var(--ink); font-size: 14.5px; line-height: 1.4; }
.en-ecm .ecm-tmline { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; margin-top: 30px; padding: 22px 20px; background: var(--paper-2); border: 1px solid var(--line); border-radius: 5px; }
.en-ecm .ecm-tmline > div { text-align: center; }
.en-ecm .ecm-tmline__dot { display: block; width: 12px; height: 12px; border-radius: 50%; background: var(--azure); margin: 0 auto 9px; box-shadow: 0 0 0 4px rgba(47,107,255,.14); }
.en-ecm .ecm-tmline b { display: block; font-family: "Inter Tight", Inter, sans-serif; font-size: 14px; color: var(--navy-700); }
.en-ecm .ecm-tmline > div > span:not(.ecm-tmline__dot) { font-size: 12px; color: var(--muted); line-height: 1.35; }
.en-ecm .ecm-tmband__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.en-ecm .ecm-tmnote { margin-top: 22px; padding: 16px 18px; background: var(--paper-2); border-left: 3px solid var(--azure); border-radius: 0 5px 5px 0; color: var(--ink); font-size: 14px; line-height: 1.65; }
.en-ecm .ecm-tmnote i { color: var(--azure); margin-right: 6px; }
.en-ecm .ecm-tmnote a { color: var(--azure); font-weight: 600; }
@media (max-width: 900px) { .en-ecm .ecm-tmgrid { grid-template-columns: repeat(2, 1fr); } .en-ecm .ecm-tmline { grid-template-columns: 1fr 1fr 1fr; } }
@media (max-width: 560px) { .en-ecm .ecm-tmgrid { grid-template-columns: 1fr; } .en-ecm .ecm-tmline { grid-template-columns: 1fr; } }

/* =========================================================
   Registry (#registratura) + GateScanner (#gatescanner)
   The register grid reuses .ecm-tmgrid and the cards reuse .cards/.card;
   only what is specific to these two sections lives here.
   ========================================================= */
.en-ecm .ecm-reg__sub { font-family: "Inter Tight", Inter, sans-serif; font-size: 18px; color: var(--navy-700); display: block; clear: both; margin: 76px 0 18px; }
.en-ecm .ecm-reg__note { color: var(--muted); font-size: 14px; line-height: 1.5; margin: 18px 0 0; }
.en-ecm .ecm-reg__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 40px; }
.en-ecm .ecm-reg__meta { margin: 18px 0 0; padding-top: 14px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13.5px; line-height: 1.5; }
.en-ecm .ecm-gs__figure { margin: 34px 0 8px; }
.en-ecm .ecm-gs__figure img { width: 100%; height: auto; max-width: 780px; margin: 0 auto; border-radius: var(--radius); box-shadow: var(--shadow-s); }
@media (max-width: 560px) { .en-ecm .ecm-reg__sub { margin-top: 40px; font-size: 17px; } }

/* =========================================================
   Shared responsive rules
   ========================================================= */
@media (max-width: 1100px) { .en-ecm .cards.c4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 980px) {
  .en-ecm .cards.c3 { grid-template-columns: 1fr 1fr; }
  .en-ecm .wizard { grid-template-columns: 1fr 1fr; }
  .en-ecm .wstep:nth-child(2)::after { display: none; }
}
@media (max-width: 720px) {
  .en-ecm .section { padding: 64px 0; }
  .en-ecm .cards.c3, .en-ecm .cards.c2, .en-ecm .wizard, .en-ecm .flow-extras { grid-template-columns: 1fr; }
  .en-ecm .wstep:not(:last-child)::after { display: none; }
}
@media (max-width: 620px) { .en-ecm .cards.c4 { grid-template-columns: 1fr; } }

/* =========================================================
   Footer column titles.
   On this page they are h3 (the footer sits under section h2s, so h4 would skip
   a level). general/styles.css styles them through `.vf-col h4`, so the two
   properties that rule provided are restored here for h3. Not scoped to
   .en-ecm: the footer is outside the ECM block.
   ========================================================= */
.vogo-footer .vf-col h3 { margin: 0 0 10px; font-size: 1rem; color: #f2f8f6; }

/* ===================== Hero strip tiles, now links =====================
   Every tile in the strip is a link to its capability page under
   /ecm/all-cards/. These rules keep the previous appearance: no underline and
   the same text color, :visited included — without that state the browser's
   default link color would outrank the class. The .en-ecm prefix follows the
   scoping rule of this file. Ported from ecm/assets/landing.css. */
.en-ecm a.vogo-gov-hero__strip-item,
.en-ecm a.vogo-gov-hero__strip-item:link,
.en-ecm a.vogo-gov-hero__strip-item:visited,
.en-ecm a.vogo-gov-hero__strip-item:hover,
.en-ecm a.vogo-gov-hero__strip-item:focus {
  color: rgba(255,255,255,.92);
  text-decoration: none;
  transition: border-color .2s ease, background-color .2s ease;
}
/* Discreet hover: the border brightens a little, the background a touch. */
.en-ecm a.vogo-gov-hero__strip-item:hover {
  border-color: rgba(255,255,255,.34);
  background: rgba(255,255,255,.09);
}
.en-ecm a.vogo-gov-hero__strip-item:focus-visible {
  outline: 2px solid rgba(255,255,255,.75);
  outline-offset: 2px;
}
