/* ============================================================
   HF IT B.V. — Main Stylesheet
   Dark MSSP theme | Three colour themes available via body[data-theme]
   Theme A (default): Cyber Blue
   Theme B:           Purple Pulse
   Theme C:           Emerald Matrix
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

/* ── Themes ─────────────────────────────────────────────── */

:root,
[data-theme="A"] {
  --bg-0: #060b18;
  --bg-1: #0a1020;
  --bg-2: #0f1a2e;
  --bg-card: #0d1828;
  --accent: #00c8ff;
  --accent-2: #0055ff;
  --gradient: linear-gradient(135deg, #00c8ff 0%, #0055ff 100%);
  --accent-dim: rgba(0, 200, 255, 0.10);
  --accent-glow: 0 0 40px rgba(0, 200, 255, 0.20);
  --border: rgba(0, 200, 255, 0.12);
  --border-h: rgba(0, 200, 255, 0.40);
}

[data-theme="B"] {
  --bg-0: #07060f;
  --bg-1: #0e0c1e;
  --bg-2: #14112a;
  --bg-card: #110f24;
  --accent: #a855f7;
  --accent-2: #6366f1;
  --gradient: linear-gradient(135deg, #a855f7 0%, #6366f1 100%);
  --accent-dim: rgba(168, 85, 247, 0.10);
  --accent-glow: 0 0 40px rgba(168, 85, 247, 0.20);
  --border: rgba(168, 85, 247, 0.12);
  --border-h: rgba(168, 85, 247, 0.40);
}

[data-theme="C"] {
  --bg-0: #020f09;
  --bg-1: #04170d;
  --bg-2: #082015;
  --bg-card: #061a11;
  --accent: #00ff88;
  --accent-2: #00cc66;
  --gradient: linear-gradient(135deg, #00ff88 0%, #00cc66 100%);
  --accent-dim: rgba(0, 255, 136, 0.08);
  --accent-glow: 0 0 40px rgba(0, 255, 136, 0.18);
  --border: rgba(0, 255, 136, 0.10);
  --border-h: rgba(0, 255, 136, 0.35);
}

/* ── Shared tokens ──────────────────────────────────────── */

:root {
  --text-1: #ffffff;
  --text-2: #8899bb;
  --text-3: #4a5c78;
  --radius: 12px;
  --radius-lg: 20px;
  --nav-h: 72px;
  --transition: 0.25s ease;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --max-w: 1200px;
  --section-py: 100px;
}

/* ── Reset ──────────────────────────────────────────────── */

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font);
  background: var(--bg-0);
  color: var(--text-1);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* ── Utilities ──────────────────────────────────────────── */

.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
.gradient-text { background: var(--gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.section { padding: var(--section-py) 0; }
.section--alt { background: var(--bg-1); }
.tag {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--accent);
  background: var(--accent-dim); border: 1px solid var(--border);
  border-radius: 999px; padding: 4px 14px; margin-bottom: 16px;
}
.tag::before { content: ''; width: 6px; height: 6px; background: var(--accent); border-radius: 50%; }

/* ── Typography ─────────────────────────────────────────── */

h1, h2, h3, h4, h5 { line-height: 1.15; font-weight: 800; }
h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(2rem, 4vw, 3rem); letter-spacing: -0.02em; }
h3 { font-size: 1.25rem; font-weight: 700; }
p { color: var(--text-2); line-height: 1.75; }

.section-header { margin-bottom: 64px; }
.section-header h2 { margin-bottom: 16px; }
.section-header p { max-width: 560px; font-size: 1.05rem; }
.section-header.centered { text-align: center; }
.section-header.centered p { margin: 0 auto; }

/* ── Buttons ────────────────────────────────────────────── */

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.9rem; font-weight: 600; border-radius: 8px;
  padding: 13px 26px; transition: var(--transition);
  white-space: nowrap;
}
.btn-primary {
  background: var(--gradient);
  color: #fff;
  box-shadow: var(--accent-glow);
}
.btn-primary:hover { opacity: 0.88; transform: translateY(-1px); box-shadow: var(--accent-glow), 0 8px 32px rgba(0,0,0,0.4); }
.btn-outline {
  border: 1px solid var(--border-h);
  color: var(--text-1);
}
.btn-outline:hover { border-color: var(--accent); color: var(--accent); background: var(--accent-dim); }
.btn-ghost { color: var(--accent); font-weight: 600; font-size: 0.9rem; }
.btn-ghost:hover { gap: 12px; }
.btn-ghost .arrow { transition: transform var(--transition); }
.btn-ghost:hover .arrow { transform: translateX(4px); }

/* ── Navigation ─────────────────────────────────────────── */

.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--nav-h);
  display: flex; align-items: center;
  background: #0f1812;
  border-bottom: 1px solid rgba(50, 90, 50, 0.30);
  transition: box-shadow var(--transition);
}
.nav.scrolled {
  box-shadow: 0 2px 24px rgba(0, 0, 0, 0.4);
}
.nav__inner {
  display: flex; align-items: center;
  max-width: var(--max-w); margin: 0 auto; padding: 0 24px;
  width: 100%;
}
.nav__logo { flex-shrink: 0; display: flex; align-items: center; }
.nav__links {
  display: flex; align-items: center; gap: 8px;
  margin: 0 auto;
}
.nav__link {
  font-size: 0.875rem; font-weight: 500; color: rgba(255,255,255,0.75);
  padding: 6px 12px; border-radius: 6px;
  transition: color var(--transition), background var(--transition);
}
.nav__link:hover, .nav__link.active { color: #ffffff; background: rgba(255,255,255,0.08); }
.nav__right { display: flex; align-items: center; gap: 16px; flex-shrink: 0; }

/* Language toggle */
.lang-toggle {
  display: flex; align-items: center; gap: 2px;
  background: var(--bg-2); border: 1px solid var(--border);
  border-radius: 6px; padding: 2px; font-size: 0.8rem; font-weight: 600;
}
.lang-toggle button {
  padding: 4px 10px; border-radius: 4px;
  color: var(--text-2); transition: var(--transition);
}
.lang-toggle button.active {
  background: var(--gradient); color: #fff;
}

/* Theme picker */
.theme-picker {
  display: flex; align-items: center; gap: 4px;
}
.theme-dot {
  width: 16px; height: 16px; border-radius: 50%;
  cursor: pointer; border: 2px solid transparent;
  transition: var(--transition);
}
.theme-dot[data-theme="A"] { background: linear-gradient(135deg, #00c8ff, #0055ff); }
.theme-dot[data-theme="B"] { background: linear-gradient(135deg, #a855f7, #6366f1); }
.theme-dot[data-theme="C"] { background: linear-gradient(135deg, #00ff88, #00cc66); }
.theme-dot.active, .theme-dot:hover { border-color: rgba(255,255,255,0.6); transform: scale(1.2); }

/* Mobile menu */
.nav__burger {
  display: none; flex-direction: column; gap: 5px;
  padding: 8px; cursor: pointer;
}
.nav__burger span {
  display: block; width: 22px; height: 2px;
  background: var(--text-1); border-radius: 2px;
  transition: var(--transition);
}
.mobile-menu {
  display: none; position: fixed; inset: 0; z-index: 999;
  background: var(--bg-0); padding: var(--nav-h) 24px 40px;
  flex-direction: column; gap: 8px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a { font-size: 1.1rem; font-weight: 600; padding: 14px 0; border-bottom: 1px solid var(--border); }

/* ── Hero ───────────────────────────────────────────────── */

.hero {
  min-height: 100vh; display: flex; align-items: center;
  position: relative; overflow: hidden;
  padding-top: var(--nav-h);
}
.hero__bg {
  position: absolute; inset: 0; z-index: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(0,100,200,0.18) 0%, transparent 60%),
              radial-gradient(ellipse 40% 40% at 80% 60%, rgba(0,200,255,0.07) 0%, transparent 60%),
              var(--bg-0);
}
.hero__grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 40%, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 40%, black 30%, transparent 80%);
}
.hero__orb {
  position: absolute; border-radius: 50%; filter: blur(80px); pointer-events: none;
  animation: float 8s ease-in-out infinite;
}
.hero__orb--1 { width: 500px; height: 500px; top: -100px; right: -100px; background: var(--accent-dim); opacity: 0.6; }
.hero__orb--2 { width: 300px; height: 300px; bottom: 10%; left: -50px; background: rgba(0,85,255,0.06); animation-delay: -4s; }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-30px); }
}

.hero__content { position: relative; z-index: 1; max-width: 780px; }
.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--accent);
  margin-bottom: 28px;
}
.hero__eyebrow-dot { width: 8px; height: 8px; background: var(--accent); border-radius: 50%; animation: pulse 2s ease-in-out infinite; }

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

.hero h1 { margin-bottom: 24px; }
.hero__sub {
  font-size: clamp(1rem, 2vw, 1.2rem); color: var(--text-2);
  max-width: 620px; margin-bottom: 40px;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 60px; }
.hero__stats {
  display: flex; flex-wrap: wrap; gap: 40px;
  border-top: 1px solid var(--border); padding-top: 40px;
}
.hero__stat-value { font-size: 2rem; font-weight: 800; background: var(--gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.hero__stat-label { font-size: 0.8rem; color: var(--text-2); font-weight: 500; margin-top: 2px; }

/* ── Services ───────────────────────────────────────────── */

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}
.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
  cursor: default;
}
.service-card:hover {
  border-color: var(--border-h);
  box-shadow: var(--accent-glow);
  transform: translateY(-4px);
}
.service-card__icon {
  width: 52px; height: 52px;
  background: var(--accent-dim);
  border: 1px solid var(--border);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
  color: var(--accent);
}
.service-card__icon svg { width: 24px; height: 24px; }
.service-card h3 { margin-bottom: 12px; font-size: 1.1rem; }
.service-card p { font-size: 0.9rem; color: var(--text-2); margin-bottom: 20px; }
.service-card__more { font-size: 0.82rem; font-weight: 600; color: var(--accent); display: flex; align-items: center; gap: 6px; transition: gap var(--transition); }
.service-card:hover .service-card__more { gap: 10px; }

/* ── Clients ────────────────────────────────────────────── */

.clients { overflow: hidden; background: var(--bg-1); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.clients__label { text-align: center; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-3); margin-bottom: 32px; }
.marquee-wrap { overflow: hidden; mask-image: linear-gradient(90deg, transparent, black 15%, black 85%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, black 15%, black 85%, transparent); }
.marquee { display: flex; gap: 48px; animation: marquee 28s linear infinite; width: max-content; }
.marquee:hover { animation-play-state: paused; }
.marquee-item {
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; height: 48px; min-width: 140px;
  font-size: 0.85rem; font-weight: 700; letter-spacing: 0.06em;
  color: var(--text-3); transition: color var(--transition);
  border: 1px solid var(--border); border-radius: 8px; padding: 0 20px;
}
.marquee-item:hover { color: var(--accent); border-color: var(--border-h); }

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ── Stats ──────────────────────────────────────────────── */

.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 2px; background: var(--border); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; }
.stat-block {
  background: var(--bg-card); padding: 48px 32px;
  text-align: center; transition: background var(--transition);
}
.stat-block:hover { background: var(--bg-2); }
.stat-block__value { font-size: clamp(2.5rem, 5vw, 3.5rem); font-weight: 900; background: var(--gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; line-height: 1; margin-bottom: 8px; }
.stat-block__label { font-size: 0.875rem; color: var(--text-2); font-weight: 500; }

/* ── Why HF IT ──────────────────────────────────────────── */

.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.why-list { display: flex; flex-direction: column; gap: 24px; }
.why-item {
  display: flex; gap: 20px; align-items: flex-start;
  padding: 24px; background: var(--bg-card);
  border: 1px solid var(--border); border-radius: var(--radius);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.why-item:hover { border-color: var(--border-h); box-shadow: var(--accent-glow); }
.why-item__num {
  flex-shrink: 0; width: 36px; height: 36px;
  background: var(--gradient); border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.8rem; font-weight: 800; color: #fff;
}
.why-item__title { font-size: 1rem; font-weight: 700; margin-bottom: 6px; }
.why-item p { font-size: 0.875rem; color: var(--text-2); }
.why-visual {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 48px 32px;
  text-align: center;
  position: relative; overflow: hidden;
}
.why-visual__shield {
  margin: 0 auto 24px;
  color: var(--accent);
  filter: drop-shadow(0 0 20px currentColor);
}
.why-visual__ring {
  position: absolute; border-radius: 50%;
  border: 1px solid var(--border); pointer-events: none;
}
.why-visual__ring--1 { width: 200px; height: 200px; top: 50%; left: 50%; transform: translate(-50%,-50%); animation: spin 12s linear infinite; }
.why-visual__ring--2 { width: 300px; height: 300px; top: 50%; left: 50%; transform: translate(-50%,-50%); animation: spin 20s linear infinite reverse; }
.why-visual__ring--3 { width: 400px; height: 400px; top: 50%; left: 50%; transform: translate(-50%,-50%); animation: spin 30s linear infinite; }

@keyframes spin { from { transform: translate(-50%,-50%) rotate(0deg); } to { transform: translate(-50%,-50%) rotate(360deg); } }

.why-visual__label { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-3); margin-bottom: 8px; }
.why-visual__title { font-size: 1.5rem; font-weight: 800; margin-bottom: 8px; }
.why-visual p { font-size: 0.875rem; color: var(--text-2); }

/* ── Blog / News ────────────────────────────────────────── */

.blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.blog-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); overflow: hidden;
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
  display: flex; flex-direction: column;
}
.blog-card:hover { border-color: var(--border-h); box-shadow: var(--accent-glow); transform: translateY(-4px); }
.blog-card__img {
  height: 180px;
  background: linear-gradient(135deg, var(--bg-2) 0%, var(--bg-card) 100%);
  display: flex; align-items: center; justify-content: center;
  font-size: 2.5rem; color: var(--accent); border-bottom: 1px solid var(--border);
  position: relative; overflow: hidden;
}
.blog-card__img::before { content: ''; position: absolute; inset: 0; background: var(--accent-dim); }
.blog-card__body { padding: 28px; flex: 1; display: flex; flex-direction: column; }
.blog-card__meta { font-size: 0.78rem; color: var(--text-3); font-weight: 500; margin-bottom: 12px; display: flex; gap: 12px; }
.blog-card__cat { color: var(--accent); font-weight: 600; }
.blog-card h3 { margin-bottom: 10px; font-size: 1rem; }
.blog-card p { font-size: 0.85rem; color: var(--text-2); flex: 1; margin-bottom: 20px; }
.blog-card__more { font-size: 0.82rem; font-weight: 600; color: var(--accent); display: flex; align-items: center; gap: 6px; margin-top: auto; }

/* ── CTA Banner ─────────────────────────────────────────── */

.cta-banner {
  background: var(--bg-1);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 72px 64px;
  text-align: center;
  position: relative; overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 50%, var(--accent-dim) 0%, transparent 70%);
}
.cta-banner > * { position: relative; z-index: 1; }
.cta-banner h2 { margin-bottom: 16px; }
.cta-banner p { max-width: 520px; margin: 0 auto 36px; font-size: 1.05rem; }
.cta-banner__actions { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; }

/* ── Page Hero ──────────────────────────────────────────── */

.page-hero {
  padding: calc(var(--nav-h) + 60px) 0 80px;
  background: var(--bg-1); border-bottom: 1px solid var(--border);
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 80% at 20% 50%, var(--accent-dim) 0%, transparent 60%);
}
.page-hero > .container { position: relative; z-index: 1; }
.page-hero .tag { margin-bottom: 20px; }
.page-hero h1 { font-size: clamp(2rem, 5vw, 3.5rem); margin-bottom: 16px; max-width: 700px; }
.page-hero p { font-size: 1.05rem; max-width: 560px; }

/* ── Services page ──────────────────────────────────────── */

.service-detail {
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px;
  align-items: start; padding: 80px 0;
  border-bottom: 1px solid var(--border);
}
.service-detail:last-child { border-bottom: none; }
.service-detail.reverse { direction: rtl; }
.service-detail.reverse > * { direction: ltr; }
.service-detail__icon-wrap {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 48px;
  display: flex; align-items: center; justify-content: center;
  color: var(--accent); min-height: 280px;
  position: relative; overflow: hidden;
}
.service-detail__icon-wrap::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 50%, var(--accent-dim) 0%, transparent 70%);
}
.service-detail__icon-wrap svg { width: 100%; max-width: 280px; height: auto; position: relative; z-index: 1; }
.service-detail__content h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); margin-bottom: 16px; }
.service-detail__content p { margin-bottom: 24px; }
.feature-list { display: flex; flex-direction: column; gap: 12px; }
.feature-list li { display: flex; gap: 10px; font-size: 0.9rem; color: var(--text-2); }
.feature-list li::before { content: ''; flex-shrink: 0; width: 18px; height: 18px; background: var(--accent-dim); border: 1px solid var(--border); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin-top: 2px; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 12 12' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M2 6l3 3 5-5' stroke='%2300c8ff' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: center; background-size: 12px; }

/* ── About page ─────────────────────────────────────────── */

.about-mission { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.values-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 20px; }
.value-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.value-card:hover { border-color: var(--border-h); box-shadow: var(--accent-glow); }
.value-card__icon { color: var(--accent); margin-bottom: 16px; }
.value-card h3 { margin-bottom: 8px; font-size: 1rem; }
.value-card p { font-size: 0.875rem; color: var(--text-2); }
.team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 24px; }
.team-card { text-align: center; }
.team-card__avatar {
  width: 80px; height: 80px; border-radius: 50%;
  background: var(--bg-2); border: 2px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px; font-size: 1.5rem; color: var(--accent);
}
.team-card__name { font-weight: 700; margin-bottom: 4px; }
.team-card__role { font-size: 0.8rem; color: var(--text-2); }

/* ── Cases page ─────────────────────────────────────────── */

.cases-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 24px; }
.case-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 32px;
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
  display: flex; flex-direction: column; gap: 16px;
}
.case-card:hover { border-color: var(--border-h); box-shadow: var(--accent-glow); transform: translateY(-4px); }
.case-card__industry {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--accent);
}
.case-card h3 { font-size: 1.1rem; }
.case-card p { font-size: 0.875rem; color: var(--text-2); flex: 1; }
.case-card__result {
  display: flex; gap: 8px; align-items: flex-start;
  background: var(--accent-dim); border: 1px solid var(--border);
  border-radius: 8px; padding: 12px 16px; font-size: 0.85rem;
}
.case-card__result strong { color: var(--accent); display: block; font-size: 1.1rem; }

/* ── Blog page ──────────────────────────────────────────── */

.blog-page-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 48px; }
.blog-main-grid { display: flex; flex-direction: column; gap: 24px; }
.blog-row-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 28px;
  display: flex; gap: 24px; align-items: flex-start;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.blog-row-card:hover { border-color: var(--border-h); box-shadow: var(--accent-glow); }
.blog-row-card__img {
  width: 120px; height: 90px; flex-shrink: 0;
  background: var(--bg-2); border: 1px solid var(--border);
  border-radius: 8px; display: flex; align-items: center;
  justify-content: center; color: var(--accent); font-size: 1.8rem;
}
.blog-sidebar { display: flex; flex-direction: column; gap: 24px; }
.sidebar-block {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 24px;
}
.sidebar-block h3 { font-size: 0.9rem; margin-bottom: 16px; color: var(--text-1); }
.sidebar-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.sidebar-tag {
  font-size: 0.78rem; font-weight: 600; padding: 4px 12px;
  border: 1px solid var(--border); border-radius: 4px;
  color: var(--text-2); transition: var(--transition); cursor: pointer;
}
.sidebar-tag:hover { border-color: var(--accent); color: var(--accent); }

/* ── Contact page ───────────────────────────────────────── */

.contact-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.contact-info { display: flex; flex-direction: column; gap: 24px; }
.contact-info-item { display: flex; gap: 16px; align-items: flex-start; }
.contact-info-item__icon {
  width: 44px; height: 44px; flex-shrink: 0;
  background: var(--accent-dim); border: 1px solid var(--border);
  border-radius: 10px; display: flex; align-items: center; justify-content: center;
  color: var(--accent);
}
.contact-info-item__icon svg { width: 20px; height: 20px; }
.contact-info-item__label { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-3); margin-bottom: 4px; }
.contact-info-item__value { font-weight: 600; color: var(--text-1); }
.contact-form {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 40px;
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-group.full { grid-column: 1 / -1; }
.form-group label { font-size: 0.8rem; font-weight: 600; color: var(--text-2); }
.form-group input,
.form-group textarea,
.form-group select {
  background: var(--bg-2); border: 1px solid var(--border);
  border-radius: 8px; padding: 12px 16px;
  color: var(--text-1); font-family: var(--font); font-size: 0.9rem;
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none; width: 100%;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-dim);
}
.form-group input::placeholder, .form-group textarea::placeholder { color: var(--text-3); }
.form-group textarea { min-height: 130px; resize: vertical; }
.form-group select option { background: var(--bg-2); color: var(--text-1); }
.form-submit { margin-top: 8px; }
.form-note { font-size: 0.78rem; color: var(--text-3); margin-top: 12px; }

/* ── Footer ─────────────────────────────────────────────── */

.footer { background: var(--bg-1); border-top: 1px solid var(--border); padding: 72px 0 40px; }
.footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 56px; }
.footer__brand p { font-size: 0.875rem; color: var(--text-2); margin-top: 16px; max-width: 260px; line-height: 1.7; }
.footer__col h4 { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-3); margin-bottom: 20px; }
.footer__links { display: flex; flex-direction: column; gap: 10px; }
.footer__links a { font-size: 0.875rem; color: var(--text-2); transition: color var(--transition); }
.footer__links a:hover { color: var(--accent); }
.footer__bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; padding-top: 32px; border-top: 1px solid var(--border); }
.footer__copy { font-size: 0.8rem; color: var(--text-3); }
.footer__legal { display: flex; gap: 24px; }
.footer__legal a { font-size: 0.8rem; color: var(--text-3); transition: color var(--transition); }
.footer__legal a:hover { color: var(--accent); }

/* ── Animations on scroll ───────────────────────────────── */

.fade-up { opacity: 0; transform: translateY(30px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }
.fade-up:nth-child(2) { transition-delay: 0.1s; }
.fade-up:nth-child(3) { transition-delay: 0.2s; }
.fade-up:nth-child(4) { transition-delay: 0.3s; }
.fade-up:nth-child(5) { transition-delay: 0.4s; }
.fade-up:nth-child(6) { transition-delay: 0.5s; }

/* ── Responsive ─────────────────────────────────────────── */

@media (max-width: 1024px) {
  .why-grid { grid-template-columns: 1fr; }
  .why-visual { display: none; }
  .service-detail { grid-template-columns: 1fr; }
  .service-detail.reverse { direction: ltr; }
  .service-detail__icon-wrap { min-height: 200px; }
  .about-mission { grid-template-columns: 1fr; }
  .blog-page-grid { grid-template-columns: 1fr; }
  .contact-layout { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  :root { --section-py: 64px; }
  .nav__links { display: none; }
  .nav__right .btn { display: none; }
  .nav__burger { display: flex; }
  .hero__stats { gap: 24px; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .cta-banner { padding: 48px 28px; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; text-align: center; }
  .form-grid { grid-template-columns: 1fr; }
  .blog-row-card { flex-direction: column; }
  .blog-row-card__img { width: 100%; height: 160px; }
}

@media (max-width: 480px) {
  .hero__actions { flex-direction: column; }
  .btn { width: 100%; justify-content: center; }
  .stats-grid { grid-template-columns: 1fr; }
  .cta-banner__actions { flex-direction: column; }
}
