/*
 * Agunco – main.css v1.0.0 — Cloudfactory S.r.l.
 * Palette dal marchio Agunco (blu del logo, arancio della fascia prenotazioni del vecchio sito),
 * impostazione chiara e ariosa ripresa dal kit Gomedic valutato in staging. Font Figtree self-hosted.
 */

@font-face { font-family: "Figtree"; font-style: normal; font-display: swap; font-weight: 300 900;
	src: url("../fonts/figtree-latin-wght-normal.woff2") format("woff2-variations");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Figtree"; font-style: normal; font-display: swap; font-weight: 300 900;
	src: url("../fonts/figtree-latin-ext-wght-normal.woff2") format("woff2-variations");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
	--blue: #1F64A0;
	--blue-700: #164C7C;
	--navy: #0E2B47;
	--ink: #13283D;
	--muted: #5A6B7D;
	--sky: #EAF3FB;
	--sky-2: #D6E7F6;
	--paper: #F6F9FC;
	--white: #fff;
	--accent: #EF6236;
	--accent-700: #D24E25;
	--line: #DCE6F0;
	--ok: #1E8A5A;
	--err: #B42318;
	--radius: 20px;
	--radius-sm: 12px;
	--shadow: 0 1px 2px rgba(14, 43, 71, .05), 0 12px 32px -12px rgba(14, 43, 71, .18);
	--shadow-lg: 0 30px 60px -24px rgba(14, 43, 71, .35);
	--wrap: 1200px;
	--font: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body { margin: 0; overflow-x: clip; font-family: var(--font); font-size: 17px; line-height: 1.6; color: var(--ink); background: var(--white); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-underline-offset: 3px; }
a:hover { color: var(--blue-700); }
h1, h2, h3, h4 { line-height: 1.15; color: var(--navy); margin: 0 0 .5em; letter-spacing: -.015em; }
p { margin: 0 0 1em; }
em { font-style: normal; color: var(--blue); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip-link:focus { top: 12px; }

.wrap { width: min(100% - 40px, var(--wrap)); margin-inline: auto; }
.narrow { max-width: 820px; }
.icon { width: 1.25em; height: 1.25em; flex: none; }

/* --------------------------------------------------------------- Bottoni */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55em; min-height: 48px; padding: .7em 1.35em; border-radius: 999px; border: 1.5px solid transparent; font: 600 16px/1.2 var(--font); text-decoration: none; cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s; }
.btn:hover { transform: translateY(-1px); }
.btn--accent { background: var(--accent); color: #fff; box-shadow: 0 10px 22px -10px rgba(239, 98, 54, .7); }
.btn--accent:hover { background: var(--accent-700); color: #fff; }
.btn--primary { background: var(--blue); color: #fff; }
.btn--primary:hover { background: var(--blue-700); color: #fff; }
.btn--ghost { background: var(--white); color: var(--navy); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--blue); color: var(--blue); }
.cta-row { display: flex; flex-wrap: wrap; gap: 10px; margin: 1.5em 0; }
.cta-row--compact { margin: 1.2em 0 0; }
.cta-row--compact .btn { min-height: 42px; font-size: 15px; padding: .55em 1.1em; }
.cta-row--stack { flex-direction: column; align-items: stretch; max-width: 360px; }
.cta-row--stack .btn--icon .btn__label { display: inline; }
.link-more { display: inline-flex; align-items: center; gap: .4em; font-weight: 600; text-decoration: none; white-space: nowrap; }
.link-more .icon { transition: transform .2s; }
.link-more:hover .icon { transform: translateX(3px); }
.chip { display: inline-flex; align-items: center; padding: .4em .95em; border-radius: 999px; border: 1px solid var(--line); background: var(--white); color: var(--navy); font: 500 14.5px/1.2 var(--font); text-decoration: none; cursor: pointer; transition: all .2s; }
.chip:hover { border-color: var(--blue); color: var(--blue); }
.chip.is-active { background: var(--navy); border-color: var(--navy); color: #fff; }

/* ---------------------------------------------------------------- Testi */
.eyebrow { display: inline-flex; align-items: center; gap: .5em; margin: 0 0 .8em; font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--blue); }
.eyebrow::before { content: ""; width: 18px; height: 2px; background: var(--accent); border-radius: 2px; }
.section-title { font-size: clamp(28px, 3.4vw, 42px); font-weight: 750; }
.h-sm { font-size: 19px; margin: 1.6em 0 .6em; }
.h-sm:first-child { margin-top: 0; }

/* -------------------------------------------------------------- Top bar */
.topbar { background: var(--navy); color: #C9D8E8; font-size: 14px; }
.topbar__inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 40px; }
.topbar p { margin: 0; display: flex; align-items: center; gap: .5em; }
.topbar__links { list-style: none; margin: 0; padding: 0; display: flex; gap: 22px; }
.topbar a { color: #E6EEF6; text-decoration: none; display: inline-flex; align-items: center; gap: .45em; }
.topbar a:hover { color: #fff; }
.topbar .icon { width: 16px; height: 16px; opacity: .8; }
.topbar__phone a { color: #fff; font-weight: 700; }
.topbar__phone .icon { opacity: 1; color: var(--accent); }

/* --------------------------------------------------------------- Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .92); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 6px 24px -18px rgba(14, 43, 71, .5); }
.site-header__inner { display: flex; align-items: center; gap: 24px; min-height: var(--header-h); }
.custom-logo-link img, .custom-logo { max-height: 46px; width: auto; }
.brand { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; color: var(--blue); font-weight: 800; font-size: 30px; letter-spacing: -.03em; line-height: 1; }
.brand__cross { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 7px; background: currentColor; }
.brand__cross .icon { color: #fff; width: 20px; height: 20px; stroke-width: 3; }
.brand--light { color: #fff; }
.brand--light .brand__cross { background: #fff; }
.brand--light .brand__cross .icon { color: var(--navy); }
.site-nav { margin-left: auto; }
.site-nav__list { list-style: none; display: flex; gap: 4px; margin: 0; padding: 0; }
.site-nav__list a { display: block; white-space: nowrap; padding: .55em .7em; border-radius: 10px; color: var(--navy); font-weight: 550; font-size: 15.5px; text-decoration: none; }
.site-nav__list a:hover, .site-nav__list .current-menu-item > a, .site-nav__list .current_page_item > a, .site-nav__list .current-menu-ancestor > a { color: var(--blue); background: var(--sky); }
.site-nav__list .sub-menu { display: none; }
.site-nav__mobile-extra { display: none; }
.site-header__toggle { display: none; margin-left: auto; width: 46px; height: 46px; border: 1px solid var(--line); border-radius: 12px; background: var(--white); cursor: pointer; }
.burger, .burger::before, .burger::after { display: block; width: 20px; height: 2px; margin: auto; background: var(--navy); border-radius: 2px; position: relative; transition: transform .25s, background .2s; }
.burger::before, .burger::after { content: ""; position: absolute; left: 0; }
.burger::before { top: -6px; }
.burger::after { top: 6px; }
[aria-expanded="true"] .burger { background: transparent; }
[aria-expanded="true"] .burger::before { transform: translateY(6px) rotate(45deg); }
[aria-expanded="true"] .burger::after { transform: translateY(-6px) rotate(-45deg); }

/* ----------------------------------------------------------------- Hero */
.hero { position: relative; overflow: hidden; background: linear-gradient(180deg, var(--sky) 0%, #F5F9FD 70%, var(--white) 100%); padding: clamp(40px, 6vw, 84px) 0 clamp(56px, 7vw, 96px); }
.hero::before { content: ""; position: absolute; inset: auto -10% -40% auto; width: 60vw; height: 60vw; max-width: 760px; max-height: 760px; border-radius: 50%; background: radial-gradient(circle, rgba(31, 100, 160, .12), transparent 65%); pointer-events: none; }
.hero__grid { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero__title { font-size: clamp(40px, 6vw, 72px); font-weight: 800; letter-spacing: -.035em; line-height: 1.02; margin-bottom: .35em; }
.hero__title em { display: block; color: var(--blue); }
.hero__lead { font-size: clamp(17px, 1.5vw, 19px); color: var(--muted); max-width: 34em; }
.hero__facts { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 28px; padding: 0; margin: 8px 0 0; color: var(--muted); font-size: 15px; }
.hero__facts strong { display: block; font-size: 26px; color: var(--navy); line-height: 1.1; }
.hero__visual { position: relative; min-height: 460px; }
.hero__mosaic { display: grid; grid-template-columns: repeat(6, 1fr); grid-template-rows: repeat(6, 1fr); gap: 14px; height: clamp(400px, 42vw, 540px); }
.hero__tile { margin: 0; overflow: hidden; border-radius: 26px; background: var(--sky-2); box-shadow: var(--shadow); }
.hero__tile img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.hero__tile--1 { grid-column: 1 / 4; grid-row: 1 / 5; }
.hero__tile--2 { grid-column: 4 / 7; grid-row: 1 / 3; }
.hero__tile--3 { grid-column: 4 / 7; grid-row: 3 / 7; }
.hero__tile--4 { grid-column: 1 / 3; grid-row: 5 / 7; }
.hero__tile--5 { grid-column: 3 / 4; grid-row: 5 / 7; }
.hero__placeholder { grid-column: 1 / -1; grid-row: 1 / -1; display: grid; place-items: center; border-radius: 32px; background: linear-gradient(135deg, var(--blue), var(--navy)); color: rgba(255, 255, 255, .5); }
.hero__placeholder .icon { width: 120px; height: 120px; stroke-width: 1; }
.hero__badge { position: absolute; display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 16px; background: var(--white); box-shadow: var(--shadow-lg); font-size: 14px; color: var(--muted); line-height: 1.3; }
.hero__badge strong { display: block; color: var(--navy); font-size: 15px; }
.hero__badge .icon { width: 40px; height: 40px; padding: 9px; border-radius: 12px; background: var(--sky); color: var(--blue); }
.hero__badge--a { left: -28px; bottom: 18%; }
.hero__badge--a .icon { background: #FDE9E2; color: var(--accent); }
.hero__badge--b { right: -12px; top: 8%; }

/* -------------------------------------------------------------- Sezioni */
.section { padding: clamp(56px, 7vw, 96px) 0; }
.section--flush { padding-top: 8px; }
.section--tint { background: var(--paper); }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 36px; }
.section-head .section-title { margin: 0; }

/* Griglia specialità */
.spec-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 14px; }
.spec-tile { display: flex; align-items: center; gap: 14px; height: 100%; padding: 16px 18px; border: 1px solid var(--line); border-radius: 16px; background: var(--white); color: var(--navy); font-weight: 600; text-decoration: none; transition: border-color .2s, box-shadow .2s, transform .2s; }
.spec-tile:hover { border-color: transparent; box-shadow: var(--shadow); transform: translateY(-2px); color: var(--blue); }
.spec-tile__icon { display: grid; place-items: center; flex: none; width: 46px; height: 46px; border-radius: 14px; background: var(--sky); color: var(--blue); transition: background .2s, color .2s; }
.spec-tile:hover .spec-tile__icon { background: var(--blue); color: #fff; }
.spec-tile__name { line-height: 1.25; font-size: 15.5px; }

/* Perché Agunco */
.why { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.why__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.why__item { padding: 26px; border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow); }
.why__item h3 { font-size: 19px; margin: 14px 0 6px; }
.why__item p { margin: 0; color: var(--muted); font-size: 15.5px; }
.why__icon { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 15px; background: var(--blue); color: #fff; }
.why__item:nth-child(2) .why__icon { background: var(--accent); }
.why__item:nth-child(3) .why__icon { background: var(--navy); }
.why__item:nth-child(4) .why__icon { background: var(--sky-2); color: var(--blue); }

/* Équipe */
.doc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 22px; }
.doc-card__link { display: block; text-decoration: none; color: inherit; }
.doc-card__photo { position: relative; aspect-ratio: 5 / 6; border-radius: var(--radius); overflow: hidden; background: linear-gradient(160deg, var(--sky), var(--sky-2)); margin-bottom: 14px; }
.doc-card__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; transition: transform .5s; }
.doc-card__link:hover img { transform: scale(1.04); }
.doc-card__initials { position: absolute; inset: 0; display: grid; place-items: center; font-size: 54px; font-weight: 800; color: var(--blue); opacity: .55; }
.doc-card__name { font-size: 18px; margin: 0 0 2px; }
.doc-card__link:hover .doc-card__name { color: var(--blue); }
.doc-card__role { margin: 0; color: var(--muted); font-size: 15px; }
.doc-card[hidden] { display: none; }

/* Pacchetti */
.pack-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.pack-card__link { display: flex; flex-direction: column; height: 100%; border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow); overflow: hidden; text-decoration: none; color: inherit; transition: transform .25s, box-shadow .25s; }
.pack-card__link:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.pack-card__media { position: relative; aspect-ratio: 16 / 10; background: linear-gradient(135deg, var(--sky), var(--sky-2)); }
.pack-card__media img { width: 100%; height: 100%; object-fit: cover; }
.pack-card__icon { position: absolute; inset: 0; display: grid; place-items: center; color: var(--blue); }
.pack-card__icon .icon { width: 64px; height: 64px; stroke-width: 1.3; }
.pack-card__price { position: absolute; right: 14px; bottom: 14px; padding: 6px 12px; border-radius: 999px; background: var(--accent); color: #fff; font-weight: 700; font-size: 15px; }
.pack-card__body { display: flex; flex-direction: column; flex: 1; padding: 22px 24px 24px; }
.pack-card__tag { margin: 0 0 6px; font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); }
.pack-card__title { font-size: 20px; margin-bottom: 8px; }
.pack-card__text { color: var(--muted); font-size: 15.5px; }
.pack-card__more { margin-top: auto; display: inline-flex; align-items: center; gap: .4em; font-weight: 600; color: var(--blue); }

/* Convenzioni */
.band-conv { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding: clamp(32px, 5vw, 56px); border-radius: 28px; background: linear-gradient(120deg, var(--navy), var(--blue)); color: #D8E6F3; }
.band-conv .section-title, .band-conv .eyebrow { color: #fff; }
.band-conv em { color: #9FC9EE; }
.band-conv p { max-width: 40em; margin: 0; }
.band-conv .btn--primary { background: #fff; color: var(--navy); flex: none; }
.band-conv .btn--primary:hover { background: var(--accent); color: #fff; }

/* News */
.news-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.news-card__link { display: flex; flex-direction: column; height: 100%; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); overflow: hidden; text-decoration: none; color: inherit; transition: box-shadow .25s, border-color .25s; }
.news-card__link:hover { box-shadow: var(--shadow); border-color: transparent; }
.news-card__media { position: relative; aspect-ratio: 16 / 9; background: var(--sky); }
.news-card__media img { width: 100%; height: 100%; object-fit: cover; }
.news-card__icon { position: absolute; inset: 0; display: grid; place-items: center; color: var(--blue); opacity: .5; }
.news-card__icon .icon { width: 48px; height: 48px; }
.news-card__body { padding: 20px 22px 24px; }
.news-card__body time { font-size: 13.5px; color: var(--muted); }
.news-card__title { font-size: 18.5px; margin: 6px 0 8px; }
.news-card__link:hover .news-card__title { color: var(--blue); }
.news-card__body p { margin: 0; color: var(--muted); font-size: 15px; }

/* Come raggiungerci */
.where { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.where__addr { font-size: 19px; font-weight: 600; color: var(--navy); }
.where__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.where__list li { display: flex; gap: 16px; align-items: flex-start; padding: 18px 20px; border-radius: 16px; background: var(--paper); }
.where__list h3 { font-size: 16.5px; margin: 0 0 2px; }
.where__list p { margin: 0; color: var(--muted); font-size: 15.5px; }
.where__icon { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 12px; background: var(--white); color: var(--blue); box-shadow: var(--shadow); }
.where__list--plain li { padding: 12px 0; background: none; border-bottom: 1px solid var(--line); border-radius: 0; }

/* -------------------------------------------------------- Pagine interne */
.page-head { background: linear-gradient(180deg, var(--sky), var(--white)); padding: 28px 0 40px; }
.page-head__title { font-size: clamp(34px, 4.6vw, 54px); font-weight: 800; letter-spacing: -.03em; margin-bottom: .3em; }
.page-head__lead { font-size: 18.5px; color: var(--muted); max-width: 44em; margin: 0; }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 22px; padding: 0; font-size: 14px; color: var(--muted); }
.breadcrumb li + li::before { content: "/"; margin-right: 6px; opacity: .5; }
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--blue); }

.prose { font-size: 17.5px; }
.prose > * + * { margin-top: .9em; }
.prose h2 { font-size: 26px; margin-top: 1.6em; }
.prose h3 { font-size: 21px; margin-top: 1.4em; }
.prose h4 { font-size: 18px; margin-top: 1.2em; }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose li { margin: .3em 0; }
.prose ul li::marker { color: var(--accent); }
.prose img { border-radius: var(--radius-sm); margin: 1.2em 0; }
.prose iframe { width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; border-radius: var(--radius-sm); }
.prose table { width: 100%; border-collapse: collapse; font-size: 16px; }
.prose th, .prose td { border-bottom: 1px solid var(--line); padding: 10px 8px; text-align: left; }
.prose blockquote { margin: 1.4em 0; padding: 4px 0 4px 20px; border-left: 3px solid var(--accent); color: var(--muted); }

/* Visite specialistiche (pagina unica) */
.spec-page { display: grid; grid-template-columns: 270px 1fr; gap: clamp(28px, 4vw, 56px); align-items: start; padding-bottom: 64px; }
.spec-index { position: sticky; top: calc(var(--header-h) + 20px); max-height: calc(100vh - var(--header-h) - 40px); overflow: auto; padding: 18px; border-radius: var(--radius); background: var(--paper); }
.spec-index__title { margin: 0 0 8px; font-weight: 700; color: var(--navy); }
.spec-index ul { list-style: none; margin: 0; padding: 0; }
.spec-index a { display: block; padding: 7px 10px; border-radius: 9px; color: var(--muted); font-size: 15px; text-decoration: none; line-height: 1.3; }
.spec-index a:hover { color: var(--blue); background: var(--white); }
.spec-index a.is-current { color: var(--white); background: var(--blue); }
.spec-section { padding: 36px 0 40px; border-bottom: 1px solid var(--line); }
.spec-section:first-of-type { padding-top: 8px; }
.spec-section__head { display: flex; align-items: center; gap: 16px; margin-bottom: 16px; }
.spec-section__head h2 { margin: 0; font-size: clamp(26px, 3vw, 34px); }
.spec-section__icon { display: grid; place-items: center; flex: none; width: 56px; height: 56px; border-radius: 16px; background: var(--sky); color: var(--blue); }
.spec-section__icon .icon { width: 28px; height: 28px; }
.spec-section__sub { font-size: 15px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin: 28px 0 12px; }
.prose--fold.is-folded { max-height: 15.5em; overflow: hidden; -webkit-mask-image: linear-gradient(#000 60%, transparent); mask-image: linear-gradient(#000 60%, transparent); }
.fold-btn { margin-top: 6px; padding: 0; border: 0; background: none; font: 600 15.5px var(--font); color: var(--blue); cursor: pointer; }
.doc-mini { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 10px; }
.doc-mini a { display: flex; align-items: center; gap: 12px; padding: 10px 14px 10px 10px; border-radius: 14px; border: 1px solid var(--line); text-decoration: none; color: var(--navy); transition: border-color .2s, background .2s; }
.doc-mini a:hover { border-color: var(--blue); background: var(--sky); }
.doc-mini img, .doc-mini__ph { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; object-position: 50% 20%; flex: none; }
.doc-mini__ph { display: grid; place-items: center; background: var(--sky); color: var(--blue); }
.doc-mini strong { display: block; font-size: 15.5px; line-height: 1.25; }
.doc-mini small { display: block; color: var(--muted); font-size: 13.5px; line-height: 1.3; }
.pack-mini { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.pack-mini a { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 12px; background: #FDF0EB; color: var(--navy); text-decoration: none; font-weight: 550; font-size: 15px; }
.pack-mini a .icon { color: var(--accent); }
.pack-mini em { color: var(--accent-700); font-weight: 700; }

/* Filtro équipe */
.filter { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 32px; }
.filter__empty { color: var(--muted); }

/* Scheda medico */
.doctor { padding: 28px 0 72px; background: linear-gradient(180deg, var(--sky) 0, var(--white) 420px); }
.doctor__grid { display: grid; grid-template-columns: minmax(260px, 400px) 1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.doctor__photo { position: sticky; top: calc(var(--header-h) + 20px); border-radius: 28px; overflow: hidden; aspect-ratio: 5 / 6; background: linear-gradient(160deg, var(--sky), var(--sky-2)); box-shadow: var(--shadow-lg); }
.doctor__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.doctor__ph { display: grid; place-items: center; height: 100%; color: var(--blue); opacity: .4; }
.doctor__ph .icon { width: 96px; height: 96px; }
.doctor__name { font-size: clamp(32px, 4vw, 48px); font-weight: 800; letter-spacing: -.03em; margin-bottom: .15em; }
.doctor__role { font-size: 19px; color: var(--muted); }
.doctor__specs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }

/* Articolo / pacchetto */
.article { display: grid; grid-template-columns: 1fr 340px; gap: clamp(28px, 4vw, 56px); align-items: start; padding-bottom: 64px; }
.article__media { margin: 0 0 28px; border-radius: var(--radius); overflow: hidden; }
.article__side { position: sticky; top: calc(var(--header-h) + 20px); }
.article__back { margin-top: 40px; }
.side-card { padding: 26px; border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line); }
.side-card__price { font-size: 32px; font-weight: 800; color: var(--accent); margin: 0 0 12px; }
.side-card__title { font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.side-card__links { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 0; }
.side-card .cta-row--stack { max-width: none; }
.check-list { list-style: none; margin: 0 0 8px; padding: 0; }
.check-list li { display: flex; gap: 10px; padding: 6px 0; font-size: 15.5px; }
.check-list .icon { color: var(--ok); margin-top: 3px; }

/* Contatti */
.contacts__cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 48px; }
.info-card { display: flex; align-items: center; gap: 14px; padding: 18px; border-radius: 18px; background: var(--white); border: 1px solid var(--line); text-decoration: none; color: var(--navy); font-weight: 700; transition: box-shadow .2s, border-color .2s; }
.info-card:hover { border-color: transparent; box-shadow: var(--shadow); }
.info-card .icon { width: 46px; height: 46px; padding: 11px; border-radius: 14px; background: var(--sky); color: var(--blue); }
.info-card small { display: block; font-weight: 500; font-size: 13px; color: var(--muted); }
.info-card--accent { background: var(--accent); border-color: var(--accent); color: #fff; }
.info-card--accent small { color: rgba(255, 255, 255, .8); }
.info-card--accent .icon { background: rgba(255, 255, 255, .18); color: #fff; }
.contacts__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); padding-bottom: 72px; }
.contacts__form { padding: 30px; border-radius: 24px; background: var(--paper); }

/* Liste */
.link-list { list-style: none; margin: 0; padding: 0; }
.link-list li { margin: 6px 0; }
.link-list--big a { display: flex; justify-content: space-between; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 19px; font-weight: 600; text-decoration: none; }
.hours { display: grid; grid-template-columns: auto 1fr; gap: 4px 18px; margin: 0; }
.hours dt { font-weight: 600; }
.hours dd { margin: 0; }

/* -------------------------------------------------- Fascia contatti/form */
.contact { padding: clamp(56px, 7vw, 96px) 0; background: linear-gradient(180deg, var(--white), var(--sky)); }
.contact__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.contact__intro > p:not(.eyebrow) { color: var(--muted); font-size: 18px; }
.contact__facts { margin: 28px 0 0; display: grid; gap: 14px; }
.contact__facts div { display: grid; gap: 2px; }
.contact__facts dt { display: flex; align-items: center; gap: 8px; font-weight: 700; color: var(--navy); }
.contact__facts dt .icon { color: var(--blue); }
.contact__facts dd { margin: 0; color: var(--muted); }
.contact__form { padding: clamp(24px, 3vw, 36px); border-radius: 28px; background: var(--white); box-shadow: var(--shadow-lg); }

/* Modulo */
.cfa-form { display: grid; gap: 16px; }
.cfa-form label { display: grid; gap: 6px; font-weight: 600; font-size: 15px; color: var(--navy); }
.cfa-form input[type="text"], .cfa-form input[type="tel"], .cfa-form select, .cfa-form textarea { width: 100%; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 12px; background: var(--white); font: 400 16px/1.4 var(--font); color: var(--ink); transition: border-color .2s, box-shadow .2s; }
.cfa-form input:focus, .cfa-form select:focus, .cfa-form textarea:focus { outline: 0; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(31, 100, 160, .15); }
.cfa-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.cfa-form__pref { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px 18px; }
.cfa-form__pref legend { font-weight: 600; font-size: 15px; color: var(--navy); margin-bottom: 6px; width: 100%; }
.cfa-form .cfa-form__pref label { display: flex; align-items: center; gap: 8px; font-weight: 400; color: var(--ink); }
.cfa-form .cfa-form__privacy { display: block; position: relative; padding-left: 28px; font-size: 14px; font-weight: 400; color: var(--ink); }
.cfa-form .cfa-form__privacy input { position: absolute; left: 0; top: 1px; margin: 0; }
.cfa-form input[type="radio"], .cfa-form input[type="checkbox"] { accent-color: var(--blue); width: 18px; height: 18px; margin-top: 2px; }
.cfa-form__hp { position: absolute; left: -9999px; }
.cfa-form button { justify-self: start; }
.cfa-form__msg { padding: 12px 14px; border-radius: 12px; margin: 0; }
.cfa-form__msg--ok { background: #E6F4EC; color: var(--ok); }
.cfa-form__msg--err { background: #FDECEA; color: var(--err); }

/* --------------------------------------------------------------- Footer */
.site-footer { background: var(--navy); color: #B9CBDC; font-size: 15.5px; padding: 64px 0 0; }
.site-footer a { color: #E6EEF6; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer__grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 40px; }
.site-footer__title { font-size: 14px; letter-spacing: .1em; text-transform: uppercase; color: #fff; margin: 0 0 14px; }
.site-footer__title + * { margin-top: 0; }
.site-footer address { font-style: normal; margin-bottom: 28px; line-height: 1.8; }
.site-footer__about .brand { margin-bottom: 18px; font-size: 28px; }
.site-footer__about p { max-width: 26em; }
.site-footer__dir { margin-top: 22px; color: #fff; }
.site-footer__dir small { display: block; color: #8FA6BC; font-size: 13px; }
.site-footer .hours { color: #E6EEF6; }
.social { display: flex; gap: 10px; }
.social a { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: rgba(255, 255, 255, .08); }
.social a:hover { background: var(--accent); }
.doc-list { list-style: none; margin: 0; padding: 0; }
.doc-list li { margin: 6px 0; }
.doc-list a { display: inline-flex; gap: 8px; align-items: flex-start; }
.doc-list .icon { width: 18px; height: 18px; margin-top: 3px; opacity: .7; }
.doc-list__group { margin-top: 14px !important; font-weight: 700; color: #fff; }
.doc-list__group:first-child { margin-top: 0 !important; }
.site-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; margin-top: 48px; padding: 22px 0 28px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 13.5px; color: #8FA6BC; }
.site-footer__bottom p { margin: 0; }
.site-footer__menu { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 18px; }
.site-footer__menu a { color: #B9CBDC; }

/* Paginazione */
.pagination { margin-top: 40px; }
.nav-links { display: flex; gap: 8px; flex-wrap: wrap; }
.page-numbers { display: inline-grid; place-items: center; min-width: 44px; height: 44px; padding: 0 12px; border-radius: 12px; border: 1px solid var(--line); text-decoration: none; color: var(--navy); }
.page-numbers.current { background: var(--navy); color: #fff; border-color: var(--navy); }

/* Barra azioni mobile */
.action-bar { display: none; }

/* -------------------------------------------------------------- Mobile */
@media (max-width: 1180px) {
	.site-nav__list a { font-size: 15px; padding: .5em .55em; }
}
@media (max-width: 1020px) {
	:root { --header-h: 66px; }
	.topbar__links li:not(.topbar__phone) { display: none; }
	.site-header__toggle { display: block; }
	.site-header__cta { margin-left: auto; }
	.site-header__toggle { margin-left: 0; }
	.site-nav { position: absolute; top: 100%; left: 0; right: 0; height: calc(100dvh - var(--header-h)); margin: 0; border-top: 1px solid var(--line); padding: 18px 20px 120px; background: var(--white); overflow-y: auto; opacity: 0; transform: translateY(-8px); transition: opacity .2s ease, transform .2s ease, visibility .2s; visibility: hidden; }
	.site-nav.is-open { opacity: 1; transform: none; visibility: visible; }
	body.menu-open { overflow: hidden; }
	.site-nav__list { flex-direction: column; gap: 2px; }
	.site-nav__list a { font-size: 19px; padding: 14px 10px; border-bottom: 1px solid var(--line); border-radius: 0; }
	.site-nav__mobile-extra { display: grid; gap: 4px; margin-top: 18px; }
	.site-nav__mobile-extra a { display: flex; align-items: center; gap: 10px; padding: 12px 10px; color: var(--navy); font-weight: 600; text-decoration: none; }
	.hero__grid, .why, .where, .contact__grid, .contacts__grid, .article, .doctor__grid { grid-template-columns: 1fr; }
	.hero__visual { min-height: 0; }
	.hero__mosaic { height: 360px; }
	.hero__badge--a { left: 8px; }
	.hero__badge--b { right: 8px; }
	.spec-page { grid-template-columns: 1fr; }
	.spec-index { position: static; max-height: none; }
	.spec-index ul { display: flex; flex-wrap: wrap; gap: 6px; }
	.spec-index a { background: var(--white); border: 1px solid var(--line); }
	.article__side, .doctor__photo { position: static; }
	.doctor__photo { max-width: 420px; }
	.contacts__cards { grid-template-columns: 1fr 1fr; }
	.site-footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
	body { font-size: 16.5px; padding-bottom: 72px; }
	.topbar { display: none; }
	.site-header__cta { display: none; }
	.site-header__toggle { margin-left: auto; }
	.custom-logo-link img, .custom-logo { max-height: 38px; }
	.hero__mosaic { height: 300px; gap: 10px; }
	.hero__tile { border-radius: 18px; }
	.hero__badge { font-size: 13px; padding: 10px 12px; }
	.hero__badge--b { display: none; }
	.section-head { flex-direction: column; align-items: flex-start; }
	.why__list { grid-template-columns: 1fr; }
	.doc-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
	.doc-grid--scroll { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 14px; margin-inline: -20px; padding: 0 20px 8px; }
	.doc-grid--scroll .doc-card { flex: 0 0 62%; scroll-snap-align: start; }
	.doc-card__name { font-size: 16px; }
	.doc-card__role { font-size: 14px; }
	.band-conv { flex-direction: column; align-items: flex-start; }
	.cfa-form__row { grid-template-columns: 1fr; }
	.contacts__cards { grid-template-columns: 1fr; }
	.site-footer__grid { grid-template-columns: 1fr; gap: 32px; }
	.btn--icon .btn__label { display: none; }
	.action-bar { position: fixed; z-index: 60; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: 1fr 1fr 1.4fr; gap: 8px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .96); backdrop-filter: blur(10px); border-top: 1px solid var(--line); }
	.action-bar a { display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 48px; border-radius: 14px; background: var(--sky); color: var(--navy); font-weight: 700; font-size: 15px; text-decoration: none; }
	.action-bar__main { background: var(--accent) !important; color: #fff !important; }
}
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
