/* ─────────────────────────────────────────────────────
   PESSI — Main Stylesheet
   ───────────────────────────────────────────────────── */

/* ─── Self-hosted fonts ───────────────────────────────── */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
  src: url('../fonts/cormorant-garamond-normal-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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
  src: url('../fonts/cormorant-garamond-normal-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: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/cormorant-garamond-italic-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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/cormorant-garamond-italic-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: 'Inter';
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
  src: url('../fonts/inter-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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
  src: url('../fonts/inter-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;
}

/* ─── Variables ─────────────────────────────────────── */
:root {
  --ink:    #0A0A0A;
  --ink-2:  #1F1F1F;
  --sub:    #737373;
  --line:   #E5E5E5;
  --bg:     #FAFAFA;
  --cream:  #F0EDE8;
  --paper:  #F5F5F5;

  --max:  1280px;
  --pad:  clamp(20px, 4vw, 56px);
  --section-spacing: clamp(56px, 7vw, 112px);

  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans:  "Inter", -apple-system, BlinkMacSystemFont, Arial, sans-serif;
}

/* ─── Reset ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html, body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.55;
  letter-spacing: -0.005em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a    { color: inherit; text-decoration: none; }
img  { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
::selection { background: var(--ink); color: #fff; }

/* WordPress admin-bar offset */
.admin-bar .site-header { top: 32px; }
@media screen and (max-width: 782px) {
  .admin-bar .site-header { top: 46px; }
}

/* ─── Utilities ──────────────────────────────────────── */
.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding-inline: var(--pad);
}

.eyebrow {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--sub);
  display: flex;
  align-items: center;
  gap: 10px;
}
.eyebrow .dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ink);
  flex-shrink: 0;
}

.serif  { font-family: var(--serif); font-weight: 400; letter-spacing: -0.015em; line-height: 1.02; }
.it     { font-style: italic; font-weight: 400; }
.light  { font-weight: 300; color: #9a9a9a; }

/* ─── Buttons ────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 26px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
  white-space: nowrap;
  cursor: pointer;
}
.btn .arr { transition: transform 0.3s ease; }
.btn:hover .arr { transform: translateX(4px); }

.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: var(--ink-2); }

.btn-ghost { color: var(--ink); border: 1px solid var(--ink); }
.btn-ghost:hover { background: var(--ink); color: #fff; }

/* ─── Site Header ────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100px;
  gap: 32px;
  max-width: var(--max);
  margin: 0 auto;
  padding-inline: var(--pad);
}

/* Logo */
.site-header__logo a,
.site-header__logo .custom-logo-link {
  display: flex;
  align-items: center;
}
.site-header__logo img,
.site-header__logo .custom-logo {
  height: 64px;
  width: auto;
}
.site-header__logo a:not([class]) {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
}

/* Primary nav */
.site-header__nav {
  flex: 1;
  display: flex;
  justify-content: center;
}
.site-header__nav ul {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.site-header__nav ul li a {
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.02em;
  color: var(--ink);
  position: relative;
  padding: 6px 0;
  display: block;
}
.site-header__nav ul li a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}
.site-header__nav ul li a:hover::after,
.site-header__nav ul li.current-menu-item > a::after,
.site-header__nav ul li.current_page_item > a::after,
.site-header__nav ul li.current-menu-ancestor > a::after { transform: scaleX(1); }

/* Dropdown sub-menu */
.site-header__nav li.menu-item-has-children { position: relative; }
/* Invisible bridge: extends li hover area into the gap above sub-menu */
.site-header__nav li.menu-item-has-children::after {
  content: '';
  position: absolute;
  top: 100%;
  left: -20px;
  right: -20px;
  height: 16px;
}
.site-header__nav .sub-menu {
  display: block !important;
  position: absolute;
  top: calc(100% + 12px);
  left: -20px;
  background: #fff;
  border: 1px solid var(--line);
  min-width: 260px;
  padding: 8px 0;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px);
  /* Exit: 250ms delay before hiding — gives cursor time to cross the gap */
  transition: opacity 0.2s ease 250ms, transform 0.2s ease 250ms;
  z-index: 200;
  box-shadow: 0 8px 32px rgba(0,0,0,0.07);
  gap: 0;
  flex-direction: column;
  align-items: stretch;
}
.site-header__nav li.menu-item-has-children:hover .sub-menu,
.site-header__nav li.menu-item-has-children:focus-within .sub-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
  /* Entrance: fast, no delay */
  transition: opacity 0.15s ease, transform 0.15s ease;
}
.site-header__nav .sub-menu li { display: block; width: 100%; }
.site-header__nav .sub-menu li a {
  display: block;
  padding: 10px 24px;
  font-size: 13px;
  white-space: nowrap;
  line-height: 1.4;
}
.site-header__nav .sub-menu li a::after { display: none !important; }
.site-header__nav .sub-menu li a:hover { background: var(--paper); }
/* Caret for Služby */
.site-header__nav li.menu-item-has-children > a { padding-right: 14px; }
.site-header__nav li.menu-item-has-children > a::before {
  content: '';
  display: inline-block;
  width: 0; height: 0;
  border-left: 3.5px solid transparent;
  border-right: 3.5px solid transparent;
  border-top: 4px solid currentColor;
  margin-left: 6px;
  vertical-align: middle;
  opacity: 0.55;
  transition: transform 0.2s;
  float: right;
  margin-top: 7px;
}
.site-header__nav li.menu-item-has-children:hover > a::before { transform: rotate(180deg); }

/* CTA */
.site-header__cta a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  border: 1px solid var(--ink);
  color: var(--ink);
  transition: background 0.25s ease, color 0.25s ease;
  white-space: nowrap;
}
.site-header__cta a:hover { background: var(--ink); color: #fff; }

/* ─── Hero ───────────────────────────────────────────── */
.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(32px, 4vw, 70px) 0 var(--section-spacing);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero h1 {
  font-size: clamp(54px, 8.4vw, 128px);
  font-weight: 300;
  margin-top: 36px;
}
.hero h1 .it  { font-style: italic; font-weight: 400; color: var(--ink-2); }
.hero h1 .light { font-weight: 300; color: #9a9a9a; }

.hero-sub {
  margin-top: 36px;
  max-width: 520px;
  color: var(--sub);
  font-size: 17px;
  line-height: 1.6;
}
.hero-cta {
  display: flex;
  gap: 14px;
  margin-top: 48px;
  flex-wrap: wrap;
}
.hero-meta {
  margin-top: 64px;
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
  color: var(--sub);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.hero-meta b {
  display: block;
  color: var(--ink);
  font-family: var(--serif);
  font-style: italic;
  font-size: 32px;
  font-weight: 400;
  letter-spacing: -0.01em;
  text-transform: none;
  margin-bottom: 6px;
}

/* ─── Orb stage ──────────────────────────────────────── */
.stage {
  position: relative;
  aspect-ratio: 1 / 1.05;
  min-height: 400px;
}

.v-orb .orb {
  position: absolute;
  border-radius: 50%;
}
.v-orb .orb-a {
  inset: 8% 6% auto auto;
  width: 78%;
  aspect-ratio: 1;
  background: radial-gradient(circle at 32% 28%, #fff 0%, #d6d6d6 35%, #2a2a2a 78%, #050505 100%);
  box-shadow:
    0 60px 120px -30px rgba(0,0,0,.45),
    inset -30px -40px 80px rgba(0,0,0,.4);
}
.v-orb .orb-b {
  left: -2%;
  top: 38%;
  width: 46%;
  aspect-ratio: 1;
  background: radial-gradient(circle at 60% 35%, #f5f0e8 0%, #e3ddd0 60%, #c9c1b0 100%);
  mix-blend-mode: multiply;
  opacity: .85;
}
.v-orb .orb-c {
  right: 18%;
  bottom: -4%;
  width: 30%;
  aspect-ratio: 1;
  background: radial-gradient(circle at 35% 30%, #ffffff 0%, #ededed 50%, #b5b5b5 100%);
  box-shadow: 0 30px 60px -20px rgba(0,0,0,.25);
}
.v-orb .ring {
  position: absolute;
  border: 1px solid var(--ink);
  border-radius: 50%;
  opacity: .18;
}
.v-orb .ring.r1 {
  inset: auto -10% -8% auto;
  width: 62%;
  aspect-ratio: 1;
}
.v-orb .ring.r2 {
  inset: -6% auto auto -8%;
  width: 38%;
  aspect-ratio: 1;
  opacity: .12;
}
.v-orb .grid-dots {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(0,0,0,.18) 1px, transparent 1.5px);
  background-size: 22px 22px;
  mask-image: radial-gradient(ellipse at 70% 70%, #000 0%, transparent 55%);
  pointer-events: none;
  opacity: .6;
}

/* ─── Section shared ─────────────────────────────────── */
section {
  padding: var(--section-spacing) 0;
  position: relative;
}
.section-head {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 60px;
  align-items: end;
  margin-bottom: 80px;
}
.section-head h2 {
  font-size: clamp(40px, 5vw, 72px);
  font-weight: 300;
}
.lede {
  color: var(--sub);
  font-size: 17px;
  max-width: 480px;
  line-height: 1.6;
}

/* ─── btn-link ───────────────────────────────────────── */
.btn-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 4px;
  color: var(--ink);
}
.btn-link .arr { transition: transform 0.3s ease; }
.btn-link:hover .arr { transform: translateX(4px); }

/* ─── Services ───────────────────────────────────────── */
.services {
  background: #fff;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.svc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.svc {
  padding: 56px 44px 56px 0;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  min-height: 480px;
}
.svc:nth-child(3n)   { border-right: 0; padding-right: 0; }
.svc:not(:first-child) { padding-left: 44px; }

.svc-num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 22px;
  color: var(--sub);
  font-weight: 400;
  margin-bottom: 48px;
}
.svc-icon {
  width: 96px;
  height: 96px;
  margin-bottom: 40px;
  color: var(--ink);
}
.svc-icon svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}
.svc h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 36px;
  line-height: 1.05;
  letter-spacing: -0.015em;
  margin-bottom: 20px;
}
.svc p {
  color: var(--sub);
  font-size: 15px;
  line-height: 1.65;
  margin-bottom: auto;
}
.svc-more { margin-top: 36px; }

/* ─── Services hub page ──────────────────────────────── */
.hub-cards {
  background: #fff;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

/* ─── Why ────────────────────────────────────────────── */
.why { background: var(--cream); }

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(10,10,10,.14);
  border-bottom: 1px solid rgba(10,10,10,.14);
}
.why-item {
  padding: 48px 32px 48px 0;
  border-right: 1px solid rgba(10,10,10,.14);
}
.why-item:not(:first-child) { padding-left: 32px; }
.why-item:last-child { border-right: 0; padding-right: 0; }

.why-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 32px;
  color: var(--ink);
}
.why-icon svg { width: 100%; height: 100%; }

.why-item h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 22px;
  letter-spacing: -0.01em;
  margin-bottom: 12px;
  line-height: 1.2;
}
.why-item p {
  color: var(--ink-2);
  font-size: 14px;
  line-height: 1.6;
  opacity: .78;
}

/* ─── Process ───────────────────────────────────────── */
.process {
  background: #fff;
  position: relative;
  overflow: hidden;
}

/* Decorative orb — top-right corner */
.process-orb {
  position: absolute;
  right: -10%;
  top: -20%;
  width: 48%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fafafa 0%, #ececec 55%, #d4d4d4 100%);
  opacity: .65;
  filter: blur(1px);
  pointer-events: none;
}
.process-ring {
  position: absolute;
  right: 8%;
  bottom: -12%;
  width: 30%;
  aspect-ratio: 1;
  border: 1px solid var(--line);
  border-radius: 50%;
  pointer-events: none;
}

.process .wrap { position: relative; }

.process-track {
  position: relative;
  margin-top: 40px;
  padding-top: 80px;
  border-top: 1px solid var(--line);
}
.process-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.step {
  position: relative;
  padding-right: 24px;
}

/* Dot marker sitting on the timeline */
.step-marker {
  position: absolute;
  top: -89px; /* centers 18px dot on the border-top line */
  left: 0;
  width: 18px;
  height: 18px;
  border: 1px solid var(--ink);
  background: #fff;
  border-radius: 50%;
}
.step.active .step-marker { background: var(--ink); }

.step-num {
  font-style: italic;
  font-size: 64px;
  font-weight: 300;
  line-height: 1;
  margin-bottom: 24px;
  color: var(--ink);
}
.step h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 24px;
  letter-spacing: -0.01em;
  margin-bottom: 12px;
  line-height: 1.15;
}
.step p {
  color: var(--ink-2);
  font-size: 14px;
  line-height: 1.6;
  opacity: .75;
}

/* ─── FAQ ────────────────────────────────────────────── */
.faq {
  background: #fff;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 80px;
  align-items: start;
}
.faq-intro h2 {
  font-size: clamp(40px, 5vw, 72px);
  font-weight: 300;
}
.faq-note {
  margin-top: 32px;
  color: var(--sub);
  font-size: 14px;
  line-height: 1.65;
  max-width: 300px;
}
.faq-note a {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--line);
  text-underline-offset: 3px;
}
.faq-note a:hover { text-decoration-color: var(--ink); }

/* Accordion list */
.faq-list { border-top: 1px solid var(--line); }

details {
  border-bottom: 1px solid var(--line);
  padding: 28px 0;
}
summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
  font-family: var(--serif);
  font-weight: 500;
  font-size: 22px;
  line-height: 1.3;
  letter-spacing: -0.005em;
  color: var(--ink);
}
summary::-webkit-details-marker { display: none; }
summary::marker { display: none; }

/* Plus/cross icon — pure CSS */
.faq-plus {
  flex-shrink: 0;
  position: relative;
  width: 22px;
  height: 22px;
  margin-top: 4px;
}
.faq-plus::before,
.faq-plus::after {
  content: "";
  position: absolute;
  background: var(--ink);
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.faq-plus::before {
  top: 50%; left: 0; right: 0;
  height: 1px;
  transform: translateY(-50%);
}
.faq-plus::after {
  left: 50%; top: 0; bottom: 0;
  width: 1px;
  transform: translateX(-50%);
}
details[open] .faq-plus::after {
  transform: translateX(-50%) rotate(90deg);
  opacity: 0;
}

.faq-ans {
  margin-top: 18px;
  color: var(--sub);
  font-size: 15px;
  line-height: 1.7;
  max-width: 640px;
}

/* ─── Contact ───────────────────────────────────────── */
.contact {
  background: var(--cream);
  position: relative;
  overflow: hidden;
}

/* Decorative 3D orb — top right */
.contact-orb {
  position: absolute;
  right: -16%;
  top: -20%;
  width: 54%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 28%, #ffffff 0%, #d6d6d6 35%, #2a2a2a 78%, #050505 100%);
  opacity: .85;
  box-shadow: 0 60px 120px -30px rgba(0,0,0,.3), inset -30px -40px 80px rgba(0,0,0,.35);
  pointer-events: none;
}
.contact-ring {
  position: absolute;
  right: 6%;
  bottom: -10%;
  width: 26%;
  aspect-ratio: 1;
  border: 1px solid rgba(10,10,10,.14);
  border-radius: 50%;
  pointer-events: none;
}

.contact .wrap { position: relative; }

.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 80px;
  align-items: start;
}

/* Left column */
.contact-heading {
  font-size: clamp(48px, 6vw, 92px);
  font-weight: 300;
  line-height: 1.02;
}
.contact-heading .it { color: var(--ink-2); }

.contact-sub {
  margin-top: 36px;
  color: var(--ink-2);
  font-size: 17px;
  line-height: 1.65;
  max-width: 420px;
  opacity: .78;
}
.contact-info {
  margin-top: 48px;
  display: grid;
  gap: 0;
  max-width: 360px;
}
.contact-info-row {
  border-top: 1px solid rgba(10,10,10,.18);
  padding: 18px 0;
}
.ci-lbl {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sub);
  margin-bottom: 8px;
}
.ci-val {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 400;
  letter-spacing: -0.005em;
  color: var(--ink);
  text-decoration: none;
  display: block;
}
.ci-val:hover { text-decoration: underline; text-underline-offset: 4px; }
.ci-val--italic { font-style: italic; }

/* Right column — form card */
.contact-form {
  background: #fff;
  border: 1px solid var(--line);
  padding: 40px;
  border-radius: 4px;
}

/* ─── Fluent Forms overrides ─────────────────────────── */

/* Field groups */
.contact-form .ff-el-group {
  margin-bottom: 22px;
  position: relative;
}

/* Labels */
.contact-form .ff-el-input--label,
.contact-form .ff-el-input--label label {
  display: block;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sub);
  margin-bottom: 10px;
  cursor: default;
}
.contact-form .ff-el-input--label .ff-el-is-required { display: none; }

/* Inputs & textarea */
.contact-form .ff-el-form-control {
  width: 100%;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  padding: 8px 0;
  background: transparent;
  font-family: var(--sans);
  font-size: 15px;
  color: var(--ink);
  box-shadow: none;
  transition: border-color 0.25s ease;
  -webkit-appearance: none;
}
.contact-form .ff-el-form-control:focus {
  outline: none;
  border-bottom-color: var(--ink);
  box-shadow: none;
}
.contact-form .ff-el-form-control::placeholder { color: #bbb; }
.contact-form .ff-el-form-control.ff_error      { border-bottom-color: #b91c1c; }
.contact-form textarea.ff-el-form-control       { resize: vertical; min-height: 88px; }

/* Select */
.contact-form select.ff-el-form-control {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%230A0A0A' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 4px center;
  padding-right: 24px;
  cursor: pointer;
}

/* Checkbox — custom black & white */
.contact-form .ff-el-form-check {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 13px;
  color: var(--sub);
  line-height: 1.55;
  margin: 4px 0;
  cursor: pointer;
}
.contact-form .ff-el-form-check input[type="checkbox"] {
  -webkit-appearance: none;
  appearance: none;
  width: 16px;
  height: 16px;
  border: 1px solid var(--ink);
  border-radius: 2px;
  background: #fff;
  flex-shrink: 0;
  margin-top: 2px;
  cursor: pointer;
  transition: background 0.2s ease;
  position: relative;
}
.contact-form .ff-el-form-check input[type="checkbox"]:checked {
  background: var(--ink);
}
.contact-form .ff-el-form-check input[type="checkbox"]:checked::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 1px;
  width: 5px;
  height: 9px;
  border: 1.5px solid #fff;
  border-top: 0;
  border-left: 0;
  transform: rotate(45deg);
}
.contact-form .ff-el-form-check a {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: var(--line);
  text-underline-offset: 3px;
}
.contact-form .ff-el-form-check a:hover { text-decoration-color: var(--sub); }

/* Submit button */
.contact-form .ff_submit_btn_wrapper { margin-top: 28px; }
.contact-form .ff_btn_style,
.contact-form .ff-btn-submit,
.contact-form button.ff-btn {
  width: 100% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px;
  padding: 16px 26px !important;
  border-radius: 999px !important;
  background: #0A0A0A !important;
  background-color: #0A0A0A !important;
  color: #fff !important;
  font-family: var(--sans) !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  letter-spacing: 0.02em;
  border: 0 !important;
  box-shadow: none !important;
  cursor: pointer;
  transition: background 0.25s ease;
  white-space: nowrap;
}
.contact-form .ff_btn_style:hover,
.contact-form .ff-btn-submit:hover,
.contact-form button.ff-btn:hover {
  background: #1F1F1F !important;
  background-color: #1F1F1F !important;
}

/* Validation */
.contact-form .error,
.contact-form .ff-el-is-error .ff-el-form-control { border-bottom-color: #b91c1c; }
.contact-form .error { color: #b91c1c; font-size: 12px; margin-top: 6px; }

/* Success message */
.contact-form .ff-message-success {
  font-family: var(--serif);
  font-style: italic;
  font-size: 22px;
  color: var(--ink);
  text-align: center;
  padding: 48px 0;
}

/* ─── Footer ─────────────────────────────────────────── */
.site-footer {
  background: var(--ink);
  color: #cfcfcf;
  padding: 80px 0 28px;
}

.foot-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 64px;
  border-bottom: 1px solid rgba(255,255,255,.12);
}

/* Brand */
.foot-logo .custom-logo-link img,
.foot-logo .custom-logo,
.foot-logo-img { height: 40px; width: auto; }
.foot-logo-text {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 600;
  color: #fff;
  letter-spacing: -0.02em;
}
.foot-brand p {
  margin-top: 20px;
  font-size: 13px;
  line-height: 1.65;
  color: #9a9a9a;
  max-width: 280px;
}

/* Columns */
.foot-col h5 {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #cfcfcf;
  font-weight: 500;
  margin-bottom: 20px;
}
.foot-col a {
  display: block;
  padding: 6px 0;
  font-size: 14px;
  color: #9a9a9a;
  transition: color .2s;
  text-decoration: none;
}
.foot-col a:hover { color: #fff; }

/* WP menu in footer — strip list styles */
.foot-col ul { list-style: none; padding: 0; margin: 0; }
.foot-col ul li a { display: block; padding: 6px 0; font-size: 14px; color: #9a9a9a; }
.foot-col ul li a:hover { color: #fff; }

/* Social icons */
.foot-social {
  display: flex;
  gap: 14px;
  margin-top: 20px;
}
.foot-social-link {
  width: 28px;
  height: 28px;
  color: #9a9a9a;
  padding: 0;
  transition: color .2s;
}
.foot-social-link:hover { color: #fff; }
.foot-social-link svg { width: 100%; height: 100%; }

/* Bottom bar */
.foot-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 28px;
  font-size: 12px;
  color: #737373;
  flex-wrap: wrap;
  gap: 16px;
}
.foot-legal { display: flex; gap: 24px; }
.foot-legal a { color: #737373; font-size: 12px; transition: color .2s; }
.foot-legal a:hover { color: #fff; }

/* ─── Page hero ─────────────────────────────────────── */
.page-hero {
  padding: clamp(48px, 6vw, 88px) 0 clamp(36px, 4vw, 64px);
  border-bottom: 1px solid var(--line);
  background: var(--bg);
}
.page-hero__title {
  font-size: clamp(42px, 6.5vw, 88px);
  font-weight: 300;
  line-height: 1.02;
  letter-spacing: -0.02em;
  margin-top: 20px;
  max-width: 860px;
}
.page-hero__sub {
  margin-top: 20px;
  color: var(--sub);
  font-size: 17px;
  line-height: 1.65;
  max-width: 560px;
}

/* When contact section immediately follows a page hero, halve its top padding */
.page-hero + .contact {
  padding-top: clamp(36px, 4vw, 64px);
}

/* ─── Page content ───────────────────────────────────── */
.page-content {
  padding: clamp(48px, 6vw, 96px) 0;
}
.page-content .entry-content {
  max-width: 720px;
}

/* Entry content typography */
.entry-content > * + * { margin-top: 1.4em; }

.entry-content h2 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(30px, 3.8vw, 52px);
  line-height: 1.08;
  letter-spacing: -0.015em;
  margin-top: 2em;
  color: var(--ink);
}
.entry-content h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(22px, 2.6vw, 34px);
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin-top: 1.8em;
  color: var(--ink);
}
.entry-content h4 {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 16px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-top: 1.6em;
  color: var(--ink);
}
.entry-content p {
  font-size: 17px;
  line-height: 1.72;
  color: var(--ink-2);
}
.entry-content strong { font-weight: 600; color: var(--ink); }
.entry-content em     { font-style: italic; }

.entry-content a {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--line);
  text-underline-offset: 3px;
  transition: text-decoration-color 0.2s ease;
}
.entry-content a:hover { text-decoration-color: var(--ink); }

.entry-content ul,
.entry-content ol {
  padding-left: 1.5em;
  color: var(--ink-2);
  font-size: 17px;
  line-height: 1.72;
}
.entry-content ul { list-style: disc; }
.entry-content ol { list-style: decimal; }
.entry-content li + li { margin-top: 0.4em; }

.entry-content blockquote,
.entry-content .wp-block-quote,
.single .entry-content blockquote {
  border-left: 2px solid var(--ink);
  margin: 2em 0;
  padding: 8px 0 8px 28px;
  font-family: var(--serif) !important;
  font-style: italic !important;
  font-size: 1.25rem !important;
  font-weight: 300;
  line-height: 1.6 !important;
  color: var(--ink-2);
}
.entry-content blockquote p,
.entry-content .wp-block-quote p,
.single .entry-content blockquote p,
.single-content blockquote p,
.single-content .wp-block-quote p {
  font-size: 1.25rem !important;
  line-height: 1.6 !important;
  font-style: italic !important;
  font-family: var(--serif) !important;
  color: inherit;
  margin-bottom: 0;
}
.entry-content blockquote cite {
  display: block;
  margin-top: 12px;
  font-family: var(--sans);
  font-style: normal;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sub);
}

.entry-content hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 2.5em 0;
}

.entry-content img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 2px;
}
.entry-content figure { margin: 2em 0; }
.entry-content figcaption {
  margin-top: 10px;
  font-size: 13px;
  color: var(--sub);
  text-align: center;
}

/* ─── Service page template ─────────────────────────── */

/* Hero variant — white bg */
.sluzba-hero { background: #fff; }

/* "Čo zahŕňa" section */
.sluzba-co-zahrna {
  background: var(--bg);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: var(--section-spacing) 0;
}
.sluzba-items {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  list-style: none;
  border-top: 1px solid var(--line);
  margin-top: 64px;
}
.sluzba-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 36px 40px 36px 0;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.sluzba-item:nth-child(2n) {
  border-right: 0;
  padding-left: 40px;
  padding-right: 0;
}
.sluzba-item:nth-last-child(-n+2) { border-bottom: 0; }

.sluzba-item__icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  margin-top: 5px;
  color: var(--ink);
}
.sluzba-item__icon svg { width: 100%; height: 100%; }

.sluzba-item__title {
  font-size: 22px;
  font-weight: 400;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
  line-height: 1.2;
  color: var(--ink);
}
.sluzba-item__body p {
  font-size: 15px;
  line-height: 1.65;
  color: var(--sub);
}

/* "Ako prebieha" section */
.sluzba-ako-prebieha {
  background: #fff;
  padding: var(--section-spacing) 0;
}
.sluzba-kroky {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-top: 64px;
  border-top: 1px solid var(--line);
  padding-top: 48px;
}
.sluzba-krok__num {
  font-style: italic;
  font-size: 56px;
  font-weight: 300;
  line-height: 1;
  margin-bottom: 20px;
  color: var(--ink);
}
.sluzba-krok h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 22px;
  letter-spacing: -0.01em;
  margin-bottom: 10px;
  line-height: 1.15;
  color: var(--ink);
}
.sluzba-krok p {
  font-size: 14px;
  line-height: 1.65;
  color: var(--sub);
}

/* CTA block */
.sluzba-cta {
  background: var(--ink);
  color: #fff;
  padding: clamp(64px, 8vw, 120px) 0;
  position: relative;
  overflow: hidden;
  text-align: center;
}
.sluzba-cta__orb {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
  max-width: 800px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, rgba(255,255,255,.07) 0%, rgba(255,255,255,0) 65%);
  pointer-events: none;
}
.sluzba-cta__inner {
  position: relative;
  max-width: 640px;
  margin: 0 auto;
}
.sluzba-cta__heading {
  font-weight: 300;
  font-size: clamp(40px, 5vw, 72px);
  line-height: 1.05;
  letter-spacing: -0.015em;
  color: #fff;
}
.sluzba-cta__heading .it { color: #cfcfcf; }
.sluzba-cta__sub {
  margin-top: 24px;
  color: #9a9a9a;
  font-size: 17px;
  line-height: 1.65;
}
.sluzba-cta__btn {
  display: inline-flex;
  margin-top: 40px;
  background: #fff;
  color: var(--ink);
  border: 1px solid #fff;
  padding: 16px 32px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: background 0.25s ease, border-color 0.25s ease;
}
.sluzba-cta__btn:hover {
  background: var(--cream);
  border-color: var(--cream);
}

/* ─── Blog archive ──────────────────────────────────── */
.blog-archive {
  padding: var(--section-spacing) 0;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  margin-top: 56px;
}

.blog-card {
  padding: 48px 40px 48px 0;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
/* col 2 and col 3: add left padding */
.blog-card:nth-child(3n+2),
.blog-card:nth-child(3n)   { padding-left: 40px; }
/* col 3: no right border/padding */
.blog-card:nth-child(3n)   { border-right: 0; padding-right: 0; }

.blog-card__img {
  aspect-ratio: 3 / 2;
  overflow: hidden;
  margin-bottom: 28px;
}
.blog-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}
.blog-card:hover .blog-card__img img { transform: scale(1.03); }

.blog-card__cat { margin-bottom: 12px; }
.blog-card__cat a { color: var(--sub); }
.blog-card__cat a:hover { color: var(--ink); }

.blog-card__title {
  font-size: clamp(22px, 2vw, 28px);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin-top: 10px;
}
.blog-card__title a {
  color: inherit;
  transition: opacity 0.25s ease;
}
.blog-card__title a:hover { opacity: 0.6; }

.blog-card__date {
  font-size: 12px;
  color: var(--sub);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: 16px;
}

.blog-card__excerpt {
  margin-top: 14px;
  color: var(--sub);
  font-size: 15px;
  line-height: 1.65;
}
.blog-card__excerpt p { margin: 0; }

.blog-card__more { margin-top: 24px; }

/* No posts */
.blog-empty {
  padding: 80px 0;
  text-align: center;
  border-top: 1px solid var(--line);
  margin-top: 56px;
}
.blog-empty p { color: var(--sub); font-size: 17px; }

/* Pagination */
.blog-pagination {
  padding-top: 56px;
  display: flex;
  justify-content: center;
}
.blog-pagination .nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.blog-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  font-size: 14px;
  color: var(--sub);
  border-radius: 2px;
  transition: color 0.2s ease, background 0.2s ease;
  white-space: nowrap;
}
.blog-pagination .page-numbers:hover     { color: var(--ink); background: var(--paper); }
.blog-pagination .page-numbers.current  { color: var(--ink); font-weight: 600; background: var(--paper); }
.blog-pagination .prev,
.blog-pagination .next {
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ─── Blog single ───────────────────────────────────── */
.single-breadcrumbs {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  color: var(--sub);
}
.breadcrumbs {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 4px 0;
  align-items: center;
}
.breadcrumbs li + li::before {
  content: '/';
  margin: 0 8px;
  color: var(--line);
}
.breadcrumbs a          { color: var(--sub); }
.breadcrumbs a:hover    { color: var(--ink); }
.breadcrumbs__current   { color: var(--ink); }

.rank-math-breadcrumb p {
  margin: 0;
  font-size: 13px;
  color: var(--sub);
}
.rank-math-breadcrumb a         { color: var(--sub); }
.rank-math-breadcrumb a:hover   { color: var(--ink); }

.single-hero {
  padding: var(--section-spacing) 0 clamp(56px, 6vw, 88px);
}
.single-hero .eyebrow  { margin-bottom: 20px; }
.single-hero__title {
  font-size: clamp(38px, 5vw, 64px);
  line-height: 1.07;
  letter-spacing: -0.025em;
  max-width: 840px;
}

.single-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 28px;
  font-size: 13px;
  color: var(--sub);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.single-meta__sep { margin: 0 10px; color: var(--line); }

.single-hero__img {
  margin-top: 48px;
  aspect-ratio: 16 / 7;
  overflow: hidden;
  border-radius: 2px;
}
.single-hero__img img { width: 100%; height: 100%; object-fit: cover; }

.single-body {
  padding: 64px 0 var(--section-spacing);
}
.single-body__inner {
  display: grid;
  grid-template-columns: minmax(0, 720px) 1fr;
  gap: 0 80px;
  align-items: start;
}

.single-content {
  font-size: 18px;
  line-height: 1.75;
  color: var(--ink-2);
}
.single-content p  { margin-bottom: 1.4em; }
.single-content h2 {
  font-family: var(--serif);
  font-size: clamp(26px, 2.5vw, 36px);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin: 2em 0 0.6em;
}
.single-content h3 {
  font-size: 20px;
  font-weight: 600;
  margin: 1.8em 0 0.5em;
}
.single-content ul,
.single-content ol  { padding-left: 1.5em; margin-bottom: 1.4em; }
.single-content li  { margin-bottom: 0.4em; }
.single-content blockquote,
.single-content .wp-block-quote {
  border-left: 3px solid var(--ink);
  padding-left: 28px;
  margin: 2em 0;
  font-family: var(--serif) !important;
  font-size: 1.25rem !important;
  font-style: italic !important;
  line-height: 1.6 !important;
}
.single-content pre {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 20px 24px;
  overflow-x: auto;
  font-size: 14px;
  margin-bottom: 1.4em;
}
.single-content code {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 2px 6px;
  font-size: 0.88em;
}
.single-content pre code { background: none; border: 0; padding: 0; font-size: inherit; }
.single-content img     { border-radius: 2px; margin: 2em 0; }
.single-content a       { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }

.single-share {
  position: sticky;
  top: calc(80px + 32px);
}
.single-share__label {
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--sub);
  margin-bottom: 16px;
}
.single-share__links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.single-share__link,
button.single-share__link {
  font-size: 14px;
  color: var(--sub) !important;
  transition: color 0.2s;
  text-align: left;
  padding: 0 !important;
  background: none !important;
  background-color: transparent !important;
  border: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  line-height: inherit;
  display: inline;
}
.single-share__link:hover,
button.single-share__link:hover {
  color: var(--ink) !important;
  background: none !important;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.single-related {
  border-top: 1px solid var(--line);
  padding: var(--section-spacing) 0;
}
.single-related__head  { margin-bottom: 48px; }
.single-related__title {
  font-size: clamp(36px, 4vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin-top: 12px;
}
.single-related__title em { font-style: italic; color: var(--sub); }
.single-related__more {
  display: inline-flex;
  align-items: center;
  margin-top: 48px;
}

/* ─── 404 ───────────────────────────────────────────── */
.error-hero { padding: var(--section-spacing) 0; }
.error-hero__title {
  font-size: clamp(96px, 16vw, 200px);
  font-weight: 300;
  line-height: 1;
  letter-spacing: -0.05em;
  margin-top: 12px;
  color: var(--ink);
}
.error-hero__sub {
  font-size: clamp(22px, 2.5vw, 32px);
  font-family: var(--serif);
  font-weight: 400;
  margin-top: 20px;
  color: var(--ink);
}
.error-hero__desc {
  margin-top: 20px;
  color: var(--sub);
  font-size: 16px;
  line-height: 1.65;
  max-width: 520px;
}
.error-hero__cta { margin-top: 40px; }
.error-recent { padding: var(--section-spacing) 0; border-top: 1px solid var(--line); }
.error-recent__label {
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--sub);
  margin-bottom: 48px;
}

/* ─── Search ─────────────────────────────────────────── */
.search-form__inner {
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 6px;
  max-width: 560px;
  gap: 12px;
}
.search-form__input {
  flex: 1;
  border: 0;
  background: none;
  font-family: var(--sans);
  font-size: 16px;
  color: var(--ink);
  outline: none;
}
.search-form__input::placeholder { color: var(--sub); }
.search-form__btn {
  color: var(--sub);
  padding: 0;
  background: none;
  border: 0;
  cursor: pointer;
  transition: color 0.2s;
}
.search-form__btn:hover { color: var(--ink); }
.blog-empty__form { margin-top: 32px; }

/* ─── Mobile nav toggle ──────────────────────────────── */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 20px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}
.nav-toggle__bar {
  display: block;
  height: 1px;
  background: var(--ink);
  transition: transform 0.3s ease, opacity 0.3s ease;
  transform-origin: center;
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) {
  transform: translateY(9.5px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) {
  transform: translateY(-9.5px) rotate(-45deg);
}

/* ─── Responsive ─────────────────────────────────────── */
@media (max-width: 768px) {
  .hide-mobile { display: none !important; }
  .show-mobile { display: flex !important; }
  .nav-toggle  { display: flex; }

  .site-header__nav {
    display: block;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    padding: 24px var(--pad) 32px;
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.3s ease, opacity 0.3s ease;
  }
  .site-header__nav.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .site-header__nav ul {
    flex-direction: column;
    gap: 0;
    align-items: flex-start;
  }
  .site-header__nav ul li a {
    font-size: 22px;
    padding: 14px 0;
    font-family: var(--serif);
    font-weight: 400;
    letter-spacing: -0.01em;
  }
  .site-header__nav ul li a::after { display: none; }

  /* Mobile sub-menu — always visible, indented */
  .site-header__nav li.menu-item-has-children::after { display: none; }
  .site-header__nav li.menu-item-has-children > a::before { display: none; }
  .site-header__nav .sub-menu {
    position: static !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    transform: none !important;
    box-shadow: none !important;
    border: 0 !important;
    background: none !important;
    padding: 0 0 8px 16px !important;
    min-width: auto !important;
  }
  .site-header__nav .sub-menu li a {
    font-size: 17px;
    padding: 8px 0;
    color: var(--sub);
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .stage {
    aspect-ratio: 1 / 0.9;
    min-height: 300px;
    order: -1;
  }
  .hero-meta { gap: 28px; }

  .section-head {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-bottom: 48px;
  }
  .svc-grid { grid-template-columns: 1fr; }
  .svc {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 48px 0 !important;
    min-height: auto;
  }
  .svc:last-child { border-bottom: 0; }

  .why-grid { grid-template-columns: 1fr 1fr; }
  .why-item {
    border-right: 1px solid rgba(10,10,10,.14) !important;
    border-bottom: 1px solid rgba(10,10,10,.14);
    padding: 32px !important;
  }
  .why-item:nth-child(2n) { border-right: 0 !important; }
  .why-item:nth-last-child(-n+2) { border-bottom: 0; }

  .process-orb, .process-ring { display: none; }
  .process-row {
    grid-template-columns: 1fr 1fr;
    gap: 48px 32px;
  }
  .step-marker { display: none; }
  .process-track { padding-top: 0; border-top: 0; }

  .faq-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .faq-note { max-width: 100%; }
  summary { font-size: 18px; }

  .contact-orb, .contact-ring { display: none; }
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .contact-form { padding: 28px; }
  .contact-sub { max-width: 100%; }
  .contact-form .ff_submit_btn_wrapper { margin-top: 20px; }

  .foot-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
  .foot-brand { grid-column: 1 / -1; }
  .foot-bottom { flex-direction: column; align-items: flex-start; }

  .page-hero__title { margin-top: 16px; }
  .page-hero__sub   { max-width: 100%; }
  .entry-content h2 { margin-top: 1.5em; }
  .entry-content h3 { margin-top: 1.3em; }

  .sluzba-items { grid-template-columns: 1fr; }
  .sluzba-item {
    border-right: 0 !important;
    border-bottom: 1px solid var(--line) !important;
    padding: 28px 0 !important;
  }
  .sluzba-item:last-child { border-bottom: 0 !important; }

  .sluzba-kroky {
    grid-template-columns: 1fr 1fr;
    gap: 40px 24px;
    padding-top: 32px;
  }
  .sluzba-krok__num { font-size: 40px; margin-bottom: 12px; }

  /* Blog archive — mobile */
  .blog-grid { grid-template-columns: 1fr; }
  .blog-card {
    border-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    padding-top: 36px;
    padding-bottom: 36px;
  }

  /* Blog single — mobile */
  .single-hero__title { font-size: clamp(30px, 8vw, 48px); }
  .single-body { padding: 40px 0 var(--section-spacing); }
  .single-body__inner {
    display: block;
  }
  .single-content { font-size: 17px; }
  .single-share {
    position: static;
    margin-top: 48px;
    padding-top: 28px;
    border-top: 1px solid var(--line);
  }
  .single-share__links {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px 16px;
  }
  .single-related__title { font-size: clamp(30px, 8vw, 44px); }
}
