@font-face {
  font-family: "Montserrat";
  src: url("Montserrat.ttf");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "CormorantGaramond";
  src: url("CormorantGaramond.ttf");
  font-weight: normal;
  font-style: normal;
}

.text-sm {
  font-size: 0.875rem;
  font-weight: normal;
}

.fw-600 {
  font-weight: 600;
}

:root {
  --text: #f7f2ea;
  --muted: rgba(247, 242, 234, 0.82);
  --soft: rgba(247, 242, 234, 0.68);
  --glass: rgba(255, 255, 255, 0.14);
  --glass-border: rgba(255, 255, 255, 0.16);
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.28);
  --btn-bg: #090909;
  --btn-text: #ffffff;
  --text-x1: 1.25rem;
  --text-2xl: 1.5rem;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Montserrat", "Georgia", "Times New Roman", serif;
  background: #111;
  color: var(--text);
  min-height: 100vh;
}

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  text-align: center;
  padding: 32px 16px;
  isolation: isolate;
  background:
    linear-gradient(rgba(17, 17, 17, 0.34), rgba(17, 17, 17, 0.48)),
    url("hero-bg.jpg")
      center/cover no-repeat;
  background-attachment: fixed;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: -1;
}

.hero::before {
  background:
    radial-gradient(
      circle at 14% 16%,
      rgba(255, 255, 255, 0.72),
      transparent 12%
    ),
    radial-gradient(
      circle at 88% 18%,
      rgba(255, 255, 255, 0.68),
      transparent 12%
    ),
    radial-gradient(
      circle at 11% 88%,
      rgba(255, 255, 255, 0.62),
      transparent 15%
    ),
    radial-gradient(
      circle at 87% 85%,
      rgba(255, 255, 255, 0.56),
      transparent 16%
    );
  filter: blur(18px);
  transform: scale(1.08);
  opacity: 0.95;
}

.hero::after {
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.08),
    rgba(0, 0, 0, 0.28)
  );
}

.content {
  width: min(100%, 968px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  padding: 24px 14px;
}

.eyebrow {
  font-size: var(--text-x1);
  color: var(--muted);
  letter-spacing: 0.03em;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}

.lead {
  letter-spacing: 2px;
  font-size: var(--text-2xl);
  line-height: 1.5;
  color: var(--muted);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.date {
  margin-top: 8px;
  font-size: 4.5rem;
  line-height: 1.05;
  letter-spacing: 0.05em;
  font-weight: 500;
  text-transform: uppercase;
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.32);
}

.signature {
  font-size: var(--text-x1);
  color: #e6d7b8;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}

.countdown {
  display: grid;
  grid-template-columns: repeat(4, minmax(62px, 92px));
  gap: 12px;
  margin-top: 30px;
}

.time-box {
  padding: 14px 8px 10px;
  border-radius: 14px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(7px);
  -webkit-backdrop-filter: blur(7px);
  box-shadow: var(--shadow);
}

.time-value {
  display: block;
  font-size: clamp(1.4rem, 2.2vw, 2rem);
  line-height: 1;
  margin-bottom: 8px;
}

.time-label {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--soft);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 14px 28px;
  border-radius: 10px;
  background: var(--btn-bg);
  color: var(--btn-text);
  text-decoration: none;
  font-size: 1rem;
  font-weight: 600;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.32);
  margin-top: 28px;
  transition:
    background 0.25s ease,
    box-shadow 0.25s ease,
    transform 0.2s ease;
}

.btn:hover {
  background: #ffffff; /* заливается белым */
  color: #2b1e1c;

  box-shadow: 0 8px 20px rgba(43, 30, 28, 0.12);
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(1px);
}

@media (max-width: 768px) {
  .hero {
    padding: 24px 14px;
    background-attachment: scroll;
    background-position: center center;
    background-size: cover;
  }

  .content {
    gap: 14px;
    padding: 18px 8px;
  }

  .lead {
    max-width: 34ch;
    letter-spacing: 1px;
  }

  .countdown {
    grid-template-columns: repeat(4, minmax(58px, 1fr));
    gap: 8px;
    width: min(100%, 360px);
  }

  .time-box {
    padding: 12px 6px 10px;
    border-radius: 12px;
  }

  .time-label {
    font-size: 0.68rem;
  }

  .btn {
    width: 100%;
    max-width: 260px;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 20px 12px;
    min-height: 100svh;
  }

  .hero::before {
    background:
      radial-gradient(
        circle at 8% 11%,
        rgba(255, 255, 255, 0.68),
        transparent 15%
      ),
      radial-gradient(
        circle at 93% 12%,
        rgba(255, 255, 255, 0.64),
        transparent 16%
      ),
      radial-gradient(
        circle at 4% 86%,
        rgba(255, 255, 255, 0.56),
        transparent 18%
      ),
      radial-gradient(
        circle at 95% 83%,
        rgba(255, 255, 255, 0.5),
        transparent 19%
      );
  }

  .content {
    gap: 12px;
  }

  .eyebrow {
    font-size: 1rem;
  }

  .lead {
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    max-width: 28ch;
  }

  .date {
    font-size: clamp(1.5rem, 8vw, 2.2rem);
    white-space: normal;
    max-width: 12ch;
    line-height: 1.15;
  }

  .signature {
    font-size: 0.95rem;
  }

  .countdown {
    grid-template-columns: repeat(4, 1fr);
    width: 100%;
    gap: 6px;
  }

  .time-box {
    padding: 10px 4px 8px;
    border-radius: 10px;
  }

  .time-value {
    font-size: 1.3rem;
    margin-bottom: 5px;
  }

  .time-label {
    font-size: 0.6rem;
  }

  .btn {
    min-height: 46px;
    font-size: 0.95rem;
  }
}

@media (max-width: 360px) {
  .date {
    font-size: 1.4rem;
  }

  .countdown {
    grid-template-columns: repeat(2, 1fr);
    width: min(100%, 220px);
  }
}

.timeline-icon img {
  filter: invert(100%) sepia(0%) saturate(7500%) hue-rotate(263deg)
    brightness(100%) contrast(102%);
  width: 24px;
  height: 24px;
  display: block;
}

.wedding-timeline-section {
  background: lab(97.6712% 0.835925 1.65987);
  padding: 110px 20px;
  color: #2f2a28;
  overflow: hidden;
}

.timeline-container {
  max-width: 1050px;
  margin: 0 auto;
}

.timeline-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 56px;
}

.timeline-header h2 {
  margin: 0 0 14px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 3.6rem);
  font-weight: 500;
  line-height: 1.1;
  color: #372f2c;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.timeline-header p {
  margin: 0 auto;
  max-width: 520px;
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  color: #908780;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.timeline {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 34px;
}

.timeline-line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  transform: translateX(-50%);
  background: linear-gradient(
    to bottom,
    rgba(77, 141, 76, 0.08),
    rgba(77, 141, 76, 0.35),
    rgba(77, 141, 76, 0.08)
  );
}

.timeline-row {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 80px 1fr;
  align-items: center;
  min-height: 128px;
}

.timeline-row.left .timeline-card {
  grid-column: 1;
  justify-self: end;
  text-align: right;
}

.timeline-row.right .timeline-card {
  grid-column: 3;
  justify-self: start;
  text-align: left;
}

.timeline-icon {
  grid-column: 2;
  width: 60px;
  height: 60px;
  margin: 0 auto;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #4e8f4d;
  color: #fff;
  font-size: 1.5rem;
  line-height: 1;
  box-shadow: 0 12px 24px rgba(78, 143, 77, 0.2);
  z-index: 2;
}

.timeline-card {
  width: min(100%, 320px);
  background: #fff;
  border: 1px solid #e7ddd4;
  border-radius: 14px;
  padding: 22px 20px;
  box-shadow: 0 10px 24px rgba(85, 67, 53, 0.08);
  margin: 0px 15px 0px 15px;
}

.timeline-time {
  margin-bottom: 10px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.45rem;
  color: #5a9b55;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.timeline-card h3 {
  margin: 0 0 8px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.18rem;
  font-weight: 500;
  line-height: 1.35;
  color: #3e3531;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.timeline-card p {
  margin: 0;
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
  font-size: 0.96rem;
  line-height: 1.6;
  color: #8f857f;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.reveal-up,
.reveal-card {
  opacity: 0;
  will-change: transform, opacity;
  transition:
    opacity 0.75s ease,
    transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal-up {
  transform: translateY(40px);
}

.timeline-row.left.reveal-card {
  transform: translateX(-70px);
}

.timeline-row.right.reveal-card {
  transform: translateX(70px);
}

.reveal-up.visible,
.reveal-card.visible {
  opacity: 1;
  transform: translate(0, 0);
}

.timeline-row:nth-child(2) {
  transition-delay: 0.04s;
}
.timeline-row:nth-child(3) {
  transition-delay: 0.1s;
}
.timeline-row:nth-child(4) {
  transition-delay: 0.16s;
}
.timeline-row:nth-child(5) {
  transition-delay: 0.22s;
}
.timeline-row:nth-child(6) {
  transition-delay: 0.28s;
}

@media (max-width: 860px) {
  .wedding-timeline-section {
    padding: 90px 16px;
  }

  .timeline-header {
    margin-bottom: 42px;
  }

  .timeline-line {
    left: 26px;
    transform: none;
  }

  .timeline-row {
    grid-template-columns: 52px 1fr;
    gap: 16px;
    min-height: auto;
  }

  .timeline-row.left .timeline-card,
  .timeline-row.right .timeline-card {
    grid-column: 2;
    justify-self: stretch;
    width: 100%;
    text-align: left;
  }

  .timeline-icon {
    grid-column: 1;
    width: 52px;
    height: 52px;
    font-size: 1.25rem;
  }

  .timeline-row.left.reveal-card,
  .timeline-row.right.reveal-card {
    transform: translateY(36px);
  }
}

@media (max-width: 520px) {
  .timeline-card {
    padding: 18px 16px;
    border-radius: 12px;
  }

  .timeline-time {
    font-size: 1.25rem;
  }

  .timeline-card h3 {
    font-size: 1.06rem;
  }

  .timeline-card p {
    font-size: 0.92rem;
  }
}

@media (max-width: 860px) {
  .timeline-line,
  .timeline-icon {
    display: none;
  }

  .timeline-row {
    display: block;
  }

  .timeline-row.left,
  .timeline-row.right {
    justify-content: initial;
  }

  .timeline-row.left .timeline-card,
  .timeline-row.right .timeline-card {
    width: 100%;
    max-width: 100%;
    text-align: left;
    justify-self: auto;
  }
}

@media (max-width: 860px) {
  .timeline-icon,
  .timeline-line {
    display: none !important;
  }
}

@media (max-width: 860px) {
  /* убираем линию и иконки */
  .timeline-icon,
  .timeline-line {
    display: none !important;
  }

  /* контейнер */
  .timeline {
    display: flex;
    flex-direction: column;
    align-items: center; /* ВАЖНО: центрируем всё */
    gap: 16px;
  }

  /* каждая строка */
  .timeline-row {
    display: flex;
    justify-content: center; /* центр */
    width: 100%;
  }

  /* убираем левый/правый перекос */
  .timeline-row.left,
  .timeline-row.right {
    justify-content: center;
  }

  /* карточка */
  .timeline-card {
    width: 100%;
    max-width: 420px; /* аккуратная ширина */
    margin: 0 auto;
    text-align: left;
  }
}
.venue-section {
  padding: 120px 20px;
  background: lab(90.6807% 3.42482 6.69339);
}

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

/* HEADER */
.venue-header {
  text-align: center;
  margin-bottom: 68px;
}

.venue-header h2 {
  font-family: "CormorantGaramond", Georgia, serif;
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 12px;
  color: lab(12.8288% 5.9375 3.9758);
  font-weight: normal;
}

.venue-header p {
  max-width: 500px;
  margin: 0 auto;
  font-family: "Montserrat", "Inter", sans-serif;
  color: lab(41.8321% 5.88313 3.9148);
  line-height: 1.6;
}

/* CONTENT */
.venue-content {
  display: grid;
  grid-template-columns: 1.4fr 1fr; /* фото больше */
  gap: 24px;
  align-items: stretch;
}

.venue-photo {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(43, 30, 28, 0.12);
  box-shadow: 0 10px 25px rgba(43, 30, 28, 0.05);
}

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



.venue-side {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* карта чуть ниже карточки */


/* CARD */
.venue-card {
  background: #fff;
  border-radius: 14px;
  padding: 34px;
  border: 1px solid #e6dbd2;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
}

.venue-card h3 {
  font-family: "CormorantGaramond", Georgia, serif;
  font-size: 1.4rem;
  margin-bottom: 20px;
  color: lab(12.8288% 5.9375 3.9758);
  font-weight: normal;
}

.venue-address {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.venue-address .icon {
  font-size: 18px;
}

.venue-address .label {
  font-weight: 600;
  color: lab(12.8288% 5.9375 3.9758);
  margin-bottom: 4px;
  font-family: "Montserrat", Georgia, serif;
}

.venue-address .text {
  font-size: 0.95rem;
  color: #7f756e;
}

/* MAP */
.venue-map {
  flex: 1;
  min-height: 260px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(43, 30, 28, 0.12);
}

.venue-address {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.venue-address .icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-top: 3px;
}

.venue-address .icon img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

/* 📱 MOBILE */
@media (max-width: 768px) {
  .venue-section {
    padding: 70px 16px;
  }

  .venue-content {
    grid-template-columns: 1fr;
  }

  .venue-photo {
    height: 260px;
  }

  .venue-map {
    height: 260px;
  }

  .venue-card {
    padding: 22px;
  }
}

.info-section {
  padding: 110px 20px;
  background: #fbf8f5;
}

.info-container {
  margin: 0 auto;
}

/* HEADER */
.info-header {
  text-align: center;
  margin-bottom: 60px;
}

.info-header h2 {
  font-family: "CormorantGaramond", Georgia, serif;
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 12px;
  color: lab(12.8288% 5.9375 3.9758);
  font-weight: normal;
}

.info-header p {
  max-width: 500px;
  margin: 0 auto;
  font-family: "Montserrat", "Inter", sans-serif;
  color: lab(41.8321% 5.88313 3.9148);
  line-height: 1.6;
}

/* CARD */
.info-content {
  display: grid;
  gap: 20px;
  justify-content: center;
}

.info-content.is-even {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 1100px; /* было 980px */
  margin: 0 auto;
}

.info-content.is-odd {
  grid-template-columns: 1fr;
  max-width: 560px; /* было 480px */
  margin: 0 auto;
}

.info-card {
  width: 100%;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: #fff;
  border: 1px solid rgba(43, 30, 28, 0.12);
  border-radius: 14px;
  padding: 28px;
  box-shadow: 0 10px 25px rgba(43, 30, 28, 0.05);
  box-sizing: border-box;
}

.info-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #e7efe6;

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

  flex-shrink: 0;
}

.info-icon img {
  width: 22px;
  height: 22px;
  display: block;

  filter: brightness(0) saturate(100%) invert(45%) sepia(11%) saturate(2293%)
    hue-rotate(74deg) brightness(93%) contrast(83%);
}

.info-text h3 {
  font-family: "CormorantGaramond", Georgia, serif;
  font-size: 1.2rem;
  margin-bottom: 6px;
  color: #3a312c;
  font-weight: normal;
}

.info-text p {
  font-family: "Montserrat", "Inter", sans-serif;
  font-size: 0.95rem;
  color: #7f756e;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .info-content,
  .info-content.is-even,
  .info-content.is-odd {
    grid-template-columns: 1fr;
    max-width: 100%;
  }

  .info-card {
    padding: 22px;
    gap: 14px;
  }
}

/* 📱 MOBILE */
@media (max-width: 768px) {
  .info-section {
    padding: 80px 16px;
  }

  .info-card {
    padding: 22px;
    gap: 14px;
  }

  .info-icon {
    width: 38px;
    height: 38px;
  }

  .info-icon img {
    width: 18px;
    height: 18px;
  }
}

.dresscode-section {
  padding: 110px 20px;
  background: #efe2d8;
}

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

.dresscode-header {
  text-align: center;
  margin-bottom: 60px;
}

.dresscode-header h2 {
  margin-bottom: 12px;
  font-family: "CormorantGaramond", Georgia, serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: normal;
  color: #2b1e1c;
}

.dresscode-header p {
  max-width: 500px;
  margin: 0 auto;
  font-family: "Montserrat", "Inter", sans-serif;
  color: #6e5f5d;
  line-height: 1.6;
}

.dresscode-content {
  display: flex;
  justify-content: center;
}

.dresscode-card {
  width: 100%;
  max-width: 780px; /* было ~710 → стало шире */

  padding: 38px 32px 42px;
  text-align: center;

  background: #ffffff;

  border: 1.5px solid rgba(43, 30, 28, 0.15); /* обводка чуть заметнее */
  border-radius: 14px;

  box-shadow: 0 10px 25px rgba(43, 30, 28, 0.05);
}

.dresscode-card h3 {
  margin-bottom: 12px;
  font-family: "CormorantGaramond", Georgia, serif;
  font-size: 1.5rem;
  font-weight: normal;
  color: #2b1e1c;
}

.dresscode-text {
  max-width: 500px;
  margin: 0 auto 28px;
  font-family: "Montserrat", "Inter", sans-serif;
  font-size: 0.875rem;
  line-height: 1.6;
  color: #6e5f5d;
}

.dresscode-palette {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}

.dresscode-color {
  width: 78px;
  height: 78px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;

  border: 1px solid rgba(43, 30, 28, 0.12); /* мягкая обводка */

  box-shadow:
    0 4px 10px rgba(43, 30, 28, 0.08),
    /* лёгкая тень */ 0 0 0 4px rgba(251, 248, 245, 0.8); /* отрыв от фона (#fbf8f5) */
}

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

@media (max-width: 768px) {
  .dresscode-section {
    padding: 82px 16px;
  }

  .dresscode-header {
    margin-bottom: 42px;
  }

  .dresscode-card {
    padding: 28px 18px 32px;
  }

  .dresscode-card h3 {
    font-size: 1.5rem;
  }

  .dresscode-text {
    font-size: 0.95rem;
    margin-bottom: 22px;
  }

  .dresscode-palette {
    gap: 16px;
  }

  .dresscode-color {
    width: 64px;
    height: 64px;
  }
}

.rsvp-section {
  padding: 110px 20px;
  background: #fbf8f5;
}

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

.rsvp-header {
  text-align: center;
  margin-bottom: 52px;
}

.rsvp-header h2 {
  margin-bottom: 12px;
  font-family: "CormorantGaramond", Georgia, serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: normal;
  color: #2b1e1c;
}

.rsvp-header p {
  max-width: 500px;
  margin: 0 auto;
  font-family: "Montserrat", "Inter", sans-serif;
  color: #6e5f5d;
  line-height: 1.6;
}

.rsvp-content {
  display: flex;
  justify-content: center;
}

.rsvp-card {
  width: 100%;
  max-width: 620px;
  padding: 30px 28px;
  background: #ffffff;
  border: 1.5px solid rgba(43, 30, 28, 0.12);
  border-radius: 14px;
  box-shadow: 0 10px 25px rgba(43, 30, 28, 0.05);
}

.form-group {
  margin-bottom: 20px;
}

.form-group-small input {
  max-width: 80px;
}

.rsvp-card label,
.rsvp-card .form-label {
  display: block;
  margin-bottom: 8px;
  font-family: "Montserrat", "Inter", sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  color: #2b1e1c;
}

.rsvp-card label span {
  font-weight: normal;
  font-size: 1rem;
}

.rsvp-card input[type="text"],
.rsvp-card input[type="number"],
.rsvp-card textarea {
  width: 100%;
  padding: 13px 14px;
  font-family: "Montserrat", "Inter", sans-serif;
  font-size: 0.875rem;
  color: #2b1e1c;
  background: #fbf8f5;
  border: 1px solid rgba(43, 30, 28, 0.12);
  border-radius: 8px;
  outline: none;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.rsvp-card input::placeholder,
.rsvp-card textarea::placeholder {
  color: #9a8b86;
}

.rsvp-card input:focus,
.rsvp-card textarea:focus {
  border-color: rgba(70, 134, 70, 0.6);
  box-shadow: 0 0 0 3px rgba(70, 134, 70, 0.12);
}

.rsvp-card textarea {
  resize: vertical;
  min-height: 96px;
}

.radio-group {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.radio-option,
.checkbox-option {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 0;
  font-family: "Montserrat", "Inter", sans-serif;
  font-size: 0.95rem;
  font-weight: 400;
  color: #2b1e1c;
  cursor: pointer;
}

.radio-option input,
.checkbox-option input {
  margin: 0;
  accent-color: #4e8f4d;
}

.checkbox-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 24px;
}

.checkbox-option-full {
  grid-column: 1 / -1;
}

.rsvp-button {
  width: 100%;
  min-height: 48px;
  border: none;
  border-radius: 8px;
  background: #4e8f4d;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: "Montserrat", "Inter", sans-serif;
  font-size: 0.96rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 10px 20px rgba(78, 143, 77, 0.18);
  transition:
    transform 0.2s ease,
    opacity 0.2s ease;
}

.rsvp-button:hover {
  opacity: 0.95;
}

.rsvp-button:active {
  transform: translateY(1px);
}

.rsvp-button-icon {
  font-size: 0.95rem;
  line-height: 1;
}

@media (max-width: 768px) {
  .rsvp-section {
    padding: 82px 16px;
  }

  .rsvp-header {
    margin-bottom: 40px;
  }

  .rsvp-card {
    padding: 22px 16px;
  }

  .radio-group {
    flex-direction: column;
    gap: 12px;
  }

  .checkbox-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .checkbox-option-full {
    grid-column: auto;
  }

  .form-group-small {
    max-width: 100%;
  }
}

.rsvp-button-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.rsvp-button-icon img {
  width: 16px;
  height: 16px;
  display: block;

  /* чтобы иконка была белой как текст */
  filter: brightness(0) invert(1);
}

.rsvp-result {
  width: 100%;
  max-width: 620px;
  padding: 40px 28px 42px;
  background: #ffffff;
  border: 1.5px solid rgba(43, 30, 28, 0.12);
  border-radius: 14px;
  box-shadow: 0 10px 25px rgba(43, 30, 28, 0.05);
  text-align: center;
}

.rsvp-result-badge {
  width: 52px;
  height: 52px;
  margin: 0 auto 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #4e8f4d;
}

.rsvp-result-badge img {
  width: 22px;
  height: 22px;
  display: block;
  filter: brightness(0) invert(1);
}

.rsvp-result h3 {
  margin-bottom: 12px;
  font-family: "CormorantGaramond", Georgia, serif;
  font-size: 2rem;
  font-weight: normal;
  color: #2b1e1c;
}

.rsvp-result p {
  max-width: 500px;
  margin: 0 auto;
  font-family: "Montserrat", "Inter", sans-serif;
  color: #6e5f5d;
  line-height: 1.6;
}

.rsvp-result.is-yes .rsvp-result-badge {
  background: #4e8f4d;
}

.rsvp-result.is-maybe .rsvp-result-badge {
  background: #b08b52;
}

.rsvp-result.is-no .rsvp-result-badge {
  background: #9b5e5e;
}

@media (max-width: 768px) {
  .rsvp-result {
    padding: 30px 18px 32px;
  }

  .rsvp-result h3 {
    font-size: 1.75rem;
  }
}

/* Базовая анимация появления */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.45s ease,
    transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-28px);
  transition:
    opacity 0.45s ease,
    transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

.reveal-left.is-visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(28px);
  transition:
    opacity 0.45s ease,
    transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

.reveal-right.is-visible {
  opacity: 1;
  transform: translateX(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal,
  .reveal-left,
  .reveal-right {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

.hero-animate {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.6s ease,
    transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.hero-animate.is-visible {
  opacity: 1;
  transform: translateY(0);
}
