/* =========================================================
   Vykon — site styles
   Colours and sizes live in :root. Change them there.
   ========================================================= */

:root {
  --blue: #004fdb;
  --blue-dark: #003aa8;
  --blue-soft: #eaf1ff;
  --pink: #dc014a;
  --yellow: #ffce16;
  --yellow-soft: #fff7d6;
  --ink: #26262e;
  --text: #555560;
  --muted: #80808c;
  --line: #ececf1;
  --peach: #fff5f0;
  --cream: #fffcf8;
  --mint: #f3f9f9;
  --white: #ffffff;

  --font: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  --container: 1140px;
  --gutter: 20px;
  --radius: 14px;
  --shadow: 0 0 48px -10px rgba(0, 0, 0, 0.12);
  --shadow-hover: 0 22px 48px -18px rgba(0, 50, 140, 0.28);
  --header-h: 76px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; } }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.75;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
[hidden] { display: none !important; }
figure { margin: 0; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-dark); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3, h4, h5 { color: var(--ink); font-weight: 500; line-height: 1.25; margin: 0 0 0.6em; }
h1 { font-size: clamp(30px, 4.2vw, 46px); letter-spacing: -0.01em; }
h2 { font-size: clamp(26px, 3vw, 36px); letter-spacing: -0.01em; }
h3 { font-size: 21px; font-weight: 600; }
p { margin: 0 0 1em; }
address { font-style: normal; }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 800px; margin-left: auto; margin-right: auto; }
.center { text-align: center; }

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

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 15px 34px;
  border-radius: 999px;
  background: var(--blue);
  color: #fff;
  font-size: 14px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  border: 2px solid var(--blue);
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  cursor: pointer;
}
.btn:hover { background: var(--blue-dark); border-color: var(--blue-dark); color: #fff; transform: translateY(-2px); box-shadow: 0 12px 24px -10px rgba(0, 79, 219, 0.6); }
.btn-sm { padding: 11px 24px; font-size: 13px; }
.btn-ghost { background: transparent; color: var(--blue); }
.btn-ghost:hover { background: var(--blue); color: #fff; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  -webkit-backdrop-filter: saturate(180%) blur(10px);
  backdrop-filter: saturate(180%) blur(10px);
  transition: box-shadow 0.2s;
}
.site-header.is-scrolled { box-shadow: 0 6px 24px -12px rgba(0, 0, 0, 0.18); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); }
.brand img { height: 50px; width: auto; }

.site-nav { display: flex; align-items: center; gap: 36px; }
.site-nav ul { display: flex; gap: 32px; list-style: none; margin: 0; padding: 0; }
.site-nav ul a { color: var(--ink); font-size: 13px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; padding: 6px 0; position: relative; }
.site-nav ul a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--blue); transform: scaleX(0); transition: transform 0.2s; }
.site-nav ul a:hover, .site-nav ul a[aria-current="page"] { color: var(--blue); }
.site-nav ul a:hover::after, .site-nav ul a[aria-current="page"]::after { transform: scaleX(1); }

.nav-toggle { display: none; width: 44px; height: 44px; border: 0; background: transparent; padding: 10px; cursor: pointer; border-radius: 8px; }
.nav-toggle span { display: block; height: 2px; background: var(--ink); border-radius: 2px; margin: 5px 0; transition: transform 0.2s, opacity 0.2s; }
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 960px) {
  :root { --header-h: 68px; }
  .brand img { height: 42px; }
  .nav-toggle { display: block; }
  .site-nav {
    display: none;
    position: fixed; left: 0; right: 0; top: var(--header-h);
    flex-direction: column; align-items: stretch; gap: 16px;
    background: #fff; padding: 12px var(--gutter) 28px;
    box-shadow: 0 24px 30px -20px rgba(0, 0, 0, 0.25);
    max-height: calc(100vh - var(--header-h)); overflow-y: auto;
  }
  .nav-open .site-nav { display: flex; }
  .site-nav ul { flex-direction: column; gap: 0; }
  .site-nav ul a { display: block; padding: 14px 4px; font-size: 15px; border-bottom: 1px solid var(--line); }
  .site-nav ul a::after { display: none; }
  .nav-cta { align-self: flex-start; }
}

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(180deg, #fff 0%, var(--peach) 100%);
  padding: 72px 0 40px;
  text-align: center;
  overflow: hidden;
}
.hero p { font-size: 17px; max-width: 760px; margin: 0 auto 30px; }
.hero h1 { margin-bottom: 18px; }

/* Layered illustration: a background picture with a foreground picture on top.
   Position of the top picture is set per page with --x, --y, --fw (percent of the background). */
.art { max-width: var(--art-w, 800px); margin: 48px auto 0; padding-bottom: var(--art-pb, 0); }
.art-stage { position: relative; }
.art-stage img { width: 100%; }
.art-stage .fg { position: absolute; left: var(--x, 0); top: var(--y, 0); width: var(--fw, 100%); }

/* ---------- Sections ---------- */
.section { padding: 96px 0; }
.section-sm { padding: 64px 0; }
.bg-cream { background: var(--cream); }
.bg-mint { background: linear-gradient(180deg, var(--mint) 0%, #fff 100%); }
.bg-peach { background: linear-gradient(180deg, #fff 0%, var(--peach) 100%); }

.section-head { text-align: center; max-width: 760px; margin: 0 auto 56px; }
.section-head p { font-size: 17px; }
.eyebrow { display: block; color: var(--pink); font-size: 12px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; margin: 0 0 12px; }

@media (max-width: 720px) {
  .section { padding: 68px 0; }
  .hero { padding-top: 48px; }
  .section-head { margin-bottom: 40px; }
}

/* ---------- Grids ---------- */
.grid { display: grid; gap: 28px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 680px) { .grid-2, .grid-3 { grid-template-columns: 1fr; } }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split-reverse > :first-child { order: 2; }
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; gap: 40px; }
  .split-reverse > :first-child { order: 0; }
}

/* ---------- Cards ---------- */
.card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 36px 32px;
  transition: transform 0.25s, box-shadow 0.25s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.card h3 { margin-top: 18px; }
.card p:last-child { margin-bottom: 0; }
.card-icon { width: 72px; height: 72px; }

/* Icon chip (yellow icon on soft yellow) */
.chip { width: 56px; height: 56px; border-radius: 16px; background: var(--yellow-soft); display: grid; place-items: center; flex: none; }
.chip svg { width: 28px; height: 28px; stroke: #e0a800; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.chip-blue { background: var(--blue-soft); }
.chip-blue svg { stroke: var(--blue); }

/* ---------- Home: partners ---------- */
.partners { margin-top: 40px; }
.partners h3 { font-size: 15px; font-weight: 600; color: var(--muted); letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 18px; }
.partner-logos { display: flex; align-items: center; gap: 40px; flex-wrap: wrap; }
.partner-logos img { height: 44px; width: auto; filter: grayscale(1); opacity: 0.75; transition: filter 0.2s, opacity 0.2s; }
.partner-logos img:hover { filter: none; opacity: 1; }

/* ---------- Home: 6 reasons ---------- */
.reasons { display: grid; grid-template-columns: 1fr 300px 1fr; gap: 40px; align-items: center; }
.reasons-col { display: grid; gap: 36px; }
.reason { display: flex; gap: 18px; align-items: flex-start; }
.reason h3 { font-size: 18px; margin: 4px 0 6px; }
.reason p { font-size: 15px; margin: 0; }
.reasons-art img { margin: 0 auto; max-width: 300px; }
@media (max-width: 1000px) {
  .reasons { grid-template-columns: 1fr 1fr; }
  .reasons-art { display: none; }
}
@media (max-width: 680px) { .reasons { grid-template-columns: 1fr; } }

/* ---------- Testimonials ---------- */
.quote { display: flex; flex-direction: column; }
.quote blockquote { margin: 0 0 24px; font-size: 15px; flex: 1; position: relative; padding-top: 34px; }
.quote blockquote p { margin: 0; }
.quote blockquote::before { content: "\201C"; position: absolute; top: -14px; left: -4px; font-size: 72px; line-height: 1; color: var(--yellow); font-family: Georgia, serif; }
.quote figcaption { display: flex; align-items: center; gap: 14px; border-top: 1px solid var(--line); padding-top: 20px; }
.quote figcaption img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; }
.quote strong { display: block; color: var(--ink); font-weight: 600; }
.quote span { font-size: 14px; color: var(--muted); }

/* ---------- About: values ---------- */
.value-num { font-size: 40px; font-weight: 700; color: var(--blue); line-height: 1; opacity: 0.9; }
.value h3 { margin-top: 14px; }

/* ---------- Services ---------- */
.phones { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.phone img { border-radius: 22px; box-shadow: var(--shadow); margin-bottom: 18px; }
.phone h3 { font-size: 18px; margin-bottom: 6px; }
.phone p { font-size: 15px; margin: 0; }
@media (max-width: 420px) { .phones { grid-template-columns: 1fr; max-width: 300px; margin: 0 auto; } }

.tabs { max-width: 980px; margin: 0 auto; }
.tablist { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 28px; }
.tablist button {
  font: inherit; font-size: 14px; font-weight: 600; color: var(--ink);
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  padding: 10px 22px; cursor: pointer; transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.tablist button:hover { border-color: var(--blue); color: var(--blue); }
.tablist button[aria-selected="true"] { background: var(--blue); border-color: var(--blue); color: #fff; }
@media (max-width: 600px) {
  .tablist { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; scrollbar-width: none; margin: 0 calc(var(--gutter) * -1) 24px; padding: 4px var(--gutter); }
  .tablist::-webkit-scrollbar { display: none; }
  .tablist button { flex: none; }
}
.screen { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.screen::before {
  content: ""; display: block; height: 30px; border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 18px 15px, #ff6159 4.5px, transparent 5.5px),
    radial-gradient(circle at 34px 15px, #ffbd2e 4.5px, transparent 5.5px),
    radial-gradient(circle at 50px 15px, #28c840 4.5px, transparent 5.5px),
    #f4f5f8;
}
.screen img { width: 100%; }

/* ---------- Career ---------- */
.jobs-card { display: flex; align-items: center; gap: 24px; max-width: 900px; margin: 0 auto; }
.jobs-card > div { flex: 1; }
.jobs-card h3 { margin: 0 0 4px; }
.jobs-card p { margin: 0; }
.jobs-card:hover { transform: none; }
@media (max-width: 720px) { .jobs-card { flex-direction: column; align-items: flex-start; } }
.benefit { display: flex; gap: 18px; align-items: flex-start; }
.benefit h3 { font-size: 18px; margin: 4px 0 6px; }
.benefit p { font-size: 15px; margin: 0; }
.team-grid { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: auto auto; gap: 20px; max-width: 920px; margin: 0 auto; }
.team-grid img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius); }
.team-grid .tall { grid-row: span 2; }
@media (max-width: 680px) { .team-grid { grid-template-columns: 1fr; } .team-grid .tall { grid-row: auto; max-height: 520px; } }

/* ---------- Contact ---------- */
.contact-card { text-align: center; }
.contact-card img { width: 64px; height: 64px; margin: 0 auto; }
.contact-card h3 { font-size: 15px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.contact-card .value { font-size: 18px; font-weight: 600; color: var(--ink); word-break: break-word; }
.contact-card a.value:hover { color: var(--blue); }
.contact-card address { font-size: 16px; color: var(--ink); }
.contact-card .map-link { display: inline-block; margin-top: 12px; font-size: 14px; font-weight: 600; }

/* ---------- Footer ---------- */
.site-footer { background: linear-gradient(180deg, var(--peach) 0%, #fff 100%); padding: 80px 0 0; }
.footer-join { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; padding-bottom: 64px; }
.footer-join img { max-width: 440px; margin: 0 auto; }
.footer-join h2 { margin-bottom: 24px; }
.footer-info { display: grid; grid-template-columns: 1fr 1.4fr 1fr; gap: 32px; padding: 48px 0; border-top: 1px solid rgba(0, 0, 0, 0.07); }
.footer-info:first-child { border-top: 0; padding-top: 0; }
.footer-label { font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink); margin-bottom: 10px; }
.footer-info a, .footer-info address { color: var(--text); font-size: 15px; }
.footer-info a:hover { color: var(--blue); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding: 24px 0 32px; border-top: 1px solid rgba(0, 0, 0, 0.07); font-size: 14px; color: var(--muted); }
.footer-bottom p { margin: 0; }
.footer-bottom ul { display: flex; gap: 20px; flex-wrap: wrap; list-style: none; margin: 0; padding: 0; }
.footer-bottom a { color: var(--muted); }
.footer-bottom a:hover { color: var(--blue); }
@media (max-width: 860px) {
  .footer-join { grid-template-columns: 1fr; text-align: center; gap: 28px; }
  .footer-join img { max-width: 320px; }
  .footer-info { grid-template-columns: 1fr; gap: 24px; text-align: center; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .footer-bottom ul { justify-content: center; }
}

/* ---------- 404 ---------- */
.not-found { min-height: 60vh; display: grid; place-items: center; text-align: center; padding: 80px 0; }
.not-found .code { font-size: 96px; font-weight: 700; color: var(--blue); line-height: 1; margin-bottom: 12px; }
