/* ==========================================================================
   gunuxoo.com — Půjčovna vozů pro mezinárodní cesty
   Gotický styl / černá a bílá
   Systém tříd: písmeno + číslice
   ========================================================================== */

/* --- reset --- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --x0: #050505;
  --x1: #0d0d0d;
  --x2: #141414;
  --x3: #1e1e1e;
  --x4: #2a2a2a;
  --x5: #6a6a6a;
  --x6: #cfcfcf;
  --x7: #f4f4f2;
  --x8: #ffffff;
  --z1: 1px solid var(--x4);
  --z2: 1px solid var(--x8);
}

html {
  scroll-behavior: smooth;
  background: var(--x0);
}

body {
  font-family: Georgia, "Times New Roman", "Nimbus Roman", serif;
  background: var(--x0);
  color: var(--x6);
  line-height: 1.7;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

body.locked {
  overflow: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--x7);
  text-decoration: none;
  transition: color 0.25s ease, letter-spacing 0.25s ease;
}

a:hover {
  color: var(--x8);
}

h1,
h2,
h3,
h4 {
  font-family: "Palatino Linotype", "Book Antiqua", Palatino, Georgia, serif;
  color: var(--x7);
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.25;
  text-transform: uppercase;
}

p {
  margin-bottom: 1.1rem;
}

::selection {
  background: var(--x8);
  color: var(--x0);
}

/* --- layout helpers --- */
.w0 {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

/* --- header / navigation --- */
.a1 {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(5, 5, 5, 0.92);
  border-bottom: var(--z1);
  backdrop-filter: blur(4px);
}

.a2 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 84px;
}

.a3 {
  display: flex;
  align-items: center;
  gap: 14px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-family: "Palatino Linotype", "Book Antiqua", Palatino, serif;
  font-size: 1.05rem;
  color: var(--x8);
}

.a4 {
  width: 40px;
  height: 40px;
  object-fit: contain;
  border: var(--z2);
  padding: 4px;
}

.a5 {
  display: flex;
}

.a6 {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 6px;
}

.a7 {
  position: relative;
}

.a8 {
  display: block;
  padding: 10px 16px;
  font-size: 0.82rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--x6);
  border: 1px solid transparent;
}

.a8:hover,
.a8[aria-current="page"] {
  color: var(--x8);
  border: var(--z1);
}

.a9 {
  display: none;
  width: 46px;
  height: 46px;
  background: transparent;
  border: var(--z1);
  cursor: pointer;
  position: relative;
}

.a9 span,
.a9 span::before,
.a9 span::after {
  content: "";
  position: absolute;
  left: 50%;
  width: 22px;
  height: 1px;
  background: var(--x7);
  transform: translateX(-50%);
}

.a9 span {
  top: 50%;
}
.a9 span::before {
  top: -7px;
}
.a9 span::after {
  top: 7px;
}

/* --- hero --- */
.b1 {
  position: relative;
  border-bottom: var(--z1);
  overflow: hidden;
}

.b2 {
  position: relative;
  z-index: 2;
  padding: 120px 0 110px;
  max-width: 760px;
}

.b3 {
  font-size: clamp(2.2rem, 6vw, 4rem);
  margin-bottom: 22px;
  text-wrap: balance;
}

.b4 {
  font-size: 1.15rem;
  color: var(--x6);
  max-width: 620px;
  font-style: italic;
}

.b5 {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.22;
  filter: grayscale(1) contrast(1.1);
}

/* --- generic section --- */
.c1 {
  padding: 84px 0;
  border-bottom: var(--z1);
}

.c1:nth-of-type(even) {
  background: var(--x1);
}

.c3 {
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 18px;
}

.c3::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 64px;
  height: 2px;
  background: var(--x8);
}

.c4 {
  max-width: 780px;
  color: var(--x6);
}

/* --- grid + cards --- */
.d1 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 44px;
}

.d2 {
  border: var(--z1);
  background: var(--x2);
  padding: 30px 26px;
  transition: border-color 0.3s ease, transform 0.3s ease;
}

.d2:hover {
  border-color: var(--x8);
  transform: translateY(-4px);
}

.d3 {
  font-size: 1.05rem;
  margin-bottom: 14px;
  color: var(--x8);
}

.d4 {
  font-size: 0.96rem;
  color: var(--x5);
}

/* --- page hero (inner pages) --- */
.i1 {
  padding: 90px 0 60px;
  border-bottom: var(--z1);
  background: var(--x1);
}

.i2 {
  font-size: clamp(1.9rem, 5vw, 3.1rem);
  margin-bottom: 16px;
}

.i3 {
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--x5);
}

.i3 a {
  color: var(--x6);
}

/* --- legal / long content --- */
.j1 {
  padding: 70px 0;
}

.j1 h2 {
  font-size: 1.3rem;
  margin: 40px 0 14px;
}

.j1 h3 {
  font-size: 1.02rem;
  margin: 26px 0 10px;
  color: var(--x6);
  text-transform: none;
  letter-spacing: 0.02em;
}

.j1 p,
.j1 li {
  color: var(--x6);
  font-size: 1rem;
}

.j1 ul,
.j1 ol {
  margin: 0 0 1.1rem 1.4rem;
}

.j1 li {
  margin-bottom: 8px;
}

.j2 {
  color: var(--x5);
  font-style: italic;
  font-size: 0.9rem;
  margin-bottom: 30px;
}

/* --- contact info --- */
.k0 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 46px;
  align-items: start;
}

.k1 {
  border: var(--z1);
  padding: 30px;
  background: var(--x2);
}

.k2 {
  list-style: none;
}

.k2 li {
  padding: 14px 0;
  border-bottom: var(--z1);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.k2 li:last-child {
  border-bottom: none;
}

.k3 {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--x5);
}

.k4 {
  color: var(--x7);
  font-size: 1.05rem;
}

/* --- form --- */
.h1 {
  border: var(--z1);
  padding: 34px;
  background: var(--x2);
}

.h2 {
  margin-bottom: 22px;
}

.h3 {
  display: block;
  font-size: 0.74rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--x6);
  margin-bottom: 8px;
}

.h4,
.h5 {
  width: 100%;
  background: var(--x0);
  border: var(--z1);
  color: var(--x7);
  padding: 13px 15px;
  font-family: inherit;
  font-size: 1rem;
}

.h4:focus,
.h5:focus {
  outline: none;
  border-color: var(--x8);
}

.h5 {
  resize: vertical;
  min-height: 140px;
}

.h6 {
  background: var(--x8);
  color: var(--x0);
  border: var(--z2);
  padding: 14px 34px;
  font-family: "Palatino Linotype", "Book Antiqua", Palatino, serif;
  font-size: 0.82rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease;
}

.h6:hover {
  background: var(--x0);
  color: var(--x8);
}

.h6:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.h7 {
  display: none;
  color: var(--x7);
  font-size: 0.82rem;
  font-style: italic;
  margin-top: 7px;
}

.h4.invalid,
.h5.invalid {
  border-color: var(--x8);
  background: #1a1010;
}

.h4.invalid + .h7,
.h5.invalid + .h7 {
  display: block;
}

/* --- footer --- */
.e1 {
  margin-top: auto;
  background: var(--x0);
  border-top: var(--z2);
  padding: 60px 0 30px;
}

.e2 {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
}

.e3 h4 {
  font-size: 0.82rem;
  letter-spacing: 0.18em;
  margin-bottom: 18px;
  color: var(--x8);
}

.e3 p {
  color: var(--x5);
  font-size: 0.94rem;
}

.e4 {
  list-style: none;
}

.e4 li {
  margin-bottom: 10px;
}

.e4 a {
  color: var(--x6);
  font-size: 0.94rem;
}

.e5 {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.e5 img {
  width: 34px;
  height: 34px;
  border: var(--z1);
  padding: 3px;
}

.e6 {
  margin-top: 46px;
  padding-top: 24px;
  border-top: var(--z1);
  text-align: center;
  color: var(--x5);
  font-size: 0.82rem;
  letter-spacing: 0.05em;
}

/* --- cookie banner --- */
.f1 {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.82);
  padding: 20px;
}

.f1.open {
  display: flex;
}

.f2 {
  max-width: 520px;
  width: 100%;
  background: var(--x1);
  border: var(--z2);
  padding: 34px;
}

.f2 h3 {
  font-size: 1.1rem;
  margin-bottom: 14px;
}

.f3 {
  color: var(--x6);
  font-size: 0.94rem;
  margin-bottom: 24px;
}

.f3 a {
  text-decoration: underline;
}

.f4 {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.f5,
.f6 {
  flex: 1;
  min-width: 140px;
  padding: 13px 22px;
  font-family: "Palatino Linotype", "Book Antiqua", Palatino, serif;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: pointer;
  border: var(--z2);
  transition: background 0.25s ease, color 0.25s ease;
}

.f5 {
  background: var(--x8);
  color: var(--x0);
}

.f5:hover {
  background: var(--x0);
  color: var(--x8);
}

.f6 {
  background: transparent;
  color: var(--x7);
}

.f6:hover {
  background: var(--x8);
  color: var(--x0);
}

/* --- toast --- */
.g1 {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 80;
  background: var(--x8);
  color: var(--x0);
  border: var(--z2);
  padding: 16px 24px;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  max-width: 340px;
  transform: translateY(140%);
  opacity: 0;
  transition: transform 0.4s ease, opacity 0.4s ease;
}

.g1.show {
  transform: translateY(0);
  opacity: 1;
}

/* --- responsive --- */
@media (max-width: 860px) {
  .a9 {
    display: block;
  }

  .a5 {
    position: absolute;
    top: 84px;
    left: 0;
    right: 0;
    background: var(--x1);
    border-bottom: var(--z1);
    display: none;
  }

  .a5.open {
    display: block;
  }

  .a6 {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px 24px 20px;
  }

  .a8 {
    border-bottom: var(--z1);
  }

  .d1 {
    grid-template-columns: 1fr;
  }

  .k0 {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .e2 {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}
