/* DMPF Capital — dmpf.cz. Rozmery podľa vizuálu (šírka 1024 px): 1 vizuálny px = var(--u). */
@font-face { font-family: 'Newsreader'; font-style: normal; font-weight: 300 500; font-display: swap; src: url(/assets/fonts/Newsreader-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: 'Newsreader'; font-style: normal; font-weight: 300 500; font-display: swap; src: url(/assets/fonts/Newsreader-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; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 300 700; font-display: swap; src: url(/assets/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: 300 700; font-display: swap; src: url(/assets/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; }
@font-face { font-family: 'Jakarta'; font-style: normal; font-weight: 400 800; font-display: swap; src: url(/assets/fonts/Jakarta-latin.woff2) format('woff2'); }

:root {
  --u: calc(min(100vw, 1180px) / 1024);
  --bg: #0d0e0e;
  --bg-deep: #0b0b0c;
  --line: #262727;
  --text: #f4f2ee;
  --text-2: #c9c6c0;
  --gold: #e2c597;        /* eyebrow */
  --gold-line: #bca180;   /* krátke linky pod nadpismi */
  --gold-dim: #a3917b;    /* zvislé linky, šípky */
  --btn-a: #dcc29b; --btn-b: #c9ad84;
  --serif: 'Newsreader', 'Times New Roman', Georgia, serif;
  --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --pad: calc(70 * var(--u));
}
*, *::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-family: var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--btn-a); color: #111; padding: 10px 16px; font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

/* ── Hlavička (leží na hero pozadí) ── */
.hdr { position: absolute; top: 0; left: 0; right: 0; z-index: 10; display: flex; align-items: center; justify-content: space-between; padding: calc(28 * var(--u)) var(--pad) 0; }
.hdr .logo img { height: calc(50 * var(--u)); width: auto; }
.nav ul { display: flex; gap: calc(46 * var(--u)); list-style: none; margin: 0; padding: 0; }
.nav a { position: relative; display: block; font-size: calc(13 * var(--u)); text-decoration: none; color: var(--text); padding: calc(6 * var(--u)) 0; letter-spacing: .01em; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: calc(-8 * var(--u)); height: 2px; background: var(--gold-dim); transform: scaleX(0); transition: transform .2s; }
.nav a[aria-current="true"]::after, .nav a:hover::after { transform: scaleX(1); }
.menu-btn { display: none; }

/* ── Hero ── */
.hero { position: relative; height: calc(628 * var(--u)); background:
  linear-gradient(90deg, #0d0e0e 0, rgba(13,14,14,.82) 28%, rgba(13,14,14,.25) 50%, rgba(13,14,14,0) 62%),
  linear-gradient(0deg, rgba(13,14,14,.55) 0, rgba(13,14,14,0) 22%),
  linear-gradient(180deg, rgba(13,14,14,.7) 0, rgba(13,14,14,0) 20%),
  #0d0e0e url(/assets/img/hero.webp) right center / auto 100% no-repeat; border-bottom: 1px solid var(--line); }
.hero-in { position: absolute; left: var(--pad); top: calc(176 * var(--u)); }
.eyebrow { display: block; font-size: calc(11 * var(--u)); letter-spacing: .4em; color: var(--gold); text-transform: uppercase; font-weight: 500; }
.hero h1 { font-family: var(--serif); font-weight: 400; font-size: calc(42 * var(--u)); line-height: 1.2; letter-spacing: -0.005em; margin: calc(22 * var(--u)) 0 0; color: var(--text); font-variation-settings: "opsz" 60; }
.rule { display: block; width: calc(60 * var(--u)); height: 2px; background: var(--gold-line); }
.hero .rule { margin-top: calc(34 * var(--u)); }
.ctas { display: flex; gap: calc(30 * var(--u)); margin-top: calc(40 * var(--u)); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: calc(12 * var(--u)); height: calc(40 * var(--u)); padding: 0 calc(24 * var(--u)); font: inherit; font-size: calc(12.5 * var(--u)); letter-spacing: .02em; text-decoration: none; border-radius: 2px; cursor: pointer; white-space: nowrap; transition: filter .15s, border-color .15s; }
.btn svg { width: calc(14 * var(--u)); height: calc(14 * var(--u)); }
.btn-gold { background: linear-gradient(180deg, var(--btn-a), var(--btn-b)); color: #17130d; border: 1px solid #b89e78; }
.btn-gold:hover { filter: brightness(1.06); }
.btn-line { background: transparent; color: var(--text); border: 1px solid #77746e; }
.btn-line:hover { border-color: var(--gold); }

/* ── Portfolio ── */
.portfolio { background: var(--bg); padding: calc(52 * var(--u)) calc(65 * var(--u)) calc(52 * var(--u)); border-bottom: 1px solid var(--line); }
.portfolio .eyebrow { font-size: calc(10.5 * var(--u)); letter-spacing: .42em; }
.pf-head { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; }
.pf-head p { margin: 0; font-size: calc(11 * var(--u)); color: #77736d; letter-spacing: .02em; }
.h-touch { display: none; }
@media (hover: none) { .h-hover { display: none; } .h-touch { display: inline; } }
.brands { display: grid; grid-template-columns: 173fr 187fr 187fr 198fr 157fr; list-style: none; margin: calc(26 * var(--u)) 0 0; padding: 0; }
.brands li { border-left: 1px solid #2c2d2d; }
.brands li:first-child { border-left: 0; }
.brands a { position: relative; display: flex; align-items: center; justify-content: center; height: calc(112 * var(--u)); overflow: hidden; text-decoration: none; color: var(--text); -webkit-tap-highlight-color: transparent; }
.lgw { display: flex; align-items: center; justify-content: center; transition: opacity .3s, transform .35s; }
.lg { display: block; width: auto; max-width: 100%; opacity: .9; }
.lg-cons { height: calc(54 * var(--u)); }
.lg-gombi { height: calc(14 * var(--u)); }
.lg-pub { height: calc(36 * var(--u)); }
.lg-sol { height: calc(28 * var(--u)); }
.lg-method { display: flex; flex-direction: column; align-items: center; line-height: 1; color: #ece7df; }
.lg-method b { font-family: var(--serif); font-weight: 400; font-size: calc(27 * var(--u)); letter-spacing: .06em; }
.lg-method span { font-size: calc(7.5 * var(--u)); letter-spacing: .42em; text-transform: uppercase; color: #cfb68e; margin-top: calc(6 * var(--u)); padding-left: .42em; }
.brands .arr { position: absolute; right: calc(18 * var(--u)); bottom: calc(12 * var(--u)); width: calc(13 * var(--u)); height: calc(13 * var(--u)); color: var(--gold-dim); transition: opacity .25s; }
.info { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; padding: 0 calc(20 * var(--u)); opacity: 0; transform: translateY(10px); transition: opacity .3s, transform .35s; pointer-events: none;
  background: linear-gradient(180deg, rgba(207,182,142,.07), rgba(207,182,142,.02)); border-top: 1px solid rgba(207,182,142,.5); }
.tag { font-size: calc(9.5 * var(--u)); letter-spacing: .22em; text-transform: uppercase; color: var(--gold); font-weight: 500; }
.desc { margin-top: calc(7 * var(--u)); font-size: calc(12 * var(--u)); line-height: 1.5; color: #d9d5ce; }
.dom { display: inline-flex; align-items: center; gap: 6px; margin-top: calc(9 * var(--u)); font-size: calc(10.5 * var(--u)); color: var(--gold); }
.dom svg { width: calc(10 * var(--u)); height: calc(10 * var(--u)); }
@media (hover: hover) {
  .brands a:hover .lgw, .brands a:focus-visible .lgw { opacity: 0; transform: translateY(-12px); }
  .brands a:hover .info, .brands a:focus-visible .info { opacity: 1; transform: none; }
  .brands a:hover .arr, .brands a:focus-visible .arr { opacity: 0; }
}
.brands a.open .lgw { opacity: 0; transform: translateY(-12px); }
.brands a.open .info { opacity: 1; transform: none; }
.brands a.open .arr { opacity: 0; }

/* ── O společnosti ── */
.about { display: grid; grid-template-columns: calc(395 * var(--u)) 1px 1fr; align-items: center; padding: calc(50 * var(--u)) var(--pad); min-height: calc(186 * var(--u)); border-bottom: 1px solid var(--line); background: var(--bg); }
.about h2, .contact h2 { font-family: var(--serif); font-weight: 400; font-size: calc(36 * var(--u)); line-height: 1.1; margin: 0; font-variation-settings: "opsz" 60; }
.about .rule { margin-top: calc(24 * var(--u)); }
.about .vl { height: calc(80 * var(--u)); background: var(--gold-dim); }
.about p { margin: 0 0 0 calc(78 * var(--u)); font-size: calc(14.5 * var(--u)); line-height: 1.55; color: #ece9e4; max-width: calc(430 * var(--u)); }

/* ── Kontakt ── */
.contact { position: relative; height: calc(351 * var(--u)); background:
  linear-gradient(90deg, rgba(13,14,14,0) 40%, rgba(13,14,14,.85) 75%, #0d0e0e 94%) left top / calc(704 * var(--u)) 100% no-repeat,
  #0d0e0e url(/assets/img/contact.webp) left center / auto 100% no-repeat; }
.contact-in { position: absolute; left: calc(557 * var(--u)); top: calc(48 * var(--u)); }
.contact .rule { margin-top: calc(26 * var(--u)); }
.contact p { margin: calc(24 * var(--u)) 0 0; font-size: calc(14.5 * var(--u)); line-height: 1.5; color: #ece9e4; }
.contact .btn { margin-top: calc(28 * var(--u)); height: calc(42 * var(--u)); padding: 0 calc(32 * var(--u)); }

/* ── Pätička ── */
.ftr { display: flex; align-items: center; padding: 0 calc(52 * var(--u)); height: calc(133 * var(--u)); background: var(--bg-deep); border-top: 1px solid var(--line); font-size: calc(11 * var(--u)); color: #e6e3de; }
.ftr .logo img { height: calc(36 * var(--u)); width: auto; }
.ftr .vl { width: 1px; height: calc(40 * var(--u)); background: #8c7b68; margin: 0 calc(44 * var(--u)) 0 calc(50 * var(--u)); }
.ftr nav { margin-left: auto; display: flex; align-items: center; }
.ftr nav a { text-decoration: none; padding: 0 calc(20 * var(--u)); }
.ftr nav a + a { border-left: 1px solid #8a8782; }
.ftr nav a:last-child { padding-right: 0; }
.ftr nav a:hover { color: var(--gold); }
.ftr .op { display: block; font-size: calc(10 * var(--u)); color: #8e8b86; margin-top: 4px; }

/* veľmi široké obrazovky: pozadie hero/kontakt sa dopĺňa farbou, nie naťahuje */

/* ── Tablet / mobil ── */
@media (max-width: 1023px) {
  :root { --u: 1px; --pad: 24px; }
  .hdr { padding-top: 18px; }
  .hdr .logo img { height: 40px; }
  .menu-btn { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; background: transparent; border: 1px solid #55524d; color: var(--text); border-radius: 2px; cursor: pointer; }
  .menu-btn svg { width: 22px; height: 22px; }
  .nav { display: none; position: absolute; top: 76px; left: 16px; right: 16px; background: #121313; border: 1px solid #2c2d2d; padding: 8px 20px; }
  .nav.open { display: block; }
  .nav ul { flex-direction: column; gap: 0; }
  .nav li + li { border-top: 1px solid #262727; }
  .nav a { font-size: 17px; padding: 14px 0; }
  .nav a::after { display: none; }
  .hero { height: auto; min-height: 640px; background-size: cover; background-position: 70% center; padding: 150px var(--pad) 64px; }
  .hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(13,14,14,.92) 0%, rgba(13,14,14,.7) 55%, rgba(13,14,14,.2) 100%); }
  .hero-in { position: relative; left: 0; top: 0; }
  .hero h1 { font-size: clamp(30px, 7.4vw, 40px); }
  .ctas { flex-wrap: wrap; gap: 14px; }
  .btn { height: 46px; font-size: 14px; }
  .portfolio { padding: 48px var(--pad); }
  .pf-head { flex-direction: column; gap: 8px; }
  .pf-head p { font-size: 12.5px; }
  .brands { grid-template-columns: 1fr 1fr; }
  .brands li, .brands li:first-child { border-left: 0; border-top: 1px solid #2c2d2d; }
  .brands li:nth-child(even) { border-left: 1px solid #2c2d2d; }
  .brands li:last-child { grid-column: 1 / -1; }
  .brands a { height: 132px; }
  .brands .arr { right: 14px; bottom: 12px; width: 12px; height: 12px; }
  .info { padding: 0 18px; }
  .tag { font-size: 10.5px; } .desc { font-size: 14px; margin-top: 6px; } .dom { font-size: 12.5px; margin-top: 8px; }
  .dom svg { width: 11px; height: 11px; }
  .about { grid-template-columns: 1fr; gap: 28px; padding: 56px var(--pad); }
  .about .vl { display: none; }
  .about p { margin: 0; font-size: 16px; }
  .contact { height: auto; padding: 300px var(--pad) 56px; background: linear-gradient(0deg, #0d0e0e 0, rgba(13,14,14,0) 40%) left 0 top 0 / 100% 270px no-repeat, #0d0e0e url(/assets/img/contact.webp) left top / auto 270px no-repeat; }
  .contact-in { position: static; }
  .contact p { font-size: 16px; }
  .ftr { flex-wrap: wrap; height: auto; padding: 28px var(--pad); gap: 16px; font-size: 13px; }
  .ftr .vl { display: none; }
  .ftr nav { margin-left: 0; width: 100%; }
  .ftr nav a:first-child { padding-left: 0; }
}
@media (max-width: 620px) {
  .brands { grid-template-columns: 1fr; }
  .brands li:nth-child(even) { border-left: 0; }
  .brands a { height: 118px; }
  .lg-cons { height: 50px; } .lg-gombi { height: 13px; } .lg-pub { height: 34px; } .lg-sol { height: 26px; }
  .ctas .btn { width: 100%; }
}
/* ── hlavička stále viditeľná pri posúvaní ── */
html { scroll-padding-top: calc(90 * var(--u)); }
.hdr { position: fixed; padding-bottom: calc(14 * var(--u)); transition: background-color .25s, box-shadow .25s, padding .25s; }
.hdr .logo img { transition: height .25s; }
.hdr.scrolled { background: rgba(13,14,14,.9); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: 0 1px 0 rgba(255,255,255,.06), 0 10px 30px rgba(0,0,0,.35); padding-top: calc(12 * var(--u)); padding-bottom: calc(12 * var(--u)); }
.hdr.scrolled .logo img { height: calc(40 * var(--u)); }
@media (max-width: 1023px) {
  html { scroll-padding-top: 80px; }
  .hdr { padding-bottom: 12px; }
  .hdr.scrolled { padding-top: 10px; padding-bottom: 10px; }
  .hdr.scrolled .logo img { height: 34px; }
  .nav { position: fixed; top: 70px; }
}
