/* ==========================================================================
   Antonio Couture – stili principali
   ========================================================================== */

:root {
	--ink: #1b1714;
	--ink-2: #2b2520;
	--ivory: #f7f3ee;
	--paper: #fbf9f6;
	--sand: #ebe3d8;
	--line: #ddd3c6;
	--cognac: #8a5a32;
	--cognac-2: #6f4626;
	--muted: #6f665d;
	--success: #3d6b4a;
	--error: #9b2f22;
	--serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
	--sans: Jost, system-ui, -apple-system, "Segoe UI", sans-serif;
	--wrap: 1320px;
	--gutter: clamp(20px, 4vw, 48px);
	--hh: 76px;
	--ease: cubic-bezier(.2, .7, .2, 1);
	--section: clamp(64px, 9vw, 128px);
}

@media (max-width: 1023px) {
	:root { --hh: 62px; }
}

/* Reset essenziale ------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--hh) + 16px); }
body {
	margin: 0;
	background: var(--ivory);
	color: var(--ink);
	font-family: var(--sans);
	font-size: 1.0625rem;
	font-weight: 400;
	line-height: 1.7;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
}
body.ac-locked { overflow: hidden; }
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .2em; }
a:hover { color: var(--cognac); }
button { font: inherit; color: inherit; }
h1, h2, h3, h4, h5, h6 { font-family: var(--serif); font-weight: 500; line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.005em; }
p { margin: 0 0 1.1em; }
hr { border: 0; border-top: 1px solid var(--line); margin: 2.5rem 0; }
::selection { background: var(--cognac); color: var(--ivory); }
:focus-visible { outline: 2px solid var(--cognac); outline-offset: 3px; }
[hidden] { display: none !important; }

.screen-reader-text, .ac-form__hp {
	border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%);
	height: 1px; width: 1px; margin: -1px; overflow: hidden; padding: 0;
	position: absolute !important; word-wrap: normal !important;
}
.ac-skip { position: absolute; left: -999px; top: 8px; z-index: 999; background: var(--ink); color: var(--ivory); padding: .6em 1em; }
.ac-skip:focus { left: 8px; }

/* Layout ---------------------------------------------------------------- */
.ac-container { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.ac-section { padding-block: var(--section); }
.ac-section + .ac-section { padding-top: 0; }
.ac-section__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: clamp(28px, 4vw, 48px); }
.ac-section__head--center { justify-content: center; text-align: center; }
.ac-section__head--center > div { max-width: 640px; }
.ac-section__head .ac-h2 { margin: 0; }
.ac-main { min-height: 50vh; }

/* Tipografia ------------------------------------------------------------- */
.ac-eyebrow {
	font-family: var(--sans);
	font-size: .72rem;
	font-weight: 500;
	letter-spacing: .24em;
	text-transform: uppercase;
	color: var(--cognac);
	margin: 0 0 1rem;
}
.ac-h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); font-weight: 400; }
.ac-h2 { font-size: clamp(2.1rem, 4vw, 3.3rem); font-weight: 400; }
.ac-h3 { font-size: clamp(1.6rem, 2.4vw, 2rem); }
.ac-muted { color: var(--muted); }
.ac-lead { font-family: var(--serif); font-size: clamp(1.35rem, 2.2vw, 1.75rem); line-height: 1.45; color: var(--ink-2); }
.ac-note { font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); border-left: 2px solid var(--cognac); padding-left: 1rem; }

/* Pulsanti --------------------------------------------------------------- */
.ac-btn,
.wp-block-button__link,
.wp-element-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: .6em;
	min-height: 52px;
	padding: .9em 2.2em;
	border: 1px solid var(--ink);
	border-radius: 0;
	background: var(--ink);
	color: var(--ivory);
	font-family: var(--sans);
	font-size: .76rem;
	font-weight: 500;
	letter-spacing: .2em;
	text-transform: uppercase;
	text-decoration: none;
	line-height: 1.2;
	cursor: pointer;
	transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
.ac-btn:hover,
.wp-block-button__link:hover,
.wp-element-button:hover { background: var(--cognac); border-color: var(--cognac); color: #fff; }
.ac-btn--light { background: var(--ivory); border-color: var(--ivory); color: var(--ink); }
.ac-btn--light:hover { background: transparent; color: var(--ivory); border-color: var(--ivory); }
.ac-btn--outline, .is-style-outline .wp-block-button__link { background: transparent; color: var(--ink); }
.ac-btn--outline:hover, .is-style-outline .wp-block-button__link:hover { background: var(--ink); color: var(--ivory); border-color: var(--ink); }
.ac-btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); min-height: 44px; padding: .6em 1.2em; }
.ac-btn--ghost:hover { border-color: var(--ink); background: transparent; color: var(--ink); }
.ac-btn--block { width: 100%; }
.ac-btn .ac-icon { width: 18px; height: 18px; }

.ac-link {
	display: inline-flex; align-items: center; gap: .5em;
	font-size: .76rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase;
	text-decoration: none; padding-bottom: 4px;
	background: linear-gradient(currentColor, currentColor) left bottom / 100% 1px no-repeat;
	transition: background-size .4s var(--ease), color .3s;
}
.ac-link .ac-icon { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.ac-link:hover { background-size: 30% 1px; }
.ac-link:hover .ac-icon { transform: translateX(4px); }
.ac-link--light { color: var(--ivory); }
.ac-link--light:hover { color: #fff; }

.ac-iconbtn {
	display: inline-grid; place-items: center;
	width: 44px; height: 44px; padding: 0;
	border: 0; background: none; cursor: pointer; position: relative;
	color: inherit; text-decoration: none;
}
.ac-iconbtn .ac-icon { width: 22px; height: 22px; }
.ac-iconbtn:hover { color: var(--cognac); }

/* Barra superiore -------------------------------------------------------- */
.ac-topbar {
	background: var(--ink); color: var(--sand);
	font-size: .7rem; letter-spacing: .2em; text-transform: uppercase;
	text-align: center; padding: .7em var(--gutter);
}
.ac-topbar a { text-decoration: none; }
.ac-topbar a:hover { color: #fff; }

/* Header ---------------------------------------------------------------- */
.ac-header {
	position: sticky; top: 0; z-index: 60;
	border-bottom: 1px solid var(--line);
	transition: background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease);
}
.ac-header::before {
	content: ""; position: absolute; inset: 0; z-index: -1;
	background: rgba(247, 243, 238, .96);
	-webkit-backdrop-filter: saturate(140%) blur(10px);
	backdrop-filter: saturate(140%) blur(10px);
	transition: opacity .35s var(--ease);
}
body.ac-nav-open .ac-header { z-index: 100; }
.admin-bar .ac-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .ac-header { top: 0; } }
.ac-header__inner {
	display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
	height: var(--hh);
	max-width: calc(var(--wrap) + var(--gutter) * 2); margin-inline: auto; padding-inline: calc(var(--gutter) - 10px);
}
.ac-header__left { display: flex; align-items: center; min-width: 0; }
.ac-header__brand { padding-inline: 24px; }
.ac-header__right { display: flex; justify-content: flex-end; align-items: center; gap: 2px; }
.ac-header__brand { display: flex; justify-content: center; }
.ac-logo { display: inline-flex; align-items: center; gap: 12px; color: inherit; text-decoration: none; }
.ac-logo:hover { color: inherit; }
.ac-logo { gap: 14px; }
.ac-logo__svg { display: block; width: clamp(190px, 16vw, 240px); height: auto; color: inherit; overflow: visible; }
.ac-logo__mark { display: block; height: 44px; width: auto; color: inherit; overflow: visible; flex: none; }

/* Header trasparente sull'apertura della home */
.has-overlay-header .ac-header:not(.is-solid)::before { opacity: 0; }
.has-overlay-header .ac-header:not(.is-solid) {
	border-color: transparent;
	color: var(--ivory);
}
.has-overlay-header .ac-header:not(.is-solid) .ac-cartcount { background: var(--ivory); color: var(--ink); }
.has-overlay-header .ac-hero { margin-top: calc(var(--hh) * -1); }

.ac-cartcount {
	position: absolute; top: 5px; right: 3px;
	min-width: 17px; height: 17px; padding: 0 4px; border-radius: 9px;
	background: var(--cognac); color: #fff;
	font-size: .62rem; font-weight: 500; line-height: 17px; text-align: center;
}
.ac-cartcount.is-empty { display: none; }

/* Navigazione desktop */
.ac-burger, .ac-nav__head, .ac-nav__extra, .ac-sub-toggle { display: none; }
.ac-nav__list { list-style: none; margin: 0; padding: 0; display: flex; gap: clamp(14px, 2vw, 30px); }
.ac-nav__list > li { position: relative; }
.ac-nav__list > li > a {
	display: block; padding: 10px 0;
	font-size: .74rem; font-weight: 500; letter-spacing: .18em; text-transform: uppercase;
	text-decoration: none; white-space: nowrap;
	background: linear-gradient(currentColor, currentColor) left calc(100% - 4px) / 0 1px no-repeat;
	transition: background-size .35s var(--ease);
}
.ac-nav__list > li.is-open > a,
.ac-nav__list > li:hover > a,
.ac-nav__list > li.current-menu-item > a,
.ac-nav__list > li.current-menu-ancestor > a { background-size: 100% 1px; color: inherit; }

@media (min-width: 1024px) {
	.ac-nav__list .sub-menu {
		list-style: none; margin: 0; padding: 18px 0;
		position: absolute; top: 100%; left: -24px; min-width: 250px;
		background: var(--paper); color: var(--ink);
		border: 1px solid var(--line);
		box-shadow: 0 18px 40px -20px rgba(27, 23, 20, .25);
		opacity: 0; visibility: hidden; transform: translateY(8px);
		transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
		z-index: 10;
	}
	.ac-nav__list .sub-menu a { display: block; padding: 7px 24px; font-size: .95rem; text-decoration: none; }
	.ac-nav__list .sub-menu a:hover { color: var(--cognac); }
	.ac-nav__list li.is-open > .sub-menu,
	.ac-nav__list li:focus-visible > .sub-menu,
	.ac-nav__list li:has(> a:focus-visible) > .sub-menu,
	.ac-nav__list .sub-menu:focus-within { opacity: 1; visibility: visible; transform: none; }
	.ac-nav__list .sub-menu .sub-menu { display: none; }

	/* Mega menu */
	.ac-header__inner, .ac-header__left, .ac-nav, .ac-nav__list > li.is-mega { position: static; }
	.ac-nav__list > li.is-mega > .sub-menu {
		left: 0; right: 0; top: 100%;
		padding: 44px max(var(--gutter), calc((100vw - var(--wrap)) / 2));
		display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 32px 40px;
		border-left: 0; border-right: 0;
	}
	.ac-nav__list > li.is-mega > .sub-menu > li > a {
		padding: 0 0 10px; margin-bottom: 8px;
		font-family: var(--serif); font-size: 1.35rem; font-weight: 500;
		border-bottom: 1px solid var(--line);
	}
	.ac-nav__list > li.is-mega .sub-menu .sub-menu {
		display: block; position: static; opacity: 1; visibility: visible; transform: none;
		border: 0; box-shadow: none; padding: 0; min-width: 0; background: none;
	}
	.ac-nav__list > li.is-mega .sub-menu .sub-menu a { padding: 4px 0; font-size: .92rem; color: var(--muted); }
	.ac-nav__list > li.is-mega .sub-menu .sub-menu a:hover { color: var(--cognac); }
}

/* Navigazione mobile */
@media (max-width: 1023px) {
	.ac-burger { display: inline-grid; }
	.ac-hide-sm { display: none; }
	.ac-nav {
		position: fixed; inset: 0 auto 0 0; z-index: 90;
		width: min(400px, 88vw);
		background: var(--paper); color: var(--ink);
		transform: translateX(-102%);
		transition: transform .45s var(--ease);
		overflow-y: auto; overscroll-behavior: contain;
		display: flex; flex-direction: column;
	}
	.ac-nav.is-open { transform: none; box-shadow: 0 0 60px rgba(0, 0, 0, .2); }
	.ac-nav__head { display: flex; align-items: center; justify-content: space-between; padding: 10px 12px 10px 24px; border-bottom: 1px solid var(--line); }
	.ac-nav__title { font-size: .72rem; letter-spacing: .24em; text-transform: uppercase; color: var(--muted); }
	.ac-nav__list { display: block; padding: 8px 0; }
	.ac-nav__list li { position: relative; }
	.ac-nav__list > li { border-bottom: 1px solid var(--line); }
	.ac-nav__list > li > a { padding: 16px 64px 16px 24px; font-size: .82rem; background: none !important; }
	.ac-sub-toggle {
		display: grid; place-items: center;
		position: absolute; right: 8px; top: 6px; width: 44px; height: 44px;
		border: 0; background: none; cursor: pointer;
	}
	.ac-sub-toggle .ac-icon { width: 18px; transition: transform .3s; }
	.ac-sub-toggle[aria-expanded="true"] .ac-icon { transform: rotate(180deg); }
	.ac-nav__list .sub-menu { list-style: none; margin: 0; padding: 0 0 12px 24px; display: none; }
	.ac-nav__list li.is-open > .sub-menu { display: block; }
	.ac-nav__list .sub-menu a { display: block; padding: 10px 56px 10px 12px; font-size: 1rem; text-decoration: none; }
	.ac-nav__list .sub-menu .ac-sub-toggle { top: 0; }
	.ac-nav__list .sub-menu .sub-menu a { color: var(--muted); font-size: .95rem; padding-block: 7px; }
	.ac-nav__extra { display: grid; gap: 4px; margin-top: auto; padding: 24px; background: var(--sand); }
	.ac-nav__extra a { display: flex; align-items: center; gap: 12px; padding: 8px 0; text-decoration: none; font-size: .95rem; }
	.ac-nav__extra .ac-icon { width: 20px; }
	.ac-logo__svg { width: 150px; }
	.ac-logo__mark { height: 30px; }
	.ac-logo { gap: 9px; }
}

/* Overlay ricerca, drawer, scrim ----------------------------------------- */
.ac-scrim {
	position: fixed; inset: 0; z-index: 80;
	background: rgba(27, 23, 20, .45);
	opacity: 0; transition: opacity .35s var(--ease);
}
.ac-scrim.is-visible { opacity: 1; }

.ac-overlay {
	position: fixed; inset: 0; z-index: 95;
	background: rgba(247, 243, 238, .98);
	display: grid; place-items: start center;
	padding: 18vh var(--gutter) 0;
}
.ac-search { width: min(760px, 100%); position: relative; text-align: center; }
.ac-overlay__close { position: fixed; top: 16px; right: 16px; }
.ac-searchform { position: relative; display: flex; }
.ac-searchform input[type="search"] {
	width: 100%; padding: 14px 52px 14px 0;
	background: transparent; border: 0; border-bottom: 1px solid var(--ink); border-radius: 0;
	font-family: var(--serif); font-size: clamp(1.5rem, 3.4vw, 2.4rem); color: var(--ink);
	outline: none;
}
.ac-searchform button { position: absolute; right: 0; top: 50%; transform: translateY(-50%); border: 0; background: none; cursor: pointer; padding: 10px; }
.ac-searchform button .ac-icon { width: 26px; height: 26px; }

.ac-drawer { position: fixed; inset: 0; z-index: 90; pointer-events: none; }
.ac-drawer__panel {
	position: absolute; top: 0; right: 0; bottom: 0;
	width: min(440px, 92vw);
	background: var(--paper);
	display: flex; flex-direction: column;
	transform: translateX(102%);
	transition: transform .45s var(--ease);
	pointer-events: auto;
	box-shadow: 0 0 60px rgba(0, 0, 0, .18);
}
.ac-drawer--left .ac-drawer__panel { right: auto; left: 0; transform: translateX(-102%); }
.ac-drawer.is-open .ac-drawer__panel { transform: none; }
.ac-drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 14px 12px 14px 28px; border-bottom: 1px solid var(--line); }
.ac-drawer__title { font-size: 1.6rem; margin: 0; }
.ac-drawer__body { flex: 1; overflow-y: auto; padding: 24px 28px; overscroll-behavior: contain; }

/* Hero home -------------------------------------------------------------- */
.ac-hero {
	position: relative; isolation: isolate;
	min-height: min(92vh, 900px);
	display: flex; align-items: flex-end;
	color: var(--ivory);
	overflow: hidden;
}
.ac-hero__media { position: absolute; inset: 0; z-index: -1; }
.ac-hero__media { background: var(--ink); }
.ac-hero__media img, .ac-hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
.ac-hero:not(.has-video) .ac-hero__media img { animation: ac-zoom 14s var(--ease) both; }
.ac-hero__media::after {
	content: ""; position: absolute; inset: 0;
	background:
		linear-gradient(180deg, rgba(20, 16, 13, .55) 0%, rgba(20, 16, 13, 0) 28%),
		linear-gradient(20deg, rgba(20, 16, 13, .78) 0%, rgba(20, 16, 13, .25) 55%, rgba(20, 16, 13, .05) 100%);
}
.ac-hero__content { padding-block: calc(var(--hh) + 40px) clamp(56px, 9vw, 120px); }
.ac-hero .ac-eyebrow { color: var(--sand); }
.ac-hero__title { font-size: clamp(3rem, 8.5vw, 7.2rem); font-weight: 400; line-height: .98; max-width: 11ch; margin-bottom: .35em; letter-spacing: -.01em; }
.ac-hero__text { max-width: 460px; font-size: 1.08rem; color: rgba(247, 243, 238, .86); margin-bottom: 2.2rem; }
.ac-hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 32px; }
@keyframes ac-zoom { from { transform: scale(1.08); } to { transform: scale(1); } }

/* Riquadri collezioni --------------------------------------------------- */
.ac-cols { padding-top: clamp(20px, 3vw, 32px); }
.ac-cols__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(10px, 1.4vw, 20px); }
.ac-tile {
	position: relative; display: block; overflow: hidden; isolation: isolate;
	aspect-ratio: 4 / 5;
	background: var(--sand); color: var(--ivory); text-decoration: none;
}
.ac-tile__media, .ac-tile__media img { position: absolute; inset: 0; width: 100%; height: 100%; }
.ac-tile__media img { object-fit: cover; transition: transform 1.2s var(--ease); }
.ac-tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(20, 16, 13, .72) 0%, rgba(20, 16, 13, 0) 55%); z-index: 0; }
.ac-tile__body { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: clamp(18px, 2vw, 28px); display: grid; gap: 4px; }
.ac-tile__title { font-family: var(--serif); font-size: clamp(1.5rem, 2.2vw, 2rem); line-height: 1.1; }
.ac-tile__text { font-size: .88rem; color: rgba(247, 243, 238, .82); }
.ac-tile__cta { display: inline-flex; align-items: center; gap: 8px; margin-top: 10px; font-size: .7rem; letter-spacing: .22em; text-transform: uppercase; }
.ac-tile__cta .ac-icon { width: 16px; transition: transform .3s var(--ease); }
.ac-tile:hover { color: #fff; }
.ac-tile:hover img { transform: scale(1.05); }
.ac-tile:hover .ac-tile__cta .ac-icon { transform: translateX(5px); }
.ac-tile--plain { color: var(--ink); }
.ac-tile--plain::after { display: none; }
.ac-tile--plain .ac-tile__text { color: var(--muted); }
@media (max-width: 900px) { .ac-cols__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) {
	.ac-tile__title { font-size: 1.3rem; }
	.ac-tile__text { display: none; }
	.ac-tile__body { padding: 14px; }
	.ac-tile__cta { margin-top: 4px; }
	.ac-topbar { font-size: .6rem; letter-spacing: .14em; }
}

/* Storia ---------------------------------------------------------------- */
.ac-story__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 110px); align-items: center; }
.ac-story__media { position: relative; }
.ac-story__media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.ac-story__badge {
	position: absolute; right: -28px; bottom: -28px;
	width: 120px; height: 120px; border-radius: 50%;
	background: var(--ivory); color: var(--ink);
	display: grid; place-items: center;
	box-shadow: 0 0 0 1px var(--line);
}
.ac-story__badge svg { width: 46px; height: auto; }
.ac-story__body p { color: var(--ink-2); max-width: 540px; }
.ac-story__facts { list-style: none; padding: 1.6rem 0 0; margin: 2rem 0 2.4rem; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px 24px; border-top: 1px solid var(--line); }
.ac-story__facts li { display: flex; flex-direction: column; gap: 10px; }
.ac-story__facts .ac-icon { width: 26px; height: 26px; color: var(--cognac); }
.ac-story__facts span { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); line-height: 1.5; }
@media (max-width: 900px) {
	.ac-story__grid { grid-template-columns: 1fr; }
	.ac-story__badge { right: 16px; bottom: -24px; width: 92px; height: 92px; }
	.ac-story__facts { gap: 12px; }
	.ac-story__facts span { font-size: .64rem; }
}

/* Servizi --------------------------------------------------------------- */
.ac-services { background: var(--ink); color: var(--ivory); padding-block: var(--section) !important; }
.ac-services .ac-eyebrow { color: #c9a27c; }
.ac-services .ac-muted { color: rgba(247, 243, 238, .65); }
.ac-services__grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgba(247, 243, 238, .18); }
.ac-service {
	display: flex; flex-direction: column; gap: 12px;
	padding: 36px 28px 40px; text-decoration: none;
	border-right: 1px solid rgba(247, 243, 238, .18);
	transition: background .4s var(--ease);
}
.ac-service:last-child { border-right: 0; }
.ac-service__num { font-family: var(--serif); font-style: italic; font-size: 1.1rem; color: #c9a27c; }
.ac-service__title { font-size: 1.85rem; margin: 0; }
.ac-service p { color: rgba(247, 243, 238, .72); font-size: .95rem; flex: 1; }
.ac-service .ac-link { align-self: flex-start; }
.ac-service:hover { background: rgba(247, 243, 238, .05); color: var(--ivory); }
.ac-page .ac-services__grid, .entry-content .ac-services__grid { background: var(--ink); color: var(--ivory); margin-block: 2rem; }
@media (max-width: 1023px) {
	.ac-services__grid { grid-template-columns: repeat(2, 1fr); }
	.ac-service:nth-child(2n) { border-right: 0; }
	.ac-service { border-bottom: 1px solid rgba(247, 243, 238, .18); }
}
@media (max-width: 600px) {
	.ac-services__grid { grid-template-columns: 1fr; }
	.ac-service { border-right: 0; padding-inline: 4px; }
}

/* Recensioni / newsletter ----------------------------------------------- */
.ac-reviews { background: var(--sand); padding-block: var(--section) !important; }
.ac-newsletter { padding-block: clamp(56px, 7vw, 96px) !important; border-top: 1px solid var(--line); }
.ac-newsletter__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
@media (max-width: 800px) { .ac-newsletter__grid { grid-template-columns: 1fr; } }

/* Intestazione pagine ---------------------------------------------------- */
.ac-pagehead { padding: clamp(40px, 6vw, 80px) 0 clamp(28px, 4vw, 48px); text-align: center; }
.ac-pagehead__title { font-size: clamp(2.4rem, 5.5vw, 4.2rem); font-weight: 400; margin: 0; }
.ac-pagehead__sub { max-width: 640px; margin: 1rem auto 0; color: var(--muted); }
.ac-pagehead .ac-breadcrumb { justify-content: center; margin-bottom: 1.2rem; }

.ac-breadcrumb, .woocommerce-breadcrumb {
	display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px;
	font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted);
	margin: 0 0 1rem;
}
.ac-breadcrumb a { text-decoration: none; }
.ac-breadcrumb a:hover { color: var(--ink); }
.ac-breadcrumb__sep { opacity: .5; }

/* Contenuti a blocchi ---------------------------------------------------- */
.ac-page { padding-bottom: var(--section); }
.entry-content > * { max-width: 760px; margin-inline: auto; }
.entry-content > .alignwide { max-width: 1240px; }
.entry-content > .alignfull { max-width: none; margin-inline: calc(var(--gutter) * -1); }
.ac-page--full > .alignfull { margin-inline: 0; }
.ac-page--full { padding-bottom: 0; }
.entry-content h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); margin-top: 2.2em; }
.entry-content h3 { font-size: clamp(1.4rem, 2.2vw, 1.75rem); margin-top: 1.8em; }
.entry-content h2:first-child, .entry-content h3:first-child { margin-top: 0; }
.entry-content ul, .entry-content ol { padding-left: 1.3em; }
.entry-content li { margin-bottom: .4em; }
.entry-content li::marker { color: var(--cognac); }
.entry-content a:not(.wp-block-button__link):not(.ac-btn):not(.ac-link):not(.ac-service) { color: var(--cognac); }
.entry-content img { height: auto; }
.entry-content figure { margin-block: 2rem; }
.entry-content figcaption { font-size: .85rem; color: var(--muted); text-align: center; margin-top: .6rem; }
.entry-content blockquote, .wp-block-quote {
	margin: 2rem auto; padding: 0 0 0 1.5rem; border-left: 1px solid var(--cognac);
	font-family: var(--serif); font-size: 1.35rem; line-height: 1.5;
}
.wp-block-quote cite { display: block; margin-top: .8rem; font-family: var(--sans); font-size: .72rem; font-style: normal; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.wp-block-separator { border-color: var(--line); }
.wp-block-buttons { margin-block: 2rem; }
.wp-block-image img { width: 100%; }
.wp-block-table table { width: 100%; border-collapse: collapse; }
.wp-block-table td, .wp-block-table th { border: 0; border-bottom: 1px solid var(--line); padding: .8em .6em; }
.has-ivory-background-color { background: var(--ivory); }
.has-sand-background-color { background: var(--sand); }
.has-ink-background-color { background: var(--ink); }

.ac-admin-note { max-width: 760px; margin: 0 auto 2rem; padding: 1rem 1.2rem; background: #fff4d6; border: 1px solid #e6cf8e; font-size: .9rem; }

/* FAQ / passaggi / testimonianze (pagine servizio) ----------------------- */
.ac-faq { margin-top: clamp(56px, 7vw, 96px); }
.ac-faq > h2 { text-align: center; margin-bottom: 1.6rem; }
.wp-block-details, .ac-faq__item { border-bottom: 1px solid var(--line); padding: 0; margin: 0; }
.ac-faq .wp-block-details:first-of-type { border-top: 1px solid var(--line); }
.wp-block-details summary {
	list-style: none; cursor: pointer;
	display: flex; justify-content: space-between; align-items: center; gap: 20px;
	padding: 22px 0; font-family: var(--serif); font-size: 1.35rem; font-weight: 500; line-height: 1.3;
}
.wp-block-details summary::-webkit-details-marker { display: none; }
.wp-block-details summary::after { content: "+"; font-family: var(--sans); font-weight: 300; font-size: 1.6rem; line-height: 1; transition: transform .3s var(--ease); flex: none; }
.wp-block-details[open] summary::after { transform: rotate(45deg); }
.wp-block-details > :not(summary) { color: var(--ink-2); }
.wp-block-details > p:last-child { padding-bottom: 1.4rem; }

.ac-steps { margin-top: clamp(48px, 6vw, 80px); max-width: 1240px !important; text-align: center; }
.ac-steps__grid { counter-reset: step; text-align: left; margin-top: 2rem; gap: 24px !important; }
.ac-steps__grid .wp-block-column { counter-increment: step; background: var(--paper); border: 1px solid var(--line); padding: 32px 26px; }
.ac-steps__grid .wp-block-column::before { content: counter(step, decimal-leading-zero); display: block; font-family: var(--serif); font-style: italic; font-size: 1.1rem; color: var(--cognac); margin-bottom: .8rem; }
.ac-steps__grid h3 { font-size: 1.5rem; margin: 0 0 .5rem; }
.ac-steps__grid p { font-size: .95rem; color: var(--muted); margin: 0; }

.ac-testimonials { margin-top: clamp(48px, 6vw, 80px); max-width: 1240px !important; }
.ac-testimonials > h2 { text-align: center; }
.ac-testimonials .wp-block-columns { gap: 24px !important; margin-top: 2rem; }
.ac-testimonials .wp-block-quote { margin: 0; height: 100%; border: 1px solid var(--line); background: var(--paper); padding: 32px 28px; font-size: 1.15rem; }
.ac-testimonials .wp-block-quote::before { content: "★★★★★"; display: block; color: var(--cognac); font-size: .8rem; letter-spacing: .3em; margin-bottom: 1rem; font-family: var(--sans); }

/* Apertura pagine servizio ---------------------------------------------- */
.ac-svc-hero { display: grid; grid-template-columns: 1fr 1fr; min-height: min(78vh, 720px); background: var(--sand); margin-bottom: clamp(48px, 6vw, 88px); }
.ac-svc-hero__media { position: relative; overflow: hidden; }
.ac-svc-hero__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ac-svc-hero__body { display: flex; flex-direction: column; justify-content: center; padding: clamp(40px, 6vw, 96px); }
.ac-svc-hero__title { font-size: clamp(2.6rem, 5.4vw, 4.8rem); font-weight: 400; line-height: 1; max-width: 12ch; margin-bottom: 2rem; }
.ac-svc-hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 32px; }
@media (max-width: 860px) {
	.ac-svc-hero { grid-template-columns: 1fr; min-height: 0; }
	.ac-svc-hero__media { aspect-ratio: 4 / 3; }
}

/* Modulo di richiesta ---------------------------------------------------- */
.ac-request { background: var(--paper); border-top: 1px solid var(--line); }
.ac-request__grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.ac-request__grid--page { padding-bottom: var(--section); }
.ac-request__intro > p { color: var(--ink-2); max-width: 460px; }
@media (max-width: 900px) { .ac-request__grid { grid-template-columns: 1fr; } }

.ac-contactbox { margin-top: 2.2rem; }
.ac-contactbox__list { list-style: none; padding: 0; margin: 0 0 2rem; display: grid; gap: 12px; }
.ac-contactbox__list li { display: flex; align-items: center; gap: 14px; }
.ac-contactbox__list .ac-icon { width: 20px; color: var(--cognac); flex: none; }
.ac-contactbox__list a { text-decoration: none; font-size: 1.05rem; }
.ac-contactbox__heading { font-family: var(--serif); font-size: 1.5rem; margin: 0 0 1rem; padding-top: 1.6rem; border-top: 1px solid var(--line); }
.ac-contactbox__store { display: grid; grid-template-columns: 1fr 1.3fr; gap: 24px; }
.ac-contactbox__store h3 { font-family: var(--sans); font-size: .72rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-bottom: .6rem; }
.ac-contactbox__store p { margin: 0; font-size: .95rem; }
.ac-contactbox__store a { text-decoration: none; }

.ac-form { display: grid; gap: 4px; }
.ac-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
@media (max-width: 600px) { .ac-form__row { grid-template-columns: 1fr; } }
.ac-field { margin: 0 0 18px; display: grid; gap: 6px; }
.ac-field label, .woocommerce form .form-row label {
	font-size: .72rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--muted);
}
.ac-field abbr { text-decoration: none; color: var(--cognac); }
.ac-field small { font-size: .8rem; color: var(--muted); }
.ac-field--check label { display: flex; gap: 12px; align-items: flex-start; text-transform: none; letter-spacing: 0; font-size: .88rem; font-weight: 400; color: var(--ink-2); }
.ac-field--check input { margin-top: 4px; accent-color: var(--ink); width: 16px; height: 16px; flex: none; }
.ac-field--check a { color: var(--cognac); }

input[type="text"], input[type="email"], input[type="tel"], input[type="number"], input[type="password"], input[type="url"], input[type="date"],
input[type="search"]:not(.ac-searchform input), textarea, select {
	width: 100%; min-height: 50px; padding: 12px 14px;
	background: #fff; color: var(--ink);
	border: 1px solid var(--line); border-radius: 0;
	font: inherit; font-size: 1rem;
	transition: border-color .2s;
	-webkit-appearance: none; appearance: none;
}
textarea { min-height: 140px; resize: vertical; }
select {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231b1714' stroke-width='1.4'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
	background-repeat: no-repeat; background-position: right 12px center; background-size: 18px; padding-right: 40px;
}
input:focus, textarea:focus, select:focus { border-color: var(--ink); outline: none; }
input[type="file"] { font-size: .9rem; padding: 12px; border: 1px dashed var(--line); background: #fff; width: 100%; }
input[type="file"]::file-selector-button { border: 1px solid var(--ink); background: var(--ink); color: var(--ivory); padding: .5em 1em; margin-right: 1em; font: inherit; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; cursor: pointer; }

.ac-form__msg { padding: 14px 18px; margin-bottom: 16px; font-size: .95rem; border-left: 3px solid; }
.ac-form__msg--success { background: #e8f0e9; border-color: var(--success); }
.ac-form__msg--error { background: #f6e6e3; border-color: var(--error); }

/* Articoli -------------------------------------------------------------- */
.ac-posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px 32px; padding-bottom: 48px; }
.ac-postcard__media { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--sand); margin-bottom: 1.2rem; }
.ac-postcard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.ac-postcard:hover img { transform: scale(1.04); }
.ac-postcard .ac-eyebrow { margin-bottom: .5rem; }
.ac-postcard__title { font-size: 1.6rem; }
.ac-postcard__title a { text-decoration: none; }
@media (max-width: 900px) { .ac-posts { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .ac-posts { grid-template-columns: 1fr; } }
.ac-single__media { margin: 0 auto 48px; max-width: 1240px; }
.ac-single__media img { width: 100%; }
.nav-links { display: flex; justify-content: space-between; gap: 24px; max-width: 760px; margin: 0 auto var(--section); padding-top: 32px; border-top: 1px solid var(--line); }
.nav-links a { text-decoration: none; font-family: var(--serif); font-size: 1.2rem; }
.nav-links .ac-eyebrow { display: block; margin-bottom: 4px; }
.ac-pagination .nav-links, .woocommerce-pagination ul { justify-content: center; border: 0; }
.page-numbers { display: inline-grid; place-items: center; min-width: 44px; height: 44px; padding: 0 8px; text-decoration: none; border: 1px solid transparent; }
.page-numbers.current { border-color: var(--ink); }
a.page-numbers:hover { border-color: var(--line); }
.ac-comments { max-width: 760px; margin: 0 auto var(--section); }

.ac-empty, .ac-404 { text-align: center; padding-block: var(--section); max-width: 640px; margin-inline: auto; }
.ac-404__mark { width: 56px; height: auto; margin: 0 auto 2rem; color: var(--cognac); }
.ac-404 .ac-searchform { margin: 2rem 0 2.4rem; }

/* Rassicurazioni + footer ------------------------------------------------ */
.ac-reassure { border-top: 1px solid var(--line); background: var(--paper); }
.ac-reassure__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.ac-reassure__grid > div { display: flex; align-items: center; justify-content: center; gap: 14px; padding: 28px 12px; font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; }
.ac-reassure__grid > div + div { border-left: 1px solid var(--line); }
.ac-reassure .ac-icon { width: 24px; height: 24px; color: var(--cognac); flex: none; }
@media (max-width: 900px) {
	.ac-reassure__grid { grid-template-columns: 1fr 1fr; }
	.ac-reassure__grid > div:nth-child(3) { border-left: 0; }
	.ac-reassure__grid > div:nth-child(n+3) { border-top: 1px solid var(--line); }
	.ac-reassure__grid > div { justify-content: flex-start; font-size: .66rem; padding: 20px 8px; }
}

.ac-footer { background: var(--ink); color: rgba(247, 243, 238, .78); font-size: .95rem; }
.ac-footer a { text-decoration: none; }
.ac-footer a:hover { color: #fff; }
.ac-footer__top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.1fr; gap: 48px; padding-block: clamp(56px, 7vw, 96px); }
.ac-footer__logo { display: inline-flex; align-items: center; gap: 14px; color: var(--ivory); margin-bottom: 1.8rem; }
.ac-footer__logo:hover { color: var(--ivory); }
.ac-footer__logo .ac-logo__mark { height: 46px; }
.ac-footer__logo .ac-logo__svg { width: 220px; }
.ac-footer__brand .ac-footer__title { margin-top: .4rem; }
.ac-footer__brand p { max-width: 340px; font-size: .92rem; }
.ac-footer__title { font-family: var(--sans); font-size: .72rem; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: #c9a27c; margin-bottom: 1.2rem; }
.ac-footer__menu { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ac-social { list-style: none; margin: 0; padding: 0; display: flex; gap: 6px; }
.ac-social a { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid rgba(247, 243, 238, .22); border-radius: 50%; transition: border-color .3s, background .3s; }
.ac-social a:hover { border-color: var(--ivory); background: var(--ivory); color: var(--ink); }
.ac-social .ac-icon { width: 18px; height: 18px; }
.ac-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; padding-block: 24px; border-top: 1px solid rgba(247, 243, 238, .14); font-size: .78rem; color: rgba(247, 243, 238, .55); }
.ac-footer__bottom p { margin: 0; }
.ac-footer__legal { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 24px; }
@media (max-width: 1000px) { .ac-footer__top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .ac-footer__top { grid-template-columns: 1fr; gap: 36px; } }

/* Movimento ridotto ------------------------------------------------------ */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* Chi siamo / Custom ----------------------------------------------------- */
.ac-about { gap: clamp(32px, 6vw, 96px) !important; align-items: flex-start; margin-bottom: clamp(48px, 6vw, 88px); }
.ac-about h2 { margin-top: 0; font-size: clamp(2rem, 3.6vw, 2.9rem); font-weight: 400; }
.ac-video-embed { position: relative; max-width: 360px; margin-inline: auto; aspect-ratio: 9 / 16; background: var(--ink); }
.ac-video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; }
.ac-gallery.wp-block-gallery { gap: 12px !important; }
.ac-gallery.wp-block-gallery .wp-block-image img { aspect-ratio: 4 / 5; object-fit: cover; }
.ac-examples { margin-top: clamp(48px, 6vw, 80px); max-width: 1240px !important; }
.ac-examples > h2 { text-align: center; }
.ac-beforeafter { gap: 32px !important; margin-top: 2rem; }
.ac-beforeafter .wp-block-columns { gap: 10px !important; margin: 0; }
.ac-beforeafter figure { margin: 0 !important; position: relative; }
.ac-beforeafter img { aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }
.ac-beforeafter figcaption {
	position: absolute; left: 10px; top: 10px; margin: 0 !important;
	background: var(--ivory); color: var(--ink); padding: 4px 10px;
	font-size: .64rem !important; font-weight: 500; letter-spacing: .2em; text-transform: uppercase;
}
