:root {
  --bg-cream: #f9f6ef;
  --card-bg: rgba(255, 252, 246, 0.94);
  --sage-50: #eef3e4;
  --sage-100: #dfe6cc;
  --sage-300: #b8c19f;
  --sage-500: #8e9c77;
  --sage-700: #66755b;
  --text: #4a443a;
  --muted: #756f64;
  --gold-300: #e3c45e;
  --gold-400: #d2ad47;
  --border: rgba(208, 202, 189, 0.78);
  --shadow: 0 28px 80px rgba(93, 99, 76, 0.14);
  --font-title: 'Great Vibes', cursive;
  --font-body: 'Montserrat', Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  background:
    radial-gradient(circle at top left, rgba(227, 196, 94, 0.18), transparent 28rem),
    radial-gradient(circle at bottom right, rgba(184, 193, 159, 0.22), transparent 34rem),
    linear-gradient(135deg, #f7f4ea 0%, #edf2e2 50%, #faf7f0 100%);
  color: var(--text);
  font-family: var(--font-body);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 252, 246, 0.76), rgba(255, 252, 246, 0.76)),
    url("assets/marguerite-macrame-720.webp");
  background-size: cover;
  background-position: center;
  opacity: 0.08;
  filter: blur(2px) saturate(0.92);
}

.page {
  position: relative;
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 42px 20px;
}

.card {
  min-width: 0;
  width: min(1100px, 100%);
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 34px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
  padding: 28px;
}

.brand {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 26px;
}

.brand__identity {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand__logo {
  width: 88px;
  height: 88px;
  object-fit: contain;
  flex: 0 0 auto;
}

.brand__name,
.brand__tagline,
.brand__label,
.eyebrow,
.gift__title,
.button {
  font-family: var(--font-body);
}

.brand__name {
  margin: 0;
  font-family: var(--font-title);
  font-size: clamp(1.7rem, 3.4vw, 2.6rem);
  line-height: 0.9;
  font-weight: 400;
  color: var(--sage-500);
}

.brand__tagline {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 0.90rem;
  line-height: 1.5;
}

.brand__label {
  margin: 0;
  padding: 11px 16px;
  border-radius: 999px;
  background: var(--sage-50);
  color: var(--sage-700);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
}

.layout {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(360px, 0.9fr) minmax(0, 1.1fr);
  gap: 32px;
  align-items: center;
}

.visual {
  position: relative;
  min-width: 0;
  min-height: 610px;
  overflow: hidden;
  border-radius: 28px;
  background: var(--sage-100);
  box-shadow: 0 16px 36px rgba(96, 108, 86, 0.12);
}

.carousel {
  isolation: isolate;
}

.carousel__track,
.carousel__slide {
  position: absolute;
  inset: 0;
}

.carousel__slide {
  margin: 0;
  opacity: 0;
  pointer-events: none;
  transform: scale(1.015);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.carousel__slide.is-active {
  opacity: 1;
  pointer-events: auto;
  transform: scale(1);
}

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

.carousel__image--daisies {
  object-position: center;
}

.carousel__image--bracelet {
  object-position: 50% 55%;
}

.carousel__control,
.carousel__dot {
  border: 0;
  font: inherit;
  cursor: pointer;
}

.carousel__control {
  position: absolute;
  top: 50%;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: rgba(255, 252, 246, 0.84);
  color: var(--sage-700);
  box-shadow: 0 12px 26px rgba(54, 61, 44, 0.18);
  transform: translateY(-50%);
  transition: background 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.carousel__control:hover,
.carousel__control:focus-visible {
  background: #fffdf7;
  box-shadow: 0 16px 30px rgba(54, 61, 44, 0.24);
  transform: translateY(-50%) scale(1.05);
}

.carousel__control span {
  display: block;
  margin-top: -3px;
  font-size: 2rem;
  line-height: 1;
}

.carousel__control--prev {
  left: 18px;
}

.carousel__control--next {
  right: 18px;
}

.carousel__dots {
  position: absolute;
  top: 22px;
  right: 24px;
  z-index: 4;
  display: flex;
  gap: 8px;
}

.carousel__dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border-radius: 999px;
  background: rgba(255, 252, 246, 0.62);
  box-shadow: 0 0 0 1px rgba(255, 252, 246, 0.56);
  transition: width 0.18s ease, background 0.18s ease;
}

.carousel__dot.is-active {
  width: 28px;
  background: #fffdf7;
}

.content {
  min-width: 0;
  padding: 10px 8px 10px 0;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--sage-700);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  max-width: 100%;
  font-family: var(--font-title);
  font-size: clamp(4rem, 8vw, 7rem);
  line-height: 0.92;
  font-weight: 400;
  color: var(--sage-500);
}

.intro {
  margin: 20px 0 0;
  color: var(--sage-700);
  font-size: 1.14rem;
  font-weight: 500;
  line-height: 1.7;
}

.text {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.85;
  max-width: 62ch;
}

.gift {
  margin-top: 24px;
  max-width: 580px;
  padding: 18px 20px;
  border: 1px solid rgba(227, 196, 94, 0.65);
  border-radius: 20px;
  background: linear-gradient(180deg, #f8efcf 0%, #f4e7b7 100%);
}

.gift__title {
  margin: 0 0 6px;
  color: var(--sage-700);
  font-size: 0.80rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.gift__text {
  margin: 0;
  color: #685f54;
  font-size: 0.98rem;
  line-height: 1.75;
}

.gift__code {
  width: fit-content;
  margin: 10px auto 0;
  padding: 4px 14px;
  border-radius: 999px;
  background: rgba(255, 252, 246, 0.72);
  color: var(--sage-700);
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.actions {
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 16px 24px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--gold-300) 0%, var(--gold-400) 100%);
  color: #fff;
  font-size: 0.94rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 14px 24px rgba(210, 173, 71, 0.26);
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 18px 28px rgba(210, 173, 71, 0.30);
  filter: brightness(1.02);
}

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

  .visual {
    min-height: 430px;
  }

  .content {
    padding-top: 0;
  }
}

@media (max-width: 760px) {
  .page {
    display: block;
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
    padding: 24px 14px;
  }

  .card {
    width: 100%;
    max-width: 100%;
    padding: 20px;
    border-radius: 26px;
  }

  .layout,
  .visual,
  .content {
    width: 100%;
    max-width: 100%;
  }

  .brand {
    flex-direction: column;
    align-items: flex-start;
  }

  .brand__logo {
    width: 82px;
    height: 82px;
  }

  .content {
    text-align: center;
    padding-right: 0;
  }

  .text,
  .gift {
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 520px) {
  .card {
    padding: 18px;
  }

  .brand {
    align-items: center;
    width: 100%;
  }

  .brand__identity {
    max-width: 100%;
    flex-direction: column;
    text-align: center;
  }

  .brand__text,
  .brand__tagline {
    max-width: 100%;
  }

  .brand__tagline {
    margin-left: auto;
    margin-right: auto;
    max-width: 18rem;
  }

  .brand__label {
    font-size: 0.66rem;
    letter-spacing: 0.11em;
  }

  .visual {
    min-height: 300px;
    border-radius: 22px;
  }

  .carousel__control {
    width: 38px;
    height: 38px;
  }

  .carousel__control--prev {
    left: 12px;
  }

  .carousel__control--next {
    right: 12px;
  }

  .carousel__dots {
    top: 16px;
    right: 18px;
  }

  h1 {
    font-size: clamp(2.45rem, 11vw, 3.25rem);
  }

  .intro {
    font-size: 1.05rem;
  }

  .text,
  .gift__text,
  .brand__tagline {
    font-size: 0.95rem;
  }

  .button {
    width: 100%;
    padding-inline: 18px;
  }
}
