/* FF Schneider site styles. No build step: plain CSS. */

@font-face {
  font-family: "Exo";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("../fonts/exo-latin-var.woff2") format("woff2");
}
@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-display: swap;
  font-weight: 200 900;
  src: url("../fonts/source-sans-3-latin-var.woff2") format("woff2");
}

:root {
  --bg: #0F1419;
  --bg-alt: #121A23;
  --surface: #1A2332;
  --surface-2: #141C27;
  --border: #243245;
  --line: #1F2A37;
  --input-border: #334155;
  --text: #FFFFFF;
  --text-2: #CBD5E1;
  --text-3: #E2E8F0;
  --muted: #A9B7C6;
  --muted-2: #8A9BAE;
  --accent: #2563EB;
  --accent-hover: #1D4ED8;
  --link: #60A5FA;
  --link-hover: #93C5FD;
  --ok: #86EFAC;
  --ok-bg: rgba(34, 197, 94, 0.16);
  --radius: 12px;
  --header-h: 72px;
  --font-body: "Source Sans 3", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-head: "Exo", var(--font-body);
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
}

h1, h2, h3 { font-family: var(--font-head); margin: 0; line-height: 1.2; }
p { margin: 0; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--link); text-decoration: none; }
a:hover { color: var(--link-hover); }
:focus-visible { outline: 2px solid var(--link); outline-offset: 3px; border-radius: 4px; }
[id] { scroll-margin-top: calc(var(--header-h) + 8px); }

.wrap { max-width: 1200px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }

.skip-link {
  position: absolute; left: 16px; top: -48px; z-index: 100;
  background: var(--accent); color: #fff; padding: 10px 16px; border-radius: 8px;
}
.skip-link:focus { top: 12px; color: #fff; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 26px; border-radius: 8px;
  font: 600 18px/1.2 var(--font-body); cursor: pointer; border: 1px solid transparent;
  transition: background-color .2s ease, color .2s ease, transform .2s ease;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-hover); color: #fff; transform: translateY(-1px); }
.btn-outline { border-color: var(--link); color: var(--link); background: transparent; }
.btn-outline:hover { background: rgba(96, 165, 250, 0.1); color: var(--link-hover); }
.btn-sm { min-height: 44px; padding: 10px 18px; font-size: 15px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(15, 20, 25, 0.94);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: var(--header-h); }
.brand img { height: 36px; width: auto; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a { color: var(--text-2); font-size: 16px; }
.nav a:hover { color: #fff; }
.header-actions { display: flex; align-items: center; gap: 18px; }
.lang { font-size: 14px; color: var(--muted-2); white-space: nowrap; }
.lang strong { color: #fff; }
.lang a { color: var(--muted-2); }
.lang a:hover { color: #fff; }
.nav-toggle {
  display: none; width: 44px; height: 44px; border-radius: 8px;
  background: transparent; border: 1px solid var(--input-border); color: #fff; cursor: pointer;
  align-items: center; justify-content: center;
}

@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px 24px 16px;
  }
  .nav.open { display: flex; }
  .nav a { padding: 12px 0; font-size: 18px; border-bottom: 1px solid var(--line); }
  .header-actions .btn-book { display: none; }
}

/* Hero */
.hero { display: flex; flex-wrap: wrap; align-items: center; gap: 56px; padding-top: 88px; padding-bottom: 80px; }
.hero-text { flex: 1 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.kicker { font-size: 15px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--link); }
.hero h1 { font-size: clamp(2.25rem, 5vw, 3.5rem); line-height: 1.1; font-weight: 700; }
.hero h1 span { color: var(--link); }
.lead { font-size: 20px; color: var(--muted); max-width: 620px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 16px; }
.areas { font-size: 15px; color: var(--muted-2); }
.hero-figure { flex: 1 1 340px; min-width: 0; max-width: 440px; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.hero-figure img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 16px; }
figcaption { font-size: 14px; color: var(--muted-2); }

/* Stats strip */
.stats-band { background: var(--bg-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 32px; padding-top: 36px; padding-bottom: 36px; }
.stat-value { font-family: var(--font-head); font-size: 30px; font-weight: 700; line-height: 1.3; }
.stat-label { color: var(--muted); font-size: 15px; }

/* Sections */
.section { padding-top: 96px; padding-bottom: 96px; }
.section-alt { background: var(--bg-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { display: flex; flex-direction: column; gap: 12px; max-width: 760px; margin-bottom: 40px; }
.section-head h2, .section h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); font-weight: 700; }
.section-head p { font-size: 18px; color: var(--muted); }

/* Service cards */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 24px; }
.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px; display: flex; flex-direction: column; gap: 12px;
}
.card h3 { font-size: 21px; font-weight: 600; }
.card p { color: var(--muted); font-size: 16px; }
.card .card-foot { margin-top: auto; padding-top: 12px; border-top: 1px solid var(--border); color: var(--text-3); font-size: 15px; }
.card-foot strong { color: var(--link); }
.icon { width: 32px; height: 32px; color: var(--link); flex: none; }

.chips { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 40px; }
.chips-label { font-size: 14px; color: var(--muted-2); margin-right: 6px; }
.chip { border: 1px solid var(--input-border); border-radius: 999px; padding: 6px 14px; font-size: 14px; color: var(--text-3); }

/* Process */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 28px; }
.steps li { display: flex; flex-direction: column; gap: 10px; border-top: 2px solid var(--accent); padding-top: 20px; }
.step-num { font-family: var(--font-head); font-size: 15px; font-weight: 700; color: var(--link); }
.steps h3 { font-size: 20px; font-weight: 600; }
.steps p { color: var(--muted); }

/* Projects */
.projects { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 24px; }
.project { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.project-media { height: 220px; background: var(--surface-2); display: flex; align-items: center; justify-content: center; padding: 16px; }
.project-media img { max-width: 100%; max-height: 100%; width: auto; object-fit: contain; }
.project-body { padding: 24px; display: flex; flex-direction: column; gap: 10px; flex-grow: 1; }
.project h3 { font-size: 20px; font-weight: 600; }
.project p { color: var(--muted); font-size: 16px; }
.project .roles { font-size: 14px; color: var(--muted-2); }
.roles strong { color: var(--text-2); }
.project-link { margin-top: auto; padding-top: 8px; font-size: 15px; font-weight: 600; }
.project-nda { margin-top: auto; padding-top: 8px; font-size: 15px; color: var(--text-2); display: flex; align-items: center; gap: 8px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag { font-size: 13px; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: var(--border); color: var(--text-2); }
.tag-ok { background: var(--ok-bg); color: var(--ok); }
.more {
  margin-top: 24px; background: var(--bg-alt); border: 1px dashed var(--input-border); border-radius: var(--radius);
  padding: 24px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px;
}
.more p { font-weight: 600; margin-right: 8px; }

/* About */
.about { display: flex; flex-wrap: wrap; gap: 56px; align-items: flex-start; }
.about-photo { flex: 1 1 360px; min-width: 0; margin: 0; }
.about-photo img { width: 100%; max-width: 420px; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 16px; }
.about-text { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.about-text > p { font-size: 18px; color: var(--text-2); }
.creds { list-style: none; padding: 0; margin: 6px 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 10px 28px; font-size: 16px; }
.creds li { position: relative; padding-left: 22px; }
.creds li::before { content: ""; position: absolute; left: 0; top: .55em; width: 10px; height: 10px; border-radius: 50%; background: var(--accent); }
.about-text .closing { font-size: 17px; font-style: italic; color: var(--text-2); border-top: 1px solid var(--border); padding-top: 18px; margin-top: 6px; }

/* FAQ */
.faq { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); gap: 32px 56px; }
.faq h3 { font-size: 19px; font-weight: 600; margin-bottom: 8px; }
.faq p { color: var(--muted); }

/* Contact */
.contact { display: flex; flex-wrap: wrap; gap: 56px; }
.contact-text { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.contact-text > p { font-size: 18px; color: var(--muted); }
.contact-links { display: flex; flex-direction: column; gap: 10px; font-size: 17px; }
.contact-links span { color: var(--muted); }
.contact-text .btn { align-self: flex-start; }
.form {
  flex: 1 1 480px; min-width: 0; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 32px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 18px;
}
.form .full { grid-column: 1 / -1; }
.form label { display: flex; flex-direction: column; gap: 6px; font-size: 14px; color: var(--text-2); }
.form input, .form select, .form textarea {
  font: inherit; font-size: 16px; color: #fff; background: var(--bg);
  border: 1px solid var(--input-border); border-radius: 8px; padding: 12px 14px; width: 100%;
}
.form textarea { resize: vertical; min-height: 120px; }
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid var(--link); outline-offset: 1px; border-color: transparent; }
.form .btn { width: 100%; }
.form-status { font-size: 15px; color: var(--text-2); min-height: 1.6em; }
.form-status.error { color: #FCA5A5; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; padding-top: 40px; padding-bottom: 40px; font-size: 14px; color: var(--muted-2); }
.footer-inner img { height: 32px; width: auto; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; }
.linklike { background: none; border: 0; padding: 0; font: inherit; color: var(--link); cursor: pointer; }
.linklike:hover { color: var(--link-hover); }

/* Consent banner */
.consent {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 60;
  max-width: 720px; margin: 0 auto;
  background: var(--surface); border: 1px solid var(--input-border); border-radius: var(--radius);
  padding: 18px 20px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
}
.consent[hidden] { display: none; }
.consent p { flex: 1 1 320px; font-size: 15px; color: var(--text-2); }
.consent-actions { display: flex; gap: 10px; }

/* Simple text pages (privacy) */
.prose { max-width: 760px; padding-top: 72px; padding-bottom: 96px; }
.prose h1 { font-size: clamp(2rem, 4vw, 2.75rem); margin-bottom: 8px; }
.prose h2 { font-size: 22px; margin-top: 40px; margin-bottom: 12px; }
.prose p, .prose li { color: var(--text-2); }
.prose p + p { margin-top: 12px; }
.prose ul { padding-left: 22px; margin: 12px 0 0; }
.prose li + li { margin-top: 6px; }
.prose .updated { color: var(--muted-2); font-size: 15px; }
