/*
Theme Name: Blocksy Child
Template: blocksy
Author: 5P skupina
Description: Blocksy child tema za aeroprint.si
Version: 2.0.0
Text Domain: blocksy-child
*/

/* =====================================================
   AERO PRINT — Premium Design System
   DESIGN_VARIANCE: 8 | MOTION: CSS cubic-bezier
   Tipografija: Outfit | Palette: Red #ED3238 + Teal #028090
   ===================================================== */

/* --- TOKENS ---------------------------------------- */
:root {
  --ap-red:          #ED3238;
  --ap-red-dark:     #c42028;
  --ap-red-light:    #fdf1f1;
  --ap-teal:         #028090;
  --ap-teal-light:   #02C39A;
  --ap-black:        #111110;
  --ap-text:         #2a2a28;
  --ap-muted:        #6b6a68;
  --ap-bg:           #ffffff;
  --ap-warm:         #f0eeeb;
  --ap-border:       #e6e3df;
  --ap-font:         'Outfit', system-ui, -apple-system, sans-serif;
  --ap-ease:         cubic-bezier(0.16, 1, 0.3, 1);
  --ap-container:    1240px;
  --ap-radius:       4px;

  --theme-palette-color-1:     #ED3238;
  --theme-palette-color-2:     #028090;
  --theme-palette-color-3:     #02C39A;
  --theme-palette-color-4:     #111110;
  --theme-link-initial-color:  #ED3238;
  --theme-link-hover-color:    #c42028;
  --theme-button-initial-color:#ED3238;
  --theme-headings-color:      #111110;
  --theme-text-color:          #2a2a28;
  --theme-border-color:        #e6e3df;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--ap-font);
  color: var(--ap-text);
  background: var(--ap-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

a { color: var(--ap-red); text-decoration: none; transition: color 0.2s var(--ap-ease); }
a:hover { color: var(--ap-red-dark); }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--ap-font);
  color: var(--ap-black);
  line-height: 1.1;
  letter-spacing: -0.02em;
  font-weight: 700;
}

h1 { font-size: clamp(2.4rem, 5.5vw, 4.5rem); letter-spacing: -0.03em; }
h2 { font-size: clamp(1.9rem, 3.5vw, 3rem); }
h3 { font-size: clamp(1.1rem, 1.8vw, 1.4rem); letter-spacing: -0.01em; }
p  { line-height: 1.68; color: var(--ap-muted); max-width: 60ch; }

.site { display: flex; flex-direction: column; min-height: 100dvh; }
.site-main { flex: 1; }

.ct-container, .ct-container-fluid {
  max-width: var(--ap-container);
  padding-left: clamp(1.25rem, 4vw, 2.5rem);
  padding-right: clamp(1.25rem, 4vw, 2.5rem);
  margin: 0 auto;
}

.ap-container {
  max-width: var(--ap-container);
  padding-left: clamp(1.25rem, 4vw, 2.5rem);
  padding-right: clamp(1.25rem, 4vw, 2.5rem);
  margin: 0 auto;
}

.ap-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ap-red);
}
.ap-label::before {
  content: '';
  display: block;
  width: 20px;
  height: 2px;
  background: var(--ap-red);
  flex-shrink: 0;
}

/* --- BUTTONS --------------------------------------- */
.ap-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--ap-font);
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: var(--ap-radius);
  transition: all 0.25s var(--ap-ease);
  cursor: pointer;
  white-space: nowrap;
  text-decoration: none;
}
.ap-btn--primary {
  background: var(--ap-red);
  color: #fff !important;
  padding: 0.85rem 2rem;
  box-shadow: 0 1px 3px rgba(237,50,56,0.25), 0 4px 16px rgba(237,50,56,0.18);
}
.ap-btn--primary:hover {
  background: var(--ap-red-dark);
  color: #fff !important;
  transform: translateY(-1px);
  box-shadow: 0 2px 6px rgba(237,50,56,0.3), 0 8px 24px rgba(237,50,56,0.22);
}
.ap-btn--primary:active { transform: translateY(0) scale(0.99); }

.ap-btn--ghost {
  background: transparent;
  color: var(--ap-text) !important;
  padding: 0.85rem 1.5rem;
  border: 1.5px solid var(--ap-border);
}
.ap-btn--ghost:hover {
  border-color: var(--ap-black);
  color: var(--ap-black) !important;
  transform: translateY(-1px);
}
/* Ghost button na temnem ozadju — telefonska rdeča */
.ap-services[style*="1a1a1a"] .ap-btn--ghost,
.ap-cta-band .ap-btn--ghost,
[style*="background:#1a1a1a"] .ap-btn--ghost,
[style*="background: #1a1a1a"] .ap-btn--ghost {
  color: var(--ap-red) !important;
  border-color: var(--ap-red) !important;
  font-weight: 700;
}
.ap-services[style*="1a1a1a"] .ap-btn--ghost:hover,
.ap-cta-band .ap-btn--ghost:hover,
[style*="background:#1a1a1a"] .ap-btn--ghost:hover {
  color: #fff !important;
  border-color: #fff !important;
}

.ap-btn--white {
  background: #fff;
  color: var(--ap-black) !important;
  padding: 0.9rem 2rem;
  font-weight: 700;
}
.ap-btn--white:hover {
  background: var(--ap-red);
  color: #fff !important;
  transform: translateY(-1px);
}

/* --- HEADER --------------------------------------- */
/* Fixed floating header */
#header.ct-header {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  z-index: 10000 !important;
}
/* Header row backgrounds — 30% transparent gray */
#header.ct-header [data-row="middle"],
#header.ct-header [data-row*="middle"],
#header.ct-header [data-row="top"],
#header.ct-header [data-row*="top"],
#header.ct-header [data-row="bottom"],
#header.ct-header [data-row*="bottom"] {
  background-color: rgba(20, 20, 18, 0.88) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  background-image: none !important;
  border: none !important;
}
/* Offset body */
body[data-header] {
  padding-top: calc(var(--header-height, 220px) * 0.4) !important;
}
/* Top-level menu: red default, white on hover */
#header.ct-header [data-id="menu"] > ul > li > a.ct-menu-link {
  color: #ffffff !important;
  --theme-link-initial-color: #ffffff !important;
}
#header.ct-header [data-id="menu"] > ul > li > a.ct-menu-link:hover,
#header.ct-header [data-id="menu"] > ul > li:hover > a.ct-menu-link {
  color: #ED3238 !important;
  --theme-link-hover-color: #ED3238 !important;
}
/* Submenu items stay white/red */
#header.ct-header .sub-menu .ct-menu-link {
  color: #ffffff !important;
  --theme-link-initial-color: #ffffff !important;
}
#header.ct-header .sub-menu .ct-menu-link:hover {
  color: #ED3238 !important;
}
/* Logo title white */
#header.ct-header .site-title a {
  color: #ffffff !important;
  --theme-link-initial-color: #ffffff !important;
}
/* Force dropdown on hover (override Blocksy click behavior) */
#header.ct-header [data-id="menu"] > ul > li:hover > .sub-menu,
#header.ct-header .ct-sub-menu-parent:hover > .sub-menu,
#header.ct-header nav ul li:hover > .sub-menu {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  transform: none !important;
  pointer-events: auto !important;
}
/* Ensure parent links are clickable AND hoverable */
#header.ct-header .ct-sub-menu-parent > a {
  pointer-events: auto !important;
}
/* Submenus */
#header.ct-header .sub-menu {
  --dropdown-background-color: #3a3a38 !important;
  position: absolute !important;
  z-index: 10001 !important;
}
#header.ct-header .sub-menu .ct-menu-link {
  color: #ffffff !important;
  --theme-link-initial-color: #ffffff !important;
}
#header.ct-header .sub-menu .ct-menu-link:hover {
  color: #ED3238 !important;
}
/* Other header elements white */
#header.ct-header [data-id="text"],
#header.ct-header [data-id="contacts"],
#header.ct-header [data-id="socials"] {
  color: #ffffff !important;
  --theme-text-color: #ffffff !important;
}
/* Search icon white */
#header.ct-header [data-id="search"] svg,
#header.ct-header [data-id="search-input"] svg,
#header.ct-header .ct-search svg,
#header.ct-header [data-id="search"] .ct-icon,
#header.ct-header svg {
  color: #ffffff !important;
  stroke: #ffffff !important;
  --theme-icon-color: #ffffff !important;
}
/* Logo vertically centered */
#header.ct-header [data-id="logo"] {
  display: flex !important;
  align-items: center !important;
}
#header.ct-header [data-id="logo"] .site-logo-container {
  display: flex !important;
  align-items: center !important;
}
#header.ct-header [data-id="logo"] .site-logo-container img,
#header.ct-header [data-id="logo"] .custom-logo {
  height: 57px !important;
  width: auto !important;
  max-height: none !important;
  object-fit: contain !important;
}
.header-main .ct-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 2rem;
}
.site-branding .site-title {
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ap-black);
  text-decoration: none;
}
.site-branding .site-title span { color: var(--ap-red); }
.site-branding .custom-logo { height: 38px; width: auto; }

#primary-navigation ul {
  display: flex;
  align-items: center;
  gap: 0.2rem;
  list-style: none;
}
#primary-navigation ul li a {
  font-size: 1rem;
  font-weight: 700;
  color: var(--ap-text);
  padding: 0.4rem 0.85rem;
  border-radius: var(--ap-radius);
  transition: all 0.2s var(--ap-ease);
}
#primary-navigation ul li a:hover {
  color: var(--ap-red);
  background: var(--ap-red-light);
}

@media (max-width: 768px) {
  #primary-navigation { display: none; }
  .ap-header-cta { display: none; }
}

/* ===================================================
   HERO — split left:text 55% | right:image 45%
   =================================================== */
.ap-hero {
  overflow: hidden;
  min-height: calc(100dvh - 68px);
  display: flex;
  align-items: center;
  background: var(--ap-bg);
  padding-top: 0 !important;
}

/* Hide Blocksy duplicate page title (we have our own H1 in content) */
.hero-section,
.entry-header {
  display: none !important;
}

/* Reduce spacing between header and content on ALL pages */
.site-main > .ct-container,
.site-main > article,
.site-main > section:first-child,
.site-main > .entry-content > section:first-child {
  margin-top: 0 !important;
  padding-top: clamp(1rem, 2vw, 2rem) !important;
}

.ap-hero__inner {
  width: 100%;
  max-width: var(--ap-container);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 2.5rem);
  display: grid;
  grid-template-columns: 55fr 45fr;
  gap: 4rem;
  align-items: center;
  min-height: calc(100dvh - 68px);
}

.ap-hero__text {
  padding: clamp(3rem, 6vw, 5rem) 0;
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.ap-hero__kicker {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ap-red);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.ap-hero__kicker::before {
  content: '';
  display: block;
  width: 24px;
  height: 2px;
  background: var(--ap-red);
  flex-shrink: 0;
}

.ap-hero__title {
  font-size: clamp(2.46rem, 4.6vw, 4.22rem);
  font-weight: 800;
  color: var(--ap-black);
  letter-spacing: -0.035em;
  line-height: 1.02;
}
.ap-hero__title em {
  font-style: normal;
  color: var(--ap-red);
}

.ap-hero__sub {
  font-size: 1.05rem;
  color: var(--ap-muted);
  line-height: 1.7;
  max-width: 48ch;
}

.ap-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.875rem;
  align-items: center;
}

.ap-hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--ap-border);
}
.ap-hero__trust-item strong {
  display: block;
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--ap-black);
  letter-spacing: -0.025em;
  line-height: 1;
}
.ap-hero__trust-item span {
  display: block;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ap-muted);
  margin-top: 0.2rem;
}

.ap-hero__visual {
  position: relative;
  align-self: stretch;
  display: flex;
  align-items: center;
}
.ap-hero__img-wrap {
  position: relative;
  width: 100%;
  height: 80%;
  min-height: 480px;
  overflow: hidden;
  border-radius: 6px;
}
.ap-hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.ap-hero__accent {
  position: absolute;
  top: 2rem;
  right: -0.875rem;
  width: 5px;
  height: 42%;
  background: linear-gradient(to bottom, var(--ap-red), var(--ap-teal));
  border-radius: 3px;
}

@media (max-width: 900px) {
  /* Fix: kompenzacija za fixed header na mobilni */
  body {
    padding-top: 90px !important;
  }
  .ap-hero { min-height: auto; }
  .ap-hero__inner {
    grid-template-columns: 1fr;
    min-height: auto;
    gap: 2.5rem;
  }
  .ap-hero__text { padding: 2rem 0 0; }
  .ap-hero__visual { min-height: 280px; }
  .ap-hero__img-wrap { min-height: 280px; }
  .ap-hero__accent { display: none; }
  /* Podstrani: vsebina ne pade pod header */
  .site-main > .ct-container:first-child,
  .site-main > article:first-child,
  .entry-content:first-child {
    padding-top: 1rem !important;
  }
}

/* ===================================================
   SERVICES — 2x2 grid, border-top accent on hover
   =================================================== */
.ap-services {
  padding: clamp(4rem, 8vw, 7rem) 0;
  background: var(--ap-warm);
}
.ap-services__header {
  max-width: 580px;
  margin-bottom: 3.5rem;
}
.ap-services__header h2 { margin-bottom: 0.75rem; }
.ap-services__header p { font-size: 1.05rem; max-width: 52ch; margin: 0; }

.ap-services__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5px;
  background: var(--ap-border);
  border: 1.5px solid var(--ap-border);
  border-radius: 8px;
  overflow: hidden;
}

.ap-service {
  background: var(--ap-warm);
  padding: clamp(1.75rem, 3vw, 2.5rem);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  position: relative;
  transition: background 0.25s var(--ap-ease);
  overflow: hidden;
}
.ap-service::after {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 3px;
  background: var(--ap-red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ap-ease);
}
.ap-service:hover::after { transform: scaleX(1); }
.ap-service:hover { background: #fcfaf9; }

.ap-service__icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--ap-red-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.ap-service__icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--ap-red);
  fill: none;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ap-service__num {
  position: absolute;
  top: 1.25rem;
  right: 1.75rem;
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--ap-border);
  line-height: 1;
  letter-spacing: -0.04em;
  user-select: none;
  transition: color 0.3s var(--ap-ease);
}
.ap-service:hover .ap-service__num { color: rgba(237,50,56,0.08); }

.ap-service h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--ap-black);
  line-height: 1.2;
}
.ap-service p {
  font-size: 0.9rem;
  color: var(--ap-muted);
  line-height: 1.65;
  max-width: none;
  margin: 0;
}
.ap-service__link {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--ap-red);
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  margin-top: auto;
  transition: gap 0.2s var(--ap-ease), color 0.2s var(--ap-ease);
  text-decoration: none;
}
.ap-service__link:hover { gap: 0.55rem; color: var(--ap-red-dark); }
.ap-service__link::after { content: '→'; }

@media (max-width: 600px) {
  .ap-services__grid { grid-template-columns: 1fr; }
}

/* ===================================================
   ZAKAJ AERO PRINT — asymmetric sticky left
   =================================================== */
.ap-zakaj {
  padding: clamp(4rem, 8vw, 7rem) 0;
  background: var(--ap-warm);
}
.ap-zakaj__layout {
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: 4rem 5rem;
  align-items: start;
}
.ap-zakaj__left {
  position: sticky;
  top: 88px;
}
.ap-zakaj__left h2 { margin-bottom: 1.25rem; }
.ap-zakaj__left > p {
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 2rem;
  max-width: 36ch;
}
.ap-zakaj__image {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 6px;
  filter: saturate(0.85);
  display: block;
}

.ap-zakaj__list { display: flex; flex-direction: column; }

.ap-zakaj__item {
  display: grid;
  grid-template-columns: 2.5rem 1fr;
  gap: 1.25rem;
  padding: 1.4rem 0;
  border-bottom: 1px solid var(--ap-border);
  align-items: start;
  transition: padding-left 0.2s var(--ap-ease);
}
.ap-zakaj__item:first-child { border-top: 1px solid var(--ap-border); }
.ap-zakaj__item:hover { padding-left: 0.375rem; }

.ap-zakaj__num {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--ap-red);
  letter-spacing: 0.04em;
  padding-top: 0.25rem;
  font-variant-numeric: tabular-nums;
}
.ap-zakaj__content h3 {
  font-size: 0.975rem;
  font-weight: 700;
  color: var(--ap-black);
  margin-bottom: 0.25rem;
  letter-spacing: -0.01em;
  line-height: 1.3;
}
.ap-zakaj__content p {
  font-size: 0.875rem;
  color: var(--ap-muted);
  line-height: 1.6;
  max-width: none;
  margin: 0;
}

@media (max-width: 860px) {
  .ap-zakaj__layout { grid-template-columns: 1fr; gap: 2.5rem; }
  .ap-zakaj__left { position: static; }
  .ap-zakaj__image { display: none; }
}

/* ===================================================
   CTA BAND
   =================================================== */
.ap-cta-band {
  background: var(--ap-black);
  padding: clamp(3rem, 6vw, 5rem) 0;
  position: relative;
  overflow: hidden;
}
.ap-cta-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 50%, rgba(237,50,56,0.1));
  pointer-events: none;
}
.ap-cta-band::after {
  content: 'PRINT';
  position: absolute;
  right: -1rem;
  bottom: -2rem;
  font-size: clamp(5rem, 12vw, 10rem);
  font-weight: 900;
  color: rgba(255,255,255,0.03);
  letter-spacing: -0.06em;
  pointer-events: none;
  user-select: none;
  line-height: 1;
}
.ap-cta-band__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}
.ap-cta-band__text h2 {
  font-size: clamp(1.4rem, 3vw, 2.1rem);
  color: #fff;
  margin-bottom: 0.5rem;
  letter-spacing: -0.025em;
}
.ap-cta-band__text p {
  color: rgba(255,255,255,0.5);
  font-size: 0.95rem;
  max-width: 48ch;
  margin: 0;
}

@media (max-width: 680px) {
  .ap-cta-band__inner { flex-direction: column; align-items: flex-start; }
}

/* ===================================================
   GALLERY — drag-to-scroll strip
   =================================================== */
.ap-gallery {
  padding: clamp(3.5rem, 6vw, 5.5rem) 0;
  background: var(--ap-warm);
  overflow: hidden;
}
.ap-gallery__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2.5rem;
}
.ap-gallery__header h2 { font-size: clamp(1.4rem, 2.5vw, 1.9rem); }

.ap-gallery__strip {
  display: flex;
  gap: 1rem;
  padding: 0 clamp(1.25rem, 4vw, 2.5rem);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  cursor: grab;
  padding-bottom: 0.5rem;
}
.ap-gallery__strip::-webkit-scrollbar { display: none; }
.ap-gallery__strip:active { cursor: grabbing; }

.ap-gallery__item {
  flex-shrink: 0;
  scroll-snap-align: start;
  width: clamp(220px, 28vw, 360px);
  border-radius: 6px;
  overflow: hidden;
  position: relative;
}
.ap-gallery__item img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  transition: transform 0.5s var(--ap-ease);
  display: block;
}
.ap-gallery__item:hover img { transform: scale(1.04); }
.ap-gallery__item-label {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 2rem 1rem 0.75rem;
  background: linear-gradient(transparent, rgba(17,17,16,0.7));
  color: #fff;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

/* ===================================================
   KONTAKT
   =================================================== */
.ap-kontakt {
  padding: clamp(4rem, 8vw, 7rem) 0;
  background: var(--ap-bg);
}
.ap-kontakt__layout {
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: 4rem;
  align-items: start;
}
.ap-kontakt__info h2 { margin-bottom: 1rem; }
.ap-kontakt__info > p {
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 2rem;
  max-width: 38ch;
}
.ap-kontakt__meta { display: flex; flex-direction: column; gap: 1.25rem; }
.ap-kontakt__meta-item { display: flex; flex-direction: column; gap: 0.15rem; }
.ap-kontakt__meta-item strong {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ap-muted);
}
.ap-kontakt__meta-item a,
.ap-kontakt__meta-item span {
  font-size: 0.95rem;
  color: var(--ap-text);
  font-weight: 500;
  text-decoration: none;
}
.ap-kontakt__meta-item a:hover { color: var(--ap-red); }

/* CF7 v kontakt sekciji */
.ap-kontakt .wpcf7-form,
.ap-form-wrap .wpcf7-form {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  background: var(--ap-warm);
  padding: 2.25rem;
  border-radius: 8px;
  border: 1.5px solid var(--ap-border);
}
.ap-kontakt .wpcf7-form label,
.ap-form-wrap .wpcf7-form label {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--ap-muted);
}
.ap-kontakt .wpcf7-form input[type="text"],
.ap-kontakt .wpcf7-form input[type="email"],
.ap-kontakt .wpcf7-form input[type="tel"],
.ap-kontakt .wpcf7-form textarea,
.ap-form-wrap .wpcf7-form input[type="text"],
.ap-form-wrap .wpcf7-form input[type="email"],
.ap-form-wrap .wpcf7-form input[type="tel"],
.ap-form-wrap .wpcf7-form textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1.5px solid var(--ap-border);
  border-radius: var(--ap-radius);
  font-family: var(--ap-font);
  font-size: 0.95rem;
  color: var(--ap-text);
  background: var(--ap-bg);
  transition: border-color 0.2s var(--ap-ease), box-shadow 0.2s var(--ap-ease);
  outline: none;
  -webkit-appearance: none;
}
.ap-kontakt .wpcf7-form input:focus,
.ap-kontakt .wpcf7-form textarea:focus,
.ap-form-wrap .wpcf7-form input:focus,
.ap-form-wrap .wpcf7-form textarea:focus {
  border-color: var(--ap-red);
  box-shadow: 0 0 0 3px rgba(237,50,56,0.1);
}
.ap-kontakt .wpcf7-form textarea,
.ap-form-wrap .wpcf7-form textarea {
  min-height: 110px;
  resize: vertical;
}
.ap-kontakt .wpcf7-form input[type="submit"],
.ap-form-wrap .wpcf7-form input[type="submit"] {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--ap-red);
  color: #fff;
  padding: 0.9rem 2rem;
  border: none;
  border-radius: var(--ap-radius);
  font-family: var(--ap-font);
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s var(--ap-ease);
  width: 100%;
  box-shadow: 0 2px 8px rgba(237,50,56,0.2);
}
.ap-kontakt .wpcf7-form input[type="submit"]:hover,
.ap-form-wrap .wpcf7-form input[type="submit"]:hover {
  background: var(--ap-red-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(237,50,56,0.3);
}

@media (max-width: 860px) {
  .ap-kontakt__layout { grid-template-columns: 1fr; gap: 2.5rem; }
}

/* ===================================================
   FOOTER
   =================================================== */
.site-footer {
  background: var(--ap-black) !important;
  color: rgba(255,255,255,0.75);
  padding: 3.5rem 0 1.75rem;
  font-size: 0.875rem;
}
.ap-footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem 4rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.15);
  margin-bottom: 1.5rem;
}
.ap-footer__brand-name {
  font-size: 1rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.015em;
  margin-bottom: 0.875rem;
}
.ap-footer__brand-name span { color: var(--ap-red); }
.ap-footer__brand p {
  color: rgba(255,255,255,0.65);
  font-size: 0.875rem;
  line-height: 1.65;
  max-width: 34ch;
  margin: 0;
}
.ap-footer__col h4 {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  margin-bottom: 1rem;
}
.ap-footer__col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
.ap-footer__col ul li a {
  color: rgba(255,255,255,0.75);
  font-size: 0.875rem;
  transition: color 0.2s var(--ap-ease);
  text-decoration: none;
}
.ap-footer__col ul li a:hover { color: #fff; }
.ap-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  color: rgba(255,255,255,0.6);
  font-size: 0.78rem;
}

@media (max-width: 640px) {
  .ap-footer__grid { grid-template-columns: 1fr; gap: 2rem; }
}

/* ===================================================
   SCROLL REVEAL
   =================================================== */
.ap-reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s var(--ap-ease), transform 0.6s var(--ap-ease);
}
.ap-reveal.is-visible { opacity: 1; transform: none; }
.ap-reveal--d1 { transition-delay: 0.1s; }
.ap-reveal--d2 { transition-delay: 0.2s; }
.ap-reveal--d3 { transition-delay: 0.3s; }

/* ===================================================
   PODSTRANI — entry content styles
   =================================================== */
.entry-header .entry-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  letter-spacing: -0.025em;
}
.entry-content {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--ap-text);
}
/* Blog objave — tekst odmik od robov */
.single-post .entry-content {
  padding-left: 100px;
  padding-right: 100px;
}
@media (max-width: 900px) {
  .single-post .entry-content {
    padding-left: 0;
    padding-right: 0;
  }
}
.entry-content h2 {
  font-size: clamp(1.35rem, 2.5vw, 1.9rem);
  margin: 2.5rem 0 0.875rem;
  border-left: 3px solid var(--ap-red);
  padding-left: 0.875rem;
}
.entry-content h3 { font-size: 1.1rem; margin: 1.75rem 0 0.5rem; }
.entry-content p { margin-bottom: 1.25rem; color: var(--ap-text); max-width: none; }
.entry-content ul, .entry-content ol { padding-left: 1.5rem; margin-bottom: 1.25rem; }
.entry-content li { margin-bottom: 0.5rem; line-height: 1.65; color: var(--ap-text); }
.entry-content li::marker { color: var(--ap-red); }

.entry-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-size: 0.9rem;
}
.entry-content table th {
  background: var(--ap-warm);
  font-weight: 700;
  text-align: left;
  padding: 0.75rem 1rem;
  border-bottom: 2px solid var(--ap-border);
  color: var(--ap-black);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.entry-content table td {
  padding: 0.7rem 1rem;
  border-bottom: 1px solid var(--ap-border);
}
.entry-content table tr:last-child td { border-bottom: none; }
.entry-content table tr:hover td { background: var(--ap-warm); }

/* CF7 na podstraneh */
.wpcf7-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 520px;
  margin-top: 1.5rem;
}
.wpcf7-form label {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--ap-muted);
  text-transform: uppercase;
  letter-spacing: 0.07em;
}
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form textarea {
  padding: 0.8rem 1rem;
  border: 1.5px solid var(--ap-border);
  border-radius: var(--ap-radius);
  font-family: var(--ap-font);
  font-size: 0.95rem;
  outline: none;
  width: 100%;
  transition: border-color 0.2s var(--ap-ease);
}
.wpcf7-form input:focus, .wpcf7-form textarea:focus {
  border-color: var(--ap-red);
  box-shadow: 0 0 0 3px rgba(237,50,56,0.1);
}
.wpcf7-form textarea { min-height: 110px; resize: vertical; }
.wpcf7-form input[type="submit"] {
  background: var(--ap-red);
  color: #fff;
  padding: 0.85rem 2rem;
  border: none;
  border-radius: var(--ap-radius);
  font-family: var(--ap-font);
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s var(--ap-ease);
  align-self: flex-start;
}
.wpcf7-form input[type="submit"]:hover {
  background: var(--ap-red-dark);
  transform: translateY(-1px);
}

/* Reviews section */
.ap-reviews {
  padding: clamp(4rem, 8vw, 7rem) 0;
  background: var(--ap-warm);
}

/* Logo enlarge 150% */
.site-branding .site-logo-container img,
.site-branding .custom-logo {
  height: 57px !important;
  width: auto !important;
  max-height: none !important;
}

/* Hide author, date and category on blog posts */
.entry-meta,
.post-meta,
.ct-meta,
.ct-post-card .entry-meta,
.ct-author-box,
[class*="post-author"],
[class*="post-date"],
.single-post .entry-meta,
.meta-author,
.meta-date,
.meta-categories,
ul.entry-meta[data-type],
.blog .entry-meta,
.archive .entry-meta,
.single .entry-meta,
.ct-post-card-content .entry-meta {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
  overflow: hidden !important;
  margin: 0 !important;
  padding: 0 !important;
}