/* PesMobil – pasji salon, s posluhom za psa
   Barve in pisava po osnutku "Artboard 1.pdf". */

@font-face {
  font-family: "Roboto Slab";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("../fonts/roboto-slab-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: "Roboto Slab";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("../fonts/roboto-slab-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 {
  --blue: #0972b9;
  --blue-mid: #52a2d9;
  --blue-pale: #d6ebfa;
  --blue-bg-top: #d9edfa;
  --blue-bg-bottom: #a9d1ee;
  --orange-dark: #c56128;
  --orange: #f48f1f;
  --peach: #f9d0a2;
  --text: #333333;
  --text-muted: #5f6061;
  --surface: #ffffff;
  --border: #e3eef7;
  --ok: #1e7b3c;
  --err: #b3261e;
  --radius: 4px;
  --shadow: 0 1px 2px rgb(9 114 185 / 8%), 0 4px 16px rgb(9 114 185 / 8%);
  --maxw: 1140px;
  --gutter: 16px;
  --font: "Roboto Slab", Georgia, "Times New Roman", serif;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--font);
  font-weight: 400;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: linear-gradient(180deg, var(--blue-bg-top) 0, var(--blue-bg-bottom) 100%) fixed;
  background-color: var(--blue-bg-bottom);
}

img, svg, video, iframe { max-width: 100%; display: block; }
img { height: auto; }

a { color: var(--blue); text-underline-offset: 2px; }
a:hover { color: var(--orange-dark); }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; border-radius: 2px; }

h1, h2, h3, h4 { color: var(--blue); font-weight: 400; line-height: 1.25; margin: 0 0 .6em; text-wrap: balance; }
h1 { font-size: clamp(1.75rem, 4vw, 2.25rem); }
h2 { font-size: clamp(1.4rem, 3vw, 1.6rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }

.skip-link { position: absolute; left: -9999px; top: 0; background: var(--blue); color: #fff; padding: 8px 12px; z-index: 100; }
.skip-link:focus { left: 8px; top: 8px; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgb(255 255 255 / 92%);
  backdrop-filter: saturate(1.4) blur(8px);
  border-bottom: 1px solid var(--border);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--blue); }
.brand img { width: 44px; height: auto; }
.brand-name { font-size: 1.35rem; font-weight: 600; letter-spacing: .01em; }
.brand-name span { color: var(--orange-dark); }

.nav-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border: 1px solid var(--border); border-radius: var(--radius);
  background: var(--surface); color: var(--blue); cursor: pointer;
}
.nav-toggle svg { width: 22px; height: 22px; }
.site-nav { display: none; }
.site-nav.open {
  display: block; position: absolute; left: 0; right: 0; top: 100%;
  background: var(--surface); border-bottom: 1px solid var(--border); box-shadow: var(--shadow);
}
.site-nav ul { list-style: none; margin: 0; padding: 8px var(--gutter) 16px; }
.site-nav a { display: block; padding: 10px 4px; text-decoration: none; color: var(--text); }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--blue); }
.site-nav a[aria-current="page"] { font-weight: 600; }
.site-nav .nav-phone { color: var(--orange-dark); font-weight: 600; }

@media (min-width: 860px) {
  .nav-toggle { display: none; }
  .site-nav, .site-nav.open { display: block; position: static; box-shadow: none; border: 0; background: none; }
  .site-nav ul { display: flex; gap: 4px; padding: 0; align-items: center; }
  .site-nav a { padding: 8px 12px; border-radius: var(--radius); }
  .site-nav .nav-phone { margin-left: 8px; background: var(--orange); color: #fff; }
  .site-nav .nav-phone:hover { background: var(--orange-dark); color: #fff; }
}

/* ---------- Hero ---------- */
.hero { padding: 40px 0 24px; text-align: center; }
.hero-inner { display: grid; gap: 24px; justify-items: center; }
.hero-logo { width: min(260px, 70vw); }
.hero-logo img { width: 100%; }
.hero-tagline { color: var(--orange-dark); font-size: 1.15rem; margin: -6px 0 0; }
.hero h1 { margin: 0; font-size: clamp(1.5rem, 3.4vw, 1.9rem); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; }

.circle-btn {
  display: grid; place-items: center; align-content: center; gap: 6px;
  width: 132px; height: 132px; border-radius: 50%;
  color: #fff; text-decoration: none; font-size: .95rem; text-align: center; padding: 10px;
  box-shadow: 0 6px 18px rgb(0 0 0 / 12%);
  transition: transform .15s ease, box-shadow .15s ease;
}
.circle-btn svg { width: 36px; height: 36px; fill: currentColor; opacity: .9; }
.circle-btn:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 10px 22px rgb(0 0 0 / 16%); }
.circle-btn--mail { background: var(--orange-dark); }
.circle-btn--phone { background: var(--orange); }

@media (min-width: 860px) {
  .hero { padding: 56px 0 32px; }
  .hero-inner { grid-template-columns: 1fr auto 1fr; align-items: center; }
  .hero-inner .circle-btn--mail { justify-self: end; grid-column: 1; grid-row: 1; }
  .hero-inner .hero-center { grid-column: 2; grid-row: 1; }
  .hero-inner .circle-btn--phone { justify-self: start; grid-column: 3; grid-row: 1; }
  .hero-ctas { display: contents; }
  .circle-btn { width: 160px; height: 160px; font-size: 1rem; }
}

/* ---------- Cards / sections ---------- */
.section { padding: 20px 0; }
.card {
  background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 24px 20px;
}
@media (min-width: 640px) { .card { padding: 28px 32px; } }

.grid-2 { display: grid; gap: 20px; }
@media (min-width: 860px) { .grid-2 { grid-template-columns: 1.6fr 1fr; align-items: start; } }

.lead { font-size: .95rem; color: var(--text-muted); }

.check-list { list-style: none; margin: 0; padding: 0; }
.check-list li { position: relative; padding: 4px 0 4px 30px; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: .6em; width: 18px; height: 18px; border-radius: 50%;
  background: var(--blue-pale) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3 3 7-7' fill='none' stroke='%230972b9' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat;
}

/* Izbrana ponudba */
.offer { display: grid; gap: 4px; margin: 8px 0 12px; }
.offer-row { display: grid; grid-template-columns: 1fr 72px auto; align-items: center; gap: 12px; min-height: 92px; border-bottom: 1px solid var(--border); }
.offer-row:last-child { border-bottom: 0; }
.offer-row .name { color: var(--text-muted); }
.offer-row .name small { display: block; font-size: .8rem; }
.offer-row img { justify-self: center; max-height: 84px; width: auto; }
.offer-row .price { font-weight: 600; white-space: nowrap; }
.more-link { display: inline-block; color: var(--orange-dark); text-decoration: none; float: right; }
.more-link:hover { text-decoration: underline; }

.hours {
  display: flex; align-items: center; gap: 14px; margin-top: 20px;
  background: var(--orange-dark); color: #fff; padding: 12px 16px; border-radius: var(--radius); line-height: 1.35;
}
.hours svg { flex: none; width: 34px; height: 34px; }

/* Cenik */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 0 0 1em; }
.price-table { width: 100%; border-collapse: collapse; min-width: 520px; font-size: .98rem; }
.price-table th, .price-table td { padding: 10px 12px; text-align: left; border-bottom: 1px solid var(--border); }
.price-table thead th { color: var(--blue); font-weight: 600; background: var(--blue-pale); vertical-align: bottom; }
.price-table thead th small { display: block; font-weight: 400; color: var(--text-muted); }
.price-table tbody th { font-weight: 400; }
.price-table td { white-space: nowrap; font-variant-numeric: tabular-nums; }
.price-table tbody tr:nth-child(even) { background: #f7fbfe; }

/* Galerija */
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin: 0; padding: 0; list-style: none; }
@media (min-width: 860px) { .gallery { grid-template-columns: repeat(4, 1fr); } }
.gallery img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius); }

/* Reference */
.quote { margin: 0; padding: 4px 0 0 20px; border-left: 4px solid var(--peach); }
.quote p { font-size: 1.1rem; font-style: italic; }
.quote footer { color: var(--orange-dark); }

/* Lokacija */
.map-box {
  position: relative; aspect-ratio: 16 / 10; border-radius: var(--radius); overflow: hidden;
  background: var(--blue-pale); display: grid; place-items: center; text-align: center; padding: 16px;
}
.map-box iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.address { font-style: normal; }

/* Kontakt */
.form { display: grid; gap: 14px; }
@media (min-width: 640px) { .form .row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; } }
.field { display: grid; gap: 4px; }
.field label { font-size: .95rem; color: var(--text-muted); }
.field input, .field textarea {
  font: inherit; font-size: 1rem; color: var(--text);
  width: 100%; padding: 10px 12px; border: 1px solid #c9dcec; border-radius: var(--radius); background: #fff;
}
.field input:focus, .field textarea:focus { outline: 2px solid var(--blue-mid); outline-offset: 0; border-color: var(--blue-mid); }
.field textarea { min-height: 140px; resize: vertical; }
.hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.consent { font-size: .85rem; color: var(--text-muted); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: inherit; font-size: 1rem; font-weight: 600; cursor: pointer;
  padding: 12px 24px; border: 0; border-radius: var(--radius);
  background: var(--orange); color: #fff; text-decoration: none; min-height: 44px;
}
.btn:hover { background: var(--orange-dark); color: #fff; }
.btn[disabled] { opacity: .6; cursor: progress; }
.btn--outline { background: transparent; color: var(--blue); border: 1px solid var(--blue); }
.btn--outline:hover { background: var(--blue); color: #fff; }

.form-status { padding: 12px 14px; border-radius: var(--radius); font-size: .95rem; }
.form-status[hidden] { display: none; }
.form-status.ok { background: #e7f5ec; color: var(--ok); }
.form-status.err { background: #fbeaea; color: var(--err); }

.contact-list { list-style: none; padding: 0; margin: 0 0 1em; }
.contact-list li { padding: 4px 0; }

/* ---------- Članki (nasveti) ---------- */
.breadcrumb { font-size: .9rem; color: var(--text-muted); margin: 20px 0 8px; }
.breadcrumb a { color: var(--text-muted); }
.article { max-width: 820px; margin: 0 auto 24px; }
.article h1 { margin-bottom: .4em; }
.article .meta { color: var(--text-muted); font-size: .9rem; margin-bottom: 1.2em; }
.article h2 { font-size: 1.3rem; margin-top: 1.4em; }
.article figure { margin: 0 0 1.2em; }
.article figure img { border-radius: var(--radius); }
.article figcaption { font-size: .8rem; color: var(--text-muted); margin-top: 4px; }
.article .float { max-width: 100%; }
@media (min-width: 640px) {
  .article .float { float: left; max-width: 300px; margin: 4px 24px 12px 0; }
  .article .float.right { float: right; margin: 4px 0 12px 24px; }
}
.article::after { content: ""; display: block; clear: both; }
.article ol, .article ul { padding-left: 1.3em; margin: 0 0 1em; }
.article-cta { clear: both; margin-top: 28px; padding: 18px 20px; background: var(--blue-pale); border-radius: var(--radius); }
.article-cta p { margin: 0 0 10px; }

.tips { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
@media (min-width: 640px) { .tips { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .tips { grid-template-columns: repeat(3, 1fr); } }
.tip { display: flex; flex-direction: column; height: 100%; background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; text-decoration: none; color: var(--text); }
.tip img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.tip div { padding: 14px 16px 18px; }
.tip h2 { font-size: 1.15rem; margin: 0 0 6px; }
.tip p { font-size: .92rem; color: var(--text-muted); margin: 0; }
.tip:hover h2 { color: var(--orange-dark); }

.related { margin-top: 20px; }
.related ul { padding-left: 1.2em; }

/* ---------- Footer ---------- */
.site-footer { margin-top: 32px; padding: 28px 0 96px; color: var(--blue); font-size: .95rem; }
.site-footer .container { display: grid; gap: 10px; justify-items: center; text-align: center; }
.site-footer ul { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 18px; margin: 0; padding: 0; }
.site-footer a { color: var(--blue); }
.site-footer .fb { display: inline-flex; align-items: center; gap: 6px; }
.site-footer .fb svg { width: 18px; height: 18px; fill: currentColor; }
@media (min-width: 860px) { .site-footer { padding-bottom: 32px; } }

/* Gumb "pokliči" na mobilnih napravah */
.call-now {
  position: fixed; right: 18px; bottom: 18px; z-index: 60;
  width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center;
  background: var(--orange); color: #fff; box-shadow: 0 4px 12px rgb(0 0 0 / 28%);
}
.call-now svg { width: 28px; height: 28px; fill: currentColor; }
.call-now:hover { background: var(--orange-dark); color: #fff; }
@media (min-width: 860px) { .call-now { display: none; } }

.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.not-found { text-align: center; padding: 48px 0; }
.not-found img { width: 180px; margin: 0 auto 16px; }

.clear { clear: both; }
.mb { margin-bottom: 20px; }

/* Contact buttons (static site: mailto/tel instead of the form) */
.contact-buttons { display: flex; flex-wrap: wrap; gap: 12px; margin: 8px 0 4px; }
