/* Manrope (variable 400–800), self-hosted: latin + latin-ext cover č ć š ž đ */
@font-face { font-family: Manrope; font-style: normal; font-weight: 400 800; font-display: swap; src: url(../fonts/manrope-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: Manrope; font-style: normal; font-weight: 400 800; font-display: swap; src: url(../fonts/manrope-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; }

/* Dental Centar Počuča — site styles */
:root {
  --ink: #0F2530;
  --bg: #F6F9FA;
  --surface: #FFFFFF;
  --teal: #0E7C86;
  --teal-dark: #0B6A73;
  --teal-ink: #0B5E66;
  --teal-soft: #E3F2F3;
  --teal-tint: #E9F3F4;
  --teal-light: #7FD3D9;
  --body: #3E5560;
  --muted: #4F6670;
  --muted-2: #6B7F88;
  --line: #E1EAED;
  --line-2: #C9D8DD;
  --gold: #B7791F;
  --star: #E3A008;
  --park: #1F5FAF;
  --route: #D9480F;
  --night: #0F2530;
  --night-text: #B9CDD3;
  --radius: 20px;
  --wrap: 1240px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: Manrope, system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.5;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--teal-dark); }
a:hover { color: #084E55; }
h1, h2, h3 { margin: 0; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.section { padding-top: 96px; padding-bottom: 96px; }
.eyebrow { font-size: 13px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--teal-dark); }
.h2 { font-size: clamp(32px, 4vw, 44px); line-height: 1.1; letter-spacing: -.02em; }
.lead { font-size: 18px; line-height: 1.6; color: var(--body); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; z-index: 50; }
.skip:focus { top: 12px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 14px 26px; border-radius: 999px;
  font: inherit; font-weight: 700; font-size: 16px; text-decoration: none; cursor: pointer;
  transition: background .2s, transform .2s, box-shadow .2s;
}
.btn svg { flex: none; }
.btn--primary { background: var(--teal); color: #fff; border: 0; }
.btn--primary:hover { background: var(--teal-dark); color: #fff; }
.btn--ghost { background: var(--surface); color: var(--ink); border: 1.5px solid var(--line-2); }
.btn--ghost:hover { color: var(--ink); border-color: var(--teal); }
.btn--soft { background: var(--teal-soft); color: var(--teal-ink); border: 0; border-radius: 12px; }
.btn--soft:hover { color: var(--teal-ink); background: #D3EBED; }
.btn--sq { border-radius: 12px; padding: 0 24px; }

/* Utility bar */
.topbar { background: var(--night); color: #D7E6EA; font-size: 14px; }
.topbar .wrap { padding-top: 10px; padding-bottom: 10px; display: flex; flex-wrap: wrap; gap: 8px 28px; justify-content: space-between; }
.topbar a { color: #D7E6EA; text-decoration: none; }
.topbar a.topbar__tel { color: #fff; font-weight: 700; }
.topbar__links { display: flex; flex-wrap: wrap; gap: 24px; }

/* Header */
.header { background: var(--surface); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; }
.header .wrap { padding-top: 16px; padding-bottom: 16px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 16px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand__name { display: block; font-size: 19px; font-weight: 800; letter-spacing: -.01em; line-height: 1.1; }
.brand__sub { display: block; font-size: 12px; color: var(--muted); letter-spacing: .08em; text-transform: uppercase; }
.nav { display: flex; align-items: center; gap: 8px 28px; font-size: 15px; font-weight: 600; }
.nav a:not(.btn) { color: var(--ink); text-decoration: none; padding: 10px 0; }
.nav a:not(.btn):hover { color: var(--teal-dark); }
.nav .btn { padding: 10px 20px; min-height: 44px; font-size: 15px; }

/* Hero */
.hero { padding-top: 72px; padding-bottom: 40px; display: flex; flex-wrap: wrap; gap: 56px; align-items: center; }
.hero__text { flex: 1 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.badge { align-self: flex-start; background: var(--teal-soft); color: var(--teal-ink); font-size: 14px; font-weight: 700; padding: 8px 14px; border-radius: 999px; }
.hero h1 { font-size: clamp(40px, 5vw, 64px); line-height: 1.04; letter-spacing: -.03em; font-weight: 800; }
.hero .lead { font-size: 19px; max-width: 540px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.checks { display: flex; flex-wrap: wrap; gap: 12px 24px; font-size: 14px; color: var(--body); font-weight: 600; padding: 8px 0 0; margin: 0; list-style: none; }
.checks li { display: flex; align-items: center; gap: 8px; }
.hero__media { flex: 1 1 420px; min-width: 0; position: relative; }
.hero__media img { width: 100%; aspect-ratio: 5 / 6; object-fit: cover; border-radius: 32px; background: #D5E6EA; }
.hours-card { position: absolute; left: -24px; bottom: 40px; background: var(--surface); border-radius: 20px; padding: 18px 20px; box-shadow: 0 20px 40px rgba(15,37,48,.12); display: flex; gap: 14px; align-items: center; }
.icon-tile { width: 44px; height: 44px; border-radius: 12px; background: var(--teal-soft); display: flex; align-items: center; justify-content: center; flex: none; }
.hours-card small { display: block; font-size: 13px; color: var(--muted); }
.hours-card strong { font-size: 16px; }

/* Contact strip */
.strip { padding-bottom: 72px; }
.strip__box { background: var(--surface); border-radius: 24px; padding: 24px 28px; box-shadow: 0 1px 0 var(--line), 0 12px 32px rgba(15,37,48,.06); display: flex; flex-wrap: wrap; gap: 20px 40px; align-items: center; justify-content: space-between; }
.strip__facts { display: flex; flex-wrap: wrap; gap: 20px 48px; margin: 0; }
.strip__facts div { display: flex; flex-direction: column; gap: 4px; }
.strip__facts dt { font-size: 13px; font-weight: 700; color: var(--muted); }
.strip__facts dd { margin: 0; font-size: 18px; font-weight: 700; }
.strip__facts dd a { font-size: 24px; font-weight: 800; color: var(--ink); text-decoration: none; }

/* Trust facts */
.facts { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.facts .wrap { padding-top: 48px; padding-bottom: 48px; display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; }
.fact { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 10px; transition: transform .25s ease, box-shadow .25s ease; }
.fact:hover { transform: translateY(-4px); box-shadow: 0 14px 32px -14px rgba(15,37,48,.22); }
.fact__visual { height: 56px; display: flex; align-items: center; gap: 4px; margin-bottom: 6px; }
.fact__num { font-size: 40px; font-weight: 800; letter-spacing: -.02em; line-height: 1; }
.fact__title { font-size: 26px; font-weight: 800; letter-spacing: -.01em; line-height: 1.15; }
.fact__label { color: var(--muted); font-size: 15px; line-height: 1.5; }
.fact__link { margin-top: auto; padding-top: 6px; font-weight: 700; font-size: 15px; }
.chip { background: var(--teal-soft); color: var(--teal-ink); font-weight: 800; font-size: 14px; padding: 8px 12px; border-radius: 10px; letter-spacing: .04em; }
.fact__range { margin-left: 8px; color: var(--muted-2); font-size: 14px; font-weight: 600; }
.p-sign { width: 44px; height: 44px; border-radius: 10px; background: var(--park); color: #fff; font-weight: 800; font-size: 26px; display: flex; align-items: center; justify-content: center; margin-right: 6px; }

/* Fact animations: play when the strip scrolls into view (JS adds .is-in) */
.facts.anim .star, .facts.anim .car, .facts.anim .mate { opacity: 0; }
.facts.is-in .star { animation: pop .45s cubic-bezier(.3,1.6,.5,1) forwards; }
.facts.is-in .star:nth-child(2) { animation-delay: .13s; }
.facts.is-in .star:nth-child(3) { animation-delay: .26s; }
.facts.is-in .star:nth-child(4) { animation-delay: .39s; }
.facts.is-in .star:nth-child(5) { animation-delay: .52s; }
.facts.is-in .car { animation: park 1.4s cubic-bezier(.2,.8,.2,1) .3s forwards; }
.mate { width: 44px; height: 44px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; background: var(--teal-soft); color: var(--teal-ink); border: 3px solid var(--bg); font-weight: 800; font-size: 17px; }
.mate + .mate { margin-left: -14px; }
.facts.is-in .mate { animation: pop .45s cubic-bezier(.3,1.6,.5,1) forwards; }
.facts.is-in .mate:nth-child(2) { animation-delay: .18s; }
.facts.is-in .mate:nth-child(3) { animation-delay: .36s; }
@keyframes pop { from { transform: scale(.3); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes park { from { transform: translateX(-90px); opacity: 0; } 60% { opacity: 1; } to { transform: none; opacity: 1; } }

/* Services */
.split-head { display: flex; flex-wrap: wrap; gap: 32px; align-items: flex-end; justify-content: space-between; }
.split-head__text { flex: 1 1 400px; min-width: 0; display: flex; flex-direction: column; gap: 16px; max-width: 640px; }
.split-head img { flex: 1 1 360px; min-width: 0; max-width: 520px; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: center 35%; border-radius: 24px; background: #D5E6EA; }
.stack { display: flex; flex-direction: column; gap: 40px; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; margin: 0; padding: 0; list-style: none; }
.card { background: var(--surface); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 12px; border: 1px solid var(--line); }
.card h3 { font-size: 20px; }
.card p { color: var(--muted); line-height: 1.55; }
.icon-tile--lg { width: 48px; height: 48px; border-radius: 14px; }
.more-link { align-self: flex-start; font-weight: 700; font-size: 17px; }

/* Price list */
.prices { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.callout { flex: 0 1 380px; min-width: 0; background: #F0F7F8; border-radius: 20px; padding: 22px 24px; display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.callout strong { font-size: 17px; }
.price-cols { columns: 3 340px; column-gap: 20px; }
.price-group { break-inside: avoid; margin: 0 0 20px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 26px 14px; }
.price-group h3 { margin: 0 0 10px; font-size: 19px; display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.price-group h3 span { font-size: 13px; font-weight: 700; color: var(--muted-2); }
.price-group ul { margin: 0; padding: 0; list-style: none; font-size: 15px; color: #23404C; }
.price-group li { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 11px 0; border-top: 1px solid #EDF2F4; line-height: 1.4; }
.price { flex: none; font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.price small { font-size: 12px; font-weight: 600; color: var(--muted-2); }

/* First visit */
.dark { background: var(--night); color: #fff; }
.dark .eyebrow { color: var(--teal-light); }
.dark .lead { color: var(--night-text); }
.dark .split-head { align-items: center; }
.dark .split-head img { aspect-ratio: 4 / 3; object-position: center 40%; background: #1E3A47; }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; margin: 0; padding: 0; list-style: none; counter-reset: step; }
.steps li { display: flex; flex-direction: column; gap: 12px; border-top: 2px solid var(--teal-light); padding-top: 24px; }
.steps li::before { counter-increment: step; content: "0" counter(step); font-size: 14px; font-weight: 800; color: var(--teal-light); }
.steps h3 { font-size: 20px; }
.steps p { color: var(--night-text); line-height: 1.6; }

/* About */
.about { display: flex; flex-wrap: wrap; gap: 56px; align-items: center; }
.about img { flex: 1 1 420px; min-width: 0; width: 100%; aspect-ratio: 4 / 5; max-height: 640px; object-fit: cover; object-position: center 30%; border-radius: 28px; background: #D5E6EA; }
.about__text { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.about__text .lead { line-height: 1.65; }
.team { display: flex; flex-direction: column; gap: 12px; }
.team__title { margin: 0; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.team__list { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; }
.team__list li { display: flex; align-items: center; gap: 14px; font-size: 18px; font-weight: 700; }
.team__avatar { flex: none; width: 40px; height: 40px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; background: var(--teal-soft); color: var(--teal-ink); font-size: 16px; font-weight: 800; }
.pills { display: flex; flex-wrap: wrap; gap: 12px; margin: 0; padding: 0; list-style: none; }
.pills li { background: var(--surface); border: 1px solid var(--line); padding: 10px 16px; border-radius: 999px; font-size: 14px; font-weight: 600; }

/* Reviews */
.reviews { background: var(--teal-tint); }
.reviews .stack { gap: 32px; }
.reviews__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 20px; }
.reviews__head > div { display: flex; flex-direction: column; gap: 12px; }
.reviews__nav { display: flex; gap: 12px; }
.round-btn { width: 48px; height: 48px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--surface); color: var(--ink); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; transition: opacity .2s, border-color .2s; }
.round-btn:hover:not(:disabled) { border-color: var(--teal); }
.round-btn:disabled { opacity: .4; cursor: default; }
.track { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding: 4px 2px 8px; margin: -4px -2px 0; list-style: none; scrollbar-width: none; }
.track::-webkit-scrollbar { display: none; }
.track:focus-visible { outline-offset: 4px; border-radius: 20px; }
.review { margin: 0; flex: 0 0 max(280px, calc((100% - 40px) / 3)); scroll-snap-align: start; background: var(--surface); border-radius: var(--radius); padding: 28px; }
.review__fig { margin: 0; display: flex; flex-direction: column; gap: 16px; height: 100%; }
.strong-link { font-weight: 700; }
.review__stars { color: var(--gold); letter-spacing: 2px; }
.review blockquote { margin: 0; font-size: 17px; line-height: 1.6; flex: 1; }
.review figcaption { display: flex; align-items: center; gap: 12px; }
.avatar { width: 40px; height: 40px; border-radius: 999px; background: var(--teal-soft); color: var(--teal-ink); font-weight: 800; display: flex; align-items: center; justify-content: center; flex: none; }
.review strong { display: block; font-size: 15px; }
.review figcaption span span { color: var(--muted); font-size: 13px; font-weight: 600; }
.dots { display: flex; justify-content: center; gap: 4px; }
.dots button { width: 44px; height: 44px; border: 0; background: transparent; padding: 0; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.dots button span { display: block; height: 8px; width: 8px; border-radius: 999px; background: #B9CDD3; transition: width .25s, background .25s; }
.dots button[aria-current="true"] span { width: 28px; background: var(--teal); }
.no-js .reviews__nav, .no-js .dots { display: none; }

/* Contact */
.contact { display: flex; flex-wrap: wrap; gap: 40px; }
.contact__info { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.contact__info dl { margin: 0; display: flex; flex-direction: column; gap: 24px; }
.contact__info dl div { display: flex; flex-direction: column; gap: 6px; }
.contact__info dt { font-size: 13px; font-weight: 800; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.contact__info dd { margin: 0; font-size: 18px; line-height: 1.55; }
.contact__info dd.note { font-size: 15px; color: var(--muted); }
.contact__info dd a { font-weight: 700; }
.map { flex: 1.4 1 480px; min-width: 0; position: relative; display: block; border-radius: 28px; overflow: hidden; background: #E4ECEE; text-decoration: none; color: var(--ink); }
.map:hover { color: var(--ink); }
.map > svg { display: block; width: 100%; height: auto; }
.map__overlay { position: absolute; left: 20px; bottom: 20px; right: 230px; display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.map__legend { background: var(--surface); border-radius: 14px; padding: 10px 14px; font-size: 13px; font-weight: 700; display: inline-flex; align-items: center; gap: 10px; box-shadow: 0 10px 30px rgba(15,37,48,.12); }
.map__legend .route { width: 22px; height: 4px; border-radius: 2px; background: var(--route); flex: none; }
.map__legend .p { width: 18px; height: 18px; border-radius: 5px; background: var(--park); color: #fff; font-size: 12px; font-weight: 800; display: inline-flex; align-items: center; justify-content: center; flex: none; }
.map__card { background: var(--surface); border-radius: 16px; padding: 14px 18px; box-shadow: 0 10px 30px rgba(15,37,48,.12); display: flex; flex-direction: column; gap: 2px; }
.map__card strong { font-size: 16px; }
.map__card span { font-size: 14px; color: var(--muted); }
.map__go { position: absolute; right: 20px; bottom: 20px; background: var(--teal); color: #fff; border-radius: 999px; padding: 14px 22px; font-weight: 700; font-size: 15px; display: inline-flex; align-items: center; gap: 10px; box-shadow: 0 10px 30px rgba(15,37,48,.18); }
.map:hover .map__go { background: var(--teal-dark); }

/* Footer */
.footer { background: var(--night); color: var(--night-text); font-size: 14px; }
.footer .wrap { padding-top: 40px; padding-bottom: 40px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; }
.footer a { color: #fff; font-weight: 700; }

/* Phone */
@media (max-width: 760px) {
  .section { padding-top: 64px; padding-bottom: 64px; }
  .header { position: static; }
  .nav { width: 100%; overflow-x: auto; gap: 20px; scrollbar-width: none; }
  .nav::-webkit-scrollbar { display: none; }
  .nav a:not(.btn) { white-space: nowrap; }
  .nav .btn { margin-left: auto; white-space: nowrap; }
  .hero { padding-top: 40px; gap: 40px; }
  .hours-card { left: 12px; bottom: 12px; }
  .strip__box { padding: 20px; }
  .map { display: flex; flex-direction: column; }
  .map__overlay { position: static; padding: 16px 16px 0; }
  .map__go { position: static; margin: 12px 16px 16px; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  html, .track { scroll-behavior: auto; }
  .facts.is-in .star, .facts.is-in .car, .facts.is-in .mate { animation: none; }
  .facts.anim .star, .facts.anim .car, .facts.anim .mate { opacity: 1; }
  .fact, .fact:hover { transition: none; transform: none; }
}
