/* ==========================================================================
   SIGNUS – Creative Studio (redesign 2026)
   Space Grotesk + Inter, warm off-white, green accent
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  --bg: oklch(97% 0.012 85);              /* warm off-white */
  --card: oklch(99% 0.004 85);             /* near-white surfaces */
  --ink: oklch(19% 0.012 95);              /* primary text / dark bg */
  --ink-soft: oklch(40% 0.01 95);          /* secondary text */
  --green: oklch(58% 0.15 150);            /* accent green */
  --green-dark: oklch(32% 0.1 152);        /* dark green for text */
  --green-soft: oklch(93% 0.045 145);      /* light green fills */
  --line: oklch(88% 0.01 95);              /* borders */
  --line-dark: oklch(30% 0.012 95);        /* borders on dark bg */

  --heading: 'Space Grotesk', -apple-system, sans-serif;
  --body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --radius-pill: 100px;
  --radius-lg: 24px;
  --radius-xl: 28px;
  --maxw: 1320px;
  --pad-x: clamp(24px, 5vw, 48px);

  --shadow-card: 0 30px 60px -20px oklch(19% 0.01 95 / 0.15);
  --shadow-hover: 0 20px 40px -16px oklch(19% 0.01 95 / 0.18);

  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--body);
  background: var(--bg);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  min-height: 100vh;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; background: none; border: 0; color: inherit; }
input, textarea, select { font: inherit; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--heading);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
}
h1 { font-size: clamp(36px, 5vw, 64px); font-weight: 700; line-height: 1.05; letter-spacing: -0.03em; }
h2 { font-size: clamp(26px, 3.5vw, 38px); font-weight: 600; }
h3 { font-size: clamp(18px, 2vw, 24px); font-weight: 600; letter-spacing: -0.01em; }
h4 { font-size: 16.5px; font-weight: 600; }

.dot-green { color: var(--green); }

/* ---------- Layout ---------- */
.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--pad-x);
}

/* ---------- Eyebrow pill ---------- */
.eyebrow-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--green-soft);
  color: var(--green-dark);
  padding: 7px 16px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 24px;
}
.eyebrow-pill::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
}
.eyebrow-pill.no-dot::before { display: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: none;
  padding: 14px 26px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 14.5px;
  cursor: pointer;
  transition: filter 0.2s var(--ease), border-color 0.2s var(--ease), transform 0.2s var(--ease);
  white-space: nowrap;
  font-family: inherit;
}
.btn-primary {
  background: var(--ink);
  color: var(--card);
}
.btn-primary:hover { filter: brightness(1.15); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--line);
}
.btn-ghost:hover { border-color: var(--ink); }
.btn-large {
  padding: 16px 30px;
  font-size: 15px;
}
.btn-arrow { transition: transform 0.2s var(--ease); }
.btn:hover .btn-arrow { transform: translateX(3px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px var(--pad-x);
  background: color-mix(in oklch, var(--bg) 88%, transparent);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
/* ---------- Logo ---------- */
.logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: inherit;
  line-height: 1;
}
.logo img {
  display: block;
  height: 52px;
  width: auto;
  max-width: 100%;
}

/* Header – logo väčšie, dominantnejšie oproti menu a CTA */
.site-header .logo img {
  height: 68px;
}

/* Footer logo */
.footer-logo img {
  height: 60px;
}
.nav {
  display: flex;
  align-items: center;
  gap: 32px;
  font-size: 15px;
  font-weight: 500;
}
.nav-list {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}
.nav-list a {
  cursor: pointer;
  opacity: 0.85;
  transition: opacity 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.nav-list a:hover, .nav-list a.is-active { opacity: 1; }
.nav-list .caret { font-size: 11px; opacity: 0.6; }
.services-dropdown-wrap {
  position: relative;
}
/* Neviditeľný "most" medzi trigger-om a dropdown menu – zabráni tomu, aby hover zmizol
   pri prechode myšou cez medzeru */
.services-dropdown-wrap::after {
  content: '';
  position: absolute;
  top: 100%;
  left: -20px;
  right: -20px;
  height: 20px;
  display: none;
}
.services-dropdown-wrap:hover::after {
  display: block;
}
.services-dropdown {
  position: absolute;
  top: calc(100% + 16px);
  left: -16px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 10px;
  width: 300px;
  box-shadow: 0 20px 40px -12px oklch(19% 0.01 95 / 0.18);
  display: none;
  flex-direction: column;
  z-index: 60;
  /* Plynulé prechody */
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 0.15s ease, transform 0.15s ease;
  pointer-events: none;
}
.services-dropdown-wrap:hover .services-dropdown,
.services-dropdown-wrap:focus-within .services-dropdown {
  display: flex;
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.services-dropdown a {
  padding: 9px 12px;
  border-radius: 8px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink);
  opacity: 1;
  transition: background 0.15s;
}
.services-dropdown a:hover { background: var(--green-soft); }
.lang-toggle {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-soft);
  padding-left: 12px;
  border-left: 1px solid var(--line);
}
.lang-toggle a {
  color: var(--ink-soft);
  text-decoration: none;
  transition: color 0.15s;
  cursor: pointer;
}
.lang-toggle a:hover { color: var(--ink); }
.lang-toggle .active { color: var(--ink); }
.menu-toggle { display: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 90px var(--pad-x) 60px;
  overflow: hidden;
}
.hero-shape-1, .hero-shape-2 {
  position: absolute;
  z-index: 0;
  pointer-events: none;
}
.hero-shape-1 {
  top: -60px;
  right: -60px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: var(--green-soft);
  animation: floatY 9s ease-in-out infinite;
}
.hero-shape-2 {
  bottom: 40px;
  right: 340px;
  width: 60px;
  height: 60px;
  border-radius: 14px;
  background: var(--green);
  transform: rotate(18deg);
  animation: floatY2 7s ease-in-out infinite;
}
.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 64px;
  align-items: center;
  max-width: var(--maxw);
  margin: 0 auto;
}
.hero-title {
  margin-bottom: 24px;
  font-size: clamp(38px, 5vw, 64px);
}
.hero-lead {
  font-size: 18px;
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: 480px;
  margin-bottom: 36px;
}
.hero-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.hero-tabs-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-card);
  min-height: 300px;
}
.hero-tab-panel {
  display: none;
}
.hero-tab-panel.is-active { display: block; }
.tab-letter {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--green-soft);
  color: var(--green-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--heading);
  font-weight: 700;
  font-size: 18px;
  margin-bottom: 20px;
}
.hero-tab-panel h3 { margin-bottom: 12px; }
.hero-tab-panel p {
  font-size: 15.5px;
  color: var(--ink-soft);
  line-height: 1.6;
}
.hero-tab-dots {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}
.hero-tab-dots button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--line);
  transition: background 0.2s, width 0.3s var(--ease);
  padding: 0;
}
.hero-tab-dots button.is-active {
  background: var(--green);
  width: 26px;
}

@keyframes floatY {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50%      { transform: translateY(-16px) rotate(3deg); }
}
@keyframes floatY2 {
  0%, 100% { transform: translateY(0) rotate(18deg); }
  50%      { transform: translateY(14px) rotate(14deg); }
}
@keyframes spinSlow {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* ---------- Marquee (statický pás) ---------- */
.marquee {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  padding: 26px var(--pad-x);
  background: var(--ink);
}
.marquee-track {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 20px 60px;
  max-width: var(--maxw);
  margin: 0 auto;
}
.marquee-track span {
  font-family: var(--heading);
  font-weight: 600;
  font-size: 20px;
  color: var(--card);
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 60px;
  letter-spacing: -0.01em;
}
.marquee-track span::after {
  content: '●';
  color: var(--green);
  font-size: 10px;
  opacity: 0.9;
}
/* Posledná bodka je zbytočná */
.marquee-track span:last-child::after {
  display: none;
}

/* Na menšom monitore mierne redukovať */
@media (max-width: 1100px) {
  .marquee-track {
    justify-content: center;
    gap: 16px 40px;
  }
  .marquee-track span { gap: 40px; font-size: 18px; }
}

/* ---------- Sections (default) ---------- */
.section {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 90px var(--pad-x);
}
.section-dark {
  background: var(--ink);
  color: var(--card);
  padding: 100px var(--pad-x);
}
.section-dark-inner {
  max-width: var(--maxw);
  margin: 0 auto;
}

/* ---------- Quote block (home) ---------- */
.quote-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.quote-visual {
  position: relative;
}
.quote-mark {
  position: absolute;
  top: -30px;
  left: -20px;
  font-family: var(--heading);
  font-size: 130px;
  font-weight: 700;
  color: var(--green-soft);
  z-index: 0;
  line-height: 1;
}
.quote-visual h2 {
  position: relative;
  z-index: 1;
  line-height: 1.25;
}
.quote-text p {
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink-soft);
  margin-bottom: 28px;
}
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 16px;
  color: var(--green-dark);
  cursor: pointer;
  transition: gap 0.2s var(--ease);
}
.link-arrow:hover { gap: 14px; }

/* ---------- Section head ---------- */
.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 40px;
  gap: 24px;
  flex-wrap: wrap;
}
.section-head h2 { margin: 0; }
.section-head .link-arrow { font-size: 15px; }
.section-dark .link-arrow { color: var(--green); }

/* ---------- Services grid (4-col) ---------- */
.services-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.service-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 26px;
  cursor: pointer;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
  display: block;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}
.service-letter {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: var(--green-soft);
  color: var(--green-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--heading);
  font-weight: 700;
  margin-bottom: 18px;
}
.service-card h3 {
  font-size: 16.5px;
  margin-bottom: 8px;
  line-height: 1.3;
}
.service-card p {
  font-size: 13.5px;
  color: var(--ink-soft);
  line-height: 1.55;
}

/* ---------- Services list (services page) ---------- */
.services-list-row {
  display: flex;
  gap: 28px;
  align-items: flex-start;
  padding: 34px 0;
  cursor: pointer;
  border-top: 1px solid var(--line);
  transition: padding-left 0.2s var(--ease);
}
.services-list-row:first-child { border-top: 0; }
.services-list-row:hover { padding-left: 8px; }
.services-list-row .service-letter-lg {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: var(--green-soft);
  color: var(--green-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--heading);
  font-weight: 700;
  font-size: 22px;
  flex-shrink: 0;
}
.services-list-row .content { flex: 1; }
.services-list-row h3 {
  font-size: 24px;
  margin-bottom: 10px;
}
.services-list-row p {
  font-size: 15.5px;
  color: var(--ink-soft);
  line-height: 1.65;
}
.services-list-row .row-arrow {
  font-size: 22px;
  color: var(--ink-soft);
  flex-shrink: 0;
}

/* ---------- Portfolio / references grid ---------- */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.portfolio-card {
  border-radius: 20px;
  overflow: hidden;
  background: var(--card);
  border: 1px solid var(--line);
  transition: transform 0.2s var(--ease);
}
.portfolio-card:hover { transform: translateY(-4px); }
.portfolio-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  background: linear-gradient(135deg, var(--green-soft), var(--line));
}
.portfolio-card .body {
  padding: 20px;
}
.portfolio-card .tag {
  font-size: 12px;
  color: var(--green-dark);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 6px;
}
.portfolio-card h3 { font-size: 17px; margin: 0; }

/* Dark version (featured on home) */
.portfolio-grid.dark .portfolio-card {
  background: oklch(24% 0.012 95);
  border: 1px solid var(--line-dark);
  color: var(--card);
}
.portfolio-grid.dark .portfolio-card img { height: 190px; }
.portfolio-grid.dark .portfolio-card .body { padding: 22px; }
.portfolio-grid.dark .portfolio-card .tag { color: var(--green); }
.portfolio-grid.dark .portfolio-card h3 { font-size: 18px; }

/* ---------- Blog grid ---------- */
.blog-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 40px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}
.blog-filter {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  background: transparent;
  color: var(--ink);
  border: 1px solid oklch(85% 0.012 95);
  border-radius: 100px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.18s ease;
}
.blog-filter:hover {
  border-color: var(--green);
  color: var(--green-dark);
}
.blog-filter.is-active {
  background: var(--ink);
  color: white;
  border-color: var(--ink);
}
.blog-filter .count {
  display: inline-block;
  min-width: 20px;
  padding: 1px 7px;
  font-size: 11px;
  font-weight: 700;
  background: oklch(95% 0.012 95);
  color: var(--ink-soft);
  border-radius: 100px;
  line-height: 1.4;
}
.blog-filter.is-active .count {
  background: rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.9);
}
.blog-empty-msg {
  padding: 60px 20px;
  text-align: center;
  color: var(--ink-soft);
  font-size: 17px;
}
@media (max-width: 700px) {
  .blog-filters { gap: 6px; margin-bottom: 30px; }
  .blog-filter { padding: 7px 14px; font-size: 13px; }
  .blog-filter .count { font-size: 10px; }
}
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.post-card { cursor: pointer; }
.post-card .img-wrap {
  width: 100%;
  height: 210px;
  border-radius: 16px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--green-soft), var(--line));
  transition: transform 0.3s var(--ease);
}
.post-card:hover .img-wrap { transform: translateY(-4px); }
.post-card .img-wrap img { width: 100%; height: 100%; object-fit: cover; }
.post-card .img-wrap.no-img {
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--heading);
  font-size: 40px;
  color: var(--green-dark);
  font-weight: 700;
  letter-spacing: -0.02em;
}
.post-card .img-wrap.no-img::after { content: 'signus.'; }
.post-card .category {
  font-size: 12.5px;
  color: var(--green-dark);
  font-weight: 600;
  margin: 18px 0 10px;
}
.post-card h3 {
  font-size: 19px;
  line-height: 1.35;
  margin-bottom: 10px;
}
.post-card p {
  font-size: 14.5px;
  color: var(--ink-soft);
  line-height: 1.6;
}
.post-card:hover h3 { color: var(--green-dark); }

/* Compact home blog */
.section .blog-grid .post-card .img-wrap { height: 190px; }
.section .blog-grid .post-card h3 { font-size: 18px; }
.section .blog-grid .post-card p { font-size: 14px; }

/* ---------- CTA green panel ---------- */
.cta-green-panel {
  max-width: var(--maxw);
  margin: 0 auto 90px;
  padding: 0 var(--pad-x);
}
.cta-green-inner {
  background: var(--green-soft);
  border-radius: var(--radius-xl);
  padding: clamp(40px, 6vw, 70px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  position: relative;
  overflow: hidden;
}
.cta-green-inner::before {
  content: '';
  position: absolute;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: oklch(99% 0.004 85 / 0.5);
  top: -80px;
  right: 120px;
  animation: spinSlow 30s linear infinite;
  z-index: 0;
}
.cta-green-inner h2,
.cta-green-inner .btn {
  position: relative;
  z-index: 1;
}
.cta-green-inner h2 {
  font-size: 34px;
  max-width: 560px;
  margin: 0;
}

/* ---------- About page ---------- */
.about-hero {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 90px var(--pad-x) 0;
}
.about-history {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 60px var(--pad-x);
  display: grid;
  grid-template-columns: 0.5fr 1fr;
  gap: 60px;
}
.about-history h2 { font-size: 28px; margin: 0; }
.about-history p {
  font-size: 17px;
  line-height: 1.75;
  color: var(--ink-soft);
  max-width: 700px;
  margin: 0;
}
.about-stats {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 40px var(--pad-x) 60px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.about-stat {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 28px;
}
.about-stat .label {
  font-family: var(--heading);
  font-size: 15.5px;
  font-weight: 600;
  margin-bottom: 6px;
}
.about-stat .sub {
  font-size: 13.5px;
  color: var(--ink-soft);
}
.about-mission {
  background: var(--ink);
  color: var(--card);
  padding: 100px var(--pad-x);
  margin-top: 40px;
  text-align: center;
}
.about-mission-inner {
  max-width: 900px;
  margin: 0 auto;
}
.about-mission h2 { font-size: 32px; margin-bottom: 24px; }
.about-mission p {
  font-size: 16.5px;
  line-height: 1.75;
  color: oklch(80% 0.01 95);
  margin-bottom: 30px;
}
.about-mission .tagline {
  font-family: var(--heading);
  font-size: 22px;
  font-weight: 600;
  color: var(--green);
}
.about-cta {
  text-align: center;
  padding: 70px var(--pad-x);
}

/* ---------- Service detail ---------- */
.service-detail {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 90px var(--pad-x) 110px;
}
.back-link {
  font-size: 14.5px;
  color: var(--ink-soft);
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 28px;
  transition: color 0.2s;
}
.back-link:hover { color: var(--ink); }
.service-detail .service-letter-xl {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  background: var(--green-soft);
  color: var(--green-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--heading);
  font-weight: 700;
  font-size: 26px;
  margin-bottom: 28px;
}
.service-detail h1 {
  font-size: clamp(32px, 4.5vw, 44px);
  margin-bottom: 24px;
}
.service-detail .long {
  font-size: 18px;
  color: var(--ink-soft);
  line-height: 1.7;
  margin-bottom: 50px;
}
.service-points {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 60px;
}
.service-point {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px;
  font-size: 15px;
  line-height: 1.55;
  font-weight: 500;
}

/* ---------- Contact page ---------- */
.contact-grid {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 90px var(--pad-x) 110px;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 70px;
}
.contact-info h1 {
  font-size: clamp(32px, 4.5vw, 46px);
  margin-bottom: 24px;
}
.contact-info > p {
  font-size: 16.5px;
  color: var(--ink-soft);
  line-height: 1.65;
  margin-bottom: 36px;
}
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 20px;
  font-size: 15.5px;
}
.contact-details .item .label {
  color: var(--ink-soft);
  font-size: 13px;
  margin-bottom: 4px;
}
.contact-details .item .value { font-weight: 500; }
.socials {
  display: flex;
  gap: 12px;
  margin-top: 32px;
}
.social-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--green-soft);
  color: var(--green-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
  transition: transform 0.2s var(--ease);
}
.social-btn:hover { transform: scale(1.08); }

.contact-form-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 4vw, 44px);
  box-shadow: 0 30px 60px -20px oklch(19% 0.01 95 / 0.12);
}
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.contact-form input,
.contact-form textarea {
  padding: 14px 16px;
  border-radius: 12px;
  border: 1.5px solid var(--line);
  font-size: 14.5px;
  font-family: inherit;
  color: var(--ink);
  background: transparent;
  transition: border-color 0.2s;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: 0;
  border-color: var(--ink);
}
.contact-form textarea { resize: vertical; min-height: 130px; }
.contact-form button[type="submit"] {
  margin-top: 6px;
  padding: 16px;
  font-size: 15px;
  justify-content: center;
  text-align: center;
  width: 100%;
}
.form-note {
  font-size: 12.5px;
  color: var(--ink-soft);
  margin-top: 4px;
}
.form-success {
  padding: 20px;
  background: var(--green-soft);
  border-radius: 12px;
  color: var(--green-dark);
  border-left: 3px solid var(--green);
}
.form-error {
  padding: 12px 16px;
  background: oklch(93% 0.06 30);
  border-radius: 12px;
  color: oklch(35% 0.15 30);
  font-size: 14px;
  border-left: 3px solid oklch(60% 0.18 30);
}

/* ---------- Page hero (interné stránky) ---------- */
.page-hero {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 90px var(--pad-x) 0;
}
.page-hero.with-bottom { padding-bottom: 40px; }
.page-hero .lead {
  max-width: 700px;
  font-size: 17px;
  color: var(--ink-soft);
  line-height: 1.65;
  margin-top: 16px;
}
.page-body {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 40px var(--pad-x) 60px;
}

/* ---------- Article (blog post detail) ---------- */
.article-wrap {
  max-width: 1050px;
  margin: 0 auto;
  padding: 60px var(--pad-x) 40px;
}
.article-meta {
  display: flex;
  gap: 12px;
  align-items: center;
  font-size: 13px;
  color: var(--ink-soft);
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.article-meta .category {
  color: var(--green-dark);
  font-weight: 600;
}
.article-title {
  font-size: clamp(30px, 3.8vw, 44px);
  margin-bottom: 24px;
  line-height: 1.1;
}
/* Excerpt (lead odsek) pod nadpisom */
.article-wrap > p {
  font-size: 19px;
  color: var(--ink-soft);
  line-height: 1.6;
}
.article-hero-img {
  max-width: 1050px;
  margin: 40px auto 60px;
  padding: 0 var(--pad-x);
}
.article-hero-img img {
  width: 100%;
  max-height: 560px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 40px -20px oklch(19% 0.01 95 / 0.2);
}
.article-body {
  font-size: 18px;
  line-height: 1.75;
  color: var(--ink);
}
.article-body > * + * { margin-top: 1.4em; }
.article-body h2 {
  margin-top: 2em !important;
  margin-bottom: 0.5em;
  font-size: clamp(24px, 3vw, 32px);
}
.article-body h3 {
  margin-top: 1.8em !important;
  margin-bottom: 0.4em;
  font-size: clamp(20px, 2.4vw, 24px);
}
.article-body a {
  color: var(--green-dark);
  border-bottom: 1.5px solid var(--green-soft);
  transition: border-color 0.2s;
}
.article-body a:hover { border-color: var(--green); }
.article-body strong { font-weight: 600; }
.article-body blockquote {
  border-left: 3px solid var(--green);
  padding: 8px 0 8px 24px;
  margin: 2em 0;
  font-family: var(--heading);
  font-size: 22px;
  font-weight: 600;
  line-height: 1.4;
}
.article-body ul, .article-body ol { padding-left: 24px; }
.article-body li { margin: 6px 0; }

/* Inline obrázky v článku – rešpektujú svoju reálnu veľkosť, nevystrelia sa nasilu */
.article-body img,
.article-body p > img {
  display: block;
  max-width: 100%;
  width: 100%;
  height: auto;
  margin: 32px auto;
  border-radius: 12px;
  box-shadow: 0 12px 30px -12px oklch(19% 0.01 95 / 0.15);
}
/* Ak je obrázok v odseku sám, dáme mu breathing room */
.article-body p:has(> img:only-child) {
  margin: 40px 0;
}
.article-body code {
  font-family: ui-monospace, SFMono-Regular, monospace;
  font-size: 0.9em;
  background: var(--green-soft);
  color: var(--green-dark);
  padding: 2px 6px;
  border-radius: 4px;
}
.article-body pre {
  background: var(--ink);
  color: var(--card);
  padding: 24px;
  border-radius: 12px;
  overflow-x: auto;
  margin: 32px 0;
}
.article-body pre code { background: none; padding: 0; color: inherit; }
.article-body hr {
  border: 0;
  height: 1px;
  background: var(--line);
  margin: 48px 0;
}
.article-tags {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.tag-chip {
  padding: 6px 14px;
  background: var(--green-soft);
  color: var(--green-dark);
  border-radius: var(--radius-pill);
  font-size: 12.5px;
  font-weight: 500;
}

/* ---------- 404 ---------- */
.error-404 {
  max-width: 640px;
  margin: 0 auto;
  padding: 120px var(--pad-x);
  text-align: center;
}
.error-404 h1 { margin-bottom: 20px; }
.error-404 p {
  font-size: 17px;
  color: var(--ink-soft);
  margin-bottom: 40px;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: var(--card);
  padding: 70px var(--pad-x) 30px;
  margin-top: 40px;
}
.site-footer-inner {
  max-width: var(--maxw);
  margin: 0 auto;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 60px;
  padding-bottom: 50px;
  border-bottom: 1px solid var(--line-dark);
}
.footer-brand .logo { margin-bottom: 18px; }
.footer-brand p {
  font-size: 14.5px;
  color: oklch(75% 0.01 95);
  line-height: 1.7;
  margin-bottom: 6px;
}
.footer-brand a { color: oklch(75% 0.01 95); }
.footer-brand a:hover { color: var(--card); }
.footer-col h4 {
  font-size: 13px;
  font-weight: 600;
  color: oklch(65% 0.01 95);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 18px;
  font-family: var(--body);
}
.footer-col .link-list {
  display: flex;
  flex-direction: column;
  gap: 11px;
  list-style: none;
}
.footer-col .link-list a {
  font-size: 14.5px;
  color: oklch(85% 0.01 95);
  line-height: 1.4;
  transition: color 0.2s;
}
.footer-col .link-list a:hover { color: var(--green); }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 24px;
  font-size: 13.5px;
  color: oklch(60% 0.01 95);
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom .legal-links {
  display: flex;
  gap: 20px;
}
.footer-bottom .legal-links a:hover { color: var(--card); }

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Selection ---------- */
::selection { background: var(--green); color: var(--card); }

/* ---------- Focus ---------- */
:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .services-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .about-stats { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .quote-block { grid-template-columns: 1fr; gap: 30px; }
  .portfolio-grid, .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .service-points { grid-template-columns: 1fr; }
  .about-history { grid-template-columns: 1fr; gap: 20px; }
  .cta-green-inner { flex-direction: column; text-align: center; }
  .cta-green-inner h2 { text-align: center; }
}
@media (max-width: 900px) {
  /* Skry desktop navigáciu a lang toggle – ale CTA "napíšte nám" ostáva viditeľné */
  .nav .nav-list { display: none; }
  .nav .lang-toggle { display: none; }

  /* CTA tlačidlo na mobile – kompaktnejšie */
  .nav .btn-primary {
    padding: 10px 18px;
    font-size: 13.5px;
    margin-right: 6px;
  }

  /* Hamburger button */
  .menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    width: 32px;
    height: 32px;
    padding: 8px 4px;
    margin-left: 4px;
    background: transparent;
    border: 0;
    cursor: pointer;
    position: relative;
    justify-content: center;
    align-items: center;
    z-index: 10001;
  }
  .menu-toggle span {
    height: 2px;
    background: var(--ink);
    width: 24px;
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.2s ease;
    transform-origin: center;
    display: block;
  }

  /* Hamburger → X animácia */
  .menu-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }
  .menu-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }
}

/* ============================================================================
   MOBILE MENU OVERLAY (pripojený k <body> cez JS, mimo header stacking context)
   Vždy sa zobrazí NAD všetkým obsahom
============================================================================ */
.mobile-menu-overlay {
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 10000;
  display: none;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}
.mobile-menu-overlay.is-open {
  display: block;
  animation: mobileMenuFadeIn 0.22s cubic-bezier(0.4, 0, 0.2, 1);
}
.mobile-menu-inner {
  padding: 90px 28px 40px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.mobile-menu-inner > a {
  font-family: var(--heading);
  font-size: 22px;
  font-weight: 600;
  padding: 14px 0;
  color: var(--ink);
  letter-spacing: -0.02em;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  display: block;
}
.mobile-menu-inner > a.is-active {
  color: var(--green-dark);
}

/* Expandable "služby" group */
.mobile-menu-group {
  border-bottom: 1px solid var(--line);
}
.mobile-menu-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  background: transparent;
  border: 0;
  font-family: var(--heading);
  font-size: 22px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.02em;
  cursor: pointer;
  text-align: left;
}
.mobile-menu-caret {
  font-size: 20px;
  color: var(--ink-soft);
  transition: transform 0.25s ease;
  font-weight: 300;
  line-height: 1;
}
.mobile-menu-group.is-open .mobile-menu-caret {
  transform: rotate(45deg);
}
.mobile-menu-submenu {
  display: none;
  padding: 4px 0 12px 0;
  flex-direction: column;
  gap: 2px;
}
.mobile-menu-group.is-open .mobile-menu-submenu {
  display: flex;
  animation: submenuSlide 0.2s ease;
}
.mobile-menu-submenu a {
  font-family: var(--body);
  font-size: 15px;
  font-weight: 500;
  padding: 10px 0 10px 16px;
  color: var(--ink-soft);
  text-decoration: none;
  border-left: 2px solid var(--line);
  display: block;
  transition: color 0.15s, border-color 0.15s;
}
.mobile-menu-submenu a:hover {
  color: var(--green-dark);
  border-left-color: var(--green);
}
.mobile-menu-submenu a:first-child {
  font-weight: 600;
  color: var(--ink);
}

/* Language toggle */
.mobile-menu-inner .mobile-menu-lang {
  margin-top: 28px;
  display: flex;
  gap: 12px;
  padding: 0;
  border: 0;
  align-items: center;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-soft);
}
.mobile-menu-inner .mobile-menu-lang a {
  color: var(--ink-soft);
  text-decoration: none;
}
.mobile-menu-inner .mobile-menu-lang .active {
  color: var(--ink);
}

/* Body nesmie scrollovať keď je menu otvorené */
body.menu-open {
  overflow: hidden;
  height: 100vh;
  height: 100dvh;
}

@keyframes mobileMenuFadeIn {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes submenuSlide {
  from { opacity: 0; transform: translateY(-4px); }
  to   { opacity: 1; transform: translateY(0); }
}

@media (max-width: 700px) {
  .services-grid-4, .portfolio-grid, .blog-grid,
  .about-stats, .form-row-2 { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 40px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .services-list-row { gap: 16px; padding: 24px 0; }
  .services-list-row .service-letter-lg { width: 48px; height: 48px; font-size: 18px; border-radius: 12px; }
  .services-list-row h3 { font-size: 20px; }
  .hero { padding-top: 60px; }
  .hero-shape-2 { display: none; }
  .marquee { padding: 20px var(--pad-x); }
  .marquee-track { gap: 12px 24px; justify-content: center; }
  .marquee-track span { font-size: 15px; gap: 24px; }
  .marquee-track span::after { font-size: 8px; }
  .site-header .logo img { height: 54px; }
  .site-header { padding: 12px var(--pad-x); }
  /* Na najužších displayoch mierne kompaktnejšie CTA */
  .nav .btn-primary { padding: 9px 14px; font-size: 12.5px; }
}
