/* ============================================
   LA VIA DEL SÉ — sistema visivo
   ============================================ */

:root {
  /* Palette */
  --viola: #5C4997;
  --viola-soft: #7a68b3;
  --viola-deep: #423368;
  --magenta: #A7307F;
  --magenta-soft: #c25a9d;
  --oliva: #B9C35A;
  --oliva-deep: #8a9440;
  --avorio: #F9F4F4;
  --avorio-warm: #F2EBE5;
  --inchiostro: #2a2330;
  --inchiostro-soft: #524a59;
  --linea: rgba(42, 35, 48, 0.12);
  --linea-soft: rgba(42, 35, 48, 0.06);

  /* Tipografia */
  --serif: "Cormorant Garamond", "Cormorant", Georgia, serif;
  --sans: "DM Sans", -apple-system, BlinkMacSystemFont, sans-serif;
  --script: "Caveat", cursive;

  /* Spazio */
  --pad-x: clamp(20px, 5vw, 80px);
  --maxw: 1280px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  background: var(--avorio);
  color: var(--inchiostro);
  font-size: 16px;
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* ============ TIPOGRAFIA ============ */
h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.08;
  color: var(--viola-deep);
}

.h-hero {
  font-size: clamp(3.2rem, 7vw, 6.5rem);
  font-weight: 300;
  font-style: italic;
  letter-spacing: -0.02em;
}
.h-hero em {
  font-style: normal;
  color: var(--magenta);
  font-weight: 500;
}

.h-section {
  font-size: clamp(2.2rem, 4.5vw, 3.6rem);
  font-weight: 400;
}

.h-card {
  font-size: clamp(1.4rem, 2vw, 1.75rem);
  font-weight: 500;
  color: var(--viola-deep);
}

.eyebrow {
  font-family: var(--sans);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-weight: 500;
  color: var(--magenta);
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.eyebrow::before {
  content: "";
  width: 32px;
  height: 1px;
  background: var(--magenta);
}

.script {
  font-family: var(--script);
  font-weight: 400;
  color: var(--magenta);
}

p { color: var(--inchiostro-soft); text-wrap: pretty; }
p.lead {
  font-family: var(--serif);
  font-size: clamp(1.25rem, 1.8vw, 1.6rem);
  font-style: italic;
  font-weight: 300;
  line-height: 1.5;
  color: var(--inchiostro);
  max-width: 60ch;
}

/* ============ HEADER ============ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(249, 244, 244, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--linea-soft);
}
.site-header__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 18px var(--pad-x);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.brand__mark {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: 50%;
  object-fit: cover;
  background: var(--avorio);
}
.brand__name {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: 1.35rem;
  color: var(--viola-deep);
  letter-spacing: 0.01em;
  line-height: 1;
}
.brand__name small {
  display: block;
  font-family: var(--sans);
  font-style: normal;
  font-size: 0.62rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--magenta);
  margin-top: 4px;
  font-weight: 500;
}

.nav {
  display: flex;
  gap: 4px;
  align-items: center;
}
.nav a {
  font-size: 0.92rem;
  padding: 10px 16px;
  border-radius: 999px;
  color: var(--inchiostro);
  transition: all 0.25s ease;
  position: relative;
}
.nav a:hover { color: var(--viola); }
.nav a.active {
  color: var(--viola-deep);
  background: rgba(92, 73, 151, 0.08);
}
.nav__cta {
  margin-left: 12px;
  padding: 10px 22px !important;
  background: var(--viola);
  color: var(--avorio) !important;
  border-radius: 999px;
  font-weight: 500;
  transition: all 0.25s ease;
}
.nav__cta:hover {
  background: var(--viola-deep) !important;
  transform: translateY(-1px);
}

.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle svg { width: 24px; height: 24px; stroke: var(--inchiostro); }

/* ============ FOOTER ============ */
.site-footer {
  margin-top: 120px;
  background: var(--viola-deep);
  color: var(--avorio);
  padding: 80px var(--pad-x) 32px;
}
.site-footer__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 60px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(249, 244, 244, 0.15);
}
.site-footer h4 {
  color: var(--avorio);
  font-size: 0.78rem;
  font-family: var(--sans);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-weight: 500;
  margin-bottom: 20px;
}
.site-footer ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.site-footer a { opacity: 0.75; font-size: 0.92rem; transition: opacity 0.2s; }
.site-footer a:hover { opacity: 1; color: var(--oliva); }
.site-footer__brand p {
  color: rgba(249, 244, 244, 0.7);
  margin-top: 20px;
  font-size: 0.92rem;
  max-width: 32ch;
}
.site-footer__brand .brand__name { color: var(--avorio); }
.site-footer__brand .brand__name small { color: var(--oliva); }
.site-footer__bottom {
  max-width: var(--maxw);
  margin: 0 auto;
  padding-top: 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  opacity: 0.6;
  flex-wrap: wrap;
  gap: 16px;
}

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 500;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
}
.btn-primary {
  background: var(--viola);
  color: var(--avorio);
}
.btn-primary:hover {
  background: var(--viola-deep);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px -10px rgba(92, 73, 151, 0.45);
}
.btn-ghost {
  background: transparent;
  color: var(--viola-deep);
  border: 1px solid var(--linea);
}
.btn-ghost:hover {
  border-color: var(--viola);
  color: var(--viola);
  background: rgba(92, 73, 151, 0.04);
}
.btn-arrow svg { width: 16px; height: 16px; transition: transform 0.3s; }
.btn:hover .btn-arrow svg { transform: translateX(4px); }

/* ============ LAYOUT ============ */
.section {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(60px, 10vw, 140px) var(--pad-x);
}
.section--narrow { max-width: 880px; }
.section--tight { padding-top: clamp(40px, 6vw, 80px); padding-bottom: clamp(40px, 6vw, 80px); }

/* ============ DECORATIVI ============ */
.divider {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 24px 0;
  color: var(--magenta);
}
.divider::before, .divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--linea);
}
.divider svg { width: 22px; height: 22px; }

/* Glyph mandala simbolo riutilizzabile */
.glyph {
  display: inline-block;
  color: var(--magenta);
}

/* ============ SCROLL REVEAL ============ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  filter: blur(10px);
  transition:
    opacity 1.1s cubic-bezier(0.2, 0.7, 0.2, 1),
    transform 1.1s cubic-bezier(0.2, 0.7, 0.2, 1),
    filter 1.1s cubic-bezier(0.2, 0.7, 0.2, 1);
  will-change: opacity, transform, filter;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

/* Word-stagger reveal (added by JS on .reveal-words elements) */
.reveal-words .word {
  display: inline-block;
  opacity: 0;
  transform: translateY(18px);
  filter: blur(6px);
  transition:
    opacity 0.9s cubic-bezier(0.2, 0.7, 0.2, 1),
    transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1),
    filter 0.9s cubic-bezier(0.2, 0.7, 0.2, 1);
  transition-delay: calc(var(--i, 0) * 60ms);
}
.reveal-words.is-visible .word {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

/* ============ AMBIENT AURORA ============ */
body { position: relative; }
body::before {
  content: "";
  position: fixed;
  inset: -25%;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(38vw 38vw at 12% 18%, rgba(167, 48, 127, 0.09), transparent 60%),
    radial-gradient(50vw 50vw at 88% 28%, rgba(92, 73, 151, 0.10), transparent 65%),
    radial-gradient(46vw 46vw at 50% 88%, rgba(185, 195, 90, 0.07), transparent 60%);
  filter: blur(40px);
  animation: aurora-drift 32s ease-in-out infinite alternate;
  opacity: 0.95;
}
@keyframes aurora-drift {
  0%   { transform: translate(0, 0) rotate(0deg) scale(1); }
  50%  { transform: translate(-2%, 2%) rotate(2deg) scale(1.06); }
  100% { transform: translate(2%, -2%) rotate(-2deg) scale(1.03); }
}

/* ============ RESPONSIVE ============ */
@media (max-width: 860px) {
  .nav { display: none; position: fixed; top: 74px; left: 0; right: 0; background: var(--avorio); flex-direction: column; padding: 24px var(--pad-x); border-bottom: 1px solid var(--linea); align-items: stretch; }
  .nav.is-open { display: flex; }
  .nav a { padding: 14px 0; border-radius: 0; border-bottom: 1px solid var(--linea-soft); }
  .nav__cta { margin-left: 0 !important; margin-top: 12px; text-align: center; }
  .nav-toggle { display: block; }
  .site-footer__inner { grid-template-columns: 1fr 1fr; gap: 40px; }
  .site-footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 520px) {
  .site-footer__inner { grid-template-columns: 1fr; }
}

/* ================================================================
   EVOLUZIONE v2 — depth, micro-interactions, cinematic motion
   Additive only. Preserves existing identity.
   ================================================================ */

/* Smooth scroll for in-page anchors (was already on html). Keep it. */

/* Refined header: stronger backdrop on scroll, softer in calm */
.site-header {
  transition: background 0.5s ease, border-color 0.5s ease, box-shadow 0.5s ease;
}
.site-header.is-scrolled {
  background: rgba(249, 244, 244, 0.78);
  box-shadow: 0 8px 28px -16px rgba(42, 35, 48, 0.18);
}

/* Nav link: soft underline indicator that draws on hover/active */
.nav a:not(.nav__cta)::after {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 4px;
  height: 1px;
  background: var(--magenta);
  transform: scaleX(0);
  transform-origin: left center;
  opacity: 0;
  transition: transform 0.55s cubic-bezier(0.2, 0.7, 0.2, 1), opacity 0.4s ease;
}
.nav a:not(.nav__cta):hover::after,
.nav a:not(.nav__cta).active::after {
  transform: scaleX(1);
  opacity: 0.85;
}

/* Refined button: sheen sweep + softer lift */
.btn { position: relative; overflow: hidden; isolation: isolate; }
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255, 255, 255, 0.22) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1);
  pointer-events: none;
  z-index: 1;
}
.btn:hover::before { transform: translateX(120%); }
.btn > * { position: relative; z-index: 2; }
.btn-primary {
  background: linear-gradient(135deg, var(--viola), var(--viola-deep));
  box-shadow: 0 8px 24px -14px rgba(92, 73, 151, 0.55);
}
.btn-primary:hover {
  background: linear-gradient(135deg, var(--viola-deep), var(--viola));
  box-shadow: 0 18px 42px -16px rgba(92, 73, 151, 0.6);
}

/* Brand mark: gentle breathing halo on hover */
.brand {
  position: relative;
}
.brand__mark {
  transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 0.6s ease;
}
.brand:hover .brand__mark {
  transform: rotate(-6deg) scale(1.04);
  box-shadow: 0 0 0 6px rgba(167, 48, 127, 0.08), 0 8px 20px -8px rgba(92, 73, 151, 0.35);
}

/* Footer: gentle hover lift for links */
.site-footer a {
  transition: opacity 0.3s ease, color 0.3s ease, transform 0.4s ease;
  display: inline-block;
}
.site-footer a:hover { transform: translateX(3px); }

/* Eyebrow line drawing on reveal */
.eyebrow::before {
  transition: width 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) 0.2s;
}
.reveal.eyebrow::before,
.reveal .eyebrow::before { width: 0; }
.reveal.is-visible.eyebrow::before,
.reveal.is-visible .eyebrow::before { width: 32px; }

/* Honor reduced motion preferences — silence everything */
@media (prefers-reduced-motion: reduce) {
  body::before { animation: none !important; }
  .reveal,
  .reveal-words .word {
    transition: none !important;
    transform: none !important;
    filter: none !important;
    opacity: 1 !important;
  }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
  }
}

/* ================================================================
   EVOLUZIONE v2 — cross-page contextual enhancements
   Targets shared component classes across all pages.
   ================================================================ */

/* ─── Card family: cursor spotlight + soft lift ─────────────────
   Applies to all card-like surfaces across the site. */
.pillar,
.value-card,
.num-card,
.info-card,
.post-card,
.event,
.path__step,
.cta-mini,
.studio__media,
.num-consult,
.hours,
.newsletter,
.booking__sidebar,
.map-block {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  transition: transform 0.55s cubic-bezier(0.2, 0.7, 0.2, 1),
              box-shadow 0.55s cubic-bezier(0.2, 0.7, 0.2, 1),
              border-color 0.4s ease;
}
.pillar::after,
.value-card::after,
.num-card::after,
.info-card::after,
.post-card::after,
.event::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(280px circle at var(--mx, 50%) var(--my, 50%),
                              rgba(167, 48, 127, 0.10),
                              transparent 60%);
  opacity: 0;
  transition: opacity 0.55s ease;
  pointer-events: none;
  z-index: 0;
}
.pillar:hover::after,
.value-card:hover::after,
.num-card:hover::after,
.info-card:hover::after,
.post-card:hover::after,
.event:hover::after { opacity: 1; }
.value-card > *,
.num-card > *,
.info-card > *,
.post-card > *,
.event > * { position: relative; z-index: 1; }

.value-card:hover,
.num-card:hover,
.info-card:hover,
.post-card:hover,
.event:hover {
  transform: translateY(-6px);
  box-shadow: 0 28px 60px -24px rgba(92, 73, 151, 0.28);
}

/* ─── Post cards & featured: zoom-in image on hover ──────────── */
.post-feature,
.post-card,
.event {
  position: relative;
}
.post-feature__media,
.post-card__media,
.event__media {
  overflow: hidden;
  border-radius: inherit;
}
.post-feature__media svg,
.post-card__media svg,
.event__media svg {
  transition: transform 1.2s cubic-bezier(0.2, 0.7, 0.2, 1), filter 0.6s ease;
  transform-origin: center;
}
.post-feature:hover .post-feature__media svg,
.post-card:hover .post-card__media svg,
.event:hover .event__media svg {
  transform: scale(1.05);
  filter: saturate(1.1);
}
.post-tag {
  transition: background 0.4s ease, color 0.4s ease;
}

/* ─── Info cards (contatti): icon micro-rotate on hover ──────── */
.info-card { display: block; }
.info-card svg {
  transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1), color 0.4s ease;
}
.info-card:hover svg {
  transform: rotate(-8deg) scale(1.08);
  color: var(--magenta);
}

/* ─── Num cards (numerologia): big number breathe + magenta on hover ─── */
.num-card__big {
  transition: transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1),
              color 0.5s ease,
              letter-spacing 0.5s ease;
  display: inline-block;
}
.num-card:hover .num-card__big {
  transform: translateY(-3px);
  color: var(--magenta);
  letter-spacing: 0.05em;
}

/* ─── Service blocks: illustration drifts gently ─────────────── */
.service-illu {
  transition: transform 1s cubic-bezier(0.2, 0.7, 0.2, 1);
  will-change: transform;
}
.service-block:hover .service-illu {
  transform: translateY(-6px) scale(1.02);
}
.service-illu svg {
  animation: illu-drift 14s ease-in-out infinite;
}
.service-block--reverse .service-illu svg {
  animation-duration: 18s;
  animation-direction: reverse;
}
@keyframes illu-drift {
  0%, 100% { transform: translate(0, 0); }
  50%      { transform: translate(-6px, 4px); }
}

/* ─── Service block number: shimmer like big-quote ────────── */
.service-block__num {
  background: linear-gradient(120deg, var(--magenta) 0%, var(--magenta-soft) 50%, var(--magenta) 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmer 8s ease-in-out infinite;
}
@keyframes shimmer {
  0%, 100% { background-position: 0% 50%; }
  50%      { background-position: 100% 50%; }
}

/* ─── Services anchors: animated chip background ─────────── */
.services-anchors a {
  position: relative;
  transition: color 0.4s ease, transform 0.4s ease;
}
.services-anchors a::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(167, 48, 127, 0.08);
  border-radius: inherit;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.5s cubic-bezier(0.2, 0.7, 0.2, 1);
  pointer-events: none;
  z-index: -1;
}
.services-anchors a:hover::before { transform: scaleX(1); }

/* ─── Path / timeline steps (chi-sono): year scales on hover ──── */
.path__year {
  display: inline-block;
  color: var(--oliva-deep);
  transition: transform 0.5s cubic-bezier(0.2, 0.7, 0.2, 1), color 0.4s ease;
}
.path__step:hover .path__year {
  transform: scale(1.08);
  color: var(--magenta);
}

/* ─── Form inputs: focus glow ────────────────────────────────── */
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
input[type="date"],
textarea,
select {
  transition: box-shadow 0.4s ease, border-color 0.4s ease, background 0.4s ease;
}
input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
input[type="number"]:focus,
input[type="date"]:focus,
textarea:focus,
select:focus {
  outline: none;
  box-shadow: 0 0 0 4px rgba(167, 48, 127, 0.12), 0 0 0 1px var(--magenta);
  border-color: var(--magenta);
}

/* ─── Tabs / filters (blog) ──────────────────────────────────── */
.tab,
.filter {
  position: relative;
  transition: color 0.3s ease, background 0.4s ease;
}
.tab::after,
.filter::after {
  content: "";
  position: absolute;
  left: 12%;
  right: 12%;
  bottom: -2px;
  height: 1px;
  background: var(--magenta);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.5s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.tab.is-active::after,
.filter.is-active::after,
.tab:hover::after,
.filter:hover::after { transform: scaleX(1); }

/* ─── Hero h1 across pages: word-stagger via JS class ─────── */
/* (the class is applied by shared.js — see below) */
.h-hero em {
  position: relative;
}
.h-hero em::after {
  content: "";
  position: absolute;
  left: 6%;
  right: 6%;
  bottom: 0.04em;
  height: 0.05em;
  background: linear-gradient(90deg, transparent, var(--magenta-soft) 50%, transparent);
  opacity: 0.4;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 1.6s cubic-bezier(0.2, 0.7, 0.2, 1) 0.6s;
}
.is-visible .h-hero em::after,
.h-hero.is-visible em::after { transform: scaleX(1); }

/* ============ WHATSAPP FLOATING BUTTON ============ */
.wa-bubble {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 200;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}
.wa-bubble__btn {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25D366;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.45);
  transition: transform 0.2s, box-shadow 0.2s;
}
.wa-bubble__btn:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 28px rgba(37, 211, 102, 0.55);
}
.wa-bubble__card {
  display: none;
  background: var(--avorio);
  border: 1px solid var(--linea-soft);
  border-radius: 20px;
  padding: 22px 22px 18px;
  width: 280px;
  box-shadow: 0 12px 40px rgba(42,35,48,0.14);
  flex-direction: column;
  gap: 12px;
  position: relative;
}
.wa-bubble__card.is-open {
  display: flex;
  animation: waSlideIn 0.22s ease;
}
@keyframes waSlideIn {
  from { opacity: 0; transform: translateY(10px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
.wa-bubble__x {
  position: absolute;
  top: 12px;
  right: 12px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--inchiostro-soft);
  padding: 4px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.18s;
}
.wa-bubble__x:hover { background: var(--avorio-warm); }
.wa-bubble__title {
  font-family: var(--serif);
  font-size: 1.15rem;
  color: var(--viola-deep) !important;
  font-weight: 500;
  font-style: italic;
  padding-right: 24px;
  margin: 0;
}
.wa-bubble__note {
  font-size: 0.7rem;
  color: var(--inchiostro-soft) !important;
  opacity: 0.6;
  text-align: center;
  margin: 0;
}
.wa-bubble__note a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.wa-bubble__go {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #25D366;
  color: #fff !important;
  border-radius: 12px;
  padding: 12px 18px;
  font-size: 0.9rem;
  font-weight: 600;
  font-family: var(--sans);
  text-decoration: none;
  transition: background 0.2s, transform 0.2s;
  margin-top: 4px;
}
.wa-bubble__go:hover { background: #1ebd5c; transform: translateY(-1px); }
@media (max-width: 480px) {
  .wa-bubble { bottom: 18px; right: 14px; }
  .wa-bubble__card { width: calc(100vw - 28px); }
}

/* ============ BUONI REGALO ============ */
.gift-section {
  background: var(--avorio-warm);
  margin: 40px auto;
  border-radius: 32px;
  max-width: 1280px;
  padding: clamp(40px, 6vw, 80px);
}
.gift-wizard { display: flex; flex-direction: column; gap: clamp(32px, 4vw, 56px); }
.gift-wizard__panel { display: none; }
.gift-wizard__panel.is-active { display: flex; flex-direction: column; gap: 32px; }

.gift-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.gift-card {
  background: var(--avorio);
  border: 1px solid var(--linea-soft);
  border-radius: 24px;
  padding: 32px 24px;
  cursor: pointer;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
  transition: all 0.25s;
  font-family: inherit;
  color: inherit;
}
.gift-card:hover {
  border-color: var(--viola);
  transform: translateY(-3px);
  box-shadow: 0 16px 40px -16px rgba(92,73,151,0.22);
}
.gift-card.is-selected {
  border-color: var(--viola);
  background: rgba(92, 73, 151, 0.05);
}
.gift-card__amount {
  font-family: var(--serif);
  font-size: 2.8rem;
  color: var(--magenta);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.02em;
}
.gift-card__label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--inchiostro-soft);
  font-weight: 500;
}
.gift-card__desc {
  font-family: var(--serif);
  font-style: italic;
  font-size: 0.95rem;
  color: var(--inchiostro-soft);
  line-height: 1.4;
}
.gift-card--custom { grid-column: span 1; }
.gift-card--custom .gift-custom-input {
  width: 100%;
  text-align: center;
  background: var(--avorio-warm);
  border: 1px solid var(--linea);
  border-radius: 10px;
  padding: 10px;
  font-family: var(--serif);
  font-size: 1.8rem;
  color: var(--magenta);
  font-weight: 500;
  -moz-appearance: textfield;
}
.gift-card--custom .gift-custom-input::-webkit-inner-spin-button,
.gift-card--custom .gift-custom-input::-webkit-outer-spin-button { -webkit-appearance: none; }
.gift-card__cta {
  margin-top: 6px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--viola);
  transition: transform 0.2s;
}
.gift-card:hover .gift-card__cta { transform: translateX(3px); color: var(--magenta); }

.gift-form {
  background: var(--avorio);
  border-radius: 24px;
  padding: clamp(28px, 4vw, 48px);
  display: flex;
  flex-direction: column;
  gap: 24px;
  border: 1px solid var(--linea-soft);
}
.gift-form__section {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding-bottom: 24px;
  border-bottom: 1px dashed var(--linea);
}
.gift-form__section:last-of-type { border-bottom: none; padding-bottom: 0; }
.gift-form__section-title {
  font-family: var(--sans);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-weight: 500;
  color: var(--magenta);
}
.gift-form label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--magenta);
  font-weight: 500;
}
.gift-form input,
.gift-form textarea {
  background: var(--avorio-warm);
  border: 1px solid var(--linea);
  padding: 14px 16px;
  border-radius: 12px;
  font-family: var(--sans);
  font-size: 1rem;
  color: var(--inchiostro);
  transition: all 0.25s;
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
}
.gift-form input:focus,
.gift-form textarea:focus { outline: none; border-color: var(--viola); background: var(--avorio); }
.gift-form textarea { resize: vertical; }
.gift-form .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.gift-form .checkbox {
  flex-direction: row !important;
  align-items: flex-start !important;
  gap: 12px !important;
  cursor: pointer;
  font-size: 0.85rem;
  text-transform: none;
  letter-spacing: 0;
  color: var(--inchiostro-soft);
  font-weight: 400;
  line-height: 1.5;
}
.gift-form .checkbox input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--viola); flex-shrink: 0; }
.gift-form .checkbox a { color: var(--magenta); text-decoration: underline; }
.gift-summary {
  background: var(--avorio-warm);
  border-radius: 16px;
  padding: 24px 28px;
  border: 1px solid var(--linea-soft);
}
.gift-summary dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 10px 24px; }
.gift-summary dt {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--magenta);
  font-weight: 500;
  align-self: center;
  font-family: var(--sans);
}
.gift-summary dd {
  margin: 0;
  font-family: var(--serif);
  color: var(--viola-deep);
  font-weight: 500;
  font-size: 1.05rem;
}
.gift-success {
  background: var(--avorio);
  border: 1px solid var(--linea-soft);
  border-radius: 24px;
  padding: clamp(40px, 6vw, 64px);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.gift-success svg { width: 72px; height: 72px; }
.gift-success-actions {
  margin-top: 28px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}
@media (max-width: 900px) {
  .gift-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 540px) {
  .gift-section { padding: 28px 18px; border-radius: 24px; margin: 20px 12px; }
  .gift-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .gift-form .form-row { grid-template-columns: 1fr; }
}
