/* DigiRepair-HE — project website styles */
:root {
  --navy: #0A1F52;
  --blue: #003399;
  --yellow: #FFCC00;
  --yellow-soft: #FFE58A;
  --light: #F5F6FA;
  --mist: #E9EDF6;
  --line: #DCE2EE;
  --text: #14213D;
  --muted: #43506B;
  --soft: #6B7690;
  --white: #FDFDFE;
  --green: #0E4D3A;
  --radius: 18px;
  --max: 1200px;
  --head: 'Space Grotesk', Arial, sans-serif;
  --body: 'Inter', Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--body); color: var(--text); background: var(--light); font-size: 17px; line-height: 1.6; }
img { max-width: 100%; display: block; }
a { color: var(--blue); }
a:hover { color: var(--navy); }
h1, h2, h3, h4 { font-family: var(--head); color: var(--navy); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.3rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; color: var(--muted); }
.container { width: min(var(--max), 100% - 48px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--yellow); color: var(--text); padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; }

/* header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(253,253,254,.96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 76px; }
.brand img { height: 40px; width: auto; }
.menu { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.menu a { display: block; padding: 10px 14px; border-radius: 10px; text-decoration: none; color: var(--text); font-weight: 600; font-size: .95rem; }
.menu a:hover { background: var(--mist); color: var(--navy); }
.menu a[aria-current="page"] { background: var(--navy); color: var(--white); }
.nav-toggle { display: none; background: none; border: 2px solid var(--navy); border-radius: 10px; padding: 8px 12px; font: 600 .95rem var(--body); color: var(--navy); cursor: pointer; min-height: 44px; }
@media (max-width: 980px) {
  .nav-toggle { display: block; }
  .menu { display: none; position: absolute; top: 76px; left: 0; right: 0; flex-direction: column; background: var(--white); border-bottom: 1px solid var(--line); padding: 12px 24px 20px; }
  .menu.open { display: flex; }
  .menu a { padding: 14px; }
}

/* hero */
.hero { background: var(--navy); color: var(--light); padding: 88px 0 96px; position: relative; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 56px; align-items: center; }
.hero h1 { color: var(--light); }
.hero p { color: #C9D3EA; font-size: 1.2rem; max-width: 640px; }
.eyebrow { display: inline-block; font-weight: 700; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--blue); margin-bottom: 14px; }
.hero .eyebrow, .band .eyebrow, .page-hero .eyebrow { color: var(--yellow); }
.hero-art { justify-self: end; width: 100%; max-width: 420px; }
.btns { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.btn { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 12px 22px; border-radius: 12px; font-weight: 700; text-decoration: none; border: 2px solid transparent; }
.btn-primary { background: var(--yellow); color: var(--text); }
.btn-primary:hover { background: var(--yellow-soft); color: var(--text); }
.btn-ghost { border-color: #8FA3CF; color: var(--light); }
.btn-ghost:hover { border-color: var(--light); color: var(--white); }
.btn-dark { background: var(--navy); color: var(--white); }
.btn-dark:hover { background: var(--blue); color: var(--white); }
@media (max-width: 860px) { .hero-grid { grid-template-columns: 1fr; } .hero-art { justify-self: start; max-width: 300px; } }

/* page hero */
.page-hero { background: var(--navy); padding: 64px 0 56px; }
.page-hero h1 { color: var(--light); margin-bottom: .3em; }
.page-hero p { color: #C9D3EA; font-size: 1.15rem; max-width: 760px; margin: 0; }
.crumbs { font-size: .9rem; color: #9FB0D6; margin-bottom: 18px; }
.crumbs a { color: #C9D3EA; }

/* facts strip */
.facts { background: var(--white); border-bottom: 1px solid var(--line); }
.facts-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.fact { padding: 28px 24px; border-left: 1px solid var(--line); }
.fact:first-child { border-left: none; }
.fact b { display: block; font: 700 2rem var(--head); color: var(--blue); }
.fact span { color: var(--muted); font-size: .95rem; }
@media (max-width: 760px) { .facts-grid { grid-template-columns: 1fr 1fr; } .fact:nth-child(3) { border-left: none; } .fact { border-top: 1px solid var(--line); } }

/* sections */
.section { padding: 88px 0; }
.section.alt { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 760px; margin-bottom: 44px; }
.lead { font-size: 1.2rem; color: var(--muted); }
.grid { display: grid; gap: 24px; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) { .g3, .g4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .g2, .g3, .g4 { grid-template-columns: 1fr; } }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.section.alt .card { background: var(--light); }
.card h3 { margin-bottom: .4em; }
.card p:last-child { margin-bottom: 0; }
.tag { display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 4px 12px; border-radius: 999px; background: var(--mist); color: var(--navy); margin-bottom: 14px; }
.tag.y { background: var(--yellow); color: var(--text); }
.num { font: 700 2.4rem var(--head); color: var(--blue); line-height: 1; margin-bottom: 14px; display: block; }
.icon { width: 44px; height: 44px; color: var(--blue); margin-bottom: 14px; }
.card-link { display: inline-flex; margin-top: 8px; font-weight: 700; text-decoration: none; }
.card-link:hover { text-decoration: underline; }

/* pillars */
.pillar { border-top: 6px solid var(--blue); }
.pillar.p2 { border-top-color: var(--yellow); }
.pillar.p3 { border-top-color: #8FA3CF; }

/* band */
.band { background: var(--green); padding: 80px 0; }
.band h2 { color: #F3F8F5; font-size: clamp(2.2rem, 5vw, 3.6rem); }
.band p { color: #D3E8DE; }
.band .card { background: #145E48; border: none; }
.band .card h3 { color: var(--yellow); }
.band .card p { color: #D3E8DE; }

/* partners */
.logos { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 40px 56px; }
.logos a { display: block; }
.logos img { height: 72px; width: auto; max-width: 180px; object-fit: contain; }
.partner { display: grid; grid-template-columns: 220px 1fr; gap: 32px; align-items: start; }
.partner-logo { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); height: 160px; display: flex; align-items: center; justify-content: center; padding: 20px; }
.partner-logo img { max-height: 120px; width: auto; object-fit: contain; }
.partner-logo .wordlogo { font: 700 1.3rem var(--head); color: var(--navy); text-align: center; }
.partner-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.partner + .partner { margin-top: 40px; padding-top: 40px; border-top: 1px solid var(--line); }
@media (max-width: 720px) { .partner { grid-template-columns: 1fr; } .partner-logo { max-width: 260px; } }

/* WP table + gantt */
.wp { display: grid; grid-template-columns: 120px 1fr; gap: 28px; }
.wp + .wp { margin-top: 28px; }
.wp-id { background: var(--navy); color: var(--yellow); font: 700 1.8rem var(--head); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; min-height: 120px; }
.wp ul { margin: 12px 0 0; padding-left: 20px; color: var(--muted); }
.wp li { margin-bottom: 4px; }
.wp li b { color: var(--navy); }
.meta-row { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: .95rem; color: var(--muted); margin-bottom: 12px; }
.meta-row strong { color: var(--navy); }
@media (max-width: 640px) { .wp { grid-template-columns: 1fr; } .wp-id { min-height: 64px; } }
.gantt-wrap { overflow-x: auto; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.gantt { min-width: 1080px; display: grid; grid-template-columns: 330px repeat(24, 1fr); font-size: .85rem; }
.gantt .h { font-weight: 700; color: var(--navy); text-align: center; padding: 6px 0; }
.gantt .yr { background: var(--mist); border-radius: 6px; margin: 0 1px; }
.gantt .m { color: var(--soft); text-align: center; padding: 4px 0 8px; border-bottom: 2px solid var(--line); }
.gantt .lbl { padding: 5px 8px 5px 0; color: var(--text); border-bottom: 1px solid var(--mist); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gantt .lbl b { color: var(--blue); }
.gantt .lbl.wp-row { font-weight: 700; color: var(--navy); background: var(--light); padding-left: 6px; }
.gantt .bar { height: 14px; align-self: center; border-radius: 4px; background: var(--blue); margin: 0 1px; }
.gantt .bar.meet { background: var(--yellow); outline: 1px solid var(--text); }
.gantt .bar.mgmt { background: #8FA3CF; }
.gantt .cellbg { border-bottom: 1px solid var(--mist); }
.legend { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 14px; font-size: .9rem; color: var(--muted); }
.legend span::before { content: ""; display: inline-block; width: 22px; height: 12px; border-radius: 3px; margin-right: 8px; vertical-align: middle; background: var(--blue); }
.legend .lm::before { background: var(--yellow); outline: 1px solid var(--text); }
.legend .lg::before { background: #8FA3CF; }

/* badges */
.stack { display: flex; flex-direction: column; gap: 12px; align-items: center; }
.lvl { width: 100%; border-radius: var(--radius); padding: 22px 26px; text-align: center; }
.lvl.l1 { background: var(--mist); }
.lvl.l2 { background: #8FA3CF; width: 82%; }
.lvl.l2 p, .lvl.l2 h3 { color: var(--navy); }
.lvl.l3 { background: var(--navy); width: 64%; }
.lvl.l3 h3 { color: var(--yellow); }
.lvl.l3 p { color: #C9D3EA; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 10px; }
.chips span { background: var(--white); border: 2px solid var(--blue); color: var(--blue); font-weight: 600; font-size: .9rem; border-radius: 999px; padding: 4px 14px; }
.arrow { width: 0; height: 0; border-left: 12px solid transparent; border-right: 12px solid transparent; border-top: 14px solid var(--blue); }

/* news */
.news-card { display: flex; flex-direction: column; }
.news-card .tag { align-self: flex-start; }
.news-card time { font-size: .9rem; color: var(--soft); margin-bottom: 8px; display: block; }
.event { display: grid; grid-template-columns: 160px 1fr; gap: 24px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.event:first-child { border-top: 1px solid var(--line); }
.event .when { font: 700 1.05rem var(--head); color: var(--blue); }
@media (max-width: 600px) { .event { grid-template-columns: 1fr; gap: 6px; } }
article.post { max-width: 780px; }
article.post p { font-size: 1.08rem; }

/* status */
.status { font-size: .8rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; display: inline-block; margin-left: 8px; vertical-align: middle; }
.status.prog { background: var(--yellow); color: var(--text); }
.status.plan { background: var(--mist); color: var(--navy); }

/* contact */
.contact-card dl { margin: 0; display: grid; grid-template-columns: 120px 1fr; gap: 8px 16px; }
.contact-card dt { font-weight: 700; color: var(--navy); }
.contact-card dd { margin: 0; color: var(--muted); }

/* footer */
.site-footer { background: var(--navy); color: #C9D3EA; padding: 64px 0 32px; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 40px; }
.site-footer h4 { color: var(--light); font-size: 1rem; margin-bottom: 14px; }
.site-footer a { color: #C9D3EA; text-decoration: none; }
.site-footer a:hover { color: var(--yellow); }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer p { color: #C9D3EA; font-size: .95rem; }
.footer-logo { height: 40px; width: auto; margin-bottom: 18px; }
.eu-block { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; margin-top: 40px; padding-top: 32px; border-top: 1px solid #2B4A8F; }
.eu-block img { height: 56px; width: auto; }
.eu-block p { flex: 1; min-width: 260px; font-size: .85rem; color: #9FB0D6; margin: 0; }
.copy { margin-top: 24px; font-size: .85rem; color: #9FB0D6; }
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr; } }
