/*
Theme Name: Villa Meraki
Template: Divi
Version: 2.0
*/
:root {
	--vm-bg: #f8f1ec;
	--vm-blush: #f3e6df;
	--vm-white: #fffdfb;
	--vm-gold: #b8975f;
	--vm-gold-dk: #94763f;
	--vm-gold-lt: #d9c39a;
	--vm-ink: #3a322e;
	--vm-text: #5b514b;
	--vm-muted: #8a7d74;
	--vm-line: #eadbd0;
	--vm-dark: #2f2a27;
	--vm-serif: 'Marcellus', Georgia, serif;
	--vm-sans: 'Mulish', 'Helvetica Neue', Arial, sans-serif;
}

/* ---------- base ---------- */
body, #page-container, #main-content { background: var(--vm-bg) !important; }
#page-container, .et_pb_section { overflow-x: clip; }
body, .et_pb_text, .et_pb_text p, .et_pb_text li { font-family: var(--vm-sans); font-size: 17.5px; line-height: 1.75; color: var(--vm-text); }
h1, h2, h3, h4, .et_pb_text h1, .et_pb_text h2, .et_pb_text h3, .et_pb_text h4 { font-family: var(--vm-serif); font-weight: 400; color: var(--vm-ink); line-height: 1.22; letter-spacing: .01em; padding-bottom: 0; }
.et_pb_text h1 { font-size: 58px; margin-bottom: 18px; }
.et_pb_text h2 { font-size: 40px; margin-bottom: 16px; }
.et_pb_text h3 { font-size: 23px; margin-bottom: 8px; }
.et_pb_text p { padding-bottom: 0; margin-bottom: 1em; }
.et_pb_text p:last-child { margin-bottom: 0; }
.et_pb_text a { color: var(--vm-gold-dk); }
strong { color: var(--vm-ink); font-weight: 700; }
.et_pb_section { background-color: transparent !important; }
.et_pb_row { padding: 0 !important; }
.et_pb_column { margin-bottom: 0 !important; }
#main-content .container:before { display: none; }

.vm-eyebrow { font-family: var(--vm-sans); font-size: 12.5px !important; font-weight: 700; letter-spacing: .26em; text-transform: uppercase; color: var(--vm-gold-dk) !important; margin-bottom: 14px !important; }
.vm-center { text-align: center; }
.vm-narrow { max-width: 720px; margin: 0 auto; }
.vm-lead { font-size: 18.5px !important; color: var(--vm-muted) !important; }

.vm-orn { display: flex; align-items: center; justify-content: center; gap: 12px; margin: 4px auto 22px; }
.vm-orn:before, .vm-orn:after { content: ""; width: 54px; height: 1px; background: var(--vm-gold); }
.vm-orn i { width: 8px; height: 8px; border: 1px solid var(--vm-gold); transform: rotate(45deg); }
.vm-left .vm-orn { justify-content: flex-start; }
.vm-left .vm-orn:before { display: none; }

.vm-ghost { position: relative; }
.vm-ghost[data-w]:before { content: attr(data-w); position: absolute; left: 50%; top: -70px; transform: translateX(-50%); font-family: var(--vm-serif); font-size: 140px; line-height: 1; color: var(--vm-ink); opacity: .05; white-space: nowrap; pointer-events: none; }
.vm-left.vm-ghost[data-w]:before { left: -10px; transform: none; top: -64px; font-size: 110px; }

/* ---------- pulsanti ---------- */
.vm-btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px !important; }
.vm-center .vm-btns { justify-content: center; }
a.vm-btn { display: inline-flex; align-items: center; gap: 9px; padding: 13px 28px; border-radius: 999px; background: var(--vm-gold); color: #fff !important; font-family: var(--vm-sans); font-size: 13.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; text-decoration: none; border: 1px solid var(--vm-gold); box-shadow: 0 8px 20px -10px rgba(148,118,63,.7); transition: background .25s, color .25s, border-color .25s; }
a.vm-btn:hover { background: var(--vm-gold-dk); border-color: var(--vm-gold-dk); }
a.vm-btn.vm-ghostbtn { background: rgba(255,253,251,.9); color: var(--vm-ink) !important; border-color: var(--vm-line); box-shadow: none; }
a.vm-btn.vm-ghostbtn:hover { border-color: var(--vm-gold); }
a.vm-btn svg { width: 15px; height: 15px; fill: currentColor; }
a.vm-link { font-weight: 700; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; text-decoration: none; color: var(--vm-gold-dk); }
a.vm-link:after { content: " \2192"; }

/* ---------- header: logo al centro ---------- */
.vm-top { background: var(--vm-dark); }
.vm-top .et_pb_text, .vm-top .et_pb_text p { font-size: 13px; color: #d8cdc4; line-height: 1.4; }
.vm-top-in { display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.vm-top-in span { display: inline-flex; align-items: center; gap: 8px; }
.vm-top-in a { color: #fff !important; text-decoration: none; margin-left: 18px; }
.vm-top svg { width: 13px; height: 13px; fill: var(--vm-gold-lt); }
.vm-hdr { background: rgba(255,253,251,.96); backdrop-filter: blur(6px); position: sticky; top: 0; z-index: 99; box-shadow: 0 1px 0 var(--vm-line); transition: box-shadow .3s; }
.vm-scrolled .vm-hdr { box-shadow: 0 8px 24px -12px rgba(58,50,46,.25); }
.vm-nav { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 30px; }
.vm-nav nav { display: flex; align-items: center; gap: 26px; }
.vm-nav .vm-nl { justify-content: flex-end; }
.vm-nav .vm-nr { justify-content: flex-start; }
.vm-nav nav a { font-family: var(--vm-sans); font-size: 12.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--vm-ink) !important; text-decoration: none; padding: 6px 0; border-bottom: 1px solid transparent; white-space: nowrap; }
.vm-nav nav a:hover, .vm-nav nav a.vm-cur { color: var(--vm-gold-dk) !important; border-bottom-color: var(--vm-gold); }
.vm-nav nav a.vm-btn { padding: 10px 20px; color: #fff !important; border-bottom: 1px solid var(--vm-gold); letter-spacing: .1em; }
.vm-logo img { width: 150px; height: auto; display: block; }
.vm-burger { display: none; width: 44px; height: 44px; border: 1px solid var(--vm-line); border-radius: 50%; background: var(--vm-white); cursor: pointer; position: relative; padding: 0; }
.vm-burger span, .vm-burger span:before, .vm-burger span:after { position: absolute; left: 13px; width: 16px; height: 1.5px; background: var(--vm-ink); content: ""; transition: transform .3s; }
.vm-burger span { top: 21px; }
.vm-burger span:before { top: -5px; left: 0; }
.vm-burger span:after { top: 5px; left: 0; }
.vm-open .vm-burger span { background: transparent; }
.vm-open .vm-burger span:before { transform: translateY(5px) rotate(45deg); }
.vm-open .vm-burger span:after { transform: translateY(-5px) rotate(-45deg); }
.vm-mtel { display: none; }

/* ---------- hero a tutta larghezza con bordo sagomato ---------- */
.vm-hero { padding: 0 !important; }
.vm-h2 { position: relative; height: 690px; }
.vm-h2-sm { height: 520px; }
.vm-h2-img { position: absolute; inset: 0; background-size: cover; background-position: center; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpath d='M0 0H100V80C88 80 81 82 74 87C66 93 57 92 50 97C43 92 34 93 26 87C19 82 12 80 0 80Z'/%3E%3C/svg%3E") 0 0 / 100% 100% no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpath d='M0 0H100V80C88 80 81 82 74 87C66 93 57 92 50 97C43 92 34 93 26 87C19 82 12 80 0 80Z'/%3E%3C/svg%3E") 0 0 / 100% 100% no-repeat; }
.vm-h2-img:after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse 55% 48% at 50% 46%, rgba(255,251,247,.88) 0%, rgba(255,251,247,.6) 55%, rgba(255,251,247,.1) 100%); }
.vm-h2-line { position: absolute; left: 0; top: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
.vm-h2-line path { fill: none; stroke: var(--vm-gold); stroke-width: 1.4; vector-effect: non-scaling-stroke; }
.vm-h2-orn { position: absolute; left: 50%; bottom: -24px; width: 50px; height: 50px; margin-left: -25px; transform: rotate(45deg); background: var(--vm-white); border: 1px solid var(--vm-gold); box-shadow: 0 10px 24px -12px rgba(58,50,46,.4); z-index: 3; }
.vm-h2-orn:before { content: ""; position: absolute; inset: 8px; border: 1px solid var(--vm-gold-lt); }
.vm-h2-orn:after { content: ""; position: absolute; inset: 18px; background: var(--vm-gold); }
.vm-h2-in { position: relative; z-index: 2; height: 80%; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; max-width: 820px; margin: 0 auto; padding: 0 24px; }
.vm-h2-in .vm-sub { font-size: 19px; color: var(--vm-text) !important; max-width: 600px; margin: 0 auto; }
.vm-h2-sm h1 { font-size: 48px !important; }

/* ---------- presentazione con rombo ---------- */
.vm-about .et_pb_row { display: flex; align-items: center; gap: 6%; }
.vm-feats { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 26px; margin-top: 26px; }
.vm-feats div { display: flex; gap: 12px; align-items: flex-start; font-size: 14.5px; line-height: 1.45; color: var(--vm-muted); }
.vm-feats svg { flex: 0 0 26px; width: 26px; height: 26px; }
.vm-feats b { display: block; font-family: var(--vm-serif); font-weight: 400; font-size: 17px; color: var(--vm-ink); }
.vm-ico { stroke: var(--vm-gold); fill: none; stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; }

.vm-diamond { position: relative; width: 420px; max-width: 100%; aspect-ratio: 1; margin: 10px auto 50px; }
.vm-diamond .vm-d-frame { position: absolute; inset: 9%; border: 1px solid var(--vm-gold); transform: rotate(45deg) scale(1.08); }
.vm-diamond .vm-d-in { position: absolute; inset: 0; clip-path: polygon(50% 6%, 94% 50%, 50% 94%, 6% 50%); }
.vm-diamond .vm-d-in img { width: 100%; height: 100%; object-fit: cover; display: block; }
.vm-diamond .vm-d-badge { position: absolute; left: 50%; bottom: -14px; width: 80px; height: 80px; margin-left: -40px; transform: rotate(45deg); background: var(--vm-bg); border: 1px solid var(--vm-gold); display: flex; align-items: center; justify-content: center; }
.vm-diamond .vm-d-badge:before { content: ""; position: absolute; inset: 8px; border: 1px solid var(--vm-gold-lt); }
.vm-diamond .vm-d-badge svg { width: 30px; height: 30px; transform: rotate(-45deg); }

.vm-band { height: 560px; background-size: cover; background-position: center; -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 22%, #000 70%, transparent 100%); mask-image: linear-gradient(to bottom, transparent 0%, #000 22%, #000 70%, transparent 100%); }

/* ---------- card con angoli dorati ---------- */
.vm-svc { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-top: 40px; }
.vm-svc > div, .vm-act { position: relative; background: var(--vm-white); padding: 38px 30px 32px; text-align: center; box-shadow: 0 18px 40px -28px rgba(58,50,46,.35); transition: transform .35s, box-shadow .35s; }
.vm-svc > div:hover { transform: translateY(-4px); box-shadow: 0 26px 50px -28px rgba(58,50,46,.45); }
.vm-svc > div:before, .vm-svc > div:after, .vm-act:before, .vm-act:after { content: ""; position: absolute; width: 28px; height: 28px; border: 1px solid var(--vm-gold); pointer-events: none; }
.vm-svc > div:before, .vm-act:before { top: 10px; left: 10px; border-right: 0; border-bottom: 0; }
.vm-svc > div:after, .vm-act:after { bottom: 10px; right: 10px; border-left: 0; border-top: 0; }
.vm-svc .vm-si { width: 66px; height: 66px; margin: 0 auto 16px; border: 1px solid var(--vm-line); border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.vm-svc svg { width: 32px; height: 32px; }
.vm-svc h3 { font-size: 24px !important; }
.vm-svc p { font-size: 15.5px !important; color: var(--vm-muted) !important; line-height: 1.65 !important; }
.vm-svc a.vm-link { display: inline-block; margin-top: 14px; }

.vm-acts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 40px; }
.vm-acts4 { grid-template-columns: repeat(4, 1fr); }
.vm-acts2 { grid-template-columns: repeat(2, 1fr); max-width: 820px; margin: 24px auto 0; }
.vm-act svg { width: 44px; height: 44px; margin: 0 auto 12px; display: block; }
.vm-act h3 { font-size: 21px !important; }
.vm-act p { font-size: 15.5px !important; color: var(--vm-muted) !important; line-height: 1.6 !important; }
.vm-act-img { padding: 0; text-align: left; display: flex; flex-direction: column; }
.vm-act-img:before, .vm-act-img:after { z-index: 2; border-color: #fff; }
.vm-act-img img { display: block; width: 100%; aspect-ratio: 3/2; object-fit: cover; }
.vm-act-img .vm-act-b { padding: 22px 22px 26px; }

/* ---------- immagine + riquadro bianco sovrapposto ---------- */
.vm-ov { position: relative; display: grid; grid-template-columns: 62% 38%; align-items: center; }
.vm-ov-img { grid-column: 1 / 2; grid-row: 1; position: relative; }
.vm-ov-img img { display: block; width: 100%; aspect-ratio: 11/7.8; object-fit: cover; }
.vm-ov-img:after { content: ""; position: absolute; inset: 14px; border: 1px solid rgba(255,255,255,.75); pointer-events: none; }
.vm-ov-box { grid-column: 1 / 3; grid-row: 1; justify-self: end; width: 46%; background: var(--vm-white); padding: 46px 44px; box-shadow: 0 30px 60px -30px rgba(58,50,46,.45); position: relative; z-index: 2; }
.vm-ov-box:before { content: ""; position: absolute; inset: 10px; border: 1px solid var(--vm-line); pointer-events: none; }
.vm-ov-box > * { position: relative; }
.vm-ov-box h2 { font-size: 34px !important; }
.vm-ov.vm-rev { grid-template-columns: 38% 62%; }
.vm-ov.vm-rev .vm-ov-img { grid-column: 2 / 3; }
.vm-ov.vm-rev .vm-ov-box { justify-self: start; }

.vm-list { list-style: none !important; padding: 0 !important; margin: 14px 0 0 !important; }
.vm-list li { list-style: none !important; position: relative; padding: 0 0 9px 26px; font-size: 16px; }
.vm-list li:before { content: ""; position: absolute; left: 2px; top: 9px; width: 7px; height: 7px; border: 1px solid var(--vm-gold); transform: rotate(45deg); }

.vm-quote { font-family: var(--vm-serif); font-size: 20px !important; line-height: 1.55 !important; color: var(--vm-ink) !important; padding-left: 22px; border-left: 1px solid var(--vm-gold); }
.vm-greek { font-family: var(--vm-serif); font-size: 19px !important; color: var(--vm-gold-dk) !important; letter-spacing: .12em; margin-top: -6px; }

/* passi */
.vm-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-top: 44px; }
.vm-step { position: relative; text-align: center; padding: 0 18px; }
.vm-step .vm-n { position: relative; width: 56px; height: 56px; margin: 0 auto 22px; display: flex; align-items: center; justify-content: center; font-family: var(--vm-serif); font-size: 22px; color: var(--vm-gold-dk); }
.vm-step .vm-n:before { content: ""; position: absolute; inset: 0; border: 1px solid var(--vm-gold); transform: rotate(45deg); background: var(--vm-white); z-index: -1; }
.vm-step:after { content: ""; position: absolute; top: 28px; left: calc(50% + 48px); width: calc(100% - 70px); height: 1px; background: var(--vm-gold-lt); }
.vm-step:last-child:after { display: none; }
.vm-step h3 { font-size: 22px !important; }
.vm-step p { font-size: 15.5px !important; color: var(--vm-muted) !important; }

/* galleria a mosaico */
.vm-gal { display: grid; grid-template-columns: 1.15fr 1fr 1fr; grid-template-rows: 250px 250px; gap: 10px; margin-top: 38px; }
.vm-gal figure { margin: 0; position: relative; overflow: hidden; }
.vm-gal figure:first-child { grid-row: span 2; }
.vm-gal figure:nth-child(4) { grid-column: span 2; }
.vm-gal img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .8s; }
.vm-gal figure:hover img { transform: scale(1.04); }

/* FAQ */
.vm-faq { max-width: 820px; margin: 34px auto 0; }
.vm-faq details { background: var(--vm-white); margin-bottom: 10px; box-shadow: 0 10px 30px -24px rgba(58,50,46,.4); }
.vm-faq summary { list-style: none; cursor: pointer; padding: 20px 56px 20px 26px; position: relative; font-family: var(--vm-serif); font-size: 19px; color: var(--vm-ink); }
.vm-faq summary::-webkit-details-marker { display: none; }
.vm-faq summary:after { content: "+"; position: absolute; right: 24px; top: 50%; transform: translateY(-50%); font-family: var(--vm-sans); font-size: 22px; color: var(--vm-gold); transition: transform .3s; }
.vm-faq details[open] summary:after { transform: translateY(-50%) rotate(45deg); }
.vm-faq details p { padding: 0 30px 22px 26px; color: var(--vm-muted) !important; font-size: 16px !important; }

/* CTA finale con foto sfumata */
.vm-cta { padding: 0 !important; }
.vm-cta-in { position: relative; text-align: center; padding: 100px 24px 320px; }
.vm-cta-in:before { content: ""; position: absolute; inset: 0; background-image: var(--cta); background-size: cover; background-position: center 70%; -webkit-mask-image: linear-gradient(to bottom, transparent 28%, #000 78%); mask-image: linear-gradient(to bottom, transparent 28%, #000 78%); }
.vm-cta-in > * { position: relative; }
.vm-cta-in .vm-tels { margin-top: 18px; font-size: 16px; }
.vm-cta-in .vm-tels a { color: var(--vm-ink) !important; font-weight: 700; text-decoration: none; margin: 0 10px; }

/* contatti */
.vm-info { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.vm-info > div { position: relative; background: var(--vm-white); padding: 34px 28px; text-align: center; box-shadow: 0 18px 40px -30px rgba(58,50,46,.4); }
.vm-info svg { width: 36px; height: 36px; margin: 0 auto 10px; display: block; }
.vm-info h3 { font-size: 21px !important; }
.vm-info p, .vm-info a { font-size: 16px !important; }
.vm-info a { color: var(--vm-ink) !important; text-decoration: none; font-weight: 700; }
.vm-split .et_pb_row { display: flex; align-items: flex-start; gap: 6%; }
.vm-formbox { position: relative; background: var(--vm-white); padding: 44px; box-shadow: 0 30px 60px -36px rgba(58,50,46,.45); }
.vm-formbox:before { content: ""; position: absolute; inset: 10px; border: 1px solid var(--vm-line); pointer-events: none; }
.vm-formbox > * { position: relative; }
.vm-map iframe { width: 100%; height: 420px; border: 0; display: block; filter: sepia(.2) saturate(.85); }
.vm-formbox .wpforms-container { margin: 0 !important; }
.vm-formbox .wpforms-field-label { font-family: var(--vm-sans); font-weight: 600 !important; color: var(--vm-ink) !important; font-size: 14.5px !important; }
.vm-formbox .wpforms-field input, .vm-formbox .wpforms-field select, .vm-formbox .wpforms-field textarea { width: 100% !important; max-width: 100% !important; background: var(--vm-bg) !important; border: 1px solid var(--vm-line) !important; border-radius: 2px !important; padding: 12px 14px !important; font-size: 16px !important; color: var(--vm-text) !important; height: auto !important; }
.vm-formbox .wpforms-field-gdpr-checkbox input[type=checkbox] { width: auto !important; }
.vm-formbox textarea { min-height: 110px; }
.vm-formbox input:focus, .vm-formbox textarea:focus, .vm-formbox select:focus { border-color: var(--vm-gold) !important; box-shadow: none !important; outline: 0; }
.vm-formbox button[type=submit] { background: var(--vm-gold) !important; color: #fff !important; border: 0 !important; border-radius: 999px !important; padding: 14px 34px !important; height: auto !important; font-size: 13.5px !important; font-weight: 700 !important; letter-spacing: .1em; text-transform: uppercase; }
.vm-formbox button[type=submit]:hover { background: var(--vm-gold-dk) !important; }

/* ---------- footer scuro con logo al centro ---------- */
.vm-foot { background: var(--vm-dark) !important; }
.vm-foot .et_pb_text, .vm-foot .et_pb_text p, .vm-foot .et_pb_text li { color: #cfc4bb !important; font-size: 15px; }
.vm-foot h4 { color: #fff !important; font-size: 18px !important; margin-bottom: 14px !important; }
.vm-foot a { color: #efe6dd !important; text-decoration: none; }
.vm-foot a:hover { color: var(--vm-gold-lt) !important; }
.vm-foot-in { display: grid; grid-template-columns: 1fr 1.2fr 1fr; gap: 40px; align-items: center; }
.vm-foot-c { text-align: center; border-left: 1px solid rgba(255,255,255,.1); border-right: 1px solid rgba(255,255,255,.1); padding: 0 30px; }
.vm-foot-c img { width: 180px; display: block; margin: 0 auto 16px; }
.vm-foot-r { text-align: right; }
.vm-foot ul { list-style: none; padding: 0 !important; }
.vm-foot li { padding-bottom: 6px; }
.vm-foot-bot { border-top: 1px solid rgba(255,255,255,.1); margin-top: 44px; padding-top: 20px; display: flex; justify-content: space-between; gap: 20px; font-size: 13px !important; color: #a3978d !important; }
.vm-foot-bot a { margin-left: 16px; }

.vm-mbar { display: none; }

/* ---------- responsive ---------- */
@media (max-width: 1180px) {
	.vm-nav nav { gap: 16px; }
	.vm-nav nav a { font-size: 11.5px; letter-spacing: .1em; }
}
@media (max-width: 980px) {
	.et_pb_text h1, .vm-h2-sm h1 { font-size: 40px !important; }
	.et_pb_text h2 { font-size: 32px; }
	.vm-ghost[data-w]:before { font-size: 80px; top: -40px; }
	.vm-left.vm-ghost[data-w]:before { font-size: 70px; top: -40px; }
	.vm-nav { grid-template-columns: auto 1fr auto; gap: 12px; }
	.vm-nav .vm-logo { grid-column: 2; justify-self: center; grid-row: 1; }
	.vm-burger { display: block; grid-column: 1; grid-row: 1; }
	.vm-mtel { display: flex; grid-column: 3; grid-row: 1; width: 44px; height: 44px; border-radius: 50%; background: var(--vm-gold); align-items: center; justify-content: center; }
	.vm-mtel svg { width: 18px; height: 18px; fill: #fff; }
	.vm-nav nav { display: none; }
	.vm-open .vm-nav nav { display: flex; flex-direction: column; align-items: center; gap: 4px; grid-column: 1 / 4; }
	.vm-open .vm-nav .vm-nl { grid-row: 2; padding-top: 14px; }
	.vm-open .vm-nav .vm-nr { grid-row: 3; padding-bottom: 14px; }
	.vm-open .vm-nav nav a { font-size: 14px; padding: 10px 0; }
	.vm-open .vm-nav nav a.vm-btn { margin-top: 10px; padding: 12px 26px; }
	.vm-logo img { width: 120px; }
	.vm-top-in .vm-addr { display: none; }
	.vm-top-in { justify-content: center; }
	.vm-h2 { height: 600px; }
	.vm-h2-sm { height: 460px; }
	.vm-about .et_pb_row { flex-direction: column; gap: 0; }
	.vm-about .et_pb_column { width: 100% !important; margin-right: 0 !important; }
	.vm-about .et_pb_column + .et_pb_column { margin-top: 30px !important; }
	.vm-svc, .vm-acts, .vm-steps, .vm-info { grid-template-columns: 1fr 1fr; }
	.vm-acts4 { grid-template-columns: 1fr 1fr; }
	.vm-step:after { display: none; }
	.vm-ov, .vm-ov.vm-rev { grid-template-columns: 1fr; }
	.vm-ov-img, .vm-ov.vm-rev .vm-ov-img { grid-column: 1; grid-row: 1; }
	.vm-ov-box, .vm-ov.vm-rev .vm-ov-box { grid-column: 1; grid-row: 2; width: 90%; justify-self: center; margin-top: -60px; padding: 36px 30px; }
	.vm-split .et_pb_row { flex-direction: column; gap: 0; }
	.vm-split .et_pb_column { width: 100% !important; margin-right: 0 !important; }
	.vm-split .et_pb_column + .et_pb_column { margin-top: 40px !important; }
	.vm-foot-in { grid-template-columns: 1fr; text-align: center; gap: 30px; }
	.vm-foot-c { border: 0; padding: 0; grid-row: 1; }
	.vm-foot-r { text-align: center; }
	.vm-band { height: 380px; }
}
@media (max-width: 640px) {
	body, .et_pb_text, .et_pb_text p, .et_pb_text li { font-size: 16.5px; }
	.et_pb_text h1, .vm-h2-sm h1 { font-size: 32px !important; }
	.et_pb_text h2, .vm-ov-box h2 { font-size: 27px !important; }
	.vm-h2 { height: 560px; }
	.vm-h2-sm { height: 430px; }
	.vm-h2-in .vm-sub { font-size: 16.5px; }
	.vm-h2-img:after { background: radial-gradient(ellipse 95% 55% at 50% 45%, rgba(255,251,247,.92) 0%, rgba(255,251,247,.65) 60%, rgba(255,251,247,.25) 100%); }
	.vm-svc, .vm-acts, .vm-acts4, .vm-acts2, .vm-steps, .vm-info, .vm-feats { grid-template-columns: 1fr; }
	.vm-gal { grid-template-columns: 1fr 1fr; grid-template-rows: 200px 140px 140px; }
	.vm-gal figure:first-child { grid-column: span 2; grid-row: auto; }
	.vm-gal figure:nth-child(4) { grid-column: auto; }
	.vm-gal figure:nth-child(5) { display: none; }
	.vm-formbox { padding: 30px 22px; }
	.vm-cta-in { padding: 80px 20px 220px; }
	.vm-foot-bot { flex-direction: column; align-items: center; }
	.vm-mbar { display: grid; grid-template-columns: 1fr 1.4fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 999; box-shadow: 0 -6px 20px rgba(0,0,0,.12); }
	.vm-mbar a { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 15px 8px; font-weight: 700; font-size: 14.5px; text-decoration: none; color: #fff; background: var(--vm-dark); }
	.vm-mbar a + a { background: var(--vm-gold); }
	.vm-mbar svg { width: 17px; height: 17px; fill: currentColor; }
	body { padding-bottom: 54px; }
}
.vm-nav > p, .vm-nav br, .vm-gal > p, .vm-gal br { display: contents; }
.vm-gal figure:nth-child(4) { grid-column: auto; }
.et_pb_section.vm-top { background: var(--vm-dark) !important; }
@media (max-width: 640px) { .vm-diamond { width: 320px; } .vm-h2-in .vm-btns a.vm-btn { padding: 12px 22px; } }
.vm-cta-in { padding-bottom: 380px; }
.vm-cta-in:before { background-position: 30% 35%; -webkit-mask-image: linear-gradient(to bottom, transparent 22%, #000 62%); mask-image: linear-gradient(to bottom, transparent 22%, #000 62%); }
.vm-cta-in:before { background-position: 85% 30%; }
.vm-cta-in > .vm-narrow { padding: 10px 30px 30px; background: radial-gradient(ellipse 60% 60% at 50% 50%, rgba(248,241,236,.92) 0%, rgba(248,241,236,.7) 60%, rgba(248,241,236,0) 100%); }
@media (max-width: 640px) { .vm-cta-in:before { background-position: 80% 30%; } }
.vm-cta-in:before { top: 34%; background-position: 85% 0; -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 28%); mask-image: linear-gradient(to bottom, transparent 0%, #000 28%); }
.vm-cta-in { padding-bottom: 440px; }
@media (max-width: 640px) { .vm-cta-in { padding-bottom: 300px; } .vm-cta-in:before { top: 55%; background-position: 78% 0; } }
/* galleria cliccabile */
.vm-gal a.vm-lb { display: block; width: 100%; height: 100%; cursor: zoom-in; position: relative; }
.vm-gal a.vm-lb:after { content: ""; position: absolute; inset: 0; background: rgba(58,50,46,0); transition: background .3s; }
.vm-gal a.vm-lb:hover:after { background: rgba(58,50,46,.15); }
.vm-lbx { position: fixed; inset: 0; z-index: 100000; background: rgba(30,26,24,.92); display: none; align-items: center; justify-content: center; padding: 40px 70px; }
.vm-lbx.on { display: flex; }
.vm-lbx figure { margin: 0; max-width: 100%; max-height: 100%; text-align: center; }
.vm-lbx img { max-width: 100%; max-height: calc(100vh - 120px); display: block; margin: 0 auto; box-shadow: 0 20px 60px rgba(0,0,0,.5); }
.vm-lbx figcaption { color: #e9dfd5; font-family: var(--vm-sans); font-size: 15px; margin-top: 14px; }
.vm-lbx button { position: absolute; background: none; border: 0; color: #fff; cursor: pointer; font-size: 46px; line-height: 1; padding: 10px 16px; opacity: .8; }
.vm-lbx button:hover { opacity: 1; color: var(--vm-gold-lt); }
.vm-lbx-x { top: 10px; right: 14px; }
.vm-lbx-p { left: 10px; top: 50%; transform: translateY(-50%); }
.vm-lbx-n { right: 10px; top: 50%; transform: translateY(-50%); }
@media (max-width: 640px) { .vm-lbx { padding: 50px 10px; } .vm-lbx-p, .vm-lbx-n { top: auto; bottom: 10px; transform: none; } }
.vm-acts3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 980px) { .vm-acts3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .vm-acts3 { grid-template-columns: 1fr; } }
.vm-acts3 > .vm-act:not(.vm-act-img) { display: flex; flex-direction: column; justify-content: center; }
.vm-band { background-position: center 40%; }
/* slideshow apertura Home */
.vm-slides { background: var(--vm-blush); }
.vm-slide { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0; transition: opacity 1.4s ease; transform: scale(1.04); }
.vm-slide.on { opacity: 1; animation: vm-zoom 7s ease-out forwards; }
@keyframes vm-zoom { from { transform: scale(1.06); } to { transform: scale(1); } }
.vm-slides:after { z-index: 1; }
.vm-dots { position: absolute; left: 50%; bottom: 25%; transform: translateX(-50%); z-index: 3; display: flex; gap: 10px; }
.vm-dots button { width: 10px; height: 10px; padding: 0; border: 1px solid #fff; background: rgba(255,255,255,.35); transform: rotate(45deg); cursor: pointer; box-shadow: 0 1px 4px rgba(0,0,0,.25); }
.vm-dots button.on { background: var(--vm-gold); border-color: var(--vm-gold); }
@media (prefers-reduced-motion: reduce) { .vm-slide.on { animation: none; } .vm-slide { transition: none; } }
@media (max-width: 640px) { .vm-dots { bottom: 23%; } }
@media (max-width: 640px) { .vm-h2:has(.vm-slides) { height: 600px; } .vm-dots { bottom: 19%; } }
@media (max-width: 640px) { .vm-h2:has(.vm-slides) { height: 640px; } .vm-dots { bottom: 22%; } }
/* rombo più grande */
.vm-diamond { width: 600px; margin: 0 auto 30px; }
.vm-diamond .vm-d-in { clip-path: polygon(50% 1%, 99% 50%, 50% 99%, 1% 50%); }
.vm-diamond .vm-d-frame { inset: 4%; transform: rotate(45deg) scale(1.02); }
.vm-diamond .vm-d-badge { bottom: -30px; }
.vm-about .et_pb_column:last-child { display: flex; justify-content: center; }
@media (max-width: 1100px) { .vm-diamond { width: 480px; } }
@media (max-width: 640px) { .vm-diamond { width: 340px; } }
.vm-diamond { width: min(540px, 100%); }
.vm-diamond .vm-d-frame { inset: 11%; transform: rotate(45deg); }
.vm-diamond .vm-d-badge { bottom: -12px; }
.vm-about .et_pb_row { gap: 4%; }
.vm-about .et_pb_column:last-child { display: block; }
.vm-diamond { width: 540px; max-width: 100%; }
@media (max-width: 640px) { .vm-diamond { width: 320px; } }
/* leggibilità hero */
.vm-h2-img:after, .vm-slides:after { content: ""; position: absolute; inset: 0; z-index: 1; background: radial-gradient(ellipse 42% 46% at 50% 44%, rgba(250,245,240,.94) 0%, rgba(250,245,240,.86) 50%, rgba(250,245,240,.45) 78%, rgba(250,245,240,.08) 100%); }
.vm-h2-in h1 { color: #2b2420 !important; text-shadow: 0 1px 12px rgba(255,251,247,.9); }
.vm-h2-in .vm-sub { color: #3d342e !important; font-weight: 600; text-shadow: 0 1px 8px rgba(255,251,247,.95); }
.vm-h2-in .vm-eyebrow { color: #7d6233 !important; text-shadow: 0 1px 6px rgba(255,251,247,.95); }
@media (max-width: 640px) { .vm-h2-img:after, .vm-slides:after { background: radial-gradient(ellipse 100% 52% at 50% 46%, rgba(250,245,240,.94) 0%, rgba(250,245,240,.82) 65%, rgba(250,245,240,.35) 100%); } }
a.vm-mail { white-space: nowrap; word-break: normal !important; }
.vm-info a.vm-mail { font-size: 15px !important; letter-spacing: -.01em; }
.vm-info > div { padding-left: 18px; padding-right: 18px; }
@media (max-width: 1100px) and (min-width: 981px) { .vm-info a.vm-mail { font-size: 13.5px !important; } }
@media (max-width: 380px) { .vm-info a.vm-mail { font-size: 14px !important; } }
/* tablet: niente card orfane */
@media (min-width: 641px) and (max-width: 980px) {
	.vm-svc, .vm-steps, .vm-info, .vm-acts3, .vm-acts { grid-template-columns: repeat(3, 1fr); gap: 16px; }
	.vm-svc > div, .vm-act { padding: 30px 18px 26px; }
	.vm-h2 { height: 640px; } .vm-h2-sm { height: 520px; }
}
@media (min-width: 641px) and (max-width: 980px) { .vm-h2-img:after, .vm-slides:after { background: radial-gradient(ellipse 75% 50% at 50% 44%, rgba(250,245,240,.94) 0%, rgba(250,245,240,.84) 60%, rgba(250,245,240,.3) 100%); } }
.vm-map iframe { filter: none; }
/* ritocchi mobile */
@media (max-width: 640px) {
	.vm-h2-in .vm-btns { justify-content: center; }
	.vm-band { background-position: 12% center; }
	.et_pb_section:not(.vm-hero):not(.vm-cta):not(.vm-top):not(.vm-hdr):not(.vm-foot):not(:has(.vm-band)):not(:has(.vm-map)) { padding-top: 40px !important; padding-bottom: 40px !important; }
	.vm-about { padding-top: 60px !important; }
	.vm-ghost[data-w]:before { top: -30px; font-size: 64px; }
}
/* mobile: aperture pagine interne, testo staccato dal logo */
@media (max-width: 980px) {
	.vm-h2.vm-h2-sm { height: auto; }
	.vm-h2-sm .vm-h2-in { height: auto; padding: 56px 22px 150px; }
}
/* ---------- animazioni (leggere) ---------- */
.vm-anim .vm-rv { opacity: 0; transform: translateY(28px); transition: opacity .9s cubic-bezier(.2,.7,.2,1), transform .9s cubic-bezier(.2,.7,.2,1); transition-delay: var(--d, 0s); }
.vm-anim .vm-rv.vm-l { transform: translateX(-36px); }
.vm-anim .vm-rv.vm-r { transform: translateX(36px); }
.vm-anim .vm-rv.vm-z { transform: scale(.94); }
.vm-anim .vm-rv.in { opacity: 1; transform: none; }
.vm-anim .vm-orn:before, .vm-anim .vm-orn:after { transform: scaleX(0); transition: transform 1s .3s ease; }
.vm-anim .vm-orn.in:before, .vm-anim .vm-orn.in:after { transform: scaleX(1); }
.vm-h2-in > * { animation: vm-up 1s cubic-bezier(.2,.7,.2,1) both; }
.vm-h2-in > *:nth-child(2) { animation-delay: .12s; } .vm-h2-in > *:nth-child(3) { animation-delay: .24s; } .vm-h2-in > *:nth-child(4) { animation-delay: .34s; } .vm-h2-in > *:nth-child(5) { animation-delay: .44s; }
@keyframes vm-up { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
.vm-h2-orn { animation: vm-spin 1.2s .5s ease both; }
@keyframes vm-spin { from { opacity: 0; transform: rotate(-45deg) scale(.6); } to { opacity: 1; transform: rotate(45deg) scale(1); } }
.vm-ov-img img, .vm-act-img img, .vm-gal img { transition: transform 1.2s ease; }
.vm-ov-img { overflow: hidden; }
.vm-ov:hover .vm-ov-img img, .vm-act-img:hover img { transform: scale(1.04); }
.vm-act-img { overflow: hidden; transition: transform .35s, box-shadow .35s; }
.vm-act-img:hover { transform: translateY(-4px); box-shadow: 0 26px 50px -28px rgba(58,50,46,.45); }
a.vm-btn { transition: background .25s, transform .25s, box-shadow .25s; }
a.vm-btn:hover { transform: translateY(-2px); }
.vm-diamond .vm-d-frame { transition: transform 1.4s ease; }
.vm-diamond.in .vm-d-frame { transform: rotate(45deg) scale(1.02); }
.vm-anim .vm-diamond:not(.in) .vm-d-frame { transform: rotate(0deg) scale(.8); }
@media (prefers-reduced-motion: reduce) {
	.vm-anim .vm-rv, .vm-h2-in > *, .vm-h2-orn { opacity: 1 !important; transform: none !important; animation: none !important; transition: none !important; }
	.vm-anim .vm-orn:before, .vm-anim .vm-orn:after { transform: none; }
}
@media (max-width: 640px) { .et_pb_section.vm-home-svc { padding-top: 70px !important; } }

/* checkbox privacy: un solo quadrato */
.vm-formbox input[type=checkbox]{-webkit-appearance:none!important;appearance:none!important;width:20px!important;height:20px!important;min-width:20px;padding:0!important;margin:2px 10px 0 0!important;border:1.5px solid #b8975a!important;border-radius:4px!important;background:#fff!important;box-shadow:none!important;outline:none;cursor:pointer;position:relative;vertical-align:top}
.vm-formbox input[type=checkbox]::before,.vm-formbox input[type=checkbox]::after{display:none!important}
.vm-formbox input[type=checkbox]:checked{background:#b8975a url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3.2 3.2L15 7' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat!important}
.vm-formbox input[type=checkbox]:focus-visible{box-shadow:0 0 0 3px rgba(184,151,90,.3)!important}
