/* ═══════════════════════════════════════════════════════════════
   BATOR DESIGN by Daniel Batorowicz — Portfolio CSS
   #0070F3 primary · #00D4AA secondary · #0A1628 dark
═══════════════════════════════════════════════════════════════ */

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

/* ─── Skip link ─── */
.skip-link {
  position: fixed; top: -100%; left: 16px; z-index: 99999;
  background: var(--primary, #0070F3); color: white;
  padding: 10px 20px; border-radius: 0 0 8px 8px;
  font-weight: 700; font-size: 0.875rem; text-decoration: none;
  transition: top 0.2s;
}
.skip-link:focus { top: 0; }

/* ─── Smooth image rendering ─── */
img { display: block; max-width: 100%; }

/* ─── Focus visible ─── */
:focus-visible {
  outline: 2px solid #0070F3;
  outline-offset: 3px;
  border-radius: 4px;
}
a:focus-visible, button:focus-visible, input:focus-visible,
select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--primary, #0070F3);
  outline-offset: 3px;
  border-radius: 4px;
}
.btn-primary:focus-visible { outline-color: var(--secondary); }
.nav-cta:focus-visible { outline-offset: 4px; }

:root {
  --primary: #0070F3;
  --primary-light: #3b8ff7;
  --primary-dark: #0052b3;
  --secondary: #00D4AA;
  --accent: #7C3AED;
  --dark: #0A1628;
  --dark-2: #0f2040;
  --light: #f0f6ff;
  --lighter: #f8faff;
  --text: #1a2a42;
  --text-muted: #5a7394;
  --border: rgba(0,112,243,0.1);
  --border-dark: rgba(255,255,255,0.08);
  --shadow-sm: 0 2px 16px rgba(0,112,243,0.09);
  --shadow-md: 0 8px 40px rgba(0,112,243,0.14);
  --shadow-lg: 0 20px 80px rgba(10,22,40,0.38);
  --shadow-card: 0 4px 24px rgba(10,22,40,0.07);
  --radius: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --font-head: 'Sora', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-serif: 'Playfair Display', Georgia, serif;
  --nav-h: 68px;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --section-gap: 104px;
}

html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body); color: var(--text);
  background: var(--lighter); overflow-x: hidden; line-height: 1.6;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
}
body.preloading { overflow: hidden; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { border: none; background: none; cursor: pointer; font-family: inherit; }
input, select { font-family: inherit; }

/* ─── Text selection ─── */
::selection { background: var(--primary); color: white; }

/* ─── Scroll offset for fixed navbar ─── */
section[id] { scroll-margin-top: calc(var(--nav-h) + 16px); }

.section-inner { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
section { padding: var(--section-gap) 0; }

/* ─── Preloader ─── */
#preloader {
  position: fixed; inset: 0; background: var(--dark);
  z-index: 9999; display: flex; align-items: center; justify-content: center;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}
#preloader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.preloader-inner { display: flex; flex-direction: column; align-items: center; gap: 20px; }
.preloader-logo {
  font-family: var(--font-head); font-size: 2.8rem; font-weight: 800;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.preloader-bar { width: 180px; height: 3px; background: rgba(255,255,255,0.08); border-radius: 2px; overflow: hidden; }
.preloader-fill { height: 100%; width: 0%; background: linear-gradient(90deg, var(--primary), var(--secondary)); border-radius: 2px; animation: preload 1.8s ease-in-out forwards; }
@keyframes preload { to { width: 100%; } }
.preloader-text { color: rgba(255,255,255,0.3); font-size: 0.75rem; letter-spacing: 0.15em; text-transform: uppercase; }

/* ─── Navbar ─── */
#navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  transition: background 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
#navbar.scrolled {
  background: rgba(10,22,40,0.96); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 rgba(255,255,255,0.05), 0 4px 24px rgba(0,0,0,0.3);
}
.nav-inner {
  max-width: 1160px; margin: 0 auto; padding: 0 24px;
  height: var(--nav-h); display: flex; align-items: center; gap: 40px;
}
.nav-logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.logo-mark {
  width: 34px; height: 34px; background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 8px; display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-weight: 800; font-size: 0.82rem; color: white; flex-shrink: 0;
}
.logo-text { font-family: var(--font-head); font-weight: 700; font-size: 0.95rem; color: white; letter-spacing: -0.02em; }
.logo-text em {
  font-style: normal;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.nav-links { display: flex; align-items: center; gap: 28px; margin-left: auto; }
.nav-links a {
  color: rgba(255,255,255,0.65); font-size: 0.875rem; font-weight: 500;
  transition: color 0.2s; position: relative; padding-bottom: 2px;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -2px; left: 0; right: 0;
  height: 1.5px; background: var(--secondary);
  transform: scaleX(0); transform-origin: center;
  transition: transform 0.22s var(--ease); border-radius: 1px;
}
.nav-links a:hover { color: white; }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-cta {
  padding: 9px 20px; background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white; font-size: 0.85rem; font-weight: 600; border-radius: 50px;
  transition: all 0.25s; white-space: nowrap; box-shadow: 0 4px 16px rgba(0,112,243,0.3); flex-shrink: 0;
}
.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 6px 24px rgba(0,112,243,0.45); }
.nav-cta:active { transform: translateY(0); box-shadow: 0 4px 16px rgba(0,112,243,0.3); }
.nav-hamburger { display: none; flex-direction: column; gap: 5px; padding: 4px; margin-left: auto; }
.nav-hamburger span { display: block; width: 22px; height: 2px; background: white; border-radius: 2px; transition: 0.25s; }
.nav-hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }
.nav-mobile {
  display: none; flex-direction: column; background: rgba(10,22,40,0.98);
  backdrop-filter: blur(20px); border-top: 1px solid rgba(255,255,255,0.05);
  padding: 12px 24px 20px; max-height: 0; overflow: hidden; transition: max-height 0.4s ease;
}
.nav-mobile.open { max-height: 400px; }
.mobile-link {
  color: rgba(255,255,255,0.65); font-size: 0.95rem; font-weight: 500;
  padding: 13px 0; border-bottom: 1px solid rgba(255,255,255,0.05); transition: color 0.2s;
}
.mobile-link:hover { color: white; }
.mobile-cta { margin-top: 10px; padding: 13px; text-align: center; background: var(--primary); border-radius: 50px; border-bottom: none; color: white; font-weight: 600; }

/* ─── Buttons ─── */
.btn-primary {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 14px 30px;
  background: linear-gradient(135deg, var(--primary) 0%, #0058cc 100%);
  color: white; font-weight: 700; font-size: 0.95rem; border-radius: 50px;
  transition: all 0.26s var(--ease);
  box-shadow: 0 4px 20px rgba(0,112,243,0.32), inset 0 1px 0 rgba(255,255,255,0.15);
  white-space: nowrap; position: relative; overflow: hidden;
}
.btn-primary::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, transparent 60%);
  opacity: 0; transition: opacity 0.26s;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0,112,243,0.5), inset 0 1px 0 rgba(255,255,255,0.15);
}
.btn-primary:hover::before { opacity: 1; }
.btn-primary:active { transform: translateY(0); box-shadow: 0 4px 20px rgba(0,112,243,0.32); }
.btn-primary.full-width { width: 100%; justify-content: center; border-radius: var(--radius); padding: 16px; }
.btn-ghost {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 13px 28px; color: rgba(255,255,255,0.8); font-weight: 600; font-size: 0.95rem;
  border: 1px solid rgba(255,255,255,0.2); border-radius: 50px; transition: all 0.26s var(--ease);
  backdrop-filter: blur(4px);
}
.btn-ghost:hover { color: white; border-color: rgba(255,255,255,0.38); background: rgba(255,255,255,0.07); }
.btn-ghost:active { background: rgba(255,255,255,0.03); }

/* ─── Gradient text ─── */
.gradient-text {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.gradient-text-light {
  background: linear-gradient(135deg, #60b0ff 0%, var(--secondary) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}

/* ─── Section headers ─── */
.section-header { text-align: center; max-width: 640px; margin: 0 auto 68px; }
.section-header.light h2 { color: white; }
.section-header.light p { color: rgba(255,255,255,0.62); }
.section-tag {
  display: inline-block; padding: 6px 16px; background: rgba(0,112,243,0.08);
  color: var(--primary); font-size: 0.7rem; font-weight: 700; letter-spacing: 0.18em;
  text-transform: uppercase; border-radius: 50px; border: 1px solid rgba(0,112,243,0.2);
  margin-bottom: 16px; transition: background 0.2s, border-color 0.2s;
}
.section-tag.light { background: rgba(0,212,170,0.12); color: var(--secondary); border-color: rgba(0,212,170,0.28); }
.section-header h2 {
  font-family: var(--font-head); font-size: clamp(2rem, 4vw, 2.85rem); font-weight: 800;
  color: var(--text); line-height: 1.14; letter-spacing: -0.028em; margin-bottom: 16px;
}
.section-header em { font-style: normal; }
.section-header p { font-size: 1.02rem; color: var(--text-muted); line-height: 1.75; max-width: 540px; margin: 0 auto; }

/* ─── HERO ─── */
#hero {
  position: relative; min-height: 100vh; display: flex; align-items: center;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, #0d2040 0%, var(--dark) 70%);
  overflow: hidden; padding-top: var(--nav-h);
}
#particles-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.hero-inner {
  position: relative; z-index: 1; max-width: 1160px; margin: 0 auto;
  padding: 88px 24px 130px; display: flex; flex-direction: column; align-items: flex-start; gap: 26px;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 9px; padding: 8px 18px;
  background: rgba(0,212,170,0.09); border: 1px solid rgba(0,212,170,0.25);
  border-radius: 50px; font-size: 0.79rem; font-weight: 600; color: var(--secondary);
  letter-spacing: 0.03em;
}
.badge-dot { width: 7px; height: 7px; background: var(--secondary); border-radius: 50%; animation: pulse 2s infinite; flex-shrink: 0; }
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(0,212,170,0.4); }
  50% { box-shadow: 0 0 0 6px rgba(0,212,170,0); }
}
.hero-headline {
  font-family: var(--font-head); font-size: clamp(2.9rem, 7.2vw, 5.4rem);
  font-weight: 800; line-height: 1.04; color: white; letter-spacing: -0.032em; max-width: 820px;
  text-shadow: 0 2px 40px rgba(0,0,0,0.25);
}
.line-wrap { display: block; overflow: hidden; }
.split-line { display: inline-block; }
.hero-sub { font-size: 1.17rem; color: rgba(255,255,255,0.65); max-width: 570px; line-height: 1.74; font-weight: 400; }
.typed-wrap { color: var(--secondary); font-weight: 500; }
.typed-cursor { color: var(--secondary); }
.hero-actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }

.hero-pills { display: flex; flex-wrap: wrap; gap: 10px; }
.hero-pill {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 8px 16px; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.13);
  border-radius: 50px; font-size: 0.8rem; font-weight: 500; color: rgba(255,255,255,0.75);
  transition: background 0.22s, border-color 0.22s, color 0.22s; backdrop-filter: blur(4px);
}
.hero-pill:hover {
  background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.22); color: white;
}
.hero-pill i { width: 14px; height: 14px; color: var(--secondary); flex-shrink: 0; }

.hero-scroll-indicator {
  position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: rgba(255,255,255,0.3); font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase;
  z-index: 1; animation: fadeInUp 1s ease 2s both;
}
.scroll-mouse { width: 20px; height: 32px; border: 2px solid rgba(255,255,255,0.18); border-radius: 10px; display: flex; justify-content: center; padding-top: 5px; }
.scroll-dot { width: 3px; height: 7px; background: rgba(255,255,255,0.35); border-radius: 2px; animation: scrollDot 2s infinite; }
@keyframes scrollDot { 0% { transform: translateY(0); opacity: 1; } 100% { transform: translateY(10px); opacity: 0; } }
@keyframes fadeInUp {
  from { opacity: 0; transform: translateX(-50%) translateY(14px); }
  to { opacity: 1; transform: translateX(-50%) translateY(0); }
}

/* ─── WHY DENTAL ─── */
#why { background: linear-gradient(180deg, white 0%, #fafcff 100%); }
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.why-card {
  background: var(--lighter); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 34px 30px; transition: all 0.28s var(--ease);
  transform-style: preserve-3d; will-change: transform;
  display: flex; flex-direction: column; gap: 0;
  box-shadow: var(--shadow-card);
}
.why-card:hover {
  border-color: rgba(0,112,243,0.28); box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.why-icon {
  width: 52px; height: 52px; border-radius: 14px;
  background: linear-gradient(135deg, rgba(0,112,243,0.1), rgba(0,212,170,0.06));
  color: var(--primary);
  display: flex; align-items: center; justify-content: center; margin-bottom: 20px;
  transition: background 0.28s;
}
.why-card:hover .why-icon {
  background: linear-gradient(135deg, rgba(0,112,243,0.15), rgba(0,212,170,0.1));
}
.why-icon i { width: 23px; height: 23px; }
.why-card h3 { font-family: var(--font-head); font-size: 1.08rem; font-weight: 700; color: var(--text); margin-bottom: 12px; line-height: 1.3; }
.why-card p { font-size: 0.885rem; color: var(--text-muted); line-height: 1.7; margin-bottom: 22px; flex: 1; }
.why-comparison {
  display: flex; align-items: center; gap: 8px;
  padding: 11px 16px; background: white; border: 1px solid var(--border);
  border-radius: 10px; font-size: 0.82rem; font-weight: 600; margin-top: auto;
  box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}
.why-comparison svg { color: var(--text-muted); flex-shrink: 0; }
.comp-bad { color: #ef4444; }
.comp-good { color: #10b981; }

/* ─── FEATURES ─── */
#features { background: var(--lighter); }
.features-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 28px;
}
.feature-item {
  display: flex; align-items: flex-start; gap: 16px;
  background: white; border: 1px solid var(--border);
  border-radius: var(--radius); padding: 22px 20px; transition: all 0.24s var(--ease);
  box-shadow: var(--shadow-card);
}
.feature-item:hover {
  border-color: rgba(0,112,243,0.24); box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}
.fi-icon {
  width: 42px; height: 42px; border-radius: 11px; flex-shrink: 0;
  background: rgba(0,112,243,0.07); color: var(--primary);
  display: flex; align-items: center; justify-content: center;
  transition: background 0.24s;
}
.feature-item:hover .fi-icon { background: rgba(0,112,243,0.12); }
.fi-icon i { width: 18px; height: 18px; }
.fi-body h4 { font-family: var(--font-head); font-size: 0.92rem; font-weight: 700; color: var(--text); margin-bottom: 6px; line-height: 1.3; }
.fi-body p { font-size: 0.815rem; color: var(--text-muted); line-height: 1.58; }

.features-also {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
  padding: 20px 24px; background: white; border: 1px solid var(--border);
  border-radius: var(--radius); font-size: 0.82rem;
  box-shadow: var(--shadow-card);
}
.features-also-label { font-weight: 700; color: var(--text-muted); margin-right: 4px; font-size: 0.8rem; letter-spacing: 0.02em; }
.features-also-tag {
  padding: 5px 13px; background: var(--light); color: var(--primary);
  border-radius: 50px; font-weight: 600; font-size: 0.78rem;
  border: 1px solid rgba(0,112,243,0.12);
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.features-also-tag:hover { background: rgba(0,112,243,0.1); border-color: rgba(0,112,243,0.22); }

/* ─── GAINS ─── */
#gains { background: #f4f7fb; }
#gains .section-tag { background: rgba(0,112,243,0.08); color: var(--primary); border-color: rgba(0,112,243,0.2); }
.gains-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 0;
}
.gain-card {
  background: white; border-radius: var(--radius-lg); padding: 34px 30px;
  border: 1px solid rgba(0,112,243,0.09); display: flex; flex-direction: column; gap: 14px;
  box-shadow: var(--shadow-card); transition: all 0.28s var(--ease);
}
.gain-card:hover {
  border-color: rgba(0,112,243,0.22); box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.gain-icon {
  width: 50px; height: 50px; border-radius: 13px;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  transition: filter 0.28s;
}
.gain-card:hover .gain-icon { filter: brightness(1.1); }
.gain-icon i { width: 22px; height: 22px; }
.gain-card h3 {
  font-family: var(--font-head); font-size: 1.08rem; font-weight: 700;
  color: var(--text); line-height: 1.3;
}
.gain-card p { font-size: 0.885rem; color: var(--text-muted); line-height: 1.68; }

/* ─── PORTFOLIO ─── */
#portfolio { background: white; }
.portfolio-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.portfolio-card {
  border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--border); transition: all 0.3s var(--ease);
  display: flex; flex-direction: column;
  box-shadow: var(--shadow-card);
}
.portfolio-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: rgba(0,112,243,0.22); }
.portfolio-image { position: relative; aspect-ratio: 4/3; overflow: hidden; }
.portfolio-placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; transition: transform 0.4s var(--ease); }
.portfolio-card:hover .portfolio-placeholder { transform: scale(1.04); }
.placeholder-content { text-align: center; color: white; padding: 16px; }
.ph-logo { font-family: var(--font-head); font-size: 2.4rem; font-weight: 800; opacity: 0.95; margin-bottom: 10px; }
.ph-title { font-weight: 700; font-size: 1rem; opacity: 0.92; margin-bottom: 5px; }
.ph-sub { font-size: 0.76rem; opacity: 0.62; }
.portfolio-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(10,22,40,0.97) 0%, rgba(10,22,40,0.7) 60%, transparent 100%);
  display: flex; flex-direction: column; justify-content: flex-end;
  gap: 10px; padding: 22px; opacity: 0; transition: opacity 0.3s var(--ease);
}
.portfolio-card:hover .portfolio-overlay { opacity: 1; }
.overlay-label {
  display: inline-block; padding: 3px 10px;
  background: var(--secondary); color: var(--dark);
  font-size: 0.67rem; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; border-radius: 50px; width: fit-content;
}
.portfolio-overlay h3 { font-family: var(--font-head); font-size: 1rem; font-weight: 700; color: white; }
.portfolio-overlay p { font-size: 0.79rem; color: rgba(255,255,255,0.68); line-height: 1.58; }
.overlay-stack { display: flex; flex-wrap: wrap; gap: 5px; }
.overlay-stack span {
  padding: 3px 9px; background: rgba(255,255,255,0.12); color: rgba(255,255,255,0.8);
  font-size: 0.69rem; font-weight: 600; border-radius: 50px;
}
.portfolio-info { padding: 18px 16px; background: white; flex: 1; display: flex; flex-direction: column; }
.portfolio-type {
  font-size: 0.67rem; font-weight: 700; color: var(--primary);
  letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 5px;
}
.portfolio-info h3 { font-family: var(--font-head); font-size: 0.97rem; font-weight: 700; color: var(--text); margin-bottom: 12px; line-height: 1.3; }
.portfolio-info p { display: none; }
.portfolio-features { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; }
.portfolio-features span {
  display: flex; align-items: center; gap: 5px;
  font-size: 0.76rem; font-weight: 500; color: var(--text-muted);
}
.portfolio-features i { width: 13px; height: 13px; color: var(--secondary); flex-shrink: 0; }
/* View Site button inside portfolio card */
.portfolio-info .btn-primary {
  margin-top: 16px; padding: 10px 20px; font-size: 0.84rem; align-self: flex-start;
  border-radius: 50px;
}
.portfolio-metrics {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 14px;
}
.pm-item {
  background: rgba(0,212,170,0.07); border: 1px solid rgba(0,212,170,0.15);
  border-radius: 8px; padding: 8px 6px; text-align: center;
}
.pm-value { display: block; font-size: 0.9rem; font-weight: 800; color: var(--primary); font-family: var(--font-head); }
.pm-label { display: block; font-size: 0.62rem; color: var(--text-muted); margin-top: 2px; line-height: 1.3; }

/* ─── PROCESS ─── */
#process { background: var(--lighter); }
.process-steps {
  display: flex; align-items: stretch; gap: 0;
  max-width: 980px; margin: 0 auto;
}
.process-step {
  flex: 1; display: flex; flex-direction: column; align-items: center; text-align: center;
}
.step-num {
  font-family: var(--font-head); font-size: 0.7rem; font-weight: 800;
  color: var(--primary); letter-spacing: 0.1em;
  background: rgba(0,112,243,0.08); border: 1px solid rgba(0,112,243,0.15);
  width: 40px; height: 40px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; margin-bottom: 0; flex-shrink: 0;
}
.step-body {
  background: white; border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 28px 24px; text-align: center; transition: all 0.28s var(--ease); flex: 1;
  margin-top: 12px; display: flex; flex-direction: column; align-items: center;
  box-shadow: var(--shadow-card);
}
.step-body:hover { border-color: rgba(0,112,243,0.26); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.step-icon {
  width: 48px; height: 48px; border-radius: 13px;
  background: linear-gradient(135deg, rgba(0,112,243,0.1), rgba(0,212,170,0.06));
  color: var(--primary);
  display: flex; align-items: center; justify-content: center; margin: 0 auto 14px;
  transition: background 0.28s;
}
.step-body:hover .step-icon {
  background: linear-gradient(135deg, rgba(0,112,243,0.16), rgba(0,212,170,0.1));
}
.step-icon i { width: 22px; height: 22px; }
.step-day {
  font-size: 0.68rem; font-weight: 800; color: var(--primary);
  letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 7px;
  background: rgba(0,112,243,0.07); padding: 3px 10px; border-radius: 50px;
  display: inline-block;
}
.step-body h3 { font-family: var(--font-head); font-size: 1.02rem; font-weight: 700; color: var(--text); margin-bottom: 10px; }
.step-body p { font-size: 0.845rem; color: var(--text-muted); line-height: 1.67; }
.process-connector {
  display: flex; align-items: center; padding: 0 6px; flex-shrink: 0;
  margin-top: 0; align-self: center; padding-bottom: 28px;
}
.connector-line { width: 36px; height: 2px; background: linear-gradient(90deg, var(--primary), var(--secondary)); border-radius: 1px; opacity: 0.5; }

/* ─── CTA / CONTACT ─── */
#cta { padding: 0; }
.cta-wrap { background: var(--dark); padding: 110px 0; position: relative; overflow: hidden; }
.cta-wrap::before {
  content: ''; position: absolute; bottom: -200px; right: -200px; width: 700px; height: 700px;
  background: radial-gradient(ellipse, rgba(0,212,170,0.08) 0%, transparent 70%); pointer-events: none;
}
.cta-wrap::after {
  content: ''; position: absolute; top: -150px; left: -150px; width: 500px; height: 500px;
  background: radial-gradient(ellipse, rgba(0,112,243,0.07) 0%, transparent 65%); pointer-events: none;
}
/* CTA centered layout */
.cta-center {
  max-width: 680px; margin: 0 auto; text-align: center; position: relative; z-index: 1;
}
.cta-heading {
  font-family: var(--font-head); font-size: clamp(1.9rem, 3.8vw, 2.7rem); font-weight: 800;
  color: white; line-height: 1.14; letter-spacing: -0.026em; margin: 14px 0 18px;
}
.cta-sub {
  color: rgba(255,255,255,0.58); line-height: 1.74; font-size: 1.05rem; margin-bottom: 32px;
}
.cta-checklist {
  display: inline-flex; flex-wrap: wrap; justify-content: center;
  gap: 12px 28px; list-style: none; margin-bottom: 40px;
}
.cta-checklist li {
  display: flex; align-items: center; gap: 8px;
  color: rgba(255,255,255,0.8); font-size: 0.9rem; font-weight: 500;
}
.cta-checklist i { color: var(--secondary); width: 17px; height: 17px; flex-shrink: 0; }
.cta-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; }
.cta-left h2 {
  font-family: var(--font-head); font-size: clamp(1.7rem, 3.5vw, 2.4rem); font-weight: 800;
  color: white; line-height: 1.15; letter-spacing: -0.025em; margin: 12px 0 16px;
}
.cta-left p { color: rgba(255,255,255,0.55); line-height: 1.72; margin-bottom: 28px; }
.cta-benefits { display: flex; flex-direction: column; gap: 11px; margin-bottom: 32px; }
.cta-benefits li { display: flex; align-items: center; gap: 10px; color: rgba(255,255,255,0.82); font-size: 0.9rem; font-weight: 500; }
.cta-benefits i { color: var(--secondary); width: 17px; height: 17px; flex-shrink: 0; }
.cta-contact-info { display: flex; justify-content: center; margin-bottom: 32px; }
.contact-line {
  display: inline-flex; align-items: center; gap: 12px;
  color: white; font-size: 1.35rem; font-weight: 700;
  background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.14);
  border-radius: 50px; padding: 14px 32px;
  transition: background 0.22s, border-color 0.22s, color 0.22s, transform 0.22s;
  letter-spacing: -0.01em;
}
.contact-line:hover { background: rgba(0,212,170,0.12); border-color: var(--secondary); color: var(--secondary); transform: translateY(-2px); }
.contact-line i { width: 20px; height: 20px; color: var(--secondary); flex-shrink: 0; }

/* Form */
.audit-form {
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-xl); padding: 34px;
}
.audit-form h3 { font-family: var(--font-head); font-size: 1.15rem; font-weight: 700; color: white; margin-bottom: 22px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 12px; }
.form-group label { font-size: 0.72rem; font-weight: 600; color: rgba(255,255,255,0.45); text-transform: uppercase; letter-spacing: 0.07em; }
.form-group input, .form-group select {
  padding: 11px 14px; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.09);
  border-radius: var(--radius); color: white; font-size: 0.88rem; transition: all 0.2s; outline: none;
}
.form-group input::placeholder { color: rgba(255,255,255,0.22); }
.form-group input:focus, .form-group select:focus { border-color: var(--primary); background: rgba(0,112,243,0.07); }
.form-group select { color: rgba(255,255,255,0.65); }
.form-group select option { background: var(--dark-2); color: white; }
.form-disclaimer { text-align: center; font-size: 0.73rem; color: rgba(255,255,255,0.28); margin-top: 10px; }
.form-success { display: none; flex-direction: column; align-items: center; text-align: center; gap: 14px; padding: 40px 0; }
.form-success.show { display: flex; }
.form-fields.hide { display: none; }
.form-success i { width: 46px; height: 46px; color: var(--secondary); }
.form-success h3 { color: white; font-family: var(--font-head); font-size: 1.2rem; font-weight: 700; }
.form-success p { color: rgba(255,255,255,0.55); }

/* ─── Footer ─── */
#footer { background: #050d1a; }
.footer-inner { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.footer-top {
  display: grid; grid-template-columns: 2fr 1fr; gap: 48px;
  padding: 60px 0 44px; border-bottom: 1px solid rgba(255,255,255,0.06);
}
.footer-brand p { font-size: 0.85rem; color: rgba(255,255,255,0.35); line-height: 1.7; margin: 14px 0 22px; max-width: 270px; }
.footer-social { display: flex; gap: 8px; }
.footer-social a {
  width: 34px; height: 34px; border: 1px solid rgba(255,255,255,0.09); border-radius: 50%;
  display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.35); transition: all 0.2s;
}
.footer-social a:hover { border-color: var(--primary); color: var(--primary); }
.footer-social i { width: 15px; height: 15px; }
.footer-col h4 { font-family: var(--font-head); font-size: 0.78rem; font-weight: 700; color: white; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 18px; }
.footer-col ul { display: flex; flex-direction: column; gap: 9px; }
.footer-col a { font-size: 0.845rem; color: rgba(255,255,255,0.38); transition: color 0.2s; }
.footer-col a:hover { color: rgba(255,255,255,0.75); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; padding: 18px 0; }
.footer-bottom p { font-size: 0.8rem; color: rgba(255,255,255,0.28); }
.footer-legal { display: flex; gap: 18px; }
.footer-legal a { font-size: 0.8rem; color: rgba(255,255,255,0.28); transition: color 0.2s; }
.footer-legal a:hover { color: rgba(255,255,255,0.55); }

/* ─── Back to top ─── */
#backToTop {
  position: fixed; bottom: 22px; right: 22px; width: 42px; height: 42px;
  background: var(--primary); color: white; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transition: all 0.25s; z-index: 500;
  box-shadow: 0 4px 18px rgba(0,112,243,0.38);
}
#backToTop.show { opacity: 1; visibility: visible; }
#backToTop:hover { transform: translateY(-3px); box-shadow: 0 8px 28px rgba(0,112,243,0.5); }
#backToTop:active { transform: translateY(0); box-shadow: 0 4px 18px rgba(0,112,243,0.38); }

/* ─── Sticky CTA Bar ─── */
#sticky-bar {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 490;
  background: rgba(10,22,40,0.97); backdrop-filter: blur(12px);
  border-top: 1px solid rgba(0,212,170,0.2);
  padding: 14px 24px;
  display: flex; align-items: center; justify-content: center; gap: 20px;
  transform: translateY(100%); opacity: 0;
  transition: transform 0.4s cubic-bezier(0.4,0,0.2,1), opacity 0.4s;
}
#sticky-bar.show { transform: translateY(0); opacity: 1; }
.sticky-bar-text { color: rgba(255,255,255,0.65); font-size: 0.9rem; font-weight: 500; }
.sticky-bar-text strong { color: white; }
.sticky-bar-email {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--secondary); color: var(--dark);
  font-weight: 700; font-size: 0.88rem; padding: 9px 20px; border-radius: 50px;
  transition: filter 0.2s, transform 0.2s;
  white-space: nowrap;
}
.sticky-bar-email:hover { filter: brightness(1.1); transform: translateY(-1px); }
.sticky-bar-email i { width: 15px; height: 15px; }
.sticky-bar-close {
  position: absolute; right: 16px; top: 50%; transform: translateY(-50%);
  background: none; border: none; color: rgba(255,255,255,0.35);
  cursor: pointer; padding: 6px; line-height: 1;
  transition: color 0.2s;
}
.sticky-bar-close:hover { color: rgba(255,255,255,0.7); }
@media (max-width: 600px) {
  .sticky-bar-text { display: none; }
  #sticky-bar { justify-content: center; }
}

/* ─── Responsive ─── */
@media (max-width: 1100px) {
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 1024px) {
  .why-grid { grid-template-columns: 1fr 1fr; }
  .features-grid { grid-template-columns: 1fr 1fr; }
  .gains-grid { grid-template-columns: 1fr 1fr; }
  .process-steps { flex-wrap: wrap; justify-content: center; gap: 20px; }
  .process-connector { display: none; }
  .process-step { flex: 0 0 calc(50% - 10px); }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
  .cta-grid { grid-template-columns: 1fr; gap: 48px; }
}

@media (max-width: 768px) {
  :root { --nav-h: 58px; --section-gap: 72px; }
  .nav-links, .nav-cta { display: none; }
  .nav-hamburger { display: flex; }
  .nav-mobile { display: flex; }
  .section-inner { padding: 0 16px; }
  .why-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .gains-grid { grid-template-columns: 1fr; }
  .portfolio-grid { grid-template-columns: 1fr; }
  .process-step { flex: 0 0 100%; }
  .form-row { grid-template-columns: 1fr; }
  .hero-headline { font-size: clamp(2.4rem, 9vw, 3.8rem); }
  .hero-actions { flex-direction: column; align-items: flex-start; width: 100%; }
  .btn-primary, .btn-ghost { width: 100%; justify-content: center; }
  .footer-top { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .section-header { margin-bottom: 48px; }
}

@media (max-width: 480px) {
  .portfolio-grid { grid-template-columns: 1fr; }
  .hero-pills { gap: 8px; }
  .hero-inner { padding: 70px 20px 100px; }
}
