:root {
  --bg: #fff7f4;
  --bg-2: #fde8ec;
  --ink: #32141d;
  --muted: rgba(50, 20, 29, .70);
  --muted-2: rgba(50, 20, 29, .52);
  --rose: #d94d72;
  --rose-2: #ff8fab;
  --rose-3: #7f1d3a;
  --cream: #fffaf2;
  --sage: #8aa88a;
  --gold: #d8a95f;
  --line: rgba(127, 29, 58, .15);
  --glass: rgba(255, 255, 255, .70);
  --shadow: 0 28px 80px rgba(127, 29, 58, .14);
  --radius: 30px;
  --max: 1160px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; background: var(--bg); }

body {
  margin: 0;
  min-height: 100vh;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 8%, rgba(255, 143, 171, .30), transparent 34rem),
    radial-gradient(circle at 88% 10%, rgba(138, 168, 138, .20), transparent 30rem),
    radial-gradient(circle at 50% 108%, rgba(216, 169, 95, .15), transparent 36rem),
    linear-gradient(145deg, #fff7f4 0%, #fde8ec 48%, #fffaf2 100%);
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -3;
  opacity: .22;
  background:
    linear-gradient(90deg, rgba(127, 29, 58, .07) 1px, transparent 1px),
    linear-gradient(180deg, rgba(127, 29, 58, .05) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,.70), transparent 80%);
  pointer-events: none;
}

a { color: inherit; }
button, input, textarea, select { font: inherit; }

.page { position: relative; min-height: 100vh; overflow-x: clip; isolation: isolate; }

.page::before,
.page::after {
  content: "";
  position: fixed;
  z-index: -2;
  width: 42rem;
  height: 42rem;
  border-radius: 999px;
  filter: blur(18px);
  pointer-events: none;
}

.page::before {
  inset: -18rem auto auto -16rem;
  background: radial-gradient(circle, rgba(255, 143, 171, .26), transparent 68%);
  animation: roseFloat 12s ease-in-out infinite alternate;
}

.page::after {
  inset: auto -18rem -22rem auto;
  background: radial-gradient(circle, rgba(138, 168, 138, .20), transparent 70%);
  animation: roseFloatReverse 14s ease-in-out infinite alternate;
}

@keyframes roseFloat {
  from { transform: translate3d(0,0,0) scale(1); }
  to { transform: translate3d(28px, 22px, 0) scale(1.06); }
}

@keyframes roseFloatReverse {
  from { transform: translate3d(0,0,0) scale(1.04); }
  to { transform: translate3d(-26px, -20px, 0) scale(1); }
}

.container {
  width: min(100% - 36px, var(--max));
  margin-inline: auto;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 24px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  color: var(--ink);
  text-decoration: none;
}

.brand-mark {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 17px;
  color: #fffaf2;
  background:
    radial-gradient(circle at 24% 18%, rgba(255,255,255,.55), transparent 36%),
    linear-gradient(135deg, var(--rose-2), var(--rose) 52%, var(--rose-3));
  box-shadow: 0 18px 44px rgba(217, 77, 114, .23), inset 0 0 0 1px rgba(255,255,255,.38);
  font-weight: 950;
  letter-spacing: -.07em;
}

.brand-name {
  display: block;
  font-size: 18px;
  line-height: .96;
  font-weight: 950;
  letter-spacing: -.045em;
}

.brand-name small {
  display: block;
  margin-top: 5px;
  color: var(--muted-2);
  font-size: 12px;
  font-weight: 750;
  letter-spacing: .01em;
}

.nav {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px;
  border: 1px solid rgba(127, 29, 58, .12);
  border-radius: 999px;
  background: rgba(255,255,255,.52);
  backdrop-filter: blur(18px);
  box-shadow: 0 18px 50px rgba(127, 29, 58, .08);
}

.nav a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 13px;
  border-radius: 999px;
  color: rgba(50, 20, 29, .66);
  text-decoration: none;
  font-size: 14px;
  font-weight: 800;
  transition: background .22s ease, color .22s ease, transform .22s ease;
}

.nav a:hover { color: var(--rose-3); background: rgba(255,143,171,.16); transform: translateY(-1px); }

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(330px, .92fr);
  align-items: center;
  gap: 44px;
  padding: 54px 0 72px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: -30px -18px auto auto;
  width: 260px;
  height: 260px;
  border-radius: 34px;
  border: 1px solid rgba(127, 29, 58, .12);
  background:
    linear-gradient(90deg, rgba(127, 29, 58, .08) 1px, transparent 1px),
    linear-gradient(180deg, rgba(127, 29, 58, .06) 1px, transparent 1px);
  background-size: 22px 22px;
  opacity: .42;
  transform: rotate(8deg);
  pointer-events: none;
  animation: petalGrid 10s ease-in-out infinite alternate;
}

@keyframes petalGrid {
  from { transform: rotate(8deg) translateY(0); }
  to { transform: rotate(8deg) translateY(18px); }
}

.hero-copy { position: relative; z-index: 1; min-width: 0; animation: fadeUp .65s ease both; }

.kicker {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  max-width: 100%;
  margin: 0 0 18px;
  padding: 9px 14px;
  overflow: hidden;
  border: 1px solid rgba(217, 77, 114, .22);
  border-radius: 999px;
  color: var(--rose-3);
  background: rgba(255, 143, 171, .13);
  box-shadow: 0 14px 42px rgba(217, 77, 114, .10);
  font-size: 13px;
  font-weight: 850;
  letter-spacing: .05em;
  line-height: 1.2;
  text-transform: uppercase;
}

.kicker::before {
  content: "";
  flex: 0 0 auto;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--rose);
  box-shadow: 0 0 0 7px rgba(217, 77, 114, .12);
}

.kicker::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: linear-gradient(90deg, transparent, rgba(255, 143, 171, .38), transparent);
  opacity: 0;
  pointer-events: none;
  animation: petalPulse 3.4s ease-in-out infinite;
}

@keyframes petalPulse {
  0%,100% { opacity: 0; transform: translateX(-14px); }
  50% { opacity: .55; transform: translateX(14px); }
}

h1, h2, h3, p { overflow-wrap: break-word; }

h1 {
  margin: 0 0 18px;
  max-width: 860px;
  font-size: clamp(44px, 7vw, 82px);
  line-height: .92;
  letter-spacing: -.08em;
  background: linear-gradient(135deg, #32141d 0%, var(--rose-3) 34%, var(--rose) 62%, #d8a95f 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lead {
  margin: 0;
  max-width: 760px;
  color: var(--muted);
  font-size: clamp(18px, 2.1vw, 22px);
  line-height: 1.68;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }

.btn {
  position: relative;
  min-height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  overflow: hidden;
  padding: 0 24px;
  border-radius: 999px;
  font-weight: 900;
  text-decoration: none;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.btn-primary {
  border: 1px solid rgba(217, 77, 114, .22);
  background: radial-gradient(circle at 20% 0%, rgba(255,255,255,.72), transparent 32%), linear-gradient(135deg, var(--rose-2), var(--rose));
  color: #fffaf2;
  box-shadow: 0 20px 55px rgba(217, 77, 114, .20);
}

.btn-secondary {
  border: 1px solid rgba(127, 29, 58, .13);
  background: rgba(255,255,255,.58);
  color: var(--rose-3);
  backdrop-filter: blur(16px);
}

.btn:hover { transform: translateY(-2px); }

.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  transform: translateX(-120%);
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.48), transparent);
  transition: transform .58s ease;
  pointer-events: none;
}

.btn:hover::after { transform: translateX(120%); }

.flower-board {
  position: relative;
  z-index: 1;
  min-width: 0;
  padding: 24px;
  overflow: hidden;
  border: 1px solid rgba(127, 29, 58, .13);
  border-radius: 34px;
  background: radial-gradient(circle at 12% 8%, rgba(255,143,171,.20), transparent 32%), radial-gradient(circle at 100% 0%, rgba(138,168,138,.18), transparent 30%), rgba(255,255,255,.66);
  box-shadow: var(--shadow);
  backdrop-filter: blur(20px);
  animation: fadeUp .65s ease .08s both;
}

.flower-board::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--rose-2), var(--rose), var(--sage), transparent);
}

.flower-board::after {
  content: "❧";
  position: absolute;
  right: -16px;
  top: -32px;
  color: rgba(217,77,114,.10);
  font-size: 170px;
  line-height: 1;
  transform: rotate(-14deg);
  pointer-events: none;
}

.board-top { position: relative; z-index: 1; display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.board-top span { color:white; font-size: 26px; font-weight: 950; letter-spacing: -.07em; }
.board-top small { color: white; font-weight: 750; }

.petal-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.petal-grid span,
.petal-grid strong {
  min-width: 0;
  min-height: 48px;
  display: flex;
  align-items: center;
  padding: 12px 13px;
  border: 1px solid rgba(127, 29, 58, .10);
  border-radius: 16px;
  background: rgba(255,255,255,.55);
}

.petal-grid span { color: rgba(50,20,29,.62); }
.petal-grid strong { color: var(--rose-3); }

.flower-board p { position: relative; z-index: 1; margin: 18px 0 0; color: var(--muted); line-height: 1.7; }

.page-hero { padding: 54px 0 38px; }
.page-hero h1 { margin-bottom: 18px; }

.section { padding: 34px 0; }

.cards-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.cards-grid:has(> :nth-child(4):last-child),
.cards-grid--four { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.flower-card,
.content-card {
  position: relative;
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(127, 29, 58, .12);
  border-radius: var(--radius);
  background: radial-gradient(circle at 12% 8%, rgba(255, 143, 171, .14), transparent 28%), rgba(255,255,255,.66);
  box-shadow: 0 20px 70px rgba(127, 29, 58, .11);
  backdrop-filter: blur(18px);
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
  animation: fadeUp .65s ease both;
}

.flower-card::before,
.content-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  z-index: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--rose-2), var(--rose), var(--sage), transparent);
  opacity: .78;
  pointer-events: none;
}

.flower-card::after,
.content-card::after {
  content: "";
  position: absolute;
  inset: auto -90px -120px auto;
  width: 220px;
  height: 220px;
  z-index: 0;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(255, 143, 171, .16), transparent 70%);
  pointer-events: none;
}

.flower-card > *, .content-card > * { position: relative; z-index: 1; }
.flower-card:hover { transform: translateY(-5px); border-color: rgba(217, 77, 114, .26); box-shadow: 0 28px 90px rgba(217, 77, 114, .14); }

.flower-card { padding: 24px; }
.icon { width: 52px; height: 52px; display: grid; place-items: center; margin-bottom: 18px; border-radius: 18px; font-size: 24px; box-shadow: inset 0 0 0 1px rgba(217,77,114,.16), 0 14px 38px rgba(217,77,114,.10); background: radial-gradient(circle at 30% 20%, rgba(255,255,255,.70), transparent 42%), linear-gradient(135deg, rgba(255,143,171,.25), rgba(138,168,138,.14)); }
.flower-card h3 { margin: 0 0 10px; color: var(--ink); font-size: 23px; line-height: 1.08; letter-spacing: -.04em; }
.flower-card p { margin: 0; color: var(--muted); line-height: 1.72; }

.content-card { display: grid; grid-template-columns: .82fr 1.18fr; gap: 30px; padding: clamp(26px, 5vw, 46px); }
.content-card--soft { background: radial-gradient(circle at 14% 12%, rgba(138,168,138,.16), transparent 30%), radial-gradient(circle at 100% 0%, rgba(255,143,171,.15), transparent 28%), rgba(255,255,255,.70); }
.side-title, .rich-text { min-width: 0; }
.side-title h2 { margin: 0; color: var(--ink); font-size: clamp(30px, 4vw, 48px); line-height: 1.05; letter-spacing: -.055em; }
.rich-text p { margin: 0; color: var(--muted); line-height: 1.82; font-size: 17px; }
.rich-text p + p { margin-top: 16px; }
.text-link { color: var(--rose-3); text-decoration-color: rgba(217,77,114,.35); text-underline-offset: 4px; font-weight: 850; transition: color .18s ease, text-decoration-color .18s ease; }
.text-link:hover { color: var(--rose); text-decoration-color: rgba(217,77,114,.74); }

.footer { padding: 44px 0 34px; color: var(--muted-2); font-size: 14px; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 22px; flex-wrap: wrap; border-top: 1px solid rgba(127,29,58,.12); padding-top: 22px; }
.footer-contact { appearance: none; display: inline-flex; align-items: center; min-height: 40px; padding: 0 15px; border: 1px solid rgba(127,29,58,.13); border-radius: 999px; background: rgba(255,255,255,.56); color: rgba(50,20,29,.62); font: inherit; font-weight: 800; cursor: pointer; }
.footer-contact:hover { color: var(--rose-3); border-color: rgba(217,77,114,.28); background: rgba(255,143,171,.14); }

.error-body { min-height: 100vh; display: grid; place-items: center; padding: 24px; }
.error-card { width: min(100%, 680px); padding: clamp(30px, 6vw, 56px); border: 1px solid rgba(127,29,58,.12); border-radius: 34px; background: rgba(255,255,255,.70); box-shadow: var(--shadow); text-align: center; backdrop-filter: blur(18px); }
.error-code { display: inline-grid; place-items: center; width: 78px; height: 78px; margin-bottom: 20px; border-radius: 24px; background: linear-gradient(135deg, var(--rose-2), var(--rose)); color: #fffaf2; font-weight: 950; font-size: 24px; }
.error-card h1 { margin-bottom: 14px; }
.error-card p { color: var(--muted); line-height: 1.7; }

@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }
.cards-grid > *:nth-child(2) { animation-delay: .08s; }
.cards-grid > *:nth-child(3) { animation-delay: .16s; }
.cards-grid > *:nth-child(4) { animation-delay: .20s; }

@media (max-width: 980px) {
  .hero,
  .content-card { grid-template-columns: 1fr; }
  .cards-grid,
  .cards-grid:has(> :nth-child(4):last-child),
  .cards-grid--four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .flower-board { max-width: 720px; }
}

@media (max-width: 700px) {
  .container { width: min(100% - 26px, var(--max)); }
  .topbar { align-items: flex-start; gap: 16px; }
  .nav { display: none; }
  .hero { padding-top: 30px; gap: 30px; }
  .hero::before { right: -120px; top: -96px; width: 210px; height: 210px; opacity: .24; }
  .kicker { font-size: 11px; letter-spacing: .035em; }
  h1 { font-size: clamp(40px, 14vw, 58px); line-height: .98; letter-spacing: -.06em; }
  .lead { font-size: 17px; }
  .hero-actions { align-items: stretch; }
  .btn { width: 100%; text-align: center; }
  .cards-grid,
  .cards-grid:has(> :nth-child(4):last-child),
  .cards-grid--four { grid-template-columns: 1fr; }
  .content-card { padding: 24px; }
  .petal-grid { grid-template-columns: 1fr; }
  .flower-card:hover,
  .btn:hover { transform: none; }
  .footer-inner { align-items: flex-start; }
}

@media (max-width: 430px) {
  .container { width: min(100% - 22px, var(--max)); }
  .brand-mark { width: 42px; height: 42px; }
  .brand-name { font-size: 16px; }
  .flower-board,
  .flower-card,
  .content-card { border-radius: 22px; }
  .flower-board { padding: 20px; }
  .flower-card { padding: 21px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* Hero photo bouquet */
.flower-board--photo {
  position: relative;
  min-height: 540px;
  overflow: hidden;
  isolation: isolate;
}

.flower-board--photo > img {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  min-height: 540px;
  object-fit: cover;
  display: block;
  transform: scale(1.035);
  filter: saturate(1.04) contrast(1.02) brightness(.76);
}

.flower-board--photo::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(58, 20, 34, .10) 0%, rgba(58, 20, 34, .78) 100%),
    radial-gradient(circle at 20% 10%, rgba(255, 230, 238, .18), transparent 34%),
    repeating-linear-gradient(
      135deg,
      rgba(255, 255, 255, .035) 0 1px,
      transparent 1px 18px
    );
  pointer-events: none;
}

.flower-board--photo::after {
  content: "";
  position: absolute;
  inset: 18px;
  z-index: 2;
  border: 1px solid rgba(255, 238, 244, .30);
  border-radius: 24px;
  pointer-events: none;
}

.flower-board-inner {
  position: relative;
  z-index: 3;
  height: 100%;
  min-height: 540px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 26px;
}

.flower-board--photo .board-top,
.flower-board--photo .petal-grid,
.flower-board--photo p {
  position: relative;
  z-index: 4;
}

.flower-board--photo .board-top {
  padding: 16px 18px;
  border: 1px solid rgba(255, 238, 244, .26);
  border-radius: 20px 20px 0 0;
  background: rgba(58, 20, 34, .70);
  backdrop-filter: blur(16px);
}

.flower-board--photo .petal-grid {
  padding: 16px;
  border-left: 1px solid rgba(255, 238, 244, .22);
  border-right: 1px solid rgba(255, 238, 244, .22);
  background: rgba(58, 20, 34, .58);
  backdrop-filter: blur(14px);
}

.flower-board--photo p {
  margin: 0;
  padding: 16px 18px;
  border: 1px solid rgba(255, 238, 244, .24);
  border-radius: 0 0 20px 20px;
  background: rgba(58, 20, 34, .72);
  color: rgba(255, 248, 250, .82);
  backdrop-filter: blur(16px);
}

@media (max-width: 900px) {
  .flower-board--photo,
  .flower-board--photo > img,
  .flower-board-inner {
    min-height: 460px;
  }
}

@media (max-width: 620px) {
  .flower-board--photo,
  .flower-board--photo > img,
  .flower-board-inner {
    min-height: 380px;
  }

  .flower-board-inner {
    padding: 18px;
  }

  .flower-board--photo::after {
    inset: 12px;
    border-radius: 18px;
  }

  .flower-board--photo .board-top,
  .flower-board--photo .petal-grid,
  .flower-board--photo p {
    border-radius: 16px;
  }

  .flower-board--photo .board-top,
  .flower-board--photo .petal-grid {
    margin-bottom: 8px;
  }
}