/* 12volt.sk – dočasná stránka (maintenance) */

:root {
  --red: #c41f2a;
  --red-strong: #a3161f;
  --red-soft: rgba(196, 31, 42, .08);
  --volt: #f2c200;
  --volt-soft: rgba(242, 194, 0, .16);
  --ink: #0f1114;
  --graphite: #16191d;
  --graphite-2: #1e2228;
  --graphite-3: #2b3038;
  --on-dark: #f3f4f6;
  --on-dark-muted: #aab1bc;
  --text: #15171b;
  --muted: #555c67;
  --line: #e1e4e9;
  --line-strong: #cdd2d9;
  --paper: #f3f4f6;
  --white: #ffffff;

  --font: "Inter", -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: "Inter Display", -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --fs-display: clamp(2.5rem, 5.6vw, 4.6rem);
  --fs-h2: clamp(1.8rem, 3.6vw, 2.8rem);
  --fs-lead: clamp(1.04rem, 1.4vw, 1.2rem);
  --fs-small: .875rem;

  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --section-y: clamp(64px, 8vw, 112px);
  --gap: clamp(16px, 2.2vw, 28px);
  --radius: 20px;
  --radius-sm: 12px;
  --radius-btn: 8px;

  --shadow-1: 0 1px 2px rgba(15, 17, 20, .05), 0 8px 24px rgba(15, 17, 20, .06);
  --shadow-2: 0 2px 4px rgba(15, 17, 20, .06), 0 22px 48px rgba(15, 17, 20, .12);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-display); line-height: 1.08; letter-spacing: -.02em; }
p { margin: 0; }
address { font-style: normal; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.nowrap { white-space: nowrap; }
.show-xs { display: none; }

.ico { width: 1.15em; height: 1.15em; flex: none; fill: currentColor; }

:focus-visible { outline: 3px solid var(--volt); outline-offset: 3px; border-radius: 4px; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6em;
  min-height: 52px;
  padding: .85em 1.4em;
  border: 1px solid transparent;
  border-radius: var(--radius-btn);
  font-weight: 650;
  font-size: 1rem;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn--sm { min-height: 42px; padding: .6em 1.05em; font-size: .94rem; }

.btn--red { background: var(--red); color: var(--white); box-shadow: 0 8px 22px rgba(196, 31, 42, .28); }
.btn--red:hover { background: var(--red-strong); }

.btn--ghost { color: var(--on-dark); border-color: rgba(255, 255, 255, .28); background: rgba(255, 255, 255, .06); backdrop-filter: blur(6px); }
.btn--ghost:hover { border-color: var(--volt); background: rgba(255, 255, 255, .1); }

.btn--dark { background: var(--ink); color: var(--white); }
.btn--dark:hover { background: var(--graphite-3); }

/* ---------- Top bar ---------- */

.topbar {
  position: relative;
  z-index: 2;
  background: var(--white);
  border-top: 4px solid var(--volt);
  box-shadow: 0 1px 0 var(--line);
}
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 76px; }
.topbar__logo img { width: clamp(150px, 20vw, 200px); }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--ink);
  color: var(--on-dark);
}
.hero__media { position: absolute; inset: 0; z-index: -1; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 18% 55%; }
.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(270deg, rgba(15, 17, 20, .95) 0%, rgba(15, 17, 20, .86) 36%, rgba(15, 17, 20, .3) 62%, rgba(15, 17, 20, 0) 80%),
    linear-gradient(0deg, rgba(15, 17, 20, .55) 0%, rgba(15, 17, 20, 0) 30%);
}

.hero__inner {
  display: grid;
  grid-template-columns: 1fr minmax(0, 540px);
  align-items: center;
  min-height: clamp(560px, 80vh, 760px);
  padding-block: clamp(56px, 8vw, 96px);
}
.hero__content { grid-column: 2; }

.status {
  display: inline-flex;
  align-items: center;
  gap: .6em;
  margin-bottom: 22px;
  padding: .45em .95em .45em .8em;
  border: 1px solid rgba(242, 194, 0, .45);
  border-radius: 999px;
  background: var(--volt-soft);
  color: var(--volt);
  font-size: var(--fs-small);
  font-weight: 650;
  letter-spacing: .02em;
}
.status__dot {
  position: relative;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--volt);
}
.status__dot::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--volt);
  animation: pulse 1.8s var(--ease) infinite;
}
@keyframes pulse {
  from { transform: scale(1); opacity: .7; }
  to { transform: scale(3); opacity: 0; }
}

.hero h1 { font-size: var(--fs-display); font-weight: 800; color: var(--white); }
.hero h1 .accent { color: var(--volt); }

.lead { margin-top: 22px; font-size: var(--fs-lead); line-height: 1.6; color: var(--on-dark-muted); max-width: 52ch; }

.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  margin: 30px 0 0;
  padding: 22px 0 0;
  list-style: none;
  border-top: 1px solid rgba(255, 255, 255, .14);
  font-size: var(--fs-small);
  color: var(--on-dark-muted);
}
.hero__meta li { display: flex; align-items: center; gap: 10px; }
.hero__meta li::before { content: ""; width: 6px; height: 6px; border-radius: 1px; background: var(--red); transform: rotate(45deg); }

/* ---------- Sections ---------- */

.section { padding-block: var(--section-y); }
.section--paper { background: var(--paper); }

.section__head { max-width: 720px; margin-bottom: clamp(32px, 4vw, 52px); }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  color: var(--red);
  font-size: var(--fs-small);
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 22px; height: 3px; border-radius: 2px; background: var(--volt); }
.section h2 { font-size: var(--fs-h2); font-weight: 800; }
.section__lead { margin-top: 16px; font-size: var(--fs-lead); color: var(--muted); }

/* ---------- Contact ---------- */

.contact {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: var(--gap);
  align-items: stretch;
}

.cards { display: grid; gap: 14px; }

.card {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 22px 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-1);
  text-decoration: none;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease), transform .2s var(--ease);
}
.card:hover { border-color: var(--line-strong); box-shadow: var(--shadow-2); transform: translateY(-2px); }

.card__icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  background: var(--red-soft);
  color: var(--red);
  font-size: 1.25rem;
}
.card__body { display: grid; gap: 2px; min-width: 0; flex: 1; }
.card__label { font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.card__value { font-size: clamp(1.08rem, 1.8vw, 1.3rem); font-weight: 750; color: var(--text); overflow-wrap: anywhere; }
.card__hint { font-size: var(--fs-small); color: var(--muted); }
.card__arrow { flex: none; font-size: 1.3rem; color: var(--line-strong); transition: color .2s var(--ease), transform .2s var(--ease); }
.card:hover .card__arrow { color: var(--red); transform: translateX(3px); }

.hours {
  position: relative;
  overflow: hidden;
  padding: clamp(24px, 3vw, 36px);
  border-radius: var(--radius);
  background: var(--graphite);
  color: var(--on-dark);
  box-shadow: var(--shadow-2);
}
.hours::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, var(--red) 0 50%, var(--volt) 50% 100%);
}
.hours__head { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; color: var(--volt); font-size: 1.25rem; }
.hours__head h3 { font-size: 1.25rem; font-weight: 750; color: var(--white); letter-spacing: -.01em; }

.hours__table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.hours__table th, .hours__table td { padding: 13px 0; border-bottom: 1px solid var(--graphite-3); }
.hours__table th { text-align: left; font-weight: 500; color: var(--on-dark-muted); }
.hours__table td { text-align: right; font-weight: 650; color: var(--white); white-space: nowrap; }
.hours__table tr:last-child th, .hours__table tr:last-child td { border-bottom: 0; }
.hours__table .is-closed td { color: #ff6b74; }

.hours__note { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--graphite-3); font-size: var(--fs-small); color: var(--on-dark-muted); }

/* ---------- Location ---------- */

.location {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr);
  gap: var(--gap);
  align-items: stretch;
}

.location__map {
  position: relative;
  display: block;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-1);
  background: var(--paper);
}
.location__map img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.location__map:hover img { transform: scale(1.02); }
.location__badge {
  position: absolute;
  right: 16px;
  bottom: 16px;
  padding: .55em 1em;
  border-radius: 999px;
  background: var(--ink);
  color: var(--white);
  font-size: var(--fs-small);
  font-weight: 650;
  box-shadow: var(--shadow-2);
}

.location__info {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: clamp(20px, 2.4vw, 28px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-1);
}
.location__photo { margin: 0; overflow: hidden; border-radius: var(--radius-sm); aspect-ratio: 16 / 10; }
.location__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 20% 60%; }
.location__info address { font-size: 1.08rem; line-height: 1.55; }
.location__hint { font-size: var(--fs-small); color: var(--muted); }
.location__info .btn { margin-top: auto; }

/* ---------- Footer ---------- */

.footer {
  padding-block: clamp(48px, 6vw, 72px) 28px;
  background: var(--ink);
  color: var(--on-dark-muted);
  font-size: .94rem;
  line-height: 1.7;
  border-top: 4px solid var(--red);
}
.footer__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(28px, 4vw, 48px); }
.footer h4 {
  margin-bottom: 14px;
  color: var(--white);
  font-family: var(--font);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.footer p + p { margin-top: 12px; }
.footer strong { color: var(--on-dark); font-weight: 650; }
.footer a { color: var(--on-dark); text-decoration: none; border-bottom: 1px solid var(--graphite-3); transition: border-color .2s var(--ease), color .2s var(--ease); }
.footer a:hover { color: var(--volt); border-color: var(--volt); }
.footer__small { font-size: .84rem; }

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 32px;
  margin-top: clamp(36px, 5vw, 56px);
  padding-top: 22px;
  border-top: 1px solid var(--graphite-3);
  font-size: .8rem;
  color: #7d8591;
}
.footer__bottom p:first-child { max-width: 760px; }

/* ---------- Responsive ---------- */

@media (max-width: 960px) {
  .contact, .location { grid-template-columns: 1fr; }
  .location__map img { height: auto; aspect-ratio: 1180 / 702; }
  .location__info { display: grid; grid-template-columns: 220px 1fr; align-items: start; column-gap: 24px; }
  .location__photo { grid-row: span 3; aspect-ratio: 4 / 3; }
  .location__info .btn { justify-self: start; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__grid > :last-child { grid-column: 1 / -1; }
}

@media (max-width: 860px) {
  .hero__media { position: relative; z-index: 0; aspect-ratio: 16 / 10; }
  .hero__media::after { background: linear-gradient(0deg, var(--ink) 0%, rgba(15, 17, 20, 0) 45%); }
  .hero__inner { grid-template-columns: 1fr; min-height: 0; padding-block: 8px 56px; }
  .hero__content { grid-column: 1; }
}

@media (max-width: 600px) {
  .hide-xs { display: none; }
  .show-xs { display: inline; }
  .topbar__inner { min-height: 66px; }
  .hero__actions .btn { width: 100%; }
  .card { padding: 18px; gap: 14px; }
  .card__icon { width: 44px; height: 44px; }
  .card__arrow { display: none; }
  .location__info { display: flex; }
  .location__photo { aspect-ratio: 16 / 10; }
  .location__info .btn { width: 100%; }
  .location__badge { right: 10px; bottom: 10px; font-size: .78rem; }
  .footer__grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

@media print {
  .hero__media, .btn, .location__badge { display: none; }
  .hero { background: none; color: var(--text); }
  .hero h1, .hero h1 .accent { color: var(--text); }
}
