/* AVYREN · v5 « Studio » */
@font-face { font-family: "Mona Sans"; src: url(/assets/fonts/mona-sans.woff2) format("woff2"); font-weight: 300 800; font-display: swap; }
@font-face { font-family: "Plex Arabic"; src: url(/assets/fonts/plex-arabic-400.woff2) format("woff2"); font-weight: 400; font-display: swap; unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+FB50-FDFF, U+FE70-FEFF, U+200C-200F; }
@font-face { font-family: "Plex Arabic"; src: url(/assets/fonts/plex-arabic-500.woff2) format("woff2"); font-weight: 500; font-display: swap; unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+FB50-FDFF, U+FE70-FEFF, U+200C-200F; }
@font-face { font-family: "Plex Arabic"; src: url(/assets/fonts/plex-arabic-600.woff2) format("woff2"); font-weight: 600 800; font-display: swap; unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+FB50-FDFF, U+FE70-FEFF, U+200C-200F; }

:root {
  --gold: #c9a45c; --gold-l: #ead39c; --gold-d: #a8823f;
  --g-grad: linear-gradient(100deg, #f1dfae 0%, #d5b06a 45%, #b48a44 100%);
  --r: 22px; --r-l: 30px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --font: "Mona Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --pad: clamp(16px, 4vw, 40px);
}
/* due temi, un solo fondo ciascuno: il visitatore sceglie con il pulsante nell'header */
:root, [data-theme=dark] {
  --bg: #0a0a0b; --sf: #141416; --sf2: #1c1c1f; --tx: #f4f2ee; --mu: rgba(244, 242, 238, .62); --ln: rgba(255, 255, 255, .1);
  --inv: #fff; --inv-tx: #111; --hd: rgba(24, 24, 27, .8); --gold-t: #e2c88f; --dimc: 10, 10, 11; --shadow: rgba(0, 0, 0, .8);
  --media: radial-gradient(90% 90% at 50% 30%, #222226, #131315);
  --g-text: var(--g-grad);
  color-scheme: dark;
}
[data-theme=light] {
  --bg: #fff; --sf: #f4f4f5; --sf2: #e9e9ec; --tx: #111113; --mu: #5f5e5a; --ln: rgba(17, 17, 19, .1);
  --inv: #111113; --inv-tx: #fff; --hd: rgba(255, 255, 255, .86); --gold-t: #94702d; --dimc: 255, 255, 255; --shadow: rgba(20, 20, 30, .16);
  --media: radial-gradient(90% 90% at 50% 30%, #fcfcfc, #ececee);
  --g-text: linear-gradient(100deg, #c9a058 0%, #a57b33 50%, #86621f 100%);
  color-scheme: light;
}
[dir=rtl] { --font: "Plex Arabic", "Mona Sans", ui-sans-serif, system-ui, sans-serif; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body { margin: 0; background: var(--bg); color: var(--tx); transition: background-color .35s, color .35s; font: 400 16px/1.6 var(--font); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, p, ul, ol, figure, dl, dd, blockquote { margin: 0; padding: 0; }
ul, ol { list-style: none; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 8px; }
.skip { position: absolute; inset-inline-start: 12px; top: -60px; z-index: 100; background: #fff; color: #111; padding: 10px 16px; border-radius: 99px; }
.skip:focus { top: 12px; }
.wrap { width: 100%; max-width: 1240px; margin-inline: auto; padding-inline: var(--pad); }

/* tipografia */
.h1 { font-size: clamp(2.6rem, 1.2rem + 5.6vw, 6rem); line-height: .98; font-weight: 580; letter-spacing: -.048em; text-wrap: balance; }
.h2 { font-size: clamp(2.1rem, 1.3rem + 3.2vw, 4rem); line-height: 1.02; font-weight: 560; letter-spacing: -.042em; text-wrap: balance; }
.h2-xl { font-size: clamp(2.4rem, 1.3rem + 4.2vw, 4.8rem); }
[dir=rtl] .h1, [dir=rtl] .h2 { letter-spacing: 0; line-height: 1.2; font-weight: 600; }
.gold { background: var(--g-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.eb { display: flex; align-items: center; gap: 10px; font-size: 11.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--mu); margin-block-end: 22px; }
.eb i { width: 16px; height: 4px; border-radius: 2px; background: var(--gold); transform: skewX(-20deg); }
[dir=rtl] .eb { letter-spacing: 0; font-size: 13px; }
.gold-eb { color: var(--gold-t); }
.lede, .sec-text, .sec-side { color: var(--mu); font-size: clamp(16px, 1rem + .25vw, 18.5px); line-height: 1.6; }

/* pulsanti a pillola con l'icona tonda */
.b { display: inline-flex; align-items: center; gap: 14px; padding: 7px 7px 7px 22px; border-radius: 99px; font-weight: 600; font-size: 15px; border: 0; cursor: pointer; white-space: nowrap; transition: transform .35s var(--ease), background .3s, box-shadow .3s; }
[dir=rtl] .b { padding: 7px 22px 7px 7px; }
.b-ico { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--g-grad); color: #1a1408; flex: none; transition: transform .35s var(--ease); }
.b-ico svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
[dir=rtl] .b-ico svg, [dir=rtl] .arr-b svg { transform: scaleX(-1); }
.b:hover .b-ico { transform: translateX(3px); }
[dir=rtl] .b:hover .b-ico { transform: translateX(-3px); }
.b-light { background: var(--inv); color: var(--inv-tx); box-shadow: 0 10px 30px -14px var(--shadow); }
.b-dark { background: var(--sf); color: var(--tx); box-shadow: inset 0 0 0 1px var(--ln); }
.b-dark:hover { background: var(--sf2); }
.b-line { background: transparent; box-shadow: inset 0 0 0 1px var(--ln); padding: 10px 18px; }
.b-s { font-size: 14px; padding-block: 5px; }
.b-s .b-ico { width: 32px; height: 32px; }
.b-block { width: 100%; justify-content: space-between; }
.linkish { background: none; border: 0; padding: 0; cursor: pointer; text-align: start; }

/* header: pillola bianca */
.hd { position: fixed; inset-inline: 0; top: 14px; z-index: 50; padding-inline: var(--pad); pointer-events: none; }
.hd-pill { pointer-events: auto; max-width: 1240px; margin-inline: auto; display: flex; align-items: center; gap: 20px; background: var(--hd); backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4); color: var(--tx); border-radius: 99px; padding: 6px 6px 6px 18px; box-shadow: 0 10px 40px -18px var(--shadow), 0 0 0 1px var(--ln); }
[dir=rtl] .hd-pill { padding: 6px 18px 6px 6px; }
.brand { display: inline-flex; align-items: center; gap: 9px; }
.brand-mark { width: 28px; height: 28px; }
.brand b { font-weight: 700; letter-spacing: .14em; font-size: 14px; font-family: "Mona Sans", sans-serif; }
.brand span { color: var(--mu); font-size: 13.5px; font-weight: 500; }
.nav { display: flex; gap: 4px; margin-inline: auto; }
.nav a { position: relative; padding: 8px 12px; font-size: 14px; font-weight: 500; color: var(--mu); border-radius: 99px; transition: color .25s; }
.nav a:hover, .nav a.on { color: var(--tx); }
.nav a::after { content: ""; position: absolute; inset-inline: 12px; bottom: 3px; height: 2px; border-radius: 2px; background: var(--gold); transform: scaleX(0); transition: transform .35s var(--ease); }
.nav a.on::after { transform: scaleX(1); }
.hd-end { display: flex; align-items: center; gap: 12px; margin-inline-start: auto; }
.nav + .hd-end { margin-inline-start: 0; }
.lang { display: inline-flex; gap: 2px; font-size: 12.5px; font-weight: 600; }
.lang a { padding: 5px 7px; border-radius: 99px; color: var(--mu); }
.lang a[aria-current] { color: var(--tx); background: var(--sf2); }
.hd .b-dark { background: var(--inv); color: var(--inv-tx); box-shadow: none; }
.theme-t { display: grid; place-items: center; width: 36px; height: 36px; flex: none; border: 0; border-radius: 50%; background: var(--sf2); color: var(--tx); cursor: pointer; transition: background .25s, transform .4s var(--ease); }
.theme-t:hover { transform: rotate(-20deg); }
.theme-t svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.theme-t .t-moon { fill: currentColor; stroke: none; }
:root:not([data-theme=light]) .t-moon, [data-theme=light] .t-sun { display: none; }

/* sezioni */
section { position: relative; }
.dark, .light, .white { background: var(--bg); color: var(--tx); }
main > section + section::before { content: ""; position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: min(1240px, calc(100% - 2 * var(--pad))); height: 1px; background: var(--ln); }
.sec-head { display: grid; grid-template-columns: 1.3fr 1fr; gap: 24px 48px; align-items: end; margin-block-end: clamp(36px, 5vw, 64px); }
.sec-head .eb { margin-block-end: 18px; }

/* 1 · hero */
.hero { padding-block: clamp(150px, 18vw, 210px) clamp(70px, 8vw, 110px); overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: -20% -10% auto; height: 80%; background: radial-gradient(50% 50% at 50% 30%, rgba(201, 164, 92, .16), transparent 70%); pointer-events: none; }
.hero-in { position: relative; text-align: center; display: flex; flex-direction: column; align-items: center; }
.hero .eb { justify-content: center; }
.hero .lede { max-width: 620px; margin-block: 26px 34px; }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.chips-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-block-start: clamp(44px, 6vw, 72px); }
.pill-chip { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 99px; font-size: 14px; font-weight: 500; background: var(--sf); box-shadow: inset 0 0 0 1px var(--ln); color: var(--mu); transition: background .3s, color .3s; }
.pill-chip:hover { color: var(--tx); }
.pill-chip.on { background: var(--inv); color: var(--inv-tx); }
.pill-chip i, .legend i { width: 6px; height: 6px; border-radius: 50%; display: inline-block; }
i.m { background: var(--gold); }
i.p { background: transparent; box-shadow: inset 0 0 0 1.5px var(--mu); }
.pill-chip.on i.p { box-shadow: inset 0 0 0 1.5px var(--inv-tx); }
.legend { display: flex; justify-content: center; gap: 22px; margin-block-start: 16px; font-size: 12.5px; color: var(--mu); }
.legend span { display: inline-flex; align-items: center; gap: 7px; }

/* 2 · carosello */
.work { padding-block: clamp(80px, 10vw, 130px); overflow: hidden; }
.deck { position: relative; display: grid; grid-template-columns: 1.25fr 1fr; align-items: center; min-height: 520px; outline: none; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.deck-stack { position: relative; height: 470px; perspective: 1600px; }
.card { position: absolute; inset-inline-start: 0; top: 50%; width: min(560px, 92%); aspect-ratio: 4 / 3; margin-top: calc(min(560px, 92%) * -.375); border-radius: var(--r); overflow: hidden; background: var(--media); box-shadow: 0 0 0 1px var(--ln), 0 40px 80px -30px var(--shadow); transform-origin: 0% 50%; transition: transform .8s var(--ease), opacity .6s, filter .6s; cursor: pointer; will-change: transform; }
[dir=rtl] .card { transform-origin: 100% 50%; }
.card::after { content: ""; position: absolute; inset: 0; background: rgba(var(--dimc), var(--dim, 0)); transition: background .6s; pointer-events: none; }
.card-tag { position: absolute; top: 14px; inset-inline-start: 14px; z-index: 2; font-size: 10.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; padding: 5px 10px; border-radius: 99px; background: var(--hd); color: var(--tx); box-shadow: 0 0 0 1px var(--ln); }
[dir=rtl] .card-tag { letter-spacing: 0; }
.card-name { position: absolute; left: 50%; bottom: 16px; transform: translateX(-50%); z-index: 2; font-size: 13px; font-weight: 600; letter-spacing: .02em; color: var(--tx); padding: 6px 14px; border-radius: 99px; background: var(--hd); box-shadow: 0 0 0 1px var(--ln); backdrop-filter: blur(6px); white-space: nowrap; }
.cv { position: absolute; inset: 0; display: grid; place-items: center; }
.cv-img img { width: auto; height: 74%; max-width: 74%; object-fit: contain; filter: drop-shadow(0 26px 30px rgba(0, 0, 0, .28)); }
.cv-social { background: var(--media); }
.phone { width: 27%; aspect-ratio: 9 / 18; border-radius: 26px; background: #0f0f10; padding: 9px; box-shadow: 0 30px 50px -20px rgba(60, 40, 10, .55), inset 0 0 0 1.5px #2b2b2e; transform: rotate(-6deg) translateX(-30%); }
.ph-top { display: flex; align-items: center; gap: 5px; padding: 10px 6px 8px; }
.ph-top i { width: 18px; height: 18px; border-radius: 50%; background: var(--g-grad); }
.ph-top b { flex: 1; height: 5px; border-radius: 3px; background: #333; }
.ph-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3px; }
.ph-grid span { aspect-ratio: 9 / 13; border-radius: 3px; display: grid; place-items: center; background: linear-gradient(calc(var(--k) * 40deg), #c9a45c, #6f4f22 60%, #2b2116); opacity: 0; animation: tile .5s var(--ease) forwards; animation-delay: calc(var(--k) * .12s + .3s); }
.ph-grid span svg { width: 9px; fill: rgba(255, 255, 255, .9); }
@keyframes tile { from { opacity: 0; transform: scale(.6); } to { opacity: 1; transform: none; } }
.cv-count { position: absolute; inset-inline-end: 12%; top: 50%; transform: translateY(-50%); font-size: clamp(40px, 7vw, 86px); font-weight: 650; letter-spacing: -.05em; color: var(--tx); line-height: 1; }
.cv-count b { background: var(--g-text); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 2px 0 rgba(0, 0, 0, .08)); }
.deck-info { position: relative; z-index: 5; margin-inline-start: -60px; padding: 26px 26px 22px; border-radius: var(--r); background: var(--hd); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); box-shadow: 0 0 0 1px var(--ln), 0 40px 80px -30px var(--shadow); }
.di-top { display: flex; justify-content: space-between; align-items: center; font-size: 12.5px; color: var(--mu); }
.di-n b { color: var(--tx); }
.di-tag { font-size: 10.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; padding: 4px 10px; border-radius: 99px; box-shadow: inset 0 0 0 1px var(--ln); }
.deck-info h3 { font-size: clamp(24px, 2.4vw, 32px); font-weight: 600; letter-spacing: -.03em; margin-block: 16px 4px; }
[dir=rtl] .deck-info h3 { letter-spacing: 0; }
.di-line { color: var(--gold-t); font-size: 14.5px; }
.di-text { color: var(--mu); font-size: 15px; margin-block: 14px 22px; min-height: 4.8em; }
.di-ctl { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.di-arrows { display: flex; gap: 8px; }
.arr-b { width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--sf); box-shadow: inset 0 0 0 1px var(--ln); color: var(--tx); display: grid; place-items: center; cursor: pointer; transition: background .25s; }
.arr-b:hover { background: var(--sf2); }
.arr-b svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.di-prog { display: flex; gap: 6px; margin-block-start: 22px; }
.di-prog i { flex: 1; height: 3px; border-radius: 3px; background: var(--ln); transition: background .4s; }
.di-prog i.on { background: var(--g-grad); }
.for { margin-block-start: clamp(70px, 9vw, 110px); }
.for ul { display: grid; grid-template-columns: repeat(4, 1fr); border-block-start: 1px solid var(--ln); }
.for li { padding: 22px 22px 6px 0; border-inline-end: 1px solid var(--ln); }
[dir=rtl] .for li { padding: 22px 0 6px 22px; }
.for li + li { padding-inline-start: 22px; }
.for li:last-child { border: 0; }
.for b { display: block; font-size: 17px; font-weight: 600; margin-block-end: 4px; }
.for span { color: var(--mu); font-size: 14.5px; }
.formats { margin-block-start: clamp(56px, 7vw, 90px); }
.formats ul { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.formats li { display: grid; grid-template-columns: 56px auto; grid-template-rows: auto auto; column-gap: 18px; align-items: center; padding: 22px; border-radius: var(--r); background: var(--sf); box-shadow: inset 0 0 0 1px var(--ln); }
.fr-box { grid-row: span 2; width: 100%; max-height: 56px; aspect-ratio: var(--ar); justify-self: center; height: auto; border-radius: 6px; box-shadow: inset 0 0 0 1.5px var(--gold); background: linear-gradient(160deg, rgba(201, 164, 92, .22), transparent); }
.fr-box[style*="9/16"] { width: 32px; }
.fr-box[style*="1/1"] { width: 46px; }
.formats b { font-size: 26px; font-weight: 600; letter-spacing: -.03em; }
.formats li > span:last-child { color: var(--mu); font-size: 14.5px; }

/* 3 · offerta */
.offer { padding-block: clamp(90px, 11vw, 140px); }
.offer-in { display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(28px, 4vw, 60px); align-items: start; }
.offer .sec-text { max-width: 560px; margin-block: 20px 36px; }
.pack { position: relative; padding: clamp(26px, 3.4vw, 40px); border-radius: var(--r-l); background: radial-gradient(90% 60% at 100% 0%, rgba(201, 164, 92, .2), transparent 60%), var(--sf); color: var(--tx); box-shadow: 0 0 0 1px var(--ln), 0 50px 100px -50px var(--shadow); overflow: hidden; }
.pack-k { display: flex; align-items: center; gap: 10px; font-size: 11.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-t); }
.pack-k i { width: 16px; height: 4px; border-radius: 2px; background: var(--gold); transform: skewX(-20deg); }
.pack-big { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 14px; margin-block: 18px 6px; }
.pack-big b { font-size: clamp(54px, 7vw, 86px); font-weight: 620; letter-spacing: -.05em; line-height: .95; background: var(--g-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.pack-big span { font-size: 17px; color: var(--mu); }
.pack-price { display: inline-block; font-size: 13px; font-weight: 600; padding: 5px 12px; border-radius: 99px; background: var(--sf2); box-shadow: inset 0 0 0 1px var(--ln); color: var(--tx); }
.pack-sum { color: var(--mu); margin-block: 18px 24px; max-width: 520px; }
.pack-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.pack-stats div { padding: 18px; border-radius: 18px; background: var(--bg); box-shadow: inset 0 0 0 1px var(--ln); }
.pack-stats b { font-size: 40px; font-weight: 600; letter-spacing: -.04em; line-height: 1; color: var(--gold-t); }
.pack-stats p { font-weight: 600; margin-block: 10px 2px; }
.pack-stats span { font-size: 13.5px; color: var(--mu); line-height: 1.45; display: block; }
.pack-inc-l { font-size: 11.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--mu); margin-block: 28px 14px; }
[dir=rtl] .pack-inc-l, [dir=rtl] .pack-k, [dir=rtl] .di-tag { letter-spacing: 0; }
.pack-inc { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 22px; margin-block-end: 28px; }
.pack-inc li { display: flex; gap: 10px; font-size: 15px; line-height: 1.45; }
.ck { width: 16px; height: 16px; flex: none; margin-block-start: 3px; fill: none; stroke: var(--gold); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.pack-note { margin-block-start: 16px; font-size: 13.5px; color: var(--gold-t); display: flex; align-items: center; gap: 8px; }
.pack-note::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px rgba(201, 164, 92, .2); animation: pulse 2.2s infinite; flex: none; }
@keyframes pulse { 50% { box-shadow: 0 0 0 7px rgba(201, 164, 92, 0); } }
.one { position: sticky; top: 110px; padding: clamp(24px, 3vw, 34px); border-radius: var(--r-l); background: var(--sf); box-shadow: 0 0 0 1px var(--ln); }
.one h3 { font-size: clamp(24px, 2.4vw, 30px); font-weight: 600; letter-spacing: -.03em; }
[dir=rtl] .one h3 { letter-spacing: 0; }
.one > p { color: var(--mu); margin-block: 10px 20px; }
.one ul { border-block-start: 1px solid var(--ln); margin-block-end: 24px; }
.one li { display: flex; justify-content: space-between; gap: 12px; padding-block: 14px; border-block-end: 1px solid var(--ln); font-size: 15px; }
.one li span { color: var(--mu); font-size: 14px; }

/* 4 · expertises */
.exp { padding-block: clamp(90px, 11vw, 140px); }
.exp-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.exp-card { border-radius: var(--r-l); background: var(--sf); box-shadow: 0 0 0 1px var(--ln); overflow: hidden; display: flex; flex-direction: column; transition: transform .5s var(--ease), box-shadow .5s; }
.exp-card:hover { transform: translateY(-6px); box-shadow: 0 0 0 1px var(--ln), 0 40px 70px -40px var(--shadow); }
.exp-media { position: relative; aspect-ratio: 4 / 3; background: var(--media); display: grid; place-items: center; overflow: hidden; }
.exp-media img { width: auto; height: 72%; max-width: 72%; object-fit: contain; filter: drop-shadow(0 22px 26px rgba(0, 0, 0, .26)); transition: transform .8s var(--ease); }
.exp-card:hover .exp-media img { transform: scale(1.05) rotate(-1deg); }
.exp-chip { position: absolute; inset-inline-end: 14px; bottom: 14px; font-size: 12.5px; font-weight: 600; padding: 6px 12px; border-radius: 99px; background: var(--inv); color: var(--inv-tx); }
.exp-body { padding: 24px 24px 26px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.exp-k { display: flex; gap: 10px; font-size: 11.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-t); }
[dir=rtl] .exp-k { letter-spacing: 0; font-size: 13px; }
.exp-k span { color: var(--mu); }
.exp-body h3 { font-size: clamp(22px, 2vw, 27px); line-height: 1.12; font-weight: 600; letter-spacing: -.03em; }
[dir=rtl] .exp-body h3 { letter-spacing: 0; line-height: 1.35; }
.exp-body > p:not(.exp-k):not(.tags) { color: var(--mu); font-size: 15px; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-block-start: auto; padding-block-start: 10px; }
.tags span { font-size: 12.5px; font-weight: 500; padding: 5px 11px; border-radius: 99px; box-shadow: inset 0 0 0 1px var(--ln); color: var(--mu); }

/* 5 · tesi */
.thesis { padding-block: clamp(100px, 12vw, 160px); overflow: hidden; }
.thesis-in { max-width: 900px; }
.thesis .sec-text { max-width: 540px; margin-block: 26px 34px; }
.thesis-art { position: relative; aspect-ratio: 1; border-radius: var(--r-l); overflow: hidden; background: var(--media); box-shadow: 0 0 0 1px var(--ln), 0 50px 100px -50px rgba(201, 164, 92, .3); }
.thesis-art img { width: 100%; height: 100%; object-fit: contain; padding: 6%; filter: drop-shadow(0 30px 34px rgba(0, 0, 0, .3)); }

/* 6 · process */
.process { padding-block: clamp(90px, 11vw, 140px); }
.process .h2 { margin-block-end: clamp(40px, 5vw, 64px); }
.track { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-block-end: 22px; height: 14px; }
.track::before, .track > i { content: ""; position: absolute; inset-inline: 7px; top: 6px; height: 2px; background: var(--ln); border-radius: 2px; }
.track > i { background: var(--g-grad); inset-inline-end: auto; width: calc(var(--p, 0) * (100% - 14px)); transition: width .2s linear; }
.track b { position: relative; z-index: 1; width: 14px; height: 14px; border-radius: 50%; background: var(--bg); box-shadow: inset 0 0 0 2px var(--ln); transition: box-shadow .3s; }
.track b.on { box-shadow: inset 0 0 0 2px var(--gold-d), 0 0 0 4px rgba(201, 164, 92, .18); }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.steps li { padding: 24px; border-radius: var(--r); background: var(--sf); box-shadow: inset 0 0 0 1px var(--ln); }
.st-n { display: block; font-size: 40px; font-weight: 500; letter-spacing: -.04em; color: var(--tx); line-height: 1; margin-block-end: 26px; }
.steps h3 { font-size: 20px; font-weight: 600; letter-spacing: -.02em; margin-block-end: 8px; }
.steps p { color: var(--mu); font-size: 15px; }

/* 7 · contatto */
.contact { padding-block: clamp(100px, 12vw, 150px); }
.contact-in { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.ct-copy { position: sticky; top: 110px; }
.ct-copy .sec-text { margin-block: 22px 30px; max-width: 500px; }
.ct-opts { display: grid; gap: 10px; }
.ct-opt { display: flex; justify-content: space-between; align-items: center; gap: 16px; text-align: start; padding: 16px 12px 16px 20px; border-radius: 18px; border: 0; cursor: pointer; background: var(--sf); box-shadow: inset 0 0 0 1px var(--ln); transition: background .3s, box-shadow .3s; }
[dir=rtl] .ct-opt { padding: 16px 20px 16px 12px; }
.ct-opt:hover, .ct-opt.on { background: var(--sf2); box-shadow: inset 0 0 0 1px rgba(201, 164, 92, .55); }
.ct-opt b { display: block; font-size: 17px; font-weight: 600; }
.ct-opt i { font-style: normal; color: var(--mu); font-size: 14px; }
.ct-direct { margin-block-start: 22px; color: var(--mu); font-size: 14.5px; }
.ct-direct a { color: var(--tx); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--gold); }
.ct-form { padding: clamp(22px, 3vw, 34px); border-radius: var(--r-l); background: var(--sf); box-shadow: inset 0 0 0 1px var(--ln); display: grid; gap: 22px; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
legend, .field > span { font-size: 13.5px; font-weight: 600; color: var(--tx); margin-block-end: 10px; padding: 0; }
legend em, .field em { font-style: normal; font-weight: 400; color: var(--mu); margin-inline-start: 6px; }
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.seg label, .ticks label { position: relative; cursor: pointer; }
.seg input, .ticks input, .chip input { position: absolute; opacity: 0; pointer-events: none; }
.seg span { display: block; text-align: center; padding: 12px; border-radius: 14px; background: var(--bg); box-shadow: inset 0 0 0 1px var(--ln); font-weight: 600; font-size: 14.5px; transition: all .25s; }
.seg input:checked + span { background: var(--inv); color: var(--inv-tx); }
.seg input:focus-visible + span, .ticks input:focus-visible + span, .chip input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: flex; flex-direction: column; }
.field > span { margin-block-end: 8px; }
.field input, .field select, .field textarea { width: 100%; padding: 13px 14px; border-radius: 12px; border: 0; background: var(--bg); box-shadow: inset 0 0 0 1px var(--ln); outline: none; font-size: 15px; transition: box-shadow .25s; }
.field input:focus, .field select:focus, .field textarea:focus { box-shadow: inset 0 0 0 1.5px var(--gold); }
.field select { appearance: none; -webkit-appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--mu) 50%), linear-gradient(135deg, var(--mu) 50%, transparent 50%); background-position: calc(100% - 18px) 55%, calc(100% - 13px) 55%; background-size: 5px 5px; background-repeat: no-repeat; }
[dir=rtl] .field select { background-position: 18px 55%, 13px 55%; }
.field select option { background: var(--sf); color: var(--tx); }
.field textarea { resize: vertical; min-height: 92px; }
.ticks { display: flex; flex-wrap: wrap; gap: 8px; }
.ticks span { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 99px; background: var(--bg); box-shadow: inset 0 0 0 1px var(--ln); font-size: 14px; transition: all .25s; }
.ticks span::before { content: ""; width: 14px; height: 14px; border-radius: 4px; box-shadow: inset 0 0 0 1.5px var(--mu); transition: all .25s; }
.ticks input:checked + span { box-shadow: inset 0 0 0 1px var(--gold); color: var(--tx); }
.ticks input:checked + span::before { background: var(--g-grad); box-shadow: none; }
.days { display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; margin-block-end: 8px; }
.day { display: flex; flex-direction: column; align-items: center; padding: 9px 4px; border-radius: 12px; border: 0; cursor: pointer; background: var(--bg); box-shadow: inset 0 0 0 1px var(--ln); line-height: 1.2; transition: all .25s; }
.day b { font-size: 11.5px; font-weight: 600; color: var(--mu); text-transform: capitalize; }
.day i { font-style: normal; font-size: 17px; font-weight: 600; }
.day[aria-checked=true] { background: var(--inv); color: var(--inv-tx); }
.day[aria-checked=true] b { color: inherit; opacity: .7; }
.chips { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.chip { position: relative; cursor: pointer; }
.chip span { display: flex; flex-direction: column; align-items: center; padding: 9px 4px; border-radius: 12px; background: var(--bg); box-shadow: inset 0 0 0 1px var(--ln); line-height: 1.25; transition: all .25s; text-align: center; }
.chip b { font-size: 13.5px; font-weight: 600; }
.chip i { font-style: normal; font-size: 11.5px; color: var(--mu); }
.chip input:checked + span { background: var(--inv); color: var(--inv-tx); }
.chip input:checked + span i { color: inherit; opacity: .7; }
.err { color: #f0a58f; font-size: 13.5px; margin-block-start: 8px; }
[data-theme=light] .err { color: #b4462e; }
.form-note { font-size: 12.5px; color: var(--mu); text-align: center; }
.form-note a { text-decoration: underline; text-underline-offset: 2px; }

/* footer */
.ft { background: var(--bg); border-block-start: 1px solid var(--ln); padding-block: 60px 30px; color: var(--mu); font-size: 14.5px; }
.ft-top { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.brand-ft { color: var(--tx); }
.brand-ft span { color: var(--mu); }
.ft-cols { display: grid; grid-template-columns: repeat(3, auto); gap: 24px 60px; }
.ft-cols div { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.ft-cols a:hover, .linkish:hover { color: var(--tx); }
.ft-h { color: var(--tx); font-weight: 600; margin-block-end: 4px; }
.ft-base { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-block-start: 50px; padding-block-start: 22px; border-block-start: 1px solid var(--ln); font-size: 13px; }
.ft .lang a { color: var(--mu); }
.ft .lang a[aria-current] { color: var(--tx); background: var(--sf2); }

/* consenso + barra mobile */
.consent { position: fixed; inset-inline: 16px; bottom: 16px; z-index: 60; max-width: 460px; padding: 18px; border-radius: 20px; background: var(--sf); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 0 0 1px var(--ln), 0 30px 60px -20px var(--shadow); font-size: 13.5px; color: var(--mu); }
.consent a { color: var(--tx); text-decoration: underline; }
.consent-btns { display: flex; justify-content: flex-end; gap: 8px; margin-block-start: 12px; }
.consent .b { padding: 9px 18px; }
.mbar { display: none; }

/* legale */
.legal { padding-block: 150px 90px; }
.legal-in { max-width: 760px; }
.legal-in h2 { font-size: 21px; font-weight: 600; margin-block: 34px 8px; color: var(--tx); }
.legal-in p { color: var(--mu); }
.legal-date { margin-block: 12px 10px; font-size: 14px; }
.legal-in .b { margin-block-start: 40px; }

/* comparse */
.js .in { opacity: 0; transform: translateY(18px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: calc(var(--i, 0) * .09s); }
.js.ready .in { opacity: 1; transform: none; }
.js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: calc(var(--i, 0) * .08s); }
.js [data-reveal].on { opacity: 1; transform: none; }

/* responsive */
@media (max-width: 1024px) {
  .nav { display: none; }
  .nav + .hd-end { margin-inline-start: auto; }
  .sec-head { grid-template-columns: 1fr; }
  .deck { grid-template-columns: 1fr; min-height: 0; }
  .deck-stack { height: auto; aspect-ratio: 4 / 3.1; max-width: 640px; }
  .deck-info { margin-inline-start: 0; margin-block-start: -34px; max-width: 640px; }
  .for ul { grid-template-columns: 1fr 1fr; }
  .for li:nth-child(2) { border: 0; }
  .for li:nth-child(3) { padding-inline-start: 0; }
  .offer-in, .thesis-in, .contact-in { grid-template-columns: 1fr; }
  .one, .ct-copy { position: static; }
  .thesis-art { max-width: 520px; }
  .exp-grid { grid-template-columns: 1fr 1fr; }
  .steps, .track { grid-template-columns: 1fr 1fr; }
  .track { display: none; }
}
@media (max-width: 640px) {
  body { font-size: 15.5px; }
  .hd { top: 10px; }
  .hd-pill { gap: 8px; padding-inline-start: 14px; }
  [dir=rtl] .hd-pill { padding-inline-start: 14px; }
  .brand span { display: none; }
  .hd .b-dark span:first-child { display: none; }
  .hd .b-dark { padding: 4px; }
  .lang a { padding: 5px 6px; }
  .hero { padding-block: 128px 64px; }
  .theme-t { width: 32px; height: 32px; }
  .ctas { width: 100%; flex-direction: column; }
  .ctas .b { justify-content: space-between; }
  .chips-row { justify-content: flex-start; flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(var(--pad) * -1); padding-inline: var(--pad); scrollbar-width: none; }
  .chips-row::-webkit-scrollbar { display: none; }
  .pill-chip { white-space: nowrap; }
  .card { width: 86%; }
  .cv-count { inset-inline-end: 8%; }
  .for ul, .formats ul, .exp-grid, .steps, .fields, .pack-inc, .pack-stats { grid-template-columns: 1fr; }
  .for li, .for li + li { border: 0; border-block-end: 1px solid var(--ln); padding-inline: 0; padding-block: 18px; }
  .di-text { min-height: 0; }
  .days { grid-template-columns: repeat(3, 1fr); }
  .ft-cols { grid-template-columns: 1fr; }
  .mbar { position: fixed; inset-inline: 12px; bottom: 12px; z-index: 40; display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 6px 6px 6px 20px; border-radius: 99px; background: var(--inv); color: var(--inv-tx); font-weight: 600; font-size: 15px; box-shadow: 0 20px 40px -10px var(--shadow); transform: translateY(140%); transition: transform .5s var(--ease); }
  [dir=rtl] .mbar { padding: 6px 20px 6px 6px; }
  .mbar.on { transform: none; }
  .consent { bottom: 80px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .in, .js [data-reveal] { opacity: 1; transform: none; }
}
[data-theme=light] .pack { background: radial-gradient(90% 60% at 100% 0%, rgba(201, 164, 92, .09), transparent 60%), var(--sf); }
[data-theme=light] .hero::before { opacity: .45; }

/* ---------- telefono: pagina più corta, foto proporzionate ---------- */
@media (max-width: 640px) {
  .work, .offer, .exp, .thesis, .process, .contact { padding-block: 64px; }
  .hero { padding-block: 116px 48px; }
  .sec-head { margin-block-end: 28px; gap: 12px; }
  .h2 { font-size: clamp(1.9rem, 1.2rem + 3.6vw, 2.4rem); }
  .h2-xl { font-size: clamp(2.1rem, 1.3rem + 4vw, 2.7rem); }
  .lede, .sec-text, .sec-side { font-size: 15.5px; }
  .hero .lede { margin-block: 18px 26px; }
  .chips-row { margin-block-start: 34px; }

  /* carosello: carta più bassa, telefono e numeri proporzionati */
  .deck-stack { aspect-ratio: 4 / 3.2; }
  .card { width: 88%; }
  .cv-img img { height: 64%; max-width: 64%; }
  .phone { width: 30%; border-radius: 18px; padding: 6px; transform: rotate(-6deg) translate(-40%, -6%); }
  .ph-top { padding: 6px 4px 5px; }
  .ph-top i { width: 12px; height: 12px; }
  .cv-count { font-size: 46px; inset-inline-end: 9%; }
  .card-name { bottom: 10px; font-size: 12px; padding: 5px 12px; }
  .card-tag { top: 10px; inset-inline-start: 10px; }
  .deck-info { padding: 20px 18px 18px; margin-block-start: -22px; }
  .deck-info h3 { margin-block: 12px 2px; }
  .di-text { margin-block: 10px 16px; font-size: 14.5px; }

  .for { margin-block-start: 48px; }
  .for li, .for li + li { padding-block: 14px; }

  /* formati: tre caselle sulla stessa riga */
  .formats { margin-block-start: 40px; }
  .formats ul { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .formats li { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; padding: 16px 8px; }
  .fr-box { grid-row: auto; max-height: 40px; }
  .fr-box[style*="9/16"] { width: 22px; }
  .fr-box[style*="1/1"] { width: 34px; }
  .fr-box[style*="16/9"] { width: 52px; }
  .formats b { font-size: 20px; }
  .formats li > span:last-child { font-size: 12.5px; line-height: 1.35; }

  /* offerta */
  .offer .sec-text { margin-block: 16px 24px; }
  .pack { padding: 22px 18px; border-radius: 24px; }
  .pack-big b { font-size: 56px; }
  .pack-stats { grid-template-columns: 1fr 1fr; gap: 8px; }
  .pack-stats div { padding: 14px; }
  .pack-stats b { font-size: 32px; }
  .pack-stats p { font-size: 14px; margin-block: 8px 2px; }
  .pack-stats span { font-size: 12.5px; }
  .pack-inc li { font-size: 14.5px; }
  .one { padding: 22px 18px; }

  /* expertises: carte da scorrere di lato, foto più basse */
  .exp-grid { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; margin-inline: calc(var(--pad) * -1); padding-inline: var(--pad); padding-block-end: 6px; scrollbar-width: none; }
  .exp-grid::-webkit-scrollbar { display: none; }
  .exp-card { flex: 0 0 84%; scroll-snap-align: center; }
  .exp-card:hover { transform: none; }
  .exp-media { aspect-ratio: 16 / 10; }
  .exp-media img { height: 70%; max-width: 60%; }
  .exp-chip { inset-inline-end: 10px; bottom: 10px; font-size: 12px; }
  .exp-body { padding: 18px 18px 20px; gap: 8px; }
  .exp-body > p:not(.exp-k):not(.tags) { font-size: 14.5px; }

  /* process: righe compatte */
  .process .h2 { margin-block-end: 26px; }
  .steps { gap: 10px; }
  .steps li { display: grid; grid-template-columns: 44px 1fr; column-gap: 12px; padding: 18px 16px; }
  .st-n { grid-row: span 2; font-size: 24px; margin: 0; color: var(--gold-t); }
  .steps h3 { font-size: 17px; margin-block-end: 4px; }
  .steps p { font-size: 14.5px; }

  /* contatto */
  .ct-copy .sec-text { margin-block: 16px 22px; }
  .ct-form { padding: 20px 16px; gap: 18px; }
  .fields { gap: 12px; }
  .field input, .field select, .field textarea { font-size: 16px; padding: 12px; }

  /* footer libero dalla barra in basso */
  .ft { padding-block: 44px 100px; }
  .ft-base { margin-block-start: 32px; }

  /* banner cookie compatto */
  .consent { inset-inline: 10px; bottom: 10px; padding: 14px; font-size: 12.5px; line-height: 1.45; border-radius: 16px; z-index: 70; }
  .consent-btns { margin-block-start: 10px; }
  .consent .b { padding: 8px 16px; font-size: 13.5px; }
}
@media (max-width: 640px) {
  .phone { transform: rotate(-6deg) translate(-28%, 2%); width: 28%; }
  .fr-box[style*="1/1"] { margin-block: 3px; }
  .fr-box[style*="16/9"] { margin-block: 5px; }
}
@media (max-width: 640px) {
  .phone { transform: rotate(-6deg) translate(-40%, 2%); }
  .cv-count { font-size: 42px; inset-inline-end: 7%; }
}

/* ---------- illustrazioni dei servizi (in codice, misure in cqw) ---------- */
.cv, .exp-media { container-type: inline-size; }
.exp-media { display: block; }
.mk { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 4cqw; color: var(--tx); font-family: var(--font); line-height: 1.25; pointer-events: none; }
.card .mk { padding-block: 9cqw 11cqw; }
.exp-media .mk { padding-block: 6cqw 10cqw; }
.mk-p { background: var(--bg); border-radius: 2.6cqw; box-shadow: 0 0 0 1px var(--ln), 0 4cqw 9cqw -4cqw var(--shadow); overflow: hidden; }
.mk-av { display: block; flex: none; border-radius: 50%; background: var(--g-grad); }
.mk-play { width: 34%; fill: rgba(255, 255, 255, .95); filter: drop-shadow(0 .3cqw .6cqw rgba(0, 0, 0, .35)); }
.mk-btn { display: inline-block; padding: 1.3cqw 2.4cqw; border-radius: 99px; background: var(--inv); color: var(--inv-tx); font-size: 1.9cqw; font-weight: 600; white-space: nowrap; }
.mk-btn-g { background: var(--g-grad); color: #1a1408; }

/* social: telefono con griglia sempre visibile */
.mk-phone { position: relative; width: 29cqw; aspect-ratio: 9 / 18.5; padding: 4.4cqw 1.6cqw 1.6cqw; border-radius: 4.6cqw; background: #0d0d0f; box-shadow: inset 0 0 0 .35cqw #2c2c30, 0 5cqw 9cqw -4cqw rgba(0, 0, 0, .6); transform: rotate(-5deg); }
.mk-notch { position: absolute; top: 1.5cqw; left: 50%; width: 8cqw; height: 1.6cqw; border-radius: 99px; background: #000; transform: translateX(-50%); }
.mk-prof { display: flex; align-items: center; gap: 1.6cqw; padding: .6cqw .8cqw 1.8cqw; }
.mk-prof .mk-av { width: 5.6cqw; height: 5.6cqw; box-shadow: 0 0 0 .4cqw #0d0d0f, 0 0 0 .7cqw var(--gold); }
.mk-prof span { flex: 1; display: grid; gap: 1cqw; }
.mk-prof b, .mk-prof em { display: block; height: 1cqw; border-radius: 1cqw; background: #3a3a3f; }
.mk-prof em { width: 64%; background: #26262a; }
.mk-tabs { display: flex; justify-content: space-around; padding-block: 1cqw; border-block: 1px solid #222226; margin-block-end: .8cqw; }
.mk-tabs i { width: 2.4cqw; height: 2.4cqw; border-radius: .5cqw; box-shadow: inset 0 0 0 .35cqw #55555c; }
.mk-tabs i.on { box-shadow: inset 0 0 0 .35cqw #f2f2f2; }
.mk-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: .45cqw; }
.mk-grid span { aspect-ratio: 3 / 4; display: grid; place-items: center; }
.mk-grid .mk-play { width: 30%; }
.mk-count { display: grid; gap: 1.6cqw; }
.mk-count p { display: flex; align-items: baseline; gap: 1.6cqw; font-size: 12cqw; font-weight: 640; letter-spacing: -.05em; line-height: .9; }
.mk-count b { background: var(--g-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.mk-count span { color: var(--tx); font-weight: 400; }
.mk-count small { font-size: 2.3cqw; color: var(--mu); line-height: 1.35; }

/* video: reel verticale + finestra di montaggio */
.mk-reel { position: relative; width: 26cqw; aspect-ratio: 9 / 16; border-radius: 2.6cqw; overflow: hidden; box-shadow: 0 0 0 1px var(--ln), 0 5cqw 9cqw -4cqw var(--shadow); transform: rotate(-3deg); }
.mk-reel::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, .28), transparent 30%, transparent 55%, rgba(0, 0, 0, .55)); }
.mk-rec { position: absolute; z-index: 1; top: 2cqw; left: 2cqw; display: flex; align-items: center; gap: .9cqw; font-size: 1.6cqw; font-weight: 700; letter-spacing: .06em; color: #fff; }
.mk-rec i { width: 1.3cqw; height: 1.3cqw; border-radius: 50%; background: #ff4d4d; box-shadow: 0 0 0 .5cqw rgba(255, 77, 77, .3); }
.mk-bigplay { position: absolute; z-index: 1; top: 50%; left: 50%; width: 8cqw; height: 8cqw; display: grid; place-items: center; border-radius: 50%; background: rgba(255, 255, 255, .22); backdrop-filter: blur(4px); transform: translate(-50%, -60%); }
.mk-bigplay .mk-play { width: 46%; }
.mk-subt { position: absolute; z-index: 1; left: 2cqw; right: 2cqw; bottom: 5cqw; padding: .9cqw 1.2cqw; border-radius: 1cqw; background: rgba(0, 0, 0, .55); color: #fff; font-size: 1.9cqw; font-weight: 600; text-align: center; }
.mk-bar { position: absolute; z-index: 1; left: 2cqw; right: 2cqw; bottom: 2.4cqw; height: .5cqw; border-radius: 1cqw; background: rgba(255, 255, 255, .3); }
.mk-bar i { display: block; width: 42%; height: 100%; border-radius: inherit; background: var(--g-grad); }
.mk-edit { width: 40cqw; padding: 2cqw; display: grid; gap: 2cqw; }
.mk-mon { aspect-ratio: 16 / 9; border-radius: 1.4cqw; position: relative; }
.mk-safe { position: absolute; inset: 0; margin: auto; width: 32%; height: 86%; border: 1px dashed rgba(255, 255, 255, .7); border-radius: .6cqw; }
.mk-tl { position: relative; display: grid; gap: 1cqw; }
.mk-tc { display: flex; align-items: center; gap: 1cqw; font-size: 1.5cqw; color: var(--mu); font-variant-numeric: tabular-nums; }
.mk-tc span { flex: 1; height: 1px; background: var(--ln); }
.mk-trk { display: flex; gap: .4cqw; height: 3.6cqw; }
.mk-trk i { width: var(--w); border-radius: .7cqw; }
.mk-txt { height: 2cqw; }
.mk-txt i { background: var(--sf2); box-shadow: inset 0 0 0 1px var(--gold); }
.mk-wave { display: flex; align-items: center; gap: .3cqw; height: 4cqw; }
.mk-wave i { flex: 1; height: var(--h); border-radius: 1cqw; background: var(--gold); opacity: .75; }
.mk-head { position: absolute; top: 2.4cqw; bottom: 0; left: 42%; width: .35cqw; background: var(--tx); border-radius: 1cqw; }
.mk-head::before { content: ""; position: absolute; top: -.6cqw; left: 50%; width: 1.6cqw; height: 1.6cqw; border-radius: .4cqw; background: var(--tx); transform: translateX(-50%) rotate(45deg); }

/* ads: post sponsorizzato + raggio intorno all'indirizzo */
.mk-post { width: 36cqw; }
.mk-ph { display: flex; align-items: center; gap: 1.4cqw; padding: 1.8cqw; }
.mk-ph .mk-av { width: 4.6cqw; height: 4.6cqw; }
.mk-ph span { display: grid; gap: .3cqw; }
.mk-ph b { font-size: 1.9cqw; font-weight: 600; }
.mk-ph em { font-style: normal; font-size: 1.5cqw; color: var(--mu); }
.mk-crea { aspect-ratio: 1; display: flex; align-items: flex-end; padding: 2.4cqw; position: relative; }
.mk-crea::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(0, 0, 0, .55)); }
.mk-crea p { position: relative; z-index: 1; color: #fff; font-size: 3.1cqw; font-weight: 600; letter-spacing: -.02em; line-height: 1.12; }
.mk-cta { display: flex; align-items: center; justify-content: center; gap: 1cqw; margin: 1.6cqw; padding: 1.3cqw; border-radius: 1.2cqw; background: #25d366; color: #fff; font-size: 1.8cqw; font-weight: 600; }
.mk-cta svg { width: 2.4cqw; fill: none; stroke: currentColor; stroke-width: 2.2; }
.mk-map { position: relative; width: 26cqw; aspect-ratio: 1; display: grid; place-items: center; background: var(--sf); }
.mk-streets { position: absolute; inset: 0; width: 100%; height: 100%; }
.mk-streets path { fill: none; stroke: var(--ln); stroke-width: 2.4; }
.mk-ring { position: absolute; border-radius: 50%; background: rgba(201, 164, 92, .12); box-shadow: inset 0 0 0 1px rgba(201, 164, 92, .55); }
.mk-ring.r1 { width: 30%; aspect-ratio: 1; }
.mk-ring.r2 { width: 58%; aspect-ratio: 1; background: rgba(201, 164, 92, .08); }
.mk-ring.r3 { width: 86%; aspect-ratio: 1; background: rgba(201, 164, 92, .05); box-shadow: inset 0 0 0 1px rgba(201, 164, 92, .3); }
.mk-pin { position: relative; width: 6cqw; transform: translateY(-1.6cqw); }
.mk-pin svg { width: 100%; fill: var(--gold); stroke: var(--bg); stroke-width: 1.4; filter: drop-shadow(0 .6cqw .8cqw rgba(0, 0, 0, .35)); }
.mk-pin circle { fill: var(--bg); stroke: none; }

/* web: finestra con hero e modulo di prenotazione */
.mk-win { width: 76cqw; }
.mk-wbar { display: flex; align-items: center; gap: .9cqw; padding: 1.4cqw 1.8cqw; background: var(--sf); border-block-end: 1px solid var(--ln); }
.mk-wbar i { width: 1.3cqw; height: 1.3cqw; border-radius: 50%; background: var(--ln); }
.mk-wbar i:first-child { background: #ff6159; } .mk-wbar i:nth-child(2) { background: #ffbd2e; } .mk-wbar i:nth-child(3) { background: #28c941; }
.mk-wbar span { margin-inline: auto; padding: .5cqw 3cqw; border-radius: 99px; background: var(--bg); font-size: 1.5cqw; color: var(--mu); }
.mk-wbody { display: grid; grid-template-columns: 1.35fr 1fr; gap: 1.8cqw; padding: 1.8cqw; }
.mk-hero { position: relative; border-radius: 1.6cqw; padding: 2.6cqw; display: flex; flex-direction: column; justify-content: flex-end; gap: 1.4cqw; min-height: 30cqw; overflow: hidden; }
.mk-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 30%, rgba(30, 20, 8, .6)); }
.mk-hero > * { position: relative; z-index: 1; }
.mk-eb { width: 10cqw; height: .7cqw; border-radius: 1cqw; background: rgba(255, 255, 255, .8); }
.mk-h { color: #fff; font-size: 3.2cqw; font-weight: 600; letter-spacing: -.02em; line-height: 1.1; }
.mk-hero .mk-btn { align-self: flex-start; background: #fff; color: #111; }
.mk-book { display: flex; flex-direction: column; gap: 1.4cqw; padding: 1.8cqw; border-radius: 1.6cqw; background: var(--sf); box-shadow: inset 0 0 0 1px var(--ln); }
.mk-bh { font-size: 2.2cqw; font-weight: 600; }
.mk-days { display: grid; grid-template-columns: repeat(4, 1fr); gap: .7cqw; }
.mk-days span { display: grid; justify-items: center; padding: .8cqw .2cqw; border-radius: 1cqw; background: var(--bg); box-shadow: inset 0 0 0 1px var(--ln); font-size: 2cqw; font-weight: 600; }
.mk-days b { font-size: 1.3cqw; font-weight: 500; color: var(--mu); }
.mk-days .on { background: var(--inv); color: var(--inv-tx); box-shadow: none; }
.mk-days .on b { color: inherit; opacity: .7; }
.mk-slots { display: grid; grid-template-columns: repeat(3, 1fr); gap: .7cqw; }
.mk-slots span { padding: .7cqw 0; border-radius: 99px; text-align: center; font-size: 1.6cqw; box-shadow: inset 0 0 0 1px var(--ln); }
.mk-slots .on { box-shadow: inset 0 0 0 1px var(--gold); color: var(--gold-t); font-weight: 600; }
.mk-book .mk-btn { text-align: center; margin-block-start: auto; }

/* crm: lista delle relances */
.mk-list { width: 66cqw; padding: 1cqw 0; }
.mk-lh { display: flex; justify-content: space-between; align-items: baseline; padding: 1.6cqw 2.6cqw 1.8cqw; }
.mk-lh b { font-size: 2.8cqw; font-weight: 600; letter-spacing: -.02em; }
.mk-lh span { font-size: 1.7cqw; color: var(--mu); }
.mk-row { display: flex; align-items: center; gap: 1.8cqw; padding: 1.6cqw 2.6cqw; border-block-start: 1px solid var(--ln); }
.mk-ini { display: grid; place-items: center; width: 4.6cqw; height: 4.6cqw; flex: none; border-radius: 50%; background: var(--sf2); font-style: normal; font-size: 2cqw; font-weight: 600; }
.mk-rn { flex: 1; font-size: 2.1cqw; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mk-st { flex: none; padding: .6cqw 1.6cqw; border-radius: 99px; font-size: 1.6cqw; font-weight: 600; white-space: nowrap; }
.mk-st.fu { background: rgba(201, 164, 92, .16); color: var(--gold-t); }
.mk-st.ok { background: rgba(52, 199, 123, .15); color: #2fae6c; }
.mk-st.j7 { background: var(--sf2); color: var(--mu); }

/* caisse: prodotti + scontrino */
.mk-till { width: 74cqw; display: grid; grid-template-columns: 1.5fr 1fr; }
.mk-prods { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2cqw; padding: 2cqw; background: var(--sf); }
.mk-prods span { display: grid; gap: .9cqw; padding: 1cqw; border-radius: 1.4cqw; background: var(--bg); box-shadow: inset 0 0 0 1px var(--ln); font-size: 1.6cqw; font-weight: 600; text-align: center; }
.mk-prods i { aspect-ratio: 4 / 3; border-radius: 1cqw; }
.mk-ticket { display: flex; flex-direction: column; gap: 1.3cqw; padding: 2.2cqw; }
.mk-tt { font-size: 2.4cqw; font-weight: 600; padding-block-end: 1.2cqw; border-block-end: 1px dashed var(--ln); }
.mk-li { display: flex; gap: 1.2cqw; font-size: 1.9cqw; }
.mk-li b { color: var(--gold-t); font-weight: 600; min-width: 3.2cqw; }
.mk-ticket .mk-btn { margin-block-start: auto; text-align: center; font-size: 1.7cqw; }

/* rendus 3D: edificio isometrico */
.mk-archi { flex-direction: column; gap: 2cqw; }
.mk-iso { width: 62cqw; overflow: visible; }
.mk-iso .g-floor path { stroke: var(--ln); stroke-width: .8; }
.mk-iso .g-side-l { fill: var(--sf2); }
.mk-iso .g-side-r { fill: var(--sf); }
.mk-iso .g-top { fill: rgba(201, 164, 92, .22); }
.mk-iso .g-line { fill: none; stroke: var(--ln); stroke-width: 1; }
.mk-iso .g-win { fill: rgba(201, 164, 92, .35); stroke: var(--gold); stroke-width: .6; }
.mk-iso .g-win-r { fill: rgba(201, 164, 92, .18); }
.mk-iso .g-edge { fill: none; stroke: var(--gold); stroke-width: 1.4; stroke-linejoin: round; }
.mk-tag3 { display: flex; align-items: center; gap: 1.2cqw; padding: .6cqw; border-radius: 99px; background: var(--bg); box-shadow: 0 0 0 1px var(--ln); font-size: 1.8cqw; font-weight: 600; }
.mk-tag3 span { padding: .7cqw 2cqw; border-radius: 99px; color: var(--mu); }
.mk-tag3 .on { background: var(--inv); color: var(--inv-tx); }
.mk-tag3 i { width: 2cqw; height: 1px; background: var(--mu); }

/* nelle carte expertises le illustrazioni hanno più aria */
.exp-media .mk-win { width: 82cqw; }
.exp-media .mk-reel { width: 30cqw; }
.exp-media .mk-edit { width: 44cqw; }
.exp-media .mk-post { width: 40cqw; }
.exp-media .mk-map { width: 30cqw; }
@media (max-width: 640px) {
  .exp-media { aspect-ratio: 4 / 3; }
}
.mk-safe { display: flex; flex-direction: column; justify-content: flex-end; gap: .5cqw; padding: .8cqw; border: 1px solid rgba(255, 255, 255, .85); box-shadow: 0 1cqw 2cqw -1cqw rgba(0, 0, 0, .4); }
.mk-safe i { height: .6cqw; border-radius: 1cqw; background: rgba(255, 255, 255, .9); }
.mk-safe i + i { width: 60%; margin-inline: auto; background: rgba(255, 255, 255, .6); }
html[lang=ar] .mk :is(p, b, em, span, small) { unicode-bidi: plaintext; }
