 :root {
        --primary: #006198;
        --primary-dark: #006198;
        --secondary: #eaf4ff;
        --text: #1f2a37;
        --muted: #5b6573;
        --white: #ffffff;
        --border: #dbe4ee;
        --shadow: 0 10px 30px rgba(16, 24, 40, 0.08);
        --radius: 18px;
        --container: 1200px;
    }

    * {
        box-sizing: border-box;
    }

    html {
        scroll-behavior: smooth;
    }

    body {
        margin: 0;
        font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
        color: var(--text);
        background: #f8fbff;
        line-height: 1.6;
    }

  

    img {
        max-width: 100%;
        display: block;
    }

    .container {
        width: min(100% - 32px, var(--container));
        margin: 0 auto;
    }

    .section {
        padding: 72px 0;
    }

    .section-title {
        font-size: 2rem;
        line-height: 1.2;
        margin: 0 0 16px;
    }

    .section-text {
        font-size: 1.05rem;
        color: var(--muted);
        margin: 0;
    }

    .btn {
        display: inline-block;
        padding: 14px 22px;
        border-radius: 999px;
        font-weight: 700;
        transition: 0.2s ease;
    }

    .btn-primary {
        background: var(--primary);
        color: var(--white);
        box-shadow: var(--shadow);
    }

    .btn-primary:hover {
        background: var(--primary-dark);
        transform: translateY(-1px);
    }

    .btn-outline {
        border: 1px solid var(--border);
        background: var(--white);
        color: var(--text);
    }

    .topbar {
        background: var(--white);
        border-bottom: 1px solid #edf2f7;
        position: sticky;
        top: 0;
        z-index: 20;
    }

    .topbar-inner {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 20px;
        min-height: 74px;
    }

    .logo {
        font-size: 1.15rem;
        font-weight: 800;
        color: var(--primary-dark);
    }

    .topbar-actions {
        display: flex;
        align-items: center;
        gap: 12px;
        flex-wrap: wrap;
    }

    .phone-link {
        font-weight: 700;
        color: var(--primary-dark);
    }

    .hero {
        padding: 72px 0 56px;
        background:
            linear-gradient(180deg, rgba(234, 244, 255, 0.9) 0%, rgba(248, 251, 255, 1) 100%);

    }

    .hero-grid {
        display: grid;
        grid-template-columns: 1.1fr 0.9fr;
        gap: 36px;
        align-items: center;
    }

    .eyebrow {
        display: inline-block;
        padding: 8px 14px;
        border-radius: 999px;
        background: var(--secondary);
        color: var(--primary-dark);
        font-size: 0.95rem;
        font-weight: 700;
        margin-bottom: 18px;
    }

    .hero h1 {
        font-size: clamp(2.2rem, 5vw, 4rem);
        line-height: 1.08;
        margin: 0 0 18px;
    }

    .hero p {
        font-size: 1.12rem;
        color: var(--muted);
        margin: 0 0 26px;
        max-width: 680px;
    }

    .hero-actions {
        display: flex;
        gap: 14px;
        flex-wrap: wrap;
        margin-bottom: 24px;
    }

    .hero-points {
        display: flex;
        flex-wrap: wrap;
        gap: 12px;
        margin-top: 10px;
    }

    .hero-point {
        background: var(--white);
        border: 1px solid var(--border);
        border-radius: 999px;
        padding: 10px 14px;
        font-size: 0.95rem;
        font-weight: 600;
        box-shadow: var(--shadow);
    }

    .hero-card {
        background: var(--white);
        border-radius: 24px;
        padding: 28px;
        box-shadow: var(--shadow);
        border: 1px solid #edf2f7;
    }

    .hero-card h2 {
        margin: 0 0 14px;
        font-size: 1.5rem;
    }

    .hero-card ul {
        margin: 0;
        padding-left: 18px;
        color: var(--muted);
    }

    .hero-card li+li {
        margin-top: 8px;
    }

    .stats {
        padding: 0 0 36px;
    }

    .stats-grid {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 16px;
    }

    .stat-card {
        background: var(--white);
        border-radius: var(--radius);
        padding: 24px;
        box-shadow: var(--shadow);
        border: 1px solid #edf2f7;
        text-align: center;
    }

    .stat-number {
        display: block;
        font-size: 2rem;
        font-weight: 800;
        color: var(--primary-dark);
        line-height: 1;
        margin-bottom: 10px;
    }

    .stat-label {
        color: var(--muted);
        font-size: 0.98rem;
    }

    .content-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
        align-items: start;
    }

    .card {
        background: var(--white);
        border-radius: var(--radius);
        padding: 28px;
        box-shadow: var(--shadow);
        border: 1px solid #edf2f7;
    }

    .steps {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 18px;
        margin-top: 28px;
    }

    .step {
        background: var(--white);
        border-radius: var(--radius);
        padding: 24px;
        box-shadow: var(--shadow);
        border: 1px solid #edf2f7;
    }

    .step-number {
        width: 40px;
        height: 40px;
        border-radius: 50%;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        background: var(--secondary);
        color: var(--primary-dark);
        font-weight: 800;
        margin-bottom: 14px;
    }

    .step h3 {
        margin: 0 0 10px;
        font-size: 1.1rem;
    }

    .step p {
        margin: 0;
        color: var(--muted);
        font-size: 0.97rem;
    }

    .list-clean {
        margin: 18px 0 0;
        padding: 0;
        list-style: none;
    }

    .list-clean li {
        position: relative;
        padding-left: 26px;
        margin-bottom: 12px;
        color: var(--muted);
    }

    .list-clean li::before {
        content: "✓";
        position: absolute;
        left: 0;
        top: 0;
        color: var(--primary);
        font-weight: 800;
    }

    .specialties-grid,
    .areas-grid {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 16px;
        margin-top: 28px;
    }

    .tag-card {
        background: var(--white);
        border-radius: 16px;
        padding: 18px 16px;
        border: 1px solid #edf2f7;
        box-shadow: var(--shadow);
        font-weight: 700;
        text-align: center;
        transition: 0.2s ease;
    }

    .tag-card:hover {
        transform: translateY(-2px);
        border-color: #cfe0f5;
    }

 

    .cta-box {
        background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
        color: var(--white);
        border-radius: 28px;
        padding: 42px 32px;
        text-align: center;
        box-shadow: var(--shadow);
    }

    .cta-box h2 {
        margin: 0 0 12px;
        font-size: 2rem;
        line-height: 1.2;
    }

    .cta-box p {
        margin: 0 0 22px;
        font-size: 1.05rem;
        color: rgba(255, 255, 255, 0.9);
    }

    .cta-box .btn-primary {
        background: var(--white);
        color: var(--primary-dark);
    }

    .footer {
        padding: 30px 0 50px;
        text-align: center;
        color: var(--muted);
        font-size: 0.95rem;
    }

    @media (max-width: 1100px) {

        .hero-grid,
        .content-grid,
        .steps,
        .stats-grid,
        .specialties-grid,
        .areas-grid {
            grid-template-columns: repeat(2, 1fr);
        }
    }

    @media (max-width: 767px) {
        .topbar-inner {
            padding: 12px 0;
            align-items: flex-start;
        }

        .hero {
            padding-top: 42px;
        }

        .hero-grid,
        .content-grid,
        .steps,
        .stats-grid,
        .specialties-grid,
        .areas-grid {
            grid-template-columns: 1fr;
        }

        .hero h1 {
            font-size: 2.2rem;
        }

        .section {
            padding: 54px 0;
        }

        .section-title {
            font-size: 1.7rem;
        }
    }
  @media (min-width: 1px) and (max-width: 990px) {
        .hero-img {
            background-image: url(/contents/images/homepage/hero-portrait.webp) !important;
            max-width: 100%;
            margin-top:20px;
        }

        .hero-img .modulo_doppio_claim {
            min-height: unset !important;
            margin: 0 12px !important;
        }

        .hero-img h1 {
            text-align: center;
        }

        .hero-img h2 {
            text-align: center;
            margin-top: 20px !important;
        }



    }    
      .about-hero {
  padding-top: 40px;
}

.about-hero-box {
  background: #ffffff;
  border: 1px solid #edf2f7;
  border-radius: 28px;
  padding: 40px 34px;
  box-shadow: 0 10px 30px rgba(16, 24, 40, 0.08);
}

.about-hero-box h1 {
  margin: 0 0 18px;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.1;
  color: #1f2a37;
}

.lead {
  font-size: 1.08rem;
  color: #5b6573;
  margin: 0;
}

.lead + .lead {
  margin-top: 16px;
}

.card-large {
  padding: 34px 30px;
}

.service-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-top: 28px;
}

.service-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px;
  background: #f8fbff;
  border: 1px solid #edf2f7;
  border-radius: 18px;
}

.service-icon {
  width: 52px;
  height: 52px;
  min-width: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: #eaf4ff;
  font-size: 1.4rem;
}

.service-content h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
  color: #1f2a37;
}

.service-content p {
  margin: 0;
  color: #5b6573;
  font-size: 0.98rem;
  line-height: 1.5;
}

.service-closing {
  margin-top: 24px;
}

.section-title-center,
.section-text-center {
  text-align: center;
}

.highlight-text {
  color: #084298;
}

.closing-card {
  text-align: center;
}

.impact-text {
  margin: 18px 0;
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: 1px;
}

@media (max-width: 768px) {
  .about-hero-box {
    padding: 28px 22px;
    border-radius: 22px;
  }

  .service-list {
    grid-template-columns: 1fr;
  }

  .impact-text {
    font-size: 2rem;
  }
} 

      .hero-img {

        width: 100%;
        min-height: clamp(350px, 55vh, 650px);

        background-image: url(/contents/images/homepage/hero.webp);
        background-position: center center;
        background-repeat: no-repeat;
        background-size: cover;

        display: flex;
        align-items: center;
        margin-bottom: 20px;


    }
      .hero-img h1 {
        border-right: none;
        text-align: left;
        width: 100%;
        float: left;
        margin: 0px;
        line-height: 36px;;
    }

    .hero-img h2 {
        border-right: none;
        text-align: left;
        margin: 0px;
        margin-top: 24px;

        width: 100%;
        float: left;

    }

    .hero-img .modulo_doppio_claim {

        /*width: 100%;
        float: left;
        margin: 0px;
        ;*/
        display: block !important;
        width: 100% !important;
        text-align: center !important;
        position: relative !important;
        left: 0px !important;

        height: auto !important;
        float: left !important;
        margin-top: inherit !important;
        margin-bottom: inherit !important;
        /* margin-left: 0px !important;
        margin-right: 0px !important;*/
        top: 0;
        right: 0;
        border-left: none !important;
        border-right: none !important;

        max-width: 500px;
        border-radius: 6px;
        padding: 48px;
        margin-left: 40px;
        ;
        overflow: visible !important;
        background-color: rgb(255 255 255 / .7);
        display: table-cell !important;


    }