:root{--text-b:#b8b8b0}.trust-src,.hero-note{opacity:1}.whatsapp-btn{background:#0b6b3a;color:#fff;box-shadow:0 8px 24px rgba(11,107,58,.3)}.whatsapp-btn:hover{box-shadow:0 12px 36px rgba(11,107,58,.4)}[data-theme="light"]{--bg:#f0e8e0;--bg-surface:#f7f1ea;--bg-card:#fbf7f2;--border:rgba(44,36,32,.18);--text-h:#2c2420;--text-b:#4a3e38;--accent-yellow:#8f4129;--accent-orange:#8f4129;--accent-pink:#9e2a2b;--accent-coral:#dcbca8;--accent-gold:#8f4129;--accent-peach:#e4c8b8;--accent-salmon:#dcbca8;--accent-magenta:#8f4129;--glow-yellow:rgba(143,65,41,.16);--glow-orange:rgba(143,65,41,.14);--glow-pink:rgba(158,42,43,.12);--glass-bg:rgba(251,247,242,.88);--glass-border:rgba(44,36,32,.14);--font-serif:'Playfair Display',Georgia,'Times New Roman',serif;color-scheme:light}[data-theme="dark"]{color-scheme:dark}[data-theme="light"] ::selection{background:#e4c8b8;color:#2c2420}[data-theme="light"] #cursor-glow{display:none}[data-theme="light"] #scroll-progress{background:#8f4129}[data-theme="light"] .hero-typing{font-style:normal;font-weight:500;letter-spacing:-.01em}[data-theme="light"] .hero-typing .cursor{background:#8f4129}[data-theme="light"] .section-title,[data-theme="light"] .cta-title,[data-theme="light"] .magnet-card h2{font-weight:500;letter-spacing:-.01em}[data-theme="light"] .section-title em,[data-theme="light"] .cta-title .accent,[data-theme="light"] .magnet-card h2 em,[data-theme="light"] .hero-name,[data-theme="light"] .stat-number,[data-theme="light"] .timeline-date,[data-theme="light"] .timeline-company,[data-theme="light"] .funnel-badge,[data-theme="light"] .project-tag,[data-theme="light"] .funnel-price,[data-theme="light"] .step::before,[data-theme="light"] .trust-rating{color:#8f4129}[data-theme="light"] .timeline-edu .timeline-date,[data-theme="light"] .timeline-edu .timeline-company{color:#8f4129}[data-theme="light"] .funnel-price,[data-theme="light"] .stat-number,[data-theme="light"] .step::before{font-weight:500}[data-theme="light"] .service-card h3,[data-theme="light"] .project-card h3,[data-theme="light"] .problem-card h3,[data-theme="light"] .timeline-role{font-weight:600;letter-spacing:0}[data-theme="light"] .timeline-company{opacity:1}[data-theme="light"] p,[data-theme="light"] li,[data-theme="light"] .about-bio,[data-theme="light"] .hero-tagline,[data-theme="light"] .timeline-desc,[data-theme="light"] .testimonial-text,[data-theme="light"] .footer-text,[data-theme="light"] .faq details p{font-weight:400}[data-theme="light"] .section-subtitle{font-weight:500}[data-theme="light"] .step .step-time{opacity:1;color:#5c4e46}[data-theme="light"] .trust-src{opacity:1;color:#5c4e46}[data-theme="light"] .hero-role,[data-theme="light"] h1.hero-role{color:#4a3e38;font-weight:500}[data-theme="light"] .hero-orb:nth-child(odd){background:radial-gradient(circle,#e4c8b8,transparent 70%);opacity:.75}[data-theme="light"] .hero-orb:nth-child(even){background:radial-gradient(circle,#e8e0d4,transparent 70%);opacity:.9}[data-theme="light"] .hero-photo{border-color:#8f4129;box-shadow:0 0 0 7px rgba(143,65,41,.12),0 22px 50px rgba(44,36,32,.18)}[data-theme="light"] .photo-blob-inner,[data-theme="light"] .funnel-photo-circle{border-color:#8f4129;box-shadow:0 12px 40px rgba(143,65,41,.2)}[data-theme="light"] .photo-blob-link::before{background:linear-gradient(135deg,#e4c8b8,#dcbca8);opacity:.8}[data-theme="light"] .stat-card,[data-theme="light"] .service-card,[data-theme="light"] .project-card,[data-theme="light"] .testimonial-card,[data-theme="light"] .problem-card,[data-theme="light"] .step,[data-theme="light"] .trust-card,[data-theme="light"] .contact-form-card,[data-theme="light"] .magnet-card{background:#fbf7f2;border:1px solid rgba(44,36,32,.14);box-shadow:0 10px 30px rgba(44,36,32,.06);backdrop-filter:none;-webkit-backdrop-filter:none}[data-theme="light"] .stat-card:hover,[data-theme="light"] .service-card:hover,[data-theme="light"] .project-card:hover,[data-theme="light"] .testimonial-card:hover{border-color:#8f4129}[data-theme="light"] .service-card.service-primary{border:2px solid #8f4129;box-shadow:0 16px 44px rgba(143,65,41,.14)}[data-theme="light"] .funnel-card{background:#fbf7f2;border:2px solid #8f4129;box-shadow:0 20px 60px rgba(143,65,41,.14);backdrop-filter:none;-webkit-backdrop-filter:none}[data-theme="light"] .funnel-card::before{background:radial-gradient(circle,rgba(228,200,184,.55),transparent 70%)}[data-theme="light"] .funnel-badge{background:rgba(143,65,41,.1)}[data-theme="light"] .project-tag{background:rgba(143,65,41,.08);border-color:rgba(143,65,41,.4)}[data-theme="light"] .skill-pill{background:#fbf7f2;color:#8f4129 !important;border:1px solid rgba(143,65,41,.4)}[data-theme="light"] .skill-pill:nth-child(even){color:#2c2420 !important;border-color:rgba(44,36,32,.35)}[data-theme="light"] .project-stack span{border-color:rgba(44,36,32,.25);color:#4a3e38}[data-theme="light"] .timeline::before{background:rgba(44,36,32,.16)}[data-theme="light"] .timeline-dot{background:#f0e8e0;border-color:#8f4129}[data-theme="light"] .timeline-entry.visible .timeline-dot,[data-theme="light"] .timeline-edu .timeline-entry.visible .timeline-dot{background:#8f4129;box-shadow:0 0 0 4px rgba(143,65,41,.15)}[data-theme="light"] .timeline-edu .timeline-dot{border-color:#8f4129}[data-theme="light"] .timeline-line-fill,[data-theme="light"] .timeline-edu .timeline-line-fill{background:#8f4129}[data-theme="light"] .funnel-cta,[data-theme="light"] #cookie-bar button.cb-yes{background:#8f4129;color:#fff;border-color:#8f4129;box-shadow:0 8px 24px rgba(143,65,41,.25)}[data-theme="light"] .funnel-cta:hover{background:#7a3622;box-shadow:0 12px 34px rgba(143,65,41,.3)}[data-theme="light"] .skip-link{background:#8f4129;color:#fff}[data-theme="light"] .btn-ghost{border:1.5px solid rgba(44,36,32,.5);color:#2c2420;background:transparent}[data-theme="light"] .btn-ghost:hover{border-color:#8f4129;color:#8f4129}[data-theme="light"] .theme-toggle,[data-theme="light"] .lang-switch,[data-theme="light"] #to-top{background:#fbf7f2;border:1px solid rgba(44,36,32,.3);color:#2c2420}[data-theme="light"] .theme-toggle:hover,[data-theme="light"] .lang-switch:hover{border-color:#8f4129;color:#8f4129}[data-theme="light"] .footer-socials a{border-color:rgba(44,36,32,.3);color:#2c2420}[data-theme="light"] .footer-socials a:hover{border-color:#8f4129;color:#8f4129}[data-theme="light"] .site-footer{border-top-color:rgba(44,36,32,.15)}[data-theme="light"] .footer-books a,[data-theme="light"] .footer-legal a{color:#4a3e38;text-decoration:underline;text-underline-offset:3px}[data-theme="light"] .footer-books a:hover{color:#8f4129}[data-theme="light"] .problem-card .fix{color:#2c2420}[data-theme="light"] .faq details{border-bottom-color:rgba(44,36,32,.2)}[data-theme="light"] .faq summary::after{color:#8f4129}[data-theme="light"] .field input,[data-theme="light"] .field select,[data-theme="light"] .field textarea{background:#fffdfa;border:1.5px solid #7a6a60;color:#2c2420}[data-theme="light"] .field input::placeholder,[data-theme="light"] .field textarea::placeholder{color:#6b5d55;opacity:1}[data-theme="light"] .field input:focus,[data-theme="light"] .field select:focus,[data-theme="light"] .field textarea:focus{outline:2px solid #8f4129;outline-offset:2px;border-color:#8f4129}[data-theme="light"] .field input[aria-invalid="true"],[data-theme="light"] .field select[aria-invalid="true"]{border-color:#9e2a2b}[data-theme="light"] .field-error,[data-theme="light"] .form-status.error{color:#9e2a2b}[data-theme="light"] .consent input{accent-color:#8f4129}[data-theme="light"] .form-success{border-color:#8f4129;background:#fffdfa}[data-theme="light"] .booking-embed{background:#fbf7f2;border-color:rgba(44,36,32,.14)}[data-theme="light"] .booking-fallback a,[data-theme="light"] .booking-alt a,[data-theme="light"] .services-extra a,[data-theme="light"] .contact-alt a,[data-theme="light"] .trust-card a,[data-theme="light"] .consent a,[data-theme="light"] #cookie-bar a{color:#8f4129;text-decoration:underline;text-underline-offset:3px}[data-theme="light"] .contact-alt a:hover{color:#7a3622}[data-theme="light"] #cookie-bar{background:#fbf7f2;border-color:rgba(44,36,32,.3);box-shadow:0 12px 40px rgba(44,36,32,.18)}[data-theme="light"] #cookie-bar button{border-color:rgba(44,36,32,.5);color:#2c2420}[data-theme="light"] *:focus-visible{outline-color:#8f4129}@media (prefers-contrast:more){[data-theme="light"]{--text-b:#2c2420;--border:rgba(44,36,32,.45)}}nav[aria-label="Servizi in evidenza"] a,nav[aria-label="Featured services"] a{color:var(--text-h);text-decoration:underline;text-underline-offset:3px}nav[aria-label="Servizi in evidenza"] a:hover,nav[aria-label="Featured services"] a:hover{color:var(--accent-yellow)}[data-theme="light"] .funnel-badge::before{content:'\2726'}@media(max-width:767px){.hero{padding-top:92px}}
/* Pagine servizi: stesso design della home */
.hero-typing.is-static{font-size:clamp(2.1rem,5.4vw,3.9rem)}
.hero-name a{color:inherit;text-decoration:none}
.hero-note{margin-top:14px;font-size:.95rem}
@media(min-width:768px){.services-grid.cols-2{grid-template-columns:repeat(2,1fr)}}
.hero-photo{display:block;width:120px;height:120px;border-radius:50%;object-fit:cover;object-position:center 18%;border:2px solid var(--accent-yellow,#ffd600);box-shadow:0 0 0 7px rgba(255,214,0,.12),0 22px 60px rgba(0,0,0,.5);margin:0 auto 18px;background:#d9d9dc}
.hero-author{display:flex;flex-direction:column;align-items:center}
@media(max-width:640px){.hero-photo{width:104px;height:104px}}

/* ===== Leggibilità v3 (entrambi i temi): corpo ≥16px, meta ≥14px, niente opacità sui testi, tap target ≥44px ===== */
body{font-size:17px;line-height:1.65}
.problem-card p,.service-card p,.service-card li,.step p,.timeline-desc,.faq p,.about-bio p,.testimonial-text,.funnel-desc,.funnel-features li,.booking-intro,.services-extra,.trust-card p,.pack-card p,.pack-card li{font-size:1rem;line-height:1.65}
.section-subtitle{font-size:1rem;font-weight:600;letter-spacing:.01em;text-transform:none;color:var(--text-b)}
.hero-note,[style*="opacity:.75"],[style*="opacity:.8"]{opacity:1!important;font-size:1rem!important;color:var(--text-b)!important}
[style*="opacity:.75"]{font-weight:600}
.timeline-date{font-size:.9rem;font-weight:700;letter-spacing:.03em}
.timeline-company{font-size:1.02rem;font-weight:700}
.step-time{font-size:.9rem;font-weight:600;opacity:1}
.stat-label{font-size:.95rem;font-weight:500}
.project-tag{font-size:.82rem;font-weight:700}
.skill-pill{font-size:.92rem;font-weight:600}
.trust-src,.funnel-note,.footer-text,.footer-legal,.footer-books a,.consent,.consent span,.opt{font-size:.9rem}
.funnel-meta span,.funnel-meta strong{font-size:.95rem}
.lang-switch,.theme-toggle{font-size:.88rem;min-height:44px}
.footer-legal a,.footer-books a,.footer-text a,.linklike{display:inline-block;padding:10px 6px;min-height:44px;line-height:1.4}
.footer-socials a{min-width:44px;min-height:44px}
.faq summary{font-size:1.05rem;font-weight:600;padding-top:18px;padding-bottom:18px}
.field label,label{font-size:.95rem;font-weight:600}
/* Tema chiaro: testi terracotta più scuri (#7a3622 ≈ 7,6:1 sul fondo) e più pesanti; testo corrente più scuro */
[data-theme="light"]{--text-b:#3b312c}
[data-theme="light"] .section-title em,[data-theme="light"] .cta-title .accent,[data-theme="light"] .magnet-card h2 em,[data-theme="light"] .hero-name,[data-theme="light"] .stat-number,[data-theme="light"] .timeline-date,[data-theme="light"] .timeline-company,[data-theme="light"] .funnel-badge,[data-theme="light"] .project-tag,[data-theme="light"] .funnel-price,[data-theme="light"] .step::before,[data-theme="light"] .trust-rating,[data-theme="light"] .skill-pill,[data-theme="light"] .booking-fallback a,[data-theme="light"] .booking-alt a,[data-theme="light"] .services-extra a,[data-theme="light"] .contact-alt a,[data-theme="light"] .trust-card a,[data-theme="light"] .consent a,[data-theme="light"] #cookie-bar a,[data-theme="light"] .faq summary::after,[data-theme="light"] .btn-ghost:hover,[data-theme="light"] .footer-socials a:hover{color:#7a3622}
[data-theme="light"] .skill-pill{color:#7a3622!important}
[data-theme="light"] .skill-pill:nth-child(even){color:#2c2420!important}
[data-theme="light"] .section-title em,[data-theme="light"] .cta-title .accent,[data-theme="light"] .magnet-card h2 em{font-weight:600}
[data-theme="light"] .hero-name{font-weight:600}
[data-theme="light"] .funnel-price,[data-theme="light"] .stat-number,[data-theme="light"] .step::before{font-weight:600}
[data-theme="light"] .step .step-time,[data-theme="light"] .trust-src,[data-theme="light"] .hero-role,[data-theme="light"] h1.hero-role{color:#3b312c}
[data-theme="light"] .booking-fallback a,[data-theme="light"] .services-extra a,[data-theme="light"] .contact-alt a,[data-theme="light"] .trust-card a{font-weight:700}
[data-theme="light"] .footer-text,[data-theme="light"] .footer-legal,[data-theme="light"] .footer-books a,[data-theme="light"] .footer-legal a,[data-theme="light"] .footer-text a{color:#3b312c}
[data-theme="light"] .funnel-badge,[data-theme="light"] .project-tag{background:rgba(143,65,41,.12);border-color:rgba(122,54,34,.55)}
[data-theme="light"] .field input::placeholder,[data-theme="light"] .field textarea::placeholder{color:#5c4e46}
[data-theme="light"] p[style*="color:var(--accent-yellow)"]{color:#7a3622!important;font-weight:600}
[data-theme="light"] .timeline-edu .timeline-date,[data-theme="light"] .timeline-edu .timeline-company,[data-theme="light"] .timeline-entry .timeline-date,[data-theme="light"] .timeline-entry .timeline-company{color:#7a3622;opacity:1}
.timeline-edu .timeline-company,.timeline-edu .timeline-date{font-weight:700}
.step .step-time{font-size:.9rem;font-weight:600;opacity:1}
.funnel-badge{font-size:.85rem}
.project-tag{font-size:.85rem}
.problem-card .fix{font-size:.9rem;font-weight:700}
.timeline-desc{font-size:1rem}
.timeline-entry .timeline-date{font-weight:700}


/* ===== Rifinitura editoriale v4 ===== */
:root{--band:rgba(255,255,255,.035)}
[data-theme="light"]{--band:#e9dfd3}
html{scroll-behavior:smooth}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
.section-title,.hero-typing{text-wrap:balance}
p,li{text-wrap:pretty}
main>section[id],#main section[id]{scroll-margin-top:24px}
[data-theme="light"] body::before{content:"";position:fixed;inset:0;z-index:0;pointer-events:none;opacity:.5;mix-blend-mode:multiply;background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 .35 0 0 0 0 .27 0 0 0 0 .22 0 0 0 .07 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>")}
@media(max-height:1000px){.hero-scroll{display:none}}
.hero-role{letter-spacing:.18em}
.hero-name{font-family:var(--font-serif);font-style:italic;font-size:clamp(1.8rem,4vw,2.4rem);font-weight:500;letter-spacing:-.01em}
[data-theme="light"] .hero-name{font-weight:600}
.hero-author::after{content:"";display:block;width:56px;height:2px;margin:22px auto 0;background:var(--accent-yellow);opacity:.7;border-radius:2px}
main,#main{counter-reset:sec}
.section-container>.section-title::before{counter-increment:sec;content:counter(sec,decimal-leading-zero) "  \2014" / "";display:block;font-family:var(--font-sans);font-style:normal;font-size:.8rem;font-weight:700;letter-spacing:.22em;line-height:1;margin-bottom:18px;color:var(--accent-yellow)}
[data-theme="light"] .section-container>.section-title::before{color:#7a3622}
.section-container>.section-title{margin-bottom:14px}
#services,#metodo,#faq,main>.section-container:nth-of-type(odd):not(#problemi){background:var(--band);box-shadow:0 0 0 100vmax var(--band);clip-path:inset(0 -100vmax)}
.problem-card,.service-card,.step,.testimonial-card,.stat-card,.trust-card{border-radius:22px;transition:transform .45s cubic-bezier(.16,1,.3,1),box-shadow .45s,border-color .3s}
@media(hover:hover){.problem-card:hover,.service-card:hover,.step:hover,.testimonial-card:hover{transform:translateY(-5px)}
[data-theme="light"] .problem-card:hover,[data-theme="light"] .service-card:hover,[data-theme="light"] .step:hover,[data-theme="light"] .testimonial-card:hover{box-shadow:0 22px 50px rgba(44,36,32,.12);border-color:#8f4129}}
.problem-card h3,.service-card h3,.step h3{font-family:var(--font-serif);font-weight:600;font-size:1.3rem;line-height:1.25;letter-spacing:-.005em}
.funnel-cta,.btn-ghost{transition:transform .3s cubic-bezier(.16,1,.3,1),box-shadow .3s,background .3s,color .3s,border-color .3s}
.funnel-cta svg{transition:transform .3s cubic-bezier(.16,1,.3,1)}
.funnel-cta:hover svg{transform:translateX(5px)}
.funnel-cta:active,.btn-ghost:active{transform:scale(.98)}
[data-theme="light"] .btn-ghost:hover{background:#8f4129;color:#fff;border-color:#8f4129}
.faq summary{transition:color .25s}
.faq summary:hover{color:var(--accent-yellow)}
[data-theme="light"] .faq summary:hover{color:#7a3622}
.site-footer{position:relative;overflow:hidden;padding-top:72px}
.site-footer::before{content:"Nicola Pes" / "";display:block;text-align:center;font-family:var(--font-serif);font-style:italic;font-weight:500;font-size:clamp(3.2rem,13vw,10rem);line-height:1;letter-spacing:-.03em;margin-bottom:34px;color:var(--text-h);opacity:.07;pointer-events:none;user-select:none}
@media(prefers-reduced-motion:no-preference){.js-reveal{opacity:0;transform:translateY(28px);transition:opacity .8s cubic-bezier(.16,1,.3,1),transform .8s cubic-bezier(.16,1,.3,1)}.js-reveal.in{opacity:1;transform:none}}
