:root {
  --red: #ed3237;
  --ink: #20242a;
  --text: #626c78;
  --line: #e7e7e7;
  --grey: #f7f7f7;
  --dark: #1b1b1b;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  color: var(--text);
  background: #fff;
  font-family: "Open Sans", Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.9;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
.container { width: min(1500px, calc(100% - 130px)); margin: 0 auto; }
h1, h2, h3, h4, .nav-links a {
  margin: 0;
  color: var(--ink);
  font-family: "Oswald", Impact, "Arial Narrow", sans-serif;
  font-weight: 400;
  letter-spacing: 1px;
  text-transform: uppercase;
  line-height: 1.25;
}
.topbar {
  height: 58px;
  border-bottom: 1px solid #d9d9d9;
  color: #9a9a9a;
  font-size: 13px;
}
.topbar-inner {
  display: flex;
  align-items: center;
  gap: 18px;
  height: 100%;
}
.main-nav {
  background: #fff;
  border-top: 4px solid #111;
  box-shadow: 0 2px 10px rgba(0,0,0,.12);
}
.nav-inner {
  height: 110px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand img { width: 185px; }
.nav-links {
  display: flex;
  align-items: stretch;
  gap: 2px;
  height: 54px;
}
.nav-links a {
  display: flex;
  align-items: center;
  padding: 0 22px;
  color: #8a8a8a;
  font-size: 18px;
}
.nav-links a.active,
.nav-links a:hover { color: #111; }
.nav-links a[href="/kontakt/"] {
  color: #fff;
  background: var(--red);
}
.home-hero { padding-top: 52px; }
.hero-image {
  position: relative;
  min-height: 690px;
  overflow: hidden;
  background: #111;
}
.hero-image img {
  width: 100%;
  height: 690px;
  object-fit: cover;
  filter: brightness(.56);
}
.hero-text {
  position: absolute;
  left: 10%;
  top: 50%;
  transform: translateY(-50%);
  color: #fff;
  font-family: "Oswald", Impact, "Arial Narrow", sans-serif;
  font-size: clamp(42px, 5.2vw, 76px);
  line-height: 1.18;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.hero-text span { display: block; }
.icon-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 58px;
  padding: 120px 0 95px;
  text-align: center;
}
.stat-icon {
  width: 112px;
  height: 112px;
  margin: 0 auto 30px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--red);
  color: #fff;
  font-size: 42px;
  font-family: Arial, Helvetica, sans-serif;
}
.stat-icon svg {
  width: 46px;
  height: 46px;
  fill: #fff;
}
.icon-stats h3 {
  max-width: 270px;
  margin: 0 auto;
  font-size: 23px;
}
.grey { background: var(--grey); }
.split-section { padding: 90px 0; }
.split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 92px;
  align-items: center;
}
.split-grid.reverse > :first-child { order: 1; }
.split-grid img {
  width: 100%;
  aspect-ratio: 1.5 / 1;
  object-fit: cover;
}
.split-grid h2 { font-size: 42px; margin-bottom: 28px; }
.split-grid h3 { font-size: 28px; margin-bottom: 24px; }
.split-grid p { font-size: 20px; line-height: 1.85; }
.gallery-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 35px;
  padding-top: 80px;
  padding-bottom: 80px;
}
.gallery-strip a,
.gallery-grid a {
  display: block;
  overflow: hidden;
}
.gallery-strip img,
.gallery-grid img {
  width: 100%;
  aspect-ratio: 1.55 / 1;
  object-fit: cover;
  transition: transform .24s ease, filter .24s ease;
}
.gallery-strip a:hover img,
.gallery-grid a:hover img {
  transform: scale(1.04);
  filter: brightness(.92);
}
.process {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 46px;
  padding: 110px 0 105px;
  text-align: center;
}
.process:before {
  content: "";
  position: absolute;
  left: 16%;
  right: 16%;
  top: 173px;
  border-top: 1px dashed #bcbcbc;
}
.process div { position: relative; z-index: 1; }
.process span {
  width: 170px;
  height: 170px;
  margin: 0 auto 26px;
  border: 3px solid #bebebe;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #ccc;
}
.process img {
  width: 94px;
  height: 94px;
  object-fit: contain;
}
.process h3 { font-size: 24px; }
.red-cta {
  background: var(--red);
  color: #fff;
  padding: 86px 0;
}
.red-cta .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}
.red-cta h2 {
  color: #fff;
  font-size: 42px;
}
.white-btn {
  display: inline-flex;
  min-height: 76px;
  min-width: 270px;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  background: #fff;
  color: #111;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.page-title {
  padding: 54px 0;
  background: var(--grey);
}
.page-title h1 { font-size: 32px; }
.page-title p { margin: 10px 0 0; font-size: 13px; }
.services-intro {
  max-width: 980px;
  padding-top: 78px;
  padding-bottom: 36px;
}
.services-intro h2 {
  max-width: 900px;
  margin-bottom: 24px;
  font-size: 42px;
}
.services-intro p:not(.mini-title) {
  max-width: 860px;
  font-size: 19px;
}
.service-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
  padding-top: 80px;
  padding-bottom: 80px;
}
.service-row img {
  width: 100%;
  aspect-ratio: 1.35 / 1;
  object-fit: cover;
}
.service-row h3 { font-size: 30px; }
.grey-row { background: var(--grey); }
.grey-row.service-row {
  display: block;
  max-width: none;
  width: 100%;
}
.service-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}
.service-detail {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  gap: 74px;
  align-items: center;
  padding-top: 72px;
  padding-bottom: 72px;
}
.service-detail img {
  width: 100%;
  aspect-ratio: 1.42 / 1;
  object-fit: cover;
  box-shadow: 0 18px 42px rgba(0,0,0,.08);
}
.service-detail h3 {
  margin: 6px 0 22px;
  font-size: 34px;
}
.service-detail p {
  margin: 0 0 24px;
  font-size: 18px;
}
.service-detail ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.service-detail li {
  position: relative;
  padding-left: 24px;
  color: var(--ink);
  font-weight: 700;
}
.service-detail li:before {
  content: "";
  position: absolute;
  left: 0;
  top: .8em;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--red);
}
.service-no {
  color: var(--red);
  font-family: "Oswald", Impact, "Arial Narrow", sans-serif;
  font-size: 18px;
  letter-spacing: 1px;
}
.service-alt {
  background: var(--grey);
}
.service-detail-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: 74px;
  align-items: center;
}
.service-detail-inner img {
  width: 100%;
  aspect-ratio: 1.42 / 1;
  object-fit: cover;
  box-shadow: 0 18px 42px rgba(0,0,0,.08);
}
.service-promise {
  padding: 72px 0;
}
.promise-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 34px;
}
.promise-grid > div {
  padding: 38px;
  background: #fff;
  border-top: 4px solid var(--red);
  box-shadow: 0 16px 38px rgba(0,0,0,.06);
}
.promise-grid h3 {
  margin-bottom: 16px;
  font-size: 28px;
}
.promise-grid p {
  margin: 0;
}
.gallery-page { padding: 75px 0 80px; text-align: center; }
.gallery-page h3 { font-size: 34px; }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 45px;
}
.contact-section {
  max-width: 760px;
  padding-top: 80px;
  padding-bottom: 90px;
}
.contact-section h2 { font-size: 34px; margin-bottom: 24px; }
.contact-wrap {
  display: grid;
  grid-template-columns: minmax(360px, .75fr) 1.25fr;
  gap: 58px;
  align-items: stretch;
  padding-top: 86px;
  padding-bottom: 86px;
}
.contact-panel {
  padding: 48px;
  background: #fff;
  border-top: 5px solid var(--red);
  box-shadow: 0 18px 50px rgba(0,0,0,.08);
}
.mini-title {
  margin: 0 0 8px;
  color: var(--red);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.contact-panel h2 {
  margin-bottom: 34px;
  font-size: 36px;
}
.contact-items {
  display: grid;
  gap: 20px;
}
.contact-items p {
  margin: 0;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}
.contact-items strong,
.contact-items span {
  display: block;
}
.contact-items strong {
  color: var(--ink);
  font-weight: 800;
}
.contact-visual {
  display: grid;
  grid-template-rows: 1fr auto;
  background: var(--grey);
}
.contact-visual img {
  width: 100%;
  height: 100%;
  min-height: 330px;
  object-fit: cover;
}
.contact-visual div {
  padding: 34px 38px;
  background: var(--ink);
}
.contact-visual h3 {
  color: #fff;
  font-size: 28px;
  margin-bottom: 10px;
}
.contact-visual p {
  margin: 0;
  color: #cdd3d8;
}
.footer {
  background: var(--dark);
  color: #777;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 72px;
  padding: 82px 0;
}
.footer h4 {
  color: #fff;
  font-size: 16px;
  margin-bottom: 28px;
}
.footer p,
.footer a {
  display: block;
  color: #858585;
  font-size: 14px;
  margin: 0 0 10px;
}
.footer-bottom {
  background: #111;
  padding: 18px 0;
  font-size: 13px;
}
.bottom-inner {
  display: flex;
  justify-content: space-between;
  gap: 24px;
}
@media (max-width: 900px) {
  .container { width: min(100% - 36px, 1500px); }
  .topbar { height: auto; padding: 10px 0; }
  .topbar-inner { justify-content: center; flex-wrap: wrap; }
  .nav-inner, .red-cta .container, .bottom-inner { align-items: center; flex-direction: column; height: auto; }
  .nav-inner { padding: 18px 0 16px; gap: 18px; }
  .brand img { width: 155px; }
  .nav-links { justify-content: center; flex-wrap: wrap; height: auto; width: 100%; gap: 6px; }
  .nav-links a { min-height: 42px; padding: 0 12px; font-size: 15px; }
  .home-hero { padding-top: 24px; }
  .hero-image, .hero-image img { min-height: 430px; height: 430px; }
  .hero-text { left: 7%; font-size: 38px; }
  .icon-stats, .process, .gallery-strip, .footer-grid, .service-row, .service-inner, .split-grid, .gallery-grid, .service-detail, .service-detail-inner, .promise-grid { grid-template-columns: 1fr; }
  .contact-wrap { grid-template-columns: 1fr; }
  .icon-stats { gap: 42px; padding: 70px 0; }
  .split-section, .service-row, .gallery-page, .process, .service-detail, .service-promise { padding: 56px 0; }
  .services-intro { padding-top: 56px; padding-bottom: 12px; }
  .services-intro h2, .split-grid h2 { font-size: 30px; }
  .service-detail h3 { font-size: 27px; }
  .service-detail p, .services-intro p:not(.mini-title), .split-grid p { font-size: 16px; line-height: 1.75; }
  .service-detail img, .service-detail-inner img, .split-grid img { aspect-ratio: 1.25 / 1; }
  .promise-grid > div { padding: 26px; }
  .split-grid { gap: 34px; }
  .split-grid.reverse > :first-child { order: 0; }
  .process:before { display: none; }
  .red-cta h2 { font-size: 32px; }
  .white-btn { min-width: 0; width: 100%; }
  .contact-panel { padding: 30px; }
  .contact-visual div { padding: 28px; }
}
@media (max-width: 520px) {
  .container { width: min(100% - 28px, 1500px); }
  .topbar-inner { align-items: center; gap: 8px 14px; font-size: 12px; }
  .main-nav { border-top-width: 3px; }
  .nav-links a[href="/kontakt/"] { width: 100%; justify-content: center; }
  .home-hero { padding-top: 14px; }
  .hero-image, .hero-image img { min-height: 360px; height: 360px; }
  .hero-text { font-size: 32px; }
  .icon-stats { padding: 52px 0; }
  .stat-icon { width: 92px; height: 92px; margin-bottom: 22px; }
  .stat-icon svg { width: 38px; height: 38px; }
  .icon-stats h3, .process h3 { font-size: 20px; }
  .red-cta { padding: 56px 0; }
  .red-cta h2 { font-size: 28px; text-align: center; }
  .footer-grid { gap: 34px; padding: 54px 0; }
}
