/* Shared overrides for mobile polish (index + luigina) */

/* Shared Services dropdown (header) */
.aofHdrWrap, .aofHdrWrap *{
  font-family: ui-sans-serif, system-ui, -apple-system, "SF Pro Display", "SF Pro Text",
               "Inter", "Segoe UI", Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  box-sizing: border-box;
}

.aofNav a{ position: relative; }

.aofHdr.is-svc-open .aofSrvDrop{
  max-height: 240px;
  opacity: 1;
  transform: translateY(0);
  padding-bottom: 12px;
  pointer-events: auto;
}
.aofNav a[aria-current="page"]{
  background: rgba(255,255,255,.16);
  color: rgba(255,255,255,.97);
}
.aofNav a[aria-current="page"]::after{
  content:"";
  position:absolute;
  left: 14px;
  right: 14px;
  bottom: 6px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(135deg, #8B5CF6, #F472B6);
  opacity: .95;
}
.aofSrvTrigger{
  display:inline-flex;
  align-items:center;
  gap: 8px;
}
.aofSrvTrigger svg{ width: 14px; height: 14px; fill: currentColor; opacity: .9; }
.aofSrvDrop{
  padding: 0 12px;
  position: relative;
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transform: translateY(-6px);
  pointer-events: none;
  transition: max-height .28s ease, opacity .22s ease, transform .22s ease, padding-bottom .22s ease;
}
.aofSrvDrop__in{
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.08);
  overflow: hidden;
}
.aofSrvDrop__in a{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding: 14px 14px;
  text-decoration:none;
  color: rgba(255,255,255,.97);
  font-size: 14.5px;
  border-top: 1px solid rgba(255,255,255,.12);
  font-weight: 800;
  letter-spacing: .01em;
}
.aofSrvDrop__in a:first-child{ border-top: 0; }
.aofSrvDrop__in a small{
  color: rgba(255,255,255,.72);
  font-size: 12.5px;
  font-weight: 700;
}

@media (prefers-reduced-motion: reduce){
  .aofSrvDrop{ transition: none !important; }
}

/* Shared Casi studio dropdown (header) */
.aofHdr.is-case-open .aofCaseDrop{
  max-height: 240px;
  opacity: 1;
  transform: translateY(0);
  padding-bottom: 12px;
  pointer-events: auto;
}
.aofCaseTrigger{
  display:inline-flex;
  align-items:center;
  gap: 8px;
}
.aofCaseTrigger svg{ width: 14px; height: 14px; fill: currentColor; opacity: .9; }
.aofCaseDrop{
  padding: 0 12px;
  position: relative;
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transform: translateY(-6px);
  pointer-events: none;
  transition: max-height .28s ease, opacity .22s ease, transform .22s ease, padding-bottom .22s ease;
}
.aofCaseDrop__in{
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.08);
  overflow: hidden;
}
.aofCaseDrop__in a{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding: 14px 14px;
  text-decoration:none;
  color: rgba(255,255,255,.97);
  font-size: 14.5px;
  border-top: 1px solid rgba(255,255,255,.12);
  font-weight: 800;
  letter-spacing: .01em;
}
.aofCaseDrop__in a:first-child{ border-top: 0; }
.aofCaseDrop__in a small{
  color: rgba(255,255,255,.72);
  font-size: 12.5px;
  font-weight: 700;
}

@media (prefers-reduced-motion: reduce){
  .aofCaseDrop{ transition: none !important; }
}

/* Shared Testimonianze dropdown (header) */
.aofHdr.is-tst-open .aofTstDrop{
  max-height: 240px;
  opacity: 1;
  transform: translateY(0);
  padding-bottom: 12px;
  pointer-events: auto;
}
.aofTstTrigger{
  display:inline-flex;
  align-items:center;
  gap: 8px;
}
.aofTstTrigger svg{ width: 14px; height: 14px; fill: currentColor; opacity: .9; }
.aofTstDrop{
  padding: 0 12px;
  position: relative;
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transform: translateY(-6px);
  pointer-events: none;
  transition: max-height .28s ease, opacity .22s ease, transform .22s ease, padding-bottom .22s ease;
}
.aofTstDrop__in{
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.08);
  overflow: hidden;
}
.aofTstDrop__in a{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding: 14px 14px;
  text-decoration:none;
  color: rgba(255,255,255,.97);
  font-size: 14.5px;
  border-top: 1px solid rgba(255,255,255,.12);
  font-weight: 800;
  letter-spacing: .01em;
}
.aofTstDrop__in a:first-child{ border-top: 0; }
.aofTstDrop__in a small{
  color: rgba(255,255,255,.72);
  font-size: 12.5px;
  font-weight: 700;
}

@media (prefers-reduced-motion: reduce){
  .aofTstDrop{ transition: none !important; }
}

/* Shared Info dropdown (header) */
.aofHdr.is-info-open .aofInfoDrop{
  max-height: 240px;
  opacity: 1;
  transform: translateY(0);
  padding-bottom: 12px;
  pointer-events: auto;
}
.aofInfoTrigger{
  display:inline-flex;
  align-items:center;
  gap: 8px;
}
.aofInfoTrigger svg{ width: 14px; height: 14px; fill: currentColor; opacity: .9; }
.aofInfoDrop{
  padding: 0 12px;
  position: relative;
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transform: translateY(-6px);
  pointer-events: none;
  transition: max-height .28s ease, opacity .22s ease, transform .22s ease, padding-bottom .22s ease;
}
.aofInfoDrop__in{
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.08);
  overflow: hidden;
}
.aofInfoDrop__in a{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding: 14px 14px;
  text-decoration:none;
  color: rgba(255,255,255,.97);
  font-size: 14.5px;
  border-top: 1px solid rgba(255,255,255,.12);
  font-weight: 800;
  letter-spacing: .01em;
}
.aofInfoDrop__in a:first-child{ border-top: 0; }
.aofInfoDrop__in a small{
  color: rgba(255,255,255,.72);
  font-size: 12.5px;
  font-weight: 700;
}
@media (prefers-reduced-motion: reduce){
  .aofInfoDrop{ transition: none !important; }
}

/* WhatsApp FAB (shared) */
:root{
  --aof-green: #15908D;
  --aof-wa-shadow: 0 18px 40px rgba(2,8,23,.22);
}

.aofWAFab, .aofWAFab *{
  font-family: ui-sans-serif, system-ui, -apple-system, "SF Pro Display", "SF Pro Text",
               "Inter", "Segoe UI", Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  box-sizing: border-box;
}

.aofWAFab{
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 9998;
}

.aofWAFab__btn{
  width: 62px;
  height: 62px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  text-decoration: none;
  background: var(--aof-green);
  border: 1px solid rgba(255,255,255,.22);
  box-shadow: var(--aof-wa-shadow);
  position: relative;
  overflow: hidden;
  transform: translateZ(0);
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}

.aofFtrSocial{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

.aofFtrSocial__btn{
  width: 40px;
  height: 40px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.08);
  color: rgba(255,255,255,.95);
  transition: transform .12s ease, background .12s ease, border-color .12s ease;
}
.aofFtrSocial__btn:hover{
  transform: translateY(-1px);
  background: rgba(255,255,255,.12);
  border-color: rgba(255,255,255,.22);
}
.aofFtrSocial__btn svg{
  width: 18px;
  height: 18px;
  fill: currentColor;
  opacity: .95;
}

@media (prefers-reduced-motion: reduce){
  .aofFtrSocial__btn{ transition: none !important; }
  .aofFtrSocial__btn:hover{ transform: none; }
}

.aofWAFab__btn::before{
  content:"";
  position:absolute;
  inset:-40%;
  background: radial-gradient(circle at 30% 20%, rgba(255,255,255,.28), transparent 55%);
  transform: rotate(18deg);
  opacity: .75;
  pointer-events:none;
}

.aofWAFab__btn:hover{
  transform: translateY(-2px);
  box-shadow: 0 22px 56px rgba(2,8,23,.26);
  filter: saturate(1.02);
}

.aofWAFab__icon{
  width: 30px;
  height: 30px;
  display:block;
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 2px 10px rgba(0,0,0,.18));
}

.aofWAFab__icon .wa-phone{
  /* Center the phone glyph inside the WhatsApp bubble */
  transform: translate(1.6px, 0.9px);
  transform-origin: 50% 50%;
}

.aofWAFab__tip{
  position: absolute;
  right: 74px;
  bottom: 10px;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(15,23,42,.92);
  color: rgba(255,255,255,.95);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .01em;
  white-space: nowrap;
  box-shadow: 0 18px 40px rgba(2,8,23,.22);
  opacity: 0;
  transform: translateX(8px);
  pointer-events: none;
  transition: opacity .18s ease, transform .18s ease;
}

.aofWAFab__btn:hover + .aofWAFab__tip{
  opacity: 1;
  transform: translateX(0);
}

@media (max-width: 520px){
  .aofWAFab{ right: 14px; bottom: 14px; }
  .aofWAFab__btn{ width: 58px; height: 58px; }
  .aofWAFab__icon{ width: 28px; height: 28px; }
  .aofWAFab__tip{ display:none; }
}

@media (prefers-reduced-motion: reduce){
  .aofWAFab__btn, .aofWAFab__tip{ transition:none !important; }
}

/* Footer (shared, matches homepage styles) */
:root{
  --g:#15908D;
  --acc-1:#8B5CF6;
  --acc-2:#F472B6;

  --w: rgba(255,255,255,.97);
  --w2: rgba(255,255,255,.84);
  --w3: rgba(255,255,255,.68);

  --max: 1240px;
  --r: 22px;
}

.aofFtr, .aofFtr *{
  font-family: ui-sans-serif, system-ui, -apple-system, "SF Pro Display", "SF Pro Text",
               "Inter","Segoe UI",Roboto,Helvetica,Arial,"Apple Color Emoji","Segoe UI Emoji";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  box-sizing: border-box;
}

.aofFtr{
  position: relative;
  background: var(--g);
  color: var(--w);
  padding: 78px 0 26px;
  overflow: hidden;
}

.aofFtr::before{
  content:"";
  position:absolute;
  left:0; right:0; top:0;
  height: 2px;
  background: linear-gradient(135deg, var(--acc-1), var(--acc-2));
  opacity: .95;
}

.aofFtr::after{
  content:"";
  position:absolute;
  inset:-30% -20%;
  background:
    radial-gradient(700px 320px at 15% 25%, rgba(255,255,255,.14), transparent 60%),
    radial-gradient(820px 380px at 85% 30%, rgba(0,0,0,.14), transparent 62%),
    radial-gradient(700px 360px at 55% 95%, rgba(139,92,246,.12), transparent 60%),
    radial-gradient(700px 360px at 80% 85%, rgba(244,114,182,.10), transparent 60%);
  pointer-events:none;
  opacity:.92;
}

.aofFtr__wrap{
  position: relative;
  z-index: 2;
  width: min(var(--max), calc(100% - 28px));
  margin: 0 auto;
}

.aofFtr__grid{
  display:grid;
  grid-template-columns: 1.15fr .85fr 1.1fr;
  gap: 16px;
  align-items:start;
}

.aofFtrCard{
  border-radius: var(--r);
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.08);
  box-shadow: 0 18px 40px rgba(2,8,23,.14);
  overflow: hidden;
  position: relative;
}
.aofFtrCard::before{
  content:"";
  position:absolute; inset:0;
  pointer-events:none;
  background:
    radial-gradient(900px 200px at 20% 0%, rgba(255,255,255,.12), transparent 60%),
    linear-gradient(180deg, rgba(255,255,255,.06), transparent 60%);
  opacity:.95;
}
.aofFtrCard__in{ position: relative; padding: 18px 18px; }

.aofFtrBrand{ display:flex; gap: 12px; align-items:flex-start; }
.aofFtrMark{
  width: 46px; height: 46px;
  border-radius: 14px;
  padding: 2px;
  background: linear-gradient(135deg, #15908D, #0F766E);
  box-shadow: 0 14px 30px rgba(21,144,141,.16);
  flex: 0 0 auto;
}
.aofFtrMark__in{
  width:100%; height:100%;
  border-radius: 12px;
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.18);
  display:grid;
  place-items:center;
  overflow:hidden;
}
.aofFtrMark img{
  width: 32px; height: 32px;
  object-fit: contain;
  display:block;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,.22));
}

.aofFtrTitle{
  margin: 0 0 6px 0;
  font-size: 14px;
  letter-spacing:.12em;
  text-transform: uppercase;
  font-weight: 900;
  color: var(--w);
}
.aofFtrSub{
  margin: 0;
  color: rgba(255,255,255,.78);
  font-size: 13px;
  line-height: 1.35;
  font-weight: 700;
  max-width: 44ch;
}

.aofFtrCtaRow{
  display:flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
  align-items:center;
}
.aofFtrBtn{
  display:inline-flex;
  align-items:center;
  gap: 10px;
  padding: 11px 14px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.26);
  color: rgba(255,255,255,.98);
  background: linear-gradient(135deg, var(--acc-1), var(--acc-2));
  text-decoration:none;
  font-weight: 900;
  letter-spacing: .01em;
  box-shadow: 0 16px 30px rgba(139,92,246,.16);
  user-select:none;
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}
.aofFtrBtn:hover{
  transform: translateY(-1px);
  box-shadow: 0 22px 44px rgba(139,92,246,.18);
  filter: saturate(1.03);
}
.aofFtrBtn svg{ width:18px; height:18px; fill: rgba(255,255,255,.96); }
.aofFtrMini{
  color: rgba(255,255,255,.78);
  font-size: 13px;
  line-height: 1.35;
  font-weight: 700;
  max-width: 44ch;
}

.aofFtrH{
  margin: 0 0 12px 0;
  font-size: 14px;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-weight: 950;
  color: var(--w);
}
.aofFtrLinks{ display:grid; gap: 8px; }
.aofFtrLink{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.06);
  text-decoration:none;
  color: var(--w2);
  font-weight: 850;
  letter-spacing:.01em;
  transition: transform .18s ease, background .18s ease, color .18s ease;
}
.aofFtrLink:hover{
  transform: translateY(-1px);
  background: rgba(255,255,255,.10);
  color: var(--w);
}
.aofFtrLink small{
  color: rgba(255,255,255,.72);
  font-weight: 750;
  font-size: 12.5px;
}

.aofFtrList{ margin: 0; padding: 0; list-style: none; display:grid; gap: 10px; }
.aofFtrItem{
  display:flex;
  gap: 10px;
  align-items:flex-start;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.06);
}
.aofFtrIcon{
  width: 34px; height: 34px;
  border-radius: 12px;
  padding: 2px;
  background: linear-gradient(135deg, var(--acc-1), var(--acc-2));
  flex: 0 0 auto;
  box-shadow: 0 14px 30px rgba(139,92,246,.12);
}
.aofFtrIcon__in{
  width:100%; height:100%;
  border-radius: 10px;
  background: rgba(255,255,255,.64);
  border: 1px solid rgba(2,8,23,.10);
  display:grid;
  place-items:center;
}
.aofFtrIcon svg{ width: 16px; height:16px; fill: rgba(15,23,42,.72); }
.aofFtrText{ display:grid; gap: 2px; min-width: 0; }
.aofFtrText b{ font-size: 13px; letter-spacing:.01em; font-weight: 950; color: rgba(255,255,255,.96); }
.aofFtrText a, .aofFtrText span{
  color: rgba(255,255,255,.78);
  font-size: 13.5px;
  line-height: 1.35;
  font-weight: 750;
  text-decoration:none;
}
.aofFtrText a:hover{ text-decoration: underline; text-underline-offset: 3px; }

.aofFtrHours{
  margin-top: 10px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.14);
  overflow:hidden;
  background: rgba(255,255,255,.06);
}
.aofFtrHoursRow{
  display:flex;
  justify-content:space-between;
  gap: 10px;
  padding: 10px 12px;
  border-top: 1px solid rgba(255,255,255,.12);
  font-size: 13.5px;
  font-weight: 800;
  color: rgba(255,255,255,.84);
}
.aofFtrHoursRow:first-child{ border-top:0; }
.aofFtrHoursRow strong{ color: rgba(255,255,255,.96); font-weight: 950; }
.aofFtrHoursRow em{
  font-style: normal;
  color: rgba(255,255,255,.76);
  font-weight: 850;
  text-align:right;
  white-space: nowrap;
}

.aofFtrBar{
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,.16);
  display:flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items:center;
  justify-content: space-between;
}
.aofFtrLegal{
  display:flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items:center;
  color: rgba(255,255,255,.72);
  font-size: 12.8px;
  font-weight: 750;
}
.aofFtrLegal a{ color: rgba(255,255,255,.84); text-decoration:none; font-weight: 850; }
.aofFtrLegal a:hover{ text-decoration: underline; text-underline-offset: 3px; }
.aofFtrCopy{ color: rgba(255,255,255,.72); font-size: 12.8px; font-weight: 750; }

@media (max-width: 980px){
  .aofFtr{ padding: 64px 0 24px; }
  .aofFtr__grid{ grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce){
  .aofFtrBtn, .aofFtrLink{ transition: none !important; }
}

/* Logo image zoom (header + footer): hides non-transparent edges */
.aofLogoMark img,
.aofFtrMark img{
  transform: scale(1.28);
  transform-origin: 50% 50%;
}

@media (prefers-reduced-motion: reduce){
  .aofLogoMark img,
  .aofFtrMark img{
    transform: none;
  }
}

/* Very small screens: ensure burger is visible (Galaxy S8 etc.) */
@media (max-width: 420px){
  #aofHeader .aofHdrInner{
    gap: 8px;
    padding-left: 10px;
    padding-right: 10px;
    min-width: 0;
  }
  #aofHeader .aofLogo{ min-width: 0; }
  #aofHeader .aofLogoText{ display: none; }
  #aofHeader .aofRight{ min-width: 0; gap: 8px; }
  #aofHeader .aofBtn{ display: none; }
  #aofHeader .aofBurger{ display: flex !important; }
}

/* Drawer “Servizi” accordion (mobile) */
.aofDrawerSrv,
.aofDrawerCases{
  border-top: 1px solid rgba(255,255,255,.12);
}
.aofDrawerSrv summary,
.aofDrawerCases summary{
  list-style: none;
  cursor: pointer;
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding: 14px 14px;
  color: rgba(255,255,255,.97);
  font-size: 14.5px;
  font-weight: 800;
  letter-spacing: .01em;
  user-select: none;
}
.aofDrawerSrv summary::-webkit-details-marker,
.aofDrawerCases summary::-webkit-details-marker{ display:none; }
.aofDrawerSrv summary span,
.aofDrawerCases summary span{
  display:flex;
  align-items:center;
  gap: 10px;
}
.aofDrawerSrv summary small,
.aofDrawerCases summary small{
  color: rgba(255,255,255,.72);
  font-size: 12.5px;
  font-weight: 700;
}
.aofDrawerSrv summary::after,
.aofDrawerCases summary::after{
  content:"";
  width: 10px;
  height: 10px;
  border-right: 2px solid rgba(255,255,255,.75);
  border-bottom: 2px solid rgba(255,255,255,.75);
  transform: rotate(45deg);
  transition: transform .18s ease;
  flex: 0 0 auto;
}
.aofDrawerSrv[open] summary::after,
.aofDrawerCases[open] summary::after{ transform: rotate(-135deg); }
.aofDrawerSrv__in,
.aofDrawerCases__in{ padding: 0 10px 12px; }
.aofDrawerSrv__in a{
  border-top: 1px solid rgba(255,255,255,.12);
  border-radius: 14px;
  margin-top: 10px;
  background: rgba(255,255,255,.06);
}
.aofDrawerSrv__in a:first-child{ margin-top: 0; }
.aofDrawerCases__in a{
  border-top: 1px solid rgba(255,255,255,.12);
  border-radius: 14px;
  margin-top: 10px;
  background: rgba(255,255,255,.06);
}
.aofDrawerCases__in a:first-child{ margin-top: 0; }

/* Drawer “Testimonianze” accordion (mobile) */
.aofDrawerTst{
  border-top: 1px solid rgba(255,255,255,.12);
}
.aofDrawerTst summary{
  list-style: none;
  cursor: pointer;
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding: 14px 14px;
  color: rgba(255,255,255,.97);
  font-size: 14.5px;
  font-weight: 800;
  letter-spacing: .01em;
  user-select: none;
}
.aofDrawerTst summary::-webkit-details-marker{ display:none; }
.aofDrawerTst summary::after{
  content:"";
  width: 10px;
  height: 10px;
  border-right: 2px solid rgba(255,255,255,.75);
  border-bottom: 2px solid rgba(255,255,255,.75);
  transform: rotate(45deg);
  transition: transform .18s ease;
  flex: 0 0 auto;
}
.aofDrawerTst[open] summary::after{ transform: rotate(-135deg); }
.aofDrawerTst__in{ padding: 0 10px 12px; }
.aofDrawerTst__in a{
  border-top: 1px solid rgba(255,255,255,.12);
  border-radius: 14px;
  margin-top: 10px;
  background: rgba(255,255,255,.06);
}
.aofDrawerTst__in a:first-child{ margin-top: 0; }

/* Drawer “Info” accordion (mobile) */
.aofDrawerInfo{
  border-top: 1px solid rgba(255,255,255,.12);
}
.aofDrawerInfo summary{
  list-style: none;
  cursor: pointer;
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding: 14px 14px;
  color: rgba(255,255,255,.97);
  font-size: 14.5px;
  font-weight: 800;
  letter-spacing: .01em;
  user-select: none;
}
.aofDrawerInfo summary::-webkit-details-marker{ display:none; }
.aofDrawerInfo summary span{
  display:flex;
  align-items:center;
  gap: 10px;
}
.aofDrawerInfo summary small{
  color: rgba(255,255,255,.72);
  font-size: 12.5px;
  font-weight: 700;
}
.aofDrawerInfo summary::after{
  content:"";
  width: 10px;
  height: 10px;
  border-right: 2px solid rgba(255,255,255,.75);
  border-bottom: 2px solid rgba(255,255,255,.75);
  transform: rotate(45deg);
  transition: transform .18s ease;
  flex: 0 0 auto;
}
.aofDrawerInfo[open] summary::after{ transform: rotate(-135deg); }
.aofDrawerInfo__in{ padding: 0 10px 12px; }
.aofDrawerInfo__in a{
  border-top: 1px solid rgba(255,255,255,.12);
  border-radius: 14px;
  margin-top: 10px;
  background: rgba(255,255,255,.06);
}
.aofDrawerInfo__in a:first-child{ margin-top: 0; }

@media (prefers-reduced-motion: reduce){
  .aofDrawerSrv summary::after,
  .aofDrawerCases summary::after,
  .aofDrawerTst summary::after,
  .aofDrawerInfo summary::after{ transition:none !important; }
}

/* Anchor offset for fixed header (cross-page) */
section[id]{ scroll-margin-top: 118px; }

/* 1) Mobile video shapes: keep them inside viewport */
@media (max-width: 980px){
  /* HERO video shapes */
  .aofShape--bot{ left: -22px !important; }

  /* "Il metodo di lavoro" video shapes */
  .aofVxShape--bot{ left: -22px !important; }

  /* "Come funziona" section: avoid drifting left on mobile */
  .aofHow__wrap{
    width: min(var(--max), calc(100% - 28px)) !important;
    transform: none !important;
  }
}

/* 2) Slightly larger small headings on mobile */
@media (max-width: 560px){
  /* Big titles (homepage + Luigina) */
  .aofHero__title{ font-size: clamp(44px, 10.5vw, 60px) !important; }
  .aofWho__title,
  .aofHow__title,
  .aofBen__title,
  .aofVx__title,
  .pbwFlow__title,
  .pbfaq2__title,
  .pbrev__title{ font-size: 38px !important; }

  .hero__title{ font-size: clamp(44px, 10.5vw, 58px) !important; }
  .sec__title,
  .luit__title,
  .ctaBox h2{ font-size: 38px !important; }

  /* Homepage cards + small titles */
  .aofWhoCard h3{ font-size: 16.8px !important; }
  .aofWhoCard p{ font-size: 14.8px !important; }

  .aofStep__h{ font-size: 17.6px !important; }
  .aofStep__p{ font-size: 15px !important; }

  .aofBenCard__h{ font-size: 17.6px !important; }
  .aofBenCard__p{ font-size: 15px !important; }

  .pbwCard h3{ font-size: 18px !important; }
  .pbwCard p{ font-size: 15px !important; }

  .pbfaq2Q strong{ font-size: 15.8px !important; }

  /* Luigina page small headings */
  .card h3{ font-size: 16.8px !important; }
  .card p{ font-size: 14.8px !important; }

  .panel__body h3{ font-size: 18px !important; }
  .qualBox h3{ font-size: 18px !important; }
  .luitCard h3{ font-size: 17.8px !important; }
}
