﻿
/* Home showcase — from our-products-prototype */
.home-showcase {
  color: var(--med-ink);
  background:
    radial-gradient(circle at 10% 8%, rgba(170, 226, 217, 0.25), transparent 30%),
    linear-gradient(180deg, #f7fbfa 0%, #edf6f4 100%);
}
:root {
  --med-ink: #102c2b;
  --med-ink-soft: #496361;
  --med-teal: #0b6b63;
  --med-teal-bright: #159689;
  --med-mint: #d9f1ed;
  --med-white: #ffffff;
  --med-radius-lg: 34px;
  --med-radius-md: 22px;
  --med-shadow: 0 32px 90px rgba(20, 74, 70, 0.14);
}

    

    

    

    .med-hero a, .med-products a, .customer-voices a, .med-hero button, .med-products button, .customer-voices button { -webkit-tap-highlight-color: transparent; }

    .med-hero {
      padding: clamp(16px, 2.4vw, 34px) 24px 0;
    }

    .med-hero__stage {
      position: relative;
      isolation: isolate;
      width: min(1440px, 100%);
      min-height: clamp(620px, 50vw, 760px);
      margin: 0 auto;
      overflow: hidden;
      border: 1px solid rgba(255, 255, 255, 0.92);
      border-radius: var(--med-radius-lg);
      background: #eaf4f2;
      box-shadow: var(--med-shadow);
    }

    .med-hero__background,
    .med-hero__background::after,
    .med-hero__orbital {
      position: absolute;
      inset: 0;
    }

    .med-hero__background {
      z-index: 0;
      background: var(--med-hero-bg-image) 58% center / cover no-repeat;
      filter: saturate(0.86) contrast(0.94) brightness(1.04);
      transform: scale(1.015);
    }

    .med-hero__background::after {
      background:
        linear-gradient(90deg, rgba(249, 253, 252, 0.98) 0%, rgba(249, 253, 252, 0.94) 33%, rgba(249, 253, 252, 0.48) 58%, rgba(238, 247, 245, 0.06) 82%),
        linear-gradient(180deg, rgba(245, 251, 249, 0.08) 62%, rgba(230, 243, 240, 0.72) 100%);
      content: "";
    }

    .med-hero__orbital {
      z-index: 1;
      width: min(900px, 65vw);
      height: min(900px, 65vw);
      margin: auto -19vw -39vw auto;
      border: 1px solid rgba(21, 150, 137, 0.13);
      border-radius: 50%;
      box-shadow:
        0 0 0 70px rgba(255, 255, 255, 0.14),
        0 0 0 71px rgba(21, 150, 137, 0.06),
        0 0 0 150px rgba(255, 255, 255, 0.08),
        0 0 0 151px rgba(21, 150, 137, 0.04);
      pointer-events: none;
    }

    .med-hero__doctor {
      position: absolute;
      z-index: 2;
      right: clamp(-44px, -2vw, -12px);
      bottom: 70px;
      width: auto;
      height: min(94%, 730px);
      object-fit: contain;
      object-position: right bottom;
      filter: drop-shadow(-24px 26px 40px rgba(16, 62, 58, 0.13));
      mix-blend-mode: multiply;
      pointer-events: none;
      user-select: none;
    }

    .med-hero__content {
      position: relative;
      z-index: 3;
      display: flex;
      width: min(56%, 720px);
      min-height: inherit;
      flex-direction: column;
      justify-content: center;
      padding: clamp(62px, 7vw, 104px) 0 150px clamp(38px, 6.4vw, 92px);
    }

    .med-hero__title {
      max-width: 720px;
      margin: 0;
      color: var(--med-ink);
      font-size: clamp(54px, 6.2vw, 94px);
      font-weight: 610;
      letter-spacing: -0.065em;
      line-height: 0.96;
      text-wrap: balance;
    }

    .med-hero__title-accent {
      display: block;
      color: var(--med-teal);
    }

    .med-hero__actions {
      display: flex;
      flex-wrap: wrap;
      gap: 13px;
      margin-top: clamp(32px, 4vw, 52px);
    }

    .med-hero__button {
      display: inline-flex;
      min-height: 58px;
      align-items: center;
      justify-content: center;
      gap: 14px;
      padding: 0 25px;
      border: 1px solid rgba(11, 107, 99, 0.2);
      border-radius: 999px;
      color: var(--med-teal);
      background: rgba(255, 255, 255, 0.76);
      box-shadow: 0 12px 28px rgba(20, 86, 80, 0.08);
      font-size: 14px;
      font-weight: 750;
      text-decoration: none;
      backdrop-filter: blur(15px);
      transition: color 220ms ease, background 220ms ease, border-color 220ms ease, transform 220ms ease, box-shadow 220ms ease;
    }

    .med-hero__button--primary {
      border-color: var(--med-teal);
      color: #fff;
      background: var(--med-teal);
      box-shadow: 0 16px 34px rgba(11, 107, 99, 0.22);
    }

    .med-hero__button:hover,
    .med-hero__button:focus-visible {
      border-color: #084f4a;
      color: #fff;
      background: #084f4a;
      box-shadow: 0 18px 36px rgba(11, 79, 74, 0.2);
      transform: translateY(-2px);
    }

    .med-hero__button:focus-visible {
      outline: 3px solid rgba(21, 150, 137, 0.32);
      outline-offset: 4px;
    }

    .med-hero__button svg {
      width: 18px;
      height: 18px;
      flex: 0 0 auto;
      fill: none;
      stroke: currentColor;
      stroke-linecap: round;
      stroke-linejoin: round;
      stroke-width: 1.8;
      transition: transform 220ms ease;
    }

    .med-hero__button:hover svg,
    .med-hero__button:focus-visible svg {
      transform: translateX(3px);
    }

    .med-hero__certifications {
      position: absolute;
      z-index: 4;
      bottom: 22px;
      left: clamp(22px, 3.6vw, 52px);
      display: grid;
      width: min(700px, calc(100% - 104px));
      grid-template-columns: repeat(3, minmax(0, 1fr));
      overflow: hidden;
      border: 1px solid rgba(255, 255, 255, 0.88);
      border-radius: 20px;
      background: rgba(248, 253, 252, 0.78);
      box-shadow: 0 16px 38px rgba(18, 73, 69, 0.1);
      backdrop-filter: blur(18px) saturate(120%);
    }

    .med-hero__certification {
      position: relative;
      display: flex;
      min-height: 76px;
      align-items: center;
      justify-content: center;
      gap: 11px;
      padding: 12px 18px;
      color: var(--med-teal);
    }

    .med-hero__certification + .med-hero__certification::before {
      position: absolute;
      top: 19px;
      bottom: 19px;
      left: 0;
      width: 1px;
      background: rgba(11, 107, 99, 0.13);
      content: "";
    }

    .med-hero__certification-mark {
      display: block;
      font-size: clamp(22px, 2vw, 30px);
      font-weight: 820;
      letter-spacing: -0.045em;
      line-height: 1;
    }

    .med-hero__certification-mark--ce {
      font-size: clamp(28px, 2.5vw, 38px);
      letter-spacing: -0.12em;
    }

    .med-hero__certification-copy {
      display: block;
      color: var(--med-ink-soft);
      font-size: 11px;
      font-weight: 720;
      letter-spacing: 0.06em;
      line-height: 1.3;
      text-transform: uppercase;
    }

    @media (max-width: 1080px) {
      .med-hero__content {
        width: 62%;
        padding-left: clamp(34px, 5vw, 70px);
      }

      .med-hero__doctor {
        right: -11%;
        height: 87%;
      }

      .med-hero__certifications {
        width: min(620px, calc(100% - 88px));
      }
    }

    @media (max-width: 760px) {
      .med-hero {
        padding: 12px 12px 0;
      }

      .med-hero__stage {
        min-height: 760px;
        border-radius: 26px;
      }

      .med-hero__background {
        background-position: 66% center;
      }

      .med-hero__background::after {
        background:
          linear-gradient(180deg, rgba(249, 253, 252, 0.98) 0%, rgba(249, 253, 252, 0.92) 42%, rgba(244, 251, 249, 0.35) 67%, rgba(230, 243, 240, 0.82) 100%),
          linear-gradient(90deg, rgba(249, 253, 252, 0.7), transparent 78%);
      }

      .med-hero__orbital {
        width: 650px;
        height: 650px;
        margin: auto -330px -340px auto;
      }

      .med-hero__doctor {
        right: -22%;
        bottom: 94px;
        height: 52%;
        max-width: 128%;
      }

      .med-hero__content {
        width: 100%;
        min-height: 0;
        justify-content: flex-start;
        padding: 54px 24px 360px;
      }

      .med-hero__title {
        max-width: 8.4ch;
        font-size: clamp(49px, 14.8vw, 68px);
      }

      .med-hero__actions {
        align-items: stretch;
        flex-direction: column;
        margin-top: 30px;
      }

      .med-hero__button {
        width: min(100%, 310px);
      }

      .med-hero__certifications {
        right: 14px;
        bottom: 14px;
        left: 14px;
        width: auto;
        border-radius: 17px;
      }

      .med-hero__certification {
        min-height: 68px;
        gap: 7px;
        padding: 10px 8px;
      }

      .med-hero__certification-mark {
        font-size: 20px;
      }

      .med-hero__certification-mark--ce {
        font-size: 28px;
      }

      .med-hero__certification-copy {
        font-size: 9px;
        letter-spacing: 0.03em;
      }
    }

    @media (max-width: 410px) {
      .med-hero__stage {
        min-height: 730px;
      }

      .med-hero__content {
        padding-inline: 20px;
      }

      .med-hero__doctor {
        right: -34%;
      }

      .med-hero__certification-copy {
        display: none;
      }
    }

    .med-products {
      min-height: 100vh;
      display: grid;
      place-items: center;
      padding: clamp(36px, 6vw, 96px) 24px;
    }

    .med-products__stage {
      --pointer-x: 78%;
      --pointer-y: 22%;
      position: relative;
      isolation: isolate;
      width: min(1440px, 100%);
      overflow: hidden;
      border: 1px solid rgba(255, 255, 255, 0.86);
      border-radius: var(--med-radius-lg);
      background: #eef8f6;
      box-shadow: var(--med-shadow);
    }

    .med-products__stage::before {
      position: absolute;
      z-index: 1;
      inset: 0;
      background:
        radial-gradient(
          420px circle at var(--pointer-x) var(--pointer-y),
          rgba(255, 255, 255, 0.72),
          transparent 68%
        ),
        linear-gradient(90deg, rgba(248, 253, 252, 0.84), rgba(248, 253, 252, 0.26) 68%);
      content: "";
      pointer-events: none;
      transition: background 180ms ease;
    }

    .med-products__backgrounds,
    .med-products__background {
      position: absolute;
      inset: 0;
    }

    .med-products__backgrounds {
      z-index: 0;
      background: none center / cover no-repeat;
    }

    .med-products__background {
      background-position: center;
      background-size: cover;
      opacity: 0;
      transform: scale(1.025);
      transition: opacity 560ms ease, transform 900ms cubic-bezier(0.22, 1, 0.36, 1);
      will-change: opacity, transform;
    }

    .med-products__background.is-active {
      opacity: 1;
      transform: scale(1);
    }

    .med-products__content {
      position: relative;
      z-index: 2;
      padding: clamp(34px, 4.5vw, 68px);
    }

    .med-products__header {
      display: flex;
      align-items: flex-end;
      justify-content: space-between;
      gap: 36px;
      margin-bottom: clamp(34px, 4vw, 58px);
    }

    .med-products__heading-group {
      max-width: 650px;
    }

    .med-products__eyebrow {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      margin: 0 0 16px;
      color: var(--med-teal);
      font-size: 12px;
      font-weight: 750;
      letter-spacing: 0.18em;
      text-transform: uppercase;
    }

    .med-products__eyebrow::before {
      width: 28px;
      height: 2px;
      border-radius: 999px;
      background: var(--med-teal-bright);
      content: "";
    }

    .med-products__title {
      max-width: 590px;
      margin: 0;
      font-size: clamp(40px, 5vw, 72px);
      font-weight: 600;
      letter-spacing: -0.05em;
      line-height: 0.98;
    }

    .med-products__intro {
      max-width: 570px;
      margin: 22px 0 0;
      color: var(--med-ink-soft);
      font-size: clamp(15px, 1.2vw, 18px);
      line-height: 1.7;
    }

    .med-products__all-link {
      display: inline-flex;
      flex: 0 0 auto;
      align-items: center;
      gap: 14px;
      min-height: 52px;
      padding: 0 22px;
      border: 1px solid rgba(11, 107, 99, 0.2);
      border-radius: 999px;
      color: var(--med-teal);
      background: rgba(255, 255, 255, 0.68);
      box-shadow: 0 8px 24px rgba(20, 86, 80, 0.07);
      font-size: 14px;
      font-weight: 700;
      text-decoration: none;
      backdrop-filter: blur(12px);
      transition: color 220ms ease, background 220ms ease, transform 220ms ease;
    }

    .med-products__all-link:hover,
    .med-products__all-link:focus-visible {
      color: #fff;
      background: var(--med-teal);
      transform: translateY(-2px);
    }

    .med-products__all-link svg {
      width: 18px;
      height: 18px;
      fill: none;
      stroke: currentColor;
      stroke-linecap: round;
      stroke-linejoin: round;
      stroke-width: 1.8;
    }

    .med-products__grid {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 14px;
    }

    .med-products__card {
      position: relative;
      min-width: 0;
      min-height: 282px;
      overflow: hidden;
      border: 1px solid rgba(255, 255, 255, 0.82);
      border-radius: var(--med-radius-md);
      background: rgba(255, 255, 255, 0.62);
      box-shadow: 0 10px 30px rgba(24, 73, 69, 0.06);
      backdrop-filter: blur(16px) saturate(118%);
      transition:
        border-color 280ms ease,
        background 280ms ease,
        box-shadow 280ms ease,
        transform 280ms cubic-bezier(0.22, 1, 0.36, 1);
    }

    .med-products__card::before {
      position: absolute;
      top: 0;
      right: 0;
      left: 0;
      height: 3px;
      border-radius: 999px;
      background: linear-gradient(90deg, var(--med-teal), #44b7aa);
      content: "";
      opacity: 0;
      transform: scaleX(0.35);
      transform-origin: left;
      transition: opacity 260ms ease, transform 380ms cubic-bezier(0.22, 1, 0.36, 1);
    }

    .med-products__card.is-active {
      border-color: rgba(116, 197, 188, 0.42);
      background: rgba(255, 255, 255, 0.88);
      box-shadow: 0 22px 50px rgba(20, 86, 80, 0.14);
      transform: translateY(-7px);
    }

    .med-products__card.is-active::before {
      opacity: 1;
      transform: scaleX(1);
    }

    .med-products__card-link {
      position: relative;
      z-index: 1;
      display: flex;
      min-height: 282px;
      flex-direction: column;
      padding: 27px;
      color: inherit;
      text-decoration: none;
    }

    .med-products__card-link:focus-visible {
      outline: 3px solid rgba(11, 107, 99, 0.45);
      outline-offset: -5px;
      border-radius: calc(var(--med-radius-md) - 2px);
    }

    .med-products__card-top {
      display: flex;
      align-items: flex-start;
      gap: 20px;
    }

    .med-products__icon-shell {
      display: grid;
      width: 66px;
      height: 66px;
      flex: 0 0 auto;
      place-items: center;
      border: 1px solid rgba(11, 107, 99, 0.1);
      border-radius: 18px;
      background: linear-gradient(145deg, #fff, #edf8f5);
      box-shadow: inset 0 1px 0 #fff, 0 8px 18px rgba(16, 72, 68, 0.07);
      transition: background 260ms ease, transform 300ms cubic-bezier(0.22, 1, 0.36, 1);
    }

    .med-products__card.is-active .med-products__icon-shell {
      background: linear-gradient(145deg, #e2f7f2, #fff);
      transform: rotate(-3deg) scale(1.05);
    }

    .med-products__icon {
      width: 42px;
      height: 42px;
      object-fit: contain;
    }

    .med-products__card-

    .med-products__card-title {
      margin: 0;
      font-size: clamp(19px, 1.6vw, 25px);
      font-weight: 650;
      letter-spacing: -0.025em;
      line-height: 1.15;
    }

    .med-products__card-copy {
      max-width: 330px;
      margin: 10px 0 0;
      color: var(--med-ink-soft);
      font-size: 13.5px;
      line-height: 1.62;
    }

    .med-products__arrow {
      position: absolute;
      top: 29px;
      right: 27px;
      display: grid;
      width: 38px;
      height: 38px;
      place-items: center;
      border: 1px solid rgba(11, 107, 99, 0.18);
      border-radius: 50%;
      color: var(--med-teal);
      background: rgba(255, 255, 255, 0.72);
      opacity: 0;
      transform: translate(-8px, 0);
      transition: opacity 240ms ease, transform 320ms cubic-bezier(0.22, 1, 0.36, 1);
    }

    .med-products__arrow svg {
      width: 17px;
      height: 17px;
      fill: none;
      stroke: currentColor;
      stroke-linecap: round;
      stroke-linejoin: round;
      stroke-width: 1.8;
    }

    .med-products__card.is-active .med-products__arrow {
      opacity: 1;
      transform: translate(0, 0);
    }

    .med-products__portfolio {
      display: flex;
      justify-content: center;
      margin: clamp(28px, 3vw, 42px) 0 0;
    }

    .med-products__portfolio-link {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 9px 3px;
      color: var(--med-ink-soft);
      font-size: 14px;
      line-height: 1.4;
      text-decoration: none;
      transition: color 220ms ease;
    }

    .med-products__portfolio-link strong {
      color: var(--med-teal);
      font-weight: 750;
      transition: color 220ms ease;
    }

    .med-products__portfolio-link svg {
      width: 16px;
      height: 16px;
      flex: 0 0 auto;
      fill: none;
      stroke: var(--med-teal);
      stroke-linecap: round;
      stroke-linejoin: round;
      stroke-width: 1.8;
      transition: stroke 220ms ease, transform 220ms ease;
    }

    .med-products__portfolio-link:hover,
    .med-products__portfolio-link:focus-visible,
    .med-products__portfolio-link:hover strong,
    .med-products__portfolio-link:focus-visible strong {
      color: #084f4a;
    }

    .med-products__portfolio-link:hover svg,
    .med-products__portfolio-link:focus-visible svg {
      stroke: #084f4a;
      transform: translate(2px, -2px);
    }

    .med-products__portfolio-link:focus-visible {
      border-radius: 6px;
      outline: 2px solid rgba(11, 107, 99, 0.35);
      outline-offset: 3px;
    }

    .med-products__sr-only {
      position: absolute;
      width: 1px;
      height: 1px;
      overflow: hidden;
      clip: rect(0 0 0 0);
      clip-path: inset(50%);
      white-space: nowrap;
    }

    @media (max-width: 980px) {
      .med-products__header {
        align-items: flex-start;
      }

      .med-products__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
      }

      .med-products__stage::before {
        background: rgba(248, 253, 252, 0.62);
      }
    }

    @media (max-width: 720px) {
      .med-products {
        padding: 18px 12px;
      }

      .med-products__stage {
        border-radius: 26px;
      }

      .med-products__content {
        padding: 32px 18px 20px;
      }

      .med-products__header {
        display: block;
        margin-bottom: 30px;
      }

      .med-products__title {
        font-size: clamp(40px, 13vw, 58px);
      }

      .med-products__all-link {
        margin-top: 24px;
      }

      .med-products__grid {
        grid-template-columns: 1fr;
      }

      .med-products__card,
      .med-products__card-link {
        min-height: 252px;
      }

      .med-products__portfolio-link {
        align-items: flex-start;
        text-align: center;
      }

      .med-products__background {
        background-position: 62% center;
      }
    }

    @media (prefers-reduced-motion: reduce) {
      

      
    }
    .customer-voices {
      position: relative;
      overflow: hidden;
      padding: clamp(72px, 9vw, 132px) 24px;
      background:
        radial-gradient(circle at 8% 12%, rgba(164, 224, 214, 0.26), transparent 28%),
        radial-gradient(circle at 92% 88%, rgba(190, 222, 238, 0.24), transparent 30%),
        #f5faf9;
    }

    .customer-voices::before {
      position: absolute;
      top: 8%;
      right: -110px;
      width: 380px;
      height: 380px;
      border: 1px solid rgba(11, 107, 99, 0.08);
      border-radius: 50%;
      content: "";
      pointer-events: none;
    }

    .customer-voices__container {
      position: relative;
      z-index: 1;
      width: min(1440px, 100%);
      margin: 0 auto;
    }

    .customer-voices__header {
      display: grid;
      grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.55fr);
      align-items: end;
      gap: clamp(36px, 7vw, 110px);
      margin-bottom: clamp(38px, 5vw, 64px);
    }

    .customer-voices__eyebrow {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      margin: 0 0 17px;
      color: var(--med-teal);
      font-size: 12px;
      font-weight: 750;
      letter-spacing: 0.18em;
      text-transform: uppercase;
    }

    .customer-voices__eyebrow::before {
      width: 28px;
      height: 2px;
      border-radius: 999px;
      background: var(--med-teal-bright);
      content: "";
    }

    .customer-voices__title {
      max-width: 760px;
      margin: 0;
      font-size: clamp(42px, 5.4vw, 76px);
      font-weight: 600;
      letter-spacing: -0.055em;
      line-height: 0.98;
    }

    .customer-voices__intro {
      max-width: 520px;
      margin: 0;
      color: var(--med-ink-soft);
      font-size: clamp(15px, 1.25vw, 18px);
      line-height: 1.75;
    }

    .customer-voices__stage {
      position: relative;
      isolation: isolate;
      overflow: hidden;
      border: 1px solid rgba(255, 255, 255, 0.9);
      border-radius: 34px;
      background: rgba(255, 255, 255, 0.76);
      box-shadow: 0 34px 90px rgba(20, 74, 70, 0.13);
      outline: none;
    }

    .customer-voices__stage:focus-visible {
      outline: 3px solid rgba(11, 107, 99, 0.35);
      outline-offset: 5px;
    }

    .customer-voices__slide {
      position: absolute;
      inset: 0;
      display: grid;
      min-height: 660px;
      grid-template-columns: minmax(380px, 0.88fr) minmax(0, 1.12fr);
      opacity: 0;
      visibility: hidden;
      transform: translateX(22px);
      transition:
        opacity 480ms ease,
        visibility 480ms ease,
        transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
    }

    .customer-voices__slide.is-active {
      position: relative;
      z-index: 1;
      opacity: 1;
      visibility: visible;
      transform: translateX(0);
    }

    .customer-voices__visual {
      position: relative;
      min-height: 660px;
      overflow: hidden;
      background: #dcebe8;
    }

    .customer-voices__visual::after {
      position: absolute;
      inset: 0;
      background:
        linear-gradient(180deg, transparent 50%, rgba(7, 38, 36, 0.54) 100%),
        linear-gradient(90deg, transparent 80%, rgba(247, 251, 250, 0.22));
      content: "";
      pointer-events: none;
    }

    .customer-voices__photo {
      width: 100%;
      height: 100%;
      min-height: 660px;
      display: block;
      object-fit: cover;
      object-position: var(--photo-position, center);
      transform: scale(1.035);
      transition: transform 1.2s cubic-bezier(0.22, 1, 0.36, 1);
    }

    .customer-voices__slide.is-active .customer-voices__photo {
      transform: scale(1);
    }

    .customer-voices__country {
      position: absolute;
      z-index: 2;
      right: 30px;
      bottom: 30px;
      display: inline-flex;
      align-items: center;
      gap: 10px;
      min-height: 46px;
      padding: 6px 15px 6px 7px;
      border: 1px solid rgba(255, 255, 255, 0.55);
      border-radius: 999px;
      color: #fff;
      background: rgba(13, 50, 47, 0.5);
      box-shadow: 0 10px 24px rgba(6, 35, 33, 0.16);
      font-size: 13px;
      font-weight: 700;
      backdrop-filter: blur(15px);
    }

    .customer-voices__flag {
      width: 32px;
      height: 32px;
      flex: 0 0 auto;
      filter: drop-shadow(0 4px 8px rgba(5, 32, 30, 0.2));
    }

    .customer-voices__content {
      position: relative;
      display: flex;
      min-width: 0;
      flex-direction: column;
      justify-content: center;
      padding: clamp(46px, 6vw, 86px) clamp(40px, 6vw, 88px) 132px;
      background:
        radial-gradient(circle at 88% 12%, rgba(182, 230, 221, 0.28), transparent 24%),
        rgba(255, 255, 255, 0.88);
    }

    .customer-voices__quote-mark {
      display: grid;
      width: 60px;
      height: 60px;
      margin-bottom: clamp(28px, 4vw, 48px);
      place-items: center;
      border: 1px solid rgba(11, 107, 99, 0.11);
      border-radius: 18px;
      color: var(--med-teal);
      background: linear-gradient(145deg, #e4f6f2, #fff);
      box-shadow: inset 0 1px 0 #fff, 0 12px 26px rgba(16, 72, 68, 0.07);
    }

    .customer-voices__quote-mark svg {
      width: 29px;
      height: 29px;
      fill: currentColor;
    }

    .customer-voices__quote {
      max-width: 760px;
      margin: 0;
      color: var(--med-ink);
      font-size: clamp(25px, 2.45vw, 39px);
      font-weight: 520;
      letter-spacing: -0.035em;
      line-height: 1.3;
    }

    .customer-voices__person {
      display: flex;
      align-items: center;
      gap: 14px;
      margin-top: clamp(34px, 5vw, 58px);
    }

    .customer-voices__person::before {
      width: 34px;
      height: 2px;
      flex: 0 0 auto;
      border-radius: 999px;
      background: var(--med-teal-bright);
      content: "";
    }

    .customer-voices__name {
      display: block;
      font-size: 15px;
      font-weight: 760;
    }

    .customer-voices__role {
      display: block;
      margin-top: 5px;
      color: var(--med-ink-soft);
      font-size: 13px;
    }

    .customer-voices__controls {
      position: absolute;
      z-index: 4;
      right: clamp(40px, 6vw, 88px);
      bottom: 45px;
      display: flex;
      align-items: center;
      gap: 10px;
    }

    .customer-voices__counter {
      min-width: 60px;
      margin-right: 8px;
      color: var(--med-ink-soft);
      font-size: 12px;
      font-weight: 750;
      letter-spacing: 0.12em;
    }

    .customer-voices__counter-current {
      color: var(--med-teal);
    }

    .customer-voices__control {
      display: grid;
      width: 46px;
      height: 46px;
      padding: 0;
      place-items: center;
      border: 1px solid rgba(11, 107, 99, 0.16);
      border-radius: 50%;
      color: var(--med-teal);
      background: rgba(255, 255, 255, 0.82);
      cursor: pointer;
      box-shadow: 0 8px 20px rgba(17, 75, 70, 0.07);
      transition: color 220ms ease, background 220ms ease, transform 220ms ease;
    }

    .customer-voices__control:hover,
    .customer-voices__control:focus-visible {
      color: #fff;
      background: var(--med-teal);
      transform: translateY(-2px);
    }

    .customer-voices__control:focus-visible {
      outline: 3px solid rgba(11, 107, 99, 0.3);
      outline-offset: 3px;
    }

    .customer-voices__control svg {
      width: 19px;
      height: 19px;
      fill: none;
      stroke: currentColor;
      stroke-linecap: round;
      stroke-linejoin: round;
      stroke-width: 1.8;
    }

    .customer-voices__dots {
      display: flex;
      justify-content: center;
      gap: 9px;
      margin-top: 26px;
    }

    .customer-voices__dot {
      width: 8px;
      height: 8px;
      padding: 0;
      border: 0;
      border-radius: 999px;
      background: rgba(11, 107, 99, 0.18);
      cursor: pointer;
      transition: width 260ms ease, background 260ms ease;
    }

    .customer-voices__dot.is-active {
      width: 34px;
      background: var(--med-teal);
    }

    .customer-voices__dot:focus-visible {
      outline: 3px solid rgba(11, 107, 99, 0.3);
      outline-offset: 4px;
    }

    .customer-voices__source {
      margin: 22px 0 0;
      color: #6a7f7d;
      font-size: 12px;
      line-height: 1.5;
      text-align: center;
    }

    .customer-voices__source a {
      color: var(--med-teal);
      text-underline-offset: 3px;
    }

    @media (max-width: 980px) {
      .customer-voices__header {
        grid-template-columns: 1fr;
        gap: 24px;
      }

      .customer-voices__slide {
        grid-template-columns: 1fr;
      }

      .customer-voices__visual,
      .customer-voices__photo {
        min-height: 520px;
        height: 520px;
      }

      .customer-voices__content {
        min-height: 520px;
      }
    }

    @media (max-width: 640px) {
      .customer-voices {
        padding: 72px 12px;
      }

      .customer-voices__title {
        font-size: clamp(42px, 13vw, 58px);
      }

      .customer-voices__stage {
        border-radius: 26px;
      }

      .customer-voices__visual,
      .customer-voices__photo {
        min-height: 390px;
        height: 390px;
      }

      .customer-voices__country {
        right: 18px;
        bottom: 18px;
      }

      .customer-voices__content {
        min-height: 530px;
        padding: 38px 22px 116px;
      }

      .customer-voices__quote-mark {
        width: 52px;
        height: 52px;
        margin-bottom: 28px;
      }

      .customer-voices__quote {
        font-size: clamp(23px, 7.2vw, 29px);
      }

      .customer-voices__controls {
        right: 22px;
        bottom: 30px;
      }

      .customer-voices__control {
        width: 43px;
        height: 43px;
      }
    }

    /* Hero v2: full-bleed layout and raster certification artwork. */
    .med-hero {
      position: relative;
      width: 100%;
      padding: 0;
      overflow: hidden;
      background: #f5f8f8;
    }

    .med-hero__stage {
      width: 100%;
      min-height: clamp(590px, 47vw, 760px);
      margin: 0;
      border: 0;
      border-radius: 0;
      background: #f6f8f8;
      box-shadow: none;
    }

    .med-hero__background {
      background-image: var(--med-hero-bg-image);
      background-position: 58% center;
      background-size: cover;
      filter: saturate(0.94) contrast(0.96) brightness(1.03);
      transform: scale(1.006);
    }

    .med-hero__background::after {
      background:
        linear-gradient(90deg, rgba(251, 252, 252, 0.98) 0%, rgba(251, 252, 252, 0.93) 35%, rgba(251, 252, 252, 0.42) 58%, rgba(248, 251, 251, 0.04) 82%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.04) 58%, rgba(238, 245, 244, 0.52) 100%);
    }

    .med-hero__doctor {
      z-index: 2;
      inset: 0;
      width: 100%;
      height: 100%;
      max-width: none;
      object-fit: cover;
      object-position: center;
      filter: drop-shadow(-22px 25px 36px rgba(13, 65, 74, 0.1));
      mix-blend-mode: normal;
    }

    .med-hero__content {
      z-index: 5;
      width: min(52%, 720px);
      padding: clamp(58px, 6vw, 92px) 0 154px clamp(38px, 6vw, 116px);
    }

    .med-hero__title {
      max-width: 650px;
      font-size: clamp(46px, 4.35vw, 70px);
      letter-spacing: -0.055em;
      line-height: 0.99;
    }

    .med-hero__actions {
      margin-top: clamp(30px, 3.2vw, 44px);
    }

    .med-hero__button {
      min-height: 56px;
      padding-inline: 24px;
    }

    .med-hero__wave {
      position: absolute;
      z-index: 3;
      right: -3%;
      bottom: -1px;
      left: -3%;
      height: clamp(122px, 10vw, 158px);
      background: linear-gradient(108deg, #075b56 0%, #0b756c 56%, #0b6b63 100%);
      clip-path: polygon(0 36%, 10% 28%, 20% 23%, 30% 22%, 40% 28%, 50% 39%, 60% 55%, 70% 67%, 80% 70%, 90% 64%, 100% 52%, 100% 100%, 0 100%);
      filter: drop-shadow(0 -10px 24px rgba(11, 107, 99, 0.08));
      pointer-events: none;
    }

    .med-hero__certifications {
      z-index: 4;
      bottom: clamp(14px, 1.4vw, 24px);
      left: clamp(30px, 5.4vw, 104px);
      width: min(650px, 54vw);
      overflow: visible;
      border: 0;
      border-radius: 0;
      background: transparent;
      box-shadow: none;
      backdrop-filter: none;
    }

    .med-hero__certification {
      display: grid;
      min-height: 76px;
      place-items: center;
      gap: 0;
      padding: 8px clamp(14px, 2vw, 28px);
      color: #fff;
    }

    .med-hero__certification + .med-hero__certification::before {
      top: 14px;
      bottom: 14px;
      background: rgba(255, 255, 255, 0.38);
    }

    .med-hero__certification-image {
      display: block;
      width: auto;
      max-width: 100%;
      max-height: 68px;
      object-fit: contain;
      filter: drop-shadow(0 4px 8px rgba(2, 46, 43, 0.1));
    }

    @media (max-width: 1080px) {
      .med-hero__content {
        width: 58%;
        padding-left: clamp(34px, 5vw, 62px);
      }

      .med-hero__title {
        font-size: clamp(44px, 5.2vw, 60px);
      }

      .med-hero__certifications {
        width: min(590px, 61vw);
      }
    }

    @media (max-width: 760px) {
      .med-hero {
        padding: 0;
      }

      .med-hero__stage {
        min-height: 720px;
        border-radius: 0;
      }

      .med-hero__background {
        background-position: 66% center;
      }

      .med-hero__background::after {
        background:
          linear-gradient(180deg, rgba(251, 252, 252, 0.99) 0%, rgba(251, 252, 252, 0.93) 44%, rgba(247, 251, 250, 0.34) 67%, rgba(235, 245, 243, 0.58) 100%),
          linear-gradient(90deg, rgba(251, 252, 252, 0.76), transparent 86%);
      }

      .med-hero__doctor {
        inset: auto -200px 66px auto;
        width: 1060px;
        height: auto;
        object-fit: contain;
      }

      .med-hero__content {
        width: 100%;
        min-height: 0;
        padding: 46px 22px 348px;
      }

      .med-hero__title {
        max-width: 9ch;
        font-size: clamp(40px, 12vw, 54px);
        letter-spacing: -0.05em;
      }

      .med-hero__actions {
        margin-top: 27px;
      }

      .med-hero__button {
        width: min(100%, 292px);
        min-height: 52px;
      }

      .med-hero__wave {
        right: -14%;
        left: -14%;
        height: 126px;
        clip-path: polygon(0 44%, 16% 31%, 34% 25%, 51% 32%, 68% 50%, 82% 64%, 100% 56%, 100% 100%, 0 100%);
      }

      .med-hero__certifications {
        right: 12px;
        bottom: 11px;
        left: 12px;
        width: auto;
      }

      .med-hero__certification {
        min-height: 60px;
        padding: 7px 12px;
      }

      .med-hero__certification-image {
        max-height: 48px;
      }
    }

    @media (max-width: 410px) {
      .med-hero__stage {
        min-height: 700px;
      }

      .med-hero__content {
        padding-inline: 18px;
      }

      .med-hero__doctor {
        right: -250px;
        width: 1020px;
      }

      .med-hero__certification {
        padding-inline: 8px;
      }

      .med-hero__certification-image {
        max-height: 40px;
      }
    }

    /* Hero v3: clean cutout, fluid Bezier wave, and balanced responsive scale. */
    .med-hero__stage {
      min-height: clamp(640px, 51vw, 800px);
    }

    .med-hero__doctor {
      inset: auto clamp(-70px, -3vw, -25px) -6% auto;
      width: auto;
      height: 113%;
      object-fit: contain;
      object-position: right bottom;
      filter: drop-shadow(-18px 22px 28px rgba(13, 65, 74, 0.1));
    }

    .med-hero__content {
      width: min(49%, 680px);
      padding-bottom: 215px;
    }

    .med-hero__title {
      max-width: 610px;
      font-size: clamp(40px, 3.7vw, 60px);
      line-height: 1.02;
      letter-spacing: -0.045em;
    }

    .med-hero__wave {
      position: absolute;
      z-index: 3;
      right: auto;
      bottom: -1px;
      left: -1%;
      display: block;
      width: 102%;
      height: clamp(185px, 14.5vw, 230px);
      overflow: visible;
      background: none;
      clip-path: none;
      filter: drop-shadow(0 -10px 24px rgba(11, 107, 99, 0.08));
      pointer-events: none;
    }

    .med-hero__certifications {
      bottom: clamp(18px, 1.6vw, 28px);
      width: min(660px, 55vw);
    }

    .med-hero__certification {
      min-height: 78px;
      padding: 7px clamp(13px, 1.8vw, 26px);
    }

    .med-hero__certification-image {
      max-height: 84px;
      image-rendering: auto;
    }

    @media (max-width: 1080px) {
      .med-hero__doctor {
        right: -112px;
        bottom: -5%;
        height: 111%;
      }

      .med-hero__content {
        width: 57%;
      }

      .med-hero__title {
        font-size: clamp(40px, 4.6vw, 52px);
      }

      .med-hero__certifications {
        width: min(590px, 62vw);
      }
    }

    @media (max-width: 760px) {
      .med-hero__stage {
        min-height: clamp(680px, 118vw, 730px);
      }

      .med-hero__content {
        width: 100%;
        padding: 42px 22px 300px;
      }

      .med-hero__title {
        max-width: 9.5ch;
        font-size: clamp(36px, 10.8vw, 46px);
        line-height: 1.03;
      }

      .med-hero__actions {
        width: min(100%, 292px);
        gap: 12px;
      }

      .med-hero__doctor {
        inset: 0 -180px 0 auto;
        width: calc(100% + 180px);
        height: 100%;
        object-fit: cover;
        object-position: center;
      }

      .med-hero__wave {
        left: -7%;
        width: 114%;
        height: 184px;
      }

      .med-hero__certifications {
        right: 10px;
        bottom: 8px;
        left: 10px;
        width: auto;
      }

      .med-hero__certification {
        min-height: 58px;
        padding: 5px 9px;
      }

      .med-hero__certification-image {
        max-height: 58px;
      }
    }

    @media (max-width: 410px) {
      .med-hero__stage {
        min-height: 690px;
      }

      .med-hero__content {
        padding: 38px 18px 295px;
      }

      .med-hero__title {
        font-size: clamp(34px, 10.6vw, 42px);
      }

      .med-hero__doctor {
        inset: 0 -130px 0 auto;
        width: calc(100% + 130px);
        height: 100%;
        object-position: center;
      }

      .med-hero__wave {
        left: -12%;
        width: 124%;
        height: 174px;
      }

      .med-hero__certification {
        padding-inline: 5px;
      }

      .med-hero__certification-image {
        max-height: 51px;
      }
    }

    /* Layer order: clinician crosses over the wave; copy and certifications stay readable. */
    .med-hero__wave {
      z-index: 3;
    }

    .med-hero__doctor {
      z-index: 4;
    }

    .med-hero__certifications {
      z-index: 5;
    }

    .med-hero__content {
      z-index: 6;
    }

    /* Hero v4: banner-matched native-alpha foreground with a calmer mobile crop. */
    .med-hero__doctor {
      inset: auto clamp(-80px, -3.8vw, -32px) clamp(-16px, -1vw, -4px) auto;
      width: min(91vw, 1460px);
      height: auto;
      max-width: none;
      object-fit: contain;
      object-position: right bottom;
    }

    @media (max-width: 1080px) {
      .med-hero__doctor {
        right: -76px;
        bottom: -6px;
        width: min(98vw, 1080px);
        height: auto;
      }
    }

    @media (max-width: 760px) {
      .med-hero__stage {
        min-height: clamp(640px, 94vw, 720px);
      }

      .med-hero__content {
        padding: 40px 22px 270px;
      }

      .med-hero__doctor {
        inset: auto -105px 76px auto;
        width: clamp(700px, 115vw, 880px);
        height: auto;
        object-fit: contain;
        object-position: right bottom;
      }

      .med-hero__wave {
        height: 176px;
      }
    }

    @media (max-width: 410px) {
      .med-hero__stage {
        min-height: 650px;
      }

      .med-hero__content {
        padding: 36px 18px 262px;
      }

      .med-hero__doctor {
        right: -105px;
        bottom: 78px;
        width: 700px;
      }

      .med-hero__wave {
        height: 170px;
      }
    }

    /* Hero v5: copy-led composition with a quieter right-side clinician. */
    .med-hero {
      padding: 0;
      background: #f4f8f7;
    }

    .med-hero__stage {
      width: 100%;
      min-height: clamp(610px, 44vw, 700px);
      border: 0;
      border-radius: 0;
      background: #f6f9f8;
      box-shadow: none;
    }

    .med-hero__stage::before {
      position: absolute;
      z-index: 1;
      top: 7%;
      right: -7%;
      width: 57%;
      height: 69%;
      border-radius: 50%;
      background: radial-gradient(circle, rgba(211, 237, 233, 0.5) 0%, rgba(236, 247, 245, 0.2) 48%, transparent 72%);
      content: "";
      pointer-events: none;
    }

    .med-hero__background {
      background-position: 58% center;
      filter: saturate(0.9) contrast(0.95) brightness(1.045);
      transform: none;
    }

    .med-hero__background::after {
      background:
        linear-gradient(90deg, rgba(252, 253, 253, 0.99) 0%, rgba(250, 252, 252, 0.96) 34%, rgba(249, 252, 251, 0.73) 51%, rgba(244, 250, 249, 0.13) 76%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.06) 54%, rgba(226, 241, 238, 0.54) 100%);
    }

    .med-hero__content {
      width: min(46%, 650px);
      padding: clamp(64px, 6vw, 92px) 0 clamp(198px, 15vw, 224px) clamp(44px, 6vw, 116px);
    }

    .med-hero__title {
      max-width: 610px;
      font-size: clamp(40px, 3.45vw, 56px);
      font-weight: 630;
      letter-spacing: -0.045em;
      line-height: 1.02;
    }

    .med-hero__actions {
      gap: 12px;
      margin-top: clamp(28px, 3vw, 38px);
    }

    .med-hero__button {
      min-height: 54px;
      padding-inline: 23px;
      background: rgba(255, 255, 255, 0.86);
    }

    .med-hero__button--primary {
      background: var(--med-teal);
    }

    .med-hero__doctor {
      z-index: 4;
      inset: auto clamp(-58px, -2.8vw, -22px) 66px auto;
      width: clamp(680px, 62vw, 960px);
      height: auto;
      max-width: none;
      object-fit: contain;
      object-position: right bottom;
      filter: drop-shadow(-14px 18px 24px rgba(12, 66, 62, 0.1));
      mix-blend-mode: normal;
    }

    .med-hero__wave {
      z-index: 3;
      left: -1%;
      width: 102%;
      height: clamp(176px, 13.5vw, 208px);
      filter: drop-shadow(0 -8px 20px rgba(11, 107, 99, 0.07));
    }

    .med-hero__certifications {
      z-index: 5;
      right: auto;
      bottom: clamp(14px, 1.25vw, 20px);
      left: clamp(44px, 6vw, 116px);
      width: min(570px, 45vw);
    }

    .med-hero__certification {
      min-height: 68px;
      padding: 5px clamp(12px, 1.5vw, 22px);
    }

    .med-hero__certification-image {
      max-height: 70px;
    }

    @media (min-width: 761px) and (max-width: 1080px) {
      .med-hero__stage {
        min-height: 620px;
      }

      .med-hero__content {
        width: 53%;
        padding-right: 0;
        padding-bottom: 196px;
        padding-left: clamp(34px, 5vw, 58px);
      }

      .med-hero__title {
        font-size: clamp(40px, 4.45vw, 48px);
      }

      .med-hero__doctor {
        right: -68px;
        bottom: 64px;
        width: clamp(650px, 69vw, 735px);
      }

      .med-hero__certifications {
        left: clamp(34px, 5vw, 58px);
        width: min(520px, 53vw);
      }
    }

    @media (max-width: 760px) {
      .med-hero__stage {
        min-height: clamp(640px, 160vw, 680px);
      }

      .med-hero__stage::before {
        top: 29%;
        right: -180px;
        width: 580px;
        height: 420px;
      }

      .med-hero__background {
        background-position: 69% center;
      }

      .med-hero__background::after {
        background:
          linear-gradient(180deg, rgba(252, 253, 253, 0.99) 0%, rgba(251, 253, 252, 0.96) 39%, rgba(245, 251, 249, 0.45) 64%, rgba(225, 240, 237, 0.68) 100%),
          linear-gradient(90deg, rgba(251, 253, 252, 0.78), transparent 88%);
      }

      .med-hero__content {
        width: 100%;
        padding: 36px 20px 268px;
      }

      .med-hero__title {
        max-width: 9.2ch;
        font-size: clamp(35px, 10.4vw, 44px);
        line-height: 1.03;
      }

      .med-hero__actions {
        width: min(100%, 276px);
        gap: 10px;
        margin-top: 22px;
      }

      .med-hero__button {
        width: 100%;
        min-height: 50px;
        padding-inline: 20px;
        font-size: 13.5px;
      }

      .med-hero__doctor {
        inset: auto -95px 72px auto;
        width: clamp(560px, 132vw, 690px);
        height: auto;
      }

      .med-hero__wave {
        left: -8%;
        width: 116%;
        height: 176px;
      }

      .med-hero__certifications {
        right: 10px;
        bottom: 7px;
        left: 10px;
        width: auto;
      }

      .med-hero__certification {
        min-height: 54px;
        padding: 4px 8px;
      }

      .med-hero__certification-image {
        max-height: 50px;
      }
    }

    @media (max-width: 410px) {
      .med-hero__stage {
        min-height: 650px;
      }

      .med-hero__content {
        padding: 34px 18px 258px;
      }

      .med-hero__doctor {
        right: -86px;
        bottom: 76px;
        width: 560px;
      }

      .med-hero__wave {
        height: 172px;
      }

      .med-hero__certification {
        padding-inline: 4px;
      }

      .med-hero__certification-image {
        max-height: 44px;
      }
    }

  


/* ==========================================================================
   Events & Congress — from events-congress-section prototype
   Global resets (*, body, img) from the prototype were dropped; the box-sizing
   and image rules below are scoped to the section instead. Photo cropping is
   driven by the --events-photo-position custom property set inline from PHP.
   ========================================================================== */
.events-congress {
  --events-ink: #102c2b;
  --events-ink-soft: #55706d;
  --events-teal: #0b6b63;
  --events-teal-bright: #159689;
  --events-mint: #d9f1ed;
  --events-surface: #ffffff;
  --events-line: rgba(23, 102, 94, 0.13);
  --events-shadow: 0 24px 70px rgba(20, 74, 70, 0.12);

  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(76px, 9vw, 132px) 24px;
  color: var(--events-ink);
  background:
    radial-gradient(circle at 4% 2%, rgba(163, 222, 213, 0.28), transparent 28%),
    radial-gradient(circle at 96% 90%, rgba(209, 237, 232, 0.54), transparent 26%),
    linear-gradient(180deg, #f8fcfb 0%, #edf6f4 100%);
}

.events-congress *,
.events-congress *::before,
.events-congress *::after {
  box-sizing: border-box;
}

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

.events-congress::before,
.events-congress::after {
  position: absolute;
  z-index: -1;
  border: 1px solid rgba(21, 150, 137, 0.09);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.events-congress::before {
  top: -330px;
  right: -210px;
  width: 670px;
  height: 670px;
  box-shadow:
    0 0 0 84px rgba(255, 255, 255, 0.18),
    0 0 0 85px rgba(21, 150, 137, 0.045);
}

.events-congress::after {
  bottom: -290px;
  left: -300px;
  width: 570px;
  height: 570px;
}

.events-congress__container {
  width: min(1280px, 100%);
  margin: 0 auto;
}

.events-congress__header {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.55fr);
  gap: clamp(36px, 7vw, 100px);
  align-items: end;
  margin-bottom: clamp(40px, 5vw, 66px);
}

.events-congress__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  margin: 0 0 17px;
  color: var(--events-teal);
  font-size: 12px;
  font-weight: 760;
  letter-spacing: 0.18em;
  line-height: 1.2;
  text-transform: uppercase;
}

.events-congress__eyebrow::before {
  width: 28px;
  height: 2px;
  border-radius: 999px;
  background: var(--events-teal-bright);
  content: "";
}

.events-congress__title {
  max-width: 780px;
  margin: 0;
  color: var(--events-ink);
  font-size: clamp(44px, 6vw, 78px);
  font-weight: 620;
  letter-spacing: -0.058em;
  line-height: 0.98;
  text-wrap: balance;
}

.events-congress__title-accent {
  color: var(--events-teal);
}

.events-congress__intro {
  max-width: 450px;
  margin: 0 0 5px;
  color: var(--events-ink-soft);
  font-size: clamp(15px, 1.25vw, 18px);
  line-height: 1.75;
}

.events-congress__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(20px, 2.5vw, 32px);
}

.events-congress__card {
  position: relative;
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.94);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 15px 44px rgba(20, 74, 70, 0.08);
  transition:
    transform 360ms cubic-bezier(0.2, 0.75, 0.25, 1),
    box-shadow 360ms ease,
    border-color 360ms ease;
}

.events-congress__card:hover {
  border-color: rgba(21, 150, 137, 0.23);
  box-shadow: var(--events-shadow);
  transform: translateY(-7px);
}

.events-congress__visual {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: #dcece9;
}

.events-congress__visual::after {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(8, 42, 40, 0.03) 38%, rgba(8, 42, 40, 0.34) 100%),
    linear-gradient(100deg, rgba(11, 107, 99, 0.06), transparent 45%);
  content: "";
  pointer-events: none;
}

.events-congress__photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--events-photo-position, center 50%);
  filter: saturate(0.94) contrast(0.96) brightness(1.02);
  transition: transform 700ms cubic-bezier(0.2, 0.75, 0.25, 1);
}

.events-congress__card:hover .events-congress__photo {
  transform: scale(1.045);
}

.events-congress__country {
  position: absolute;
  z-index: 2;
  top: 20px;
  left: 20px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  padding: 8px 13px;
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: 999px;
  color: #0b4d48;
  background: rgba(250, 254, 253, 0.88);
  box-shadow: 0 9px 28px rgba(8, 55, 51, 0.13);
  font-size: 12px;
  font-weight: 730;
  letter-spacing: 0.025em;
  line-height: 1;
  backdrop-filter: blur(12px);
}

.events-congress__country::before {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--events-teal-bright);
  box-shadow: 0 0 0 4px rgba(21, 150, 137, 0.13);
  content: "";
}

.events-congress__body {
  position: relative;
  padding: clamp(22px, 3vw, 32px);
}

.events-congress__body::before {
  position: absolute;
  top: 0;
  left: clamp(22px, 3vw, 32px);
  width: 44px;
  height: 3px;
  border-radius: 999px;
  background: var(--events-teal-bright);
  content: "";
  transform: translateY(-1px);
}

.events-congress__name {
  margin: 0 0 20px;
  color: var(--events-ink);
  font-size: clamp(24px, 2.2vw, 34px);
  font-weight: 650;
  letter-spacing: -0.035em;
  line-height: 1.08;
}

.events-congress__meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 24px;
  margin: 0;
}

.events-congress__meta-item {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 11px;
  align-items: center;
  min-width: 0;
  color: var(--events-ink-soft);
}

.events-congress__meta-icon {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 11px;
  color: var(--events-teal);
  background: rgba(217, 241, 237, 0.72);
}

.events-congress__meta-icon svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.events-congress__meta-copy {
  min-width: 0;
}

.events-congress__meta-label {
  display: block;
  margin-bottom: 3px;
  color: #76908d;
  font-size: 10px;
  font-weight: 740;
  letter-spacing: 0.11em;
  line-height: 1;
  text-transform: uppercase;
}

.events-congress__meta-value {
  display: block;
  color: var(--events-ink);
  font-size: 14px;
  font-weight: 590;
  line-height: 1.35;
}

@media (max-width: 920px) {
  .events-congress__header {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .events-congress__intro {
    max-width: 640px;
  }

  .events-congress__card {
    border-radius: 25px;
  }

  .events-congress__meta {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .events-congress {
    padding: 68px 16px 76px;
  }

  .events-congress__header {
    margin-bottom: 34px;
  }

  .events-congress__title {
    max-width: 420px;
    font-size: clamp(42px, 13vw, 58px);
  }

  .events-congress__grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .events-congress__card {
    border-radius: 22px;
  }

  .events-congress__visual {
    aspect-ratio: 4 / 3;
  }

  .events-congress__country {
    top: 14px;
    left: 14px;
  }

  .events-congress__body {
    padding: 23px 20px 24px;
  }

  .events-congress__body::before {
    left: 20px;
  }

  .events-congress__name {
    margin-bottom: 18px;
    font-size: 26px;
  }

  .events-congress__meta {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .events-congress__meta-item {
    grid-template-columns: 30px minmax(0, 1fr);
    gap: 8px;
  }

  .events-congress__meta-icon {
    width: 30px;
    height: 30px;
    border-radius: 9px;
  }

  .events-congress__meta-value {
    font-size: 12px;
  }
}

@media (max-width: 390px) {
  .events-congress__meta {
    grid-template-columns: 1fr;
  }
}

@media (hover: none) {
  .events-congress__card:hover {
    box-shadow: 0 15px 44px rgba(20, 74, 70, 0.08);
    transform: none;
  }

  .events-congress__card:hover .events-congress__photo {
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .events-congress__card,
  .events-congress__photo {
    transition: none;
  }
}

/* The global footer reserves a strip above itself for the wave SVG; the area
   above the curve is transparent, so it must be painted with the colour the
   last homepage section ends on (Events & Congress gradient end). */
body.home .site-footer {
  --footer-wave-backdrop: #edf6f4;
}
