/* ============================================
   НОВОСЁЛЫ · ТК ТАНДЕМ — Design System
   ============================================ */

:root {
  --color-primary: #2C3E2D;
  --color-accent: #C45B3A;
  --color-bg: #F5F2EB;
  --color-surface: #FDFAF4;
  --color-dark: #1C1C1A;
  --color-muted: #9B9286;
  --color-success: #5A7A5C;
  --font-display: 'Montserrat', system-ui, sans-serif;
  --font-body: 'Montserrat', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --radius-sm: 0.75rem;
  --radius-md: 1.5rem;
  --radius-lg: 2.5rem;
  --radius-xl: 3.5rem;
  --shadow-card: 0 4px 24px rgba(44, 62, 45, 0.08);
  --shadow-float: 0 8px 48px rgba(44, 62, 45, 0.12);
  --shadow-modal: 0 24px 80px rgba(28, 28, 26, 0.25);
  --transition-smooth: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ============================================
   RESET & BASE
   ============================================ */

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  background-color: var(--color-bg);
  color: var(--color-dark);
  overflow-x: hidden;
  position: relative;
  width: 100%;
}

/* Global noise texture overlay */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23noise)' opacity='1'/%3E%3C/svg%3E");
}

/* Scroll progress bar */
#scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 1px;
  background: var(--color-accent);
  z-index: 10000;
  transform-origin: left;
  transform: scaleX(0);
  transition: transform 0.1s linear;
}

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

a {
  text-decoration: none;
  color: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: var(--font-body);
}

/* ============================================
   TYPOGRAPHY UTILITIES
   ============================================ */

.font-display {
  font-family: var(--font-display);
}

.font-mono {
  font-family: var(--font-mono);
}

.text-accent {
  color: var(--color-accent);
}

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

.text-primary {
  color: var(--color-primary);
}

/* ============================================
   SCROLL PROGRESS
   ============================================ */

/* ============================================
   NAVBAR
   ============================================ */

#navbar {
  position: fixed;
  top: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: background 0.4s var(--transition-smooth),
    border-color 0.4s var(--transition-smooth),
    box-shadow 0.4s var(--transition-smooth),
    padding 0.3s var(--transition-smooth);
  max-width: calc(100vw - 2rem);
}

#navbar.scrolled {
  background: rgba(253, 250, 244, 0.82);
  border-color: rgba(44, 62, 45, 0.1);
  box-shadow: 0 4px 32px rgba(44, 62, 45, 0.12);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.nav-logo {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.15rem;
  color: rgba(253, 250, 244, 0.95);
  transition: color 0.4s;
  flex-shrink: 0;
  text-decoration: none;
}

#navbar.scrolled .nav-logo {
  color: var(--color-primary);
}

.nav-logo img,
.nav-logo svg {
  height: 20px;
  width: auto;
}

.nav-logo-label {
  font-family: var(--font-body);
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.7;
  color: inherit;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
}

.nav-links a {
  display: block;
  padding: 0.4rem 0.9rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(253, 250, 244, 0.85);
  border-radius: 9999px;
  transition: color 0.3s, background 0.3s;
}

.nav-links a:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

#navbar.scrolled .nav-links a {
  color: var(--color-primary);
}

#navbar.scrolled .nav-links a:hover {
  background: rgba(44, 62, 45, 0.08);
  color: var(--color-dark);
}

.nav-cta {
  display: flex;
  align-items: center;
  opacity: 0;
  transform: scale(0.8);
  transition: opacity 0.4s var(--transition-bounce),
    transform 0.4s var(--transition-bounce);
  pointer-events: none;
}

.nav-cta.visible {
  opacity: 1;
  transform: scale(1);
  pointer-events: all;
}

/* ============================================
   BURGER BUTTON
   ============================================ */

.nav-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 0;
  background: transparent;
  border: none;
  cursor: pointer;
  flex-shrink: 0;
  border-radius: 50%;
  transition: background 0.2s;
}

.nav-burger:hover {
  background: rgba(255, 255, 255, 0.12);
}

#navbar.scrolled .nav-burger:hover {
  background: rgba(44, 62, 45, 0.08);
}

.nav-burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: rgba(253, 250, 244, 0.9);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease, width 0.3s ease;
  transform-origin: center;
}

#navbar.scrolled .nav-burger span {
  background: var(--color-primary);
}

.nav-burger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-burger.open span:nth-child(2) {
  opacity: 0;
  width: 0;
}

.nav-burger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ============================================
   MOBILE MENU
   ============================================ */

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 1100;
  pointer-events: none;
  visibility: hidden;
}

.mobile-menu.open {
  pointer-events: all;
  visibility: visible;
}

.mobile-menu-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(28, 28, 26, 0.6);
  backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity 0.35s ease;
}

.mobile-menu.open .mobile-menu-backdrop {
  opacity: 1;
}

.mobile-menu-panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(360px, 92vw);
  height: 100%;
  background: var(--color-surface);
  display: flex;
  flex-direction: column;
  padding: 0;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  box-shadow: -8px 0 48px rgba(28, 28, 26, 0.2);
}

.mobile-menu.open .mobile-menu-panel {
  transform: translateX(0);
}

.mobile-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 1.5rem 1.25rem;
  border-bottom: 1px solid rgba(44, 62, 45, 0.08);
}

.mobile-menu-logo {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  text-decoration: none;
}

.mobile-menu-logo span {
  font-family: var(--font-body);
  font-size: 0.58rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-muted);
}

.mobile-menu-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: none;
  background: rgba(44, 62, 45, 0.06);
  border-radius: 50%;
  color: var(--color-primary);
  cursor: pointer;
  transition: background 0.2s;
  flex-shrink: 0;
}

.mobile-menu-close:hover {
  background: rgba(44, 62, 45, 0.12);
}

.mobile-menu-nav {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 1rem 0;
  overflow-y: auto;
}

.mobile-menu-link {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.5rem;
  font-family: var(--font-body);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-dark);
  text-decoration: none;
  border-bottom: 1px solid rgba(44, 62, 45, 0.06);
  transition: background 0.2s, color 0.2s, padding-left 0.2s;
}

.mobile-menu-link:hover {
  background: rgba(44, 62, 45, 0.04);
  color: var(--color-accent);
  padding-left: 2rem;
}

.mobile-menu-num {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--color-accent);
  letter-spacing: 0.1em;
  flex-shrink: 0;
  width: 20px;
}

.mobile-menu-footer {
  padding: 1.5rem;
  border-top: 1px solid rgba(44, 62, 45, 0.08);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.mobile-menu-cta {
  border-radius: var(--radius-md) !important;
}

.mobile-menu-address {
  font-size: 0.8rem;
  color: var(--color-muted);
  text-align: center;
  font-family: var(--font-body);
}

/* ============================================
   BUTTON BASE
   ============================================ */

.btn-magnetic {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.65rem 1.5rem;
  border-radius: 9999px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.875rem;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, opacity 0.2s ease;
}

.btn-magnetic:hover {
  transform: translateY(-2px);
}

.btn-magnetic:active {
  transform: translateY(0) scale(0.97);
}

.btn-primary {
  background: var(--color-accent);
  color: var(--color-surface);
  box-shadow: 0 2px 12px rgba(196, 91, 58, 0.3);
}

.btn-primary:hover {
  box-shadow: 0 6px 24px rgba(196, 91, 58, 0.45);
}

.btn-outline-light {
  background: transparent;
  color: var(--color-surface);
  border: 1.5px solid rgba(253, 250, 244, 0.5);
}

.btn-outline-light:hover {
  background: rgba(253, 250, 244, 0.1);
  border-color: var(--color-surface);
}

.btn-outline-dark {
  background: transparent;
  color: var(--color-primary);
  border: 1.5px solid var(--color-primary);
}

.btn-outline-dark:hover {
  background: var(--color-primary);
  color: var(--color-surface);
}

.btn-lg {
  padding: 1rem 2.5rem;
  font-size: 1rem;
}

/* ============================================
   HERO
   ============================================ */

/* ============================================
   HERO — SPLIT SCREEN
   ============================================ */

#hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  height: 100dvh;
  min-height: 620px;
  overflow: hidden;
}

/* ── Left panel ── */
.hero-left {
  background: var(--color-primary);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

/* subtle warm glow bottom-left */
.hero-left::after {
  content: '';
  position: absolute;
  bottom: -10%;
  left: -10%;
  width: 70%;
  height: 70%;
  background: radial-gradient(ellipse, rgba(196, 91, 58, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.hero-left-inner {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(2rem, 5vw, 5rem) clamp(2rem, 5vw, 4.5rem);
  position: relative;
  z-index: 1;
}

.hero-tag {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(245, 242, 235, 0.4);
  margin-bottom: 2rem;
  opacity: 0;
  transform: translateY(16px);
}

.hero-tag-line {
  display: block;
  width: 28px;
  height: 1px;
  background: var(--color-accent);
  flex-shrink: 0;
}

.hero-brand {
  font-family: var(--font-display);
  font-style: normal;
  font-weight: 600;
  font-size: clamp(3.8rem, 5.5vw, 6.5rem);
  color: var(--color-bg);
  line-height: 0.92;
  letter-spacing: -0.02em;
  margin-bottom: 1.75rem;
  opacity: 0;
  transform: translateY(16px);
}

.hero-rule {
  width: 44px;
  height: 2px;
  background: var(--color-accent);
  margin-bottom: 1.5rem;
  opacity: 0;
  transform: scaleX(0);
  transform-origin: left;
}

.hero-pitch {
  font-family: var(--font-body);
  font-size: clamp(0.9rem, 1.4vw, 1.05rem);
  color: rgba(245, 242, 235, 0.65);
  line-height: 1.8;
  margin-bottom: 2.25rem;
  max-width: 380px;
  opacity: 0;
  transform: translateY(16px);
}

.hero-pitch strong {
  color: rgba(245, 242, 235, 0.9);
  font-weight: 600;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  background: var(--color-accent);
  color: var(--color-surface);
  border: none;
  border-radius: var(--radius-md);
  padding: 0.9rem 1.75rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  margin-bottom: 2rem;
  align-self: flex-start;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  opacity: 0;
  transform: translateY(16px);
}

.hero-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 36px rgba(196, 91, 58, 0.4);
}

.hero-cta:active {
  transform: translateY(0) scale(0.97);
}

.hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  opacity: 0;
  transform: translateY(12px);
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 500;
  color: rgba(245, 242, 235, 0.45);
  border: 1px solid rgba(245, 242, 235, 0.12);
  border-radius: 9999px;
  padding: 0.3rem 0.7rem;
  transition: border-color 0.2s, color 0.2s;
}

.hero-pill:hover {
  color: rgba(245, 242, 235, 0.75);
  border-color: rgba(245, 242, 235, 0.25);
}

.hero-pill svg {
  color: var(--color-accent);
  flex-shrink: 0;
}

/* Location footer of left panel */
.hero-location {
  padding: 1.1rem clamp(2rem, 5vw, 4.5rem);
  border-top: 1px solid rgba(245, 242, 235, 0.07);
  font-family: var(--font-body);
  font-size: 0.75rem;
  color: rgba(245, 242, 235, 0.28);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  position: relative;
  z-index: 1;
  letter-spacing: 0.02em;
}

/* ── Right panel ── */
.hero-right {
  position: relative;
  overflow: hidden;
}

.hero-right-img {
  position: absolute;
  inset: 0;
  background-image: url('/assets/hero.jpg');
  background-size: cover;
  background-position: center center;
  transform: scale(1.04);
  transition: transform 12s ease;
}

#hero:hover .hero-right-img {
  transform: scale(1.08);
}

.hero-right-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(28, 28, 26, 0.08) 0%, rgba(28, 28, 26, 0.45) 100%);
}

.hero-photo-badge {
  position: absolute;
  bottom: 2rem;
  left: 2rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(28, 28, 26, 0.55);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 9999px;
  padding: 0.5rem 1.1rem;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(245, 242, 235, 0.7);
  opacity: 0;
  animation: fadeIn 0.8s ease 1.6s forwards;
}

.hero-badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--color-success);
  flex-shrink: 0;
  animation: pulse 2.5s ease-in-out infinite;
}

.hero-scroll-hint {
  position: absolute;
  bottom: 2rem;
  right: 2rem;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(253, 250, 244, 0.12);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(245, 242, 235, 0.7);
  text-decoration: none;
  transition: background 0.2s, transform 0.2s;
  animation: scrollBounce 2s ease-in-out infinite;
}

.hero-scroll-hint:hover {
  background: rgba(253, 250, 244, 0.2);
  transform: translateY(3px);
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.45;
    transform: scale(0.65);
  }
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  opacity: 0;
}

.scroll-indicator span {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: rgba(245, 242, 235, 0.5);
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.scroll-mouse {
  width: 22px;
  height: 34px;
  border: 1.5px solid rgba(245, 242, 235, 0.4);
  border-radius: 11px;
  position: relative;
  display: flex;
  justify-content: center;
  padding-top: 6px;
}

.scroll-mouse::before {
  content: '';
  width: 3px;
  height: 7px;
  background: rgba(245, 242, 235, 0.6);
  border-radius: 2px;
  animation: scrollBounce 1.8s ease-in-out infinite;
}

@keyframes scrollBounce {

  0%,
  100% {
    transform: translateY(0);
    opacity: 1;
  }

  80% {
    transform: translateY(12px);
    opacity: 0;
  }
}

/* ============================================
   STATS
   ============================================ */

#stats {
  background: var(--color-surface);
  padding: 80px 0;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 5vw, 4rem);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.stat-item {
  padding: 2rem 1.5rem;
  text-align: center;
  position: relative;
  min-width: 0;
  overflow: hidden;
}

.stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 20%;
  height: 60%;
  width: 1px;
  background: rgba(44, 62, 45, 0.12);
}

.stat-number {
  font-family: var(--font-display);
  font-style: normal;
  font-weight: 600;
  font-size: 4rem;
  color: var(--color-primary);
  line-height: 1;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.1em;
}

.stat-suffix {
  font-size: 2.5rem;
}

.stat-label {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  overflow-wrap: break-word;
  word-break: break-word;
  color: var(--color-muted);
  line-height: 1.4;
}

/* ============================================
   HOW IT WORKS
   ============================================ */

#how-it-works {
  background: var(--color-dark);
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.section-header {
  margin-bottom: 4rem;
}

.section-header-dark {
  text-align: center;
}

.section-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-muted);
  margin-bottom: 0.75rem;
  display: block;
}

.section-title-dark {
  font-family: var(--font-body);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: rgba(245, 242, 235, 0.4);
  display: block;
}

.section-title-display {
  font-family: var(--font-display);
  font-style: normal;
  font-weight: 600;
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  color: var(--color-surface);
  display: block;
  line-height: 1.1;
}

.section-title-light {
  font-family: var(--font-display);
  font-style: normal;
  font-weight: 600;
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  color: var(--color-primary);
  line-height: 1.1;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  position: relative;
  overflow: hidden;
}

.step-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  position: relative;
  transition: border-color 0.3s var(--transition-smooth),
    background 0.3s var(--transition-smooth),
    transform 0.3s var(--transition-smooth);
}

.step-card:hover {
  border-color: rgba(196, 91, 58, 0.3);
  background: rgba(255, 255, 255, 0.06);
  transform: translateY(-4px);
}

.step-number {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  color: var(--color-accent);
  margin-bottom: 1.5rem;
  display: block;
}

.step-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(196, 91, 58, 0.1);
  border-radius: var(--radius-sm);
  color: var(--color-accent);
}

.step-icon svg {
  width: 24px;
  height: 24px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.step-title {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--color-surface);
  margin-bottom: 0.75rem;
}

.step-desc {
  font-size: 0.9rem;
  color: rgba(245, 242, 235, 0.55);
  line-height: 1.65;
}

/* Connecting arrow SVG */
.steps-connector {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 2px;
  pointer-events: none;
  z-index: 0;
}

/* ============================================
   PARTNERS
   ============================================ */

#partners {
  background: var(--color-bg);
  padding: 100px 0;
}

.section-subtitle {
  font-size: 0.95rem;
  color: var(--color-muted);
  margin-top: 0.75rem;
}

.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 3rem;
}

.filter-tab {
  padding: 0.5rem 1.25rem;
  border-radius: 9999px;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  border: 1px solid var(--color-primary);
  color: var(--color-primary);
  background: transparent;
  transition: background 0.25s, color 0.25s, border-color 0.25s;
  cursor: pointer;
}

.filter-tab:hover,
.filter-tab.active {
  background: var(--color-primary);
  color: var(--color-surface);
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.partner-card {
  background: var(--color-surface);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform 0.35s var(--transition-smooth),
    box-shadow 0.35s var(--transition-smooth);
  cursor: pointer;
}

.partner-card:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: var(--shadow-float);
}

.partner-card-image {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.partner-card-body {
  padding: 1.25rem 1.5rem;
}

.partner-category {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-muted);
  margin-bottom: 0.4rem;
}

.partner-name {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  color: var(--color-dark);
  margin-bottom: 0.75rem;
}

.partner-discount {
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-accent);
  padding: 0.35rem 0.75rem;
  background: rgba(196, 91, 58, 0.08);
  border-radius: var(--radius-sm);
  display: inline-block;
}

.show-more-wrap {
  text-align: center;
  margin-top: 3rem;
}

/* ============================================
   TC MAP
   ============================================ */

#tc-map {
  background: var(--color-surface);
  padding: 100px 0;
}

.map-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 2rem;
  align-items: start;
}

.map-container {
  position: relative;
}

.floor-switcher {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.floor-btn {
  padding: 0.45rem 1.1rem;
  border-radius: 9999px;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  border: 1.5px solid var(--color-primary);
  color: var(--color-primary);
  background: transparent;
  cursor: pointer;
  transition: background 0.25s, color 0.25s;
}

.floor-btn.active {
  background: var(--color-primary);
  color: var(--color-surface);
}

.map-svg-wrap {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  background: var(--color-bg);
  border: 1px solid rgba(44, 62, 45, 0.1);
}

.map-svg-wrap img,
.map-svg-wrap svg,
.map-svg-wrap object {
  width: 100%;
  height: auto;
  display: block;
}

/* Map popup */
.map-popup {
  position: absolute;
  background: var(--color-surface);
  border-radius: var(--radius-sm);
  padding: 1rem 1.25rem;
  box-shadow: var(--shadow-float);
  border: 1px solid rgba(44, 62, 45, 0.1);
  min-width: 200px;
  max-width: 260px;
  z-index: 10;
  pointer-events: none;
  opacity: 0;
  transform: scale(0.92) translateY(8px);
  transition: opacity 0.25s var(--transition-smooth),
    transform 0.25s var(--transition-smooth);
}

.map-popup.visible {
  opacity: 1;
  transform: scale(1) translateY(0);
  pointer-events: all;
}

.map-popup-name {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--color-dark);
  margin-bottom: 0.25rem;
}

.map-popup-category {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--color-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
}

.map-popup-discount {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-accent);
}

/* Store list panel */
.store-panel {
  background: var(--color-bg);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  border: 1px solid rgba(44, 62, 45, 0.08);
}

.store-search {
  position: relative;
  margin-bottom: 1rem;
}

.store-search input {
  width: 100%;
  padding: 0.65rem 1rem 0.65rem 2.5rem;
  border-radius: 9999px;
  border: 1.5px solid rgba(44, 62, 45, 0.15);
  background: var(--color-surface);
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: var(--color-dark);
  outline: none;
  transition: border-color 0.25s;
}

.store-search input:focus {
  border-color: var(--color-primary);
}

.store-search-icon {
  position: absolute;
  left: 0.875rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--color-muted);
  pointer-events: none;
}

.store-list {
  list-style: none;
  max-height: 460px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--color-muted) transparent;
}

.store-list-item {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  padding: 0.75rem 0.5rem;
  border-bottom: 1px solid rgba(44, 62, 45, 0.06);
  cursor: pointer;
  border-radius: var(--radius-sm);
  transition: background 0.2s;
}

.store-list-item:hover {
  background: rgba(44, 62, 45, 0.04);
}

.store-list-item.partner {
  position: relative;
}

.store-list-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-muted);
  flex-shrink: 0;
}

.store-list-item.partner .store-list-dot {
  background: var(--color-accent);
}

.store-list-name {
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--color-dark);
}

.store-list-category {
  font-size: 0.75rem;
  color: var(--color-muted);
}

.store-list-badge {
  margin-left: auto;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--color-accent);
  background: rgba(196, 91, 58, 0.08);
  padding: 0.2rem 0.5rem;
  border-radius: 9999px;
  white-space: nowrap;
  flex-shrink: 0;
}

/* ============================================
   MANIFESTO
   ============================================ */

#manifesto {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.manifesto-bg {
  position: absolute;
  inset: 0;
  background-image: url('https://tandem33.ru/upload/iblock/021/60ptcqooe3n2ee1v0vh8c5s5c6eygram.png');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.manifesto-overlay {
  position: absolute;
  inset: 0;
  background: rgba(44, 62, 45, 0.88);
}

.manifesto-content {
  position: relative;
  z-index: 2;
  padding: 8rem 0;
}

.manifesto-super {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: rgba(245, 242, 235, 0.5);
  letter-spacing: 0.15em;
  margin-bottom: 2rem;
  display: block;
}

.manifesto-headline {
  margin-bottom: 2.5rem;
}

.manifesto-word {
  display: block;
  font-family: var(--font-display);
  font-style: normal;
  font-weight: 600;
  font-size: clamp(3rem, 7vw, 5.5rem);
  color: var(--color-surface);
  line-height: 1.05;
  opacity: 0;
  transform: translateY(40px);
}

.manifesto-body {
  font-size: 1.1rem;
  color: rgba(245, 242, 235, 0.72);
  line-height: 1.75;
  max-width: 600px;
  margin-bottom: 2.5rem;
  opacity: 0;
  transform: translateY(20px);
}

.manifesto-cta {
  opacity: 0;
  transform: translateY(20px);
}

/* ============================================
   FAQ
   ============================================ */

#faq {
  background: var(--color-bg);
  padding: 80px 0;
}

.faq-header {
  margin-bottom: 3rem;
}

.faq-list {
  max-width: 760px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid rgba(44, 62, 45, 0.12);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 1.5rem 0;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1.0rem;
  color: var(--color-dark);
  text-align: left;
  gap: 1rem;
  cursor: pointer;
  background: none;
  border: none;
}

.faq-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1.5px solid rgba(44, 62, 45, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  transition: transform 0.3s var(--transition-smooth),
    background 0.3s,
    border-color 0.3s;
  font-size: 1.1rem;
  line-height: 1;
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: #fff;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--transition-smooth);
}

.faq-answer-inner {
  padding: 0 0 1.5rem 0;
  font-size: 0.95rem;
  color: var(--color-muted);
  line-height: 1.7;
}

/* ============================================
   FOOTER
   ============================================ */

#footer {
  background: var(--color-dark);
  border-radius: 3rem 3rem 0 0;
  padding: 64px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.2fr 1fr;
  gap: 4rem;
  margin-bottom: 4rem;
}

.footer-logo {
  color: var(--color-surface);
  margin-bottom: 1rem;
}

.footer-logo img,
.footer-logo svg {
  height: 36px;
  width: auto;
}

.footer-tagline {
  font-size: 0.9rem;
  color: rgba(245, 242, 235, 0.45);
  line-height: 1.5;
  margin-bottom: 1.5rem;
}

.footer-socials {
  display: flex;
  gap: 0.75rem;
}

.footer-social-link {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(245, 242, 235, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(245, 242, 235, 0.6);
  transition: border-color 0.25s, color 0.25s, background 0.25s;
}

.footer-social-link:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
  background: rgba(196, 91, 58, 0.08);
}

.footer-social-link svg {
  width: 17px;
  height: 17px;
  fill: currentColor;
}

.footer-col-title {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(245, 242, 235, 0.4);
  margin-bottom: 1.25rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-links a {
  font-size: 0.9rem;
  color: rgba(245, 242, 235, 0.65);
  transition: color 0.25s;
}

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

.footer-address-line {
  font-size: 0.9rem;
  color: rgba(245, 242, 235, 0.65);
  margin-bottom: 0.4rem;
  line-height: 1.5;
}

.footer-address-link {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-accent);
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  margin-top: 0.5rem;
  transition: gap 0.25s;
}

.footer-address-link:hover {
  gap: 0.5rem;
}

.footer-cta-block {
  padding: 1.75rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
}

.footer-cta-title {
  font-family: var(--font-display);
  font-style: normal;
  font-weight: 600;
  font-size: 1.3rem;
  color: var(--color-surface);
  margin-bottom: 1.25rem;
  line-height: 1.3;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(245, 242, 235, 0.07);
}

.footer-bottom-left {
  font-size: 0.825rem;
  color: rgba(245, 242, 235, 0.35);
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}

.footer-bottom-left a {
  color: rgba(245, 242, 235, 0.4);
  transition: color 0.25s;
}

.footer-bottom-left a:hover {
  color: rgba(245, 242, 235, 0.7);
}

.footer-status {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: rgba(245, 242, 235, 0.45);
}

.status-dot {
  width: 8px;
  height: 8px;
  background: var(--color-success);
  border-radius: 50%;
  animation: pulse-dot 2.5s ease-in-out infinite;
}

@keyframes pulse-dot {

  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(90, 122, 92, 0.5);
  }

  50% {
    box-shadow: 0 0 0 5px rgba(90, 122, 92, 0);
  }
}

/* ============================================
   MODAL
   ============================================ */

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(28, 28, 26, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 5000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s var(--transition-smooth),
    visibility 0.35s;
}

.modal-overlay.open {
  opacity: 1;
  visibility: visible;
}

.modal {
  background: var(--color-surface);
  border-radius: var(--radius-xl);
  width: min(560px, 95vw);
  max-height: 95vh;
  overflow-y: auto;
  scrollbar-width: thin;
  position: relative;
  transform: scale(0.95);
  opacity: 0;
  transition: transform 0.45s var(--transition-bounce),
    opacity 0.35s var(--transition-smooth);
}

.modal-overlay.open .modal {
  transform: scale(1);
  opacity: 1;
}

.modal-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(44, 62, 45, 0.06);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-muted);
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  z-index: 1;
}

.modal-close:hover {
  background: rgba(196, 91, 58, 0.1);
  color: var(--color-accent);
}

.modal-close svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
}

.modal-inner {
  padding: 2.5rem;
}

.modal-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 1rem;
  background: rgba(90, 122, 92, 0.1);
  border: 1px solid rgba(90, 122, 92, 0.2);
  border-radius: 9999px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-success);
  margin-bottom: 1.25rem;
}

.modal-title {
  font-family: var(--font-display);
  font-style: normal;
  font-weight: 600;
  font-size: clamp(1.6rem, 3vw, 2rem);
  color: var(--color-dark);
  line-height: 1.2;
  margin-bottom: 0.5rem;
}

.modal-subtitle {
  font-size: 0.9rem;
  color: var(--color-muted);
  margin-bottom: 2rem;
  line-height: 1.5;
}

/* Form */
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}

.form-group {
  position: relative;
  margin-bottom: 0;
}

.form-group.full {
  grid-column: 1 / -1;
}

.form-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 0.4rem;
  letter-spacing: 0.01em;
}

.form-input {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid rgba(44, 62, 45, 0.18);
  border-radius: var(--radius-sm);
  background: #fff;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--color-dark);
  outline: none;
  transition: border-color 0.25s, box-shadow 0.25s;
}

.form-input::placeholder {
  color: rgba(155, 146, 134, 0.6);
}

.form-input:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(44, 62, 45, 0.06);
}

.form-input.error {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(196, 91, 58, 0.08);
}

.form-input.valid {
  border-color: var(--color-success);
}

.form-hint {
  font-size: 0.75rem;
  color: var(--color-muted);
  margin-top: 0.35rem;
  line-height: 1.4;
}

.form-error {
  font-size: 0.75rem;
  color: var(--color-accent);
  margin-top: 0.35rem;
  display: none;
}

.form-group.has-error .form-error {
  display: block;
}

.form-group.has-error .form-hint {
  display: none;
}

.form-checkboxes {
  margin: 1.5rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  accent-color: var(--color-primary);
  margin-top: 1px;
  cursor: pointer;
}

.checkbox-text {
  font-size: 0.825rem;
  color: var(--color-muted);
  line-height: 1.5;
}

.checkbox-text a {
  color: var(--color-primary);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.form-submit {
  width: 100%;
  padding: 1rem;
  border-radius: var(--radius-sm);
  background: var(--color-accent);
  color: var(--color-surface);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: background 0.25s, box-shadow 0.25s, transform 0.25s;
  position: relative;
  overflow: hidden;
}

.form-submit:hover {
  background: #b34d2e;
  box-shadow: 0 6px 20px rgba(196, 91, 58, 0.35);
  transform: translateY(-1px);
}

.form-submit:active {
  transform: translateY(0);
}

.form-submit:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none;
}

/* Spinner */
.spinner {
  width: 18px;
  height: 18px;
  border: 2px solid rgba(253, 250, 244, 0.3);
  border-top-color: var(--color-surface);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  display: none;
}

.form-submit.loading .spinner {
  display: block;
}

.submit-text {
  transition: opacity 0.25s;
}

.form-submit.loading .submit-text {
  opacity: 0.7;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Success screen */
.modal-success {
  display: none;
  text-align: center;
  padding: 3rem 2rem;
}

.modal-success.visible {
  display: block;
}

.success-checkmark {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(90, 122, 92, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  color: var(--color-success);
  animation: popIn 0.5s var(--transition-bounce) both;
}

.success-checkmark svg {
  width: 32px;
  height: 32px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 50;
  stroke-dashoffset: 50;
  animation: drawCheck 0.5s 0.3s ease forwards;
}

@keyframes drawCheck {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes popIn {
  from {
    transform: scale(0.5);
    opacity: 0;
  }

  to {
    transform: scale(1);
    opacity: 1;
  }
}

.success-title {
  font-family: var(--font-display);
  font-style: normal;
  font-weight: 600;
  font-size: 2rem;
  color: var(--color-dark);
  margin-bottom: 0.5rem;
}

.success-email {
  font-size: 0.95rem;
  color: var(--color-muted);
  margin-bottom: 0.25rem;
}

.success-validity {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-success);
  margin-bottom: 2rem;
}

.success-next {
  text-align: left;
  background: var(--color-bg);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  margin-bottom: 1.5rem;
}

.success-next-title {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-muted);
  margin-bottom: 0.75rem;
}

.success-steps {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.success-steps li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9rem;
  color: var(--color-dark);
}

.success-step-num {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--color-primary);
  color: var(--color-surface);
  font-family: var(--font-mono);
  font-size: 0.65rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* ============================================
   FLOATING LABELS (optional enhancement)
   ============================================ */

/* ============================================
   ANIMATIONS
   ============================================ */

.fade-up {
  opacity: 0;
  transform: translateY(30px);
}

.fade-up.animated {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.7s var(--transition-smooth),
    transform 0.7s var(--transition-smooth);
}

/* ============================================
   RESPONSIVE
   ============================================ */

/* ── Tablet landscape ───────────────────────── */
@media (max-width: 1100px) {
  .container {
    padding: 0 1.5rem;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }

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

/* ── Tablet portrait ────────────────────────── */
@media (max-width: 900px) {

  /* Navbar — растянуть на всю ширину с отступами */
  #navbar {
    left: 50px;
    right: 50px;
    transform: none;
    top: 1.25rem;
    padding: 0.65rem 1.25rem;
    gap: 0;
    justify-content: space-between;
    max-width: none;
    width: auto;
    border-radius: 9999px;
  }

  .nav-links {
    display: none;
  }

  .nav-cta {
    display: none;
  }

  .nav-burger {
    display: flex;
  }

  .nav-logo {
    flex: 1;
  }

  /* Hero — tablet: stack vertically */
  #hero {
    grid-template-columns: 1fr;
    grid-template-rows: 1fr auto;
  }

  .hero-left {
    order: 2;
  }

  .hero-right {
    order: 1;
    height: 45vh;
    min-height: 280px;
  }

  .hero-left-inner {
    padding: 2rem 2.5rem;
    justify-content: flex-start;
    padding-top: 2.5rem;
  }

  .hero-brand {
    font-size: clamp(3rem, 8vw, 4rem);
  }

  .hero-location {
    padding: 0.85rem 2.5rem;
  }

  /* Stats */
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat-item:nth-child(2)::after {
    display: none;
  }

  .stat-item:nth-child(1)::after,
  .stat-item:nth-child(3)::after {
    display: block;
  }

  /* Steps */
  .steps-grid {
    grid-template-columns: 1fr;
    max-width: 520px;
    margin: 0 auto;
  }

  .steps-arrows {
    display: none;
  }

  /* Partners */
  .partners-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .filter-tabs {
    gap: 0.4rem;
  }

  /* Map */
  .map-layout {
    grid-template-columns: 1fr;
  }

  .store-panel {
    order: 2;
  }

  /* Manifesto */
  .manifesto-content {
    max-width: 90%;
  }

  .manifesto-lines .manifesto-line {
    font-size: clamp(2.2rem, 6vw, 3.5rem);
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

/* ── Mobile ─────────────────────────────────── */
@media (max-width: 640px) {

  /* Navbar */
  #navbar {
    top: 1rem;
    padding: 0.55rem 0.75rem 0.55rem 1rem;
  }

  /* Hero — mobile */
  #hero {
    grid-template-rows: 42vw 1fr;
    height: auto;
    min-height: 100dvh;
  }

  .hero-right {
    height: 42vw;
    min-height: 220px;
  }

  .hero-left-inner {
    padding: 1.75rem 1.5rem;
  }

  .hero-tag {
    font-size: 0.58rem;
    margin-bottom: 1.25rem;
  }

  .hero-brand {
    font-size: clamp(2.6rem, 10vw, 3.5rem);
    margin-bottom: 1.25rem;
  }

  .hero-rule {
    margin-bottom: 1rem;
  }

  .hero-pitch {
    font-size: 0.88rem;
    margin-bottom: 1.5rem;
  }

  .hero-cta {
    width: 100%;
    justify-content: center;
    margin-bottom: 1.25rem;
  }

  .hero-pills {
    gap: 0.35rem;
  }

  .hero-pill {
    font-size: 0.68rem;
  }

  .hero-location {
    padding: 0.85rem 1.5rem;
    font-size: 0.7rem;
  }

  .hero-photo-badge {
    bottom: 1rem;
    left: 1rem;
    font-size: 0.58rem;
  }

  .hero-scroll-hint {
    display: none;
  }

  /* Stats */
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
  }

  .stat-item {
    padding: 1.5rem 0.75rem;
  }

  .stat-item::after {
    display: none !important;
  }

  .stat-number {
    font-size: 3rem;
  }

  .stat-suffix {
    font-size: 2rem;
  }

  .stat-label {
    font-size: 0.7rem;
    letter-spacing: 0.06em;
  }

  /* Steps */
  .steps-grid {
    max-width: 100%;
  }

  .step-card {
    padding: 1.5rem;
  }

  /* Partners */
  .partners-grid {
    grid-template-columns: 1fr;
  }

  .filter-tabs {
    gap: 0.35rem;
    flex-wrap: wrap;
  }

  .filter-tab {
    font-size: 0.75rem;
    padding: 0.4rem 0.85rem;
  }

  /* Map */
  .map-svg-wrap {
    border-radius: var(--radius-sm);
  }

  .map-search {
    font-size: 0.85rem;
  }

  .floor-btn {
    font-size: 0.75rem;
    padding: 0.4rem 0.9rem;
  }

  /* Manifesto */
  .manifesto-content {
    padding: 3rem 1.5rem;
  }

  .manifesto-line {
    font-size: clamp(1.8rem, 8vw, 2.8rem) !important;
  }

  .manifesto-body {
    font-size: 0.95rem;
  }

  /* FAQ */
  #faq {
    padding: 60px 0;
  }

  .faq-question {
    font-size: 0.9rem;
    padding: 1.1rem 0;
  }

  /* Modal */
  .modal-inner {
    padding: 1.5rem 1.25rem;
    border-radius: var(--radius-lg);
  }

  .modal-title {
    font-size: 1.6rem;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .modal-badge {
    font-size: 0.7rem;
  }

  /* Footer */
  #footer {
    padding: 2.5rem 1.25rem;
    border-radius: 1.5rem 1.5rem 0 0;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .footer-bottom-links {
    flex-wrap: wrap;
    gap: 0.5rem;
  }

  /* Section headings */
  .section-title {
    font-size: clamp(1.8rem, 7vw, 2.5rem);
  }

  .section-label {
    font-size: 0.7rem;
  }
}

/* ── Small phones ───────────────────────────── */
@media (max-width: 380px) {
  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }

  .stat-value {
    font-size: 2.4rem;
  }

  .mobile-menu-panel {
    width: 100vw;
  }
}