/* ==========================================================================
   ОРИЗОНТ (ORIZONT) — Deep Ocean Theme
   orizzont.ru
   ========================================================================== */

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

:root {
  --bg: #0a0f1a;
  --bg-light: #111827;
  --bg-card: #0f1629;
  --teal: #0d9488;
  --teal-light: #14b8a6;
  --teal-bright: #2dd4bf;
  --cyan: #06b6d4;
  --teal-glow: rgba(13, 148, 136, 0.2);
  --teal-glow-light: rgba(20, 184, 166, 0.1);
  --text: #94a3b8;
  --text-light: #cbd5e1;
  --text-white: #f1f5f9;
  --border: #1e293b;
  --border-glow: rgba(13, 148, 136, 0.3);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

/* ==========================================================================
   Admin Bar
   ========================================================================== */
.admin-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 32px;
  background: rgba(13, 148, 136, 0.9);
  backdrop-filter: blur(10px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 0 24px;
  font-size: 0.75rem;
}
.admin-bar a {
  color: #fff;
  text-decoration: none;
  margin-left: 16px;
  font-weight: 500;
  transition: opacity 0.3s;
}
.admin-bar a:hover { opacity: 0.8; }
body.has-admin-bar { padding-top: 32px; }
body.has-admin-bar header { top: 32px; }

/* ==========================================================================
   Particles Background
   ========================================================================== */
.particles {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}
.particle {
  position: absolute;
  width: 2px; height: 2px;
  background: var(--teal);
  border-radius: 50%;
  opacity: 0;
  animation: particle-float linear infinite;
}
@keyframes particle-float {
  0% { opacity: 0; transform: translateY(100vh) scale(0); }
  10% { opacity: 0.6; }
  90% { opacity: 0.3; }
  100% { opacity: 0; transform: translateY(-10vh) scale(1); }
}

/* ==========================================================================
   Layout
   ========================================================================== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; position: relative; z-index: 1; }

/* ==========================================================================
   Header
   ========================================================================== */
header {
  position: fixed; top: 0; left: 0; right: 0;
  background: rgba(10, 15, 26, 0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  z-index: 1000;
}
header .container {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
.logo {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--teal-light), var(--cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: 3px;
  text-decoration: none;
  display: inline-block;
}
.logo a {
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
  background: linear-gradient(135deg, var(--teal-light), var(--cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: inherit;
  text-decoration: none;
}
nav { display: flex; align-items: center; gap: 28px; }
nav a {
  color: var(--text);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  transition: color 0.3s;
  position: relative;
}
nav a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: linear-gradient(90deg, var(--teal), var(--cyan));
  transition: width 0.3s;
}
nav a:hover { color: var(--teal-bright); }
nav a:hover::after { width: 100%; }
nav a.active { color: var(--teal-bright); }
nav a.active::after { width: 100%; }

.lang-toggle {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-light);
  padding: 6px 14px;
  font-family: inherit;
  font-size: 0.8rem;
  font-weight: 500;
  cursor: pointer;
  border-radius: 6px;
  transition: all 0.3s;
}
.lang-toggle:hover { border-color: var(--teal); color: var(--teal-light); }

/* Hamburger */
.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-light);
  margin: 5px 0;
  transition: all 0.3s;
}
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: 72px; left: 0; right: 0; bottom: 0;
  background: rgba(10, 15, 26, 0.97);
  backdrop-filter: blur(20px);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
}
.mobile-menu.active { display: flex; }
.mobile-menu a {
  color: var(--text-light);
  text-decoration: none;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.5rem;
  font-weight: 600;
  transition: color 0.3s;
}
.mobile-menu a:hover { color: var(--teal-bright); }

/* ==========================================================================
   Glow Card
   ========================================================================== */
.glow-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  position: relative;
  overflow: hidden;
  transition: all 0.4s;
}
.glow-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--teal), var(--cyan), transparent);
  opacity: 0;
  transition: opacity 0.4s;
}
.glow-card:hover {
  border-color: var(--border-glow);
  box-shadow: 0 0 30px rgba(13, 148, 136, 0.08), 0 10px 40px rgba(0,0,0,0.3);
  transform: translateY(-4px);
}
.glow-card:hover::before { opacity: 1; }

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn-primary {
  display: inline-block;
  padding: 14px 36px;
  background: linear-gradient(135deg, var(--teal), var(--teal-light));
  color: white;
  text-decoration: none;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.3s;
  box-shadow: 0 4px 20px rgba(13, 148, 136, 0.3);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(13, 148, 136, 0.5);
}
.btn-primary:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}
.btn-ghost {
  display: inline-block;
  padding: 14px 36px;
  background: transparent;
  color: var(--teal-light);
  text-decoration: none;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  border: 1px solid var(--teal);
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.3s;
}
.btn-ghost:hover {
  background: var(--teal-glow-light);
  box-shadow: 0 0 20px rgba(13, 148, 136, 0.15);
}
.btn-sm {
  padding: 8px 20px;
  font-size: 0.8rem;
}

/* ==========================================================================
   Sections
   ========================================================================== */
section { padding: 100px 0; position: relative; z-index: 1; }
.section-label {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  background: linear-gradient(135deg, var(--teal), var(--cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.section-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 16px;
  line-height: 1.2;
}
.section-desc { max-width: 600px; font-size: 1rem; line-height: 1.8; margin-bottom: 48px; }

.section-bg-light {
  background: var(--bg-light);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

/* ==========================================================================
   Breadcrumb
   ========================================================================== */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 24px;
  font-size: 0.85rem;
}
.breadcrumb a {
  color: var(--text);
  text-decoration: none;
  transition: color 0.3s;
}
.breadcrumb a:hover { color: var(--teal-light); }
.breadcrumb .separator { color: var(--border); }
.breadcrumb .current { color: var(--teal-light); }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 72px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: 0; left: 50%; transform: translateX(-50%);
  width: 1000px; height: 1000px;
  background: radial-gradient(ellipse, rgba(13,148,136,0.1) 0%, rgba(6,182,212,0.05) 40%, transparent 70%);
  pointer-events: none;
}
.hero-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.hero-content { position: relative; z-index: 2; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: var(--teal-glow-light);
  border: 1px solid rgba(13, 148, 136, 0.2);
  border-radius: 20px;
  font-size: 0.8rem;
  color: var(--teal-bright);
  margin-bottom: 24px;
}
.hero-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 3rem;
  font-weight: 700;
  color: var(--text-white);
  line-height: 1.15;
  margin-bottom: 24px;
}
.hero-gradient {
  background: linear-gradient(135deg, var(--teal-light), var(--cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-sub { font-size: 1.1rem; line-height: 1.8; margin-bottom: 36px; max-width: 520px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-orb {
  width: 400px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(13,148,136,0.15), rgba(6,182,212,0.05) 50%, transparent 70%);
  border: 1px solid rgba(13,148,136,0.1);
  position: relative;
  animation: orb-rotate 20s linear infinite;
}
@keyframes orb-rotate { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }
.hero-orb::before {
  content: '';
  position: absolute;
  top: 10%; left: 10%; right: 10%; bottom: 10%;
  border-radius: 50%;
  border: 1px solid rgba(13,148,136,0.08);
}
.hero-orb::after {
  content: '';
  position: absolute;
  top: 25%; left: 25%; right: 25%; bottom: 25%;
  border-radius: 50%;
  border: 1px solid rgba(13,148,136,0.12);
  background: radial-gradient(circle, rgba(13,148,136,0.08), transparent);
}
.hero-orb-center {
  position: absolute;
  top: 50%; left: 50%; transform: translate(-50%, -50%);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--teal-light), var(--cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  z-index: 2;
  animation: none;
}

/* Page hero (subpages) */
.page-hero {
  padding-top: 140px;
  padding-bottom: 60px;
  position: relative;
  z-index: 1;
  min-height: auto;
}
.page-hero::before {
  content: '';
  position: absolute;
  top: 0; left: 50%; transform: translateX(-50%);
  width: 800px; height: 600px;
  background: radial-gradient(ellipse, rgba(13,148,136,0.07) 0%, rgba(6,182,212,0.03) 40%, transparent 70%);
  pointer-events: none;
}

/* ==========================================================================
   Services
   ========================================================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card { padding: 36px; }
.service-icon {
  width: 56px; height: 56px;
  background: linear-gradient(135deg, rgba(13,148,136,0.15), rgba(6,182,212,0.1));
  border: 1px solid rgba(13,148,136,0.2);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 24px;
  color: var(--teal-bright);
}
.service-name {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.15rem;
  color: var(--text-white);
  font-weight: 600;
  margin-bottom: 12px;
}
.service-desc { font-size: 0.875rem; line-height: 1.8; }

/* ==========================================================================
   Portfolio
   ========================================================================== */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.portfolio-card { overflow: hidden; }
.portfolio-card a { text-decoration: none; color: inherit; }
.portfolio-visual {
  height: 180px;
  background: linear-gradient(135deg, var(--bg-light), rgba(13,148,136,0.08));
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}
.portfolio-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.portfolio-visual-text {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--teal), var(--cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: 0.6;
}
.portfolio-body { padding: 28px; }
.portfolio-type {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--teal-light);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.portfolio-name {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.2rem;
  color: var(--text-white);
  font-weight: 600;
  margin-bottom: 12px;
}
.portfolio-desc { font-size: 0.85rem; margin-bottom: 16px; line-height: 1.8; }
.portfolio-tags { display: flex; gap: 8px; flex-wrap: wrap; }
.portfolio-tag {
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--teal-light);
  background: rgba(13, 148, 136, 0.1);
  border: 1px solid rgba(13, 148, 136, 0.15);
  padding: 4px 12px;
  border-radius: 6px;
}

/* Portfolio detail */
.portfolio-detail { padding: 40px 0 100px; }
.portfolio-detail-header { margin-bottom: 48px; }
.portfolio-detail-image {
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 48px;
  border: 1px solid var(--border);
}
.portfolio-detail-image img {
  width: 100%;
  display: block;
}
.portfolio-detail-info {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 64px;
}
.portfolio-detail-meta {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px;
  height: fit-content;
}
.portfolio-detail-meta-row {
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}
.portfolio-detail-meta-row:last-child { border-bottom: none; }
.portfolio-detail-meta-label {
  font-size: 0.75rem;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 4px;
}
.portfolio-detail-meta-value {
  font-size: 0.95rem;
  color: var(--text-white);
  font-weight: 500;
}
.portfolio-detail-meta-value a {
  color: var(--teal-light);
  text-decoration: none;
}
.portfolio-detail-meta-value a:hover { color: var(--teal-bright); }

/* ==========================================================================
   Stats
   ========================================================================== */
.stats-section {
  background: linear-gradient(180deg, var(--bg-light), var(--bg));
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  position: relative;
  z-index: 1;
}
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.stat-card { text-align: center; padding: 40px 20px; }
.stat-num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 3.5rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--teal-light), var(--cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 8px;
  line-height: 1;
}
.stat-label { font-size: 0.9rem; color: var(--text); font-weight: 500; }

/* ==========================================================================
   About
   ========================================================================== */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.about-text p { font-size: 0.95rem; line-height: 1.9; margin-bottom: 16px; }
.about-features { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.about-feature {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
  text-align: center;
  transition: all 0.3s;
}
.about-feature:hover { border-color: var(--border-glow); }
.about-feature-icon {
  font-size: 1.5rem;
  margin-bottom: 12px;
  color: var(--teal-bright);
}
.about-feature-text {
  font-size: 0.85rem;
  color: var(--text-light);
  font-weight: 500;
}

/* ==========================================================================
   Team
   ========================================================================== */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.team-card { padding: 36px 24px; text-align: center; }
.team-avatar {
  width: 90px; height: 90px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--teal), var(--cyan));
  margin: 0 auto 20px;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: white;
  position: relative;
  overflow: hidden;
}
.team-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}
.team-avatar::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 2px solid transparent;
  background: linear-gradient(135deg, var(--teal), var(--cyan)) border-box;
  -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0.4;
}
.team-name {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1rem;
  color: var(--text-white);
  font-weight: 600;
  margin-bottom: 4px;
}
.team-role {
  font-size: 0.8rem;
  background: linear-gradient(135deg, var(--teal), var(--cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 600;
  margin-bottom: 12px;
}
.team-bio { font-size: 0.8rem; line-height: 1.7; }

/* ==========================================================================
   Tech Stack
   ========================================================================== */
.tech-grid { display: flex; flex-wrap: wrap; gap: 12px; }
.tech-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 24px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-light);
  transition: all 0.3s;
}
.tech-item:hover {
  border-color: var(--teal);
  color: var(--teal-bright);
  box-shadow: 0 0 15px rgba(13, 148, 136, 0.15);
  background: rgba(13, 148, 136, 0.05);
}

/* ==========================================================================
   Process Timeline
   ========================================================================== */
.process-timeline { position: relative; padding-left: 40px; }
.process-timeline::before {
  content: '';
  position: absolute;
  left: 15px; top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--teal), var(--cyan), var(--teal));
  opacity: 0.3;
}
.process-step {
  position: relative;
  margin-bottom: 48px;
  padding-left: 40px;
}
.process-step:last-child { margin-bottom: 0; }
.process-dot {
  position: absolute;
  left: -33px; top: 4px;
  width: 18px; height: 18px;
  background: var(--bg);
  border: 2px solid var(--teal);
  border-radius: 50%;
  z-index: 2;
}
.process-dot::after {
  content: '';
  position: absolute;
  top: 3px; left: 3px;
  width: 8px; height: 8px;
  background: var(--teal-light);
  border-radius: 50%;
}
.step-name {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.2rem;
  color: var(--text-white);
  font-weight: 600;
  margin-bottom: 8px;
}
.step-desc { font-size: 0.9rem; line-height: 1.8; max-width: 600px; }

/* ==========================================================================
   Testimonials
   ========================================================================== */
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testimonial-card { padding: 32px; }
.testimonial-quote {
  font-size: 2rem;
  line-height: 1;
  background: linear-gradient(135deg, var(--teal), var(--cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 16px;
}
.testimonial-text { font-size: 0.9rem; line-height: 1.8; color: var(--text-light); margin-bottom: 24px; font-style: italic; }
.testimonial-author {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.9rem;
  color: var(--text-white);
  font-weight: 600;
}
.testimonial-company { font-size: 0.8rem; color: var(--text); margin-top: 4px; }

/* ==========================================================================
   Blog
   ========================================================================== */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 24px; }
.blog-card { overflow: hidden; }
.blog-card a { text-decoration: none; color: inherit; display: block; }
.blog-visual {
  height: 160px;
  background: linear-gradient(135deg, var(--bg-light), rgba(13,148,136,0.06));
  display: flex; align-items: center; justify-content: center;
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.blog-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.blog-visual-label {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--teal);
  opacity: 0.5;
}
.blog-body { padding: 24px; }
.blog-cat {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 600;
  background: linear-gradient(135deg, var(--teal), var(--cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.blog-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1rem;
  color: var(--text-white);
  font-weight: 600;
  margin-bottom: 12px;
  line-height: 1.4;
}
.blog-excerpt { font-size: 0.8rem; margin-bottom: 16px; line-height: 1.7; }
.blog-meta { font-size: 0.75rem; color: #64748b; }

/* Category filter pills */
.category-pills {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}
.category-pill {
  display: inline-block;
  padding: 8px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  color: var(--text);
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 500;
  transition: all 0.3s;
}
.category-pill:hover,
.category-pill.active {
  border-color: var(--teal);
  color: var(--teal-bright);
  background: rgba(13, 148, 136, 0.1);
}

/* ==========================================================================
   Article Content (blog single)
   ========================================================================== */
.article-header { margin-bottom: 48px; }
.article-header .blog-cat { font-size: 0.75rem; margin-bottom: 16px; }
.article-header h1 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-white);
  line-height: 1.2;
  margin-bottom: 20px;
}
.article-meta {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 0.85rem;
  color: var(--text);
  flex-wrap: wrap;
}
.article-meta span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.article-content {
  max-width: 800px;
  margin: 0 auto;
  padding-bottom: 64px;
}
.article-content h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text-white);
  margin-top: 48px;
  margin-bottom: 20px;
  line-height: 1.3;
}
.article-content h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--text-white);
  margin-top: 36px;
  margin-bottom: 16px;
  line-height: 1.3;
}
.article-content h4 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-light);
  margin-top: 28px;
  margin-bottom: 12px;
}
.article-content p {
  font-size: 1rem;
  line-height: 1.9;
  color: var(--text);
  margin-bottom: 20px;
}
.article-content a {
  color: var(--teal-light);
  text-decoration: underline;
  text-decoration-color: rgba(20, 184, 166, 0.3);
  text-underline-offset: 3px;
  transition: text-decoration-color 0.3s;
}
.article-content a:hover {
  text-decoration-color: var(--teal-light);
}
.article-content ul,
.article-content ol {
  margin-bottom: 20px;
  padding-left: 24px;
}
.article-content ul { list-style: none; padding-left: 0; }
.article-content ul li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 10px;
  font-size: 0.95rem;
  line-height: 1.8;
}
.article-content ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--teal);
}
.article-content ol li {
  margin-bottom: 10px;
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--text);
}
.article-content ol li::marker {
  color: var(--teal-light);
  font-weight: 600;
}
.article-content blockquote {
  margin: 32px 0;
  padding: 24px 28px;
  border-left: 3px solid var(--teal);
  background: var(--bg-card);
  border-radius: 0 12px 12px 0;
  font-style: italic;
  color: var(--text-light);
  font-size: 1rem;
  line-height: 1.8;
}
.article-content pre {
  background: #060a12;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
  margin: 28px 0;
  overflow-x: auto;
}
.article-content code {
  font-family: 'JetBrains Mono', 'Fira Code', monospace;
  font-size: 0.85rem;
  color: var(--teal-bright);
}
.article-content p code,
.article-content li code {
  background: rgba(13, 148, 136, 0.1);
  border: 1px solid rgba(13, 148, 136, 0.15);
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.85em;
}
.article-content pre code {
  background: none;
  border: none;
  padding: 0;
  color: var(--text-light);
  line-height: 1.7;
}
.article-content img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  margin: 28px 0;
  border: 1px solid var(--border);
}
.article-content hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 48px 0;
}
.article-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 28px 0;
}
.article-content table th,
.article-content table td {
  padding: 12px 16px;
  border: 1px solid var(--border);
  text-align: left;
  font-size: 0.9rem;
}
.article-content table th {
  background: var(--bg-card);
  color: var(--text-white);
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
}
.article-content table td {
  color: var(--text);
}

/* Share buttons */
.share-buttons {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}
.share-buttons span {
  font-size: 0.85rem;
  color: var(--text);
  font-weight: 500;
}
.share-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text-light);
  text-decoration: none;
  font-size: 0.85rem;
  transition: all 0.3s;
}
.share-btn:hover {
  border-color: var(--teal);
  color: var(--teal-bright);
}

/* Related articles */
.related-articles { margin-top: 80px; }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
  margin-bottom: 12px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color 0.3s;
}
.faq-item:hover { border-color: rgba(13, 148, 136, 0.2); }
.faq-question {
  width: 100%;
  background: none;
  border: none;
  color: var(--text-white);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 22px 24px;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: color 0.3s;
}
.faq-question:hover { color: var(--teal-bright); }
.faq-toggle {
  width: 32px; height: 32px;
  background: rgba(13, 148, 136, 0.1);
  border: 1px solid rgba(13, 148, 136, 0.2);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--teal-light);
  font-size: 1.1rem;
  transition: all 0.3s;
  flex-shrink: 0;
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
  font-size: 0.875rem;
  line-height: 1.9;
  padding: 0 24px;
  color: var(--text);
}
.faq-item.active .faq-answer { max-height: 300px; padding-bottom: 22px; }
.faq-item.active .faq-toggle {
  background: linear-gradient(135deg, var(--teal), var(--cyan));
  color: white;
  border-color: transparent;
  transform: rotate(45deg);
}
.faq-item.active { border-color: var(--border-glow); }

/* ==========================================================================
   Contact
   ========================================================================== */
.contact-section {
  background: linear-gradient(180deg, var(--bg-light), var(--bg));
  border-top: 1px solid var(--border);
}
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; }
.contact-form { display: flex; flex-direction: column; gap: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group label {
  display: block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-light);
  margin-bottom: 8px;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--text-white);
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  padding: 14px 18px;
  border-radius: 10px;
  outline: none;
  transition: all 0.3s;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px var(--teal-glow-light), 0 0 20px rgba(13, 148, 136, 0.1);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2394a3b8' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}
.contact-info-list { display: grid; gap: 24px; }
.contact-info-item {
  display: flex; align-items: flex-start; gap: 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
  transition: border-color 0.3s;
}
.contact-info-item:hover { border-color: var(--border-glow); }
.contact-info-icon {
  width: 48px; height: 48px;
  background: linear-gradient(135deg, rgba(13,148,136,0.15), rgba(6,182,212,0.1));
  border: 1px solid rgba(13,148,136,0.2);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  color: var(--teal-bright);
  font-size: 1.2rem;
  flex-shrink: 0;
}
.contact-info-label { font-size: 0.75rem; color: var(--text); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 4px; }
.contact-info-value { font-size: 0.95rem; color: var(--text-white); font-weight: 600; }
.contact-info-value a {
  color: var(--teal-light);
  text-decoration: none;
  transition: color 0.3s;
}
.contact-info-value a:hover { color: var(--teal-bright); }

/* ==========================================================================
   CTA Section
   ========================================================================== */
.cta-section {
  text-align: center;
  background: linear-gradient(180deg, var(--bg), var(--bg-light));
  border-top: 1px solid var(--border);
}
.cta-section .section-title { margin-bottom: 20px; }
.cta-section .section-desc { margin: 0 auto 40px; text-align: center; }
.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ==========================================================================
   Alerts
   ========================================================================== */
.alert {
  padding: 16px 24px;
  border-radius: 12px;
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 24px;
}
.alert-success {
  background: rgba(13, 148, 136, 0.1);
  border: 1px solid rgba(13, 148, 136, 0.3);
  color: var(--teal-bright);
}
.alert-error {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #f87171;
}

/* ==========================================================================
   Pagination
   ========================================================================== */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 64px;
}
.pagination a,
.pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 42px;
  padding: 0 12px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  transition: all 0.3s;
}
.pagination a:hover {
  border-color: var(--teal);
  color: var(--teal-bright);
}
.pagination .active {
  background: linear-gradient(135deg, var(--teal), var(--teal-light));
  border-color: transparent;
  color: white;
}
.pagination .disabled {
  opacity: 0.4;
  cursor: not-allowed;
  pointer-events: none;
}
.pagination .dots {
  background: none;
  border: none;
  color: var(--text);
}

/* ==========================================================================
   Footer
   ========================================================================== */
footer {
  background: #060a12;
  border-top: 1px solid var(--border);
  padding: 64px 0 32px;
  position: relative;
  z-index: 1;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand .logo { margin-bottom: 16px; }
.footer-desc { font-size: 0.875rem; line-height: 1.8; color: var(--text); }
.footer-heading {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.8rem;
  color: var(--text-white);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
}
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: var(--text); text-decoration: none; font-size: 0.875rem; transition: color 0.3s; }
.footer-links a:hover { color: var(--teal-light); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: #475569;
}

/* ==========================================================================
   Scroll Reveal
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   Error Pages
   ========================================================================== */
.error-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px;
}
.error-code {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 8rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--teal-light), var(--cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 16px;
}
.error-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.8rem;
  color: var(--text-white);
  font-weight: 700;
  margin-bottom: 16px;
}
.error-desc {
  font-size: 1rem;
  color: var(--text);
  margin-bottom: 36px;
  max-width: 480px;
  line-height: 1.8;
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .portfolio-detail-info { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .hero-title { font-size: 2rem; }
  .section-title { font-size: 1.8rem; }
  .services-grid,
  .portfolio-grid,
  .testimonials-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  nav { display: none; }
  .hamburger { display: block; }
  .form-row { grid-template-columns: 1fr; }
  .page-hero { padding-top: 120px; }
  .article-header h1 { font-size: 1.8rem; }
  .error-code { font-size: 5rem; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 1.6rem; }
  .section-title { font-size: 1.5rem; }
  .stats-grid { grid-template-columns: 1fr; }
  .stat-num { font-size: 2.5rem; }
  .team-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn-primary,
  .hero-actions .btn-ghost { width: 100%; text-align: center; }
}
