/* ============================================================
   AIRAFFITTI — Pagina CHI SIAMO (emozionale premium)
   Richiede wrapper .aa-home. Stesso Design System.
   ============================================================ */

/* --- Storia: immagine ad arco + testo (alternanza) --- */
.aa-home .story-grid { display: grid !important; gap: 3.5rem; align-items: center; grid-template-columns: 1fr; }
@media (min-width: 980px) { .aa-home .story-grid { grid-template-columns: 1.08fr 1fr; gap: 4.5rem; } }
.aa-home .hero__vis { position: relative; padding: 0 !important; }
.aa-home .hero__ph { position: relative; border-radius: 150px 150px 22px 22px; overflow: hidden;
  box-shadow: var(--sh-soft); aspect-ratio: 4 / 4.7; background: var(--beige-chiaro); padding: 0 !important; }
.aa-home .hero__ph::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to top, rgba(11,14,17,.18), transparent 45%); }
.aa-home .hero__ph img { width: 100% !important; height: 100% !important; object-fit: cover; transition: transform 1.2s cubic-bezier(.16,1,.3,1); }
.aa-home .hero__vis:hover .hero__ph img { transform: scale(1.05); }
.aa-home .fl--badge { position: absolute; bottom: -18px; left: 10%; z-index: 3;
  display: flex !important; flex-direction: row !important; flex-wrap: wrap; gap: .6rem; padding: .7rem 1.15rem !important;
  background: rgba(255,255,255,.86); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-radius: 14px; box-shadow: var(--sh-float); border: 1px solid rgba(255,255,255,.7); }
.aa-home .fl--badge .fl__b, .aa-home .fl--badge .fl__b .elementor-heading-title { display: inline-flex; align-items: center; gap: .4rem;
  font-size: .72rem !important; font-weight: 700 !important; color: var(--nero) !important; }
.aa-home .fl--badge .fl__b::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--beige); flex: none; }
.aa-home .story-txt h2, .aa-home .story-txt h2 .elementor-heading-title { font-size: clamp(1.8rem,3.4vw,2.5rem) !important; font-weight: 800 !important; letter-spacing: -.02em; margin-bottom: 1rem !important; }
.aa-home .story-txt .elementor-widget-text-editor { font-size: .96rem; color: var(--nero-soft); line-height: 1.7; }
.aa-home .story-txt .elementor-widget-text-editor strong { color: var(--nero); }

/* --- Banda numeri --- */
.aa-home .aa-stats-band { background: var(--beige-chiaro); border-block: 1px solid var(--beige); }
.aa-home .aa-stats { display: grid !important; grid-template-columns: 1fr 1fr; gap: 2rem 1.5rem; }
@media (min-width: 800px) { .aa-home .aa-stats { grid-template-columns: repeat(4,1fr); } }
.aa-home .aa-stat { text-align: center; padding: 0 !important; }
.aa-home .aa-stat__n, .aa-home .aa-stat__n .elementor-heading-title { font-size: clamp(2.2rem,4.5vw,3rem) !important; font-weight: 800 !important; letter-spacing: -.03em; line-height: 1; color: var(--nero) !important; }
.aa-home .aa-stat__l, .aa-home .aa-stat__l .elementor-heading-title { font-size: .8rem !important; font-weight: 600 !important; color: var(--nero-soft) !important; margin-top: .5rem; }

/* --- Citazione fondatore --- */
.aa-home .quote-card { position: relative; background: var(--bianco-puro); border: 1px solid var(--linea); border-radius: 22px;
  padding: 3rem 2.6rem 2.4rem; box-shadow: var(--sh-soft); overflow: hidden; }
.aa-home .quote-card::before { content: "\201C"; position: absolute; top: -1.4rem; left: 1.4rem; font-family: Georgia, serif;
  font-size: 8rem; line-height: 1; color: var(--beige); opacity: .35; pointer-events: none; }
.aa-home .quote-card .elementor-widget-text-editor { font-size: 1.06rem; color: var(--nero); line-height: 1.65; position: relative; }
.aa-home .quote-sign, .aa-home .quote-sign .elementor-heading-title { font-size: .95rem !important; font-weight: 800 !important; margin-top: 1rem !important; }
.aa-home .quote-sign em { font-style: normal; color: var(--beige-scuro); font-weight: 600; }
.aa-home .quote-av { width: 52px; height: 52px; border-radius: 50%; background: var(--nero); color: var(--beige) !important;
  display: grid !important; place-items: center; font-weight: 800; font-size: 1.1rem; flex: none; padding: 0 !important; margin-bottom: 1.2rem; }
.aa-home .quote-av .elementor-heading-title { color: var(--beige) !important; }

/* --- Valori (3 card con icone) --- */
.aa-home .values { display: grid !important; gap: 1rem; grid-template-columns: 1fr; }
@media (min-width: 700px) { .aa-home .values { grid-template-columns: repeat(3,1fr); } }
.aa-home .values .bx { border-radius: 22px; }
.aa-home .val-ic { width: 48px !important; height: 48px !important; border-radius: 14px; background: var(--beige-chiaro);
  display: grid !important; place-items: center; padding: 0 !important; margin-bottom: .3rem; transition: background .25s ease; }
.aa-home .val-ic .elementor-icon, .aa-home .val-ic svg, .aa-home .val-ic i { color: var(--nero) !important; fill: var(--nero) !important; width: 22px; height: 22px; font-size: 22px; }
.aa-home .values .bx:hover .val-ic { background: var(--beige); }

/* --- Perché noi (sezione scura cost) --- */
.aa-home .cost { background: var(--nero); color: rgba(255,255,255,.72); position: relative; overflow: hidden; isolation: isolate; }
.aa-home .cost::before { content: ""; position: absolute; z-index: -1; left: -6%; top: -20%; width: 38%; aspect-ratio: 1/1; border-radius: 50%;
  background: radial-gradient(circle, rgba(201,177,138,.10), transparent 70%); pointer-events: none; }
.aa-home .cost h2, .aa-home .cost h2 .elementor-heading-title { color: #fff !important; }
.aa-home .cost .kicker, .aa-home .cost .kicker .elementor-heading-title { color: var(--beige) !important; }
.aa-home .cost__grid { display: grid !important; gap: 3rem; align-items: center; grid-template-columns: 1fr; }
@media (min-width: 960px) { .aa-home .cost__grid { grid-template-columns: 1fr 1.2fr; gap: 5rem; } }
.aa-home .cost__num, .aa-home .cost__num .elementor-heading-title { font-size: clamp(3.2rem,6.4vw,5rem) !important; font-weight: 800 !important; line-height: 1; color: var(--beige) !important; letter-spacing: -.035em; }
.aa-home .cost__numlbl, .aa-home .cost__numlbl .elementor-heading-title { display: block; font-size: 1.1rem !important; font-weight: 700 !important; color: rgba(255,255,255,.74) !important; letter-spacing: .02em; line-height: 1.4; text-transform: uppercase; margin-top: .55rem; max-width: 16ch; }
/* microtesto sotto il 24/7 */
.aa-home .cost__micro, .aa-home .cost__micro .elementor-heading-title { display:block; font-size:.82rem !important; font-weight:500 !important; color:rgba(255,255,255,.5) !important; letter-spacing:0; text-transform:none; line-height:1.5; margin-top:1rem; max-width:26ch; }
/* blocco 24/7 con filo beige a sinistra = composizione piu compatta */
.aa-home .cost__grid > .reveal:first-child, .aa-home .cost__grid > div:first-child { border-left:2px solid rgba(201,177,138,.5); padding-left:1.6rem; }
.aa-home .cost__pts .elementor-icon-list-items { display: grid; gap: 1.1rem; margin: 1.8rem 0 0; }
.aa-home .cost__pts .elementor-icon-list-item { padding: 0 !important; align-items: flex-start; }
.aa-home .cost__pts .elementor-icon-list-icon { padding-top: 2px; }
.aa-home .cost__pts .elementor-icon-list-icon svg, .aa-home .cost__pts .elementor-icon-list-icon i { color: var(--beige) !important; fill: var(--beige) !important; width: 18px; height: 18px; font-size: 16px; }
.aa-home .cost__pts .elementor-icon-list-text { font-size: .92rem !important; color: rgba(255,255,255,.8) !important; }
.aa-home .cost__pts .elementor-icon-list-text strong { color: #fff; }
.aa-home .cost .btn-row { margin-top: 2.2rem; }
/* bottone secondario chiaro su sezione scura */
.aa-home .cost .aa-btn-secondary .elementor-button { background: rgba(255,255,255,.04) !important; color: #fff !important; border-color: rgba(255,255,255,.22) !important; }
.aa-home .cost .aa-btn-secondary .elementor-button:hover { background: rgba(255,255,255,.09) !important; border-color: rgba(255,255,255,.42) !important; }

/* Fix: badge fluttuante a larghezza contenuto (no overflow) */
.aa-home .fl--badge { width: max-content !important; max-width: calc(100% - 1.5rem); }

/* ============================================================
   FIX QA — Chi siamo (spaziature, citazione, contrasto, clipping)
   ============================================================ */
/* Spaziature più compatte (scope .chisiamo) */
.chisiamo .section { padding-block: clamp(3.2rem,6vw,5rem); }
.chisiamo .head, .chisiamo .head--center { margin-bottom: clamp(1.6rem,3vw,2.4rem) !important; }

/* Quote card compatta + ricomposta (foot: avatar + nome/ruolo) */
.aa-home .quote-card { padding: 2.1rem 2.3rem 1.9rem; }
.aa-home .quote-card::before { font-size: 5.5rem; top: -0.6rem; left: 1.3rem; opacity: .28; }
.aa-home .quote-card .elementor-widget-text-editor { position: relative; z-index: 1; font-size: 1.02rem; color: var(--nero) !important; line-height: 1.6; }
.aa-home .quote-foot { display: flex !important; flex-direction: row !important; align-items: center; gap: .9rem; margin-top: 1.4rem; padding: 0 !important; }
.aa-home .quote-foot .quote-av { margin: 0 !important; width: 46px !important; height: 46px !important; }
.aa-home .quote-foot__t { display: flex !important; flex-direction: column; gap: 1px; padding: 0 !important; }
.aa-home .quote-name, .aa-home .quote-name .elementor-heading-title { font-size: .95rem !important; font-weight: 800 !important; color: var(--nero) !important; line-height: 1.2; }
.aa-home .quote-role, .aa-home .quote-role .elementor-heading-title { font-size: .78rem !important; font-weight: 600 !important; color: var(--beige-scuro) !important; }

/* Valori: testo leggibile (no beige) + card compatte, altezza uniforme */
.aa-home .values { align-items: stretch; }
.aa-home .values .bx { padding: 1.7rem 1.6rem !important; gap: .55rem; }
.aa-home .values .bx .elementor-widget-text-editor, .aa-home .values .bx p { color: var(--nero-soft) !important; font-size: .9rem; line-height: 1.6; }
.aa-home .values .bx h3, .aa-home .values .bx h3 .elementor-heading-title { color: var(--nero) !important; font-size: 1.1rem !important; }

/* Timeline compatta + linea pulita sui nodi (solo chisiamo) */
.chisiamo .tl { gap: 2rem; }
.chisiamo .tl::before { top: 2.05rem; bottom: 2.05rem; }
.chisiamo .tl__body { padding-bottom: 0 !important; }

/* Cost: numero 24/7 non tagliato */
.aa-home .cost__num, .aa-home .cost__num .elementor-heading-title { line-height: 1 !important; padding-bottom: .1em; }
