/* ProElements visual system. Layout remains in site.css; no remote dependencies. */
:root {
  --blue: #3154b6;
  --paper: #fbfcff;
  --orange: #ff812f;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --shadow: 0 18px 45px -24px #253f844d;
}
#contenuto { overflow-x: clip; }
body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; }
::selection { background: #ffdbba; color: #172b49; }
h1, h2 { font-weight: 550; }
.site-header {
  background: #fbfcffe8;
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  border-bottom-color: #dce5f488;
  transition: box-shadow .35s, background .35s;
}
.site-header.is-scrolled { background: #ffffffee; box-shadow: 0 8px 35px #1b37660b; }
.site-header::after {
  content: ''; position: absolute; inset: auto 0 0; height: 2px;
  transform-origin: left; transform: scaleX(var(--scroll-progress, 0));
  background: linear-gradient(90deg, #3154b6, #779ee8 65%, #ff812f);
}
.brand { transition: opacity .25s; }
.brand:hover { opacity: .78; }
#primary-nav li a::before {
  content: ''; position: absolute; left: 0; right: 0; bottom: 3px;
  height: 2px; border-radius: 2px; background: var(--orange);
  transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
#primary-nav li a:hover::before { transform: scaleX(1); }
/* Buttons: bevel, small directional disc and a soft highlight on hover. */
.button {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: 58px; padding: 10px 12px 10px 22px; gap: 20px;
  border-radius: 16px; border: 1px solid #ffffff26;
  background: linear-gradient(125deg, #446bd0, #3154b6 55%, #254395);
  box-shadow: 0 8px 18px -7px #3154b66b, inset 0 1px 0 #ffffff32;
  transition: box-shadow .3s, transform .3s var(--ease), background .3s;
}
.button::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, transparent 20%, #ffffff24 48%, transparent 75%);
  transform: translateX(-120%); transition: transform .65s var(--ease);
  pointer-events: none;
}
.button:hover {
  background: linear-gradient(125deg, #527bdd, #3154b6 55%, #254395);
  box-shadow: 0 15px 30px -10px #3154b68a, inset 0 1px 0 #ffffff45;
  transform: translateY(-3px);
}
.button:hover::before { transform: translateX(120%); }
.button:active { transform: translateY(0); }
.button > span[aria-hidden] {
  width: 34px; height: 34px; border-radius: 11px; flex: 0 0 34px;
  display: inline-flex; align-items: center; justify-content: center;
  color: white; background: #ffffff1c; border: 1px solid #ffffff26;
  font-size: 19px; font-weight: 400; line-height: 1;
  transition: transform .3s var(--ease), background .3s, color .3s;
}
.button:hover > span[aria-hidden] { background: #ff9a51; border-color: #ff9a51; color: #142c50; transform: rotate(6deg); }
.button.small { min-height: 45px; padding: 7px 8px 7px 16px; border-radius: 13px; }
.button.small > span { width: 28px; height: 28px; flex-basis: 28px; border-radius: 9px; font-size: 17px; }
.button.light { background: linear-gradient(130deg, #fff, #edf3ff); border-color: white; box-shadow: 0 10px 25px #061b4326; }
.button.light:hover { background: white; box-shadow: 0 16px 35px #061b433d; }
.button.light > span { background: #3154b610; color: var(--blue); border-color: #3154b615; }
.text-link { gap: 16px; position: relative; border: 0; padding: 10px 0; }
.text-link::after { content: ''; position: absolute; bottom: 5px; left: 0; width: 35px; height: 2px; border-radius: 2px; background: #ff914b; transition: width .35s var(--ease); }
.text-link:hover::after { width: 100%; }
.text-link > span { width: 28px; height: 28px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid #c9d6ee; border-radius: 50%; color: var(--blue); transition: transform .3s, background .3s; }
.text-link:hover > span { transform: translate(2px, -2px); background: #e7efff; }
/* Opening composition: diffuse brand colours, technical grid and glass volumes. */
.hero { position: relative; isolation: isolate; background: radial-gradient(ellipse at 82% 35%, #d7e6ff99, transparent 53%), radial-gradient(ellipse at 8% 5%, #ffe4cf5e, transparent 40%), #fbfcff; }
.hero::before {
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: radial-gradient(#8ea5c8 0.65px, transparent .65px);
  background-size: 20px 20px; opacity: .22;
  mask-image: linear-gradient(90deg, transparent 35%, black);
}
.hero-grid { gap: 45px; min-height: 690px; padding-top: 55px; padding-bottom: 65px; }
.hero .eyebrow { display: inline-flex; align-items: center; background: #ffffffbd; border: 1px solid #e0e7f1; border-radius: 30px; padding: 8px 13px; color: #445976; font-size: 9px; box-shadow: 0 3px 12px #19345d04; }
.hero .eyebrow i { box-shadow: 0 0 0 4px #ff812f15; }
.hero h1 { font-size: clamp(46px, 4.6vw, 69px); font-weight: 600; line-height: 1.06; letter-spacing: -.055em; }
.hero h1 em { position: relative; display: inline-block; padding-bottom: 8px; background: linear-gradient(100deg, #3154b6 20%, #537cd3 65%, #3154b6); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero h1 em::after { content: ''; position: absolute; height: 7px; left: 1px; right: 2px; bottom: 0; border-radius: 50%; background: linear-gradient(90deg, #ff812f, #ffbd7e80); transform: rotate(-2deg); opacity: .8; }
.hero-copy>p { font-size: 17px; color: #5e6d82; }
.hero-actions { gap: 24px; }
.hero .hero-note { color: #687994; }
.hero-art {
  min-width: 0; border: 1px solid #ffffffcf; border-radius: 36px;
  background: radial-gradient(ellipse at 25% 10%, #ffffff 0%, transparent 60%), linear-gradient(140deg, #f4f8ffba, #d8e6fc85 65%, #e9eefbe0);
  box-shadow: inset 0 1px 1px white, 0 30px 65px -40px #274c9a57;
  transform-style: preserve-3d;
}
.hero-art::before { content: ''; position: absolute; width: 60%; height: 60%; left: 22%; top: 22%; border-radius: 50%; background: #8eaeee40; filter: blur(45px); pointer-events: none; }
.hero-art::after { content: ''; position: absolute; width: 6px; height: 6px; top: 25px; right: 28px; background: #ff9149; box-shadow: 0 0 0 5px #ff914914; border-radius: 50%; }
.hero-art > svg { position: relative; transform: none; filter: drop-shadow(0 22px 16px #3154b61a); }
.art-coordinate { top: 25px; left: 26px; font-size: 8px; z-index: 2; }
.art-caption { bottom: 23px; left: 26px; right: 26px; border-color: #9bb3d545; padding-top: 12px; font-size: 8px; }
.art-label { z-index: 2; border-color: #ffffff; border-radius: 13px; padding: 12px 16px; background: #ffffffdd; backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 12px 30px -13px #274c9a4d, inset 0 1px 0 white; font-size: 11px; }
.art-label::before { display: inline-flex; align-items: center; justify-content: center; width: 19px; height: 19px; border-radius: 6px; color: #d46822; background: #fff0e5; font-size: 14px; }
.label-one { left: -22px; top: 25%; }
.label-two { right: -20px; top: 51%; }
.label-three { left: 10px; bottom: 18%; }
.expertise-strip { position: relative; z-index: 2; background: #fff; border-color: #e1e8f3; box-shadow: 0 8px 25px #24458404; }
.expertise-strip .container>span { color: #596d89; }
.expertise-strip b { display: inline-grid; place-items: center; width: 23px; height: 23px; border-radius: 7px; background: #fff2e8; font-size: 15px; }
.eyebrow { color: #5a6e91; }
.about-preview { position: relative; }
.about-preview::before { content: ''; position: absolute; top: 100px; left: -22px; width: 4px; height: 55px; background: linear-gradient(var(--orange), #ffc89f); border-radius: 5px; }
.about-preview h2 em { display: inline-block; position: relative; }
.about-preview h2 em::after { content: ''; display: block; margin-top: 11px; width: 60px; height: 3px; border-radius: 3px; background: #ff914b; }
/* Separate cards replace the original flat table. */
.solutions-section { position: relative; background: linear-gradient(145deg, #edf3ff, #f5f7fc 60%, #fff5ec70); border-block: 1px solid #e7edf8; }
.solutions-grid { gap: 18px; border: 0; }
.solution {
  --accent: #3154b6; --accent-rgb: 49,84,182;
  min-width: 0; min-height: 290px; padding: 25px 23px 55px;
  border: 1px solid #dde6f4; border-radius: 23px;
  background: linear-gradient(145deg, #ffffff, #ffffffc9);
  box-shadow: 0 6px 20px -14px #284c9133;
  transition: transform .4s var(--ease), box-shadow .4s, border-color .4s;
  overflow: hidden; isolation: isolate;
}
.solution:nth-child(4n+2) { --accent: #cb6524; --accent-rgb: 203,101,36; }
.solution:nth-child(4n+3) { --accent: #397b91; --accent-rgb: 57,123,145; }
.solution:nth-child(4n) { --accent: #7160b8; --accent-rgb: 113,96,184; }
.solution::before { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(250px circle at var(--pointer-x, 75%) var(--pointer-y, 10%), rgba(var(--accent-rgb), .085), transparent 75%); opacity: .6; transition: opacity .3s; }
.solution::after { content: ''; position: absolute; width: 80px; height: 80px; right: -44px; top: -44px; border-radius: 22px; border: 1px solid rgba(var(--accent-rgb), .13); transform: rotate(45deg); transition: transform .6s var(--ease); }
.solution:hover { transform: translateY(-7px); border-color: rgba(var(--accent-rgb), .36); background: white; box-shadow: 0 23px 42px -24px rgba(var(--accent-rgb), .4); }
.solution:hover::before { opacity: 1; }
.solution:hover::after { transform: rotate(75deg) scale(1.4); }
.solution-top { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 25px; }
.solution-icon { display: grid; place-items: center; width: 49px; height: 49px; border-radius: 15px; background: rgba(var(--accent-rgb), .07); color: var(--accent); box-shadow: inset 0 0 0 1px rgba(var(--accent-rgb), .08); transition: transform .35s var(--ease); }
.solution-icon svg { width: 29px; height: 29px; }
.solution:hover .solution-icon { transform: rotate(-7deg); }
.solution-no { margin: 0; font-size: 10px; color: #657184; }
.solution h3 { font-size: 22px; font-weight: 550; max-width: none; }
.solution p { font-size: 13px; }
.solution-arrow { bottom: 17px; right: 20px; display: grid; place-items: center; width: 31px; height: 31px; border: 1px solid #e2e9f5; border-radius: 50%; font-size: 19px; color: var(--accent); transition: background .3s, color .3s, transform .3s; }
.solution:hover .solution-arrow { background: var(--accent); border-color: var(--accent); color: white; transform: rotate(8deg); }
/* AI: blue depth, orbit lines and connected translucent panels. */
.ai-section { position: relative; isolation: isolate; overflow: hidden; background: radial-gradient(ellipse at 80% 0%, #345ab26b, transparent 60%), radial-gradient(ellipse at 5% 100%, #31638045, transparent 55%), linear-gradient(125deg, #101e3a, #1a345c); }
.ai-section::before { content: ''; position: absolute; inset: 0; z-index: -1; background-image: radial-gradient(#83aaf34f .8px, transparent .8px); background-size: 25px 25px; mask-image: linear-gradient(90deg, transparent, #000); opacity: .6; }
.ai-section::after { content: ''; position: absolute; z-index: -1; width: 620px; height: 620px; top: -180px; right: -170px; border: 1px solid #91b5ff1f; border-radius: 50%; box-shadow: 0 0 0 65px #90b4fd06, 0 0 0 130px #90b4fd05; pointer-events: none; }
.ai-grid { position: relative; }
.ai-grid>div:first-child { max-width: 540px; }
.ai-grid h2 { font-weight: 550; line-height: 1.16; }
.ai-grid .eyebrow { display: inline-flex; padding: 7px 12px; border: 1px solid #ffa35c40; border-radius: 30px; background: #ffa35c09; font-size: 9px; }
.ai-path { position: relative; display: grid; gap: 15px; }
.ai-path::before { content: ''; position: absolute; top: 10px; bottom: 10px; left: -24px; width: 1px; background: linear-gradient(#ff9f57, #80a5eb60); }
.ai-path>div { position: relative; padding: 21px 25px; border: 1px solid #c0d6ff26; border-radius: 18px; background: linear-gradient(120deg, #c8ddff0d, #c8ddff03); box-shadow: inset 0 1px 0 #ffffff05; backdrop-filter: blur(5px); transition: transform .35s var(--ease), border-color .35s, background .35s; }
.ai-path>div::before { content: ''; position: absolute; width: 7px; height: 7px; left: -29px; top: 31px; border-radius: 50%; background: #ffa15d; box-shadow: 0 0 0 5px #ffa15d12; }
.ai-path>div:hover { border-color: #c0d6ff50; background: #c8ddff10; transform: translateX(5px); }
.ai-path h3 { font-size: 23px; }
.ai-path span { font-size: 9px; }
/* Method, imagery and final invitation. */
.method-list { position: relative; }
.method-list::before { content: ''; position: absolute; top: 28px; bottom: 50px; left: 24px; width: 1px; background: linear-gradient(#a7bce6, #d7e2f7); }
.method-list li { position: relative; border: 0; padding: 15px 0 23px; gap: 23px; }
.method-list li>span { display: grid; align-items: center; justify-content: center; position: relative; flex: 0 0 49px; width: 49px; height: 49px; padding: 0; border: 1px solid #dee7f5; border-radius: 16px; color: var(--blue); background: linear-gradient(145deg, #fff, #edf3ff); box-shadow: 0 5px 15px #2c53920c; transition: background .3s, transform .3s; }
.method-list li>div { padding-top: 4px; }
.method-list li:hover>span { transform: rotate(-5deg); background: #fff0e5; color: #bc5a20; border-color: #ffd8b9; }
.people-section { background: radial-gradient(ellipse at 0% 80%, #dbe6fa8a, transparent 60%), #f2f5f9; border-top: 1px solid #e5ebf4; }
.people-grid>img { border-radius: 25px; border: 7px solid white; box-shadow: 0 20px 45px -25px #24487555, 16px 17px 0 -3px #e7a77430; }
.people-grid { gap: 75px; }
.contact-banner { position: relative; isolation: isolate; overflow: hidden; padding: 75px 0; background: radial-gradient(ellipse at 95% 20%, #6a8ada, transparent 55%), linear-gradient(115deg, #28469e, #365bb9); }
.contact-banner::before { content: ''; position: absolute; z-index: -1; right: -70px; top: -180px; width: 560px; height: 560px; border: 1px solid #d2e3ff20; border-radius: 90px; transform: rotate(30deg); box-shadow: 0 0 0 50px #d2e3ff07, 0 0 0 100px #d2e3ff06; pointer-events: none; }
.banner-inner { position: relative; }
.site-footer { background: linear-gradient(180deg, #f4f7fd, #fbfcff); }
.footer-top a:not(.brand) { transition: color .25s; }
.footer-top a:hover { color: var(--blue); }
/* Interior pages share the new finish. */
.page-heading { position: relative; isolation: isolate; padding-bottom: 50px; margin-bottom: 40px; }
.page-heading::before { content: ''; position: absolute; z-index: -1; inset: 0 calc(50% - 50vw); pointer-events: none; background: radial-gradient(ellipse at 85% 0%, #cbdcfa80, transparent 50%), radial-gradient(ellipse at 0% 100%, #ffdfc35c, transparent 45%), #f1f5fc; border-bottom: 1px solid #e3eaf6; }
.page-heading::after { content: ''; position: absolute; width: 130px; height: 130px; border: 1px solid #91ace636; border-radius: 30px; right: 0; top: 60px; transform: rotate(30deg); box-shadow: 0 0 0 25px #91ace608, 0 0 0 50px #91ace605; z-index: -1; }
.breadcrumb { color: #536785; }
.page-heading .eyebrow { position: relative; padding-left: 14px; }
.page-heading .eyebrow::before { content: ''; position: absolute; width: 5px; height: 5px; top: 5px; left: 0; background: var(--orange); border-radius: 50%; }
.page-heading h1 { max-width: 1050px; }
.prose h2 { padding-left: 20px; position: relative; }
.prose h2::before { content: ''; position: absolute; width: 4px; height: 70%; left: 0; top: 15%; border-radius: 4px; background: linear-gradient(#ff812f, #ffb67e); }
.prose h3 { color: var(--blue); }
.prose li::marker { color: var(--blue); }
.single-content>.eyebrow { display: table; padding: 7px 13px; border: 1px solid #e0e7f4; border-radius: 30px; background: #eff4fd; }
.single-content .lead { border-left: 3px solid var(--orange); padding-left: 23px; }
.wide-photo img { border-radius: 25px; box-shadow: var(--shadow); }
.contact-form { background: linear-gradient(145deg, #f4f7ff, #fff); border: 1px solid #e0e8f6; border-radius: 26px; box-shadow: 0 20px 60px -30px #3154b633; position: relative; }
.contact-form::before { content: ''; position: absolute; top: 0; left: 35px; right: 35px; height: 3px; border-radius: 5px; background: linear-gradient(90deg, #3154b6, #8eace5 60%, #ff9a51); }
.contact-form input:not([type=checkbox]),.contact-form textarea { background: white; border-color: #d7e1f0; border-radius: 10px; transition: border-color .25s, box-shadow .25s; }
.contact-form input:focus,.contact-form textarea:focus { border-color: #7290d5; box-shadow: 0 0 0 4px #3154b60a; }
.form-notice { border-radius: 10px; }
.menu-toggle { border-radius: 11px; background: #f0f4fc; border-color: #dce5f4; }
@media (prefers-reduced-motion: no-preference) {
  .element-cube { animation: element-float 7s ease-in-out infinite; }
  .hero-art .orbit { transform-origin: 300px 300px; animation: element-orbit 65s linear infinite; }
  .art-label { animation: label-float 8s ease-in-out infinite; }
  .label-two { animation-delay: -3s; }
  .label-three { animation-delay: -5s; }
  .hero-copy { animation: content-enter .85s var(--ease) both; }
  .hero-art { animation: art-enter 1.1s .08s var(--ease) both; }
  .reveal.is-visible { animation: content-enter .8s var(--ease) backwards; animation-delay: var(--reveal-delay, 0ms); }
}
@keyframes element-float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
@keyframes label-float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@keyframes element-orbit { to { transform: rotate(360deg); } }
@keyframes content-enter { from { opacity: .3; transform: translateY(22px); } to { opacity: 1; transform: translateY(0); } }
@keyframes art-enter { from { opacity: .3; transform: translateY(15px) scale(.97); } to { opacity: 1; transform: none; } }
@media(min-width: 1500px) { .hero-grid { min-height: 730px; } }
@media(max-width: 1150px) {
  .hero-grid { gap: 35px; }
  .hero-actions { gap: 15px; }
  .hero-actions .button { padding: 10px 10px 10px 16px; font-size: 12px; gap: 13px; }
  #primary-nav .button.small { padding: 7px 8px 7px 13px; }
  .art-label { font-size: 10px; padding: 10px 12px; }
  .label-one { left: -15px; }
  .label-two { right: -12px; }
  .solution { min-height: 265px; }
}
@media(max-width: 900px) {
  .hero-grid { min-height: 0; gap: 30px; }
  .hero h1 { font-size: 46px; }
  .hero-art { align-self: center; min-height: 390px; border-radius: 28px; }
  .hero-art svg { margin: 10px 0; }
  .art-label { font-size: 9px; padding: 8px 9px; }
  .art-label::before { width: 15px; height: 15px; font-size: 11px; margin-right: 5px; }
  .art-coordinate { font-size: 6px; top: 21px; left: 20px; }
  .art-caption { font-size: 6px; left: 20px; right: 20px; bottom: 20px; }
  .people-grid { gap: 40px; }
  #primary-nav { background: #fbfcfffa; backdrop-filter: blur(20px); border-radius: 0 0 22px 22px; }
  .ai-path { margin-left: 24px; }
  .button.small { font-size: 13px; }
}
@media(max-width: 650px) {
  .hero-grid { padding-top: 35px; padding-bottom: 45px; gap: 35px; }
  .hero h1 { font-size: clamp(40px, 10.5vw, 57px); }
  .hero .eyebrow { font-size: 8px; letter-spacing: .11em; margin-bottom: 25px; padding: 7px 10px; }
  .hero-actions { gap: 14px; }
  .hero-actions .button { font-size: 12px; padding: 10px 11px 10px 17px; }
  .hero-art { min-height: 355px; max-width: 390px; border-radius: 27px; }
  .hero-art svg { height: 345px; margin: 0; }
  .art-coordinate { font-size: 7px; }
  .art-caption { font-size: 7px; }
  .art-label { font-size: 9px; padding: 8px 10px; border-radius: 10px; }
  .label-one { top: 24%; left: -6px; }
  .label-two { right: -6px; top: 50%; }
  .label-three { left: 8px; bottom: 18%; }
  .expertise-strip p { font-size: 11px; line-height: 2.4; }
  .expertise-strip b { display: inline; background: none; }
  .about-preview::before { top: 65px; left: -11px; width: 3px; height: 35px; }
  .solutions-grid { gap: 14px; }
  .solution { min-height: 245px; padding: 23px 23px 50px; border-radius: 20px; }
  .solution-top { margin-bottom: 19px; }
  .solution h3 { font-size: 24px; }
  .solution p { font-size: 14px; max-width: none; }
  .ai-path { margin-left: 24px; }
  .ai-path>div { padding: 20px; }
  .ai-path>div:hover { transform: none; }
  .ai-grid { gap: 35px; }
  .ai-grid .button { padding: 10px 10px 10px 17px; gap: 12px; font-size: 12px; }
  .ai-grid .eyebrow { font-size: 8px; letter-spacing: .09em; }
  .method-list li { gap: 17px; }
  .method-list li>span { width: 43px; height: 43px; flex-basis: 43px; border-radius: 13px; }
  .method-list::before { left: 21px; }
  .method-list h3 { font-size: 20px; }
  .people-grid>img { border-radius: 20px; box-shadow: 0 15px 35px -25px #24487555, 8px 10px 0 -2px #e7a77430; }
  .contact-banner { padding: 50px 0; }
  .page-heading { margin-bottom: 25px; padding-bottom: 35px; overflow: clip; overflow-clip-margin: 20px; }
  .page-heading::before { inset-inline: -20px; }
  .page-heading::after { width: 80px; height: 80px; right: -30px; top: 45px; }
  .page-heading h1 { font-size: 41px; }
  .page-heading .eyebrow { font-size: 8px; }
  .contact-form { padding: 25px 20px; border-radius: 20px; }
  .contact-form::before { left: 23px; right: 23px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .hero-art > svg { transform: none; }
}

/* Nine service cards: keep the existing card treatment in three complete rows. */
@media(min-width:901px) { .solutions-grid { grid-template-columns:repeat(3,minmax(0,1fr)); } }
