/* === CSS-переменные Apple Design System === */
:root {
  --text: #1d1d1f;
  --text-2: #6e6e73;
  --bg: #ffffff;
  --bg-alt: #f5f5f7;
  --bg-dark: #000000;
  --bg-section-dark: #1d1d1f;
  --link: #0066cc;
  --btn: #0071e3;
  --btn-hover: #0077ed;
  --blue-bright: #2997ff;
  --hairline: #d2d2d7;
  --radius-card: 20px;
  --sticky-bar-h: 64px;
}

/* === Сброс === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 17px; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.47;
  font-weight: 400;
  padding-bottom: var(--sticky-bar-h);
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }

/* === Контейнер === */
.container {
  width: 100%;
  max-width: 980px;
  margin: 0 auto;
  padding: 0 22px;
}
.container-narrow {
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  padding: 0 22px;
}

/* === Кнопки === */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 980px;
  font-size: 17px;
  font-weight: 400;
  line-height: 1.3;
  min-height: 44px;
  transition: background 0.18s, opacity 0.15s;
  white-space: nowrap;
  cursor: pointer;
  text-decoration: none;
}
.btn:active { opacity: 0.75; }

.btn-primary {
  background: var(--btn);
  color: #fff;
}
.btn-primary:hover { background: var(--btn-hover); }

.btn-secondary {
  background: transparent;
  color: var(--link);
  padding: 0;
  border-radius: 0;
  font-size: 17px;
  min-height: auto;
}
.btn-secondary::after { content: ' ›'; }
.btn-secondary:hover { text-decoration: underline; }

.btn-wa {
  background: #f5f5f7;
  color: #1d1d1f;
  border-radius: 980px;
}
.btn-wa:hover { background: #e8e8ed; }

/* === HEADER === */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: 48px;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--hairline);
}
.header-inner {
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.header-brand {
  font-size: 17px;
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.header-brand:hover { color: var(--text); }
.header-tel {
  font-size: 14px;
  font-weight: 400;
  color: var(--text-2);
  white-space: nowrap;
}
.header-tel:hover { color: var(--text); }
.header-cta {
  display: none;
  font-size: 14px;
  padding: 8px 16px;
  min-height: 32px;
}
@media (min-width: 560px) {
  .header-cta { display: inline-flex; }
}

/* === FOOTER === */
.site-footer {
  background: var(--bg-alt);
  border-top: 1px solid var(--hairline);
  padding: 40px 0 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  margin-bottom: 32px;
}
@media (min-width: 560px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 900px) {
  .footer-grid { grid-template-columns: 2fr 1fr 1fr; }
}
.footer-brand-name {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}
.footer-brand-desc {
  font-size: 12px;
  color: var(--text-2);
  line-height: 1.6;
  margin-bottom: 14px;
}
.footer-hotel-link {
  display: inline-block;
  font-size: 12px;
  color: var(--link);
  text-decoration: underline;
}
.footer-hotel-link:hover { color: var(--btn-hover); }
.footer-col-title {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-2);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a { font-size: 12px; color: var(--text-2); }
.footer-col ul li a:hover { color: var(--text); }
.footer-address {
  font-size: 12px;
  color: var(--text-2);
  font-style: normal;
  line-height: 1.6;
}
.footer-bottom {
  border-top: 1px solid var(--hairline);
  padding-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 12px;
  color: var(--text-2);
}
@media (min-width: 700px) {
  .footer-bottom { flex-direction: row; justify-content: space-between; }
}
.footer-bottom a { color: var(--text-2); text-decoration: underline; }
.footer-bottom a:hover { color: var(--text); }

/* === STICKY BAR === */
.sticky-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 200;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-top: 1px solid var(--hairline);
  padding: 10px 16px;
  display: flex;
  gap: 10px;
  height: var(--sticky-bar-h);
}
.sticky-bar .btn {
  flex: 1;
  font-size: 15px;
}
.sticky-bar-icon {
  flex: 0 0 44px !important;
  padding: 0;
  min-width: 44px;
  background: var(--bg-alt);
  color: var(--text);
  border-radius: 980px;
}
.sticky-bar-icon:hover { background: var(--hairline); }
@media (min-width: 900px) {
  .sticky-bar { display: none; }
  body { padding-bottom: 0; }
}

/* === УТИЛИТЫ === */
.text-center { text-align: center; }

/* === ХЛЕБНЫЕ КРОШКИ === */
.breadcrumb {
  padding: 14px 0 0;
  font-size: 13px;
  color: var(--text-2);
}
.breadcrumb a {
  color: var(--text-2);
  text-decoration: none;
}
.breadcrumb a:hover { color: var(--link); text-decoration: underline; }
.breadcrumb-sep { margin: 0 6px; }

/* === СТРАНИЦА СТАТЬИ === */
.article-hero {
  background: var(--bg-alt);
  padding: 40px 0 48px;
}
.article-hero h1 {
  font-size: clamp(28px, 5vw, 48px);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.1;
  color: var(--text);
  margin-top: 16px;
  margin-bottom: 12px;
}
.article-meta {
  font-size: 13px;
  color: var(--text-2);
}

.article-body {
  padding: 48px 0 64px;
}
.article-body h2 {
  font-size: clamp(22px, 3.5vw, 32px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--text);
  margin: 48px 0 16px;
}
.article-body h2:first-child { margin-top: 0; }
.article-body h3 {
  font-size: clamp(18px, 2.5vw, 22px);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.2;
  color: var(--text);
  margin: 32px 0 12px;
}
.article-body p {
  font-size: 19px;
  line-height: 1.6;
  color: var(--text);
  margin-bottom: 20px;
}
.article-body ul, .article-body ol {
  margin: 0 0 24px 24px;
}
.article-body li {
  font-size: 19px;
  line-height: 1.6;
  color: var(--text);
  margin-bottom: 8px;
}
.article-body a {
  color: var(--link);
  text-decoration: underline;
}
.article-body a:hover { color: var(--btn-hover); }
.article-body strong { font-weight: 600; }

/* === CTA БЛОК === */
.article-cta {
  background: var(--bg-section-dark);
  color: #fff;
  border-radius: var(--radius-card);
  padding: 40px 32px;
  text-align: center;
  margin: 56px 0;
}
.article-cta h2 {
  font-size: clamp(22px, 3.5vw, 32px);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #fff;
  margin: 0 0 8px;
}
.article-cta p {
  font-size: 17px;
  color: rgba(255,255,255,0.6);
  margin-bottom: 24px;
}
.article-cta-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}
.article-cta-btns .btn {
  font-size: 17px;
  padding: 14px 28px;
}

/* === ЧИТАЙТЕ ТАКЖЕ === */
.related-posts {
  padding: 0 0 64px;
}
.related-posts h2 {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 20px;
  color: var(--text);
}
.related-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
@media (min-width: 600px) {
  .related-grid { grid-template-columns: repeat(3, 1fr); }
}
.related-card {
  background: var(--bg-alt);
  border-radius: 14px;
  padding: 20px 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: background 0.15s;
}
.related-card:hover { background: #e8e8ed; }
.related-card-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  line-height: 1.35;
}
.related-card-desc {
  font-size: 13px;
  color: var(--text-2);
  line-height: 1.5;
}
.related-card-link {
  font-size: 13px;
  color: var(--link);
  margin-top: auto;
}

/* === БЛОГ ИНДЕКС === */
.blog-header {
  background: var(--bg-alt);
  padding: 48px 0 40px;
}
.blog-header h1 {
  font-size: clamp(36px, 6vw, 64px);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.07;
  color: var(--text);
  margin-top: 16px;
  margin-bottom: 8px;
}
.blog-header-desc {
  font-size: 19px;
  color: var(--text-2);
  line-height: 1.4;
}
.blog-list {
  padding: 48px 0 80px;
}
.blog-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 700px) {
  .blog-grid { grid-template-columns: 1fr 1fr; }
}
.blog-card {
  background: var(--bg-alt);
  border-radius: var(--radius-card);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: background 0.15s;
}
.blog-card:hover { background: #e8e8ed; }
.blog-card-title {
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.3;
  color: var(--text);
}
.blog-card-desc {
  font-size: 15px;
  color: var(--text-2);
  line-height: 1.55;
  flex: 1;
}
.blog-card-meta {
  font-size: 12px;
  color: var(--text-2);
}
.blog-card-read {
  font-size: 14px;
  color: var(--link);
  font-weight: 500;
}
.compare-table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: 15px;
}
.compare-table th,
.compare-table td {
  text-align: left;
  padding: 12px 14px;
  border-bottom: 1px solid var(--hairline, #e5e5ea);
  vertical-align: top;
}
.compare-table thead th {
  font-weight: 600;
  color: var(--text-1, #1d1d1f);
  border-bottom: 2px solid var(--hairline, #d2d2d7);
}
.compare-table td:first-child {
  font-weight: 500;
  color: var(--text-2, #6e6e73);
  white-space: nowrap;
}
.compare-table tbody tr:last-child td { border-bottom: none; }
.answer-box {
  background: var(--surface-2, #f5f5f7);
  border-left: 3px solid var(--link, #0a84ff);
  border-radius: 8px;
  padding: 16px 18px;
  margin: 20px 0 28px;
  font-size: 16px;
  line-height: 1.6;
}
@media (max-width: 600px) {
  .compare-table { font-size: 14px; }
  .compare-table th, .compare-table td { padding: 9px 8px; }
  .compare-table td:first-child { white-space: normal; }
}
