/* ==========================================================
   AIRAFFITTI — Homepage (fedele al design approvato "sito/")
   Palette: Nero · Beige/oro · Bianco  ·  Font: Montserrat
   V1 leggera: reveal/fade/hover/counter/accordion/transizioni.
   Esclusi: split-text, magnetic, tilt 3D, cursor-glow, key-intro,
            marquee scorrevole, orb "respirante" (orb = gradiente statico).
   Da caricare globalmente (Elementor → Impostazioni sito → CSS personalizzato,
   oppure enqueue via Code Snippets). Le classi corrispondono al mockup.
   ========================================================== */

:root {
  --nero: #14181D;
  --nero-soft: #5C636C;
  --beige: #C9B18A;
  --beige-scuro: #A88F65;
  --beige-chiaro: #EDE5D5;
  --bianco: #FDFCF9;
  --bianco-puro: #FFFFFF;
  --linea: #E4DECF;
  --font: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  --r-sm: 8px; --r-md: 14px; --r-lg: 24px; --r-pill: 999px;
  --container: 74rem;
  --sh-soft: 0 12px 32px rgba(20,24,30,.06);
  --sh-float: 0 18px 44px rgba(20,24,30,.10);
}

/* ---- Base tipografia/colore (scoping soft: non stravolge il tema) ---- */
.aa-home { background: var(--bianco); color: var(--nero); font-family: var(--font); }
.aa-home img { max-width: 100%; display: block; }
.aa-home h1, .aa-home h2, .aa-home h3 { margin: 0 0 1rem; line-height: 1.12; letter-spacing: -0.02em; }
.aa-home .elementor-heading-title { letter-spacing: -0.02em; }
.aa-home p { margin: 0 0 1rem; }
.aa-home p:last-child { margin-bottom: 0; }

/* ---- Contenitore centrato (sovrascrive il full-width dei container) ---- */
.aa-home .container { max-width: var(--container); margin-inline: auto; padding-inline: 1.5rem; width: 100%; }
.aa-home .section { padding-block: clamp(4rem, 9vw, 7.5rem); }

/* ---- Kicker / head / lead ---- */
.kicker { display: inline-flex; align-items: center; gap: .6rem; font-size: .72rem; font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase; color: var(--beige-scuro); margin-bottom: 1.1rem; }
.kicker::before { content: ""; width: 28px; height: 2px; background: var(--beige); }
.lead, .lead .elementor-heading-title { font-size: 1.13rem; color: var(--nero-soft); max-width: 44rem; }
.head { max-width: 48rem; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.head--center { margin-inline: auto; text-align: center; }
.head--center .kicker { justify-content: center; }
/* Kicker eyebrow: dimensione piccola forzata anche sul heading-title interno (prendeva il default h3 del kit) */
.aa-home .kicker, .aa-home .kicker .elementor-heading-title{ font-size:.72rem !important; line-height:1.35 !important; }
@media(max-width:600px){ .aa-home .kicker, .aa-home .kicker .elementor-heading-title{ font-size:.68rem !important; } }

.head--center .lead { margin-inline: auto; }

/* ---- Reveal on scroll (fade+translate leggero) ---- */
.reveal { opacity: 0; transform: translateY(24px);
  transition: opacity .6s cubic-bezier(.16,1,.3,1), transform .6s cubic-bezier(.16,1,.3,1); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1 !important; transform: none !important; transition: none; } }

/* ==========================================================
   BOTTONI — .btn su <a> nativo E su widget Button di Elementor
   ========================================================== */
.btn, .btn .elementor-button {
  position: relative; display: inline-flex; align-items: center; gap: .6rem; justify-content: center;
  font: 700 .92rem/1 var(--font); padding: 1.1em 2.1em; border-radius: var(--r-pill);
  text-decoration: none; border: 1.5px solid transparent; cursor: pointer;
  transition: color .2s ease, border-color .2s ease, background-color .2s ease, transform .2s ease, box-shadow .2s ease;
  white-space: nowrap;
}
.btn.elementor-widget { display: inline-block; width: auto; } /* wrapper del widget button */
.btn .elementor-button-wrapper { display: inline-flex; }
.btn svg, .btn .elementor-button-icon svg { width: 15px; height: 15px; flex: none; transition: transform .2s ease; }
.btn:hover svg, .btn:hover .elementor-button-icon svg { transform: translateX(4px); }

.btn--nero, .btn--nero .elementor-button { background: var(--nero) !important; color: #fff !important; }
.btn--nero:hover, .btn--nero:hover .elementor-button { transform: translateY(-2px); box-shadow: 0 10px 24px -8px rgba(20,24,29,.4); color: #fff !important; }
.btn--beige, .btn--beige .elementor-button { background: var(--beige) !important; color: var(--nero) !important; }
.btn--beige:hover, .btn--beige:hover .elementor-button { background: var(--beige-scuro) !important; color: #fff !important; transform: translateY(-2px); box-shadow: 0 10px 24px -8px rgba(168,143,101,.5); }
.btn--ghost, .btn--ghost .elementor-button { background: transparent !important; color: var(--nero) !important; border-color: var(--linea) !important; }
.btn--ghost:hover, .btn--ghost:hover .elementor-button { border-color: var(--nero) !important; color: var(--nero) !important; }
.btn--ghost-w, .btn--ghost-w .elementor-button { background: transparent !important; color: #fff !important; border-color: rgba(255,255,255,.3) !important; }
.btn--ghost-w:hover, .btn--ghost-w:hover .elementor-button { border-color: #fff !important; color: #fff !important; }
.btn--dkghost, .btn--dkghost .elementor-button { background: rgba(253,252,249,.06) !important; color: var(--bianco-puro) !important; border-color: rgba(253,252,249,.18) !important; }
.btn--dkghost:hover, .btn--dkghost:hover .elementor-button { background: rgba(253,252,249,.12) !important; }
.btn--glow, .btn--glow .elementor-button { background: linear-gradient(135deg, var(--beige), var(--beige-scuro)) !important; color: #1a1408 !important; box-shadow: 0 8px 24px rgba(201,177,138,.18); }
.btn--glow:hover, .btn--glow:hover .elementor-button { box-shadow: 0 8px 24px rgba(201,177,138,.2); }

.btn-row { display: flex; flex-wrap: wrap; gap: .8rem; align-items: center; }
.btn-row.is-center { justify-content: center; }

/* ==========================================================
   1 · HERO DARK
   ========================================================== */
.hero-dk { position: relative; overflow: hidden; background: var(--nero); padding-block: clamp(6rem, 12vw, 9rem) 0; isolation: isolate; }
.hero-dk__rays { position: absolute; inset: 0; z-index: 0; opacity: .5; pointer-events: none;
  background: radial-gradient(60% 40% at 30% 0%, rgba(201,177,138,.16), transparent 65%),
              radial-gradient(40% 30% at 80% 10%, rgba(201,177,138,.10), transparent 70%); }
.hero-dk .container { position: relative; z-index: 2; text-align: center; }
.hero-dk__badge { display: inline-flex; align-items: center; gap: 0; font-size: .82rem; font-weight: 700;
  border-radius: 999px; overflow: hidden; margin: 0 auto 2.4rem; border: 1px solid rgba(253,252,249,.14);
  background: rgba(253,252,249,.05); }
.hero-dk__badge span { padding: .55em 1.3em; }
.hero-dk__badge span:first-child { background: var(--beige-scuro); color: #fff; border-radius: 999px; }
.hero-dk__badge span:last-child { color: rgba(253,252,249,.75); display: inline-flex; align-items: center; gap: .4em; }
.hero-dk h1, .hero-dk h1 .elementor-heading-title { font-size: clamp(2.6rem, 6.6vw, 5.4rem); font-weight: 800;
  letter-spacing: -.03em; line-height: 1.04; color: var(--bianco-puro); max-width: 20ch; margin: 0 auto 2rem; }
.hero-dk h1 em { font-style: normal; color: var(--beige); }
.hero-dk__lead, .hero-dk__lead p { font-size: 1.15rem; color: rgba(253,252,249,.62); max-width: 40rem; margin: 0 auto 2.6rem; }
.hero-dk__lead strong { color: var(--bianco-puro); font-weight: 700; }
.hero-dk .btn-row { display: flex !important; flex-direction: row !important; flex-wrap: wrap; justify-content: center; align-items: center; gap: 14px; margin-bottom: 4.5rem; }
.hero-dk__orb-wrap { position: relative; height: clamp(140px, 22vw, 260px); overflow: hidden; }
.hero-dk__orb { position: absolute; left: 50%; bottom: -58%; width: min(1400px, 150vw); aspect-ratio: 1/1;
  transform: translateX(-50%); border-radius: 50%;
  background: radial-gradient(circle at 50% 38%, #FDFCF9 0%, var(--beige) 30%, var(--beige-scuro) 52%, rgba(201,177,138,.15) 66%, transparent 72%);
  filter: blur(2px); }
.hero-dk__orb::after { content: ""; position: absolute; inset: 0; border-radius: 50%; box-shadow: 0 0 90px 20px rgba(201,177,138,.16); }

/* ==========================================================
   2 · FASCIA FIDUCIA (counter)
   ========================================================== */
.trust { border-block: 1px solid var(--linea); background: var(--bianco-puro); padding-block: 2.2rem; }
.trust__grid { display: grid !important; grid-template-columns: repeat(2, 1fr); gap: 1.6rem 1rem; }
@media (min-width: 720px) { .trust__grid { grid-template-columns: repeat(4, 1fr); } }
.trust__item { text-align: center; display: flex; flex-direction: column; gap: .3rem; align-items: center; }
.trust__num, .trust__num .elementor-heading-title,
.trust__item .elementor-counter-number-wrapper {
  font-size: 1.5rem; font-weight: 800; letter-spacing: -.02em; line-height: 1; color: var(--nero); }
.trust__item .elementor-counter-number-wrapper { justify-content: center; }
.trust__lbl, .trust__lbl .elementor-heading-title { font-size: .78rem; font-weight: 600; color: var(--nero-soft); }

/* ==========================================================
   3 · STRISCIA BADGE (dark, statica)
   ========================================================== */
.mq-dk { background: var(--nero); padding-block: 2.4rem 3.2rem; text-align: center; }
.mq-dk__cap, .mq-dk__cap .elementor-heading-title { font-size: .74rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: rgba(253,252,249,.4); margin-bottom: 1.4rem; }
.mq-dk__row { display: flex; flex-wrap: wrap; gap: .7rem; justify-content: center; }
.mq-dk__badge { display: inline-flex; align-items: center; gap: .5rem; font-size: .85rem; font-weight: 600;
  color: rgba(253,252,249,.7); border: 1px solid rgba(253,252,249,.12); background: rgba(253,252,249,.04);
  padding: .55em 1.2em; border-radius: 999px; transition: border-color .25s ease, color .25s ease; }
.mq-dk__badge:hover { border-color: rgba(201,177,138,.5); color: var(--bianco-puro); }
.mq-dk__badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--beige); }

/* ==========================================================
   4 · SERVIZI BENTO (dark)
   ========================================================== */
.bento { display: grid !important; gap: 1rem; grid-template-columns: 1fr; }
@media (min-width: 700px) { .bento { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .bento { grid-template-columns: repeat(4, 1fr); } }
.bx { background: var(--bianco-puro); border: 1px solid var(--linea); border-radius: var(--r-lg);
  padding: 1.9rem 1.7rem; display: flex; flex-direction: column; gap: .8rem;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.bx:hover { transform: translateY(-5px); box-shadow: var(--sh-soft); border-color: var(--beige); }
.bx h3, .bx h3 .elementor-heading-title { margin: 0; font-size: 1.12rem; font-weight: 700; color: var(--nero); }
.bx p, .bx p .elementor-widget-container { font-size: .87rem; color: var(--nero-soft); }
.bx__num, .bx__num .elementor-heading-title { margin-top: auto; font-size: 1.5rem; font-weight: 800; color: var(--beige); letter-spacing: -.02em; }

.bento-dk { background: var(--nero); }
.bento-dk .head--center h2, .bento-dk .head--center h2 .elementor-heading-title { color: var(--bianco-puro); }
.bento-dk .head--center .kicker { color: var(--beige); }
.bento-dk .head--center .lead, .bento-dk .head--center .lead .elementor-heading-title { color: rgba(253,252,249,.6); }
.bento-dk .bx { background: rgba(253,252,249,.04); border-color: rgba(253,252,249,.1); }
.bento-dk .bx h3, .bento-dk .bx h3 .elementor-heading-title { color: var(--bianco-puro); }
.bento-dk .bx p, .bento-dk .bx p * { color: rgba(253,252,249,.6); }
.bento-dk .bx:hover { border-color: var(--beige); box-shadow: 0 8px 24px rgba(201,177,138,.18); }

/* ==========================================================
   5 · QUANTO COSTA (20%)
   ========================================================== */
.cost { background: var(--nero); color: rgba(255,255,255,.72); position: relative; overflow: hidden; isolation: isolate; }
.cost::before { content: ""; position: absolute; z-index: -1; left: -10%; top: -30%; width: 60%; aspect-ratio: 1/1; border-radius: 50%;
  background: radial-gradient(circle, rgba(201,177,138,.16), transparent 70%); pointer-events: none; }
.cost h2, .cost h2 .elementor-heading-title { color: #fff; }
.cost .kicker { color: var(--beige); }
.cost p, .cost .elementor-widget-text-editor { color: rgba(255,255,255,.72); }
.cost p strong { color: #fff; }
.cost__grid { display: grid !important; gap: 3rem; align-items: center; }
@media (min-width: 960px) { .cost__grid { grid-template-columns: 1fr 1.2fr; gap: 5rem; } }
.cost__num, .cost__num .elementor-heading-title { font-size: clamp(6rem, 14vw, 11rem); font-weight: 800; line-height: .9; color: var(--beige); letter-spacing: -.04em; }
.cost__num small { display: block; font-size: 1rem; font-weight: 700; color: rgba(255,255,255,.6); letter-spacing: .08em; text-transform: uppercase; margin-top: .8rem; }

/* ==========================================================
   6 · PRIMA / DOPO
   ========================================================== */
.bad { background: var(--beige-chiaro); }
.bad__grid { display: grid !important; gap: 1.2rem; align-items: stretch; }
@media (min-width: 900px) { .bad__grid { grid-template-columns: 1fr auto 1fr; align-items: center; } }
.bad__card { background: var(--bianco-puro); border-radius: var(--r-lg); padding: 2.2rem 2rem; border: 1px solid var(--linea); }
.bad__card--after { background: var(--nero); color: rgba(255,255,255,.75); border-color: var(--nero); box-shadow: var(--sh-float); }
.bad__card h3, .bad__card h3 .elementor-heading-title { font-size: .8rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 1.4rem; }
.bad__card--before h3, .bad__card--before h3 .elementor-heading-title { color: var(--nero-soft); }
.bad__card--after h3, .bad__card--after h3 .elementor-heading-title { color: var(--beige); }
.bad__list { list-style: none; margin: 0; padding: 0; display: grid; gap: .9rem; font-size: .92rem; }
.bad__list li { display: flex; gap: .7rem; align-items: flex-start; }
.bad__list .x { color: #B3552F; font-weight: 800; flex: none; }
.bad__list .v { color: var(--beige); font-weight: 800; flex: none; }
.bad__card--after strong { color: #fff; }
.bad__arrow { width: 54px; height: 54px; border-radius: 50%; background: var(--nero); color: var(--beige);
  display: grid; place-items: center; margin-inline: auto; font-size: 1.3rem; font-weight: 800; transform: rotate(90deg); }
@media (min-width: 900px) { .bad__arrow { transform: none; } }

/* ==========================================================
   7 · RECENSIONI
   ========================================================== */
.rev { display: grid !important; gap: 1rem; }
@media (min-width: 900px) { .rev { grid-template-columns: 1.45fr 1fr 1fr; } }
.rv { background: var(--bianco-puro); border: 1px solid var(--linea); border-radius: var(--r-lg);
  padding: 1.9rem 1.7rem; margin: 0; display: flex; flex-direction: column; gap: 1rem;
  transition: transform .25s ease, box-shadow .25s ease; }
.rv:hover { transform: translateY(-4px); box-shadow: var(--sh-soft); }
.rv--feat { background: var(--beige-chiaro); border-color: var(--beige); }
.rv__top { display: flex; justify-content: space-between; align-items: center; gap: .8rem; }
.rv .stars { color: var(--beige-scuro); letter-spacing: 3px; font-size: .88rem; }
.rv__via { font-size: .66rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; background: var(--bianco-puro);
  border: 1px solid var(--linea); border-radius: var(--r-pill); padding: .3em .9em; color: var(--nero-soft); }
.rv p, .rv .elementor-widget-text-editor { font-size: .94rem; font-weight: 500; line-height: 1.65; }
.rv--feat p { font-size: 1.05rem; }
.rv footer { display: flex; align-items: center; gap: .8rem; margin-top: auto; }
.rv__av { width: 40px; height: 40px; border-radius: 50%; background: var(--nero); color: var(--beige);
  display: grid; place-items: center; font-size: .8rem; font-weight: 800; flex: none; }
.rv footer strong { display: block; font-size: .86rem; line-height: 1.3; }
.rv footer span { font-size: .72rem; color: var(--nero-soft); }

/* ==========================================================
   8 · AREE SERVITE
   ========================================================== */
.zone { display: grid !important; gap: 1rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .zone { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .zone { grid-template-columns: repeat(3, 1fr); } }
.zn { position: relative; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--sh-soft); text-decoration: none; display: block; }
.zn .elementor-widget-image, .zn img { height: 100%; }
.zn img { aspect-ratio: 3 / 3.5; width: 100%; object-fit: cover; transition: transform .8s ease; }
.zn:hover img { transform: scale(1.05); }
.zn__lb { position: absolute; inset: auto 1rem 1rem; background: rgba(253, 252, 249, .9); backdrop-filter: blur(8px);
  border-radius: var(--r-md); padding: .8rem 1rem; }
.zn__lb strong, .zn__lb strong .elementor-heading-title { display: block; font-size: .98rem; font-weight: 800; color: var(--nero); }
.zn__lb span, .zn__lb span .elementor-heading-title { font-size: .72rem; font-weight: 600; color: var(--nero-soft); }

/* ==========================================================
   9 · FAQ (accordion nativo Elementor ristilizzato)
   ========================================================== */
.faq { max-width: 50rem; margin-inline: auto; }
.faq .elementor-accordion-item { background: var(--bianco-puro); border: 1px solid var(--linea) !important; border-radius: var(--r-lg); margin-bottom: .7rem; overflow: hidden; transition: border-color .2s ease; }
.faq .elementor-accordion-item:hover, .faq .elementor-tab-title.elementor-active + .elementor-tab-content ~ *, .faq .elementor-accordion-item:has(.elementor-active) { border-color: var(--beige); }
.faq .elementor-tab-title { font-weight: 700 !important; font-size: .96rem !important; padding: 1.1rem 1.4rem !important; border: none !important; }
.faq .elementor-tab-title a, .faq .elementor-tab-title { color: var(--nero) !important; }
.faq .elementor-tab-content { padding: 0 1.4rem 1.3rem !important; color: var(--nero-soft) !important; font-size: .89rem !important; border: none !important; }
.faq .elementor-accordion-icon { color: var(--beige-scuro); }

/* ==========================================================
   10 · BLOG TEASER (card statiche fedeli; convertibili in Loop Grid)
   ========================================================== */
.posts { display: grid !important; gap: 1rem; grid-template-columns: 1fr; }
@media (min-width: 900px) { .posts { grid-template-columns: repeat(3, 1fr); } }
.aa-home .post { background: var(--bianco-puro); border: 1px solid var(--linea); border-radius: var(--r-lg); overflow: hidden;
  text-decoration: none; color: inherit; display: flex; flex-direction: column;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.aa-home .post:hover { transform: translateY(-4px); box-shadow: var(--sh-float); border-color: var(--beige); }
.aa-home .post .thumb { display: block; overflow: hidden; position: relative; }
.aa-home .post .thumb img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; display: block; transition: transform .8s ease; }
.aa-home .post:hover .thumb img { transform: scale(1.05); }
.aa-home .post time, .aa-home .post .post__date { display: block; margin: 1.2rem 1.5rem 0; font-size: .68rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--beige-scuro); }
.aa-home .post h3, .aa-home .post h3 .elementor-heading-title { margin: .5rem 1.5rem 0; font-size: 1.05rem; line-height: 1.35; transition: color .2s ease; color: var(--nero); }
.aa-home .post:hover h3, .aa-home .post:hover h3 .elementor-heading-title { color: var(--beige-scuro); }
.aa-home .post p, .aa-home .post p .elementor-widget-container { margin: .5rem 1.5rem 1.5rem; font-size: .88rem; color: var(--nero-soft); }

/* ==========================================================
   11 · CALLOUT CTA FINALE (dark glow)
   ========================================================== */
.callout { background: var(--beige-chiaro); border: 1px solid var(--beige); border-radius: var(--r-lg);
  padding: 2.2rem 2rem; display: flex; flex-wrap: wrap; gap: 1.5rem; align-items: center; justify-content: space-between; }
.callout h3, .callout h3 .elementor-heading-title { font-size: clamp(1.2rem, 2.4vw, 1.6rem); font-weight: 800; margin: 0; }
.callout p, .callout .elementor-widget-text-editor { font-size: .88rem; color: var(--nero-soft); margin: .3rem 0 0; }
.callout--dk { background: var(--nero); border-color: var(--nero); position: relative; overflow: hidden; isolation: isolate; }
.callout--dk::before { content: ""; position: absolute; z-index: -1; right: -8%; bottom: -60%; width: 46%; aspect-ratio: 1/1; border-radius: 50%;
  background: radial-gradient(circle, rgba(201,177,138,.14), transparent 70%); }
.callout--dk h3, .callout--dk h3 .elementor-heading-title { color: var(--bianco-puro); }
.callout--dk p, .callout--dk .elementor-widget-text-editor { color: rgba(253,252,249,.6); }
.callout .callout__txt { flex: 1 1 20rem; }

/* ==========================================================
   HELPER — sostituiscono tag <strong>/<footer>/<cite>/<time>
   non producibili dai widget nativi (heading/text) di Elementor.
   ========================================================== */
.aa-sec-white { background: var(--bianco-puro); border-block: 1px solid var(--linea); }

.zn__name, .zn__name .elementor-heading-title { display: block; font-size: .98rem; font-weight: 800; color: var(--nero); line-height: 1.2; }
.zn__sub,  .zn__sub .elementor-heading-title  { font-size: .72rem; font-weight: 600; color: var(--nero-soft); }

.rv__foot { display: flex; align-items: center; gap: .8rem; margin-top: auto; }
.rv__name, .rv__name .elementor-heading-title { display: block; font-size: .86rem; font-weight: 800; line-height: 1.3; color: var(--nero); }
.rv__role, .rv__role .elementor-heading-title { font-size: .72rem; color: var(--nero-soft); font-weight: 600; }
.rv__av,   .rv__av .elementor-heading-title   { font-size: .8rem; font-weight: 800; color: var(--beige); }
.rv__av { width: 40px; height: 40px; border-radius: 50%; background: var(--nero); display: grid; place-items: center; flex: none; }
.rv .stars, .rv .stars .elementor-heading-title { color: var(--beige-scuro); letter-spacing: 3px; font-size: .88rem; }
.rv__via,  .rv__via .elementor-heading-title  { font-size: .66rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--nero-soft); }

/* ==========================================================
   FLEX DIRECTION — i Container Elementor sono column di default:
   forziamo row dove il layout lo richiede.
   ========================================================== */
.btn-row, .mq-dk__row, .rv__top, .rv__foot, .callout { flex-direction: row; }
.bad__list li { flex-direction: row; }
.zn__lb { flex-direction: column; }

/* ================= FIDELITY FIX — colore titoli (Elementor default) =================
   Elementor lega OGNI titolo al colore globale primario con
   .elementor-widget-heading .elementor-heading-title { color: primary }  (0,2,0),
   sovrascrivendo i colori di sezione del design. Facciamo ereditare i titoli
   dal contenitore (gia' colorato per sezione), con specificita' (0,3,0) per vincere. */
.aa-home .elementor-widget-heading .elementor-heading-title { color: inherit; }
/* Sezioni scure: colore base, cosi' i titoli generici ereditano bianco */
.aa-home .hero-dk   { color: var(--bianco-puro); }
.aa-home .bento-dk  { color: var(--bianco-puro); }
.aa-home .cost      { color: #fff; }
.aa-home .callout--dk { color: var(--bianco-puro); }
/* Eccezioni dentro le card Prima/Dopo (serve > 0,3,0) */
.aa-home .bad__card--after  h3.elementor-heading-title { color: var(--beige); }
.aa-home .bad__card--before h3.elementor-heading-title { color: var(--nero-soft); }

/* ================= FIDELITY FIX — striscia badge (mq-dk) =================
   I Container Elementor forzano width:100%, impilando i badge. Li facciamo
   restringere al contenuto e affiancare con wrap centrato. */
.aa-home .mq-dk__row { flex-direction: row; flex-wrap: wrap; justify-content: center; }
.aa-home .mq-dk__badge { width: auto; max-width: 100%; flex: 0 0 auto; }

/* ============================================================
   HERO PREMIUM v2 — editoriale, "studio creativo di lusso"
   ============================================================ */

/* Nascondi header bianco di default Hello (nav trasparente = Fase 5) */
#site-header { display: none !important; }
html { overflow-x: hidden; }

/* ============================================================
   HEADER GLOBALE — sistema unico (Theme Builder id 48)
   Layout desktop: logo (sx) | menu centrato | CTA (dx), una riga.
   Stati: .hd--over-dark (hero scure) / .hd--over-light (hero chiare) / .is-stuck (scroll)
   ============================================================ */
.hd { position: fixed; inset: 0 0 auto 0; z-index: 90; padding-top: 0;
  transition: padding-top .26s cubic-bezier(.22,1,.36,1); }

/* Riga unica a 3 zone: griglia => menu perfettamente centrato a prescindere da logo/CTA */
.hd .hd__in {
  position: relative; z-index: 1;
  display: grid !important; grid-template-columns: 1fr auto 1fr; align-items: center; column-gap: 20px;
  width: 100%; max-width: 1184px; margin-inline: auto; min-height: 68px; padding: 0 24px;
  transition: min-height .26s ease, padding .26s ease, max-width .26s ease;
}

/* Pannello vetro — appare solo allo scroll (floating) */
.hd .hd__in::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(255,255,255,.84);
  -webkit-backdrop-filter: blur(18px) saturate(140%); backdrop-filter: blur(18px) saturate(140%);
  border: 1px solid rgba(255,255,255,.35); border-radius: 18px;
  box-shadow: 0 10px 30px rgba(15,20,30,.06);
  opacity: 0; transform: translateY(-4px) scale(.99); transform-origin: top center;
  transition: opacity .26s cubic-bezier(.22,1,.36,1), transform .26s cubic-bezier(.22,1,.36,1);
  pointer-events: none;
}
.hd.is-stuck { padding-top: 12px; }
.hd.is-stuck .hd__in { min-height: 64px; max-width: min(1140px, calc(100% - 28px)); padding-inline: 26px; }
.hd.is-stuck .hd__in::before { opacity: 1; transform: none; }

/* LOGO (zona sinistra) */
.hd__logo { position: relative; grid-column: 1; grid-row: 1; justify-self: start; display: inline-flex; align-items: center; line-height: 0; padding: 0 !important; }
.hd .hd__logo { width: auto !important; }
.hd__logo .elementor-widget-image, .hd__logo .elementor-widget-container { line-height: 0; }
.hd__logo img { height: 33px; width: auto; display: block; transition: height .26s ease, opacity .28s ease; }
.hd.is-stuck .hd__logo img { height: 30px; }
.hd__logo-w, .hd__logo-d { transition: opacity .28s ease; }
.hd__logo-d { position: absolute; left: 0; top: 50%; transform: translateY(-50%); }

/* NAV (zona centrale, centrata) */
.hd__nav { grid-column: 2; grid-row: 1; justify-self: center; width: auto !important; }
.hd .elementor-nav-menu--main, .hd .elementor-nav-menu--main ul { display: flex !important; flex-wrap: nowrap !important; gap: 0 28px !important; white-space: nowrap; }
.hd .elementor-nav-menu--main .elementor-item {
  position: relative; font-size: .85rem !important; font-weight: 500 !important; letter-spacing: .01em;
  padding: .4rem 0 !important; white-space: nowrap; background: transparent !important; transition: color .2s ease; }
.hd .elementor-nav-menu--main .elementor-item::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; border-radius: 2px;
  background: var(--beige); transform: scaleX(0); transform-origin: center;
  transition: transform .28s cubic-bezier(.22,1,.36,1); }
.hd .elementor-nav-menu--main .elementor-item:hover::after,
.hd .elementor-nav-menu--main .elementor-item.elementor-item-active::after { transform: scaleX(1); }

/* AZIONI (zona destra) — solo CTA, non dominante */
.hd__actions { grid-column: 3; grid-row: 1; justify-self: end; display: flex; flex-direction: row; align-items: center; gap: 10px; padding: 0 !important; width: auto !important; }
.hd .hd__tel, .hd .hd__prenota { display: none !important; }
.hd .aa-btn .elementor-button {
  --aa-h: 46px !important; padding: 0 22px !important; border-radius: 15px !important; min-width: 0 !important;
  font-size: .82rem !important; font-weight: 600 !important; box-shadow: none !important; }
.hd .aa-btn.aa-btn-primary .elementor-button:hover { box-shadow: 0 8px 24px rgba(201,177,138,.18) !important; }
.hd__cta-mini { display: none !important; }

/* ---- STATO over-dark (hero scure): trasparente, testo/logo bianchi, CTA beige ---- */
.hd--over-dark:not(.is-stuck) .elementor-nav-menu--main .elementor-item { color: rgba(253,252,249,.86) !important; }
.hd--over-dark:not(.is-stuck) .elementor-nav-menu--main .elementor-item:hover,
.hd--over-dark:not(.is-stuck) .elementor-nav-menu--main .elementor-item.elementor-item-active { color: #fff !important; }
.hd--over-dark:not(.is-stuck) .hd__logo-w { opacity: 1; }
.hd--over-dark:not(.is-stuck) .hd__logo-d { opacity: 0; }
.hd--over-dark:not(.is-stuck) .elementor-menu-toggle { color: #fff; }

/* ---- STATO over-light (hero chiare): trasparente, testo/logo scuri ---- */
.hd--over-light:not(.is-stuck) .elementor-nav-menu--main .elementor-item { color: var(--nero-soft) !important; }
.hd--over-light:not(.is-stuck) .elementor-nav-menu--main .elementor-item:hover,
.hd--over-light:not(.is-stuck) .elementor-nav-menu--main .elementor-item.elementor-item-active { color: var(--nero) !important; }
.hd--over-light:not(.is-stuck) .hd__logo-w { opacity: 0; }
.hd--over-light:not(.is-stuck) .hd__logo-d { opacity: 1; }
.hd--over-light:not(.is-stuck) .elementor-menu-toggle { color: var(--nero); }

/* ---- STATO stuck (scroll): vetro chiaro, testo/logo scuri ---- */
.hd.is-stuck .elementor-nav-menu--main .elementor-item { color: var(--nero-soft) !important; }
.hd.is-stuck .elementor-nav-menu--main .elementor-item:hover,
.hd.is-stuck .elementor-nav-menu--main .elementor-item.elementor-item-active { color: var(--nero) !important; }
.hd.is-stuck .hd__logo-w { opacity: 0; }
.hd.is-stuck .hd__logo-d { opacity: 1; }
.hd.is-stuck .elementor-menu-toggle { color: var(--nero); }

/* BURGER */
.hd .elementor-menu-toggle { width: 42px; height: 42px; display: none; align-items: center; justify-content: center;
  border-radius: 12px; transition: background .25s ease, color .25s ease; }
.hd .elementor-menu-toggle:hover { background: rgba(127,127,127,.1); }
.hd .elementor-menu-toggle:focus-visible { outline: 2px solid var(--beige); outline-offset: 2px; }
.hd .elementor-menu-toggle i, .hd .elementor-menu-toggle svg { font-size: 24px; width: 24px; height: 24px; }

/* DROPDOWN mobile */
.hd .elementor-nav-menu--dropdown { background: rgba(11,14,17,.98) !important;
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  border-radius: 16px !important; margin-top: 10px; box-shadow: 0 24px 50px -18px rgba(0,0,0,.5); overflow: hidden; border: 1px solid rgba(255,255,255,.06) !important; }
.hd .elementor-nav-menu--dropdown ul { display: block !important; }
.hd .elementor-nav-menu--dropdown li { display: block !important; width: 100% !important; }
.hd .elementor-nav-menu--dropdown .elementor-item { display: block !important; width: 100% !important; text-align: left;
  color: rgba(253,252,249,.85) !important; padding: 1rem 1.4rem !important; }
.hd .elementor-nav-menu--dropdown .elementor-item:hover { background: rgba(255,255,255,.06) !important; color: #fff !important; }

body:not(.home) { padding-top: 88px; }

/* ===== TABLET (<=1024): logo sx | CTA | burger dx ===== */
@media (max-width: 1024px) {
  .hd .hd__in { grid-template-columns: 1fr auto auto; column-gap: 10px; min-height: 64px; padding-inline: 22px; max-width: 100%; }
  .hd.is-stuck .hd__in { min-height: 60px; padding-inline: 20px; }
  .hd.is-stuck .hd__in::before { border-radius: 16px; }
  .hd__logo { grid-column: 1; }
  .hd__actions { grid-column: 2; justify-self: end; }
  .hd__nav { grid-column: 3; justify-self: end; }
  .hd .elementor-nav-menu--main { display: none !important; }
  .hd .elementor-menu-toggle { display: flex !important; }
  .hd .elementor-nav-menu--dropdown { position: absolute !important; top: calc(100% + 8px) !important;
    right: 0 !important; left: auto !important; width: min(340px, calc(100vw - 32px)) !important; }
  .hd__logo img { height: 31px; }
  .hd .aa-btn .elementor-button { --aa-h: 44px !important; padding: 0 18px !important; font-size: .8rem !important; }
}
/* ===== MOBILE (<=600): CTA compatta "Valuta" ===== */
@media (max-width: 600px) {
  .hd .hd__in { min-height: 60px; padding-inline: 16px; }
  .hd.is-stuck { padding-top: 10px; }
  .hd.is-stuck .hd__in { min-height: 56px; padding-inline: 14px; }
  .hd.is-stuck .hd__in::before { border-radius: 15px; }
  .hd__logo img { height: 28px; }
  .hd__cta { display: none !important; }
  .hd__cta-mini { display: inline-flex !important; }
  .hd .aa-btn .elementor-button { --aa-h: 42px !important; padding: 0 16px !important; font-size: .8rem !important; }
  .hd .elementor-menu-toggle { width: 40px; height: 40px; }
  body:not(.home) { padding-top: 72px; }
}

/* ============================================================
   FOOTER — globale (chiaro, Design System AirAffitti)
   ============================================================ */
.aa-ft { background: var(--bianco); border-top: 1px solid var(--linea); }
.aa-ft .aa-ft__inner { max-width: 1184px; margin-inline: auto; padding-inline: 1.5rem; width: 100%; }
.aa-ft .aa-ft__grid { display: grid !important; gap: 2.2rem; padding-block: clamp(3rem,6vw,3.5rem) 2.5rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .aa-ft .aa-ft__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .aa-ft .aa-ft__grid { grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr; } }
.aa-ft .aa-ft__grid > * { min-width: 0; }
.aa-ft__col, .aa-ft__brand { display: flex; flex-direction: column; }

.aa-ft__brand img { height: 30px !important; width: auto !important; }
.aa-ft__brand .elementor-widget-text-editor { font-size: .87rem; color: var(--nero-soft); max-width: 32ch; margin-top: 1.1rem; line-height: 1.6; }
.aa-ft__brand .elementor-widget-text-editor strong { color: var(--nero); }

.aa-ft h4, .aa-ft .elementor-heading-title { font-size: .72rem !important; font-weight: 800 !important; letter-spacing: .14em; text-transform: uppercase; margin: 0 0 1rem !important; color: var(--nero); }

.aa-ft .elementor-icon-list-items { display: grid; gap: .55rem; }
.aa-ft .elementor-icon-list-icon { display: none !important; }
.aa-ft .elementor-icon-list-item { padding: 0 !important; margin: 0 !important; border: none !important; }
.aa-ft .elementor-icon-list-text { font-size: .85rem !important; color: var(--nero-soft) !important; transition: color .2s ease; }
.aa-ft .elementor-icon-list-item:hover .elementor-icon-list-text { color: var(--nero) !important; text-decoration: underline; }

.aa-ft__soc { margin-top: 1.2rem; }
.aa-ft__soc .elementor-social-icons-wrapper { gap: .7rem; justify-content: flex-start; }
.aa-ft__soc .elementor-social-icon { width: 38px !important; height: 38px !important; background: transparent !important;
  border: 1px solid var(--linea) !important; color: var(--nero) !important; border-radius: 50% !important; transition: border-color .2s ease, color .2s ease; }
.aa-ft__soc .elementor-social-icon:hover { border-color: var(--beige-scuro) !important; color: var(--beige-scuro) !important; }
.aa-ft__soc .elementor-social-icon svg { width: 16px !important; height: 16px !important; fill: currentColor; }

/* ===== Footer CTA — sistema unico (aa-btn): affiancati desktop, impilati mobile ===== */
.aa-ft__cta { display: flex !important; flex-flow: row wrap; align-items: center; gap: 12px !important; margin-top: 1.4rem; }
.aa-ft__cta .aa-btn { flex: 0 0 auto !important; width: auto !important; }
.aa-ft .aa-btn .elementor-button {
  display: inline-flex !important; align-items: center; justify-content: center; gap: .5em;
  --aa-h: 44px !important; min-height: 44px; padding: 0 22px !important;
  font-size: .82rem !important; font-weight: 600 !important; border-radius: 15px !important;
  box-shadow: none !important; width: auto !important; min-width: 0 !important; white-space: nowrap; }
.aa-ft .aa-btn .elementor-button .elementor-button-icon { display: inline-flex; }
.aa-ft .aa-btn-primary .elementor-button { border-color: rgba(20,24,29,.06) !important; }
.aa-ft .aa-btn-primary .elementor-button:hover { transform: translateY(-1px); box-shadow: 0 8px 24px rgba(201,177,138,.18) !important; }
.aa-ft .aa-btn-secondary .elementor-button { border-color: rgba(20,24,29,.18) !important; }
@media (max-width: 600px) {
  .aa-ft__cta { flex-direction: column !important; align-items: stretch; gap: 12px !important; }
  .aa-ft__cta .aa-btn, .aa-ft__cta .aa-btn .elementor-button { width: 100% !important; }
}

/* Footer bottom bar (copyright + legali) */
.aa-ft .aa-ft__bot { border-top: 1px solid var(--linea); padding-block: 1.3rem; display: flex !important; flex-direction: row !important;
  flex-wrap: wrap; gap: .8rem; justify-content: space-between; align-items: center; }
.aa-ft__bot .elementor-widget-text-editor, .aa-ft__bot .elementor-heading-title, .aa-ft__bot a { font-size: .74rem !important; color: var(--nero-soft) !important; }
.aa-ft__bot a { text-decoration: none; }
.aa-ft__bot a:hover { color: var(--nero) !important; text-decoration: underline; }
@media (max-width: 720px) { .aa-ft .aa-ft__bot { padding-bottom: 2rem; } }

/* Footer: colonna brand più larga per i 2 CTA affiancati */
@media (min-width: 1000px) { .aa-ft .aa-ft__grid { grid-template-columns: 1.9fr 1fr 1fr 1fr 1fr; } }

/* ============================================================
   RIFINITURE — Callout finale + card Prima/Dopo animate
   ============================================================ */
/* Callout: bottone lungo -> piena larghezza, va a capo elegante su mobile (niente clip) */
@media (max-width: 600px) {
  .callout .aa-btn { width: 100% !important; }
  .callout .aa-btn .elementor-button {
    width: 100% !important; white-space: normal !important; height: auto !important;
    min-height: 50px; padding: .8em 1.3em !important; line-height: 1.3; text-align: center;
  }
  .callout .aa-btn .elementor-button-content-wrapper { flex-wrap: wrap; justify-content: center; row-gap: 2px; }
}

/* Prima/Dopo: card animate all'hover (lift + illuminazione) */
.bad__card { transition: opacity .6s cubic-bezier(.16,1,.3,1), transform .35s cubic-bezier(.16,1,.3,1),
  box-shadow .35s ease, border-color .3s ease; will-change: transform; }
.bad__card--before:hover { transform: translateY(-6px); border-color: var(--beige);
  box-shadow: 0 20px 46px -22px rgba(20,24,29,.28); }
.bad__card--after { position: relative; overflow: hidden; }
.bad__card--after::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  opacity: 0; transition: opacity .45s ease;
  background: radial-gradient(120% 90% at 50% -12%, rgba(201,177,138,.13), transparent 62%); }
.bad__card--after:hover { transform: translateY(-6px); border-color: var(--beige);
  box-shadow: 0 0 0 1px rgba(201,177,138,.18), 0 16px 40px rgba(0,0,0,.20); }
.bad__card--after:hover::after { opacity: 1; }
/* micro-interazione: le voci si spostano appena e i check si accendono */
.bad__list li { transition: transform .25s ease; }
.bad__card:hover .bad__list li { transform: translateX(3px); }
.bad__card--after:hover .bad__list .v { color: #E7D3AC; }
/* freccia centrale: leggero pulse quando si passa sulla sezione */
.bad__arrow { transition: transform .35s cubic-bezier(.16,1,.3,1), box-shadow .35s ease; }
.bad:hover .bad__arrow { box-shadow: 0 0 0 6px rgba(201,177,138,.12); }

/* Callout mobile — testo compatto (no flex-grow), freccia in linea a destra */
@media (max-width: 600px) {
  .callout { justify-content: flex-start !important; gap: 1.7rem !important; }
  .callout .callout__txt { flex: 0 0 auto !important; }
  .callout .aa-btn .elementor-button-content-wrapper { flex-wrap: nowrap !important; align-items: center; }
  .callout .aa-btn .elementor-button-text { white-space: normal; line-height: 1.3; text-align: center; }
}

/* ============================================================
   RIFINITURE 2 — Callout orizzontale + card premium (zone + blog)
   ============================================================ */
/* Callout: barra orizzontale (fine effetto "staccato") */
.callout { flex-direction: row !important; align-items: center !important; justify-content: space-between !important; flex-wrap: wrap; gap: 2rem !important; }
.callout .callout__txt { flex: 1 1 22rem; }
.callout .aa-btn { flex: 0 0 auto; }
@media (max-width: 600px) {
  .callout { flex-direction: column !important; align-items: flex-start !important; justify-content: flex-start !important; gap: 1.6rem !important; }
}

/* --- Card ZONE / ALLOGGI: image-forward premium --- */
.zn { position: relative; border-radius: 18px; overflow: hidden;
  box-shadow: 0 12px 32px -20px rgba(20,24,29,.35);
  transition: opacity .6s cubic-bezier(.16,1,.3,1), transform .45s cubic-bezier(.16,1,.3,1), box-shadow .45s ease; }
.zn::after { content:""; position:absolute; inset:0; z-index:1; pointer-events:none; border-radius:inherit;
  background: linear-gradient(to top, rgba(11,14,17,.85) 0%, rgba(11,14,17,.40) 34%, rgba(11,14,17,0) 60%); }
.zn::before { content:""; position:absolute; z-index:3; top:1.1rem; right:1.1rem; width:40px; height:40px; border-radius:50%;
  background:rgba(20,24,29,.32); -webkit-backdrop-filter:blur(8px); backdrop-filter:blur(8px); border:1px solid rgba(255,255,255,.28);
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='15' height='15' fill='none' stroke='%23fff' stroke-width='2.4'%3E%3Cpath d='M3 11h9m-4-5 5 5-5 5'/%3E%3C/svg%3E");
  background-repeat:no-repeat; background-position:center;
  opacity:0; transform:scale(.8) translateY(4px); transition:opacity .4s ease, transform .4s cubic-bezier(.16,1,.3,1); }
.zn:hover::before { opacity:1; transform:scale(1) translateY(0); }
.zn img { transition: transform .9s cubic-bezier(.16,1,.3,1); }
.zn:hover { transform: translateY(-6px); box-shadow: 0 30px 66px -28px rgba(20,24,29,.5); }
.zn:hover img { transform: scale(1.09); }
.zn__lb { position:absolute !important; inset:auto 1.4rem 1.3rem 1.4rem !important; z-index:2;
  background:transparent !important; -webkit-backdrop-filter:none !important; backdrop-filter:none !important; padding:0 !important; border-radius:0 !important; }
.zn__name, .zn__name .elementor-heading-title { color:#fff !important; font-size:1.22rem !important; font-weight:800 !important; letter-spacing:-.01em; text-shadow:0 2px 12px rgba(0,0,0,.35); }
.zn__sub, .zn__sub .elementor-heading-title { color:rgba(255,255,255,.82) !important; font-size:.78rem !important; }

/* --- Card BLOG / ARTICOLI: premium --- */
.aa-home .post { position: relative; border-radius: 18px; overflow: hidden;
  box-shadow: 0 10px 28px -20px rgba(20,24,29,.2);
  transition: opacity .6s cubic-bezier(.16,1,.3,1), transform .35s cubic-bezier(.16,1,.3,1), box-shadow .35s ease, border-color .3s ease; }
.aa-home .post:hover { transform: translateY(-6px); box-shadow: 0 30px 64px -28px rgba(20,24,29,.33); border-color: var(--beige); }
.aa-home .post .thumb { position: relative; overflow: hidden; }
.aa-home .post .thumb::after { content:""; position:absolute; inset:0; background:linear-gradient(to top, rgba(11,14,17,.42), transparent 50%); opacity:0; transition:opacity .4s ease; }
.aa-home .post:hover .thumb::after { opacity:1; }
.aa-home .post .thumb img { transition: transform .8s cubic-bezier(.16,1,.3,1); }
.aa-home .post:hover .thumb img { transform: scale(1.07); }
.post__date { position:absolute !important; top:1rem; left:1rem; z-index:3; margin:0 !important;
  background:rgba(253,252,249,.94); -webkit-backdrop-filter:blur(6px); backdrop-filter:blur(6px);
  padding:.45em .9em !important; border-radius:999px; box-shadow:0 4px 12px -6px rgba(20,24,29,.3); }
.post__date, .post__date .elementor-heading-title { font-size:.62rem !important; color:var(--beige-scuro) !important; }
.aa-home .post h3 { margin-top:1.5rem !important; }
.aa-home .post h3::after { content:" \2192"; color:var(--beige-scuro); opacity:0; display:inline-block; transform:translateX(-4px);
  transition:opacity .3s ease, transform .3s ease; }
.aa-home .post:hover h3::after { opacity:1; transform:translateX(0); }

/* ============================================================
   RIFINITURE 3 — Card premium unificate (zone + blog) — SaaS-grade
   Edge-to-edge, radius 22, overlay graduale, titolo importante,
   badge, hover naturale (scale 1.04, lift 8, glow beige), skeleton.
   ============================================================ */
@keyframes aa-skeleton { 0% { background-position: 180% 0; } 100% { background-position: -180% 0; } }

/* --- Comune --- */
.zn, .aa-home .post {
  position: relative; border-radius: 22px; overflow: hidden; border: none !important;
  box-shadow: 0 14px 34px -22px rgba(20,24,29,.30);
  transition: transform .4s cubic-bezier(.16,1,.3,1), box-shadow .4s ease, opacity .6s cubic-bezier(.16,1,.3,1);
  background: linear-gradient(100deg,#e9e3d6 25%,#f4efe5 50%,#e9e3d6 75%); background-size: 200% 100%;
  animation: aa-skeleton 1.5s ease-in-out infinite;
}
.zn.is-loaded, .aa-home .post.is-loaded { animation: none; background: #e9e3d6; }
.zn img, .aa-home .post .thumb img { opacity: 0; transition: transform .9s cubic-bezier(.16,1,.3,1), opacity .55s ease; }
.zn.is-loaded img, .aa-home .post.is-loaded .thumb img { opacity: 1; }
/* overlay nero graduale */
.zn::after, .aa-home .post::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; border-radius: inherit;
  background: linear-gradient(to top, rgba(11,14,17,.88) 0%, rgba(11,14,17,.55) 26%, rgba(11,14,17,.12) 50%, transparent 68%); }
/* freccia hover (top-right) */
.zn::before, .aa-home .post::before { content: ""; position: absolute; z-index: 4; top: 1rem; right: 1rem; width: 40px; height: 40px; border-radius: 50%;
  background: rgba(20,24,29,.35); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,.28);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='15' height='15' fill='none' stroke='%23fff' stroke-width='2.4'%3E%3Cpath d='M3 11h9m-4-5 5 5-5 5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: center;
  opacity: 0; transform: scale(.82) translateY(5px); transition: opacity .4s ease, transform .45s cubic-bezier(.16,1,.3,1); }
.zn:hover::before, .aa-home .post:hover::before { opacity: 1; transform: scale(1) translateY(0); }
/* hover naturale */
.zn:hover, .aa-home .post:hover { transform: translateY(-8px);
  box-shadow: 0 18px 44px rgba(20,24,30,.10), 0 0 0 1px rgba(201,177,138,.14); }
.zn:hover img, .aa-home .post:hover .thumb img { transform: scale(1.04); }

/* --- ZONE (immagine in flusso definisce l'altezza) --- */
.zn__lb { position: absolute !important; inset: auto 1.4rem 1.35rem 1.4rem !important; z-index: 2;
  background: transparent !important; -webkit-backdrop-filter: none !important; backdrop-filter: none !important; padding: 0 !important; border-radius: 0 !important; }
.zn__name, .zn__name .elementor-heading-title { color: #fff !important; font-size: 1.32rem !important; font-weight: 800 !important; letter-spacing: -.015em; text-shadow: 0 2px 14px rgba(0,0,0,.4); }
.zn__name .elementor-heading-title::before { content: ""; display: inline-block; width: 12px; height: 15px; margin-right: .45em; vertical-align: -2px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='15' fill='none' stroke='%23C9B18A' stroke-width='2'%3E%3Cpath d='M6 14s5-4.5 5-8.5A5 5 0 1 0 1 5.5C1 9.5 6 14 6 14z'/%3E%3Ccircle cx='6' cy='5.3' r='1.4' fill='%23C9B18A' stroke='none'/%3E%3C/svg%3E") no-repeat center/contain; }
.zn__sub, .zn__sub .elementor-heading-title { color: rgba(255,255,255,.82) !important; font-size: .78rem !important; }

/* --- BLOG (card image-forward) --- */
.aa-home .post { display: block !important; aspect-ratio: 4 / 5; }
.aa-home .post .thumb { position: absolute !important; inset: 0; margin: 0 !important; z-index: 0; }
.aa-home .post .thumb .elementor-widget-container { height: 100%; }
.aa-home .post .thumb::after { display: none !important; }
.aa-home .post .thumb img { width: 100% !important; height: 100% !important; object-fit: cover; }
.post__date { position: absolute !important; top: 1rem; left: 1rem; z-index: 3; margin: 0 !important;
  background: rgba(253,252,249,.14); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.25); padding: .42em .85em !important; border-radius: 999px; box-shadow: none; }
.post__date, .post__date .elementor-heading-title { font-size: .6rem !important; color: #fff !important; letter-spacing: .14em; font-weight: 800; }
.aa-home .post h3 { position: absolute !important; left: 1.4rem; right: 1.4rem; bottom: 1.35rem; z-index: 2; margin: 0 !important;
  color: #fff !important; font-size: 1.18rem !important; line-height: 1.25; font-weight: 800; text-shadow: 0 2px 14px rgba(0,0,0,.42); }
.aa-home .post h3::after { display: none !important; }
.aa-home .post p { display: none !important; }

/* BLOG card — fix layout (flex column, immagine sfondo, titolo in basso) */
.aa-home .post { display: flex !important; flex-direction: column; justify-content: flex-end; align-items: stretch; }
.aa-home .post .thumb { position: absolute !important; inset: 0 !important; margin: 0 !important; z-index: 0; }
.aa-home .post .thumb *:not(img) { height: 100% !important; width: 100% !important; }
.aa-home .post .thumb img { width: 100% !important; height: 100% !important; object-fit: cover !important; opacity: 0; }
.aa-home .post.is-loaded .thumb img { opacity: 1; }
.aa-home .post .elementor-widget-heading { position: relative; z-index: 2; }
.post__date { z-index: 3 !important; }
.aa-home .post h3 { position: static !important; margin: 0 1.4rem 1.35rem !important; color: #fff !important;
  font-size: 1.18rem !important; line-height: 1.25; font-weight: 800; text-shadow: 0 2px 14px rgba(0,0,0,.42); }
.aa-home .post p, .aa-home .post .elementor-widget-text-editor { display: none !important; }

/* Fix contorno chiaro: azzera padding container -> immagine edge-to-edge reale */
.zn, .aa-home .post, .aa-home .post .thumb { padding: 0 !important; }
.zn > .elementor-widget-image, .aa-home .post .thumb > .elementor-widget-image { padding: 0 !important; }

/* ============================================================
   QA FINALE — coerenza raggi card + focus-visible accessibile
   ============================================================ */
/* raggio card unificato a 22px */
.aa-home .bx, .aa-home .rv, .aa-home .bad__card, .aa-home .callout,
.aa-home .zn, .aa-home .post, .aa-home .faq .elementor-accordion-item { border-radius: 22px !important; }
/* focus-visible per navigazione da tastiera */
.aa-home a:focus-visible, .hd a:focus-visible, .hd .elementor-item:focus-visible,
.aa-ft a:focus-visible, .aa-home .elementor-tab-title:focus-visible {
  outline: 2px solid var(--beige); outline-offset: 3px; border-radius: 6px;
}

/* ============================================================
   HERO CINEMATOGRAFICA — video background (solo Home)
   Layer: video (Ken Burns) → scrim (gradient+vignette) → grain → contenuto.
   Iniettato via mu-plugin come primo figlio di .hero-dk.
   ============================================================ */
/* Media a tutta hero, leggermente sovradimensionato (copre il parallax ±8px) */
.hero__media {
  position: absolute; inset: -18px; z-index: 0; overflow: hidden;
  pointer-events: none; will-change: transform;
  background: #0b0e11;
}
.hero__video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  pointer-events: none; display: block;
  transform-origin: 50% 50%;
  animation: heroKenBurns 28s ease-in-out infinite alternate;
}
@keyframes heroKenBurns { from { transform: scale(1.0); } to { transform: scale(1.045); } }

/* Overlay professionale con profondità: bloom caldo tenue + vignette morbidissima
   multi-stop + gradiente naturale (mai maschera nera piatta) */
.hero__scrim {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    /* fondo che si fonde ESATTAMENTE col blocco statistiche scuro (nessun salto) */
    linear-gradient(180deg, transparent 78%, rgba(20,24,29,.72) 92%, #14181D 100%),
    radial-gradient(80% 55% at 50% 6%, rgba(201,177,138,.10), transparent 62%),
    radial-gradient(138% 108% at 50% 42%, transparent 36%, rgba(8,10,14,.16) 64%, rgba(8,10,14,.40) 85%, rgba(8,10,14,.66) 100%),
    linear-gradient(180deg, rgba(8,10,14,.70) 0%, rgba(8,10,14,.40) 32%, rgba(8,10,14,.33) 55%, rgba(8,10,14,.50) 80%, rgba(8,10,14,.62) 100%);
}
/* Bloom morbido sulle alte luci (screen), impercettibile — dà profondità luminosa */
.hero__scrim::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  mix-blend-mode: screen; opacity: .5;
  background: radial-gradient(60% 42% at 50% 30%, rgba(201,177,138,.10), transparent 70%);
}
/* Blur ottico morbido solo sul bordo inferiore (legge scroll indicator/CTA) */
.hero__scrim::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 30%;
  -webkit-backdrop-filter: blur(2.5px); backdrop-filter: blur(2.5px);
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 78%);
  mask-image: linear-gradient(180deg, transparent, #000 78%);
}

/* Su Home: il video sostituisce raggi+orb (niente doppio sfondo) */
body.home .aa-home .hero-dk__rays,
body.home .aa-home .hero-dk__orb-wrap { display: none !important; }
/* Grana cinematografica: la teniamo, molto lieve, sopra il video */
body.home .aa-home .hero-dk::after { opacity: .045; z-index: 4; }

/* ---- Tipografia hero sospesa sul video ---- */
body.home .aa-home .hero-dk .container { max-width: 860px; }
body.home .aa-home .hero-dk h1 {
  font-weight: 800;
  line-height: .95;
  letter-spacing: -0.03em;
  max-width: 760px;
  /* profondità: micro-contatto + ombra ambientale ampia e morbida */
  text-shadow: 0 1px 1px rgba(0,0,0,.22), 0 12px 38px rgba(0,0,0,.42);
}
body.home .aa-home .hero-dk h1 em {
  color: var(--beige);
  /* glow caldo stratificato, solo sulle parole beige — elegante, non kitsch */
  text-shadow: 0 0 1px rgba(201,177,138,.2), 0 0 16px rgba(201,177,138,.12);
}
body.home .aa-home .hero-dk__lead {
  color: rgba(253,252,249,.82);
  font-weight: 400;
  text-shadow: 0 2px 16px rgba(0,0,0,.42);
}
body.home .aa-home .hero-dk__lead strong { color: #fff; font-weight: 600; }

/* ---- Badge "Novità": pill glass stile Apple ---- */
body.home .aa-home .hero-dk__badge {
  gap: .55em; padding: .34em .34em .34em .5em; border-radius: 999px;
  background: rgba(255,255,255,.07);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  backdrop-filter: blur(14px) saturate(160%);
  border: 1px solid rgba(255,255,255,.16);
  box-shadow: 0 1px 0 rgba(255,255,255,.22) inset, 0 8px 24px -12px rgba(0,0,0,.6);
}
body.home .aa-home .hero-dk__badge p { margin: 0; display: inline-flex; align-items: center; gap: .55em; }
body.home .aa-home .hero-dk__badge .b-new {
  background: var(--beige-scuro); color: #fff; border-radius: 999px;
  padding: .4em 1em; font-size: .72rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
  box-shadow: 0 1px 0 rgba(255,255,255,.28) inset;
}
body.home .aa-home .hero-dk__badge .b-lbl {
  padding-right: .9em; color: rgba(253,252,249,.88); font-size: .82rem; font-weight: 500;
}

/* ---- CTA premium: lift + glow morbido ---- */
body.home .aa-home .hero-dk .aa-btn-primary .elementor-button:hover {
  box-shadow: 0 8px 24px rgba(201,177,138,.18);
}
body.home .aa-home .hero-dk .aa-btn-secondary .elementor-button {
  background: rgba(255,255,255,.06) !important; color: #fff !important;
  border: 1px solid rgba(255,255,255,.28) !important;
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
/* CTA hero: presenza maggiore (altezza + padding) */
body.home .aa-home .hero-dk .aa-btn .elementor-button {
  --aa-h: 52px !important; min-height: 52px !important; padding: 0 26px !important; font-size: .88rem !important; border-radius: 15px !important;
}
@media (max-width: 600px) {
  body.home .aa-home .hero-dk .btn-row { flex-direction: column !important; align-items: stretch; }
  body.home .aa-home .hero-dk .btn-row .aa-btn, body.home .aa-home .hero-dk .btn-row .aa-btn .elementor-button { width: 100% !important; }
}

/* ---- Scroll indicator: linea sottile + pallina ---- */
.hero-scroll {
  position: absolute; left: 50%; bottom: 24px; transform: translateX(-50%);
  z-index: 6; width: 1px; height: 54px; overflow: hidden;
  background: rgba(255,255,255,.22); pointer-events: none;
}
.hero-scroll__dot {
  position: absolute; left: 50%; top: 0; width: 4px; height: 9px; margin-left: -2px;
  border-radius: 2px; background: rgba(255,255,255,.92);
  animation: heroScrollDot 2.3s cubic-bezier(.7,0,.3,1) infinite;
}
@keyframes heroScrollDot {
  0%   { transform: translateY(-9px); opacity: 0; }
  22%  { opacity: 1; }
  78%  { opacity: 1; }
  100% { transform: translateY(54px); opacity: 0; }
}

/* ---- Accessibilità: riduci movimento ---- */
@media (prefers-reduced-motion: reduce) {
  .hero__video { animation: none !important; }
  .hero-scroll__dot { animation: none !important; }
  .hero__media { transform: none !important; }
}

/* ---- Responsive hero video ---- */
@media (max-width: 1024px) {
  body.home .aa-home .hero-dk h1 { letter-spacing: -0.025em; }
}
@media (max-width: 600px) {
  body.home .aa-home .hero-dk h1 { line-height: 1.0; letter-spacing: -0.02em; }
  .hero__scrim {
    background:
      radial-gradient(140% 80% at 50% 38%, transparent 46%, rgba(8,10,14,.5) 100%),
      linear-gradient(180deg, rgba(8,10,14,.72) 0%, rgba(8,10,14,.5) 46%, rgba(8,10,14,.8) 100%);
  }
  .hero-scroll { height: 44px; bottom: 16px; }
}

/* ============================================================
   RACCORDO Statistiche → Badge — un unico blocco scuro (Home)
   Elimina: fascia bianca, doppio bordo beige, divisori duplicati.
   Continuità: hero → statistiche → badge → servizi (tutto scuro).
   ============================================================ */
/* Statistiche: entrano nel blocco scuro — niente bianco, niente bordi */
body.home .aa-home .trust {
  background: #14181D !important;
  border: 0 !important;
  box-shadow: none !important;
  padding-block: clamp(4rem, 6.5vw, 6rem) clamp(2rem, 3.2vw, 3rem) !important;
}
body.home .aa-home .trust__num,
body.home .aa-home .trust__num .elementor-counter-number-wrapper,
body.home .aa-home .trust__num .elementor-counter-number,
body.home .aa-home .trust__num .elementor-heading-title {
  color: var(--beige) !important;
}
body.home .aa-home .trust__lbl,
body.home .aa-home .trust__lbl .elementor-heading-title {
  color: rgba(253,252,249,.55) !important;
}

/* Badge: inizia subito dopo, stesso scuro, respiro inferiore misurato */
body.home .aa-home .mq-dk {
  background: #14181D !important;
  border: 0 !important;
  box-shadow: none !important;
  padding-block: clamp(2rem, 3.2vw, 3rem) clamp(4rem, 6.5vw, 6rem) !important;
}
/* Separatore unico, delicato, rispetta la max-width (accento — non fascia) */
body.home .aa-home .mq-dk__cap::before {
  content: ""; display: block; width: 40px; height: 1px; margin: 0 auto 1.3rem;
  background: rgba(201,177,138,.28);
}

/* Responsive raccordo */
@media (max-width: 1024px) {
  body.home .aa-home .trust { padding-block: clamp(3rem,5.5vw,4.5rem) clamp(1.8rem,2.6vw,2.4rem) !important; }
  body.home .aa-home .mq-dk { padding-block: clamp(1.8rem,2.6vw,2.4rem) clamp(3rem,5.5vw,4.5rem) !important; }
}
@media (max-width: 600px) {
  body.home .aa-home .trust { padding-block: 2.8rem 1.8rem !important; }
  body.home .aa-home .mq-dk { padding-block: 1.8rem 2.8rem !important; }
}

/* ============================================================
   CAUSA RADICE — gap di sezione (Elementor container gap:20px)
   Il root .aa-home è flex-column con gap 20px → mostrava il bg
   crema della pagina tra le sezioni (righe chiare fra blocchi scuri).
   Azzerato: le sezioni si toccano, lo spazio è dato dal loro padding.
   ============================================================ */
body.home .aa-home { gap: 0 !important; row-gap: 0 !important; }

/* ============================================================
   AUDIT POLISH — hover CTA, ingresso hero, coerenza ombre
   ============================================================ */
/* CTA hero: hover stile Linear/Apple — lift 4px + micro-scale + ombra morbida */
body.home .aa-home .hero-dk .aa-btn .elementor-button {
  transition: transform .45s cubic-bezier(.16,1,.3,1), box-shadow .45s cubic-bezier(.16,1,.3,1),
              background-color .3s ease, border-color .3s ease, color .2s ease;
}
body.home .aa-home .hero-dk .aa-btn-primary .elementor-button:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 8px 24px rgba(201,177,138,.18);
}
body.home .aa-home .hero-dk .aa-btn-secondary .elementor-button:hover {
  transform: translateY(-4px) scale(1.02);
  background: rgba(255,255,255,.12) !important; border-color: rgba(255,255,255,.5) !important;
  box-shadow: 0 14px 34px -18px rgba(0,0,0,.5);
}
body.home .aa-home .hero-dk .aa-btn .elementor-button:active { transform: translateY(-1px) scale(.996); }

/* Ingresso hero — fade-in scaglionato ~800ms, elegante.
   Il titolo (elemento LCP) usa solo translate (opacity resta 1) → LCP intatta. */
@keyframes aaRiseFade { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
@keyframes aaRise     { from { transform: translateY(18px); }          to { transform: translateY(0); } }
@keyframes aaFade     { from { opacity: 0; }                            to { opacity: 1; } }
body.home .hero__media                       { animation: aaFade 1.1s ease .05s both; }
body.home .aa-home .hero-dk__badge           { animation: aaRiseFade .8s cubic-bezier(.22,1,.36,1) .10s both; }
body.home .aa-home .hero-dk h1               { animation: aaRise .9s cubic-bezier(.22,1,.36,1) .18s both; }
body.home .aa-home .hero-dk__lead            { animation: aaRiseFade .85s cubic-bezier(.22,1,.36,1) .34s both; }
body.home .aa-home .hero-dk .btn-row         { animation: aaRiseFade .85s cubic-bezier(.22,1,.36,1) .46s both; }
body.home .hero-scroll                       { animation: aaFade 1s ease .95s both; }

/* Coerenza ombre: la card "Dopo" featured resta elevata ma nel linguaggio del sistema */
.aa-home .bad__card--after { box-shadow: 0 20px 50px -24px rgba(0,0,0,.55) !important; }

/* Riduci movimento: nessuna animazione d'ingresso */
@media (prefers-reduced-motion: reduce) {
  body.home .hero__media,
  body.home .aa-home .hero-dk__badge,
  body.home .aa-home .hero-dk h1,
  body.home .aa-home .hero-dk__lead,
  body.home .aa-home .hero-dk .btn-row,
  body.home .hero-scroll { animation: none !important; opacity: 1 !important; transform: none !important; }
}

/* ============================================================
   PORTFOLIO POLISH — rifiniture 2-3% (livello Awwwards/FWA)
   Solo Home. Dettagli che tolgono il "sapore template Elementor".
   ============================================================ */

/* 1. KICKER / eyebrow: le maiuscole piccole vogliono tracking POSITIVO
   (erano a -0.02em, cramped). Kicker, caption badge, "via airbnb", categoria blog. */
.aa-home .kicker .elementor-heading-title,
.aa-home .kicker,
.aa-home .mq-dk__cap,
.aa-home .rv__via,
.aa-home .post__date {
  letter-spacing: .14em !important;
  font-weight: 600 !important;
}
/* linea del kicker: più fine e con respiro (era 2px netti) */
.aa-home .kicker::before { height: 1.5px !important; width: 26px !important; opacity: .9; }

/* 2. Titoli: interruzioni di riga bilanciate (niente orfani/vedove) + display tracking */
.aa-home h1, .aa-home h2,
.aa-home h1 .elementor-heading-title,
.aa-home h2 .elementor-heading-title { text-wrap: balance; }
.aa-home .section h2 .elementor-heading-title { letter-spacing: -.025em; }

/* 3. Paragrafi: ultima riga mai orfana + misura leggibile per gli intro centrati */
.aa-home p { text-wrap: pretty; }
.aa-home .head--center + .elementor-widget-text-editor,
.aa-home .head--center ~ .elementor-widget-text-editor { max-width: 58ch; margin-inline: auto; }

/* 4. Selezione testo brandizzata (dettaglio firma) */
.aa-home ::selection, .hd ::selection, .aa-ft ::selection { background: var(--beige); color: #14181D; }
.aa-home ::-moz-selection { background: var(--beige); color: #14181D; }

/* 5. Rendering tipografico più nitido (kerning + legature) */
.aa-home, .hd, .aa-ft { text-rendering: optimizeLegibility; font-feature-settings: "kern" 1, "liga" 1; }

/* 6. Numeri statistiche: cifre tabellari → nessun jitter di larghezza durante il count-up */
.aa-home .trust__num, .aa-home .trust__num .elementor-counter-number,
.aa-home .trust__num .elementor-heading-title { font-variant-numeric: tabular-nums; font-feature-settings: "tnum" 1; }

/* 7. Accent brand su controlli/focus nativi */
:root { accent-color: #C9B18A; }

/* 8. Focus-visible coerente e brandizzato su link e card (a11y + premium) */
.aa-home a:focus-visible, .hd a:focus-visible, .aa-ft a:focus-visible,
.aa-home .zn:focus-visible, .aa-home .post:focus-visible {
  outline: 2px solid var(--beige); outline-offset: 3px; border-radius: 8px;
}

/* 9. Ritmo verticale — UNICO per tutto il sito (coerenza cross-page).
   Prima: Home 120 · Servizi 120 · Contatti 96 · Chi siamo 80 (incoerente). */
.aa-home .section { padding-block: clamp(3.2rem, 5.2vw, 5rem) !important; }        /* ~75-80px desktop */
@media (max-width:1024px){ .aa-home .section { padding-block: clamp(2.9rem, 6vw, 4rem) !important; } } /* ~60-64px tablet */
@media (max-width:600px){ .aa-home .section { padding-block: 3rem !important; } }  /* 48px mobile */
/* offset ancore sotto header fisso */
.aa-home .section, .aa-home [id] { scroll-margin-top: 96px; }

/* 9b. Titoli di sezione — dimensione UNICA cross-page (prima 32 vs 40px).
   La classe è sull'h2 stesso; i titoli raw dei form (.cf__h) restano esclusi. */
.aa-home .section h2.elementor-heading-title { font-size: clamp(2rem, 2.7vw, 2.5rem) !important; line-height: 1.12; letter-spacing: -.025em; }

/* 10. Card immagine: zoom hover un filo più ricco + niente flicker */
.aa-home .zn img, .aa-home .post .thumb img, .aa-home .post img { backface-visibility: hidden; }
.aa-home .zn:hover img, .aa-home .post:hover .thumb img, .aa-home .post:hover img {
  transform: scale(1.06) !important; filter: brightness(1.03);
}

/* 11. Card servizi (bento): hover raffinato — lift + bordo beige tenue */
.aa-home .bento-dk .bx { transition: transform .4s cubic-bezier(.16,1,.3,1), border-color .4s ease, background-color .4s ease; }
.aa-home .bento-dk .bx:hover { transform: translateY(-4px); border-color: rgba(201,177,138,.32); }

/* 12. Link footer: transizione colore morbida verso beige */
.aa-ft a { transition: color .2s ease; }
.aa-ft a:hover { color: var(--beige-scuro); }

/* 13. Pulsanti: micro-tracking per testo più "inciso" */
/* Tutti i pulsanti: altezza reale (--aa-h) + contenuto centrato verticalmente */
.aa-btn .elementor-button { letter-spacing: .01em; display: inline-flex !important; align-items: center; justify-content: center; min-height: var(--aa-h, 46px); }

/* 14. Card recensioni/aree/blog: transizione bordo coerente */
.aa-home .rv { transition: transform .4s cubic-bezier(.16,1,.3,1), box-shadow .4s ease, border-color .4s ease; }
.aa-home .rv:hover { transform: translateY(-4px); }

/* 15. Ridurre movimento: hover trasformazioni disattivate */
@media (prefers-reduced-motion: reduce) {
  .aa-home .zn:hover img, .aa-home .post:hover img, .aa-home .post:hover .thumb img,
  .aa-home .bento-dk .bx:hover, .aa-home .rv:hover { transform: none !important; }
}

/* ============================================================
   BLOG — Archivio (Elementor Posts, skin cards) + Articolo singolo
   Stesso Design System: card premium, radius 22, ombre di sistema.
   ============================================================ */
.aa-home.blog .page-hero .container{ max-width:1184px; }
.aa-home.blog .blog-archive{ padding-block: clamp(28px,4vw,48px) clamp(84px,8.2vw,120px) !important; }
.aa-home.blog .elementor-posts-container{ gap:1.6rem !important; }
.aa-home.blog .elementor-post{ background:#fff; border:1px solid var(--linea); border-radius:22px; overflow:hidden; box-shadow:0 12px 32px rgba(20,24,30,.06); transition:transform .4s cubic-bezier(.16,1,.3,1), box-shadow .4s ease, border-color .3s ease; display:flex; flex-direction:column; margin:0; }
.aa-home.blog .elementor-post:hover{ transform:translateY(-6px); box-shadow:0 18px 44px rgba(20,24,30,.10); border-color:var(--beige); }
.aa-home.blog .elementor-post__thumbnail{ aspect-ratio:16/10; overflow:hidden; border-radius:0; }
.aa-home.blog .elementor-post__thumbnail img{ width:100%; height:100%; object-fit:cover; transition:transform .6s cubic-bezier(.16,1,.3,1); }
.aa-home.blog .elementor-post:hover .elementor-post__thumbnail img{ transform:scale(1.05); }
.aa-home.blog .elementor-post__text{ padding:1.5rem 1.5rem 1.7rem !important; display:flex; flex-direction:column; flex:1; }
.aa-home.blog .elementor-post__meta-data{ font-size:.74rem; font-weight:600; letter-spacing:.05em; text-transform:uppercase; color:var(--beige-scuro); margin-bottom:.5rem; border:0; }
.aa-home.blog .elementor-post__title{ font-size:1.18rem; font-weight:800; line-height:1.25; letter-spacing:-.01em; margin:0 0 .6rem; }
.aa-home.blog .elementor-post__title a{ color:var(--nero); text-decoration:none; transition:color .2s ease; }
.aa-home.blog .elementor-post__title a:hover{ color:var(--beige-scuro); }
.aa-home.blog .elementor-post__excerpt{ margin-bottom:0; }
.aa-home.blog .elementor-post__excerpt p{ font-size:.92rem; color:var(--nero-soft); line-height:1.6; margin:0; }
.aa-home.blog .elementor-post__read-more{ margin-top:auto; padding-top:1.1rem; font-size:.85rem; font-weight:700; color:var(--beige-scuro); text-decoration:none; display:inline-flex; align-items:center; gap:.4rem; border:0; transition:gap .3s cubic-bezier(.16,1,.3,1), color .2s ease; }
.aa-home.blog .elementor-post__read-more:hover{ gap:.75rem; color:var(--nero); }

/* Articolo singolo */
body.single .site-main{ max-width:46rem; margin-inline:auto; padding:clamp(6.5rem,11vh,8.5rem) 1.5rem clamp(4rem,7vw,6rem); }
body.single article{ max-width:44rem; margin-inline:auto; }
body.single .entry-header{ margin-bottom:1.8rem; }
body.single h1.entry-title, body.single .entry-title{ font-size:clamp(2rem,4.4vw,2.9rem) !important; font-weight:800; letter-spacing:-.03em; line-height:1.12; margin:0; }
body.single .post-thumbnail, body.single .aa-single-thumb{ margin:1.8rem 0; }
body.single .aa-single-thumb img{ width:100%; border-radius:20px; display:block; }
body.single .post-thumbnail img{ width:100%; border-radius:20px; }
body.single .page-content, body.single .entry-content{ font-size:1.06rem; line-height:1.8; color:var(--nero-soft); }
body.single .page-content h2, body.single .entry-content h2{ color:var(--nero); font-size:clamp(1.35rem,2.6vw,1.7rem); font-weight:800; letter-spacing:-.02em; margin:2.4rem 0 .8rem; }
body.single .page-content p, body.single .entry-content p{ font-size:1.06rem; margin:0 0 1.25rem; }
body.single .page-content ul, body.single .page-content ol{ font-size:1.06rem; line-height:1.8; color:var(--nero-soft); margin:0 0 1.25rem 1.2rem; }
body.single .page-content li{ margin-bottom:.4rem; }
body.single .page-content a, body.single .entry-content a{ color:var(--beige-scuro); text-decoration:underline; text-underline-offset:3px; }
body.single .page-content img, body.single .entry-content img{ border-radius:16px; max-width:100%; height:auto; }

/* ============================================================
   LIQUID GLASS — TUTTI i pulsanti del sito (presenti e futuri)
   Materiale vetro: backdrop-blur + riflesso speculare + bordo-luce.
   Primario = vetro beige · Secondario = vetro neutro (chiaro/scuro per contesto).
   ============================================================ */
.aa-btn .elementor-button{
  position: relative; overflow: hidden; isolation: isolate;
  -webkit-backdrop-filter: blur(10px) saturate(155%); backdrop-filter: blur(10px) saturate(155%);
}
/* riflesso speculare superiore (la parte "liquid") */
.aa-btn .elementor-button::after{
  content:""; position:absolute; left:0; right:0; top:0; height:54%;
  background: linear-gradient(180deg, rgba(255,255,255,.4), rgba(255,255,255,0));
  opacity:.6; pointer-events:none; z-index:0;
}
.aa-btn .elementor-button .elementor-button-content-wrapper{ position:relative; z-index:1; }

/* PRIMARIO — vetro beige */
.aa-btn-primary .elementor-button{
  background: linear-gradient(180deg, rgba(217,197,165,.93), rgba(197,172,131,.95)) !important;
  color:#1a1408 !important;
  border:1px solid rgba(255,255,255,.5) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.68), inset 0 -3px 7px rgba(120,95,55,.14),
              0 6px 20px -6px rgba(201,177,138,.42) !important;
}
.aa-btn-primary .elementor-button:hover{
  background: linear-gradient(180deg, rgba(225,206,176,.97), rgba(211,188,151,.97)) !important;
  border-color: rgba(255,255,255,.62) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.8), 0 12px 28px -8px rgba(201,177,138,.52) !important;
  transform: translateY(-2px);
}

/* SECONDARIO — vetro neutro chiaro (default: leggibile su sezioni chiare) */
.aa-btn-secondary .elementor-button{
  background: rgba(255,255,255,.5) !important;
  color: var(--nero) !important;
  border:1px solid rgba(20,24,29,.14) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.85), 0 5px 18px -8px rgba(20,24,30,.16) !important;
}
.aa-btn-secondary .elementor-button:hover{
  background: rgba(255,255,255,.7) !important; border-color: rgba(201,177,138,.55) !important;
  transform: translateY(-2px);
}
.aa-btn-secondary .elementor-button::after{ opacity:.5; }

/* SECONDARIO su fondo scuro (hero scure, header trasparente) — vetro chiaro su scuro */
body.home .aa-home .hero-dk .aa-btn-secondary .elementor-button,
.aa-home.servizi .srv-hero .aa-btn-secondary .elementor-button,
.aa-home .sec-dk .aa-btn-secondary .elementor-button,
.hd--over-dark:not(.is-stuck) .aa-btn-secondary .elementor-button{
  background: rgba(255,255,255,.1) !important; color:#fff !important;
  border:1px solid rgba(255,255,255,.32) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.35), 0 6px 22px -8px rgba(0,0,0,.4) !important;
}
body.home .aa-home .hero-dk .aa-btn-secondary .elementor-button:hover,
.aa-home.servizi .srv-hero .aa-btn-secondary .elementor-button:hover,
.aa-home .sec-dk .aa-btn-secondary .elementor-button:hover{
  background: rgba(255,255,255,.18) !important; border-color: rgba(255,255,255,.55) !important; transform: translateY(-2px);
}

/* Pulsanti popup/form (Valutatore, Contatti, WhatsApp) — stessa firma liquid glass */
.aa-cont__submit, .aa-cont__wa, .aa-cont__wa2, .cf__submit, .aavp-widget button[type="submit"], .aavp-result__cta{
  position: relative; overflow: hidden; -webkit-backdrop-filter: blur(8px) saturate(150%); backdrop-filter: blur(8px) saturate(150%);
}
.aa-cont__submit::after, .aa-cont__wa::after, .aavp-widget button[type="submit"]::after, .aavp-result__cta::after{
  content:""; position:absolute; left:0; right:0; top:0; height:54%; border-radius: inherit;
  background: linear-gradient(180deg, rgba(255,255,255,.4), rgba(255,255,255,0)); opacity:.55; pointer-events:none;
}
.aa-cont__submit, .aavp-widget button[type="submit"], .aavp-result__cta{
  background: linear-gradient(180deg, rgba(217,197,165,.95), rgba(197,172,131,.97)) !important;
  border:1px solid rgba(255,255,255,.5) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.68), 0 6px 20px -6px rgba(201,177,138,.42) !important;
}

/* ============================================================
   RIVISTA — Articolo singolo premium (magazine, Design System AirAffitti)
   ============================================================ */
.read-progress{ position:fixed; top:0; left:0; right:0; height:3px; z-index:200; pointer-events:none; background:transparent; }
.read-progress span{ display:block; height:100%; width:0; background:linear-gradient(90deg,var(--beige),var(--beige-scuro)); box-shadow:0 0 10px rgba(201,177,138,.5); }

body.single-post .entry-header{ display:none !important; }
body.single-post .site-main{ display:block !important; overflow:visible !important; height:auto !important; min-height:0 !important; aspect-ratio:auto !important; background:transparent !important; border:0 !important; border-radius:0 !important; box-shadow:none !important; animation:none !important; max-width:1120px; margin-inline:auto; padding:clamp(6rem,10vh,7.5rem) 1.5rem clamp(3rem,6vw,5rem); }
/* la classe WP "post" sul main non deve ereditare gli stili delle card blog */
body.single-post .site-main::before, body.single-post .site-main::after{ display:none !important; }
body.single-post .site-main > .page-content p{ display:block; }
body.single-post .site-main .mag__body p{ display:block !important; position:static !important; }
body.single-post .site-main .mag__body h3{ position:static !important; }
body.single-post .page-content{ margin:0; }

/* HERO editoriale */
.mag__head{ max-width:760px; margin:0 auto; text-align:center; }
.mag__crumb{ display:flex; flex-wrap:wrap; justify-content:center; gap:.4rem; font-size:.74rem; font-weight:600; color:var(--nero-soft); margin-bottom:1.5rem; }
.mag__crumb a{ color:var(--nero-soft); text-decoration:none; } .mag__crumb a:hover{ color:var(--nero); }
.mag__crumb .sep{ color:var(--beige); }
.mag__cat{ display:inline-block; font-size:.7rem; font-weight:800; letter-spacing:.16em; text-transform:uppercase; color:var(--beige-scuro); background:var(--beige-chiaro,#EDE5D5); padding:.45em 1.05em; border-radius:999px; margin-bottom:1.2rem; }

/* chip categoria: blindato contro collisioni layout */
body.single-post .mag__cat{ display:inline-block !important; aspect-ratio:auto !important; height:auto !important; width:auto !important; min-height:0 !important; max-height:none !important; overflow:visible !important; contain:none !important; line-height:1.6 !important; vertical-align:middle; }
.mag__title{ font-size:clamp(2.1rem,5vw,3.4rem) !important; font-weight:800 !important; letter-spacing:-.03em; line-height:1.06; color:var(--nero) !important; margin:0 0 1rem !important; text-wrap:balance; }
.mag__sub{ font-size:clamp(1.05rem,2vw,1.25rem); line-height:1.6; color:var(--nero-soft); max-width:44rem; margin:0 auto 1.8rem; }
.mag__meta{ display:inline-flex; align-items:center; gap:.7rem; flex-wrap:wrap; justify-content:center; font-size:.85rem; color:var(--nero-soft); }
.mag__meta .av{ width:40px; height:40px; border-radius:50%; background:var(--nero); color:var(--beige); display:inline-grid; place-items:center; font-size:.85rem; font-weight:800; }
.mag__meta b{ color:var(--nero); font-weight:700; }
.mag__meta .mag__mi{ display:inline-flex; align-items:center; gap:.4rem; }
.mag__meta .dot{ width:3px; height:3px; border-radius:50%; background:var(--linea); }
.mag__meta .mag__loc{ display:inline-flex; align-items:center; gap:.35rem; color:var(--beige-scuro); font-weight:600; }

/* HERO figure */
.mag__hero{ margin:2.4rem 0 0; border-radius:24px; overflow:hidden; box-shadow:0 30px 70px -34px rgba(20,24,30,.28); background:var(--linea); }
.mag__hero img{ width:100%; aspect-ratio:16/9; object-fit:cover; display:block; transition:transform .8s cubic-bezier(.16,1,.3,1); }
.mag__hero:hover img{ transform:scale(1.02); }
.mag__hero figcaption{ font-size:.78rem; color:var(--nero-soft); text-align:center; padding:.7rem 1rem; background:#fff; }

/* WRAP: TOC sticky + body */
.mag__wrap{ display:grid; grid-template-columns:1fr; gap:1.6rem; margin-top:2.8rem; }
@media(min-width:1040px){ .mag__wrap{ grid-template-columns:230px minmax(0,720px); justify-content:center; gap:3.5rem; align-items:start; } }
@media(min-width:1040px){ .mag__aside{ position:sticky; top:96px; } }
.mag__body{ max-width:720px; margin:0 auto; font-size:1.08rem; line-height:1.85; color:var(--nero-soft); }

/* TOC */
.toc{ border:1px solid var(--linea); border-radius:18px; padding:1.3rem; background:linear-gradient(135deg,#FBF9F5,#fff); }
.toc__bar{ height:3px; border-radius:3px; background:var(--linea); overflow:hidden; margin-bottom:1.1rem; }
.toc__bar span{ display:block; height:100%; width:0; background:linear-gradient(90deg,var(--beige),var(--beige-scuro)); transition:width .12s linear; }
.toc > strong{ display:block; font-size:.68rem; font-weight:800; letter-spacing:.16em; text-transform:uppercase; color:var(--beige-scuro); margin-bottom:.9rem; }
.toc ol{ list-style:none; margin:0; padding:0; counter-reset:toc; display:grid; gap:.1rem; }
.toc li{ counter-increment:toc; }
.toc a{ display:flex; gap:.6rem; align-items:baseline; padding:.5rem .6rem; border-radius:10px; font-size:.85rem; line-height:1.4; color:var(--nero-soft); text-decoration:none; transition:color .2s,background .2s; }
.toc a::before{ content:"0" counter(toc); font-size:.66rem; font-weight:800; color:var(--beige); flex:none; }
.toc a:hover, .toc a.on{ color:var(--nero); background:var(--beige-chiaro,#EDE5D5); }
.toc a.on{ font-weight:600; } .toc a.on::before{ color:var(--beige-scuro); }
.toc__toggle{ display:none; }
@media(max-width:1039px){
  .toc{ padding:0; }
  .toc__bar{ margin:0 1.2rem; }
  .toc__toggle{ display:flex; width:100%; align-items:center; justify-content:space-between; gap:1rem; padding:.9rem 1.2rem 1rem; background:none; border:0; cursor:pointer; font:800 .68rem/1 var(--font,Montserrat),sans-serif; letter-spacing:.16em; text-transform:uppercase; color:var(--beige-scuro); }
  .toc__toggle::after{ content:"+"; font-size:1.3rem; font-weight:300; }
  .toc.open .toc__toggle::after{ content:"\2013"; }
  .toc > strong{ display:none; }
  .toc__panel{ max-height:0; overflow:hidden; transition:max-height .4s ease; }
  .toc.open .toc__panel{ max-height:640px; }
  .toc__panel ol{ padding:0 1rem 1rem; }
}

/* PROSE */
.mag__body h2{ color:var(--nero); font-size:clamp(1.5rem,3vw,1.9rem); font-weight:800; letter-spacing:-.02em; line-height:1.2; margin:2.8rem 0 1rem; scroll-margin-top:96px; }
.mag__body h2:first-child{ margin-top:0; }
.mag__body h3{ color:var(--nero); font-size:1.2rem; font-weight:700; margin:2rem 0 .6rem; }
.mag__body p{ margin:0 0 1.3rem; }
.mag__body strong{ color:var(--nero); }
.mag__body a:not(.aa-cta-glass):not(.btn){ color:var(--beige-scuro); text-decoration:underline; text-underline-offset:3px; text-decoration-thickness:1px; }
.mag__body ul, .mag__body ol{ margin:0 0 1.3rem; padding-left:1.4em; display:grid; gap:.55rem; }
.mag__body li::marker{ color:var(--beige-scuro); }
.mag__body img{ border-radius:16px; max-width:100%; height:auto; }
.mag__body table{ width:100%; border-collapse:collapse; font-size:.92rem; margin-block:1.7rem; border:1px solid var(--linea); border-radius:16px; overflow:hidden; }
.mag__body th, .mag__body td{ padding:.85rem 1.1rem; text-align:left; border-bottom:1px solid var(--linea); }
.mag__body tbody tr:last-child td{ border-bottom:0; }
.mag__body thead th{ background:var(--beige-chiaro,#EDE5D5); font-weight:800; font-size:.72rem; letter-spacing:.06em; text-transform:uppercase; color:var(--nero); }
.mag__body tbody tr:hover td{ background:rgba(201,177,138,.05); }
.mag__body .check{ list-style:none !important; padding-left:0 !important; display:grid; gap:.7rem; }
.mag__body .check li{ display:flex; gap:.7rem; align-items:baseline; }
.mag__body .check li::before{ content:"\2713"; color:var(--beige-scuro); font-weight:800; flex:none; }

/* CALLOUT (box) — varianti */
.mag__body .box{ border-radius:18px; padding:1.4rem 1.6rem; margin-block:1.9rem; font-size:.98rem; line-height:1.7; }
.mag__body .box__lb{ display:flex; align-items:center; gap:.5rem; font-size:.68rem; font-weight:800; letter-spacing:.1em; text-transform:uppercase; margin-bottom:.5rem; }
.mag__body .box__lb::before{ content:""; width:9px; height:9px; border-radius:50%; background:currentColor; flex:none; }
.mag__body .box--tip{ background:var(--beige-chiaro,#EDE5D5); border:1px solid var(--beige); }
.mag__body .box--tip .box__lb{ color:var(--beige-scuro); }
.mag__body .box--err, .mag__body .box--warn{ background:#FCF5F2; border:1px solid #EAD4C9; border-left:4px solid #B3552F; }
.mag__body .box--err .box__lb, .mag__body .box--warn .box__lb{ color:#B3552F; }
.mag__body .box--mem{ background:var(--nero); color:rgba(255,255,255,.82); }
.mag__body .box--mem .box__lb{ color:var(--beige); } .mag__body .box--mem strong{ color:#fff; }
.mag__body .box--data{ background:linear-gradient(135deg,#F7F3EC,#fff); border:1px solid var(--beige); }
.mag__body .box--data .box__lb{ color:var(--beige-scuro); }
.mag__body .box--law{ background:#F4F6F8; border:1px solid #E1E6EB; border-left:4px solid #5C636C; }
.mag__body .box--law .box__lb{ color:#5C636C; }
.mag__body .box--check{ background:#fff; border:1px solid var(--linea); }
.mag__body .box--check .box__lb{ color:var(--beige-scuro); }

/* QUOTE editoriale */
.mag__body blockquote{ position:relative; margin:2.4rem 0; padding:.4rem 0 .4rem 2rem; border-left:3px solid var(--beige); font-size:1.35rem; line-height:1.5; font-weight:600; letter-spacing:-.01em; color:var(--nero); font-style:normal; }
.mag__body blockquote::before{ content:"\201C"; position:absolute; left:-.1rem; top:-1.4rem; font-size:4rem; line-height:1; color:var(--beige); font-family:Georgia,serif; opacity:.55; }
.mag__body blockquote cite{ display:block; margin-top:.8rem; font-size:.85rem; font-weight:600; font-style:normal; color:var(--nero-soft); }
.mag__body blockquote p{ margin:0; }

/* FIGURE + caption */
.mag__body figure{ margin:2.2rem 0; }
.mag__body figure img{ width:100%; border-radius:18px; box-shadow:0 22px 54px -30px rgba(20,24,30,.26); }
.mag__body figure figcaption{ font-size:.8rem; color:var(--nero-soft); text-align:center; margin-top:.7rem; }

/* CTA in-content */
.mag__body .aa-incta, .mag__body .callout{ display:flex; flex-wrap:wrap; gap:1.2rem 1.6rem; align-items:center; justify-content:space-between; background:linear-gradient(135deg,#F6F1E7,#FBF8F2); border:1px solid var(--beige); border-radius:20px; padding:1.7rem 1.9rem; margin-block:2.6rem; }
.mag__body .aa-incta h3, .mag__body .callout h3{ font-size:1.18rem; font-weight:800; margin:0 0 .25rem; color:var(--nero); }
.mag__body .aa-incta p, .mag__body .callout p{ font-size:.9rem; color:var(--nero-soft); margin:0; max-width:36ch; }
.mag__body .aa-incta .aa-cta-glass, .mag__body .callout .btn{ display:inline-flex; align-items:center; justify-content:center; gap:.5rem; min-height:50px; padding:0 24px; border-radius:15px; border:1px solid rgba(255,255,255,.5); font-weight:700; font-size:.88rem; cursor:pointer; text-decoration:none; white-space:nowrap; background:linear-gradient(180deg,rgba(217,197,165,.95),rgba(197,172,131,.97)); color:#1a1408; -webkit-backdrop-filter:blur(10px); backdrop-filter:blur(10px); box-shadow:inset 0 1px 0 rgba(255,255,255,.65), 0 6px 20px -6px rgba(201,177,138,.42); transition:transform .35s cubic-bezier(.16,1,.3,1); }
.mag__body .aa-incta .aa-cta-glass:hover, .mag__body .callout .btn:hover{ transform:translateY(-2px); }

/* FAQ */
.mag__body .faq{ display:grid; gap:.6rem; margin-block:1.8rem; }
.mag__body .faq details{ border:1px solid var(--linea); border-radius:14px; overflow:hidden; background:#fff; }
.mag__body .faq summary{ list-style:none; cursor:pointer; padding:1rem 1.2rem; font-weight:700; font-size:.98rem; color:var(--nero); display:flex; justify-content:space-between; gap:1rem; }
.mag__body .faq summary::-webkit-details-marker{ display:none; }
.mag__body .faq summary::after{ content:"+"; color:var(--beige-scuro); font-weight:300; font-size:1.3rem; line-height:1; }
.mag__body .faq details[open] summary::after{ content:"\2013"; }
.mag__body .faq .bd{ padding:0 1.2rem 1.1rem; } .mag__body .faq .bd p{ margin:0; font-size:.93rem; color:var(--nero-soft); }

/* AUTORE */
.mag__author{ display:flex; gap:1.3rem; align-items:flex-start; margin-top:3rem; padding:1.9rem; border:1px solid var(--linea); border-radius:22px; background:linear-gradient(135deg,#FBF9F5,#fff); }
.mag__author .ava{ width:64px; height:64px; border-radius:50%; background:var(--nero); color:var(--beige); display:grid; place-items:center; font-size:1.5rem; font-weight:800; flex:none; }
.mag__author__n{ font-weight:800; color:var(--nero); font-size:1.08rem; }
.mag__author__r{ font-size:.72rem; font-weight:700; letter-spacing:.1em; text-transform:uppercase; color:var(--beige-scuro); margin:.15rem 0 .6rem; }
.mag__author p{ font-size:.9rem; color:var(--nero-soft); line-height:1.6; margin:0 0 .6rem; }
.mag__author a{ color:var(--beige-scuro); font-weight:600; text-decoration:none; } .mag__author a:hover{ text-decoration:underline; }

/* CONDIVISIONE */
.mag__share{ display:flex; align-items:center; gap:.6rem; flex-wrap:wrap; margin-top:2rem; padding-top:1.6rem; border-top:1px solid var(--linea); }
.mag__share > span{ font-size:.78rem; font-weight:700; color:var(--nero-soft); margin-right:.3rem; }
.mag__share a, .mag__share button{ width:40px; height:40px; border-radius:50%; border:1px solid var(--linea); background:#fff; display:inline-grid; place-items:center; cursor:pointer; color:var(--nero); transition:border-color .2s,color .2s,transform .25s cubic-bezier(.16,1,.3,1),background .2s; }
.mag__share a:hover, .mag__share button:hover{ border-color:var(--beige-scuro); color:var(--beige-scuro); transform:translateY(-2px); background:#FBF9F5; }
.mag__share svg{ width:17px; height:17px; fill:none; stroke:currentColor; stroke-width:1.8; }
.mag__share .copied{ font-size:.74rem; color:var(--beige-scuro); font-weight:700; margin-left:.2rem; }

/* CONTINUA A LEGGERE (card magazine con immagine) */
.mag__related{ margin-top:3.6rem; }
.mag__related > h2{ font-size:1.4rem; font-weight:800; letter-spacing:-.02em; margin-bottom:1.4rem; color:var(--nero); }
.mag__related__grid{ display:grid; gap:1.4rem; grid-template-columns:1fr; }
@media(min-width:700px){ .mag__related__grid{ grid-template-columns:1fr 1fr; } }
.rps{ display:flex; flex-direction:column; background:#fff; border:1px solid var(--linea); border-radius:22px; overflow:hidden; text-decoration:none; transition:transform .4s cubic-bezier(.16,1,.3,1),box-shadow .4s,border-color .3s; }
.rps:hover{ transform:translateY(-6px); box-shadow:0 26px 56px -26px rgba(20,24,30,.22); border-color:var(--beige); }
.rps__img{ aspect-ratio:16/9; overflow:hidden; background:var(--linea); }
.rps__img img{ width:100%; height:100%; object-fit:cover; transition:transform .6s cubic-bezier(.16,1,.3,1); }
.rps:hover .rps__img img{ transform:scale(1.06); }
.rps__b{ padding:1.4rem 1.5rem 1.6rem; display:flex; flex-direction:column; flex:1; }
.rps__meta{ display:flex; align-items:center; gap:.5rem; font-size:.68rem; font-weight:800; letter-spacing:.1em; text-transform:uppercase; margin-bottom:.5rem; }
.rps__meta .cat{ color:var(--beige-scuro); } .rps__meta .dot{ width:3px; height:3px; border-radius:50%; background:var(--linea); } .rps__meta .time{ color:var(--nero-soft); }
.rps h3{ margin:0; font-size:1.1rem; font-weight:800; line-height:1.3; color:var(--nero); transition:color .2s; }
.rps:hover h3{ color:var(--beige-scuro); }
.rps__arrow{ margin-top:auto; padding-top:1rem; font-weight:800; color:var(--nero); font-size:.95rem; transition:transform .25s cubic-bezier(.16,1,.3,1),color .2s; }
.rps:hover .rps__arrow{ transform:translateX(6px); color:var(--beige-scuro); }

/* CTA finale scura */
body.single-post .aa-final{ margin-top:3.6rem; background:#14181D; border-radius:26px; padding:clamp(2.6rem,5vw,4rem); text-align:center; position:relative; overflow:hidden; }
body.single-post .aa-final::before{ content:""; position:absolute; left:50%; top:-45%; width:64%; aspect-ratio:1; border-radius:50%; transform:translateX(-50%); background:radial-gradient(circle, rgba(201,177,138,.16), transparent 70%); pointer-events:none; }
body.single-post .aa-final__k{ display:block; font-size:.72rem; font-weight:800; letter-spacing:.16em; text-transform:uppercase; color:var(--beige); margin-bottom:.6rem; position:relative; }
body.single-post .aa-final h2{ color:#fff; font-size:clamp(1.6rem,3.2vw,2.2rem); font-weight:800; letter-spacing:-.02em; max-width:22ch; margin:0 auto 1.7rem; position:relative; }
body.single-post .aa-final .btn-row{ display:flex; flex-wrap:wrap; gap:12px; justify-content:center; position:relative; }
body.single-post .aa-final .aa-cta-glass{ min-height:52px; padding:0 28px; border-radius:15px; display:inline-flex; align-items:center; justify-content:center; gap:.5rem; font-weight:700; font-size:.92rem; text-decoration:none; cursor:pointer; border:1px solid rgba(255,255,255,.5); background:linear-gradient(180deg,rgba(217,197,165,.95),rgba(197,172,131,.97)); color:#1a1408; -webkit-backdrop-filter:blur(10px); backdrop-filter:blur(10px); box-shadow:inset 0 1px 0 rgba(255,255,255,.65), 0 6px 20px -6px rgba(201,177,138,.42); transition:transform .35s cubic-bezier(.16,1,.3,1); }
body.single-post .aa-final .aa-cta-glass.wa{ background:rgba(255,255,255,.1); color:#fff; border-color:rgba(255,255,255,.32); }
body.single-post .aa-final .aa-cta-glass:hover{ transform:translateY(-2px); }

/* reveal delicato */
body.single-post .mag__body > *, body.single-post .mag__related, body.single-post .aa-final{ }
html.aa-anim body.single-post .m-rev{ opacity:0; transform:translateY(18px); transition:opacity .7s var(--e-out,cubic-bezier(.16,1,.3,1)), transform .7s var(--e-out,cubic-bezier(.16,1,.3,1)); }
html.aa-anim body.single-post .m-rev.in{ opacity:1; transform:none; }

/* ============================================================
   BLOG ARCHIVIO — card articoli migliorate
   ============================================================ */
.aa-home.blog .elementor-post{ border-radius:22px; }
.aa-home.blog .elementor-post__thumbnail{ aspect-ratio:16/10; }
.aa-home.blog .elementor-post__badge{ display:none; }
.aa-home.blog .elementor-post__meta-data{ display:flex; align-items:center; gap:.5rem; }

/* Piani: la CTA riempie la card (pattern pricing standard) -> mai wrap del testo a nessuna larghezza */
.aa-home .plan .aa-btn{ width:100% !important; }
.aa-home .plan .aa-btn .elementor-button{ width:100% !important; white-space:nowrap !important; }

/* CTA lunghe nei callout/final: su mobile riducono font+padding per stare su 1 riga (niente wrap orfano) */
@media(max-width:600px){
  /* CTA full-width nei callout/final: piu spazio -> testo su 1 riga, look premium mobile */
  .aa-home .callout, .aa-home .callout--dk, .aa-home .srv-cta{ padding-inline:16px !important; }
  .aa-home .callout .aa-btn, .aa-home .srv-cta .aa-btn, .aa-home .plan .aa-btn{ width:100% !important; }
  .aa-home .plan .aa-btn .elementor-button{ width:100% !important; white-space:nowrap !important; }
  .aa-home .callout .aa-btn .elementor-button,
  .aa-home .srv-cta .aa-btn .elementor-button,
  body.single-post .aa-final .aa-cta-glass,
  .mag__body .callout .btn,
  .mag__body .aa-incta .aa-cta-glass{ width:100% !important; font-size:.8rem !important; padding-inline:10px !important; letter-spacing:0 !important; white-space:nowrap !important; }
  .aa-home .callout .aa-btn .elementor-button .elementor-button-text,
  .aa-home .srv-cta .aa-btn .elementor-button .elementor-button-text,
  body.single-post .aa-final .aa-cta-glass span,
  .mag__body .callout .btn span{ white-space:nowrap !important; text-wrap:nowrap !important; }
}
