:root {
  --teal: #21897e;
  --orange: #ffbf69;
  --cream: #ffe1a8;
  --grey: #d9d9d9;
  --font-head: "Archivo Black", sans-serif;
  --font-body: "Raleway", sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font: 500 16px/1.25 var(--font-body);
  color: #000;
  background: #fff;
}

img { display: block; max-width: 100%; }
a { color: inherit; }
p, h1, h2, h3, ul, ol { margin: 0; }

.container {
  width: 100%;
  max-width: calc(1110px + 2 * 16px);
  margin: 0 auto;
  padding: 0 16px;
}

.h1 {
  font: 400 clamp(36px, 6vw, 64px)/1.2 var(--font-head);
}
.center { text-align: center; }

.text { text-align: justify; }
.text p + p { margin-top: 1.25em; }

.photo {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 25px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 160px;
  height: 50px;
  border: 0;
  border-radius: 10px;
  background: var(--teal);
  color: var(--grey);
  font: inherit;
  text-decoration: none;
  cursor: pointer;
}
.btn--ghost { background: none; }

/* Header */
.header { background: #fff; }
.header__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  min-height: 102px;
  padding-top: 16px;
  padding-bottom: 16px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-left: 14px;
  font: 400 32px var(--font-head);
  text-decoration: none;
}
.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 36px;
  margin-right: -27px;
  font-weight: 700;
  font-size: 18px;
}
.nav a { text-decoration: none; }
.nav a:hover, .nav a:focus-visible { color: var(--teal); }

/* Hero */
.hero {
  display: flex;
  align-items: center;
  min-height: 800px;
  background: url("assets/hero.png") center / cover;
  color: var(--grey);
  text-align: center;
}
.hero__content { padding-bottom: 120px; }
.hero__title { font: 400 clamp(40px, 6vw, 64px)/1.2 var(--font-head); }
.hero__text { margin-top: 20px; }
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin-top: 40px;
}

/* Page sections (one per Figma frame) */
.page {
  padding: 80px 0 100px;
  background: linear-gradient(var(--grey), #fff);
}
.page--home { background: linear-gradient(var(--grey) 25%, #fff 90%); }
.page > .container > .h1:first-child { margin-bottom: 50px; }

.split {
  display: grid;
  grid-template-columns: 540px 1fr;
  gap: 30px;
  align-items: start;
}
.split .h1 { margin: 60px 0 20px; }
.split--top + .split--top { margin-top: 64px; }
.split--top .text { padding-top: 23px; }
.split--reverse > .photo { order: 2; }

.highlights {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 100px;
}
.highlight {
  min-height: 169px;
  padding: 21px 20px;
  border-radius: 25px;
  background: var(--orange);
  font-size: 18px;
}
.highlight h3 { font: 700 18px var(--font-body); }
.highlight p { margin-top: 20px; text-align: justify; }

/* O nás */
.trio {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 64px;
}
.trio .photo { aspect-ratio: 350 / 241; }

.team {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 50px 30px;
  margin-top: 100px;
}
.member {
  flex: 0 1 350px;
  min-height: 513px;
  padding: 42px;
  border-radius: 55px;
  background: var(--orange);
}
.member--teal { background: var(--teal); }
.member img { width: 100%; height: auto; aspect-ratio: 1; border-radius: 25px; }
.member__role { margin-top: 16px; }
.member__name {
  margin-top: 10px;
  font: 400 28px/1.2 var(--font-head);
}
.member ul { margin-top: 12px; padding-left: 21px; }

/* Naše služby */
.services { display: grid; gap: 45px; }
.service {
  display: grid;
  grid-template-columns: 159px 1fr;
  gap: 86px;
  min-height: 227px;
  padding: 34px 35px;
  border-radius: 40px;
  background: var(--orange);
}
.service--teal { background: var(--teal); }
.service h3 { font: 400 36px/1.2 var(--font-head); }
.service ul { margin-top: 1.25em; padding-left: 24px; }

.icon {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 25px;
  background: #fff;
}
.icon img,
.icon__crop img {
  position: absolute;
  max-width: none;
}
.icon__crop {
  position: absolute;
  overflow: hidden;
  border-radius: 25px;
}

/* Galerie */
.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 50px 30px;
}
.gallery img {
  width: 100%;
  aspect-ratio: 255 / 300;
  object-fit: cover;
  border-radius: 25px;
}

/* Kontakt */
.contact {
  display: grid;
  grid-template-columns: 410px 1fr;
  gap: 160px;
  padding: 0 0 0 65px;
}
.contact--reverse {
  grid-template-columns: 1fr 410px;
  gap: 30px;
  margin-top: 100px;
  padding: 0 65px;
}
.contact--reverse > .contact__img { order: 2; }
.contact__img { aspect-ratio: 1; }
.contact .h1 { margin-top: 22px; }
.contact__list {
  display: grid;
  gap: 25px;
  margin-top: 34px;
  padding: 0;
  list-style: none;
}
.contact__list li {
  display: flex;
  align-items: center;
  gap: 45px;
}
.contact__list a { text-decoration: none; }
.bubble {
  display: flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--cream);
}

.panel {
  margin-top: 100px;
  padding: 30px 16px 60px;
  border-radius: 25px;
  background: var(--orange);
}
.panel > .h1 { margin-bottom: 30px; }

.hours-wrap { max-width: 665px; margin: 0 auto; overflow-x: auto; }
.hours {
  width: 100%;
  min-width: 520px;
  border-collapse: collapse;
  background: #fff;
  font-size: 14px;
  text-align: center;
}
.hours th, .hours td {
  height: 35px;
  padding: 4px 8px;
  border: 1px solid #000;
  font-weight: 500;
}
.hours th { font-weight: 700; }
.hours thead th { height: 39px; border-top: 0; }
.hours tr > :first-child { border-left: 0; width: 18.75%; }
.hours tr > :last-child { border-right: 0; }
.hours tbody tr:last-child > * { border-bottom: 0; }
.hours__break { background: var(--teal); }
.hours-note { max-width: 658px; margin: 30px auto 0; }

.order {
  display: grid;
  grid-template-columns: 442px 350px;
  justify-content: center;
  gap: 128px;
}
.order__info {
  padding: 30px 42px;
  border-radius: 25px;
  background: #fff;
}
.order__info h3 { font: 400 16px var(--font-head); }
.order__info ol { margin: 20px 0; padding-left: 24px; }
.order__info ol > li + li { margin-top: 1.25em; }
.order__info ul { padding-left: 20px; }
.order__info p + p { margin-top: 1.25em; }

.order__form { display: flex; flex-direction: column; }
.order__form label { margin-bottom: 0; }
.order__form label:not(:first-child) { margin-top: 11px; }
.order__form input,
.order__form textarea {
  width: 100%;
  border: 0;
  border-radius: 34px;
  padding: 0 20px;
  background: #fff;
  font: inherit;
}
.order__form input { height: 44px; }
.order__form textarea { height: 130px; padding-top: 14px; resize: vertical; }
.order__form .btn { align-self: center; height: 39px; margin-top: 19px; }

/* Footer */
.footer { padding: 31px 0 0; background: var(--teal); }
.footer__cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.footer__card {
  min-height: 241px;
  padding: 16px 20px 20px;
  border-radius: 25px;
  background: var(--orange);
}
.footer__card h2 {
  padding: 4px 0 12px;
  border-bottom: 2px solid #000;
  font: 400 24px var(--font-head);
}
.footer__card .footer__brand { padding-left: 16px; }
.footer__card h2 + * { margin-top: 12px; }
.footer__card p + p { margin-top: 10px; }
.footer__card ul { padding-left: 6px; list-style: none; }
.footer__card li + li { margin-top: 10px; }
.footer__card a { text-decoration: none; }
.footer__social { display: flex; gap: 20px; margin-top: 12px; }
.footer__contacts li { display: flex; align-items: center; gap: 11px; }
.footer__copy {
  margin-top: 31px;
  padding: 10px 0;
  border-top: 2px solid var(--grey);
  color: var(--grey);
  text-align: center;
}

/* Tablet */
@media (max-width: 1100px) {
  .split, .split--reverse { grid-template-columns: 1fr 1fr; }
  .contact, .contact--reverse { gap: 40px; padding: 0; }
  .order { grid-template-columns: 1fr 1fr; gap: 40px; }
  .gallery { grid-template-columns: repeat(3, 1fr); }
}

/* Mobile */
@media (max-width: 760px) {
  .brand { margin-left: 0; gap: 16px; font-size: 24px; }
  .brand img { width: 40px; height: 40px; }
  .nav { margin-right: 0; gap: 8px 20px; font-size: 16px; }
  .hero { min-height: 560px; }
  .hero__content { padding-bottom: 0; }

  .page { padding: 50px 0 60px; }
  .split, .split--reverse,
  .contact, .contact--reverse,
  .order { grid-template-columns: 1fr; gap: 24px; }
  .split--reverse > .photo,
  .contact--reverse > .contact__img { order: 0; }
  .split .h1 { margin-top: 0; }
  .contact--reverse { margin-top: 60px; }
  .contact__list li { gap: 20px; }

  .highlights, .trio, .footer__cols { grid-template-columns: 1fr; }
  .highlights, .trio, .team { margin-top: 50px; }
  .gallery { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .gallery img { border-radius: 16px; }

  .service {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 24px 20px;
    border-radius: 30px;
  }
  .service .icon { width: 120px; }
  .service h3 { font-size: 26px; }
  .services { gap: 24px; }

  .text, .highlight p { text-align: left; }
  .hours { min-width: 0; font-size: 12px; }
  .hours th, .hours td { padding: 4px 2px; }
  .hours td { white-space: nowrap; }

  .member { padding: 30px; border-radius: 40px; min-height: 0; }
  .footer__card { min-height: 0; }
  .panel { margin-top: 60px; padding: 24px 16px 40px; }
  .order__info { padding: 24px; }
}
