/* PLASTIVO, s.r.o. – hlavný štýl webu
   Farby a písmo sa menia na jednom mieste (premenné nižšie). */

@font-face { font-family: 'Archivo'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/archivo-latin-ext-400-normal.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: 'Archivo'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/archivo-latin-400-normal.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: 'Archivo'; font-style: normal; font-weight: 500; font-display: swap; src: url('../fonts/archivo-latin-ext-500-normal.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: 'Archivo'; font-style: normal; font-weight: 500; font-display: swap; src: url('../fonts/archivo-latin-500-normal.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: 'Archivo'; font-style: normal; font-weight: 700; font-display: swap; src: url('../fonts/archivo-latin-ext-700-normal.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: 'Archivo'; font-style: normal; font-weight: 700; font-display: swap; src: url('../fonts/archivo-latin-700-normal.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: 'Archivo'; font-style: normal; font-weight: 800; font-display: swap; src: url('../fonts/archivo-latin-ext-800-normal.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: 'Archivo'; font-style: normal; font-weight: 800; font-display: swap; src: url('../fonts/archivo-latin-800-normal.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: #10324A;          /* petrolej – hlavná farba */
  --ink-deep: #0B2433;     /* pätička */
  --accent: #14A89B;       /* tyrkys z loga */
  --accent-dark: #0E7F75;  /* tlačidlá a odkazy */
  --accent-darker: #0A5F58;
  --accent-light: #5FD3C7;
  --accent-tint: #E3F4F2;
  --muted: #4A5E6A;
  --surface: #F3F5F4;
  --line: #DCE3E6;
  --field: #B9C6CC;
  --white: #FFFFFF;
  --hero-intenzita: 0.35;  /* sila vlastnej fotky v úvode (0 – 1) */
  --radius: 18px;
  --wrap: 1200px;
  --font: 'Archivo', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.6; color: var(--ink); background: var(--white); }
img { max-width: 100%; display: block; }
a { color: var(--accent-dark); }
a:hover { color: var(--accent-darker); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { margin: 0; font-weight: 800; line-height: 1.1; }
p { margin: 0; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; background: var(--ink); color: var(--white); padding: 10px 16px; border-radius: 8px; z-index: 100; }
.skip:focus { top: 12px; }

/* Hlavička */
.header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,0.96); backdrop-filter: blur(6px); border-bottom: 1px solid #E1E7EA; }
.header__in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 32px; padding-top: 14px; padding-bottom: 14px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; }
.brand img { width: 44px; height: 44px; }
.brand span { font-size: 26px; font-weight: 800; letter-spacing: -0.5px; }
.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 26px; font-weight: 500; }
.nav a { color: var(--ink); text-decoration: none; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--accent-dark); }
.nav a[aria-current="page"] { font-weight: 700; }
.lang { display: none; } /* prepínač jazykov – zapne sa odstránením tohto riadku */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 22px; border-radius: 12px; font: inherit; font-weight: 700; text-decoration: none; cursor: pointer; border: 2px solid transparent; }
.btn--primary { background: var(--accent-dark); color: var(--white); }
.btn--primary:hover { background: var(--accent-darker); color: var(--white); }
.btn--accent { background: var(--accent); color: var(--ink-deep); }
.btn--accent:hover { background: var(--accent-light); color: var(--ink-deep); }
.btn--ghost { border-color: #5E7C8C; color: var(--white); }
.btn--ghost:hover { border-color: var(--white); color: var(--white); }
.btn--outline { border-color: var(--accent-dark); color: var(--accent-dark); min-height: 44px; padding: 8px 18px; font-size: 15px; }
.btn--outline:hover { background: var(--accent-dark); color: var(--white); }

/* Úvodná plocha */
.hero { position: relative; overflow: hidden; background: var(--ink); color: var(--white); }
.hero__drawing { position: absolute; top: 50%; right: -40px; transform: translateY(-50%); width: 72%; min-width: 600px; max-width: 1080px; height: auto; pointer-events: none;
  -webkit-mask-image: radial-gradient(ellipse 58% 64% at 58% 50%, #000 30%, transparent 100%); mask-image: radial-gradient(ellipse 58% 64% at 58% 50%, #000 30%, transparent 100%); }
/* Vlastná fotka: stačí nahrať assets/img/uvod.jpg – web ju sám prefarbí do modrej */
.hero__photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; filter: grayscale(1) contrast(1.15); mix-blend-mode: luminosity; opacity: var(--hero-intenzita);
  -webkit-mask-image: radial-gradient(ellipse 60% 70% at 65% 50%, #000 30%, transparent 100%); mask-image: radial-gradient(ellipse 60% 70% at 65% 50%, #000 30%, transparent 100%); }
.hero.has-photo .hero__drawing { display: none; }
.hero__in { position: relative; padding-top: 104px; padding-bottom: 104px; }
.hero__text { max-width: 600px; display: flex; flex-direction: column; gap: 24px; }
.hero__eyebrow { font-size: 14px; font-weight: 700; letter-spacing: 2px; color: var(--accent-light); }
.hero h1 { font-size: clamp(38px, 5vw, 64px); line-height: 1.05; letter-spacing: -1px; }
.hero__lead { font-size: 19px; color: #C9D8DE; max-width: 560px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }

/* Fakty */
.facts { background: var(--surface); border-bottom: 1px solid #E1E7EA; }
.facts__in { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; padding-top: 44px; padding-bottom: 44px; margin-top: 0; margin-bottom: 0; }
.facts dt { font-size: 38px; font-weight: 800; line-height: 1.1; }
.facts dd { margin: 0; color: var(--muted); }

/* Sekcie */
.section { padding: 96px 0; }
.section--tint { background: var(--surface); }
.section__head { display: flex; flex-direction: column; gap: 12px; max-width: 640px; margin-bottom: 40px; }
.eyebrow { font-size: 14px; font-weight: 700; letter-spacing: 2px; color: var(--accent-dark); }
.section h2 { font-size: clamp(30px, 3.4vw, 44px); }
.muted { color: var(--muted); }

/* Kategórie */
.cats { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.cat { display: flex; flex-direction: column; gap: 14px; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--ink); background: var(--white); }
.cat:hover { border-color: var(--accent); color: var(--ink); }
.cat__icon { width: 56px; height: 56px; border-radius: 14px; background: var(--accent-tint); display: flex; align-items: center; justify-content: center; }
.cat__name { font-size: 22px; font-weight: 800; }
.cat__desc { color: var(--muted); font-size: 16px; flex-grow: 1; }
.cat__more { font-weight: 700; color: var(--accent-dark); }

/* O nás */
.about { display: flex; flex-wrap: wrap; gap: 56px; }
.about__text { flex: 3 1 440px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.why { flex: 2 1 320px; min-width: 0; align-self: flex-start; background: var(--ink); color: var(--white); border-radius: 20px; padding: 36px; }
.why h3 { font-size: 22px; margin-bottom: 20px; }
.why ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 20px; }
.why li { display: flex; gap: 14px; align-items: flex-start; color: #DCE7EB; }
.why svg { flex-shrink: 0; margin-top: 2px; }

/* Kontakt */
.contact { display: flex; flex-wrap: wrap; gap: 56px; }
.contact__info { flex: 2 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.contact__block { display: flex; flex-direction: column; gap: 2px; font-style: normal; }
.contact__label { font-size: 13px; font-weight: 700; letter-spacing: 1.5px; color: var(--accent-dark); }
.contact__ids { font-size: 15px; color: var(--muted); display: flex; flex-direction: column; gap: 2px; }
.form { flex: 3 1 440px; min-width: 0; background: var(--surface); border-radius: 20px; padding: 36px; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; align-content: start; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field--full, .form__full { grid-column: 1 / -1; }
.field label { font-weight: 700; font-size: 15px; }
.field input, .field textarea { font: inherit; color: var(--ink); padding: 13px 14px; border: 1px solid var(--field); border-radius: 10px; background: var(--white); width: 100%; }
.field textarea { resize: vertical; min-height: 140px; }
.field input:focus, .field textarea:focus { border-color: var(--accent-dark); outline: 2px solid var(--accent-tint); }
.field--unit { display: flex; align-items: center; border: 1px solid var(--field); border-radius: 10px; background: var(--white); padding-right: 14px; }
.field--unit input { border: 0; outline: 0; }
.field--unit:focus-within { border-color: var(--accent-dark); outline: 2px solid var(--accent-tint); }
.field--unit span { color: var(--muted); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__note { font-size: 14px; color: var(--muted); }
.form__status { grid-column: 1 / -1; padding: 14px 16px; border-radius: 10px; font-weight: 500; }
.form__status[hidden] { display: none; }
.form__status--ok { background: var(--accent-tint); color: #0A4F49; }
.form__status--err { background: #FDECEC; color: #8A1C1C; }
.btn[disabled] { opacity: 0.6; cursor: wait; }

/* Pätička */
.footer { background: var(--ink-deep); color: #B8CBD3; font-size: 15px; }
.footer__in { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px 24px; padding-top: 48px; padding-bottom: 48px; }
.footer .brand span { color: var(--white); font-size: 20px; }
.footer .brand img { width: 36px; height: 36px; }
.footer a { color: #B8CBD3; }
.footer a:hover { color: var(--white); }

/* Výrobky */
.page-hero { background: var(--ink); color: var(--white); }
.page-hero__in { padding-top: 64px; padding-bottom: 64px; display: flex; flex-direction: column; gap: 14px; }
.page-hero h1 { font-size: clamp(36px, 4.4vw, 56px); letter-spacing: -1px; }
.page-hero p { color: #C9D8DE; max-width: 620px; }
.page-hero .hero__eyebrow { color: var(--accent-light); }
.catalog { padding: 40px 0 96px; }
.tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 32px; }
.tab { font: inherit; font-weight: 700; padding: 12px 20px; min-height: 48px; border-radius: 999px; cursor: pointer; border: 2px solid #C9D3D8; background: var(--white); color: var(--ink); }
.tab span { font-weight: 500; opacity: 0.75; }
.tab[aria-selected="true"] { background: var(--ink); border-color: var(--ink); color: var(--white); }
.cat-note { margin-bottom: 24px; padding: 16px 20px; background: var(--accent-tint); border-radius: 12px; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.product { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; background: var(--white); }
.product__img { aspect-ratio: 4 / 3; width: 100%; height: auto; object-fit: cover; background: #E2E8EB; }
.product__ph { aspect-ratio: 4 / 3; background: #EEF2F3; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; color: #6A7E89; font-size: 14px; }
.product__body { padding: 22px; display: flex; flex-direction: column; gap: 12px; flex-grow: 1; }
.product__cat { font-size: 13px; font-weight: 700; letter-spacing: 1.5px; color: var(--accent-dark); text-transform: uppercase; }
.product h2 { font-size: 20px; line-height: 1.3; }
.badge { align-self: flex-start; font-size: 13px; font-weight: 700; color: var(--accent-dark); background: var(--accent-tint); border-radius: 999px; padding: 4px 12px; }
.product dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 4px 8px; font-size: 15px; color: var(--muted); flex-grow: 1; align-content: start; }
.product dd { margin: 0; color: var(--ink); font-weight: 700; }
.swatches { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.swatch { width: 18px; height: 18px; border-radius: 50%; border: 1px solid #9AAAB2; display: inline-block; }
.swatch--biela { background: #FFFFFF; }
.swatch--cierna { background: #111111; }
.swatch--na-zelanie { background: conic-gradient(#E53935, #FDD835, #43A047, #1E88E5, #8E24AA, #E53935); }
.cta-band { background: var(--surface); }
.cta-band__in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; padding-top: 64px; padding-bottom: 64px; }
.cta-band h2 { font-size: 30px; line-height: 1.2; margin-bottom: 8px; }

/* Textové stránky */
.prose { max-width: 760px; padding: 64px 24px 96px; margin: 0 auto; display: flex; flex-direction: column; gap: 16px; }
.prose h1 { font-size: clamp(32px, 4vw, 44px); margin-bottom: 8px; }
.prose h2 { font-size: 22px; margin-top: 16px; }
.prose ul { margin: 0; padding-left: 22px; }

@media (max-width: 640px) {
  .hero__drawing { display: none; }
  .hero__in { padding-top: 64px; padding-bottom: 64px; }
  .section { padding: 64px 0; }
  .form, .why { padding: 24px; }
  .header { position: static; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
