/* art-int.cz – tmavá hlavička podle bílého loga, azurový akcent (z okrajů loga) */
/* Poppins (OFL, static/fonts/OFL.txt), hostované u nás – žádné načítání z Google Fonts */
@font-face { font-family: Poppins; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/poppins-latin-ext-400.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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: Poppins; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/poppins-latin-400.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; }
@font-face { font-family: Poppins; font-style: normal; font-weight: 600; font-display: swap; src: url(fonts/poppins-latin-ext-600.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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: Poppins; font-style: normal; font-weight: 600; font-display: swap; src: url(fonts/poppins-latin-600.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; }
@font-face { font-family: Poppins; font-style: normal; font-weight: 700; font-display: swap; src: url(fonts/poppins-latin-ext-700.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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: Poppins; font-style: normal; font-weight: 700; font-display: swap; src: url(fonts/poppins-latin-700.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; }

:root {
  --ink: #0b1220;
  --ink-2: #131d33;
  --cyan: #22d3ee;
  --cyan-dark: #0e7490;
  --yellow: #facc15;
  --bg: #f5f7fb;
  --surface: #ffffff;
  --text: #0f172a;
  --muted: #566078;
  --border: #dfe4ee;
  --danger: #b42318;
  --radius: 14px;
  --shadow: 0 1px 2px rgb(15 23 42 / .06), 0 8px 24px rgb(15 23 42 / .06);
  --font: Poppins, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font: 17px/1.6 var(--font); color: var(--text); background: var(--bg); display: flex; flex-direction: column; min-height: 100vh; }
main { flex: 1; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--cyan-dark); text-underline-offset: 3px; }
a:hover { color: var(--text); }
h1, h2, h3 { line-height: 1.2; letter-spacing: -0.015em; margin: 0 0 .6em; }
h1 { font-size: clamp(1.9rem, 1.4rem + 2vw, 2.6rem); }
h2 { font-size: 1.45rem; }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 2px; border-radius: 4px; }

.wrap { width: min(1120px, 100% - 2.5rem); margin-inline: auto; }
.narrow { width: min(820px, 100% - 2.5rem); }
.section { padding-block: 3rem; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 1rem; top: 1rem; z-index: 10; background: var(--surface); padding: .5rem 1rem; border-radius: 8px; }

/* hlavička */
.site-header { background: var(--ink); color: #fff; }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem 2rem; flex-wrap: wrap; padding-block: .8rem; }
.logo img { height: 52px; width: auto; }
.site-header nav ul { list-style: none; display: flex; flex-wrap: wrap; gap: .25rem; margin: 0; padding: 0; }
.site-header nav a { display: block; padding: .45rem .8rem; border-radius: 999px; color: rgb(255 255 255 / .78); text-decoration: none; font-weight: 500; font-size: .97rem; }
.site-header nav a:hover { color: #fff; background: rgb(255 255 255 / .08); }
.site-header nav a[aria-current] { color: var(--ink); background: var(--cyan); }

/* úvod */
.hero {
  color: #fff;
  background:
    radial-gradient(60rem 30rem at 85% -10%, rgb(34 211 238 / .22), transparent 60%),
    radial-gradient(40rem 20rem at 0% 120%, rgb(250 204 21 / .10), transparent 60%),
    linear-gradient(rgb(255 255 255 / .035) 1px, transparent 1px) 0 0 / 32px 32px,
    linear-gradient(90deg, rgb(255 255 255 / .035) 1px, transparent 1px) 0 0 / 32px 32px,
    var(--ink);
  padding-block: clamp(3.5rem, 8vw, 6.5rem);
  border-top: 1px solid rgb(255 255 255 / .06);
}
.hero h1 { max-width: 20ch; font-size: clamp(2rem, 1.3rem + 3.2vw, 3.5rem); margin-bottom: 1.4rem; }
.hero-actions { display: flex; gap: .8rem; flex-wrap: wrap; margin: 0; }

/* tlačítka */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .4rem; padding: .75rem 1.4rem; border-radius: 999px; border: 2px solid var(--cyan); background: var(--cyan); color: var(--ink); font: inherit; font-weight: 600; text-decoration: none; cursor: pointer; transition: transform .12s ease, background .12s ease; }
.btn:hover { color: var(--ink); background: #67e8f9; border-color: #67e8f9; transform: translateY(-1px); }
.btn:disabled { opacity: .6; cursor: progress; transform: none; }
.btn-ghost { background: transparent; color: inherit; border-color: currentColor; }
.btn-ghost:hover { background: rgb(34 211 238 / .12); color: inherit; border-color: var(--cyan); }
.btn-small { padding: .45rem 1rem; font-size: .93rem; }

/* specializace na úvodu */
.specs, .cards { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.4rem; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.spec a { display: flex; flex-direction: column; height: 100%; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; color: inherit; text-decoration: none; box-shadow: var(--shadow); transition: transform .15s ease, border-color .15s ease; }
.spec a:hover { transform: translateY(-3px); border-color: var(--cyan); }
.spec img, .card-img img { aspect-ratio: 16 / 9; width: 100%; object-fit: cover; background: var(--ink); }
.spec-body { display: flex; flex-direction: column; gap: .8rem; padding: 1.2rem 1.3rem 1.3rem; flex: 1; }
.spec-title { font-size: 1.2rem; font-weight: 700; line-height: 1.3; }
.spec-title::first-letter { text-transform: uppercase; }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem; margin: 0; padding: 0; }
.chips li { font-size: .88rem; padding: .2rem .65rem; border-radius: 999px; background: #ecfeff; color: #155e75; border: 1px solid #cffafe; }
.more { margin-top: auto; font-weight: 600; color: var(--cyan-dark); }

.info-grid { display: grid; gap: 1.4rem; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); padding-top: 0; }
.info { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.5rem 1.6rem; border-left: 4px solid var(--cyan); }
.info:nth-child(2) { border-left-color: var(--yellow); }
.info h2 { font-size: 1.15rem; margin-bottom: .4rem; }
.info p { margin: 0; color: var(--muted); }

/* drobečková navigace */
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: .3rem; margin: 0 0 1.2rem; padding: 0; font-size: .92rem; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: .3rem; color: #a2abbd; }
.crumbs a { color: var(--muted); }

/* karty produktů */
.card { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.card-body { display: flex; flex-direction: column; gap: .3rem; padding: 1.2rem 1.3rem 1.3rem; flex: 1; }
.card h2 { font-size: 1.25rem; margin: 0; }
.card h2 a { color: inherit; text-decoration: none; }
.card h2 a:hover { color: var(--cyan-dark); }
.card p { margin: 0 0 .8rem; color: var(--muted); }
.card-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.price { font-weight: 700; font-size: 1.15rem; white-space: nowrap; }
.price-big { font-size: 2rem; margin: .2rem 0 1rem; }

/* detail produktu */
.product { display: grid; gap: 2rem; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); align-items: center; }
.product-img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); background: var(--ink); box-shadow: var(--shadow); }
.lead { font-size: 1.15rem; color: var(--muted); }
.product-actions { display: flex; gap: .7rem; flex-wrap: wrap; }
.product-actions .btn-ghost { color: var(--text); }
.meta { color: var(--muted); font-size: .95rem; }
.desc { margin-top: 2.5rem; }
.prose { max-width: 72ch; }
.prose p { margin: 0 0 .8em; }

/* formuláře */
.order { margin-top: 2.5rem; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: clamp(1.2rem, 3vw, 2rem); box-shadow: var(--shadow); scroll-margin-top: 1rem; }
.form { display: grid; gap: 1rem; }
.grid2 { display: grid; gap: 1rem 1.2rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.order > p:first-child { margin-top: 0; }
.field { display: grid; gap: .3rem; }
.field label { font-weight: 600; font-size: .95rem; }
.req { color: var(--cyan-dark); }
input[type=text], input[type=email], input[type=tel], input[type=number], textarea {
  width: 100%; font: inherit; color: inherit; padding: .65rem .8rem; border: 1px solid #c9d1df; border-radius: 10px; background: #fbfcfe;
}
input:focus, textarea:focus { outline: none; border-color: var(--cyan-dark); box-shadow: 0 0 0 3px rgb(34 211 238 / .3); background: #fff; }
[aria-invalid=true] { border-color: var(--danger) !important; }
.err { color: var(--danger); font-size: .9rem; }
.check label { font-weight: 400; display: flex; gap: .6rem; align-items: flex-start; }
.check label > span { flex: 1; }
.check input { margin-top: .35rem; width: 1.1rem; height: 1.1rem; accent-color: var(--cyan-dark); flex: none; }
.qty-row { display: flex; align-items: end; gap: 1.5rem; flex-wrap: wrap; }
.qty-row .field { width: 9rem; }
.total { margin: 0 0 .6rem; font-size: 1.1rem; }
.alert { margin: 0 0 1rem; padding: .8rem 1rem; border-radius: 10px; background: #fef3f2; color: var(--danger); border: 1px solid #fecdca; }
.small { font-size: .9rem; color: var(--muted); margin: 0; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.owner { font-weight: 600; }
.form .btn { justify-self: start; }

/* právní texty */
.legal h2 { font-size: 1.2rem; margin-top: 2rem; }
.legal ul { padding-left: 1.3rem; }
.legal li { margin-bottom: .3rem; }

.thanks { text-align: center; padding-block: 5rem; }
.thanks .lead { margin-inline: auto; max-width: 52ch; }

/* patička */
.site-footer { background: var(--ink); color: rgb(255 255 255 / .62); font-size: .92rem; margin-top: 3rem; }
.footer-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 2rem; padding-block: 1.6rem; }
.footer-row p { margin: 0; }
.footer-row ul { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; margin: 0; padding: 0; }
.site-footer a { color: rgb(255 255 255 / .8); }
.site-footer a:hover { color: var(--cyan); }

@media (max-width: 640px) {
  body { font-size: 16px; }
  .header-row { justify-content: center; }
  .site-header nav ul { justify-content: center; }
  .section { padding-block: 2rem; }
  .grid2 { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}
.owner span { font-weight: 400; color: var(--muted); font-size: .95rem; }
