/* Uneven Half s.r.o. — site styles */

:root {
  --bg: #f7f6f3;
  --surface: #ffffff;
  --text: #1a1f33;
  --muted: #5b6275;
  --line: #e4e2dc;
  --navy: #1f2a4d;
  --accent: #ff6b4a;
  --accent-ink: #c8462a;
  --radius: 18px;
  --max: 1080px;
  --shadow: 0 1px 2px rgba(20, 24, 40, .04), 0 8px 24px rgba(20, 24, 40, .06);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #10131d;
    --surface: #181c29;
    --text: #eef0f6;
    --muted: #a3a9ba;
    --line: #272c3c;
    --navy: #8fa3e0;
    --accent: #ff7d5f;
    --accent-ink: #ff9a82;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 24px rgba(0, 0, 0, .25);
  }
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent-ink); text-decoration: none; }
a:hover { text-decoration: underline; }

/* language switching: <span lang="sk"> / <span lang="en"> */
html[data-lang="sk"] [lang="en"]:not(html),
html[data-lang="en"] [lang="sk"]:not(html) { display: none !important; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* header */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: color-mix(in srgb, var(--bg) 85%, transparent);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; gap: 24px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); font-weight: 700; letter-spacing: -.01em; }
.brand:hover { text-decoration: none; }
.brand img { width: 30px; height: 30px; }
.nav { display: flex; gap: 22px; margin-left: auto; }
.nav a { color: var(--muted); font-size: 15px; font-weight: 500; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--text); text-decoration: none; }

.lang-toggle {
  display: inline-flex; border: 1px solid var(--line); border-radius: 999px; padding: 2px;
  background: var(--surface);
}
.lang-toggle button {
  border: 0; background: transparent; color: var(--muted); font: 600 13px/1 inherit;
  padding: 6px 10px; border-radius: 999px; cursor: pointer;
}
.lang-toggle button[aria-pressed="true"] { background: var(--navy); color: var(--bg); }

/* hero */
.hero { padding: 96px 0 72px; }
.eyebrow {
  display: inline-block; font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: var(--accent-ink); margin-bottom: 18px;
}
.hero h1 {
  font-size: clamp(38px, 6vw, 64px); line-height: 1.05; letter-spacing: -.03em; margin: 0 0 22px; max-width: 14ch;
}
.hero h1 em { font-style: normal; color: var(--accent); }
.hero p.lead { font-size: 20px; color: var(--muted); max-width: 46ch; margin: 0 0 34px; }

.btn {
  display: inline-flex; align-items: center; gap: 8px; padding: 13px 22px; border-radius: 999px;
  font-weight: 600; font-size: 16px; border: 1px solid transparent; cursor: pointer;
}
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--navy); color: var(--bg); }
.btn-primary:hover { filter: brightness(1.1); }
.btn-ghost { border-color: var(--line); color: var(--text); background: var(--surface); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* sections */
section { padding: 72px 0; scroll-margin-top: 64px; }
section + section { border-top: 1px solid var(--line); }
.section-head { margin-bottom: 36px; }
.section-head h2 { font-size: clamp(28px, 4vw, 38px); letter-spacing: -.02em; line-height: 1.15; margin: 0 0 10px; }
.section-head p { color: var(--muted); margin: 0; max-width: 60ch; }

.grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; box-shadow: var(--shadow);
}
.card .icon {
  width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 16px;
  background: color-mix(in srgb, var(--accent) 14%, transparent); color: var(--accent-ink);
}
.card .icon svg { width: 22px; height: 22px; }
.card h3 { font-size: 18px; margin: 0 0 6px; letter-spacing: -.01em; }
.card p { margin: 0; color: var(--muted); font-size: 15.5px; }

/* company details */
.details { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.facts { margin: 0; display: grid; grid-template-columns: max-content 1fr; gap: 10px 24px; }
.facts dt { color: var(--muted); font-size: 15px; }
.facts dd { margin: 0; font-weight: 500; }

/* contact */
.contact-card { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.contact-card .mail { display: block; font-size: clamp(20px, 3vw, 26px); font-weight: 700; letter-spacing: -.01em; color: var(--text); }
.copy-note { font-size: 14px; color: var(--muted); min-height: 1.4em; }

/* legal / long text pages */
.page { padding: 64px 0 80px; }
.page .wrap { max-width: 780px; }
.page h1 { font-size: clamp(32px, 5vw, 46px); letter-spacing: -.02em; line-height: 1.1; margin: 0 0 8px; }
.page .updated { color: var(--muted); margin: 0 0 40px; font-size: 15px; }
.page h2 { font-size: 22px; margin: 40px 0 10px; letter-spacing: -.01em; }
.page p, .page li { color: var(--text); }
.page ul { padding-left: 22px; }
.page li + li { margin-top: 6px; }

details.faq {
  background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 16px 20px; margin-bottom: 10px;
}
details.faq summary { cursor: pointer; font-weight: 600; list-style: none; }
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after { content: "+"; float: right; color: var(--muted); font-weight: 400; }
details.faq[open] summary::after { content: "–"; }
details.faq p { margin: 10px 0 0; color: var(--muted); }

/* footer */
.site-footer { border-top: 1px solid var(--line); padding: 36px 0 48px; color: var(--muted); font-size: 14.5px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px 32px; }
.site-footer nav { display: flex; gap: 20px; flex-wrap: wrap; }
.site-footer a { color: var(--muted); }
.site-footer a:hover { color: var(--text); }

@media (max-width: 760px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .nav { display: none; }
  .lang-toggle { margin-left: auto; }
  .hero { padding: 64px 0 48px; }
  .hero p.lead { font-size: 18px; }
  section { padding: 56px 0; }
  .details { grid-template-columns: 1fr; }
  .facts { grid-template-columns: 1fr; gap: 2px; }
  .facts dd { margin-bottom: 10px; }
}
