/*
Theme Name: NC Fiscal Consulting
Theme URI: https://example.com/
Author: NC
Description: Tema consulting premium per studi fiscali, tributari e di consulenza.
Version: 0.3.4
Text Domain: nc-fiscal-consulting
*/
:root{
  --nc-primary:#0066CC;
  --nc-primary-2:#004C99;
  --nc-sky:#eaf7fd;
  --nc-sky-2:#f4fbfe;
  --nc-text:#162833;
  --nc-muted:#667884;
  --nc-soft:#f6fafc;
  --nc-line:#dce9ef;
  --nc-white:#fff;
  --nc-radius:22px;
  --nc-shadow:0 18px 45px rgba(33,135,183,.10);
  --nc-max:1760px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font-family:Inter,Arial,sans-serif;color:var(--nc-text);background:#fff;line-height:1.6}
a{color:inherit;text-decoration:none}
img{max-width:100%;height:auto}
.nc-icon{width:23px;height:23px;display:block}
.nc-shell{width:min(calc(100% - 36px),var(--nc-max));margin-inline:auto}
.nc-topbar{margin:2px auto 10px;background:var(--nc-primary);color:#fff;border-radius:0 0 14px 14px;font-size:13px}
.nc-topbar__in{display:flex;align-items:center;justify-content:space-between;min-height:38px;padding:0 16px;gap:20px}
.nc-topbar__group{display:flex;align-items:center;gap:22px;flex-wrap:wrap}
.nc-topbar a{opacity:.98}
.nc-header{position:relative;z-index:30}
.nc-header__main{background:#fff;border:1px solid var(--nc-line);box-shadow:0 7px 24px rgba(35,130,175,.06);border-radius:18px;display:grid;grid-template-columns:minmax(220px,1fr) auto minmax(220px,1fr);align-items:center;gap:24px;padding:18px 20px;margin-bottom:16px}
.nc-brand{display:flex;align-items:center;gap:12px;min-width:0}
.nc-brand img{max-height:54px;width:auto}
.nc-brand__demo{font-weight:650;letter-spacing:-.02em;font-size:26px}
.nc-nav ul{display:flex;align-items:center;justify-content:center;gap:36px;list-style:none;padding:0;margin:0}
.nc-nav a{font-size:13px;font-weight:650;letter-spacing:.08em;text-transform:uppercase}
.nc-nav .current-menu-item>a,.nc-nav a:hover{color:var(--nc-primary-2)}
.nc-header__actions{display:flex;justify-content:flex-end;align-items:center;gap:12px}
.nc-search-btn{width:44px;height:44px;border-radius:50%;border:1px solid #bfe1f1;background:var(--nc-sky);color:var(--nc-primary-2);display:grid;place-items:center;cursor:pointer}
.nc-search-btn .nc-icon{width:18px;height:18px}
.nc-btn{display:inline-flex;align-items:center;justify-content:center;min-height:46px;padding:0 24px;border-radius:999px;background:var(--nc-primary);color:#fff;font-weight:700;font-size:13px;letter-spacing:.03em;border:1px solid var(--nc-primary);transition:.2s ease}
.nc-btn:hover{background:var(--nc-primary-2);border-color:var(--nc-primary-2);transform:translateY(-1px)}
.nc-btn--light{background:#fff;color:var(--nc-primary-2);border-color:#fff}
.nc-btn--outline{background:#fff;color:var(--nc-primary-2);border-color:#bfe1f1}
.nc-mobile-toggle{display:none;border:1px solid #bfe1f1;background:var(--nc-sky);color:var(--nc-primary-2);width:46px;height:46px;border-radius:12px;font-size:22px}
.nc-hero{position:relative;overflow:hidden;border-radius:22px;min-height:650px;background:var(--nc-sky);box-shadow:var(--nc-shadow)}
.nc-hero__slide{min-height:650px;display:flex;align-items:center;background-size:cover;background-position:center;position:relative}
.nc-hero__slide:before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(255,255,255,.98) 0%,rgba(245,251,254,.96) 34%,rgba(232,247,253,.76) 50%,rgba(232,247,253,.14) 72%,rgba(255,255,255,.02) 100%)}
.nc-hero__content{position:relative;z-index:2;width:min(720px,58%);padding:80px 0 80px 14%}
.nc-kicker{display:inline-flex;align-items:center;gap:8px;background:#fff;border:1px solid #cce8f5;color:var(--nc-primary-2);box-shadow:0 7px 22px rgba(43,155,212,.08);border-radius:7px;padding:5px 8px;font-size:11px;font-weight:700;letter-spacing:.06em;text-transform:uppercase}
.nc-kicker strong{background:var(--nc-primary);color:#fff;padding:3px 7px;border-radius:4px}
.nc-hero h1{color:var(--nc-text);font-size:clamp(46px,5vw,74px);line-height:1.04;letter-spacing:-.035em;margin:22px 0 24px;font-weight:620}
.nc-hero p{color:#405964;font-size:18px;max-width:610px;margin-bottom:32px}
.nc-hero__nav{position:absolute;right:42px;bottom:0;z-index:5;background:#fff;border-radius:18px 18px 0 0;padding:11px 14px;display:flex;gap:10px}
.nc-hero__nav button{width:42px;height:42px;border-radius:50%;border:1px solid #cfe4ee;background:var(--nc-sky-2);color:var(--nc-primary-2);cursor:pointer;font-size:18px}
.nc-section{padding:88px 0}
.nc-section--soft{background:var(--nc-sky-2)}
.nc-heading{max-width:820px;margin-bottom:36px}
.nc-eyebrow{color:var(--nc-primary-2);font-weight:700;font-size:12px;letter-spacing:.12em;text-transform:uppercase}
.nc-heading h2{font-size:clamp(34px,4vw,52px);line-height:1.08;letter-spacing:-.03em;margin:10px 0 14px;font-weight:620}
.nc-heading p{color:var(--nc-muted);font-size:17px;margin:0}
.nc-services-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;width:100%}
.nc-service-card{background:#fff;border:1px solid var(--nc-line);border-radius:20px;padding:26px;min-height:245px;display:flex;flex-direction:column;transition:.2s ease}
.nc-service-card:hover{transform:translateY(-5px);box-shadow:var(--nc-shadow);border-color:#a9d7ec}
.nc-service-card__icon{width:54px;height:54px;border-radius:15px;background:var(--nc-sky);color:var(--nc-primary-2);display:grid;place-items:center;margin-bottom:26px}
.nc-service-card__icon .nc-icon{width:27px;height:27px}
.nc-service-card h3{font-size:21px;line-height:1.2;margin:0 0 12px}
.nc-service-card p{color:var(--nc-muted);font-size:14px;margin:0 0 22px}
.nc-service-card a{margin-top:auto;color:var(--nc-primary-2);font-weight:700;font-size:13px}
.nc-about{display:grid;grid-template-columns:1.05fr .95fr;gap:64px;align-items:center}
.nc-about__media{position:relative}
.nc-about__media img{display:block;width:100%;aspect-ratio:1.1/1;object-fit:cover;border-radius:24px}
.nc-about__badge{position:absolute;right:-18px;bottom:26px;background:#fff;border:1px solid var(--nc-line);border-radius:18px;box-shadow:var(--nc-shadow);padding:20px 22px;min-width:190px}
.nc-about__badge strong{font-size:30px;color:var(--nc-primary-2)}
.nc-checks{display:grid;gap:10px;margin:24px 0 30px}
.nc-checks div{display:flex;gap:10px;align-items:flex-start}
.nc-checks span{width:22px;height:22px;border-radius:50%;background:var(--nc-sky);color:var(--nc-primary-2);display:grid;place-items:center;font-size:12px;flex:0 0 22px;margin-top:2px}
.nc-lead-cta{border:1px solid #bfe3f2;border-radius:24px;background:linear-gradient(135deg,#eef9fe,#dff3fb);color:var(--nc-text);padding:54px;display:flex;align-items:center;justify-content:space-between;gap:40px;overflow:hidden;position:relative}
.nc-lead-cta:after{content:"";position:absolute;width:280px;height:280px;border-radius:50%;border:50px solid rgba(43,155,212,.06);right:-70px;top:-70px}
.nc-lead-cta h2{font-size:42px;line-height:1.1;max-width:700px;margin:0 0 12px}
.nc-lead-cta p{color:#536b76;margin:0}
.nc-news-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}
.nc-news-card{border:1px solid var(--nc-line);border-radius:20px;overflow:hidden;background:#fff}
.nc-news-card img{width:100%;aspect-ratio:16/10;object-fit:cover;display:block}
.nc-news-card__body{padding:22px}
.nc-news-card small{color:var(--nc-primary-2);font-weight:700}
.nc-news-card h3{font-size:21px;line-height:1.25;margin:10px 0}
.nc-page-main{padding-bottom:70px}
.nc-page-hero{padding:64px 0;background:linear-gradient(135deg,#f7fcfe,#eaf7fd);border:1px solid #e0eef4;border-radius:22px;margin-bottom:48px}
.nc-page-hero__inner{padding:0 6%}
.nc-page-hero h1{font-size:clamp(40px,5vw,64px);margin:0 0 12px;letter-spacing:-.035em;font-weight:620}
.nc-breadcrumb{font-size:13px;color:var(--nc-muted)}
.nc-page-content{width:100%;max-width:none;padding-bottom:40px}
.nc-page-content>p,.nc-page-content>h2,.nc-page-content>h3,.nc-page-content>ul,.nc-page-content>ol{max-width:980px}
.nc-page-content h2{font-size:34px;line-height:1.15;margin-top:44px}
.nc-page-content p,.nc-page-content li{color:#506772}
.nc-service-single{display:grid;grid-template-columns:minmax(0,1fr) 330px;gap:50px}
.nc-sidebox{border:1px solid var(--nc-line);border-radius:20px;padding:24px;background:#fff;position:sticky;top:20px}
.nc-footer{margin-top:80px;background:#eaf7fd;color:var(--nc-text);border-top:1px solid #cae7f3}
.nc-footer__main{padding:60px 0;display:grid;grid-template-columns:1.2fr .8fr .8fr .8fr;gap:42px}
.nc-footer h4{margin:0 0 16px;color:var(--nc-primary-2)}
.nc-footer ul{list-style:none;margin:0;padding:0;display:grid;gap:8px}
.nc-footer a{color:#47616d;font-size:14px}
.nc-footer__bottom{border-top:1px solid #cae7f3;padding:18px 0;font-size:13px;color:#617984}
@media(max-width:1100px){
  .nc-header__main{grid-template-columns:1fr auto}
  .nc-nav{display:none}
  .nc-mobile-toggle{display:inline-grid;place-items:center}
  .nc-services-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .nc-about{grid-template-columns:1fr;gap:36px}
  .nc-footer__main{grid-template-columns:1fr 1fr}
}
@media(max-width:760px){
  .nc-shell{width:min(calc(100% - 20px),var(--nc-max))}
  .nc-topbar__in{padding:8px 12px;align-items:flex-start}
  .nc-topbar__group--right{display:none}
  .nc-header__main{padding:12px}
  .nc-brand__demo{font-size:20px}
  .nc-header__actions .nc-search-btn{display:none}
  .nc-btn--header{padding:0 16px;min-height:42px}
  .nc-hero,.nc-hero__slide{min-height:570px}
  .nc-hero__slide:before{background:linear-gradient(90deg,rgba(255,255,255,.98) 0%,rgba(244,251,254,.94) 58%,rgba(227,245,252,.55) 100%)}
  .nc-hero__content{width:auto;padding:60px 24px 90px}
  .nc-hero h1{font-size:45px}
  .nc-hero p{font-size:16px}
  .nc-hero__nav{right:18px}
  .nc-section{padding:64px 0}
  .nc-services-grid,.nc-news-grid{grid-template-columns:1fr}
  .nc-about__badge{right:12px}
  .nc-lead-cta{padding:34px 26px;display:block}
  .nc-lead-cta h2{font-size:34px}
  .nc-lead-cta .nc-btn{margin-top:24px}
  .nc-service-single{grid-template-columns:1fr}
  .nc-sidebox{position:static}
  .nc-footer__main{grid-template-columns:1fr}
}


/* v0.1.3 — compact institutional direction */
.nc-topbar{background:#0066CC}
.nc-header__main{background:#f3f4f6;border-color:#e6e8eb;box-shadow:none;padding:13px 18px;margin-bottom:14px;border-radius:14px}
.nc-brand__demo{font-size:24px;font-weight:620}
.nc-nav ul{gap:31px}.nc-nav a{font-size:12px;font-weight:650}
.nc-header__actions{gap:9px}.nc-search-btn{width:39px;height:39px;background:#fff;border-color:#d5e3ed;color:#0066CC}
.nc-btn{min-height:40px;padding:0 18px;border-radius:9px;font-size:12px;letter-spacing:.02em}
.nc-btn--header{border-radius:9px;min-height:40px;padding-inline:18px}
.nc-mobile-toggle{width:40px;height:40px;border-radius:9px}

.nc-page-main{padding-bottom:54px}
.nc-page-hero.nc-page-hero--compact{padding:24px 0 25px;margin-bottom:34px;border-radius:15px;background:#f4f8fb;border:1px solid #e1ebf1}
.nc-page-hero__inner{padding:0 3.2%}
.nc-page-hero h1{font-size:clamp(30px,3vw,40px);line-height:1.05;margin:8px 0 0;letter-spacing:-.025em;font-weight:590}
.nc-breadcrumb{display:flex;align-items:center;gap:7px;font-size:11px;color:#71818b}.nc-breadcrumb a{color:#0066CC}
.nc-page-content h2{font-size:30px;font-weight:590;margin-top:34px}.nc-page-content p{font-size:15px}

.nc-hero__slide:before{background:linear-gradient(90deg,rgba(255,255,255,.98) 0%,rgba(249,252,254,.95) 34%,rgba(234,244,250,.72) 51%,rgba(234,244,250,.10) 74%,rgba(255,255,255,.01) 100%)}
.nc-kicker{color:#004C99;border-color:#d7e7f1}.nc-kicker strong{background:#0066CC}.nc-hero h1{font-weight:590}.nc-hero p{color:#475d69}.nc-eyebrow{color:#0066CC}
.nc-service-card__icon{background:#eef6fc;color:#0066CC}.nc-service-card a,.nc-news-card small{color:#0066CC}
.nc-lead-cta{background:#f3f8fc;border-color:#dceaf3}.nc-lead-cta:after{border-color:rgba(0,102,204,.04)}
.nc-footer{background:#f3f4f6;border-color:#dfe5e9}.nc-footer h4{color:#004C99}.nc-footer__bottom{border-color:#dfe5e9}

/* Lo Studio demo: compact and finished instead of loose text blocks */
.nc-page-content--lo-studio{padding-bottom:0}
.nc-studio-intro{display:grid;grid-template-columns:1.02fr .98fr;gap:44px;align-items:center;padding:8px 0 34px}
.nc-studio-intro__copy{max-width:720px}
.nc-studio-intro__copy h2{font-size:clamp(30px,3vw,42px);line-height:1.08;margin:8px 0 14px;letter-spacing:-.025em;font-weight:590}
.nc-studio-intro__copy>p{font-size:16px;color:#62737d;margin:0 0 25px;max-width:680px}
.nc-studio-intro__media img{display:block;width:100%;height:390px;object-fit:cover;border-radius:16px}
.nc-studio-points{display:grid;grid-template-columns:repeat(3,1fr);gap:11px}
.nc-studio-points>div{border:1px solid #e0e8ed;background:#fff;border-radius:12px;padding:15px}
.nc-studio-points strong,.nc-studio-points span{display:block}.nc-studio-points strong{font-size:14px;color:#17313f;margin-bottom:5px}.nc-studio-points span{font-size:12px;line-height:1.45;color:#6c7d86}
.nc-studio-strip{display:grid;grid-template-columns:repeat(3,1fr);gap:1px;background:#dfe8ed;border:1px solid #dfe8ed;border-radius:13px;overflow:hidden;margin:18px 0 34px}
.nc-studio-strip>div{background:#f6f8f9;padding:18px 20px;display:flex;align-items:center;gap:13px}.nc-studio-strip strong{font-size:12px;color:#0066CC}.nc-studio-strip span{font-size:14px;font-weight:600}
.nc-studio-cta{display:flex;justify-content:space-between;align-items:center;gap:30px;background:#f4f8fb;border:1px solid #e0ebf1;border-radius:14px;padding:25px 28px}
.nc-studio-cta h3{font-size:25px;font-weight:590;margin:5px 0 4px}.nc-studio-cta p{margin:0;color:#6a7a84}

@media(max-width:900px){.nc-studio-intro{grid-template-columns:1fr}.nc-studio-intro__media{order:-1}.nc-studio-intro__media img{height:300px}.nc-studio-points{grid-template-columns:1fr}.nc-studio-strip{grid-template-columns:1fr}.nc-studio-cta{align-items:flex-start;flex-direction:column}}
@media(max-width:760px){.nc-header__main{padding:10px 11px}.nc-brand__demo{font-size:19px}.nc-page-hero.nc-page-hero--compact{padding:18px 0 19px;margin-bottom:26px}.nc-page-hero h1{font-size:30px}.nc-page-hero__inner{padding:0 18px}.nc-studio-intro__media img{height:240px}.nc-studio-intro__copy h2{font-size:31px}.nc-studio-cta{padding:20px}}


/* === v0.1.4 compact visual system === */
:root{
  --nc-content-max:1180px;
}
.nc-header__main{
  padding:14px 18px;
  min-height:72px;
  background:#f4f5f6;
}
.nc-brand__demo{font-size:24px;font-weight:620}
.nc-nav ul{gap:30px}
.nc-nav a{font-size:12px;letter-spacing:.07em}
.nc-btn{
  min-height:40px;
  padding:0 18px;
  border-radius:9px;
  font-size:12.5px;
}
.nc-btn--header{
  min-height:40px;
  padding:0 17px;
  border-radius:9px;
}
.nc-search-btn{
  width:40px;height:40px;border-radius:10px;
}
.nc-hero{min-height:560px}
.nc-hero__slide{min-height:560px}
.nc-hero__content{width:min(650px,56%);padding:64px 0 64px 13%}
.nc-hero h1{
  font-size:clamp(38px,4vw,58px);
  line-height:1.04;
  margin:18px 0 18px;
  font-weight:600;
}
.nc-hero p{
  font-size:17px;
  line-height:1.55;
  margin-bottom:26px;
}
.nc-section{padding:68px 0}
.nc-heading{max-width:760px;margin-bottom:28px}
.nc-heading h2{
  font-size:clamp(30px,3.3vw,44px);
  line-height:1.08;
  margin:8px 0 12px;
  font-weight:600;
}
.nc-heading p{font-size:16px;line-height:1.6}
.nc-eyebrow{font-size:11px;letter-spacing:.11em}
.nc-service-card{
  min-height:220px;
  padding:22px;
  border-radius:16px;
}
.nc-service-card__icon{
  width:48px;height:48px;border-radius:12px;margin-bottom:20px;
}
.nc-service-card h3{
  font-size:19px;
  line-height:1.25;
}
.nc-service-card p{
  font-size:14px;
  line-height:1.55;
}
.nc-about{gap:48px}
.nc-about__badge{padding:16px 18px;border-radius:14px}
.nc-about__badge strong{font-size:26px}
.nc-checks{margin:20px 0 26px}
.nc-lead-cta{
  padding:34px 38px;
  border-radius:18px;
  gap:28px;
}
.nc-lead-cta h2{
  font-size:clamp(28px,3vw,38px);
  line-height:1.12;
  margin-bottom:8px;
}
.nc-lead-cta p{font-size:15.5px}
.nc-news-card__body{padding:18px}
.nc-news-card h3{font-size:19px}
.nc-page-main{padding-bottom:54px}
.nc-page-hero{
  padding:17px 0;
  margin-bottom:32px;
  border-radius:14px;
  min-height:auto;
  background:#f4f7f9;
  border:1px solid #dde7ec;
}
.nc-page-hero__inner{padding:0 3.2%}
.nc-page-hero h1{display:none!important}
.nc-breadcrumb{
  font-size:12px;
  line-height:1.3;
  color:#647681;
}
.nc-breadcrumb a{color:#005ea8}
.nc-page-content{
  padding-bottom:24px;
}
.nc-page-content>p,
.nc-page-content>h2,
.nc-page-content>h3,
.nc-page-content>ul,
.nc-page-content>ol{
  max-width:var(--nc-content-max);
}
.nc-page-content h2{
  font-size:clamp(27px,2.5vw,34px);
  line-height:1.18;
  margin-top:34px;
  margin-bottom:12px;
  font-weight:600;
}
.nc-page-content h3{
  font-size:22px;
  line-height:1.25;
  margin-top:26px;
  margin-bottom:10px;
  font-weight:600;
}
.nc-page-content p,.nc-page-content li{
  font-size:16px;
  line-height:1.7;
}
.nc-footer{margin-top:54px}
.nc-footer__main{padding:44px 0}
.nc-footer__bottom{padding:14px 0}

/* Compact last reserved-area CTA on the home */
.nc-section:last-of-type{
  padding-top:48px;
  padding-bottom:54px;
}
.nc-section:last-of-type .nc-lead-cta{
  padding:28px 34px;
}
.nc-section:last-of-type .nc-lead-cta h2{
  font-size:clamp(26px,2.8vw,34px);
}
.nc-section:last-of-type .nc-lead-cta p{
  max-width:760px;
}

/* Keep archive/service pages harmonious */
.nc-services-grid{gap:16px}
.nc-page-content .nc-services-grid{
  margin-top:8px;
}
@media(max-width:1100px){
  .nc-header__main{min-height:66px}
  .nc-hero,.nc-hero__slide{min-height:520px}
  .nc-section{padding:58px 0}
}
@media(max-width:760px){
  .nc-header__main{padding:10px 12px}
  .nc-brand__demo{font-size:19px}
  .nc-btn--header{min-height:38px;padding:0 13px;border-radius:8px}
  .nc-hero,.nc-hero__slide{min-height:500px}
  .nc-hero__content{padding:46px 22px 76px}
  .nc-hero h1{font-size:38px}
  .nc-section{padding:48px 0}
  .nc-heading h2{font-size:30px}
  .nc-page-hero{padding:14px 0;margin-bottom:24px;border-radius:12px}
  .nc-breadcrumb{font-size:11.5px}
  .nc-page-content h2{font-size:28px}
  .nc-page-content p,.nc-page-content li{font-size:15.5px}
  .nc-lead-cta{padding:26px 22px}
  .nc-section:last-of-type{padding-top:36px;padding-bottom:42px}
  .nc-section:last-of-type .nc-lead-cta{padding:24px 22px}
}

.nc-section--reserved-cta{
  padding-top:42px!important;
  padding-bottom:48px!important;
}
.nc-lead-cta--compact{
  padding:26px 32px!important;
}
.nc-lead-cta--compact h2{
  font-size:clamp(25px,2.6vw,33px)!important;
}
@media(max-width:760px){
  .nc-section--reserved-cta{padding-top:32px!important;padding-bottom:38px!important}
  .nc-lead-cta--compact{padding:22px 20px!important}
}


/* === v0.1.5 premium compact refinement === */
:root{
  --nc-primary:#005ea8;
  --nc-primary-2:#004b87;
  --nc-text:#1e2c35;
  --nc-muted:#66727a;
  --nc-soft:#f7f8f9;
  --nc-line:#e2e6e8;
  --nc-shadow:0 10px 28px rgba(30,44,53,.055);
}

/* Global rhythm: less air, more hierarchy */
body{font-size:16px;color:var(--nc-text)}
.nc-section{padding:50px 0}
.nc-section--soft{background:#f7f8f9}
.nc-heading{max-width:720px;margin-bottom:22px}
.nc-eyebrow{
  font-size:10.5px;
  letter-spacing:.13em;
  font-weight:700;
  color:var(--nc-primary);
}
.nc-heading h2{
  font-size:clamp(27px,2.55vw,36px);
  line-height:1.12;
  letter-spacing:-.02em;
  font-weight:580;
  margin:7px 0 9px;
}
.nc-heading p{
  font-size:15.5px;
  line-height:1.55;
  color:var(--nc-muted);
}

/* Header */
.nc-topbar{
  border-radius:0 0 10px 10px;
  font-size:12.5px;
}
.nc-topbar__in{min-height:32px}
.nc-header__main{
  min-height:64px;
  padding:10px 16px;
  border-radius:12px;
  background:#f4f5f6;
  box-shadow:none;
}
.nc-brand__demo{font-size:22px;font-weight:600}
.nc-nav ul{gap:27px}
.nc-nav a{font-size:12px;font-weight:650}
.nc-btn,.nc-btn--header{
  min-height:36px;
  padding:0 15px;
  border-radius:7px;
  font-size:12px;
  box-shadow:none;
}
.nc-search-btn{
  width:36px;height:36px;border-radius:7px;
}

/* Hero: still important, but no billboard typography */
.nc-hero,.nc-hero__slide{min-height:500px}
.nc-hero{border-radius:16px;box-shadow:none}
.nc-hero__content{
  width:min(610px,54%);
  padding:52px 0 52px 12%;
}
.nc-kicker{
  font-size:10px;
  border-radius:5px;
  padding:4px 7px;
  box-shadow:none;
}
.nc-hero h1{
  font-size:clamp(34px,3.55vw,50px);
  line-height:1.06;
  letter-spacing:-.025em;
  font-weight:570;
  margin:15px 0 14px;
}
.nc-hero p{
  font-size:16px;
  line-height:1.55;
  margin:0 0 22px;
  max-width:560px;
}
.nc-hero__nav{
  right:24px;
  padding:7px 9px;
  border-radius:12px 12px 0 0;
}
.nc-hero__nav button{
  width:34px;height:34px;font-size:15px;
}

/* Services */
.nc-services-grid{gap:14px}
.nc-service-card{
  min-height:190px;
  padding:18px;
  border-radius:13px;
  box-shadow:none;
}
.nc-service-card:hover{
  transform:translateY(-2px);
  box-shadow:0 9px 24px rgba(30,44,53,.06);
}
.nc-service-card__icon{
  width:42px;height:42px;
  margin-bottom:15px;
  border-radius:10px;
  background:#f0f5f8;
}
.nc-service-card__icon .nc-icon{width:22px;height:22px}
.nc-service-card h3{
  font-size:17.5px;
  font-weight:600;
  margin-bottom:8px;
}
.nc-service-card p{
  font-size:13.5px;
  line-height:1.5;
  margin-bottom:16px;
}
.nc-service-card a{font-size:12.5px}

/* About */
.nc-about{gap:38px}
.nc-about__media img{border-radius:16px}
.nc-about__badge{
  right:12px;
  bottom:16px;
  min-width:160px;
  padding:13px 15px;
  border-radius:10px;
  box-shadow:var(--nc-shadow);
}
.nc-about__badge strong{font-size:23px}
.nc-checks{gap:8px;margin:16px 0 22px}
.nc-checks div{font-size:14.5px}

/* CTA: elegant bar, no decorative giant circles */
.nc-lead-cta{
  min-height:0;
  padding:24px 28px;
  border-radius:12px;
  gap:24px;
  background:#f4f6f7;
  border:1px solid #e0e5e8;
  box-shadow:none;
}
.nc-lead-cta:after{display:none!important}
.nc-lead-cta h2{
  font-size:clamp(23px,2.05vw,30px);
  line-height:1.16;
  letter-spacing:-.015em;
  font-weight:580;
  margin:0 0 6px;
  max-width:720px;
}
.nc-lead-cta p{
  font-size:14.5px;
  line-height:1.5;
  color:#66727a;
}
.nc-lead-cta .nc-btn{
  flex:0 0 auto;
  min-height:36px;
  border-radius:7px;
  background:#fff;
  color:var(--nc-primary);
  border-color:#d9e0e4;
}
.nc-lead-cta .nc-btn:hover{
  background:#eef3f6;
  border-color:#cfd8dd;
  color:var(--nc-primary-2);
}

/* News: more editorial, less toy-like */
.nc-news-grid{gap:14px}
.nc-news-card{
  border-radius:13px;
  box-shadow:none;
  border-color:#e1e6e8;
}
.nc-news-card__body{padding:16px}
.nc-news-card small{
  font-size:11.5px;
  font-weight:650;
}
.nc-news-card h3{
  font-size:17px;
  line-height:1.32;
  font-weight:600;
  margin:7px 0 7px;
}
.nc-news-card p{
  font-size:13.5px;
  line-height:1.5;
  color:#66727a;
}

/* Page breadcrumb strip only */
.nc-page-main{padding-bottom:42px}
.nc-page-hero{
  padding:11px 0;
  margin-bottom:26px;
  border-radius:10px;
  background:#f5f6f7;
  border:1px solid #e3e7e9;
}
.nc-page-hero__inner{padding:0 2.7%}
.nc-page-hero h1{display:none!important}
.nc-breadcrumb{
  font-size:11.5px;
  line-height:1.2;
  color:#6c777d;
}
.nc-breadcrumb a{color:var(--nc-primary)}
.nc-page-content h2{
  font-size:clamp(24px,2vw,30px);
  line-height:1.18;
  font-weight:580;
  margin-top:26px;
  margin-bottom:9px;
}
.nc-page-content h3{
  font-size:20px;
  font-weight:580;
  margin-top:22px;
  margin-bottom:8px;
}
.nc-page-content p,.nc-page-content li{
  font-size:15.5px;
  line-height:1.65;
}
.nc-page-content>p{margin-top:0;margin-bottom:14px}

/* Explicit compact home CTAs */
.nc-section--reserved-cta{
  padding-top:26px!important;
  padding-bottom:30px!important;
}
.nc-section--reserved-cta .nc-lead-cta{
  padding:20px 26px!important;
}
.nc-section--reserved-cta .nc-lead-cta h2{
  font-size:clamp(22px,1.9vw,28px)!important;
  max-width:650px;
}
.nc-section--reserved-cta .nc-lead-cta p{
  font-size:14px!important;
}

/* First CTA before news: reduce spacing as well */
.nc-section:has(.nc-lead-cta):not(.nc-section--reserved-cta){
  padding-top:30px;
  padding-bottom:34px;
}

/* Footer */
.nc-footer{margin-top:42px}
.nc-footer__main{padding:36px 0}
.nc-footer__bottom{padding:12px 0}

/* Mobile */
@media(max-width:760px){
  .nc-section{padding:40px 0}
  .nc-heading{margin-bottom:18px}
  .nc-heading h2{font-size:27px}
  .nc-header__main{min-height:58px}
  .nc-hero,.nc-hero__slide{min-height:450px}
  .nc-hero__content{padding:38px 20px 66px}
  .nc-hero h1{font-size:34px}
  .nc-hero p{font-size:15px}
  .nc-lead-cta{
    padding:20px 18px;
    display:block;
  }
  .nc-lead-cta h2{font-size:24px}
  .nc-lead-cta .nc-btn{margin-top:16px}
  .nc-page-hero{padding:10px 0;margin-bottom:20px}
  .nc-page-content h2{font-size:24px}
  .nc-page-content p,.nc-page-content li{font-size:15px}
  .nc-section--reserved-cta{
    padding-top:22px!important;
    padding-bottom:26px!important;
  }
}


/* === v0.1.6 light typography + photographic CTA === */

/* Typography philosophy: lighter, smaller, single-line where space allows */
.nc-hero h1{
  font-size:clamp(32px,3vw,44px)!important;
  font-weight:500!important;
  line-height:1.08!important;
  letter-spacing:-.018em!important;
}
.nc-heading{
  max-width:900px!important;
  margin-bottom:20px!important;
}
.nc-heading h2{
  font-size:clamp(24px,2.2vw,31px)!important;
  font-weight:480!important;
  line-height:1.16!important;
  letter-spacing:-.012em!important;
  margin:6px 0 8px!important;
  white-space:nowrap;
}
.nc-heading p{
  font-size:15px!important;
}
.nc-page-content h2{
  font-size:clamp(22px,1.8vw,27px)!important;
  font-weight:500!important;
  line-height:1.2!important;
  letter-spacing:-.01em!important;
}
.nc-page-content h3{
  font-size:18.5px!important;
  font-weight:500!important;
}
.nc-service-card h3,
.nc-news-card h3{
  font-weight:500!important;
}
.nc-service-card h3{font-size:16.5px!important}
.nc-news-card h3{font-size:16px!important}
.nc-about h2{
  font-weight:500!important;
}

/* CTA becomes an editorial/photo banner, not a grey box */
.nc-lead-cta{
  position:relative;
  isolation:isolate;
  overflow:hidden;
  min-height:150px!important;
  padding:24px 28px!important;
  background:#1f2f38!important;
  border:0!important;
  border-radius:10px!important;
  color:#fff!important;
}
.nc-lead-cta--image{
  background-image:
    linear-gradient(90deg,rgba(20,34,43,.88) 0%,rgba(20,34,43,.72) 42%,rgba(20,34,43,.30) 72%,rgba(20,34,43,.14) 100%),
    var(--nc-cta-bg)!important;
  background-size:cover!important;
  background-position:center!important;
}
.nc-lead-cta:before{
  content:"";
  position:absolute;
  inset:0;
  z-index:-1;
  background:linear-gradient(180deg,rgba(0,94,168,.10),rgba(0,94,168,.03));
}
.nc-lead-cta:after{display:none!important}
.nc-lead-cta .nc-eyebrow{
  color:#d9ebf7!important;
}
.nc-lead-cta h2{
  color:#fff!important;
  font-size:clamp(21px,1.75vw,27px)!important;
  font-weight:480!important;
  line-height:1.15!important;
  letter-spacing:-.01em!important;
  margin:0 0 6px!important;
  max-width:none!important;
  white-space:nowrap;
}
.nc-lead-cta p{
  color:rgba(255,255,255,.82)!important;
  font-size:14.5px!important;
  line-height:1.45!important;
}
.nc-lead-cta .nc-btn{
  min-height:36px!important;
  padding:0 15px!important;
  border-radius:6px!important;
  background:rgba(255,255,255,.96)!important;
  color:#004b87!important;
  border:1px solid rgba(255,255,255,.65)!important;
  box-shadow:none!important;
}
.nc-lead-cta .nc-btn:hover{
  background:#fff!important;
  color:#003b6c!important;
}

/* Reduce CTA section margins */
.nc-section--lead-cta{
  padding-top:22px!important;
  padding-bottom:26px!important;
}
.nc-section--reserved-cta{
  padding-top:22px!important;
  padding-bottom:26px!important;
}
.nc-section--reserved-cta .nc-lead-cta{
  min-height:138px!important;
}

/* News section slightly tighter */
.nc-section--soft{
  padding-top:44px!important;
  padding-bottom:44px!important;
}

/* General headings no heavy bold */
h1,h2,h3,h4,h5,h6{
  text-rendering:optimizeLegibility;
}
@media(max-width:1000px){
  .nc-heading h2,
  .nc-lead-cta h2{
    white-space:normal;
  }
}
@media(max-width:760px){
  .nc-hero h1{font-size:31px!important}
  .nc-heading h2{font-size:24px!important}
  .nc-lead-cta{
    min-height:170px!important;
    padding:22px 20px!important;
  }
  .nc-lead-cta h2{
    font-size:22px!important;
    white-space:normal;
  }
  .nc-section--lead-cta,
  .nc-section--reserved-cta{
    padding-top:18px!important;
    padding-bottom:22px!important;
  }
}


/* === v0.1.7 institutional blue header/footer variant === */

/* The same institutional blue used in the top bar */
.nc-topbar{
  background:var(--nc-primary)!important;
  color:#fff!important;
}

/* Main navigation bar: blue, compact, white typography */
.nc-header__main{
  background:var(--nc-primary)!important;
  border-color:var(--nc-primary)!important;
  color:#fff!important;
}
.nc-brand,
.nc-brand a,
.nc-brand__demo{
  color:#fff!important;
}
.nc-nav a{
  color:#fff!important;
}
.nc-nav .current-menu-item>a,
.nc-nav .current_page_item>a{
  color:#fff!important;
  opacity:1;
  position:relative;
}
.nc-nav .current-menu-item>a:after,
.nc-nav .current_page_item>a:after{
  content:"";
  position:absolute;
  left:0;
  right:0;
  bottom:-7px;
  height:1px;
  background:rgba(255,255,255,.72);
}
.nc-nav a:hover{
  color:#fff!important;
  opacity:.78;
}

/* Search + reserved area: white controls with institutional-blue content */
.nc-search-btn{
  background:#fff!important;
  color:var(--nc-primary)!important;
  border-color:#fff!important;
}
.nc-btn--header{
  background:#fff!important;
  color:var(--nc-primary)!important;
  border-color:#fff!important;
}
.nc-btn--header:hover{
  background:#f3f6f8!important;
  color:var(--nc-primary-2)!important;
  border-color:#f3f6f8!important;
  transform:none!important;
}
.nc-mobile-toggle{
  background:#fff!important;
  color:var(--nc-primary)!important;
  border-color:#fff!important;
}

/* Footer: same institutional blue, white text */
.nc-footer{
  background:var(--nc-primary)!important;
  color:#fff!important;
  border-top:0!important;
}
.nc-footer h4,
.nc-footer .nc-brand,
.nc-footer .nc-brand a,
.nc-footer .nc-brand__demo{
  color:#fff!important;
}
.nc-footer p,
.nc-footer li,
.nc-footer a{
  color:rgba(255,255,255,.88)!important;
}
.nc-footer a:hover{
  color:#fff!important;
}
.nc-footer__bottom{
  border-top:1px solid rgba(255,255,255,.18)!important;
  color:rgba(255,255,255,.75)!important;
}

/* Mobile dropdown must remain readable over the blue header */
@media(max-width:1100px){
  .nc-header .nc-nav{
    color:var(--nc-text);
  }
}
@media(max-width:760px){
  .nc-header .nc-nav a{
    color:var(--nc-text)!important;
  }
  .nc-header .nc-nav .current-menu-item>a,
  .nc-header .nc-nav .current_page_item>a{
    color:var(--nc-primary)!important;
  }
  .nc-header .nc-nav .current-menu-item>a:after,
  .nc-header .nc-nav .current_page_item>a:after{
    display:none;
  }
}


/* === v0.1.8 functional site search === */
.nc-search-panel[hidden]{display:none!important}
.nc-search-panel{
  margin-top:-6px;
  margin-bottom:14px;
}
.nc-search-form{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto auto;
  align-items:center;
  gap:8px;
  padding:10px;
  background:#fff;
  border:1px solid var(--nc-line);
  border-radius:10px;
  box-shadow:0 8px 24px rgba(30,44,53,.07);
}
.nc-search-field{
  width:100%;
  height:42px;
  border:0;
  outline:0;
  background:#f5f6f7;
  color:var(--nc-text);
  border-radius:7px;
  padding:0 14px;
  font-size:14px;
}
.nc-search-field:focus{
  box-shadow:0 0 0 2px rgba(0,94,168,.12);
}
.nc-search-submit{
  height:42px;
  display:inline-flex;
  align-items:center;
  gap:7px;
  padding:0 15px;
  border:0;
  border-radius:7px;
  background:var(--nc-primary);
  color:#fff;
  font-size:12.5px;
  font-weight:600;
  cursor:pointer;
}
.nc-search-submit .nc-icon{width:17px;height:17px}
.nc-search-close{
  width:42px;
  height:42px;
  border:1px solid #e0e5e8;
  border-radius:7px;
  background:#fff;
  color:#59666e;
  font-size:24px;
  line-height:1;
  cursor:pointer;
}
.nc-search-results{padding:6px 0 20px}
.nc-search-results__list{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:14px;
}
.nc-search-result{
  border:1px solid var(--nc-line);
  border-radius:12px;
  padding:18px;
  background:#fff;
}
.nc-search-result__meta{
  font-size:10.5px;
  text-transform:uppercase;
  letter-spacing:.1em;
  color:var(--nc-primary);
  font-weight:700;
}
.nc-search-result h3{
  font-size:17px;
  font-weight:500;
  line-height:1.3;
  margin:8px 0;
}
.nc-search-result p{
  font-size:13.5px;
  line-height:1.55;
  color:var(--nc-muted);
}
.nc-search-result__link{
  font-size:12.5px;
  color:var(--nc-primary);
  font-weight:600;
}
.nc-search-empty{
  padding:28px;
  border:1px solid var(--nc-line);
  border-radius:12px;
  background:#f7f8f9;
}
.nc-search-empty h3{
  margin:0 0 6px;
  font-size:19px;
  font-weight:500;
}
.nc-search-pagination{margin-top:24px}
@media(max-width:900px){
  .nc-search-results__list{grid-template-columns:1fr 1fr}
}
@media(max-width:760px){
  .nc-search-form{grid-template-columns:minmax(0,1fr) auto}
  .nc-search-submit span{display:none}
  .nc-search-close{grid-column:2}
  .nc-search-results__list{grid-template-columns:1fr}
}


/* === v0.1.9 header/social/logo refinement === */

/* Pull menu bar slightly upward and make it tighter */
.nc-header .nc-shell:nth-of-type(2){
  margin-top:-8px;
}
.nc-header__main{
  min-height:56px!important;
  padding:7px 14px!important;
  border-radius:10px!important;
}
.nc-brand img,
.nc-site-logo{
  max-height:38px!important;
  width:auto!important;
  display:block;
}
.nc-brand__demo{
  font-size:20px!important;
}

/* Compact controls */
.nc-search-btn{
  width:34px!important;
  height:34px!important;
  min-width:34px!important;
  border-radius:6px!important;
}
.nc-search-btn .nc-icon{
  width:16px!important;
  height:16px!important;
}
.nc-btn--header{
  min-height:34px!important;
  padding:0 13px!important;
  border-radius:6px!important;
  font-size:11.5px!important;
}
.nc-header__actions{
  gap:8px!important;
}

/* Real social icons */
.nc-topbar__group--right{
  gap:10px!important;
}
.nc-social-link{
  width:24px;
  height:24px;
  display:inline-grid;
  place-items:center;
  color:#fff!important;
  opacity:.92!important;
}
.nc-social-link:hover{
  opacity:1!important;
}
.nc-social-svg{
  width:15px;
  height:15px;
  display:block;
}

/* Automatic white version of dark logos on blue areas */
.nc-logo-invert .custom-logo,
.nc-logo-invert .nc-site-logo{
  filter:brightness(0) invert(1);
}

/* Footer socials */
.nc-footer-socials{
  display:flex;
  align-items:center;
  gap:9px;
  margin-top:18px;
}
.nc-footer-socials a{
  width:30px;
  height:30px;
  display:grid;
  place-items:center;
  border:1px solid rgba(255,255,255,.28);
  border-radius:6px;
  color:#fff!important;
}
.nc-footer-socials a:hover{
  background:rgba(255,255,255,.10);
  border-color:rgba(255,255,255,.45);
}
.nc-footer-socials .nc-social-svg{
  width:16px;
  height:16px;
}

@media(max-width:760px){
  .nc-header .nc-shell:nth-of-type(2){
    margin-top:-5px;
  }
  .nc-header__main{
    min-height:52px!important;
    padding:6px 10px!important;
  }
  .nc-brand img,
  .nc-site-logo{
    max-height:32px!important;
  }
  .nc-btn--header{
    min-height:32px!important;
    padding:0 11px!important;
  }
  .nc-mobile-toggle{
    width:34px!important;
    height:34px!important;
    border-radius:6px!important;
  }
}


/* === v0.2.0 corrected header proportions + refined topbar === */

/* Restore normal gap between top bar and menu */
.nc-header .nc-shell:nth-of-type(2){
  margin-top:0!important;
}

/* Menu bar +8px taller than previous version */
.nc-header__main{
  min-height:64px!important;
  padding:8px 14px!important;
  border-radius:10px!important;
}

/* Search and reserved-area buttons remain compact */
.nc-search-btn{
  width:32px!important;
  height:32px!important;
  min-width:32px!important;
  border-radius:6px!important;
}
.nc-search-btn .nc-icon{
  width:15px!important;
  height:15px!important;
}
.nc-btn--header{
  min-height:32px!important;
  padding:0 12px!important;
  border-radius:6px!important;
  font-size:11.5px!important;
}
.nc-header__actions{
  gap:7px!important;
}

/* Top bar: structured like a professional institutional header */
.nc-topbar__in{
  min-height:32px!important;
  padding:0 12px!important;
}
.nc-topbar__group{
  gap:0!important;
  min-height:32px;
  align-items:stretch!important;
}
.nc-topbar-item{
  display:inline-flex!important;
  align-items:center!important;
  gap:6px!important;
  min-height:32px;
  padding:0 12px!important;
  color:#fff!important;
  font-size:12px!important;
  line-height:1!important;
}
.nc-topbar__group--left .nc-topbar-item:first-child{
  padding-left:0!important;
}
.nc-topbar__group--right .nc-topbar-address{
  padding-left:0!important;
}
.nc-topbar__group > * + *{
  border-left:1px solid rgba(255,255,255,.28)!important;
}

/* Contact/address icons */
.nc-meta-svg{
  width:14px;
  height:14px;
  flex:0 0 14px;
  display:block;
  opacity:.94;
}

/* Social links: every icon has its own precise column + divider */
.nc-topbar__group--right .nc-social-link{
  width:31px!important;
  height:32px!important;
  display:grid!important;
  place-items:center!important;
  padding:0!important;
  margin:0!important;
  color:#fff!important;
  opacity:.94!important;
}
.nc-topbar__group--right .nc-social-link:hover{
  background:rgba(255,255,255,.08)!important;
  opacity:1!important;
}
.nc-social-svg{
  width:15px!important;
  height:15px!important;
  display:block!important;
}
.nc-social-svg--facebook{width:14px!important;height:14px!important}
.nc-social-svg--linkedin{width:14px!important;height:14px!important}
.nc-social-svg--youtube{width:17px!important;height:17px!important}
.nc-social-svg--whatsapp{width:16px!important;height:16px!important}

/* Footer uses the same social language */
.nc-footer-socials{
  gap:0!important;
}
.nc-footer-socials a{
  width:34px!important;
  height:30px!important;
  display:grid!important;
  place-items:center!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
}
.nc-footer-socials a + a{
  border-left:1px solid rgba(255,255,255,.28)!important;
}
.nc-footer-socials a:hover{
  background:rgba(255,255,255,.08)!important;
}

@media(max-width:760px){
  .nc-header .nc-shell:nth-of-type(2){
    margin-top:0!important;
  }
  .nc-header__main{
    min-height:60px!important;
    padding:7px 10px!important;
  }
  .nc-btn--header{
    min-height:31px!important;
    padding:0 10px!important;
  }
}


/* === v0.2.1 exact header height + social tiles === */

/* Main menu bar: exactly +8px compared with v0.2.0 */
.nc-header__main{
  min-height:72px!important;
  padding:12px 14px!important;
}

/* Keep actions compact despite taller blue bar */
.nc-search-btn{
  width:32px!important;
  height:32px!important;
  min-width:32px!important;
}
.nc-btn--header{
  min-height:32px!important;
  padding:0 12px!important;
}

/* Social icons: white square tiles, blue brand icons */
.nc-topbar__group--right{
  align-items:center!important;
}
.nc-topbar__group--right .nc-social-link{
  width:26px!important;
  height:26px!important;
  min-width:26px!important;
  margin:3px 3px!important;
  padding:0!important;
  border-left:0!important;
  border-radius:4px!important;
  background:#fff!important;
  color:var(--nc-primary)!important;
  opacity:1!important;
  display:grid!important;
  place-items:center!important;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.45);
}
.nc-topbar__group--right .nc-social-link:hover{
  background:#f4f7fa!important;
  color:var(--nc-primary-2)!important;
}

/* Vertical separators remain between address and each social tile */
.nc-topbar__group--right .nc-social-link{
  position:relative!important;
}
.nc-topbar__group--right .nc-social-link:before{
  content:"";
  position:absolute;
  left:-4px;
  top:4px;
  bottom:4px;
  width:1px;
  background:rgba(255,255,255,.30);
}
.nc-topbar__group--right .nc-social-link:first-of-type:before{
  display:block;
}

/* Slightly more optical weight for logos inside tiles */
.nc-social-svg{
  width:14px!important;
  height:14px!important;
}
.nc-social-svg--youtube{
  width:16px!important;
  height:16px!important;
}
.nc-social-svg--whatsapp{
  width:15px!important;
  height:15px!important;
}

/* Footer social tiles follow the same system */
.nc-footer-socials{
  gap:6px!important;
}
.nc-footer-socials a{
  width:28px!important;
  height:28px!important;
  border-radius:4px!important;
  background:#fff!important;
  color:var(--nc-primary)!important;
  border:0!important;
}
.nc-footer-socials a + a{
  border-left:0!important;
}
.nc-footer-socials a:hover{
  background:#f4f7fa!important;
  color:var(--nc-primary-2)!important;
}

@media(max-width:760px){
  .nc-header__main{
    min-height:68px!important;
    padding:10px 10px!important;
  }
}


/* === v0.2.2 smaller social tiles === */

.nc-topbar__group--right .nc-social-link{
  width:22px!important;
  height:22px!important;
  min-width:22px!important;
  margin:4px 2px!important;
  border-radius:3px!important;
}
.nc-topbar__group--right .nc-social-link:before{
  left:-3px!important;
  top:3px!important;
  bottom:3px!important;
}
.nc-social-svg{
  width:12px!important;
  height:12px!important;
}
.nc-social-svg--facebook{width:11px!important;height:11px!important}
.nc-social-svg--linkedin{width:11px!important;height:11px!important}
.nc-social-svg--youtube{width:13px!important;height:13px!important}
.nc-social-svg--whatsapp{width:12px!important;height:12px!important}

@media(max-width:760px){
  .nc-topbar__group--right .nc-social-link{
    width:21px!important;
    height:21px!important;
    min-width:21px!important;
    margin:4px 1px!important;
  }
}


/* === v0.2.3 social correction: smaller tile, original icon size === */

/* Much smaller white container */
.nc-topbar__group--right .nc-social-link{
  width:19px!important;
  height:19px!important;
  min-width:19px!important;
  margin:6px 2px!important;
  border-radius:3px!important;
  padding:0!important;
}

/* Restore icon dimensions from v0.2.1: icons stay visually strong */
.nc-social-svg{
  width:14px!important;
  height:14px!important;
}
.nc-social-svg--facebook{
  width:14px!important;
  height:14px!important;
}
.nc-social-svg--instagram{
  width:14px!important;
  height:14px!important;
}
.nc-social-svg--linkedin{
  width:14px!important;
  height:14px!important;
}
.nc-social-svg--youtube{
  width:17px!important;
  height:17px!important;
}
.nc-social-svg--whatsapp{
  width:16px!important;
  height:16px!important;
}

/* Separator remains outside the reduced tile */
.nc-topbar__group--right .nc-social-link:before{
  left:-3px!important;
  top:2px!important;
  bottom:2px!important;
}


/* === v0.2.4 final social tile sizing === */

/* Strong reduction of the white tile */
.nc-topbar__group--right .nc-social-link{
  width:17px!important;
  height:17px!important;
  min-width:17px!important;
  margin-top:7px!important;
  margin-bottom:7px!important;
  margin-left:6px!important;
  margin-right:2px!important;
  border-radius:2px!important;
  padding:0!important;
}

/* Keep icon dimensions exactly as in v0.2.3 */
.nc-social-svg{
  width:14px!important;
  height:14px!important;
}
.nc-social-svg--facebook{
  width:14px!important;
  height:14px!important;
}
.nc-social-svg--instagram{
  width:14px!important;
  height:14px!important;
}
.nc-social-svg--linkedin{
  width:14px!important;
  height:14px!important;
}
.nc-social-svg--youtube{
  width:17px!important;
  height:17px!important;
}
.nc-social-svg--whatsapp{
  width:16px!important;
  height:16px!important;
}

/* Separator clearly detached from the white tile */
.nc-topbar__group--right .nc-social-link:before{
  left:-6px!important;
  top:1px!important;
  bottom:1px!important;
  background:rgba(255,255,255,.24)!important;
}

/* Ensure social tiles do not inherit direct sibling border */
.nc-topbar__group--right > .nc-social-link{
  border-left:0!important;
}

/* Keep a clean gap between address and first social */
.nc-topbar__group--right .nc-topbar-address{
  padding-right:12px!important;
}

@media(max-width:760px){
  .nc-topbar__group--right .nc-social-link{
    width:17px!important;
    height:17px!important;
    min-width:17px!important;
    margin-left:5px!important;
    margin-right:1px!important;
  }
}


/* === v0.2.5 header refinement + decisive social reduction === */

/* White edge and subtle depth on both blue bars */
.nc-topbar{
  border:1px solid rgba(255,255,255,.48)!important;
  box-shadow:0 2px 8px rgba(17,38,58,.06)!important;
}
.nc-header__main{
  border:1px solid rgba(255,255,255,.52)!important;
  box-shadow:
    inset 0 -1px 0 rgba(255,255,255,.12),
    0 4px 14px rgba(17,38,58,.07)!important;
}

/* Keep the hierarchy: informative top bar, stronger main menu */
.nc-topbar__in{
  min-height:30px!important;
}
.nc-header__main{
  min-height:72px!important;
  padding:12px 14px!important;
}

/* Slightly more refined navigation */
.nc-nav a{
  font-weight:560!important;
  letter-spacing:.065em!important;
}
.nc-nav .current-menu-item>a,
.nc-nav .current_page_item>a{
  position:relative!important;
  opacity:1!important;
}
.nc-nav .current-menu-item>a:after,
.nc-nav .current_page_item>a:after{
  left:20%!important;
  right:20%!important;
  bottom:-9px!important;
  height:1px!important;
  background:rgba(255,255,255,.82)!important;
}

/* Perfect visual alignment of actions */
.nc-header__actions{
  gap:7px!important;
}
.nc-search-btn,
.nc-btn--header{
  height:32px!important;
  min-height:32px!important;
}
.nc-search-btn{
  width:32px!important;
  min-width:32px!important;
  border-radius:5px!important;
}
.nc-btn--header{
  padding:0 12px!important;
  border-radius:5px!important;
  font-size:11.5px!important;
}

/* Decisive reduction: the white social tile is now genuinely tiny */
.nc-topbar__group--right .nc-social-link{
  width:14px!important;
  height:14px!important;
  min-width:14px!important;
  margin-top:8px!important;
  margin-bottom:8px!important;
  margin-left:8px!important;
  margin-right:3px!important;
  padding:0!important;
  border-radius:2px!important;
  background:#fff!important;
  color:var(--nc-primary)!important;
  overflow:visible!important;
}

/* Icons remain optically strong, almost filling the tile */
.nc-social-svg{
  width:13px!important;
  height:13px!important;
}
.nc-social-svg--facebook{
  width:13px!important;
  height:13px!important;
}
.nc-social-svg--instagram{
  width:13px!important;
  height:13px!important;
}
.nc-social-svg--linkedin{
  width:13px!important;
  height:13px!important;
}
.nc-social-svg--youtube{
  width:15px!important;
  height:15px!important;
}
.nc-social-svg--whatsapp{
  width:15px!important;
  height:15px!important;
}

/* More air between separator and social square */
.nc-topbar__group--right .nc-social-link:before{
  left:-8px!important;
  top:1px!important;
  bottom:1px!important;
  background:rgba(255,255,255,.30)!important;
}
.nc-topbar__group--right .nc-topbar-address{
  padding-right:15px!important;
}

/* A cleaner optical weight for contact/address items */
.nc-meta-svg{
  width:13px!important;
  height:13px!important;
}
.nc-topbar-item{
  font-size:11.8px!important;
}

/* Footer refinement mirrors the header without over-decorating */
.nc-footer{
  border-top:1px solid rgba(255,255,255,.38)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.08)!important;
}
.nc-footer-socials a{
  width:24px!important;
  height:24px!important;
  border-radius:3px!important;
}
.nc-footer-socials{
  gap:5px!important;
}

@media(max-width:760px){
  .nc-header__main{
    min-height:68px!important;
    padding:10px 10px!important;
  }
}


/* ==========================================================
   v0.2.6 — Header redesign, no more micro-fixes
   Exact direction: consulting top bar + precise white nav bar
   ========================================================== */

:root{
  --nc-primary:#0b66cf;
  --nc-primary-2:#0a56b3;
  --nc-dark:#15314d;
  --nc-line:#d7e8f7;
  --nc-topbar-grad-a:#0b67cf;
  --nc-topbar-grad-b:#065dca;
}

/* Layout shell */
.nc-shell{
  max-width:1780px;
}

/* ---------- TOP BAR ---------- */
.nc-topbar{
  margin:10px auto 14px!important;
  background:linear-gradient(90deg,var(--nc-topbar-grad-a),var(--nc-topbar-grad-b))!important;
  color:#fff!important;
  border:1px solid rgba(255,255,255,.18)!important;
  border-radius:18px!important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.12),
    0 10px 24px rgba(13,69,146,.10)!important;
  overflow:hidden;
}
.nc-topbar__in{
  min-height:46px!important;
  padding:0 18px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:26px!important;
}
.nc-topbar__group{
  display:flex!important;
  align-items:center!important;
  gap:0!important;
  flex-wrap:nowrap!important;
}
.nc-topbar-item{
  position:relative;
  display:inline-flex!important;
  align-items:center!important;
  gap:12px!important;
  padding:0 18px!important;
  min-height:46px!important;
  color:#fff!important;
  font-size:14px!important;
  font-weight:500!important;
  letter-spacing:.005em!important;
  white-space:nowrap!important;
}
.nc-topbar__group > * + *{
  margin-left:0!important;
}
.nc-topbar__group > * + *:before{
  content:"";
  position:absolute;
  left:0;
  top:13px;
  bottom:13px;
  width:1px;
  background:rgba(255,255,255,.34);
}
.nc-topbar__group--left .nc-topbar-item:first-child{
  padding-left:0!important;
}
.nc-topbar__group--right .nc-topbar-address{
  padding-right:18px!important;
}
.nc-topbar__group--right .nc-topbar-address:before{
  display:none!important;
}
.nc-topbar__group--right > .nc-social-link:first-of-type:before{
  content:"";
  position:absolute;
  left:0;
  top:13px;
  bottom:13px;
  width:1px;
  background:rgba(255,255,255,.34);
}
.nc-meta-svg{
  width:18px!important;
  height:18px!important;
  stroke-width:1.9!important;
  opacity:.98;
  flex:0 0 auto;
}

/* Professional social icons — no awkward boxes */
.nc-topbar__group--right{
  display:flex!important;
  align-items:center!important;
  gap:0!important;
}
.nc-topbar__group--right .nc-social-link{
  position:relative;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:22px!important;
  height:22px!important;
  margin-left:18px!important;
  margin-right:0!important;
  padding:0!important;
  background:transparent!important;
  border:none!important;
  border-radius:0!important;
  color:#fff!important;
  box-shadow:none!important;
  transform:none!important;
}
.nc-topbar__group--right .nc-social-link:hover{
  color:#eef6ff!important;
  opacity:1!important;
}
.nc-social-svg{
  width:18px!important;
  height:18px!important;
  stroke-width:1.75!important;
}
.nc-social-svg--facebook{width:17px!important;height:17px!important}
.nc-social-svg--instagram{width:18px!important;height:18px!important}
.nc-social-svg--linkedin{width:17px!important;height:17px!important}
.nc-social-svg--youtube{width:19px!important;height:19px!important}
.nc-social-svg--whatsapp{width:18px!important;height:18px!important}

/* ---------- MAIN HEADER ---------- */
.nc-header__main{
  position:relative;
  min-height:86px!important; /* +8px feeling and a bit more */
  padding:18px 26px!important;
  margin-bottom:18px!important;
  background:#fff!important;
  border:2px solid #b8daf4!important;
  border-radius:22px!important;
  box-shadow:
    0 10px 26px rgba(22,78,145,.07),
    inset 0 1px 0 rgba(255,255,255,.65)!important;
  grid-template-columns:minmax(290px,1fr) auto minmax(295px,1fr)!important;
  gap:28px!important;
}

.nc-brand{
  display:flex;
  align-items:center;
  min-height:48px;
}
.nc-brand .custom-logo-link,
.nc-brand .nc-custom-logo-link{
  display:inline-flex;
  align-items:center;
}
.nc-brand .custom-logo,
.nc-brand .nc-site-logo{
  max-height:50px!important;
  width:auto!important;
}
.nc-brand__demo{
  font-size:29px!important;
  font-weight:700!important;
  line-height:1!important;
  letter-spacing:-.03em!important;
  color:var(--nc-primary)!important;
}

.nc-nav ul{
  gap:42px!important;
}
.nc-nav a{
  position:relative;
  font-size:16px!important;
  font-weight:650!important;
  letter-spacing:.01em!important;
  text-transform:uppercase!important;
  color:#274565!important;
  padding:8px 0!important;
}
.nc-nav a:hover{
  color:var(--nc-primary)!important;
}
.nc-nav .current-menu-item>a,
.nc-nav .current_page_item>a{
  color:var(--nc-primary)!important;
}
.nc-nav .current-menu-item>a:after,
.nc-nav .current_page_item>a:after{
  content:"";
  position:absolute;
  left:3px;
  right:3px;
  bottom:-7px;
  height:4px;
  border-radius:999px;
  background:var(--nc-primary)!important;
}

/* ---------- ACTIONS ---------- */
.nc-header__actions{
  justify-content:flex-end!important;
  gap:16px!important;
}
.nc-search-btn,
.nc-btn--header{
  min-height:58px!important;
  height:58px!important;
  border-radius:14px!important;
  box-shadow:none!important;
}
.nc-search-btn{
  width:58px!important;
  min-width:58px!important;
  background:#fff!important;
  border:2px solid #b8daf4!important;
  color:var(--nc-primary)!important;
}
.nc-search-btn .nc-icon{
  width:22px!important;
  height:22px!important;
  stroke-width:2!important;
}
.nc-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
}
.nc-btn--header{
  gap:11px!important;
  padding:0 24px!important;
  background:linear-gradient(180deg,#0b67cf,#0a5ec1)!important;
  border:1px solid rgba(9,80,165,.30)!important;
  color:#fff!important;
  font-size:15px!important;
  font-weight:700!important;
  letter-spacing:.01em!important;
  white-space:nowrap!important;
}
.nc-btn__icon{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:18px;
  height:18px;
  flex:0 0 auto;
}
.nc-btn__icon .nc-icon{
  width:18px;
  height:18px;
  stroke-width:2;
}

/* Search panel stays coherent */
.nc-search-panel{
  border-radius:18px!important;
  border:1px solid #d3e5f3!important;
}

/* Footer polish to match the new header */
.nc-footer{
  background:linear-gradient(180deg,#0c66cd,#075dbf)!important;
  border-top:1px solid rgba(255,255,255,.15)!important;
}
.nc-footer,
.nc-footer a,
.nc-footer p,
.nc-footer li{
  color:#fff!important;
}
.nc-footer-socials a{
  width:34px!important;
  height:34px!important;
  border-radius:10px!important;
  background:rgba(255,255,255,.12)!important;
  border:1px solid rgba(255,255,255,.18)!important;
}
.nc-footer-socials .nc-social-svg{
  color:#fff!important;
}

/* Better logo inversion support on blue backgrounds only */
.nc-logo-invert .nc-topbar + .nc-shell .nc-brand img,
.nc-logo-invert .nc-footer img{
  filter:brightness(0) invert(1);
}

/* ---------- RESPONSIVE ---------- */
@media (max-width:1200px){
  .nc-header__main{
    grid-template-columns:1fr auto!important;
    row-gap:18px!important;
  }
  .nc-nav{
    display:none!important;
  }
  .nc-mobile-toggle{
    display:grid!important;
  }
}

@media (max-width:980px){
  .nc-topbar{
    margin-bottom:10px!important;
  }
  .nc-topbar__in{
    min-height:auto!important;
    padding:8px 14px!important;
    align-items:flex-start!important;
    flex-direction:column!important;
    gap:4px!important;
  }
  .nc-topbar__group{
    flex-wrap:wrap!important;
  }
  .nc-topbar__group > * + *:before,
  .nc-topbar__group--right > .nc-social-link:first-of-type:before{
    display:none!important;
  }
  .nc-topbar-item{
    min-height:32px!important;
    padding:0 14px 0 0!important;
    font-size:13px!important;
  }
  .nc-topbar__group--right .nc-topbar-address{
    padding-right:12px!important;
  }
  .nc-topbar__group--right .nc-social-link{
    margin-left:12px!important;
    width:20px!important;
    height:20px!important;
  }
  .nc-header__main{
    min-height:76px!important;
    padding:14px 16px!important;
    border-radius:18px!important;
  }
  .nc-brand__demo{
    font-size:24px!important;
  }
  .nc-search-btn,
  .nc-btn--header{
    min-height:48px!important;
    height:48px!important;
  }
  .nc-search-btn{
    width:48px!important;
    min-width:48px!important;
  }
  .nc-btn--header{
    padding:0 18px!important;
    font-size:14px!important;
  }
}

@media (max-width:640px){
  .nc-topbar__group--right{
    display:none!important;
  }
  .nc-header__main{
    grid-template-columns:1fr auto!important;
  }
  .nc-header__actions .nc-search-btn{
    display:none!important;
  }
  .nc-btn--header{
    padding:0 16px!important;
  }
  .nc-brand__demo{
    font-size:22px!important;
  }
}


/* ==========================================================
   v0.2.7 — compact header correction
   White main bar, visible logo, consulting proportions
   ========================================================== */

/* Remove old header logo inversion entirely.
   The logo is shown in its original colours on the white menu bar. */
.nc-header .custom-logo,
.nc-header .nc-site-logo{
  filter:none!important;
}

/* Top bar: truly compact */
.nc-topbar{
  margin:4px auto 9px!important;
  border-radius:11px!important;
  box-shadow:none!important;
}
.nc-topbar__in{
  min-height:34px!important;
  height:34px!important;
  padding:0 14px!important;
  gap:18px!important;
}
.nc-topbar-item{
  min-height:34px!important;
  height:34px!important;
  padding:0 13px!important;
  gap:7px!important;
  font-size:12px!important;
  font-weight:500!important;
}
.nc-meta-svg{
  width:14px!important;
  height:14px!important;
}
.nc-topbar__group > * + *:before,
.nc-topbar__group--right > .nc-social-link:first-of-type:before{
  top:9px!important;
  bottom:9px!important;
}

/* Social icons: clean, visible, no containers */
.nc-topbar__group--right .nc-social-link{
  width:17px!important;
  height:17px!important;
  margin-left:12px!important;
  color:#fff!important;
}
.nc-social-svg{
  width:15px!important;
  height:15px!important;
}
.nc-social-svg--facebook{width:14px!important;height:14px!important}
.nc-social-svg--linkedin{width:14px!important;height:14px!important}
.nc-social-svg--instagram{width:15px!important;height:15px!important}
.nc-social-svg--youtube{width:16px!important;height:16px!important}
.nc-social-svg--whatsapp{width:15px!important;height:15px!important}

/* Main menu bar: compact, refined, not bulky */
.nc-header__main{
  min-height:64px!important;
  height:auto!important;
  padding:8px 14px!important;
  margin-bottom:12px!important;
  border-width:1px!important;
  border-color:#bcdcf4!important;
  border-radius:13px!important;
  box-shadow:0 5px 15px rgba(20,76,137,.055)!important;
  grid-template-columns:minmax(220px,1fr) auto minmax(225px,1fr)!important;
  gap:20px!important;
}

/* Logo: visible and proportional */
.nc-brand{
  min-height:44px!important;
}
.nc-brand .custom-logo,
.nc-brand .nc-site-logo{
  display:block!important;
  max-height:38px!important;
  max-width:235px!important;
  width:auto!important;
  object-fit:contain!important;
}
.nc-brand__demo{
  color:var(--nc-primary)!important;
  font-size:23px!important;
  font-weight:650!important;
  letter-spacing:-.02em!important;
}

/* Navigation: smaller and lighter */
.nc-nav ul{
  gap:30px!important;
}
.nc-nav a{
  font-size:12px!important;
  font-weight:600!important;
  letter-spacing:.035em!important;
  color:#213f5e!important;
  padding:5px 0!important;
}
.nc-nav .current-menu-item>a:after,
.nc-nav .current_page_item>a:after{
  left:12%!important;
  right:12%!important;
  bottom:-7px!important;
  height:2px!important;
}

/* Compact search / reserved-area actions */
.nc-header__actions{
  gap:9px!important;
}
.nc-search-btn{
  width:38px!important;
  min-width:38px!important;
  height:38px!important;
  min-height:38px!important;
  border-radius:8px!important;
  border-width:1px!important;
}
.nc-search-btn .nc-icon{
  width:17px!important;
  height:17px!important;
}
.nc-btn--header{
  height:38px!important;
  min-height:38px!important;
  padding:0 15px!important;
  border-radius:8px!important;
  gap:7px!important;
  font-size:12px!important;
}
.nc-btn__icon{
  width:14px!important;
  height:14px!important;
}
.nc-btn__icon .nc-icon{
  width:14px!important;
  height:14px!important;
}

/* Keep the hero visually close to the header */
.nc-hero{
  margin-top:0!important;
}

/* Footer logo can still be inverted when switch is enabled */
.nc-footer.nc-logo-invert .custom-logo,
.nc-footer.nc-logo-invert .nc-site-logo{
  filter:brightness(0) invert(1)!important;
}

/* Tablet */
@media(max-width:1200px){
  .nc-header__main{
    min-height:60px!important;
    padding:8px 12px!important;
    grid-template-columns:1fr auto!important;
  }
}

/* Mobile */
@media(max-width:760px){
  .nc-topbar{
    margin-top:3px!important;
    margin-bottom:7px!important;
  }
  .nc-topbar__in{
    min-height:32px!important;
    height:auto!important;
    padding:4px 10px!important;
  }
  .nc-topbar-item{
    min-height:28px!important;
    height:28px!important;
    font-size:11.5px!important;
  }
  .nc-header__main{
    min-height:56px!important;
    padding:6px 9px!important;
    margin-bottom:9px!important;
    border-radius:11px!important;
  }
  .nc-brand .custom-logo,
  .nc-brand .nc-site-logo{
    max-height:32px!important;
    max-width:180px!important;
  }
  .nc-brand__demo{
    font-size:19px!important;
  }
  .nc-btn--header{
    height:34px!important;
    min-height:34px!important;
    padding:0 11px!important;
  }
}


/* ==========================================================
   v0.2.8 — final header structure refinement
   address left, reserved area in topbar, contact CTA in main
   ========================================================== */


/* Left topbar now contains phone + email + address */
.nc-topbar__group--left{
  min-width:0;
  flex:1 1 auto;
}
.nc-topbar__group--left .nc-topbar-address{
  padding-right:0!important;
}

/* Right topbar: thin reserved-area action + social group */
.nc-topbar__group--right{
  flex:0 0 auto;
  gap:0!important;
}
.nc-topbar-reserved{
  height:24px;
  min-height:24px;
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding:0 10px;
  margin-right:13px;
  border:1px solid rgba(255,255,255,.52);
  border-radius:5px;
  background:rgba(255,255,255,.08);
  color:#fff!important;
  font-size:10.5px;
  font-weight:650;
  letter-spacing:.02em;
  white-space:nowrap;
  transition:.18s ease;
}
.nc-topbar-reserved:hover{
  background:#fff;
  color:var(--nc-primary)!important;
}
.nc-topbar-reserved__icon{
  width:12px;
  height:12px;
  display:inline-flex;
  align-items:center;
}
.nc-topbar-reserved__icon .nc-icon{
  width:12px;
  height:12px;
  stroke-width:2;
}
.nc-topbar-socials{
  position:relative;
  min-height:34px;
  display:inline-flex;
  align-items:center;
  gap:11px;
  padding-left:14px;
}
.nc-topbar-socials:before{
  content:"";
  position:absolute;
  left:0;
  top:9px;
  bottom:9px;
  width:1px;
  background:rgba(255,255,255,.34);
}
.nc-topbar-socials .nc-social-link{
  width:16px!important;
  height:16px!important;
  margin:0!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  color:#fff!important;
  background:none!important;
  border:0!important;
}
.nc-topbar-socials .nc-social-link:before{
  display:none!important;
}

/* Professional social icon sizing */
.nc-topbar-socials .nc-social-svg{
  width:15px!important;
  height:15px!important;
}
.nc-topbar-socials .nc-social-svg--facebook{
  width:14px!important;
  height:14px!important;
}
.nc-topbar-socials .nc-social-svg--linkedin{
  width:14px!important;
  height:14px!important;
}
.nc-topbar-socials .nc-social-svg--instagram{
  width:15px!important;
  height:15px!important;
}
.nc-topbar-socials .nc-social-svg--youtube{
  width:17px!important;
  height:17px!important;
}
.nc-topbar-socials .nc-social-svg--whatsapp{
  width:15px!important;
  height:15px!important;
}

/* Main CTA becomes Contattaci — clean, compact, no lock */
.nc-btn--header{
  min-width:104px;
  justify-content:center!important;
  padding:0 16px!important;
  background:var(--nc-primary)!important;
  color:#fff!important;
}
.nc-btn--header:hover{
  background:var(--nc-primary-2)!important;
  color:#fff!important;
}

/* Slightly balance the three-column header after CTA text is shorter */
.nc-header__main{
  grid-template-columns:minmax(220px,1fr) auto minmax(180px,1fr)!important;
}

/* Footer still gets a white version of the logo */
.nc-footer.nc-logo-invert .custom-logo,
.nc-footer.nc-logo-invert .nc-site-logo{
  filter:brightness(0) invert(1)!important;
}

@media(max-width:1150px){
  .nc-topbar__group--left .nc-topbar-address{
    display:none!important;
  }
}
@media(max-width:760px){
  .nc-topbar__group--right{
    display:flex!important;
  }
  .nc-topbar-socials{
    display:none!important;
  }
  .nc-topbar-reserved{
    margin-right:0;
  }
}


/* ==========================================================
   v0.2.9 — definitive white-logo fix + contact arrow
   ========================================================== */

/* Force the fallback text brand to institutional blue.
   This overrides every older white-header rule in the theme. */
.nc-header .nc-header__main .nc-brand .nc-brand__demo,
.nc-header .nc-header__main .nc-brand .nc-brand__demo:link,
.nc-header .nc-header__main .nc-brand .nc-brand__demo:visited{
  color:#0b66cf!important;
  -webkit-text-fill-color:#0b66cf!important;
  opacity:1!important;
}


/* Contact CTA: diagonal arrow on the left */
.nc-btn--header .nc-btn__icon--arrow{
  width:15px!important;
  height:15px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  flex:0 0 15px!important;
}
.nc-btn--header .nc-btn__icon--arrow .nc-icon{
  width:15px!important;
  height:15px!important;
  stroke-width:2!important;
}


/* ==========================================================
   v0.3.1 — reliable WP customizer logo support
   ========================================================== */

/* Ensure WordPress custom logo markup is treated exactly like the theme logo */
.nc-header .nc-brand .custom-logo-link{
  display:inline-flex!important;
  align-items:center!important;
}
.nc-header .nc-brand .custom-logo{
  display:block!important;
  max-height:38px!important;
  max-width:235px!important;
  width:auto!important;
  object-fit:contain!important;
  opacity:1!important;
  visibility:visible!important;
}


/* ==========================================================
   v0.3.2 — definitive logo fix
   WordPress Site Identity logo has priority.
   Never recolor/filter raster logos in the white header.
   ========================================================== */

.nc-header .nc-brand img,
.nc-header .nc-brand .custom-logo,
.nc-header .nc-brand .nc-site-logo,
.nc-header .nc-brand .custom-logo-link img,
.nc-header .nc-brand .nc-custom-logo-link img{
  filter:none!important;
  -webkit-filter:none!important;
  mix-blend-mode:normal!important;
  opacity:1!important;
  visibility:visible!important;
  display:block!important;
  background:transparent!important;
  max-height:42px!important;
  max-width:260px!important;
  width:auto!important;
  height:auto!important;
  object-fit:contain!important;
}

.nc-header .nc-brand .nc-custom-logo-link{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:flex-start!important;
  max-width:260px!important;
}

/* Avoid any accidental inherited colour/fill on raster logo */
.nc-header .nc-brand{
  color:inherit!important;
  overflow:visible!important;
}

/* Footer may still invert only when explicitly requested. */
.nc-footer.nc-logo-invert .nc-site-logo,
.nc-footer.nc-logo-invert .custom-logo{
  filter:brightness(0) invert(1)!important;
}


/* ==========================================================
   v0.3.3 — definitive logo CSS conflict cleanup
   ========================================================== */

/* The actual issue was an older high-specificity !important filter still
   recolouring the whole PNG (including its white background) into a blue block.
   This rule explicitly wins against every legacy header rule. */
html body .nc-header .nc-header__main .nc-brand img.custom-logo,
html body .nc-header .nc-header__main .nc-brand img.nc-site-logo,
html body .nc-header .nc-header__main .nc-brand .custom-logo-link img,
html body .nc-header .nc-header__main .nc-brand .nc-custom-logo-link img{
  filter:none!important;
  -webkit-filter:none!important;
  opacity:1!important;
  visibility:visible!important;
  display:block!important;
  background:transparent!important;
  mix-blend-mode:normal!important;
  max-height:42px!important;
  max-width:270px!important;
  width:auto!important;
  height:auto!important;
  object-fit:contain!important;
}


/* ==========================================================
   v0.3.4 — hero title breathing + autoplay support
   ========================================================== */

/* Give long slide headlines real horizontal room and lighter rhythm */
.nc-hero__content{
  width:min(760px,62%)!important;
  padding-left:11.5%!important;
  padding-right:24px!important;
}
.nc-hero h1{
  max-width:680px!important;
  font-size:clamp(32px,2.65vw,41px)!important;
  line-height:1.15!important;
  letter-spacing:-.012em!important;
  font-weight:480!important;
  margin:18px 0 18px!important;
  text-wrap:balance;
}
.nc-hero p{
  max-width:610px!important;
  margin-bottom:24px!important;
}

/* Smooth slide change while retaining manual arrows */
.nc-hero__slide{
  opacity:0;
  transition:opacity .42s ease;
}
.nc-hero__slide.is-active{
  opacity:1;
}

@media(max-width:980px){
  .nc-hero__content{
    width:auto!important;
    padding-left:28px!important;
    padding-right:28px!important;
  }
  .nc-hero h1{
    max-width:610px!important;
    font-size:34px!important;
  }
}
@media(max-width:760px){
  .nc-hero__content{
    padding-left:20px!important;
    padding-right:20px!important;
  }
  .nc-hero h1{
    font-size:30px!important;
    line-height:1.14!important;
    text-wrap:pretty;
  }
}


/* ==========================================================
   v0.3.6 — compact "Lo Studio" block
   ========================================================== */

.nc-section--about{
  padding-top:46px!important;
  padding-bottom:46px!important;
}

.nc-section--about .nc-about{
  grid-template-columns:minmax(0,1.08fr) minmax(0,.92fr)!important;
  gap:34px!important;
  align-items:center!important;
}

/* Horizontal / rectangular image, not a tall square card */
.nc-section--about .nc-about__media{
  max-width:none!important;
}
.nc-section--about .nc-about__media img{
  width:100%!important;
  aspect-ratio:16/9!important;
  max-height:390px!important;
  object-fit:cover!important;
  object-position:center!important;
  border-radius:12px!important;
}

/* Smaller experience badge */
.nc-section--about .nc-about__badge{
  right:14px!important;
  bottom:14px!important;
  min-width:132px!important;
  padding:10px 12px!important;
  border-radius:8px!important;
}
.nc-section--about .nc-about__badge strong{
  font-size:20px!important;
  line-height:1!important;
}
.nc-section--about .nc-about__badge span{
  font-size:11.5px!important;
}

/* Content becomes tighter without making text tiny */
.nc-section--about .nc-eyebrow{
  font-size:10.5px!important;
}
.nc-section--about h2{
  font-size:clamp(22px,1.8vw,27px)!important;
  line-height:1.15!important;
  margin:6px 0 10px!important;
  font-weight:500!important;
}
.nc-section--about p{
  font-size:14.5px!important;
  line-height:1.55!important;
  margin:0!important;
}
.nc-section--about .nc-checks{
  gap:7px!important;
  margin:14px 0 18px!important;
}
.nc-section--about .nc-checks div{
  font-size:13.5px!important;
}
.nc-section--about .nc-checks span{
  width:19px!important;
  height:19px!important;
  flex-basis:19px!important;
  font-size:10px!important;
}
.nc-section--about .nc-btn{
  min-height:38px!important;
  padding:0 16px!important;
  border-radius:7px!important;
  font-size:12px!important;
}

@media(max-width:900px){
  .nc-section--about{
    padding-top:36px!important;
    padding-bottom:36px!important;
  }
  .nc-section--about .nc-about{
    grid-template-columns:1fr!important;
    gap:24px!important;
  }
  .nc-section--about .nc-about__media img{
    aspect-ratio:16/10!important;
    max-height:360px!important;
  }
}


/* ==========================================================
   v0.3.7 — Aggiornamenti archive
   ========================================================== */

.nc-page-content--aggiornamenti{
  padding-top:8px!important;
}

.nc-updates-archive{
  padding:8px 0 42px;
}

.nc-heading--archive{
  margin-bottom:22px!important;
}
.nc-heading--archive h2{
  font-size:clamp(23px,2vw,29px)!important;
  font-weight:500!important;
  line-height:1.16!important;
  margin:5px 0 7px!important;
}
.nc-heading--archive p{
  margin:0!important;
  max-width:760px;
}

.nc-news-grid--archive{
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:18px!important;
}

.nc-news-grid--archive .nc-news-card{
  border-radius:12px!important;
  overflow:hidden;
  transition:transform .2s ease,box-shadow .2s ease;
}
.nc-news-grid--archive .nc-news-card:hover{
  transform:translateY(-2px);
  box-shadow:0 8px 24px rgba(22,72,126,.07);
}

.nc-news-card__media{
  display:block;
  overflow:hidden;
}
.nc-news-grid--archive .nc-news-card__media img,
.nc-news-card__placeholder{
  width:100%;
  aspect-ratio:16/9;
  object-fit:cover;
  display:flex;
  align-items:center;
  justify-content:center;
}
.nc-news-card__placeholder{
  background:#eef5fb;
  color:var(--nc-primary);
}
.nc-news-card__placeholder .nc-icon{
  width:32px;
  height:32px;
}

.nc-news-grid--archive .nc-news-card__body{
  padding:15px 16px 17px!important;
}
.nc-news-grid--archive .nc-news-card small{
  font-size:10.5px!important;
}
.nc-news-grid--archive .nc-news-card h3{
  font-size:17px!important;
  line-height:1.25!important;
  font-weight:560!important;
  margin:7px 0 8px!important;
}
.nc-news-grid--archive .nc-news-card p{
  font-size:13px!important;
  line-height:1.5!important;
  margin:0 0 12px!important;
}
.nc-news-card__more{
  display:inline-flex;
  align-items:center;
  gap:5px;
  color:var(--nc-primary);
  font-size:11.5px;
  font-weight:650;
}
.nc-news-card__more .nc-icon{
  width:13px;
  height:13px;
}

.nc-pagination{
  margin:28px 0 0;
}
.nc-pagination ul{
  display:flex;
  gap:6px;
  list-style:none;
  padding:0;
  margin:0;
}
.nc-pagination a,
.nc-pagination span{
  min-width:32px;
  height:32px;
  padding:0 9px;
  border:1px solid var(--nc-line);
  border-radius:6px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  font-size:12px;
}
.nc-pagination .current{
  background:var(--nc-primary);
  border-color:var(--nc-primary);
  color:#fff;
}

.nc-empty-state{
  border:1px solid var(--nc-line);
  background:#f8fafc;
  border-radius:12px;
  padding:22px;
}
.nc-empty-state h3{
  margin:0 0 5px;
  font-size:18px;
  font-weight:550;
}
.nc-empty-state p{
  margin:0;
}

@media(max-width:980px){
  .nc-news-grid--archive{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
}
@media(max-width:620px){
  .nc-news-grid--archive{
    grid-template-columns:1fr!important;
  }
}


/* ==========================================================
   v0.3.8 — compact breadcrumb
   ========================================================== */
.nc-page-hero--compact{
  padding:0!important;
  margin-bottom:18px!important;
  background:transparent!important;
  border:0!important;
}
.nc-page-hero--compact .nc-page-hero__inner{
  min-height:40px!important;
  padding:0 16px!important;
  display:flex!important;
  align-items:center!important;
  background:#f3f7fa!important;
  border:1px solid #dbe8f2!important;
  border-radius:10px!important;
}
.nc-page-hero--compact .nc-breadcrumbs{
  margin:0!important;
  padding:0!important;
  display:flex!important;
  align-items:center!important;
  gap:6px!important;
  font-size:10.5px!important;
  line-height:1!important;
}
.nc-page-hero--compact .nc-breadcrumbs a,
.nc-page-hero--compact .nc-breadcrumbs span{line-height:1!important;}
@media(max-width:760px){
  .nc-page-hero--compact{margin-bottom:14px!important;}
  .nc-page-hero--compact .nc-page-hero__inner{
    min-height:36px!important;
    padding:0 12px!important;
    border-radius:8px!important;
  }
  .nc-page-hero--compact .nc-breadcrumbs{font-size:10px!important;}
}


/* ==========================================================
   v0.5.2 — rich text content from theme settings
   ========================================================== */
.nc-rich{
  color:inherit;
  line-height:1.58;
}
.nc-rich > :first-child{margin-top:0!important}
.nc-rich > :last-child{margin-bottom:0!important}
.nc-rich p{margin:0 0 .72em}
.nc-rich ul,.nc-rich ol{margin:.55em 0 .8em 1.3em;padding:0}
.nc-rich li{margin:.2em 0}
.nc-rich a{color:var(--nc-primary);text-decoration:underline;text-underline-offset:2px}
.nc-rich strong{font-weight:650}
.nc-hero__text{max-width:520px;color:#445d69}
.nc-about__text{color:#60707b;font-size:14.5px}
.nc-service-card__text{color:#60707b;font-size:13px;line-height:1.5}
.nc-footer__text{color:inherit}
.nc-studio-intro__text{color:#60707b;font-size:15px;line-height:1.58}
