/*
Theme Name: Aurolex
Template: aurolex-base
Theme URI: https://aurolex.williamlocatelli.it
Author: William Locatelli
Description: Child theme di aurolex-base. Design dello Studio Legale Aurolex da "Studio legale homepage design" (Homepage Aurolex v2 + Mobile).
Version: 1.2.0
Requires PHP: 7.4
Text Domain: aurolex
*/

:root {
  --ink: #313E48;
  --gold: #AA8B49;
  --gold-light: #c9ad6e;
  --cream: #e6d9bb;
  --grey: #878787;
  --grey-light: #b4bcc2;
  --ph: #e8e8e8;
  --white: #fff;
  --pad: clamp(20px, 5.5vw, 80px);
  --container-w: 1440px;
  --container-pad: var(--pad);
}

html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: Manrope, system-ui, sans-serif;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: var(--ink); }
a:hover { color: var(--gold); }
::selection { background: var(--cream); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
h1, h2, h3 { font-family: inherit; }
[id] { scroll-margin-top: 90px; }

.only-mobile { display: none !important; }

/* Immagini a riempimento dentro un box con sfondo placeholder */
.fill { position: relative; background: var(--ph); overflow: hidden; }
.fill img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.bw img { filter: grayscale(1); }

/* Etichetta di sezione: pittogramma su desktop, quadratino su mobile */
.label { display: flex; align-items: center; gap: 12px; font-size: 18px; color: var(--grey); }
.label__o { width: 16px; height: 16px; display: block; }
.label__sq { display: none; width: 7px; height: 7px; flex: none; background: var(--sq, var(--grey)); }

.h2 { margin: 0; max-width: 752px; font-weight: 500; font-size: clamp(36px, 3.9vw, 56px); line-height: 1.3; letter-spacing: -0.01em; }

.arrow-ico { display: block; flex: none; }

/* Bottoni */
.btn-dark {
  display: inline-block; background: var(--ink); color: var(--white);
  padding: 12px 24px; font-weight: 600; font-size: 16px; text-decoration: none; white-space: nowrap;
}
.btn-dark:hover { background: var(--gold); color: var(--white); }

.btn-light {
  align-self: flex-start; display: flex; align-items: center; gap: 16px;
  background: var(--white); color: var(--ink);
  padding: 16px 32px; font-weight: 600; font-size: 16px; text-decoration: none;
}
.btn-light:hover { background: var(--cream); color: var(--ink); }
.btn-light--gold:hover { background: var(--gold); color: var(--ink); }

.btn-outline-light {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 20px; box-shadow: inset 0 0 0 1px rgba(255,255,255,0.4);
  color: var(--white); font-weight: 600; font-size: 16px; text-decoration: none;
}
.btn-outline-light:hover { color: var(--gold-light); }

.line-link {
  display: flex; justify-content: space-between; align-items: center;
  padding-bottom: 16px; border-bottom: 1px solid var(--grey);
  color: var(--grey); font-size: 18px; text-decoration: none;
}
.line-link:hover { color: var(--ink); border-color: var(--ink); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: var(--wp-admin--admin-bar--height, 0px); z-index: 30; background: var(--white); }
.site-header__inner {
  max-width: 1440px; margin: 0 auto; padding: 20px var(--pad);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.site-logo { flex: none; display: flex; }
.site-logo img { height: 44px; width: auto; display: block; }
.site-nav {
  flex: 1 1 auto; display: flex; gap: clamp(16px, 2.5vw, 40px); justify-content: center;
  white-space: nowrap; font-weight: 500; font-size: 16px;
}
.site-nav a { text-decoration: none; }
.header-cta { flex: none; display: flex; justify-content: flex-end; }

.menu-toggle {
  display: none; cursor: pointer; width: 44px; height: 44px; padding: 0; border: 0;
  align-items: center; justify-content: center; background: var(--ink); color: var(--white);
}
.menu-toggle .ico-close { display: none; }
.site-header.is-menu-open .menu-toggle .ico-open { display: none; }
.site-header.is-menu-open .menu-toggle .ico-close { display: block; }

.mobile-menu {
  position: absolute; top: 100%; left: 0; right: 0; z-index: 25;
  height: calc(100vh - 68px); overflow-y: auto;
  background: var(--ink); color: var(--white); padding: 24px 20px 32px;
  display: flex; flex-direction: column;
}
.mobile-menu[hidden] { display: none; }
.mobile-menu__link {
  display: flex; justify-content: space-between; align-items: center;
  padding: 18px 0; border-bottom: 0.8px solid rgba(255,255,255,0.3);
  color: var(--white); text-decoration: none; font-weight: 500; font-size: 26px;
}
.mobile-menu__info { margin-top: 32px; display: flex; flex-direction: column; gap: 6px; font-size: 15px; color: var(--grey-light); }
.mobile-menu__info a { color: inherit; text-decoration: none; }

@media (max-width: 900px) {
  .site-header__inner { height: 68px; padding: 0 20px; border-bottom: 0.8px solid rgba(49,62,72,0.12); }
  .site-logo img { height: 34px; }
  .site-nav, .header-cta { display: none; }
  .menu-toggle { display: flex; }
}
@media (max-width: 600px) {
  .site-header { top: 0; }
}

/* ---------- Hero ---------- */
.hero {
  max-width: 1440px; margin: 0 auto; padding: 0 20px;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 520px), 1fr));
}
.hero__panel {
  position: relative; overflow: hidden; background: var(--ink); color: var(--white);
  padding: 40px clamp(24px, 4.2vw, 60px);
  display: flex; flex-direction: column; justify-content: space-between; gap: 80px;
  min-height: min(905px, 88vh);
}
.hero__o { position: absolute; right: -22%; bottom: -18%; width: 78%; max-width: 620px; opacity: 0.16; pointer-events: none; }
.hero__copy { position: relative; display: flex; flex-direction: column; gap: 32px; }
.pill {
  align-self: flex-start; display: flex; align-items: center; gap: 8px;
  padding: 6px 16px; border-radius: 9999px;
  background: rgba(232,232,232,0.1); box-shadow: inset 0 0 0 1px rgba(135,135,135,0.12);
  font-weight: 600; font-size: 14px; color: #eee;
}
.pill__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); flex: none; }
.hero__title {
  margin: 0; font-weight: 600; font-size: clamp(40px, 4.45vw, 64px); line-height: 1.3;
  letter-spacing: -0.01em; text-wrap: balance; color: var(--white);
}
.hero__lede { margin: 0; max-width: 506px; font-size: 18px; line-height: 1.6; color: var(--grey-light); }
.hero__stats { position: relative; display: grid; grid-template-columns: repeat(3, auto); justify-content: space-between; gap: 24px; }
.stat { display: flex; flex-direction: column; gap: 8px; }
.stat__num { font-weight: 500; font-size: clamp(40px, 3.9vw, 56px); line-height: 1; }
.stat__num--gold { color: var(--gold-light); }
.stat__label { font-size: 16px; color: var(--grey-light); }
.hero__media { min-height: 480px; }
.hero__media img { filter: saturate(1.1) contrast(1.05); }
.glass {
  position: absolute; right: 24px; bottom: 24px; max-width: 280px; padding: 20px;
  background: rgba(49,62,72,0.55); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
  color: var(--white); display: flex; flex-direction: column; gap: 8px; pointer-events: none;
}
.glass__title { font-weight: 500; font-size: 18px; }
.glass__text { font-size: 14px; line-height: 1.5; color: var(--ph); }

/* ---------- Lo Studio ---------- */
.studio {
  max-width: 1440px; margin: 0 auto; padding: 60px var(--pad) 0;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: 48px;
}
.studio__left { display: flex; flex-direction: column; gap: 80px; }
.studio__right { display: flex; flex-direction: column; gap: 48px; }
.studio__portrait { width: 240px; height: 320px; }
.studio__caption { display: none; }
.studio__text { margin: 0; font-size: clamp(22px, 2.2vw, 28px); line-height: 1.6; text-wrap: pretty; }
.t-gold { color: var(--gold); }
.t-grey { color: var(--grey); }

/* ---------- Foto ampia ---------- */
.wide { max-width: 1440px; margin: 0 auto; padding: 140px var(--pad) 0; }
.wide__img { height: clamp(320px, 42vw, 600px); }

/* ---------- Aree di intervento ---------- */
.areas { position: relative; overflow: hidden; margin-top: 140px; background: var(--ink); color: var(--white); }
.areas__o { position: absolute; right: -180px; top: -160px; width: 620px; opacity: 0.05; pointer-events: none; }
.areas__inner {
  position: relative; max-width: 1440px; margin: 0 auto; padding: 80px var(--pad);
  display: flex; flex-direction: column; gap: 60px;
}
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.areas .h2 { line-height: 1.4; }
.areas .label { color: var(--white); --sq: var(--white); }

.acc { border-top: 0.8px solid var(--white); }
.acc__item { border-bottom: 0.8px solid var(--white); }
.acc__btn {
  cursor: pointer; width: 100%; margin: 0; border: 0; background: none; text-align: left;
  display: flex; align-items: center; gap: 32px; padding: 20px 0;
  font-family: inherit; font-weight: 500; font-size: clamp(20px, 2vw, 28px); line-height: 1.6;
  letter-spacing: -0.02em; color: var(--white);
}
.acc__btn:hover { color: var(--gold); }
.acc__num { width: 48px; flex: none; }
.acc__title { flex: 1; letter-spacing: -0.01em; }
.acc__icon { width: 52px; height: 52px; flex: none; display: flex; align-items: center; justify-content: center; transition: transform .3s; }
.acc__icon .ico-plus { display: none; }
.acc__item.is-open .acc__icon { transform: rotate(-45deg); }
.acc__panel {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
  gap: clamp(32px, 6vw, 120px); padding: 12px 0 32px;
}
.acc__panel[hidden] { display: none; }
.acc__body { padding-left: 80px; display: flex; flex-direction: column; gap: 16px; }
.acc__desc { margin: 0; font-size: 20px; line-height: 1.6; }
.bullets { display: flex; flex-direction: column; gap: 12px; }
.bullet { display: flex; align-items: center; gap: 12px; font-size: 16px; line-height: 1.6; }
.bullet::before { content: ""; width: 6px; height: 6px; background: var(--gold); flex: none; }
.more {
  align-self: flex-start; margin-top: 8px; color: var(--gold-light); font-weight: 600; font-size: 16px;
  text-decoration: none; display: flex; gap: 8px; align-items: center;
}
.more:hover { color: var(--white); }
.acc__media { height: 297px; background: rgba(255,255,255,0.2); }

/* ---------- Professionisti ---------- */
.pros { max-width: 1440px; margin: 0 auto; padding: 140px var(--pad) 0; display: flex; flex-direction: column; gap: 60px; }
.pros__tools { display: flex; align-items: center; gap: 24px; }
.arrows { display: flex; gap: 8px; }
.arrow {
  cursor: pointer; width: 44px; height: 44px; padding: 0; border: 0; background: none; color: var(--ink);
  display: flex; align-items: center; justify-content: center; box-shadow: inset 0 0 0 1px rgba(49,62,72,0.2);
}
.arrow:hover { background: var(--ink); color: var(--white); }
.rule { height: 0; border-top: 0.8px solid rgba(49,62,72,0.6); }
.rail {
  display: flex; gap: 48px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  margin-right: calc(-1 * var(--pad));
}
.rail::-webkit-scrollbar { display: none; }
.pro { flex: none; width: min(367px, 78vw); scroll-snap-align: start; display: flex; flex-direction: column; gap: 24px; }
.pro__photo { height: 460px; }
.pro__photo-link { position: absolute; inset: 0; }
.pro__in {
  position: absolute; right: 16px; top: 16px; width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  background: var(--white); color: var(--ink); font-weight: 600; font-size: 15px; text-decoration: none;
}
.pro__in:hover { background: var(--gold); color: var(--ink); }
.pro__row { display: flex; justify-content: space-between; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.pro__row:hover { color: var(--gold); }
.pro__name { font-weight: 500; font-size: 24px; line-height: 1.1; }
.pro__cta { font-size: 16px; color: var(--grey); white-space: nowrap; }

/* ---------- News ---------- */
.news { max-width: 1440px; margin: 0 auto; padding: 140px clamp(20px, 6.7vw, 96px) 0; display: flex; flex-direction: column; gap: 60px; }
.news__head { display: flex; flex-direction: column; gap: 48px; }
.news__intro { margin: 0; max-width: 960px; font-size: clamp(24px, 2.5vw, 36px); line-height: 1.6; }
.rule--grey { border-top: 1px solid var(--grey); }
.news__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 64px 32px; }
.news-card {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 32px;
  color: var(--ink); text-decoration: none;
}
.news-card:hover { color: var(--ink); }
.news-card:hover .news-card__title { color: var(--gold); }
.news-card__text { display: flex; flex-direction: column; justify-content: space-between; gap: 32px; }
.news-card__top { display: flex; flex-direction: column; gap: 24px; }
.tag {
  align-self: flex-start; display: flex; align-items: center; gap: 8px; padding: 8px 12px;
  box-shadow: inset 0 0 0 1px rgba(49,62,72,0.12); font-size: 16px; line-height: 1.5;
}
.tag img { width: 14px; height: 14px; display: block; }
.tag span { opacity: 0.72; }
.news-card__title { font-weight: 500; font-size: 28px; line-height: 1.4; }
.news-card__desc { font-size: 18px; line-height: 1.6; color: var(--grey); }
.news-card__meta {
  display: flex; justify-content: space-between; align-items: center;
  padding-bottom: 16px; border-bottom: 1px solid var(--grey); color: var(--grey); font-size: 16px;
}
.news-card__media { min-height: 320px; }

/* ---------- Footer ---------- */
.site-footer { margin-top: 140px; background: var(--ink); color: var(--white); overflow: hidden; }
.site-footer__inner { max-width: 1440px; margin: 0 auto; padding: 120px var(--pad) 40px; display: flex; flex-direction: column; gap: 80px; }
.cta { position: relative; display: flex; flex-direction: column; align-items: center; gap: 24px; text-align: center; }
.cta__o { position: absolute; left: 50%; top: 50%; width: min(560px, 90vw); transform: translate(-50%, -50%); opacity: 0.14; pointer-events: none; }
.cta__title { position: relative; margin: 0; max-width: 760px; font-weight: 500; font-size: clamp(36px, 3.9vw, 56px); line-height: 1.3; letter-spacing: -0.01em; text-wrap: balance; color: var(--white); }
.cta__text { position: relative; margin: 0; max-width: 520px; font-size: 18px; line-height: 1.6; color: var(--ph); }
.cta__btns { position: relative; margin-top: 24px; display: flex; flex-direction: column; gap: 18px; }
.rule--light { height: 0; border-top: 0.8px solid var(--grey-light); }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 48px; }
.footer-col { display: flex; flex-direction: column; gap: 16px; }
.footer-col__title { font-weight: 600; font-size: 18px; color: var(--white); }
.footer-col a { color: var(--ph); font-size: 16px; text-decoration: none; }
.footer-col a:hover { color: var(--gold); }
.footer-brand { gap: 24px; }
.footer-brand img { width: 200px; height: auto; display: block; }
.footer-brand span { font-size: 16px; line-height: 1.6; color: var(--grey-light); }
.footer-sede { font-size: 16px; line-height: 1.6; color: var(--ph); }
.footer-sede a { font-size: inherit; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; font-size: 14px; color: var(--grey-light); }
.legal { display: flex; gap: 24px; }
.legal a { color: var(--grey-light); text-decoration: none; }
.legal a:hover { color: var(--gold); }
.in-circle {
  width: 36px; height: 36px; border-radius: 50%; background: var(--white); color: var(--ink);
  display: flex; align-items: center; justify-content: center; font-weight: 600; text-decoration: none;
}
.in-circle:hover { background: var(--gold); color: var(--ink); }
.map { position: relative; height: 200px; background: #3d4a55; }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(1) contrast(1.05); }

.site-nav a.is-current { color: var(--gold); }
.m-inline { display: none; }

/* ---------- Pagina professionista ---------- */
.crumbs {
  max-width: 1440px; margin: 0 auto; padding: 8px var(--pad) 32px;
  display: flex; gap: 12px; align-items: center; font-size: 16px; color: var(--grey);
}
.crumbs a { color: var(--grey); text-decoration: none; }
.crumbs a:hover { color: var(--ink); }
.crumbs__current { color: var(--ink); }
.crumbs-back { padding: 16px 20px; align-items: center; font-size: 14px; }
.crumbs-back a { color: var(--grey); text-decoration: none; display: flex; align-items: center; gap: 6px; min-height: 32px; }

.pro-hero {
  max-width: 1440px; margin: 0 auto; padding: 0 20px;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr));
}
.pro-hero__photo { min-height: clamp(320px, 50vh, 760px); }
.pro-hero__panel {
  background: var(--ink); color: var(--white); padding: 40px clamp(24px, 4.2vw, 60px);
  display: flex; flex-direction: column; justify-content: space-between; gap: 64px;
}
.pro-hero__top { display: flex; flex-direction: column; gap: 32px; }
.pro-hero__name {
  margin: 0; font-weight: 600; font-size: clamp(40px, 4.45vw, 64px); line-height: 1.2;
  letter-spacing: -0.01em; text-wrap: balance; color: var(--white);
}
.pro-hero__bio { max-width: 520px; font-size: 20px; line-height: 1.6; color: var(--ph); text-wrap: pretty; }
.pro-hero__bio p { margin: 0 0 1em; }
.pro-hero__bio > :last-child { margin-bottom: 0; }
.pro-hero__bottom { display: flex; flex-direction: column; gap: 24px; }
.facts {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 24px;
  padding-top: 24px; border-top: 0.8px solid var(--grey-light);
}
.fact { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.fact__k { font-size: 14px; color: var(--grey-light); }
.fact__v { font-size: 16px; color: var(--white); text-decoration: none; overflow-wrap: anywhere; }
a.fact__v:hover { color: var(--gold-light); }
.pro-hero__btns { display: flex; gap: 12px; flex-wrap: wrap; }
.btn-in {
  display: flex; align-items: center; gap: 10px; padding: 16px 24px;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.4);
  color: var(--white); font-weight: 600; font-size: 16px; text-decoration: none;
}
.btn-in:hover { background: rgba(255,255,255,0.1); color: var(--white); }
.btn-in__badge {
  width: 22px; height: 22px; flex: none; background: var(--white); color: var(--ink);
  display: flex; align-items: center; justify-content: center; font-size: 12px;
}

.label--sq .label__sq { display: block; width: 8px; height: 8px; }

.skills {
  max-width: 1440px; margin: 0 auto; padding: 120px var(--pad) 0;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: 48px;
}
.skills .label { align-self: flex-start; }
.skills__list { border-top: 0.8px solid rgba(49,62,72,0.6); }
.skill {
  display: flex; align-items: center; gap: 32px; padding: 20px 0;
  border-bottom: 0.8px solid rgba(49,62,72,0.6); text-decoration: none; color: var(--ink);
  font-weight: 500; font-size: clamp(20px, 2vw, 28px); line-height: 1.5;
}
.skill:hover { color: var(--gold); }
.skill__num { width: 48px; flex: none; }
.skill__title { flex: 1; }

.others { max-width: 1440px; margin: 0 auto; padding: 140px var(--pad) 0; display: flex; flex-direction: column; gap: 48px; }
.h2--sm { font-size: clamp(32px, 3.3vw, 48px); }
.team-link { display: flex; align-items: center; gap: 12px; font-size: 18px; color: var(--grey); text-decoration: none; }
.team-link:hover { color: var(--ink); }
.others__rail { display: flex; gap: 32px; overflow-x: auto; scrollbar-width: none; margin-right: calc(-1 * var(--pad)); }
.others__rail::-webkit-scrollbar { display: none; }
.other { flex: none; width: 260px; display: flex; flex-direction: column; gap: 16px; color: var(--ink); text-decoration: none; }
.other:hover { color: var(--gold); }
.other__photo { height: 320px; }
.other__name { font-weight: 500; font-size: 20px; line-height: 1.2; }

/* ---------- Footer compatto (pagine interne) ---------- */
.site-footer--compact .site-footer__inner { padding: 64px var(--pad) 40px; gap: 48px; }
.fc-top { display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; }
.fc-logo { width: 200px; height: auto; display: block; }
.fc-info { display: flex; gap: 32px; flex-wrap: wrap; font-size: 16px; color: var(--ph); }
.fc-contacts { display: contents; }
.fc-info a { color: inherit; text-decoration: none; }
.fc-info a:hover { color: var(--gold); }
.fc-bottom { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; font-size: 14px; color: var(--grey-light); }

/* ---------- Pagine interne generiche (provvisorie) ---------- */
main#content > .container { padding-top: 60px; }
.entry-title { margin: 0 0 24px; font-weight: 500; font-size: clamp(36px, 3.9vw, 56px); line-height: 1.3; }
.entry-content { max-width: 760px; font-size: 18px; line-height: 1.6; }

/* ================= MOBILE (layout "Homepage Aurolex Mobile") ================= */
@media (max-width: 767px) {
  .only-mobile { display: block !important; }
  .footer-sede.only-mobile,
  .footer-brand-row.only-mobile,
  .footer-legal-m.only-mobile,
  .btn-outline-light.only-mobile,
  .crumbs-back.only-mobile { display: flex !important; }
  .only-desktop { display: none !important; }
  .m-inline { display: inline; }

  .label { gap: 10px; font-size: 15px; }
  .label__o { display: none; }
  .label__sq { display: block; }
  .h2 { font-size: 32px; line-height: 1.3; }

  /* Hero */
  .hero { display: block; padding: 0 12px; }
  .hero__panel { padding: 28px 20px 32px; gap: 24px; min-height: 0; justify-content: flex-start; }
  .hero__o { display: none; }
  .hero__copy { gap: 24px; }
  .pill { padding: 6px 14px; font-size: 12px; }
  .pill__dot { width: 7px; height: 7px; }
  .hero__title { font-size: 38px; line-height: 1.2; }
  .hero__lede { font-size: 16px; }
  .hero__copy .btn-light { align-self: stretch; justify-content: space-between; padding: 16px 20px; }
  .hero__stats { grid-template-columns: repeat(3, 1fr); gap: 12px; padding-top: 20px; border-top: 0.8px solid rgba(255,255,255,0.3); }
  .stat { gap: 6px; }
  .stat__num { font-size: 34px; }
  .stat__label { font-size: 13px; }
  .hero__media { min-height: 0; height: 300px; }
  .glass { display: none; }

  /* Studio: ordine label → testo → ritratto+nome → link */
  .studio { display: flex; flex-direction: column; gap: 28px; padding: 64px 20px 0; }
  .studio__left, .studio__right { display: contents; }
  .studio .label { order: 1; }
  .studio__text { order: 2; font-size: 21px; line-height: 1.55; }
  .studio__person { order: 3; display: grid; grid-template-columns: 120px 1fr; gap: 16px; align-items: end; }
  .studio .line-link { order: 4; font-size: 16px; padding-bottom: 14px; }
  .studio__portrait { width: 120px; height: 160px; }
  .studio__caption { display: flex; flex-direction: column; gap: 4px; padding-bottom: 4px; }
  .studio__caption strong { font-weight: 500; font-size: 17px; }
  .studio__caption span { font-size: 14px; color: var(--grey); }

  .wide { padding: 64px 12px 0; }
  .wide__img { height: 240px; }

  /* Aree */
  .areas { margin-top: 64px; }
  .areas__o { display: none; }
  .areas__inner { padding: 48px 20px; gap: 32px; }
  .areas .section-head { flex-direction: column-reverse; align-items: flex-start; gap: 16px; }
  .areas .label { color: var(--grey-light); }
  .acc__item { border-bottom-color: rgba(255,255,255,0.5); }
  .acc__btn { min-height: 56px; gap: 14px; padding: 14px 0; font-size: 18px; line-height: 1.35; letter-spacing: -0.01em; }
  .acc__num { width: 28px; font-size: 14px; color: var(--gold-light); }
  .acc__icon { width: 28px; height: 28px; }
  .acc__icon .ico-arrow { display: none; }
  .acc__icon .ico-plus { display: block; }
  .acc__item.is-open .acc__icon { transform: rotate(45deg); }
  .acc__panel { display: block; padding: 0 0 24px 42px; }
  .acc__body { padding-left: 0; gap: 14px; }
  .acc__desc { font-size: 15px; color: var(--ph); }
  .bullets { gap: 8px; }
  .bullet { gap: 10px; font-size: 14px; }
  .bullet::before { width: 5px; height: 5px; }
  .more { margin-top: 0; font-size: 15px; min-height: 44px; }
  .acc__media { display: none; }

  /* Professionisti */
  .pros { padding: 64px 0 0; gap: 28px; }
  .pros .section-head { padding: 0 20px; flex-direction: column-reverse; align-items: flex-start; gap: 16px; }
  .arrows, .pros .rule { display: none; }
  .rail { gap: 16px; padding: 0 20px; scroll-padding: 0 20px; margin-right: 0; }
  .pro { width: 260px; gap: 14px; }
  .pro__photo { height: 320px; }
  .pro__in { display: none; }
  .pro__name { font-size: 19px; }
  .pro__cta { font-size: 14px; }
  .pros__hint { padding: 0 20px; font-size: 13px; color: var(--grey); }

  /* News */
  .news { padding: 64px 20px 0; gap: 28px; }
  .news__head { gap: 28px; }
  .news__head .rule { display: none; }
  .news__intro { font-size: 21px; line-height: 1.55; }
  .news__grid { gap: 28px; }
  .news-card { display: flex; flex-direction: column; gap: 16px; padding-top: 24px; border-top: 1px solid var(--grey); }
  .news-card__text, .news-card__top { display: contents; }
  .news-card__media { order: -1; min-height: 0; height: 200px; }
  .tag { padding: 6px 10px; font-size: 14px; }
  .tag img { display: none; }
  .news-card__title { font-size: 22px; line-height: 1.35; }
  .news-card__desc { font-size: 15px; }
  .news-card__meta { padding-bottom: 0; border-bottom: 0; font-size: 14px; }

  /* Footer */
  .site-footer { margin-top: 64px; }
  .site-footer__inner { padding: 56px 20px 32px; gap: 40px; }
  .cta { align-items: stretch; text-align: left; gap: 18px; }
  .cta__o { display: none; }
  .cta__title { font-size: 32px; line-height: 1.25; }
  .cta__text { font-size: 16px; }
  .cta__btns { margin-top: 0; }
  .cta__btns .btn-light { align-self: stretch; justify-content: space-between; padding: 16px 20px; }
  .footer-sede { flex-direction: column; gap: 6px; font-size: 15px; }
  .footer-sede .footer-col__title { font-size: 15px; }
  .footer-brand-row { justify-content: space-between; align-items: center; }
  .footer-brand-row img { width: 150px; height: auto; display: block; }
  .footer-brand-row .in-circle { width: 44px; height: 44px; }
  .footer-legal-m { flex-direction: column; gap: 12px; font-size: 13px; color: var(--grey-light); }
  .footer-legal-m .legal { gap: 20px; }

  /* Pagina professionista (layout "Professionista Mobile") */
  .pro-hero { display: block; padding: 0 12px; }
  .pro-hero__photo { min-height: 0; height: 420px; }
  .pro-hero__panel { padding: 28px 20px 32px; gap: 20px; justify-content: flex-start; }
  .pro-hero__top, .pro-hero__bottom, .pro-hero__btns { display: contents; }
  .pro-hero__name { font-size: 36px; line-height: 1.15; }
  .pro-hero__bio { font-size: 16px; }
  .facts { grid-template-columns: 1fr 1fr; gap: 16px; padding-top: 20px; }
  .fact { gap: 4px; }
  .fact__k { font-size: 13px; }
  .fact__v { font-size: 14px; }
  .pro-hero__btns .btn-light { align-self: stretch; justify-content: space-between; padding: 16px 20px; }
  .btn-in { padding: 14px 20px; }

  .skills { display: flex; flex-direction: column; gap: 20px; padding: 56px 20px 0; }
  .label--sq .label__sq { width: 7px; height: 7px; }
  .skill { gap: 14px; min-height: 56px; padding: 14px 0; font-size: 18px; line-height: 1.35; }
  .skill__num { width: 28px; font-size: 14px; color: var(--gold); }
  .skill .arrow-ico { width: 18px; height: 18px; }

  .others { padding: 64px 0 0; gap: 24px; }
  .others .section-head { padding: 0 20px; }
  .h2--sm { font-size: 28px; }
  .others__rail { gap: 14px; padding: 0 20px; margin-right: 0; scroll-snap-type: x mandatory; scroll-padding: 0 20px; }
  .other { width: 180px; gap: 12px; scroll-snap-align: start; }
  .other__photo { height: 220px; }
  .other__name { font-size: 16px; line-height: 1.25; }

  /* Footer compatto */
  .site-footer--compact { margin-top: 64px; }
  .site-footer--compact .site-footer__inner { padding: 40px 20px 32px; gap: 24px; }
  .fc-top { flex-direction: column; align-items: flex-start; gap: 24px; }
  .fc-logo { width: 150px; }
  .fc-info { flex-direction: column; gap: 4px; font-size: 15px; line-height: 1.6; }
  .fc-contacts { display: block; }
  .fc-bottom { flex-direction: column; gap: 12px; font-size: 13px; }
  .fc-bottom .legal { gap: 20px; }
}
