:root {
  --color-bg: #020202;
  --color-surface: #0a0a0a;
  --color-surface-soft: #111111;
  --color-text: #f2f2f2;
  --color-text-soft: #cbcbcb;
  --color-primary: #c5a15f;
  --color-primary-dark: #ab833e;
  --color-border: #2a2a2a;
  --shadow-soft: 0 16px 30px rgba(0, 0, 0, 0.35);
  --shadow-card: 0 10px 24px rgba(0, 0, 0, 0.28);
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 10px;
  --max-width: 1180px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Roboto, "Segoe UI", Arial, sans-serif;
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
}

body[data-page="blog"],
body[data-page="post"],
body[data-page="category"] {
  background: #f5f5f5;
  color: #191919;
}

body[data-page="blog"] .fade-in,
body[data-page="post"] .fade-in,
body[data-page="category"] .fade-in {
  opacity: 1;
  transform: none;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.site-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.container {
  width: min(var(--max-width), calc(100% - 2rem));
  margin: 0 auto;
}

.section {
  padding: 70px 0;
}

.section-title {
  margin: 0 0 16px;
  font-size: clamp(1.8rem, 2.3vw, 2.7rem);
  line-height: 1.15;
  letter-spacing: 0.02em;
}

.section-subtitle {
  margin: 0 auto 30px;
  color: var(--color-text-soft);
  max-width: 760px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 22px;
  border-radius: 999px;
  border: 1px solid #8d8d8d;
  background: #0d0d0d;
  color: #fff;
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
  cursor: pointer;
}

.btn:hover {
  background: #1a1a1a;
  border-color: var(--color-primary);
  transform: translateY(-1px);
  box-shadow: 0 10px 18px rgba(0, 0, 0, 0.4);
}

.btn.ghost {
  background: transparent;
  color: #1a1a1a;
  border: 1px solid #707070;
}

.btn.ghost:hover {
  background: #1a1a1a;
  color: #fff;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  background: #1a1a1a;
  color: #f4f4f4;
  font-size: 0.75rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  font-weight: 700;
}

.fade-in {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.fade-in.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid #2e2e2e;
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 82px;
}

.site-logo {
  max-width: 265px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 18px;
}

.site-nav a {
  font-size: 0.95rem;
  color: #f2f2f2;
  font-weight: 700;
  position: relative;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  height: 2px;
  width: 100%;
  background: var(--color-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}

.site-nav a:hover::after,
.site-nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

.menu-toggle {
  display: none;
  border: 0;
  background: transparent;
  font-size: 1.2rem;
  color: #f2f2f2;
  width: 42px;
  height: 42px;
  border-radius: 50%;
}

.hero {
  position: relative;
  background: radial-gradient(circle at right top, #1a1a1a 0%, #050505 45%, #000000 100%);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: auto -14% -140px auto;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle at center, rgba(197, 161, 95, 0.25), rgba(197, 161, 95, 0));
  pointer-events: none;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 32px;
  align-items: center;
}

.hero h1 {
  margin: 16px 0 14px;
  font-size: clamp(2rem, 3.1vw, 3.45rem);
  line-height: 1.1;
}

.hero p {
  margin: 0 0 20px;
  color: #d4d4d4;
  max-width: 560px;
}

.services,
.benefits {
  background: #000;
}

.cards-grid {
  display: grid;
  gap: 18px;
}

.cards-grid.cols-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.cards-grid.cols-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.info-card {
  border: 1px solid #d8d8d8;
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, #ffffff 0%, #ececec 100%);
  box-shadow: var(--shadow-card);
  padding: 18px 18px 12px;
}

.info-card h3 {
  margin: 0 0 8px;
  font-size: 1.2rem;
  color: #111;
}

.info-card .icon {
  font-size: 1.6rem;
  color: #111;
  margin-bottom: 12px;
}

.info-card details {
  margin-top: 10px;
}

.info-card .info-preview {
  color: #2a2a2a;
  margin: 0;
  font-size: 0.93rem;
  line-height: 1.4;
  min-height: 2.6em;
}

.info-card summary {
  cursor: pointer;
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
  color: #fff;
  display: inline-block;
  padding: 4px 12px;
  background: #111;
  border-radius: 4px;
  letter-spacing: 0.04em;
}

.info-card details p {
  color: #272727;
  margin: 12px 0 0;
}

.mindset {
  background: linear-gradient(90deg, #e0e0e0 0%, #e0e0e0 58%, #d4b96f 58%, #d4b96f 100%);
}

.mindset__grid {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 28px;
  align-items: center;
}

.mindset__text p {
  color: #222;
}

.mindset .section-title {
  color: #1c1c1c;
}

.mindset__image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 2px solid #be9c56;
  box-shadow: var(--shadow-soft);
}

.slider {
  position: relative;
  padding: 0 52px;
}

.slider-viewport {
  overflow: hidden;
  border-radius: var(--radius-lg);
}

.slide {
  display: block;
  margin: 0;
  min-width: 0;
  flex: 0 0 100%;
}

.slide img {
  width: 100%;
  height: auto;
  display: block;
}

.slider-track {
  display: flex;
  gap: 16px;
  transition: transform 0.38s ease;
  will-change: transform;
}

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: rgba(8, 8, 8, 0.72);
  color: #fff;
  z-index: 2;
  cursor: pointer;
}

.slider-btn.prev {
  left: 0;
}

.slider-btn.next {
  right: 0;
}

.slider.is-locked .slider-btn {
  opacity: 0.45;
  pointer-events: none;
}

.about {
  background: #f8f8f8;
}

.about__box {
  background: #fff;
  border: 1px solid #d8d8d8;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  padding: clamp(22px, 4vw, 36px);
  margin-bottom: 30px;
}

.about__box h3 {
  margin: 0 0 8px;
  font-size: clamp(1.7rem, 2.2vw, 2.4rem);
  color: #111;
}

.about__box p {
  margin: 12px 0;
  color: #2a2a2a;
}

.blog-highlight {
  background: #dddddd;
}

.blog-highlight .section-title {
  color: #151515;
}

.social-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #161616;
  color: #f0f0f0;
  border: 1px solid #2f2f2f;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.social-link:hover {
  background: #2a2a2a;
  transform: translateY(-1px);
}

.post-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.post-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #fff;
  border: 1px solid #d4d4d4;
  box-shadow: var(--shadow-card);
}

.post-card__body {
  padding: 16px;
}

.post-card h3 {
  margin: 0 0 10px;
  font-size: 1.03rem;
  color: #151515;
}

.post-card p {
  margin: 0 0 14px;
  color: #444;
}

.contact {
  background: #000;
}

.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.contact__card {
  background: #050505;
  border-radius: var(--radius-md);
  border: 1px solid #2f2f2f;
  box-shadow: var(--shadow-soft);
  padding: 22px;
  color: #f2f2f2;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
}

.contact-item:last-child {
  margin-bottom: 0;
}

.contact-item .fa {
  font-size: 1.2rem;
  color: var(--color-primary);
  margin-top: 4px;
}

.contact-item strong {
  display: block;
  margin-bottom: 2px;
}

.map-frame {
  border: 0;
  width: 100%;
  min-height: 300px;
  border-radius: var(--radius-md);
  filter: grayscale(0.4) contrast(0.95);
}

.page-header {
  background: #ffffff;
  border-bottom: 1px solid #d9d9d9;
  padding: 42px 0;
  color: #171717;
}

.page-header h1 {
  margin: 0;
  font-size: clamp(1.9rem, 3vw, 3rem);
  color: #111;
}

.article {
  background: #fff;
  border: 1px solid #d8d8d8;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  padding: clamp(20px, 4vw, 34px);
}

.article .meta {
  color: #545454;
  font-size: 0.9rem;
  margin-bottom: 16px;
}

.article h2,
.article h3 {
  margin-top: 28px;
}

.article ul {
  padding-left: 20px;
}

.article p,
.article li {
  color: #515866;
}

body[data-page="blog"] .section-title,
body[data-page="post"] .section-title,
body[data-page="category"] .section-title {
  color: #111;
}

body[data-page="blog"] .section-subtitle,
body[data-page="post"] .section-subtitle,
body[data-page="category"] .section-subtitle {
  color: #4a4a4a;
}

body[data-page="blog"] .badge,
body[data-page="post"] .badge,
body[data-page="category"] .badge {
  background: #222;
  color: #fff;
}

body[data-page="blog"] .post-card,
body[data-page="post"] .post-card,
body[data-page="category"] .post-card {
  background: #fff;
  border-color: #d4d4d4;
}

body[data-page="blog"] .post-card h3,
body[data-page="post"] .post-card h3,
body[data-page="category"] .post-card h3 {
  color: #151515;
}

body[data-page="blog"] .post-card p,
body[data-page="post"] .post-card p,
body[data-page="category"] .post-card p {
  color: #444;
}

.cookie-banner {
  position: fixed;
  left: 18px;
  right: 18px;
  bottom: 16px;
  z-index: 1400;
  background: #0f1f3c;
  color: #fff;
  border-radius: 12px;
  padding: 14px;
  box-shadow: 0 15px 30px rgba(11, 19, 38, 0.4);
  display: none;
}

.cookie-banner.is-visible {
  display: block;
}

.cookie-banner__inner {
  display: flex;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.cookie-banner p {
  margin: 0;
  font-size: 0.92rem;
  color: #dbe6ff;
}

.cookie-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.cookie-actions button {
  border: 0;
  border-radius: 999px;
  padding: 8px 14px;
  cursor: pointer;
  font-weight: 700;
}

.cookie-accept {
  background: #35a75f;
  color: #fff;
}

.cookie-reject {
  background: #293e70;
  color: #fff;
}

.site-footer {
  margin-top: auto;
  background: linear-gradient(125deg, #050505 0%, #141414 100%);
  color: #e7ecff;
  padding: 48px 0 28px;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.site-footer h4 {
  margin: 0 0 12px;
  font-size: 1.05rem;
}

.site-footer section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.site-footer p {
  margin: 0;
}

.site-footer section p {
  width: 100%;
}

.site-footer .footer-brand {
  display: flex;
  justify-content: center;
  align-items: center;
}

.site-footer .social-row {
  justify-content: center;
  gap: 8px;
  margin-bottom: 0;
}

.site-footer .social-link {
  background: rgba(255, 255, 255, 0.1);
  color: #dce7ff;
  border-color: rgba(255, 255, 255, 0.2);
  width: 30px;
  height: 30px;
  font-size: 0.68rem;
}

.site-footer .social-link:hover {
  background: rgba(255, 255, 255, 0.18);
}

.mini-logo {
  width: 138px;
  max-width: none;
  height: auto;
}

.site-footer section p a .mini-logo {
  display: block;
}

.footer-note {
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  margin-top: 26px;
  padding-top: 16px;
  font-size: 0.85rem;
  color: #c4d2f8;
}

.hidden {
  display: none !important;
}

@media (max-width: 1024px) {
  .hero__grid,
  .mindset__grid,
  .contact__grid {
    grid-template-columns: 1fr;
  }

  .cards-grid.cols-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .post-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .site-footer__grid {
    grid-template-columns: 1fr;
  }

  .mini-logo {
    width: 128px;
  }

  .site-footer .social-link {
    width: 28px;
    height: 28px;
    font-size: 0.64rem;
  }
}

@media (max-width: 760px) {
  .section {
    padding: 56px 0;
  }

  .site-nav {
    position: absolute;
    right: 12px;
    top: calc(100% + 8px);
    width: min(290px, calc(100vw - 24px));
    background: #0f0f0f;
    border: 1px solid #2a2a2a;
    border-radius: 12px;
    box-shadow: var(--shadow-soft);
    padding: 12px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 10px;
    border-radius: 8px;
  }

  .site-nav a:hover {
    background: #1f1f1f;
  }

  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .cards-grid.cols-2,
  .cards-grid.cols-3,
  .post-grid {
    grid-template-columns: 1fr;
  }

  .slider {
    padding: 0 40px;
  }
}
