/* ===== ШАПКА САЙТА ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: linear-gradient(to bottom,
      rgba(0, 87, 183, 0.4) 0%,
      rgba(255, 215, 0, 0.35) 100%);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--line);
}

.header__inner {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: var(--sp-3);
  align-items: center;
  padding-block: 12px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 1px;
  font-weight: 900;
}

.logo__text {
  font-size: 15px;
  letter-spacing: .1px;
  font-weight: 350;

  display: inline;
  background-image: linear-gradient(90deg, #ff06ff, #004ffa);
  background-size: 100% 2.5px;     /* ширина 100%, высота линии */
  background-repeat: no-repeat; 
  background-position: 0 100%;
  font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
}

.site-nav .nav__list {
  display: flex;
  gap: clamp(10px, 2.5vw, 28px);
  list-style: none;
}

.site-nav a {
  color: var(--muted);
  font-weight: 700;
}

.site-nav a:hover {
  color: var(--primary);
}

.header__cta {
  display: none;
}

@media (min-width: 720px) {
  .header__cta {
    display: block;
  }
}

/* ===== ГЛАВНЫЙ БАННЕР ===== */
.hero {
  padding-block: var(--sp-7) calc(var(--sp-7) + 8px);
  background: transparent;
  position: relative;
  overflow: visible;
  z-index: 1;
}

/* Волна */
.hero::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 120px;
  background: url("../assets/wave.svg") no-repeat bottom center / cover;
  pointer-events: none;
  z-index: 2;
}

.hero__inner {
  display: grid;
  gap: var(--sp-6);
  align-items: center;
  grid-template-columns: 1.05fr .95fr;
}

.hero__content {
  display: grid;
  gap: var(--sp-3);
}

.hero__eyebrow {
  font-weight: 800;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: .08em;
}

.hero__lead {
  color: var(--muted);
  font-size: clamp(16px, 2.2vw, 18px);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
  margin-top: var(--sp-2);
}

.hero__trust {
  display: flex;
  gap: var(--sp-3);
  color: var(--muted);
  list-style: none;
  padding: 0;
  margin: 0;
}

.hero__trust li::before {
  content: "•";
  color: var(--primary);
  font-weight: bold;
  margin-right: 6px;
}

.hero__media {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: #fff;
}

.hero__media img {
  width: 50%;
  height: 50%;
  display: block;
}

@media (max-width: 960px) {
  .hero__inner {
    grid-template-columns: 1fr;
  }

  .hero__media {
    order: -1;
  }
}

.hero+.section {
  border-top: 0;
}

/* ===== КАРТОЧКИ ===== */
.cards {
  display: grid;
  gap: var(--sp-3);
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.card {
  background: #fff;
  background-image: var(--card-bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: var(--sp-4);
  box-shadow: var(--shadow-sm);
  transition: transform .18s ease, box-shadow .2s ease, border-color .2s ease;
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
  border-color: color-mix(in oklab, var(--primary) 20%, var(--line));
}

/* ===== УСЛУГИ ===== */
.services__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--sp-3);
  justify-items: center;
}

.service {
  text-align: center;
}

/* Карточка-аккордеон */
.service details {
  display: block;
  border-radius: 16px;
}

.service summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 24px;
  border-radius: 16px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  
}

.service summary::-webkit-details-marker {
  display: none;
}

/* скрытый контент */
.service__more {
  padding: 0 20px 18px;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height .35s ease, opacity .25s ease;
}

/* когда открыто (клик/тап) */
.service details[open] .service__more {
  max-height: 260px;
  opacity: 1;
}

.service__more ul {
  list-style: none;
  padding-left: 0;
  margin: 0 0 12px;
}

.service__more li {
  position: relative;
  padding-left: 24px;
}

.service__more li::before {
  content: "✔";
  position: absolute;
  left: 0;
  top: 0;
  color: #16a34a;
  font-weight: bold;
  font-size: 14px;
}

/* лёгкий подъем и свечение при наведении */
@media (hover: hover) and (pointer: fine) {
  .service:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(17, 24, 39, 0.08);
  }

  .service:hover details:not([open]) .service__more {
    max-height: 260px;
    opacity: 1;
  }
}

@media (max-width: 560px) {
  .service__more .btn {
    width: 100%;
  }
}

/* уважение к пользователям с reduced motion */
@media (prefers-reduced-motion: reduce) {
  .service__more {
    transition: none;
  }
}

/* ===== ЦЕНООБРАЗОВАНИЕ ===== */
.pricing__grid {
  display: grid;
  gap: var(--sp-3);
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.plan {
  background: #fff;
  background-image: var(--card-bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: grid;
}

.plan__header {
  padding: var(--sp-4);
  
  background-image: var(--card-bg-color);
  border-bottom: 1px solid var(--line);
  
}

.plan__name {
  margin-bottom: 6px;
}

.plan__price {
  font-size: 22px;
  font-weight: 700;
  background: linear-gradient(to right,
      rgb(67, 161, 223) 100%,
      rgb(60, 119, 221) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  -webkit-text-stroke: 0.75px rgb(8, 8, 9);
  
  
}

.plan__features {
  padding: var(--sp-4);
  display: grid;
  gap: 10px;
  color: var(--muted);
  list-style: none;
  margin: 0;
  padding-left: 2px;
 
}

.plan__features li {
  position: relative;
  padding-left: 20px;
}

.plan__features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, var(--accent) 0%, var(--accent-strong) 100%);
  box-shadow: 0 0 0 2px color-mix(in oklab, var(--accent) 30%, white);
}

.plan__cta {
  margin: var(--sp-4);
}

.plan__cta:hover {
  background: linear-gradient(180deg,
      color-mix(in oklab, var(--primary) 25%, white) 0%,
      white 100%);
  color: var(--primary-strong);
  border-color: color-mix(in oklab, var(--primary) 40%, white);
}

/* ===== ПРИЗЫВ К ДЕЙСТВИЮ ===== */
.cta {
  background: transparent;
}

.cta__inner {
  display: grid;
  gap: var(--sp-3);
  grid-template-columns: 1fr auto;
  align-items: center;
}

.cta__text {
  color: var(--muted);
}

@media (max-width: 720px) {
  .cta__inner {
    grid-template-columns: 1fr;
  }
}



/* ===== ЧАСТО ЗАДАВАЕМЫЕ ВОПРОСЫ ===== */
.faq__items {
  display: grid;
  gap: var(--sp-2);
}

.faq__item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.faq__item>summary {
  padding: var(--sp-3) var(--sp-4);
  font-weight: 700;
  list-style: none;
  cursor: pointer;
}

.faq__item[open]>summary {
  background: #fff;
  
}

.faq__answer {
  padding: 0 var(--sp-4) var(--sp-4);
  color: var(--muted);
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height .5s ease, opacity .7s ease;
}

/* когда открыт details */
.faq__item[open] .faq__answer {
  max-height: 500px;
  opacity: 1;
}

/* hover-эффект только на ПК */
@media (hover: hover) and (pointer: fine) {
  .faq__item:hover>summary {
    background: color-mix(in oklab, var(--primary) 6%, #fff);
    box-shadow: 0 8px 18px rgba(17, 24, 39, .06);
  }

  .faq__item:hover:not([open]) .faq__answer {
    max-height: 500px;
    opacity: 1;
  }
}

/* доступность с клавиатуры */
.faq__item:focus-within .faq__answer {
  max-height: 500px;
  opacity: 1;
}

/* ===== КОНТАКТЫ ===== */
.contact__grid {
  display: grid;
  gap: var(--sp-5);
  grid-template-columns: 1.2fr .8fr;
  align-items: center;
}

@media (max-width: 960px) {
  .contact__grid {
    grid-template-columns: 1fr;
  }
}

.contact__info {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: var(--sp-4);
  box-shadow: var(--shadow-sm);
}

.contact__info ul {
  margin-top: var(--sp-2);
  display: grid;
  gap: 6px;
  color: var(--muted);
}


/* ===== КНОПКИ ===== */
.form_actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
  align-items: center;
}

.contact__image{
  border-radius: 50%;
  box-shadow: 0 8px 16px rgba(0 0 0 0.25);
  transition: transform .3s ease, box-shadow .3s ease;
}

.contact__image:hover {
  transform: scale(1.05) rotate(1deg);  /* увеличение + лёгкий поворот */
  box-shadow: 0 12px 24px rgba(0,0,0,0.35);
}

.btn { word-break: break-word; text-wrap: balance; }
.btn.btn--primary {
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
}



.btn--icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border-radius: 50%;
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease;
}

.btn--icon img {
  width: 24px;
  height: 24px;
}

.btn--icon:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

/* Список отзывов */
/* CSS */

