:root {
  --ink: #141414;
  --muted: #62645f;
  --paper: #f7f5ef;
  --soft: #ece8dc;
  --accent: #8b6f3e;
  --accent-dark: #5d4927;
  --line: #ded8c8;
  --white: #ffffff;
  --shadow: 0 20px 55px rgba(23, 32, 26, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(rgba(247, 245, 239, 0.78), rgba(247, 245, 239, 0.78)),
    url("assets/benzlab-background.png") center / cover fixed;
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
}

body::selection {
  color: var(--white);
  background: var(--accent-dark);
}

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

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 5vw, 64px);
  background: rgba(251, 250, 246, 0.9);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 1 260px;
}

.brand img {
  width: min(230px, 52vw);
  height: auto;
  object-fit: contain;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: clamp(14px, 3vw, 28px);
  color: var(--muted);
  font-size: 0.95rem;
}

.nav a:hover {
  color: var(--accent-dark);
}

.language-switch {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 900;
}

.language-switch a {
  padding: 5px 7px;
  border: 1px solid rgba(31, 36, 40, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.66);
}

.language-switch a[aria-current="page"] {
  color: var(--white);
  border-color: var(--accent-dark);
  background: var(--accent-dark);
}

.language-switch .admin-entry {
  display: block;
  width: 28px;
  min-height: 28px;
  padding: 0;
  color: transparent;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
  outline: 0;
}

.language-switch .admin-entry:hover {
  color: transparent;
  border: 0;
  background: none;
  box-shadow: none;
}

.hero {
  min-height: 76vh;
  display: grid;
  align-items: end;
  padding: 120px clamp(18px, 5vw, 64px) 56px;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(10, 10, 10, 0.9), rgba(10, 10, 10, 0.54), rgba(10, 10, 10, 0.18)),
    url("assets/benzlab-hero.png")
      center / cover;
}

.order-hero {
  min-height: 46vh;
  display: grid;
  align-items: end;
  padding: 110px clamp(18px, 5vw, 64px) 54px;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(10, 10, 10, 0.88), rgba(10, 10, 10, 0.44)),
    url("assets/benzlab-hero.png") center / cover;
}

.hero-content {
  max-width: 760px;
  animation: rise-in 700ms ease both;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #d7b96c;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.12;
}

h1 {
  max-width: 760px;
  font-size: clamp(2.45rem, 7vw, 5.6rem);
}

h2 {
  font-size: clamp(1.8rem, 4vw, 3.1rem);
}

h3 {
  font-size: 1.2rem;
}

.lead {
  max-width: 620px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1rem, 2vw, 1.2rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button,
button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.button.primary,
button {
  color: var(--white);
  background: var(--accent);
}

.button.primary:hover,
button:hover {
  background: var(--accent-dark);
}

.button.secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.12);
}

.section {
  padding: 84px clamp(18px, 5vw, 64px);
}

.intro,
.contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 520px);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
}

.intro {
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}

.intro > p,
.contact p {
  margin: 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.intro > p {
  margin-top: 42px;
}

.specialization-list {
  grid-column: 1 / -1;
  padding: 26px;
  border: 1px solid rgba(47, 125, 104, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
}

.specialization-list h3 {
  margin-bottom: 16px;
}

.specialization-list ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.specialization-list li {
  position: relative;
  padding-left: 18px;
  color: var(--muted);
}

.specialization-list li::before {
  position: absolute;
  top: 0.62em;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  content: "";
}

.contact-details {
  display: grid;
  gap: 10px;
  margin-top: 26px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.contact-details p {
  font-size: 1rem;
}

.contact-details strong {
  color: var(--ink);
}

.contact-details a {
  color: var(--accent-dark);
  font-weight: 800;
}

.highlights {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  background:
    linear-gradient(90deg, rgba(20, 20, 20, 0.94), rgba(35, 39, 38, 0.94)),
    repeating-linear-gradient(90deg, transparent 0 28px, rgba(255, 255, 255, 0.05) 28px 29px);
  color: var(--white);
}

.highlights div {
  min-height: 142px;
  padding: 30px clamp(18px, 5vw, 64px);
  border-right: 1px solid rgba(255, 255, 255, 0.12);
}

.highlights strong {
  display: block;
  margin-bottom: 8px;
  color: #d7b96c;
  font-size: clamp(1.4rem, 3vw, 2.15rem);
  line-height: 1;
}

.highlights span {
  color: rgba(255, 255, 255, 0.72);
}

.injection-note {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(280px, 1.2fr);
  gap: clamp(28px, 5vw, 72px);
  background:
    linear-gradient(rgba(247, 245, 239, 0.9), rgba(247, 245, 239, 0.92)),
    url("assets/benzlab-background.png") center / cover fixed;
  border-bottom: 1px solid var(--line);
}

.injection-note p {
  color: var(--muted);
}

.injection-note div:last-child {
  display: grid;
  gap: 14px;
}

.injection-note div:last-child p {
  margin: 0;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow);
}

.section-heading {
  max-width: 720px;
  margin-bottom: 30px;
}

.services {
  background:
    linear-gradient(rgba(236, 232, 220, 0.76), rgba(236, 232, 220, 0.78)),
    url("assets/benzlab-background.png") center / cover fixed;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}

.card {
  min-height: 210px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(139, 111, 62, 0.36);
  box-shadow: 0 26px 70px rgba(23, 32, 26, 0.17);
}

.card span {
  display: inline-block;
  margin-bottom: 52px;
  color: var(--accent);
  font-weight: 800;
}

.card p {
  margin: 14px 0 0;
  color: var(--muted);
}

.work {
  background:
    linear-gradient(90deg, rgba(20, 20, 20, 0.76), rgba(20, 20, 20, 0.48)),
    url("assets/benzlab-background.png") center / cover fixed;
  color: var(--white);
}

.work .eyebrow {
  color: #d7b96c;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.process-grid article {
  min-height: 260px;
  padding: 28px;
  border-radius: 8px;
  background: var(--ink);
  color: var(--white);
}

.process-grid strong {
  display: inline-grid;
  width: 40px;
  height: 40px;
  margin-bottom: 56px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  color: #d7b96c;
}

.process-grid p {
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.72);
}

.service-extra {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 18px;
}

.service-extra article {
  padding: 26px;
  border: 1px solid rgba(47, 125, 104, 0.2);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: var(--shadow);
}

.service-extra h3 {
  color: var(--ink);
}

.service-extra p {
  margin: 12px 0 0;
  color: var(--muted);
}

.contact {
  background:
    linear-gradient(rgba(255, 255, 255, 0.84), rgba(255, 255, 255, 0.88)),
    url("assets/benzlab-background.png") center / cover fixed;
  border-top: 1px solid var(--line);
  backdrop-filter: blur(10px);
}

.order {
  background:
    linear-gradient(rgba(247, 245, 239, 0.84), rgba(247, 245, 239, 0.88)),
    url("assets/benzlab-background.png") center / cover fixed;
}

.order .section-heading p:not(.eyebrow) {
  max-width: 680px;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.contact-form {
  display: grid;
  gap: 14px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.order-form {
  max-width: 980px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
}

.checkbox-field {
  display: flex;
  align-items: center;
  gap: 10px;
}

.choice-group {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.58);
}

.choice-group legend {
  padding: 0 6px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 800;
}

.compact-choice {
  grid-template-columns: repeat(2, max-content);
  align-items: center;
  gap: 12px 24px;
}

.compact-choice legend {
  grid-column: 1 / -1;
}

.other-part-field {
  margin-top: 4px;
}

.other-part-field.is-hidden {
  display: none;
}

.checkbox-field input {
  width: 18px;
  height: 18px;
  accent-color: var(--accent);
}

input,
textarea,
select {
  width: 100%;
  padding: 12px 13px;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  font: inherit;
}

input:focus,
textarea:focus,
select:focus {
  outline: 3px solid rgba(47, 125, 104, 0.18);
  border-color: var(--accent);
}

.checkbox-field input {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-message {
  min-height: 1.4em;
  color: #9b2f25;
  font-size: 0.92rem;
  font-weight: 700;
}

.form-message.success {
  color: var(--accent-dark);
}

.form-note {
  font-size: 0.86rem;
}

.status-check {
  display: grid;
  gap: 22px;
}

.status-check-form {
  max-width: 620px;
}

.status-result {
  max-width: 720px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow);
}

.status-result h3 {
  margin: 8px 0 20px;
  font-size: clamp(1.8rem, 5vw, 3rem);
}

.status-result dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 0;
}

.status-result div {
  padding: 16px;
  border: 1px solid rgba(31, 36, 40, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
}

.status-result dt {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.status-result dd {
  margin: 6px 0 0;
  color: var(--ink);
  font-size: 1.3rem;
  font-weight: 900;
}

.status-result.status-prijato {
  background: rgba(65, 168, 95, 0.16);
}

.status-result.status-vyrizuje_se {
  background: rgba(0, 168, 232, 0.15);
}

.status-result.status-odeslano {
  background: rgba(210, 213, 214, 0.52);
}

.status-result.status-missing {
  background: rgba(186, 37, 37, 0.09);
}

.cta-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 54px clamp(18px, 5vw, 64px);
  background:
    linear-gradient(90deg, rgba(20, 20, 20, 0.72), rgba(20, 20, 20, 0.32)),
    url("assets/benzlab-background.png") center / cover fixed;
  color: var(--white);
  border-top: 1px solid var(--line);
}

.cta-strip h2 {
  font-size: clamp(1.7rem, 3vw, 2.5rem);
}

.cta-strip .eyebrow {
  color: #d7b96c;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 24px clamp(18px, 5vw, 64px);
  color: var(--muted);
  background: var(--ink);
}

.footer a {
  color: var(--white);
}

.result-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
  background:
    linear-gradient(90deg, rgba(20, 20, 20, 0.82), rgba(20, 20, 20, 0.42)),
    url("assets/benzlab-background.png") center / cover fixed;
}

.result-box {
  width: min(100%, 620px);
  padding: clamp(28px, 6vw, 54px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  color: var(--white);
  background: rgba(20, 20, 20, 0.82);
  box-shadow: var(--shadow);
}

.result-box img {
  width: min(260px, 72vw);
  margin-bottom: 28px;
}

.result-box p {
  margin: 18px 0 28px;
  color: rgba(255, 255, 255, 0.78);
}

.order-result {
  width: min(100%, 760px);
}

.order-result h1 {
  margin-top: 8px;
  max-width: 620px;
}

.order-number {
  display: grid;
  gap: 8px;
  margin: 28px 0;
  padding: 22px;
  border: 1px solid rgba(0, 168, 232, 0.44);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(0, 168, 232, 0.18), rgba(255, 255, 255, 0.06));
}

.order-number span {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.order-number strong {
  color: var(--white);
  font-size: clamp(2rem, 7vw, 4rem);
  line-height: 0.95;
}

.result-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.orders-page {
  min-height: 100vh;
  background:
    linear-gradient(rgba(247, 245, 239, 0.9), rgba(247, 245, 239, 0.9)),
    url("assets/benzlab-background.png") center / cover fixed;
}

.orders-wrap {
  width: min(100%, 1400px);
  margin: 0 auto;
  padding: clamp(22px, 5vw, 56px);
}

.orders-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
}

.orders-header h1 {
  font-size: clamp(2rem, 5vw, 4rem);
}

.orders-header strong {
  padding: 8px 12px;
  border-radius: 8px;
  color: var(--white);
  background: var(--accent-dark);
}

.orders-header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logout-button {
  color: var(--ink);
  border-color: rgba(31, 36, 40, 0.2);
}

.login-page {
  display: grid;
  place-items: center;
}

.login-wrap {
  width: min(100%, 460px);
  padding: 24px;
}

.login-form img {
  width: min(260px, 74vw);
  margin-bottom: 10px;
}

.admin-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 22px;
}

.admin-stats article {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow);
}

.admin-stats span {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.admin-stats strong {
  display: block;
  margin-top: 12px;
  color: var(--ink);
  font-size: 2rem;
  line-height: 1;
}

.admin-tools {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  margin: 0 0 22px;
}

.admin-tools form {
  margin: 0;
}

.danger-button {
  color: #8f1f1f;
  border-color: rgba(186, 37, 37, 0.3);
  background: rgba(186, 37, 37, 0.08);
}

.danger-button:hover {
  color: var(--white);
  border-color: #ba2525;
  background: #ba2525;
}

.visitors-panel {
  margin-bottom: 28px;
}

.visitors-panel h2 {
  margin-bottom: 14px;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
}

.visitors-panel > p {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
}

.visitors-table {
  min-width: 860px;
}

.orders-empty {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
}

.orders-empty p {
  margin: 12px 0 0;
  color: var(--muted);
}

.orders-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow);
}

.orders-table {
  width: 100%;
  min-width: 1280px;
  border-collapse: collapse;
  font-size: 0.92rem;
}

.orders-table th,
.orders-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.orders-table th {
  color: var(--ink);
  background: var(--soft);
  font-size: 0.78rem;
  text-transform: uppercase;
}

.orders-table small {
  color: var(--muted);
}

.orders-table tbody tr.status-prijato {
  background: rgba(65, 168, 95, 0.14);
}

.orders-table tbody tr.status-vyrizuje_se {
  background: rgba(0, 168, 232, 0.13);
}

.orders-table tbody tr.status-odeslano {
  color: rgba(31, 36, 40, 0.48);
  background: rgba(210, 213, 214, 0.42);
}

.orders-table tbody tr.status-odeslano small,
.orders-table tbody tr.status-odeslano strong {
  color: rgba(31, 36, 40, 0.46);
}

.order-actions {
  white-space: nowrap;
  width: 300px;
}

.status-form,
.delete-form {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.delete-form {
  margin-left: 8px;
  vertical-align: middle;
}

.status-form select {
  min-height: 38px;
  padding: 8px 10px;
  border-color: rgba(31, 36, 40, 0.18);
  background: var(--white);
}

.small-button {
  min-height: 38px;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 0.82rem;
}

.trash-button {
  position: relative;
  width: 38px;
  height: 38px;
  min-height: 38px;
  padding: 0;
  border: 1px solid rgba(186, 37, 37, 0.34);
  border-radius: 8px;
  background: rgba(186, 37, 37, 0.1);
  box-shadow: none;
}

.trash-button:hover {
  background: #ba2525;
}

.trash-button span,
.trash-button span::before,
.trash-button span::after {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: block;
  content: "";
}

.trash-button span {
  top: 13px;
  width: 15px;
  height: 16px;
  border: 2px solid #ba2525;
  border-top: 0;
  border-radius: 0 0 3px 3px;
}

.trash-button span::before {
  top: -6px;
  width: 19px;
  height: 2px;
  border-radius: 2px;
  background: #ba2525;
}

.trash-button span::after {
  top: -9px;
  width: 9px;
  height: 3px;
  border-radius: 2px 2px 0 0;
  background: #ba2525;
}

.trash-button:hover span {
  border-color: var(--white);
}

.trash-button:hover span::before,
.trash-button:hover span::after {
  background: var(--white);
}

.orders-table tr:last-child td {
  border-bottom: 0;
}

@media (max-width: 840px) {
  .intro,
  .contact,
  .injection-note,
  .process-grid,
  .service-extra {
    grid-template-columns: 1fr;
  }

  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .specialization-list ul {
    grid-template-columns: 1fr;
  }

  .status-result dl {
    grid-template-columns: 1fr;
  }

  .admin-stats {
    grid-template-columns: 1fr;
  }

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

  .highlights div {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .cta-strip {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 620px) {
  .site-header,
  .footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav {
    width: 100%;
    justify-content: space-between;
  }

  .hero {
    min-height: 72vh;
    padding-top: 92px;
  }

  .section {
    padding-top: 58px;
    padding-bottom: 58px;
  }

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

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}
