@font-face { font-family: "Italiana"; src: url("../fonts/italiana.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "DM Sans"; src: url("../fonts/dm-sans.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

.sc-wedding-planner { --k-bg: #f6e7e1; --k-ink: #3a3330; --k-muted: #7d6e68; --k-ac: #3a3330; --k-ac-ink: #f6e7e1; --k-surface: #fdf7f4; --k-line: rgba(58,51,48,.14);
  --k-display: "Italiana", Georgia, serif; --k-body: "DM Sans", system-ui, sans-serif; --k-dw: 400; --k-track: .01em; --k-lh: 1.02; --k-r: 200px 200px 24px 24px; --sage: #9aae94; --gold: #b8915a; --blush: #e9c4b8; }
.sc-wedding-planner em { color: var(--gold); font-style: normal; }
.sc-wedding-planner .k-card { border-radius: 160px 160px 22px 22px; text-align: center; padding-top: 50px; }
.sc-wedding-planner .k-card-ic { margin: 0 auto 20px; border-radius: 50%; background: var(--sage); }
.sc-wedding-planner .k-form { border-radius: 24px; }
.lg-w { font: 400 28px "Italiana"; }

.hero { position: relative; min-height: calc(100vh - 110px); padding: 70px var(--k-pad) 60px; text-align: center; overflow: hidden; background: radial-gradient(60% 50% at 50% 40%, #fff, transparent 70%); }
.petals i { position: absolute; top: -30px; left: calc(var(--i) * 7.2%); width: 16px; height: 22px; border-radius: 16px 0; background: var(--blush); opacity: .7; animation: petal calc(9s + var(--i) * .5s) linear infinite; animation-delay: calc(var(--i) * -1.3s); }
.petals i:nth-child(3n) { background: #fff; } .petals i:nth-child(4n) { background: #d9e3d4; }
@keyframes petal { to { transform: translateY(110vh) translateX(80px) rotate(540deg); } }
.hero h1 { position: relative; margin: 14px auto 34px; max-width: 1000px; font-size: clamp(54px, 8vw, 128px); }
.cd-wrap { position: relative; display: inline-grid; gap: 16px; justify-items: center; padding: 26px 34px; border-radius: 26px; background: rgba(253,247,244,.75); backdrop-filter: blur(10px); }
.cd-date span { display: block; margin-bottom: 6px; color: var(--k-muted); font-size: 13px; letter-spacing: .14em; text-transform: uppercase; }
.cd-date input { min-height: 46px; padding: 0 14px; border: 1px solid var(--k-line); border-radius: 12px; background: #fff; }
.cd { display: flex; gap: 26px; }
.cd b { display: block; font: 400 clamp(48px, 6vw, 88px)/1 "Italiana"; font-variant-numeric: tabular-nums; }
.cd span { color: var(--k-muted); font-size: 13px; letter-spacing: .14em; text-transform: uppercase; }
.cd-tip { max-width: 440px; margin: 0; color: var(--k-muted); }

.budget { background: var(--k-surface); }
.b-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.b-form { display: grid; gap: 16px; }
.rng span { display: flex; justify-content: space-between; margin-bottom: 6px; font-weight: 600; font-size: 14px; }
.rng span i { display: inline-block; width: 10px; height: 10px; margin-right: 6px; border-radius: 50%; background: var(--c); }
.rng input { width: 100%; accent-color: var(--gold); }
.cats { display: grid; gap: 12px; margin-top: 8px; padding-top: 14px; border-top: 1px solid var(--k-line); }
.b-out { position: relative; display: grid; justify-items: center; }
.donut { width: min(340px, 100%); transform: rotate(-90deg); }
.donut circle { fill: none; stroke-width: 16; transition: stroke-dasharray .6s cubic-bezier(.2,.8,.2,1), stroke-dashoffset .6s cubic-bezier(.2,.8,.2,1); }
.b-center { position: absolute; top: 0; height: min(340px, 100%); display: grid; place-content: center; text-align: center; aspect-ratio: 1; }
.b-center small { color: var(--k-muted); } .b-center b { font: 400 42px "Italiana"; }
.b-warn { min-height: 1.4em; color: #b0453a; font-weight: 600; }

.i-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 40px; align-items: center; }
.i-form { display: grid; gap: 14px; }
.i-form label span, .i-form legend { display: block; margin-bottom: 6px; font-weight: 600; font-size: 14px; }
.i-form input { width: 100%; min-height: 50px; padding: 0 14px; border: 1px solid var(--k-line); border-radius: 12px; background: #fff; }
.i-form fieldset { margin: 0; padding: 0; border: 0; }
.pals { display: flex; flex-wrap: wrap; gap: 10px; }
.pals button { display: flex; gap: 0; padding: 4px; border: 2px solid transparent; border-radius: 99px; background: #fff; }
.pals button i { width: 26px; height: 26px; border-radius: 50%; margin-left: -6px; border: 2px solid #fff; } .pals button i:first-child { margin-left: 0; }
.pals button[aria-checked="true"] { border-color: var(--k-ink); }
.card { position: relative; display: grid; justify-items: center; gap: 14px; aspect-ratio: 5 / 7; max-width: 420px; justify-self: center; width: 100%; padding: 50px 30px; border-radius: 6px; background: var(--p1, #fff); color: var(--p3, #3a3330); text-align: center; box-shadow: 0 30px 60px rgba(58,51,48,.18); outline: 1px solid var(--p2); outline-offset: -16px; transition: background .5s, color .5s; transform: rotate(-2deg); }
.c-k { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; }
.c-names { display: grid; margin: auto 0; font: 400 clamp(40px, 5vw, 64px)/1 "Italiana"; }
.c-names i { font-style: normal; font-size: .6em; color: var(--p2); }
.c-line { width: 60px; height: 1px; background: var(--p2); }
.c-date { margin: 0; font-size: 14px; letter-spacing: .12em; text-transform: uppercase; }
.c-flower { width: 70px; } .c-flower ellipse { fill: var(--p2); opacity: .6; } .c-flower circle { fill: var(--p2); }

@media (max-width: 899px) { .b-grid, .i-grid { grid-template-columns: 1fr; } .cd { gap: 14px; } }
@media (prefers-reduced-motion: reduce) { .petals { display: none; } }

/* fx · rifacimento */
.sc-wedding-planner .k-nav { margin-bottom: -76px; background: transparent; backdrop-filter: none; }
.sc-wedding-planner .k-nav.is-scrolled { background: rgba(246,231,225,.86); backdrop-filter: blur(14px); }
.wd-hero { isolation: isolate; padding-top: 140px; color: #fff; background: none; }
.wd-hero-ph { position: absolute; inset: -12% 0; z-index: -2; } .wd-hero-ph img { width: 100%; height: 100%; object-fit: cover; filter: brightness(.78); }
.wd-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 60% at 50% 45%, rgba(58,51,48,.15), rgba(58,51,48,.55)); }
.wd-hero h1 span, .wd-hero h1 em { display: block; } .wd-hero h1 em { --fx-delay: 250ms; color: #f3d8a8; }
.wd-hero .k-kicker { color: #f6e7e1; }
.wd-hero .petals { z-index: 0; }
.wd-hero .cd-wrap { color: var(--k-ink); }
.wd-arch { --fx-zh: 240vh; }
.wd-arch .fx-z-media { clip-path: inset(calc((1 - var(--p, 0)) * 14%) calc((1 - var(--p, 0)) * 34%) round calc((1 - var(--p, 0)) * 50vw) calc((1 - var(--p, 0)) * 50vw) calc((1 - var(--p, 0)) * 24px) calc((1 - var(--p, 0)) * 24px)); }
.wd-arch-t { position: absolute; inset: auto 0 10vh; display: grid; justify-items: center; margin: 0; color: #fff; font: 400 clamp(44px, 6.4vw, 110px)/1 "Italiana"; text-align: center; text-shadow: 0 10px 40px rgba(0,0,0,.35); }
.wd-arch-t span { opacity: clamp(0, calc((var(--p, 0) - .45) * 3), 1); } .wd-arch-t em { color: #f3d8a8; opacity: clamp(0, calc((var(--p, 0) - .65) * 3), 1); }
.wd-gal { padding: 130px var(--k-pad); }
.wd-gal h2 { margin: 0 0 40px; font: 400 clamp(50px, 6vw, 100px)/.95 "Italiana"; }
.wd-gal-grid { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: 70px; gap: 18px; }
.wd-gal-grid .fx-ph { border-radius: 999px 999px 20px 20px; }
.g1 { grid-column: 1 / 5; grid-row: 1 / 7; } .g2 { grid-column: 5 / 9; grid-row: 2 / 6; border-radius: 20px !important; } .g3 { grid-column: 9 / 13; grid-row: 1 / 7; }
.g4 { grid-column: 2 / 6; grid-row: 7 / 11; border-radius: 20px !important; } .g5 { grid-column: 6 / 9; grid-row: 6 / 11; } .g6 { grid-column: 9 / 12; grid-row: 8 / 12; border-radius: 50% !important; }
.wd-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.wd-st .fx-ph { aspect-ratio: 4 / 4.6; border-radius: 160px 160px 22px 22px; }
.wd-st h3 { margin: 18px 0 6px; font: 400 36px "Italiana"; } .wd-st p { margin: 0; color: var(--k-muted); }
@media (max-width: 899px) { .wd-gal-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: auto; } .wd-gal-grid .fx-ph { grid-column: auto !important; grid-row: auto !important; aspect-ratio: 3 / 4; } .wd-steps { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .wd-arch-t span, .wd-arch-t em { opacity: 1; } }
