/* Barták Digital — společný vzhled všech stránek.
   Hlavní barvy: černá, bílá, tmavě modrá a světle modrá.
   Poloprůhledné odstíny vycházejí z těchto čtyř barev. */
:root {
  --black: #000000;
  --white: #ffffff;
  --navy: #00125a;
  --blue: #13b5e9;
  --text: var(--white);
  --muted: rgb(255 255 255 / 65%);
  --line: rgb(255 255 255 / 17%);
  --surface: rgb(255 255 255 / 4%);
  --max: 1216px;
  --gutter: clamp(22px, 4.5vw, 68px);
  --radius: 12px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; }
body { margin: 0; color: var(--text); background: var(--black); font-family: "Segoe UI", Arial, sans-serif; font-size: 16px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
::selection { color: var(--black); background: var(--blue); }
img, svg { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; }
button, a, input, select, textarea, summary { -webkit-tap-highlight-color: transparent; }
button, select, summary { cursor: pointer; }
button { color: inherit; }
a { color: inherit; text-decoration: none; }
p, h1, h2, h3, h4, figure { margin: 0; }
h1, h2, h3, h4 { font-weight: 650; line-height: 1.1; letter-spacing: -.045em; }
p + p { margin-top: 1em; }
ul, ol { padding: 0; margin: 0; list-style: none; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 5px; }
.site-header :focus-visible, .site-footer :focus-visible, .light-section :focus-visible { outline-color: var(--navy); }
.container { width: min(var(--max), calc(100% - var(--gutter) * 2)); margin-inline: auto; }
.skip-link { position: fixed; z-index: 1000; left: 20px; top: 12px; padding: 10px 18px; background: var(--blue); color: var(--black); transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.eyebrow { display: flex; align-items: center; gap: 12px; font-size: 11px; font-weight: 600; line-height: 1.5; letter-spacing: .16em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 22px; height: 2px; flex: 0 0 22px; background: var(--blue); }
.muted { color: var(--muted); }
.blue { color: var(--blue); }
.arrow { width: 19px; height: 19px; flex-shrink: 0; }
.section { padding-block: 88px; }
.section--tight { padding-block: 60px; }
.section--line { border-top: 1px solid var(--line); }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; margin-bottom: 36px; }
.section-heading h2 { margin-top: 16px; font-size: clamp(32px, 4vw, 51px); }
.section-heading > p { max-width: 40ch; color: var(--muted); }
.text-link { display: inline-flex; align-items: center; justify-content: flex-start; gap: 12px; font-size: 14px; font-weight: 600; text-underline-offset: 5px; }
.text-link:hover { text-decoration: underline; }
.text-link .arrow { transition: transform .2s ease; }
.text-link:hover .arrow { transform: translate(3px, -3px); }
.button { display: inline-flex; min-height: 50px; align-items: center; justify-content: center; gap: 22px; padding: 13px 23px; border: 1px solid transparent; border-radius: 6px; font-weight: 650; font-size: 14px; line-height: 1.4; transition: transform .2s ease, background .2s ease, border-color .2s ease; }
.button:hover { transform: translateY(-2px); }
.button--blue { color: var(--black); background: var(--blue); }
.button--blue:hover { background: var(--white); }
.button--white { color: var(--black); background: var(--white); }
.button--white:hover { background: var(--blue); }
.button--outline { color: var(--white); background: transparent; border-color: var(--line); }
.button--outline:hover { border-color: var(--blue); }
.button--black { color: var(--white); background: var(--black); }
.button--black:hover { background: var(--navy); }
.actions { display: flex; align-items: center; flex-wrap: wrap; gap: 28px; margin-top: 32px; }
.tag { display: inline-flex; align-items: center; min-height: 26px; padding: 4px 10px; border: 1px solid var(--line); border-radius: 4px; font-size: 10px; line-height: 1.4; letter-spacing: .07em; text-transform: uppercase; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
/* Hlavička a logo Barták Digital — aktuální schválená varianta. */
.site-header { position: sticky; top: 0; z-index: 100; color: var(--black); background: var(--white); border-bottom: 1px solid rgb(0 0 0 / 8%); }
.header-inner { min-height: 86px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: block; flex: 0 0 auto; }
.wordmark { width: 224px; height: auto; }
.browser-mark, .brand-symbol { object-fit: contain; }
.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav a { position: relative; padding-block: 10px; font-size: 13px; font-weight: 600; white-space: nowrap; }
.site-nav a:not(.nav-contact)::after { content: ""; height: 2px; position: absolute; left: 0; right: 0; bottom: 4px; background: var(--blue); transform: scaleX(0); transform-origin: left; transition: transform .2s ease; }
.site-nav a[aria-current="page"]::after, .site-nav a:hover::after { transform: scaleX(1); }
.site-nav .nav-contact { display: inline-flex; align-items: center; gap: 16px; background: var(--black); color: var(--white); padding: 11px 17px; border-radius: 5px; }
.nav-contact:hover, .site-nav .nav-contact[aria-current="page"] { background: var(--navy); }
.menu-toggle { display: none; border: 1px solid rgb(0 0 0 / 18%); background: var(--white); color: var(--black); border-radius: 5px; min-width: 46px; height: 44px; align-items: center; justify-content: center; }
.menu-toggle svg { width: 22px; height: 22px; }
/* Úvodní stránka */
.home-hero { position: relative; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 34px; align-items: center; padding-block: 82px 78px; }
.hero-copy h1 { font-size: clamp(51px, 5.6vw, 82px); margin-top: 24px; line-height: 1.02; letter-spacing: -.06em; }
.hero-copy h1 span { color: var(--blue); }
.hero-copy .lead { max-width: 43ch; font-size: 17px; color: var(--muted); margin-top: 25px; }
.hero-note { font-size: 11px; color: var(--muted); margin-top: 35px; letter-spacing: .03em; }
.hero-visual { position: relative; min-height: 418px; width: 100%; display: flex; align-items: center; padding: 35px 0 35px 12px; }
.hero-visual::before { content: ""; position: absolute; width: 420px; height: 420px; border: 1px solid rgb(19 181 233 / 20%); border-radius: 50%; right: -90px; top: -2px; }
.hero-visual::after { content: ""; position: absolute; width: 282px; height: 282px; border: 1px solid rgb(255 255 255 / 10%); border-radius: 50%; right: -20px; top: 67px; z-index: -1; }
.browser-art { position: relative; width: 100%; border: 1px solid rgb(255 255 255 / 28%); border-radius: 11px; overflow: hidden; box-shadow: 18px 26px 0 rgb(0 18 90 / 65%); transform: rotate(-4deg); background: var(--navy); }
.browser-bar { display: flex; align-items: center; height: 34px; padding-inline: 16px; gap: 5px; background: var(--white); color: var(--black); }
.browser-bar i { width: 5px; height: 5px; border: 1px solid rgb(0 0 0 / 42%); border-radius: 50%; }
.browser-bar span { margin-inline: auto; font-size: 8px; font-weight: 650; letter-spacing: .12em; }
.browser-content { position: relative; min-height: 304px; padding: 27px 28px; overflow: hidden; background: linear-gradient(122deg, var(--navy) 0%, var(--black) 100%); }
.browser-caption { font-size: 8px; letter-spacing: .15em; color: rgb(255 255 255 / 65%); }
.browser-title { font-size: clamp(32px, 3.7vw, 53px); line-height: 1.02; letter-spacing: -.06em; margin-top: 31px; position: relative; z-index: 1; }
.browser-title span { color: var(--blue); }
.browser-mark { position: absolute; width: 143px; height: 145px; right: 13px; top: 68px; opacity: .95; transform: rotate(10deg); }
.browser-projects { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; margin-top: 37px; }
.browser-projects span { border-top: 1px solid rgb(255 255 255 / 30%); padding-top: 13px; font-size: 9px; letter-spacing: .06em; }
.floating-note { position: absolute; bottom: 15px; right: -16px; background: var(--blue); color: var(--black); padding: 17px 21px; border-radius: 6px; box-shadow: 0 13px 35px rgb(0 0 0 / 35%); transform: rotate(4deg); display: flex; align-items: center; gap: 26px; }
.floating-note span { display: block; font-size: 9px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.floating-note strong { display: block; margin-top: 2px; font-size: 17px; font-weight: 650; letter-spacing: -.03em; }
.floating-note .arrow { width: 30px; height: 30px; }
.hero-index { border-block: 1px solid var(--line); display: grid; grid-template-columns: repeat(3, 1fr); padding-block: 21px; gap: 20px; }
.hero-index span { display: flex; align-items: baseline; gap: 14px; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; }
.hero-index b { color: var(--blue); font-size: 10px; font-weight: 500; }
/* Projekty — výtvarné motivy, nikoli snímky klientských webů. */
.project-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; }
.project-link { display: block; height: 100%; }
.project-cover { position: relative; overflow: hidden; border-radius: var(--radius); aspect-ratio: 4 / 3; background: var(--navy); }
.project-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.project-cover .sokol-visual, .project-cover .dkf-visual { object-fit: contain; padding: 18px; }
.project-cover .dkf-visual { background: var(--white); }
.project-cover .sokol-visual { background: rgb(0 0 0 / 30%); }
.project-link:hover .project-cover img { transform: scale(1.035); }
.project-meta { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; margin-top: 21px; }
.project-meta h3 { font-size: 22px; line-height: 1.2; letter-spacing: -.035em; }
.project-meta .arrow { margin-top: 4px; transition: transform .2s; }
.project-link:hover .project-meta .arrow { transform: translate(3px, -3px); }
.project-description { font-size: 14px; line-height: 1.6; color: var(--muted); margin-top: 11px; max-width: 46ch; }
.project-kicker { display: block; font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.intro-split { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.intro-split h2 { font-size: clamp(33px, 3.8vw, 51px); margin-top: 18px; }
.intro-split > div > p { max-width: 55ch; color: var(--muted); }
.simple-list { margin-top: 27px; }
.simple-list li { border-bottom: 1px solid var(--line); padding: 18px 0; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.simple-list li span { font-size: 16px; }
.simple-list li small { font-size: 11px; color: var(--muted); }
.simple-list + .text-link { margin-top: 26px; }
/* Společný kontakt a patička */
.closing { padding-block: 20px 76px; }
.closing-panel { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding: 46px 49px; border-radius: var(--radius); background: var(--navy); overflow: hidden; position: relative; }
.closing-panel h2 { font-size: clamp(31px, 4.1vw, 55px); margin-top: 16px; }
.closing-panel h2 span { color: var(--blue); }
.closing-panel .button { position: relative; z-index: 1; flex-shrink: 0; }
.closing-panel::after { content: ""; width: 280px; height: 280px; border: 1px solid rgb(19 181 233 / 20%); border-radius: 50%; right: 45px; top: -105px; position: absolute; pointer-events: none; }
/* Patička — logo a kontakt tvoří jeden celek, navigace je samostatně. */
.site-footer { color: var(--black); background: var(--white); padding-block: 39px 20px; }
.footer-main { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(290px, .85fr); align-items: start; gap: clamp(40px, 8vw, 135px); padding-bottom: 31px; }
.footer-brand { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; }
.footer-brand .wordmark { width: 254px; }
.footer-brand p { margin-top: 8px; color: rgb(0 0 0 / 61%); font-size: 12px; line-height: 1.5; }
.footer-contact { display: grid; justify-items: start; gap: 5px; margin-top: 23px; }
.footer-heading { display: block; color: var(--navy); font-size: 10px; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; line-height: 1.5; }
.footer-email { display: inline-flex; align-items: center; gap: 12px; max-width: 100%; padding-bottom: 3px; border-bottom: 1px solid rgb(0 18 90 / 18%); font-size: clamp(17px, 2vw, 21px); font-weight: 650; letter-spacing: -.035em; line-height: 1.45; overflow-wrap: anywhere; transition: border-color .2s ease, color .2s ease; }
.footer-email .arrow { width: 18px; height: 18px; color: var(--blue); }
.footer-email:hover { color: var(--navy); border-color: var(--blue); }
.footer-side { display: grid; justify-items: start; align-content: start; gap: 18px; padding-top: 4px; }
.footer-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 29px; width: 100%; font-size: 13px; font-weight: 600; line-height: 1.5; }
.footer-links a { display: inline-block; width: fit-content; text-underline-offset: 4px; }
.footer-links a:hover { color: var(--navy); text-decoration: underline; }
.footer-legal { padding-block: 17px; border-top: 1px solid rgb(0 0 0 / 13%); border-bottom: 1px solid rgb(0 0 0 / 13%); }
.footer-operator { display: flex; align-items: baseline; flex-wrap: wrap; gap: 10px 34px; margin: 0; font-style: normal; font-size: 11px; line-height: 1.6; color: rgb(0 0 0 / 79%); }
.footer-operator > span { display: inline-flex; align-items: baseline; flex-wrap: wrap; gap: 8px; }
.footer-meta-label { color: rgb(0 0 0 / 56%); }
.footer-operator strong { font-weight: 650; color: rgb(0 0 0 / 84%); }
.footer-bottom { padding-top: 16px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px 22px; font-size: 10px; color: rgb(0 0 0 / 58%); letter-spacing: .025em; }
.footer-colors { display: flex; align-items: center; gap: 5px; }
.footer-colors i { width: 9px; height: 9px; background: var(--black); border-radius: 50%; }
.footer-colors i:nth-child(2) { background: var(--white); border: 1px solid rgb(0 0 0 / 20%); }
.footer-colors i:nth-child(3) { background: var(--navy); }
.footer-colors i:nth-child(4) { background: var(--blue); }
/* Vnitřní stránky */
.page-hero { padding-block: 65px 52px; }
.page-hero h1 { margin-top: 22px; max-width: 100%; font-size: clamp(44px, 5.4vw, 74px); line-height: 1.035; }
.page-hero h1 span { color: var(--blue); }
.page-hero .lead { color: var(--muted); font-size: 17px; max-width: 58ch; margin-top: 23px; }
.page-hero--split { display: grid; grid-template-columns: 1.15fr .85fr; gap: 80px; align-items: end; }
.page-hero--split .lead { margin-bottom: 3px; }
.service-rows { border-top: 1px solid var(--line); }
.service-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(28px, 4vw, 56px); padding: 35px 0; border-bottom: 1px solid var(--line); align-items: start; }
.service-number { color: var(--blue); font-size: 12px; padding-top: 7px; }
.service-row > div, .service-row > p { min-width: 0; }
.service-row h2 { font-size: clamp(26px, 3vw, 36px); }
.service-row .tags { margin-top: 20px; }
.service-row p { color: var(--muted); max-width: 57ch; }
.light-section { background: var(--white); color: var(--black); }
.light-section .section-heading > p { color: rgb(0 0 0 / 62%); }
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.process-step { border-top: 1px solid rgb(0 0 0 / 20%); padding-top: 19px; }
.process-step > span { font-size: 11px; color: var(--navy); }
.process-step h3 { font-size: 24px; margin-top: 30px; }
.process-step p { font-size: 14px; color: rgb(0 0 0 / 65%); margin-top: 13px; }
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 75px; }
.faq-grid h2 { font-size: clamp(31px, 3.6vw, 47px); margin-top: 17px; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { display: flex; justify-content: space-between; align-items: center; gap: 25px; list-style: none; padding: 23px 0; font-size: 16px; font-weight: 600; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; font-size: 22px; color: var(--blue); font-weight: 400; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list details p { color: var(--muted); font-size: 14px; padding: 0 25px 24px 0; }
.portfolio-controls { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-bottom: 33px; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filter { background: transparent; color: var(--muted); border: 1px solid var(--line); border-radius: 5px; padding: 9px 17px; font-size: 12px; }
.filter[aria-pressed="true"] { color: var(--black); border-color: var(--white); background: var(--white); }
.filter:hover { border-color: var(--blue); }
.project-count { font-size: 12px; color: var(--muted); white-space: nowrap; }
.portfolio-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 45px 30px; }
.portfolio-grid .project-cover { aspect-ratio: 16 / 10; }
.portfolio-grid .project-meta h3 { font-size: 27px; }
.portfolio-grid .project-card--wide { grid-column: 1 / -1; }
.portfolio-grid .project-card--wide .project-cover { aspect-ratio: 2.8 / 1; }
.portfolio-grid .project-card--wide .project-cover img { object-position: center; }
.project-disclaimer { margin-top: 28px; color: var(--muted); font-size: 11px; }
/* O mně */
.about-grid { display: grid; grid-template-columns: 1.12fr .88fr; gap: 65px; align-items: center; padding-block: 68px; }
.about-grid h1 { font-size: clamp(45px, 5.5vw, 74px); margin-top: 23px; }
.about-grid h1 span { color: var(--blue); }
.about-grid .lead { font-size: 17px; color: var(--muted); margin-top: 26px; max-width: 51ch; }
.identity-card { position: relative; padding: 34px; color: var(--black); background: var(--white); border-radius: var(--radius); min-height: 380px; overflow: hidden; }
.identity-top { display: flex; justify-content: space-between; align-items: flex-start; font-size: 9px; letter-spacing: .12em; }
.identity-card .brand-symbol { width: 88px; height: 85px; }
.identity-name { position: relative; font-size: clamp(48px, 5vw, 67px); font-weight: 650; line-height: .99; letter-spacing: -.06em; margin-top: 39px; z-index: 1; }
.identity-bottom { display: flex; justify-content: space-between; align-items: center; gap: 20px; border-top: 1px solid rgb(0 0 0 / 16%); margin-top: 33px; padding-top: 19px; font-size: 11px; }
.identity-card::after { content: ""; width: 230px; height: 230px; position: absolute; right: -115px; bottom: 78px; border: 36px solid var(--blue); border-radius: 50%; }
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 35px; }
.value { padding-top: 22px; border-top: 1px solid var(--line); }
.value > span { color: var(--blue); font-size: 11px; }
.value h3 { font-size: 25px; margin-top: 25px; }
.value p { margin-top: 15px; color: var(--muted); font-size: 14px; }
.own-project-feature { display: grid; grid-template-columns: 1fr 1fr; gap: 57px; align-items: center; }
.own-project-feature img { width: 100%; border-radius: var(--radius); }
.own-project-feature h2 { font-size: clamp(32px, 4vw, 48px); margin-top: 18px; }
.own-project-feature p { color: var(--muted); margin-top: 22px; }
.own-project-feature .text-link { margin-top: 23px; }
/* Kontakt */
.contact-layout { display: grid; grid-template-columns: .88fr 1.12fr; align-items: start; gap: 75px; padding-block: 5px 84px; }
.contact-intro { padding-top: 10px; }
.contact-intro > p { color: var(--muted); max-width: 40ch; }
.contact-method { margin-top: 34px; }
.contact-method > span { display: block; font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.contact-method > a { display: inline-flex; align-items: center; gap: 14px; margin-top: 7px; font-size: clamp(21px, 2.5vw, 30px); font-weight: 550; letter-spacing: -.04em; overflow-wrap: anywhere; }
.contact-method > a:hover { color: var(--blue); }
.contact-location { display: grid; gap: 4px; font-size: 13px; margin-top: 28px; color: var(--muted); font-style: normal; line-height: 1.6; }
.contact-location__name { color: var(--white); font-weight: 500; }
.contact-location__note { margin-top: 4px; }
.contact-help { margin-top: 35px; padding-top: 25px; border-top: 1px solid var(--line); }
.contact-help h2 { font-size: 19px; letter-spacing: -.025em; }
.contact-help ul { margin-top: 13px; color: var(--muted); font-size: 13px; }
.contact-help li { position: relative; padding-left: 15px; margin-top: 7px; }
.contact-help li::before { content: "·"; position: absolute; left: 0; color: var(--blue); }
.contact-form { position: relative; background: linear-gradient(160deg, rgb(0 18 90 / 22%), rgb(255 255 255 / 4%) 47%); border: 1px solid rgb(255 255 255 / 19%); border-top: 2px solid var(--blue); border-radius: var(--radius); padding: 34px; }
.form-header { margin-bottom: 28px; }
.form-header-top { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; }
.form-availability { display: inline-flex; align-items: center; gap: 9px; color: var(--blue); font-weight: 700; font-size: 10px; text-transform: uppercase; letter-spacing: .1em; }
.form-availability > span { width: 7px; height: 7px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 4px rgb(19 181 233 / 12%); }
.form-required-note { color: var(--muted); font-size: 11px; }
.form-header h2 { font-size: clamp(25px, 2.5vw, 32px); margin-top: 19px; letter-spacing: -.055em; }
.form-header p { font-size: 13px; color: var(--muted); margin-top: 10px; max-width: 52ch; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 18px; }
.field { min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field label { display: block; font-size: 12px; font-weight: 650; margin-bottom: 7px; }
.field label > span:not(.field-optional) { color: var(--blue); }
.field-optional { margin-left: 6px; color: var(--muted); font-weight: 400; font-size: 10px; }
.field input, .field select, .field textarea { display: block; width: 100%; max-width: 100%; color: var(--white); background: rgb(0 0 0 / 62%); border: 1px solid rgb(255 255 255 / 25%); border-radius: 7px; padding: 12px 13px; font-size: 14px; line-height: 1.5; transition: border-color .17s, background .17s; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: rgb(255 255 255 / 55%); }
.field input, .field select { min-height: 48px; }
.field input::placeholder, .field textarea::placeholder { color: rgb(255 255 255 / 48%); opacity: 1; }
.field select:required:invalid { color: rgb(255 255 255 / 53%); }
.field select option { color: var(--white); background: #090909; }
.field textarea { min-height: 154px; resize: vertical; }
.field :is(input, select, textarea):focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; border-color: var(--blue); }
.field-bottom { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-top: 8px; }
.field-hint, .field-bottom output { color: var(--muted); font-size: 10px; line-height: 1.55; }
.field-bottom output { white-space: nowrap; font-variant-numeric: tabular-nums; }
.form-note { font-size: 11px; line-height: 1.65; color: var(--muted); margin-top: 23px; }
.form-note a { color: var(--white); text-decoration: underline; text-decoration-color: var(--blue); text-underline-offset: 3px; }
.form-note a:hover { color: var(--blue); }
.form-submit { width: 100%; min-height: 53px; margin-top: 20px; gap: 15px; }
.form-submit:disabled { opacity: .78; cursor: wait; transform: none; }
.form-secure-line { margin-top: 12px; color: var(--muted); font-size: 10px; text-align: center; }
.form-status { font-size: 12px; line-height: 1.6; color: var(--blue); margin-top: 15px; }
.form-status.is-error { color: #ffffff; border-left: 3px solid var(--blue); background: rgb(0 18 90 / 45%); padding: 10px 13px; }
.form-status:empty { display: none; }
.bot-trap { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; border: 0 !important; overflow: hidden !important; clip-path: inset(50%) !important; white-space: nowrap !important; }
.contact-success { padding: 36px 5px 12px; }
.success-symbol { display: grid; place-items: center; width: 55px; height: 55px; border-radius: 50%; background: var(--blue); color: var(--black); font-size: 28px; font-weight: 700; margin-bottom: 26px; }
.contact-success .eyebrow { color: var(--blue); }
.contact-success h2 { font-size: clamp(30px, 3vw, 38px); margin-top: 15px; }
.contact-success > p:not(.eyebrow) { color: var(--muted); margin-top: 15px; max-width: 44ch; font-size: 14px; }
.success-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 23px; margin-top: 32px; }
.privacy-content { max-width: 850px; padding: 0 0 85px; }
.privacy-content h2 { font-size: 27px; margin-top: 32px; }
.privacy-content p, .privacy-content li { color: var(--muted); margin-top: 13px; }
.privacy-content a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.privacy-content ul { list-style: disc; margin-left: 20px; }
/* Detaily realizací */
.breadcrumb { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; color: var(--muted); font-size: 11px; margin-bottom: 30px; }
.breadcrumb a:hover { color: var(--white); text-decoration: underline; }
.breadcrumb > span:last-child { color: var(--white); }
.project-detail-hero { padding-bottom: 33px; }
.project-detail-hero h1 { margin-top: 18px; font-size: clamp(39px, 5.7vw, 74px); }
.project-detail-hero .lead { max-width: 68ch; font-size: 16px; }
.detail-artwork { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.detail-artwork img { width: 100%; height: auto; max-height: 465px; object-fit: cover; border-radius: var(--radius); }
.detail-artwork .sokol-visual { width: min(100%, 560px); max-height: none; object-fit: contain; }
.detail-artwork .dkf-visual { width: min(100%, 860px); max-height: none; object-fit: contain; background: var(--white); padding: 18px 22px; }
.detail-artwork .erathron-visual { width: min(100%, 1000px); max-height: none; object-fit: cover; }
.detail-artwork figcaption { width: 100%; margin-top: 0; color: var(--muted); font-size: 10px; text-align: right; }
.project-story { display: grid; grid-template-columns: 1.4fr .6fr; gap: 90px; padding-block: 53px 62px; }
.project-story h2 { font-size: 33px; margin-bottom: 20px; }
.project-story p { color: var(--muted); max-width: 68ch; }
.project-facts { margin: 0; }
.project-facts div { border-top: 1px solid var(--line); padding: 15px 0 17px; }
.project-facts dt { color: var(--muted); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; }
.project-facts dd { margin: 5px 0 0; font-size: 15px; }
.focus-points { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 25px; }
.next-project { display: flex; justify-content: space-between; gap: 30px; align-items: center; padding-block: 26px; border-block: 1px solid var(--line); margin-bottom: 64px; }
.next-project small { display: block; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; font-size: 10px; }
.next-project strong { display: block; margin-top: 6px; font-size: 26px; line-height: 1.2; font-weight: 550; letter-spacing: -.04em; }
.next-project .arrow { width: 29px; height: 29px; }
.next-project:hover strong { color: var(--blue); }
/* Tablet a mobil */
@media (min-width: 1500px) { .hero-grid { padding-block: 96px; } }
@media (max-width: 1120px) {
  .site-nav { gap: 19px; }
  .wordmark { width: 200px; }
  .hero-grid { gap: 27px; }
  .hero-copy .actions { gap: 20px; }
  .browser-mark { width: 114px; right: 8px; }
  .browser-content { padding-inline: 22px; }
  .floating-note { right: -5px; }
  .intro-split, .contact-layout, .project-story { gap: 50px; }
  .about-grid { gap: 40px; }
}
@media (max-width: 899px) {
  .header-inner { min-height: 75px; flex-wrap: wrap; gap: 0; }
  .wordmark { width: 205px; }
  .js .menu-toggle { display: flex; }
  .site-nav { width: 100%; flex-wrap: wrap; justify-content: flex-start; gap: 8px 24px; padding-block: 12px 20px; }
  .js .site-nav { display: none; }
  .js .site-nav.is-open { display: flex; }
  .site-nav a { font-size: 14px; }
  .hero-grid { grid-template-columns: 1fr 1fr; padding-block: 62px; gap: 23px; }
  .hero-copy h1 { font-size: clamp(43px, 6vw, 60px); }
  .hero-copy .lead { font-size: 15px; }
  .hero-copy .actions { align-items: flex-start; flex-direction: column; gap: 22px; }
  .hero-note { max-width: 26ch; margin-top: 25px; }
  .hero-visual { min-height: 340px; padding-left: 0; }
  .browser-title { font-size: 37px; }
  .browser-mark { width: 96px; right: 10px; top: 86px; opacity: .55; }
  .browser-content { min-height: 271px; padding: 21px 19px; }
  .browser-projects { gap: 7px; margin-top: 30px; }
  .browser-projects span { font-size: 7px; }
  .floating-note { padding: 12px 15px; gap: 12px; right: -3px; bottom: 0; }
  .floating-note strong { font-size: 14px; }
  .floating-note .arrow { width: 23px; height: 23px; }
  .section { padding-block: 65px; }
  .project-grid { gap: 20px; }
  .project-meta h3 { font-size: 19px; }
  .project-description { font-size: 13px; }
  .intro-split { gap: 40px; }
  .closing-panel { padding: 35px; }
  .closing { padding-bottom: 60px; }
  .footer-main { gap: 35px; }
  .page-hero--split { gap: 35px; }
  .service-row { gap: 24px; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); }
  .process-grid { grid-template-columns: 1fr 1fr; gap: 35px; }
  .process-step h3 { margin-top: 18px; }
  .faq-grid { gap: 37px; grid-template-columns: .8fr 1.2fr; }
  .about-grid { gap: 30px; }
  .identity-card { min-height: 348px; padding: 26px; }
  .identity-name { font-size: 53px; }
  .values-grid { gap: 25px; }
  .own-project-feature { gap: 35px; }
  .contact-layout { gap: 32px; grid-template-columns: .85fr 1.15fr; }
  .contact-form { padding: 23px; }
  .form-grid { gap: 18px; }
  .field { grid-column: 1 / -1; }
  .project-story { grid-template-columns: 1.3fr .7fr; gap: 40px; }
}
@media (max-width: 650px) {
  :root { --gutter: 22px; }
  body { font-size: 15px; }
  .header-inner { min-height: 72px; }
  .wordmark { width: 196px; }
  .site-nav { flex-direction: column; align-items: stretch; gap: 4px; }
  .site-nav a { padding: 12px 8px; }
  .site-nav a::after { max-width: 38px; }
  .site-nav .nav-contact { justify-content: space-between; padding: 13px 15px; margin-top: 6px; }
  .hero-grid { grid-template-columns: 1fr; gap: 24px; padding-block: 48px 39px; }
  .hero-copy h1 { font-size: clamp(46px, 10.6vw, 66px); margin-top: 22px; }
  .hero-copy .lead { font-size: 16px; max-width: 40ch; margin-top: 23px; }
  .hero-copy .actions { flex-direction: row; align-items: center; gap: 18px 25px; margin-top: 27px; }
  .hero-copy .button { padding: 13px 18px; gap: 16px; font-size: 13px; }
  .hero-copy .text-link { font-size: 13px; }
  .hero-note { max-width: none; margin-top: 27px; font-size: 10px; }
  .hero-visual { max-width: 470px; width: calc(100% - 16px); min-height: 326px; margin-inline: auto; padding-top: 17px; padding-bottom: 35px; }
  .hero-visual::before { width: 315px; height: 315px; right: -25px; top: 10px; }
  .browser-art { box-shadow: 11px 16px 0 var(--navy); transform: rotate(-3deg); }
  .browser-bar { height: 29px; }
  .browser-content { min-height: 251px; padding: 22px; }
  .browser-title { font-size: 41px; margin-top: 23px; }
  .browser-mark { width: 107px; height: 112px; top: 67px; right: 24px; opacity: 1; }
  .browser-projects { margin-top: 27px; }
  .browser-projects span { font-size: 8px; }
  .floating-note { bottom: 3px; right: -1px; }
  .hero-index { gap: 12px; padding-block: 17px; }
  .hero-index span { font-size: 8px; letter-spacing: .065em; gap: 8px; align-items: center; }
  .hero-index b { font-size: 8px; }
  .section { padding-block: 53px; }
  .section--tight { padding-block: 40px; }
  .section-heading { flex-direction: column; align-items: flex-start; gap: 23px; margin-bottom: 29px; }
  .section-heading h2 { font-size: 35px; margin-top: 14px; }
  .project-grid, .portfolio-grid { grid-template-columns: 1fr; gap: 36px; }
  .project-cover, .portfolio-grid .project-cover { aspect-ratio: 4 / 3; }
  .project-meta { margin-top: 17px; }
  .project-meta h3, .portfolio-grid .project-meta h3 { font-size: 24px; }
  .project-description { font-size: 14px; }
  .project-kicker { font-size: 10px; }
  .intro-split { grid-template-columns: 1fr; gap: 25px; }
  .intro-split h2 { font-size: 36px; }
  .simple-list { margin-top: 14px; }
  .closing { padding-block: 6px 47px; }
  .closing-panel { flex-direction: column; align-items: flex-start; padding: 29px 25px; gap: 26px; }
  .closing-panel h2 { font-size: 35px; }
  .closing-panel .eyebrow { font-size: 9px; }
  .site-footer { padding-block: 32px 21px; }
  .footer-main { grid-template-columns: 1fr; gap: 28px; padding-bottom: 25px; }
  .footer-brand .wordmark { width: 230px; }
  .footer-brand p { font-size: 11px; }
  .footer-side { padding-top: 23px; border-top: 1px solid rgb(0 0 0 / 11%); }
  .footer-links { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px 20px; }
  .footer-operator { flex-direction: column; gap: 8px; }
  .footer-bottom { font-size: 9px; gap: 13px; }
  .footer-colors { margin-left: auto; }
  .page-hero { padding-block: 43px 37px; }
  .page-hero h1 { font-size: clamp(39px, 10.1vw, 59px); }
  .page-hero .lead { font-size: 16px; margin-top: 21px; }
  .page-hero--split { grid-template-columns: 1fr; gap: 0; }
  .service-row { grid-template-columns: minmax(0, 1fr); gap: 15px; padding-block: 27px; }
  .service-row > p { grid-column: 1; font-size: 14px; }
  .service-row h2 { font-size: 29px; }
  .service-row .tags { margin-top: 15px; }
  .process-grid { gap: 29px 22px; }
  .process-step h3 { font-size: 23px; }
  .process-step p { font-size: 13px; }
  .faq-grid { grid-template-columns: 1fr; gap: 30px; }
  .faq-grid h2 { font-size: 36px; }
  .faq-list summary { font-size: 15px; padding-block: 21px; }
  .portfolio-controls { align-items: flex-start; flex-direction: column; gap: 16px; padding-bottom: 24px; }
  .filter { padding: 9px 12px; font-size: 11px; }
  .project-count { font-size: 11px; }
  .portfolio-grid .project-card--wide { grid-column: auto; }
  .portfolio-grid .project-card--wide .project-cover { aspect-ratio: 4 / 3; }
  .project-disclaimer { margin-top: 23px; font-size: 10px; }
  .about-grid { grid-template-columns: 1fr; padding-block: 45px; gap: 35px; }
  .about-grid h1 { font-size: 51px; }
  .about-grid .lead { font-size: 16px; }
  .identity-card { min-height: 332px; max-width: 450px; width: 100%; }
  .identity-name { font-size: 62px; }
  .identity-card .brand-symbol { width: 73px; height: 73px; }
  .identity-name { margin-top: 30px; }
  .identity-bottom { margin-top: 23px; }
  .values-grid { grid-template-columns: 1fr; gap: 25px; }
  .value { padding-top: 17px; }
  .value h3 { margin-top: 15px; font-size: 25px; }
  .value p { margin-top: 12px; max-width: 50ch; }
  .own-project-feature { grid-template-columns: 1fr; gap: 28px; }
  .own-project-feature h2 { font-size: 37px; }
  .contact-layout { grid-template-columns: 1fr; gap: 33px; padding-bottom: 50px; }
  .contact-intro { padding-top: 0; }
  .contact-method { margin-top: 26px; }
  .contact-method > a { font-size: 28px; }
  .contact-help { margin-top: 26px; padding-top: 21px; }
  .contact-form { padding: 23px 19px; }
  .field :is(input, select, textarea) { font-size: 16px; }
  .form-note { font-size: 11px; }
  .breadcrumb { font-size: 10px; margin-bottom: 23px; gap: 9px; }
  .project-detail-hero h1 { font-size: clamp(37px, 9.6vw, 54px); }
  .project-detail-hero .lead { font-size: 15px; }
  .detail-artwork img { min-height: 220px; aspect-ratio: 4 / 3; object-fit: cover; }
  .detail-artwork figcaption { font-size: 9px; }
  .project-story { grid-template-columns: 1fr; padding-block: 34px 40px; gap: 31px; }
  .project-story h2 { font-size: 30px; }
  .project-story p { font-size: 15px; }
  .project-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 0 23px; }
  .next-project { padding-block: 22px; margin-bottom: 48px; }
  .next-project strong { font-size: 23px; }
}
@media (max-width: 370px) {
  :root { --gutter: 18px; }
  .wordmark { width: 181px; }
  .hero-copy h1 { font-size: 43px; }
  .hero-index { grid-template-columns: 1fr; gap: 11px; }
  .hero-index span { font-size: 10px; }
  .browser-title { font-size: 35px; }
  .browser-mark { width: 88px; right: 17px; }
  .process-grid { grid-template-columns: 1fr; }
  .contact-method > a { font-size: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
@media print {
  body { color: #000; background: #fff; }
  .site-header { position: static; }
  .site-nav, .menu-toggle, .closing, .skip-link, .hero-visual, .filters, .draft-actions { display: none !important; }
  .section, .page-hero, .about-grid, .hero-grid { padding-block: 24px; }
  .muted, .lead, p, .project-description, .project-kicker { color: #000 !important; }
  .container { width: 100%; }
  a[href^="mailto:"]::after { content: ""; }
  .project-cover, .identity-card { break-inside: avoid; }
}

/* Erathron uses the official wide project artwork. Keep the whole banner visible. */
.project-cover img.erathron-visual,
.detail-artwork img.erathron-visual { object-fit: contain; background: #0b0a08; }


/* Official project artwork — keep supplied logos/graphics fully visible. */
.project-cover img.dkf-visual,
.detail-artwork img.dkf-visual { object-fit: contain; background: #fff; }
.project-cover img.sokol-visual,
.detail-artwork img.sokol-visual { object-fit: contain; background: #050505; }


/* Přímé odkazy na skutečné projekty. Karty přitom dál vedou na interní detail realizace. */
.project-live-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 10px 0 8px;
  margin-top: 9px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 650;
  line-height: 1.3;
  text-underline-offset: 4px;
}
.project-live-link .arrow { width: 16px; height: 16px; transition: transform .2s ease; }
.project-live-link:hover { text-decoration: underline; }
.project-live-link:hover .arrow { transform: translate(2px, -2px); }
.project-live-cta { display: flex; align-items: center; flex-wrap: wrap; gap: 15px 24px; margin-top: 29px; }
.project-live-cta > span { color: var(--muted); font-size: 13px; overflow-wrap: anywhere; }
@media (max-width: 600px) {
  .project-live-cta { align-items: flex-start; flex-direction: column; gap: 11px; margin-top: 25px; }
}


/* Barták Digital — individuální nabídka a typy webů bez veřejných cen. */
.hero-copy .lead { max-width: 46ch; }
.hero-copy .actions .button { white-space: nowrap; }
.hero-copy .actions .text-link { white-space: nowrap; }
.hero-index { border-bottom-color: rgb(19 181 233 / 28%); }
.hero-index span { color: rgb(255 255 255 / 78%); }
.hero-index b { font-weight: 650; }
/* Homepage: dvojpanel s vysvětlením spolupráce. */
.section--pricing-teaser { padding-top: 12px; padding-bottom: 82px; }
.price-teaser {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(290px, .8fr);
  align-items: stretch;
  overflow: hidden;
  border: 1px solid rgb(255 255 255 / 16%);
  border-radius: 15px;
  background: linear-gradient(118deg, rgb(0 18 90 / 73%), rgb(0 0 0 / 93%) 72%);
}
.price-teaser::before { content: ""; position: absolute; width: 385px; height: 385px; border: 1px solid rgb(19 181 233 / 18%); border-radius: 50%; left: -225px; bottom: -225px; pointer-events: none; }
.price-teaser__content { position: relative; padding: clamp(30px, 4.8vw, 65px); }
.price-teaser__content h2 { margin-top: 18px; font-size: clamp(33px, 4vw, 51px); }
.price-teaser__content h2 span { color: var(--blue); }
.price-teaser__content > p:not(.eyebrow) { max-width: 49ch; margin-top: 22px; font-size: 15px; color: var(--muted); }
.price-teaser__actions { margin-top: 29px; display: flex; align-items: center; flex-wrap: wrap; gap: 18px 26px; }
.price-teaser__actions .button { min-height: 50px; }
.price-teaser__spotlight { position: relative; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: 42px clamp(24px, 4vw, 55px); background: rgb(0 0 0 / 27%); border-left: 1px solid rgb(255 255 255 / 17%); }
.price-teaser__topline { display: block; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); }
.price-teaser__statement { margin-top: 22px; font-size: clamp(34px, 3.7vw, 52px); line-height: 1.08; font-weight: 660; letter-spacing: -.055em; }
.price-teaser__statement span { color: var(--blue); }
.price-teaser__steps { display: grid; gap: 12px; width: 100%; padding: 0; margin: 0; list-style: none; }
.price-teaser__steps li { display: flex; gap: 14px; color: var(--white); font-size: 12px; line-height: 1.5; }
.price-teaser__steps li span { color: var(--blue); font-size: 10px; letter-spacing: .08em; margin-top: 2px; }
.price-teaser__separator { width: 100%; height: 1px; background: rgb(255 255 255 / 17%); margin-block: 24px; }
.price-teaser__detail { display: block; max-width: 30ch; font-size: 15px; color: var(--white); }
.price-teaser__asterisk { display: block; max-width: 36ch; margin-top: 12px; font-size: 11px; color: var(--muted); }
/* Typy webů — karty služeb bez pevného ceníku. */
.service-page-intro .lead { margin-bottom: 22px; }
.service-page-prices-link { color: var(--blue); }
.section--pricing-detail { padding-top: 85px; padding-bottom: 88px; scroll-margin-top: 98px; }
.pricing-heading h2 span { color: var(--blue); }
.pricing-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 16px; align-items: stretch; }
.pricing-card { display: flex; min-width: 0; flex-direction: column; background: rgb(0 18 90 / 17%); border: 1px solid rgb(255 255 255 / 18%); border-radius: 12px; padding: 29px 27px 24px; transition: border-color .22s ease, transform .22s ease; }
.pricing-card:hover { border-color: rgb(19 181 233 / 65%); transform: translateY(-3px); }
.pricing-card--popular { background: linear-gradient(157deg, var(--navy) 0%, var(--black) 95%); border-color: rgb(19 181 233 / 63%); }
.pricing-card__index { display: block; font-size: 10px; color: var(--blue); font-weight: 650; letter-spacing: .16em; }
.pricing-card__head h3 { font-size: clamp(23px, 2.4vw, 29px); margin-top: 25px; letter-spacing: -.045em; }
.pricing-card__head p { min-height: 56px; font-size: 13px; color: var(--muted); margin-top: 12px; line-height: 1.55; }
.pricing-card__scope { color: var(--white); font-size: 13px; font-weight: 600; line-height: 1.55; margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line); min-height: 70px; }
.pricing-features { margin-top: 24px; margin-bottom: 28px; display: grid; gap: 12px; }
.pricing-features li { position: relative; font-size: 13px; color: var(--muted); padding-left: 20px; line-height: 1.5; }
.pricing-features li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; position: absolute; left: 2px; top: .7em; background: var(--blue); }
.pricing-card__button { margin-top: auto; min-height: 48px; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 13px; font-size: 12px; font-weight: 650; line-height: 1.4; background: var(--white); color: var(--black); border-radius: 6px; transition: background .2s ease, color .2s ease; }
.pricing-card__button:hover { background: var(--blue); }
.pricing-card--popular .pricing-card__button { background: var(--blue); }
.pricing-card--popular .pricing-card__button:hover { background: var(--white); }
.pricing-card__button span { font-size: 21px; line-height: 1; }
.pricing-footnotes { display: flex; justify-content: space-between; gap: 35px; align-items: center; padding-top: 26px; }
.pricing-footnotes p { max-width: 80ch; color: var(--muted); font-size: 12px; line-height: 1.7; }
.pricing-footnotes strong { color: var(--white); font-weight: 600; }
.pricing-footnotes .text-link { flex-shrink: 0; color: var(--blue); }
.faq-list details p a { text-decoration: underline; text-underline-offset: 4px; color: var(--blue); }
@media (max-width: 1100px) {
  .price-teaser { grid-template-columns: 1.1fr .8fr; }
  .price-teaser__content { padding: 33px; }
  .price-teaser__spotlight { padding: 30px; }
  .pricing-card { padding-inline: 20px; }
  .pricing-footnotes { align-items: flex-start; flex-direction: column; gap: 15px; }
}
@media (max-width: 900px) {
  .price-teaser { grid-template-columns: 1fr 1fr; }
  .price-teaser__content h2 { font-size: 34px; }
  .price-teaser__spotlight { padding: 24px; }
  .pricing-grid { grid-template-columns: 1fr; gap: 14px; }
  .pricing-card { padding: 28px; }
  .pricing-card__head p, .pricing-card__scope { min-height: 0; }
  .pricing-features { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 650px) {
  .hero-copy .actions .button, .hero-copy .actions .text-link { white-space: normal; }
  .section--pricing-teaser { padding-top: 0; padding-bottom: 54px; }
  .price-teaser { grid-template-columns: 1fr; }
  .price-teaser__content { padding: 31px 25px 28px; }
  .price-teaser__content h2 { font-size: 36px; }
  .price-teaser__content > p:not(.eyebrow) { font-size: 14px; }
  .price-teaser__actions { gap: 18px 20px; }
  .price-teaser__actions .button { font-size: 12px; }
  .price-teaser__spotlight { padding: 25px; border-left: 0; border-top: 1px solid rgb(255 255 255 / 17%); }
  .price-teaser__separator { margin-block: 17px; }
  .section--pricing-detail { padding-block: 54px 60px; }
  .pricing-grid { gap: 15px; }
  .pricing-card { padding: 27px 23px; }
  .pricing-features { grid-template-columns: 1fr; }
  .pricing-footnotes { padding-top: 23px; gap: 17px; }
}
@media (max-width: 370px) {
  .price-teaser__content { padding: 25px 18px; }
  .price-teaser__spotlight { padding: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  .pricing-card { transition: none; }
}
@media print { .pricing-card { break-inside: avoid; } }

/* Stránka O mně — mobilní rozložení bez ořezávání vlastní herní grafiky.
   Cílené úpravy: jiné stránky a jejich komponenty ponecháváme beze změn. */
.about-page .own-project-feature .erathron-visual {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
  object-position: center;
  border: 1px solid rgb(255 255 255 / 11%);
  border-radius: var(--radius);
}
@media (max-width: 650px) {
  .about-page .about-grid { padding-block: 36px 36px; gap: 27px; }
  .about-page .about-grid h1 { font-size: clamp(37px, 9.6vw, 45px); margin-top: 13px; line-height: 1.04; }
  .about-page .about-grid .lead { font-size: 14px; line-height: 1.65; margin-top: 16px; }
  .about-page .about-grid .lead + .lead { margin-top: 12px; }
  .about-page .about-grid .actions { margin-top: 22px; }

  .about-page .identity-card { min-height: 0; padding: 22px; }
  .about-page .identity-top { font-size: 9px; line-height: 1.6; }
  .about-page .identity-name { font-size: clamp(44px, 12vw, 52px); margin-top: 25px; }
  .about-page .identity-card .brand-symbol { width: 71px; height: 69px; }
  .about-page .identity-card::after { width: 158px; height: 158px; right: -79px; bottom: 45px; border-width: 23px; }
  .about-page .identity-bottom { margin-top: 24px; padding-top: 15px; font-size: 10px; }

  .about-page .about-values-section { padding-block: 41px 43px; }
  .about-page .about-values-section .section-heading { margin-bottom: 23px; }
  .about-page .about-values-section .section-heading h2 { font-size: clamp(28px, 7.7vw, 33px); margin-top: 13px; }
  .about-page .values-grid { gap: 19px; }
  .about-page .value { padding-top: 16px; }
  .about-page .value h3 { font-size: 21px; margin-top: 12px; }
  .about-page .value p { font-size: 13px; line-height: 1.6; margin-top: 8px; }

  .about-page .about-erathron-section { padding-block: 41px 43px; }
  .about-page .own-project-feature { gap: 20px; }
  .about-page .own-project-feature img { width: 100%; height: auto; max-height: none; aspect-ratio: auto; object-fit: contain; }
  .about-page .own-project-feature h2 { font-size: clamp(30px, 8.2vw, 35px); margin-top: 13px; }
  .about-page .own-project-feature p { margin-top: 13px; font-size: 14px; line-height: 1.6; }
  .about-page .own-project-feature .text-link { margin-top: 19px; }
  .about-page .closing { padding-block: 5px 45px; }
  .about-page .closing-panel { padding: 27px 24px; gap: 20px; }
  .about-page .closing-panel h2 { font-size: clamp(30px, 8.5vw, 35px); }
}

/* O MNĚ — kompaktní osobní vizitka s plným logem Barták Digital.
   Pouze tato stránka; žádné globální změny navigace, patičky ani formuláře. */
.about-page .about-grid { gap: clamp(36px, 5vw, 80px); }
.about-page .identity-card {
  display: flex;
  flex-direction: column;
  min-height: 348px;
  padding: 0;
  border-radius: 16px;
  color: var(--black);
  background: var(--white);
  box-shadow: 0 18px 65px rgb(0 0 0 / 25%);
  isolation: isolate;
  overflow: hidden;
}
.about-page .identity-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 88px;
  height: 4px;
  background: var(--blue);
}
.about-page .identity-card::after { content: none; }
.about-page .identity-card-main {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
  padding: 33px 35px 29px;
}
.about-page .identity-logo {
  display: block;
  width: 100%;
  max-width: 407px;
  height: auto;
  object-fit: contain;
}
.about-page .identity-rule {
  position: relative;
  width: 100%;
  height: 1px;
  margin-top: 27px;
  background: rgb(0 18 90 / 13%);
}
.about-page .identity-rule::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 44px;
  background: var(--blue);
}
.about-page .identity-name {
  position: relative;
  margin: auto 0 0;
  padding-top: 25px;
  font-size: clamp(47px, 4.4vw, 59px);
  font-weight: 730;
  letter-spacing: -.063em;
  line-height: .98;
}
.about-page .identity-name > span { color: var(--navy); }
.about-page .identity-name .identity-period { color: var(--blue); }
.about-page .identity-bottom {
  display: flex;
  align-items: center;
  gap: 35px;
  margin: 0;
  padding: 18px 35px;
  border: 0;
  background: var(--navy);
  color: var(--white);
}
.about-page .identity-detail { display: flex; flex-direction: column; gap: 3px; }
.about-page .identity-detail > span {
  color: rgb(255 255 255 / 63%);
  font-size: 9px;
  font-weight: 650;
  line-height: 1.35;
  letter-spacing: .1em;
}
.about-page .identity-detail strong { font-size: 13px; line-height: 1.35; font-weight: 650; }
.about-page .identity-contact-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  padding: 7px 0;
  font-size: 11px;
  font-weight: 650;
  color: var(--white);
  white-space: nowrap;
  transition: color .18s ease;
}
.about-page .identity-contact-link .arrow { width: 20px; height: 20px; color: var(--blue); }
.about-page .identity-contact-link:hover { color: var(--blue); }
.about-page .identity-contact-link:focus-visible { outline: 2px solid var(--blue); outline-offset: 4px; border-radius: 2px; }
@media (max-width: 899px) {
  .about-page .identity-card { min-height: 320px; }
  .about-page .identity-card-main { padding: 26px 27px 24px; }
  .about-page .identity-rule { margin-top: 22px; }
  .about-page .identity-name { font-size: clamp(45px, 5.65vw, 56px); padding-top: 22px; }
  .about-page .identity-bottom { padding: 17px 27px; gap: 26px; }
}
@media (max-width: 650px) {
  .about-page .about-grid { gap: 28px; }
  .about-page .identity-card { min-height: 310px; max-width: 470px; width: 100%; border-radius: 14px; }
  .about-page .identity-card-main { padding: 24px 25px 22px; }
  .about-page .identity-rule { margin-top: 19px; }
  .about-page .identity-name { font-size: clamp(43px, 11.2vw, 51px); padding-top: 20px; }
  .about-page .identity-bottom { padding: 17px 25px; gap: 22px; }
  .about-page .identity-detail strong { font-size: 12px; }
  .about-page .identity-contact-link { font-size: 10px; }
}
@media (max-width: 370px) {
  .about-page .identity-card { min-height: 291px; }
  .about-page .identity-card-main { padding: 21px 20px 20px; }
  .about-page .identity-rule { margin-top: 15px; }
  .about-page .identity-name { font-size: 43px; padding-top: 18px; }
  .about-page .identity-bottom { padding: 16px 20px; gap: 16px; }
  .about-page .identity-contact-link span { display: none; }
  .about-page .identity-contact-link .arrow { width: 24px; height: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  .about-page .identity-contact-link { transition: none; }
}


/* Homepage selected projects refresh */
.home-projects .section-heading { align-items: flex-end; margin-bottom: 34px; }
.home-project-grid { gap: 24px; }
.home-project-grid .showcase-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 16px;
  border-radius: 28px;
  border: 1px solid rgb(255 255 255 / 7%);
  background: linear-gradient(180deg, rgb(255 255 255 / 2%), rgb(255 255 255 / 1%));
  box-shadow: 0 22px 50px rgb(0 0 0 / 28%);
  overflow: hidden;
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}
.home-project-grid .showcase-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgb(42 183 255 / 10%), transparent 44%);
  pointer-events: none;
}
.home-project-grid .showcase-card:hover {
  transform: translateY(-5px);
  border-color: rgb(42 183 255 / 20%);
  box-shadow: 0 26px 62px rgb(0 0 0 / 34%);
}
.home-project-grid .showcase-card__link { display: flex; flex-direction: column; flex: 1; }
.home-project-grid .showcase-card__cover {
  aspect-ratio: 16 / 10;
  border-radius: 22px;
  border: 1px solid rgb(255 255 255 / 5%);
  background: linear-gradient(180deg, rgb(9 12 21 / 90%), rgb(6 8 16 / 96%));
}
.home-project-grid .showcase-card__cover img { transition: transform .35s ease; }
.home-project-grid .showcase-card:hover .showcase-card__cover img { transform: scale(1.03); }
.home-project-grid .showcase-card__content { display: flex; flex-direction: column; flex: 1; padding: 18px 4px 0; }
.home-project-grid .showcase-card .project-meta { margin-top: 0; }
.home-project-grid .showcase-card .project-meta h3 { font-size: 20px; }
.home-project-grid .showcase-card .project-description { margin-top: 13px; max-width: none; color: rgb(255 255 255 / 72%); }
.home-project-grid .showcase-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 18px;
  padding: 16px 4px 2px;
  border-top: 1px solid rgb(255 255 255 / 8%);
}
.home-project-grid .showcase-card__label {
  color: var(--blue);
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-weight: 700;
}
.home-project-grid .showcase-card .project-live-link { margin-top: 0; padding: 0; min-height: 0; }
.home-project-grid .showcase-card .project-live-link .arrow { width: 15px; height: 15px; }
.home-project-grid .project-cover .dkf-visual { padding: 24px; }
.home-project-grid .project-cover .sokol-visual { padding: 20px; background: rgb(0 0 0 / 24%); }
.home-project-grid .project-cover .erathron-visual { padding: 10px 12px; background: rgb(6 5 8 / 30%); }
@media (max-width: 980px) {
  .home-project-grid { grid-template-columns: 1fr; gap: 20px; }
}
@media (max-width: 650px) {
  .home-projects .section-heading { margin-bottom: 24px; }
  .home-project-grid .showcase-card { padding: 14px; border-radius: 24px; }
  .home-project-grid .showcase-card__cover { aspect-ratio: 4 / 3; }
  .home-project-grid .showcase-card__footer { align-items: flex-start; flex-direction: column; gap: 10px; }
}


/* Projects archive refresh */
.projects-archive .portfolio-controls { align-items: center; margin-bottom: 28px; }
.portfolio-grid--refined { gap: 28px; }
.portfolio-grid--refined .archive-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 16px;
  border-radius: 28px;
  border: 1px solid rgb(255 255 255 / 7%);
  background: linear-gradient(180deg, rgb(255 255 255 / 2%), rgb(255 255 255 / 1%));
  box-shadow: 0 22px 50px rgb(0 0 0 / 24%);
  overflow: hidden;
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}
.portfolio-grid--refined .archive-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgb(42 183 255 / 10%), transparent 44%);
  pointer-events: none;
  opacity: 0;
  transition: opacity .22s ease;
}
.portfolio-grid--refined .archive-card:hover {
  transform: translateY(-4px);
  border-color: rgb(42 183 255 / 18%);
  box-shadow: 0 28px 60px rgb(0 0 0 / 30%);
}
.portfolio-grid--refined .archive-card:hover::before { opacity: 1; }
.portfolio-grid--refined .archive-card__link { display: flex; flex-direction: column; flex: 1; }
.portfolio-grid--refined .archive-card__cover { border-radius: 22px; border: 1px solid rgb(255 255 255 / 5%); background: linear-gradient(180deg, rgb(9 12 21 / 90%), rgb(6 8 16 / 96%)); }
.portfolio-grid--refined .archive-card__content { display: flex; flex-direction: column; flex: 1; padding: 18px 4px 0; }
.portfolio-grid--refined .project-meta { margin-top: 0; }
.portfolio-grid--refined .project-meta h3 { font-size: 26px; }
.portfolio-grid--refined .project-description { margin-top: 13px; max-width: 52ch; color: rgb(255 255 255 / 72%); }
.portfolio-grid--refined .archive-card__footer { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 18px; padding: 16px 4px 2px; border-top: 1px solid rgb(255 255 255 / 8%); }
.portfolio-grid--refined .archive-card__label { color: var(--blue); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; }
.portfolio-grid--refined .project-live-link { margin-top: 0; padding: 0; min-height: 0; }
.portfolio-grid--refined .project-cover .dkf-visual { padding: 24px; }
.portfolio-grid--refined .project-cover .sokol-visual { padding: 20px; background: rgb(0 0 0 / 24%); }
.portfolio-grid--refined .project-cover .erathron-visual { padding: 10px 12px; background: rgb(6 5 8 / 30%); }
.portfolio-grid--refined .archive-card--wide .archive-card__cover { aspect-ratio: 16 / 8; }
.portfolio-grid--refined .archive-card--wide .project-description { max-width: 60ch; }
@media (max-width: 980px) {
  .portfolio-grid--refined { gap: 22px; }
}
@media (max-width: 650px) {
  .projects-archive .portfolio-controls { align-items: flex-start; }
  .portfolio-grid--refined .archive-card { padding: 14px; border-radius: 24px; }
  .portfolio-grid--refined .archive-card__cover,
  .portfolio-grid--refined .archive-card--wide .archive-card__cover { aspect-ratio: 4 / 3; }
  .portfolio-grid--refined .archive-card__footer { flex-direction: column; align-items: flex-start; gap: 10px; }
}

/* Responzivní patička pro tablety a menší šířky. */
@media (max-width: 900px) and (min-width: 651px) {
  .footer-main { grid-template-columns: minmax(0, 1fr) minmax(250px, .8fr); gap: 26px; }
  .footer-links { gap: 11px 15px; }
}
@media (max-width: 650px) {
  .footer-contact { margin-top: 21px; }
  .footer-email { font-size: 18px; }
  .footer-operator > span { gap: 6px; }
}

/* O mně — osobní příběh v přehledných rozbalovacích otázkách. */
.about-page .about-story-section { padding-block: clamp(52px, 6.3vw, 92px); }
.about-page .about-story-layout {
  display: grid;
  grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr);
  gap: clamp(38px, 6vw, 96px);
  align-items: start;
}
.about-page .about-story-intro h2 {
  font-size: clamp(35px, 4.1vw, 58px);
  line-height: 1.08;
  letter-spacing: -.045em;
  margin-top: 16px;
}
.about-page .about-story-intro h2 span { color: var(--blue); }
.about-page .about-story-intro > p:last-child {
  max-width: 42ch;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
  margin-top: 23px;
}
.about-page .about-story-questions { border-top: 1px solid var(--line); }
.about-page .about-story-item { border-bottom: 1px solid var(--line); }
.about-page .about-story-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 85px;
  padding: 21px 3px;
  font-size: clamp(16px, 1.75vw, 21px);
  line-height: 1.35;
  font-weight: 630;
  letter-spacing: -.02em;
  list-style: none;
  cursor: pointer;
}
.about-page .about-story-item summary::-webkit-details-marker { display: none; }
.about-page .about-story-item summary::marker { content: ''; }
.about-page .about-story-item summary:hover { color: var(--blue); }
.about-page .about-story-item summary:focus-visible { outline: 2px solid var(--blue); outline-offset: 5px; border-radius: 2px; }
.about-page .about-story-plus {
  position: relative;
  display: block;
  width: 34px;
  height: 34px;
  border: 1px solid rgb(19 181 233 / 50%);
  border-radius: 50%;
  flex: 0 0 34px;
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
}
.about-page .about-story-plus::before,
.about-page .about-story-plus::after {
  content: '';
  position: absolute;
  background: var(--blue);
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}
.about-page .about-story-plus::before { width: 12px; height: 2px; }
.about-page .about-story-plus::after { width: 2px; height: 12px; transition: opacity .2s ease; }
.about-page .about-story-item[open] .about-story-plus { background: rgb(19 181 233 / 12%); transform: rotate(180deg); }
.about-page .about-story-item[open] .about-story-plus::after { opacity: 0; }
.about-page .about-story-answer { padding: 0 50px 26px 3px; }
.about-page .about-story-answer p { color: var(--muted); font-size: 14px; line-height: 1.8; max-width: 62ch; }
.about-page .about-story-answer p + p { margin-top: 12px; }
.about-page .about-story-personal {
  display: grid;
  grid-template-columns: minmax(120px, .4fr) minmax(0, 1fr);
  align-items: start;
  gap: 18px;
  padding-top: 26px;
}
.about-page .about-story-personal-label {
  color: var(--blue);
  font-size: 11px;
  letter-spacing: .025em;
  font-weight: 700;
  line-height: 1.65;
}
.about-page .about-story-personal p { color: var(--muted); font-size: 13px; line-height: 1.75; }
@media (max-width: 880px) {
  .about-page .about-story-layout { grid-template-columns: 1fr; gap: 27px; }
  .about-page .about-story-intro h2 { font-size: clamp(34px, 6.3vw, 47px); }
  .about-page .about-story-intro > p:last-child { margin-top: 14px; }
}
@media (max-width: 560px) {
  .about-page .about-story-section { padding-block: 43px 47px; }
  .about-page .about-story-intro h2 { font-size: clamp(32px, 8vw, 39px); }
  .about-page .about-story-intro > p:last-child { font-size: 14px; }
  .about-page .about-story-item summary { min-height: 74px; font-size: 17px; padding-block: 17px; gap: 12px; }
  .about-page .about-story-plus { width: 32px; height: 32px; flex-basis: 32px; }
  .about-page .about-story-answer { padding: 0 10px 23px 3px; }
  .about-page .about-story-answer p { font-size: 13px; }
  .about-page .about-story-personal { grid-template-columns: 1fr; gap: 6px; padding-top: 21px; }
}
@media (prefers-reduced-motion: reduce) {
  .about-page .about-story-plus,
  .about-page .about-story-plus::after { transition: none; }
}


/* Barták Digital — jednotlivé realizace (obsahové detaily bez screenshotů). */
.project-story--extended { padding-block: clamp(45px, 5.3vw, 75px) clamp(50px, 5.7vw, 76px); }
.project-story--extended .project-story__label {
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: 10px;
  line-height: 1.5;
  font-weight: 700;
  margin-bottom: 17px;
}
.project-story--extended h2 { font-size: clamp(31px, 3.3vw, 44px); max-width: 18ch; letter-spacing: -.052em; line-height: 1.14; margin-bottom: 23px; }
.project-story--extended .project-story__copy > p:not(.project-story__label) { color: var(--muted); font-size: 15px; line-height: 1.85; max-width: 67ch; }
.project-story--extended .project-story__copy > p:not(.project-story__label) + p { margin-top: 13px; }
.project-story--extended .focus-points { margin-top: 26px; }
.project-story--extended .project-facts { align-self: start; }
.project-story--extended .project-facts div:last-child { border-bottom: 1px solid var(--line); }
.project-features { padding-block: 3px clamp(62px, 7vw, 100px); }
.project-features__heading { display: grid; grid-template-columns: 1.05fr .95fr; align-items: end; gap: clamp(25px, 6vw, 88px); margin-bottom: 34px; }
.project-features__heading h2 { margin-top: 16px; font-size: clamp(30px, 3.6vw, 48px); line-height: 1.12; max-width: 21ch; }
.project-features__heading h2 span { color: var(--blue); }
.project-features__heading > p { color: var(--muted); max-width: 47ch; font-size: 15px; line-height: 1.75; }
.project-features__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3.1vw, 40px); }
.project-feature { position: relative; min-width: 0; padding-top: 28px; border-top: 1px solid var(--line); }
.project-feature__line { position: absolute; width: 31px; height: 2px; top: -1px; left: 0; background: var(--blue); }
.project-feature h3 { font-size: clamp(19px, 2.1vw, 24px); line-height: 1.23; letter-spacing: -.035em; }
.project-feature p { color: var(--muted); margin-top: 12px; font-size: 14px; line-height: 1.75; max-width: 43ch; }
@media (max-width: 850px) {
  .project-story--extended { gap: 35px; }
  .project-features__heading { grid-template-columns: 1fr; gap: 15px; }
  .project-features__heading > p { max-width: 70ch; }
  .project-features__grid { gap: 22px; }
}
@media (max-width: 650px) {
  .project-story--extended { padding-block: 35px 47px; }
  .project-story--extended h2 { font-size: clamp(28px, 8vw, 38px); max-width: 24ch; }
  .project-story--extended .project-story__copy > p:not(.project-story__label) { font-size: 14px; }
  .project-story--extended .project-facts { grid-template-columns: 1fr 1fr; }
  .project-features { padding-bottom: 50px; }
  .project-features__heading { margin-bottom: 20px; }
  .project-features__grid { grid-template-columns: 1fr; gap: 22px; }
  .project-feature { padding-top: 18px; }
  .project-feature h3 { font-size: 21px; }
  .project-feature p { font-size: 13px; margin-top: 9px; }
}
@media (max-width: 360px) {
  .project-story--extended .project-facts { grid-template-columns: 1fr; }
}
