:root {
  --red: #ff0033;
  --red-dark: #cc0029;
  --red-soft: #fff0f3;
  --black: #3b3b3b;
  --text: #171717;
  --muted: #686868;
  --line: #e8e8e8;
  --bg: #fbfbfb;
  --soft: #f5f5f5;
  --sand: #f4eadf;
  --sand-strong: #b97745;
  --blue-soft: #edf4f7;
  --blue-strong: #486a75;
  --white: #ffffff;
  --radius: 22px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: Arial, Helvetica, sans-serif; background: var(--bg); color: var(--text); line-height: 1.55; }
img { display: block; max-width: 100%; }
a { color: inherit; }
.container { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251, 251, 251, 0.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.navbar { width: min(1120px, calc(100% - 40px)); min-height: 62px; margin: 0 auto; padding: 8px 0; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; justify-content: center; text-decoration: none; }
.brand-logo-wrap { display: inline-flex; align-items: center; justify-content: center; padding: 6px 10px; border-radius: 14px;}
.brand img { width: 62px; height: auto; object-fit: contain; }
.nav-links { display: flex; align-items: center; gap: 22px; }
.nav-links a { text-decoration: none; font-size: 14px; font-weight: 700; color: var(--black); }
.nav-links a:hover { color: var(--red); }
.nav-button { padding: 9px 14px; border-radius: 999px; background: var(--black); color: var(--white) !important; }
.nav-button:hover { background: var(--red); }
.menu-toggle { display: none; width: 38px; height: 38px; border: 1px solid var(--line); background: var(--white); border-radius: 10px; cursor: pointer; font-size: 22px; }

.hero { position: relative; overflow: hidden; padding: 92px 0 72px; background: linear-gradient(90deg, rgba(255,255,255,0.94) 0%, rgba(255,255,255,0.82) 48%, rgba(255,255,255,0.42) 100%), url("assets/hero-background.jpg"); background-size: cover; background-position: center; border-bottom: 1px solid var(--line); }
.hero-accent { position: absolute; border-radius: 999px; filter: blur(4px); opacity: 0.55; }
.hero-accent-one { width: 260px; height: 260px; background: var(--red-soft); right: -70px; top: 30px; }
.hero-accent-two { width: 180px; height: 180px; background: var(--sand); left: -60px; bottom: -40px; }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 48px; align-items: center; }
.label { margin: 0 0 13px; color: var(--red); text-transform: uppercase; letter-spacing: 1.5px; font-size: 12px; font-weight: 900; }
h1, h2, h3, p { margin-top: 0; }
h1 { max-width: 790px; margin-bottom: 22px; font-size: clamp(42px, 6vw, 76px); line-height: 0.98; letter-spacing: -3.5px; }
h2 { margin-bottom: 16px; font-size: clamp(30px, 4vw, 52px); line-height: 1.04; letter-spacing: -2px; }
h3 { margin-bottom: 8px; line-height: 1.2; }
.lead { max-width: 680px; color: var(--muted); font-size: 19px; margin-bottom: 28px; }
.lead.small { font-size: 17px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn { display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; border: 1px solid transparent; padding: 13px 18px; font-size: 15px; font-weight: 800; text-decoration: none; cursor: pointer; }
.btn-primary { background: var(--red); color: var(--white); }
.btn-primary:hover { background: var(--red-dark); }
.btn-secondary { background: var(--white); border-color: var(--line); color: var(--black); }
.btn-secondary:hover { border-color: var(--red); color: var(--red); }
.hero-card { background: rgba(255,255,255,0.88); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: 0 20px 60px rgba(0,0,0,0.055); }
.mini-logo { width: 62px; height: 62px; border-radius: 18px; background: var(--red); color: var(--white); display: flex; align-items: center; justify-content: center; font-weight: 950; margin-bottom: 24px; }
.hero-card h2 { font-size: 30px; letter-spacing: -1px; }
.hero-card p, .hero-card li { color: var(--muted); }
.hero-card ul { padding-left: 18px; margin-bottom: 0; }

.section { padding: 84px 0; }
.section-top { max-width: 760px; margin-bottom: 34px; }
.section-top p:not(.label) { color: var(--muted); font-size: 17px; }
.narrow { max-width: 620px; }
.services-section { background: var(--white); }
.services-list { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.services-list article { display: grid; grid-template-columns: 58px 1fr; gap: 18px; padding: 24px; border-radius: var(--radius); border: 1px solid var(--line); }
.services-list span { font-weight: 950; }
.services-list h3 { font-size: 23px; }
.services-list p { color: var(--muted); margin-bottom: 0; }
.service-red { background: var(--red-soft); }
.service-red span { color: var(--red); }
.service-sand { background: var(--sand); }
.service-sand span { color: var(--sand-strong); }
.service-blue { background: var(--blue-soft); }
.service-blue span { color: var(--blue-strong); }
.service-dark { background: var(--black); color: var(--white); }
.service-dark span { color: var(--red); }
.service-dark p { color: #d8d8d8; }

.about-section { background: var(--soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.split { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; }
.text-block p { color: var(--muted); font-size: 18px; }
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 24px; }
.values div { background: var(--white); border: 1px solid var(--line); border-radius: 18px; padding: 18px; }
.values div:nth-child(1) { border-top: 4px solid var(--red); }
.values div:nth-child(2) { border-top: 4px solid var(--sand-strong); }
.values div:nth-child(3) { border-top: 4px solid var(--blue-strong); }
.values strong { display: block; margin-bottom: 4px; }
.values span { color: var(--muted); font-size: 14px; }

.process-section { background: linear-gradient(135deg, var(--black), #505050); color: var(--white); }
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.process-grid div { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12); border-radius: var(--radius); padding: 22px; }
.process-grid span { display: inline-flex; width: 34px; height: 34px; align-items: center; justify-content: center; background: var(--red); color: var(--white); border-radius: 50%; font-weight: 900; margin-bottom: 18px; }
.process-grid p { color: #d0d0d0; margin-bottom: 0; }

.work-section { background: #fffaf7; }
.work-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.work-grid article { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.work-image { width: 100%; height: 230px; object-fit: cover; border-radius: 18px; margin-bottom: 18px; display: block; background: var(--soft); }
.work-grid h3 { font-size: 22px; }
.work-grid p { color: var(--muted); margin-bottom: 0; }

.contact-section { background: linear-gradient(135deg, #ffffff, #f2f7f9); }
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 44px; }
.contact-details { margin-top: 24px; padding-top: 22px; border-top: 1px solid var(--line); }
.contact-details p { color: var(--muted); margin-bottom: 8px; }
.contact-details strong { color: var(--black); }
.contact-form { display: grid; gap: 12px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: 0 18px 50px rgba(0,0,0,0.05); }
.contact-form input, .contact-form textarea { width: 100%; border: 1px solid var(--line); border-radius: 14px; padding: 14px 15px; font: inherit; background: var(--bg); }
.contact-form input:focus, .contact-form textarea:focus { outline: 3px solid rgba(255,0,51,0.12); border-color: var(--red); }
.form-message { color: var(--red); font-weight: 800; margin: 0; }

.footer { padding: 26px 0; border-top: 1px solid var(--line); background: var(--white); }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.footer-logo-wrap { display: inline-flex; align-items: center; justify-content: center; padding: 5px 9px;}
.footer img { width: 60px; }
.footer p { color: var(--muted); margin: 0; font-size: 14px; }

@media (max-width: 900px) {
  .menu-toggle { display: block; }
  .nav-links { display: none; position: absolute; top: 62px; left: 20px; right: 20px; background: var(--white); border: 1px solid var(--line); border-radius: 18px; padding: 16px; flex-direction: column; align-items: stretch; box-shadow: 0 18px 50px rgba(0,0,0,0.08); }
  .nav-links.active { display: flex; }
  .nav-button { text-align: center; }
  .hero-grid, .split, .contact-grid { grid-template-columns: 1fr; }
  .process-grid, .work-grid, .services-list { grid-template-columns: 1fr 1fr; }
  .values { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .container, .navbar { width: min(100% - 28px, 1120px); }
  .navbar { min-height: 56px; padding: 7px 0; }
  .brand img { width: 54px; }
  .brand-logo-wrap { padding: 5px 8px; border-radius: 12px; }
  .nav-links { top: 56px; left: 14px; right: 14px; }
  .hero { padding: 64px 0 56px; }
  h1 { letter-spacing: -2px; }
  .process-grid, .work-grid, .services-list { grid-template-columns: 1fr; }
  .services-list article { grid-template-columns: 1fr; gap: 10px; }
  .work-image { height: 260px; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}

/* Hero fotografia — pôvodný dizajn zostáva zachovaný, mení sa iba pozadie úvodnej sekcie. */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 20%, rgba(255,255,255,0.28), transparent 34%);
  pointer-events: none;
}

.hero-copy,
.hero-card {
  position: relative;
  z-index: 1;
}

/* Realizácie — rozšírené na 5 ukážok práce. */
.work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.work-grid article:nth-child(4),
.work-grid article:nth-child(5) {
  grid-column: span 1;
}

.work-image {
  width: 100%;
  height: 245px;
  object-fit: cover;
  border-radius: 18px;
  margin-bottom: 18px;
  display: block;
  background: var(--soft);
}

.honeypot {
  display: none !important;
}

.privacy-note {
  font-size: 13px;
  color: var(--muted);
  margin: 0;
  line-height: 1.4;
}

@media (max-width: 900px) {
  .work-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 620px) {
  .work-grid {
    grid-template-columns: 1fr;
  }

  .work-image {
    height: 260px;
  }
}


/* OPRAVA: sekcia partnerov a jednotná veľkosť log */
.work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.work-image {
  width: 100%;
  height: 245px;
  object-fit: cover;
  border-radius: 18px;
  margin-bottom: 18px;
  display: block;
  background: var(--soft);
}

.partners-section {
  background: var(--white);
  border-top: 1px solid var(--line);
  padding-top: 84px;
  padding-bottom: 84px;
}

.partners-section .partners-heading {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.partners-section .partners-heading p:not(.label) {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.partners-section .partners-logos {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-wrap: wrap !important;
  gap: 22px !important;
  margin-top: 34px !important;
}

.partners-section .partner-logo-card {
  width: 220px !important;
  height: 112px !important;
  flex: 0 0 220px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: #ffffff !important;
  border: 1px solid var(--line) !important;
  border-radius: 20px !important;
  padding: 20px !important;
  box-shadow: 0 14px 40px rgba(0,0,0,0.045) !important;
  text-decoration: none !important;
  color: inherit !important;
  overflow: hidden !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease !important;
}

.partners-section .partner-logo-card:hover {
  transform: translateY(-3px) !important;
  border-color: var(--red) !important;
  box-shadow: 0 18px 50px rgba(0,0,0,0.08) !important;
}

.partners-section .partner-logo-card:focus-visible {
  outline: 3px solid rgba(255,0,51,0.18) !important;
  outline-offset: 4px !important;
}

.partners-section .partner-logo-card img {
  display: block !important;
  width: auto !important;
  height: auto !important;
  max-width: 100% !important;
  max-height: 68px !important;
  object-fit: contain !important;
  margin: 0 auto !important;
}

.honeypot {
  display: none !important;
}

.privacy-note {
  font-size: 13px;
  color: var(--muted);
  margin: 0;
  line-height: 1.4;
}

@media (max-width: 900px) {
  .work-grid {
    grid-template-columns: 1fr 1fr;
  }

  .partners-section .partner-logo-card {
    width: 210px !important;
    flex-basis: 210px !important;
  }
}

@media (max-width: 620px) {
  .work-grid {
    grid-template-columns: 1fr;
  }

  .work-image {
    height: 260px;
  }

  .partners-section .partners-logos {
    gap: 14px !important;
  }

  .partners-section .partner-logo-card {
    width: 100% !important;
    max-width: 290px !important;
    flex-basis: 100% !important;
  }
}
