/* =========================================================
   Unicorn Security — Industrial-luxe hacker terminal
   Deep navy-black / burgundy-to-magenta accents / Lato 900
   ========================================================= */

:root {
  /* Base palette */
  --bg:            #05061a;
  --bg-raise:      #0a0b26;
  --surface:       rgba(255, 255, 255, 0.028);
  --surface-hi:    rgba(255, 255, 255, 0.055);
  --border:        rgba(255, 255, 255, 0.09);
  --border-hi:     rgba(255, 255, 255, 0.18);

  /* Ink */
  --ink:           #f2f3f8;
  --ink-dim:       #a6abc2;
  --ink-mute:      #6a6f86;

  /* Brand */
  --burgundy:      #86063f;
  --burgundy-hot:  #ff4b86;
  --burgundy-deep: #5a0429;
  --navy:          #00075a;
  --glow:          rgba(255, 75, 134, 0.35);
  --glow-soft:     rgba(255, 75, 134, 0.12);
  --grad:          linear-gradient(135deg, #ff4b86 0%, #86063f 100%);
  --grad-soft:     linear-gradient(135deg, rgba(255,75,134,0.18) 0%, rgba(134,6,63,0.18) 100%);

  /* Semantic */
  --ok:            #4ade80;

  /* Geometry */
  --radius:        6px;
  --radius-lg:     10px;
  --shadow:        0 20px 50px -20px rgba(0, 0, 0, 0.7);
  --shadow-glow:   0 30px 80px -30px var(--glow), 0 0 0 1px var(--border-hi);
  --max-w:         1240px;

  /* Type */
  --font-sans:     "Lato", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono:     ui-monospace, "JetBrains Mono", "SF Mono", Menlo, Consolas, monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  font-size: 16px;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

/* Global atmospheric texture */
body::before {
  content: "";
  position: fixed; inset: 0;
  background-image:
    radial-gradient(circle at 18% 12%, rgba(255, 75, 134, 0.12) 0, transparent 42%),
    radial-gradient(circle at 85% 78%, rgba(0, 7, 90, 0.45) 0, transparent 55%),
    radial-gradient(circle at 50% 100%, rgba(134, 6, 63, 0.15) 0, transparent 50%);
  pointer-events: none;
  z-index: 0;
}
body::after {
  content: "";
  position: fixed; inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at center, #000 30%, transparent 90%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 90%);
  pointer-events: none;
  z-index: 0;
}

main, .site-header, .site-footer, .no-cookie-banner { position: relative; z-index: 1; }

img { max-width: 100%; display: block; }
a { color: var(--burgundy-hot); text-decoration: none; transition: color 0.2s; }
a:hover { color: #ff7ba6; text-decoration: none; }

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 28px;
}
.container-narrow { max-width: 820px; margin: 0 auto; padding: 0 28px; }

::selection { background: var(--burgundy-hot); color: #fff; }

/* ---------- A11y ---------- */
.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--burgundy-hot); color: #05061a; padding: 12px 18px; z-index: 9999;
  font-weight: 900;
}
.skip-link:focus { left: 8px; top: 8px; }
:focus-visible { outline: 2px solid var(--burgundy-hot); outline-offset: 3px; border-radius: 4px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(5, 6, 26, 0.72);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-bottom: 1px solid var(--border);
}
.site-header .container {
  display: flex; align-items: center; justify-content: space-between;
  height: 76px; gap: 24px;
}
.logo {
  display: flex; align-items: center; gap: 12px;
  font-weight: 900; font-size: 1.1rem; color: var(--ink);
  letter-spacing: -0.01em;
  text-transform: none;
}
.logo:hover { color: var(--ink); text-decoration: none; }
.logo-mark { width: 38px; height: 38px; flex-shrink: 0; filter: drop-shadow(0 0 12px var(--glow-soft)); }
.logo img {
  height: 45px;
  width: auto;
  display: block;
}

.main-nav ul {
  display: flex; gap: 32px; list-style: none; align-items: center;
}
.main-nav a {
  color: var(--ink-dim); font-weight: 600; font-size: 0.88rem;
  position: relative; padding: 6px 0;
  text-transform: uppercase; letter-spacing: 0.08em;
  transition: color 0.2s;
}
.main-nav a:hover { color: var(--burgundy-hot); text-decoration: none; }
.main-nav a::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 0; height: 1px; background: var(--burgundy-hot);
  box-shadow: 0 0 8px var(--burgundy-hot);
  transition: width 0.3s ease;
}
.main-nav a:hover::after { width: 100%; }

/* ---------- Blog dropdown ---------- */
.has-dropdown {
  position: relative;
}
.dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 190px;
  background: rgba(5, 6, 26, 0.96);
  backdrop-filter: blur(24px);
  border: 1px solid var(--border-hi);
  border-radius: var(--radius);
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(8px);
  transition: all 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
  box-shadow: 0 20px 50px -10px rgba(0, 0, 0, 0.8);
  z-index: 200;
}
.dropdown::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -16px;
  height: 16px;
}
.has-dropdown:hover .dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}
.dropdown a {
  display: block;
  padding: 9px 20px;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--ink-dim);
  letter-spacing: 0.04em;
  transition: all 0.2s;
  text-transform: none;
  white-space: nowrap;
}
.dropdown a:hover {
  color: var(--burgundy-hot);
  background: rgba(255, 75, 134, 0.06);
  padding-left: 24px;
}
.dropdown a::after {
  display: none;
}
@media (max-width: 720px) {
  .dropdown {
    display: none;
  }
}

/* Flag-only lang toggle */
.lang-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; padding: 0;
  border: 1px solid transparent; background: transparent; border-radius: 50%;
  transition: all 0.25s ease;
}
.lang-toggle:hover {
  background: var(--surface-hi);
  border-color: var(--border-hi);
  transform: scale(1.08);
  text-decoration: none;
}
.lang-toggle::after { display: none !important; }
.lang-toggle svg {
  width: 26px; height: auto; display: block;
  border-radius: 3px; overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.menu-toggle {
  display: none; background: none; border: 0; cursor: pointer; padding: 8px;
}
.menu-toggle span {
  display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0;
  transition: all 0.3s;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 100px 0 100px;
  overflow: hidden;
  background: transparent;
}
.hero::before {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  width: 900px; height: 500px;
  background: radial-gradient(ellipse, rgba(255, 75, 134, 0.18) 0%, transparent 55%);
  transform: translate(-50%, -50%);
  filter: blur(60px);
  pointer-events: none;
  z-index: 0;
}
.hero::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--burgundy-hot) 50%, transparent 100%);
  opacity: 0.6;
  box-shadow: 0 0 12px var(--burgundy-hot);
  animation: scanline 6s ease-in-out infinite;
}
@keyframes scanline {
  0%, 100% { top: 0%; opacity: 0; }
  10% { opacity: 0.6; }
  90% { opacity: 0.6; }
  50% { top: 100%; }
}

.hero .container { position: relative; z-index: 2; text-align: center; }

.hero .tagline-mono {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono); font-size: 0.78rem;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--burgundy-hot);
  background: rgba(255, 75, 134, 0.06);
  border: 1px solid rgba(255, 75, 134, 0.28);
  padding: 8px 18px; border-radius: 999px;
  margin-bottom: 32px;
  animation: fadeUp 0.7s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}
.hero .tagline-mono::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%;
  background: var(--burgundy-hot);
  box-shadow: 0 0 0 4px rgba(255, 75, 134, 0.2), 0 0 12px var(--burgundy-hot);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(255, 75, 134, 0.2), 0 0 12px var(--burgundy-hot); }
  50%      { box-shadow: 0 0 0 6px rgba(255, 75, 134, 0.08), 0 0 20px var(--burgundy-hot); }
}

.hero h1 {
  font-size: clamp(2rem, 5.5vw, 4.2rem);
  font-weight: 900; line-height: 0.98; letter-spacing: -0.035em;
  margin-bottom: 24px;
  animation: fadeUp 0.8s 0.1s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}
.hero h1 .accent {
  background: var(--grad);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: gradShift 6s ease infinite;
  display: inline-block;
}
.hero h1 .cursor {
  display: inline-block;
  width: 0.08em;
  height: 0.85em;
  background: var(--burgundy-hot);
  margin-left: 0.08em;
  vertical-align: text-bottom;
  box-shadow: 0 0 12px var(--burgundy-hot);
  animation: blink 1s steps(2, start) infinite;
}
@keyframes blink { to { visibility: hidden; } }
@keyframes gradShift {
  0%, 100% { background-position: 0% 50%; }
  50%      { background-position: 100% 50%; }
}

.hero-terminal {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  margin: 28px 0 32px;
  background: rgba(0, 0, 0, 0.55);
  border: 1px solid var(--border);
  border-radius: 8px;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.04);
  animation: fadeUp 0.8s 0.2s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}
.hero-terminal .term-user { color: var(--ok); font-weight: 700; }
.hero-terminal .term-colon,
.hero-terminal .term-at   { color: var(--ink-mute); }
.hero-terminal .term-path { color: #60a5fa; font-weight: 700; }
.hero-terminal .term-prompt {
  color: var(--burgundy-hot);
  font-weight: 900;
  margin: 0 6px 0 2px;
  text-shadow: 0 0 8px var(--glow);
}
.hero-terminal .term-cmd { color: var(--ink); }
.hero-terminal .term-ok {
  color: var(--ok);
  display: inline-flex; align-items: center; gap: 6px;
  padding-left: 12px;
  margin-left: 4px;
  border-left: 1px solid var(--border);
}
.hero-terminal .term-ok::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--ok); box-shadow: 0 0 8px var(--ok);
}

.hero p.lead {
  font-size: clamp(1.05rem, 1.4vw, 1.22rem);
  color: var(--ink-dim);
  max-width: 680px; margin: 0 auto 40px;
  font-weight: 400;
  animation: fadeUp 0.8s 0.3s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}
.hero-cta {
  display: flex; gap: 14px; justify-content: center; flex-wrap: wrap;
  animation: fadeUp 0.8s 0.45s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 32px; border-radius: 999px; font-weight: 800; font-size: 0.92rem;
  transition: all 0.28s cubic-bezier(0.2, 0.8, 0.2, 1);
  cursor: pointer; border: 0;
  font-family: inherit;
  letter-spacing: 0.02em;
  position: relative;
  overflow: hidden;
  text-transform: uppercase;
}
.btn-primary {
  background: var(--grad);
  background-size: 150% 150%;
  color: #fff;
  box-shadow: 0 10px 30px -10px var(--glow), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}
.btn-primary:hover {
  background-position: 100% 100%;
  transform: translateY(-3px);
  box-shadow: 0 20px 40px -10px var(--glow), inset 0 1px 0 rgba(255, 255, 255, 0.3);
  text-decoration: none;
  color: #fff;
}
.btn-outline {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--border-hi);
}
.btn-outline:hover {
  background: var(--surface-hi);
  border-color: var(--burgundy-hot);
  color: var(--burgundy-hot);
  text-decoration: none;
  transform: translateY(-3px);
}

/* ---------- Credentials strip ---------- */
.credentials {
  padding: 44px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.015);
}
.credentials-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  text-align: center;
}
.cred-item {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  padding: 0 20px;
  position: relative;
}
.cred-item + .cred-item::before {
  content: ""; position: absolute; left: 0;
  top: 20%; height: 60%;
  width: 1px; background: var(--border);
}
.cred-item strong {
  font-size: 1.7rem; color: var(--ink); font-weight: 900;
  letter-spacing: -0.02em;
  background: linear-gradient(180deg, var(--ink) 0%, var(--ink-dim) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.cred-item span {
  font-size: 0.78rem; color: var(--ink-mute);
  text-transform: uppercase; letter-spacing: 0.12em; font-weight: 600;
  font-family: var(--font-mono);
}

/* ---------- Sections ---------- */
section { padding: 80px 0; position: relative; }

.section-head { text-align: center; max-width: 800px; margin: 0 auto 58px; }
.section-head .eyebrow {
  display: inline-block; font-family: var(--font-mono); font-size: 0.75rem;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--burgundy-hot);
  margin-bottom: 18px;
}
.section-head .eyebrow::before {
  content: "// ";
  opacity: 0.6;
}
.section-head h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--ink); font-weight: 900; line-height: 1.08;
  letter-spacing: -0.03em; margin-bottom: 20px;
}
.section-head p {
  font-size: 1.08rem; color: var(--ink-dim);
  max-width: 640px; margin: 0 auto;
}

/* ---------- Approach ---------- */
.approach-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.approach-card {
  padding: 40px 32px 36px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
  transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
  position: relative;
  overflow: hidden;
}
.approach-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top left, var(--glow-soft), transparent 60%);
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}
.approach-card:hover {
  border-color: var(--burgundy-hot);
  transform: translateY(-6px);
  box-shadow: var(--shadow-glow);
}
.approach-card:hover::before { opacity: 1; }
.approach-card > * { position: relative; }

.approach-icon {
  width: 56px; height: 56px; border-radius: 8px;
  background: rgba(255, 75, 134, 0.08);
  border: 1px solid rgba(255, 75, 134, 0.3);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 24px;
  transition: all 0.4s;
}
.approach-card:hover .approach-icon {
  background: rgba(255, 75, 134, 0.15);
  border-color: var(--burgundy-hot);
  box-shadow: 0 0 24px var(--glow-soft);
}
.approach-icon svg { width: 26px; height: 26px; stroke: var(--burgundy-hot); }
.approach-card h3 {
  color: var(--ink); font-size: 1.18rem; margin-bottom: 12px;
  font-weight: 900; letter-spacing: -0.01em;
}
.approach-card p { color: var(--ink-dim); font-size: 0.96rem; }

/* ---------- Services ---------- */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 44px 36px 40px;
  position: relative;
  transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
  display: flex; flex-direction: column;
}
/* Corner brackets — signature technical aesthetic */
.service-card::before,
.service-card::after {
  content: "";
  position: absolute;
  width: 22px; height: 22px;
  transition: all 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
  pointer-events: none;
}
.service-card::before {
  top: -1px; left: -1px;
  border-top: 2px solid var(--burgundy-hot);
  border-left: 2px solid var(--burgundy-hot);
}
.service-card::after {
  bottom: -1px; right: -1px;
  border-bottom: 2px solid var(--burgundy-hot);
  border-right: 2px solid var(--burgundy-hot);
}
.service-card:hover {
  background: var(--surface-hi);
  transform: translateY(-6px);
  box-shadow: var(--shadow-glow);
}
.service-card:hover::before,
.service-card:hover::after {
  width: 44px; height: 44px;
}
.service-card .tag {
  display: inline-block; font-family: var(--font-mono); font-size: 0.7rem;
  letter-spacing: 0.14em; text-transform: uppercase;
  padding: 6px 14px; border-radius: 999px;
  background: rgba(255, 75, 134, 0.1);
  border: 1px solid rgba(255, 75, 134, 0.28);
  color: var(--burgundy-hot);
  margin-bottom: 22px; align-self: flex-start;
  font-weight: 700;
}
.service-card h3 {
  color: var(--ink); font-size: 1.42rem; margin-bottom: 16px;
  line-height: 1.2; font-weight: 900; letter-spacing: -0.015em;
}
.service-card .desc { color: var(--ink-dim); margin-bottom: 24px; font-size: 0.96rem; }
.service-card .desc strong { color: var(--ink); font-weight: 900; }
.service-card ul { list-style: none; margin-bottom: 26px; }
.service-card li {
  padding: 9px 0 9px 22px; position: relative;
  font-size: 0.92rem; color: var(--ink-dim);
  border-bottom: 1px dashed var(--border);
}
.service-card li:last-child { border-bottom: 0; }
.service-card li::before {
	content: ""; position: absolute; left: 0; top: 50%;
	transform: translateY(-50%);
	width: 10px; height: 2px; background: var(--burgundy-hot);
  box-shadow: 0 0 6px var(--burgundy-hot);
}
.service-card .price {
  margin-top: auto; padding-top: 22px;
  border-top: 1px solid var(--border);
  font-weight: 800; color: var(--ink-dim); font-size: 0.86rem;
  text-transform: uppercase; letter-spacing: 0.08em;
  font-family: var(--font-mono);
}
.service-card .price span {
  color: var(--burgundy-hot);
  font-size: 1.2rem;
  font-weight: 900;
  letter-spacing: 0;
}
/* ---------- Service card collapse ---------- */
.service-card details {
  border: 0;
  margin: 0;
}
.service-card summary {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--burgundy-hot);
  padding: 14px 0 4px;
  list-style: none;
  transition: color 0.2s;
}
.service-card summary::-webkit-details-marker { display: none; }
.service-card summary::after {
  content: "+";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1px solid rgba(255, 75, 134, 0.3);
  font-size: 0.9rem;
  transition: all 0.3s;
}
.service-card details[open] summary::after {
  content: "−";
  background: rgba(255, 75, 134, 0.1);
  transform: rotate(180deg);
}
.service-card summary:hover {
  color: #ff7ba6;
}
.service-card details[open] summary {
  margin-bottom: 10px;
}

/* ---------- EDIH banner ---------- */
.edih-banner {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 28px;
  padding: 22px 30px;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 75, 134, 0.25);
  background: rgba(255, 75, 134, 0.04);
  transition: all 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
  text-decoration: none;
}
.edih-banner:hover {
  background: rgba(255, 75, 134, 0.08);
  border-color: var(--burgundy-hot);
  transform: translateY(-3px);
  box-shadow: var(--shadow-glow);
  text-decoration: none;
}
.edih-banner-badge {
  flex-shrink: 0;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--burgundy-hot);
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255, 75, 134, 0.1);
  border: 1px solid rgba(255, 75, 134, 0.3);
}
.edih-banner-text {
  flex: 1;
  font-size: 0.94rem;
  color: var(--ink-dim);
}
.edih-banner-text strong {
  color: var(--ink);
}
.edih-banner-arrow {
  flex-shrink: 0;
  font-size: 1.3rem;
  color: var(--ink-mute);
  transition: all 0.3s;
}
.edih-banner:hover .edih-banner-arrow {
  color: var(--burgundy-hot);
  transform: translateX(4px);
}
@media (max-width: 720px) {
  .edih-banner { flex-wrap: wrap; }
  .edih-banner-arrow { display: none; }
  .hero-terminal { display: none; }
}

/* ---------- PASSI (accent section) ---------- */
.passi {
  background: linear-gradient(135deg, rgba(134, 6, 63, 0.12) 0%, rgba(0, 7, 90, 0.2) 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.passi::before {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  width: 800px; height: 800px;
  background: radial-gradient(circle, rgba(255, 75, 134, 0.1) 0%, transparent 55%);
  transform: translate(-50%, -50%);
  filter: blur(70px);
  pointer-events: none;
}
.passi > .container { position: relative; }

.passi-badge {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 12px 22px;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 75, 134, 0.3);
  border-radius: 999px; margin-bottom: 26px;
  font-family: var(--font-mono); font-size: 0.78rem;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink);
  font-weight: 700;
  box-shadow: 0 0 40px var(--glow-soft);
}
.passi-badge::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 0 4px rgba(74, 222, 128, 0.2), 0 0 10px var(--ok);
  animation: pulse-ok 2.5s ease-in-out infinite;
}
@keyframes pulse-ok {
  0%, 100% { box-shadow: 0 0 0 4px rgba(74, 222, 128, 0.18), 0 0 10px var(--ok); }
  50%      { box-shadow: 0 0 0 7px rgba(74, 222, 128, 0.05), 0 0 18px var(--ok); }
}

.passi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.passi-card {
  padding: 36px 30px; border-radius: var(--radius);
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid var(--border);
  transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
  position: relative;
}
.passi-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 40px; height: 2px;
  background: var(--burgundy-hot);
  box-shadow: 0 0 8px var(--burgundy-hot);
  transition: width 0.35s;
}
.passi-card:hover {
  background: rgba(0, 0, 0, 0.55);
  border-color: var(--burgundy-hot);
  transform: translateY(-4px);
}
.passi-card:hover::before { width: 100%; }
.passi-card h3 {
  color: var(--ink); font-size: 1.14rem;
  margin-bottom: 10px; font-weight: 900; letter-spacing: -0.01em;
}
.passi-card p { color: var(--ink-dim); font-size: 0.94rem; }

/* ---------- Other services — MARQUEE ---------- */
.other-services { padding-bottom: 80px; }
.marquee {
  position: relative;
  overflow: hidden;
  padding: 16px 0 24px;
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.marquee-track {
  display: flex;
  gap: 14px;
  width: max-content;
  animation: marquee-scroll 70s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-tile {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--ink);
  font-weight: 700;
  font-size: 0.92rem;
  white-space: nowrap;
  flex-shrink: 0;
  transition: all 0.25s ease;
  letter-spacing: 0.005em;
}
.marquee-tile:hover {
  border-color: var(--burgundy-hot);
  background: rgba(255, 75, 134, 0.08);
  color: var(--burgundy-hot);
  transform: translateY(-2px);
  box-shadow: 0 0 20px var(--glow-soft);
}
.marquee-tile .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--burgundy-hot);
  box-shadow: 0 0 6px var(--burgundy-hot);
  flex-shrink: 0;
}
@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(calc(-50% - 7px)); }
}
.other-cta { text-align: center; margin-top: 48px; }

/* ---------- Testimonials — CAROUSEL ---------- */
.testimonials { padding-bottom: 104px; }
.testimonials .section-head { margin-bottom: 54px; }
.testimonials-wrap { position: relative; }
.testimonials-carousel {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 10px 4px 28px;
  scrollbar-color: var(--burgundy-hot) var(--border);
  scrollbar-width: thin;
}
.testimonials-carousel::-webkit-scrollbar { height: 6px; }
.testimonials-carousel::-webkit-scrollbar-track { background: var(--border); border-radius: 999px; }
.testimonials-carousel::-webkit-scrollbar-thumb {
  background: var(--burgundy-hot); border-radius: 999px;
  box-shadow: 0 0 8px var(--burgundy-hot);
}

.testimonial-card {
  flex: 0 0 380px;
  scroll-snap-align: start;
  background: var(--surface);
  border-radius: var(--radius);
  padding: 32px 30px 26px;
  border: 1px solid var(--border);
  position: relative;
  display: flex;
  flex-direction: column;
  transition: all 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.testimonial-card:hover {
  background: var(--surface-hi);
  transform: translateY(-4px);
  border-color: var(--burgundy-hot);
  box-shadow: var(--shadow-glow);
}
.testimonial-card::before {
  content: "\201C";
  position: absolute; top: 2px; left: 18px;
  font-family: Georgia, serif; font-size: 4.5rem;
  color: var(--burgundy-hot); line-height: 1; opacity: 0.25;
  pointer-events: none;
}
.testimonial-quote {
  color: var(--ink-dim); font-size: 0.92rem; line-height: 1.7;
  margin-bottom: 22px; flex: 1; position: relative;
  font-weight: 400;
}
.testimonial-author {
  padding-top: 16px; border-top: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
  gap: 10px; flex-wrap: wrap;
}
.testimonial-author .who { display: flex; flex-direction: column; }
.testimonial-author strong {
  color: var(--ink); font-size: 0.94rem; font-weight: 900;
}
.testimonial-author span.role {
  color: var(--ink-mute); font-size: 0.8rem;
  font-family: var(--font-mono); letter-spacing: 0.02em;
}
.testimonial-location {
  font-family: var(--font-mono); font-size: 0.68rem;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--burgundy-hot);
  padding: 4px 10px; border-radius: 999px;
  background: rgba(255, 75, 134, 0.08);
  border: 1px solid rgba(255, 75, 134, 0.2);
  white-space: nowrap;
  font-weight: 700;
}

.carousel-nav {
  position: absolute;
  top: calc(50% - 10px); transform: translateY(-50%);
  width: 48px; height: 48px; border-radius: 50%;
  background: rgba(5, 6, 26, 0.9);
  border: 1px solid var(--border-hi);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; z-index: 5;
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.8);
  transition: all 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
  color: var(--ink);
  backdrop-filter: blur(8px);
}
.carousel-nav:hover {
  background: var(--burgundy);
  color: #fff;
  border-color: var(--burgundy-hot);
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 10px 30px -5px var(--glow);
}
.carousel-nav.prev { left: -22px; }
.carousel-nav.next { right: -22px; }
.carousel-nav svg {
  width: 20px; height: 20px; stroke: currentColor;
  fill: none; stroke-width: 2.5;
  stroke-linecap: round; stroke-linejoin: round;
}

/* ---------- Contact ---------- */
.contact { padding-bottom: 104px; }
.contact-box {
  max-width: 820px; margin: 0 auto;
  padding: 64px 52px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.contact-box::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--grad);
  box-shadow: 0 0 20px var(--glow);
}
.contact-box::after {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  width: 600px; height: 400px;
  background: radial-gradient(ellipse, var(--glow-soft) 0%, transparent 60%);
  transform: translate(-50%, -50%);
  filter: blur(60px);
  pointer-events: none;
}
.contact-box > * { position: relative; }
.contact-box h2 {
  color: var(--ink); font-size: clamp(1.8rem, 3vw, 2.4rem);
  margin-bottom: 14px; letter-spacing: -0.025em; font-weight: 900;
}
.contact-box p { color: var(--ink-dim); margin-bottom: 36px; }
.contact-methods {
  display: flex; justify-content: center; flex-wrap: wrap; gap: 14px;
}
.contact-methods a {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 24px; border-radius: 999px;
  background: rgba(0, 0, 0, 0.35); color: var(--ink); font-weight: 700;
  font-size: 0.92rem;
  transition: all 0.25s;
  border: 1px solid var(--border);
}
.contact-methods a:hover {
  background: var(--burgundy);
  color: #fff;
  border-color: var(--burgundy-hot);
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 10px 30px -10px var(--glow);
}
.contact-methods svg { width: 18px; height: 18px; }

/* ---------- Footer ---------- */
.site-footer {
  background: rgba(0, 0, 0, 0.4);
  color: var(--ink-dim);
  padding: 70px 0 32px;
  border-top: 1px solid var(--border);
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 48px;
  padding-bottom: 44px; border-bottom: 1px solid var(--border);
}
.site-footer h4 {
  color: var(--ink); font-size: 0.76rem; text-transform: uppercase;
  letter-spacing: 0.14em; margin-bottom: 18px; font-weight: 800;
  font-family: var(--font-mono);
}
.site-footer a { color: var(--ink-dim); font-size: 0.92rem; }
.site-footer a:hover { color: var(--burgundy-hot); }
.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: 10px; }
.footer-brand p { font-size: 0.92rem; margin-top: 10px; max-width: 380px; color: var(--ink-mute); }
.footer-brand .logo { color: var(--ink); }
.footer-bottom {
  padding-top: 26px; display: flex; justify-content: space-between;
  flex-wrap: wrap; gap: 12px; font-size: 0.82rem; color: var(--ink-mute);
  font-family: var(--font-mono);
}

/* ---------- Cookie-free banner ---------- */
.no-cookie-banner {
  position: fixed;
  bottom: 12px;
  right: 12px;
  left: auto;
  max-width: 340px;
  background: rgba(5, 6, 26, 0.88);
  backdrop-filter: blur(16px);
  color: var(--ink-dim);
  padding: 10px 16px;
  border-radius: 999px;
  box-shadow: 0 8px 24px -8px rgba(0, 0, 0, 0.6);
  z-index: 500;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.72rem;
  border: 1px solid var(--border);
}
.no-cookie-banner.hidden { display: none; }
.no-cookie-banner p {
  flex: 1;
  margin: 0;
  color: var(--ink-mute);
  line-height: 1.4;
}
.no-cookie-banner strong {
  color: var(--ink-dim);
  font-weight: 700;
}
.no-cookie-banner button {
  background: none;
  color: var(--ink-mute);
  border: 1px solid var(--border);
  padding: 4px 12px;
  border-radius: 999px;
  font-weight: 700;
  cursor: pointer;
  font-size: 0.68rem;
  font-family: inherit;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  transition: all 0.2s;
  flex-shrink: 0;
}
.no-cookie-banner button:hover {
  color: var(--ink);
  border-color: var(--ink-mute);
}

/* ---------- Legal pages ---------- */
.legal-main { padding: 90px 0 120px; min-height: 60vh; }
.legal-main h1 {
  color: var(--ink); font-size: clamp(2rem, 4vw, 2.8rem);
  margin-bottom: 8px; letter-spacing: -0.03em; font-weight: 900;
}
.legal-main .legal-sub {
  color: var(--ink-mute); margin-bottom: 44px;
  font-family: var(--font-mono); font-size: 0.86rem;
  text-transform: uppercase; letter-spacing: 0.08em;
}
.legal-main h2 {
  color: var(--ink); font-size: 1.25rem; margin: 36px 0 14px;
  padding-bottom: 10px; font-weight: 900;
  position: relative; display: inline-block;
}
.legal-main h2::after {
  content: ""; position: absolute;
  left: 0; bottom: 0; width: 36px; height: 2px;
  background: var(--burgundy-hot); box-shadow: 0 0 8px var(--burgundy-hot);
}
.legal-main p, .legal-main li { color: var(--ink-dim); font-size: 0.96rem; margin-bottom: 10px; }
.legal-main strong { color: var(--ink); }
.legal-main ul { padding-left: 22px; margin-bottom: 18px; }
.legal-main a { color: var(--burgundy-hot); }
.legal-main a:hover { color: #ff7ba6; }
.back-link { margin-top: 44px; display: inline-block; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .credentials-grid { grid-template-columns: repeat(2, 1fr); }
  .cred-item:nth-child(3)::before { display: none; }
  .cred-item { padding: 20px 10px; }
  .approach-grid, .services-grid, .passi-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  section { padding: 90px 0; }
  .hero { padding: 90px 0 100px; }
  .testimonial-card { flex: 0 0 320px; }
  .carousel-nav.prev { left: 4px; }
  .carousel-nav.next { right: 4px; }
}

@media (max-width: 720px) {
  .menu-toggle { display: block; }
  .main-nav {
    position: absolute; top: 76px; left: 0; right: 0;
    background: rgba(5, 6, 26, 0.98);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    max-height: 0; overflow: hidden; transition: max-height 0.3s;
  }
  .main-nav.open { max-height: 500px; }
  .main-nav ul { flex-direction: column; padding: 24px; gap: 20px; align-items: flex-start; }
  .contact-box { padding: 44px 26px; }
  .testimonial-card { flex: 0 0 86vw; }
  .carousel-nav { display: none; }
  .no-cookie-banner { flex-direction: column; text-align: center; left: 12px; right: 12px; bottom: 12px; }
  .hero-terminal { font-size: 0.72rem; padding: 9px 16px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
  .marquee-track, .hero::after, .hero h1 .cursor { animation: none !important; }
}


/* ---------- EDIH page overrides ---------- */
.edih-hero { padding: 90px 0 80px; }
.edih-hero h1 { font-size: clamp(1.8rem, 4.5vw, 3.2rem); }
.edih-section { padding: 80px 0; }
.edih-contact { padding: 80px 0 100px; }
.grid-2col { grid-template-columns: repeat(2, 1fr); }
.grid-2col-narrow { grid-template-columns: repeat(2, 1fr); max-width: 900px; margin: 0 auto; }

@media (max-width: 960px) {
	.grid-2col,
	.grid-2col-narrow {
	  grid-template-columns: 1fr;
	}
}

/* =========================================================
   Blog homepage (blog.html)
   ========================================================= */

/* ---- Blog hero ---- */
.blog-hero {
  padding: 80px 0 0;
  text-align: center;
  position: relative;
}
.blog-hero::before {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  width: 700px; height: 400px;
  background: radial-gradient(ellipse, rgba(255,75,134,.14) 0%, transparent 55%);
  transform: translate(-50%, -50%);
  filter: blur(60px);
  pointer-events: none;
}
.blog-hero .container { position: relative; }
.blog-hero .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: .75rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--burgundy-hot);
  margin-bottom: 24px;
}
.blog-hero .eyebrow::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--burgundy-hot);
  box-shadow: 0 0 0 4px rgba(255,75,134,.2), 0 0 10px var(--burgundy-hot);
  animation: pulse 2s ease-in-out infinite;
}
.blog-hero h1 {
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -.03em;
  margin-bottom: 18px;
}
.blog-hero h1 .accent {
  background: var(--grad);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: gradShift 6s ease infinite;
}
.blog-hero p.lead {
  font-size: 1.08rem;
  color: var(--ink-dim);
  max-width: 620px;
  margin: 0 auto 36px;
}

/* ---- Category cards grid ---- */
.categories-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
  margin-bottom: 40px;
}
.cat-card {
  flex: 0 0 calc(33.333% - 16px);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 30px;
  position: relative;
  transition: all .4s cubic-bezier(.2,.8,.2,1);
  text-align: left;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: var(--ink);
}
.cat-card::before,
.cat-card::after {
  content: "";
  position: absolute;
  width: 20px; height: 20px;
  transition: all .35s;
  pointer-events: none;
}
.cat-card::before {
  top: -1px; left: -1px;
  border-top: 2px solid var(--burgundy-hot);
  border-left: 2px solid var(--burgundy-hot);
}
.cat-card::after {
  bottom: -1px; right: -1px;
  border-bottom: 2px solid var(--burgundy-hot);
  border-right: 2px solid var(--burgundy-hot);
}
.cat-card:hover {
  background: var(--surface-hi);
  transform: translateY(-6px);
  box-shadow: var(--shadow-glow);
  text-decoration: none;
  color: var(--ink);
}
.cat-card:hover::before,
.cat-card:hover::after {
  width: 40px; height: 40px;
}

/* ---- Category card content ---- */
.cat-icon {
  width: 48px; height: 48px;
  border-radius: 8px;
  background: rgba(255,75,134,.08);
  border: 1px solid rgba(255,75,134,.3);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: all .4s;
}
.cat-card:hover .cat-icon {
  background: rgba(255,75,134,.15);
  box-shadow: 0 0 24px var(--glow-soft);
}
.cat-icon svg {
  width: 24px; height: 24px;
  stroke: var(--burgundy-hot);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.cat-card h2 {
  color: var(--ink);
  font-size: 1.25rem;
  font-weight: 900;
  margin-bottom: 10px;
  letter-spacing: -.01em;
}
.cat-card p {
  color: var(--ink-dim);
  font-size: .94rem;
  flex: 1;
  margin-bottom: 18px;
}
.cat-count {
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--burgundy-hot);
}

/* ---- Blog responsive ---- */
@media (max-width: 960px) {
  .cat-card {
    flex: 0 0 100%;
  }
}

/* ---- CTA back to main site ---- */
.cta-main-site{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-lg);padding:36px;text-align:center;margin:48px 0}
.cta-main-site p{color:var(--ink-dim);margin-bottom:18px}
.cta-main-site .btn{display:inline-flex;align-items:center;gap:10px;padding:14px 28px;border-radius:999px;font-weight:800;font-size:.88rem;background:var(--grad);color:#fff;text-transform:uppercase;letter-spacing:.02em;transition:all .28s;border:0;cursor:pointer;font-family:inherit;box-shadow:0 10px 30px -10px var(--glow)}
.cta-main-site .btn:hover{transform:translateY(-3px);box-shadow:0 20px 40px -10px var(--glow);text-decoration:none;color:#fff}
