/* ============================================================
   MODI® – Network Partner Certificazioni
   style.css
   ============================================================ */

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
    html { scroll-behavior: smooth; }
    body {
      font-family: 'DM Sans', sans-serif;
      color: #1a1f2e;
      background: #f0f2f5;
      line-height: 1.6;
      overflow-x: hidden;
    }

    /* HERO */
    .hero {
      background: #163b63;
      padding: 0 40px 0;
      position: relative;
      overflow: hidden;
    }
    .hero-inner {
      max-width: 1060px;
      margin: 0 auto;
      display: grid;
      grid-template-columns: 1fr 300px;
      gap: 48px;
      align-items: center;
      min-height: 260px;
    }
    .hero-img-wrap {
      padding: 32px 0 28px;
    }
    .hero-img-wrap img {
      width: 100%;
      max-width: 660px;
      height: auto;
      display: block;
      border-radius: 6px;
    }
    /* HERO CARD */
    .hero-card {
      background: rgba(255,255,255,0.08);
      border: 1px solid rgba(255,255,255,0.15);
      border-radius: 10px;
      padding: 24px 22px 20px;
      align-self: center;
    }
    .hero-card h3 {
      font-size: 14px;
      font-weight: 700;
      color: #fff;
      margin-bottom: 14px;
      letter-spacing: .1px;
    }
    .hero-check {
      list-style: none;
      margin-bottom: 0;
    }
    .hero-check li {
      font-size: 13px;
      color: rgba(255,255,255,0.82);
      padding: 5px 0;
      display: flex;
      gap: 9px;
      align-items: flex-start;
      border-bottom: 1px solid rgba(255,255,255,0.07);
    }
    .hero-check li:last-child { border-bottom: none; }
    .hero-check li::before {
      content: '✔';
      color: #f0a030;
      font-size: 12px;
      flex-shrink: 0;
      margin-top: 2px;
    }
    /* BTN (kept for CTA block) */
    .btn {
      display: inline-block;
      padding: 13px 24px;
      border-radius: 6px;
      font-size: 14px;
      font-weight: 600;
      text-decoration: none;
      transition: opacity .2s, transform .15s;
      cursor: pointer;
    }
    .btn:hover { opacity: .88; transform: translateY(-1px); }
    .btn-primary { background: #d88a1d; color: #fff; }
    .btn-outline {
      background: transparent;
      color: rgba(255,255,255,0.85);
      border: 1px solid rgba(255,255,255,0.3);
    }

    /* TRUST BAR */
    .trust {
      background: #0d2640;
      padding: 16px 40px;
    }
    .trust-inner {
      max-width: 1060px;
      margin: 0 auto;
      display: flex;
      justify-content: center;
      gap: 32px;
      flex-wrap: wrap;
      align-items: center;
      font-size: 13px;
      color: rgba(255,255,255,0.6);
    }
    .trust-inner strong { color: #f0a030; font-size: 15px; }

    /* MAIN CONTENT */
    .main-content {
      background: #fff;
      padding: 48px 40px 56px;
    }
    .main-inner { max-width: 1060px; margin: 0 auto; }

    /* INTRO BOX */
    .intro-box {
      background: #163b63;
      border-left: 4px solid #d88a1d;
      padding: 28px 28px 24px;
      margin-bottom: 40px;
      border-radius: 0 8px 8px 0;
    }
    .intro-box h2 {
      color: #fff;
      font-family: 'DM Sans', sans-serif;
      font-size: 20px;
      font-weight: 700;
      margin-bottom: 12px;
      margin-top: 0;
    }
    .intro-box p {
      color: rgba(255,255,255,0.85);
      font-size: 14.5px;
      line-height: 1.75;
      text-align: justify;
      margin-bottom: 10px;
    }
    .intro-box p:last-child { margin-bottom: 0; }

    /* SECTION GROUP */
    .section-group { margin-bottom: 40px; }

    /* SECTION HEADER */
    .sec-header {
      background: #163b63;
      border-left: 4px solid #d88a1d;
      padding: 14px 22px;
      margin-bottom: 0;
    }
    .sec-header h2 {
      color: #fff;
      font-family: 'DM Sans', sans-serif;
      font-size: 18px;
      font-weight: 700;
      margin: 0;
    }

    /* CARD */
    .card {
      background: #fff;
      border-left: 4px solid #d88a1d;
      border-radius: 0 8px 8px 0;
      padding: 28px 28px 24px;
      margin-bottom: 20px;
      display: flex;
      flex-wrap: wrap;
      gap: 24px;
      align-items: flex-start;
      box-shadow: 0 1px 6px rgba(0,0,0,0.06);
      transition: box-shadow .2s;
    }
    .card:hover { box-shadow: 0 4px 18px rgba(0,0,0,0.1); }
    .card-img {
      flex: 0 0 220px;
      text-align: center;
    }
    .card-img img {
      max-width: 100%;
      height: auto;
      border-radius: 6px;
      border: 1px solid #dde3ea;
    }
    .card-body { flex: 1 1 360px; }
    .card-body h3 {
      font-family: 'DM Sans', sans-serif;
      font-size: 17px;
      font-weight: 700;
      color: #163b63;
      margin-bottom: 10px;
      margin-top: 0;
    }
    .card-body p {
      font-size: 14px;
      color: #3d4a5c;
      line-height: 1.75;
      text-align: justify;
      margin-bottom: 10px;
    }
    .card-body p:last-child { margin-bottom: 0; }
    .card-body ul {
      margin: 8px 0 10px 18px;
      font-size: 14px;
      color: #3d4a5c;
      line-height: 1.7;
    }
    .card-body ul li { margin-bottom: 4px; }
    .card-body a { color: #d88a1d; font-weight: 600; text-decoration: none; }
    .card-body a:hover { text-decoration: underline; }

    /* DATA TAG */
    .data-tag {
      text-align: right;
      font-size: 11px;
      color: #999;
      font-style: italic;
      margin-top: 8px;
    }

    /* 3 BOX PERCHE MODI */
    .why-block {
      background: #e8edf3;
      padding: 56px 40px;
    }
    .why-inner { max-width: 1060px; margin: 0 auto; }
    .why-title {
      font-family: 'Playfair Display', serif;
      font-size: clamp(20px, 2.5vw, 30px);
      color: #163b63;
      text-align: center;
      margin-bottom: 36px;
      text-transform: uppercase;
      letter-spacing: .5px;
    }
    .why-grid {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 24px;
    }
    .why-box {
      background: #fff;
      border-radius: 14px;
      padding: 28px 24px;
      width: 310px;
      flex: 1 1 280px;
      max-width: 340px;
      box-shadow: 0 3px 12px rgba(0,0,0,0.07);
      border-left: 4px solid #163b63;
    }
    .why-box h3 {
      color: #163b63;
      font-size: 15px;
      font-weight: 700;
      margin: 0 0 12px;
      text-align: center;
      text-transform: uppercase;
      letter-spacing: 1px;
    }
    .why-box p {
      color: #333;
      font-size: 14px;
      line-height: 1.7;
      margin: 0;
      text-align: justify;
    }

    /* CTA FINAL - 2 colonne */
    .cta-block {
      background: #163b63;
      padding: 56px 40px;
    }
    .cta-inner-grid {
      max-width: 1060px;
      margin: 0 auto;
      display: grid;
      grid-template-columns: 1fr 420px;
      gap: 40px;
      align-items: center;
    }
    .cta-left {
      display: flex;
      flex-direction: column;
      gap: 0;
    }
    .cta-kicker {
      font-size: 11px;
      font-weight: 700;
      letter-spacing: 2px;
      text-transform: uppercase;
      color: #f0a030;
      margin-bottom: 16px !important;
    }
    .cta-block h2 {
      font-family: 'Playfair Display', serif;
      color: #fff;
      font-size: clamp(22px, 2.2vw, 30px);
      line-height: 1.2;
      margin-bottom: 20px;
    }
    .cta-left p {
      font-size: 15px;
      color: rgba(255,255,255,0.82);
      line-height: 1.8;
      text-align: left;
      margin-bottom: 0;
    }
    .cta-left strong { color: #fff; }
    .cta-sedi { font-size: 12.5px !important; color: rgba(255,255,255,0.5) !important; }
    .cta-link { color: #f0a030; font-weight: 600; text-decoration: none; }
    .cta-divider { border: none; border-top: 1px solid rgba(255,255,255,0.15); margin: 22px 0; }
    .cta-contact-line { font-size: 13.5px !important; color: rgba(255,255,255,0.7) !important; line-height: 1.6 !important; }
    .cta-link:hover { text-decoration: underline; }
    .cta-tappetino {
      width: 100%;
      max-width: 380px;
      height: auto;
      display: block;
      margin: 20px 0 0;
      border-radius: 8px;
      opacity: 0.92;
    }
    .cta-actions { display: flex; flex-direction: column; gap: 10px; }
    .cta-action-card {
      display: flex;
      align-items: center;
      gap: 14px;
      background: rgba(255,255,255,0.07);
      border: 1px solid rgba(255,255,255,0.12);
      border-radius: 8px;
      padding: 14px 16px;
      text-decoration: none;
      transition: background .2s;
      color: #fff;
    }
    .cta-action-card:hover { background: rgba(255,255,255,0.13); }
    .cta-action-primary { background: #d88a1d !important; border-color: #d88a1d !important; }
    .cta-action-primary:hover { background: #c47b18 !important; }
    .cta-action-icon { font-size: 20px; flex-shrink: 0; width: 28px; text-align: center; }
    .cta-action-card span:last-child { font-size: 13.5px; line-height: 1.5; }
    .cta-action-card strong { font-size: 13.5px; }
    .cta-action-card small { font-size: 11.5px; color: rgba(255,255,255,0.65); display: block; }

    /* FOOTER */
    .footer {
      background: #0d2640;
      padding: 36px 40px;
      color: rgba(255,255,255,0.5);
      font-size: 12px;
      line-height: 1.8;
    }
    .footer-inner {
      max-width: 1060px;
      margin: 0 auto;
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
      gap: 28px;
    }
    .footer h4 {
      font-size: 11px;
      font-weight: 700;
      letter-spacing: 1.5px;
      text-transform: uppercase;
      color: rgba(255,255,255,0.35);
      margin-bottom: 10px;
    }
    .footer a { color: rgba(255,255,255,0.55); text-decoration: none; }
    .footer a:hover { color: #f0a030; }
    .footer-copy {
      max-width: 1060px;
      margin: 24px auto 0;
      padding-top: 18px;
      border-top: 1px solid rgba(255,255,255,0.08);
      font-size: 11px;
      color: rgba(255,255,255,0.3);
      text-align: center;
    }

    /* RESPONSIVE */
    @media (max-width: 860px) {
      .hero { padding: 0 20px; }
      .hero-inner { grid-template-columns: 1fr; gap: 20px; min-height: auto; }
      .hero-img-wrap { padding: 28px 0 0; }
      .hero-card { margin-bottom: 24px; }
      .trust { padding: 14px 20px; }
      .main-content { padding: 36px 20px 48px; }
      .why-block { padding: 40px 20px; }
      .why-box { max-width: 100%; }
      .cta-block { padding: 50px 20px; }
      .cta-inner-grid { grid-template-columns: 1fr; gap: 28px; }
      .cta-tappetino { max-width: 180px; margin: 0 auto 16px; }
      .footer { padding: 28px 20px; }
    }
    @media (max-width: 560px) {
      .card { flex-direction: column; }
      .card-img { flex: none; width: 100%; }
      .trust-inner { gap: 16px; font-size: 12px; }
    }