/* ========== Variables ========== */
:root {
  --bg: #f5f1f2;
  --bg-card: #f2eded;
  --bg-card-alt: #e4e2de;
  --accent: #7a9176;
  --accent-hover: #6a8066;
  --accent-light: rgba(122, 145, 118, 0.1);
  --text-dark: #2d2d2d;
  --text-body: #666666;
  --text-light: #999999;
  --white: #ffffff;
  --border: #e8e6e1;
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.1);
  --radius: 12px;
  --radius-sm: 8px;
  --font-heading: 'Cormorant', Georgia, serif;
  --font-body: 'Open Sans', Arial, sans-serif;
  --container: 1200px;
  --header-height: 80px;
  --transition: 0.3s ease;
}

/* ========== Container ========== */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 40px;
}

/* ========== Buttons ========== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 15px;
  line-height: 1;
  transition: all var(--transition);
  cursor: pointer;
  text-align: center;
}

.btn--primary {
  background-color: var(--accent);
  color: var(--white);
}

.btn--primary:hover {
  background-color: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(122, 145, 118, 0.3);
}

.btn--outline {
  background-color: transparent;
  color: var(--accent);
  border: 1.5px solid var(--accent);
}

.btn--outline:hover {
  background-color: var(--accent);
  color: var(--white);
}

.btn--header {
  padding: 10px 24px;
  font-size: 14px;
  white-space: nowrap;
}

.btn--large {
  padding: 18px 48px;
  font-size: 17px;
}

.btn--full {
  width: 100%;
}

/* ========== Section Title ========== */
.section-title {
  font-family: var(--font-heading);
  font-size: 40px;
  font-weight: 900;
  color: var(--text-dark);
  text-align: center;
  margin-bottom: 48px;
  line-height: 1.3;
}

.section-title--left {
  text-align: left;
}

/* ========== Header ========== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background-color: rgba(245, 241, 242, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 1000;
  transition: box-shadow var(--transition);
}

.header--scrolled {
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.logo__text {
  display: flex;
  flex-direction: column;
}

.logo__name {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 900;
  color: var(--text-dark);
  line-height: 1.2;
}

.logo__profession {
  font-size: 13px;
  color: var(--text-body);
  font-weight: 400;
}

.nav__list {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav__link {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-dark);
  transition: color var(--transition);
  position: relative;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1.5px;
  background-color: var(--accent);
  transition: width var(--transition);
}

.nav__link:hover {
  color: var(--accent);
}

.nav__link:hover::after {
  width: 100%;
}

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}

.burger span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--text-dark);
  transition: all var(--transition);
}

/* ========== Hero ========== */
.hero {
  display: flex;
  padding-top: var(--header-height);
  min-height: calc(100vh - var(--header-height));
}

.hero__inner {
  display: flex;
  align-items: center;
  flex: 0 0 50%;
  max-width: 50%;
  padding: 80px 40px 80px 0;
}

.hero__content {
  width: 100%;
  max-width: 560px;
  margin-left: auto;
}

.hero__title {
  font-family: var(--font-heading);
  font-size: 48px;
  font-weight: 900;
  color: var(--text-dark);
  line-height: 1.25;
  margin-bottom: 16px;
}

.hero__subtitle {
  font-size: 18px;
  color: var(--text-body);
  margin-bottom: 8px;
}

.hero__experience {
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 28px;
}

.hero__cta {
  margin-bottom: 32px;
}

.hero__badges {
  display: flex;
  gap: 24px;
}

.badge {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--text-body);
  font-weight: 500;
}

.hero__image {
  flex: 0 0 50%;
  max-width: 50%;
  position: relative;
  overflow: hidden;
}

.hero__image::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 30%;
  height: 100%;
  background: linear-gradient(to right, var(--bg), transparent);
  z-index: 1;
  pointer-events: none;
}

.hero__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ========== Problems ========== */
.problems {
  padding: 80px 0;
  background-color: var(--bg);
}

.problems__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
}

.problem-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: var(--bg-card);
  border-radius: var(--radius);
  padding: 32px 20px;
  text-align: center;
  transition: all var(--transition);
  /* box-shadow: var(--shadow); */
}

.problem-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.problem-card__icon {
  margin-bottom: 20px;
  background-color: var(--bg-card-alt);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
}

.problem-card__title {
  font-family: var(--font-heading);
  font-size: 21px;
  font-weight: 900;
  color: var(--text-dark);
  margin-bottom: 10px;
  line-height: 1.3;
}

.problem-card__text {
  font-size: 13px;
  color: var(--text-body);
  line-height: 1.5;
}

/* ========== Process ========== */
.process {
  padding: 80px 0;
  background-color: var(--bg);
}

.process__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}

.process__grid::before {
  content: '';
  position: absolute;
  top: 24px;
  left: calc((100% - 72px) / 8);
  right: calc((100% - 72px) / 8);
  border-top: 2px dashed var(--border);
  z-index: 0;
}

.step {
  position: relative;
  z-index: 1;
  padding: 0 8px;
  text-align: center;
}

.step__number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: var(--bg-card-alt);
  color: var(--text-dark);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 20px;
}

.step__title {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 900;
  color: var(--text-dark);
  margin-bottom: 12px;
  line-height: 1.3;
}

.step__text {
  font-size: 14px;
  color: var(--text-body);
  line-height: 1.6;
}

/* ========== Reviews ========== */
.reviews {
  padding: 80px 0;
  background-color: var(--bg);
}

.reviews__carousel {
  position: relative;
}

.reviews__track-wrapper {
  overflow: hidden;
  margin: 0 56px;
}

.reviews__track {
  display: flex;
  gap: 24px;
  transition: transform 0.5s ease;
}

.review-card {
  flex: 0 0 calc(33.333% - 16px);
  background-color: var(--bg-card);
  border-radius: var(--radius);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
}

.review-card__stars {
  display: flex;
  gap: 2px;
  margin-bottom: 16px;
}

.review-card__text {
  font-size: 15px;
  color: var(--text-body);
  line-height: 1.6;
  flex: 1;
  margin-bottom: 20px;
}

.review-card__author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.review-card__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: var(--bg-card-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.review-card__name {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dark);
}

.reviews__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  background-color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition);
  color: var(--text-dark);
}

.reviews__arrow--prev {
  left: 0;
}

.reviews__arrow--next {
  right: 0;
}

.reviews__arrow:hover {
  border-color: var(--accent);
  color: var(--accent);
  background-color: var(--accent-light);
}

.reviews__dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 32px;
}

.reviews__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background-color: var(--border);
  cursor: pointer;
  transition: all var(--transition);
  padding: 0;
}

.reviews__dot.active {
  background-color: var(--accent);
  width: 28px;
  border-radius: 5px;
}

/* ========== About ========== */
.about {
  padding: 80px 0;
  background-color: var(--bg);
}

.about__inner {
  display: flex;
  align-items: center;
  gap: 60px;
}

.about__image {
  flex: 0 0 45%;
}

.about__image img {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  object-fit: cover;
  aspect-ratio: 4 / 5;
}

.about__content {
  flex: 0 0 55%;
}

.about__content .section-title {
  margin-bottom: 28px;
}

.about__list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 32px;
}

.about__list li {
  font-size: 15px;
  color: var(--text-body);
  line-height: 1.7;
  padding-left: 20px;
  position: relative;
}

.about__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--accent);
}

.about__list li strong {
  color: var(--text-dark);
  font-weight: 600;
}

/* ========== Format Section ========== */
.format-section {
  padding: 80px 0;
  background-color: var(--bg);
}

.format__card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-radius: var(--radius);
  overflow: hidden;
}

.format__info {
  background-color: var(--accent);
  padding: 48px 40px;
  color: var(--white);
}

.format__title {
  font-family: var(--font-heading);
  font-size: 36px;
  font-weight: 900;
  color: var(--white);
  margin-bottom: 32px;
  line-height: 1.3;
}

.format__list {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.format__item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.format__item svg {
  flex-shrink: 0;
  margin-top: 2px;
}

.format__item-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.format__label {
  font-size: 14px;
  opacity: 0.85;
  line-height: 1.4;
}

.format__value {
  font-size: 15px;
  font-weight: 700;
  color: var(--white);
  line-height: 1.3;
}

.format__image {
  background-color: var(--bg-card-alt);
  min-height: 340px;
}

.format__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ========== FAQ Section ========== */
.faq-section {
  padding: 80px 0;
  background-color: var(--bg);
}

.faq__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.faq__item {
  background-color: var(--bg-card);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  overflow: hidden;
}

.faq__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 20px 24px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-dark);
  text-align: left;
  cursor: pointer;
  transition: color var(--transition);
  gap: 12px;
}

.faq__question:hover {
  color: var(--accent);
}

.faq__icon {
  flex-shrink: 0;
  transition: transform var(--transition);
}

.faq__item.active .faq__icon {
  transform: rotate(45deg);
}

.faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.faq__item.active .faq__answer {
  max-height: 300px;
}

.faq__answer p {
  padding: 0 24px 20px;
  font-size: 14px;
  color: var(--text-body);
  line-height: 1.7;
}

/* ========== Offer / CTA ========== */
.offer {
  padding: 80px 0;
  background-color: var(--bg);
}

.offer__card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  background-color: var(--bg-card-alt);
  border-radius: var(--radius);
  padding: 48px 52px;
}

.offer__left {
  display: flex;
  align-items: center;
  gap: 20px;
  flex: 1;
}

.offer__icon {
  flex-shrink: 0;
  opacity: 0.35;
}

.offer__title {
  font-family: var(--font-heading);
  font-size: 42px;
  font-weight: 900;
  color: var(--text-dark);
  line-height: 1.3;
}

.offer__right {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.offer__text {
  font-size: 14px;
  color: var(--text-body);
}

/* ========== Footer ========== */
.footer {
  padding: 40px 0;
  background-color: var(--bg);
  border-top: 1px solid var(--border);
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.footer__brand {
  flex-shrink: 0;
}

.footer__nav {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex: 1;
}

.footer__link {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-dark);
  transition: color var(--transition);
}

.footer__link:hover {
  color: var(--accent);
}

.footer__social {
  display: flex;
  gap: 12px;
}

.footer__social-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dark);
  transition: all var(--transition);
}

.footer__social-link:hover {
  border-color: var(--accent);
  color: var(--accent);
  background-color: var(--accent-light);
}

/* ========== Modal ========== */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition);
}

.modal.active {
  opacity: 1;
  visibility: visible;
}

.modal__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
}

.modal__content {
  position: relative;
  background-color: var(--bg-card);
  border-radius: var(--radius);
  padding: 40px;
  max-width: 480px;
  width: 90%;
  transform: translateY(20px);
  transition: transform var(--transition);
  box-shadow: var(--shadow-lg);
}

.modal.active .modal__content {
  transform: translateY(0);
}

.modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  padding: 4px;
  transition: opacity var(--transition);
}

.modal__close:hover {
  opacity: 0.6;
}

.modal__title {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 900;
  color: var(--text-dark);
  margin-bottom: 28px;
}

.form__group {
  margin-bottom: 20px;
}

.form__label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.form__input {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 15px;
  color: var(--text-dark);
  background-color: var(--bg);
  transition: border-color var(--transition);
}

.form__input::placeholder {
  color: var(--text-light);
}

.form__input:focus {
  border-color: var(--accent);
}

.form__textarea {
  min-height: 100px;
  resize: vertical;
}
