/* ==========================================================================
   eucode.org — European IT Community
   Hand-written, dependency-free stylesheet.
   ========================================================================== */

@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("../fonts/plus-jakarta-sans-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, 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: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("../fonts/plus-jakarta-sans-latin.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;
}

:root {
  /* Brand — taken from the eucode logo */
  --navy-950: #050d22;
  --navy-900: #081430;
  --navy-800: #0d1f47;
  --navy-700: #15306a;
  --blue-600: #1f5fd1;
  --blue-500: #2f74e6;
  --blue-400: #5aa0f2;
  --blue-100: #e3edfd;
  --yellow-400: #ffc52e;
  --yellow-300: #ffd666;

  --ink: #0b1630;
  --ink-soft: #46546f;
  --ink-mute: #6b7891;
  --line: #e2e7f0;
  --surface: #ffffff;
  --surface-2: #f4f7fc;

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 1px 2px rgba(11, 22, 48, .06), 0 2px 8px rgba(11, 22, 48, .05);
  --shadow: 0 10px 30px -10px rgba(11, 22, 48, .18);
  --shadow-lg: 0 30px 60px -20px rgba(8, 20, 48, .35);

  --container: 1200px;
  --gutter: clamp(1.25rem, 4vw, 2rem);
  --section-y: clamp(4.5rem, 10vw, 8rem);
  --header-h: 72px;

  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, picture { display: block; max-width: 100%; height: auto; }
a { color: var(--blue-600); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--blue-500); }
h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.15; letter-spacing: -.02em; font-weight: 750; color: inherit; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
button, input, textarea, select { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--yellow-400); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--yellow-400); color: var(--navy-950); }

.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 1000;
  background: var(--yellow-400); color: var(--navy-950); padding: .75rem 1.25rem; border-radius: var(--radius-sm); font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: 1rem; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-y); position: relative; }
.section--alt { background: var(--surface-2); }
.section--dark { background: var(--navy-900); color: #fff; }

/* ---------- Typography helpers ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  font-size: .8125rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--blue-600); margin-bottom: 1rem;
}
.eyebrow::before { content: ""; width: 24px; height: 2px; background: currentColor; border-radius: 2px; }
.section--dark .eyebrow, .hero .eyebrow { color: var(--yellow-400); }
.h-display { font-size: clamp(2.6rem, 7vw, 5rem); font-weight: 800; letter-spacing: -.035em; line-height: 1.02; }
.h-section { font-size: clamp(2rem, 4.4vw, 3.1rem); font-weight: 800; letter-spacing: -.03em; }
.lead { font-size: clamp(1.1rem, 1.8vw, 1.3rem); color: var(--ink-soft); line-height: 1.6; }
.section--dark .lead, .hero .lead, .page-hero .lead { color: #c3cfe6; }
.text-accent { color: var(--yellow-400); }
.text-blue { color: var(--blue-600); }
.section-head { max-width: 720px; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow::after { content: ""; width: 24px; height: 2px; background: currentColor; border-radius: 2px; }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--blue-600); --fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 52px; padding: .85rem 1.6rem;
  background: var(--bg); color: var(--fg);
  border: 2px solid transparent; border-radius: 999px;
  font-weight: 700; font-size: 1rem; line-height: 1; text-decoration: none; white-space: nowrap;
  cursor: pointer; transition: transform .2s var(--ease), box-shadow .2s var(--ease), background-color .2s, color .2s, border-color .2s;
}
.btn:hover { color: var(--fg); transform: translateY(-2px); box-shadow: 0 12px 24px -10px rgba(31, 95, 209, .6); background: var(--blue-500); }
.btn:active { transform: translateY(0); }
.btn svg { width: 18px; height: 18px; transition: transform .2s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn--yellow { --bg: var(--yellow-400); --fg: var(--navy-950); }
.btn--yellow:hover { background: var(--yellow-300); box-shadow: 0 12px 28px -10px rgba(255, 197, 46, .6); }
.btn--ghost { --bg: transparent; --fg: #fff; border-color: rgba(255, 255, 255, .28); }
.btn--ghost:hover { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .5); box-shadow: none; }
.btn--outline { --bg: transparent; --fg: var(--ink); border-color: var(--line); }
.btn--outline:hover { background: var(--surface-2); border-color: var(--blue-400); box-shadow: none; color: var(--ink); }
.btn--block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 100; height: var(--header-h);
  transition: background-color .3s, box-shadow .3s, backdrop-filter .3s;
}
.site-header.is-scrolled, .site-header--solid {
  background: rgba(5, 13, 34, .82);
  -webkit-backdrop-filter: saturate(160%) blur(14px); backdrop-filter: saturate(160%) blur(14px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .06);
}
.site-header .container { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.brand { display: inline-flex; align-items: center; gap: .7rem; color: #fff; text-decoration: none; font-weight: 800; font-size: 1.25rem; letter-spacing: -.02em; }
.brand:hover { color: #fff; }
.brand img { width: 40px; height: 40px; }
.brand span b { color: var(--yellow-400); font-weight: 800; }

.nav { display: flex; align-items: center; gap: .25rem; }
.nav a {
  position: relative; padding: .55rem .9rem; border-radius: 999px;
  color: #d6e0f3; font-weight: 600; font-size: .95rem; text-decoration: none; transition: color .2s, background-color .2s;
}
.nav a:hover, .nav a[aria-current="true"] { color: #fff; background: rgba(255, 255, 255, .08); }
.nav .btn { margin-left: .75rem; min-height: 44px; padding: .65rem 1.2rem; font-size: .95rem; }
.nav .btn, .nav .btn:hover { color: var(--navy-950); }
.nav .btn:hover { background: var(--yellow-300); }

.nav-toggle {
  display: none; width: 46px; height: 46px; border: 0; border-radius: 12px; background: rgba(255, 255, 255, .08);
  cursor: pointer; position: relative; z-index: 120;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  position: absolute; left: 50%; width: 20px; height: 2px; margin-left: -10px; background: #fff; border-radius: 2px; transition: transform .3s var(--ease), opacity .2s;
}
.nav-toggle span { top: 50%; margin-top: -1px; }
.nav-toggle span::before, .nav-toggle span::after { content: ""; left: 0; margin-left: 0; }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav-open .nav-toggle span { background: transparent; }
.nav-open .nav-toggle span::before { transform: translateY(6px) rotate(45deg); }
.nav-open .nav-toggle span::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 920px) {
  .nav-toggle { display: block; }
  .nav {
    position: fixed; inset: 0; z-index: 110;
    flex-direction: column; align-items: stretch; justify-content: center; gap: .25rem;
    padding: calc(var(--header-h) + 1rem) var(--gutter) 2rem;
    background: var(--navy-950);
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .3s var(--ease), transform .3s var(--ease), visibility 0s linear .3s;
  }
  .nav-open .nav { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
  .nav a { font-size: 1.6rem; font-weight: 700; padding: .8rem 1rem; color: #fff; border-radius: var(--radius); }
  .nav .btn { margin: 1.5rem 0 0; min-height: 56px; font-size: 1.1rem; }
  .nav-open { overflow: hidden; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  min-height: min(100svh, 920px);
  display: flex; align-items: center;
  padding: calc(var(--header-h) + 3rem) 0 5rem;
  background:
    radial-gradient(1000px 600px at 85% 10%, rgba(31, 95, 209, .45), transparent 60%),
    radial-gradient(700px 500px at 0% 100%, rgba(47, 116, 230, .22), transparent 60%),
    linear-gradient(180deg, var(--navy-950), var(--navy-900) 60%, var(--navy-800));
  color: #fff;
}
.hero::before { /* subtle grid */
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .35;
  background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse at 70% 40%, #000 20%, transparent 70%); mask-image: radial-gradient(ellipse at 70% 40%, #000 20%, transparent 70%);
}
.hero__grid { display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: clamp(2rem, 5vw, 4rem); }
.hero h1 { margin-bottom: 1.5rem; }
.hero h1 .line { display: block; }
.hero .lead { max-width: 560px; margin-bottom: 2.25rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .9rem; }
.hero__meta { display: flex; flex-wrap: wrap; gap: 1.75rem; margin-top: 3rem; padding-top: 2rem; border-top: 1px solid rgba(255, 255, 255, .1); max-width: 560px; }
.hero__meta div { display: flex; flex-direction: column; }
.hero__meta strong { font-size: 1.8rem; font-weight: 800; line-height: 1.1; color: #fff; }
.hero__meta span { font-size: .9rem; color: #9fb0cf; }

.hero__visual { position: relative; aspect-ratio: 1; width: 100%; max-width: 480px; margin-inline: auto; }
.stars { position: absolute; inset: 0; animation: spin 90s linear infinite; }
.stars svg { width: 100%; height: 100%; }
.hero__logo {
  position: absolute; inset: 24%; display: grid; place-items: center;
  border-radius: 50%; background: radial-gradient(circle, rgba(255, 255, 255, .1), rgba(255, 255, 255, .02) 70%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08), 0 40px 80px -20px rgba(31, 95, 209, .6);
}
.hero__logo img { width: 72%; height: auto; filter: drop-shadow(0 12px 30px rgba(0, 0, 0, .35)); }
.hero__chip {
  position: absolute; display: inline-flex; align-items: center; gap: .5rem;
  padding: .6rem 1rem; border-radius: 999px; font-size: .875rem; font-weight: 700; white-space: nowrap;
  background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); color: #fff;
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  animation: float 6s ease-in-out infinite;
}
.hero__chip i { width: 8px; height: 8px; border-radius: 50%; background: var(--yellow-400); box-shadow: 0 0 0 4px rgba(255, 197, 46, .2); }
.hero__chip--1 { top: 12%; left: -4%; }
.hero__chip--2 { top: 48%; right: -8%; animation-delay: -2s; }
.hero__chip--3 { bottom: 10%; left: 6%; animation-delay: -4s; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

@media (max-width: 920px) {
  .hero { min-height: auto; padding-top: calc(var(--header-h) + 2.5rem); }
  .hero__grid { grid-template-columns: 1fr; }
  .hero__visual { max-width: 340px; order: -1; }
  .hero__chip { font-size: .8rem; }
  .hero__chip--1 { left: -2%; }
  .hero__chip--2 { right: -4%; }
}
@media (max-width: 480px) {
  .hero__visual { max-width: 260px; }
  .hero__chip { display: none; }
  .hero__actions .btn { flex: 1 1 100%; }
}

/* ---------- Pillars ---------- */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.card {
  position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(1.75rem, 3vw, 2.25rem); box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #cfdaf0; }
.card h3 { font-size: 1.35rem; margin-bottom: .6rem; }
.card p { color: var(--ink-soft); margin: 0; }
.icon-badge {
  width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 1.5rem;
  background: linear-gradient(135deg, var(--blue-600), var(--blue-400)); color: #fff;
  box-shadow: 0 10px 20px -8px rgba(31, 95, 209, .55);
}
.icon-badge svg { width: 28px; height: 28px; }
.icon-badge--yellow { background: linear-gradient(135deg, #f5a900, var(--yellow-400)); color: var(--navy-950); box-shadow: 0 10px 20px -8px rgba(245, 169, 0, .5); }
.icon-badge--navy { background: linear-gradient(135deg, var(--navy-800), var(--navy-700)); box-shadow: 0 10px 20px -8px rgba(13, 31, 71, .55); }
@media (max-width: 900px) { .pillars { grid-template-columns: 1fr; } }
@media (min-width: 600px) and (max-width: 900px) { .pillars { grid-template-columns: 1fr 1fr; } .pillars .card:last-child { grid-column: 1 / -1; } }

/* ---------- Split (business) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 6vw, 5rem); align-items: center; }
.split__panel {
  position: relative; border-radius: var(--radius-lg); overflow: hidden; min-height: 420px; padding: 2rem;
  background:
    radial-gradient(500px 300px at 100% 0%, rgba(90, 160, 242, .45), transparent 60%),
    linear-gradient(160deg, var(--navy-800), var(--navy-950));
  color: #fff; display: flex; flex-direction: column; justify-content: flex-end; box-shadow: var(--shadow-lg);
}
.split__panel .network { position: absolute; inset: 0 0 auto; width: 100%; height: 68%; opacity: .9; }
.split__panel .quote { position: relative; font-size: 1.35rem; font-weight: 700; line-height: 1.35; max-width: 22ch; }
.split__panel .quote small { display: block; margin-top: .75rem; font-size: .9rem; font-weight: 600; color: var(--yellow-400); }
.checklist { list-style: none; display: grid; gap: .9rem; margin: 1.75rem 0 2.25rem; }
.checklist li { display: flex; gap: .8rem; align-items: flex-start; color: var(--ink-soft); }
.checklist svg { flex: none; width: 24px; height: 24px; margin-top: 1px; color: var(--blue-600); }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } .split__panel { min-height: 320px; } }

/* ---------- Process / technologies ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; counter-reset: step; }
.step {
  position: relative; padding: 2.25rem 2rem 2rem; border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .02));
  border: 1px solid rgba(255, 255, 255, .1); overflow: hidden;
  transition: transform .3s var(--ease), border-color .3s, background-color .3s;
}
.step:hover { transform: translateY(-4px); border-color: rgba(255, 197, 46, .45); }
.step__num {
  display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; margin-bottom: 1.5rem;
  font-weight: 800; font-size: 1.1rem; color: var(--navy-950); background: var(--yellow-400);
}
.step h3 { font-size: 1.4rem; color: #fff; }
.step p { color: #b6c3dc; margin: 0; }
.step__bg { position: absolute; right: -20px; bottom: -30px; width: 160px; height: 160px; color: rgba(90, 160, 242, .12); pointer-events: none; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Services / locations ---------- */
.services { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.audience { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 2rem; }
.audience div { padding: 1.25rem; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.audience strong { display: block; font-size: 1.05rem; margin-bottom: .25rem; }
.audience span { font-size: .925rem; color: var(--ink-mute); line-height: 1.5; display: block; }
.locations {
  border-radius: var(--radius-lg); padding: clamp(1.75rem, 3vw, 2.5rem);
  background: linear-gradient(160deg, var(--blue-600), #1748a8); color: #fff; box-shadow: var(--shadow-lg); position: relative; overflow: hidden;
}
.locations::after { content: ""; position: absolute; width: 280px; height: 280px; right: -90px; top: -90px; border-radius: 50%; border: 40px solid rgba(255, 255, 255, .07); }
.locations__count { font-size: clamp(3.5rem, 8vw, 5rem); font-weight: 800; line-height: 1; letter-spacing: -.04em; color: var(--yellow-400); }
.locations__label { font-weight: 700; font-size: 1.1rem; margin: .4rem 0 1.5rem; }
.city-list { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; position: relative; z-index: 1; }
.city-list li { display: inline-flex; align-items: center; gap: .45rem; padding: .5rem .9rem; border-radius: 999px; background: rgba(255, 255, 255, .12); font-weight: 600; font-size: .95rem; }
.city-list li svg { width: 14px; height: 14px; color: var(--yellow-400); }
.city-list li.more { background: transparent; border: 1px dashed rgba(255, 255, 255, .35); }
@media (max-width: 900px) { .services { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .audience { grid-template-columns: 1fr; } }

/* ---------- Plans ---------- */
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 420px)); justify-content: center; gap: 1.5rem; }
.plan {
  display: flex; flex-direction: column; padding: clamp(2rem, 4vw, 2.75rem); border-radius: var(--radius-lg);
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); position: relative;
}
.plan--featured { background: linear-gradient(170deg, var(--navy-800), var(--navy-950)); color: #fff; border-color: transparent; box-shadow: var(--shadow-lg); }
.plan__badge { align-self: flex-start; margin-bottom: 1rem; padding: .35rem .8rem; border-radius: 999px; font-size: .75rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; background: var(--yellow-400); color: var(--navy-950); }
.plan__name { font-size: 1.3rem; margin-bottom: .25rem; }
.plan__for { color: var(--ink-mute); font-weight: 600; font-size: .95rem; }
.plan--featured .plan__for { color: #9fb0cf; }
.plan__price { display: flex; align-items: baseline; gap: .4rem; margin: 1.75rem 0 .25rem; }
.plan__price strong { font-size: clamp(2.8rem, 6vw, 3.5rem); font-weight: 800; letter-spacing: -.04em; line-height: 1; }
.plan__price span { color: var(--ink-mute); font-weight: 600; }
.plan--featured .plan__price span { color: #9fb0cf; }
.plan__list { list-style: none; display: grid; gap: .85rem; margin: 1.75rem 0 2rem; padding-top: 1.75rem; border-top: 1px solid var(--line); flex: 1; }
.plan--featured .plan__list { border-color: rgba(255, 255, 255, .12); }
.plan__list li { display: flex; gap: .7rem; align-items: center; }
.plan__list svg { flex: none; width: 22px; height: 22px; color: var(--blue-600); }
.plan--featured .plan__list svg { color: var(--yellow-400); }
@media (max-width: 760px) { .plans { grid-template-columns: 1fr; } }

/* ---------- Values ---------- */
.values { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.value-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.value-grid div { padding: 1.5rem; border-radius: var(--radius); background: var(--surface-2); border: 1px solid var(--line); }
.value-grid strong { display: block; font-size: 1.1rem; margin-bottom: .3rem; }
.value-grid span { color: var(--ink-mute); font-size: .95rem; line-height: 1.5; display: block; }
@media (max-width: 900px) { .values { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .value-grid { grid-template-columns: 1fr; } }

/* ---------- News ---------- */
.news-head { display: flex; align-items: end; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; margin-bottom: clamp(2rem, 4vw, 3rem); }
.news-head .section-head { margin-bottom: 0; }
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.news-grid--featured { grid-template-columns: 1.3fr 1fr 1fr; }
.post-card {
  display: flex; flex-direction: column; background: var(--surface); border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--line); box-shadow: var(--shadow-sm); text-decoration: none; color: inherit;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); color: inherit; }
.post-card__media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--navy-800); }
.post-card__media img, .post-card__media svg { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.post-card:hover .post-card__media img, .post-card:hover .post-card__media svg { transform: scale(1.04); }
.post-card__body { display: flex; flex-direction: column; flex: 1; padding: 1.5rem 1.5rem 1.75rem; }
.post-meta { display: flex; align-items: center; flex-wrap: wrap; gap: .4rem .75rem; font-size: .85rem; color: var(--ink-mute); margin-bottom: .75rem; }
.tag { display: inline-block; padding: .25rem .65rem; border-radius: 999px; background: var(--blue-100); color: var(--blue-600); font-weight: 700; font-size: .75rem; letter-spacing: .04em; text-transform: uppercase; }
.post-card h3 { font-size: 1.2rem; line-height: 1.3; margin-bottom: .6rem; }
.post-card p { color: var(--ink-soft); font-size: .975rem; margin-bottom: 1.25rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.read-more { margin-top: auto; display: inline-flex; align-items: center; gap: .4rem; font-weight: 700; color: var(--blue-600); font-size: .95rem; }
.read-more svg { width: 16px; height: 16px; transition: transform .2s var(--ease); }
.post-card:hover .read-more svg { transform: translateX(4px); }
.news-grid--featured .post-card:first-child .post-card__media { aspect-ratio: 16 / 11; }
.news-grid--featured .post-card:first-child .post-card__media img { object-position: center 25%; }
.news-grid--featured .post-card:first-child h3 { font-size: 1.45rem; }
@media (max-width: 1000px) { .news-grid, .news-grid--featured { grid-template-columns: 1fr 1fr; } .news-grid--featured .post-card:first-child { grid-column: 1 / -1; } }
@media (max-width: 640px) { .news-grid, .news-grid--featured { grid-template-columns: 1fr; } }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.contact-info { display: grid; gap: 1rem; margin-top: 2rem; }
.contact-item { display: flex; gap: 1rem; align-items: center; padding: 1.1rem 1.25rem; border-radius: var(--radius); background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); color: #fff; text-decoration: none; transition: background-color .2s, border-color .2s; }
a.contact-item:hover { background: rgba(255, 255, 255, .09); border-color: rgba(255, 197, 46, .5); color: #fff; }
.contact-item .icon { flex: none; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: rgba(255, 197, 46, .14); color: var(--yellow-400); }
.contact-item .icon svg { width: 22px; height: 22px; }
.contact-item small { display: block; color: #9fb0cf; font-size: .8rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; }
.contact-item span { font-weight: 700; word-break: break-word; }
.socials { display: flex; gap: .6rem; margin-top: 1.5rem; }
.socials a { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 12px; background: rgba(255, 255, 255, .07); color: #fff; transition: background-color .2s, color .2s, transform .2s; }
.socials a:hover { background: var(--yellow-400); color: var(--navy-950); transform: translateY(-2px); }
.socials svg { width: 20px; height: 20px; }

.form-card { background: var(--surface); color: var(--ink); border-radius: var(--radius-lg); padding: clamp(1.5rem, 4vw, 2.5rem); box-shadow: var(--shadow-lg); }
.form-card h3 { font-size: 1.5rem; margin-bottom: .35rem; }
.form-card > p { color: var(--ink-mute); margin-bottom: 1.75rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { display: flex; flex-direction: column; gap: .4rem; }
.field--full { grid-column: 1 / -1; }
.field label { font-weight: 700; font-size: .9rem; }
.field label .opt { font-weight: 500; color: var(--ink-mute); }
.field input, .field textarea, .field select {
  width: 100%; padding: .85rem 1rem; border: 1.5px solid var(--line); border-radius: 12px; background: var(--surface-2);
  font-size: 1rem; transition: border-color .2s, background-color .2s, box-shadow .2s;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--blue-500); background: #fff; box-shadow: 0 0 0 4px rgba(47, 116, 230, .15); }
.field input:user-invalid, .field textarea:user-invalid { border-color: #d93a3a; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.consent { display: flex; gap: .7rem; align-items: flex-start; font-size: .9rem; color: var(--ink-soft); grid-column: 1 / -1; }
.consent input { width: 20px; height: 20px; margin-top: 2px; flex: none; accent-color: var(--blue-600); }
.form-actions { grid-column: 1 / -1; margin-top: .5rem; }
.form-status { grid-column: 1 / -1; display: none; padding: .9rem 1.1rem; border-radius: 12px; font-weight: 600; font-size: .95rem; }
.form-status.is-success { display: block; background: #e6f6ec; color: #13703a; }
.form-status.is-error { display: block; background: #fdecec; color: #a42222; }
.btn[aria-busy="true"] { opacity: .7; pointer-events: none; }
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .form-grid { grid-template-columns: 1fr; } }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative; overflow: hidden; border-radius: var(--radius-lg);
  padding: clamp(2.5rem, 6vw, 4.5rem); text-align: center; color: var(--navy-950);
  background: linear-gradient(120deg, var(--yellow-400), #ffdb7a);
}
.cta-band h2 { font-size: clamp(1.9rem, 4.5vw, 3rem); font-weight: 800; letter-spacing: -.03em; margin-bottom: .75rem; }
.cta-band p { font-size: 1.15rem; max-width: 560px; margin: 0 auto 2rem; color: #3d3311; }
.cta-band .btn { --bg: var(--navy-950); --fg: #fff; }
.cta-band .btn:hover { background: var(--navy-800); box-shadow: 0 12px 24px -10px rgba(5, 13, 34, .6); }
.cta-band__stars { position: absolute; inset: auto -60px -120px auto; width: 300px; height: 300px; opacity: .25; color: var(--navy-950); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-950); color: #9fb0cf; padding: 4.5rem 0 2rem; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2.5rem; padding-bottom: 3rem; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.footer-grid h4 { color: #fff; font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 1.1rem; }
.footer-grid ul { list-style: none; display: grid; gap: .6rem; }
.footer-grid a { color: #9fb0cf; text-decoration: none; }
.footer-grid a:hover { color: var(--yellow-400); }
.footer-about p { margin-top: 1rem; max-width: 320px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding-top: 1.75rem; font-size: .875rem; }
.footer-bottom a { color: #9fb0cf; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-about { grid-column: 1 / -1; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  padding: calc(var(--header-h) + clamp(3rem, 7vw, 5rem)) 0 clamp(3rem, 6vw, 4.5rem);
  background: radial-gradient(800px 400px at 90% 0%, rgba(31, 95, 209, .45), transparent 60%), linear-gradient(180deg, var(--navy-950), var(--navy-900));
  color: #fff;
}
.page-hero h1 { font-size: clamp(2.1rem, 5vw, 3.6rem); font-weight: 800; letter-spacing: -.03em; max-width: 22ch; }
.page-hero .lead { max-width: 640px; margin: 0; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: .5rem; font-size: .875rem; color: #9fb0cf; margin-bottom: 1.5rem; list-style: none; }
.breadcrumbs a { color: #c3cfe6; text-decoration: none; }
.breadcrumbs a:hover { color: var(--yellow-400); }
.breadcrumbs li + li::before { content: "/"; margin-right: .5rem; opacity: .5; }
.page-hero .post-meta { color: #9fb0cf; margin: 0 0 1.25rem; }
.page-hero .tag { background: rgba(255, 197, 46, .16); color: var(--yellow-400); }

/* ---------- Article ---------- */
.article-wrap { display: grid; grid-template-columns: minmax(0, 720px) 280px; justify-content: center; gap: clamp(2rem, 5vw, 4rem); }
.article-cover { margin: calc(-1 * clamp(1.5rem, 4vw, 2.5rem)) 0 2.5rem; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); background: var(--navy-800); }
.article-cover img, .article-cover svg { width: 100%; height: auto; max-height: 560px; object-fit: cover; object-position: center 20%; }
.prose { font-size: 1.125rem; line-height: 1.8; color: #1f2b45; }
.prose > :first-child { margin-top: 0; }
.prose p { margin: 0 0 1.4em; }
.prose .intro { font-size: 1.3rem; line-height: 1.6; color: var(--ink); font-weight: 500; }
.prose h2, .prose h3 { margin: 2.2em 0 .7em; color: var(--ink); }
.prose h2 { font-size: 1.75rem; }
.prose h3 { font-size: 1.45rem; }
.prose ul, .prose ol { margin: 0 0 1.5em; padding-left: 1.4em; }
.prose li { margin-bottom: .55em; padding-left: .25em; }
.prose li > p { margin: 0 0 .4em; }
.prose li::marker { color: var(--blue-600); font-weight: 700; }
.prose li > ul { margin: .5em 0 0; }
.prose strong { color: var(--ink); font-weight: 700; }
.prose .note { padding: 1.1rem 1.3rem; border-left: 4px solid var(--yellow-400); background: #fff8e3; border-radius: 0 12px 12px 0; font-size: 1rem; color: #5a4a14; }
.article-aside { position: sticky; top: calc(var(--header-h) + 1.5rem); align-self: start; display: grid; gap: 1.25rem; margin-top: 2rem; }
.aside-card { padding: 1.5rem; border-radius: var(--radius); background: var(--surface-2); border: 1px solid var(--line); }
.aside-card h4 { font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-mute); margin-bottom: 1rem; }
.share { display: flex; gap: .5rem; flex-wrap: wrap; }
.share a, .share button { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 10px; border: 1px solid var(--line); background: #fff; color: var(--ink); cursor: pointer; transition: border-color .2s, color .2s; }
.share a:hover, .share button:hover { border-color: var(--blue-500); color: var(--blue-600); }
.share svg { width: 18px; height: 18px; }
.aside-card--cta { background: linear-gradient(160deg, var(--navy-800), var(--navy-950)); color: #fff; border: 0; }
.aside-card--cta h4 { color: var(--yellow-400); }
.aside-card--cta p { color: #c3cfe6; font-size: .95rem; }
.article-footer { margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
@media (max-width: 1000px) { .article-wrap { grid-template-columns: minmax(0, 720px); } .article-aside { position: static; grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .article-aside { grid-template-columns: 1fr; } .prose { font-size: 1.0625rem; } .prose .intro { font-size: 1.15rem; } }

/* ---------- Legal / simple pages ---------- */
.legal { max-width: 760px; margin-inline: auto; }
.legal h2 { font-size: 1.4rem; margin-top: 2.2em; }
.legal p, .legal li { color: var(--ink-soft); }
.legal ul { padding-left: 1.3em; margin-bottom: 1.2em; }

.error-page { min-height: 100svh; display: grid; place-items: center; text-align: center; padding: 6rem var(--gutter) 3rem; background: linear-gradient(180deg, var(--navy-950), var(--navy-800)); color: #fff; }
.error-page .code { font-size: clamp(6rem, 22vw, 11rem); font-weight: 800; line-height: 1; letter-spacing: -.06em; background: linear-gradient(120deg, var(--yellow-400), var(--blue-400)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.error-page p { color: #c3cfe6; max-width: 460px; margin: 1rem auto 2rem; }

/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.js .reveal[data-delay="1"] { transition-delay: .1s; }
.js .reveal[data-delay="2"] { transition-delay: .2s; }
.js .reveal[data-delay="3"] { transition-delay: .3s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}

@media print {
  .site-header, .site-footer, .article-aside, .cta-band, .nav-toggle { display: none !important; }
  .page-hero { background: none; color: #000; padding-top: 1rem; }
  body { font-size: 12pt; }
}
