/*
Theme Name: Traslochi Di Caprio
Theme URI: https://www.dicapriotraslochi.it
Author: Traslochi Di Caprio
Description: Tema a blocchi leggero per Traslochi Di Caprio (Casapulla, Caserta). Colori del logo, nessun page builder, nessun jQuery, nessun font esterno, dati strutturati MovingCompany e FAQ integrati.
Version: 1.9.1
Requires at least: 6.6
Tested up to: 7.1
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: dicaprio-traslochi
*/

/* ---------- Base ---------- */
html { scroll-behavior: smooth; }
:where(h1, h2, h3, [id]) { scroll-margin-top: 96px; }
img { height: auto; max-width: 100%; }

/* ---------- Header ---------- */
.dc-header { position: sticky; top: 0; z-index: 50; border-bottom: 4px solid var(--wp--preset--color--yellow); box-shadow: 0 2px 12px rgba(19, 27, 51, .06); }
.admin-bar .dc-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .dc-header { top: 46px; } }
.dc-logo img { aspect-ratio: 250 / 124; width: 150px; }
@media (max-width: 600px) { .dc-logo img { width: 116px; } .dc-header .dc-header-phone { display: none; } }
.dc-header .wp-block-navigation a { text-decoration: none; }
.dc-header .wp-block-navigation a:hover { color: var(--wp--preset--color--navy); text-decoration: underline; text-decoration-color: var(--wp--preset--color--yellow); text-decoration-thickness: 3px; text-underline-offset: 6px; }

/* ---------- Hero ---------- */
.dc-hero { position: relative; overflow: hidden; }
.dc-hero::before, .dc-hero::after { content: ""; position: absolute; top: -10%; bottom: -10%; background: var(--wp--preset--color--yellow); transform: skewX(-14deg); pointer-events: none; }
.dc-hero::before { right: 6%; width: 14px; }
.dc-hero::after { right: calc(6% + 30px); width: 5px; opacity: .6; }
@media (max-width: 781px) { .dc-hero::before, .dc-hero::after { display: none; } }
.dc-hero > * { position: relative; z-index: 1; }
.dc-badges { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; }
.dc-badges li::before, .dc-checks li::before { content: "✓"; color: var(--wp--preset--color--yellow); font-weight: 800; margin-right: .45rem; }
.dc-checks { list-style: none; padding-left: 0; }
.dc-checks li { padding: .35rem 0; }
.dc-checks--dark li::before { color: var(--wp--preset--color--navy); }

/* ---------- Cards ---------- */
.dc-card { background: var(--wp--preset--color--white); border: 1px solid #E6E3DA; border-top: 5px solid var(--wp--preset--color--yellow); border-radius: 12px; box-shadow: 0 6px 18px rgba(19, 27, 51, .06); height: 100%; }
.dc-card h3 { margin-top: 0; }
.dc-card--featured { background: var(--wp--preset--color--navy); color: var(--wp--preset--color--white); border-color: var(--wp--preset--color--navy); border-top-color: var(--wp--preset--color--yellow); }
.dc-card--featured h3 { color: var(--wp--preset--color--yellow); }
.dc-tag { display: inline-block; background: var(--wp--preset--color--yellow); color: var(--wp--preset--color--navy); font-size: .75rem; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; padding: .2rem .6rem; border-radius: 999px; }
.dc-num { font-size: 2.5rem; font-weight: 800; font-style: italic; line-height: 1; color: var(--wp--preset--color--yellow); -webkit-text-stroke: 1px var(--wp--preset--color--navy); margin: 0; }

/* ---------- FAQ ---------- */
.dc-faq .wp-block-details { border-bottom: 1px solid #E6E3DA; padding: 1rem 0; }
.dc-faq summary { font-weight: 700; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.dc-faq summary::-webkit-details-marker { display: none; }
.dc-faq summary::after { content: "+"; font-weight: 800; color: var(--wp--preset--color--navy); background: var(--wp--preset--color--yellow); border-radius: 50%; width: 1.6rem; height: 1.6rem; flex: 0 0 1.6rem; display: grid; place-items: center; }
.dc-faq details[open] summary::after { content: "–"; }

/* ---------- Footer ---------- */
.dc-footer a { color: inherit; }
.dc-footer a:hover { color: var(--wp--preset--color--yellow); }

/* ---------- Barra fissa mobile ---------- */
.dc-mobilebar { display: none; }
@media (max-width: 782px) {
	.dc-mobilebar { display: grid; grid-template-columns: repeat(3, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: var(--wp--preset--color--navy); border-top: 3px solid var(--wp--preset--color--yellow); padding-bottom: env(safe-area-inset-bottom); }
	.dc-mobilebar a { color: #fff; text-align: center; padding: .8rem .25rem; font-weight: 700; font-size: .9rem; text-decoration: none; }
	.dc-mobilebar a:last-child { background: var(--wp--preset--color--yellow); color: var(--wp--preset--color--navy); }
	body { padding-bottom: 64px; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* ---------- Foto ---------- */
.dc-hero-photo { position: relative; margin: 0; }
.dc-hero-photo img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 14px; box-shadow: 14px 14px 0 var(--wp--preset--color--yellow); }
.dc-hero-photo figcaption { position: absolute; left: -12px; bottom: 22px; background: var(--wp--preset--color--yellow); color: var(--wp--preset--color--navy); border-radius: 10px; padding: .6rem 1rem; box-shadow: 0 8px 20px rgba(0, 0, 0, .25); display: flex; flex-direction: column; line-height: 1.25; font-size: .9rem; }
.dc-hero-photo figcaption a { color: var(--wp--preset--color--navy); font-weight: 800; font-size: 1.3rem; text-decoration: none; }
@media (max-width: 781px) { .dc-hero-photo { margin-top: 1.5rem; margin-right: 14px; } .dc-hero-photo figcaption { left: 10px; } }
.dc-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 1rem; max-width: 1200px; margin: 2rem auto 0; }
.dc-gallery figure { margin: 0; position: relative; overflow: hidden; border-radius: 12px; background: #1e2745; }
.dc-gallery img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .4s ease; }
.dc-gallery figure:hover img { transform: scale(1.04); }
.dc-gallery figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 1.6rem .9rem .7rem; font-weight: 700; font-size: .95rem; color: #fff; background: linear-gradient(transparent, rgba(19, 27, 51, .9)); }
.dc-side-photo { margin: 0; }
.dc-side-photo img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 14px; border-bottom: 6px solid var(--wp--preset--color--yellow); }
@media (max-width: 781px) { .dc-side-photo { max-width: 320px; margin: 0 auto; } }
@media (prefers-reduced-motion: reduce) { .dc-gallery img { transition: none; } }

/* =========================================================
   Icone
   ========================================================= */
.dc-svg { width: 100%; height: 100%; display: block; }
.dc-icon { display: inline-grid; place-items: center; width: 56px; height: 56px; padding: 13px; border-radius: 16px; background: var(--wp--preset--color--navy); color: var(--wp--preset--color--yellow); margin-bottom: .25rem; transition: transform .35s cubic-bezier(.34, 1.56, .64, 1), background-color .3s, color .3s; }
.dc-card:hover .dc-icon { transform: translateY(-4px) rotate(-6deg) scale(1.08); background: var(--wp--preset--color--yellow); color: var(--wp--preset--color--navy); }
.dc-step-icon { position: relative; width: 72px; height: 72px; padding: 18px; border-radius: 50%; background: var(--wp--preset--color--yellow); color: var(--wp--preset--color--navy); margin-bottom: .5rem; }
.dc-step-n { position: absolute; top: -6px; right: -8px; background: var(--wp--preset--color--navy); color: var(--wp--preset--color--yellow); font-weight: 800; font-style: italic; font-size: .8rem; border-radius: 999px; padding: .15rem .5rem; border: 2px solid #fff; }
.dc-step:hover .dc-step-icon { animation: dc-wiggle .6s ease; }

/* =========================================================
   Barra dei numeri
   ========================================================= */
.dc-stats { padding: 2rem 24px !important; }
.dc-stats-list { list-style: none; margin: 0 auto; padding: 0; max-width: 1200px; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1.25rem; }
.dc-stats-list li { display: flex; align-items: center; gap: .85rem; line-height: 1.2; }
.dc-stats-list strong { font-size: 2.6rem; font-weight: 800; font-style: italic; line-height: 1; min-width: 2.4ch; font-variant-numeric: tabular-nums; }
.dc-stats-list span:not(.dc-count) { font-weight: 600; font-size: .95rem; }

/* =========================================================
   Strada con il camion in movimento
   ========================================================= */
.dc-road { position: relative; height: 46px; background: var(--wp--preset--color--navy); overflow: hidden; margin: 0 !important; max-width: none !important; }
.dc-road::before { content: ""; position: absolute; left: 0; right: 0; bottom: 12px; border-bottom: 3px dashed rgba(242, 201, 74, .55); }
.dc-truck { position: absolute; bottom: 14px; left: 0; width: 38px; height: 38px; color: var(--wp--preset--color--yellow); animation: dc-drive 14s linear infinite; }
.dc-truck .dc-svg { animation: dc-bump .5s ease-in-out infinite alternate; }

/* =========================================================
   Animazioni d'ingresso (hero) ed effetti
   ========================================================= */
@keyframes dc-up { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes dc-in-right { from { opacity: 0; transform: translateX(60px) rotate(2deg); } to { opacity: 1; transform: none; } }
@keyframes dc-pop { 0% { opacity: 0; transform: scale(.6); } 70% { transform: scale(1.06); } 100% { opacity: 1; transform: none; } }
@keyframes dc-stripe { from { transform: translateY(-110%) skewX(-14deg); } to { transform: translateY(0) skewX(-14deg); } }
@keyframes dc-underline { from { background-size: 0 .18em; } to { background-size: 100% .18em; } }
@keyframes dc-drive { from { transform: translateX(-60px); } to { transform: translateX(calc(100vw + 60px)); } }
@keyframes dc-bump { from { transform: translateY(0); } to { transform: translateY(-2px); } }
@keyframes dc-shine { 0%, 70% { transform: translateX(-120%) skewX(-20deg); } 100% { transform: translateX(260%) skewX(-20deg); } }
@keyframes dc-ring { 0% { box-shadow: 0 0 0 0 rgba(19, 27, 51, .45); } 100% { box-shadow: 0 0 0 16px rgba(19, 27, 51, 0); } }
@keyframes dc-wiggle { 0%, 100% { transform: rotate(0); } 25% { transform: rotate(-8deg); } 75% { transform: rotate(8deg); } }
@keyframes dc-float { from { transform: translateY(0); } to { transform: translateY(-8px); } }

.dc-hero .wp-block-column:first-child > * { animation: dc-up .7s cubic-bezier(.2, .7, .2, 1) both; }
.dc-hero .wp-block-column:first-child > :nth-child(2) { animation-delay: .1s; }
.dc-hero .wp-block-column:first-child > :nth-child(3) { animation-delay: .2s; }
.dc-hero .wp-block-column:first-child > :nth-child(4) { animation-delay: .3s; }
.dc-hero .wp-block-column:first-child > :nth-child(5) { animation-delay: .4s; }
.dc-hero h1 mark { background: linear-gradient(var(--wp--preset--color--yellow), var(--wp--preset--color--yellow)) no-repeat left 100% / 100% .18em; padding-bottom: .05em; animation: dc-underline .8s .9s ease-out both; }
.dc-hero-photo { animation: dc-in-right .9s .25s cubic-bezier(.2, .7, .2, 1) both; }
.dc-hero-photo figcaption { animation: dc-pop .6s 1s both, dc-float 3s 1.6s ease-in-out infinite alternate; }
.dc-hero::before, .dc-hero::after { animation: dc-stripe 1s .2s cubic-bezier(.2, .7, .2, 1) both; }
.dc-hero::after { animation-delay: .35s; }

.dc-shine .wp-block-button__link, .dc-header .wp-block-button:last-child .wp-block-button__link { position: relative; overflow: hidden; }
.dc-shine .wp-block-button__link::after, .dc-header .wp-block-button:last-child .wp-block-button__link::after { content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 40%; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .55), transparent); animation: dc-shine 4s 1.5s ease-in-out infinite; }
.dc-pulse .wp-block-button__link { animation: dc-ring 1.8s ease-out infinite; }
.wp-block-button__link { transition: transform .2s ease, box-shadow .2s ease, background-color .2s; }
.wp-block-button__link:hover { transform: translateY(-2px); box-shadow: 0 8px 18px rgba(19, 27, 51, .18); }
.dc-card { transition: transform .3s ease, box-shadow .3s ease; }
.dc-card:hover { transform: translateY(-6px); box-shadow: 0 16px 32px rgba(19, 27, 51, .12); }
.dc-mobilebar a:nth-child(2) { animation: dc-ring 2.2s 2s ease-out infinite; }

/* Header compatto durante lo scorrimento */
.dc-header, .dc-logo img { transition: padding .3s ease, width .3s ease; }
.dc-scrolled .dc-header { padding-top: 4px !important; padding-bottom: 4px !important; }
.dc-scrolled .dc-logo img { width: 112px; }

/* Comparsa allo scorrimento (solo con JavaScript attivo) */
.dc-js .dc-reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); transition-delay: var(--dc-delay, 0ms); }
.dc-js .dc-reveal.dc-in { opacity: 1; transform: none; }
.dc-js .dc-card.dc-reveal.dc-in:hover { transform: translateY(-6px); transition-delay: 0ms; }

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; }
	.dc-truck { display: none; }
}

/* Formule: tre colonne che riempiono tutta la larghezza */
#formule .wp-block-group.alignwide { grid-template-columns: repeat(auto-fit, minmax(min(16rem, 100%), 1fr)) !important; }
@media (max-width: 600px) {
	.dc-stats-list { grid-template-columns: 1fr 1fr; gap: 1.25rem 1rem; }
	.dc-stats-list li { flex-direction: column; align-items: flex-start; gap: .3rem; }
	.dc-stats-list strong { font-size: 2.2rem; }
}

/* =========================================================
   Menu bloccato in alto (anche dentro il contenitore di WordPress)
   ========================================================= */
.wp-site-blocks > header.wp-block-template-part { position: sticky; top: 0; z-index: 100; }
.admin-bar .wp-site-blocks > header.wp-block-template-part { top: 32px; }
@media (max-width: 782px) { .admin-bar .wp-site-blocks > header.wp-block-template-part { top: 46px; } }
.wp-site-blocks > header.wp-block-template-part .dc-header { position: relative; top: 0; }
.wp-site-blocks > * + * { margin-block-start: 0; }

/* Sottomenu */
.dc-header .wp-block-navigation__submenu-container { border: 0 !important; border-top: 3px solid var(--wp--preset--color--yellow) !important; border-radius: 0 0 10px 10px; box-shadow: 0 14px 30px rgba(19, 27, 51, .15); padding: .4rem 0 !important; min-width: 260px !important; }
.dc-header .wp-block-navigation__submenu-container a { padding: .45rem 1rem !important; }
.dc-header .wp-block-navigation__submenu-container a:hover { background: var(--wp--preset--color--sand); text-decoration: none; }

/* Schede servizio della home: tutta la scheda è cliccabile */
.dc-card { position: relative; }
.dc-card h3 a { color: inherit; text-decoration: none; }
.dc-stretched::after { content: ""; position: absolute; inset: 0; border-radius: 12px; }
.dc-card h3 a::before { content: "→"; position: absolute; right: 1.25rem; bottom: 1rem; color: var(--wp--preset--color--navy); font-weight: 800; transition: transform .3s; }
.dc-card:hover h3 a::before { transform: translateX(6px); }

/* =========================================================
   Pagine interne
   ========================================================= */
.dc-page-hero { position: relative; overflow: hidden; }
.dc-page-hero::before { content: ""; position: absolute; right: 8%; top: -20%; bottom: -20%; width: 12px; background: var(--wp--preset--color--yellow); transform: skewX(-14deg); animation: dc-stripe 1s .1s cubic-bezier(.2, .7, .2, 1) both; }
.dc-page-hero > * { position: relative; animation: dc-up .7s cubic-bezier(.2, .7, .2, 1) both; }
.dc-page-hero > :nth-child(2) { animation-delay: .1s; }
.dc-page-hero > :nth-child(3) { animation-delay: .2s; }
.dc-page-hero h1 { color: #fff; }
.dc-crumbs a { color: var(--wp--preset--color--yellow); }
.dc-page-lead { opacity: .92; max-width: 46rem; }
.dc-page-content { padding-top: var(--wp--preset--spacing--60); }
.dc-page-content h2 { margin-top: var(--wp--preset--spacing--60); }
.dc-page-content > h2:first-child { margin-top: 0; }
.dc-page-content .wp-block-image img { border-radius: 14px; }
.dc-page-content .wp-block-details { border-bottom: 1px solid #E6E3DA; padding: 1rem 0; }
.dc-page-content .wp-block-details summary { font-weight: 700; cursor: pointer; }
.dc-box { background: var(--wp--preset--color--sand); border-left: 5px solid var(--wp--preset--color--yellow); border-radius: 0 12px 12px 0; padding: 1.25rem 1.5rem !important; }

/* Mini schede servizi (link) */
.dc-mini-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); gap: 1rem; max-width: 1200px; margin: 1.5rem auto 0; }
.dc-mini-card { display: flex; flex-direction: column; gap: .35rem; padding: 1.25rem; background: #fff; border: 1px solid #E6E3DA; border-radius: 12px; text-decoration: none; color: var(--wp--preset--color--ink); transition: transform .3s, box-shadow .3s, border-color .3s; }
.dc-mini-card strong { color: var(--wp--preset--color--navy); font-size: 1.05rem; }
.dc-mini-card span:last-child { font-size: .92rem; color: var(--wp--preset--color--muted); }
.dc-mini-card:hover { transform: translateY(-4px); border-color: var(--wp--preset--color--yellow); box-shadow: 0 12px 26px rgba(19, 27, 51, .1); }
.dc-mini-card:hover .dc-icon { background: var(--wp--preset--color--yellow); color: var(--wp--preset--color--navy); transform: rotate(-6deg) scale(1.06); }

/* Zone */
.dc-zone { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 2rem; max-width: 1200px; margin: 1.5rem auto 0; }
.dc-zone-main { list-style: none; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; }
.dc-zone-main a { display: block; padding: .6rem .8rem; background: #fff; border: 1px solid #E6E3DA; border-left: 4px solid var(--wp--preset--color--yellow); border-radius: 8px; font-weight: 700; text-decoration: none; transition: background-color .2s, transform .2s; }
.dc-zone-main a:hover { background: var(--wp--preset--color--yellow); transform: translateX(3px); }
.dc-zone-more { font-size: .92rem; color: var(--wp--preset--color--muted); }
@media (max-width: 480px) { .dc-zone-main { grid-template-columns: 1fr; } }

/* Modulo preventivo */
.dc-form { background: #fff; border: 1px solid #E6E3DA; border-top: 5px solid var(--wp--preset--color--yellow); border-radius: 14px; padding: 1.5rem; box-shadow: 0 10px 30px rgba(19, 27, 51, .08); }
.dc-form fieldset { border: 0; padding: 0; margin: 0 0 1rem; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: .9rem; }
.dc-form legend { font-weight: 800; color: var(--wp--preset--color--navy); font-size: 1.15rem; margin-bottom: .6rem; }
.dc-form label { display: flex; flex-direction: column; gap: .3rem; font-weight: 600; font-size: .92rem; color: var(--wp--preset--color--navy); }
.dc-form-wide { grid-column: 1 / -1; }
.dc-form input, .dc-form select, .dc-form textarea { font: inherit; font-weight: 400; color: var(--wp--preset--color--ink); padding: .7rem .8rem; border: 1.5px solid #D5D2C8; border-radius: 8px; background: #fff; width: 100%; box-sizing: border-box; }
.dc-form input:focus, .dc-form select:focus, .dc-form textarea:focus { outline: none; border-color: var(--wp--preset--color--navy); box-shadow: 0 0 0 3px rgba(242, 201, 74, .5); }
.dc-form-privacy { font-size: .85rem; color: var(--wp--preset--color--muted); }
.dc-form-error { color: #B42318; font-weight: 700; }
.dc-form-actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.dc-btn { display: inline-flex; align-items: center; gap: .5rem; font: inherit; font-weight: 700; border: 0; border-radius: 8px; padding: .85rem 1.4rem; cursor: pointer; transition: transform .2s, box-shadow .2s; }
.dc-btn .dc-svg { width: 20px; height: 20px; }
.dc-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 18px rgba(19, 27, 51, .18); }
.dc-btn-wa { background: var(--wp--preset--color--yellow); color: var(--wp--preset--color--navy); }
.dc-btn-mail { background: var(--wp--preset--color--navy); color: #fff; }
.dc-zone-more a { color: var(--wp--preset--color--navy); }

/* =========================================================
   v1.5 – Sezioni più curate: passaggi, zone, domande frequenti
   ========================================================= */
.dc-eyebrow { display: inline-block; margin: 0 auto .4rem !important; font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--wp--preset--color--navy); background: rgba(242, 201, 74, .35); padding: .3rem .8rem; border-radius: 999px; }
.has-text-align-center.dc-eyebrow { display: table; }

/* Passaggi: percorso collegato */
.dc-timeline { list-style: none; margin: 2.5rem auto 0; padding: 0; max-width: 1200px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; position: relative; counter-reset: none; }
.dc-timeline::before { content: ""; position: absolute; top: 46px; left: 12.5%; right: 12.5%; border-top: 3px dashed var(--wp--preset--color--yellow); z-index: 0; }
.dc-timeline .dc-step { position: relative; z-index: 1; text-align: center; background: #fff; border: 1px solid #ECE9E0; border-radius: 18px; padding: 0 1.25rem 1.5rem; margin-top: 10px; box-shadow: 0 10px 28px rgba(19, 27, 51, .06); transition: transform .3s ease, box-shadow .3s ease; }
.dc-timeline .dc-step:hover { transform: translateY(-6px); box-shadow: 0 18px 36px rgba(19, 27, 51, .12); }
.dc-timeline .dc-step-icon { width: 84px; height: 84px; padding: 22px; margin: -10px auto 1rem; border: 6px solid #fff; box-shadow: 0 6px 16px rgba(242, 201, 74, .45); box-sizing: border-box; }
.dc-timeline h3 { font-size: 1.15rem; margin: 0 0 .4rem; }
.dc-timeline p { margin: 0; color: var(--wp--preset--color--muted); font-size: .95rem; }
.dc-timeline .dc-step:last-child .dc-step-icon { background: var(--wp--preset--color--navy); color: var(--wp--preset--color--yellow); box-shadow: 0 6px 16px rgba(19, 27, 51, .35); }
.dc-timeline .dc-step:last-child .dc-step-n { background: var(--wp--preset--color--yellow); color: var(--wp--preset--color--navy); }
@media (max-width: 900px) {
	.dc-timeline { grid-template-columns: 1fr 1fr; row-gap: 2.5rem; }
	.dc-timeline::before { display: none; }
}
@media (max-width: 540px) {
	.dc-timeline { grid-template-columns: 1fr; gap: 1.25rem; padding-left: 28px; }
	.dc-timeline::before { display: block; top: 20px; bottom: 20px; left: 12px; right: auto; border-top: 0; border-left: 3px dashed var(--wp--preset--color--yellow); }
	.dc-timeline .dc-step { text-align: left; display: grid; grid-template-columns: 64px 1fr; column-gap: 1rem; align-items: start; padding: 1rem; margin: 0; }
	.dc-timeline .dc-step-icon { grid-row: span 2; width: 64px; height: 64px; padding: 16px; margin: 0; border-width: 4px; }
	.dc-timeline h3 { margin-top: .3rem; }
}

/* Zone: schede per provincia con etichette cliccabili */
.dc-areas { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 1.5rem; max-width: 1200px; margin: 2rem auto 0; }
.dc-area-card { background: #fff; border-radius: 18px; padding: 1.5rem; border: 1px solid #ECE9E0; box-shadow: 0 10px 28px rgba(19, 27, 51, .06); }
.dc-area-head { display: flex; align-items: center; gap: .8rem; margin-bottom: 1rem; }
.dc-area-head h3 { margin: 0; font-size: 1.25rem; }
.dc-area-head .dc-icon { width: 46px; height: 46px; padding: 10px; border-radius: 12px; margin: 0; }
.dc-chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.dc-chips li { margin: 0; }
.dc-chips a, .dc-chips li:not(:has(a)) { display: inline-flex; align-items: center; gap: .35rem; padding: .5rem .9rem; border-radius: 999px; background: var(--wp--preset--color--sand); border: 1px solid #E6E3DA; color: var(--wp--preset--color--navy); font-weight: 600; font-size: .93rem; text-decoration: none; transition: background-color .2s, transform .2s, box-shadow .2s, border-color .2s; }
.dc-chips a::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--wp--preset--color--yellow); box-shadow: 0 0 0 2px rgba(19, 27, 51, .15); }
.dc-chips a:hover { background: var(--wp--preset--color--yellow); border-color: var(--wp--preset--color--yellow); transform: translateY(-2px); box-shadow: 0 6px 14px rgba(242, 201, 74, .45); }
.dc-chips a:hover::before { background: var(--wp--preset--color--navy); }
.dc-areas-more { text-align: center; margin-top: 1.75rem !important; }
.dc-areas-more a { display: inline-flex; align-items: center; gap: .5rem; font-weight: 700; color: var(--wp--preset--color--navy); text-decoration: none; border-bottom: 3px solid var(--wp--preset--color--yellow); padding-bottom: 2px; }
.dc-areas-more .dc-svg { width: 18px; height: 18px; transition: transform .25s; }
.dc-areas-more a:hover .dc-svg { transform: translateX(5px); }

/* Domande frequenti: due colonne, schede ad apertura animata */
.dc-faq-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 3rem; max-width: 1200px; margin: 0 auto; align-items: start; }
.dc-faq-intro { position: sticky; top: 120px; }
.dc-faq-intro h2 { margin: .3rem 0 .8rem; }
.dc-faq-intro > p:not(.dc-eyebrow) { color: var(--wp--preset--color--muted); }
.dc-faq-card { margin-top: 1.5rem; background: var(--wp--preset--color--navy); color: #fff; border-radius: 18px; padding: 1.5rem; display: flex; flex-direction: column; gap: .5rem; position: relative; overflow: hidden; }
.dc-faq-card::after { content: ""; position: absolute; right: -30px; top: -30px; width: 120px; height: 120px; border-radius: 50%; background: var(--wp--preset--color--yellow); opacity: .15; }
.dc-faq-card .dc-icon { background: var(--wp--preset--color--yellow); color: var(--wp--preset--color--navy); width: 48px; height: 48px; padding: 11px; margin: 0; }
.dc-faq-card strong { font-size: 1.2rem; color: #fff; }
.dc-faq-card > span:not(.dc-icon) { font-size: .88rem; opacity: .8; }
.dc-faq-card .dc-btn { margin-top: .5rem; text-decoration: none; justify-content: center; }
.dc-faq-wa { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; color: var(--wp--preset--color--yellow); font-weight: 700; text-decoration: none; padding: .4rem; }
.dc-faq-wa .dc-svg { width: 20px; height: 20px; }
.dc-faq-list { display: flex; flex-direction: column; gap: .75rem; }
.dc-q { background: #fff; border: 1px solid #ECE9E0; border-radius: 14px; box-shadow: 0 4px 14px rgba(19, 27, 51, .04); transition: box-shadow .3s, border-color .3s; overflow: hidden; }
.dc-q:hover { border-color: var(--wp--preset--color--yellow); }
.dc-q[open] { border-color: var(--wp--preset--color--yellow); box-shadow: 0 14px 30px rgba(19, 27, 51, .1); }
.dc-faq .dc-q summary { display: flex; align-items: center; gap: 1rem; padding: 1.1rem 1.25rem; cursor: pointer; list-style: none; font-weight: 700; color: var(--wp--preset--color--navy); }
.dc-faq .dc-q summary::after { content: none; }
.dc-q summary::-webkit-details-marker { display: none; }
.dc-q-n { flex: 0 0 auto; font-size: .8rem; font-weight: 800; font-style: italic; color: var(--wp--preset--color--navy); background: var(--wp--preset--color--sand); border-radius: 8px; padding: .3rem .5rem; transition: background-color .3s; }
.dc-q[open] .dc-q-n { background: var(--wp--preset--color--yellow); }
.dc-q-t { flex: 1; }
.dc-q-i { flex: 0 0 32px; height: 32px; border-radius: 50%; background: var(--wp--preset--color--sand); position: relative; transition: background-color .3s, transform .35s ease; }
.dc-q-i::before, .dc-q-i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; background: var(--wp--preset--color--navy); border-radius: 2px; transform: translate(-50%, -50%); transition: transform .35s ease; }
.dc-q-i::after { transform: translate(-50%, -50%) rotate(90deg); }
.dc-q[open] .dc-q-i { background: var(--wp--preset--color--navy); transform: rotate(180deg); }
.dc-q[open] .dc-q-i::before, .dc-q[open] .dc-q-i::after { background: var(--wp--preset--color--yellow); }
.dc-q[open] .dc-q-i::after { transform: translate(-50%, -50%) rotate(0deg); }
.dc-q-a { padding: 0 1.25rem 1.2rem 4.1rem; color: var(--wp--preset--color--ink); }
.dc-q-a p { margin: 0; }
.dc-q[open] .dc-q-a { animation: dc-q-open .4s ease both; }
@keyframes dc-q-open { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
@media (max-width: 900px) {
	.dc-faq-grid { grid-template-columns: 1fr; gap: 2rem; }
	.dc-faq-intro { position: static; }
	.dc-q-a { padding-left: 1.25rem; }
}

/* Domande frequenti nelle pagine interne: stesso stile a schede */
.dc-page-content .wp-block-details { background: #fff; border: 1px solid #ECE9E0 !important; border-radius: 14px; padding: 0 !important; margin-top: .75rem; box-shadow: 0 4px 14px rgba(19, 27, 51, .04); overflow: hidden; transition: box-shadow .3s, border-color .3s; }
.dc-page-content .wp-block-details[open] { border-color: var(--wp--preset--color--yellow) !important; box-shadow: 0 14px 30px rgba(19, 27, 51, .1); }
.dc-page-content .wp-block-details summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.1rem 1.25rem; color: var(--wp--preset--color--navy); }
.dc-page-content .wp-block-details summary::-webkit-details-marker { display: none; }
.dc-page-content .wp-block-details summary::after { content: "+"; flex: 0 0 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; background: var(--wp--preset--color--sand); transition: transform .35s, background-color .3s; }
.dc-page-content .wp-block-details[open] summary::after { content: "–"; background: var(--wp--preset--color--yellow); transform: rotate(180deg); }
.dc-page-content .wp-block-details > :not(summary) { padding: 0 1.25rem 1.1rem; margin: 0; animation: dc-q-open .4s ease both; }

/* Elenco zone nelle pagine interne: stessi chip */
.dc-zone-more a { display: inline-block; padding: .15rem .55rem; margin: .1rem 0; border-radius: 999px; background: #fff; border: 1px solid #E6E3DA; text-decoration: none; font-weight: 600; font-size: .88rem; transition: background-color .2s; }
.dc-zone-more a:hover { background: var(--wp--preset--color--yellow); }
.dc-faq .dc-q summary::after, .dc-faq .dc-q[open] summary::after { content: none; display: none; }
.dc-faq-card::after { background: transparent; border: 16px solid rgba(242, 201, 74, .28); opacity: 1; width: 110px; height: 110px; }

/* =========================================================
   v1.6 – Pagine interne più curate
   ========================================================= */

/* Intestazione con foto */
.dc-page-hero { background-size: cover; background-position: center; padding-bottom: calc(var(--wp--preset--spacing--70) + 30px) !important; }
.dc-page-hero h1 { font-size: clamp(2rem, 4.5vw, 3.2rem); margin-top: .4rem; }
.dc-page-hero .dc-page-lead { max-width: 40rem; }
.dc-crumbs { opacity: .9; }
.dc-crumbs a { color: var(--wp--preset--color--yellow); text-decoration: none; font-weight: 600; }
.dc-crumbs span { margin: 0 .35rem; opacity: .6; }
.dc-ph-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }
.dc-ph-actions .dc-btn { text-decoration: none; }
.dc-btn-ghost { background: transparent; color: #fff; box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .8); }
.dc-btn-ghost:hover { background: #fff; color: var(--wp--preset--color--navy); }
.dc-ph-badges { list-style: none; margin: 1.5rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: .6rem; }
.dc-ph-badges li { display: inline-flex; align-items: center; gap: .45rem; padding: .45rem .85rem; border-radius: 999px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18); backdrop-filter: blur(4px); font-size: .9rem; font-weight: 600; }
.dc-ph-badges .dc-svg { width: 18px; height: 18px; color: var(--wp--preset--color--yellow); }
.dc-page-hero > .dc-ph-actions, .dc-page-hero > .dc-ph-badges { animation: dc-up .7s .3s cubic-bezier(.2, .7, .2, 1) both; }

/* Corpo pagina a due colonne */
.dc-page-body { position: relative; z-index: 2; margin-top: -30px !important; padding-bottom: var(--wp--preset--spacing--70); }
.dc-page-cols { gap: 2.5rem !important; align-items: flex-start !important; width: 100%; max-width: 1200px !important; margin: 0 auto !important; box-sizing: border-box; }
.dc-page-main { background: #fff; border-radius: 20px 20px 0 0; padding: 2.5rem 2.5rem 0; box-shadow: 0 -10px 30px rgba(19, 27, 51, .06); min-width: 0; }
.dc-page-content { padding-top: 0 !important; }
.dc-page-aside { position: sticky; top: 110px; }
@media (max-width: 1000px) {
	.dc-page-cols { flex-direction: column; }
	.dc-page-aside { position: static; width: 100%; flex-basis: auto !important; }
	.dc-page-main { padding: 1.75rem 1.25rem 0; border-radius: 16px 16px 0 0; }
}

/* Testi */
.dc-page-content > p.has-large-font-size:first-child { font-size: 1.2rem !important; line-height: 1.6; color: var(--wp--preset--color--navy); padding: 1.25rem 1.5rem; background: linear-gradient(90deg, rgba(242, 201, 74, .2), rgba(242, 201, 74, 0)); border-left: 5px solid var(--wp--preset--color--yellow); border-radius: 0 12px 12px 0; }
.dc-page-content h2 { position: relative; padding-top: 1.1rem; margin-top: 2.75rem !important; font-size: clamp(1.45rem, 2.6vw, 1.9rem); }
.dc-page-content h2::before { content: ""; position: absolute; top: 0; left: 0; width: 48px; height: 5px; border-radius: 5px; background: var(--wp--preset--color--yellow); }
.dc-page-content a:not(.dc-btn):not(.dc-mini-card):not(.wp-block-button__link) { color: var(--wp--preset--color--navy); text-decoration-color: var(--wp--preset--color--yellow); text-decoration-thickness: 3px; text-underline-offset: 4px; font-weight: 600; }
.dc-page-content a:not(.dc-btn):not(.dc-mini-card):not(.wp-block-button__link):hover { background: rgba(242, 201, 74, .3); }

/* Elenchi con spunta: schede */
.dc-page-content ul.dc-checks { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: .75rem; margin: 1.25rem 0; }
.dc-page-content ul.dc-checks li { position: relative; background: var(--wp--preset--color--sand); border: 1px solid #ECE9E0; border-radius: 12px; padding: .9rem 1rem .9rem 3.1rem; margin: 0; transition: transform .25s, box-shadow .25s, background-color .25s; }
.dc-page-content ul.dc-checks li::before { content: "✓"; position: absolute; left: .9rem; top: .85rem; width: 1.6rem; height: 1.6rem; border-radius: 50%; display: grid; place-items: center; background: var(--wp--preset--color--yellow); color: var(--wp--preset--color--navy); font-size: .85rem; margin: 0; }
.dc-page-content ul.dc-checks li:hover { background: #fff; transform: translateY(-3px); box-shadow: 0 10px 22px rgba(19, 27, 51, .08); }

/* Elenchi numerati: passaggi */
.dc-page-content ol.wp-block-list { list-style: none; counter-reset: dc-ol; padding: 0; margin: 1.25rem 0; display: grid; gap: .75rem; }
.dc-page-content ol.wp-block-list > li { counter-increment: dc-ol; position: relative; padding: 1rem 1.1rem 1rem 4rem; background: #fff; border: 1px solid #ECE9E0; border-radius: 14px; box-shadow: 0 4px 14px rgba(19, 27, 51, .04); }
.dc-page-content ol.wp-block-list > li::before { content: counter(dc-ol, decimal-leading-zero); position: absolute; left: 1rem; top: 50%; transform: translateY(-50%); width: 2.2rem; height: 2.2rem; border-radius: 10px; display: grid; place-items: center; background: var(--wp--preset--color--navy); color: var(--wp--preset--color--yellow); font-weight: 800; font-style: italic; font-size: .85rem; }
.dc-page-content ol.wp-block-list > li:not(:last-child)::after { content: ""; position: absolute; left: 2.1rem; bottom: -.8rem; height: .8rem; border-left: 2px dashed var(--wp--preset--color--yellow); }

/* Elenchi semplici (formule) */
.dc-page-content ul.wp-block-list:not(.dc-checks) { list-style: none; padding: 0; display: grid; gap: .6rem; }
.dc-page-content ul.wp-block-list:not(.dc-checks) > li { padding: .85rem 1rem .85rem 2.4rem; position: relative; border-bottom: 1px dashed #E2DED3; }
.dc-page-content ul.wp-block-list:not(.dc-checks) > li::before { content: ""; position: absolute; left: .8rem; top: 1.35rem; width: 9px; height: 9px; border-radius: 50%; background: var(--wp--preset--color--yellow); box-shadow: 0 0 0 3px rgba(242, 201, 74, .3); }

/* Foto */
.dc-page-content .wp-block-image { margin: 2rem 0 !important; position: relative; }
.dc-page-content .wp-block-image img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 16px; box-shadow: 12px 12px 0 var(--wp--preset--color--yellow), 0 18px 40px rgba(19, 27, 51, .15); }

/* Riquadro informativo */
.dc-page-content .dc-box { position: relative; background: var(--wp--preset--color--navy); color: #fff; border: 0; border-radius: 16px; padding: 1.4rem 1.5rem 1.4rem 4.6rem !important; margin: 2rem 0; }
.dc-page-content .dc-box::before { content: "i"; position: absolute; left: 1.4rem; top: 1.4rem; width: 2.2rem; height: 2.2rem; border-radius: 50%; display: grid; place-items: center; background: var(--wp--preset--color--yellow); color: var(--wp--preset--color--navy); font-weight: 800; font-style: italic; font-family: Georgia, serif; font-size: 1.1rem; }
.dc-page-content .dc-box p { margin: 0; }
.dc-page-content .dc-box strong { color: var(--wp--preset--color--yellow); }

/* Fascia preventivo dentro la colonna: diventa un riquadro */
.dc-page-content .dc-cta { border-radius: 18px; margin: 3rem 0 2.5rem !important; padding: 2.25rem 1.5rem !important; position: relative; overflow: hidden; }
.dc-page-content .dc-cta::after { content: ""; position: absolute; right: -40px; bottom: -40px; width: 160px; height: 160px; border-radius: 50%; border: 22px solid rgba(19, 27, 51, .08); }
.dc-page-content .dc-mini-cards, .dc-page-content .dc-zone { max-width: none; }
.dc-page-content .dc-zone { grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }

/* Barra laterale */
.dc-sidebar { display: flex; flex-direction: column; gap: 1rem; }
.dc-side-card { background: #fff; border: 1px solid #ECE9E0; border-radius: 18px; padding: 1.4rem; box-shadow: 0 10px 28px rgba(19, 27, 51, .07); }
.dc-side-cta { background: var(--wp--preset--color--navy); color: #fff; border: 0; position: relative; overflow: hidden; display: flex; flex-direction: column; gap: .6rem; }
.dc-side-cta::after { content: ""; position: absolute; right: -36px; top: -36px; width: 120px; height: 120px; border-radius: 50%; border: 16px solid rgba(242, 201, 74, .25); }
.dc-side-tag { align-self: flex-start; font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; background: var(--wp--preset--color--yellow); color: var(--wp--preset--color--navy); padding: .25rem .6rem; border-radius: 999px; }
.dc-side-cta strong { font-size: 1.35rem; color: #fff; }
.dc-side-cta p { margin: 0; opacity: .85; font-size: .93rem; }
.dc-side-cta .dc-btn { justify-content: center; text-decoration: none; }
.dc-btn-line { background: transparent; color: #fff; box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .35); }
.dc-btn-line:hover { box-shadow: inset 0 0 0 2px var(--wp--preset--color--yellow); color: var(--wp--preset--color--yellow); }
.dc-side-link { display: inline-flex; align-items: center; justify-content: center; gap: .4rem; color: var(--wp--preset--color--yellow); font-weight: 700; text-decoration: none; }
.dc-side-link .dc-svg { width: 16px; height: 16px; transition: transform .25s; }
.dc-side-link:hover .dc-svg { transform: translateX(4px); }
.dc-side-trust { list-style: none; margin: .5rem 0 0; padding: .9rem 0 0; border-top: 1px solid rgba(255, 255, 255, .15); font-size: .88rem; display: grid; gap: .35rem; }
.dc-side-trust li::before { content: "✓"; color: var(--wp--preset--color--yellow); font-weight: 800; margin-right: .45rem; }
.dc-side-title { display: block; font-size: 1.05rem; color: var(--wp--preset--color--navy); margin-bottom: .75rem; }
.dc-side-services { list-style: none; margin: 0; padding: 0; display: grid; gap: .25rem; }
.dc-side-services a { display: flex; align-items: center; gap: .7rem; padding: .45rem .5rem; border-radius: 10px; text-decoration: none; color: var(--wp--preset--color--ink); font-weight: 600; font-size: .93rem; transition: background-color .2s; }
.dc-side-services .dc-icon { width: 34px; height: 34px; padding: 7px; border-radius: 9px; margin: 0; flex: 0 0 34px; }
.dc-side-services a:hover { background: var(--wp--preset--color--sand); }
.dc-side-services a:hover .dc-icon, .dc-side-services .is-current .dc-icon { background: var(--wp--preset--color--yellow); color: var(--wp--preset--color--navy); }
.dc-side-services .is-current a { background: var(--wp--preset--color--sand); color: var(--wp--preset--color--navy); }
.dc-side-hours p { margin: 0 0 .6rem; font-size: .92rem; color: var(--wp--preset--color--muted); }
.dc-side-addr { display: flex; gap: .4rem; align-items: flex-start; color: var(--wp--preset--color--navy) !important; font-weight: 600; }
.dc-side-addr .dc-svg { width: 18px; height: 18px; flex: 0 0 18px; margin-top: 2px; color: var(--wp--preset--color--navy); }
@media (max-width: 1000px) { .dc-side-card:not(.dc-side-cta) { display: none; } }
.dc-page-hero > h1, .dc-page-hero > .dc-page-lead { max-width: 1200px !important; padding-right: max(0px, calc(min(100%, 1200px) - 820px)); box-sizing: border-box; text-wrap: balance; }
.dc-side-cta { box-shadow: 0 0 0 1px rgba(242, 201, 74, .35), 0 18px 40px rgba(19, 27, 51, .25); }
.dc-side-cta > :not(.dc-side-tag) { position: relative; z-index: 1; }

/* =========================================================
   v1.7 – Nuovo footer
   ========================================================= */
.wp-site-blocks > footer.wp-block-template-part { margin-top: 0; }
.dc-foot { background: var(--wp--preset--color--navy); color: rgba(255, 255, 255, .82); position: relative; overflow: hidden; padding: 0 24px; font-size: .95rem; }
.dc-foot::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 6px; background: repeating-linear-gradient(-45deg, var(--wp--preset--color--yellow) 0 14px, var(--wp--preset--color--navy) 14px 28px); }
.dc-foot::after { content: ""; position: absolute; right: 6%; top: -10%; bottom: -10%; width: 10px; background: var(--wp--preset--color--yellow); opacity: .08; transform: skewX(-14deg); pointer-events: none; }
.dc-foot a { color: inherit; text-decoration: none; }

.dc-foot-cta { position: relative; z-index: 1; max-width: 1200px; margin: 56px auto 0; background: var(--wp--preset--color--yellow); color: var(--wp--preset--color--navy); border-radius: 20px; padding: 1.75rem 2rem; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.25rem; box-shadow: 0 20px 40px rgba(0, 0, 0, .25); overflow: hidden; }
.dc-foot-cta::after { content: ""; position: absolute; right: -50px; bottom: -70px; width: 200px; height: 200px; border-radius: 50%; border: 26px solid rgba(19, 27, 51, .08); pointer-events: none; }
.dc-foot-cta-text { display: flex; flex-direction: column; gap: .25rem; max-width: 560px; }
.dc-foot-cta-tag { align-self: flex-start; font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; background: var(--wp--preset--color--navy); color: var(--wp--preset--color--yellow); padding: .25rem .65rem; border-radius: 999px; }
.dc-foot-cta-text strong { font-size: clamp(1.3rem, 2.4vw, 1.75rem); font-weight: 800; font-style: italic; line-height: 1.2; }
.dc-foot-cta-actions { display: flex; flex-wrap: wrap; gap: .6rem; position: relative; z-index: 1; }
.dc-foot-cta .dc-btn { text-decoration: none; }
.dc-foot-btn-light { background: #fff; color: var(--wp--preset--color--navy); }
.dc-foot .dc-foot-cta a.dc-btn-mail { color: #fff; }

.dc-foot-main { position: relative; z-index: 1; max-width: 1200px; margin: 0 auto; padding: 3.5rem 0 2.5rem; display: grid; grid-template-columns: 1.35fr 1fr 1.2fr .9fr; gap: 2.5rem; }
.dc-foot-logo { display: inline-block; background: #fff; border-radius: 14px; padding: .6rem .9rem; margin-bottom: 1rem; transition: transform .3s; }
.dc-foot-logo:hover { transform: rotate(-2deg) scale(1.03); }
.dc-foot-logo img { display: block; width: 150px; height: auto; }
.dc-foot-brand > p { margin: 0 0 1.25rem; line-height: 1.6; }
.dc-foot-contacts { list-style: none; margin: 0; padding: 0; display: grid; gap: .8rem; }
.dc-foot-contacts li { display: flex; gap: .75rem; align-items: flex-start; line-height: 1.45; }
.dc-foot-contacts .dc-svg { flex: 0 0 34px; width: 34px; height: 34px; padding: 8px; border-radius: 10px; background: rgba(242, 201, 74, .12); color: var(--wp--preset--color--yellow); box-sizing: border-box; }
.dc-foot-contacts a:hover { color: var(--wp--preset--color--yellow); }

.dc-foot-col h3 { color: #fff; font-size: 1.05rem; font-style: normal; margin: .3rem 0 1.1rem; padding-bottom: .6rem; position: relative; }
.dc-foot-col h3::after { content: ""; position: absolute; left: 0; bottom: 0; width: 32px; height: 3px; border-radius: 3px; background: var(--wp--preset--color--yellow); }
.dc-foot-links { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.dc-foot-links a { display: inline-flex; align-items: center; gap: .5rem; transition: color .2s, transform .2s; }
.dc-foot-links a::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--wp--preset--color--yellow); opacity: .6; transition: opacity .2s, transform .2s; }
.dc-foot-links a:hover { color: var(--wp--preset--color--yellow); transform: translateX(4px); }
.dc-foot-links a:hover::before { opacity: 1; transform: scale(1.4); }
.dc-foot-chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .4rem; }
.dc-foot-chips a { display: inline-block; font-size: .82rem; font-weight: 600; padding: .3rem .65rem; border-radius: 999px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .12); transition: background-color .2s, color .2s; }
.dc-foot-chips a:hover { background: var(--wp--preset--color--yellow); color: var(--wp--preset--color--navy); border-color: var(--wp--preset--color--yellow); }
.dc-foot-all, .dc-foot-social { display: inline-flex; align-items: center; gap: .45rem; margin-top: 1rem; font-weight: 700; color: var(--wp--preset--color--yellow) !important; }
.dc-foot-all .dc-svg { width: 16px; height: 16px; transition: transform .25s; }
.dc-foot-all:hover .dc-svg { transform: translateX(4px); }
.dc-foot-social { margin-top: 1.5rem; padding: .55rem .9rem; border-radius: 10px; border: 1px solid rgba(242, 201, 74, .35); transition: background-color .2s, color .2s; }
.dc-foot-social .dc-svg { width: 18px; height: 18px; }
.dc-foot-social:hover { background: var(--wp--preset--color--yellow); color: var(--wp--preset--color--navy) !important; }

.dc-foot-bottom { position: relative; z-index: 1; max-width: 1200px; margin: 0 auto; padding: 1.25rem 0; border-top: 1px solid rgba(255, 255, 255, .1); display: flex; align-items: center; justify-content: space-between; gap: 1rem; font-size: .85rem; }
.dc-foot-bottom p { margin: 0; opacity: .7; }
.dc-foot-top { flex: 0 0 auto; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--wp--preset--color--yellow); color: var(--wp--preset--color--navy) !important; transition: transform .25s; }
.dc-foot-top .dc-svg { width: 22px; height: 22px; }
.dc-foot-top:hover { transform: translateY(-4px); }

@media (max-width: 1000px) {
	.dc-foot-main { grid-template-columns: 1fr 1fr; }
	.dc-foot-brand { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
	.dc-foot-cta { padding: 1.5rem 1.25rem; margin-top: 40px; }
	.dc-foot-cta-actions .dc-btn { flex: 1 1 100%; justify-content: center; }
	.dc-foot-main { grid-template-columns: 1fr 1fr; gap: 2rem 1.25rem; }
	.dc-foot-zone { grid-column: 1 / -1; order: 3; }
	.dc-foot-bottom p { font-size: .8rem; }
}

/* =========================================================
   v1.8 – Mobile: schede servizi compatte, menu a tendina, barra con icone
   ========================================================= */
@media (max-width: 600px) {
	#servizi .wp-block-group.alignwide { gap: .75rem !important; }
	#servizi .dc-card { display: grid !important; grid-template-columns: 48px 1fr; column-gap: .9rem; row-gap: .15rem; align-items: center; padding: 1rem 2.4rem 1rem 1rem !important; border-top-width: 4px; }
	#servizi .dc-card > * { max-width: none !important; margin: 0 !important; }
	#servizi .dc-card .dc-icon { grid-row: span 2; align-self: start; width: 48px; height: 48px; padding: 11px; border-radius: 12px; }
	#servizi .dc-card h3 { font-size: 1.05rem; line-height: 1.25; }
	#servizi .dc-card p { grid-column: 2; font-size: .9rem; line-height: 1.5; color: var(--wp--preset--color--muted); }
	#servizi .dc-card h3 a::before { right: .9rem; top: 50%; bottom: auto; transform: translateY(-50%); width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--wp--preset--color--sand); font-size: .85rem; }
	#servizi .dc-card:hover h3 a::before { transform: translateY(-50%) translateX(3px); }
}

/* Menu mobile (overlay) */
.dc-nav-cta { display: none !important; }
.wp-block-navigation__responsive-container.is-menu-open { padding: 0 !important; }
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-close { max-width: none; }
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content { padding: 76px 22px 32px !important; align-items: stretch !important; }
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container { align-items: stretch !important; justify-content: flex-start !important; gap: 0 !important; width: 100%; }
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container > .wp-block-navigation-item { width: 100%; align-items: stretch !important; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container > .wp-block-navigation-item > .wp-block-navigation-item__content { display: flex; justify-content: space-between; align-items: center; width: 100%; padding: 1.05rem .2rem !important; font-size: 1.15rem; font-weight: 700; text-align: left; }
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-submenu__toggle { display: none !important; }
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-submenu > .wp-block-navigation-item__content::after { content: ""; width: 30px; height: 30px; flex: 0 0 30px; border-radius: 50%; background: rgba(242, 201, 74, .15) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23F2C94A' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") center / 16px no-repeat; transition: transform .3s; }
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-submenu.dc-open > .wp-block-navigation-item__content::after { transform: rotate(180deg); }
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-submenu.dc-open > .wp-block-navigation-item__content { color: var(--wp--preset--color--yellow); }
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container { display: none !important; border: 0 !important; box-shadow: none !important; padding: 0 0 1rem !important; margin: 0 !important; background: transparent !important; min-width: 0 !important; width: 100%; }
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-submenu.dc-open > .wp-block-navigation__submenu-container { display: grid !important; grid-template-columns: 1fr 1fr; gap: .4rem; animation: dc-q-open .3s ease both; }
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container .wp-block-navigation-item { width: 100%; }
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container .wp-block-navigation-item__content { display: block; width: 100%; padding: .65rem .75rem !important; border-radius: 10px; background: rgba(255, 255, 255, .06); font-size: .92rem; font-weight: 500; text-align: left; line-height: 1.3; }
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container .wp-block-navigation-item__content:active { background: var(--wp--preset--color--yellow); color: var(--wp--preset--color--navy); }
.wp-block-navigation__responsive-container.is-menu-open .dc-nav-all { grid-column: 1 / -1; }
.wp-block-navigation__responsive-container.is-menu-open .dc-nav-all .wp-block-navigation-item__content { background: rgba(242, 201, 74, .15) !important; color: var(--wp--preset--color--yellow) !important; font-weight: 700 !important; }
.wp-block-navigation__responsive-container.is-menu-open .dc-nav-cta { display: flex !important; border-bottom: 0 !important; margin-top: 1.5rem; }
.wp-block-navigation__responsive-container.is-menu-open .dc-nav-cta .wp-block-navigation-item__content { justify-content: center !important; background: var(--wp--preset--color--yellow); color: var(--wp--preset--color--navy) !important; border-radius: 12px; padding: 1rem !important; }
@media (min-width: 600px) { .dc-header .dc-nav-all { display: none !important; } }

/* Barra fissa mobile con icone */
@media (max-width: 782px) {
	.dc-mobilebar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .2rem; padding: .55rem .25rem .6rem; font-size: .78rem; animation: none !important; box-shadow: none !important; position: relative; }
	.dc-mobilebar .dc-svg { width: 22px; height: 22px; color: var(--wp--preset--color--yellow); }
	.dc-mobilebar a:last-child .dc-svg { color: var(--wp--preset--color--navy); }
	.dc-mobilebar a + a { border-left: 1px solid rgba(255, 255, 255, .1); }
	.dc-mb-wa::after { content: ""; position: absolute; top: .55rem; left: calc(50% + 10px); width: 8px; height: 8px; border-radius: 50%; background: #25D366; box-shadow: 0 0 0 0 rgba(37, 211, 102, .6); animation: dc-dot 2s infinite; }
}
@keyframes dc-dot { 0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, .6); } 100% { box-shadow: 0 0 0 8px rgba(37, 211, 102, 0); } }

/* v1.8.1 – correzioni mobile */
[class^="dc-"], [class*=" dc-"] { box-sizing: border-box; }
.dc-icon { flex: 0 0 auto; }
.dc-icon .dc-svg, .dc-step-icon .dc-svg { width: 100%; height: 100%; }
/* Su touch niente effetti "hover" bloccati dopo il tocco */
@media (hover: none) {
	.dc-card:hover, .dc-mini-card:hover, .dc-timeline .dc-step:hover { transform: none; }
	.dc-card:hover .dc-icon { transform: none; background: var(--wp--preset--color--navy); color: var(--wp--preset--color--yellow); }
}
/* Voci del menu mobile sempre leggibili */
.wp-block-navigation__responsive-container.is-menu-open a,
.wp-block-navigation__responsive-container.is-menu-open a:hover,
.wp-block-navigation__responsive-container.is-menu-open a:focus { color: #fff !important; text-decoration: none !important; }
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-submenu.dc-open > a.wp-block-navigation-item__content { color: var(--wp--preset--color--yellow) !important; }
.wp-block-navigation__responsive-container.is-menu-open .dc-nav-cta a.wp-block-navigation-item__content { color: var(--wp--preset--color--navy) !important; }
.wp-block-navigation__responsive-container.is-menu-open .dc-nav-all a { color: var(--wp--preset--color--yellow) !important; }
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__label { text-decoration: none !important; }
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item,
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content,
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container { box-sizing: border-box; max-width: 100%; }

/* =========================================================
   v1.9 – Menu mobile del tema (sostituisce quello di WordPress su mobile)
   ========================================================= */
.dc-burger, .dc-drawer { display: none; }
@media (max-width: 900px) {
	.dc-header .wp-block-navigation { display: none !important; }
	.dc-burger { display: inline-flex; flex-direction: column; justify-content: center; gap: 5px; width: 46px; height: 46px; padding: 0 11px; border: 0; border-radius: 12px; background: var(--wp--preset--color--sand); cursor: pointer; flex: 0 0 auto; order: 3; margin-left: .5rem; }
	.dc-burger span { display: block; height: 2.5px; border-radius: 2px; background: var(--wp--preset--color--navy); }
	.dc-burger span:nth-child(2) { width: 70%; }
	.dc-header .wp-block-buttons { order: 2; margin-left: auto; }
	.dc-drawer { display: block; position: fixed; inset: 0; z-index: 9999; background: rgba(10, 14, 28, .55); opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; }
	.dc-menu-open .dc-drawer { opacity: 1; visibility: visible; }
	.dc-menu-open body { overflow: hidden; }
	.dc-drawer-panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(420px, 100%); background: var(--wp--preset--color--navy); color: #fff; overflow-y: auto; -webkit-overflow-scrolling: touch; padding: 0 20px 28px; transform: translateX(100%); transition: transform .35s cubic-bezier(.2, .7, .2, 1); display: flex; flex-direction: column; }
	.dc-menu-open .dc-drawer-panel { transform: none; }
	.dc-drawer-top { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; border-bottom: 3px solid var(--wp--preset--color--yellow); margin-bottom: .5rem; position: sticky; top: 0; background: var(--wp--preset--color--navy); z-index: 1; }
	.dc-drawer-logo { background: #fff; border-radius: 10px; padding: 4px 8px; }
	.dc-drawer-logo img { display: block; width: 104px; height: auto; }
	.dc-drawer-close { width: 44px; height: 44px; border: 0; border-radius: 12px; background: rgba(255, 255, 255, .08); position: relative; cursor: pointer; }
	.dc-drawer-close span { position: absolute; left: 12px; right: 12px; top: 50%; height: 2.5px; background: #fff; border-radius: 2px; }
	.dc-drawer-close span:first-child { transform: rotate(45deg); }
	.dc-drawer-close span:last-child { transform: rotate(-45deg); }
	.dc-drawer-nav { display: flex; flex-direction: column; }
	.dc-drawer-link, .dc-dd > summary { display: flex; align-items: center; justify-content: space-between; padding: 1.05rem .2rem; border-bottom: 1px solid rgba(255, 255, 255, .12); color: #fff; font-size: 1.15rem; font-weight: 700; text-decoration: none; cursor: pointer; list-style: none; }
	.dc-dd > summary::-webkit-details-marker { display: none; }
	.dc-dd > summary::after { content: ""; width: 30px; height: 30px; flex: 0 0 30px; border-radius: 50%; background: rgba(242, 201, 74, .15) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23F2C94A' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") center / 16px no-repeat; transition: transform .3s; }
	.dc-dd[open] > summary { color: var(--wp--preset--color--yellow); border-bottom-color: transparent; }
	.dc-dd[open] > summary::after { transform: rotate(180deg); }
	.dc-drawer-link:active, .dc-dd > summary:active { color: var(--wp--preset--color--yellow); }
	.dc-dd-list, .dc-dd-grid { padding: 0 0 1rem; border-bottom: 1px solid rgba(255, 255, 255, .12); animation: dc-q-open .3s ease both; }
	.dc-dd-list { display: grid; gap: .35rem; }
	.dc-dd-list a { display: flex; align-items: center; gap: .75rem; padding: .5rem .6rem; border-radius: 12px; background: rgba(255, 255, 255, .05); color: #fff; text-decoration: none; font-weight: 600; font-size: .98rem; }
	.dc-dd-list .dc-icon { width: 36px; height: 36px; padding: 8px; border-radius: 10px; margin: 0; background: var(--wp--preset--color--yellow); color: var(--wp--preset--color--navy); }
	.dc-dd-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .4rem; }
	.dc-dd-grid a { display: block; padding: .65rem .75rem; border-radius: 10px; background: rgba(255, 255, 255, .06); color: #fff; text-decoration: none; font-size: .92rem; font-weight: 500; line-height: 1.3; }
	.dc-dd-grid a.dc-dd-all { grid-column: 1 / -1; background: rgba(242, 201, 74, .15); color: var(--wp--preset--color--yellow); font-weight: 700; }
	.dc-dd-list a:active, .dc-dd-grid a:active { background: var(--wp--preset--color--yellow); color: var(--wp--preset--color--navy); }
	.dc-drawer-cta { margin-top: auto; padding-top: 1.5rem; display: grid; gap: .6rem; }
	.dc-drawer-cta .dc-btn { justify-content: center; text-decoration: none; padding: 1rem; }
	.dc-drawer-cta p { margin: .3rem 0 0; text-align: center; font-size: .82rem; opacity: .7; }
}
@media (max-width: 600px) { .dc-header .dc-header-phone { display: none; } }
@media (prefers-reduced-motion: reduce) { .dc-drawer, .dc-drawer-panel { transition: none; } }
@media (max-width: 600px) {
	.dc-header .wp-block-button__link { white-space: nowrap; padding: .7rem 1rem; font-size: .92rem; }
	.dc-header .alignwide { gap: .5rem; }
}
@media (max-width: 360px) { .dc-header .wp-block-buttons { display: none; } }

/* v1.9.1 – Su mobile il preventivo è già nella barra in basso: in alto solo logo e menu */
@media (max-width: 782px) {
	.dc-header .wp-block-buttons { display: none !important; }
	.dc-burger { margin-left: auto; }
	.dc-logo img { width: 130px; }
}
