/*
Theme Name: Biton
Theme URI: https://biton.sk
Author: Biton s.r.o.
Author URI: https://biton.sk
Description: Moderný WordPress theme pre Biton s.r.o., Michalovce. Čistý, bold dizajn s dôrazom na konverzie.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: biton
Tags: business, clean, modern, responsive, one-page
*/

/* =============================================
   CSS CUSTOM PROPERTIES
   ============================================= */
:root {
  --primary:   #3d5aff;
  --primary-dark: #2b45e8;
  --primary-light: #eef0ff;
  --green:     #00c48c;
  --yellow:    #ffd93d;
  --dark:      #111110;
  --dark-80:   rgba(17,17,16,.80);
  --bg:        #f8f8f6;
  --white:     #ffffff;
  --gray-100:  #f4f4f2;
  --gray-200:  #e8e8e5;
  --gray-400:  #b0b0aa;
  --gray-600:  #6b6b66;
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --radius-xl: 40px;
  --shadow-sm: 0 2px 8px rgba(17,17,16,.06);
  --shadow-md: 0 8px 32px rgba(17,17,16,.10);
  --shadow-lg: 0 20px 60px rgba(17,17,16,.14);
  --transition: .25s cubic-bezier(.4,0,.2,1);
  --font:      'Plus Jakarta Sans', system-ui, sans-serif;
  --max-w:     1200px;
}

/* =============================================
   RESET & BASE
   ============================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font);
  color: var(--dark);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select { font-family: inherit; }

/* =============================================
   TYPOGRAPHY
   ============================================= */
h1, h2, h3, h4, h5, h6 {
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -.02em;
}

h1 { font-size: clamp(2.4rem, 5.5vw, 4.5rem); }
h2 { font-size: clamp(1.9rem, 3.8vw, 3rem); }
h3 { font-size: clamp(1.25rem, 2.2vw, 1.6rem); }
h4 { font-size: 1.15rem; font-weight: 700; }

p { color: var(--gray-600); line-height: 1.75; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--primary);
  background: var(--primary-light);
  padding: .35rem .9rem;
  border-radius: 100px;
  margin-bottom: 1.2rem;
}

/* =============================================
   LAYOUT UTILITIES
   ============================================= */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: 1.5rem;
}

.section { padding-block: 100px; }
.section--bg { background: var(--bg); }

.grid-2 { display: grid; grid-template-columns: repeat(2,1fr); gap: 2rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 2rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 1.5rem; }

.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }

.text-center { text-align: center; }
.mx-auto { margin-inline: auto; }

/* =============================================
   BUTTONS
   ============================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .8rem 1.8rem;
  border-radius: 100px;
  font-weight: 700;
  font-size: .95rem;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(61,90,255,.3);
}
.btn-primary:hover {
  background: var(--primary-dark);
  box-shadow: 0 6px 28px rgba(61,90,255,.4);
  transform: translateY(-2px);
}

.btn-outline {
  border: 2px solid var(--gray-200);
  color: var(--dark);
  background: var(--white);
}
.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-2px);
}

.btn-white {
  background: var(--white);
  color: var(--primary);
}
.btn-white:hover {
  background: var(--primary-light);
  transform: translateY(-2px);
}

.btn-lg { padding: 1rem 2.4rem; font-size: 1rem; }
.btn-sm { padding: .55rem 1.2rem; font-size: .85rem; }

.btn-icon {
  width: 40px;
  height: 40px;
  padding: 0;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* =============================================
   CARDS
   ============================================= */
.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 1px solid var(--gray-200);
  transition: all var(--transition);
}
.card:hover {
  box-shadow: var(--shadow-md);
  border-color: transparent;
  transform: translateY(-4px);
}

.card-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.2rem;
  font-size: 1.5rem;
}

/* =============================================
   SITE HEADER
   ============================================= */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0;
  background: #ffffff !important;
  box-shadow: 0 1px 0 rgba(0,0,0,0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-weight: 800;
  font-size: 1.4rem;
  letter-spacing: -.03em;
  color: var(--dark);
  text-decoration: none;
}

.site-logo .logo-dot {
  width: 10px;
  height: 10px;
  background: var(--primary);
  border-radius: 50%;
  display: inline-block;
}

/* Main Nav */
.main-nav { display: flex; align-items: center; gap: .25rem; }

/* Strip default list styling from wp_nav_menu output */
.main-nav ul { display: contents; list-style: none; margin: 0; padding: 0; }
.main-nav ul li { display: contents; }

.footer-bottom-links ul { display: contents; list-style: none; margin: 0; padding: 0; }
.footer-bottom-links ul li { display: contents; }

.main-nav a {
  padding: .5rem .9rem;
  border-radius: 100px;
  font-size: .92rem;
  font-weight: 600;
  color: var(--dark);
  transition: all var(--transition);
}
.main-nav a:hover,
.main-nav a.active {
  background: var(--primary-light);
  color: var(--primary);
}

.header-actions { display: flex; align-items: center; gap: .75rem; }

/* Mobile toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 30px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: all var(--transition);
}

/* =============================================
   HERO SECTION
   ============================================= */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 120px;
  padding-bottom: 80px;
  background: linear-gradient(135deg, #fff 0%, var(--bg) 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(61,90,255,.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -100px;
  left: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(0,196,140,.06) 0%, transparent 70%);
  pointer-events: none;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: var(--primary-light);
  color: var(--primary);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: .4rem 1rem;
  border-radius: 100px;
  margin-bottom: 1.5rem;
}

.hero-badge .dot {
  width: 6px;
  height: 6px;
  background: var(--primary);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.4); opacity: .7; }
}

.hero h1 {
  margin-bottom: 1.5rem;
  color: var(--dark);
}

.hero h1 .highlight {
  color: var(--primary);
  position: relative;
}

.hero-desc {
  font-size: 1.1rem;
  max-width: 480px;
  margin-bottom: 2.5rem;
}

.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; align-items: center; }

.hero-stats {
  display: flex;
  gap: 2.5rem;
  margin-top: 3rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--gray-200);
}

.stat-item {}
.stat-num {
  font-size: 2rem;
  font-weight: 800;
  color: var(--dark);
  letter-spacing: -.03em;
  line-height: 1;
}
.stat-label {
  font-size: .82rem;
  color: var(--gray-600);
  margin-top: .3rem;
}

/* Hero visual */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-card-main {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--gray-200);
  width: 100%;
  max-width: 360px;
}

.hero-card-badge {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  background: var(--green);
  color: var(--white);
  font-size: .75rem;
  font-weight: 700;
  padding: .3rem .8rem;
  border-radius: 100px;
  margin-bottom: 1rem;
}

.hero-chart {
  height: 80px;
  display: flex;
  align-items: flex-end;
  gap: .4rem;
  margin: 1rem 0;
}

.hero-bar {
  flex: 1;
  background: var(--primary-light);
  border-radius: 4px 4px 0 0;
  transition: all var(--transition);
}
.hero-bar.active { background: var(--primary); }
.hero-bar:nth-child(1) { height: 40%; }
.hero-bar:nth-child(2) { height: 60%; }
.hero-bar:nth-child(3) { height: 80%; }
.hero-bar:nth-child(4) { height: 55%; }
.hero-bar:nth-child(5) { height: 90%; }
.hero-bar:nth-child(6) { height: 70%; }
.hero-bar:nth-child(5) { height: 100%; }

.hero-floating {
  position: absolute;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: .9rem 1.2rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-200);
  display: flex;
  align-items: center;
  gap: .75rem;
  font-weight: 700;
  font-size: .85rem;
}

.hero-floating-1 {
  top: -30px;
  left: -40px;
}

.hero-floating-2 {
  bottom: 20px;
  right: -40px;
}

.floating-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

/* =============================================
   CLIENTS / LOGO STRIP
   ============================================= */
.clients {
  padding-block: 60px;
  background: var(--white);
  border-block: 1px solid var(--gray-200);
  overflow: hidden;
}

.clients-label {
  text-align: center;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gray-400);
  margin-bottom: 2rem;
}

.clients-track-wrapper {
  overflow: hidden;
  position: relative;
}

.clients-track-wrapper::before,
.clients-track-wrapper::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 120px;
  z-index: 2;
  pointer-events: none;
}
.clients-track-wrapper::before {
  left: 0;
  background: linear-gradient(to right, var(--white), transparent);
}
.clients-track-wrapper::after {
  right: 0;
  background: linear-gradient(to left, var(--white), transparent);
}

.clients-track {
  display: flex;
  gap: 3rem;
  animation: marquee 30s linear infinite;
  width: max-content;
}

.clients-track:hover { animation-play-state: paused; }

@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.client-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  padding: 0 1rem;
  opacity: .5;
  transition: opacity var(--transition);
  white-space: nowrap;
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--dark);
  letter-spacing: -.02em;
}

.client-logo:hover { opacity: .9; }

/* =============================================
   MARQUEE / SCROLLING TEXT
   ============================================= */
.marquee-section {
  background: var(--primary);
  padding-block: 1.2rem;
  overflow: hidden;
}

.marquee-track {
  display: flex;
  gap: 0;
  animation: marqueeText 20s linear infinite;
  width: max-content;
}

@keyframes marqueeText {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.marquee-item {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding-right: 2.5rem;
  color: var(--white);
  font-weight: 700;
  font-size: 1rem;
  white-space: nowrap;
  letter-spacing: -.01em;
}

.marquee-dot {
  width: 6px;
  height: 6px;
  background: rgba(255,255,255,.4);
  border-radius: 50%;
  flex-shrink: 0;
}

/* =============================================
   SERVICES SECTION
   ============================================= */
.services-header {
  text-align: center;
  max-width: 580px;
  margin: 0 auto 4rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.2rem;
  border: 1px solid var(--gray-200);
  transition: all var(--transition);
  cursor: default;
}

.service-card:hover {
  border-color: var(--primary);
  box-shadow: 0 8px 40px rgba(61,90,255,.12);
  transform: translateY(-5px);
}

.service-card:hover .service-icon {
  background: var(--primary);
  color: var(--white);
}

.service-icon {
  width: 60px;
  height: 60px;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.4rem;
  transition: all var(--transition);
}

.service-card h3 {
  font-size: 1.15rem;
  margin-bottom: .75rem;
  color: var(--dark);
}

.service-card p {
  font-size: .9rem;
  line-height: 1.7;
}

.service-card .service-link {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  margin-top: 1.2rem;
  font-size: .88rem;
  font-weight: 700;
  color: var(--primary);
  transition: gap var(--transition);
}

.service-card:hover .service-link { gap: .7rem; }

/* =============================================
   ABOUT SECTION
   ============================================= */
.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.about-visual {
  position: relative;
}

.about-image-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-image-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--bg) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
}

.about-badge {
  position: absolute;
  bottom: -24px;
  right: -24px;
  background: var(--primary);
  color: var(--white);
  border-radius: var(--radius-md);
  padding: 1.2rem 1.6rem;
  box-shadow: var(--shadow-md);
  text-align: center;
}

.about-badge .badge-num {
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
}

.about-badge .badge-text {
  font-size: .75rem;
  opacity: .85;
  margin-top: .2rem;
}

.about-content h2 { margin-bottom: 1.2rem; line-height: 1.15; }
.about-content h2 em { display: block; font-style: italic; color: var(--primary); font-weight: 800; }
.about-content p { margin-bottom: 1rem; }

.about-tags {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin: 1.5rem 0 2rem;
}
.about-tags .tag {
  display: inline-flex;
  align-items: center;
  padding: .35rem .9rem;
  background: var(--bg);
  border: 1.5px solid rgba(61,90,255,.18);
  border-radius: 999px;
  font-size: .78rem;
  font-weight: 600;
  color: var(--dark);
  white-space: nowrap;
}

.about-features {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.about-feature {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.feature-check {
  width: 24px;
  height: 24px;
  background: var(--green);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .75rem;
  flex-shrink: 0;
  margin-top: .1rem;
}

.feature-text strong { display: block; font-size: .95rem; color: var(--dark); margin-bottom: .2rem; }
.feature-text span { font-size: .85rem; color: var(--gray-600); }

/* =============================================
   REFERENCES / TESTIMONIALS
   ============================================= */
.references-header {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 4rem;
}

.references-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.ref-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 1px solid var(--gray-200);
  transition: all var(--transition);
}

.ref-card:hover {
  box-shadow: var(--shadow-md);
  border-color: transparent;
  transform: translateY(-4px);
}

.ref-stars {
  display: flex;
  gap: .2rem;
  margin-bottom: 1.2rem;
  color: var(--yellow);
  font-size: 1rem;
}

.ref-text {
  font-size: .92rem;
  line-height: 1.75;
  color: var(--gray-600);
  margin-bottom: 1.5rem;
}

.ref-author {
  display: flex;
  align-items: center;
  gap: .85rem;
}

.ref-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: var(--primary);
  font-size: .9rem;
  flex-shrink: 0;
}

.ref-name { font-weight: 700; font-size: .9rem; color: var(--dark); }
.ref-company { font-size: .8rem; color: var(--gray-400); }

/* =============================================
   BLOG PREVIEW SECTION
   ============================================= */
.blog-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 3rem;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.post-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--gray-200);
  transition: all var(--transition);
}

.post-card:hover {
  box-shadow: var(--shadow-md);
  border-color: transparent;
  transform: translateY(-4px);
}

.post-thumbnail {
  aspect-ratio: 16/9;
  background: var(--bg);
  overflow: hidden;
  position: relative;
}

.post-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.post-card:hover .post-thumbnail img { transform: scale(1.05); }

.post-thumbnail-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--bg) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
}

.post-body { padding: 1.5rem; }

.post-meta {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-bottom: .85rem;
}

.post-cat {
  display: inline-block;
  background: var(--primary-light);
  color: var(--primary);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: .25rem .7rem;
  border-radius: 100px;
}

.post-date {
  font-size: .8rem;
  color: var(--gray-400);
}

.post-card h3 {
  font-size: 1.05rem;
  margin-bottom: .6rem;
  color: var(--dark);
  transition: color var(--transition);
  line-height: 1.4;
}
.post-card:hover h3 { color: var(--primary); }

.post-card p {
  font-size: .85rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.post-footer {
  padding: 1rem 1.5rem;
  border-top: 1px solid var(--gray-200);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.post-read-more {
  font-size: .85rem;
  font-weight: 700;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: .3rem;
  transition: gap var(--transition);
}
.post-card:hover .post-read-more { gap: .6rem; }

/* =============================================
   CONTACT SECTION
   ============================================= */
.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 5rem;
  align-items: start;
}

.contact-info h2 { margin-bottom: 1rem; }
.contact-info > p { margin-bottom: 2.5rem; }

.contact-details { display: flex; flex-direction: column; gap: 1.2rem; }

.contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.contact-icon {
  width: 44px;
  height: 44px;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.contact-item strong { display: block; font-size: .85rem; color: var(--gray-600); margin-bottom: .1rem; }
.contact-item a { font-weight: 600; color: var(--dark); transition: color var(--transition); }
.contact-item a:hover { color: var(--primary); }

/* CF7 form styles */
.contact-form-wrap {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
}

.wpcf7-form p { color: var(--dark); }

.wpcf7 .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 textarea,
.wpcf7 select {
  width: 100%;
  padding: .85rem 1.1rem;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-size: .95rem;
  font-family: var(--font);
  color: var(--dark);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  margin-bottom: .1rem;
}

.wpcf7 input:focus,
.wpcf7 textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(61,90,255,.12);
}

.wpcf7 textarea { min-height: 140px; resize: vertical; }

.wpcf7 label {
  display: block;
  font-size: .85rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: .4rem;
}

.wpcf7 .wpcf7-submit {
  width: 100%;
  background: var(--primary);
  color: var(--white);
  border: none;
  padding: 1rem;
  border-radius: 100px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition);
  box-shadow: 0 4px 20px rgba(61,90,255,.3);
  margin-top: .5rem;
}

.wpcf7 .wpcf7-submit:hover {
  background: var(--primary-dark);
  box-shadow: 0 6px 28px rgba(61,90,255,.4);
  transform: translateY(-2px);
}

.wpcf7-response-output {
  border-radius: var(--radius-sm);
  padding: .75rem 1rem;
  font-size: .9rem;
  margin-top: 1rem;
  border: none !important;
}

.wpcf7 .wpcf7-not-valid-tip {
  font-size: .78rem;
  color: #e53e3e;
}

/* Fallback form */
.biton-form-group { margin-bottom: 1.2rem; }
.biton-form-group label {
  display: block;
  font-size: .85rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: .4rem;
}
.biton-form-group input,
.biton-form-group textarea {
  width: 100%;
  padding: .85rem 1.1rem;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-size: .95rem;
  font-family: var(--font);
  color: var(--dark);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}
.biton-form-group input:focus,
.biton-form-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(61,90,255,.12);
}
.biton-form-group textarea { min-height: 140px; resize: vertical; }
.biton-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

/* =============================================
   PAGE-KONTAKT TEMPLATE
   ============================================= */

/* ── Hero ── */
.kontakt-hero {
  padding: 7rem 0 5rem;
  background: var(--dark);
  text-align: center;
}
.kontakt-hero-inner { max-width: 640px; margin: 0 auto; }
.kontakt-eyebrow { color: rgba(255,255,255,.55) !important; background: rgba(255,255,255,.08) !important; }
.kontakt-hero h1 {
  font-size: clamp(2.6rem, 5.5vw, 4rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.1;
  margin: 1rem 0 1.2rem;
}
.kontakt-hero-sub {
  font-size: 1.1rem;
  color: rgba(255,255,255,.7);
  line-height: 1.7;
  max-width: 520px;
  margin: 0 auto;
}

/* ── Social links block ── */
.kontakt-social { margin-top: 2.2rem; }
.kontakt-social-label {
  font-size: .8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--gray-600);
  margin-bottom: .75rem;
}
.kontakt-social-links {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
}
.kontakt-social-btn {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .5rem 1rem;
  border: 1.5px solid var(--gray-200);
  border-radius: 999px;
  font-size: .83rem;
  font-weight: 600;
  color: var(--dark);
  text-decoration: none;
  background: var(--white);
  transition: border-color var(--transition), color var(--transition), background var(--transition);
}
.kontakt-social-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-light);
}

/* ── Map ── */
.kontakt-map-wrap {
  line-height: 0;
  border-top: 1px solid var(--gray-200);
}
.kontakt-map-wrap iframe { display: block; }

/* =============================================
   PAGE-REFERENCIE TEMPLATE
   ============================================= */

/* ── Hero ── */
.ref-hero {
  padding: 7rem 0 5rem;
  background: var(--dark);
  text-align: center;
}
.ref-hero-inner { max-width: 640px; margin: 0 auto; }
.ref-eyebrow { color: rgba(255,255,255,.55) !important; background: rgba(255,255,255,.08) !important; }
.ref-hero h1 {
  font-size: clamp(2.6rem, 5.5vw, 4rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.1;
  margin: 1rem 0 1.2rem;
}
.ref-hero-sub {
  font-size: 1.1rem;
  color: rgba(255,255,255,.7);
  line-height: 1.7;
}

/* ── Case list ── */
.ref-cases-list {
  display: flex;
  flex-direction: column;
  gap: 5rem;
}

/* ── Single case ── */
.ref-case {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 4rem;
  align-items: center;
}
.ref-case--alt {
  grid-template-columns: 1.5fr 1fr;
}
.ref-case--alt .ref-case-visual { order: 2; }
.ref-case--alt .ref-case-content { order: 1; }

/* Screenshot */
.ref-screenshot {
  position: relative;
  border-radius: var(--radius-lg);
  aspect-ratio: 16 / 9;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1.5px solid rgba(17,17,16,.06);
}
.ref-screen-icon { opacity: .7; }
.ref-screen-bar {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 6px;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  opacity: .6;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 0 10px;
}
.ref-screen-bar span {
  display: inline-block;
  width: 7px; height: 7px;
  background: rgba(255,255,255,.6);
  border-radius: 50%;
  margin-top: 2px;
}

/* Content */
.ref-case-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}
.ref-case-client {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--dark);
  margin: 0 0 .3rem;
  line-height: 1.2;
}
.ref-case-url {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  font-size: .82rem;
  font-weight: 600;
  color: var(--gray-600);
  text-decoration: none;
  transition: color var(--transition);
}
.ref-case-url:hover { color: var(--primary); }
.ref-case-tags {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  flex-shrink: 0;
}
.ref-tag {
  display: inline-flex;
  align-items: center;
  padding: .3rem .75rem;
  border-radius: 999px;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.ref-case-desc {
  font-size: .95rem;
  color: var(--gray-600);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

/* Quote */
.ref-case-quote {
  margin: 0 0 1.5rem;
  padding: 1.4rem 1.6rem;
  background: var(--bg);
  border-left: 3px solid var(--primary);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
.ref-case-quote p {
  font-size: .95rem;
  font-style: italic;
  color: var(--dark);
  line-height: 1.75;
  margin: 0 0 .9rem;
}
.ref-case-author {
  display: flex;
  align-items: center;
  gap: .7rem;
}
.ref-case-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .02em;
}
.ref-case-quote cite {
  font-style: normal;
  font-size: .82rem;
  font-weight: 600;
  color: var(--gray-600);
}

/* Link */
.ref-case-link {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: .88rem;
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
  transition: gap var(--transition), color var(--transition);
}
.ref-case-link:hover { gap: .65rem; color: var(--primary-dark); }

/* ── CTA ── */
.ref-cta-section {
  padding: 7rem 0;
  background: var(--dark);
  text-align: center;
}
.ref-cta-inner { max-width: 600px; margin: 0 auto; }
.ref-cta-section h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800;
  color: var(--white);
  margin: .8rem 0 1rem;
  line-height: 1.2;
}
.ref-cta-section p {
  color: rgba(255,255,255,.65);
  font-size: 1.05rem;
  margin-bottom: 2rem;
  line-height: 1.7;
}

/* =============================================
   PAGE-O-NAS TEMPLATE
   ============================================= */

/* ── Hero ── */
.onas-hero {
  padding: 7rem 0 5rem;
  background: var(--dark);
  text-align: center;
}
.onas-hero-inner { max-width: 700px; margin: 0 auto; }
.onas-eyebrow { color: rgba(255,255,255,.55) !important; background: rgba(255,255,255,.08) !important; }
.onas-hero h1 {
  font-size: clamp(2.6rem, 5.5vw, 4rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.1;
  margin: 1rem 0 1.2rem;
}
.onas-hero-sub {
  font-size: 1.15rem;
  color: rgba(255,255,255,.7);
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ── Story ── */
.onas-story-inner {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 5rem;
  align-items: center;
}
.onas-story-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.onas-story-card {
  width: 100%;
  max-width: 260px;
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-xl);
  padding: 2.5rem 2rem;
  text-align: center;
  box-shadow: 0 8px 40px rgba(17,17,16,.07);
}
.onas-story-icon { font-size: 3rem; line-height: 1; margin-bottom: 1.2rem; }
.onas-story-year {
  font-size: 3rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
  letter-spacing: -.04em;
}
.onas-story-year-label {
  font-size: .8rem;
  font-weight: 600;
  color: var(--gray-600);
  margin-top: .4rem;
  text-transform: uppercase;
  letter-spacing: .07em;
}
.onas-story-badge {
  position: absolute;
  bottom: -1.2rem;
  right: 0;
  background: var(--primary);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: .9rem 1.2rem;
  text-align: center;
  box-shadow: 0 4px 20px rgba(61,90,255,.35);
}
.onas-badge-num {
  display: block;
  font-size: 1.6rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.03em;
}
.onas-badge-label {
  display: block;
  font-size: .72rem;
  font-weight: 600;
  opacity: .85;
  margin-top: .2rem;
  white-space: nowrap;
}
.onas-story-content h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 800;
  line-height: 1.15;
  margin: .4rem 0 1.2rem;
}
.onas-story-content p {
  color: var(--gray-600);
  line-height: 1.8;
  margin-bottom: 1rem;
}

/* ── Team ── */
.onas-team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.onas-team-card {
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 2.2rem 1.8rem 2rem;
  text-align: center;
  transition: transform .25s, box-shadow .25s;
}
.onas-team-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 48px rgba(17,17,16,.1);
}
.onas-team-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: .02em;
  margin: 0 auto 1.3rem;
  flex-shrink: 0;
}
.onas-team-name {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--dark);
  margin: 0 0 .35rem;
}
.onas-team-role {
  font-size: .82rem;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: .07em;
  margin-bottom: .9rem;
}
.onas-team-desc {
  font-size: .9rem;
  color: var(--gray-600);
  line-height: 1.7;
  margin: 0;
}

/* ── Values ── */
.onas-section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}
.onas-section-header h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 800;
  margin: .4rem 0 0;
}
.onas-values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.onas-value-card {
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 2rem 1.8rem;
  transition: transform .25s, box-shadow .25s;
}
.onas-value-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(17,17,16,.09);
}
.onas-value-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.2rem;
}
.onas-value-icon--green { background: #e6faf4; color: var(--green); }
.onas-value-icon--yellow { background: #fffbe6; color: #c9a000; }
.onas-value-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: .6rem;
  color: var(--dark);
}
.onas-value-card p {
  font-size: .92rem;
  color: var(--gray-600);
  line-height: 1.7;
  margin: 0;
}

/* ── Stats bar ── */
.onas-stats-section {
  background: var(--dark);
  padding: 4rem 0;
}
.onas-stats-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}
.onas-stat {
  flex: 1;
  min-width: 160px;
  text-align: center;
  padding: 1rem 2rem;
}
.onas-stat .stat-num {
  font-size: 2.6rem;
  color: var(--white);
}
.onas-stat .stat-label {
  color: rgba(255,255,255,.55);
  font-size: .85rem;
  margin-top: .4rem;
}
.onas-stats-divider {
  width: 1px;
  height: 50px;
  background: rgba(255,255,255,.12);
  flex-shrink: 0;
}

/* ── CTA ── */
.onas-cta-section {
  padding: 7rem 0;
  text-align: center;
  background: var(--bg);
}
.onas-cta-inner { max-width: 560px; margin: 0 auto; }
.onas-cta-section .onas-eyebrow {
  color: var(--primary) !important;
  background: var(--primary-light) !important;
}
.onas-cta-section h2 {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 800;
  color: var(--dark);
  margin: .8rem 0 .8rem;
}
.onas-cta-section p {
  color: var(--gray-600);
  font-size: 1.05rem;
  margin-bottom: 2rem;
  line-height: 1.7;
}

/* =============================================
   PAGE-SLUZBY TEMPLATE
   ============================================= */

/* Hero */
.sluzby-hero {
  padding: 7rem 0 5rem;
  background: #111110;
  text-align: center;
}
.sluzby-hero-inner { max-width: 760px; margin: 0 auto; }
.sluzby-hero .eyebrow { color: rgba(255,255,255,0.7); background: rgba(255,255,255,0.1); border-color: transparent; }
.sluzby-hero h1 {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 800;
  color: #ffffff;
  line-height: 1.1;
  margin: 1rem 0 1.2rem;
}
.sluzby-hero-sub {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.6);
  max-width: 560px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}

/* Quick-jump nav */
.sluzby-jump-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .5rem;
  margin-top: 2rem;
}
.sluzby-jump-btn {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .45rem 1rem;
  background: rgba(255,255,255,.07);
  border: 1.5px solid rgba(255,255,255,.14);
  border-radius: 999px;
  color: rgba(255,255,255,.85);
  font-size: .82rem;
  font-weight: 600;
  text-decoration: none;
  transition: background .2s, border-color .2s, color .2s;
}
.sluzby-jump-btn:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
}

/* Service sections */
.sluzby-section {
  padding: 6rem 0;
  border-bottom: 1px solid rgba(17,17,16,.07);
}
.sluzby-section--alt { background: var(--bg); }

.sluzby-row {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 5rem;
  align-items: center;
}
.sluzby-section--alt .sluzby-row {
  grid-template-columns: 1.6fr 1fr;
}
.sluzby-section--alt .sluzby-visual { order: 2; }
.sluzby-section--alt .sluzby-content { order: 1; }

/* Visual column */
.sluzby-visual {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.2rem;
}
.sluzby-icon-wrap {
  width: 180px;
  height: 180px;
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .3s;
}
.sluzby-icon-wrap:hover { transform: translateY(-4px) scale(1.03); }
.sluzby-big-icon { font-size: 4.5rem; line-height: 1; }
.sluzby-num {
  font-size: 4rem;
  font-weight: 800;
  line-height: 1;
  opacity: .12;
  position: absolute;
  bottom: -1rem;
  right: 0;
  pointer-events: none;
  user-select: none;
}

/* Content column */
.sluzby-content h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 800;
  line-height: 1.15;
  margin: .4rem 0 1rem;
}
.sluzby-desc {
  font-size: 1.05rem;
  color: var(--gray-600);
  line-height: 1.75;
  margin-bottom: 1.8rem;
}

/* Bullet list */
.sluzby-bullets {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: .65rem 1.5rem;
}
.sluzby-bullets li {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-size: .93rem;
  font-weight: 500;
  color: var(--dark);
}
.sluzby-check {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: .7rem;
  font-weight: 700;
}

/* Bottom CTA */
.sluzby-cta-section {
  padding: 6rem 0;
  background: var(--dark);
  text-align: center;
}
.sluzby-cta-inner { max-width: 620px; margin: 0 auto; }
.sluzby-cta-section .eyebrow { color: rgba(255,255,255,.5); border-color: rgba(255,255,255,.15); }
.sluzby-cta-section h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--white);
  margin: .8rem 0 1rem;
}
.sluzby-cta-section p { color: rgba(255,255,255,.65); font-size: 1.05rem; margin-bottom: 2rem; }
.sluzby-cta-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.sluzby-cta-section .btn-outline {
  border-color: rgba(255,255,255,.3);
  color: var(--white);
}
.sluzby-cta-section .btn-outline:hover { background: rgba(255,255,255,.1); border-color: var(--white); }

/* =============================================
   SITE FOOTER
   ============================================= */
.site-footer {
  background: var(--dark);
  color: var(--white);
  padding-top: 80px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.footer-brand .site-logo { color: var(--white); margin-bottom: 1rem; }
.footer-brand p {
  font-size: .88rem;
  color: rgba(255,255,255,.55);
  line-height: 1.7;
  max-width: 260px;
}

.footer-social { display: flex; gap: .75rem; margin-top: 1.5rem; }

.social-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  color: rgba(255,255,255,.7);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .9rem;
  transition: all var(--transition);
  text-decoration: none;
}
.social-btn:hover {
  background: var(--primary);
  color: var(--white);
}

.footer-col h4 {
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.4);
  margin-bottom: 1.2rem;
}

.footer-links { display: flex; flex-direction: column; gap: .65rem; }
.footer-links a {
  font-size: .88rem;
  color: rgba(255,255,255,.65);
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--white); }

.footer-contact-info { display: flex; flex-direction: column; gap: .8rem; }
.footer-contact-info li {
  display: flex;
  align-items: flex-start;
  gap: .65rem;
  font-size: .85rem;
  color: rgba(255,255,255,.65);
}
.footer-contact-info li span:first-child {
  color: var(--primary);
  margin-top: .1rem;
  flex-shrink: 0;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 1.5rem;
  font-size: .82rem;
  color: rgba(255,255,255,.35);
}

.footer-bottom a {
  color: rgba(255,255,255,.35);
  transition: color var(--transition);
}
.footer-bottom a:hover { color: var(--white); }

.footer-bottom-links { display: flex; gap: 1.5rem; }

/* =============================================
   INNER PAGE - PAGE.PHP
   ============================================= */
.page-hero {
  background: var(--bg);
  padding-top: 140px;
  padding-bottom: 60px;
}

.page-hero h1 { margin-bottom: .75rem; }
.page-breadcrumb {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .85rem;
  color: var(--gray-400);
  margin-top: .75rem;
}
.page-breadcrumb a { color: var(--primary); }
.page-breadcrumb span { color: var(--gray-400); }

.page-content {
  padding-block: 80px;
}

.page-content-inner {
  max-width: 860px;
}

/* =============================================
   SINGLE POST - SINGLE.PHP
   ============================================= */
.post-hero {
  background: var(--bg);
  padding-top: 140px;
  padding-bottom: 60px;
}

.post-hero-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.single-post-content {
  padding-block: 80px;
}

.post-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 4rem;
  align-items: start;
}

.post-article .post-featured-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 2.5rem;
  aspect-ratio: 16/9;
}
.post-article .post-featured-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.entry-content {
  font-size: 1rem;
  line-height: 1.85;
}

.entry-content p { margin-bottom: 1.4rem; }
.entry-content h2 { margin: 2rem 0 1rem; }
.entry-content h3 { margin: 1.5rem 0 .75rem; }
.entry-content ul, .entry-content ol {
  padding-left: 1.5rem;
  margin-bottom: 1.4rem;
  color: var(--gray-600);
}
.entry-content li { margin-bottom: .4rem; }
.entry-content a { color: var(--primary); }
.entry-content img { border-radius: var(--radius-md); margin-block: 1.5rem; }
.entry-content blockquote {
  border-left: 4px solid var(--primary);
  padding: 1rem 1.5rem;
  background: var(--primary-light);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin-block: 1.5rem;
  font-style: italic;
}

.post-tags {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--gray-200);
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}

.tag-chip {
  display: inline-block;
  background: var(--bg);
  border: 1px solid var(--gray-200);
  color: var(--gray-600);
  font-size: .8rem;
  padding: .3rem .85rem;
  border-radius: 100px;
  transition: all var(--transition);
}
.tag-chip:hover { background: var(--primary-light); color: var(--primary); border-color: var(--primary-light); }

/* Sidebar */
.post-sidebar { position: sticky; top: 100px; }

.sidebar-widget {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}

.sidebar-widget h4 {
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--gray-400);
  margin-bottom: 1.2rem;
}

.related-posts { display: flex; flex-direction: column; gap: 1rem; }

.related-post-item {
  display: flex;
  gap: .85rem;
  align-items: flex-start;
  text-decoration: none;
}

.related-thumb {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-sm);
  background: var(--bg);
  overflow: hidden;
  flex-shrink: 0;
}
.related-thumb img { width: 100%; height: 100%; object-fit: cover; }

.related-title {
  font-size: .85rem;
  font-weight: 700;
  color: var(--dark);
  line-height: 1.4;
  transition: color var(--transition);
}
.related-post-item:hover .related-title { color: var(--primary); }
.related-date { font-size: .75rem; color: var(--gray-400); margin-top: .25rem; }

/* Post nav */
.post-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--gray-200);
}

.post-nav-link {
  display: block;
  padding: 1.2rem;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  transition: all var(--transition);
  text-decoration: none;
}
.post-nav-link:hover {
  border-color: var(--primary);
  box-shadow: 0 4px 16px rgba(61,90,255,.1);
}

.post-nav-label {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--gray-400);
  margin-bottom: .4rem;
}
.post-nav-title {
  font-size: .9rem;
  font-weight: 700;
  color: var(--dark);
  line-height: 1.4;
}

.post-nav-link--next { text-align: right; }

/* =============================================
   ARCHIVE PAGE
   ============================================= */
.archive-hero {
  background: var(--bg);
  padding-top: 140px;
  padding-bottom: 60px;
}

.archive-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 4rem;
  padding-block: 80px;
}

.archive-posts-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  align-content: start;
}

/* Pagination */
.pagination {
  display: flex;
  gap: .5rem;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--gray-200);
}

.pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  font-size: .9rem;
  font-weight: 600;
  color: var(--gray-600);
  border: 1px solid var(--gray-200);
  transition: all var(--transition);
  text-decoration: none;
}

.pagination .page-numbers:hover,
.pagination .page-numbers.current {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

.pagination .page-numbers.dots { border: none; cursor: default; }
.pagination .page-numbers.dots:hover { background: none; color: var(--gray-400); }

/* =============================================
   SEARCH FORM
   ============================================= */
.search-form {
  display: flex;
  gap: .5rem;
  margin-bottom: 1.5rem;
}
.search-field {
  flex: 1;
  padding: .75rem 1rem;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-size: .9rem;
  font-family: var(--font);
  outline: none;
  transition: border-color var(--transition);
}
.search-field:focus { border-color: var(--primary); }
.search-submit {
  background: var(--primary);
  color: var(--white);
  padding: .75rem 1.2rem;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: .9rem;
  cursor: pointer;
  transition: background var(--transition);
}
.search-submit:hover { background: var(--primary-dark); }

/* Category list */
.cat-list { display: flex; flex-direction: column; gap: .5rem; }
.cat-list li a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .5rem .75rem;
  border-radius: var(--radius-sm);
  font-size: .88rem;
  color: var(--gray-600);
  transition: all var(--transition);
}
.cat-list li a:hover { background: var(--primary-light); color: var(--primary); }
.cat-count {
  background: var(--bg);
  border-radius: 100px;
  padding: .15rem .55rem;
  font-size: .75rem;
  font-weight: 600;
}

/* =============================================
   NO POSTS / 404
   ============================================= */
.no-results {
  text-align: center;
  padding-block: 4rem;
}

/* =============================================
   YOAST SEO BREADCRUMBS
   ============================================= */
.yoast-breadcrumb {
  font-size: .85rem;
  color: var(--gray-400);
  margin-bottom: .75rem;
}
.yoast-breadcrumb a { color: var(--primary); }
.yoast-breadcrumb > span > span:not(:last-child)::after {
  content: ' / ';
  margin-inline: .3rem;
  color: var(--gray-400);
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1100px) {
  .hero-inner { gap: 2.5rem; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-inner { gap: 3rem; }
  .sluzby-row,
  .sluzby-section--alt .sluzby-row { grid-template-columns: 1fr 1.4fr; gap: 3rem; }
  .ref-case,
  .ref-case--alt { grid-template-columns: 1fr 1.3fr; gap: 2.5rem; }
  .onas-story-inner { gap: 3rem; }
  .onas-team-grid { gap: 1.2rem; }
  .onas-values-grid { gap: 1.2rem; }
}

@media (max-width: 900px) {
  .section { padding-block: 70px; }

  .hero-inner,
  .about-inner,
  .contact-inner,
  .post-layout,
  .archive-layout {
    grid-template-columns: 1fr;
  }

  .hero { min-height: auto; padding-top: 100px; padding-bottom: 60px; }
  .hero-visual { display: none; }
  .hero-stats { gap: 1.5rem; }

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

  .about-badge { bottom: 1rem; right: 1rem; }

  .sluzby-row,
  .sluzby-section--alt .sluzby-row { grid-template-columns: 1fr; gap: 2.5rem; }
  .sluzby-section--alt .sluzby-visual,
  .sluzby-section--alt .sluzby-content { order: unset; }
  .sluzby-visual { flex-direction: row; justify-content: flex-start; }
  .sluzby-icon-wrap { width: 120px; height: 120px; }
  .sluzby-big-icon { font-size: 3rem; }
  .sluzby-bullets { grid-template-columns: 1fr; }

  .ref-cases-list { gap: 3.5rem; }
  .ref-case,
  .ref-case--alt { grid-template-columns: 1fr; gap: 2rem; }
  .ref-case--alt .ref-case-visual,
  .ref-case--alt .ref-case-content { order: unset; }
  .ref-case-header { flex-direction: column; align-items: flex-start; gap: .6rem; }

  .onas-story-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .onas-story-visual { justify-content: flex-start; }
  .onas-story-card { max-width: 220px; padding: 1.8rem 1.4rem; }
  .onas-story-badge { bottom: -1rem; right: auto; left: 200px; }
  .onas-team-grid { grid-template-columns: 1fr; }
  .onas-values-grid { grid-template-columns: 1fr; }
  .onas-stats-bar { gap: 0; }
  .onas-stats-divider { width: 80%; height: 1px; flex-basis: 100%; margin: .25rem auto; }

  .post-sidebar { position: static; }
  .archive-posts-grid { grid-template-columns: 1fr; }

  .blog-header { flex-direction: column; align-items: flex-start; gap: 1rem; }

  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }

  .wpcf7 .form-row,
  .biton-form-row { grid-template-columns: 1fr; }

  .post-nav { grid-template-columns: 1fr; }
  .post-nav-link--next { text-align: left; }
}

@media (max-width: 640px) {
  /* Logo always dark and above overlay */
  .site-logo {
    color: #111110 !important;
    position: relative;
    z-index: 1002;
  }
  .site-logo img,
  .site-logo svg { filter: none !important; }

  /* Hamburger always dark and above overlay */
  .nav-toggle {
    display: flex;
    position: relative;
    z-index: 1002;
  }
  .nav-toggle span {
    background: #111110 !important;
  }

  /* Hidden by default */
  .main-nav { display: none; }

  /* Open state — solid white overlay, scrollable */
  .main-nav.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #ffffff;
    padding: 90px 2rem 2rem;
    z-index: 1000;
    align-items: flex-start;
    gap: 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  .main-nav.open a {
    font-size: 18px !important;
    padding: 16px 24px !important;
    color: #111110 !important;
    width: 100%;
    border-radius: 0;
    border-bottom: 1px solid #e2e2de;
    display: block !important;
  }
  .main-nav.open a:hover {
    background: var(--primary-light);
    color: var(--primary) !important;
  }
  /* Strip display:contents on mobile so links stack vertically */
  .main-nav.open ul { display: flex !important; flex-direction: column !important; width: 100% !important; gap: 0 !important; padding: 0 !important; margin: 0 !important; list-style: none !important; }
  .main-nav.open ul li { display: block !important; width: 100% !important; }

  .header-actions .btn { display: none; }
  .header-actions .btn:last-child { display: inline-flex; }

  .services-grid,
  .references-grid,
  .blog-grid,
  .archive-posts-grid { grid-template-columns: 1fr; }

  .footer-top { grid-template-columns: 1fr; }

  .hero-stats { flex-wrap: wrap; gap: 1rem; }

  .stat-num { font-size: 1.5rem; }
}

/* =============================================
   ACCESSIBILITY
   ============================================= */
:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
  border-radius: 4px;
}

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

/* =============================================
   ANIMATIONS
   ============================================= */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

.animate-in {
  animation: fadeInUp .6s var(--transition) both;
}

[data-aos] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .6s ease, transform .6s ease;
}
[data-aos].aos-animate {
  opacity: 1;
  transform: translateY(0);
}

/* =============================================
   ARCHIVE / BLOG LISTING PAGE
   ============================================= */

/* ── Hero ── */
.blog-archive-hero {
  padding: 7rem 0 5rem;
  background: var(--dark);
  text-align: center;
}
.blog-archive-hero-inner { max-width: 640px; margin: 0 auto; }
.blog-archive-eyebrow {
  color: rgba(255,255,255,.55) !important;
  background: rgba(255,255,255,.08) !important;
}
.blog-archive-hero h1 {
  font-size: clamp(2.6rem, 5.5vw, 4rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.1;
  margin: 1rem 0 1.2rem;
}
.blog-archive-hero-sub {
  font-size: 1.1rem;
  color: rgba(255,255,255,.7);
  line-height: 1.7;
  max-width: 520px;
  margin: 0 auto;
}

/* ── Section ── */
.blog-archive-section { padding-block: 80px; }

/* ── 2-column post grid ── */
.blog-archive-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

/* ── Card heading & excerpt ── */
.post-card-title {
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: .6rem;
  color: var(--dark);
  letter-spacing: -.01em;
}
.post-card-title a { color: inherit; text-decoration: none; transition: color var(--transition); }
.post-card:hover .post-card-title a { color: var(--primary); }

.post-card-excerpt {
  font-size: .88rem;
  color: var(--gray-600);
  line-height: 1.65;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ── Post footer meta row ── */
.post-footer {
  padding: 1rem 1.5rem;
  border-top: 1px solid var(--gray-200);
  display: flex;
  flex-direction: column;
  gap: .75rem;
}
.post-footer-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .6rem .85rem;
}
.post-footer-meta-item {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  font-size: .78rem;
  color: var(--gray-400);
}
.post-footer-meta-item svg { flex-shrink: 0; }

/* ── Pagination wrapper ── */
.blog-pagination { margin-top: 3rem; }
.blog-pagination .pagination {
  border-top: 1px solid var(--gray-200);
  padding-top: 2rem;
  display: flex;
  gap: .5rem;
  flex-wrap: wrap;
  align-items: center;
}

/* ── No results ── */
.blog-no-results {
  text-align: center;
  padding: 5rem 0;
}
.blog-no-results-icon {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
}
.blog-no-results h2 { margin-bottom: .75rem; }
.blog-no-results p { color: var(--gray-600); max-width: 480px; margin: 0 auto; }

/* =============================================
   SINGLE POST PAGE
   ============================================= */

/* ── Hero ── */
.single-hero {
  padding: 7rem 0 4rem;
  background: var(--dark);
}
.single-hero-inner {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}
.single-hero-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: .5rem .85rem;
  margin-bottom: 1.5rem;
}
.single-hero-cat {
  background: rgba(255,255,255,.12) !important;
  color: var(--white) !important;
}
.single-hero-meta-item {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  font-size: .82rem;
  color: rgba(255,255,255,.6);
}
.single-hero-meta-item svg { flex-shrink: 0; }
.single-hero h1 {
  font-size: clamp(1.9rem, 4vw, 3.2rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 2rem;
}
.single-hero-author {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 999px;
  padding: .45rem 1rem .45rem .45rem;
}
.single-hero-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  font-size: .72rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.single-hero-author-name {
  font-size: .85rem;
  font-weight: 600;
  color: rgba(255,255,255,.85);
}

/* ── Content wrapper ── */
.single-post-wrap { padding-block: 70px; }
.single-post-inner {
  max-width: 800px;
  margin: 0 auto;
}

/* ── Featured image ── */
.single-featured-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 3rem;
  aspect-ratio: 16 / 9;
}
.single-featured-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ── Author bio box ── */
.author-bio {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  margin-top: 3rem;
  padding: 2rem;
  background: var(--bg);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
}
.author-bio-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  font-size: 1.1rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.author-bio-label {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--gray-400);
  margin-bottom: .3rem;
}
.author-bio-name {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: .4rem;
}
.author-bio-text {
  font-size: .9rem;
  color: var(--gray-600);
  line-height: 1.65;
  margin: 0;
}

/* ── Related posts section ── */
.related-posts-section { padding-block: 80px; }
.related-posts-header {
  margin-bottom: 3rem;
}
.related-posts-header h2 { margin-top: .4rem; }
.related-posts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

/* ── Post CTA section ── */
.post-cta-section {
  padding: 6rem 0;
  background: var(--dark);
  text-align: center;
}
.post-cta-inner { max-width: 600px; margin: 0 auto; }
.post-cta-eyebrow {
  color: rgba(255,255,255,.55) !important;
  background: rgba(255,255,255,.08) !important;
}
.post-cta-section h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  color: var(--white);
  margin: 1rem 0 1rem;
}
.post-cta-section p {
  color: rgba(255,255,255,.7);
  font-size: 1rem;
  margin-bottom: 2rem;
}

/* =============================================
   RESPONSIVE — ARCHIVE & SINGLE
   ============================================= */
@media (max-width: 1100px) {
  .related-posts-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .blog-archive-grid { grid-template-columns: 1fr; }
  .related-posts-grid { grid-template-columns: 1fr; }
  .single-hero { padding: 6rem 0 3rem; }
  .author-bio { flex-direction: column; align-items: center; text-align: center; }
}

@media (max-width: 640px) {
  .single-hero h1 { font-size: 1.75rem; }
  .blog-archive-hero h1 { font-size: 2.2rem; }
  .single-post-wrap { padding-block: 48px; }
  .blog-archive-section { padding-block: 48px; }
  .related-posts-section { padding-block: 48px; }
}
