/* ==========================================================================
   Nine Lives — dizajn sistem
   Razigran, zaobljen, topao: krem podloga, žuti i narandžasti akcenti,
   žalfija zelena i bordo iz logotipa kao brend boje.
   ========================================================================== */

:root {
  /* podloge */
  --cream: #fbf6ee;
  --cream-deep: #f7efe1;
  --white: #ffffff;
  --sky: #cfeaf8;
  --sky-deep: #b9e0f4;

  /* akcenti */
  --yellow: #ffd100;
  --yellow-soft: #ffe87a;
  --yellow-pale: #fff6d1;
  --orange: #f15f25;
  --orange-soft: #ff8f63;
  --orange-pale: #ffe9e0;

  /* brend (iz logotipa) */
  --sage: #8fab89;
  --sage-deep: #5c7a58;
  --sage-pale: #e7efe4;
  --bordo: #8c2f33;
  --bordo-deep: #6e2226;
  --bordo-pale: #fbeaea;

  /* tekst */
  --ink: #14181c;
  --navy: #1e2c4f;
  --muted: #5f5f5f;
  --faint: #9aa0a6;
  --line: #eae1d2;

  /* tipografija — jedan font, razlika se pravi težinom (kao u referenci) */
  --font-head: "Dosis", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Dosis", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* ritam */
  --wrap: 1200px;
  --gap: clamp(1.1rem, 2.6vw, 2rem);
  --section-y: clamp(1.5rem, 3vw, 2.5rem);
  --r-sm: 14px;
  --r-md: 22px;
  --r-lg: 34px;
  --r-xl: 26px;
  --header-h: 100px; /* fallback pre nego što se JS izmeri; app.js drži ovo tačno u sinhronizaciji */

  --shadow-sm: 0 2px 10px rgba(20, 24, 28, 0.05);
  --shadow-md: 0 10px 30px rgba(20, 24, 28, 0.09);
  --shadow-lg: 0 24px 60px rgba(20, 24, 28, 0.14);
  --shadow-yellow: 0 10px 26px rgba(255, 209, 0, 0.38);
  --shadow-orange: 0 10px 26px rgba(241, 95, 37, 0.32);
}

/* Dosis nema ćirilične glifove — na ruskim stranicama prelazimo na Nunito
   (vizuelno najbliži zaobljen font sa punom ćiriličnom podrškom). */
:lang(ru) {
  --font-head: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;
}

/* --------------------------------------------------------------- reset */

*,
*::before,
*::after {
  box-sizing: border-box;
}
* {
  margin: 0;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

html {
  overflow-x: clip;
  width: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.7;
  color: var(--muted);
  background: #fff;
  overflow-x: clip;
  width: 100%;
  -webkit-font-smoothing: antialiased;
}

img,
svg,
video {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: var(--orange);
  text-underline-offset: 3px;
}
a:hover {
  color: #e85520;
}
button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 3px;
  border-radius: 6px;
}

/* --------------------------------------------------------- tipografija */

h1,
h2,
h3,
h4 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.005em;
  color: var(--ink);
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.4rem, 6vw, 3.625rem);
}
h2 {
  font-size: clamp(1.9rem, 4.4vw, 3.1rem);
}
h3 {
  font-size: clamp(1.25rem, 2.2vw, 1.6rem);
}

p {
  text-wrap: pretty;
}
p + p {
  margin-top: 0.9em;
}

.lede {
  font-size: 1.1rem;
  line-height: 1.4;
  color: var(--muted);
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--orange);
  margin-bottom: 0.3rem;
}

/* akcenat u naslovu — podvučen žutim potezom, kao u referenci */
.mark {
  position: relative;
  display: inline-block;
  color: var(--ink);
  z-index: 0;
}
.mark::after {
  content: "";
  position: absolute;
  left: -0.04em;
  right: -0.04em;
  bottom: 0.06em;
  height: 0.16em;
  background: var(--yellow);
  z-index: -1;
}
.mark--orange::after {
  background: var(--orange-soft);
}

/* ------------------------------------------------------------- layout */

.wrap {
  width: min(100% - 2.5rem, var(--wrap));
  margin-inline: auto;
}
.wrap--narrow {
  width: min(100% - 2.5rem, 820px);
}

.section {
  position: relative;
  padding-block: var(--section-y);
}
.section--cream {
  background: var(--cream-deep);
}
.section--white {
  background: var(--white);
}
.section--sage {
  background: var(--sage-pale);
}
.section--yellow {
  background: var(--yellow-pale);
}

/* zaobljena „kupola” na vrhu ili dnu sekcije */
.section--dome-top {
  border-radius: var(--r-xl) var(--r-xl) 0 0;
}
.section--dome-bottom {
  border-radius: 0 0 var(--r-xl) var(--r-xl);
}

.section__head {
  max-width: 60ch;
  margin-bottom: clamp(2.2rem, 4vw, 3.4rem);
}
.section__head--center {
  margin-inline: auto;
  text-align: center;
}

.grid {
  display: grid;
  gap: var(--gap);
}
.grid--2 {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 330px), 1fr));
}
.grid--3 {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 285px), 1fr));
}
.grid--4 {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 225px), 1fr));
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 999;
  background: var(--orange);
  color: var(--white);
  padding: 0.75rem 1.25rem;
  border-radius: 0 0 var(--r-sm) 0;
}
.skip-link:focus {
  left: 0;
}

/* ------------------------------------------------------------ dekoracije */

/* Upotreba:  <span class="deco deco--star" style="--x:12%;--y:8%;--s:26px"></span>
   --x/--y su left/top, --s je veličina, --r opcioni ugao rotacije. */
.deco {
  position: absolute;
  left: var(--x, 0);
  top: var(--y, 0);
  width: var(--s, 30px);
  height: var(--s, 30px);
  transform: rotate(var(--r, 0deg));
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  pointer-events: none;
  z-index: 0;
}

.deco--star {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 0c.7 6.3 5 10.6 12 12-7 1.4-11.3 5.7-12 12-.7-6.3-5-10.6-12-12C7 10.6 11.3 6.3 12 0z' fill='%231E2C4F'/%3E%3C/svg%3E");
}
.deco--star-yellow {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 0c.7 6.3 5 10.6 12 12-7 1.4-11.3 5.7-12 12-.7-6.3-5-10.6-12-12C7 10.6 11.3 6.3 12 0z' fill='%23FFD100'/%3E%3C/svg%3E");
}

.deco--paw {
  opacity: 0.13;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64' fill='none' stroke='%2314181C' stroke-width='3'%3E%3Cellipse cx='20' cy='18' rx='7' ry='9'/%3E%3Cellipse cx='38' cy='14' rx='7' ry='9.5'/%3E%3Cellipse cx='53' cy='25' rx='6.5' ry='8'/%3E%3Cpath d='M33 32c8 0 16 6 16 13.5S41 58 33 58s-16-5-16-12.5S25 32 33 32z'/%3E%3C/svg%3E");
}

.deco--blob-yellow {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'%3E%3Cpath d='M45 -60C60 -45 72 -27 76 -6c4 21 -1 45 -15 62c-14 17 -37 27 -58 24C-18 77 -37 61 -53 43C-69 25 -82 5 -80 -14c2 -19 19 -37 37 -52c18 -15 38 -27 55 -22c17 5 30 27 33 28z' transform='translate(100 100)' fill='%23FFD100'/%3E%3C/svg%3E");
}
.deco--blob-orange {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'%3E%3Cpath d='M45 -60C60 -45 72 -27 76 -6c4 21 -1 45 -15 62c-14 17 -37 27 -58 24C-18 77 -37 61 -53 43C-69 25 -82 5 -80 -14c2 -19 19 -37 37 -52c18 -15 38 -27 55 -22c17 5 30 27 33 28z' transform='translate(100 100)' fill='%23FFE9E0'/%3E%3C/svg%3E");
}
.deco--blob-sage {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'%3E%3Cpath d='M45 -60C60 -45 72 -27 76 -6c4 21 -1 45 -15 62c-14 17 -37 27 -58 24C-18 77 -37 61 -53 43C-69 25 -82 5 -80 -14c2 -19 19 -37 37 -52c18 -15 38 -27 55 -22c17 5 30 27 33 28z' transform='translate(100 100)' fill='%23E7EFE4'/%3E%3C/svg%3E");
}

/* linijske ikonice u pozadini hero-a (bela kontura, kao referenca) */
.deco--ico {
  opacity: 0.5;
}
.deco--ico-paw {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64' fill='none' stroke='%23ffffff' stroke-width='2.4' stroke-linejoin='round'%3E%3Cellipse cx='16' cy='24' rx='6' ry='8'/%3E%3Cellipse cx='31' cy='17' rx='6.5' ry='9'/%3E%3Cellipse cx='47' cy='23' rx='6' ry='8'/%3E%3Cpath d='M31.5 33c8.5 0 16 6 16 13.5S39.5 59 31.5 59s-16-4-16-11.5S23 33 31.5 33z'/%3E%3C/svg%3E");
}
.deco--ico-bowl {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64' fill='none' stroke='%23ffffff' stroke-width='2.4' stroke-linejoin='round' stroke-linecap='round'%3E%3Cpath d='M8 30h48c0 12-11 20-24 20S8 42 8 30z'/%3E%3Cellipse cx='32' cy='30' rx='24' ry='7'/%3E%3Cpath d='M22 27c3-4 17-4 20 0'/%3E%3C/svg%3E");
}
.deco--ico-fish {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64' fill='none' stroke='%23ffffff' stroke-width='2.4' stroke-linejoin='round' stroke-linecap='round'%3E%3Cpath d='M6 32c10-14 30-14 40 0-10 14-30 14-40 0z'/%3E%3Cpath d='M46 32c4-6 8-8 12-9-2 5-2 13 0 18-4-1-8-3-12-9z'/%3E%3Ccircle cx='18' cy='28' r='1.6' fill='%23ffffff' stroke='none'/%3E%3C/svg%3E");
}
.deco--ico-yarn {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64' fill='none' stroke='%23ffffff' stroke-width='2.2'%3E%3Ccircle cx='32' cy='32' r='22'/%3E%3Cpath d='M16 22c14 4 24 14 28 28M22 15c12 5 22 15 26 27M32 10c8 6 15 15 19 26M46 14c5 8 8 17 8 26'/%3E%3C/svg%3E");
}

/* lagano lebdenje */
.deco--float {
  animation: deco-float 6s ease-in-out infinite;
}
.deco--float-slow {
  animation: deco-float 9s ease-in-out infinite;
}
@keyframes deco-float {
  0%,
  100% {
    transform: rotate(var(--r, 0deg)) translateY(0);
  }
  50% {
    transform: rotate(var(--r, 0deg)) translateY(-14px);
  }
}

@media (max-width: 780px) {
  .deco--hide-sm {
    display: none;
  }
}

/* sadržaj uvek iznad dekoracija */
.section > .wrap,
.hero > .wrap {
  position: relative;
  z-index: 1;
}

/* -------------------------------------------------------------- dugmad */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  padding: 0.95em 1.9em;
  border: 0;
  border-radius: 14px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.05rem;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  transition: transform 0.18s cubic-bezier(0.34, 1.56, 0.64, 1),
    box-shadow 0.2s ease, color 0.25s ease 0.1s;
}
.btn {
  white-space: nowrap;
}
.btn:hover {
  transform: translateY(-2px);
}
.btn:active {
  transform: translateY(0);
}

/* blob koji se diže iz dna dugmeta pri hoveru (petfun-style) */
.btn::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: 50%;
  bottom: 0;
  width: 160%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--btn-fill, transparent);
  transform: translate(-50%, 130%) scale(0.7);
  transition: transform 0.55s cubic-bezier(0.34, 1.56, 0.64, 1);
  pointer-events: none;
}
.btn:hover::before {
  transform: translate(-50%, 25%) scale(2.2);
}

.btn--primary {
  background: var(--yellow);
  color: var(--ink);
  box-shadow: var(--shadow-yellow);
  --btn-fill: #ffdc33;
}
.btn--primary:hover {
  color: var(--ink);
}

.btn--orange {
  background: var(--orange);
  color: var(--white);
  box-shadow: var(--shadow-orange);
  --btn-fill: #e85520;
}
.btn--orange:hover {
  color: var(--white);
}

.btn--dark {
  background: var(--ink);
  color: var(--white);
  box-shadow: var(--shadow-md);
  --btn-fill: var(--navy);
}
.btn--dark:hover {
  color: var(--white);
}

.btn--ghost {
  background: transparent;
  box-shadow: inset 0 0 0 2px var(--ink);
  color: var(--ink);
  --btn-fill: var(--ink);
}
.btn--ghost:hover {
  color: var(--white);
}

.btn--white {
  background: var(--white);
  color: var(--ink);
  box-shadow: var(--shadow-md);
  --btn-fill: var(--white);
}
.btn--white:hover {
  color: var(--orange);
}

.btn--lg {
  padding: 1.1em 2.3em;
  font-size: 1.15rem;
}
.btn--block {
  width: 100%;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

/* -------------------------------------------------------------- marquee traka usluga */

.marquee-strip {
  background: #fff;
  overflow: hidden;
  padding: 2.6rem 0;
}

.marquee {
  overflow: hidden;
  width: 100%;
}

.marquee__track {
  display: flex;
  width: max-content;
  animation: marquee-scroll 60s linear infinite;
}

.marquee-strip:hover .marquee__track {
  animation-play-state: paused;
}

.marquee__group {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.marquee__item {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 5.2rem;
  line-height: 1;
  color: var(--yellow);
  text-transform: uppercase;
  letter-spacing: 0.01em;
  white-space: nowrap;
  padding: 0 1.3rem;
}

.marquee__sep {
  display: inline-flex;
  flex-shrink: 0;
  color: var(--orange);
}
.marquee__sep svg {
  width: 2.4rem;
  height: 2.4rem;
  fill: currentColor;
  stroke: none;
}

@keyframes marquee-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .marquee__track {
    animation: none;
  }
}

/* telefon sa krugom — potpis ovog stila */
.call-block {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}
.call-block__icon {
  width: 3.6rem;
  height: 3.6rem;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: var(--yellow);
  color: var(--ink);
}
.call-block__label {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.2;
}
.call-block__num {
  display: block;
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--orange);
  text-decoration: none;
  line-height: 1.25;
}
.call-block__num:hover {
  color: #e85520;
}

/* -------------------------------------------------------------- kartice */

.card {
  position: relative;
  background: var(--white);
  border-radius: var(--r-lg);
  padding: clamp(1.6rem, 3vw, 2.3rem);
  box-shadow: var(--shadow-sm);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.card--link {
  text-decoration: none;
  color: inherit;
  display: block;
}
.card:hover,
.card--link:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  color: inherit;
}

.card h3 {
  margin-bottom: 0.5rem;
}
.card p {
  font-size: 1.02rem;
}

/* žuti zaobljeni kvadrat sa crnom line-art ikonom */
.card__icon {
  width: 4.4rem;
  height: 4.4rem;
  display: grid;
  place-items: center;
  border-radius: 22px;
  margin-bottom: 1.3rem;
  background: var(--yellow);
  color: var(--ink);
  transition: transform 0.22s cubic-bezier(0.34, 1.5, 0.64, 1);
}
.card:hover .card__icon,
.card--link:hover .card__icon {
  transform: rotate(-6deg) scale(1.06);
}

/* varijante — koriste se štedljivo, žuta je podrazumevana */
.card__icon--orange {
  background: var(--orange);
  color: var(--white);
}
.card__icon--sage {
  background: var(--sage);
  color: var(--white);
}
.card__icon--bordo {
  background: var(--bordo);
  color: var(--white);
}
.card__icon--dark {
  background: var(--ink);
  color: var(--yellow);
}

/* lista sa narandžastom šapom umesto tačke */
.paw-list {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 0.9rem;
}
.paw-list li {
  position: relative;
  padding-left: 2.4rem;
  font-weight: 500;
}
.paw-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.28em;
  width: 1.5rem;
  height: 1.5rem;
  background-repeat: no-repeat;
  background-size: contain;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64' fill='%23FF6B35'%3E%3Cellipse cx='17' cy='20' rx='7.5' ry='9.5'/%3E%3Cellipse cx='34' cy='14' rx='7.5' ry='10'/%3E%3Cellipse cx='51' cy='22' rx='7' ry='9'/%3E%3Cpath d='M34 32c9 0 17 6.5 17 14.5S43 60 34 60 17 54.5 17 46.5 25 32 34 32z'/%3E%3C/svg%3E");
}
.paw-list--strong li {
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--ink);
  font-size: 1.3rem;
}
.paw-list__desc {
  display: block;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 1rem;
  color: var(--muted);
}
.paw-list--strong li::before { top: 0.15em; width: 1.7rem; height: 1.7rem; }

/* numerisana kartica */
.card__num {
  position: absolute;
  top: -0.9rem;
  right: 1.6rem;
  width: 2.6rem;
  height: 2.6rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--yellow);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.15rem;
  color: var(--ink);
  box-shadow: var(--shadow-sm);
}

/* ---------------------------------------------- feature (slika + tekst) */

.feature__grid {
  display: grid;
  gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: center;
  grid-template-columns: 1fr;
}
@media (min-width: 900px) {
  .feature__grid { grid-template-columns: 0.9fr 1.1fr; }
}
.feature__media { max-width: 420px; margin-inline: auto; }
@media (min-width: 900px) { .feature__media { max-width: none; } }

.feature__pairs {
  display: grid;
  gap: 1.4rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
}
.feature-pair {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
}
.feature-pair__icon {
  width: 3.2rem;
  height: 3.2rem;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 15px;
  background: var(--yellow);
  color: var(--ink);
}
.feature-pair strong {
  display: block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--ink);
  margin-bottom: 0.2rem;
}
.feature-pair span span {
  display: block;
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.5;
}

/* --------------------------------------------------------------- header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: transparent;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}
/* traka postaje bela sa senkom čim krene skrol */
.site-header.is-scrolled {
  background: #fff;
  box-shadow: 0 6px 30px rgba(20, 24, 28, 0.08);
}
.site-header__inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: 100px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
  margin-inline-end: auto;
}
.brand__mark {
  width: 46px;
  height: 46px;
  flex: none;
}

.brand__logo {
  height: 90px;
  width: auto;
}
@media (max-width: 520px) {
  .brand__logo {
    height: 58px;
  }
}
.brand__name {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.3rem;
  color: var(--ink);
  line-height: 1.05;
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.brand__word::after {
  content: ".";
  color: var(--orange);
}
.brand__sub {
  display: block;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--faint);
}
.brand__sub::after {
  content: none;
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}
.nav a {
  padding: 0.55rem 0.8rem;
  white-space: nowrap;
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  position: relative;
  z-index: 1;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0.8rem;
  right: 0.8rem;
  bottom: 0.3rem;
  height: 0.3rem;
  background: var(--yellow);
  z-index: -1;
  width: 0;
  transition: width 0.3s ease;
}
.nav a:hover::after,
.nav a[aria-current="page"]::after {
  width: calc(100% - 1.6rem);
}
.nav a[aria-current="page"] {
  font-weight: 700;
}

.header-tools {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}
.header-tools .btn {
  padding: 0.72em 1.25em;
  font-size: 0.95rem;
}

.tel-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--orange);
  text-decoration: none;
  white-space: nowrap;
}
.tel-link:hover {
  color: #e85520;
}

.lang-switch {
  display: flex;
  gap: 0.1rem;
}
.lang-switch__link {
  padding: 0.35rem 0.55rem;
  border-radius: 999px;
  font-family: var(--font-head);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--faint);
  text-decoration: none;
}
.lang-switch__link:hover {
  background: var(--yellow);
  color: var(--ink);
}

.nav-toggle {
  display: none;
  background: var(--white);
  border: 0;
  border-radius: 14px;
  padding: 0.65rem 0.75rem;
  cursor: pointer;
  color: var(--ink);
  box-shadow: var(--shadow-sm);
}

.nav__lang { display: none; }

@media (max-width: 992px) {
  .nav-toggle {
    display: block;
  }
  /* na mobilnom je jezik u samom meniju, a ne u gornjoj traci */
  .header-tools .lang-switch { display: none; }
  .nav__lang {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 0.9rem;
    padding-top: 0.9rem;
    border-top: 1px solid var(--line);
  }
  .nav__lang .lang-switch__link {
    font-size: 1.05rem;
    padding: 0.55rem 1.1rem;
    background: var(--white);
    box-shadow: var(--shadow-sm);
  }
  .nav__lang .lang-switch__link:hover { background: var(--yellow); }
  .nav {
    position: fixed;
    inset: 86px 0 auto;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 1rem 1.5rem 2rem;
    background: var(--cream);
    border-radius: 0 0 var(--r-lg) var(--r-lg);
    box-shadow: var(--shadow-lg);
    transform: translateY(-10px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  }
  .nav[data-open="true"] {
    transform: none;
    opacity: 1;
    visibility: visible;
  }
  .nav a {
    padding: 0.85rem 1rem;
    font-size: 1.15rem;
    border-radius: var(--r-sm);
  }
}

@media (max-width: 780px) {
  .header-tools .tel-link span {
    display: none;
  }
  .header-tools .btn {
    display: none;
  }
  .lang-switch {
    display: none;
  }
  .nav {
    padding-bottom: 1.25rem;
  }
  .nav .nav__cta {
    display: flex;
    margin-top: 0.75rem;
  }
}

/* CTA unutar mobilnog menija — vidljiv samo kad je meni u upotrebi */
.nav__cta {
  display: none;
}

/* ----------------------------------------------------------------- hero */

.hero {
  position: relative;
  margin-top: calc(-1 * var(--header-h));
  padding-top: calc(var(--header-h) + clamp(1.5rem, 4vw, 3rem));
  padding-bottom: clamp(6rem, 13vw, 10rem);
  background: var(--sky);
  overflow: hidden;
}

/* belo talasasto dno hero-a */
.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: clamp(40px, 6vw, 90px);
  background: #fff;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 90' preserveAspectRatio='none'%3E%3Cpath d='M0,90 L0,40 C240,90 480,90 720,55 C960,20 1200,20 1440,50 L1440,90 Z'/%3E%3C/svg%3E")
    bottom/100% 100% no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 90' preserveAspectRatio='none'%3E%3Cpath d='M0,90 L0,40 C240,90 480,90 720,55 C960,20 1200,20 1440,50 L1440,90 Z'/%3E%3C/svg%3E")
    bottom/100% 100% no-repeat;
  z-index: 2;
  pointer-events: none;
}

.hero__grid {
  display: grid;
  gap: clamp(2.5rem, 5vw, 4rem);
  align-items: center;
  grid-template-columns: 1fr;
}
@media (min-width: 940px) {
  .hero__grid {
    grid-template-columns: 1.05fr 0.95fr;
  }
}

.hero h1 {
  margin-bottom: 1.2rem;
}
.hero .lede {
  margin-bottom: 2.2rem;
  max-width: 48ch;
}

/* šapa koja ulazi sa desne ivice ekrana */
.hero__paw {
  position: absolute;
  top: 22%;
  right: 0;
  width: clamp(90px, 9vw, 150px);
  height: auto;
  transform: translateX(30%);
  transform-origin: 82% 88%;
  z-index: 1;
  pointer-events: none;
  animation: paw-pop .5s cubic-bezier(.34,1.7,.5,1) .35s both,
             paw-wave 1s ease-in-out 1.35s infinite;
}
@keyframes paw-pop {
  0%   { opacity: 0; transform: translateX(75%) rotate(38deg) scale(.55); }
  100% { opacity: 1; transform: translateX(30%) rotate(0) scale(1); }
}
@keyframes paw-wave {
  0%   { transform: translateX(30%) rotate(0); }
  25%  { transform: translateX(30%) rotate(-11deg); }
  75%  { transform: translateX(30%) rotate(11deg); }
  100% { transform: translateX(30%) rotate(0); }
}
@media (prefers-reduced-motion: reduce) {
  .hero__paw { animation: none; }
}

.hero__media {
  position: relative;
}
.hero__media img {
  width: 100%;
  border-radius: 50%;
  aspect-ratio: 4 / 4.2;
  object-fit: cover;
  box-shadow: var(--shadow-lg);
}

/* žuti oblik iza slike — pomeren, kao obojena senka */
.hero__media::before {
  content: "";
  position: absolute;
  inset: 7% -7% -5% 9%;
  border-radius: 50%;
  background: var(--yellow);
  z-index: -1;
  transform: rotate(5deg);
}
@media (max-width: 640px) {
  /* uži razmak da oblik ostane unutar kontejnera, bez horizontalnog skrola */
  .hero__media::before {
    inset: 5% -2% -2% 4%;
  }
}

/* varijanta za Drop-IN sekciju na početnoj — žalfija zelena iz logotipa umesto žute */
.hero__media--sage::before {
  background: var(--sage);
}

/* isti tretman za ikonice, dugme i brojeve koraka u toj sekciji, da se ne meša sa žutom */
.feature--sage .feature-pair__icon {
  background: var(--sage);
  color: var(--white);
}
.feature--sage .btn--primary {
  background: var(--sage);
  color: var(--white);
  box-shadow: 0 10px 26px rgba(143, 171, 137, 0.38);
  --btn-fill: var(--sage-deep);
}
.feature--sage .btn--primary:hover {
  color: var(--white);
}
.feature--sage .step::before {
  background: var(--sage);
  color: var(--white);
}

.hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 2.4rem;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink);
}
.badge svg {
  color: var(--sage-deep);
  flex: none;
}

/* plutajuća kartica preko slike */
.float-card {
  position: absolute;
  bottom: 6%;
  left: -4%;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.9rem 1.3rem;
  background: var(--white);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-md);
  font-size: 0.95rem;
  max-width: 15rem;
}
.float-card__icon {
  width: 3rem;
  height: 3rem;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 15px;
  background: var(--yellow);
  color: var(--ink);
}
.float-card strong {
  display: block;
  font-family: var(--font-head);
  color: var(--ink);
  line-height: 1.2;
}
.float-card span {
  font-size: 0.85rem;
  color: var(--faint);
}
@media (max-width: 620px) {
  .float-card {
    left: 0;
    bottom: 0;
  }
}

/* ------------------------------------------------------- drop-in traka */

.dropin-strip {
  position: relative;
  background: var(--navy);
  color: rgba(255, 255, 255, 0.82);
  padding-block: clamp(3.5rem, 7vw, 5.5rem);
  border-radius: var(--r-xl);
  overflow: hidden;
  margin-block: var(--section-y);
}
.dropin-strip h2,
.dropin-strip h3 {
  color: var(--white);
}
.dropin-strip .eyebrow {
  background: rgba(255, 255, 255, 0.12);
  color: var(--yellow);
  box-shadow: none;
}

.steps {
  display: grid;
  gap: 1.75rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 235px), 1fr));
  counter-reset: step;
  margin-top: 2.75rem;
}
.step {
  counter-increment: step;
  position: relative;
  padding-top: 3.6rem;
}
.step::before {
  content: counter(step);
  position: absolute;
  top: 0;
  left: 0;
  width: 2.9rem;
  height: 2.9rem;
  display: grid;
  place-items: center;
  border-radius: 15px;
  background: var(--yellow);
  color: var(--ink);
  font-family: var(--font-head);
  font-size: 1.3rem;
  font-weight: 800;
}
.step h3 {
  font-size: 1.2rem;
  margin-bottom: 0.4rem;
}
.step p {
  font-size: 1rem;
}

/* --------------------------------------------------------- hitni slučaj */

.emergency {
  background: var(--bordo-pale);
  border-radius: var(--r-md);
  border-left: 6px solid var(--bordo);
  padding: 1.5rem 1.75rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem;
}
.emergency__text {
  flex: 1 1 260px;
}
.emergency strong {
  font-family: var(--font-head);
  font-size: 1.15rem;
  color: var(--bordo-deep);
}
.emergency p {
  font-size: 1rem;
  margin-top: 0.25rem;
}

/* ------------------------------------------------------------- forma */

.form-step {
  display: none;
  border: 0;
  padding: 0;
}
.form-step[data-active="true"] {
  display: block;
  animation: pop-in 0.3s cubic-bezier(0.34, 1.4, 0.64, 1);
}
@keyframes pop-in {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.99);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.form-step__legend {
  font-family: var(--font-head);
  font-size: 2.1rem;
  font-weight: 600;
  color: var(--ink);
  border: 0;
  padding: 0;
}
.form-step__legend:focus {
  outline: none;
}
.form-step__hint {
  margin-bottom: 1.75rem;
}

.choice-grid {
  display: grid;
  gap: 0.85rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 215px), 1fr));
}

.choice {
  position: relative;
}
.choice input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}
.choice__box {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  height: 100%;
  padding: 1.2rem 1.3rem;
  background: var(--white);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.2s ease,
    background-color 0.2s ease;
}
.choice__box:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.choice input:checked + .choice__box {
  background: var(--yellow);
  box-shadow: var(--shadow-yellow);
  transform: translateY(-3px);
}
.choice input:focus-visible + .choice__box {
  outline: 3px solid var(--orange);
  outline-offset: 3px;
}
.choice__emoji {
  width: 3rem;
  height: 3rem;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: var(--yellow);
  color: var(--ink);
}
.choice__emoji svg {
  width: 22px;
  height: 22px;
  display: block;
}
.choice__label {
  display: block;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--ink);
}
.choice__desc {
  display: block;
  font-size: 0.9rem;
  color: var(--muted);
  margin-top: 0.1rem;
}
.choice input:checked + .choice__box .choice__desc {
  color: rgba(20, 24, 28, 0.65);
}

.choice--alert input:checked + .choice__box {
  background: var(--bordo);
  box-shadow: 0 10px 26px rgba(140, 47, 51, 0.3);
}
.choice--alert input:checked + .choice__box .choice__label {
  color: var(--white);
}
.choice--alert input:checked + .choice__box .choice__desc {
  color: rgba(255, 255, 255, 0.8);
}

.field {
  margin-bottom: 1.3rem;
}
.field label {
  display: block;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.02rem;
  color: var(--ink);
  margin-bottom: 0.45rem;
}
.field .req {
  color: var(--orange);
}
.field input[type="text"],
.field input[type="tel"],
.field input[type="email"],
.field input[type="date"],
.field select,
.field textarea {
  width: 100%;
  padding: 0.9rem 1.15rem;
  background: var(--white);
  border: 2px solid transparent;
  border-radius: var(--r-sm);
  box-shadow: var(--shadow-sm);
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}
.field textarea {
  min-height: 120px;
  resize: vertical;
}
.field :is(input, select, textarea):focus {
  border-color: var(--yellow);
  box-shadow: 0 0 0 4px var(--yellow-pale);
  outline: none;
}
.field :is(input, select, textarea)[aria-invalid="true"] {
  border-color: var(--bordo);
}
.field__hint {
  font-size: 0.9rem;
  color: var(--faint);
  margin-top: 0.35rem;
}

.form-nav {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 2.25rem;
}

.progress {
  margin-bottom: 2.25rem;
}
.progress__track {
  height: 10px;
  background: var(--white);
  border-radius: 999px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.progress__bar {
  height: 100%;
  background: var(--yellow);
  border-radius: 999px;
  transition: width 0.35s cubic-bezier(0.34, 1.3, 0.64, 1);
}
.progress__label {
  font-family: var(--font-head);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--faint);
  margin-top: 0.6rem;
}

.summary {
  background: var(--white);
  border-radius: var(--r-md);
  padding: 1.4rem 1.6rem;
  margin-bottom: 1.75rem;
  box-shadow: var(--shadow-sm);
}
.summary dl {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.45rem 1.2rem;
  font-size: 1rem;
}
.summary dt {
  color: var(--faint);
}
.summary dd {
  font-family: var(--font-head);
  font-weight: 600;
  color: var(--ink);
}

.form-status {
  padding: 1.1rem 1.35rem;
  border-radius: var(--r-sm);
  margin-top: 1.35rem;
  font-weight: 600;
}
.form-status[data-state="ok"] {
  background: var(--sage-pale);
  color: var(--sage-deep);
}
.form-status[data-state="error"] {
  background: var(--bordo-pale);
  color: var(--bordo-deep);
}

.honeypot {
  position: absolute;
  left: -9999px;
  opacity: 0;
}

/* ----------------------------------------------------------------- FAQ */

.faq-item {
  background: var(--white);
  border-radius: var(--r-md);
  margin-bottom: 0.9rem;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.3rem 1.6rem;
  cursor: pointer;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.15rem;
  color: var(--ink);
  list-style: none;
}
.faq-item summary::-webkit-details-marker {
  display: none;
}
.faq-item summary::after {
  content: "+";
  flex: none;
  width: 2.3rem;
  height: 2.3rem;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--yellow);
  font-size: 1.5rem;
  line-height: 1;
  transition: transform 0.22s ease, background-color 0.22s ease;
}
.faq-item[open] summary::after {
  transform: rotate(45deg);
  background: var(--orange);
  color: var(--white);
}
.faq-item__body {
  padding: 0 1.6rem 1.5rem;
}

/* --------------------------------------------------------------- tabela */

.price-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 0.6rem;
}
.price-table th {
  text-align: left;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--ink);
  padding: 0 1.4rem 0.4rem;
}
.price-table th:last-child {
  text-align: right;
}
.price-table td {
  background: var(--white);
  padding: 1.05rem 1.4rem;
}
.price-table tr td:first-child {
  border-radius: var(--r-sm) 0 0 var(--r-sm);
}
.price-table tr td:last-child {
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  text-align: right;
  white-space: nowrap;
  font-family: var(--font-head);
  font-weight: 600;
  color: var(--orange);
}
.price-table tbody tr {
  box-shadow: var(--shadow-sm);
}

/* -------------------------------------------------------------- footer */

.site-footer {
  position: relative;
  background: #fcf6ed;
  color: var(--muted);
  margin-top: 70px;
  padding-block: clamp(4rem, 8vw, 6.5rem) 2rem;
}

/* oblak/talas na vrhu footera (ne ravna linija) */
.site-footer__shape {
  position: absolute;
  left: 0;
  top: -69px;
  width: 100%;
  height: 70px;
  line-height: 0;
  color: #fcf6ed;
  pointer-events: none;
}
.site-footer__shape svg {
  width: 100%;
  height: 100%;
  display: block;
}
.site-footer__shape path {
  fill: currentColor;
}

.site-footer__grid {
  display: grid;
  gap: 2.5rem 3rem;
  grid-template-columns: 1.4fr 1fr 1.3fr 1.3fr;
  padding-bottom: 2.5rem;
}
@media (max-width: 992px) {
  .site-footer__grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 600px) {
  .site-footer__grid {
    grid-template-columns: 1fr;
  }
}

/* naslov kolone sa dve žute crtice ispod (kao referenca) */
.footer-title {
  font-family: var(--font-head);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.01em;
  padding-bottom: 1.1rem;
  margin-bottom: 1.3rem;
  position: relative;
}
.footer-title::before,
.footer-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  height: 4px;
  border-radius: 5px;
  background: var(--yellow);
}
.footer-title::before {
  width: 16px;
}
.footer-title::after {
  width: 36px;
  left: 22px;
}

/* brend kolona */
.footer-brand {
  display: inline-block;
}
.footer-brand img {
  height: 120px;
  width: auto;
}
.footer-about {
  max-width: 34ch;
  margin-bottom: 1.6rem;
  line-height: 1.7;
}

.footer-socials {
  display: flex;
  gap: 0.7rem;
}
.footer-socials a {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: #f1ece3;
  color: var(--ink);
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.footer-socials a:hover {
  background: var(--orange);
  color: #fff;
  transform: translateY(-3px);
}

/* linkovi sa narandžastom tačkicom */
.footer-links {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 0.5rem;
}
.footer-links a {
  position: relative;
  padding-left: 1.4rem;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--ink);
  text-decoration: none;
  transition: color 0.18s ease, padding-left 0.18s ease;
}
.footer-links a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--orange);
  transform: translateY(-50%);
}
.footer-links a:hover {
  color: var(--orange);
  padding-left: 1.7rem;
}

/* kontakt blok sa narandžastim labelama */
.footer-contact p {
  margin-bottom: 1.1rem;
  line-height: 1.65;
}
.footer-contact p:last-child {
  margin-bottom: 0;
}
.footer-label {
  display: block;
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--orange);
  margin-bottom: 0.15rem;
}
.footer-contact a {
  color: var(--muted);
  text-decoration: none;
}
.footer-contact a:hover {
  color: var(--orange);
}

/* pretplata */
.footer-subscribe {
  display: flex;
  align-items: center;
  background: #fff7e6;
  border-radius: 16px;
  padding: 0.4rem 0.4rem 0.4rem 1.2rem;
  box-shadow: var(--shadow-sm);
}
.footer-subscribe input {
  flex: 1;
  border: 0;
  background: transparent;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ink);
  padding: 0.6rem 0;
  min-width: 0;
}
.footer-subscribe input::placeholder {
  color: var(--faint);
}
.footer-subscribe input:focus {
  outline: none;
}
.footer-subscribe button {
  display: grid;
  place-items: center;
  flex: none;
  width: 46px;
  height: 46px;
  border: 0;
  cursor: pointer;
  border-radius: 12px;
  background: var(--yellow);
  color: var(--ink);
  transition: transform 0.2s ease, background-color 0.2s ease;
}
.footer-subscribe button:hover {
  background: #ffdc33;
  transform: translateY(-2px);
}
.footer-subscribe__note {
  margin-top: 1.1rem;
  max-width: 30ch;
  line-height: 1.6;
}

.site-footer__bottom {
  padding-top: 1.75rem;
  margin-top: 1rem;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.92rem;
  color: var(--faint);
}
.footer-credit-col {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: .3rem;
  text-align: right;
}
.footer-credit a {
  color: var(--muted);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid transparent;
}
.footer-credit a:hover { color: var(--orange); border-bottom-color: var(--orange); }

/* ------------------------------------------------------------- utility */

.u-center {
  text-align: center;
}
.u-mt {
  margin-top: 0.5rem;
}
.u-mt-lg {
  margin-top: 2rem;
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* Pojavljivanje pri skrolu. Sakriva se SAMO kad JS radi (klasa .js na <html>) —
   bez toga sadržaj mora ostati vidljiv, inače pad skripte guta celu stranicu. */
.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.95s ease, transform 0.95s cubic-bezier(0.22, 1, 0.36, 1);
}
.js .reveal.is-in {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .js .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* -------------------------------------------------------- kartica doktora */

.doc-card {
  display: grid;
  gap: clamp(1.75rem, 4vw, 3rem);
  grid-template-columns: 1fr;
  align-items: center;
  padding-block: clamp(1.5rem, 3vw, 2.5rem);
  border-bottom: 1px solid var(--line);
}
.doc-card:last-of-type {
  border-bottom: 0;
}
@media (min-width: 780px) {
  .doc-card { grid-template-columns: 0.85fr 1.15fr; }
}

.doc-card__media {
  position: relative;
}
.doc-card__media img {
  width: 100%;
  aspect-ratio: 4 / 4.6;
  object-fit: cover;
  border-radius: 18px;
  box-shadow: var(--shadow-lg);
}

.doc-badge {
  position: absolute;
  right: -0.75rem;
  bottom: 1.75rem;
  background: var(--yellow);
  border-radius: 18px;
  padding: 0.9rem 1.2rem;
  box-shadow: var(--shadow-yellow);
  min-width: 8.5rem;
}
.doc-badge__num {
  display: block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 2.8rem;
  color: var(--ink);
  line-height: 1.1;
}
.doc-badge__label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.3;
  margin-top: 0.2rem;
}

.doc-role {
  color: var(--orange);
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 0.4rem;
}
.doc-card p.lede {
  font-size: 1rem;
}

.doc-stats { margin-top: 1.5rem; display: grid; gap: 1.1rem; }
.doc-stat__row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.98rem;
  color: var(--ink);
  margin-bottom: 0.4rem;
}
.doc-stat__pct {
  background: var(--yellow);
  border-radius: 6px;
  padding: 0.1rem 0.5rem;
  font-size: 0.88rem;
}
.doc-stat__track {
  height: 10px;
  border-radius: 999px;
  background: var(--cream-deep);
  border: 1.5px dashed var(--yellow);
  overflow: hidden;
}
.doc-stat__fill {
  height: 100%;
  background: var(--orange);
  border-radius: 999px;
}

/* skill / progress bar (animira rast pri skrolu) */
.skill { margin-top: 1.8rem; }
.skill[data-skill=""] { display: none; }
.skill__head { margin-bottom: .9rem; }
.skill__label {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--ink);
}
.skill__track {
  position: relative;
  height: 16px;
  border-radius: 999px;
  background: #EFEAE1;
  border: 2px dashed var(--yellow);
  padding: 3px;
}
.skill__fill {
  display: block;
  width: 0;
  height: 100%;
  border-radius: 999px;
  background: var(--orange);
  position: relative;
  transition: width 1.4s cubic-bezier(.25,1,.3,1);
}
.skill__badge {
  position: absolute;
  right: 0;
  top: -2.7rem;
  transform: translateX(50%);
  background: var(--yellow);
  color: var(--ink);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1rem;
  line-height: 1;
  padding: .45em .6em;
  border-radius: 8px;
  white-space: nowrap;
}
.skill__badge::after {
  content: "";
  position: absolute;
  left: 50%; bottom: -5px;
  transform: translateX(-50%);
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 6px solid var(--yellow);
}

.doc-social { display: flex; gap: 0.6rem; margin-top: 1.5rem; }
.doc-social a {
  width: 2.75rem;
  height: 2.75rem;
  display: grid;
  place-items: center;
  background: var(--yellow);
  border-radius: 14px;
  color: var(--ink);
  transition: transform 0.18s ease;
}
.doc-social a:hover { transform: translateY(-2px); color: var(--ink); }

/* ------------------------------------------------------------- kontakt */

.contact-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
}
@media (min-width: 900px) {
  .contact-grid { grid-template-columns: 0.85fr 1.15fr; align-items: stretch; }
}

.contact-info { display: grid; gap: 1rem; align-content: start; }
.contact-item {
  display: flex;
  gap: 1.1rem;
  align-items: flex-start;
  background: var(--white);
  border-radius: var(--r-md);
  padding: 1.25rem 1.35rem;
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease;
}
.contact-item:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.contact-item__icon {
  flex: none;
  width: 3rem; height: 3rem;
  display: grid; place-items: center;
  border-radius: 15px;
  background: var(--yellow);
  color: var(--ink);
}
.contact-item h3 { font-size: 1.05rem; margin-bottom: .15rem; }
.contact-item p { margin: 0; color: var(--muted); line-height: 1.5; }
.contact-item a { color: var(--muted); text-decoration: none; }
.contact-item a:hover { color: var(--orange); }

.contact-map {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  min-height: 360px;
  background: var(--sage-pale);
}
.contact-map iframe {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  border: 0; display: block;
  filter: saturate(1.05);
}
.contact-map__btn {
  position: absolute;
  left: 1.1rem; bottom: 1.1rem;
  z-index: 2;
  box-shadow: var(--shadow-md);
}

/* ------------------------------------------------------- ocena (Google) */

.rating-chip {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink);
}
.rating-chip__stars {
  display: inline-flex;
  gap: 1px;
  color: var(--yellow);
}
.rating-chip__stars svg { width: 15px; height: 15px; }
.rating-chip__text { color: var(--muted); font-weight: 500; }
.rating-chip strong { color: var(--ink); font-weight: 700; }
