/* Tipografia Quaranta — Grottaglie */
@font-face { font-family: 'Fraunces'; src: url('../fonts/fraunces-normal.woff2') format('woff2'); font-weight: 300 900; font-style: normal; font-display: swap; }
@font-face { font-family: 'Fraunces'; src: url('../fonts/fraunces-italic.woff2') format('woff2'); font-weight: 300 900; font-style: italic; font-display: swap; }
@font-face { font-family: 'Inter'; src: url('../fonts/inter-var.woff2') format('woff2'); font-weight: 100 900; font-style: normal; font-display: swap; }

:root {
  /* palette dal logo: rosa cipria (fondo a rombi) + oro (ombra delle lettere) + nero inchiostro */
  --blush: #ffecf5;  --blush-2: #fbdde9;  --rose: #e9b4c9;  --rose-deep: #a8496e;
  --gold: #c8ab29;  --gold-text: #86700f;  --gold-soft: #f6eecb;
  --ink: #1f1a1d;  --text: #4a3f45;  --muted: #74666d;
  --bg: #fffafc;  --bg-alt: #fff1f7;  --line: #f0dbe4;  --white: #fff;
  --dark: #2b2327;  --dark-2: #211b1e;  --on-dark: #f6e9ef;
  --font-display: 'Fraunces', Georgia, serif;  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --shadow-sm: 0 2px 12px rgba(80, 40, 58, .07);  --shadow-md: 0 14px 34px rgba(80, 40, 58, .12);  --shadow-lg: 0 28px 64px rgba(43, 35, 39, .2);
  --radius: 14px;  --radius-lg: 24px;  --container: 1220px;  --nav-h: 90px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  /* il reticolo a rombi del logo, come texture */
  --lattice: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='64' viewBox='0 0 64 64'%3E%3Cpath d='M0 32L32 0L64 32L32 64Z' fill='none' stroke='%23c8ab29' stroke-opacity='.32' stroke-width='1'/%3E%3Ccircle cx='32' cy='0' r='1.6' fill='%23c8ab29' fill-opacity='.5'/%3E%3Ccircle cx='0' cy='32' r='1.6' fill='%23c8ab29' fill-opacity='.5'/%3E%3Ccircle cx='64' cy='32' r='1.6' fill='%23c8ab29' fill-opacity='.5'/%3E%3Ccircle cx='32' cy='64' r='1.6' fill='%23c8ab29' fill-opacity='.5'/%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; overflow-x: hidden; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font-body); font-size: 1.04rem; line-height: 1.7; color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--rose-deep); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--ink); }
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--ink); line-height: 1.12; margin: 0 0 .5em; font-weight: 500; letter-spacing: -.01em; }
h1 { font-size: clamp(2.3rem, 5.6vw, 4.2rem); }
h2 { font-size: clamp(1.85rem, 3.8vw, 2.9rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }
h1 em, h2 em { font-style: italic; color: var(--gold-text); font-weight: 400; }
p { margin: 0 0 1.1em; }
ul, ol { padding-left: 1.2em; }
strong { color: var(--ink); font-weight: 600; }
:focus-visible { outline: 2px solid var(--rose-deep); outline-offset: 3px; border-radius: 4px; }
.skip-link { position: absolute; left: 12px; top: -60px; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 300; }
.skip-link:focus { top: 12px; color: #fff; }

.container { width: min(100% - 32px, var(--container)); margin-inline: auto; }
.section { padding: clamp(64px, 9vw, 116px) 0; }
.section-alt { background: var(--bg-alt); }
.section-lattice { background: var(--blush) var(--lattice) center / 64px 64px; }
.section-dark { background: var(--dark); color: var(--on-dark); }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark h2 em { color: var(--gold); }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: .78rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-text); margin-bottom: 14px; }
.eyebrow::before { content: ''; width: 9px; height: 9px; border: 1.5px solid currentColor; transform: rotate(45deg); flex: none; }
.section-dark .eyebrow { color: var(--gold); }
.section-head { max-width: 760px; margin: 0 auto clamp(40px, 5vw, 60px); text-align: center; }
.section-head .eyebrow::after { content: ''; width: 9px; height: 9px; border: 1.5px solid currentColor; transform: rotate(45deg); flex: none; }
.lead { font-size: clamp(1.06rem, 1.6vw, 1.22rem); color: var(--muted); }

/* bottoni: nero inchiostro come accento CTA, oro solo come dettaglio */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 15px 28px; border-radius: 999px; font-weight: 600; font-size: .98rem; text-decoration: none; border: 1.5px solid transparent; cursor: pointer; transition: transform .25s var(--ease), background .25s, color .25s, border-color .25s, box-shadow .25s; font-family: inherit; line-height: 1.2; }
.btn svg { width: 19px; height: 19px; flex: none; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--ink); color: #fff; box-shadow: 0 10px 24px rgba(31, 26, 29, .22); }
.btn-primary:hover { background: #000; color: #fff; box-shadow: 0 12px 28px rgba(31, 26, 29, .3), 0 0 0 3px var(--gold-soft); }
.btn-outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-outline:hover { background: var(--ink); color: #fff; }
.btn-wa { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-wa svg { color: #1f9d55; }
.btn-wa:hover { border-color: #1f9d55; color: var(--ink); }
.btn-ghost { border-color: rgba(255, 255, 255, .55); color: #fff; background: rgba(255, 255, 255, .06); }
.btn-ghost:hover { background: #fff; color: var(--ink); }
.link-arrow { font-weight: 600; text-decoration: none; display: inline-flex; gap: 8px; align-items: center; color: var(--ink); }
.link-arrow::after { content: '→'; transition: transform .25s var(--ease); color: var(--gold-text); }
.link-arrow:hover::after { transform: translateX(4px); }

/* topbar + header */
.topbar { background: var(--dark); color: var(--on-dark); font-size: .85rem; }
.topbar .container { display: flex; justify-content: space-between; gap: 16px; padding: 8px 0; flex-wrap: wrap; }
.topbar a, .topbar span { color: var(--on-dark); text-decoration: none; display: inline-flex; gap: 7px; align-items: center; }
.topbar a:hover { color: var(--gold); }
.topbar svg { width: 15px; height: 15px; color: var(--gold); }
.topbar-list { display: flex; gap: 22px; flex-wrap: wrap; }
.site-header { position: sticky; top: 0; z-index: 90; background: rgba(255, 250, 252, .9); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid transparent; transition: box-shadow .3s, border-color .3s; }
.site-header.scrolled { box-shadow: var(--shadow-sm); border-color: var(--line); }
.site-header.has-menu-open { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--bg); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: var(--nav-h); }
.brand { display: flex; align-items: center; text-decoration: none; flex: none; }
.brand img { width: 240px; height: auto; }
.nav-menu { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-menu a { display: block; padding: 10px 13px; color: var(--ink); text-decoration: none; font-weight: 500; font-size: .95rem; border-radius: 10px; }
.nav-menu a:hover { color: var(--rose-deep); background: var(--blush); }
.nav-menu a[aria-current="page"] { color: var(--ink); box-shadow: inset 0 -2px 0 var(--gold); border-radius: 0; }
.nav-cta { margin-left: 8px; }
.nav-cta .btn { padding: 12px 22px; color: #fff; }
.nav-cta .btn:hover { color: #fff; }

/* menu mobile (templates/menu.css) */
body.is-locked { position: fixed; width: 100%; overflow: hidden; top: var(--scroll-lock-top, 0); overflow-anchor: none; }
.nav-overlay { display: none; }
.nav-toggle { display: none; width: 46px; height: 46px; border: 1px solid var(--line); border-radius: 12px; background: transparent; cursor: pointer; align-items: center; justify-content: center; flex-direction: column; gap: 5px; position: relative; z-index: 95; }
.nav-toggle span { display: block; width: 20px; height: 1.6px; background: var(--ink); transition: transform .3s var(--ease), opacity .25s var(--ease); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.6px) rotate(-45deg); }

/* hero home: chiaro, su reticolo a rombi del logo */
.hero { position: relative; background: var(--blush) var(--lattice) center / 64px 64px; overflow: hidden; isolation: isolate; }
.hero::before { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse at 25% 45%, rgba(255, 245, 250, .95) 0%, rgba(255, 240, 247, .75) 45%, rgba(255, 236, 245, .2) 75%); }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 70px); align-items: center; padding: clamp(56px, 8vw, 100px) 0; }
.hero h1 em { display: inline; }
.hero .lead { max-width: 580px; color: var(--text); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 12px 26px; margin: 38px 0 0; padding: 0; list-style: none; }
.hero-badges li { display: flex; align-items: center; gap: 10px; font-size: .94rem; color: var(--text); }
.hero-badges strong { font-family: var(--font-display); font-size: 1.85rem; color: var(--ink); font-weight: 500; line-height: 1; }
.hero-badges svg { width: 22px; height: 22px; color: var(--gold-text); }
.hero-media { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: end; }
.hero-media figure { margin: 0; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); background: #fff; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-media .hm-1 { aspect-ratio: 3 / 4.4; }
.hero-media .hm-2 { aspect-ratio: 3 / 3.6; margin-bottom: 42px; }
.hero-media .stamp { position: absolute; left: 50%; top: -22px; transform: translateX(-50%); background: #fff; border-radius: 999px; padding: 10px 20px; box-shadow: var(--shadow-md); font-size: .85rem; font-weight: 600; color: var(--ink); white-space: nowrap; display: flex; gap: 8px; align-items: center; }
.hero-media .stamp::before { content: ''; width: 8px; height: 8px; background: var(--gold); transform: rotate(45deg); }

/* page hero interne */
.page-hero { position: relative; padding: clamp(64px, 10vw, 120px) 0 clamp(48px, 7vw, 80px); background: var(--blush) var(--lattice) center / 64px 64px; isolation: isolate; overflow: hidden; }
.page-hero::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(255, 244, 249, .92), rgba(255, 236, 245, .55)); }
.page-hero h1 { max-width: 900px; }
.page-hero .lead { max-width: 720px; color: var(--text); margin-bottom: 0; }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0 0 18px; font-size: .88rem; }
.breadcrumb li { color: var(--muted); }
.breadcrumb li + li::before { content: '◆'; font-size: .55rem; margin-right: 8px; color: var(--gold); vertical-align: middle; }
.breadcrumb a { color: var(--ink); text-decoration: none; }
.breadcrumb a:hover { color: var(--rose-deep); }

/* due mondi */
.worlds { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.world { position: relative; border-radius: var(--radius-lg); overflow: hidden; display: grid; grid-template-rows: auto 1fr; background: var(--white); border: 1px solid var(--line); text-decoration: none; color: inherit; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.world:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); color: inherit; }
.world .media { overflow: hidden; }
.world img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform .6s var(--ease); }
.world:hover img { transform: scale(1.04); }
.world .body { padding: 28px 30px 32px; }
.world ul { list-style: none; padding: 0; margin: 0 0 22px; display: flex; flex-wrap: wrap; gap: 8px; }
.world li { background: var(--bg-alt); border: 1px solid var(--line); border-radius: 999px; padding: 5px 13px; font-size: .86rem; color: var(--text); }

/* card punti di forza */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 34px 30px; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.feature:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.feature-icon { width: 56px; height: 56px; border-radius: 16px; background: var(--blush); color: var(--ink); display: grid; place-items: center; margin-bottom: 22px; box-shadow: inset 0 0 0 1px var(--blush-2); }
.feature-icon svg { width: 28px; height: 28px; }
.feature p { color: var(--muted); margin-bottom: 0; }

/* split immagine + testo */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 84px); align-items: center; }
.split-media { position: relative; }
.split-media img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); width: 100%; aspect-ratio: 4 / 4.6; object-fit: cover; }
.split-media .tag { position: absolute; left: -18px; bottom: 28px; background: var(--white); border-radius: 16px; padding: 16px 20px; box-shadow: var(--shadow-md); display: flex; align-items: center; gap: 14px; max-width: 270px; }
.split-media .tag strong { font-family: var(--font-display); font-size: 2.2rem; color: var(--gold-text); line-height: 1; font-weight: 500; }
.split-media .tag span { font-size: .88rem; color: var(--text); line-height: 1.35; }
.split.reverse .split-media { order: 2; }
.check-list { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 12px; }
.check-list li { position: relative; padding-left: 32px; }
.check-list li::before { content: ''; position: absolute; left: 4px; top: 8px; width: 11px; height: 11px; border: 2px solid var(--gold); background: var(--gold-soft); transform: rotate(45deg); }
.signature { font-family: var(--font-display); font-style: italic; font-size: 1.35rem; color: var(--ink); margin-top: 6px; }

/* card servizi */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.service-card { background: var(--white); border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); display: flex; flex-direction: column; transition: transform .35s var(--ease), box-shadow .35s var(--ease); text-decoration: none; color: inherit; }
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); color: inherit; }
.service-card .media { overflow: hidden; }
.service-card img { aspect-ratio: 4 / 3.2; object-fit: cover; width: 100%; transition: transform .6s var(--ease); }
.service-card:hover img { transform: scale(1.05); }
.service-card .body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.service-card .tag { font-size: .72rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-text); margin-bottom: 8px; }
.service-card p { color: var(--muted); font-size: .96rem; flex: 1; }

/* elenco servizi di stampa (senza foto) */
.print-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.print-item { display: flex; gap: 18px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.print-item .ic { width: 50px; height: 50px; border-radius: 14px; background: var(--blush); color: var(--ink); display: grid; place-items: center; flex: none; }
.print-item .ic svg { width: 25px; height: 25px; }
.print-item h3 { font-size: 1.25rem; margin-bottom: .3em; }
.print-item p { margin: 0; color: var(--muted); font-size: .97rem; }

/* blocchi servizio dettagliati */
.svc-block { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; padding: clamp(40px, 5vw, 64px) 0; border-bottom: 1px solid var(--line); }
.svc-block:last-child { border-bottom: 0; }
.svc-block:nth-child(even) .svc-media { order: 2; }
.svc-media img { border-radius: var(--radius-lg); box-shadow: var(--shadow-md); width: 100%; aspect-ratio: 1; object-fit: cover; }
.svc-meta { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 22px; padding: 0; list-style: none; }
.svc-meta li { background: var(--blush); color: var(--ink); border-radius: 999px; padding: 6px 14px; font-size: .85rem; font-weight: 500; }

/* idea laurea */
.spotlight { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 5vw, 70px); align-items: center; background: var(--white); border-radius: var(--radius-lg); padding: clamp(22px, 3vw, 34px); box-shadow: var(--shadow-md); }
.spotlight img { border-radius: 18px; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.spotlight .body { padding: clamp(0px, 2vw, 20px); }

/* numeri */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stat strong { display: block; font-family: var(--font-display); font-size: clamp(2.5rem, 5vw, 3.6rem); color: var(--gold); font-weight: 400; line-height: 1; margin-bottom: 10px; }
.stat span { color: var(--on-dark); font-size: .98rem; }

/* galleria */
.gallery-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.gallery-strip a, .mosaic a { display: block; overflow: hidden; border-radius: 14px; position: relative; }
.gallery-strip img, .mosaic img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: transform .6s var(--ease), filter .4s; }
.gallery-strip a:hover img, .mosaic a:hover img { transform: scale(1.06); filter: brightness(1.04); }
.mosaic { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.mosaic figure { margin: 0; }
.mosaic figcaption { font-size: .85rem; color: var(--muted); padding: 8px 2px 0; line-height: 1.4; }
.gallery-group { margin-bottom: clamp(48px, 6vw, 80px); }
.gallery-group:last-child { margin-bottom: 0; }
.gallery-group h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(33, 27, 30, .95); display: none; align-items: center; justify-content: center; padding: 60px 20px; }
.lightbox.is-open { display: flex; }
.lightbox img { max-height: 84vh; width: auto; border-radius: 10px; box-shadow: var(--shadow-lg); }
.lightbox button { position: absolute; background: transparent; border: 1px solid rgba(255, 255, 255, .4); color: #fff; width: 50px; height: 50px; border-radius: 50%; font-size: 1.5rem; cursor: pointer; display: grid; place-items: center; }
.lightbox button:hover { background: rgba(255, 255, 255, .15); }
.lb-close { top: 18px; right: 18px; }
.lb-prev { left: 18px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 18px; top: 50%; transform: translateY(-50%); }

/* blog */
.posts { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 26px; }
.post-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; display: flex; flex-direction: column; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.post-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.post-card img { aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }
.post-card .body { padding: 26px; display: flex; flex-direction: column; flex: 1; }
.post-card h3 a, .post-card h2 a { color: var(--ink); text-decoration: none; }
.post-card h3 a:hover, .post-card h2 a:hover { color: var(--rose-deep); }
.post-card p { color: var(--muted); font-size: .96rem; flex: 1; }
.post-meta { font-size: .82rem; color: var(--muted); margin-bottom: 10px; letter-spacing: .02em; }

/* articolo */
.article { max-width: 780px; margin-inline: auto; }
.article h2 { margin-top: 1.8em; font-size: clamp(1.6rem, 3vw, 2.1rem); }
.article h3 { margin-top: 1.5em; }
.article-cover { margin: 0 0 40px; }
.article-cover img { border-radius: var(--radius-lg); width: 100%; aspect-ratio: 16 / 9; object-fit: cover; box-shadow: var(--shadow-md); }
.answer-box { background: var(--blush); border-left: 4px solid var(--gold); border-radius: 0 var(--radius) var(--radius) 0; padding: 22px 26px; margin: 0 0 32px; }
.answer-box p:last-child { margin: 0; }
.note { background: var(--bg-alt); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 24px; margin: 24px 0; }
.note p:last-child { margin: 0; }
.table-wrap { overflow-x: auto; margin: 24px 0 30px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
table { border-collapse: collapse; width: 100%; font-size: .95rem; }
th, td { text-align: left; padding: 13px 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { background: var(--dark); color: #fff; font-weight: 600; }
tr:last-child td { border-bottom: 0; }

/* faq */
.faq { display: grid; gap: 12px; }
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 0 24px; transition: box-shadow .3s var(--ease); }
.faq details[open] { box-shadow: var(--shadow-sm); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 34px 20px 0; position: relative; font-weight: 600; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: 1.5rem; color: var(--gold-text); font-weight: 400; transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { color: var(--muted); }

/* cta banner */
.cta-banner { background: var(--dark) ; color: var(--on-dark); text-align: center; position: relative; overflow: hidden; isolation: isolate; }
.cta-banner::before { content: ''; position: absolute; inset: 0; z-index: -1; background: var(--lattice) center / 64px 64px; opacity: .35; }
.cta-banner .container { max-width: 800px; }
.cta-banner img.cta-logo { width: 150px; height: auto; margin: 0 auto 18px; }
.cta-banner h2 { color: #fff; }
.cta-banner h2 em { color: var(--gold); }
.cta-banner p { color: rgba(246, 233, 239, .88); font-size: 1.08rem; }
.cta-banner .hero-cta { justify-content: center; }
.cta-banner .btn-primary { background: var(--gold); color: var(--ink); box-shadow: none; }
.cta-banner .btn-primary:hover { background: #fff; color: var(--ink); }

/* contatti */
.contact-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.contact-list { list-style: none; padding: 0; margin: 0 0 26px; display: grid; gap: 14px; }
.contact-list li { display: flex; gap: 16px; align-items: flex-start; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; }
.contact-list .ic { width: 46px; height: 46px; border-radius: 12px; background: var(--blush); color: var(--ink); display: grid; place-items: center; flex: none; }
.contact-list .ic svg { width: 22px; height: 22px; }
.contact-list h3 { font-family: var(--font-body); font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 0 0 4px; font-weight: 600; }
.contact-list a, .contact-list p { color: var(--ink); text-decoration: none; font-weight: 500; margin: 0; font-size: 1.04rem; }
.contact-list a:hover { color: var(--rose-deep); }
.hours { width: 100%; font-size: .96rem; }
.hours td { padding: 8px 0; border-bottom: 1px dashed var(--line); }
.hours td:last-child { text-align: right; color: var(--ink); font-weight: 500; }
.hours tr:last-child td { border-bottom: 0; }
.form-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(26px, 4vw, 44px); box-shadow: var(--shadow-sm); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.field label { font-weight: 600; font-size: .9rem; color: var(--ink); }
.field input, .field select, .field textarea { font: inherit; font-size: 1rem; padding: 13px 15px; border: 1.5px solid var(--line); border-radius: 12px; background: var(--bg); color: var(--ink); transition: border-color .2s, box-shadow .2s; width: 100%; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--rose-deep); box-shadow: 0 0 0 4px rgba(168, 73, 110, .13); }
.field textarea { min-height: 130px; resize: vertical; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; margin: 4px 0 20px; }
.check input { margin-top: 5px; width: 18px; height: 18px; accent-color: var(--ink); flex: none; }
.form-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.form-status { margin: 14px 0 0; font-size: .95rem; color: var(--rose-deep); font-weight: 500; }
.map-link { display: flex; align-items: center; justify-content: space-between; gap: 14px; border-radius: var(--radius); padding: 18px 22px; background: var(--blush) var(--lattice) center / 48px 48px; text-decoration: none; color: var(--ink); font-weight: 600; border: 1px solid var(--line); }
.map-link:hover { color: var(--rose-deep); }

/* testo legale */
.prose { max-width: 820px; margin-inline: auto; }
.prose h2 { font-size: clamp(1.4rem, 2.6vw, 1.8rem); margin-top: 1.8em; }

/* footer */
.site-footer { background: var(--dark-2); color: rgba(246, 233, 239, .78); padding: 72px 0 0; font-size: .96rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.1fr 1.2fr; gap: 40px; padding-bottom: 50px; }
.footer-brand { display: inline-block; margin-bottom: 16px; }
.footer-brand img { width: 170px; height: auto; }
.site-footer h4 { color: #fff; font-family: var(--font-body); font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 600; margin-bottom: 18px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.site-footer a { color: rgba(246, 233, 239, .84); text-decoration: none; }
.site-footer a:hover { color: var(--gold); }
.social { display: flex; gap: 10px; margin-top: 18px; }
.social a { width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .2); display: grid; place-items: center; }
.social a:hover { border-color: var(--gold); }
.social svg { width: 19px; height: 19px; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); padding: 22px 0 26px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; font-size: .85rem; }
.footer-bottom p { margin: 0; }
.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 80; width: 58px; height: 58px; border-radius: 50%; background: #1f9d55; color: #fff; display: grid; place-items: center; box-shadow: 0 12px 28px rgba(31, 157, 85, .35); transition: transform .25s var(--ease); }
.wa-float:hover { transform: scale(1.07); color: #fff; }
.wa-float svg { width: 28px; height: 28px; }

/* reveal (fallback: senza JS i contenuti restano visibili) */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* responsive */
@media (max-width: 1240px) {
  .nav-menu a { padding: 10px 9px; font-size: .93rem; }
  .brand img { width: 200px; }
}
@media (max-width: 1100px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-toggle { display: flex; }
  .nav-overlay { display: block; position: fixed; inset: 0; z-index: 89; background: rgba(33, 27, 30, .5); border: 0; padding: 0; cursor: pointer; opacity: 0; visibility: hidden; transition: opacity .38s var(--ease), visibility 0s linear .38s; }
  .nav-overlay.is-open { opacity: 1; visibility: visible; transition: opacity .38s var(--ease), visibility 0s linear 0s; }
  .nav-menu { position: fixed; inset: 0 0 0 auto; z-index: 91; width: min(86vw, 360px); background: var(--bg); flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 4px; padding: 100px 26px 40px; box-shadow: var(--shadow-lg); overflow-y: auto; overscroll-behavior: contain; transform: translateX(100%); visibility: hidden; transition: transform .38s var(--ease), visibility 0s linear .38s; }
  .nav-menu.is-open { transform: none; visibility: visible; transition: transform .38s var(--ease), visibility 0s linear 0s; }
  .nav-menu a { padding: 14px 16px; font-size: 1.08rem; border-radius: 12px; }
  .nav-menu a[aria-current="page"] { box-shadow: none; background: var(--blush); border-radius: 12px; }
  .nav-cta { margin: 14px 0 0; }
  .nav-cta .btn { width: 100%; }
}
@media (max-width: 1024px) {
  .services { grid-template-columns: repeat(2, 1fr); }
  .mosaic { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  .hero-grid, .split, .svc-block, .contact-grid, .spotlight, .worlds { grid-template-columns: 1fr; }
  .hero-media { max-width: 560px; margin-top: 18px; }
  .features, .stats { grid-template-columns: 1fr 1fr; }
  .split.reverse .split-media, .svc-block:nth-child(even) .svc-media { order: 0; }
  .split-media .tag { left: 14px; }
  .print-list { grid-template-columns: 1fr; }
  .gallery-strip { grid-template-columns: repeat(2, 1fr); }
  .topbar-hide-sm { display: none !important; }
}
@media (max-width: 640px) {
  .features, .services { grid-template-columns: 1fr; }
  .mosaic { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero-cta .btn, .form-actions .btn { width: 100%; }
  .brand img { width: 158px; }
  :root { --nav-h: 72px; }
  .topbar .container { justify-content: center; }
  .hero-media .stamp { font-size: .78rem; padding: 8px 14px; }
}
@media (max-width: 480px) {
  .stats { grid-template-columns: 1fr 1fr; gap: 30px 12px; }
  .print-item { flex-direction: column; gap: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}
