:root{
  --accent:#D32F2F;
  --accent-600:#B71C1C;
  --accent-100:#FFEBEE;
  --bg:#FFFFFF;
  --muted:#666666;
  --card:#FAFAFA;
  --border:#E0E0E0;
  --radius:8px;
  --shadow:0 2px 12px rgba(211,47,47,0.08);
  --shadow-hover:0 4px 20px rgba(211,47,47,0.12);
  --font-primary: 'Inter', system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  --font-size-xs: 0.75rem;
  --font-size-sm: 0.875rem;
  --font-size-base: 1rem;
  --font-size-lg: 1.125rem;
  --font-size-xl: 1.25rem;
  --font-size-2xl: 1.5rem;
  --line-height-tight: 1.25;
  --line-height-normal: 1.5;
  --line-height-relaxed: 1.75;
}

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

html,body{
  background:var(--bg);
  height:100%;
  font-family:var(--font-primary);
  line-height:var(--line-height-normal);
  color:#333333;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
}

.container{
  max-width:880px;
  margin:0 auto;
  padding:0 20px;
}

/* НАВИГАЦИЯ */
.navbar{
  background:var(--bg);
  border-bottom:1px solid var(--border);
  position:sticky;
  top:0;
  z-index:1000;
  backdrop-filter:blur(10px);
}

.nav-container{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:16px 20px;
}

.nav-brand{
  display:flex;
  align-items:center;
  gap:12px;
  font-weight:700;
  font-size:var(--font-size-lg);
  color:#333;
}

.logo{
  width:40px;
  height:40px;
  background:var(--accent);
  color:#fff;
  border-radius:var(--radius);
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight:700;
  font-size:16px;
  flex-shrink:0;
}

.nav-links{
  display:flex;
  align-items:center;
  gap:24px;
}

.nav-link{
  color:var(--muted);
  text-decoration:none;
  font-weight:500;
  font-size:var(--font-size-sm);
  transition:all 0.2s ease;
  padding:8px 0;
  position:relative;
}

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

.nav-link::after{
  content:'';
  position:absolute;
  bottom:0;
  left:0;
  width:0;
  height:2px;
  background:var(--accent);
  transition:width 0.2s ease;
}

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

.nav-btn{
  padding:10px 20px;
  font-size:var(--font-size-sm);
  font-weight:600;
}

/* КНОПКИ */
.btn{
  padding:14px 24px;
  border-radius:var(--radius);
  font-weight:600;
  font-size:var(--font-size-base);
  cursor:pointer;
  border:none;
  transition:all 0.3s ease;
  line-height:1;
  text-decoration:none;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
}

.btn-primary{
  background:var(--accent);
  color:#fff;
  box-shadow:var(--shadow);
}

.btn-primary:hover{
  background:var(--accent-600);
  transform:translateY(-1px);
  box-shadow:var(--shadow-hover);
}

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

.btn-outline:hover{
  background:var(--accent-100);
  transform:translateY(-1px);
}

.btn-full-width{
  width:100%;
  padding:16px 24px;
  font-size:var(--font-size-lg);
  font-weight:700;
}

/* HERO СЕКЦИЯ */
.hero{
  background:linear-gradient(135deg, var(--accent-100) 0%, rgba(255,255,255,0) 100%);
  padding:60px 20px;
  border-bottom:1px solid var(--border);
}

.brand{
  display:flex;
  align-items:center;
  gap:20px;
  margin-bottom:32px;
}

.title h1{
  margin:0;
  font-size:var(--font-size-2xl);
  font-weight:700;
  line-height:var(--line-height-tight);
  color:#333;
}

.subtitle{
  margin:8px 0 0 0;
  font-size:var(--font-size-base);
  color:var(--muted);
  line-height:var(--line-height-normal);
}

.hero-actions{
  display:flex;
  gap:16px;
  margin:32px 0;
  flex-wrap:wrap;
}

.trust{
  margin-top:24px;
  font-size:var(--font-size-sm);
  color:var(--muted);
  line-height:var(--line-height-relaxed);
}

.trust div{
  margin-bottom:4px;
}

/* ОСНОВНОЙ КОНТЕНТ */
.main{
  padding:60px 0 80px;
}

.card{
  background:var(--card);
  border-radius:var(--radius);
  padding:32px;
  margin-bottom:24px;
  box-shadow:var(--shadow);
  border:1px solid var(--border);
  transition:box-shadow 0.3s ease;
}

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

.card h2{
  font-size:var(--font-size-xl);
  font-weight:700;
  margin:0 0 8px;
  line-height:var(--line-height-tight);
  color:#333;
}

.card h3{
  font-size:var(--font-size-lg);
  font-weight:700;
  margin:0 0 24px;
  line-height:var(--line-height-tight);
  color:#333;
}

/* КУРСЫ ВАЛЮТ */
.rate-row{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:16px 0;
  border-top:1px solid var(--border);
}

.rate-row:first-child{
  border-top:none;
}

.pair{
  color:var(--muted);
  font-size:var(--font-size-base);
  font-weight:500;
}

.value{
  font-weight:700;
  font-size:var(--font-size-lg);
  color:var(--accent);
}

.small-note{
  font-size:var(--font-size-sm);
  color:var(--muted);
  margin-top:16px;
  line-height:var(--line-height-normal);
}

/* ШАГИ РАБОТЫ */
.steps-list{
  list-style:none;
  padding:0;
  margin:0;
}

.step-item{
  display:flex;
  align-items:flex-start;
  gap:20px;
  padding:20px 0;
  border-bottom:1px solid var(--border);
}

.step-item:last-child{
  border-bottom:none;
}

.step-number{
  width:36px;
  height:36px;
  background:var(--accent);
  color:white;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight:700;
  font-size:var(--font-size-sm);
  flex-shrink:0;
}

.step-content strong{
  display:block;
  font-weight:600;
  margin-bottom:6px;
  font-size:var(--font-size-base);
  color:#333;
}

.step-content p{
  margin:0;
  color:var(--muted);
  font-size:var(--font-size-sm);
  line-height:var(--line-height-normal);
}

/* FAQ */
.faq-list{
  margin-top:8px;
}

.faq-item{
  border-bottom:1px solid var(--border);
}

.faq-item:last-child{
  border-bottom:none;
}

.faq-question{
  width:100%;
  background:none;
  border:none;
  padding:20px 0;
  text-align:left;
  font-weight:600;
  font-size:var(--font-size-base);
  cursor:pointer;
  display:flex;
  justify-content:space-between;
  align-items:center;
  transition:color 0.2s ease;
  color:#333;
}

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

.faq-question::after{
  content:"+";
  font-size:var(--font-size-lg);
  font-weight:400;
  color:var(--muted);
  transition:transform 0.3s ease;
}

.faq-answer{
  padding:0 0 20px;
  display:none;
  animation:fadeIn 0.3s ease;
}

.faq-answer p{
  margin:0;
  color:var(--muted);
  font-size:var(--font-size-sm);
  line-height:var(--line-height-normal);
}

.faq-item.active .faq-answer{
  display:block;
}

.faq-item.active .faq-question::after{
  content:"−";
  transform:rotate(180deg);
}

/* ОТЗЫВЫ */
.reviews-grid{
  display:grid;
  gap:20px;
  margin-top:20px;
}

.review{
  background:var(--accent-100);
  padding:24px;
  border-radius:var(--radius);
  border-left:4px solid var(--accent);
  margin:0;
  font-style:italic;
  line-height:var(--line-height-normal);
  color:#333;
}

.review cite{
  display:block;
  margin-top:12px;
  font-style:normal;
  font-weight:600;
  color:var(--muted);
  font-size:var(--font-size-sm);
}

/* ГАЛЕРЕЯ */
.gallery-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(160px, 1fr));
  gap:16px;
  margin-top:20px;
}

.gallery-item{
  border-radius:var(--radius);
  overflow:hidden;
  box-shadow:var(--shadow);
  transition:all 0.3s ease;
  cursor:pointer;
  background:var(--card);
  border:1px solid var(--border);
}

.gallery-item:hover{
  transform:translateY(-2px);
  box-shadow:var(--shadow-hover);
}

.gallery-thumb{
  width:100%;
  height:120px;
  object-fit:cover;
  display:block;
}

.gallery-caption{
  padding:12px;
  font-size:var(--font-size-xs);
  color:var(--muted);
  text-align:center;
  border-top:1px solid var(--border);
}

.gallery-view-all-full{
  grid-column:1 / -1;
  text-align:center;
  padding:30px 20px;
  border:2px dashed var(--accent);
  border-radius:var(--radius);
  background:var(--accent-100);
  transition:all 0.3s ease;
  margin-top:10px;
}

.gallery-view-all-full:hover{
  border-color:var(--accent-600);
  background:var(--accent-100);
  transform:translateY(-2px);
  box-shadow:var(--shadow-hover);
}

.gallery-empty{
  text-align:center;
  color:var(--muted);
  font-style:italic;
  padding:40px;
  background:rgba(0,0,0,0.02);
  border-radius:var(--radius);
  grid-column:1 / -1;
}

/* МОДАЛЬНЫЕ ОКНА */
.modal{
  display:none;
  position:fixed;
  z-index:2000;
  left:0;
  top:0;
  width:100%;
  height:100%;
  background-color:rgba(0,0,0,0.5);
  align-items:center;
  justify-content:center;
  padding:20px;
  backdrop-filter:blur(4px);
}

.modal-content{
  background-color:#fff;
  padding:32px;
  border-radius:var(--radius);
  width:100%;
  max-width:480px;
  position:relative;
  box-shadow:0 20px 40px rgba(0,0,0,0.1);
  border:1px solid var(--border);
}

.close{
  position:absolute;
  top:20px;
  right:20px;
  font-size:24px;
  font-weight:300;
  cursor:pointer;
  color:var(--muted);
  width:32px;
  height:32px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:var(--radius);
  transition:all 0.2s ease;
}

.close:hover{
  background-color:var(--accent-100);
  color:var(--accent);
}

/* ФОРМЫ */
.form-group{
  margin-bottom:24px;
}

label{
  display:block;
  margin-bottom:8px;
  font-size:var(--font-size-sm);
  color:#333;
  font-weight:600;
}

input, select{
  width:100%;
  padding:14px;
  border-radius:var(--radius);
  border:1.5px solid var(--border);
  font-size:var(--font-size-base);
  margin-top:6px;
  transition:all 0.3s ease;
  background:#fff;
}

input:focus, select:focus{
  outline:none;
  border-color:var(--accent);
  box-shadow:0 0 0 3px rgba(211,47,47,0.1);
}

.actions-row{
  display:flex;
  gap:12px;
  margin-top:24px;
  flex-wrap:wrap;
}

/* РЕЗУЛЬТАТ КОНВЕРТЕРА */
.converter-result{
  margin:24px 0;
  animation:fadeIn 0.3s ease;
}

.result-card{
  background:linear-gradient(135deg, var(--accent-100) 0%, #fff 100%);
  border:1.5px solid var(--accent);
  border-radius:var(--radius);
  padding:24px;
  text-align:center;
  box-shadow:var(--shadow);
}

.result-amount{
  font-size:28px;
  font-weight:800;
  color:var(--accent);
  margin-bottom:8px;
  line-height:1.2;
}

.result-info{
  display:flex;
  justify-content:space-between;
  align-items:center;
  flex-wrap:wrap;
  gap:10px;
}

.result-currency{
  font-size:18px;
  font-weight:600;
  color:#333;
}

.result-rate{
  font-size:14px;
  color:var(--muted);
  font-style:italic;
}

/* FOOTER */
.footer{
  background:#fafafa;
  border-top:1px solid var(--border);
  padding:40px 0 20px;
  margin-top:60px;
}

.footer-vertical{
  display:flex;
  flex-direction:column;
  gap:20px;
}

.footer-top{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding-bottom:20px;
  border-bottom:1px solid var(--border);
}

.footer-brand{
  display:flex;
  align-items:center;
  gap:12px;
  font-weight:700;
  font-size:var(--font-size-lg);
  color:#333;
}

.footer-cta{
  background:var(--accent);
  color:white;
  border:none;
  padding:10px 20px;
  border-radius:var(--radius);
  font-size:var(--font-size-sm);
  font-weight:600;
  cursor:pointer;
  transition:all 0.3s ease;
}

.footer-cta:hover{
  background:var(--accent-600);
  transform:translateY(-1px);
}

.footer-bottom{
  display:flex;
  justify-content:space-between;
  align-items:center;
  color:var(--muted);
  font-size:var(--font-size-sm);
}

.footer-info{
  display:flex;
  align-items:center;
  gap:16px;
}

.divider{
  color:var(--border);
}

/* АНИМАЦИИ */
@keyframes fadeIn{
  from{opacity:0;transform:translateY(-10px);}
  to{opacity:1;transform:translateY(0);}
}

/* СТИЛИ ДЛЯ СТРАНИЦЫ "О НАС" */
.breadcrumbs {
  margin-bottom:20px;
  font-size:14px;
  color:#666;
}

.breadcrumbs a {
  color:var(--accent);
  text-decoration:none;
}

.breadcrumbs a:hover {
  text-decoration:underline;
}

.about-hero {
  text-align:center;
  padding:40px 30px;
}

.about-header h1 {
  margin-bottom:10px;
  color:#333;
}

.about-header .subtitle {
  font-size:18px;
  color:#666;
  margin-bottom:40px;
}

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

.stat-item {
  text-align:center;
}

.stat-number {
  font-size:2.5em;
  font-weight:bold;
  color:var(--accent);
  margin-bottom:5px;
}

.stat-label {
  color:#666;
  font-size:14px;
}

.about-story, .about-values, .about-team, .about-contact {
  margin-top:30px;
}

.story-content {
  line-height:1.6;
  font-size:16px;
}

.story-content p {
  margin-bottom:20px;
}

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

.value-item {
  text-align:center;
  padding:20px;
}

.value-icon {
  font-size:3em;
  margin-bottom:15px;
}

.value-item h3 {
  margin-bottom:15px;
  color:#333;
}

.advantages-list {
  display:flex;
  flex-direction:column;
  gap:20px;
}

.advantage-item {
  padding:15px;
  border-left:3px solid var(--accent);
  background:#f9f9f9;
}

.advantage-item strong {
  display:block;
  margin-bottom:8px;
  color:#333;
}

.contact-info {
  display:flex;
  flex-direction:column;
  gap:15px;
  margin-bottom:30px;
}

.contact-item {
  display:flex;
  gap:10px;
}

.contact-item strong {
  min-width:120px;
}

.cta-section {
  text-align:center;
  padding:30px;
  background:#f9f9f9;
  border-radius:10px;
}

.cta-buttons {
  display:flex;
  gap:15px;
  justify-content:center;
  margin-top:20px;
  flex-wrap:wrap;
}

/* СТИЛИ ДЛЯ СТРАНИЦЫ ГАЛЕРЕИ */
.gallery-page {
  background:linear-gradient(135deg, var(--accent-100) 0%, rgba(255,255,255,0) 50%);
  min-height:100vh;
}

.gallery-header {
  background:var(--bg);
  border-bottom:1px solid var(--border);
  padding:20px 0;
  box-shadow:0 2px 10px rgba(0,0,0,0.05);
}

.gallery-header .container {
  display:flex;
  justify-content:space-between;
  align-items:center;
}

.back-btn {
  display:flex;
  align-items:center;
  gap:8px;
  color:var(--accent);
  text-decoration:none;
  font-weight:600;
  padding:10px 20px;
  border:2px solid var(--accent);
  border-radius:var(--radius);
  transition:all 0.3s ease;
  background:var(--bg);
}

.back-btn:hover {
  background:var(--accent);
  color:#fff;
  transform:translateX(-3px);
}

.gallery-title {
  text-align:center;
  margin:0;
  font-size:var(--font-size-2xl);
  color:var(--accent);
  font-weight:700;
}

.gallery-main {
  padding:40px 0;
}

.gallery-stats {
  display:flex;
  justify-content:center;
  gap:30px;
  margin:40px 0;
  flex-wrap:wrap;
}

.stat-badge {
  background:var(--bg);
  padding:15px 25px;
  border-radius:12px;
  border:2px solid var(--accent);
  box-shadow:var(--shadow);
  display:flex;
  align-items:center;
  gap:12px;
  font-size:var(--font-size-base);
  transition:all 0.3s ease;
}

.stat-badge:hover {
  transform:translateY(-2px);
  box-shadow:var(--shadow-hover);
}

.stat-badge .number {
  font-weight:800;
  color:var(--accent);
  font-size:1.5em;
}

.stat-badge .label {
  color:var(--muted);
  font-weight:600;
}

.gallery-container {
  display:grid;
  grid-template-columns:repeat(auto-fill, minmax(300px, 1fr));
  gap:30px;
  margin:50px 0;
}

.gallery-card {
  background:var(--bg);
  border-radius:16px;
  overflow:hidden;
  box-shadow:0 4px 20px rgba(0,0,0,0.08);
  border:2px solid var(--border);
  transition:all 0.4s ease;
  position:relative;
}

.gallery-card::before {
  content:'';
  position:absolute;
  top:0;
  left:0;
  right:0;
  height:4px;
  background:linear-gradient(90deg, var(--accent), var(--accent-600));
  opacity:0;
  transition:opacity 0.3s ease;
}

.gallery-card:hover {
  transform:translateY(-8px);
  box-shadow:0 12px 40px rgba(211,47,47,0.15);
  border-color:var(--accent);
}

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

.gallery-image {
  width:100%;
  height:220px;
  object-fit:cover;
  border-bottom:2px solid var(--border);
  background:linear-gradient(135deg, var(--accent-100), #f5f5f5);
  transition:all 0.3s ease;
}

.gallery-card:hover .gallery-image {
  border-bottom-color:var(--accent);
}

.gallery-info {
  padding:20px;
  background:var(--bg);
}

.gallery-description {
  color:#333;
  font-size:var(--font-size-base);
  line-height:1.5;
  margin:0 0 12px 0;
  font-weight:600;
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
  min-height:3em;
}

.gallery-meta {
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding-top:12px;
  border-top:1px solid var(--border);
}

.gallery-date {
  color:var(--muted);
  font-size:var(--font-size-sm);
  font-weight:500;
}

.gallery-currency {
  background:var(--accent-100);
  color:var(--accent);
  padding:4px 8px;
  border-radius:6px;
  font-size:var(--font-size-xs);
  font-weight:700;
  text-transform:uppercase;
}

.gallery-pagination {
  display:flex;
  justify-content:center;
  align-items:center;
  gap:12px;
  margin:60px 0 40px;
  flex-wrap:wrap;
}

.pagination-btn {
  padding:12px 20px;
  border:2px solid var(--border);
  background:var(--bg);
  border-radius:10px;
  cursor:pointer;
  transition:all 0.3s ease;
  font-size:var(--font-size-base);
  font-weight:600;
  min-width:50px;
  text-align:center;
}

.pagination-btn:hover:not(.disabled) {
  border-color:var(--accent);
  color:var(--accent);
  background:var(--accent-100);
  transform:translateY(-2px);
}

.pagination-btn.active {
  background:var(--accent);
  color:#fff;
  border-color:var(--accent);
  box-shadow:var(--shadow);
}

.pagination-btn.disabled {
  opacity:0.4;
  cursor:not-allowed;
  transform:none !important;
}

.page-info {
  color:#333;
  font-size:var(--font-size-base);
  font-weight:600;
  margin:0 20px;
  background:var(--accent-100);
  padding:10px 20px;
  border-radius:10px;
  border:1px solid var(--accent);
}

.gallery-settings {
  background:var(--bg);
  padding:25px;
  border-radius:16px;
  border:2px solid var(--border);
  margin-bottom:40px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  flex-wrap:wrap;
  gap:20px;
  box-shadow:var(--shadow);
}

.display-settings {
  display:flex;
  align-items:center;
  gap:20px;
  flex-wrap:wrap;
}

.setting-group {
  display:flex;
  align-items:center;
  gap:12px;
}

.setting-label {
  font-size:var(--font-size-base);
  color:#333;
  font-weight:600;
}

.setting-select {
  padding:10px 15px;
  border:2px solid var(--border);
  border-radius:8px;
  background:var(--bg);
  font-size:var(--font-size-base);
  font-weight:500;
  transition:all 0.3s ease;
}

.setting-select:focus {
  border-color:var(--accent);
  outline:none;
  box-shadow:0 0 0 3px rgba(211,47,47,0.1);
}

.gallery-empty-state {
  text-align:center;
  padding:80px 20px;
  color:var(--muted);
  grid-column:1 / -1;
}

.empty-icon {
  font-size:5rem;
  margin-bottom:25px;
  opacity:0.3;
}

.empty-state h3 {
  color:#666;
  margin-bottom:15px;
  font-size:1.5em;
}

.empty-state p {
  font-size:var(--font-size-base);
  max-width:400px;
  margin:0 auto;
  line-height:1.6;
}

.gallery-info-card {
  background:linear-gradient(135deg, var(--accent-100), var(--bg));
  border:2px solid var(--accent);
  border-radius:16px;
  padding:30px;
  margin:50px 0;
  text-align:center;
  box-shadow:var(--shadow);
}

.gallery-info-card h3 {
  color:var(--accent);
  margin-bottom:15px;
  font-size:1.4em;
}

.gallery-info-card p {
  color:#333;
  margin-bottom:0;
  font-size:var(--font-size-base);
  line-height:1.6;
}

.page-subtitle {
  text-align:center;
  color:var(--muted);
  font-size:var(--font-size-lg);
  margin-top:10px;
  margin-bottom:30px;
  font-weight:500;
}

/* БОКОВОЕ МЕНЮ */
.side-menu-overlay {
  position:fixed;
  top:0;
  left:0;
  width:100%;
  height:100%;
  background:rgba(0,0,0,0.5);
  backdrop-filter:blur(4px);
  z-index:1998;
  opacity:0;
  visibility:hidden;
  transition:all 0.3s ease;
}

.side-menu-overlay.active {
  opacity:1;
  visibility:visible;
}

.side-menu {
  position:fixed;
  top:0;
  left:-100%;
  width:320px;
  height:100vh;
  background:var(--bg);
  box-shadow:2px 0 20px rgba(0,0,0,0.1);
  z-index:1999;
  transition:left 0.3s ease;
  display:flex;
  flex-direction:column;
  overflow-y:auto;
}

.side-menu.active {
  left:0;
}

.menu-header {
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:20px;
  border-bottom:1px solid var(--border);
  background:linear-gradient(135deg, var(--accent-100), var(--bg));
}

.menu-logo {
  display:flex;
  align-items:center;
  gap:12px;
}

.menu-title {
  font-weight:700;
  font-size:var(--font-size-lg);
  color:var(--accent);
}

.menu-close {
  background:none;
  border:none;
  font-size:28px;
  color:var(--muted);
  cursor:pointer;
  width:40px;
  height:40px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:var(--radius);
  transition:all 0.3s ease;
}

.menu-close:hover {
  background:var(--accent-100);
  color:var(--accent);
}

.menu-content {
  flex:1;
  padding:20px 0;
  overflow-y:auto;
}

.menu-section {
  margin-bottom:30px;
  padding:0 20px;
}

.section-title {
  font-size:var(--font-size-sm);
  font-weight:600;
  color:var(--muted);
  text-transform:uppercase;
  letter-spacing:0.5px;
  margin-bottom:15px;
  padding-left:10px;
}

.menu-links {
  list-style:none;
  padding:0;
  margin:0;
}

.menu-links li {
  margin-bottom:8px;
}

.menu-link {
  display:flex;
  align-items:center;
  gap:15px;
  padding:12px 15px;
  text-decoration:none;
  color:#333;
  border-radius:var(--radius);
  transition:all 0.3s ease;
  border:none;
  background:none;
  width:100%;
  text-align:left;
  font-size:var(--font-size-base);
}

.menu-link:hover {
  background:var(--accent-100);
  color:var(--accent);
  transform:translateX(5px);
}

.menu-button {
  cursor:pointer;
}

.menu-icon {
  font-size:1.2em;
  width:24px;
  text-align:center;
}

.menu-text {
  flex:1;
  font-weight:500;
}

.menu-footer {
  padding:20px;
  border-top:1px solid var(--border);
  background:var(--card);
}

.menu-footer .contact-info {
  display:flex;
  flex-direction:column;
  gap:12px;
}

.menu-footer .contact-item {
  display:flex;
  align-items:center;
  gap:10px;
  font-size:var(--font-size-sm);
  color:var(--muted);
}

.contact-icon {
  font-size:1.1em;
}

/* КНОПКА МЕНЮ */





/* КНОПКА МЕНЮ */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 44px;
    height: 44px;
    background: var(--accent);
    border: none;
    border-radius: var(--radius);
    cursor: pointer;
    padding: 0;
    gap: 4px;
    transition: all 0.3s ease;
}

.menu-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    background: #fff;
    border-radius: 1px;
    transition: all 0.3s ease;
}

.menu-toggle:hover {
    background: var(--accent-600);
    transform: scale(1.05);
    box-shadow: var(--shadow-hover);
}

.menu-toggle.active {
    background: var(--accent-600);
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Варианты стилей кнопки */
.menu-toggle.clean {
    background: var(--accent-100);
    border: 2px solid var(--accent);
}

.menu-toggle.clean span {
    background: var(--accent);
}

.menu-toggle.clean:hover {
    background: var(--accent);
}

.menu-toggle.clean:hover span {
    background: #fff;
}

.menu-toggle.gradient {
    background: linear-gradient(135deg, var(--accent), var(--accent-600));
    border: none;
}

.menu-toggle.gradient span {
    background: #fff;
}

.menu-toggle.gradient:hover {
    background: linear-gradient(135deg, var(--accent-600), var(--accent));
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

/* Адаптивность для меню */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .menu-toggle {
        display: flex;
    }
}






/* СТИЛИ ДЛЯ СТРАНИЦЫ КОНТАКТОВ */
.contact-hero {
  text-align:center;
  background:linear-gradient(135deg, var(--accent-100) 0%, rgba(255,255,255,0) 100%);
  border-bottom:3px solid var(--accent);
}

.contact-header h1 {
  font-size:2.5rem;
  margin-bottom:1rem;
  color:#333;
}

.contact-subtitle {
  font-size:1.2rem;
  color:var(--muted);
  margin-bottom:2rem;
}

.contact-stats {
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(200px, 1fr));
  gap:1.5rem;
  margin-top:2rem;
}

.contact-stat {
  display:flex;
  align-items:center;
  gap:1rem;
  padding:1.5rem;
  background:#fff;
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  border:1px solid var(--border);
}

.stat-icon {
  font-size:2rem;
  width:60px;
  height:60px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:var(--accent);
  color:#fff;
  border-radius:50%;
  flex-shrink:0;
}

.stat-number {
  font-size:1.3rem;
  font-weight:700;
  color:var(--accent);
  margin-bottom:0.25rem;
}

.stat-label {
  color:var(--muted);
  font-size:0.9rem;
}

.section-title {
  font-size:1.8rem;
  margin-bottom:2rem;
  text-align:center;
  color:#333;
  position:relative;
}

.section-title::after {
  content:'';
  position:absolute;
  bottom:-10px;
  left:50%;
  transform:translateX(-50%);
  width:60px;
  height:3px;
  background:var(--accent);
  border-radius:2px;
}

.contacts-grid {
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(280px, 1fr));
  gap:1.5rem;
}

.contact-card {
  background:#fff;
  border-radius:var(--radius);
  padding:2rem;
  box-shadow:var(--shadow);
  border:2px solid var(--border);
  transition:all 0.3s ease;
  position:relative;
  overflow:hidden;
}

.contact-card::before {
  content:'';
  position:absolute;
  top:0;
  left:0;
  right:0;
  height:4px;
  background:var(--accent);
  transform:scaleX(0);
  transition:transform 0.3s ease;
}

.contact-card:hover::before {
  transform:scaleX(1);
}

.contact-card:hover {
  transform:translateY(-5px);
  box-shadow:var(--shadow-hover);
  border-color:var(--accent);
}

.contact-card.primary {
  border-color:var(--accent);
  background:linear-gradient(135deg, var(--accent-100) 0%, #fff 100%);
}

.contact-card.primary::before {
  transform:scaleX(1);
  background:var(--accent);
}

.contact-card-header {
  display:flex;
  align-items:center;
  gap:1rem;
  margin-bottom:1rem;
}

.contact-card-header .contact-icon {
  font-size:2rem;
  width:60px;
  height:60px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:var(--accent);
  color:#fff;
  border-radius:50%;
}

.contact-card-header h3 {
  margin:0;
  color:#333;
  font-size:1.3rem;
}

.contact-card-body p {
  color:var(--muted);
  margin-bottom:1rem;
  line-height:1.5;
}

.contact-link {
  display:inline-block;
  background:var(--accent);
  color:#fff;
  padding:0.75rem 1.5rem;
  border-radius:var(--radius);
  text-decoration:none;
  font-weight:600;
  transition:all 0.3s ease;
  border:2px solid var(--accent);
}

.contact-link:hover {
  background:#fff;
  color:var(--accent);
  transform:translateY(-2px);
}

.contact-card-footer {
  margin-top:1rem;
  padding-top:1rem;
  border-top:1px solid var(--border);
}

.contact-badge {
  background:var(--accent);
  color:#fff;
  padding:0.25rem 0.75rem;
  border-radius:20px;
  font-size:0.8rem;
  font-weight:600;
}

.social-grid {
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(250px, 1fr));
  gap:1.5rem;
}

.social-card {
  display:flex;
  align-items:center;
  gap:1rem;
  padding:1.5rem;
  background:#fff;
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  border:2px solid var(--border);
  text-decoration:none;
  color:inherit;
  transition:all 0.3s ease;
  position:relative;
  overflow:hidden;
}

.social-card::before {
  content:'';
  position:absolute;
  top:0;
  left:0;
  right:0;
  height:4px;
  background:var(--accent);
  transform:scaleX(0);
  transition:transform 0.3s ease;
}

.social-card:hover::before {
  transform:scaleX(1);
}

.social-card:hover {
  transform:translateY(-3px);
  box-shadow:var(--shadow-hover);
  border-color:var(--accent);
}

.social-card.telegram {
  border-color:#0088cc;
}

.social-card.instagram {
  border-color:#E4405F;
}

.social-card.vk {
  border-color:#4C75A3;
}

.social-icon {
  font-size:2rem;
  width:60px;
  height:60px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:var(--accent);
  color:#fff;
  border-radius:50%;
  flex-shrink:0;
}

.social-content h3 {
  margin:0 0 0.5rem 0;
  color:#333;
  font-size:1.1rem;
}

.social-content p {
  margin:0 0 0.5rem 0;
  color:var(--muted);
  font-size:0.9rem;
}

.social-handle {
  color:var(--accent);
  font-weight:600;
  font-size:0.9rem;
}

.contact-location {
  background:linear-gradient(135deg, var(--accent-100) 0%, #fff 100%);
  border:2px solid var(--accent);
}

.location-content {
  display:grid;
  grid-template-columns:2fr 1fr;
  gap:3rem;
  align-items:center;
}

.location-info h2 {
  color:var(--accent);
  margin-bottom:1rem;
  font-size:1.8rem;
}

.location-description {
  color:var(--muted);
  margin-bottom:2rem;
  font-size:1.1rem;
  line-height:1.6;
}

.location-features {
  display:flex;
  flex-direction:column;
  gap:1rem;
}

.feature {
  display:flex;
  align-items:center;
  gap:1rem;
  padding:1rem;
  background:#fff;
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  border:1px solid var(--border);
}

.feature-icon {
  font-size:1.5rem;
  width:50px;
  height:50px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:var(--accent-100);
  color:var(--accent);
  border-radius:50%;
  flex-shrink:0;
}

.feature-text strong {
  display:block;
  color:#333;
  margin-bottom:0.25rem;
}

.feature-text span {
  color:var(--muted);
  font-size:0.9rem;
}

.location-visual {
  display:flex;
  justify-content:center;
  align-items:center;
}

.map-placeholder {
  width:200px;
  height:200px;
  background:#fff;
  border:3px solid var(--accent);
  border-radius:50%;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  box-shadow:var(--shadow);
}

.map-pin {
  font-size:3rem;
  margin-bottom:0.5rem;
}

.map-text {
  color:var(--accent);
  font-weight:700;
  font-size:1.1rem;
}

.hours-grid {
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(250px, 1fr));
  gap:2rem;
}

.hours-section {
  background:#fff;
  padding:2rem;
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  border:1px solid var(--border);
}

.hours-section h3 {
  margin-bottom:1.5rem;
  color:#333;
  font-size:1.3rem;
}

.time-slot {
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:1rem 0;
  border-bottom:1px solid var(--border);
}

.time-slot:last-child {
  border-bottom:none;
}

.time-slot.highlight {
  background:var(--accent-100);
  margin:0 -2rem;
  padding:1rem 2rem;
  border-radius:var(--radius);
  border:1px solid var(--accent);
}

.days {
  font-weight:600;
  color:#333;
}

.time {
  color:var(--accent);
  font-weight:700;
}

.time-note {
  margin-top:1rem;
  color:var(--muted);
  font-size:0.9rem;
  font-style:italic;
}

.contact-cta {
  text-align:center;
  background:linear-gradient(135deg, var(--accent-100) 0%, #fff 100%);
  border:2px solid var(--accent);
}

.cta-content h2 {
  color:var(--accent);
  margin-bottom:1rem;
  font-size:2rem;
}

.cta-content p {
  color:var(--muted);
  margin-bottom:2rem;
  font-size:1.1rem;
  max-width:600px;
  margin-left:auto;
  margin-right:auto;
}

.cta-actions {
  display:flex;
  gap:1rem;
  justify-content:center;
  flex-wrap:wrap;
}

.btn-large {
  padding:1.25rem 2rem;
  font-size:1.1rem;
}

.btn-icon {
  margin-right:0.5rem;
}

/* МОДАЛЬНОЕ ОКНО ГАЛЕРЕИ */
.gallery-modal{
  display:none;
  position:fixed;
  z-index:2000;
  left:0;
  top:0;
  width:100%;
  height:100%;
  background-color:rgba(0,0,0,0.9);
  align-items:center;
  justify-content:center;
  padding:20px;
}

.gallery-modal-content{
  position:relative;
  max-width:95%;
  max-height:95%;
  display:flex;
  flex-direction:column;
  align-items:center;
}

.gallery-modal-img{
  max-width:100%;
  max-height:80vh;
  object-fit:contain;
  border-radius:var(--radius);
}

.gallery-modal-caption{
  color:#fff;
  text-align:center;
  margin-top:16px;
  font-size:16px;
  max-width:600px;
}

.gallery-modal-close{
  position:absolute;
  top:-40px;
  right:0;
  color:#fff;
  font-size:30px;
  font-weight:300;
  cursor:pointer;
  width:40px;
  height:40px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:rgba(255,255,255,0.1);
  border-radius:50%;
  transition:background 0.3s ease;
}

.gallery-modal-close:hover{
  background:rgba(255,255,255,0.2);
}

/* АДАПТИВНОСТЬ */
@media(max-width:768px){
  .container{
    padding:0 16px;
  }
  
  .nav-links{
    display:none;
  }
  
  .hero{
    padding:40px 16px;
  }
  
  .brand{
    flex-direction:column;
    text-align:center;
    gap:16px;
  }
  
  .hero-actions{
    flex-direction:column;
  }
  
  .btn{
    width:100%;
    justify-content:center;
  }
  
  .card{
    padding:24px;
  }
  
  .footer-top{
    flex-direction:column;
    gap:16px;
    text-align:center;
  }
  
  .footer-bottom{
    flex-direction:column;
    gap:12px;
    text-align:center;
  }
  
  .footer-info{
    flex-direction:column;
    gap:8px;
  }
  
  .divider{
    display:none;
  }
  
  .modal-content{
    padding:24px;
    margin:10px;
  }
  
  .actions-row{
    flex-direction:column;
  }
  
  .gallery-grid{
    grid-template-columns:repeat(auto-fit, minmax(140px, 1fr));
    gap:12px;
  }
  
  .gallery-container {
    grid-template-columns:repeat(auto-fill, minmax(250px, 1fr));
    gap:20px;
  }
  
  .gallery-view-all-full {
    padding:20px 15px;
  }
  
  .gallery-settings {
    flex-direction:column;
    align-items:stretch;
    gap:15px;
  }
  
  .gallery-stats {
    gap:20px;
  }
  
  .stat-badge {
    padding:12px 20px;
  }
  
  .stat-badge .number {
    font-size:1.3em;
  }
  
  .contact-stats {
    grid-template-columns:1fr;
  }
  
  .contacts-grid {
    grid-template-columns:1fr;
  }
  
  .social-grid {
    grid-template-columns:1fr;
  }
  
  .location-content {
    grid-template-columns:1fr;
    gap:2rem;
  }
  
  .hours-grid {
    grid-template-columns:1fr;
  }
  
  .cta-actions {
    flex-direction:column;
  }
  
  .contact-header h1 {
    font-size:2rem;
  }
  
  .contact-subtitle {
    font-size:1.1rem;
  }
  
  .menu-toggle {
    display:flex;
  }
  
  .side-menu {
    width:280px;
  }
}

@media(max-width:480px){
  .container{
    padding:0 12px;
  }
  
  .card{
    padding:20px;
  }
  
  .gallery-grid{
    grid-template-columns:repeat(auto-fit, minmax(120px, 1fr));
    gap:10px;
  }
  
  .gallery-container {
    grid-template-columns:1fr;
    gap:15px;
  }
  
  .step-item{
    flex-direction:column;
    gap:12px;
    text-align:center;
  }
  
  .step-number{
    align-self:center;
  }
  
  .gallery-thumb {
    height:100px;
  }
  
  .gallery-image {
    height:180px;
  }
  
  .gallery-view-all-full {
    padding:20px 10px;
  }
  
  .pagination-btn {
    padding:10px 15px;
    min-width:40px;
    font-size:var(--font-size-sm);
  }
  
  .stat-badge {
    padding:10px 15px;
    flex-direction:column;
    gap:5px;
    text-align:center;
  }
  
  .stat-badge .number {
    font-size:1.2em;
  }
  
  .contact-section {
    padding:15px;
  }
  
  .contact-item {
    flex-direction:column;
    text-align:center;
    gap:10px;
  }
  
  .contact-icon {
    align-self:center;
  }
  
  .map-placeholder {
    padding:30px 20px;
  }
  
  .side-menu {
    width:100%;
  }
  
  .menu-header {
    padding:15px;
  }
  
  .menu-section {
    padding:0 15px;
  }
  
  .menu-footer {
    padding:15px;
  }
}

@media(max-width:360px){
  .gallery-grid{
    grid-template-columns:1fr 1fr;
  }
  
  .gallery-container {
    grid-template-columns:1fr;
  }
  
  .gallery-thumb {
    height:80px;
  }
  
  .gallery-image {
    height:160px;
  }
  
  .pagination {
    gap:5px;
  }
  
  .pagination-btn {
    padding:8px 12px;
    min-width:35px;
    font-size:var(--font-size-xs);
  }
}