/* serviceit.sk – modern stylesheet. One markup, three looks: html[data-variant="light|dark|bold"]. */

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("/fonts/inter-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("/fonts/inter-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- Tokens: light (default) ---------- */
:root {
  --teal: #0591b5;
  --purple: #6e2c89;
  --red: #db2c3b;

  --bg: #ffffff;
  --bg-alt: #f4f8fb;
  --surface: #ffffff;
  --border: #e3eaf0;
  --text: #4a5565;
  --heading: #0f172a;
  --muted: #6b7686;
  --primary: var(--teal);
  --primary-ink: #ffffff;
  --primary-hover: #047a99;
  --eyebrow: var(--teal);
  --grad: linear-gradient(100deg, var(--teal), var(--purple));
  --shadow: 0 1px 2px rgba(15, 23, 42, .04), 0 8px 24px rgba(15, 23, 42, .06);
  --shadow-hover: 0 2px 4px rgba(15, 23, 42, .06), 0 16px 40px rgba(15, 23, 42, .10);
  --radius: 16px;
  --header-bg: rgba(255, 255, 255, .82);
  --hero-bg:
    radial-gradient(60% 80% at 85% 10%, rgba(5, 145, 181, .14), transparent 70%),
    radial-gradient(50% 70% at 10% 90%, rgba(110, 44, 137, .10), transparent 70%),
    var(--bg);
  --hero-ink: var(--heading);
  --hero-text: var(--text);
  --cta-bg: var(--grad);
  --cta-ink: #ffffff;
  --footer-bg: #0f172a;
  --footer-ink: #b6c0cc;
  --icon-bg: rgba(5, 145, 181, .10);
  --icon-ink: var(--teal);
  --max: 1160px;
}

/* ---------- Tokens: dark ---------- */
html[data-variant="dark"] {
  --bg: #0b1020;
  --bg-alt: #0f1529;
  --surface: rgba(255, 255, 255, .04);
  --border: rgba(255, 255, 255, .09);
  --text: #aab4c5;
  --heading: #f1f5fb;
  --muted: #8591a6;
  --primary: #19b7e0;
  --primary-ink: #04121a;
  --primary-hover: #4cc9ea;
  --eyebrow: #4cc9ea;
  --grad: linear-gradient(100deg, #19b7e0, #a35bd0);
  --shadow: 0 0 0 1px rgba(255, 255, 255, .02), 0 10px 30px rgba(0, 0, 0, .35);
  --shadow-hover: 0 0 0 1px rgba(25, 183, 224, .35), 0 16px 48px rgba(25, 183, 224, .12);
  --header-bg: rgba(11, 16, 32, .75);
  --hero-bg:
    radial-gradient(55% 70% at 80% 0%, rgba(25, 183, 224, .22), transparent 70%),
    radial-gradient(45% 60% at 5% 100%, rgba(163, 91, 208, .20), transparent 70%),
    var(--bg);
  --cta-bg:
    radial-gradient(60% 120% at 100% 0%, rgba(25, 183, 224, .25), transparent 70%),
    radial-gradient(60% 120% at 0% 100%, rgba(163, 91, 208, .25), transparent 70%),
    #111833;
  --footer-bg: #070b17;
  --footer-ink: #8591a6;
  --icon-bg: rgba(25, 183, 224, .12);
  --icon-ink: #4cc9ea;
  color-scheme: dark;
}

/* ---------- Tokens: bold ---------- */
html[data-variant="bold"] {
  --bg: #ffffff;
  --bg-alt: #f7f3fa;
  --border: #ece4f2;
  --primary: var(--red);
  --primary-hover: #bd1f2d;
  --eyebrow: var(--purple);
  --grad: linear-gradient(100deg, #ffd6db, #ffffff);
  --radius: 22px;
  --header-bg: rgba(59, 26, 92, .92);
  --hero-bg:
    radial-gradient(60% 90% at 90% 10%, rgba(5, 145, 181, .55), transparent 70%),
    linear-gradient(135deg, #3b1a5c 0%, #6e2c89 55%, #0591b5 130%);
  --hero-ink: #ffffff;
  --hero-text: rgba(255, 255, 255, .82);
  --cta-bg: linear-gradient(120deg, var(--red), #a3236e 60%, var(--purple));
  --footer-bg: #1d0f2e;
  --footer-ink: #c4b5d3;
  --icon-bg: #f3eaf8;
  --icon-ink: var(--purple);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

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

h1, h2, h3 { color: var(--heading); line-height: 1.15; letter-spacing: -.02em; margin: 0 0 .5em; }
h1 { font-size: clamp(2.3rem, 5.5vw, 4rem); font-weight: 800; letter-spacing: -.035em; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); font-weight: 750; }
h3 { font-size: 1.12rem; font-weight: 650; }
p { margin: 0 0 1em; }
a { color: inherit; }
img { max-width: 100%; height: auto; }

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

.eyebrow {
  margin: 0 0 .8em;
  color: var(--eyebrow);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.lead { font-size: 1.15rem; max-width: 620px; }

.grad {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.icon { width: 24px; height: 24px; flex: none; }
.icon-sm { width: 18px; height: 18px; flex: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 22px;
  border-radius: 999px;
  font-weight: 650;
  font-size: .98rem;
  text-decoration: none;
  transition: transform .15s ease, background-color .15s ease, box-shadow .15s ease;
}

.btn:hover { transform: translateY(-1px); }
.btn-sm { padding: 9px 16px; font-size: .9rem; }
.btn-primary { background: var(--primary); color: var(--primary-ink); box-shadow: 0 6px 20px -6px var(--primary); }
.btn-primary:hover { background: var(--primary-hover); }
.btn-ghost { color: var(--hero-ink); border: 1.5px solid color-mix(in srgb, var(--hero-ink) 25%, transparent); }
.btn-ghost:hover { border-color: var(--hero-ink); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--header-bg);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--border);
}

.header-inner { display: flex; align-items: center; gap: 24px; height: 72px; }

.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; margin-right: auto; }
.brand img { width: 40px; height: 40px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text b { color: var(--heading); font-size: 1.2rem; font-weight: 800; letter-spacing: -.02em; }
.brand-text small { color: var(--muted); font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; }

.site-nav { display: flex; gap: 4px; }
.site-nav a {
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--heading);
  font-weight: 550;
  font-size: .95rem;
  text-decoration: none;
  opacity: .8;
}
.site-nav a:hover { opacity: 1; background: color-mix(in srgb, var(--heading) 6%, transparent); }
.site-nav a[aria-current="page"] { opacity: 1; background: color-mix(in srgb, var(--primary) 14%, transparent); color: var(--heading); }

html[data-variant="bold"] .site-header { border-bottom-color: transparent; }
html[data-variant="bold"] .brand-text b,
html[data-variant="bold"] .site-nav a { color: #fff; }
html[data-variant="bold"] .brand-text small { color: rgba(255, 255, 255, .7); }
html[data-variant="bold"] .site-nav a:hover { background: rgba(255, 255, 255, .12); }
html[data-variant="bold"] .site-nav a[aria-current="page"] { background: rgba(255, 255, 255, .18); }
html[data-variant="bold"] .brand img,
html[data-variant="dark"] .brand img { background: #fff; border-radius: 10px; padding: 3px; }

/* ---------- Hero ---------- */
.hero { background: var(--hero-bg); padding: 72px 0 56px; overflow: hidden; }
.hero h1, .hero .btn-ghost { color: var(--hero-ink); }
.hero .lead { color: var(--hero-text); }
.hero-inner { display: grid; grid-template-columns: 1.4fr .8fr; gap: 40px; align-items: center; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

.hero-art { display: grid; place-items: center; }
.hero-art img {
  width: min(300px, 100%);
  padding: 36px;
  border-radius: 40px;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-hover);
  transform: rotate(-4deg);
}

html[data-variant="dark"] .hero-art img { background: #fff; }
html[data-variant="bold"] .hero .eyebrow { color: #ffd6db; }
html[data-variant="bold"] .hero-art img { background: #fff; border: 0; box-shadow: 0 30px 80px rgba(0, 0, 0, .35); }

.features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 56px;
}

.feature {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 18px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.feature .icon {
  width: 40px;
  height: 40px;
  padding: 9px;
  border-radius: 12px;
  background: var(--icon-bg);
  color: var(--icon-ink);
}

.feature strong { display: block; color: var(--heading); font-size: .98rem; }
.feature span { font-size: .9rem; color: var(--muted); }

/* ---------- Sections ---------- */
.section { padding: 88px 0; }
.section-alt { background: var(--bg-alt); }
.section-head { margin-bottom: 36px; }

.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); gap: 20px; }

.tile {
  display: flex;
  flex-direction: column;
  padding: 26px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.tile:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); }
.tile .icon {
  width: 48px;
  height: 48px;
  padding: 11px;
  margin-bottom: 18px;
  border-radius: 14px;
  background: var(--icon-bg);
  color: var(--icon-ink);
}
.tile p { color: var(--text); font-size: .95rem; flex: 1; }
.tile .more { display: inline-flex; align-items: center; gap: 6px; color: var(--primary); font-weight: 650; font-size: .92rem; }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }

.quote {
  padding: 32px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  border-left: 4px solid var(--primary);
}
.quote .big { color: var(--heading); font-size: 1.35rem; font-weight: 650; line-height: 1.4; letter-spacing: -.01em; }

/* ---------- Sub-page hero ---------- */
.page-hero { background: var(--hero-bg); padding: 64px 0 48px; }
.page-hero h1 { color: var(--hero-ink); }
.page-hero .lead { color: var(--hero-text); }
html[data-variant="bold"] .page-hero .eyebrow { color: #ffd6db; }

/* ---------- Services page ---------- */
.services { display: grid; gap: 24px; }

.service {
  display: grid;
  grid-template-columns: 260px 1fr;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.service-img img { display: block; width: 100%; height: 100%; min-height: 220px; object-fit: cover; }
.service-text { padding: 30px 34px; }
.service-text .icon { width: 28px; height: 28px; color: var(--icon-ink); margin-bottom: 10px; }
.service-text h2 { font-size: 1.4rem; }
.service-text p:last-child { margin-bottom: 0; }

@media (min-width: 900px) {
  .service:nth-child(even) { grid-template-columns: 1fr 260px; }
  .service:nth-child(even) .service-img { order: 2; }
}

/* ---------- Prices page ---------- */
.prices { display: grid; grid-template-columns: 1fr 1.3fr; gap: 24px; align-items: start; }

.price-main {
  padding: 36px;
  border-radius: var(--radius);
  background: var(--cta-bg);
  color: rgba(255, 255, 255, .85);
  box-shadow: var(--shadow-hover);
}
.price-main .eyebrow { color: rgba(255, 255, 255, .8); }
.price-main .amount { color: #fff; font-size: 3.6rem; font-weight: 800; letter-spacing: -.04em; line-height: 1; margin: 6px 0 14px; }
.price-main .amount span { font-size: 1.1rem; font-weight: 500; letter-spacing: 0; opacity: .8; margin-left: 8px; }
.price-main .btn-primary { background: #fff; color: #0f172a; box-shadow: none; margin-top: 8px; }

.price-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.price-list li {
  display: flex;
  gap: 16px;
  padding: 22px 24px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.price-list .icon { width: 44px; height: 44px; padding: 10px; border-radius: 12px; background: var(--icon-bg); color: var(--icon-ink); }
.price-list strong { display: block; color: var(--heading); }
.price-list span { color: var(--muted); font-size: .95rem; }

/* ---------- Contact CTA ---------- */
.cta { background: var(--cta-bg); color: var(--cta-ink); padding: 72px 0; }
.cta h2 { color: var(--cta-ink); }
.cta .eyebrow { color: rgba(255, 255, 255, .8); }
.cta .lead { color: rgba(255, 255, 255, .85); }
.cta-inner { display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: center; }
.cta-cards { display: grid; gap: 12px; min-width: 320px; }

.contact-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 22px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .22);
  color: #fff;
  text-decoration: none;
  font-weight: 650;
  font-size: 1.08rem;
  backdrop-filter: blur(6px);
  transition: background-color .15s ease, transform .15s ease;
}
.contact-card:hover { background: rgba(255, 255, 255, .2); transform: translateY(-2px); }
.contact-card small { display: block; font-size: .78rem; font-weight: 500; opacity: .8; text-transform: uppercase; letter-spacing: .08em; }
.contact-card .icon { width: 44px; height: 44px; padding: 10px; border-radius: 12px; background: rgba(255, 255, 255, .18); }

/* ---------- Footer ---------- */
.site-footer { background: var(--footer-bg); color: var(--footer-ink); padding: 40px 0; font-size: .9rem; }
.footer-inner { display: grid; grid-template-columns: auto 1fr auto; gap: 24px 48px; align-items: center; }
.footer-brand { display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 700; }
.footer-brand img { background: #fff; border-radius: 8px; padding: 2px; }
.site-footer address { font-style: normal; line-height: 1.7; }
.site-footer .icon-sm { width: 15px; height: 15px; vertical-align: -2px; }
.copy { margin: 0; opacity: .7; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .features { grid-template-columns: repeat(2, 1fr); }
  .prices, .two-col, .cta-inner { grid-template-columns: 1fr; }
  .cta-cards { min-width: 0; }
  .footer-inner { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .header-inner { height: auto; flex-wrap: wrap; gap: 8px 12px; padding-top: 12px; padding-bottom: 10px; }
  .site-nav { order: 3; width: 100%; overflow-x: auto; margin: 0 -8px; }
  .header-cta span { display: none; }
  .hero { padding: 48px 0 40px; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-art { display: none; }
  .features { grid-template-columns: 1fr; margin-top: 36px; }
  .section { padding: 64px 0; }
  .service { grid-template-columns: 1fr; }
  .service-img img { height: 200px; min-height: 0; }
  .service-text { padding: 24px; }
  .price-main .amount { font-size: 3rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .tile, .contact-card { transition: none; }
}

/* Cookie consent banner */
.cookie-banner {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 100;
  max-width: 760px; margin: 0 auto;
  background: var(--heading); color: var(--bg);
  border-radius: var(--radius); box-shadow: 0 16px 48px rgba(0, 0, 0, .35);
}
html[data-variant="dark"] .cookie-banner { background: #17203a; color: #dbe3ee; border: 1px solid var(--border); }
.cookie-banner[hidden] { display: none; }
.cookie-inner { display: flex; gap: 20px; align-items: center; padding: 18px 22px; }
.cookie-inner p { margin: 0; font-size: .92rem; line-height: 1.55; }
.cookie-inner strong { display: block; margin-bottom: 2px; font-size: 1rem; }
.cookie-inner a { color: inherit; text-decoration: underline; }
.cookie-actions { display: flex; gap: 10px; flex-shrink: 0; }
.cookie-banner .btn { border: 1.5px solid currentColor; background: transparent; color: inherit; cursor: pointer; font: inherit; font-weight: 600; }
.cookie-banner .cookie-accept { background: var(--primary); border-color: var(--primary); color: var(--primary-ink); }
@media (max-width: 640px) {
  .cookie-inner { flex-direction: column; align-items: stretch; }
  .cookie-actions .btn { flex: 1; justify-content: center; }
}
.link-btn { background: none; border: 0; padding: 0; color: inherit; font: inherit; text-decoration: underline; cursor: pointer; }
.site-footer a { color: inherit; }
.legal > * { max-width: 760px; }
.legal h2 { margin-top: 36px; font-size: 1.25rem; }
.legal table { width: 100%; border-collapse: collapse; margin: 12px 0; font-size: .92rem; }
.legal th, .legal td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--border); vertical-align: top; }
.legal th { color: var(--heading); }

/* E-shop menu item: orange highlight (also used on the shop pages) */
.site-nav a.nav-eshop { background: #f97316; color: #1a1205; opacity: 1; font-weight: 700; }
.site-nav a.nav-eshop:hover { background: #fb8a3c; color: #1a1205; }
.site-nav a.nav-eshop[aria-current="page"] { background: #f97316; color: #1a1205; box-shadow: 0 0 0 2px color-mix(in srgb, #f97316 40%, transparent); }

/* Menu items never wrap ("E-shop" broke at the hyphen on phones); the row scrolls sideways if needed */
.site-nav a { white-space: nowrap; flex: none; }
@media (max-width: 760px) {
  .site-nav { gap: 2px; scrollbar-width: none; }
  .site-nav::-webkit-scrollbar { display: none; }
  .site-nav a { padding: 7px 10px; font-size: .9rem; }
}
@media (max-width: 760px) {
  .header-inner { flex-wrap: wrap; }
  .brand { flex: 1 1 0; min-width: 0; }
  .brand-text small { font-size: .6rem; letter-spacing: .03em; }
  .site-nav { margin: 0; justify-content: space-between; }
  .site-nav a { padding: 7px 9px; font-size: .88rem; }
}
@media (max-width: 380px) {
  .site-nav a { padding: 6px 7px; font-size: .84rem; }
}

/* language switch SK / EN (2026-11-22): in the menu on wide screens, next to the call/cart button on phones */
.site-nav a.nav-lang { border: 1px solid var(--border); font-weight: 700; font-size: .8rem; letter-spacing: .04em; padding-inline: 10px; }
.lang-m { display: none; }
@media (max-width: 760px) {
  .site-nav a.nav-lang { display: none; }
  .lang-m { display: inline-flex; align-items: center; padding: 6px 10px; border: 1px solid var(--border); border-radius: 999px;
            color: var(--heading); font-weight: 700; font-size: .8rem; letter-spacing: .04em; text-decoration: none; }
}
