/* ============================================
   AUCTION AUTOCAPITAL - ADAPTIVE STYLES
   Финальная оптимизированная версия
   ============================================ */

/* === CSS VARIABLES === */
:root {
  /* Colors */
  --primary: #00b140;
  --primary-dark: #009933;
  --primary-light: #e6f9ed;
  --secondary: #28a745;
  --accent: #ffc107;
  --bg-dark: #0a0a0a;
  --bg-light: #f8f9fa;
  --bg-card: #ffffff;
  --text-primary: #212529;
  --text-secondary: #6c757d;
  --text-muted: #9ca3af;
  --border: #e5e7eb;
  --shadow: rgba(0, 0, 0, 0.1);
  
  /* Typography */
  --font-size-xs: 0.75rem;
  --font-size-sm: 0.875rem;
  --font-size-base: 0.9375rem;
  --font-size-lg: 1.0625rem;
  --font-size-xl: 1.25rem;
  --font-size-2xl: 1.5rem;
  --font-size-3xl: 1.875rem;
  --font-size-4xl: 2.25rem;
  
  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  
  /* Layout */
  --container-max: 1200px;
  --border-radius: 8px;
  --border-radius-lg: 12px;
  --header-height: 70px;
  --transition: 0.3s ease;
}

/* === DARK MODE SUPPORT === */
@media (prefers-color-scheme: dark) {
  :root {
    --bg-dark: #0a0a0a;
    --bg-light: #1a1a1a;
    --bg-card: #222222;
    --text-primary: #ffffff;
    --text-secondary: #e0e0e0;
    --border: #333333;
  }
}

/* === RESET === */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: var(--font-size-base);
  line-height: 1.6;
  color: var(--text-primary);
  background: var(--bg-light);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--primary-dark);
}

/* === SKIP LINK === */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--primary);
  color: white;
  padding: var(--space-sm) var(--space-md);
  z-index: 10000;
  font-weight: 600;
}

.skip-link:focus {
  top: 0;
}

/* === CONTAINER === */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

/* === HEADER === */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 3px var(--shadow);
  height: var(--header-height);
  display: flex;
  align-items: center;
  transition: var(--transition);
}

.header.scrolled {
  box-shadow: 0 2px 8px var(--shadow);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: var(--space-lg);
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: var(--font-size-lg);
  font-weight: 700;
  color: var(--text-primary);
  text-decoration: none;
  min-height: 44px;
}

.logo:hover {
  color: var(--text-primary);
}

.logo-icon {
  font-size: 1.5em;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.logo-text small {
  font-size: 0.65em;
  font-weight: 400;
  color: var(--text-secondary);
}

.parent-link {
  color: var(--primary);
  font-weight: 600;
}

.parent-link:hover {
  color: var(--primary-dark);
}

/* Navigation Menu */
.nav-menu {
  display: flex;
  list-style: none;
  gap: var(--space-md);
  margin: 0;
  align-items: center;
}

.nav-link {
  padding: var(--space-sm) var(--space-md);
  color: var(--text-secondary);
  font-weight: 500;
  font-size: var(--font-size-sm);
  border-radius: var(--border-radius);
  transition: var(--transition);
  min-height: 44px;
  display: flex;
  align-items: center;
}

.nav-link:hover,
.nav-link:focus {
  color: var(--primary);
  background: var(--primary-light);
}

/* Nav Actions */
.nav-actions {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

/* Language Switcher */
.lang-switcher {
  display: flex;
  gap: var(--space-xs);
  background: var(--bg-light);
  border-radius: var(--border-radius);
  padding: 2px;
}

.lang-btn {
  padding: var(--space-xs) var(--space-sm);
  border: none;
  background: transparent;
  color: var(--text-secondary);
  font-size: var(--font-size-xs);
  font-weight: 600;
  cursor: pointer;
  border-radius: calc(var(--border-radius) - 2px);
  transition: var(--transition);
  min-height: 32px;
  min-width: 36px;
}

.lang-btn:hover,
.lang-btn:focus {
  color: var(--text-primary);
}

.lang-btn.active {
  background: white;
  color: var(--primary);
  box-shadow: 0 1px 3px var(--shadow);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: var(--primary);
  border: none;
  cursor: pointer;
  padding: var(--space-sm);
  min-height: 48px;
  min-width: 48px;
  border-radius: var(--border-radius);
  transition: var(--transition);
}

.hamburger:hover {
  background: var(--primary-dark);
}

.hamburger span {
  width: 22px;
  height: 2.5px;
  background: white;
  transition: var(--transition);
  border-radius: 2px;
}

.hamburger.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.hamburger.open span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* === BUTTONS === */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.625rem 1.25rem;
  border: none;
  border-radius: var(--border-radius);
  font-size: var(--font-size-sm);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  white-space: nowrap;
  min-height: 48px;
  font-family: inherit;
}

.btn:focus {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: var(--font-size-xs);
  min-height: 44px;
}

.btn-lg {
  padding: 0.875rem 2rem;
  font-size: var(--font-size-base);
  min-height: 52px;
}

.btn-block {
  width: 100%;
}

.btn-primary {
  background: var(--primary);
  color: white;
}

.btn-primary:hover,
.btn-primary:focus {
  background: var(--primary-dark);
  color: white;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 177, 64, 0.3);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--primary);
  color: var(--primary);
}

.btn-outline:hover,
.btn-outline:focus {
  background: var(--primary);
  color: white;
}

/* === HERO === */
.hero {
  padding: var(--space-3xl) 0;
  background: linear-gradient(135deg, var(--primary-light) 0%, white 100%);
  text-align: center;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-block;
  padding: var(--space-xs) var(--space-md);
  background: white;
  color: var(--primary);
  border-radius: 50px;
  font-size: var(--font-size-sm);
  font-weight: 600;
  margin-bottom: var(--space-lg);
  box-shadow: 0 2px 8px var(--shadow);
}

.hero-title {
  font-size: clamp(1.5rem, 5vw, 2.25rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: var(--space-md);
  color: var(--text-primary);
}

.hero-subtitle {
  font-size: clamp(0.9375rem, 3vw, 1.0625rem);
  color: var(--text-secondary);
  margin-bottom: var(--space-xl);
  line-height: 1.6;
}

.hero-cta {
  display: flex;
  gap: var(--space-md);
  justify-content: center;
  margin-bottom: var(--space-xl);
  flex-wrap: wrap;
}

.hero-features {
  display: flex;
  gap: var(--space-lg);
  justify-content: center;
  flex-wrap: wrap;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  font-size: var(--font-size-sm);
  color: var(--text-secondary);
}

.feature-icon {
  color: var(--primary);
  font-weight: 700;
}

/* === SECTIONS === */
.section {
  padding: var(--space-3xl) 0;
}

.section-title {
  font-size: clamp(1.5rem, 4vw, 1.875rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: var(--space-md);
  color: var(--text-primary);
}

.section-subtitle {
  font-size: clamp(0.9375rem, 3vw, 1.0625rem);
  text-align: center;
  color: var(--text-secondary);
  margin-bottom: var(--space-2xl);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

/* How It Works */
.section-how {
  background: white;
}

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-xl);
}

.step {
  text-align: center;
  padding: var(--space-xl);
  background: var(--bg-light);
  border-radius: var(--border-radius-lg);
  position: relative;
  transition: var(--transition);
}

.step:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px var(--shadow);
}

.step-number {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 40px;
  background: var(--primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: var(--font-size-lg);
}

.step-icon {
  font-size: 3rem;
  margin-bottom: var(--space-md);
}

.step-title {
  font-size: clamp(1.125rem, 4vw, 1.25rem);
  font-weight: 600;
  margin-bottom: var(--space-sm);
  color: var(--text-primary);
}

.step-text {
  font-size: clamp(0.875rem, 3vw, 0.9375rem);
  color: var(--text-secondary);
  line-height: 1.6;
}

/* === PACKAGES === */
.section-packages {
  background: linear-gradient(to bottom, white 0%, var(--bg-light) 100%);
}

.package-filter {
  display: flex;
  justify-content: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-xl);
  flex-wrap: wrap;
}

.filter-btn {
  padding: var(--space-sm) var(--space-lg);
  border: 2px solid var(--border);
  background: white;
  color: var(--text-secondary);
  border-radius: 50px;
  font-size: var(--font-size-sm);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  min-height: 44px;
}

.filter-btn:hover,
.filter-btn:focus {
  border-color: var(--primary);
  color: var(--primary);
}

.filter-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: white;
}

.packages {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-xl);
  margin-bottom: var(--space-xl);
}

.package-card {
  background: white;
  border: 2px solid var(--border);
  border-radius: var(--border-radius-lg);
  padding: var(--space-xl);
  position: relative;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.package-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px var(--shadow);
  border-color: var(--primary);
}

.package-card-featured {
  border-color: var(--primary);
  box-shadow: 0 4px 16px rgba(0, 177, 64, 0.2);
}

.package-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: white;
  padding: var(--space-xs) var(--space-md);
  border-radius: 50px;
  font-size: var(--font-size-xs);
  font-weight: 600;
  white-space: nowrap;
}

.package-badge-business {
  background: #6366f1;
}

.package-badge-popular {
  background: var(--accent);
  color: var(--text-primary);
}

.package-badge-vip {
  background: #8b5cf6;
}

.package-title {
  font-size: clamp(1.375rem, 5vw, 1.5rem);
  font-weight: 700;
  margin-bottom: var(--space-xs);
  text-align: center;
  color: var(--text-primary);
}

.package-desc {
  text-align: center;
  color: var(--text-secondary);
  font-size: clamp(0.875rem, 3vw, 0.9375rem);
  margin-bottom: var(--space-lg);
}

.package-price {
  text-align: center;
  margin-bottom: var(--space-xl);
  padding-bottom: var(--space-lg);
  border-bottom: 1px solid var(--border);
}

.price-amount {
  font-size: clamp(1.75rem, 6vw, 2rem);
  font-weight: 700;
  color: var(--primary);
  display: block;
}

.price-period {
  font-size: var(--font-size-sm);
  color: var(--text-secondary);
}

.package-features {
  list-style: none;
  margin-bottom: var(--space-xl);
  flex-grow: 1;
}

.package-features li {
  padding: var(--space-sm) 0;
  font-size: clamp(0.875rem, 3vw, 0.9375rem);
  color: var(--text-secondary);
  position: relative;
  padding-left: var(--space-lg);
  line-height: 1.5;
}

.package-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 700;
  font-size: 1.1em;
}

.packages-note {
  text-align: center;
  padding: var(--space-xl);
  background: var(--primary-light);
  border-radius: var(--border-radius-lg);
  color: var(--text-secondary);
  font-size: clamp(0.875rem, 3vw, 0.9375rem);
  line-height: 1.6;
}

.packages-note strong {
  color: var(--text-primary);
}

/* === AUCTIONS === */
.section-auctions {
  background: white;
}

.auctions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-xl);
}

.auction-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  position: relative;
}

.auction-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px var(--shadow);
}

.auction-badge {
  position: absolute;
  top: var(--space-md);
  left: var(--space-md);
  background: var(--primary);
  color: white;
  padding: var(--space-xs) var(--space-sm);
  border-radius: var(--border-radius);
  font-size: var(--font-size-xs);
  font-weight: 600;
  z-index: 1;
}

.auction-badge-hot {
  background: #ef4444;
}

.auction-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.auction-content {
  padding: var(--space-lg);
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.auction-title {
  font-size: clamp(1.125rem, 4vw, 1.25rem);
  font-weight: 600;
  margin-bottom: var(--space-sm);
  color: var(--text-primary);
}

.auction-meta {
  display: flex;
  gap: var(--space-md);
  margin-bottom: var(--space-md);
  flex-wrap: wrap;
}

.meta-item {
  font-size: var(--font-size-xs);
  color: var(--text-secondary);
  white-space: nowrap;
}

.auction-desc {
  font-size: clamp(0.875rem, 3vw, 0.9375rem);
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: var(--space-lg);
  flex-grow: 1;
}

.auction-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-md);
  padding-top: var(--space-md);
  border-top: 1px solid var(--border);
}

.auction-price {
  display: flex;
  flex-direction: column;
}

.price-label {
  font-size: var(--font-size-xs);
  color: var(--text-secondary);
}

.price-value {
  font-size: clamp(1.125rem, 4vw, 1.25rem);
  font-weight: 700;
  color: var(--primary);
}

/* === FAQ === */
.section-faq {
  background: var(--bg-light);
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--border-radius);
  margin-bottom: var(--space-md);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-lg);
  background: transparent;
  border: none;
  font-size: clamp(0.9375rem, 3.5vw, 1rem);
  font-weight: 600;
  color: var(--text-primary);
  cursor: pointer;
  text-align: left;
  transition: var(--transition);
  min-height: 48px;
  font-family: inherit;
}

.faq-question:hover,
.faq-question:focus {
  background: var(--bg-light);
}

.faq-icon {
  font-size: var(--font-size-2xl);
  font-weight: 300;
  color: var(--primary);
  transition: var(--transition);
  flex-shrink: 0;
  margin-left: var(--space-sm);
}

.faq-question[aria-expanded="true"] .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-answer.open {
  max-height: 500px;
}

.faq-answer p {
  padding: 0 var(--space-lg) var(--space-lg);
  color: var(--text-secondary);
  font-size: clamp(0.875rem, 3vw, 0.9375rem);
  line-height: 1.6;
}

/* === CONTACT === */
.section-contact {
  background: white;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-xl);
  margin-bottom: var(--space-xl);
}

.contact-card {
  text-align: center;
  padding: var(--space-xl);
  background: var(--bg-light);
  border-radius: var(--border-radius-lg);
  transition: var(--transition);
}

.contact-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px var(--shadow);
}

.contact-icon {
  font-size: 3rem;
  margin-bottom: var(--space-md);
}

.contact-card h3 {
  font-size: clamp(1.125rem, 4vw, 1.25rem);
  margin-bottom: var(--space-sm);
  color: var(--text-primary);
}

.contact-card p {
  color: var(--text-secondary);
  margin-bottom: var(--space-xs);
  font-size: clamp(0.875rem, 3vw, 0.9375rem);
}

.contact-card a {
  color: var(--primary);
  font-weight: 600;
}

.contact-card a:hover {
  color: var(--primary-dark);
}

.contact-hours {
  font-size: var(--font-size-sm);
  color: var(--text-muted);
}

.contact-socials {
  display: flex;
  gap: var(--space-md);
  justify-content: center;
  margin-top: var(--space-md);
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: var(--primary);
  color: white;
  border-radius: 50%;
  font-size: var(--font-size-xl);
  transition: var(--transition);
  text-decoration: none;
}

.social-link:hover,
.social-link:focus {
  transform: scale(1.1);
  background: var(--primary-dark);
  color: white;
}

.contact-address {
  text-align: center;
  padding: var(--space-xl);
  background: var(--primary-light);
  border-radius: var(--border-radius-lg);
  color: var(--text-secondary);
  font-size: clamp(0.875rem, 3vw, 0.9375rem);
}

.contact-address strong {
  color: var(--text-primary);
}

/* === FOOTER === */
.footer {
  background: var(--bg-dark);
  color: var(--text-secondary);
  padding: var(--space-3xl) 0 var(--space-xl);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--space-xl);
  margin-bottom: var(--space-xl);
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
  font-size: var(--font-size-lg);
  font-weight: 700;
  color: white;
}

.footer-logo small {
  font-size: 0.7em;
  font-weight: 400;
  color: var(--text-muted);
  display: block;
}

.footer-logo a {
  color: var(--primary);
}

.footer-desc {
  font-size: clamp(0.8125rem, 3vw, 0.875rem);
  line-height: 1.6;
  color: var(--text-muted);
}

.footer-title {
  color: white;
  font-size: clamp(0.9375rem, 3.5vw, 1.0625rem);
  font-weight: 600;
  margin-bottom: var(--space-md);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: var(--space-sm);
}

.footer-links a {
  color: var(--text-muted);
  font-size: clamp(0.8125rem, 3vw, 0.875rem);
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  min-height: 32px;
}

.footer-links a:hover,
.footer-links a:focus {
  color: var(--primary);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--space-xl);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: clamp(0.8125rem, 3vw, 0.875rem);
  flex-wrap: wrap;
  gap: var(--space-md);
}

.footer-legal {
  display: flex;
  gap: var(--space-lg);
  flex-wrap: wrap;
}

.footer-legal a {
  color: var(--text-muted);
}

.footer-legal a:hover {
  color: var(--primary);
}

/* === WB-GROUP FOOTER BADGE === */
.wb-footer {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  padding: 20px 0;
  margin-top: var(--space-xl);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #b6bfcc;
  font-weight: 700;
  letter-spacing: 0.3px;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Ubuntu, "Helvetica Neue", Arial;
  font-size: clamp(0.875rem, 3vw, 0.9375rem);
}

.wb-footer a {
  color: inherit;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: var(--transition);
}

.wb-footer a:hover,
.wb-footer a:focus {
  color: #e6ecf5;
  transform: translateY(-1px);
}

.wb-footer video {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  object-fit: cover;
  filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.25));
}

.wb-footer b {
  color: #e6ecf5;
}

/* === MODAL === */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  align-items: center;
  justify-content: center;
  padding: var(--space-lg);
}

.modal.open {
  display: flex;
}

.modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
}

.modal-content {
  position: relative;
  background: white;
  border-radius: var(--border-radius-lg);
  padding: var(--space-2xl);
  max-width: 480px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  z-index: 1;
}

.modal-close {
  position: absolute;
  top: var(--space-md);
  right: var(--space-md);
  background: none;
  border: none;
  font-size: var(--font-size-3xl);
  color: var(--text-secondary);
  cursor: pointer;
  transition: var(--transition);
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  line-height: 1;
}

.modal-close:hover,
.modal-close:focus {
  color: var(--text-primary);
  transform: rotate(90deg);
}

.modal-title {
  font-size: clamp(1.375rem, 5vw, 1.5rem);
  font-weight: 700;
  margin-bottom: var(--space-xl);
  text-align: center;
  color: var(--text-primary);
}

/* === FORMS === */
.login-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.form-group label {
  font-size: clamp(0.875rem, 3vw, 0.9375rem);
  font-weight: 600;
  color: var(--text-secondary);
}

.form-group input {
  padding: 0.75rem;
  border: 2px solid var(--border);
  border-radius: var(--border-radius);
  font-size: clamp(0.875rem, 3vw, 0.9375rem);
  transition: var(--transition);
  min-height: 48px;
  font-family: inherit;
}

.form-group input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0, 177, 64, 0.1);
}

.form-note {
  text-align: center;
  font-size: clamp(0.8125rem, 3vw, 0.875rem);
  color: var(--text-secondary);
}

.form-note a {
  color: var(--primary);
  font-weight: 600;
}

/* === UTILITY CLASSES === */
.no-scroll {
  overflow: hidden;
}

/* === MOBILE RESPONSIVE === */
@media (max-width: 768px) {
  :root {
    --header-height: 64px;
    --space-3xl: 2rem;
  }
  
  .container {
    padding: 0 1rem;
  }
  
  .header {
    height: var(--header-height);
  }
  
  .hamburger {
    display: flex;
  }
  
  .nav-menu {
    position: fixed;
    top: var(--header-height);
    right: -100%;
    width: min(85vw, 320px);
    height: calc(100vh - var(--header-height));
    background: white;
    flex-direction: column;
    padding: 1rem;
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.2);
    transition: right 0.3s ease;
    overflow-y: auto;
    z-index: 999;
    gap: 0;
    align-items: stretch;
  }
  
  .nav-menu.open {
    right: 0;
  }
  
  .nav-menu li {
    width: 100%;
    border-bottom: 1px solid var(--border);
  }
  
  .nav-link {
    width: 100%;
    padding: 1rem 0.75rem;
    text-align: left;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    justify-content: flex-start;
  }
  
  .nav-link::before {
    content: '→';
    margin-right: 0.5rem;
    color: var(--primary);
  }
  
  .nav-actions {
    flex-direction: column;
    width: 100%;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
  }
  
  .lang-switcher {
    width: 100%;
    justify-content: center;
  }
  
  .hero {
    padding: 2rem 0;
  }
  
  .hero-cta {
    flex-direction: column;
  }
  
  .hero-cta .btn {
    width: 100%;
  }
  
  .section {
    padding: 2rem 0;
  }
  
  .steps {
    grid-template-columns: 1fr;
  }
  
  .packages {
    grid-template-columns: 1fr;
  }
  
  .auctions-grid {
    grid-template-columns: 1fr;
  }
  
  .auction-footer {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .auction-footer .btn {
    width: 100%;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  
  .footer-legal {
    flex-direction: column;
    gap: var(--space-sm);
  }
  
  .modal {
    padding: 1rem;
  }
  
  .modal-content {
    padding: 1.5rem 1rem;
  }
}

@media (max-width: 480px) {
  .logo-text small {
    font-size: 0.55em;
  }
  
  .hero-badge {
    font-size: 0.8125rem;
    padding: 0.375rem 0.875rem;
  }
  
  .step-icon {
    font-size: 2.5rem;
  }
  
  .auction-img {
    height: 180px;
  }
  
  .wb-footer {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
  
  .wb-footer a {
    flex-direction: column;
  }
}

/* === ACCESSIBILITY === */
*:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* === ANIMATIONS === */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* === PRINT STYLES === */
@media print {
  .header,
  .hamburger,
  .nav-actions,
  .hero-cta,
  .btn,
  .modal,
  .footer,
  .wb-footer {
    display: none !important;
  }
  
  body {
    background: white;
    color: black;
  }
  
  .section {
    page-break-inside: avoid;
  }
  
  a {
    text-decoration: underline;
  }
}