.pledge-card {
  background: #ffffff;
  border-radius: 18px;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.08);
  padding: 28px;
  display: flex;
  flex-direction: column;
}

.pledge-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
}

.pledge-info h3 {
  margin: 0 0 6px 0;
  font-size: 1.35rem;
  font-weight: 700;
  color: #0f172a;
}

.pledge-info p {
  margin: 0;
  color: #64748b;
}

.pledge-status {
  padding: 6px 14px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9rem;
  background: #e2e8f0;
  color: #1e293b;
}

.pledge-status.active {
  background: rgba(22, 163, 74, 0.12);
  color: #15803d;
}

.pledge-status.closed {
  background: rgba(248, 113, 113, 0.15);
  color: #b91c1c;
}

.pledge-status.overdue {
  background: rgba(250, 204, 21, 0.15);
  color: #b45309;
}

.pledge-details-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(140px, 1fr));
  gap: 18px;
}

.pledge-detail-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: #64748b;
  margin-bottom: 4px;
}

.pledge-detail-value {
  font-size: 1.05rem;
  font-weight: 700;
  color: #0f172a;
}

.pledge-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.pledge-doc-card-profile {
  margin-bottom: 20px;
}

.pledge-document-card {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 18px 20px;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  margin-top: 16px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
}

.pledge-document-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(30, 64, 175, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1d4ed8;
  font-size: 20px;
}

.pledge-document-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.pledge-document-title {
  font-weight: 600;
  color: #0f172a;
  font-size: 1.05rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pledge-document-meta {
  font-size: 0.88rem;
  color: #64748b;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.pledge-document-card .btn,
.pledge-document-card .btn-action {
  margin-left: auto;
}

.pledge-document-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.pledge-document-actions .document-download-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 14px;
  border: none;
  background: linear-gradient(135deg, var(--accent) 0%, var(--color-primary-dark) 100%);
  color: #ffffff;
  font-weight: 600;
  transition: all 0.25s ease;
  text-decoration: none;
  box-shadow: 0 6px 18px rgba(198, 112, 42, 0.2);
}

.pledge-document-actions .document-download-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(198, 112, 42, 0.35);
}

.pledge-document-actions .document-remove-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 12px;
  border: 1px solid rgba(239, 68, 68, 0.45);
  background: rgba(254, 226, 226, 0.7);
  color: #b91c1c;
  font-weight: 600;
  transition: all 0.2s ease;
}

.pledge-document-actions .document-remove-btn:hover {
  background: #ef4444;
  color: #ffffff;
}

.pledge-document-actions .document-download-btn i {
  font-size: 15px;
}

.pledge-document-actions .document-remove-btn i {
  font-size: 14px;
}

.document-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  color: #64748b;
  font-size: 0.9rem;
}

.document-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.pledge-document-empty {
  margin-top: 16px;
  padding: 14px;
  border-radius: 12px;
  background: #f1f5f9;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #64748b;
  font-size: 0.95rem;
}

.pledge-document-empty i {
  color: #cbd5f5;
  font-size: 18px;
}

.pledge-document-wrapper {
  margin-top: 18px;
}

@media (max-width: 768px) {
  .pledge-card {
    padding: 22px;
    gap: 18px;
  }

  .pledge-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .pledge-details-grid {
    grid-template-columns: repeat(2, minmax(140px, 1fr));
    gap: 16px;
  }

  .pledge-actions {
    flex-direction: column;
  }

  .pledge-actions .btn,
  .pledge-actions .btn-action {
    width: 100%;
    justify-content: center;
  }

  .pledge-document-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .pledge-document-card .btn,
  .pledge-document-card .btn-action {
    width: 100%;
    justify-content: center;
  }

  .pledge-document-actions {
    flex-direction: column;
    width: 100%;
  }

  .pledge-document-actions .document-download-btn {
    width: 100%;
    justify-content: center;
  }

  .pledge-document-actions .document-remove-btn {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 540px) {
  .pledge-details-grid {
    grid-template-columns: 1fr;
  }

  .pledge-detail-value {
    font-size: 1rem;
  }

  .pledge-document-card {
    padding: 16px;
  }

  .pledge-document-title {
    font-size: 1rem;
  }
}
/* Импорт шрифтов */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Playfair+Display:wght@400;500;600;700;800;900&display=swap');

/* Orion Landing Page styles */
:root {
  --bg: #FFFAFA;
  --bg-light: #ffffff;
  --bg-dark: #f8f9fa;
  --ink: #111111;
  --ink-light: #2d2d2d;
  --muted: #6B6B6B;
  --muted-light: #94a3b8;
  --line: #e8e6e2;
  --line-light: #f1f5f9;
  --accent: #c6702a;
  --accent-light: #e8a366;
  --accent-dark: #a55a22;
  --accent-link: #1a1a1a;

  /* Colors */
  --color-primary: var(--accent);
  --color-primary-dark: #a55a22;
  --color-primary-light: #d48a4a;
  --color-secondary: var(--ink);
  --color-secondary-dark: #000000;
  --color-secondary-light: #333333;

  /* ---------- THEME ---------- */
  --gold-50: #FFF7F0;
  --gold-100: #FFE9D6;
  --gold-200: #FFD1AA;
  --gold-300: #FFB778;
  --gold-400: #FF9A40;
  --gold-500: #F37F1A;
  /* основной оранжевый */
  --gold-600: #E26812;
  --gold-700: #C7540A;
  --ink-900: #16181D;
  --ink-700: #2A2F37;
  --ink-500: #5B6472;
  --ink-300: #96A0AE;
  --white: #fff;
  --radius-xl: 20px;
  --radius-lg: 14px;
  --radius-md: 10px;
  --shadow-1: 0 6px 20px rgba(0, 0, 0, .08);
  --shadow-2: 0 10px 30px rgba(226, 104, 18, .25);
  --trans: .2s ease;

  --color-success: #10b981;
  --color-warning: #f59e0b;
  --color-error: #ef4444;
  --color-info: #3b82f6;

  /* Spacing */
  --space-1: 0.25rem;
  /* 4px */
  --space-2: 0.5rem;
  /* 8px */
  --space-3: 0.75rem;
  /* 12px */
  --space-4: 1rem;
  /* 16px */
  --space-5: 1.25rem;
  /* 20px */
  --space-6: 1.5rem;
  /* 24px */
  --space-8: 2rem;
  /* 32px */
  --space-10: 2.5rem;
  /* 40px */
  --space-12: 3rem;
  /* 48px */
  --space-16: 4rem;
  /* 64px */
  --space-20: 5rem;
  /* 80px */

  /* Border Radius */
  --radius-sm: 0.375rem;
  /* 6px */
  --radius-md: 0.5rem;
  /* 8px */
  --radius-lg: 0.75rem;
  /* 12px */
  --radius-xl: 1rem;
  /* 16px */
  --radius-2xl: 1.5rem;
  /* 24px */

  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --space-5: 1.25rem;
  /* 20px */
  --space-6: 1.5rem;
  /* 24px */
  --space-8: 2rem;
  /* 32px */
  --space-10: 2.5rem;
  /* 40px */
  --space-12: 3rem;
  /* 48px */
  --space-16: 4rem;
  /* 64px */
  --space-20: 5rem;
  /* 80px */
  --space-24: 6rem;
  /* 96px */

  --color-white: #FFFFFF;
  --color-gray-50: #F8FAFC;
  --color-gray-100: #F1F5F9;
  --color-gray-200: #E2E8F0;
  --color-gray-300: #CBD5E1;
  --color-gray-400: #94A3B8;
  --color-gray-500: #64748B;
  --color-gray-600: #475569;
  --color-gray-700: #334155;
  --color-gray-800: #1E293B;
  --color-gray-900: #0F172A;

  --color-text-primary: var(--ink);
  --color-text-secondary: var(--muted);
  --color-text-muted: #999999;
  --color-text-inverse: var(--bg);

  --color-bg-primary: var(--bg);
  --color-bg-secondary: #f5f5f5;
  --color-bg-tertiary: var(--line);
  --color-bg-dark: var(--ink);

  /* Typography */
  --font-family-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-family-heading: 'Playfair Display', Georgia, serif;

  --font-size-xs: 0.75rem;
  /* 12px */
  --font-size-sm: 0.875rem;
  /* 14px */
  --font-size-base: 1rem;
  /* 16px */
  --font-size-lg: 1.125rem;
  /* 18px */
  --font-size-xl: 1.25rem;
  /* 20px */
  --font-size-2xl: 1.5rem;
  /* 24px */
  --font-size-3xl: 1.875rem;
  /* 30px */
  --font-size-4xl: 2.25rem;
  /* 36px */
  --font-size-5xl: 3rem;
  /* 48px */
  --font-size-6xl: 3.75rem;
  /* 60px */

  --font-weight-light: 300;
  --font-weight-normal: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;
  --font-weight-extrabold: 800;
  --font-weight-black: 900;

  /* Border radius */
  --radius-sm: 0.25rem;
  /* 4px */
  --radius-md: 0.5rem;
  /* 8px */
  --radius-lg: 0.75rem;
  /* 12px */
  --radius-xl: 1rem;
  /* 16px */
  --radius-2xl: 1.5rem;
  /* 24px */
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);

  /* Transitions */
  --transition-fast: 150ms ease-in-out;
  --transition-normal: 300ms ease-in-out;
  --transition-slow: 500ms ease-in-out;
}

/* Глобально: корректный расчёт ширины для предотвращения переполнений */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin-top: 0px;
  margin-bottom: 0px;
}

html {
  height: 100%;
}

body {
  margin: 0;
  font-family: var(--font-family-primary);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Заголовки используют Playfair Display */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Playfair Display', serif;
}

/* Дополнительные стили для основных заголовков */
.hero__title,
.page-hero__title,
.jewelry-calculator__title,
.jewelry-benefits__title,
.auto-calculator__title,
.auto-benefits__title,
.benefits__title,
.steps__title,
.loan-types__title,
.cta__text h2,
.reviews__title,
.faq__title,
.map-section__title,
.application__title {
  font-family: 'Playfair Display', serif;
}

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

/* ===== ENHANCED MOBILE DESIGN ===== */
@media (max-width: 768px) {

  /* Base adjustments */
  :root {
    --font-size-xs: 12px;
    --font-size-sm: 14px;
    --font-size-base: 16px;
    --font-size-lg: 18px;
    --font-size-xl: 20px;
    --font-size-2xl: 24px;
    --font-size-3xl: 28px;
    --font-size-4xl: 32px;
    --space-1: 4px;
    --space-2: 8px;
    --space-3: 12px;
    --space-4: 16px;
    --space-5: 20px;
    --space-6: 24px;
    --space-8: 32px;
    --space-10: 40px;
    --space-12: 48px;
  }

  .container {
    padding: 0 var(--space-4);
  }

  /* Header mobile styles */
  .header {
    padding: 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 1000;
  }

  .header__content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 20px;
    height: 64px;
    max-width: 100%;
    margin: 0 auto;
  }

  .header__content nav {
    display: none;
  }

  .logo {
    flex: 0 0 auto;
    margin: 0;
  }

  .logo__img {
    width: 100px;
    height: auto;
    object-fit: contain;
    max-height: 40px;
  }

  .header__actions {
    display: none;
  }

  /* Burger menu button */
  .burger-menu {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 32px;
    height: 32px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
    flex: 0 0 auto;
  }

  .burger-line {
    width: 24px;
    height: 2px;
    background: #ffffff;
    border-radius: 1px;
    transition: all 0.3s ease;
    margin: 2px 0;
  }

  .burger-menu.active .burger-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .burger-menu.active .burger-line:nth-child(2) {
    opacity: 0;
  }

  .burger-menu.active .burger-line:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  /* Mobile menu backdrop */
  .mobile-menu-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
  }

  .mobile-menu-backdrop.active {
    opacity: 1;
    visibility: visible;
  }

  /* Mobile menu */
  .mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: rgba(17, 17, 17, 0.98);
    backdrop-filter: blur(20px);
    z-index: 1000;
    transition: right 0.3s ease;
  }

  .mobile-menu.active {
    right: 0;
  }

  .mobile-menu__nav {
    display: flex;
    flex-direction: column;
    gap: 24px;
    text-align: center;
    width: 100%;
    margin-bottom: 32px;
  }

  .mobile-menu__link {
    color: white;
    font-size: 18px;
    font-weight: 500;
    text-decoration: none;
    padding: 12px 16px;
    border-radius: 8px;
    transition: all 0.3s ease;
    display: block;
  }

  .mobile-menu__link:hover {
    background: var(--accent);
    color: white;
    transform: translateX(5px);
  }

  .mobile-menu__actions {
    margin-top: 32px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
    max-width: 300px;
  }

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

  /* Prevent body scroll when menu is open */
  body.menu-open {
    overflow: hidden;
  }

  /* Add top margin to main content */
  main {
    margin-top: 60px;
  }

  .hero__container {
    display: flex;
    flex-direction: column;
    gap: 24px;
    align-items: stretch;
  }

  .hero-carousel__slides {
    height: 260px;
  }

  .calculator {
    width: 100%;
    border-radius: 18px;
    box-shadow: 0 12px 32px rgba(17, 24, 39, 0.12);
  }

  .calculator__inline,
  .calculator__gold-layout {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

  .calculator__input-group,
  .calculator__input-field {
    width: 100%;
  }

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

  .hero__tab {
    flex: 1;
    padding: 14px;
    font-size: 15px;
  }
}

@media (max-width: 380px) {
  .mobile-menu {
    padding: 28px 14px 20px;
  }

  .mobile-menu__content {
    gap: 14px;
  }

  .mobile-menu__nav {
    gap: 10px;
  }

  .mobile-menu__link {
    font-size: 14px;
    line-height: 1.2;
  }

  .mobile-menu__actions .btn {
    font-size: 14px;
    padding: 10px 14px;
  }
}

@media (max-width: 340px) {
  .mobile-menu {
    padding: 24px 12px 18px;
  }

  .mobile-menu__link {
    font-size: 13px;
  }

  .mobile-menu__actions .btn {
    font-size: 13px;
  }
}
@media (max-width: 380px) {
  .mobile-menu {
    padding: 28px 14px 20px;
  }

  .mobile-menu__content {
    gap: 14px;
  }

  .mobile-menu__nav {
    gap: 10px;
  }

  .mobile-menu__link {
    font-size: 14px;
    line-height: 1.2;
    padding: 0;
  }

  .mobile-menu__actions .btn {
    width: 100%;
    justify-content: center;
    font-size: 14px;
    padding: 10px 14px;
  }
}

@media (max-height: 580px) {
  .mobile-menu {
    padding-top: 48px;
  }

  .mobile-menu__content {
    gap: 16px;
  }

  .mobile-menu__link {
    font-size: 15px;
  }

  .mobile-menu__actions {
    gap: 10px;
  }
}
@media (max-width: 540px) {
  .hero-carousel__slides {
    height: 220px;
  }

  .calculator__radio-group {
    flex-wrap: wrap;
    gap: 6px;
  }

  .calculator__radio span {
    font-size: 13px;
  }

  .calculator__input-hint {
    font-size: 12px;
  }

  .profile-header-content {
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
  }

  .settings-content {
    flex-direction: column;
    gap: 18px;
  }

  .settings-group {
    width: 100%;
  }

  .form-input--readonly {
    font-size: 15px;
    padding: 12px 14px;
  }
}

@media (max-width: 360px) {
  .hero-carousel__slides {
    height: 200px;
  }

  .hero__tab {
    padding: 12px;
    font-size: 14px;
  }

  .calculator {
    padding: 18px 16px;
  }

  .calculator__input-group label,
  .calculator__input-field label {
    font-size: 14px;
  }

  .calculator__submit {
    padding: 12px;
    font-size: 14px;
  }

  .profile-info h1 {
    font-size: 20px;
  }

  .profile-info p {
    font-size: 13px;
  }
}

/* ===== HEADER ===== */

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-fixed);
  background-color: rgba(17, 17, 17, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 250, 250, 0.1);
  transition: all var(--transition-normal);
}

.header__content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  gap: var(--space-6);
}

.logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  flex-shrink: 0;
}

.logo__link {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  text-decoration: none;
  color: var(--color-white);
  transition: opacity 0.2s;
}

.logo__link:hover {
  opacity: 0.8;
}

.logo__img {
  width: 160px;
  margin-top: 16px;
  height: auto;
  object-fit: contain;
  image-rendering: auto;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: smooth;
  filter: none;
  -webkit-filter: none;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
}
.logo__text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.logo__title {
  font-family: var(--font-family-heading);
  font-size: var(--font-size-xl);
  font-weight: var(--font-weight-bold);
  color: var(--bg);
}

.logo__subtitle {
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-medium);
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.nav__list {
  display: flex;
  align-items: center;
  gap: var(--space-8);
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav__link {
  color: var(--color-white);
  text-decoration: none;
  font-weight: var(--font-weight-medium);
  font-size: var(--font-size-base);
  transition: all var(--transition-fast);
  position: relative;
}

.nav__link:hover {
  color: var(--accent);
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width var(--transition-fast);
}

.nav__link:hover::after {
  width: 100%;
}

.header__actions {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

/* Add top margin to main content for desktop */
main {
  margin-top: 80px;
}

/* ===== BURGER MENU ===== */
.burger-menu {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 30px;
  height: 30px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1001;
}

.burger-line {
  width: 100%;
  height: 3px;
  background: var(--accent);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.burger-menu.active .burger-line:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.burger-menu.active .burger-line:nth-child(2) {
  opacity: 0;
}

.burger-menu.active .burger-line:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ===== MOBILE MENU ===== */
.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  height: 100vh;
  background: rgba(17, 17, 17, 0.98);
  backdrop-filter: blur(20px);
  z-index: 1000;
  transition: right 0.3s ease;
}

.mobile-menu.active {
  right: 0;
}

.mobile-menu__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100%;
  padding: var(--space-8);
  text-align: center;
}

.mobile-menu__nav {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
  margin-bottom: var(--space-8);
}

.mobile-menu__link {
  color: var(--color-white);
  text-decoration: none;
  font-size: var(--font-size-xl);
  font-weight: var(--font-weight-medium);
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-lg);
  transition: all var(--transition-fast);
}

.mobile-menu__link:hover {
  background: var(--accent);
  color: var(--color-white);
  transform: translateX(5px);
}

.mobile-menu__actions {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  width: 100%;
  max-width: 300px;
}

.mobile-menu-backdrop {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(0, 0, 0, 0.5);
  z-index: 999;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.mobile-menu-backdrop.active {
  display: block;
  opacity: 1;
}

.logo__sub {
  font-size: 0.8em;
  color: var(--accent);
  font-weight: 400;
  margin-left: 2px;
}

.nav {
  display: flex;
  gap: 30px;
  justify-content: center;
  flex: 1;
  align-items: center;
  margin: 0 20px;
}

.nav a {
  color: var(--bg);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.8rem;
  transition: color 0.2s;
  white-space: nowrap;
}

.nav a:hover {
  color: var(--accent);
}

.nav__active {
  color: var(--accent) !important;
}

/* ===== HEADER NAV: MODERN PILL STYLE ===== */
@media (min-width: 992px) {
  .header__content .nav__list {
    gap: 4px;
    padding: 6px;
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(8px);
  }

  .header__content .nav__link {
    padding: 10px 16px;
    border-radius: 12px;
    color: #ffffff;
    line-height: 1;
  }

  /* remove old underline for pill look */
  .header__content .nav__link::after {
    display: none;
  }

  .header__content .nav__link:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.14);
  }

  .header__content .nav__link.nav__active,
  .header__content .nav__link.nav__active:hover {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
    color: #ffffff !important;
    box-shadow: 0 6px 20px rgba(198, 112, 42, 0.35);
  }
}

.header__login {
  background: var(--accent);
  border: 1px solid var(--accent);
  border-radius: 6px;
  padding: 6px 12px;
  font-size: 0.8rem;
  font-weight: 500;
  color: white;
  cursor: pointer;
  transition: all 0.2s;
  height: fit-content;
  display: flex;
  align-items: center;
  gap: 4px;
}

.header__login-text {
  display: inline;
}

.header__login-icon {
  display: none;
  font-size: 1.2rem;
}

.header__login:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(198, 112, 42, 0.3);
}

.hero {
  background: linear-gradient(180deg, #ffffff 0%, #fafafa 100%);
  padding: 0 0 40px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* .hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: transparent;
  z-index: 1;
} */

.hero__container {
  position: relative;
  z-index: 2;
  margin-top: 30px;
}

/* Hero carousel */
.hero-carousel {
  position: relative;
  width: 100%;
  max-width: 100%;
  border-top-left-radius: 24px;
  border-top-right-radius: 24px;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  backdrop-filter: blur(10px);
}

.hero-carousel__slides {
  position: relative;
  width: 100%;
  height: 420px;
}

.hero-carousel__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.4s ease-in-out;
}

.hero-carousel__slide.is-active {
  opacity: 1;
  will-change: opacity;
}

.hero-carousel__slide.is-active {
  opacity: 1;
}

.hero-carousel__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  will-change: opacity;
  backface-visibility: hidden;
  transform: translateZ(0);
}

/* Gold hero background */
.gold-hero-background {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg,
      #FFD700 0%,
      #FFA500 25%,
      #FF8C00 50%,
      #FFD700 75%,
      #FFA500 100%);
  background-size: 400% 400%;
  animation: goldShimmer 8s ease-in-out infinite;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gold-hero-background::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.3) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.2) 0%, transparent 50%),
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
  animation: goldSparkle 6s ease-in-out infinite;
}

.gold-hero-background::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.1) 50%, transparent 70%),
    linear-gradient(-45deg, transparent 30%, rgba(255, 255, 255, 0.1) 50%, transparent 70%);
  animation: goldReflection 4s ease-in-out infinite;
}

.gold-hero-content {
  text-align: center;
  color: #2c2c2c;
  z-index: 2;
  position: relative;
  text-shadow: 0 2px 4px rgba(255, 255, 255, 0.3);
}

.gold-hero-content h2 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
  background: linear-gradient(45deg, #2c2c2c, #4a4a4a, #2c2c2c);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: textShimmer 3s ease-in-out infinite;
}

.gold-hero-content p {
  font-size: 1.3rem;
  font-weight: 500;
  color: #3a3a3a;
  margin: 0;
}

@keyframes goldShimmer {

  0%,
  100% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }
}

@keyframes goldSparkle {

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

  50% {
    opacity: 0.6;
    transform: scale(1.1);
  }
}

@keyframes goldReflection {

  0%,
  100% {
    transform: translateX(-100%);
  }

  50% {
    transform: translateX(100%);
  }
}

@keyframes textShimmer {

  0%,
  100% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }
}

.hero-carousel__cta {
  position: absolute;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  background: var(--accent);
  color: white;
  border: none;
  border-radius: 25px;
  padding: 12px 32px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 6px 20px rgba(198, 112, 42, 0.4);
  text-transform: uppercase;
  letter-spacing: 0.3px;
  backdrop-filter: blur(10px);
}

.hero-carousel__cta:hover {
  background: var(--accent-dark);
  transform: translateX(-50%) translateY(-2px);
  box-shadow: 0 12px 35px rgba(198, 112, 42, 0.6);
}

@media (max-width: 900px) {
  .hero-carousel__slides {
    height: 340px;
  }

  .gold-hero-content h2 {
    font-size: 2.5rem;
  }

  .gold-hero-content p {
    font-size: 1.1rem;
  }
}

@media (max-width: 700px) {
  /* .hero-carousel {
    border-radius: 12px;
  } */

  .hero-carousel__slides {
    height: 260px;
  }

  .hero-carousel__cta {
    padding: 12px 24px;
    font-size: 1rem;
    bottom: 14px;
  }

  .gold-hero-content h2 {
    font-size: 2rem;
  }

  .gold-hero-content p {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .hero-carousel__slides {
    height: 220px;
  }

  .hero-carousel__cta {
    padding: 10px 20px;
    font-size: 0.95rem;
    bottom: 12px;
  }

  .gold-hero-content h2 {
    font-size: 1.8rem;
  }

  .gold-hero-content p {
    font-size: 0.9rem;
  }
}

/* .hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, #e0e0e0 20%, #e0e0e0 80%, transparent 100%);
} */

.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, #e0e0e0 20%, #e0e0e0 80%, transparent 100%);
}

.hero__title {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: #222;
}

.hero__subtitle {
  font-size: 1.1rem;
  color: #888;
  margin-bottom: 32px;
}

.hero__tabs {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 40px;
  z-index: 10;
  position: relative;
  pointer-events: auto;
}

.hero__tab {
  background: #f8f9fa;
  border: 2px solid #e9ecef;
  border-radius: 50px;
  padding: 12px 36px;
  font-size: 1.1rem;
  color: #6c757d;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  z-index: 10;
  pointer-events: auto;
  user-select: none;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.hero__tab:hover {
  background: #e9ecef;
  border-color: #dee2e6;
  color: #495057;
  transform: translateY(-2px);
}
.hero__tab--active,
.hero__tab:focus {
  background: var(--accent);
  color: white;
  border-color: var(--accent);
  outline: none;
  font-weight: 700;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(198, 112, 42, 0.3);
}

.calculator {
  background: rgba(255, 255, 255, 0.95);
  border-top-left-radius: 0;
  border-top-right-radius: 0;
  border-bottom-left-radius: 24px;
  border-bottom-right-radius: 24px;

  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  padding: 40px 32px 24px 32px;
  max-width: 100%;
  width: 100%;
  margin: 0 auto 40px auto;
  box-sizing: border-box;
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

@media (max-width: 700px) {
  .calculator {
    max-width: 100%;
    border-radius: 0;
    margin: 0 0 32px 0;
  }
}

.calculator__inputs {
  display: flex;
  gap: 32px;
  justify-content: center;
  margin-bottom: 24px;
}
.calculator__inline {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.calculator__input-group {
  flex: 1;
  min-width: 300px;
  max-width: 420px;
}

.calculator__input-group:first-child {
  flex: 1.3;
  min-width: 390px;
  max-width: 546px;
}

/* (предыдущие правила для .calculator__input-field label сохранены в другом месте) */

/* Обеспечиваем, что псевдоэлемент позиционируется относительно метки */
.calculator__input-field label,
.calculator__input-group label {
  position: relative;
}

.calculator__input-field label::after,
.calculator__input-group label::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 2px;
  background: linear-gradient(90deg, var(--accent) 0%, #ff6b35 100%);
  border-radius: 2px;
  display: block;
  z-index: 2;
}

.calculator__form--auto .calculator__input-group input[type="text"] {
  height: 39px;
  padding: 12px 15px;
  font-size: 0.65rem;
}

.calculator__form--auto .calculator__input-group .calculator__result-value {
  height: 39px;
  padding: 12px 15px;
  font-size: 0.65rem;
}

/* Увеличиваем авто-сумму на 100% относительно текущего уменьшенного состояния */
#auto-sum {
  height: 78px;
  padding: 24px 30px;
  font-size: 1.3rem;
}

/* Увеличиваем отображение процента за месяц на 100% */
#auto-monthly-interest {
  height: 78px;
  padding: 24px 30px;
  font-size: 1.3rem;
}

.calculator__input-group input[type="range"] {
  width: 100%;
  margin: 0;
  accent-color: var(--accent);
}

.calculator__input-group input[type="text"] {
  width: 100%;
  padding: 24px 30px;
  border: 2px solid var(--line);
  border-radius: 12px;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--ink);
  background: var(--bg);
  transition: all 0.2s ease;
  text-align: center;
  box-sizing: border-box;
  height: 78px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: inherit;
}

.calculator__input-group input[type="text"]:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(198, 112, 42, 0.1);
}

.calculator__input-group input[type="text"]:hover {
  border-color: var(--muted);
}

.calculator__input-group input[type="text"]::placeholder {
  color: var(--muted);
  opacity: 0.7;
}

.calculator__value {
  margin-top: 6px;
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--ink);
}

.calculator__input-hint {
  margin-top: 0px;
  font-size: 1rem;
  color: var(--muted);
  text-align: center;
  line-height: 1.4;
  padding: 10px 15px;
}
.calculator__value--editable {
  cursor: text;
  padding: 2px 4px;
  border-radius: 4px;
  transition: background 0.2s;
}
.calculator__value--editable:hover {
  background: var(--line);
}

.calculator__value--editable:focus {
  outline: none;
  background: var(--bg);
  box-shadow: 0 0 0 2px rgba(198, 112, 42, 0.2);
}

.calculator__results {
  display: flex;
  justify-content: center;
  background: var(--line);
  border-radius: 0 0 12px 12px;
  padding: 24px 12px;
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--ink);
}

/* Компактный пропорциональный дизайн результата */
.calculator__result {
  width: 100%;
  max-width: 300px;
  text-align: center;
  background: linear-gradient(135deg, var(--accent) 0%, #ff6b35 100%);
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 6px 16px rgba(198, 112, 42, 0.3);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  color: white;
  overflow: hidden;
}

.calculator__result::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent) 0%, #ff6b35 100%);
}

.calculator__result:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
  border-color: var(--accent-light);
}

.calculator__result-label {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: var(--space-2);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.calculator__result-value {
  font-size: 1.6rem;
  font-weight: 800;
  color: white;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  line-height: 1.2;
}

.calculator__input-group .calculator__result-value {
  background: var(--bg);
  border: 2px solid var(--line);
  border-radius: 12px;
  padding: 24px 30px;
  text-align: center;
  margin: 0;
  height: 78px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  font-weight: 700;
  font-size: 1.3rem;
  font-family: inherit;
  color: var(--accent);
}

/* Современные радиокнопки для веса */
.calculator__radio-group {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--space-1);
  margin: var(--space-2) 0;
}

.calculator__radio {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-2);
  background: linear-gradient(135deg, var(--bg-light) 0%, var(--bg) 100%);
  border: 2px solid var(--line-light);
  border-radius: var(--radius-md);
  cursor: pointer;
  font-size: 0.8rem;
  font-weight: 600;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  min-height: 36px;
  color: var(--muted);
  box-shadow: var(--shadow-sm);
}

.calculator__radio:hover {
  border-color: var(--accent-light);
  background: var(--bg-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.calculator__radio input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  margin: 0;
  cursor: pointer;
}

.calculator__radio input[type="radio"]:checked+span {
  color: white;
  font-weight: 700;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.calculator__radio:has(input[type="radio"]:checked) {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
  border-color: var(--accent);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(198, 112, 42, 0.3);
  position: relative;
}

.calculator__radio:has(input[type="radio"]:checked)::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, transparent 50%);
  border-radius: var(--radius-md);
  pointer-events: none;
}

.calculator__radio span {
  text-align: center;
  white-space: nowrap;
  font-size: 0.9rem;
  font-weight: inherit;
  transition: all 0.3s ease;
}

.calculator__input-field {
  margin-top: 16px;
  padding: 12px;
  background: transparent;
  border-radius: 6px;
  border: none;
}

/* Компактные пропорциональные заголовки полей */
.calculator__input-field label {
  display: block;
  margin-bottom: 12px;
  font-weight: 700;
  color: var(--ink);
  font-size: 0.95rem;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  position: relative;
}

.calculator__input-field label::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 2px;
  background: linear-gradient(90deg, var(--accent) 0%, #ff6b35 100%);
  border-radius: 1px;
}

.calculator__input-field input {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #e9ecef;
  border-radius: 8px;
  font-size: 1rem;
  background: #ffffff;
  color: var(--ink);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
}

.calculator__input-field input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 2px rgba(198, 112, 42, 0.1);
}

.calculator__input-field input::placeholder {
  color: var(--muted);
}

.calculator__form {
  width: 100%;
}

/* Компактный пропорциональный дизайн калькулятора золота */
.calculator__gold-layout {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 20px;
  /* max-width: 600px; */
  margin: 0 auto;
  padding: 24px;
  /* background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%); */
  border-radius: 16px;
  /* box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08); */
  border: 1px solid rgba(255, 255, 255, 0.8);
}

.calculator__gold-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: start;
}

.calculator__gold-row:last-child {
  grid-template-columns: 1fr;
  justify-items: center;
}

/* Компактные стили для полей ввода */
.calculator__gold-row .calculator__input-field,
.calculator__form--gold .calculator__input-group {
  background: #ffffff;
  border: 2px solid #e9ecef;
  border-radius: 12px;
  padding: 12px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;

  display: flex;
  flex-direction: column;
  height: 320px;
  /* фиксированная высота вместо min-height */
  justify-content: space-between;
}

.calculator__gold-row .calculator__input-field:hover {
  border-color: var(--accent-light);
  box-shadow: var(--shadow-sm);
}

.calculator__gold-row .calculator__input-field:focus-within {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(198, 112, 42, 0.1);
}

/* Стили для поля веса */
.calculator__input-field--weight {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.calculator__input-field--weight label {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--ink);
  margin-bottom: var(--space-2);
  text-align: center;
}



/* Современное поле ввода веса */
.calculator__weight-input-section {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: auto;
  /* Прижимаем к низу карточки */
  padding-top: var(--space-2);
}

.calculator__weight-input-section input {
  width: 100%;
  max-width: 120px;
  padding: 8px 12px;
  border: 1px solid var(--line-light);
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 600;
  text-align: center;
  background: white;
  transition: all 0.3s ease;
}

.calculator__weight-input-section input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(198, 112, 42, 0.1);
}

.calculator__weight-input-section input {
  width: 100%;
  max-width: 120px;
  border: 2px solid var(--line-light);
  border-radius: var(--radius-lg);
  padding: var(--space-3) var(--space-4);
  font-size: 1rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--bg-light) 0%, var(--bg) 100%);
  color: var(--accent);
  transition: all 0.3s ease;
  text-align: center;
  box-shadow: var(--shadow-sm);
  position: relative;
}

.calculator__weight-input-section input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(198, 112, 42, 0.1);
  transform: translateY(-1px);
}

.calculator__weight-input-section input:hover {
  border-color: var(--accent-light);
  box-shadow: var(--shadow-md);
}

.calculator__weight-input-section input::placeholder {
  color: var(--muted);
  font-weight: 400;
}


/* Компактная пропорциональная кнопка отправки */
.calculator__form--gold .calculator__submit {
  display: block;
  margin: 20px auto 0 auto;
  background: linear-gradient(135deg, var(--accent) 0%, #ff6b35 100%);
  color: white;
  border: none;
  border-radius: 12px;
  padding: 16px 32px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  box-shadow: 0 4px 16px rgba(198, 112, 42, 0.3);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  min-width: 160px;
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.calculator__form--gold .calculator__submit::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

.calculator__form--gold .calculator__submit:hover::before {
  left: 100%;
}

.calculator__form--gold .calculator__submit:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-xl);
}

.calculator__form--gold .calculator__submit:active {
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

/* Улучшенные стили для блоков веса и пробы */
.calculator__gold-row .calculator__input-group {
  flex: 1;
  min-width: 280px;
}

/* Компактные пропорциональные кнопки для калькулятора золота */
.calculator__form--gold .calculator__radio-group {
  display: grid;
  grid-template-columns: repeat(5, minmax(44px, 1fr));
  gap: 12px;
  margin: 12px 0;
  flex: 1;
  align-content: start;
  place-items: center;
  grid-auto-rows: minmax(44px, auto);
}

/* Компактные кнопки веса */
.calculator__form--gold .calculator__radio {
  width: 52px;
  aspect-ratio: 1;
  padding: 0;
  font-size: 0.95rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 12px;
  transition: box-shadow 0.15s ease, background 0.15s ease, border-color 0.15s ease;
  cursor: pointer;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.06);
}

.calculator__form--gold .calculator__radio:hover {
  border-color: var(--accent-light);
  background: #f8f9fa;
  transform: none;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
}

.calculator__form--gold .calculator__radio input[type="radio"]:checked+span {
  color: #fff;
  font-weight: 700;
}

.calculator__form--gold .calculator__radio:has(input[type="radio"]:checked) {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
  border-color: var(--accent);
  color: white;
  transform: none;
  box-shadow: 0 8px 24px rgba(198, 112, 42, 0.4);
}

/* Компактные стили для отображения пробы золота */
.calculator__form--gold .calculator__value {
  text-align: center;
  padding: 12px 18px;
  background: linear-gradient(135deg, var(--accent) 0%, #ff6b35 100%);
  color: white;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.95rem;
  margin-top: auto;
  box-shadow: 0 4px 12px rgba(198, 112, 42, 0.3);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  width: 100%;
  max-width: 120px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  overflow: hidden;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.calculator__form--gold .calculator__value::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, transparent 50%);
  border-radius: var(--radius-lg);
  pointer-events: none;
}

.calculator__form--gold .calculator__value:hover {
  background: linear-gradient(135deg, #ff6b35 0%, var(--accent) 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(198, 112, 42, 0.4);
}

/* Стили для радиокнопок пробы - используем те же стили, что и для веса */
.calculator__form--gold .calculator__input-group {
  gap: var(--space-4);
  margin-top: 16px;
}

.calculator__form--gold .calculator__input-group:hover {
  border-color: var(--accent-light);
  box-shadow: var(--shadow-sm);
}

.calculator__form--gold .calculator__input-group label {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--ink);
  margin-bottom: var(--space-2);
  text-align: center;
}

.calculator__input-group label::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 2px;
  background: linear-gradient(90deg, var(--accent) 0%, #ff6b35 100%);
  border-radius: 1px;
}

/* Компактные кнопки пробы золота */
.calculator__form--gold .calculator__input-group .calculator__radio-group {
  display: grid;
  grid-template-columns: repeat(3, minmax(80px, 1fr));
  justify-content: center;
  justify-items: center;
  /* центрируем сами элементы по горизонтали */
  align-items: center;
  /* центрируем по вертикали */
  gap: 8px;
  margin: 12px auto;
  /* автоматические отступы по бокам для центрирования */
  width: fit-content;
  /* контейнер подстраивается под содержимое */
  max-width: 100%;
  /* но не шире родителя */
  flex: 1;
}

.calculator__form--gold .calculator__input-group .calculator__radio {
  width: 52px;
  aspect-ratio: 1;
  padding: 0;
  font-size: 0.95rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 12px;
  transition: box-shadow 0.15s ease, background 0.15s ease, border-color 0.15s ease;
  cursor: pointer;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
}

.calculator__form--gold .calculator__input-group .calculator__radio:hover {
  border-color: var(--accent-light);
  background: #f8f9fa;
  transform: none;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
}

.calculator__form--gold .calculator__input-group .calculator__radio input[type="radio"]:checked+span {
  color: #fff;
  font-weight: 700;
}

.calculator__form--gold .calculator__input-group .calculator__radio:has(input[type="radio"]:checked) {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
  border-color: var(--accent);
  color: white;
  transform: none;
  box-shadow: 0 8px 24px rgba(198, 112, 42, 0.4);
}
/* Мобильная адаптивность для калькулятора золота */
@media (max-width: 768px) {
  .calculator__gold-layout {
    gap: var(--space-6);
    max-width: 100%;
  }

  .calculator__gold-row {
    grid-template-columns: 1fr;
    gap: var(--space-6);
  }

  .calculator__gold-row .calculator__input-field {
    padding: var(--space-5);
  }

  .calculator__form--gold .calculator__radio-group {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-2);
  }

  .calculator__form--gold .calculator__input-group .calculator__radio-group {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
  }

  .calculator__result {
    max-width: 100%;
    padding: var(--space-6);
  }

  .calculator__result-value {
    font-size: 1.4rem;
  }

  .calculator__form--gold .calculator__submit {
    width: 100%;
    min-width: auto;
    padding: var(--space-3) var(--space-4);
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .calculator__form--gold .calculator__radio-group {
    grid-template-columns: repeat(2, 1fr);
  }

  .calculator__form--gold .calculator__input-group .calculator__radio-group {
    flex-direction: column;
    align-items: center;
  }

  .calculator__form--gold .calculator__input-group .calculator__radio {
    min-width: 80px;
  }
}

.calculator__gold-row .calculator__input-field--weight {
  padding: 8px;
}

.calculator__weight-input-section {
  flex-direction: column;
  gap: 8px;
  align-items: stretch;
}
/* ================= GOLD CALCULATOR – REFINEMENTS ================= */
/* Modern card look for gold inputs */
.calculator__form--gold .calculator__input-group,
.calculator__gold-row .calculator__input-field {
  background: linear-gradient(180deg, #ffffff 0%, var(--bg) 100%);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.05);
  padding: 14px 14px 18px 14px;
  /* equal-ish columns on desktop without clipping */
  min-height: 280px;
  height: auto !important;
  overflow: visible;
  row-gap: var(--space-4);
}

/* Result card: light card with accent details */
.calculator__form--gold .calculator__result {
  max-width: 320px;
  background:
    radial-gradient(120% 120% at 50% -20%, rgba(198, 112, 42, 0.08) 0%, rgba(198, 112, 42, 0) 60%),
    linear-gradient(180deg, var(--bg-light) 0%, #fff9f6 100%);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 26px 28px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.07), 0 2px 10px rgba(198, 112, 42, 0.06);
  color: var(--ink);
}

.calculator__form--gold .calculator__result::before {
  background: linear-gradient(90deg, var(--accent) 0%, var(--accent-light) 100%);
  top: 12px;
  left: 50%;
  right: auto;
  width: 76%;
  transform: translateX(-50%) scaleX(0.88);
  transform-origin: center;
  height: 4px;
  border-radius: 3px;
  transition: transform 0.3s ease;
}

.calculator__form--gold .calculator__result:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.09);
  border-color: var(--accent-light);
}

.calculator__form--gold .calculator__result:hover::before {
  transform: translateX(-50%) scaleX(0.98);
}

.calculator__form--gold .calculator__result-label {
  color: var(--muted);
  text-transform: none;
  letter-spacing: 0.2px;
  margin-bottom: var(--space-3);
}

.calculator__form--gold .calculator__result-value {
  color: var(--accent);
  font-size: 2rem;
  text-shadow: none;
  /* subtle gradient text for nicer accent (with fallback color above) */
  background: linear-gradient(180deg, var(--accent), var(--accent-dark));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

@media (max-width: 480px) {
  .calculator__form--gold .calculator__result-value {
    font-size: 1.7rem;
  }
}

/* Radios: larger touch target and gentler hover */
.calculator__form--gold .calculator__radio {
  /* chip style; fixed size for tidy grid */
  width: 52px;
  aspect-ratio: 1;
  padding: 0;
  font-size: 0.95rem;
  border-radius: 12px;
  transition: box-shadow 0.15s ease, background 0.15s ease, border-color 0.15s ease;
  background: #ffffff;
  border: 1px solid var(--line);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.06);
}

.calculator__form--gold .calculator__radio:hover {
  transform: none;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}

.calculator__form--gold .calculator__radio:has(input[type="radio"]:checked) {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
  transform: none;
  box-shadow: 0 6px 18px rgba(198, 112, 42, 0.35);
}

.calculator__form--gold .calculator__radio:focus-within {
  outline: none;
  box-shadow: 0 0 0 4px rgba(198, 112, 42, 0.18);
  border-color: var(--accent);
}

/* Weight input: add grams unit overlay */
.calculator__weight-input-section {
  position: relative;
}

.calculator__weight-input-section input {
  /* clean pill style */
  padding-right: var(--space-4) !important;
  border: 1px solid var(--line) !important;
  border-radius: 12px !important;
  background: #fff !important;
}

.calculator__weight-input-section::after {
  /* remove overlay because it caused misalignment */
  content: none;
}

/* stretch columns so cards match height */
.calculator__gold-row {
  align-items: stretch;
}
/* Mobile fixes: let cards auto-height to avoid clipping */
@media (max-width: 768px) {

  .calculator__form--gold .calculator__input-group,
  .calculator__form--gold .calculator__input-field {
    min-height: auto;
    height: auto !important;
    padding: 12px;
  }

  /* keep comfortable spacing and full-width content */
  .calculator__gold-row {
    grid-template-columns: 1fr;
    gap: var(--space-6);
  }

  .calculator__form--gold .calculator__result {
    max-width: 100%;
  }

  /* prevent huge vertical stretching on mobile */
  .calculator__weight-input-section {
    margin-top: var(--space-3);
  }

  .calculator__form--gold .calculator__value {
    margin-top: var(--space-3);
  }

  /* make radio grids use full width */
  .calculator__form--gold .calculator__radio-group,
  .calculator__form--gold .calculator__input-group .calculator__radio-group {
    width: 100% !important;
    margin: 12px 0 !important;
    justify-content: center;
    justify-items: center;
    grid-template-columns: repeat(4, 1fr) !important;
  }
}

@media (max-width: 480px) {

  .calculator__form--gold .calculator__radio-group,
  .calculator__form--gold .calculator__input-group .calculator__radio-group {
    grid-template-columns: repeat(3, 1fr) !important;
  }
}

/* ================================================================ */

/* ================= AUTO CALCULATOR – REFINEMENTS ================= */
.calculator__form--auto .calculator__input-group input[type="text"],
.calculator__form--auto .calculator__input-group .calculator__result-value {
  background: #ffffff !important;
  border: 1px solid var(--line) !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

.calculator__form--auto .calculator__input-group input[type="text"]:hover,
.calculator__form--auto .calculator__input-group .calculator__result-value:hover {
  border-color: var(--accent-light);
}

.calculator__form--auto .calculator__input-group input[type="text"]:focus {
  border-color: var(--accent) !important;
  box-shadow: 0 0 0 4px rgba(198, 112, 42, 0.12);
}

/* more expressive value color */
.calculator__form--auto #auto-monthly-interest {
  color: var(--accent);
  font-weight: 700;
}

/* remove decorative underline above labels inside auto form */
.calculator__form--auto .calculator__input-group label::after,
.calculator__form--auto .calculator__input-field label::after {
  display: none !important;
}

/* align submit button with inputs */
.calculator__form--auto .calculator__submit {
  margin-top: 0 !important;
  margin-bottom: 20px;
  height: 78px;
  /* align with fields */
  display: flex;
  align-items: center;
  justify-content: center;
}

/* align button with fields on desktop */
@media (min-width: 992px) {
  .calculator__form--auto .calculator__inline {
    align-items: center;
  }
}

/* stack neatly on mobile */
@media (max-width: 768px) {
  .calculator__form--auto .calculator__inline {
    gap: var(--space-4);
  }

  .calculator__form--auto .calculator__submit {
    width: 100%;
    min-width: auto;
  }
}

/* ================================================================ */

.calculator__weight-input-section input {
  padding: 8px 10px;
  font-size: 0.9rem;
  max-width: none;
}

.calculator__input-group label {
  font-size: 0.86rem;
  text-align: center;
}

.calculator__input-group label[for="gold-weight"] {
  font-size: 0.9rem;
}

.calculator__submit {
  background: var(--accent);
  color: var(--bg);
  border: none;
  border-radius: 12px;
  padding: 24px 30px;
  font-size: 1.3rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
  min-width: 270px;
  max-width: 330px;
  height: 78px;
  white-space: nowrap;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 22px;
}

.calculator__submit:hover {
  background: var(--ink);
}

.features {
  background: var(--bg);
  padding: 60px 0;
  text-align: center;
}

.features-list {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-top: 30px;
}

.feature-item {
  background: var(--line);
  border-radius: 16px;
  padding: 30px 40px;
  font-size: 1.2rem;
  min-width: 180px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.about {
  padding: 60px 0;
  background: var(--bg);
  text-align: center;
}

.about h2 {
  margin-bottom: 20px;
}

.contact {
  background: var(--bg);
  padding: 60px 0;
  text-align: center;
}

.contact-form {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  max-width: 400px;
  margin: 0 auto;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 1rem;
  resize: none;
}

.contact-form button {
  background: var(--accent);
  color: var(--bg);
  border: none;
  padding: 12px 36px;
  border-radius: 30px;
  font-size: 1.1rem;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.2s;
}

.contact-form button:hover {
  background: var(--ink);
}

.footer {
  background: var(--ink);
  color: var(--bg);
  text-align: center;
  padding: 24px 0;
  margin-top: 40px;
}

.application {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--accent) 0%, #e55a00 100%);
  color: white;
  position: relative;
  overflow: hidden;
}

.application::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="%23c6702a" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="%23c6702a" opacity="0.1"/><circle cx="50" cy="10" r="0.5" fill="%23c6702a" opacity="0.05"/><circle cx="10" cy="60" r="0.5" fill="%23c6702a" opacity="0.05"/><circle cx="90" cy="40" r="0.5" fill="%23c6702a" opacity="0.05"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
  pointer-events: none;
}

.application__content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}

@media (min-width: 1024px) {
  .application__content {
    grid-template-columns: 1fr 1fr;
  }
}

.application__info {
  text-align: center;
}

@media (min-width: 1024px) {
  .application__info {
    text-align: left;
  }
}

.application__form {
  background: white;
  border-radius: 18px;
  padding: 32px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.application__form::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent) 0%, #ff6b35 100%);
}

.application__title {
  font-size: 2.2rem;
  font-weight: 800;
  color: white;
  margin-bottom: 12px;
  line-height: 1.2;
}

.application__subtitle {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 28px;
  line-height: 1.5;
}

.application__features {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.application__feature {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
}

.application__feature-icon {
  width: 24px;
  height: 24px;
  color: white;
  flex-shrink: 0;
}

.form__group {
  margin-bottom: 18px;
}

.form__label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: #374151;
  margin-bottom: 6px;
}

.form__input,
.form__select {
  width: 100%;
  padding: 14px 18px;
  border: 2px solid #e5e7eb;
  border-radius: 10px;
  font-size: 0.95rem;
  background: #f9fafb;
  transition: all 0.3s ease;
  box-sizing: border-box;
  font-weight: 500;
}

.form__input:focus,
.form__select:focus {
  outline: none;
  border-color: var(--accent);
  background: white;
  box-shadow: 0 0 0 4px rgba(198, 112, 42, 0.1);
}

.form__select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
  background-position: right 12px center;
  background-repeat: no-repeat;
  background-size: 16px;
  padding-right: 40px;
}

.form__group--checkbox {
  margin-bottom: 0;
}

.form__checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  font-size: 0.85rem;
  color: #6b7280;
  line-height: 1.4;
}

.form__checkbox input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  margin: 0;
}

.form__checkbox-mark {
  width: 16px;
  height: 16px;
  border: 2px solid #d1d5db;
  border-radius: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  flex-shrink: 0;
  margin-top: 1px;
}

.form__checkbox input[type="checkbox"]:checked~.form__checkbox-mark {
  background: var(--accent);
  border-color: var(--accent);
}

.form__checkbox input[type="checkbox"]:checked~.form__checkbox-mark::after {
  content: '✓';
  color: white;
  font-size: 12px;
  font-weight: bold;
}

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

.form__submit {
  background: var(--accent);
  color: white;
  border: none;
  border-radius: 10px;
  padding: 16px 28px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 6px 20px rgba(198, 112, 42, 0.4);
}

.form__submit:hover {
  background: #e55a00;
  transform: translateY(-2px);
  box-shadow: 0 12px 35px rgba(198, 112, 42, 0.6);
}

.application__form input[type="tel"]:focus,
.application__form input[type="text"]:focus,
.application__form select:focus {
  outline: none;
  border-color: var(--accent);
  background: white;
  box-shadow: 0 0 0 4px rgba(198, 112, 42, 0.15);
  transform: translateY(-1px);
}

.application__form input[type="tel"]:hover,
.application__form input[type="text"]:hover,
.application__form select:hover {
  border-color: #cbd5e1;
  background: white;
  transform: translateY(-1px);
}

.application__form select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
  background-position: right 12px center;
  background-repeat: no-repeat;
  background-size: 16px;
  padding-right: 40px;
}

.application__form select option {
  padding: 8px 12px;
}

.application__checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.85rem;
  color: #64748B;
  line-height: 1.4;
  margin-top: 3px;
}

.application__checkbox input[type="checkbox"] {
  width: 16px;
  height: 16px;
  margin-top: 1px;
  flex-shrink: 0;
  accent-color: var(--accent);
}

.application__submit {
  background: var(--accent);
  color: white;
  border: none;
  border-radius: 16px;
  padding: 18px 0;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  margin-top: 16px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 8px 25px rgba(198, 112, 42, 0.4);
  position: relative;
  z-index: 1;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.application__submit:hover {
  background: var(--accent-dark);
  transform: translateY(-4px);
  box-shadow: 0 16px 45px rgba(198, 112, 42, 0.6);
}

.application__submit:active {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(198, 112, 42, 0.5);
}

.application__image {
  flex: 1;
  min-width: 220px;
  min-height: 400px;
  height: 500px;
  background: var(--line);
  border-radius: 18px;
  margin-left: 16px;
  display: flex;
  align-items: stretch;
  justify-content: stretch;
  position: relative;
  overflow: hidden;
}

.application__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 18px;
}

/* Стили для промо-акции */
.promo-offer {
  text-align: center;
  padding: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--bg);
}

.promo-text {
  display: flex;
  flex-direction: column;
  gap: 0;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.promo-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.refinancing-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--ink);
  text-align: center;
  margin: 40px 0 20px 0;
  line-height: 1.2;
}

.refinancing-subtitle {
  font-size: 1.4rem;
  font-weight: 500;
  color: var(--muted);
  text-align: center;
  margin: 0 0 30px 0;
  line-height: 1.4;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}
.promo-line {
  font-family: 'Playfair Display', serif;
  font-size: 2.8rem;
  font-weight: 700;
  color: #c6702a;
  line-height: 1.1;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  text-align: center;
  white-space: nowrap;
}

@media (max-width: 900px) {
  .promo-line {
    font-size: 2.4rem;
  }

  .promo-offer {
    padding: 0;
  }

  .refinancing-title {
    font-size: 2.2rem;
    margin: 30px 0 15px 0;
  }

  .refinancing-subtitle {
    font-size: 1.3rem;
    margin: 0 0 25px 0;
    max-width: 700px;
  }
}

@media (max-width: 700px) {
  .promo-line {
    font-size: 2rem;
  }

  .promo-offer {
    padding: 0;
  }

  .refinancing-title {
    font-size: 2rem;
    margin: 25px 0 12px 0;
  }

  .refinancing-subtitle {
    font-size: 1.2rem;
    margin: 0 0 20px 0;
    max-width: 600px;
  }
}
@media (max-width: 500px) {
  .promo-line {
    font-size: 1.5rem;
  }

  .promo-offer {
    padding: 0;
  }

  .refinancing-title {
    font-size: 1.8rem;
    margin: 20px 0 10px 0;
  }

  .refinancing-subtitle {
    font-size: 1.1rem;
    margin: 0 0 15px 0;
    max-width: 500px;
  }
}

.benefits {
  background: linear-gradient(180deg, #f5f5f5 0%, #f0f0f0 100%);
  padding: 60px 0 40px 0;
  text-align: center;
  position: relative;
}

.benefits__title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 2rem;
  color: #1e293b;
  line-height: 1.3;
}

.benefits__list {
  display: flex;
  justify-content: center;
  gap: 32px;
}

.benefit {
  background: #ffffff;
  border-radius: 20px;
  padding: 24px 20px;
  min-width: 150px;
  max-width: 300px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  transition: all 0.3s ease;
  border: 1px solid rgba(0, 0, 0, 0.05);
  position: relative;
  overflow: hidden;
  min-height: 220px;
  height: auto;
  text-align: center;
}

.benefit__image {
  width: 100%;
  height: 140px;
  overflow: hidden;
  border-radius: 16px 16px 0 0;
  position: relative;
}

.benefit__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.benefit:hover .benefit__image img {
  transform: scale(1.05);
}

.benefit__content {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  height: auto;
  justify-content: center;
}

.benefit__icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border-radius: 14px;
  transition: all 0.3s ease;
  position: relative;
  z-index: 2;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.benefit__icon svg {
  width: 32px;
  height: 32px;
  transition: transform 0.2s;
}

.benefit:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.15);
}

.benefit:hover .benefit__icon {
  background: linear-gradient(135deg, #ff6600 0%, #ff8533 100%);
  transform: scale(1.1);
  box-shadow: 0 8px 20px rgba(255, 102, 0, 0.4);
}

.benefit:hover .benefit__icon svg {
  filter: brightness(0) invert(1);
  transform: scale(1.1);
}

.benefit__title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 0;
  text-align: center;
  line-height: 1.3;
}

.benefit__desc {
  font-size: 0.85rem;
  color: #64748b;
  line-height: 1.4;
  text-align: center;
  margin-bottom: 0;
}
.steps {
  background: var(--bg);
  padding: 48px 0 32px 0;
  text-align: center;
}

.steps__title {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 24px;
  color: #222;
}

.steps__tabs {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 32px;
}

.steps__tab {
  background: var(--bg);
  border: none;
  border-radius: 8px;
  padding: 10px 24px;
  font-size: 1rem;
  color: #888;
  cursor: pointer;
  font-weight: 500;
  transition: background 0.2s, color 0.2s;
}

.steps__tab--active,
.steps__tab:focus {
  background: var(--accent);
  color: var(--bg);
  outline: none;
}

.steps__cards {
  display: flex;
  justify-content: center;
  gap: 24px;
}

.step-card {
  background: var(--bg);
  border-radius: 16px;
  padding: 24px 20px;
  min-width: 200px;
  max-width: 280px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.step-card__num {
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 12px;
}

.step-card__title {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 8px;
}

.step-card__desc {
  font-size: 0.95rem;
  color: var(--muted);
}

.loan-types {
  background: linear-gradient(180deg, #fafafa 0%, #f5f5f5 100%);
  padding: 60px 0 40px 0;
  text-align: center;
  position: relative;
}

.loan-types__title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 2rem;
  color: #1e293b;
  line-height: 1.3;
}

.loan-types__list {
  display: grid;
  grid-template-columns: repeat(4, minmax(180px, 1fr));
  gap: 16px;
  padding: 20px 0;
  justify-items: stretch;
  align-items: stretch;
}

.loan-type {
  background: #ffffff;
  border-radius: 20px;
  padding: 24px 20px;
  text-align: center;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  min-height: 220px;
  height: auto;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 100%;
  border: 1px solid rgba(0, 0, 0, 0.05);
  position: relative;
  overflow: hidden;
}

.loan-type__image {
  width: 100%;
  height: 140px;
  overflow: hidden;
  border-radius: 16px 16px 0 0;
  position: relative;
}

.loan-type__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.loan-type:hover .loan-type__image img {
  transform: scale(1.05);
}

.loan-type__icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px auto;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border-radius: 14px;
  transition: all 0.3s ease;
  position: relative;
  z-index: 2;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.loan-type__icon img {
  width: 32px;
  height: 32px;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.loan-type__content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: auto;
  gap: 12px;
}

.loan-type__title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #1e293b;
  margin-top: 16px;
  text-align: center;
  line-height: 1.3;
}

.loan-type__desc {
  font-size: 0.85rem;
  color: #64748b;
  line-height: 1.4;
  margin-bottom: 0;
  text-align: center;
}

.loan-type__btn {
  background: linear-gradient(135deg, #ff6600 0%, #ff8533 100%);
  color: white;
  border: none;
  border-radius: 12px;
  padding: 12px 20px;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 12px rgba(255, 102, 0, 0.3);
  margin-top: auto;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  box-shadow: 0 3px 12px rgba(198, 112, 42, 0.3);
}

.loan-type:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.12);
  border-color: rgba(102, 126, 234, 0.3);
  background: rgba(255, 255, 255, 0.95);
}

.loan-type:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.15);
}

.loan-type:hover .loan-type__icon {
  background: linear-gradient(135deg, #ff6600 0%, #ff8533 100%);
  transform: scale(1.1);
  box-shadow: 0 8px 20px rgba(255, 102, 0, 0.4);
}

.loan-type:hover .loan-type__icon img {
  filter: brightness(0) invert(1);
  transform: scale(1.1);
}

.loan-type__btn:hover {
  background: linear-gradient(135deg, #e55a00 0%, #e6731a 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(255, 102, 0, 0.5);
}

.cta {
  background: var(--bg);
  padding: 48px 0 32px 0;
  text-align: center;
}

.cta__container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.cta__text h2 {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--ink);
}

.cta__text p {
  font-size: 1.1rem;
  color: var(--muted);
}

.cta__btn {
  background: var(--accent);
  color: var(--bg);
  border: none;
  border-radius: 8px;
  padding: 14px 36px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}

.cta__btn:hover {
  background: var(--ink);
}

.reviews {
  background: linear-gradient(180deg, #f8f9fa 0%, #f0f0f0 100%);
  padding: 40px 0 30px 0;
  text-align: center;
}

.reviews__title {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 32px;
  color: var(--ink);
}

.reviews__carousel {
  display: flex;
  justify-content: center;
  gap: 24px;
  overflow-x: auto;
  padding: 0 20px;
}

.benefit__text {
  margin-top: 30px;
}

.review-card {
  background: var(--bg);
  border-radius: 16px;
  padding: 24px 20px;
  min-width: 280px;
  max-width: 320px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  flex-shrink: 0;
}

.review-card__stars {
  color: var(--accent);
  font-size: 1.2rem;
  margin-bottom: 12px;
}

.review-card__text {
  font-size: 0.95rem;
  color: var(--ink);
  margin-bottom: 16px;
  line-height: 1.4;
}

.review-card__author {
  font-size: 0.9rem;
  color: var(--muted);
  font-weight: 500;
}

.faq {
  background: linear-gradient(180deg, #f0f0f0 0%, #ffffff 100%);
  padding: 40px 0 30px 0;
}

.faq__title {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 32px;
  color: var(--ink);
  text-align: center;
}

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

.faq__item {
  border-bottom: 1px solid var(--line);
}

.faq__question {
  width: 100%;
  background: none;
  border: none;
  padding: 20px 0;
  text-align: left;
  font-size: 1rem;
  font-weight: 500;
  color: var(--ink);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq__question::after {
  content: '▼';
  font-size: 0.8rem;
  color: var(--muted);
  transition: transform 0.2s;
}

.faq__question.active::after {
  transform: rotate(180deg);
}

.faq__answer {
  padding: 0 0 20px 0;
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.4;
  display: none;
}

.faq__answer.active {
  display: block;
}

/* ===== FAQ – MODERN CARD ACCORDION ===== */
.faq {
  padding: 64px 0;
  background: linear-gradient(180deg, #fafafa 0%, #ffffff 100%);
}

.faq__list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  max-width: 1000px;
}

@media (min-width: 900px) {
  .faq__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }
}

.faq__item {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .06);
  overflow: hidden;
}

.faq__question {
  padding: 16px 18px;
  font-size: 1.05rem;
  color: var(--ink);
}

/* Chevron arrow built with borders */
.faq__question::after {
  content: '';
  width: 10px;
  height: 10px;
  margin-left: 12px;
  border-right: 2px solid var(--muted);
  border-bottom: 2px solid var(--muted);
  transform: rotate(-45deg);
}

.faq__question:focus {
  outline: none;
}

.faq__question:focus-visible {
  box-shadow: 0 0 0 3px rgba(198, 112, 42, .2) inset;
}

.faq__item.active .faq__question {
  color: var(--accent);
}

.faq__item.active .faq__question::after {
  transform: rotate(135deg);
  border-color: var(--accent);
}

.faq__answer {
  display: block;
  max-height: 0;
  overflow: hidden;
  padding: 0 18px;
  transition: max-height .3s ease, padding-top .2s ease;
}

.faq__item.active .faq__answer {
  max-height: 400px;
  padding-top: 6px;
  padding-bottom: 16px;
  color: var(--ink-light);
}

.footer {
  background: var(--ink);
  color: var(--bg);
  padding: var(--space-8) 0 var(--space-4) 0;
  margin-top: var(--space-16);
}

.footer__container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.footer__logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer__logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  transition: opacity 0.2s;
}

.footer__logo-link:hover {
  opacity: 0.8;
}

.footer__logo-img {
  height: 80px;
  width: auto;
  margin-top: 10px;
}

.footer__logo-text {
  font-size: 1.1rem;
  font-weight: bold;
  color: var(--bg);
}

.footer__logo-sub {
  font-size: 0.8em;
  color: var(--accent);
  font-weight: 400;
}

.footer__nav {
  display: flex;
  gap: 24px;
}

.footer__nav a {
  color: var(--bg);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.2s;
}

.footer__nav a:hover {
  color: var(--accent);
}

.footer__contacts {

  
  text-align: right;
  font-size: 0.9rem;
  color: var(--line);
  margin-bottom: 10px;
}

.footer__copy {
  display: flex;
  justify-content: center;
  text-align: center;
  font-size: 0.85rem;
  color: var(--muted);
  border-top: 1px solid var(--muted);
  padding-top: 16px;
}

.footer__copy p {
  margin-right: 30px;
}

.footer__copy p:last-child {
  margin-right: 0;
}

@media (max-width: 900px) {
  .footer__copy {
    display: flex;
    text-align: center;
    justify-content: center;
    flex-direction: column;
  }
}

.page-hero {
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.5) 50%, rgba(0, 0, 0, 0.7) 100%), url('Orion Finance-19.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 80px 0 60px 0;
  text-align: center;
  position: relative;
  transition: all 0.3s ease;
  min-height: 45vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Фон для страницы ювелирного ломбарда */
.page-hero--jewelry {
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.4) 50%, rgba(0, 0, 0, 0.6) 100%), url('постер\ ювелирка\ 11.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  padding: 80px 0 60px 0;
  text-align: center;
  position: relative;
  transition: all 0.3s ease;
  overflow: hidden;
  min-height: 45vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
.page-hero--jewelry::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: transparent;
  z-index: 1;
}

.page-hero--jewelry .container {
  position: relative;
  z-index: 2;
}

.page-hero--jewelry .page-hero__title,
.page-hero--jewelryworkshop .page-hero__title {
  font-size: 2.8rem !important;
  color: white;
  text-shadow: 0 8px 40px rgba(0, 0, 0, 0.6);
  animation: titleGlow 4s ease-in-out infinite alternate;
  filter: drop-shadow(0 4px 20px rgba(0, 0, 0, 0.3));
}

.page-hero--jewelry .page-hero__subtitle,
.page-hero--jewelryworkshop .page-hero__subtitle {
  font-size: 1.2rem !important;
  color: rgba(255, 255, 255, 0.95);
  text-shadow: 0 4px 25px rgba(0, 0, 0, 0.7);
  animation: subtitleFloat 5s ease-in-out infinite;
  font-weight: 500;
  letter-spacing: 0.5px;
}

@keyframes titleGlow {
  0% {
    text-shadow: 0 8px 40px rgba(0, 0, 0, 0.6);
    filter: drop-shadow(0 4px 20px rgba(0, 0, 0, 0.3));
  }

  100% {
    text-shadow: 0 8px 40px rgba(0, 0, 0, 0.6), 0 0 60px rgba(255, 255, 255, 0.4);
    filter: drop-shadow(0 4px 20px rgba(0, 0, 0, 0.3)) drop-shadow(0 0 30px rgba(255, 255, 255, 0.2));
  }
}
@keyframes subtitleFloat {

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

  50% {
    transform: translateY(-8px);
    opacity: 1;
  }
}

.page-hero--jewelry::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, rgba(255, 193, 7, 0.1) 30%, transparent 70%);
  border-radius: 50%;
  z-index: 1;
  animation: pulse 8s ease-in-out infinite;
}

@keyframes pulse {

  0%,
  100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.2;
  }

  50% {
    transform: translate(-50%, -50%) scale(1.3);
    opacity: 0.05;
  }
}

.page-hero--about {
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.4) 50%, rgba(0, 0, 0, 0.6) 100%), url('Orion\ Finance-34.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  /* padding: 80px 0 60px 0; */
  text-align: center;
  position: relative;
  transition: all 0.3s ease;
}

.page-hero--jewelryworkshop {
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.4) 50%, rgba(0, 0, 0, 0.6) 100%), url('Orion\ Finance-10.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 80px 0 60px 0;
  text-align: center;
  position: relative;
  transition: all 0.3s ease;
  min-height: 45vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-hero--about {
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.5) 50%, rgba(0, 0, 0, 0.7) 100%), url('https://images.unsplash.com/photo-1554224155-6726b3ff858f?w=1920&h=1080&fit=crop&crop=center');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  padding: 80px 0 60px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
  min-height: 45vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-hero--about::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(198, 112, 42, 0.1) 0%, rgba(0, 0, 0, 0.3) 50%, rgba(198, 112, 42, 0.1) 100%);
  z-index: 1;
}

.page-hero--about .container {
  position: relative;
  z-index: 2;
}

/* Стили для страницы О нас */
.about-company {
  background: #ffffff;
  padding: 80px 0;
}

.about-content {
  max-width: 1200px;
  margin: 0 auto;
}

.about-intro {
  margin-bottom: 60px;
}

.about-description {
  font-size: 1.1rem;
  line-height: 1.7;
  color: #4a5568;
  margin-bottom: 40px;
  text-align: center;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.services-highlight {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.service-highlight-item {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 30px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(198, 112, 42, 0.1);
  transition: all 0.3s ease;
}

.service-highlight-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
  border-color: rgba(198, 112, 42, 0.3);
}
.service-icon {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(198, 112, 42, 0.1) 0%, rgba(198, 112, 42, 0.2) 100%);
  border-radius: 50%;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.service-icon svg {
  width: 32px;
  height: 32px;
}

.service-highlight-item h3 {
  font-size: 1.2rem;
  font-weight: 600;
  color: #2d3748;
  margin-bottom: 8px;
}

.service-highlight-item p {
  color: #718096;
  line-height: 1.5;
}

.about-advantages,
.about-values {
  margin-bottom: 60px;
}

.about-advantages h2,
.about-values h2 {
  font-size: 2rem;
  font-weight: 700;
  color: #2d3748;
  text-align: center;
  margin-bottom: 40px;
}

.advantages-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.advantage-item,
.value-item {
  text-align: center;
  padding: 30px 20px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(198, 112, 42, 0.1);
  transition: all 0.3s ease;
}

.advantage-item:hover,
.value-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
  border-color: rgba(198, 112, 42, 0.3);
}

.advantage-icon,
.value-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 20px auto;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  transition: all 0.3s ease;
}

.advantage-icon svg,
.value-icon svg {
  width: 32px;
  height: 32px;
}

.advantage-item:hover .advantage-icon,
.value-item:hover .value-icon {
  background: rgba(198, 112, 42, 0.2);
  transform: scale(1.1);
}

.advantage-item h3,
.value-item h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: #2d3748;
  margin-bottom: 12px;
}

.advantage-item p,
.value-item p {
  color: #718096;
  line-height: 1.6;
  font-size: 0.95rem;
}

.about-position {
  background: linear-gradient(135deg, rgba(198, 112, 42, 0.05) 0%, rgba(198, 112, 42, 0.1) 100%);
  padding: 40px;
  border-radius: 20px;
  border: 1px solid rgba(198, 112, 42, 0.2);
  margin-bottom: 20px;
}

.about-position h2 {
  font-size: 1.8rem;
  font-weight: 700;
  color: #2d3748;
  margin-bottom: 20px;
  text-align: center;
}

.about-position p {
  font-size: 1rem;
  line-height: 1.7;
  color: #4a5568;
  margin-bottom: 16px;
}

.about-position p:last-child {
  margin-bottom: 0;
}

/* Стили для секций услуг, команды и сертификатов */
.services-overview,
.team-section,
.certificates-section {
  background: #f8fafc;
  padding: 40px 0;
}

.services-overview h2,
.team-section h2,
.certificates-section h2 {
  font-size: 2rem;
  font-weight: 700;
  color: #2d3748;
  text-align: center;
  margin-bottom: 50px;
}

.services-grid,
.certificates-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.service-card,
.team-member,
.certificate-item {
  background: rgba(255, 255, 255, 0.9);
  border-radius: 20px;
  padding: 40px 30px;
  text-align: center;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(198, 112, 42, 0.1);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.service-card:hover,
.team-member:hover,
.certificate-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
  border-color: rgba(198, 112, 42, 0.3);
}

.service-card .service-icon,
.certificate-item .certificate-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px auto;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(198, 112, 42, 0.1) 0%, rgba(198, 112, 42, 0.2) 100%);
  border-radius: 50%;
  transition: all 0.3s ease;
}

.service-card .service-icon svg,
.certificate-item .certificate-icon svg {
  width: 40px;
  height: 40px;
}

.service-card:hover .service-icon,
.certificate-item:hover .certificate-icon {
  background: rgba(198, 112, 42, 0.3);
  transform: scale(1.1);
}

.service-card h3,
.team-member h3,
.certificate-item h3 {
  font-size: 1.3rem;
  font-weight: 600;
  color: #2d3748;
  margin-bottom: 15px;
}

.service-card p,
.certificate-item p {
  color: #718096;
  line-height: 1.6;
  font-size: 0.95rem;
}


.member-position {
  color: var(--accent);
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Адаптивные стили для страницы О нас */
@media (max-width: 1024px) and (min-width: 769px) {

  .services-grid,
  .certificates-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }

  .team-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }
}

@media (max-width: 768px) {
  .page-hero--about {
    padding: 50px 0 30px 0;
    background-attachment: scroll;
  }

  .about-company {
    padding: 60px 0;
  }

  .about-description {
    font-size: 1rem;
    padding: 0 20px;
  }

  .services-highlight {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 30px;
  }

  .service-highlight-item {
    flex-direction: column;
    text-align: center;
    padding: 25px 20px;
  }

  .service-icon {
    width: 50px;
    height: 50px;
  }

  .service-icon svg {
    width: 24px;
    height: 24px;
  }

  .advantages-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .values-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .advantage-item,
  .value-item {
    padding: 25px 20px;
  }

  .about-position {
    padding: 30px 20px;
    margin-bottom: 15px;
  }

  .about-position h2 {
    font-size: 1.5rem;
  }

  .services-overview,
  .team-section,
  .certificates-section {
    padding: 30px 0;
  }

  .services-grid,
  .certificates-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 0 20px;
  }

  .team-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    padding: 0 20px;
  }

  .service-card,
  .team-member,
  .certificate-item {
    padding: 30px 20px;
  }


  .services-overview h2,
  .team-section h2,
  .certificates-section h2 {
    font-size: 1.5rem;
    margin-bottom: 30px;
  }
}

@media (max-width: 480px) {

  .advantages-grid,
  .values-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }
}

.page-hero__title {
  font-size: 2.2rem !important;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: white;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  line-height: 1.3;
  position: relative;
  z-index: 2;
}

.page-hero__title br {
  display: block;
  content: "";
  margin-top: 0.3em;
}

.page-hero__cta {
  background: linear-gradient(135deg, var(--accent) 0%, #ff6b35 100%);
  color: var(--bg);
  border: none;
  border-radius: var(--radius-xl);
  padding: var(--space-5) var(--space-8);
  font-size: 1.2rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-lg);
  margin-top: var(--space-8);
  position: relative;
  z-index: 2;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.page-hero__cta:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-xl);
}

.page-hero__cta:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(198, 112, 42, 0.3);
}

.page-hero__cta:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(198, 112, 42, 0.5), 0 4px 16px rgba(198, 112, 42, 0.3);
}

.page-hero__cta:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.page-hero__image {
  text-align: center;
  margin-bottom: 20px;
}

.hero-jewelry-image {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  max-height: 400px;
  object-fit: cover;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.page-hero__cta {
  animation: fadeInUp 0.6s ease-out 0.3s both;
}

.page-hero__subtitle {
  font-size: 1.2rem !important;
  color: rgba(255, 255, 255, 0.95);
  text-shadow: 0 3px 20px rgba(0, 0, 0, 0.7);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  font-weight: 500;
  position: relative;
  z-index: 2;
}

.contacts {
  background: var(--bg);
  padding: 48px 0 32px 0;
}

.contacts__container {
  display: flex;
  gap: 48px;
  align-items: flex-start;
}

.contacts__info {
  flex: 1;
  background: var(--bg);
  border-radius: 18px;
  padding: 32px;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.04);
}

.contacts__info h2 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 24px;
  color: #222;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
}

.contact-item__icon {
  font-size: 1.5rem;
  width: 40px;
  height: 40px;
  background: var(--bg);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-item__title {
  font-size: 1rem;
  font-weight: 600;
  color: #222;
  margin-bottom: 4px;
}

.contact-item__value {
  font-size: 0.95rem;
  color: #888;
  line-height: 1.4;
}

.contacts__form {
  flex: 1;
  background: var(--bg);
  border-radius: 18px;
  padding: 32px;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.contacts__form h2 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: #222;
}

.contacts__form input,
.contacts__form textarea {
  padding: 12px 14px;
  border: 1px solid #ececec;
  border-radius: 8px;
  font-size: 1rem;
  resize: none;
}

.contacts__checkbox {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
  color: #888;
}

.contacts__submit {
  background: #ff6600;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 12px 0;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}

.contacts__submit:hover {
  background: #222;
}

.contacts__map {
  margin-top: 32px;
}

.contacts__map h3 {
  font-size: 1.2rem;
  font-weight: 600;
  color: #222;
  margin-bottom: 16px;
}

.contacts__map iframe {
  width: 100%;
  height: 300px;
  border-radius: 12px;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.08);
}

.loans-detailed {
  background: var(--bg);
  padding: 48px 0 32px 0;
}
.loan-detailed {
  background: var(--bg);
  border-radius: 18px;
  margin-bottom: 32px;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.04);
  overflow: hidden;
}

.loan-detailed__header {
  background: #ff6600;
  color: #fff;
  padding: 24px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.loan-detailed__header h2 {
  font-size: 1.4rem;
  font-weight: 700;
  margin: 0;
}

.loan-detailed__badge {
  background: rgba(255, 255, 255, 0.2);
  padding: 6px 12px;
  border-radius: 16px;
  font-size: 0.85rem;
  font-weight: 500;
}

.loan-detailed__content {
  padding: 32px;
  display: grid;
  grid-template-columns: 1fr 2fr auto;
  gap: 32px;
  align-items: start;
}

.loan-detailed__info {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.loan-detailed__item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid #f0f0f0;
}

.loan-detailed__label {
  font-size: 0.9rem;
  color: #888;
}

.loan-detailed__value {
  font-size: 0.95rem;
  font-weight: 600;
  color: #222;
}

.loan-detailed__description {
  line-height: 1.6;
}

.loan-detailed__description h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: #222;
  margin: 24px 0 12px 0;
}

.loan-detailed__description h3:first-child {
  margin-top: 0;
}

.loan-detailed__description ul {
  margin: 0;
  padding-left: 20px;
}

.loan-detailed__description li {
  font-size: 0.95rem;
  color: #666;
  margin-bottom: 6px;
}

.loan-detailed__btn {
  background: #ff6600;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 12px 24px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
  white-space: nowrap;
  align-self: start;
}

.loan-detailed__btn:hover {
  background: #222;
}

.map-section {
  background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 100%);
  padding: 40px 0 30px 0;
}

.map-section__title {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 32px;
  color: #222;
  text-align: center;
}

.map-section__content {
  display: flex;
  gap: 48px;
  align-items: flex-start;
}

.map-section__info {
  flex: 1;
  max-width: 300px;
  display: flex;
  flex-direction: column;
}

/* Специальные стили для страницы контактов */
.contacts-page .map-section__info {
  max-width: 400px;
  min-height: 400px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.contacts-page .map-section__info h3 {
  margin-bottom: 20px;
  padding-bottom: 8px;
  border-bottom: 2px solid #ff6600;
  display: inline-block;
}

.contacts-page .map-section__content {
  align-items: stretch;
}

.map-section__info h3 {
  font-size: 1.3rem;
  font-weight: 600;
  color: #222;
  margin-bottom: 16px;
}

.map-section__info p {
  font-size: 1rem;
  color: #666;
  margin-bottom: 12px;
  line-height: 1.4;
}

.map-section__map {
  flex: 2;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.08);
  min-height: 400px;
  height: 500px;
  background: var(--bg);
  color: var(--ink);
  width: 100%;
}

/* Специальные стили для страницы контактов */
.contacts-page .map-section__map {
  height: 500px;
  min-height: 500px;
}

/* Для других страниц оставляем стандартную высоту */
.map-section__map:not(.contacts-page .map-section__map) {
  min-height: 400px;
  height: 500px;
}
.map-section__map iframe {
  width: 100% !important;
  height: 100% !important;
  min-height: 400px !important;
  border-radius: 12px;
  border: none;
}

.jewelry-calculator {
  background: var(--bg);
  padding: 48px 0 32px 0;
}

.jewelry-calculator__title {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 32px;
  color: #222;
  text-align: center;
}

.jewelry-benefits {
  background: var(--bg);
  padding: 48px 0 32px 0;
}

.jewelry-benefits__title {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 32px;
  color: #222;
  text-align: center;
}

.jewelry-benefits__list {
  display: flex;
  justify-content: center;
  gap: 32px;
}

.jewelry-benefit {
  background: var(--bg);
  border-radius: 16px;
  padding: 28px 22px;
  min-width: 200px;
  max-width: 280px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
}

.jewelry-benefit__icon {
  font-size: 2rem;
  margin-bottom: 8px;
}

.jewelry-benefit__title {
  font-size: 1.1rem;
  font-weight: 600;
  color: #222;
  margin-bottom: 4px;
}

.jewelry-benefit__desc {
  font-size: 0.97rem;
  color: #888;
  text-align: center;
}

.jewelry-application {
  background: var(--bg);
  padding: 48px 0 32px 0;
}

.auto-calculator {
  background: var(--bg);
  padding: 48px 0 32px 0;
}

.auto-calculator__title {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 32px;
  color: #222;
  text-align: center;
}

.auto-benefits {
  background: var(--bg);
  padding: 48px 0 32px 0;
}

.auto-benefits__title {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 32px;
  color: #222;
  text-align: center;
}

.auto-benefits__list {
  display: flex;
  justify-content: center;
  gap: 32px;
}

.auto-benefit {
  background: white;
  border-radius: 16px;
  padding: 32px 24px;
  min-width: 220px;
  max-width: 280px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  min-height: 180px;
  justify-content: flex-start;
}

.auto-benefit__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  margin-bottom: 0;
  flex-shrink: 0;
}

.auto-benefit__icon img,
.auto-benefit__icon svg {
  width: 48px;
  height: 48px;
  display: block;
}

.auto-benefit__text {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  flex: 1;
  justify-content: center;
}

.auto-benefit__title {
  font-size: 1.1rem;
  font-weight: 600;
  color: #222;
  margin: 0;
  text-align: center;
  line-height: 1.3;
}

.auto-benefit__desc {
  font-size: 0.9rem;
  color: #666;
  text-align: center;
  margin: 0;
  line-height: 1.4;
}

.auto-application {
  background: var(--bg);
  padding: 48px 0 32px 0;
}

.contacts-main {
  background: var(--bg);
  padding: 48px 0 32px 0;
}

.contacts-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  align-items: stretch;
  background: var(--bg);
  border-radius: 16px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  overflow: hidden;
}

.contacts-info {
  background: var(--bg);
  border-radius: 0;
  padding: 32px;
  box-shadow: none;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 500px;
}

.contacts-info__title {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 24px;
  color: #222;
}

.contacts-info__list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  flex: 1;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  background: var(--bg);
  border-radius: 12px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.02);
  flex: 1;
}

.contact-item__icon {
  font-size: 1.5rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-item__content {
  flex: 1;
}

.contact-item__label {
  font-size: 0.9rem;
  font-weight: 600;
  color: #666;
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.contact-item__value {
  font-size: 1.1rem;
  color: #222;
  font-weight: 500;
}

.contact-item__link {
  color: #222;
  text-decoration: none;
  transition: color 0.2s;
}

.contact-item__link:hover {
  color: #007bff;
}

.contacts-map {
  background: var(--bg);
  border-radius: 0;
  padding: 32px;
  box-shadow: none;
  display: flex;
  flex-direction: column;
  min-height: 500px;
}

.contacts-map__container {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  flex: 1;
}

.contacts-map__container iframe {
  border-radius: 12px;
  width: 100%;
  height: 100%;
  min-height: 400px;
}

.login-section {
  background: var(--bg);
  min-height: calc(100vh - 200px);
  display: flex;
  align-items: center;
  padding: 48px 0;
}

.login-container {
  max-width: 480px;
  margin: 0 auto;
  background: var(--bg);
  border-radius: 16px;
  padding: 48px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.login-header {
  text-align: center;
  margin-bottom: 32px;
}

.login-title {
  font-size: 2rem;
  font-weight: 700;
  color: #222;
  margin-bottom: 8px;
}

.login-subtitle {
  font-size: 1.1rem;
  color: #888;
}


.login-step {
  animation: fadeIn 0.3s ease-in-out;
}

.form-group {
  margin-bottom: 24px;
}

.channel-step {
  display: none;
  margin-top: 24px;
  padding: 20px;
  border-radius: 16px;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  animation: fadeIn 0.3s ease-in-out;
}

.channel-step.active {
  display: block;
}

.channel-description {
  font-size: 0.95rem;
  color: #475569;
  margin-bottom: 16px;
}

.channel-selector {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.radio-option {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
  user-select: none;
  background: #fff;
}

.radio-option.disabled {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}

.radio-option input[type="radio"] {
  margin-top: 4px;
  accent-color: var(--color-primary, #ff6b35);
}

.radio-content {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.radio-title {
  font-size: 1rem;
  font-weight: 600;
  color: #1e293b;
}

.radio-subtitle {
  font-size: 0.85rem;
  color: #64748b;
}

.radio-option.selected {
  border-color: var(--color-primary, #ff6b35);
  background: rgba(255, 107, 53, 0.12);
}

.radio-option.selected .radio-title {
  color: var(--color-primary, #ff6b35);
}

.radio-option.selected .radio-subtitle {
  color: var(--color-primary, #ff6b35);
}

.step-secondary-actions {
  display: none;
  margin: 0 0 16px 0;
  justify-content: flex-end;
  align-items: center;
  gap: 8px;
}

.step-secondary-actions .btn-text {
  font-size: 0.95rem;
}

.form-label--inline {
  display: block;
  font-size: 1rem;
  font-weight: 600;
  color: #222;
  margin-bottom: 8px;
}

.form-label {
  display: block;
  font-size: 1rem;
  font-weight: 600;
  color: #222;
  margin-bottom: 8px;
}

.form-input {
  width: 100%;
  padding: 16px;
  border: 2px solid #e0e0e0;
  border-radius: 12px;
  font-size: 1.1rem;
  transition: border-color 0.2s;
  box-sizing: border-box;
}

.form-static {
  width: 100%;
  padding: 16px 20px;
  border-radius: 12px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  font-size: 1rem;
  font-weight: 600;
  color: #1e293b;
  box-sizing: border-box;
}

.form-note {
  margin-top: 8px;
  font-size: 0.9rem;
  color: #64748b;
  line-height: 1.4;
}

.form-note--warning {
  color: #dc2626;
}

.form-input:focus {
  outline: none;
  border-color: #007bff;
}

.phone-input {
  display: flex;
  gap: 12px;
  align-items: center;
}

.phone-input .form-input {
  flex: 1;
}

.send-code-btn {
  background: #007bff;
  color: #fff;
  border: none;
  border-radius: 12px;
  padding: 16px 24px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
  white-space: nowrap;
}

.send-code-btn:hover {
  background: #0056b3;
}

.otp-section {
  display: none;
  margin-top: 12px;
  animation: fadeIn 0.3s ease-in-out;
}

.otp-section.active {
  display: block;
}

.otp-description {
  font-size: 0.95rem;
  color: #475569;
  margin-bottom: 16px;
  line-height: 1.4;
}

.otp-actions {
  display: flex;
  gap: 16px;
  margin-top: 12px;
}

.btn-text {
  background: none;
  border: none;
  color: var(--color-primary, #ff6b35);
  padding: 0;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.btn-text:disabled {
  opacity: 0.6;
  cursor: default;
}

.btn-text:hover:not(:disabled) {
  opacity: 0.8;
}

.otp-input {
  text-align: center;
  letter-spacing: 6px;
  font-size: 1.4rem;
  font-weight: 600;
}

.otp-channel {
  font-weight: 600;
  color: var(--color-primary, #ff6b35);
}

.form-info {
  background: var(--bg);
  border-radius: 8px;
  padding: 16px;
  margin-top: 16px;
}

.form-info p {
  margin: 0;
  font-size: 0.95rem;
  color: #666;
}

.code-input {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-bottom: 16px;
}

.code-digit {
  width: 60px;
  height: 60px;
  text-align: center;
  font-size: 1.5rem;
  font-weight: 600;
  border: 2px solid #e0e0e0;
  border-radius: 12px;
  transition: border-color 0.2s;
}

.code-digit:focus {
  outline: none;
  border-color: #007bff;
}

.code-timer {
  text-align: center;
  font-size: 0.95rem;
  color: #666;
  margin-bottom: 24px;
}

.form-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.resend-btn,
.back-btn {
  padding: 12px 24px;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  background: var(--bg);
  color: #666;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
}

.resend-btn:hover,
.back-btn:hover {
  border-color: #007bff;
  color: #007bff;
}

.resend-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.success-message {
  text-align: center;
  padding: 32px 0;
}

.success-icon {
  font-size: 4rem;
  margin-bottom: 16px;
}

.success-message h2 {
  font-size: 1.8rem;
  font-weight: 700;
  color: #222;
  margin-bottom: 8px;
}

.success-message p {
  font-size: 1.1rem;
  color: #666;
  margin-bottom: 24px;
}
.dashboard-btn {
  background: #007bff;
  color: #fff;
  border: none;
  border-radius: 12px;
  padding: 16px 32px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}

.dashboard-btn:hover {
  background: #0056b3;
}

.login-footer {
  text-align: center;
  border-top: 1px solid #e0e0e0;
  padding-top: 24px;
}

.login-footer p {
  margin: 8px 0;
  font-size: 0.95rem;
  color: #666;
}

.register-link,
.forgot-link {
  color: #007bff;
  text-decoration: none;
  font-weight: 500;
}

.register-link:hover,
.forgot-link:hover {
  text-decoration: underline;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 600px) {
  .login-container {
    padding: 32px 24px;
    margin: 0 16px;
  }

  .phone-input {
    flex-direction: column;
    gap: 16px;
  }

  .send-code-btn {
    width: 100%;
  }

  .code-input {
    gap: 8px;
  }

  .code-digit {
    width: 50px;
    height: 50px;
    font-size: 1.3rem;
  }

  .nav {
    gap: 20px;
    margin: 0 5px;
  }

  .nav a {
    font-size: 0.75rem;
  }

  .header__login {
    padding: 12px 20px;
    font-size: 0.9rem;
  }

  .header__login-text {
    display: none;
  }

  .header__login-icon {
    display: inline;
  }

  .header__container {
    min-height: 80px;
    padding: 10px 0;
  }

  .application__image {
    min-height: 300px;
    height: 350px;
  }

  .promo-line {
    font-size: 1.8rem;
  }

  .promo-offer {
    padding: 35px 18px;
  }

  .page-hero__title {
    font-size: 2.2rem;
    margin-bottom: 14px;
    padding: 0 12px;
    line-height: 1.4;
  }

  .page-hero__title br {
    margin-top: 0.2em;
  }

  .page-hero--jewelry {
    background-attachment: scroll;
  }
}
@media (max-width: 900px) {
  .page-hero {
    padding: 60px 0 40px 0;
    background-attachment: scroll;
  }

  .page-hero--jewelry {
    background-attachment: scroll;
  }

  .page-hero--jewelry .page-hero__title,
  .page-hero--jewelryworkshop .page-hero__title {
    font-size: 2.2rem !important;
  }

  .page-hero--jewelry .page-hero__subtitle,
  .page-hero--jewelryworkshop .page-hero__subtitle {
    font-size: 1rem !important;
  }

  .page-hero__title {
    font-size: 3rem;
    margin-bottom: 18px;
    padding: 0 20px;
    line-height: 1.4;
  }

  .page-hero__title br {
    margin-top: 0.25em;
  }

  .page-hero__subtitle {
    font-size: 1.2rem;
    padding: 0 20px;
  }

  .page-hero__cta {
    font-size: 1.1rem;
    padding: 16px 32px;
    margin-top: 28px;
  }

  .hero-jewelry-image {
    max-height: 350px;
  }

  .nav {
    gap: 40px;
    margin: 0 15px;
  }

  .nav a {
    font-size: 0.85rem;
  }

  .calculator__input-group input[type="text"] {
    font-size: 1rem;
    padding: 10px 14px;
    height: 65px;
    font-family: inherit;
  }

  .calculator__input-group .calculator__result-value {
    height: 65px;
    padding: 10px 14px;
    font-size: 1rem;
    font-family: inherit;
    color: var(--accent);
  }

  .calculator__inline {
    gap: 25px;
  }

  .calculator__input-group {
    max-width: 375px;
    min-width: 270px;
  }

  .calculator__input-group:first-child {
    max-width: 410px;
    min-width: 293px;
  }

  .calculator__submit {
    padding: 20px 36px;
    font-size: 1.2rem;
    min-width: 203px;
    max-width: 248px;
    height: 65px;
  }

  .header__container {
    min-height: 95px;
    padding: 18px 0;
  }

  .container {
    padding: 0;
    margin: 0;
    width: 100%;
    max-width: 100%;
  }

  .application__container,
  .benefits__list {
    flex-direction: column;
    gap: 18px;
    align-items: stretch;
  }

  .application__content {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .application__form {
    padding: 28px 20px;
    gap: 18px;
  }

  .application__title {
    font-size: 1.8rem;
  }

  .application__subtitle {
    font-size: 1rem;
  }

  .application__title {
    font-size: 1.5rem;
  }

  .application__form input[type="tel"],
  .application__form input[type="text"],
  .application__form select {
    padding: 12px 16px;
    font-size: 16px;
    /* Предотвращает зум на iOS */
  }

  .application__submit {
    padding: 14px 0;
    font-size: 1rem;
  }

  .application__image {
    margin-left: 0;
    min-height: 350px;
    height: 400px;
  }

  .steps__cards,
  .loan-types__list {
    flex-direction: column;
    align-items: center;
  }

  .footer__container {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

  .footer__contacts {
    text-align: center;
  }

  .contacts__container {
    flex-direction: column;
    gap: 24px;
  }

  .loan-detailed__content {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .loan-detailed__btn {
    align-self: stretch;
  }

  .map-section__content {
    flex-direction: column;
    gap: 24px;
  }

  .map-section__info {
    max-width: none;
  }

  .contacts-page .map-section__info {
    max-width: none;
    min-height: auto;
  }

  .contacts-page .map-section__info h3 {
    margin-top: 24px;
  }

  .contacts-page .map-section__map {
    min-height: 300px;
  }

  .jewelry-benefits__list {
    flex-direction: column;
    align-items: center;
  }

  .auto-benefits__list {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .auto-benefit {
    min-width: 100%;
    max-width: 100%;
    min-height: 160px;
    padding: 24px 20px;
  }

  .contacts-content {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .contacts-info {
    border-radius: 0;
  }

  .contacts-map {
    border-radius: 0;
  }

  /* Убираем отступы у всех секций на планшетах */
  section {
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    width: 100% !important;
  }

  /* Контент внутри секций получает отступы */
  .container>* {
    padding-left: 24px;
    padding-right: 24px;
  }
}

@media (max-width: 800px) {
  .features-list {
    flex-direction: column;
    gap: 20px;
  }

  .hero h1 {
    font-size: 2.1rem;
  }

  .nav {
    gap: 30px;
    margin: 0 10px;
  }

  .nav a {
    font-size: 0.8rem;
  }

  .header__login {
    padding: 14px 24px;
    font-size: 1rem;
  }

  .header__container {
    min-height: 90px;
    padding: 15px 0;
  }

  .application__image {
    min-height: 300px;
    height: 350px;
  }

  .promo-line {
    font-size: 2.2rem;
  }

  .promo-offer {
    padding: 45px 22px;
  }

  .page-hero__title {
    font-size: 2.8rem;
    line-height: 1.4;
  }

  .page-hero__title br {
    margin-top: 0.25em;
  }

  .page-hero__cta {
    font-size: 1rem;
    padding: 14px 28px;
    margin-top: 24px;
  }

  .hero-jewelry-image {
    max-height: 300px;
  }

  .calculator__input-group input[type="text"] {
    height: 60px;
    font-family: inherit;
  }

  .calculator__input-group .calculator__result-value {
    height: 60px;
    font-size: 0.95rem;
    font-family: inherit;
    color: var(--accent);
  }

  .calculator__submit {
    height: 60px;
  }
}

@media (max-width: 600px) {
  .container {
    padding: 0;
    margin: 0;
    width: 100%;
    max-width: 100%;
  }

  .header,
  .features,
  .about,
  .contact,
  .hero,
  .calculator,
  .application,
  .benefits,
  .steps,
  .loan-types,
  .cta,
  .reviews,
  .faq,
  .footer,
  .map-section,
  .jewelry-calculator,
  .jewelry-benefits,
  .auto-calculator,
  .auto-benefits,
  .contacts-main,
  .contacts-content,
  .contacts-info,
  .contacts-map,
  .loans-contacts,
  .jewelry-contacts {
    padding-left: 0;
    padding-right: 0;
    margin-left: 0;
    margin-right: 0;
    width: 100%;
  }

  .logo {
    font-size: 1.3rem;
  }

  .hero-jewelry-image {
    max-height: 200px;
  }

  /* Убираем все отступы у секций на мобильных */
  section {
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    width: 100% !important;
  }

  /* Контент внутри секций получает отступы */
  .container>* {
    padding-left: 16px;
    padding-right: 16px;
  }
}

@media (min-width: 701px) {
  .header__container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
  }

  .logo {
    flex: 0 0 auto;
    margin-right: 0;
  }

  .nav {
    flex: 1 1 0;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    position: relative;
    left: 0;
    transform: none;
    background: none;
    box-shadow: none;
    padding: 0;
    height: auto;
    max-width: none;
  }

  .nav a,
  .nav .header__login {
    width: auto;
    text-align: center;
    font-size: 0.9rem;
    padding: 0;
    border-bottom: none;
    background: none;
    margin: 0;
    border-radius: 0;
    color: #fff;
    display: inline-block;
  }

  .header__login {
    flex: 0 0 auto;
    margin-left: 32px;
    margin-right: 0;
    width: auto;
    display: inline-block;
    font-size: 0.9rem;
    margin-bottom: 0;
    align-self: center;
  }

  .burger {
    display: none !important;
  }
}

.user-menu {
  display: flex;
  align-items: center;
  gap: 16px;
}

.user-name {
  color: #fff;
  font-weight: 500;
  font-size: 1rem;
}

.logout-btn {
  background: transparent;
  border: 1px solid #fff;
  color: #fff;
  border-radius: 8px;
  padding: 8px 16px;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.2s;
}

.logout-btn:hover {
  background: var(--bg);
  color: #222;
}

.dashboard-section {
  background: var(--bg);
  min-height: calc(100vh - 200px);
  padding: 48px 0;
}

.dashboard-header {
  margin-bottom: 32px;
}

.dashboard-title {
  font-size: 2.2rem;
  font-weight: 700;
  color: #222;
  margin-bottom: 24px;
}

.dashboard-tabs {
  display: flex;
  gap: 8px;
  border-bottom: 2px solid #e0e0e0;
}

.dashboard-tab {
  background: transparent;
  border: none;
  padding: 16px 24px;
  font-size: 1.1rem;
  font-weight: 500;
  color: #666;
  cursor: pointer;
  transition: all 0.2s;
  border-bottom: 3px solid transparent;
}

.dashboard-tab:hover {
  color: #007bff;
}

.dashboard-tab--active {
  color: #007bff;
  border-bottom-color: #007bff;
}

.dashboard-content {
  animation: fadeIn 0.3s ease-in-out;
}

.dashboard-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
  margin-bottom: 48px;
}

.stat-card {
  background: var(--bg);
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  display: flex;
  align-items: center;
  gap: 16px;
}

.stat-icon {
  font-size: 2.5rem;
  flex-shrink: 0;
}

.stat-info {
  flex: 1;
}

.stat-value {
  font-size: 1.8rem;
  font-weight: 700;
  color: #222;
  margin-bottom: 4px;
}

.stat-label {
  font-size: 0.95rem;
  color: #666;
}

.section-title {
  font-size: 1.6rem;
  font-weight: 700;
  color: #222;
  margin-bottom: 24px;
}

.loans-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.new-loan-btn {
  background: #007bff;
  color: #fff;
  border: none;
  border-radius: 12px;
  padding: 12px 24px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}

.new-loan-btn:hover {
  background: #0056b3;
}

.loans-filters {
  display: flex;
  gap: 12px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.filter-btn {
  background: var(--bg);
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  padding: 8px 16px;
  font-size: 0.95rem;
  font-weight: 500;
  color: #666;
  cursor: pointer;
  transition: all 0.2s;
}

.filter-btn:hover {
  border-color: #007bff;
  color: #007bff;
}
.filter-btn--active {
  border-color: #007bff;
  color: #007bff;
  background: var(--bg);
}

.loans-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.loan-card {
  background: var(--bg);
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  border: 1px solid #f0f0f0;
}

.loan-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.loan-type {
  font-size: 1.1rem;
  font-weight: 600;
  color: #222;
}

.loan-status {
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 500;
}

.loan-status--active {
  background: var(--bg);
  color: #2e7d32;
}
.loan-status--closed {
  background: var(--bg);
  color: #666;
}

.loan-status--overdue {
  background: var(--bg);
  color: #d32f2f;
}

.loan-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
  margin-bottom: 20px;
}

.loan-info>div {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.loan-info .label {
  font-size: 0.9rem;
  color: #666;
}

.loan-info .value {
  font-weight: 600;
  color: #222;
}

.loan-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.loan-btn {
  padding: 8px 16px;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  background: var(--bg);
  color: #666;
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
}

.loan-btn:hover {
  border-color: #007bff;
  color: #007bff;
}

.loan-btn--primary {
  background: #007bff;
  color: #fff;
  border-color: #007bff;
}

.loan-btn--primary:hover {
  background: #0056b3;
  border-color: #0056b3;
  color: #fff;
}

.profile-section {
  background: var(--bg);
  border-radius: 16px;
  padding: 15px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.profile-form {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.loading {
  text-align: center;
  padding: 48px;
  color: #666;
  font-size: 1.1rem;
}

.no-data {
  text-align: center;
  padding: 48px;
  color: #666;
  font-size: 1.1rem;
}

@media (max-width: 900px) {
  .dashboard-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .loans-header {
    flex-direction: column;
    gap: 16px;
    align-items: stretch;
  }

  .loan-info {
    grid-template-columns: 1fr;
  }

  .profile-form {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 600px) {
  .dashboard-stats {
    grid-template-columns: 1fr;
  }

  .dashboard-tabs {
    flex-wrap: wrap;
  }

  .dashboard-tab {
    flex: 1;
    min-width: 120px;
  }

  .loans-filters {
    justify-content: center;
  }

  .loan-actions {
    justify-content: center;
  }
}
.loans-contacts,
.jewelry-contacts {
  background: var(--bg);
  padding: 48px 0 32px 0;
}

.loans-contacts-content,
.jewelry-contacts-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: stretch;
  background: var(--bg);
  border-radius: 16px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  overflow: hidden;
}

.loans-contacts-info,
.jewelry-contacts-info {
  background: var(--bg);
  border-radius: 0;
  padding: 32px;
  box-shadow: none;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 400px;
}

.loans-contacts-title,
.jewelry-contacts-title {
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 24px;
  color: #222;
}

.loans-contacts-list,
.jewelry-contacts-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex: 1;
}

.loans-contacts-map,
.jewelry-contacts-map {
  background: var(--bg);
  border-radius: 0;
  padding: 32px;
  box-shadow: none;
  display: flex;
  flex-direction: column;
  min-height: 400px;
}

.loans-contacts-map__container,
.jewelry-contacts-map__container {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  flex: 1;
}

.loans-contacts-map__container iframe,
.jewelry-contacts-map__container iframe {
  border-radius: 12px;
  width: 100%;
  height: 100%;
  min-height: 300px;
}

@media (max-width: 900px) {

  .loans-contacts-content,
  .jewelry-contacts-content {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .loans-contacts-info,
  .jewelry-contacts-info {
    border-radius: 0;
  }

  .loans-contacts-map,
  .jewelry-contacts-map {
    border-radius: 0;
  }
}

/* Уведомления */
.notification {
  position: fixed;
  top: 20px;
  right: 20px;
  padding: 15px 20px;
  border-radius: 8px;
  color: white;
  font-weight: 500;
  z-index: 10000;
  max-width: 400px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transform: translateX(100%);
  transition: transform 0.3s ease;
}

.notification--success {
  background-color: #28a745;
}

.notification--error {
  background-color: #dc3545;
}

.notification--info {
  background-color: #17a2b8;
}

/* Анимация появления */
.notification.show {
  transform: translateX(0);
}

/* Адаптивность для мобильных */
@media (max-width: 768px) {
  .notification {
    right: 10px;
    left: 10px;
    max-width: none;
    transform: translateY(-100%);
  }

  .notification.show {
    transform: translateY(0);
  }
}

/* Бургер-меню */
.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1002;
}

.burger span {
  display: block;
  width: 28px;
  height: 4px;
  margin: 4px 0;
  background: var(--bg);
  border-radius: 2px;
  transition: 0.3s;
}

@media (max-width: 700px) {
  .page-hero {
    padding: 50px 0 30px 0;
    background-attachment: scroll;
  }

  .page-hero--jewelry {
    background-attachment: scroll;
  }

  .page-hero__title {
    font-size: 2.5rem;
    margin-bottom: 16px;
    padding: 0 16px;
    line-height: 1.4;
  }

  .page-hero__title br {
    margin-top: 0.25em;
  }

  .page-hero__subtitle {
    font-size: 1.1rem;
    padding: 0 16px;
  }

  .page-hero__cta {
    font-size: 0.95rem;
    padding: 14px 24px;
    margin-top: 20px;
  }

  .calculator__input-group input[type="text"] {
    font-size: 0.95rem;
    padding: 8px 12px;
  }

  .calculator__input-hint {
    font-size: 0.8rem;
    margin-top: 6px;
  }

  .calculator__result {
    max-width: 260px;
    padding: 12px 16px;
  }

  .calculator__result-value {
    font-size: 1.2rem;
  }

  .calculator__inline {
    gap: 20px;
  }

  .calculator__input-group {
    max-width: 330px;
    min-width: 240px;
  }

  .calculator__input-group:first-child {
    max-width: 360px;
    min-width: 260px;
  }

  .calculator__submit {
    padding: 18px 30px;
    font-size: 1.1rem;
    min-width: 180px;
    max-width: 220px;
  }

  .calculator__input-group .calculator__result-value {
    padding: 14px 18px;
    font-size: 1.5rem;
  }

  .burger {
    display: flex;
    position: absolute;
    top: 18px;
    right: 18px;
    z-index: 1002;
  }

  .nav {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: 80vw;
    max-width: 320px;
    background: #222;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 80px 24px 24px 24px;
    box-shadow: -2px 0 16px rgba(0, 0, 0, 0.12);
    transform: translateX(100%);
    transition: transform 0.3s;
    z-index: 1001;
    border-radius: 12px 0 0 12px;
  }

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

  .nav a,
  .nav .header__login {
    width: 100%;
    text-align: left;
    font-size: 0.95rem;
    padding: 16px 0;
    border-bottom: 1px solid #333;
    background: none;
    margin: 0;
    border-radius: 0;
    color: #fff;
    display: block;
  }

  .nav .header__login {
    margin-top: 12px;
    border: 1px solid #444;
    border-radius: 8px;
    background: #333;
    color: #fff;
    font-weight: 500;
    text-align: center;
    padding: 12px 0;
    border-bottom: none;
  }

  .header__container {
    position: relative;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    min-height: 60px;
    padding: 8px 0;
    padding-right: 80px;
  }

  .logo {
    margin-bottom: 0;
    flex: 1;
    max-width: 200px;
  }

  .logo__img {
    height: 70px;
  }

  body.menu-open {
    overflow: hidden;
  }
}

@media (max-width: 480px) {
  .page-hero {
    padding: 40px 0 25px 0;
  }

  .page-hero__title {
    font-size: 2.2rem;
    margin-bottom: 14px;
    padding: 0 12px;
    line-height: 1.4;
  }

  .page-hero__subtitle {
    font-size: 1rem;
    padding: 0 12px;
  }

  .page-hero__cta {
    font-size: 0.85rem;
    padding: 10px 18px;
    margin-top: 16px;
  }

  .calculator__input-group input[type="text"] {
    font-size: 0.9rem;
    padding: 8px 10px;
    height: 55px;
    font-family: inherit;
  }

  .calculator__input-group .calculator__result-value {
    height: 55px;
    padding: 8px 10px;
    font-size: 0.9rem;
    font-family: inherit;
    color: var(--accent);
  }

  .calculator__input-hint {
    font-size: 0.75rem;
    margin-top: 4px;
  }

  .calculator__inline {
    flex-direction: column;
    gap: 22px;
    align-items: center;
  }

  .calculator__input-group {
    max-width: 100%;
    min-width: auto;
  }

  .calculator__submit {
    width: 100%;
    max-width: 450px;
    min-width: auto;
    height: 55px;
  }
}

/* Мобильная карта */
@media (max-width: 700px) {
  .map-section__map {
    min-height: 400px !important;
    height: 450px !important;
    max-height: 500px !important;
    margin-top: 20px;
    width: 100% !important;
    border-radius: 0 !important;
  }

  #map {
    min-height: 400px !important;
    height: 450px !important;
    max-height: 500px !important;
    width: 100% !important;
    border-radius: 0 !important;
  }

  .map-section__content {
    flex-direction: column;
    gap: 24px;
    width: 100%;
  }

  .map-section__info {
    max-width: 100%;
    order: 2;
    width: 100%;
  }

  .map-section__map {
    order: 1;
    width: 100%;
  }
}

@media (max-width: 700px) {
  .container {
    padding: 0;
    margin: 0;
    width: 100%;
    max-width: 100%;
  }

  section {
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    width: 100% !important;
  }

  .application__container {
    max-width: 100% !important;
    margin: 0 !important;
    flex-direction: column !important;
    gap: 24px !important;
  }

  .application__form {
    max-width: 100% !important;
    min-width: auto !important;
    border-radius: 0 !important;
  }

  .application__image {
    margin-left: 0 !important;
    border-radius: 0 !important;
  }

  /* Стили для кнопки личного кабинета на мобильных */
  .header__login {
    padding: 8px 12px !important;
    min-width: 40px !important;
    height: 40px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin-right: 60px !important;
    position: relative !important;
    z-index: 1000 !important;
  }

  .header__login-text {
    display: none !important;
  }

  .header__login-icon {
    display: inline !important;
    font-size: 1.4rem !important;
  }

  .benefits__list,
  .loan-types__list,
  .map-section__content,
  .footer__container,
  .page-hero,
  .hero__container,
  .calculator,
  .application,
  .contacts-main,
  .contacts-content,
  .contacts-info,
  .contacts-map,
  .dashboard-content {
    text-align: center !important;
    justify-content: center !important;
    align-items: center !important;
  }

  h1,
  h2,
  h3,
  h4,
  h5,
  h6,
  p,
  label {
    text-align: center !important;
  }

  form {
    margin-left: auto !important;
    margin-right: auto !important;
  }

  /* Контент внутри секций получает отступы */
  .container>* {
    padding-left: 16px;
    padding-right: 16px;
  }
}

/* Стили для секции карты */
.map-section {
  background: var(--bg);
  padding: 48px 0 32px 0;
}

.map-section__title {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 32px;
  color: #222;
  text-align: center;
}

.map-section__content {
  display: grid;
  grid-template-columns: 450px 1fr;
  gap: 20px;
  align-items: start;
}

.map-section__info {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.map-section__map {
  width: 100%;
  height: 100%;
  min-height: 400px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.map-section__map #map {
  width: 100% !important;
  height: 100% !important;
  min-height: 400px !important;
  border-radius: 12px;
}

/* Стили для информации об офисах */
.office-info {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.office-item {
  margin-bottom: 15px;
  padding: 15px;
  background: var(--bg);
  border-radius: 8px;
  border-left: 3px solid #ff6600;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
}

.office-item:hover {
  background: var(--bg);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}

.office-item:nth-child(2) {
  border-left-color: #e74c3c;
}

.office-item:nth-child(2) h4 {
  color: #e74c3c;
}

.office-item.active {
  background: var(--bg);
  border-left-color: #e74c3c;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.office-item.active h4 {
  color: #e74c3c;
}

.office-item h4 {
  margin: 0 0 8px 0;
  color: #ff6600;
  font-size: 1rem;
  font-weight: 600;
}

.office-item p {
  margin: 0 0 5px 0;
  color: #666;
  font-size: 0.9rem;
}

.office-item p:last-child {
  margin-bottom: 0;
}
.office-hours {
  margin-top: 15px;
  padding-top: 15px;
  border-top: 1px solid #e0e0e0;
}

.office-hours p {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 500;
  color: #888;
  text-align: center;
}

/* Социальные иконки офисов */
.office-social {
  display: flex;
  gap: 12px;
  margin-top: 12px;
  justify-content: flex-start;
}

.social-link {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  text-decoration: none;
}

.social-link.whatsapp {
  background: #25D366;
  color: white;
}

.social-link.whatsapp:hover {
  background: #128C7E;
  transform: scale(1.1);
}
.social-link.telegram {
  background: #0088cc;
  color: white;
}

.social-link.telegram:hover {
  background: #006699;
  transform: scale(1.1);
}

.social-link svg {
  width: 20px;
  height: 20px;
}

/* Убираем фиксированную высоту, чтобы блоки подстраивались под содержимое */
.map-section__info {
  align-self: flex-start;
}

/* Анимации для уведомлений */
@keyframes slideInRight {
  from {
    transform: translateX(100%);
    opacity: 0;
  }

  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes slideOutRight {
  from {
    transform: translateX(0);
    opacity: 1;
  }

  to {
    transform: translateX(100%);
    opacity: 0;
  }
}

/* Стили для уведомлений формы */
.form-notification {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 10000;
  max-width: 400px;
  animation: slideInRight 0.3s ease-out;
}

.form-notification__content {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.form-notification--success .form-notification__content {
  background: #10b981;
  color: white;
}

.form-notification--error .form-notification__content {
  background: #ef4444;
  color: white;
}

.form-notification__icon {
  font-size: 20px;
  flex-shrink: 0;
}

.form-notification__message {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
}

/* Мобильная адаптивность для уведомлений */
@media (max-width: 768px) {
  .form-notification {
    top: 10px;
    right: 10px;
    left: 10px;
    max-width: none;
  }
}

/* Современные стили для всех страниц */
.page-hero__content {
  position: relative;
  z-index: 2;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 var(--space-6);
}

/* Улучшенные стили для секций */
section {
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}
/* Плавные переходы между секциями */
.hero {
  border-bottom: none;
  margin-top: 60px;
}

.loan-types {
  border-top: none;
  border-bottom: none;
  margin-top: -20px;
  padding-top: 80px;
}

.benefits {
  border-top: none;
  border-bottom: none;
  margin-top: -20px;
  padding-top: 80px;
}

.application {
  border-top: none;
  border-bottom: none;
  margin-top: -20px;
  padding-top: 80px;
}
.map-section {
  border-top: none;
  border-bottom: none;
  margin-top: -20px;
  padding-top: 70px;
}

.reviews {
  border-top: none;
  border-bottom: none;
  margin-top: -20px;
  padding-top: 70px;
}

.faq {
  border-top: none;
  border-bottom: none;
  margin-top: -20px;
  padding-top: 70px;
}

/* Дополнительные стили для плавности */
.loan-types__title,
.benefits__title,
.application__title,
.map-section__title,
.reviews__title,
.faq__title {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.8s ease forwards;
  animation-delay: 0.2s;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Плавные переходы для карточек */
.loan-type,
.benefit,
.review-card,
.faq__item {
  transition: all 0.3s ease;
  transform: translateY(0);
}

.loan-type:hover,
.benefit:hover,
.review-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

/* Градиентные фоны для секций */
.benefits::before,
.loan-types::before,
.steps::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(198, 112, 42, 0.02) 0%, rgba(255, 107, 53, 0.02) 100%);
  pointer-events: none;
  z-index: 1;
}

/* Улучшенные стили для заголовков секций */
.benefits__title,
.loan-types__title,
.steps__title,
.map-section__title {
  position: relative;
  z-index: 2;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: var(--space-8);
  color: var(--ink);
  text-align: center;
}

/* Улучшенные стили для кнопок */
.btn {
  background: linear-gradient(135deg, var(--accent) 0%, #ff6b35 100%);
  color: white;
  border: none;
  border-radius: var(--radius-lg);
  padding: var(--space-4) var(--space-6);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-md);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

.btn:hover::before {
  left: 100%;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn:active {
  transform: translateY(0);
  box-shadow: var(--shadow-md);
}

/* Улучшенные стили для карточек */
.card {
  background: var(--bg);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--line-light);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent) 0%, #ff6b35 100%);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.card:hover::before {
  transform: scaleX(1);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent-light);
}

/* Улучшенные стили для иконок */
.icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--accent-light) 0%, var(--accent) 100%);
  border-radius: var(--radius-lg);
  color: white;
  font-size: 1.5rem;
  transition: all 0.3s ease;
}

.icon:hover {
  transform: scale(1.1) rotate(5deg);
  box-shadow: var(--shadow-md);
}

/* Анимации появления */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-in-up {
  animation: fadeInUp 0.6s ease-out;
}

/* Улучшенные стили для мобильных устройств */
@media (max-width: 768px) {

  .page-hero--jewelry .page-hero__title,
  .page-hero--jewelryworkshop .page-hero__title {
    font-size: 1.8rem !important;
  }

  .page-hero--jewelry .page-hero__subtitle,
  .page-hero--jewelryworkshop .page-hero__subtitle {
    font-size: 0.9rem !important;
  }

  .page-hero__title {
    font-size: 1.8rem !important;
  }

  .benefits__title,
  .loan-types__title,
  .steps__title,
  .map-section__title {
    font-size: 1.5rem;
  }

  .benefits__list,
  .loan-types__list {
    flex-direction: column;
    gap: var(--space-4);
  }

  .benefit,
  .loan-type {
    max-width: none;
  }
}

/* Стили для социальных иконок */
.office-social {
  display: flex;
  gap: 12px;
  margin-top: 15px;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  text-decoration: none;
  transition: all 0.3s ease;
  color: #fff;
}

.social-link.whatsapp {
  background: #25d366;
}

.social-link.telegram {
  background: #0088cc;
}

.social-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.social-link.whatsapp:hover {
  background: #20ba5a;
}

.social-link.telegram:hover {
  background: #0077b3;
}

.social-link svg {
  width: 18px;
  height: 18px;
}

/* ===== LOGIN PAGE STYLES ===== */
.login-section {
  padding: 60px 0;
  min-height: calc(100vh - 200px);
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--bg) 0%, #f0f0f0 100%);
}

.login-container {
  max-width: 500px;
  margin: 0 auto;
  background: var(--bg);
  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.login-title {
  text-align: center;
  margin: 0;
  padding: 40px 40px 20px;
  color: var(--ink);
  font-size: 2.5rem;
  font-weight: 700;
}

.login-form {
  padding: 0 40px 0px;
}

.form-group {
  margin-bottom: 24px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: var(--ink);
  font-size: 1rem;
}

.form-group input {
  width: 100%;
  padding: 16px 20px;
  border: 2px solid var(--line);
  border-radius: 12px;
  font-size: 1.1rem;
  background: var(--bg);
  color: var(--ink);
  transition: all 0.3s ease;
  box-sizing: border-box;
}

.form-group input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(198, 112, 42, 0.1);
}

.form-hint {
  display: block;
  margin-top: 8px;
  font-size: 0.9rem;
  color: var(--muted);
}

.verification-info {
  background: var(--line);
  padding: 20px;
  border-radius: 12px;
  margin-bottom: 24px;
  text-align: center;
}

.verification-info p {
  margin: 0 0 12px 0;
  font-weight: 600;
  color: var(--ink);
}

.sms-input-container {
  position: relative;
}

.sms-timer {
  text-align: center;
  margin-top: 16px;
  padding: 16px;
  background: var(--line);
  border-radius: 8px;
  font-size: 0.9rem;
  color: var(--muted);
}

.sms-timer span {
  display: block;
}

#timerCount {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent);
  margin-top: 4px;
}

.login-loading {
  text-align: center;
  padding: 60px 40px;
}

.spinner {
  width: 40px;
  height: 40px;
  border: 4px solid var(--line);
  border-top: 4px solid var(--accent);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto 20px;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

.error-message {
  background: #fee;
  color: #c33;
  padding: 16px 20px;
  border-radius: 8px;
  margin: 20px 40px;
  text-align: center;
  border: 1px solid #fcc;
}

/* ===== DASHBOARD PAGE STYLES ===== */
.dashboard-section {
  padding: 40px 0;
  background: var(--bg);
}

.dashboard-header {
  text-align: center;
  margin-bottom: 40px;
}

.dashboard-title {
  font-size: 3rem;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 16px 0;
}

.dashboard-subtitle {
  font-size: 1.2rem;
  color: var(--muted);
  margin: 0;
}

.dashboard-card {
  background: var(--bg);
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  margin-bottom: 32px;
  overflow: hidden;
  border: 1px solid var(--line);
}

.card-header {
  background: var(--line);
  padding: 24px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--line);
}

.card-header h2 {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--ink);
}

.card-content {
  padding: 32px;
}

/* User Info Card */
.user-info-card .card-content {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 32px;
  align-items: start;
}

.user-avatar {
  text-align: center;
}

.avatar-placeholder {
  width: 120px;
  height: 120px;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
}

.avatar-placeholder span {
  font-size: 3rem;
  font-weight: 700;
  color: var(--bg);
}

.user-details {
  display: grid;
  gap: 16px;
}

.user-field {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 16px;
  align-items: center;
}

.user-field label {
  font-weight: 600;
  color: var(--ink);
}

.user-field span {
  color: var(--muted);
}

/* Quick Actions */
.quick-actions {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.quick-action {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 24px;
  background: var(--line);
  border-radius: 12px;
  text-decoration: none;
  color: var(--ink);
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.quick-action:hover {
  background: var(--accent);
  color: var(--bg);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(198, 112, 42, 0.3);
}

.action-icon {
  font-size: 2rem;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg);
  border-radius: 50%;
}

.quick-action:hover .action-icon {
  background: var(--bg);
}

/* Loans */
.loans-list {
  min-height: 200px;
}

.no-loans,
.no-history {
  text-align: center;
  padding: 60px 20px;
  color: var(--muted);
}

.no-loans-icon,
.no-history-icon {
  font-size: 4rem;
  margin-bottom: 20px;
}

.loan-item {
  background: var(--line);
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 20px;
  border: 1px solid var(--line);
}

.loan-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.loan-type {
  font-weight: 600;
  color: var(--ink);
  font-size: 1.1rem;
}

.loan-status {
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
}

.loan-status--active {
  background: var(--bg);
  color: #2d5a2d;
}
.loan-status--pending {
  background: var(--bg);
  color: #856404;
}

.loan-status--approved {
  background: var(--bg);
  color: #0c5460;
}

.loan-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-bottom: 20px;
}

.loan-info .label {
  font-weight: 600;
  color: var(--muted);
  display: block;
  margin-bottom: 4px;
}

.loan-info .value {
  color: var(--ink);
  font-weight: 500;
}

.loan-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* Notifications */
.notifications-list {
  display: grid;
  gap: 16px;
}
.notification-item {
  display: flex;
  gap: 16px;
  padding: 20px;
  background: var(--line);
  border-radius: 12px;
  border-left: 4px solid var(--accent);
  transition: all 0.3s ease;
}

.notification-item:hover {
  background: var(--accent);
  color: var(--bg);
}

.notification-item.read {
  opacity: 0.6;
}

.notification-icon {
  font-size: 1.5rem;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg);
  border-radius: 50%;
  flex-shrink: 0;
}

.notification-content {
  flex: 1;
}

.notification-content p {
  margin: 0 0 8px 0;
  font-weight: 500;
}

.notification-time {
  font-size: 0.9rem;
  color: var(--muted);
}

/* Header User Menu */
.header__user {
  display: flex;
  align-items: center;
}

.user-menu {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.user-name {
  font-weight: 600;
  color: var(--ink);
}

.user-menu-btn {
  background: none;
  border: none;
  font-size: 1.2rem;
  color: var(--muted);
  cursor: pointer;
  padding: 4px;
  transition: color 0.3s ease;
}

.user-menu-btn:hover {
  color: var(--accent);
}

.user-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  min-width: 200px;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
}

.user-dropdown.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown-item {
  display: block;
  padding: 12px 20px;
  text-decoration: none;
  color: var(--ink);
  border: none;
  background: none;
  width: 100%;
  text-align: left;
  cursor: pointer;
  transition: background 0.3s ease;
  font-size: 1rem;
}

.dropdown-item:hover {
  background: var(--line);
}

.dropdown-item.logout-btn {
  border-top: 1px solid var(--line);
  color: #dc3545;
}

.dropdown-item.logout-btn:hover {
  background: #fee;
}
/* Notification Toast */
.notification-toast {
  position: fixed;
  top: 20px;
  right: 20px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  z-index: 10000;
  transform: translateX(400px);
  transition: transform 0.3s ease;
  max-width: 400px;
}
.notification-toast.show {
  transform: translateX(0);
}

.notification-content {
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.notification-message {
  flex: 1;
  color: var(--ink);
}

.notification-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--muted);
  cursor: pointer;
  padding: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.notification-close:hover {
  background: var(--line);
  color: var(--ink);
}

.notification-toast--success {
  border-left: 4px solid #28a745;
}

.notification-toast--error {
  border-left: 4px solid #dc3545;
}

.notification-toast--info {
  border-left: 4px solid var(--accent);
}

/* Responsive Design */
@media (max-width: 768px) {
  .login-container {
    margin: 20px;
    border-radius: 12px;
  }

  .login-title {
    font-size: 2rem;
    padding: 30px 20px 15px;
  }

  .login-form {
    padding: 0 20px 0px;
  }

  .user-info-card .card-content {
    grid-template-columns: 1fr;
    gap: 20px;
    text-align: center;
  }

  .user-field {
    grid-template-columns: 1fr;
    gap: 8px;
    text-align: center;
  }

  .quick-actions {
    grid-template-columns: 1fr;
  }

  .loan-info {
    grid-template-columns: 1fr;
  }

  .loan-actions {
    flex-direction: column;
  }

  .notification-toast {
    right: 10px;
    left: 10px;
    max-width: none;
  }
}

/* Workshop Gallery Carousel */
.workshop-gallery {
  background: var(--bg);
  padding: 48px 0 32px 0;
}

.workshop-gallery__title {
  font-size: 2.4rem;
  font-weight: 700;
  margin-bottom: 32px;
  color: #222;
  text-align: center;
}

.workshop-carousel {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.workshop-carousel__slides {
  position: relative;
  height: 500px;
}

.workshop-carousel__slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
  display: flex;
  flex-direction: column;
}

.workshop-carousel__slide.is-active {
  opacity: 1;
}

.workshop-carousel__slide img {
  width: 100%;
  height: 350px;
  object-fit: cover;
  border-radius: 16px 16px 0 0;
}

.workshop-carousel__slide-content {
  background: var(--bg);
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.workshop-carousel__slide-content h3 {
  font-size: 1.4rem;
  font-weight: 600;
  color: #222;
  margin-bottom: 12px;
  text-align: center;
}

.workshop-carousel__slide-content p {
  font-size: 1rem;
  color: #666;
  line-height: 1.6;
  text-align: center;
  margin: 0;
}

.workshop-carousel__controls {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  padding: 0 20px;
  pointer-events: none;
}

.workshop-carousel__prev,
.workshop-carousel__next {
  background: rgba(255, 255, 255, 0.9);
  border: none;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-size: 1.5rem;
  color: #222;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  pointer-events: auto;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.workshop-carousel__prev:hover,
.workshop-carousel__next:hover {
  background: white;
  transform: scale(1.1);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.workshop-carousel__indicators {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
}

.workshop-carousel__indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.3s ease;
}

.workshop-carousel__indicator.is-active {
  background: white;
  transform: scale(1.2);
}

.workshop-carousel__indicator:hover {
  background: rgba(255, 255, 255, 0.8);
}

/* Responsive Design for Workshop Carousel */
@media (max-width: 768px) {
  .workshop-carousel {
    max-width: 100%;
    margin: 0 16px;
  }

  .workshop-carousel__slides {
    height: 400px;
  }

  .workshop-carousel__slide img {
    height: 250px;
  }

  .workshop-carousel__slide-content {
    padding: 16px;
  }

  .workshop-carousel__slide-content h3 {
    font-size: 1.2rem;
  }

  .workshop-carousel__slide-content p {
    font-size: 0.9rem;
  }

  .workshop-carousel__prev,
  .workshop-carousel__next {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }
}

/* Плавные переходы для калькуляторов */
.calculator__form--auto,
.calculator__form--gold {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.3s ease, transform 0.3s ease;
  display: block !important;
}

.calculator__form--auto[style*="display: none"],
.calculator__form--gold[style*="display: none"] {
  opacity: 0;
  transform: translateY(10px);
  display: none !important;
}

/* ===== MODERN BUTTON STYLES ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-6);
  border: none;
  border-radius: var(--radius-lg);
  font-family: var(--font-family-primary);
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-medium);
  text-decoration: none;
  cursor: pointer;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
  min-height: 44px;
}

.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none !important;
}

.btn--primary {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  color: var(--color-white);
  box-shadow: var(--shadow-md);
}

.btn--primary:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn--secondary {
  background: var(--color-white);
  color: var(--color-text-primary);
  border: 2px solid var(--color-gray-200);
  box-shadow: var(--shadow-sm);
}

.btn--secondary:hover:not(:disabled) {
  background: var(--color-gray-50);
  border-color: var(--color-gray-300);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

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

.btn--outline:hover:not(:disabled) {
  background: var(--color-primary);
  color: var(--color-white);
  transform: translateY(-1px);
}

.btn--ghost {
  background: transparent;
  color: var(--color-text-primary);
  border: none;
}

.btn--ghost:hover:not(:disabled) {
  background: var(--color-gray-100);
}

.btn--sm {
  padding: var(--space-2) var(--space-4);
  font-size: var(--font-size-sm);
  min-height: 36px;
}

.btn--lg {
  padding: var(--space-4) var(--space-8);
  font-size: var(--font-size-lg);
  min-height: 52px;
}

.btn__icon {
  font-size: 1.1em;
  line-height: 1;
}

/* ===== HEADER IMPROVEMENTS ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--color-bg-dark);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.header__content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 80px;
  padding: var(--space-4) 0;
}

.nav__list {
  display: flex;
  align-items: center;
  gap: var(--space-6);
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav__link {
  color: var(--color-white);
  text-decoration: none;
  font-weight: var(--font-weight-medium);
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-md);
  transition: all var(--transition-normal);
}

.nav__link:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--color-white);
}

.header__cta {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  color: var(--color-white);
  border: none;
  padding: var(--space-3) var(--space-6);
  border-radius: var(--radius-lg);
  font-weight: var(--font-weight-medium);
  cursor: pointer;
  transition: all var(--transition-normal);
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.header__cta:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

/* ===== BURGER MENU ===== */
.burger-menu {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 30px;
  height: 30px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1001;
}

.burger-line {
  width: 25px;
  height: 3px;
  background: var(--color-white);
  border-radius: 2px;
  transition: all var(--transition-normal);
  transform-origin: center;
}

.burger-menu.active .burger-line:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.burger-menu.active .burger-line:nth-child(2) {
  opacity: 0;
}

.burger-menu.active .burger-line:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

.mobile-menu__close {
  position: absolute;
  top: 15px;
  right: 20px;
  background: none;
  border: none;
  font-size: 2rem;
  color: #333;
  cursor: pointer;
  z-index: 1001;
}

.mobile-menu__close:hover {
  color: #000;
}

/* ===== MOBILE MENU ===== */
.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  height: 100vh;
  background: var(--color-bg-dark);
  z-index: 1000;
  transition: right var(--transition-normal);
  padding: var(--space-20) var(--space-6) var(--space-6);
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.mobile-menu.active {
  right: 0;
}

.mobile-menu__nav {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
  text-align: center;
}

.mobile-menu__nav a {
  color: var(--color-white);
  font-size: var(--font-size-xl);
  font-weight: var(--font-weight-medium);
  text-decoration: none;
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-md);
  transition: all var(--transition-normal);
}

.mobile-menu__nav a:hover {
  background: var(--color-primary);
  color: var(--color-white);
}

.mobile-menu__actions {
  margin-top: var(--space-8);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  width: 100%;
  max-width: 280px;
}

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

.mobile-menu-backdrop {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 999;
}

.mobile-menu-backdrop.active {
  display: block;
}

/* ===== MAIN CONTENT SPACING ===== */
main {
  margin-top: 80px;
  flex: 1;
}
/* ===== ENHANCED MOBILE RESPONSIVENESS ===== */
@media (max-width: 768px) {
  .header__container {
    min-height: 64px;
    padding: 0;
  }

  .logo__img {
    height: 40px;
    width: auto;
    max-width: 100px;
  }

  .logo__text {
    font-size: 1.1rem;
  }

  .nav {
    display: none;
  }

  .header__login {
    padding: 4px 8px;
    font-size: 0.7rem;
  }

  .burger-menu {
    display: flex;
  }

  .mobile-menu {
    display: flex;
  }

  .mobile-menu-backdrop {
    display: block;
  }

  main {
    margin-top: 45px;
    flex: 1;
  }

  .hero__container {
    flex-direction: column;
    text-align: center;
  }

  .hero__content {
    margin-bottom: 30px;
  }

  .hero__title {
    font-size: 2.5rem;
  }

  .hero__subtitle {
    font-size: 1.1rem;
  }

  .calculator {
    width: 100%;
    max-width: none;
  }

  .calculator__form {
    padding: 20px;
  }

  .calculator__inline {
    flex-direction: column;
    gap: 20px;
  }

  .calculator__input-group {
    width: 100%;
  }

  .benefits__list {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .benefit {
    text-align: center;
  }

  .application__container {
    flex-direction: column;
  }

  .application__form {
    width: 100%;
    margin-bottom: 30px;
  }

  .application__image {
    width: 100%;
    height: 300px;
    min-height: 300px;
  }

  .application__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 18px;
  }

  .footer__container {
    flex-direction: column;
    gap: 30px;
    text-align: center;
  }

  .footer__nav {
    flex-direction: column;
    gap: 15px;
  }

  /* ===== MOBILE MENU STYLES ===== */
  /* Burger menu button */
  .burger-menu {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 30px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
  }

  .burger-line {
    width: 25px;
    height: 3px;
    background: var(--color-white);
    border-radius: 2px;
    transition: all 0.3s ease;
    transform-origin: center;
  }

  .burger-menu.active .burger-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .burger-menu.active .burger-line:nth-child(2) {
    opacity: 0;
  }

  .burger-menu.active .burger-line:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  /* Mobile menu backdrop */
  .mobile-menu-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
  }

  .mobile-menu-backdrop.active {
    opacity: 1;
    visibility: visible;
  }

  /* Mobile menu */
  .mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    z-index: 1000;
    transition: right 0.3s ease;
    padding: var(--space-20) var(--space-6) var(--space-6);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .mobile-menu.active {
    right: 0;
  }

  .mobile-menu__nav {
    display: flex;
    flex-direction: column;
    gap: var(--space-6);
    text-align: center;
  }

  .mobile-menu__link {
    color: var(--color-white);
    font-size: var(--font-size-xl);
    font-weight: var(--font-weight-medium);
    text-decoration: none;
    padding: var(--space-3) var(--space-4);
    border-radius: var(--radius-md);
    transition: all 0.3s ease;
    position: relative;
  }

  .mobile-menu__link:hover {
    background: var(--accent);
    color: var(--color-white);
    transform: translateX(5px);
  }

  .mobile-menu__link--active {
    background: var(--accent);
    color: var(--color-white);
  }

  .mobile-menu__actions {
    margin-top: var(--space-8);
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
    width: 100%;
    max-width: 280px;
  }

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

  /* ===== ENHANCED MOBILE STYLES ===== */

  /* Улучшенные стили для хедера на мобильных */
  .header {
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .header__content {
    justify-content: space-between;
    align-items: center;
    padding: 0 var(--space-4);
  }

  .nav {
    display: none;
  }

  .header__actions {
    display: none;
  }

  /* Улучшенные стили для основного контента */
  main {
    margin-top: 50px;
    flex: 1;
  }

  /* Улучшенные стили для hero секций */
  .page-hero {
    padding: var(--space-12) 0 var(--space-8);
    text-align: center;
  }

  .page-hero__title {
    font-size: var(--font-size-3xl);
    line-height: 1.2;
    margin-bottom: var(--space-4);
  }

  .page-hero__subtitle {
    font-size: var(--font-size-lg);
    margin-bottom: var(--space-6);
  }

  .page-hero__cta {
    padding: var(--space-4) var(--space-6);
    font-size: var(--font-size-lg);
    border-radius: var(--radius-lg);
  }

  /* Улучшенные стили для калькуляторов */
  .calculator {
    padding: var(--space-6);
    margin: 0 auto;
    /* border-radius: var(--radius-xl); */
    box-shadow: var(--shadow-lg);
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    border-bottom-left-radius: 16px;
    border-bottom-right-radius: 16px;
  }

  .calculator__title {
    font-size: var(--font-size-2xl);
    margin-bottom: var(--space-6);
  }

  .calculator__tabs {
    gap: var(--space-2);
    margin-bottom: var(--space-6);
  }

  .calculator__tab {
    padding: var(--space-3) var(--space-4);
    font-size: var(--font-size-base);
    border-radius: var(--radius-md);
  }

  .calculator__input {
    padding: var(--space-4);
    font-size: var(--font-size-lg);
    border-radius: var(--radius-lg);
  }

  .calculator__submit {
    padding: var(--space-4) var(--space-6);
    font-size: var(--font-size-lg);
    border-radius: var(--radius-lg);
    width: 100%;
  }

  /* Улучшенные стили для форм */
  .application__form {
    padding: var(--space-6);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
  }

  .application__form input,
  .application__form select {
    padding: var(--space-4);
    font-size: var(--font-size-lg);
    border-radius: var(--radius-lg);
  }

  .application__submit {
    padding: var(--space-4) var(--space-6);
    font-size: var(--font-size-lg);
    border-radius: var(--radius-lg);
  }

  /* Улучшенные стили для карточек */
  .benefit,
  .loan-type {
    padding: var(--space-6);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
  }

  .benefit__icon,
  .loan-type__icon {
    width: 40px;
    height: 40px;
    font-size: var(--font-size-lg);
  }

  .benefit__title,
  .loan-type__title {
    font-size: 1rem;
    margin-bottom: 0.25rem;
  }

  .benefit__description,
  .loan-type__description {
    font-size: var(--font-size-base);
    line-height: 1.6;
  }

  /* Улучшенные стили для карты */
  .map-section__content {
    grid-template-columns: 1fr;
    gap: var(--space-6);
  }

  .map-section__info {
    order: 2;
  }

  .map-section__map {
    order: 1;
    min-height: 300px;
    border-radius: var(--radius-lg);
  }

  .office-item {
    padding: var(--space-4);
    border-radius: var(--radius-lg);
    margin-bottom: var(--space-3);
  }

  .office-item h4 {
    font-size: var(--font-size-lg);
    margin-bottom: var(--space-2);
  }

  .office-item p {
    font-size: var(--font-size-base);
    margin-bottom: var(--space-1);
  }

  /* Улучшенные стили для футера */
  .footer {
    padding: var(--space-8) 0 var(--space-4);
  }

  .footer__content {
    flex-direction: column;
    gap: var(--space-6);
    text-align: center;
  }

  .footer__nav {
    flex-direction: column;
    gap: var(--space-3);
  }

  .footer__nav a {
    font-size: var(--font-size-base);
    padding: var(--space-2) 0;
  }

  .footer__social {
    justify-content: center;
    gap: var(--space-4);
  }

  .footer__social a {
    width: 44px;
    height: 44px;
    font-size: var(--font-size-lg);
  }

  /* Улучшенные стили для кнопок */
  .btn {
    padding: var(--space-3) var(--space-5);
    font-size: var(--font-size-base);
    border-radius: var(--radius-lg);
    min-height: 44px;
    min-width: 44px;
  }

  .btn--primary {
    background: linear-gradient(135deg, var(--accent) 0%, #ff6b35 100%);
    box-shadow: var(--shadow-md);
  }

  .btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
  }

  /* Улучшенные стили для инпутов */
  input[type="text"],
  input[type="tel"],
  input[type="email"],
  select,
  textarea {
    padding: var(--space-4);
    font-size: var(--font-size-lg);
    border-radius: var(--radius-lg);
    border: 2px solid var(--line-light);
    transition: all 0.3s ease;
  }

  input[type="text"]:focus,
  input[type="tel"]:focus,
  input[type="email"]:focus,
  select:focus,
  textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 4px rgba(198, 112, 42, 0.1);
  }

  /* Улучшенные стили для радиокнопок и чекбосов */
  input[type="radio"],
  input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-right: var(--space-2);
  }

  /* Улучшенные стили для текста */
  h1 {
    font-size: var(--font-size-4xl);
    line-height: 1.2;
  }

  h2 {
    font-size: var(--font-size-3xl);
    line-height: 1.3;
  }

  h3 {
    font-size: var(--font-size-2xl);
    line-height: 1.4;
  }

  p {
    font-size: var(--font-size-base);
    line-height: 1.6;
  }

  /* Улучшенные стили для отступов */
  .container {
    padding: 0 var(--space-4);
  }

  section {
    padding: var(--space-8) 0;
  }

  /* Улучшенные стили для сеток */
  .benefits__list,
  .loan-types__list {
    grid-template-columns: 1fr;
    gap: var(--space-6);
  }

  /* Улучшенные стили для модальных окон */
  .modal__content {
    width: 95%;
    margin: var(--space-4);
    border-radius: var(--radius-xl);
  }

  .modal__header,
  .modal__body,
  .modal__footer {
    padding: var(--space-4);
  }

  /* Улучшенные стили для уведомлений */
  .form-notification {
    top: var(--space-4);
    right: var(--space-4);
    left: var(--space-4);
    max-width: none;
  }

  .form-notification__content {
    padding: var(--space-4);
    border-radius: var(--radius-lg);
  }

  .form-notification__message {
    font-size: var(--font-size-base);
  }
}

/* ===== BURGER MENU STYLES ===== */
/* Desktop - hide burger menu */
.burger-menu {
  display: none;
}

.mobile-menu {
  display: none;
}

.mobile-menu-backdrop {
  display: none;
}

/* Mobile - show burger menu */
@media (max-width: 768px) {

  /* Hide desktop navigation */
  .nav {
    display: none !important;
  }

  .header__actions {
    display: none !important;
  }

  .header__login {
    display: none !important;
  }

  /* Show burger menu */
  .burger-menu {
    display: flex !important;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 32px;
    height: 32px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
    position: relative;
  }

  .burger-line {
    width: 24px;
    height: 2px;
    background: #ffffff;
    border-radius: 1px;
    transition: all 0.3s ease;
    transform-origin: center;
    margin: 2px 0;
  }

  .burger-menu.active .burger-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .burger-menu.active .burger-line:nth-child(2) {
    opacity: 0;
  }

  .burger-menu.active .burger-line:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  /* Mobile menu backdrop */
  .mobile-menu-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
  }

  .mobile-menu-backdrop.active {
    opacity: 1;
    visibility: visible;
  }

  /* Mobile menu */
  .mobile-menu {
    display: block !important;
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: #1a1a1a;
    z-index: 1000;
    transition: right 0.3s ease;
    padding: 80px 24px 24px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
  }

  .mobile-menu.active {
    right: 0;
  }

  .mobile-menu__nav {
    display: flex;
    flex-direction: column;
    gap: 24px;
    text-align: center;
    width: 100%;
    max-width: 280px;
  }

  .mobile-menu__link {
    color: white;
    font-size: 18px;
    font-weight: 500;
    text-decoration: none;
    padding: 12px 16px;
    border-radius: 8px;
    transition: all 0.3s ease;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .mobile-menu__link:hover {
    background: var(--accent);
    color: white;
    transform: translateX(5px);
  }

  .mobile-menu__actions {
    margin-top: 32px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
    max-width: 280px;
  }

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

  /* Prevent body scroll when menu is open */
  body.menu-open {
    overflow: hidden;
  }

  /* Force show mobile menu elements */
  .mobile-menu-backdrop {
    display: block !important;
  }
}

/* ===== FORCE BURGER MENU ON MOBILE ===== */
@media (max-width: 768px) {
  .header .burger-menu {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
  }

  .header .nav {
    display: none !important;
  }

  .header .header__actions {
    display: none !important;
  }

  .header .header__login {
    display: none !important;
  }

  /* Улучшенные стили для мобильного header */
  .header .header__content {
    padding: 12px 20px !important;
    height: 64px !important;
    max-width: 100% !important;
  }

  .header .logo {
    flex: 0 0 auto !important;
    margin: 0 !important;
  }

  .header .logo__img {
    width: 100px !important;
    height: auto !important;
    max-height: 40px !important;
  }

  .header .burger-menu {
    flex: 0 0 auto !important;
    width: 32px !important;
    height: 32px !important;
  }

  .mobile-menu {
    display: block !important;
  }

  .mobile-menu-backdrop {
    display: block !important;
  }
}

/* Дополнительные улучшения для очень маленьких экранов */
@media (max-width: 480px) {
  .header .header__content {
    padding: 10px 16px !important;
    height: 56px !important;
  }

  .header .logo__img {
    width: 140px !important;
    max-height: 55px !important;
  }

  .header .burger-menu {
    width: 28px !important;
    height: 28px !important;
  }

  .burger-line {
    width: 20px !important;
    height: 2px !important;
  }
}

@media (max-width: 380px) {
  .mobile-menu {
    padding: 28px 14px 20px;
  }

  .mobile-menu__content {
    gap: 14px;
  }

  .mobile-menu__nav {
    gap: 10px;
  }

  .mobile-menu__link {
    font-size: 14px;
    line-height: 1.2;
  }

  .mobile-menu__actions .btn {
    font-size: 14px;
    padding: 10px 14px;
  }
}

@media (max-width: 340px) {
  .mobile-menu {
    padding: 24px 12px 18px;
  }

  .mobile-menu__link {
    font-size: 13px;
  }

  .mobile-menu__actions .btn {
    font-size: 13px;
  }
}
/* Улучшения для средних мобильных экранов */
@media (min-width: 481px) and (max-width: 768px) {
  .header .header__content {
    padding: 14px 24px !important;
    height: 68px !important;
  }

  .header .logo__img {
    width: 110px !important;
    max-height: 44px !important;
  }

  .header .burger-menu {
    width: 36px !important;
    height: 36px !important;
  }

  .burger-line {
    width: 26px !important;
    height: 2px !important;
  }
}

/* ===== AUTO APPLICATION FORM STYLES ===== */
.auto-application {
  padding: 80px 0;
  background: radial-gradient(120% 180% at 0% 0%, #ffffff 0%, #f5f6f8 55%, #eef0f3 100%);
  position: relative;
  overflow: hidden;
}

.auto-application__content {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 0;
  align-items: stretch;
  min-height: 600px;
  position: relative;
}

/* give the whole block a subtle card feel */
.auto-application__content {
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, .08);
}

.auto-application__form-container {
  background: white;
  padding: 50px 40px;
  border-radius: 20px 0 0 20px;
  /* убираем тень у формы, чтобы не было тёмной полосы на стыке */
  box-shadow: none;
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 500px;
}

/* soft blend into the image on the right */
/* previously used for blend; disabled to avoid visible edge at top/bottom */
.auto-application__form-container::after {
  display: none;
}

.auto-application__form {
  max-width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
  flex: 1;
}

.auto-application__form .form__submit {
  margin-top: 20px;
}

.auto-application__title {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--inc);
  margin-bottom: 30px;
  text-align: center;
}

.auto-application__image-container {
  position: relative;
  overflow: hidden;
  border-radius: 0 20px 20px 0;
  z-index: 1;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

/* subtle dark fade on the image edge for better blending */
.auto-application__image-container::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0px;
  /* перекрываем шов на 3px для надёжности */
  width: 160px;
  /* широкая растушёвка для полного скрытия */
  height: 100%;
  pointer-events: none;
  background: linear-gradient(to right,
      rgba(255, 255, 255, 1.0) 0px,
      rgba(255, 255, 255, 1.0) 30px,
      rgba(255, 255, 255, 0.75) 60px,
      rgba(255, 255, 255, 0.45) 90px,
      rgba(255, 255, 255, 0.00) 130px);
  z-index: 2;
}

.auto-application__image {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 600px;
}

.auto-application__car-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  filter: brightness(0.85) contrast(1.2) saturate(0.8);
  transition: transform 0.3s ease;
}

.auto-application__image-container:hover .auto-application__car-image {
  transform: scale(1.03);
}

/* Адаптивность */
@media (max-width: 1024px) {
  .auto-application__content {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .auto-application__form-container {
    border-radius: 20px 20px 0 0;
    padding: 50px 40px;
  }

  .auto-application__image-container {
    border-radius: 0 0 20px 20px;
  }

  /* на мобильных убираем перекрывающий градиент у изображения */
  .auto-application__image-container::before {
    display: none;
  }

  .auto-application__image {
    min-height: 400px;
  }

  .auto-application__form-container {
    max-height: none;
  }

  .auto-application__form-container::after {
    display: none;
  }
}

@media (max-width: 768px) {
  .auto-application {
    padding: 60px 0;
  }

  .auto-application__form-container {
    padding: 40px 30px;
  }

  .auto-application__title {
    font-size: 1.8rem;
    margin-bottom: 20px;
  }

  .auto-application__image {
    min-height: 350px;
  }
}

.documents {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;

  margin-top: 30px;
}

.documents a {
  margin-right: 30px;
  text-decoration: none;
  color: gray;
  font-size: 14px;
}

.documents a:hover {
  color: #fff;
}

.documents a:last-child {
  margin-right: 0;
}