html {
  scroll-behavior: smooth;
}
*,
::after,
::before {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
ol,
ul {
  list-style: none;
}
a {
  color: inherit;
  text-decoration: none;
  transition: var(--tr);
}
button,
input,
select,
textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  background: 0 0;
  border: none;
  outline: 0;
}
button {
  cursor: pointer;
}
:root {
  /* Темная, глубокая палитра */
  --bg-main: #0a0a0a;
  --bg-surface: #121212;
  --bg-surface-hover: #181818;

  /* Текст */
  --text-main: #ffffff;
  --text-secondary: #c8c6c1;
  --text-muted: #888888;

  /* Акценты (Премиальное золото/платина) */
  --accent-gold: #d30404;
  --border-color: #2a2a2a;
  --border-gold: rgba(212, 55, 55, 0.3);

  --accent-color: #d30404;
  /* Типографика */
  --font-sans: "Montserrat", sans-serif;
  --font-serif: "Playfair Display", serif;

  --bg-header-glass: rgba(
    17,
    19,
    21,
    0.95
  ); /* Напівпрозорий фон для ефекту скла */
  --hdr-height: 74px;
  --hdr-zindex: 1000;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background-color: var(--bg-main);
  color: var(--text-main);
  font-family: var(--font-sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* =========================================
   HERO СЕКЦИЯ
========================================= */

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section-padding {
  padding: 30px 0;
}

/* ── Section Headers ── */
.block-header {
  text-align: center;
  margin-bottom: 50px;
}

.block-header__tag {
  display: inline-block;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent-color, #ed2b2b);
  margin-bottom: 15px;
  font-weight: 600;
}

.block-header__title {
  font-family: "Playfair Display", serif;
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--text-main, #fff);
  margin: 0 0 15px;
  font-weight: 400;
}

.block-header__desc {
  color: var(--text-secondary, #c8c6c1);
  font-size: 1rem;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ── Hero ── */
.hero-info-container {
  text-align: center;
  padding: 100px 20px 80px;
  border-bottom: 1px solid var(--border-color, #34383d);
  background-image: url(/assets/img/main-bg.webp);
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
}
.hero-info-container::before {
  content: "";
  position: absolute;
  width: 100%;
  left: 0;
  top: 0;
  background: rgba(0, 0, 0, 0.9);
  height: 100%;
  z-index: 1;
}
.hero-wrapper {
  position: relative;
  z-index: 2;
}
.hero-title {
  font-family: "Playfair Display", serif;
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 400;
  color: var(--text-main, #fff);
  margin-bottom: 20px;
  line-height: 1.1;
}

.hero-title span {
  color: var(--accent-color, #ed2b2b);
  font-style: italic;
}

.hero-subtitle {
  color: var(--text-secondary, #c8c6c1);
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto 40px;
  line-height: 1.6;
  font-weight: 300;
}

.header-btn__primary {
  display: inline-block;
  background: transparent;
  border: 1px solid var(--accent-color, #ed2b2b);
  color: var(--accent-color, #ed2b2b);
  padding: 16px 35px;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  text-decoration: none;
  border-radius: 2px;
  transition: all 0.4s ease;
}

.header-btn__primary:hover {
  background: var(--accent-color, #ed2b2b);
  color: var(--bg-main, #111315);
}

/* ── Features Grid ── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.feature-card {
  background: var(--bg-surface, #181b1e);
  border: 1px solid var(--border-color, #34383d);
  padding: 40px 30px;
  border-radius: 2px;
  text-align: center;
  transition:
    transform 0.3s ease,
    border-color 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent-color, #ed2b2b);
}

.feature-card__icon {
  width: 50px;
  height: 50px;
  margin: 0 auto 20px;
  stroke: var(--accent-color, #ed2b2b);
  fill: none;
  stroke-width: 1.5;
}

.feature-card__title {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-main, #fff);
  margin-bottom: 15px;
}

.feature-card__desc {
  font-size: 0.95rem;
  color: var(--text-secondary, #c8c6c1);
  line-height: 1.6;
}

/* ── Requirements Grid ── */
.req-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.req-card {
  border: 1px solid var(--border-color, #34383d);
  padding: 30px;
  background: linear-gradient(
    145deg,
    var(--bg-surface, #181b1e) 0%,
    var(--bg-main, #111315) 100%
  );
  border-left: 3px solid var(--accent-color, #ed2b2b);
}

.req-card h3 {
  font-family: "Playfair Display", serif;
  font-size: 1.5rem;
  color: var(--text-main, #fff);
  margin: 0 0 15px;
}

.req-card p {
  color: var(--text-secondary, #c8c6c1);
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
}

/* ── Steps ── */
.steps-wrapper {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  position: relative;
}

@media (max-width: 768px) {
  .steps-wrapper {
    flex-direction: column;
    gap: 40px;
  }
}

.step-item {
  flex: 1;
  text-align: center;
  position: relative;
  z-index: 2;
}

.step-num {
  width: 60px;
  height: 60px;
  background: var(--bg-main, #111315);
  border: 1px solid var(--accent-color, #ed2b2b);
  color: var(--accent-color, #ed2b2b);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Playfair Display", serif;
  font-size: 1.5rem;
  margin: 0 auto 20px;
}

.step-item h3 {
  font-size: 1.1rem;
  color: var(--text-main, #fff);
  margin-bottom: 10px;
}

.step-item p {
  font-size: 0.9rem;
  color: var(--text-secondary, #c8c6c1);
  line-height: 1.5;
}

/* CTA Footer */
.cta-footer {
  text-align: center;
  padding: 50px 20px;
  background: var(--bg-surface, #181b1e);
  border-top: 1px solid var(--border-color, #34383d);
  border-bottom: 1px solid var(--border-color, #34383d);
}

.cta-footer h2 {
  font-family: "Playfair Display", serif;
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 400;
  color: var(--accent-gold);
  margin-bottom: 20px;
  letter-spacing: 1px;
}

.hero-subtitle {
  color: var(--text-secondary);
  font-size: 1.2rem;
  font-weight: 300;
  margin-bottom: 40px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.header-btn {
  display: inline-block;
  padding: 15px 35px;
  border-radius: 2px;
  text-decoration: none;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.85rem;
  transition: all 0.4s ease;
  cursor: pointer;
}

.header-btn__primary {
  background-color: transparent;
  color: var(--accent-gold);
  border: 1px solid var(--accent-gold);
}

.header-btn__primary:hover {
  background-color: var(--accent-gold);
  color: var(--bg-main);
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.2);
}

/* =========================================
   СЕКЦИЯ КАРТОЧЕК БЛОГА
========================================= */
.blog-section {
  padding: 40px 0px;
  max-width: 1400px;
  margin: 0 auto;
}
.block-header {
  text-align: center;
  margin-bottom: 50px;
}

.block-header__tag {
  display: inline-block;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent-color, var(--accent-gold));
  margin-bottom: 15px;
  font-weight: 600;
}

.block-header__title {
  font-family: "Playfair Display", serif;
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--text-main, #fff);
  margin: 0 0 15px;
  font-weight: 400;
}

.block-header__desc {
  color: var(--text-secondary, #c8c6c1);
  font-size: 1rem;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}
.cities-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: center;
  max-width: 900px;
  margin: 0 auto 30px;
}

.city-pill {
  padding: 12px 25px;
  background: var(--bg-surface, #181b1e);
  border: 1px solid var(--border-color, #34383d);
  border-radius: 40px;
  color: var(--text-secondary, #c8c6c1);
  font-size: 0.95rem;
  transition: all 0.3s ease;
  cursor: default;
}

.city-pill:hover {
  border-color: var(--accent-color, var(--accent-gold));
  color: var(--text-main, #fff);
  transform: translateY(-2px);
}

.city-pill.highlight {
  border-color: color-mix(in srgb, var(--accent-color) 40%, transparent);
  color: var(--text-main);
}
.section-title {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  font-weight: 400;
  margin-bottom: 50px;
  text-align: center;
  color: var(--text-main);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 25px;
}

/* Карточка */
.blog-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 4px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.4s ease;
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  transform: translateY(-10px);
  border-color: var(--border-gold);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5);
  background-color: var(--bg-surface-hover);
}

.blog-card__img-wrapper {
  width: 100%;
  height: 250px;
  background-color: #1a1a1a;
  overflow: hidden;
}

.blog-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
  filter: grayscale(20%); /* Придает дорогой "fashion" эффект */
}

.blog-card:hover .blog-card__img {
  transform: scale(1.05);
  filter: grayscale(0%);
}

.blog-card__content {
  padding: 30px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.blog-card__date {
  font-size: 0.8rem;
  color: var(--accent-gold);
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.blog-card__title {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--text-main);
  margin: 0 0 15px 0;
  line-height: 1.3;
}

.blog-card__excerpt {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin: 0 0 25px 0;
  line-height: 1.6;
  flex-grow: 1;
  font-weight: 300;
}

.blog-card__footer {
  border-top: 1px solid var(--border-color);
  padding-top: 20px;
}

.blog-card__link {
  color: var(--text-main);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: color 0.3s ease;
}

.blog-card:hover .blog-card__link {
  color: var(--accent-gold);
}

.arrow {
  margin-left: 5px;
  transition: margin-left 0.3s ease;
}

.blog-card:hover .arrow {
  margin-left: 10px;
}

/* =========================================
   СТРАНИЦА КОНКРЕТНОЙ СТАТЬИ (blog-single.php)
========================================= */
.article-nav {
  position: absolute;
  top: 30px;
  left: 40px;
  z-index: 10;
}

.back-link {
  color: #fff;
  text-decoration: none;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease;
}

.back-link:hover {
  border-color: var(--accent-gold);
  color: var(--accent-gold);
}

.article-hero {
  position: relative;
  width: 100%;
  min-height: 500px;
  background-size: cover;
  background-position: center 20%;
  display: flex;
  padding: 40px 0;
}

.article-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(10, 10, 10, 1) 0%,
    rgba(10, 10, 10, 0.4) 50%,
    rgba(10, 10, 10, 0.1) 100%
  );
}

.article-hero__content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
  width: 100%;
  text-align: center;
}

.article__date {
  display: block;
  color: var(--accent-gold);
  font-size: 0.9rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.article__h1 {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 5vw, 4rem);
  color: #fff;
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: 20px;
}

.article__subtitle {
  font-size: 1.2rem;
  color: var(--text-secondary);
  font-weight: 300;
}

.article-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 20px 50px;
}

/* =========================================
   ГЛОБАЛЬНЫЕ СТИЛИ ДЛЯ ТЕКСТА БЛОГА (H2, p, ul, strong)
========================================= */
.blog-article-content {
  font-family: var(--font-sans);
  color: var(--text-secondary);
  font-size: 1.1rem;
  line-height: 1.8;
  font-weight: 300;
}

.blog-article-content h2 {
  font-family: var(--font-serif);
  color: var(--accent-gold);
  font-size: 2rem;
  font-weight: 400;
  margin: 2.5em 0 1em 0;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 15px;
}

.blog-article-content p {
  margin-bottom: 1.5em;
}

.blog-article-content strong,
.blog-article-content b {
  color: var(--text-main);
  font-weight: 600;
}

.blog-article-content ul,
.blog-article-content ol {
  margin: 2em 0;
  padding-left: 1.5em;
  background-color: var(--bg-surface);
  padding: 30px 30px 30px 50px;
  border-left: 2px solid var(--accent-gold);
}

.blog-article-content li {
  margin-bottom: 1em;
}

.blog-article-content li:last-child {
  margin-bottom: 0;
}

/* Изменение маркеров для UL */
.blog-article-content ul li {
  list-style-type: none;
  position: relative;
}

.blog-article-content ul li::before {
  content: "—";
  position: absolute;
  left: -25px;
  color: var(--accent-gold);
  font-weight: bold;
}
/* =========================================
       СТИЛІ ДЛЯ ФУТЕРА
    ========================================= */
.site-footer {
  background-color: var(--bg-surface);
  border-top: 1px solid var(--border-color);
  padding: 40px 0 25px;
  margin-top: 60px;
  /* Відступ від основного контенту */
  font-family: "Montserrat", sans-serif;
}

.footer-container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 50px;
  margin-bottom: 50px;
}

/* Брендинг */
.footer-branding {
  display: flex;
  flex-direction: column;
}

.footer-logo {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-main);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-family: "Playfair Display", serif;
  /* Або ваш основний шрифт заголовків */
  margin-bottom: 15px;
  display: inline-block;
}

.footer-logo span {
  color: var(--accent-color);
}

.footer-desc {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.7;
  font-weight: 300;
  max-width: 400px;
}

/* Колонки з посиланнями */
.footer-col {
  display: flex;
  flex-direction: column;
}

.footer-heading {
  color: var(--text-main);
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col ul li {
  margin-bottom: 12px;
}

.footer-col ul li:last-child {
  margin-bottom: 0;
}

.footer-col ul li a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 300;
  transition:
    color 0.3s ease,
    padding-left 0.3s ease;
  display: inline-block;
}

.footer-col ul li a:hover {
  color: var(--accent-color);
  padding-left: 6px;
  /* Плавний зсув при наведенні */
}

/* Нижній рядок (копірайт) */
.footer-bottom {
  border-top: 1px solid var(--border-color);
  padding-top: 25px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.footer-copyright {
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 300;
}

/* =========================================
       АДАПТИВНІСТЬ ФУТЕРА
    ========================================= */
@media (max-width: 991px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

  .footer-branding {
    grid-column: span 2;
    /* Логотип на всю ширину на планшетах */
  }
}

@media (max-width: 576px) {
  .site-footer {
    padding: 40px 0 20px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    /* Одна колонка на мобільних */
    gap: 30px;
    margin-bottom: 30px;
  }

  .footer-branding {
    grid-column: span 1;
  }

  .footer-logo {
    font-size: 20px;
  }
}
