/* =========================================================
   Autodoprava Bína — minimal modern
   ========================================================= */

:root {
  --bg:            #0b0d10;
  --bg-elevated:   #11141a;
  --border:        rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.16);

  --text:          #f5f6f7;
  --text-muted:    #9aa1ab;
  --text-dim:      #6b7280;

  --accent:        #d4a155;
  --accent-hover:  #e6b76a;

  --max-w: 1100px;
  --ease:  cubic-bezier(0.2, 0.8, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, sans-serif;
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; }
h1 { font-weight: 600; letter-spacing: -0.04em; line-height: 0.95; }

::selection { background: var(--accent); color: #1a0f00; }


/* Layout --------------------------------------------------- */

.site-wrap {
  width: min(100%, var(--max-w));
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 2.5rem);
}


/* Header --------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(11, 13, 16, 0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding-block: 1.25rem;
}

.brand {
  font-weight: 400;
  font-size: 1rem;
  letter-spacing: -0.01em;
}
.brand strong {
  font-weight: 600;
  color: var(--accent);
}

.nav {
  display: flex;
  gap: 2rem;
}
.nav__link {
  font-size: 0.9rem;
  color: var(--text-muted);
  transition: color 150ms var(--ease);
}
.nav__link:hover { color: var(--text); }


/* Hero ----------------------------------------------------- */

.hero {
  position: relative;
  min-height: min(92vh, 880px);
  display: flex;
  align-items: flex-end;
  padding-block: clamp(6rem, 14vw, 10rem) clamp(4rem, 8vw, 6rem);
  overflow: hidden;
}
.hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  filter: saturate(0.85) contrast(1.05) brightness(0.85);
}
.hero__scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(11,13,16,0.45) 0%, rgba(11,13,16,0.15) 30%, rgba(11,13,16,0.85) 80%, var(--bg) 100%),
    linear-gradient(90deg, rgba(11,13,16,0.75) 0%, rgba(11,13,16,0.25) 55%, rgba(11,13,16,0) 100%);
}

.hero__content {
  position: relative;
  z-index: 1;
  width: min(100%, var(--max-w));
  margin-inline: auto;
}
.hero__title {
  font-size: clamp(3rem, 11vw, 8rem);
  margin-bottom: 2.5rem;
}
.hero__title-accent {
  color: var(--accent);
  font-style: normal;
  font-weight: 400;
}
.hero__phone {
  display: inline-block;
  font-size: clamp(1.1rem, 1.5vw, 1.35rem);
  font-weight: 500;
  padding: 0.9rem 1.75rem;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  transition: border-color 200ms var(--ease),
              color 200ms var(--ease),
              transform 200ms var(--ease);
}
.hero__phone:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}


/* Services ------------------------------------------------- */

.services {
  border-top: 1px solid var(--border);
  padding-block: clamp(4rem, 10vw, 8rem);
}
.services__list {
  display: flex;
  flex-direction: column;
}
.services__list li {
  display: flex;
  align-items: baseline;
  gap: clamp(1rem, 4vw, 3rem);
  padding-block: clamp(1.25rem, 3vw, 2.25rem);
  border-bottom: 1px solid var(--border);
  transition: padding-left 350ms var(--ease);
  cursor: default;
}
.services__list li:first-child { border-top: 1px solid var(--border); }
.services__list li:hover {
  padding-left: 1.25rem;
}
.services__list li:hover .services__name {
  color: var(--accent);
}
.services__num {
  font-size: 0.75rem;
  color: var(--text-dim);
  font-weight: 500;
  letter-spacing: 0.1em;
  font-variant-numeric: tabular-nums;
  flex-shrink: 0;
}
.services__name {
  font-size: clamp(1.4rem, 3.5vw, 2.5rem);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.1;
  transition: color 250ms var(--ease);
}


/* Contact -------------------------------------------------- */

.contact {
  border-top: 1px solid var(--border);
  padding-block: clamp(4rem, 10vw, 8rem);
}
.contact__inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2.5rem;
}
.contact__col {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.contact__label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-dim);
}
.contact__value {
  font-size: 1.05rem;
  color: var(--text);
  line-height: 1.5;
}
a.contact__value {
  transition: color 150ms var(--ease);
}
a.contact__value:hover { color: var(--accent); }

@media (max-width: 820px) {
  .contact__inner { grid-template-columns: repeat(2, 1fr); gap: 2rem; }
}
@media (max-width: 480px) {
  .contact__inner { grid-template-columns: 1fr; gap: 1.75rem; }
}


/* Footer --------------------------------------------------- */

.site-footer {
  border-top: 1px solid var(--border);
  padding-block: 1.75rem;
}
.site-footer__inner {
  font-size: 0.8rem;
  color: var(--text-dim);
  text-align: center;
}


/* Reveal --------------------------------------------------- */

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 700ms var(--ease), transform 700ms var(--ease);
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}
