/**
 * Turbo Partviš – global design system v1.0.1.
 * Body content uses HTML widgets with classes tp-*; avoid Elementor site kit visual overrides.
 */
:root {
  --tp-navy: #082b45;
  --tp-navy-deep: #03293e;
  --tp-teal: #00aca6;
  --tp-teal-dark: #058f89;
  --tp-mist: #eaf8f8;
  --tp-ink: #12324a;
  --tp-muted: #566d7a;
  --tp-white: #fff;
  --tp-radius: 16px;
  --tp-max: 1240px;
  --tp-shadow: 0 8px 24px rgba(5, 46, 66, .09);
}
html { scroll-behavior: smooth; }
*, *::before, *::after { box-sizing: border-box; }
body.tp-body { margin: 0; color: var(--tp-ink); background: var(--tp-white); font-family: 'Inter', 'Segoe UI', Arial, sans-serif; font-size: 16px; line-height: 1.55; }
.tp-body a { text-decoration: none; }
.tp-body a:focus-visible, .tp-body button:focus-visible { outline: 3px solid var(--tp-teal); outline-offset: 3px; }
.tp-site { min-height: 100vh; display: flex; flex-direction: column; }
.tp-main { flex: 1 0 auto; width: 100%; min-width: 0; }
.tp-container { width: min(calc(100% - 48px), var(--tp-max)); margin-inline: auto; }
.tp-skip { position: absolute; left: 12px; top: -80px; padding: 10px 16px; background: #fff; z-index: 9999; }
.tp-skip:focus { top: 8px; }

/* Real custom header, not Astra's built-in header. */
.tp-header { width: 100%; background: #fff; border-bottom: 1px solid #e8eff1; position: relative; z-index: 100; }
.tp-header__inner { display: flex; align-items: center; gap: clamp(12px, 2vw, 30px); min-height: 64px; }
.tp-brand { display: block; flex: 0 0 auto; width: clamp(170px, 19vw, 220px); }
.tp-brand img { display: block; max-width: 100%; width: 100%; height: auto; }
.tp-nav { flex: 1 1 auto; }
.tp-nav__list { display: flex; align-items: center; justify-content: center; list-style: none; padding: 0; margin: 0; gap: clamp(11px, 1.4vw, 22px); }
.tp-nav__list li { list-style: none; margin: 0; position: relative; }
.tp-nav__list a { display: block; color: var(--tp-navy); font-size: 13px; font-weight: 650; white-space: nowrap; padding: 12px 0; }
.tp-nav__list a:hover, .tp-nav__list .current-menu-item > a, .tp-nav__list a[aria-current="page"] { color: var(--tp-teal-dark); }
.tp-nav__list .current-menu-item > a::after, .tp-nav__list a[aria-current="page"]::after { content: ''; height: 2px; background: var(--tp-teal); display: block; }
.tp-nav__list .sub-menu { display: none; position: absolute; z-index: 10; top: 100%; left: -12px; width: max-content; min-width: 210px; padding: 8px 14px; border-radius: 12px; background: #fff; box-shadow: var(--tp-shadow); list-style: none; }
.tp-nav__list li:hover > .sub-menu, .tp-nav__list li:focus-within > .sub-menu { display: block; }
.tp-nav__list .sub-menu li { display: block; }
.tp-header__actions { display: flex; flex: 0 0 auto; align-items: center; gap: 16px; }
.tp-phone { display: inline-flex; gap: 8px; align-items: center; color: var(--tp-navy); font-size: 14px; white-space: nowrap; }
.tp-phone span { display: flex; flex-direction: column; line-height: 1.3; }
.tp-phone strong { font-size: 15px; }
.tp-phone small { font-size: 11px; font-weight: 400; color: var(--tp-muted); }
.tp-button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; background: var(--tp-teal); color: #fff !important; font-weight: 700; font-size: 14px; padding: 14px 20px; border-radius: 11px; border: 0; box-shadow: 0 5px 14px rgba(0, 172, 166, .14); transition: background .2s, transform .2s; }
.tp-button:hover { background: var(--tp-teal-dark); color: #fff !important; transform: translateY(-1px); }
.tp-menu-toggle { display: none; align-items: center; gap: 8px; border: 1px solid #dbe8ea; border-radius: 10px; background: #fff; color: var(--tp-navy); cursor: pointer; padding: 10px 12px; font: inherit; font-size: 13px; font-weight: 650; }
.tp-menu-toggle__lines { width: 19px; height: 14px; border-top: 2px solid currentColor; border-bottom: 2px solid currentColor; position: relative; }
.tp-menu-toggle__lines::after { content: ''; position: absolute; left: 0; right: 0; top: 5px; border-top: 2px solid currentColor; }

/* Elementor HTML content: strip Astra/Elementor inherited white space only on child-rendered pages. */
.tp-page, .tp-page__content { margin: 0; padding: 0; width: 100%; max-width: none; }
.tp-page__content > :first-child { margin-top: 0; }
.tp-page__content > :last-child { margin-bottom: 0; }
.tp-page__content .elementor { max-width: none; }
.tp-page__content .elementor-widget-html { margin: 0; }
.tp-page__content .elementor-widget-container { min-width: 0; }

/* Standalone post fallback */
.tp-post-list, .tp-single, .tp-notfound { padding-block: 56px 76px; }
.tp-post-card { border-bottom: 1px solid #e3eded; padding: 20px 0; }
.tp-post-card h2 a, .tp-single h1 { color: var(--tp-navy); }

/* Custom footer; no Astra footer builder content. */
.tp-footer { color: #e8f5f7; background: linear-gradient(130deg, #03273d 0%, #002439 55%, #032d46 100%); }
.tp-footer__grid { display: grid; grid-template-columns: 1.36fr .72fr 1.2fr 1.04fr; gap: 32px; padding-block: 30px 26px; }
.tp-footer__brand img { display: block; width: 220px; max-width: 100%; height: auto; }
.tp-footer__brand p { max-width: 270px; margin: 12px 0 0; font-size: 13px; }
.tp-footer h2 { color: #fff; font-size: 15px; margin: 0 0 11px; }
.tp-footer p { font-size: 13px; }
.tp-footer ul { padding: 0; margin: 0; list-style: none; }
.tp-footer li { margin-bottom: 5px; font-size: 13px; line-height: 1.4; }
.tp-footer a { color: #e8f5f7; }
.tp-footer a:hover { color: #82ebe4; }
.tp-footer__cta { margin-top: 10px; }
.tp-footer__bottom { border-top: 1px solid rgba(255,255,255,.2); }
.tp-footer__bottom-inner { display: flex; justify-content: space-between; align-items: center; gap: 18px; padding-block: 15px; font-size: 12px; }
.tp-footer__bottom-inner > div { display: flex; gap: 20px; }
.tp-footer__bottom a { font-size: 12px; }

@media (max-width: 1050px) {
  .tp-header__inner { gap: 12px; }
  .tp-header__actions { gap: 10px; }
  .tp-button--header { padding-inline: 13px; font-size: 12px; }
  .tp-phone strong { font-size: 12px; }
}
@media (max-width: 900px) {
  .tp-header__inner { min-height: 76px; flex-wrap: wrap; justify-content: space-between; }
  .tp-brand { width: 195px; }
  .tp-menu-toggle { display: inline-flex; margin-left: auto; }
  .tp-header__actions { order: 2; }
  .tp-nav { display: none; order: 3; flex-basis: 100%; width: 100%; padding-bottom: 12px; }
  .tp-nav.is-open { display: block; }
  .tp-nav__list { display: block; padding: 9px 0; }
  .tp-nav__list > li { border-bottom: 1px solid #e8eff1; }
  .tp-nav__list a { padding: 13px 10px; white-space: normal; }
  .tp-nav__list .sub-menu { position: static; display: block; width: 100%; box-shadow: none; background: #f5fbfb; padding-left: 24px; }
  .tp-footer__grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 620px) {
  .tp-phone { display: none; }
  .tp-container { width: min(calc(100% - 32px), var(--tp-max)); }
  .tp-header__inner { min-height: 70px; gap: 10px; }
  .tp-brand { width: 170px; }
  .tp-button--header { display: none; }
  .tp-footer__grid { grid-template-columns: 1fr; gap: 28px; padding-block: 35px; }
  .tp-footer__bottom-inner { align-items: flex-start; flex-direction: column; }
  .tp-footer__bottom-inner > div { flex-wrap: wrap; gap: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .tp-button { transition: none; }
}

/* v1.0.1: footer follows approved mockup; no e-mail or opening-hours panel. */
.tp-footer__grid > div:not(:first-child) { border-left: 1px solid rgba(255,255,255,.27); padding-left: 26px; }
.tp-footer__brand img { object-fit: contain; object-position: left center; }
.tp-footer__bottom-inner > div a + a { border-left: 1px solid rgba(255,255,255,.4); padding-left: 18px; }
@media (max-width: 1050px) and (min-width: 901px) {
  .tp-brand { width: 185px; }
  .tp-nav__list { gap: 11px; }
  .tp-nav__list a { font-size: 12px; }
  .tp-header__inner { gap: 14px; }
}
@media (max-width: 900px) {
  .tp-footer__grid > div:nth-child(3) { border-left: 0; padding-left: 0; }
}
@media (max-width: 620px) {
  .tp-footer__grid > div:not(:first-child) { border-left: 0; border-top: 1px solid rgba(255,255,255,.15); padding-left: 0; padding-top: 20px; }
  .tp-footer__bottom-inner > div a + a { padding-left: 10px; }
}

/* v1.0.2 — fixed desktop telephone label, 5-column footer and teal mobile menu. */
.tp-header .tp-phone span { align-items: center; text-align: center; }
.tp-header .tp-phone .tp-phone__subtitle { display:block; text-align:center; width:100%; }
.tp-footer__grid { grid-template-columns: minmax(190px,1.35fr) minmax(90px,.67fr) minmax(175px,1.15fr) minmax(170px,1.05fr) minmax(150px,.9fr); gap: clamp(12px,1.6vw,24px); }
.tp-footer__grid > div:not(:first-child) { border-left:1px solid rgba(255,255,255,.28); padding-left:clamp(12px,1.4vw,22px); }
.tp-footer__contacts { display:grid; gap:8px; }
.tp-footer__contact { display:flex; align-items:flex-start; gap:9px; margin:0; line-height:1.45; overflow-wrap:anywhere; }
.tp-footer__contact svg,.tp-footer__hours-body > svg { flex:0 0 18px; width:18px; height:18px; fill:none; stroke:currentColor; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; color:white; margin-top:1px; }
.tp-footer__hours-body { display:flex; align-items:flex-start; gap:8px; }
.tp-footer__hours dl { margin:0; flex:1; font-size:12px; }
.tp-footer__hours dl > div { display:flex; justify-content:space-between; gap:8px; margin-bottom:5px; }
.tp-footer__hours dt { white-space:nowrap; font-weight:400; }
.tp-footer__hours dd { margin:0; text-align:right; }
/* Override Astra default button active/focus blue with adequate specificity. */
.tp-body .tp-header .tp-menu-toggle,
.tp-body .tp-header .tp-menu-toggle:hover,
.tp-body .tp-header .tp-menu-toggle:focus,
.tp-body .tp-header .tp-menu-toggle:active,
.tp-body .tp-header .tp-menu-toggle[aria-expanded="true"] {
  background: #fff !important; color: var(--tp-navy) !important;
  border:1px solid var(--tp-teal) !important;
  box-shadow:none !important; background-image:none !important;
}
.tp-body .tp-header .tp-menu-toggle[aria-expanded="true"] {
  background: var(--tp-mist) !important; color:var(--tp-teal-dark) !important;
}
.tp-body .tp-header .tp-menu-toggle:focus-visible { outline:2px solid var(--tp-teal) !important; outline-offset:3px; }
.tp-body .tp-header .tp-nav.is-open { background:#fff; }
.tp-body .tp-header .tp-nav a:focus,.tp-body .tp-header .tp-nav a:hover { color:var(--tp-teal-dark); background:var(--tp-mist); }
@media(max-width:1150px) {
  .tp-footer__grid { grid-template-columns:repeat(3,minmax(0,1fr)); gap:26px 18px; }
  .tp-footer__grid > div:nth-child(4) { border-left:0; padding-left:0; }
}
@media(max-width:900px) {
  .tp-footer__grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .tp-footer__grid > div:nth-child(odd) { border-left:0; padding-left:0; }
  .tp-footer__grid > div:nth-child(even) { border-left:1px solid rgba(255,255,255,.24); padding-left:18px; }
  .tp-header__actions { order:1; margin-left:auto; }
  .tp-menu-toggle { order:2; margin-left:0; }
  .tp-nav { order:3; }
  .tp-header__inner { row-gap:0; }
  .tp-nav.is-open { padding-top:6px; border-top:1px solid #eaf2f3; }
  .tp-nav__list > li > a { border-radius:8px; }
}
@media(max-width:620px) {
  .tp-header__actions { display:none; }
  .tp-menu-toggle { margin-left:auto; }
  .tp-footer__grid { grid-template-columns:1fr; gap:22px; }
  .tp-footer__grid > div:not(:first-child) { border-left:0; border-top:1px solid rgba(255,255,255,.18); padding-left:0; padding-top:20px; }
  .tp-footer__hours dl > div { justify-content:flex-start; gap:22px; }
  .tp-footer__hours dd { text-align:left; }
  .tp-footer__contact { font-size:14px; }
}

.tp-nav__mobile-actions { display:none; }
@media(max-width:900px) {
  .tp-nav__mobile-actions { display:flex; align-items:stretch; flex-wrap:wrap; gap:12px; padding:12px 0 8px; }
  .tp-nav__mobile-call { display:flex; justify-content:center; align-items:center; border:1px solid var(--tp-teal); border-radius:11px; color:var(--tp-navy) !important; font-weight:650; padding:12px; flex:1 1 210px; }
  .tp-nav__mobile-actions .tp-button { flex:1 1 160px; }
}

/* v1.0.3 — existing five-column footer: social links, full address and personal contacts. */
.tp-footer__grid { grid-template-columns: minmax(155px,1.15fr) minmax(85px,.62fr) minmax(157px,1fr) minmax(193px,1.18fr) minmax(210px,1.25fr); }
.tp-footer__brand .tp-footer__socials { display:flex; gap:9px; flex-wrap:wrap; margin-top:18px; }
.tp-footer__socials a { display:grid; place-items:center; width:37px; height:37px; border:1px solid rgba(255,255,255,.3); border-radius:10px; background:rgba(255,255,255,.065); transition:background .2s,border-color .2s; }
.tp-footer__socials a:hover,.tp-footer__socials a:focus-visible { background:var(--tp-teal); border-color:var(--tp-teal); color:#fff; }
.tp-footer__socials svg { display:block; width:19px; height:19px; fill:currentColor; }
.tp-footer__socials a:nth-child(2) svg { fill:none; stroke:currentColor; stroke-width:1.8; }
.tp-footer__contacts .tp-footer__contact, .tp-footer__people .tp-footer__contact { font-size:12px; line-height:1.5; }
.tp-footer__contact a { overflow-wrap:anywhere; }
.tp-footer__people h2 { font-size:14px; line-height:1.4; }
.tp-footer__person > strong { display:block; color:white; font-size:13px; margin-bottom:7px; }
.tp-footer__person .tp-footer__contact { margin-bottom:8px; }
.tp-footer__person + .tp-footer__person { margin-top:14px; padding-top:13px; border-top:1px solid rgba(255,255,255,.17); }
@media(max-width:1150px) {
  .tp-footer__grid { grid-template-columns:repeat(3,minmax(0,1fr)); }
}
@media(max-width:900px) {
  .tp-footer__grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media(max-width:620px) {
  .tp-footer__grid { grid-template-columns:1fr; }
  .tp-footer__people .tp-footer__contact, .tp-footer__contacts .tp-footer__contact { font-size:14px; }
}
@media(prefers-reduced-motion:reduce) { .tp-footer__socials a { transition:none; } }

/* v1.0.5 — Astra scroll-to-top: match the site's navy/teal palette. */
#ast-scroll-top,
.ast-scroll-to-top,
.ast-scroll-to-top-right,
.ast-scroll-to-top-left {
  background-color: #103A52 !important;
  color: #ffffff !important;
  border: 1px solid rgba(255,255,255,.2) !important;
  border-radius: 10px !important;
  box-shadow: 0 5px 18px rgba(8,44,70,.19);
}
#ast-scroll-top:hover,
#ast-scroll-top:focus-visible,
.ast-scroll-to-top:hover,
.ast-scroll-to-top:focus-visible {
  background-color: #008e89 !important;
  color: #ffffff !important;
}
