/* ============================================================
   LastOnline.fi styles
   Vaalea pohja + Veripalvelu/LastOnline-punainen + HUD-kerros
   ============================================================ */

:root {
  --lo-red: #ED1C24;
  --lo-red-dark: #A7173B;
  --lo-pink: #FCF1F1;
  --lo-ink: #111318;
  --lo-text: #202124;
  --lo-muted: #5b5c60;
  --spr-red: #F00000;
  --spr-blue-trust: #004B79;
  --bg: #FFFFFF;
  --soft: #F7F3EF;
  --line: #e8e6e2;
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 10px;
  --shadow: 0 18px 60px rgb(17 19 24 / 0.14);
  --shadow-sm: 0 6px 20px rgb(17 19 24 / 0.08);
  --wrap: 1120px;
  --font-sans: Arial, Helvetica, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --ease: cubic-bezier(.22,.61,.36,1);
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-sans);
  color: var(--lo-text);
  background: var(--bg);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

.section--soft, .cta-final { position: relative; }
.section--soft::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: url("assets/drop-pattern.svg"); background-size: 84px; opacity: .5;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent);
  mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent);
}
.section--soft .wrap { position: relative; z-index: 1; }
.cta-final::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: .12;
  background: url("assets/drop-icon.svg"); background-size: 70px;
  filter: brightness(0) invert(1);
  -webkit-mask-image: radial-gradient(circle at center, transparent 30%, #000 75%);
  mask-image: radial-gradient(circle at center, transparent 30%, #000 75%);
}
.cta-final .wrap { position: relative; z-index: 1; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 22px; }
.wrap--narrow { max-width: 760px; }

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 200;
  background: var(--lo-ink); color: #fff; padding: 12px 18px; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

:where(a, button, input, [tabindex]):focus-visible {
  outline: 3px solid var(--spr-blue-trust);
  outline-offset: 3px;
  border-radius: 6px;
}

/* HEADER */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: #ffffff;
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { display: inline-flex; flex-direction: row; align-items: center; gap: 10px; }
.brand-mark { width: 46px; height: 46px; min-width: 46px; flex: 0 0 auto; }
.brand-words { display: inline-flex; flex-direction: column; align-items: stretch; }
.brand-text {
  font-size: 1.4rem; letter-spacing: -.02em; text-transform: uppercase;
  color: var(--lo-red); font-weight: 900; line-height: 1;
}
.brand-sub {
  font-size: .52rem; font-weight: 800; text-transform: uppercase;
  color: var(--lo-ink); line-height: 1; margin-top: 2px;
  text-align: justify; text-align-last: justify;
}

.main-nav { display: flex; align-items: center; }
.nav-list { list-style: none; display: flex; align-items: center; gap: 4px; padding: 0; }
.nav-list a {
  display: inline-block; padding: 9px 13px; border-radius: var(--radius-sm);
  font-size: .96rem; font-weight: 600; color: var(--lo-text); transition: background .15s;
}
.nav-list a:hover { background: var(--lo-pink); color: var(--lo-red); }
.nav-cta { background: var(--lo-red); color: #fff !important; }
.nav-cta:hover { background: var(--lo-red-dark); color: #fff !important; }

.nav-toggle {
  display: none; flex-direction: column; gap: 5px; width: 44px; height: 44px;
  background: none; border: 0; padding: 10px; border-radius: 10px;
}
.nav-toggle span { height: 2.5px; background: var(--lo-ink); border-radius: 2px; transition: .25s var(--ease); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

.lang-switch { display: inline-flex; align-items: center; gap: 2px; margin-right: 4px; }
.lang-opt {
  font-size: .8rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase;
  padding: 6px 9px; border-radius: 8px; color: var(--lo-muted); line-height: 1; transition: background .15s, color .15s;
}
a.lang-opt:hover { color: var(--lo-red); background: var(--lo-pink); }
.lang-opt.is-active { color: var(--lo-red); background: var(--lo-pink); }
.lang-opt.is-disabled { opacity: .4; cursor: not-allowed; }

/* BUTTONS */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-weight: 700; font-size: 1rem; padding: 15px 26px; border: 2px solid transparent;
  border-radius: 999px; transition: transform .12s var(--ease), background .18s, box-shadow .18s;
  text-align: center; line-height: 1.1;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--lo-red); color: #fff; box-shadow: 0 10px 28px rgb(237 28 36 / .35); }
.btn-primary:hover { background: var(--lo-red-dark); }
.btn-ghost { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.6); }
.btn-ghost:hover { background: rgba(255,255,255,.22); }
.btn-small { padding: 11px 18px; font-size: .95rem; background: var(--lo-ink); color: #fff; }
.btn-small:hover { background: var(--lo-red); }
.btn-light { background: #fff; color: var(--lo-red); }
.btn-light:hover { background: var(--lo-pink); }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.7); }
.btn-outline-light:hover { background: rgba(255,255,255,.15); }

/* HERO */
.hero {
  position: relative; min-height: clamp(540px, 72vh, 760px); display: flex; align-items: center;
  color: #fff; overflow: hidden; isolation: isolate;
}
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-img { width: 100%; height: 100%; object-fit: cover; object-position: 60% center; }
.hero-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(17,19,24,.55) 0%, rgba(17,19,24,.35) 40%, rgba(167,23,59,.55) 100%),
    radial-gradient(120% 80% at 15% 20%, rgba(237,28,36,.35), transparent 60%);
}
.hero-content { position: relative; padding-block: 96px 72px; max-width: 760px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 9px; text-transform: uppercase;
  letter-spacing: .14em; font-size: .82rem; font-weight: 700;
  background: rgba(0,0,0,.3); padding: 8px 15px; border-radius: 999px; backdrop-filter: blur(4px);
}
.eyebrow .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--lo-red); box-shadow: 0 0 0 4px rgb(237 28 36 / .4); }
.hero-logo {
  width: clamp(104px, 16vw, 150px); height: auto; aspect-ratio: 1;
  margin-bottom: 18px; filter: drop-shadow(0 8px 30px rgb(0 0 0 / .4));
}
h1, h2 { letter-spacing: -.035em; line-height: .96; text-transform: uppercase; font-weight: 900; }
#hero-title {
  font-size: clamp(2.7rem, 8vw, 5.4rem); margin: 18px 0 22px;
  text-shadow: 0 4px 30px rgb(0 0 0 / .35);
}
.hero-lead { font-size: clamp(1.05rem, 2.4vw, 1.4rem); max-width: 600px; text-shadow: 0 2px 12px rgb(0 0 0 / .4); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 30px 0 22px; }
.hero-micro {
  font-size: .95rem; background: rgba(0,0,0,.34); padding: 12px 16px;
  border-left: 4px solid var(--lo-red); border-radius: 0 10px 10px 0; max-width: 540px;
}
.hero-scroll {
  position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%);
  font-size: 1.6rem; color: #fff; opacity: .85; animation: bob 1.8s var(--ease) infinite;
}
@keyframes bob { 0%,100%{ transform: translate(-50%,0);} 50%{ transform: translate(-50%,8px);} }

/* SECTIONS */
.section { padding-block: clamp(64px, 9vw, 110px); }
.section--soft { background: var(--soft); }
.section--dark { background: var(--lo-ink); color: #fff; }
.section--dark h2 { color: #fff; }

.kicker {
  text-transform: uppercase; letter-spacing: .16em; font-size: .8rem; font-weight: 800;
  color: var(--lo-red); margin-bottom: 12px;
}
.kicker--light { color: #ff7a7f; }
.section h2 { font-size: clamp(1.9rem, 4.6vw, 3.1rem); margin-bottom: 18px; color: var(--lo-ink); }
.section-lead { font-size: 1.12rem; color: var(--lo-muted); max-width: 720px; margin-bottom: 40px; }
.section-lead--light { color: rgba(255,255,255,.78); }
.source-note { font-size: .85rem; color: var(--lo-muted); margin-top: 22px; }
.source-note--light { color: rgba(255,255,255,.6); }

.stat-grid {
  list-style: none; padding: 0; display: grid; gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}
.stat-card {
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius-md);
  padding: 30px 26px; box-shadow: var(--shadow-sm); position: relative; overflow: hidden;
  transition: transform .18s var(--ease), box-shadow .18s;
}
.stat-card::before {
  content: ""; position: absolute; top: 0; left: 0; width: 6px; height: 100%; background: var(--lo-red);
}
.stat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.stat-num {
  display: block; font-size: clamp(2.4rem, 5vw, 3.2rem); font-weight: 900; color: var(--lo-red);
  letter-spacing: -.04em; line-height: 1;
}
.stat-label { display: block; margin-top: 10px; font-size: .98rem; color: var(--lo-text); }

/* HEALTH BAR */
.healthbar {
  background: linear-gradient(180deg, #1b1e25, #15171d); border: 1px solid #2a2e38;
  border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 40px); box-shadow: var(--shadow);
  max-width: 880px;
}
.hb-top, .hb-bottom { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.hb-current { font-size: clamp(2rem, 6vw, 3.2rem); font-weight: 900; color: #fff; letter-spacing: -.03em; line-height: 1; }
.hb-current small { display: block; font-size: .9rem; font-weight: 600; color: rgba(255,255,255,.6); letter-spacing: 0; text-transform: uppercase; margin-top: 6px; }
.hb-goal { font-size: .95rem; font-weight: 700; color: #ff7a7f; text-transform: uppercase; letter-spacing: .06em; }
.hb-track {
  position: relative; height: 30px; margin: 20px 0 16px; border-radius: 999px;
  background: #0c0e12; border: 1px solid #2a2e38; overflow: hidden;
}
.hb-fill {
  position: relative; height: 100%; width: 0;
  background: linear-gradient(90deg, var(--lo-red-dark), var(--lo-red) 60%, #ff5158);
  border-radius: 999px; transition: width 1.6s var(--ease);
  box-shadow: 0 0 18px rgb(237 28 36 / .6);
}
.hb-shine {
  position: absolute; inset: 0; border-radius: 999px;
  background: linear-gradient(180deg, rgba(255,255,255,.35), transparent 55%);
}
.hb-checkpoint {
  position: absolute; top: 50%; width: 3px; height: 16px;
  transform: translateY(-50%); background: rgba(255,255,255,.25); border-radius: 2px;
}
.hb-bottom { font-size: .95rem; color: rgba(255,255,255,.78); }
.hb-patients strong { color: #fff; font-size: 1.15rem; }
.hb-updated { color: rgba(255,255,255,.5); font-size: .85rem; }

/* STEPS */
.steps { list-style: none; padding: 0; display: grid; gap: 16px; counter-reset: step; max-width: 880px; }
.step {
  display: flex; gap: 20px; align-items: flex-start;
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius-md);
  padding: 24px; box-shadow: var(--shadow-sm); transition: transform .15s var(--ease);
}
.step:hover { transform: translateX(4px); }
.step--highlight { border-color: var(--lo-red); background: var(--lo-pink); }
.step-num {
  flex: 0 0 auto; width: 50px; height: 50px; display: grid; place-items: center;
  background: var(--lo-ink); color: #fff; font-weight: 900; font-size: 1.4rem;
  border-radius: 14px;
}
.step--highlight .step-num { background: var(--lo-red); }
.step-body h3 { font-size: 1.2rem; margin-bottom: 6px; letter-spacing: -.01em; }
.step-body p { color: var(--lo-muted); margin-bottom: 14px; }
.step-body p:last-child { margin-bottom: 0; }

/* EVENTS */
.events-subhead {
  font-size: 1.15rem; text-transform: uppercase; letter-spacing: .04em;
  margin: 36px 0 18px; color: var(--lo-ink); display: flex; align-items: center; gap: 10px;
}
.events-subhead::after { content: ""; flex: 1; height: 1px; background: var(--line); }

/* Featured nosto */
.event-featured {
  position: relative; overflow: hidden; margin-bottom: 40px;
  background: linear-gradient(135deg, #15171d 0%, #1d1016 55%, var(--lo-red-dark) 130%);
  border: 1px solid #2a2e38; border-radius: var(--radius-lg);
  padding: clamp(26px, 4vw, 44px); color: #fff; box-shadow: var(--shadow);
}
.event-featured::after {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: .1;
  background: url("assets/drop-icon.svg"); background-size: 64px;
  filter: brightness(0) invert(1);
  -webkit-mask-image: radial-gradient(circle at 90% 10%, #000, transparent 70%);
  mask-image: radial-gradient(circle at 90% 10%, #000, transparent 70%);
}
.event-featured > * { position: relative; z-index: 1; }
.ef-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
.ef-lo-logo { width: 60px; height: 60px; }
.ef-badge {
  display: inline-flex; align-items: center; gap: 9px; background: var(--lo-red); color: #fff;
  font-weight: 800; text-transform: uppercase; letter-spacing: .12em; font-size: .82rem;
  padding: 9px 16px; border-radius: 999px;
}
.ef-pulse { width: 9px; height: 9px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 0 rgb(255 255 255 / .7); animation: pulse 1.8s infinite; }
@keyframes pulse { 0%{ box-shadow: 0 0 0 0 rgb(255 255 255 / .6);} 70%{ box-shadow: 0 0 0 10px rgb(255 255 255 / 0);} 100%{ box-shadow: 0 0 0 0 rgb(255 255 255 / 0);} }
.ef-eventlogo-wrap { margin-bottom: 14px; }
.ef-event-logo { height: 30px; width: auto; max-width: 80%; }
.ef-event-name { font-weight: 800; font-size: 1.2rem; }
.ef-title { font-size: clamp(1.8rem, 5vw, 2.8rem); font-weight: 900; letter-spacing: -.03em; text-transform: uppercase; line-height: 1; }
.ef-date { font-size: 1.1rem; margin-top: 10px; color: #fff; }
.ef-date strong { color: #ff7a7f; }
.ef-lead { color: rgba(255,255,255,.82); margin-top: 14px; max-width: 620px; }
.ef-note { color: rgba(255,255,255,.55); font-size: .9rem; margin-top: 10px; max-width: 620px; }
.ef-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }

.events-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.event-card {
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius-md);
  padding: 22px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: 8px;
}
.events-grid--past .event-card { background: transparent; box-shadow: none; opacity: .92; }
.event-badge {
  align-self: flex-start; font-size: .72rem; font-weight: 800; text-transform: uppercase;
  letter-spacing: .08em; padding: 5px 11px; border-radius: 999px;
}
.badge-upcoming { background: var(--lo-red); color: #fff; }
.badge-live { background: #18a957; color: #fff; }
.badge-past { background: var(--line); color: var(--lo-muted); }
.event-title { font-size: 1.25rem; font-weight: 800; letter-spacing: -.02em; }
.event-meta { font-size: .92rem; color: var(--lo-muted); }
.event-meta strong { color: var(--lo-text); }
.event-detail { font-size: .9rem; color: var(--lo-muted); margin-top: 4px; }
.event-empty {
  grid-column: 1 / -1; background: var(--lo-pink); border: 1px dashed var(--lo-red);
  border-radius: var(--radius-md); padding: 28px; text-align: center; color: var(--lo-text);
}
.event-empty strong { color: var(--lo-red); }

/* VIDEO */
.video-frame { max-width: 880px; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.video-poster {
  position: relative; display: block; width: 100%; border: 0; padding: 0; background: #000;
  aspect-ratio: 16 / 9;
}
.video-thumb { width: 100%; height: 100%; object-fit: cover; opacity: .8; transition: opacity .2s, transform .4s var(--ease); }
.video-poster:hover .video-thumb { opacity: .65; transform: scale(1.03); }
.video-overlay { position: absolute; inset: 0; background: radial-gradient(circle at center, rgba(237,28,36,.25), rgba(0,0,0,.45)); }
.video-btn {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 84px; height: 84px; display: grid; place-items: center; border-radius: 50%;
  background: var(--lo-red); color: #fff; font-size: 1.8rem; padding-left: 6px;
  box-shadow: 0 10px 40px rgb(237 28 36 / .5); transition: transform .2s var(--ease);
}
.video-poster:hover .video-btn { transform: translate(-50%,-50%) scale(1.08); }
.video-cta {
  position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%);
  color: #fff; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; font-size: .85rem;
}
.video-frame iframe { width: 100%; aspect-ratio: 16/9; border: 0; display: block; }
.video-consent { font-size: .82rem; color: rgba(255,255,255,.55); margin-top: 14px; max-width: 680px; }

/* PARTNERS */
.partner-wall {
  list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 18px; align-items: stretch;
}
.partner {
  flex: 1 1 240px; max-width: 320px; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-md); box-shadow: var(--shadow-sm);
}
.partner a { display: grid; place-items: center; padding: 36px 30px; min-height: 130px; }
.partner img { max-height: 64px; width: auto; }


/* ---- Toteuttajat (implementers) ---- */
.partner { position: relative; }
.partner-tag {
  position: absolute; top: 12px; right: 12px; background: var(--lo-red); color: #fff;
  font-size: .68rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em;
  padding: 4px 9px; border-radius: 999px;
}
.partner a img { max-height: 60px; width: auto; }

/* ---- Yhteisöt (community chips) ---- */
.community-wall {
  list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px;
}
.partner-chip {
  display: inline-flex; align-items: center; padding: 10px 16px; border-radius: 999px;
  border: 1px solid var(--line); background: #fff; color: var(--lo-text);
  font-size: .92rem; font-weight: 600; transition: border-color .15s, color .15s, transform .12s var(--ease);
}
a.partner-chip:hover { border-color: var(--lo-red); color: var(--lo-red); transform: translateY(-2px); }
span.partner-chip { color: var(--lo-muted); }

/* FAQ */
.faq { display: grid; gap: 12px; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-md); overflow: hidden; }
.faq-q {
  width: 100%; text-align: left; background: none; border: 0; padding: 20px 22px;
  font-size: 1.08rem; font-weight: 700; color: var(--lo-ink); display: flex; justify-content: space-between;
  align-items: center; gap: 16px;
}
.faq-q:hover { color: var(--lo-red); }
.faq-icon { flex: 0 0 auto; width: 26px; height: 26px; position: relative; transition: transform .25s var(--ease); }
.faq-icon::before, .faq-icon::after {
  content: ""; position: absolute; top: 50%; left: 50%; background: var(--lo-red); border-radius: 2px;
  transform: translate(-50%,-50%);
}
.faq-icon::before { width: 14px; height: 2.5px; }
.faq-icon::after { width: 2.5px; height: 14px; transition: transform .25s var(--ease); }
.faq-q[aria-expanded="true"] .faq-icon::after { transform: translate(-50%,-50%) scaleY(0); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s var(--ease); }
.faq-a-inner { padding: 0 22px 22px; color: var(--lo-muted); }

/* FINAL CTA */
.cta-final {
  background: linear-gradient(135deg, var(--lo-red) 0%, var(--lo-red-dark) 100%);
  color: #fff; padding-block: clamp(64px, 9vw, 110px); text-align: center; overflow: hidden;
}
.cta-inner { position: relative; max-width: 720px; margin-inline: auto; }
.cta-logo { margin: 0 auto 22px; width: 92px; height: 92px; }
.cta-final h2 { color: #fff; font-size: clamp(2rem, 5vw, 3.2rem); margin-bottom: 16px; }
.cta-final p { font-size: 1.15rem; color: rgba(255,255,255,.9); margin-bottom: 30px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

/* FOOTER */
.site-footer { background: var(--lo-ink); color: rgba(255,255,255,.78); padding-block: 60px 30px; }
.footer-inner { display: grid; gap: 40px; grid-template-columns: 1.6fr 1fr 1fr; }
.footer-brand img { width: 56px; height: 56px; margin-bottom: 16px; }
.footer-brand p { font-size: .95rem; max-width: 360px; margin-bottom: 12px; }
.hashtag { font-weight: 900; font-size: 1.3rem; color: #fff; letter-spacing: -.02em; }
.footer-links h2 { font-size: .9rem; text-transform: uppercase; letter-spacing: .1em; color: #fff; margin-bottom: 16px; }
.footer-links ul { list-style: none; padding: 0; display: grid; gap: 10px; }
.footer-links a { font-size: .95rem; color: rgba(255,255,255,.75); }
.footer-links a:hover { color: #ff7a7f; }
.footer-bottom {
  display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap;
  margin-top: 44px; padding-top: 24px; border-top: 1px solid #2a2e38;
  font-size: .82rem; color: rgba(255,255,255,.5);
}

/* RESPONSIVE */
@media (max-width: 860px) {
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .nav-toggle { display: flex; }
  .lang-switch { margin-right: 2px; }
  .lang-opt { padding: 6px 7px; }
  .nav-list {
    position: fixed; inset: 68px 0 auto 0; flex-direction: column; align-items: stretch; gap: 2px;
    background: #fff; border-bottom: 1px solid var(--line); padding: 14px 18px 22px;
    box-shadow: var(--shadow); transform: translateY(-130%); transition: transform .3s var(--ease);
    max-height: calc(100vh - 68px); overflow-y: auto;
  }
  .nav-list.open { transform: translateY(0); }
  .nav-list a { padding: 14px; font-size: 1.05rem; }
  .nav-cta { margin-top: 8px; text-align: center; }
  .hero { min-height: clamp(480px, 78vh, 640px); }
  .hero-content { padding-block: 84px 64px; }
}
@media (max-width: 520px) {
  body { font-size: 16px; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
  .hero-actions .btn, .cta-actions .btn, .ef-actions .btn { width: 100%; }
  .step { gap: 14px; padding: 18px; }
  .step-num { width: 42px; height: 42px; font-size: 1.2rem; }
  .ef-top { flex-wrap: wrap; }
}

/* REDUCED MOTION */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .hb-fill { transition: none; }
  .hero-scroll { animation: none; }
  .ef-pulse { animation: none; }
}
