/* ============================================
   MIGUWI - LUMINOUS SURFACES DESIGN SYSTEM
   ============================================ */


:root {
  
  --bg-deep: #0a0e1a;
  --bg-surface: #0f1628;
  --bg-card: #141d35;
  --bg-card-hover: #1a2540;
  --bg-light: #f0f4ff;
  --bg-light-card: #ffffff;

  --text-primary: #e8edf8;
  --text-secondary: #8fa3cc;
  --text-muted: #5a6e94;
  --text-dark: #1a2035;
  --text-dark-secondary: #3d4f70;

  --accent-electric: #3d7fff;
  --accent-teal: #00d4aa;
  --accent-warm: #ff8c42;
  --accent-violet: #9b59ff;
  --accent-electric-dim: rgba(61, 127, 255, 0.15);
  --accent-teal-dim: rgba(0, 212, 170, 0.15);
  --accent-warm-dim: rgba(255, 140, 66, 0.15);
  --accent-violet-dim: rgba(155, 89, 255, 0.15);

  --border-subtle: rgba(255, 255, 255, 0.07);
  --border-glow: rgba(61, 127, 255, 0.3);

  
  --shadow-card: 0 2px 8px rgba(0,0,0,0.4), 0 0 0 1px rgba(255,255,255,0.05);
  --shadow-card-hover: 0 8px 32px rgba(61,127,255,0.2), 0 0 0 1px rgba(61,127,255,0.15), 0 2px 8px rgba(0,0,0,0.5);
  --shadow-btn: 0 4px 20px rgba(61,127,255,0.35), 0 1px 4px rgba(0,0,0,0.3);
  --shadow-btn-hover: 0 8px 32px rgba(61,127,255,0.5), 0 2px 8px rgba(0,0,0,0.3);
  --shadow-glow-electric: 0 0 60px rgba(61,127,255,0.25), 0 0 120px rgba(61,127,255,0.1);
  --shadow-glow-teal: 0 0 60px rgba(0,212,170,0.2), 0 0 120px rgba(0,212,170,0.08);

  
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;
  --space-2xl: 6rem;
  --space-3xl: 8rem;

  
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;

  
  --transition-fast: 0.15s ease;
  --transition-base: 0.25s ease;
  --transition-slow: 0.4s ease;

  
  --nav-height: 72px;
}


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

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

body.canvas {
  font-family: 'Inter', system-ui, sans-serif;
  background-color: var(--bg-deep);
  color: var(--text-primary);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main { flex: 1; }

img { max-width: 100%; height: auto; display: block; }

a { color: inherit; text-decoration: none; transition: color var(--transition-base); }

ul { list-style: none; }


h1, h2, h3, h4 {
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-primary);
}

.section-heading {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 800;
  margin-bottom: var(--space-md);
}

.section-eyebrow {
  display: inline-block;
  font-family: 'Manrope', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-electric);
  margin-bottom: var(--space-sm);
  padding: 4px 12px;
  background: var(--accent-electric-dim);
  border-radius: var(--radius-full);
  border: 1px solid rgba(61,127,255,0.2);
}

.section-intro {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 580px;
  margin: 0 auto;
}


.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.canvas-section {
  padding: var(--space-2xl) 0;
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-xl);
}


.nav-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--nav-height);
  background: rgba(10, 14, 26, 0.6);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  transition: background var(--transition-slow), box-shadow var(--transition-slow);
}

.nav-bar.nav-solid {
  background: rgba(10, 14, 26, 0.95);
  box-shadow: 0 2px 24px rgba(0,0,0,0.4);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-md);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-lg);
}

.nav-logo { display: flex; align-items: center; flex-shrink: 0; }
.nav-logo img { height: 32px; width: auto; }

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
}

.nav-link {
  font-family: 'Manrope', sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-secondary);
  transition: color var(--transition-base);
  position: relative;
  padding: 4px 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-electric);
  border-radius: 2px;
  transition: width var(--transition-base);
}

.nav-link:hover, .nav-link.active {
  color: var(--text-primary);
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  border-radius: var(--radius-sm);
  transition: background var(--transition-fast);
}

.nav-hamburger:hover { background: var(--accent-electric-dim); }

.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: transform var(--transition-base), opacity var(--transition-base);
}


.drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 199;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-slow);
  backdrop-filter: blur(2px);
}

.drawer-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.drawer {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: 80%;
  max-width: 320px;
  background: var(--bg-surface);
  border-right: 1px solid var(--border-subtle);
  z-index: 200;
  transform: translateX(-100%);
  transition: transform var(--transition-slow);
  display: flex;
  flex-direction: column;
  padding: var(--space-lg);
  box-shadow: 4px 0 32px rgba(0,0,0,0.5);
}

.drawer.open { transform: translateX(0); }

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-xl);
}

.drawer-close {
  background: var(--accent-electric-dim);
  border: 1px solid var(--border-glow);
  color: var(--text-primary);
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: background var(--transition-fast), transform var(--transition-fast);
}

.drawer-close:hover { background: var(--accent-electric); transform: rotate(90deg); }

.drawer-nav {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.drawer-link {
  font-family: 'Manrope', sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-secondary);
  padding: 14px 16px;
  border-radius: var(--radius-md);
  transition: background var(--transition-base), color var(--transition-base), transform var(--transition-base);
  opacity: 0;
  transform: translateX(-20px);
}

.drawer.open .drawer-link {
  opacity: 1;
  transform: translateX(0);
  transition: background var(--transition-base), color var(--transition-base), opacity 0.3s var(--delay, 0s), transform 0.3s var(--delay, 0s);
}

.drawer-link:hover {
  background: var(--accent-electric-dim);
  color: var(--text-primary);
  transform: translateX(4px);
}


.stage {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: var(--nav-height);
  background: var(--bg-deep);
}

.stage::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 60% at 70% 50%, rgba(61,127,255,0.12) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 20% 80%, rgba(0,212,170,0.08) 0%, transparent 60%);
  pointer-events: none;
}

.stage-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: var(--space-3xl) var(--space-md);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: center;
  width: 100%;
  position: relative;
  z-index: 2;
}

.stage-eyebrow {
  display: inline-block;
  font-family: 'Manrope', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent-teal);
  margin-bottom: var(--space-md);
  padding: 5px 14px;
  background: var(--accent-teal-dim);
  border-radius: var(--radius-full);
  border: 1px solid rgba(0,212,170,0.25);
}

.stage-heading {
  font-size: clamp(2.6rem, 5.5vw, 4.2rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: var(--space-lg);
  background: linear-gradient(135deg, #e8edf8 0%, #a0b4d8 60%, #3d7fff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stage-sub {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 480px;
  margin-bottom: var(--space-xl);
}

.stage-actions {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
}

.stage-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.stage-glow {
  position: absolute;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(61,127,255,0.2) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  animation: pulse-glow 4s ease-in-out infinite;
}

@keyframes pulse-glow {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.08); }
}

.stage-img-frame {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-glow-electric), 0 0 0 1px rgba(61,127,255,0.15);
  max-width: 520px;
  width: 100%;
}

.stage-img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  display: block;
}

.stage-img-badge {
  position: absolute;
  bottom: var(--space-md);
  left: var(--space-md);
  right: var(--space-md);
  background: rgba(10,14,26,0.85);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.stage-img-badge i { color: var(--accent-electric); font-size: 1rem; }

.stage-curtain {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 120px;
  background: linear-gradient(to bottom, transparent, var(--bg-deep));
  pointer-events: none;
  z-index: 3;
}


.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: var(--accent-electric);
  color: #fff;
  font-family: 'Manrope', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  box-shadow: var(--shadow-btn);
  transition: background var(--transition-base), box-shadow var(--transition-base), transform var(--transition-fast);
  text-decoration: none;
  white-space: nowrap;
  min-height: 48px;
}

.btn-primary:hover {
  background: #5590ff;
  box-shadow: var(--shadow-btn-hover);
  transform: translateY(-2px);
  color: #fff;
}

.btn-primary:active { transform: translateY(0); }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: transparent;
  color: var(--text-secondary);
  font-family: 'Manrope', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-subtle);
  cursor: pointer;
  transition: all var(--transition-base);
  min-height: 48px;
}

.btn-ghost:hover {
  border-color: var(--accent-electric);
  color: var(--text-primary);
  background: var(--accent-electric-dim);
  box-shadow: 0 0 20px rgba(61,127,255,0.15);
}

.btn-sm {
  padding: 10px 22px;
  font-size: 0.85rem;
  min-height: 42px;
}

.btn-full { width: 100%; justify-content: center; }


.shelf-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
}

.shelf-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(61,127,255,0.05) 0%, transparent 60%);
  opacity: 0;
  transition: opacity var(--transition-base);
  pointer-events: none;
}

.shelf-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
  border-color: rgba(61,127,255,0.2);
}

.shelf-card:hover::before { opacity: 1; }

.spotlight-card {
  border-color: rgba(61,127,255,0.15);
  box-shadow: var(--shadow-card), 0 0 40px rgba(61,127,255,0.08);
}

.card-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: var(--accent-electric-dim);
  border: 1px solid rgba(61,127,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-md);
  font-size: 1.3rem;
  color: var(--card-accent, var(--accent-electric));
  box-shadow: 0 0 20px color-mix(in srgb, var(--card-accent, var(--accent-electric)) 30%, transparent);
  transition: box-shadow var(--transition-base), transform var(--transition-base);
}

.shelf-card:hover .card-icon-wrap {
  transform: scale(1.05);
  box-shadow: 0 0 32px color-mix(in srgb, var(--card-accent, var(--accent-electric)) 50%, transparent);
}

.card-title {
  font-family: 'Manrope', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: var(--space-sm);
  color: var(--text-primary);
}

.card-body {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: var(--space-md);
}

.card-link {
  font-family: 'Manrope', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent-electric);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap var(--transition-fast), color var(--transition-fast);
}

.card-link:hover { gap: 10px; color: #5590ff; }


.gallery { display: grid; gap: var(--space-lg); }

.topics-gallery {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}


.featured-section { background: var(--bg-surface); }

.featured-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: center;
}

.featured-img-wrap {
  border-radius: var(--radius-xl);
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-glow-electric);
}

.featured-img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.featured-img-wrap:hover .featured-img { transform: scale(1.03); }

.featured-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, transparent 60%, rgba(10,14,26,0.4));
  pointer-events: none;
}

.featured-text-col p {
  color: var(--text-secondary);
  margin-bottom: var(--space-md);
  line-height: 1.7;
}


.city-gallery {
  grid-template-columns: 2fr 1fr 1fr;
  align-items: start;
}

.city-card {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  cursor: pointer;
  box-shadow: var(--shadow-card);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.city-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card-hover);
}

.city-card-img {
  width: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.city-card--large .city-card-img { height: 440px; }
.city-card:not(.city-card--large) .city-card-img { height: 280px; }

.city-card:hover .city-card-img { transform: scale(1.05); }

.city-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(5,8,18,0.92) 0%, rgba(5,8,18,0.3) 50%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: var(--space-lg);
}

.city-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--accent-electric-dim);
  border: 1px solid rgba(61,127,255,0.3);
  color: var(--accent-electric);
  padding: 3px 10px;
  border-radius: var(--radius-full);
  margin-bottom: var(--space-sm);
  width: fit-content;
}

.city-name {
  font-size: 1.8rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 8px;
}

.city-card:not(.city-card--large) .city-name { font-size: 1.3rem; }

.city-desc {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.6;
  margin-bottom: var(--space-sm);
}

.city-card:not(.city-card--large) .city-desc { display: none; }

.city-link {
  font-family: 'Manrope', sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--accent-teal);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap var(--transition-fast);
}

.city-link:hover { gap: 10px; }


.process-section { background: var(--bg-surface); }

.process-track {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-lg);
  position: relative;
}

.process-track::before {
  content: '';
  position: absolute;
  top: 44px;
  left: calc(12.5% + 24px);
  right: calc(12.5% + 24px);
  height: 1px;
  background: linear-gradient(to right, var(--accent-electric), var(--accent-teal), var(--accent-warm), var(--accent-violet));
  opacity: 0.3;
}

.process-step { position: relative; text-align: center; }

.process-number {
  font-family: 'Manrope', sans-serif;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--accent-electric);
  margin-bottom: var(--space-sm);
}

.process-connector { display: none; }

.process-content {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  transition: box-shadow var(--transition-base), border-color var(--transition-base), transform var(--transition-base);
}

.process-step:hover .process-content {
  box-shadow: var(--shadow-card-hover);
  border-color: rgba(61,127,255,0.2);
  transform: translateY(-4px);
}

.process-icon {
  width: 52px;
  height: 52px;
  background: var(--accent-electric-dim);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-md);
  font-size: 1.3rem;
  color: var(--accent-electric);
  box-shadow: 0 0 20px rgba(61,127,255,0.2);
}

.process-title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: var(--space-sm);
  color: var(--text-primary);
}

.process-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
}


.gear-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: center;
}

.gear-text-col p {
  color: var(--text-secondary);
  margin-bottom: var(--space-md);
  line-height: 1.7;
}

.gear-img-stack { position: relative; }

.gear-img--main {
  width: 100%;
  height: 460px;
  object-fit: cover;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-glow-teal);
}

.gear-badge-card {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.82rem;
  color: var(--text-secondary);
  max-width: 220px;
  box-shadow: var(--shadow-card), 0 0 24px rgba(0,212,170,0.15);
}

.gear-badge-card i { color: var(--accent-teal); font-size: 1.2rem; flex-shrink: 0; }


.parking-gallery { grid-template-columns: 1fr 1fr; }

.parking-card { padding: 0; overflow: hidden; }

.parking-card-img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.parking-card:hover .parking-card-img { transform: scale(1.04); }

.parking-card-content {
  padding: var(--space-lg);
}

.parking-card-content--full { padding: var(--space-xl); display: flex; flex-direction: column; justify-content: center; }


.cta-panel {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
  text-align: center;
  overflow: hidden;
}

.cta-glow {
  position: absolute;
  top: -60px;
  left: 50%;
  transform: translateX(-50%);
  width: 400px;
  height: 200px;
  background: radial-gradient(ellipse, rgba(61,127,255,0.2) 0%, transparent 70%);
  pointer-events: none;
}

.cta-heading {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 800;
  margin-bottom: var(--space-md);
  position: relative;
}

.cta-body {
  font-size: 1rem;
  color: var(--text-secondary);
  max-width: 540px;
  margin: 0 auto var(--space-xl);
  line-height: 1.7;
  position: relative;
}

.cta-actions {
  display: flex;
  gap: var(--space-md);
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
}


.page-hero {
  padding: calc(var(--nav-height) + var(--space-2xl)) 0 var(--space-2xl);
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border-subtle);
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 50% 80% at 50% 0%, rgba(61,127,255,0.1) 0%, transparent 70%);
  pointer-events: none;
}

.page-hero--compact {
  padding: calc(var(--nav-height) + var(--space-xl)) 0 var(--space-xl);
}

.page-hero-content {
  max-width: 680px;
  position: relative;
}

.page-hero-heading {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  margin-bottom: var(--space-md);
}

.page-hero-sub {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.7;
}


.dark-section {
  background: var(--bg-surface);
  position: relative;
}

.dark-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 50% at 30% 50%, rgba(0,212,170,0.06) 0%, transparent 60%);
  pointer-events: none;
}


.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: start;
}

.about-text p {
  color: var(--text-secondary);
  margin-bottom: var(--space-md);
  line-height: 1.75;
}

.about-img-wrap {
  border-radius: var(--radius-xl);
  overflow: hidden;
  margin-bottom: var(--space-lg);
  box-shadow: var(--shadow-glow-electric);
}

.about-img {
  width: 100%;
  height: 360px;
  object-fit: cover;
}

.about-values-card { padding: var(--space-lg); }

.values-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  list-style: none;
}

.values-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.values-list li i { color: var(--accent-teal); font-size: 0.85rem; }

.coverage-gallery { grid-template-columns: repeat(3, 1fr); }


.filter-tags {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
}

.filter-tag {
  padding: 8px 18px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  font-family: 'Manrope', sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition-base);
  min-height: 44px;
}

.filter-tag:hover, .filter-tag.active {
  background: var(--accent-electric-dim);
  border-color: var(--accent-electric);
  color: var(--text-primary);
}

.article-featured {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: box-shadow var(--transition-base);
}

.article-featured:hover { box-shadow: var(--shadow-card-hover); }

.article-featured-img {
  position: relative;
  overflow: hidden;
}

.article-featured-img img {
  width: 100%;
  height: 100%;
  min-height: 300px;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.article-featured:hover .article-featured-img img { transform: scale(1.04); }

.article-category {
  position: absolute;
  top: var(--space-md);
  left: var(--space-md);
  font-family: 'Manrope', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  background: var(--accent-electric-dim);
  border: 1px solid rgba(61,127,255,0.3);
  color: var(--accent-electric);
  padding: 4px 12px;
  border-radius: var(--radius-full);
}

.article-category--teal { background: var(--accent-teal-dim); border-color: rgba(0,212,170,0.3); color: var(--accent-teal); }
.article-category--warm { background: var(--accent-warm-dim); border-color: rgba(255,140,66,0.3); color: var(--accent-warm); }
.article-category--violet { background: var(--accent-violet-dim); border-color: rgba(155,89,255,0.3); color: var(--accent-violet); }
.article-category--electric { background: var(--accent-electric-dim); border-color: rgba(61,127,255,0.3); color: var(--accent-electric); }

.article-featured-body {
  padding: var(--space-xl);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.article-meta {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: var(--space-sm);
  display: block;
}

.article-featured-title {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: var(--space-md);
  line-height: 1.25;
}

.article-featured-body p {
  color: var(--text-secondary);
  font-size: 0.92rem;
  margin-bottom: var(--space-md);
  line-height: 1.7;
}

.articles-gallery { grid-template-columns: repeat(3, 1fr); }

.article-card { padding: var(--space-lg); }

.article-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-md);
}

.article-date {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.article-card-title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: var(--space-sm);
  line-height: 1.35;
}

.article-card-excerpt {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: var(--space-md);
}

.article-card .article-category { position: static; }


.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: start;
}

.contact-form-card { padding: var(--space-xl); }

.form-group { margin-bottom: var(--space-md); }

.form-label {
  display: block;
  font-family: 'Manrope', sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.form-input {
  width: 100%;
  padding: 12px 16px;
  background: var(--bg-deep);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-family: 'Inter', sans-serif;
  font-size: 0.92rem;
  transition: border-color var(--transition-base), box-shadow var(--transition-base);
  min-height: 48px;
  appearance: none;
}

.form-input:focus {
  outline: none;
  border-color: var(--accent-electric);
  box-shadow: 0 0 0 3px rgba(61,127,255,0.15), 0 0 16px rgba(61,127,255,0.1);
}

.form-input::placeholder { color: var(--text-muted); }

.form-select { cursor: pointer; }
.form-select option { background: var(--bg-surface); }

.form-textarea { resize: vertical; min-height: 120px; }

.form-checkbox-group { display: flex; align-items: flex-start; gap: var(--space-sm); }

.form-checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.form-checkbox-label input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.form-checkbox-custom {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  background: var(--bg-deep);
  border: 1px solid var(--border-subtle);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-base);
  margin-top: 2px;
}

.form-checkbox-label input:checked + .form-checkbox-custom {
  background: var(--accent-electric);
  border-color: var(--accent-electric);
}

.form-checkbox-label input:checked + .form-checkbox-custom::after {
  content: '';
  width: 5px;
  height: 9px;
  border: 2px solid white;
  border-top: none;
  border-left: none;
  transform: rotate(45deg) translateY(-1px);
  display: block;
}

.form-link { color: var(--accent-electric); text-decoration: underline; }

.contact-info-block {
  margin-bottom: var(--space-xl);
}

.contact-info-block .section-heading { margin-bottom: var(--space-lg); }

.contact-detail {
  display: flex;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
  align-items: flex-start;
}

.contact-detail-icon {
  width: 44px;
  height: 44px;
  background: var(--accent-electric-dim);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-electric);
  font-size: 1rem;
  flex-shrink: 0;
}

.contact-detail strong {
  display: block;
  font-family: 'Manrope', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 4px;
}

.contact-detail p {
  color: var(--text-secondary);
  font-size: 0.92rem;
}

.contact-detail a:hover { color: var(--accent-electric); }

.directions-card { margin-top: 0; }

.directions-card .card-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
}

.directions-card .card-title i { color: var(--accent-electric); }

.map-wrap {
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-card);
}

.map-wrap iframe { display: block; }


.legal-section { max-width: 800px; margin: 0 auto; }

.legal-timeline {
  position: relative;
  padding-left: 140px;
}

.legal-timeline::before {
  content: '';
  position: absolute;
  left: 100px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom, var(--accent-electric), var(--accent-teal), var(--accent-violet));
  opacity: 0.3;
}

.timeline-item {
  position: relative;
  margin-bottom: var(--space-2xl);
}

.timeline-marker {
  position: absolute;
  left: -140px;
  top: 4px;
  width: 120px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}

.timeline-date {
  font-family: 'Manrope', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-muted);
  text-align: right;
  line-height: 1.3;
}

.timeline-dot {
  width: 10px;
  height: 10px;
  background: var(--accent-electric);
  border-radius: 50%;
  box-shadow: 0 0 12px rgba(61,127,255,0.5);
  position: absolute;
  right: -15px;
  top: 4px;
}

.timeline-content h2 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: var(--space-md);
  color: var(--text-primary);
}

.timeline-content p {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: var(--space-md);
}

.timeline-content p:last-child { margin-bottom: 0; }

.timeline-content strong { color: var(--text-primary); font-weight: 600; }

.cookie-table-wrap {
  overflow-x: auto;
  margin-top: var(--space-md);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
}

.cookie-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
}

.cookie-table th, .cookie-table td {
  padding: 10px 14px;
  text-align: left;
  border-bottom: 1px solid var(--border-subtle);
}

.cookie-table th {
  background: var(--bg-card);
  color: var(--text-secondary);
  font-family: 'Manrope', sans-serif;
  font-weight: 600;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.cookie-table td { color: var(--text-secondary); }

.cookie-table tr:last-child td { border-bottom: none; }

.cookie-table tr:hover td { background: var(--bg-card); }


.thanks-main {
  flex: 1;
  display: flex;
  align-items: center;
  padding: calc(var(--nav-height) + var(--space-2xl)) 0 var(--space-2xl);
}

.thanks-center {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.thanks-quote-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: var(--space-xl);
  margin-bottom: var(--space-xl);
  position: relative;
  box-shadow: var(--shadow-card), 0 0 60px rgba(61,127,255,0.1);
}

.thanks-quote-icon {
  font-size: 2rem;
  color: var(--accent-electric);
  opacity: 0.4;
  margin-bottom: var(--space-md);
  display: block;
}

.thanks-quote {
  font-family: 'Manrope', sans-serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.5;
  margin-bottom: var(--space-md);
  font-style: italic;
}

.thanks-quote-cite {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-style: normal;
}

.thanks-icon-wrap {
  font-size: 3rem;
  color: var(--accent-teal);
  margin-bottom: var(--space-md);
  filter: drop-shadow(0 0 20px rgba(0,212,170,0.4));
}

.thanks-heading {
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: var(--space-md);
}

.thanks-body {
  color: var(--text-secondary);
  margin-bottom: var(--space-xl);
  line-height: 1.7;
}


.site-footer {
  background: var(--bg-surface);
  border-top: 1px solid var(--border-subtle);
  padding: var(--space-2xl) 0;
  margin-top: auto;
}

.footer-stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--space-lg);
}

.footer-logo { opacity: 0.8; }

.footer-tagline {
  font-size: 0.88rem;
  color: var(--text-muted);
  max-width: 420px;
  line-height: 1.6;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-sm) var(--space-lg);
}

.footer-links a {
  font-family: 'Manrope', sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: color var(--transition-base);
}

.footer-links a:hover { color: var(--accent-electric); }

.footer-contact {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-md) var(--space-xl);
}

.footer-contact span {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.footer-contact i { color: var(--accent-electric); font-size: 0.8rem; }

.footer-contact a:hover { color: var(--accent-electric); }

.footer-copy {
  font-size: 0.78rem;
  color: var(--text-muted);
  opacity: 0.7;
}


.health-gallery { grid-template-columns: repeat(2, 1fr); }


.miguwi-consent-pill {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(20, 29, 53, 0.95);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  padding: 10px 16px 10px 20px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.5), 0 0 0 1px rgba(61,127,255,0.1);
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  max-width: calc(100vw - 32px);
}

.miguwi-consent-pill.expanded {
  border-radius: var(--radius-xl);
  padding: var(--space-xl);
  flex-direction: column;
  align-items: stretch;
  white-space: normal;
  max-width: 480px;
  width: calc(100vw - 32px);
}

.consent-pill-text {
  font-size: 0.82rem;
  color: var(--text-secondary);
  flex: 1;
}

.consent-pill-text a { color: var(--accent-electric); text-decoration: underline; }

.consent-pill-actions {
  display: flex;
  gap: 8px;
  align-items: center;
}

.consent-btn-accept {
  padding: 7px 16px;
  background: var(--accent-electric);
  color: #fff;
  border: none;
  border-radius: var(--radius-full);
  font-family: 'Manrope', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  transition: background var(--transition-base), box-shadow var(--transition-base);
  min-height: 36px;
  white-space: nowrap;
}

.consent-btn-accept:hover {
  background: #5590ff;
  box-shadow: 0 4px 16px rgba(61,127,255,0.4);
}

.consent-btn-customize {
  padding: 7px 12px;
  background: transparent;
  color: var(--text-muted);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  font-family: 'Manrope', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-base);
  min-height: 36px;
  white-space: nowrap;
}

.consent-btn-customize:hover {
  border-color: var(--accent-electric);
  color: var(--text-primary);
}

.consent-expanded-title {
  font-family: 'Manrope', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: var(--space-sm);
}

.consent-expanded-desc {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: var(--space-lg);
}

.consent-expanded-desc a { color: var(--accent-electric); text-decoration: underline; }

.consent-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid var(--border-subtle);
  gap: var(--space-md);
}

.consent-category:last-of-type { border-bottom: none; margin-bottom: var(--space-md); }

.consent-category-info { flex: 1; }

.consent-category-name {
  font-family: 'Manrope', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 2px;
}

.consent-category-desc {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.consent-toggle {
  position: relative;
  width: 44px;
  height: 24px;
  flex-shrink: 0;
}

.consent-toggle input { opacity: 0; width: 0; height: 0; }

.consent-toggle-slider {
  position: absolute;
  inset: 0;
  background: var(--bg-deep);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: background var(--transition-base);
}

.consent-toggle-slider::before {
  content: '';
  position: absolute;
  width: 16px;
  height: 16px;
  background: var(--text-muted);
  border-radius: 50%;
  top: 3px;
  left: 3px;
  transition: transform var(--transition-base), background var(--transition-base);
}

.consent-toggle input:checked + .consent-toggle-slider {
  background: rgba(61,127,255,0.2);
  border-color: var(--accent-electric);
}

.consent-toggle input:checked + .consent-toggle-slider::before {
  transform: translateX(20px);
  background: var(--accent-electric);
}

.consent-toggle input:disabled + .consent-toggle-slider { cursor: not-allowed; opacity: 0.6; }

.consent-expanded-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.consent-expanded-actions .consent-btn-accept { flex: 1; text-align: center; justify-content: center; }
.consent-expanded-actions .consent-btn-reject {
  padding: 10px 16px;
  background: transparent;
  color: var(--text-muted);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  font-family: 'Manrope', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-base);
  min-height: 42px;
}

.consent-expanded-actions .consent-btn-reject:hover {
  border-color: rgba(255,255,255,0.2);
  color: var(--text-primary);
}

.consent-hidden { display: none !important; }


@media (max-width: 1024px) {
  .stage-content { grid-template-columns: 1fr; gap: var(--space-xl); }
  .stage-visual { display: none; }
  .stage-heading { font-size: clamp(2.2rem, 5vw, 3.2rem); }
  .stage-sub { max-width: 100%; }
  .city-gallery { grid-template-columns: 1fr 1fr; }
  .city-card--large { grid-column: 1 / -1; }
  .city-card--large .city-card-img { height: 340px; }
  .process-track { grid-template-columns: repeat(2, 1fr); }
  .process-track::before { display: none; }
  .articles-gallery { grid-template-columns: repeat(2, 1fr); }
  .article-featured { grid-template-columns: 1fr; }
  .article-featured-img img { min-height: 260px; height: 260px; }
  .coverage-gallery { grid-template-columns: 1fr 1fr; }
  .health-gallery { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  :root { --space-2xl: 4rem; --space-3xl: 5rem; }

  .nav-links { display: none; }
  .nav-hamburger { display: flex; }

  .stage { min-height: auto; padding-top: var(--nav-height); }
  .stage-content { padding: var(--space-xl) var(--space-md); }
  .stage-heading { font-size: clamp(2rem, 8vw, 2.8rem); }

  .featured-grid { grid-template-columns: 1fr; }
  .featured-img { height: 280px; }

  .gear-grid { grid-template-columns: 1fr; }
  .gear-img--main { height: 300px; }
  .gear-badge-card { position: static; margin-top: var(--space-md); }

  .about-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }

  .city-gallery { grid-template-columns: 1fr; }
  .city-card--large .city-card-img { height: 280px; }
  .city-card:not(.city-card--large) .city-card-img { height: 220px; }
  .city-card:not(.city-card--large) .city-desc { display: block; }

  .process-track { grid-template-columns: 1fr; }

  .topics-gallery { grid-template-columns: 1fr; }
  .parking-gallery { grid-template-columns: 1fr; }
  .coverage-gallery { grid-template-columns: 1fr; }
  .articles-gallery { grid-template-columns: 1fr; }

  .article-featured { grid-template-columns: 1fr; }

  .cta-panel { padding: var(--space-xl) var(--space-md); }

  .legal-timeline { padding-left: 0; }
  .legal-timeline::before { display: none; }
  .timeline-marker { position: static; width: auto; flex-direction: row; align-items: center; gap: 12px; margin-bottom: var(--space-sm); }
  .timeline-dot { position: static; }
  .timeline-date { font-size: 0.7rem; }

  .page-hero-heading { font-size: clamp(1.6rem, 6vw, 2.2rem); }

  .footer-contact { flex-direction: column; gap: var(--space-sm); }

  .miguwi-consent-pill { bottom: 16px; padding: 10px 14px; }

  .stage-actions { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
  .container { padding: 0 var(--space-sm); }
  .section-heading { font-size: 1.5rem; }
  .cta-actions { flex-direction: column; align-items: stretch; }
  .btn-primary, .btn-ghost { justify-content: center; }
  .filter-tags { gap: 8px; }
  .miguwi-consent-pill.expanded { padding: var(--space-md); }
}