/* =============================================
   Alberta IT Solutions — Global Styles
   Apple-Inspired Design System
   ============================================= */

:root {
  --bg-primary: #000000;
  --bg-secondary: #0a0a0a;
  --bg-tertiary: #111111;
  --bg-card: #0f0f0f;
  --bg-card-hover: #161616;
  --border: rgba(255,255,255,0.07);
  --border-hover: rgba(255,255,255,0.14);

  --text-primary: #f0f0f5;
  --text-secondary: #8e8e9a;
  --text-muted: #5e5e6e;

  --accent-blue: #2563eb;
  --accent-purple: #4f46e5;
  --accent-pink: #db2777;
  --accent-green: #059669;

  --gradient-primary: linear-gradient(135deg, #1d4ed8 0%, #4f46e5 100%);
  --gradient-glow: radial-gradient(ellipse at center, rgba(37, 99, 235, 0.1), transparent 70%);

  --font-main: 'Inter', -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', sans-serif;
  --font-display: 'Inter', -apple-system, BlinkMacSystemFont, 'SF Pro Display', sans-serif;

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  --shadow-card: 0 1px 12px rgba(0,0,0,0.4), 0 1px 0 rgba(255,255,255,0.03) inset;
  --shadow-glow: 0 0 40px rgba(37, 99, 235, 0.12);
  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Light Theme */
[data-theme="light"] {
  --bg-primary: #ffffff;
  --bg-secondary: #f8f9fa;
  --bg-tertiary: #e9ecef;
  --bg-card: #ffffff;
  --bg-card-hover: #f8f9fa;
  --border: rgba(0,0,0,0.08);
  --border-hover: rgba(0,0,0,0.16);

  --text-primary: #1d1d1f;
  --text-secondary: #6e6e73;
  --text-muted: #86868b;

  --accent-blue: #007aff;
  --accent-purple: #5856d6;
  --accent-pink: #ff3b30;
  --accent-green: #34c759;

  --gradient-primary: linear-gradient(135deg, #007aff 0%, #5856d6 50%, #af52de 100%);
  --gradient-glow: radial-gradient(ellipse at center, rgba(0, 122, 255, 0.15), transparent 70%);

  --shadow-card: 0 2px 20px rgba(0,0,0,0.1), 0 1px 0 rgba(255,255,255,0.8) inset;
  --shadow-glow: 0 0 60px rgba(0, 122, 255, 0.15);

  --nav-mobile-bg: rgba(255,255,255,0.97);
}

/* =============================================
   Reset & Base
   ============================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-size: 16px;
}

body {
  font-family: var(--font-main);
  background: var(--bg-primary);
  color: var(--text-primary);
  overflow-x: hidden;
  line-height: 1.6;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; outline: none; background: none; font-family: inherit; }

/* =============================================
   Typography
   ============================================= */
.section-eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-blue);
  margin-bottom: 16px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.025em;
  color: var(--text-primary);
  margin-bottom: 20px;
}

.section-desc {
  font-size: 17px;
  color: var(--text-secondary);
  max-width: 600px;
  line-height: 1.7;
}

.section-header {
  text-align: center;
  margin-bottom: 72px;
}

.section-header .section-desc {
  margin: 0 auto;
}

.gradient-text {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* =============================================
   Layout
   ============================================= */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* =============================================
   Buttons
   ============================================= */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  background: var(--accent-blue);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  border-radius: 980px;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-primary:hover {
  background: #1a8fff;
  transform: scale(1.02);
  box-shadow: 0 8px 32px rgba(10, 132, 255, 0.4);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  background: rgba(255,255,255,0.08);
  color: var(--text-primary);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  border-radius: 980px;
  border: 1px solid var(--border);
  transition: var(--transition);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(255,255,255,0.12);
  border-color: var(--border-hover);
  transform: scale(1.02);
}

/* =============================================
   Navigation
   ============================================= */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0 24px;
  height: 66px;
  display: flex;
  align-items: center;
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--border);
  background: rgba(0,0,0,0.78);
  transition: var(--transition);
}

.navbar.scrolled {
  background: rgba(0,0,0,0.92);
  border-bottom-color: rgba(255,255,255,0.05);
}

/* Light theme navbar */
[data-theme="light"] .navbar {
  background: rgba(255,255,255,0.92);
  border-bottom-color: rgba(0,0,0,0.08);
}

[data-theme="light"] .navbar.scrolled {
  background: rgba(255,255,255,0.98);
  border-bottom-color: rgba(0,0,0,0.1);
}

[data-theme="light"] .nav-links li a {
  color: rgba(10,10,30,0.75);
}

[data-theme="light"] .nav-links li a:hover {
  color: #1d1d1f;
  background: rgba(0,0,0,0.05);
}

[data-theme="light"] .hamburger span {
  background: #1d1d1f;
}

[data-theme="light"] .theme-toggle {
  color: #1d1d1f;
}

/* =============================================
   Light theme — full redesign
   ============================================= */

[data-theme="light"] .hero {
  background: linear-gradient(180deg, #f7f9fc 0%, #ffffff 100%);
}

[data-theme="light"] .hero-title,
[data-theme="light"] .section-title {
  color: #0f172a;
}

[data-theme="light"] .gradient-text {
  background: linear-gradient(135deg, #1d4ed8 0%, #2563eb 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

[data-theme="light"] .hero-subtitle,
[data-theme="light"] .section-desc {
  color: #475569;
}

[data-theme="light"] .hero-badge {
  background: rgba(29, 78, 216, 0.08);
  border-color: rgba(29, 78, 216, 0.2);
  color: #1d4ed8;
}

[data-theme="light"] .hero-stats {
  background: rgba(255, 255, 255, 0.96);
  border-color: rgba(15, 23, 42, 0.08);
  backdrop-filter: blur(8px);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
}

[data-theme="light"] .stat-value {
  color: #0f172a;
}

[data-theme="light"] .stat-label {
  color: #64748b;
}

/* Light theme cards */
[data-theme="light"] .service-card,
[data-theme="light"] .industry-card,
[data-theme="light"] .process-step {
  background: #ffffff;
  border-color: rgba(15, 23, 42, 0.08);
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.06);
  backdrop-filter: none;
}

[data-theme="light"] .service-card:hover,
[data-theme="light"] .industry-card:hover {
  border-color: rgba(29, 78, 216, 0.2);
  box-shadow: 0 10px 28px rgba(29, 78, 216, 0.10);
  background: #ffffff;
}

[data-theme="light"] .section-eyebrow {
  color: #1d4ed8;
}

[data-theme="light"] .card-title,
[data-theme="light"] .industry-name,
[data-theme="light"] .step-title {
  color: #0f172a;
}

[data-theme="light"] .card-desc,
[data-theme="light"] .industry-desc,
[data-theme="light"] .step-desc {
  color: #475569;
}

[data-theme="light"] .seo-focus {
  background: #ffffff;
  border-color: rgba(15, 23, 42, 0.10);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}

[data-theme="light"] .seo-key-cluster li {
  color: #0f172a;
  background: rgba(29, 78, 216, 0.06);
  border-color: rgba(29, 78, 216, 0.16);
}

/* Light theme sections background */
[data-theme="light"] section {
  background: transparent;
}

/* Light theme footer stays dark */
[data-theme="light"] .footer {
  background: #0f172a;
  color: #f5f5f7;
}

[data-theme="light"] .footer-logo {
  background: transparent !important;
  box-shadow: none !important;
  padding: 0 !important;
  border-radius: 0 !important;
  backdrop-filter: none !important;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.nav-logo {
  display: flex;
  align-items: center;
}

.logo-img {
  height: 56px;
  width: auto;
  object-fit: contain;
  margin-top: 0;
}

.navbar-logo {
  width: 58px;
  height: 58px;
}

[data-theme="light"] .navbar-logo {
  width: 64px;
  height: 64px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-links li a {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,0.75);
  padding: 6px 12px;
  border-radius: 8px;
  transition: var(--transition);
}

.nav-links li a:hover {
  color: var(--text-primary);
  background: rgba(255,255,255,0.06);
}

.nav-links li a.nav-cta {
  background: var(--accent-blue);
  color: #fff;
  padding: 7px 16px;
  border-radius: 980px;
}

.nav-links li a.nav-cta:hover {
  background: #1a8fff;
  box-shadow: 0 4px 20px rgba(10, 132, 255, 0.4);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: var(--transition);
}

.theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 96px;
  height: 64px;
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  transition: var(--transition);
  margin-left: 12px;
  padding: 0;
}

.theme-toggle:hover {
  transform: scale(1.03);
  opacity: 1;
  background: transparent;
}

.theme-icon {
  width: 77px;
  height: 32px;
  object-fit: cover;
  display: block;
  transition: var(--transition);
}

[data-theme="light"] .hero-logo {
  border-radius: 0;
  padding: 0;
  backdrop-filter: none;
  filter: none;
}

/* =============================================
   Hero
   ============================================= */
.hero {
  position: relative;
  min-height: calc(100vh - 66px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
  padding: 76px 24px 42px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-city-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  opacity: 0.18;
  z-index: 0;
  pointer-events: none;
}

[data-theme="light"] .hero-city-bg {
  opacity: 0.2;
}

[data-theme="light"] .hero-orb {
  opacity: 0.08;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(130px);
  opacity: 0.12;
}

.hero-orb-1 {
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, #1e40af 0%, transparent 70%);
  top: -250px;
  left: -150px;
  animation: floatOrb 12s ease-in-out infinite;
}

.hero-orb-2 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, #3730a3 0%, transparent 70%);
  top: 80px;
  right: -200px;
  animation: floatOrb 16s ease-in-out infinite reverse;
}

.hero-orb-3 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, #1e3a5f 0%, transparent 70%);
  bottom: -150px;
  left: 50%;
  transform: translateX(-50%);
  animation: floatOrb 20s ease-in-out infinite;
}

@keyframes floatOrb {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-20px) scale(1.02); }
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
}

.hero-logo {
  display: block;
  width: min(620px, 92vw);
  height: clamp(150px, 20vw, 230px);
  object-fit: cover;
  object-position: center 52%;
  margin: 0 auto 4px;
  filter: none;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(37, 99, 235, 0.10);
  border: 1px solid rgba(37, 99, 235, 0.20);
  color: #60a5fa;
  font-size: 13px;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 980px;
  margin-bottom: 14px;
  backdrop-filter: blur(10px);
}

.badge-dot {
  width: 6px;
  height: 6px;
  background: var(--accent-green);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(44px, 8vw, 96px);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.04em;
  margin-bottom: 24px;
  color: var(--text-primary);
}

.hero-subtitle {
  font-size: clamp(16px, 2.5vw, 20px);
  color: var(--text-secondary);
  max-width: 680px;
  margin: 0 auto 40px;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 64px;
}

.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px 32px;
  backdrop-filter: blur(10px);
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 32px;
}

.stat-num {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

.stat-label {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 2px;
}

.stat-divider {
  width: 1px;
  height: 36px;
  background: var(--border);
}

.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
}

.scroll-dot {
  width: 4px;
  height: 24px;
  background: var(--accent-blue);
  border-radius: 2px;
  margin: 0 auto;
  animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {
  0%, 100% { opacity: 0.3; transform: scaleY(0.6); }
  50% { opacity: 1; transform: scaleY(1); }
}

/* =============================================
   SEO Band
   ============================================= */
.seo-band {
  background: var(--bg-tertiary);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 16px 24px;
  overflow: hidden;
}

.seo-band-inner {
  display: flex;
  gap: 24px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 500;
}

.seo-band-inner span:not(:last-child):not([aria-hidden]) {
  white-space: nowrap;
}

/* =============================================
   Services
   ============================================= */
.services {
  padding: 100px 0;
  background: var(--bg-primary);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.services-header-image {
  width: min(900px, 100%);
  height: clamp(138px, 31vw, 360px);
  object-fit: contain;
  object-position: center;
  border-radius: 0;
  margin: -141px auto -89px;
  display: block;
  border: none;
  box-shadow: none;
}

[data-theme="light"] .services-header-image {
  border-color: rgba(15, 23, 42, 0.08);
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-primary);
  opacity: 0;
  transition: var(--transition);
  border-radius: var(--radius-lg);
}

.service-card:hover {
  border-color: rgba(37, 99, 235, 0.25);
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.35);
}

.service-card:hover::before {
  opacity: 0.04;
}

.service-card.featured {
  grid-column: span 2;
  background: rgba(37, 99, 235, 0.05);
  border-color: rgba(37, 99, 235, 0.15);
}

.service-icon {
  width: 48px;
  height: 48px;
  color: var(--accent-blue);
  margin-bottom: 20px;
}

.service-icon svg {
  width: 100%;
  height: 100%;
}

.service-card h3 {
  font-size: 19px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.service-card p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 20px;
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.service-tags li {
  font-size: 12px;
  font-weight: 500;
  color: #6093df;
  background: rgba(37, 99, 235, 0.08);
  padding: 4px 10px;
  border-radius: 4px;
  border: 1px solid rgba(37, 99, 235, 0.15);
}

/* =============================================
   Industries
   ============================================= */
.industries {
  padding: 100px 0;
  background: var(--bg-secondary);
}

.industries-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 20px;
}

.industry-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  transition: var(--transition);
}

.industry-card:hover {
  border-color: rgba(94, 92, 230, 0.3);
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
  background: var(--bg-card-hover);
}

.industry-icon {
  width: 52px;
  height: 52px;
  color: var(--accent-purple);
  margin-bottom: 20px;
  background: rgba(94, 92, 230, 0.1);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
}

.industry-icon svg {
  width: 100%;
  height: 100%;
}

.industry-card h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.industry-card p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* =============================================
   About
   ============================================= */
.about {
  padding: 100px 0;
  background: var(--bg-primary);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-content .section-title {
  text-align: left;
}

.about-content .section-eyebrow {
  text-align: left;
}

.about-text {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 20px;
}

.about-pillars {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 36px;
}

.pillar {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.pillar-icon {
  font-size: 24px;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.04);
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}

.pillar strong {
  display: block;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.pillar p {
  font-size: 14px;
  color: var(--text-secondary);
  margin: 0;
}

.about-visual {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 24px;
}

.about-photos {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 10px;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.about-photo {
  width: 100%;
  height: 190px;
  object-fit: cover;
  border-radius: var(--radius-md);
  transition: transform 0.4s ease;
}

.about-photo:hover {
  transform: scale(1.03);
}

.about-card-stack {
  position: relative;
  width: 100%;
  max-width: 420px;
  height: 400px;
  margin: 0 auto;
}

.about-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 14px 20px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-primary);
  white-space: nowrap;
  max-width: calc(50% - 16px);
  box-shadow: var(--shadow-card);
  transition: var(--transition);
  animation: cardFloat var(--dur, 6s) ease-in-out infinite;
  animation-delay: var(--delay, 0s);
}

.about-card:hover {
  border-color: var(--border-hover);
  transform: scale(1.04) !important;
}

.ac-icon { font-size: 18px; }

.ac-1 { top: 0;    left: 0;    --dur: 6s;   --delay: 0s;   }
.ac-2 { top: 0;    right: 0;   --dur: 7s;   --delay: -1s;  }
.ac-3 { top: 30%;  left: 5%;   --dur: 8s;   --delay: -2s;  }
.ac-4 { top: 30%;  right: 5%;  --dur: 6.5s; --delay: -0.5s;}
.ac-5 { top: 60%;  left: 5%;   --dur: 7.5s; --delay: -3s;  }
.ac-6 { top: 60%;  right: 5%;  --dur: 6s;   --delay: -1.5s;}

@keyframes cardFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* =============================================
   City Panorama Banner
   ============================================= */
.city-panorama {
  position: relative;
  width: 100%;
  height: 360px;
  overflow: hidden;
}

.city-panorama img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 60%;
  display: block;
}

.panorama-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0,0,0,0.65) 0%,
    rgba(0,0,0,0.20) 50%,
    rgba(0,0,0,0.08) 100%
  );
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 40px;
}

.panorama-label {
  color: #ffffff;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.9;
  text-shadow: 0 2px 12px rgba(0,0,0,0.5);
}

[data-theme="light"] .panorama-overlay {
  background: linear-gradient(
    to top,
    rgba(0,0,0,0.55) 0%,
    rgba(0,0,0,0.15) 50%,
    rgba(0,0,0,0.04) 100%
  );
}

/* =============================================
   Process
   ============================================= */
.process {
  padding: 100px 0;
  background: var(--bg-secondary);
}

.process-header-logo {
  width: min(260px, 44vw);
  height: auto;
  object-fit: contain;
  display: block;
  margin: 0 auto 16px;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2px;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.process-step {
  background: var(--bg-card);
  padding: 40px;
  display: flex;
  gap: 20px;
  transition: var(--transition);
  position: relative;
}

.process-step::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 40px;
  right: 40px;
  height: 1px;
  background: var(--border);
}

.process-step:hover {
  background: var(--bg-card-hover);
}

.step-number {
  font-size: 48px;
  font-weight: 800;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: 0.4;
  line-height: 1;
  letter-spacing: -0.04em;
  flex-shrink: 0;
  width: 60px;
}

.step-content h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}

.step-content p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* =============================================
   SEO Content Section
   ============================================= */
.seo-content {
  padding: 100px 0;
  background: var(--bg-primary);
}

.seo-focus {
  max-width: 980px;
  margin: 0 auto;
  padding: 40px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}

.seo-focus h2 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.seo-focus p {
  font-size: 16px;
  line-height: 1.72;
  color: var(--text-secondary);
  margin-bottom: 14px;
}

.seo-compact {
  margin-top: 10px;
  margin-bottom: 0;
}

.seo-key-cluster {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 10px 14px;
}

.seo-key-cluster li {
  font-size: 14px;
  color: var(--text-primary);
  background: rgba(37, 99, 235, 0.07);
  border: 1px solid rgba(37, 99, 235, 0.16);
  border-radius: var(--radius-sm);
  padding: 8px 12px;
}

/* =============================================
   Contact
   ============================================= */
.contact {
  padding: 100px 0;
  background: var(--bg-secondary);
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 48px;
  align-items: start;
}

.contact-form {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 48px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}

.form-group label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  letter-spacing: 0.02em;
}

.form-group input:not([type="checkbox"]),
.form-group select,
.form-group textarea {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-family: var(--font-main);
  font-size: 15px;
  padding: 13px 16px;
  transition: var(--transition);
  outline: none;
  width: 100%;
  -webkit-appearance: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-muted);
}

.form-group select option {
  background: #1a1a1a;
  color: var(--text-primary);
}

.form-group input:not([type="checkbox"]):focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent-blue);
  background: rgba(10, 132, 255, 0.04);
  box-shadow: 0 0 0 3px rgba(10, 132, 255, 0.12);
}

.form-group textarea {
  resize: vertical;
  min-height: 140px;
}

.checkbox-group {
  margin-bottom: 24px;
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
  appearance: auto;
  -webkit-appearance: checkbox;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  accent-color: var(--accent-blue);
  margin-top: 1px;
  cursor: pointer;
}

.checkbox-label span {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.5;
}

.btn-form {
  width: 100%;
  padding: 16px;
  font-size: 16px;
  border-radius: var(--radius-md);
}

.form-success {
  text-align: center;
  padding: 40px;
}

.success-icon {
  width: 56px;
  height: 56px;
  background: rgba(48, 209, 88, 0.1);
  border: 2px solid var(--accent-green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: var(--accent-green);
  margin: 0 auto 16px;
}

.form-success h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.form-success p {
  font-size: 15px;
  color: var(--text-secondary);
}

.form-error {
  margin-top: 16px;
  padding: 16px;
  background: rgba(255, 55, 95, 0.08);
  border: 1px solid rgba(255, 55, 95, 0.2);
  border-radius: var(--radius-md);
  font-size: 14px;
  color: #ff6b8a;
}

.form-error a {
  color: var(--accent-blue);
  text-decoration: underline;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
}

.contact-card h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  transition: var(--transition);
}

.contact-item:last-child {
  border-bottom: none;
}

.contact-item:hover .ci-value {
  color: var(--accent-blue);
}

.ci-icon {
  font-size: 18px;
  flex-shrink: 0;
  margin-top: 2px;
}

.ci-label {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 2px;
}

.ci-value {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: var(--transition);
}

.service-areas {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.service-areas li {
  font-size: 14px;
  color: var(--text-secondary);
  font-weight: 500;
}

.footer-email {
  display: block;
  margin-top: 16px;
  font-size: 13px;
  color: var(--accent-blue);
  font-weight: 500;
  word-break: break-all;
}

/* =============================================
   Footer
   ============================================= */
.footer {
  background: #000;
  border-top: 1px solid var(--border);
}

.footer-top {
  padding: 72px 0 48px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
}

.footer-brand p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-top: 16px;
  max-width: 280px;
}

.footer-logo {
  height: 92px;
  width: auto;
  object-fit: contain;
  filter: none;
}

.footer-keywords {
  font-size: 11px !important;
  color: rgba(255,255,255,0.2) !important;
  margin-top: 12px !important;
}

.footer-col h4 {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 16px;
  letter-spacing: 0.02em;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col ul li,
.footer-col ul li a {
  font-size: 13px;
  color: var(--text-muted);
  transition: var(--transition);
}

.footer-col ul li a:hover {
  color: var(--text-secondary);
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 20px 0;
}

.footer-bottom-inner {
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-align: center;
}

.footer-bottom-inner p {
  font-size: 12px;
  color: var(--text-muted);
}

.footer-tagline {
  font-size: 11px !important;
  color: rgba(255,255,255,0.2) !important;
}

/* =============================================
   Responsive
   ============================================= */
@media (max-width: 1024px) {
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .footer-brand { grid-column: span 2; }
  .contact-wrapper { grid-template-columns: 1fr; }
  .service-card.featured { grid-column: span 1; }
  .seo-focus { padding: 32px; }
  .seo-key-cluster { grid-template-columns: 1fr 1fr; }

  /* Show about-visual below content on tablet */
  .about-visual { display: block; }

  /* Photos side by side */
  .about-photos {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
  }
  .about-photo {
    width: 50%;
    height: 200px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    flex-shrink: 0;
  }

  /* Cards: switch from absolute to 2-column grid */
  .about-card-stack {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    position: static;
    height: auto;
    max-width: 100%;
  }
  .about-card {
    position: static !important;
    width: 100% !important;
    max-width: none !important;
    top: auto !important; left: auto !important;
    right: auto !important; bottom: auto !important;
    animation: none !important;
    white-space: normal;
  }
  .ac-1, .ac-2, .ac-3, .ac-4, .ac-5, .ac-6 {
    top: auto; left: auto; right: auto; bottom: auto;
  }
}

@media (max-width: 768px) {
  /* ---- Nav ---- */
  .nav-links { display: none; flex-direction: column; position: fixed; top: 66px; left: 0; right: 0; background: var(--nav-mobile-bg, rgba(0,0,0,0.96)); backdrop-filter: blur(20px); border-bottom: 1px solid var(--border); padding: 20px; gap: 4px; z-index: 999; }
  .nav-links.open { display: flex; }
  .nav-links li a { display: block; padding: 12px 16px; border-radius: var(--radius-md); font-size: 16px; }
  .hamburger { display: flex; }

  /* Theme toggle — truly centered via 3-col grid */
  .nav-container {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
  }
  .nav-logo { justify-self: start; }
  .theme-toggle {
    grid-column: 2;
    justify-self: center;
    margin-left: 0;
    position: static;
    transform: none;
  }
  .hamburger {
    grid-column: 3;
    justify-self: end;
  }

  /* ---- Hero ---- */
  .hero { padding: 100px 20px 56px; }
  .hero-stats { padding: 14px 16px; }
  .stat { padding: 0 12px; }
  .stat-num { font-size: 15px; }

  /* ---- About: compact ---- */
  .about-text + .about-text { display: none; }   /* hide 2nd paragraph */
  .about-pillars { display: none; }              /* hide pillars block */
  .about-photos { gap: 8px; margin-bottom: 20px; }
  .about-photo { height: 160px; }
  /* Cards: 2-column grid */
  .about-card-stack {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    position: static;
    height: auto;
    max-width: 100%;
  }
  .about-card {
    position: static !important;
    width: 100% !important;
    max-width: none !important;
    top: auto !important; left: auto !important;
    right: auto !important; bottom: auto !important;
    animation: none !important;
    white-space: normal;
    font-size: 13px;
    padding: 10px 14px;
    gap: 8px;
  }
  .ac-icon { font-size: 16px; }

  /* ---- Services: show top 4 only ---- */
  .service-card:nth-child(n+5) { display: none; }
  .services-grid { grid-template-columns: 1fr; }
  .services-header-image {
    width: min(560px, 100%);
    height: clamp(96px, 30vw, 170px);
    margin: 0 auto 10px;
    object-fit: contain;
  }

  /* ---- Industries: show top 3 only ---- */
  .industry-card:nth-child(n+4) { display: none; }
  .industries-grid { grid-template-columns: 1fr; gap: 12px; }

  /* ---- Process ---- */
  .process-steps { grid-template-columns: 1fr; border-radius: var(--radius-lg); }
  .process-header-logo { width: min(190px, 43vw); margin-bottom: 12px; }

  /* ---- Hide pure SEO / panorama on mobile ---- */
  .seo-content { display: none; }
  .city-panorama { display: none; }
  .seo-band { display: none; }

  /* ---- Contact ---- */
  .form-row { grid-template-columns: 1fr; }
  .contact-form { padding: 24px 18px; }
  .contact-info .contact-card:nth-child(2) { display: none; } /* hide service areas */

  /* ---- Footer: slim ---- */
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand { grid-column: span 1; }
  .footer-col { display: none; }                /* keep only brand on mobile */
  .footer-keywords { display: none; }
  .footer-tagline { display: none; }

  /* ---- General ---- */
  .seo-focus { padding: 24px; }
  .seo-key-cluster { grid-template-columns: 1fr; }
  .section-title { font-size: 30px; }
}

@media (max-width: 480px) {
  .services-header-image {
    width: min(420px, 100%);
    height: clamp(90px, 28vw, 130px);
    margin: 0 auto 8px;
  }
  .process-header-logo { width: min(150px, 44vw); margin-bottom: 10px; }
  .hero-actions { flex-direction: column; align-items: center; }
  .hero-stats { flex-direction: column; gap: 12px; }
  .stat-divider { width: 60px; height: 1px; }
  .section-title { font-size: 26px; }
  .about-card { width: calc(50% - 4px); font-size: 12px; padding: 9px 11px; }
  .about-photo { height: 130px; }
  .industries-grid { gap: 10px; }
}
