/* Bačovčin demo — terén / výkopy */
:root {
  --bg: #e4e8e1;
  --panel: #f5f7f2;
  --ink: #171c15;
  --muted: #5a6356;
  --olive: #2a402c;
  --moss: #3f5c3a;
  --amber: #d9920f;
  --amber-deep: #b5750a;
  --line: #c5ccc0;
  --white: #fbfcfa;
  --shadow: 0 18px 40px rgba(23, 28, 21, 0.12);
  --font-display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --font-body: "Source Sans 3", "Segoe UI", sans-serif;
  --wrap: min(1120px, calc(100% - 2.5rem));
  --header-h: 4.25rem;
  --radius: 2px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.55;
  color: var(--ink);
  background:
    radial-gradient(1200px 500px at 10% -10%, rgba(217, 146, 15, 0.08), transparent 55%),
    linear-gradient(180deg, #dfe4da 0%, var(--bg) 28%, #dde3d8 100%);
  min-height: 100vh;
}

img {
  max-width: 100%;
  display: block;
  height: auto;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--moss);
}

:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 3px;
}

.wrap {
  width: var(--wrap);
  margin-inline: auto;
}


.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(10px);
  background: rgba(245, 247, 242, 0.88);
  border-bottom: 1px solid rgba(197, 204, 192, 0.9);
}

.header-inner {
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
}

.logo__img {
  height: 2.6rem;
  width: auto;
  display: block;
}

.logo__mark {
  width: 1.05rem;
  height: 1.05rem;
  background: repeating-linear-gradient(
    -45deg,
    var(--ink) 0 4px,
    var(--amber) 4px 8px
  );
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.25);
}

.logo__text {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.55rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.35rem;
}

.nav a {
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
}

.nav__cta {
  background: var(--ink);
  color: var(--white) !important;
  padding: 0.55rem 1rem;
  border-radius: var(--radius);
}

.nav__cta:hover {
  background: var(--olive);
  color: var(--white) !important;
}

.nav__social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.15rem;
  height: 2.15rem;
  border-radius: 50%;
  color: var(--ink);
  background: transparent;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.nav__social:hover,
.nav__social:focus-visible {
  background: var(--ink);
  color: var(--white);
}

.nav-toggle {
  display: none;
  width: 2.6rem;
  height: 2.6rem;
  border: 1px solid var(--line);
  background: var(--panel);
  padding: 0;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 1.15rem;
  height: 2px;
  margin: 0.28rem auto;
  background: var(--ink);
}

.hero {
  position: relative;
  min-height: min(88vh, 760px);
  display: grid;
  align-items: end;
  color: var(--white);
  overflow: hidden;
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  isolation: isolate;
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  animation: heroDrift 18s ease-in-out infinite alternate;
}

.hero__veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(23, 28, 21, 0.88) 0%, rgba(23, 28, 21, 0.55) 48%, rgba(23, 28, 21, 0.25) 100%),
    linear-gradient(0deg, rgba(23, 28, 21, 0.75) 0%, transparent 45%);
}

.hero .wrap {
  position: relative;
  z-index: 1;
  padding: 5.5rem 0 4.5rem;
}

.hero__content {
  max-width: 40rem;
}

.eyebrow {
  margin: 0 0 0.85rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--amber);
}

.eyebrow--light {
  color: #efc56a;
}

.hero__brand {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.6rem, 7vw, 4.2rem);
  line-height: 1;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  text-shadow: 0 8px 30px rgba(0, 0, 0, 0.35);
}

.hero__lead {
  margin: 1.25rem 0 0;
  max-width: 28rem;
  font-size: clamp(1.05rem, 2.2vw, 1.25rem);
  color: rgba(251, 252, 250, 0.9);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.safety-stripe {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 14px;
  background: repeating-linear-gradient(
    -45deg,
    #111 0 12px,
    var(--amber) 12px 24px
  );
  z-index: 2;
}

.safety-stripe--top {
  position: relative;
  bottom: auto;
  margin-bottom: 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.7rem 1.35rem;
  border: 2px solid transparent;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.98rem;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn--primary {
  background: var(--amber);
  color: var(--ink);
  border-color: var(--amber);
}

.btn--primary:hover {
  background: #e6a31f;
  color: var(--ink);
}

.btn--ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.55);
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
}

.section {
  padding: clamp(3.5rem, 8vw, 6rem) 0;
  scroll-margin-top: calc(var(--header-h) + 1rem);
}

.section--tight {
  padding: 1.75rem 0;
}

.section--olive {
  background: linear-gradient(145deg, var(--olive), #1d2c1f 55%, #243628);
  color: var(--white);
}

.section--contact {
  padding-top: 0;
}

.section--faq {
  background: var(--panel);
}

.faq-grid {
  display: grid;
  gap: 0.85rem;
  max-width: 52rem;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.faq-item summary {
  padding: 1.1rem 1.25rem;
  font-weight: 700;
  font-size: 1.05rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  font-family: var(--font-display);
  font-size: 1.6rem;
  line-height: 1;
  color: var(--amber-deep);
  flex-shrink: 0;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item p {
  margin: 0;
  padding: 0 1.25rem 1.25rem;
  color: var(--muted);
}

.faq-item p a {
  font-weight: 700;
  text-decoration: none;
}

.areas {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}

.areas__copy p {
  color: rgba(251, 252, 250, 0.86);
  max-width: 38rem;
}

.areas__list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.areas__list li {
  position: relative;
  padding-left: 1.15rem;
  font-weight: 600;
  color: rgba(251, 252, 250, 0.92);
}

.areas__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.45rem;
  height: 0.45rem;
  background: var(--amber);
}

.section-head {
  max-width: 38rem;
  margin-bottom: 2.5rem;
}

.section-head h2,
.about__copy h2,
.contact__intro h2 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.4rem, 6vw, 3.6rem);
  line-height: 0.95;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.section-lead {
  margin: 1rem 0 0;
  color: var(--muted);
  max-width: 34rem;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.trust-item {
  display: block;
  background: var(--panel);
  padding: 1.25rem 1.35rem;
  text-decoration: none;
  color: inherit;
  position: relative;
  transition: transform 0.25s ease, background-color 0.25s ease, box-shadow 0.25s ease;
}

.trust-item::after {
  content: "";
  position: absolute;
  left: 1.35rem;
  right: 1.35rem;
  bottom: 0;
  height: 2px;
  background: var(--amber);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.trust-item:hover,
.trust-item:focus-visible {
  transform: translateY(-3px);
  background: var(--panel-strong, var(--panel));
  box-shadow: var(--shadow);
  z-index: 1;
}

.trust-item:hover::after,
.trust-item:focus-visible::after {
  transform: scaleX(1);
}

.trust-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.55rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 0.25rem;
}

.trust-item span {
  color: var(--muted);
  font-size: 0.95rem;
}

.services {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.service {
  background: var(--panel);
  border: 1px solid var(--line);
  padding: 1.5rem 1.35rem 1.6rem;
  box-shadow: var(--shadow);
  scroll-margin-top: calc(var(--header-h) + 2.5rem);
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.service:hover {
  transform: translateY(-4px);
  border-color: #aeb7a7;
}

.service__num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 2rem;
  color: var(--amber-deep);
  letter-spacing: 0.04em;
  line-height: 1;
  margin-bottom: 0.85rem;
}

.service h3 {
  margin: 0 0 0.7rem;
  font-family: var(--font-display);
  font-size: 1.85rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  line-height: 1;
}

.service p {
  margin: 0 0 1rem;
  color: var(--muted);
}

.service ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.service li {
  position: relative;
  padding-left: 1rem;
  margin-bottom: 0.45rem;
  font-size: 0.96rem;
}

.service li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.4rem;
  height: 0.4rem;
  background: var(--amber);
}

.about {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}

.about__copy p {
  color: rgba(251, 252, 250, 0.86);
}

.facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin: 1.75rem 0 0;
}

.facts dt {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #efc56a;
  margin-bottom: 0.25rem;
}

.facts dd {
  margin: 0;
  font-weight: 600;
}

.about__photo {
  margin: 0;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.about__photo img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.gallery {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 1rem;
}

.gallery__item {
  margin: 0;
  position: relative;
  overflow: hidden;
  background: #10140f;
  border: 1px solid var(--line);
  min-height: 280px;
}

.gallery__item img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery__item:hover img {
  transform: scale(1.04);
}

.gallery__item figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1.1rem 1rem;
  background: linear-gradient(transparent, rgba(16, 20, 15, 0.92));
  color: var(--white);
}

.gallery__item strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.gallery__item span {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.78);
}

.gallery__item--wide {
  grid-column: 1 / -1;
  min-height: 340px;
}

.gallery__item--wide img {
  min-height: 340px;
}

.contact {
  padding-top: clamp(3rem, 7vw, 5rem);
}

.contact__intro {
  max-width: 36rem;
  margin-bottom: 2rem;
}

.contact__intro p {
  color: var(--muted);
}

.contact__grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 1rem;
}

.contact-card,
.contact-form {
  background: var(--panel);
  border: 1px solid var(--line);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}

.contact-card h3,
.contact-form h3 {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: 1.7rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.contact-list li {
  display: grid;
  gap: 0.2rem;
  padding: 0.85rem 0;
  border-top: 1px solid var(--line);
}

.contact-list li:first-child {
  border-top: 0;
  padding-top: 0;
}

.contact-list span {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.contact-list a {
  font-weight: 700;
  font-size: 1.15rem;
  text-decoration: none;
}

.form-note {
  margin: -0.4rem 0 1rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.contact-form label {
  display: grid;
  gap: 0.35rem;
  margin-bottom: 0.9rem;
  font-weight: 600;
  font-size: 0.92rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  padding: 0.75rem 0.85rem;
  font: inherit;
  border-radius: var(--radius);
}

.contact-form textarea {
  resize: vertical;
  min-height: 7rem;
}

.hp {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  width: 0;
}

.form-status {
  margin: 0.9rem 0 0;
  font-weight: 600;
  color: var(--moss);
}

.site-footer {
  border-top: 1px solid var(--line);
  background: #d8ddd4;
  padding: 2rem 0 2.4rem;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1.25rem;
}

.site-footer p {
  margin: 0.35rem 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.footer-meta {
  text-align: right;
}

.footer-meta a {
  font-weight: 600;
  text-decoration: none;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

@keyframes heroDrift {
  from { transform: scale(1.04) translate3d(0, 0, 0); }
  to { transform: scale(1.1) translate3d(-1.5%, -1%, 0); }
}

@media (max-width: 900px) {
  .trust-grid,
  .services,
  .about,
  .areas,
  .areas__list,
  .contact__grid,
  .gallery {
    grid-template-columns: 1fr;
  }

  .gallery__item--wide {
    grid-column: auto;
  }

  .footer-meta {
    text-align: left;
  }
}

@media (max-width: 760px) {
  .nav-toggle {
    display: inline-block;
  }

  .nav {
    position: absolute;
    top: calc(100% + 1px);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.75rem 1.25rem 1rem;
    background: rgba(245, 247, 242, 0.98);
    border-bottom: 1px solid var(--line);
  }

  .nav.is-open {
    display: flex;
  }

  .nav a {
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--line);
  }

  .nav__cta {
    margin-top: 0.5rem;
    text-align: center;
    border-bottom: 0;
  }

  .nav a.nav__social {
    align-self: center;
    margin-top: 0.75rem;
    border-bottom: 0;
    padding: 0.5rem;
  }

  .hero .wrap {
    padding-top: 4.5rem;
  }

  .facts {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero__media img { animation: none; }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .btn:hover,
  .service:hover,
  .trust-item:hover,
  .trust-item:focus-visible,
  .gallery__item:hover img {
    transform: none;
  }
}

/* ---- Odkaz na detail služby (karta na hlavnej stránke) ---- */
.service__link {
  display: inline-block;
  margin-top: 1.15rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--amber-deep);
  text-decoration: none;
}

.service__link:hover {
  color: var(--olive);
  text-decoration: underline;
}

/* ---- Podstránky služieb ---- */
.hero--compact {
  min-height: min(58vh, 480px);
}

.hero--compact .wrap {
  padding: 4.5rem 0 3.5rem;
}

.hero--compact .hero__brand {
  font-size: clamp(2.1rem, 5.5vw, 3.2rem);
}

.hero--compact .hero__lead {
  max-width: 40rem;
}

.service-detail {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 20rem;
  gap: 2.5rem;
  align-items: start;
}

.service-detail__block {
  margin-bottom: 1.75rem;
}

.service-detail__block h2 {
  margin: 0 0 0.6rem;
  font-family: var(--font-display);
  font-size: 1.9rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  line-height: 1.05;
}

.service-detail__block p {
  margin: 0;
  color: var(--muted);
}

.service-detail__sidebar {
  display: grid;
  gap: 1.25rem;
  position: sticky;
  top: calc(var(--header-h) + 1rem);
}

.sidebar-card {
  background: var(--panel);
  border: 1px solid var(--line);
  padding: 1.35rem 1.35rem 1.5rem;
  box-shadow: var(--shadow);
}

.sidebar-card h3 {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.sidebar-card p {
  margin: 0 0 0.9rem;
  color: var(--muted);
  font-size: 0.98rem;
}

.sidebar-card .btn {
  width: 100%;
  text-align: center;
}

.sidebar-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.sidebar-list li {
  border-bottom: 1px solid var(--line);
}

.sidebar-list li:last-child {
  border-bottom: 0;
}

.sidebar-list a {
  display: block;
  padding: 0.6rem 0;
  font-weight: 600;
  text-decoration: none;
}

.sidebar-list a:hover {
  color: var(--amber-deep);
}

@media (max-width: 820px) {
  .service-detail {
    grid-template-columns: 1fr;
  }
  .service-detail__sidebar {
    position: static;
  }
}

