:root{
  --ars-blue:#254783;
  --ars-blue-dark:#17386c;
  --ars-cyan:#29a9e0;
  --ars-text:#52647e;
  --ars-border:#d7e6f0;
  --ars-soft:#f5fbfe;
  --ars-white:#fff;
}

*{box-sizing:border-box}
html,body{margin:0;padding:0}
body{
  font-family:"Segoe UI",Arial,sans-serif;
  color:var(--ars-text);
  background:#fff;
}
a{text-decoration:none}

.public-page{
  min-height:100vh;
  display:flex;
  flex-direction:column;
  background:#fff;
}

.public-header{
  min-height:108px;
  display:flex;
  align-items:center;
  gap:32px;
  padding:8px 5%;
  background:#fff;
  border-top:5px solid var(--ars-blue);
  border-bottom:1px solid var(--ars-border);
  position:relative;
  z-index:20;
}

.public-logo{
  width:min(410px,42vw);
  display:block;
}

.public-logo img{
  display:block;
  width:100%;
  max-height:88px;
  object-fit:contain;
  object-position:left center;
}

.public-nav{
  margin-left:auto;
  display:flex;
  align-items:center;
  gap:38px;
}

.public-nav a{
  position:relative;
  padding:14px 0 11px;
  color:var(--ars-blue-dark);
  font-size:16px;
  font-weight:600;
  white-space:nowrap;
}

.public-nav a:after{
  content:"";
  position:absolute;
  height:2px;
  left:0;
  right:100%;
  bottom:4px;
  background:var(--ars-cyan);
  transition:.2s ease;
}

.public-nav a:hover,
.public-nav a.active{color:#087fc3}

.public-nav a:hover:after,
.public-nav a.active:after{right:0}

.home-hero{
  position:relative;
  flex:1;
  min-height:calc(100vh - 108px);
  overflow:hidden;
  background:#f5fbfe;
}

.home-hero-bg{
  position:absolute;
  inset:0;
  background:url("/static/images/hero.png") center center/cover no-repeat;
  z-index:0;
}

.home-hero-overlay{
  position:absolute;
  inset:0;
  z-index:1;
  background:linear-gradient(
    90deg,
    rgba(255,255,255,1) 0%,
    rgba(255,255,255,.99) 26%,
    rgba(255,255,255,.94) 36%,
    rgba(255,255,255,.72) 47%,
    rgba(255,255,255,.28) 61%,
    rgba(255,255,255,0) 78%
  );
}

.home-copy{
  position:relative;
  z-index:3;
  width:58%;
  padding:7vh 0 240px 5%;
}

.home-copy h1{
  margin:0;
  color:var(--ars-blue);
  font-family:Georgia,"Times New Roman",serif;
  font-size:clamp(54px,4.7vw,80px);
  line-height:1;
  letter-spacing:-1.5px;
}

.home-copy h1 span{display:block}

.home-line{
  width:315px;
  height:4px;
  margin:26px 0 22px;
  border-radius:4px;
  background:linear-gradient(90deg,var(--ars-cyan),var(--ars-blue));
}

.home-copy h2{
  margin:0 0 18px;
  color:#087fc3;
  font-size:clamp(21px,1.55vw,28px);
  line-height:1.35;
  font-weight:500;
}

.home-copy p{
  max-width:720px;
  margin:0;
  font-size:clamp(15px,1vw,17px);
  line-height:1.65;
  color:#5e6e86;
}

.platform-button{
  display:inline-flex;
  align-items:center;
  gap:14px;
  margin-top:28px;
  min-height:58px;
  padding:0 30px;
  border-radius:17px;
  background:linear-gradient(135deg,#176ebb,#078fd2);
  color:#fff;
  font-size:17px;
  font-weight:700;
  box-shadow:0 12px 30px rgba(0,110,185,.2);
  transition:.15s ease;
}

.platform-button:hover{
  transform:translateY(-2px);
  box-shadow:0 16px 34px rgba(0,110,185,.27);
}

.home-claim{
  position:absolute;
  right:7%;
  top:8%;
  z-index:3;
  color:#087cc3;
  font-family:"Segoe Script","Comic Sans MS",cursive;
  font-size:clamp(20px,1.65vw,29px);
  line-height:1.2;
  transform:rotate(-5deg);
}

.home-benefits{
  position:absolute;
  left:0;
  right:0;
  bottom:48px;
  z-index:5;
  min-height:150px;
  display:grid;
  grid-template-columns:repeat(4,1fr);
  align-items:stretch;
  padding:12px 5%;
  background:rgba(255,255,255,.88);
  backdrop-filter:blur(9px);
  border-top:1px solid rgba(255,255,255,.95);
}

.home-benefit{
  position:relative;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  text-align:center;
  padding:16px 28px;
}

.home-benefit:not(:last-child):after{
  content:"";
  position:absolute;
  right:0;
  top:25%;
  height:50%;
  width:1px;
  background:#c8deeb;
}

.home-benefit-icon{
  font-size:30px;
  margin-bottom:8px;
}

.home-benefit strong{
  color:var(--ars-blue);
  font-size:17px;
  margin-bottom:4px;
}

.home-benefit span{
  color:#708097;
  font-size:14px;
  line-height:1.35;
}

.home-bottom-claim{
  position:absolute;
  left:0;
  right:0;
  bottom:0;
  z-index:6;
  height:48px;
  display:flex;
  align-items:center;
  justify-content:center;
  color:#fff;
  background:linear-gradient(90deg,#17386c,#087fc3);
  font-family:Georgia,"Times New Roman",serif;
  font-size:16px;
  font-style:italic;
}

@media(max-width:1050px){
  .public-header{padding:8px 24px;flex-wrap:wrap}
  .public-logo{width:330px}
  .public-nav{gap:24px}
  .home-copy{width:72%}
  .home-claim{display:none}
}

@media(max-width:760px){
  .public-header{min-height:auto}
  .public-logo{width:280px;max-width:80vw}
  .public-nav{
    width:100%;
    margin:0;
    gap:20px;
    overflow-x:auto;
    padding-bottom:5px;
  }
  .public-nav a{font-size:14px}
  .home-hero{min-height:860px}
  .home-copy{
    width:100%;
    padding:58px 25px 420px;
  }
  .home-copy h1{font-size:45px}
  .home-hero-overlay{
    background:rgba(255,255,255,.88);
  }
  .home-benefits{
    bottom:48px;
    grid-template-columns:1fr 1fr;
    padding:6px 12px;
  }
  .home-benefit{
    padding:12px 8px;
    min-height:130px;
    border-bottom:1px solid #dce9f2;
  }
  .home-benefit:not(:last-child):after{display:none}
}

/* =========================================================
   DOVE SIAMO
   ========================================================= */

.where-hero {
    position: relative;
    min-height: calc(100vh - 110px);
    background:
        linear-gradient(90deg, rgba(255,255,255,0.98) 0%, rgba(255,255,255,0.94) 28%, rgba(255,255,255,0.78) 48%, rgba(255,255,255,0.18) 72%, rgba(255,255,255,0.06) 100%),
        url("/static/images/hero.png") center center / cover no-repeat;
    overflow: hidden;
}

.where-hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(240, 248, 255, 0.25);
    z-index: 0;
}

.where-hero-inner {
    position: relative;
    z-index: 2;
    max-width: 1600px;
    margin: 0 auto;
    padding: 82px 70px 56px;
    display: grid;
    grid-template-columns: 0.95fr 1.15fr;
    gap: 28px;
    align-items: start;
}

.where-left h1 {
    margin: 0;
    color: #234785;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 96px;
    line-height: 0.98;
    letter-spacing: -1.5px;
    font-weight: 700;
}

.where-line {
    width: 230px;
    height: 5px;
    border-radius: 999px;
    background: #29a9e0;
    margin: 26px 0 28px;
}

.where-left h2 {
    margin: 0 0 28px 0;
    font-size: 27px;
    line-height: 1.35;
    font-weight: 700;
    color: #1a8fe0;
    max-width: 760px;
}

.where-points {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin-bottom: 26px;
}

.where-point {
    display: flex;
    align-items: center;
    gap: 20px;
}

.where-icon {
    width: 62px;
    height: 62px;
    border-radius: 50%;
    background: rgba(41, 169, 224, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: #214684;
    flex-shrink: 0;
}

.where-point-text {
    color: #234785;
    font-size: 22px;
    line-height: 1.35;
    font-weight: 700;
}

.where-note {
    margin: 10px 0 32px 0;
    color: #6a7b92;
    font-size: 18px;
    line-height: 1.5;
}

.where-cards {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: 18px;
    max-width: 760px;
}

.where-card {
    background: rgba(255,255,255,0.86);
    border: 1px solid #dceaf4;
    border-radius: 22px;
    padding: 24px 22px 20px;
    box-shadow: 0 8px 25px rgba(22, 70, 130, 0.06);
    min-height: 178px;
}

.where-card-icon {
    font-size: 34px;
    margin-bottom: 14px;
    color: #234785;
}

.where-card-title {
    color: #234785;
    font-size: 18px;
    line-height: 1.3;
    font-weight: 800;
    margin-bottom: 8px;
}

.where-card-text {
    color: #6d7d93;
    font-size: 16px;
    line-height: 1.5;
}

.where-right {
    display: flex;
    justify-content: flex-end;
    align-items: flex-start;
    padding-top: 18px;
}

.where-map-card {
    width: 100%;
    max-width: 930px;
    border-radius: 30px;
    overflow: hidden;
    background: rgba(255,255,255,0.9);
    border: 1px solid rgba(210, 228, 240, 0.95);
    box-shadow: 0 18px 45px rgba(27, 79, 140, 0.16);
}

.where-map-image {
    display: block;
    width: 100%;
    height: auto;
}

/* Responsive base */
@media (max-width: 1250px) {
    .where-hero-inner {
        grid-template-columns: 1fr;
    }

    .where-left h1 {
        font-size: 72px;
    }

    .where-cards {
        grid-template-columns: 1fr;
    }

    .where-right {
        justify-content: center;
    }
}
