/*
Theme Name: Spela Zajsek Racunovodstvo
Theme URI: https://spelazajsek.si
Author: Rebeka Prelog
Author URI: https://spelazajsek.si
Description: Osnovna WordPress tema za prenovo racunovodske spletne strani Spela Zajsek. Mobile-first zasnova, prilagojena tudi za namizne zaslone.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: spela-zajsek
*/

/* Poppins (lokalno gostovana, latin + latin-ext za č, š, ž) */
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/poppins-400-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: "Poppins";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/poppins-400-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;
}

@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("assets/fonts/poppins-500-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: "Poppins";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("assets/fonts/poppins-500-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;
}

@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("assets/fonts/poppins-600-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: "Poppins";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("assets/fonts/poppins-600-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;
}

@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("assets/fonts/poppins-700-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: "Poppins";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("assets/fonts/poppins-700-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;
}

/* -----------------------------------------------------------
   1. CSS SPREMENLJIVKE
----------------------------------------------------------- */
:root {
  --color-bg: #f8f0e2;
  --color-bg-alt: #fbf6ea;
  --color-surface: #ffffff;
  --color-red: #c41e2e;
  --color-red-dark: #931622;
  --color-gold: #c9a227;
  --color-gold-dark: #a3811d;
  --gradient-gold: linear-gradient(100deg, #8a6a1f 0%, #d4af37 20%, #fdf1c0 45%, #d4af37 70%, #8a6a1f 100%);
  --color-dark: #2a211b;
  --color-text: #2a211b;
  --color-muted: #7a6f61;
  --color-border: #e6dac2;
  --color-tag-bg: #f0e3c9;
  --color-tag-text: #6b4f2a;

  --font-heading: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-body: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --container-width: 1140px;
  --radius-sm: 4px;
  --radius-md: 8px;
  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2.5rem;
  --space-5: 4rem;
}

/* -----------------------------------------------------------
   2. RESET / OSNOVE
----------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background-color: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 var(--space-2);
  color: var(--color-dark);
}

p {
  margin: 0 0 var(--space-2);
}

button {
  font-family: inherit;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  white-space: nowrap;
}

/* -----------------------------------------------------------
   3. LAYOUT
----------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--space-2);
  padding-right: var(--space-2);
}

.section {
  padding: var(--space-5) 0;
}

.section--alt {
  background-color: var(--color-bg-alt);
}

.section--decorated {
  position: relative;
  overflow: hidden;
}

.section-decor {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 220px;
  background-image: url("assets/img/botanical-tile.svg");
  background-repeat: repeat-y;
  background-size: 220px auto;
  opacity: 0.22;
  pointer-events: none;
  z-index: 0;
}

.section-decor--left {
  left: -60px;
  background-position: top left;
}

.section-decor--right {
  right: -60px;
  background-position: top right;
  transform: scaleX(-1);
}

.section--decorated .container {
  position: relative;
  z-index: 1;
}

@media (max-width: 767px) {
  .section-decor {
    width: 120px;
    background-size: 120px auto;
    opacity: 0.15;
  }

  .section-decor--left {
    left: -70px;
  }

  .section-decor--right {
    right: -70px;
  }
}

.section-eyebrow {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: var(--space-1);
  background: var(--gradient-gold);
  background-size: 200% auto;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-heading {
  max-width: 40rem;
  margin-bottom: var(--space-4);
}

.section-heading h2 {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
}

.section-heading p {
  color: var(--color-muted);
  font-size: 1.05rem;
}

/* -----------------------------------------------------------
   4. GUMBI
----------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.75rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn--primary {
  background-color: var(--color-red);
  color: #fff;
}

.btn--primary:hover {
  background-color: var(--color-red-dark);
}

.btn--outline {
  background-color: transparent;
  border-color: var(--color-dark);
  color: var(--color-dark);
}

.btn--outline:hover {
  background-color: var(--color-dark);
  color: #fff;
}

.btn--light {
  background-color: #fff;
  color: var(--color-red);
}

.btn--light:hover {
  background-color: var(--color-bg-alt);
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 600;
  color: var(--color-red);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}

.link-arrow:hover {
  border-color: currentColor;
}

/* -----------------------------------------------------------
   5. GLAVA / NAVIGACIJA
----------------------------------------------------------- */
.site-header {
  background-color: var(--color-dark);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  position: sticky;
  top: 0;
  z-index: 100;
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}

.site-branding {
  display: block;
  line-height: 1.1;
}

.site-logo {
  height: 44px;
  width: auto;
}

.menu-toggle {
  background: none;
  border: none;
  padding: 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--color-bg);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.primary-navigation {
  position: fixed;
  inset: 0;
  top: 65px;
  background-color: var(--color-bg);
  padding: var(--space-3) var(--space-2);
  transform: translateX(100%);
  transition: transform 0.25s ease;
  overflow-y: auto;
}

.primary-navigation.is-open {
  transform: translateX(0);
}

.primary-navigation > ul {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.primary-navigation a {
  font-size: 1.1rem;
  font-weight: 600;
  transition: color 0.2s ease;
}

.primary-navigation ul a:hover,
.primary-navigation ul a:focus-visible {
  color: var(--color-gold);
}

.primary-navigation .btn {
  margin-top: var(--space-2);
  width: 100%;
}

/* Podmeniji (Storitve, Uporabno) */
.menu-item-has-children {
  position: relative;
}

.menu-item-has-children > a {
  display: inline-block;
}

.submenu-toggle {
  position: absolute;
  top: 0;
  right: 0;
  width: 2.25rem;
  height: 2.25rem;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  color: var(--color-dark);
}

.submenu-toggle svg {
  width: 16px;
  height: 16px;
  transition: transform 0.2s ease;
}

.menu-item-has-children.is-open > .submenu-toggle svg {
  transform: rotate(180deg);
}

.sub-menu {
  list-style: none;
  margin: 0.5rem 0 0;
  padding-left: 1rem;
  border-left: 1px solid var(--color-border);
  display: none;
  flex-direction: column;
}

.menu-item-has-children.is-open > .sub-menu {
  display: flex;
}

.sub-menu li {
  padding: 0.5rem 0;
}

.sub-menu li:first-child {
  padding-top: 0;
}

.sub-menu li:last-child {
  padding-bottom: 0;
}

.sub-menu li:not(:last-child) {
  border-bottom: 1px solid var(--color-border);
}

.sub-menu a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--color-muted);
}

/* -----------------------------------------------------------
   6. HERO
----------------------------------------------------------- */
.hero {
  position: relative;
  padding-top: var(--space-5);
  padding-bottom: var(--space-5);
  background-image: url("assets/img/hero-bg.jpg");
  background-size: cover;
  background-position: left center;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(248, 240, 226, 0.96) 0%, rgba(248, 240, 226, 0.92) 40%, rgba(248, 240, 226, 0.6) 100%);
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero__content {
  max-width: 36rem;
}

.hero h1 {
  font-size: clamp(2.1rem, 6vw, 3.25rem);
}

.hero h1 .accent {
  color: var(--color-red);
}

.hero__lead {
  font-size: 1.1rem;
  color: var(--color-muted);
  max-width: 32rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-3);
  margin-top: var(--space-3);
}

/* Stats */
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-2);
  margin-top: var(--space-4);
  text-align: center;
}

.stats--duo {
  grid-template-columns: repeat(2, auto);
  justify-content: start;
  gap: var(--space-4);
  text-align: left;
}

.stats--duo .stat__number {
  font-size: 2.25rem;
}

.stat__number {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--color-gold);
  background: var(--gradient-gold);
  background-size: 200% auto;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-eyebrow,
.stat__number {
  animation: sz-gold-shimmer 5s ease-in-out infinite;
}

@keyframes sz-gold-shimmer {
  0%,
  100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .section-eyebrow,
  .stat__number {
    animation: none;
  }
}

.stat__label {
  font-size: 0.8rem;
  color: var(--color-muted);
}

/* -----------------------------------------------------------
   7. KARTICE STORITEV
----------------------------------------------------------- */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-3);
}

.service-card {
  display: block;
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-3);
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.service-card:hover {
  border-color: var(--color-gold);
  transform: translateY(-2px);
}

.icon-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid var(--color-gold);
  color: var(--color-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-2);
}

.icon-circle svg {
  width: 20px;
  height: 20px;
}

.service-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.4rem;
}

.service-card p {
  color: var(--color-muted);
  margin-bottom: 0;
  font-size: 0.97rem;
}

.service-card__list {
  margin-top: var(--space-2);
}

.service-card__list li {
  position: relative;
  padding-left: 1.1rem;
  margin-bottom: 0.4rem;
  font-size: 0.95rem;
  color: var(--color-muted);
}

.service-card__list li::before {
  content: "\2014";
  position: absolute;
  left: 0;
  color: var(--color-gold);
}

/* Numbered service sections (page-storitve) */
.service-detail {
  display: grid;
  gap: var(--space-2);
  padding: var(--space-4) 0;
  border-bottom: 1px solid var(--color-border);
}

.service-detail:last-of-type {
  border-bottom: none;
}

.service-detail__number {
  font-family: var(--font-heading);
  color: var(--color-gold);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.service-detail h2 {
  font-size: 1.5rem;
}

.service-detail p {
  color: var(--color-muted);
}

/* -----------------------------------------------------------
   7b. DAVČNI KAŽIPOTI (naslovnica - teaser)
----------------------------------------------------------- */
.kazipoti-teaser {
  max-width: 38rem;
  margin: 0 auto;
  text-align: center;
}

.kazipoti-teaser__badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin: var(--space-2) 0 var(--space-3);
}

/* -----------------------------------------------------------
   8. PRISTOP / CITAT
----------------------------------------------------------- */
.approach__text {
  max-width: 34rem;
}

.approach blockquote {
  margin: var(--space-3) 0 0;
  padding-left: var(--space-2);
  border-left: 3px solid var(--color-gold);
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--color-dark);
}

/* -----------------------------------------------------------
   9. BLOG / VSEBINE
----------------------------------------------------------- */
.posts-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-3);
}

.post-card {
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.post-card__media {
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, #e9dcc0, #d9c79f);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-gold);
}

.post-card__media svg {
  width: 40px;
  height: 40px;
}

.post-card__body {
  padding: var(--space-3);
}

.tag {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border: 1px solid var(--color-gold);
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--color-gold);
  background-color: var(--color-tag-bg);
  margin-bottom: var(--space-1);
}

.post-card h3 {
  font-size: 1.1rem;
  margin: 0.4rem 0 0.5rem;
}

.post-card__excerpt {
  color: var(--color-muted);
  font-size: 0.95rem;
}

.post-card__meta {
  color: var(--color-muted);
  font-size: 0.8rem;
  margin-top: var(--space-2);
}

/* Filter pills (page-vsebine) */
.filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: var(--space-4);
  overflow-x: auto;
  padding-bottom: 0.25rem;
}

.filter-pill {
  flex-shrink: 0;
  padding: 0.5rem 1.1rem;
  border-radius: 999px;
  border: 1px solid var(--color-border);
  background-color: var(--color-surface);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-text);
}

.filter-pill.is-active,
.filter-pill:hover {
  background-color: var(--color-red);
  border-color: var(--color-red);
  color: #fff;
}

/* -----------------------------------------------------------
   10. TESTIMONIAL / CTA
----------------------------------------------------------- */
.testimonial-carousel {
  position: relative;
  background-color: var(--color-dark);
  color: #f4ede0;
  border-radius: var(--radius-md);
  padding: var(--space-4);
  min-height: 11rem;
}

.testimonial-slides {
  display: grid;
}

.testimonial-slide {
  grid-area: 1 / 1;
  visibility: hidden;
  opacity: 0;
  transform: translateX(32px);
  transition: opacity 0.6s ease, transform 0.6s ease, visibility 0.6s;
}

.testimonial-slide.is-active {
  visibility: visible;
  opacity: 1;
  transform: translateX(0);
}

.testimonial-slide blockquote {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  line-height: 1.7;
  margin: 0 0 var(--space-2);
}

.testimonial-slide cite {
  font-style: normal;
  color: #c8b99e;
  font-size: 0.9rem;
}

.testimonial-dots {
  display: flex;
  gap: 0.5rem;
  margin-top: var(--space-3);
}

.testimonial-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: none;
  padding: 0;
  background-color: rgba(244, 237, 224, 0.3);
  cursor: pointer;
}

.testimonial-dot.is-active {
  background-color: var(--color-gold);
}

.cta-banner {
  background-color: var(--color-red);
  color: #fff;
  text-align: center;
  padding: var(--space-5) var(--space-2);
}

.cta-banner h2 {
  color: #fff;
  font-size: clamp(1.5rem, 4vw, 2rem);
}

.cta-banner .btn {
  margin-top: var(--space-2);
}

.cta-box {
  background-color: var(--color-red);
  color: #fff;
  border-radius: var(--radius-md);
  text-align: center;
  padding: var(--space-4) var(--space-2);
  margin-top: var(--space-4);
}

.cta-box h2 {
  color: #fff;
  font-size: 1.4rem;
  margin-bottom: 0;
}

.cta-box p {
  color: #f0d9de;
}

.cta-box .btn {
  margin-top: var(--space-2);
}

/* -----------------------------------------------------------
   10c. KONTAKTNI OBRAZEC
----------------------------------------------------------- */
.contact-grid {
  display: grid;
  gap: var(--space-4);
}

.contact-info {
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-3);
}

.contact-info .footer-info a {
  color: var(--color-dark);
}

.contact-info .footer-info a:hover {
  color: var(--color-gold);
}

.contact-info h2 {
  font-size: 1.2rem;
}

.form-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-group {
  margin-bottom: var(--space-2);
}

.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.4rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background-color: var(--color-surface);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--color-text);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-gold);
}

.contact-form textarea {
  resize: vertical;
}

.contact-form .btn {
  margin-top: var(--space-1);
}

.form-notice {
  padding: 0.9rem 1.1rem;
  border-radius: var(--radius-sm);
  margin-bottom: var(--space-3);
  font-size: 0.95rem;
}

.form-notice--success {
  background-color: #eaf3ea;
  color: #2e5e33;
  border: 1px solid #bcdcc0;
}

.form-notice--error {
  background-color: #f8e6e6;
  color: var(--color-red-dark);
  border: 1px solid #e9bcbc;
}

/* -----------------------------------------------------------
   10b. VSEBINA STRANI / OBJAVE (urejevalnik bloki)
----------------------------------------------------------- */
.entry-content h2 {
  font-size: 1.5rem;
  margin-top: var(--space-4);
}

.entry-content h3 {
  font-size: 1.2rem;
  margin-top: var(--space-3);
}

.entry-content p {
  color: var(--color-text);
}

.entry-content ul,
.entry-content ol {
  margin: 0 0 var(--space-2);
  padding-left: 1.25rem;
}

.entry-content ul {
  list-style: disc;
}

.entry-content ol {
  list-style: decimal;
}

.entry-content li {
  margin-bottom: 0.4rem;
}

.entry-content a {
  color: var(--color-red);
  text-decoration: underline;
}

.entry-content img {
  border-radius: var(--radius-md);
  margin: var(--space-2) 0;
}

.entry-content blockquote {
  margin: var(--space-3) 0;
  padding-left: var(--space-2);
  border-left: 3px solid var(--color-gold);
  font-style: italic;
  color: var(--color-muted);
}

/* Podkategorije (npr. "Uporabno" -> Zakonodajne novosti / Vsebine iz prakse) */
.category-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: var(--space-4);
}

.category-pill {
  padding: 0.5rem 1.1rem;
  border-radius: 999px;
  border: 1px solid var(--color-border);
  background-color: var(--color-surface);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-text);
}

.category-pill.is-active {
  background-color: var(--color-red);
  border-color: var(--color-red);
  color: #fff;
}

/* -----------------------------------------------------------
   11. NOGA
----------------------------------------------------------- */
.site-footer {
  background-color: var(--color-dark);
  color: #fff;
  padding: var(--space-5) 0 var(--space-3);
}

.footer-heading {
  color: #fff;
  font-size: 1.1rem;
  margin-bottom: var(--space-2);
}

.footer-columns {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.footer-info {
  font-size: 0.95rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.footer-info li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
}

.footer-info svg {
  flex-shrink: 0;
  width: 17px;
  height: 17px;
  margin-top: 0.1rem;
}

.footer-info a,
.footer-info span {
  color: #fff;
  transition: color 0.2s ease;
}

.footer-info a:hover {
  color: var(--color-gold);
}

.footer-social {
  display: flex;
  gap: 0.6rem;
}

.footer-social__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1.5px solid #fff;
  color: #fff;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.footer-social__icon svg {
  width: 18px;
  height: 18px;
}

.footer-social__icon:hover {
  color: var(--color-gold);
  border-color: var(--color-gold);
}

.footer-bottom {
  margin-top: var(--space-4);
  padding-top: var(--space-2);
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.65);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.25rem 1rem;
}

.footer-bottom p {
  margin: 0;
}

/* -----------------------------------------------------------
   12. ODZIVNOST (TABLET / DESKTOP)
----------------------------------------------------------- */
@media (min-width: 768px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .posts-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats {
    max-width: 30rem;
  }
}

@media (min-width: 1024px) {
  .menu-toggle {
    display: none;
  }

  .primary-navigation {
    position: static;
    top: auto;
    transform: none;
    padding: 0;
    background-color: transparent;
    overflow: visible;
    display: flex;
    align-items: center;
    gap: var(--space-4);
  }

  .primary-navigation > ul {
    flex-direction: row;
    align-items: center;
    gap: var(--space-3);
  }

  .primary-navigation a {
    font-size: 0.95rem;
  }

  .primary-navigation > ul > li > a {
    color: var(--color-bg);
  }

  .sub-menu a {
    color: var(--color-text);
  }

  .primary-navigation .btn {
    margin-top: 0;
    width: auto;
  }

  .menu-item-has-children {
    display: flex;
    align-items: center;
    padding-bottom: 0.75rem;
    margin-bottom: -0.75rem;
  }

  .submenu-toggle {
    position: static;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.25rem;
    height: 1.25rem;
    margin-left: 0.1rem;
    color: var(--color-bg);
  }

  .submenu-toggle svg {
    width: 13px;
    height: 13px;
  }

  .menu-item-has-children:hover .submenu-toggle,
  .submenu-toggle:hover,
  .submenu-toggle:focus-visible {
    color: var(--color-gold);
  }

  .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: 0;
    padding: 0.75rem;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    background-color: var(--color-surface);
    box-shadow: 0 8px 24px rgba(42, 33, 27, 0.08);
    min-width: 15rem;
    z-index: 10;
  }

  .menu-item-has-children:hover > .sub-menu,
  .menu-item-has-children.is-open > .sub-menu,
  .menu-item-has-children:focus-within > .sub-menu {
    display: flex;
  }

  .sub-menu a {
    font-size: 0.9rem;
  }

  .site-header__inner {
    gap: var(--space-3);
  }

  .hero__actions {
    margin-top: var(--space-4);
  }

  .stats {
    justify-content: flex-start;
    text-align: left;
  }

  .approach__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4);
    align-items: start;
  }

  .posts-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .service-detail {
    grid-template-columns: 160px 1fr;
    gap: var(--space-4);
    align-items: start;
  }

  .footer-columns {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: var(--space-4);
  }

  .contact-grid {
    grid-template-columns: 0.9fr 1.1fr;
    align-items: start;
  }
}

@media (min-width: 1200px) {
  .hero__content {
    max-width: 32rem;
  }
}

/* -----------------------------------------------------------
   13. ANIMACIJE OB NALAGANJU / PRISKROLANJU
   (navdih: loop.si - postopen prikaz z zamikom)
----------------------------------------------------------- */
@media (prefers-reduced-motion: no-preference) {
  .anim {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s ease, transform 0.7s ease;
  }

  .anim.anim-down {
    transform: translateY(-16px);
  }

  .anim.is-visible {
    opacity: 1;
    transform: translateY(0);
  }

  .anim-delay-1 {
    transition-delay: 0.12s;
  }

  .anim-delay-2 {
    transition-delay: 0.24s;
  }

  .anim-delay-3 {
    transition-delay: 0.36s;
  }

  .anim-delay-4 {
    transition-delay: 0.48s;
  }
}


/* WPForms obrazec na strani Kontakt (če je vstavljen) */
.contact-form-wrap .wpforms-container .wpforms-field {
  padding: 0 0 var(--space-2);
}

.contact-form-wrap .wpforms-container .wpforms-field-label {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--color-text);
}

.contact-form-wrap .wpforms-container input[type="text"],
.contact-form-wrap .wpforms-container input[type="email"],
.contact-form-wrap .wpforms-container input[type="tel"],
.contact-form-wrap .wpforms-container textarea {
  max-width: 100%;
  width: 100%;
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background-color: var(--color-surface);
  font-family: var(--font-body);
  font-size: 0.95rem;
}

.contact-form-wrap .wpforms-container input:focus,
.contact-form-wrap .wpforms-container textarea:focus {
  outline: none;
  border-color: var(--color-gold);
}

.contact-form-wrap .wpforms-container .wpforms-submit {
  background-color: var(--color-red);
  color: #fff;
  border: 0;
  border-radius: var(--radius-sm);
  padding: 0.85rem 1.75rem;
  font-weight: 600;
  font-family: var(--font-body);
  cursor: pointer;
}

.contact-form-wrap .wpforms-container .wpforms-submit:hover {
  background-color: var(--color-red-dark);
}
