/* Medion New Year gift certificates (2027.medion.uz).
   Design language of the new medion site: white first, Jost with light titles,
   squircle corners, red on one button per view. New Year lives in the hero
   (winter gradient, snow, the certificate) and in a few fine snowflakes. */

@font-face {
  font-family: Jost;
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(fonts/jost-cyrillic.woff2) format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: Jost;
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(fonts/jost-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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: Jost;
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(fonts/jost-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;
}

@font-face {
  font-family: "Great Vibes";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/greatvibes-cyrillic.woff2) format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Great Vibes";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/greatvibes-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 {
  --red: #9c1b0e;
  --red-hover: #86170c;
  --navy: #15203f;
  --ink: #10131a;
  --ink-2: #4f5665;
  --ink-3: #6b7280;
  --line: rgba(16, 19, 26, 0.09);
  --line-strong: rgba(16, 19, 26, 0.2);
  --pearl: #f6f7f9;
  --badge: #f1f2f5;
  --frost: #8fa3cf;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 64px;
  --r-badge: 9px;
  --r-btn: 14px;
  --r-card: 22px;
}
@supports (corner-shape: squircle) {
  :root {
    --r-badge: 13px;
    --r-btn: 20px;
    --r-card: 34px;
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font-family: Jost, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
h1,
h2,
h3 {
  margin: 0;
  text-wrap: balance;
}
p {
  margin: 0;
}
img,
svg {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
}
:focus-visible {
  outline: 2px solid var(--navy);
  outline-offset: 3px;
}
[id] {
  scroll-margin-top: calc(var(--header-h) + 16px);
}
.wrap {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}
.vh {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.skip {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  background: var(--ink);
  color: #fff;
  padding: 10px 16px;
  border-radius: var(--r-btn);
  text-decoration: none;
  transition: top 0.2s var(--ease);
}
.skip:focus-visible {
  top: 12px;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  cursor: pointer;
  font: inherit;
  font-weight: 500;
  font-size: 16px;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  border-radius: var(--r-btn);
  corner-shape: squircle;
  padding: 12px 22px;
  transition:
    transform 0.12s ease-out,
    background-color 0.2s,
    box-shadow 0.25s,
    color 0.2s;
}
.btn:active {
  transform: scale(0.97);
}
.btn[disabled] {
  opacity: 0.6;
  cursor: progress;
}
/* Main (red) button, as on the new medion site (polish.css there): Medion red with a
   light that travels round its edge and a soft red glow underneath. .btn-shine keeps the
   light moving all the time (hero, corporate); on the nine gift cards it moves on hover only,
   so the grid stays calm. */
@property --shine-angle {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}
.btn-primary {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: #fff;
  border: 2px solid transparent;
  background:
    linear-gradient(180deg, #b02214, var(--red)) padding-box,
    conic-gradient(
        from var(--shine-angle),
        var(--red) 0%,
        #ff9c8a 7%,
        #fff 12%,
        #ff9c8a 17%,
        var(--red) 26%,
        var(--red) 50%,
        #ff9c8a 57%,
        #fff 62%,
        #ff9c8a 67%,
        var(--red) 76%
      )
      border-box;
  box-shadow:
    0 10px 28px rgba(156, 27, 14, 0.38),
    0 2px 6px rgba(156, 27, 14, 0.25);
}
.btn-primary::after {
  /* a band of light crossing the face */
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, 0.28) 50%, transparent 65%);
  transform: translateX(-120%);
}
.btn-shine,
.btn-primary:focus-visible {
  animation: shine-spin 7s linear infinite;
}
.btn-shine::after,
.btn-primary:focus-visible::after {
  animation: shine-sweep 7s var(--ease) infinite;
}
.btn-primary:focus-visible {
  box-shadow:
    0 12px 36px rgba(156, 27, 14, 0.5),
    0 2px 8px rgba(156, 27, 14, 0.3);
}
@media (hover: hover) and (pointer: fine) {
  .btn-primary:hover {
    animation: shine-spin 3.5s linear infinite;
    box-shadow:
      0 12px 36px rgba(156, 27, 14, 0.5),
      0 2px 8px rgba(156, 27, 14, 0.3);
  }
  .btn-primary:hover::after {
    animation: shine-sweep 3.5s var(--ease) infinite;
  }
}
/* phones: a wide button makes the light travel further, so it goes slower; a gift
   card's button glows while the card is on screen (one card at a time there) */
@media (max-width: 640px) {
  .btn-shine,
  .gift.is-in .btn-primary {
    animation: shine-spin 9s linear infinite;
  }
  .btn-shine::after,
  .gift.is-in .btn-primary::after {
    animation: shine-sweep 9s var(--ease) infinite;
  }
}
.btn-primary[disabled],
.btn-primary[disabled]::after {
  animation: none;
}
@keyframes shine-spin {
  to {
    --shine-angle: 360deg;
  }
}
@keyframes shine-sweep {
  0%,
  55% {
    transform: translateX(-120%);
  }
  100% {
    transform: translateX(120%);
  }
}
.btn-ghost {
  background: transparent;
  color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--line-strong);
}
.btn-ghost:hover {
  background: rgba(16, 19, 26, 0.05);
}
.btn-lg {
  padding: 15px 30px;
  font-size: 17px;
}

/* ---------- header ---------- */
.hdr {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.88);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  backdrop-filter: saturate(1.4) blur(12px);
  box-shadow: 0 1px 0 var(--line);
}
.hdr-in {
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 14px;
}
.logo {
  flex: none;
}
.logo img {
  height: 34px;
  width: auto;
}
.hdr-tag {
  font-size: 14px;
  line-height: 1.2;
  color: var(--ink-2);
  padding-left: 14px;
  box-shadow: inset 1px 0 0 var(--line-strong);
}
.hdr-r {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 18px;
}
.lang {
  display: flex;
  gap: 2px;
  padding: 3px;
  background: var(--badge);
  border-radius: var(--r-badge);
  corner-shape: squircle;
}
.lang a {
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  color: var(--ink-2);
  padding: 5px 10px;
  border-radius: calc(var(--r-badge) - 3px);
  corner-shape: squircle;
}
.lang a[aria-current] {
  background: #fff;
  color: var(--ink);
  box-shadow: 0 1px 3px rgba(16, 19, 26, 0.12);
}
.hdr-phone {
  font-weight: 500;
  font-size: 17px;
  text-decoration: none;
  font-variant-numeric: tabular-nums;
}
@media (max-width: 640px) {
  .hdr-tag {
    display: none;
  }
  .hdr-r {
    gap: 12px;
  }
  .logo img {
    height: 30px;
  }
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 112px 0 36px;
  background: linear-gradient(180deg, #edf2fc 0%, #f5f7fc 50%, #fff 100%);
}
.mesh {
  position: absolute;
  inset: -20% -10% auto -10%;
  height: 130%;
  pointer-events: none;
  background:
    radial-gradient(38% 46% at 16% 26%, #dbe5f8 0%, rgba(219, 229, 248, 0) 70%),
    radial-gradient(36% 46% at 82% 20%, #fde3de 0%, rgba(253, 227, 222, 0) 70%),
    radial-gradient(46% 44% at 52% 84%, #f1eaf7 0%, rgba(241, 234, 247, 0) 72%);
  filter: blur(10px);
}
.snow {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.hero .wrap {
  position: relative;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 80px;
  align-items: center;
}
/* 30% smaller than before (was clamp(2.6rem, 5.8vw, 4.5rem)) */
.hero h1 {
  font-weight: 300;
  font-size: clamp(1.85rem, 4.1vw, 3.15rem);
  line-height: 1.12;
  letter-spacing: -0.015em;
  max-width: 11em;
  margin-bottom: 48px;
}
.hero h1 em {
  display: inline-block;
  font-family: "Great Vibes", cursive;
  font-style: normal;
  font-weight: 400;
  font-size: 1.18em;
  letter-spacing: 0;
  line-height: 1;
  color: var(--red);
}
.hero-acts {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* first screen arrives in a short sequence: title, the highlighted word, the
   certificate with its envelope, the buttons, the fine print */
.hero h1 {
  animation: hero-rise 1100ms var(--ease) 80ms backwards;
}
.hero h1 em {
  animation: em-in 1300ms var(--ease) 420ms backwards;
}
.hero-art {
  animation: art-in 1400ms var(--ease) 200ms backwards;
}
.env {
  animation: env-in 1500ms var(--ease) 480ms backwards;
}
.hero-acts {
  animation: hero-rise 1100ms var(--ease) 380ms backwards;
}
.hero-note {
  animation: fade-in 1400ms var(--ease) 800ms backwards;
}
@keyframes hero-rise {
  from {
    opacity: 0;
    transform: translateY(36px);
  }
}
@keyframes em-in {
  from {
    opacity: 0;
    transform: translateY(20px) rotate(-4deg);
  }
}
@keyframes art-in {
  from {
    opacity: 0;
    transform: translateY(60px) scale(0.94) rotate(3deg);
  }
}
@keyframes env-in {
  from {
    opacity: 0;
    transform: rotate(-2deg) translate(-6%, 6%);
  }
}
@keyframes fade-in {
  from {
    opacity: 0;
  }
}
/* fine print, bottom right of the first screen */
.hero-note {
  max-width: 31em;
  margin: 88px 0 0 auto;
  font-size: 11.5px;
  line-height: 1.55;
  text-align: right;
  color: var(--ink-3);
}

/* the certificate, drawn in code */
.hero-art {
  position: relative;
  width: 100%;
  aspect-ratio: 1.22;
}
.env {
  position: absolute;
  left: 13%;
  top: 25%;
  width: 80%;
  aspect-ratio: 1.55;
  overflow: hidden;
  border-radius: var(--r-card);
  corner-shape: squircle;
  background: linear-gradient(165deg, #fbf8f3, #ece2d4);
  box-shadow:
    0 30px 60px rgba(16, 19, 26, 0.12),
    inset 0 0 0 1px rgba(16, 19, 26, 0.05);
  transform: rotate(6deg);
}
.env::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 60%;
  background: linear-gradient(180deg, #f4ede3, #e5d9c8);
  clip-path: polygon(0 0, 100% 0, 50% 100%);
}
.cert {
  position: absolute;
  left: 2%;
  top: 5%;
  width: 84%;
  aspect-ratio: 1.6;
  container-type: inline-size;
  overflow: hidden;
  color: #fff;
  border-radius: var(--r-card);
  corner-shape: squircle;
  background: radial-gradient(130% 110% at 0% 0%, #b52b1b 0%, #9c1b0e 48%, #78130a 100%);
  box-shadow:
    0 34px 70px rgba(122, 19, 9, 0.26),
    inset 0 0 0 1px rgba(255, 255, 255, 0.07);
  transform: rotate(-4deg);
  animation: float 7s ease-in-out infinite;
}
@keyframes float {
  50% {
    transform: rotate(-4deg) translateY(-8px);
  }
}
.cert-in {
  position: absolute;
  inset: 0;
  padding: 6.5cqw 7cqw;
}
.cert-top {
  display: flex;
  align-items: center;
  gap: 2.2cqw;
}
.cert-top img {
  width: 6.4cqw;
  height: auto;
}
.cert-brand {
  font-size: 4.6cqw;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1;
}
/* only the gift's name, low on the card */
.cert-title {
  position: absolute;
  left: 7cqw;
  bottom: 8cqw;
  max-width: 60cqw;
  font-size: 7.4cqw;
  font-weight: 500;
  line-height: 1.06;
  letter-spacing: -0.012em;
}
.cert-rib {
  position: absolute;
  top: 0;
  bottom: 0;
  right: 16cqw;
  width: 8cqw;
  background: linear-gradient(90deg, #17204a, #2b3876 45%, #1c2655);
  box-shadow: 0 0 2cqw rgba(0, 0, 0, 0.18);
}
.cert-bow {
  position: absolute;
  top: -1cqw;
  right: 10cqw;
  width: 20cqw;
  filter: drop-shadow(0 1cqw 1.2cqw rgba(0, 0, 0, 0.25));
}
.cert-year {
  position: absolute;
  right: 3.2cqw;
  bottom: 5cqw;
  font-size: 9cqw;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.02em;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  color: rgba(255, 255, 255, 0.16);
}
.cert-flake {
  position: absolute;
  color: rgba(255, 255, 255, 0.32);
}

@media (max-width: 900px) {
  .hero {
    padding: 56px 0 28px;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  /* title, then the certificate, then the buttons */
  .hero-text {
    display: contents;
  }
  .hero h1 {
    order: 1;
    margin-bottom: 0;
  }
  .hero-art {
    order: 2;
  }
  .hero-acts {
    order: 3;
    animation-delay: 620ms;
  }
  .hero-art {
    max-width: 500px;
    margin: 0 auto;
  }
  .hero-note {
    margin-top: 48px;
  }
}
@media (max-width: 640px) {
  .hero-acts {
    flex-direction: column;
  }
  .hero-acts .btn {
    width: 100%;
  }
}

/* ---------- sections ---------- */
.section {
  padding: 72px 0;
}
.section-head {
  margin-bottom: 24px;
}
.section-head h2 {
  font-weight: 400;
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  letter-spacing: -0.015em;
  line-height: 1.12;
}
.orn {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 132px;
  margin-top: 14px;
  color: var(--frost);
}
.orn::before,
.orn::after {
  content: "";
  flex: 1;
  height: 1px;
  background: currentColor;
  opacity: 0.45;
}
.orn svg {
  width: 14px;
  height: 14px;
}
.sec-pearl {
  background: var(--pearl);
}
.panel {
  background: #fff;
  border-radius: var(--r-card);
  corner-shape: squircle;
  box-shadow: 0 0 0 1px var(--line);
  padding: 28px;
}
@media (max-width: 640px) {
  .section {
    padding: 52px 0;
  }
  .panel {
    padding: 22px;
  }
}

/* ---------- tabs ---------- */
.chips {
  position: relative;
  display: flex;
  gap: 8px;
  flex-wrap: nowrap;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  margin-bottom: 24px;
  padding: 4px 0;
}
.chips::-webkit-scrollbar {
  display: none;
}
@media (max-width: 640px) {
  /* the row runs to the screen's edges and fades out on the right, so it reads as swipeable */
  .chips {
    margin: 0 -24px 22px;
    padding: 4px 24px;
    scroll-padding: 0 24px;
    -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 48px), transparent);
    mask-image: linear-gradient(90deg, #000 calc(100% - 48px), transparent);
  }
  .chips[data-end] {
    -webkit-mask-image: none;
    mask-image: none;
  }
}
.chip {
  flex: none;
  white-space: nowrap;
  display: inline-block;
  background: var(--badge);
  color: #3d4350;
  font-size: 15.5px;
  font-weight: 500;
  text-decoration: none;
  border-radius: var(--r-badge);
  corner-shape: squircle;
  padding: 9px 15px;
  transition:
    background-color 0.2s,
    color 0.2s;
}
.chip:hover {
  background: #e8eaee;
  color: var(--ink);
}
.chip[aria-current] {
  background: var(--ink);
  color: #fff;
}

/* ---------- gift cards ---------- */
.gifts {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.gift[hidden] {
  display: none;
}
.gift.show {
  animation: pop 800ms var(--ease) both;
}
@keyframes pop {
  from {
    opacity: 0;
    transform: translateY(28px) scale(0.97);
  }
}
/* Each card is a small gift: a tinted face with a ribbon and a bow (like the hero
   certificate) holding who it suits, the name and the promise; below, what is inside,
   the price with the saving against the price list, and the two actions. */
.gift-card {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: #fff;
  border-radius: var(--r-card);
  corner-shape: squircle;
  box-shadow: 0 0 0 1px var(--line);
  padding: 8px 8px 22px;
  transition:
    transform 0.35s var(--ease),
    box-shadow 0.35s;
}
@media (hover: hover) {
  .gift-card:hover {
    transform: translateY(-3px);
    box-shadow:
      0 0 0 1px var(--line),
      0 22px 44px rgba(16, 19, 26, 0.08);
  }
}
.gift-top {
  position: relative;
  overflow: hidden;
  min-height: 168px;
  padding: 20px 76px 22px 20px;
  border-radius: calc(var(--r-card) - 6px);
  corner-shape: squircle;
  background: var(--tint);
}
.tint-sky {
  --tint: linear-gradient(160deg, #f1f5fd, #e2eaf9);
}
.tint-rose {
  --tint: linear-gradient(160deg, #fdf4f2, #f9e4df);
}
.tint-lilac {
  --tint: linear-gradient(160deg, #f8f3fb, #ece3f4);
}
.gift-rib {
  position: absolute;
  top: 0;
  bottom: 0;
  right: 32px;
  width: 10px;
  background: linear-gradient(90deg, #17204a, #2b3876 45%, #1c2655);
  opacity: 0.92;
}
.gift-bow {
  position: absolute;
  top: 6px;
  right: 12px;
  width: 50px;
  filter: drop-shadow(0 3px 4px rgba(16, 19, 26, 0.18));
}
.gift-for {
  list-style: none;
  margin: 0 0 14px;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.gift-for li {
  font-size: 13px;
  line-height: 1.3;
  color: var(--ink-2);
  background: rgba(255, 255, 255, 0.72);
  border-radius: 999px;
  padding: 3px 10px;
}
.gift-title {
  font-size: 22px;
  font-weight: 500;
  line-height: 1.18;
  letter-spacing: -0.012em;
  overflow-wrap: anywhere;
}
.gift-sub {
  margin-top: 8px;
  font-size: 15.5px;
  line-height: 1.4;
  color: var(--ink-2);
}
.gift-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 20px 16px 0;
}
.gift-inside {
  font-size: 14px;
  color: var(--ink-3);
  margin-bottom: 10px;
}
.gift-items {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
  font-size: 15.5px;
  line-height: 1.4;
}
.gift-items li {
  position: relative;
  padding-left: 24px;
}
.gift-items li::before {
  /* a small check */
  content: "";
  position: absolute;
  left: 4px;
  top: 0.28em;
  width: 6px;
  height: 11px;
  border: solid #5b73b8;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.gift-foot {
  margin-top: auto;
  padding-top: 22px;
}
.gp-tag {
  padding-top: 18px;
  box-shadow: inset 0 1px 0 var(--line);
}
.gp-lead {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 10px;
  margin-top: 8px;
}
.gp-big {
  font-size: 24px;
  font-weight: 500;
  letter-spacing: -0.01em;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.gp-save {
  display: inline-block;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.3;
  white-space: nowrap;
  color: #8a1a0f;
  background: #fdeeeb;
  border-radius: 999px;
  padding: 3px 9px;
}
.gp-was {
  font-size: 15px;
  color: var(--ink-3);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.gp-where {
  margin-top: 6px;
  font-size: 15px;
  color: var(--ink-2);
}
.gift-prices {
  margin: 12px 0 0;
  display: grid;
  gap: 8px;
}
.gp-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}
.gp-row dt {
  font-size: 15px;
  color: var(--ink-2);
  min-width: 0;
}
.gp-row dd {
  margin: 0;
  display: flex;
  align-items: baseline;
  gap: 8px;
  white-space: nowrap;
}
.gp-price {
  font-size: 15.5px;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}
.gp-row .gp-was {
  font-size: 13px;
}
.gift-acts {
  display: grid;
  gap: 8px;
  margin-top: 20px;
}
.gift-acts .btn {
  width: 100%;
  min-height: 48px;
}

/* conditions next to the choice: all from the certificate's rules */
.assure {
  list-style: none;
  margin: -6px 0 28px;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 26px;
  font-size: 15px;
  color: var(--ink-2);
}
.assure li {
  position: relative;
  padding-left: 22px;
}
.assure li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 0.25em;
  width: 5px;
  height: 10px;
  border: solid #5b73b8;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
@media (max-width: 980px) {
  .gifts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 640px) {
  .gifts {
    grid-template-columns: 1fr;
  }
}

/* ---------- steps ---------- */
.steps-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.steps h2 {
  font-weight: 400;
  font-size: clamp(1.4rem, 2.4vw, 1.8rem);
  letter-spacing: -0.01em;
  margin-bottom: 22px;
}
.steps ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 18px;
}
.steps li {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}
.steps .n {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 16px;
  font-weight: 500;
  box-shadow: inset 0 0 0 1px var(--line-strong);
}
.steps li p {
  padding-top: 5px;
  color: var(--ink-2);
}
@media (max-width: 820px) {
  .steps-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- corporate ---------- */
.corp {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px 32px;
  padding: 34px 38px;
  color: #fff;
  background: var(--navy);
  border-radius: var(--r-card);
  corner-shape: squircle;
}
.corp > div {
  position: relative;
  max-width: 40em;
}
.corp h2 {
  font-weight: 400;
  font-size: clamp(1.4rem, 2.6vw, 1.9rem);
  letter-spacing: -0.01em;
}
.corp p {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.78);
}
.corp .btn {
  position: relative;
}
.corp-flake {
  position: absolute;
  right: -36px;
  top: -48px;
  width: 220px;
  height: 220px;
  color: rgba(255, 255, 255, 0.06);
}
@media (max-width: 640px) {
  .corp {
    padding: 26px 22px;
  }
}

/* ---------- faq ---------- */
.faq {
  max-width: 880px;
  display: grid;
  gap: 10px;
}
.faq details {
  background: #fff;
  border-radius: var(--r-btn);
  corner-shape: squircle;
  box-shadow: 0 0 0 1px var(--line);
}
.faq summary {
  position: relative;
  cursor: pointer;
  list-style: none;
  padding: 18px 54px 18px 22px;
  font-weight: 500;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: "";
  position: absolute;
  right: 24px;
  top: 50%;
  width: 8px;
  height: 8px;
  border-right: 1.6px solid currentColor;
  border-bottom: 1.6px solid currentColor;
  transform: translateY(-70%) rotate(45deg);
  transition: transform 0.25s var(--ease);
}
.faq details[open] summary::after {
  transform: translateY(-25%) rotate(225deg);
}
.faq details p {
  padding: 0 22px 20px;
  color: var(--ink-2);
}

/* ---------- clinics ---------- */
.sec-note {
  margin: -6px 0 24px;
  color: var(--ink-2);
}
.sec-note a {
  color: var(--ink);
  font-weight: 500;
}
.clinics {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
@media (max-width: 900px) {
  .clinics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 600px) {
  .clinics {
    grid-template-columns: 1fr;
  }
}
.clinic {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
  padding: 22px;
}
.clinic h3 {
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 4px;
}
.clinic p {
  font-size: 15.5px;
  color: var(--ink-2);
  overflow-wrap: anywhere;
}
.clinic .tel a {
  color: var(--ink);
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.clinic .tg a {
  text-decoration-color: var(--line-strong);
  text-underline-offset: 3px;
}
.clinic .map {
  margin-top: auto;
  padding-top: 8px;
  font-size: 15px;
  font-weight: 500;
  text-decoration-color: var(--line-strong);
  text-underline-offset: 3px;
}

/* ---------- footer ---------- */
.ftr {
  background: var(--pearl);
  padding: 36px 0 44px;
}
.ftr p {
  max-width: 72em;
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--ink-3);
}
.ftr-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin-top: 16px;
  font-size: 14px;
  color: var(--ink-2);
}
.ftr-meta a {
  text-underline-offset: 3px;
}

/* ---------- call-back dialog ---------- */
.dlg {
  width: min(460px, calc(100% - 32px));
  max-height: calc(100dvh - 32px);
  padding: 0;
  border: 0;
  color: var(--ink);
  border-radius: var(--r-card);
  corner-shape: squircle;
  box-shadow: 0 40px 100px rgba(16, 19, 26, 0.25);
}
.dlg::backdrop {
  background: rgba(16, 19, 26, 0.42);
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
}
.dlg[open] {
  animation: dlg-in 0.28s var(--ease);
}
@keyframes dlg-in {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.98);
  }
}
.dlg-in {
  padding: 28px 26px 24px;
}
.dlg h2 {
  font-weight: 400;
  font-size: 1.6rem;
  line-height: 1.15;
  letter-spacing: -0.01em;
}
.dlg-what {
  margin: 6px 0 20px;
  color: var(--ink-2);
}
.dlg-acts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 6px;
}
.dlg [hidden] {
  display: none !important;
}
.field {
  display: grid;
  gap: 6px;
  margin-bottom: 14px;
}
.field label {
  font-size: 15px;
  color: var(--ink-2);
}
.corp-only {
  display: none;
}
.dlg[data-kind="corp"] .corp-only {
  display: grid;
}
.input,
.select {
  width: 100%;
  font: inherit;
  font-size: 17px;
  color: var(--ink);
  background-color: #fff;
  border: 0;
  border-radius: var(--r-btn);
  corner-shape: squircle;
  padding: 13px 14px;
  box-shadow: inset 0 0 0 1px var(--line-strong);
  transition: box-shadow 0.2s;
}
.select {
  -webkit-appearance: none;
  appearance: none;
  padding-right: 40px;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--ink-2) 50%),
    linear-gradient(135deg, var(--ink-2) 50%, transparent 50%);
  background-position:
    calc(100% - 22px) 54%,
    calc(100% - 16px) 54%;
  background-size: 6px 6px;
  background-repeat: no-repeat;
}
.input:focus-visible,
.select:focus-visible {
  outline: none;
  box-shadow: inset 0 0 0 2px var(--navy);
}
.input[aria-invalid="true"] {
  box-shadow: inset 0 0 0 2px var(--red);
}
.field-error,
.form-error {
  color: var(--red);
  font-size: 15px;
}
.form-error {
  margin: 2px 0 12px;
}
.form-error a {
  font-weight: 500;
}
.form-note {
  margin: 4px 0 16px;
  font-size: 14px;
  line-height: 1.45;
  color: var(--ink-3);
}
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.dlg-done p {
  margin: 10px 0 22px;
  color: var(--ink-2);
}

/* ---------- scroll appearance (as on the new medion site) ----------
   site.js holds a block (rv-hold) only while it is below the screen when the page
   opens; rv-go plays a short rise as it arrives, neighbours one after another. */
.rv-hold {
  opacity: 0 !important;
}
.rv-go {
  animation: rv-rise 1000ms var(--ease) backwards;
  animation-delay: var(--rv-delay, 0ms);
}
@keyframes rv-rise {
  from {
    opacity: 0;
    transform: translateY(48px) scale(0.97);
  }
}
@keyframes rv-fade {
  from {
    opacity: 0;
  }
}
@media print {
  .rv-hold {
    opacity: 1 !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
  /* no movement, only a short fade as a block arrives */
  .rv-go {
    animation: rv-fade 400ms ease backwards !important;
  }
}
