/* Cybeurope — static site stylesheet. No external dependencies. */

@font-face { font-family: "Karla"; src: url("../fonts/karla-latin.woff2") format("woff2"); font-weight: 200 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Prompt"; src: url("../fonts/prompt-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Prompt"; src: url("../fonts/prompt-600.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Prompt"; src: url("../fonts/prompt-700.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }

:root {
  --navy: #111b41;
  --ink: #1a202c;
  --text: #4a5568;
  --muted: #718096;
  --line: #e2e8f0;
  --soft: #f4f7fb;
  --white: #ffffff;
  --indigo: #5059a8;
  --cyan: #4cc6ec;
  --blue: #2b6cb0;
  --grad: linear-gradient(100deg, var(--indigo) 0%, var(--cyan) 100%);
  --radius: 14px;
  --wrap: 1140px;
  --heading: "Prompt", system-ui, -apple-system, "Segoe UI", sans-serif;
  --body: "Karla", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--white); color: var(--text); font-family: var(--body); font-size: 17px; line-height: 1.7; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); }
a:hover { color: var(--indigo); }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--heading); color: var(--navy); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.3rem, 5vw, 3.6rem); font-weight: 700; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.5rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 600; }
p { margin: 0 0 1em; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -9999px; top: 0; background: var(--navy); color: #fff; padding: 10px 16px; z-index: 10; }
.skip:focus { left: 16px; top: 16px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 5; background: rgba(255,255,255,.94); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--navy); }
.brand img { width: 44px; height: 44px; }
.brand-name { font-family: var(--heading); font-weight: 700; font-size: 1.45rem; line-height: 1; display: block; }
.brand-tag { font-size: .78rem; color: var(--muted); display: block; margin-top: 3px; }
.nav ul { list-style: none; display: flex; gap: 6px; margin: 0; padding: 0; }
.nav a { display: block; padding: 8px 14px; border-radius: 999px; text-decoration: none; color: var(--ink); font-weight: 600; font-size: .98rem; }
.nav a:hover { background: var(--soft); color: var(--indigo); }
.nav a[aria-current="page"] { background: var(--navy); color: #fff; }

/* Buttons */
.btn { display: inline-block; padding: 14px 28px; border-radius: 999px; background: var(--grad); color: #fff; font-family: var(--heading); font-weight: 600; text-decoration: none; box-shadow: 0 8px 22px rgba(80,89,168,.28); transition: transform .15s ease, box-shadow .15s ease; }
.btn:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 12px 28px rgba(80,89,168,.36); }
.btn-ghost { background: transparent; color: var(--navy); box-shadow: inset 0 0 0 2px var(--navy); }
.btn-ghost:hover { background: var(--navy); color: #fff; box-shadow: none; }
.btn-light { background: #fff; color: var(--navy); box-shadow: none; }
.btn-light:hover { color: var(--indigo); }

/* Sections */
.section { padding: 88px 0; }
.section-soft { background: var(--soft); }
.eyebrow { display: inline-block; font-family: var(--heading); font-weight: 600; font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: 12px; }
.lead { font-size: 1.15rem; color: var(--text); max-width: 60ch; }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }

/* Hero */
.hero { position: relative; overflow: hidden; padding: 96px 0 80px; background:
  radial-gradient(600px 380px at 85% 10%, rgba(76,198,236,.20), transparent 70%),
  radial-gradient(520px 360px at 10% 90%, rgba(80,89,168,.14), transparent 70%), var(--white); }
.hero .wrap { display: grid; grid-template-columns: 1.25fr 1fr; gap: 56px; align-items: center; }
.hero h1 span { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { margin-bottom: 32px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.cert-card { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 32px; text-align: center; box-shadow: 0 24px 60px rgba(17,27,65,.10); }
.cert-card p { margin: 0; font-family: var(--heading); font-weight: 600; color: var(--navy); }
.cert-card img { width: 190px; margin: 18px auto 14px; }
.cert-card small { color: var(--muted); font-size: .9rem; }

/* Team / image grid */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.photo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.photo-grid img { border-radius: var(--radius); aspect-ratio: 1; object-fit: cover; width: 100%; }
.photo-grid img:nth-child(2) { transform: translateY(28px); }
.photo-grid img:nth-child(4) { transform: translateY(28px); }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 44px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 28px; transition: border-color .15s ease, box-shadow .15s ease; }
.card:hover { border-color: rgba(80,89,168,.4); box-shadow: 0 14px 36px rgba(17,27,65,.08); }
.card p { margin: 0; }
.icon { width: 48px; height: 48px; border-radius: 12px; background: var(--grad); display: grid; place-items: center; margin-bottom: 18px; }
.icon svg { width: 24px; height: 24px; stroke: #fff; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* Quote */
.quote { background: var(--navy); color: #fff; text-align: center; }
.quote blockquote { margin: 0 auto; max-width: 820px; font-family: var(--heading); font-weight: 600; font-size: clamp(1.5rem, 3vw, 2.1rem); line-height: 1.3; }
.quote cite { display: block; margin-top: 18px; font-family: var(--body); font-style: normal; color: var(--cyan); font-size: 1rem; letter-spacing: .06em; }
.quote .eyebrow { color: transparent; }
.quote h2 { color: #fff; }

/* CTA */
.cta { background: var(--grad); border-radius: 26px; padding: 64px 48px; color: #fff; text-align: center; }
.cta h2 { color: #fff; }
.cta p { color: rgba(255,255,255,.9); font-size: 1.15rem; margin-bottom: 28px; }

/* Page header */
.page-head { padding: 80px 0 56px; background: radial-gradient(600px 300px at 90% 0%, rgba(76,198,236,.18), transparent 70%), var(--soft); border-bottom: 1px solid var(--line); }
.page-head p { margin: 0; }

/* Prose */
.prose { max-width: 780px; }
.prose h2 { font-size: 1.35rem; margin-top: 2em; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .4em; }

/* Program */
.highlights { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin: 40px 0 0; padding: 0; list-style: none; }
.highlights li { background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--cyan); border-radius: 10px; padding: 18px 20px; color: var(--ink); font-weight: 600; }
.days { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.day { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px 28px; }
.day .when { display: inline-block; font-size: .85rem; font-weight: 700; color: var(--indigo); background: rgba(80,89,168,.1); padding: 4px 12px; border-radius: 999px; margin-bottom: 14px; }
.day p { margin: 0; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; max-width: 820px; }
.contact-card { display: block; text-decoration: none; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px 28px; color: var(--text); }
.contact-card:hover { border-color: var(--indigo); color: var(--text); }
.contact-note { margin-top: 32px; }
.contact-card strong { display: block; font-family: var(--heading); color: var(--navy); font-size: 1.2rem; margin-top: 4px; word-break: break-word; }

/* Footer */
.site-footer { background: var(--navy); color: rgba(255,255,255,.75); padding: 56px 0 32px; margin-top: 0; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: var(--cyan); }
.foot-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 32px; padding-bottom: 32px; border-bottom: 1px solid rgba(255,255,255,.12); }
.foot-brand { display: flex; align-items: center; gap: 12px; color: #fff; font-family: var(--heading); font-weight: 700; font-size: 1.3rem; }
.foot-brand img { width: 40px; height: 40px; background: #fff; border-radius: 50%; padding: 3px; }
.foot-links { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 24px; }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 24px; font-size: .92rem; }

/* 404 */
.notfound { padding: 140px 0; text-align: center; }

/* Responsive */
@media (max-width: 960px) {
  .hero .wrap, .split { grid-template-columns: 1fr; gap: 40px; }
  .cards, .days, .highlights { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .site-header .wrap { flex-direction: column; align-items: flex-start; gap: 6px; padding-top: 12px; padding-bottom: 10px; min-height: 0; }
  .site-header { position: static; }
  .nav ul { flex-wrap: wrap; gap: 0; margin-left: -8px; }
  .nav a { padding: 6px 8px; font-size: .9rem; }
  .section { padding: 64px 0; }
  .hero { padding: 56px 0; }
  .cards, .days, .highlights, .contact-grid { grid-template-columns: 1fr; }
  .cta { padding: 44px 22px; border-radius: 18px; }
  .photo-grid img:nth-child(2), .photo-grid img:nth-child(4) { transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}
