/* Печати Брянск — основные стили */
:root {
  --color-bg: #f8f9fa;
  --color-surface: #ffffff;
  --color-primary: #1a365d;
  --color-primary-hover: #2c5282;
  --color-accent: #2b6cb0;
  --color-text: #1a202c;
  --color-text-muted: #4a5568;
  --color-border: #e2e8f0;
  --color-success: #276749;
  --shadow: 0 1px 3px rgba(26, 54, 93, 0.08);
  --shadow-lg: 0 10px 40px rgba(26, 54, 93, 0.12);
  --radius: 8px;
  --radius-lg: 12px;
  --font: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  color: var(--color-text);
  background: var(--color-bg);
}

.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}

.container.narrow {
  max-width: 720px;
}

a {
  color: var(--color-accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Header */
.header {
  background: var(--color-surface);
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 64px;
}

.logo {
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--color-primary);
  text-decoration: none;
}

.logo:hover {
  text-decoration: none;
  color: var(--color-primary-hover);
}

.nav {
  display: flex;
  gap: 8px;
}

.nav-link {
  padding: 8px 14px;
  color: var(--color-text-muted);
  font-weight: 500;
  border-radius: var(--radius);
  text-decoration: none;
}

.nav-link:hover,
.nav-link.active {
  color: var(--color-primary);
  background: rgba(26, 54, 93, 0.06);
  text-decoration: none;
}

.cart-btn {
  position: relative;
  width: 44px;
  height: 44px;
  padding: 0;
  border: none;
  border-radius: var(--radius);
  background: var(--color-primary);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.cart-btn:hover {
  background: var(--color-primary-hover);
  text-decoration: none;
  color: #fff;
}

.cart-icon::after {
  content: '';
  display: block;
  width: 22px;
  height: 18px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2'%3E%3Cpath d='M6 2L3 6v14a2 2 0 002 2h14a2 2 0 002-2V6l-3-4z'/%3E%3Cline x1='3' y1='6' x2='21' y2='6'/%3E%3Cpath d='M16 10a4 4 0 01-8 0'/%3E%3C/svg%3E") center/contain no-repeat;
}

.cart-count {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  font-size: 0.75rem;
  font-weight: 600;
  background: var(--color-accent);
  color: #fff;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Hero */
.hero {
  --mouse-x: 0.5;
  --mouse-y: 0.5;
  background:
    radial-gradient(
      ellipse 70% 70% at calc(var(--mouse-x) * 100%) calc(var(--mouse-y) * 100%),
      rgba(100, 180, 255, 0.22) 0%,
      rgba(80, 140, 220, 0.08) 35%,
      transparent 60%
    ),
    radial-gradient(
      ellipse 100% 100% at calc((1 - var(--mouse-x)) * 100%) calc((1 - var(--mouse-y)) * 100%),
      rgba(120, 160, 255, 0.12) 0%,
      transparent 50%
    ),
    linear-gradient(145deg, #0f2744 0%, #1a365d 25%, #2c5282 50%, #1e4d7a 75%, #153a5e 100%);
  color: #fff;
  padding: 56px 0 64px;
  min-height: calc(100vh - 64px);
  display: flex;
  align-items: center;
  }

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.hero-content {
  max-width: 580px;
}

.hero-title {
  margin: 0 0 20px;
  font-size: clamp(2.1rem, 5vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.hero-utp {
  margin: 0 0 32px;
  font-size: 1.2rem;
  line-height: 1.55;
  opacity: 0.92;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.btn-hero {
  padding: 16px 32px;
  font-size: 1.1rem;
}

.btn-hero-outline {
  padding: 16px 32px;
  font-size: 1.1rem;
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.6);
  border-radius: var(--radius);
  font-family: var(--font);
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-hero-outline:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: #fff;
  color: #fff;
  text-decoration: none;
}

.hero-image-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-image-wrap .hero-image {
  width: 100%;
  max-width: 480px;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: var(--radius-lg);
}

.hero-image-wrap:not(.has-hero-image) .hero-image {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.hero-image-wrap.has-hero-image .hero-image {
  position: relative;
  opacity: 1;
}

.hero-image-wrap .hero-image-placeholder {
  position: relative;
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  aspect-ratio: 1;
  background: rgba(255, 255, 255, 0.08);
  border: 2px dashed rgba(255, 255, 255, 0.25);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-image-wrap.has-hero-image .hero-image-placeholder {
  display: none;
}

.hero-placeholder-text {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.5);
}

@media (max-width: 768px) {
  .hero {
    padding: 40px 0 48px;
    min-height: auto;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 32px;
    text-align: center;
  }

  .hero-content {
    max-width: none;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-image-wrap .hero-image,
  .hero-image-wrap .hero-image-placeholder {
    max-width: 320px;
  }
  .hero-image-wrap .hero-image-placeholder {
    max-width: 320px;
    margin: 0 auto;
  }
}

/* Section */
.section-title {
  margin: 0 0 24px;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--color-primary);
}

/* Catalog */
.catalog-section {
  padding: 48px 0 56px;
}

.catalog-controls {
  margin-bottom: 28px;
}

.catalog-seo-text {
  margin: 0 0 16px;
  font-size: 0.95rem;
  color: var(--color-text-muted);
  line-height: 1.5;
  max-width: 640px;
}

.catalog-noscript {
  margin: 16px 0 0;
  padding-left: 1.25rem;
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.filter-btn {
  padding: 8px 16px;
  font-family: var(--font);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-text-muted);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}

.filter-btn:hover,
.filter-btn.active {
  color: var(--color-primary);
  border-color: var(--color-primary);
  background: rgba(26, 54, 93, 0.04);
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}

.card {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: box-shadow 0.2s, transform 0.2s;
  cursor: pointer;
  display: flex;
  flex-direction: column;
}

.card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.card-image-wrap {
  position: relative;
  aspect-ratio: 1;
  background: var(--color-bg);
  overflow: hidden;
}

.card-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.card-body {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.card-title {
  margin: 0 0 8px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-text);
  line-height: 1.35;
}

.card-price {
  margin: 0 0 16px;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-primary);
}

.card-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: auto;
}

.card-add-btn {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  padding: 0;
  border: none;
  border-radius: var(--radius);
  background: var(--color-primary);
  color: #fff;
  font-size: 1.4rem;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-add-btn:hover {
  background: var(--color-primary-hover);
  transform: scale(1.05);
}

.card-add-btn-in-cart {
  background: var(--color-success);
  color: #fff;
}

.card-add-btn-in-cart:hover {
  background: #2f855a;
  color: #fff;
}

.card-in-cart-label {
  font-size: 0.8rem;
  color: var(--color-success);
  font-weight: 500;
  flex-shrink: 0;
}

.card-btn {
  flex: 1;
  min-width: 0;
}

.modal-product-in-cart {
  margin: 0 0 16px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--color-success);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  border: none;
  text-decoration: none;
}

.btn-primary {
  background: var(--color-primary);
  color: #fff;
}

.btn-primary:hover {
  background: var(--color-primary-hover);
  color: #fff;
  text-decoration: none;
}

.btn-outline {
  background: transparent;
  color: var(--color-primary);
  border: 1px solid var(--color-primary);
}

.btn-outline:hover {
  background: rgba(26, 54, 93, 0.06);
  text-decoration: none;
  color: var(--color-primary);
}

.btn-block {
  width: 100%;
}

/* Reviews */
.reviews-section {
  padding: 48px 0 56px;
  background: var(--color-bg);
}

.reviews-inner {
  max-width: 920px;
  margin: 0 auto;
  padding: 0 20px;
}

.reviews-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}

.reviews-header .section-title {
  margin: 0;
}

.reviews-nav {
  display: flex;
  gap: 8px;
}

.reviews-btn {
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: var(--color-surface);
  color: var(--color-primary);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.reviews-btn:hover {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
}

.reviews-wrap {
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  -webkit-overflow-scrolling: touch;
}

.reviews-wrap::-webkit-scrollbar {
  display: none;
}

.reviews-track {
  display: flex;
  gap: 20px;
  width: max-content;
  padding: 8px 0 24px;
}

.review-card {
  flex-shrink: 0;
  width: 280px;
  padding: 20px;
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  border: 1px solid var(--color-border);
}

.review-text {
  margin: 0 0 12px;
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--color-text);
}

.review-author {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--color-primary);
}

/* Consultation */
.consult-section {
  background: var(--color-surface);
  padding: 48px 0 56px;
  box-shadow: var(--shadow);
}

.consult-text {
  margin: 0 0 24px;
  color: var(--color-text-muted);
  max-width: 480px;
}

.consult-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  max-width: 560px;
}

.consult-form input[type="text"],
.consult-form input[type="tel"],
.consult-form textarea {
  padding: 12px 14px;
  font-family: var(--font);
  font-size: 1rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: var(--color-surface);
}

.consult-form textarea {
  grid-column: 1 / -1;
  resize: vertical;
  min-height: 80px;
}

.consult-form .btn {
  grid-column: 1 / -1;
  justify-self: start;
}

@media (max-width: 560px) {
  .consult-form {
    grid-template-columns: 1fr;
  }
}

/* Footer */
.footer {
  background: var(--color-primary);
  color: rgba(255, 255, 255, 0.85);
  padding: 28px 0;
  margin-top: 0;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.footer-links {
  display: flex;
  gap: 20px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
}

.footer-links a:hover {
  color: #fff;
  text-decoration: underline;
}

.footer-copy {
  margin: 0;
  font-size: 0.9rem;
  opacity: 0.9;
}

/* Modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(26, 54, 93, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 200;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s, visibility 0.2s;
}

.modal-overlay.open {
  opacity: 1;
  visibility: visible;
}

.modal {
  position: relative;
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  max-width: 820px;
  width: 100%;
  max-height: 92vh;
  overflow: auto;
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  padding: 0;
  border: none;
  background: var(--color-bg);
  color: var(--color-text-muted);
  font-size: 1.5rem;
  line-height: 1;
  border-radius: var(--radius);
  cursor: pointer;
  z-index: 1;
  transition: background 0.2s, color 0.2s;
}

.modal-close:hover {
  background: var(--color-border);
  color: var(--color-text);
}

.modal-content {
  padding: 28px;
}

.modal-product {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 28px;
}

.modal-product-image {
  background: var(--color-bg);
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 1;
}

.modal-product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.modal-product-title {
  margin: 0 0 12px;
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--color-primary);
}

.modal-product-desc {
  margin: 0 0 20px;
  color: var(--color-text-muted);
  font-size: 0.95rem;
  line-height: 1.5;
}

.modal-product-price {
  margin: 0 0 24px;
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--color-primary);
}

.modal-similar {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--color-border);
}

.modal-similar-title {
  margin: 0 0 16px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-text-muted);
}

.modal-similar-list {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.modal-similar-item {
  flex: 0 0 calc(25% - 9px);
  min-width: 0;
}

.modal-similar-item a {
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--color-bg);
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.2s;
}

.modal-similar-item a:hover {
  box-shadow: var(--shadow);
  text-decoration: none;
  color: inherit;
}

.modal-similar-item img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  display: block;
}

.modal-similar-item span {
  display: block;
  padding: 8px 10px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--color-text);
  line-height: 1.3;
}

@media (max-width: 640px) {
  .modal-product {
    grid-template-columns: 1fr;
  }

  .modal-product-image {
    max-width: 260px;
    margin: 0 auto;
  }

  .modal-similar-item {
    flex: 0 0 calc(50% - 6px);
  }
}

@media (max-width: 480px) {
  .modal-similar-item {
    flex: 0 0 100%;
  }
}

/* Cart sidebar */
.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(26, 54, 93, 0.4);
  z-index: 200;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s, visibility 0.2s;
  display: flex;
  justify-content: flex-end;
}

.cart-overlay.open {
  opacity: 1;
  visibility: visible;
}

.cart-sidebar {
  width: 100%;
  max-width: 400px;
  background: var(--color-surface);
  box-shadow: -4px 0 24px rgba(26, 54, 93, 0.15);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.cart-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 20px 16px;
  border-bottom: 1px solid var(--color-border);
}

.cart-header h2 {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-primary);
}

.cart-close {
  width: 36px;
  height: 36px;
  padding: 0;
  border: none;
  background: var(--color-bg);
  color: var(--color-text-muted);
  font-size: 1.5rem;
  line-height: 1;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.cart-close:hover {
  background: var(--color-border);
  color: var(--color-text);
}

.cart-body {
  flex: 1;
  overflow-y: auto;
  padding: 16px 20px;
}

.cart-empty {
  margin: 0;
  color: var(--color-text-muted);
  text-align: center;
  padding: 24px 0;
}

.cart-item {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--color-border);
}

.cart-item:last-child {
  border-bottom: none;
}

.cart-item-info {
  flex: 1;
  min-width: 0;
}

.cart-item-name {
  display: block;
  font-weight: 500;
  color: var(--color-text);
  margin-bottom: 4px;
}

.cart-item-qty {
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

.cart-item-right {
  display: flex;
  align-items: center;
  gap: 8px;
}

.cart-item-sum {
  font-weight: 600;
  color: var(--color-primary);
  white-space: nowrap;
}

.cart-item-remove {
  width: 28px;
  height: 28px;
  padding: 0;
  border: none;
  background: var(--color-bg);
  color: var(--color-text-muted);
  font-size: 1.25rem;
  line-height: 1;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.cart-item-remove:hover {
  background: #fed7d7;
  color: #c53030;
}

.cart-totals {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--color-border);
}

.cart-totals-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
  margin-bottom: 6px;
}

.cart-totals-row:last-child {
  margin-bottom: 0;
}

.cart-totals-discount {
  color: var(--color-success);
}

.cart-totals-total {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid var(--color-border);
}

.cart-totals-hint {
  margin: 10px 0 0;
  font-size: 0.85rem;
  color: var(--color-text-muted);
  line-height: 1.3;
}

.cart-footer {
  padding: 20px;
  border-top: 1px solid var(--color-border);
  background: var(--color-bg);
}

.cart-form input,
.cart-form textarea {
  width: 100%;
  margin-bottom: 12px;
  padding: 12px 14px;
  font-family: var(--font);
  font-size: 1rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: var(--color-surface);
}

.cart-form textarea {
  resize: vertical;
  min-height: 60px;
}

.cart-form .btn {
  margin-top: 8px;
}

/* Page (about, contacts, legal) */
.main-page {
  min-height: calc(100vh - 64px);
  display: flex;
  flex-direction: column;
}

.main-page .contacts-section,
.main-page .about-content,
.main-page .legal-content {
  flex: 1;
}

.page-hero {
  background: linear-gradient(135deg, var(--color-primary) 0%, #2c5282 100%);
  color: #fff;
  padding: 32px 0 40px;
  text-align: center;
}

.page-title {
  margin: 0;
  font-size: clamp(1.5rem, 3vw, 1.75rem);
  font-weight: 700;
}

.about-content,
.legal-content {
  padding: 40px 0 56px;
  flex: 1;
}

.about-lead {
  font-size: 1.1rem;
  color: var(--color-text-muted);
  margin: 0 0 32px;
  line-height: 1.6;
}

.about-blocks {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin-bottom: 32px;
}

.about-block h2 {
  margin: 0 0 10px;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--color-primary);
}

.about-block p {
  margin: 0;
  color: var(--color-text);
  line-height: 1.6;
}

.about-cta {
  margin: 0;
  padding-top: 20px;
  border-top: 1px solid var(--color-border);
  color: var(--color-text-muted);
}

.about-cta a {
  font-weight: 500;
}

/* Legal */
.legal-content p {
  margin: 0 0 16px;
  color: var(--color-text);
  line-height: 1.6;
}

.legal-content strong {
  color: var(--color-primary);
}

.legal-date {
  margin-top: 28px !important;
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

/* Contacts */
.contacts-section {
  padding: 40px 0 56px;
}

.contacts-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.contacts-info h2 {
  margin: 0 0 24px;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-primary);
}

.contact-item {
  margin-bottom: 20px;
}

.contact-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 4px;
}

.contact-item a,
.contact-item p {
  margin: 0;
  color: var(--color-text);
  font-size: 1.05rem;
}

.contact-item a:hover {
  color: var(--color-accent);
}

.contacts-map-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--color-bg);
}

.contacts-map {
  width: 100%;
  height: 320px;
  border: none;
  display: block;
}

.map-note {
  margin: 0;
  padding: 12px 16px;
  font-size: 0.85rem;
  color: var(--color-text-muted);
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
}

.map-note code {
  font-size: 0.8em;
  background: var(--color-bg);
  padding: 2px 6px;
  border-radius: 4px;
}

@media (max-width: 768px) {
  .contacts-grid {
    grid-template-columns: 1fr;
  }

  .nav {
    flex-wrap: wrap;
  }
}
