/* ==========================================================================
   Novitas Consulting — style.css
   Palette ricavata dal logo: blu, oro, blu notte.
   ========================================================================== */

/* 1. TOKEN E RESET -------------------------------------------------------- */
:root {
  /* Colori del marchio: sostituire qui i codici ufficiali, se diversi */
  --blue: #3E6E93;
  --gold: #C8A45A;
  --navy: #15283C;

  --blue-dark: #335C7C; --gold-dark: #B8934A; --navy-deep: #0F1E2E;
  --mist: #F3F6FA; --white: #FFFFFF;
  --text-secondary: #4A5B6C; --text-muted: #627182; --border: #E1E7EE;
  --radius-sm: 12px; --radius-md: 20px; --radius-lg: 24px; --radius-xl: 32px; --radius-pill: 9999px;
  --shadow-soft: 0 12px 32px rgba(21, 40, 60, .08);
  --ease: cubic-bezier(.22, 1, .36, 1);
  --transition: .3s var(--ease);
  --container-max: 1280px;
  --header-h: 76px;
  --icon-arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4.5 11.5L11.5 4.5M11.5 4.5H6M11.5 4.5V10'/%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--white); color: var(--navy); line-height: 1.6;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; border: none; background: none; cursor: pointer; color: inherit; }
ul { list-style: none; }
:focus-visible { outline: 2px solid var(--navy); outline-offset: 2px; box-shadow: 0 0 0 2px var(--gold); }

.container { width: 100%; max-width: var(--container-max); margin: 0 auto; padding: 0 24px; }
.container--narrow { max-width: 880px; }
.nowrap { white-space: nowrap; }
.text-link { text-decoration: underline; text-underline-offset: 3px; font-weight: 500; }
.icon { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* 2. ELEMENTI RICORRENTI -------------------------------------------------- */
.micro-pill {
  display: inline-flex; align-items: center; font-size: 11px; font-weight: 600; letter-spacing: .09em;
  text-transform: uppercase; line-height: 1; padding: 6px 14px; border-radius: var(--radius-pill);
  border: 1px solid var(--border); color: var(--blue);
}
.micro-pill--light { border-color: rgba(255, 255, 255, .3); color: rgba(255, 255, 255, .92); }

.section-title { font-size: clamp(2rem, 3.8vw, 3.1rem); font-weight: 400; letter-spacing: -.025em; line-height: 1.15; }
.section-subtitle { font-size: 1.05rem; color: var(--text-secondary); max-width: 660px; line-height: 1.65; }
.section-header-center { text-align: center; max-width: 720px; margin: 0 auto 48px; }
.section-header-center .section-title { margin: 14px 0; }
.section-header-center .section-subtitle { margin: 0 auto; }
.section-cta-center { text-align: center; margin-top: 40px; }
.accent-line { display: inline-block; height: 2px; width: 96px; background: var(--gold); vertical-align: middle; margin-left: 18px; }

/* Pulsanti. I nomi .btn-lime e .btn-forest restano come alias per le pagine interne. */
.btn-primary, .btn-secondary, .btn-glass, .btn-outline, .btn-lime, .btn-forest, .split-cta__pill {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 26px;
  font-weight: 600; font-size: .94rem; line-height: 1.2; text-align: center; border-radius: var(--radius-pill);
  transition: background-color var(--transition), border-color var(--transition), color var(--transition), transform var(--transition);
}
.btn-primary, .btn-lime, .split-cta__pill, .split-cta__circle { background: var(--gold); color: var(--navy); }
.btn-primary:hover, .btn-lime:hover, .split-cta:hover .split-cta__pill, .split-cta:hover .split-cta__circle { background: var(--gold-dark); }
.btn-secondary, .btn-forest { background: var(--blue); color: var(--white); font-weight: 500; }
.btn-secondary:hover, .btn-forest:hover { background: var(--blue-dark); }
.btn-primary:hover, .btn-secondary:hover, .btn-lime:hover, .btn-forest:hover { transform: translateY(-1px); }
.btn-glass {
  background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .3); color: var(--white); font-weight: 500;
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.btn-glass:hover { background: rgba(255, 255, 255, .24); border-color: rgba(255, 255, 255, .5); }
.btn-outline { background: var(--white); border: 1px solid var(--border); color: var(--navy); font-weight: 500; }
.btn-outline:hover { border-color: var(--blue); color: var(--blue); }
.btn-block { width: 100%; }

.split-cta { display: inline-flex; align-items: center; gap: 4px; }
.split-cta__circle {
  width: 48px; height: 48px; border-radius: 50%; flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center; transition: background-color var(--transition);
}

/* Freccia disegnata via CSS */
.circle-arrow {
  width: 44px; height: 44px; border-radius: 50%; flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  transition: background-color var(--transition), color var(--transition);
}
.circle-arrow::before, .split-cta__circle::before, .dropdown-link::after {
  content: ""; width: 16px; height: 16px; flex-shrink: 0; background-color: currentColor;
  -webkit-mask: var(--icon-arrow) center / contain no-repeat; mask: var(--icon-arrow) center / contain no-repeat;
  transition: transform var(--transition), opacity .2s ease;
}
.split-cta__circle::before { width: 18px; height: 18px; }
.circle-arrow--white { background: var(--white); color: var(--navy); box-shadow: 0 2px 10px rgba(21, 40, 60, .06); }
.circle-arrow--mist { background: var(--mist); color: var(--navy); }
.circle-arrow--gold { background: var(--gold); color: var(--navy); }
.card-interactive:hover .circle-arrow::before, .split-cta:hover .split-cta__circle::before { transform: translate(2px, -2px); }
.card-interactive:hover .circle-arrow--white, .card-interactive:hover .circle-arrow--mist { background: var(--gold); }

/* Comparsa allo scorrimento: attiva solo se JavaScript è disponibile */
.js .reveal { opacity: 0; }
.js .reveal.is-visible { opacity: 1; animation: reveal-up .7s var(--ease) backwards; }
@keyframes reveal-up { from { opacity: 0; transform: translateY(24px); } }

/* 3. LOGO ----------------------------------------------------------------- */
.brand-logo { display: inline-flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand-logo__mark { width: 38px; height: 38px; flex-shrink: 0; }
.brand-logo__bars { fill: var(--blue); }
.brand-logo__slash { fill: var(--gold); }
.brand-logo__text { display: flex; flex-direction: column; gap: 5px; line-height: 1; white-space: nowrap; }
.brand-logo__name { font-size: 1.3rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--blue); }
.brand-logo__sub {
  display: flex; align-items: center; gap: 8px; font-size: .58rem; font-weight: 600;
  letter-spacing: .34em; text-transform: uppercase; color: var(--navy);
}
.brand-logo__sub::before { content: ""; width: 22px; height: 2px; background: var(--gold); flex-shrink: 0; }
.brand-logo__img { height: 44px; width: auto; }
/* Versione per fondo scuro (footer) */
.brand-logo--negative .brand-logo__bars { fill: var(--white); }
.brand-logo--negative .brand-logo__name, .brand-logo--negative .brand-logo__sub { color: var(--white); }

/* 4. HEADER --------------------------------------------------------------- */
.site-header {
  position: fixed; top: 0; left: 0; width: 100%; height: var(--header-h); z-index: 1000;
  display: flex; align-items: center; background: var(--white); border-bottom: 1px solid var(--border);
  transition: box-shadow .3s ease;
}
.site-header.is-scrolled { box-shadow: 0 8px 28px rgba(21, 40, 60, .1); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; }

.main-nav { display: flex; align-items: center; gap: 24px; }
.nav-item { position: relative; }
.nav-link {
  display: inline-flex; align-items: center; gap: 5px; padding: 8px 0; white-space: nowrap;
  color: var(--navy); font-size: .9rem; font-weight: 500; transition: color var(--transition);
}
.nav-link:hover, .nav-link[aria-current="page"] { color: var(--blue); }
.nav-link[aria-current="page"] { box-shadow: 0 2px 0 var(--gold); }
.nav-chevron { width: 12px; height: 12px; color: var(--blue); transition: transform .25s ease; }
.nav-item:hover .nav-chevron, .nav-item:focus-within .nav-chevron { transform: rotate(180deg); }

/* Il padding-top fa da "ponte": il menu non si chiude passando dal link al pannello */
.nav-dropdown {
  position: absolute; top: 100%; left: -16px; min-width: 310px; padding-top: 8px; z-index: 100;
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .22s ease, transform .22s ease, visibility .22s;
}
.nav-item:hover .nav-dropdown, .nav-item:focus-within .nav-dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-dropdown__panel {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-md);
  padding: 10px; box-shadow: 0 20px 48px rgba(21, 40, 60, .16);
}
.dropdown-link {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 14px;
  border-radius: 12px; color: var(--navy); font-size: .88rem; font-weight: 500; transition: background-color .2s ease;
}
.dropdown-link::after { width: 14px; height: 14px; opacity: .45; }
.dropdown-link:hover { background: var(--mist); }
.dropdown-link:hover::after { opacity: 1; }

.header-actions { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.header-phone {
  display: none; align-items: center; gap: 7px; padding: 9px 14px; white-space: nowrap;
  color: var(--navy); font-size: .88rem; font-weight: 500; border-radius: var(--radius-pill);
  border: 1px solid var(--border); transition: border-color .25s ease, color .25s ease;
}
.header-phone:hover { border-color: var(--blue); color: var(--blue); }
.header-cta { padding: 11px 22px; font-size: .88rem; white-space: nowrap; }
.mobile-toggle, .mobile-drawer__close {
  width: 44px; height: 44px; border-radius: 50%; background: var(--mist); color: var(--navy);
  align-items: center; justify-content: center; flex-shrink: 0;
}
.mobile-toggle { display: none; }
.mobile-drawer__close { display: flex; }

.mobile-drawer {
  position: fixed; inset: 0; z-index: 1100; padding: 16px 24px 24px; background: var(--white); color: var(--navy);
  display: flex; flex-direction: column; overflow-y: auto;
  visibility: hidden; transform: translateX(100%); transition: transform .35s var(--ease), visibility .35s;
}
.mobile-drawer.is-open { visibility: visible; transform: translateX(0); }
.mobile-drawer__top {
  display: flex; align-items: center; justify-content: space-between;
  padding-bottom: 16px; border-bottom: 1px solid var(--border);
}
.mobile-drawer__nav { padding: 24px 0; display: flex; flex-direction: column; gap: 14px; }
.mobile-drawer__link { display: block; font-size: 1.25rem; font-weight: 500; padding: 6px 0; }
.mobile-drawer__sub {
  display: flex; flex-direction: column; gap: 8px; margin-top: 8px; padding-left: 16px;
  border-left: 2px solid var(--gold);
}
.mobile-drawer__sub a { color: var(--text-secondary); font-size: .94rem; padding: 4px 0; }
.mobile-drawer__footer {
  margin-top: auto; padding-top: 24px; border-top: 1px solid var(--border);
  display: flex; flex-direction: column; gap: 12px;
}

/* 5. HERO (HOME) E TESTATA DELLE PAGINE INTERNE --------------------------- */
.hero-wrapper { padding: calc(var(--header-h) + 12px) 12px 12px; }
.hero {
  position: relative; min-height: calc(92vh - var(--header-h)); border-radius: 28px; overflow: hidden; padding: 64px 0 28px;
  display: flex; flex-direction: column; justify-content: space-between;
  background-color: var(--navy);
  background-image:
    linear-gradient(105deg, rgba(15, 30, 46, .9) 0%, rgba(21, 40, 60, .66) 48%, rgba(21, 40, 60, .36) 100%),
    url('https://images.unsplash.com/photo-1600880292203-757bb62b4baf?auto=format&fit=crop&w=2000&q=80');
  background-size: cover; background-position: center;
}
.hero__content { max-width: 780px; padding: 24px 0 48px; }
.hero__eyebrow { font-size: .82rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--gold); margin-bottom: 20px; }
.hero__title { font-size: clamp(2.35rem, 4.8vw, 4.1rem); font-weight: 400; line-height: 1.1; letter-spacing: -.025em; color: var(--white); margin-bottom: 22px; }
.hero__subtitle { font-size: clamp(1rem, 1.35vw, 1.14rem); color: rgba(255, 255, 255, .9); max-width: 630px; line-height: 1.65; margin-bottom: 32px; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-bottom: 24px; }
.hero__context-note {
  display: flex; align-items: flex-start; gap: 10px; width: fit-content; max-width: 100%;
  padding: 10px 18px; border-radius: 18px; font-size: .88rem; line-height: 1.5; color: rgba(255, 255, 255, .9);
  background: rgba(21, 40, 60, .55); border: 1px solid rgba(200, 164, 90, .4);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.hero__context-dot { width: 8px; height: 8px; margin-top: .45em; border-radius: 50%; background: var(--gold); flex-shrink: 0; }

.hero-tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 24px; }
.hero-tab {
  text-align: left; padding: 20px 24px; border-radius: 16px; font-size: .76rem; font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase; color: var(--white);
  background: rgba(255, 255, 255, .2); border: 1px solid rgba(255, 255, 255, .26);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  transition: background-color .28s ease, color .28s ease;
}
.hero-tab:hover { background: rgba(255, 255, 255, .32); }
.hero-tab.is-active { background: var(--white); color: var(--navy); border-color: var(--white); box-shadow: inset 0 -3px 0 var(--gold); }

.page-hero { background: var(--blue); color: var(--white); border-radius: 28px; padding: 72px 0 64px; }
.page-hero__title { font-size: clamp(2rem, 4vw, 3.3rem); font-weight: 400; line-height: 1.14; letter-spacing: -.025em; max-width: 900px; margin: 18px 0; }
.page-hero__lead { font-size: 1.05rem; color: rgba(255, 255, 255, .9); max-width: 680px; line-height: 1.65; }
.anchor-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }

/* 6. HOME: PRESENTAZIONE (BENTO) ------------------------------------------ */
.section-bento { padding: 56px 0 88px; }
.bento-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.bento-card {
  display: flex; flex-direction: column; justify-content: space-between; min-height: 510px;
  border-radius: var(--radius-lg); overflow: hidden; transition: transform var(--transition), box-shadow var(--transition);
}
.bento-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-soft); }
.bento-card--mist { background: var(--mist); padding: 28px 28px 24px; }
.bento-card__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; }
.bento-card__title { font-size: 1.5rem; font-weight: 500; line-height: 1.25; letter-spacing: -.02em; margin-bottom: 12px; }
.bento-card__text { font-size: .94rem; color: var(--text-secondary); line-height: 1.6; margin-bottom: 24px; }
.bento-card__photo { width: 100%; height: 220px; object-fit: cover; border-radius: 18px; background: #D9E0E8; margin-top: auto; }
.bento-card--brand { background: var(--blue); color: var(--white); }
.bento-cutout-media { position: relative; height: 300px; flex-shrink: 0; overflow: hidden; background: var(--navy); }
.bento-cutout-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.bento-cutout-svg { position: absolute; left: 0; bottom: -1px; width: 100%; height: 100%; pointer-events: none; fill: var(--blue); }
.bento-cutout-svg .is-gold { fill: var(--gold); }
.bento-brand-body { flex: 1; display: flex; flex-direction: column; justify-content: space-between; padding: 16px 28px 28px; }
.bento-brand-footer { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-top: 14px; }
.bento-brand-title { font-size: 1.28rem; font-weight: 500; line-height: 1.28; letter-spacing: -.02em; }

/* 7. HOME: COMPETENZE ------------------------------------------------------ */
.section-competenze { padding: 40px 0 96px; }
.competenze-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service-card {
  display: flex; flex-direction: column; padding: 12px; background: var(--mist);
  border-radius: var(--radius-lg); transition: transform var(--transition), box-shadow var(--transition);
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-soft); }
.service-card__media { position: relative; aspect-ratio: 16 / 11; border-radius: 18px; overflow: hidden; isolation: isolate; background: #D9E0E8; }
.service-card__media img, .insight-card__media img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease);
}
.service-card:hover .service-card__media img, .insight-card:hover .insight-card__media img { transform: scale(1.04); }
.service-card__badge {
  position: absolute; top: 14px; left: 14px; width: 46px; height: 46px; border-radius: 50%;
  background: var(--gold); color: var(--navy); display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 12px rgba(21, 40, 60, .18);
}
.service-card__body { flex: 1; display: flex; flex-direction: column; padding: 20px 14px 12px; }
.service-card__title { font-size: 1.18rem; font-weight: 600; line-height: 1.3; margin-bottom: 8px; }
.service-card__desc { font-size: .9rem; color: var(--text-secondary); line-height: 1.55; margin-bottom: 18px; }
.service-card__footer { margin-top: auto; display: flex; align-items: center; justify-content: space-between; }
.service-card__link-text { font-size: .82rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--blue); }

/* 8. HOME: QUANDO RIVOLGERSI A NOI + COME LAVORIAMO ----------------------- */
.section-dark-wrap { padding: 0 12px; }
.dark-philosophy { position: relative; background: var(--navy); color: var(--white); border-radius: var(--radius-xl); padding: 76px 0 84px; }
.dark-philosophy::after {
  content: ""; position: absolute; bottom: -22px; left: 72px; width: 56px; height: 36px;
  background: var(--navy); clip-path: polygon(0 0, 100% 0, 14% 100%, 0 88%);
}
.dark-philosophy__header { max-width: 780px; margin-bottom: 48px; }
.dark-philosophy__title { font-size: clamp(2.1rem, 4vw, 3.25rem); font-weight: 400; letter-spacing: -.025em; line-height: 1.15; margin: 18px 0; }
.dark-philosophy__intro { font-size: 1.04rem; color: rgba(255, 255, 255, .8); line-height: 1.65; max-width: 650px; }
.momenti-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.momento-card {
  display: block; padding: 28px 26px; border-radius: var(--radius-md);
  background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .14);
  transition: border-color var(--transition), background-color var(--transition), transform var(--transition);
}
.momento-card:hover { border-color: rgba(200, 164, 90, .6); background: rgba(255, 255, 255, .08); transform: translateY(-3px); }
.momento-card__icon { width: 36px; height: 36px; stroke-width: 1.8; color: var(--gold); margin-bottom: 22px; }
.momento-card__title { font-size: 1.16rem; font-weight: 600; margin-bottom: 10px; }
.momento-card__text { font-size: .92rem; color: rgba(255, 255, 255, .76); line-height: 1.6; }

.metodo-strip { padding: 64px 0 88px; }
.metodo-strip__top { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; margin-bottom: 36px; }
.metodo-strip__top .section-title { margin-top: 12px; }
.metodo-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.metodo-item { padding: 8px 28px; border-left: 1px solid var(--border); }
.metodo-item:first-child { padding-left: 0; border-left: none; }
.metodo-item:last-child { padding-right: 0; }
.metodo-badge {
  display: inline-flex; align-items: baseline; padding: 8px 16px; margin-bottom: 16px; border-radius: var(--radius-sm);
  background: var(--mist); color: var(--blue); font-size: 1.55rem; font-weight: 700; letter-spacing: -.02em;
}
.metodo-badge span { color: var(--gold); margin-left: 2px; }
.metodo-item__title { font-size: 1.02rem; font-weight: 600; margin-bottom: 8px; }
.metodo-item__text { font-size: .88rem; color: var(--text-secondary); line-height: 1.6; }

/* 9. HOME: SETTORI (RADAR + ELENCO) --------------------------------------- */
.section-settori { padding: 24px 0 96px; }
.settori-header { max-width: 640px; margin-bottom: 48px; }
.settori-header .section-title { margin: 14px 0; }
.settori-layout { display: grid; grid-template-columns: 1fr 1.15fr; gap: 56px; align-items: center; }
.radar-box { display: flex; flex-direction: column; align-items: center; }
.radar-svg { width: 100%; max-width: 520px; height: auto; }
.radar-svg text { font-size: 11.5px; font-weight: 600; fill: var(--text-secondary); }
.radar-grid { stroke: var(--border); fill: none; }
.radar-path { transition: d .55s var(--ease); }
.radar-path--strategica { fill: var(--gold); fill-opacity: .72; }
.radar-path--ordinario { fill: var(--blue); fill-opacity: .74; }
.radar-legend { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; margin-top: 18px; font-size: .82rem; color: var(--text-secondary); }
.radar-legend__item { display: inline-flex; align-items: center; gap: 8px; }
.radar-dot { width: 10px; height: 10px; border-radius: 50%; }
.radar-dot--strategica { background: var(--gold); }
.radar-dot--ordinario { background: var(--blue); }
.radar-active-label { margin-top: 10px; padding: 6px 14px; border-radius: var(--radius-pill); background: var(--mist); font-size: .82rem; font-weight: 600; }
.settore-row {
  position: relative; display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 24px 16px; border-radius: 16px; transition: background-color .25s ease;
}
.settore-row::after { content: ""; position: absolute; left: 16px; right: 16px; bottom: 0; height: 1px; background: var(--border); }
.settore-row:hover, .settore-row.is-active { background: var(--mist); }
.settore-row__title { font-size: 1.24rem; font-weight: 500; margin-bottom: 6px; }
.settore-row__desc { font-size: .9rem; color: var(--text-secondary); line-height: 1.55; }

/* 10. HOME: VETRINA A DUE COLONNE ----------------------------------------- */
.section-showcase { padding: 16px 0 96px; }
.showcase-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.showcase-photo-card {
  min-height: 480px; padding: 28px; border-radius: 28px; overflow: hidden; display: flex; align-items: flex-end;
  background: var(--navy) url('https://images.unsplash.com/photo-1573496359142-b8d87734a5a2?auto=format&fit=crop&w=1200&q=80') center top / cover no-repeat;
}
.showcase-glass-box {
  position: relative; width: 100%; padding: 32px 28px 26px; border-radius: 20px;
  background: rgba(255, 255, 255, .93); box-shadow: 0 12px 32px rgba(0, 0, 0, .14);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
}
.showcase-quote-mark { position: absolute; top: -22px; left: 26px; color: var(--gold); filter: drop-shadow(0 2px 6px rgba(21, 40, 60, .18)); }
.showcase-quote-text { font-size: 1.06rem; font-weight: 500; line-height: 1.55; margin-bottom: 22px; }
.showcase-author { display: flex; align-items: center; gap: 14px; }
.showcase-monogram { width: 40px; height: 40px; flex-shrink: 0; }
.showcase-author__name { font-size: .92rem; font-weight: 600; }
.showcase-author__sub { font-size: .74rem; letter-spacing: .05em; color: var(--text-muted); text-transform: uppercase; }
.showcase-brand-card {
  position: relative; min-height: 480px; padding: 36px; border-radius: 28px; overflow: hidden;
  background: var(--blue); color: var(--white);
  display: flex; flex-direction: column; justify-content: space-between;
}
.showcase-brand-polygon {
  position: absolute; top: 0; left: 0; width: 100%; height: 62%; pointer-events: none;
  background: rgba(255, 255, 255, .08); clip-path: polygon(0 0, 100% 0, 84% 76%, 0 100%);
}
.showcase-brand-top, .showcase-brand-mid, .showcase-brand-bottom { position: relative; z-index: 1; }
.showcase-brand-top { display: flex; align-items: center; justify-content: space-between; }
.showcase-brand-icon { width: 48px; height: 48px; border-radius: 50%; background: var(--gold); color: var(--navy); display: flex; align-items: center; justify-content: center; }
.showcase-brand-title { font-size: clamp(1.65rem, 2.6vw, 2.25rem); font-weight: 500; line-height: 1.22; letter-spacing: -.02em; max-width: 480px; margin: 28px 0; }
.showcase-brand-bottom { display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: 20px; }
.showcase-stat__value { font-size: 2.3rem; font-weight: 700; line-height: 1.1; margin-bottom: 6px; }
.showcase-stat__desc { font-size: .88rem; color: rgba(255, 255, 255, .9); max-width: 280px; line-height: 1.45; }

/* 11. APPROFONDIMENTI ------------------------------------------------------ */
.section-approfondimenti { padding: 24px 0 96px; }
.insights-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.insight-card {
  display: grid; grid-template-columns: .92fr 1.08fr; gap: 22px; padding: 18px; overflow: hidden;
  border-radius: var(--radius-lg); transition: transform var(--transition), box-shadow var(--transition);
}
.insight-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-soft); }
.insight-card--brand { background: var(--blue); color: var(--white); }
.insight-card--mist { background: var(--mist); }
.insight-card--full { grid-column: 1 / -1; grid-template-columns: .72fr 1.28fr; }
.insight-card__media { position: relative; min-height: 230px; border-radius: 18px; overflow: hidden; isolation: isolate; background: #D9E0E8; }
.insight-card__content { display: flex; flex-direction: column; justify-content: space-between; min-width: 0; padding: 6px 8px 6px 0; }
.insight-notch {
  display: inline-block; margin: -24px 0 18px -6px; padding: 10px 28px 10px 16px; background: var(--white); color: var(--navy);
  font-size: 10.5px; font-weight: 700; letter-spacing: .08em; line-height: 1.3; text-transform: uppercase;
  clip-path: polygon(0 0, 100% 0, calc(100% - 16px) 100%, 0 100%);
}
.insight-date { font-size: .8rem; font-weight: 500; opacity: .8; margin-bottom: 8px; }
.insight-title { font-size: 1.22rem; font-weight: 500; line-height: 1.32; letter-spacing: -.015em; margin-bottom: 10px; }
.insight-summary { font-size: .9rem; opacity: .9; line-height: 1.55; margin-bottom: 18px; }
.insight-footer { display: flex; justify-content: flex-end; }

.filter-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.filter-pill {
  padding: 8px 14px; border-radius: var(--radius-pill); border: 1px solid var(--border); background: var(--white);
  color: var(--navy); font-size: .82rem; font-weight: 600; transition: background-color .2s ease, border-color .2s ease;
}
.filter-pill.is-active, .filter-pill:hover { background: var(--gold); border-color: var(--gold); }
.archive-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.archive-item { padding: 22px 24px; border-radius: 16px; background: var(--mist); border: 1px solid var(--border); }
.archive-item__cat { font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--blue); margin-bottom: 6px; }
.archive-item__title { font-size: 1.08rem; font-weight: 600; line-height: 1.35; margin-bottom: 6px; }
.archive-item__desc { font-size: .9rem; color: var(--text-secondary); }
.archive-empty { padding: 18px 0; color: var(--text-muted); }
.legal-note {
  margin-top: 28px; padding: 16px 20px; border-radius: 14px; background: var(--mist);
  border-left: 3px solid var(--blue); font-size: .85rem; color: var(--text-secondary);
}

/* 12. PAGINE INTERNE: TESTO E SCHEDE --------------------------------------- */
.section-page { padding: 64px 0 88px; }
.prose { color: var(--text-secondary); font-size: 1rem; line-height: 1.7; }
.prose h2 { font-size: 1.5rem; font-weight: 500; letter-spacing: -.02em; line-height: 1.25; color: var(--navy); margin: 40px 0 12px; }
.prose h3 { font-size: 1.12rem; font-weight: 600; color: var(--navy); margin: 28px 0 10px; }
.prose > :first-child { margin-top: 0; }
.prose p { margin-bottom: 14px; }
.prose strong { color: var(--navy); }
.lead { font-size: 1.1rem; font-weight: 500; color: var(--navy); line-height: 1.6; }
.check-list { display: grid; gap: 8px; margin: 12px 0 20px; }
.check-list li { position: relative; padding-left: 20px; }
.check-list li::before { content: ""; position: absolute; left: 0; top: .62em; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }

.detail-list { padding: 8px 0 40px; }
.detail { padding: 56px 0; }
.detail + .detail { border-top: 1px solid var(--border); }
.detail__grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 56px; align-items: start; }
.detail__title { font-size: clamp(1.6rem, 2.6vw, 2.1rem); font-weight: 500; line-height: 1.2; letter-spacing: -.02em; margin: 16px 0 14px; }

/* 13. FASCE: CREDENZIALI, INVITO AL CONTATTO, AGGIORNAMENTI ---------------- */
.credentials-strip { padding: 28px 0 48px; border-top: 1px solid var(--border); }
.credentials-list { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 28px; }
.credential-tag { font-size: .92rem; font-weight: 600; color: var(--blue); }

.section-band { padding-bottom: 28px; }
main > .section-band:last-child { padding-bottom: 80px; }
.cta-band, .newsletter-banner {
  padding: 36px 40px; background: var(--mist); border: 1px solid var(--border); border-radius: var(--radius-lg);
}
.cta-band { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 24px; }
.cta-band__title { font-size: 1.55rem; font-weight: 500; letter-spacing: -.02em; line-height: 1.25; margin-bottom: 8px; }
.micro-pill + .cta-band__title { margin-top: 12px; }
.cta-band__text { font-size: .94rem; color: var(--text-secondary); max-width: 640px; }
.newsletter-banner { display: grid; grid-template-columns: 1.05fr 1fr; gap: 36px; align-items: center; }
.newsletter-title { font-size: 1.55rem; font-weight: 500; margin: 12px 0 8px; }
.newsletter-text { font-size: .92rem; color: var(--text-secondary); line-height: 1.6; }
.newsletter-form-row { display: flex; gap: 10px; margin-bottom: 12px; }
.newsletter-form-row button { flex-shrink: 0; }

/* 14. CONTATTI E MODULI ---------------------------------------------------- */
.section-contatti { padding: 56px 0 48px; }
.contact-split { display: grid; grid-template-columns: 1fr 1fr; border-radius: var(--radius-xl); overflow: hidden; background: var(--mist); }
.contact-form-panel { padding: 52px 48px; }
.contact-form-panel .section-title { margin: 16px 0 12px; font-size: clamp(1.85rem, 3vw, 2.55rem); }
.contact-intro { font-size: .94rem; color: var(--text-secondary); line-height: 1.6; margin-bottom: 28px; }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.form-group--full { grid-column: 1 / -1; }
.form-group button[type="submit"] { align-self: flex-start; margin-top: 6px; }
.form-label { font-size: .84rem; font-weight: 600; }
.form-control {
  width: 100%; padding: 13px 16px; border-radius: 12px; border: 1px solid var(--border); background-color: var(--white);
  font: inherit; font-size: 1rem; color: var(--navy); transition: border-color .2s ease, box-shadow .2s ease;
}
.form-control:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(62, 110, 147, .16); }
select.form-control {
  -webkit-appearance: none; appearance: none; padding-right: 42px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M4 6l4 4 4-4' stroke='%2315283C' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center; background-size: 14px;
}
textarea.form-control { resize: vertical; min-height: 112px; }
.form-checkbox { display: flex; align-items: flex-start; gap: 10px; font-size: .84rem; color: var(--text-secondary); line-height: 1.45; cursor: pointer; }
.form-checkbox input { width: 16px; height: 16px; margin-top: 3px; flex-shrink: 0; accent-color: var(--blue); }
.form-disclaimer { font-size: .8rem; color: var(--text-muted); line-height: 1.5; }
.form-feedback { display: none; margin-top: 16px; padding: 14px 18px; border-radius: 14px; background: var(--navy); color: var(--white); font-size: .9rem; font-weight: 500; }
.form-feedback.is-visible { display: block; }
.form-feedback.is-error { background: #8B2E2E; }

.contact-media-panel {
  min-height: 520px; padding: 28px; display: flex; align-items: flex-end;
  background: var(--navy) url('https://images.unsplash.com/photo-1497366216548-37526070297c?auto=format&fit=crop&w=1400&q=80') center / cover no-repeat;
}
.contact-info-overlay {
  width: 100%; padding: 26px 28px; border-radius: 22px; color: var(--white);
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px 24px;
  background: rgba(21, 40, 60, .9); border: 1px solid rgba(255, 255, 255, .16);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
}
.contact-info-item__label { font-size: .72rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--gold); margin-bottom: 4px; }
.contact-info-item__val { font-size: .9rem; color: rgba(255, 255, 255, .92); line-height: 1.45; overflow-wrap: anywhere; }

/* 15. FOOTER --------------------------------------------------------------- */
.site-footer { background: var(--navy); color: var(--white); border-radius: var(--radius-xl) var(--radius-xl) 0 0; padding: 68px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 1.25fr 1fr .9fr 1.1fr; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid rgba(255, 255, 255, .14); }
.footer-desc { margin-top: 18px; font-size: .9rem; color: rgba(255, 255, 255, .76); line-height: 1.65; }
.footer-heading { font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .09em; color: var(--gold); margin-bottom: 16px; }
.footer-links, .footer-contact-list {
  display: flex; flex-direction: column; align-items: flex-start; gap: 10px;
  font-size: .89rem; color: rgba(255, 255, 255, .84); line-height: 1.55; overflow-wrap: anywhere;
}
.footer-bottom {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px;
  padding-top: 24px; font-size: .82rem; color: rgba(255, 255, 255, .7);
}
.footer-legal-links { display: flex; flex-wrap: wrap; gap: 18px; color: rgba(255, 255, 255, .78); }
.site-footer a { transition: color .2s ease; }
.footer-links a:hover, .footer-contact-list a:hover, .footer-legal-links a:hover { color: var(--gold); }

/* 16. RESPONSIVE ----------------------------------------------------------- */
@media (min-width: 1320px) {
  .header-phone { display: inline-flex; }
}

@media (max-width: 1180px) {
  .main-nav { display: none; }
  .mobile-toggle { display: inline-flex; }
}

@media (max-width: 1100px) {
  .bento-grid, .competenze-grid, .momenti-grid { grid-template-columns: repeat(2, 1fr); }
  .bento-grid > :last-child { grid-column: 1 / -1; min-height: 0; }
  .metodo-grid { grid-template-columns: repeat(2, 1fr); row-gap: 28px; }
  .metodo-item:nth-child(3) { border-left: none; padding-left: 0; }
  .settori-layout, .showcase-grid, .insights-grid, .contact-split, .newsletter-banner, .detail__grid { grid-template-columns: 1fr; }
  .detail__grid { gap: 24px; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  :root { --header-h: 68px; }
  .hero-wrapper { padding: calc(var(--header-h) + 8px) 8px 8px; }
  .section-dark-wrap { padding: 0 8px; }
  .hero { min-height: 0; padding: 40px 0 20px; border-radius: 22px; }
  .hero__content { padding: 0 0 32px; }
  .page-hero { padding: 48px 0 44px; border-radius: 22px; }
  .accent-line, .header-cta { display: none; }
  .hero-tabs, .bento-grid, .competenze-grid, .momenti-grid, .metodo-grid,
  .form-grid, .contact-info-overlay, .archive-list, .footer-grid { grid-template-columns: 1fr; }
  .section-bento { padding: 40px 0 64px; }
  .section-competenze, .section-settori, .section-showcase, .section-approfondimenti { padding-bottom: 64px; }
  .section-page { padding: 44px 0 64px; }
  .detail { padding: 40px 0; }
  .bento-card { min-height: 0; }
  .dark-philosophy { padding: 56px 0 64px; }
  .dark-philosophy::after { left: 40px; }
  .metodo-strip { padding: 56px 0 64px; }
  .metodo-grid { row-gap: 0; }
  .metodo-item { border-left: none; border-top: 1px solid var(--border); padding: 18px 0; }
  .metodo-item:first-child { border-top: none; padding-top: 0; }
  .settori-layout { gap: 32px; }
  .showcase-photo-card, .showcase-brand-card { min-height: 420px; padding: 24px; }
  .contact-form-panel { padding: 32px 24px; }
  .contact-media-panel { min-height: 0; padding: 16px; }
  .cta-band, .newsletter-banner { padding: 28px 22px; }
  .newsletter-form-row { flex-direction: column; }
}

@media (max-width: 640px) {
  .insight-card, .insight-card--full { grid-template-columns: 1fr; }
  .insight-card__media { min-height: 200px; }
  .insight-card__content { padding: 0 4px 4px; }
  .insight-notch { margin: 0 0 12px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}