/* ===== Tono più delicato, nuovi componenti, animazioni (si applica sopra style.css) ===== */
:root { --sage-soft: #EDF2F1; --sage-mist: #F5F7F7; --sand: #EDF2F1; }

/* fasce "verdi" -> verde salvia chiarissimo, testo scuro */
.section-dark { background: var(--sage-soft); color: var(--text); position: relative; overflow: hidden; }
.section-dark > .container { position: relative; z-index: 1; }
.section-dark h2 { color: var(--ink); }
.section-dark .btn-light { background: var(--forest); border-color: var(--forest); color: var(--cream-l); }
.section-dark .btn-light:hover { background: var(--sage-d); border-color: var(--sage-d); color: #fff; }
.section-dark .btn-outline-light { color: var(--forest); border-color: var(--forest); }
.section-dark .btn-outline-light:hover { background: var(--forest); color: var(--cream-l); border-color: var(--forest); }
.cta-band { padding: clamp(4rem, 9vw, 6.5rem) 0; }

/* footer chiaro */
.site-footer { background: var(--sand); color: var(--text); border-top: 1px solid var(--line); }
.site-footer a { color: var(--ink); }
.site-footer a:hover { color: var(--brown); text-decoration: none; }
.brand-footer { color: var(--ink); }
.brand-footer img { filter: none; }
.brand-footer .brand-text small { color: var(--brown); }
.footer-h { color: var(--brown); }
.footer-social a { border-color: rgba(31, 42, 46, .25); color: var(--ink); }
.footer-social a:hover { background: var(--forest); color: #fff; border-color: var(--forest); }
.footer-bottom { border-top-color: rgba(31, 42, 46, .12); }
.footer-bottom .linklike { color: var(--ink); }

/* a chi è rivolto: schede con icone */
.audience { grid-template-columns: repeat(3, 1fr); gap: 1.3rem; max-width: 1100px; counter-reset: aud; }
.audience li { flex-direction: column; align-items: flex-start; gap: 1.1rem; padding: 1.8rem 1.7rem 1.9rem; background: #fff; border: 1px solid var(--line); border-radius: 24px; position: relative; overflow: hidden; counter-increment: aud; }
.audience li::after { content: "0" counter(aud); position: absolute; right: 1.2rem; top: .6rem; font-family: var(--font-head); font-style: italic; font-weight: 300; font-size: 2.6rem; color: rgba(176, 141, 87, .22); transition: color .4s, transform .4s; }
.audience li:hover::after { color: rgba(176, 141, 87, .6); transform: translateY(-4px); }
.audience li:last-child:nth-child(odd) { grid-column: auto; }
.audience li:nth-child(7) { grid-column: span 2; flex-direction: row; align-items: center; }
.audience li:hover { transform: translateY(-6px); box-shadow: var(--shadow); background: #fff; border-color: var(--sage); }
.aud-t { font-family: var(--font-head); font-size: 1.18rem; line-height: 1.35; color: var(--ink); }
.tick { width: 58px; height: 58px; background: var(--sage-soft); color: var(--sage-d); transition: background .4s, color .4s, transform .5s; flex: none; }
.audience li:hover .tick { background: var(--sage-d); color: #fff; transform: rotate(-8deg) scale(1.06); }

/* chi sono */
.about-top { padding-bottom: clamp(2rem, 4vw, 3rem); background: var(--cream); }
.about-grid { display: grid; grid-template-columns: 380px 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.about-side { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 1.4rem; }
.portrait-card { background: var(--cream); border-radius: 999px 999px 26px 26px; padding: 12px 12px 1.4rem; text-align: center; box-shadow: var(--shadow); }
.portrait-card .portrait { border-radius: 999px 999px 18px 18px; aspect-ratio: 4 / 5; width: 100%; object-fit: cover; object-position: center 22%; box-shadow: none; max-height: none; }
.portrait-name { margin: 1.1rem 0 0; display: flex; flex-direction: column; line-height: 1.35; }
.portrait-name strong { font-family: var(--font-head); font-weight: 400; font-size: 1.4rem; color: var(--ink); }
.portrait-name span { font-size: .85rem; letter-spacing: 1.5px; text-transform: uppercase; color: var(--brown); font-weight: 500; }
.badges { list-style: none; display: grid; gap: .7rem; }
.badges li { display: flex; gap: .9rem; align-items: center; padding: .9rem 1.1rem; background: var(--sage-mist); border: 1px solid var(--sage-soft); border-radius: 16px; }
.badge-dot { flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 5px rgba(176, 141, 87, .2); }
.badges strong { display: block; font-weight: 500; color: var(--ink); line-height: 1.3; }
.badges small { display: block; font-size: .82rem; color: rgba(31, 42, 46, .72); line-height: 1.4; }
.about-lead { font-family: var(--font-head); font-size: clamp(1.35rem, 2.4vw, 1.75rem); line-height: 1.5; color: var(--ink); }
.pullquote { margin: 2rem 0; padding: .4rem 0 .4rem 1.8rem; border-left: 2px solid var(--gold); font-family: var(--font-head); font-style: italic; font-weight: 300; font-size: 1.3rem; line-height: 1.6; color: var(--forest); }
.values { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; margin-top: 2.4rem; }
.value-card { padding: 1.8rem; border-radius: 24px; background: var(--sage-mist); border: 1px solid var(--sage-soft); transition: transform .4s, box-shadow .4s, background .4s; }
.value-card:nth-child(2) { background: #E6EEEC; border-color: #D5E2DF; }
.value-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); background: #fff; }
.value-ico { display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; background: #fff; color: var(--sage-d); margin-bottom: 1.1rem; box-shadow: 0 8px 20px -12px rgba(47, 93, 87, .5); }
.value-card:nth-child(2) .value-ico { color: var(--brown); }
.value-card h3 { margin-bottom: .4rem; }
.value-card p { margin: 0; }
.approach { max-width: 900px; margin: 0 auto; display: grid; gap: 1.1rem; }
.approach p { position: relative; margin: 0; padding: 1.6rem 1.8rem 1.6rem 5.2rem; background: #fff; border: 1px solid var(--line); border-radius: 22px; transition: transform .4s, box-shadow .4s; }
.approach p:hover { transform: translateX(6px); box-shadow: var(--shadow); }
.ap-n { position: absolute; left: 1.6rem; top: 1.25rem; font-family: var(--font-head); font-style: italic; font-weight: 300; font-size: 2.2rem; line-height: 1; color: var(--gold); }

/* contatti */
.contact-hero { padding-bottom: clamp(2.5rem, 5vw, 3.5rem); }
.quick { display: flex; flex-wrap: wrap; justify-content: center; gap: .8rem; margin-top: 2rem; }
.quick-btn { display: inline-flex; align-items: center; gap: .6rem; padding: .85rem 1.5rem; border-radius: 50px; background: #fff; border: 1px solid var(--line); color: var(--ink); text-decoration: none; font-weight: 500; font-size: .92rem; letter-spacing: .5px; transition: transform .3s, box-shadow .3s, background .3s, color .3s; }
.quick-btn svg { width: 20px; height: 20px; color: var(--sage-d); }
.quick-btn:hover { transform: translateY(-3px); box-shadow: var(--shadow); color: var(--ink); }
.quick-main { background: var(--forest); border-color: var(--forest); color: var(--cream-l); }
.quick-main svg { color: var(--cream-l); }
.quick-main:hover { background: var(--sage-d); color: #fff; }
.contact-card { background: #fff; border-radius: 20px; }
.ci { flex: none; display: grid; place-items: center; width: 50px; height: 50px; border-radius: 50%; background: var(--sage-soft); transition: background .3s; }
.contact-card:hover .ci { background: var(--sage-d); }
.contact-card:hover .ci svg { color: #fff; }
.gate-ico { display: grid; place-items: center; width: 62px; height: 62px; border-radius: 50%; background: #fff; color: var(--sage-d); margin-bottom: .8rem; box-shadow: 0 10px 24px -14px rgba(47, 93, 87, .5); }
.map-embed { min-height: 420px; display: flex; align-items: center; justify-content: center; background: var(--cream); }
.map-embed iframe { min-height: 420px; }
.map-embed.map-live { display: block; padding: 0; }
.nn-map { width: 100%; height: 420px; background: var(--cream); }
.nn-pin { background: none; border: 0; }
@keyframes pinDrop { from { opacity: 0; margin-top: -40px; } to { opacity: 1; margin-top: 0; } }
.leaflet-container { font-family: var(--font-body); }
.booking { display: grid; grid-template-columns: .85fr 1.15fr; background: #fff; border: 1px solid var(--line); border-radius: 30px; overflow: hidden; box-shadow: var(--shadow); }
.booking-info { padding: clamp(1.8rem, 4vw, 3.2rem); background: var(--cream); display: flex; flex-direction: column; justify-content: center; }
.booking-info h2 { font-size: clamp(1.7rem, 3vw, 2.2rem); }
.booking-steps { list-style: none; display: grid; gap: .8rem; margin: .4rem 0 1.8rem; }
.booking-steps li { display: flex; align-items: center; gap: .9rem; color: var(--ink); }
.booking-steps span { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--forest); color: var(--cream-l); font-family: var(--font-head); font-size: 1rem; }
.booking-note { margin: 1.2rem 0 0; }
.booking-info .btn { align-self: flex-start; }
.booking-cal { background: var(--cream-l); min-height: 480px; display: flex; }
.booking-cal .cal-embed { border: 0; border-radius: 0; background: transparent; width: 100%; display: flex; align-items: center; justify-content: center; }
.booking-cal iframe { min-height: 680px; }

/* FAQ chiare e animate */
.faq { display: grid; gap: .8rem; }
.faq details { border: 1px solid var(--line); border-radius: 20px; background: #fff; transition: background .4s, box-shadow .4s, border-color .4s; overflow: hidden; }
.faq details:hover { border-color: var(--sage); }
.faq details[open] { background: var(--cream-l); border-color: var(--gold); box-shadow: var(--shadow); }
.faq summary { padding: 1.3rem 4rem 1.3rem 1.6rem; font-size: 1.2rem; transition: color .3s; }
.faq details[open] summary { color: var(--forest); }
.faq summary::after { content: ""; right: 1.4rem; width: 34px; height: 34px; border-radius: 50%; background: var(--sage-soft); font-size: 0; transform: translateY(-50%); transition: background .3s; }
.faq summary::before { content: ""; position: absolute; right: calc(1.4rem + 11px); top: 50%; width: 11px; height: 11px; margin-top: -8px; border-right: 1.5px solid var(--forest); border-bottom: 1.5px solid var(--forest); transform: rotate(45deg); transition: transform .4s, margin .4s; z-index: 1; }
.faq details[open] summary::after { background: var(--gold); transform: translateY(-50%); }
.faq details[open] summary::before { transform: rotate(-135deg); margin-top: -2px; border-color: #fff; }
.faq-a { padding: 0 1.6rem 1.5rem; animation: faqIn .5s ease both; }
.faq-a p { margin: 0; padding: 0 .2rem; font-weight: 300; color: var(--text); }
@keyframes faqIn { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }

/* animazioni */
.js .reveal { transition-delay: calc(var(--i, 0) * 90ms); }
.js .hero-copy.reveal, .js .hero-media.reveal { opacity: 1; transform: none; }
.js .hero-copy > * { animation: rise .9s cubic-bezier(.2, .7, .2, 1) both; }
.js .hero-copy > :nth-child(2) { animation-delay: .1s; } .js .hero-copy > :nth-child(3) { animation-delay: .22s; } .js .hero-copy > :nth-child(4) { animation-delay: .34s; } .js .hero-copy > :nth-child(5) { animation-delay: .46s; }
.js .hero-img { animation: archIn 1.3s cubic-bezier(.2, .7, .2, 1) both; }
.hero-media::before { animation: floaty 7s ease-in-out infinite; }
@keyframes rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes archIn { from { clip-path: inset(100% 0 0 0 round 999px); transform: scale(1.08); } to { clip-path: inset(0 0 0 0 round 999px 999px 20px 20px); transform: none; } }
@keyframes floaty { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(-7px, 7px); } }
.arch-img { transition: transform 1.2s cubic-bezier(.2, .7, .2, 1); }
.js .arch-wrap { overflow: hidden; border-radius: 999px 999px 0 0; }
.js .reveal:not(.in) .arch-img { transform: scale(1.12); }
.step-n { transition: transform .5s, color .5s; display: inline-block; }
.step:hover .step-n { transform: translateX(8px) scale(1.06); }
.site-header .brand img { transition: width .3s; }
.site-header.scrolled .brand img { width: 52px; }
.progress { position: fixed; left: 0; top: 0; height: 3px; width: 100%; background: var(--gold); transform-origin: 0 50%; transform: scaleX(0); z-index: 300; pointer-events: none; }
.script { color: var(--gold); }

@media (max-width: 1040px) { .audience { grid-template-columns: repeat(2, 1fr); } .audience li:nth-child(7) { grid-column: 1 / -1; } .about-grid { grid-template-columns: 320px 1fr; } }
@media (max-width: 820px) {
  .audience, .values { grid-template-columns: 1fr; }
  .audience li:nth-child(7) { grid-column: auto; flex-direction: column; align-items: flex-start; }
  .about-grid, .booking { grid-template-columns: 1fr; }
  .about-side { position: static; max-width: 380px; margin-inline: auto; }
  .approach p { padding: 4.2rem 1.4rem 1.4rem; }
  .ap-n { left: 1.4rem; top: 1rem; }
  .booking-cal iframe { min-height: 600px; }
}
@media (prefers-reduced-motion: reduce) { .js .hero-copy > *, .js .hero-img, .hero-media::before, .faq-a, .nn-pin-in { animation: none !important; } .js .reveal:not(.in) .arch-img { transform: none; } }

/* anteprima Instagram non disponibile: scheda elegante con il titolo */
.ig-ph { flex-direction: column; gap: 1rem; padding: 1.6rem; text-align: center; background: var(--sage-soft); }
.ig-ph svg { width: 40px; height: 40px; color: var(--sage-d); }
.ig-ph strong { font-family: var(--font-head); font-weight: 400; font-size: 1.35rem; line-height: 1.25; color: var(--ink); }

.gate-note { max-width: 340px; margin: .8rem 0 0; }
.booking-cal .gate-fallback .btn { margin-top: .4rem; }

/* tinte unite: nessuna sfumatura */
.badges li { background: var(--cream); border-color: transparent; }
.value-card { border-color: transparent; }
.filters a { background: #fff; }
.service-ico, .tick, .ci { background: var(--sage-soft); }

/* a chi è rivolto: introduzione + elenco a righe (nessuna scheda isolata, uguale su ogni schermo) */
.aud-layout { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.aud-intro { position: sticky; top: calc(var(--header-h) + 24px); }
.aud-intro h2 { margin-bottom: .6rem; }
.audience { grid-template-columns: 1fr; gap: 0; max-width: none; margin: 0; counter-reset: aud; }
.audience li, .audience li:nth-child(7), .audience li:last-child:nth-child(odd) { grid-column: auto; flex-direction: row; align-items: center; gap: 1.2rem; padding: 1.2rem .4rem; background: transparent; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; overflow: visible; }
.audience li:first-child { border-top: 1px solid var(--line); }
.audience li::after { position: static; margin-left: auto; font-size: 1.6rem; color: rgba(176, 141, 87, .35); }
.audience li:hover { transform: translateX(8px); box-shadow: none; background: transparent; border-color: var(--line); }
.audience li:hover::after { transform: none; color: var(--gold); }
.aud-t { font-size: 1.2rem; }
@media (max-width: 900px) {
  .aud-layout { grid-template-columns: 1fr; gap: 1.8rem; }
  .aud-intro { position: static; }
}
@media (max-width: 520px) {
  .tick { width: 48px; height: 48px; }
  .audience li, .audience li:nth-child(7) { gap: .9rem; padding: 1rem 0; }
  .audience li::after { display: none; }
  .aud-t { font-size: 1.1rem; }
}

/* sfondi sempre bianchi o beige; il verde resta solo sui bottoni */
.section-dark { background: #EDF2F1; }
.site-footer { background: #EDF2F1; }
.hero { background: var(--cream); }
.value-card, .badges li { background: #fff; }
.value-card:nth-child(2) { background: #fff; }
.service-ico, .tick, .ci { background: #EDF2F1; }
.audience li:hover .tick { background: var(--forest); color: #fff; }
.contact-card:hover .ci { background: var(--forest); }
.section-cream .value-card, .section-cream .badges li { background: #fff; }
.section-cream .tick { background: #fff; }
.section-cream .faq details { background: #fff; }

/* footer grigio scuro */
.site-footer { background: #1F2A2E; color: rgba(245, 247, 247, .78); border-top: 0; }
.site-footer a { color: #F5F7F7; }
.site-footer a:hover { color: var(--gold); text-decoration: none; }
.brand-footer { color: #F5F7F7; }
.brand-footer img { filter: invert(1) brightness(1.15); }
.brand-footer .brand-text small { color: #9FB5B1; }
.footer-h { color: #C29C64; }
.footer-social a { border-color: rgba(245, 247, 247, .3); color: #F5F7F7; }
.footer-social a:hover { background: #F5F7F7; color: #1F2A2E; border-color: #F5F7F7; }
.footer-bottom { border-top-color: rgba(245, 247, 247, .14); }
.footer-bottom .linklike { color: #F5F7F7; }

/* chi sono: foto a rettangolo arrotondato, senza cornice né arco */
.portrait-card { background: none; box-shadow: none; padding: 0; border-radius: 0; text-align: left; }
.portrait-card .portrait { border-radius: 24px; aspect-ratio: 4 / 5; object-position: center 18%; box-shadow: var(--shadow); }
.portrait-name { margin-top: 1rem; }
.value-card, .value-card:nth-child(2) { background: #fff; border: 1px solid var(--line); }
.value-card:hover { border-color: var(--gold); }
.brand-text strong { color: inherit; }
.site-footer strong, .site-footer .brand-text strong { color: #F5F7F7; }

/* prevalenza di sfondo bianco, anche nella prenotazione */
.booking-info, .booking-cal { background: #fff; }
.booking-info { border-right: 1px solid var(--line); }
@media (max-width: 820px) { .booking-info { border-right: 0; border-bottom: 1px solid var(--line); } }
.booking-cal .gate-fallback { background: #fff; }
.form { background: #fff; }
.form input[type=text], .form input[type=email], .form input[type=tel], .form textarea { background: var(--cream-l); }

/* segnaposto della mappa: goccia + logo come sfondo (dimensioni sempre sotto controllo) */
.nn-pin-in { position: relative; width: 62px; height: 62px; animation: pinDrop .8s cubic-bezier(.3, 1.5, .5, 1) both; }
.nn-pin-in::before { content: ""; position: absolute; inset: 0; border-radius: 50% 50% 50% 0; background: #fff; border: 3px solid var(--forest); transform: rotate(-45deg); box-shadow: 0 10px 22px -6px rgba(0, 0, 0, .45); }
.nn-logo { position: absolute; left: 50%; top: 50%; width: 38px; height: 38px; margin: -19px 0 0 -19px; background: url(/assets/img/logo.png) center / contain no-repeat; }

/* footer centrato, senza sovrapposizioni con l'icona WhatsApp */
.footer-grid { grid-template-columns: repeat(3, 1fr); text-align: center; justify-items: center; }
.footer-claim { margin-inline: auto; }
.brand-footer { justify-content: center; }
.footer-social { justify-content: center; }
.footer-bottom { flex-direction: column; align-items: center; text-align: center; padding-bottom: 5.5rem; gap: .5rem; }
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr; } }

/* calendario Google: si ritaglia il banner promozionale di Google in alto */
.booking-cal .cal-embed { display: block; position: relative; overflow: hidden; height: 700px; }
.booking-cal .cal-embed iframe { display: block; width: 100%; height: calc(100% + 64px); min-height: 0; margin-top: -64px; border: 0; }
.booking-cal .cal-embed .gate-fallback { height: 100%; }
@media (max-width: 820px) { .booking-cal .cal-embed { height: 640px; } }

/* il mio approccio: schede 2x2 */
.approach { max-width: 1040px; grid-template-columns: 1fr 1fr; gap: 1.4rem; }
.approach .ap { position: relative; background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--gold); border-radius: 20px; padding: 2.4rem 2rem 2rem; transition: transform .4s, box-shadow .4s; }
.approach .ap:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.approach .ap .ap-n { position: absolute; right: 1.5rem; top: .9rem; left: auto; font-size: 3.4rem; opacity: .35; }
.ap-tag { display: block; font-size: .78rem; font-weight: 600; letter-spacing: 2.5px; text-transform: uppercase; color: var(--brown); margin-bottom: .9rem; }
.ap-t { font-size: 1.06rem; line-height: 1.8; color: var(--text); }
@media (max-width: 820px) { .approach { grid-template-columns: 1fr; } .approach .ap { padding: 2.2rem 1.5rem 1.6rem; } }

.approach .ap { padding-top: 2rem; }
.ap-ico { display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; background: var(--sage-soft); color: var(--forest); margin-bottom: 1.1rem; transition: background .4s, color .4s, transform .5s; }
.approach .ap:hover .ap-ico { background: var(--forest); color: #fff; transform: rotate(-8deg) scale(1.06); }
.approach .ap .ap-tag { margin-bottom: .7rem; }

/* rifinitura: testo più leggibile, dettagli tipografici più eleganti (stessa palette) */
:root { --text: rgba(31, 42, 46, .84); }
.muted { color: rgba(31, 42, 46, .72); }
h1, h2, .h2-like { letter-spacing: -.01em; }
.eyebrow, .post-cat, .footer-h, .contact-card small { font-weight: 500; letter-spacing: .22em; }
.lead { color: rgba(31, 42, 46, .8); }
::selection { background: var(--sage-soft); color: var(--ink); }
.btn { letter-spacing: .06em; }
.prose h3 { font-size: 1.2rem; margin: 1.6rem 0 .5rem; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.form .field-err { display: block; flex-basis: 100%; margin-top: .35rem; font-size: .85rem; font-weight: 400; color: #9E3426; }
.form .field-err::before { content: "⚠ "; }
.form [aria-invalid="true"] { border-width: 2px; }
.form .check { flex-wrap: wrap; } .form .check > span:not(.field-err) { flex: 1; min-width: 0; }

/* mappa: suggerimento per lo spostamento con due dita (touch) */
.map-embed.map-live { position: relative; }
.map-hint { position: absolute; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center; padding: 1rem; text-align: center; background: rgba(33, 50, 48, .55); color: #fff; font-size: 1.05rem; pointer-events: none; opacity: 0; transition: opacity .25s; }
.map-hint.show { opacity: 1; }

/* sfondo della pagina oltre il piè di pagina (area sotto la barra di Safari): niente striscia bianca */
html { background: var(--sand); }

/* "A chi è rivolto": senza numeri */
.audience li::after { display: none; }

/* Servizi: stesso movimento del Metodo al passaggio del mouse */
.service:hover { transform: none; }
.service-ico { transition: transform .5s, color .5s, background .5s; }
.service:hover .service-ico { transform: translateX(8px) scale(1.06); }
.card-body h3 { transition: transform .5s; }
.card:hover .card-body h3 { transform: translateX(8px); }
@media (prefers-reduced-motion: reduce) { .service:hover .service-ico, .card:hover .card-body h3 { transform: none; } }
