/*
Theme Name: NextGen AI
Author: NextGen AI
Description: Tema a blocchi per NextGen AI, modificabile con l'Editor del sito WordPress.
Version: 1.4.6
Requires at least: 6.6
Requires PHP: 7.4
Text Domain: nextgen-ai
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
*/
:root{--ink:#1d1d1f;--blue:#2457f5;--muted:#66666e;--surface:#f5f5f7;--line:#e7e7eb}
*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:95px}
body{margin:0;background:white;color:var(--ink);font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:1rem;line-height:1.55;-webkit-font-smoothing:antialiased}
p,h1,h2,h3{margin:0}p{margin-bottom:1rem}h1,h2,h3{font-weight:600;letter-spacing:-.055em;line-height:1.07;text-wrap:balance}h1{font-size:clamp(3rem,7.4vw,6.25rem)}h2{font-size:clamp(2.3rem,4.7vw,4.25rem)}h3{font-size:1.75rem;letter-spacing:-.035em}a{color:inherit;text-underline-offset:5px}
.shell{width:min(1160px,calc(100% - 80px));margin-inline:auto}
.site-header{display:flex;align-items:center;justify-content:space-between;gap:24px;min-height:80px;position:sticky;top:0;z-index:20;background:#ffffffed;backdrop-filter:blur(20px);border-bottom:1px solid #e7e7eb80}
.brand{font-size:1.9rem;line-height:1;font-weight:750;letter-spacing:-.075em;margin:0}.brand a{text-decoration:none}.brand-ai{font-weight:450;color:var(--blue);margin-left:3px}
.preview-nav{display:flex;flex-wrap:wrap;gap:30px}.preview-nav,.main-navigation{font-size:.875rem;font-weight:500}.preview-nav a{text-decoration:none;color:#494950}.preview-nav a:hover{color:var(--blue)}
.eyebrow{font-size:.875rem;font-weight:600;letter-spacing:.045em;color:var(--muted);margin-bottom:23px}
.hero{text-align:center;padding:100px 0 110px}.hero h1{margin-inline:auto;max-width:1080px}.accent{color:var(--blue)}.hero-copy{margin:28px auto 0;color:var(--muted);font-size:1.35rem;max-width:620px}.hero-actions{display:flex;justify-content:center;align-items:center;gap:18px;flex-wrap:wrap;margin-top:32px}
.wp-block-buttons{display:flex;gap:12px}.wp-block-button__link{display:inline-flex;align-items:center;justify-content:center;min-height:48px;border:1px solid var(--blue);background:var(--blue);color:white;text-decoration:none;border-radius:100px;padding:12px 25px;font-size:1rem;font-weight:500;line-height:1.4;transition:background .2s,transform .2s}
.wp-block-button__link:hover{background:#2148d6;transform:translateY(-1px)}.wp-block-button.is-style-outline .wp-block-button__link{background:transparent;color:var(--blue);border-color:transparent;padding-inline:14px}.wp-block-button.is-style-outline .wp-block-button__link:hover{background:#2855f40a}
.solutions{text-align:center;padding:0 0 100px}.solutions>.eyebrow{margin-bottom:14px}.solutions>h2{font-size:clamp(2rem,3.7vw,3.15rem)}.service-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:24px;margin-top:38px}
.service-card{border-radius:28px;background:var(--surface);padding:52px 35px;min-height:325px;display:flex;flex-direction:column;align-items:center;justify-content:center;transition:transform .25s,box-shadow .25s}
.service-card:first-child{background:linear-gradient(150deg,#f0f5ff,#eef1ff)}.service-card:last-child{background:linear-gradient(150deg,#f1faf5,#eaf6ef)}.service-card:hover{transform:translateY(-4px);box-shadow:0 15px 35px #1d1d1f08}.service-card .eyebrow{font-size:.875rem;letter-spacing:.025em;color:var(--muted);margin-bottom:16px}.service-card h3{font-size:3.4rem;margin-bottom:15px}.service-card>p:not(.eyebrow):not(.card-link){font-size:1.125rem;color:var(--muted);margin-bottom:24px}.card-link{color:var(--blue);font-size:1rem;margin:0}.card-link a{text-decoration:none}.card-link a:hover{text-decoration:underline}
.municipal,.business{display:grid;grid-template-columns:1.18fr 1fr;align-items:center;gap:80px;border-radius:30px;padding:62px;margin-bottom:24px;background:var(--surface)}.municipal{background:#f5f7ff}.municipal .eyebrow{color:var(--blue)}.municipal h2,.business h2{font-size:clamp(2.2rem,4vw,3.65rem)}.section-lead{font-size:1.125rem;line-height:1.65;color:var(--muted);max-width:600px;margin-top:23px;margin-bottom:28px}.municipal .wp-block-button__link{font-size:.95rem}.municipal-features,.usecases{min-width:0}.municipal-features>.eyebrow,.usecases>.eyebrow{color:var(--muted);margin-bottom:20px}.business{background:#f4f9f6;margin-bottom:32px}.business .eyebrow{color:#287446}.business-copy>.section-lead{margin-bottom:20px}
details{border-top:1px solid #dcdfe5;padding:18px 0}details:last-child{border-bottom:1px solid #dcdfe5}summary{font-size:1rem;font-weight:550;cursor:pointer;list-style:none;display:flex;justify-content:space-between;gap:20px;align-items:center;line-height:1.4}summary::-webkit-details-marker{display:none}summary:after{content:"+";font-size:1.4rem;font-weight:300;color:var(--muted);flex-shrink:0}details[open] summary:after{content:"−"}details[open] summary{color:var(--blue)}details p{font-size:1rem;color:var(--muted);margin:15px 0 0;line-height:1.65}
.feature-pills{display:flex;gap:8px;flex-wrap:wrap}.pill{font-size:.875rem;color:#3e6050;background:#e6efe9;padding:6px 12px;border-radius:100px;margin-bottom:0}
.wp-block-columns{display:flex;gap:24px}.wp-block-column{flex:1;min-width:0}.custom{padding-bottom:100px}.custom-card{height:100%;border-radius:24px;background:var(--surface);padding:35px 38px}.custom-card .eyebrow{margin-bottom:13px}.custom-card h3{margin-bottom:15px}.custom-card p:not(.eyebrow){color:var(--muted);font-size:1rem;margin:0;max-width:390px}
.method{text-align:center;padding-bottom:105px}.method .wp-block-columns{margin-top:45px}.method-card{padding:15px 20px}.step{display:inline-flex;align-items:center;justify-content:center;background:#eff2ff;color:var(--blue);font-size:.95rem;border-radius:50%;width:46px;height:46px;margin-bottom:18px;font-weight:600}.method-card h3{font-size:1.4rem;margin-bottom:12px}.method-card p:not(.step){color:var(--muted);font-size:1rem;margin:0}
.about{border-top:1px solid var(--line);text-align:center;padding:88px 0}.about>.section-lead{margin:25px auto 0;max-width:630px}.about h2{font-size:clamp(2.5rem,4.8vw,4rem)}
.closing{text-align:center;background:var(--surface);border-radius:28px;padding:58px 30px;margin-bottom:60px}.closing h2{font-size:clamp(2.15rem,4vw,3.3rem)}.closing .hero-actions{margin-top:25px}
.site-footer{display:flex;justify-content:space-between;align-items:center;gap:24px;flex-wrap:wrap;border-top:1px solid var(--line);padding:28px 0 40px}.site-footer .brand{font-size:1.5rem}.site-footer p:not(.brand){font-size:.875rem;color:var(--muted);margin:0}.site-footer a{text-decoration:none}.site-footer a:hover{text-decoration:underline}.article-content{padding:65px 0}.article-content h1{font-size:3rem;margin-bottom:30px}.skip-link{position:fixed;left:12px;top:-100px;padding:12px;background:white;z-index:100}.skip-link:focus{top:12px}:focus-visible{outline:3px solid #367cff;outline-offset:5px}
@media(max-width:1000px){.shell{width:calc(100% - 56px)}.municipal,.business{padding:42px;gap:40px}.hero{padding:90px 0}.service-card{padding:42px 25px}.preview-nav{gap:22px}.custom-card{padding:30px}.hero-copy{font-size:1.2rem}}
@media(max-width:700px){html{scroll-padding-top:130px}.shell{width:calc(100% - 32px)}.site-header{padding:22px 0 18px;min-height:unset;flex-wrap:wrap;gap:20px}.preview-nav{width:100%;justify-content:space-between;gap:10px;font-size:.875rem}.brand{font-size:1.9rem}.hero{padding:65px 0 75px}h1{font-size:clamp(2.5rem,8.3vw,3.8rem);letter-spacing:-.055em}.hero>.eyebrow{font-size:.8rem}.hero-copy{font-size:1.125rem;max-width:310px;margin-top:24px}.hero-actions{gap:10px;margin-top:25px}.wp-block-button__link{padding:12px 20px;font-size:.95rem}.solutions{padding-bottom:50px}.solutions>h2{font-size:2.25rem}.service-grid{grid-template-columns:1fr;gap:16px;margin-top:28px}.service-card{min-height:265px;padding:38px 25px;border-radius:24px}.service-card h3{font-size:3rem}.service-card>p:not(.eyebrow):not(.card-link){font-size:1.075rem}.municipal,.business{grid-template-columns:1fr;gap:35px;padding:35px 25px;border-radius:24px;margin-bottom:16px}.municipal h2,.business h2{font-size:2.45rem}.section-lead{font-size:1.075rem;margin-top:18px;margin-bottom:22px}.municipal-features>.eyebrow,.usecases>.eyebrow{margin-bottom:12px}.wp-block-columns{flex-direction:column;gap:16px}.custom{padding-bottom:60px}.custom-card{padding:30px 25px;border-radius:24px}.custom-card h3{font-size:1.6rem}.method{padding-bottom:60px}.method .wp-block-columns{margin-top:28px;gap:24px}.method-card{padding:0}.method-card h3{font-size:1.4rem}.method h2{font-size:2.5rem}.about{padding:55px 4px}.about h2{font-size:2.5rem}.closing{padding:40px 22px;margin-bottom:35px;border-radius:24px}.site-footer{flex-direction:column;align-items:flex-start;gap:18px;padding:25px 0 30px}.article-content{padding-top:40px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important}.service-card:hover,.wp-block-button__link:hover{transform:none}}
.hero.cinema{position:relative;padding:0;text-align:left;width:min(1440px,calc(100% - 40px));margin:18px auto 85px;border-radius:26px;overflow:hidden;background:#273036}
.media-video{margin:0;position:relative;line-height:0;overflow:hidden;border-radius:24px;background:#e5e8ec}
.media-video video{width:100%;display:block;object-fit:cover}
.hero-video{border-radius:0}.hero-video video{height:clamp(540px,44vw,690px);object-position:center}
.cinema:after{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(90deg,#07101cc7 0%,#07101c80 33%,#07101c10 72%)}
.hero-caption{position:absolute;left:clamp(32px,5vw,78px);bottom:58px;z-index:2;max-width:620px;color:white}
.hero-caption .eyebrow{color:#ffffffdb;margin-bottom:22px;letter-spacing:.09em}.hero-caption h1{font-size:clamp(3.4rem,5.2vw,5.1rem);line-height:1.06;margin:0;text-wrap:balance}
.hero-caption .hero-copy{color:#fffffff0;font-size:1.15rem;line-height:1.6;margin:22px 0 0;max-width:500px}.hero-caption .hero-actions{justify-content:flex-start;margin-top:25px}.hero-caption .wp-block-button__link{background:white;border-color:white;color:#1d1d1f}.hero-caption .wp-block-button__link:hover{background:#edf2ff}
.media-control{position:absolute;z-index:5;right:20px;top:20px;padding:10px 15px;border:1px solid #ffffff70;background:#16202a80;backdrop-filter:blur(12px);color:white;cursor:pointer;font:500 .875rem/1.4 Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;border-radius:100px;min-height:42px;min-width:110px}.media-control:hover{background:#16202acc}
.solutions{padding-bottom:72px}.solutions>h2{font-size:clamp(2.5rem,4.2vw,3.75rem)}.service-grid{gap:28px;margin-top:42px}.service-card{display:block;padding:0;min-height:unset;overflow:hidden;border-radius:26px;text-align:left;background:#f5f5f7!important}.service-card:hover{transform:translateY(-3px)}.project-photo{margin:0;width:100%;aspect-ratio:3/2;overflow:hidden;line-height:0}.project-photo img{width:100%;height:100%;display:block;object-fit:cover}.project-copy{padding:33px 36px 36px}.project-copy .eyebrow{font-size:.875rem;margin-bottom:16px;letter-spacing:.045em}.project-copy h3{font-size:2.65rem;line-height:1.08;margin-bottom:18px}.project-copy>p:not(.eyebrow):not(.card-link){font-size:1.075rem;color:var(--muted);margin-bottom:22px}
.municipal,.business{background:#fff;border-top:1px solid var(--line);border-radius:0;margin-bottom:0;padding:62px 30px;gap:100px}.business{margin-bottom:25px}.custom{padding-bottom:65px}
.about{display:grid;grid-template-columns:1fr 1fr;gap:55px;text-align:left;align-items:center;padding:70px 0}.about-media{min-width:0}.about-video video{aspect-ratio:4/3;object-fit:cover}.about h2{font-size:clamp(2.3rem,3.2vw,3.2rem)}.about .section-lead{font-size:1.05rem;margin:23px 0 0;max-width:520px}.about .eyebrow{margin-bottom:19px}.about .media-control{font-size:.8rem;right:14px;top:14px}
.closing{margin-top:10px;background:#f1f5ff;padding:58px 30px}.closing h2{font-size:clamp(2.5rem,4vw,3.6rem)}
@media(max-width:1000px){.hero-caption{max-width:470px;left:38px;bottom:44px}.hero-caption h1{font-size:3.7rem}.hero-video video{height:570px}.municipal,.business{gap:50px;padding:48px 12px}.project-copy{padding:28px}.project-copy h3{font-size:2.3rem}.about{gap:35px}.about h2{font-size:2.5rem}}
@media(max-width:700px){.hero.cinema{width:calc(100% - 32px);background:white;margin:14px auto 60px;overflow:visible;border-radius:0}.hero-video{border-radius:23px}.hero-video video{height:auto;aspect-ratio:4/3;object-position:50% 35%}.cinema:after{display:none}.hero-caption{position:static;color:var(--ink);max-width:unset;padding:31px 4px 0}.hero-caption .eyebrow{color:var(--muted);margin-bottom:18px;font-size:.875rem}.hero-caption h1{font-size:clamp(2.7rem,9.5vw,3.7rem)}.hero-caption .hero-copy{color:var(--muted);font-size:1.125rem;margin-top:19px;max-width:none}.hero-caption .hero-actions{margin-top:24px}.hero-caption .wp-block-button__link{background:var(--blue);border-color:var(--blue);color:white}.hero-caption .wp-block-button__link:hover{background:#2148d6}.media-control{right:12px;top:12px;padding:9px 13px;font-size:.875rem}.solutions{padding-bottom:35px}.solutions>h2{font-size:2.5rem}.service-grid{gap:22px;margin-top:28px}.project-copy{padding:27px}.project-copy h3{font-size:2.6rem}.project-photo{aspect-ratio:3/2}.municipal,.business{padding:38px 8px;gap:29px;border-radius:0}.municipal h2,.business h2{font-size:2.6rem}.about{grid-template-columns:1fr;padding:45px 0;gap:32px}.about-copy{padding:0 6px}.about-video video{aspect-ratio:3/2}.about h2{font-size:2.6rem}.closing{margin-top:0}.custom{padding-bottom:48px}.hero-caption br{display:initial}}

.bandi{display:grid;grid-template-columns:1.2fr 1fr;gap:70px;align-items:center;padding:60px;border-radius:28px;background:#f1f5ff;margin-bottom:35px}.bandi h2{font-size:clamp(2.3rem,4vw,3.6rem)}.bandi .eyebrow{color:var(--blue)}.bandi .section-lead{margin-bottom:0}.funding-note{font-size:.8rem;line-height:1.6;color:var(--muted);margin:17px 0 0}
.site-footer{display:block;padding:30px 0 26px;margin-bottom:0}.footer-top{display:flex;justify-content:space-between;align-items:center;gap:24px;flex-wrap:wrap;padding-bottom:23px;margin-bottom:24px;border-bottom:1px solid var(--line)}.footer-body{display:grid;grid-template-columns:minmax(0,1fr) 190px;gap:48px;align-items:start}.company-details .company-name{display:flex;align-items:center;flex-wrap:wrap;gap:12px;font-size:.9rem;font-weight:600;color:var(--ink);margin-bottom:19px}.startup-badge{display:inline-block;color:#2855f4;background:#edf2ff;border-radius:100px;padding:4px 10px;font-size:.75rem;font-weight:500;line-height:1.4}.company-grid{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);gap:34px}.site-footer h3.footer-label{font-size:.875rem;letter-spacing:0;line-height:1.4;margin:0 0 10px}.company-grid p{font-size:.8125rem!important;line-height:1.7;margin:0 0 12px!important}.company-grid p:last-child{margin-bottom:0!important}.address-label{font-weight:500;color:#494950}.footer-registry a{overflow-wrap:anywhere}.footer-support{padding-top:3px}.site-footer p.support-label{color:var(--muted);font-size:.8125rem;margin:0 0 10px;line-height:1.5}.region-logo{position:relative;width:140px;height:100px;overflow:hidden;margin:0;line-height:0}.region-logo a{display:block;width:100%;height:100%;position:relative}.region-logo img{position:absolute;display:block;width:360px!important;max-width:none!important;height:auto;left:-90px;top:-59px}.site-footer:last-child{margin-bottom:0}body>.site-footer{margin-bottom:0}body{padding-bottom:0}
@media(max-width:1000px){.bandi{padding:42px;gap:40px}.preview-nav{gap:20px}.footer-body{gap:28px}.company-grid{gap:24px}}
@media(max-width:700px){.bandi{grid-template-columns:1fr;padding:34px 25px;gap:30px;margin-bottom:14px;border-radius:24px}.bandi h2{font-size:2.5rem}.preview-nav{gap:10px 16px;justify-content:flex-start}.site-footer{padding:24px 0}.footer-top{align-items:flex-start;gap:17px;padding-bottom:20px;margin-bottom:21px}.footer-body{grid-template-columns:1fr;gap:24px}.company-grid{gap:20px}.company-details .company-name{margin-bottom:18px}.footer-support{padding-top:18px;border-top:1px solid var(--line)}}
@media(max-width:420px){.company-grid{grid-template-columns:1fr;gap:22px}.footer-top{flex-direction:column;gap:16px}}
.product-actions{display:flex;flex-wrap:wrap;gap:7px;align-items:center;margin:23px 0 20px}.municipal-copy>details,.business-copy>details{margin-top:22px;padding:15px 0}.product-actions .wp-block-button__link{font-size:.9375rem}.business .feature-pills{margin-bottom:4px}.conversation-demo{min-width:0;border-radius:26px;background:#f2f5fc;padding:30px;overflow:hidden;align-self:center}.conversation-demo.chiara{background:#edf6f1}.demo-heading{padding-bottom:25px}.demo-title{font-size:1.375rem;letter-spacing:-.025em;margin:0 0 5px}.demo-label{font-size:.75rem;line-height:1.5;color:var(--muted);margin:0}.demo-messages{display:flex;flex-direction:column;gap:16px;min-height:238px}.demo-message{padding:17px 19px;border-radius:19px;font-size:1rem;line-height:1.6;max-width:95%;box-shadow:0 4px 15px #172c4210}.demo-message.question{background:#dfe8fc;align-self:flex-end;border-bottom-right-radius:5px}.demo-message.answer{background:white;align-self:flex-start;border-bottom-left-radius:5px}.chiara .demo-message.question{background:#dceee1}.demo-message p{margin:0}.demo-message .message-author{font-size:.75rem;font-weight:600;margin:0 0 5px;color:#40536d}.chiara .message-author{color:#365c45}.demo-controls{margin-top:21px;text-align:right}.demo-replay{border:0;border-radius:100px;padding:10px 15px;background:#ffffffb8;color:#34455c;font:500 .8125rem/1.5 Inter,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;cursor:pointer;min-height:40px}.demo-replay:hover{background:white}.conversation-demo.is-replaying .question{animation:demo-message-in .45s ease both}.conversation-demo.is-replaying .answer{animation:demo-message-in .55s 1.8s ease both}@keyframes demo-message-in{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:none}}.method-inline{font-size:.9375rem;color:#494950;margin:20px 0 0;line-height:1.7;border-top:1px solid var(--line);padding-top:19px}.closing .eyebrow{color:var(--blue);margin-bottom:18px}.contact-copy{font-size:1.125rem;color:var(--muted);max-width:590px;margin:22px auto 0}.contact-number{margin:0;font-size:1.0625rem;font-weight:500}.contact-number a{text-decoration:none}.hero-caption .is-style-outline .wp-block-button__link{background:transparent;color:white;border-color:#ffffff75}.hero-caption .is-style-outline .wp-block-button__link:hover{background:#ffffff1a}.municipal,.business{gap:65px;grid-template-columns:1.05fr 1fr}.hero-caption{max-width:650px}
@media(max-width:1000px){.municipal,.business{gap:35px}.conversation-demo{padding:25px}.demo-messages{min-height:260px}}
@media(max-width:700px){.municipal,.business{grid-template-columns:1fr;gap:29px}.conversation-demo{padding:25px 22px;border-radius:24px}.demo-messages{min-height:0}.demo-message{font-size:1rem;max-width:95%}.hero-caption .is-style-outline .wp-block-button__link{color:var(--blue);background:transparent;border-color:transparent}.hero-caption .is-style-outline .wp-block-button__link:hover{background:#2855f40a}.contact-copy{font-size:1.0625rem}.closing .hero-actions{flex-direction:column;gap:15px}.product-actions .wp-block-buttons{width:auto}}
@media(prefers-reduced-motion:reduce){.conversation-demo.is-replaying .demo-message{animation:none!important}}

.chiara-product-video{width:100%;max-width:420px;margin-inline:auto}.chiara-video{border:1px solid #e2e8e3;border-radius:24px}.chiara-video video{width:100%;height:auto;aspect-ratio:720/860;object-fit:contain;background:#efeae2}.chiara-product-video>.demo-label{font-size:.75rem;line-height:1.6;margin:13px 0 0;color:var(--muted)}.chiara-product-video>details{padding:14px 0;margin-top:13px}.chiara-product-video summary{font-size:.875rem}.chiara-product-video details p{font-size:.875rem}.chiara-video .media-control{top:14px;bottom:auto;right:12px;background:#075e54e8;font-size:.75rem;padding:9px 13px;min-height:38px;min-width:100px}

.bandi-action{margin-top:26px}.bandi-action .wp-block-button__link{font-size:.9375rem}.about{gap:60px;padding:60px 0}.about .section-lead{font-size:1.0625rem;line-height:1.65}.method-inline{border-top:0;padding-top:0;margin-top:19px;font-size:.9375rem;color:#494950}.closing .contact-copy{max-width:550px}.about .media-control{right:14px;top:14px}
@media(max-width:1000px){.about{gap:35px;padding:52px 0}}
@media(max-width:700px){.about{gap:27px;padding:40px 0}.about .section-lead{font-size:1.0625rem}.about h2{font-size:2.5rem}.method-inline{margin-top:16px}.bandi-action{margin-top:23px}}

.comune-product-video{width:100%;max-width:420px;margin-inline:auto}.comune-video{border:1px solid #dfe5f2;border-radius:24px}.comune-video video{width:100%;height:auto;aspect-ratio:720/860;object-fit:contain;background:#f2f5fc}.comune-product-video>.demo-label{font-size:.75rem;line-height:1.6;margin:13px 0 0;color:var(--muted)}.comune-product-video>details{padding:14px 0;margin-top:13px}.comune-product-video summary,.comune-product-video details p{font-size:.875rem}.comune-video .media-control{top:14px;bottom:auto;right:12px;background:#2855f4e8;font-size:.75rem;padding:9px 13px;min-height:38px;min-width:100px}

.demo-playback{display:flex;align-items:center;gap:10px;width:100%;margin:12px 0 0}.demo-restart{flex:none;min-height:44px;border:1px solid #dfe4ed;border-radius:100px;padding:8px 13px;color:#34455c;background:#f5f7fb;font:500 .875rem/1.4 Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;cursor:pointer}.demo-restart:hover{background:#eaf0fc}.demo-time{flex:none;font-size:.8125rem;color:#66666e;font-variant-numeric:tabular-nums}.demo-seek{flex:1;min-width:0;width:100%;height:44px;margin:0;accent-color:#2855f4;cursor:pointer}.chiara-product-video .demo-seek{accent-color:#075e54}.demo-restart:focus-visible,.demo-seek:focus-visible{outline:3px solid #2855f4;outline-offset:3px}.demo-seek:disabled{cursor:default;opacity:.5}@media(max-width:380px){.demo-playback{gap:7px}.demo-restart{padding-inline:10px;font-size:.8125rem}}
/* A continuous opaque header avoids translucent edges during tablet scrolling. */
.site-header{position:-webkit-sticky;position:sticky;top:0;z-index:100;width:100%;max-width:none;margin:0;padding:0;min-height:0;display:block;background:#fff;backdrop-filter:none;-webkit-backdrop-filter:none;border:0;border-bottom:1px solid #e7e7eb;isolation:isolate;transition:none}
.header-inner.shell{display:flex;align-items:center;justify-content:space-between;flex-wrap:nowrap;gap:24px;min-height:80px;padding-block:0;margin-block:0;position:relative}
.header-inner>.brand{flex:none;margin:0;white-space:nowrap}
.desktop-navigation{min-width:0}
.desktop-navigation .preview-nav,.desktop-navigation .main-navigation,.desktop-navigation .wp-block-navigation__container{flex-wrap:nowrap;gap:22px;white-space:nowrap}
.header-menu{display:none;margin:0;padding:0;border:0;position:relative;flex:none}
.header-menu>summary{display:flex;align-items:center;justify-content:center;min-height:44px;padding:9px 18px;border:1px solid #e2e5ec;border-radius:100px;background:#f5f6f9;color:#1d1d1f;font-size:.9375rem;font-weight:500;line-height:1.4;list-style:none;cursor:pointer}
.header-menu>summary::-webkit-details-marker{display:none}
.header-menu[open]>summary{background:#edf2ff;border-color:#cfdafc;color:#2855f4}
.header-menu>nav{position:absolute;top:calc(100% + 12px);right:0;z-index:101;display:flex;flex-direction:column;align-items:stretch;gap:0;width:min(320px,calc(100vw - 48px));max-height:calc(100dvh - 110px);overflow-y:auto;padding:12px;border:1px solid #e3e7ef;border-radius:20px;background:#fff;box-shadow:0 16px 45px #17243a1a;font-size:1rem}
.header-menu:not([open])>nav{display:none}
.header-menu .wp-block-navigation__container,.header-menu .wp-block-navigation-item{width:100%;align-items:stretch;gap:0;flex-direction:column}
.header-menu nav a{display:flex;align-items:center;min-height:44px;padding:12px 14px;border-radius:10px;color:#30303a;text-decoration:none;line-height:1.4;white-space:normal}
.header-menu nav a:hover{background:#f1f5ff;color:#2855f4}
.header-menu>summary:focus-visible,.header-menu nav a:focus-visible{outline:3px solid #2855f4;outline-offset:3px}
.site-header-frame{position:-webkit-sticky;position:sticky;top:0;z-index:100;margin-block:0!important;background:#fff}
.site-header-frame .site-header{position:static}
@media(max-width:900px){.header-inner.shell{width:calc(100% - 48px);min-height:72px;gap:18px}.desktop-navigation{display:none}.header-menu{display:block}.header-inner>.brand{font-size:1.8rem}.header-inner .header-menu{position:static;border:0}.header-menu>nav.preview-nav{left:0;right:0;width:100%;box-sizing:border-box;flex-wrap:nowrap;justify-content:flex-start;gap:2px}}
@media(max-width:600px){.header-inner.shell{width:calc(100% - 32px);min-height:68px;gap:12px}.header-menu>nav.preview-nav{width:100%}}
body.admin-bar .site-header,body.admin-bar .site-header-frame{top:32px}
@media(max-width:782px){body.admin-bar .site-header,body.admin-bar .site-header-frame{top:46px}}

/* NextGen AI identity */
.brand .nextgen-logo{display:block;width:189px;height:40px;max-width:none;object-fit:contain}.brand a{display:inline-flex;align-items:center}.brand .nextgen-logo{vertical-align:middle}@media(max-width:640px){.brand .nextgen-logo{width:160px;height:34px}}

/* Balanced stacked mark: smaller rhino, readable wordmark. */
.brand .nextgen-logo{display:block;width:112px;height:auto;aspect-ratio:960/440;max-width:100%;object-fit:contain;border-radius:0}.header-inner.shell{min-height:80px}.site-footer .brand .nextgen-logo{width:140px}@media(max-width:640px){.brand .nextgen-logo{width:104px;height:auto}.header-inner.shell{min-height:76px}}@media(max-width:380px){.header-inner.shell{gap:10px}.header-menu>summary{padding:12px 16px}}

/* Mobile navigation shares the header width rather than the button width. */
@media(max-width:900px){
 .header-menu>summary{gap:14px;min-height:44px;padding:10px 18px;border-bottom:1px solid #e2e5ec;font-weight:550}
 .header-menu[open]>summary{border-bottom-color:#cfdafc}
 .header-menu>nav.preview-nav{top:calc(100% + 8px);padding:10px;max-height:calc(100dvh - 100px - env(safe-area-inset-bottom));border-radius:22px;box-shadow:0 18px 50px #17243a1c;overscroll-behavior:contain}
 .header-menu>nav.preview-nav>a{box-sizing:border-box;flex:none;width:100%;min-height:50px;padding:13px 16px;white-space:nowrap;font-size:17px;font-weight:500;line-height:1.4;text-align:left;border-radius:13px}
 .header-menu>nav.preview-nav>a:hover,.header-menu>nav.preview-nav>a:focus-visible{background:#f0f4ff;color:#2855f4}
 .header-menu[open]>nav{animation:header-menu-reveal 200ms cubic-bezier(.2,.8,.2,1) both}
}
@keyframes header-menu-reveal{from{opacity:0;transform:translateY(-7px)}to{opacity:1;transform:translateY(0)}}
@media(prefers-reduced-motion:reduce){.header-menu[open]>nav{animation:none}}

/* A neutral project contact action keeps the blue reserved for the voice launcher. */
.hero-caption .wp-block-button__link.project-contact-cta{background:#fff;color:#1d1d1f;border-color:#d8dce4;box-shadow:none}
.hero-caption .wp-block-button__link.project-contact-cta:hover{background:#f3f4f6;border-color:#b8bec9;color:#1d1d1f}
.hero-caption .wp-block-button__link.project-contact-cta:focus-visible{outline:3px solid #1d1d1f;outline-offset:4px}

/* Approved front-facing identity; keep the original image proportions. */
.brand .nextgen-logo{width:180px;height:auto;aspect-ratio:1402/790;max-width:100%;object-fit:contain}.header-inner.shell{min-height:112px}.site-footer .brand .nextgen-logo{width:150px;aspect-ratio:1560/1496}@media(max-width:640px){.brand .nextgen-logo{width:144px;height:auto}.header-inner.shell{min-height:90px}.site-footer .brand .nextgen-logo{width:132px}}
