@import url('https://fonts.googleapis.com/css2?family=Merriweather&display=swap');

:root {
  --primary-dark:   #2C3E50;
  --accent-wine:    #7D3C49;
  --background:     #F5F5F5;
  --text-dark:      #333333;
  --text-light:     #777777;
}

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

body {
  font-family: 'Merriweather', serif;
  background-color: var(--background);
  color: var(--text-dark);
  line-height: 1.6;
  font-size: 1rem; /* 16px */
  padding-top: 0px;
}

html, body {
  height: 100%;
}


/* ---------------------- Шапка ---------------------- */

header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: var(--primary-dark);
  color: white;
  z-index: 1000;
  padding: 15px 0;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 95%;
  margin: 0 auto;
}

.logo-block {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: inherit;
}

.logo-block:hover {
  opacity: 0.9;
  transform: none;
}

.logo-img {
  width: 35px;
  height: auto; 
  object-fit: contain;
}

.logo-text strong {
  font-size: 1rem; /* 16px */
}

.logo-text small {
  font-size: 0.75rem; /* 12px */
  color: #ccc;
}

.nav-menu-desktop ul {
  list-style: none;
  display: flex;
  gap: 20px;
  margin: 0;
  padding: 0;
}

.nav-menu-desktop > ul > li {
  position: relative;
}

.nav-menu-desktop a {
  color: white;
  text-decoration: none;
  font-weight: 700;
  display: block;
  padding: 10px 0;
}

.nav-menu-desktop > ul > li > a:hover {
  color: var(--accent-wine);
} 

/* Стили для выпадающего меню */
.dropdown {
  position: relative;
}

.dropdown-toggle {
  cursor: pointer;
  white-space: nowrap;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: var(--primary-dark);
  min-width: 240px;
  max-width: 90vw;
  padding: 10px 0;
  list-style: none;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  z-index: 1001;
  border-top: 2px solid var(--accent-wine);
  box-sizing: border-box;
  overflow-x: hidden;
  white-space: normal;
  word-wrap: break-word;
}

.dropdown-menu li {
  padding: 0;
  margin: 0;
}

.dropdown-menu a {
  display: block;
  padding: 10px 20px;
  color: white;
  text-decoration: none;
  transition: all 0.3s ease;
  white-space: normal;
  line-height: 1.4;
}

.dropdown-menu a:hover {
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--accent-wine);
}

.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

@media (min-width: 900px) {
  .dropdown-menu {
    right: auto;
  }

  .dropdown-menu.align-right {
    left: auto;
    right: 0;
  }
}

.header-contacts {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  font-size: 0.85rem; /* 13.6px */
  gap: 5px;
}

.header-contacts a {
  color: white;
  text-decoration: none;
  white-space: nowrap;
}

.header-contacts span {
  white-space: nowrap;
}

/* Кнопка */
.vision-btn {
  background: none;
  color: #fff;
  border: none;
  padding: 8px 14px;
  cursor: pointer;
  font-size: 1.8rem; /* 28.8px */
  border-radius: 4px;
  margin-left: 15px;
}

.vision-btn:hover {
  background: #333;
}

body.vision-mode {
  transform: scale(1.7);
  transform-origin: top left;
  width: 60%;
}

html, body {
  overflow-x: hidden;
}

body.vision-mode h1,
body.vision-mode h2,
body.vision-mode h3,
body.vision-mode p,
body.vision-mode a,
body.vision-mode li,
body.vision-mode span,
body.vision-mode strong {
  font-size: 1em !important;
}

@media (max-width: 768px) {
  #vision-toggle {
    display: none !important;
  }
}

.burger {
  display: none;
  font-size: 1.8rem; /* 28.8px */
  cursor: pointer;
  color: white;
  margin-left: 15px;
}

/* Мобильное меню */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -250px;
  width: 250px;
  height: 100%;
  background: var(--primary-dark);
  padding-top: 80px;
  transition: right 0.3s ease;
  z-index: 2000;
}

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

.mobile-menu li {
  padding: 15px 20px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.mobile-menu a {
  color: white;
  text-decoration: none;
  display: block;
}

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

.dropdown-toggle .arrow {
  font-size: 0.7em;
  margin-left: 5px;
  transition: transform 0.3s ease;
  display: inline-block;
}

.dropdown:hover .dropdown-toggle .arrow {
  transform: rotate(180deg);
}

/* Адаптив */
@media (max-width: 900px) {
  .nav-menu-desktop {
    display: none;
  }

  .burger {
    display: block;
  }
  
  .mobile-menu li {
    display: block;
  }
}
@media (max-width: 1100px) {
  .logo-text {
    display: block;
  }
}
@media (max-width: 770px) {
  .header-contacts {
    display: none;
  }
}

/* Главный блок */
body {
  padding-top: 80px;
}

.hero {
  position: relative;
  width: 100%;
  height: 500px;
  overflow: hidden;
  margin-top: 0px;
  padding-top: 0;
}

.hero-img {
  display: block;
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  padding-left: 50px;
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.btn {
  background: #7a6f63;
  color: #fff;
  padding: 12px 20px;
  font-size: 1.125rem; /* 18px */
  text-decoration: none;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  transition: 0.3s;
  width: 500px; 
  text-align: center;
  box-sizing: border-box; 
}

.btn:hover {
  background: #5e554c;
}

.btn.outline {
  background: transparent;
  border: 2px solid #fff;
  color: #fff;
}

.btn.small {
  font-size: 0.875rem; /* 14px */
  padding: 8px 15px;
  width: auto; 
}

@media (max-width: 768px) {
  .hero-overlay {
    padding-left: 20px;
    justify-content: center;
    align-items: center;
    text-align: center;
  }

  .hero-buttons {
    width: 100%;
    align-items: center;
  }

  .btn {
    font-size: 1rem; /* 16px */
    padding: 10px 16px;
    width: 90%;
  }
}

/* Шторка */
.guide-drop {
  max-height: 0;
  overflow: hidden;
  background: #f9f9f9;
  transition: max-height 0.6s ease;
  padding: 0 20px;
  border-top: 2px solid #ddd;
}

.guide-drop.open {
  max-height: 800px;
  padding: 30px 20px;
}

.guide-text {
  max-width: 900px;
  margin: 0 auto;
  font-family: 'Merriweather', serif;
  color: #333;
  line-height: 1.7;
}

.guide-text h2 {
  text-align: center;
  color: #7a6f63;
  font-size: 1.625rem; /* 26px */
  margin-bottom: 20px;
}

.guide-text ol {
  counter-reset: item;
  margin-left: 0;
  padding-left: 0;
}

.guide-text li {
  list-style: none;
  position: relative;
  margin-bottom: 20px;
  padding-left: 35px;
  font-size: 1.0625rem; /* 17px */
}

.guide-text li::before {
  counter-increment: item;
  content: counter(item) ".";
  position: absolute;
  left: 0;
  top: 0;
  color: #7a6f63;
  font-weight: bold;
}

.guide-text strong {
  color: #000;
}

.guide-important {
  margin-top: 25px;
  padding: 15px 20px;
  background: #fff5e6;
  border-left: 5px solid #e0a85c;
  border-radius: 6px;
  font-size: 1rem; /* 16px */
  line-height: 1.6;
}

/* Затемнение фона */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.5);
  z-index: 999;
  display: none;
}

/* Попап */
.modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #fff;
  padding: 20px;
  width: 90%;
  max-width: 400px;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
  display: none;
  z-index: 1000;
}

.modal.active {
  display: block;
}

.modal-overlay.active {
  display: block;
  backdrop-filter: blur(3px);
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}

.modal-header h3 {
  margin: 0;
  font-size: 1.25rem; /* 20px */
  color: #333;
}

.modal-close {
  background: transparent;
  border: none;
  font-size: 1.25rem; /* 20px */
  cursor: pointer;
}

.modal-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.modal-form label {
  display: flex;
  flex-direction: column;
  font-size: 0.875rem; /* 14px */
  color: #555;
}

.modal-form input,
.modal-form textarea {
  padding: 10px;
  border-radius: 6px;
  border: 1px solid #ccc;
  font-size: 0.875rem; /* 14px */
  width: 100%;
  box-sizing: border-box;
}

.modal-form .btn {
  width: 100%;
  text-align: center;
}

.privacy-check {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  color: #444;
  margin: 20px 0;
  line-height: 1.5;
  cursor: pointer;
  padding: 10px 15px;
  background: #f9f9f9;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  transition: all 0.2s ease;
  position: relative;
  overflow: hidden;
}

.privacy-check:hover {
  background: #f5f5f5;
  border-color: #b30000;
  box-shadow: 0 2px 8px rgba(179, 0, 0, 0.05);
}

.privacy-check input {
  margin-top: 3px;
  cursor: pointer;
  width: 18px;
  height: 18px;
  accent-color: #b30000;
  flex-shrink: 0;
}

.check-text {
  flex: 1;
}

.highlight {
  color: #b30000;
  font-weight: 500;
}

.privacy-check a {
  color: #b30000;
  text-decoration: underline;
  font-weight: 500;
  transition: color 0.2s;
}

.privacy-check a:hover {
  color: #800000;
  text-decoration: none;
}

/* Стиль для отмеченного состояния */
.privacy-check:has(input:checked) {
  background: #fff1f1;
  border-color: #b30000;
}

/* Адаптивность */
@media (max-width: 480px) {
  .privacy-check {
    font-size: 13px;
    padding: 12px;
  }
}

.submit-btn {
  width: 100%;
  padding: 12px;
  background: #b30000;
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

/* При наведении (активная кнопка) */
.submit-btn:hover:not(:disabled) {
  background: #800000;
  transform: translateY(-1px);
}

/* При нажатии */
.submit-btn:active:not(:disabled) {
  transform: scale(0.98);
}

/* Заблокированное состояние */
.submit-btn:disabled {
  background: #ccc;
  color: #777;
  cursor: not-allowed;
  opacity: 0.7;
  transform: none;
}

/* Плавное появление активного состояния */
.submit-btn:not(:disabled) {
  box-shadow: 0 4px 10px rgba(179, 0, 0, 0.2);
}

/* =============================
          FOOTER
============================== */

.footer {
  background: #1f1f1f;
  color: #ddd;
  padding: 40px 0 20px;
  margin-top: 60px;
}

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

.footer-block h4 {
  margin-bottom: 15px;
  color: #fff;
  font-size: 1.125rem; /* 18px */
}

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

.footer-logo img {
  width: 55px;
  height: 55px;
  object-fit: contain;
}

.footer-desc {
  margin-top: 10px;
  font-size: 0.875rem; /* 14px */
  color: #bbb;
  line-height: 1.5;
}

.footer-links,
.footer-contacts {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li,
.footer-contacts li {
  margin-bottom: 10px;
  font-size: 0.9375rem; /* 15px */
}

.footer-links a,
.footer-contacts a {
  color: #ddd;
  text-decoration: none;
  transition: 0.2s;
}

.footer-links a:hover,
.footer-contacts a:hover {
  color: #fff;
}

.footer-bottom {
  margin-top: 25px;
  text-align: center;
  padding-top: 15px;
  border-top: 1px solid #333;
  font-size: 0.875rem; /* 14px */
  color: #aaa;
}

.footer .btn.small {
  margin-top: 10px;
}

@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* Тарифы */
.tariffs {
  background: #f5f5f5;
  padding: 50px 20px;
  text-align: center;
}

.tariffs h2 {
  font-size: 1.75rem; /* 28px */
  margin-bottom: 10px;
  color: #333;
}

.section-subtitle {
  font-size: 1rem; /* 16px */
  margin-bottom: 30px;
  color: #777;
}

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

.tariff-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  padding: 20px;
  border: 1px solid #ddd;
  border-radius: 12px;
  background: #fff;
}

.tariff-card .btn {
  margin-top: auto;
  align-self: center;
}

.tariff-card h3 {
  color: #7a6f63;
  margin-bottom: 15px;
  font-size: 1.25rem; /* 20px */
  align-self: center;
}

.tariff-card ul {
  text-align: left;
  padding-left: 20px;
  color: #555;
  font-size: 0.875rem; /* 14px */
  margin-bottom: 20px;
}

.tariff-card .price {
  font-size: 1.125rem; /* 18px */
  font-weight: bold;
  color: #333;
  margin-bottom: 15px;
  align-self: center;
}

.tariff-card .btn.small {
  align-self: center;
  background-color: #7a6f63;
  color: #fff;
  padding: 8px 16px;
  font-size: 0.875rem; /* 14px */
  border-radius: 6px;
  text-decoration: none;
  transition: 0.3s;
}

.tariff-card .btn.small:hover {
  background-color: #5e554c;
}

/* =======================
   СТИЛИ ДЛЯ ТАРИФОВ
======================= */

.organization-section {
  margin: 40px auto;
  color: #333;
}

.organization-section h1 {
  text-align: center;
  margin-bottom: 25px;
  font-size: 2rem; /* 32px */
  color: #222;
}

.tariffs-section {
  background: #fff;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.tariffs-header h2 {
  font-size: 1.375rem; /* 22px */
  margin-bottom: 5px;
  color: #222;
}

.tariffs-header p {
  font-size: 0.875rem; /* 14px */
  color: #666;
}

.tariffs-table-container {
  margin-top: 20px;
  overflow-x: auto;
  border-radius: 10px;
  border: 1px solid #e2e2e2;
}

.tariffs-table {
  width: 100%;
  border-collapse: collapse;
  background: white;
  min-width: 850px;
}

.tariffs-table thead th {
  background: #f5f5f5;
  padding: 12px;
  font-weight: bold;
  text-align: left;
  border-bottom: 2px solid #ddd;
  font-size: 0.9375rem; /* 15px */
}

.tariffs-table td {
  padding: 10px 12px;
  border-bottom: 1px solid #eee;
  vertical-align: top;
  font-size: 0.9375rem; /* 15px */
  line-height: 1.4;
  word-break: break-word;
}

.service-category td {
  background: #e9eef5;
  font-weight: bold;
  padding: 10px;
  border-bottom: 1px solid #d0d8e6;
  font-size: 1rem; /* 16px */
}

.price-container {
  display: flex;
  flex-direction: column;
}

.price {
  font-weight: 600;
  color: #333;
  margin-bottom: 4px;
}

.summer-price {
  color: #0a7b15;
}

.winter-price {
  color: #004d9c;
}

.no-price {
  font-size: 0.75rem; /* 12px */
  opacity: 0.7;
}

.tariffs-note {
  margin-top: 25px;
  background: #f8f8f8;
  padding: 18px;
  border-radius: 10px;
  font-size: 0.9375rem; /* 15px */
  line-height: 1.6;
}

.tariffs-note p {
  margin-bottom: 8px;
}

@media (max-width: 768px) {
  .organization-section h1 {
    font-size: 1.625rem; /* 26px */
  }

  .tariffs-header h2 {
    font-size: 1.125rem; /* 18px */
  }

  .tariffs-table-container {
    border-radius: 6px;
  }

  .tariffs-table td {
    padding: 8px;
    font-size: 0.875rem; /* 14px */
  }

  .service-category td {
    font-size: 0.9375rem; /* 15px */
  }
}

.tariffs-table-container::-webkit-scrollbar {
  height: 8px;
}

.tariffs-table-container::-webkit-scrollbar-thumb {
  background: #ccc;
  border-radius: 4px;
}

.tariffs-table-container::-webkit-scrollbar-track {
  background: #f1f1f1;
}

/* ---------- ТАРИФ ОПТИМАЛЬНЫЙ ---------- */
.tariff-section {
  margin: 50px auto;
  color: #333;
  line-height: 1.6;
}

.tariff-section h1 {
  text-align: center;
  font-size: 2rem; /* 32px */
  margin-bottom: 15px;
}

.tariff-description {
  text-align: center;
  margin-bottom: 40px;
  font-size: 1.125rem; /* 18px */
  color: #555;
}

.tariff-table-container {
  overflow-x: auto;
}

.tariff-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 1rem; /* 16px */
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.tariff-table th,
.tariff-table td {
  border: 1px solid #ccc;
  padding: 10px 12px;
  text-align: left;
}

.tariff-table th {
  background-color: #f4f4f4;
  font-weight: bold;
}

.table-section {
  background-color: #eaeaea;
  font-weight: bold;
}

.total-row {
  background-color: #f9f9f9;
  font-weight: bold;
}

.total-text {
  text-align: right;
}

.total-value {
  text-align: right;
}

.italic-text {
  font-style: italic;
  text-align: right;
  padding-top: 5px;
}

/* Новости(карусель) */
.news-page .news-card {
  width: 100%;
  max-width: 600px;
  margin: 20px auto;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.news-page .news-card:hover {
  transform: scale(1.02);
}

.news-page .news-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.news-page .news-card h3 {
  font-size: 1.25rem; /* 20px */
  margin: 15px;
}

.news-page .news-card p {
  font-size: 1rem; /* 16px */
  margin: 0 15px 20px;
  color: #444;
}

.news-carousel {
  margin: 50px 0;
  text-align: center;
}

.news-carousel h2 {
  margin-bottom: 20px;
  font-size: 1.75rem; /* 28px */
  font-weight: bold;
}

.carousel-wrapper {
  position: relative;
  overflow: hidden;
}

.carousel-track {
  display: flex;
  transition: transform 0.4s ease-in-out;
  white-space: nowrap;
}

.news-card {
  min-width: 300px;
  max-width: 300px;
  margin: 0 10px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  overflow: hidden;
  flex-shrink: 0;
  display: inline-block;
  vertical-align: top;
}

.news-card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
}

.news-card h3 {
  font-size: 1.125rem; /* 18px */
  margin: 10px;
}

.news-card p {
  font-size: 0.875rem; /* 14px */
  margin: 0 10px 15px;
  color: #666;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.5);
  border: none;
  color: white;
  font-size: 1.75rem; /* 28px */
  cursor: pointer;
  padding: 5px 12px;
  border-radius: 50%;
  transition: background 0.2s ease;
  z-index: 10;
}

.carousel-btn:hover {
  background: rgba(0,0,0,0.8);
}

.carousel-btn.prev {
  left: 10px;
}

.carousel-btn.next {
  right: 10px;
}

.news-carousel .btn-wrapper {
  margin-top: 20px;
  text-align: center;
}

.news-carousel .btn-wrapper .btn {
  display: inline-block;
  padding: 10px 20px;
  border-radius: 8px;
  background: #444;
  color: #fff;
  text-decoration: none;
  transition: background 0.2s;
  margin: 0 auto;
}

.news-carousel .btn-wrapper .btn:hover {
  background: #222;
}

/* Контактная информация */
.contact-info {
  padding: 40px 20px;
  background: #fff;
}

.contact-info .container {
  margin: 0 auto;
  padding: 0 20px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
}

.contact-details {
  background: #f9f9f9;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

.contact-details p {
  font-size: 1rem; /* 16px */
  margin-bottom: 10px;
}

.contact-details .btn.small {
  display: block;
  margin-top: 15px;
  background: #7a6f63;
  color: #fff;
  padding: 12px 18px;
  border-radius: 6px;
  font-size: 1rem; /* 16px */
  width: fit-content;
}

.work-hours {
  margin-top: 10px;
  font-size: 1rem; /* 16px */
  line-height: 1.6;
}

.work-hours ul {
  margin: 10px 0 0;
  padding-left: 18px;
  list-style-type: disc;
}

.work-hours li {
  margin-bottom: 10px;
}

.work-hours strong {
  color: var(--primary-dark);
  font-weight: 700;
}

.map-container {
  width: 100%;
  height: 350px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

@media (min-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .header-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-menu {
    width: 100%;
    justify-content: flex-start;
    gap: 15px;
    margin-top: 10px;
  }

  .logo-block {
    margin-bottom: 10px;
  }
}

/* ---------------------- Услуги ---------------------- */

.services-section {
  padding: 60px 20px;
  background-color: white;
  text-align: center;
  min-height: 100vh;
}

.services-section h2 {
  color: var(--primary-dark);
  margin-bottom: 40px;
  font-weight: 700;
  font-size: 2rem; /* 32px */
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 30px;
  justify-items: center;
}

.service-item {
  max-width: 150px;
  text-align: center;
}

.service-item img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  margin-bottom: 10px;
}

.service-item p {
  font-weight: 700;
  color: var(--text-dark);
}

/* О нас */
.about-page {
  padding: 20px;
  margin-top: 100px;
}

.about-intro {
  max-width: 1600px;
  margin: 50px auto 30px auto;
  padding: 0 40px;
}

.intro-columns {
  display: flex;
  gap: 40px;
}

.left-column {
  flex: 1;
}

.left-column .intro-image {
  width: 100%;
  max-width: 700px;
  border-radius: 10px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.12);
  margin-bottom: 20px;
}

.left-column h4 {
  font-size: 1.375rem; /* 22px */
  margin-top: 20px;
  margin-bottom: 12px;
  color: #5a4f44;
}

.left-column ul {
  list-style: disc;
  margin-left: 25px;
  margin-bottom: 20px;
}

.right-column {
  flex: 2;
}

.right-column h2 {
  font-size: 2.25rem; /* 36px */
  margin-bottom: 20px;
  color: #7a6f63;
}

.right-column p {
  font-size: 1.125rem; /* 18px */
  line-height: 1.9;
  margin-bottom: 18px;
  color: #333;
}

/* Стили для нового раздела реквизитов */
.company-requisites {
  max-width: 1600px;
  margin: 40px auto 60px auto;
  padding: 0 40px;
}

.company-requisites h2 {
  font-size: 2.25rem;
  margin-bottom: 20px;
  color: #7a6f63;
}

.table-wrapper {
  overflow-x: auto;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.requisites-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 1rem;
  line-height: 1.5;
}

.requisites-table td {
  padding: 14px 20px;
  border-bottom: 1px solid #eee;
  color: #444;
}

.requisites-table tr:last-child td {
  border-bottom: none;
}

.requisites-table tr:nth-child(even) td {
  background-color: #faf9f7;
}

.requisites-table td:first-child {
  font-weight: bold;
  color: #5a4f44;
  width: 25%;
  min-width: 200px;
  background-color: #f5f3f0;
}

@media (max-width: 1024px) {
  .intro-columns {
    flex-direction: column;
  }

  .left-column, .right-column {
    flex: 1;
  }

  .left-column .intro-image {
    max-width: 100%;
  }
  
  .company-requisites {
    padding: 0 20px;
  }
  
  .requisites-table td:first-child {
    width: 35%;
  }
}

/* Контакты */
.page-title {
  text-align: center;
  font-size: 2.25rem; /* 36px */
  margin: 20px 0 40px;
  color: #7a6f63;
}

.contacts-main {
  display: flex;
  flex-direction: column;
  gap: 30px;
  margin-bottom: 40px;
}

.contacts-left {
  background: #f9f9f9;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.contacts-left h2,
.contacts-map h2 {
  font-size: 1.375rem; /* 22px */
  margin-bottom: 15px;
  color: #333;
}

.contact-info-list li {
  margin-bottom: 10px;
  font-size: 1rem; /* 16px */
}

.contact-info-list a {
  color: #7a6f63;
}

.contacts-map .map-container {
  width: 100%;
  height: 350px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* Кладбища */
.cemeteries {
  margin-top: 60px;
}

.cemeteries h2 {
  text-align: center;
  margin-bottom: 30px;
  font-size: 1.75rem; /* 28px */
  color: #7a6f63;
}

.cemetery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 25px;
}

.cemetery-card {
  background: #f9f9f9;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  padding: 20px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cemetery-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.12);
}

.cemetery-card h3 {
  font-size: 1.25rem; /* 20px */
  color: #7a6f63;
  margin-bottom: 8px;
}

.cemetery-card p {
  font-size: 1rem; /* 16px */
  color: #444;
  margin-bottom: 15px;
}

.mini-map {
  width: 100%;
  height: 200px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* Форма */
.contact-form {
  background: #f5f5f5;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.feedback-form label {
  display: block;
  margin-bottom: 15px;
  font-size: 1rem; /* 16px */
}

.feedback-form input,
.feedback-form textarea {
  width: 100%;
  padding: 10px;
  margin-top: 5px;
  border-radius: 6px;
  border: 1px solid #ccc;
}

.feedback-form button {
  background: #7a6f63;
  color: #fff;
  padding: 12px 20px;
  font-size: 1.125rem; /* 18px */
  border-radius: 6px;
  border: none;
  cursor: pointer;
}

.feedback-form button:hover {
  background: #5e554c;
}

@media (min-width: 768px) {
  .contacts-main {
    flex-direction: row;
    gap: 40px;
  }
  .contacts-left,
  .contacts-map {
    flex: 1;
  }
}

/* Гайд */
main {
  min-height: 100vh;
}

h1 {
  font-size: 2.5rem;
  margin-bottom: 30px;
  color: var(--primary-dark);
  text-align: center;
}

h2 {
  font-size: 1.8rem;
  margin-top: 30px;
  margin-bottom: 15px;
  color: var(--accent-wine);
  border-bottom: 2px solid var(--accent-wine);
  padding-bottom: 5px;
}

.tabs {
  display: flex;
  gap: 10px;
  margin-bottom: 25px;
  flex-wrap: wrap;
}

.tab-button {
  background: #f8f8f8;
  color: #333;
  border: 2px solid #7a6f63;
  padding: 12px 24px;
  font-size: 1rem; /* 16px */
  font-family: 'Merriweather', serif;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.tab-button:hover {
  background: #ece9e6;
  color: #5e554c;
}

.tab-button.active {
  background: #7a6f63;
  color: #fff;
  border-color: #7a6f63;
  box-shadow: 0 4px 10px rgba(122, 111, 99, 0.3);
}

.tab-content {
  display: none;
  background: #fafafa;
  padding: 20px;
  border-radius: 8px;
  border: 1px solid #ddd;
  font-family: 'Merriweather', serif;
}

.tab-content.active {
  display: block;
  animation: fadeIn 0.4s ease-in-out;
}

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

/* Основной текст */
main p, main ol, main ul {
  font-size: 1rem;
  line-height: 1.6;
  color: #333;
  max-width: 75%;
  margin: 0 auto 20px auto;
}

main ol {
  padding-left: 20px;
}

main a {
  color: var(--accent-wine);
  text-decoration: none;
}

main a:hover {
  text-decoration: underline;
}

main.container {
  padding: 40px 20px;
}

/* Детальная страница услуги */
.service-detail {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 20px;
  text-align: left;
  min-height: 100vh;
}

.service-detail h2 {
  font-size: 2em;
  margin-bottom: 20px;
  font-family: 'Merriweather', serif;
  text-align: center;
}

.service-detail img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  margin-bottom: 20px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.document-content p {
  font-size: 1.1em;
  line-height: 1.6;
  color: #444;
  margin-bottom: 20px;
}

.document-list {
  margin: 20px 0;
  padding-left: 20px;
}

.document-list li {
  font-size: 1.1em;
  line-height: 1.6;
  color: #444;
  margin-bottom: 10px;
}

.social-benefit {
  margin-top: 30px;
  padding: 20px;
  background-color: #f9f9f9;
  border-radius: 8px;
}

.social-benefit h3 {
  font-size: 1.5em;
  margin-bottom: 15px;
  color: #333;
  font-family: 'Merriweather', serif;
}

.social-benefit ul {
  margin: 15px 0;
  padding-left: 20px;
}

.social-benefit li {
  font-size: 1.1em;
  line-height: 1.6;
  color: #444;
  margin-bottom: 8px;
}

.btn {
  display: inline-block;
  padding: 10px 20px;
  background-color: #333;
  color: white;
  text-decoration: none;
  border-radius: 4px;
  transition: background-color 0.3s;
}

.btn:hover {
  background-color: #555;
}

.section-header {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin-bottom: 15px;
}

.section-header h2 {
  margin: 0;
  font-size: 1.75rem; /* 28px */
  font-weight: 700;
  text-align: center;
}

/* Каталог */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 30px;
  margin-top: 30px;
  text-align: center;
}

.service-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: #333;
  transition: transform 0.3s ease;
}

.service-item:hover {
  transform: translateY(-5px);
}

.service-item img {
  width: 100%;
  max-width: 250px;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  margin-bottom: 15px;
  border-radius: 10px;
  filter: grayscale(100%);
  transition: filter 0.4s ease, transform 0.3s ease;
}

.service-item:hover img {
  filter: grayscale(0%);
  transform: scale(1.05);
}

@media (max-width: 768px) {
  .services-grid {
    gap: 20px;
  }
  
  .service-item img {
    max-width: 200px;
  }
}

@media (max-width: 480px) {
  .services-grid {
    gap: 15px;
  }
  
  .service-item img {
    max-width: 150px;
  }
}

/* ===== СЕТКА ТОВАРОВ ===== */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.product-item {
  background: #fff;
  border-radius: 12px;
  padding: 15px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  text-align: center;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.product-item img {
  width: 100%;
  height: 220px;
  object-fit: contain;
  object-position: center;
  background: #f6f6f6;
  border-radius: 10px;
  padding: 5px;
}

.product-item h3 {
  margin: 12px 0 5px;
  font-size: 1.125rem; /* 18px */
}

.product-item .price {
  font-size: 1rem; /* 16px */
  margin-bottom: 15px;
}

.product-item .btn {
  margin-top: auto;
}

.btn.small {
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
}

.btn.small.show-number {
  background-color: #2e7d32;
  color: white;
}

.btn.small.call-ready {
  background-color: #1565c0;
  color: white;
}

/* Противодействие_коррупции */
.anti-corruption {
  padding: 100px 20px 40px;
  max-width: 1000px;
  margin: 0 auto;
}

.anti-corruption h2 {
  font-size: 1.8rem;
  margin-bottom: 20px;
}

.links-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 15px;
  margin-bottom: 40px;
}

.link-card {
  display: block;
  background: #fff;
  border-radius: 10px;
  padding: 15px 20px;
  box-shadow: 0 3px 8px rgba(0,0,0,0.1);
  text-decoration: none;
  font-weight: 600;
  color: #222;
  transition: 0.2s;
}

.link-card:hover {
  background: var(--accent-wine);
  color: #fff;
}

.docs {
  background: #fff;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.1);
  margin-bottom: 40px;
}

.docs h3 {
  margin-bottom: 15px;
}

.docs ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.docs li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid #eee;
}

.doc-icon {
  margin-right: 10px;
}

.docs a {
  text-decoration: none;
  color: #222;
  font-weight: 500;
}

.download-btn {
  background: linear-gradient(45deg, #2C3E50, #F5F5F5);
  padding: 8px 16px;
  border-radius: 20px;
  color: black;
  font-weight: bold;
  text-decoration: none;
  transition: 0.2s;
}

.download-btn:hover {
  opacity: 0.85;
}

/* Новости — сетка карточек */
.news-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin: 20px 0;
  padding: 0 10px;
}

.news-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
  overflow: hidden;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.news-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.news-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

.news-content {
  padding: 14px;
  flex: 1 1 auto;
}

.news-content h3 {
  margin: 0 0 8px;
  font-size: 1.125rem; /* 18px */
  color: #222;
}

.news-content p {
  margin: 0;
  color: #666;
  font-size: 0.875rem; /* 14px */
  line-height: 1.45;
}

/* Кладбища */
.cemeteries-section {
  padding: 40px 0;
}

.cemeteries-section h2 {
  text-align: center;
  margin-bottom: 20px;
}

.table-wrapper {
  overflow-x: auto;
}

.cemeteries-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.cemeteries-table th,
.cemeteries-table td {
  border: 1px solid #ddd;
  padding: 10px 15px;
  text-align: left;
  vertical-align: top;
}

.cemeteries-table th {
  background: #f7f7f7;
  font-weight: bold;
}

.cemeteries-table tr:nth-child(even) {
  background: #fafafa;
}

.cemeteries-table td[rowspan] {
  font-weight: bold;
  background: #fdfdfd;
}

@media (max-width: 768px) {
  table, thead, tbody, th, td, tr {
    display: block;
  }

  thead tr {
    display: none;
  }

  td {
    border: none;
    border-bottom: 1px solid #eee;
    padding: 10px;
  }

  td::before {
    content: attr(data-label);
    font-weight: bold;
    display: block;
    margin-bottom: 5px;
    color: #555;
  }
}

/* ---------- ОРГАНИЗАЦИЯ ПОХОРОН ---------- */
.organization-section {
  margin: 50px auto;
  line-height: 1.7;
  color: #333;
  font-size: 1.125rem; /* 18px */
}

.organization-section h1 {
  text-align: center;
  margin-bottom: 30px;
  font-size: 2rem; /* 32px */
  color: #222;
}

.organization-content {
  display: flex;
  gap: 40px;
  align-items: flex-start;
}

.organization-image {
  flex: 1;
}

.organization-image img {
  width: 100%;
  max-width: 600px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  object-fit: cover;
}

.organization-text {
  flex: 2;
}

.organization-text p {
  margin-bottom: 15px;
}

.organization-list {
  margin: 20px 0 30px 0;
  padding-left: 20px;
  list-style: none;
}

.organization-list li {
  position: relative;
  margin-bottom: 12px;
  padding-left: 28px;
  line-height: 1.6;
  font-size: 1.0625rem; /* 17px */
  color: #444;
  border-left: 2px solid #ddd;
}

.organization-list li::before {
  content: "✔";
  position: absolute;
  left: 0;
  top: 0;
  color: #0077cc;
  font-size: 1rem; /* 16px */
  line-height: 1.6;
}

@media (max-width: 900px) {
  .organization-content {
    flex-direction: column;
  }

  .organization-image {
    margin: 0 auto 20px;
    text-align: center;
  }

  .organization-image img {
    max-width: 100%;
  }
}

.table-container {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 20px auto;
  box-sizing: border-box;
  padding-bottom: 10px;
}

.products-table {
  width: 100%;
  min-width: unset;
  border-collapse: collapse;
  text-align: left;
  font-size: 1rem; /* 16px */
  background-color: #fff;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.products-table th,
.products-table td {
  padding: 12px 14px;
  border-bottom: 1px solid #ddd;
  white-space: nowrap;
}

.products-table th {
  background-color: #f5f5f5;
  font-weight: 600;
  color: #333;
}

@media (max-width: 600px) {
  .products-table {
    font-size: 0.875rem; /* 14px */
  }

  .products-table th,
  .products-table td {
    white-space: normal;
    word-break: break-word;
  }

  body {
    overflow-x: hidden;
  }
}

.products-table th:first-child,
.products-table td:first-child {
  position: sticky;
  left: 0;
  background-color: #f2f2f2;
  z-index: 5;
}

.products-table td:first-child {
  background-color: white;
}

.products-table tr:nth-child(even) td:first-child {
  background-color: #f9f9f9;
}

.products-table tr:hover td:first-child {
  background-color: #f1f1f1;
}

.products-table tr:nth-child(even) {
  background-color: #f9f9f9;
}

.products-table tr:hover {
  background-color: #f1f1f1;
}

.number-col {
  width: 60px;
  min-width: 60px;
  max-width: 60px;
}

.code-col {
  width: 150px;
  min-width: 150px;
  max-width: 150px;
  white-space: nowrap;
}

.name-col {
  min-width: 500px;
  white-space: normal;
}

.scroll-hint {
  display: none;
  text-align: center;
  padding: 8px;
  background: #e9ecef;
  color: #495057;
  font-size: 0.75rem; /* 12px */
  border-top: 1px solid #dee2e6;
  font-style: italic;
}

@media (max-width: 768px) {
  .table-container {
    margin: 20px -10px;
    border-left: none;
    border-right: none;
    border-radius: 0;
  }
  
  .scroll-hint {
    display: block;
  }
  
  .products-table {
    min-width: 700px;
    font-size: 0.8125rem; /* 13px */
  }
  
  .products-table th, 
  .products-table td {
    padding: 8px 6px;
  }
}

.table-container::-webkit-scrollbar {
  height: 8px;
}

.table-container::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 4px;
}

.table-container::-webkit-scrollbar-thumb {
  background: #c1c1c1;
  border-radius: 4px;
}

.table-container::-webkit-scrollbar-thumb:hover {
  background: #a8a8a8;
}

@media (max-width: 768px) {
  .table-container {
    margin: 20px 0;
  }
  
  .products-table {
    min-width: 900px;
  }
}

@media (max-width: 480px) {
  .products-table {
    font-size: 0.75rem; /* 12px */
  }
  
  .products-table th, .products-table td {
    padding: 6px 4px;
  }
}

/* ===== ВАКАНСИИ ===== */

.vacancies-page {
  padding: 40px 0 60px;
}

.vacancies-header {
  text-align: center;
  margin-bottom: 40px;
}

.vacancies-header h1 {
  font-size: 36px;
  margin-bottom: 10px;
}

.vacancies-subtitle {
  color: #666;
  font-size: 16px;
}

/* Карточки */

.vacancies-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  margin-bottom: 50px;
}

.vacancy-card {
  background: #fff;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.vacancy-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.vacancy-card h3 {
  margin-bottom: 15px;
  font-size: 20px;
}

.vacancy-card ul {
  padding-left: 18px;
}

.vacancy-card li {
  margin-bottom: 8px;
  color: #444;
}

/* Блок звонка */

.vacancies-contact {
  display: flex;
  justify-content: center;
}

.vacancies-contact-box {
  background: #f5f5f5;
  padding: 35px;
  border-radius: 12px;
  text-align: center;
  max-width: 600px;
  width: 100%;
}

.vacancy-phone {
  display: inline-block;
  margin: 15px 0;
  font-size: 22px;
  font-weight: bold;
  color: #b30000;
  text-decoration: none;
  transition: 0.2s ease;
}

.vacancy-phone:hover {
  color: #800000;
}

.vacancies-note {
  font-size: 14px;
  color: #777;
}

/* Адаптив */

@media (max-width: 768px) {
  .vacancies-header h1 {
    font-size: 28px;
  }
}

/* СТИЛИ ДЛЯ СТРАНИЦЫ ОТЧЕТНОСТИ ( report-page ) */
.report-page {
  padding: 20px;
  margin-top: 100px;
}

.report-header {
  text-align: center;
  margin-bottom: 50px;
}

.report-header h1 {
  font-size: 2.5rem;
  color: #7a6f63;
  margin-bottom: 12px;
}

.report-subtitle {
  color: #666;
  font-size: 1.15rem;
}

.reports-container {
  max-width: 1200px;
  margin: 0 auto 60px auto;
}

.reports-group {
  margin-bottom: 45px;
}

.reports-group h3 {
  font-size: 1.5rem;
  color: #5a4f44;
  border-left: 4px solid #7a6f63;
  padding-left: 15px;
  margin-bottom: 25px;
}

.document-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.document-card {
  display: flex;
  align-items: center;
  background: #fff;
  border: 1px solid #e2ded8;
  border-radius: 8px;
  padding: 18px 24px;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.document-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(90, 79, 68, 0.08);
  border-color: #cfc9be;
}

.doc-icon {
  font-size: 2.2rem;
  margin-right: 24px;
  color: #7a6f63;
  display: flex;
  align-items: center;
}

.doc-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.doc-title {
  font-weight: 600;
  color: #2b2b2b;
  font-size: 1.1rem;
  line-height: 1.4;
}

.doc-meta {
  font-size: 0.85rem;
  color: #888;
}

.doc-actions {
  display: flex;
  gap: 12px;
  margin-left: 24px;
}

.btn-doc {
  display: inline-block;
  padding: 10px 20px;
  font-size: 0.9rem;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 500;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  text-align: center;
  white-space: nowrap;
}

.btn-doc.view {
  background-color: #f7f5f2;
  color: #5a4f44;
  border: 1px solid #dcd6cf;
}

.btn-doc.view:hover {
  background-color: #ede9e2;
  color: #3b332a;
}

.btn-doc.download {
  background-color: #7a6f63;
  color: #fff;
  border: 1px solid #7a6f63;
}

.btn-doc.download:hover {
  background-color: #5a4f44;
  border-color: #5a4f44;
}

/* Адаптивность для мобильных устройств */
@media (max-width: 768px) {
  .document-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 20px;
  }
  
  .doc-icon {
    margin-right: 0;
    margin-bottom: -4px;
  }
  
  .doc-actions {
    margin-left: 0;
    width: 100%;
    gap: 10px;
  }
  
  .btn-doc {
    flex: 1;
  }
}