/* ===== AUTOFILL FIX (FINAL) ===== */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus {
  -webkit-text-fill-color: #fff !important;

  -webkit-box-shadow: 0 0 0 1000px rgba(20, 20, 25, 1) inset !important;
  box-shadow: 0 0 0 1000px rgba(20, 20, 25, 1) inset !important;

  transition: background-color 9999s ease-in-out 0s;
  filter: none !important;
}

/* ================= RESET ================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
/* STRIPE */
#payment-element {
  margin-top: 15px;

  display: none;

  border: none;

  padding: 0;

  align-items: center;
  justify-content: center;

  width: 100% !important;
  max-width: 100% !important;
  margin-bottom: 16px !important;
}

.__PrivateStripeElement {
  width: 100% !important;
  max-width: 100% !important;
  margin: 15px auto 16px;
}
.__PrivateStripeElement > iframe {
  width: 100% !important;
}

/* ERRORS */
#error {
  margin-top: 10px;
  color: rgba(255, 0, 0, 0.733);
}
.error-text {
  color: rgba(255, 0, 0, 0.733);
  font-size: 12px;
}

/* FALLBACK */
#fallback {
  display: none;
  text-align: center;
}

/* нормальные отступы */
#fallback p {
  margin-bottom: 16px;
}

#fallback a {
  text-decoration: none;
}

#back {
  background: #6d6d6d;
  border: none;
  cursor: pointer;
  margin-left: 15px;
  padding: 16px;
  border-radius: 12px;
  border: none;

  color: #fff;

  font-size: 17px;
  font-weight: 600;
  cursor: pointer;

  transition: all 0.2s ease;
}

#back:hover {
  background: #424242;
}

@keyframes load {
  0% {
    margin-left: -30%;
  }
  100% {
    margin-left: 100%;
  }
}

/* ================= BASE ================= */
body {
  font-family:
    "Inter",
    -apple-system,
    BlinkMacSystemFont,
    sans-serif;
  font-size: 17px;
  line-height: 1.65;
  font-weight: 400;
  color: #e0e0e0;

  background:
    radial-gradient(circle at 30% 40%, #054435, transparent 60%),
    radial-gradient(circle at 70% 60%, #813b2e, transparent 60%), #271111;

  overflow-x: hidden;
  background-attachment: fixed;
}

body.no-scroll {
  overflow: hidden;
}

h1,
h2,
h3,
.sticky-title,
.about-title,
.author-text h2 {
  font-family: "Manrope", sans-serif;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.025em;
  color: #ffffff;
}

/* ================= HERO ================= */
.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
}

.hero-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;

  width: 100%;
  max-width: 1200px;
  align-items: center;
}

/* BOOK */
.book {
  width: 400px;
  height: 540px;
  perspective: 1000px;
}

.book-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;

  border-radius: 12px;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.6);
  filter: contrast(0.95);
}

/* TEXT */
.hero-right {
  max-width: 400px;
  color: white;
}

h1 {
  font-size: 46px;
  margin-bottom: 18px;
}

h2 {
  font-size: 42px;
  margin-bottom: 26px;
}

h3 {
  font-size: 23px;
  margin-bottom: 14px;
}

.subtitle {
  font-size: 18.5px;
  margin-bottom: 26px;
  opacity: 0.87;
}

.accent {
  font-size: 20.5px;
  font-weight: 500;
  margin-top: 26px;
}

.price {
  margin-bottom: 24px;
}

.price .new {
  font-size: 28px;
  font-weight: bold;
}

.price .old {
  text-decoration: line-through;
  opacity: 0.5;
  margin-left: 10px;
}

/* ================= BUTTONS ================= */
.buttons {
  display: flex;
  gap: 14px;
}

.btn {
  padding: 15px 26px;
  border-radius: 9999px;
  border: none;
  cursor: pointer;
  font-family: "Manrope", sans-serif;
  font-weight: 600;
  font-size: 16.5px;
  letter-spacing: 0.3px;
  transition: all 0.25s ease;
}

.btn.primary {
  background: #f47c5c;
  color: white;
  box-shadow: 0 4px 20px rgba(244, 124, 92, 0.4);
}

.btn.primary:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 30px rgba(244, 124, 92, 0.55);
}

.btn.primary.big {
  padding: 18px 34px;
  font-size: 17.5px;
}

.btn.secondary {
  background: transparent;
  color: white;
  border: 1.5px solid rgba(255, 255, 255, 0.8);
}

.btn.secondary:hover {
  background: rgba(255, 255, 255, 0.08);
}

/* ================= STICKY ================= */
.sticky-cta {
  position: fixed;
  top: 0;
  width: 100%;

  padding: 14px 24px;

  background: rgba(20, 20, 20, 0.55);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);

  border-bottom: 1px solid rgba(255, 255, 255, 0.08);

  transform: translateY(-100%);
  transition: transform 0.3s ease;

  z-index: 9999;
}

.sticky-cta.show {
  transform: translateY(0);
}

.sticky-inner {
  max-width: 1200px;
  margin: 0 auto;

  display: flex;
  justify-content: space-between;
  align-items: center;
}

.sticky-title {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: #ffffff;
}

.sticky-sub {
  font-size: 13px;
  opacity: 0.7;
  color: #cccccc;
}

.sticky-left {
  line-height: 1.1;
}

.sticky-cta .btn.primary {
  background: #f47c5c;
  color: white;

  box-shadow: 0 0px 25px rgba(244, 124, 92, 0.35);
}

.sticky-cta .btn.primary:hover {
  transform: scale(1.04);
}

.section-bar {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  height: 50px;
  width: 100%;

  background: linear-gradient(
    to bottom,
    rgba(226, 70, 23, 0.2),
    rgba(0, 0, 0, 0.671),
    rgba(10, 50, 95, 0.4)
  );
}

/* ================= TRANSFORM ================= */
.transform {
  min-height: 100vh;

  display: flex;
  align-items: center;
  justify-content: center;

  padding: 60px 40px;
  color: white;

  position: relative;
  overflow: hidden;
}

.transform-card::before {
  content: "";
  display: block;

  width: 60px;
  height: 2px;

  margin: 0 auto 30px;

  background: linear-gradient(
    to right,
    transparent,
    rgba(255, 255, 255, 0.6),
    transparent
  );
}

.transform-card {
  padding: 60px 70px;

  background: rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);

  border-radius: 20px;

  box-shadow:
    0 20px 80px rgba(0, 0, 0, 0.6),
    inset 0 0 0 1px rgba(255, 255, 255, 0.05);

  max-width: 720px;
}

.transform::before {
  content: "";
  position: absolute;
  inset: 0;

  background: url("https://api.luke-mccarthy.com/static/new_site/images/flowers.webp")
    center / cover no-repeat fixed;

  filter: blur(3px) brightness(0.55);
  transform: scale(1.05);
}

.transform::after {
  content: "";
  position: absolute;
  inset: 0;

  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.4),
    rgba(0, 0, 0, 0.6)
  );
}

.transform-container {
  position: relative;
  z-index: 1;

  max-width: 700px;
  text-align: center;
}

.transform h2 {
  font-size: 46px;
  font-weight: 600;
  line-height: 1.2;

  margin-bottom: 28px;

  letter-spacing: -0.5px;

  text-shadow: 0 5px 30px rgba(0, 0, 0, 0.8);
}

.transform p {
  font-size: 19px;
  line-height: 1.7;

  opacity: 0.8;

  max-width: 600px;
  margin: 0 auto;
}

.accent {
  margin-top: 24px;

  font-size: 20px;
  font-weight: 500;

  opacity: 1;

  color: #ffffff;

  text-shadow: 0 0 20px rgba(255, 255, 255, 0.15);
}
/* ================= ABOUT ================= */
.about {
  color: #ffffff;
  padding: 140px 40px;
  background: rgba(15, 15, 15, 0.65);
}

.about-container {
  max-width: 900px;
  margin: 0 auto;
}

.about-title {
  text-align: center;
  margin-bottom: 60px;
  font-size: 36px;
  color: white;
}

.about-list {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.about-item {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 20px;
}

/* ===== FIX TEXT COLORS ===== */

.about-item h3 {
  color: #ffffff;
}

.about-item p {
  color: #e0e0e0;
  opacity: 0.8;
}

.num {
  width: 40px;
  height: 40px;
  flex-shrink: 0;

  border-radius: 50%;

  background: rgba(255, 255, 255, 0.05);

  border: 1px solid rgba(255, 255, 255, 0.15);

  font-weight: 500;

  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ================= AUTHOR ================= */
.author {
  padding: 140px 40px;
  background: rgba(15, 15, 15, 0.65);
}

.author-container {
  max-width: 1100px;
  margin: 0 auto;

  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.author-text {
  color: white;
}

.author-text p {
  margin-top: 15px;
  color: #e0e0e0;
  opacity: 0.85;
}

.author-text h2 {
  color: #ffffff;
}

.author-text .quote {
  opacity: 0.6;
}
.author-image img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.3);
}

.divider {
  position: relative;
  width: 100%;
  height: 1px;
  opacity: 0.6;

  background: linear-gradient(
    to right,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
}

.divider::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;

  width: 4px;
  height: 4px;

  opacity: 0.7;

  transform: translate(-50%, -50%);
  border-radius: 50%;

  background: rgba(255, 255, 255, 0.6);
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.3);
}

.about-title,
.author-text h2 {
  font-size: 36px;
  font-weight: 600;

  letter-spacing: -0.3px;

  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
}

.about-item p,
.author-text p {
  color: rgba(255, 255, 255, 0.75);
}

/* ================= FAQ ================= */
/* ================= FAQ ================= */
.faq {
  padding-top: 120px;
  padding-left: 40px;
  padding-right: 40px;
  background: rgba(15, 15, 15, 0.65);
  padding-bottom: 80px;
}

.faq-container {
  max-width: 900px;
  margin: 0 auto;
}

/* ITEM */
.faq-item {
  position: relative;
  padding: 26px 0;
}

/* базовая линия */
.faq-item::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
}

/* анимируемая линия */
.faq-item::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0%;
  height: 1px;
  background: rgba(255, 255, 255, 0.35);
  transition: width 0.2s ease;
}

.faq-item:hover::before {
  width: 100%;
}

/* QUESTION */
.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;

  position: relative;
  padding-left: 18px;

  font-family: "Manrope", sans-serif;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.2px;

  color: rgba(255, 255, 255, 0.85);
  transition: color 0.25s ease;

  cursor: pointer;
}

/* левая линия */
.faq-question::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;

  width: 2px;
  height: 18px;

  transform: translateY(-50%);

  background: rgba(255, 255, 255, 0.25);
  transition: all 0.25s ease;
}

/* hover эффекты */
.faq-item:hover .faq-question {
  color: #fff;
}

.faq-item:hover .faq-question span:first-child {
  transform: translateX(4px);
  opacity: 0.9;
}

.faq-item:hover .faq-question::before {
  height: 24px;
  background: rgba(255, 255, 255, 0.6);
}

/* TOGGLE */
.faq-toggle {
  font-size: 45px;
  opacity: 0.6;
  transition:
    transform 0.25s ease,
    opacity 0.25s ease;
}

.faq-toggle::before {
  content: "+";
}

.faq-item:hover .faq-toggle {
  transform: scale(1.15);
  opacity: 1;
}

/* ANSWER */
.faq-answer {
  height: 0;
  overflow: hidden;

  margin-top: 0;
  opacity: 0;

  font-size: 16.5px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.65);

  transition:
    height 0.35s ease,
    opacity 0.25s ease,
    margin-top 0.35s ease;
}

.faq-answer ul {
  padding-left: 20px;
}

.faq-answer li {
  margin-bottom: 8px;
}

/* ACTIVE */
.faq-item.active .faq-answer {
  opacity: 1;
  margin-top: 16px;
}

.faq-item.active .faq-toggle {
  opacity: 1;
  transform: rotate(45deg) scale(1.1);
}

.faq-item.active .faq-question {
  color: #fff;
  text-shadow: 0 0 8px rgba(255, 255, 255, 0.08);
}

.faq-item.active .faq-question::before {
  height: 26px;
  background: #f47c5c;
  box-shadow: 0 0 12px rgba(244, 124, 92, 0.6);
}

/* TITLE */
.faq-title {
  font-size: 36px;
  font-weight: 600;
  margin-bottom: 50px;
  text-align: center;

  letter-spacing: -0.3px;
  color: #ffffff;

  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
}

/* ================= FOOTER ================= */
.footer {
  padding: 80px 40px 60px;

  background: linear-gradient(
    to bottom,
    rgba(15, 15, 15, 0.75),
    rgba(10, 10, 10, 0.9)
  );

  text-align: center;
}

.footer-container {
  max-width: 700px;
  margin: 0 auto;
}

/* текст */
.footer-text {
  font-size: 19px;
  line-height: 1.75;

  color: rgba(255, 255, 255, 0.85);

  max-width: 640px;
  margin: 0 auto 24px;

  text-shadow: 0 0 30px rgba(255, 255, 255, 0.05);
}

/* автор */
.footer-author {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.45);

  margin-bottom: 60px;

  letter-spacing: 0.3px;
}

/* ссылки */
.footer-links {
  display: flex;
  justify-content: center;
  gap: 40px;

  margin-bottom: 30px;
}

.footer-links a {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;

  transition: color 0.25s ease;
}

.footer-links a:hover {
  color: #ffffff;
}

/* копирайт */
/* нижняя часть уходит в тишину */
.footer-copy {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.3);

  opacity: 0.6;
}

/* ================= MODAL ================= */

/* ================= MODAL ================= */

.modal {
  position: fixed;
  inset: 0;

  display: flex;
  align-items: center;
  justify-content: center;

  opacity: 0;
  pointer-events: none;

  transition: opacity 0.3s ease;

  z-index: 10000;
}

.modal.active {
  opacity: 1;
  pointer-events: all;
}

/* ===== overlay (исправленный blur) ===== */

.modal-overlay {
  position: absolute;
  inset: 0;

  /* blur включен сразу */
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);

  /* но скрыт */
  background: rgba(0, 0, 0, 0);
  opacity: 0;

  transition:
    opacity 0.3s ease,
    background 0.3s ease;
}

.modal.active .modal-overlay {
  opacity: 1;
  background: rgba(0, 0, 0, 0.6);
}

/* ===== окно ===== */

.modal-content {
  position: relative;

  width: 90%;
  max-width: 560px;
  max-height: 75vh;

  overflow: hidden;

  background: rgba(20, 20, 20, 0.9);
  backdrop-filter: blur(20px);

  border-radius: 16px;

  box-shadow:
    0 40px 120px rgba(0, 0, 0, 0.7),
    inset 0 0 0 1px rgba(255, 255, 255, 0.05);

  padding: 32px 28px;

  transform: translateY(20px) scale(0.96);
  opacity: 0;

  transition:
    transform 0.3s ease,
    opacity 0.3s ease;
}

.modal.active .modal-content {
  transform: translateY(0) scale(1);
  opacity: 1;
}

/* ===== close ===== */

.modal-close {
  position: absolute;
  top: 16px;
  right: 18px;

  font-size: 20px;
  color: rgba(255, 255, 255, 0.6);

  cursor: pointer;
  transition: all 0.2s ease;
}

.modal-close:hover {
  color: #fff;
  transform: scale(1.1);
}

/* ===== content ===== */

.modal-body {
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.6;
  max-height: 70vh;
  overflow-y: auto;
  padding-right: 10px;
}

.modal-body h1 {
  font-size: 32px;
  margin-bottom: 18px;
}

.modal-body h2 {
  font-size: 22px;
  margin-top: 28px;
  margin-bottom: 12px;
}

.modal-body p {
  margin-bottom: 14px;
  color: rgba(255, 255, 255, 0.75);
}

.modal-body ul {
  margin-bottom: 18px;
  padding-left: 20px;
}

.modal-body li {
  margin-bottom: 10px;
  color: rgba(255, 255, 255, 0.7);
}

.modal-body strong {
  color: #ffffff;
  font-weight: 600;
}

.modal-body .muted {
  font-size: 14px;
  opacity: 0.5;
  margin-bottom: 20px;
}
.modal-body h2 + ul {
  margin-top: 10px;
}

/* кастомный скролл */
.modal-content::-webkit-scrollbar {
  width: 6px;
}

.modal-content::-webkit-scrollbar-track {
  background: transparent;
}

.modal-content::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 10px;
}

.modal-content::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.3);
}

/* firefox */
.modal-content {
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.2) transparent;
}

/* ================= PAYMENT MODAL ================= */

.pay-modal {
  position: fixed;
  inset: 0;

  display: flex;

  justify-content: center;

  opacity: 0;
  pointer-events: none;

  transition: opacity 0.3s ease;
  z-index: 10000;

  overflow-y: auto;
  align-items: flex-start; /* вместо center */
  padding: 40px 0; /* чтобы не прилипало к краям */
}

.pay-modal.active {
  opacity: 1;
  pointer-events: all;
}

/* overlay */
.pay-overlay {
  position: fixed;
  inset: 0;
  z-index: 0;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);

  background: rgba(0, 0, 0, 0);
  transition: background 0.3s ease;
}

.pay-modal.active .pay-overlay {
  background: rgba(0, 0, 0, 0.65);
}

/* окно */
.pay-content {
  position: relative;
  z-index: 1;
  margin: auto;

  width: 90%;
  max-width: 460px;

  background: rgba(20, 20, 20, 0.9);
  backdrop-filter: blur(20px);

  border-radius: 18px;

  padding: 30px 26px;

  box-shadow:
    0 40px 120px rgba(0, 0, 0, 0.8),
    inset 0 0 0 1px rgba(255, 255, 255, 0.05);

  color: #fff;

  transform: translateY(20px) scale(0.96);
  opacity: 0;

  transition: all 0.3s ease;
}

.pay-modal.active .pay-content {
  transform: translateY(0) scale(1);
  opacity: 1;
}

/* крест */
.pay-close {
  position: absolute;
  top: 14px;
  right: 16px;

  font-size: 18px;
  cursor: pointer;
  opacity: 0.5;
  color: #fff;
}

.pay-close:hover {
  opacity: 1;
}

/* заголовок */
.pay-title {
  font-size: 18px;
  margin-bottom: 14px;
  opacity: 0.8;
}

/* продукт */
.pay-product {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;

  margin-bottom: 16px;
}

.pay-name {
  font-weight: 600;
  font-size: 22px;
}

.pay-sub {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
}

.pay-desc {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.4);
  margin-top: 2px;
}

.pay-price {
  font-weight: 700;
  font-size: 20px;
}

/* линия */
.pay-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
  margin: 16px 0;
}

/* поля */
.pay-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 14px;
}

.pay-field label {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
}

/* 🔥 нормальные инпуты */
.pay-field input {
  padding: 14px 14px;
  border-radius: 10px;

  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);

  color: #fff;
  font-size: 15px;

  outline: none;
  transition: all 0.2s ease;
}

.pay-field input:focus {
  border-color: #f47c5c;
  background: rgba(255, 255, 255, 0.05);
}

/* тексты */
.pay-info {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.4);
  margin-top: 0px;
}

.pay-safe {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
  margin: 8px 0 16px;
}

/* кнопка */
.pay-btn {
  width: 100%;

  padding: 16px;
  margin-top: 20px;
  border-radius: 12px;
  border: none;

  background: #f47c5c;
  color: #fff;

  font-size: 17px;
  font-weight: 600;
  cursor: pointer;

  transition: all 0.2s ease;
}

.pay-btn:hover {
  transform: scale(1.03);
  box-shadow: 0 10px 30px rgba(244, 124, 92, 0.4);
}

.pay-btn.loading {
  pointer-events: none;
  opacity: 0.7;
  position: relative;
}

.pay-btn.loading::after {
  content: "";
  width: 18px;
  height: 18px;

  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top: 2px solid #fff;
  border-radius: 50%;

  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);

  animation: spin 0.7s linear infinite;
}

@keyframes spin {
  to {
    transform: translateY(-50%) rotate(360deg);
  }
}
/* низ */
.pay-note {
  text-align: center;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.35);
  margin-top: 10px;
}

/* ================= RESPONSIVE ================= */

/* ===== 1024px (планшеты) ===== */
@media (max-width: 1024px) {
  .hero-container {
    gap: 50px;
  }

  .book {
    width: 320px;
    height: 440px;
  }

  h1 {
    font-size: 38px;
  }

  h2 {
    font-size: 34px;
  }
}

/* ===== 768px (планшет вертикально) ===== */
@media (max-width: 768px) {
  .hero {
    height: auto;
    padding: 80px 20px 60px;
  }

  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }

  .hero-right {
    max-width: 100%;
  }

  .book {
    margin: 0 auto;
    width: 260px;
    height: 360px;
  }

  .buttons {
    justify-content: center;
    flex-wrap: wrap;
  }

  /* AUTHOR */
  .author-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .author-image {
    order: -1;
  }

  /* FAQ */
  .faq-question {
    font-size: 18px;
  }
}

/* ===== 480px (телефон) ===== */
@media (max-width: 480px) {
  body {
    font-size: 15px;
  }

  h1 {
    font-size: 30px;
  }

  h2 {
    font-size: 26px;
  }

  .subtitle {
    font-size: 16px;
  }

  .price .new {
    font-size: 24px;
  }

  .btn {
    font-size: 15px;
    padding: 14px 20px;
  }

  .btn.primary.big {
    padding: 16px 24px;
  }

  /* SECTIONS */
  .about,
  .author,
  .faq {
    padding-top: 80px;
    padding-left: 20px;
    padding-right: 20px;
    padding-bottom: 120px;
  }

  /* карточки */
  .transform-card {
    padding: 40px 20px;
  }

  /* FAQ */
  .faq-item {
    padding: 20px 0;
  }

  .faq-toggle {
    font-size: 32px;
  }

  /* FOOTER */
  .footer {
    padding: 60px 20px;
  }

  .footer-text {
    font-size: 16px;
  }

  /* PAY MODAL */
  .pay-content {
    padding: 24px 18px;
  }

  .pay-name {
    font-size: 18px;
  }

  .pay-price {
    font-size: 18px;
  }
}

/* ===== MOBILE ONLY FIX ===== */
@media (max-width: 768px) {
  .about-container {
    padding: 0 20px;
  }

  .about-item {
    display: grid;
    grid-template-columns: 26px 1fr;
    gap: 10px;
    align-items: start;
  }

  .num {
    width: 26px;
    height: 26px;
    font-size: 13px;
  }

  .about-content h3 {
    margin-bottom: 6px;
  }
}

@media (max-width: 768px) {
  body {
    padding-bottom: 80px;
  }
  .sticky-cta {
    top: auto;
    bottom: 0;

    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: none;

    transform: translateY(100%);
  }

  .sticky-cta.show {
    transform: translateY(0);
  }
}
