@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;600;700;800;900&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --gold: #8b5cf6;
  --gold-light: #c4b5fd;
  --gold-dark: #6d28d9;
  --green: #1ea070;
  --yellow: #f7c902;
  --hero-bg: #07070e;
  --dark: #0d0d14;
  --dark-2: #111119;
  --dark-card: #15151e;
  --gray: #f4f4f7;
  --text: #3a3a4a;
  --text-light: #8a8a9a;
  --white: #ffffff;
  --radius: 12px;
  --shadow: 0 4px 24px rgba(0,0,0,0.08);
  --shadow-lg: 0 16px 56px rgba(0,0,0,0.18);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Montserrat', sans-serif;
  font-size: 15px;
  line-height: 1.75;
  color: var(--text);
  background: linear-gradient(160deg, #f5f4fd 0%, #ffffff 45%, #fdf9f0 100%);
  overflow-x: hidden;
}

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

h1, h2, h3, h4 { font-weight: 700; line-height: 1.2; }

.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }

/* ── NAV ─────────────────────────────────────── */
#nav {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  padding: 16px 0;
  background: rgba(7,7,14,.1);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  transition: padding .35s, background .35s, backdrop-filter .35s, box-shadow .35s;
}

#nav.scrolled {
  padding: 12px 0;
  background: rgba(7,7,14,.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 rgba(139,92,246,.22);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 42px;
}

.nav-logo {
  display: flex;
  align-items: center;
}
.nav-logo-img {
  height: 36px;
  width: auto;
  max-width: 160px;
  display: block;
}

.nav-links { display: flex; gap: 36px; list-style: none; }

.nav-links a {
  color: rgba(255,255,255,.7);
  font-weight: 600;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .1em;
  position: relative;
  transition: color .2s;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: var(--gold-light);
  transition: width .3s;
}
.nav-links a:hover { color: var(--white); }
.nav-links a:hover::after { width: 100%; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 24px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform .3s, opacity .3s;
}
.nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.lang-switcher {
  display: flex;
  align-items: center;
  gap: 2px;
}
.lang-btn {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  color: rgba(255,255,255,.45);
  text-decoration: none;
  padding: 3px 5px;
  border-radius: 4px;
  transition: color .2s;
}
a.lang-btn:hover { color: #fff; }
.lang-btn.lang-active { color: var(--gold-light); }
.lang-sep { font-size: 10px; color: rgba(255,255,255,.2); line-height: 1; }

/* ── HERO ────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: radial-gradient(ellipse at 25% 60%, #130d28 0%, #07070e 65%);
  overflow: hidden;
}

/* Gradienty — čierna hore a dole, transparentná v strede */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(to bottom, var(--hero-bg) 0%, transparent 22%),
    linear-gradient(to top,    var(--hero-bg) 0%, transparent 22%);
  pointer-events: none;
}

/* ── HERO KOLÁŽ ──────────────────────────────── */
.hero-collage {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: 1fr 1.15fr 1fr;
  grid-template-rows: auto auto auto;
  align-content: center;
  column-gap: 16px;
  row-gap: 0;
  padding: 100px 48px 48px;
  transform: translateY(70px);
  z-index: 1;
}

.collage-photo {
  width: 100%;
  aspect-ratio: 4/3;
  height: auto;
  object-fit: cover;
  border-radius: 16px;
  border: 6px solid #fff;
  box-shadow: 0 8px 40px rgba(0,0,0,.6);
  display: block;
}

.cp-1 { grid-column: 1; grid-row: 1; transform: rotate(-4deg) translate(8%, 22%);  z-index: 3; }
.cp-2 { grid-column: 2; grid-row: 1; transform: rotate(2.5deg) translateY(18%);    z-index: 1; }
.cp-3 { grid-column: 3; grid-row: 1; transform: rotate(-3deg) translate(-8%, 22%); z-index: 3; }
.cp-4 { grid-column: 1; grid-row: 2; transform: rotate(-5deg) translate(10%, -12%); z-index: 4; }
.cp-5 { grid-column: 3; grid-row: 2; transform: rotate(4deg) translate(-10%, -12%); z-index: 4; }
.cp-6 { grid-column: 1; grid-row: 3; transform: rotate(-6deg) translate(8%, -22%) scale(1.04); z-index: 3; }
.cp-7 { grid-column: 3; grid-row: 3; transform: rotate(5deg) translate(-8%, -22%) scale(1.04); z-index: 3; }

/* Centrum — vlastná vrstva nad kolážou */
.hero-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, calc(-50% + 70px));
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
  max-width: 420px;
  padding: 0 24px;
}

.hero-logo {
  width: 320px;
  height: auto;
  display: block;
  margin-bottom: 16px;
  filter: drop-shadow(0 2px 18px rgba(0,0,0,.95)) drop-shadow(0 0 16px rgba(0,0,0,.95)) drop-shadow(0 0 8px rgba(0,0,0,.9));
}

.hero-center h1 {
  color: var(--white);
  font-size: clamp(22px, 2.8vw, 40px);
  font-weight: 900;
  letter-spacing: -.03em;
  line-height: 1.1;
  margin-bottom: 10px;
}
.hero-center h1 span { color: var(--gold-light); }

.hero-sub {
  color: rgba(255,255,255,.55);
  font-size: 13px;
  font-weight: 400;
  margin-bottom: 22px;
  max-width: 260px;
  line-height: 1.6;
}

/* Store tlačidlá */
.hero-store-btns {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}

.hero-auth-btns {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

.store-btn {
  display: block;
  transition: transform .2s, opacity .2s;
}
.store-btn:hover { transform: translateY(-2px); opacity: .85; }
.store-btn img { height: 38px; width: auto; display: block; }

/* Btn (používa sa v ďalších sekciách) */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--white);
  font-weight: 700;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .09em;
  padding: 16px 36px;
  border-radius: var(--radius);
  border: 2px solid transparent;
  transition: opacity .2s, transform .2s, box-shadow .2s;
}
.btn:hover {
  opacity: .88;
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 10px 36px rgba(139,92,246,.42);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--white);
  font-weight: 700;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .09em;
  padding: 16px 36px;
  border-radius: var(--radius);
  border: 2px solid rgba(255,255,255,.35);
  transition: border-color .2s, transform .2s, background .2s;
}
.btn-outline:hover {
  color: var(--white);
  border-color: var(--gold-light);
  background: rgba(139,92,246,.12);
  transform: translateY(-2px);
}

.hero-scroll {
  position: absolute;
  bottom: 36px; left: 50%;
  transform: translateX(-50%);
  z-index: 4;
}
.hero-scroll-line {
  width: 1px; height: 64px;
  background: linear-gradient(to bottom, transparent, var(--gold-light));
  animation: scrollAnim 2s ease-in-out infinite;
}
@keyframes scrollAnim {
  0%   { transform: scaleY(0); transform-origin: top; opacity: 0; }
  30%  { opacity: 1; }
  50%  { transform: scaleY(1); transform-origin: top; }
  51%  { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; opacity: 0; }
}

/* ── SECTIONS ────────────────────────────────── */
section { padding: 100px 0; scroll-margin-top: 84px; }
section.bg-dark { background: var(--dark-2); }
section.bg-gray { background: var(--gray); }

.section-title { text-align: center; margin-bottom: 64px; }
.section-overline {
  display: block;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .16em;
  color: var(--gold);
  margin-bottom: 12px;
}
.section-title h2 {
  font-size: clamp(26px, 3.2vw, 42px);
  font-weight: 900;
  letter-spacing: -.03em;
  color: var(--dark);
  margin-bottom: 16px;
}
.bg-dark .section-title h2 { color: var(--white); }
.section-title h2 span { color: var(--gold); }
.section-title p { color: var(--text-light); max-width: 520px; margin: 0 auto; }
.bg-dark .section-title p { color: rgba(255,255,255,.35); }

/* ── SERVICES ────────────────────────────────── */
#sluzby { background: var(--dark-2); }

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

.service-card {
  background: var(--dark-card);
  border-radius: var(--radius);
  padding: 40px 32px;
  border: 1px solid rgba(255,255,255,.05);
  border-top: 2px solid var(--gold);
  position: relative;
  overflow: hidden;
  transition: transform .3s, box-shadow .3s;
}
.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 10% 0%, rgba(139,92,246,.07), transparent 65%);
  opacity: 0;
  transition: opacity .35s;
  pointer-events: none;
}
.service-card:hover { transform: translateY(-6px); box-shadow: 0 24px 64px rgba(0,0,0,.4), 0 0 0 1px rgba(139,92,246,.22); }
.service-card:hover::before { opacity: 1; }

.service-icon {
  width: 52px; height: 52px;
  background: rgba(139,92,246,.13);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}
.service-icon svg {
  width: 26px; height: 26px;
  color: var(--gold-light);
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.service-card h3 {
  font-size: 18px;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 16px;
}
.service-card ul { list-style: none; color: rgba(255,255,255,.4); font-size: 13px; }
.service-card ul li {
  padding: 5px 0;
  display: flex;
  align-items: center;
  gap: 10px;
}
.service-card ul li::before {
  content: '';
  width: 4px; height: 4px;
  background: var(--gold-light);
  border-radius: 50%;
  flex-shrink: 0;
}

/* ── PROJECTS ────────────────────────────────── */
.project-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.project-img {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.project-img img {
  width: 100%; height: 340px;
  object-fit: cover;
  display: block;
  transition: transform .7s ease;
}
.project-img:hover img { transform: scale(1.05); }

.project-tag {
  display: inline-block;
  background: var(--green);
  color: var(--white);
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .1em;
  padding: 5px 14px;
  border-radius: 100px;
  margin-bottom: 20px;
}
.project-info h3 {
  font-size: 30px;
  font-weight: 900;
  letter-spacing: -.03em;
  margin-bottom: 12px;
  color: var(--dark);
}
.project-info p {
  color: var(--text-light);
  margin-bottom: 28px;
  font-size: 14px;
  line-height: 1.85;
}

/* ── ABOUT ───────────────────────────────────── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-img {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.about-img::after {
  content: '';
  position: absolute;
  bottom: -18px; right: -18px;
  width: 100px; height: 100px;
  border: 3px solid rgba(30,160,112,.4);
  border-radius: var(--radius);
  pointer-events: none;
}
.about-img img {
  width: 100%; height: 420px;
  object-fit: cover;
  display: block;
}

.about-content h2 {
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 900;
  letter-spacing: -.03em;
  margin-bottom: 20px;
  color: var(--dark);
}
.about-content h2 span { color: var(--gold); }
.about-content p {
  color: var(--text-light);
  margin-bottom: 16px;
  font-size: 14px;
  line-height: 1.85;
}

.values-list { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 28px; }
.value-item {
  background: var(--gray);
  padding: 9px 18px;
  border-radius: 100px;
  font-weight: 700;
  font-size: 12px;
  color: var(--dark);
  border: 1px solid rgba(0,0,0,.06);
  transition: background .2s, border-color .2s;
}
.value-item:hover { background: rgba(139,92,246,.09); border-color: rgba(139,92,246,.3); }

/* ── FEATURES okolo obsahu (o aplikácii) ─────── */
.about-features {
  max-width: 1380px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: minmax(250px, 330px) minmax(0, 1fr) minmax(250px, 330px);
  gap: 48px;
  align-items: center;
}

.feature-col {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.feature-group-title {
  font-size: 17px;
  font-weight: 800;
  color: var(--text);
  text-align: center;
  margin-bottom: 4px;
}

.about-core {
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
}
.about-core .about-img { margin-bottom: 28px; }
.about-core .about-img img { height: 340px; }
.about-core p {
  color: var(--text-light);
  margin-bottom: 14px;
  font-size: 14px;
  line-height: 1.85;
}
.about-core .values-list { justify-content: center; margin-top: 24px; }

.feature-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px 26px;
  border: 1px solid rgba(139,92,246,.10);
  box-shadow: var(--shadow);
  transition: transform .3s, box-shadow .3s;
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

/* hlavná karta v strede sekcie — výnimočná typografiou */
.fc-highlight {
  margin-bottom: 32px;
  padding: 40px 38px;
}
.feature-card.fc-highlight h4 {
  font-size: clamp(21px, 2.2vw, 26px);
  font-weight: 900;
  letter-spacing: -.02em;
  line-height: 1.25;
  margin-bottom: 12px;
}
.feature-card.fc-highlight p {
  font-size: 15.5px;
  line-height: 1.75;
}

/* jemné vychýlenie kariet v duchu hero koláže */
.fc-tilt-l1 { transform: rotate(-1.6deg) translateX(-6px); }
.fc-tilt-l2 { transform: rotate(1.2deg) translateX(16px); }
.fc-tilt-l3 { transform: rotate(-1.2deg); }
.fc-tilt-r1 { transform: rotate(1.6deg) translateX(6px); }
.fc-tilt-r2 { transform: rotate(-1.2deg) translateX(-16px); }
.fc-tilt-r3 { transform: rotate(1.2deg); }

.feature-icon {
  width: 48px; height: 48px;
  background: rgba(139,92,246,.10);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.feature-icon svg {
  width: 24px; height: 24px;
  color: var(--gold);
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.feature-card h4 {
  font-size: 16px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 8px;
}
.feature-card p {
  font-size: 13.5px;
  color: var(--text-light);
  line-height: 1.65;
}

/* ── CONTACT ─────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 64px;
}

.contact-info h3 {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 32px;
  color: var(--dark);
}
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 28px;
}
.contact-icon {
  width: 44px; height: 44px;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--white);
}
.contact-icon svg {
  width: 20px; height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.contact-label {
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--text-light);
  margin-bottom: 4px;
}
.contact-value { font-weight: 700; font-size: 15px; color: var(--dark); }
.contact-value a { color: var(--dark); }
.contact-value a:hover { color: var(--gold); }

.map-wrapper {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid rgba(0,0,0,.06);
}
.map-wrapper iframe {
  display: block;
}

/* ── REVEAL ANIMATIONS ───────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.visible { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: .1s; }
.reveal-d2 { transition-delay: .2s; }
.reveal-d3 { transition-delay: .3s; }

/* ── NAV BACKDROP (hidden by default, shown at mobile) ── */
.nav-backdrop { display: none; }

/* ── NAV ACTIVE STATE ────────────────────────── */
.nav-links a.active { color: var(--white); }
.nav-links a.active::after { width: 100%; }

/* ── PAGE HERO ───────────────────────────────── */
.page-hero {
  position: relative;
  padding: 160px 0 110px;
  background: var(--hero-bg);
  overflow: hidden;
  text-align: center;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(196,181,253,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(196,181,253,.03) 1px, transparent 1px);
  background-size: 64px 64px;
  animation: gridScroll 28s linear infinite;
  pointer-events: none;
}

@keyframes gridScroll {
  from { background-position: 0 0; }
  to   { background-position: 64px 64px; }
}

.page-hero-glow {
  position: absolute;
  top: -180px; left: 50%;
  transform: translateX(-50%);
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(196,181,253,.07) 0%, transparent 68%);
  pointer-events: none;
}
.page-hero-glow--right {
  left: auto; right: -150px;
  transform: none;
}
.page-hero-glow--center { top: -100px; }

.page-hero-content {
  position: relative;
  z-index: 1;
  max-width: 680px;
  margin: 0 auto;
}

.page-hero-overline {
  display: inline-block;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .18em;
  color: var(--gold-light);
  margin-bottom: 20px;
}

.page-hero h1 {
  color: var(--white);
  font-size: clamp(38px, 5.5vw, 72px);
  font-weight: 900;
  letter-spacing: -.03em;
  line-height: 1.08;
  margin-bottom: 22px;
}
.page-hero h1 span { color: var(--gold); }

.page-hero p {
  color: rgba(255,255,255,.48);
  font-size: 17px;
  line-height: 1.75;
  max-width: 520px;
  margin: 0 auto;
}

.page-hero-line {
  width: 56px; height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  margin: 32px auto 0;
  border-radius: 2px;
  position: relative;
  overflow: hidden;
}
.page-hero-line::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.7), transparent);
  animation: lineShimmer 2.4s ease-in-out infinite;
}
@keyframes lineShimmer {
  from { transform: translateX(-100%); }
  to   { transform: translateX(100%); }
}

/* ── SERVICES HEADING FIX (dark section) ────── */
#sluzby .section-title h2 {
  color: rgba(255,255,255,.38);
}
#sluzby .section-title h2 span {
  color: var(--white);
}
#sluzby .section-title h2 small {
  font-size: .62em;
  font-weight: 600;
  color: rgba(255,255,255,.22);
  letter-spacing: .02em;
  font-style: normal;
}
#sluzby .section-title p {
  color: rgba(255,255,255,.32);
}

/* ── SERVICE CARD UPDATE ─────────────────────── */
.service-card {
  display: flex;
  flex-direction: column;
}
.service-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}
.service-header .service-icon {
  margin-bottom: 0;
  flex-shrink: 0;
}
.service-header h3 {
  margin-bottom: 0;
}
.service-card ul {
  flex: 1;
}
.service-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,.07);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--gold-light);
  transition: gap .2s, color .2s;
}
.service-btn::after {
  content: '→';
  transition: transform .25s;
}
.service-btn:hover {
  color: var(--white);
  gap: 12px;
}
.service-btn:hover::after {
  transform: translateX(3px);
}

/* ── FOCUS SECTION (co-robime) ───────────────── */
.focus-section {
  background: var(--dark-2);
  padding: 72px 0;
}

.focus-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}

.focus-card {
  padding: 48px 40px;
  position: relative;
  display: grid;
  grid-template-columns: 56px 1fr;
  grid-template-rows: auto auto;
  column-gap: 20px;
  transition: background .3s;
}
.focus-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 3px; height: 100%;
  background: linear-gradient(to bottom, var(--gold), var(--gold-light));
  opacity: 0;
  transition: opacity .3s;
}
.focus-card:hover { background: rgba(139,92,246,.04); }
.focus-card:hover::before { opacity: 1; }

.focus-icon {
  width: 56px; height: 56px;
  background: rgba(139,92,246,.12);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: center;
  grid-column: 1;
  grid-row: 1;
  transition: background .3s;
}
.focus-card:hover .focus-icon { background: rgba(139,92,246,.2); }
.focus-icon svg {
  width: 26px; height: 26px;
  color: var(--gold-light);
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.focus-card h3 {
  font-size: clamp(18px, 1.8vw, 22px);
  font-weight: 800;
  color: var(--white);
  letter-spacing: -.02em;
  grid-column: 2;
  grid-row: 1;
  align-self: center;
  margin-bottom: 0;
}

.focus-card p {
  color: rgba(255,255,255,.42);
  font-size: 14px;
  line-height: 1.8;
  grid-column: 1 / -1;
  margin-top: 20px;
}

/* ── SERVICES DETAIL PAGE ────────────────────── */
.services-detail { padding: 80px 0 60px; }

.detail-block {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 0 40px;
  padding: 56px 0;
  border-bottom: 1px solid rgba(0,0,0,.07);
}
.detail-block:last-child { border-bottom: none; }

.detail-block-icon {
  width: 72px; height: 72px;
  background: rgba(139,92,246,.09);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 6px;
}
.detail-block-icon svg {
  width: 32px; height: 32px;
  color: var(--gold);
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.detail-block-body h2 {
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 900;
  color: var(--dark);
  letter-spacing: -.03em;
  margin-bottom: 14px;
}
.detail-block-body > p {
  color: var(--text-light);
  font-size: 15px;
  line-height: 1.8;
  max-width: 620px;
  margin-bottom: 24px;
}
.detail-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px 32px;
}
.detail-list li {
  color: var(--text);
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.detail-list li::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--green);
  border-radius: 50%;
  flex-shrink: 0;
}

/* ── QUOTE SECTION ───────────────────────────── */
.quote-section { padding: 72px 0; background: var(--white); }

.site-quote {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  padding: 48px 40px;
  border-top: 2px solid var(--gold);
  border-bottom: 2px solid var(--gold);
}

.site-quote::before {
  content: '\201C';
  position: absolute;
  top: -18px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 96px;
  color: var(--gold);
  opacity: .2;
  font-family: Georgia, serif;
  line-height: 1;
  pointer-events: none;
}

.site-quote p {
  font-size: clamp(1.2rem, 2.8vw, 1.75rem);
  font-weight: 600;
  font-style: italic;
  color: var(--text);
  line-height: 1.55;
}

/* ── TECH SECTION ────────────────────────────── */
.tech-section { padding: 80px 0; background: var(--gray); }

.tech-groups {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.tech-group {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(0,0,0,.05);
}

.tech-group-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(0,0,0,.06);
}

.tech-group-icon {
  width: 36px; height: 36px;
  background: rgba(139,92,246,.1);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.tech-group-icon svg {
  width: 18px; height: 18px;
  color: var(--gold);
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.tech-group-label {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--gold);
}

.tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tech-tag {
  background: rgba(0,0,0,.04);
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 8px;
  padding: 7px 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--dark);
  transition: background .2s, border-color .2s, color .2s;
}
.tech-tag:hover {
  background: rgba(139,92,246,.08);
  border-color: rgba(139,92,246,.3);
  color: var(--gold);
}

/* ── PRICING BANNER ──────────────────────────── */
.pricing-section { padding: 80px 0; background: var(--dark-2); }

.pricing-banner {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 0 48px;
  align-items: start;
  background: rgba(139,92,246,.06);
  border: 1px solid rgba(139,92,246,.2);
  border-radius: 20px;
  padding: 56px 60px;
}
.pricing-banner-icon {
  width: 64px; height: 64px;
  background: rgba(139,92,246,.14);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 4px;
  flex-shrink: 0;
}
.pricing-banner-icon svg {
  width: 28px; height: 28px;
  fill: var(--gold-light);
  stroke: none;
}
.pricing-banner-body h2 {
  font-size: clamp(24px, 2.8vw, 36px);
  font-weight: 900;
  color: var(--white);
  letter-spacing: -.03em;
  line-height: 1.15;
  margin-bottom: 20px;
}
.pricing-banner-body h2 span { color: var(--gold-light); }
.pricing-banner-body p {
  color: rgba(255,255,255,.45);
  font-size: 15px;
  line-height: 1.8;
  max-width: 580px;
  margin-bottom: 14px;
}
.pricing-banner-body .btn { margin-top: 10px; }

/* ── ETHICS SECTION (O nás) ──────────────────── */
.about-story { padding: 100px 0; }

.ethics-section { padding: 100px 0; }

.ethics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.ethics-card {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.07);
  border-top: 2px solid var(--gold);
  border-radius: var(--radius);
  padding: 36px 28px;
  transition: background .3s, transform .3s;
}
.ethics-card:hover {
  background: rgba(139,92,246,.06);
  transform: translateY(-4px);
}
.ethics-icon {
  width: 48px; height: 48px;
  background: rgba(139,92,246,.13);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.ethics-icon svg {
  width: 22px; height: 22px;
  color: var(--gold-light);
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.ethics-card h3 {
  font-size: 17px;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 12px;
}
.ethics-card p {
  color: rgba(255,255,255,.38);
  font-size: 13px;
  line-height: 1.8;
}

/* ── LOCATION SECTION (O nás) ────────────────── */
.location-section { padding: 80px 0; }
.location-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.location-text h2 {
  font-size: clamp(26px, 3.2vw, 42px);
  font-weight: 900;
  letter-spacing: -.03em;
  color: var(--dark);
  margin: 12px 0 16px;
}
.location-text h2 span { color: var(--gold); }
.location-text p {
  color: var(--text-light);
  font-size: 15px;
  line-height: 1.8;
  max-width: 460px;
}

/* ── PROJECTS PAGE ───────────────────────────── */
.domains-section { padding: 80px 0 60px; }

.domains-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 64px;
}

.domain-card {
  background: var(--white);
  border: 1px solid rgba(0,0,0,.07);
  border-top: 3px solid var(--gold);
  border-radius: var(--radius);
  padding: 36px 24px 32px;
  text-align: center;
  transition: transform .3s, box-shadow .3s;
}
.domain-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.domain-icon {
  width: 56px; height: 56px;
  background: rgba(139,92,246,.09);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  transition: background .3s;
}
.domain-card:hover .domain-icon {
  background: rgba(139,92,246,.17);
}
.domain-icon svg {
  width: 26px; height: 26px;
  color: var(--gold);
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.domain-card h3 {
  font-size: 14px;
  font-weight: 700;
  color: var(--dark);
  line-height: 1.45;
}

.domains-footer {
  text-align: center;
  padding: 48px 0 20px;
  border-top: 1px solid rgba(0,0,0,.06);
}
.domains-footer p {
  color: var(--text-light);
  font-size: 15px;
  margin-bottom: 24px;
}

/* ── TEXT LOGO ───────────────────────────────── */
.nav-logo-text {
  font-size: 22px;
  font-weight: 900;
  letter-spacing: .1em;
  color: var(--white);
  text-transform: uppercase;
}
.footer-logo-text {
  font-size: 15px;
  font-weight: 900;
  letter-spacing: .1em;
  color: rgba(255,255,255,.7);
  text-transform: uppercase;
}
.footer-logo-img {
  height: 28px;
  width: auto;
  display: block;
  opacity: .7;
}

/* ── DOWNLOAD SECTION ────────────────────────── */
.download-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 40px;
}
.download-btn {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  background: var(--dark-card);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius);
  padding: 18px 32px;
  color: var(--white);
  text-decoration: none;
  transition: background .2s, border-color .2s, transform .2s, box-shadow .2s;
  min-width: 200px;
}
.download-btn:hover {
  background: rgba(139,92,246,.12);
  border-color: rgba(139,92,246,.4);
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(0,0,0,.2);
}
.download-btn-icon svg {
  width: 34px;
  height: 34px;
  fill: rgba(255,255,255,.8);
  flex-shrink: 0;
}
.download-btn:hover .download-btn-icon svg {
  fill: var(--gold-light);
}
.download-btn-label {
  display: block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: rgba(255,255,255,.45);
}
.download-btn-store {
  display: block;
  font-size: 19px;
  font-weight: 800;
  line-height: 1.2;
}

/* ── CONTACT CENTER ──────────────────────────── */
.contact-center {
  display: flex;
  justify-content: center;
}

/* ── FOOTER ──────────────────────────────────── */
footer {
  background: var(--dark);
  color: rgba(255,255,255,.38);
  padding: 32px 0;
  font-size: 13px;
  border-top: 1px solid rgba(139,92,246,.18);
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-logo-img {
  height: 28px;
  width: auto;
  display: block;
  opacity: .85;
}

/* ── RESPONSIVE ──────────────────────────────── */
@media (max-width: 960px) {
  .hero-collage {
    grid-template-columns: 1fr 1.3fr 1fr;
    padding: 72px 20px 56px;
    gap: 10px;
  }

  .services-grid { grid-template-columns: 1fr; }

  /* Features: stĺpce pod seba, karty bez rotácií, v dvoch stĺpcoch ak sa zmestia */
  .about-features {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .about-core { order: -1; }
  .feature-col {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 16px;
  }
  .feature-col .feature-group-title { grid-column: 1 / -1; }
  .fc-tilt-l1, .fc-tilt-l2, .fc-tilt-l3,
  .fc-tilt-r1, .fc-tilt-r2, .fc-tilt-r3 { transform: none; }

  .project-card,
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .ethics-grid { grid-template-columns: repeat(2, 1fr); }
  .domains-grid { grid-template-columns: repeat(2, 1fr); }
  .focus-grid { grid-template-columns: 1fr; gap: 0; }
  .tech-groups { grid-template-columns: 1fr; }

  .detail-block {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .detail-list { grid-template-columns: 1fr; }

  .pricing-banner {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 40px 32px;
  }

  .location-inner { flex-direction: column; align-items: flex-start; }

  /* ── MOBILE MENU: slide-in panel ── */
  .nav-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.55);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    z-index: 997;
    opacity: 0;
    pointer-events: none;
    transition: opacity .35s;
  }
  .nav-backdrop.visible {
    opacity: 1;
    pointer-events: all;
  }

  .nav-links {
    display: flex;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(300px, 82vw);
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    padding: 96px 32px 48px;
    gap: 0;
    background: rgba(10,10,18,.97);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-left: 1px solid rgba(139,92,246,.2);
    z-index: 998;
    transform: translateX(110%);
    visibility: hidden;
    transition: transform .36s cubic-bezier(.4,0,.2,1), visibility 0s .36s;
  }
  .nav-links.open {
    transform: translateX(0);
    visibility: visible;
    transition: transform .36s cubic-bezier(.4,0,.2,1), visibility 0s 0s;
  }
  .nav-links li {
    border-bottom: 1px solid rgba(255,255,255,.06);
  }
  .nav-links a {
    display: block;
    font-size: 14px;
    letter-spacing: .08em;
    padding: 18px 0 18px 16px;
    border-left: 2px solid transparent;
    transition: color .2s, border-color .2s, padding-left .2s;
  }
  .nav-links a:hover,
  .nav-links a.active {
    color: var(--white);
    border-left-color: var(--gold-light);
    padding-left: 22px;
  }
  .nav-links a::after { display: none; }

  .nav-toggle { display: flex; }
}

@media (max-width: 600px) {
  .hero-collage {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    align-content: space-between;
    column-gap: 8px;
    row-gap: 0;
    padding: 76px 10px 24px;
  }

  /* Zobraziť len rohové fotky */
  .cp-2, .cp-4, .cp-5 { display: none; }
  .cp-1 { grid-column: 1; grid-row: 1; transform: rotate(-3deg) translate(5%, 20%); }
  .cp-3 { grid-column: 2; grid-row: 1; transform: rotate(3deg) translate(-5%, 20%); }
  .cp-6 { grid-column: 1; grid-row: 2; transform: rotate(-3deg) translate(5%, -20%); }
  .cp-7 { grid-column: 2; grid-row: 2; transform: rotate(3deg) translate(-5%, -20%); }

  .hero-logo { width: 150px; }
  .hero-center {
    width: 100%;
    max-width: 340px;
  }
  .hero-center h1 { font-size: clamp(24px, 7vw, 34px); }
  .hero-sub { font-size: 14px; max-width: 300px; }
  .store-btn img { height: 36px; }

  .ethics-grid { grid-template-columns: 1fr; }
  .domains-grid { grid-template-columns: 1fr; }
  .page-hero { padding: 130px 0 80px; }
  .pricing-banner { padding: 32px 24px; }
}
