/* MERCHWEAR web 2.0 – štýly podľa dizajn systému v2 (tokens.css) */

@font-face { font-family: "Manrope"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("../fonts/manrope-latin-ext-400-normal.woff2") format("woff2");
  unicode-range: U+0100-02AF,U+0304,U+0308,U+0329,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: "Manrope"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("../fonts/manrope-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+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 500; font-display: swap;
  src: url("../fonts/manrope-latin-ext-500-normal.woff2") format("woff2");
  unicode-range: U+0100-02AF,U+0304,U+0308,U+0329,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: "Manrope"; font-style: normal; font-weight: 500; font-display: swap;
  src: url("../fonts/manrope-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+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }

:root {
  --surface: #ffffff;
  --surface-alt: #f3f5f7;
  --navy: #222b43;
  --red: #ea2954;
  --heading: #222b43;
  --ink: #2b2c36;
  --ink-muted: #6b748b;
  --accent-text: #c42a42;
  --line: #dce0e3;
  --line-mid: #c9cfd4;
  --stitch: 1px dashed var(--line);
  --font: Manrope, "Segoe UI", Arial, sans-serif;
  --wrap: 1200px;
  --gutter: 32px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--surface); color: var(--ink); font-family: var(--font); font-size: 16px; line-height: 26px; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--accent-text); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--navy); }
:focus-visible { outline: 2px solid var(--navy); outline-offset: 3px; }
h1, h2, h3, p, blockquote, ol, ul { margin: 0; }
h1, h2, h3 { color: var(--heading); font-weight: 500; letter-spacing: -0.01em; }
h1 { font-size: 32px; line-height: 40px; }
h2 { font-size: 28px; line-height: 36px; }
h3 { font-size: 20px; line-height: 28px; letter-spacing: 0; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 10; background: var(--surface); padding: 8px 12px; }

/* štítky a punchliny */
.label { font-size: 11px; line-height: 16px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-muted); }
.punch { font-size: 12px; line-height: 16px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--navy); }
.punch--accent { color: var(--accent-text); }
.lead { font-size: 17px; line-height: 28px; }
.accent { color: var(--accent-text); }

/* tlačidlá */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 24px; font-size: 14px; font-weight: 500; border: 1px solid var(--navy); font-family: inherit; cursor: pointer; }
.btn--primary { background: var(--navy); color: #fff; }
.btn--primary:hover { background: #1a2135; color: #fff; }
.btn--ghost { color: var(--navy); background: transparent; }
.btn--ghost:hover { background: var(--surface-alt); }

/* obrázky – pevný pomer, fotka sa vždy oreže do rámu */
.ph { position: relative; overflow: hidden; background: var(--surface-alt); }
.ph img { width: 100%; height: 100%; object-fit: cover; }
.ph--45 { aspect-ratio: 4 / 5; }
.ph--43 { aspect-ratio: 4 / 3; }

/* S01 hlavička */
.site-header { border-bottom: var(--stitch); background: var(--surface); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px 32px; padding-top: 14px; padding-bottom: 14px; }
.brand img { width: 120px; }
.nav { display: flex; align-items: center; gap: 8px 28px; font-size: 14px; line-height: 20px; font-weight: 500; }
.nav a { color: var(--ink); }
.nav a:hover { color: var(--accent-text); }
.nav .btn { color: #fff; min-height: 44px; padding: 0 20px; }
.icon-link { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; color: var(--navy) !important; }
.icon-text { display: none; }
.form-status:empty { display: none; }
.menu-toggle { display: none; width: 44px; height: 44px; border: 0; background: transparent; padding: 0; cursor: pointer; color: var(--navy); }

/* S02 úvod */
.hero { padding: 96px 0 56px; text-align: center; }
.hero .wrap { display: flex; flex-direction: column; align-items: center; gap: 24px; }
.hero h1 { max-width: 760px; }
.hero .lead { max-width: 640px; }
.actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }

/* S03 ukážky */
.shots { padding-bottom: 96px; }
.shots .wrap { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }

/* všeobecné sekcie */
.section { padding: 96px 0; }
.section--alt { background: var(--surface-alt); }
.section--line { border-top: var(--stitch); }
.split { display: flex; flex-wrap: wrap; gap: 48px 56px; align-items: flex-start; }
.split > * { flex: 1 1 400px; min-width: 0; }
.stack { display: flex; flex-direction: column; gap: 16px; }
.stack--s { gap: 12px; }
.section-head { display: flex; flex-direction: column; gap: 12px; margin-bottom: 40px; }

/* S05 služby */
.services { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: var(--stitch); }
.service { padding: 28px 28px 28px 0; border-bottom: var(--stitch); display: flex; flex-direction: column; gap: 8px; }
.service p { font-size: 15px; line-height: 24px; }
.num { font-size: 11px; line-height: 16px; font-weight: 500; letter-spacing: .12em; color: var(--ink-muted); }
.num--accent { color: var(--accent-text); }

/* S06 dizajn predáva */
.big-answer { font-size: 32px; line-height: 40px; font-weight: 500; color: var(--accent-text); }
.rule-top { border-top: 1px dashed var(--line-mid); padding-top: 16px; }

/* S07 buď originál */
.split--center { align-items: center; }
.quote { padding: 20px 0; border-top: var(--stitch); border-bottom: var(--stitch); font-size: 20px; line-height: 28px; font-weight: 500; color: var(--heading); }

/* S08 kvalita */
.cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-bottom: 40px; }
.card { border: 1px dashed var(--line-mid); padding: 32px; display: flex; flex-direction: column; gap: 12px; }
.card p { font-size: 15px; line-height: 24px; }

/* S09 ako to robíme */
.steps { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0 24px; margin: 40px 0; }
.steps li { border-top: 1px dashed var(--line-mid); padding: 16px 0; display: flex; flex-direction: column; gap: 6px; }
.steps li:first-child { border-top: 2px solid var(--navy); }
.steps strong { font-weight: 500; color: var(--heading); }
.steps span:last-child { font-size: 14px; line-height: 22px; color: var(--ink-muted); }
.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.gallery .ph { background: #fff; }

/* S10 kontakt */
.contact-list { list-style: none; padding: 0; border-top: var(--stitch); margin-top: 8px; }
.contact-list li { border-bottom: var(--stitch); padding: 14px 0; display: flex; gap: 14px; align-items: center; }
.contact-list a { font-weight: 500; }
.contact-list svg { flex: none; }
.form { background: var(--surface-alt); padding: 32px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; font-size: 13px; line-height: 20px; font-weight: 500; color: var(--heading); }
.field--full { grid-column: 1 / -1; }
.field input, .field select, .field textarea { min-height: 48px; padding: 0 12px; border: 1px solid var(--line); border-radius: 0; font: 400 16px/24px var(--font); color: var(--ink); background: #fff; width: 100%; }
.field textarea { padding: 10px 12px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--navy); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-foot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.form-note { font-size: 13px; line-height: 20px; color: var(--ink-muted); }
.form-status { grid-column: 1 / -1; font-size: 15px; line-height: 24px; font-weight: 500; min-height: 24px; }
.form-status.is-ok { color: var(--heading); }
.form-status.is-err { color: var(--accent-text); }

/* S11 päta */
.site-footer { border-top: var(--stitch); }
.site-footer .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; padding-top: 32px; padding-bottom: 32px; font-size: 13px; line-height: 20px; color: var(--ink-muted); }
.site-footer img { width: 120px; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.site-footer nav a { color: var(--navy); }

/* jemné odhalenie sekcií pri rolovaní */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
}

/* tablet */
@media (max-width: 1024px) {
  .services { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* mobil */
@media (max-width: 760px) {
  :root { --gutter: 16px; }
  h1 { font-size: 28px; line-height: 36px; }
  h2 { font-size: 22px; line-height: 30px; }
  h3 { font-size: 18px; line-height: 26px; }
  .big-answer { font-size: 28px; line-height: 36px; }
  .section { padding: 40px 0; }
  .hero { padding: 40px 0 24px; text-align: left; }
  .hero .wrap { align-items: stretch; gap: 18px; }
  .actions { flex-direction: column; }
  .actions .btn { width: 100%; }
  .shots { padding-bottom: 40px; }
  .shots .wrap { grid-template-columns: 1fr 1fr; gap: 8px; }
  .shots .ph:first-child { grid-column: 1 / -1; aspect-ratio: 4 / 3; }
  .shots .ph:not(:first-child) { aspect-ratio: 1 / 1; }
  .split { gap: 16px; }
  .split > * { flex-basis: 100%; }
  .services, .cards { grid-template-columns: 1fr; }
  .service { padding: 14px 0; }
  .card { padding: 20px; }
  .steps { grid-template-columns: 1fr; margin: 24px 0; }
  .steps li { flex-direction: row; gap: 16px; padding: 12px 0; }
  .steps span:last-child { display: none; }
  .gallery { gap: 6px; }
  .gallery .ph { aspect-ratio: 1 / 1; }
  .form { grid-template-columns: 1fr; padding: 20px 16px; }
  .brand img { width: 120px; }
  .menu-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .site-header .wrap { flex-wrap: wrap; }
  .nav { display: none; width: 100%; flex-direction: column; align-items: stretch; gap: 0; padding-bottom: 16px; font-size: 20px; line-height: 28px; }
  .nav.is-open { display: flex; }
  .nav a:not(.btn):not(.icon-link) { min-height: 56px; display: flex; align-items: center; border-bottom: var(--stitch); color: var(--navy); }
  .nav .btn { margin-top: 16px; min-height: 48px; font-size: 14px; }
  .nav .icon-text { display: inline; }
  .nav .icon-link { width: auto; justify-content: flex-start; gap: 10px; font-size: 15px; }
  .site-footer .wrap { flex-direction: column; align-items: flex-start; }
}
