/* ─── Static pages (about, help, service, warranty, etc.) ─── */

.mc-static {
  max-width: 820px;
  margin: 0 auto;
  padding: 64px 24px 96px;
}

.mc-static__title {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 24px;
  color: #1a1a1a;
}

.mc-static__content {
  font-size: 1rem;
  line-height: 1.75;
  color: #333;
}

.mc-static__content > p:first-child {
  font-size: 1.15rem;
  color: var(--mc-taupe, #6A5C55);
  line-height: 1.8;
  margin-bottom: 20px;
}

.mc-static__content p {
  margin-bottom: 16px;
}

.mc-static__content h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  font-weight: 600;
  margin: 32px 0 12px;
  color: #1a1a1a;
  padding-left: 12px;
  border-left: 3px solid #C9B07E;
}

.mc-static__content ul {
  margin: 0 0 16px 0;
  padding-left: 24px;
  list-style: none;
}

.mc-static__content ul li {
  margin-bottom: 8px;
  line-height: 1.7;
  position: relative;
  padding-left: 16px;
}

.mc-static__content ul li::before {
  content: '—';
  position: absolute;
  left: -8px;
  color: #C9B07E;
  font-weight: 600;
}

.mc-static__content strong {
  color: #1a1a1a;
  font-weight: 600;
}

.mc-static__content a {
  color: #6B4632;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}

.mc-static__content a:hover {
  border-color: #6B4632;
}

.mc-static__subnav {
  display: flex;
  gap: 16px;
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid #e0e0e0;
}

.mc-static__sublink {
  font-size: 0.95rem;
  color: #2d6cdf;
  text-decoration: none;
  padding: 8px 16px;
  border: 1px solid #ddd;
  border-radius: 6px;
  transition: background 0.15s;
}

.mc-static__sublink:hover {
  background: #f5f5f5;
}

.mc-static__back {
  display: inline-block;
  font-size: 0.9rem;
  color: #2d6cdf;
  text-decoration: none;
  margin-bottom: 16px;
}

/* ─── FAQ accordion ─── */

.mc-faq-item {
  border-bottom: 1px solid #e0e0e0;
  padding: 0;
}

.mc-faq-item__question {
  font-size: 1.05rem;
  font-weight: 600;
  padding: 16px 0;
  cursor: pointer;
  color: #1a1a1a;
  list-style: none;
}

.mc-faq-item__question::-webkit-details-marker {
  display: none;
}

.mc-faq-item[open] .mc-faq-item__question {
  color: #2d6cdf;
}

.mc-faq-item__answer {
  padding: 0 0 16px 0;
  color: #444;
  line-height: 1.7;
}

/* ─── Contact page form ─── */

.mc-contact-page {
  display: flex;
  gap: 48px;
  margin-top: 32px;
}

.mc-contact-page__info {
  flex: 0 0 280px;
}

.mc-contact-page__block {
  margin-bottom: 32px;
}

.mc-contact-page__label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #999;
  margin-bottom: 8px;
}

.mc-contact-page__heading {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.mc-contact-page__text {
  font-size: 0.95rem;
  line-height: 1.8;
  color: #444;
}

.mc-contact-page__link {
  color: #2d6cdf;
  text-decoration: none;
}

.mc-contact-page__link:hover {
  text-decoration: underline;
}

.mc-contact-page__form-wrap {
  flex: 1;
}

.mc-contact-page__form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.mc-contact-page__input {
  padding: 12px 16px;
  font-size: 0.95rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-family: inherit;
}

.mc-contact-page__input:focus {
  outline: none;
  border-color: #2d6cdf;
}

.mc-contact-page__textarea {
  min-height: 140px;
  resize: vertical;
  padding: 12px 16px;
  font-size: 0.95rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-family: inherit;
}

.mc-contact-page__textarea:focus {
  outline: none;
  border-color: #2d6cdf;
}

.mc-contact-page__submit {
  padding: 14px 32px;
  font-size: 1rem;
  font-weight: 600;
  background: #1a1a1a;
  color: #fff;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.15s;
}

.mc-contact-page__submit:hover:not(:disabled) {
  background: #333;
}

.mc-contact-page__submit:disabled {
  opacity: 0.6;
  cursor: default;
}

.mc-contact-page__success {
  padding: 24px;
  background: #e8f5e9;
  border: 1px solid #4caf50;
  border-radius: 8px;
  color: #2e7d32;
  font-size: 1rem;
}

.mc-contact-page__error {
  padding: 16px;
  background: #fef0f0;
  border: 1px solid #f56c6c;
  border-radius: 8px;
  color: #c45656;
  font-size: 0.9rem;
  margin-bottom: 14px;
}

/* ─── Compare table ─── */

.mc-compare-table {
  overflow-x: auto;
  margin: 24px 0;
}

.mc-compare-table table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.mc-compare-table th,
.mc-compare-table td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid #e0e0e0;
}

.mc-compare-table thead th {
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  color: #1a1a1a;
}

.mc-compare-table tbody td:first-child {
  font-weight: 600;
  color: #666;
}

.mc-compare__link {
  color: #2d6cdf;
  text-decoration: none;
}

.mc-compare__link:hover {
  text-decoration: underline;
}

/* ─── Newsletter status ─── */

.mc-footer__newsletter-ok {
  padding: 12px 16px;
  background: rgba(76, 175, 80, 0.15);
  border: 1px solid rgba(76, 175, 80, 0.4);
  border-radius: 6px;
  color: #81c784;
  font-size: 0.9rem;
}

.mc-footer__newsletter-err {
  color: #ef9a9a;
  font-size: 0.85rem;
  margin-bottom: 8px;
}

/* ─── Gallery ─── */

.mc-gallery__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
  margin-top: 32px;
}

.mc-gallery__item {
  overflow: hidden;
  border-radius: 8px;
  cursor: pointer;
  position: relative;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.mc-gallery__item:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.mc-gallery__img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;
  transition: opacity 0.2s ease;
}

.mc-gallery__item:hover .mc-gallery__img {
  opacity: 0.88;
}

/* ─── Scroll-to-top button ─── */

.mc-scroll-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--mc-walnut);
  color: #fff;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 900;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease, background 0.2s ease;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
}

.mc-scroll-top--visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.mc-scroll-top:hover {
  background: var(--mc-walnut-hover);
}

.mc-scroll-top svg {
  width: 20px;
  height: 20px;
}

/* ─── Responsive ─── */

@media (max-width: 768px) {
  .mc-static {
    padding: 40px 16px 64px;
  }

  .mc-static__title {
    font-size: 1.5rem;
  }

  .mc-contact-page {
    flex-direction: column;
    gap: 32px;
  }

  .mc-contact-page__info {
    flex: none;
  }

  .mc-static__subnav {
    flex-wrap: wrap;
  }

  .mc-gallery__grid {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 12px;
  }

  .mc-gallery__img {
    height: 200px;
  }

  .mc-scroll-top {
    bottom: 16px;
    right: 16px;
    width: 42px;
    height: 42px;
  }
}
