/* ============================================================
   HostingTime Schweiz — Stylesheet
   Swiss Edition · Playfair Display + DM Sans · Rot & Weiss
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,700;0,900;1,400&family=DM+Sans:wght@300;400;500;600;700&display=swap');

:root {
  --bg:          #FFFFFF;
  --bg-2:        #FFF8F8;
  --surface:     #FFFFFF;
  --surface-2:   #FFF8F8;
  --border:      #E5E7EB;
  --border-2:    #D1D5DB;

  --primary:     #CC1717;
  --accent:      #DC2626;
  --accent-h:    #B91C1C;
  --accent-pale: #FFF1F2;

  --text:        #111827;
  --text-muted:  #374151;
  --text-subtle: #6B7280;

  --serif: 'Playfair Display', Georgia, serif;
  --font:  'DM Sans', system-ui, -apple-system, sans-serif;

  --r-xs:   2px;
  --r-sm:   3px;
  --r-md:   5px;
  --r-lg:   8px;
  --r-full: 9999px;

  --shadow:    0 1px 3px rgba(0,0,0,.05), 0 4px 14px rgba(0,0,0,.04);
  --shadow-md: 0 2px 8px rgba(0,0,0,.08), 0 8px 28px rgba(0,0,0,.05);
  --shadow-lg: 0 4px 16px rgba(0,0,0,.1),  0 16px 44px rgba(0,0,0,.07);

  --nav-h: 70px;
  --t:     0.18s ease;
  --t-slow: 0.35s ease;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
input, textarea, select, button { font-family: inherit; font-size: inherit; }
button { cursor: pointer; }

/* ── Typography ── */
h1, h2, h3 {
  font-family: var(--serif);
  line-height: 1.1;
  letter-spacing: -.015em;
  text-wrap: balance;
  color: var(--text);
}
h4, h5, h6 {
  font-family: var(--font);
  font-weight: 700;
  color: var(--text);
}
h1 { font-size: clamp(2.6rem, 5.5vw, 4.6rem); font-weight: 900; }
h2 { font-size: clamp(2rem, 3.8vw, 3.1rem); font-weight: 700; }
h3 { font-size: clamp(1.1rem, 1.8vw, 1.3rem); font-weight: 700; }
h4 { font-size: .95rem; font-weight: 700; }
h5 { font-size: .8rem;  font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
p  { color: var(--text-muted); line-height: 1.85; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  font-family: var(--font);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-pale);
  border: 1px solid rgba(43,122,75,.22);
  padding: .3rem .8rem;
  border-radius: var(--r-xs);
  margin-bottom: 1rem;
}

.text-gradient {
  background: linear-gradient(135deg, #52b97a 0%, #a3ddb9 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Layout ── */
.container    { max-width: 1180px; margin: 0 auto; padding: 0 1.75rem; }
.container-sm { max-width: 760px;  margin: 0 auto; padding: 0 1.75rem; }
.container-lg { max-width: 1380px; margin: 0 auto; padding: 0 1.75rem; }
/* Legacy alias used by components.js */
.wrap    { max-width: 1180px; margin: 0 auto; padding: 0 1.75rem; }
.wrap-sm { max-width: 760px;  margin: 0 auto; padding: 0 1.75rem; }
section  { padding: 5.5rem 0; }

.section-head         { margin-bottom: 3.5rem; }
.section-head p       { max-width: 580px; margin-top: .6rem; font-size: 1.05rem; }
.section-head.center  { text-align: center; }
.section-head.center p { margin: .6rem auto 0; }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-family: var(--font);
  font-weight: 600;
  border: 1.5px solid transparent;
  border-radius: var(--r-xs);
  cursor: pointer;
  transition: all var(--t);
  white-space: nowrap;
  letter-spacing: .01em;
}
.btn-lg { padding: .9rem 2.2rem;  font-size: 1rem; }
.btn-md { padding: .7rem 1.6rem;  font-size: .92rem; }
.btn-sm { padding: .42rem 1rem;   font-size: .84rem; }

.btn-primary {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.btn-primary:hover {
  background: var(--accent-h);
  border-color: var(--accent-h);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(43,122,75,.28);
}
.btn-secondary, .btn-outline {
  background: var(--surface);
  color: var(--text);
  border-color: var(--border-2);
}
.btn-secondary:hover, .btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-1px);
  box-shadow: var(--shadow);
}
.btn-ghost {
  background: rgba(255,255,255,.1);
  color: #fff;
  border-color: rgba(255,255,255,.28);
}
.btn-ghost:hover {
  background: rgba(255,255,255,.18);
  border-color: rgba(255,255,255,.5);
}
.btn-white {
  background: #fff;
  color: var(--primary);
  border-color: #fff;
}
.btn-white:hover {
  background: rgba(255,255,255,.92);
  transform: translateY(-1px);
  box-shadow: 0 6px 22px rgba(0,0,0,.2);
}
.btn-outline-white {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,.35);
}
.btn-outline-white:hover {
  background: rgba(255,255,255,.09);
  border-color: rgba(255,255,255,.6);
}

/* ── Badges ── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  padding: .22rem .6rem;
  border-radius: var(--r-xs);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.badge-green  { background: var(--accent-pale); color: var(--accent);    border: 1px solid rgba(43,122,75,.22); }
.badge-gold   { background: var(--gold-pale);   color: var(--gold);      border: 1px solid rgba(122,88,24,.2); }
.badge-subtle { background: var(--bg-2);        color: var(--text-muted); border: 1px solid var(--border); }

/* ── Section-Label (legacy, used in old pages) ── */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  background: var(--accent-pale);
  border: 1px solid rgba(43,122,75,.22);
  color: var(--accent);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: .3rem .8rem;
  border-radius: var(--r-xs);
  margin-bottom: 1rem;
}

/* ═══════════════════════════════════════
   NAVBAR (injected by components.js)
   ═══════════════════════════════════════ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  z-index: 1000;
  transition: box-shadow var(--t);
}
.navbar.scrolled {
  box-shadow: 0 2px 24px rgba(12,51,32,.08);
}
.nav-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 1.75rem;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav-logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}
.logo-img { height: 42px; width: auto; }
.logo-img-dark  { display: none; }
.logo-img-light { display: block; }

.nav-links {
  display: flex;
  align-items: center;
  gap: .1rem;
  flex: 1;
}
.nav-item { position: relative; }
.nav-link {
  display: flex;
  align-items: center;
  gap: .3rem;
  padding: .42rem .85rem;
  font-size: .875rem;
  font-weight: 500;
  color: var(--text-muted);
  background: none;
  border: none;
  border-radius: var(--r-xs);
  cursor: pointer;
  transition: color var(--t), background var(--t);
  white-space: nowrap;
}
.nav-link:hover, .nav-link.active {
  color: var(--primary);
  background: var(--accent-pale);
}
.chevron { font-size: .62rem; transition: transform var(--t); opacity: .5; }
.nav-item:hover .chevron { transform: rotate(180deg); }

/* Dropdown */
.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(-4px);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  /* padding-top bridges the visual gap without creating a hover dead zone */
  padding: 1rem .5rem .5rem;
  min-width: 220px;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--t), transform var(--t);
  z-index: 100;
}
.nav-dropdown.wide { min-width: 250px; }
.nav-item:hover .nav-dropdown,
.nav-item:focus-within .nav-dropdown {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.dd-link {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .55rem .75rem;
  border-radius: var(--r-xs);
  font-size: .875rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: background var(--t), color var(--t);
}
.dd-link:hover { background: var(--bg-2); color: var(--accent); }
.dd-icon {
  width: 30px; height: 30px;
  border-radius: var(--r-xs);
  background: var(--accent-pale);
  display: flex; align-items: center; justify-content: center;
  color: var(--accent); font-size: .8rem; flex-shrink: 0;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: .55rem;
  margin-left: auto;
}
.theme-toggle {
  display: flex; align-items: center; justify-content: center;
  width: 36px; height: 36px;
  background: none;
  border: 1px solid var(--border);
  border-radius: var(--r-xs);
  color: var(--text-muted);
  transition: all var(--t);
}
.theme-toggle:hover { border-color: var(--accent); color: var(--accent); }
.icon-sun  { display: none; }
.icon-moon { display: block; }
[data-theme="dark"] .icon-sun  { display: block; }
[data-theme="dark"] .icon-moon { display: none; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 38px; height: 38px;
  background: none;
  border: 1px solid var(--border);
  border-radius: var(--r-xs);
  padding: 8px;
  margin-left: auto;
}
.nav-toggle span {
  display: block; height: 2px;
  background: var(--text-muted);
  border-radius: 2px;
  transition: all var(--t);
}

.nav-mobile {
  display: none;
  position: fixed;
  top: var(--nav-h); left: 0; right: 0; bottom: 0;
  background: var(--surface);
  overflow-y: auto;
  padding: 1.5rem;
  border-top: 1px solid var(--border);
  z-index: 999;
  transform: translateX(100%);
  transition: transform var(--t-slow);
}
.nav-mobile.open { transform: translateX(0); }
.nav-m-group { margin-bottom: 1.5rem; }
.nav-m-title {
  font-size: .68rem; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--text-subtle);
  margin-bottom: .5rem; padding: 0 .5rem;
}
.nav-m-link {
  display: block; padding: .65rem .75rem;
  font-size: .95rem; font-weight: 500; color: var(--text);
  border-radius: var(--r-xs); transition: background var(--t), color var(--t);
}
.nav-m-link:hover { background: var(--bg-2); color: var(--accent); }
.nav-m-actions {
  display: flex; flex-direction: column; gap: .75rem;
  margin-top: 1.5rem; padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

/* ═══════════════════════════════════════
   HERO
   ═══════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  padding: calc(var(--nav-h) + 4rem) 0 5rem;
  overflow: hidden;
  background: #0a0e1a;
}
.hero::before { display: none; }
.hero::after  { display: none; }
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 30%;
  display: block;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    105deg,
    rgba(8,12,28,.82) 0%,
    rgba(8,12,28,.58) 50%,
    rgba(8,12,28,.22) 100%
  );
}
.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 440px;
  gap: 5rem;
  align-items: center;
}
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-right { display: none; }
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(220,38,38,.25);
  border: 1px solid rgba(220,38,38,.45);
  color: #ffa0a0;
  font-size: .68rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase;
  padding: .35rem .9rem;
  border-radius: var(--r-xs);
  margin-bottom: 1.75rem;
}
.hero-kicker-dot {
  width: 5px; height: 5px; border-radius: 50%;
  background: #ff8080; flex-shrink: 0;
  animation: hk-pulse 2s ease infinite;
}
@keyframes hk-pulse { 0%,100%{opacity:1} 50%{opacity:.35} }

.hero h1 { color: #fff; margin-bottom: 1.5rem; }
.hero h1 em { font-style: italic; color: rgba(255,255,255,.6); font-weight: 400; }
.hero-lead {
  color: rgba(255,255,255,.72);
  font-size: 1.1rem; line-height: 1.85;
  max-width: 500px; margin-bottom: 2.25rem;
}
.hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 2.25rem; }

.hero-proof { display: flex; flex-wrap: wrap; gap: .5rem 1.75rem; }
.hero-proof-item {
  display: flex; align-items: center; gap: .45rem;
  font-size: .78rem; font-weight: 600; color: rgba(255,255,255,.58);
}
.hero-proof-icon {
  width: 15px; height: 15px; border-radius: 50%;
  background: rgba(220,38,38,.25);
  display: flex; align-items: center; justify-content: center;
  font-size: .5rem; color: #ff8080; flex-shrink: 0;
}

/* Hero right: metrics card */
.hero-metrics {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(0,0,0,.1), 0 2px 8px rgba(0,0,0,.06);
}
.hm-header {
  padding: 1.1rem 1.5rem;
  background: var(--accent);
  display: flex; align-items: center; justify-content: space-between;
}
.hm-title { font-size: .68rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.65); }
.hm-live  { display: flex; align-items: center; gap: .4rem; font-size: .7rem; font-weight: 600; color: #fff; }
.hm-live-dot { width: 6px; height: 6px; border-radius: 50%; background: #fff; animation: hk-pulse 2s ease infinite; }
.hm-body { padding: 1.25rem 1.5rem; display: flex; flex-direction: column; gap: .85rem; background: #fff; }
.hm-row  { display: flex; align-items: center; gap: .85rem; }
.hm-icon {
  width: 36px; height: 36px; border-radius: var(--r-xs);
  background: var(--bg-2);
  display: flex; align-items: center; justify-content: center;
  font-size: .9rem; flex-shrink: 0;
}
.hm-label { font-size: .78rem; color: var(--text-subtle); flex: 1; }
.hm-val   { font-family: var(--serif); font-size: 1.05rem; font-weight: 700; color: var(--text); }
.hm-val.green { color: #16a34a; }
.hm-val.gold  { color: var(--gold); }
.hm-divider   { border: none; border-top: 1px solid var(--border); margin: 0; }
.hm-footer {
  padding: 1rem 1.5rem;
  background: var(--accent-pale);
  border-top: 1px solid rgba(220,38,38,.14);
  display: flex; align-items: center; gap: .6rem;
  font-size: .8rem; font-weight: 600; color: var(--accent);
}
.hm-status-dot { width: 7px; height: 7px; border-radius: 50%; background: #16a34a; animation: hk-pulse 2s ease infinite; }

/* ── TRUST BAR ── */
.trust-bar {
  background: var(--accent);
  border-bottom: none;
  padding: 1.1rem 0;
}
.trust-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  flex-wrap: wrap;
}
.trust-item {
  display: flex; align-items: center; gap: .5rem;
  font-size: .8rem; font-weight: 600; color: rgba(255,255,255,.85);
}
.trust-pip {
  width: 19px; height: 19px; border-radius: 50%;
  background: rgba(255,255,255,.18);
  border: 1px solid rgba(255,255,255,.3);
  display: flex; align-items: center; justify-content: center;
  font-size: .55rem; color: #fff; flex-shrink: 0;
}
.trust-item i { color: #fff; font-size: .75rem; }

/* ── STATS BAND ── */
.stats-band {
  background: var(--accent);
  padding: 3.5rem 0;
  position: relative; overflow: hidden;
}
.stats-band::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 60px 60px;
}
.stats-grid {
  position: relative; z-index: 1;
  display: flex;
  justify-content: center;
}
.stat-item {
  text-align: center;
  padding: 1.5rem 3rem;
  border-right: 1px solid rgba(255,255,255,.18);
}
.stat-item:last-child { border-right: none; }
.stat-num {
  font-family: var(--serif);
  font-size: clamp(2.2rem, 4vw, 3.1rem);
  font-weight: 900;
  color: #fff;
  line-height: 1;
  margin-bottom: .35rem;
  font-variant-numeric: tabular-nums;
  letter-spacing: -.02em;
}
.stat-label { font-size: .78rem; color: rgba(255,255,255,.45); font-weight: 500; }
@media (max-width: 640px) {
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat-item:nth-child(2) { border-right: none; }
  .stat-item:nth-child(3) { border-right: 1px solid rgba(255,255,255,.08); border-top: 1px solid rgba(255,255,255,.08); }
  .stat-item:nth-child(4) { border-top: 1px solid rgba(255,255,255,.08); }
}

/* ── SERVICE CARDS ── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.25rem;
}
.scard {
  background: var(--surface);
  border: 1px solid var(--border);
  border-top: 3px solid transparent;
  border-radius: var(--r-sm);
  padding: 1.6rem;
  transition: border-color var(--t), box-shadow var(--t), transform var(--t);
}
.scard:hover {
  border-top-color: var(--accent);
  box-shadow: 0 6px 28px rgba(12,51,32,.09);
  transform: translateY(-3px);
}
.scard-icon {
  width: 42px; height: 42px; border-radius: var(--r-xs);
  background: var(--accent-pale); color: var(--accent);
  display: flex; align-items: center; justify-content: center;
  font-size: .95rem; margin-bottom: 1.1rem;
  transition: background var(--t), color var(--t);
}
.scard:hover .scard-icon { background: var(--accent); color: #fff; }
.scard-icon.ci-purple { background: rgba(109,40,217,.08); color: #7c3aed; }
.scard:hover .scard-icon.ci-purple { background: #7c3aed; color: #fff; }
.scard-icon.ci-blue   { background: rgba(29,78,216,.08);  color: #2563eb; }
.scard:hover .scard-icon.ci-blue   { background: #2563eb; color: #fff; }
.scard-icon.ci-cyan   { background: rgba(3,105,161,.08);  color: #0284c7; }
.scard:hover .scard-icon.ci-cyan   { background: #0284c7; color: #fff; }
.scard-icon.ci-orange { background: rgba(194,65,12,.08);  color: #c2410c; }
.scard:hover .scard-icon.ci-orange { background: #c2410c; color: #fff; }
/* Legacy aliases */
.card-icon { width:42px;height:42px;border-radius:var(--r-xs);background:var(--accent-pale);color:var(--accent);display:flex;align-items:center;justify-content:center;font-size:.95rem;margin-bottom:1.1rem; }
.ci-purple,.card-icon.ci-purple{background:rgba(109,40,217,.08);color:#7c3aed}
.ci-blue,.card-icon.ci-blue{background:rgba(29,78,216,.08);color:#2563eb}
.ci-cyan,.card-icon.ci-cyan{background:rgba(3,105,161,.08);color:#0284c7}
.ci-orange,.card-icon.ci-orange{background:rgba(194,65,12,.08);color:#c2410c}

.scard h3, .card h3 { font-size: 1.05rem; margin-bottom: .45rem; }
.scard p, .card p   { font-size: .86rem; line-height: 1.7; margin: 0; }
.scard-link, .card-link {
  display: inline-flex; align-items: center; gap: .35rem;
  margin-top: .9rem; font-size: .8rem; font-weight: 700; color: var(--accent);
  letter-spacing: .02em; transition: gap var(--t), color var(--t);
}
.scard-link:hover, .card-link:hover { gap: .6rem; color: var(--accent-h); }

/* Generic card */
.card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-sm); padding: 1.6rem;
  transition: box-shadow var(--t), transform var(--t), border-color var(--t);
}
.card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); border-color: var(--border-2); }

/* Grid utilities */
.grid-auto { display:grid; grid-template-columns:repeat(auto-fill,minmax(240px,1fr)); gap:1.25rem; }
.grid-2    { display:grid; grid-template-columns:repeat(auto-fit,minmax(280px,1fr)); gap:1.5rem; }
.grid-3    { display:grid; grid-template-columns:repeat(auto-fit,minmax(240px,1fr)); gap:1.5rem; }

/* ── FEATURE ITEMS ── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
  gap: 1.25rem;
  margin-top: 2.75rem;
}
.feature-item, .feat {
  display: flex; align-items: flex-start; gap: 1rem;
  padding: 1.4rem;
  border: 1px solid var(--border); border-radius: var(--r-sm);
  background: var(--bg);
  transition: box-shadow var(--t), transform var(--t);
}
.feature-item:hover, .feat:hover {
  box-shadow: 0 4px 20px rgba(12,51,32,.06);
  transform: translateY(-2px);
}
.feature-icon, .feat-icon {
  width: 44px; height: 44px; border-radius: var(--r-xs);
  background: var(--accent-pale); color: var(--accent);
  display: flex; align-items: center; justify-content: center;
  font-size: .95rem; flex-shrink: 0;
}
.feature-item h4, .feat h4 {
  font-size: .88rem; font-weight: 700; color: var(--text);
  margin-bottom: .3rem; text-transform: none; letter-spacing: 0;
}
.feature-item p, .feat p { font-size: .84rem; line-height: 1.7; margin: 0; }

/* ── SPLIT LAYOUT ── */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.split.flip   { direction: rtl; }
.split.flip>* { direction: ltr; }
.split.reverse { direction: rtl; }
.split.reverse>* { direction: ltr; }
@media (max-width: 880px) {
  .split { grid-template-columns: 1fr; gap: 2.5rem; }
  .split.flip, .split.reverse { direction: ltr; }
}
.split-list {
  display: flex; flex-direction: column; gap: .55rem;
  margin: 1.3rem 0 1.9rem;
}
.split-list li {
  display: flex; align-items: flex-start; gap: .65rem;
  font-size: .875rem; color: var(--text-muted);
}
.split-check, .split-list li i {
  color: var(--accent); flex-shrink: 0; font-weight: 700;
  margin-top: .1rem; font-size: .8rem;
}

/* Vis card (server status) */
.vis-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}
.vis-hd, .vis-card-header {
  background: var(--primary);
  padding: 1.1rem 1.4rem;
  display: flex; align-items: center; justify-content: space-between;
}
.vis-dots { display: flex; gap: 5px; }
.vis-dot  { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,.2); }
.vis-tag, .vis-card-header span { font-size: .68rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.4); }
.vis-body { padding: 1.4rem; }
.vis-row, .vis-metric {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: .4rem; font-size: .8rem;
}
.vis-key, .vis-metric .key { color: var(--text-subtle); font-weight: 500; }
.vis-val, .vis-metric .val { font-weight: 700; color: var(--accent); font-variant-numeric: tabular-nums; }
.vis-bar {
  height: 6px; background: var(--bg-2, var(--bg));
  border-radius: 2px; margin-bottom: 1rem; overflow: hidden;
}
.vis-fill, .vis-bar-fill { height: 100%; background: var(--accent); border-radius: 2px; }
.vis-fill.gold { background: var(--gold); }
.vis-ok {
  margin-top: 1rem; padding: .85rem 1rem;
  background: var(--accent-pale); border-radius: var(--r-xs);
  display: flex; align-items: center; gap: .6rem;
  font-size: .8rem; font-weight: 600; color: var(--accent);
}
.vis-ok-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); animation: hk-pulse 2s ease infinite; }

/* Compliance card */
.comp-card, .compliance-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.comp-hd, .compliance-header {
  background: var(--primary);
  padding: 1.1rem 1.5rem;
}
.comp-hd-title, .comp-hd p, .compliance-header {
  font-size: .68rem; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: rgba(255,255,255,.4);
}
.comp-row, .compliance-row {
  display: flex; align-items: center; gap: 1rem;
  padding: 1rem 1.5rem; border-bottom: 1px solid var(--border);
  font-size: .875rem; font-weight: 500;
  transition: background var(--t);
}
.comp-row:last-child, .compliance-row:last-child { border-bottom: none; }
.comp-row:hover, .compliance-row:hover { background: var(--bg); }
.comp-icon, .comp-icon i {
  width: 34px; height: 34px; border-radius: var(--r-xs);
  background: var(--accent-pale);
  display: flex; align-items: center; justify-content: center;
  font-size: .82rem; color: var(--accent); flex-shrink: 0;
}
.comp-name { flex: 1; }
.comp-badge, .comp-badge.badge-green {
  padding: .22rem .65rem; border-radius: var(--r-xs);
  font-size: .66rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase;
  background: var(--accent-pale); color: var(--accent);
  border: 1px solid rgba(43,122,75,.2); margin-left: auto; flex-shrink: 0;
}

/* ── CTA SECTION ── */
.cta-section {
  background: var(--accent);
  padding: 7rem 0;
  text-align: center;
  position: relative; overflow: hidden;
}
.cta-section::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 72px 72px;
}
.cta-section::after {
  content: ''; position: absolute; bottom: -40%; left: 50%; transform: translateX(-50%);
  width: 80%; aspect-ratio: 1; pointer-events: none;
  background: radial-gradient(ellipse, rgba(255,255,255,.07) 0%, transparent 60%);
}
.cta-inner { position: relative; z-index: 1; }
.cta-section h2    { color: #fff; margin-bottom: 1rem; }
.cta-section p     { color: rgba(255,255,255,.6); max-width: 480px; margin: 0 auto 2.5rem; }
.cta-btns, .cta-actions {
  display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap;
}

/* ═══════════════════════════════════════
   FOOTER (injected by components.js)
   ═══════════════════════════════════════ */
.footer { background: var(--bg-2); border-top: 1px solid var(--border); padding: 4rem 0 2rem; }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 3rem;
}
.footer-brand {}
.footer-logo { margin-bottom: .85rem; filter: none; opacity: 1; height: 28px; }
.footer-desc { font-size: .83rem; color: var(--text-muted); line-height: 1.85; max-width: 260px; }
.footer-col h4, .footer-col h5 {
  font-size: .66rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--text-subtle); margin-bottom: .9rem;
}
.footer-link {
  display: block; font-size: .845rem; color: var(--text-muted);
  margin-bottom: .48rem; transition: color var(--t);
}
.footer-link:hover { color: var(--accent); }
.footer-bottom {
  border-top: 1px solid var(--border); padding-top: 1.75rem;
  display: flex; justify-content: space-between; align-items: flex-start;
  flex-wrap: wrap; gap: .75rem;
  font-size: .76rem; color: var(--text-subtle);
}
.footer-legal { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.footer-legal a { color: var(--text-subtle); transition: color var(--t); }
.footer-legal a:hover { color: var(--accent); }
.footer-vat { font-size: .72rem; color: var(--text-subtle); margin-top: .4rem; }

/* ── Additional page components ── */
.section-header { margin-bottom: 3.5rem; text-align: center; }
.section-header p { max-width: 580px; margin: .6rem auto 0; font-size: 1.05rem; }

.breadcrumb {
  display: flex; align-items: center; gap: .5rem;
  font-size: .8rem; color: var(--text-subtle); flex-wrap: wrap; margin-bottom: 2rem;
}
.breadcrumb a { color: var(--text-muted); transition: color var(--t); }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb-sep { font-size: .6rem; opacity: .5; }

/* Forms */
.form-group { margin-bottom: 1.25rem; }
label { display: block; font-size: .85rem; font-weight: 600; margin-bottom: .5rem; color: var(--text); }
input[type="text"], input[type="email"], input[type="tel"], select, textarea {
  width: 100%; padding: .7rem 1rem;
  background: var(--surface); border: 1.5px solid var(--border);
  border-radius: var(--r-xs); color: var(--text); font-size: .925rem;
  transition: border-color var(--t), box-shadow var(--t);
}
input:focus, select:focus, textarea:focus {
  outline: none; border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(43,122,75,.12);
}
textarea { min-height: 140px; resize: vertical; }

/* Pricing */
.pricing-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-md); padding: 2rem;
  transition: box-shadow var(--t), transform var(--t);
}
.pricing-card.featured { border-color: var(--accent); border-width: 2px; }
.pricing-price { font-family: var(--serif); font-size: 2rem; font-weight: 900; color: var(--text); line-height: 1; margin: 1rem 0 .25rem; letter-spacing: -.02em; }

/* Animations */
.anim { opacity: 0; transform: translateY(20px); transition: opacity .55s ease, transform .55s ease; }
.anim.visible, .anim.in { opacity: 1; transform: translateY(0); }
.anim.delay-1 { transition-delay: .1s; }
.anim.delay-2 { transition-delay: .2s; }
.anim.delay-3 { transition-delay: .3s; }
.animate-in { animation: fadeInUp .5s ease both; }
@keyframes fadeInUp { from{opacity:0;transform:translateY(20px)} to{opacity:1;transform:translateY(0)} }

/* Highlight boxes */
.highlight-box {
  background: var(--accent-pale); border: 1px solid rgba(43,122,75,.2);
  border-left: 3px solid var(--accent); border-radius: var(--r-md); padding: 1.25rem 1.5rem;
}
.warning-box {
  background: rgba(194,65,12,.06); border: 1px solid rgba(194,65,12,.2);
  border-left: 3px solid var(--orange); border-radius: var(--r-md); padding: 1.25rem 1.5rem;
}

/* Utilities */
.text-center { text-align: center; }
.text-muted  { color: var(--text-muted); }
.text-subtle { color: var(--text-subtle); }
.text-small  { font-size: .85rem; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.hidden { display: none; }

/* ── Footer extra (generated by components.js) ── */
.footer-col a {
  display: block; font-size: .845rem; color: var(--text-muted);
  margin-bottom: .48rem; transition: color var(--t);
}
.footer-col a:hover { color: var(--accent); }
.footer-copy span { display: block; color: var(--text-subtle); font-size: .76rem; }
.footer-copy p    { color: var(--text-subtle); font-size: .72rem; margin-top: .3rem; }
.footer-legal-links {
  display: flex; gap: 1.5rem; flex-wrap: wrap; align-items: flex-start;
}
.footer-legal-links a { color: var(--text-subtle); font-size: .76rem; transition: color var(--t); }
.footer-legal-links a:hover { color: var(--accent); }

.footer-social { display: flex; gap: .55rem; margin-top: 1rem; }
.social-link {
  width: 34px; height: 34px; border-radius: var(--r-xs);
  background: var(--surface); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: .85rem; color: var(--text-subtle);
  transition: background var(--t), color var(--t), border-color var(--t);
}
.social-link:hover { background: var(--accent-pale); color: var(--accent); border-color: rgba(220,38,38,.25); }

.cookie-banner {
  position: fixed; bottom: 0; left: 0; right: 0;
  background: var(--surface); border-top: 1px solid var(--border);
  padding: 1rem 1.75rem; z-index: 10000;
  display: none; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: .75rem;
  box-shadow: 0 -4px 20px rgba(0,0,0,.08);
}
.cookie-banner p { font-size: .85rem; margin: 0; color: var(--text-muted); }
.cookie-banner a { color: var(--accent); text-decoration: underline; }
.cookie-actions  { display: flex; gap: .6rem; flex-shrink: 0; }

/* w-full helper used in mobile nav */
.w-full { width: 100%; }
.text-center { text-align: center; }

/* ── Responsive ── */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}
@media (max-width: 768px) {
  .nav-links, .nav-actions { display: none; }
  .nav-toggle { display: flex; }
  .nav-mobile { display: block; }
  section { padding: 4rem 0; }
  .hero { min-height: 80vh; padding-bottom: 4rem; }
  .hero-btns { flex-direction: column; }
  .hero-btns .btn { width: 100%; justify-content: center; }
  .trust-inner { gap: 1rem; }
  .features-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
  .footer-legal { flex-direction: column; gap: .5rem; }
  .cta-btns, .cta-actions { flex-direction: column; align-items: stretch; }
  .cta-btns .btn, .cta-actions .btn { width: 100%; justify-content: center; }
}
@media (max-width: 480px) {
  section { padding: 3rem 0; }
  h1 { font-size: clamp(2rem, 8vw, 2.6rem); }
  h2 { font-size: clamp(1.7rem, 6vw, 2.2rem); }
}
