/* Montserrat - Latin Extended subset */
    @font-face {
      font-family: 'Montserrat';
      font-style: normal;
      font-weight: 400 700;
      font-display: swap;
      src: url('/fonts/montserrat-latin-ext.woff2') format('woff2');
      unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
    }

    /* Montserrat - Latin subset */
    @font-face {
      font-family: 'Montserrat';
      font-style: normal;
      font-weight: 400 700;
      font-display: swap;
      src: url('/fonts/montserrat-latin.woff2') format('woff2');
      unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
    }

    /* Outfit - Latin Extended subset */
    @font-face {
      font-family: 'Outfit';
      font-style: normal;
      font-weight: 300 500;
      font-display: swap;
      src: url('/fonts/outfit-latin-ext.woff2') format('woff2');
      unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
    }

    /* Outfit - Latin subset */
    @font-face {
      font-family: 'Outfit';
      font-style: normal;
      font-weight: 300 500;
      font-display: swap;
      src: url('/fonts/outfit-latin.woff2') format('woff2');
      unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
    }

    :root {
      --primary-color: #0d5a8c;
      --primary-light: #45c4e5;
      --primary-dark: #0d4d73;
      --secondary-color: #299dd8;
      --accent-color: #87d4fb;
      --text-main: #313131;
      --text-muted: #666666;
      --bg-light: #f8fbfe;
      --white: #ffffff;
      --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
      --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
      --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.1);
      --radius-sm: 8px;
      --radius-md: 12px;
      --radius-lg: 20px;
    }

    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    html,
    body {
      font-family: 'Outfit', sans-serif;
      color: var(--text-main);
      line-height: 1.6;
      background-color: var(--bg-light);
      overflow-x: hidden;
      width: 100%;
    }

    h1,
    h2,
    h3,
    h4,
    .logo {
      font-family: 'Montserrat', sans-serif;
      font-weight: 700;
    }

    .container {
      max-width: 1200px;
      margin: 0 auto;
      padding: 0 20px;
    }

    header {
      background: rgba(255, 255, 255, 0.98);
      backdrop-filter: blur(10px);
      padding: 1rem 0;
      position: sticky;
      top: 0;
      z-index: 1000;
      box-shadow: var(--shadow-sm);
    }

    .header-inner {
      display: flex;
      justify-content: space-between;
      align-items: center;
    }

    .logo img {
      height: 64px;
      width: auto;
      display: block;
    }

    .nav-links {
      display: flex;
      gap: 2rem;
      align-items: center;
      margin-left: auto;
    }

    .nav-links a {
      text-decoration: none;
      color: var(--text-main);
      font-weight: 600;
      transition: all 0.3s;
      font-size: 0.95rem;
    }

    .nav-links a:hover {
      color: var(--primary-color);
    }

    .cta-button {
      background: var(--primary-color);
      color: var(--white) !important;
      padding: 0.8rem 1.8rem;
      border-radius: 50px;
      transition: all 0.3s ease;
      box-shadow: 0 4px 15px rgba(21, 112, 166, 0.2);
    }

    .cta-button:hover {
      background: var(--primary-dark);
      transform: translateY(-2px);
      box-shadow: 0 6px 20px rgba(21, 112, 166, 0.3);
    }

    .nav-toggle {
      display: none;
      flex-direction: column;
      gap: 5px;
      cursor: pointer;
      padding: 5px;
      z-index: 2000;
    }

    .nav-toggle span {
      display: block;
      width: 25px;
      height: 3px;
      background: var(--primary-color);
      transition: all 0.3s ease;
      border-radius: 3px;
    }

    .nav-toggle.toggle-active span:nth-child(1) {
      transform: rotate(45deg) translate(5px, 6px);
    }

    .nav-toggle.toggle-active span:nth-child(2) {
      opacity: 0;
    }

    .footer-icon {
      width: 20px;
      height: 20px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      color: var(--secondary-color);
    }

    .footer-icon svg {
      width: 100%;
      height: 100%;
    }

    .nav-contact {
      display: none;
    }

    @media (max-width: 768px) {
      .nav-toggle {
        display: flex;
      }

      .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 100%;
        background: rgba(13, 77, 115, 0.98);
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 1.5rem;
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
        transition: right 0.5s cubic-bezier(0.77, 0.2, 0.05, 1.0);
        padding: 2rem;
        z-index: 1500;
      }

      .nav-links.nav-active {
        right: 0;
      }

      .nav-links a {
        font-size: 1.2rem;
        color: var(--white);
        opacity: 0;
        transform: translateY(20px);
        transition: all 0.4s ease;
      }

      .nav-links.nav-active a {
        opacity: 1;
        transform: translateY(0);
      }

      .nav-links.nav-active a:nth-child(1) {
        transition-delay: 0.1s;
      }

      .nav-links.nav-active a:nth-child(2) {
        transition-delay: 0.2s;
      }

      .nav-links.nav-active a:nth-child(3) {
        transition-delay: 0.3s;
      }

      .nav-links.nav-active a:nth-child(4) {
        transition-delay: 0.4s;
      }

      .nav-links.nav-active a:nth-child(5) {
        transition-delay: 0.5s;
      }

      .nav-links.nav-active a:nth-child(6) {
        transition-delay: 0.6s;
      }

      .nav-links.nav-active .nav-contact {
        transition-delay: 0.7s;
      }

      .logo img {
        height: 50px;
      }

      .nav-contact {
        display: flex;
        margin-top: 2rem;
        padding-top: 2rem;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        width: 100%;
        max-width: 280px;
        flex-direction: row;
        justify-content: center;
        gap: 1.5rem;
        opacity: 0;
        transform: translateY(20px);
        transition: all 0.4s ease;
      }

      .nav-links.nav-active .nav-contact {
        opacity: 1;
        transform: translateY(0);
      }

      .contact-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
        color: var(--white);
        text-decoration: none;
        font-weight: 500;
        font-size: 0.8rem;
        transition: transform 0.3s;
      }

      .contact-item:hover {
        transform: translateX(5px);
      }

      .contact-icon {
        width: 40px;
        height: 40px;
        background: rgba(255, 255, 255, 0.1);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        color: var(--accent-color);
      }

      .contact-icon svg {
        width: 20px;
        height: 20px;
      }

      .footer-icon {
        width: 20px;
        height: 20px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        color: var(--secondary-color);
      }

      .footer-icon svg {
        width: 100%;
        height: 100%;
      }
    }

    .hero {
      background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
      color: var(--white);
      padding: 7rem 0;
      text-align: center;
      position: relative;
      overflow: hidden;
    }

    .hero h1, .hero h2 {
      font-size: 3.2rem;
      margin-bottom: 1.5rem;
      letter-spacing: -1px;
    }

    .row {
      display: flex;
      flex-wrap: wrap;
      margin: 0 -15px;
    }

    .col {
      padding: 0 15px;
      flex: 1;
    }

    .four {
      flex: 0 0 33.333%;
    }

    .six {
      flex: 0 0 50%;
    }

    .eight {
      flex: 0 0 66.666%;
    }

    .twelve {
      flex: 0 0 100%;
    }

    @media (max-width: 768px) {

      .four,
      .six,
      .eight {
        flex: 0 0 100%;
        margin-bottom: 2.5rem;
      }
    }

    .card {
      background: var(--white);
      padding: 2.5rem;
      border-radius: var(--radius-md);
      box-shadow: var(--shadow-md);
      transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
      height: 100%;
      border: 1px solid rgba(0, 0, 0, 0.03);
    }

    .card:hover {
      transform: translateY(-8px);
      box-shadow: var(--shadow-lg);
    }

    .card img {
      width: 100%;
      height: auto;
      border-radius: var(--radius-sm);
      margin-bottom: 1.5rem;
    }

    .section-padding {
      padding: 6rem 0;
    }

    footer {
      background: #1a2a3a;
      color: #f1f3f5;
      padding: 5rem 0 2rem;
    }

    footer h3 {
      color: var(--accent-color);
      margin-bottom: 1.8rem;
      font-size: 1.4rem;
    }

    footer ul {
      list-style: none;
    }

    footer ul li {
      margin-bottom: 1rem;
    }

    footer a {
      color: #cbd5e0;
      text-decoration: none;
      transition: color 0.3s;
    }

    footer a:hover {
      color: var(--white);
    }

    .footer-bottom {
      border-top: 1px solid rgba(255, 255, 255, 0.08);
      margin-top: 4rem;
      padding-top: 2rem;
      text-align: center;
      font-size: 0.9rem;
      color: #a0aec0;
    }

    .mutuas-grid {
      display: flex;
      flex-wrap: wrap;
      gap: 25px;
      justify-content: center;
      align-items: center;
      background: var(--white);
      padding: 3rem;
      border-radius: var(--radius-lg);
      box-shadow: var(--shadow-sm);
    }

    .mutua-logo {
      max-width: 140px;
      height: auto;
      filter: grayscale(100%);
      opacity: 0.6;
      transition: all 0.4s ease;
    }

    .mutua-logo:hover {
      filter: grayscale(0);
      opacity: 1;
      transform: scale(1.05);
    }

    @media (max-width: 480px) {
      .cookie-banner {
        padding: 1.25rem;
        bottom: 1rem;
        left: 12px;
        right: 12px;
        width: auto;
        border-radius: 20px;
      }

      .cookie-content h2 {
        font-size: 1.15rem;
      }

      .cookie-content p {
        font-size: 0.9rem;
      }
    }
  
/* === Standardized Language Selector === */
/* ═══════════════════════════════════════════
   LANGUAGE SELECTOR — refined design
   ═══════════════════════════════════════════ */

/* ── DESKTOP ── */
.lang-outer {
    position: relative;
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    z-index: 9000;
    margin-left: 18px;
}

/* Glass-morphism pill on white header */
.lang-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    border: 1.5px solid rgba(13,90,140,.15);
    border-radius: 50px;
    padding: 6px 12px 6px 8px;
    cursor: pointer;
    font-family: inherit;
    font-size: .82rem;
    font-weight: 700;
    color: #0d5a8c;
    letter-spacing: .25px;
    box-shadow:
        0 2px 8px rgba(13,90,140,.1),
        inset 0 1px 0 rgba(255,255,255,.9);
    transition: all .2s cubic-bezier(.4,0,.2,1);
    white-space: nowrap;
    user-select: none;
    line-height: 1;
    outline: none;
}
.lang-pill:hover {
    border-color: rgba(13,90,140,.35);
    box-shadow:
        0 4px 14px rgba(13,90,140,.18),
        inset 0 1px 0 rgba(255,255,255,.9);
    transform: translateY(-1px);
    color: #0a4a75;
}
.lang-outer.open .lang-pill {
    border-color: #0d5a8c;
    background: #f4f9fd;
    box-shadow: 0 0 0 3px rgba(13,90,140,.12);
}

.lang-pill .flag-img,
.lang-pill .flag-svg {
    width: 20px; height: 14px;
    border-radius: 3px;
    object-fit: cover;
    box-shadow: 0 1px 3px rgba(0,0,0,.2);
    flex-shrink: 0;
    display: block;
}
.lang-pill .flag-svg { display: inline-block; vertical-align: middle; }

.lang-pill .pill-label {
    font-size: .79rem;
    font-weight: 700;
    letter-spacing: .4px;
}

.lang-pill .pill-arrow {
    width: 9px; height: 9px;
    flex-shrink: 0;
    color: #7aaac8;
    transition: transform .22s cubic-bezier(.4,0,.2,1);
    margin-left: 1px;
}
.lang-outer.open .lang-pill .pill-arrow { transform: rotate(180deg); }

/* Dropdown */
.lang-drop {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    min-width: 155px;
    background: #fff;
    border-radius: 14px;
    box-shadow:
        0 24px 48px rgba(0,0,0,.13),
        0 6px 16px rgba(0,0,0,.07),
        0 0 0 1px rgba(13,90,140,.09);
    padding: 5px;
    overflow: hidden;
    animation: ldrop .17s cubic-bezier(.4,0,.2,1);
    z-index: 9001;
}
@keyframes ldrop {
    from { opacity:0; transform:translateY(-5px) scale(.98); }
    to   { opacity:1; transform:translateY(0) scale(1); }
}
.lang-outer.open .lang-drop { display: block; }

.lang-drop a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 11px;
    text-decoration: none;
    color: #2a3d50;
    font-size: .86rem;
    font-weight: 500;
    border-radius: 9px;
    transition: background .12s, color .12s;
    position: relative;
}
.lang-drop a:hover { background: #f0f7fc; color: #0d5a8c; }
.lang-drop a.lang-active {
    background: linear-gradient(120deg, #eaf3fc 0%, #f0f8fe 100%);
    color: #0d5a8c;
    font-weight: 700;
}
.lang-drop a.lang-active::before {
    content: '';
    position: absolute;
    left: 0; top: 20%; bottom: 20%;
    width: 3px;
    background: #0d5a8c;
    border-radius: 3px;
}
.lang-drop a .flag-img,
.lang-drop a .flag-svg {
    width: 22px; height: 15px;
    border-radius: 3px;
    object-fit: cover;
    box-shadow: 0 1px 4px rgba(0,0,0,.16);
    flex-shrink: 0;
}
.lang-drop a .flag-svg { display: inline-block; vertical-align: middle; }

/* Divider between items */
.lang-drop a + a { border-top: 1px solid rgba(13,90,140,.06); }


/* ── MOBILE: inside the full-screen nav overlay ── */
.lang-mobile { display: none; }

@media (max-width: 768px) {
    .lang-outer { display: none !important; }

    .nav-links .lang-mobile {
        display: flex !important;
        flex-direction: column;
        align-items: center;
        gap: 5px;
        width: 100%;
        margin: 5px 0 0;
        opacity: 0;
        transform: translateY(8px);
        transition: opacity .3s ease .55s, transform .3s ease .55s;
    }
    .nav-links.nav-active .lang-mobile {
        opacity: 1 !important;
        transform: translateY(0) !important;
    }

    /* subtle separator label */
    .lang-mobile-label {
        font-size: .6rem;
        font-weight: 600;
        letter-spacing: 1.5px;
        text-transform: uppercase;
        color: rgba(255,255,255,.3);
    }

    /* pill row - 2 rows of 3 so it never overflows on narrow screens */
    .lang-mobile-btns {
        display: grid;
        grid-template-columns: repeat(3, auto);
        gap: 7px;
        justify-items: center;
        justify-content: center;
    }

    /* each language pill */
    .lang-mobile-btn {
        display: inline-flex;
        align-items: center;
        gap: 5px;
        background: rgba(255,255,255,.08);
        border: 1px solid rgba(255,255,255,.15);
        border-radius: 50px;
        padding: 5px 11px;
        color: rgba(255,255,255,.75);
        font-family: inherit;
        font-size: .75rem;
        font-weight: 600;
        letter-spacing: .25px;
        cursor: pointer;
        text-decoration: none;
        transition: all .15s;
        white-space: nowrap;
        backdrop-filter: blur(4px);
    }
    .lang-mobile-btn:hover {
        background: rgba(255,255,255,.16);
        border-color: rgba(255,255,255,.35);
        color: #fff;
        transform: translateY(-1px);
    }
    .lang-mobile-btn.lang-active {
        background: rgba(255,255,255,.2);
        border-color: rgba(255,255,255,.5);
        color: #fff;
        font-weight: 700;
        box-shadow: 0 2px 10px rgba(0,0,0,.2), inset 0 1px 0 rgba(255,255,255,.15);
    }
    .lang-mobile-btn .flag-img {
        width: 14px; height: 10px;
        border-radius: 2px; object-fit: cover; flex-shrink: 0;
        box-shadow: 0 1px 2px rgba(0,0,0,.25);
    }
    .lang-mobile-btn .flag-svg {
        width: 14px; height: 10px;
        border-radius: 2px; flex-shrink: 0;
        display: inline-block; vertical-align: middle;
        box-shadow: 0 1px 2px rgba(0,0,0,.25);
    }
}
/* ════════════════════════════════════════════ */
