/* =====================================================================
   XTELY — Corporate telecom website
   Global stylesheet / design system
   Pure CSS. No frameworks, no build step.
   ===================================================================== */

/* ---------------------------------------------------------------------
   1. Design tokens
   --------------------------------------------------------------------- */
:root {
  /* Brand palette */
  --deep-blue: #061a3a;
  --deep-blue-2: #0a2550;
  --electric-blue: #1f6bff;
  --electric-blue-dark: #0b4fd6;
  --cyan: #22d3ee;
  --soft-purple: #7c8bff;

  /* Neutrals */
  --white: #ffffff;
  --light-gray: #f4f6fb;
  --gray-100: #eef1f7;
  --gray-200: #dfe4ee;
  --gray-400: #9aa6bd;
  --gray-600: #55617a;
  --ink: #0d1b34;

  /* Semantic tokens */
  --bg: var(--white);
  --bg-alt: var(--light-gray);
  --surface: var(--white);
  --text: var(--ink);
  --text-muted: var(--gray-600);
  --border: var(--gray-200);
  --primary: var(--electric-blue);
  --primary-strong: var(--electric-blue-dark);

  /* Gradients */
  --grad-brand: linear-gradient(135deg, var(--electric-blue) 0%, var(--cyan) 100%);
  --grad-deep: linear-gradient(160deg, #061a3a 0%, #0a2550 55%, #0e2e63 100%);
  --grad-soft: linear-gradient(135deg, rgba(31,107,255,0.10), rgba(34,211,238,0.10));

  /* Effects */
  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;
  --shadow-sm: 0 2px 10px rgba(6, 26, 58, 0.06);
  --shadow: 0 18px 40px rgba(6, 26, 58, 0.10);
  --shadow-lg: 0 30px 70px rgba(6, 26, 58, 0.18);
  --ring: 0 0 0 3px rgba(31, 107, 255, 0.35);

  /* Layout */
  --container: 1200px;
  --header-h: 76px;

  /* Type */
  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

/* ---------------------------------------------------------------------
   2. Reset & base
   --------------------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  font-size: clamp(15px, 0.6vw + 14px, 17px);
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  line-height: 1.15;
  margin: 0 0 0.5em;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-wrap: balance;
}

h1 { font-size: clamp(2.1rem, 4.5vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3vw, 2.6rem); }
h3 { font-size: clamp(1.2rem, 1.6vw, 1.45rem); }

p { margin: 0 0 1rem; color: var(--text-muted); text-wrap: pretty; }

a { color: var(--primary); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--primary-strong); }

img { max-width: 100%; display: block; }

ul { margin: 0; padding: 0; }

:focus-visible {
  outline: none;
  box-shadow: var(--ring);
  border-radius: 6px;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  background: var(--primary);
  color: #fff;
  padding: 10px 16px;
  border-radius: 8px;
  z-index: 1000;
  transition: top .2s ease;
}
.skip-link:focus { top: 16px; color:#fff; }

/* ---------------------------------------------------------------------
   3. Layout helpers
   --------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 40px);
}

.section { padding-block: clamp(64px, 8vw, 120px); }
.section--alt { background: var(--bg-alt); }
.section--deep { background: var(--grad-deep); color: #dbe6ff; }
.section--deep h1,
.section--deep h2,
.section--deep h3 { color: #fff; }
.section--deep p { color: #a9bce4; }

.section-head {
  max-width: 720px;
  margin: 0 auto clamp(36px, 5vw, 60px);
  text-align: center;
}
.section-head.left { margin-inline: 0; text-align: left; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 14px;
}
.section--deep .eyebrow { color: var(--cyan); }
.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
}

.grid { display: grid; gap: clamp(18px, 2.4vw, 28px); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.lead { font-size: 1.12rem; color: var(--text-muted); }

/* ---------------------------------------------------------------------
   4. Buttons
   --------------------------------------------------------------------- */
.btn {
  --btn-bg: var(--primary);
  --btn-fg: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.98rem;
  border: 1px solid transparent;
  background: var(--btn-bg);
  color: var(--btn-fg);
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
  box-shadow: 0 10px 24px rgba(31,107,255,0.28);
}
.btn:hover { transform: translateY(-2px); color:#fff; box-shadow: 0 16px 32px rgba(31,107,255,0.36); }
.btn:active { transform: translateY(0); }
.btn--gradient { background: var(--grad-brand); }
.btn--ghost {
  background: transparent;
  color: var(--primary);
  border-color: var(--border);
  box-shadow: none;
}
.btn--ghost:hover { background: var(--grad-soft); color: var(--primary-strong); transform: translateY(-2px); }
.btn--light { background: #fff; color: var(--deep-blue); box-shadow: var(--shadow); }
.btn--light:hover { color: var(--primary-strong); }
.btn--lg { padding: 16px 32px; font-size: 1.05rem; }
.btn .arrow { transition: transform .2s ease; }
.btn:hover .arrow { transform: translateX(4px); }

/* ---------------------------------------------------------------------
   5. Header / navigation
   --------------------------------------------------------------------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--header-h);
  z-index: 100;
  display: flex;
  align-items: center;
  transition: background .3s ease, box-shadow .3s ease, backdrop-filter .3s ease;
}
.site-header.transparent { background: transparent; }
.site-header.scrolled {
  background: rgba(255,255,255,0.82);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  box-shadow: 0 1px 0 rgba(6,26,58,0.08), var(--shadow-sm);
}
.header-inner {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 40px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand svg { height: 30px; width: auto; display: block; }
.brand-logo { display: none; }
/* default (solid header): show dark logo */
.brand-logo--dark { display: inline-flex; }
/* transparent header over a dark hero: show light logo */
.site-header.transparent .brand-logo--dark { display: none; }
.site-header.transparent .brand-logo--light { display: inline-flex; }

/* header colour states: on transparent (over dark hero) text is light */
.site-header.transparent .nav-link,
.site-header.transparent .brand-name,
.site-header.transparent .lang-switch button { color: #eaf1ff; }
.site-header.transparent .nav-link:hover { color: #fff; }

.primary-nav { display: flex; align-items: center; gap: 4px; }
.primary-nav ul, .primary-nav li { list-style: none; margin: 0; padding: 0; }
/* language switch lives in header-actions on desktop; the nav copy is mobile-only */
.primary-nav .lang-switch { display: none; }
.nav-link {
  position: relative;
  padding: 10px 14px;
  border-radius: 10px;
  color: var(--text);
  font-weight: 500;
  font-size: 0.95rem;
  transition: color .2s ease, background .2s ease;
}
.nav-link:hover { color: var(--primary); background: var(--grad-soft); }
.nav-link[aria-current="page"] { color: var(--primary); }

/* dropdown */
.has-dropdown { position: relative; }
.dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 230px;
  background: rgba(255,255,255,0.98);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 10px;
  opacity: 0;
  visibility: hidden;
  transition: opacity .2s ease, transform .2s ease, visibility .2s;
}
.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown {
  opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0);
}
.dropdown a {
  display: block;
  padding: 10px 12px;
  border-radius: 10px;
  color: var(--text);
  font-size: 0.92rem;
}
.dropdown a:hover { background: var(--grad-soft); color: var(--primary); }

.header-actions { display: flex; align-items: center; gap: 14px; }

/* language switch */
.lang-switch { display: inline-flex; background: var(--gray-100); border-radius: 999px; padding: 3px; }
.site-header.transparent .lang-switch { background: rgba(255,255,255,0.15); }
.lang-switch button {
  border: 0; background: transparent; cursor: pointer;
  font: inherit; font-size: 0.82rem; font-weight: 600;
  padding: 6px 12px; border-radius: 999px; color: var(--text-muted);
  transition: background .2s ease, color .2s ease;
}
.lang-switch button.active { background: #fff; color: var(--primary); box-shadow: var(--shadow-sm); }
.site-header.transparent .lang-switch button.active { background: #fff; }

/* mobile toggle */
.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  border: 0; background: transparent; cursor: pointer;
  border-radius: 10px;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  display: block;
  width: 22px; height: 2px;
  background: currentColor;
  color: var(--text);
  border-radius: 2px;
  transition: transform .3s ease, opacity .2s ease;
  margin-inline: auto;
}
.site-header.transparent .nav-toggle span,
.site-header.transparent .nav-toggle span::before,
.site-header.transparent .nav-toggle span::after { color:#fff; }
.nav-toggle span::before { transform: translateY(-7px); }
.nav-toggle span::after { transform: translateY(5px); }
body.nav-open .nav-toggle span { background: transparent; }
body.nav-open .nav-toggle span::before { transform: rotate(45deg); }
body.nav-open .nav-toggle span::after { transform: rotate(-45deg) translateY(-1.5px); }

/* ---------------------------------------------------------------------
   6. Hero
   --------------------------------------------------------------------- */
.hero {
  position: relative;
  padding-top: calc(var(--header-h) + clamp(40px, 8vw, 90px));
  padding-bottom: clamp(60px, 9vw, 130px);
  background: var(--grad-deep);
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}
.hero::after {
  /* subtle glow */
  content:"";
  position: absolute;
  width: 620px; height: 620px;
  right: -160px; top: -180px;
  background: radial-gradient(circle, rgba(34,211,238,0.28), transparent 62%);
  z-index: -1;
  filter: blur(4px);
}
.hero__inner { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(30px, 5vw, 64px); align-items: center; }
.hero h1 { color: #fff; margin-bottom: 20px; }
.hero p { color: #b9cbef; font-size: 1.15rem; max-width: 46ch; }
.hero__badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.18);
  padding: 7px 14px; border-radius: 999px;
  font-size: 0.82rem; font-weight: 600; color: #d9e6ff;
  margin-bottom: 22px;
}
.hero__badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 0 rgba(34,211,238,0.7); animation: pulse 2.2s infinite; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.hero__media { position: relative; }
.hero__media img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.hero__stats { display: flex; gap: 26px; margin-top: 40px; flex-wrap: wrap; }
.hero__stat .num { font-size: 1.9rem; font-weight: 800; color: #fff; letter-spacing: -0.03em; }
.hero__stat .lbl { font-size: 0.82rem; color: #9fb4dc; }

/* floating glass card on hero media */
.glass-chip {
  position: absolute;
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 16px;
  padding: 14px 18px;
  box-shadow: var(--shadow);
  color: #fff;
  animation: float 6s ease-in-out infinite;
}
.glass-chip .k { font-size: 0.72rem; color: #cfe0ff; }
.glass-chip .v { font-size: 1.15rem; font-weight: 700; }
.glass-chip--tl { top: 18px; left: -22px; }
.glass-chip--br { bottom: 22px; right: -18px; animation-delay: 1.4s; }

/* animated network dots background layer */
.net-bg { position: absolute; inset: 0; z-index: -1; opacity: 0.5; }

/* ---------------------------------------------------------------------
   7. Cards
   --------------------------------------------------------------------- */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: clamp(22px, 2.4vw, 30px);
  box-shadow: var(--shadow-sm);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
  height: 100%;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: rgba(31,107,255,0.35); }
.card__icon {
  width: 52px; height: 52px; border-radius: 14px;
  display: grid; place-items: center;
  background: var(--grad-soft);
  color: var(--primary);
  margin-bottom: 18px;
}
.card__icon svg { width: 26px; height: 26px; }
.card h3 { margin-bottom: 8px; }
.card p { margin-bottom: 0; font-size: 0.96rem; }
.card .role { color: var(--primary); font-weight: 600; font-size: 0.92rem; margin-bottom: 10px; }
.avatar {
  width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--grad-brand); color: #fff;
  font-weight: 700; font-size: 1.05rem; letter-spacing: 0.5px;
  margin-bottom: 16px;
}

.card--glass {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.14);
  backdrop-filter: blur(8px);
}
.section--deep .card--glass h3 { color:#fff; }
.section--deep .card--glass p { color:#a9bce4; }
.section--deep .card--glass .card__icon { background: rgba(34,211,238,0.14); color: var(--cyan); }

/* news post card */
.post-card {
  display: flex; flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: clamp(22px, 2.4vw, 28px);
  box-shadow: var(--shadow-sm);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
  height: 100%;
}
.post-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: rgba(31,107,255,0.35); }
.post-card__meta { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.post-card__meta time { color: var(--text-muted); font-size: 0.85rem; }
.post-card h3 { margin-bottom: 10px; font-size: 1.14rem; }
.post-card p { flex: 1; margin-bottom: 16px; font-size: 0.95rem; }
.pill {
  display: inline-block; padding: 4px 11px; border-radius: 999px;
  font-size: 0.74rem; font-weight: 700; letter-spacing: 0.3px;
  background: var(--grad-soft); color: var(--primary-strong);
}
.link-arrow {
  display: inline-flex; align-items: center; gap: 6px;
  font-weight: 600; color: var(--primary); text-decoration: none;
}
.link-arrow .arrow { transition: transform .2s ease; }
.link-arrow:hover .arrow { transform: translateX(4px); }

/* feature row with image */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 64px); align-items: center; }
.split img { border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.split--rev .split__media { order: -1; }

/* ---------------------------------------------------------------------
   8. Stats / counters
   --------------------------------------------------------------------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat {
  text-align: center;
  padding: 30px 18px;
  border-radius: var(--radius);
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
}
.stat .num { font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; color:#fff; letter-spacing: -0.03em; }
.stat .num .suffix { color: var(--cyan); }
.stat .lbl { color: #a9bce4; font-size: 0.9rem; margin-top: 6px; }

/* light stat variant */
.stat--light { background: var(--surface); border-color: var(--border); box-shadow: var(--shadow-sm); }
.stat--light .num { color: var(--ink); }
.stat--light .lbl { color: var(--text-muted); }

/* ---------------------------------------------------------------------
   9. Timeline
   --------------------------------------------------------------------- */
.timeline { position: relative; margin-top: 30px; }
.timeline::before {
  content:""; position:absolute; left: 22px; top: 6px; bottom: 6px; width: 2px;
  background: linear-gradient(var(--primary), var(--cyan));
}
.timeline li { position: relative; padding: 0 0 32px 64px; list-style: none; }
.timeline li::before {
  content:""; position:absolute; left: 14px; top: 2px;
  width: 18px; height: 18px; border-radius: 50%;
  background: #fff; border: 4px solid var(--primary);
  box-shadow: 0 0 0 4px rgba(31,107,255,0.15);
}
.timeline .year { font-weight: 800; color: var(--primary); font-size: 1.05rem; }

/* ---------------------------------------------------------------------
   10. Accordion (FAQ)
   --------------------------------------------------------------------- */
.accordion { max-width: 820px; margin-inline: auto; }
.acc-item { border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); margin-bottom: 14px; overflow: hidden; }
.acc-trigger {
  width: 100%; text-align: left; border: 0; background: transparent; cursor: pointer;
  font: inherit; font-weight: 600; color: var(--ink); font-size: 1.02rem;
  padding: 20px 24px; display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.acc-trigger .chev { transition: transform .3s ease; color: var(--primary); flex: none; }
.acc-item.open .acc-trigger .chev { transform: rotate(180deg); }
.acc-panel { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.acc-panel__inner { padding: 0 24px 22px; color: var(--text-muted); }

/* ---------------------------------------------------------------------
   11. Forms
   --------------------------------------------------------------------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: 0.9rem; color: var(--ink); }
.field input,
.field select,
.field textarea {
  font: inherit;
  padding: 13px 15px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
  color: var(--text);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.field textarea { resize: vertical; min-height: 140px; }
.field input:focus,
.field select:focus,
.field textarea:focus { border-color: var(--primary); box-shadow: var(--ring); outline: none; }
.field .err { color: #d64550; font-size: 0.82rem; display: none; }
.field.invalid input,
.field.invalid textarea { border-color: #d64550; }
.field.invalid .err { display: block; }

/* ---------------------------------------------------------------------
   12. Modal
   --------------------------------------------------------------------- */
.modal-overlay {
  position: fixed; inset: 0; z-index: 2000;
  background: rgba(6,26,58,0.55);
  backdrop-filter: blur(6px);
  display: grid; place-items: center;
  padding: 24px;
  opacity: 0; visibility: hidden;
  transition: opacity .3s ease, visibility .3s;
}
.modal-overlay.open { opacity: 1; visibility: visible; }
.modal {
  background: #fff; border-radius: var(--radius-lg);
  max-width: 460px; width: 100%; padding: 40px 34px; text-align: center;
  box-shadow: var(--shadow-lg);
  transform: translateY(16px) scale(.96);
  transition: transform .3s ease;
}
.modal-overlay.open .modal { transform: none; }
.modal__check {
  width: 72px; height: 72px; margin: 0 auto 20px; border-radius: 50%;
  background: var(--grad-brand); display: grid; place-items: center; color:#fff;
  animation: pop .4s ease;
}
.modal__check svg { width: 36px; height: 36px; }
.modal h3 { margin-bottom: 10px; }

/* ---------------------------------------------------------------------
   13. Footer
   --------------------------------------------------------------------- */
.site-footer { background: var(--grad-deep); color: #a9bce4; padding-top: clamp(56px, 7vw, 90px); }
.footer-top { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 40px; padding-bottom: 46px; }
.footer-brand svg { height: 30px; margin-bottom: 16px; }
.footer-brand p { color: #94a9d4; max-width: 34ch; }
.footer-col h4 { color: #fff; font-size: 0.95rem; margin-bottom: 16px; letter-spacing: 0.02em; }
.footer-col a { display: block; color: #a9bce4; padding: 6px 0; font-size: 0.92rem; }
.footer-col a:hover { color: #fff; }
.social { display: flex; gap: 12px; margin-top: 18px; }
.social a {
  width: 40px; height: 40px; border-radius: 12px;
  display: grid; place-items: center;
  background: rgba(255,255,255,0.08); color: #cfe0ff;
  transition: background .2s ease, transform .2s ease;
}
.social a:hover { background: var(--grad-brand); color:#fff; transform: translateY(-3px); }
.social svg { width: 18px; height: 18px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-block: 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: 0.86rem; color:#8fa4cf;
}
.footer-bottom nav { display: flex; gap: 18px; flex-wrap: wrap; }
.footer-bottom a { color: #8fa4cf; }
.footer-bottom a:hover { color:#fff; }
.link-btn { background: none; border: 0; color: inherit; font: inherit; cursor: pointer; padding: 0; }
.link-btn:hover { color:#fff; }

/* ---------------------------------------------------------------------
   14. Cookie banner
   --------------------------------------------------------------------- */
.cookie-banner {
  position: fixed; left: 20px; right: 20px; bottom: 20px; z-index: 1500;
  max-width: 520px; margin-inline: auto;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(14px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 22px 24px;
  transform: translateY(140%);
  transition: transform .45s cubic-bezier(.2,.8,.2,1);
}
.cookie-banner.show { transform: none; }
.cookie-banner h4 { margin-bottom: 6px; }
.cookie-banner p { font-size: 0.88rem; margin-bottom: 16px; }
.cookie-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.cookie-actions .btn { padding: 10px 18px; font-size: 0.9rem; box-shadow: none; }

/* preferences toggles */
.pref-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--border); }
.pref-row:last-child { border-bottom: 0; }
.switch { position: relative; width: 46px; height: 26px; flex: none; }
.switch input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.switch .track { position: absolute; inset: 0; background: var(--gray-200); border-radius: 999px; transition: background .2s ease; }
.switch .track::before { content:""; position: absolute; width: 20px; height: 20px; left: 3px; top: 3px; background: #fff; border-radius: 50%; transition: transform .2s ease; box-shadow: var(--shadow-sm); }
.switch input:checked + .track { background: var(--primary); }
.switch input:checked + .track::before { transform: translateX(20px); }
.switch input:disabled + .track { opacity: .6; }

/* ---------------------------------------------------------------------
   15. Misc components
   --------------------------------------------------------------------- */
.page-hero {
  padding-top: calc(var(--header-h) + clamp(50px, 7vw, 90px));
  padding-bottom: clamp(40px, 6vw, 70px);
  background: var(--grad-deep);
  color: #fff;
  position: relative; overflow: hidden;
}
.page-hero::after {
  content:""; position:absolute; right: -120px; top: -140px; width: 460px; height: 460px;
  background: radial-gradient(circle, rgba(34,211,238,0.22), transparent 62%);
}
.page-hero h1 { color:#fff; }
.page-hero p { color:#b9cbef; max-width: 60ch; }

.breadcrumbs { display: flex; gap: 8px; flex-wrap: wrap; font-size: 0.85rem; margin-bottom: 18px; color:#9fb4dc; }
.breadcrumbs a { color:#cfe0ff; }
.breadcrumbs a:hover { color:#fff; }
.breadcrumbs .sep { opacity: .5; }

.pill { display:inline-block; padding: 5px 12px; border-radius: 999px; font-size: 0.76rem; font-weight: 600; background: var(--grad-soft); color: var(--primary); }

.prose { max-width: 820px; }
.prose h2 { margin-top: 2em; }
.prose h3 { margin-top: 1.6em; }
.prose ul { padding-left: 1.2em; }
.prose li { color: var(--text-muted); margin-bottom: 8px; list-style: disc; }
.prose a { text-decoration: underline; }
.prose .meta { color: var(--gray-400); font-size: 0.9rem; }

/* sitemap link columns */
.link-col { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 8px; }
.link-col a { color: var(--text-muted); text-decoration: none; transition: color .2s ease; }
.link-col a:hover { color: var(--primary); }

/* careers */
.job-list { display: grid; gap: 14px; max-width: 860px; margin-inline: auto; }
.job {
  display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  padding: 22px 26px; border: 1px solid var(--border); border-radius: var(--radius);
  background: var(--surface); box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease;
}
.job:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.job h3 { margin-bottom: 4px; font-size: 1.1rem; }
.job-meta { margin: 0; color: var(--text-muted); font-size: 0.9rem; }

/* search */
.search-panel { max-width: 720px; margin-inline: auto; }
.search-box {
  display: flex; align-items: center; gap: 12px;
  padding: 4px 18px; border: 1px solid var(--border);
  border-radius: 14px; background: var(--surface); box-shadow: var(--shadow-sm);
  color: var(--text-muted);
}
.search-box:focus-within { border-color: var(--primary); box-shadow: var(--ring); }
.search-box input { flex: 1; border: 0; background: transparent; font: inherit; padding: 14px 0; outline: none; color: var(--text); }
.search-results { margin-top: 22px; display: grid; gap: 12px; }
.search-result {
  padding: 16px 20px; border: 1px solid var(--border); border-radius: var(--radius);
  background: var(--surface); transition: border-color .2s ease, transform .2s ease;
}
.search-result:hover { border-color: rgba(31,107,255,0.4); transform: translateX(3px); }
.search-result a { font-weight: 600; color: var(--primary); text-decoration: none; }
.search-result p { margin: 4px 0 0; font-size: 0.92rem; color: var(--text-muted); }

/* contact */
.contact-layout { display: grid; grid-template-columns: 1.35fr 0.9fr; gap: clamp(28px, 4vw, 56px); align-items: start; }
.contact-aside { display: grid; gap: 16px; }
.info-card { padding: 22px 24px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow-sm); }
.info-card h3 { font-size: 1.02rem; margin-bottom: 8px; }
.info-card p { margin-bottom: 6px; font-size: 0.95rem; }
.info-card p:last-child { margin-bottom: 0; }
.info-card .muted, .muted { color: var(--text-muted); font-size: 0.88rem; }
.checkbox-row { display: flex; gap: 10px; align-items: flex-start; font-size: 0.92rem; color: var(--text-muted); cursor: pointer; }
.checkbox-row input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--primary); }
@media (max-width: 820px) { .contact-layout { grid-template-columns: 1fr; } }

/* news cards */
.news-card { display: flex; flex-direction: column; overflow: hidden; padding: 0; }
.news-card img { aspect-ratio: 16/10; object-fit: cover; }
.news-card .body { padding: 22px 24px; }
.news-card .date { font-size: 0.8rem; color: var(--gray-400); }
.news-card h3 { font-size: 1.12rem; margin: 6px 0 8px; }

/* logo cloud / value list */
.check-list li { display: flex; gap: 12px; align-items: flex-start; padding: 10px 0; list-style: none; color: var(--text-muted); }
.check-list svg { flex: none; color: var(--primary); margin-top: 3px; }

/* coverage legend */
.legend { display: flex; gap: 20px; flex-wrap: wrap; margin-top: 20px; }
.legend span { display: inline-flex; align-items: center; gap: 8px; font-size: 0.9rem; color: var(--text-muted); }
.legend i { width: 14px; height: 14px; border-radius: 4px; display: inline-block; }

/* map */
.map-embed { border: 0; width: 100%; height: 420px; border-radius: var(--radius); box-shadow: var(--shadow-sm); }

/* back to top */
.to-top {
  position: fixed; right: 22px; bottom: 22px; z-index: 900;
  width: 48px; height: 48px; border-radius: 50%;
  border: 0; cursor: pointer;
  background: var(--grad-brand); color:#fff;
  display: grid; place-items: center;
  box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: opacity .3s ease, transform .3s ease, visibility .3s;
}
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { transform: translateY(-3px); }

/* page loader */
.loader {
  position: fixed; inset: 0; z-index: 3000;
  background: var(--grad-deep);
  display: grid; place-items: center;
  transition: opacity .5s ease, visibility .5s;
}
.loader.hide { opacity: 0; visibility: hidden; }
.loader__ring { width: 54px; height: 54px; border-radius: 50%; border: 3px solid rgba(255,255,255,0.18); border-top-color: var(--cyan); animation: spin .9s linear infinite; }

/* info grid (contact) */
.info-list { display: grid; gap: 18px; }
.info-item { display: flex; gap: 14px; align-items: flex-start; }
.info-item .ic { width: 44px; height: 44px; border-radius: 12px; background: var(--grad-soft); color: var(--primary); display: grid; place-items: center; flex: none; }
.info-item .k { font-weight: 600; color: var(--ink); }
.info-item .v { color: var(--text-muted); font-size: 0.95rem; }

/* search */
.search-box { display: flex; gap: 10px; max-width: 560px; }
.search-box input { flex: 1; }
.search-result { padding: 18px 0; border-bottom: 1px solid var(--border); }
.search-result a { font-weight: 600; font-size: 1.05rem; }
.search-result p { margin: 4px 0 0; font-size: 0.92rem; }

/* feature block (flat card) */
.feature {
  padding: clamp(20px, 2.2vw, 28px);
  border: 1px solid var(--border);
  border-left: 3px solid var(--primary);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  transition: transform .3s ease, box-shadow .3s ease;
  height: 100%;
}
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.feature h3 { margin-bottom: 8px; }
.feature p { margin-bottom: 0; font-size: 0.96rem; }

/* CTA band */
.section--cta { padding-block: clamp(40px, 6vw, 80px); }
.cta-band {
  display: flex; align-items: center; justify-content: space-between;
  gap: 28px; flex-wrap: wrap;
  background: var(--grad-deep);
  border-radius: var(--radius-lg);
  padding: clamp(30px, 4vw, 52px);
  color: #fff;
  box-shadow: var(--shadow-lg);
}
.cta-band h2 { color: #fff; margin-bottom: 6px; font-size: clamp(1.4rem, 2.2vw, 2rem); }
.cta-band p { color: #b9cbef; margin: 0; }
.cta-band .btn { flex: none; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.btn--ghost-light {
  background: transparent; color: #fff; border: 1px solid rgba(255,255,255,0.4);
}
.btn--ghost-light:hover { background: rgba(255,255,255,0.12); transform: translateY(-2px); }

/* status list */
.status-list { margin-top: 20px; }
.status-list li {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 0; border-bottom: 1px solid var(--border);
  list-style: none; font-weight: 600; color: var(--ink);
}
.status-list li:last-child { border-bottom: 0; }
.status-list .dot { width: 10px; height: 10px; border-radius: 50%; flex: none; }
.status-list .dot.ok { background: #22c55e; box-shadow: 0 0 0 4px rgba(34,197,94,0.18); }
.status-list .status-ok { margin-left: auto; font-size: 0.82rem; font-weight: 700; color: #16a34a; }

/* stats band on light pages */
.stats-band {
  background: var(--grad-deep);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 4vw, 48px);
  box-shadow: var(--shadow-lg);
}
.stats-band .stats { grid-template-columns: repeat(4, 1fr); }

/* select */
.select {
  font: inherit;
  width: 100%;
  padding: 13px 15px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.select:focus { border-color: var(--primary); box-shadow: var(--ring); outline: none; }

/* coverage tool */
.coverage-tool {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(24px, 4vw, 48px);
  align-items: start;
}
.coverage-tool__panel label { display: block; font-weight: 600; color: var(--ink); margin-bottom: 10px; }
.coverage-tool__map img { border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.coverage-result {
  margin-top: 20px;
  padding: 20px 22px;
  border-radius: var(--radius);
  background: var(--grad-soft);
  border: 1px solid var(--border);
  min-height: 96px;
}
.coverage-result .row { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; font-weight: 600; color: var(--ink); }
.coverage-result .row:last-child { margin-bottom: 0; }
.coverage-result .badge {
  display: inline-block; padding: 3px 10px; border-radius: 999px;
  font-size: 0.78rem; font-weight: 700;
}
.coverage-result .badge.ok { background: rgba(31,107,255,0.14); color: var(--primary-strong); }
.coverage-result .badge.mid { background: rgba(34,211,238,0.18); color: #0e7490; }
.coverage-result .empty { color: var(--text-muted); font-weight: 400; }

@media (max-width: 720px) {
  .coverage-tool { grid-template-columns: 1fr; }
  .stats-band .stats { grid-template-columns: repeat(2, 1fr); }
}

/* ---------------------------------------------------------------------
   16. Animations
   --------------------------------------------------------------------- */
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(34,211,238,0.6); }
  70% { box-shadow: 0 0 0 10px rgba(34,211,238,0); }
  100% { box-shadow: 0 0 0 0 rgba(34,211,238,0); }
}
@keyframes float {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pop { 0% { transform: scale(.4); opacity: 0; } 100% { transform: scale(1); opacity: 1; } }

/* scroll reveal */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }
.reveal.d4 { transition-delay: .32s; }

/* SVG line draw */
.draw path { stroke-dasharray: 1; stroke-dashoffset: 1; }
.draw.in path { animation: draw 2.4s ease forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* ---------------------------------------------------------------------
   17. Responsive
   --------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .primary-nav {
    position: fixed;
    inset: var(--header-h) 0 0 0;
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(16px);
    flex-direction: column;
    align-items: stretch;
    padding: 20px clamp(20px,5vw,40px) 40px;
    gap: 4px;
    transform: translateX(100%);
    transition: transform .35s cubic-bezier(.2,.8,.2,1);
    overflow-y: auto;
  }
  body.nav-open .primary-nav { transform: none; }
  .site-header.transparent .nav-link { color: var(--text); }
  .nav-link { padding: 14px 12px; font-size: 1.05rem; border-bottom: 1px solid var(--border); border-radius: 0; }
  .dropdown {
    position: static; transform: none; opacity: 1; visibility: visible;
    box-shadow: none; border: 0; padding: 0 0 8px 12px; min-width: 0; background: transparent;
  }
  .has-dropdown > .nav-link::after { content: " ▾"; }
  .hero__inner { grid-template-columns: 1fr; }
  .hero__media { order: -1; max-width: 460px; }
  .split, .hero__inner { gap: 34px; }
}

@media (max-width: 720px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; }
  .split--rev .split__media { order: 0; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .form-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 30px; }
  .glass-chip { display: none; }
  .header-actions .lang-switch { display: none; }
  .primary-nav .lang-switch { display: inline-flex; align-self: flex-start; margin-top: 14px; }
}

@media (min-width: 1600px) {
  :root { --container: 1320px; }
}

/* reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
