:root {
  color-scheme: light;
  --ink: #382936;
  --muted: #756875;
  --pink: #e85d89;
  --pink-dark: #c83d6d;
  --rose-pale: #fff1f4;
  --paper: #fffdfc;
  --line: #f0e2e8;
  --shadow: 0 24px 70px rgba(89, 39, 67, .11);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #fffdfd;
  color: var(--ink);
  font-family: "Segoe UI", system-ui, sans-serif;
}

button,
input,
textarea {
  font: inherit;
}

a {
  color: inherit;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(232, 93, 137, .45);
  outline-offset: 3px;
}

.site-header {
  position: relative;
  z-index: 2;
  display: flex;
  width: min(1160px, calc(100% - 48px));
  height: 82px;
  margin: auto;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--ink);
  font-size: 1.15rem;
  font-weight: 750;
  letter-spacing: -.04em;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 35px;
  height: 35px;
  place-items: center;
  border-radius: 12px;
  background: var(--rose-pale);
  color: var(--pink);
}

.brand-light {
  color: var(--pink-dark);
}

.site-header nav {
  display: flex;
  gap: 32px;
  color: var(--muted);
  font-size: .92rem;
}

.site-header nav a {
  text-decoration: none;
}

.site-header nav a:hover {
  color: var(--pink-dark);
}

.hero {
  position: relative;
  display: grid;
  min-height: 570px;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  gap: 24px;
  overflow: hidden;
  padding: 46px max(24px, calc((100% - 1080px) / 2)) 68px;
  background:
    radial-gradient(ellipse at 78% 45%, rgba(255, 215, 227, .72), transparent 36%),
    linear-gradient(120deg, #fff8f8, #fffdfd 58%);
}

.hero-copy {
  position: relative;
  z-index: 1;
  max-width: 610px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--pink-dark);
  font-size: .72rem;
  font-weight: 750;
  letter-spacing: .19em;
}

.hero h1 {
  max-width: 670px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3rem, 6.2vw, 5.3rem);
  font-weight: 500;
  letter-spacing: -.055em;
  line-height: 1.04;
}

.hero h1 span {
  color: var(--pink-dark);
}

.hero-description {
  max-width: 520px;
  margin: 22px 0 27px;
  color: var(--muted);
  font-size: 1.07rem;
  line-height: 1.75;
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 15px;
  border: 0;
  border-radius: 999px;
  padding: 0 23px;
  cursor: pointer;
  font-weight: 700;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button--primary {
  background: linear-gradient(135deg, #ed7198, #d94d7a);
  box-shadow: 0 12px 27px rgba(205, 59, 107, .22);
  color: white;
}

.button--primary:hover {
  box-shadow: 0 16px 34px rgba(205, 59, 107, .3);
}

.hero-note {
  margin: 14px 0 0;
  color: #867782;
  font-size: .82rem;
}

.hero-art {
  position: relative;
  display: grid;
  min-height: 400px;
  place-items: end center;
}

.hero-art img {
  position: relative;
  z-index: 1;
  width: min(100%, 390px);
  max-height: 430px;
  object-fit: contain;
  filter: drop-shadow(0 26px 26px rgba(122, 59, 83, .16));
}

.hero-glow {
  position: absolute;
  top: 16%;
  left: 50%;
  width: min(34vw, 390px);
  aspect-ratio: 1;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 184, 207, .58), transparent 69%);
}

.floating-heart {
  position: absolute;
  z-index: 2;
  color: #e8789c;
  text-shadow: 0 5px 15px rgba(216, 91, 135, .18);
}

.floating-heart--one {
  top: 17%;
  left: 12%;
  font-size: 1.7rem;
}

.floating-heart--two {
  top: 30%;
  right: 7%;
  font-size: 2rem;
}

.floating-heart--three {
  top: 9%;
  right: 26%;
  color: #bc86a0;
}

.section-wrap {
  width: min(1080px, calc(100% - 48px));
  margin: 0 auto;
}

.catalog-section {
  padding-top: 82px;
  padding-bottom: 92px;
  scroll-margin-top: 24px;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 30px;
}

.section-heading h2,
.steps-section h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.1rem, 4vw, 3.2rem);
  font-weight: 500;
  letter-spacing: -.04em;
}

.section-intro {
  max-width: 290px;
  margin: 0 0 5px;
  color: var(--muted);
  line-height: 1.6;
}

.category-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 25px;
}

.category-filter {
  min-height: 40px;
  border: 1px solid #eadce2;
  border-radius: 999px;
  padding: 0 16px;
  background: white;
  color: #705d68;
  cursor: pointer;
  font-size: .86rem;
  font-weight: 650;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}

.category-filter:hover {
  border-color: #e6a5bb;
  color: var(--pink-dark);
}

.category-filter[aria-pressed="true"] {
  border-color: var(--pink-dark);
  background: var(--pink-dark);
  color: white;
}

.design-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 24px;
}

.design-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: white;
  box-shadow: 0 14px 38px rgba(74, 39, 58, .07);
  transition: transform .25s ease, box-shadow .25s ease;
}

.design-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.design-card__image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1.58 / 1;
  background: var(--rose-pale);
}

.design-card__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 27%;
}

.design-card__placeholder-image {
  display: grid;
  aspect-ratio: 1.58 / 1;
  place-items: center;
  background:
    radial-gradient(circle at 50% 50%, rgba(255,255,255,.9), transparent 34%),
    linear-gradient(135deg, #f8dfe8, #f4edf1);
  color: #c86688;
}

.design-card[data-category="baby-showers"] .design-card__placeholder-image {
  background: linear-gradient(135deg, #e5f1ed, #fff0f3);
  color: #719f93;
}

.design-card[data-category="matrimonios-eventos"] .design-card__placeholder-image {
  background: linear-gradient(135deg, #f1e9dd, #f7eef0);
  color: #a28762;
}

.design-card__placeholder-image span {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 4.2rem;
}

.design-badge {
  position: absolute;
  top: 15px;
  left: 15px;
  border: 1px solid rgba(255,255,255,.72);
  border-radius: 999px;
  padding: 7px 11px;
  background: rgba(255,255,255,.9);
  color: #a43860;
  font-size: .73rem;
  font-weight: 750;
}

.design-card__body {
  padding: 22px 23px 24px;
}

.design-category {
  margin: 0 0 8px;
  color: var(--pink-dark);
  font-size: .73rem;
  font-weight: 750;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.design-card h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.65rem;
  font-weight: 600;
}

.design-description {
  min-height: 52px;
  margin: 10px 0 19px;
  color: var(--muted);
  font-size: .94rem;
  line-height: 1.6;
}

.design-price {
  margin: 0 0 15px;
  color: var(--pink-dark);
  font-size: 1rem;
  font-weight: 800;
}

.design-coming-soon-copy {
  margin: -7px 0 0;
  color: #9a7a87;
  font-size: .82rem;
  line-height: 1.55;
}

.design-card .button {
  width: 100%;
}

.button:disabled {
  opacity: .65;
  cursor: wait;
}

.steps-section {
  padding: 75px 0 86px;
  background: #fff6f8;
  text-align: center;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 37px;
  text-align: left;
}

.step-card {
  min-height: 185px;
  border: 1px solid #f4e3e9;
  border-radius: 18px;
  padding: 23px;
  background: rgba(255,255,255,.8);
}

.step-number {
  color: var(--pink);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .12em;
}

.step-card h3 {
  margin: 18px 0 8px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.25rem;
}

.step-card p {
  margin: 0;
  color: var(--muted);
  font-size: .91rem;
  line-height: 1.6;
}

.personalizer-section {
  padding-top: 84px;
  padding-bottom: 96px;
  scroll-margin-top: 25px;
}

.selected-design-name {
  margin: 0 0 5px;
  color: var(--muted);
}

.personalizer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, .9fr);
  gap: 45px;
  align-items: start;
}

.personalization-form {
  display: flex;
  flex-direction: column;
}

.personalization-form label {
  margin: 16px 0 7px;
  font-size: .9rem;
  font-weight: 700;
}

.personalization-form label:first-child {
  margin-top: 0;
}

.personalization-form input,
.personalization-form textarea {
  width: 100%;
  border: 1px solid #e8dce2;
  border-radius: 11px;
  padding: 12px 13px;
  background: white;
  color: var(--ink);
}

.personalization-form textarea {
  min-height: 130px;
  resize: vertical;
  line-height: 1.5;
}

.field-hint,
.form-note {
  margin-top: 6px;
  color: var(--muted);
  font-size: .78rem;
  line-height: 1.5;
}

.form-submit {
  width: 100%;
  margin-top: 22px;
}

.form-note {
  text-align: center;
}

.live-preview {
  position: sticky;
  top: 20px;
  border: 1px solid var(--line);
  border-radius: 19px;
  padding: 17px;
  background: #fff8fa;
}

.preview-topline {
  display: flex;
  justify-content: space-between;
  margin: 0 4px 13px;
  color: #a25774;
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .14em;
}

.preview-paper {
  min-height: 315px;
  border: 1px solid #f0dfe4;
  border-radius: 13px;
  padding: 30px clamp(20px, 4vw, 42px);
  background:
    radial-gradient(ellipse at top left, rgba(255, 219, 227, .45), transparent 40%),
    linear-gradient(145deg, #fffefa, #fff5f3);
  box-shadow: 0 12px 28px rgba(88, 48, 62, .08);
  text-align: center;
}

.preview-eyebrow {
  margin: 0 0 9px;
  color: #a36b7d;
  font-size: .67rem;
  font-weight: 750;
  letter-spacing: .18em;
}

.preview-paper h3 {
  margin: 0 0 15px;
  color: #63384a;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
  overflow-wrap: anywhere;
}

.preview-saludo {
  margin: 0 0 13px;
  color: #845a6b;
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
}

.preview-message {
  min-height: 76px;
  margin: 0;
  color: #59464f;
  font-size: .92rem;
  line-height: 1.65;
  overflow-wrap: anywhere;
  white-space: pre-wrap;
}

.preview-firma {
  margin: 17px 0 0;
  color: #704356;
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
  overflow-wrap: anywhere;
}

.preview-date {
  margin: 14px 0 0;
  color: #9a7a87;
  font-size: .78rem;
}

.preview-caption {
  margin: 13px 3px 0;
  color: var(--muted);
  font-size: .8rem;
  line-height: 1.5;
  text-align: center;
}

.site-footer {
  display: flex;
  width: min(1080px, calc(100% - 48px));
  min-height: 90px;
  margin: auto;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .86rem;
}

.site-footer p {
  margin: 0;
}

[hidden] {
  display: none !important;
}

@media (max-width: 760px) {
  .site-header {
    width: calc(100% - 32px);
    height: 70px;
  }

  .site-header nav {
    gap: 15px;
    font-size: .82rem;
  }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 0;
    padding: 58px 25px 28px;
  }

  .hero h1 {
    font-size: clamp(2.75rem, 11vw, 4.3rem);
  }

  .hero-art {
    min-height: 290px;
    margin-top: 10px;
  }

  .hero-art img {
    width: min(78vw, 300px);
    max-height: 315px;
  }

  .hero-glow {
    width: min(76vw, 330px);
  }

  .section-wrap,
  .site-footer {
    width: calc(100% - 36px);
  }

  .catalog-section {
    padding-top: 63px;
    padding-bottom: 68px;
  }

  .section-heading {
    display: block;
  }

  .section-intro {
    margin-top: 12px;
  }

  .steps-section {
    padding: 62px 0;
  }

  .steps-grid {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 27px;
  }

  .step-card {
    min-height: auto;
  }

  .step-card h3 {
    margin-top: 11px;
  }

  .personalizer-section {
    padding-top: 65px;
    padding-bottom: 70px;
  }

  .personalizer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .live-preview {
    position: static;
  }

  .site-footer {
    min-height: 84px;
    gap: 10px;
  }

  .site-footer .brand {
    font-size: 1rem;
  }

  .site-footer p {
    max-width: 145px;
    text-align: right;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
