/* Guide (Довідник) and service pages — chitko.pro, 2026-11 */
.guide {
  padding: clamp(24px, 2.6vw, 50px) 0 clamp(48px, 5.2vw, 100px);
  font-size: clamp(16px, 0.98vw, 18px);
  line-height: 1.7;
}
.guide .wrapper {
  max-width: 1240px;
}
.guide a {
  color: #0066FF;
}
.guide a:hover {
  color: #004dc1;
}

/* breadcrumbs */
.g-crumbs ol {
  list-style: none;
  margin: 0 0 clamp(20px, 1.8vw, 34px);
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 4px 0;
  font-size: 14px;
  line-height: 1.4;
  color: #6B7685;
}
.g-crumbs li + li::before {
  content: "/";
  margin: 0 10px;
  color: #B7C0CC;
}
.guide .g-crumbs a {
  color: #6B7685;
  text-decoration: none;
}
.guide .g-crumbs a:hover {
  color: #0066FF;
}

/* headings & text */
.g-kicker {
  display: inline-block;
  font-weight: 600;
  font-size: 13px;
  line-height: 1.4;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #0066FF;
  margin-bottom: 12px;
}
.guide h1 {
  font-weight: 500;
  font-size: clamp(30px, 2.6vw, 48px);
  line-height: 1.18;
  margin: 0 0 18px;
  letter-spacing: -0.01em;
}
.g-lead {
  font-size: clamp(17px, 1.15vw, 21px);
  line-height: 1.6;
  color: #4A5360;
  margin: 0 0 24px;
}
.g-head {
  margin-bottom: clamp(24px, 2.2vw, 40px);
}
.g-head--wide {
  max-width: 860px;
}
.g-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  line-height: 1.45;
  color: #6B7685;
}
.g-meta b {
  color: #1C1C1C;
  font-weight: 500;
}
.g-meta__photo {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  object-position: 50% 25%;
  flex-shrink: 0;
}

.g-body h2,
.g-faq h2,
.g-related h2,
.g-group h2,
.g-tariffs h2,
.g-steps h2 {
  font-weight: 500;
  font-size: clamp(23px, 1.6vw, 30px);
  line-height: 1.3;
  margin: 2em 0 0.7em;
  scroll-margin-top: 110px;
}
.g-body h3 {
  font-weight: 500;
  font-size: clamp(18px, 1.15vw, 22px);
  line-height: 1.4;
  margin: 1.6em 0 0.5em;
}
.g-body p {
  margin: 0 0 1em;
}
.g-body ul,
.g-body ol {
  margin: 0 0 1.2em;
  padding-left: 1.3em;
}
.g-body li {
  margin-bottom: 0.45em;
}
.g-body li::marker {
  color: #0066FF;
}
.g-body strong {
  font-weight: 600;
}
.g-body > :first-child {
  margin-top: 0;
}

/* tables */
.g-table {
  overflow-x: auto;
  margin: 0 0 1.4em;
  border: 1px solid #E6ECF2;
  border-radius: 14px;
}
.g-table table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92em;
  line-height: 1.5;
}
.g-table th,
.g-table td {
  padding: 12px 16px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid #E6ECF2;
}
.g-table th {
  background: #F4F8FB;
  font-weight: 600;
}
.g-table tr:last-child td {
  border-bottom: 0;
}

/* boxes */
.g-box {
  margin: 1.4em 0;
  padding: 18px 22px;
  border-radius: 16px;
  background: #F4F8FB;
}
.g-box > :last-child {
  margin-bottom: 0;
}
.g-box--warn {
  background: #FFF4EE;
}
.g-box--tip {
  background: #EEF5FF;
}

/* layout: article + aside */
.guide__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: clamp(32px, 4vw, 72px);
  align-items: start;
}
.guide__article {
  max-width: 780px;
}
.guide__aside {
  position: sticky;
  top: 110px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.g-toc {
  font-size: 15px;
  line-height: 1.45;
}
.g-toc ol {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: toc;
}
.g-toc li {
  counter-increment: toc;
  margin: 0 0 10px;
  display: flex;
  gap: 10px;
}
.g-toc li::before {
  content: counter(toc, decimal-leading-zero);
  color: #9AA4B0;
  font-size: 13px;
  padding-top: 1px;
}
.guide .g-toc a {
  color: #1C1C1C;
  text-decoration: none;
}
.guide .g-toc a:hover {
  color: #0066FF;
}
.g-toc__title {
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #6B7685;
  margin-bottom: 14px;
}
.g-toc--aside {
  padding: 22px;
  border: 1px solid #E6ECF2;
  border-radius: 18px;
}
.g-toc--mobile {
  display: none;
}
.g-aside-cta {
  padding: 24px 22px;
  border-radius: 18px;
  background: #F4F8FB;
}
.g-aside-cta__title {
  font-weight: 500;
  font-size: 19px;
  line-height: 1.3;
  margin-bottom: 8px;
}
.g-aside-cta p {
  font-size: 15px;
  line-height: 1.5;
  color: #4A5360;
  margin: 0 0 16px;
}
.g-aside-cta .standart-btn {
  font-size: 13px;
  min-height: 48px;
  padding: 0 22px;
}

/* FAQ */
.g-faq {
  margin-top: 2.4em;
}
.g-faq__item {
  border-bottom: 1px solid #E6ECF2;
}
.g-faq__item summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0;
  font-weight: 500;
  font-size: clamp(17px, 1.05vw, 19px);
  line-height: 1.45;
}
.g-faq__item summary::-webkit-details-marker {
  display: none;
}
.g-faq__item summary::after {
  content: "+";
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #F4F8FB;
  color: #0066FF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  line-height: 1;
  transition: transform 0.2s;
}
.g-faq__item[open] summary::after {
  transform: rotate(45deg);
}
.g-faq__answer {
  padding: 0 0 18px;
  color: #3A4350;
}
.g-faq__answer > :last-child {
  margin-bottom: 0;
}

/* author */
.g-author {
  display: flex;
  gap: 18px;
  align-items: center;
  margin: 2.6em 0 2em;
  padding: 22px;
  border: 1px solid #E6ECF2;
  border-radius: 18px;
}
.g-author__photo {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  object-fit: cover;
  object-position: 50% 25%;
  flex-shrink: 0;
}
.g-author__label {
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #6B7685;
}
.g-author__name {
  font-weight: 500;
  font-size: 19px;
  line-height: 1.35;
}
.g-author__role {
  font-size: 15px;
  line-height: 1.45;
  color: #4A5360;
}
.g-author p {
  margin: 8px 0 0;
  font-size: 15px;
  line-height: 1.5;
}

/* CTA */
.g-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin: 2.4em 0 0;
  padding: clamp(24px, 2.2vw, 40px);
  border-radius: 24px;
  background: #0066FF;
  color: #FFFFFF;
}
.g-cta__title {
  font-weight: 500;
  font-size: clamp(20px, 1.45vw, 26px);
  line-height: 1.3;
  margin-bottom: 8px;
}
.g-cta p {
  margin: 0;
  color: rgba(255, 255, 255, 0.85);
  font-size: 16px;
  line-height: 1.55;
}
.g-cta__actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}
.g-cta .standart-btn,
.g-cta .standart-btn:hover {
  background: #FFFFFF;
  color: #0066FF !important;
  font-size: 13px;
  min-height: 52px;
  padding: 0 28px;
}
.g-cta .standart-btn::after {
  display: none;
}
.g-cta .g-cta__link {
  color: #FFFFFF;
  font-weight: 500;
  font-size: 15px;
  cursor: pointer;
}
.g-cta .dotted-line-btn::after {
  border-color: #FFFFFF;
  background-image: none;
}
.g-cta--inline {
  margin: 2em 0;
}
.g-cta__link {
  color: #0066FF;
  font-weight: 500;
  cursor: pointer;
}

/* cards */
.g-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
}
.guide a.g-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 22px;
  border: 1px solid #E6ECF2;
  border-radius: 18px;
  background: #FFFFFF;
  color: #1C1C1C;
  text-decoration: none;
  transition: box-shadow 0.2s, border-color 0.2s;
}
.guide a.g-card:hover {
  border-color: #CFE0FF;
  box-shadow: 0 12px 30px -18px rgba(0, 102, 255, 0.45);
  color: #1C1C1C;
}
.g-card__kicker {
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #0066FF;
}
.g-card__kicker:empty {
  display: none;
}
.g-card__title {
  font-weight: 500;
  font-size: 18px;
  line-height: 1.35;
}
.g-card__text {
  font-size: 15px;
  line-height: 1.5;
  color: #6B7685;
  flex-grow: 1;
}
.g-card__more {
  font-weight: 500;
  font-size: 14px;
  color: #0066FF;
}
.g-related {
  margin-top: clamp(40px, 4vw, 72px);
}
.g-group {
  margin-bottom: clamp(32px, 3vw, 56px);
}
.g-group h2 {
  margin-top: 0;
}
.g-group--hub {
  padding: clamp(24px, 2.4vw, 44px);
  border-radius: 24px;
  background: #F4F8FB;
}
.g-group__head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  flex-wrap: wrap;
}
.g-group__all {
  font-weight: 500;
  font-size: 15px;
  text-decoration: none;
}
.g-group__lead {
  color: #4A5360;
  max-width: 820px;
  margin: 0 0 22px;
}
.g-body--section {
  max-width: 860px;
}

/* service page */
.s-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: clamp(28px, 3.6vw, 64px);
  align-items: center;
  margin-bottom: clamp(36px, 3.6vw, 64px);
}
.s-hero__actions {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.s-hero__actions .standart-btn {
  font-size: 13px;
  min-height: 52px;
  padding: 0 28px;
}
.s-hero__list {
  list-style: none;
  margin: 0;
  padding: clamp(24px, 2.2vw, 40px);
  border-radius: 24px;
  background: #0066FF;
  color: #FFFFFF;
  display: flex;
  flex-direction: column;
  gap: 14px;
  font-size: 16px;
  line-height: 1.5;
}
.s-hero__list li {
  position: relative;
  padding-left: 30px;
}
.s-hero__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #FFFFFF url("../img/general/green-check.svg") center / 10px no-repeat;
}
.s-hero__list b {
  font-weight: 600;
}
.s-body {
  max-width: 860px;
}
.g-tariffs {
  max-width: none;
}
.g-tariffs__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.g-tariff {
  display: flex;
  flex-direction: column;
  padding: 26px 24px;
  border: 1px solid #E6ECF2;
  border-radius: 20px;
}
.g-tariff__name {
  font-weight: 500;
  font-size: 22px;
  margin-bottom: 12px;
}
.g-tariff ul {
  list-style: none;
  padding: 0;
  margin: 0 0 18px;
  font-size: 15px;
  line-height: 1.5;
  color: #4A5360;
  flex-grow: 1;
}
.g-tariff li {
  padding-left: 22px;
  position: relative;
  margin-bottom: 6px;
}
.g-tariff li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 12px;
  height: 10px;
  background: url("../img/general/green-check.svg") center / contain no-repeat;
}
.g-tariff__price {
  font-size: 16px;
}
.g-tariff__price b {
  font-weight: 700;
  font-size: 34px;
}
.g-tariff__price--fact {
  font-size: 16px;
  line-height: 1.4;
}
.g-tariffs__note {
  font-size: 15px;
  line-height: 1.55;
  color: #6B7685;
  margin: 18px 0;
}
.g-tariffs__btn {
  display: inline-flex;
  font-size: 13px;
  min-height: 52px;
  padding: 0 28px;
}
.g-steps ol {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.g-step {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 24px;
  border-radius: 20px;
  background: #F4F8FB;
  font-size: 15px;
  line-height: 1.5;
  color: #4A5360;
}
.g-step b {
  font-weight: 500;
  font-size: 18px;
  color: #1C1C1C;
}
.g-step__num {
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #0066FF;
}


@media only screen and (max-width: 1100px) {
  .guide__layout {
    grid-template-columns: minmax(0, 1fr);
  }
  .guide__aside {
    display: none;
  }
  .g-toc--mobile {
    display: block;
    margin: 0 0 28px;
    padding: 16px 18px;
    border: 1px solid #E6ECF2;
    border-radius: 16px;
  }
  .g-toc--mobile summary {
    cursor: pointer;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #6B7685;
  }
  .g-toc--mobile ol {
    margin-top: 14px;
  }
  .guide__article {
    max-width: none;
  }
}

@media only screen and (max-width: 768px) {
  .guide {
    font-size: 16px;
  }
  .g-crumbs ol {
    font-size: 13px;
  }
  .g-cta {
    flex-direction: column;
    align-items: stretch;
    text-align: left;
    border-radius: 20px;
  }
  .g-cta__actions {
    align-items: stretch;
  }
  .g-cta .standart-btn,
  .g-cta .standart-btn:hover,
  .s-hero__actions .standart-btn,
  .g-tariffs__btn,
  .g-aside-cta .standart-btn {
    min-height: 52px;
    font-size: 13px;
    line-height: 1.3;
  }
  .g-cta .g-cta__link {
    align-self: center;
  }
  .s-hero {
    grid-template-columns: minmax(0, 1fr);
  }
  .s-hero__actions {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }
  .g-tariffs__grid,
  .g-steps ol {
    grid-template-columns: minmax(0, 1fr);
  }
  .g-tariffs__btn {
    display: flex;
  }
  .g-author {
    align-items: flex-start;
  }
  .g-author__photo {
    width: 60px;
    height: 60px;
  }
}
