/*
 * Copyright (c) 2026 INEA d.o.o. All rights reserved.
 * Shared stylesheet for the inea.energy apex landing page (EN + SL).
 * Palette and Roboto taken from the inea.eu theme (app.1b5a9a.css).
 */
@font-face { font-family: "Roboto"; font-style: normal; font-weight: 300; font-display: swap;
  src: url("fonts/RobotoLightLatin.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: "Roboto"; font-style: normal; font-weight: 300; font-display: swap;
  src: url("fonts/RobotoLightLatinExt.woff2") format("woff2");
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Roboto"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("fonts/RobotoRegularLatin.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: "Roboto"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("fonts/RobotoRegularLatinExt.woff2") format("woff2");
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Roboto"; font-style: normal; font-weight: 700; font-display: swap;
  src: url("fonts/RobotoBoldLatin.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: "Roboto"; font-style: normal; font-weight: 700; font-display: swap;
  src: url("fonts/RobotoBoldLatinExt.woff2") format("woff2");
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --navy: #0f232e;          /* inea.eu primary dark */
  --navy-2: #15303e;
  --blue: #307fe2;          /* inea.eu primary */
  --blue-light: #e9f1fb;
  --green: #2fd18a;         /* inGenious accent (EMS illustration glow) */
  --muted: #c3cbd0;
  --line: rgba(255, 255, 255, .12);
  --max: 1200px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--navy); color: #fff;
  font: 400 1.0625rem/1.6 Roboto, system-ui, -apple-system, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
.wrap { width: min(100% - 2.5rem, var(--max)); margin-inline: auto; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 1rem; top: 1rem; background: #fff; color: var(--navy); padding: .5rem 1rem; z-index: 10; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }

/* Header */
header { position: absolute; inset: 0 0 auto 0; z-index: 2; }
header.static { position: static; border-bottom: 1px solid var(--line); }
header .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 88px; }
.brand { display: inline-flex; align-items: center; gap: .875rem; text-decoration: none; }
.brand img { width: 96px; }
.brand span { font-weight: 300; letter-spacing: .14em; text-transform: uppercase; font-size: .8125rem; color: var(--muted);
  border-left: 1px solid var(--line); padding-left: .875rem; }
.lang { display: flex; gap: .25rem; font-size: .8125rem; font-weight: 700; letter-spacing: .1em; }
.lang a, .lang span { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 0 .5rem; text-decoration: none; }
.lang a { color: var(--muted); }
.lang a:hover { color: #fff; }
.lang span { color: #fff; border-bottom: 2px solid var(--blue); }

/* Hero */
.hero {
  position: relative; min-height: min(92vh, 820px); display: flex; align-items: center;
  padding: 140px 0 96px;
  background: linear-gradient(180deg, rgba(15,35,46,.35) 0%, rgba(15,35,46,.6) 60%, var(--navy) 100%),
              url("img/hero.webp") center / cover no-repeat, var(--navy);
}
.eyebrow { margin: 0 0 1rem; color: var(--blue); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; font-size: .8125rem; }
h1 { margin: 0 0 1.5rem; font-weight: 300; font-size: clamp(2.5rem, 6vw, 4.5rem); line-height: 1.08; max-width: 20ch; }
h1 strong { font-weight: 700; }
.lead { margin: 0 0 2.5rem; max-width: 60ch; font-size: clamp(1.0625rem, 1.6vw, 1.25rem); color: var(--muted); }
.actions { display: flex; flex-wrap: wrap; gap: 1rem; }
.btn {
  display: inline-flex; align-items: center; gap: .625rem; min-height: 48px; padding: .75rem 1.5rem;
  border: 1px solid var(--blue); border-radius: 0; font-weight: 700; text-decoration: none; font-size: 1rem;
  transition: background-color .2s, color .2s, border-color .2s;
}
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: #2569c0; border-color: #2569c0; }
.btn-ghost { color: #fff; border-color: rgba(255,255,255,.5); }
.btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,.06); }
.btn svg { width: 1em; height: 1em; }

/* Sections */
section { padding: clamp(4rem, 9vw, 7rem) 0; }
h2 { margin: 0 0 1rem; font-weight: 300; font-size: clamp(1.875rem, 3.6vw, 2.75rem); line-height: 1.15; }
h2 strong { font-weight: 700; }
h3 { margin: 0 0 .5rem; font-size: 1.25rem; font-weight: 700; }
p { margin: 0 0 1rem; }
.muted { color: var(--muted); }
.measure { max-width: 70ch; }

/* Solutions grid */
.grid { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); margin-top: 3rem; }
.grid article { background: var(--navy); padding: 2rem; }
.grid article p { color: var(--muted); margin: 0; font-size: 1rem; }
.grid .num { display: block; color: var(--blue); font-weight: 700; font-size: .8125rem; letter-spacing: .14em; margin-bottom: 1rem; }

/* inGenious split */
.split { display: grid; gap: clamp(2rem, 5vw, 5rem); align-items: center; grid-template-columns: 1fr; }
@media (min-width: 900px) { .split { grid-template-columns: 1.05fr 1fr; } }
.suite { display: flex; flex-wrap: wrap; gap: .5rem; padding: 0; margin: 1.5rem 0 2rem; list-style: none; }
.suite li { border: 1px solid var(--line); padding: .375rem .875rem; font-size: .9375rem; }
.suite li b { color: var(--green); font-weight: 700; }
.alt { background: var(--navy-2); }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 2rem; margin-top: 3rem; }
.stat b { display: block; font-size: clamp(2.5rem, 5vw, 3.5rem); font-weight: 300; line-height: 1; color: #fff; }
.stat span { color: var(--muted); text-transform: uppercase; letter-spacing: .12em; font-size: .8125rem; }

/* Links band */
.links { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); margin-top: 2.5rem; }
.card {
  display: flex; flex-direction: column; gap: .5rem; padding: 2rem; min-height: 200px;
  border: 1px solid var(--line); text-decoration: none; background: rgba(255,255,255,.02);
  transition: border-color .2s, background-color .2s;
}
.card:hover { border-color: var(--blue); background: rgba(48,127,226,.08); }
.card small { color: var(--blue); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; font-size: .75rem; }
.card p { color: var(--muted); margin: 0; flex: 1; font-size: 1rem; }
.card .go { font-weight: 700; display: inline-flex; align-items: center; gap: .5rem; }

/* Privacy notice (prose page) */
.prose { max-width: 72ch; }
.prose h1 { font-size: clamp(2rem, 4.5vw, 3rem); max-width: none; }
.prose h2 { font-size: 1.375rem; font-weight: 700; margin-top: 2.5rem; }
.prose p, .prose li { color: var(--muted); }
.prose strong { color: #fff; }
.prose ul { padding-left: 1.25rem; margin: 0 0 1rem; }
.prose dl { display: grid; grid-template-columns: max-content 1fr; gap: .375rem 1.5rem; margin: 0 0 1rem; color: var(--muted); }
.prose dt { color: #fff; font-weight: 700; }
.prose dd { margin: 0; }
.prose a { color: #fff; text-decoration-color: var(--blue); text-underline-offset: 3px; }
@media (max-width: 720px) { .prose dl { grid-template-columns: 1fr; } .prose dd { margin-bottom: .5rem; } }

/* Language chooser (root) */
.chooser { min-height: 100vh; display: flex; align-items: center; justify-content: center; text-align: center; padding: 2rem;
  background: linear-gradient(180deg, rgba(15,35,46,.5), var(--navy)), url("img/hero.webp") center / cover no-repeat, var(--navy); }
.chooser img { width: 140px; margin: 0 auto 2.5rem; }
.chooser .actions { justify-content: center; }

/* Footer */
footer { border-top: 1px solid var(--line); padding: 3rem 0; font-size: .9375rem; color: var(--muted); }
footer .wrap { display: flex; flex-wrap: wrap; gap: 2rem; justify-content: space-between; align-items: flex-start; }
footer address { font-style: normal; line-height: 1.7; }
footer address strong { color: #fff; }
footer .meta { text-align: right; }
footer .meta p { margin: 0 0 .25rem; }
footer .meta a { color: #fff; text-decoration-color: var(--blue); text-underline-offset: 3px; }
@media (max-width: 640px) { footer .meta { text-align: left; } }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
