/* ===== Reset & Base ===== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: 'Sora', sans-serif;
  color: #1a1a1a;
  background: #fff;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== Header ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

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

.header__logo {
  font-weight: 600;
  font-size: 18px;
  letter-spacing: -0.02em;
  color: #1a1a1a;
}

.header__nav {
  display: flex;
  gap: 36px;
}

.header__link {
  font-size: 14px;
  font-weight: 400;
  color: #666;
  letter-spacing: 0.01em;
  transition: color 0.2s;
}

.header__link:hover {
  color: #1a1a1a;
}

/* Burger */
.header__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.header__burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: #1a1a1a;
  border-radius: 1px;
  transition: transform 0.3s, opacity 0.3s;
}

.header__burger.active span:first-child {
  transform: translateY(3.5px) rotate(45deg);
}

.header__burger.active span:last-child {
  transform: translateY(-3.5px) rotate(-45deg);
}

/* ===== Services ===== */
.services {
  padding: 140px 0 80px;
}

.services__title {
  font-size: 32px;
  font-weight: 600;
  letter-spacing: -0.03em;
  margin-bottom: 48px;
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

/* ===== Card ===== */
.card {
  display: flex;
  flex-direction: column;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.08);
  transition: transform 0.3s, box-shadow 0.3s;
  cursor: pointer;
  background: #fff;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
}

.card__image {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #f5f5f5;
}

.card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}

.card:hover .card__image img {
  transform: scale(1.03);
}

.card__body {
  padding: 28px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.card__name {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.card__desc {
  font-size: 14px;
  color: #666;
  line-height: 1.7;
  margin-bottom: 24px;
  flex: 1;
}

.card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 20px;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.card__price {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.card__btn {
  font-size: 14px;
  font-weight: 500;
  color: #1a1a1a;
  padding: 10px 24px;
  border: 1px solid #1a1a1a;
  border-radius: 100px;
  transition: background 0.2s, color 0.2s;
}

.card:hover .card__btn {
  background: #1a1a1a;
  color: #fff;
}

/* ===== Contacts ===== */
.contacts {
  padding: 80px 0;
  background: #fafafa;
}

.contacts__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.contacts__centered {
  max-width: 480px;
  margin: 0 auto;
}

.contacts__centered .contacts__title {
  font-size: 24px;
  line-height: 1.4;
  text-align: center;
  margin-bottom: 36px;
}

.contacts__centered .contacts__form-wrap {
  text-align: left;
  padding: 36px 32px;
}

.contacts__info {
  padding-top: 20px;
}

.contacts__title {
  font-size: 32px;
  font-weight: 600;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}

.contacts__text {
  font-size: 16px;
  color: #666;
  margin-bottom: 32px;
  max-width: 400px;
}

.contacts__tg {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  font-weight: 500;
  color: #fff;
  background: #1a1a1a;
  padding: 14px 32px;
  border-radius: 100px;
  transition: background 0.2s;
  transform: scale(1);
}

/* Contacts zoom animation */
@keyframes zoomPulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.06); }
  100% { transform: scale(1); }
}

.contacts.animate .container {
  animation: zoomPulse 1.2s ease-in-out 2;
}

.contacts__tg:hover {
  background: #333;
}

.contacts__tg svg {
  flex-shrink: 0;
}

.tg-cta {
  padding: 0 0 64px;
  text-align: center;
  background: #1a1a1a;
}

.tg-cta__text {
  font-size: 15px;
  color: #777;
  margin-bottom: 16px;
}

.tg-cta .contacts__tg {
  background: #333;
}

.tg-cta .contacts__tg:hover {
  background: #444;
}

.contacts__form-wrap {
  background: #fff;
  border-radius: 20px;
  padding: 32px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04);
}

.contacts__form-label {
  font-size: 15px;
  color: #999;
  margin-bottom: 20px;
  text-align: center;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact-form-inv {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.contact-form__group {
  margin-bottom: 20px;
}

.contact-form__input {
  width: 100%;
  font-family: 'Sora', sans-serif;
  font-size: 16px;
  padding: 13px 16px;
  border: 1px solid rgba(0, 0, 0, 0.10);
  border-radius: 10px;
  background: #fff;
  outline: none;
  transition: border-color 0.2s;
  color: #1a1a1a;
  -webkit-appearance: none;
  appearance: none;
}

input[type="date"].contact-form__input {
  min-height: 48px;
}

.contact-form__input::placeholder {
  color: #bbb;
}

.contact-form__input:focus {
  border-color: #1a1a1a;
  background: #fff;
}

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

.contact-form__btn {
  font-family: 'Sora', sans-serif;
  font-size: 15px;
  font-weight: 500;
  color: #fff;
  background: #1a1a1a;
  border: none;
  padding: 16px 40px;
  border-radius: 100px;
  cursor: pointer;
  transition: background 0.2s;
  width: 100%;
  margin-top: 8px;
  margin-bottom: 8px;
}

.contact-form__btn:hover {
  background: #333;
}

.contact-form__btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.contact-form__label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: #888;
  margin-bottom: 8px;
  letter-spacing: 0.01em;
}

.contact-form__styles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.contact-form__style-option {
  position: relative;
  cursor: pointer;
}

.contact-form__style-option input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.contact-form__style-option span {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  text-align: center;
  font-family: 'Sora', sans-serif;
  font-size: 13px;
  font-weight: 500;
  padding: 11px 14px;
  border-radius: 10px;
  border: 1px solid rgba(0, 0, 0, 0.10);
  background: #fff;
  color: #555;
  transition: all 0.2s;
}

.contact-form__style-option input:checked + span {
  background: #1a1a1a;
  color: #fff;
  border-color: #1a1a1a;
}

.contact-form__style-option:hover span {
  border-color: #999;
  color: #1a1a1a;
}

.contact-form__status {
  font-size: 14px;
  min-height: 20px;
  text-align: center;
}

.contact-form__status--success {
  color: #22c55e;
}

.contact-form__status--error {
  color: #ef4444;
}

/* ===== Dark contacts variant ===== */
.contacts--dark {
  background: #1a1a1a;
}

.contacts--dark .contacts__title {
  color: #fff;
}

.contacts--dark .contacts__form-wrap {
  background: #242424;
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2);
}

.contacts--dark .contact-form__label {
  color: #999;
}

.contacts--dark .contact-form__input {
  background: #1a1a1a;
  border-color: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.contacts--dark .contact-form__input::placeholder {
  color: #666;
}

.contacts--dark .contact-form__input:focus {
  border-color: #fff;
  background: #1a1a1a;
}

.contacts--dark .contact-form__style-option span {
  background: #1a1a1a;
  border-color: rgba(255, 255, 255, 0.12);
  color: #999;
}

.contacts--dark .contact-form__style-option:hover span {
  border-color: #666;
  color: #fff;
}

.contacts--dark .contact-form__style-option input:checked + span {
  background: #fff;
  color: #1a1a1a;
  border-color: #fff;
}

.contacts--dark .contact-form__btn {
  background: #fff;
  color: #1a1a1a;
}

.contacts--dark .contact-form__btn:hover {
  background: #e5e5e5;
}

/* ===== Footer ===== */
.footer {
  padding: 32px 0;
  background: #1a1a1a;
}

.footer p {
  font-size: 13px;
  color: #666;
  text-align: center;
}

/* ===== Invitations Hero ===== */
.inv-hero {
  padding: 140px 0 60px;
}

.inv-hero__img {
  display: block;
  max-width: 480px;
  width: 100%;
  margin: 0 0 40px;
  border-radius: 16px;
}

.inv-hero__title {
  font-size: 40px;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin-bottom: 20px;
}

.inv-hero__desc {
  font-size: 16px;
  color: #666;
  line-height: 1.7;
  max-width: 600px;
  margin-bottom: 32px;
}

.inv-hero__features {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 32px;
}

.inv-hero__feature {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 500;
  color: #1a1a1a;
}

.inv-hero__feature-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #1a1a1a;
  color: #fff;
  font-size: 11px;
  flex-shrink: 0;
}

.inv-hero__cta {
  display: inline-block;
  margin-top: 32px;
  padding: 14px 36px;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: #fff;
  background: #1a1a1a;
  border: 1px solid #1a1a1a;
  border-radius: 100px;
  transition: all 0.2s;
}

.inv-hero__cta:hover {
  background: #333;
  color: #fff;
  border-color: #333;
}

/* ===== Triggers ===== */
.triggers {
  padding: 0 0 48px;
}

.triggers__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.triggers__item {
  text-align: center;
  padding: 28px 20px;
  background: #f9f9f9;
  border-radius: 16px;
  border: 1px solid rgba(0, 0, 0, 0.04);
}

.triggers__icon {
  font-size: 28px;
  display: block;
  margin-bottom: 12px;
}

.triggers__text {
  font-size: 14px;
  line-height: 1.6;
  color: #444;
}

.triggers__text strong {
  color: #1a1a1a;
}

@media (max-width: 768px) {
  .triggers__grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .triggers__item {
    display: flex;
    align-items: center;
    gap: 16px;
    text-align: left;
    padding: 20px 24px;
  }

  .triggers__icon {
    margin-bottom: 0;
    font-size: 24px;
    flex-shrink: 0;
  }
}

.catalog__title {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.2;
  text-align: center;
  margin-bottom: 40px;
}

/* ===== Catalog Filters ===== */
.catalog__filters {
  display: flex;
  gap: 8px;
  margin-bottom: 36px;
}

.catalog__filter {
  font-family: 'Sora', sans-serif;
  font-size: 14px;
  font-weight: 500;
  padding: 10px 24px;
  border-radius: 100px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  background: transparent;
  color: #666;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.catalog__filter:hover {
  color: #1a1a1a;
  border-color: #1a1a1a;
}

.catalog__filter.active {
  background: #1a1a1a;
  color: #fff;
  border-color: #1a1a1a;
}

.catalog-card.hidden {
  display: none;
}

/* ===== Catalog ===== */
.catalog {
  padding: 60px 0 80px;
}

.catalog__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.catalog-card {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: #fff;
  transition: transform 0.3s, box-shadow 0.3s;
}

.catalog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
}

.catalog-card__image {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #f5f5f5;
}

.catalog-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}

.catalog-card:hover .catalog-card__image img {
  transform: scale(1.03);
}

.catalog-card__body {
  padding: 24px 28px 28px;
}

.catalog-card__name {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.catalog-card__price {
  display: block;
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 20px;
}

.catalog-card__actions {
  display: flex;
  gap: 12px;
}

.catalog-card__btn {
  font-family: 'Sora', sans-serif;
  font-size: 13px;
  font-weight: 500;
  padding: 10px 22px;
  border-radius: 100px;
  text-align: center;
  transition: background 0.2s, color 0.2s;
  white-space: nowrap;
}

.catalog-card__btn--outline {
  color: #1a1a1a;
  border: 1px solid #1a1a1a;
}

.catalog-card__btn--outline:hover {
  background: #1a1a1a;
  color: #fff;
}

.catalog-card__btn--filled {
  color: #fff;
  background: #1a1a1a;
  border: 1px solid #1a1a1a;
}

.catalog-card__btn--filled:hover {
  background: #333;
  border-color: #333;
}

.catalog-card__placeholder {
  aspect-ratio: 16 / 10;
  background: #f5f5f5;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: #666;
  font-size: 15px;
}

.catalog-card__placeholder-icon {
  font-size: 36px;
  color: #1a1a1a;
}

/* ===== Why Us ===== */
.why-us {
  padding: 80px 0;
}

.why-us__title {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.2;
  text-align: center;
  margin-bottom: 36px;
}

.why-us__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.why-us__item {
  padding: 32px;
  background: #f9f9f9;
  border-radius: 16px;
  border: 1px solid rgba(0, 0, 0, 0.04);
}

.why-us__icon {
  font-size: 28px;
  display: block;
  margin-bottom: 16px;
}

.why-us__name {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 8px;
}

.why-us__desc {
  font-size: 14px;
  color: #666;
  line-height: 1.6;
}

/* ===== What You Get ===== */
.what-you-get {
  padding: 80px 0;
  background: #f9f9f9;
  text-align: center;
}

.what-you-get__title {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.2;
  text-align: center;
  margin-bottom: 36px;
}

.wyg-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 24px;
}

.wyg-card {
  text-align: center;
  padding: 32px 24px;
  background: #fff;
  border-radius: 16px;
  border: 1px solid rgba(0, 0, 0, 0.04);
}

.wyg-card__icon {
  font-size: 28px;
  display: block;
  margin-bottom: 14px;
}

.wyg-card__name {
  font-size: 15px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.wyg-card__desc {
  font-size: 14px;
  line-height: 1.6;
  color: #666;
}

@media (max-width: 768px) {
  .wyg-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .wyg-card {
    display: grid;
    grid-template-columns: 36px 1fr;
    grid-template-rows: auto auto;
    column-gap: 16px;
    row-gap: 2px;
    text-align: left;
    padding: 20px 24px;
    align-items: start;
  }

  .wyg-card__icon {
    grid-row: 1 / -1;
    margin-bottom: 0;
    font-size: 24px;
    align-self: center;
  }

  .wyg-card__name {
    margin-bottom: 0;
  }
}

@media (max-width: 768px) {
  .why-us__grid {
    grid-template-columns: 1fr;
  }
}

/* ===== Reviews Page ===== */
.reviews-page {
  padding: 140px 0 0;
}

.reviews-page__title {
  font-size: 40px;
  font-weight: 600;
  letter-spacing: -0.03em;
  margin-bottom: 32px;
}

/* Carousel */
.carousel {
  position: relative;
  overflow: hidden;
  margin-bottom: 80px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.carousel__track {
  display: flex;
  transition: transform 0.5s ease;
}

.carousel__slide {
  min-width: 100%;
  display: flex;
  justify-content: center;
  padding: 0 24px;
}

.carousel__slide img {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 16px;
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.carousel__slide.hidden {
  display: none;
}

.carousel__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.12);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  font-size: 24px;
  color: #1a1a1a;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel__arrow:hover {
  background: #1a1a1a;
  color: #fff;
  border-color: #1a1a1a;
}

.carousel__arrow--left {
  left: 24px;
}

.carousel__arrow--right {
  right: 24px;
}

.carousel__counter {
  text-align: center;
  margin-top: 20px;
  font-size: 14px;
  color: #999;
  font-weight: 500;
}

/* Reviews banner */
.reviews-banner {
  padding: 48px 0;
  text-align: center;
}

.reviews-banner__stars {
  font-size: 28px;
  color: #f59e0b;
  letter-spacing: 4px;
  margin-bottom: 12px;
}

.reviews-banner__text {
  font-size: 16px;
  color: #666;
  margin-bottom: 20px;
}

.reviews-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 500;
  color: #1a1a1a;
  padding: 12px 28px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 100px;
  transition: background 0.2s, border-color 0.2s;
}

.reviews-link:hover {
  background: #1a1a1a;
  color: #fff;
  border-color: #1a1a1a;
}

/* ===== Mobile ===== */
@media (max-width: 768px) {
  .header__burger {
    display: flex;
  }

  .header__nav {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    flex-direction: column;
    align-items: center;
    gap: 0;
    padding: 8px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.3s, opacity 0.3s;
  }

  .header__nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }

  .header__link {
    padding: 16px 24px;
    font-size: 16px;
    width: 100%;
    text-align: center;
  }

  .services {
    padding: 110px 0 60px;
  }

  .services__title {
    font-size: 26px;
    margin-bottom: 32px;
  }

  .services__grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .contacts__grid {
    grid-template-columns: 1fr;
    gap: 32px;
    text-align: center;
  }

  .contacts__info {
    padding-top: 0;
  }

  .contacts__text {
    max-width: none;
  }

  .contacts__title {
    font-size: 26px;
  }

  /* Invitations page */
  .inv-hero {
    padding: 110px 0 40px;
  }

  .inv-hero__title {
    font-size: 28px;
  }

  .inv-hero__features {
    gap: 10px 24px;
  }

  .inv-hero__feature {
    font-size: 14px;
  }

  .inv-hero__cta {
    margin-top: 24px;
    padding: 12px 28px;
    display: block;
    width: 100%;
    text-align: center;
  }

  .catalog {
    padding: 40px 0 60px;
  }

  .catalog__grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .catalog-card__actions {
    flex-direction: column;
  }

  .catalog-card__btn {
    text-align: center;
  }

  /* Reviews page */
  .reviews-page {
    padding: 110px 0 0;
  }

  .reviews-page__title {
    font-size: 28px;
  }

  .carousel__arrow {
    width: 36px;
    height: 36px;
    font-size: 20px;
  }

  .carousel__arrow--left {
    left: 12px;
  }

  .carousel__arrow--right {
    right: 12px;
  }
}
