@font-face {
  font-family: 'Montserrat';
  src: url('/assets/fonts/montserrat-400.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Montserrat';
  src: url('/assets/fonts/montserrat-700.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Cormorant Garamond';
  src: url('/assets/fonts/cormorant-400.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Cormorant Garamond';
  src: url('/assets/fonts/cormorant-600.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #f2f2f2;
  --surface: #ffffff;
  --text: #09080f;
  --muted: #54595f;
  --line: #d9ddda;
  --green: #1e5945;
  --yellow: #ffde59;
  --green-hover: #1f4f3f;
  --shadow: 0 18px 28px rgba(0, 0, 0, 0.08);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Montserrat', system-ui, sans-serif;
  font-size: 14px;
  letter-spacing: 0.02em;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
}

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

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

.container {
  width: min(1240px, 94vw);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(242, 242, 242, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.header-top {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0;
}

.brand img {
  display: block;
  width: 184px;
  max-width: min(46vw, 184px);
  height: auto;
}

.brand-name {
  display: none;
}

.header-social {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.header-social a {
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid transparent;
  color: var(--muted);
}

.header-social a:hover {
  border-color: var(--line);
  color: var(--text);
}

.nav-wrap {
  padding-bottom: 10px;
}

.site-nav {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 8px 14px;
  border-radius: 12px;
  color: var(--muted);
  transition: background-color .2s ease, color .2s ease;
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--text);
  background: #e8ece9;
}

.menu-btn {
  display: none;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 10px;
  padding: 8px 12px;
  font: inherit;
}

.home-page .site-header {
  position: fixed;
  left: 0;
  right: 0;
  background: transparent;
  border-bottom: 0;
  backdrop-filter: none;
  padding: 20px 0 0;
  transition: padding .24s ease;
}

.home-page .header-top {
  position: relative;
  min-height: 68px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 20px;
  padding: 11px 22px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(7, 12, 12, 0.82) 0%, rgba(8, 15, 15, 0.58) 100%);
  backdrop-filter: blur(22px) saturate(126%);
  box-shadow:
    0 16px 34px rgba(0, 0, 0, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  transition:
    background .24s ease,
    border-color .24s ease,
    box-shadow .24s ease,
    transform .24s ease;
  overflow: hidden;
}

.home-page .header-top::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(118deg, rgba(255, 255, 255, 0.07), transparent 18%, transparent 78%, rgba(255, 222, 89, 0.07)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), transparent 26%);
  pointer-events: none;
}

.home-page .header-top::after {
  content: '';
  position: absolute;
  inset: 1px;
  border-radius: 17px;
  border: 1px solid rgba(255, 255, 255, 0.04);
  pointer-events: none;
}

.home-page .header-top > * {
  position: relative;
  z-index: 1;
}

.home-page .site-header.is-scrolled {
  padding-top: 12px;
}

.home-page .site-header.is-scrolled .header-top {
  border-color: rgba(255, 255, 255, 0.12);
  background:
    linear-gradient(180deg, rgba(6, 11, 11, 0.9) 0%, rgba(8, 15, 15, 0.72) 100%);
  box-shadow:
    0 18px 38px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
  transform: translateY(-1px);
}

.home-page .brand {
  position: relative;
  padding: 0;
  border: 0;
  background: transparent;
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.22));
  box-shadow: none;
}

.home-page .brand img {
  width: 242px;
  max-width: min(38vw, 242px);
}

.home-page .brand:hover {
  background: transparent;
}

.home-page .site-nav {
  justify-content: center;
  gap: 20px;
  flex-wrap: nowrap;
}

.home-page .nav-link {
  position: relative;
  min-height: 38px;
  padding: 10px 0;
  border-radius: 0;
  color: rgba(255, 255, 255, 0.74);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  white-space: nowrap;
  transition:
    color .2s ease,
    opacity .2s ease;
}

.home-page .nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 6px;
  height: 1px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 222, 89, 0.92) 50%, rgba(255, 255, 255, 0));
  opacity: 0;
  transform: scaleX(0.22);
  transition:
    opacity .22s ease,
    transform .22s ease;
}

.home-page .nav-link:hover,
.home-page .nav-link.is-active {
  color: #fff;
  background: transparent;
  box-shadow: none;
}

.home-page .nav-link:hover::after,
.home-page .nav-link.is-active::after {
  opacity: 1;
  transform: scaleX(1);
}

.home-page .header-social {
  justify-content: flex-end;
  gap: 0;
  margin-left: 2px;
  padding-left: 18px;
  position: relative;
}

.home-page .header-social::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 1px;
  height: 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0));
  transform: translateY(-50%);
}

.home-page .header-social a {
  position: relative;
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.62);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  white-space: nowrap;
}

.home-page .header-social a + a {
  margin-left: 16px;
}

.home-page .header-social a + a::before {
  content: '';
  position: absolute;
  left: -9px;
  top: 50%;
  width: 2px;
  height: 2px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.34);
  transform: translateY(-50%);
}

.home-page .header-social a:hover {
  color: #fff;
  border-color: transparent;
  background: transparent;
}

.home-page .menu-btn {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  backdrop-filter: blur(10px);
  border-radius: 999px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero {
  position: relative;
  min-height: 82vh;
  overflow: hidden;
}

.hero-slider,
.slide {
  position: absolute;
  inset: 0;
}

.slide {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity .9s ease, transform 3.2s ease;
}

.slide.is-active {
  opacity: 1;
  transform: scale(1.01);
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10, 10, 10, 0.58), rgba(20, 40, 32, 0.45));
}

.home-page .hero::before {
  background:
    linear-gradient(180deg, rgba(6, 10, 10, 0.82) 0%, rgba(6, 10, 10, 0.64) 16%, rgba(8, 10, 10, 0.3) 34%, rgba(20, 40, 32, 0.48) 100%),
    radial-gradient(circle at top center, rgba(79, 143, 106, 0.26), transparent 38%);
}

.hero-content {
  position: relative;
  z-index: 2;
  min-height: 82vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #fff;
  padding: 80px 0;
}

.home-page .hero-content {
  padding-top: 190px;
  padding-bottom: 96px;
}

@media (min-width: 1024px) {
  .home-page .hero,
  .home-page .hero-content {
    min-height: 100vh;
    min-height: 100svh;
  }
}

h1,
h2,
h3,
h4 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  line-height: 1.22;
  margin: 0 0 14px;
}

h1 {
  font-size: clamp(36px, 7vw, 74px);
  font-weight: 600;
  font-style: italic;
  max-width: 980px;
}

.hero-title-line {
  display: block;
}

.hero-title-line + .hero-title-line {
  margin-top: 0.05em;
}

.hero-title-line--dynamic {
  min-height: 1.08em;
}

h2 {
  font-size: clamp(30px, 5vw, 48px);
  font-weight: 700;
}

h3 {
  font-size: clamp(22px, 3.2vw, 32px);
  font-weight: 700;
}

.lead {
  color: var(--muted);
  margin: 0 0 18px;
}

.rotator {
  position: relative;
  display: inline-flex;
  align-items: flex-end;
  min-width: var(--rotator-width, 0);
  justify-content: center;
  white-space: nowrap;
  color: var(--yellow);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
}

.rotator::after {
  content: '';
  width: 1px;
  height: 0.88em;
  margin-left: 0.12em;
  background: currentColor;
  box-shadow: 0 0 10px rgba(255, 222, 89, 0.3);
  animation: rotator-caret-blink .9s steps(1, end) infinite;
  transform: translateY(-0.06em);
}

@keyframes rotator-caret-blink {
  0%, 48% {
    opacity: 1;
  }

  49%, 100% {
    opacity: 0;
  }
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 18px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 20px;
  border-radius: 10px;
  font-weight: 600;
  border: 1px solid transparent;
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--green);
  color: var(--yellow);
  box-shadow: var(--shadow);
}

.btn-primary:hover {
  background: var(--green-hover);
}

.btn-secondary {
  background: #fff;
  color: #1f2f29;
  border-color: #d8dedb;
}

.section {
  padding: 70px 0;
}

.section-top {
  padding-top: 52px;
}

.section-light {
  background: #eef1ef;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-title {
  text-align: center;
  margin-bottom: 24px;
}

.advantages-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.advantage-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px;
  text-align: center;
  box-shadow: var(--shadow);
}

.adv-icon {
  display: inline-flex;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  background: var(--green);
  color: var(--yellow);
  margin-bottom: 8px;
}

.advantage-card p {
  margin: 0;
  color: var(--muted);
}

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

.service-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px;
  box-shadow: var(--shadow);
}

.service-card ul {
  margin: 0;
  padding-left: 18px;
}

.service-card li {
  margin: 6px 0;
}

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

.post-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px;
  box-shadow: var(--shadow);
}

.post-tag {
  margin: 0 0 10px;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green);
  font-weight: 700;
}

.post-card h3 {
  margin: 0 0 8px;
}

.post-card p {
  color: var(--muted);
}

.post-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  font-size: 13px;
}

.post-meta a {
  color: var(--green);
  font-weight: 700;
}

.cta-section {
  padding-top: 52px;
}

.cta-card {
  background: linear-gradient(135deg, #173b30 0%, #1f4f3f 100%);
  border-radius: 18px;
  padding: 34px;
  color: #fff;
  text-align: center;
  box-shadow: var(--shadow);
}

.cta-card p {
  max-width: 740px;
  margin: 0 auto;
}

.contact-card {
  text-align: center;
}

.price-hero {
  padding: 100px 0 64px;
  background: linear-gradient(180deg, #e4ebe7 0%, #f2f2f2 100%);
  text-align: center;
}

.price-hero h1 {
  margin: 0;
  font-size: clamp(34px, 6vw, 66px);
  color: #1d2e27;
}

.pricing-grid {
  display: grid;
  gap: 14px;
}

.pricing-grid.main {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

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

.price-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px;
  box-shadow: var(--shadow);
}

.price-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: var(--yellow);
  color: #1f2f29;
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 700;
}

.price-value {
  margin: 0 0 12px;
  color: var(--green);
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 34px;
  font-weight: 700;
}

.price-card ul {
  margin: 0 0 16px;
  padding-left: 18px;
  color: var(--muted);
}

.category-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 0 0 20px;
}

.category-tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 12px;
  background: #fff;
  color: var(--muted);
}

.category-tab.is-active {
  background: var(--green);
  color: var(--yellow);
  border-color: var(--green);
}

.article-wrap {
  max-width: 900px;
}

.back-link {
  display: inline-flex;
  margin-bottom: 10px;
  color: var(--green);
  font-weight: 700;
}

.article-content {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow);
  padding: 24px;
}

.article-content p,
.article-content li,
.article-content blockquote {
  color: var(--text);
}

.article-content blockquote {
  margin: 18px 0;
  padding: 6px 14px;
  border-left: 4px solid var(--yellow);
}

.site-footer {
  margin-top: 60px;
  background: #0f261f;
  color: #d6dfda;
  padding: 40px 0 24px;
}

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

.site-footer h3 {
  margin-bottom: 10px;
  color: #fff;
}

.site-footer a {
  color: #f7d97f;
}

.footer-copy {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  font-size: 12px;
  color: #9fb0a8;
}

@media (max-width: 1080px) {
  .home-page .header-top {
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 12px;
    padding: 12px 18px;
  }

  .home-page .brand img {
    width: 220px;
    max-width: min(35vw, 220px);
  }

  .home-page .header-social a {
    font-size: 9px;
    letter-spacing: 0.13em;
  }

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

  .services-grid,
  .posts-grid,
  .pricing-grid.extra {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 780px) {
  .home-page .site-header {
    padding-top: 12px;
  }

  .menu-btn {
    display: inline-flex;
  }

  .header-social {
    display: none;
  }

  .site-nav {
    display: none;
    width: 100%;
    padding-bottom: 8px;
  }

  .site-nav.is-open {
    display: grid;
    grid-template-columns: 1fr;
  }

  .header-top {
    min-height: 66px;
  }

  .brand img {
    width: 160px;
    max-width: min(58vw, 160px);
  }

  .home-page .header-top {
    grid-template-columns: auto 1fr auto;
    gap: 10px;
    padding: 12px 14px;
    border-radius: 18px;
  }

  .home-page .brand {
    padding: 0;
  }

  .home-page .header-social {
    display: none;
  }

  .home-page .menu-btn {
    display: inline-flex;
    justify-self: end;
  }

  .home-page .site-nav {
    display: none;
    grid-column: 1 / -1;
    width: 100%;
    padding: 14px 0 0;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
  }

  .home-page .site-nav.is-open {
    display: grid;
    grid-template-columns: 1fr;
  }

  .home-page .nav-link {
    width: 100%;
    justify-content: flex-start;
    min-height: auto;
    padding: 12px 0;
    font-size: 11px;
    letter-spacing: 0.12em;
    border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  }

  .home-page .nav-link::after {
    left: 0;
    right: auto;
    width: 64px;
    bottom: 0;
    background: linear-gradient(90deg, rgba(255, 222, 89, 0.92), rgba(255, 255, 255, 0));
  }

  .home-page .site-nav a:last-child {
    border-bottom: 0;
  }

  .home-page .brand img {
    width: 188px;
    max-width: min(56vw, 188px);
  }

  .home-page .menu-btn {
    letter-spacing: 0.1em;
  }

  .home-page .hero-content {
    padding-top: 162px;
    padding-bottom: 84px;
  }

  .rotator {
    min-width: 0;
    white-space: normal;
  }

  .hero-title-line + .hero-title-line {
    margin-top: 0.08em;
  }

  .hero,
  .hero-content {
    min-height: 68vh;
  }

  .advantages-grid,
  .services-grid,
  .posts-grid,
  .pricing-grid.main,
  .pricing-grid.extra,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .cta-card {
    padding: 24px;
  }
}
