* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 35px 0 0;
  color: #111;
  background: #fff;
  font-family: Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.45;
}

img {
  max-width: 100%;
}

p {
  text-align: justify;
}

h1 {
  font-size: 56px;
  line-height: 1.08;
}

h2 {
  margin-top: 0;
  font-size: 42px;
  line-height: 1.12;
}

h3 {
  margin-top: 0;
  font-size: 36px;
  line-height: 1.15;
}

#obal {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
}

.column-2 {
  display: flex;
  justify-content: space-between;
}

.column-2 > div {
  width: 100%;
}

.column-2 p {
  max-width: 700px;
  margin-bottom: 35px;
}

.column-2 a,
.panel a,
.content a,
.card a {
  color: #852c85;
  text-decoration: none;
}

.column-2 a:hover,
.panel a:hover,
.content a:hover,
.card a:hover {
  text-decoration: underline;
}

.btn,
.button {
  display: inline-block;
  padding: 13px 25px;
  border: 0;
  border-radius: 0;
  background: #852c85;
  color: #fff !important;
  font: inherit;
  text-decoration: none !important;
  cursor: pointer;
  transition: 0.4s;
}

.btn:hover,
.button:hover {
  background: #b63fba;
  text-decoration: none !important;
}

.button--ghost {
  background: #40b3b3;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 25px;
}

nav div:nth-of-type(1) {
  width: auto;
}

#obal > nav.column-2 {
  align-items: center;
  gap: 28px;
}

nav .menu {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 2px;
  padding: 6px 8px;
  border: 1px solid #e2eeee;
  border-radius: 14px;
  background: #f3f9f9;
  text-align: right;
}

nav .menu a {
  display: inline-block;
  margin: 0;
  padding: 10px 12px;
  color: #000;
  white-space: nowrap;
  text-decoration: none;
  transition: 0.4s;
}

nav .menu a:hover {
  color: #852c85;
  text-decoration: none;
}

nav .menu a.btn {
  margin-left: 6px;
  border-radius: 9px;
  color: #fff;
  box-shadow: 0 5px 14px rgba(133, 44, 133, 0.18);
}

.uzsi {
  max-width: 450px;
  margin-right: 100px;
}

.uvod .uzsi {
  margin-right: 0;
}

.sekce,
.section {
  margin-top: 140px;
}

.sekce > h2 {
  text-align: center;
}

.uvod h2,
.kontakt h2 {
  margin: 30px 0 5px;
  font-size: 36px;
}

#header {
  background: url("/images/reality.webp") no-repeat top right;
  background-size: contain;
}

ul {
  max-width: 700px;
  padding: 0 15px;
}

ul li {
  margin: 16px 0;
  padding-left: 10px;
  list-style-image: url("/images/li.png");
}

.sluzby img {
  display: block;
  margin: 0 auto;
}

.sluzby .column-2 {
  gap: 30px;
}

.sluzby .column-2 > div > div {
  padding: 40px;
  border-radius: 20px;
  background: #ebf6f6;
}

.sluzby .column-2 > div:nth-of-type(2) {
  padding-top: 35px;
}

.provize > div:nth-of-type(2),
.postup > div:nth-of-type(2) {
  justify-items: flex-end;
}

.provize > div:nth-of-type(2) * {
  width: 100%;
  max-width: 600px;
}

.provize > div:nth-of-type(2) ul {
  width: 100%;
  max-width: 570px;
}

.steps-list {
  display: grid;
  gap: 56px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.steps-list > li {
  display: grid;
  grid-template-columns: 90px 1fr;
  align-items: start;
  gap: 45px;
  padding-left: 0;
  list-style: none;
}

.steps-list > li::before {
  display: grid;
  width: 90px;
  height: 90px;
  place-items: center;
  background: #40b3b3;
  color: #fff;
  content: counter(step) ".";
  font-size: 40px;
  font-weight: 600;
  counter-increment: step;
}

.steps-list p {
  max-width: 400px;
  margin: 0;
  font-weight: 600;
}

.postup .uzsi {
  display: grid;
  grid-template-rows: 1fr auto auto 1fr;
  row-gap: 16px;
  justify-items: start;
}

.postup .uzsi h2 {
  grid-row: 2;
  align-self: end;
  margin: 0;
}

.postup .uzsi .btn {
  grid-row: 3;
  align-self: start;
}

.tym > div:nth-of-type(2) {
  text-align: right;
}

.form-card {
  max-width: 720px;
  padding: 24px;
  border: 1px solid #e2eeee;
  background: #eaf5f5;
}

.grid-2,
.form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.field {
  display: grid;
  gap: 8px;
  margin: 0 0 16px;
}

label {
  font-weight: 600;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
textarea {
  width: 100%;
  height: 48px;
  padding: 0 16px;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  background: #fff;
  font: inherit;
}

textarea {
  height: 140px;
  padding: 12px 16px;
  resize: vertical;
}

input:focus,
textarea:focus {
  border-color: #7a2cbf;
  outline: 3px solid rgba(122, 44, 191, 0.25);
}

.check,
.consent {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 8px 0 20px;
  font-size: 14px;
}

.check input,
.consent input {
  width: 18px;
  height: 18px;
  accent-color: #852c85;
}

.check a,
.consent a {
  color: inherit;
  text-underline-offset: 2px;
}

.honeypot {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.kontakt div:nth-of-type(1) a {
  display: block;
  margin: 24px 0;
  color: #852c85;
  font-size: 32px;
  font-weight: 600;
  text-decoration: none;
}

.kontakt div:nth-of-type(1) a:hover {
  text-decoration: underline;
}

#kontakt {
  scroll-margin-top: 35px;
}

.prefooter {
  padding: 64px 450px 130px 64px;
  border-radius: 13px;
  background: #40b3b3 url("/images/prefooter.webp") no-repeat right 64px center;
  color: #fff;
}

.prefooter h2 {
  text-align: left;
}

.footer {
  margin-top: 100px;
  background: #852c85;
  color: #fff;
}

.footer > div {
  max-width: 1280px;
  margin: 0 auto;
  padding: 30px;
  border-bottom: 1px solid #fff;
}

.footer strong {
  display: block;
  margin-top: 30px;
}

.footer a {
  display: block;
  color: #fff;
  text-decoration: none;
}

.footer a:hover {
  text-decoration: underline;
}

.footer > div div:nth-of-type(2) a {
  margin-bottom: 20px;
}

.footer div:nth-of-type(2) div:nth-of-type(2) a {
  float: right;
  margin-left: 20px;
}

.footer > div div:nth-of-type(2) {
  justify-items: flex-end;
}

.seotexty a {
  display: block;
  line-height: 40px;
}

.seotexty .column-2 {
  justify-content: space-evenly;
}

.seotexty .column-2 div {
  width: 200px;
}

.seo-hub {
  padding: 48px;
  border: 1px solid #e2eeee;
  border-radius: 20px;
  background: #f3f9f9;
}

.seo-hub > .intro {
  margin: 0 auto 32px;
  text-align: center;
}

.seo-hub .column-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  max-width: 940px;
  margin: 0 auto;
}

.seo-hub .column-2 div {
  display: grid;
  width: auto;
  gap: 14px;
}

.seo-hub a {
  padding: 14px 18px;
  border: 1px solid #e2eeee;
  border-left: 5px solid #852c85;
  border-radius: 10px;
  background: #fff;
  color: #111;
  font-weight: 600;
  line-height: 1.35;
  transition: 0.2s ease;
}

.seo-hub a:hover {
  border-left-color: #40b3b3;
  color: #852c85;
  text-decoration: none;
  transform: translateX(3px);
}

/* Nové obsahové stránky používají stejné tvary, barvy a typografii jako původní web. */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
}

.narrow {
  max-width: 850px;
}

.page-hero {
  margin-top: 110px;
}

.page-hero .two-col,
.two-col {
  display: flex;
  justify-content: space-between;
  gap: 70px;
}

.two-col > div {
  width: 100%;
}

.page-hero .hero-visual {
  position: relative;
  max-width: 460px;
  text-align: right;
}

.page-hero .hero-visual img {
  width: 100%;
  box-shadow: 1px 2px 3px #000;
}

.service-hero .two-col {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(350px, 0.92fr);
  align-items: center;
  gap: 50px;
  padding: 48px;
  border: 1px solid #e2eeee;
  border-radius: 24px;
  background: #f3f9f9;
}

.service-hero h1 {
  margin: 20px 0 24px;
  font-size: 48px;
}

.service-hero .lead {
  margin-bottom: 0;
  font-size: 18px;
  line-height: 1.65;
}

.service-hero .hero-visual {
  max-width: none;
}

.service-hero .hero-visual img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 2;
  border-radius: 18px;
  box-shadow: none;
  object-fit: cover;
}

.service-hero .hero-badge {
  right: 16px;
  bottom: 16px;
  max-width: 230px;
  border-left: 5px solid #40b3b3;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 8px 24px rgba(36, 64, 64, 0.12);
}

.service-hero + .section {
  margin-top: 90px;
}

.hero-badge {
  position: absolute;
  right: 20px;
  bottom: 20px;
  max-width: 240px;
  padding: 18px;
  background: #ebf6f6;
  color: #111;
  text-align: left;
}

.eyebrow,
.breadcrumbs,
.article-meta {
  color: #666;
  font-size: 14px;
}

.breadcrumbs {
  margin-bottom: 30px;
}

.breadcrumbs a {
  color: #852c85;
}

.lead,
.intro {
  max-width: 760px;
}

.rozcestnik > .intro,
.poradna-preview > .intro {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 40px;
}

.card,
.team-card,
.sidebar-box,
.content-callout,
.faq-list details {
  padding: 32px;
  border: 1px solid #e2eeee;
  border-radius: 20px;
  background: #ebf6f6;
}

.card h3,
.team-card h3,
.sidebar-box h3 {
  font-size: 30px;
}

.card p {
  text-align: left;
}

.card-image {
  margin: -32px -32px 28px;
  overflow: hidden;
  border-radius: 20px 20px 0 0;
}

.card-image img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.center,
.center-button {
  text-align: center;
}

.center-button {
  margin-top: 35px;
}

.service-layout,
.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  align-items: start;
  gap: 60px;
}

.content {
  max-width: 820px;
}

.content h2 {
  margin-top: 70px;
  font-size: 38px;
}

.content h3 {
  margin-top: 45px;
  font-size: 30px;
}

.service-layout .content > p:first-child {
  font-size: 18px;
  line-height: 1.65;
}

.service-layout .content > section {
  padding-bottom: 18px;
  border-bottom: 1px solid #e2eeee;
}

.content-callout {
  margin: 40px 0;
  border-left: 8px solid #40b3b3;
}

.article-seo-links a {
  font-weight: 600;
}

.sidebar {
  position: sticky;
  top: 30px;
}

.sidebar-box {
  margin-bottom: 25px;
}

.sidebar-box--accent {
  background: #40b3b3;
  color: #fff;
}

.sidebar-box--accent a {
  color: #fff;
}

.check-list {
  padding-left: 15px;
}

.process {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 30px;
  counter-reset: process-step;
}

.process-item {
  position: relative;
  min-height: 150px;
  padding: 26px 26px 26px 78px;
  border: 1px solid #d9eaea;
  border-radius: 16px;
  background: linear-gradient(135deg, #f5fafa 0%, #eaf6f6 100%);
  box-shadow: 0 8px 24px rgba(25, 82, 82, 0.06);
  counter-increment: process-step;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.process-item::before {
  position: absolute;
  top: 26px;
  left: 24px;
  display: grid;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #40b3b3;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  content: counter(process-step, decimal-leading-zero);
  place-items: center;
}

.process-item:nth-child(even)::before {
  background: #852c85;
}

.process-item h3 {
  margin: 2px 0 10px;
  font-size: 24px;
  line-height: 1.2;
}

.process-item p {
  margin: 0;
  color: #344545;
  line-height: 1.55;
  text-align: left;
}

.content-section-image {
  margin: 32px 0 12px;
  overflow: hidden;
  border-radius: 16px;
  background: #ebf6f6;
}

.content-section-image img {
  display: block;
  width: 100%;
  max-height: 430px;
  object-fit: cover;
}

@media (hover: hover) {
  .process-item:hover {
    border-color: #b9dada;
    box-shadow: 0 12px 28px rgba(25, 82, 82, 0.1);
    transform: translateY(-2px);
  }
}

.sidebar-box--related {
  background: #f3f9f9;
}

.related-services {
  display: grid;
  gap: 9px;
  margin-top: 20px;
}

.related-services a {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 42px 12px 14px;
  border: 1px solid #d7e8e8;
  border-radius: 10px;
  background: #fff;
  color: #5f235f;
  font-weight: 600;
  line-height: 1.3;
  text-decoration: none;
  transition: border-color 0.25s ease, background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.related-services a::after {
  position: absolute;
  right: 15px;
  color: #40b3b3;
  font-size: 22px;
  line-height: 1;
  content: "\203A";
  transition: transform 0.25s ease;
}

.related-services a:hover {
  border-color: #40b3b3;
  background: #fff;
  color: #852c85;
  text-decoration: none;
  transform: translateX(3px);
}

.related-services a:hover::after {
  transform: translateX(2px);
}

.gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 25px;
  margin-top: 50px;
}

.gallery img {
  display: block;
  width: 100%;
  box-shadow: 1px 2px 3px #000;
}

.faq-list {
  display: grid;
  gap: 16px;
}

.faq-list details {
  padding: 22px 26px;
}

.faq-list summary {
  font-weight: 600;
  cursor: pointer;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  margin-top: 50px;
}

.role,
.article-meta {
  display: block;
  margin-bottom: 12px;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 25px;
}

.related {
  margin-top: 50px;
}

.notice {
  padding: 20px;
  background: #ebf6f6;
}

@media (min-width: 640px) {
  .grid-2,
  .form-grid {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
}

@media (min-width: 768px) {
  .form-card {
    padding: 32px;
  }
}

@media (max-width: 900px) {
  #obal > nav.column-2 {
    flex-direction: column;
    gap: 20px;
  }

  nav .menu {
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
  }

  .cards,
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .service-layout,
  .article-layout {
    grid-template-columns: 1fr;
  }

  .service-hero .two-col {
    grid-template-columns: 1fr;
  }

  .sidebar {
    position: static;
  }
}

@media (max-width: 768px) {
  body {
    margin-top: 20px;
  }

  h1 {
    font-size: 45px;
  }

  h2 {
    font-size: 34px;
  }

  h3 {
    font-size: 30px;
  }

  .sekce,
  .section {
    margin-top: 70px;
  }

  .column-2,
  .two-col,
  .page-hero .two-col {
    flex-direction: column;
  }

  .uvod {
    min-height: 0;
  }

  .kontakt div:nth-of-type(1) a {
    font-size: 23px;
  }

  .steps-list > li {
    grid-template-columns: 1fr;
  }

  p {
    text-align: left;
  }

  .postup .uzsi {
    margin-bottom: 50px;
  }

  nav {
    gap: 30px;
    text-align: center;
  }

  nav .menu {
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
    padding: 8px;
    text-align: center;
  }

  nav .menu a.btn {
    display: block;
    width: 100%;
    margin: 6px 0 0;
    text-align: center;
  }

  .prefooter {
    padding: 20px;
    background-image: none;
  }

  .page-hero {
    margin-top: 70px;
  }

  .service-hero .two-col {
    padding: 28px;
  }

  .service-hero h1 {
    font-size: 34px;
  }

  .service-hero .lead {
    font-size: 16px;
  }

  .content h2 {
    margin-top: 55px;
    font-size: 31px;
  }

  .cards,
  .team-grid,
  .gallery,
  .process,
  .seo-hub .column-2 {
    grid-template-columns: 1fr;
  }

  .page-hero .hero-visual {
    max-width: none;
  }

  .footer > .column-2 > div:nth-child(2) {
    margin-top: 30px;
    justify-items: start;
  }

  .footer div:nth-of-type(2) div:nth-of-type(2) a {
    float: none;
    margin-left: 0;
  }
}

@media (max-width: 520px) {
  h1 {
    font-size: 38px;
  }

  h2 {
    font-size: 30px;
  }

  .card,
  .team-card,
  .sidebar-box,
  .content-callout {
    padding: 24px;
  }

  .process-item {
    min-height: 0;
    padding: 22px 20px 22px 70px;
  }

  .process-item::before {
    top: 22px;
    left: 20px;
    width: 34px;
    height: 34px;
    font-size: 13px;
  }

  .seo-hub {
    padding: 24px;
  }
}
