/**
 * AmigoCare v2 landing — paid model (199 грн, бронювання слота).
 * Стилі перенесені 1:1 з docs/amigocare-landing-v2/prototype-template.html.
 * Активний лише за прев'ю-гейтом AMG-CARE-V2-GATE у page-amigocare.php.
 *
 * Шрифт: прототип віддавав Manrope як data-URI. На сайті OMGF тримає локальні
 * woff2 у uploads/omgf/omgf-stylesheet-152/, але на /amigocare/ вони НЕ
 * підключені (маршрут віддає Nunito+Caveat), тому оголошуємо фейси тут.
 */

@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url('//amigovet.net/wp-content/uploads/omgf/omgf-stylesheet-152/manrope-normal-cyrillic-ext.woff2') format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}

@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url('//amigovet.net/wp-content/uploads/omgf/omgf-stylesheet-152/manrope-normal-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url('//amigovet.net/wp-content/uploads/omgf/omgf-stylesheet-152/manrope-normal-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;
}

@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url('//amigovet.net/wp-content/uploads/omgf/omgf-stylesheet-152/manrope-normal-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 {
    --halat: #ffffff;
    --ice: #EDF4FB;
    --likar: #1C49C2;
    --likar-deep: #2661cf;
    --zapys: #002956;
    --blank: #DBEBF9;
    --chornylo: #121212;
    --prytyshene: #4d4d4d;
    --tyha: #757575;
    --liniya: #ededed;
  }
  * { box-sizing: border-box; }
  html { scroll-behavior: smooth; }
  @media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
  body {
    margin: 0; background: var(--halat); color: var(--chornylo);
    font: 400 16px/1.6 'Manrope', system-ui, sans-serif;
    -webkit-font-smoothing: antialiased;
  }
  img { max-width: 100%; display: block; }
  main { overflow-x: clip; }
  .wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
  section { padding: clamp(56px, 9vw, 104px) 0; }
  .sec-ice { background: var(--ice); }

  .eyebrow {
    font-size: 12px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase;
    color: var(--likar); margin: 0 0 12px;
  }
  h1 {
    margin: 0 0 16px; color: var(--zapys); font-weight: 800;
    font-size: clamp(30px, 5vw, 46px); line-height: 1.12; letter-spacing: -.02em; text-wrap: balance;
  }
  h2 {
    margin: 0 0 10px; color: var(--chornylo); font-weight: 800;
    font-size: clamp(24px, 3.4vw, 32px); line-height: 1.18; letter-spacing: -.015em; text-wrap: balance;
  }
  .btn {
    display: inline-flex; align-items: center; justify-content: center;
    border-radius: 8px; border: 0; cursor: pointer; text-decoration: none;
    font: 700 16px/1 'Manrope', sans-serif; padding: 13px 24px;
    background: var(--likar); color: #fff; transition: background .15s ease;
  }
  .btn:hover { background: var(--likar-deep); }
  .btn:focus-visible { outline: 3px solid var(--blank); outline-offset: 2px; }
  .btn--invert { background: #fff; color: var(--likar); }
  .btn--invert:hover { background: var(--blank); }

  /* header */
  .site-head { background: var(--halat); border-bottom: 1px solid var(--liniya); }
  .site-head .wrap { display: flex; align-items: center; justify-content: space-between; padding-top: 14px; padding-bottom: 14px; }
  .site-head svg { height: 30px; width: auto; display: block; }
  .site-head a.back { color: var(--likar); font-weight: 700; font-size: 15px; text-decoration: none; }
  .site-head a.back:hover { text-decoration: underline; }

  /* hero */
  .hero { padding-top: clamp(40px, 6vw, 72px); }
  .hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
  .hero-sub { color: var(--prytyshene); margin: 0 0 26px; max-width: 520px; font-size: 17px; }
  .price-row { display: flex; align-items: flex-start; gap: 18px; margin: 0 0 26px; }
  .price-num { font-size: clamp(40px, 5vw, 52px); font-weight: 800; color: var(--zapys); letter-spacing: -.02em; line-height: 1; white-space: nowrap; font-variant-numeric: tabular-nums; }
  .price-note { color: var(--prytyshene); font-size: 14.5px; line-height: 1.5; max-width: 330px; border-left: 3px solid var(--blank); padding-left: 14px; }

  /* hero certificate voucher */
  .hero-visual { position: relative; padding: 36px 0; }
  .hero-visual::before {
    content: ""; position: absolute; inset: 0 -6%; border-radius: 8px;
    background: var(--blank); z-index: 0;
  }
  .cert-card {
    position: relative; z-index: 1; max-width: 380px; margin: 0 auto;
    background: #fff; border: 1.5px solid var(--likar); border-radius: 8px;
    padding: 30px 32px 24px;
  }
  .cert-card::before, .cert-card::after {
    content: ""; position: absolute; top: 50%; width: 26px; height: 26px; border-radius: 50%;
    background: var(--blank); border: 1.5px solid var(--likar); transform: translateY(-50%);
  }
  .cert-card::before { left: -14px; clip-path: inset(0 0 0 50%); border-left: 0; }
  .cert-card::after { right: -14px; clip-path: inset(0 50% 0 0); border-right: 0; }
  .cert-head { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--likar); }
  .cert-sum { font-size: clamp(44px, 6vw, 58px); font-weight: 800; color: var(--zapys); letter-spacing: -.02em; line-height: 1.1; margin: 6px 0 4px; font-variant-numeric: tabular-nums; }
  .cert-terms { margin: 0 0 18px; color: var(--prytyshene); font-size: 15px; max-width: 260px; }
  .cert-sep { border-top: 2px dashed var(--blank); margin: 0 -8px 14px; }
  .cert-meta { display: flex; justify-content: space-between; font-size: 12.5px; font-weight: 700; color: var(--prytyshene); letter-spacing: .04em; text-transform: uppercase; }


  /* slots */
  .slots-panel { background: #fff; border: 1px solid var(--liniya); border-radius: 8px; padding: clamp(20px, 3vw, 32px); }
  .days { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin: 0 0 18px; }
  .day {
    border: 1.5px solid var(--liniya); border-radius: 8px; padding: 12px 8px; text-align: center;
    background: #fff; cursor: pointer;
    /* .day — <button>, а кнопки не успадковують шрифт сторінки: без цього рядка
       дні пікера рендерились системним шрифтом посеред Manrope. */
    font-family: inherit;
  }
  .day span { display: block; }
  .day .dn { font-size: 11.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--tyha); }
  .day .dd { font-size: 19px; font-weight: 800; color: var(--zapys); margin: 3px 0; font-variant-numeric: tabular-nums; }
  .day .df { font-size: 12.5px; color: var(--likar); font-weight: 600; }
  .day.sel { border-color: var(--likar); background: var(--ice); }
  .day.full { opacity: .6; cursor: default; }
  .day.full .df { color: var(--tyha); }
  .times { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 22px; }
  .t-chip {
    border: 1.5px solid var(--liniya); border-radius: 8px; padding: 9px 18px;
    font: 600 15px/1 'Manrope', sans-serif; color: var(--chornylo); background: #fff; cursor: pointer;
    font-variant-numeric: tabular-nums;
  }
  .t-chip.sel { background: var(--likar); border-color: var(--likar); color: #fff; }
  .t-chip.busy { opacity: .45; cursor: default; }
  .slots-foot { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
  .slots-foot .hint { color: var(--prytyshene); font-size: 13.5px; }

  /* reasons */
  .reasons { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
  .reason { border: 1px solid var(--liniya); border-radius: 8px; padding: 18px; background: #fff; }
  .sec-ice .reason { background: #fff; }
  .reason h3 { margin: 0 0 6px; font-size: 16px; font-weight: 800; color: var(--chornylo); }
  .reason p { margin: 0; font-size: 14px; color: var(--prytyshene); line-height: 1.45; }

  /* how */
  .how { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 3vw, 40px); position: relative; }
  .how-step { position: relative; }
  .how-num {
    width: 44px; height: 44px; border-radius: 50%; background: var(--likar); color: #fff;
    display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 18px; margin-bottom: 14px;
  }
  .how-step h3 { margin: 0 0 8px; font-size: 18px; font-weight: 800; color: var(--chornylo); }
  .how-step p { margin: 0; color: var(--prytyshene); font-size: 15px; }

  /* cert band */
  .band { background: var(--likar); color: #fff; }
  .band h2 { color: #fff; text-align: center; margin-bottom: clamp(28px, 4vw, 44px); }
  .band-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-bottom: clamp(28px, 4vw, 40px); }
  .band-item { text-align: center; padding: 0 12px; }
  .band-item + .band-item { border-left: 1px solid rgba(255,255,255,.28); }
  .band-num { font-size: clamp(28px, 4vw, 40px); font-weight: 800; letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
  .band-desc { margin: 6px 0 0; font-size: 14.5px; color: #fff; opacity: .92; line-height: 1.45; }
  .band-cta { text-align: center; }

  /* faq */
  .faq-wrap { max-width: 760px; margin: 0 auto; }
  .faq-item { border-bottom: 1px solid var(--liniya); }
  .faq-item summary {
    list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px;
    padding: 18px 2px; font-weight: 700; font-size: 17px; color: var(--chornylo);
  }
  .faq-item summary::-webkit-details-marker { display: none; }
  .faq-item summary:focus-visible { outline: 3px solid var(--blank); outline-offset: 2px; border-radius: 6px; }
  .faq-item .plus { flex: none; transition: transform .18s ease; color: var(--likar); font-size: 24px; font-weight: 400; line-height: 1; }
  .faq-item[open] .plus { transform: rotate(45deg); }
  .faq-a { padding: 0 2px 20px; color: var(--prytyshene); max-width: 640px; }
  .faq-a p { margin: 0; }

  /* shots strip (реальні скріни відгуків) */
  .shots-strip {
    display: flex; gap: 14px; overflow-x: auto; padding: 6px 4px 14px;
    scroll-snap-type: x proximity; -webkit-overflow-scrolling: touch;
  }
  .shot {
    flex: 0 0 232px; width: 232px; height: auto; align-self: flex-start;
    border-radius: 8px; border: 1px solid var(--liniya); scroll-snap-align: start;
    background: #fff;
  }

  /* vidguky masonry */
  .vidguky-cols { columns: 3 300px; column-gap: 16px; }
  .vidguk {
    display: block; width: 100%; height: auto; break-inside: avoid; margin: 0 0 16px;
    border-radius: 8px; border: 1px solid var(--liniya); background: #fff;
  }

  /* final */
  .final { text-align: center; }
  .final h2 { margin-bottom: 24px; }

  footer { background: var(--halat); border-top: 1px solid var(--liniya); padding: 26px 0; }
  footer .wrap { display: flex; align-items: center; justify-content: space-between; }
  footer svg { height: 20px; width: auto; opacity: .9; }
  footer span { color: var(--tyha); font-size: 13px; }
  .band.final h2 { margin-bottom: 26px; }

  @media (max-width: 900px) {
    .hero .wrap { grid-template-columns: 1fr; }
    .hero-visual { order: 2; }
    .reasons { grid-template-columns: repeat(2, 1fr); }
    .how { grid-template-columns: 1fr; }
    .band-grid { grid-template-columns: 1fr; }
    .band-item + .band-item { border-left: 0; border-top: 1px solid rgba(255,255,255,.28); padding-top: 16px; }
  }
  @media (max-width: 560px) {
    .days { display: flex; overflow-x: auto; gap: 8px; padding-bottom: 6px; -webkit-overflow-scrolling: touch; }
    .day { flex: 0 0 76px; padding: 9px 4px; }
    .day .dd { font-size: 16px; white-space: nowrap; }
    .day .df { font-size: 10.5px; white-space: nowrap; }
    .price-row { flex-direction: column; gap: 10px; }
    .price-note { border-left: none; padding-left: 0; border-top: 3px solid var(--blank); padding-top: 10px; }
  }

/* Живий пікер: стан кнопки до вибору часу. У прототипі статичний мок завжди
   у вибраному стані, тому disabled там не намальовано. Тримаємо ту саму
   мову приглушення, що й .t-chip.busy. */
  .btn[disabled] { opacity: .45; cursor: default; }
  .btn[disabled]:hover { background: var(--likar); }

/* ============ Карусель «Приклади розборів»: Flickity, як слайдери товарів ============ */
.flickity-enabled { position: relative; }
.flickity-enabled:focus { outline: 0; }
.flickity-viewport { overflow: hidden; position: relative; height: 100%; }
.flickity-slider { position: absolute; width: 100%; height: 100%; }
.flickity-enabled.is-draggable { -webkit-tap-highlight-color: transparent; -webkit-user-select: none; user-select: none; }
.flickity-enabled.is-draggable .flickity-viewport { cursor: grab; }
.flickity-enabled.is-draggable .flickity-viewport.is-pointer-down { cursor: grabbing; }
.shots-strip.flickity-enabled { display: block; overflow: visible; padding: 6px 0 14px; }
.shots-strip.flickity-enabled .shot { margin-right: 14px; }
.flickity-button {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 44px; height: 44px; border-radius: 50%;
  background: #fff; border: 1px solid var(--liniya); color: var(--likar);
  cursor: pointer; z-index: 2; padding: 0; display: flex; align-items: center; justify-content: center;
}
.flickity-button:hover { background: var(--ice); }
.flickity-button:focus-visible { outline: 3px solid var(--blank); outline-offset: 2px; }
.flickity-button:disabled { opacity: .3; cursor: default; }
.flickity-prev-next-button.previous { left: -12px; }
.flickity-prev-next-button.next { right: -12px; }
.flickity-button-icon { fill: currentColor; }
.flickity-prev-next-button .flickity-button-icon { position: absolute; left: 28%; top: 28%; width: 44%; height: 44%; }
@media (max-width: 560px) {
  .flickity-prev-next-button.previous { left: 4px; }
  .flickity-prev-next-button.next { right: 4px; }
}


/* Анти-CLS: панель пікера тримає висоту до рендеру слотів джаваскриптом. */
.days { min-height: 68px; }
.times { min-height: 41px; }
@media (max-width: 560px) { .days { min-height: 60px; } }

/* Стрілки каруселі не лягають на скріни: десктоп — назовні, мобайл — свайп без стрілок. */
.flickity-prev-next-button.previous { left: -22px; }
.flickity-prev-next-button.next { right: -22px; }
@media (max-width: 560px) { .shots-strip .flickity-button { display: none; } }
/* ============ Стрічка «Годуєте цим?» (вимикач amg_care_v2_strip=0) ============ */
.uvaha-sec { margin: calc(-1 * clamp(16px, 3vw, 40px)) 0 clamp(36px, 5vw, 56px); }
.uvaha {
  position: relative; display: flex; align-items: center; gap: 20px;
  background: #FFF7DA; border: 1px solid #E9C43F; border-radius: 8px;
  padding: 18px 22px 18px 150px; min-height: 88px;
  text-decoration: none; color: var(--chornylo);
  transition: background .15s ease;
}
.uvaha:hover { background: #FFF3C9; }
.uvaha:focus-visible { outline: 3px solid var(--blank); outline-offset: 2px; }
.uvaha-kit {
  position: absolute; left: 30px; bottom: 8px; height: 106px; width: auto;
  pointer-events: none;
}
.uvaha-text { flex: 1; min-width: 0; }
.uvaha-head {
  display: flex; align-items: center; gap: 12px;
  font-size: 19px; font-weight: 800; letter-spacing: .02em; text-transform: uppercase; line-height: 1.2;
}
.uvaha-bang {
  flex: none; width: 28px; height: 28px; border-radius: 50%;
  background: #FFCE3D; color: var(--chornylo);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 17px; font-weight: 800;
}
.uvaha-sep { flex: none; width: 1px; height: 22px; background: rgba(18,18,18,.25); }
.uvaha-brands { display: block; margin-top: 7px; overflow: hidden; white-space: nowrap; }
.uvaha-run {
  display: inline-flex; align-items: center; flex-wrap: wrap; gap: 4px 12px;
  font-size: 12px; font-weight: 700; letter-spacing: .15em; text-transform: uppercase;
  color: rgba(18,18,18,.72); white-space: normal; vertical-align: top;
}
.uvaha-run i { font-style: normal; color: rgba(18,18,18,.45); }
.uvaha-run + .uvaha-run { display: none; }
.uvaha-go {
  flex: none; width: 42px; height: 42px; border-radius: 50%;
  background: var(--chornylo); color: #FFCE3D;
  display: flex; align-items: center; justify-content: center;
  transition: transform .15s ease;
}
.uvaha:hover .uvaha-go { transform: translateY(2px); }
@media (max-width: 560px) {
  .uvaha { padding: 14px 16px 16px 92px; min-height: 76px; gap: 10px; }
  .uvaha-kit { height: 80px; left: 10px; bottom: 6px; }
  .uvaha-head { font-size: 14.5px; gap: 8px; flex-wrap: wrap; }
  .uvaha-bang { width: 24px; height: 24px; font-size: 14px; }
  .uvaha-sep { display: none; }
  .uvaha-go { display: none; }
  .uvaha-brands { margin-top: 6px; }
  .uvaha-run { flex-wrap: nowrap; white-space: nowrap; animation: uvaha-marq 20s linear infinite; padding-right: 12px; }
  .uvaha-run + .uvaha-run { display: inline-flex; }
}
@keyframes uvaha-marq { from { transform: translateX(0); } to { transform: translateX(-100%); } }
@media (prefers-reduced-motion: reduce) {
  .uvaha-run { animation: none !important; flex-wrap: wrap; white-space: normal; }
  .uvaha-run + .uvaha-run { display: none !important; }
}
