/* ============================================================
   STUDNE SPIŠ - Global Stylesheet
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=Inter:wght@300;400;500;600&display=swap');

/* ---------- Design tokens ---------- */
:root {
  --background: 40 14% 97%;
  --foreground: 210 7% 11%;
  --card: 40 20% 99%;
  --primary: 205 51% 34%;
  --primary-foreground: 0 0% 100%;
  --muted: 210 18% 91%;
  --muted-foreground: 210 5% 30%;
  --border: 210 12% 85%;
  --destructive: 0 65% 48%;
  --radius: 0.375rem;
}

/* ---------- Reset ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

* { margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  min-height: 100vh;
  background: hsl(var(--background));
  color: hsl(var(--foreground));
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

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

/* ---------- Helpers ---------- */
.font-display { font-family: 'Space Grotesk', sans-serif; }
.font-body { font-family: 'Inter', sans-serif; }
.container { max-width: 80rem; margin: 0 auto; padding-left: 1.5rem; padding-right: 1.5rem; }
.text-primary { color: hsl(var(--primary)); }
.relative { position: relative; }
.z10 { position: relative; z-index: 10; }

/* Reveal animation (replaces Framer Motion whileInView) */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.reveal.in-view { opacity: 1; transform: translateY(0); }

/* Hero entrance */
.hero-enter {
  opacity: 0;
  transform: translateY(30px);
  animation: heroIn 0.8s ease-out 0.1s forwards;
}
@keyframes heroIn {
  to { opacity: 1; transform: translateY(0); }
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-25%); }
}
.animate-bounce { animation: bounce 1s infinite; }

/* ============================================================
   DEPTH GAUGE (fixed left sidebar)
   ============================================================ */
.depth-gauge { display: none; }
@media (min-width: 1024px) {
  .depth-gauge {
    display: block;
    position: fixed;
    top: 0; left: 0;
    width: 2rem;
    height: 100vh;
    z-index: 40;
    pointer-events: none;
  }
  .depth-gauge__bg {
    position: absolute;
    top: 0; left: 1rem;
    width: 1px; height: 100%;
    background: hsl(var(--border));
  }
  .depth-gauge__progress {
    position: absolute;
    top: 0; left: 1rem;
    width: 1px; height: 0%;
    background: hsl(var(--primary));
  }
  .depth-gauge__label {
    position: absolute;
    left: 1.4rem;
    top: 0;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.625rem;
    font-weight: 600;
    color: hsl(var(--primary));
    letter-spacing: 0.05em;
    white-space: nowrap;
  }
}

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  height: 3.5rem;
  transition: all 0.5s ease;
  background: transparent;
}
.navbar.scrolled {
  background: hsl(var(--background) / 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  border-bottom: 1px solid hsl(var(--border));
}
.navbar__inner {
  max-width: 80rem;
  margin: 0 auto;
  height: 100%;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.brand svg { width: 1.25rem; height: 1.25rem; color: hsl(var(--primary)); transition: transform 0.3s ease; }
.brand:hover svg { transform: scale(1.1); }
.brand__logo { width: 2.5rem; height: 2.5rem; object-fit: contain; transition: transform 0.3s ease; }
.brand:hover .brand__logo { transform: scale(1.1); }
.footer__brand .brand__logo { width: 3.25rem; height: 3.25rem; filter: brightness(0) invert(1); }
.brand__name {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1.125rem;
  letter-spacing: -0.02em;
  color: hsl(var(--foreground));
}
/* When navbar is transparent over a dark hero, make brand readable on home only via .nav-light */
.navbar:not(.scrolled).nav-light .brand__name { color: #fff; }
.navbar:not(.scrolled).nav-light .brand__logo { filter: brightness(0) invert(1); }
.navbar:not(.scrolled).nav-light .nav-links a { color: rgba(255,255,255,0.8); }
.navbar:not(.scrolled).nav-light .nav-links a:hover,
.navbar:not(.scrolled).nav-light .nav-links a.active { color: #fff; }
.navbar:not(.scrolled).nav-light .hamburger { color: #fff; }

.nav-cluster {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}
.nav-links {
  display: none;
  align-items: center;
  gap: 2rem;
}
@media (min-width: 768px) { .nav-links { display: flex; } }
.nav-links a {
  font-family: 'Inter', sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.025em;
  color: hsl(var(--muted-foreground));
  transition: color 0.2s ease;
}
.nav-links a:hover { color: hsl(var(--foreground)); }
.nav-links a.active { color: hsl(var(--primary)); }

.btn-cta-nav {
  display: none;
}
@media (min-width: 768px) { .btn-cta-nav { display: inline-flex; } }
.btn-cta-nav {
  background: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.875rem;
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius);
  transition: all 0.2s ease;
}
.btn-cta-nav:hover { opacity: 0.9; }

.hamburger {
  display: inline-flex;
  color: hsl(var(--foreground));
}
@media (min-width: 768px) { .hamburger { display: none; } }
.hamburger svg { width: 1.25rem; height: 1.25rem; }

/* Mobile menu panel */
.mobile-menu {
  position: absolute;
  top: 3.5rem; left: 0; right: 0;
  background: hsl(var(--background) / 0.98);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid hsl(var(--border));
  display: none;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1rem 1.5rem;
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.mobile-menu.open { display: flex; opacity: 1; transform: translateY(0); }
.mobile-menu a {
  font-family: 'Inter', sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  padding: 0.5rem 0;
  border-bottom: 1px solid hsl(var(--border) / 0.5);
  color: hsl(var(--foreground));
}
.mobile-menu a.active { color: hsl(var(--primary)); }
.mobile-menu .btn-cta-mobile {
  background: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
  padding: 0.625rem 1.25rem;
  border-radius: var(--radius);
  text-align: center;
  margin-top: 0.5rem;
  font-weight: 600;
  font-size: 0.875rem;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: 'Inter', sans-serif;
  border-radius: var(--radius);
  transition: all 0.2s ease;
}
.btn svg { width: 1rem; height: 1rem; }
.btn-primary {
  background: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
  font-weight: 600;
  font-size: 0.875rem;
  padding: 0.875rem 1.75rem;
}
.btn-primary:hover { opacity: 0.9; }
.btn-primary-lg { padding: 1rem 2rem; }
.btn-outline-light {
  border: 1px solid rgba(255,255,255,0.3);
  color: #fff;
  font-weight: 500;
  font-size: 0.875rem;
  padding: 0.875rem 1.75rem;
}
.btn-outline-light:hover { background: rgba(255,255,255,0.1); }
.btn-outline {
  border: 1px solid hsl(var(--border));
  color: hsl(var(--muted-foreground));
  font-weight: 500;
  font-size: 0.875rem;
  padding: 0.75rem 1.5rem;
}
.btn-outline:hover { background: hsl(var(--muted) / 0.5); }

/* ============================================================
   SHARED SECTION ELEMENTS
   ============================================================ */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}
.eyebrow__rule { width: 3rem; height: 1px; background: hsl(var(--primary)); flex-shrink: 0; }
.eyebrow__text {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 600;
  color: hsl(var(--primary));
}

.section-title {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1.875rem;
  letter-spacing: -0.02em;
  color: hsl(var(--foreground));
  line-height: 1.1;
}
@media (min-width: 768px) { .section-title { font-size: 3rem; } }
.section-sub {
  margin-top: 1rem;
  color: hsl(var(--muted-foreground));
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  max-width: 42rem;
  line-height: 1.7;
}
@media (min-width: 768px) { .section-sub { font-size: 1.125rem; } }

.section-heading-wrap { position: relative; }
.ghost-number {
  position: absolute;
  top: -2.5rem; left: -0.5rem;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 4.5rem;
  color: hsl(var(--primary) / 0.1);
  z-index: 0;
  line-height: 1;
  pointer-events: none;
}
@media (min-width: 768px) { .ghost-number { font-size: 6rem; } }

.center { text-align: center; }
.center .eyebrow { justify-content: center; }
.center .section-sub { margin-left: auto; margin-right: auto; }

/* Section paddings */
.py-section { padding-top: 6rem; padding-bottom: 6rem; }
@media (min-width: 768px) { .py-section { padding-top: 8rem; padding-bottom: 8rem; } }
.bg-muted-50 { background: hsl(var(--muted) / 0.5); }
.bg-bg { background: hsl(var(--background)); }

/* ============================================================
   HERO (home)
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top,
    hsl(var(--foreground) / 0.9),
    hsl(var(--foreground) / 0.4) 50%,
    hsl(var(--foreground) / 0.1));
}
.hero__logo {
  display: block;
  width: 7rem;
  height: auto;
  margin-top: -2.5rem;
  margin-bottom: 1.25rem;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.35));
}
@media (min-width: 768px) {
  .hero__logo { width: 9rem; margin-top: -3rem; }
}
.hero__content {
  position: relative;
  z-index: 10;
  max-width: 80rem;
  margin: 0 auto;
  width: 100%;
  padding: 8rem 1.5rem 5rem;
}
@media (min-width: 768px) { .hero__content { padding-bottom: 7rem; } }
.hero .eyebrow__text { color: hsl(var(--primary)); }
.hero h1 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 3rem;
  color: #fff;
  letter-spacing: -0.02em;
  line-height: 0.9;
  margin-bottom: 0.5rem;
}

.hero h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
  line-height: 0.9;
}
@media (min-width: 768px) { .hero h1 { font-size: 4.5rem; } }
@media (min-width: 1024px) { .hero h1 { font-size: 6rem; } }
.hero h1 .accent { color: hsl(var(--primary)); }
.hero__p {
  margin-top: 1.5rem;
  color: rgba(255,255,255,0.7);
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  max-width: 32rem;
  line-height: 1.7;
}
@media (min-width: 768px) { .hero__p { font-size: 1.125rem; } }
.hero__buttons {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
@media (min-width: 640px) { .hero__buttons { flex-direction: row; } }
.scroll-arrow {
  position: absolute;
  bottom: 1.5rem; left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  opacity: 0;
  animation: fadeIn 0.8s ease 1.2s forwards;
}
.scroll-arrow svg { width: 1.25rem; height: 1.25rem; color: rgba(255,255,255,0.4); }
@keyframes fadeIn { to { opacity: 1; } }

/* ============================================================
   SERVICE CARD GRID (home section 2)
   ============================================================ */
.grid-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 2.5rem;
}
@media (min-width: 768px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }

.service-card {
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius);
  overflow: hidden;
  background: hsl(var(--card));
  transition: box-shadow 0.3s ease;
  display: block;
}
.service-card:hover { box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1); }
.service-card__img {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}
.service-card__img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}
.service-card:hover .service-card__img img { transform: scale(1.05); }
.service-card__ghost {
  position: absolute;
  top: 0.5rem; left: 0.75rem;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 3rem;
  font-weight: 700;
  color: rgba(255,255,255,0.2);
  line-height: 1;
}
.service-card__badge {
  position: absolute;
  top: 0.75rem; right: 0.75rem;
  background: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 0.6875rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  padding: 0.3rem 0.6rem;
  border-radius: var(--radius);
}
.service-card__body { padding: 1.5rem; }
.service-card__body h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}
.service-card__body p {
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
  line-height: 1.65;
  margin-bottom: 1rem;
}
.link-more {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  color: hsl(var(--primary));
  font-size: 0.875rem;
  font-weight: 500;
  transition: gap 0.2s ease;
}
.link-more svg { width: 1rem; height: 1rem; }
.service-card:hover .link-more,
.card-hover:hover .link-more { gap: 0.625rem; }

/* ============================================================
   PROCESS (home section 3)
   ============================================================ */
.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 2.5rem;
}
@media (min-width: 768px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step { text-align: center; position: relative; }
.step__dashed {
  display: none;
}
@media (min-width: 768px) {
  .step__dashed {
    display: block;
    position: absolute;
    top: 2.5rem;
    left: 60%;
    width: 80%;
    height: 1px;
    border-top: 1px dashed hsl(var(--border));
  }
}
.step__circle {
  width: 5rem; height: 5rem;
  margin: 0 auto 1.5rem;
  border-radius: 9999px;
  background: hsl(var(--primary) / 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.step__circle svg { width: 2rem; height: 2rem; color: hsl(var(--primary)); }
.step__badge {
  position: absolute;
  top: -0.25rem; right: -0.25rem;
  width: 1.75rem; height: 1.75rem;
  background: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 0.75rem;
}
.step h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
}
.step p {
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
  line-height: 1.65;
  max-width: 20rem;
  margin: 0 auto;
}

/* ============================================================
   TRUST (home section 4)
   ============================================================ */
.grid-2-trust {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
  align-items: start;
}
@media (min-width: 1024px) { .grid-2-trust { grid-template-columns: repeat(2, 1fr); } }
.trust-title {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1.875rem;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
  line-height: 1.1;
}
@media (min-width: 768px) { .trust-title { font-size: 3rem; } }
.trust-p {
  color: hsl(var(--muted-foreground));
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 2rem;
}
.trust-img { border-radius: var(--radius); width: 100%; object-fit: cover; aspect-ratio: 3 / 2; }
.feature-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 640px) { .feature-grid { grid-template-columns: repeat(2, 1fr); } }
.feature-card {
  padding: 1.25rem;
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius);
  background: hsl(var(--card));
}
.feature-card svg { width: 1.25rem; height: 1.25rem; color: hsl(var(--primary)); margin-bottom: 0.75rem; }
.feature-card h4 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 0.875rem;
  margin-bottom: 0.25rem;
}
.feature-card p {
  font-size: 0.75rem;
  color: hsl(var(--muted-foreground));
  line-height: 1.6;
}

/* ============================================================
   REGION CTA (home section 5)
   ============================================================ */
.region-cta {
  position: relative;
  padding: 6rem 0;
  overflow: hidden;
}
@media (min-width: 768px) { .region-cta { padding: 8rem 0; } }
.region-cta__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.region-cta__overlay { position: absolute; inset: 0; background: hsl(var(--foreground) / 0.8); }
.region-cta__content {
  position: relative;
  z-index: 10;
  max-width: 48rem;
  margin: 0 auto;
  padding: 0 1.5rem;
  text-align: center;
}
.region-cta h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1.875rem;
  color: #fff;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
  line-height: 1.1;
}
@media (min-width: 768px) { .region-cta h2 { font-size: 3rem; } }
.region-cta p {
  color: rgba(255,255,255,0.7);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 2rem;
}
@media (min-width: 768px) { .region-cta p { font-size: 1.125rem; } }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: hsl(var(--foreground));
  color: hsl(var(--background));
  padding: 4rem 0;
  position: relative;
  overflow: hidden;
}
.footer .container { position: relative; z-index: 1; }
.footer__art {
  position: absolute;
  z-index: 0;
  right: 2rem;
  bottom: 8rem;
  width: 13rem;
  height: auto;
  filter: brightness(0) invert(1);
  opacity: 0.15;
  pointer-events: none;
  display: none;
}
@media (min-width: 768px) { .footer__art { display: block; } }
.footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}
@media (min-width: 768px) {
  .footer__grid { grid-template-columns: repeat(4, 1fr); gap: 2rem; }
}
.footer .brand__name { color: hsl(var(--background)); }
.footer__brand { margin-bottom: 1rem; }
.footer__logo { width: 7rem; height: auto; display: block; margin-bottom: 1.25rem; }
.footer__about {
  font-size: 0.875rem;
  line-height: 1.7;
  opacity: 0.7;
}
.footer__heading {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 0.875rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  opacity: 0.5;
  margin-bottom: 1rem;
}
.footer__links { display: flex; flex-direction: column; gap: 0.625rem; }
.footer__links a {
  font-size: 0.875rem;
  opacity: 0.7;
  transition: opacity 0.2s ease;
}
.footer__links a:hover { opacity: 1; }
.footer__contact-row {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
  font-size: 0.875rem;
  opacity: 0.7;
}
.footer__contact-row svg { width: 1rem; height: 1rem; opacity: 0.7; flex-shrink: 0; margin-top: 0.15rem; }
.footer__bottom {
  border-top: 1px solid hsl(var(--background) / 0.1);
  margin-top: 3rem;
  padding-top: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
@media (min-width: 768px) { .footer__bottom { flex-direction: row; } }
.footer__bottom span { font-size: 0.75rem; color: hsl(var(--background) / 0.4); }
.footer__bottom a { color: hsl(var(--background) / 0.65); font-weight: 600; }
.footer__bottom a:hover { color: hsl(var(--background)); }

/* ============================================================
   PAGE HEADER (subpages)
   ============================================================ */
.page-header {
  padding: 8rem 0 4rem;
  background: hsl(var(--muted) / 0.5);
}
.page-header h1 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 2.5rem;
  letter-spacing: -0.02em;
  line-height: 1.05;
}
@media (min-width: 768px) { .page-header h1 { font-size: 3.5rem; } }
.page-header .section-sub { margin-top: 1.25rem; }
.detail-sketch { display: block; margin: 2.5rem auto 0; max-width: 22rem; width: 100%; height: auto; }
.proc-head { font-family: 'Space Grotesk', sans-serif; font-size: 1.125rem; font-weight: 600; margin-top: 2rem; }
.proc-list { margin: 1rem 0 0 1.4rem; display: flex; flex-direction: column; gap: 0.7rem; color: hsl(var(--muted-foreground)); }
.proc-list li { padding-left: 0.35rem; line-height: 1.6; }
.proc-list li::marker { color: hsl(var(--primary)); font-weight: 700; }
.detail-side img.illus-img { object-fit: contain; background: hsl(var(--muted) / 0.4); padding: 1rem; }
.page-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 2.5rem; }
.page-header__text { flex: 1; min-width: 0; }
.page-header__art { display: none; }
@media (min-width: 768px) {
  .page-header__art { display: block; width: 17rem; height: auto; flex-shrink: 0; }
}

/* Hero for service pages */
.service-hero {
  position: relative;
  padding: 8rem 0 5rem;
  overflow: hidden;
}
.service-hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.service-hero__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to right, hsl(var(--foreground) / 0.9), hsl(var(--foreground) / 0.5));
}
.service-hero__content { position: relative; z-index: 10; max-width: 80rem; margin: 0 auto; padding: 0 1.5rem; }
.service-hero h1 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 2.5rem;
  color: #fff;
  letter-spacing: -0.02em;
  line-height: 1.05;
}
@media (min-width: 768px) { .service-hero h1 { font-size: 4rem; } }
.service-hero p {
  margin-top: 1.25rem;
  color: rgba(255,255,255,0.8);
  font-size: 1rem;
  max-width: 36rem;
  line-height: 1.7;
}
@media (min-width: 768px) { .service-hero p { font-size: 1.125rem; } }

/* ============================================================
   SERVICES PAGE - card grid
   ============================================================ */
.cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 768px) { .cards-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .cards-grid { grid-template-columns: repeat(3, 1fr); } }
.card-hover {
  padding: 1.5rem;
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius);
  background: hsl(var(--card));
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.3s ease;
}
.card-hover:hover { box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1); }
.card-hover > svg { width: 1.5rem; height: 1.5rem; color: hsl(var(--primary)); margin-bottom: 1rem; }
.card-hover h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
}
.card-hover p {
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
  line-height: 1.65;
  margin-bottom: 1rem;
  flex-grow: 1;
}

/* Stats */
.stats-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
  align-items: center;
}
@media (min-width: 1024px) { .stats-grid { grid-template-columns: repeat(2, 1fr); } }
.stats-2x2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 2rem;
}
.stat__num {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1.875rem;
  color: hsl(var(--primary));
}
.stat__label { font-size: 0.875rem; color: hsl(var(--muted-foreground)); margin-top: 0.25rem; }
.stats-img { border-radius: var(--radius); aspect-ratio: 4 / 3; width: 100%; object-fit: cover; }

/* ============================================================
   SERVICE DETAIL (kopane / vrtane)
   ============================================================ */
.detail-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
}
@media (min-width: 1024px) { .detail-grid { grid-template-columns: repeat(5, 1fr); } }
.detail-main { }
@media (min-width: 1024px) { .detail-main { grid-column: span 3; } }
.detail-side { display: flex; flex-direction: column; gap: 1.5rem; }
@media (min-width: 1024px) { .detail-side { grid-column: span 2; } }
.detail-main h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1.875rem;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
}
.detail-main p {
  color: hsl(var(--muted-foreground));
  font-size: 1rem;
  line-height: 1.75;
  margin-bottom: 1.25rem;
}

.unique-callout {
  display: flex;
  align-items: flex-start;
  gap: 0.875rem;
  background: hsl(var(--primary) / 0.06);
  border: 1px solid hsl(var(--border));
  border-left: 3px solid hsl(var(--primary));
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  margin-bottom: 2rem;
}
.unique-callout svg {
  width: 1.5rem; height: 1.5rem;
  color: hsl(var(--primary));
  flex-shrink: 0;
  margin-top: 0.1rem;
}
.unique-callout p {
  margin: 0;
  color: hsl(var(--foreground));
  font-size: 0.95rem;
  line-height: 1.6;
}
.unique-callout strong {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  color: hsl(var(--primary));
}

.data-box {
  margin-top: 1rem;
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius);
  background: hsl(var(--card));
  overflow: hidden;
}
.data-box__head {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 0.875rem;
  padding: 1rem 1.25rem;
  background: hsl(var(--muted) / 0.5);
  border-bottom: 1px solid hsl(var(--border));
}
.data-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.875rem 1.25rem;
  border-bottom: 1px solid hsl(var(--border));
  font-size: 0.875rem;
}
.data-row:last-child { border-bottom: none; }
.data-row__label { color: hsl(var(--muted-foreground)); }
.data-row__val { font-family: 'Space Grotesk', sans-serif; font-weight: 600; color: hsl(var(--primary)); }

.pro-con-card {
  padding: 1.5rem;
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius);
  background: hsl(var(--card));
}
.pro-con-card h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 1rem;
}
.pro-con-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
  line-height: 1.5;
  margin-bottom: 0.75rem;
}
.pro-con-list li:last-child { margin-bottom: 0; }
.pro-con-list svg { width: 1rem; height: 1rem; flex-shrink: 0; margin-top: 0.15rem; }
.icon-check { color: hsl(var(--primary)); }
.icon-x { color: hsl(var(--destructive)); }
.detail-side img { border-radius: var(--radius); width: 100%; object-fit: cover; }
.aspect-4-5 { aspect-ratio: 4 / 5; }
.aspect-4-3 { aspect-ratio: 4 / 3; }

/* ROI table */
.roi-table-wrap { overflow-x: auto; margin-top: 2.5rem; }
.roi-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
  min-width: 720px;
}
.roi-table th {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  text-align: center;
  padding: 0.875rem 1rem;
  background: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
}
.roi-table th:first-child, .roi-table td:first-child { text-align: left; }
.roi-table td {
  padding: 0.75rem 1rem;
  text-align: center;
  border-bottom: 1px solid hsl(var(--border));
}
.roi-table tbody tr:nth-child(odd) { background: hsl(var(--card)); }
.roi-table tbody tr:nth-child(even) { background: hsl(var(--muted) / 0.3); }
.roi-note { margin-top: 1rem; font-size: 0.75rem; color: hsl(var(--muted-foreground)); }

/* CTA strip */
.cta-strip { text-align: center; }
.cta-strip h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1.875rem;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
}
@media (min-width: 768px) { .cta-strip h2 { font-size: 2.5rem; } }
.cta-strip p { color: hsl(var(--muted-foreground)); max-width: 36rem; margin: 0 auto 2rem; line-height: 1.7; }

/* ============================================================
   GALLERY
   ============================================================ */
.filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2.5rem;
}
.pill {
  font-family: 'Inter', sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: var(--radius);
  background: hsl(var(--muted));
  color: hsl(var(--muted-foreground));
  transition: all 0.2s ease;
}
.pill:hover { background: hsl(var(--muted) / 0.7); }
.pill.active { background: hsl(var(--primary)); color: hsl(var(--primary-foreground)); }

.masonry {
  column-count: 1;
  column-gap: 1rem;
}
@media (min-width: 640px) { .masonry { column-count: 2; } }
@media (min-width: 1024px) { .masonry { column-count: 3; } }
.masonry-item {
  break-inside: avoid;
  margin-bottom: 1rem;
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  display: block;
  width: 100%;
}
.masonry-item img { width: 100%; display: block; transition: transform 0.5s ease; }
.masonry-item:hover img { transform: scale(1.04); }
.masonry-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, hsl(var(--foreground) / 0.7), transparent 60%);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.masonry-item:hover .masonry-overlay { opacity: 1; }
.masonry-panel {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 1.25rem;
  color: #fff;
  transform: translateY(0.75rem);
  opacity: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.masonry-item:hover .masonry-panel { transform: translateY(0); opacity: 1; }
.masonry-panel h3 { font-family: 'Space Grotesk', sans-serif; font-weight: 600; font-size: 1rem; }
.masonry-panel span { font-size: 0.75rem; opacity: 0.8; display: block; margin-top: 0.15rem; }

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: hsl(var(--foreground) / 0.9);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}
.lightbox.open { display: flex; }
.lightbox__inner {
  max-width: 56rem;
  width: 100%;
  text-align: center;
  transform: scale(0.95);
  opacity: 0;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.lightbox.open .lightbox__inner { transform: scale(1); opacity: 1; }
.lightbox__inner img { width: 100%; max-height: 75vh; object-fit: contain; border-radius: var(--radius); margin: 0 auto; }
.lightbox__caption { color: #fff; margin-top: 1rem; }
.lightbox__caption h3 { font-family: 'Space Grotesk', sans-serif; font-weight: 600; font-size: 1.25rem; }
.lightbox__caption p { color: rgba(255,255,255,0.7); font-size: 0.875rem; margin-top: 0.35rem; }
.lightbox__close {
  position: absolute;
  top: 1.5rem; right: 1.5rem;
  color: #fff;
}
.lightbox__close svg { width: 1.5rem; height: 1.5rem; }

/* ============================================================
   CONTACT
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}
@media (min-width: 1024px) { .contact-grid { grid-template-columns: repeat(5, 1fr); align-items: start; } }
.contact-form-wrap { }
@media (min-width: 1024px) { .contact-form-wrap { grid-column: span 3; } }
.contact-side { display: flex; flex-direction: column; gap: 1.5rem; }
@media (min-width: 1024px) { .contact-side { grid-column: span 2; } }

.step-indicator {
  display: flex;
  align-items: center;
  margin-bottom: 2rem;
  max-width: 16rem;
}
.step-dot {
  width: 2rem; height: 2rem;
  border-radius: 9999px;
  background: hsl(var(--muted));
  color: hsl(var(--muted-foreground));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 0.875rem;
  flex-shrink: 0;
}
.step-dot.active { background: hsl(var(--primary)); color: hsl(var(--primary-foreground)); }
.step-line { flex: 1; height: 1px; background: hsl(var(--border)); }
.step-line.passed { background: hsl(var(--primary)); }

.form-card {
  padding: 2rem;
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius);
  background: hsl(var(--card));
}
.fact-band { padding: 1.75rem 0; background: hsl(var(--muted) / 0.45); border-bottom: 1px solid hsl(var(--border)); }
.fact-band p { max-width: 62rem; font-size: 0.95rem; line-height: 1.65; color: hsl(var(--muted-foreground)); }
.fact-band strong { color: hsl(var(--foreground)); }
.fact-band a { color: hsl(var(--primary)); font-weight: 600; }
.seo-keywords { padding: 0 0 3rem; }
.seo-keywords p { text-align: center; font-size: 0.8rem; color: hsl(var(--muted-foreground)); opacity: 0.7; }
.seo-keywords a { color: inherit; }
.seo-keywords a:hover { color: hsl(var(--primary)); }
.call-card { display: flex; flex-direction: column; align-items: flex-start; gap: 1rem; padding: 2.5rem; }
.call-card__icon { width: 2.5rem; height: 2.5rem; color: hsl(var(--primary)); }
.call-card h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1.75rem;
  letter-spacing: -0.02em;
}
.call-card p { color: hsl(var(--muted-foreground)); line-height: 1.6; }
.call-card__btn { margin-top: 0.5rem; font-size: 1.05rem; }
.call-card__btn svg { width: 1.1rem; height: 1.1rem; }
.form-step { display: none; }
.form-step.active { display: block; }
.form-step h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
}
.form-row { display: grid; grid-template-columns: 1fr; gap: 1rem; margin-bottom: 1rem; }
@media (min-width: 640px) { .form-row.cols-2 { grid-template-columns: repeat(2, 1fr); } }
.form-field { display: flex; flex-direction: column; gap: 0.375rem; margin-bottom: 1rem; }
.form-field label {
  font-family: 'Inter', sans-serif;
  font-size: 0.8125rem;
  font-weight: 500;
  color: hsl(var(--foreground));
}
.form-field input,
.form-field textarea {
  font-family: 'Inter', sans-serif;
  font-size: 0.875rem;
  padding: 0.625rem 0.75rem;
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius);
  background: hsl(var(--background));
  color: hsl(var(--foreground));
  width: 100%;
}
.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: hsl(var(--primary));
  box-shadow: 0 0 0 2px hsl(var(--primary) / 0.15);
}

.type-pills { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.5rem; }
.type-pill {
  font-family: 'Inter', sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: var(--radius);
  border: 1px solid hsl(var(--border));
  color: hsl(var(--muted-foreground));
  background: transparent;
  transition: all 0.2s ease;
}
.type-pill.active {
  border-color: hsl(var(--primary));
  background: hsl(var(--primary) / 0.1);
  color: hsl(var(--primary));
}

.slider-block { margin-bottom: 1.5rem; }
.slider-value {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  color: hsl(var(--primary));
  font-size: 1.5rem;
  display: block;
  margin-bottom: 0.5rem;
}
.slider-block input[type="range"] { width: 100%; accent-color: hsl(var(--primary)); }
.slider-minmax {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: hsl(var(--muted-foreground));
  margin-top: 0.25rem;
}
.form-buttons { display: flex; gap: 1rem; margin-top: 1.5rem; }
.btn[disabled] { opacity: 0.5; cursor: not-allowed; }

.form-success { text-align: center; padding: 3rem 1rem; display: none; }
.form-success.show {
  display: block;
  animation: scaleIn 0.3s ease;
}
@keyframes scaleIn { from { transform: scale(0.95); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.form-success svg { width: 4rem; height: 4rem; color: hsl(var(--primary)); margin: 0 auto 1.5rem; }
.form-success h2 { font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 1.5rem; margin-bottom: 0.75rem; }
.form-success p { color: hsl(var(--muted-foreground)); max-width: 28rem; margin: 0 auto; line-height: 1.7; }

.side-card {
  padding: 1.5rem;
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius);
  background: hsl(var(--card));
}
.side-card.tinted { background: hsl(var(--primary) / 0.05); }
.side-card h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 1rem;
}
.side-contact-row {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
}
.side-contact-row:last-child { margin-bottom: 0; }
.side-contact-row svg { width: 1.25rem; height: 1.25rem; color: hsl(var(--primary)); flex-shrink: 0; margin-top: 0.15rem; }
.side-contact-row .lbl { font-size: 0.875rem; font-weight: 500; }
.side-contact-row .sub { font-size: 0.8125rem; color: hsl(var(--muted-foreground)); }
.side-card p { font-size: 0.875rem; color: hsl(var(--muted-foreground)); line-height: 1.6; }
.pill-grid { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1rem; }
.pill-grid span {
  font-size: 0.75rem;
  font-family: 'Inter', sans-serif;
  padding: 0.375rem 0.75rem;
  border-radius: var(--radius);
  background: hsl(var(--muted));
}

/* Utility spacing */
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-10 { margin-top: 2.5rem; }
.mb-4 { margin-bottom: 1rem; }
